@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,156 @@
|
|
|
1
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, TemplateRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ContentChild, ContentChildren, NgModule } from '@angular/core';
|
|
4
|
+
import { ɵtoBool, WuConfig, ɵrefreshOnTranslation, ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, ɵfindTemplate, WuTemplate } from '@wirabyte/ui/config';
|
|
5
|
+
|
|
6
|
+
const counts = new Intl.NumberFormat('en-US', { maximumFractionDigits: 2 });
|
|
7
|
+
/** Share of `max` as 0–100, rounded. */
|
|
8
|
+
function ɵprogressPercent(value, max) {
|
|
9
|
+
if (!(max > 0))
|
|
10
|
+
return 0;
|
|
11
|
+
return Math.round(Math.min(100, Math.max(0, (value / max) * 100)));
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* What the bar says. On the usual 0–100 scale: `64%`. With another `max` the bar counts:
|
|
15
|
+
* `1,000 / 2,500`, followed by the unit when it is a word (`1,000 / 2,500 รายการ`).
|
|
16
|
+
*/
|
|
17
|
+
function ɵprogressText(value, max, unit) {
|
|
18
|
+
if (max === 100)
|
|
19
|
+
return `${ɵprogressPercent(value, max)}${unit}`;
|
|
20
|
+
const done = Math.min(Math.max(0, value), Math.max(0, max));
|
|
21
|
+
const tail = unit && unit !== '%' ? ` ${unit}` : '';
|
|
22
|
+
return `${counts.format(done)} / ${counts.format(max)}${tail}`;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Progress, or an endless bar while the length is unknown: `<wu-progressbar [value]="60">`.
|
|
27
|
+
* Counting items instead: `<wu-progressbar [value]="1000" [max]="2500" unit="รายการ">` shows `1,000 / 2,500 รายการ`.
|
|
28
|
+
*/
|
|
29
|
+
class WuProgressBar {
|
|
30
|
+
set value(v) { this._value = Number(v) || 0; }
|
|
31
|
+
get value() { return this._value; }
|
|
32
|
+
/** What `value` counts up to. Default 100 (percent). */
|
|
33
|
+
set max(v) { this._max = Number(v) > 0 ? Number(v) : 100; }
|
|
34
|
+
get max() { return this._max; }
|
|
35
|
+
set showValue(v) { this._showValue = v === undefined || ɵtoBool(v); }
|
|
36
|
+
get showValue() { return this._showValue; }
|
|
37
|
+
/** Diagonal stripes on the bar. */
|
|
38
|
+
set striped(v) { this._striped = ɵtoBool(v); }
|
|
39
|
+
get striped() { return this._striped; }
|
|
40
|
+
/** Stripes that move, for work in progress (shown still to people who ask for less motion). */
|
|
41
|
+
set animated(v) { this._animated = ɵtoBool(v); }
|
|
42
|
+
get animated() { return this._animated; }
|
|
43
|
+
/** A glossy bar with a band of light sweeping along it now and then, as desktop progress bars do (a still gloss for people who ask for less motion). */
|
|
44
|
+
set shimmer(v) { this._shimmer = ɵtoBool(v); }
|
|
45
|
+
get shimmer() { return this._shimmer; }
|
|
46
|
+
constructor() {
|
|
47
|
+
this.unit = '%';
|
|
48
|
+
this.mode = 'determinate';
|
|
49
|
+
this._striped = false;
|
|
50
|
+
this._animated = false;
|
|
51
|
+
this._shimmer = false;
|
|
52
|
+
this._value = 0;
|
|
53
|
+
this._max = 100;
|
|
54
|
+
this._showValue = true;
|
|
55
|
+
this.config = inject(WuConfig);
|
|
56
|
+
this.i18n = ɵrefreshOnTranslation();
|
|
57
|
+
ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
|
|
58
|
+
}
|
|
59
|
+
ngOnDestroy() {
|
|
60
|
+
this.i18n.unsubscribe();
|
|
61
|
+
}
|
|
62
|
+
/** Width of the bar, 0–100. */
|
|
63
|
+
get percent() {
|
|
64
|
+
return ɵprogressPercent(this._value, this._max);
|
|
65
|
+
}
|
|
66
|
+
get done() {
|
|
67
|
+
return Math.min(this._max, Math.max(0, this._value));
|
|
68
|
+
}
|
|
69
|
+
get shown() {
|
|
70
|
+
return this.text || ɵprogressText(this._value, this._max, this.unit);
|
|
71
|
+
}
|
|
72
|
+
/** `<ng-template #content let-value let-max="max" let-percent="percent">` (or `wuTemplate="content"`). */
|
|
73
|
+
get contentTemplate() {
|
|
74
|
+
const own = this.contentRef instanceof TemplateRef ? this.contentRef : null;
|
|
75
|
+
return (own || ɵfindTemplate(this.templates, 'content'));
|
|
76
|
+
}
|
|
77
|
+
get context() {
|
|
78
|
+
return { $implicit: this._value, value: this._value, max: this._max, percent: this.percent };
|
|
79
|
+
}
|
|
80
|
+
/** The `style` object for the root (a plain style attribute already styles the host). */
|
|
81
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
82
|
+
get rootStyle() {
|
|
83
|
+
return this.style && typeof this.style === 'object' ? this.style : null;
|
|
84
|
+
}
|
|
85
|
+
get classes() {
|
|
86
|
+
return [this.baseClasses, this.styleClass].filter(Boolean).join(' ');
|
|
87
|
+
}
|
|
88
|
+
get baseClasses() {
|
|
89
|
+
const stripes = this._striped || this._animated ? ' wu-progressbar-striped' : '';
|
|
90
|
+
const moving = this._animated ? ' wu-progressbar-animated' : '';
|
|
91
|
+
const shimmer = this._shimmer ? ' wu-progressbar-shimmer' : '';
|
|
92
|
+
return `wu-progressbar p-progressbar p-component wu-progressbar-${this.mode} p-progressbar-${this.mode}${stripes}${moving}${shimmer}`;
|
|
93
|
+
}
|
|
94
|
+
get label() {
|
|
95
|
+
return this.ariaLabel || this.config.translation.loading;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
WuProgressBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
99
|
+
WuProgressBar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuProgressBar, isStandalone: true, selector: "wu-progressbar, wu-progressBar, wu-progress-bar", inputs: { value: "value", max: "max", text: "text", showValue: "showValue", unit: "unit", mode: "mode", color: "color", striped: "striped", animated: "animated", shimmer: "shimmer", ariaLabel: "ariaLabel", styleClass: "styleClass", style: "style" }, queries: [{ propertyName: "contentRef", first: true, predicate: ["content"] }, { propertyName: "templates", predicate: WuTemplate }], ngImport: i0, template: "<div\n [class]=\"classes\" [style]=\"rootStyle\"\n role=\"progressbar\"\n aria-valuemin=\"0\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-valuenow]=\"mode === 'determinate' ? done : null\"\n [attr.aria-valuetext]=\"mode === 'determinate' && (max !== 100 || text) ? shown : null\"\n [attr.aria-label]=\"label\"\n>\n <div\n *ngIf=\"mode === 'determinate'; else indeterminate\"\n class=\"wu-progressbar-value p-progressbar-value p-progressbar-value-animate\"\n [style.width.%]=\"percent\"\n [style.background]=\"color || null\"\n >\n <div *ngIf=\"showValue && percent > 0\" class=\"wu-progressbar-label p-progressbar-label\">\n <ng-container *ngIf=\"contentTemplate; else plain\">\n <ng-container *ngTemplateOutlet=\"contentTemplate; context: context\"></ng-container>\n </ng-container>\n <ng-template #plain>{{ shown }}</ng-template>\n </div>\n </div>\n <ng-template #indeterminate>\n <div class=\"wu-progressbar-value p-progressbar-value\" [style.background]=\"color || null\"></div>\n </ng-template>\n</div>\n", styles: ["@layer wiraui.components{:is(wu-progressbar,wu-progress-bar){display:block;height:var(--wu-progressbar-height)}.wu-progressbar{position:relative;overflow:hidden;height:100%;border-radius:var(--wu-progressbar-radius);background:var(--wu-progressbar-bg);font-family:var(--wu-font-family)}.wu-progressbar-value{display:flex;align-items:center;justify-content:center;min-width:0;height:100%;background:var(--wu-primary-color);color:var(--wu-primary-contrast);transition:width 1s ease-in-out}.wu-progressbar-striped .wu-progressbar-value{position:relative}.wu-progressbar-striped.wu-progressbar-indeterminate .wu-progressbar-value{position:absolute}.wu-progressbar-striped .wu-progressbar-value:after{content:\"\";position:absolute;inset:0;background-image:linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);background-size:var(--wu-progressbar-stripe-size) var(--wu-progressbar-stripe-size);pointer-events:none}.wu-progressbar-animated .wu-progressbar-value:after{animation:wu-progressbar-stripes .8s linear infinite}.wu-progressbar-animated:dir(rtl) .wu-progressbar-value:after{animation-direction:reverse}.wu-progressbar-shimmer .wu-progressbar-value{position:relative;overflow:hidden;container-type:inline-size;box-shadow:inset 0 .25em .3em -.15em #ffffff73,inset 0 -.2em .3em -.15em #0000001f}.wu-progressbar-shimmer.wu-progressbar-indeterminate .wu-progressbar-value{position:absolute}.wu-progressbar-shimmer .wu-progressbar-value:before{content:\"\";position:absolute;inset:0 auto 0 0;width:max(3rem,35%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.55) 50%,transparent);transform:translate(-100%);animation:wu-progressbar-shimmer 2.4s ease-in-out infinite;pointer-events:none}.wu-progressbar-shimmer:dir(rtl) .wu-progressbar-value:before{inset:0 0 0 auto;animation-name:wu-progressbar-shimmer-rtl}.wu-progressbar-label{position:relative;z-index:1;padding-inline:.5em;font-size:var(--wu-progressbar-label-size);font-weight:var(--wu-progressbar-label-weight);line-height:1;white-space:nowrap}.wu-progressbar-indeterminate .wu-progressbar-value{position:absolute;top:0;left:0;width:40%;animation:wu-progressbar-indeterminate 1.6s cubic-bezier(.65,.815,.735,.395) infinite}@keyframes wu-progressbar-stripes{0%{background-position:0 0}to{background-position:var(--wu-progressbar-stripe-size) 0}}@keyframes wu-progressbar-shimmer{0%{transform:translate(-100%)}60%,to{transform:translate(calc(100cqw + 100%))}}@keyframes wu-progressbar-shimmer-rtl{0%{transform:translate(100%)}60%,to{transform:translate(calc(-100cqw - 100%))}}@keyframes wu-progressbar-indeterminate{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion: reduce){.wu-progressbar-value{transition:none}.wu-progressbar-indeterminate .wu-progressbar-value{animation-duration:4s}.wu-progressbar-animated .wu-progressbar-value:after,.wu-progressbar-shimmer .wu-progressbar-value:before{animation:none}.wu-progressbar-shimmer .wu-progressbar-value:before{display:none}}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressBar, decorators: [{
|
|
101
|
+
type: Component,
|
|
102
|
+
args: [{ selector: 'wu-progressbar, wu-progressBar, wu-progress-bar', standalone: true, imports: [NgIf, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"classes\" [style]=\"rootStyle\"\n role=\"progressbar\"\n aria-valuemin=\"0\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-valuenow]=\"mode === 'determinate' ? done : null\"\n [attr.aria-valuetext]=\"mode === 'determinate' && (max !== 100 || text) ? shown : null\"\n [attr.aria-label]=\"label\"\n>\n <div\n *ngIf=\"mode === 'determinate'; else indeterminate\"\n class=\"wu-progressbar-value p-progressbar-value p-progressbar-value-animate\"\n [style.width.%]=\"percent\"\n [style.background]=\"color || null\"\n >\n <div *ngIf=\"showValue && percent > 0\" class=\"wu-progressbar-label p-progressbar-label\">\n <ng-container *ngIf=\"contentTemplate; else plain\">\n <ng-container *ngTemplateOutlet=\"contentTemplate; context: context\"></ng-container>\n </ng-container>\n <ng-template #plain>{{ shown }}</ng-template>\n </div>\n </div>\n <ng-template #indeterminate>\n <div class=\"wu-progressbar-value p-progressbar-value\" [style.background]=\"color || null\"></div>\n </ng-template>\n</div>\n", styles: ["@layer wiraui.components{:is(wu-progressbar,wu-progress-bar){display:block;height:var(--wu-progressbar-height)}.wu-progressbar{position:relative;overflow:hidden;height:100%;border-radius:var(--wu-progressbar-radius);background:var(--wu-progressbar-bg);font-family:var(--wu-font-family)}.wu-progressbar-value{display:flex;align-items:center;justify-content:center;min-width:0;height:100%;background:var(--wu-primary-color);color:var(--wu-primary-contrast);transition:width 1s ease-in-out}.wu-progressbar-striped .wu-progressbar-value{position:relative}.wu-progressbar-striped.wu-progressbar-indeterminate .wu-progressbar-value{position:absolute}.wu-progressbar-striped .wu-progressbar-value:after{content:\"\";position:absolute;inset:0;background-image:linear-gradient(-45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);background-size:var(--wu-progressbar-stripe-size) var(--wu-progressbar-stripe-size);pointer-events:none}.wu-progressbar-animated .wu-progressbar-value:after{animation:wu-progressbar-stripes .8s linear infinite}.wu-progressbar-animated:dir(rtl) .wu-progressbar-value:after{animation-direction:reverse}.wu-progressbar-shimmer .wu-progressbar-value{position:relative;overflow:hidden;container-type:inline-size;box-shadow:inset 0 .25em .3em -.15em #ffffff73,inset 0 -.2em .3em -.15em #0000001f}.wu-progressbar-shimmer.wu-progressbar-indeterminate .wu-progressbar-value{position:absolute}.wu-progressbar-shimmer .wu-progressbar-value:before{content:\"\";position:absolute;inset:0 auto 0 0;width:max(3rem,35%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.55) 50%,transparent);transform:translate(-100%);animation:wu-progressbar-shimmer 2.4s ease-in-out infinite;pointer-events:none}.wu-progressbar-shimmer:dir(rtl) .wu-progressbar-value:before{inset:0 0 0 auto;animation-name:wu-progressbar-shimmer-rtl}.wu-progressbar-label{position:relative;z-index:1;padding-inline:.5em;font-size:var(--wu-progressbar-label-size);font-weight:var(--wu-progressbar-label-weight);line-height:1;white-space:nowrap}.wu-progressbar-indeterminate .wu-progressbar-value{position:absolute;top:0;left:0;width:40%;animation:wu-progressbar-indeterminate 1.6s cubic-bezier(.65,.815,.735,.395) infinite}@keyframes wu-progressbar-stripes{0%{background-position:0 0}to{background-position:var(--wu-progressbar-stripe-size) 0}}@keyframes wu-progressbar-shimmer{0%{transform:translate(-100%)}60%,to{transform:translate(calc(100cqw + 100%))}}@keyframes wu-progressbar-shimmer-rtl{0%{transform:translate(100%)}60%,to{transform:translate(calc(-100cqw - 100%))}}@keyframes wu-progressbar-indeterminate{0%{transform:translate(-100%)}to{transform:translate(250%)}}@media (prefers-reduced-motion: reduce){.wu-progressbar-value{transition:none}.wu-progressbar-indeterminate .wu-progressbar-value{animation-duration:4s}.wu-progressbar-animated .wu-progressbar-value:after,.wu-progressbar-shimmer .wu-progressbar-value:before{animation:none}.wu-progressbar-shimmer .wu-progressbar-value:before{display:none}}}\n"] }]
|
|
103
|
+
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
104
|
+
type: Input
|
|
105
|
+
}], max: [{
|
|
106
|
+
type: Input
|
|
107
|
+
}], text: [{
|
|
108
|
+
type: Input
|
|
109
|
+
}], showValue: [{
|
|
110
|
+
type: Input
|
|
111
|
+
}], unit: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], mode: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], color: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], striped: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], animated: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], shimmer: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}], ariaLabel: [{
|
|
124
|
+
type: Input
|
|
125
|
+
}], contentRef: [{
|
|
126
|
+
type: ContentChild,
|
|
127
|
+
args: ['content', { descendants: false }]
|
|
128
|
+
}], templates: [{
|
|
129
|
+
type: ContentChildren,
|
|
130
|
+
args: [WuTemplate]
|
|
131
|
+
}], styleClass: [{
|
|
132
|
+
type: Input
|
|
133
|
+
}], style: [{
|
|
134
|
+
type: Input
|
|
135
|
+
}] } });
|
|
136
|
+
|
|
137
|
+
/** For NgModule apps. Standalone apps can import `WuProgressBar` directly. */
|
|
138
|
+
class WuProgressBarModule {
|
|
139
|
+
}
|
|
140
|
+
WuProgressBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
141
|
+
WuProgressBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuProgressBarModule, imports: [WuProgressBar], exports: [WuProgressBar] });
|
|
142
|
+
WuProgressBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressBarModule, imports: [WuProgressBar] });
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressBarModule, decorators: [{
|
|
144
|
+
type: NgModule,
|
|
145
|
+
args: [{
|
|
146
|
+
imports: [WuProgressBar],
|
|
147
|
+
exports: [WuProgressBar],
|
|
148
|
+
}]
|
|
149
|
+
}] });
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Generated bundle index. Do not edit.
|
|
153
|
+
*/
|
|
154
|
+
|
|
155
|
+
export { WuProgressBar, WuProgressBarModule, ɵprogressPercent, ɵprogressText };
|
|
156
|
+
//# sourceMappingURL=wirabyte-ui-progressbar.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wirabyte-ui-progressbar.mjs","sources":["../../lib/progressbar/progressbar.types.ts","../../lib/progressbar/progressbar.component.ts","../../lib/progressbar/progressbar.component.html","../../lib/progressbar/progressbar.module.ts","../../lib/progressbar/wirabyte-ui-progressbar.ts"],"sourcesContent":["export type WuProgressBarMode = 'determinate' | 'indeterminate';\n\n/** Context of `<ng-template #content let-value let-max=\"max\" let-percent=\"percent\">`. */\nexport interface WuProgressBarContext {\n $implicit: number;\n value: number;\n max: number;\n /** 0–100, rounded. */\n percent: number;\n}\n\nconst counts = new Intl.NumberFormat('en-US', { maximumFractionDigits: 2 });\n\n/** Share of `max` as 0–100, rounded. */\nexport function ɵprogressPercent(value: number, max: number): number {\n if (!(max > 0)) return 0;\n return Math.round(Math.min(100, Math.max(0, (value / max) * 100)));\n}\n\n/**\n * What the bar says. On the usual 0–100 scale: `64%`. With another `max` the bar counts:\n * `1,000 / 2,500`, followed by the unit when it is a word (`1,000 / 2,500 รายการ`).\n */\nexport function ɵprogressText(value: number, max: number, unit: string): string {\n if (max === 100) return `${ɵprogressPercent(value, max)}${unit}`;\n const done = Math.min(Math.max(0, value), Math.max(0, max));\n const tail = unit && unit !== '%' ? ` ${unit}` : '';\n return `${counts.format(done)} / ${counts.format(max)}${tail}`;\n}\n","import { NgIf, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n inject,\n Input,\n OnDestroy,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n ɵassertSupportedAngular,\n ɵfindTemplate,\n ɵrefreshOnTranslation,\n ɵtoBool,\n ɵWU_SKIP_VERSION_CHECK,\n WuConfig,\n WuTemplate,\n} from '@wirabyte/ui/config';\nimport { ɵprogressPercent, ɵprogressText, WuProgressBarContext, WuProgressBarMode } from './progressbar.types';\n\n/**\n * Progress, or an endless bar while the length is unknown: `<wu-progressbar [value]=\"60\">`.\n * Counting items instead: `<wu-progressbar [value]=\"1000\" [max]=\"2500\" unit=\"รายการ\">` shows `1,000 / 2,500 รายการ`.\n */\n@Component({\n selector: 'wu-progressbar, wu-progressBar, wu-progress-bar',\n standalone: true,\n imports: [NgIf, NgTemplateOutlet],\n templateUrl: './progressbar.component.html',\n styleUrls: ['./progressbar.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuProgressBar implements OnDestroy {\n @Input() set value(v: unknown) { this._value = Number(v) || 0; }\n get value(): number { return this._value; }\n /** What `value` counts up to. Default 100 (percent). */\n @Input() set max(v: unknown) { this._max = Number(v) > 0 ? Number(v) : 100; }\n get max(): number { return this._max; }\n /** Own words on the bar instead of the number: `text=\"อัปโหลด 3 จาก 10 ไฟล์\"`. */\n @Input() text?: string;\n @Input() set showValue(v: unknown) { this._showValue = v === undefined || ɵtoBool(v); }\n get showValue(): boolean { return this._showValue; }\n @Input() unit = '%';\n @Input() mode: WuProgressBarMode = 'determinate';\n /** Bar colour, e.g. `var(--wu-success-color)`. */\n @Input() color?: string;\n /** Diagonal stripes on the bar. */\n @Input() set striped(v: unknown) { this._striped = ɵtoBool(v); }\n get striped(): boolean { return this._striped; }\n /** Stripes that move, for work in progress (shown still to people who ask for less motion). */\n @Input() set animated(v: unknown) { this._animated = ɵtoBool(v); }\n get animated(): boolean { return this._animated; }\n /** A glossy bar with a band of light sweeping along it now and then, as desktop progress bars do (a still gloss for people who ask for less motion). */\n @Input() set shimmer(v: unknown) { this._shimmer = ɵtoBool(v); }\n get shimmer(): boolean { return this._shimmer; }\n private _striped = false;\n private _animated = false;\n private _shimmer = false;\n @Input() ariaLabel?: string;\n\n @ContentChild('content', { descendants: false }) private contentRef?: unknown;\n @ContentChildren(WuTemplate) private templates?: QueryList<WuTemplate>;\n\n private _value = 0;\n private _max = 100;\n private _showValue = true;\n private readonly config = inject(WuConfig);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.i18n.unsubscribe();\n }\n\n /** Width of the bar, 0–100. */\n get percent(): number {\n return ɵprogressPercent(this._value, this._max);\n }\n get done(): number {\n return Math.min(this._max, Math.max(0, this._value));\n }\n get shown(): string {\n return this.text || ɵprogressText(this._value, this._max, this.unit);\n }\n /** `<ng-template #content let-value let-max=\"max\" let-percent=\"percent\">` (or `wuTemplate=\"content\"`). */\n get contentTemplate(): TemplateRef<WuProgressBarContext> | null {\n const own = this.contentRef instanceof TemplateRef ? this.contentRef : null;\n return (own || ɵfindTemplate(this.templates, 'content')) as TemplateRef<WuProgressBarContext> | null;\n }\n get context(): WuProgressBarContext {\n return { $implicit: this._value, value: this._value, max: this._max, percent: this.percent };\n }\n\n /** Classes for the root element, as before (`styleClass=\"w-full\"`). */\n @Input() styleClass?: string | null;\n /** Inline styles for the root element, as an object: `[style]=\"{ width: '20rem' }\"`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n /** The `style` object for the root (a plain style attribute already styles the host). */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n get classes(): string {\n return [this.baseClasses, this.styleClass].filter(Boolean).join(' ');\n }\n get baseClasses(): string {\n const stripes = this._striped || this._animated ? ' wu-progressbar-striped' : '';\n const moving = this._animated ? ' wu-progressbar-animated' : '';\n const shimmer = this._shimmer ? ' wu-progressbar-shimmer' : '';\n return `wu-progressbar p-progressbar p-component wu-progressbar-${this.mode} p-progressbar-${this.mode}${stripes}${moving}${shimmer}`;\n }\n\n get label(): string {\n return this.ariaLabel || this.config.translation.loading;\n }\n}\n","<div\n [class]=\"classes\" [style]=\"rootStyle\"\n role=\"progressbar\"\n aria-valuemin=\"0\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-valuenow]=\"mode === 'determinate' ? done : null\"\n [attr.aria-valuetext]=\"mode === 'determinate' && (max !== 100 || text) ? shown : null\"\n [attr.aria-label]=\"label\"\n>\n <div\n *ngIf=\"mode === 'determinate'; else indeterminate\"\n class=\"wu-progressbar-value p-progressbar-value p-progressbar-value-animate\"\n [style.width.%]=\"percent\"\n [style.background]=\"color || null\"\n >\n <div *ngIf=\"showValue && percent > 0\" class=\"wu-progressbar-label p-progressbar-label\">\n <ng-container *ngIf=\"contentTemplate; else plain\">\n <ng-container *ngTemplateOutlet=\"contentTemplate; context: context\"></ng-container>\n </ng-container>\n <ng-template #plain>{{ shown }}</ng-template>\n </div>\n </div>\n <ng-template #indeterminate>\n <div class=\"wu-progressbar-value p-progressbar-value\" [style.background]=\"color || null\"></div>\n </ng-template>\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuProgressBar } from './progressbar.component';\n\n/** For NgModule apps. Standalone apps can import `WuProgressBar` directly. */\n@NgModule({\n imports: [WuProgressBar],\n exports: [WuProgressBar],\n})\nexport class WuProgressBarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAWA,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,EAAE,qBAAqB,EAAE,CAAC,EAAE,CAAC,CAAC;AAE5E;AACgB,SAAA,gBAAgB,CAAC,KAAa,EAAE,GAAW,EAAA;AACzD,IAAA,IAAI,EAAE,GAAG,GAAG,CAAC,CAAC;AAAE,QAAA,OAAO,CAAC,CAAC;IACzB,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,GAAG,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACrE,CAAC;AAED;;;AAGG;SACa,aAAa,CAAC,KAAa,EAAE,GAAW,EAAE,IAAY,EAAA;IACpE,IAAI,GAAG,KAAK,GAAG;QAAE,OAAO,CAAA,EAAG,gBAAgB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA,EAAG,IAAI,CAAA,CAAE,CAAC;IACjE,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,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AAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,OAAO,EAAE,CAAC,aAAa,CAAC;iBACzB,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { NgIf, NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, TemplateRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ContentChild, ContentChildren, HostBinding, NgModule } from '@angular/core';
|
|
4
|
+
import { WuConfig, ɵrefreshOnTranslation, ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, ɵfindTemplate, WuTemplate } from '@wirabyte/ui/config';
|
|
5
|
+
|
|
6
|
+
/** `[multicolor]`: unset = the preset's choice, a bare attribute = true, `"false"` = false. */
|
|
7
|
+
function ɵspinnerMulticolor(v) {
|
|
8
|
+
if (v === undefined || v === null)
|
|
9
|
+
return undefined;
|
|
10
|
+
return v === '' || (v !== false && v !== 'false');
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The four colours the ring cycles through, as CSS variables for the host: own `colors` (repeated to fill four),
|
|
14
|
+
* the theme's colours for `multicolor`, the primary colour only for `multicolor: false`, else nothing (the preset's).
|
|
15
|
+
*/
|
|
16
|
+
function ɵspinnerColors(multicolor, colors) {
|
|
17
|
+
const own = (colors || []).filter((c) => typeof c === 'string' && c.trim());
|
|
18
|
+
const list = own.length
|
|
19
|
+
? own
|
|
20
|
+
: multicolor === true
|
|
21
|
+
? ['var(--wu-primary-color)', 'var(--wu-info-color)', 'var(--wu-success-color)', 'var(--wu-warn-color)']
|
|
22
|
+
: multicolor === false
|
|
23
|
+
? ['var(--wu-primary-color)']
|
|
24
|
+
: null;
|
|
25
|
+
if (!list)
|
|
26
|
+
return null;
|
|
27
|
+
const out = {};
|
|
28
|
+
for (let i = 0; i < 4; i++)
|
|
29
|
+
out[`--wu-spinner-color-${i + 1}`] = list[i % list.length];
|
|
30
|
+
return out;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Busy indicator: `<wu-progress-spinner style="width: 2rem; height: 2rem">`. The preset sets its default size and
|
|
35
|
+
* colours; `[multicolor]` / `[colors]` change the colours it cycles through. With `label` (or a `label` template) the
|
|
36
|
+
* text sits under the ring (or beside it, `labelPosition="right"`), centred for you.
|
|
37
|
+
*/
|
|
38
|
+
class WuProgressSpinner {
|
|
39
|
+
/** true: cycle through the theme's colours (primary, info, success, warn); false: the primary colour only. */
|
|
40
|
+
set multicolor(v) { this._multicolor = ɵspinnerMulticolor(v); }
|
|
41
|
+
get multicolor() { return this._multicolor; }
|
|
42
|
+
constructor() {
|
|
43
|
+
this.strokeWidth = '2';
|
|
44
|
+
this.fill = 'none';
|
|
45
|
+
this.animationDuration = '2s';
|
|
46
|
+
this.labelPosition = 'bottom';
|
|
47
|
+
this.config = inject(WuConfig);
|
|
48
|
+
this.i18n = ɵrefreshOnTranslation();
|
|
49
|
+
ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
|
|
50
|
+
}
|
|
51
|
+
ngOnDestroy() {
|
|
52
|
+
this.i18n.unsubscribe();
|
|
53
|
+
}
|
|
54
|
+
/** The `style` object for the root (a plain style attribute already styles the host). */
|
|
55
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
56
|
+
get rootStyle() {
|
|
57
|
+
return this.style && typeof this.style === 'object' ? this.style : null;
|
|
58
|
+
}
|
|
59
|
+
get ringSize() {
|
|
60
|
+
const v = this.size;
|
|
61
|
+
return v === null || v === undefined || v === '' ? null : typeof v === 'number' || /^\d+(\.\d+)?$/.test(String(v)) ? `${v}px` : String(v);
|
|
62
|
+
}
|
|
63
|
+
/** `<ng-template #label>` (or `wuTemplate="label"`): own content under the ring. */
|
|
64
|
+
get labelTemplate() {
|
|
65
|
+
return (this.labelRef instanceof TemplateRef ? this.labelRef : null) || ɵfindTemplate(this.templates, 'label');
|
|
66
|
+
}
|
|
67
|
+
get labelled() {
|
|
68
|
+
return !!this.label || !!this.labelTemplate;
|
|
69
|
+
}
|
|
70
|
+
get beside() {
|
|
71
|
+
return this.labelled && this.labelPosition === 'right';
|
|
72
|
+
}
|
|
73
|
+
/** A size in the `[style]` object (or `size`) sizes the host too (the ring fills the host) — unless there is a label. */
|
|
74
|
+
get hostWidth() {
|
|
75
|
+
var _a, _b;
|
|
76
|
+
return this.labelled ? null : (_b = (_a = this.rootStyle) === null || _a === void 0 ? void 0 : _a['width']) !== null && _b !== void 0 ? _b : this.ringSize;
|
|
77
|
+
}
|
|
78
|
+
get hostHeight() {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
return this.labelled ? null : (_b = (_a = this.rootStyle) === null || _a === void 0 ? void 0 : _a['height']) !== null && _b !== void 0 ? _b : this.ringSize;
|
|
81
|
+
}
|
|
82
|
+
get colorVars() {
|
|
83
|
+
return ɵspinnerColors(this._multicolor, this.colors);
|
|
84
|
+
}
|
|
85
|
+
get ariaText() {
|
|
86
|
+
return this.ariaLabel || this.label || this.config.translation.loading;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
WuProgressSpinner.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressSpinner, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
+
WuProgressSpinner.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuProgressSpinner, isStandalone: true, selector: "wu-progress-spinner, wu-progressspinner, wu-progressSpinner", inputs: { strokeWidth: "strokeWidth", fill: "fill", animationDuration: "animationDuration", ariaLabel: "ariaLabel", size: "size", multicolor: "multicolor", colors: "colors", label: "label", labelPosition: "labelPosition", styleClass: "styleClass", style: "style" }, host: { properties: { "class.wu-progress-spinner-host-labelled": "this.labelled", "class.wu-progress-spinner-host-right": "this.beside", "style.width": "this.hostWidth", "style.height": "this.hostHeight", "style": "this.colorVars" } }, queries: [{ propertyName: "labelRef", first: true, predicate: ["label"] }, { propertyName: "templates", predicate: WuTemplate }], ngImport: i0, template: "<div\n class=\"wu-progress-spinner p-progress-spinner\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [style.width]=\"labelled ? ringSize : null\"\n [style.height]=\"labelled ? ringSize : null\"\n role=\"progressbar\"\n aria-busy=\"true\"\n [attr.aria-label]=\"ariaText\"\n>\n <svg class=\"wu-progress-spinner-svg p-progress-spinner-svg\" viewBox=\"25 25 50 50\" [style.animation-duration]=\"animationDuration\">\n <circle\n class=\"wu-progress-spinner-circle p-progress-spinner-circle\"\n cx=\"50\"\n cy=\"50\"\n r=\"20\"\n [attr.fill]=\"fill\"\n [attr.stroke-width]=\"strokeWidth\"\n stroke-miterlimit=\"10\"\n />\n </svg>\n</div>\n<div *ngIf=\"labelled\" class=\"wu-progress-spinner-label\" aria-hidden=\"true\">\n <ng-container *ngIf=\"labelTemplate; else plainLabel\"><ng-container *ngTemplateOutlet=\"labelTemplate\"></ng-container></ng-container>\n <ng-template #plainLabel>{{ label }}</ng-template>\n</div>\n", styles: ["@layer wiraui.components{wu-progress-spinner,wu-progressspinner{display:inline-flex;vertical-align:middle;width:var(--wu-spinner-size);height:var(--wu-spinner-size);max-width:100%}:is(wu-progress-spinner,wu-progressspinner).wu-progress-spinner-host-labelled{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--wu-spinner-label-gap);width:auto;height:auto;text-align:center}:is(wu-progress-spinner,wu-progressspinner).wu-progress-spinner-host-right{display:inline-flex;flex-direction:row;text-align:start}.wu-progress-spinner-host-labelled>.wu-progress-spinner{flex:none;width:var(--wu-spinner-size);height:var(--wu-spinner-size);max-width:100%}.wu-progress-spinner-label{min-width:0;color:var(--wu-spinner-label-color);font-family:var(--wu-font-family);font-size:var(--wu-spinner-label-size);line-height:var(--wu-line-height);overflow-wrap:anywhere}.wu-progress-spinner{position:relative;display:inline-block;width:100%;height:100%}.wu-progress-spinner:before{content:\"\";display:block;padding-top:100%}.wu-progress-spinner-svg{position:absolute;inset:0;width:100%;height:100%;margin:auto;transform-origin:center;animation:wu-spinner-rotate 2s linear infinite}.wu-progress-spinner-circle{stroke-dasharray:89,200;stroke-dashoffset:0;stroke:var(--wu-spinner-color-1);stroke-linecap:round;animation:wu-spinner-dash 1.5s ease-in-out infinite,wu-spinner-color 6s ease-in-out infinite}@keyframes wu-spinner-rotate{to{transform:rotate(360deg)}}@keyframes wu-spinner-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes wu-spinner-color{0%,to{stroke:var(--wu-spinner-color-1)}40%{stroke:var(--wu-spinner-color-2)}66%{stroke:var(--wu-spinner-color-3)}80%,90%{stroke:var(--wu-spinner-color-4)}}@media (prefers-reduced-motion: reduce){.wu-progress-spinner-svg,.wu-progress-spinner-circle{animation-duration:4s}}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressSpinner, decorators: [{
|
|
92
|
+
type: Component,
|
|
93
|
+
args: [{ selector: 'wu-progress-spinner, wu-progressspinner, wu-progressSpinner', standalone: true, imports: [NgIf, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"wu-progress-spinner p-progress-spinner\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [style.width]=\"labelled ? ringSize : null\"\n [style.height]=\"labelled ? ringSize : null\"\n role=\"progressbar\"\n aria-busy=\"true\"\n [attr.aria-label]=\"ariaText\"\n>\n <svg class=\"wu-progress-spinner-svg p-progress-spinner-svg\" viewBox=\"25 25 50 50\" [style.animation-duration]=\"animationDuration\">\n <circle\n class=\"wu-progress-spinner-circle p-progress-spinner-circle\"\n cx=\"50\"\n cy=\"50\"\n r=\"20\"\n [attr.fill]=\"fill\"\n [attr.stroke-width]=\"strokeWidth\"\n stroke-miterlimit=\"10\"\n />\n </svg>\n</div>\n<div *ngIf=\"labelled\" class=\"wu-progress-spinner-label\" aria-hidden=\"true\">\n <ng-container *ngIf=\"labelTemplate; else plainLabel\"><ng-container *ngTemplateOutlet=\"labelTemplate\"></ng-container></ng-container>\n <ng-template #plainLabel>{{ label }}</ng-template>\n</div>\n", styles: ["@layer wiraui.components{wu-progress-spinner,wu-progressspinner{display:inline-flex;vertical-align:middle;width:var(--wu-spinner-size);height:var(--wu-spinner-size);max-width:100%}:is(wu-progress-spinner,wu-progressspinner).wu-progress-spinner-host-labelled{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--wu-spinner-label-gap);width:auto;height:auto;text-align:center}:is(wu-progress-spinner,wu-progressspinner).wu-progress-spinner-host-right{display:inline-flex;flex-direction:row;text-align:start}.wu-progress-spinner-host-labelled>.wu-progress-spinner{flex:none;width:var(--wu-spinner-size);height:var(--wu-spinner-size);max-width:100%}.wu-progress-spinner-label{min-width:0;color:var(--wu-spinner-label-color);font-family:var(--wu-font-family);font-size:var(--wu-spinner-label-size);line-height:var(--wu-line-height);overflow-wrap:anywhere}.wu-progress-spinner{position:relative;display:inline-block;width:100%;height:100%}.wu-progress-spinner:before{content:\"\";display:block;padding-top:100%}.wu-progress-spinner-svg{position:absolute;inset:0;width:100%;height:100%;margin:auto;transform-origin:center;animation:wu-spinner-rotate 2s linear infinite}.wu-progress-spinner-circle{stroke-dasharray:89,200;stroke-dashoffset:0;stroke:var(--wu-spinner-color-1);stroke-linecap:round;animation:wu-spinner-dash 1.5s ease-in-out infinite,wu-spinner-color 6s ease-in-out infinite}@keyframes wu-spinner-rotate{to{transform:rotate(360deg)}}@keyframes wu-spinner-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes wu-spinner-color{0%,to{stroke:var(--wu-spinner-color-1)}40%{stroke:var(--wu-spinner-color-2)}66%{stroke:var(--wu-spinner-color-3)}80%,90%{stroke:var(--wu-spinner-color-4)}}@media (prefers-reduced-motion: reduce){.wu-progress-spinner-svg,.wu-progress-spinner-circle{animation-duration:4s}}}\n"] }]
|
|
94
|
+
}], ctorParameters: function () { return []; }, propDecorators: { strokeWidth: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], fill: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], animationDuration: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], ariaLabel: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], size: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], multicolor: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], colors: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], label: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], labelPosition: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], styleClass: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}], style: [{
|
|
115
|
+
type: Input
|
|
116
|
+
}], labelRef: [{
|
|
117
|
+
type: ContentChild,
|
|
118
|
+
args: ['label', { descendants: false }]
|
|
119
|
+
}], templates: [{
|
|
120
|
+
type: ContentChildren,
|
|
121
|
+
args: [WuTemplate]
|
|
122
|
+
}], labelled: [{
|
|
123
|
+
type: HostBinding,
|
|
124
|
+
args: ['class.wu-progress-spinner-host-labelled']
|
|
125
|
+
}], beside: [{
|
|
126
|
+
type: HostBinding,
|
|
127
|
+
args: ['class.wu-progress-spinner-host-right']
|
|
128
|
+
}], hostWidth: [{
|
|
129
|
+
type: HostBinding,
|
|
130
|
+
args: ['style.width']
|
|
131
|
+
}], hostHeight: [{
|
|
132
|
+
type: HostBinding,
|
|
133
|
+
args: ['style.height']
|
|
134
|
+
}], colorVars: [{
|
|
135
|
+
type: HostBinding,
|
|
136
|
+
args: ['style']
|
|
137
|
+
}] } });
|
|
138
|
+
|
|
139
|
+
/** For NgModule apps. Standalone apps can import `WuProgressSpinner` directly. */
|
|
140
|
+
class WuProgressSpinnerModule {
|
|
141
|
+
}
|
|
142
|
+
WuProgressSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
143
|
+
WuProgressSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuProgressSpinnerModule, imports: [WuProgressSpinner], exports: [WuProgressSpinner] });
|
|
144
|
+
WuProgressSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressSpinnerModule, imports: [WuProgressSpinner] });
|
|
145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuProgressSpinnerModule, decorators: [{
|
|
146
|
+
type: NgModule,
|
|
147
|
+
args: [{
|
|
148
|
+
imports: [WuProgressSpinner],
|
|
149
|
+
exports: [WuProgressSpinner],
|
|
150
|
+
}]
|
|
151
|
+
}] });
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Generated bundle index. Do not edit.
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
export { WuProgressSpinner, WuProgressSpinnerModule, ɵspinnerColors, ɵspinnerMulticolor };
|
|
158
|
+
//# sourceMappingURL=wirabyte-ui-progressspinner.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wirabyte-ui-progressspinner.mjs","sources":["../../lib/progressspinner/progressspinner.types.ts","../../lib/progressspinner/progressspinner.component.ts","../../lib/progressspinner/progressspinner.component.html","../../lib/progressspinner/progressspinner.module.ts","../../lib/progressspinner/wirabyte-ui-progressspinner.ts"],"sourcesContent":["/** Where the label goes: under the ring (default) or beside it. */\nexport type WuProgressSpinnerLabelPosition = 'bottom' | 'right';\n\n/** `[multicolor]`: unset = the preset's choice, a bare attribute = true, `\"false\"` = false. */\nexport function ɵspinnerMulticolor(v: unknown): boolean | undefined {\n if (v === undefined || v === null) return undefined;\n return v === '' || (v !== false && v !== 'false');\n}\n\n/**\n * The four colours the ring cycles through, as CSS variables for the host: own `colors` (repeated to fill four),\n * the theme's colours for `multicolor`, the primary colour only for `multicolor: false`, else nothing (the preset's).\n */\nexport function ɵspinnerColors(multicolor: boolean | undefined, colors: readonly string[] | null | undefined): Record<string, string> | null {\n const own = (colors || []).filter((c) => typeof c === 'string' && c.trim());\n const list = own.length\n ? own\n : multicolor === true\n ? ['var(--wu-primary-color)', 'var(--wu-info-color)', 'var(--wu-success-color)', 'var(--wu-warn-color)']\n : multicolor === false\n ? ['var(--wu-primary-color)']\n : null;\n if (!list) return null;\n const out: Record<string, string> = {};\n for (let i = 0; i < 4; i++) out[`--wu-spinner-color-${i + 1}`] = list[i % list.length];\n return out;\n}\n","import { NgIf, NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n ContentChildren,\n HostBinding,\n inject,\n Input,\n OnDestroy,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport { ɵassertSupportedAngular, ɵfindTemplate, ɵrefreshOnTranslation, ɵWU_SKIP_VERSION_CHECK, WuConfig, WuTemplate } from '@wirabyte/ui/config';\nimport { ɵspinnerColors, ɵspinnerMulticolor, WuProgressSpinnerLabelPosition } from './progressspinner.types';\n\n/**\n * Busy indicator: `<wu-progress-spinner style=\"width: 2rem; height: 2rem\">`. The preset sets its default size and\n * colours; `[multicolor]` / `[colors]` change the colours it cycles through. With `label` (or a `label` template) the\n * text sits under the ring (or beside it, `labelPosition=\"right\"`), centred for you.\n */\n@Component({\n selector: 'wu-progress-spinner, wu-progressspinner, wu-progressSpinner',\n standalone: true,\n imports: [NgIf, NgTemplateOutlet],\n templateUrl: './progressspinner.component.html',\n styleUrls: ['./progressspinner.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class WuProgressSpinner implements OnDestroy {\n @Input() strokeWidth = '2';\n @Input() fill = 'none';\n @Input() animationDuration = '2s';\n @Input() ariaLabel?: string;\n /** Size of the ring, e.g. `size=\"3rem\"` (with a label the host grows to hold the text). */\n @Input() size?: string | number | null;\n /** true: cycle through the theme's colours (primary, info, success, warn); false: the primary colour only. */\n @Input() set multicolor(v: unknown) { this._multicolor = ɵspinnerMulticolor(v); }\n get multicolor(): boolean | undefined { return this._multicolor; }\n /** Own colours to cycle through: `[colors]=\"['#e8668e', '#3b6fd8', '#ff9a2e']\"` (up to four are used). */\n @Input() colors?: readonly string[] | null;\n /** Text under the ring (or beside it), centred: `label=\"กำลังโหลด…\"`. A `label` template takes its place. */\n @Input() label?: string | null;\n @Input() labelPosition: WuProgressSpinnerLabelPosition = 'bottom';\n /** Classes for the root element, as before (`styleClass=\"w-full\"`). */\n @Input() styleClass?: string | null;\n /** Inline styles for the root element, as an object: `[style]=\"{ width: '20rem' }\"`. */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n\n @ContentChild('label', { descendants: false }) protected labelRef?: unknown;\n @ContentChildren(WuTemplate) protected templates?: QueryList<WuTemplate>;\n\n private _multicolor: boolean | undefined;\n private readonly config = inject(WuConfig);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.i18n.unsubscribe();\n }\n\n /** The `style` object for the root (a plain style attribute already styles the host). */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n get ringSize(): string | null {\n const v = this.size;\n return v === null || v === undefined || v === '' ? null : typeof v === 'number' || /^\\d+(\\.\\d+)?$/.test(String(v)) ? `${v}px` : String(v);\n }\n /** `<ng-template #label>` (or `wuTemplate=\"label\"`): own content under the ring. */\n get labelTemplate(): TemplateRef<unknown> | null {\n return (this.labelRef instanceof TemplateRef ? this.labelRef : null) || ɵfindTemplate(this.templates, 'label');\n }\n @HostBinding('class.wu-progress-spinner-host-labelled') get labelled(): boolean {\n return !!this.label || !!this.labelTemplate;\n }\n @HostBinding('class.wu-progress-spinner-host-right') get beside(): boolean {\n return this.labelled && this.labelPosition === 'right';\n }\n /** A size in the `[style]` object (or `size`) sizes the host too (the ring fills the host) — unless there is a label. */\n @HostBinding('style.width') get hostWidth(): string | null {\n return this.labelled ? null : this.rootStyle?.['width'] ?? this.ringSize;\n }\n @HostBinding('style.height') get hostHeight(): string | null {\n return this.labelled ? null : this.rootStyle?.['height'] ?? this.ringSize;\n }\n @HostBinding('style') get colorVars(): Record<string, string> | null {\n return ɵspinnerColors(this._multicolor, this.colors);\n }\n\n get ariaText(): string {\n return this.ariaLabel || this.label || this.config.translation.loading;\n }\n}\n","<div\n class=\"wu-progress-spinner p-progress-spinner\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [style.width]=\"labelled ? ringSize : null\"\n [style.height]=\"labelled ? ringSize : null\"\n role=\"progressbar\"\n aria-busy=\"true\"\n [attr.aria-label]=\"ariaText\"\n>\n <svg class=\"wu-progress-spinner-svg p-progress-spinner-svg\" viewBox=\"25 25 50 50\" [style.animation-duration]=\"animationDuration\">\n <circle\n class=\"wu-progress-spinner-circle p-progress-spinner-circle\"\n cx=\"50\"\n cy=\"50\"\n r=\"20\"\n [attr.fill]=\"fill\"\n [attr.stroke-width]=\"strokeWidth\"\n stroke-miterlimit=\"10\"\n />\n </svg>\n</div>\n<div *ngIf=\"labelled\" class=\"wu-progress-spinner-label\" aria-hidden=\"true\">\n <ng-container *ngIf=\"labelTemplate; else plainLabel\"><ng-container *ngTemplateOutlet=\"labelTemplate\"></ng-container></ng-container>\n <ng-template #plainLabel>{{ label }}</ng-template>\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuProgressSpinner } from './progressspinner.component';\n\n/** For NgModule apps. Standalone apps can import `WuProgressSpinner` directly. */\n@NgModule({\n imports: [WuProgressSpinner],\n exports: [WuProgressSpinner],\n})\nexport class WuProgressSpinnerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAGA;AACM,SAAU,kBAAkB,CAAC,CAAU,EAAA;AAC3C,IAAA,IAAI,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,IAAI;AAAE,QAAA,OAAO,SAAS,CAAC;AACpD,IAAA,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,OAAO,CAAC,CAAC;AACpD,CAAC;AAED;;;AAGG;AACa,SAAA,cAAc,CAAC,UAA+B,EAAE,MAA4C,EAAA;IAC1G,MAAM,GAAG,GAAG,CAAC,MAAM,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAC5E,IAAA,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM;AACrB,UAAE,GAAG;UACH,UAAU,KAAK,IAAI;cACjB,CAAC,yBAAyB,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,sBAAsB,CAAC;cACtG,UAAU,KAAK,KAAK;kBAClB,CAAC,yBAAyB,CAAC;kBAC3B,IAAI,CAAC;AACb,IAAA,IAAI,CAAC,IAAI;AAAE,QAAA,OAAO,IAAI,CAAC;IACvB,MAAM,GAAG,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ACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAEhB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHxB,iBAAiB,CAAA,EAAA,CAAA,CAAA;4FAGhB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;iBAC7B,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { NgIf } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable, EventEmitter, inject, Injector, ChangeDetectorRef, forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, Output, NgModule } from '@angular/core';
|
|
4
|
+
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
+
import { ɵtoBool, ɵsize, ɵuniqueId, ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK } from '@wirabyte/ui/config';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* With reactive forms several radios share one FormControl, and a control only writes back to the
|
|
9
|
+
* accessor that changed it. When one radio is picked, the registry tells the others in its group
|
|
10
|
+
* (same FormControl) to uncheck. Template-driven ngModel does not need this: each radio has its own
|
|
11
|
+
* NgModel bound to the same field.
|
|
12
|
+
*/
|
|
13
|
+
class ɵWuRadioRegistry {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.accessors = [];
|
|
16
|
+
}
|
|
17
|
+
add(accessor) {
|
|
18
|
+
this.accessors.push(accessor);
|
|
19
|
+
}
|
|
20
|
+
remove(accessor) {
|
|
21
|
+
const i = this.accessors.indexOf(accessor);
|
|
22
|
+
if (i >= 0)
|
|
23
|
+
this.accessors.splice(i, 1);
|
|
24
|
+
}
|
|
25
|
+
select(accessor, value) {
|
|
26
|
+
const control = controlOf(accessor);
|
|
27
|
+
if (!control)
|
|
28
|
+
return;
|
|
29
|
+
for (const other of this.accessors) {
|
|
30
|
+
if (other !== accessor && controlOf(other) === control)
|
|
31
|
+
other.writeValue(value);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
ɵWuRadioRegistry.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ɵWuRadioRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
ɵWuRadioRegistry.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ɵWuRadioRegistry, providedIn: 'root' });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ɵWuRadioRegistry, decorators: [{
|
|
38
|
+
type: Injectable,
|
|
39
|
+
args: [{ providedIn: 'root' }]
|
|
40
|
+
}] });
|
|
41
|
+
function controlOf(a) {
|
|
42
|
+
return (a.ngControlRef && a.ngControlRef.control) || null;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Radio button for ngModel and reactive forms. Give every radio in a group the same `name`
|
|
47
|
+
* (and the same ngModel field or formControlName); each one has its own `value`.
|
|
48
|
+
*/
|
|
49
|
+
class WuRadioButton {
|
|
50
|
+
/** The `style` object for the root (a plain style attribute already styles the host). */
|
|
51
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
52
|
+
get rootStyle() {
|
|
53
|
+
return this.style && typeof this.style === 'object' ? this.style : null;
|
|
54
|
+
}
|
|
55
|
+
set disabled(v) { this._disabled = ɵtoBool(v); }
|
|
56
|
+
get disabled() { return this._disabled; }
|
|
57
|
+
set invalid(v) { this._invalid = ɵtoBool(v); }
|
|
58
|
+
get sizeSm() {
|
|
59
|
+
return this.sizeKey === 'sm';
|
|
60
|
+
}
|
|
61
|
+
get sizeLg() {
|
|
62
|
+
return this.sizeKey === 'lg';
|
|
63
|
+
}
|
|
64
|
+
get sizeKey() {
|
|
65
|
+
return ɵsize(this.size);
|
|
66
|
+
}
|
|
67
|
+
get invalid() { return this._invalid; }
|
|
68
|
+
constructor() {
|
|
69
|
+
this.onClick = new EventEmitter();
|
|
70
|
+
this.ngControlRef = null;
|
|
71
|
+
this._disabled = false;
|
|
72
|
+
this._invalid = false;
|
|
73
|
+
this.model = undefined;
|
|
74
|
+
this.formDisabled = false;
|
|
75
|
+
this.autoId = ɵuniqueId('wu-radiobutton');
|
|
76
|
+
this.injector = inject(Injector);
|
|
77
|
+
this.registry = inject(ɵWuRadioRegistry);
|
|
78
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
79
|
+
this.onModelChange = () => { };
|
|
80
|
+
this.onTouched = () => { };
|
|
81
|
+
ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
|
|
82
|
+
}
|
|
83
|
+
get id() {
|
|
84
|
+
return this.inputId || this.autoId;
|
|
85
|
+
}
|
|
86
|
+
get isDisabled() {
|
|
87
|
+
return this._disabled || this.formDisabled;
|
|
88
|
+
}
|
|
89
|
+
get checked() {
|
|
90
|
+
return this.model === this.value;
|
|
91
|
+
}
|
|
92
|
+
ngOnInit() {
|
|
93
|
+
// Looked up here, not injected: the NgControl itself injects this component as its value accessor.
|
|
94
|
+
this.ngControlRef = this.injector.get(NgControl, null, { self: true });
|
|
95
|
+
this.registry.add(this);
|
|
96
|
+
}
|
|
97
|
+
ngOnDestroy() {
|
|
98
|
+
this.registry.remove(this);
|
|
99
|
+
}
|
|
100
|
+
select(event) {
|
|
101
|
+
if (this.isDisabled)
|
|
102
|
+
return;
|
|
103
|
+
this.model = this.value;
|
|
104
|
+
this.onModelChange(this.value);
|
|
105
|
+
this.registry.select(this, this.value);
|
|
106
|
+
this.onClick.emit({ value: this.value, originalEvent: event });
|
|
107
|
+
}
|
|
108
|
+
writeValue(value) {
|
|
109
|
+
this.model = value;
|
|
110
|
+
this.cdr.markForCheck();
|
|
111
|
+
}
|
|
112
|
+
registerOnChange(fn) {
|
|
113
|
+
this.onModelChange = fn;
|
|
114
|
+
}
|
|
115
|
+
registerOnTouched(fn) {
|
|
116
|
+
this.onTouched = fn;
|
|
117
|
+
}
|
|
118
|
+
setDisabledState(disabled) {
|
|
119
|
+
this.formDisabled = disabled;
|
|
120
|
+
this.cdr.markForCheck();
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
WuRadioButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuRadioButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
124
|
+
WuRadioButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuRadioButton, isStandalone: true, selector: "wu-radiobutton, wu-radioButton, wu-radio-button", inputs: { value: "value", name: "name", label: "label", inputId: "inputId", ariaLabel: "ariaLabel", styleClass: "styleClass", style: "style", disabled: "disabled", invalid: "invalid", size: "size" }, outputs: { onClick: "onClick" }, host: { properties: { "class.wu-radiobutton-sm": "this.sizeSm", "class.p-radiobutton-sm": "this.sizeSm", "class.wu-radiobutton-lg": "this.sizeLg", "class.p-radiobutton-lg": "this.sizeLg" } }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WuRadioButton), multi: true }], ngImport: i0, template: "<label class=\"wu-radiobutton\" [class]=\"styleClass || ''\" [style]=\"rootStyle\" [class.wu-radiobutton-checked]=\"checked\" [class.wu-radiobutton-disabled]=\"isDisabled\" [class.wu-invalid]=\"invalid\">\n <input\n type=\"radio\"\n class=\"wu-radiobutton-input\"\n [id]=\"id\"\n [attr.name]=\"name || null\"\n [checked]=\"checked\"\n [disabled]=\"isDisabled\"\n [attr.aria-invalid]=\"invalid || null\"\n [attr.aria-label]=\"ariaLabel || null\"\n (change)=\"select($event)\"\n (blur)=\"onTouched()\"\n />\n <span class=\"wu-radiobutton-control p-radiobutton p-component\" [class.p-radiobutton-checked]=\"checked\" [class.p-radiobutton-disabled]=\"isDisabled\" aria-hidden=\"true\">\n <span class=\"wu-radiobutton-box p-radiobutton-box\" [class.p-highlight]=\"checked\" [class.p-disabled]=\"isDisabled\"><span class=\"wu-radiobutton-dot p-radiobutton-icon\"></span></span>\n </span>\n <span *ngIf=\"label\" class=\"wu-radiobutton-label p-radiobutton-label\" [class.p-radiobutton-label-active]=\"checked\">{{ label }}</span>\n</label>\n", styles: ["@layer wiraui.components{:is(wu-radiobutton,wu-radio-button){display:inline-flex;vertical-align:middle}.wu-radiobutton{position:relative;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;font-family:var(--wu-font-family);font-size:calc(var(--wu-font-size) * var(--_rb-font, 1));line-height:var(--wu-line-height);color:var(--wu-text)}.wu-radiobutton-sm,.p-radiobutton-sm{--_rb-scale: var(--wu-size-sm-scale);--_rb-font: .875}.wu-radiobutton-lg,.p-radiobutton-lg{--_rb-scale: var(--wu-size-lg-scale);--_rb-font: var(--wu-size-lg-scale)}.wu-radiobutton-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.wu-radiobutton-control{display:inline-flex;flex:none}.wu-radiobutton-box{flex:none;display:grid;place-items:center;width:calc(var(--wu-radio-size) * var(--_rb-scale, 1));height:calc(var(--wu-radio-size) * var(--_rb-scale, 1));width:round(calc(var(--wu-radio-size) * var(--_rb-scale, 1)),2px);height:round(calc(var(--wu-radio-size) * var(--_rb-scale, 1)),2px);box-sizing:border-box;border:var(--wu-radio-border-width) solid var(--wu-field-border);border-radius:50%;background:var(--wu-field-bg);box-shadow:var(--wu-field-shadow);transition:background-color var(--wu-transition),border-color var(--wu-transition),box-shadow var(--wu-transition),outline-color var(--wu-transition)}.wu-radiobutton-dot{width:calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1));height:calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1));width:round(calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1)),2px);height:round(calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1)),2px);border-radius:50%;background:var(--wu-radio-dot-color);transform:scale(0);transition:transform var(--wu-transition)}.wu-radiobutton:not(.wu-radiobutton-disabled):hover .wu-radiobutton-box{border-color:var(--wu-checkbox-hover-border)}.wu-radiobutton-checked .wu-radiobutton-box,.wu-radiobutton-checked:not(.wu-radiobutton-disabled):hover .wu-radiobutton-box{background:var(--wu-radio-checked-bg);border-color:var(--wu-radio-checked-border)}.wu-radiobutton-checked .wu-radiobutton-dot{transform:scale(1)}.wu-radiobutton-input:focus-visible+.wu-radiobutton-control .wu-radiobutton-box{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-radiobutton-disabled{cursor:default;opacity:var(--wu-disabled-opacity)}.wu-radiobutton.wu-invalid .wu-radiobutton-box,:is(wu-radiobutton,wu-radio-button).ng-invalid:is(.ng-touched,form.ng-submitted *) .wu-radiobutton-box{border-color:var(--wu-danger-color)}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuRadioButton, decorators: [{
|
|
126
|
+
type: Component,
|
|
127
|
+
args: [{ selector: 'wu-radiobutton, wu-radioButton, wu-radio-button', standalone: true, imports: [NgIf], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WuRadioButton), multi: true }], template: "<label class=\"wu-radiobutton\" [class]=\"styleClass || ''\" [style]=\"rootStyle\" [class.wu-radiobutton-checked]=\"checked\" [class.wu-radiobutton-disabled]=\"isDisabled\" [class.wu-invalid]=\"invalid\">\n <input\n type=\"radio\"\n class=\"wu-radiobutton-input\"\n [id]=\"id\"\n [attr.name]=\"name || null\"\n [checked]=\"checked\"\n [disabled]=\"isDisabled\"\n [attr.aria-invalid]=\"invalid || null\"\n [attr.aria-label]=\"ariaLabel || null\"\n (change)=\"select($event)\"\n (blur)=\"onTouched()\"\n />\n <span class=\"wu-radiobutton-control p-radiobutton p-component\" [class.p-radiobutton-checked]=\"checked\" [class.p-radiobutton-disabled]=\"isDisabled\" aria-hidden=\"true\">\n <span class=\"wu-radiobutton-box p-radiobutton-box\" [class.p-highlight]=\"checked\" [class.p-disabled]=\"isDisabled\"><span class=\"wu-radiobutton-dot p-radiobutton-icon\"></span></span>\n </span>\n <span *ngIf=\"label\" class=\"wu-radiobutton-label p-radiobutton-label\" [class.p-radiobutton-label-active]=\"checked\">{{ label }}</span>\n</label>\n", styles: ["@layer wiraui.components{:is(wu-radiobutton,wu-radio-button){display:inline-flex;vertical-align:middle}.wu-radiobutton{position:relative;display:inline-flex;align-items:center;gap:.5rem;cursor:pointer;-webkit-user-select:none;user-select:none;font-family:var(--wu-font-family);font-size:calc(var(--wu-font-size) * var(--_rb-font, 1));line-height:var(--wu-line-height);color:var(--wu-text)}.wu-radiobutton-sm,.p-radiobutton-sm{--_rb-scale: var(--wu-size-sm-scale);--_rb-font: .875}.wu-radiobutton-lg,.p-radiobutton-lg{--_rb-scale: var(--wu-size-lg-scale);--_rb-font: var(--wu-size-lg-scale)}.wu-radiobutton-input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit;z-index:1}.wu-radiobutton-control{display:inline-flex;flex:none}.wu-radiobutton-box{flex:none;display:grid;place-items:center;width:calc(var(--wu-radio-size) * var(--_rb-scale, 1));height:calc(var(--wu-radio-size) * var(--_rb-scale, 1));width:round(calc(var(--wu-radio-size) * var(--_rb-scale, 1)),2px);height:round(calc(var(--wu-radio-size) * var(--_rb-scale, 1)),2px);box-sizing:border-box;border:var(--wu-radio-border-width) solid var(--wu-field-border);border-radius:50%;background:var(--wu-field-bg);box-shadow:var(--wu-field-shadow);transition:background-color var(--wu-transition),border-color var(--wu-transition),box-shadow var(--wu-transition),outline-color var(--wu-transition)}.wu-radiobutton-dot{width:calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1));height:calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1));width:round(calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1)),2px);height:round(calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1)),2px);border-radius:50%;background:var(--wu-radio-dot-color);transform:scale(0);transition:transform var(--wu-transition)}.wu-radiobutton:not(.wu-radiobutton-disabled):hover .wu-radiobutton-box{border-color:var(--wu-checkbox-hover-border)}.wu-radiobutton-checked .wu-radiobutton-box,.wu-radiobutton-checked:not(.wu-radiobutton-disabled):hover .wu-radiobutton-box{background:var(--wu-radio-checked-bg);border-color:var(--wu-radio-checked-border)}.wu-radiobutton-checked .wu-radiobutton-dot{transform:scale(1)}.wu-radiobutton-input:focus-visible+.wu-radiobutton-control .wu-radiobutton-box{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-radiobutton-disabled{cursor:default;opacity:var(--wu-disabled-opacity)}.wu-radiobutton.wu-invalid .wu-radiobutton-box,:is(wu-radiobutton,wu-radio-button).ng-invalid:is(.ng-touched,form.ng-submitted *) .wu-radiobutton-box{border-color:var(--wu-danger-color)}}\n"] }]
|
|
128
|
+
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], name: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], label: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}], inputId: [{
|
|
135
|
+
type: Input
|
|
136
|
+
}], ariaLabel: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], styleClass: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}], style: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}], disabled: [{
|
|
143
|
+
type: Input
|
|
144
|
+
}], invalid: [{
|
|
145
|
+
type: Input
|
|
146
|
+
}], size: [{
|
|
147
|
+
type: Input
|
|
148
|
+
}], sizeSm: [{
|
|
149
|
+
type: HostBinding,
|
|
150
|
+
args: ['class.wu-radiobutton-sm']
|
|
151
|
+
}, {
|
|
152
|
+
type: HostBinding,
|
|
153
|
+
args: ['class.p-radiobutton-sm']
|
|
154
|
+
}], sizeLg: [{
|
|
155
|
+
type: HostBinding,
|
|
156
|
+
args: ['class.wu-radiobutton-lg']
|
|
157
|
+
}, {
|
|
158
|
+
type: HostBinding,
|
|
159
|
+
args: ['class.p-radiobutton-lg']
|
|
160
|
+
}], onClick: [{
|
|
161
|
+
type: Output
|
|
162
|
+
}] } });
|
|
163
|
+
|
|
164
|
+
/** For NgModule apps. Standalone apps can import `WuRadioButton` directly. */
|
|
165
|
+
class WuRadioButtonModule {
|
|
166
|
+
}
|
|
167
|
+
WuRadioButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuRadioButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
168
|
+
WuRadioButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuRadioButtonModule, imports: [WuRadioButton], exports: [WuRadioButton] });
|
|
169
|
+
WuRadioButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuRadioButtonModule, imports: [WuRadioButton] });
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuRadioButtonModule, decorators: [{
|
|
171
|
+
type: NgModule,
|
|
172
|
+
args: [{
|
|
173
|
+
imports: [WuRadioButton],
|
|
174
|
+
exports: [WuRadioButton],
|
|
175
|
+
}]
|
|
176
|
+
}] });
|
|
177
|
+
|
|
178
|
+
/** Generated by tools/sync-sources.mjs from packages/styles/radiobutton.css. */
|
|
179
|
+
const WU_RADIOBUTTON_CSS = "/* wu-radiobutton. Shared by wiraui v1, v2 and v3. Same structure as wu-checkbox. */\n@layer wiraui.components {\n :is(wu-radiobutton, wu-radio-button) {\n display: inline-flex;\n vertical-align: middle;\n }\n .wu-radiobutton {\n position: relative;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n cursor: pointer;\n user-select: none;\n font-family: var(--wu-font-family);\n font-size: calc(var(--wu-font-size) * var(--_rb-font, 1));\n line-height: var(--wu-line-height);\n color: var(--wu-text);\n }\n /* size=\"small\" | \"large\" (class names wu-*-sm / -lg, and the p-*-sm / -lg ones apps already write) */\n .wu-radiobutton-sm,\n .p-radiobutton-sm {\n --_rb-scale: var(--wu-size-sm-scale);\n --_rb-font: 0.875;\n }\n .wu-radiobutton-lg,\n .p-radiobutton-lg {\n --_rb-scale: var(--wu-size-lg-scale);\n --_rb-font: var(--wu-size-lg-scale);\n }\n .wu-radiobutton-input {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n margin: 0;\n opacity: 0;\n cursor: inherit;\n z-index: 1;\n }\n .wu-radiobutton-control {\n display: inline-flex;\n flex: none;\n }\n .wu-radiobutton-box {\n flex: none;\n display: grid;\n place-items: center;\n width: calc(var(--wu-radio-size) * var(--_rb-scale, 1));\n height: calc(var(--wu-radio-size) * var(--_rb-scale, 1));\n /* Whole, even pixels: a size like 17.5px (1.25rem at 14px) is snapped to 18 × 17 and the circle looks dented,\n and an odd size leaves the dot half a pixel off centre. Browsers without round() keep the line above. */\n width: round(calc(var(--wu-radio-size) * var(--_rb-scale, 1)), 2px);\n height: round(calc(var(--wu-radio-size) * var(--_rb-scale, 1)), 2px);\n box-sizing: border-box;\n border: var(--wu-radio-border-width) solid var(--wu-field-border);\n border-radius: 50%;\n background: var(--wu-field-bg);\n box-shadow: var(--wu-field-shadow);\n transition:\n background-color var(--wu-transition),\n border-color var(--wu-transition),\n box-shadow var(--wu-transition),\n outline-color var(--wu-transition);\n }\n .wu-radiobutton-dot {\n width: calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1));\n height: calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1));\n width: round(calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1)), 2px);\n height: round(calc(var(--wu-radio-dot-size) * var(--_rb-scale, 1)), 2px);\n border-radius: 50%;\n background: var(--wu-radio-dot-color);\n transform: scale(0);\n transition: transform var(--wu-transition);\n }\n .wu-radiobutton:not(.wu-radiobutton-disabled):hover .wu-radiobutton-box {\n border-color: var(--wu-checkbox-hover-border);\n }\n .wu-radiobutton-checked .wu-radiobutton-box,\n .wu-radiobutton-checked:not(.wu-radiobutton-disabled):hover .wu-radiobutton-box {\n background: var(--wu-radio-checked-bg);\n border-color: var(--wu-radio-checked-border);\n }\n .wu-radiobutton-checked .wu-radiobutton-dot {\n transform: scale(1);\n }\n .wu-radiobutton-input:focus-visible + .wu-radiobutton-control .wu-radiobutton-box {\n outline: var(--wu-control-focus-outline);\n outline-offset: var(--wu-control-focus-offset);\n box-shadow: var(--wu-control-focus-shadow);\n }\n .wu-radiobutton-disabled {\n cursor: default;\n opacity: var(--wu-disabled-opacity);\n }\n .wu-radiobutton.wu-invalid .wu-radiobutton-box,\n :is(wu-radiobutton, wu-radio-button).ng-invalid:is(.ng-touched, form.ng-submitted *) .wu-radiobutton-box {\n border-color: var(--wu-danger-color);\n }\n}\n";
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Generated bundle index. Do not edit.
|
|
183
|
+
*/
|
|
184
|
+
|
|
185
|
+
export { WuRadioButton, WuRadioButtonModule, WU_RADIOBUTTON_CSS as ɵWU_RADIOBUTTON_CSS, ɵWuRadioRegistry };
|
|
186
|
+
//# sourceMappingURL=wirabyte-ui-radiobutton.mjs.map
|