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,138 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-1407a5e8.js';
|
|
2
|
+
import { h as handleListKeyboard } from './p-cc0aeb50.js';
|
|
3
|
+
|
|
4
|
+
const tabsCss = "/*! 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{.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-tabs__header{border-bottom:1px solid var(--hb-color-border-secondary);margin-bottom:var(--hb-spacing-md)}.hb-tabs__nav{display:flex;gap:var(--hb-spacing-xs)}.hb-tabs__item{align-items:center;border-bottom:2px solid #0000;color:var(--hb-color-text-secondary);cursor:pointer;display:inline-flex;font-size:var(--hb-font-size-sm);gap:4px;padding:var(--hb-spacing-xs)var(--hb-spacing-md);transition:all var(--hb-transition-duration)var(--hb-transition-function);-webkit-user-select:none;user-select:none}.hb-tabs__item--active,.hb-tabs__item:hover{color:var(--hb-color-primary)}.hb-tabs__item--active{border-bottom-color:var(--hb-color-primary)}.hb-tabs--card .hb-tabs__item{background:var(--hb-color-fill-quaternary);border:1px solid var(--hb-color-border);border-bottom:none;border-radius:var(--hb-border-radius-sm)var(--hb-border-radius-sm)0 0}.hb-tabs--card .hb-tabs__item--active{background:var(--hb-color-bg);border-bottom-color:var(--hb-color-bg);margin-bottom:-1px}.hb-tabs__item-close{align-items:center;border-radius:50%;display:inline-flex;font-size:11px;height:14px;justify-content:center;transition:background-color var(--hb-transition-duration);width:14px}.hb-tabs__item-close:hover{background-color:#0000001a}.hb-tabs__content{color:var(--hb-color-text)}@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}";
|
|
5
|
+
const HbTabsStyle0 = tabsCss;
|
|
6
|
+
|
|
7
|
+
const Tabs = /*@__PURE__*/ proxyCustomElement(class Tabs extends H {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
this.hbTabChange = createEvent(this, "hbTabChange", 7);
|
|
13
|
+
this.hbTabRemove = createEvent(this, "hbTabRemove", 7);
|
|
14
|
+
}
|
|
15
|
+
get el() { return this; }
|
|
16
|
+
/** 当前激活的标签 */
|
|
17
|
+
modelValue = '';
|
|
18
|
+
/** 标签风格类型 */
|
|
19
|
+
type = 'line';
|
|
20
|
+
/** 是否可关闭 */
|
|
21
|
+
closable = false;
|
|
22
|
+
activeTab = '';
|
|
23
|
+
tabs = [];
|
|
24
|
+
/** 标签切换事件 */
|
|
25
|
+
hbTabChange;
|
|
26
|
+
/** 标签关闭事件 */
|
|
27
|
+
hbTabRemove;
|
|
28
|
+
componentDidLoad() {
|
|
29
|
+
this.collectTabs();
|
|
30
|
+
if (!this.modelValue && this.tabs.length > 0) {
|
|
31
|
+
this.activeTab = this.tabs[0].key;
|
|
32
|
+
this.modelValue = this.activeTab;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
this.activeTab = this.modelValue;
|
|
36
|
+
}
|
|
37
|
+
this.updatePaneVisibility();
|
|
38
|
+
}
|
|
39
|
+
handleModelValueChange() {
|
|
40
|
+
this.activeTab = this.modelValue;
|
|
41
|
+
this.updatePaneVisibility();
|
|
42
|
+
}
|
|
43
|
+
collectTabs() {
|
|
44
|
+
const panes = this.el.querySelectorAll('hb-tab-pane');
|
|
45
|
+
const tabs = [];
|
|
46
|
+
panes.forEach((pane) => {
|
|
47
|
+
tabs.push({
|
|
48
|
+
key: pane.getAttribute('key') || '',
|
|
49
|
+
label: pane.getAttribute('label') || '',
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
this.tabs = tabs;
|
|
53
|
+
}
|
|
54
|
+
updatePaneVisibility() {
|
|
55
|
+
const panes = this.el.querySelectorAll('hb-tab-pane');
|
|
56
|
+
panes.forEach((pane) => {
|
|
57
|
+
const isActive = pane.getAttribute('key') === this.activeTab;
|
|
58
|
+
pane.setAttribute('active', String(isActive));
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
handleTabClick = (key) => {
|
|
62
|
+
this.activeTab = key;
|
|
63
|
+
this.modelValue = key;
|
|
64
|
+
this.hbTabChange.emit(key);
|
|
65
|
+
this.updatePaneVisibility();
|
|
66
|
+
this.moveFocusToTab(key);
|
|
67
|
+
};
|
|
68
|
+
/** WAI-ARIA tabs:左右(横排)/上下(竖排)箭头在 tab 间切换聚焦的 tab。 */
|
|
69
|
+
handleTabKeydown = (e, currentIndex) => {
|
|
70
|
+
// 仅响应方向键 / Home / End;Enter/Space 由浏览器对可聚焦元素原生触发 click。
|
|
71
|
+
const isArrow = e.key === 'ArrowLeft' || e.key === 'ArrowRight' || e.key === 'ArrowUp' || e.key === 'ArrowDown' ||
|
|
72
|
+
e.key === 'Home' || e.key === 'End';
|
|
73
|
+
if (!isArrow)
|
|
74
|
+
return;
|
|
75
|
+
e.preventDefault();
|
|
76
|
+
const action = handleListKeyboard(e, {
|
|
77
|
+
activeIndex: currentIndex,
|
|
78
|
+
itemCount: this.tabs.length,
|
|
79
|
+
loop: true,
|
|
80
|
+
});
|
|
81
|
+
if (action.type === 'navigate' && this.tabs[action.index]) {
|
|
82
|
+
this.handleTabClick(this.tabs[action.index].key);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
moveFocusToTab(key) {
|
|
86
|
+
const idx = this.tabs.findIndex((t) => t.key === key);
|
|
87
|
+
if (idx < 0)
|
|
88
|
+
return;
|
|
89
|
+
const items = this.el.shadowRoot?.querySelectorAll('.hb-tabs__item');
|
|
90
|
+
items?.[idx]?.focus();
|
|
91
|
+
}
|
|
92
|
+
render() {
|
|
93
|
+
return (h("div", { key: '796e99789e8493219eebb94cc65fcbc2d7215518', class: { 'hb-tabs': true, [`hb-tabs--${this.type}`]: true } }, h("div", { key: 'f291d1e3acc730d0243aef4514018b881748c9ef', class: "hb-tabs__header" }, h("div", { key: 'a3cf56bb33eafea5b36d6f38e616838b9436d58b', class: "hb-tabs__nav", role: "tablist" }, this.tabs.map((tab, index) => {
|
|
94
|
+
const selected = tab.key === this.activeTab;
|
|
95
|
+
const tabId = `hb-tabs__tab-${tab.key}`;
|
|
96
|
+
return (h("div", { class: {
|
|
97
|
+
'hb-tabs__item': true,
|
|
98
|
+
'hb-tabs__item--active': selected,
|
|
99
|
+
}, role: "tab", id: tabId, "aria-selected": selected ? 'true' : 'false', tabindex: selected ? 0 : -1, "aria-controls": `hb-tabs__panel-${tab.key}`, onClick: () => this.handleTabClick(tab.key), onKeyDown: (e) => this.handleTabKeydown(e, index) }, h("span", { class: "hb-tabs__item-label" }, tab.label), this.closable && (h("span", { class: "hb-tabs__item-close", role: "button", "aria-label": "\u5173\u95ED\u6807\u7B7E", tabIndex: -1, onClick: (e) => {
|
|
100
|
+
e.stopPropagation();
|
|
101
|
+
this.hbTabRemove.emit(tab.key);
|
|
102
|
+
} }, "\u00D7"))));
|
|
103
|
+
}))), h("div", { key: '45fee79ae1148bc6385bcb161c757d0226b4309c', class: "hb-tabs__content" }, h("slot", { key: 'cb00f1ed24d5a937e378c238097a251b45f323c6' }))));
|
|
104
|
+
}
|
|
105
|
+
static get watchers() { return {
|
|
106
|
+
"modelValue": ["handleModelValueChange"]
|
|
107
|
+
}; }
|
|
108
|
+
static get style() { return HbTabsStyle0; }
|
|
109
|
+
}, [1, "hb-tabs", {
|
|
110
|
+
"modelValue": [1025, "model-value"],
|
|
111
|
+
"type": [1],
|
|
112
|
+
"closable": [4],
|
|
113
|
+
"activeTab": [32],
|
|
114
|
+
"tabs": [32]
|
|
115
|
+
}, undefined, {
|
|
116
|
+
"modelValue": ["handleModelValueChange"]
|
|
117
|
+
}]);
|
|
118
|
+
function defineCustomElement$1() {
|
|
119
|
+
if (typeof customElements === "undefined") {
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
const components = ["hb-tabs"];
|
|
123
|
+
components.forEach(tagName => { switch (tagName) {
|
|
124
|
+
case "hb-tabs":
|
|
125
|
+
if (!customElements.get(tagName)) {
|
|
126
|
+
customElements.define(tagName, Tabs);
|
|
127
|
+
}
|
|
128
|
+
break;
|
|
129
|
+
} });
|
|
130
|
+
}
|
|
131
|
+
defineCustomElement$1();
|
|
132
|
+
|
|
133
|
+
const HbTabs = Tabs;
|
|
134
|
+
const defineCustomElement = defineCustomElement$1;
|
|
135
|
+
|
|
136
|
+
export { HbTabs, defineCustomElement };
|
|
137
|
+
|
|
138
|
+
//# sourceMappingURL=hb-tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hb-tabs.js","mappings":";;;AAAA,MAAM,OAAO,GAAG,q3NAAq3N,CAAC;AACt4N,qBAAe,OAAO;;MCWT,IAAI;;;;;;;;;;IAIU,UAAU,GAAW,EAAE,CAAC;;IAGzC,IAAI,GAAoC,MAAM,CAAC;;IAG/C,QAAQ,GAAY,KAAK,CAAC;IAEzB,SAAS,GAAW,EAAE,CAAC;IACvB,IAAI,GAAqC,EAAE,CAAC;;IAG5C,WAAW,CAAuB;;IAGlC,WAAW,CAAuB;IAE3C,gBAAgB;QACd,IAAI,CAAC,WAAW,EAAE,CAAC;QACnB,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;YAC5C,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;YAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;SAClC;aAAM;YACL,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;SAClC;QACD,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B;IAGD,sBAAsB;QACpB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;QACjC,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B;IAEO,WAAW;QACjB,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QACtD,MAAM,IAAI,GAAqC,EAAE,CAAC;QAClD,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI;YACjB,IAAI,CAAC,IAAI,CAAC;gBACR,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,IAAI,EAAE;gBACnC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE;aACxC,CAAC,CAAC;SACJ,CAAC,CAAC;QACH,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;KAClB;IAEO,oBAAoB;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QACtD,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI;YACjB,MAAM,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC;YAC7D,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;SAC/C,CAAC,CAAC;KACJ;IAEO,cAAc,GAAG,CAAC,GAAW;QACnC,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC;QACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC3B,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAC5B,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;KAC1B,CAAC;;IAGM,gBAAgB,GAAG,CAAC,CAAgB,EAAE,YAAoB;;QAEhE,MAAM,OAAO,GACX,CAAC,CAAC,GAAG,KAAK,WAAW,IAAI,CAAC,CAAC,GAAG,KAAK,YAAY,IAAI,CAAC,CAAC,GAAG,KAAK,SAAS,IAAI,CAAC,CAAC,GAAG,KAAK,WAAW;YAC/F,CAAC,CAAC,GAAG,KAAK,MAAM,IAAI,CAAC,CAAC,GAAG,KAAK,KAAK,CAAC;QACtC,IAAI,CAAC,OAAO;YAAE,OAAO;QACrB,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,MAAM,MAAM,GAAG,kBAAkB,CAAC,CAAC,EAAE;YACnC,WAAW,EAAE,YAAY;YACzB,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM;YAC3B,IAAI,EAAE,IAAI;SACX,CAAC,CAAC;QACH,IAAI,MAAM,CAAC,IAAI,KAAK,UAAU,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;YACzD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC;SAClD;KACF,CAAC;IAEM,cAAc,CAAC,GAAW;QAChC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC;QACtD,IAAI,GAAG,GAAG,CAAC;YAAE,OAAO;QACpB,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAc,gBAAgB,CAAC,CAAC;QAClF,KAAK,GAAG,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC;KACvB;IAED,MAAM;QACJ,QACE,4DAAK,KAAK,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,YAAY,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,EAAE,IAC9D,4DAAK,KAAK,EAAC,iBAAiB,IAC1B,4DAAK,KAAK,EAAC,cAAc,EAAC,IAAI,EAAC,SAAS,IACrC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK;YACxB,MAAM,QAAQ,GAAG,GAAG,CAAC,GAAG,KAAK,IAAI,CAAC,SAAS,CAAC;YAC5C,MAAM,KAAK,GAAG,gBAAgB,GAAG,CAAC,GAAG,EAAE,CAAC;YACxC,QACE,WACE,KAAK,EAAE;oBACL,eAAe,EAAE,IAAI;oBACrB,uBAAuB,EAAE,QAAQ;iBAClC,EACD,IAAI,EAAC,KAAK,EACV,EAAE,EAAE,KAAK,mBACM,QAAQ,GAAG,MAAM,GAAG,OAAO,EAC1C,QAAQ,EAAE,QAAQ,GAAG,CAAC,GAAG,CAAC,CAAC,mBACZ,kBAAkB,GAAG,CAAC,GAAG,EAAE,EAC1C,OAAO,EAAE,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG,CAAC,EAC3C,SAAS,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,gBAAgB,CAAC,CAAC,EAAE,KAAK,CAAC,IAEjD,YAAM,KAAK,EAAC,qBAAqB,IAAE,GAAG,CAAC,KAAK,CAAQ,EACnD,IAAI,CAAC,QAAQ,KACZ,YACE,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAC,QAAQ,gBACF,0BAAM,EACjB,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,CAAC,CAAC;oBACT,CAAC,CAAC,eAAe,EAAE,CAAC;oBACpB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;iBAChC,aAGI,CACR,CACG,EACN;SACH,CAAC,CACE,CACF,EACN,4DAAK,KAAK,EAAC,kBAAkB,IAC3B,8DAAQ,CACJ,CACF,EACN;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/Tabs/tabs.css?tag=hb-tabs&encapsulation=shadow","src/components/Tabs/Tabs.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hb-tabs__header {\n border-bottom: 1px solid var(--hb-color-border-secondary);\n margin-bottom: var(--hb-spacing-md);\n}\n\n.hb-tabs__nav {\n display: flex;\n gap: var(--hb-spacing-xs);\n}\n\n.hb-tabs__item {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: var(--hb-spacing-xs) var(--hb-spacing-md);\n font-size: var(--hb-font-size-sm);\n color: var(--hb-color-text-secondary);\n cursor: pointer;\n border-bottom: 2px solid transparent;\n transition: all var(--hb-transition-duration) var(--hb-transition-function);\n user-select: none;\n}\n\n.hb-tabs__item:hover {\n color: var(--hb-color-primary);\n}\n\n.hb-tabs__item--active {\n color: var(--hb-color-primary);\n border-bottom-color: var(--hb-color-primary);\n}\n\n/* ---- card 类型 ---- */\n.hb-tabs--card .hb-tabs__item {\n border: 1px solid var(--hb-color-border);\n border-bottom: none;\n border-radius: var(--hb-border-radius-sm) var(--hb-border-radius-sm) 0 0;\n background: var(--hb-color-fill-quaternary);\n}\n.hb-tabs--card .hb-tabs__item--active {\n background: var(--hb-color-bg);\n border-bottom-color: var(--hb-color-bg);\n margin-bottom: -1px;\n}\n\n.hb-tabs__item-close {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n border-radius: 50%;\n font-size: 11px;\n transition: background-color var(--hb-transition-duration);\n}\n.hb-tabs__item-close:hover {\n background-color: rgba(0, 0, 0, 0.1);\n}\n\n.hb-tabs__content {\n color: var(--hb-color-text);\n}\n","import { Component, h, Prop, State, Element, Watch, Event, EventEmitter } from '@stencil/core';\nimport { handleListKeyboard } from '../../utils/a11y';\n\n/**\n * Tabs 标签页组件\n * 选项卡切换组件\n */\n@Component({\n tag: 'hb-tabs',\n styleUrl: 'tabs.css',\n shadow: true,\n})\nexport class Tabs {\n @Element() el: HTMLElement;\n\n /** 当前激活的标签 */\n @Prop({ mutable: true }) modelValue: string = '';\n\n /** 标签风格类型 */\n @Prop() type: 'line' | 'card' | 'border-card' = 'line';\n\n /** 是否可关闭 */\n @Prop() closable: boolean = false;\n\n @State() activeTab: string = '';\n @State() tabs: { key: string; label: string }[] = [];\n\n /** 标签切换事件 */\n @Event() hbTabChange: EventEmitter<string>;\n\n /** 标签关闭事件 */\n @Event() hbTabRemove: EventEmitter<string>;\n\n componentDidLoad() {\n this.collectTabs();\n if (!this.modelValue && this.tabs.length > 0) {\n this.activeTab = this.tabs[0].key;\n this.modelValue = this.activeTab;\n } else {\n this.activeTab = this.modelValue;\n }\n this.updatePaneVisibility();\n }\n\n @Watch('modelValue')\n handleModelValueChange() {\n this.activeTab = this.modelValue;\n this.updatePaneVisibility();\n }\n\n private collectTabs() {\n const panes = this.el.querySelectorAll('hb-tab-pane');\n const tabs: { key: string; label: string }[] = [];\n panes.forEach((pane) => {\n tabs.push({\n key: pane.getAttribute('key') || '',\n label: pane.getAttribute('label') || '',\n });\n });\n this.tabs = tabs;\n }\n\n private updatePaneVisibility() {\n const panes = this.el.querySelectorAll('hb-tab-pane');\n panes.forEach((pane) => {\n const isActive = pane.getAttribute('key') === this.activeTab;\n pane.setAttribute('active', String(isActive));\n });\n }\n\n private handleTabClick = (key: string) => {\n this.activeTab = key;\n this.modelValue = key;\n this.hbTabChange.emit(key);\n this.updatePaneVisibility();\n this.moveFocusToTab(key);\n };\n\n /** WAI-ARIA tabs:左右(横排)/上下(竖排)箭头在 tab 间切换聚焦的 tab。 */\n private handleTabKeydown = (e: KeyboardEvent, currentIndex: number) => {\n // 仅响应方向键 / Home / End;Enter/Space 由浏览器对可聚焦元素原生触发 click。\n const isArrow =\n e.key === 'ArrowLeft' || e.key === 'ArrowRight' || e.key === 'ArrowUp' || e.key === 'ArrowDown' ||\n e.key === 'Home' || e.key === 'End';\n if (!isArrow) return;\n e.preventDefault();\n const action = handleListKeyboard(e, {\n activeIndex: currentIndex,\n itemCount: this.tabs.length,\n loop: true,\n });\n if (action.type === 'navigate' && this.tabs[action.index]) {\n this.handleTabClick(this.tabs[action.index].key);\n }\n };\n\n private moveFocusToTab(key: string) {\n const idx = this.tabs.findIndex((t) => t.key === key);\n if (idx < 0) return;\n const items = this.el.shadowRoot?.querySelectorAll<HTMLElement>('.hb-tabs__item');\n items?.[idx]?.focus();\n }\n\n render() {\n return (\n <div class={{ 'hb-tabs': true, [`hb-tabs--${this.type}`]: true }}>\n <div class=\"hb-tabs__header\">\n <div class=\"hb-tabs__nav\" role=\"tablist\">\n {this.tabs.map((tab, index) => {\n const selected = tab.key === this.activeTab;\n const tabId = `hb-tabs__tab-${tab.key}`;\n return (\n <div\n class={{\n 'hb-tabs__item': true,\n 'hb-tabs__item--active': selected,\n }}\n role=\"tab\"\n id={tabId}\n aria-selected={selected ? 'true' : 'false'}\n tabindex={selected ? 0 : -1}\n aria-controls={`hb-tabs__panel-${tab.key}`}\n onClick={() => this.handleTabClick(tab.key)}\n onKeyDown={(e) => this.handleTabKeydown(e, index)}\n >\n <span class=\"hb-tabs__item-label\">{tab.label}</span>\n {this.closable && (\n <span\n class=\"hb-tabs__item-close\"\n role=\"button\"\n aria-label=\"关闭标签\"\n tabIndex={-1}\n onClick={(e) => {\n e.stopPropagation();\n this.hbTabRemove.emit(tab.key);\n }}\n >\n ×\n </span>\n )}\n </div>\n );\n })}\n </div>\n </div>\n <div class=\"hb-tabs__content\">\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface HbTag extends Components.HbTag, HTMLElement {}
|
|
4
|
+
export const HbTag: {
|
|
5
|
+
prototype: HbTag;
|
|
6
|
+
new (): HbTag;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-1407a5e8.js';
|
|
2
|
+
|
|
3
|
+
const tagCss = "/*! 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{.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:inline-block}.hb-tag{border:1px solid #0000;border-radius:var(--hb-tag-radius);box-sizing:border-box;font-size:var(--hb-font-size-xs);gap:var(--hb-spacing-xxs);height:22px;line-height:1;padding:0 var(--hb-spacing-xs);vertical-align:middle;white-space:nowrap}.hb-tag,.hb-tag__close,.hb-tag__content{align-items:center;display:inline-flex}.hb-tag__close{border-radius:50%;cursor:pointer;font-size:12px;height:14px;justify-content:center;line-height:1;transition:background-color var(--hb-transition-duration);width:14px}.hb-tag__close:hover{background-color:#0000001a}.hb-tag--small{font-size:11px;height:18px;padding:0 6px}.hb-tag--large{font-size:var(--hb-font-size-sm);height:28px;padding:0 var(--hb-spacing-sm)}.hb-tag--round{border-radius:999px}.hb-tag--default.hb-tag--light{background:var(--hb-tag-default-bg);color:var(--hb-tag-default-color)}.hb-tag--primary.hb-tag--light{background:var(--hb-tag-primary-bg);color:var(--hb-tag-primary-color)}.hb-tag--success.hb-tag--light{background:var(--hb-tag-success-bg);color:var(--hb-tag-success-color)}.hb-tag--warning.hb-tag--light{background:var(--hb-tag-warning-bg);color:var(--hb-tag-warning-color)}.hb-tag--danger.hb-tag--light{background:var(--hb-tag-danger-bg);color:var(--hb-tag-danger-color)}.hb-tag--info.hb-tag--light{background:var(--hb-tag-primary-bg);color:var(--hb-tag-primary-color)}.hb-tag--default.hb-tag--dark{background:var(--hb-color-text-quaternary);color:#fff}.hb-tag--primary.hb-tag--dark{background:var(--hb-color-primary);color:#fff}.hb-tag--success.hb-tag--dark{background:var(--hb-color-success);color:#fff}.hb-tag--warning.hb-tag--dark{background:var(--hb-color-warning);color:#fff}.hb-tag--danger.hb-tag--dark{background:var(--hb-color-danger);color:#fff}.hb-tag--info.hb-tag--dark{background:var(--hb-color-info);color:#fff}.hb-tag--default.hb-tag--plain{background:#fff;border-color:var(--hb-color-border);color:var(--hb-color-text)}.hb-tag--primary.hb-tag--plain{background:#fff;border-color:var(--hb-color-primary-border);color:var(--hb-color-primary)}.hb-tag--success.hb-tag--plain{background:#fff;border-color:var(--hb-color-success-border);color:var(--hb-color-success)}.hb-tag--warning.hb-tag--plain{background:#fff;border-color:var(--hb-color-warning-border);color:var(--hb-color-warning)}.hb-tag--danger.hb-tag--plain{background:#fff;border-color:var(--hb-color-danger-border);color:var(--hb-color-danger)}.hb-tag--info.hb-tag--plain{background:#fff;border-color:var(--hb-color-primary-border);color:var(--hb-color-primary)}@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}";
|
|
4
|
+
const HbTagStyle0 = tagCss;
|
|
5
|
+
|
|
6
|
+
const Tag = /*@__PURE__*/ proxyCustomElement(class Tag extends H {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.hbClose = createEvent(this, "hbClose", 7);
|
|
12
|
+
}
|
|
13
|
+
/** 标签类型 */
|
|
14
|
+
type = 'default';
|
|
15
|
+
/** 是否可关闭 */
|
|
16
|
+
closable = false;
|
|
17
|
+
/** 主题效果 */
|
|
18
|
+
effect = 'light';
|
|
19
|
+
/** 是否圆角 */
|
|
20
|
+
round = false;
|
|
21
|
+
/** 标签尺寸 */
|
|
22
|
+
size = 'default';
|
|
23
|
+
/** 关闭事件 */
|
|
24
|
+
hbClose;
|
|
25
|
+
handleClose = (e) => {
|
|
26
|
+
e.stopPropagation();
|
|
27
|
+
this.hbClose.emit();
|
|
28
|
+
};
|
|
29
|
+
render() {
|
|
30
|
+
return (h("span", { key: 'e8663d8679aafe8d0838e5bc247ce0023fd64234', class: {
|
|
31
|
+
'hb-tag': true,
|
|
32
|
+
[`hb-tag--${this.type}`]: true,
|
|
33
|
+
[`hb-tag--${this.effect}`]: true,
|
|
34
|
+
'hb-tag--round': this.round,
|
|
35
|
+
[`hb-tag--${this.size}`]: true,
|
|
36
|
+
} }, h("span", { key: 'fb6d35fb1a76eac78bee548c74d0fb4aff560c28', class: "hb-tag__content" }, h("slot", { key: '450089e1e654bc339d6f99b8d763491277fc2b0e' })), this.closable && (h("span", { key: '8c115976d98f2242543f208d054cd2493b94373a', class: "hb-tag__close", role: "button", "aria-label": "\u79FB\u9664\u6807\u7B7E", tabIndex: 0, onClick: this.handleClose }, "\u00D7"))));
|
|
37
|
+
}
|
|
38
|
+
static get style() { return HbTagStyle0; }
|
|
39
|
+
}, [1, "hb-tag", {
|
|
40
|
+
"type": [1],
|
|
41
|
+
"closable": [4],
|
|
42
|
+
"effect": [1],
|
|
43
|
+
"round": [4],
|
|
44
|
+
"size": [1]
|
|
45
|
+
}]);
|
|
46
|
+
function defineCustomElement$1() {
|
|
47
|
+
if (typeof customElements === "undefined") {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const components = ["hb-tag"];
|
|
51
|
+
components.forEach(tagName => { switch (tagName) {
|
|
52
|
+
case "hb-tag":
|
|
53
|
+
if (!customElements.get(tagName)) {
|
|
54
|
+
customElements.define(tagName, Tag);
|
|
55
|
+
}
|
|
56
|
+
break;
|
|
57
|
+
} });
|
|
58
|
+
}
|
|
59
|
+
defineCustomElement$1();
|
|
60
|
+
|
|
61
|
+
const HbTag = Tag;
|
|
62
|
+
const defineCustomElement = defineCustomElement$1;
|
|
63
|
+
|
|
64
|
+
export { HbTag, defineCustomElement };
|
|
65
|
+
|
|
66
|
+
//# sourceMappingURL=hb-tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hb-tag.js","mappings":";;AAAA,MAAM,MAAM,GAAG,4kQAA4kQ,CAAC;AAC5lQ,oBAAe,MAAM;;MCUR,GAAG;;;;;;;;IAEN,IAAI,GAAsE,SAAS,CAAC;;IAGpF,QAAQ,GAAY,KAAK,CAAC;;IAG1B,MAAM,GAA+B,OAAO,CAAC;;IAG7C,KAAK,GAAY,KAAK,CAAC;;IAGvB,IAAI,GAAkC,SAAS,CAAC;;IAG/C,OAAO,CAAqB;IAE7B,WAAW,GAAG,CAAC,CAAQ;QAC7B,CAAC,CAAC,eAAe,EAAE,CAAC;QACpB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;KACrB,CAAC;IAEF,MAAM;QACJ,QACE,6DACE,KAAK,EAAE;gBACL,QAAQ,EAAE,IAAI;gBACd,CAAC,WAAW,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI;gBAC9B,CAAC,WAAW,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI;gBAChC,eAAe,EAAE,IAAI,CAAC,KAAK;gBAC3B,CAAC,WAAW,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI;aAC/B,IAED,6DAAM,KAAK,EAAC,iBAAiB,IAC3B,8DAAQ,CACH,EACN,IAAI,CAAC,QAAQ,KACZ,6DAAM,KAAK,EAAC,eAAe,EAAC,IAAI,EAAC,QAAQ,gBAAY,0BAAM,EAAC,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,aAE3F,CACR,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/Tag/tag.css?tag=hb-tag&encapsulation=shadow","src/components/Tag/Tag.tsx"],"sourcesContent":[":host {\n display: inline-block;\n}\n\n.hb-tag {\n display: inline-flex;\n align-items: center;\n gap: var(--hb-spacing-xxs);\n padding: 0 var(--hb-spacing-xs);\n height: 22px;\n font-size: var(--hb-font-size-xs);\n line-height: 1;\n border-radius: var(--hb-tag-radius);\n border: 1px solid transparent;\n box-sizing: border-box;\n white-space: nowrap;\n vertical-align: middle;\n}\n\n.hb-tag__content {\n display: inline-flex;\n align-items: center;\n}\n\n.hb-tag__close {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n border-radius: 50%;\n cursor: pointer;\n font-size: 12px;\n line-height: 1;\n transition: background-color var(--hb-transition-duration);\n}\n\n.hb-tag__close:hover {\n background-color: rgba(0, 0, 0, 0.1);\n}\n\n/* ---- 尺寸 ---- */\n.hb-tag--small { height: 18px; font-size: 11px; padding: 0 6px; }\n.hb-tag--large { height: 28px; font-size: var(--hb-font-size-sm); padding: 0 var(--hb-spacing-sm); }\n\n/* ---- 圆角 ---- */\n.hb-tag--round { border-radius: 999px; }\n\n/* ---- 类型:light(默认) ---- */\n.hb-tag--default.hb-tag--light { background: var(--hb-tag-default-bg); color: var(--hb-tag-default-color); }\n.hb-tag--primary.hb-tag--light { background: var(--hb-tag-primary-bg); color: var(--hb-tag-primary-color); }\n.hb-tag--success.hb-tag--light { background: var(--hb-tag-success-bg); color: var(--hb-tag-success-color); }\n.hb-tag--warning.hb-tag--light { background: var(--hb-tag-warning-bg); color: var(--hb-tag-warning-color); }\n.hb-tag--danger.hb-tag--light { background: var(--hb-tag-danger-bg); color: var(--hb-tag-danger-color); }\n.hb-tag--info.hb-tag--light { background: var(--hb-tag-primary-bg); color: var(--hb-tag-primary-color); }\n\n/* ---- 类型:dark ---- */\n.hb-tag--default.hb-tag--dark { background: var(--hb-color-text-quaternary); color: #fff; }\n.hb-tag--primary.hb-tag--dark { background: var(--hb-color-primary); color: #fff; }\n.hb-tag--success.hb-tag--dark { background: var(--hb-color-success); color: #fff; }\n.hb-tag--warning.hb-tag--dark { background: var(--hb-color-warning); color: #fff; }\n.hb-tag--danger.hb-tag--dark { background: var(--hb-color-danger); color: #fff; }\n.hb-tag--info.hb-tag--dark { background: var(--hb-color-info); color: #fff; }\n\n/* ---- 类型:plain ---- */\n.hb-tag--default.hb-tag--plain { background: #fff; color: var(--hb-color-text); border-color: var(--hb-color-border); }\n.hb-tag--primary.hb-tag--plain { background: #fff; color: var(--hb-color-primary); border-color: var(--hb-color-primary-border); }\n.hb-tag--success.hb-tag--plain { background: #fff; color: var(--hb-color-success); border-color: var(--hb-color-success-border); }\n.hb-tag--warning.hb-tag--plain { background: #fff; color: var(--hb-color-warning); border-color: var(--hb-color-warning-border); }\n.hb-tag--danger.hb-tag--plain { background: #fff; color: var(--hb-color-danger); border-color: var(--hb-color-danger-border); }\n.hb-tag--info.hb-tag--plain { background: #fff; color: var(--hb-color-primary); border-color: var(--hb-color-primary-border); }\n","import { Component, h, Prop, Event, EventEmitter } from '@stencil/core';\n\n/**\n * Tag 标签组件\n * 用于标记和选择\n */\n@Component({\n tag: 'hb-tag',\n styleUrl: 'tag.css',\n shadow: true,\n})\nexport class Tag {\n /** 标签类型 */\n @Prop() type: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'default' = 'default';\n\n /** 是否可关闭 */\n @Prop() closable: boolean = false;\n\n /** 主题效果 */\n @Prop() effect: 'dark' | 'light' | 'plain' = 'light';\n\n /** 是否圆角 */\n @Prop() round: boolean = false;\n\n /** 标签尺寸 */\n @Prop() size: 'small' | 'default' | 'large' = 'default';\n\n /** 关闭事件 */\n @Event() hbClose: EventEmitter<void>;\n\n private handleClose = (e: Event) => {\n e.stopPropagation();\n this.hbClose.emit();\n };\n\n render() {\n return (\n <span\n class={{\n 'hb-tag': true,\n [`hb-tag--${this.type}`]: true,\n [`hb-tag--${this.effect}`]: true,\n 'hb-tag--round': this.round,\n [`hb-tag--${this.size}`]: true,\n }}\n >\n <span class=\"hb-tag__content\">\n <slot />\n </span>\n {this.closable && (\n <span class=\"hb-tag__close\" role=\"button\" aria-label=\"移除标签\" tabIndex={0} onClick={this.handleClose}>\n ×\n </span>\n )}\n </span>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface HbText extends Components.HbText, HTMLElement {}
|
|
4
|
+
export const HbText: {
|
|
5
|
+
prototype: HbText;
|
|
6
|
+
new (): HbText;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h } from './p-1407a5e8.js';
|
|
2
|
+
|
|
3
|
+
const textCss = "/*! 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{.italic{font-style:italic}.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{--hb-text-font-size-default:14px;--hb-text-font-size-small:12px;--hb-text-font-size-large:16px;--hb-text-color:var(--hb-color-text-regular);display:inline-block}.hb-text{color:var(--hb-text-color);font-size:var(--hb-text-font-size-default);line-height:1.5}.hb-text--small{font-size:var(--hb-text-font-size-small)}.hb-text--large{font-size:var(--hb-text-font-size-large)}.hb-text--truncated{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hb-text--bold{font-weight:600}.hb-text--italic{font-style:italic}.hb-text--deleted{text-decoration:line-through}.hb-text--primary{--hb-text-color:var(--hb-color-primary)}.hb-text--success{--hb-text-color:var(--hb-color-success)}.hb-text--warning{--hb-text-color:var(--hb-color-warning)}.hb-text--danger{--hb-text-color:var(--hb-color-danger)}.hb-text--info{--hb-text-color:var(--hb-color-info)}@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}";
|
|
4
|
+
const HbTextStyle0 = textCss;
|
|
5
|
+
|
|
6
|
+
const Text = /*@__PURE__*/ proxyCustomElement(class Text extends H {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 文本类型
|
|
14
|
+
* @default ''
|
|
15
|
+
*/
|
|
16
|
+
type = '';
|
|
17
|
+
/**
|
|
18
|
+
* 文本大小
|
|
19
|
+
* @default 'default'
|
|
20
|
+
*/
|
|
21
|
+
size = 'default';
|
|
22
|
+
/**
|
|
23
|
+
* 是否省略
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
truncated = false;
|
|
27
|
+
/**
|
|
28
|
+
* 是否加粗
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
bold = false;
|
|
32
|
+
/**
|
|
33
|
+
* 是否斜体
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
italic = false;
|
|
37
|
+
/**
|
|
38
|
+
* 是否删除线
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
deleted = false;
|
|
42
|
+
render() {
|
|
43
|
+
return (h("span", { key: '71ef3be634ff5831895415e3225d0197c66319d9', class: {
|
|
44
|
+
'hb-text': true,
|
|
45
|
+
[`hb-text--${this.type}`]: !!this.type,
|
|
46
|
+
[`hb-text--${this.size}`]: true,
|
|
47
|
+
'hb-text--truncated': this.truncated,
|
|
48
|
+
'hb-text--bold': this.bold,
|
|
49
|
+
'hb-text--italic': this.italic,
|
|
50
|
+
'hb-text--deleted': this.deleted,
|
|
51
|
+
} }, h("slot", { key: '801d3ae1c36d0d62c7853e4f16e28c4b27eaa865' })));
|
|
52
|
+
}
|
|
53
|
+
static get style() { return HbTextStyle0; }
|
|
54
|
+
}, [1, "hb-text", {
|
|
55
|
+
"type": [1],
|
|
56
|
+
"size": [1],
|
|
57
|
+
"truncated": [4],
|
|
58
|
+
"bold": [4],
|
|
59
|
+
"italic": [4],
|
|
60
|
+
"deleted": [4]
|
|
61
|
+
}]);
|
|
62
|
+
function defineCustomElement$1() {
|
|
63
|
+
if (typeof customElements === "undefined") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const components = ["hb-text"];
|
|
67
|
+
components.forEach(tagName => { switch (tagName) {
|
|
68
|
+
case "hb-text":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
customElements.define(tagName, Text);
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
} });
|
|
74
|
+
}
|
|
75
|
+
defineCustomElement$1();
|
|
76
|
+
|
|
77
|
+
const HbText = Text;
|
|
78
|
+
const defineCustomElement = defineCustomElement$1;
|
|
79
|
+
|
|
80
|
+
export { HbText, defineCustomElement };
|
|
81
|
+
|
|
82
|
+
//# sourceMappingURL=hb-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hb-text.js","mappings":";;AAAA,MAAM,OAAO,GAAG,w9MAAw9M,CAAC;AACz+M,qBAAe,OAAO;;MCUT,IAAI;;;;;;;;;;IAKP,IAAI,GAA+D,EAAE,CAAC;;;;;IAMtE,IAAI,GAAkC,SAAS,CAAC;;;;;IAMhD,SAAS,GAAY,KAAK,CAAC;;;;;IAM3B,IAAI,GAAY,KAAK,CAAC;;;;;IAMtB,MAAM,GAAY,KAAK,CAAC;;;;;IAMxB,OAAO,GAAY,KAAK,CAAC;IAEjC,MAAM;QACJ,QACE,6DACE,KAAK,EAAE;gBACL,SAAS,EAAE,IAAI;gBACf,CAAC,YAAY,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;gBACtC,CAAC,YAAY,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI;gBAC/B,oBAAoB,EAAE,IAAI,CAAC,SAAS;gBACpC,eAAe,EAAE,IAAI,CAAC,IAAI;gBAC1B,iBAAiB,EAAE,IAAI,CAAC,MAAM;gBAC9B,kBAAkB,EAAE,IAAI,CAAC,OAAO;aACjC,IAED,8DAAa,CACR,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/Text/text.css?tag=hb-text&encapsulation=shadow","src/components/Text/Text.tsx"],"sourcesContent":[":host {\n display: inline-block;\n --hb-text-font-size-default: 14px;\n --hb-text-font-size-small: 12px;\n --hb-text-font-size-large: 16px;\n --hb-text-color: var(--hb-color-text-regular);\n}\n\n.hb-text {\n font-size: var(--hb-text-font-size-default);\n color: var(--hb-text-color);\n line-height: 1.5;\n}\n\n.hb-text--small {\n font-size: var(--hb-text-font-size-small);\n}\n\n.hb-text--large {\n font-size: var(--hb-text-font-size-large);\n}\n\n.hb-text--truncated {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.hb-text--bold {\n font-weight: 600;\n}\n\n.hb-text--italic {\n font-style: italic;\n}\n\n.hb-text--deleted {\n text-decoration: line-through;\n}\n\n/* Type variants */\n.hb-text--primary {\n --hb-text-color: var(--hb-color-primary);\n}\n\n.hb-text--success {\n --hb-text-color: var(--hb-color-success);\n}\n\n.hb-text--warning {\n --hb-text-color: var(--hb-color-warning);\n}\n\n.hb-text--danger {\n --hb-text-color: var(--hb-color-danger);\n}\n\n.hb-text--info {\n --hb-text-color: var(--hb-color-info);\n}\n\n","import { Component, h, Prop } from '@stencil/core';\n\n/**\n * Text 文本组件\n * 用于文本展示的基础组件\n */\n@Component({\n tag: 'hb-text',\n styleUrl: 'text.css',\n shadow: true,\n})\nexport class Text {\n /**\n * 文本类型\n * @default ''\n */\n @Prop() type: 'primary' | 'success' | 'warning' | 'danger' | 'info' | '' = '';\n\n /**\n * 文本大小\n * @default 'default'\n */\n @Prop() size: 'large' | 'default' | 'small' = 'default';\n\n /**\n * 是否省略\n * @default false\n */\n @Prop() truncated: boolean = false;\n\n /**\n * 是否加粗\n * @default false\n */\n @Prop() bold: boolean = false;\n\n /**\n * 是否斜体\n * @default false\n */\n @Prop() italic: boolean = false;\n\n /**\n * 是否删除线\n * @default false\n */\n @Prop() deleted: boolean = false;\n\n render() {\n return (\n <span\n class={{\n 'hb-text': true,\n [`hb-text--${this.type}`]: !!this.type,\n [`hb-text--${this.size}`]: true,\n 'hb-text--truncated': this.truncated,\n 'hb-text--bold': this.bold,\n 'hb-text--italic': this.italic,\n 'hb-text--deleted': this.deleted,\n }}\n >\n <slot></slot>\n </span>\n );\n }\n}\n\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface HbTimePicker extends Components.HbTimePicker, HTMLElement {}
|
|
4
|
+
export const HbTimePicker: {
|
|
5
|
+
prototype: HbTimePicker;
|
|
6
|
+
new (): HbTimePicker;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h } from './p-1407a5e8.js';
|
|
2
|
+
import { c as createClickOutsideHandler } from './p-4ef5a884.js';
|
|
3
|
+
|
|
4
|
+
const timePickerCss = "/*! 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{.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{--hb-time-picker-font-size:14px;--hb-time-picker-height:32px;--hb-time-picker-border-color:var(--hb-border-color,#dcdfe6);--hb-time-picker-border-color-hover:var(--hb-color-primary);--hb-time-picker-bg-color:var(--hb-color-white,#fff);display:inline-block;position:relative}.hb-time-picker{display:inline-block;position:relative;width:200px}.hb-time-picker__input-wrapper{cursor:pointer;display:inline-block;position:relative;width:100%}.hb-time-picker__input{background-color:var(--hb-time-picker-bg-color);border:1px solid var(--hb-time-picker-border-color);border-radius:4px;box-sizing:border-box;color:var(--hb-color-text-regular,#606266);cursor:pointer;display:inline-block;font-size:var(--hb-time-picker-font-size);height:var(--hb-time-picker-height);line-height:var(--hb-time-picker-height);outline:none;padding:0 30px 0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.hb-time-picker__input:hover:not(:disabled){border-color:var(--hb-time-picker-border-color-hover)}.hb-time-picker__suffix{align-items:center;display:flex;position:absolute;right:8px;top:50%;transform:translateY(-50%)}.hb-time-picker__clear{color:var(--hb-color-text-placeholder,#c0c4cc);cursor:pointer;font-size:16px;margin-right:8px}.hb-time-picker__icon{font-size:14px}.hb-time-picker__dropdown{background-color:var(--hb-time-picker-bg-color);border:1px solid var(--hb-time-picker-border-color);border-radius:4px;box-shadow:0 2px 12px #0000001a;left:0;margin-top:4px;max-height:300px;min-width:200px;position:absolute;top:100%;z-index:1000}.hb-time-picker__body{display:flex;padding:8px}.hb-time-picker__list{flex:1;max-height:280px;overflow-y:auto}.hb-time-picker__list-title{border-bottom:1px solid var(--hb-border-color-lighter,#e4e7ed);color:var(--hb-color-text-placeholder,#c0c4cc);font-size:12px;padding:8px 0;text-align:center}.hb-time-picker__list-content{padding:4px 0}.hb-time-picker__item{color:var(--hb-color-text-regular,#606266);cursor:pointer;font-size:13px;padding:8px 16px;text-align:center;transition:background-color .2s}.hb-time-picker__item:hover{background-color:var(--hb-fill-color-light,#f5f7fa)}.hb-time-picker__item--selected{background-color:var(--hb-color-primary-light-9,#ecf5ff);color:var(--hb-color-primary);font-weight:600}.hb-time-picker--small{width:180px}.hb-time-picker--small .hb-time-picker__input{font-size:12px;height:24px;line-height:24px}.hb-time-picker--large{width:220px}.hb-time-picker--large .hb-time-picker__input{font-size:16px;height:40px;line-height:40px}.hb-time-picker--disabled{cursor:not-allowed}.hb-time-picker--disabled .hb-time-picker__input{background-color:var(--hb-fill-color-light,#f5f7fa);border-color:var(--hb-time-picker-border-color);color:var(--hb-color-text-disabled,#c0c4cc);cursor:not-allowed}@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}";
|
|
5
|
+
const HbTimePickerStyle0 = timePickerCss;
|
|
6
|
+
|
|
7
|
+
const TimePicker = /*@__PURE__*/ proxyCustomElement(class TimePicker extends H {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
this.hbChange = createEvent(this, "hbChange", 7);
|
|
13
|
+
}
|
|
14
|
+
get el() { return this; }
|
|
15
|
+
/**
|
|
16
|
+
* 绑定值
|
|
17
|
+
*/
|
|
18
|
+
modelValue;
|
|
19
|
+
/**
|
|
20
|
+
* 输入框占位文本
|
|
21
|
+
*/
|
|
22
|
+
placeholder = '请选择时间';
|
|
23
|
+
/**
|
|
24
|
+
* 是否禁用
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
disabled = false;
|
|
28
|
+
/**
|
|
29
|
+
* 输入框尺寸
|
|
30
|
+
*/
|
|
31
|
+
size = 'default';
|
|
32
|
+
/**
|
|
33
|
+
* 是否可清空
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
clearable = false;
|
|
37
|
+
/**
|
|
38
|
+
* 时间格式
|
|
39
|
+
* @default 'HH:mm:ss'
|
|
40
|
+
*/
|
|
41
|
+
format = 'HH:mm:ss';
|
|
42
|
+
/**
|
|
43
|
+
* 原生 name 属性
|
|
44
|
+
*/
|
|
45
|
+
name;
|
|
46
|
+
/**
|
|
47
|
+
* 原生 id 属性
|
|
48
|
+
*/
|
|
49
|
+
inputId;
|
|
50
|
+
isOpen = false;
|
|
51
|
+
inputValue = '';
|
|
52
|
+
selectedHour = 0;
|
|
53
|
+
selectedMinute = 0;
|
|
54
|
+
selectedSecond = 0;
|
|
55
|
+
/**
|
|
56
|
+
* 值改变事件
|
|
57
|
+
*/
|
|
58
|
+
hbChange;
|
|
59
|
+
clickOutside = createClickOutsideHandler({
|
|
60
|
+
host: null,
|
|
61
|
+
isOpen: () => this.isOpen,
|
|
62
|
+
onClose: () => { this.isOpen = false; },
|
|
63
|
+
});
|
|
64
|
+
componentDidLoad() {
|
|
65
|
+
this.clickOutside = createClickOutsideHandler({
|
|
66
|
+
host: this.el,
|
|
67
|
+
isOpen: () => this.isOpen,
|
|
68
|
+
onClose: () => { this.isOpen = false; },
|
|
69
|
+
});
|
|
70
|
+
this.clickOutside.connect();
|
|
71
|
+
this.updateInputValue();
|
|
72
|
+
}
|
|
73
|
+
disconnectedCallback() {
|
|
74
|
+
this.clickOutside.disconnect();
|
|
75
|
+
}
|
|
76
|
+
handleValueChange() {
|
|
77
|
+
this.updateInputValue();
|
|
78
|
+
}
|
|
79
|
+
updateInputValue() {
|
|
80
|
+
if (!this.modelValue) {
|
|
81
|
+
this.inputValue = '';
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
const parts = this.modelValue.split(':');
|
|
85
|
+
if (parts.length >= 2) {
|
|
86
|
+
this.selectedHour = parseInt(parts[0]) || 0;
|
|
87
|
+
this.selectedMinute = parseInt(parts[1]) || 0;
|
|
88
|
+
this.selectedSecond = parseInt(parts[2]) || 0;
|
|
89
|
+
this.inputValue = this.modelValue;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
handleInputClick = () => {
|
|
93
|
+
if (this.disabled)
|
|
94
|
+
return;
|
|
95
|
+
this.isOpen = !this.isOpen;
|
|
96
|
+
};
|
|
97
|
+
handleClear = (e) => {
|
|
98
|
+
e.stopPropagation();
|
|
99
|
+
this.modelValue = undefined;
|
|
100
|
+
this.inputValue = '';
|
|
101
|
+
this.isOpen = false;
|
|
102
|
+
this.hbChange.emit(undefined);
|
|
103
|
+
};
|
|
104
|
+
handleTimeSelect = (hour, minute, second) => {
|
|
105
|
+
this.selectedHour = hour;
|
|
106
|
+
this.selectedMinute = minute;
|
|
107
|
+
this.selectedSecond = second;
|
|
108
|
+
const timeStr = `${String(hour).padStart(2, '0')}:${String(minute).padStart(2, '0')}:${String(second).padStart(2, '0')}`;
|
|
109
|
+
this.modelValue = timeStr;
|
|
110
|
+
this.inputValue = timeStr;
|
|
111
|
+
this.isOpen = false;
|
|
112
|
+
this.hbChange.emit(timeStr);
|
|
113
|
+
};
|
|
114
|
+
generateNumbers(max) {
|
|
115
|
+
return Array.from({ length: max + 1 }, (_, i) => i);
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
const hours = this.generateNumbers(23);
|
|
119
|
+
const minutes = this.generateNumbers(59);
|
|
120
|
+
const seconds = this.generateNumbers(59);
|
|
121
|
+
return (h("div", { key: '9094283db6c38172f2f03afc10a853df1e0c669c', class: {
|
|
122
|
+
'hb-time-picker': true,
|
|
123
|
+
'hb-time-picker--open': this.isOpen,
|
|
124
|
+
'hb-time-picker--disabled': this.disabled,
|
|
125
|
+
[`hb-time-picker--${this.size}`]: true,
|
|
126
|
+
} }, h("div", { key: 'f96d2140416a203cabe716024c5f885bfc695cf7', class: "hb-time-picker__input-wrapper", onClick: this.handleInputClick }, h("input", { key: '742a2e365167ab75563da2c6c0b6cc6b0d944e60', type: "text", id: this.inputId, name: this.name, class: "hb-time-picker__input", placeholder: this.placeholder, value: this.inputValue, disabled: this.disabled, readonly: true }), h("span", { key: '1be1f914701d9b2475ca33b646fd0edd0b838e28', class: "hb-time-picker__suffix" }, this.clearable && this.modelValue && (h("span", { key: 'dab0ca8babf46b0101c98f39a4b0dbfd65ba4af1', class: "hb-time-picker__clear", onClick: this.handleClear }, "\u00D7")), h("span", { key: 'adc2a72220366441cda6b93df5750247766078d6', class: "hb-time-picker__icon" }, "\uD83D\uDD50"))), this.isOpen && (h("div", { key: '8cb56572553259f7eb217c59b08f12517cc80ea0', class: "hb-time-picker__dropdown" }, h("div", { key: '0d3349183f69feb327e87837a6e7d7c779a5933e', class: "hb-time-picker__body" }, h("div", { key: 'c8a856d7fd258b35d6d4fc1cd099f06e676246ec', class: "hb-time-picker__list" }, h("div", { key: 'b0ea8ce96ccf37b7b796ede2ddf3c1174240af86', class: "hb-time-picker__list-title" }, "\u65F6"), h("div", { key: 'b64f8611176a34fc9423b4e97b2f75b2fd35b424', class: "hb-time-picker__list-content" }, hours.map((hour) => (h("div", { class: {
|
|
127
|
+
'hb-time-picker__item': true,
|
|
128
|
+
'hb-time-picker__item--selected': hour === this.selectedHour,
|
|
129
|
+
}, onClick: () => this.handleTimeSelect(hour, this.selectedMinute, this.selectedSecond) }, String(hour).padStart(2, '0')))))), h("div", { key: 'bb942f55ddae345907af5fd02e5cee5212708f5c', class: "hb-time-picker__list" }, h("div", { key: '668ea699803a436745c75eb9731c057bbeed8a1d', class: "hb-time-picker__list-title" }, "\u5206"), h("div", { key: '47a6302477dd7723c046f5f17651aea2ef538cb6', class: "hb-time-picker__list-content" }, minutes.map((minute) => (h("div", { class: {
|
|
130
|
+
'hb-time-picker__item': true,
|
|
131
|
+
'hb-time-picker__item--selected': minute === this.selectedMinute,
|
|
132
|
+
}, onClick: () => this.handleTimeSelect(this.selectedHour, minute, this.selectedSecond) }, String(minute).padStart(2, '0')))))), this.format.includes('ss') && (h("div", { key: '61d76686b06642b0af2df140723eac7f263692ae', class: "hb-time-picker__list" }, h("div", { key: 'c12f055dca542b95e3e9f4a5113c3262c4c0e406', class: "hb-time-picker__list-title" }, "\u79D2"), h("div", { key: '71ede0e6b2412009b840e3c52ec0664035db45bd', class: "hb-time-picker__list-content" }, seconds.map((second) => (h("div", { class: {
|
|
133
|
+
'hb-time-picker__item': true,
|
|
134
|
+
'hb-time-picker__item--selected': second === this.selectedSecond,
|
|
135
|
+
}, onClick: () => this.handleTimeSelect(this.selectedHour, this.selectedMinute, second) }, String(second).padStart(2, '0'))))))))))));
|
|
136
|
+
}
|
|
137
|
+
static get watchers() { return {
|
|
138
|
+
"modelValue": ["handleValueChange"]
|
|
139
|
+
}; }
|
|
140
|
+
static get style() { return HbTimePickerStyle0; }
|
|
141
|
+
}, [1, "hb-time-picker", {
|
|
142
|
+
"modelValue": [1025, "model-value"],
|
|
143
|
+
"placeholder": [1],
|
|
144
|
+
"disabled": [4],
|
|
145
|
+
"size": [1],
|
|
146
|
+
"clearable": [4],
|
|
147
|
+
"format": [1],
|
|
148
|
+
"name": [1],
|
|
149
|
+
"inputId": [1, "input-id"],
|
|
150
|
+
"isOpen": [32],
|
|
151
|
+
"inputValue": [32],
|
|
152
|
+
"selectedHour": [32],
|
|
153
|
+
"selectedMinute": [32],
|
|
154
|
+
"selectedSecond": [32]
|
|
155
|
+
}, undefined, {
|
|
156
|
+
"modelValue": ["handleValueChange"]
|
|
157
|
+
}]);
|
|
158
|
+
function defineCustomElement$1() {
|
|
159
|
+
if (typeof customElements === "undefined") {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
const components = ["hb-time-picker"];
|
|
163
|
+
components.forEach(tagName => { switch (tagName) {
|
|
164
|
+
case "hb-time-picker":
|
|
165
|
+
if (!customElements.get(tagName)) {
|
|
166
|
+
customElements.define(tagName, TimePicker);
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
} });
|
|
170
|
+
}
|
|
171
|
+
defineCustomElement$1();
|
|
172
|
+
|
|
173
|
+
const HbTimePicker = TimePicker;
|
|
174
|
+
const defineCustomElement = defineCustomElement$1;
|
|
175
|
+
|
|
176
|
+
export { HbTimePicker, defineCustomElement };
|
|
177
|
+
|
|
178
|
+
//# sourceMappingURL=hb-time-picker.js.map
|