@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,954 @@
|
|
|
1
|
+
import { DOCUMENT, NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { TemplateRef, EventEmitter, inject, ChangeDetectorRef, ElementRef, NgZone, Directive, Input, Output, ContentChildren, ContentChild, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
+
import { ɵtoBool, WU_VERSION_INFO, ɵuniqueId, WuConfig, ɵrefreshOnTranslation, ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, ɵWuStyleLoader, ɵfindTemplate, WuTemplate } from '@wirabyte/ui/config';
|
|
5
|
+
import { ɵWU_BUTTON_CSS, ɵbuttonClass } from '@wirabyte/ui/button';
|
|
6
|
+
import { ɵWU_INPUTTEXT_CSS } from '@wirabyte/ui/inputtext';
|
|
7
|
+
import { moveUp, moveTop, moveDown, moveBottom, optionField, ListState, transferItems, moveItemsTo } from '@wirabyte/ui/core';
|
|
8
|
+
|
|
9
|
+
const MOUSE_SLOP = 4;
|
|
10
|
+
const TOUCH_SLOP = 8;
|
|
11
|
+
const LONG_PRESS = 300;
|
|
12
|
+
const EDGE = 32;
|
|
13
|
+
/**
|
|
14
|
+
* Drag and drop for wu-picklist and wu-orderlist, on Pointer Events so mouse, pen and touch all work: a mouse drags
|
|
15
|
+
* after a few pixels, a finger after a short press (a quick swipe still scrolls the list). The item under the pointer
|
|
16
|
+
* shows a line where the drop lands; Esc cancels. Lists scroll when the pointer nears their top or bottom.
|
|
17
|
+
*/
|
|
18
|
+
class ɵWuListDrag {
|
|
19
|
+
constructor(host, zone) {
|
|
20
|
+
this.host = host;
|
|
21
|
+
this.zone = zone;
|
|
22
|
+
this.pending = null;
|
|
23
|
+
this.active = null;
|
|
24
|
+
this.suppressClick = false;
|
|
25
|
+
this.scrollFrame = 0;
|
|
26
|
+
this.lastPoint = { x: 0, y: 0 };
|
|
27
|
+
this.listeners = [];
|
|
28
|
+
this.move = (event) => {
|
|
29
|
+
const p = this.pending;
|
|
30
|
+
if (p && event.pointerId === p.id && !this.active) {
|
|
31
|
+
const dist = Math.hypot(event.clientX - p.x, event.clientY - p.y);
|
|
32
|
+
if (p.touch) {
|
|
33
|
+
if (dist > TOUCH_SLOP)
|
|
34
|
+
this.end();
|
|
35
|
+
}
|
|
36
|
+
else if (dist > MOUSE_SLOP) {
|
|
37
|
+
this.start();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
if (this.active && (!p || event.pointerId === p.id)) {
|
|
41
|
+
event.preventDefault();
|
|
42
|
+
this.track(event.clientX, event.clientY);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
this.up = (event) => {
|
|
46
|
+
if (this.pending && event.pointerId !== this.pending.id)
|
|
47
|
+
return;
|
|
48
|
+
const a = this.active;
|
|
49
|
+
if (a === null || a === void 0 ? void 0 : a.over) {
|
|
50
|
+
const { list, index } = a.over;
|
|
51
|
+
const items = a.items;
|
|
52
|
+
this.suppressClick = true;
|
|
53
|
+
setTimeout(() => (this.suppressClick = false), 0);
|
|
54
|
+
this.end();
|
|
55
|
+
this.inside(() => this.host.drop(a.from, items, list, index, event));
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
if (a) {
|
|
59
|
+
this.suppressClick = true;
|
|
60
|
+
setTimeout(() => (this.suppressClick = false), 0);
|
|
61
|
+
}
|
|
62
|
+
this.end();
|
|
63
|
+
};
|
|
64
|
+
this.cancel = () => this.end();
|
|
65
|
+
this.key = (event) => {
|
|
66
|
+
if (event.key === 'Escape' && this.active) {
|
|
67
|
+
event.preventDefault();
|
|
68
|
+
event.stopPropagation();
|
|
69
|
+
this.end();
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
this.blockTouchScroll = (event) => {
|
|
73
|
+
if (this.active && event.cancelable)
|
|
74
|
+
event.preventDefault();
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/** Bind to each item: `(pointerdown)="drag.down($event, 'source', i)"`. */
|
|
78
|
+
down(event, list, index) {
|
|
79
|
+
var _a, _b;
|
|
80
|
+
if (this.active || this.pending || !this.host.canDrag())
|
|
81
|
+
return;
|
|
82
|
+
if (event.button !== 0 || (event.pointerType === 'mouse' && (event.ctrlKey || event.metaKey || event.shiftKey)))
|
|
83
|
+
return;
|
|
84
|
+
const item = (_b = (_a = event.target) === null || _a === void 0 ? void 0 : _a.closest) === null || _b === void 0 ? void 0 : _b.call(_a, '[data-wu-index]');
|
|
85
|
+
if (!item)
|
|
86
|
+
return;
|
|
87
|
+
const touch = event.pointerType === 'touch';
|
|
88
|
+
const pending = { id: event.pointerId, list, index, x: event.clientX, y: event.clientY, touch, item, timer: null };
|
|
89
|
+
this.pending = pending;
|
|
90
|
+
this.outside(() => {
|
|
91
|
+
if (touch)
|
|
92
|
+
pending.timer = setTimeout(() => this.start(), LONG_PRESS);
|
|
93
|
+
const doc = item.ownerDocument;
|
|
94
|
+
this.listen(doc, 'pointermove', this.move, true);
|
|
95
|
+
this.listen(doc, 'pointerup', this.up, true);
|
|
96
|
+
this.listen(doc, 'pointercancel', this.cancel, true);
|
|
97
|
+
this.listen(doc, 'keydown', this.key, true);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/** Whether a click right after a drop should be ignored (the click that ends a mouse drag). */
|
|
101
|
+
get swallowClick() {
|
|
102
|
+
return this.suppressClick;
|
|
103
|
+
}
|
|
104
|
+
get dragging() {
|
|
105
|
+
return !!this.active;
|
|
106
|
+
}
|
|
107
|
+
destroy() {
|
|
108
|
+
this.end();
|
|
109
|
+
}
|
|
110
|
+
start() {
|
|
111
|
+
const p = this.pending;
|
|
112
|
+
const root = this.host.root;
|
|
113
|
+
if (!p || !root || this.active)
|
|
114
|
+
return;
|
|
115
|
+
if (p.timer)
|
|
116
|
+
clearTimeout(p.timer);
|
|
117
|
+
p.timer = null;
|
|
118
|
+
const items = this.host.itemsFor(p.list, p.index);
|
|
119
|
+
if (!items.length)
|
|
120
|
+
return this.end();
|
|
121
|
+
const rect = p.item.getBoundingClientRect();
|
|
122
|
+
const ghost = p.item.cloneNode(true);
|
|
123
|
+
ghost.removeAttribute('id');
|
|
124
|
+
ghost.querySelectorAll('[id]').forEach((el) => el.removeAttribute('id'));
|
|
125
|
+
ghost.setAttribute('aria-hidden', 'true');
|
|
126
|
+
ghost.removeAttribute('role');
|
|
127
|
+
ghost.classList.add('wu-list-drag-ghost');
|
|
128
|
+
ghost.style.width = `${rect.width}px`;
|
|
129
|
+
if (items.length > 1) {
|
|
130
|
+
const badge = root.ownerDocument.createElement('span');
|
|
131
|
+
badge.className = 'wu-list-drag-count';
|
|
132
|
+
badge.textContent = String(items.length);
|
|
133
|
+
ghost.appendChild(badge);
|
|
134
|
+
}
|
|
135
|
+
root.appendChild(ghost);
|
|
136
|
+
// In the top layer the image stays above dialogs and is not clipped by scrolling parents.
|
|
137
|
+
const pop = ghost;
|
|
138
|
+
if (typeof pop.showPopover === 'function') {
|
|
139
|
+
ghost.setAttribute('popover', 'manual');
|
|
140
|
+
try {
|
|
141
|
+
pop.showPopover();
|
|
142
|
+
}
|
|
143
|
+
catch (_a) {
|
|
144
|
+
/* not connected or unsupported: stays a fixed element */
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
this.active = { from: p.list, items, ghost, dx: p.x - rect.left, dy: p.y - rect.top, over: null };
|
|
148
|
+
root.classList.add('wu-list-dragging');
|
|
149
|
+
if (p.touch)
|
|
150
|
+
this.listen(root.ownerDocument, 'touchmove', this.blockTouchScroll, { passive: false, capture: true });
|
|
151
|
+
this.listen(root.ownerDocument, 'contextmenu', this.blockTouchScroll, true);
|
|
152
|
+
this.track(p.x, p.y);
|
|
153
|
+
}
|
|
154
|
+
track(x, y) {
|
|
155
|
+
var _a;
|
|
156
|
+
const a = this.active;
|
|
157
|
+
const root = this.host.root;
|
|
158
|
+
if (!a || !root)
|
|
159
|
+
return;
|
|
160
|
+
this.lastPoint = { x, y };
|
|
161
|
+
a.ghost.style.transform = `translate(${Math.round(x - a.dx)}px, ${Math.round(y - a.dy)}px)`;
|
|
162
|
+
const under = root.ownerDocument.elementFromPoint(x, y);
|
|
163
|
+
const listEl = (_a = under === null || under === void 0 ? void 0 : under.closest) === null || _a === void 0 ? void 0 : _a.call(under, '[data-wu-list]');
|
|
164
|
+
const name = listEl && root.contains(listEl) ? listEl.getAttribute('data-wu-list') : null;
|
|
165
|
+
this.clearMarks();
|
|
166
|
+
if (!listEl || !name || !this.host.accepts(a.from, name)) {
|
|
167
|
+
a.over = null;
|
|
168
|
+
this.stopScroll();
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
const rows = Array.from(listEl.querySelectorAll('[data-wu-index]'));
|
|
172
|
+
let index = rows.length ? Number(rows[rows.length - 1].getAttribute('data-wu-index')) + 1 : 0;
|
|
173
|
+
let mark = null;
|
|
174
|
+
let after = false;
|
|
175
|
+
for (const row of rows) {
|
|
176
|
+
const r = row.getBoundingClientRect();
|
|
177
|
+
if (y < r.top + r.height / 2) {
|
|
178
|
+
index = Number(row.getAttribute('data-wu-index'));
|
|
179
|
+
mark = row;
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
if (!mark && rows.length) {
|
|
184
|
+
mark = rows[rows.length - 1];
|
|
185
|
+
after = true;
|
|
186
|
+
}
|
|
187
|
+
a.over = { list: name, index };
|
|
188
|
+
listEl.classList.add('wu-list-dragover');
|
|
189
|
+
if (mark)
|
|
190
|
+
mark.classList.add(after ? 'wu-list-drop-after' : 'wu-list-drop-before');
|
|
191
|
+
else
|
|
192
|
+
listEl.classList.add('wu-list-drop-into');
|
|
193
|
+
this.autoScroll(listEl, y);
|
|
194
|
+
}
|
|
195
|
+
autoScroll(listEl, y) {
|
|
196
|
+
const r = listEl.getBoundingClientRect();
|
|
197
|
+
const speed = y < r.top + EDGE ? -Math.ceil((r.top + EDGE - y) / 4) : y > r.bottom - EDGE ? Math.ceil((y - (r.bottom - EDGE)) / 4) : 0;
|
|
198
|
+
this.stopScroll();
|
|
199
|
+
if (!speed)
|
|
200
|
+
return;
|
|
201
|
+
const win = listEl.ownerDocument.defaultView;
|
|
202
|
+
if (!win)
|
|
203
|
+
return;
|
|
204
|
+
const stepFrame = () => {
|
|
205
|
+
if (!this.active)
|
|
206
|
+
return;
|
|
207
|
+
const before = listEl.scrollTop;
|
|
208
|
+
listEl.scrollTop += speed;
|
|
209
|
+
if (listEl.scrollTop !== before) {
|
|
210
|
+
this.track(this.lastPoint.x, this.lastPoint.y);
|
|
211
|
+
}
|
|
212
|
+
else {
|
|
213
|
+
this.scrollFrame = 0;
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
this.scrollFrame = win.requestAnimationFrame(stepFrame);
|
|
217
|
+
}
|
|
218
|
+
stopScroll() {
|
|
219
|
+
var _a, _b;
|
|
220
|
+
if (this.scrollFrame)
|
|
221
|
+
(_b = (_a = this.host.root) === null || _a === void 0 ? void 0 : _a.ownerDocument.defaultView) === null || _b === void 0 ? void 0 : _b.cancelAnimationFrame(this.scrollFrame);
|
|
222
|
+
this.scrollFrame = 0;
|
|
223
|
+
}
|
|
224
|
+
clearMarks() {
|
|
225
|
+
const root = this.host.root;
|
|
226
|
+
if (!root)
|
|
227
|
+
return;
|
|
228
|
+
root.querySelectorAll('.wu-list-drop-before, .wu-list-drop-after').forEach((el) => el.classList.remove('wu-list-drop-before', 'wu-list-drop-after'));
|
|
229
|
+
root.querySelectorAll('.wu-list-dragover, .wu-list-drop-into').forEach((el) => el.classList.remove('wu-list-dragover', 'wu-list-drop-into'));
|
|
230
|
+
}
|
|
231
|
+
end() {
|
|
232
|
+
var _a, _b, _c;
|
|
233
|
+
if ((_a = this.pending) === null || _a === void 0 ? void 0 : _a.timer)
|
|
234
|
+
clearTimeout(this.pending.timer);
|
|
235
|
+
this.pending = null;
|
|
236
|
+
this.stopScroll();
|
|
237
|
+
if (this.active) {
|
|
238
|
+
const ghost = this.active.ghost;
|
|
239
|
+
try {
|
|
240
|
+
if (ghost.hasAttribute('popover'))
|
|
241
|
+
(_b = ghost.hidePopover) === null || _b === void 0 ? void 0 : _b.call(ghost);
|
|
242
|
+
}
|
|
243
|
+
catch (_d) {
|
|
244
|
+
/* already hidden */
|
|
245
|
+
}
|
|
246
|
+
ghost.remove();
|
|
247
|
+
this.active = null;
|
|
248
|
+
}
|
|
249
|
+
this.clearMarks();
|
|
250
|
+
(_c = this.host.root) === null || _c === void 0 ? void 0 : _c.classList.remove('wu-list-dragging');
|
|
251
|
+
for (const [target, type, fn, opts] of this.listeners.splice(0))
|
|
252
|
+
target.removeEventListener(type, fn, opts);
|
|
253
|
+
}
|
|
254
|
+
listen(target, type, fn, opts) {
|
|
255
|
+
target.addEventListener(type, fn, opts);
|
|
256
|
+
this.listeners.push([target, type, fn, opts]);
|
|
257
|
+
}
|
|
258
|
+
outside(fn) {
|
|
259
|
+
if (this.zone)
|
|
260
|
+
this.zone.runOutsideAngular(fn);
|
|
261
|
+
else
|
|
262
|
+
fn();
|
|
263
|
+
}
|
|
264
|
+
inside(fn) {
|
|
265
|
+
if (this.zone)
|
|
266
|
+
this.zone.run(fn);
|
|
267
|
+
else
|
|
268
|
+
fn();
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
const asTemplate = (v) => (v instanceof TemplateRef ? v : null);
|
|
273
|
+
const REORDER = { up: moveUp, top: moveTop, down: moveDown, bottom: moveBottom };
|
|
274
|
+
/** The label shown for an item without an `item` template: `optionLabel`, else its `label` or `name`, else the item. */
|
|
275
|
+
function ɵlistItemLabel(item, optionLabel) {
|
|
276
|
+
var _a, _b, _c;
|
|
277
|
+
if (item === null || item === undefined)
|
|
278
|
+
return '';
|
|
279
|
+
if (typeof item !== 'object')
|
|
280
|
+
return String(item);
|
|
281
|
+
if (optionLabel)
|
|
282
|
+
return String((_a = optionField(item, optionLabel)) !== null && _a !== void 0 ? _a : '');
|
|
283
|
+
const o = item;
|
|
284
|
+
return String((_c = (_b = o.label) !== null && _b !== void 0 ? _b : o.name) !== null && _c !== void 0 ? _c : '');
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* What wu-picklist does, shared by the v1 and v2/v3 templates: two lists, items move between them with the buttons in
|
|
288
|
+
* the middle, by double click, or by dragging (`[dragdrop]="true"`); each list can be searched (`filterBy`) and put in
|
|
289
|
+
* order with its own buttons. `source` and `target` are changed in place, as apps expect, and also emitted
|
|
290
|
+
* (`sourceChange` / `targetChange`) for `[(source)]` bindings.
|
|
291
|
+
*/
|
|
292
|
+
class ɵWuPickListBase {
|
|
293
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
294
|
+
set source(v) {
|
|
295
|
+
this._source = Array.isArray(v) ? v : [];
|
|
296
|
+
this.lists.source.touch();
|
|
297
|
+
}
|
|
298
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
299
|
+
get source() {
|
|
300
|
+
return this._source;
|
|
301
|
+
}
|
|
302
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
303
|
+
set target(v) {
|
|
304
|
+
this._target = Array.isArray(v) ? v : [];
|
|
305
|
+
this.lists.target.touch();
|
|
306
|
+
}
|
|
307
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
308
|
+
get target() {
|
|
309
|
+
return this._target;
|
|
310
|
+
}
|
|
311
|
+
set showSourceFilter(v) { this._showSourceFilter = v === undefined || ɵtoBool(v); }
|
|
312
|
+
get showSourceFilter() { return this._showSourceFilter; }
|
|
313
|
+
set showTargetFilter(v) { this._showTargetFilter = v === undefined || ɵtoBool(v); }
|
|
314
|
+
get showTargetFilter() { return this._showTargetFilter; }
|
|
315
|
+
/** Drag items between and within the lists. */
|
|
316
|
+
set dragdrop(v) { this._dragdrop = ɵtoBool(v); }
|
|
317
|
+
get dragdrop() { return this._dragdrop; }
|
|
318
|
+
/**
|
|
319
|
+
* A click picks only that item and Ctrl / ⌘ + click adds (true), or each click toggles an item (false).
|
|
320
|
+
* Default: true in v1, false in v2 / v3, as each era did. Touch always toggles.
|
|
321
|
+
*/
|
|
322
|
+
set metaKeySelection(v) {
|
|
323
|
+
this._metaKey = v === undefined || v === null ? WU_VERSION_INFO.major === 1 : ɵtoBool(v);
|
|
324
|
+
}
|
|
325
|
+
get metaKeySelection() { return this._metaKey; }
|
|
326
|
+
set showSourceControls(v) { this._showSourceControls = v === undefined || ɵtoBool(v); }
|
|
327
|
+
get showSourceControls() { return this._showSourceControls; }
|
|
328
|
+
set showTargetControls(v) { this._showTargetControls = v === undefined || ɵtoBool(v); }
|
|
329
|
+
get showTargetControls() { return this._showTargetControls; }
|
|
330
|
+
/** Items stay selected after moving to the other list. */
|
|
331
|
+
set keepSelection(v) { this._keepSelection = ɵtoBool(v); }
|
|
332
|
+
set disabled(v) { this._disabled = ɵtoBool(v); }
|
|
333
|
+
get disabled() { return this._disabled; }
|
|
334
|
+
set stripedRows(v) { this._striped = ɵtoBool(v); }
|
|
335
|
+
get stripedRows() { return this._striped; }
|
|
336
|
+
/** Width at and below which the lists stack, with the buttons between them. Default `960px`. */
|
|
337
|
+
set breakpoint(v) {
|
|
338
|
+
this._breakpoint = v || '960px';
|
|
339
|
+
this.watchWidth();
|
|
340
|
+
}
|
|
341
|
+
get breakpoint() { return this._breakpoint; }
|
|
342
|
+
constructor() {
|
|
343
|
+
this.filterMatchMode = 'contains';
|
|
344
|
+
this.tabindex = 0;
|
|
345
|
+
this.onMoveToTarget = new EventEmitter();
|
|
346
|
+
this.onMoveAllToTarget = new EventEmitter();
|
|
347
|
+
this.onMoveToSource = new EventEmitter();
|
|
348
|
+
this.onMoveAllToSource = new EventEmitter();
|
|
349
|
+
this.onSourceReorder = new EventEmitter();
|
|
350
|
+
this.onTargetReorder = new EventEmitter();
|
|
351
|
+
this.onSourceSelect = new EventEmitter();
|
|
352
|
+
this.onTargetSelect = new EventEmitter();
|
|
353
|
+
this.onSourceFilter = new EventEmitter();
|
|
354
|
+
this.onTargetFilter = new EventEmitter();
|
|
355
|
+
this.onFocus = new EventEmitter();
|
|
356
|
+
this.onBlur = new EventEmitter();
|
|
357
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
358
|
+
this.sourceChange = new EventEmitter();
|
|
359
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
360
|
+
this.targetChange = new EventEmitter();
|
|
361
|
+
this.baseId = ɵuniqueId('wu-picklist');
|
|
362
|
+
this.major = WU_VERSION_INFO.major;
|
|
363
|
+
/** The lists are stacked (narrow screen). */
|
|
364
|
+
this.stacked = false;
|
|
365
|
+
/** The list the keyboard is in. */
|
|
366
|
+
this.focusedList = null;
|
|
367
|
+
this.lists = {
|
|
368
|
+
source: new ListState(() => this._source, () => this.listOptions),
|
|
369
|
+
target: new ListState(() => this._target, () => this.listOptions),
|
|
370
|
+
};
|
|
371
|
+
this.filterOptions = {
|
|
372
|
+
source: { filter: (v) => this.setFilter('source', v), reset: () => this.setFilter('source', '') },
|
|
373
|
+
target: { filter: (v) => this.setFilter('target', v), reset: () => this.setFilter('target', '') },
|
|
374
|
+
};
|
|
375
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
376
|
+
this.doc = inject(DOCUMENT);
|
|
377
|
+
this.config = inject(WuConfig);
|
|
378
|
+
this.host = inject(ElementRef).nativeElement;
|
|
379
|
+
this.i18n = ɵrefreshOnTranslation();
|
|
380
|
+
this._source = [];
|
|
381
|
+
this._target = [];
|
|
382
|
+
this._showSourceFilter = true;
|
|
383
|
+
this._showTargetFilter = true;
|
|
384
|
+
this._dragdrop = false;
|
|
385
|
+
this._metaKey = WU_VERSION_INFO.major === 1;
|
|
386
|
+
this._showSourceControls = true;
|
|
387
|
+
this._showTargetControls = true;
|
|
388
|
+
this._keepSelection = false;
|
|
389
|
+
this._disabled = false;
|
|
390
|
+
this._striped = false;
|
|
391
|
+
this._breakpoint = '960px';
|
|
392
|
+
this.pointerType = 'mouse';
|
|
393
|
+
this.widthQuery = null;
|
|
394
|
+
this.initialized = false;
|
|
395
|
+
this.onWidth = () => {
|
|
396
|
+
var _a;
|
|
397
|
+
this.stacked = !!((_a = this.widthQuery) === null || _a === void 0 ? void 0 : _a.matches);
|
|
398
|
+
this.cdr.markForCheck();
|
|
399
|
+
};
|
|
400
|
+
/** `@for` tracking, which cannot see the list: `trackBy`, else the item itself. */
|
|
401
|
+
this.trackAny = (i, item) => {
|
|
402
|
+
const fn = this.trackBy || this.sourceTrackBy || this.targetTrackBy;
|
|
403
|
+
return fn ? fn(i, item) : item;
|
|
404
|
+
};
|
|
405
|
+
ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
|
|
406
|
+
const styles = inject(ɵWuStyleLoader);
|
|
407
|
+
styles.load('button', ɵWU_BUTTON_CSS);
|
|
408
|
+
styles.load('inputtext', ɵWU_INPUTTEXT_CSS);
|
|
409
|
+
const el = this.host;
|
|
410
|
+
this.drag = new ɵWuListDrag({
|
|
411
|
+
get root() {
|
|
412
|
+
return el.querySelector('.wu-picklist');
|
|
413
|
+
},
|
|
414
|
+
canDrag: () => this._dragdrop && !this._disabled,
|
|
415
|
+
itemsFor: (list, index) => this.dragItems(list, index),
|
|
416
|
+
accepts: () => true,
|
|
417
|
+
drop: (from, items, to, index, event) => this.dropItems(from, items, to, index, event),
|
|
418
|
+
}, inject(NgZone, { optional: true }));
|
|
419
|
+
}
|
|
420
|
+
ngAfterContentInit() {
|
|
421
|
+
this.initialized = true;
|
|
422
|
+
this.watchWidth();
|
|
423
|
+
}
|
|
424
|
+
ngOnDestroy() {
|
|
425
|
+
var _a, _b;
|
|
426
|
+
this.i18n.unsubscribe();
|
|
427
|
+
this.drag.destroy();
|
|
428
|
+
(_b = (_a = this.widthQuery) === null || _a === void 0 ? void 0 : _a.removeEventListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'change', this.onWidth);
|
|
429
|
+
}
|
|
430
|
+
// ---------- what the templates read ----------
|
|
431
|
+
get t() {
|
|
432
|
+
return this.config.translation;
|
|
433
|
+
}
|
|
434
|
+
get itemTemplate() {
|
|
435
|
+
return asTemplate(this.itemRef) || ɵfindTemplate(this.templates, 'item');
|
|
436
|
+
}
|
|
437
|
+
headerTemplate(side) {
|
|
438
|
+
return side === 'source'
|
|
439
|
+
? asTemplate(this.sourceHeaderRef) || ɵfindTemplate(this.templates, 'sourceHeader') || ɵfindTemplate(this.templates, 'sourceheader')
|
|
440
|
+
: asTemplate(this.targetHeaderRef) || ɵfindTemplate(this.templates, 'targetHeader') || ɵfindTemplate(this.templates, 'targetheader');
|
|
441
|
+
}
|
|
442
|
+
filterTemplate(side) {
|
|
443
|
+
return side === 'source'
|
|
444
|
+
? asTemplate(this.sourceFilterRef) || ɵfindTemplate(this.templates, 'sourceFilter')
|
|
445
|
+
: asTemplate(this.targetFilterRef) || ɵfindTemplate(this.templates, 'targetFilter');
|
|
446
|
+
}
|
|
447
|
+
emptyTemplate(side) {
|
|
448
|
+
const filtered = !!this.lists[side].query.trim();
|
|
449
|
+
if (side === 'source') {
|
|
450
|
+
return filtered
|
|
451
|
+
? asTemplate(this.emptyFilterSourceRef) || ɵfindTemplate(this.templates, 'emptyfiltermessagesource')
|
|
452
|
+
: asTemplate(this.emptySourceRef) || ɵfindTemplate(this.templates, 'emptymessagesource');
|
|
453
|
+
}
|
|
454
|
+
return filtered
|
|
455
|
+
? asTemplate(this.emptyFilterTargetRef) || ɵfindTemplate(this.templates, 'emptyfiltermessagetarget')
|
|
456
|
+
: asTemplate(this.emptyTargetRef) || ɵfindTemplate(this.templates, 'emptymessagetarget');
|
|
457
|
+
}
|
|
458
|
+
headerText(side) {
|
|
459
|
+
return (side === 'source' ? this.sourceHeader : this.targetHeader) || '';
|
|
460
|
+
}
|
|
461
|
+
hasHeader(side) {
|
|
462
|
+
return !!this.headerText(side) || !!this.headerTemplate(side);
|
|
463
|
+
}
|
|
464
|
+
showFilter(side) {
|
|
465
|
+
return (!!this.filterBy || !!this.filterTemplate(side)) && (side === 'source' ? this._showSourceFilter : this._showTargetFilter);
|
|
466
|
+
}
|
|
467
|
+
/** The search box hint: the app's text, else the locale's "search". */
|
|
468
|
+
filterPlaceholder(side) {
|
|
469
|
+
return (side === 'source' ? this.sourceFilterPlaceholder : this.targetFilterPlaceholder) || this.t.search;
|
|
470
|
+
}
|
|
471
|
+
filterAriaLabel(side) {
|
|
472
|
+
return (side === 'source' ? this.ariaSourceFilterLabel : this.ariaTargetFilterLabel) || this.filterPlaceholder(side);
|
|
473
|
+
}
|
|
474
|
+
filterOptionsOf(side) {
|
|
475
|
+
return this.filterOptions[side];
|
|
476
|
+
}
|
|
477
|
+
queryOf(side) {
|
|
478
|
+
return this.lists[side].query;
|
|
479
|
+
}
|
|
480
|
+
listOf(side) {
|
|
481
|
+
return side === 'source' ? this._source : this._target;
|
|
482
|
+
}
|
|
483
|
+
listStyle(side) {
|
|
484
|
+
const own = side === 'source' ? this.sourceStyle : this.targetStyle;
|
|
485
|
+
if (!this.scrollHeight)
|
|
486
|
+
return own || null;
|
|
487
|
+
return Object.assign({ height: this.scrollHeight }, (own || {}));
|
|
488
|
+
}
|
|
489
|
+
listId(side) {
|
|
490
|
+
return `${this.id || this.baseId}_${side}`;
|
|
491
|
+
}
|
|
492
|
+
headerId(side) {
|
|
493
|
+
return `${this.listId(side)}_header`;
|
|
494
|
+
}
|
|
495
|
+
itemId(side, index) {
|
|
496
|
+
return `${this.listId(side)}_${index}`;
|
|
497
|
+
}
|
|
498
|
+
activeId(side) {
|
|
499
|
+
const f = this.lists[side].focus;
|
|
500
|
+
return this.focusedList === side && f >= 0 && f < this.listOf(side).length ? this.itemId(side, f) : null;
|
|
501
|
+
}
|
|
502
|
+
isVisible(side, item) {
|
|
503
|
+
return this.lists[side].isVisible(item);
|
|
504
|
+
}
|
|
505
|
+
isSelected(side, item) {
|
|
506
|
+
return this.lists[side].isSelected(item);
|
|
507
|
+
}
|
|
508
|
+
isFocused(side, index) {
|
|
509
|
+
return this.focusedList === side && this.lists[side].focus === index;
|
|
510
|
+
}
|
|
511
|
+
/** Nothing to show: the list is empty, or the search left nothing. */
|
|
512
|
+
isEmpty(side) {
|
|
513
|
+
const st = this.lists[side];
|
|
514
|
+
return !st.query.trim() ? !this.listOf(side).length : !st.visible().length;
|
|
515
|
+
}
|
|
516
|
+
/** The text shown in an empty list when there is no template: only when a search found nothing. */
|
|
517
|
+
emptyText(side) {
|
|
518
|
+
return this.lists[side].query.trim() ? this.t.emptyFilterMessage : '';
|
|
519
|
+
}
|
|
520
|
+
label(item) {
|
|
521
|
+
return ɵlistItemLabel(item, this.optionLabel);
|
|
522
|
+
}
|
|
523
|
+
itemContext(side, item, index) {
|
|
524
|
+
return { $implicit: item, index, selected: this.isSelected(side, item), side };
|
|
525
|
+
}
|
|
526
|
+
headerContext(side) {
|
|
527
|
+
return { $implicit: this.listOf(side), side };
|
|
528
|
+
}
|
|
529
|
+
trackItem(side) {
|
|
530
|
+
const fn = (side === 'source' ? this.sourceTrackBy : this.targetTrackBy) || this.trackBy;
|
|
531
|
+
return fn || this.trackAny;
|
|
532
|
+
}
|
|
533
|
+
get selectedItemsSource() {
|
|
534
|
+
return this.lists.source.selection;
|
|
535
|
+
}
|
|
536
|
+
set selectedItemsSource(v) {
|
|
537
|
+
this.lists.source.selection = v || [];
|
|
538
|
+
}
|
|
539
|
+
get selectedItemsTarget() {
|
|
540
|
+
return this.lists.target.selection;
|
|
541
|
+
}
|
|
542
|
+
set selectedItemsTarget(v) {
|
|
543
|
+
this.lists.target.selection = v || [];
|
|
544
|
+
}
|
|
545
|
+
// ---------- buttons ----------
|
|
546
|
+
buttonClass(extra) {
|
|
547
|
+
return ɵbuttonClass(this.major === 1 ? '' : 'p-button-secondary') + ' wu-btn-icon-only ' + extra;
|
|
548
|
+
}
|
|
549
|
+
canTransfer(side) {
|
|
550
|
+
return !this._disabled && this.lists[side].selectedVisible().length > 0;
|
|
551
|
+
}
|
|
552
|
+
canTransferAll(side) {
|
|
553
|
+
return !this._disabled && this.lists[side].visible().length > 0;
|
|
554
|
+
}
|
|
555
|
+
/** Reordering works on the whole list, so it waits while a search hides part of it. */
|
|
556
|
+
canReorder(side) {
|
|
557
|
+
const st = this.lists[side];
|
|
558
|
+
return !this._disabled && !st.query.trim() && st.selection.length > 0;
|
|
559
|
+
}
|
|
560
|
+
/** Moves the selected source items to the end of the target. */
|
|
561
|
+
moveRight(event) {
|
|
562
|
+
this.transfer('source', this.lists.source.selectedVisible(), this._target.length, event, false);
|
|
563
|
+
}
|
|
564
|
+
moveAllRight(event) {
|
|
565
|
+
this.transfer('source', this.lists.source.visible(), this._target.length, event, true);
|
|
566
|
+
}
|
|
567
|
+
moveLeft(event) {
|
|
568
|
+
this.transfer('target', this.lists.target.selectedVisible(), this._source.length, event, false);
|
|
569
|
+
}
|
|
570
|
+
moveAllLeft(event) {
|
|
571
|
+
this.transfer('target', this.lists.target.visible(), this._source.length, event, true);
|
|
572
|
+
}
|
|
573
|
+
reorder(side, how, event) {
|
|
574
|
+
if (!this.canReorder(side))
|
|
575
|
+
return;
|
|
576
|
+
const st = this.lists[side];
|
|
577
|
+
const list = this.listOf(side);
|
|
578
|
+
if (!REORDER[how](list, st.selection, st.same))
|
|
579
|
+
return;
|
|
580
|
+
st.touch();
|
|
581
|
+
const items = st.selectedVisible();
|
|
582
|
+
(side === 'source' ? this.onSourceReorder : this.onTargetReorder).emit({ originalEvent: event, items });
|
|
583
|
+
this.emitLists(side);
|
|
584
|
+
this.cdr.detectChanges();
|
|
585
|
+
this.revealSelection(side);
|
|
586
|
+
}
|
|
587
|
+
/** Clears both search boxes. */
|
|
588
|
+
resetFilter() {
|
|
589
|
+
this.lists.source.query = '';
|
|
590
|
+
this.lists.target.query = '';
|
|
591
|
+
this.cdr.markForCheck();
|
|
592
|
+
}
|
|
593
|
+
/** Clears the search box of one list. */
|
|
594
|
+
resetSourceFilter() {
|
|
595
|
+
this.setFilter('source', '');
|
|
596
|
+
}
|
|
597
|
+
resetTargetFilter() {
|
|
598
|
+
this.setFilter('target', '');
|
|
599
|
+
}
|
|
600
|
+
// ---------- items ----------
|
|
601
|
+
pointerDown(event, side, index) {
|
|
602
|
+
this.pointerType = event.pointerType || 'mouse';
|
|
603
|
+
this.drag.down(event, side, index);
|
|
604
|
+
}
|
|
605
|
+
itemClick(event, side, item, index) {
|
|
606
|
+
if (this._disabled || this.drag.swallowClick)
|
|
607
|
+
return;
|
|
608
|
+
const st = this.lists[side];
|
|
609
|
+
const touch = this.pointerType === 'touch';
|
|
610
|
+
st.pick(item, { metaKeySelection: this._metaKey && !touch, meta: event.metaKey || event.ctrlKey, shift: event.shiftKey });
|
|
611
|
+
st.focus = index;
|
|
612
|
+
(side === 'source' ? this.onSourceSelect : this.onTargetSelect).emit({ originalEvent: event, items: [...st.selection] });
|
|
613
|
+
this.cdr.markForCheck();
|
|
614
|
+
}
|
|
615
|
+
/** A double click sends the item across. */
|
|
616
|
+
itemDblClick(event, side, item) {
|
|
617
|
+
if (this._disabled)
|
|
618
|
+
return;
|
|
619
|
+
const other = side === 'source' ? this._target : this._source;
|
|
620
|
+
this.transfer(side, [item], other.length, event, false);
|
|
621
|
+
}
|
|
622
|
+
listFocus(event, side) {
|
|
623
|
+
this.focusedList = side;
|
|
624
|
+
this.lists[side].enter();
|
|
625
|
+
this.onFocus.emit(event);
|
|
626
|
+
this.cdr.markForCheck();
|
|
627
|
+
}
|
|
628
|
+
listBlur(event, side) {
|
|
629
|
+
if (this.focusedList === side)
|
|
630
|
+
this.focusedList = null;
|
|
631
|
+
this.onBlur.emit(event);
|
|
632
|
+
this.cdr.markForCheck();
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Listbox keys: ↑ / ↓ / Home / End move, Shift + arrow also selects, Space or Enter toggles the item,
|
|
636
|
+
* Ctrl / ⌘ + A selects every item the search shows.
|
|
637
|
+
*/
|
|
638
|
+
listKeydown(event, side) {
|
|
639
|
+
const st = this.lists[side];
|
|
640
|
+
const list = this.listOf(side);
|
|
641
|
+
const key = event.key;
|
|
642
|
+
if (key === 'ArrowDown' || key === 'ArrowUp') {
|
|
643
|
+
event.preventDefault();
|
|
644
|
+
const before = st.focus;
|
|
645
|
+
st.step(key === 'ArrowDown' ? 1 : -1);
|
|
646
|
+
if (event.shiftKey && !this._disabled && st.focus >= 0 && st.focus !== before && !st.isSelected(list[st.focus])) {
|
|
647
|
+
st.selection = [...st.selection, list[st.focus]];
|
|
648
|
+
this.emitSelect(side, event);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
else if (key === 'Home' || key === 'End') {
|
|
652
|
+
event.preventDefault();
|
|
653
|
+
st.focus = st.edge(key === 'Home' ? 1 : -1);
|
|
654
|
+
}
|
|
655
|
+
else if (key === ' ' || key === 'Enter') {
|
|
656
|
+
event.preventDefault();
|
|
657
|
+
if (this._disabled || st.focus < 0 || st.focus >= list.length)
|
|
658
|
+
return;
|
|
659
|
+
st.pick(list[st.focus], { metaKeySelection: false });
|
|
660
|
+
this.emitSelect(side, event);
|
|
661
|
+
}
|
|
662
|
+
else if ((key === 'a' || key === 'A') && (event.ctrlKey || event.metaKey)) {
|
|
663
|
+
event.preventDefault();
|
|
664
|
+
if (this._disabled)
|
|
665
|
+
return;
|
|
666
|
+
st.toggleAll();
|
|
667
|
+
this.emitSelect(side, event);
|
|
668
|
+
}
|
|
669
|
+
else {
|
|
670
|
+
return;
|
|
671
|
+
}
|
|
672
|
+
this.cdr.detectChanges();
|
|
673
|
+
this.revealFocus(side);
|
|
674
|
+
}
|
|
675
|
+
filterInput(event, side) {
|
|
676
|
+
this.setFilter(side, event.target.value);
|
|
677
|
+
}
|
|
678
|
+
// ---------- internals ----------
|
|
679
|
+
get listOptions() {
|
|
680
|
+
return { filterBy: this.filterBy, matchMode: this.filterMatchMode, dataKey: this.dataKey };
|
|
681
|
+
}
|
|
682
|
+
setFilter(side, value) {
|
|
683
|
+
const st = this.lists[side];
|
|
684
|
+
st.query = value === null || value === undefined ? '' : String(value);
|
|
685
|
+
st.focus = -1;
|
|
686
|
+
(side === 'source' ? this.onSourceFilter : this.onTargetFilter).emit({ query: st.query, value: st.visible() });
|
|
687
|
+
this.cdr.markForCheck();
|
|
688
|
+
}
|
|
689
|
+
emitSelect(side, event) {
|
|
690
|
+
(side === 'source' ? this.onSourceSelect : this.onTargetSelect).emit({ originalEvent: event, items: [...this.lists[side].selection] });
|
|
691
|
+
}
|
|
692
|
+
transfer(from, items, at, event, all) {
|
|
693
|
+
if (this._disabled || !items.length)
|
|
694
|
+
return;
|
|
695
|
+
const to = from === 'source' ? 'target' : 'source';
|
|
696
|
+
const fromState = this.lists[from];
|
|
697
|
+
const toState = this.lists[to];
|
|
698
|
+
const moved = transferItems(this.listOf(from), this.listOf(to), items, at, fromState.same);
|
|
699
|
+
if (!moved.length)
|
|
700
|
+
return;
|
|
701
|
+
fromState.selection = fromState.selection.filter((s) => !moved.includes(s));
|
|
702
|
+
if (this._keepSelection)
|
|
703
|
+
toState.selection = [...toState.selection, ...moved];
|
|
704
|
+
fromState.touch();
|
|
705
|
+
toState.touch();
|
|
706
|
+
fromState.prune();
|
|
707
|
+
const payload = { originalEvent: event, items: moved };
|
|
708
|
+
if (from === 'source')
|
|
709
|
+
(all ? this.onMoveAllToTarget : this.onMoveToTarget).emit(payload);
|
|
710
|
+
else
|
|
711
|
+
(all ? this.onMoveAllToSource : this.onMoveToSource).emit(payload);
|
|
712
|
+
this.sourceChange.emit(this._source);
|
|
713
|
+
this.targetChange.emit(this._target);
|
|
714
|
+
this.cdr.markForCheck();
|
|
715
|
+
}
|
|
716
|
+
dragItems(side, index) {
|
|
717
|
+
const list = this.listOf(side);
|
|
718
|
+
const item = list[index];
|
|
719
|
+
if (item === undefined)
|
|
720
|
+
return [];
|
|
721
|
+
const st = this.lists[side];
|
|
722
|
+
return st.isSelected(item) ? st.selectedVisible() : [item];
|
|
723
|
+
}
|
|
724
|
+
dropItems(from, items, to, index, event) {
|
|
725
|
+
if (this._disabled)
|
|
726
|
+
return;
|
|
727
|
+
if (from === to) {
|
|
728
|
+
const st = this.lists[from];
|
|
729
|
+
if (!moveItemsTo(this.listOf(from), items, index, st.same))
|
|
730
|
+
return;
|
|
731
|
+
st.touch();
|
|
732
|
+
(from === 'source' ? this.onSourceReorder : this.onTargetReorder).emit({ originalEvent: event, items });
|
|
733
|
+
this.emitLists(from);
|
|
734
|
+
this.cdr.markForCheck();
|
|
735
|
+
return;
|
|
736
|
+
}
|
|
737
|
+
this.transfer(from, items, index, event, false);
|
|
738
|
+
}
|
|
739
|
+
emitLists(side) {
|
|
740
|
+
if (side === 'source')
|
|
741
|
+
this.sourceChange.emit(this._source);
|
|
742
|
+
else
|
|
743
|
+
this.targetChange.emit(this._target);
|
|
744
|
+
}
|
|
745
|
+
revealFocus(side) {
|
|
746
|
+
var _a, _b;
|
|
747
|
+
const f = this.lists[side].focus;
|
|
748
|
+
if (f >= 0)
|
|
749
|
+
(_b = (_a = this.doc.getElementById(this.itemId(side, f))) === null || _a === void 0 ? void 0 : _a.scrollIntoView) === null || _b === void 0 ? void 0 : _b.call(_a, { block: 'nearest' });
|
|
750
|
+
}
|
|
751
|
+
revealSelection(side) {
|
|
752
|
+
var _a, _b;
|
|
753
|
+
const st = this.lists[side];
|
|
754
|
+
const first = this.listOf(side).findIndex((it) => st.isSelected(it));
|
|
755
|
+
if (first >= 0)
|
|
756
|
+
(_b = (_a = this.doc.getElementById(this.itemId(side, first))) === null || _a === void 0 ? void 0 : _a.scrollIntoView) === null || _b === void 0 ? void 0 : _b.call(_a, { block: 'nearest' });
|
|
757
|
+
}
|
|
758
|
+
watchWidth() {
|
|
759
|
+
var _a, _b, _c, _d;
|
|
760
|
+
if (!this.initialized)
|
|
761
|
+
return;
|
|
762
|
+
(_b = (_a = this.widthQuery) === null || _a === void 0 ? void 0 : _a.removeEventListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'change', this.onWidth);
|
|
763
|
+
const win = this.doc.defaultView;
|
|
764
|
+
this.widthQuery = (win === null || win === void 0 ? void 0 : win.matchMedia) ? win.matchMedia(`(max-width: ${this._breakpoint})`) : null;
|
|
765
|
+
(_d = (_c = this.widthQuery) === null || _c === void 0 ? void 0 : _c.addEventListener) === null || _d === void 0 ? void 0 : _d.call(_c, 'change', this.onWidth);
|
|
766
|
+
this.onWidth();
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
ɵWuPickListBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ɵWuPickListBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
770
|
+
ɵWuPickListBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ɵWuPickListBase, inputs: { source: "source", target: "target", sourceHeader: "sourceHeader", targetHeader: "targetHeader", filterBy: "filterBy", filterMatchMode: "filterMatchMode", showSourceFilter: "showSourceFilter", showTargetFilter: "showTargetFilter", sourceFilterPlaceholder: "sourceFilterPlaceholder", targetFilterPlaceholder: "targetFilterPlaceholder", ariaSourceFilterLabel: "ariaSourceFilterLabel", ariaTargetFilterLabel: "ariaTargetFilterLabel", optionLabel: "optionLabel", dataKey: "dataKey", trackBy: "trackBy", sourceTrackBy: "sourceTrackBy", targetTrackBy: "targetTrackBy", dragdrop: "dragdrop", metaKeySelection: "metaKeySelection", showSourceControls: "showSourceControls", showTargetControls: "showTargetControls", keepSelection: "keepSelection", disabled: "disabled", stripedRows: "stripedRows", breakpoint: "breakpoint", scrollHeight: "scrollHeight", style: "style", styleClass: "styleClass", sourceStyle: "sourceStyle", targetStyle: "targetStyle", id: "id", tabindex: "tabindex", upButtonAriaLabel: "upButtonAriaLabel", topButtonAriaLabel: "topButtonAriaLabel", downButtonAriaLabel: "downButtonAriaLabel", bottomButtonAriaLabel: "bottomButtonAriaLabel", rightButtonAriaLabel: "rightButtonAriaLabel", allRightButtonAriaLabel: "allRightButtonAriaLabel", leftButtonAriaLabel: "leftButtonAriaLabel", allLeftButtonAriaLabel: "allLeftButtonAriaLabel", responsive: "responsive", filterLocale: "filterLocale", autoOptionFocus: "autoOptionFocus" }, outputs: { onMoveToTarget: "onMoveToTarget", onMoveAllToTarget: "onMoveAllToTarget", onMoveToSource: "onMoveToSource", onMoveAllToSource: "onMoveAllToSource", onSourceReorder: "onSourceReorder", onTargetReorder: "onTargetReorder", onSourceSelect: "onSourceSelect", onTargetSelect: "onTargetSelect", onSourceFilter: "onSourceFilter", onTargetFilter: "onTargetFilter", onFocus: "onFocus", onBlur: "onBlur", sourceChange: "sourceChange", targetChange: "targetChange" }, queries: [{ propertyName: "itemRef", first: true, predicate: ["item"] }, { propertyName: "sourceHeaderRef", first: true, predicate: ["sourceHeader"] }, { propertyName: "targetHeaderRef", first: true, predicate: ["targetHeader"] }, { propertyName: "sourceFilterRef", first: true, predicate: ["sourceFilter"] }, { propertyName: "targetFilterRef", first: true, predicate: ["targetFilter"] }, { propertyName: "emptySourceRef", first: true, predicate: ["emptymessagesource"] }, { propertyName: "emptyFilterSourceRef", first: true, predicate: ["emptyfiltermessagesource"] }, { propertyName: "emptyTargetRef", first: true, predicate: ["emptymessagetarget"] }, { propertyName: "emptyFilterTargetRef", first: true, predicate: ["emptyfiltermessagetarget"] }, { propertyName: "templates", predicate: WuTemplate }], ngImport: i0 });
|
|
771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ɵWuPickListBase, decorators: [{
|
|
772
|
+
type: Directive
|
|
773
|
+
}], ctorParameters: function () { return []; }, propDecorators: { source: [{
|
|
774
|
+
type: Input
|
|
775
|
+
}], target: [{
|
|
776
|
+
type: Input
|
|
777
|
+
}], sourceHeader: [{
|
|
778
|
+
type: Input
|
|
779
|
+
}], targetHeader: [{
|
|
780
|
+
type: Input
|
|
781
|
+
}], filterBy: [{
|
|
782
|
+
type: Input
|
|
783
|
+
}], filterMatchMode: [{
|
|
784
|
+
type: Input
|
|
785
|
+
}], showSourceFilter: [{
|
|
786
|
+
type: Input
|
|
787
|
+
}], showTargetFilter: [{
|
|
788
|
+
type: Input
|
|
789
|
+
}], sourceFilterPlaceholder: [{
|
|
790
|
+
type: Input
|
|
791
|
+
}], targetFilterPlaceholder: [{
|
|
792
|
+
type: Input
|
|
793
|
+
}], ariaSourceFilterLabel: [{
|
|
794
|
+
type: Input
|
|
795
|
+
}], ariaTargetFilterLabel: [{
|
|
796
|
+
type: Input
|
|
797
|
+
}], optionLabel: [{
|
|
798
|
+
type: Input
|
|
799
|
+
}], dataKey: [{
|
|
800
|
+
type: Input
|
|
801
|
+
}], trackBy: [{
|
|
802
|
+
type: Input
|
|
803
|
+
}], sourceTrackBy: [{
|
|
804
|
+
type: Input
|
|
805
|
+
}], targetTrackBy: [{
|
|
806
|
+
type: Input
|
|
807
|
+
}], dragdrop: [{
|
|
808
|
+
type: Input
|
|
809
|
+
}], metaKeySelection: [{
|
|
810
|
+
type: Input
|
|
811
|
+
}], showSourceControls: [{
|
|
812
|
+
type: Input
|
|
813
|
+
}], showTargetControls: [{
|
|
814
|
+
type: Input
|
|
815
|
+
}], keepSelection: [{
|
|
816
|
+
type: Input
|
|
817
|
+
}], disabled: [{
|
|
818
|
+
type: Input
|
|
819
|
+
}], stripedRows: [{
|
|
820
|
+
type: Input
|
|
821
|
+
}], breakpoint: [{
|
|
822
|
+
type: Input
|
|
823
|
+
}], scrollHeight: [{
|
|
824
|
+
type: Input
|
|
825
|
+
}], style: [{
|
|
826
|
+
type: Input
|
|
827
|
+
}], styleClass: [{
|
|
828
|
+
type: Input
|
|
829
|
+
}], sourceStyle: [{
|
|
830
|
+
type: Input
|
|
831
|
+
}], targetStyle: [{
|
|
832
|
+
type: Input
|
|
833
|
+
}], id: [{
|
|
834
|
+
type: Input
|
|
835
|
+
}], tabindex: [{
|
|
836
|
+
type: Input
|
|
837
|
+
}], upButtonAriaLabel: [{
|
|
838
|
+
type: Input
|
|
839
|
+
}], topButtonAriaLabel: [{
|
|
840
|
+
type: Input
|
|
841
|
+
}], downButtonAriaLabel: [{
|
|
842
|
+
type: Input
|
|
843
|
+
}], bottomButtonAriaLabel: [{
|
|
844
|
+
type: Input
|
|
845
|
+
}], rightButtonAriaLabel: [{
|
|
846
|
+
type: Input
|
|
847
|
+
}], allRightButtonAriaLabel: [{
|
|
848
|
+
type: Input
|
|
849
|
+
}], leftButtonAriaLabel: [{
|
|
850
|
+
type: Input
|
|
851
|
+
}], allLeftButtonAriaLabel: [{
|
|
852
|
+
type: Input
|
|
853
|
+
}], responsive: [{
|
|
854
|
+
type: Input
|
|
855
|
+
}], filterLocale: [{
|
|
856
|
+
type: Input
|
|
857
|
+
}], autoOptionFocus: [{
|
|
858
|
+
type: Input
|
|
859
|
+
}], onMoveToTarget: [{
|
|
860
|
+
type: Output
|
|
861
|
+
}], onMoveAllToTarget: [{
|
|
862
|
+
type: Output
|
|
863
|
+
}], onMoveToSource: [{
|
|
864
|
+
type: Output
|
|
865
|
+
}], onMoveAllToSource: [{
|
|
866
|
+
type: Output
|
|
867
|
+
}], onSourceReorder: [{
|
|
868
|
+
type: Output
|
|
869
|
+
}], onTargetReorder: [{
|
|
870
|
+
type: Output
|
|
871
|
+
}], onSourceSelect: [{
|
|
872
|
+
type: Output
|
|
873
|
+
}], onTargetSelect: [{
|
|
874
|
+
type: Output
|
|
875
|
+
}], onSourceFilter: [{
|
|
876
|
+
type: Output
|
|
877
|
+
}], onTargetFilter: [{
|
|
878
|
+
type: Output
|
|
879
|
+
}], onFocus: [{
|
|
880
|
+
type: Output
|
|
881
|
+
}], onBlur: [{
|
|
882
|
+
type: Output
|
|
883
|
+
}], sourceChange: [{
|
|
884
|
+
type: Output
|
|
885
|
+
}], targetChange: [{
|
|
886
|
+
type: Output
|
|
887
|
+
}], templates: [{
|
|
888
|
+
type: ContentChildren,
|
|
889
|
+
args: [WuTemplate]
|
|
890
|
+
}], itemRef: [{
|
|
891
|
+
type: ContentChild,
|
|
892
|
+
args: ['item', { descendants: false }]
|
|
893
|
+
}], sourceHeaderRef: [{
|
|
894
|
+
type: ContentChild,
|
|
895
|
+
args: ['sourceHeader', { descendants: false }]
|
|
896
|
+
}], targetHeaderRef: [{
|
|
897
|
+
type: ContentChild,
|
|
898
|
+
args: ['targetHeader', { descendants: false }]
|
|
899
|
+
}], sourceFilterRef: [{
|
|
900
|
+
type: ContentChild,
|
|
901
|
+
args: ['sourceFilter', { descendants: false }]
|
|
902
|
+
}], targetFilterRef: [{
|
|
903
|
+
type: ContentChild,
|
|
904
|
+
args: ['targetFilter', { descendants: false }]
|
|
905
|
+
}], emptySourceRef: [{
|
|
906
|
+
type: ContentChild,
|
|
907
|
+
args: ['emptymessagesource', { descendants: false }]
|
|
908
|
+
}], emptyFilterSourceRef: [{
|
|
909
|
+
type: ContentChild,
|
|
910
|
+
args: ['emptyfiltermessagesource', { descendants: false }]
|
|
911
|
+
}], emptyTargetRef: [{
|
|
912
|
+
type: ContentChild,
|
|
913
|
+
args: ['emptymessagetarget', { descendants: false }]
|
|
914
|
+
}], emptyFilterTargetRef: [{
|
|
915
|
+
type: ContentChild,
|
|
916
|
+
args: ['emptyfiltermessagetarget', { descendants: false }]
|
|
917
|
+
}] } });
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Two lists to move items between: `<wu-picklist [source]="available" [target]="chosen" sourceHeader="ทั้งหมด"
|
|
921
|
+
* targetHeader="ที่เลือก" filterBy="name" [dragdrop]="true">` with the app's `item` template. `wu-pickList` is the same.
|
|
922
|
+
*/
|
|
923
|
+
class WuPickList extends ɵWuPickListBase {
|
|
924
|
+
}
|
|
925
|
+
WuPickList.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuPickList, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
926
|
+
WuPickList.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuPickList, isStandalone: true, selector: "wu-picklist, wu-pickList, wu-pick-list", exportAs: ["wuPickList"], usesInheritance: true, ngImport: i0, template: "<div\n class=\"wu-picklist p-picklist p-component\"\n [class.wu-picklist-wide]=\"!stacked\"\n [class.wu-picklist-stacked]=\"stacked\"\n [class.wu-picklist-striped]=\"stripedRows\"\n [class.p-picklist-striped]=\"stripedRows\"\n [class.wu-picklist-disabled]=\"disabled\"\n [class.p-disabled]=\"disabled\"\n [class.wu-picklist-dragdrop]=\"dragdrop && !disabled\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n>\n <ng-container *ngIf=\"showSourceControls\">\n <ng-container *ngTemplateOutlet=\"reorderControls; context: { $implicit: 'source' }\"></ng-container>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"listSide; context: { $implicit: 'source' }\"></ng-container>\n <div class=\"wu-picklist-controls wu-picklist-transfer p-picklist-buttons p-picklist-transfer-buttons\" role=\"group\">\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-right')\" [disabled]=\"!canTransfer('source')\" [attr.aria-label]=\"rightButtonAriaLabel || t.moveToTarget\" (click)=\"moveRight($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m6 3.5 4.5 4.5L6 12.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-all-right')\" [disabled]=\"!canTransferAll('source')\" [attr.aria-label]=\"allRightButtonAriaLabel || t.moveAllToTarget\" (click)=\"moveAllRight($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m3.5 3.5 4.5 4.5-4.5 4.5M8.5 3.5 13 8l-4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-left')\" [disabled]=\"!canTransfer('target')\" [attr.aria-label]=\"leftButtonAriaLabel || t.moveToSource\" (click)=\"moveLeft($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10 3.5 5.5 8l4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-all-left')\" [disabled]=\"!canTransferAll('target')\" [attr.aria-label]=\"allLeftButtonAriaLabel || t.moveAllToSource\" (click)=\"moveAllLeft($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12.5 3.5 8 8l4.5 4.5M7.5 3.5 3 8l4.5 4.5\"></path></svg>\n </button>\n </div>\n <ng-container *ngTemplateOutlet=\"listSide; context: { $implicit: 'target' }\"></ng-container>\n <ng-container *ngIf=\"showTargetControls\">\n <ng-container *ngTemplateOutlet=\"reorderControls; context: { $implicit: 'target' }\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #listSide let-side>\n <div\n class=\"wu-picklist-box p-picklist-list-wrapper\"\n [class.wu-picklist-source]=\"side === 'source'\"\n [class.p-picklist-source-wrapper]=\"side === 'source'\"\n [class.wu-picklist-target]=\"side === 'target'\"\n [class.p-picklist-target-wrapper]=\"side === 'target'\"\n >\n <div *ngIf=\"hasHeader(side)\" class=\"wu-picklist-header p-picklist-header\" [id]=\"headerId(side)\">\n <ng-container *ngIf=\"headerTemplate(side) as tpl; else plainHeader\">\n <ng-container *ngTemplateOutlet=\"tpl; context: headerContext(side)\"></ng-container>\n </ng-container>\n <ng-template #plainHeader>\n <div class=\"wu-picklist-title p-picklist-title\">{{ headerText(side) }}</div>\n </ng-template>\n </div>\n <div *ngIf=\"showFilter(side)\" class=\"wu-picklist-filter p-picklist-filter-container\">\n <ng-container *ngIf=\"filterTemplate(side) as tpl; else plainFilter\">\n <ng-container *ngTemplateOutlet=\"tpl; context: { options: filterOptionsOf(side) }\"></ng-container>\n </ng-container>\n <ng-template #plainFilter>\n <div class=\"wu-picklist-filter-field p-picklist-filter\">\n <input\n type=\"text\"\n class=\"wu-inputtext wu-picklist-filter-input p-picklist-filter-input p-inputtext p-component\"\n role=\"searchbox\"\n autocomplete=\"off\"\n [value]=\"queryOf(side)\"\n [disabled]=\"disabled\"\n [attr.placeholder]=\"filterPlaceholder(side)\"\n [attr.aria-label]=\"filterAriaLabel(side)\"\n [attr.aria-controls]=\"listId(side)\"\n (input)=\"filterInput($event, side)\"\n />\n <svg class=\"wu-picklist-filter-icon p-picklist-filter-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"7\" cy=\"7\" r=\"4.5\"></circle><path d=\"M10.5 10.5 14 14\"></path></svg>\n </div>\n </ng-template>\n </div>\n <ul\n class=\"wu-picklist-list p-picklist-list\"\n [class.p-picklist-source]=\"side === 'source'\"\n [class.p-picklist-target]=\"side === 'target'\"\n [class.wu-picklist-list-focused]=\"focusedList === side\"\n role=\"listbox\"\n aria-multiselectable=\"true\"\n [id]=\"listId(side)\"\n [attr.data-wu-list]=\"side\"\n [attr.tabindex]=\"disabled ? -1 : tabindex\"\n [attr.aria-labelledby]=\"hasHeader(side) ? headerId(side) : null\"\n [attr.aria-activedescendant]=\"activeId(side)\"\n [attr.aria-disabled]=\"disabled || null\"\n [ngStyle]=\"listStyle(side)\"\n (focus)=\"listFocus($event, side)\"\n (blur)=\"listBlur($event, side)\"\n (keydown)=\"listKeydown($event, side)\"\n >\n <ng-container *ngFor=\"let item of listOf(side); let i = index; trackBy: trackItem(side)\">\n <li\n *ngIf=\"isVisible(side, item)\"\n class=\"wu-picklist-item p-picklist-item\"\n role=\"option\"\n [id]=\"itemId(side, i)\"\n [attr.data-wu-index]=\"i\"\n [attr.aria-selected]=\"isSelected(side, item)\"\n [class.wu-picklist-item-selected]=\"isSelected(side, item)\"\n [class.p-highlight]=\"isSelected(side, item)\"\n [class.wu-picklist-item-focused]=\"isFocused(side, i)\"\n [class.p-focus]=\"isFocused(side, i)\"\n (pointerdown)=\"pointerDown($event, side, i)\"\n (click)=\"itemClick($event, side, item, i)\"\n (dblclick)=\"itemDblClick($event, side, item)\"\n >\n <ng-container *ngIf=\"itemTemplate; else plainItem\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: itemContext(side, item, i)\"></ng-container>\n </ng-container>\n <ng-template #plainItem><span class=\"wu-picklist-item-label\">{{ label(item) }}</span></ng-template>\n </li>\n </ng-container>\n <ng-container *ngIf=\"isEmpty(side)\">\n <li *ngIf=\"emptyTemplate(side) as tpl; else plainEmpty\" class=\"wu-picklist-empty p-picklist-empty-message\" role=\"presentation\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n </li>\n <ng-template #plainEmpty>\n <li *ngIf=\"emptyText(side)\" class=\"wu-picklist-empty p-picklist-empty-message\" role=\"presentation\">{{ emptyText(side) }}</li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n</ng-template>\n\n<ng-template #reorderControls let-side>\n <div\n class=\"wu-picklist-controls wu-picklist-reorder p-picklist-buttons\"\n [class.wu-picklist-source-controls]=\"side === 'source'\"\n [class.p-picklist-source-controls]=\"side === 'source'\"\n [class.wu-picklist-target-controls]=\"side === 'target'\"\n [class.p-picklist-target-controls]=\"side === 'target'\"\n role=\"group\"\n >\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-up')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"upButtonAriaLabel || t.moveUp\" (click)=\"reorder(side, 'up', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 10 8 5.5l4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-top')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"topButtonAriaLabel || t.moveTop\" (click)=\"reorder(side, 'top', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 3h9M3.5 11.5 8 7l4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-down')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"downButtonAriaLabel || t.moveDown\" (click)=\"reorder(side, 'down', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 6 8 10.5 12.5 6\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-bottom')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"bottomButtonAriaLabel || t.moveBottom\" (click)=\"reorder(side, 'bottom', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 13h9M3.5 4.5 8 9l4.5-4.5\"></path></svg>\n </button>\n </div>\n</ng-template>\n", styles: ["@layer wiraui.components{:is(wu-picklist,wu-pick-list),:is(wu-orderlist,wu-order-list){display:block;max-width:100%}.wu-picklist,.wu-orderlist{display:flex;flex-direction:column;gap:var(--wu-picklist-gap);font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-picklist.wu-picklist-wide,.wu-orderlist.wu-orderlist-wide{flex-direction:row;align-items:stretch}.wu-orderlist-wide.wu-orderlist-controls-right>.wu-picklist-controls{order:1}.wu-picklist-controls{display:flex;flex:none;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem}.wu-picklist-wide>.wu-picklist-controls,.wu-orderlist-wide>.wu-picklist-controls{flex-direction:column;flex-wrap:nowrap}.wu-picklist-icon{display:block;width:1em;height:1em}.wu-picklist:not(.wu-picklist-wide) .wu-picklist-icon-transfer{transform:rotate(90deg)}.wu-picklist-box{display:flex;flex:none;flex-direction:column;min-width:0;border:var(--wu-picklist-box-border-width) solid var(--wu-border);border-radius:var(--wu-picklist-box-radius);background:var(--wu-picklist-box-bg);overflow:hidden}.wu-picklist-wide>.wu-picklist-box,.wu-orderlist-wide>.wu-picklist-box{flex:1 1 0}.wu-picklist-header{flex:none;padding:var(--wu-picklist-header-padding);border:solid var(--wu-border);border-width:var(--wu-picklist-header-border-width);border-radius:var(--wu-picklist-header-radius);background:var(--wu-picklist-header-bg);color:var(--wu-text);font-weight:var(--wu-picklist-header-weight);overflow-wrap:anywhere}.wu-picklist-filter{flex:none;padding:var(--wu-picklist-filter-padding);border:solid var(--wu-border);border-width:var(--wu-picklist-filter-border-width);background:var(--wu-picklist-filter-bg)}.wu-picklist-filter-field{position:relative}.wu-picklist-filter-input.wu-inputtext{display:block;box-sizing:border-box;width:100%;padding-right:2.25rem}.wu-picklist-filter-icon{position:absolute;top:50%;right:.75rem;width:1rem;height:1rem;color:var(--wu-field-placeholder);transform:translateY(-50%);pointer-events:none}.wu-picklist-list{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--wu-picklist-item-gap);box-sizing:border-box;height:var(--wu-picklist-list-height);min-height:var(--wu-picklist-list-min-height);max-height:var(--wu-picklist-list-max-height);margin:0;padding:var(--wu-picklist-list-padding);border:var(--wu-picklist-list-border-width) solid var(--wu-border);border-radius:var(--wu-picklist-list-radius);background:var(--wu-card-bg);list-style:none;overflow:auto;overscroll-behavior:contain;outline:none}.wu-picklist-item{position:relative;display:flex;flex:none;align-items:center;gap:.5rem;padding:var(--wu-picklist-item-padding);border-radius:var(--wu-picklist-item-radius);color:var(--wu-text);cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-picklist-item-label{min-width:0;overflow-wrap:anywhere}:is(.wu-picklist-striped,.wu-orderlist-striped) .wu-picklist-item:nth-child(even){background:var(--wu-picklist-item-stripe-bg)}.wu-picklist-item:hover{background:var(--wu-select-option-hover-bg)}.wu-picklist-item.wu-picklist-item-selected{background:var(--wu-select-option-selected-bg);color:var(--wu-select-option-selected-color)}.wu-picklist-list:focus-visible .wu-picklist-item-focused{outline:var(--wu-control-focus-outline);outline-offset:-2px}.wu-picklist-list:focus-visible:not(:has(.wu-picklist-item)){box-shadow:inset 0 0 0 2px var(--wu-primary-color)}.wu-picklist-empty{padding:var(--wu-picklist-item-padding);color:var(--wu-text-muted);cursor:default}:is(.wu-picklist-disabled,.wu-orderlist-disabled) .wu-picklist-box{opacity:var(--wu-disabled-opacity)}:is(.wu-picklist-disabled,.wu-orderlist-disabled) .wu-picklist-item{cursor:default}:is(.wu-picklist-disabled,.wu-orderlist-disabled) .wu-picklist-item:hover:not(.wu-picklist-item-selected){background:none}:is(.wu-picklist-dragdrop,.wu-orderlist-dragdrop) .wu-picklist-item{touch-action:pan-y}.wu-list-dragging,.wu-list-dragging *{cursor:grabbing}.wu-list-dragover{background:color-mix(in srgb,var(--wu-primary-color) 4%,var(--wu-card-bg))}.wu-list-drop-into{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--wu-primary-color) 60%,transparent)}.wu-list-drop-before:before,.wu-list-drop-after:after{content:\"\";position:absolute;right:.25rem;left:.25rem;height:2px;border-radius:1px;background:var(--wu-primary-color);pointer-events:none}.wu-list-drop-before:before{top:calc(-1px - var(--wu-picklist-item-gap) / 2)}.wu-list-drop-after:after{bottom:calc(-1px - var(--wu-picklist-item-gap) / 2)}.wu-list-drag-ghost{position:fixed;inset:0 auto auto 0;z-index:10000;box-sizing:border-box;height:auto;margin:0;border:1px solid var(--wu-border);border-radius:var(--wu-radius-md);background:var(--wu-card-bg);color:var(--wu-text);box-shadow:var(--wu-shadow-md);list-style:none;opacity:.95;overflow:visible;pointer-events:none}.wu-list-drag-ghost.wu-picklist-item-selected{background:color-mix(in srgb,var(--wu-select-option-selected-bg) 100%,var(--wu-card-bg))}.wu-list-drag-count{position:absolute;top:-.5rem;right:-.5rem;display:grid;place-items:center;box-sizing:border-box;min-width:1.375rem;height:1.375rem;padding:0 .375rem;border-radius:var(--wu-radius-full);background:var(--wu-primary-color);color:var(--wu-primary-contrast);font-size:.75rem;font-weight:600;line-height:1}@media (prefers-reduced-motion: reduce){.wu-picklist-item{transition:none}}}\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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuPickList, decorators: [{
|
|
928
|
+
type: Component,
|
|
929
|
+
args: [{ selector: 'wu-picklist, wu-pickList, wu-pick-list', standalone: true, exportAs: 'wuPickList', imports: [NgClass, NgFor, NgIf, NgStyle, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"wu-picklist p-picklist p-component\"\n [class.wu-picklist-wide]=\"!stacked\"\n [class.wu-picklist-stacked]=\"stacked\"\n [class.wu-picklist-striped]=\"stripedRows\"\n [class.p-picklist-striped]=\"stripedRows\"\n [class.wu-picklist-disabled]=\"disabled\"\n [class.p-disabled]=\"disabled\"\n [class.wu-picklist-dragdrop]=\"dragdrop && !disabled\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n>\n <ng-container *ngIf=\"showSourceControls\">\n <ng-container *ngTemplateOutlet=\"reorderControls; context: { $implicit: 'source' }\"></ng-container>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"listSide; context: { $implicit: 'source' }\"></ng-container>\n <div class=\"wu-picklist-controls wu-picklist-transfer p-picklist-buttons p-picklist-transfer-buttons\" role=\"group\">\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-right')\" [disabled]=\"!canTransfer('source')\" [attr.aria-label]=\"rightButtonAriaLabel || t.moveToTarget\" (click)=\"moveRight($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m6 3.5 4.5 4.5L6 12.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-all-right')\" [disabled]=\"!canTransferAll('source')\" [attr.aria-label]=\"allRightButtonAriaLabel || t.moveAllToTarget\" (click)=\"moveAllRight($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"m3.5 3.5 4.5 4.5-4.5 4.5M8.5 3.5 13 8l-4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-left')\" [disabled]=\"!canTransfer('target')\" [attr.aria-label]=\"leftButtonAriaLabel || t.moveToSource\" (click)=\"moveLeft($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10 3.5 5.5 8l4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-all-left')\" [disabled]=\"!canTransferAll('target')\" [attr.aria-label]=\"allLeftButtonAriaLabel || t.moveAllToSource\" (click)=\"moveAllLeft($event)\">\n <svg class=\"wu-picklist-icon wu-picklist-icon-transfer\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M12.5 3.5 8 8l4.5 4.5M7.5 3.5 3 8l4.5 4.5\"></path></svg>\n </button>\n </div>\n <ng-container *ngTemplateOutlet=\"listSide; context: { $implicit: 'target' }\"></ng-container>\n <ng-container *ngIf=\"showTargetControls\">\n <ng-container *ngTemplateOutlet=\"reorderControls; context: { $implicit: 'target' }\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #listSide let-side>\n <div\n class=\"wu-picklist-box p-picklist-list-wrapper\"\n [class.wu-picklist-source]=\"side === 'source'\"\n [class.p-picklist-source-wrapper]=\"side === 'source'\"\n [class.wu-picklist-target]=\"side === 'target'\"\n [class.p-picklist-target-wrapper]=\"side === 'target'\"\n >\n <div *ngIf=\"hasHeader(side)\" class=\"wu-picklist-header p-picklist-header\" [id]=\"headerId(side)\">\n <ng-container *ngIf=\"headerTemplate(side) as tpl; else plainHeader\">\n <ng-container *ngTemplateOutlet=\"tpl; context: headerContext(side)\"></ng-container>\n </ng-container>\n <ng-template #plainHeader>\n <div class=\"wu-picklist-title p-picklist-title\">{{ headerText(side) }}</div>\n </ng-template>\n </div>\n <div *ngIf=\"showFilter(side)\" class=\"wu-picklist-filter p-picklist-filter-container\">\n <ng-container *ngIf=\"filterTemplate(side) as tpl; else plainFilter\">\n <ng-container *ngTemplateOutlet=\"tpl; context: { options: filterOptionsOf(side) }\"></ng-container>\n </ng-container>\n <ng-template #plainFilter>\n <div class=\"wu-picklist-filter-field p-picklist-filter\">\n <input\n type=\"text\"\n class=\"wu-inputtext wu-picklist-filter-input p-picklist-filter-input p-inputtext p-component\"\n role=\"searchbox\"\n autocomplete=\"off\"\n [value]=\"queryOf(side)\"\n [disabled]=\"disabled\"\n [attr.placeholder]=\"filterPlaceholder(side)\"\n [attr.aria-label]=\"filterAriaLabel(side)\"\n [attr.aria-controls]=\"listId(side)\"\n (input)=\"filterInput($event, side)\"\n />\n <svg class=\"wu-picklist-filter-icon p-picklist-filter-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><circle cx=\"7\" cy=\"7\" r=\"4.5\"></circle><path d=\"M10.5 10.5 14 14\"></path></svg>\n </div>\n </ng-template>\n </div>\n <ul\n class=\"wu-picklist-list p-picklist-list\"\n [class.p-picklist-source]=\"side === 'source'\"\n [class.p-picklist-target]=\"side === 'target'\"\n [class.wu-picklist-list-focused]=\"focusedList === side\"\n role=\"listbox\"\n aria-multiselectable=\"true\"\n [id]=\"listId(side)\"\n [attr.data-wu-list]=\"side\"\n [attr.tabindex]=\"disabled ? -1 : tabindex\"\n [attr.aria-labelledby]=\"hasHeader(side) ? headerId(side) : null\"\n [attr.aria-activedescendant]=\"activeId(side)\"\n [attr.aria-disabled]=\"disabled || null\"\n [ngStyle]=\"listStyle(side)\"\n (focus)=\"listFocus($event, side)\"\n (blur)=\"listBlur($event, side)\"\n (keydown)=\"listKeydown($event, side)\"\n >\n <ng-container *ngFor=\"let item of listOf(side); let i = index; trackBy: trackItem(side)\">\n <li\n *ngIf=\"isVisible(side, item)\"\n class=\"wu-picklist-item p-picklist-item\"\n role=\"option\"\n [id]=\"itemId(side, i)\"\n [attr.data-wu-index]=\"i\"\n [attr.aria-selected]=\"isSelected(side, item)\"\n [class.wu-picklist-item-selected]=\"isSelected(side, item)\"\n [class.p-highlight]=\"isSelected(side, item)\"\n [class.wu-picklist-item-focused]=\"isFocused(side, i)\"\n [class.p-focus]=\"isFocused(side, i)\"\n (pointerdown)=\"pointerDown($event, side, i)\"\n (click)=\"itemClick($event, side, item, i)\"\n (dblclick)=\"itemDblClick($event, side, item)\"\n >\n <ng-container *ngIf=\"itemTemplate; else plainItem\">\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: itemContext(side, item, i)\"></ng-container>\n </ng-container>\n <ng-template #plainItem><span class=\"wu-picklist-item-label\">{{ label(item) }}</span></ng-template>\n </li>\n </ng-container>\n <ng-container *ngIf=\"isEmpty(side)\">\n <li *ngIf=\"emptyTemplate(side) as tpl; else plainEmpty\" class=\"wu-picklist-empty p-picklist-empty-message\" role=\"presentation\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n </li>\n <ng-template #plainEmpty>\n <li *ngIf=\"emptyText(side)\" class=\"wu-picklist-empty p-picklist-empty-message\" role=\"presentation\">{{ emptyText(side) }}</li>\n </ng-template>\n </ng-container>\n </ul>\n </div>\n</ng-template>\n\n<ng-template #reorderControls let-side>\n <div\n class=\"wu-picklist-controls wu-picklist-reorder p-picklist-buttons\"\n [class.wu-picklist-source-controls]=\"side === 'source'\"\n [class.p-picklist-source-controls]=\"side === 'source'\"\n [class.wu-picklist-target-controls]=\"side === 'target'\"\n [class.p-picklist-target-controls]=\"side === 'target'\"\n role=\"group\"\n >\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-up')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"upButtonAriaLabel || t.moveUp\" (click)=\"reorder(side, 'up', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 10 8 5.5l4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-top')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"topButtonAriaLabel || t.moveTop\" (click)=\"reorder(side, 'top', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 3h9M3.5 11.5 8 7l4.5 4.5\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-down')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"downButtonAriaLabel || t.moveDown\" (click)=\"reorder(side, 'down', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 6 8 10.5 12.5 6\"></path></svg>\n </button>\n <button type=\"button\" [class]=\"buttonClass('wu-picklist-move-bottom')\" [disabled]=\"!canReorder(side)\" [attr.aria-label]=\"bottomButtonAriaLabel || t.moveBottom\" (click)=\"reorder(side, 'bottom', $event)\">\n <svg class=\"wu-picklist-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3.5 13h9M3.5 4.5 8 9l4.5-4.5\"></path></svg>\n </button>\n </div>\n</ng-template>\n", styles: ["@layer wiraui.components{:is(wu-picklist,wu-pick-list),:is(wu-orderlist,wu-order-list){display:block;max-width:100%}.wu-picklist,.wu-orderlist{display:flex;flex-direction:column;gap:var(--wu-picklist-gap);font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-line-height);color:var(--wu-text)}.wu-picklist.wu-picklist-wide,.wu-orderlist.wu-orderlist-wide{flex-direction:row;align-items:stretch}.wu-orderlist-wide.wu-orderlist-controls-right>.wu-picklist-controls{order:1}.wu-picklist-controls{display:flex;flex:none;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem}.wu-picklist-wide>.wu-picklist-controls,.wu-orderlist-wide>.wu-picklist-controls{flex-direction:column;flex-wrap:nowrap}.wu-picklist-icon{display:block;width:1em;height:1em}.wu-picklist:not(.wu-picklist-wide) .wu-picklist-icon-transfer{transform:rotate(90deg)}.wu-picklist-box{display:flex;flex:none;flex-direction:column;min-width:0;border:var(--wu-picklist-box-border-width) solid var(--wu-border);border-radius:var(--wu-picklist-box-radius);background:var(--wu-picklist-box-bg);overflow:hidden}.wu-picklist-wide>.wu-picklist-box,.wu-orderlist-wide>.wu-picklist-box{flex:1 1 0}.wu-picklist-header{flex:none;padding:var(--wu-picklist-header-padding);border:solid var(--wu-border);border-width:var(--wu-picklist-header-border-width);border-radius:var(--wu-picklist-header-radius);background:var(--wu-picklist-header-bg);color:var(--wu-text);font-weight:var(--wu-picklist-header-weight);overflow-wrap:anywhere}.wu-picklist-filter{flex:none;padding:var(--wu-picklist-filter-padding);border:solid var(--wu-border);border-width:var(--wu-picklist-filter-border-width);background:var(--wu-picklist-filter-bg)}.wu-picklist-filter-field{position:relative}.wu-picklist-filter-input.wu-inputtext{display:block;box-sizing:border-box;width:100%;padding-right:2.25rem}.wu-picklist-filter-icon{position:absolute;top:50%;right:.75rem;width:1rem;height:1rem;color:var(--wu-field-placeholder);transform:translateY(-50%);pointer-events:none}.wu-picklist-list{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--wu-picklist-item-gap);box-sizing:border-box;height:var(--wu-picklist-list-height);min-height:var(--wu-picklist-list-min-height);max-height:var(--wu-picklist-list-max-height);margin:0;padding:var(--wu-picklist-list-padding);border:var(--wu-picklist-list-border-width) solid var(--wu-border);border-radius:var(--wu-picklist-list-radius);background:var(--wu-card-bg);list-style:none;overflow:auto;overscroll-behavior:contain;outline:none}.wu-picklist-item{position:relative;display:flex;flex:none;align-items:center;gap:.5rem;padding:var(--wu-picklist-item-padding);border-radius:var(--wu-picklist-item-radius);color:var(--wu-text);cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-picklist-item-label{min-width:0;overflow-wrap:anywhere}:is(.wu-picklist-striped,.wu-orderlist-striped) .wu-picklist-item:nth-child(even){background:var(--wu-picklist-item-stripe-bg)}.wu-picklist-item:hover{background:var(--wu-select-option-hover-bg)}.wu-picklist-item.wu-picklist-item-selected{background:var(--wu-select-option-selected-bg);color:var(--wu-select-option-selected-color)}.wu-picklist-list:focus-visible .wu-picklist-item-focused{outline:var(--wu-control-focus-outline);outline-offset:-2px}.wu-picklist-list:focus-visible:not(:has(.wu-picklist-item)){box-shadow:inset 0 0 0 2px var(--wu-primary-color)}.wu-picklist-empty{padding:var(--wu-picklist-item-padding);color:var(--wu-text-muted);cursor:default}:is(.wu-picklist-disabled,.wu-orderlist-disabled) .wu-picklist-box{opacity:var(--wu-disabled-opacity)}:is(.wu-picklist-disabled,.wu-orderlist-disabled) .wu-picklist-item{cursor:default}:is(.wu-picklist-disabled,.wu-orderlist-disabled) .wu-picklist-item:hover:not(.wu-picklist-item-selected){background:none}:is(.wu-picklist-dragdrop,.wu-orderlist-dragdrop) .wu-picklist-item{touch-action:pan-y}.wu-list-dragging,.wu-list-dragging *{cursor:grabbing}.wu-list-dragover{background:color-mix(in srgb,var(--wu-primary-color) 4%,var(--wu-card-bg))}.wu-list-drop-into{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--wu-primary-color) 60%,transparent)}.wu-list-drop-before:before,.wu-list-drop-after:after{content:\"\";position:absolute;right:.25rem;left:.25rem;height:2px;border-radius:1px;background:var(--wu-primary-color);pointer-events:none}.wu-list-drop-before:before{top:calc(-1px - var(--wu-picklist-item-gap) / 2)}.wu-list-drop-after:after{bottom:calc(-1px - var(--wu-picklist-item-gap) / 2)}.wu-list-drag-ghost{position:fixed;inset:0 auto auto 0;z-index:10000;box-sizing:border-box;height:auto;margin:0;border:1px solid var(--wu-border);border-radius:var(--wu-radius-md);background:var(--wu-card-bg);color:var(--wu-text);box-shadow:var(--wu-shadow-md);list-style:none;opacity:.95;overflow:visible;pointer-events:none}.wu-list-drag-ghost.wu-picklist-item-selected{background:color-mix(in srgb,var(--wu-select-option-selected-bg) 100%,var(--wu-card-bg))}.wu-list-drag-count{position:absolute;top:-.5rem;right:-.5rem;display:grid;place-items:center;box-sizing:border-box;min-width:1.375rem;height:1.375rem;padding:0 .375rem;border-radius:var(--wu-radius-full);background:var(--wu-primary-color);color:var(--wu-primary-contrast);font-size:.75rem;font-weight:600;line-height:1}@media (prefers-reduced-motion: reduce){.wu-picklist-item{transition:none}}}\n"] }]
|
|
930
|
+
}] });
|
|
931
|
+
|
|
932
|
+
/** For NgModule apps: the pick list and `wuTemplate` (`pTemplate`). Standalone apps can import `WuPickList` directly. */
|
|
933
|
+
class WuPickListModule {
|
|
934
|
+
}
|
|
935
|
+
WuPickListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuPickListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
936
|
+
WuPickListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuPickListModule, imports: [WuPickList, WuTemplate], exports: [WuPickList, WuTemplate] });
|
|
937
|
+
WuPickListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuPickListModule, imports: [WuPickList] });
|
|
938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuPickListModule, decorators: [{
|
|
939
|
+
type: NgModule,
|
|
940
|
+
args: [{
|
|
941
|
+
imports: [WuPickList, WuTemplate],
|
|
942
|
+
exports: [WuPickList, WuTemplate],
|
|
943
|
+
}]
|
|
944
|
+
}] });
|
|
945
|
+
|
|
946
|
+
/** Generated by tools/sync-sources.mjs from packages/styles/picklist.css. */
|
|
947
|
+
const WU_PICKLIST_CSS = "/* wu-picklist, and the list, item and drag styles wu-orderlist shares. Shared by wiraui v1, v2 and v3.\n Narrow screens first: lists stack with the buttons between them in a row; `.wu-picklist-wide` (wider than the\n component's `breakpoint`) puts them side by side with the buttons in columns. */\n@layer wiraui.components {\n :is(wu-picklist, wu-pick-list),\n :is(wu-orderlist, wu-order-list) {\n display: block;\n max-width: 100%;\n }\n .wu-picklist,\n .wu-orderlist {\n display: flex;\n flex-direction: column;\n gap: var(--wu-picklist-gap);\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-picklist.wu-picklist-wide,\n .wu-orderlist.wu-orderlist-wide {\n flex-direction: row;\n align-items: stretch;\n }\n /* Order buttons on the right: after the list. */\n .wu-orderlist-wide.wu-orderlist-controls-right > .wu-picklist-controls {\n order: 1;\n }\n\n /* ---------- buttons ---------- */\n .wu-picklist-controls {\n display: flex;\n flex: none;\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n }\n .wu-picklist-wide > .wu-picklist-controls,\n .wu-orderlist-wide > .wu-picklist-controls {\n flex-direction: column;\n flex-wrap: nowrap;\n }\n .wu-picklist-icon {\n display: block;\n width: 1em;\n height: 1em;\n }\n /* Stacked lists: the transfer arrows point down / up. */\n .wu-picklist:not(.wu-picklist-wide) .wu-picklist-icon-transfer {\n transform: rotate(90deg);\n }\n\n /* ---------- one list: header, search, items ---------- */\n .wu-picklist-box {\n display: flex;\n flex: none;\n flex-direction: column;\n min-width: 0;\n border: var(--wu-picklist-box-border-width) solid var(--wu-border);\n border-radius: var(--wu-picklist-box-radius);\n background: var(--wu-picklist-box-bg);\n overflow: hidden;\n }\n /* Side by side the two lists share the width; stacked each keeps its own height. */\n .wu-picklist-wide > .wu-picklist-box,\n .wu-orderlist-wide > .wu-picklist-box {\n flex: 1 1 0;\n }\n .wu-picklist-header {\n flex: none;\n padding: var(--wu-picklist-header-padding);\n border: solid var(--wu-border);\n border-width: var(--wu-picklist-header-border-width);\n border-radius: var(--wu-picklist-header-radius);\n background: var(--wu-picklist-header-bg);\n color: var(--wu-text);\n font-weight: var(--wu-picklist-header-weight);\n overflow-wrap: anywhere;\n }\n .wu-picklist-filter {\n flex: none;\n padding: var(--wu-picklist-filter-padding);\n border: solid var(--wu-border);\n border-width: var(--wu-picklist-filter-border-width);\n background: var(--wu-picklist-filter-bg);\n }\n .wu-picklist-filter-field {\n position: relative;\n }\n .wu-picklist-filter-input.wu-inputtext {\n display: block;\n box-sizing: border-box;\n width: 100%;\n padding-right: 2.25rem;\n }\n .wu-picklist-filter-icon {\n position: absolute;\n top: 50%;\n right: 0.75rem;\n width: 1rem;\n height: 1rem;\n color: var(--wu-field-placeholder);\n transform: translateY(-50%);\n pointer-events: none;\n }\n .wu-picklist-list {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n gap: var(--wu-picklist-item-gap);\n box-sizing: border-box;\n height: var(--wu-picklist-list-height);\n min-height: var(--wu-picklist-list-min-height);\n max-height: var(--wu-picklist-list-max-height);\n margin: 0;\n padding: var(--wu-picklist-list-padding);\n border: var(--wu-picklist-list-border-width) solid var(--wu-border);\n border-radius: var(--wu-picklist-list-radius);\n background: var(--wu-card-bg);\n list-style: none;\n overflow: auto;\n overscroll-behavior: contain;\n outline: none;\n }\n .wu-picklist-item {\n position: relative;\n display: flex;\n flex: none;\n align-items: center;\n gap: 0.5rem;\n padding: var(--wu-picklist-item-padding);\n border-radius: var(--wu-picklist-item-radius);\n color: var(--wu-text);\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n -webkit-touch-callout: none;\n transition:\n background-color var(--wu-transition),\n color var(--wu-transition);\n }\n .wu-picklist-item-label {\n min-width: 0;\n overflow-wrap: anywhere;\n }\n :is(.wu-picklist-striped, .wu-orderlist-striped) .wu-picklist-item:nth-child(even) {\n background: var(--wu-picklist-item-stripe-bg);\n }\n .wu-picklist-item:hover {\n background: var(--wu-select-option-hover-bg);\n }\n .wu-picklist-item.wu-picklist-item-selected {\n background: var(--wu-select-option-selected-bg);\n color: var(--wu-select-option-selected-color);\n }\n .wu-picklist-list:focus-visible .wu-picklist-item-focused {\n outline: var(--wu-control-focus-outline);\n outline-offset: -2px;\n }\n .wu-picklist-list:focus-visible:not(:has(.wu-picklist-item)) {\n box-shadow: inset 0 0 0 2px var(--wu-primary-color);\n }\n .wu-picklist-empty {\n padding: var(--wu-picklist-item-padding);\n color: var(--wu-text-muted);\n cursor: default;\n }\n :is(.wu-picklist-disabled, .wu-orderlist-disabled) .wu-picklist-box {\n opacity: var(--wu-disabled-opacity);\n }\n :is(.wu-picklist-disabled, .wu-orderlist-disabled) .wu-picklist-item {\n cursor: default;\n }\n :is(.wu-picklist-disabled, .wu-orderlist-disabled) .wu-picklist-item:hover:not(.wu-picklist-item-selected) {\n background: none;\n }\n\n /* ---------- drag and drop ---------- */\n /* A finger scrolls the list vertically; a press-and-hold picks the item up. */\n :is(.wu-picklist-dragdrop, .wu-orderlist-dragdrop) .wu-picklist-item {\n touch-action: pan-y;\n }\n .wu-list-dragging,\n .wu-list-dragging * {\n cursor: grabbing;\n }\n .wu-list-dragover {\n background: color-mix(in srgb, var(--wu-primary-color) 4%, var(--wu-card-bg));\n }\n .wu-list-drop-into {\n box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--wu-primary-color) 60%, transparent);\n }\n .wu-list-drop-before::before,\n .wu-list-drop-after::after {\n content: '';\n position: absolute;\n right: 0.25rem;\n left: 0.25rem;\n height: 2px;\n border-radius: 1px;\n background: var(--wu-primary-color);\n pointer-events: none;\n }\n .wu-list-drop-before::before {\n top: calc(-1px - var(--wu-picklist-item-gap) / 2);\n }\n .wu-list-drop-after::after {\n bottom: calc(-1px - var(--wu-picklist-item-gap) / 2);\n }\n .wu-list-drag-ghost {\n position: fixed;\n inset: 0 auto auto 0;\n z-index: 10000;\n box-sizing: border-box;\n height: auto;\n margin: 0;\n border: 1px solid var(--wu-border);\n border-radius: var(--wu-radius-md);\n background: var(--wu-card-bg);\n color: var(--wu-text);\n box-shadow: var(--wu-shadow-md);\n list-style: none;\n opacity: 0.95;\n overflow: visible;\n pointer-events: none;\n }\n .wu-list-drag-ghost.wu-picklist-item-selected {\n background: color-mix(in srgb, var(--wu-select-option-selected-bg) 100%, var(--wu-card-bg));\n }\n .wu-list-drag-count {\n position: absolute;\n top: -0.5rem;\n right: -0.5rem;\n display: grid;\n place-items: center;\n box-sizing: border-box;\n min-width: 1.375rem;\n height: 1.375rem;\n padding: 0 0.375rem;\n border-radius: var(--wu-radius-full);\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 @media (prefers-reduced-motion: reduce) {\n .wu-picklist-item {\n transition: none;\n }\n }\n}\n";
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Generated bundle index. Do not edit.
|
|
951
|
+
*/
|
|
952
|
+
|
|
953
|
+
export { WuPickList, WuPickListModule, WU_PICKLIST_CSS as ɵWU_PICKLIST_CSS, ɵWuListDrag, ɵWuPickListBase, ɵlistItemLabel };
|
|
954
|
+
//# sourceMappingURL=wirabyte-ui-picklist.mjs.map
|