@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,951 @@
|
|
|
1
|
+
import { DOCUMENT, NgIf, NgFor, NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { TemplateRef, EventEmitter, inject, ChangeDetectorRef, ElementRef, forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, Output, ContentChildren, ContentChild, ViewChild, HostListener, NgModule } from '@angular/core';
|
|
4
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
+
import { ɵtoBool, ɵsize, ɵuniqueId, WuConfig, ɵassertSupportedAngular, ɵWU_SKIP_VERSION_CHECK, ɵWuStyleLoader, ɵfindTemplate, ɵWuPopup, ɵfocusable, WuTemplate } from '@wirabyte/ui/config';
|
|
6
|
+
import { toDate, DatePickerState, readTimeField, classicDateFormat, sameDay } from '@wirabyte/ui/core';
|
|
7
|
+
import { ɵWU_INPUTTEXT_CSS } from '@wirabyte/ui/inputtext';
|
|
8
|
+
|
|
9
|
+
const PHONE = '(max-width: 575.98px)';
|
|
10
|
+
const template = (v) => (v instanceof TemplateRef ? v : null);
|
|
11
|
+
const toDates = (v) => (Array.isArray(v) ? v.map(toDate).filter((d) => !!d) : null);
|
|
12
|
+
const toNumber = (v) => (v === null || v === undefined || v === '' || isNaN(Number(v)) ? null : Number(v));
|
|
13
|
+
/** A comparable key for a value, so typing the same date again does not fire a change. */
|
|
14
|
+
const valueKey = (v) => (Array.isArray(v) ? v.map(valueKey).join('|') : v instanceof Date ? String(v.getTime()) : '');
|
|
15
|
+
/** `"2000:2030"` → [2000, 2030]; years typed in พ.ศ. (2300 and up) are read as such. */
|
|
16
|
+
function yearRange(v, calendar) {
|
|
17
|
+
const m = /^\s*(\d{4})\s*:\s*(\d{4})\s*$/.exec(v || '');
|
|
18
|
+
if (!m)
|
|
19
|
+
return null;
|
|
20
|
+
const ce = (y) => (calendar === 'buddhist' && y >= 2300 ? y - 543 : y);
|
|
21
|
+
return [ce(+m[1]), ce(+m[2])];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Date and time field: `<wu-datepicker [(ngModel)]="due" dateFormat="dd/mm/yy" showIcon>`.
|
|
25
|
+
* The model is a Date (Date[] for `selectionMode` multiple and range), or text in `dateFormat` with `dataType="string"`.
|
|
26
|
+
* Years show in พ.ศ. by default (`calendar`, or `isBudhistYear`). `showTime` adds hour and minute fields (and seconds
|
|
27
|
+
* with `showSeconds`) that take up / down buttons, arrow keys and typing; `readonlyInput` locks the main field and
|
|
28
|
+
* `timeReadonlyInput` locks the time fields, separately. Opens in the top layer: no appendTo needed.
|
|
29
|
+
*/
|
|
30
|
+
class WuDatePicker {
|
|
31
|
+
set minDate(v) { this._minDate = toDate(v); }
|
|
32
|
+
set maxDate(v) { this._maxDate = toDate(v); }
|
|
33
|
+
set disabledDates(v) { this._disabledDates = toDates(v); }
|
|
34
|
+
set maxDateCount(v) { this._maxDateCount = toNumber(v); }
|
|
35
|
+
/** Month shown when nothing is picked yet. */
|
|
36
|
+
set defaultDate(v) { this._defaultDate = toDate(v); }
|
|
37
|
+
set firstDayOfWeek(v) { this._firstDayOfWeek = toNumber(v); }
|
|
38
|
+
set showOtherMonths(v) { this._showOtherMonths = v === undefined || ɵtoBool(v); }
|
|
39
|
+
get showOtherMonths() { return this._showOtherMonths; }
|
|
40
|
+
set selectOtherMonths(v) { this._selectOtherMonths = v === undefined || ɵtoBool(v); }
|
|
41
|
+
/** `true` is `calendar="buddhist"`, `false` is `calendar="gregorian"`. Both spellings work. */
|
|
42
|
+
set isBudhistYear(v) { this._buddhist = ɵtoBool(v); }
|
|
43
|
+
set isBuddhistYear(v) { this._buddhist = ɵtoBool(v); }
|
|
44
|
+
/** Keep text that does not parse in the field on blur, instead of putting back the current value. */
|
|
45
|
+
set keepInvalid(v) { this._keepInvalid = ɵtoBool(v); }
|
|
46
|
+
// ---------- time ----------
|
|
47
|
+
set showTime(v) { this._showTime = ɵtoBool(v); }
|
|
48
|
+
get showTime() { return this._showTime; }
|
|
49
|
+
set timeOnly(v) { this._timeOnly = ɵtoBool(v); }
|
|
50
|
+
get timeOnly() { return this._timeOnly; }
|
|
51
|
+
set showSeconds(v) { this._showSeconds = ɵtoBool(v); }
|
|
52
|
+
get showSeconds() { return this._showSeconds; }
|
|
53
|
+
set hourFormat(v) { this._hourFormat = String(v) === '12' ? '12' : '24'; }
|
|
54
|
+
get hourFormat() { return this._hourFormat; }
|
|
55
|
+
set stepHour(v) { this._stepHour = toNumber(v) || 1; }
|
|
56
|
+
set stepMinute(v) { this._stepMinute = toNumber(v) || 1; }
|
|
57
|
+
set stepSecond(v) { this._stepSecond = toNumber(v) || 1; }
|
|
58
|
+
/** Close after a date is picked even when there is a time to set. Default false: the panel stays for the time. */
|
|
59
|
+
set hideOnDateTimeSelect(v) { this._hideOnDateTimeSelect = ɵtoBool(v); }
|
|
60
|
+
// ---------- the field ----------
|
|
61
|
+
/** No typing in the main field: dates come from the calendar only. */
|
|
62
|
+
set readonlyInput(v) { this._readonlyInput = ɵtoBool(v); }
|
|
63
|
+
get readonlyInput() { return this._readonlyInput; }
|
|
64
|
+
set readOnlyInput(v) { this._readonlyInput = ɵtoBool(v); }
|
|
65
|
+
/** No typing in the hour, minute and second fields; their up / down buttons and arrow keys still work. */
|
|
66
|
+
set timeReadonlyInput(v) { this._timeReadonlyInput = ɵtoBool(v); }
|
|
67
|
+
get timeReadonlyInput() { return this._timeReadonlyInput; }
|
|
68
|
+
set timeReadOnlyInput(v) { this._timeReadonlyInput = ɵtoBool(v); }
|
|
69
|
+
set disabled(v) { this._disabled = ɵtoBool(v); }
|
|
70
|
+
set invalid(v) { this._invalid = ɵtoBool(v); }
|
|
71
|
+
get sizeSm() {
|
|
72
|
+
return this.sizeKey === 'sm';
|
|
73
|
+
}
|
|
74
|
+
get sizeLg() {
|
|
75
|
+
return this.sizeKey === 'lg';
|
|
76
|
+
}
|
|
77
|
+
get sizeKey() {
|
|
78
|
+
return ɵsize(this.size);
|
|
79
|
+
}
|
|
80
|
+
get invalid() { return this._invalid; }
|
|
81
|
+
set required(v) { this._required = ɵtoBool(v); }
|
|
82
|
+
get required() { return this._required; }
|
|
83
|
+
set fluid(v) { this._fluid = ɵtoBool(v); }
|
|
84
|
+
/** Open when the field gets focus. Default true. */
|
|
85
|
+
set showOnFocus(v) { this._showOnFocus = v === undefined || ɵtoBool(v); }
|
|
86
|
+
set showIcon(v) { this._showIcon = ɵtoBool(v); }
|
|
87
|
+
get showIcon() { return this._showIcon; }
|
|
88
|
+
set showButtonBar(v) { this._showButtonBar = ɵtoBool(v); }
|
|
89
|
+
get showButtonBar() { return this._showButtonBar; }
|
|
90
|
+
/** A × in the field that empties it. */
|
|
91
|
+
set showClear(v) { this._showClear = ɵtoBool(v); }
|
|
92
|
+
/** The calendar on the page, without a field. */
|
|
93
|
+
set inline(v) { this._inline = ɵtoBool(v); }
|
|
94
|
+
get inline() { return this._inline; }
|
|
95
|
+
/** A centred calendar with a backdrop on every screen. Phones always get a bottom sheet. */
|
|
96
|
+
set touchUI(v) { this._touchUI = ɵtoBool(v); }
|
|
97
|
+
get fluidClass() {
|
|
98
|
+
return this._fluid;
|
|
99
|
+
}
|
|
100
|
+
get filled() {
|
|
101
|
+
return this.state.dates.length > 0;
|
|
102
|
+
}
|
|
103
|
+
get focusClass() {
|
|
104
|
+
return this.focused || this.open;
|
|
105
|
+
}
|
|
106
|
+
constructor() {
|
|
107
|
+
var _a;
|
|
108
|
+
// ---------- what can be picked ----------
|
|
109
|
+
this.selectionMode = 'single';
|
|
110
|
+
/** The smallest thing picked: `'month'` or `'year'` make a month or year picker. */
|
|
111
|
+
this.view = 'date';
|
|
112
|
+
/** Weekdays that cannot be picked, 0 = Sunday. */
|
|
113
|
+
this.disabledDays = null;
|
|
114
|
+
this.dataType = 'date';
|
|
115
|
+
this.iconDisplay = 'button';
|
|
116
|
+
/** A date was picked, or the time of the picked date changed. */
|
|
117
|
+
this.onSelect = new EventEmitter();
|
|
118
|
+
this.onInput = new EventEmitter();
|
|
119
|
+
this.onFocus = new EventEmitter();
|
|
120
|
+
this.onBlur = new EventEmitter();
|
|
121
|
+
this.onShow = new EventEmitter();
|
|
122
|
+
this.onClose = new EventEmitter();
|
|
123
|
+
/** The × in the field emptied it. */
|
|
124
|
+
this.onClear = new EventEmitter();
|
|
125
|
+
this.onTodayClick = new EventEmitter();
|
|
126
|
+
this.onClearClick = new EventEmitter();
|
|
127
|
+
this.onMonthChange = new EventEmitter();
|
|
128
|
+
this.onYearChange = new EventEmitter();
|
|
129
|
+
this.state = new DatePickerState();
|
|
130
|
+
this.open = false;
|
|
131
|
+
this.focused = false;
|
|
132
|
+
this.weeks = [];
|
|
133
|
+
this.months = [];
|
|
134
|
+
this.years = [];
|
|
135
|
+
this.weekdays = [];
|
|
136
|
+
/** What the field shows: the value, or the text being typed. */
|
|
137
|
+
this.inputText = '';
|
|
138
|
+
this.panelId = ɵuniqueId('wu-datepicker-panel');
|
|
139
|
+
this.trackIndex = (i) => i;
|
|
140
|
+
this._minDate = null;
|
|
141
|
+
this._maxDate = null;
|
|
142
|
+
this._disabledDates = null;
|
|
143
|
+
this._maxDateCount = null;
|
|
144
|
+
this._defaultDate = null;
|
|
145
|
+
this._firstDayOfWeek = null;
|
|
146
|
+
this._showOtherMonths = true;
|
|
147
|
+
this._selectOtherMonths = true;
|
|
148
|
+
this._buddhist = null;
|
|
149
|
+
this._keepInvalid = false;
|
|
150
|
+
this._showTime = false;
|
|
151
|
+
this._timeOnly = false;
|
|
152
|
+
this._showSeconds = false;
|
|
153
|
+
this._hourFormat = '24';
|
|
154
|
+
this._stepHour = 1;
|
|
155
|
+
this._stepMinute = 1;
|
|
156
|
+
this._stepSecond = 1;
|
|
157
|
+
this._hideOnDateTimeSelect = false;
|
|
158
|
+
this._readonlyInput = false;
|
|
159
|
+
this._timeReadonlyInput = false;
|
|
160
|
+
this._disabled = false;
|
|
161
|
+
this._invalid = false;
|
|
162
|
+
this._required = false;
|
|
163
|
+
this._fluid = false;
|
|
164
|
+
this._showOnFocus = true;
|
|
165
|
+
this._showIcon = false;
|
|
166
|
+
this._showButtonBar = false;
|
|
167
|
+
this._showClear = false;
|
|
168
|
+
this._inline = false;
|
|
169
|
+
this._touchUI = false;
|
|
170
|
+
this.formDisabled = false;
|
|
171
|
+
this.typing = false;
|
|
172
|
+
this.skipFocusOpen = false;
|
|
173
|
+
this.timeDraft = null;
|
|
174
|
+
/** The time field was just focused or stepped: the next digit replaces it instead of adding to it. */
|
|
175
|
+
this.timeFresh = false;
|
|
176
|
+
this.popup = null;
|
|
177
|
+
this.repeat = null;
|
|
178
|
+
this.autoId = ɵuniqueId('wu-datepicker');
|
|
179
|
+
this.config = inject(WuConfig);
|
|
180
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
181
|
+
this.host = inject(ElementRef).nativeElement;
|
|
182
|
+
this.doc = inject(DOCUMENT);
|
|
183
|
+
this.phone = ((_a = this.doc.defaultView) === null || _a === void 0 ? void 0 : _a.matchMedia) ? this.doc.defaultView.matchMedia(PHONE) : null;
|
|
184
|
+
this.i18n = this.config.translationChange.subscribe(() => {
|
|
185
|
+
this.configure();
|
|
186
|
+
this.refresh();
|
|
187
|
+
this.cdr.markForCheck();
|
|
188
|
+
});
|
|
189
|
+
this.onModelChange = () => { };
|
|
190
|
+
this.onTouched = () => { };
|
|
191
|
+
// ---------- template helpers ----------
|
|
192
|
+
/** Context of the icon templates: `let-clickCallBack="clickCallBack"`, then `(click)="clickCallBack($event)"` opens or closes. */
|
|
193
|
+
this.iconContext = { clickCallBack: () => this.toggle() };
|
|
194
|
+
ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));
|
|
195
|
+
inject(ɵWuStyleLoader).load('inputtext', ɵWU_INPUTTEXT_CSS);
|
|
196
|
+
}
|
|
197
|
+
ngOnChanges() {
|
|
198
|
+
this.configure();
|
|
199
|
+
this.refresh();
|
|
200
|
+
}
|
|
201
|
+
ngOnInit() {
|
|
202
|
+
this.configure();
|
|
203
|
+
if (this._inline)
|
|
204
|
+
this.state.open(this._defaultDate);
|
|
205
|
+
this.refresh();
|
|
206
|
+
}
|
|
207
|
+
ngOnDestroy() {
|
|
208
|
+
var _a;
|
|
209
|
+
this.i18n.unsubscribe();
|
|
210
|
+
this.stopRepeat();
|
|
211
|
+
(_a = this.popup) === null || _a === void 0 ? void 0 : _a.close();
|
|
212
|
+
}
|
|
213
|
+
/** `<ng-template wuTemplate="inputicon">` (or `#inputicon`): the icon inside the field. */
|
|
214
|
+
get inputIconTemplate() {
|
|
215
|
+
return template(this.inputIconRef) || ɵfindTemplate(this.templates, 'inputicon');
|
|
216
|
+
}
|
|
217
|
+
/** `<ng-template wuTemplate="triggericon">`: the icon of the button beside the field. */
|
|
218
|
+
get triggerIconTemplate() {
|
|
219
|
+
return template(this.triggerIconRef) || ɵfindTemplate(this.templates, 'triggericon');
|
|
220
|
+
}
|
|
221
|
+
/** `<ng-template wuTemplate="date" let-date>`: what a day cell shows (`date.day`, `.month`, `.year`, `.today`, `.selectable`). */
|
|
222
|
+
get dateTemplate() {
|
|
223
|
+
return template(this.dateRef) || template(this.dayRef) || ɵfindTemplate(this.templates, 'date') || ɵfindTemplate(this.templates, 'day');
|
|
224
|
+
}
|
|
225
|
+
get t() {
|
|
226
|
+
return this.config.translation;
|
|
227
|
+
}
|
|
228
|
+
get id() {
|
|
229
|
+
return this.inputId || this.autoId;
|
|
230
|
+
}
|
|
231
|
+
get isDisabled() {
|
|
232
|
+
return this._disabled || this.formDisabled;
|
|
233
|
+
}
|
|
234
|
+
get hasDropdown() {
|
|
235
|
+
return this._showIcon && this.iconDisplay !== 'input';
|
|
236
|
+
}
|
|
237
|
+
get hasInputIcon() {
|
|
238
|
+
return this._showIcon && this.iconDisplay === 'input';
|
|
239
|
+
}
|
|
240
|
+
get hasClear() {
|
|
241
|
+
return this._showClear && !this.isDisabled && this.state.dates.length > 0;
|
|
242
|
+
}
|
|
243
|
+
/** Phones pick from the bottom sheet, so the field does not raise the on-screen keyboard. */
|
|
244
|
+
get touchLayout() {
|
|
245
|
+
return !!this.phone && this.phone.matches;
|
|
246
|
+
}
|
|
247
|
+
get previousLabel() {
|
|
248
|
+
return this.state.view === 'date' ? this.t.previousMonth : this.state.view === 'month' ? this.t.previousYear : this.t.previousDecade;
|
|
249
|
+
}
|
|
250
|
+
get nextLabel() {
|
|
251
|
+
return this.state.view === 'date' ? this.t.nextMonth : this.state.view === 'month' ? this.t.nextYear : this.t.nextDecade;
|
|
252
|
+
}
|
|
253
|
+
get timeUnits() {
|
|
254
|
+
return this._showSeconds ? ['hour', 'minute', 'second'] : ['hour', 'minute'];
|
|
255
|
+
}
|
|
256
|
+
timeText(unit) {
|
|
257
|
+
return this.timeDraft && this.timeDraft.unit === unit ? this.timeDraft.text : this.state.timeText(unit);
|
|
258
|
+
}
|
|
259
|
+
timeMax(unit) {
|
|
260
|
+
return unit === 'hour' ? (this._hourFormat === '12' ? 12 : 23) : 59;
|
|
261
|
+
}
|
|
262
|
+
// ---------- opening and closing ----------
|
|
263
|
+
show() {
|
|
264
|
+
var _a;
|
|
265
|
+
if (this._inline || this.open || this.isDisabled)
|
|
266
|
+
return;
|
|
267
|
+
this.state.open(this._defaultDate);
|
|
268
|
+
this.open = true;
|
|
269
|
+
this.refresh();
|
|
270
|
+
this.cdr.detectChanges();
|
|
271
|
+
const panel = (_a = this.panelRef) === null || _a === void 0 ? void 0 : _a.nativeElement;
|
|
272
|
+
if (!panel)
|
|
273
|
+
return;
|
|
274
|
+
this.popup = new ɵWuPopup(this.rootRef.nativeElement, panel, {
|
|
275
|
+
touch: this._touchUI,
|
|
276
|
+
sheetClass: 'wu-datepicker-sheet',
|
|
277
|
+
modalClass: 'wu-datepicker-modal',
|
|
278
|
+
onOutside: () => this.hide(),
|
|
279
|
+
});
|
|
280
|
+
this.popup.open();
|
|
281
|
+
this.onShow.emit();
|
|
282
|
+
}
|
|
283
|
+
hide() {
|
|
284
|
+
var _a;
|
|
285
|
+
if (!this.open)
|
|
286
|
+
return;
|
|
287
|
+
this.stopRepeat();
|
|
288
|
+
this.flushTimeDraft();
|
|
289
|
+
(_a = this.popup) === null || _a === void 0 ? void 0 : _a.close();
|
|
290
|
+
this.popup = null;
|
|
291
|
+
this.open = false;
|
|
292
|
+
this.timeDraft = null;
|
|
293
|
+
this.typing = false;
|
|
294
|
+
if (!this._keepInvalid)
|
|
295
|
+
this.inputText = this.state.text();
|
|
296
|
+
this.cdr.markForCheck();
|
|
297
|
+
this.onClose.emit();
|
|
298
|
+
}
|
|
299
|
+
toggle() {
|
|
300
|
+
if (this.open) {
|
|
301
|
+
this.hide();
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
this.focusInput();
|
|
305
|
+
this.show();
|
|
306
|
+
}
|
|
307
|
+
// ---------- the field ----------
|
|
308
|
+
inputFocus(event) {
|
|
309
|
+
this.focused = true;
|
|
310
|
+
this.onFocus.emit(event);
|
|
311
|
+
if (this._showOnFocus && !this.skipFocusOpen)
|
|
312
|
+
this.show();
|
|
313
|
+
this.skipFocusOpen = false;
|
|
314
|
+
}
|
|
315
|
+
inputBlur(event) {
|
|
316
|
+
this.focused = false;
|
|
317
|
+
this.onBlur.emit(event);
|
|
318
|
+
if (this.typing && !this.open) {
|
|
319
|
+
this.typing = false;
|
|
320
|
+
if (!this._keepInvalid)
|
|
321
|
+
this.inputText = this.state.text();
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
typed(event) {
|
|
325
|
+
const text = event.target.value;
|
|
326
|
+
this.typing = true;
|
|
327
|
+
this.inputText = text;
|
|
328
|
+
const r = this.state.parse(text);
|
|
329
|
+
if (r.ok && valueKey(r.value) !== valueKey(this.state.value)) {
|
|
330
|
+
this.state.setValue(r.value);
|
|
331
|
+
this.onModelChange(this.modelValue());
|
|
332
|
+
this.refresh(false);
|
|
333
|
+
}
|
|
334
|
+
this.onInput.emit(event);
|
|
335
|
+
}
|
|
336
|
+
inputKeydown(event) {
|
|
337
|
+
switch (event.key) {
|
|
338
|
+
case 'ArrowDown':
|
|
339
|
+
if (!this.open)
|
|
340
|
+
this.show();
|
|
341
|
+
if (this.open) {
|
|
342
|
+
event.preventDefault();
|
|
343
|
+
this.focusCell();
|
|
344
|
+
}
|
|
345
|
+
break;
|
|
346
|
+
case 'Escape':
|
|
347
|
+
if (this.open) {
|
|
348
|
+
event.preventDefault();
|
|
349
|
+
event.stopPropagation();
|
|
350
|
+
this.hide();
|
|
351
|
+
}
|
|
352
|
+
break;
|
|
353
|
+
case 'Enter':
|
|
354
|
+
if (this.open) {
|
|
355
|
+
event.preventDefault();
|
|
356
|
+
this.hide();
|
|
357
|
+
}
|
|
358
|
+
break;
|
|
359
|
+
case 'Tab':
|
|
360
|
+
// Hides at once, so this Tab goes to the next field instead of into the calendar.
|
|
361
|
+
this.hide();
|
|
362
|
+
break;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
clearField() {
|
|
366
|
+
if (this.state.clear())
|
|
367
|
+
this.commit();
|
|
368
|
+
this.onClear.emit();
|
|
369
|
+
this.refresh();
|
|
370
|
+
this.focusInput();
|
|
371
|
+
}
|
|
372
|
+
focusOut(event) {
|
|
373
|
+
const next = event.relatedTarget;
|
|
374
|
+
if (next && this.host.contains(next))
|
|
375
|
+
return;
|
|
376
|
+
// Wait for focus to land: switching windows blurs without moving focus anywhere.
|
|
377
|
+
setTimeout(() => {
|
|
378
|
+
if (this.host.contains(this.doc.activeElement))
|
|
379
|
+
return;
|
|
380
|
+
this.onTouched();
|
|
381
|
+
this.hide();
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
// ---------- the panel ----------
|
|
385
|
+
/**
|
|
386
|
+
* Only the time fields and grid cells take focus from a click. Buttons and empty space keep it where it is:
|
|
387
|
+
* Safari does not focus a clicked button, so focus would fall to the page and read as leaving the calendar.
|
|
388
|
+
*/
|
|
389
|
+
panelMousedown(event) {
|
|
390
|
+
const t = event.target;
|
|
391
|
+
if (!t.closest('input, .wu-datepicker-cell'))
|
|
392
|
+
event.preventDefault();
|
|
393
|
+
}
|
|
394
|
+
panelKeydown(event) {
|
|
395
|
+
var _a;
|
|
396
|
+
if (event.key === 'Escape' && !this._inline) {
|
|
397
|
+
event.preventDefault();
|
|
398
|
+
event.stopPropagation();
|
|
399
|
+
this.hide();
|
|
400
|
+
this.focusInput();
|
|
401
|
+
}
|
|
402
|
+
else if (event.key === 'Tab' && !this._inline && this.panelRef) {
|
|
403
|
+
// Tab cycles inside the open calendar; Escape leaves it.
|
|
404
|
+
const items = ɵfocusable(this.panelRef.nativeElement);
|
|
405
|
+
const at = items.indexOf(this.doc.activeElement);
|
|
406
|
+
const last = items.length - 1;
|
|
407
|
+
if (event.shiftKey ? at <= 0 : at === last) {
|
|
408
|
+
event.preventDefault();
|
|
409
|
+
(_a = items[event.shiftKey ? last : 0]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
go(direction) {
|
|
414
|
+
this.navigate(() => this.state.go(direction));
|
|
415
|
+
// Reaching minDate or maxDate disables the arrow just pressed. The browser then drops its focus, which would
|
|
416
|
+
// read as leaving the calendar and close it, so focus moves to the grid instead.
|
|
417
|
+
this.cdr.detectChanges();
|
|
418
|
+
const active = this.doc.activeElement;
|
|
419
|
+
if (!active || active === this.doc.body || active.disabled)
|
|
420
|
+
this.focusCell();
|
|
421
|
+
}
|
|
422
|
+
showView(view) {
|
|
423
|
+
this.navigate(() => this.state.showView(view));
|
|
424
|
+
this.cdr.detectChanges();
|
|
425
|
+
this.focusCell();
|
|
426
|
+
}
|
|
427
|
+
gridKeydown(event) {
|
|
428
|
+
if (this.isDisabled)
|
|
429
|
+
return;
|
|
430
|
+
const before = this.viewKey();
|
|
431
|
+
const r = this.state.key(event.key, event.shiftKey);
|
|
432
|
+
if (!r.handled)
|
|
433
|
+
return;
|
|
434
|
+
event.preventDefault();
|
|
435
|
+
if (r.result) {
|
|
436
|
+
this.afterPick(r.result, before);
|
|
437
|
+
return;
|
|
438
|
+
}
|
|
439
|
+
this.refresh();
|
|
440
|
+
this.emitNavigation(before);
|
|
441
|
+
this.cdr.detectChanges();
|
|
442
|
+
this.focusCell();
|
|
443
|
+
}
|
|
444
|
+
pickDay(cell) {
|
|
445
|
+
if (!cell.selectable || this.isDisabled)
|
|
446
|
+
return;
|
|
447
|
+
const before = this.viewKey();
|
|
448
|
+
this.afterPick(this.state.pickDay(cell.date), before);
|
|
449
|
+
}
|
|
450
|
+
pickMonth(cell) {
|
|
451
|
+
if (!cell.selectable || this.isDisabled)
|
|
452
|
+
return;
|
|
453
|
+
const before = this.viewKey();
|
|
454
|
+
this.afterPick(this.state.pickMonth(cell.month), before);
|
|
455
|
+
}
|
|
456
|
+
pickYear(cell) {
|
|
457
|
+
if (!cell.selectable || this.isDisabled)
|
|
458
|
+
return;
|
|
459
|
+
const before = this.viewKey();
|
|
460
|
+
this.afterPick(this.state.pickYear(cell.year), before);
|
|
461
|
+
}
|
|
462
|
+
today(event) {
|
|
463
|
+
const before = this.viewKey();
|
|
464
|
+
this.afterPick(this.state.pickToday(), before);
|
|
465
|
+
this.onTodayClick.emit(event);
|
|
466
|
+
}
|
|
467
|
+
clearAll(event) {
|
|
468
|
+
if (this.state.clear())
|
|
469
|
+
this.commit();
|
|
470
|
+
this.refresh();
|
|
471
|
+
this.onClearClick.emit(event);
|
|
472
|
+
if (!this._inline) {
|
|
473
|
+
this.hide();
|
|
474
|
+
this.focusInput();
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
// ---------- time ----------
|
|
478
|
+
timeFocus(unit, event) {
|
|
479
|
+
this.timeDraft = { unit, text: this.state.timeText(unit) };
|
|
480
|
+
this.timeFresh = true;
|
|
481
|
+
event.target.select();
|
|
482
|
+
}
|
|
483
|
+
timeTyped(unit, event) {
|
|
484
|
+
const el = event.target;
|
|
485
|
+
if (this._timeReadonlyInput || this.isDisabled)
|
|
486
|
+
return;
|
|
487
|
+
this.timeFresh = false;
|
|
488
|
+
const text = el.value.replace(/[^0-9๐-๙]/g, '').slice(0, 2);
|
|
489
|
+
if (el.value !== text)
|
|
490
|
+
el.value = text;
|
|
491
|
+
this.timeDraft = { unit, text };
|
|
492
|
+
const r = readTimeField(text, unit, this._hourFormat);
|
|
493
|
+
if (r.value !== null)
|
|
494
|
+
this.changeTime(() => this.state.setTimeField(unit, r.value));
|
|
495
|
+
if (r.complete)
|
|
496
|
+
this.focusNextTime(el);
|
|
497
|
+
}
|
|
498
|
+
timeBlur(unit) {
|
|
499
|
+
if (this.timeDraft && this.timeDraft.unit === unit)
|
|
500
|
+
this.flushTimeDraft();
|
|
501
|
+
this.cdr.markForCheck();
|
|
502
|
+
}
|
|
503
|
+
timeKeydown(unit, event) {
|
|
504
|
+
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
505
|
+
event.preventDefault();
|
|
506
|
+
this.stepTime(unit, event.key === 'ArrowUp' ? 1 : -1);
|
|
507
|
+
this.timeFresh = true;
|
|
508
|
+
}
|
|
509
|
+
else if (/^[0-9๐-๙]$/.test(event.key) && this.timeFresh && !this._timeReadonlyInput && !event.ctrlKey && !event.metaKey && !event.altKey) {
|
|
510
|
+
// The first digit replaces the field, like a native time field. Done here rather than through the
|
|
511
|
+
// selection, which WebKit can drop between focus and the first key.
|
|
512
|
+
event.preventDefault();
|
|
513
|
+
event.target.value = event.key;
|
|
514
|
+
this.timeTyped(unit, event);
|
|
515
|
+
}
|
|
516
|
+
else if (event.key === 'Enter' && !this._inline) {
|
|
517
|
+
event.preventDefault();
|
|
518
|
+
this.hide();
|
|
519
|
+
this.focusInput();
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
stepTime(unit, direction) {
|
|
523
|
+
this.changeTime(() => this.state.stepTime(unit, direction));
|
|
524
|
+
if (this.timeDraft && this.timeDraft.unit === unit)
|
|
525
|
+
this.timeDraft = { unit, text: this.state.timeText(unit) };
|
|
526
|
+
// Keep the stepped field selected so typing replaces it. Render first: writing the value drops a selection.
|
|
527
|
+
const active = this.doc.activeElement;
|
|
528
|
+
if (active && active.classList.contains('wu-datepicker-time-input') && active.getAttribute('data-unit') === unit) {
|
|
529
|
+
this.cdr.detectChanges();
|
|
530
|
+
active.select();
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
/** Press and hold an up / down button to keep stepping. */
|
|
534
|
+
startRepeat(event, unit, direction) {
|
|
535
|
+
if (event.button !== 0 || this.isDisabled)
|
|
536
|
+
return;
|
|
537
|
+
event.preventDefault();
|
|
538
|
+
this.stopRepeat();
|
|
539
|
+
this.stepTime(unit, direction);
|
|
540
|
+
const again = (delay) => {
|
|
541
|
+
this.repeat = setTimeout(() => {
|
|
542
|
+
this.stepTime(unit, direction);
|
|
543
|
+
again(80);
|
|
544
|
+
}, delay);
|
|
545
|
+
};
|
|
546
|
+
again(400);
|
|
547
|
+
}
|
|
548
|
+
stopRepeat() {
|
|
549
|
+
if (this.repeat)
|
|
550
|
+
clearTimeout(this.repeat);
|
|
551
|
+
this.repeat = null;
|
|
552
|
+
}
|
|
553
|
+
togglePeriod() {
|
|
554
|
+
this.changeTime(() => this.state.setPm(!this.state.pm));
|
|
555
|
+
}
|
|
556
|
+
periodKeydown(event) {
|
|
557
|
+
const key = event.key.toLowerCase();
|
|
558
|
+
if (event.key === 'ArrowUp' || event.key === 'ArrowDown') {
|
|
559
|
+
event.preventDefault();
|
|
560
|
+
this.togglePeriod();
|
|
561
|
+
}
|
|
562
|
+
else if (key === 'a' || key === 'p') {
|
|
563
|
+
this.changeTime(() => this.state.setPm(key === 'p'));
|
|
564
|
+
}
|
|
565
|
+
else if (event.key === 'Enter' && !this._inline) {
|
|
566
|
+
event.preventDefault();
|
|
567
|
+
this.hide();
|
|
568
|
+
this.focusInput();
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
// ---------- forms ----------
|
|
572
|
+
writeValue(value) {
|
|
573
|
+
if (this.dataType === 'string' && typeof value === 'string' && value.trim()) {
|
|
574
|
+
const r = this.state.parse(value, false);
|
|
575
|
+
this.state.setValue(r.ok ? r.value : value);
|
|
576
|
+
}
|
|
577
|
+
else {
|
|
578
|
+
this.state.setValue(value);
|
|
579
|
+
}
|
|
580
|
+
this.typing = false;
|
|
581
|
+
this.refresh();
|
|
582
|
+
this.cdr.markForCheck();
|
|
583
|
+
}
|
|
584
|
+
registerOnChange(fn) {
|
|
585
|
+
this.onModelChange = fn;
|
|
586
|
+
}
|
|
587
|
+
registerOnTouched(fn) {
|
|
588
|
+
this.onTouched = fn;
|
|
589
|
+
}
|
|
590
|
+
setDisabledState(disabled) {
|
|
591
|
+
this.formDisabled = disabled;
|
|
592
|
+
if (disabled)
|
|
593
|
+
this.hide();
|
|
594
|
+
this.cdr.markForCheck();
|
|
595
|
+
}
|
|
596
|
+
// ---------- internals ----------
|
|
597
|
+
configure() {
|
|
598
|
+
var _a;
|
|
599
|
+
const calendar = this.calendar || (this._buddhist === null ? this.config.calendar : this._buddhist ? 'buddhist' : 'gregorian');
|
|
600
|
+
this.state.configure({
|
|
601
|
+
selectionMode: this.selectionMode,
|
|
602
|
+
view: this.view,
|
|
603
|
+
minDate: this._minDate,
|
|
604
|
+
maxDate: this._maxDate,
|
|
605
|
+
disabledDates: this._disabledDates,
|
|
606
|
+
disabledDays: this.disabledDays,
|
|
607
|
+
maxDateCount: this._maxDateCount,
|
|
608
|
+
firstDayOfWeek: (_a = this._firstDayOfWeek) !== null && _a !== void 0 ? _a : undefined,
|
|
609
|
+
selectOtherMonths: this._selectOtherMonths && this._showOtherMonths,
|
|
610
|
+
yearRange: yearRange(this.yearRange, calendar),
|
|
611
|
+
calendar,
|
|
612
|
+
locale: this.t,
|
|
613
|
+
dateFormat: this.dateFormat ? classicDateFormat(this.dateFormat) : undefined,
|
|
614
|
+
showTime: this._showTime,
|
|
615
|
+
timeOnly: this._timeOnly,
|
|
616
|
+
showSeconds: this._showSeconds,
|
|
617
|
+
hourFormat: this._hourFormat,
|
|
618
|
+
stepHour: this._stepHour,
|
|
619
|
+
stepMinute: this._stepMinute,
|
|
620
|
+
stepSecond: this._stepSecond,
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
/** Rebuilds what the template shows from the state. The grids are only built while they are on screen. */
|
|
624
|
+
refresh(text = true) {
|
|
625
|
+
if (this.open || this._inline) {
|
|
626
|
+
this.weekdays = this.state.weekdays();
|
|
627
|
+
if (this.state.view === 'date')
|
|
628
|
+
this.weeks = this.state.weeks();
|
|
629
|
+
else if (this.state.view === 'month')
|
|
630
|
+
this.months = this.state.months();
|
|
631
|
+
else
|
|
632
|
+
this.years = this.state.years();
|
|
633
|
+
}
|
|
634
|
+
if (text && !this.typing)
|
|
635
|
+
this.inputText = this.state.text();
|
|
636
|
+
}
|
|
637
|
+
modelValue() {
|
|
638
|
+
if (this.dataType === 'string')
|
|
639
|
+
return this.state.dates.length ? this.state.text() : null;
|
|
640
|
+
const v = this.state.value;
|
|
641
|
+
return Array.isArray(v) ? v.slice() : v;
|
|
642
|
+
}
|
|
643
|
+
commit() {
|
|
644
|
+
this.typing = false;
|
|
645
|
+
this.inputText = this.state.text();
|
|
646
|
+
this.onModelChange(this.modelValue());
|
|
647
|
+
}
|
|
648
|
+
afterPick(r, before) {
|
|
649
|
+
if (r.changed) {
|
|
650
|
+
this.commit();
|
|
651
|
+
const target = this.state.focus;
|
|
652
|
+
const unit = this.state.baseView;
|
|
653
|
+
const picked = this.state.dates.find((d) => unit === 'year' ? d.getFullYear() === target.getFullYear() : unit === 'month' ? d.getFullYear() === target.getFullYear() && d.getMonth() === target.getMonth() : sameDay(d, target));
|
|
654
|
+
if (picked)
|
|
655
|
+
this.onSelect.emit(picked);
|
|
656
|
+
}
|
|
657
|
+
const timed = this._showTime && !this._timeOnly;
|
|
658
|
+
const close = r.close || (r.changed && this._hideOnDateTimeSelect && timed && this.selectionMode === 'single');
|
|
659
|
+
this.refresh();
|
|
660
|
+
this.emitNavigation(before);
|
|
661
|
+
if (close && !this._inline) {
|
|
662
|
+
this.hide();
|
|
663
|
+
this.focusInput();
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
this.cdr.detectChanges();
|
|
667
|
+
this.focusCell(true);
|
|
668
|
+
}
|
|
669
|
+
/** Applies what is left in a time field being typed: out of range (75 minutes) is clamped, empty shows the time again. */
|
|
670
|
+
flushTimeDraft() {
|
|
671
|
+
const draft = this.timeDraft;
|
|
672
|
+
this.timeDraft = null;
|
|
673
|
+
if (!draft)
|
|
674
|
+
return;
|
|
675
|
+
const r = readTimeField(draft.text, draft.unit, this._hourFormat);
|
|
676
|
+
if (r.raw !== null && r.value === null)
|
|
677
|
+
this.changeTime(() => this.state.setTimeField(draft.unit, r.raw));
|
|
678
|
+
}
|
|
679
|
+
changeTime(change) {
|
|
680
|
+
if (this.isDisabled)
|
|
681
|
+
return;
|
|
682
|
+
if (change()) {
|
|
683
|
+
this.commit();
|
|
684
|
+
const dates = this.state.dates;
|
|
685
|
+
if (dates.length)
|
|
686
|
+
this.onSelect.emit(dates[dates.length - 1]);
|
|
687
|
+
}
|
|
688
|
+
this.refresh();
|
|
689
|
+
this.cdr.markForCheck();
|
|
690
|
+
}
|
|
691
|
+
navigate(move) {
|
|
692
|
+
const before = this.viewKey();
|
|
693
|
+
move();
|
|
694
|
+
this.refresh();
|
|
695
|
+
this.emitNavigation(before);
|
|
696
|
+
}
|
|
697
|
+
viewKey() {
|
|
698
|
+
return `${this.state.viewYear}-${this.state.viewMonth}`;
|
|
699
|
+
}
|
|
700
|
+
emitNavigation(before) {
|
|
701
|
+
const [year, month] = before.split('-').map(Number);
|
|
702
|
+
const e = { month: this.state.viewMonth + 1, year: this.state.viewYear };
|
|
703
|
+
if (month !== this.state.viewMonth || year !== this.state.viewYear)
|
|
704
|
+
this.onMonthChange.emit(e);
|
|
705
|
+
if (year !== this.state.viewYear)
|
|
706
|
+
this.onYearChange.emit(e);
|
|
707
|
+
}
|
|
708
|
+
/** Focuses the grid cell that holds keyboard focus. `onlyInside`: only when focus is already in the panel. */
|
|
709
|
+
focusCell(onlyInside = false) {
|
|
710
|
+
var _a, _b;
|
|
711
|
+
const panel = (_a = this.panelRef) === null || _a === void 0 ? void 0 : _a.nativeElement;
|
|
712
|
+
if (!panel || (onlyInside && !panel.contains(this.doc.activeElement)))
|
|
713
|
+
return;
|
|
714
|
+
(_b = panel.querySelector('.wu-datepicker-cell[tabindex="0"]')) === null || _b === void 0 ? void 0 : _b.focus();
|
|
715
|
+
}
|
|
716
|
+
focusInput() {
|
|
717
|
+
var _a;
|
|
718
|
+
const input = (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.nativeElement;
|
|
719
|
+
if (!input || this.doc.activeElement === input)
|
|
720
|
+
return;
|
|
721
|
+
this.skipFocusOpen = true;
|
|
722
|
+
input.focus();
|
|
723
|
+
this.skipFocusOpen = false;
|
|
724
|
+
}
|
|
725
|
+
focusNextTime(current) {
|
|
726
|
+
var _a;
|
|
727
|
+
const panel = (_a = this.panelRef) === null || _a === void 0 ? void 0 : _a.nativeElement;
|
|
728
|
+
if (!panel)
|
|
729
|
+
return;
|
|
730
|
+
const fields = Array.from(panel.querySelectorAll('.wu-datepicker-time-input, .wu-datepicker-time-period'));
|
|
731
|
+
const next = fields[fields.indexOf(current) + 1];
|
|
732
|
+
if (next)
|
|
733
|
+
next.focus();
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
WuDatePicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuDatePicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
737
|
+
WuDatePicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: WuDatePicker, isStandalone: true, selector: "wu-datepicker, wu-datePicker, wu-calendar, wu-date-picker", inputs: { selectionMode: "selectionMode", view: "view", minDate: "minDate", maxDate: "maxDate", disabledDates: "disabledDates", disabledDays: "disabledDays", maxDateCount: "maxDateCount", defaultDate: "defaultDate", firstDayOfWeek: "firstDayOfWeek", yearRange: "yearRange", showOtherMonths: "showOtherMonths", selectOtherMonths: "selectOtherMonths", dateFormat: "dateFormat", calendar: "calendar", isBudhistYear: "isBudhistYear", isBuddhistYear: "isBuddhistYear", dataType: "dataType", keepInvalid: "keepInvalid", showTime: "showTime", timeOnly: "timeOnly", showSeconds: "showSeconds", hourFormat: "hourFormat", stepHour: "stepHour", stepMinute: "stepMinute", stepSecond: "stepSecond", hideOnDateTimeSelect: "hideOnDateTimeSelect", readonlyInput: "readonlyInput", readOnlyInput: "readOnlyInput", timeReadonlyInput: "timeReadonlyInput", timeReadOnlyInput: "timeReadOnlyInput", placeholder: "placeholder", inputId: "inputId", name: "name", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", tabindex: "tabindex", disabled: "disabled", invalid: "invalid", size: "size", required: "required", fluid: "fluid", showOnFocus: "showOnFocus", showIcon: "showIcon", icon: "icon", iconDisplay: "iconDisplay", showButtonBar: "showButtonBar", showClear: "showClear", inline: "inline", touchUI: "touchUI", styleClass: "styleClass", style: "style", inputStyleClass: "inputStyleClass", inputStyle: "inputStyle", panelStyleClass: "panelStyleClass", panelStyle: "panelStyle", appendTo: "appendTo", baseZIndex: "baseZIndex", autoZIndex: "autoZIndex" }, outputs: { onSelect: "onSelect", onInput: "onInput", onFocus: "onFocus", onBlur: "onBlur", onShow: "onShow", onClose: "onClose", onClear: "onClear", onTodayClick: "onTodayClick", onClearClick: "onClearClick", onMonthChange: "onMonthChange", onYearChange: "onYearChange" }, host: { listeners: { "focusout": "focusOut($event)" }, properties: { "class.wu-datepicker-sm": "this.sizeSm", "class.p-datepicker-sm": "this.sizeSm", "class.wu-datepicker-lg": "this.sizeLg", "class.p-datepicker-lg": "this.sizeLg", "class.wu-datepicker-fluid": "this.fluidClass", "class.wu-filled": "this.filled", "class.p-inputwrapper-filled": "this.filled", "class.p-inputwrapper-focus": "this.focusClass" } }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WuDatePicker), multi: true }], queries: [{ propertyName: "inputIconRef", first: true, predicate: ["inputicon"] }, { propertyName: "triggerIconRef", first: true, predicate: ["triggericon"] }, { propertyName: "dateRef", first: true, predicate: ["date"] }, { propertyName: "dayRef", first: true, predicate: ["day"] }, { propertyName: "templates", predicate: WuTemplate }], viewQueries: [{ propertyName: "rootRef", first: true, predicate: ["root"], descendants: true, static: true }, { propertyName: "inputRef", first: true, predicate: ["input"], descendants: true }, { propertyName: "panelRef", first: true, predicate: ["panel"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<span\n #root\n class=\"wu-datepicker p-calendar\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n [class.wu-datepicker-has-dropdown]=\"hasDropdown && !inline\"\n [class.p-calendar-w-btn]=\"hasDropdown && !inline\"\n [class.wu-datepicker-has-input-icon]=\"hasInputIcon && !inline\"\n [class.wu-datepicker-has-clear]=\"hasClear && !inline\"\n [class.p-calendar-clearable]=\"hasClear\"\n [class.p-calendar-timeonly]=\"timeOnly\"\n [class.p-calendar-disabled]=\"isDisabled\"\n>\n <span *ngIf=\"!inline\" class=\"wu-datepicker-field\">\n <input\n #input\n type=\"text\"\n role=\"combobox\"\n autocomplete=\"off\"\n aria-autocomplete=\"none\"\n aria-haspopup=\"dialog\"\n class=\"wu-inputtext p-inputtext p-component p-element wu-datepicker-input\"\n [class.wu-inputtext-sm]=\"sizeKey === 'sm'\"\n [class.p-inputtext-sm]=\"sizeKey === 'sm'\"\n [class.wu-inputtext-lg]=\"sizeKey === 'lg'\"\n [class.p-inputtext-lg]=\"sizeKey === 'lg'\"\n [ngClass]=\"inputStyleClass || ''\"\n [ngStyle]=\"inputStyle || null\"\n [class.wu-invalid]=\"invalid\"\n [class.p-invalid]=\"invalid\"\n [class.wu-filled]=\"filled\"\n [class.p-filled]=\"filled\"\n [id]=\"id\"\n [attr.name]=\"name || null\"\n [attr.placeholder]=\"placeholder || null\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n [attr.aria-invalid]=\"invalid || null\"\n [attr.aria-required]=\"required || null\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"open ? panelId : null\"\n [attr.tabindex]=\"tabindex ?? null\"\n [attr.inputmode]=\"touchLayout ? 'none' : null\"\n [value]=\"inputText\"\n [disabled]=\"isDisabled\"\n [readOnly]=\"readonlyInput\"\n (click)=\"show()\"\n (focus)=\"inputFocus($event)\"\n (blur)=\"inputBlur($event)\"\n (input)=\"typed($event)\"\n (keydown)=\"inputKeydown($event)\"\n />\n <button\n *ngIf=\"hasClear\"\n type=\"button\"\n tabindex=\"-1\"\n class=\"wu-datepicker-clear p-calendar-clear-icon\"\n [attr.aria-label]=\"t.clear\"\n (click)=\"clearField()\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4.5 4.5l7 7M11.5 4.5l-7 7\"></path></svg>\n </button>\n <span\n *ngIf=\"hasInputIcon\"\n class=\"wu-datepicker-input-icon p-datepicker-icon\"\n aria-hidden=\"true\"\n (click)=\"inputIconTemplate ? null : toggle()\"\n >\n <ng-container *ngIf=\"inputIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"inputIconTemplate; context: iconContext\"></ng-container>\n </ng-container>\n </span>\n </span>\n <button\n *ngIf=\"hasDropdown && !inline\"\n type=\"button\"\n class=\"wu-datepicker-dropdown p-datepicker-trigger p-button p-component p-button-icon-only\"\n [attr.aria-label]=\"t.chooseDate\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"open ? panelId : null\"\n [disabled]=\"isDisabled\"\n (click)=\"toggle()\"\n >\n <ng-container *ngIf=\"triggerIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"triggerIconTemplate; context: iconContext\"></ng-container>\n </ng-container>\n </button>\n\n <div\n #panel\n *ngIf=\"inline || open\"\n role=\"dialog\"\n class=\"wu-datepicker-panel p-datepicker p-component\"\n [ngClass]=\"panelStyleClass || ''\"\n [ngStyle]=\"panelStyle || null\"\n [id]=\"panelId\"\n [attr.popover]=\"inline ? null : 'manual'\"\n [attr.aria-label]=\"t.chooseDate\"\n [class.wu-datepicker-popup]=\"!inline\"\n [class.wu-datepicker-inline]=\"inline\"\n [class.p-datepicker-inline]=\"inline\"\n [class.p-datepicker-timeonly]=\"timeOnly\"\n [class.p-datepicker-touch-ui]=\"touchUI\"\n [class.wu-datepicker-disabled]=\"inline && isDisabled\"\n [class.p-disabled]=\"isDisabled\"\n (mousedown)=\"panelMousedown($event)\"\n (keydown)=\"panelKeydown($event)\"\n >\n <div *ngIf=\"!timeOnly\" class=\"p-datepicker-group-container\">\n <div class=\"p-datepicker-group\">\n <div class=\"wu-datepicker-header p-datepicker-header\">\n <button\n type=\"button\"\n class=\"wu-datepicker-nav p-datepicker-prev p-link\"\n [attr.aria-label]=\"previousLabel\"\n [disabled]=\"!state.canGo(-1) || isDisabled\"\n (click)=\"go(-1)\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10 3.5L5.5 8l4.5 4.5\"></path></svg>\n </button>\n <div class=\"wu-datepicker-title p-datepicker-title\">\n <button\n *ngIf=\"state.view === 'date'\"\n type=\"button\"\n class=\"wu-datepicker-title-button p-datepicker-month p-link\"\n [disabled]=\"isDisabled\"\n (click)=\"showView('month')\"\n >{{ state.monthLabel }}</button>\n <button\n *ngIf=\"state.view !== 'year'\"\n type=\"button\"\n class=\"wu-datepicker-title-button p-datepicker-year p-link\"\n [disabled]=\"isDisabled\"\n (click)=\"showView('year')\"\n >{{ state.yearLabel }}</button>\n <span *ngIf=\"state.view === 'year'\" class=\"wu-datepicker-decade p-datepicker-decade\" aria-live=\"polite\">{{ state.decadeLabel }}</span>\n </div>\n <button\n type=\"button\"\n class=\"wu-datepicker-nav p-datepicker-next p-link\"\n [attr.aria-label]=\"nextLabel\"\n [disabled]=\"!state.canGo(1) || isDisabled\"\n (click)=\"go(1)\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6 3.5L10.5 8 6 12.5\"></path></svg>\n </button>\n </div>\n\n <div class=\"wu-datepicker-body p-datepicker-calendar-container\">\n <table\n *ngIf=\"state.view === 'date'\"\n role=\"grid\"\n class=\"wu-datepicker-days p-datepicker-calendar\"\n [attr.aria-label]=\"state.monthLabel + ' ' + state.yearLabel\"\n (keydown)=\"gridKeydown($event)\"\n >\n <thead>\n <tr>\n <th *ngFor=\"let d of weekdays\" scope=\"col\" [attr.abbr]=\"d.long\"><span>{{ d.short }}</span></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let week of weeks; trackBy: trackIndex\">\n <td\n *ngFor=\"let c of week; trackBy: trackIndex\"\n [class.wu-datepicker-other-month]=\"c.otherMonth\"\n [class.p-datepicker-other-month]=\"c.otherMonth\"\n [class.wu-datepicker-today]=\"c.today\"\n [class.p-datepicker-today]=\"c.today\"\n [attr.aria-selected]=\"c.selected || c.inRange\"\n [attr.aria-disabled]=\"!c.selectable || null\"\n >\n <span\n *ngIf=\"showOtherMonths || !c.otherMonth\"\n role=\"button\"\n class=\"wu-datepicker-cell\"\n [class.wu-datepicker-selected]=\"c.selected\"\n [class.wu-datepicker-in-range]=\"c.inRange\"\n [class.p-highlight]=\"(c.selected || c.inRange) && c.selectable\"\n [class.p-disabled]=\"!c.selectable\"\n [attr.tabindex]=\"c.focused ? 0 : -1\"\n [attr.aria-label]=\"c.label\"\n [attr.aria-current]=\"c.today ? 'date' : null\"\n [attr.aria-disabled]=\"!c.selectable || null\"\n [attr.data-date]=\"c.date.getFullYear() + '-' + (c.date.getMonth() + 1) + '-' + c.date.getDate()\"\n (click)=\"pickDay(c)\"\n ><ng-container *ngIf=\"dateTemplate; else plainDay\"><ng-container *ngTemplateOutlet=\"dateTemplate; context: { $implicit: c }\"></ng-container></ng-container><ng-template #plainDay>{{ c.day }}</ng-template></span>\n </td>\n </tr>\n </tbody>\n </table>\n\n <div\n *ngIf=\"state.view === 'month'\"\n class=\"wu-datepicker-grid p-monthpicker\"\n role=\"group\"\n [attr.aria-label]=\"state.yearLabel\"\n (keydown)=\"gridKeydown($event)\"\n >\n <span\n *ngFor=\"let m of months; trackBy: trackIndex\"\n role=\"button\"\n class=\"wu-datepicker-cell p-monthpicker-month\"\n [class.wu-datepicker-selected]=\"m.selected\"\n [class.p-highlight]=\"m.selected\"\n [class.p-disabled]=\"!m.selectable\"\n [class.wu-datepicker-current]=\"m.current\"\n [attr.tabindex]=\"m.focused ? 0 : -1\"\n [attr.aria-label]=\"t.monthNames[m.month] + ' ' + state.yearLabel\"\n [attr.aria-pressed]=\"m.selected\"\n [attr.aria-disabled]=\"!m.selectable || null\"\n (click)=\"pickMonth(m)\"\n >{{ m.label }}</span>\n </div>\n\n <div\n *ngIf=\"state.view === 'year'\"\n class=\"wu-datepicker-grid p-yearpicker\"\n role=\"group\"\n [attr.aria-label]=\"state.decadeLabel\"\n (keydown)=\"gridKeydown($event)\"\n >\n <span\n *ngFor=\"let y of years; trackBy: trackIndex\"\n role=\"button\"\n class=\"wu-datepicker-cell p-yearpicker-year\"\n [class.wu-datepicker-selected]=\"y.selected\"\n [class.wu-datepicker-outside]=\"y.outside\"\n [class.p-highlight]=\"y.selected\"\n [class.p-disabled]=\"!y.selectable\"\n [attr.tabindex]=\"y.focused ? 0 : -1\"\n [attr.aria-pressed]=\"y.selected\"\n [attr.aria-disabled]=\"!y.selectable || null\"\n (click)=\"pickYear(y)\"\n >{{ y.label }}</span>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"showTime || timeOnly\" class=\"wu-datepicker-time p-timepicker\">\n <ng-container *ngFor=\"let u of timeUnits; let last = last\">\n <div class=\"wu-datepicker-time-field\" [ngClass]=\"'p-' + u + '-picker'\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"wu-datepicker-time-step p-link\"\n [attr.aria-label]=\"t[u] + ' +'\"\n [disabled]=\"isDisabled\"\n (mousedown)=\"$event.preventDefault()\"\n (pointerdown)=\"startRepeat($event, u, 1)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4 10l4-4 4 4\"></path></svg>\n </button>\n <input\n type=\"text\"\n role=\"spinbutton\"\n inputmode=\"numeric\"\n maxlength=\"2\"\n autocomplete=\"off\"\n class=\"wu-datepicker-time-input\"\n [attr.data-unit]=\"u\"\n [attr.aria-label]=\"t[u]\"\n [attr.aria-valuenow]=\"state.timeText(u)\"\n [attr.aria-valuemin]=\"u === 'hour' && hourFormat === '12' ? 1 : 0\"\n [attr.aria-valuemax]=\"timeMax(u)\"\n [value]=\"timeText(u)\"\n [readOnly]=\"timeReadonlyInput\"\n [disabled]=\"isDisabled\"\n (focus)=\"timeFocus(u, $event)\"\n (input)=\"timeTyped(u, $event)\"\n (blur)=\"timeBlur(u)\"\n (keydown)=\"timeKeydown(u, $event)\"\n />\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"wu-datepicker-time-step p-link\"\n [attr.aria-label]=\"t[u] + ' \u2212'\"\n [disabled]=\"isDisabled\"\n (mousedown)=\"$event.preventDefault()\"\n (pointerdown)=\"startRepeat($event, u, -1)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4 6l4 4 4-4\"></path></svg>\n </button>\n </div>\n <span *ngIf=\"!last\" class=\"wu-datepicker-time-separator p-separator\" aria-hidden=\"true\">:</span>\n </ng-container>\n <div *ngIf=\"hourFormat === '12'\" class=\"wu-datepicker-time-field p-ampm-picker\">\n <button type=\"button\" tabindex=\"-1\" class=\"wu-datepicker-time-step p-link\" aria-hidden=\"true\" [disabled]=\"isDisabled\" (mousedown)=\"$event.preventDefault()\" (click)=\"togglePeriod()\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 10l4-4 4 4\"></path></svg>\n </button>\n <button\n type=\"button\"\n role=\"spinbutton\"\n class=\"wu-datepicker-time-period\"\n [attr.aria-valuetext]=\"state.pm ? t.pm : t.am\"\n [disabled]=\"isDisabled\"\n (click)=\"togglePeriod()\"\n (keydown)=\"periodKeydown($event)\"\n >{{ state.pm ? t.pm : t.am }}</button>\n <button type=\"button\" tabindex=\"-1\" class=\"wu-datepicker-time-step p-link\" aria-hidden=\"true\" [disabled]=\"isDisabled\" (mousedown)=\"$event.preventDefault()\" (click)=\"togglePeriod()\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 6l4 4 4-4\"></path></svg>\n </button>\n </div>\n </div>\n\n <div *ngIf=\"showButtonBar\" class=\"wu-datepicker-buttonbar p-datepicker-buttonbar\">\n <button type=\"button\" class=\"wu-datepicker-bar-button p-button p-button-text\" [disabled]=\"isDisabled\" (click)=\"today($event)\">{{ t.today }}</button>\n <button type=\"button\" class=\"wu-datepicker-bar-button p-button p-button-text\" [disabled]=\"isDisabled\" (click)=\"clearAll($event)\">{{ t.clear }}</button>\n </div>\n </div>\n</span>\n\n<ng-template #defaultIcon>\n <i *ngIf=\"icon; else builtInIcon\" [class]=\"icon + ' wu-datepicker-icon-custom'\"></i>\n</ng-template>\n<ng-template #builtInIcon>\n <ng-container *ngIf=\"timeOnly; else calendarIcon\"><svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"8\" cy=\"8\" r=\"6.25\"></circle><path d=\"M8 4.75V8l2.25 1.5\"></path></svg></ng-container>\n</ng-template>\n<ng-template #calendarIcon>\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"2\" y=\"3\" width=\"12\" height=\"11\" rx=\"2\"></rect><path d=\"M2 6.5h12M5.5 1.5v3M10.5 1.5v3\"></path></svg>\n</ng-template>\n", styles: ["@layer wiraui.components{:is(wu-datepicker,wu-date-picker),wu-calendar{display:inline-block;vertical-align:middle;max-width:100%}:is(wu-datepicker,wu-date-picker).wu-datepicker-fluid,wu-calendar.wu-datepicker-fluid{display:block;width:100%}.wu-datepicker{display:inline-flex;align-items:stretch;width:100%;min-width:0;font-family:var(--wu-font-family)}.wu-datepicker-field{position:relative;display:flex;flex:1 1 auto;min-width:0}.wu-datepicker-field .wu-inputtext{flex:1 1 auto;width:100%;min-width:0}.wu-datepicker-field .wu-inputtext[readonly]:not(:disabled){background:var(--wu-field-bg);cursor:pointer}:is(wu-datepicker,wu-calendar).ng-invalid:is(.ng-touched,form.ng-submitted *) .wu-inputtext{border-color:var(--wu-danger-color)}.wu-datepicker-has-clear .wu-inputtext,.wu-datepicker-has-input-icon .wu-inputtext{padding-right:calc(var(--wu-field-padding-x) + 1.75rem)}.wu-datepicker-has-clear.wu-datepicker-has-input-icon .wu-inputtext{padding-right:calc(var(--wu-field-padding-x) + 3.5rem)}.wu-datepicker-input-icon,.wu-datepicker-clear{position:absolute;top:50%;right:calc(var(--wu-field-padding-x) - .375rem);display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin-top:-.875rem;padding:0;border:0;border-radius:50%;background:transparent;color:var(--wu-field-placeholder)}.wu-datepicker-input-icon{cursor:pointer}.wu-datepicker-has-input-icon .wu-datepicker-clear{right:calc(var(--wu-field-padding-x) + 1.375rem)}.wu-datepicker-clear{cursor:pointer}.wu-datepicker-clear:hover{color:var(--wu-text)}.wu-datepicker-clear:focus-visible,.wu-datepicker-dropdown:focus-visible,.wu-datepicker-nav:focus-visible,.wu-datepicker-title-button:focus-visible,.wu-datepicker-cell:focus-visible,.wu-datepicker-time-input:focus-visible,.wu-datepicker-time-period:focus-visible,.wu-datepicker-bar-button:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-datepicker svg,.wu-datepicker-panel svg{width:1rem;height:1rem}.wu-datepicker-icon-custom{font-size:1rem;line-height:1}.wu-datepicker-has-dropdown .wu-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.wu-datepicker-dropdown{flex:none;display:grid;place-items:center;width:var(--wu-inputgroup-addon-min-width);margin:0 0 0 calc(var(--wu-field-border-width) * -1);padding:0;border:var(--wu-field-border-width) solid var(--wu-datepicker-dropdown-border);border-radius:0 var(--wu-input-radius) var(--wu-input-radius) 0;background:var(--wu-datepicker-dropdown-bg);color:var(--wu-datepicker-dropdown-color);cursor:pointer;touch-action:manipulation;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-datepicker-sm .wu-datepicker-dropdown{width:calc(var(--wu-inputgroup-addon-min-width) * var(--wu-size-sm-scale))}.wu-datepicker-lg .wu-datepicker-dropdown{width:calc(var(--wu-inputgroup-addon-min-width) * var(--wu-size-lg-scale))}.wu-datepicker-dropdown svg,.wu-datepicker-dropdown .wu-datepicker-icon-custom{width:1.125rem;height:1.125rem;font-size:1.125rem}.wu-datepicker-dropdown:not(:disabled):hover{background:var(--wu-datepicker-dropdown-hover-bg)}.wu-datepicker-dropdown:disabled{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-panel{box-sizing:border-box;width:max-content;max-width:100%;padding:var(--wu-datepicker-panel-padding);border:1px solid var(--wu-border);border-radius:var(--wu-datepicker-panel-radius);background:var(--wu-overlay-bg);backdrop-filter:var(--wu-overlay-backdrop);color:var(--wu-text);box-shadow:var(--wu-datepicker-panel-shadow);font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-control-line-height);text-align:left;-webkit-tap-highlight-color:transparent}.wu-datepicker-panel *,.wu-datepicker-panel *:before,.wu-datepicker-panel *:after{box-sizing:border-box}.wu-datepicker-inline{display:inline-block;box-shadow:none}.wu-datepicker-popup{position:fixed;inset:auto;z-index:1100;margin:0;overflow:auto;max-height:calc(100vh - 1rem);max-height:calc(100dvh - 1rem);overscroll-behavior:contain;animation:wu-datepicker-in .12s ease-out}.wu-datepicker-popup::backdrop{background:transparent}.wu-datepicker-sheet{right:0;left:0;width:100%;max-width:none;max-height:85vh;max-height:85dvh;padding-bottom:calc(var(--wu-datepicker-panel-padding) + env(safe-area-inset-bottom,0px));border-width:1px 0 0;border-radius:var(--wu-datepicker-panel-radius) var(--wu-datepicker-panel-radius) 0 0;animation-name:wu-datepicker-up;animation-duration:.18s}.wu-datepicker-sheet::backdrop,.wu-datepicker-modal::backdrop{background:var(--wu-mask)}.wu-datepicker-modal{top:50%;left:50%;transform:translate(-50%,-50%);animation:none}@keyframes wu-datepicker-in{0%{opacity:0;transform:translateY(-.25rem)}}@keyframes wu-datepicker-up{0%{transform:translateY(100%)}}@media (prefers-reduced-motion: reduce){.wu-datepicker-popup{animation:none}}.wu-datepicker-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:0 0 .5rem;border-bottom:1px solid var(--wu-datepicker-header-border)}.wu-datepicker-title{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem;min-width:0;font-weight:var(--wu-datepicker-title-weight)}.wu-datepicker-title-button,.wu-datepicker-decade{padding:.25rem .5rem;border:0;border-radius:var(--wu-radius-md);background:transparent;color:inherit;font:inherit;white-space:nowrap}.wu-datepicker-title-button{cursor:pointer;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-datepicker-title-button:hover{background:var(--wu-datepicker-hover-bg);color:var(--wu-primary-color)}.wu-datepicker-nav{flex:none;display:inline-grid;place-items:center;width:2rem;height:2rem;padding:0;border:0;border-radius:50%;background:transparent;color:var(--wu-text-muted);cursor:pointer;touch-action:manipulation;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-datepicker-nav:not(:disabled):hover{background:var(--wu-datepicker-hover-bg);color:var(--wu-text)}.wu-datepicker-nav:disabled{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-body{min-width:calc(7 * (var(--wu-datepicker-cell-size) + var(--wu-datepicker-cell-gap)))}.wu-datepicker-days{width:auto;margin:.5rem auto 0;border-collapse:collapse;border-spacing:0;table-layout:fixed}.wu-datepicker-days th,.wu-datepicker-days td{padding:calc(var(--wu-datepicker-cell-gap) / 2);text-align:center}.wu-datepicker-days th{font-weight:var(--wu-datepicker-weekday-weight);font-size:.875em}.wu-datepicker-cell{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-datepicker-cell-size);height:var(--wu-datepicker-cell-size);margin:0;padding:0;border:1px solid transparent;border-radius:var(--wu-datepicker-cell-radius);background:transparent;color:inherit;font:inherit;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--wu-transition),color var(--wu-transition),box-shadow var(--wu-transition)}.wu-datepicker-cell:hover:not(.wu-datepicker-selected):not(.wu-datepicker-in-range):not([aria-disabled=\"true\"]){background:var(--wu-datepicker-hover-bg)}.wu-datepicker-today>.wu-datepicker-cell:not(.wu-datepicker-selected):not(.wu-datepicker-in-range){background:var(--wu-datepicker-today-bg);color:var(--wu-datepicker-today-color)}.wu-datepicker-other-month>.wu-datepicker-cell,.wu-datepicker-outside{color:var(--wu-text-muted)}.wu-datepicker-cell.wu-datepicker-in-range{background:var(--wu-datepicker-range-bg);color:var(--wu-datepicker-range-color)}.wu-datepicker-cell.wu-datepicker-selected{background:var(--wu-datepicker-selected-bg);color:var(--wu-datepicker-selected-color)}.wu-datepicker-cell[aria-disabled=true]{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-cell[aria-disabled=true]:not(.wu-datepicker-selected){text-decoration:line-through;text-decoration-color:color-mix(in srgb,currentColor 45%,transparent)}.wu-datepicker-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);gap:.5rem;min-height:calc(7 * (var(--wu-datepicker-cell-size) + var(--wu-datepicker-cell-gap)));margin:.5rem 0 0}.wu-datepicker-grid .wu-datepicker-cell{width:auto;height:auto;min-height:2.5rem;padding:.375rem;border-radius:var(--wu-radius-md)}.wu-datepicker-time{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 0 0}.wu-datepicker-time:not(:first-child){margin-top:.5rem;border-top:1px solid var(--wu-datepicker-header-border)}.wu-datepicker-time-field{display:flex;flex-direction:column;align-items:center;gap:.125rem}.wu-datepicker-time-step{display:inline-grid;place-items:center;width:2rem;height:1.75rem;padding:0;border:0;border-radius:var(--wu-radius-md);background:transparent;color:var(--wu-text-muted);cursor:pointer;touch-action:manipulation}.wu-datepicker-time-step:not(:disabled):hover{background:var(--wu-datepicker-hover-bg);color:var(--wu-text)}.wu-datepicker-time-step:disabled{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-time-input,.wu-datepicker-time-period{width:2.75rem;height:2.25rem;margin:0;padding:0;border:var(--wu-field-border-width) solid transparent;border-radius:var(--wu-radius-md);background:transparent;color:inherit;font:inherit;font-size:1.25em;font-variant-numeric:tabular-nums;text-align:center;transition:border-color var(--wu-transition)}.wu-datepicker-time-input:not([readonly]):not(:disabled):hover{border-color:var(--wu-field-hover-border)}.wu-datepicker-time-input:not([readonly]):focus{border-color:var(--wu-field-focus-border)}.wu-datepicker-time-input[readonly]{cursor:default}.wu-datepicker-time-period{width:3.25rem;font-size:1em;cursor:pointer}.wu-datepicker-time-period:hover{border-color:var(--wu-field-hover-border)}.wu-datepicker-time-separator{font-size:1.25em;color:var(--wu-text-muted)}.wu-datepicker-buttonbar{display:flex;justify-content:space-between;gap:.5rem;margin-top:.5rem;padding:.5rem 0 0;border-top:1px solid var(--wu-datepicker-header-border)}.wu-datepicker-bar-button{padding:.375rem .75rem;border:0;border-radius:var(--wu-radius-md);background:transparent;color:var(--wu-primary-color);font:inherit;font-weight:600;cursor:pointer;touch-action:manipulation}.wu-datepicker-bar-button:hover{background:var(--wu-primary-soft)}.wu-datepicker-sheet .wu-datepicker-body{min-width:0}.wu-datepicker-sheet .wu-datepicker-days{width:100%}.wu-datepicker-sheet .wu-datepicker-days th,.wu-datepicker-sheet .wu-datepicker-days td{padding:.125rem}.wu-datepicker-sheet .wu-datepicker-days td>.wu-datepicker-cell{width:100%;max-width:2.75rem;height:auto;aspect-ratio:1}@media (max-width: 575.98px){.wu-datepicker-inline{display:block;width:100%}.wu-datepicker-inline .wu-datepicker-body{min-width:0}.wu-datepicker-inline .wu-datepicker-days{width:100%}.wu-datepicker-inline .wu-datepicker-days th,.wu-datepicker-inline .wu-datepicker-days td{padding:.125rem}.wu-datepicker-inline .wu-datepicker-days td>.wu-datepicker-cell{width:100%;max-width:max(var(--wu-datepicker-cell-size),2.75rem);height:auto;aspect-ratio:1}}.wu-datepicker-sheet .wu-datepicker-grid{min-height:18rem}.wu-datepicker-sheet .wu-datepicker-nav{width:2.75rem;height:2.75rem}.wu-datepicker-sheet .wu-datepicker-time-step{width:2.75rem;height:2.25rem}.wu-datepicker-sheet .wu-datepicker-bar-button{min-height:2.75rem}.wu-datepicker-disabled{opacity:var(--wu-disabled-opacity);pointer-events:none}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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 });
|
|
738
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuDatePicker, decorators: [{
|
|
739
|
+
type: Component,
|
|
740
|
+
args: [{ selector: 'wu-datepicker, wu-datePicker, wu-calendar, wu-date-picker', standalone: true, imports: [NgIf, NgFor, NgClass, NgStyle, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => WuDatePicker), multi: true }], template: "<span\n #root\n class=\"wu-datepicker p-calendar\"\n [ngClass]=\"styleClass || ''\"\n [ngStyle]=\"style || null\"\n [class.wu-datepicker-has-dropdown]=\"hasDropdown && !inline\"\n [class.p-calendar-w-btn]=\"hasDropdown && !inline\"\n [class.wu-datepicker-has-input-icon]=\"hasInputIcon && !inline\"\n [class.wu-datepicker-has-clear]=\"hasClear && !inline\"\n [class.p-calendar-clearable]=\"hasClear\"\n [class.p-calendar-timeonly]=\"timeOnly\"\n [class.p-calendar-disabled]=\"isDisabled\"\n>\n <span *ngIf=\"!inline\" class=\"wu-datepicker-field\">\n <input\n #input\n type=\"text\"\n role=\"combobox\"\n autocomplete=\"off\"\n aria-autocomplete=\"none\"\n aria-haspopup=\"dialog\"\n class=\"wu-inputtext p-inputtext p-component p-element wu-datepicker-input\"\n [class.wu-inputtext-sm]=\"sizeKey === 'sm'\"\n [class.p-inputtext-sm]=\"sizeKey === 'sm'\"\n [class.wu-inputtext-lg]=\"sizeKey === 'lg'\"\n [class.p-inputtext-lg]=\"sizeKey === 'lg'\"\n [ngClass]=\"inputStyleClass || ''\"\n [ngStyle]=\"inputStyle || null\"\n [class.wu-invalid]=\"invalid\"\n [class.p-invalid]=\"invalid\"\n [class.wu-filled]=\"filled\"\n [class.p-filled]=\"filled\"\n [id]=\"id\"\n [attr.name]=\"name || null\"\n [attr.placeholder]=\"placeholder || null\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"ariaLabelledBy || null\"\n [attr.aria-invalid]=\"invalid || null\"\n [attr.aria-required]=\"required || null\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"open ? panelId : null\"\n [attr.tabindex]=\"tabindex ?? null\"\n [attr.inputmode]=\"touchLayout ? 'none' : null\"\n [value]=\"inputText\"\n [disabled]=\"isDisabled\"\n [readOnly]=\"readonlyInput\"\n (click)=\"show()\"\n (focus)=\"inputFocus($event)\"\n (blur)=\"inputBlur($event)\"\n (input)=\"typed($event)\"\n (keydown)=\"inputKeydown($event)\"\n />\n <button\n *ngIf=\"hasClear\"\n type=\"button\"\n tabindex=\"-1\"\n class=\"wu-datepicker-clear p-calendar-clear-icon\"\n [attr.aria-label]=\"t.clear\"\n (click)=\"clearField()\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"round\" aria-hidden=\"true\"><path d=\"M4.5 4.5l7 7M11.5 4.5l-7 7\"></path></svg>\n </button>\n <span\n *ngIf=\"hasInputIcon\"\n class=\"wu-datepicker-input-icon p-datepicker-icon\"\n aria-hidden=\"true\"\n (click)=\"inputIconTemplate ? null : toggle()\"\n >\n <ng-container *ngIf=\"inputIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"inputIconTemplate; context: iconContext\"></ng-container>\n </ng-container>\n </span>\n </span>\n <button\n *ngIf=\"hasDropdown && !inline\"\n type=\"button\"\n class=\"wu-datepicker-dropdown p-datepicker-trigger p-button p-component p-button-icon-only\"\n [attr.aria-label]=\"t.chooseDate\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"open ? panelId : null\"\n [disabled]=\"isDisabled\"\n (click)=\"toggle()\"\n >\n <ng-container *ngIf=\"triggerIconTemplate; else defaultIcon\">\n <ng-container *ngTemplateOutlet=\"triggerIconTemplate; context: iconContext\"></ng-container>\n </ng-container>\n </button>\n\n <div\n #panel\n *ngIf=\"inline || open\"\n role=\"dialog\"\n class=\"wu-datepicker-panel p-datepicker p-component\"\n [ngClass]=\"panelStyleClass || ''\"\n [ngStyle]=\"panelStyle || null\"\n [id]=\"panelId\"\n [attr.popover]=\"inline ? null : 'manual'\"\n [attr.aria-label]=\"t.chooseDate\"\n [class.wu-datepicker-popup]=\"!inline\"\n [class.wu-datepicker-inline]=\"inline\"\n [class.p-datepicker-inline]=\"inline\"\n [class.p-datepicker-timeonly]=\"timeOnly\"\n [class.p-datepicker-touch-ui]=\"touchUI\"\n [class.wu-datepicker-disabled]=\"inline && isDisabled\"\n [class.p-disabled]=\"isDisabled\"\n (mousedown)=\"panelMousedown($event)\"\n (keydown)=\"panelKeydown($event)\"\n >\n <div *ngIf=\"!timeOnly\" class=\"p-datepicker-group-container\">\n <div class=\"p-datepicker-group\">\n <div class=\"wu-datepicker-header p-datepicker-header\">\n <button\n type=\"button\"\n class=\"wu-datepicker-nav p-datepicker-prev p-link\"\n [attr.aria-label]=\"previousLabel\"\n [disabled]=\"!state.canGo(-1) || isDisabled\"\n (click)=\"go(-1)\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10 3.5L5.5 8l4.5 4.5\"></path></svg>\n </button>\n <div class=\"wu-datepicker-title p-datepicker-title\">\n <button\n *ngIf=\"state.view === 'date'\"\n type=\"button\"\n class=\"wu-datepicker-title-button p-datepicker-month p-link\"\n [disabled]=\"isDisabled\"\n (click)=\"showView('month')\"\n >{{ state.monthLabel }}</button>\n <button\n *ngIf=\"state.view !== 'year'\"\n type=\"button\"\n class=\"wu-datepicker-title-button p-datepicker-year p-link\"\n [disabled]=\"isDisabled\"\n (click)=\"showView('year')\"\n >{{ state.yearLabel }}</button>\n <span *ngIf=\"state.view === 'year'\" class=\"wu-datepicker-decade p-datepicker-decade\" aria-live=\"polite\">{{ state.decadeLabel }}</span>\n </div>\n <button\n type=\"button\"\n class=\"wu-datepicker-nav p-datepicker-next p-link\"\n [attr.aria-label]=\"nextLabel\"\n [disabled]=\"!state.canGo(1) || isDisabled\"\n (click)=\"go(1)\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M6 3.5L10.5 8 6 12.5\"></path></svg>\n </button>\n </div>\n\n <div class=\"wu-datepicker-body p-datepicker-calendar-container\">\n <table\n *ngIf=\"state.view === 'date'\"\n role=\"grid\"\n class=\"wu-datepicker-days p-datepicker-calendar\"\n [attr.aria-label]=\"state.monthLabel + ' ' + state.yearLabel\"\n (keydown)=\"gridKeydown($event)\"\n >\n <thead>\n <tr>\n <th *ngFor=\"let d of weekdays\" scope=\"col\" [attr.abbr]=\"d.long\"><span>{{ d.short }}</span></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let week of weeks; trackBy: trackIndex\">\n <td\n *ngFor=\"let c of week; trackBy: trackIndex\"\n [class.wu-datepicker-other-month]=\"c.otherMonth\"\n [class.p-datepicker-other-month]=\"c.otherMonth\"\n [class.wu-datepicker-today]=\"c.today\"\n [class.p-datepicker-today]=\"c.today\"\n [attr.aria-selected]=\"c.selected || c.inRange\"\n [attr.aria-disabled]=\"!c.selectable || null\"\n >\n <span\n *ngIf=\"showOtherMonths || !c.otherMonth\"\n role=\"button\"\n class=\"wu-datepicker-cell\"\n [class.wu-datepicker-selected]=\"c.selected\"\n [class.wu-datepicker-in-range]=\"c.inRange\"\n [class.p-highlight]=\"(c.selected || c.inRange) && c.selectable\"\n [class.p-disabled]=\"!c.selectable\"\n [attr.tabindex]=\"c.focused ? 0 : -1\"\n [attr.aria-label]=\"c.label\"\n [attr.aria-current]=\"c.today ? 'date' : null\"\n [attr.aria-disabled]=\"!c.selectable || null\"\n [attr.data-date]=\"c.date.getFullYear() + '-' + (c.date.getMonth() + 1) + '-' + c.date.getDate()\"\n (click)=\"pickDay(c)\"\n ><ng-container *ngIf=\"dateTemplate; else plainDay\"><ng-container *ngTemplateOutlet=\"dateTemplate; context: { $implicit: c }\"></ng-container></ng-container><ng-template #plainDay>{{ c.day }}</ng-template></span>\n </td>\n </tr>\n </tbody>\n </table>\n\n <div\n *ngIf=\"state.view === 'month'\"\n class=\"wu-datepicker-grid p-monthpicker\"\n role=\"group\"\n [attr.aria-label]=\"state.yearLabel\"\n (keydown)=\"gridKeydown($event)\"\n >\n <span\n *ngFor=\"let m of months; trackBy: trackIndex\"\n role=\"button\"\n class=\"wu-datepicker-cell p-monthpicker-month\"\n [class.wu-datepicker-selected]=\"m.selected\"\n [class.p-highlight]=\"m.selected\"\n [class.p-disabled]=\"!m.selectable\"\n [class.wu-datepicker-current]=\"m.current\"\n [attr.tabindex]=\"m.focused ? 0 : -1\"\n [attr.aria-label]=\"t.monthNames[m.month] + ' ' + state.yearLabel\"\n [attr.aria-pressed]=\"m.selected\"\n [attr.aria-disabled]=\"!m.selectable || null\"\n (click)=\"pickMonth(m)\"\n >{{ m.label }}</span>\n </div>\n\n <div\n *ngIf=\"state.view === 'year'\"\n class=\"wu-datepicker-grid p-yearpicker\"\n role=\"group\"\n [attr.aria-label]=\"state.decadeLabel\"\n (keydown)=\"gridKeydown($event)\"\n >\n <span\n *ngFor=\"let y of years; trackBy: trackIndex\"\n role=\"button\"\n class=\"wu-datepicker-cell p-yearpicker-year\"\n [class.wu-datepicker-selected]=\"y.selected\"\n [class.wu-datepicker-outside]=\"y.outside\"\n [class.p-highlight]=\"y.selected\"\n [class.p-disabled]=\"!y.selectable\"\n [attr.tabindex]=\"y.focused ? 0 : -1\"\n [attr.aria-pressed]=\"y.selected\"\n [attr.aria-disabled]=\"!y.selectable || null\"\n (click)=\"pickYear(y)\"\n >{{ y.label }}</span>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"showTime || timeOnly\" class=\"wu-datepicker-time p-timepicker\">\n <ng-container *ngFor=\"let u of timeUnits; let last = last\">\n <div class=\"wu-datepicker-time-field\" [ngClass]=\"'p-' + u + '-picker'\">\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"wu-datepicker-time-step p-link\"\n [attr.aria-label]=\"t[u] + ' +'\"\n [disabled]=\"isDisabled\"\n (mousedown)=\"$event.preventDefault()\"\n (pointerdown)=\"startRepeat($event, u, 1)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4 10l4-4 4 4\"></path></svg>\n </button>\n <input\n type=\"text\"\n role=\"spinbutton\"\n inputmode=\"numeric\"\n maxlength=\"2\"\n autocomplete=\"off\"\n class=\"wu-datepicker-time-input\"\n [attr.data-unit]=\"u\"\n [attr.aria-label]=\"t[u]\"\n [attr.aria-valuenow]=\"state.timeText(u)\"\n [attr.aria-valuemin]=\"u === 'hour' && hourFormat === '12' ? 1 : 0\"\n [attr.aria-valuemax]=\"timeMax(u)\"\n [value]=\"timeText(u)\"\n [readOnly]=\"timeReadonlyInput\"\n [disabled]=\"isDisabled\"\n (focus)=\"timeFocus(u, $event)\"\n (input)=\"timeTyped(u, $event)\"\n (blur)=\"timeBlur(u)\"\n (keydown)=\"timeKeydown(u, $event)\"\n />\n <button\n type=\"button\"\n tabindex=\"-1\"\n class=\"wu-datepicker-time-step p-link\"\n [attr.aria-label]=\"t[u] + ' \u2212'\"\n [disabled]=\"isDisabled\"\n (mousedown)=\"$event.preventDefault()\"\n (pointerdown)=\"startRepeat($event, u, -1)\"\n (pointerup)=\"stopRepeat()\"\n (pointerleave)=\"stopRepeat()\"\n (pointercancel)=\"stopRepeat()\"\n >\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M4 6l4 4 4-4\"></path></svg>\n </button>\n </div>\n <span *ngIf=\"!last\" class=\"wu-datepicker-time-separator p-separator\" aria-hidden=\"true\">:</span>\n </ng-container>\n <div *ngIf=\"hourFormat === '12'\" class=\"wu-datepicker-time-field p-ampm-picker\">\n <button type=\"button\" tabindex=\"-1\" class=\"wu-datepicker-time-step p-link\" aria-hidden=\"true\" [disabled]=\"isDisabled\" (mousedown)=\"$event.preventDefault()\" (click)=\"togglePeriod()\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 10l4-4 4 4\"></path></svg>\n </button>\n <button\n type=\"button\"\n role=\"spinbutton\"\n class=\"wu-datepicker-time-period\"\n [attr.aria-valuetext]=\"state.pm ? t.pm : t.am\"\n [disabled]=\"isDisabled\"\n (click)=\"togglePeriod()\"\n (keydown)=\"periodKeydown($event)\"\n >{{ state.pm ? t.pm : t.am }}</button>\n <button type=\"button\" tabindex=\"-1\" class=\"wu-datepicker-time-step p-link\" aria-hidden=\"true\" [disabled]=\"isDisabled\" (mousedown)=\"$event.preventDefault()\" (click)=\"togglePeriod()\">\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 6l4 4 4-4\"></path></svg>\n </button>\n </div>\n </div>\n\n <div *ngIf=\"showButtonBar\" class=\"wu-datepicker-buttonbar p-datepicker-buttonbar\">\n <button type=\"button\" class=\"wu-datepicker-bar-button p-button p-button-text\" [disabled]=\"isDisabled\" (click)=\"today($event)\">{{ t.today }}</button>\n <button type=\"button\" class=\"wu-datepicker-bar-button p-button p-button-text\" [disabled]=\"isDisabled\" (click)=\"clearAll($event)\">{{ t.clear }}</button>\n </div>\n </div>\n</span>\n\n<ng-template #defaultIcon>\n <i *ngIf=\"icon; else builtInIcon\" [class]=\"icon + ' wu-datepicker-icon-custom'\"></i>\n</ng-template>\n<ng-template #builtInIcon>\n <ng-container *ngIf=\"timeOnly; else calendarIcon\"><svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><circle cx=\"8\" cy=\"8\" r=\"6.25\"></circle><path d=\"M8 4.75V8l2.25 1.5\"></path></svg></ng-container>\n</ng-template>\n<ng-template #calendarIcon>\n <svg viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><rect x=\"2\" y=\"3\" width=\"12\" height=\"11\" rx=\"2\"></rect><path d=\"M2 6.5h12M5.5 1.5v3M10.5 1.5v3\"></path></svg>\n</ng-template>\n", styles: ["@layer wiraui.components{:is(wu-datepicker,wu-date-picker),wu-calendar{display:inline-block;vertical-align:middle;max-width:100%}:is(wu-datepicker,wu-date-picker).wu-datepicker-fluid,wu-calendar.wu-datepicker-fluid{display:block;width:100%}.wu-datepicker{display:inline-flex;align-items:stretch;width:100%;min-width:0;font-family:var(--wu-font-family)}.wu-datepicker-field{position:relative;display:flex;flex:1 1 auto;min-width:0}.wu-datepicker-field .wu-inputtext{flex:1 1 auto;width:100%;min-width:0}.wu-datepicker-field .wu-inputtext[readonly]:not(:disabled){background:var(--wu-field-bg);cursor:pointer}:is(wu-datepicker,wu-calendar).ng-invalid:is(.ng-touched,form.ng-submitted *) .wu-inputtext{border-color:var(--wu-danger-color)}.wu-datepicker-has-clear .wu-inputtext,.wu-datepicker-has-input-icon .wu-inputtext{padding-right:calc(var(--wu-field-padding-x) + 1.75rem)}.wu-datepicker-has-clear.wu-datepicker-has-input-icon .wu-inputtext{padding-right:calc(var(--wu-field-padding-x) + 3.5rem)}.wu-datepicker-input-icon,.wu-datepicker-clear{position:absolute;top:50%;right:calc(var(--wu-field-padding-x) - .375rem);display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;margin-top:-.875rem;padding:0;border:0;border-radius:50%;background:transparent;color:var(--wu-field-placeholder)}.wu-datepicker-input-icon{cursor:pointer}.wu-datepicker-has-input-icon .wu-datepicker-clear{right:calc(var(--wu-field-padding-x) + 1.375rem)}.wu-datepicker-clear{cursor:pointer}.wu-datepicker-clear:hover{color:var(--wu-text)}.wu-datepicker-clear:focus-visible,.wu-datepicker-dropdown:focus-visible,.wu-datepicker-nav:focus-visible,.wu-datepicker-title-button:focus-visible,.wu-datepicker-cell:focus-visible,.wu-datepicker-time-input:focus-visible,.wu-datepicker-time-period:focus-visible,.wu-datepicker-bar-button:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-datepicker svg,.wu-datepicker-panel svg{width:1rem;height:1rem}.wu-datepicker-icon-custom{font-size:1rem;line-height:1}.wu-datepicker-has-dropdown .wu-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.wu-datepicker-dropdown{flex:none;display:grid;place-items:center;width:var(--wu-inputgroup-addon-min-width);margin:0 0 0 calc(var(--wu-field-border-width) * -1);padding:0;border:var(--wu-field-border-width) solid var(--wu-datepicker-dropdown-border);border-radius:0 var(--wu-input-radius) var(--wu-input-radius) 0;background:var(--wu-datepicker-dropdown-bg);color:var(--wu-datepicker-dropdown-color);cursor:pointer;touch-action:manipulation;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-datepicker-sm .wu-datepicker-dropdown{width:calc(var(--wu-inputgroup-addon-min-width) * var(--wu-size-sm-scale))}.wu-datepicker-lg .wu-datepicker-dropdown{width:calc(var(--wu-inputgroup-addon-min-width) * var(--wu-size-lg-scale))}.wu-datepicker-dropdown svg,.wu-datepicker-dropdown .wu-datepicker-icon-custom{width:1.125rem;height:1.125rem;font-size:1.125rem}.wu-datepicker-dropdown:not(:disabled):hover{background:var(--wu-datepicker-dropdown-hover-bg)}.wu-datepicker-dropdown:disabled{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-panel{box-sizing:border-box;width:max-content;max-width:100%;padding:var(--wu-datepicker-panel-padding);border:1px solid var(--wu-border);border-radius:var(--wu-datepicker-panel-radius);background:var(--wu-overlay-bg);backdrop-filter:var(--wu-overlay-backdrop);color:var(--wu-text);box-shadow:var(--wu-datepicker-panel-shadow);font-family:var(--wu-font-family);font-size:var(--wu-font-size);line-height:var(--wu-control-line-height);text-align:left;-webkit-tap-highlight-color:transparent}.wu-datepicker-panel *,.wu-datepicker-panel *:before,.wu-datepicker-panel *:after{box-sizing:border-box}.wu-datepicker-inline{display:inline-block;box-shadow:none}.wu-datepicker-popup{position:fixed;inset:auto;z-index:1100;margin:0;overflow:auto;max-height:calc(100vh - 1rem);max-height:calc(100dvh - 1rem);overscroll-behavior:contain;animation:wu-datepicker-in .12s ease-out}.wu-datepicker-popup::backdrop{background:transparent}.wu-datepicker-sheet{right:0;left:0;width:100%;max-width:none;max-height:85vh;max-height:85dvh;padding-bottom:calc(var(--wu-datepicker-panel-padding) + env(safe-area-inset-bottom,0px));border-width:1px 0 0;border-radius:var(--wu-datepicker-panel-radius) var(--wu-datepicker-panel-radius) 0 0;animation-name:wu-datepicker-up;animation-duration:.18s}.wu-datepicker-sheet::backdrop,.wu-datepicker-modal::backdrop{background:var(--wu-mask)}.wu-datepicker-modal{top:50%;left:50%;transform:translate(-50%,-50%);animation:none}@keyframes wu-datepicker-in{0%{opacity:0;transform:translateY(-.25rem)}}@keyframes wu-datepicker-up{0%{transform:translateY(100%)}}@media (prefers-reduced-motion: reduce){.wu-datepicker-popup{animation:none}}.wu-datepicker-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:0 0 .5rem;border-bottom:1px solid var(--wu-datepicker-header-border)}.wu-datepicker-title{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.25rem;min-width:0;font-weight:var(--wu-datepicker-title-weight)}.wu-datepicker-title-button,.wu-datepicker-decade{padding:.25rem .5rem;border:0;border-radius:var(--wu-radius-md);background:transparent;color:inherit;font:inherit;white-space:nowrap}.wu-datepicker-title-button{cursor:pointer;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-datepicker-title-button:hover{background:var(--wu-datepicker-hover-bg);color:var(--wu-primary-color)}.wu-datepicker-nav{flex:none;display:inline-grid;place-items:center;width:2rem;height:2rem;padding:0;border:0;border-radius:50%;background:transparent;color:var(--wu-text-muted);cursor:pointer;touch-action:manipulation;transition:background-color var(--wu-transition),color var(--wu-transition)}.wu-datepicker-nav:not(:disabled):hover{background:var(--wu-datepicker-hover-bg);color:var(--wu-text)}.wu-datepicker-nav:disabled{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-body{min-width:calc(7 * (var(--wu-datepicker-cell-size) + var(--wu-datepicker-cell-gap)))}.wu-datepicker-days{width:auto;margin:.5rem auto 0;border-collapse:collapse;border-spacing:0;table-layout:fixed}.wu-datepicker-days th,.wu-datepicker-days td{padding:calc(var(--wu-datepicker-cell-gap) / 2);text-align:center}.wu-datepicker-days th{font-weight:var(--wu-datepicker-weekday-weight);font-size:.875em}.wu-datepicker-cell{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-datepicker-cell-size);height:var(--wu-datepicker-cell-size);margin:0;padding:0;border:1px solid transparent;border-radius:var(--wu-datepicker-cell-radius);background:transparent;color:inherit;font:inherit;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--wu-transition),color var(--wu-transition),box-shadow var(--wu-transition)}.wu-datepicker-cell:hover:not(.wu-datepicker-selected):not(.wu-datepicker-in-range):not([aria-disabled=\"true\"]){background:var(--wu-datepicker-hover-bg)}.wu-datepicker-today>.wu-datepicker-cell:not(.wu-datepicker-selected):not(.wu-datepicker-in-range){background:var(--wu-datepicker-today-bg);color:var(--wu-datepicker-today-color)}.wu-datepicker-other-month>.wu-datepicker-cell,.wu-datepicker-outside{color:var(--wu-text-muted)}.wu-datepicker-cell.wu-datepicker-in-range{background:var(--wu-datepicker-range-bg);color:var(--wu-datepicker-range-color)}.wu-datepicker-cell.wu-datepicker-selected{background:var(--wu-datepicker-selected-bg);color:var(--wu-datepicker-selected-color)}.wu-datepicker-cell[aria-disabled=true]{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-cell[aria-disabled=true]:not(.wu-datepicker-selected){text-decoration:line-through;text-decoration-color:color-mix(in srgb,currentColor 45%,transparent)}.wu-datepicker-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(4,1fr);gap:.5rem;min-height:calc(7 * (var(--wu-datepicker-cell-size) + var(--wu-datepicker-cell-gap)));margin:.5rem 0 0}.wu-datepicker-grid .wu-datepicker-cell{width:auto;height:auto;min-height:2.5rem;padding:.375rem;border-radius:var(--wu-radius-md)}.wu-datepicker-time{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 0 0}.wu-datepicker-time:not(:first-child){margin-top:.5rem;border-top:1px solid var(--wu-datepicker-header-border)}.wu-datepicker-time-field{display:flex;flex-direction:column;align-items:center;gap:.125rem}.wu-datepicker-time-step{display:inline-grid;place-items:center;width:2rem;height:1.75rem;padding:0;border:0;border-radius:var(--wu-radius-md);background:transparent;color:var(--wu-text-muted);cursor:pointer;touch-action:manipulation}.wu-datepicker-time-step:not(:disabled):hover{background:var(--wu-datepicker-hover-bg);color:var(--wu-text)}.wu-datepicker-time-step:disabled{opacity:var(--wu-disabled-opacity);cursor:default}.wu-datepicker-time-input,.wu-datepicker-time-period{width:2.75rem;height:2.25rem;margin:0;padding:0;border:var(--wu-field-border-width) solid transparent;border-radius:var(--wu-radius-md);background:transparent;color:inherit;font:inherit;font-size:1.25em;font-variant-numeric:tabular-nums;text-align:center;transition:border-color var(--wu-transition)}.wu-datepicker-time-input:not([readonly]):not(:disabled):hover{border-color:var(--wu-field-hover-border)}.wu-datepicker-time-input:not([readonly]):focus{border-color:var(--wu-field-focus-border)}.wu-datepicker-time-input[readonly]{cursor:default}.wu-datepicker-time-period{width:3.25rem;font-size:1em;cursor:pointer}.wu-datepicker-time-period:hover{border-color:var(--wu-field-hover-border)}.wu-datepicker-time-separator{font-size:1.25em;color:var(--wu-text-muted)}.wu-datepicker-buttonbar{display:flex;justify-content:space-between;gap:.5rem;margin-top:.5rem;padding:.5rem 0 0;border-top:1px solid var(--wu-datepicker-header-border)}.wu-datepicker-bar-button{padding:.375rem .75rem;border:0;border-radius:var(--wu-radius-md);background:transparent;color:var(--wu-primary-color);font:inherit;font-weight:600;cursor:pointer;touch-action:manipulation}.wu-datepicker-bar-button:hover{background:var(--wu-primary-soft)}.wu-datepicker-sheet .wu-datepicker-body{min-width:0}.wu-datepicker-sheet .wu-datepicker-days{width:100%}.wu-datepicker-sheet .wu-datepicker-days th,.wu-datepicker-sheet .wu-datepicker-days td{padding:.125rem}.wu-datepicker-sheet .wu-datepicker-days td>.wu-datepicker-cell{width:100%;max-width:2.75rem;height:auto;aspect-ratio:1}@media (max-width: 575.98px){.wu-datepicker-inline{display:block;width:100%}.wu-datepicker-inline .wu-datepicker-body{min-width:0}.wu-datepicker-inline .wu-datepicker-days{width:100%}.wu-datepicker-inline .wu-datepicker-days th,.wu-datepicker-inline .wu-datepicker-days td{padding:.125rem}.wu-datepicker-inline .wu-datepicker-days td>.wu-datepicker-cell{width:100%;max-width:max(var(--wu-datepicker-cell-size),2.75rem);height:auto;aspect-ratio:1}}.wu-datepicker-sheet .wu-datepicker-grid{min-height:18rem}.wu-datepicker-sheet .wu-datepicker-nav{width:2.75rem;height:2.75rem}.wu-datepicker-sheet .wu-datepicker-time-step{width:2.75rem;height:2.25rem}.wu-datepicker-sheet .wu-datepicker-bar-button{min-height:2.75rem}.wu-datepicker-disabled{opacity:var(--wu-disabled-opacity);pointer-events:none}}\n"] }]
|
|
741
|
+
}], ctorParameters: function () { return []; }, propDecorators: { selectionMode: [{
|
|
742
|
+
type: Input
|
|
743
|
+
}], view: [{
|
|
744
|
+
type: Input
|
|
745
|
+
}], minDate: [{
|
|
746
|
+
type: Input
|
|
747
|
+
}], maxDate: [{
|
|
748
|
+
type: Input
|
|
749
|
+
}], disabledDates: [{
|
|
750
|
+
type: Input
|
|
751
|
+
}], disabledDays: [{
|
|
752
|
+
type: Input
|
|
753
|
+
}], maxDateCount: [{
|
|
754
|
+
type: Input
|
|
755
|
+
}], defaultDate: [{
|
|
756
|
+
type: Input
|
|
757
|
+
}], firstDayOfWeek: [{
|
|
758
|
+
type: Input
|
|
759
|
+
}], yearRange: [{
|
|
760
|
+
type: Input
|
|
761
|
+
}], showOtherMonths: [{
|
|
762
|
+
type: Input
|
|
763
|
+
}], selectOtherMonths: [{
|
|
764
|
+
type: Input
|
|
765
|
+
}], dateFormat: [{
|
|
766
|
+
type: Input
|
|
767
|
+
}], calendar: [{
|
|
768
|
+
type: Input
|
|
769
|
+
}], isBudhistYear: [{
|
|
770
|
+
type: Input
|
|
771
|
+
}], isBuddhistYear: [{
|
|
772
|
+
type: Input
|
|
773
|
+
}], dataType: [{
|
|
774
|
+
type: Input
|
|
775
|
+
}], keepInvalid: [{
|
|
776
|
+
type: Input
|
|
777
|
+
}], showTime: [{
|
|
778
|
+
type: Input
|
|
779
|
+
}], timeOnly: [{
|
|
780
|
+
type: Input
|
|
781
|
+
}], showSeconds: [{
|
|
782
|
+
type: Input
|
|
783
|
+
}], hourFormat: [{
|
|
784
|
+
type: Input
|
|
785
|
+
}], stepHour: [{
|
|
786
|
+
type: Input
|
|
787
|
+
}], stepMinute: [{
|
|
788
|
+
type: Input
|
|
789
|
+
}], stepSecond: [{
|
|
790
|
+
type: Input
|
|
791
|
+
}], hideOnDateTimeSelect: [{
|
|
792
|
+
type: Input
|
|
793
|
+
}], readonlyInput: [{
|
|
794
|
+
type: Input
|
|
795
|
+
}], readOnlyInput: [{
|
|
796
|
+
type: Input
|
|
797
|
+
}], timeReadonlyInput: [{
|
|
798
|
+
type: Input
|
|
799
|
+
}], timeReadOnlyInput: [{
|
|
800
|
+
type: Input
|
|
801
|
+
}], placeholder: [{
|
|
802
|
+
type: Input
|
|
803
|
+
}], inputId: [{
|
|
804
|
+
type: Input
|
|
805
|
+
}], name: [{
|
|
806
|
+
type: Input
|
|
807
|
+
}], ariaLabel: [{
|
|
808
|
+
type: Input
|
|
809
|
+
}], ariaLabelledBy: [{
|
|
810
|
+
type: Input
|
|
811
|
+
}], tabindex: [{
|
|
812
|
+
type: Input
|
|
813
|
+
}], disabled: [{
|
|
814
|
+
type: Input
|
|
815
|
+
}], invalid: [{
|
|
816
|
+
type: Input
|
|
817
|
+
}], size: [{
|
|
818
|
+
type: Input
|
|
819
|
+
}], sizeSm: [{
|
|
820
|
+
type: HostBinding,
|
|
821
|
+
args: ['class.wu-datepicker-sm']
|
|
822
|
+
}, {
|
|
823
|
+
type: HostBinding,
|
|
824
|
+
args: ['class.p-datepicker-sm']
|
|
825
|
+
}], sizeLg: [{
|
|
826
|
+
type: HostBinding,
|
|
827
|
+
args: ['class.wu-datepicker-lg']
|
|
828
|
+
}, {
|
|
829
|
+
type: HostBinding,
|
|
830
|
+
args: ['class.p-datepicker-lg']
|
|
831
|
+
}], required: [{
|
|
832
|
+
type: Input
|
|
833
|
+
}], fluid: [{
|
|
834
|
+
type: Input
|
|
835
|
+
}], showOnFocus: [{
|
|
836
|
+
type: Input
|
|
837
|
+
}], showIcon: [{
|
|
838
|
+
type: Input
|
|
839
|
+
}], icon: [{
|
|
840
|
+
type: Input
|
|
841
|
+
}], iconDisplay: [{
|
|
842
|
+
type: Input
|
|
843
|
+
}], showButtonBar: [{
|
|
844
|
+
type: Input
|
|
845
|
+
}], showClear: [{
|
|
846
|
+
type: Input
|
|
847
|
+
}], inline: [{
|
|
848
|
+
type: Input
|
|
849
|
+
}], touchUI: [{
|
|
850
|
+
type: Input
|
|
851
|
+
}], styleClass: [{
|
|
852
|
+
type: Input
|
|
853
|
+
}], style: [{
|
|
854
|
+
type: Input
|
|
855
|
+
}], inputStyleClass: [{
|
|
856
|
+
type: Input
|
|
857
|
+
}], inputStyle: [{
|
|
858
|
+
type: Input
|
|
859
|
+
}], panelStyleClass: [{
|
|
860
|
+
type: Input
|
|
861
|
+
}], panelStyle: [{
|
|
862
|
+
type: Input
|
|
863
|
+
}], appendTo: [{
|
|
864
|
+
type: Input
|
|
865
|
+
}], baseZIndex: [{
|
|
866
|
+
type: Input
|
|
867
|
+
}], autoZIndex: [{
|
|
868
|
+
type: Input
|
|
869
|
+
}], onSelect: [{
|
|
870
|
+
type: Output
|
|
871
|
+
}], onInput: [{
|
|
872
|
+
type: Output
|
|
873
|
+
}], onFocus: [{
|
|
874
|
+
type: Output
|
|
875
|
+
}], onBlur: [{
|
|
876
|
+
type: Output
|
|
877
|
+
}], onShow: [{
|
|
878
|
+
type: Output
|
|
879
|
+
}], onClose: [{
|
|
880
|
+
type: Output
|
|
881
|
+
}], onClear: [{
|
|
882
|
+
type: Output
|
|
883
|
+
}], onTodayClick: [{
|
|
884
|
+
type: Output
|
|
885
|
+
}], onClearClick: [{
|
|
886
|
+
type: Output
|
|
887
|
+
}], onMonthChange: [{
|
|
888
|
+
type: Output
|
|
889
|
+
}], onYearChange: [{
|
|
890
|
+
type: Output
|
|
891
|
+
}], fluidClass: [{
|
|
892
|
+
type: HostBinding,
|
|
893
|
+
args: ['class.wu-datepicker-fluid']
|
|
894
|
+
}], filled: [{
|
|
895
|
+
type: HostBinding,
|
|
896
|
+
args: ['class.wu-filled']
|
|
897
|
+
}, {
|
|
898
|
+
type: HostBinding,
|
|
899
|
+
args: ['class.p-inputwrapper-filled']
|
|
900
|
+
}], focusClass: [{
|
|
901
|
+
type: HostBinding,
|
|
902
|
+
args: ['class.p-inputwrapper-focus']
|
|
903
|
+
}], templates: [{
|
|
904
|
+
type: ContentChildren,
|
|
905
|
+
args: [WuTemplate]
|
|
906
|
+
}], inputIconRef: [{
|
|
907
|
+
type: ContentChild,
|
|
908
|
+
args: ['inputicon', { descendants: false }]
|
|
909
|
+
}], triggerIconRef: [{
|
|
910
|
+
type: ContentChild,
|
|
911
|
+
args: ['triggericon', { descendants: false }]
|
|
912
|
+
}], dateRef: [{
|
|
913
|
+
type: ContentChild,
|
|
914
|
+
args: ['date', { descendants: false }]
|
|
915
|
+
}], dayRef: [{
|
|
916
|
+
type: ContentChild,
|
|
917
|
+
args: ['day', { descendants: false }]
|
|
918
|
+
}], rootRef: [{
|
|
919
|
+
type: ViewChild,
|
|
920
|
+
args: ['root', { static: true }]
|
|
921
|
+
}], inputRef: [{
|
|
922
|
+
type: ViewChild,
|
|
923
|
+
args: ['input']
|
|
924
|
+
}], panelRef: [{
|
|
925
|
+
type: ViewChild,
|
|
926
|
+
args: ['panel']
|
|
927
|
+
}], focusOut: [{
|
|
928
|
+
type: HostListener,
|
|
929
|
+
args: ['focusout', ['$event']]
|
|
930
|
+
}] } });
|
|
931
|
+
|
|
932
|
+
/** For NgModule apps. Standalone apps can import `WuDatePicker` directly. */
|
|
933
|
+
class WuDatePickerModule {
|
|
934
|
+
}
|
|
935
|
+
WuDatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
936
|
+
WuDatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: WuDatePickerModule, imports: [WuDatePicker], exports: [WuDatePicker] });
|
|
937
|
+
WuDatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuDatePickerModule, imports: [WuDatePicker] });
|
|
938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WuDatePickerModule, decorators: [{
|
|
939
|
+
type: NgModule,
|
|
940
|
+
args: [{
|
|
941
|
+
imports: [WuDatePicker],
|
|
942
|
+
exports: [WuDatePicker],
|
|
943
|
+
}]
|
|
944
|
+
}] });
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Generated bundle index. Do not edit.
|
|
948
|
+
*/
|
|
949
|
+
|
|
950
|
+
export { WuDatePicker, WuDatePickerModule };
|
|
951
|
+
//# sourceMappingURL=wirabyte-ui-datepicker.mjs.map
|