@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,769 @@
|
|
|
1
|
+
import { DOCUMENT, NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { TemplateRef, EventEmitter, inject, ChangeDetectorRef, Directive, Input, Output, ContentChildren, ContentChild, ViewChild, Component, ViewEncapsulation, ChangeDetectionStrategy, ElementRef, forwardRef, HostBinding, HostListener, NgModule } from '@angular/core';
|
|
4
|
+
import { ɵuniqueId, ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, ɵfindTemplate, WuTemplate, ɵtoBool } from '@wirabyte/ui/config';
|
|
5
|
+
import { RouterLink, RouterLinkActive } from '@angular/router';
|
|
6
|
+
import { menuVisible, menuStep, menuFirst, menuLast, menuFocusable } from '@wirabyte/ui/core';
|
|
7
|
+
|
|
8
|
+
/** A tab value as an id fragment. */
|
|
9
|
+
function ɵtabKey(value) {
|
|
10
|
+
return String(value ?? '').replace(/[^\w-]/g, '_');
|
|
11
|
+
}
|
|
12
|
+
/** Next enabled tab for arrow keys, Home and End (wraps around); null for other keys. */
|
|
13
|
+
function ɵnextTab(key, current, disabled) {
|
|
14
|
+
const n = disabled.length;
|
|
15
|
+
if (!n)
|
|
16
|
+
return null;
|
|
17
|
+
const step = key === 'ArrowRight' ? 1 : key === 'ArrowLeft' ? -1 : 0;
|
|
18
|
+
let i;
|
|
19
|
+
if (key === 'Home')
|
|
20
|
+
i = 0;
|
|
21
|
+
else if (key === 'End')
|
|
22
|
+
i = n - 1;
|
|
23
|
+
else if (step)
|
|
24
|
+
i = (current + step + n) % n;
|
|
25
|
+
else
|
|
26
|
+
return null;
|
|
27
|
+
// Home/End search inwards, arrows keep going in their direction.
|
|
28
|
+
const dir = key === 'End' ? -1 : step || 1;
|
|
29
|
+
for (let tries = 0; tries < n; tries++) {
|
|
30
|
+
if (!disabled[i])
|
|
31
|
+
return i;
|
|
32
|
+
i = (i + dir + n) % n;
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
/** Which edges of a tab row have tabs scrolled out of sight. */
|
|
37
|
+
function ɵtabEdges(list) {
|
|
38
|
+
const max = list.scrollWidth - list.clientWidth;
|
|
39
|
+
return { prev: list.scrollLeft > 1, next: max > 1 && list.scrollLeft < max - 1 };
|
|
40
|
+
}
|
|
41
|
+
/** Scrolls the tab row so `tab` is fully visible beside the arrow buttons. */
|
|
42
|
+
function ɵrevealTab(list, tab) {
|
|
43
|
+
if (!tab || list.scrollWidth <= list.clientWidth)
|
|
44
|
+
return;
|
|
45
|
+
const room = 40;
|
|
46
|
+
const start = tab.offsetLeft;
|
|
47
|
+
const end = start + tab.offsetWidth;
|
|
48
|
+
if (start < list.scrollLeft + room)
|
|
49
|
+
list.scrollLeft = Math.max(0, start - room);
|
|
50
|
+
else if (end > list.scrollLeft + list.clientWidth - room)
|
|
51
|
+
list.scrollLeft = end - list.clientWidth + room;
|
|
52
|
+
}
|
|
53
|
+
/** One page sideways: most of the visible width, so a tab stays in view for context. */
|
|
54
|
+
function ɵpageTabs(list, direction) {
|
|
55
|
+
list.scrollLeft += direction * Math.max(list.clientWidth * 0.75, 80);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const asTemplate = (v) => (v instanceof TemplateRef ? v : null);
|
|
59
|
+
/**
|
|
60
|
+
* What wu-tabmenu does, shared by the v1 and v2/v3 templates. A row of tabs built from a menu model, for switching
|
|
61
|
+
* views or routes: `[activeItem]` marks the current one (routed items without it follow the router). It looks like
|
|
62
|
+
* wu-tabs and scrolls sideways the same way.
|
|
63
|
+
*/
|
|
64
|
+
class ɵWuTabMenuBase {
|
|
65
|
+
set model(v) {
|
|
66
|
+
this._model = v || [];
|
|
67
|
+
}
|
|
68
|
+
get model() {
|
|
69
|
+
return this._model;
|
|
70
|
+
}
|
|
71
|
+
/** The current item. Two-way: `[(activeItem)]` or `(activeItemChange)`. */
|
|
72
|
+
set activeItem(v) {
|
|
73
|
+
this._active = v ?? null;
|
|
74
|
+
this.revealSoon();
|
|
75
|
+
}
|
|
76
|
+
get activeItem() {
|
|
77
|
+
return this._active;
|
|
78
|
+
}
|
|
79
|
+
constructor() {
|
|
80
|
+
this.activeItemChange = new EventEmitter();
|
|
81
|
+
this.baseId = ɵuniqueId('wu-tabmenu');
|
|
82
|
+
this.trackIndex = (i) => i;
|
|
83
|
+
this.canPrev = false;
|
|
84
|
+
this.canNext = false;
|
|
85
|
+
/** Classes routerLinkActive adds to routed tabs when no activeItem is given. */
|
|
86
|
+
this.routerActiveClasses = ['wu-tab-active'];
|
|
87
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
88
|
+
this.doc = inject(DOCUMENT);
|
|
89
|
+
this._model = [];
|
|
90
|
+
this._active = null;
|
|
91
|
+
this.focusIndex = -1;
|
|
92
|
+
this.destroyed = false;
|
|
93
|
+
ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
|
|
94
|
+
}
|
|
95
|
+
ngAfterViewInit() {
|
|
96
|
+
const list = this.listRef?.nativeElement;
|
|
97
|
+
if (list && typeof ResizeObserver === 'function') {
|
|
98
|
+
this.resize = new ResizeObserver(() => this.updateArrows(true));
|
|
99
|
+
this.resize.observe(list);
|
|
100
|
+
}
|
|
101
|
+
this.revealSoon();
|
|
102
|
+
}
|
|
103
|
+
ngOnDestroy() {
|
|
104
|
+
this.destroyed = true;
|
|
105
|
+
this.resize?.disconnect();
|
|
106
|
+
}
|
|
107
|
+
// ---------- what the templates read ----------
|
|
108
|
+
get items() {
|
|
109
|
+
return menuVisible(this._model);
|
|
110
|
+
}
|
|
111
|
+
get itemTemplate() {
|
|
112
|
+
return asTemplate(this.itemRef) || ɵfindTemplate(this.templates, 'item');
|
|
113
|
+
}
|
|
114
|
+
isActive(item) {
|
|
115
|
+
return !!this._active && item === this._active;
|
|
116
|
+
}
|
|
117
|
+
itemId(index) {
|
|
118
|
+
return `${this.baseId}_${index}`;
|
|
119
|
+
}
|
|
120
|
+
hrefOf(item) {
|
|
121
|
+
return item.url && !item.disabled ? item.url : null;
|
|
122
|
+
}
|
|
123
|
+
routed(item) {
|
|
124
|
+
return item.routerLink !== undefined && item.routerLink !== null && !item.disabled;
|
|
125
|
+
}
|
|
126
|
+
/** One Tab stop: the current tab (or the first one); the arrows move between tabs. */
|
|
127
|
+
tabindexOf(index) {
|
|
128
|
+
return index === this.tabStop() ? 0 : -1;
|
|
129
|
+
}
|
|
130
|
+
// ---------- events ----------
|
|
131
|
+
itemClick(event, item, index) {
|
|
132
|
+
if (item.disabled) {
|
|
133
|
+
event.preventDefault();
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this.focusIndex = index;
|
|
137
|
+
if (item !== this._active) {
|
|
138
|
+
this._active = item;
|
|
139
|
+
this.activeItemChange.emit(item);
|
|
140
|
+
this.revealSoon();
|
|
141
|
+
}
|
|
142
|
+
item.command?.({ originalEvent: event, item, index });
|
|
143
|
+
this.cdr.markForCheck();
|
|
144
|
+
}
|
|
145
|
+
/** Arrows, Home and End move between tabs; Enter or Space opens one (a link follows it, a command runs). */
|
|
146
|
+
keydown(event) {
|
|
147
|
+
const index = Number(event.target?.closest?.('[data-wu-index]')?.getAttribute('data-wu-index'));
|
|
148
|
+
if (!Number.isFinite(index))
|
|
149
|
+
return;
|
|
150
|
+
const items = this.items;
|
|
151
|
+
let next = -1;
|
|
152
|
+
if (event.key === 'ArrowRight')
|
|
153
|
+
next = menuStep(items, index, 1);
|
|
154
|
+
else if (event.key === 'ArrowLeft')
|
|
155
|
+
next = menuStep(items, index, -1);
|
|
156
|
+
else if (event.key === 'Home')
|
|
157
|
+
next = menuFirst(items);
|
|
158
|
+
else if (event.key === 'End')
|
|
159
|
+
next = menuLast(items);
|
|
160
|
+
else if (event.key === 'Enter' || event.key === ' ') {
|
|
161
|
+
event.preventDefault();
|
|
162
|
+
this.doc.getElementById(this.itemId(index))?.click();
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
else
|
|
166
|
+
return;
|
|
167
|
+
event.preventDefault();
|
|
168
|
+
if (next < 0)
|
|
169
|
+
return;
|
|
170
|
+
this.focusIndex = next;
|
|
171
|
+
this.cdr.detectChanges();
|
|
172
|
+
const el = this.doc.getElementById(this.itemId(next));
|
|
173
|
+
el?.focus();
|
|
174
|
+
const list = this.listRef?.nativeElement;
|
|
175
|
+
if (list && el)
|
|
176
|
+
ɵrevealTab(list, el);
|
|
177
|
+
}
|
|
178
|
+
updateArrows(render = false) {
|
|
179
|
+
const list = this.listRef?.nativeElement;
|
|
180
|
+
if (!list || this.destroyed)
|
|
181
|
+
return;
|
|
182
|
+
const e = ɵtabEdges(list);
|
|
183
|
+
if (e.prev === this.canPrev && e.next === this.canNext)
|
|
184
|
+
return;
|
|
185
|
+
this.canPrev = e.prev;
|
|
186
|
+
this.canNext = e.next;
|
|
187
|
+
if (render)
|
|
188
|
+
this.cdr.detectChanges();
|
|
189
|
+
else
|
|
190
|
+
this.cdr.markForCheck();
|
|
191
|
+
}
|
|
192
|
+
page(direction) {
|
|
193
|
+
const list = this.listRef?.nativeElement;
|
|
194
|
+
if (list)
|
|
195
|
+
ɵpageTabs(list, direction);
|
|
196
|
+
}
|
|
197
|
+
tabStop() {
|
|
198
|
+
const items = this.items;
|
|
199
|
+
if (menuFocusable(items[this.focusIndex]))
|
|
200
|
+
return this.focusIndex;
|
|
201
|
+
const active = this._active ? items.indexOf(this._active) : -1;
|
|
202
|
+
return menuFocusable(items[active]) ? active : menuFirst(items);
|
|
203
|
+
}
|
|
204
|
+
/** Keeps the current tab in view. */
|
|
205
|
+
revealSoon() {
|
|
206
|
+
if (typeof requestAnimationFrame !== 'function')
|
|
207
|
+
return;
|
|
208
|
+
requestAnimationFrame(() => {
|
|
209
|
+
const list = this.listRef?.nativeElement;
|
|
210
|
+
if (!list || this.destroyed)
|
|
211
|
+
return;
|
|
212
|
+
ɵrevealTab(list, list.querySelector('.wu-tab-active') ?? undefined);
|
|
213
|
+
this.updateArrows(true);
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
ɵWuTabMenuBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ɵWuTabMenuBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
218
|
+
ɵWuTabMenuBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ɵWuTabMenuBase, inputs: { model: "model", activeItem: "activeItem", scrollable: "scrollable", styleClass: "styleClass", style: "style", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy" }, outputs: { activeItemChange: "activeItemChange" }, queries: [{ propertyName: "itemRef", first: true, predicate: ["item"] }, { propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "listRef", first: true, predicate: ["list"], descendants: true }], ngImport: i0 });
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ɵWuTabMenuBase, decorators: [{
|
|
220
|
+
type: Directive
|
|
221
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
222
|
+
type: Input
|
|
223
|
+
}], activeItem: [{
|
|
224
|
+
type: Input
|
|
225
|
+
}], scrollable: [{
|
|
226
|
+
type: Input
|
|
227
|
+
}], styleClass: [{
|
|
228
|
+
type: Input
|
|
229
|
+
}], style: [{
|
|
230
|
+
type: Input
|
|
231
|
+
}], ariaLabel: [{
|
|
232
|
+
type: Input
|
|
233
|
+
}], ariaLabelledBy: [{
|
|
234
|
+
type: Input
|
|
235
|
+
}], activeItemChange: [{
|
|
236
|
+
type: Output
|
|
237
|
+
}], templates: [{
|
|
238
|
+
type: ContentChildren,
|
|
239
|
+
args: [WuTemplate]
|
|
240
|
+
}], itemRef: [{
|
|
241
|
+
type: ContentChild,
|
|
242
|
+
args: ['item', { descendants: false }]
|
|
243
|
+
}], listRef: [{
|
|
244
|
+
type: ViewChild,
|
|
245
|
+
args: ['list']
|
|
246
|
+
}] } });
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Tabs from a menu model, for switching views or routes: `<wu-tabmenu [model]="pages" [(activeItem)]="page">`.
|
|
250
|
+
* Items take `command`, `routerLink` (with the app's router) or `url`; it scrolls sideways like wu-tabs.
|
|
251
|
+
*/
|
|
252
|
+
class WuTabMenu extends ɵWuTabMenuBase {
|
|
253
|
+
}
|
|
254
|
+
WuTabMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabMenu, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
255
|
+
WuTabMenu.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuTabMenu, isStandalone: true, selector: "wu-tabmenu, wu-tabMenu, wu-tab-menu", usesInheritance: true, ngImport: i0, template: "<div class=\"wu-tabmenu p-tabmenu p-component\" [ngClass]=\"styleClass || ''\" [ngStyle]=\"style || null\">\n <div class=\"wu-tabs-nav p-tabmenu-nav-container\">\n <button *ngIf=\"canPrev\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-prev p-tabmenu-nav-prev\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(-1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M10 3 5 8l5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n <ul\n #list\n class=\"wu-tablist wu-tabmenu-list p-tabmenu-nav p-reset\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (scroll)=\"updateArrows()\"\n (keydown)=\"keydown($event)\"\n >\n <li\n *ngFor=\"let item of items; let i = index; trackBy: trackIndex\"\n class=\"wu-tabmenu-item p-tabmenuitem\"\n role=\"presentation\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n [class.p-highlight]=\"isActive(item)\"\n [class.p-disabled]=\"item.disabled\"\n >\n <a\n *ngIf=\"routed(item); else plain\"\n #rla=\"routerLinkActive\"\n class=\"wu-tab p-menuitem-link\"\n role=\"tab\"\n [class.wu-tab-active]=\"isActive(item)\"\n [id]=\"itemId(i)\"\n [attr.data-wu-index]=\"i\"\n [attr.tabindex]=\"tabindexOf(i)\"\n [attr.aria-selected]=\"activeItem ? isActive(item) : rla.isActive\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.target || null\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [fragment]=\"item.fragment\"\n [preserveFragment]=\"!!item.preserveFragment\"\n [skipLocationChange]=\"!!item.skipLocationChange\"\n [replaceUrl]=\"!!item.replaceUrl\"\n [state]=\"item.state\"\n [routerLinkActive]=\"activeItem ? [] : routerActiveClasses\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n (click)=\"itemClick($event, item, i)\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-tab p-menuitem-link\"\n role=\"tab\"\n [class.wu-tab-active]=\"isActive(item)\"\n [id]=\"itemId(i)\"\n [attr.data-wu-index]=\"i\"\n [attr.tabindex]=\"tabindexOf(i)\"\n [attr.aria-selected]=\"isActive(item)\"\n [attr.aria-disabled]=\"item.disabled || null\"\n [attr.href]=\"hrefOf(item)\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.url ? item.target || null : null\"\n (click)=\"itemClick($event, item, i)\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n </li>\n </ul>\n <button *ngIf=\"canNext\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-next p-tabmenu-nav-next\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"m6 3 5 5-5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n </div>\n</div>\n\n<ng-template #content let-item let-index=\"index\">\n <ng-container *ngIf=\"itemTemplate; else defaultContent\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item, index: index }\"></ng-container>\n </ng-container>\n <ng-template #defaultContent>\n <span *ngIf=\"item.icon\" class=\"wu-tab-icon p-menuitem-icon\" [ngClass]=\"item.icon\" [ngStyle]=\"item.iconStyle || null\" aria-hidden=\"true\"></span>\n <span class=\"wu-tabmenu-label p-menuitem-text\">{{ item.label }}</span>\n <span *ngIf=\"item.badge\" class=\"wu-tabmenu-badge p-badge\" [ngClass]=\"item.badgeStyleClass || ''\">{{ item.badge }}</span>\n </ng-template>\n</ng-template>\n", styles: ["@layer wiraui.components{wu-tabs,wu-tabview{display:block;min-width:0}wu-tab-panel,wu-tabpanel,wu-tablist,wu-tabpanels{display:block}wu-tab-panel[hidden],wu-tabpanel[hidden]{display:none}.wu-tabs{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabs-nav{position:relative}.wu-tablist{position:relative;display:flex;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border)}.wu-tablist::-webkit-scrollbar{display:none}.wu-tabs-nav-btn{position:absolute;top:0;bottom:0;z-index:1;display:grid;place-items:center;width:2.25rem;padding:0 0 var(--wu-tabs-border-width);border:0;background:var(--wu-card-bg);box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border);color:var(--wu-tabs-tab-active-color);cursor:pointer}.wu-tabs-nav-btn:after{content:\"\";position:absolute;top:0;bottom:var(--wu-tabs-border-width);width:.75rem;pointer-events:none}.wu-tabs-prev{left:0}.wu-tabs-prev:after{left:100%;background:linear-gradient(to right,var(--wu-card-bg),transparent)}.wu-tabs-next{right:0}.wu-tabs-next:after{right:100%;background:linear-gradient(to left,var(--wu-card-bg),transparent)}.wu-tabs-nav-btn:hover{background:var(--wu-hover-bg)}.wu-tabs-nav-btn svg{width:.875rem;height:.875rem}.wu-tab{flex:none;display:inline-flex;align-items:center;gap:.5rem;margin:0;padding:var(--wu-tabs-tab-padding-y) var(--wu-tabs-tab-padding-x);border:0;border-bottom:var(--wu-tabs-border-width) solid transparent;background:transparent;color:var(--wu-tabs-tab-color);font:inherit;font-weight:var(--wu-tabs-tab-weight);white-space:nowrap;cursor:pointer;transition:color var(--wu-transition),border-color var(--wu-transition)}.wu-tab:not(:disabled,[aria-disabled=\"true\"]):hover{color:var(--wu-text)}.wu-tab-active,.wu-tab-active:not(:disabled,[aria-disabled=\"true\"]):hover{border-bottom-color:var(--wu-tabs-tab-active-color);color:var(--wu-tabs-tab-active-color)}.wu-tab:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:calc(var(--wu-control-focus-offset) * -1 - 2px);box-shadow:inset var(--wu-control-focus-shadow)}.wu-tab:disabled,.wu-tab[aria-disabled=true]{opacity:var(--wu-disabled-opacity);cursor:default}.wu-tab-icon{line-height:1}@media (prefers-reduced-motion: reduce){.wu-tablist{scroll-behavior:auto}}.wu-tabpanels{padding:var(--wu-tabs-panel-padding);background:var(--wu-tabs-panel-bg)}:is(wu-tabmenu,wu-tab-menu){display:block;min-width:0}.wu-tabmenu{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabmenu-list{margin:0;padding:0;list-style:none}.wu-tabmenu-item{display:flex;flex:none}.wu-tabmenu-item>.wu-tab{text-decoration:none}.wu-tabmenu-badge{display:inline-grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;border-radius:999px;background:var(--wu-primary-color);color:var(--wu-primary-contrast);font-size:.75rem;font-weight:600;line-height:1}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabMenu, decorators: [{
|
|
257
|
+
type: Component,
|
|
258
|
+
args: [{ selector: 'wu-tabmenu, wu-tabMenu, wu-tab-menu', standalone: true, imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet, RouterLink, RouterLinkActive], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"wu-tabmenu p-tabmenu p-component\" [ngClass]=\"styleClass || ''\" [ngStyle]=\"style || null\">\n <div class=\"wu-tabs-nav p-tabmenu-nav-container\">\n <button *ngIf=\"canPrev\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-prev p-tabmenu-nav-prev\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(-1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M10 3 5 8l5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n <ul\n #list\n class=\"wu-tablist wu-tabmenu-list p-tabmenu-nav p-reset\"\n role=\"tablist\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n (scroll)=\"updateArrows()\"\n (keydown)=\"keydown($event)\"\n >\n <li\n *ngFor=\"let item of items; let i = index; trackBy: trackIndex\"\n class=\"wu-tabmenu-item p-tabmenuitem\"\n role=\"presentation\"\n [ngClass]=\"item.styleClass || ''\"\n [ngStyle]=\"item.style || null\"\n [class.p-highlight]=\"isActive(item)\"\n [class.p-disabled]=\"item.disabled\"\n >\n <a\n *ngIf=\"routed(item); else plain\"\n #rla=\"routerLinkActive\"\n class=\"wu-tab p-menuitem-link\"\n role=\"tab\"\n [class.wu-tab-active]=\"isActive(item)\"\n [id]=\"itemId(i)\"\n [attr.data-wu-index]=\"i\"\n [attr.tabindex]=\"tabindexOf(i)\"\n [attr.aria-selected]=\"activeItem ? isActive(item) : rla.isActive\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.target || null\"\n [routerLink]=\"item.routerLink\"\n [queryParams]=\"item.queryParams\"\n [queryParamsHandling]=\"item.queryParamsHandling\"\n [fragment]=\"item.fragment\"\n [preserveFragment]=\"!!item.preserveFragment\"\n [skipLocationChange]=\"!!item.skipLocationChange\"\n [replaceUrl]=\"!!item.replaceUrl\"\n [state]=\"item.state\"\n [routerLinkActive]=\"activeItem ? [] : routerActiveClasses\"\n [routerLinkActiveOptions]=\"item.routerLinkActiveOptions || { exact: false }\"\n (click)=\"itemClick($event, item, i)\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n <ng-template #plain>\n <a\n class=\"wu-tab p-menuitem-link\"\n role=\"tab\"\n [class.wu-tab-active]=\"isActive(item)\"\n [id]=\"itemId(i)\"\n [attr.data-wu-index]=\"i\"\n [attr.tabindex]=\"tabindexOf(i)\"\n [attr.aria-selected]=\"isActive(item)\"\n [attr.aria-disabled]=\"item.disabled || null\"\n [attr.href]=\"hrefOf(item)\"\n [attr.title]=\"item.title || null\"\n [attr.target]=\"item.url ? item.target || null : null\"\n (click)=\"itemClick($event, item, i)\"\n >\n <ng-container *ngTemplateOutlet=\"content; context: { $implicit: item, index: i }\"></ng-container>\n </a>\n </ng-template>\n </li>\n </ul>\n <button *ngIf=\"canNext\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-next p-tabmenu-nav-next\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"m6 3 5 5-5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n </div>\n</div>\n\n<ng-template #content let-item let-index=\"index\">\n <ng-container *ngIf=\"itemTemplate; else defaultContent\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item, index: index }\"></ng-container>\n </ng-container>\n <ng-template #defaultContent>\n <span *ngIf=\"item.icon\" class=\"wu-tab-icon p-menuitem-icon\" [ngClass]=\"item.icon\" [ngStyle]=\"item.iconStyle || null\" aria-hidden=\"true\"></span>\n <span class=\"wu-tabmenu-label p-menuitem-text\">{{ item.label }}</span>\n <span *ngIf=\"item.badge\" class=\"wu-tabmenu-badge p-badge\" [ngClass]=\"item.badgeStyleClass || ''\">{{ item.badge }}</span>\n </ng-template>\n</ng-template>\n", styles: ["@layer wiraui.components{wu-tabs,wu-tabview{display:block;min-width:0}wu-tab-panel,wu-tabpanel,wu-tablist,wu-tabpanels{display:block}wu-tab-panel[hidden],wu-tabpanel[hidden]{display:none}.wu-tabs{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabs-nav{position:relative}.wu-tablist{position:relative;display:flex;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border)}.wu-tablist::-webkit-scrollbar{display:none}.wu-tabs-nav-btn{position:absolute;top:0;bottom:0;z-index:1;display:grid;place-items:center;width:2.25rem;padding:0 0 var(--wu-tabs-border-width);border:0;background:var(--wu-card-bg);box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border);color:var(--wu-tabs-tab-active-color);cursor:pointer}.wu-tabs-nav-btn:after{content:\"\";position:absolute;top:0;bottom:var(--wu-tabs-border-width);width:.75rem;pointer-events:none}.wu-tabs-prev{left:0}.wu-tabs-prev:after{left:100%;background:linear-gradient(to right,var(--wu-card-bg),transparent)}.wu-tabs-next{right:0}.wu-tabs-next:after{right:100%;background:linear-gradient(to left,var(--wu-card-bg),transparent)}.wu-tabs-nav-btn:hover{background:var(--wu-hover-bg)}.wu-tabs-nav-btn svg{width:.875rem;height:.875rem}.wu-tab{flex:none;display:inline-flex;align-items:center;gap:.5rem;margin:0;padding:var(--wu-tabs-tab-padding-y) var(--wu-tabs-tab-padding-x);border:0;border-bottom:var(--wu-tabs-border-width) solid transparent;background:transparent;color:var(--wu-tabs-tab-color);font:inherit;font-weight:var(--wu-tabs-tab-weight);white-space:nowrap;cursor:pointer;transition:color var(--wu-transition),border-color var(--wu-transition)}.wu-tab:not(:disabled,[aria-disabled=\"true\"]):hover{color:var(--wu-text)}.wu-tab-active,.wu-tab-active:not(:disabled,[aria-disabled=\"true\"]):hover{border-bottom-color:var(--wu-tabs-tab-active-color);color:var(--wu-tabs-tab-active-color)}.wu-tab:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:calc(var(--wu-control-focus-offset) * -1 - 2px);box-shadow:inset var(--wu-control-focus-shadow)}.wu-tab:disabled,.wu-tab[aria-disabled=true]{opacity:var(--wu-disabled-opacity);cursor:default}.wu-tab-icon{line-height:1}@media (prefers-reduced-motion: reduce){.wu-tablist{scroll-behavior:auto}}.wu-tabpanels{padding:var(--wu-tabs-panel-padding);background:var(--wu-tabs-panel-bg)}:is(wu-tabmenu,wu-tab-menu){display:block;min-width:0}.wu-tabmenu{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabmenu-list{margin:0;padding:0;list-style:none}.wu-tabmenu-item{display:flex;flex:none}.wu-tabmenu-item>.wu-tab{text-decoration:none}.wu-tabmenu-badge{display:inline-grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;border-radius:999px;background:var(--wu-primary-color);color:var(--wu-primary-contrast);font-size:.75rem;font-weight:600;line-height:1}}\n"] }]
|
|
259
|
+
}] });
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Tabs, written either way apps already write them:
|
|
263
|
+
* - by index: `<wu-tabs [(activeIndex)]="i"><wu-tab-panel header="ข้อมูล">…</wu-tab-panel></wu-tabs>`
|
|
264
|
+
* (`wu-tabview` / `wu-tabpanel` are the same components);
|
|
265
|
+
* - by value: `<wu-tabs [(value)]="tab"><wu-tablist><wu-tab value="info">ข้อมูล</wu-tab></wu-tablist>
|
|
266
|
+
* <wu-tabpanels><wu-tabpanel value="info">…</wu-tabpanel></wu-tabpanels></wu-tabs>`.
|
|
267
|
+
* - from a menu model, as links to views or routes: `<wu-tabs [model]="pages" [(activeItem)]="page">` (items take
|
|
268
|
+
* `routerLink`, `url`, `command`, `icon`, `badge`, `disabled`; the same as wu-tabmenu).
|
|
269
|
+
* Arrow keys, Home and End move between tabs. A row that runs out of room scrolls sideways, with arrow
|
|
270
|
+
* buttons at the edges that have more tabs behind them.
|
|
271
|
+
*/
|
|
272
|
+
class WuTabs {
|
|
273
|
+
/** Two-way: `[(activeIndex)]` (tabs by index). */
|
|
274
|
+
set activeIndex(v) {
|
|
275
|
+
this._activeIndex = Number(v) || 0;
|
|
276
|
+
this.cdr.markForCheck();
|
|
277
|
+
this.revealSoon();
|
|
278
|
+
}
|
|
279
|
+
get activeIndex() { return this._activeIndex; }
|
|
280
|
+
/** Two-way: `[(value)]` (tabs by value, with `wu-tablist` / `wu-tab`). Unset: the first tab. */
|
|
281
|
+
set value(v) {
|
|
282
|
+
this._value = v;
|
|
283
|
+
this.cdr.markForCheck();
|
|
284
|
+
}
|
|
285
|
+
get value() { return this._value; }
|
|
286
|
+
/** The `style` object for the root (a plain style attribute already styles the host). */
|
|
287
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
288
|
+
get rootStyle() {
|
|
289
|
+
return this.style && typeof this.style === 'object' ? this.style : null;
|
|
290
|
+
}
|
|
291
|
+
constructor() {
|
|
292
|
+
this.activeIndexChange = new EventEmitter();
|
|
293
|
+
// Typed `any` so the field `[(value)]` binds to can be a string, a number or a union of the app's own tab names.
|
|
294
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
295
|
+
this.valueChange = new EventEmitter();
|
|
296
|
+
this.onChange = new EventEmitter();
|
|
297
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
298
|
+
this.activeItemChange = new EventEmitter();
|
|
299
|
+
this.panels = [];
|
|
300
|
+
this.tabItems = [];
|
|
301
|
+
this.baseId = ɵuniqueId('wu-tabs');
|
|
302
|
+
this.canPrev = false;
|
|
303
|
+
this.canNext = false;
|
|
304
|
+
this._activeIndex = 0;
|
|
305
|
+
this.subs = [];
|
|
306
|
+
this.destroyed = false;
|
|
307
|
+
this.el = inject(ElementRef);
|
|
308
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
309
|
+
ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
|
|
310
|
+
}
|
|
311
|
+
/** Written with `wu-tablist` / `wu-tab` / `wu-tabpanels` instead of panel headers. */
|
|
312
|
+
get valueMode() {
|
|
313
|
+
return !!this.tabList;
|
|
314
|
+
}
|
|
315
|
+
get activeValue() {
|
|
316
|
+
return this._value ?? this.tabItems[0]?.value;
|
|
317
|
+
}
|
|
318
|
+
ngAfterContentInit() {
|
|
319
|
+
const update = () => {
|
|
320
|
+
this.panels = this.panelList ? this.panelList.toArray() : [];
|
|
321
|
+
this.tabItems = this.tabItemList ? this.tabItemList.toArray() : [];
|
|
322
|
+
this.cdr.markForCheck();
|
|
323
|
+
};
|
|
324
|
+
update();
|
|
325
|
+
if (this.panelList)
|
|
326
|
+
this.subs.push(this.panelList.changes.subscribe(update));
|
|
327
|
+
if (this.tabItemList)
|
|
328
|
+
this.subs.push(this.tabItemList.changes.subscribe(update));
|
|
329
|
+
}
|
|
330
|
+
ngAfterViewInit() {
|
|
331
|
+
const list = this.listRef?.nativeElement;
|
|
332
|
+
if (!list || typeof ResizeObserver !== 'function')
|
|
333
|
+
return;
|
|
334
|
+
this.resize = new ResizeObserver(() => this.updateArrows(true));
|
|
335
|
+
this.resize.observe(list);
|
|
336
|
+
this.revealSoon();
|
|
337
|
+
}
|
|
338
|
+
ngOnDestroy() {
|
|
339
|
+
this.destroyed = true;
|
|
340
|
+
this.subs.forEach((s) => s.unsubscribe());
|
|
341
|
+
this.resize?.disconnect();
|
|
342
|
+
}
|
|
343
|
+
/** Shows the arrow of each edge that has tabs behind it. */
|
|
344
|
+
updateArrows(render = false) {
|
|
345
|
+
const list = this.listRef?.nativeElement;
|
|
346
|
+
if (!list || this.destroyed)
|
|
347
|
+
return;
|
|
348
|
+
const e = ɵtabEdges(list);
|
|
349
|
+
if (e.prev === this.canPrev && e.next === this.canNext)
|
|
350
|
+
return;
|
|
351
|
+
this.canPrev = e.prev;
|
|
352
|
+
this.canNext = e.next;
|
|
353
|
+
if (render)
|
|
354
|
+
this.cdr.detectChanges();
|
|
355
|
+
else
|
|
356
|
+
this.cdr.markForCheck();
|
|
357
|
+
}
|
|
358
|
+
page(direction) {
|
|
359
|
+
const list = this.listRef?.nativeElement;
|
|
360
|
+
if (list)
|
|
361
|
+
ɵpageTabs(list, direction);
|
|
362
|
+
}
|
|
363
|
+
revealSoon() {
|
|
364
|
+
if (typeof requestAnimationFrame !== 'function')
|
|
365
|
+
return;
|
|
366
|
+
requestAnimationFrame(() => {
|
|
367
|
+
const list = this.listRef?.nativeElement;
|
|
368
|
+
if (!list || this.destroyed)
|
|
369
|
+
return;
|
|
370
|
+
ɵrevealTab(list, list.querySelectorAll('.wu-tab')[this._activeIndex]);
|
|
371
|
+
this.updateArrows(true);
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
/** Our classes plus the classic-era names (`p-tabview-nav-link`, `p-highlight`). */
|
|
375
|
+
tabClasses(index) {
|
|
376
|
+
return index === this._activeIndex ? 'wu-tab wu-tab-active p-tabview-nav-link p-highlight' : 'wu-tab p-tabview-nav-link';
|
|
377
|
+
}
|
|
378
|
+
/** With `[model]`: wu-tabmenu reports the item that was picked. */
|
|
379
|
+
pickItem(item) {
|
|
380
|
+
this.activeItem = item;
|
|
381
|
+
this.activeItemChange.emit(item);
|
|
382
|
+
}
|
|
383
|
+
select(index, event) {
|
|
384
|
+
const panel = this.panels[index];
|
|
385
|
+
if (!panel || panel.disabled || index === this._activeIndex)
|
|
386
|
+
return;
|
|
387
|
+
this._activeIndex = index;
|
|
388
|
+
this.revealSoon();
|
|
389
|
+
this.activeIndexChange.emit(index);
|
|
390
|
+
this.onChange.emit({ index, originalEvent: event });
|
|
391
|
+
}
|
|
392
|
+
onKeydown(event, index) {
|
|
393
|
+
const next = ɵnextTab(event.key, index, this.panels.map((p) => p.disabled));
|
|
394
|
+
if (next === null)
|
|
395
|
+
return;
|
|
396
|
+
event.preventDefault();
|
|
397
|
+
this.select(next, event);
|
|
398
|
+
const tabs = this.el.nativeElement.querySelectorAll('.wu-tab');
|
|
399
|
+
tabs[next]?.focus();
|
|
400
|
+
}
|
|
401
|
+
/** Tabs by value: `wu-tab` calls this when it is clicked or reached with the keyboard. */
|
|
402
|
+
selectValue(value, event) {
|
|
403
|
+
if (value === undefined || value === this.activeValue)
|
|
404
|
+
return;
|
|
405
|
+
this._value = value;
|
|
406
|
+
this.cdr.markForCheck();
|
|
407
|
+
this.tabList?.refresh();
|
|
408
|
+
this.valueChange.emit(value);
|
|
409
|
+
this.onChange.emit({ index: this.tabItems.findIndex((t) => t.value === value), value, originalEvent: event });
|
|
410
|
+
}
|
|
411
|
+
idOf(kind, value) {
|
|
412
|
+
return `${this.baseId}-${kind}-${ɵtabKey(value)}`;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
WuTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabs, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
416
|
+
WuTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuTabs, isStandalone: true, selector: "wu-tabs, wu-tabview, wu-tabView", inputs: { activeIndex: "activeIndex", value: "value", model: "model", activeItem: "activeItem", ariaLabel: "ariaLabel", styleClass: "styleClass", style: "style", scrollable: "scrollable", lazy: "lazy", selectOnFocus: "selectOnFocus", showNavigators: "showNavigators" }, outputs: { activeIndexChange: "activeIndexChange", valueChange: "valueChange", onChange: "onChange", activeItemChange: "activeItemChange" }, queries: [{ propertyName: "tabList", first: true, predicate: i0.forwardRef(function () { return WuTabList; }), descendants: true }, { propertyName: "panelList", predicate: i0.forwardRef(function () { return WuTabPanel; }) }, { propertyName: "tabItemList", predicate: i0.forwardRef(function () { return WuTab; }), descendants: true }], viewQueries: [{ propertyName: "listRef", first: true, predicate: ["list"], descendants: true }], ngImport: i0, template: "<wu-tabmenu\n *ngIf=\"model\"\n [model]=\"model\"\n [activeItem]=\"activeItem\"\n (activeItemChange)=\"pickItem($event)\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass || undefined\"\n [style]=\"rootStyle\"\n></wu-tabmenu>\n<div *ngIf=\"!model\" class=\"wu-tabs p-tabview p-component\" [class]=\"styleClass || ''\" [style]=\"rootStyle\">\n <div *ngIf=\"!valueMode\" class=\"wu-tabs-nav p-tabview-nav-container\">\n <button *ngIf=\"canPrev\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-prev p-tabview-nav-prev\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(-1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M10 3 5 8l5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n <div #list class=\"wu-tablist p-tabview-nav\" role=\"tablist\" [attr.aria-label]=\"ariaLabel || null\" (scroll)=\"updateArrows()\">\n <button\n *ngFor=\"let panel of panels; let i = index\"\n type=\"button\"\n role=\"tab\"\n [class]=\"tabClasses(i)\"\n [id]=\"baseId + '-tab-' + i\"\n [attr.aria-selected]=\"i === activeIndex\"\n [attr.aria-controls]=\"baseId + '-panel-' + i\"\n [attr.tabindex]=\"i === activeIndex ? 0 : -1\"\n [disabled]=\"panel.disabled\"\n (click)=\"select(i, $event)\"\n (keydown)=\"onKeydown($event, i)\"\n >\n <span *ngIf=\"panel.leftIcon\" [class]=\"'wu-tab-icon p-tabview-left-icon ' + panel.leftIcon\" aria-hidden=\"true\"></span>\n <span class=\"p-tabview-title\"><ng-container *ngIf=\"panel.headerTemplate; else plainTitle\"><ng-container *ngTemplateOutlet=\"panel.headerTemplate\"></ng-container></ng-container><ng-template #plainTitle>{{ panel.header }}</ng-template></span>\n </button>\n </div>\n <button *ngIf=\"canNext\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-next p-tabview-nav-next\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"m6 3 5 5-5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n </div>\n <!-- By value the content is the wu-tablist and wu-tabpanels themselves. -->\n <div [class]=\"valueMode ? 'wu-tabs-content' : 'wu-tabpanels p-tabview-panels'\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{wu-tabs,wu-tabview{display:block;min-width:0}wu-tab-panel,wu-tabpanel,wu-tablist,wu-tabpanels{display:block}wu-tab-panel[hidden],wu-tabpanel[hidden]{display:none}.wu-tabs{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabs-nav{position:relative}.wu-tablist{position:relative;display:flex;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border)}.wu-tablist::-webkit-scrollbar{display:none}.wu-tabs-nav-btn{position:absolute;top:0;bottom:0;z-index:1;display:grid;place-items:center;width:2.25rem;padding:0 0 var(--wu-tabs-border-width);border:0;background:var(--wu-card-bg);box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border);color:var(--wu-tabs-tab-active-color);cursor:pointer}.wu-tabs-nav-btn:after{content:\"\";position:absolute;top:0;bottom:var(--wu-tabs-border-width);width:.75rem;pointer-events:none}.wu-tabs-prev{left:0}.wu-tabs-prev:after{left:100%;background:linear-gradient(to right,var(--wu-card-bg),transparent)}.wu-tabs-next{right:0}.wu-tabs-next:after{right:100%;background:linear-gradient(to left,var(--wu-card-bg),transparent)}.wu-tabs-nav-btn:hover{background:var(--wu-hover-bg)}.wu-tabs-nav-btn svg{width:.875rem;height:.875rem}.wu-tab{flex:none;display:inline-flex;align-items:center;gap:.5rem;margin:0;padding:var(--wu-tabs-tab-padding-y) var(--wu-tabs-tab-padding-x);border:0;border-bottom:var(--wu-tabs-border-width) solid transparent;background:transparent;color:var(--wu-tabs-tab-color);font:inherit;font-weight:var(--wu-tabs-tab-weight);white-space:nowrap;cursor:pointer;transition:color var(--wu-transition),border-color var(--wu-transition)}.wu-tab:not(:disabled,[aria-disabled=\"true\"]):hover{color:var(--wu-text)}.wu-tab-active,.wu-tab-active:not(:disabled,[aria-disabled=\"true\"]):hover{border-bottom-color:var(--wu-tabs-tab-active-color);color:var(--wu-tabs-tab-active-color)}.wu-tab:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:calc(var(--wu-control-focus-offset) * -1 - 2px);box-shadow:inset var(--wu-control-focus-shadow)}.wu-tab:disabled,.wu-tab[aria-disabled=true]{opacity:var(--wu-disabled-opacity);cursor:default}.wu-tab-icon{line-height:1}@media (prefers-reduced-motion: reduce){.wu-tablist{scroll-behavior:auto}}.wu-tabpanels{padding:var(--wu-tabs-panel-padding);background:var(--wu-tabs-panel-bg)}:is(wu-tabmenu,wu-tab-menu){display:block;min-width:0}.wu-tabmenu{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabmenu-list{margin:0;padding:0;list-style:none}.wu-tabmenu-item{display:flex;flex:none}.wu-tabmenu-item>.wu-tab{text-decoration:none}.wu-tabmenu-badge{display:inline-grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;border-radius:999px;background:var(--wu-primary-color);color:var(--wu-primary-contrast);font-size:.75rem;font-weight:600;line-height:1}}\n"], dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: WuTabMenu, selector: "wu-tabmenu, wu-tabMenu, wu-tab-menu" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabs, decorators: [{
|
|
418
|
+
type: Component,
|
|
419
|
+
args: [{ selector: 'wu-tabs, wu-tabview, wu-tabView', standalone: true, imports: [NgFor, NgIf, NgTemplateOutlet, WuTabMenu], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<wu-tabmenu\n *ngIf=\"model\"\n [model]=\"model\"\n [activeItem]=\"activeItem\"\n (activeItemChange)=\"pickItem($event)\"\n [ariaLabel]=\"ariaLabel\"\n [styleClass]=\"styleClass || undefined\"\n [style]=\"rootStyle\"\n></wu-tabmenu>\n<div *ngIf=\"!model\" class=\"wu-tabs p-tabview p-component\" [class]=\"styleClass || ''\" [style]=\"rootStyle\">\n <div *ngIf=\"!valueMode\" class=\"wu-tabs-nav p-tabview-nav-container\">\n <button *ngIf=\"canPrev\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-prev p-tabview-nav-prev\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(-1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M10 3 5 8l5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n <div #list class=\"wu-tablist p-tabview-nav\" role=\"tablist\" [attr.aria-label]=\"ariaLabel || null\" (scroll)=\"updateArrows()\">\n <button\n *ngFor=\"let panel of panels; let i = index\"\n type=\"button\"\n role=\"tab\"\n [class]=\"tabClasses(i)\"\n [id]=\"baseId + '-tab-' + i\"\n [attr.aria-selected]=\"i === activeIndex\"\n [attr.aria-controls]=\"baseId + '-panel-' + i\"\n [attr.tabindex]=\"i === activeIndex ? 0 : -1\"\n [disabled]=\"panel.disabled\"\n (click)=\"select(i, $event)\"\n (keydown)=\"onKeydown($event, i)\"\n >\n <span *ngIf=\"panel.leftIcon\" [class]=\"'wu-tab-icon p-tabview-left-icon ' + panel.leftIcon\" aria-hidden=\"true\"></span>\n <span class=\"p-tabview-title\"><ng-container *ngIf=\"panel.headerTemplate; else plainTitle\"><ng-container *ngTemplateOutlet=\"panel.headerTemplate\"></ng-container></ng-container><ng-template #plainTitle>{{ panel.header }}</ng-template></span>\n </button>\n </div>\n <button *ngIf=\"canNext\" type=\"button\" class=\"wu-tabs-nav-btn wu-tabs-next p-tabview-nav-next\" tabindex=\"-1\" aria-hidden=\"true\" (click)=\"page(1)\">\n <svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"m6 3 5 5-5 5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>\n </button>\n </div>\n <!-- By value the content is the wu-tablist and wu-tabpanels themselves. -->\n <div [class]=\"valueMode ? 'wu-tabs-content' : 'wu-tabpanels p-tabview-panels'\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{wu-tabs,wu-tabview{display:block;min-width:0}wu-tab-panel,wu-tabpanel,wu-tablist,wu-tabpanels{display:block}wu-tab-panel[hidden],wu-tabpanel[hidden]{display:none}.wu-tabs{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabs-nav{position:relative}.wu-tablist{position:relative;display:flex;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border)}.wu-tablist::-webkit-scrollbar{display:none}.wu-tabs-nav-btn{position:absolute;top:0;bottom:0;z-index:1;display:grid;place-items:center;width:2.25rem;padding:0 0 var(--wu-tabs-border-width);border:0;background:var(--wu-card-bg);box-shadow:inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border);color:var(--wu-tabs-tab-active-color);cursor:pointer}.wu-tabs-nav-btn:after{content:\"\";position:absolute;top:0;bottom:var(--wu-tabs-border-width);width:.75rem;pointer-events:none}.wu-tabs-prev{left:0}.wu-tabs-prev:after{left:100%;background:linear-gradient(to right,var(--wu-card-bg),transparent)}.wu-tabs-next{right:0}.wu-tabs-next:after{right:100%;background:linear-gradient(to left,var(--wu-card-bg),transparent)}.wu-tabs-nav-btn:hover{background:var(--wu-hover-bg)}.wu-tabs-nav-btn svg{width:.875rem;height:.875rem}.wu-tab{flex:none;display:inline-flex;align-items:center;gap:.5rem;margin:0;padding:var(--wu-tabs-tab-padding-y) var(--wu-tabs-tab-padding-x);border:0;border-bottom:var(--wu-tabs-border-width) solid transparent;background:transparent;color:var(--wu-tabs-tab-color);font:inherit;font-weight:var(--wu-tabs-tab-weight);white-space:nowrap;cursor:pointer;transition:color var(--wu-transition),border-color var(--wu-transition)}.wu-tab:not(:disabled,[aria-disabled=\"true\"]):hover{color:var(--wu-text)}.wu-tab-active,.wu-tab-active:not(:disabled,[aria-disabled=\"true\"]):hover{border-bottom-color:var(--wu-tabs-tab-active-color);color:var(--wu-tabs-tab-active-color)}.wu-tab:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:calc(var(--wu-control-focus-offset) * -1 - 2px);box-shadow:inset var(--wu-control-focus-shadow)}.wu-tab:disabled,.wu-tab[aria-disabled=true]{opacity:var(--wu-disabled-opacity);cursor:default}.wu-tab-icon{line-height:1}@media (prefers-reduced-motion: reduce){.wu-tablist{scroll-behavior:auto}}.wu-tabpanels{padding:var(--wu-tabs-panel-padding);background:var(--wu-tabs-panel-bg)}:is(wu-tabmenu,wu-tab-menu){display:block;min-width:0}.wu-tabmenu{font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-tabmenu-list{margin:0;padding:0;list-style:none}.wu-tabmenu-item{display:flex;flex:none}.wu-tabmenu-item>.wu-tab{text-decoration:none}.wu-tabmenu-badge{display:inline-grid;place-items:center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;border-radius:999px;background:var(--wu-primary-color);color:var(--wu-primary-contrast);font-size:.75rem;font-weight:600;line-height:1}}\n"] }]
|
|
420
|
+
}], ctorParameters: function () { return []; }, propDecorators: { activeIndex: [{
|
|
421
|
+
type: Input
|
|
422
|
+
}], value: [{
|
|
423
|
+
type: Input
|
|
424
|
+
}], model: [{
|
|
425
|
+
type: Input
|
|
426
|
+
}], activeItem: [{
|
|
427
|
+
type: Input
|
|
428
|
+
}], ariaLabel: [{
|
|
429
|
+
type: Input
|
|
430
|
+
}], styleClass: [{
|
|
431
|
+
type: Input
|
|
432
|
+
}], style: [{
|
|
433
|
+
type: Input
|
|
434
|
+
}], scrollable: [{
|
|
435
|
+
type: Input
|
|
436
|
+
}], lazy: [{
|
|
437
|
+
type: Input
|
|
438
|
+
}], selectOnFocus: [{
|
|
439
|
+
type: Input
|
|
440
|
+
}], showNavigators: [{
|
|
441
|
+
type: Input
|
|
442
|
+
}], activeIndexChange: [{
|
|
443
|
+
type: Output
|
|
444
|
+
}], valueChange: [{
|
|
445
|
+
type: Output
|
|
446
|
+
}], onChange: [{
|
|
447
|
+
type: Output
|
|
448
|
+
}], activeItemChange: [{
|
|
449
|
+
type: Output
|
|
450
|
+
}], panelList: [{
|
|
451
|
+
type: ContentChildren,
|
|
452
|
+
args: [forwardRef(() => WuTabPanel)]
|
|
453
|
+
}], tabList: [{
|
|
454
|
+
type: ContentChild,
|
|
455
|
+
args: [forwardRef(() => WuTabList)]
|
|
456
|
+
}], tabItemList: [{
|
|
457
|
+
type: ContentChildren,
|
|
458
|
+
args: [forwardRef(() => WuTab), { descendants: true }]
|
|
459
|
+
}], listRef: [{
|
|
460
|
+
type: ViewChild,
|
|
461
|
+
args: ['list']
|
|
462
|
+
}] } });
|
|
463
|
+
/** The row of `wu-tab`s when tabs are written by value. Scrolls sideways with edge arrows, like the index form. */
|
|
464
|
+
class WuTabList {
|
|
465
|
+
constructor() {
|
|
466
|
+
this.tabs = inject(WuTabs, { optional: true });
|
|
467
|
+
this.canPrev = false;
|
|
468
|
+
this.canNext = false;
|
|
469
|
+
this.destroyed = false;
|
|
470
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
471
|
+
}
|
|
472
|
+
ngAfterViewInit() {
|
|
473
|
+
const list = this.listRef?.nativeElement;
|
|
474
|
+
if (list && typeof ResizeObserver === 'function') {
|
|
475
|
+
this.resize = new ResizeObserver(() => this.updateArrows(true));
|
|
476
|
+
this.resize.observe(list);
|
|
477
|
+
}
|
|
478
|
+
this.refresh();
|
|
479
|
+
}
|
|
480
|
+
ngOnDestroy() {
|
|
481
|
+
this.destroyed = true;
|
|
482
|
+
this.resize?.disconnect();
|
|
483
|
+
}
|
|
484
|
+
/** Keeps the selected tab in view. */
|
|
485
|
+
refresh() {
|
|
486
|
+
if (typeof requestAnimationFrame !== 'function')
|
|
487
|
+
return;
|
|
488
|
+
requestAnimationFrame(() => {
|
|
489
|
+
const list = this.listRef?.nativeElement;
|
|
490
|
+
if (!list || this.destroyed)
|
|
491
|
+
return;
|
|
492
|
+
ɵrevealTab(list, list.querySelector('.wu-tab-active') ?? undefined);
|
|
493
|
+
this.updateArrows(true);
|
|
494
|
+
});
|
|
495
|
+
}
|
|
496
|
+
updateArrows(render = false) {
|
|
497
|
+
const list = this.listRef?.nativeElement;
|
|
498
|
+
if (!list || this.destroyed)
|
|
499
|
+
return;
|
|
500
|
+
const e = ɵtabEdges(list);
|
|
501
|
+
if (e.prev === this.canPrev && e.next === this.canNext)
|
|
502
|
+
return;
|
|
503
|
+
this.canPrev = e.prev;
|
|
504
|
+
this.canNext = e.next;
|
|
505
|
+
if (render)
|
|
506
|
+
this.cdr.detectChanges();
|
|
507
|
+
else
|
|
508
|
+
this.cdr.markForCheck();
|
|
509
|
+
}
|
|
510
|
+
page(direction) {
|
|
511
|
+
const list = this.listRef?.nativeElement;
|
|
512
|
+
if (list)
|
|
513
|
+
ɵpageTabs(list, direction);
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
WuTabList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabList, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
517
|
+
WuTabList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuTabList, isStandalone: true, selector: "wu-tablist", viewQueries: [{ propertyName: "listRef", first: true, predicate: ["list"], descendants: true }], ngImport: i0, template: `
|
|
518
|
+
<div class="wu-tabs-nav p-tablist">
|
|
519
|
+
<button *ngIf="canPrev" type="button" class="wu-tabs-nav-btn wu-tabs-prev p-tablist-prev-button" tabindex="-1" aria-hidden="true" (click)="page(-1)">
|
|
520
|
+
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M10 3 5 8l5 5" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
521
|
+
</button>
|
|
522
|
+
<div #list class="wu-tablist p-tablist-tab-list" role="tablist" [attr.aria-label]="tabs?.ariaLabel || null" (scroll)="updateArrows()">
|
|
523
|
+
<ng-content></ng-content>
|
|
524
|
+
</div>
|
|
525
|
+
<button *ngIf="canNext" type="button" class="wu-tabs-nav-btn wu-tabs-next p-tablist-next-button" tabindex="-1" aria-hidden="true" (click)="page(1)">
|
|
526
|
+
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="m6 3 5 5-5 5" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
527
|
+
</button>
|
|
528
|
+
</div>
|
|
529
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
530
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabList, decorators: [{
|
|
531
|
+
type: Component,
|
|
532
|
+
args: [{
|
|
533
|
+
selector: 'wu-tablist',
|
|
534
|
+
standalone: true,
|
|
535
|
+
imports: [NgIf],
|
|
536
|
+
template: `
|
|
537
|
+
<div class="wu-tabs-nav p-tablist">
|
|
538
|
+
<button *ngIf="canPrev" type="button" class="wu-tabs-nav-btn wu-tabs-prev p-tablist-prev-button" tabindex="-1" aria-hidden="true" (click)="page(-1)">
|
|
539
|
+
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M10 3 5 8l5 5" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
540
|
+
</button>
|
|
541
|
+
<div #list class="wu-tablist p-tablist-tab-list" role="tablist" [attr.aria-label]="tabs?.ariaLabel || null" (scroll)="updateArrows()">
|
|
542
|
+
<ng-content></ng-content>
|
|
543
|
+
</div>
|
|
544
|
+
<button *ngIf="canNext" type="button" class="wu-tabs-nav-btn wu-tabs-next p-tablist-next-button" tabindex="-1" aria-hidden="true" (click)="page(1)">
|
|
545
|
+
<svg viewBox="0 0 16 16" aria-hidden="true"><path d="m6 3 5 5-5 5" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
546
|
+
</button>
|
|
547
|
+
</div>
|
|
548
|
+
`,
|
|
549
|
+
encapsulation: ViewEncapsulation.None,
|
|
550
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
551
|
+
}]
|
|
552
|
+
}], propDecorators: { listRef: [{
|
|
553
|
+
type: ViewChild,
|
|
554
|
+
args: ['list']
|
|
555
|
+
}] } });
|
|
556
|
+
/** One tab when tabs are written by value: `<wu-tab value="info">ข้อมูล</wu-tab>`. */
|
|
557
|
+
class WuTab {
|
|
558
|
+
constructor() {
|
|
559
|
+
this._disabled = false;
|
|
560
|
+
this.tabs = inject(WuTabs, { optional: true });
|
|
561
|
+
this.el = inject(ElementRef);
|
|
562
|
+
}
|
|
563
|
+
set disabled(v) { this._disabled = ɵtoBool(v); }
|
|
564
|
+
get disabled() { return this._disabled; }
|
|
565
|
+
get active() {
|
|
566
|
+
return !!this.tabs && this.tabs.activeValue === this.value;
|
|
567
|
+
}
|
|
568
|
+
get tabId() {
|
|
569
|
+
return this.tabs ? this.tabs.idOf('tab', this.value) : null;
|
|
570
|
+
}
|
|
571
|
+
get panelId() {
|
|
572
|
+
return this.tabs ? this.tabs.idOf('panel', this.value) : null;
|
|
573
|
+
}
|
|
574
|
+
get ariaDisabled() {
|
|
575
|
+
return this._disabled || null;
|
|
576
|
+
}
|
|
577
|
+
get tabIndex() {
|
|
578
|
+
return this.active && !this._disabled ? 0 : -1;
|
|
579
|
+
}
|
|
580
|
+
select(event) {
|
|
581
|
+
if (this._disabled)
|
|
582
|
+
return;
|
|
583
|
+
this.tabs?.selectValue(this.value, event);
|
|
584
|
+
}
|
|
585
|
+
onKeydown(event) {
|
|
586
|
+
if (!this.tabs)
|
|
587
|
+
return;
|
|
588
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
589
|
+
event.preventDefault();
|
|
590
|
+
this.select(event);
|
|
591
|
+
return;
|
|
592
|
+
}
|
|
593
|
+
const items = this.tabs.tabItems;
|
|
594
|
+
const next = ɵnextTab(event.key, items.indexOf(this), items.map((t) => t.disabled));
|
|
595
|
+
if (next === null)
|
|
596
|
+
return;
|
|
597
|
+
event.preventDefault();
|
|
598
|
+
items[next].select(event);
|
|
599
|
+
items[next].el.nativeElement.focus();
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
WuTab.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTab, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
603
|
+
WuTab.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuTab, isStandalone: true, selector: "wu-tab", inputs: { value: "value", disabled: "disabled" }, host: { attributes: { "role": "tab" }, listeners: { "click": "select($event)", "keydown": "onKeydown($event)" }, properties: { "class.wu-tab-active": "this.active", "class.p-tab-active": "this.active", "attr.aria-selected": "this.active", "attr.id": "this.tabId", "attr.aria-controls": "this.panelId", "attr.aria-disabled": "this.ariaDisabled", "attr.tabindex": "this.tabIndex" }, classAttribute: "wu-tab p-tab" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTab, decorators: [{
|
|
605
|
+
type: Component,
|
|
606
|
+
args: [{
|
|
607
|
+
selector: 'wu-tab',
|
|
608
|
+
standalone: true,
|
|
609
|
+
template: '<ng-content></ng-content>',
|
|
610
|
+
encapsulation: ViewEncapsulation.None,
|
|
611
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
612
|
+
host: { class: 'wu-tab p-tab', role: 'tab' },
|
|
613
|
+
}]
|
|
614
|
+
}], propDecorators: { value: [{
|
|
615
|
+
type: Input
|
|
616
|
+
}], disabled: [{
|
|
617
|
+
type: Input
|
|
618
|
+
}], active: [{
|
|
619
|
+
type: HostBinding,
|
|
620
|
+
args: ['class.wu-tab-active']
|
|
621
|
+
}, {
|
|
622
|
+
type: HostBinding,
|
|
623
|
+
args: ['class.p-tab-active']
|
|
624
|
+
}, {
|
|
625
|
+
type: HostBinding,
|
|
626
|
+
args: ['attr.aria-selected']
|
|
627
|
+
}], tabId: [{
|
|
628
|
+
type: HostBinding,
|
|
629
|
+
args: ['attr.id']
|
|
630
|
+
}], panelId: [{
|
|
631
|
+
type: HostBinding,
|
|
632
|
+
args: ['attr.aria-controls']
|
|
633
|
+
}], ariaDisabled: [{
|
|
634
|
+
type: HostBinding,
|
|
635
|
+
args: ['attr.aria-disabled']
|
|
636
|
+
}], tabIndex: [{
|
|
637
|
+
type: HostBinding,
|
|
638
|
+
args: ['attr.tabindex']
|
|
639
|
+
}], select: [{
|
|
640
|
+
type: HostListener,
|
|
641
|
+
args: ['click', ['$event']]
|
|
642
|
+
}], onKeydown: [{
|
|
643
|
+
type: HostListener,
|
|
644
|
+
args: ['keydown', ['$event']]
|
|
645
|
+
}] } });
|
|
646
|
+
/** The panels when tabs are written by value: `<wu-tabpanels><wu-tabpanel value="info">…</wu-tabpanel></wu-tabpanels>`. */
|
|
647
|
+
class WuTabPanels {
|
|
648
|
+
}
|
|
649
|
+
WuTabPanels.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabPanels, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
650
|
+
WuTabPanels.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuTabPanels, isStandalone: true, selector: "wu-tabpanels", host: { classAttribute: "wu-tabpanels p-tabpanels" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabPanels, decorators: [{
|
|
652
|
+
type: Component,
|
|
653
|
+
args: [{
|
|
654
|
+
selector: 'wu-tabpanels',
|
|
655
|
+
standalone: true,
|
|
656
|
+
template: '<ng-content></ng-content>',
|
|
657
|
+
encapsulation: ViewEncapsulation.None,
|
|
658
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
659
|
+
host: { class: 'wu-tabpanels p-tabpanels' },
|
|
660
|
+
}]
|
|
661
|
+
}] });
|
|
662
|
+
/**
|
|
663
|
+
* Content of one tab: `<wu-tab-panel header="ข้อมูล" leftIcon="pi pi-user" [disabled]="…">` by index, or
|
|
664
|
+
* `<wu-tabpanel value="info">` inside `wu-tabpanels` by value.
|
|
665
|
+
*/
|
|
666
|
+
class WuTabPanel {
|
|
667
|
+
constructor() {
|
|
668
|
+
this._disabled = false;
|
|
669
|
+
this.tabs = inject(WuTabs, { optional: true });
|
|
670
|
+
}
|
|
671
|
+
get headerTemplate() {
|
|
672
|
+
return this.headerRef || ɵfindTemplate(this.slotTemplates, 'header');
|
|
673
|
+
}
|
|
674
|
+
set disabled(v) { this._disabled = ɵtoBool(v); }
|
|
675
|
+
get disabled() { return this._disabled; }
|
|
676
|
+
get index() {
|
|
677
|
+
return this.tabs ? this.tabs.panels.indexOf(this) : 0;
|
|
678
|
+
}
|
|
679
|
+
get hidden() {
|
|
680
|
+
if (!this.tabs)
|
|
681
|
+
return false;
|
|
682
|
+
return this.tabs.valueMode ? this.tabs.activeValue !== this.value : this.tabs.activeIndex !== this.index;
|
|
683
|
+
}
|
|
684
|
+
get panelId() {
|
|
685
|
+
if (!this.tabs)
|
|
686
|
+
return null;
|
|
687
|
+
return this.tabs.valueMode ? this.tabs.idOf('panel', this.value) : `${this.tabs.baseId}-panel-${this.index}`;
|
|
688
|
+
}
|
|
689
|
+
get tabId() {
|
|
690
|
+
if (!this.tabs)
|
|
691
|
+
return null;
|
|
692
|
+
return this.tabs.valueMode ? this.tabs.idOf('tab', this.value) : `${this.tabs.baseId}-tab-${this.index}`;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
WuTabPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabPanel, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
696
|
+
WuTabPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuTabPanel, isStandalone: true, selector: "wu-tab-panel, wu-tabpanel, wu-tabPanel", inputs: { header: "header", leftIcon: "leftIcon", disabled: "disabled", value: "value" }, host: { attributes: { "role": "tabpanel" }, properties: { "hidden": "this.hidden", "attr.id": "this.panelId", "attr.aria-labelledby": "this.tabId" }, classAttribute: "wu-tabpanel p-tabview-panel" }, queries: [{ propertyName: "headerRef", first: true, predicate: ["header"], descendants: true, read: TemplateRef }, { propertyName: "slotTemplates", predicate: WuTemplate }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabPanel, decorators: [{
|
|
698
|
+
type: Component,
|
|
699
|
+
args: [{
|
|
700
|
+
selector: 'wu-tab-panel, wu-tabpanel, wu-tabPanel',
|
|
701
|
+
standalone: true,
|
|
702
|
+
template: '<ng-content></ng-content>',
|
|
703
|
+
encapsulation: ViewEncapsulation.None,
|
|
704
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
705
|
+
host: { class: 'wu-tabpanel p-tabview-panel', role: 'tabpanel' },
|
|
706
|
+
}]
|
|
707
|
+
}], propDecorators: { slotTemplates: [{
|
|
708
|
+
type: ContentChildren,
|
|
709
|
+
args: [WuTemplate]
|
|
710
|
+
}], headerRef: [{
|
|
711
|
+
type: ContentChild,
|
|
712
|
+
args: ['header', { read: TemplateRef }]
|
|
713
|
+
}], header: [{
|
|
714
|
+
type: Input
|
|
715
|
+
}], leftIcon: [{
|
|
716
|
+
type: Input
|
|
717
|
+
}], disabled: [{
|
|
718
|
+
type: Input
|
|
719
|
+
}], value: [{
|
|
720
|
+
type: Input
|
|
721
|
+
}], hidden: [{
|
|
722
|
+
type: HostBinding,
|
|
723
|
+
args: ['hidden']
|
|
724
|
+
}], panelId: [{
|
|
725
|
+
type: HostBinding,
|
|
726
|
+
args: ['attr.id']
|
|
727
|
+
}], tabId: [{
|
|
728
|
+
type: HostBinding,
|
|
729
|
+
args: ['attr.aria-labelledby']
|
|
730
|
+
}] } });
|
|
731
|
+
|
|
732
|
+
const ALL = [WuTabs, WuTabPanel, WuTabList, WuTab, WuTabPanels, WuTabMenu, WuTemplate];
|
|
733
|
+
/** For NgModule apps. Standalone apps can import `WuTabs`, `WuTabPanel` (and `WuTabList`, `WuTab`, `WuTabPanels`) directly. */
|
|
734
|
+
class WuTabsModule {
|
|
735
|
+
}
|
|
736
|
+
WuTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
737
|
+
WuTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuTabsModule, imports: [WuTabs, WuTabPanel, WuTabList, WuTab, WuTabPanels, WuTabMenu, WuTemplate], exports: [WuTabs, WuTabPanel, WuTabList, WuTab, WuTabPanels, WuTabMenu, WuTemplate] });
|
|
738
|
+
WuTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabsModule, imports: [WuTabs, WuTabPanel, WuTabList, WuTab, WuTabPanels, WuTabMenu] });
|
|
739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabsModule, decorators: [{
|
|
740
|
+
type: NgModule,
|
|
741
|
+
args: [{
|
|
742
|
+
imports: ALL,
|
|
743
|
+
exports: ALL,
|
|
744
|
+
}]
|
|
745
|
+
}] });
|
|
746
|
+
|
|
747
|
+
/** For NgModule apps. Standalone apps can import `WuTabMenu` directly. */
|
|
748
|
+
class WuTabMenuModule {
|
|
749
|
+
}
|
|
750
|
+
WuTabMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
751
|
+
WuTabMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuTabMenuModule, imports: [WuTabMenu, WuTemplate], exports: [WuTabMenu, WuTemplate] });
|
|
752
|
+
WuTabMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabMenuModule, imports: [WuTabMenu] });
|
|
753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuTabMenuModule, decorators: [{
|
|
754
|
+
type: NgModule,
|
|
755
|
+
args: [{
|
|
756
|
+
imports: [WuTabMenu, WuTemplate],
|
|
757
|
+
exports: [WuTabMenu, WuTemplate],
|
|
758
|
+
}]
|
|
759
|
+
}] });
|
|
760
|
+
|
|
761
|
+
/** Generated by tools/sync-sources.mjs from packages/styles/tabs.css. */
|
|
762
|
+
const WU_TABS_CSS = "/* wu-tabs with wu-tab-panel (by index) or wu-tablist / wu-tab / wu-tabpanels / wu-tabpanel (by value). Shared by wiraui v1, v2 and v3. A row that runs out of room scrolls sideways\n (swipe, wheel, or the arrow buttons that appear at an edge with more tabs behind it); no scrollbar is drawn. */\n@layer wiraui.components {\n wu-tabs,\n wu-tabview {\n display: block;\n min-width: 0;\n }\n wu-tab-panel,\n wu-tabpanel,\n wu-tablist,\n wu-tabpanels {\n display: block;\n }\n wu-tab-panel[hidden],\n wu-tabpanel[hidden] {\n display: none;\n }\n .wu-tabs {\n font-family: var(--wu-font-family);\n font-size: var(--wu-font-size);\n line-height: var(--wu-line-height);\n color: var(--wu-text);\n }\n /* The baseline is an inset shadow, not a border: tabs paint their underline over it without a\n negative margin, so the row never overflows vertically (no stray vertical scrollbar). */\n .wu-tabs-nav {\n position: relative;\n }\n .wu-tablist {\n position: relative;\n display: flex;\n overflow-x: auto;\n overflow-y: hidden;\n overscroll-behavior-x: contain;\n scroll-behavior: smooth;\n -webkit-overflow-scrolling: touch;\n scrollbar-width: none;\n box-shadow: inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border);\n }\n .wu-tablist::-webkit-scrollbar {\n display: none;\n }\n .wu-tabs-nav-btn {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n display: grid;\n place-items: center;\n width: 2.25rem;\n padding: 0 0 var(--wu-tabs-border-width);\n border: 0;\n background: var(--wu-card-bg);\n box-shadow: inset 0 calc(var(--wu-tabs-border-width) * -1) 0 var(--wu-border);\n color: var(--wu-tabs-tab-active-color);\n cursor: pointer;\n }\n .wu-tabs-nav-btn::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: var(--wu-tabs-border-width);\n width: 0.75rem;\n pointer-events: none;\n }\n .wu-tabs-prev {\n left: 0;\n }\n .wu-tabs-prev::after {\n left: 100%;\n background: linear-gradient(to right, var(--wu-card-bg), transparent);\n }\n .wu-tabs-next {\n right: 0;\n }\n .wu-tabs-next::after {\n right: 100%;\n background: linear-gradient(to left, var(--wu-card-bg), transparent);\n }\n .wu-tabs-nav-btn:hover {\n background: var(--wu-hover-bg);\n }\n .wu-tabs-nav-btn svg {\n width: 0.875rem;\n height: 0.875rem;\n }\n .wu-tab {\n flex: none;\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n padding: var(--wu-tabs-tab-padding-y) var(--wu-tabs-tab-padding-x);\n border: 0;\n border-bottom: var(--wu-tabs-border-width) solid transparent;\n background: transparent;\n color: var(--wu-tabs-tab-color);\n font: inherit;\n font-weight: var(--wu-tabs-tab-weight);\n white-space: nowrap;\n cursor: pointer;\n transition:\n color var(--wu-transition),\n border-color var(--wu-transition);\n }\n .wu-tab:not(:disabled, [aria-disabled='true']):hover {\n color: var(--wu-text);\n }\n .wu-tab-active,\n .wu-tab-active:not(:disabled, [aria-disabled='true']):hover {\n border-bottom-color: var(--wu-tabs-tab-active-color);\n color: var(--wu-tabs-tab-active-color);\n }\n .wu-tab:focus-visible {\n outline: var(--wu-control-focus-outline);\n outline-offset: calc(var(--wu-control-focus-offset) * -1 - 2px);\n box-shadow: inset var(--wu-control-focus-shadow);\n }\n .wu-tab:disabled,\n .wu-tab[aria-disabled='true'] {\n opacity: var(--wu-disabled-opacity);\n cursor: default;\n }\n .wu-tab-icon {\n line-height: 1;\n }\n @media (prefers-reduced-motion: reduce) {\n .wu-tablist {\n scroll-behavior: auto;\n }\n }\n .wu-tabpanels {\n padding: var(--wu-tabs-panel-padding);\n background: var(--wu-tabs-panel-bg);\n }\n\n /* wu-tabmenu (and wu-tabs [model]): the same tab row, made of links. */\n :is(wu-tabmenu, wu-tab-menu) {\n display: block;\n min-width: 0;\n }\n .wu-tabmenu {\n font-family: var(--wu-font-family);\n font-size: var(--wu-font-size);\n line-height: var(--wu-line-height);\n color: var(--wu-text);\n }\n .wu-tabmenu-list {\n margin: 0;\n padding: 0;\n list-style: none;\n }\n .wu-tabmenu-item {\n display: flex;\n flex: none;\n }\n .wu-tabmenu-item > .wu-tab {\n text-decoration: none;\n }\n .wu-tabmenu-badge {\n display: inline-grid;\n place-items: center;\n min-width: 1.25rem;\n height: 1.25rem;\n padding: 0 0.375rem;\n border-radius: 999px;\n background: var(--wu-primary-color);\n color: var(--wu-primary-contrast);\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1;\n }\n}\n";
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Generated bundle index. Do not edit.
|
|
766
|
+
*/
|
|
767
|
+
|
|
768
|
+
export { WuTab, WuTabList, WuTabMenu, WuTabMenuModule, WuTabPanel, WuTabPanels, WuTabs, WuTabsModule, WU_TABS_CSS as ɵWU_TABS_CSS, ɵWuTabMenuBase, ɵnextTab, ɵpageTabs, ɵrevealTab, ɵtabEdges, ɵtabKey };
|
|
769
|
+
//# sourceMappingURL=wirabyte-ui-tabs.mjs.map
|