huibo-ui 0.3.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/LICENSE +21 -0
- package/dist/cjs/a11y-802de67a.js +123 -0
- package/dist/cjs/a11y-802de67a.js.map +1 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/click-outside-3fcc00dd.js +27 -0
- package/dist/cjs/click-outside-3fcc00dd.js.map +1 -0
- package/dist/cjs/date-helpers-904747ff.js +134 -0
- package/dist/cjs/date-helpers-904747ff.js.map +1 -0
- package/dist/cjs/hb-affix.cjs.entry.js +101 -0
- package/dist/cjs/hb-affix.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-alert.cjs.entry.js +47 -0
- package/dist/cjs/hb-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-anchor.cjs.entry.js +46 -0
- package/dist/cjs/hb-anchor.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-aside.cjs.entry.js +30 -0
- package/dist/cjs/hb-aside.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-avatar.cjs.entry.js +31 -0
- package/dist/cjs/hb-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-backtop.cjs.entry.js +100 -0
- package/dist/cjs/hb-backtop.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-badge.cjs.entry.js +35 -0
- package/dist/cjs/hb-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-breadcrumb-item.cjs.entry.js +25 -0
- package/dist/cjs/hb-breadcrumb-item.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-breadcrumb.cjs.entry.js +24 -0
- package/dist/cjs/hb-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-button.cjs.entry.js +39 -0
- package/dist/cjs/hb-button.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-calendar.cjs.entry.js +90 -0
- package/dist/cjs/hb-calendar.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-card.cjs.entry.js +27 -0
- package/dist/cjs/hb-card.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-carousel.cjs.entry.js +150 -0
- package/dist/cjs/hb-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-cascader.cjs.entry.js +413 -0
- package/dist/cjs/hb-cascader.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-checkbox-group.cjs.entry.js +117 -0
- package/dist/cjs/hb-checkbox-group.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-checkbox.cjs.entry.js +130 -0
- package/dist/cjs/hb-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-collapse-item.cjs.entry.js +58 -0
- package/dist/cjs/hb-collapse-item.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-collapse.cjs.entry.js +41 -0
- package/dist/cjs/hb-collapse.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-color-picker-panel.cjs.entry.js +86 -0
- package/dist/cjs/hb-color-picker-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-color-picker.cjs.entry.js +265 -0
- package/dist/cjs/hb-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-config-provider.cjs.entry.js +44 -0
- package/dist/cjs/hb-config-provider.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-container.cjs.entry.js +30 -0
- package/dist/cjs/hb-container.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-date-picker-pane.cjs.entry.js +150 -0
- package/dist/cjs/hb-date-picker-pane.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-date-picker.cjs.entry.js +138 -0
- package/dist/cjs/hb-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-date-range-picker.cjs.entry.js +222 -0
- package/dist/cjs/hb-date-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-date-time-picker.cjs.entry.js +140 -0
- package/dist/cjs/hb-date-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-descriptions.cjs.entry.js +32 -0
- package/dist/cjs/hb-descriptions.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-dialog.cjs.entry.js +114 -0
- package/dist/cjs/hb-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-divider.cjs.entry.js +36 -0
- package/dist/cjs/hb-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-drawer.cjs.entry.js +89 -0
- package/dist/cjs/hb-drawer.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-dropdown.cjs.entry.js +80 -0
- package/dist/cjs/hb-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-empty.cjs.entry.js +24 -0
- package/dist/cjs/hb-empty.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-float-button.cjs.entry.js +57 -0
- package/dist/cjs/hb-float-button.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-footer.cjs.entry.js +30 -0
- package/dist/cjs/hb-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-form-item.cjs.entry.js +112 -0
- package/dist/cjs/hb-form-item.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-form.cjs.entry.js +70 -0
- package/dist/cjs/hb-form.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-header.cjs.entry.js +30 -0
- package/dist/cjs/hb-header.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-icon.cjs.entry.js +76 -0
- package/dist/cjs/hb-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-image-preview.cjs.entry.js +179 -0
- package/dist/cjs/hb-image-preview.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-image.cjs.entry.js +35 -0
- package/dist/cjs/hb-image.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-input-number.cjs.entry.js +169 -0
- package/dist/cjs/hb-input-number.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-input-tag.cjs.entry.js +145 -0
- package/dist/cjs/hb-input-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-input.cjs.entry.js +252 -0
- package/dist/cjs/hb-input.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-layout.cjs.entry.js +78 -0
- package/dist/cjs/hb-layout.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-link.cjs.entry.js +67 -0
- package/dist/cjs/hb-link.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-loading.cjs.entry.js +32 -0
- package/dist/cjs/hb-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-main.cjs.entry.js +22 -0
- package/dist/cjs/hb-main.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-menu-item.cjs.entry.js +50 -0
- package/dist/cjs/hb-menu-item.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-menu.cjs.entry.js +87 -0
- package/dist/cjs/hb-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-message.cjs.entry.js +48 -0
- package/dist/cjs/hb-message.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-notification.cjs.entry.js +67 -0
- package/dist/cjs/hb-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-page-header.cjs.entry.js +37 -0
- package/dist/cjs/hb-page-header.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-pagination.cjs.entry.js +107 -0
- package/dist/cjs/hb-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-popconfirm.cjs.entry.js +51 -0
- package/dist/cjs/hb-popconfirm.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-popover.cjs.entry.js +59 -0
- package/dist/cjs/hb-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-progress.cjs.entry.js +39 -0
- package/dist/cjs/hb-progress.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-radio.cjs.entry.js +119 -0
- package/dist/cjs/hb-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-rate.cjs.entry.js +132 -0
- package/dist/cjs/hb-rate.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-result.cjs.entry.js +57 -0
- package/dist/cjs/hb-result.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-row.cjs.entry.js +57 -0
- package/dist/cjs/hb-row.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-scrollbar.cjs.entry.js +204 -0
- package/dist/cjs/hb-scrollbar.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-segmented.cjs.entry.js +43 -0
- package/dist/cjs/hb-segmented.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-select.cjs.entry.js +262 -0
- package/dist/cjs/hb-select.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-skeleton.cjs.entry.js +53 -0
- package/dist/cjs/hb-skeleton.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-slider.cjs.entry.js +172 -0
- package/dist/cjs/hb-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-space.cjs.entry.js +72 -0
- package/dist/cjs/hb-space.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-statistic.cjs.entry.js +66 -0
- package/dist/cjs/hb-statistic.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-step.cjs.entry.js +24 -0
- package/dist/cjs/hb-step.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-steps.cjs.entry.js +50 -0
- package/dist/cjs/hb-steps.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-sub-menu.cjs.entry.js +70 -0
- package/dist/cjs/hb-sub-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-switch.cjs.entry.js +92 -0
- package/dist/cjs/hb-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-tab-pane.cjs.entry.js +26 -0
- package/dist/cjs/hb-tab-pane.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-table.cjs.entry.js +370 -0
- package/dist/cjs/hb-table.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-tabs.cjs.entry.js +115 -0
- package/dist/cjs/hb-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-tag.cjs.entry.js +45 -0
- package/dist/cjs/hb-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-text.cjs.entry.js +60 -0
- package/dist/cjs/hb-text.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-time-picker.cjs.entry.js +147 -0
- package/dist/cjs/hb-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-time-select.cjs.entry.js +145 -0
- package/dist/cjs/hb-time-select.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-timeline.cjs.entry.js +30 -0
- package/dist/cjs/hb-timeline.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-tooltip.cjs.entry.js +74 -0
- package/dist/cjs/hb-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-tour.cjs.entry.js +119 -0
- package/dist/cjs/hb-tour.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-transfer.cjs.entry.js +173 -0
- package/dist/cjs/hb-transfer.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-tree-select.cjs.entry.js +236 -0
- package/dist/cjs/hb-tree-select.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-tree.cjs.entry.js +313 -0
- package/dist/cjs/hb-tree.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-upload.cjs.entry.js +184 -0
- package/dist/cjs/hb-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/hb-watermark.cjs.entry.js +59 -0
- package/dist/cjs/hb-watermark.cjs.entry.js.map +1 -0
- package/dist/cjs/huibo-ui.cjs.js +27 -0
- package/dist/cjs/huibo-ui.cjs.js.map +1 -0
- package/dist/cjs/index-5aa5c817.js +1915 -0
- package/dist/cjs/index-5aa5c817.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/popup-manager-cde53b2f.js +83 -0
- package/dist/cjs/popup-manager-cde53b2f.js.map +1 -0
- package/dist/collection/collection-manifest.json +97 -0
- package/dist/collection/components/Affix/Affix.js +197 -0
- package/dist/collection/components/Affix/Affix.js.map +1 -0
- package/dist/collection/components/Affix/affix.css +15 -0
- package/dist/collection/components/Alert/Alert.js +193 -0
- package/dist/collection/components/Alert/Alert.js.map +1 -0
- package/dist/collection/components/Alert/alert.css +20 -0
- package/dist/collection/components/Anchor/Anchor.js +142 -0
- package/dist/collection/components/Anchor/Anchor.js.map +1 -0
- package/dist/collection/components/Anchor/anchor.css +53 -0
- package/dist/collection/components/Avatar/Avatar.js +129 -0
- package/dist/collection/components/Avatar/Avatar.js.map +1 -0
- package/dist/collection/components/Avatar/avatar.css +9 -0
- package/dist/collection/components/Backtop/Backtop.js +236 -0
- package/dist/collection/components/Backtop/Backtop.js.map +1 -0
- package/dist/collection/components/Backtop/backtop.css +33 -0
- package/dist/collection/components/Badge/Badge.js +136 -0
- package/dist/collection/components/Badge/Badge.js.map +1 -0
- package/dist/collection/components/Badge/badge.css +17 -0
- package/dist/collection/components/Breadcrumb/Breadcrumb.js +49 -0
- package/dist/collection/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/collection/components/Breadcrumb/BreadcrumbItem.js +43 -0
- package/dist/collection/components/Breadcrumb/BreadcrumbItem.js.map +1 -0
- package/dist/collection/components/Breadcrumb/breadcrumb.css +10 -0
- package/dist/collection/components/Button/Button.js +144 -0
- package/dist/collection/components/Button/Button.js.map +1 -0
- package/dist/collection/components/Button/button.css +127 -0
- package/dist/collection/components/Calendar/Calendar.js +185 -0
- package/dist/collection/components/Calendar/Calendar.js.map +1 -0
- package/dist/collection/components/Calendar/calendar.css +101 -0
- package/dist/collection/components/Card/Card.js +67 -0
- package/dist/collection/components/Card/Card.js.map +1 -0
- package/dist/collection/components/Card/card.css +17 -0
- package/dist/collection/components/Carousel/Carousel.js +312 -0
- package/dist/collection/components/Carousel/Carousel.js.map +1 -0
- package/dist/collection/components/Carousel/carousel.css +96 -0
- package/dist/collection/components/Cascader/Cascader.js +773 -0
- package/dist/collection/components/Cascader/Cascader.js.map +1 -0
- package/dist/collection/components/Cascader/cascader.css +276 -0
- package/dist/collection/components/Checkbox/Checkbox.js +372 -0
- package/dist/collection/components/Checkbox/Checkbox.js.map +1 -0
- package/dist/collection/components/Checkbox/CheckboxGroup.js +276 -0
- package/dist/collection/components/Checkbox/CheckboxGroup.js.map +1 -0
- package/dist/collection/components/Checkbox/checkbox-group.css +17 -0
- package/dist/collection/components/Checkbox/checkbox.css +179 -0
- package/dist/collection/components/Collapse/Collapse.js +63 -0
- package/dist/collection/components/Collapse/Collapse.js.map +1 -0
- package/dist/collection/components/Collapse/CollapseItem.js +142 -0
- package/dist/collection/components/Collapse/CollapseItem.js.map +1 -0
- package/dist/collection/components/Collapse/collapse.css +2 -0
- package/dist/collection/components/ColorPicker/ColorPicker.js +416 -0
- package/dist/collection/components/ColorPicker/ColorPicker.js.map +1 -0
- package/dist/collection/components/ColorPicker/color-picker.css +203 -0
- package/dist/collection/components/ColorPickerPanel/ColorPickerPanel.js +195 -0
- package/dist/collection/components/ColorPickerPanel/ColorPickerPanel.js.map +1 -0
- package/dist/collection/components/ColorPickerPanel/color-picker-panel.css +127 -0
- package/dist/collection/components/ConfigProvider/ConfigProvider.js +103 -0
- package/dist/collection/components/ConfigProvider/ConfigProvider.js.map +1 -0
- package/dist/collection/components/Container/Aside.js +54 -0
- package/dist/collection/components/Container/Aside.js.map +1 -0
- package/dist/collection/components/Container/Container.js +58 -0
- package/dist/collection/components/Container/Container.js.map +1 -0
- package/dist/collection/components/Container/Footer.js +54 -0
- package/dist/collection/components/Container/Footer.js.map +1 -0
- package/dist/collection/components/Container/Header.js +54 -0
- package/dist/collection/components/Container/Header.js.map +1 -0
- package/dist/collection/components/Container/Main.js +23 -0
- package/dist/collection/components/Container/Main.js.map +1 -0
- package/dist/collection/components/Container/aside.css +15 -0
- package/dist/collection/components/Container/container.css +41 -0
- package/dist/collection/components/Container/footer.css +15 -0
- package/dist/collection/components/Container/header.css +15 -0
- package/dist/collection/components/Container/main.css +14 -0
- package/dist/collection/components/DatePicker/DatePicker.js +402 -0
- package/dist/collection/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/collection/components/DatePicker/date-picker.css +209 -0
- package/dist/collection/components/DatePickerPane/DatePickerPane.js +276 -0
- package/dist/collection/components/DatePickerPane/DatePickerPane.js.map +1 -0
- package/dist/collection/components/DatePickerPane/date-picker-pane.css +140 -0
- package/dist/collection/components/DateRangePicker/DateRangePicker.js +438 -0
- package/dist/collection/components/DateRangePicker/DateRangePicker.js.map +1 -0
- package/dist/collection/components/DateRangePicker/date-range-picker.css +200 -0
- package/dist/collection/components/DateTimePicker/DateTimePicker.js +341 -0
- package/dist/collection/components/DateTimePicker/DateTimePicker.js.map +1 -0
- package/dist/collection/components/DateTimePicker/date-time-picker.css +168 -0
- package/dist/collection/components/Descriptions/Descriptions.js +141 -0
- package/dist/collection/components/Descriptions/Descriptions.js.map +1 -0
- package/dist/collection/components/Descriptions/descriptions.css +52 -0
- package/dist/collection/components/Dialog/Dialog.js +348 -0
- package/dist/collection/components/Dialog/Dialog.js.map +1 -0
- package/dist/collection/components/Dialog/dialog.css +113 -0
- package/dist/collection/components/Divider/Divider.js +102 -0
- package/dist/collection/components/Divider/Divider.js.map +1 -0
- package/dist/collection/components/Divider/divider.css +40 -0
- package/dist/collection/components/Drawer/Drawer.js +289 -0
- package/dist/collection/components/Drawer/Drawer.js.map +1 -0
- package/dist/collection/components/Drawer/drawer.css +18 -0
- package/dist/collection/components/Dropdown/Dropdown.js +172 -0
- package/dist/collection/components/Dropdown/Dropdown.js.map +1 -0
- package/dist/collection/components/Dropdown/dropdown.css +62 -0
- package/dist/collection/components/Empty/Empty.js +64 -0
- package/dist/collection/components/Empty/Empty.js.map +1 -0
- package/dist/collection/components/Empty/empty.css +6 -0
- package/dist/collection/components/FloatButton/FloatButton.js +223 -0
- package/dist/collection/components/FloatButton/FloatButton.js.map +1 -0
- package/dist/collection/components/FloatButton/float-button.css +101 -0
- package/dist/collection/components/Form/Form.js +271 -0
- package/dist/collection/components/Form/Form.js.map +1 -0
- package/dist/collection/components/Form/FormItem.js +300 -0
- package/dist/collection/components/Form/FormItem.js.map +1 -0
- package/dist/collection/components/Form/form-item.css +43 -0
- package/dist/collection/components/Form/form.css +15 -0
- package/dist/collection/components/Icon/Icon.js +162 -0
- package/dist/collection/components/Icon/Icon.js.map +1 -0
- package/dist/collection/components/Icon/icon.css +43 -0
- package/dist/collection/components/Image/Image.js +200 -0
- package/dist/collection/components/Image/Image.js.map +1 -0
- package/dist/collection/components/Image/image.css +7 -0
- package/dist/collection/components/ImagePreview/ImagePreview.js +371 -0
- package/dist/collection/components/ImagePreview/ImagePreview.js.map +1 -0
- package/dist/collection/components/ImagePreview/image-preview.css +125 -0
- package/dist/collection/components/Input/Input.js +717 -0
- package/dist/collection/components/Input/Input.js.map +1 -0
- package/dist/collection/components/Input/input.css +144 -0
- package/dist/collection/components/InputNumber/InputNumber.js +510 -0
- package/dist/collection/components/InputNumber/InputNumber.js.map +1 -0
- package/dist/collection/components/InputNumber/input-number.css +168 -0
- package/dist/collection/components/InputTag/InputTag.js +427 -0
- package/dist/collection/components/InputTag/InputTag.js.map +1 -0
- package/dist/collection/components/InputTag/input-tag.css +159 -0
- package/dist/collection/components/Layout/Layout.js +270 -0
- package/dist/collection/components/Layout/Layout.js.map +1 -0
- package/dist/collection/components/Layout/Row.js +147 -0
- package/dist/collection/components/Layout/Row.js.map +1 -0
- package/dist/collection/components/Layout/layout.css +89 -0
- package/dist/collection/components/Layout/row.css +56 -0
- package/dist/collection/components/Link/Link.js +220 -0
- package/dist/collection/components/Link/Link.js.map +1 -0
- package/dist/collection/components/Link/link.css +87 -0
- package/dist/collection/components/Loading/Loading.js +96 -0
- package/dist/collection/components/Loading/Loading.js.map +1 -0
- package/dist/collection/components/Loading/loading.css +58 -0
- package/dist/collection/components/Menu/Menu.js +246 -0
- package/dist/collection/components/Menu/Menu.js.map +1 -0
- package/dist/collection/components/Menu/MenuItem.js +128 -0
- package/dist/collection/components/Menu/MenuItem.js.map +1 -0
- package/dist/collection/components/Menu/SubMenu.js +140 -0
- package/dist/collection/components/Menu/SubMenu.js.map +1 -0
- package/dist/collection/components/Menu/menu.css +143 -0
- package/dist/collection/components/Message/Message.js +139 -0
- package/dist/collection/components/Message/Message.js.map +1 -0
- package/dist/collection/components/Message/show-message.js +24 -0
- package/dist/collection/components/Message/show-message.js.map +1 -0
- package/dist/collection/components/Notification/Notification.js +262 -0
- package/dist/collection/components/Notification/Notification.js.map +1 -0
- package/dist/collection/components/Notification/notification.css +160 -0
- package/dist/collection/components/Notification/notify.js +53 -0
- package/dist/collection/components/Notification/notify.js.map +1 -0
- package/dist/collection/components/PageHeader/PageHeader.js +139 -0
- package/dist/collection/components/PageHeader/PageHeader.js.map +1 -0
- package/dist/collection/components/PageHeader/page-header.css +39 -0
- package/dist/collection/components/Pagination/Pagination.js +309 -0
- package/dist/collection/components/Pagination/Pagination.js.map +1 -0
- package/dist/collection/components/Pagination/pagination.css +83 -0
- package/dist/collection/components/Popconfirm/Popconfirm.js +185 -0
- package/dist/collection/components/Popconfirm/Popconfirm.js.map +1 -0
- package/dist/collection/components/Popconfirm/popconfirm.css +20 -0
- package/dist/collection/components/Popover/Popover.js +173 -0
- package/dist/collection/components/Popover/Popover.js.map +1 -0
- package/dist/collection/components/Popover/popover.css +10 -0
- package/dist/collection/components/Progress/Progress.js +139 -0
- package/dist/collection/components/Progress/Progress.js.map +1 -0
- package/dist/collection/components/Progress/progress.css +5 -0
- package/dist/collection/components/Radio/Radio.js +338 -0
- package/dist/collection/components/Radio/Radio.js.map +1 -0
- package/dist/collection/components/Radio/radio.css +158 -0
- package/dist/collection/components/Rate/Rate.js +357 -0
- package/dist/collection/components/Rate/Rate.js.map +1 -0
- package/dist/collection/components/Rate/rate.css +56 -0
- package/dist/collection/components/Result/Result.js +146 -0
- package/dist/collection/components/Result/Result.js.map +1 -0
- package/dist/collection/components/Result/result.css +47 -0
- package/dist/collection/components/Scrollbar/Scrollbar.js +426 -0
- package/dist/collection/components/Scrollbar/Scrollbar.js.map +1 -0
- package/dist/collection/components/Scrollbar/scrollbar.css +85 -0
- package/dist/collection/components/Segmented/Segmented.js +149 -0
- package/dist/collection/components/Segmented/Segmented.js.map +1 -0
- package/dist/collection/components/Segmented/segmented.css +46 -0
- package/dist/collection/components/Select/Select.js +595 -0
- package/dist/collection/components/Select/Select.js.map +1 -0
- package/dist/collection/components/Select/select.css +223 -0
- package/dist/collection/components/Skeleton/Skeleton.js +178 -0
- package/dist/collection/components/Skeleton/Skeleton.js.map +1 -0
- package/dist/collection/components/Skeleton/skeleton.css +59 -0
- package/dist/collection/components/Slider/Slider.js +434 -0
- package/dist/collection/components/Slider/Slider.js.map +1 -0
- package/dist/collection/components/Slider/slider.css +141 -0
- package/dist/collection/components/Space/Space.js +212 -0
- package/dist/collection/components/Space/Space.js.map +1 -0
- package/dist/collection/components/Space/space.css +57 -0
- package/dist/collection/components/Statistic/Statistic.js +188 -0
- package/dist/collection/components/Statistic/Statistic.js.map +1 -0
- package/dist/collection/components/Statistic/statistic.css +32 -0
- package/dist/collection/components/Steps/Step.js +95 -0
- package/dist/collection/components/Steps/Step.js.map +1 -0
- package/dist/collection/components/Steps/Steps.js +137 -0
- package/dist/collection/components/Steps/Steps.js.map +1 -0
- package/dist/collection/components/Steps/steps.css +25 -0
- package/dist/collection/components/Switch/Switch.js +324 -0
- package/dist/collection/components/Switch/Switch.js.map +1 -0
- package/dist/collection/components/Switch/switch.css +85 -0
- package/dist/collection/components/Table/Table.js +860 -0
- package/dist/collection/components/Table/Table.js.map +1 -0
- package/dist/collection/components/Table/table.css +289 -0
- package/dist/collection/components/Tabs/TabPane.js +82 -0
- package/dist/collection/components/Tabs/TabPane.js.map +1 -0
- package/dist/collection/components/Tabs/Tabs.js +221 -0
- package/dist/collection/components/Tabs/Tabs.js.map +1 -0
- package/dist/collection/components/Tabs/tabs.css +66 -0
- package/dist/collection/components/Tag/Tag.js +167 -0
- package/dist/collection/components/Tag/Tag.js.map +1 -0
- package/dist/collection/components/Tag/tag.css +71 -0
- package/dist/collection/components/Text/Text.js +203 -0
- package/dist/collection/components/Text/Text.js.map +1 -0
- package/dist/collection/components/Text/text.css +61 -0
- package/dist/collection/components/TimePicker/TimePicker.js +348 -0
- package/dist/collection/components/TimePicker/TimePicker.js.map +1 -0
- package/dist/collection/components/TimePicker/time-picker.css +151 -0
- package/dist/collection/components/TimeSelect/TimeSelect.js +389 -0
- package/dist/collection/components/TimeSelect/TimeSelect.js.map +1 -0
- package/dist/collection/components/TimeSelect/time-select.css +139 -0
- package/dist/collection/components/Timeline/Timeline.js +79 -0
- package/dist/collection/components/Timeline/Timeline.js.map +1 -0
- package/dist/collection/components/Timeline/timeline.css +71 -0
- package/dist/collection/components/Tooltip/Tooltip.js +192 -0
- package/dist/collection/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/collection/components/Tooltip/tooltip.css +40 -0
- package/dist/collection/components/Tour/Tour.js +225 -0
- package/dist/collection/components/Tour/Tour.js.map +1 -0
- package/dist/collection/components/Tour/tour.css +117 -0
- package/dist/collection/components/Transfer/Transfer.js +331 -0
- package/dist/collection/components/Transfer/Transfer.js.map +1 -0
- package/dist/collection/components/Transfer/transfer.css +183 -0
- package/dist/collection/components/Tree/Tree.js +527 -0
- package/dist/collection/components/Tree/Tree.js.map +1 -0
- package/dist/collection/components/Tree/tree.css +132 -0
- package/dist/collection/components/TreeSelect/TreeSelect.js +440 -0
- package/dist/collection/components/TreeSelect/TreeSelect.js.map +1 -0
- package/dist/collection/components/TreeSelect/tree-select.css +209 -0
- package/dist/collection/components/Upload/Upload.js +504 -0
- package/dist/collection/components/Upload/Upload.js.map +1 -0
- package/dist/collection/components/Upload/upload.css +16 -0
- package/dist/collection/components/Watermark/Watermark.js +205 -0
- package/dist/collection/components/Watermark/Watermark.js.map +1 -0
- package/dist/collection/components/Watermark/watermark.css +26 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/a11y.js +130 -0
- package/dist/collection/utils/a11y.js.map +1 -0
- package/dist/collection/utils/click-outside.js +22 -0
- package/dist/collection/utils/click-outside.js.map +1 -0
- package/dist/collection/utils/date-helpers.js +120 -0
- package/dist/collection/utils/date-helpers.js.map +1 -0
- package/dist/collection/utils/form-input-base.js +48 -0
- package/dist/collection/utils/form-input-base.js.map +1 -0
- package/dist/collection/utils/popup-manager.js +75 -0
- package/dist/collection/utils/popup-manager.js.map +1 -0
- package/dist/components/hb-affix.d.ts +11 -0
- package/dist/components/hb-affix.js +121 -0
- package/dist/components/hb-affix.js.map +1 -0
- package/dist/components/hb-alert.d.ts +11 -0
- package/dist/components/hb-alert.js +70 -0
- package/dist/components/hb-alert.js.map +1 -0
- package/dist/components/hb-anchor.d.ts +11 -0
- package/dist/components/hb-anchor.js +66 -0
- package/dist/components/hb-anchor.js.map +1 -0
- package/dist/components/hb-aside.d.ts +11 -0
- package/dist/components/hb-aside.js +47 -0
- package/dist/components/hb-aside.js.map +1 -0
- package/dist/components/hb-avatar.d.ts +11 -0
- package/dist/components/hb-avatar.js +52 -0
- package/dist/components/hb-avatar.js.map +1 -0
- package/dist/components/hb-backtop.d.ts +11 -0
- package/dist/components/hb-backtop.js +122 -0
- package/dist/components/hb-backtop.js.map +1 -0
- package/dist/components/hb-badge.d.ts +11 -0
- package/dist/components/hb-badge.js +56 -0
- package/dist/components/hb-badge.js.map +1 -0
- package/dist/components/hb-breadcrumb-item.d.ts +11 -0
- package/dist/components/hb-breadcrumb-item.js +42 -0
- package/dist/components/hb-breadcrumb-item.js.map +1 -0
- package/dist/components/hb-breadcrumb.d.ts +11 -0
- package/dist/components/hb-breadcrumb.js +41 -0
- package/dist/components/hb-breadcrumb.js.map +1 -0
- package/dist/components/hb-button.d.ts +11 -0
- package/dist/components/hb-button.js +60 -0
- package/dist/components/hb-button.js.map +1 -0
- package/dist/components/hb-calendar.d.ts +11 -0
- package/dist/components/hb-calendar.js +113 -0
- package/dist/components/hb-calendar.js.map +1 -0
- package/dist/components/hb-card.d.ts +11 -0
- package/dist/components/hb-card.js +45 -0
- package/dist/components/hb-card.js.map +1 -0
- package/dist/components/hb-carousel.d.ts +11 -0
- package/dist/components/hb-carousel.js +178 -0
- package/dist/components/hb-carousel.js.map +1 -0
- package/dist/components/hb-cascader.d.ts +11 -0
- package/dist/components/hb-cascader.js +451 -0
- package/dist/components/hb-cascader.js.map +1 -0
- package/dist/components/hb-checkbox-group.d.ts +11 -0
- package/dist/components/hb-checkbox-group.js +145 -0
- package/dist/components/hb-checkbox-group.js.map +1 -0
- package/dist/components/hb-checkbox.d.ts +11 -0
- package/dist/components/hb-checkbox.js +161 -0
- package/dist/components/hb-checkbox.js.map +1 -0
- package/dist/components/hb-collapse-item.d.ts +11 -0
- package/dist/components/hb-collapse-item.js +81 -0
- package/dist/components/hb-collapse-item.js.map +1 -0
- package/dist/components/hb-collapse.d.ts +11 -0
- package/dist/components/hb-collapse.js +58 -0
- package/dist/components/hb-collapse.js.map +1 -0
- package/dist/components/hb-color-picker-panel.d.ts +11 -0
- package/dist/components/hb-color-picker-panel.js +109 -0
- package/dist/components/hb-color-picker-panel.js.map +1 -0
- package/dist/components/hb-color-picker.d.ts +11 -0
- package/dist/components/hb-color-picker.js +293 -0
- package/dist/components/hb-color-picker.js.map +1 -0
- package/dist/components/hb-config-provider.d.ts +11 -0
- package/dist/components/hb-config-provider.js +62 -0
- package/dist/components/hb-config-provider.js.map +1 -0
- package/dist/components/hb-container.d.ts +11 -0
- package/dist/components/hb-container.js +47 -0
- package/dist/components/hb-container.js.map +1 -0
- package/dist/components/hb-date-picker-pane.d.ts +11 -0
- package/dist/components/hb-date-picker-pane.js +172 -0
- package/dist/components/hb-date-picker-pane.js.map +1 -0
- package/dist/components/hb-date-picker.d.ts +11 -0
- package/dist/components/hb-date-picker.js +170 -0
- package/dist/components/hb-date-picker.js.map +1 -0
- package/dist/components/hb-date-range-picker.d.ts +11 -0
- package/dist/components/hb-date-range-picker.js +254 -0
- package/dist/components/hb-date-range-picker.js.map +1 -0
- package/dist/components/hb-date-time-picker.d.ts +11 -0
- package/dist/components/hb-date-time-picker.js +170 -0
- package/dist/components/hb-date-time-picker.js.map +1 -0
- package/dist/components/hb-descriptions.d.ts +11 -0
- package/dist/components/hb-descriptions.js +53 -0
- package/dist/components/hb-descriptions.js.map +1 -0
- package/dist/components/hb-dialog.d.ts +11 -0
- package/dist/components/hb-dialog.js +141 -0
- package/dist/components/hb-dialog.js.map +1 -0
- package/dist/components/hb-divider.d.ts +11 -0
- package/dist/components/hb-divider.js +55 -0
- package/dist/components/hb-divider.js.map +1 -0
- package/dist/components/hb-drawer.d.ts +11 -0
- package/dist/components/hb-drawer.js +116 -0
- package/dist/components/hb-drawer.js.map +1 -0
- package/dist/components/hb-dropdown.d.ts +11 -0
- package/dist/components/hb-dropdown.js +100 -0
- package/dist/components/hb-dropdown.js.map +1 -0
- package/dist/components/hb-empty.d.ts +11 -0
- package/dist/components/hb-empty.js +42 -0
- package/dist/components/hb-empty.js.map +1 -0
- package/dist/components/hb-float-button.d.ts +11 -0
- package/dist/components/hb-float-button.js +80 -0
- package/dist/components/hb-float-button.js.map +1 -0
- package/dist/components/hb-footer.d.ts +11 -0
- package/dist/components/hb-footer.js +47 -0
- package/dist/components/hb-footer.js.map +1 -0
- package/dist/components/hb-form-item.d.ts +11 -0
- package/dist/components/hb-form-item.js +139 -0
- package/dist/components/hb-form-item.js.map +1 -0
- package/dist/components/hb-form.d.ts +11 -0
- package/dist/components/hb-form.js +96 -0
- package/dist/components/hb-form.js.map +1 -0
- package/dist/components/hb-header.d.ts +11 -0
- package/dist/components/hb-header.js +47 -0
- package/dist/components/hb-header.js.map +1 -0
- package/dist/components/hb-icon.d.ts +11 -0
- package/dist/components/hb-icon.js +96 -0
- package/dist/components/hb-icon.js.map +1 -0
- package/dist/components/hb-image-preview.d.ts +11 -0
- package/dist/components/hb-image-preview.js +207 -0
- package/dist/components/hb-image-preview.js.map +1 -0
- package/dist/components/hb-image.d.ts +11 -0
- package/dist/components/hb-image.js +62 -0
- package/dist/components/hb-image.js.map +1 -0
- package/dist/components/hb-input-number.d.ts +11 -0
- package/dist/components/hb-input-number.js +202 -0
- package/dist/components/hb-input-number.js.map +1 -0
- package/dist/components/hb-input-tag.d.ts +11 -0
- package/dist/components/hb-input-tag.js +174 -0
- package/dist/components/hb-input-tag.js.map +1 -0
- package/dist/components/hb-input.d.ts +11 -0
- package/dist/components/hb-input.js +294 -0
- package/dist/components/hb-input.js.map +1 -0
- package/dist/components/hb-layout.d.ts +11 -0
- package/dist/components/hb-layout.js +103 -0
- package/dist/components/hb-layout.js.map +1 -0
- package/dist/components/hb-link.d.ts +11 -0
- package/dist/components/hb-link.js +89 -0
- package/dist/components/hb-link.js.map +1 -0
- package/dist/components/hb-loading.d.ts +11 -0
- package/dist/components/hb-loading.js +51 -0
- package/dist/components/hb-loading.js.map +1 -0
- package/dist/components/hb-main.d.ts +11 -0
- package/dist/components/hb-main.js +37 -0
- package/dist/components/hb-main.js.map +1 -0
- package/dist/components/hb-menu-item.d.ts +11 -0
- package/dist/components/hb-menu-item.js +70 -0
- package/dist/components/hb-menu-item.js.map +1 -0
- package/dist/components/hb-menu.d.ts +11 -0
- package/dist/components/hb-menu.js +113 -0
- package/dist/components/hb-menu.js.map +1 -0
- package/dist/components/hb-message.d.ts +11 -0
- package/dist/components/hb-message.js +69 -0
- package/dist/components/hb-message.js.map +1 -0
- package/dist/components/hb-notification.d.ts +11 -0
- package/dist/components/hb-notification.js +91 -0
- package/dist/components/hb-notification.js.map +1 -0
- package/dist/components/hb-page-header.d.ts +11 -0
- package/dist/components/hb-page-header.js +57 -0
- package/dist/components/hb-page-header.js.map +1 -0
- package/dist/components/hb-pagination.d.ts +11 -0
- package/dist/components/hb-pagination.js +134 -0
- package/dist/components/hb-pagination.js.map +1 -0
- package/dist/components/hb-popconfirm.d.ts +11 -0
- package/dist/components/hb-popconfirm.js +75 -0
- package/dist/components/hb-popconfirm.js.map +1 -0
- package/dist/components/hb-popover.d.ts +11 -0
- package/dist/components/hb-popover.js +82 -0
- package/dist/components/hb-popover.js.map +1 -0
- package/dist/components/hb-progress.d.ts +11 -0
- package/dist/components/hb-progress.js +60 -0
- package/dist/components/hb-progress.js.map +1 -0
- package/dist/components/hb-radio.d.ts +11 -0
- package/dist/components/hb-radio.js +149 -0
- package/dist/components/hb-radio.js.map +1 -0
- package/dist/components/hb-rate.d.ts +11 -0
- package/dist/components/hb-rate.js +161 -0
- package/dist/components/hb-rate.js.map +1 -0
- package/dist/components/hb-result.d.ts +11 -0
- package/dist/components/hb-result.js +77 -0
- package/dist/components/hb-result.js.map +1 -0
- package/dist/components/hb-row.d.ts +11 -0
- package/dist/components/hb-row.js +77 -0
- package/dist/components/hb-row.js.map +1 -0
- package/dist/components/hb-scrollbar.d.ts +11 -0
- package/dist/components/hb-scrollbar.js +235 -0
- package/dist/components/hb-scrollbar.js.map +1 -0
- package/dist/components/hb-segmented.d.ts +11 -0
- package/dist/components/hb-segmented.js +63 -0
- package/dist/components/hb-segmented.js.map +1 -0
- package/dist/components/hb-select.d.ts +11 -0
- package/dist/components/hb-select.js +299 -0
- package/dist/components/hb-select.js.map +1 -0
- package/dist/components/hb-skeleton.d.ts +11 -0
- package/dist/components/hb-skeleton.js +75 -0
- package/dist/components/hb-skeleton.js.map +1 -0
- package/dist/components/hb-slider.d.ts +11 -0
- package/dist/components/hb-slider.js +202 -0
- package/dist/components/hb-slider.js.map +1 -0
- package/dist/components/hb-space.d.ts +11 -0
- package/dist/components/hb-space.js +94 -0
- package/dist/components/hb-space.js.map +1 -0
- package/dist/components/hb-statistic.d.ts +11 -0
- package/dist/components/hb-statistic.js +88 -0
- package/dist/components/hb-statistic.js.map +1 -0
- package/dist/components/hb-step.d.ts +11 -0
- package/dist/components/hb-step.js +42 -0
- package/dist/components/hb-step.js.map +1 -0
- package/dist/components/hb-steps.d.ts +11 -0
- package/dist/components/hb-steps.js +71 -0
- package/dist/components/hb-steps.js.map +1 -0
- package/dist/components/hb-sub-menu.d.ts +11 -0
- package/dist/components/hb-sub-menu.js +91 -0
- package/dist/components/hb-sub-menu.js.map +1 -0
- package/dist/components/hb-switch.d.ts +11 -0
- package/dist/components/hb-switch.js +118 -0
- package/dist/components/hb-switch.js.map +1 -0
- package/dist/components/hb-tab-pane.d.ts +11 -0
- package/dist/components/hb-tab-pane.js +43 -0
- package/dist/components/hb-tab-pane.js.map +1 -0
- package/dist/components/hb-table.d.ts +11 -0
- package/dist/components/hb-table.js +412 -0
- package/dist/components/hb-table.js.map +1 -0
- package/dist/components/hb-tabs.d.ts +11 -0
- package/dist/components/hb-tabs.js +138 -0
- package/dist/components/hb-tabs.js.map +1 -0
- package/dist/components/hb-tag.d.ts +11 -0
- package/dist/components/hb-tag.js +66 -0
- package/dist/components/hb-tag.js.map +1 -0
- package/dist/components/hb-text.d.ts +11 -0
- package/dist/components/hb-text.js +82 -0
- package/dist/components/hb-text.js.map +1 -0
- package/dist/components/hb-time-picker.d.ts +11 -0
- package/dist/components/hb-time-picker.js +178 -0
- package/dist/components/hb-time-picker.js.map +1 -0
- package/dist/components/hb-time-select.d.ts +11 -0
- package/dist/components/hb-time-select.js +175 -0
- package/dist/components/hb-time-select.js.map +1 -0
- package/dist/components/hb-timeline.d.ts +11 -0
- package/dist/components/hb-timeline.js +48 -0
- package/dist/components/hb-timeline.js.map +1 -0
- package/dist/components/hb-tooltip.d.ts +11 -0
- package/dist/components/hb-tooltip.js +97 -0
- package/dist/components/hb-tooltip.js.map +1 -0
- package/dist/components/hb-tour.d.ts +11 -0
- package/dist/components/hb-tour.js +139 -0
- package/dist/components/hb-tour.js.map +1 -0
- package/dist/components/hb-transfer.d.ts +11 -0
- package/dist/components/hb-transfer.js +199 -0
- package/dist/components/hb-transfer.js.map +1 -0
- package/dist/components/hb-tree-select.d.ts +11 -0
- package/dist/components/hb-tree-select.js +263 -0
- package/dist/components/hb-tree-select.js.map +1 -0
- package/dist/components/hb-tree.d.ts +11 -0
- package/dist/components/hb-tree.js +344 -0
- package/dist/components/hb-tree.js.map +1 -0
- package/dist/components/hb-upload.d.ts +11 -0
- package/dist/components/hb-upload.js +213 -0
- package/dist/components/hb-upload.js.map +1 -0
- package/dist/components/hb-watermark.d.ts +11 -0
- package/dist/components/hb-watermark.js +82 -0
- package/dist/components/hb-watermark.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/p-1407a5e8.js +1662 -0
- package/dist/components/p-1407a5e8.js.map +1 -0
- package/dist/components/p-4ef5a884.js +25 -0
- package/dist/components/p-4ef5a884.js.map +1 -0
- package/dist/components/p-cc0aeb50.js +119 -0
- package/dist/components/p-cc0aeb50.js.map +1 -0
- package/dist/components/p-cf94cbf6.js +123 -0
- package/dist/components/p-cf94cbf6.js.map +1 -0
- package/dist/components/p-ecce2b5e.js +78 -0
- package/dist/components/p-ecce2b5e.js.map +1 -0
- package/dist/esm/a11y-f9ab2964.js +119 -0
- package/dist/esm/a11y-f9ab2964.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/click-outside-291294f9.js +25 -0
- package/dist/esm/click-outside-291294f9.js.map +1 -0
- package/dist/esm/date-helpers-e4d85a67.js +123 -0
- package/dist/esm/date-helpers-e4d85a67.js.map +1 -0
- package/dist/esm/hb-affix.entry.js +97 -0
- package/dist/esm/hb-affix.entry.js.map +1 -0
- package/dist/esm/hb-alert.entry.js +43 -0
- package/dist/esm/hb-alert.entry.js.map +1 -0
- package/dist/esm/hb-anchor.entry.js +42 -0
- package/dist/esm/hb-anchor.entry.js.map +1 -0
- package/dist/esm/hb-aside.entry.js +26 -0
- package/dist/esm/hb-aside.entry.js.map +1 -0
- package/dist/esm/hb-avatar.entry.js +27 -0
- package/dist/esm/hb-avatar.entry.js.map +1 -0
- package/dist/esm/hb-backtop.entry.js +96 -0
- package/dist/esm/hb-backtop.entry.js.map +1 -0
- package/dist/esm/hb-badge.entry.js +31 -0
- package/dist/esm/hb-badge.entry.js.map +1 -0
- package/dist/esm/hb-breadcrumb-item.entry.js +21 -0
- package/dist/esm/hb-breadcrumb-item.entry.js.map +1 -0
- package/dist/esm/hb-breadcrumb.entry.js +20 -0
- package/dist/esm/hb-breadcrumb.entry.js.map +1 -0
- package/dist/esm/hb-button.entry.js +35 -0
- package/dist/esm/hb-button.entry.js.map +1 -0
- package/dist/esm/hb-calendar.entry.js +86 -0
- package/dist/esm/hb-calendar.entry.js.map +1 -0
- package/dist/esm/hb-card.entry.js +23 -0
- package/dist/esm/hb-card.entry.js.map +1 -0
- package/dist/esm/hb-carousel.entry.js +146 -0
- package/dist/esm/hb-carousel.entry.js.map +1 -0
- package/dist/esm/hb-cascader.entry.js +409 -0
- package/dist/esm/hb-cascader.entry.js.map +1 -0
- package/dist/esm/hb-checkbox-group.entry.js +113 -0
- package/dist/esm/hb-checkbox-group.entry.js.map +1 -0
- package/dist/esm/hb-checkbox.entry.js +126 -0
- package/dist/esm/hb-checkbox.entry.js.map +1 -0
- package/dist/esm/hb-collapse-item.entry.js +54 -0
- package/dist/esm/hb-collapse-item.entry.js.map +1 -0
- package/dist/esm/hb-collapse.entry.js +37 -0
- package/dist/esm/hb-collapse.entry.js.map +1 -0
- package/dist/esm/hb-color-picker-panel.entry.js +82 -0
- package/dist/esm/hb-color-picker-panel.entry.js.map +1 -0
- package/dist/esm/hb-color-picker.entry.js +261 -0
- package/dist/esm/hb-color-picker.entry.js.map +1 -0
- package/dist/esm/hb-config-provider.entry.js +40 -0
- package/dist/esm/hb-config-provider.entry.js.map +1 -0
- package/dist/esm/hb-container.entry.js +26 -0
- package/dist/esm/hb-container.entry.js.map +1 -0
- package/dist/esm/hb-date-picker-pane.entry.js +146 -0
- package/dist/esm/hb-date-picker-pane.entry.js.map +1 -0
- package/dist/esm/hb-date-picker.entry.js +134 -0
- package/dist/esm/hb-date-picker.entry.js.map +1 -0
- package/dist/esm/hb-date-range-picker.entry.js +218 -0
- package/dist/esm/hb-date-range-picker.entry.js.map +1 -0
- package/dist/esm/hb-date-time-picker.entry.js +136 -0
- package/dist/esm/hb-date-time-picker.entry.js.map +1 -0
- package/dist/esm/hb-descriptions.entry.js +28 -0
- package/dist/esm/hb-descriptions.entry.js.map +1 -0
- package/dist/esm/hb-dialog.entry.js +110 -0
- package/dist/esm/hb-dialog.entry.js.map +1 -0
- package/dist/esm/hb-divider.entry.js +32 -0
- package/dist/esm/hb-divider.entry.js.map +1 -0
- package/dist/esm/hb-drawer.entry.js +85 -0
- package/dist/esm/hb-drawer.entry.js.map +1 -0
- package/dist/esm/hb-dropdown.entry.js +76 -0
- package/dist/esm/hb-dropdown.entry.js.map +1 -0
- package/dist/esm/hb-empty.entry.js +20 -0
- package/dist/esm/hb-empty.entry.js.map +1 -0
- package/dist/esm/hb-float-button.entry.js +53 -0
- package/dist/esm/hb-float-button.entry.js.map +1 -0
- package/dist/esm/hb-footer.entry.js +26 -0
- package/dist/esm/hb-footer.entry.js.map +1 -0
- package/dist/esm/hb-form-item.entry.js +108 -0
- package/dist/esm/hb-form-item.entry.js.map +1 -0
- package/dist/esm/hb-form.entry.js +66 -0
- package/dist/esm/hb-form.entry.js.map +1 -0
- package/dist/esm/hb-header.entry.js +26 -0
- package/dist/esm/hb-header.entry.js.map +1 -0
- package/dist/esm/hb-icon.entry.js +72 -0
- package/dist/esm/hb-icon.entry.js.map +1 -0
- package/dist/esm/hb-image-preview.entry.js +175 -0
- package/dist/esm/hb-image-preview.entry.js.map +1 -0
- package/dist/esm/hb-image.entry.js +31 -0
- package/dist/esm/hb-image.entry.js.map +1 -0
- package/dist/esm/hb-input-number.entry.js +165 -0
- package/dist/esm/hb-input-number.entry.js.map +1 -0
- package/dist/esm/hb-input-tag.entry.js +141 -0
- package/dist/esm/hb-input-tag.entry.js.map +1 -0
- package/dist/esm/hb-input.entry.js +248 -0
- package/dist/esm/hb-input.entry.js.map +1 -0
- package/dist/esm/hb-layout.entry.js +74 -0
- package/dist/esm/hb-layout.entry.js.map +1 -0
- package/dist/esm/hb-link.entry.js +63 -0
- package/dist/esm/hb-link.entry.js.map +1 -0
- package/dist/esm/hb-loading.entry.js +28 -0
- package/dist/esm/hb-loading.entry.js.map +1 -0
- package/dist/esm/hb-main.entry.js +18 -0
- package/dist/esm/hb-main.entry.js.map +1 -0
- package/dist/esm/hb-menu-item.entry.js +46 -0
- package/dist/esm/hb-menu-item.entry.js.map +1 -0
- package/dist/esm/hb-menu.entry.js +83 -0
- package/dist/esm/hb-menu.entry.js.map +1 -0
- package/dist/esm/hb-message.entry.js +44 -0
- package/dist/esm/hb-message.entry.js.map +1 -0
- package/dist/esm/hb-notification.entry.js +63 -0
- package/dist/esm/hb-notification.entry.js.map +1 -0
- package/dist/esm/hb-page-header.entry.js +33 -0
- package/dist/esm/hb-page-header.entry.js.map +1 -0
- package/dist/esm/hb-pagination.entry.js +103 -0
- package/dist/esm/hb-pagination.entry.js.map +1 -0
- package/dist/esm/hb-popconfirm.entry.js +47 -0
- package/dist/esm/hb-popconfirm.entry.js.map +1 -0
- package/dist/esm/hb-popover.entry.js +55 -0
- package/dist/esm/hb-popover.entry.js.map +1 -0
- package/dist/esm/hb-progress.entry.js +35 -0
- package/dist/esm/hb-progress.entry.js.map +1 -0
- package/dist/esm/hb-radio.entry.js +115 -0
- package/dist/esm/hb-radio.entry.js.map +1 -0
- package/dist/esm/hb-rate.entry.js +128 -0
- package/dist/esm/hb-rate.entry.js.map +1 -0
- package/dist/esm/hb-result.entry.js +53 -0
- package/dist/esm/hb-result.entry.js.map +1 -0
- package/dist/esm/hb-row.entry.js +53 -0
- package/dist/esm/hb-row.entry.js.map +1 -0
- package/dist/esm/hb-scrollbar.entry.js +200 -0
- package/dist/esm/hb-scrollbar.entry.js.map +1 -0
- package/dist/esm/hb-segmented.entry.js +39 -0
- package/dist/esm/hb-segmented.entry.js.map +1 -0
- package/dist/esm/hb-select.entry.js +258 -0
- package/dist/esm/hb-select.entry.js.map +1 -0
- package/dist/esm/hb-skeleton.entry.js +49 -0
- package/dist/esm/hb-skeleton.entry.js.map +1 -0
- package/dist/esm/hb-slider.entry.js +168 -0
- package/dist/esm/hb-slider.entry.js.map +1 -0
- package/dist/esm/hb-space.entry.js +68 -0
- package/dist/esm/hb-space.entry.js.map +1 -0
- package/dist/esm/hb-statistic.entry.js +62 -0
- package/dist/esm/hb-statistic.entry.js.map +1 -0
- package/dist/esm/hb-step.entry.js +20 -0
- package/dist/esm/hb-step.entry.js.map +1 -0
- package/dist/esm/hb-steps.entry.js +46 -0
- package/dist/esm/hb-steps.entry.js.map +1 -0
- package/dist/esm/hb-sub-menu.entry.js +66 -0
- package/dist/esm/hb-sub-menu.entry.js.map +1 -0
- package/dist/esm/hb-switch.entry.js +88 -0
- package/dist/esm/hb-switch.entry.js.map +1 -0
- package/dist/esm/hb-tab-pane.entry.js +22 -0
- package/dist/esm/hb-tab-pane.entry.js.map +1 -0
- package/dist/esm/hb-table.entry.js +366 -0
- package/dist/esm/hb-table.entry.js.map +1 -0
- package/dist/esm/hb-tabs.entry.js +111 -0
- package/dist/esm/hb-tabs.entry.js.map +1 -0
- package/dist/esm/hb-tag.entry.js +41 -0
- package/dist/esm/hb-tag.entry.js.map +1 -0
- package/dist/esm/hb-text.entry.js +56 -0
- package/dist/esm/hb-text.entry.js.map +1 -0
- package/dist/esm/hb-time-picker.entry.js +143 -0
- package/dist/esm/hb-time-picker.entry.js.map +1 -0
- package/dist/esm/hb-time-select.entry.js +141 -0
- package/dist/esm/hb-time-select.entry.js.map +1 -0
- package/dist/esm/hb-timeline.entry.js +26 -0
- package/dist/esm/hb-timeline.entry.js.map +1 -0
- package/dist/esm/hb-tooltip.entry.js +70 -0
- package/dist/esm/hb-tooltip.entry.js.map +1 -0
- package/dist/esm/hb-tour.entry.js +115 -0
- package/dist/esm/hb-tour.entry.js.map +1 -0
- package/dist/esm/hb-transfer.entry.js +169 -0
- package/dist/esm/hb-transfer.entry.js.map +1 -0
- package/dist/esm/hb-tree-select.entry.js +232 -0
- package/dist/esm/hb-tree-select.entry.js.map +1 -0
- package/dist/esm/hb-tree.entry.js +309 -0
- package/dist/esm/hb-tree.entry.js.map +1 -0
- package/dist/esm/hb-upload.entry.js +180 -0
- package/dist/esm/hb-upload.entry.js.map +1 -0
- package/dist/esm/hb-watermark.entry.js +55 -0
- package/dist/esm/hb-watermark.entry.js.map +1 -0
- package/dist/esm/huibo-ui.js +22 -0
- package/dist/esm/huibo-ui.js.map +1 -0
- package/dist/esm/index-fdf7135e.js +1886 -0
- package/dist/esm/index-fdf7135e.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/popup-manager-128cc685.js +78 -0
- package/dist/esm/popup-manager-128cc685.js.map +1 -0
- package/dist/huibo-ui/huibo-ui.css +6 -0
- package/dist/huibo-ui/huibo-ui.esm.js +2 -0
- package/dist/huibo-ui/huibo-ui.esm.js.map +1 -0
- package/dist/huibo-ui/index.esm.js +2 -0
- package/dist/huibo-ui/index.esm.js.map +1 -0
- package/dist/huibo-ui/p-003cee87.entry.js +2 -0
- package/dist/huibo-ui/p-003cee87.entry.js.map +1 -0
- package/dist/huibo-ui/p-06ec8d02.entry.js +2 -0
- package/dist/huibo-ui/p-06ec8d02.entry.js.map +1 -0
- package/dist/huibo-ui/p-079a4130.entry.js +2 -0
- package/dist/huibo-ui/p-079a4130.entry.js.map +1 -0
- package/dist/huibo-ui/p-0a033738.entry.js +2 -0
- package/dist/huibo-ui/p-0a033738.entry.js.map +1 -0
- package/dist/huibo-ui/p-0bef78ac.entry.js +2 -0
- package/dist/huibo-ui/p-0bef78ac.entry.js.map +1 -0
- package/dist/huibo-ui/p-0e65e1bd.entry.js +2 -0
- package/dist/huibo-ui/p-0e65e1bd.entry.js.map +1 -0
- package/dist/huibo-ui/p-0f189251.entry.js +2 -0
- package/dist/huibo-ui/p-0f189251.entry.js.map +1 -0
- package/dist/huibo-ui/p-10c088f3.entry.js +2 -0
- package/dist/huibo-ui/p-10c088f3.entry.js.map +1 -0
- package/dist/huibo-ui/p-1b5acd6d.entry.js +2 -0
- package/dist/huibo-ui/p-1b5acd6d.entry.js.map +1 -0
- package/dist/huibo-ui/p-1e5abc8a.entry.js +2 -0
- package/dist/huibo-ui/p-1e5abc8a.entry.js.map +1 -0
- package/dist/huibo-ui/p-1f0b1662.entry.js +2 -0
- package/dist/huibo-ui/p-1f0b1662.entry.js.map +1 -0
- package/dist/huibo-ui/p-21682e92.entry.js +2 -0
- package/dist/huibo-ui/p-21682e92.entry.js.map +1 -0
- package/dist/huibo-ui/p-231a7335.entry.js +2 -0
- package/dist/huibo-ui/p-231a7335.entry.js.map +1 -0
- package/dist/huibo-ui/p-24ad7eec.entry.js +2 -0
- package/dist/huibo-ui/p-24ad7eec.entry.js.map +1 -0
- package/dist/huibo-ui/p-2b286698.entry.js +2 -0
- package/dist/huibo-ui/p-2b286698.entry.js.map +1 -0
- package/dist/huibo-ui/p-2e6584ea.entry.js +2 -0
- package/dist/huibo-ui/p-2e6584ea.entry.js.map +1 -0
- package/dist/huibo-ui/p-315feadf.entry.js +2 -0
- package/dist/huibo-ui/p-315feadf.entry.js.map +1 -0
- package/dist/huibo-ui/p-332c8877.entry.js +2 -0
- package/dist/huibo-ui/p-332c8877.entry.js.map +1 -0
- package/dist/huibo-ui/p-3c7f73c8.entry.js +2 -0
- package/dist/huibo-ui/p-3c7f73c8.entry.js.map +1 -0
- package/dist/huibo-ui/p-4001c08d.entry.js +2 -0
- package/dist/huibo-ui/p-4001c08d.entry.js.map +1 -0
- package/dist/huibo-ui/p-44c48246.entry.js +2 -0
- package/dist/huibo-ui/p-44c48246.entry.js.map +1 -0
- package/dist/huibo-ui/p-463de26d.entry.js +2 -0
- package/dist/huibo-ui/p-463de26d.entry.js.map +1 -0
- package/dist/huibo-ui/p-465dcb4c.entry.js +2 -0
- package/dist/huibo-ui/p-465dcb4c.entry.js.map +1 -0
- package/dist/huibo-ui/p-476527c1.entry.js +2 -0
- package/dist/huibo-ui/p-476527c1.entry.js.map +1 -0
- package/dist/huibo-ui/p-477d8568.entry.js +2 -0
- package/dist/huibo-ui/p-477d8568.entry.js.map +1 -0
- package/dist/huibo-ui/p-4d0dff15.entry.js +2 -0
- package/dist/huibo-ui/p-4d0dff15.entry.js.map +1 -0
- package/dist/huibo-ui/p-4d8b1404.entry.js +2 -0
- package/dist/huibo-ui/p-4d8b1404.entry.js.map +1 -0
- package/dist/huibo-ui/p-4ef5a884.js +2 -0
- package/dist/huibo-ui/p-4ef5a884.js.map +1 -0
- package/dist/huibo-ui/p-58d20809.entry.js +2 -0
- package/dist/huibo-ui/p-58d20809.entry.js.map +1 -0
- package/dist/huibo-ui/p-58ebb9b3.entry.js +2 -0
- package/dist/huibo-ui/p-58ebb9b3.entry.js.map +1 -0
- package/dist/huibo-ui/p-59b2e61c.entry.js +2 -0
- package/dist/huibo-ui/p-59b2e61c.entry.js.map +1 -0
- package/dist/huibo-ui/p-5df47135.entry.js +2 -0
- package/dist/huibo-ui/p-5df47135.entry.js.map +1 -0
- package/dist/huibo-ui/p-64ca0980.entry.js +2 -0
- package/dist/huibo-ui/p-64ca0980.entry.js.map +1 -0
- package/dist/huibo-ui/p-672076c3.entry.js +2 -0
- package/dist/huibo-ui/p-672076c3.entry.js.map +1 -0
- package/dist/huibo-ui/p-6a1ec3ff.entry.js +2 -0
- package/dist/huibo-ui/p-6a1ec3ff.entry.js.map +1 -0
- package/dist/huibo-ui/p-6ac242fe.entry.js +2 -0
- package/dist/huibo-ui/p-6ac242fe.entry.js.map +1 -0
- package/dist/huibo-ui/p-6b381d0e.entry.js +2 -0
- package/dist/huibo-ui/p-6b381d0e.entry.js.map +1 -0
- package/dist/huibo-ui/p-710f38de.entry.js +2 -0
- package/dist/huibo-ui/p-710f38de.entry.js.map +1 -0
- package/dist/huibo-ui/p-756acbdb.entry.js +2 -0
- package/dist/huibo-ui/p-756acbdb.entry.js.map +1 -0
- package/dist/huibo-ui/p-75a93de3.entry.js +2 -0
- package/dist/huibo-ui/p-75a93de3.entry.js.map +1 -0
- package/dist/huibo-ui/p-769960f4.entry.js +2 -0
- package/dist/huibo-ui/p-769960f4.entry.js.map +1 -0
- package/dist/huibo-ui/p-77017274.entry.js +2 -0
- package/dist/huibo-ui/p-77017274.entry.js.map +1 -0
- package/dist/huibo-ui/p-7f6975ad.entry.js +2 -0
- package/dist/huibo-ui/p-7f6975ad.entry.js.map +1 -0
- package/dist/huibo-ui/p-80aca641.entry.js +2 -0
- package/dist/huibo-ui/p-80aca641.entry.js.map +1 -0
- package/dist/huibo-ui/p-85f68526.entry.js +2 -0
- package/dist/huibo-ui/p-85f68526.entry.js.map +1 -0
- package/dist/huibo-ui/p-88127de1.entry.js +2 -0
- package/dist/huibo-ui/p-88127de1.entry.js.map +1 -0
- package/dist/huibo-ui/p-8b027491.entry.js +2 -0
- package/dist/huibo-ui/p-8b027491.entry.js.map +1 -0
- package/dist/huibo-ui/p-8b1ae77e.entry.js +2 -0
- package/dist/huibo-ui/p-8b1ae77e.entry.js.map +1 -0
- package/dist/huibo-ui/p-8c80a765.entry.js +2 -0
- package/dist/huibo-ui/p-8c80a765.entry.js.map +1 -0
- package/dist/huibo-ui/p-8c987d57.entry.js +2 -0
- package/dist/huibo-ui/p-8c987d57.entry.js.map +1 -0
- package/dist/huibo-ui/p-8d615521.entry.js +2 -0
- package/dist/huibo-ui/p-8d615521.entry.js.map +1 -0
- package/dist/huibo-ui/p-8d925e3d.entry.js +2 -0
- package/dist/huibo-ui/p-8d925e3d.entry.js.map +1 -0
- package/dist/huibo-ui/p-9319c650.entry.js +2 -0
- package/dist/huibo-ui/p-9319c650.entry.js.map +1 -0
- package/dist/huibo-ui/p-953b9514.entry.js +2 -0
- package/dist/huibo-ui/p-953b9514.entry.js.map +1 -0
- package/dist/huibo-ui/p-965d4d02.entry.js +2 -0
- package/dist/huibo-ui/p-965d4d02.entry.js.map +1 -0
- package/dist/huibo-ui/p-a0015341.entry.js +2 -0
- package/dist/huibo-ui/p-a0015341.entry.js.map +1 -0
- package/dist/huibo-ui/p-a042e3d0.entry.js +2 -0
- package/dist/huibo-ui/p-a042e3d0.entry.js.map +1 -0
- package/dist/huibo-ui/p-ad6b0c6e.entry.js +2 -0
- package/dist/huibo-ui/p-ad6b0c6e.entry.js.map +1 -0
- package/dist/huibo-ui/p-b489a526.entry.js +2 -0
- package/dist/huibo-ui/p-b489a526.entry.js.map +1 -0
- package/dist/huibo-ui/p-be48d2aa.entry.js +2 -0
- package/dist/huibo-ui/p-be48d2aa.entry.js.map +1 -0
- package/dist/huibo-ui/p-c1a059d9.entry.js +2 -0
- package/dist/huibo-ui/p-c1a059d9.entry.js.map +1 -0
- package/dist/huibo-ui/p-c1b4eacb.entry.js +2 -0
- package/dist/huibo-ui/p-c1b4eacb.entry.js.map +1 -0
- package/dist/huibo-ui/p-c321c4aa.entry.js +2 -0
- package/dist/huibo-ui/p-c321c4aa.entry.js.map +1 -0
- package/dist/huibo-ui/p-c3e665f6.entry.js +2 -0
- package/dist/huibo-ui/p-c3e665f6.entry.js.map +1 -0
- package/dist/huibo-ui/p-c3e8893d.entry.js +2 -0
- package/dist/huibo-ui/p-c3e8893d.entry.js.map +1 -0
- package/dist/huibo-ui/p-c922d672.entry.js +2 -0
- package/dist/huibo-ui/p-c922d672.entry.js.map +1 -0
- package/dist/huibo-ui/p-cc0aeb50.js +2 -0
- package/dist/huibo-ui/p-cc0aeb50.js.map +1 -0
- package/dist/huibo-ui/p-cf94cbf6.js +2 -0
- package/dist/huibo-ui/p-cf94cbf6.js.map +1 -0
- package/dist/huibo-ui/p-d3939d44.entry.js +2 -0
- package/dist/huibo-ui/p-d3939d44.entry.js.map +1 -0
- package/dist/huibo-ui/p-d64b91ef.entry.js +2 -0
- package/dist/huibo-ui/p-d64b91ef.entry.js.map +1 -0
- package/dist/huibo-ui/p-d7815b4f.entry.js +2 -0
- package/dist/huibo-ui/p-d7815b4f.entry.js.map +1 -0
- package/dist/huibo-ui/p-d87fc21a.entry.js +2 -0
- package/dist/huibo-ui/p-d87fc21a.entry.js.map +1 -0
- package/dist/huibo-ui/p-dd05cb2c.entry.js +2 -0
- package/dist/huibo-ui/p-dd05cb2c.entry.js.map +1 -0
- package/dist/huibo-ui/p-dfaf7e37.entry.js +2 -0
- package/dist/huibo-ui/p-dfaf7e37.entry.js.map +1 -0
- package/dist/huibo-ui/p-e004fc81.entry.js +2 -0
- package/dist/huibo-ui/p-e004fc81.entry.js.map +1 -0
- package/dist/huibo-ui/p-e0768565.entry.js +2 -0
- package/dist/huibo-ui/p-e0768565.entry.js.map +1 -0
- package/dist/huibo-ui/p-e0ab9010.entry.js +2 -0
- package/dist/huibo-ui/p-e0ab9010.entry.js.map +1 -0
- package/dist/huibo-ui/p-e1255160.js +2 -0
- package/dist/huibo-ui/p-e1255160.js.map +1 -0
- package/dist/huibo-ui/p-e2a8a396.entry.js +2 -0
- package/dist/huibo-ui/p-e2a8a396.entry.js.map +1 -0
- package/dist/huibo-ui/p-e36bbe6f.entry.js +2 -0
- package/dist/huibo-ui/p-e36bbe6f.entry.js.map +1 -0
- package/dist/huibo-ui/p-e42dfa95.js +3 -0
- package/dist/huibo-ui/p-e42dfa95.js.map +1 -0
- package/dist/huibo-ui/p-e6f2d71d.entry.js +2 -0
- package/dist/huibo-ui/p-e6f2d71d.entry.js.map +1 -0
- package/dist/huibo-ui/p-e9490259.entry.js +2 -0
- package/dist/huibo-ui/p-e9490259.entry.js.map +1 -0
- package/dist/huibo-ui/p-ea74fcae.entry.js +2 -0
- package/dist/huibo-ui/p-ea74fcae.entry.js.map +1 -0
- package/dist/huibo-ui/p-ebd04656.entry.js +2 -0
- package/dist/huibo-ui/p-ebd04656.entry.js.map +1 -0
- package/dist/huibo-ui/p-ecce2b5e.js +2 -0
- package/dist/huibo-ui/p-ecce2b5e.js.map +1 -0
- package/dist/huibo-ui/p-ed0ff857.entry.js +2 -0
- package/dist/huibo-ui/p-ed0ff857.entry.js.map +1 -0
- package/dist/huibo-ui/p-f0ac7db5.entry.js +2 -0
- package/dist/huibo-ui/p-f0ac7db5.entry.js.map +1 -0
- package/dist/huibo-ui/p-f1c084c5.entry.js +2 -0
- package/dist/huibo-ui/p-f1c084c5.entry.js.map +1 -0
- package/dist/huibo-ui/p-f374d5a3.entry.js +2 -0
- package/dist/huibo-ui/p-f374d5a3.entry.js.map +1 -0
- package/dist/huibo-ui/p-f81ec512.entry.js +2 -0
- package/dist/huibo-ui/p-f81ec512.entry.js.map +1 -0
- package/dist/huibo-ui/p-fd19813c.entry.js +2 -0
- package/dist/huibo-ui/p-fd19813c.entry.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/Affix/Affix.d.ts +27 -0
- package/dist/types/components/Alert/Alert.d.ts +23 -0
- package/dist/types/components/Anchor/Anchor.d.ts +28 -0
- package/dist/types/components/Avatar/Avatar.d.ts +9 -0
- package/dist/types/components/Backtop/Backtop.d.ts +33 -0
- package/dist/types/components/Badge/Badge.d.ts +9 -0
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +9 -0
- package/dist/types/components/Breadcrumb/BreadcrumbItem.d.ts +9 -0
- package/dist/types/components/Button/Button.d.ts +17 -0
- package/dist/types/components/Calendar/Calendar.d.ts +35 -0
- package/dist/types/components/Card/Card.d.ts +6 -0
- package/dist/types/components/Carousel/Carousel.d.ts +45 -0
- package/dist/types/components/Cascader/Cascader.d.ts +150 -0
- package/dist/types/components/Checkbox/Checkbox.d.ts +66 -0
- package/dist/types/components/Checkbox/CheckboxGroup.d.ts +46 -0
- package/dist/types/components/Collapse/Collapse.d.ts +7 -0
- package/dist/types/components/Collapse/CollapseItem.d.ts +17 -0
- package/dist/types/components/ColorPicker/ColorPicker.d.ts +59 -0
- package/dist/types/components/ColorPickerPanel/ColorPickerPanel.d.ts +35 -0
- package/dist/types/components/ConfigProvider/ConfigProvider.d.ts +17 -0
- package/dist/types/components/Container/Aside.d.ts +11 -0
- package/dist/types/components/Container/Container.d.ts +12 -0
- package/dist/types/components/Container/Footer.d.ts +11 -0
- package/dist/types/components/Container/Header.d.ts +11 -0
- package/dist/types/components/Container/Main.d.ts +7 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +53 -0
- package/dist/types/components/DatePickerPane/DatePickerPane.d.ts +40 -0
- package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +68 -0
- package/dist/types/components/DateTimePicker/DateTimePicker.d.ts +41 -0
- package/dist/types/components/Descriptions/Descriptions.d.ts +22 -0
- package/dist/types/components/Dialog/Dialog.d.ts +42 -0
- package/dist/types/components/Divider/Divider.d.ts +14 -0
- package/dist/types/components/Drawer/Drawer.d.ts +24 -0
- package/dist/types/components/Dropdown/Dropdown.d.ts +32 -0
- package/dist/types/components/Empty/Empty.d.ts +5 -0
- package/dist/types/components/FloatButton/FloatButton.d.ts +29 -0
- package/dist/types/components/Form/Form.d.ts +41 -0
- package/dist/types/components/Form/FormItem.d.ts +30 -0
- package/dist/types/components/Icon/Icon.d.ts +17 -0
- package/dist/types/components/Image/Image.d.ts +16 -0
- package/dist/types/components/ImagePreview/ImagePreview.d.ts +59 -0
- package/dist/types/components/Input/Input.d.ts +133 -0
- package/dist/types/components/InputNumber/InputNumber.d.ts +89 -0
- package/dist/types/components/InputTag/InputTag.d.ts +79 -0
- package/dist/types/components/Layout/Layout.d.ts +48 -0
- package/dist/types/components/Layout/Row.d.ts +26 -0
- package/dist/types/components/Link/Link.d.ts +40 -0
- package/dist/types/components/Loading/Loading.d.ts +13 -0
- package/dist/types/components/Menu/Menu.d.ts +34 -0
- package/dist/types/components/Menu/MenuItem.d.ts +17 -0
- package/dist/types/components/Menu/SubMenu.d.ts +30 -0
- package/dist/types/components/Message/Message.d.ts +20 -0
- package/dist/types/components/Message/show-message.d.ts +13 -0
- package/dist/types/components/Notification/Notification.d.ts +33 -0
- package/dist/types/components/Notification/notify.d.ts +19 -0
- package/dist/types/components/PageHeader/PageHeader.d.ts +19 -0
- package/dist/types/components/Pagination/Pagination.d.ts +35 -0
- package/dist/types/components/Popconfirm/Popconfirm.d.ts +20 -0
- package/dist/types/components/Popover/Popover.d.ts +18 -0
- package/dist/types/components/Progress/Progress.d.ts +9 -0
- package/dist/types/components/Radio/Radio.d.ts +57 -0
- package/dist/types/components/Rate/Rate.d.ts +64 -0
- package/dist/types/components/Result/Result.d.ts +22 -0
- package/dist/types/components/Scrollbar/Scrollbar.d.ts +75 -0
- package/dist/types/components/Segmented/Segmented.d.ts +24 -0
- package/dist/types/components/Select/Select.d.ts +100 -0
- package/dist/types/components/Skeleton/Skeleton.d.ts +22 -0
- package/dist/types/components/Slider/Slider.d.ts +81 -0
- package/dist/types/components/Space/Space.d.ts +37 -0
- package/dist/types/components/Statistic/Statistic.d.ts +25 -0
- package/dist/types/components/Steps/Step.d.ts +7 -0
- package/dist/types/components/Steps/Steps.d.ts +15 -0
- package/dist/types/components/Switch/Switch.d.ts +58 -0
- package/dist/types/components/Table/Table.d.ts +184 -0
- package/dist/types/components/Tabs/TabPane.d.ts +12 -0
- package/dist/types/components/Tabs/Tabs.d.ts +32 -0
- package/dist/types/components/Tag/Tag.d.ts +21 -0
- package/dist/types/components/Text/Text.d.ts +37 -0
- package/dist/types/components/TimePicker/TimePicker.d.ts +62 -0
- package/dist/types/components/TimeSelect/TimeSelect.d.ts +69 -0
- package/dist/types/components/Timeline/Timeline.d.ts +16 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +28 -0
- package/dist/types/components/Tour/Tour.d.ts +39 -0
- package/dist/types/components/Transfer/Transfer.d.ts +73 -0
- package/dist/types/components/Tree/Tree.d.ts +113 -0
- package/dist/types/components/TreeSelect/TreeSelect.d.ts +71 -0
- package/dist/types/components/Upload/Upload.d.ts +55 -0
- package/dist/types/components/Watermark/Watermark.d.ts +25 -0
- package/dist/types/components.d.ts +8261 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/utils/a11y.d.ts +66 -0
- package/dist/types/utils/click-outside.d.ts +20 -0
- package/dist/types/utils/date-helpers.d.ts +41 -0
- package/dist/types/utils/form-input-base.d.ts +62 -0
- package/dist/types/utils/popup-manager.d.ts +17 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +93 -0
- package/readme.md +111 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hb-tree.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,OAAO,GAAG,m1PAAm1P,CAAC;AACp2P,qBAAe,OAAO;;MCqBT,IAAI;;;;;;;;;;;IAMP,IAAI,GAAe,EAAE,CAAC;;;;IAKL,YAAY,GAAa,EAAE,CAAC;;;;IAK5B,YAAY,GAAa,EAAE,CAAC;;;;;IAM7C,SAAS,GAAY,KAAK,CAAC;;;;IAKV,WAAW,GAAa,EAAE,CAAC;;;;;IAM5C,gBAAgB,GAAY,KAAK,CAAC;;;;;IAMlC,QAAQ,GAAY,KAAK,CAAC;IAEzB,gBAAgB,GAAoB,IAAI,CAAC;IACzC,gBAAgB,GAAoB,IAAI,CAAC;IACzC,eAAe,GAAoB,IAAI,CAAC;;;;IAKxC,QAAQ,CAAyB;;;;IAKjC,QAAQ,CAAyB;;;;IAKjC,OAAO,CAAyB;IAEzC,iBAAiB;QACf,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACzB,MAAM,GAAG,GAAa,EAAE,CAAC;YACzB,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;YAC3C,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC;SAC7B;KACF;;;;;;IAQD,gBAAgB;QACd,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;YAC1B,OAAO;SACR;QACD,MAAM,OAAO,GAAG,IAAI,CAAC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IAEF,MAAM;QACJ,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,wBAAwB,EAAE,GAAG,IAAI,GAAG,EAAU,CAAC;QAC/F,QACEA,iEAAI,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAC,MAAM,IAC7E,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,EAAE,iBAAiB,CAAC,CAAC,CAClE,EACL;KACH;;;;;;;;;;;;","names":["h"],"sources":["src/components/Tree/tree.css?tag=hb-tree&encapsulation=shadow","src/components/Tree/Tree.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hb-tree {\n list-style: none;\n margin: 0;\n padding: 0;\n font-size: var(--hb-font-size-base);\n color: var(--hb-color-text);\n background-color: var(--hb-color-bg-container);\n box-sizing: border-box;\n}\n\n.hb-tree__children {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.hb-tree__node {\n list-style: none;\n white-space: nowrap;\n}\n\n.hb-tree__node-content {\n display: flex;\n align-items: center;\n gap: var(--hb-spacing-xxs);\n height: 28px;\n padding-right: var(--hb-spacing-xs);\n border-radius: var(--hb-border-radius-sm);\n cursor: pointer;\n transition: background-color var(--hb-transition-duration, 0.2s) var(--hb-transition-function, ease);\n box-sizing: border-box;\n}\n\n.hb-tree__node-content:hover {\n background-color: var(--hb-color-fill-tertiary);\n}\n\n.hb-tree__node-content--selected {\n background-color: var(--hb-color-primary-bg);\n}\n\n.hb-tree__node--disabled > .hb-tree__node-content {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n.hb-tree__node--disabled > .hb-tree__node-content:hover {\n background-color: transparent;\n}\n\n.hb-tree__switcher {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 18px;\n height: 18px;\n flex-shrink: 0;\n color: var(--hb-color-text-tertiary);\n}\n\n.hb-tree__arrow {\n font-size: 10px;\n display: inline-block;\n transition: transform var(--hb-transition-duration, 0.2s);\n}\n\n.hb-tree__arrow--expanded {\n transform: rotate(90deg);\n}\n\n.hb-tree--show-line .hb-tree__switcher {\n color: var(--hb-color-border);\n}\n\n.hb-tree__line-dot {\n width: 6px;\n height: 6px;\n border-left: 1px solid var(--hb-color-border);\n border-bottom: 1px solid var(--hb-color-border);\n border-bottom-left-radius: var(--hb-border-radius-sm);\n}\n\n.hb-tree__checkbox {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: 1px solid var(--hb-color-border);\n border-radius: var(--hb-border-radius-xs, 2px);\n background-color: var(--hb-color-bg-container);\n color: #fff;\n font-size: 11px;\n line-height: 1;\n flex-shrink: 0;\n transition: all var(--hb-transition-duration, 0.2s);\n}\n\n.hb-tree__checkbox:hover:not(.hb-tree__checkbox--disabled) {\n border-color: var(--hb-color-primary);\n}\n\n.hb-tree__checkbox--checked {\n background-color: var(--hb-color-primary);\n border-color: var(--hb-color-primary);\n}\n\n.hb-tree__checkbox--indeterminate {\n background-color: var(--hb-color-primary);\n border-color: var(--hb-color-primary);\n}\n\n.hb-tree__checkbox--disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n\n.hb-tree__title {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n user-select: none;\n}\n\n.hb-tree__node-content--selected .hb-tree__title {\n color: var(--hb-color-primary);\n font-weight: 500;\n}\n","import { Component, h, Prop, Event, EventEmitter, State, Element, Watch } from '@stencil/core';\n\nexport interface TreeNode {\n /** 节点唯一标识 */\n key: string;\n /** 节点标题 */\n title: string;\n /** 子节点 */\n children?: TreeNode[];\n /** 是否禁用 */\n disabled?: boolean;\n}\n\n/**\n * Tree 树形组件\n * 文件夹、组织架构、分类导航等层级结构的展示与选择\n */\n@Component({\n tag: 'hb-tree',\n styleUrl: 'tree.css',\n shadow: true,\n})\nexport class Tree {\n @Element() el: HTMLElement;\n\n /**\n * 可选项数据源(递归树结构)\n */\n @Prop() data: TreeNode[] = [];\n\n /**\n * (受控)展开的节点 key 集合\n */\n @Prop({ mutable: true }) expandedKeys: string[] = [];\n\n /**\n * (受控)选中的节点 key 集合\n */\n @Prop({ mutable: true }) selectedKeys: string[] = [];\n\n /**\n * 是否显示 checkbox 复选框\n * @default false\n */\n @Prop() checkable: boolean = false;\n\n /**\n * (受控)勾选的节点 key 集合\n */\n @Prop({ mutable: true }) checkedKeys: string[] = [];\n\n /**\n * 是否默认展开全部节点\n * @default false\n */\n @Prop() defaultExpandAll: boolean = false;\n\n /**\n * 是否显示连接线\n * @default false\n */\n @Prop() showLine: boolean = false;\n\n @State() internalExpanded: string[] | null = null;\n @State() internalSelected: string[] | null = null;\n @State() internalChecked: string[] | null = null;\n\n /**\n * 选中节点变化事件(detail: 选中节点 key 数组)\n */\n @Event() hbSelect: EventEmitter<string[]>;\n\n /**\n * 展开节点变化事件(detail: 展开节点 key 数组)\n */\n @Event() hbExpand: EventEmitter<string[]>;\n\n /**\n * 勾选节点变化事件(detail: 勾选节点 key 数组)\n */\n @Event() hbCheck: EventEmitter<string[]>;\n\n componentWillLoad() {\n if (this.defaultExpandAll) {\n const all: string[] = [];\n this.collectExpandableKeys(this.data, all);\n this.internalExpanded = all;\n }\n }\n\n /**\n * data 变化时,若 defaultExpandAll=true,把所有含 children 的节点 key\n * 合并进 expandedKeys(保留用户已手动展开的节点,不收起任何已展开项)。\n * 解决「先 mount 再赋 data」时 componentWillLoad 基于空数据计算导致不展开的问题。\n */\n @Watch('data')\n handleDataChange() {\n if (!this.defaultExpandAll) {\n return;\n }\n const current = this.getExpandedKeys();\n const merged = [...current];\n this.collectExpandableKeys(this.data, merged);\n // 去重\n const deduped = Array.from(new Set(merged));\n this.internalExpanded = deduped;\n this.expandedKeys = deduped;\n }\n\n @Watch('expandedKeys')\n handleExpandedKeysChange() {\n this.internalExpanded = null;\n }\n\n @Watch('selectedKeys')\n handleSelectedKeysChange() {\n this.internalSelected = null;\n }\n\n @Watch('checkedKeys')\n handleCheckedKeysChange() {\n this.internalChecked = null;\n }\n\n private collectExpandableKeys(nodes: TreeNode[], out: string[]) {\n for (const node of nodes) {\n if (node.children && node.children.length > 0) {\n out.push(node.key);\n this.collectExpandableKeys(node.children, out);\n }\n }\n }\n\n private getExpandedKeys(): string[] {\n return this.internalExpanded !== null ? this.internalExpanded : this.expandedKeys;\n }\n\n private getSelectedKeys(): string[] {\n return this.internalSelected !== null ? this.internalSelected : this.selectedKeys;\n }\n\n private getCheckedKeys(): string[] {\n return this.internalChecked !== null ? this.internalChecked : this.checkedKeys;\n }\n\n private isExpanded = (key: string) => this.getExpandedKeys().includes(key);\n private isSelected = (key: string) => this.getSelectedKeys().includes(key);\n private isChecked = (key: string) => this.getCheckedKeys().includes(key);\n\n private handleToggleExpand = (node: TreeNode, e: Event) => {\n e.stopPropagation();\n if (node.disabled) return;\n const current = [...this.getExpandedKeys()];\n const idx = current.indexOf(node.key);\n if (idx >= 0) {\n current.splice(idx, 1);\n } else {\n current.push(node.key);\n }\n this.internalExpanded = current;\n this.expandedKeys = current;\n this.hbExpand.emit(current);\n };\n\n private handleSelect = (node: TreeNode) => {\n if (node.disabled) return;\n const current = [...this.getSelectedKeys()];\n const idx = current.indexOf(node.key);\n if (idx >= 0) {\n current.splice(idx, 1);\n } else {\n current.push(node.key);\n }\n this.internalSelected = current;\n this.selectedKeys = current;\n this.hbSelect.emit(current);\n };\n\n private handleCheck = (node: TreeNode, e: Event) => {\n e.stopPropagation();\n if (node.disabled) return;\n const current = [...this.getCheckedKeys()];\n const wasChecked = current.includes(node.key);\n\n // 计算本次操作应进入/移出 checkedKeys 的所有 key 集合(含级联)。\n // 不可变:始终基于副本计算,绝不原地修改 current。\n const next = new Set(current);\n if (wasChecked) {\n // 取消:取消自身 + 取消所有后代(含禁用后代,因为它们当时是被父级带选的)。\n this.removeDescendantKeys(node, next);\n next.delete(node.key);\n } else {\n // 勾选:勾选自身 + 勾选所有非禁用后代。\n next.add(node.key);\n this.collectCheckableDescendantKeys(node, next);\n }\n\n // 父子联动自底向上修正祖先:所有非禁用子节点全选 → 父加入 checkedKeys;\n // 子节点部分选/全未选 → 父移出 checkedKeys(部分选体现为 indeterminate,由 detail 暴露)。\n this.reconcileAncestors(node, next);\n\n const result = Array.from(next);\n this.internalChecked = result;\n this.checkedKeys = result;\n this.hbCheck.emit(result);\n };\n\n /**\n * 从集合中移除某节点所有后代 key(含禁用项),用于取消父级时级联取消。\n * 不可变:仅修改传入的 Set 副本,不修改树本身。\n */\n private removeDescendantKeys(node: TreeNode, out: Set<string>) {\n if (!node.children) return;\n for (const child of node.children) {\n out.delete(child.key);\n this.removeDescendantKeys(child, out);\n }\n }\n\n /**\n * 收集某节点所有「可勾选(非禁用)」后代 key,用于勾选父级时级联勾选。\n * 注意:禁用子节点本身不可手动勾选,但若其下还有非禁用后代,仍应被级联勾选。\n */\n private collectCheckableDescendantKeys(node: TreeNode, out: Set<string>) {\n if (!node.children) return;\n for (const child of node.children) {\n if (!child.disabled) {\n out.add(child.key);\n }\n // 无论 child 是否禁用,继续向下寻找可勾选后代。\n this.collectCheckableDescendantKeys(child, out);\n }\n }\n\n /**\n * 自底向上修正 checkedKeys 中某节点的所有祖先勾选状态。\n * 规则:一个祖先节点,当且仅当其所有「非禁用子节点」均被勾选时,自身才被勾选;\n * 否则移出 checkedKeys(部分选情况由 indeterminate 集合在渲染层暴露,不进入 checkedKeys)。\n */\n private reconcileAncestors(node: TreeNode, next: Set<string>) {\n const parents = this.findAncestors(this.data, node.key, []);\n // parents 为从直接父到根的数组;逐层判断。\n for (const parent of parents) {\n if (parent.disabled || !parent.children || parent.children.length === 0) continue;\n const checkableChildren = parent.children.filter((c) => !c.disabled);\n if (checkableChildren.length === 0) continue;\n const allChecked = checkableChildren.every((c) => next.has(c.key));\n if (allChecked) {\n next.add(parent.key);\n } else {\n next.delete(parent.key);\n }\n }\n }\n\n /**\n * 递归查找某 key 的祖先链(不含自身),返回从直接父到根的数组。\n * 找不到返回空数组(key 为根节点或不存在时)。\n */\n private findAncestors(nodes: TreeNode[], key: string, acc: TreeNode[]): TreeNode[] | null {\n for (const node of nodes) {\n if (node.key === key) {\n return acc;\n }\n if (node.children && node.children.length > 0) {\n const found = this.findAncestors(node.children, key, [node, ...acc]);\n if (found) return found;\n }\n }\n return null;\n }\n\n /**\n * 计算当前 checkedKeys 下处于「部分选中(indeterminate)」的节点 key 集合。\n * 一个节点为 indeterminate 当:其本身不在 checkedKeys,但其下(递归)存在被勾选的后代。\n * 用于渲染层暴露三方态(aria-checked=\"mixed\" + class)。\n */\n private computeIndeterminateKeys(): Set<string> {\n const checked = this.getCheckedKeys();\n const result = new Set<string>();\n const walk = (node: TreeNode): { hasCheckedDescendant: boolean } => {\n if (!node.children || node.children.length === 0) {\n return { hasCheckedDescendant: false };\n }\n let hasCheckedDescendant = false;\n for (const child of node.children) {\n const childState = walk(child);\n if (checked.includes(child.key) || childState.hasCheckedDescendant) {\n hasCheckedDescendant = true;\n }\n }\n // 节点本身未勾选,但有被勾选后代 → indeterminate\n if (hasCheckedDescendant && !checked.includes(node.key)) {\n result.add(node.key);\n }\n return { hasCheckedDescendant };\n };\n for (const root of this.data) {\n walk(root);\n }\n return result;\n }\n\n private renderNode = (node: TreeNode, level: number, indeterminateKeys: Set<string>): any => {\n const hasChildren = !!(node.children && node.children.length > 0);\n const expanded = this.isExpanded(node.key);\n const selected = this.isSelected(node.key);\n const checked = this.isChecked(node.key);\n const indeterminate = indeterminateKeys.has(node.key);\n const disabled = !!node.disabled;\n\n return (\n <li\n class={{\n 'hb-tree__node': true,\n 'hb-tree__node--disabled': disabled,\n }}\n role=\"treeitem\"\n aria-level={level + 1}\n aria-expanded={hasChildren ? String(expanded) : undefined}\n aria-selected={selected ? 'true' : 'false'}\n aria-checked={\n this.checkable\n ? indeterminate\n ? 'mixed'\n : checked\n ? 'true'\n : 'false'\n : undefined\n }\n aria-disabled={disabled ? 'true' : undefined}\n tabindex={selected ? 0 : -1}\n >\n <div\n class={{\n 'hb-tree__node-content': true,\n 'hb-tree__node-content--selected': selected,\n }}\n style={{ paddingLeft: `${level * 18 + 8}px` }}\n >\n <span class=\"hb-tree__switcher\" onClick={(e) => hasChildren && this.handleToggleExpand(node, e)}>\n {hasChildren ? (\n <span class={{ 'hb-tree__arrow': true, 'hb-tree__arrow--expanded': expanded }}>▶</span>\n ) : this.showLine ? (\n <span class=\"hb-tree__line-dot\" />\n ) : null}\n </span>\n\n {this.checkable && (\n <span\n class={{\n 'hb-tree__checkbox': true,\n 'hb-tree__checkbox--checked': checked,\n 'hb-tree__checkbox--indeterminate': indeterminate,\n 'hb-tree__checkbox--disabled': disabled,\n }}\n onClick={(e) => this.handleCheck(node, e)}\n >\n {checked ? '✓' : indeterminate ? '–' : ''}\n </span>\n )}\n\n <span class=\"hb-tree__title\" onClick={() => this.handleSelect(node)}>\n {node.title}\n </span>\n </div>\n\n {hasChildren && expanded && (\n <ul class=\"hb-tree__children\" role=\"group\">\n {node.children!.map((child) => this.renderNode(child, level + 1, indeterminateKeys))}\n </ul>\n )}\n </li>\n );\n };\n\n render() {\n const indeterminateKeys = this.checkable ? this.computeIndeterminateKeys() : new Set<string>();\n return (\n <ul class={{ 'hb-tree': true, 'hb-tree--show-line': this.showLine }} role=\"tree\">\n {this.data.map((node) => this.renderNode(node, 0, indeterminateKeys))}\n </ul>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-5aa5c817.js');
|
|
6
|
+
|
|
7
|
+
const uploadCss = "/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;:host{display:block}.hb-upload__trigger--drag{border:1px dashed var(--hb-color-border);border-radius:var(--hb-border-radius-base);color:var(--hb-color-text-secondary);cursor:pointer;padding:var(--hb-spacing-xl);text-align:center;transition:border-color .3s}.hb-upload__trigger--drag:hover,.hb-upload__trigger--dragover{border-color:var(--hb-color-primary);color:var(--hb-color-primary)}.hb-upload__trigger--disabled{cursor:not-allowed;opacity:.5}.hb-upload__btn{background:var(--hb-color-bg);border:1px solid var(--hb-color-border);border-radius:var(--hb-border-radius-sm);cursor:pointer;font-size:var(--hb-font-size-sm);padding:var(--hb-spacing-xs)var(--hb-spacing-md)}.hb-upload__btn:hover{border-color:var(--hb-color-primary);color:var(--hb-color-primary)}.hb-upload__list{list-style:none;margin:var(--hb-spacing-sm)0 0;padding:0}.hb-upload__item{align-items:center;border-bottom:1px solid var(--hb-color-border-secondary);display:flex;font-size:var(--hb-font-size-sm);gap:var(--hb-spacing-xs);padding:var(--hb-spacing-xs)0}.hb-upload__item-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb-upload__item-size{color:var(--hb-color-text-secondary);font-size:var(--hb-font-size-xs)}.hb-upload__item-status{font-size:12px}.hb-upload__item--success .hb-upload__item-status{color:var(--hb-color-success)}.hb-upload__item--error .hb-upload__item-status{color:var(--hb-color-danger)}.hb-upload__item-remove{color:var(--hb-color-text-secondary);cursor:pointer;font-size:16px}.hb-upload__item-remove:hover{color:var(--hb-color-danger)}.hb-upload__item-progress{color:var(--hb-color-primary);font-size:var(--hb-font-size-xs);min-width:34px;text-align:right}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}";
|
|
8
|
+
const HbUploadStyle0 = uploadCss;
|
|
9
|
+
|
|
10
|
+
const Upload = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.hbChange = index.createEvent(this, "hbChange", 7);
|
|
14
|
+
this.hbSuccess = index.createEvent(this, "hbSuccess", 7);
|
|
15
|
+
this.hbError = index.createEvent(this, "hbError", 7);
|
|
16
|
+
}
|
|
17
|
+
/** 上传地址。设置后启用自动上传;未设置时文件以 ready 状态抛出,由消费方自行上传 */
|
|
18
|
+
action;
|
|
19
|
+
/** 多选 */
|
|
20
|
+
multiple = false;
|
|
21
|
+
/** 接受的文件类型 */
|
|
22
|
+
accept;
|
|
23
|
+
/** 是否禁用 */
|
|
24
|
+
disabled = false;
|
|
25
|
+
/** 最大上传数量 */
|
|
26
|
+
limit;
|
|
27
|
+
/** 是否拖拽上传 */
|
|
28
|
+
drag = false;
|
|
29
|
+
/** 上传字段名 */
|
|
30
|
+
name = 'file';
|
|
31
|
+
/** 额外的请求头 */
|
|
32
|
+
headers;
|
|
33
|
+
/** 额外的表单数据 */
|
|
34
|
+
data;
|
|
35
|
+
/** 是否携带凭证(cookie) */
|
|
36
|
+
withCredentials = false;
|
|
37
|
+
/** 上传前钩子,返回 false / Promise<false> 则取消上传 */
|
|
38
|
+
beforeUpload;
|
|
39
|
+
fileList = [];
|
|
40
|
+
isDragover = false;
|
|
41
|
+
hbChange;
|
|
42
|
+
hbSuccess;
|
|
43
|
+
hbError;
|
|
44
|
+
inputRef;
|
|
45
|
+
handleClick = () => {
|
|
46
|
+
if (!this.disabled)
|
|
47
|
+
this.inputRef?.click();
|
|
48
|
+
};
|
|
49
|
+
handleChange = (e) => {
|
|
50
|
+
const target = e.target;
|
|
51
|
+
if (target.files)
|
|
52
|
+
this.handleFiles(target.files);
|
|
53
|
+
target.value = '';
|
|
54
|
+
};
|
|
55
|
+
handleFiles = async (files) => {
|
|
56
|
+
for (let i = 0; i < files.length; i++) {
|
|
57
|
+
if (this.limit && this.fileList.length >= this.limit)
|
|
58
|
+
break;
|
|
59
|
+
const file = files[i];
|
|
60
|
+
if (this.beforeUpload) {
|
|
61
|
+
try {
|
|
62
|
+
const ok = await this.beforeUpload(file);
|
|
63
|
+
if (!ok)
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
catch {
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
const uf = {
|
|
71
|
+
name: file.name,
|
|
72
|
+
size: file.size,
|
|
73
|
+
type: file.type,
|
|
74
|
+
status: this.action ? 'uploading' : 'ready',
|
|
75
|
+
progress: 0,
|
|
76
|
+
};
|
|
77
|
+
this.fileList = [...this.fileList, uf];
|
|
78
|
+
this.hbChange.emit(this.fileList);
|
|
79
|
+
if (this.action) {
|
|
80
|
+
this.realUpload(file, uf);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
/** 真实上传:FormData + XHR,带进度回调 */
|
|
85
|
+
realUpload = (file, uf) => {
|
|
86
|
+
const xhr = new XMLHttpRequest();
|
|
87
|
+
const formData = new FormData();
|
|
88
|
+
formData.append(this.name, file);
|
|
89
|
+
if (this.data) {
|
|
90
|
+
Object.entries(this.data).forEach(([k, v]) => formData.append(k, v));
|
|
91
|
+
}
|
|
92
|
+
xhr.upload.onprogress = (e) => {
|
|
93
|
+
if (e.lengthComputable) {
|
|
94
|
+
uf.progress = Math.round((e.loaded / e.total) * 100);
|
|
95
|
+
this.fileList = [...this.fileList];
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
xhr.onload = () => {
|
|
99
|
+
if (xhr.status >= 200 && xhr.status < 300) {
|
|
100
|
+
uf.status = 'success';
|
|
101
|
+
uf.response = this.parseResponse(xhr.response);
|
|
102
|
+
this.fileList = [...this.fileList];
|
|
103
|
+
this.hbSuccess.emit(uf);
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
uf.status = 'error';
|
|
107
|
+
this.fileList = [...this.fileList];
|
|
108
|
+
this.hbError.emit(uf);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
xhr.onerror = () => {
|
|
112
|
+
uf.status = 'error';
|
|
113
|
+
this.fileList = [...this.fileList];
|
|
114
|
+
this.hbError.emit(uf);
|
|
115
|
+
};
|
|
116
|
+
xhr.open('POST', this.action, true);
|
|
117
|
+
xhr.withCredentials = this.withCredentials;
|
|
118
|
+
if (this.headers) {
|
|
119
|
+
Object.entries(this.headers).forEach(([k, v]) => xhr.setRequestHeader(k, v));
|
|
120
|
+
}
|
|
121
|
+
xhr.send(formData);
|
|
122
|
+
};
|
|
123
|
+
parseResponse(raw) {
|
|
124
|
+
if (typeof raw !== 'string')
|
|
125
|
+
return raw;
|
|
126
|
+
try {
|
|
127
|
+
return JSON.parse(raw);
|
|
128
|
+
}
|
|
129
|
+
catch {
|
|
130
|
+
return raw;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
handleRemove = (index) => {
|
|
134
|
+
const next = [...this.fileList];
|
|
135
|
+
next.splice(index, 1);
|
|
136
|
+
this.fileList = next;
|
|
137
|
+
this.hbChange.emit(next);
|
|
138
|
+
};
|
|
139
|
+
handleDrop = (e) => {
|
|
140
|
+
e.preventDefault();
|
|
141
|
+
this.isDragover = false;
|
|
142
|
+
if (e.dataTransfer?.files)
|
|
143
|
+
this.handleFiles(e.dataTransfer.files);
|
|
144
|
+
};
|
|
145
|
+
handleDragOver = (e) => {
|
|
146
|
+
e.preventDefault();
|
|
147
|
+
this.isDragover = true;
|
|
148
|
+
};
|
|
149
|
+
handleDragLeave = () => {
|
|
150
|
+
this.isDragover = false;
|
|
151
|
+
};
|
|
152
|
+
formatSize(bytes) {
|
|
153
|
+
if (bytes < 1024)
|
|
154
|
+
return bytes + ' B';
|
|
155
|
+
if (bytes < 1024 * 1024)
|
|
156
|
+
return (bytes / 1024).toFixed(1) + ' KB';
|
|
157
|
+
return (bytes / (1024 * 1024)).toFixed(1) + ' MB';
|
|
158
|
+
}
|
|
159
|
+
renderStatus(file) {
|
|
160
|
+
if (file.status === 'uploading') {
|
|
161
|
+
return index.h("span", { class: "hb-upload__item-progress" }, typeof file.progress === 'number' ? `${file.progress}%` : '');
|
|
162
|
+
}
|
|
163
|
+
if (file.status === 'success')
|
|
164
|
+
return index.h("span", { class: "hb-upload__item-status hb-upload__item-status--success" }, "\u2713");
|
|
165
|
+
if (file.status === 'error')
|
|
166
|
+
return index.h("span", { class: "hb-upload__item-status hb-upload__item-status--error" }, "\u2715");
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
render() {
|
|
170
|
+
return (index.h("div", { key: 'a83f9b8d0fd3a0cc618ff33bea2fd35d96b32071', class: "hb-upload" }, index.h("div", { key: '42f8ae299086ace94524529980d2acdff0abeb16', class: {
|
|
171
|
+
'hb-upload__trigger': true,
|
|
172
|
+
'hb-upload__trigger--drag': this.drag,
|
|
173
|
+
'hb-upload__trigger--dragover': this.isDragover,
|
|
174
|
+
'hb-upload__trigger--disabled': this.disabled,
|
|
175
|
+
}, onClick: this.handleClick, onDrop: this.drag ? this.handleDrop : undefined, onDragOver: this.drag ? this.handleDragOver : undefined, onDragLeave: this.drag ? this.handleDragLeave : undefined }, this.drag ? index.h("span", null, "\u5C06\u6587\u4EF6\u62D6\u5230\u6B64\u5904\uFF0C\u6216\u70B9\u51FB\u4E0A\u4F20") : index.h("slot", null, index.h("button", { type: "button", class: "hb-upload__btn" }, "\u70B9\u51FB\u4E0A\u4F20"))), index.h("input", { key: '65a98112cda506b0244451b6ca7b00a200306e00', type: "file", ref: (el) => {
|
|
176
|
+
this.inputRef = el;
|
|
177
|
+
}, multiple: this.multiple, accept: this.accept, disabled: this.disabled, style: { display: 'none' }, onChange: this.handleChange }), this.fileList.length > 0 && (index.h("ul", { key: 'e8f768dc92d273dc81a7a62f08eefd1c3f185251', class: "hb-upload__list" }, this.fileList.map((file, i) => (index.h("li", { class: { 'hb-upload__item': true, [`hb-upload__item--${file.status}`]: true } }, index.h("span", { class: "hb-upload__item-name" }, file.name), index.h("span", { class: "hb-upload__item-size" }, this.formatSize(file.size)), this.renderStatus(file), index.h("span", { class: "hb-upload__item-remove", onClick: () => this.handleRemove(i) }, "\u00D7"))))))));
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
Upload.style = HbUploadStyle0;
|
|
181
|
+
|
|
182
|
+
exports.hb_upload = Upload;
|
|
183
|
+
|
|
184
|
+
//# sourceMappingURL=hb-upload.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hb-upload.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,SAAS,GAAG,8wOAA8wO,CAAC;AACjyO,uBAAe,SAAS;;MCcX,MAAM;;;;;;;;IAET,MAAM,CAAU;;IAGhB,QAAQ,GAAY,KAAK,CAAC;;IAG1B,MAAM,CAAU;;IAGhB,QAAQ,GAAY,KAAK,CAAC;;IAG1B,KAAK,CAAU;;IAGf,IAAI,GAAY,KAAK,CAAC;;IAGtB,IAAI,GAAW,MAAM,CAAC;;IAGtB,OAAO,CAA0B;;IAGjC,IAAI,CAA0B;;IAG9B,eAAe,GAAY,KAAK,CAAC;;IAGjC,YAAY,CAA8C;IAEzC,QAAQ,GA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CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,MACzBA,gBAAI,KAAK,EAAE,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,oBAAoB,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,EAAE,IAC/EA,kBAAM,KAAK,EAAC,sBAAsB,IAAE,IAAI,CAAC,IAAI,CAAQ,EACrDA,kBAAM,KAAK,EAAC,sBAAsB,IAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAQ,EACrE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EACxBA,kBAAM,KAAK,EAAC,wBAAwB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,aAAU,CAC/E,CACN,CAAC,CACC,CACN,CACG,EACN;KACH;;;;;;","names":["h"],"sources":["src/components/Upload/upload.css?tag=hb-upload&encapsulation=shadow","src/components/Upload/Upload.tsx"],"sourcesContent":[":host { display: block; }\n.hb-upload__trigger--drag { border: 1px dashed var(--hb-color-border); border-radius: var(--hb-border-radius-base); padding: var(--hb-spacing-xl); text-align: center; cursor: pointer; color: var(--hb-color-text-secondary); transition: border-color 0.3s; }\n.hb-upload__trigger--drag:hover, .hb-upload__trigger--dragover { border-color: var(--hb-color-primary); color: var(--hb-color-primary); }\n.hb-upload__trigger--disabled { opacity: 0.5; cursor: not-allowed; }\n.hb-upload__btn { padding: var(--hb-spacing-xs) var(--hb-spacing-md); border: 1px solid var(--hb-color-border); border-radius: var(--hb-border-radius-sm); background: var(--hb-color-bg); cursor: pointer; font-size: var(--hb-font-size-sm); }\n.hb-upload__btn:hover { border-color: var(--hb-color-primary); color: var(--hb-color-primary); }\n.hb-upload__list { list-style: none; margin: var(--hb-spacing-sm) 0 0; padding: 0; }\n.hb-upload__item { display: flex; align-items: center; gap: var(--hb-spacing-xs); padding: var(--hb-spacing-xs) 0; font-size: var(--hb-font-size-sm); border-bottom: 1px solid var(--hb-color-border-secondary); }\n.hb-upload__item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n.hb-upload__item-size { color: var(--hb-color-text-secondary); font-size: var(--hb-font-size-xs); }\n.hb-upload__item-status { font-size: 12px; }\n.hb-upload__item--success .hb-upload__item-status { color: var(--hb-color-success); }\n.hb-upload__item--error .hb-upload__item-status { color: var(--hb-color-danger); }\n.hb-upload__item-remove { cursor: pointer; color: var(--hb-color-text-secondary); font-size: 16px; }\n.hb-upload__item-remove:hover { color: var(--hb-color-danger); }\n.hb-upload__item-progress { font-size: var(--hb-font-size-xs); color: var(--hb-color-primary); min-width: 34px; text-align: right; }\n","import { Component, h, Prop, Event, EventEmitter, State } from '@stencil/core';\n\nexport interface UploadFile {\n name: string;\n size: number;\n type: string;\n url?: string;\n status: 'ready' | 'uploading' | 'success' | 'error';\n /** 上传进度(0-100),仅 uploading 阶段有意义 */\n progress?: number;\n /** 服务端响应体(成功时) */\n response?: any;\n}\n\n@Component({ tag: 'hb-upload', styleUrl: 'upload.css', shadow: true })\nexport class Upload {\n /** 上传地址。设置后启用自动上传;未设置时文件以 ready 状态抛出,由消费方自行上传 */\n @Prop() action?: string;\n\n /** 多选 */\n @Prop() multiple: boolean = false;\n\n /** 接受的文件类型 */\n @Prop() accept?: string;\n\n /** 是否禁用 */\n @Prop() disabled: boolean = false;\n\n /** 最大上传数量 */\n @Prop() limit?: number;\n\n /** 是否拖拽上传 */\n @Prop() drag: boolean = false;\n\n /** 上传字段名 */\n @Prop() name: string = 'file';\n\n /** 额外的请求头 */\n @Prop() headers?: Record<string, string>;\n\n /** 额外的表单数据 */\n @Prop() data?: Record<string, string>;\n\n /** 是否携带凭证(cookie) */\n @Prop() withCredentials: boolean = false;\n\n /** 上传前钩子,返回 false / Promise<false> 则取消上传 */\n @Prop() beforeUpload?: (file: File) => boolean | Promise<boolean>;\n\n @Prop({ mutable: true }) fileList: UploadFile[] = [];\n\n @State() isDragover: boolean = false;\n\n @Event() hbChange: EventEmitter<UploadFile[]>;\n @Event() hbSuccess: EventEmitter<UploadFile>;\n @Event() hbError: EventEmitter<UploadFile>;\n\n private inputRef?: HTMLInputElement;\n\n private handleClick = () => {\n if (!this.disabled) this.inputRef?.click();\n };\n\n private handleChange = (e: Event) => {\n const target = e.target as HTMLInputElement;\n if (target.files) this.handleFiles(target.files);\n target.value = '';\n };\n\n private handleFiles = async (files: FileList) => {\n for (let i = 0; i < files.length; i++) {\n if (this.limit && this.fileList.length >= this.limit) break;\n const file = files[i];\n\n if (this.beforeUpload) {\n try {\n const ok = await this.beforeUpload(file);\n if (!ok) continue;\n } catch {\n continue;\n }\n }\n\n const uf: UploadFile = {\n name: file.name,\n size: file.size,\n type: file.type,\n status: this.action ? 'uploading' : 'ready',\n progress: 0,\n };\n this.fileList = [...this.fileList, uf];\n this.hbChange.emit(this.fileList);\n\n if (this.action) {\n this.realUpload(file, uf);\n }\n }\n };\n\n /** 真实上传:FormData + XHR,带进度回调 */\n private realUpload = (file: File, uf: UploadFile) => {\n const xhr = new XMLHttpRequest();\n const formData = new FormData();\n formData.append(this.name, file);\n if (this.data) {\n Object.entries(this.data).forEach(([k, v]) => formData.append(k, v));\n }\n\n xhr.upload.onprogress = (e) => {\n if (e.lengthComputable) {\n uf.progress = Math.round((e.loaded / e.total) * 100);\n this.fileList = [...this.fileList];\n }\n };\n\n xhr.onload = () => {\n if (xhr.status >= 200 && xhr.status < 300) {\n uf.status = 'success';\n uf.response = this.parseResponse(xhr.response);\n this.fileList = [...this.fileList];\n this.hbSuccess.emit(uf);\n } else {\n uf.status = 'error';\n this.fileList = [...this.fileList];\n this.hbError.emit(uf);\n }\n };\n\n xhr.onerror = () => {\n uf.status = 'error';\n this.fileList = [...this.fileList];\n this.hbError.emit(uf);\n };\n\n xhr.open('POST', this.action as string, true);\n xhr.withCredentials = this.withCredentials;\n if (this.headers) {\n Object.entries(this.headers).forEach(([k, v]) => xhr.setRequestHeader(k, v));\n }\n xhr.send(formData);\n };\n\n private parseResponse(raw: any): any {\n if (typeof raw !== 'string') return raw;\n try {\n return JSON.parse(raw);\n } catch {\n return raw;\n }\n }\n\n private handleRemove = (index: number) => {\n const next = [...this.fileList];\n next.splice(index, 1);\n this.fileList = next;\n this.hbChange.emit(next);\n };\n\n private handleDrop = (e: DragEvent) => {\n e.preventDefault();\n this.isDragover = false;\n if (e.dataTransfer?.files) this.handleFiles(e.dataTransfer.files);\n };\n\n private handleDragOver = (e: DragEvent) => {\n e.preventDefault();\n this.isDragover = true;\n };\n\n private handleDragLeave = () => {\n this.isDragover = false;\n };\n\n private formatSize(bytes: number): string {\n if (bytes < 1024) return bytes + ' B';\n if (bytes < 1024 * 1024) return (bytes / 1024).toFixed(1) + ' KB';\n return (bytes / (1024 * 1024)).toFixed(1) + ' MB';\n }\n\n private renderStatus(file: UploadFile) {\n if (file.status === 'uploading') {\n return <span class=\"hb-upload__item-progress\">{typeof file.progress === 'number' ? `${file.progress}%` : ''}</span>;\n }\n if (file.status === 'success') return <span class=\"hb-upload__item-status hb-upload__item-status--success\">✓</span>;\n if (file.status === 'error') return <span class=\"hb-upload__item-status hb-upload__item-status--error\">✕</span>;\n return null;\n }\n\n render() {\n return (\n <div class=\"hb-upload\">\n <div\n class={{\n 'hb-upload__trigger': true,\n 'hb-upload__trigger--drag': this.drag,\n 'hb-upload__trigger--dragover': this.isDragover,\n 'hb-upload__trigger--disabled': this.disabled,\n }}\n onClick={this.handleClick}\n onDrop={this.drag ? this.handleDrop : undefined}\n onDragOver={this.drag ? this.handleDragOver : undefined}\n onDragLeave={this.drag ? this.handleDragLeave : undefined}\n >\n {this.drag ? <span>将文件拖到此处,或点击上传</span> : <slot><button type=\"button\" class=\"hb-upload__btn\">点击上传</button></slot>}\n </div>\n <input\n type=\"file\"\n ref={(el: any) => {\n this.inputRef = el;\n }}\n multiple={this.multiple}\n accept={this.accept}\n disabled={this.disabled}\n style={{ display: 'none' }}\n onChange={this.handleChange}\n />\n {this.fileList.length > 0 && (\n <ul class=\"hb-upload__list\">\n {this.fileList.map((file, i) => (\n <li class={{ 'hb-upload__item': true, [`hb-upload__item--${file.status}`]: true }}>\n <span class=\"hb-upload__item-name\">{file.name}</span>\n <span class=\"hb-upload__item-size\">{this.formatSize(file.size)}</span>\n {this.renderStatus(file)}\n <span class=\"hb-upload__item-remove\" onClick={() => this.handleRemove(i)}>×</span>\n </li>\n ))}\n </ul>\n )}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-5aa5c817.js');
|
|
6
|
+
|
|
7
|
+
const watermarkCss = "/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;:host{display:block;position:relative}.hb-watermark{display:block;position:relative;width:100%}.hb-watermark__content{position:relative;z-index:1}.hb-watermark__layer{background-position:0 0;inset:0;pointer-events:none;position:absolute;z-index:9}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}";
|
|
8
|
+
const HbWatermarkStyle0 = watermarkCss;
|
|
9
|
+
|
|
10
|
+
const Watermark = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
}
|
|
14
|
+
get host() { return index.getElement(this); }
|
|
15
|
+
/** 水印文字 */
|
|
16
|
+
content = '';
|
|
17
|
+
/** 单个水印单元宽度 */
|
|
18
|
+
width = 120;
|
|
19
|
+
/** 单个水印单元高度 */
|
|
20
|
+
height = 120;
|
|
21
|
+
/** 水印单元之间的间距 */
|
|
22
|
+
gap = 8;
|
|
23
|
+
/** 旋转角度 */
|
|
24
|
+
rotate = -22;
|
|
25
|
+
/** 字体颜色 */
|
|
26
|
+
fontColor = 'rgba(0,0,0,0.15)';
|
|
27
|
+
/** 字号 */
|
|
28
|
+
fontSize = 14;
|
|
29
|
+
get backgroundImage() {
|
|
30
|
+
const { width, height, content, fontColor, fontSize, rotate } = this;
|
|
31
|
+
const safeText = this.escapeXml(content || '');
|
|
32
|
+
const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0 0 ${width} ${height}"><text x="50%" y="50%" dy="${fontSize / 4}" text-anchor="middle" fill="${fontColor}" font-size="${fontSize}" font-family="sans-serif" transform="rotate(${rotate} ${width / 2} ${height / 2})">${safeText}</text></svg>`;
|
|
33
|
+
return `url("data:image/svg+xml;utf8,${encodeURIComponent(svg)}")`;
|
|
34
|
+
}
|
|
35
|
+
escapeXml(input) {
|
|
36
|
+
return input
|
|
37
|
+
.replace(/&/g, '&')
|
|
38
|
+
.replace(/</g, '<')
|
|
39
|
+
.replace(/>/g, '>')
|
|
40
|
+
.replace(/"/g, '"')
|
|
41
|
+
.replace(/'/g, ''');
|
|
42
|
+
}
|
|
43
|
+
get layerStyle() {
|
|
44
|
+
const { backgroundImage, width, height, gap } = this;
|
|
45
|
+
return {
|
|
46
|
+
backgroundImage,
|
|
47
|
+
backgroundRepeat: 'repeat',
|
|
48
|
+
backgroundSize: `${width + gap}px ${height + gap}px`,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
return (index.h("div", { key: '558715dfd1fb81bab3dace29384aedaf21695cdf', class: "hb-watermark" }, index.h("div", { key: '26c580f3327e7018425c5e4556b19c9947212ae9', class: "hb-watermark__content" }, index.h("slot", { key: 'ff91c80742bd753daeef67c4b50b5d2cfec8d4b9' })), index.h("div", { key: 'c1dc15846f1e6ffa9d0ee968f87deb342bd13176', class: "hb-watermark__layer", style: this.layerStyle, "aria-hidden": "true" })));
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
Watermark.style = HbWatermarkStyle0;
|
|
56
|
+
|
|
57
|
+
exports.hb_watermark = Watermark;
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=hb-watermark.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hb-watermark.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,YAAY,GAAG,+zMAA+zM,CAAC;AACr1M,0BAAe,YAAY;;MCUd,SAAS;;;;;;IAIZ,OAAO,GAAW,E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QACJ,QACEA,kEAAK,KAAK,EAAC,cAAc,IACvBA,kEAAK,KAAK,EAAC,uBAAuB,IAChCA,oEAAQ,CACJ,EACNA,kEAAK,KAAK,EAAC,qBAAqB,EAAC,KAAK,EAAE,IAAI,CAAC,UAAU,iBAAc,MAAM,GAAO,CAC9E,EACN;KACH;;;;;;","names":["h"],"sources":["src/components/Watermark/watermark.css?tag=hb-watermark&encapsulation=shadow","src/components/Watermark/Watermark.tsx"],"sourcesContent":[":host {\n position: relative;\n display: block;\n}\n\n.hb-watermark {\n position: relative;\n display: block;\n width: 100%;\n}\n\n.hb-watermark__content {\n position: relative;\n z-index: 1;\n}\n\n.hb-watermark__layer {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 9;\n pointer-events: none;\n background-position: 0 0;\n}\n","import { Component, h, Prop, Element } from '@stencil/core';\n\n/**\n * Watermark 水印组件\n * 在内容之上平铺一层文字水印,常用于版权/防泄密标识\n */\n@Component({\n tag: 'hb-watermark',\n styleUrl: 'watermark.css',\n shadow: true,\n})\nexport class Watermark {\n @Element() host!: HTMLElement;\n\n /** 水印文字 */\n @Prop() content: string = '';\n\n /** 单个水印单元宽度 */\n @Prop() width: number = 120;\n\n /** 单个水印单元高度 */\n @Prop() height: number = 120;\n\n /** 水印单元之间的间距 */\n @Prop() gap: number = 8;\n\n /** 旋转角度 */\n @Prop() rotate: number = -22;\n\n /** 字体颜色 */\n @Prop() fontColor: string = 'rgba(0,0,0,0.15)';\n\n /** 字号 */\n @Prop() fontSize: number = 14;\n\n private get backgroundImage(): string {\n const { width, height, content, fontColor, fontSize, rotate } = this;\n const safeText = this.escapeXml(content || '');\n const svg = `<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"${width}\" height=\"${height}\" viewBox=\"0 0 ${width} ${height}\"><text x=\"50%\" y=\"50%\" dy=\"${fontSize / 4}\" text-anchor=\"middle\" fill=\"${fontColor}\" font-size=\"${fontSize}\" font-family=\"sans-serif\" transform=\"rotate(${rotate} ${width / 2} ${height / 2})\">${safeText}</text></svg>`;\n return `url(\"data:image/svg+xml;utf8,${encodeURIComponent(svg)}\")`;\n }\n\n private escapeXml(input: string): string {\n return input\n .replace(/&/g, '&')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n }\n\n private get layerStyle(): Record<string, string> {\n const { backgroundImage, width, height, gap } = this;\n return {\n backgroundImage,\n backgroundRepeat: 'repeat',\n backgroundSize: `${width + gap}px ${height + gap}px`,\n };\n }\n\n render() {\n return (\n <div class=\"hb-watermark\">\n <div class=\"hb-watermark__content\">\n <slot />\n </div>\n <div class=\"hb-watermark__layer\" style={this.layerStyle} aria-hidden=\"true\"></div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-5aa5c817.js');
|
|
6
|
+
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com
|
|
10
|
+
*/
|
|
11
|
+
var patchBrowser = () => {
|
|
12
|
+
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('huibo-ui.cjs.js', document.baseURI).href));
|
|
13
|
+
const opts = {};
|
|
14
|
+
if (importMeta !== "") {
|
|
15
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
16
|
+
}
|
|
17
|
+
return index.promiseResolve(opts);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
patchBrowser().then(async (options) => {
|
|
21
|
+
await appGlobals.globalScripts();
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"hb-affix.cjs\",[[1,\"hb-affix\",{\"top\":[2],\"bottom\":[2],\"target\":[1],\"affixed\":[32]},[[0,\"hbTestScroll\",\"onTestScroll\"]]]]],[\"hb-alert.cjs\",[[1,\"hb-alert\",{\"title\":[1],\"description\":[1],\"type\":[1],\"closable\":[4],\"showIcon\":[4,\"show-icon\"],\"center\":[4],\"closed\":[32]}]]],[\"hb-anchor.cjs\",[[1,\"hb-anchor\",{\"items\":[16],\"top\":[2],\"affix\":[4],\"activeKey\":[32]}]]],[\"hb-aside.cjs\",[[1,\"hb-aside\",{\"width\":[1]}]]],[\"hb-avatar.cjs\",[[1,\"hb-avatar\",{\"size\":[8],\"shape\":[1],\"src\":[1],\"icon\":[1],\"alt\":[1]}]]],[\"hb-backtop.cjs\",[[1,\"hb-backtop\",{\"visibilityHeight\":[2,\"visibility-height\"],\"target\":[1],\"right\":[2],\"bottom\":[2],\"visible\":[32],\"backToTop\":[64]},[[9,\"scroll\",\"onWindowScroll\"]]]]],[\"hb-badge.cjs\",[[1,\"hb-badge\",{\"value\":[8],\"max\":[2],\"isDot\":[4,\"is-dot\"],\"hidden\":[4],\"type\":[1]}]]],[\"hb-breadcrumb.cjs\",[[1,\"hb-breadcrumb\",{\"separator\":[1]}]]],[\"hb-breadcrumb-item.cjs\",[[1,\"hb-breadcrumb-item\",{\"href\":[1]}]]],[\"hb-button.cjs\",[[1,\"hb-button\",{\"type\":[1],\"size\":[1],\"classNames\":[1,\"class-names\"],\"disabled\":[4],\"loading\":[4]}]]],[\"hb-calendar.cjs\",[[1,\"hb-calendar\",{\"modelValue\":[1025,\"model-value\"],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"disabledDate\":[16],\"viewDate\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-card.cjs\",[[1,\"hb-card\",{\"header\":[1],\"shadow\":[1]}]]],[\"hb-carousel.cjs\",[[1,\"hb-carousel\",{\"current\":[1026],\"autoplay\":[4],\"interval\":[2],\"arrow\":[1],\"dots\":[4],\"loop\":[4],\"slideCount\":[32],\"isHover\":[32]},null,{\"autoplay\":[\"handleAutoplayOptionsChange\"],\"interval\":[\"handleAutoplayOptionsChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-cascader.cjs\",[[1,\"hb-cascader\",{\"modelValue\":[1040],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"showAllLevels\":[4,\"show-all-levels\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"separator\":[1],\"emitPath\":[4,\"emit-path\"],\"filterable\":[4],\"lazy\":[4],\"load\":[16],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"loadingKeys\":[32],\"filteredPaths\":[32],\"activePath\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-checkbox.cjs\",[[1,\"hb-checkbox\",{\"modelValue\":[1028,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[4],\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-checkbox-group.cjs\",[[1,\"hb-checkbox-group\",{\"modelValue\":[1040],\"disabled\":[4],\"size\":[1],\"border\":[4],\"min\":[2],\"max\":[2],\"checkboxes\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"disabled\":[\"handlePropsChange\"],\"size\":[\"handlePropsChange\"],\"border\":[\"handlePropsChange\"]}]]],[\"hb-collapse.cjs\",[[1,\"hb-collapse\",{\"accordion\":[1028]}]]],[\"hb-collapse-item.cjs\",[[1,\"hb-collapse-item\",{\"key\":[1],\"title\":[1],\"disabled\":[4],\"active\":[1028],\"isOpen\":[32]},null,{\"active\":[\"handleActiveChange\"]}]]],[\"hb-color-picker.cjs\",[[1,\"hb-color-picker\",{\"modelValue\":[1025,\"model-value\"],\"disabled\":[4],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"isOpen\":[32],\"currentColor\":[32],\"hue\":[32],\"saturation\":[32],\"value\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-color-picker-panel.cjs\",[[1,\"hb-color-picker-panel\",{\"modelValue\":[1025,\"model-value\"],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"currentColor\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-config-provider.cjs\",[[4,\"hb-config-provider\",{\"theme\":[1],\"size\":[1],\"locale\":[1]}]]],[\"hb-container.cjs\",[[1,\"hb-container\",{\"direction\":[1]}]]],[\"hb-date-picker.cjs\",[[1,\"hb-date-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"valueFormat\":[1,\"value-format\"],\"type\":[1],\"disabledDate\":[16],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-picker-pane.cjs\",[[1,\"hb-date-picker-pane\",{\"modelValue\":[1025,\"model-value\"],\"format\":[1],\"view\":[1025],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-range-picker.cjs\",[[1,\"hb-date-range-picker\",{\"modelValue\":[1040],\"placeholder\":[16],\"disabled\":[4],\"clearable\":[4],\"size\":[1],\"format\":[1],\"disabledDate\":[16],\"name\":[1],\"isOpen\":[32],\"leftViewDate\":[32],\"startDate\":[32],\"endDate\":[32],\"pickingEnd\":[32],\"hoverDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-date-time-picker.cjs\",[[1,\"hb-date-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"currentView\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-descriptions.cjs\",[[1,\"hb-descriptions\",{\"title\":[1],\"border\":[4],\"column\":[2],\"colon\":[4],\"items\":[16]}]]],[\"hb-dialog.cjs\",[[1,\"hb-dialog\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"width\":[1],\"fullscreen\":[4],\"modal\":[4],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"showClose\":[4,\"show-close\"],\"destroyOnClose\":[4,\"destroy-on-close\"]},null,{\"modelValue\":[\"handleVisibleChange\"]}]]],[\"hb-divider.cjs\",[[1,\"hb-divider\",{\"direction\":[1],\"contentPosition\":[1,\"content-position\"],\"dashed\":[4]}]]],[\"hb-drawer.cjs\",[[1,\"hb-drawer\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"size\":[1],\"direction\":[1],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"showClose\":[4,\"show-close\"],\"modal\":[4],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"zIndexState\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown.cjs\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32]}]]],[\"hb-empty.cjs\",[[1,\"hb-empty\",{\"description\":[1],\"image\":[1]}]]],[\"hb-float-button.cjs\",[[1,\"hb-float-button\",{\"type\":[1],\"shape\":[1],\"icon\":[1],\"description\":[1],\"right\":[2],\"bottom\":[2],\"badge\":[8]}]]],[\"hb-footer.cjs\",[[1,\"hb-footer\",{\"height\":[1]}]]],[\"hb-form.cjs\",[[1,\"hb-form\",{\"model\":[16],\"rules\":[16],\"labelPosition\":[1,\"label-position\"],\"labelWidth\":[1,\"label-width\"],\"inline\":[4],\"size\":[1],\"disabled\":[4],\"validate\":[16],\"resetFields\":[16],\"fields\":[32]}]]],[\"hb-form-item.cjs\",[[1,\"hb-form-item\",{\"prop\":[1],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"required\":[4],\"rules\":[16],\"size\":[1],\"validate\":[16],\"resetValue\":[16],\"getValue\":[16],\"errors\":[32],\"isvalidating\":[32]}]]],[\"hb-header.cjs\",[[1,\"hb-header\",{\"height\":[1]}]]],[\"hb-icon.cjs\",[[1,\"hb-icon\",{\"name\":[1],\"size\":[8],\"color\":[1],\"spin\":[4]}]]],[\"hb-image.cjs\",[[1,\"hb-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"fit\":[1],\"lazy\":[4],\"preview\":[4],\"radius\":[1],\"loaded\":[32],\"error\":[32],\"previewVisible\":[32]}]]],[\"hb-image-preview.cjs\",[[1,\"hb-image-preview\",{\"modelValue\":[1028,\"model-value\"],\"src\":[1],\"srcList\":[16],\"current\":[1026],\"zoomStep\":[2,\"zoom-step\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"zoom\":[32],\"rotate\":[32]},null,{\"modelValue\":[\"handleVisibleChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-input.cjs\",[[1,\"hb-input\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"clearable\":[4],\"showPassword\":[4,\"show-password\"],\"showWordLimit\":[4,\"show-word-limit\"],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"inputId\":[1,\"input-id\"],\"autocomplete\":[1],\"autofocus\":[4],\"prefixIcon\":[1,\"prefix-icon\"],\"suffixIcon\":[1,\"suffix-icon\"],\"rows\":[2],\"autosize\":[4],\"resize\":[1],\"isFocused\":[32],\"showClear\":[32],\"passwordVisible\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-input-number.cjs\",[[1,\"hb-input-number\",{\"modelValue\":[1026,\"model-value\"],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[2],\"max\":[2],\"step\":[2],\"precision\":[2],\"stepStrictly\":[4,\"step-strictly\"],\"controls\":[4],\"controlsPosition\":[1,\"controls-position\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"placeholder\":[1],\"currentValue\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-input-tag.cjs\",[[1,\"hb-input-tag\",{\"modelValue\":[1040],\"size\":[1],\"disabled\":[4],\"placeholder\":[1],\"maxlength\":[2],\"max\":[2],\"clearable\":[4],\"width\":[1],\"type\":[1],\"closable\":[4],\"inputVisible\":[4,\"input-visible\"],\"inputValue\":[32],\"isFocused\":[32]}]]],[\"hb-layout.cjs\",[[1,\"hb-layout\",{\"span\":[2],\"offset\":[2],\"push\":[2],\"pull\":[2],\"xs\":[2],\"sm\":[2],\"md\":[2],\"lg\":[2],\"xl\":[2]}]]],[\"hb-link.cjs\",[[1,\"hb-link\",{\"type\":[1],\"underline\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"icon\":[1]}]]],[\"hb-loading.cjs\",[[1,\"hb-loading\",{\"size\":[1],\"text\":[1],\"fullscreen\":[4]}]]],[\"hb-main.cjs\",[[1,\"hb-main\"]]],[\"hb-menu.cjs\",[[1,\"hb-menu\",{\"mode\":[1],\"defaultActive\":[1025,\"default-active\"],\"collapsed\":[4],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"activeTextColor\":[1,\"active-text-color\"],\"activeItem\":[32]},[[0,\"hbMenuItemSelect\",\"handleSelect\"]],{\"defaultActive\":[\"handleDefaultActiveChange\"],\"collapsed\":[\"handleCollapsedChange\"]}]]],[\"hb-menu-item.cjs\",[[1,\"hb-menu-item\",{\"key\":[1],\"disabled\":[4],\"icon\":[1],\"active\":[4]}]]],[\"hb-message.cjs\",[[1,\"hb-message\",{\"message\":[1],\"type\":[1],\"closable\":[4],\"duration\":[2],\"visible\":[32]}]]],[\"hb-notification.cjs\",[[1,\"hb-notification\",{\"id\":[1],\"type\":[1],\"title\":[1],\"message\":[1],\"duration\":[2],\"position\":[1],\"showClose\":[4,\"show-close\"],\"visible\":[1028]}]]],[\"hb-page-header.cjs\",[[1,\"hb-page-header\",{\"title\":[1],\"subtitle\":[1],\"back\":[4],\"ghost\":[4]}]]],[\"hb-pagination.cjs\",[[1,\"hb-pagination\",{\"total\":[2],\"pageSize\":[2,\"page-size\"],\"currentPage\":[1026,\"current-page\"],\"pageSizes\":[16],\"pagerCount\":[2,\"pager-count\"],\"disabled\":[4],\"showTotal\":[4,\"show-total\"],\"showPageSize\":[4,\"show-page-size\"],\"internalCurrent\":[32]},null,{\"currentPage\":[\"handleCurrentPageChange\"]}]]],[\"hb-popconfirm.cjs\",[[1,\"hb-popconfirm\",{\"title\":[1],\"confirmButtonText\":[1,\"confirm-button-text\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"placement\":[1],\"disabled\":[4],\"icon\":[1],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-popover.cjs\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-progress.cjs\",[[1,\"hb-progress\",{\"percentage\":[2],\"status\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"showText\":[4,\"show-text\"],\"color\":[1]}]]],[\"hb-radio.cjs\",[[1,\"hb-radio\",{\"modelValue\":[1032,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"name\":[1],\"radioId\":[1,\"radio-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-rate.cjs\",[[1,\"hb-rate\",{\"modelValue\":[1026,\"model-value\"],\"max\":[2],\"disabled\":[4],\"allowHalf\":[4,\"allow-half\"],\"readonly\":[4],\"showScore\":[4,\"show-score\"],\"showText\":[4,\"show-text\"],\"texts\":[16],\"scoreTemplate\":[1,\"score-template\"],\"hoverValue\":[32],\"currentValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-result.cjs\",[[1,\"hb-result\",{\"status\":[1],\"title\":[1],\"subTitle\":[1,\"sub-title\"],\"icon\":[1]}]]],[\"hb-row.cjs\",[[1,\"hb-row\",{\"gutter\":[2],\"justify\":[1],\"align\":[1],\"tag\":[1]}]]],[\"hb-scrollbar.cjs\",[[1,\"hb-scrollbar\",{\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"always\":[4],\"native\":[4],\"minSize\":[2,\"min-size\"],\"scrollbarVisible\":[32],\"thumbHeight\":[32],\"thumbTop\":[32],\"setScrollTop\":[64],\"setScrollLeft\":[64],\"getScrollTop\":[64],\"getScrollLeft\":[64]},null,{\"height\":[\"handleSizeChange\"],\"maxHeight\":[\"handleSizeChange\"]}]]],[\"hb-segmented.cjs\",[[1,\"hb-segmented\",{\"modelValue\":[1025,\"model-value\"],\"block\":[4],\"size\":[1],\"options\":[16]}]]],[\"hb-select.cjs\",[[1,\"hb-select\",{\"modelValue\":[1032,\"model-value\"],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"multiple\":[4],\"filterable\":[4],\"filterMethod\":[16],\"defaultFirstOption\":[4,\"default-first-option\"],\"allowCreate\":[4,\"allow-create\"],\"collapseTags\":[4,\"collapse-tags\"],\"maxCollapseTags\":[2,\"max-collapse-tags\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"activeOptionIndex\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"hb-skeleton.cjs\",[[1,\"hb-skeleton\",{\"active\":[4],\"rows\":[2],\"loading\":[4],\"avatar\":[4],\"showTitle\":[4,\"show-title\"],\"paragraph\":[4]}]]],[\"hb-slider.cjs\",[[1,\"hb-slider\",{\"modelValue\":[1026,\"model-value\"],\"min\":[2],\"max\":[2],\"step\":[2],\"showTooltip\":[4,\"show-tooltip\"],\"formatTooltip\":[16],\"disabled\":[4],\"range\":[4],\"vertical\":[4],\"height\":[1],\"dragging\":[32],\"currentValue\":[32],\"tooltipVisible\":[32],\"tooltipValue\":[32]}]]],[\"hb-space.cjs\",[[1,\"hb-space\",{\"size\":[8],\"direction\":[1],\"wrap\":[4],\"alignment\":[1],\"fill\":[4],\"fillRatio\":[2,\"fill-ratio\"]}]]],[\"hb-statistic.cjs\",[[1,\"hb-statistic\",{\"title\":[1],\"value\":[8],\"precision\":[2],\"valuePrefix\":[1,\"value-prefix\"],\"suffix\":[1],\"valueStyle\":[1,\"value-style\"]}]]],[\"hb-step.cjs\",[[1,\"hb-step\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"status\":[1]}]]],[\"hb-steps.cjs\",[[1,\"hb-steps\",{\"active\":[2],\"processStatus\":[1,\"process-status\"],\"alignCenter\":[4,\"align-center\"],\"direction\":[1],\"steps\":[32]}]]],[\"hb-sub-menu.cjs\",[[1,\"hb-sub-menu\",{\"label\":[1],\"icon\":[1],\"collapsed\":[4],\"isOpen\":[32],\"isHover\":[32]}]]],[\"hb-switch.cjs\",[[1,\"hb-switch\",{\"modelValue\":[1028,\"model-value\"],\"disabled\":[4],\"activeText\":[1,\"active-text\"],\"inactiveText\":[1,\"inactive-text\"],\"activeColor\":[1,\"active-color\"],\"inactiveColor\":[1,\"inactive-color\"],\"activeValue\":[8,\"active-value\"],\"inactiveValue\":[8,\"inactive-value\"],\"width\":[2],\"inlinePrompt\":[4,\"inline-prompt\"]}]]],[\"hb-tab-pane.cjs\",[[1,\"hb-tab-pane\",{\"key\":[1],\"label\":[1],\"active\":[4]}]]],[\"hb-table.cjs\",[[1,\"hb-table\",{\"data\":[16],\"columns\":[16],\"stripe\":[4],\"border\":[4],\"size\":[1],\"loading\":[4],\"rowKey\":[1,\"row-key\"],\"emptyText\":[1,\"empty-text\"],\"maxHeight\":[1,\"max-height\"],\"highlightCurrentRow\":[4,\"highlight-current-row\"],\"selectable\":[4],\"actions\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemHeight\":[2,\"item-height\"],\"virtualScrollHeight\":[2,\"virtual-scroll-height\"],\"treeProps\":[16],\"editable\":[4],\"sortProp\":[32],\"sortDirection\":[32],\"currentRow\":[32],\"selectedRows\":[32],\"scrollTop\":[32],\"expandedRowKeys\":[32],\"editingCell\":[32]},null,{\"data\":[\"handleDataChange\"]}]]],[\"hb-tabs.cjs\",[[1,\"hb-tabs\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"closable\":[4],\"activeTab\":[32],\"tabs\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-tag.cjs\",[[1,\"hb-tag\",{\"type\":[1],\"closable\":[4],\"effect\":[1],\"round\":[4],\"size\":[1]}]]],[\"hb-text.cjs\",[[1,\"hb-text\",{\"type\":[1],\"size\":[1],\"truncated\":[4],\"bold\":[4],\"italic\":[4],\"deleted\":[4]}]]],[\"hb-time-picker.cjs\",[[1,\"hb-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedHour\":[32],\"selectedMinute\":[32],\"selectedSecond\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-time-select.cjs\",[[1,\"hb-time-select\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"start\":[1],\"end\":[1],\"step\":[2],\"minTime\":[1,\"min-time\"],\"maxTime\":[1,\"max-time\"],\"isOpen\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-timeline.cjs\",[[1,\"hb-timeline\",{\"mode\":[1],\"items\":[16]}]]],[\"hb-tooltip.cjs\",[[1,\"hb-tooltip\",{\"content\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"showArrow\":[4,\"show-arrow\"],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-tour.cjs\",[[1,\"hb-tour\",{\"visible\":[1028],\"steps\":[16],\"current\":[1026],\"targetRect\":[32]}]]],[\"hb-transfer.cjs\",[[1,\"hb-transfer\",{\"data\":[16],\"targetKeys\":[1040],\"selectedKeys\":[1040],\"titles\":[16],\"disabled\":[4],\"filterable\":[4],\"leftFilter\":[32],\"rightFilter\":[32]},null,{\"selectedKeys\":[\"handleSelectedKeysChange\"]}]]],[\"hb-tree.cjs\",[[1,\"hb-tree\",{\"data\":[16],\"expandedKeys\":[1040],\"selectedKeys\":[1040],\"checkable\":[4],\"checkedKeys\":[1040],\"defaultExpandAll\":[4,\"default-expand-all\"],\"showLine\":[4,\"show-line\"],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]},null,{\"data\":[\"handleDataChange\"],\"expandedKeys\":[\"handleExpandedKeysChange\"],\"selectedKeys\":[\"handleSelectedKeysChange\"],\"checkedKeys\":[\"handleCheckedKeysChange\"]}]]],[\"hb-tree-select.cjs\",[[1,\"hb-tree-select\",{\"data\":[16],\"modelValue\":[1025,\"model-value\"],\"multiple\":[4],\"placeholder\":[1],\"disabled\":[4],\"checkable\":[4],\"defaultExpandAll\":[4,\"default-expand-all\"],\"isOpen\":[32],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]}]]],[\"hb-upload.cjs\",[[1,\"hb-upload\",{\"action\":[1],\"multiple\":[4],\"accept\":[1],\"disabled\":[4],\"limit\":[2],\"drag\":[4],\"name\":[1],\"headers\":[16],\"data\":[16],\"withCredentials\":[4,\"with-credentials\"],\"beforeUpload\":[16],\"fileList\":[1040],\"isDragover\":[32]}]]],[\"hb-watermark.cjs\",[[1,\"hb-watermark\",{\"content\":[1],\"width\":[2],\"height\":[2],\"gap\":[2],\"rotate\":[2],\"fontColor\":[1,\"font-color\"],\"fontSize\":[2,\"font-size\"]}]]]]"), options);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
exports.setNonce = index.setNonce;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=huibo-ui.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"huibo-ui.cjs.js","mappings":";;;;;;;AAAA;AACA;AACA;AAKA,IAAI,YAAY,GAAG,MAAM;AAUzB,EAAE,MAAM,UAAU,GAAG,0MAAe,CAAC;AACrC,EAAE,MAAM,IAAI,GAAiE,EAAE,CAAC;AAChF,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;AACzB,IAAI,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AACtD,GAAG;AACH,EAAE,OAAOA,oBAAc,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;;ACnBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,OAAO,KAAK;AACvC,EAAE,MAAMC,wBAAa,EAAE,CAAC;AACxB,EAAE,OAAOC,mBAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC;;;;","names":["promiseResolve","globalScripts","bootstrapLazy"],"sources":["node_modules/.pnpm/@stencil+core@4.27.1/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|