@wirabyte/ui 0.0.0-stage → 1.0.0-beta.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/CHANGELOG.md +18 -0
- package/LICENSE +21 -0
- package/README.md +74 -2
- package/accordion/accordion.component.d.ts +126 -0
- package/accordion/accordion.module.d.ts +9 -0
- package/accordion/accordion.types.d.ts +10 -0
- package/accordion/index.d.ts +5 -0
- package/accordion/public-api.d.ts +3 -0
- package/alert/alert-dialog.base.d.ts +79 -0
- package/alert/alert-dialog.component.d.ts +8 -0
- package/alert/alert.module.d.ts +8 -0
- package/alert/alert.service.d.ts +76 -0
- package/alert/alert.types.d.ts +87 -0
- package/alert/index.d.ts +5 -0
- package/alert/public-api.d.ts +5 -0
- package/animate/animate.directive.d.ts +34 -0
- package/animate/animate.module.d.ts +11 -0
- package/animate/animate.service.d.ts +36 -0
- package/animate/animate.styles.d.ts +2 -0
- package/animate/animate.types.d.ts +20 -0
- package/animate/index.d.ts +5 -0
- package/animate/public-api.d.ts +4 -0
- package/api/index.d.ts +5 -0
- package/api/public-api.d.ts +15 -0
- package/api/shared.module.d.ts +8 -0
- package/asidemenu/asidemenu.component.d.ts +221 -0
- package/asidemenu/asidemenu.module.d.ts +9 -0
- package/asidemenu/index.d.ts +5 -0
- package/asidemenu/public-api.d.ts +2 -0
- package/autocomplete/autocomplete.base.d.ts +181 -0
- package/autocomplete/autocomplete.component.d.ts +10 -0
- package/autocomplete/autocomplete.module.d.ts +9 -0
- package/autocomplete/autocomplete.types.d.ts +10 -0
- package/autocomplete/index.d.ts +5 -0
- package/autocomplete/public-api.d.ts +4 -0
- package/avatar/avatar.component.d.ts +38 -0
- package/avatar/avatar.module.d.ts +8 -0
- package/avatar/avatar.types.d.ts +2 -0
- package/avatar/index.d.ts +5 -0
- package/avatar/public-api.d.ts +3 -0
- package/badge/badge.component.d.ts +20 -0
- package/badge/badge.directive.d.ts +32 -0
- package/badge/badge.module.d.ts +9 -0
- package/badge/badge.styles.d.ts +2 -0
- package/badge/badge.types.d.ts +3 -0
- package/badge/index.d.ts +5 -0
- package/badge/public-api.d.ts +4 -0
- package/blockui/blockui.component.d.ts +41 -0
- package/blockui/blockui.module.d.ts +8 -0
- package/blockui/index.d.ts +5 -0
- package/blockui/public-api.d.ts +2 -0
- package/bottombar/bottombar.component.d.ts +79 -0
- package/bottombar/bottombar.module.d.ts +9 -0
- package/bottombar/index.d.ts +5 -0
- package/bottombar/public-api.d.ts +2 -0
- package/breadcrumb/breadcrumb.component.d.ts +41 -0
- package/breadcrumb/breadcrumb.module.d.ts +8 -0
- package/breadcrumb/index.d.ts +5 -0
- package/breadcrumb/public-api.d.ts +2 -0
- package/button/button-class.d.ts +8 -0
- package/button/button.component.d.ts +69 -0
- package/button/button.directive.d.ts +53 -0
- package/button/button.module.d.ts +9 -0
- package/button/button.styles.d.ts +2 -0
- package/button/button.types.d.ts +8 -0
- package/button/index.d.ts +5 -0
- package/button/public-api.d.ts +7 -0
- package/card/card-slots.d.ts +11 -0
- package/card/card.component.d.ts +41 -0
- package/card/card.module.d.ts +10 -0
- package/card/card.types.d.ts +5 -0
- package/card/index.d.ts +5 -0
- package/card/public-api.d.ts +4 -0
- package/carousel/carousel.component.d.ts +169 -0
- package/carousel/carousel.module.d.ts +10 -0
- package/carousel/carousel.types.d.ts +21 -0
- package/carousel/index.d.ts +5 -0
- package/carousel/public-api.d.ts +3 -0
- package/chart/chart.component.d.ts +11 -0
- package/chart/chart.module.d.ts +8 -0
- package/chart/index.d.ts +5 -0
- package/chart/public-api.d.ts +3 -0
- package/chartjs/chartjs.base.d.ts +70 -0
- package/chartjs/chartjs.component.d.ts +10 -0
- package/chartjs/chartjs.module.d.ts +8 -0
- package/chartjs/chartjs.types.d.ts +8 -0
- package/chartjs/index.d.ts +5 -0
- package/chartjs/public-api.d.ts +4 -0
- package/checkbox/checkbox.component.d.ts +59 -0
- package/checkbox/checkbox.module.d.ts +8 -0
- package/checkbox/checkbox.styles.d.ts +2 -0
- package/checkbox/checkbox.types.d.ts +4 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +5 -0
- package/chip/chip.component.d.ts +36 -0
- package/chip/chip.module.d.ts +8 -0
- package/chip/index.d.ts +5 -0
- package/chip/public-api.d.ts +2 -0
- package/colorpicker/colorpicker.component.d.ts +87 -0
- package/colorpicker/colorpicker.module.d.ts +8 -0
- package/colorpicker/index.d.ts +5 -0
- package/colorpicker/public-api.d.ts +2 -0
- package/config/forms.d.ts +17 -0
- package/config/index.d.ts +5 -0
- package/config/initializer.d.ts +3 -0
- package/config/menu-item.d.ts +52 -0
- package/config/options.d.ts +48 -0
- package/config/popup.d.ts +48 -0
- package/config/provide.d.ts +23 -0
- package/config/public-api.d.ts +17 -0
- package/config/ripple.d.ts +2 -0
- package/config/scroll-lock.d.ts +5 -0
- package/config/severity.d.ts +5 -0
- package/config/style-loader.d.ts +12 -0
- package/config/template.d.ts +19 -0
- package/config/theme.service.d.ts +46 -0
- package/config/version-guard.d.ts +14 -0
- package/config/version.d.ts +6 -0
- package/config/wu-config.service.d.ts +24 -0
- package/confirmdialog/confirmation.service.d.ts +25 -0
- package/confirmdialog/confirmdialog.base.d.ts +110 -0
- package/confirmdialog/confirmdialog.component.d.ts +11 -0
- package/confirmdialog/confirmdialog.module.d.ts +9 -0
- package/confirmdialog/confirmdialog.types.d.ts +37 -0
- package/confirmdialog/index.d.ts +5 -0
- package/confirmdialog/public-api.d.ts +5 -0
- package/contextmenu/contextmenu.component.d.ts +47 -0
- package/contextmenu/contextmenu.module.d.ts +8 -0
- package/contextmenu/index.d.ts +5 -0
- package/contextmenu/public-api.d.ts +2 -0
- package/core/carousel.d.ts +27 -0
- package/core/catalog.d.ts +446 -0
- package/core/chart/format.d.ts +19 -0
- package/core/chart/index.d.ts +6 -0
- package/core/chart/kinds.d.ts +78 -0
- package/core/chart/model.d.ts +500 -0
- package/core/chart/more.d.ts +33 -0
- package/core/chart/paths.d.ts +41 -0
- package/core/chart/scale.d.ts +22 -0
- package/core/color.d.ts +31 -0
- package/core/colorpicker.d.ts +23 -0
- package/core/compat.d.ts +11 -0
- package/core/config.d.ts +64 -0
- package/core/date.d.ts +130 -0
- package/core/datepicker.d.ts +184 -0
- package/core/dock.d.ts +6 -0
- package/core/editor.d.ts +117 -0
- package/core/errorpage.d.ts +15 -0
- package/core/excel.d.ts +239 -0
- package/core/exporters.d.ts +18 -0
- package/core/families.d.ts +13 -0
- package/core/fileupload.d.ts +24 -0
- package/core/flow/changes.d.ts +63 -0
- package/core/flow/edges.d.ts +52 -0
- package/core/flow/export.d.ts +56 -0
- package/core/flow/geometry.d.ts +117 -0
- package/core/flow/graph.d.ts +104 -0
- package/core/flow/history.d.ts +54 -0
- package/core/flow/index.d.ts +13 -0
- package/core/flow/interaction.d.ts +140 -0
- package/core/flow/layout.d.ts +57 -0
- package/core/flow/paths.d.ts +76 -0
- package/core/flow/text.d.ts +18 -0
- package/core/flow/types.d.ts +217 -0
- package/core/flow/viewport.d.ts +48 -0
- package/core/i18n.d.ts +24 -0
- package/core/imagecompare.d.ts +12 -0
- package/core/imagecropper.d.ts +183 -0
- package/core/index.d.ts +39 -0
- package/core/inputotp.d.ts +20 -0
- package/core/knob.d.ts +28 -0
- package/core/mask.d.ts +43 -0
- package/core/menu.d.ts +29 -0
- package/core/number.d.ts +66 -0
- package/core/organizationchart.d.ts +39 -0
- package/core/overrides.d.ts +109 -0
- package/core/picklist.d.ts +81 -0
- package/core/select.d.ts +44 -0
- package/core/splitter.d.ts +17 -0
- package/core/table.d.ts +48 -0
- package/core/terminal.d.ts +12 -0
- package/core/thai/buddhist.d.ts +22 -0
- package/core/thai/locale.d.ts +358 -0
- package/core/thai/text.d.ts +32 -0
- package/core/thai/thai-id.d.ts +6 -0
- package/core/tokens.d.ts +69 -0
- package/core/tree.d.ts +50 -0
- package/core/validation.d.ts +18 -0
- package/datepicker/datepicker.component.d.ts +275 -0
- package/datepicker/datepicker.module.d.ts +8 -0
- package/datepicker/datepicker.types.d.ts +10 -0
- package/datepicker/index.d.ts +5 -0
- package/datepicker/public-api.d.ts +3 -0
- package/dialog/dialog.base.d.ts +147 -0
- package/dialog/dialog.component.d.ts +11 -0
- package/dialog/dialog.module.d.ts +10 -0
- package/dialog/dialog.service.d.ts +104 -0
- package/dialog/dialog.types.d.ts +3 -0
- package/dialog/index.d.ts +5 -0
- package/dialog/public-api.d.ts +5 -0
- package/divider/divider.component.d.ts +20 -0
- package/divider/divider.module.d.ts +8 -0
- package/divider/divider.types.d.ts +4 -0
- package/divider/index.d.ts +5 -0
- package/divider/public-api.d.ts +3 -0
- package/dock/dock.component.d.ts +88 -0
- package/dock/dock.module.d.ts +9 -0
- package/dock/index.d.ts +5 -0
- package/dock/public-api.d.ts +2 -0
- package/dragdrop/dragdrop.directive.d.ts +65 -0
- package/dragdrop/dragdrop.module.d.ts +8 -0
- package/dragdrop/dragdrop.styles.d.ts +2 -0
- package/dragdrop/index.d.ts +5 -0
- package/dragdrop/public-api.d.ts +2 -0
- package/drawer/drawer.component.d.ts +102 -0
- package/drawer/drawer.module.d.ts +8 -0
- package/drawer/index.d.ts +5 -0
- package/drawer/public-api.d.ts +5 -0
- package/editor/editor-content.directive.d.ts +10 -0
- package/editor/editor-icon.directive.d.ts +8 -0
- package/editor/editor.base.d.ts +367 -0
- package/editor/editor.component.d.ts +11 -0
- package/editor/editor.dom.d.ts +91 -0
- package/editor/editor.icons.d.ts +13 -0
- package/editor/editor.module.d.ts +10 -0
- package/editor/editor.styles.d.ts +2 -0
- package/editor/editor.types.d.ts +92 -0
- package/editor/index.d.ts +5 -0
- package/editor/public-api.d.ts +6 -0
- package/emptystate/emptystate.component.d.ts +44 -0
- package/emptystate/emptystate.module.d.ts +8 -0
- package/emptystate/index.d.ts +5 -0
- package/emptystate/public-api.d.ts +2 -0
- package/errorpage/errorpage.component.d.ts +73 -0
- package/errorpage/errorpage.module.d.ts +8 -0
- package/errorpage/index.d.ts +5 -0
- package/errorpage/public-api.d.ts +2 -0
- package/esm2020/accordion/accordion.component.mjs +376 -0
- package/esm2020/accordion/accordion.module.mjs +19 -0
- package/esm2020/accordion/accordion.types.mjs +17 -0
- package/esm2020/accordion/public-api.mjs +4 -0
- package/esm2020/accordion/wirabyte-ui-accordion.mjs +5 -0
- package/esm2020/alert/alert-dialog.base.mjs +355 -0
- package/esm2020/alert/alert-dialog.component.mjs +21 -0
- package/esm2020/alert/alert.module.mjs +17 -0
- package/esm2020/alert/alert.service.mjs +142 -0
- package/esm2020/alert/alert.types.mjs +2 -0
- package/esm2020/alert/public-api.mjs +6 -0
- package/esm2020/alert/wirabyte-ui-alert.mjs +5 -0
- package/esm2020/animate/animate.directive.mjs +71 -0
- package/esm2020/animate/animate.module.mjs +21 -0
- package/esm2020/animate/animate.service.mjs +183 -0
- package/esm2020/animate/animate.styles.mjs +3 -0
- package/esm2020/animate/animate.types.mjs +2 -0
- package/esm2020/animate/public-api.mjs +5 -0
- package/esm2020/animate/wirabyte-ui-animate.mjs +5 -0
- package/esm2020/api/public-api.mjs +11 -0
- package/esm2020/api/shared.module.mjs +17 -0
- package/esm2020/api/wirabyte-ui-api.mjs +5 -0
- package/esm2020/asidemenu/asidemenu.component.mjs +811 -0
- package/esm2020/asidemenu/asidemenu.module.mjs +18 -0
- package/esm2020/asidemenu/public-api.mjs +3 -0
- package/esm2020/asidemenu/wirabyte-ui-asidemenu.mjs +5 -0
- package/esm2020/autocomplete/autocomplete.base.mjs +567 -0
- package/esm2020/autocomplete/autocomplete.component.mjs +24 -0
- package/esm2020/autocomplete/autocomplete.module.mjs +18 -0
- package/esm2020/autocomplete/autocomplete.types.mjs +2 -0
- package/esm2020/autocomplete/public-api.mjs +5 -0
- package/esm2020/autocomplete/wirabyte-ui-autocomplete.mjs +5 -0
- package/esm2020/avatar/avatar.component.mjs +81 -0
- package/esm2020/avatar/avatar.module.mjs +17 -0
- package/esm2020/avatar/avatar.types.mjs +2 -0
- package/esm2020/avatar/public-api.mjs +4 -0
- package/esm2020/avatar/wirabyte-ui-avatar.mjs +5 -0
- package/esm2020/badge/badge.component.mjs +52 -0
- package/esm2020/badge/badge.directive.mjs +111 -0
- package/esm2020/badge/badge.module.mjs +18 -0
- package/esm2020/badge/badge.styles.mjs +3 -0
- package/esm2020/badge/badge.types.mjs +2 -0
- package/esm2020/badge/public-api.mjs +5 -0
- package/esm2020/badge/wirabyte-ui-badge.mjs +5 -0
- package/esm2020/blockui/blockui.component.mjs +152 -0
- package/esm2020/blockui/blockui.module.mjs +17 -0
- package/esm2020/blockui/public-api.mjs +3 -0
- package/esm2020/blockui/wirabyte-ui-blockui.mjs +5 -0
- package/esm2020/bottombar/bottombar.component.mjs +209 -0
- package/esm2020/bottombar/bottombar.module.mjs +18 -0
- package/esm2020/bottombar/public-api.mjs +3 -0
- package/esm2020/bottombar/wirabyte-ui-bottombar.mjs +5 -0
- package/esm2020/breadcrumb/breadcrumb.component.mjs +86 -0
- package/esm2020/breadcrumb/breadcrumb.module.mjs +17 -0
- package/esm2020/breadcrumb/public-api.mjs +3 -0
- package/esm2020/breadcrumb/wirabyte-ui-breadcrumb.mjs +5 -0
- package/esm2020/button/button-class.mjs +26 -0
- package/esm2020/button/button.component.mjs +175 -0
- package/esm2020/button/button.directive.mjs +193 -0
- package/esm2020/button/button.module.mjs +18 -0
- package/esm2020/button/button.styles.mjs +3 -0
- package/esm2020/button/button.types.mjs +2 -0
- package/esm2020/button/public-api.mjs +8 -0
- package/esm2020/button/wirabyte-ui-button.mjs +5 -0
- package/esm2020/card/card-slots.mjs +27 -0
- package/esm2020/card/card.component.mjs +88 -0
- package/esm2020/card/card.module.mjs +19 -0
- package/esm2020/card/card.types.mjs +2 -0
- package/esm2020/card/public-api.mjs +5 -0
- package/esm2020/card/wirabyte-ui-card.mjs +5 -0
- package/esm2020/carousel/carousel.component.mjs +617 -0
- package/esm2020/carousel/carousel.module.mjs +19 -0
- package/esm2020/carousel/carousel.types.mjs +2 -0
- package/esm2020/carousel/public-api.mjs +4 -0
- package/esm2020/carousel/wirabyte-ui-carousel.mjs +5 -0
- package/esm2020/chart/chart.component.mjs +42 -0
- package/esm2020/chart/chart.module.mjs +17 -0
- package/esm2020/chart/public-api.mjs +3 -0
- package/esm2020/chart/wirabyte-ui-chart.mjs +5 -0
- package/esm2020/chartjs/chartjs.base.mjs +204 -0
- package/esm2020/chartjs/chartjs.component.mjs +41 -0
- package/esm2020/chartjs/chartjs.module.mjs +17 -0
- package/esm2020/chartjs/chartjs.types.mjs +2 -0
- package/esm2020/chartjs/public-api.mjs +5 -0
- package/esm2020/chartjs/wirabyte-ui-chartjs.mjs +5 -0
- package/esm2020/checkbox/checkbox.component.mjs +140 -0
- package/esm2020/checkbox/checkbox.module.mjs +17 -0
- package/esm2020/checkbox/checkbox.styles.mjs +3 -0
- package/esm2020/checkbox/checkbox.types.mjs +2 -0
- package/esm2020/checkbox/public-api.mjs +6 -0
- package/esm2020/checkbox/wirabyte-ui-checkbox.mjs +5 -0
- package/esm2020/chip/chip.component.mjs +76 -0
- package/esm2020/chip/chip.module.mjs +17 -0
- package/esm2020/chip/public-api.mjs +3 -0
- package/esm2020/chip/wirabyte-ui-chip.mjs +5 -0
- package/esm2020/colorpicker/colorpicker.component.mjs +308 -0
- package/esm2020/colorpicker/colorpicker.module.mjs +17 -0
- package/esm2020/colorpicker/public-api.mjs +3 -0
- package/esm2020/colorpicker/wirabyte-ui-colorpicker.mjs +5 -0
- package/esm2020/config/forms.mjs +38 -0
- package/esm2020/config/initializer.mjs +6 -0
- package/esm2020/config/menu-item.mjs +2 -0
- package/esm2020/config/options.mjs +3 -0
- package/esm2020/config/popup.mjs +153 -0
- package/esm2020/config/provide.mjs +45 -0
- package/esm2020/config/public-api.mjs +17 -0
- package/esm2020/config/ripple.mjs +13 -0
- package/esm2020/config/scroll-lock.mjs +31 -0
- package/esm2020/config/severity.mjs +9 -0
- package/esm2020/config/style-loader.mjs +32 -0
- package/esm2020/config/template.mjs +46 -0
- package/esm2020/config/theme.service.mjs +161 -0
- package/esm2020/config/version-guard.mjs +43 -0
- package/esm2020/config/version.mjs +3 -0
- package/esm2020/config/wirabyte-ui-config.mjs +5 -0
- package/esm2020/config/wu-config.service.mjs +50 -0
- package/esm2020/confirmdialog/confirmation.service.mjs +78 -0
- package/esm2020/confirmdialog/confirmdialog.base.mjs +274 -0
- package/esm2020/confirmdialog/confirmdialog.component.mjs +22 -0
- package/esm2020/confirmdialog/confirmdialog.module.mjs +18 -0
- package/esm2020/confirmdialog/confirmdialog.types.mjs +8 -0
- package/esm2020/confirmdialog/public-api.mjs +6 -0
- package/esm2020/confirmdialog/wirabyte-ui-confirmdialog.mjs +5 -0
- package/esm2020/contextmenu/contextmenu.component.mjs +159 -0
- package/esm2020/contextmenu/contextmenu.module.mjs +17 -0
- package/esm2020/contextmenu/public-api.mjs +3 -0
- package/esm2020/contextmenu/wirabyte-ui-contextmenu.mjs +5 -0
- package/esm2020/core/carousel.mjs +62 -0
- package/esm2020/core/catalog.mjs +203 -0
- package/esm2020/core/chart/format.mjs +66 -0
- package/esm2020/core/chart/index.mjs +7 -0
- package/esm2020/core/chart/kinds.mjs +1336 -0
- package/esm2020/core/chart/model.mjs +713 -0
- package/esm2020/core/chart/more.mjs +311 -0
- package/esm2020/core/chart/paths.mjs +160 -0
- package/esm2020/core/chart/scale.mjs +58 -0
- package/esm2020/core/color.mjs +94 -0
- package/esm2020/core/colorpicker.mjs +73 -0
- package/esm2020/core/compat.mjs +149 -0
- package/esm2020/core/config.mjs +163 -0
- package/esm2020/core/date.mjs +317 -0
- package/esm2020/core/datepicker.mjs +526 -0
- package/esm2020/core/dock.mjs +14 -0
- package/esm2020/core/editor.mjs +271 -0
- package/esm2020/core/errorpage.mjs +47 -0
- package/esm2020/core/excel.mjs +809 -0
- package/esm2020/core/exporters.mjs +241 -0
- package/esm2020/core/families.mjs +1756 -0
- package/esm2020/core/fileupload.mjs +48 -0
- package/esm2020/core/flow/changes.mjs +205 -0
- package/esm2020/core/flow/edges.mjs +87 -0
- package/esm2020/core/flow/export.mjs +231 -0
- package/esm2020/core/flow/geometry.mjs +309 -0
- package/esm2020/core/flow/graph.mjs +314 -0
- package/esm2020/core/flow/history.mjs +105 -0
- package/esm2020/core/flow/index.mjs +14 -0
- package/esm2020/core/flow/interaction.mjs +246 -0
- package/esm2020/core/flow/layout.mjs +586 -0
- package/esm2020/core/flow/paths.mjs +252 -0
- package/esm2020/core/flow/text.mjs +68 -0
- package/esm2020/core/flow/types.mjs +7 -0
- package/esm2020/core/flow/viewport.mjs +133 -0
- package/esm2020/core/i18n.mjs +78 -0
- package/esm2020/core/imagecompare.mjs +28 -0
- package/esm2020/core/imagecropper.mjs +483 -0
- package/esm2020/core/index.mjs +40 -0
- package/esm2020/core/inputotp.mjs +50 -0
- package/esm2020/core/knob.mjs +106 -0
- package/esm2020/core/mask.mjs +112 -0
- package/esm2020/core/menu.mjs +77 -0
- package/esm2020/core/number.mjs +131 -0
- package/esm2020/core/organizationchart.mjs +84 -0
- package/esm2020/core/overrides.mjs +169 -0
- package/esm2020/core/picklist.mjs +248 -0
- package/esm2020/core/select.mjs +161 -0
- package/esm2020/core/splitter.mjs +63 -0
- package/esm2020/core/table.mjs +174 -0
- package/esm2020/core/terminal.mjs +29 -0
- package/esm2020/core/thai/buddhist.mjs +129 -0
- package/esm2020/core/thai/locale.mjs +652 -0
- package/esm2020/core/thai/text.mjs +164 -0
- package/esm2020/core/thai/thai-id.mjs +22 -0
- package/esm2020/core/tokens.mjs +314 -0
- package/esm2020/core/tree.mjs +137 -0
- package/esm2020/core/validation.mjs +43 -0
- package/esm2020/core/wirabyte-ui-core.mjs +5 -0
- package/esm2020/datepicker/datepicker.component.mjs +921 -0
- package/esm2020/datepicker/datepicker.module.mjs +17 -0
- package/esm2020/datepicker/datepicker.types.mjs +2 -0
- package/esm2020/datepicker/public-api.mjs +4 -0
- package/esm2020/datepicker/wirabyte-ui-datepicker.mjs +5 -0
- package/esm2020/dialog/dialog.base.mjs +433 -0
- package/esm2020/dialog/dialog.component.mjs +18 -0
- package/esm2020/dialog/dialog.module.mjs +19 -0
- package/esm2020/dialog/dialog.service.mjs +237 -0
- package/esm2020/dialog/dialog.types.mjs +2 -0
- package/esm2020/dialog/public-api.mjs +6 -0
- package/esm2020/dialog/wirabyte-ui-dialog.mjs +5 -0
- package/esm2020/divider/divider.component.mjs +56 -0
- package/esm2020/divider/divider.module.mjs +17 -0
- package/esm2020/divider/divider.types.mjs +2 -0
- package/esm2020/divider/public-api.mjs +4 -0
- package/esm2020/divider/wirabyte-ui-divider.mjs +5 -0
- package/esm2020/dock/dock.component.mjs +287 -0
- package/esm2020/dock/dock.module.mjs +18 -0
- package/esm2020/dock/public-api.mjs +3 -0
- package/esm2020/dock/wirabyte-ui-dock.mjs +5 -0
- package/esm2020/dragdrop/dragdrop.directive.mjs +206 -0
- package/esm2020/dragdrop/dragdrop.module.mjs +17 -0
- package/esm2020/dragdrop/dragdrop.styles.mjs +3 -0
- package/esm2020/dragdrop/public-api.mjs +3 -0
- package/esm2020/dragdrop/wirabyte-ui-dragdrop.mjs +5 -0
- package/esm2020/drawer/drawer.component.mjs +300 -0
- package/esm2020/drawer/drawer.module.mjs +17 -0
- package/esm2020/drawer/public-api.mjs +6 -0
- package/esm2020/drawer/wirabyte-ui-drawer.mjs +5 -0
- package/esm2020/editor/editor-content.directive.mjs +24 -0
- package/esm2020/editor/editor-icon.directive.mjs +24 -0
- package/esm2020/editor/editor.base.mjs +2082 -0
- package/esm2020/editor/editor.component.mjs +20 -0
- package/esm2020/editor/editor.dom.mjs +787 -0
- package/esm2020/editor/editor.icons.mjs +106 -0
- package/esm2020/editor/editor.module.mjs +19 -0
- package/esm2020/editor/editor.styles.mjs +3 -0
- package/esm2020/editor/editor.types.mjs +6 -0
- package/esm2020/editor/public-api.mjs +7 -0
- package/esm2020/editor/wirabyte-ui-editor.mjs +5 -0
- package/esm2020/emptystate/emptystate.component.mjs +78 -0
- package/esm2020/emptystate/emptystate.module.mjs +17 -0
- package/esm2020/emptystate/public-api.mjs +3 -0
- package/esm2020/emptystate/wirabyte-ui-emptystate.mjs +5 -0
- package/esm2020/errorpage/errorpage.component.mjs +163 -0
- package/esm2020/errorpage/errorpage.module.mjs +17 -0
- package/esm2020/errorpage/public-api.mjs +3 -0
- package/esm2020/errorpage/wirabyte-ui-errorpage.mjs +5 -0
- package/esm2020/excel/excel.mjs +35 -0
- package/esm2020/excel/public-api.mjs +3 -0
- package/esm2020/excel/wirabyte-ui-excel.mjs +5 -0
- package/esm2020/fieldset/fieldset.component.mjs +74 -0
- package/esm2020/fieldset/fieldset.module.mjs +18 -0
- package/esm2020/fieldset/public-api.mjs +3 -0
- package/esm2020/fieldset/wirabyte-ui-fieldset.mjs +5 -0
- package/esm2020/fileupload/fileupload.base.mjs +563 -0
- package/esm2020/fileupload/fileupload.component.mjs +19 -0
- package/esm2020/fileupload/fileupload.module.mjs +18 -0
- package/esm2020/fileupload/fileupload.types.mjs +2 -0
- package/esm2020/fileupload/public-api.mjs +5 -0
- package/esm2020/fileupload/wirabyte-ui-fileupload.mjs +5 -0
- package/esm2020/floatlabel/floatlabel.component.mjs +53 -0
- package/esm2020/floatlabel/floatlabel.module.mjs +17 -0
- package/esm2020/floatlabel/floatlabel.types.mjs +2 -0
- package/esm2020/floatlabel/public-api.mjs +4 -0
- package/esm2020/floatlabel/wirabyte-ui-floatlabel.mjs +5 -0
- package/esm2020/flow/flow-background.component.mjs +183 -0
- package/esm2020/flow/flow-controls.component.mjs +267 -0
- package/esm2020/flow/flow-handle.component.mjs +130 -0
- package/esm2020/flow/flow-history.directive.mjs +129 -0
- package/esm2020/flow/flow-host.mjs +7 -0
- package/esm2020/flow/flow-minimap.component.mjs +322 -0
- package/esm2020/flow/flow-node-outlet.mjs +148 -0
- package/esm2020/flow/flow-node-resizer.component.mjs +208 -0
- package/esm2020/flow/flow-node-toolbar.component.mjs +119 -0
- package/esm2020/flow/flow-panel.component.mjs +37 -0
- package/esm2020/flow/flow-templates.mjs +100 -0
- package/esm2020/flow/flow.component.mjs +3245 -0
- package/esm2020/flow/flow.module.mjs +76 -0
- package/esm2020/flow/flow.types.mjs +7 -0
- package/esm2020/flow/public-api.mjs +17 -0
- package/esm2020/flow/wirabyte-ui-flow.mjs +5 -0
- package/esm2020/galleria/galleria.component.mjs +480 -0
- package/esm2020/galleria/galleria.module.mjs +17 -0
- package/esm2020/galleria/public-api.mjs +3 -0
- package/esm2020/galleria/wirabyte-ui-galleria.mjs +5 -0
- package/esm2020/i18n/i18n.module.mjs +37 -0
- package/esm2020/i18n/i18n.service.mjs +148 -0
- package/esm2020/i18n/i18n.types.mjs +3 -0
- package/esm2020/i18n/language-switch.component.mjs +91 -0
- package/esm2020/i18n/public-api.mjs +7 -0
- package/esm2020/i18n/translate.pipe.mjs +52 -0
- package/esm2020/i18n/wirabyte-ui-i18n.mjs +5 -0
- package/esm2020/iconfield/iconfield.component.mjs +73 -0
- package/esm2020/iconfield/iconfield.module.mjs +17 -0
- package/esm2020/iconfield/public-api.mjs +3 -0
- package/esm2020/iconfield/wirabyte-ui-iconfield.mjs +5 -0
- package/esm2020/image/image.base.mjs +183 -0
- package/esm2020/image/image.component.mjs +14 -0
- package/esm2020/image/image.module.mjs +18 -0
- package/esm2020/image/public-api.mjs +4 -0
- package/esm2020/image/wirabyte-ui-image.mjs +5 -0
- package/esm2020/imagecompare/imagecompare.component.mjs +200 -0
- package/esm2020/imagecompare/imagecompare.module.mjs +18 -0
- package/esm2020/imagecompare/public-api.mjs +3 -0
- package/esm2020/imagecompare/wirabyte-ui-imagecompare.mjs +5 -0
- package/esm2020/imagecropper/imagecropper.component.mjs +1253 -0
- package/esm2020/imagecropper/imagecropper.module.mjs +17 -0
- package/esm2020/imagecropper/imagecropper.types.mjs +6 -0
- package/esm2020/imagecropper/public-api.mjs +5 -0
- package/esm2020/imagecropper/wirabyte-ui-imagecropper.mjs +5 -0
- package/esm2020/inplace/inplace.component.mjs +145 -0
- package/esm2020/inplace/inplace.module.mjs +17 -0
- package/esm2020/inplace/public-api.mjs +3 -0
- package/esm2020/inplace/wirabyte-ui-inplace.mjs +5 -0
- package/esm2020/inputgroup/inputgroup.component.mjs +61 -0
- package/esm2020/inputgroup/inputgroup.module.mjs +17 -0
- package/esm2020/inputgroup/public-api.mjs +3 -0
- package/esm2020/inputgroup/wirabyte-ui-inputgroup.mjs +5 -0
- package/esm2020/inputmask/inputmask.base.mjs +319 -0
- package/esm2020/inputmask/inputmask.component.mjs +23 -0
- package/esm2020/inputmask/inputmask.module.mjs +17 -0
- package/esm2020/inputmask/public-api.mjs +4 -0
- package/esm2020/inputmask/wirabyte-ui-inputmask.mjs +5 -0
- package/esm2020/inputnumber/inputnumber.component.mjs +364 -0
- package/esm2020/inputnumber/inputnumber.module.mjs +17 -0
- package/esm2020/inputnumber/inputnumber.types.mjs +2 -0
- package/esm2020/inputnumber/public-api.mjs +4 -0
- package/esm2020/inputnumber/wirabyte-ui-inputnumber.mjs +5 -0
- package/esm2020/inputotp/inputotp.component.mjs +344 -0
- package/esm2020/inputotp/inputotp.module.mjs +18 -0
- package/esm2020/inputotp/inputotp.types.mjs +2 -0
- package/esm2020/inputotp/public-api.mjs +4 -0
- package/esm2020/inputotp/wirabyte-ui-inputotp.mjs +5 -0
- package/esm2020/inputtext/inputtext.directive.mjs +62 -0
- package/esm2020/inputtext/inputtext.module.mjs +17 -0
- package/esm2020/inputtext/inputtext.styles.mjs +3 -0
- package/esm2020/inputtext/inputtext.types.mjs +2 -0
- package/esm2020/inputtext/public-api.mjs +6 -0
- package/esm2020/inputtext/wirabyte-ui-inputtext.mjs +5 -0
- package/esm2020/keyfilter/keyfilter.directive.mjs +131 -0
- package/esm2020/keyfilter/keyfilter.module.mjs +17 -0
- package/esm2020/keyfilter/public-api.mjs +3 -0
- package/esm2020/keyfilter/wirabyte-ui-keyfilter.mjs +5 -0
- package/esm2020/knob/knob.component.mjs +207 -0
- package/esm2020/knob/knob.module.mjs +17 -0
- package/esm2020/knob/public-api.mjs +3 -0
- package/esm2020/knob/wirabyte-ui-knob.mjs +5 -0
- package/esm2020/listbox/listbox.component.mjs +520 -0
- package/esm2020/listbox/listbox.module.mjs +17 -0
- package/esm2020/listbox/public-api.mjs +3 -0
- package/esm2020/listbox/wirabyte-ui-listbox.mjs +5 -0
- package/esm2020/menu/menu.base.mjs +320 -0
- package/esm2020/menu/menu.component.mjs +19 -0
- package/esm2020/menu/menu.module.mjs +18 -0
- package/esm2020/menu/public-api.mjs +4 -0
- package/esm2020/menu/wirabyte-ui-menu.mjs +5 -0
- package/esm2020/menubar/menubar.base.mjs +568 -0
- package/esm2020/menubar/menubar.component.mjs +19 -0
- package/esm2020/menubar/menubar.module.mjs +18 -0
- package/esm2020/menubar/public-api.mjs +4 -0
- package/esm2020/menubar/wirabyte-ui-menubar.mjs +5 -0
- package/esm2020/message/message.component.mjs +107 -0
- package/esm2020/message/message.module.mjs +20 -0
- package/esm2020/message/message.types.mjs +2 -0
- package/esm2020/message/messages.base.mjs +109 -0
- package/esm2020/message/messages.component.mjs +62 -0
- package/esm2020/message/public-api.mjs +6 -0
- package/esm2020/message/wirabyte-ui-message.mjs +5 -0
- package/esm2020/metergroup/metergroup.component.mjs +146 -0
- package/esm2020/metergroup/metergroup.module.mjs +17 -0
- package/esm2020/metergroup/metergroup.types.mjs +26 -0
- package/esm2020/metergroup/public-api.mjs +4 -0
- package/esm2020/metergroup/wirabyte-ui-metergroup.mjs +5 -0
- package/esm2020/multiselect/multiselect.base.mjs +732 -0
- package/esm2020/multiselect/multiselect.component.mjs +26 -0
- package/esm2020/multiselect/multiselect.module.mjs +18 -0
- package/esm2020/multiselect/multiselect.styles.mjs +3 -0
- package/esm2020/multiselect/multiselect.types.mjs +2 -0
- package/esm2020/multiselect/public-api.mjs +6 -0
- package/esm2020/multiselect/wirabyte-ui-multiselect.mjs +5 -0
- package/esm2020/navbar/navbar.component.mjs +460 -0
- package/esm2020/navbar/navbar.module.mjs +18 -0
- package/esm2020/navbar/public-api.mjs +3 -0
- package/esm2020/navbar/wirabyte-ui-navbar.mjs +5 -0
- package/esm2020/orderlist/orderlist.base.mjs +411 -0
- package/esm2020/orderlist/orderlist.component.mjs +17 -0
- package/esm2020/orderlist/orderlist.module.mjs +18 -0
- package/esm2020/orderlist/orderlist.types.mjs +2 -0
- package/esm2020/orderlist/public-api.mjs +5 -0
- package/esm2020/orderlist/wirabyte-ui-orderlist.mjs +5 -0
- package/esm2020/organizationchart/organizationchart.component.mjs +200 -0
- package/esm2020/organizationchart/organizationchart.module.mjs +18 -0
- package/esm2020/organizationchart/organizationchart.types.mjs +2 -0
- package/esm2020/organizationchart/public-api.mjs +4 -0
- package/esm2020/organizationchart/wirabyte-ui-organizationchart.mjs +5 -0
- package/esm2020/paginator/paginator.base.mjs +188 -0
- package/esm2020/paginator/paginator.component.mjs +20 -0
- package/esm2020/paginator/paginator.module.mjs +17 -0
- package/esm2020/paginator/paginator.types.mjs +2 -0
- package/esm2020/paginator/public-api.mjs +5 -0
- package/esm2020/paginator/wirabyte-ui-paginator.mjs +5 -0
- package/esm2020/panel/panel.component.mjs +108 -0
- package/esm2020/panel/panel.module.mjs +19 -0
- package/esm2020/panel/panel.types.mjs +2 -0
- package/esm2020/panel/public-api.mjs +4 -0
- package/esm2020/panel/wirabyte-ui-panel.mjs +5 -0
- package/esm2020/panelmenu/panelmenu.base.mjs +181 -0
- package/esm2020/panelmenu/panelmenu.component.mjs +15 -0
- package/esm2020/panelmenu/panelmenu.module.mjs +18 -0
- package/esm2020/panelmenu/public-api.mjs +4 -0
- package/esm2020/panelmenu/wirabyte-ui-panelmenu.mjs +5 -0
- package/esm2020/password/password.component.mjs +233 -0
- package/esm2020/password/password.module.mjs +17 -0
- package/esm2020/password/password.types.mjs +14 -0
- package/esm2020/password/public-api.mjs +4 -0
- package/esm2020/password/wirabyte-ui-password.mjs +5 -0
- package/esm2020/picklist/list-drag.mjs +259 -0
- package/esm2020/picklist/picklist.base.mjs +649 -0
- package/esm2020/picklist/picklist.component.mjs +17 -0
- package/esm2020/picklist/picklist.module.mjs +18 -0
- package/esm2020/picklist/picklist.styles.mjs +3 -0
- package/esm2020/picklist/picklist.types.mjs +2 -0
- package/esm2020/picklist/public-api.mjs +8 -0
- package/esm2020/picklist/wirabyte-ui-picklist.mjs +5 -0
- package/esm2020/popover/popover.base.mjs +171 -0
- package/esm2020/popover/popover.component.mjs +17 -0
- package/esm2020/popover/popover.module.mjs +18 -0
- package/esm2020/popover/public-api.mjs +4 -0
- package/esm2020/popover/wirabyte-ui-popover.mjs +5 -0
- package/esm2020/presets/public-api.mjs +5 -0
- package/esm2020/presets/wirabyte-ui-presets.mjs +5 -0
- package/esm2020/progressbar/progressbar.component.mjs +117 -0
- package/esm2020/progressbar/progressbar.module.mjs +17 -0
- package/esm2020/progressbar/progressbar.types.mjs +19 -0
- package/esm2020/progressbar/public-api.mjs +4 -0
- package/esm2020/progressbar/wirabyte-ui-progressbar.mjs +5 -0
- package/esm2020/progressspinner/progressspinner.component.mjs +109 -0
- package/esm2020/progressspinner/progressspinner.module.mjs +17 -0
- package/esm2020/progressspinner/progressspinner.types.mjs +27 -0
- package/esm2020/progressspinner/public-api.mjs +4 -0
- package/esm2020/progressspinner/wirabyte-ui-progressspinner.mjs +5 -0
- package/esm2020/public-api.mjs +3 -0
- package/esm2020/radiobutton/public-api.mjs +7 -0
- package/esm2020/radiobutton/radio-registry.mjs +40 -0
- package/esm2020/radiobutton/radiobutton.component.mjs +125 -0
- package/esm2020/radiobutton/radiobutton.module.mjs +17 -0
- package/esm2020/radiobutton/radiobutton.styles.mjs +3 -0
- package/esm2020/radiobutton/radiobutton.types.mjs +2 -0
- package/esm2020/radiobutton/wirabyte-ui-radiobutton.mjs +5 -0
- package/esm2020/rating/public-api.mjs +4 -0
- package/esm2020/rating/rating.component.mjs +107 -0
- package/esm2020/rating/rating.module.mjs +17 -0
- package/esm2020/rating/rating.types.mjs +2 -0
- package/esm2020/rating/wirabyte-ui-rating.mjs +5 -0
- package/esm2020/result/public-api.mjs +3 -0
- package/esm2020/result/result.component.mjs +72 -0
- package/esm2020/result/result.module.mjs +17 -0
- package/esm2020/result/wirabyte-ui-result.mjs +5 -0
- package/esm2020/ripple/public-api.mjs +3 -0
- package/esm2020/ripple/ripple.directive.mjs +43 -0
- package/esm2020/ripple/ripple.module.mjs +17 -0
- package/esm2020/ripple/ripple.styles.mjs +3 -0
- package/esm2020/ripple/wirabyte-ui-ripple.mjs +5 -0
- package/esm2020/scroller/public-api.mjs +6 -0
- package/esm2020/scroller/scroller.component.mjs +305 -0
- package/esm2020/scroller/scroller.module.mjs +17 -0
- package/esm2020/scroller/wirabyte-ui-scroller.mjs +5 -0
- package/esm2020/scrollpanel/public-api.mjs +3 -0
- package/esm2020/scrollpanel/scrollpanel.component.mjs +67 -0
- package/esm2020/scrollpanel/scrollpanel.module.mjs +17 -0
- package/esm2020/scrollpanel/wirabyte-ui-scrollpanel.mjs +5 -0
- package/esm2020/select/public-api.mjs +7 -0
- package/esm2020/select/select.base.mjs +667 -0
- package/esm2020/select/select.component.mjs +26 -0
- package/esm2020/select/select.module.mjs +17 -0
- package/esm2020/select/select.styles.mjs +3 -0
- package/esm2020/select/select.types.mjs +2 -0
- package/esm2020/select/wirabyte-ui-select.mjs +5 -0
- package/esm2020/selectbutton/public-api.mjs +4 -0
- package/esm2020/selectbutton/selectbutton.component.mjs +174 -0
- package/esm2020/selectbutton/selectbutton.module.mjs +18 -0
- package/esm2020/selectbutton/selectbutton.types.mjs +2 -0
- package/esm2020/selectbutton/wirabyte-ui-selectbutton.mjs +5 -0
- package/esm2020/sitefooter/public-api.mjs +3 -0
- package/esm2020/sitefooter/sitefooter.component.mjs +139 -0
- package/esm2020/sitefooter/sitefooter.module.mjs +18 -0
- package/esm2020/sitefooter/wirabyte-ui-sitefooter.mjs +5 -0
- package/esm2020/skeleton/public-api.mjs +4 -0
- package/esm2020/skeleton/skeleton.component.mjs +51 -0
- package/esm2020/skeleton/skeleton.module.mjs +17 -0
- package/esm2020/skeleton/skeleton.types.mjs +2 -0
- package/esm2020/skeleton/wirabyte-ui-skeleton.mjs +5 -0
- package/esm2020/slider/public-api.mjs +3 -0
- package/esm2020/slider/slider.component.mjs +247 -0
- package/esm2020/slider/slider.module.mjs +17 -0
- package/esm2020/slider/wirabyte-ui-slider.mjs +5 -0
- package/esm2020/splitbutton/public-api.mjs +3 -0
- package/esm2020/splitbutton/splitbutton.component.mjs +180 -0
- package/esm2020/splitbutton/splitbutton.module.mjs +17 -0
- package/esm2020/splitbutton/wirabyte-ui-splitbutton.mjs +5 -0
- package/esm2020/splitter/public-api.mjs +5 -0
- package/esm2020/splitter/splitter-panel.component.mjs +32 -0
- package/esm2020/splitter/splitter.component.mjs +372 -0
- package/esm2020/splitter/splitter.module.mjs +19 -0
- package/esm2020/splitter/splitter.types.mjs +2 -0
- package/esm2020/splitter/wirabyte-ui-splitter.mjs +5 -0
- package/esm2020/stepper/public-api.mjs +4 -0
- package/esm2020/stepper/stepper.base.mjs +392 -0
- package/esm2020/stepper/stepper.component.mjs +191 -0
- package/esm2020/stepper/stepper.module.mjs +19 -0
- package/esm2020/stepper/wirabyte-ui-stepper.mjs +5 -0
- package/esm2020/steps/public-api.mjs +4 -0
- package/esm2020/steps/steps.base.mjs +148 -0
- package/esm2020/steps/steps.component.mjs +15 -0
- package/esm2020/steps/steps.module.mjs +17 -0
- package/esm2020/steps/wirabyte-ui-steps.mjs +5 -0
- package/esm2020/table/public-api.mjs +10 -0
- package/esm2020/table/table-celleditor.component.mjs +34 -0
- package/esm2020/table/table-filter.component.mjs +123 -0
- package/esm2020/table/table.base.mjs +1443 -0
- package/esm2020/table/table.celleditor.mjs +42 -0
- package/esm2020/table/table.component.mjs +21 -0
- package/esm2020/table/table.directives.mjs +1117 -0
- package/esm2020/table/table.filter.mjs +346 -0
- package/esm2020/table/table.module.mjs +99 -0
- package/esm2020/table/table.types.mjs +3 -0
- package/esm2020/table/wirabyte-ui-table.mjs +5 -0
- package/esm2020/tabmenu/public-api.mjs +3 -0
- package/esm2020/tabmenu/wirabyte-ui-tabmenu.mjs +5 -0
- package/esm2020/tabs/public-api.mjs +9 -0
- package/esm2020/tabs/tabmenu.base.mjs +196 -0
- package/esm2020/tabs/tabmenu.component.mjs +18 -0
- package/esm2020/tabs/tabmenu.module.mjs +18 -0
- package/esm2020/tabs/tabs.component.mjs +477 -0
- package/esm2020/tabs/tabs.module.mjs +20 -0
- package/esm2020/tabs/tabs.styles.mjs +3 -0
- package/esm2020/tabs/tabs.types.mjs +50 -0
- package/esm2020/tabs/wirabyte-ui-tabs.mjs +5 -0
- package/esm2020/tag/public-api.mjs +4 -0
- package/esm2020/tag/tag.component.mjs +52 -0
- package/esm2020/tag/tag.module.mjs +17 -0
- package/esm2020/tag/tag.types.mjs +2 -0
- package/esm2020/tag/wirabyte-ui-tag.mjs +5 -0
- package/esm2020/terminal/public-api.mjs +6 -0
- package/esm2020/terminal/terminal.component.mjs +150 -0
- package/esm2020/terminal/terminal.module.mjs +17 -0
- package/esm2020/terminal/terminal.service.mjs +35 -0
- package/esm2020/terminal/wirabyte-ui-terminal.mjs +5 -0
- package/esm2020/textarea/public-api.mjs +3 -0
- package/esm2020/textarea/textarea.directive.mjs +87 -0
- package/esm2020/textarea/textarea.module.mjs +17 -0
- package/esm2020/textarea/wirabyte-ui-textarea.mjs +5 -0
- package/esm2020/thai/public-api.mjs +4 -0
- package/esm2020/thai/thai.module.mjs +18 -0
- package/esm2020/thai/thai.pipes.mjs +115 -0
- package/esm2020/thai/wirabyte-ui-thai.mjs +5 -0
- package/esm2020/tieredmenu/public-api.mjs +3 -0
- package/esm2020/tieredmenu/tieredmenu.component.mjs +385 -0
- package/esm2020/tieredmenu/tieredmenu.module.mjs +17 -0
- package/esm2020/tieredmenu/wirabyte-ui-tieredmenu.mjs +5 -0
- package/esm2020/timeline/public-api.mjs +4 -0
- package/esm2020/timeline/timeline.base.mjs +66 -0
- package/esm2020/timeline/timeline.component.mjs +46 -0
- package/esm2020/timeline/timeline.module.mjs +18 -0
- package/esm2020/timeline/wirabyte-ui-timeline.mjs +5 -0
- package/esm2020/toast/message.service.mjs +34 -0
- package/esm2020/toast/public-api.mjs +6 -0
- package/esm2020/toast/toast.base.mjs +227 -0
- package/esm2020/toast/toast.component.mjs +17 -0
- package/esm2020/toast/toast.module.mjs +18 -0
- package/esm2020/toast/toast.types.mjs +2 -0
- package/esm2020/toast/wirabyte-ui-toast.mjs +5 -0
- package/esm2020/togglebutton/public-api.mjs +4 -0
- package/esm2020/togglebutton/togglebutton.component.mjs +129 -0
- package/esm2020/togglebutton/togglebutton.module.mjs +17 -0
- package/esm2020/togglebutton/togglebutton.types.mjs +2 -0
- package/esm2020/togglebutton/wirabyte-ui-togglebutton.mjs +5 -0
- package/esm2020/toggleswitch/public-api.mjs +4 -0
- package/esm2020/toggleswitch/toggleswitch.component.mjs +123 -0
- package/esm2020/toggleswitch/toggleswitch.module.mjs +17 -0
- package/esm2020/toggleswitch/toggleswitch.types.mjs +2 -0
- package/esm2020/toggleswitch/wirabyte-ui-toggleswitch.mjs +5 -0
- package/esm2020/toolbar/public-api.mjs +3 -0
- package/esm2020/toolbar/toolbar.component.mjs +67 -0
- package/esm2020/toolbar/toolbar.module.mjs +18 -0
- package/esm2020/toolbar/wirabyte-ui-toolbar.mjs +5 -0
- package/esm2020/tooltip/public-api.mjs +4 -0
- package/esm2020/tooltip/tooltip.directive.mjs +370 -0
- package/esm2020/tooltip/tooltip.module.mjs +17 -0
- package/esm2020/tooltip/tooltip.styles.mjs +3 -0
- package/esm2020/tooltip/tooltip.types.mjs +2 -0
- package/esm2020/tooltip/wirabyte-ui-tooltip.mjs +5 -0
- package/esm2020/tree/public-api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +453 -0
- package/esm2020/tree/tree.module.mjs +17 -0
- package/esm2020/tree/wirabyte-ui-tree.mjs +5 -0
- package/esm2020/treeselect/public-api.mjs +3 -0
- package/esm2020/treeselect/treeselect.component.mjs +410 -0
- package/esm2020/treeselect/treeselect.module.mjs +17 -0
- package/esm2020/treeselect/wirabyte-ui-treeselect.mjs +5 -0
- package/esm2020/validation/field-error.component.mjs +84 -0
- package/esm2020/validation/public-api.mjs +4 -0
- package/esm2020/validation/validation.module.mjs +19 -0
- package/esm2020/validation/validators.mjs +84 -0
- package/esm2020/validation/wirabyte-ui-validation.mjs +5 -0
- package/esm2020/wirabyte-ui.mjs +5 -0
- package/excel/excel.d.ts +24 -0
- package/excel/index.d.ts +5 -0
- package/excel/public-api.d.ts +3 -0
- package/fesm2015/wirabyte-ui-accordion.mjs +416 -0
- package/fesm2015/wirabyte-ui-accordion.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-alert.mjs +555 -0
- package/fesm2015/wirabyte-ui-alert.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-animate.mjs +280 -0
- package/fesm2015/wirabyte-ui-animate.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-api.mjs +34 -0
- package/fesm2015/wirabyte-ui-api.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-asidemenu.mjs +848 -0
- package/fesm2015/wirabyte-ui-asidemenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-autocomplete.mjs +619 -0
- package/fesm2015/wirabyte-ui-autocomplete.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-avatar.mjs +103 -0
- package/fesm2015/wirabyte-ui-avatar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-badge.mjs +185 -0
- package/fesm2015/wirabyte-ui-badge.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-blockui.mjs +176 -0
- package/fesm2015/wirabyte-ui-blockui.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-bottombar.mjs +237 -0
- package/fesm2015/wirabyte-ui-bottombar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-breadcrumb.mjs +109 -0
- package/fesm2015/wirabyte-ui-breadcrumb.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-button.mjs +415 -0
- package/fesm2015/wirabyte-ui-button.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-card.mjs +134 -0
- package/fesm2015/wirabyte-ui-card.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-carousel.mjs +647 -0
- package/fesm2015/wirabyte-ui-carousel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-chart.mjs +63 -0
- package/fesm2015/wirabyte-ui-chart.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-chartjs.mjs +268 -0
- package/fesm2015/wirabyte-ui-chartjs.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-checkbox.mjs +164 -0
- package/fesm2015/wirabyte-ui-checkbox.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-chip.mjs +97 -0
- package/fesm2015/wirabyte-ui-chip.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-colorpicker.mjs +333 -0
- package/fesm2015/wirabyte-ui-colorpicker.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-config.mjs +624 -0
- package/fesm2015/wirabyte-ui-config.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-confirmdialog.mjs +421 -0
- package/fesm2015/wirabyte-ui-confirmdialog.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-contextmenu.mjs +185 -0
- package/fesm2015/wirabyte-ui-contextmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-core.mjs +13312 -0
- package/fesm2015/wirabyte-ui-core.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-datepicker.mjs +951 -0
- package/fesm2015/wirabyte-ui-datepicker.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-dialog.mjs +707 -0
- package/fesm2015/wirabyte-ui-dialog.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-divider.mjs +77 -0
- package/fesm2015/wirabyte-ui-divider.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-dock.mjs +317 -0
- package/fesm2015/wirabyte-ui-dock.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-dragdrop.mjs +232 -0
- package/fesm2015/wirabyte-ui-dragdrop.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-drawer.mjs +326 -0
- package/fesm2015/wirabyte-ui-drawer.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-editor.mjs +3099 -0
- package/fesm2015/wirabyte-ui-editor.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-emptystate.mjs +101 -0
- package/fesm2015/wirabyte-ui-emptystate.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-errorpage.mjs +187 -0
- package/fesm2015/wirabyte-ui-errorpage.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-excel.mjs +49 -0
- package/fesm2015/wirabyte-ui-excel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-fieldset.mjs +95 -0
- package/fesm2015/wirabyte-ui-fieldset.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-fileupload.mjs +607 -0
- package/fesm2015/wirabyte-ui-fileupload.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-floatlabel.mjs +74 -0
- package/fesm2015/wirabyte-ui-floatlabel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-flow.mjs +4967 -0
- package/fesm2015/wirabyte-ui-flow.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-galleria.mjs +506 -0
- package/fesm2015/wirabyte-ui-galleria.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-i18n.mjs +330 -0
- package/fesm2015/wirabyte-ui-i18n.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-iconfield.mjs +94 -0
- package/fesm2015/wirabyte-ui-iconfield.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-image.mjs +218 -0
- package/fesm2015/wirabyte-ui-image.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-imagecompare.mjs +224 -0
- package/fesm2015/wirabyte-ui-imagecompare.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-imagecropper.mjs +1301 -0
- package/fesm2015/wirabyte-ui-imagecropper.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inplace.mjs +167 -0
- package/fesm2015/wirabyte-ui-inplace.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputgroup.mjs +82 -0
- package/fesm2015/wirabyte-ui-inputgroup.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputmask.mjs +367 -0
- package/fesm2015/wirabyte-ui-inputmask.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputnumber.mjs +388 -0
- package/fesm2015/wirabyte-ui-inputnumber.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputotp.mjs +370 -0
- package/fesm2015/wirabyte-ui-inputotp.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputtext.mjs +85 -0
- package/fesm2015/wirabyte-ui-inputtext.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-keyfilter.mjs +155 -0
- package/fesm2015/wirabyte-ui-keyfilter.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-knob.mjs +229 -0
- package/fesm2015/wirabyte-ui-knob.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-listbox.mjs +543 -0
- package/fesm2015/wirabyte-ui-listbox.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-menu.mjs +365 -0
- package/fesm2015/wirabyte-ui-menu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-menubar.mjs +614 -0
- package/fesm2015/wirabyte-ui-menubar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-message.mjs +291 -0
- package/fesm2015/wirabyte-ui-message.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-metergroup.mjs +192 -0
- package/fesm2015/wirabyte-ui-metergroup.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-multiselect.mjs +795 -0
- package/fesm2015/wirabyte-ui-multiselect.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-navbar.mjs +491 -0
- package/fesm2015/wirabyte-ui-navbar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-orderlist.mjs +450 -0
- package/fesm2015/wirabyte-ui-orderlist.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-organizationchart.mjs +225 -0
- package/fesm2015/wirabyte-ui-organizationchart.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-paginator.mjs +226 -0
- package/fesm2015/wirabyte-ui-paginator.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-panel.mjs +130 -0
- package/fesm2015/wirabyte-ui-panel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-panelmenu.mjs +216 -0
- package/fesm2015/wirabyte-ui-panelmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-password.mjs +271 -0
- package/fesm2015/wirabyte-ui-password.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-picklist.mjs +954 -0
- package/fesm2015/wirabyte-ui-picklist.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-popover.mjs +210 -0
- package/fesm2015/wirabyte-ui-popover.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-presets.mjs +10 -0
- package/fesm2015/wirabyte-ui-presets.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-progressbar.mjs +156 -0
- package/fesm2015/wirabyte-ui-progressbar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-progressspinner.mjs +158 -0
- package/fesm2015/wirabyte-ui-progressspinner.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-radiobutton.mjs +186 -0
- package/fesm2015/wirabyte-ui-radiobutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-rating.mjs +129 -0
- package/fesm2015/wirabyte-ui-rating.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-result.mjs +95 -0
- package/fesm2015/wirabyte-ui-result.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-ripple.mjs +67 -0
- package/fesm2015/wirabyte-ui-ripple.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-scroller.mjs +330 -0
- package/fesm2015/wirabyte-ui-scroller.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-scrollpanel.mjs +90 -0
- package/fesm2015/wirabyte-ui-scrollpanel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-select.mjs +730 -0
- package/fesm2015/wirabyte-ui-select.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-selectbutton.mjs +195 -0
- package/fesm2015/wirabyte-ui-selectbutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-sitefooter.mjs +166 -0
- package/fesm2015/wirabyte-ui-sitefooter.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-skeleton.mjs +72 -0
- package/fesm2015/wirabyte-ui-skeleton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-slider.mjs +271 -0
- package/fesm2015/wirabyte-ui-slider.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-splitbutton.mjs +202 -0
- package/fesm2015/wirabyte-ui-splitbutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-splitter.mjs +431 -0
- package/fesm2015/wirabyte-ui-splitter.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-stepper.mjs +607 -0
- package/fesm2015/wirabyte-ui-stepper.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-steps.mjs +182 -0
- package/fesm2015/wirabyte-ui-steps.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-table.mjs +3223 -0
- package/fesm2015/wirabyte-ui-table.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tabmenu.mjs +8 -0
- package/fesm2015/wirabyte-ui-tabmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tabs.mjs +790 -0
- package/fesm2015/wirabyte-ui-tabs.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tag.mjs +73 -0
- package/fesm2015/wirabyte-ui-tag.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-terminal.mjs +207 -0
- package/fesm2015/wirabyte-ui-terminal.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-textarea.mjs +108 -0
- package/fesm2015/wirabyte-ui-textarea.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-thai.mjs +138 -0
- package/fesm2015/wirabyte-ui-thai.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tieredmenu.mjs +417 -0
- package/fesm2015/wirabyte-ui-tieredmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-timeline.mjs +130 -0
- package/fesm2015/wirabyte-ui-timeline.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-toast.mjs +294 -0
- package/fesm2015/wirabyte-ui-toast.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-togglebutton.mjs +151 -0
- package/fesm2015/wirabyte-ui-togglebutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-toggleswitch.mjs +144 -0
- package/fesm2015/wirabyte-ui-toggleswitch.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-toolbar.mjs +88 -0
- package/fesm2015/wirabyte-ui-toolbar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tooltip.mjs +398 -0
- package/fesm2015/wirabyte-ui-tooltip.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tree.mjs +480 -0
- package/fesm2015/wirabyte-ui-tree.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-treeselect.mjs +438 -0
- package/fesm2015/wirabyte-ui-treeselect.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-validation.mjs +189 -0
- package/fesm2015/wirabyte-ui-validation.mjs.map +1 -0
- package/fesm2015/wirabyte-ui.mjs +9 -0
- package/fesm2015/wirabyte-ui.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-accordion.mjs +414 -0
- package/fesm2020/wirabyte-ui-accordion.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-alert.mjs +529 -0
- package/fesm2020/wirabyte-ui-alert.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-animate.mjs +276 -0
- package/fesm2020/wirabyte-ui-animate.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-api.mjs +34 -0
- package/fesm2020/wirabyte-ui-api.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-asidemenu.mjs +832 -0
- package/fesm2020/wirabyte-ui-asidemenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-autocomplete.mjs +608 -0
- package/fesm2020/wirabyte-ui-autocomplete.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-avatar.mjs +102 -0
- package/fesm2020/wirabyte-ui-avatar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-badge.mjs +183 -0
- package/fesm2020/wirabyte-ui-badge.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-blockui.mjs +173 -0
- package/fesm2020/wirabyte-ui-blockui.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-bottombar.mjs +230 -0
- package/fesm2020/wirabyte-ui-bottombar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-breadcrumb.mjs +107 -0
- package/fesm2020/wirabyte-ui-breadcrumb.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-button.mjs +412 -0
- package/fesm2020/wirabyte-ui-button.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-card.mjs +134 -0
- package/fesm2020/wirabyte-ui-card.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-carousel.mjs +638 -0
- package/fesm2020/wirabyte-ui-carousel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-chart.mjs +63 -0
- package/fesm2020/wirabyte-ui-chart.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-chartjs.mjs +262 -0
- package/fesm2020/wirabyte-ui-chartjs.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-checkbox.mjs +164 -0
- package/fesm2020/wirabyte-ui-checkbox.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-chip.mjs +97 -0
- package/fesm2020/wirabyte-ui-chip.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-colorpicker.mjs +329 -0
- package/fesm2020/wirabyte-ui-colorpicker.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-config.mjs +621 -0
- package/fesm2020/wirabyte-ui-config.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-confirmdialog.mjs +395 -0
- package/fesm2020/wirabyte-ui-confirmdialog.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-contextmenu.mjs +180 -0
- package/fesm2020/wirabyte-ui-contextmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-core.mjs +13367 -0
- package/fesm2020/wirabyte-ui-core.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-datepicker.mjs +942 -0
- package/fesm2020/wirabyte-ui-datepicker.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-dialog.mjs +698 -0
- package/fesm2020/wirabyte-ui-dialog.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-divider.mjs +77 -0
- package/fesm2020/wirabyte-ui-divider.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-dock.mjs +308 -0
- package/fesm2020/wirabyte-ui-dock.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-dragdrop.mjs +229 -0
- package/fesm2020/wirabyte-ui-dragdrop.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-drawer.mjs +321 -0
- package/fesm2020/wirabyte-ui-drawer.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-editor.mjs +3056 -0
- package/fesm2020/wirabyte-ui-editor.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-emptystate.mjs +99 -0
- package/fesm2020/wirabyte-ui-emptystate.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-errorpage.mjs +184 -0
- package/fesm2020/wirabyte-ui-errorpage.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-excel.mjs +43 -0
- package/fesm2020/wirabyte-ui-excel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-fieldset.mjs +95 -0
- package/fesm2020/wirabyte-ui-fieldset.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-fileupload.mjs +599 -0
- package/fesm2020/wirabyte-ui-fileupload.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-floatlabel.mjs +74 -0
- package/fesm2020/wirabyte-ui-floatlabel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-flow.mjs +4920 -0
- package/fesm2020/wirabyte-ui-flow.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-galleria.mjs +501 -0
- package/fesm2020/wirabyte-ui-galleria.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-i18n.mjs +321 -0
- package/fesm2020/wirabyte-ui-i18n.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-iconfield.mjs +94 -0
- package/fesm2020/wirabyte-ui-iconfield.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-image.mjs +214 -0
- package/fesm2020/wirabyte-ui-image.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-imagecompare.mjs +221 -0
- package/fesm2020/wirabyte-ui-imagecompare.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-imagecropper.mjs +1279 -0
- package/fesm2020/wirabyte-ui-imagecropper.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inplace.mjs +166 -0
- package/fesm2020/wirabyte-ui-inplace.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputgroup.mjs +82 -0
- package/fesm2020/wirabyte-ui-inputgroup.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputmask.mjs +360 -0
- package/fesm2020/wirabyte-ui-inputmask.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputnumber.mjs +385 -0
- package/fesm2020/wirabyte-ui-inputnumber.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputotp.mjs +365 -0
- package/fesm2020/wirabyte-ui-inputotp.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputtext.mjs +85 -0
- package/fesm2020/wirabyte-ui-inputtext.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-keyfilter.mjs +152 -0
- package/fesm2020/wirabyte-ui-keyfilter.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-knob.mjs +228 -0
- package/fesm2020/wirabyte-ui-knob.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-listbox.mjs +541 -0
- package/fesm2020/wirabyte-ui-listbox.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-menu.mjs +356 -0
- package/fesm2020/wirabyte-ui-menu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-menubar.mjs +604 -0
- package/fesm2020/wirabyte-ui-menubar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-message.mjs +291 -0
- package/fesm2020/wirabyte-ui-message.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-metergroup.mjs +192 -0
- package/fesm2020/wirabyte-ui-metergroup.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-multiselect.mjs +778 -0
- package/fesm2020/wirabyte-ui-multiselect.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-navbar.mjs +481 -0
- package/fesm2020/wirabyte-ui-navbar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-orderlist.mjs +445 -0
- package/fesm2020/wirabyte-ui-orderlist.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-organizationchart.mjs +221 -0
- package/fesm2020/wirabyte-ui-organizationchart.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-paginator.mjs +226 -0
- package/fesm2020/wirabyte-ui-paginator.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-panel.mjs +130 -0
- package/fesm2020/wirabyte-ui-panel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-panelmenu.mjs +213 -0
- package/fesm2020/wirabyte-ui-panelmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-password.mjs +267 -0
- package/fesm2020/wirabyte-ui-password.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-picklist.mjs +944 -0
- package/fesm2020/wirabyte-ui-picklist.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-popover.mjs +205 -0
- package/fesm2020/wirabyte-ui-popover.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-presets.mjs +10 -0
- package/fesm2020/wirabyte-ui-presets.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-progressbar.mjs +156 -0
- package/fesm2020/wirabyte-ui-progressbar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-progressspinner.mjs +156 -0
- package/fesm2020/wirabyte-ui-progressspinner.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-radiobutton.mjs +186 -0
- package/fesm2020/wirabyte-ui-radiobutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-rating.mjs +128 -0
- package/fesm2020/wirabyte-ui-rating.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-result.mjs +93 -0
- package/fesm2020/wirabyte-ui-result.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-ripple.mjs +66 -0
- package/fesm2020/wirabyte-ui-ripple.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-scroller.mjs +326 -0
- package/fesm2020/wirabyte-ui-scroller.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-scrollpanel.mjs +88 -0
- package/fesm2020/wirabyte-ui-scrollpanel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-select.mjs +713 -0
- package/fesm2020/wirabyte-ui-select.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-selectbutton.mjs +195 -0
- package/fesm2020/wirabyte-ui-selectbutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-sitefooter.mjs +160 -0
- package/fesm2020/wirabyte-ui-sitefooter.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-skeleton.mjs +72 -0
- package/fesm2020/wirabyte-ui-skeleton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-slider.mjs +268 -0
- package/fesm2020/wirabyte-ui-slider.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-splitbutton.mjs +201 -0
- package/fesm2020/wirabyte-ui-splitbutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-splitter.mjs +422 -0
- package/fesm2020/wirabyte-ui-splitter.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-stepper.mjs +602 -0
- package/fesm2020/wirabyte-ui-stepper.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-steps.mjs +180 -0
- package/fesm2020/wirabyte-ui-steps.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-table.mjs +3201 -0
- package/fesm2020/wirabyte-ui-table.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tabmenu.mjs +8 -0
- package/fesm2020/wirabyte-ui-tabmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tabs.mjs +769 -0
- package/fesm2020/wirabyte-ui-tabs.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tag.mjs +73 -0
- package/fesm2020/wirabyte-ui-tag.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-terminal.mjs +203 -0
- package/fesm2020/wirabyte-ui-terminal.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-textarea.mjs +108 -0
- package/fesm2020/wirabyte-ui-textarea.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-thai.mjs +138 -0
- package/fesm2020/wirabyte-ui-thai.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tieredmenu.mjs +406 -0
- package/fesm2020/wirabyte-ui-tieredmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-timeline.mjs +130 -0
- package/fesm2020/wirabyte-ui-timeline.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-toast.mjs +291 -0
- package/fesm2020/wirabyte-ui-toast.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-togglebutton.mjs +150 -0
- package/fesm2020/wirabyte-ui-togglebutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-toggleswitch.mjs +144 -0
- package/fesm2020/wirabyte-ui-toggleswitch.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-toolbar.mjs +88 -0
- package/fesm2020/wirabyte-ui-toolbar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tooltip.mjs +393 -0
- package/fesm2020/wirabyte-ui-tooltip.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tree.mjs +474 -0
- package/fesm2020/wirabyte-ui-tree.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-treeselect.mjs +431 -0
- package/fesm2020/wirabyte-ui-treeselect.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-validation.mjs +186 -0
- package/fesm2020/wirabyte-ui-validation.mjs.map +1 -0
- package/fesm2020/wirabyte-ui.mjs +9 -0
- package/fesm2020/wirabyte-ui.mjs.map +1 -0
- package/fieldset/fieldset.component.d.ts +35 -0
- package/fieldset/fieldset.module.d.ts +9 -0
- package/fieldset/index.d.ts +5 -0
- package/fieldset/public-api.d.ts +2 -0
- package/fileupload/fileupload.base.d.ts +175 -0
- package/fileupload/fileupload.component.d.ts +11 -0
- package/fileupload/fileupload.module.d.ts +9 -0
- package/fileupload/fileupload.types.d.ts +54 -0
- package/fileupload/index.d.ts +5 -0
- package/fileupload/public-api.d.ts +4 -0
- package/floatlabel/floatlabel.component.d.ts +21 -0
- package/floatlabel/floatlabel.module.d.ts +8 -0
- package/floatlabel/floatlabel.types.d.ts +1 -0
- package/floatlabel/index.d.ts +5 -0
- package/floatlabel/public-api.d.ts +3 -0
- package/flow/flow-background.component.d.ts +49 -0
- package/flow/flow-controls.component.d.ts +47 -0
- package/flow/flow-handle.component.d.ts +48 -0
- package/flow/flow-history.directive.d.ts +42 -0
- package/flow/flow-host.d.ts +48 -0
- package/flow/flow-minimap.component.d.ts +79 -0
- package/flow/flow-node-outlet.d.ts +46 -0
- package/flow/flow-node-resizer.component.d.ts +57 -0
- package/flow/flow-node-toolbar.component.d.ts +38 -0
- package/flow/flow-panel.component.d.ts +11 -0
- package/flow/flow-templates.d.ts +47 -0
- package/flow/flow.component.d.ts +633 -0
- package/flow/flow.module.d.ts +21 -0
- package/flow/flow.types.d.ts +210 -0
- package/flow/index.d.ts +5 -0
- package/flow/public-api.d.ts +16 -0
- package/galleria/galleria.component.d.ts +163 -0
- package/galleria/galleria.module.d.ts +8 -0
- package/galleria/index.d.ts +5 -0
- package/galleria/public-api.d.ts +2 -0
- package/i18n/i18n.module.d.ts +22 -0
- package/i18n/i18n.service.d.ts +54 -0
- package/i18n/i18n.types.d.ts +33 -0
- package/i18n/index.d.ts +5 -0
- package/i18n/language-switch.component.d.ts +50 -0
- package/i18n/public-api.d.ts +6 -0
- package/i18n/translate.pipe.d.ts +25 -0
- package/iconfield/iconfield.component.d.ts +30 -0
- package/iconfield/iconfield.module.d.ts +8 -0
- package/iconfield/index.d.ts +5 -0
- package/iconfield/public-api.d.ts +2 -0
- package/image/image.base.d.ts +83 -0
- package/image/image.component.d.ts +7 -0
- package/image/image.module.d.ts +9 -0
- package/image/index.d.ts +5 -0
- package/image/public-api.d.ts +3 -0
- package/imagecompare/imagecompare.component.d.ts +67 -0
- package/imagecompare/imagecompare.module.d.ts +9 -0
- package/imagecompare/index.d.ts +5 -0
- package/imagecompare/public-api.d.ts +2 -0
- package/imagecropper/imagecropper.component.d.ts +309 -0
- package/imagecropper/imagecropper.module.d.ts +8 -0
- package/imagecropper/imagecropper.types.d.ts +79 -0
- package/imagecropper/index.d.ts +5 -0
- package/imagecropper/public-api.d.ts +4 -0
- package/index.d.ts +5 -0
- package/inplace/index.d.ts +5 -0
- package/inplace/inplace.component.d.ts +59 -0
- package/inplace/inplace.module.d.ts +8 -0
- package/inplace/public-api.d.ts +2 -0
- package/inputgroup/index.d.ts +5 -0
- package/inputgroup/inputgroup.component.d.ts +26 -0
- package/inputgroup/inputgroup.module.d.ts +8 -0
- package/inputgroup/public-api.d.ts +2 -0
- package/inputmask/index.d.ts +5 -0
- package/inputmask/inputmask.base.d.ts +115 -0
- package/inputmask/inputmask.component.d.ts +10 -0
- package/inputmask/inputmask.module.d.ts +8 -0
- package/inputmask/public-api.d.ts +3 -0
- package/inputnumber/index.d.ts +5 -0
- package/inputnumber/inputnumber.component.d.ts +132 -0
- package/inputnumber/inputnumber.module.d.ts +8 -0
- package/inputnumber/inputnumber.types.d.ts +7 -0
- package/inputnumber/public-api.d.ts +3 -0
- package/inputotp/index.d.ts +5 -0
- package/inputotp/inputotp.component.d.ts +105 -0
- package/inputotp/inputotp.module.d.ts +9 -0
- package/inputotp/inputotp.types.d.ts +22 -0
- package/inputotp/public-api.d.ts +3 -0
- package/inputtext/index.d.ts +5 -0
- package/inputtext/inputtext.directive.d.ts +25 -0
- package/inputtext/inputtext.module.d.ts +8 -0
- package/inputtext/inputtext.styles.d.ts +2 -0
- package/inputtext/inputtext.types.d.ts +3 -0
- package/inputtext/public-api.d.ts +5 -0
- package/keyfilter/index.d.ts +5 -0
- package/keyfilter/keyfilter.directive.d.ts +29 -0
- package/keyfilter/keyfilter.module.d.ts +8 -0
- package/keyfilter/public-api.d.ts +2 -0
- package/knob/index.d.ts +5 -0
- package/knob/knob.component.d.ts +94 -0
- package/knob/knob.module.d.ts +8 -0
- package/knob/public-api.d.ts +2 -0
- package/listbox/index.d.ts +5 -0
- package/listbox/listbox.component.d.ts +186 -0
- package/listbox/listbox.module.d.ts +8 -0
- package/listbox/public-api.d.ts +2 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu.base.d.ts +95 -0
- package/menu/menu.component.d.ts +11 -0
- package/menu/menu.module.d.ts +9 -0
- package/menu/public-api.d.ts +4 -0
- package/menubar/index.d.ts +5 -0
- package/menubar/menubar.base.d.ts +135 -0
- package/menubar/menubar.component.d.ts +11 -0
- package/menubar/menubar.module.d.ts +9 -0
- package/menubar/public-api.d.ts +4 -0
- package/message/index.d.ts +5 -0
- package/message/message.component.d.ts +50 -0
- package/message/message.module.d.ts +11 -0
- package/message/message.types.d.ts +5 -0
- package/message/messages.base.d.ts +50 -0
- package/message/messages.component.d.ts +7 -0
- package/message/public-api.d.ts +5 -0
- package/metergroup/index.d.ts +5 -0
- package/metergroup/metergroup.component.d.ts +59 -0
- package/metergroup/metergroup.module.d.ts +8 -0
- package/metergroup/metergroup.types.d.ts +42 -0
- package/metergroup/public-api.d.ts +3 -0
- package/multiselect/index.d.ts +5 -0
- package/multiselect/multiselect.base.d.ts +222 -0
- package/multiselect/multiselect.component.d.ts +11 -0
- package/multiselect/multiselect.module.d.ts +9 -0
- package/multiselect/multiselect.styles.d.ts +2 -0
- package/multiselect/multiselect.types.d.ts +20 -0
- package/multiselect/public-api.d.ts +5 -0
- package/navbar/index.d.ts +5 -0
- package/navbar/navbar.component.d.ts +172 -0
- package/navbar/navbar.module.d.ts +9 -0
- package/navbar/public-api.d.ts +2 -0
- package/orderlist/index.d.ts +5 -0
- package/orderlist/orderlist.base.d.ts +136 -0
- package/orderlist/orderlist.component.d.ts +10 -0
- package/orderlist/orderlist.module.d.ts +9 -0
- package/orderlist/orderlist.types.d.ts +10 -0
- package/orderlist/public-api.d.ts +4 -0
- package/organizationchart/index.d.ts +5 -0
- package/organizationchart/organizationchart.component.d.ts +76 -0
- package/organizationchart/organizationchart.module.d.ts +9 -0
- package/organizationchart/organizationchart.types.d.ts +10 -0
- package/organizationchart/public-api.d.ts +4 -0
- package/package.json +891 -3
- package/paginator/index.d.ts +5 -0
- package/paginator/paginator.base.d.ts +95 -0
- package/paginator/paginator.component.d.ts +10 -0
- package/paginator/paginator.module.d.ts +8 -0
- package/paginator/paginator.types.d.ts +7 -0
- package/paginator/public-api.d.ts +4 -0
- package/panel/index.d.ts +5 -0
- package/panel/panel.component.d.ts +51 -0
- package/panel/panel.module.d.ts +10 -0
- package/panel/panel.types.d.ts +2 -0
- package/panel/public-api.d.ts +3 -0
- package/panelmenu/index.d.ts +5 -0
- package/panelmenu/panelmenu.base.d.ts +53 -0
- package/panelmenu/panelmenu.component.d.ts +7 -0
- package/panelmenu/panelmenu.module.d.ts +9 -0
- package/panelmenu/public-api.d.ts +3 -0
- package/password/index.d.ts +5 -0
- package/password/password.component.d.ts +90 -0
- package/password/password.module.d.ts +8 -0
- package/password/password.types.d.ts +6 -0
- package/password/public-api.d.ts +3 -0
- package/picklist/index.d.ts +5 -0
- package/picklist/list-drag.d.ts +49 -0
- package/picklist/picklist.base.d.ts +217 -0
- package/picklist/picklist.component.d.ts +10 -0
- package/picklist/picklist.module.d.ts +9 -0
- package/picklist/picklist.styles.d.ts +2 -0
- package/picklist/picklist.types.d.ts +21 -0
- package/picklist/public-api.d.ts +7 -0
- package/popover/index.d.ts +5 -0
- package/popover/popover.base.d.ts +61 -0
- package/popover/popover.component.d.ts +10 -0
- package/popover/popover.module.d.ts +9 -0
- package/popover/public-api.d.ts +3 -0
- package/presets/index.d.ts +5 -0
- package/presets/public-api.d.ts +2 -0
- package/progressbar/index.d.ts +5 -0
- package/progressbar/progressbar.component.d.ts +62 -0
- package/progressbar/progressbar.module.d.ts +8 -0
- package/progressbar/progressbar.types.d.ts +16 -0
- package/progressbar/public-api.d.ts +3 -0
- package/progressspinner/index.d.ts +5 -0
- package/progressspinner/progressspinner.component.d.ts +50 -0
- package/progressspinner/progressspinner.module.d.ts +8 -0
- package/progressspinner/progressspinner.types.d.ts +9 -0
- package/progressspinner/public-api.d.ts +3 -0
- package/public-api.d.ts +2 -0
- package/radiobutton/index.d.ts +5 -0
- package/radiobutton/public-api.d.ts +6 -0
- package/radiobutton/radio-registry.d.ts +23 -0
- package/radiobutton/radiobutton.component.d.ts +57 -0
- package/radiobutton/radiobutton.module.d.ts +8 -0
- package/radiobutton/radiobutton.styles.d.ts +2 -0
- package/radiobutton/radiobutton.types.d.ts +4 -0
- package/rating/index.d.ts +5 -0
- package/rating/public-api.d.ts +3 -0
- package/rating/rating.component.d.ts +47 -0
- package/rating/rating.module.d.ts +8 -0
- package/rating/rating.types.d.ts +4 -0
- package/result/index.d.ts +5 -0
- package/result/public-api.d.ts +2 -0
- package/result/result.component.d.ts +39 -0
- package/result/result.module.d.ts +8 -0
- package/ripple/index.d.ts +5 -0
- package/ripple/public-api.d.ts +2 -0
- package/ripple/ripple.directive.d.ts +15 -0
- package/ripple/ripple.module.d.ts +8 -0
- package/ripple/ripple.styles.d.ts +2 -0
- package/schematics/collection.json +21 -0
- package/schematics/core/carousel.cjs +70 -0
- package/schematics/core/catalog.cjs +206 -0
- package/schematics/core/chart/format.cjs +68 -0
- package/schematics/core/chart/index.cjs +32 -0
- package/schematics/core/chart/kinds.cjs +1355 -0
- package/schematics/core/chart/model.cjs +717 -0
- package/schematics/core/chart/more.cjs +317 -0
- package/schematics/core/chart/paths.cjs +170 -0
- package/schematics/core/chart/scale.cjs +63 -0
- package/schematics/core/color.cjs +106 -0
- package/schematics/core/colorpicker.cjs +79 -0
- package/schematics/core/compat.cjs +152 -0
- package/schematics/core/config.cjs +172 -0
- package/schematics/core/date.cjs +346 -0
- package/schematics/core/datepicker.cjs +530 -0
- package/schematics/core/dock.cjs +16 -0
- package/schematics/core/editor.cjs +281 -0
- package/schematics/core/errorpage.cjs +52 -0
- package/schematics/core/excel.cjs +826 -0
- package/schematics/core/exporters.cjs +249 -0
- package/schematics/core/families.cjs +1758 -0
- package/schematics/core/fileupload.cjs +54 -0
- package/schematics/core/flow/changes.cjs +215 -0
- package/schematics/core/flow/edges.cjs +95 -0
- package/schematics/core/flow/export.cjs +236 -0
- package/schematics/core/flow/geometry.cjs +338 -0
- package/schematics/core/flow/graph.cjs +338 -0
- package/schematics/core/flow/history.cjs +109 -0
- package/schematics/core/flow/index.cjs +29 -0
- package/schematics/core/flow/interaction.cjs +264 -0
- package/schematics/core/flow/layout.cjs +592 -0
- package/schematics/core/flow/paths.cjs +268 -0
- package/schematics/core/flow/text.cjs +74 -0
- package/schematics/core/flow/types.cjs +7 -0
- package/schematics/core/flow/viewport.cjs +151 -0
- package/schematics/core/i18n.cjs +85 -0
- package/schematics/core/imagecompare.cjs +32 -0
- package/schematics/core/imagecropper.cjs +515 -0
- package/schematics/core/index.cjs +55 -0
- package/schematics/core/inputotp.cjs +56 -0
- package/schematics/core/knob.cjs +114 -0
- package/schematics/core/mask.cjs +122 -0
- package/schematics/core/menu.cjs +88 -0
- package/schematics/core/number.cjs +141 -0
- package/schematics/core/organizationchart.cjs +91 -0
- package/schematics/core/overrides.cjs +179 -0
- package/schematics/core/picklist.cjs +262 -0
- package/schematics/core/select.cjs +172 -0
- package/schematics/core/splitter.cjs +69 -0
- package/schematics/core/table.cjs +183 -0
- package/schematics/core/terminal.cjs +34 -0
- package/schematics/core/thai/buddhist.cjs +135 -0
- package/schematics/core/thai/locale.cjs +654 -0
- package/schematics/core/thai/text.cjs +173 -0
- package/schematics/core/thai/thai-id.cjs +26 -0
- package/schematics/core/tokens.cjs +335 -0
- package/schematics/core/tree.cjs +144 -0
- package/schematics/core/validation.cjs +46 -0
- package/schematics/from-primeng/index.cjs +221 -0
- package/schematics/from-primeng/mapping.cjs +195 -0
- package/schematics/from-primeng/schema.cjs +2 -0
- package/schematics/from-primeng/schema.json +17 -0
- package/schematics/migration.json +4 -0
- package/schematics/ng-add/index.cjs +318 -0
- package/schematics/ng-add/schema.cjs +2 -0
- package/schematics/ng-add/schema.json +325 -0
- package/schematics/utils/ast.cjs +185 -0
- package/schematics/utils/workspace.cjs +115 -0
- package/scroller/index.d.ts +5 -0
- package/scroller/public-api.d.ts +5 -0
- package/scroller/scroller.component.d.ts +135 -0
- package/scroller/scroller.module.d.ts +8 -0
- package/scrollpanel/index.d.ts +5 -0
- package/scrollpanel/public-api.d.ts +2 -0
- package/scrollpanel/scrollpanel.component.d.ts +27 -0
- package/scrollpanel/scrollpanel.module.d.ts +8 -0
- package/select/index.d.ts +5 -0
- package/select/public-api.d.ts +6 -0
- package/select/select.base.d.ts +217 -0
- package/select/select.component.d.ts +11 -0
- package/select/select.module.d.ts +8 -0
- package/select/select.styles.d.ts +2 -0
- package/select/select.types.d.ts +9 -0
- package/selectbutton/index.d.ts +5 -0
- package/selectbutton/public-api.d.ts +3 -0
- package/selectbutton/selectbutton.component.d.ts +70 -0
- package/selectbutton/selectbutton.module.d.ts +9 -0
- package/selectbutton/selectbutton.types.d.ts +9 -0
- package/sitefooter/index.d.ts +5 -0
- package/sitefooter/public-api.d.ts +2 -0
- package/sitefooter/sitefooter.component.d.ts +69 -0
- package/sitefooter/sitefooter.module.d.ts +9 -0
- package/skeleton/index.d.ts +5 -0
- package/skeleton/public-api.d.ts +3 -0
- package/skeleton/skeleton.component.d.ts +22 -0
- package/skeleton/skeleton.module.d.ts +8 -0
- package/skeleton/skeleton.types.d.ts +2 -0
- package/slider/index.d.ts +5 -0
- package/slider/public-api.d.ts +2 -0
- package/slider/slider.component.d.ts +79 -0
- package/slider/slider.module.d.ts +8 -0
- package/splitbutton/index.d.ts +5 -0
- package/splitbutton/public-api.d.ts +2 -0
- package/splitbutton/splitbutton.component.d.ts +75 -0
- package/splitbutton/splitbutton.module.d.ts +8 -0
- package/splitter/index.d.ts +5 -0
- package/splitter/public-api.d.ts +4 -0
- package/splitter/splitter-panel.component.d.ts +20 -0
- package/splitter/splitter.component.d.ts +109 -0
- package/splitter/splitter.module.d.ts +10 -0
- package/splitter/splitter.types.d.ts +8 -0
- package/stepper/index.d.ts +5 -0
- package/stepper/public-api.d.ts +3 -0
- package/stepper/stepper.base.d.ts +200 -0
- package/stepper/stepper.component.d.ts +41 -0
- package/stepper/stepper.module.d.ts +9 -0
- package/steps/index.d.ts +5 -0
- package/steps/public-api.d.ts +3 -0
- package/steps/steps.base.d.ts +52 -0
- package/steps/steps.component.d.ts +7 -0
- package/steps/steps.module.d.ts +8 -0
- package/table/index.d.ts +5 -0
- package/table/public-api.d.ts +9 -0
- package/table/table-celleditor.component.d.ts +14 -0
- package/table/table-filter.component.d.ts +11 -0
- package/table/table.base.d.ts +410 -0
- package/table/table.celleditor.d.ts +20 -0
- package/table/table.component.d.ts +12 -0
- package/table/table.directives.d.ts +330 -0
- package/table/table.filter.d.ts +131 -0
- package/table/table.module.d.ts +12 -0
- package/table/table.types.d.ts +180 -0
- package/tabmenu/index.d.ts +5 -0
- package/tabmenu/public-api.d.ts +2 -0
- package/tabs/index.d.ts +5 -0
- package/tabs/public-api.d.ts +8 -0
- package/tabs/tabmenu.base.d.ts +59 -0
- package/tabs/tabmenu.component.d.ts +10 -0
- package/tabs/tabmenu.module.d.ts +9 -0
- package/tabs/tabs.component.d.ts +147 -0
- package/tabs/tabs.module.d.ts +10 -0
- package/tabs/tabs.styles.d.ts +2 -0
- package/tabs/tabs.types.d.ts +21 -0
- package/tag/index.d.ts +5 -0
- package/tag/public-api.d.ts +3 -0
- package/tag/tag.component.d.ts +24 -0
- package/tag/tag.module.d.ts +8 -0
- package/tag/tag.types.d.ts +2 -0
- package/terminal/index.d.ts +5 -0
- package/terminal/public-api.d.ts +5 -0
- package/terminal/terminal.component.d.ts +58 -0
- package/terminal/terminal.module.d.ts +8 -0
- package/terminal/terminal.service.d.ts +20 -0
- package/textarea/index.d.ts +5 -0
- package/textarea/public-api.d.ts +2 -0
- package/textarea/textarea.directive.d.ts +33 -0
- package/textarea/textarea.module.d.ts +8 -0
- package/thai/index.d.ts +5 -0
- package/thai/public-api.d.ts +3 -0
- package/thai/thai.module.d.ts +8 -0
- package/thai/thai.pipes.d.ts +57 -0
- package/theme/_api.scss +71 -0
- package/theme/_color.scss +153 -0
- package/theme/_data.scss +9283 -0
- package/theme/_index.scss +424 -0
- package/theme/_version.scss +2 -0
- package/themes/arun-blue/theme.css +1446 -0
- package/themes/arun-green/theme.css +1446 -0
- package/themes/arun-orange/theme.css +1445 -0
- package/themes/arun-purple/theme.css +1446 -0
- package/themes/md-dark-deeppurple/theme.css +1309 -0
- package/themes/md-dark-indigo/theme.css +1309 -0
- package/themes/md-light-deeppurple/theme.css +1418 -0
- package/themes/md-light-indigo/theme.css +1418 -0
- package/themes/ratri-blue/theme.css +1309 -0
- package/themes/ratri-green/theme.css +1309 -0
- package/themes/ratri-orange/theme.css +1309 -0
- package/themes/ratri-purple/theme.css +1309 -0
- package/themes/sayan-blue/theme.css +1309 -0
- package/themes/sayan-green/theme.css +1309 -0
- package/themes/sayan-orange/theme.css +1309 -0
- package/themes/sayan-purple/theme.css +1309 -0
- package/themes/sila-dark-blue/theme.css +1309 -0
- package/themes/sila-dark-indigo/theme.css +1309 -0
- package/themes/sila-dark-purple/theme.css +1309 -0
- package/themes/sila-dark-teal/theme.css +1309 -0
- package/themes/sila-light-blue/theme.css +1446 -0
- package/themes/sila-light-indigo/theme.css +1446 -0
- package/themes/sila-light-purple/theme.css +1446 -0
- package/themes/sila-light-teal/theme.css +1446 -0
- package/themes/sila-light-wira/theme.css +1446 -0
- package/tieredmenu/index.d.ts +5 -0
- package/tieredmenu/public-api.d.ts +2 -0
- package/tieredmenu/tieredmenu.component.d.ts +90 -0
- package/tieredmenu/tieredmenu.module.d.ts +8 -0
- package/timeline/index.d.ts +5 -0
- package/timeline/public-api.d.ts +3 -0
- package/timeline/timeline.base.d.ts +36 -0
- package/timeline/timeline.component.d.ts +7 -0
- package/timeline/timeline.module.d.ts +9 -0
- package/toast/index.d.ts +5 -0
- package/toast/message.service.d.ts +19 -0
- package/toast/public-api.d.ts +5 -0
- package/toast/toast.base.d.ts +84 -0
- package/toast/toast.component.d.ts +10 -0
- package/toast/toast.module.d.ts +9 -0
- package/toast/toast.types.d.ts +28 -0
- package/togglebutton/index.d.ts +5 -0
- package/togglebutton/public-api.d.ts +3 -0
- package/togglebutton/togglebutton.component.d.ts +56 -0
- package/togglebutton/togglebutton.module.d.ts +8 -0
- package/togglebutton/togglebutton.types.d.ts +4 -0
- package/toggleswitch/index.d.ts +5 -0
- package/toggleswitch/public-api.d.ts +3 -0
- package/toggleswitch/toggleswitch.component.d.ts +52 -0
- package/toggleswitch/toggleswitch.module.d.ts +8 -0
- package/toggleswitch/toggleswitch.types.d.ts +4 -0
- package/toolbar/index.d.ts +5 -0
- package/toolbar/public-api.d.ts +2 -0
- package/toolbar/toolbar.component.d.ts +29 -0
- package/toolbar/toolbar.module.d.ts +9 -0
- package/tooltip/index.d.ts +5 -0
- package/tooltip/public-api.d.ts +3 -0
- package/tooltip/tooltip.directive.d.ts +87 -0
- package/tooltip/tooltip.module.d.ts +8 -0
- package/tooltip/tooltip.styles.d.ts +2 -0
- package/tooltip/tooltip.types.d.ts +14 -0
- package/tree/index.d.ts +5 -0
- package/tree/public-api.d.ts +2 -0
- package/tree/tree.component.d.ts +149 -0
- package/tree/tree.module.d.ts +8 -0
- package/treeselect/index.d.ts +5 -0
- package/treeselect/public-api.d.ts +2 -0
- package/treeselect/treeselect.component.d.ts +140 -0
- package/treeselect/treeselect.module.d.ts +8 -0
- package/utils/_index.scss +532 -0
- package/utils/_palettes.scss +23 -0
- package/utils/utils.css +9280 -0
- package/utils/utils.min.css +1 -0
- package/validation/field-error.component.d.ts +39 -0
- package/validation/index.d.ts +5 -0
- package/validation/public-api.d.ts +3 -0
- package/validation/validation.module.d.ts +9 -0
- package/validation/validators.d.ts +33 -0
|
@@ -0,0 +1,717 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CHART_PALETTE = void 0;
|
|
4
|
+
exports.chartSeriesFrom = chartSeriesFrom;
|
|
5
|
+
exports.chartModel = chartModel;
|
|
6
|
+
/**
|
|
7
|
+
* wu-chart: from data to shapes. `chartModel()` takes series (or Chart.js-shaped data, see `chartSeriesFrom()`), the size
|
|
8
|
+
* and the options, and returns everything a renderer draws: the plot box, axis ticks, grid, bars, lines, areas, dots,
|
|
9
|
+
* slices, radar webs, value labels, reference lines and the hover bands, all in pixels. No DOM: text widths come from
|
|
10
|
+
* the `measure` callback.
|
|
11
|
+
*/
|
|
12
|
+
const format_1 = require("./format.cjs");
|
|
13
|
+
const kinds_1 = require("./kinds.cjs");
|
|
14
|
+
const more_1 = require("./more.cjs");
|
|
15
|
+
const paths_1 = require("./paths.cjs");
|
|
16
|
+
const scale_1 = require("./scale.cjs");
|
|
17
|
+
/** The default palette: ten colours that read apart in light and dark (overridden by the theme's `--wu-chart-*`). */
|
|
18
|
+
exports.CHART_PALETTE = ['#0f766e', '#f59e0b', '#6366f1', '#ef4444', '#0ea5e9', '#84cc16', '#d946ef', '#f97316', '#14b8a6', '#64748b'];
|
|
19
|
+
const num = (v) => (typeof v === 'number' && Number.isFinite(v) ? v : null);
|
|
20
|
+
const isXY = (v) => !!v && typeof v === 'object' && Number.isFinite(v.x) && Number.isFinite(v.y);
|
|
21
|
+
const approx = (text, size) => text.length * size * 0.56;
|
|
22
|
+
/**
|
|
23
|
+
* Series from Chart.js-shaped data (`{ labels, datasets: [{ label, data, backgroundColor, borderColor, type, yAxisID,
|
|
24
|
+
* stack, hidden, tension, fill, borderDash }] }`), so `<wu-chartjs>` (Chart.js) data works in `<wu-chart>` as it is.
|
|
25
|
+
*/
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27
|
+
function chartSeriesFrom(data, type = 'bar') {
|
|
28
|
+
const labels = Array.isArray(data?.labels) ? data.labels.map((l) => (Array.isArray(l) ? l.join(' ') : l)) : [];
|
|
29
|
+
const sets = Array.isArray(data?.datasets) ? data.datasets : [];
|
|
30
|
+
const colorOf = (c) => (typeof c === 'string' ? c : undefined);
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
32
|
+
const series = sets.map((d) => {
|
|
33
|
+
const kind = d?.type === 'line' || d?.type === 'bar' ? d.type : undefined;
|
|
34
|
+
const isLine = (kind || type) === 'line';
|
|
35
|
+
return {
|
|
36
|
+
name: d?.label ?? '',
|
|
37
|
+
data: Array.isArray(d?.data) ? d.data : [],
|
|
38
|
+
type: kind === 'line' && d?.fill ? 'area' : kind,
|
|
39
|
+
color: isLine ? colorOf(d?.borderColor) ?? colorOf(d?.backgroundColor) : colorOf(d?.backgroundColor) ?? colorOf(d?.borderColor),
|
|
40
|
+
colors: Array.isArray(d?.backgroundColor) ? d.backgroundColor : undefined,
|
|
41
|
+
axis: typeof d?.yAxisID === 'string' && /right|y1|y2/i.test(d.yAxisID) ? 'right' : undefined,
|
|
42
|
+
stack: typeof d?.stack === 'string' ? d.stack : undefined,
|
|
43
|
+
hidden: !!d?.hidden,
|
|
44
|
+
smooth: typeof d?.tension === 'number' ? d.tension > 0 : undefined,
|
|
45
|
+
dashed: Array.isArray(d?.borderDash) && d.borderDash.length > 0,
|
|
46
|
+
fill: !!d?.fill,
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
return { labels, series };
|
|
50
|
+
}
|
|
51
|
+
/** The shapes of a chart (see the file comment). */
|
|
52
|
+
function chartModel(o) {
|
|
53
|
+
const width = Math.max(0, o.width || 0);
|
|
54
|
+
const height = Math.max(0, o.height || 0);
|
|
55
|
+
const palette = o.palette && o.palette.length ? o.palette : exports.CHART_PALETTE;
|
|
56
|
+
const series = o.series || [];
|
|
57
|
+
const model = {
|
|
58
|
+
type: o.type,
|
|
59
|
+
width,
|
|
60
|
+
height,
|
|
61
|
+
plot: { x: 0, y: 0, w: width, h: height },
|
|
62
|
+
xTicks: [],
|
|
63
|
+
yTicks: [],
|
|
64
|
+
y2Ticks: [],
|
|
65
|
+
grid: [],
|
|
66
|
+
zero: null,
|
|
67
|
+
titles: [],
|
|
68
|
+
bars: [],
|
|
69
|
+
lines: [],
|
|
70
|
+
dots: [],
|
|
71
|
+
slices: [],
|
|
72
|
+
rings: [],
|
|
73
|
+
cells: [],
|
|
74
|
+
radar: null,
|
|
75
|
+
valueLabels: [],
|
|
76
|
+
references: [],
|
|
77
|
+
bands: [],
|
|
78
|
+
marks: [],
|
|
79
|
+
shapes: [],
|
|
80
|
+
texts: [],
|
|
81
|
+
generic: false,
|
|
82
|
+
dimOthers: false,
|
|
83
|
+
centerText: null,
|
|
84
|
+
hover: [],
|
|
85
|
+
legend: [],
|
|
86
|
+
center: null,
|
|
87
|
+
scales: { left: null, right: null },
|
|
88
|
+
empty: true,
|
|
89
|
+
};
|
|
90
|
+
if (o.type === 'pie' || o.type === 'doughnut' || o.type === 'polarArea')
|
|
91
|
+
return pieModel(o, model, palette);
|
|
92
|
+
if (o.type === 'radialBar')
|
|
93
|
+
return (0, more_1.radialBarModel)(o, model, palette);
|
|
94
|
+
if (o.type === 'heatmap')
|
|
95
|
+
return (0, more_1.heatmapModel)(o, model, palette);
|
|
96
|
+
if (o.type === 'treemap')
|
|
97
|
+
return (0, more_1.treemapModel)(o, model, palette);
|
|
98
|
+
const kinds = {
|
|
99
|
+
stream: kinds_1.streamModel,
|
|
100
|
+
waterfall: kinds_1.waterfallModel,
|
|
101
|
+
dumbbell: kinds_1.dumbbellModel,
|
|
102
|
+
timeline: kinds_1.timelineModel,
|
|
103
|
+
funnel: kinds_1.funnelModel,
|
|
104
|
+
boxplot: kinds_1.boxplotModel,
|
|
105
|
+
histogram: kinds_1.histogramModel,
|
|
106
|
+
sunburst: kinds_1.sunburstModel,
|
|
107
|
+
unit: kinds_1.unitModel,
|
|
108
|
+
slope: kinds_1.slopeModel,
|
|
109
|
+
};
|
|
110
|
+
const kind = kinds[o.type];
|
|
111
|
+
if (kind) {
|
|
112
|
+
model.generic = true;
|
|
113
|
+
return kind(o, model, palette);
|
|
114
|
+
}
|
|
115
|
+
model.legend = series.map((s, i) => ({
|
|
116
|
+
index: i,
|
|
117
|
+
name: s.name ?? '',
|
|
118
|
+
color: s.color || palette[i % palette.length],
|
|
119
|
+
hidden: !!s.hidden,
|
|
120
|
+
shape: o.type === 'scatter' ? 'dot' : (s.type || o.type) === 'line' ? 'line' : 'box',
|
|
121
|
+
}));
|
|
122
|
+
if (o.type === 'radar')
|
|
123
|
+
return radarModel(o, model, palette);
|
|
124
|
+
return cartesianModel(o, model, palette);
|
|
125
|
+
}
|
|
126
|
+
function cartesianModel(o, model, palette) {
|
|
127
|
+
const { width, height } = model;
|
|
128
|
+
const fontSize = o.fontSize || 12;
|
|
129
|
+
const measure = o.measure || approx;
|
|
130
|
+
const fmt = (v, right = false) => (0, format_1.formatChartValue)(v, right ? o.rightFormat ?? o.format : o.format, o.formatOptions);
|
|
131
|
+
const scatter = o.type === 'scatter';
|
|
132
|
+
const horizontal = !!o.horizontal && !scatter;
|
|
133
|
+
const labels = (o.labels || []).map((l) => String(l ?? ''));
|
|
134
|
+
const all = (o.series || []).map((s, i) => {
|
|
135
|
+
const kind = scatter ? 'scatter' : s.type || (o.type === 'area' ? 'area' : o.type === 'line' ? 'line' : 'bar');
|
|
136
|
+
const values = scatter ? [] : s.data.map((v) => num(v));
|
|
137
|
+
return {
|
|
138
|
+
i,
|
|
139
|
+
s,
|
|
140
|
+
kind,
|
|
141
|
+
color: s.color || palette[i % palette.length],
|
|
142
|
+
right: s.axis === 'right' && !horizontal,
|
|
143
|
+
stackKey: s.stack ?? (o.stacked ? '*' : `#${i}`),
|
|
144
|
+
values,
|
|
145
|
+
lo: [],
|
|
146
|
+
hi: [],
|
|
147
|
+
};
|
|
148
|
+
});
|
|
149
|
+
const shown = all.filter((p) => !p.s.hidden);
|
|
150
|
+
const count = Math.max(labels.length, ...all.map((p) => p.values.length), 0);
|
|
151
|
+
model.empty = scatter ? !shown.some((p) => p.s.data.some(isXY)) : !shown.some((p) => p.values.some((v) => v !== null));
|
|
152
|
+
// Stacks: positive values pile up from 0, negative ones down, per axis, stack key and kind of mark.
|
|
153
|
+
const piles = new Map();
|
|
154
|
+
for (const p of shown) {
|
|
155
|
+
if (p.kind === 'scatter')
|
|
156
|
+
continue;
|
|
157
|
+
const stacks = p.stackKey !== `#${p.i}` && (p.kind === 'bar' || p.kind === 'area' || o.stacked);
|
|
158
|
+
const key = `${p.right}|${p.kind === 'bar' ? 'bar' : 'line'}|${stacks ? p.stackKey : '#' + p.i}`;
|
|
159
|
+
let pile = piles.get(key);
|
|
160
|
+
if (!pile)
|
|
161
|
+
piles.set(key, (pile = { pos: [], neg: [] }));
|
|
162
|
+
p.values.forEach((v, k) => {
|
|
163
|
+
if (v === null) {
|
|
164
|
+
p.lo[k] = null;
|
|
165
|
+
p.hi[k] = null;
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
const side = v >= 0 ? pile.pos : pile.neg;
|
|
169
|
+
const base = side[k] || 0;
|
|
170
|
+
p.lo[k] = base;
|
|
171
|
+
p.hi[k] = base + v;
|
|
172
|
+
side[k] = base + v;
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
// Value domains (the annotations' values inside them).
|
|
176
|
+
const yNotes = [...(o.referenceLines || []), ...(o.annotations?.y || [])].filter((r) => Number.isFinite(r.value));
|
|
177
|
+
const extent = (right) => {
|
|
178
|
+
let lo = Infinity;
|
|
179
|
+
let hi = -Infinity;
|
|
180
|
+
for (const p of shown) {
|
|
181
|
+
if (p.right !== right)
|
|
182
|
+
continue;
|
|
183
|
+
if (p.kind === 'scatter') {
|
|
184
|
+
for (const d of p.s.data) {
|
|
185
|
+
if (!isXY(d))
|
|
186
|
+
continue;
|
|
187
|
+
lo = Math.min(lo, d.y);
|
|
188
|
+
hi = Math.max(hi, d.y);
|
|
189
|
+
}
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
192
|
+
for (let k = 0; k < p.values.length; k++) {
|
|
193
|
+
for (const v of [p.lo[k], p.hi[k]]) {
|
|
194
|
+
if (v === null || v === undefined)
|
|
195
|
+
continue;
|
|
196
|
+
lo = Math.min(lo, v);
|
|
197
|
+
hi = Math.max(hi, v);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
for (const ref of yNotes) {
|
|
202
|
+
if ((ref.axis === 'right') !== right)
|
|
203
|
+
continue;
|
|
204
|
+
for (const v of [ref.value, ref.to]) {
|
|
205
|
+
if (typeof v !== 'number' || !Number.isFinite(v))
|
|
206
|
+
continue;
|
|
207
|
+
lo = Math.min(lo, v);
|
|
208
|
+
hi = Math.max(hi, v);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
for (const pt of o.annotations?.points || []) {
|
|
212
|
+
if ((pt.axis === 'right') !== right || !Number.isFinite(pt.value))
|
|
213
|
+
continue;
|
|
214
|
+
lo = Math.min(lo, pt.value);
|
|
215
|
+
hi = Math.max(hi, pt.value);
|
|
216
|
+
}
|
|
217
|
+
return lo <= hi ? [lo, hi] : [0, 1];
|
|
218
|
+
};
|
|
219
|
+
const hasBars = shown.some((p) => p.kind === 'bar');
|
|
220
|
+
// A sparkline shows the trend: its areas need not start from 0.
|
|
221
|
+
const zero = o.beginAtZero ?? (hasBars || (!o.sparkline && shown.some((p) => p.kind === 'area')));
|
|
222
|
+
const hasRight = !horizontal && shown.some((p) => p.right);
|
|
223
|
+
// Margins: titles, tick text, and room above for value labels.
|
|
224
|
+
const lineH = fontSize * 1.4;
|
|
225
|
+
const pad = 8;
|
|
226
|
+
let top = pad + (o.showValues ? lineH : fontSize / 2);
|
|
227
|
+
let bottom = pad + lineH + 4;
|
|
228
|
+
if (o.xTitle)
|
|
229
|
+
bottom += lineH + 2;
|
|
230
|
+
// A first value scale guess, to know how wide its tick text is.
|
|
231
|
+
const valueSpan = horizontal ? width : height - top - bottom;
|
|
232
|
+
const tickCount = Math.max(2, Math.min(10, Math.floor(valueSpan / (horizontal ? 90 : 44))));
|
|
233
|
+
const [l0, l1] = extent(false);
|
|
234
|
+
const left = (0, scale_1.niceScale)(o.min ?? l0, o.max ?? l1, tickCount, zero);
|
|
235
|
+
if (o.min !== undefined)
|
|
236
|
+
left.min = o.min;
|
|
237
|
+
if (o.max !== undefined)
|
|
238
|
+
left.max = o.max;
|
|
239
|
+
const [r0, r1] = extent(true);
|
|
240
|
+
const right = (0, scale_1.niceScale)(o.rightMin ?? r0, o.rightMax ?? r1, tickCount, zero);
|
|
241
|
+
for (const [scale, given] of [
|
|
242
|
+
[left, o.scales?.left],
|
|
243
|
+
[right, o.scales?.right],
|
|
244
|
+
]) {
|
|
245
|
+
if (given && Number.isFinite(given.min) && Number.isFinite(given.max) && given.max > given.min) {
|
|
246
|
+
scale.min = given.min;
|
|
247
|
+
scale.max = given.max;
|
|
248
|
+
scale.ticks = [...given.ticks];
|
|
249
|
+
}
|
|
250
|
+
scale.ticks = scale.ticks.filter((t) => t >= scale.min - 1e-9 && t <= scale.max + 1e-9);
|
|
251
|
+
}
|
|
252
|
+
let xScale = { min: 0, max: 1, ticks: [] };
|
|
253
|
+
if (scatter) {
|
|
254
|
+
let lo = Infinity;
|
|
255
|
+
let hi = -Infinity;
|
|
256
|
+
for (const p of shown) {
|
|
257
|
+
for (const d of p.s.data) {
|
|
258
|
+
if (!isXY(d))
|
|
259
|
+
continue;
|
|
260
|
+
lo = Math.min(lo, d.x);
|
|
261
|
+
hi = Math.max(hi, d.x);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
xScale = (0, scale_1.niceScale)(lo <= hi ? lo : 0, lo <= hi ? hi : 1, Math.max(2, Math.floor(width / 90)), false);
|
|
265
|
+
}
|
|
266
|
+
const widest = (texts) => texts.reduce((w, t) => Math.max(w, measure(t, fontSize)), 0);
|
|
267
|
+
let leftW;
|
|
268
|
+
if (horizontal)
|
|
269
|
+
leftW = Math.min(width * 0.4, widest(labels)) + pad;
|
|
270
|
+
else
|
|
271
|
+
leftW = widest(left.ticks.map((v) => fmt(v))) + pad;
|
|
272
|
+
if (o.yTitle)
|
|
273
|
+
leftW += lineH + 2;
|
|
274
|
+
let rightW = hasRight ? widest(right.ticks.map((v) => fmt(v, true))) + pad : pad;
|
|
275
|
+
if (hasRight && o.y2Title)
|
|
276
|
+
rightW += lineH + 2;
|
|
277
|
+
if (horizontal && o.showValues)
|
|
278
|
+
rightW += widest(shown.flatMap((p) => p.values.map((v) => (v === null ? '' : fmt(v))))) + 4;
|
|
279
|
+
// The last category or value label must not stick out on the right.
|
|
280
|
+
const spark = !!o.sparkline;
|
|
281
|
+
// A sparkline fills the box, leaving only room for the line's width and its dots.
|
|
282
|
+
const plot = spark
|
|
283
|
+
? { x: 3, y: o.showValues ? lineH : 3, w: Math.max(10, width - 6), h: Math.max(10, height - (o.showValues ? lineH : 3) - 3) }
|
|
284
|
+
: { x: pad + leftW, y: top, w: Math.max(10, width - pad * 2 - leftW - rightW), h: Math.max(10, height - top - bottom) };
|
|
285
|
+
model.plot = plot;
|
|
286
|
+
model.scales = { left: { min: left.min, max: left.max, ticks: [...left.ticks] }, right: hasRight ? { min: right.min, max: right.max, ticks: [...right.ticks] } : null };
|
|
287
|
+
const yOf = (v, isRight) => {
|
|
288
|
+
const sc = isRight ? right : left;
|
|
289
|
+
return (0, scale_1.scaleLinear)(v, sc.min, sc.max, plot.y + plot.h, plot.y);
|
|
290
|
+
};
|
|
291
|
+
const xOfValue = (v) => (0, scale_1.scaleLinear)(v, left.min, left.max, plot.x, plot.x + plot.w);
|
|
292
|
+
// Category positions: bands when there are bars, otherwise points from edge to edge.
|
|
293
|
+
const band = (0, scale_1.bands)(count, horizontal ? plot.y : plot.x, horizontal ? plot.y + plot.h : plot.x + plot.w, hasBars ? o.barPadding ?? 0.25 : 0);
|
|
294
|
+
const centerOf = (k) => (hasBars || count < 2 ? band.offset(k) + band.width / 2 : plot.x + (plot.w * k) / (count - 1));
|
|
295
|
+
// Grid and value ticks.
|
|
296
|
+
const showGrid = o.grid !== false;
|
|
297
|
+
if (horizontal) {
|
|
298
|
+
for (const v of left.ticks) {
|
|
299
|
+
const x = xOfValue(v);
|
|
300
|
+
if (showGrid)
|
|
301
|
+
model.grid.push({ x1: x, y1: plot.y, x2: x, y2: plot.y + plot.h });
|
|
302
|
+
model.xTicks.push({ x, y: plot.y + plot.h + pad / 2, text: fmt(v), anchor: 'middle', baseline: 'hanging' });
|
|
303
|
+
}
|
|
304
|
+
if (left.min < 0 && left.max > 0)
|
|
305
|
+
model.zero = { x1: xOfValue(0), y1: plot.y, x2: xOfValue(0), y2: plot.y + plot.h };
|
|
306
|
+
}
|
|
307
|
+
else {
|
|
308
|
+
for (const v of left.ticks) {
|
|
309
|
+
const y = yOf(v, false);
|
|
310
|
+
if (showGrid)
|
|
311
|
+
model.grid.push({ x1: plot.x, y1: y, x2: plot.x + plot.w, y2: y });
|
|
312
|
+
model.yTicks.push({ x: plot.x - pad / 2, y, text: fmt(v), anchor: 'end', baseline: 'middle' });
|
|
313
|
+
}
|
|
314
|
+
if (hasRight)
|
|
315
|
+
for (const v of right.ticks)
|
|
316
|
+
model.y2Ticks.push({ x: plot.x + plot.w + pad / 2, y: yOf(v, true), text: fmt(v, true), anchor: 'start', baseline: 'middle' });
|
|
317
|
+
if (left.min < 0 && left.max > 0)
|
|
318
|
+
model.zero = { x1: plot.x, y1: yOf(0, false), x2: plot.x + plot.w, y2: yOf(0, false) };
|
|
319
|
+
}
|
|
320
|
+
// Category ticks (every k-th when they would touch).
|
|
321
|
+
if (scatter) {
|
|
322
|
+
for (const v of xScale.ticks) {
|
|
323
|
+
const x = (0, scale_1.scaleLinear)(v, xScale.min, xScale.max, plot.x, plot.x + plot.w);
|
|
324
|
+
if (showGrid)
|
|
325
|
+
model.grid.push({ x1: x, y1: plot.y, x2: x, y2: plot.y + plot.h });
|
|
326
|
+
model.xTicks.push({ x, y: plot.y + plot.h + pad / 2, text: fmt(v), anchor: 'middle', baseline: 'hanging' });
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
else if (horizontal) {
|
|
330
|
+
const every = Math.max(1, Math.ceil((lineH + 2) / Math.max(1, band.step)));
|
|
331
|
+
for (let k = 0; k < count; k += every)
|
|
332
|
+
model.yTicks.push({ x: plot.x - pad / 2, y: centerOf(k), text: labels[k] ?? '', anchor: 'end', baseline: 'middle' });
|
|
333
|
+
}
|
|
334
|
+
else {
|
|
335
|
+
const space = hasBars || count < 2 ? band.step : plot.w / Math.max(1, count - 1);
|
|
336
|
+
const every = Math.max(1, Math.ceil((widest(labels) + pad) / Math.max(1, space)));
|
|
337
|
+
for (let k = 0; k < count; k += every) {
|
|
338
|
+
const x = centerOf(k);
|
|
339
|
+
const anchor = !hasBars && count > 1 && k === 0 ? 'start' : !hasBars && count > 1 && k === count - 1 ? 'end' : 'middle';
|
|
340
|
+
model.xTicks.push({ x, y: plot.y + plot.h + pad / 2, text: labels[k] ?? '', anchor, baseline: 'hanging' });
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
if (spark) {
|
|
344
|
+
model.xTicks = [];
|
|
345
|
+
model.yTicks = [];
|
|
346
|
+
model.y2Ticks = [];
|
|
347
|
+
model.grid = [];
|
|
348
|
+
model.zero = null;
|
|
349
|
+
}
|
|
350
|
+
// Axis titles.
|
|
351
|
+
if (o.xTitle && !spark)
|
|
352
|
+
model.titles.push({ x: plot.x + plot.w / 2, y: height - pad, text: o.xTitle, anchor: 'middle', baseline: 'auto' });
|
|
353
|
+
if (o.yTitle && !spark)
|
|
354
|
+
model.titles.push({ x: pad + fontSize * 0.7, y: plot.y + plot.h / 2, text: o.yTitle, anchor: 'middle', baseline: 'middle', rotate: -90 });
|
|
355
|
+
if (hasRight && o.y2Title && !spark)
|
|
356
|
+
model.titles.push({ x: width - pad - fontSize * 0.7, y: plot.y + plot.h / 2, text: o.y2Title, anchor: 'middle', baseline: 'middle', rotate: 90 });
|
|
357
|
+
// Bars: one slot per bar stack in each band.
|
|
358
|
+
const barGroups = [...new Set(shown.filter((p) => p.kind === 'bar').map((p) => `${p.right}|${p.stackKey}`))];
|
|
359
|
+
const slot = barGroups.length ? band.width / barGroups.length : 0;
|
|
360
|
+
const radius = o.barRadius ?? 4;
|
|
361
|
+
for (const p of shown) {
|
|
362
|
+
if (p.kind !== 'bar')
|
|
363
|
+
continue;
|
|
364
|
+
const g = barGroups.indexOf(`${p.right}|${p.stackKey}`);
|
|
365
|
+
const single = shown.length === 1;
|
|
366
|
+
p.values.forEach((v, k) => {
|
|
367
|
+
const lo = p.lo[k];
|
|
368
|
+
const hi = p.hi[k];
|
|
369
|
+
if (v === null || lo === null || hi === null || lo === undefined || hi === undefined)
|
|
370
|
+
return;
|
|
371
|
+
const color = (single && p.s.colors?.[k]) || p.color;
|
|
372
|
+
const start = band.offset(k) + g * slot + slot * 0.06;
|
|
373
|
+
const thick = slot * 0.88;
|
|
374
|
+
// Only the outer end of a stack is rounded.
|
|
375
|
+
const isEnd = !shown.some((q) => q !== p && q.kind === 'bar' && q.right === p.right && q.stackKey === p.stackKey && q.i > p.i && q.values[k] !== null && Math.sign(q.values[k]) === Math.sign(v));
|
|
376
|
+
if (horizontal) {
|
|
377
|
+
const x0 = xOfValue(Math.min(lo, hi));
|
|
378
|
+
const x1 = xOfValue(Math.max(lo, hi));
|
|
379
|
+
const box = { x: x0, y: start, w: Math.max(0, x1 - x0), h: thick };
|
|
380
|
+
model.bars.push({ key: `b${p.i}-${k}`, d: (0, paths_1.barPath)(box.x, box.y, box.w, box.h, isEnd ? radius : 0, v >= 0 ? 'right' : 'left'), ...box, color, series: p.i, index: k, value: v });
|
|
381
|
+
if (o.showValues && isEnd)
|
|
382
|
+
model.valueLabels.push({ x: (v >= 0 ? x1 + 4 : x0 - 4), y: start + thick / 2, text: fmt(p.hi[k]), anchor: v >= 0 ? 'start' : 'end', baseline: 'middle' });
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
const y0 = yOf(Math.max(lo, hi), p.right);
|
|
386
|
+
const y1 = yOf(Math.min(lo, hi), p.right);
|
|
387
|
+
const box = { x: start, y: y0, w: thick, h: Math.max(0, y1 - y0) };
|
|
388
|
+
model.bars.push({ key: `b${p.i}-${k}`, d: (0, paths_1.barPath)(box.x, box.y, box.w, box.h, isEnd ? radius : 0, v >= 0 ? 'top' : 'bottom'), ...box, color, series: p.i, index: k, value: v });
|
|
389
|
+
if (o.showValues && isEnd)
|
|
390
|
+
model.valueLabels.push({ x: start + thick / 2, y: v >= 0 ? y0 - 4 : y1 + 4, text: fmt(p.hi[k], p.right), anchor: 'middle', baseline: v >= 0 ? 'auto' : 'hanging' });
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
// Lines and areas (drawn over the bars), then dots.
|
|
395
|
+
const dotsWanted = o.points ?? (!o.sparkline && count <= 40);
|
|
396
|
+
for (const p of shown) {
|
|
397
|
+
if (p.kind === 'bar')
|
|
398
|
+
continue;
|
|
399
|
+
if (p.kind === 'scatter') {
|
|
400
|
+
p.s.data.forEach((d, k) => {
|
|
401
|
+
if (!isXY(d))
|
|
402
|
+
return;
|
|
403
|
+
model.dots.push({
|
|
404
|
+
key: `d${p.i}-${k}`,
|
|
405
|
+
cx: (0, scale_1.scaleLinear)(d.x, xScale.min, xScale.max, plot.x, plot.x + plot.w),
|
|
406
|
+
cy: yOf(d.y, false),
|
|
407
|
+
r: d.r && d.r > 0 ? d.r : 4.5,
|
|
408
|
+
color: p.color,
|
|
409
|
+
series: p.i,
|
|
410
|
+
index: k,
|
|
411
|
+
value: d.y,
|
|
412
|
+
x: d.x,
|
|
413
|
+
});
|
|
414
|
+
});
|
|
415
|
+
continue;
|
|
416
|
+
}
|
|
417
|
+
const smooth = p.s.curve ?? (p.s.smooth === undefined ? o.curve ?? (o.smooth ? 'smooth' : 'straight') : p.s.smooth ? 'smooth' : 'straight');
|
|
418
|
+
const top = p.values.map((v, k) => (v === null || p.hi[k] === null || p.hi[k] === undefined ? null : { x: centerOf(k), y: yOf(p.hi[k], p.right) }));
|
|
419
|
+
let area = null;
|
|
420
|
+
if (p.kind === 'area' || p.s.fill) {
|
|
421
|
+
const stacked = p.lo.some((v) => v !== null && v !== undefined && v !== 0);
|
|
422
|
+
if (stacked) {
|
|
423
|
+
const upper = [];
|
|
424
|
+
const lower = [];
|
|
425
|
+
p.values.forEach((v, k) => {
|
|
426
|
+
if (v === null)
|
|
427
|
+
return;
|
|
428
|
+
upper.push({ x: centerOf(k), y: yOf(p.hi[k], p.right) });
|
|
429
|
+
lower.push({ x: centerOf(k), y: yOf(p.lo[k], p.right) });
|
|
430
|
+
});
|
|
431
|
+
area = (0, paths_1.bandPath)(upper, lower, smooth);
|
|
432
|
+
}
|
|
433
|
+
else {
|
|
434
|
+
const sc = p.right ? right : left;
|
|
435
|
+
area = (0, paths_1.areaPath)(top, yOf(Math.min(Math.max(0, sc.min), sc.max), p.right), smooth);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
model.lines.push({ key: `l${p.i}`, d: (0, paths_1.linePath)(top, smooth), color: p.color, series: p.i, dashed: !!p.s.dashed, area, gradient: !!area && o.gradient !== false });
|
|
439
|
+
top.forEach((pt, k) => {
|
|
440
|
+
if (!pt)
|
|
441
|
+
return;
|
|
442
|
+
model.dots.push({ key: `d${p.i}-${k}`, cx: pt.x, cy: pt.y, r: dotsWanted ? 3.5 : 0, color: p.color, series: p.i, index: k, value: p.values[k] });
|
|
443
|
+
if (o.showValues)
|
|
444
|
+
model.valueLabels.push({ x: pt.x, y: pt.y - 8, text: fmt(p.hi[k], p.right), anchor: 'middle', baseline: 'auto' });
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
// Reference lines and bands.
|
|
448
|
+
for (const ref of yNotes) {
|
|
449
|
+
const isRight = ref.axis === 'right' && hasRight;
|
|
450
|
+
const color = ref.color || 'var(--wu-chart-reference-color)';
|
|
451
|
+
if (typeof ref.to === 'number' && Number.isFinite(ref.to)) {
|
|
452
|
+
const [a, b] = [Math.min(ref.value, ref.to), Math.max(ref.value, ref.to)];
|
|
453
|
+
if (horizontal) {
|
|
454
|
+
const x0 = Math.max(plot.x, xOfValue(a));
|
|
455
|
+
const x1 = Math.min(plot.x + plot.w, xOfValue(b));
|
|
456
|
+
model.bands.push({ x: x0, y: plot.y, w: Math.max(0, x1 - x0), h: plot.h, color, label: ref.label ? { x: x0 + 6, y: plot.y + 4, text: ref.label, anchor: 'start', baseline: 'hanging' } : null });
|
|
457
|
+
}
|
|
458
|
+
else {
|
|
459
|
+
const y0 = Math.max(plot.y, yOf(b, isRight));
|
|
460
|
+
const y1 = Math.min(plot.y + plot.h, yOf(a, isRight));
|
|
461
|
+
model.bands.push({ x: plot.x, y: y0, w: plot.w, h: Math.max(0, y1 - y0), color, label: ref.label ? { x: plot.x + 6, y: y0 + 4, text: ref.label, anchor: 'start', baseline: 'hanging' } : null });
|
|
462
|
+
}
|
|
463
|
+
continue;
|
|
464
|
+
}
|
|
465
|
+
if (horizontal) {
|
|
466
|
+
const x = xOfValue(ref.value);
|
|
467
|
+
model.references.push({ x1: x, y1: plot.y, x2: x, y2: plot.y + plot.h, color, dashed: ref.dashed !== false, label: ref.label ? { x: x + 4, y: plot.y + 2, text: ref.label, anchor: 'start', baseline: 'hanging' } : null });
|
|
468
|
+
}
|
|
469
|
+
else {
|
|
470
|
+
const y = yOf(ref.value, isRight);
|
|
471
|
+
model.references.push({ x1: plot.x, y1: y, x2: plot.x + plot.w, y2: y, color, dashed: ref.dashed !== false, label: ref.label ? { x: plot.x + plot.w - 4, y: y - 4, text: ref.label, anchor: 'end', baseline: 'auto' } : null });
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
// Lines and bands at labels, and marked points.
|
|
475
|
+
const indexOf = (at) => (typeof at === 'number' ? (Number.isInteger(at) && at >= 0 && at < count ? at : -1) : labels.indexOf(String(at)));
|
|
476
|
+
if (!scatter) {
|
|
477
|
+
for (const note of o.annotations?.x || []) {
|
|
478
|
+
const k = indexOf(note.at);
|
|
479
|
+
if (k < 0)
|
|
480
|
+
continue;
|
|
481
|
+
const color = note.color || 'var(--wu-chart-reference-color)';
|
|
482
|
+
const k2 = note.to === undefined ? -1 : indexOf(note.to);
|
|
483
|
+
if (k2 >= 0) {
|
|
484
|
+
const [a, b] = [Math.min(k, k2), Math.max(k, k2)];
|
|
485
|
+
const from = hasBars || count < 2 ? band.offset(a) : centerOf(a);
|
|
486
|
+
const to = hasBars || count < 2 ? band.offset(b) + band.width : centerOf(b);
|
|
487
|
+
if (horizontal)
|
|
488
|
+
model.bands.push({ x: plot.x, y: from, w: plot.w, h: to - from, color, label: note.label ? { x: plot.x + plot.w - 6, y: from + 4, text: note.label, anchor: 'end', baseline: 'hanging' } : null });
|
|
489
|
+
else
|
|
490
|
+
model.bands.push({ x: from, y: plot.y, w: to - from, h: plot.h, color, label: note.label ? { x: from + 6, y: plot.y + 4, text: note.label, anchor: 'start', baseline: 'hanging' } : null });
|
|
491
|
+
continue;
|
|
492
|
+
}
|
|
493
|
+
const c = centerOf(k);
|
|
494
|
+
if (horizontal)
|
|
495
|
+
model.references.push({ x1: plot.x, y1: c, x2: plot.x + plot.w, y2: c, color, dashed: note.dashed !== false, label: note.label ? { x: plot.x + plot.w - 4, y: c - 4, text: note.label, anchor: 'end', baseline: 'auto' } : null });
|
|
496
|
+
else
|
|
497
|
+
model.references.push({ x1: c, y1: plot.y, x2: c, y2: plot.y + plot.h, color, dashed: note.dashed !== false, label: note.label ? { x: c + 4, y: plot.y + 2, text: note.label, anchor: 'start', baseline: 'hanging' } : null });
|
|
498
|
+
}
|
|
499
|
+
for (const pt of o.annotations?.points || []) {
|
|
500
|
+
const k = indexOf(pt.at);
|
|
501
|
+
if (k < 0 || !Number.isFinite(pt.value))
|
|
502
|
+
continue;
|
|
503
|
+
const color = pt.color || 'var(--wu-chart-mark-color)';
|
|
504
|
+
const x = horizontal ? xOfValue(pt.value) : centerOf(k);
|
|
505
|
+
const y = horizontal ? centerOf(k) : yOf(pt.value, pt.axis === 'right' && hasRight);
|
|
506
|
+
let label = null;
|
|
507
|
+
let box = null;
|
|
508
|
+
if (pt.label) {
|
|
509
|
+
const w = measure(pt.label, fontSize) + 14;
|
|
510
|
+
const h = fontSize + 10;
|
|
511
|
+
// Above the point, kept inside the drawing.
|
|
512
|
+
const bx = Math.min(Math.max(2, x - w / 2), width - w - 2);
|
|
513
|
+
const by = y - 12 - h < 2 ? y + 12 : y - 12 - h;
|
|
514
|
+
box = { x: bx, y: by, w, h };
|
|
515
|
+
label = { x: bx + w / 2, y: by + h / 2, text: pt.label, anchor: 'middle', baseline: 'middle', tone: 'inside' };
|
|
516
|
+
}
|
|
517
|
+
model.marks.push({ x, y, color, label, box });
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
// Hover bands: one per category (scatter: per point).
|
|
521
|
+
if (scatter) {
|
|
522
|
+
for (const d of model.dots)
|
|
523
|
+
model.hover.push({ index: d.index, x: d.cx - 10, y: d.cy - 10, w: 20, h: 20, cx: d.cx, cy: d.cy });
|
|
524
|
+
}
|
|
525
|
+
else {
|
|
526
|
+
for (let k = 0; k < count; k++) {
|
|
527
|
+
const c = centerOf(k);
|
|
528
|
+
const half = hasBars || count < 2 ? band.step / 2 : plot.w / Math.max(1, count - 1) / 2;
|
|
529
|
+
if (horizontal)
|
|
530
|
+
model.hover.push({ index: k, x: plot.x, y: c - half, w: plot.w, h: half * 2, cx: plot.x + plot.w, cy: c });
|
|
531
|
+
else {
|
|
532
|
+
const x0 = Math.max(plot.x, c - half);
|
|
533
|
+
const x1 = Math.min(plot.x + plot.w, c + half);
|
|
534
|
+
model.hover.push({ index: k, x: x0, y: plot.y, w: x1 - x0, h: plot.h, cx: c, cy: plot.y });
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
return model;
|
|
539
|
+
}
|
|
540
|
+
// ---------------------------------------------------------------- pie / doughnut
|
|
541
|
+
function pieModel(o, model, palette) {
|
|
542
|
+
const s = (o.series || [])[0];
|
|
543
|
+
const fontSize = o.fontSize || 12;
|
|
544
|
+
const measure = o.measure || approx;
|
|
545
|
+
const labels = (o.labels || []).map((l) => String(l ?? ''));
|
|
546
|
+
const values = s ? s.data.map((v) => Math.max(0, num(v) ?? 0)) : [];
|
|
547
|
+
const hidden = new Set(o.hiddenSlices || []);
|
|
548
|
+
const colorOf = (k) => s?.colors?.[k] || palette[k % palette.length];
|
|
549
|
+
model.legend = values.map((_, k) => ({ index: k, name: labels[k] ?? '', color: colorOf(k), hidden: hidden.has(k), shape: 'box' }));
|
|
550
|
+
const total = values.reduce((sum, v, k) => sum + (hidden.has(k) ? 0 : v), 0);
|
|
551
|
+
model.empty = !(total > 0);
|
|
552
|
+
const polarArea = o.type === 'polarArea';
|
|
553
|
+
const { start, span, lift } = (0, more_1.arcSpan)(o);
|
|
554
|
+
const fit = (0, paths_1.fitArc)(model.width, model.height, start, start + span, 10);
|
|
555
|
+
const outer = fit.radius;
|
|
556
|
+
const inner = o.type === 'doughnut' ? outer * Math.min(0.95, Math.max(0, o.cutout ?? 0.62)) : 0;
|
|
557
|
+
const { cx, cy } = fit;
|
|
558
|
+
model.plot = { x: cx - outer, y: cy - outer, w: outer * 2, h: outer * 2 };
|
|
559
|
+
if (inner > 0)
|
|
560
|
+
model.center = { x: cx, y: cy, r: inner, lift };
|
|
561
|
+
// Polar area: equal angles, the radius shows the value (rings mark the scale).
|
|
562
|
+
let rOf = (_) => outer;
|
|
563
|
+
if (polarArea) {
|
|
564
|
+
const scale = (0, scale_1.niceScale)(0, Math.max(0, ...values.filter((_, k) => !hidden.has(k))) || 1, 5, true);
|
|
565
|
+
const given = o.scales?.left;
|
|
566
|
+
if (given && given.max > given.min)
|
|
567
|
+
Object.assign(scale, { min: given.min, max: given.max, ticks: given.ticks.filter((t) => t <= given.max + 1e-9) });
|
|
568
|
+
model.scales = { left: { min: scale.min, max: scale.max, ticks: [...scale.ticks] }, right: null };
|
|
569
|
+
rOf = (v) => (0, scale_1.scaleLinear)(Math.min(v, scale.max), 0, scale.max, 0, outer);
|
|
570
|
+
const radar = { rings: [], spokes: [], shapes: [], ringLabels: [] };
|
|
571
|
+
for (const t of scale.ticks) {
|
|
572
|
+
if (t <= 0)
|
|
573
|
+
continue;
|
|
574
|
+
radar.rings.push((0, paths_1.arcLine)(cx, cy, rOf(t), 0, Math.PI * 2));
|
|
575
|
+
radar.ringLabels.push({ x: cx + 4, y: cy - rOf(t), text: (0, format_1.formatChartValue)(t, o.format, o.formatOptions), anchor: 'start', baseline: 'middle' });
|
|
576
|
+
}
|
|
577
|
+
model.radar = radar;
|
|
578
|
+
}
|
|
579
|
+
if (model.empty)
|
|
580
|
+
return model;
|
|
581
|
+
const shownCount = values.filter((v, k) => v > 0 && !hidden.has(k)).length;
|
|
582
|
+
const gap = shownCount > 1 ? Math.min(0.02, 1 / Math.max(1, outer)) : 0;
|
|
583
|
+
let angle = start;
|
|
584
|
+
const turn = span * Math.min(1, Math.max(0, o.sweep ?? 1));
|
|
585
|
+
values.forEach((v, k) => {
|
|
586
|
+
if (hidden.has(k) || !(v > 0))
|
|
587
|
+
return;
|
|
588
|
+
const sweep = polarArea ? turn / shownCount : (v / total) * turn;
|
|
589
|
+
const a0 = angle + gap / 2;
|
|
590
|
+
const a1 = angle + sweep - gap / 2;
|
|
591
|
+
const mid = angle + sweep / 2;
|
|
592
|
+
angle += sweep;
|
|
593
|
+
const r1 = polarArea ? rOf(v) : outer;
|
|
594
|
+
const labelR = inner > 0 ? (inner + outer) / 2 : r1 * 0.62;
|
|
595
|
+
const at = (0, paths_1.polar)(cx, cy, labelR, mid);
|
|
596
|
+
const push = (0, paths_1.polar)(0, 0, 6, mid);
|
|
597
|
+
const percent = v / total;
|
|
598
|
+
model.slices.push({
|
|
599
|
+
key: `s${k}`,
|
|
600
|
+
d: (0, paths_1.arcPath)(cx, cy, inner, r1, a0, Math.max(a0, a1)),
|
|
601
|
+
color: colorOf(k),
|
|
602
|
+
index: k,
|
|
603
|
+
value: v,
|
|
604
|
+
percent,
|
|
605
|
+
label: labels[k] ?? '',
|
|
606
|
+
labelX: at.x,
|
|
607
|
+
labelY: at.y,
|
|
608
|
+
dx: push.x,
|
|
609
|
+
dy: push.y,
|
|
610
|
+
});
|
|
611
|
+
if (o.showValues) {
|
|
612
|
+
// The share of the whole (no unit, prefix or suffix of the values), only where it fits inside its slice.
|
|
613
|
+
const lang = o.formatOptions?.lang;
|
|
614
|
+
const tenth = percent < 0.1 && Math.round(percent * 1000) % 10 !== 0;
|
|
615
|
+
const texts = [(0, format_1.formatChartValue)(percent, 'percent', { lang, decimals: tenth ? 1 : 0 }), (0, format_1.formatChartValue)(percent, 'percent', { lang, decimals: 0 })];
|
|
616
|
+
if (polarArea)
|
|
617
|
+
texts.unshift((0, format_1.formatChartValue)(v, o.format, o.formatOptions));
|
|
618
|
+
const text = texts.find((t) => fitsSlice(cx, cy, at.x, at.y, measure(t, fontSize) + 8, fontSize * 1.2 + 4, inner, r1, a0, a1));
|
|
619
|
+
if (text)
|
|
620
|
+
model.valueLabels.push({ x: at.x, y: at.y, text, anchor: 'middle', baseline: 'middle', tone: 'inside' });
|
|
621
|
+
}
|
|
622
|
+
model.hover.push({ index: k, x: at.x, y: at.y, w: 0, h: 0, cx: at.x, cy: at.y });
|
|
623
|
+
});
|
|
624
|
+
return model;
|
|
625
|
+
}
|
|
626
|
+
/** A `w` × `h` box centred at (x, y) lies inside the ring slice between `inner` and `outer`, from angle `a0` to `a1`. */
|
|
627
|
+
function fitsSlice(cx, cy, x, y, w, h, inner, outer, a0, a1) {
|
|
628
|
+
const xs = [x - w / 2, x + w / 2];
|
|
629
|
+
const ys = [y - h / 2, y + h / 2];
|
|
630
|
+
const near = Math.hypot(Math.min(Math.max(cx, xs[0]), xs[1]) - cx, Math.min(Math.max(cy, ys[0]), ys[1]) - cy);
|
|
631
|
+
if (inner > 0 && near < inner + 2)
|
|
632
|
+
return false;
|
|
633
|
+
const whole = a1 - a0 >= Math.PI * 2 - 0.05;
|
|
634
|
+
const turn = Math.PI * 2;
|
|
635
|
+
for (const cxr of xs) {
|
|
636
|
+
for (const cyr of ys) {
|
|
637
|
+
if (Math.hypot(cxr - cx, cyr - cy) > outer - 2)
|
|
638
|
+
return false;
|
|
639
|
+
if (whole)
|
|
640
|
+
continue;
|
|
641
|
+
// The corner's angle from the slice's start, 0 … 2π.
|
|
642
|
+
const angle = (((Math.atan2(cxr - cx, cy - cyr) - a0) % turn) + turn) % turn;
|
|
643
|
+
if (angle > a1 - a0)
|
|
644
|
+
return false;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
return true;
|
|
648
|
+
}
|
|
649
|
+
// ---------------------------------------------------------------- radar
|
|
650
|
+
function radarModel(o, model, palette) {
|
|
651
|
+
const fontSize = o.fontSize || 12;
|
|
652
|
+
const measure = o.measure || approx;
|
|
653
|
+
const labels = (o.labels || []).map((l) => String(l ?? ''));
|
|
654
|
+
const shown = (o.series || []).map((s, i) => ({ s, i })).filter((p) => !p.s.hidden);
|
|
655
|
+
const count = Math.max(labels.length, ...(o.series || []).map((s) => s.data.length), 0);
|
|
656
|
+
let hi = 0;
|
|
657
|
+
for (const p of shown)
|
|
658
|
+
for (const v of p.s.data)
|
|
659
|
+
if (num(v) !== null)
|
|
660
|
+
hi = Math.max(hi, num(v));
|
|
661
|
+
model.empty = count < 3 || !shown.some((p) => p.s.data.some((v) => num(v) !== null));
|
|
662
|
+
const scale = (0, scale_1.niceScale)(o.min ?? 0, o.max ?? (hi || 1), 4, true);
|
|
663
|
+
const given = o.scales?.left;
|
|
664
|
+
if (given && Number.isFinite(given.min) && Number.isFinite(given.max) && given.max > given.min) {
|
|
665
|
+
scale.min = given.min;
|
|
666
|
+
scale.max = given.max;
|
|
667
|
+
scale.ticks = given.ticks.filter((t) => t >= given.min - 1e-9 && t <= given.max + 1e-9);
|
|
668
|
+
}
|
|
669
|
+
model.scales = { left: { min: scale.min, max: scale.max, ticks: [...scale.ticks] }, right: null };
|
|
670
|
+
const labelRoom = Math.max(0, ...labels.map((l) => measure(l, fontSize))) + 8;
|
|
671
|
+
const radius = Math.max(10, Math.min(model.width / 2 - labelRoom, model.height / 2 - fontSize * 1.6 - 8));
|
|
672
|
+
const cx = model.width / 2;
|
|
673
|
+
const cy = model.height / 2;
|
|
674
|
+
model.plot = { x: cx - radius, y: cy - radius, w: radius * 2, h: radius * 2 };
|
|
675
|
+
if (count < 3)
|
|
676
|
+
return model;
|
|
677
|
+
const angleOf = (k) => (Math.PI * 2 * k) / count;
|
|
678
|
+
const rOf = (v) => (0, scale_1.scaleLinear)(Math.max(scale.min, Math.min(scale.max, v)), scale.min, scale.max, 0, radius);
|
|
679
|
+
const radar = { rings: [], spokes: [], shapes: [], ringLabels: [] };
|
|
680
|
+
for (const t of scale.ticks) {
|
|
681
|
+
if (t <= scale.min)
|
|
682
|
+
continue;
|
|
683
|
+
const pts = Array.from({ length: count }, (_, k) => (0, paths_1.polar)(cx, cy, rOf(t), angleOf(k)));
|
|
684
|
+
radar.rings.push(pts.map((p, k) => `${k ? 'L' : 'M'}${p.x.toFixed(2)} ${p.y.toFixed(2)}`).join('') + 'Z');
|
|
685
|
+
radar.ringLabels.push({ x: cx + 4, y: cy - rOf(t), text: (0, format_1.formatChartValue)(t, o.format, o.formatOptions), anchor: 'start', baseline: 'middle' });
|
|
686
|
+
}
|
|
687
|
+
for (let k = 0; k < count; k++) {
|
|
688
|
+
const end = (0, paths_1.polar)(cx, cy, radius, angleOf(k));
|
|
689
|
+
radar.spokes.push({ x1: cx, y1: cy, x2: end.x, y2: end.y });
|
|
690
|
+
const at = (0, paths_1.polar)(cx, cy, radius + 8, angleOf(k));
|
|
691
|
+
const sin = Math.sin(angleOf(k));
|
|
692
|
+
const cos = Math.cos(angleOf(k));
|
|
693
|
+
model.xTicks.push({
|
|
694
|
+
x: at.x,
|
|
695
|
+
y: at.y,
|
|
696
|
+
text: labels[k] ?? '',
|
|
697
|
+
anchor: Math.abs(sin) < 0.1 ? 'middle' : sin > 0 ? 'start' : 'end',
|
|
698
|
+
baseline: Math.abs(cos) < 0.1 ? 'middle' : cos > 0 ? 'auto' : 'hanging',
|
|
699
|
+
});
|
|
700
|
+
model.hover.push({ index: k, x: at.x, y: at.y, w: 0, h: 0, cx: (0, paths_1.polar)(cx, cy, radius, angleOf(k)).x, cy: (0, paths_1.polar)(cx, cy, radius, angleOf(k)).y });
|
|
701
|
+
}
|
|
702
|
+
for (const { s, i } of shown) {
|
|
703
|
+
const color = s.color || palette[i % palette.length];
|
|
704
|
+
const pts = Array.from({ length: count }, (_, k) => (0, paths_1.polar)(cx, cy, rOf(num(s.data[k]) ?? 0), angleOf(k)));
|
|
705
|
+
radar.shapes.push({ key: `r${i}`, d: pts.map((p, k) => `${k ? 'L' : 'M'}${p.x.toFixed(2)} ${p.y.toFixed(2)}`).join('') + 'Z', color, series: i });
|
|
706
|
+
pts.forEach((p, k) => {
|
|
707
|
+
const v = num(s.data[k]);
|
|
708
|
+
if (v === null)
|
|
709
|
+
return;
|
|
710
|
+
model.dots.push({ key: `d${i}-${k}`, cx: p.x, cy: p.y, r: 3, color, series: i, index: k, value: v });
|
|
711
|
+
if (o.showValues)
|
|
712
|
+
model.valueLabels.push({ x: p.x, y: p.y - 7, text: (0, format_1.formatChartValue)(v, o.format, o.formatOptions), anchor: 'middle', baseline: 'auto' });
|
|
713
|
+
});
|
|
714
|
+
}
|
|
715
|
+
model.radar = radar;
|
|
716
|
+
return model;
|
|
717
|
+
}
|