@wirabyte/ui 2.0.0-beta.0 → 3.0.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 +31 -0
- package/README.md +6 -6
- package/fesm2022/wirabyte-ui-accordion.mjs +49 -49
- package/fesm2022/wirabyte-ui-accordion.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-alert.mjs +14 -14
- package/fesm2022/wirabyte-ui-alert.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-animate.mjs +10 -10
- package/fesm2022/wirabyte-ui-animate.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-api.mjs +4 -4
- package/fesm2022/wirabyte-ui-asidemenu.mjs +8 -8
- package/fesm2022/wirabyte-ui-asidemenu.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-autocomplete.mjs +10 -10
- package/fesm2022/wirabyte-ui-autocomplete.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-avatar.mjs +34 -27
- package/fesm2022/wirabyte-ui-avatar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-badge.mjs +20 -20
- package/fesm2022/wirabyte-ui-badge.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-blockui.mjs +8 -8
- package/fesm2022/wirabyte-ui-blockui.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-bottombar.mjs +8 -8
- package/fesm2022/wirabyte-ui-bottombar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-breadcrumb.mjs +10 -8
- package/fesm2022/wirabyte-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-button.mjs +39 -39
- package/fesm2022/wirabyte-ui-button.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-card.mjs +34 -34
- package/fesm2022/wirabyte-ui-card.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-carousel.mjs +8 -8
- package/fesm2022/wirabyte-ui-carousel.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-chart.mjs +1243 -40
- package/fesm2022/wirabyte-ui-chart.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-chartjs.mjs +10 -10
- package/fesm2022/wirabyte-ui-chartjs.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-chat.mjs +391 -0
- package/fesm2022/wirabyte-ui-chat.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-checkbox.mjs +29 -29
- package/fesm2022/wirabyte-ui-checkbox.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-chip.mjs +20 -20
- package/fesm2022/wirabyte-ui-chip.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-colorpicker.mjs +8 -8
- package/fesm2022/wirabyte-ui-colorpicker.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-config.mjs +62 -22
- package/fesm2022/wirabyte-ui-config.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-confirmdialog.mjs +14 -14
- package/fesm2022/wirabyte-ui-confirmdialog.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-contextmenu.mjs +7 -7
- package/fesm2022/wirabyte-ui-contextmenu.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-core.mjs +155 -2
- package/fesm2022/wirabyte-ui-core.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-datepicker.mjs +85 -85
- package/fesm2022/wirabyte-ui-datepicker.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-descriptions.mjs +133 -0
- package/fesm2022/wirabyte-ui-descriptions.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-dialog.mjs +21 -21
- package/fesm2022/wirabyte-ui-dialog.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-divider.mjs +16 -16
- package/fesm2022/wirabyte-ui-divider.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-dock.mjs +8 -8
- package/fesm2022/wirabyte-ui-dock.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-dragdrop.mjs +10 -10
- package/fesm2022/wirabyte-ui-dragdrop.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-drawer.mjs +8 -8
- package/fesm2022/wirabyte-ui-drawer.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-editor.mjs +17 -17
- package/fesm2022/wirabyte-ui-editor.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-emptystate.mjs +8 -8
- package/fesm2022/wirabyte-ui-emptystate.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-errorpage.mjs +8 -8
- package/fesm2022/wirabyte-ui-errorpage.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-fieldset.mjs +21 -21
- package/fesm2022/wirabyte-ui-fieldset.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-fileupload.mjs +11 -11
- package/fesm2022/wirabyte-ui-fileupload.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-floatlabel.mjs +7 -7
- package/fesm2022/wirabyte-ui-floatlabel.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-flow.mjs +51 -51
- package/fesm2022/wirabyte-ui-flow.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-galleria.mjs +8 -8
- package/fesm2022/wirabyte-ui-galleria.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-i18n.mjs +17 -17
- package/fesm2022/wirabyte-ui-i18n.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-iconfield.mjs +10 -10
- package/fesm2022/wirabyte-ui-iconfield.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-image.mjs +11 -11
- package/fesm2022/wirabyte-ui-image.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-imagecompare.mjs +8 -8
- package/fesm2022/wirabyte-ui-imagecompare.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-imagecropper.mjs +8 -8
- package/fesm2022/wirabyte-ui-imagecropper.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-inplace.mjs +7 -7
- package/fesm2022/wirabyte-ui-inplace.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-inputgroup.mjs +10 -10
- package/fesm2022/wirabyte-ui-inputgroup.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-inputmask.mjs +10 -10
- package/fesm2022/wirabyte-ui-inputmask.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-inputnumber.mjs +60 -60
- package/fesm2022/wirabyte-ui-inputnumber.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-inputotp.mjs +7 -7
- package/fesm2022/wirabyte-ui-inputotp.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-inputtext.mjs +12 -12
- package/fesm2022/wirabyte-ui-inputtext.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-keyfilter.mjs +7 -7
- package/fesm2022/wirabyte-ui-keyfilter.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-knob.mjs +8 -8
- package/fesm2022/wirabyte-ui-knob.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-listbox.mjs +8 -8
- package/fesm2022/wirabyte-ui-listbox.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-menu.mjs +11 -11
- package/fesm2022/wirabyte-ui-menu.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-menubar.mjs +11 -11
- package/fesm2022/wirabyte-ui-menubar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-message.mjs +30 -30
- package/fesm2022/wirabyte-ui-message.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-metergroup.mjs +51 -37
- package/fesm2022/wirabyte-ui-metergroup.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-multiselect.mjs +11 -11
- package/fesm2022/wirabyte-ui-multiselect.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-navbar.mjs +8 -8
- package/fesm2022/wirabyte-ui-navbar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-orderlist.mjs +10 -10
- package/fesm2022/wirabyte-ui-orderlist.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-organizationchart.mjs +8 -8
- package/fesm2022/wirabyte-ui-organizationchart.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-paginator.mjs +11 -11
- package/fesm2022/wirabyte-ui-paginator.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-panel.mjs +26 -26
- package/fesm2022/wirabyte-ui-panel.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-panelmenu.mjs +11 -11
- package/fesm2022/wirabyte-ui-panelmenu.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-password.mjs +48 -48
- package/fesm2022/wirabyte-ui-password.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-picklist.mjs +11 -11
- package/fesm2022/wirabyte-ui-picklist.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-popover.mjs +12 -12
- package/fesm2022/wirabyte-ui-popover.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-presets.mjs +2 -2
- package/fesm2022/wirabyte-ui-presets.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-progressbar.mjs +32 -32
- package/fesm2022/wirabyte-ui-progressbar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-progressspinner.mjs +28 -28
- package/fesm2022/wirabyte-ui-progressspinner.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-radiobutton.mjs +28 -28
- package/fesm2022/wirabyte-ui-radiobutton.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-rating.mjs +25 -25
- package/fesm2022/wirabyte-ui-rating.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-result.mjs +8 -8
- package/fesm2022/wirabyte-ui-result.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-ripple.mjs +7 -7
- package/fesm2022/wirabyte-ui-ripple.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-scheduler.mjs +504 -0
- package/fesm2022/wirabyte-ui-scheduler.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-scroller.mjs +8 -8
- package/fesm2022/wirabyte-ui-scroller.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-scrollpanel.mjs +7 -7
- package/fesm2022/wirabyte-ui-scrollpanel.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-select.mjs +11 -11
- package/fesm2022/wirabyte-ui-select.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-selectbutton.mjs +55 -34
- package/fesm2022/wirabyte-ui-selectbutton.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-signaturepad.mjs +310 -0
- package/fesm2022/wirabyte-ui-signaturepad.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-sitefooter.mjs +7 -7
- package/fesm2022/wirabyte-ui-sitefooter.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-skeleton.mjs +19 -19
- package/fesm2022/wirabyte-ui-skeleton.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-slider.mjs +8 -8
- package/fesm2022/wirabyte-ui-slider.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-splitbutton.mjs +7 -7
- package/fesm2022/wirabyte-ui-splitbutton.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-splitter.mjs +11 -11
- package/fesm2022/wirabyte-ui-splitter.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-stat.mjs +149 -0
- package/fesm2022/wirabyte-ui-stat.mjs.map +1 -0
- package/fesm2022/wirabyte-ui-stepper.mjs +42 -42
- package/fesm2022/wirabyte-ui-stepper.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-steps.mjs +11 -11
- package/fesm2022/wirabyte-ui-steps.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-table.mjs +88 -88
- package/fesm2022/wirabyte-ui-table.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-tabs.mjs +74 -74
- package/fesm2022/wirabyte-ui-tabs.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-tag.mjs +18 -18
- package/fesm2022/wirabyte-ui-tag.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-terminal.mjs +10 -10
- package/fesm2022/wirabyte-ui-terminal.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-textarea.mjs +31 -13
- package/fesm2022/wirabyte-ui-textarea.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-thai.mjs +23 -23
- package/fesm2022/wirabyte-ui-thai.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-tieredmenu.mjs +8 -8
- package/fesm2022/wirabyte-ui-tieredmenu.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-timeline.mjs +10 -10
- package/fesm2022/wirabyte-ui-timeline.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-toast.mjs +14 -14
- package/fesm2022/wirabyte-ui-toast.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-togglebutton.mjs +30 -30
- package/fesm2022/wirabyte-ui-togglebutton.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-toggleswitch.mjs +27 -27
- package/fesm2022/wirabyte-ui-toggleswitch.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-toolbar.mjs +12 -12
- package/fesm2022/wirabyte-ui-toolbar.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-tooltip.mjs +7 -7
- package/fesm2022/wirabyte-ui-tooltip.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-tree.mjs +8 -8
- package/fesm2022/wirabyte-ui-tree.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-treeselect.mjs +7 -7
- package/fesm2022/wirabyte-ui-treeselect.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-validation.mjs +16 -16
- package/fesm2022/wirabyte-ui-validation.mjs.map +1 -1
- package/fesm2022/wirabyte-ui.mjs +2 -2
- package/fesm2022/wirabyte-ui.mjs.map +1 -1
- package/package.json +142 -325
- package/schematics/core/catalog.cjs +22 -1
- package/schematics/core/families.cjs +42 -0
- package/schematics/core/overrides.cjs +25 -0
- package/schematics/core/thai/locale.cjs +66 -0
- package/schematics/ng-add/index.cjs +3 -1
- package/schematics/ng-add/schema.json +27 -2
- package/theme/_data.scss +239 -7
- package/theme/_index.scss +29 -0
- package/theme/_version.scss +1 -1
- package/themes/glass/amber.css +1210 -0
- package/themes/glass/blue.css +1210 -0
- package/themes/glass/cyan.css +1210 -0
- package/themes/glass/emerald.css +1210 -0
- package/themes/glass/fuchsia.css +1210 -0
- package/themes/glass/green.css +1210 -0
- package/themes/glass/indigo.css +1210 -0
- package/themes/glass/lime.css +1210 -0
- package/themes/glass/orange.css +1210 -0
- package/themes/glass/pink.css +1210 -0
- package/themes/glass/purple.css +1210 -0
- package/themes/glass/red.css +1210 -0
- package/themes/glass/rose.css +1210 -0
- package/themes/glass/sky.css +1210 -0
- package/themes/glass/teal.css +1210 -0
- package/themes/glass/theme.css +1210 -0
- package/themes/glass/violet.css +1210 -0
- package/themes/glass/wira.css +1210 -0
- package/themes/glass/yellow.css +1210 -0
- package/themes/lanna/amber.css +1204 -0
- package/themes/lanna/blue.css +1204 -0
- package/themes/lanna/cyan.css +1204 -0
- package/themes/lanna/emerald.css +1204 -0
- package/themes/lanna/fuchsia.css +1204 -0
- package/themes/lanna/green.css +1204 -0
- package/themes/lanna/indigo.css +1204 -0
- package/themes/lanna/lime.css +1204 -0
- package/themes/lanna/orange.css +1204 -0
- package/themes/lanna/pink.css +1204 -0
- package/themes/lanna/purple.css +1204 -0
- package/themes/lanna/red.css +1204 -0
- package/themes/lanna/rose.css +1204 -0
- package/themes/lanna/sky.css +1204 -0
- package/themes/lanna/teal.css +1204 -0
- package/themes/lanna/theme.css +1204 -0
- package/themes/lanna/violet.css +1204 -0
- package/themes/lanna/wira.css +1204 -0
- package/themes/lanna/yellow.css +1204 -0
- package/themes/mali/amber.css +30 -1
- package/themes/mali/blue.css +30 -1
- package/themes/mali/cyan.css +30 -1
- package/themes/mali/emerald.css +30 -1
- package/themes/mali/fuchsia.css +30 -1
- package/themes/mali/green.css +30 -1
- package/themes/mali/indigo.css +30 -1
- package/themes/mali/lime.css +30 -1
- package/themes/mali/orange.css +30 -1
- package/themes/mali/pink.css +30 -1
- package/themes/mali/purple.css +30 -1
- package/themes/mali/red.css +30 -1
- package/themes/mali/rose.css +30 -1
- package/themes/mali/sky.css +30 -1
- package/themes/mali/teal.css +30 -1
- package/themes/mali/theme.css +30 -1
- package/themes/mali/violet.css +30 -1
- package/themes/mali/wira.css +30 -1
- package/themes/mali/yellow.css +30 -1
- package/themes/material/amber.css +30 -1
- package/themes/material/blue.css +30 -1
- package/themes/material/cyan.css +30 -1
- package/themes/material/emerald.css +30 -1
- package/themes/material/fuchsia.css +30 -1
- package/themes/material/green.css +30 -1
- package/themes/material/indigo.css +30 -1
- package/themes/material/lime.css +30 -1
- package/themes/material/orange.css +30 -1
- package/themes/material/pink.css +30 -1
- package/themes/material/purple.css +30 -1
- package/themes/material/red.css +30 -1
- package/themes/material/rose.css +30 -1
- package/themes/material/sky.css +30 -1
- package/themes/material/teal.css +30 -1
- package/themes/material/theme.css +30 -1
- package/themes/material/violet.css +30 -1
- package/themes/material/wira.css +30 -1
- package/themes/material/yellow.css +30 -1
- package/themes/nakhon/amber.css +1204 -0
- package/themes/nakhon/blue.css +1204 -0
- package/themes/nakhon/cyan.css +1204 -0
- package/themes/nakhon/emerald.css +1204 -0
- package/themes/nakhon/fuchsia.css +1204 -0
- package/themes/nakhon/green.css +1204 -0
- package/themes/nakhon/indigo.css +1204 -0
- package/themes/nakhon/lime.css +1204 -0
- package/themes/nakhon/orange.css +1204 -0
- package/themes/nakhon/pink.css +1204 -0
- package/themes/nakhon/purple.css +1204 -0
- package/themes/nakhon/red.css +1204 -0
- package/themes/nakhon/rose.css +1204 -0
- package/themes/nakhon/sky.css +1204 -0
- package/themes/nakhon/teal.css +1204 -0
- package/themes/nakhon/theme.css +1204 -0
- package/themes/nakhon/violet.css +1204 -0
- package/themes/nakhon/wira.css +1204 -0
- package/themes/nakhon/yellow.css +1204 -0
- package/themes/phet/amber.css +30 -1
- package/themes/phet/blue.css +30 -1
- package/themes/phet/cyan.css +30 -1
- package/themes/phet/emerald.css +30 -1
- package/themes/phet/fuchsia.css +30 -1
- package/themes/phet/green.css +30 -1
- package/themes/phet/indigo.css +30 -1
- package/themes/phet/lime.css +30 -1
- package/themes/phet/orange.css +30 -1
- package/themes/phet/pink.css +30 -1
- package/themes/phet/purple.css +30 -1
- package/themes/phet/red.css +30 -1
- package/themes/phet/rose.css +30 -1
- package/themes/phet/sky.css +30 -1
- package/themes/phet/teal.css +30 -1
- package/themes/phet/theme.css +30 -1
- package/themes/phet/violet.css +30 -1
- package/themes/phet/wira.css +30 -1
- package/themes/phet/yellow.css +30 -1
- package/themes/siam/amber.css +1204 -0
- package/themes/siam/blue.css +1204 -0
- package/themes/siam/cyan.css +1204 -0
- package/themes/siam/emerald.css +1204 -0
- package/themes/siam/fuchsia.css +1204 -0
- package/themes/siam/green.css +1204 -0
- package/themes/siam/indigo.css +1204 -0
- package/themes/siam/lime.css +1204 -0
- package/themes/siam/orange.css +1204 -0
- package/themes/siam/pink.css +1204 -0
- package/themes/siam/purple.css +1204 -0
- package/themes/siam/red.css +1204 -0
- package/themes/siam/rose.css +1204 -0
- package/themes/siam/sky.css +1204 -0
- package/themes/siam/teal.css +1204 -0
- package/themes/siam/theme.css +1204 -0
- package/themes/siam/violet.css +1204 -0
- package/themes/siam/wira.css +1204 -0
- package/themes/siam/yellow.css +1204 -0
- package/themes/sila/amber.css +30 -1
- package/themes/sila/blue.css +30 -1
- package/themes/sila/cyan.css +30 -1
- package/themes/sila/emerald.css +30 -1
- package/themes/sila/fuchsia.css +30 -1
- package/themes/sila/green.css +30 -1
- package/themes/sila/indigo.css +30 -1
- package/themes/sila/lime.css +30 -1
- package/themes/sila/orange.css +30 -1
- package/themes/sila/pink.css +30 -1
- package/themes/sila/purple.css +30 -1
- package/themes/sila/red.css +30 -1
- package/themes/sila/rose.css +30 -1
- package/themes/sila/sky.css +30 -1
- package/themes/sila/teal.css +30 -1
- package/themes/sila/theme.css +30 -1
- package/themes/sila/violet.css +30 -1
- package/themes/sila/wira.css +30 -1
- package/themes/sila/yellow.css +30 -1
- package/themes/wira/amber.css +1204 -0
- package/themes/wira/blue.css +1204 -0
- package/themes/wira/cyan.css +1204 -0
- package/themes/wira/emerald.css +1204 -0
- package/themes/wira/fuchsia.css +1204 -0
- package/themes/wira/green.css +1204 -0
- package/themes/wira/indigo.css +1204 -0
- package/themes/wira/lime.css +1204 -0
- package/themes/wira/orange.css +1204 -0
- package/themes/wira/pink.css +1204 -0
- package/themes/wira/purple.css +1204 -0
- package/themes/wira/red.css +1204 -0
- package/themes/wira/rose.css +1204 -0
- package/themes/wira/sky.css +1204 -0
- package/themes/wira/teal.css +1204 -0
- package/themes/wira/theme.css +1204 -0
- package/themes/wira/violet.css +1204 -0
- package/themes/wira/wira.css +1204 -0
- package/themes/wira/yellow.css +1204 -0
- package/types/wirabyte-ui-accordion.d.ts +124 -0
- package/types/wirabyte-ui-alert.d.ts +254 -0
- package/types/wirabyte-ui-animate.d.ts +100 -0
- package/types/wirabyte-ui-api.d.ts +16 -0
- package/types/wirabyte-ui-asidemenu.d.ts +233 -0
- package/types/wirabyte-ui-autocomplete.d.ts +212 -0
- package/types/wirabyte-ui-avatar.d.ts +54 -0
- package/types/wirabyte-ui-badge.d.ts +66 -0
- package/types/wirabyte-ui-blockui.d.ts +51 -0
- package/types/wirabyte-ui-bottombar.d.ts +91 -0
- package/types/wirabyte-ui-breadcrumb.d.ts +54 -0
- package/types/wirabyte-ui-button.d.ts +132 -0
- package/types/wirabyte-ui-card.d.ts +66 -0
- package/types/wirabyte-ui-carousel.d.ts +202 -0
- package/types/wirabyte-ui-chart.d.ts +412 -0
- package/types/wirabyte-ui-chartjs.d.ts +98 -0
- package/types/wirabyte-ui-chat.d.ts +192 -0
- package/types/wirabyte-ui-checkbox.d.ts +65 -0
- package/types/wirabyte-ui-chip.d.ts +40 -0
- package/types/wirabyte-ui-colorpicker.d.ts +98 -0
- package/types/wirabyte-ui-config.d.ts +347 -0
- package/types/wirabyte-ui-confirmdialog.d.ts +193 -0
- package/types/wirabyte-ui-contextmenu.d.ts +57 -0
- package/types/wirabyte-ui-core.d.ts +4355 -0
- package/types/wirabyte-ui-datepicker.d.ts +251 -0
- package/types/wirabyte-ui-descriptions.d.ts +67 -0
- package/types/wirabyte-ui-dialog.d.ts +273 -0
- package/types/wirabyte-ui-divider.d.ts +34 -0
- package/types/wirabyte-ui-dock.d.ts +100 -0
- package/types/wirabyte-ui-dragdrop.d.ts +74 -0
- package/types/wirabyte-ui-drawer.d.ts +113 -0
- package/types/wirabyte-ui-editor.d.ts +500 -0
- package/types/wirabyte-ui-emptystate.d.ts +55 -0
- package/types/wirabyte-ui-errorpage.d.ts +84 -0
- package/types/wirabyte-ui-excel.d.ts +29 -0
- package/types/wirabyte-ui-fieldset.d.ts +40 -0
- package/types/wirabyte-ui-fileupload.d.ts +251 -0
- package/types/wirabyte-ui-floatlabel.d.ts +33 -0
- package/types/wirabyte-ui-flow.d.ts +1343 -0
- package/types/wirabyte-ui-galleria.d.ts +173 -0
- package/types/wirabyte-ui-i18n.d.ts +179 -0
- package/types/wirabyte-ui-iconfield.d.ts +40 -0
- package/types/wirabyte-ui-image.d.ts +100 -0
- package/types/wirabyte-ui-imagecompare.d.ts +78 -0
- package/types/wirabyte-ui-imagecropper.d.ts +396 -0
- package/types/wirabyte-ui-inplace.d.ts +69 -0
- package/types/wirabyte-ui-inputgroup.d.ts +36 -0
- package/types/wirabyte-ui-inputmask.d.ts +134 -0
- package/types/wirabyte-ui-inputnumber.d.ts +126 -0
- package/types/wirabyte-ui-inputotp.d.ts +139 -0
- package/types/wirabyte-ui-inputtext.d.ts +38 -0
- package/types/wirabyte-ui-keyfilter.d.ts +40 -0
- package/types/wirabyte-ui-knob.d.ts +104 -0
- package/types/wirabyte-ui-listbox.d.ts +197 -0
- package/types/wirabyte-ui-menu.d.ts +116 -0
- package/types/wirabyte-ui-menubar.d.ts +158 -0
- package/types/wirabyte-ui-message.d.ts +110 -0
- package/types/wirabyte-ui-metergroup.d.ts +122 -0
- package/types/wirabyte-ui-multiselect.d.ts +267 -0
- package/types/wirabyte-ui-navbar.d.ts +184 -0
- package/types/wirabyte-ui-orderlist.d.ts +166 -0
- package/types/wirabyte-ui-organizationchart.d.ts +98 -0
- package/types/wirabyte-ui-paginator.d.ts +122 -0
- package/types/wirabyte-ui-panel.d.ts +57 -0
- package/types/wirabyte-ui-panelmenu.d.ts +70 -0
- package/types/wirabyte-ui-password.d.ts +98 -0
- package/types/wirabyte-ui-picklist.d.ts +309 -0
- package/types/wirabyte-ui-popover.d.ts +81 -0
- package/types/wirabyte-ui-presets.d.ts +1 -0
- package/types/wirabyte-ui-progressbar.d.ts +75 -0
- package/types/wirabyte-ui-progressspinner.d.ts +65 -0
- package/types/wirabyte-ui-radiobutton.d.ts +89 -0
- package/types/wirabyte-ui-rating.d.ts +54 -0
- package/types/wirabyte-ui-result.d.ts +49 -0
- package/types/wirabyte-ui-ripple.d.ts +25 -0
- package/types/wirabyte-ui-scheduler.d.ts +199 -0
- package/types/wirabyte-ui-scroller.d.ts +145 -0
- package/types/wirabyte-ui-scrollpanel.d.ts +37 -0
- package/types/wirabyte-ui-select.d.ts +250 -0
- package/types/wirabyte-ui-selectbutton.d.ts +91 -0
- package/types/wirabyte-ui-signaturepad.d.ts +108 -0
- package/types/wirabyte-ui-sitefooter.d.ts +81 -0
- package/types/wirabyte-ui-skeleton.d.ts +35 -0
- package/types/wirabyte-ui-slider.d.ts +90 -0
- package/types/wirabyte-ui-splitbutton.d.ts +85 -0
- package/types/wirabyte-ui-splitter.d.ts +146 -0
- package/types/wirabyte-ui-stat.d.ts +72 -0
- package/types/wirabyte-ui-stepper.d.ts +251 -0
- package/types/wirabyte-ui-steps.d.ts +68 -0
- package/types/wirabyte-ui-table.d.ts +1108 -0
- package/types/wirabyte-ui-tabmenu.d.ts +1 -0
- package/types/wirabyte-ui-tabs.d.ts +229 -0
- package/types/wirabyte-ui-tag.d.ts +35 -0
- package/types/wirabyte-ui-terminal.d.ts +89 -0
- package/types/wirabyte-ui-textarea.d.ts +39 -0
- package/types/wirabyte-ui-thai.d.ts +67 -0
- package/types/wirabyte-ui-tieredmenu.d.ts +100 -0
- package/types/wirabyte-ui-timeline.d.ts +54 -0
- package/types/wirabyte-ui-toast.d.ts +151 -0
- package/types/wirabyte-ui-togglebutton.d.ts +62 -0
- package/types/wirabyte-ui-toggleswitch.d.ts +57 -0
- package/types/wirabyte-ui-toolbar.d.ts +40 -0
- package/types/wirabyte-ui-tooltip.d.ts +112 -0
- package/types/wirabyte-ui-tree.d.ts +160 -0
- package/types/wirabyte-ui-treeselect.d.ts +150 -0
- package/types/wirabyte-ui-validation.d.ts +81 -0
- package/types/wirabyte-ui.d.ts +4 -0
- package/accordion/accordion.component.d.ts +0 -102
- package/accordion/accordion.module.d.ts +0 -9
- package/accordion/accordion.types.d.ts +0 -10
- package/accordion/index.d.ts +0 -5
- package/accordion/public-api.d.ts +0 -3
- package/alert/alert-dialog.base.d.ts +0 -79
- package/alert/alert-dialog.component.d.ts +0 -8
- package/alert/alert.module.d.ts +0 -8
- package/alert/alert.service.d.ts +0 -73
- package/alert/alert.types.d.ts +0 -87
- package/alert/index.d.ts +0 -5
- package/alert/public-api.d.ts +0 -5
- package/animate/animate.directive.d.ts +0 -34
- package/animate/animate.module.d.ts +0 -11
- package/animate/animate.service.d.ts +0 -36
- package/animate/animate.styles.d.ts +0 -2
- package/animate/animate.types.d.ts +0 -20
- package/animate/index.d.ts +0 -5
- package/animate/public-api.d.ts +0 -4
- package/api/index.d.ts +0 -5
- package/api/public-api.d.ts +0 -15
- package/api/shared.module.d.ts +0 -8
- package/asidemenu/asidemenu.component.d.ts +0 -221
- package/asidemenu/asidemenu.module.d.ts +0 -9
- package/asidemenu/index.d.ts +0 -5
- package/asidemenu/public-api.d.ts +0 -2
- package/autocomplete/autocomplete.base.d.ts +0 -181
- package/autocomplete/autocomplete.component.d.ts +0 -10
- package/autocomplete/autocomplete.module.d.ts +0 -9
- package/autocomplete/autocomplete.types.d.ts +0 -10
- package/autocomplete/index.d.ts +0 -5
- package/autocomplete/public-api.d.ts +0 -4
- package/avatar/avatar.component.d.ts +0 -36
- package/avatar/avatar.module.d.ts +0 -8
- package/avatar/avatar.types.d.ts +0 -2
- package/avatar/index.d.ts +0 -5
- package/avatar/public-api.d.ts +0 -3
- package/badge/badge.component.d.ts +0 -20
- package/badge/badge.directive.d.ts +0 -32
- package/badge/badge.module.d.ts +0 -9
- package/badge/badge.styles.d.ts +0 -2
- package/badge/badge.types.d.ts +0 -3
- package/badge/index.d.ts +0 -5
- package/badge/public-api.d.ts +0 -4
- package/blockui/blockui.component.d.ts +0 -41
- package/blockui/blockui.module.d.ts +0 -8
- package/blockui/index.d.ts +0 -5
- package/blockui/public-api.d.ts +0 -2
- package/bottombar/bottombar.component.d.ts +0 -79
- package/bottombar/bottombar.module.d.ts +0 -9
- package/bottombar/index.d.ts +0 -5
- package/bottombar/public-api.d.ts +0 -2
- package/breadcrumb/breadcrumb.component.d.ts +0 -41
- package/breadcrumb/breadcrumb.module.d.ts +0 -8
- package/breadcrumb/index.d.ts +0 -5
- package/breadcrumb/public-api.d.ts +0 -2
- package/button/button-class.d.ts +0 -8
- package/button/button.component.d.ts +0 -49
- package/button/button.directive.d.ts +0 -53
- package/button/button.module.d.ts +0 -9
- package/button/button.styles.d.ts +0 -2
- package/button/button.types.d.ts +0 -8
- package/button/index.d.ts +0 -5
- package/button/public-api.d.ts +0 -7
- package/card/card-slots.d.ts +0 -11
- package/card/card.component.d.ts +0 -38
- package/card/card.module.d.ts +0 -10
- package/card/card.types.d.ts +0 -5
- package/card/index.d.ts +0 -5
- package/card/public-api.d.ts +0 -4
- package/carousel/carousel.component.d.ts +0 -169
- package/carousel/carousel.module.d.ts +0 -10
- package/carousel/carousel.types.d.ts +0 -21
- package/carousel/index.d.ts +0 -5
- package/carousel/public-api.d.ts +0 -3
- package/chart/chart.component.d.ts +0 -11
- package/chart/chart.module.d.ts +0 -8
- package/chart/index.d.ts +0 -5
- package/chart/public-api.d.ts +0 -3
- package/chartjs/chartjs.base.d.ts +0 -70
- package/chartjs/chartjs.component.d.ts +0 -10
- package/chartjs/chartjs.module.d.ts +0 -8
- package/chartjs/chartjs.types.d.ts +0 -8
- package/chartjs/index.d.ts +0 -5
- package/chartjs/public-api.d.ts +0 -4
- package/checkbox/checkbox.component.d.ts +0 -47
- package/checkbox/checkbox.module.d.ts +0 -8
- package/checkbox/checkbox.styles.d.ts +0 -2
- package/checkbox/checkbox.types.d.ts +0 -4
- package/checkbox/index.d.ts +0 -5
- package/checkbox/public-api.d.ts +0 -5
- package/chip/chip.component.d.ts +0 -30
- package/chip/chip.module.d.ts +0 -8
- package/chip/index.d.ts +0 -5
- package/chip/public-api.d.ts +0 -2
- package/colorpicker/colorpicker.component.d.ts +0 -87
- package/colorpicker/colorpicker.module.d.ts +0 -8
- package/colorpicker/index.d.ts +0 -5
- package/colorpicker/public-api.d.ts +0 -2
- package/config/forms.d.ts +0 -17
- package/config/index.d.ts +0 -5
- package/config/initializer.d.ts +0 -3
- package/config/menu-item.d.ts +0 -52
- package/config/options.d.ts +0 -48
- package/config/popup.d.ts +0 -48
- package/config/provide.d.ts +0 -23
- package/config/public-api.d.ts +0 -17
- package/config/ripple.d.ts +0 -2
- package/config/scroll-lock.d.ts +0 -5
- package/config/severity.d.ts +0 -5
- package/config/style-loader.d.ts +0 -12
- package/config/template.d.ts +0 -19
- package/config/theme.service.d.ts +0 -46
- package/config/version-guard.d.ts +0 -14
- package/config/version.d.ts +0 -6
- package/config/wu-config.service.d.ts +0 -24
- package/confirmdialog/confirmation.service.d.ts +0 -25
- package/confirmdialog/confirmdialog.base.d.ts +0 -110
- package/confirmdialog/confirmdialog.component.d.ts +0 -11
- package/confirmdialog/confirmdialog.module.d.ts +0 -9
- package/confirmdialog/confirmdialog.types.d.ts +0 -37
- package/confirmdialog/index.d.ts +0 -5
- package/confirmdialog/public-api.d.ts +0 -5
- package/contextmenu/contextmenu.component.d.ts +0 -47
- package/contextmenu/contextmenu.module.d.ts +0 -8
- package/contextmenu/index.d.ts +0 -5
- package/contextmenu/public-api.d.ts +0 -2
- package/core/carousel.d.ts +0 -27
- package/core/catalog.d.ts +0 -446
- package/core/chart/format.d.ts +0 -19
- package/core/chart/index.d.ts +0 -6
- package/core/chart/kinds.d.ts +0 -78
- package/core/chart/model.d.ts +0 -500
- package/core/chart/more.d.ts +0 -33
- package/core/chart/paths.d.ts +0 -41
- package/core/chart/scale.d.ts +0 -22
- package/core/color.d.ts +0 -31
- package/core/colorpicker.d.ts +0 -23
- package/core/compat.d.ts +0 -11
- package/core/config.d.ts +0 -64
- package/core/date.d.ts +0 -130
- package/core/datepicker.d.ts +0 -184
- package/core/dock.d.ts +0 -6
- package/core/editor.d.ts +0 -117
- package/core/errorpage.d.ts +0 -15
- package/core/excel.d.ts +0 -239
- package/core/exporters.d.ts +0 -18
- package/core/families.d.ts +0 -13
- package/core/fileupload.d.ts +0 -24
- package/core/flow/changes.d.ts +0 -63
- package/core/flow/edges.d.ts +0 -52
- package/core/flow/export.d.ts +0 -56
- package/core/flow/geometry.d.ts +0 -117
- package/core/flow/graph.d.ts +0 -104
- package/core/flow/history.d.ts +0 -54
- package/core/flow/index.d.ts +0 -13
- package/core/flow/interaction.d.ts +0 -140
- package/core/flow/layout.d.ts +0 -57
- package/core/flow/paths.d.ts +0 -76
- package/core/flow/text.d.ts +0 -18
- package/core/flow/types.d.ts +0 -217
- package/core/flow/viewport.d.ts +0 -48
- package/core/i18n.d.ts +0 -24
- package/core/imagecompare.d.ts +0 -12
- package/core/imagecropper.d.ts +0 -183
- package/core/index.d.ts +0 -39
- package/core/inputotp.d.ts +0 -20
- package/core/knob.d.ts +0 -28
- package/core/mask.d.ts +0 -43
- package/core/menu.d.ts +0 -29
- package/core/number.d.ts +0 -66
- package/core/organizationchart.d.ts +0 -39
- package/core/overrides.d.ts +0 -109
- package/core/picklist.d.ts +0 -81
- package/core/select.d.ts +0 -44
- package/core/splitter.d.ts +0 -17
- package/core/table.d.ts +0 -48
- package/core/terminal.d.ts +0 -12
- package/core/thai/buddhist.d.ts +0 -22
- package/core/thai/locale.d.ts +0 -358
- package/core/thai/text.d.ts +0 -32
- package/core/thai/thai-id.d.ts +0 -6
- package/core/tokens.d.ts +0 -69
- package/core/tree.d.ts +0 -50
- package/core/validation.d.ts +0 -18
- package/datepicker/datepicker.component.d.ts +0 -230
- package/datepicker/datepicker.module.d.ts +0 -8
- package/datepicker/datepicker.types.d.ts +0 -10
- package/datepicker/index.d.ts +0 -5
- package/datepicker/public-api.d.ts +0 -3
- package/dialog/dialog.base.d.ts +0 -147
- package/dialog/dialog.component.d.ts +0 -11
- package/dialog/dialog.module.d.ts +0 -10
- package/dialog/dialog.service.d.ts +0 -104
- package/dialog/dialog.types.d.ts +0 -3
- package/dialog/index.d.ts +0 -5
- package/dialog/public-api.d.ts +0 -5
- package/divider/divider.component.d.ts +0 -19
- package/divider/divider.module.d.ts +0 -8
- package/divider/divider.types.d.ts +0 -4
- package/divider/index.d.ts +0 -5
- package/divider/public-api.d.ts +0 -3
- package/dock/dock.component.d.ts +0 -88
- package/dock/dock.module.d.ts +0 -9
- package/dock/index.d.ts +0 -5
- package/dock/public-api.d.ts +0 -2
- package/dragdrop/dragdrop.directive.d.ts +0 -65
- package/dragdrop/dragdrop.module.d.ts +0 -8
- package/dragdrop/dragdrop.styles.d.ts +0 -2
- package/dragdrop/index.d.ts +0 -5
- package/dragdrop/public-api.d.ts +0 -2
- package/drawer/drawer.component.d.ts +0 -102
- package/drawer/drawer.module.d.ts +0 -8
- package/drawer/index.d.ts +0 -5
- package/drawer/public-api.d.ts +0 -5
- package/editor/editor-content.directive.d.ts +0 -10
- package/editor/editor-icon.directive.d.ts +0 -8
- package/editor/editor.base.d.ts +0 -367
- package/editor/editor.component.d.ts +0 -11
- package/editor/editor.dom.d.ts +0 -91
- package/editor/editor.icons.d.ts +0 -13
- package/editor/editor.module.d.ts +0 -10
- package/editor/editor.styles.d.ts +0 -2
- package/editor/editor.types.d.ts +0 -92
- package/editor/index.d.ts +0 -5
- package/editor/public-api.d.ts +0 -6
- package/emptystate/emptystate.component.d.ts +0 -44
- package/emptystate/emptystate.module.d.ts +0 -8
- package/emptystate/index.d.ts +0 -5
- package/emptystate/public-api.d.ts +0 -2
- package/errorpage/errorpage.component.d.ts +0 -73
- package/errorpage/errorpage.module.d.ts +0 -8
- package/errorpage/index.d.ts +0 -5
- package/errorpage/public-api.d.ts +0 -2
- package/esm2022/accordion/accordion.component.mjs +0 -285
- package/esm2022/accordion/accordion.module.mjs +0 -19
- package/esm2022/accordion/accordion.types.mjs +0 -17
- package/esm2022/accordion/public-api.mjs +0 -4
- package/esm2022/accordion/wirabyte-ui-accordion.mjs +0 -5
- package/esm2022/alert/alert-dialog.base.mjs +0 -355
- package/esm2022/alert/alert-dialog.component.mjs +0 -21
- package/esm2022/alert/alert.module.mjs +0 -17
- package/esm2022/alert/alert.service.mjs +0 -142
- package/esm2022/alert/alert.types.mjs +0 -2
- package/esm2022/alert/public-api.mjs +0 -6
- package/esm2022/alert/wirabyte-ui-alert.mjs +0 -5
- package/esm2022/animate/animate.directive.mjs +0 -71
- package/esm2022/animate/animate.module.mjs +0 -21
- package/esm2022/animate/animate.service.mjs +0 -183
- package/esm2022/animate/animate.styles.mjs +0 -3
- package/esm2022/animate/animate.types.mjs +0 -2
- package/esm2022/animate/public-api.mjs +0 -5
- package/esm2022/animate/wirabyte-ui-animate.mjs +0 -5
- package/esm2022/api/public-api.mjs +0 -11
- package/esm2022/api/shared.module.mjs +0 -17
- package/esm2022/api/wirabyte-ui-api.mjs +0 -5
- package/esm2022/asidemenu/asidemenu.component.mjs +0 -811
- package/esm2022/asidemenu/asidemenu.module.mjs +0 -18
- package/esm2022/asidemenu/public-api.mjs +0 -3
- package/esm2022/asidemenu/wirabyte-ui-asidemenu.mjs +0 -5
- package/esm2022/autocomplete/autocomplete.base.mjs +0 -567
- package/esm2022/autocomplete/autocomplete.component.mjs +0 -24
- package/esm2022/autocomplete/autocomplete.module.mjs +0 -18
- package/esm2022/autocomplete/autocomplete.types.mjs +0 -2
- package/esm2022/autocomplete/public-api.mjs +0 -5
- package/esm2022/autocomplete/wirabyte-ui-autocomplete.mjs +0 -5
- package/esm2022/avatar/avatar.component.mjs +0 -68
- package/esm2022/avatar/avatar.module.mjs +0 -17
- package/esm2022/avatar/avatar.types.mjs +0 -2
- package/esm2022/avatar/public-api.mjs +0 -4
- package/esm2022/avatar/wirabyte-ui-avatar.mjs +0 -5
- package/esm2022/badge/badge.component.mjs +0 -49
- package/esm2022/badge/badge.directive.mjs +0 -111
- package/esm2022/badge/badge.module.mjs +0 -18
- package/esm2022/badge/badge.styles.mjs +0 -3
- package/esm2022/badge/badge.types.mjs +0 -2
- package/esm2022/badge/public-api.mjs +0 -5
- package/esm2022/badge/wirabyte-ui-badge.mjs +0 -5
- package/esm2022/blockui/blockui.component.mjs +0 -152
- package/esm2022/blockui/blockui.module.mjs +0 -17
- package/esm2022/blockui/public-api.mjs +0 -3
- package/esm2022/blockui/wirabyte-ui-blockui.mjs +0 -5
- package/esm2022/bottombar/bottombar.component.mjs +0 -209
- package/esm2022/bottombar/bottombar.module.mjs +0 -18
- package/esm2022/bottombar/public-api.mjs +0 -3
- package/esm2022/bottombar/wirabyte-ui-bottombar.mjs +0 -5
- package/esm2022/breadcrumb/breadcrumb.component.mjs +0 -86
- package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -17
- package/esm2022/breadcrumb/public-api.mjs +0 -3
- package/esm2022/breadcrumb/wirabyte-ui-breadcrumb.mjs +0 -5
- package/esm2022/button/button-class.mjs +0 -26
- package/esm2022/button/button.component.mjs +0 -110
- package/esm2022/button/button.directive.mjs +0 -193
- package/esm2022/button/button.module.mjs +0 -18
- package/esm2022/button/button.styles.mjs +0 -3
- package/esm2022/button/button.types.mjs +0 -2
- package/esm2022/button/public-api.mjs +0 -8
- package/esm2022/button/wirabyte-ui-button.mjs +0 -5
- package/esm2022/card/card-slots.mjs +0 -27
- package/esm2022/card/card.component.mjs +0 -65
- package/esm2022/card/card.module.mjs +0 -19
- package/esm2022/card/card.types.mjs +0 -2
- package/esm2022/card/public-api.mjs +0 -5
- package/esm2022/card/wirabyte-ui-card.mjs +0 -5
- package/esm2022/carousel/carousel.component.mjs +0 -617
- package/esm2022/carousel/carousel.module.mjs +0 -19
- package/esm2022/carousel/carousel.types.mjs +0 -2
- package/esm2022/carousel/public-api.mjs +0 -4
- package/esm2022/carousel/wirabyte-ui-carousel.mjs +0 -5
- package/esm2022/chart/chart.component.mjs +0 -42
- package/esm2022/chart/chart.module.mjs +0 -17
- package/esm2022/chart/public-api.mjs +0 -3
- package/esm2022/chart/wirabyte-ui-chart.mjs +0 -5
- package/esm2022/chartjs/chartjs.base.mjs +0 -204
- package/esm2022/chartjs/chartjs.component.mjs +0 -41
- package/esm2022/chartjs/chartjs.module.mjs +0 -17
- package/esm2022/chartjs/chartjs.types.mjs +0 -2
- package/esm2022/chartjs/public-api.mjs +0 -5
- package/esm2022/chartjs/wirabyte-ui-chartjs.mjs +0 -5
- package/esm2022/checkbox/checkbox.component.mjs +0 -93
- package/esm2022/checkbox/checkbox.module.mjs +0 -17
- package/esm2022/checkbox/checkbox.styles.mjs +0 -3
- package/esm2022/checkbox/checkbox.types.mjs +0 -2
- package/esm2022/checkbox/public-api.mjs +0 -6
- package/esm2022/checkbox/wirabyte-ui-checkbox.mjs +0 -5
- package/esm2022/chip/chip.component.mjs +0 -59
- package/esm2022/chip/chip.module.mjs +0 -17
- package/esm2022/chip/public-api.mjs +0 -3
- package/esm2022/chip/wirabyte-ui-chip.mjs +0 -5
- package/esm2022/colorpicker/colorpicker.component.mjs +0 -308
- package/esm2022/colorpicker/colorpicker.module.mjs +0 -17
- package/esm2022/colorpicker/public-api.mjs +0 -3
- package/esm2022/colorpicker/wirabyte-ui-colorpicker.mjs +0 -5
- package/esm2022/config/forms.mjs +0 -38
- package/esm2022/config/initializer.mjs +0 -6
- package/esm2022/config/menu-item.mjs +0 -2
- package/esm2022/config/options.mjs +0 -3
- package/esm2022/config/popup.mjs +0 -153
- package/esm2022/config/provide.mjs +0 -45
- package/esm2022/config/public-api.mjs +0 -17
- package/esm2022/config/ripple.mjs +0 -13
- package/esm2022/config/scroll-lock.mjs +0 -31
- package/esm2022/config/severity.mjs +0 -9
- package/esm2022/config/style-loader.mjs +0 -32
- package/esm2022/config/template.mjs +0 -46
- package/esm2022/config/theme.service.mjs +0 -161
- package/esm2022/config/version-guard.mjs +0 -43
- package/esm2022/config/version.mjs +0 -3
- package/esm2022/config/wirabyte-ui-config.mjs +0 -5
- package/esm2022/config/wu-config.service.mjs +0 -50
- package/esm2022/confirmdialog/confirmation.service.mjs +0 -78
- package/esm2022/confirmdialog/confirmdialog.base.mjs +0 -274
- package/esm2022/confirmdialog/confirmdialog.component.mjs +0 -22
- package/esm2022/confirmdialog/confirmdialog.module.mjs +0 -18
- package/esm2022/confirmdialog/confirmdialog.types.mjs +0 -8
- package/esm2022/confirmdialog/public-api.mjs +0 -6
- package/esm2022/confirmdialog/wirabyte-ui-confirmdialog.mjs +0 -5
- package/esm2022/contextmenu/contextmenu.component.mjs +0 -159
- package/esm2022/contextmenu/contextmenu.module.mjs +0 -17
- package/esm2022/contextmenu/public-api.mjs +0 -3
- package/esm2022/contextmenu/wirabyte-ui-contextmenu.mjs +0 -5
- package/esm2022/core/carousel.mjs +0 -62
- package/esm2022/core/catalog.mjs +0 -203
- package/esm2022/core/chart/format.mjs +0 -66
- package/esm2022/core/chart/index.mjs +0 -7
- package/esm2022/core/chart/kinds.mjs +0 -1336
- package/esm2022/core/chart/model.mjs +0 -713
- package/esm2022/core/chart/more.mjs +0 -311
- package/esm2022/core/chart/paths.mjs +0 -160
- package/esm2022/core/chart/scale.mjs +0 -58
- package/esm2022/core/color.mjs +0 -94
- package/esm2022/core/colorpicker.mjs +0 -73
- package/esm2022/core/compat.mjs +0 -149
- package/esm2022/core/config.mjs +0 -163
- package/esm2022/core/date.mjs +0 -317
- package/esm2022/core/datepicker.mjs +0 -526
- package/esm2022/core/dock.mjs +0 -14
- package/esm2022/core/editor.mjs +0 -271
- package/esm2022/core/errorpage.mjs +0 -47
- package/esm2022/core/excel.mjs +0 -809
- package/esm2022/core/exporters.mjs +0 -241
- package/esm2022/core/families.mjs +0 -1756
- package/esm2022/core/fileupload.mjs +0 -48
- package/esm2022/core/flow/changes.mjs +0 -205
- package/esm2022/core/flow/edges.mjs +0 -87
- package/esm2022/core/flow/export.mjs +0 -231
- package/esm2022/core/flow/geometry.mjs +0 -309
- package/esm2022/core/flow/graph.mjs +0 -314
- package/esm2022/core/flow/history.mjs +0 -105
- package/esm2022/core/flow/index.mjs +0 -14
- package/esm2022/core/flow/interaction.mjs +0 -246
- package/esm2022/core/flow/layout.mjs +0 -586
- package/esm2022/core/flow/paths.mjs +0 -252
- package/esm2022/core/flow/text.mjs +0 -68
- package/esm2022/core/flow/types.mjs +0 -7
- package/esm2022/core/flow/viewport.mjs +0 -133
- package/esm2022/core/i18n.mjs +0 -78
- package/esm2022/core/imagecompare.mjs +0 -28
- package/esm2022/core/imagecropper.mjs +0 -483
- package/esm2022/core/index.mjs +0 -40
- package/esm2022/core/inputotp.mjs +0 -50
- package/esm2022/core/knob.mjs +0 -106
- package/esm2022/core/mask.mjs +0 -112
- package/esm2022/core/menu.mjs +0 -77
- package/esm2022/core/number.mjs +0 -131
- package/esm2022/core/organizationchart.mjs +0 -84
- package/esm2022/core/overrides.mjs +0 -169
- package/esm2022/core/picklist.mjs +0 -248
- package/esm2022/core/select.mjs +0 -161
- package/esm2022/core/splitter.mjs +0 -63
- package/esm2022/core/table.mjs +0 -174
- package/esm2022/core/terminal.mjs +0 -29
- package/esm2022/core/thai/buddhist.mjs +0 -129
- package/esm2022/core/thai/locale.mjs +0 -652
- package/esm2022/core/thai/text.mjs +0 -164
- package/esm2022/core/thai/thai-id.mjs +0 -22
- package/esm2022/core/tokens.mjs +0 -314
- package/esm2022/core/tree.mjs +0 -137
- package/esm2022/core/validation.mjs +0 -43
- package/esm2022/core/wirabyte-ui-core.mjs +0 -5
- package/esm2022/datepicker/datepicker.component.mjs +0 -715
- package/esm2022/datepicker/datepicker.module.mjs +0 -17
- package/esm2022/datepicker/datepicker.types.mjs +0 -2
- package/esm2022/datepicker/public-api.mjs +0 -4
- package/esm2022/datepicker/wirabyte-ui-datepicker.mjs +0 -5
- package/esm2022/dialog/dialog.base.mjs +0 -433
- package/esm2022/dialog/dialog.component.mjs +0 -18
- package/esm2022/dialog/dialog.module.mjs +0 -19
- package/esm2022/dialog/dialog.service.mjs +0 -237
- package/esm2022/dialog/dialog.types.mjs +0 -2
- package/esm2022/dialog/public-api.mjs +0 -6
- package/esm2022/dialog/wirabyte-ui-dialog.mjs +0 -5
- package/esm2022/divider/divider.component.mjs +0 -47
- package/esm2022/divider/divider.module.mjs +0 -17
- package/esm2022/divider/divider.types.mjs +0 -2
- package/esm2022/divider/public-api.mjs +0 -4
- package/esm2022/divider/wirabyte-ui-divider.mjs +0 -5
- package/esm2022/dock/dock.component.mjs +0 -287
- package/esm2022/dock/dock.module.mjs +0 -18
- package/esm2022/dock/public-api.mjs +0 -3
- package/esm2022/dock/wirabyte-ui-dock.mjs +0 -5
- package/esm2022/dragdrop/dragdrop.directive.mjs +0 -206
- package/esm2022/dragdrop/dragdrop.module.mjs +0 -17
- package/esm2022/dragdrop/dragdrop.styles.mjs +0 -3
- package/esm2022/dragdrop/public-api.mjs +0 -3
- package/esm2022/dragdrop/wirabyte-ui-dragdrop.mjs +0 -5
- package/esm2022/drawer/drawer.component.mjs +0 -300
- package/esm2022/drawer/drawer.module.mjs +0 -17
- package/esm2022/drawer/public-api.mjs +0 -6
- package/esm2022/drawer/wirabyte-ui-drawer.mjs +0 -5
- package/esm2022/editor/editor-content.directive.mjs +0 -24
- package/esm2022/editor/editor-icon.directive.mjs +0 -24
- package/esm2022/editor/editor.base.mjs +0 -2082
- package/esm2022/editor/editor.component.mjs +0 -20
- package/esm2022/editor/editor.dom.mjs +0 -787
- package/esm2022/editor/editor.icons.mjs +0 -106
- package/esm2022/editor/editor.module.mjs +0 -19
- package/esm2022/editor/editor.styles.mjs +0 -3
- package/esm2022/editor/editor.types.mjs +0 -6
- package/esm2022/editor/public-api.mjs +0 -7
- package/esm2022/editor/wirabyte-ui-editor.mjs +0 -5
- package/esm2022/emptystate/emptystate.component.mjs +0 -78
- package/esm2022/emptystate/emptystate.module.mjs +0 -17
- package/esm2022/emptystate/public-api.mjs +0 -3
- package/esm2022/emptystate/wirabyte-ui-emptystate.mjs +0 -5
- package/esm2022/errorpage/errorpage.component.mjs +0 -163
- package/esm2022/errorpage/errorpage.module.mjs +0 -17
- package/esm2022/errorpage/public-api.mjs +0 -3
- package/esm2022/errorpage/wirabyte-ui-errorpage.mjs +0 -5
- package/esm2022/excel/excel.mjs +0 -35
- package/esm2022/excel/public-api.mjs +0 -3
- package/esm2022/excel/wirabyte-ui-excel.mjs +0 -5
- package/esm2022/fieldset/fieldset.component.mjs +0 -53
- package/esm2022/fieldset/fieldset.module.mjs +0 -18
- package/esm2022/fieldset/public-api.mjs +0 -3
- package/esm2022/fieldset/wirabyte-ui-fieldset.mjs +0 -5
- package/esm2022/fileupload/fileupload.base.mjs +0 -563
- package/esm2022/fileupload/fileupload.component.mjs +0 -19
- package/esm2022/fileupload/fileupload.module.mjs +0 -18
- package/esm2022/fileupload/fileupload.types.mjs +0 -2
- package/esm2022/fileupload/public-api.mjs +0 -5
- package/esm2022/fileupload/wirabyte-ui-fileupload.mjs +0 -5
- package/esm2022/floatlabel/floatlabel.component.mjs +0 -53
- package/esm2022/floatlabel/floatlabel.module.mjs +0 -17
- package/esm2022/floatlabel/floatlabel.types.mjs +0 -2
- package/esm2022/floatlabel/public-api.mjs +0 -4
- package/esm2022/floatlabel/wirabyte-ui-floatlabel.mjs +0 -5
- package/esm2022/flow/flow-background.component.mjs +0 -183
- package/esm2022/flow/flow-controls.component.mjs +0 -267
- package/esm2022/flow/flow-handle.component.mjs +0 -130
- package/esm2022/flow/flow-history.directive.mjs +0 -129
- package/esm2022/flow/flow-host.mjs +0 -7
- package/esm2022/flow/flow-minimap.component.mjs +0 -322
- package/esm2022/flow/flow-node-outlet.mjs +0 -148
- package/esm2022/flow/flow-node-resizer.component.mjs +0 -208
- package/esm2022/flow/flow-node-toolbar.component.mjs +0 -119
- package/esm2022/flow/flow-panel.component.mjs +0 -37
- package/esm2022/flow/flow-templates.mjs +0 -100
- package/esm2022/flow/flow.component.mjs +0 -3245
- package/esm2022/flow/flow.module.mjs +0 -69
- package/esm2022/flow/flow.types.mjs +0 -7
- package/esm2022/flow/public-api.mjs +0 -17
- package/esm2022/flow/wirabyte-ui-flow.mjs +0 -5
- package/esm2022/galleria/galleria.component.mjs +0 -480
- package/esm2022/galleria/galleria.module.mjs +0 -17
- package/esm2022/galleria/public-api.mjs +0 -3
- package/esm2022/galleria/wirabyte-ui-galleria.mjs +0 -5
- package/esm2022/i18n/i18n.module.mjs +0 -37
- package/esm2022/i18n/i18n.service.mjs +0 -148
- package/esm2022/i18n/i18n.types.mjs +0 -3
- package/esm2022/i18n/language-switch.component.mjs +0 -91
- package/esm2022/i18n/public-api.mjs +0 -7
- package/esm2022/i18n/translate.pipe.mjs +0 -52
- package/esm2022/i18n/wirabyte-ui-i18n.mjs +0 -5
- package/esm2022/iconfield/iconfield.component.mjs +0 -73
- package/esm2022/iconfield/iconfield.module.mjs +0 -17
- package/esm2022/iconfield/public-api.mjs +0 -3
- package/esm2022/iconfield/wirabyte-ui-iconfield.mjs +0 -5
- package/esm2022/image/image.base.mjs +0 -183
- package/esm2022/image/image.component.mjs +0 -14
- package/esm2022/image/image.module.mjs +0 -18
- package/esm2022/image/public-api.mjs +0 -4
- package/esm2022/image/wirabyte-ui-image.mjs +0 -5
- package/esm2022/imagecompare/imagecompare.component.mjs +0 -200
- package/esm2022/imagecompare/imagecompare.module.mjs +0 -18
- package/esm2022/imagecompare/public-api.mjs +0 -3
- package/esm2022/imagecompare/wirabyte-ui-imagecompare.mjs +0 -5
- package/esm2022/imagecropper/imagecropper.component.mjs +0 -1253
- package/esm2022/imagecropper/imagecropper.module.mjs +0 -17
- package/esm2022/imagecropper/imagecropper.types.mjs +0 -6
- package/esm2022/imagecropper/public-api.mjs +0 -5
- package/esm2022/imagecropper/wirabyte-ui-imagecropper.mjs +0 -5
- package/esm2022/inplace/inplace.component.mjs +0 -145
- package/esm2022/inplace/inplace.module.mjs +0 -17
- package/esm2022/inplace/public-api.mjs +0 -3
- package/esm2022/inplace/wirabyte-ui-inplace.mjs +0 -5
- package/esm2022/inputgroup/inputgroup.component.mjs +0 -61
- package/esm2022/inputgroup/inputgroup.module.mjs +0 -17
- package/esm2022/inputgroup/public-api.mjs +0 -3
- package/esm2022/inputgroup/wirabyte-ui-inputgroup.mjs +0 -5
- package/esm2022/inputmask/inputmask.base.mjs +0 -319
- package/esm2022/inputmask/inputmask.component.mjs +0 -23
- package/esm2022/inputmask/inputmask.module.mjs +0 -17
- package/esm2022/inputmask/public-api.mjs +0 -4
- package/esm2022/inputmask/wirabyte-ui-inputmask.mjs +0 -5
- package/esm2022/inputnumber/inputnumber.component.mjs +0 -255
- package/esm2022/inputnumber/inputnumber.module.mjs +0 -17
- package/esm2022/inputnumber/inputnumber.types.mjs +0 -2
- package/esm2022/inputnumber/public-api.mjs +0 -4
- package/esm2022/inputnumber/wirabyte-ui-inputnumber.mjs +0 -5
- package/esm2022/inputotp/inputotp.component.mjs +0 -344
- package/esm2022/inputotp/inputotp.module.mjs +0 -18
- package/esm2022/inputotp/inputotp.types.mjs +0 -2
- package/esm2022/inputotp/public-api.mjs +0 -4
- package/esm2022/inputotp/wirabyte-ui-inputotp.mjs +0 -5
- package/esm2022/inputtext/inputtext.directive.mjs +0 -54
- package/esm2022/inputtext/inputtext.module.mjs +0 -17
- package/esm2022/inputtext/inputtext.styles.mjs +0 -3
- package/esm2022/inputtext/inputtext.types.mjs +0 -2
- package/esm2022/inputtext/public-api.mjs +0 -6
- package/esm2022/inputtext/wirabyte-ui-inputtext.mjs +0 -5
- package/esm2022/keyfilter/keyfilter.directive.mjs +0 -131
- package/esm2022/keyfilter/keyfilter.module.mjs +0 -17
- package/esm2022/keyfilter/public-api.mjs +0 -3
- package/esm2022/keyfilter/wirabyte-ui-keyfilter.mjs +0 -5
- package/esm2022/knob/knob.component.mjs +0 -207
- package/esm2022/knob/knob.module.mjs +0 -17
- package/esm2022/knob/public-api.mjs +0 -3
- package/esm2022/knob/wirabyte-ui-knob.mjs +0 -5
- package/esm2022/listbox/listbox.component.mjs +0 -520
- package/esm2022/listbox/listbox.module.mjs +0 -17
- package/esm2022/listbox/public-api.mjs +0 -3
- package/esm2022/listbox/wirabyte-ui-listbox.mjs +0 -5
- package/esm2022/menu/menu.base.mjs +0 -320
- package/esm2022/menu/menu.component.mjs +0 -19
- package/esm2022/menu/menu.module.mjs +0 -18
- package/esm2022/menu/public-api.mjs +0 -4
- package/esm2022/menu/wirabyte-ui-menu.mjs +0 -5
- package/esm2022/menubar/menubar.base.mjs +0 -568
- package/esm2022/menubar/menubar.component.mjs +0 -19
- package/esm2022/menubar/menubar.module.mjs +0 -18
- package/esm2022/menubar/public-api.mjs +0 -4
- package/esm2022/menubar/wirabyte-ui-menubar.mjs +0 -5
- package/esm2022/message/message.component.mjs +0 -78
- package/esm2022/message/message.module.mjs +0 -20
- package/esm2022/message/message.types.mjs +0 -2
- package/esm2022/message/messages.base.mjs +0 -109
- package/esm2022/message/messages.component.mjs +0 -66
- package/esm2022/message/public-api.mjs +0 -6
- package/esm2022/message/wirabyte-ui-message.mjs +0 -5
- package/esm2022/metergroup/metergroup.component.mjs +0 -87
- package/esm2022/metergroup/metergroup.module.mjs +0 -17
- package/esm2022/metergroup/metergroup.types.mjs +0 -26
- package/esm2022/metergroup/public-api.mjs +0 -4
- package/esm2022/metergroup/wirabyte-ui-metergroup.mjs +0 -5
- package/esm2022/multiselect/multiselect.base.mjs +0 -732
- package/esm2022/multiselect/multiselect.component.mjs +0 -26
- package/esm2022/multiselect/multiselect.module.mjs +0 -18
- package/esm2022/multiselect/multiselect.styles.mjs +0 -3
- package/esm2022/multiselect/multiselect.types.mjs +0 -2
- package/esm2022/multiselect/public-api.mjs +0 -6
- package/esm2022/multiselect/wirabyte-ui-multiselect.mjs +0 -5
- package/esm2022/navbar/navbar.component.mjs +0 -460
- package/esm2022/navbar/navbar.module.mjs +0 -18
- package/esm2022/navbar/public-api.mjs +0 -3
- package/esm2022/navbar/wirabyte-ui-navbar.mjs +0 -5
- package/esm2022/orderlist/orderlist.base.mjs +0 -411
- package/esm2022/orderlist/orderlist.component.mjs +0 -17
- package/esm2022/orderlist/orderlist.module.mjs +0 -18
- package/esm2022/orderlist/orderlist.types.mjs +0 -2
- package/esm2022/orderlist/public-api.mjs +0 -5
- package/esm2022/orderlist/wirabyte-ui-orderlist.mjs +0 -5
- package/esm2022/organizationchart/organizationchart.component.mjs +0 -200
- package/esm2022/organizationchart/organizationchart.module.mjs +0 -18
- package/esm2022/organizationchart/organizationchart.types.mjs +0 -2
- package/esm2022/organizationchart/public-api.mjs +0 -4
- package/esm2022/organizationchart/wirabyte-ui-organizationchart.mjs +0 -5
- package/esm2022/paginator/paginator.base.mjs +0 -188
- package/esm2022/paginator/paginator.component.mjs +0 -20
- package/esm2022/paginator/paginator.module.mjs +0 -17
- package/esm2022/paginator/paginator.types.mjs +0 -2
- package/esm2022/paginator/public-api.mjs +0 -5
- package/esm2022/paginator/wirabyte-ui-paginator.mjs +0 -5
- package/esm2022/panel/panel.component.mjs +0 -75
- package/esm2022/panel/panel.module.mjs +0 -19
- package/esm2022/panel/panel.types.mjs +0 -2
- package/esm2022/panel/public-api.mjs +0 -4
- package/esm2022/panel/wirabyte-ui-panel.mjs +0 -5
- package/esm2022/panelmenu/panelmenu.base.mjs +0 -181
- package/esm2022/panelmenu/panelmenu.component.mjs +0 -15
- package/esm2022/panelmenu/panelmenu.module.mjs +0 -18
- package/esm2022/panelmenu/public-api.mjs +0 -4
- package/esm2022/panelmenu/wirabyte-ui-panelmenu.mjs +0 -5
- package/esm2022/password/password.component.mjs +0 -171
- package/esm2022/password/password.module.mjs +0 -17
- package/esm2022/password/password.types.mjs +0 -14
- package/esm2022/password/public-api.mjs +0 -4
- package/esm2022/password/wirabyte-ui-password.mjs +0 -5
- package/esm2022/picklist/list-drag.mjs +0 -259
- package/esm2022/picklist/picklist.base.mjs +0 -649
- package/esm2022/picklist/picklist.component.mjs +0 -17
- package/esm2022/picklist/picklist.module.mjs +0 -18
- package/esm2022/picklist/picklist.styles.mjs +0 -3
- package/esm2022/picklist/picklist.types.mjs +0 -2
- package/esm2022/picklist/public-api.mjs +0 -8
- package/esm2022/picklist/wirabyte-ui-picklist.mjs +0 -5
- package/esm2022/popover/popover.base.mjs +0 -171
- package/esm2022/popover/popover.component.mjs +0 -17
- package/esm2022/popover/popover.module.mjs +0 -18
- package/esm2022/popover/public-api.mjs +0 -4
- package/esm2022/popover/wirabyte-ui-popover.mjs +0 -5
- package/esm2022/presets/public-api.mjs +0 -5
- package/esm2022/presets/wirabyte-ui-presets.mjs +0 -5
- package/esm2022/progressbar/progressbar.component.mjs +0 -75
- package/esm2022/progressbar/progressbar.module.mjs +0 -17
- package/esm2022/progressbar/progressbar.types.mjs +0 -19
- package/esm2022/progressbar/public-api.mjs +0 -4
- package/esm2022/progressbar/wirabyte-ui-progressbar.mjs +0 -5
- package/esm2022/progressspinner/progressspinner.component.mjs +0 -78
- package/esm2022/progressspinner/progressspinner.module.mjs +0 -17
- package/esm2022/progressspinner/progressspinner.types.mjs +0 -27
- package/esm2022/progressspinner/public-api.mjs +0 -4
- package/esm2022/progressspinner/wirabyte-ui-progressspinner.mjs +0 -5
- package/esm2022/public-api.mjs +0 -3
- package/esm2022/radiobutton/public-api.mjs +0 -7
- package/esm2022/radiobutton/radio-registry.mjs +0 -40
- package/esm2022/radiobutton/radiobutton.component.mjs +0 -88
- package/esm2022/radiobutton/radiobutton.module.mjs +0 -17
- package/esm2022/radiobutton/radiobutton.styles.mjs +0 -3
- package/esm2022/radiobutton/radiobutton.types.mjs +0 -2
- package/esm2022/radiobutton/wirabyte-ui-radiobutton.mjs +0 -5
- package/esm2022/rating/public-api.mjs +0 -4
- package/esm2022/rating/rating.component.mjs +0 -80
- package/esm2022/rating/rating.module.mjs +0 -17
- package/esm2022/rating/rating.types.mjs +0 -2
- package/esm2022/rating/wirabyte-ui-rating.mjs +0 -5
- package/esm2022/result/public-api.mjs +0 -3
- package/esm2022/result/result.component.mjs +0 -72
- package/esm2022/result/result.module.mjs +0 -17
- package/esm2022/result/wirabyte-ui-result.mjs +0 -5
- package/esm2022/ripple/public-api.mjs +0 -3
- package/esm2022/ripple/ripple.directive.mjs +0 -43
- package/esm2022/ripple/ripple.module.mjs +0 -17
- package/esm2022/ripple/ripple.styles.mjs +0 -3
- package/esm2022/ripple/wirabyte-ui-ripple.mjs +0 -5
- package/esm2022/scroller/public-api.mjs +0 -6
- package/esm2022/scroller/scroller.component.mjs +0 -305
- package/esm2022/scroller/scroller.module.mjs +0 -17
- package/esm2022/scroller/wirabyte-ui-scroller.mjs +0 -5
- package/esm2022/scrollpanel/public-api.mjs +0 -3
- package/esm2022/scrollpanel/scrollpanel.component.mjs +0 -67
- package/esm2022/scrollpanel/scrollpanel.module.mjs +0 -17
- package/esm2022/scrollpanel/wirabyte-ui-scrollpanel.mjs +0 -5
- package/esm2022/select/public-api.mjs +0 -7
- package/esm2022/select/select.base.mjs +0 -667
- package/esm2022/select/select.component.mjs +0 -26
- package/esm2022/select/select.module.mjs +0 -17
- package/esm2022/select/select.styles.mjs +0 -3
- package/esm2022/select/select.types.mjs +0 -2
- package/esm2022/select/wirabyte-ui-select.mjs +0 -5
- package/esm2022/selectbutton/public-api.mjs +0 -4
- package/esm2022/selectbutton/selectbutton.component.mjs +0 -125
- package/esm2022/selectbutton/selectbutton.module.mjs +0 -18
- package/esm2022/selectbutton/selectbutton.types.mjs +0 -2
- package/esm2022/selectbutton/wirabyte-ui-selectbutton.mjs +0 -5
- package/esm2022/sitefooter/public-api.mjs +0 -3
- package/esm2022/sitefooter/sitefooter.component.mjs +0 -139
- package/esm2022/sitefooter/sitefooter.module.mjs +0 -18
- package/esm2022/sitefooter/wirabyte-ui-sitefooter.mjs +0 -5
- package/esm2022/skeleton/public-api.mjs +0 -4
- package/esm2022/skeleton/skeleton.component.mjs +0 -42
- package/esm2022/skeleton/skeleton.module.mjs +0 -17
- package/esm2022/skeleton/skeleton.types.mjs +0 -2
- package/esm2022/skeleton/wirabyte-ui-skeleton.mjs +0 -5
- package/esm2022/slider/public-api.mjs +0 -3
- package/esm2022/slider/slider.component.mjs +0 -247
- package/esm2022/slider/slider.module.mjs +0 -17
- package/esm2022/slider/wirabyte-ui-slider.mjs +0 -5
- package/esm2022/splitbutton/public-api.mjs +0 -3
- package/esm2022/splitbutton/splitbutton.component.mjs +0 -180
- package/esm2022/splitbutton/splitbutton.module.mjs +0 -17
- package/esm2022/splitbutton/wirabyte-ui-splitbutton.mjs +0 -5
- package/esm2022/splitter/public-api.mjs +0 -5
- package/esm2022/splitter/splitter-panel.component.mjs +0 -32
- package/esm2022/splitter/splitter.component.mjs +0 -372
- package/esm2022/splitter/splitter.module.mjs +0 -19
- package/esm2022/splitter/splitter.types.mjs +0 -2
- package/esm2022/splitter/wirabyte-ui-splitter.mjs +0 -5
- package/esm2022/stepper/public-api.mjs +0 -4
- package/esm2022/stepper/stepper.base.mjs +0 -392
- package/esm2022/stepper/stepper.component.mjs +0 -209
- package/esm2022/stepper/stepper.module.mjs +0 -19
- package/esm2022/stepper/wirabyte-ui-stepper.mjs +0 -5
- package/esm2022/steps/public-api.mjs +0 -4
- package/esm2022/steps/steps.base.mjs +0 -148
- package/esm2022/steps/steps.component.mjs +0 -15
- package/esm2022/steps/steps.module.mjs +0 -17
- package/esm2022/steps/wirabyte-ui-steps.mjs +0 -5
- package/esm2022/table/public-api.mjs +0 -10
- package/esm2022/table/table-celleditor.component.mjs +0 -48
- package/esm2022/table/table-filter.component.mjs +0 -144
- package/esm2022/table/table.base.mjs +0 -1443
- package/esm2022/table/table.celleditor.mjs +0 -42
- package/esm2022/table/table.component.mjs +0 -21
- package/esm2022/table/table.directives.mjs +0 -1117
- package/esm2022/table/table.filter.mjs +0 -346
- package/esm2022/table/table.module.mjs +0 -93
- package/esm2022/table/table.types.mjs +0 -3
- package/esm2022/table/wirabyte-ui-table.mjs +0 -5
- package/esm2022/tabmenu/public-api.mjs +0 -3
- package/esm2022/tabmenu/wirabyte-ui-tabmenu.mjs +0 -5
- package/esm2022/tabs/public-api.mjs +0 -9
- package/esm2022/tabs/tabmenu.base.mjs +0 -196
- package/esm2022/tabs/tabmenu.component.mjs +0 -18
- package/esm2022/tabs/tabmenu.module.mjs +0 -18
- package/esm2022/tabs/tabs.component.mjs +0 -352
- package/esm2022/tabs/tabs.module.mjs +0 -20
- package/esm2022/tabs/tabs.styles.mjs +0 -3
- package/esm2022/tabs/tabs.types.mjs +0 -50
- package/esm2022/tabs/wirabyte-ui-tabs.mjs +0 -5
- package/esm2022/tag/public-api.mjs +0 -4
- package/esm2022/tag/tag.component.mjs +0 -42
- package/esm2022/tag/tag.module.mjs +0 -17
- package/esm2022/tag/tag.types.mjs +0 -2
- package/esm2022/tag/wirabyte-ui-tag.mjs +0 -5
- package/esm2022/terminal/public-api.mjs +0 -6
- package/esm2022/terminal/terminal.component.mjs +0 -150
- package/esm2022/terminal/terminal.module.mjs +0 -17
- package/esm2022/terminal/terminal.service.mjs +0 -35
- package/esm2022/terminal/wirabyte-ui-terminal.mjs +0 -5
- package/esm2022/textarea/public-api.mjs +0 -3
- package/esm2022/textarea/textarea.directive.mjs +0 -75
- package/esm2022/textarea/textarea.module.mjs +0 -17
- package/esm2022/textarea/wirabyte-ui-textarea.mjs +0 -5
- package/esm2022/thai/public-api.mjs +0 -4
- package/esm2022/thai/thai.module.mjs +0 -18
- package/esm2022/thai/thai.pipes.mjs +0 -115
- package/esm2022/thai/wirabyte-ui-thai.mjs +0 -5
- package/esm2022/tieredmenu/public-api.mjs +0 -3
- package/esm2022/tieredmenu/tieredmenu.component.mjs +0 -385
- package/esm2022/tieredmenu/tieredmenu.module.mjs +0 -17
- package/esm2022/tieredmenu/wirabyte-ui-tieredmenu.mjs +0 -5
- package/esm2022/timeline/public-api.mjs +0 -4
- package/esm2022/timeline/timeline.base.mjs +0 -66
- package/esm2022/timeline/timeline.component.mjs +0 -68
- package/esm2022/timeline/timeline.module.mjs +0 -18
- package/esm2022/timeline/wirabyte-ui-timeline.mjs +0 -5
- package/esm2022/toast/message.service.mjs +0 -34
- package/esm2022/toast/public-api.mjs +0 -6
- package/esm2022/toast/toast.base.mjs +0 -227
- package/esm2022/toast/toast.component.mjs +0 -17
- package/esm2022/toast/toast.module.mjs +0 -18
- package/esm2022/toast/toast.types.mjs +0 -2
- package/esm2022/toast/wirabyte-ui-toast.mjs +0 -5
- package/esm2022/togglebutton/public-api.mjs +0 -4
- package/esm2022/togglebutton/togglebutton.component.mjs +0 -93
- package/esm2022/togglebutton/togglebutton.module.mjs +0 -17
- package/esm2022/togglebutton/togglebutton.types.mjs +0 -2
- package/esm2022/togglebutton/wirabyte-ui-togglebutton.mjs +0 -5
- package/esm2022/toggleswitch/public-api.mjs +0 -4
- package/esm2022/toggleswitch/toggleswitch.component.mjs +0 -78
- package/esm2022/toggleswitch/toggleswitch.module.mjs +0 -17
- package/esm2022/toggleswitch/toggleswitch.types.mjs +0 -2
- package/esm2022/toggleswitch/wirabyte-ui-toggleswitch.mjs +0 -5
- package/esm2022/toolbar/public-api.mjs +0 -3
- package/esm2022/toolbar/toolbar.component.mjs +0 -67
- package/esm2022/toolbar/toolbar.module.mjs +0 -18
- package/esm2022/toolbar/wirabyte-ui-toolbar.mjs +0 -5
- package/esm2022/tooltip/public-api.mjs +0 -4
- package/esm2022/tooltip/tooltip.directive.mjs +0 -370
- package/esm2022/tooltip/tooltip.module.mjs +0 -17
- package/esm2022/tooltip/tooltip.styles.mjs +0 -3
- package/esm2022/tooltip/tooltip.types.mjs +0 -2
- package/esm2022/tooltip/wirabyte-ui-tooltip.mjs +0 -5
- package/esm2022/tree/public-api.mjs +0 -3
- package/esm2022/tree/tree.component.mjs +0 -453
- package/esm2022/tree/tree.module.mjs +0 -17
- package/esm2022/tree/wirabyte-ui-tree.mjs +0 -5
- package/esm2022/treeselect/public-api.mjs +0 -3
- package/esm2022/treeselect/treeselect.component.mjs +0 -410
- package/esm2022/treeselect/treeselect.module.mjs +0 -17
- package/esm2022/treeselect/wirabyte-ui-treeselect.mjs +0 -5
- package/esm2022/validation/field-error.component.mjs +0 -84
- package/esm2022/validation/public-api.mjs +0 -4
- package/esm2022/validation/validation.module.mjs +0 -19
- package/esm2022/validation/validators.mjs +0 -84
- package/esm2022/validation/wirabyte-ui-validation.mjs +0 -5
- package/esm2022/wirabyte-ui.mjs +0 -5
- package/excel/excel.d.ts +0 -24
- package/excel/index.d.ts +0 -5
- package/excel/public-api.d.ts +0 -3
- package/fieldset/fieldset.component.d.ts +0 -29
- package/fieldset/fieldset.module.d.ts +0 -9
- package/fieldset/index.d.ts +0 -5
- package/fieldset/public-api.d.ts +0 -2
- package/fileupload/fileupload.base.d.ts +0 -175
- package/fileupload/fileupload.component.d.ts +0 -11
- package/fileupload/fileupload.module.d.ts +0 -9
- package/fileupload/fileupload.types.d.ts +0 -54
- package/fileupload/index.d.ts +0 -5
- package/fileupload/public-api.d.ts +0 -4
- package/floatlabel/floatlabel.component.d.ts +0 -21
- package/floatlabel/floatlabel.module.d.ts +0 -8
- package/floatlabel/floatlabel.types.d.ts +0 -1
- package/floatlabel/index.d.ts +0 -5
- package/floatlabel/public-api.d.ts +0 -3
- package/flow/flow-background.component.d.ts +0 -49
- package/flow/flow-controls.component.d.ts +0 -47
- package/flow/flow-handle.component.d.ts +0 -48
- package/flow/flow-history.directive.d.ts +0 -42
- package/flow/flow-host.d.ts +0 -48
- package/flow/flow-minimap.component.d.ts +0 -79
- package/flow/flow-node-outlet.d.ts +0 -46
- package/flow/flow-node-resizer.component.d.ts +0 -57
- package/flow/flow-node-toolbar.component.d.ts +0 -38
- package/flow/flow-panel.component.d.ts +0 -11
- package/flow/flow-templates.d.ts +0 -47
- package/flow/flow.component.d.ts +0 -633
- package/flow/flow.module.d.ts +0 -21
- package/flow/flow.types.d.ts +0 -210
- package/flow/index.d.ts +0 -5
- package/flow/public-api.d.ts +0 -16
- package/galleria/galleria.component.d.ts +0 -163
- package/galleria/galleria.module.d.ts +0 -8
- package/galleria/index.d.ts +0 -5
- package/galleria/public-api.d.ts +0 -2
- package/i18n/i18n.module.d.ts +0 -22
- package/i18n/i18n.service.d.ts +0 -54
- package/i18n/i18n.types.d.ts +0 -33
- package/i18n/index.d.ts +0 -5
- package/i18n/language-switch.component.d.ts +0 -50
- package/i18n/public-api.d.ts +0 -6
- package/i18n/translate.pipe.d.ts +0 -25
- package/iconfield/iconfield.component.d.ts +0 -30
- package/iconfield/iconfield.module.d.ts +0 -8
- package/iconfield/index.d.ts +0 -5
- package/iconfield/public-api.d.ts +0 -2
- package/image/image.base.d.ts +0 -83
- package/image/image.component.d.ts +0 -7
- package/image/image.module.d.ts +0 -9
- package/image/index.d.ts +0 -5
- package/image/public-api.d.ts +0 -3
- package/imagecompare/imagecompare.component.d.ts +0 -67
- package/imagecompare/imagecompare.module.d.ts +0 -9
- package/imagecompare/index.d.ts +0 -5
- package/imagecompare/public-api.d.ts +0 -2
- package/imagecropper/imagecropper.component.d.ts +0 -309
- package/imagecropper/imagecropper.module.d.ts +0 -8
- package/imagecropper/imagecropper.types.d.ts +0 -79
- package/imagecropper/index.d.ts +0 -5
- package/imagecropper/public-api.d.ts +0 -4
- package/index.d.ts +0 -5
- package/inplace/index.d.ts +0 -5
- package/inplace/inplace.component.d.ts +0 -59
- package/inplace/inplace.module.d.ts +0 -8
- package/inplace/public-api.d.ts +0 -2
- package/inputgroup/index.d.ts +0 -5
- package/inputgroup/inputgroup.component.d.ts +0 -26
- package/inputgroup/inputgroup.module.d.ts +0 -8
- package/inputgroup/public-api.d.ts +0 -2
- package/inputmask/index.d.ts +0 -5
- package/inputmask/inputmask.base.d.ts +0 -115
- package/inputmask/inputmask.component.d.ts +0 -10
- package/inputmask/inputmask.module.d.ts +0 -8
- package/inputmask/public-api.d.ts +0 -3
- package/inputnumber/index.d.ts +0 -5
- package/inputnumber/inputnumber.component.d.ts +0 -108
- package/inputnumber/inputnumber.module.d.ts +0 -8
- package/inputnumber/inputnumber.types.d.ts +0 -7
- package/inputnumber/public-api.d.ts +0 -3
- package/inputotp/index.d.ts +0 -5
- package/inputotp/inputotp.component.d.ts +0 -105
- package/inputotp/inputotp.module.d.ts +0 -9
- package/inputotp/inputotp.types.d.ts +0 -22
- package/inputotp/public-api.d.ts +0 -3
- package/inputtext/index.d.ts +0 -5
- package/inputtext/inputtext.directive.d.ts +0 -21
- package/inputtext/inputtext.module.d.ts +0 -8
- package/inputtext/inputtext.styles.d.ts +0 -2
- package/inputtext/inputtext.types.d.ts +0 -3
- package/inputtext/public-api.d.ts +0 -5
- package/keyfilter/index.d.ts +0 -5
- package/keyfilter/keyfilter.directive.d.ts +0 -29
- package/keyfilter/keyfilter.module.d.ts +0 -8
- package/keyfilter/public-api.d.ts +0 -2
- package/knob/index.d.ts +0 -5
- package/knob/knob.component.d.ts +0 -94
- package/knob/knob.module.d.ts +0 -8
- package/knob/public-api.d.ts +0 -2
- package/listbox/index.d.ts +0 -5
- package/listbox/listbox.component.d.ts +0 -186
- package/listbox/listbox.module.d.ts +0 -8
- package/listbox/public-api.d.ts +0 -2
- package/menu/index.d.ts +0 -5
- package/menu/menu.base.d.ts +0 -95
- package/menu/menu.component.d.ts +0 -11
- package/menu/menu.module.d.ts +0 -9
- package/menu/public-api.d.ts +0 -4
- package/menubar/index.d.ts +0 -5
- package/menubar/menubar.base.d.ts +0 -135
- package/menubar/menubar.component.d.ts +0 -11
- package/menubar/menubar.module.d.ts +0 -9
- package/menubar/public-api.d.ts +0 -4
- package/message/index.d.ts +0 -5
- package/message/message.component.d.ts +0 -39
- package/message/message.module.d.ts +0 -11
- package/message/message.types.d.ts +0 -5
- package/message/messages.base.d.ts +0 -50
- package/message/messages.component.d.ts +0 -7
- package/message/public-api.d.ts +0 -5
- package/metergroup/index.d.ts +0 -5
- package/metergroup/metergroup.component.d.ts +0 -54
- package/metergroup/metergroup.module.d.ts +0 -8
- package/metergroup/metergroup.types.d.ts +0 -42
- package/metergroup/public-api.d.ts +0 -3
- package/multiselect/index.d.ts +0 -5
- package/multiselect/multiselect.base.d.ts +0 -222
- package/multiselect/multiselect.component.d.ts +0 -11
- package/multiselect/multiselect.module.d.ts +0 -9
- package/multiselect/multiselect.styles.d.ts +0 -2
- package/multiselect/multiselect.types.d.ts +0 -20
- package/multiselect/public-api.d.ts +0 -5
- package/navbar/index.d.ts +0 -5
- package/navbar/navbar.component.d.ts +0 -172
- package/navbar/navbar.module.d.ts +0 -9
- package/navbar/public-api.d.ts +0 -2
- package/orderlist/index.d.ts +0 -5
- package/orderlist/orderlist.base.d.ts +0 -136
- package/orderlist/orderlist.component.d.ts +0 -10
- package/orderlist/orderlist.module.d.ts +0 -9
- package/orderlist/orderlist.types.d.ts +0 -10
- package/orderlist/public-api.d.ts +0 -4
- package/organizationchart/index.d.ts +0 -5
- package/organizationchart/organizationchart.component.d.ts +0 -76
- package/organizationchart/organizationchart.module.d.ts +0 -9
- package/organizationchart/organizationchart.types.d.ts +0 -10
- package/organizationchart/public-api.d.ts +0 -4
- package/paginator/index.d.ts +0 -5
- package/paginator/paginator.base.d.ts +0 -95
- package/paginator/paginator.component.d.ts +0 -10
- package/paginator/paginator.module.d.ts +0 -8
- package/paginator/paginator.types.d.ts +0 -7
- package/paginator/public-api.d.ts +0 -4
- package/panel/index.d.ts +0 -5
- package/panel/panel.component.d.ts +0 -42
- package/panel/panel.module.d.ts +0 -10
- package/panel/panel.types.d.ts +0 -2
- package/panel/public-api.d.ts +0 -3
- package/panelmenu/index.d.ts +0 -5
- package/panelmenu/panelmenu.base.d.ts +0 -53
- package/panelmenu/panelmenu.component.d.ts +0 -7
- package/panelmenu/panelmenu.module.d.ts +0 -9
- package/panelmenu/public-api.d.ts +0 -3
- package/password/index.d.ts +0 -5
- package/password/password.component.d.ts +0 -79
- package/password/password.module.d.ts +0 -8
- package/password/password.types.d.ts +0 -6
- package/password/public-api.d.ts +0 -3
- package/picklist/index.d.ts +0 -5
- package/picklist/list-drag.d.ts +0 -49
- package/picklist/picklist.base.d.ts +0 -217
- package/picklist/picklist.component.d.ts +0 -10
- package/picklist/picklist.module.d.ts +0 -9
- package/picklist/picklist.styles.d.ts +0 -2
- package/picklist/picklist.types.d.ts +0 -21
- package/picklist/public-api.d.ts +0 -7
- package/popover/index.d.ts +0 -5
- package/popover/popover.base.d.ts +0 -61
- package/popover/popover.component.d.ts +0 -10
- package/popover/popover.module.d.ts +0 -9
- package/popover/public-api.d.ts +0 -3
- package/presets/index.d.ts +0 -5
- package/presets/public-api.d.ts +0 -2
- package/progressbar/index.d.ts +0 -5
- package/progressbar/progressbar.component.d.ts +0 -48
- package/progressbar/progressbar.module.d.ts +0 -8
- package/progressbar/progressbar.types.d.ts +0 -16
- package/progressbar/public-api.d.ts +0 -3
- package/progressspinner/index.d.ts +0 -5
- package/progressspinner/progressspinner.component.d.ts +0 -44
- package/progressspinner/progressspinner.module.d.ts +0 -8
- package/progressspinner/progressspinner.types.d.ts +0 -9
- package/progressspinner/public-api.d.ts +0 -3
- package/public-api.d.ts +0 -2
- package/radiobutton/index.d.ts +0 -5
- package/radiobutton/public-api.d.ts +0 -6
- package/radiobutton/radio-registry.d.ts +0 -23
- package/radiobutton/radiobutton.component.d.ts +0 -50
- package/radiobutton/radiobutton.module.d.ts +0 -8
- package/radiobutton/radiobutton.styles.d.ts +0 -2
- package/radiobutton/radiobutton.types.d.ts +0 -4
- package/rating/index.d.ts +0 -5
- package/rating/public-api.d.ts +0 -3
- package/rating/rating.component.d.ts +0 -39
- package/rating/rating.module.d.ts +0 -8
- package/rating/rating.types.d.ts +0 -4
- package/result/index.d.ts +0 -5
- package/result/public-api.d.ts +0 -2
- package/result/result.component.d.ts +0 -39
- package/result/result.module.d.ts +0 -8
- package/ripple/index.d.ts +0 -5
- package/ripple/public-api.d.ts +0 -2
- package/ripple/ripple.directive.d.ts +0 -15
- package/ripple/ripple.module.d.ts +0 -8
- package/ripple/ripple.styles.d.ts +0 -2
- package/scroller/index.d.ts +0 -5
- package/scroller/public-api.d.ts +0 -5
- package/scroller/scroller.component.d.ts +0 -135
- package/scroller/scroller.module.d.ts +0 -8
- package/scrollpanel/index.d.ts +0 -5
- package/scrollpanel/public-api.d.ts +0 -2
- package/scrollpanel/scrollpanel.component.d.ts +0 -27
- package/scrollpanel/scrollpanel.module.d.ts +0 -8
- package/select/index.d.ts +0 -5
- package/select/public-api.d.ts +0 -6
- package/select/select.base.d.ts +0 -217
- package/select/select.component.d.ts +0 -11
- package/select/select.module.d.ts +0 -8
- package/select/select.styles.d.ts +0 -2
- package/select/select.types.d.ts +0 -9
- package/selectbutton/index.d.ts +0 -5
- package/selectbutton/public-api.d.ts +0 -3
- package/selectbutton/selectbutton.component.d.ts +0 -59
- package/selectbutton/selectbutton.module.d.ts +0 -9
- package/selectbutton/selectbutton.types.d.ts +0 -9
- package/sitefooter/index.d.ts +0 -5
- package/sitefooter/public-api.d.ts +0 -2
- package/sitefooter/sitefooter.component.d.ts +0 -69
- package/sitefooter/sitefooter.module.d.ts +0 -9
- package/skeleton/index.d.ts +0 -5
- package/skeleton/public-api.d.ts +0 -3
- package/skeleton/skeleton.component.d.ts +0 -22
- package/skeleton/skeleton.module.d.ts +0 -8
- package/skeleton/skeleton.types.d.ts +0 -2
- package/slider/index.d.ts +0 -5
- package/slider/public-api.d.ts +0 -2
- package/slider/slider.component.d.ts +0 -79
- package/slider/slider.module.d.ts +0 -8
- package/splitbutton/index.d.ts +0 -5
- package/splitbutton/public-api.d.ts +0 -2
- package/splitbutton/splitbutton.component.d.ts +0 -75
- package/splitbutton/splitbutton.module.d.ts +0 -8
- package/splitter/index.d.ts +0 -5
- package/splitter/public-api.d.ts +0 -4
- package/splitter/splitter-panel.component.d.ts +0 -20
- package/splitter/splitter.component.d.ts +0 -109
- package/splitter/splitter.module.d.ts +0 -10
- package/splitter/splitter.types.d.ts +0 -8
- package/stepper/index.d.ts +0 -5
- package/stepper/public-api.d.ts +0 -3
- package/stepper/stepper.base.d.ts +0 -200
- package/stepper/stepper.component.d.ts +0 -41
- package/stepper/stepper.module.d.ts +0 -9
- package/steps/index.d.ts +0 -5
- package/steps/public-api.d.ts +0 -3
- package/steps/steps.base.d.ts +0 -52
- package/steps/steps.component.d.ts +0 -7
- package/steps/steps.module.d.ts +0 -8
- package/table/index.d.ts +0 -5
- package/table/public-api.d.ts +0 -9
- package/table/table-celleditor.component.d.ts +0 -14
- package/table/table-filter.component.d.ts +0 -11
- package/table/table.base.d.ts +0 -410
- package/table/table.celleditor.d.ts +0 -20
- package/table/table.component.d.ts +0 -12
- package/table/table.directives.d.ts +0 -330
- package/table/table.filter.d.ts +0 -131
- package/table/table.module.d.ts +0 -12
- package/table/table.types.d.ts +0 -180
- package/tabmenu/index.d.ts +0 -5
- package/tabmenu/public-api.d.ts +0 -2
- package/tabs/index.d.ts +0 -5
- package/tabs/public-api.d.ts +0 -8
- package/tabs/tabmenu.base.d.ts +0 -59
- package/tabs/tabmenu.component.d.ts +0 -10
- package/tabs/tabmenu.module.d.ts +0 -9
- package/tabs/tabs.component.d.ts +0 -120
- package/tabs/tabs.module.d.ts +0 -10
- package/tabs/tabs.styles.d.ts +0 -2
- package/tabs/tabs.types.d.ts +0 -21
- package/tag/index.d.ts +0 -5
- package/tag/public-api.d.ts +0 -3
- package/tag/tag.component.d.ts +0 -20
- package/tag/tag.module.d.ts +0 -8
- package/tag/tag.types.d.ts +0 -2
- package/terminal/index.d.ts +0 -5
- package/terminal/public-api.d.ts +0 -5
- package/terminal/terminal.component.d.ts +0 -58
- package/terminal/terminal.module.d.ts +0 -8
- package/terminal/terminal.service.d.ts +0 -20
- package/textarea/index.d.ts +0 -5
- package/textarea/public-api.d.ts +0 -2
- package/textarea/textarea.directive.d.ts +0 -27
- package/textarea/textarea.module.d.ts +0 -8
- package/thai/index.d.ts +0 -5
- package/thai/public-api.d.ts +0 -3
- package/thai/thai.module.d.ts +0 -8
- package/thai/thai.pipes.d.ts +0 -57
- package/tieredmenu/index.d.ts +0 -5
- package/tieredmenu/public-api.d.ts +0 -2
- package/tieredmenu/tieredmenu.component.d.ts +0 -90
- package/tieredmenu/tieredmenu.module.d.ts +0 -8
- package/timeline/index.d.ts +0 -5
- package/timeline/public-api.d.ts +0 -3
- package/timeline/timeline.base.d.ts +0 -36
- package/timeline/timeline.component.d.ts +0 -7
- package/timeline/timeline.module.d.ts +0 -9
- package/toast/index.d.ts +0 -5
- package/toast/message.service.d.ts +0 -19
- package/toast/public-api.d.ts +0 -5
- package/toast/toast.base.d.ts +0 -84
- package/toast/toast.component.d.ts +0 -10
- package/toast/toast.module.d.ts +0 -9
- package/toast/toast.types.d.ts +0 -28
- package/togglebutton/index.d.ts +0 -5
- package/togglebutton/public-api.d.ts +0 -3
- package/togglebutton/togglebutton.component.d.ts +0 -47
- package/togglebutton/togglebutton.module.d.ts +0 -8
- package/togglebutton/togglebutton.types.d.ts +0 -4
- package/toggleswitch/index.d.ts +0 -5
- package/toggleswitch/public-api.d.ts +0 -3
- package/toggleswitch/toggleswitch.component.d.ts +0 -42
- package/toggleswitch/toggleswitch.module.d.ts +0 -8
- package/toggleswitch/toggleswitch.types.d.ts +0 -4
- package/toolbar/index.d.ts +0 -5
- package/toolbar/public-api.d.ts +0 -2
- package/toolbar/toolbar.component.d.ts +0 -29
- package/toolbar/toolbar.module.d.ts +0 -9
- package/tooltip/index.d.ts +0 -5
- package/tooltip/public-api.d.ts +0 -3
- package/tooltip/tooltip.directive.d.ts +0 -87
- package/tooltip/tooltip.module.d.ts +0 -8
- package/tooltip/tooltip.styles.d.ts +0 -2
- package/tooltip/tooltip.types.d.ts +0 -14
- package/tree/index.d.ts +0 -5
- package/tree/public-api.d.ts +0 -2
- package/tree/tree.component.d.ts +0 -149
- package/tree/tree.module.d.ts +0 -8
- package/treeselect/index.d.ts +0 -5
- package/treeselect/public-api.d.ts +0 -2
- package/treeselect/treeselect.component.d.ts +0 -140
- package/treeselect/treeselect.module.d.ts +0 -8
- package/validation/field-error.component.d.ts +0 -39
- package/validation/index.d.ts +0 -5
- package/validation/public-api.d.ts +0 -3
- package/validation/validation.module.d.ts +0 -9
- package/validation/validators.d.ts +0 -33
|
@@ -49,12 +49,12 @@ class WuEmptyState {
|
|
|
49
49
|
get rootStyle() {
|
|
50
50
|
return this.style && typeof this.style === 'object' ? this.style : null;
|
|
51
51
|
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuEmptyState, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: WuEmptyState, isStandalone: true, selector: "wu-empty-state, wu-emptyState, wu-empty", inputs: { type: "type", title: "title", description: "description", icon: "icon", image: "image", imageAlt: "imageAlt", showImage: "showImage", size: "size", styleClass: "styleClass", style: "style" }, host: { properties: { "attr.title": "null" }, classAttribute: "wu-empty-state-host" }, ngImport: i0, template: "<div\n class=\"wu-empty-state\"\n [ngClass]=\"sizeClass\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [attr.data-type]=\"type\"\n>\n <ng-container *ngIf=\"pictured\">\n <img *ngIf=\"image; else drawn\" class=\"wu-empty-state-image\" [src]=\"image\" [attr.alt]=\"imageAlt || ''\" />\n <ng-template #drawn>\n <span *ngIf=\"icon; else art\" class=\"wu-empty-state-icon\" aria-hidden=\"true\"><i [ngClass]=\"icon\"></i></span>\n </ng-template>\n <ng-template #art>\n <svg class=\"wu-empty-state-art\" viewBox=\"0 0 160 120\" aria-hidden=\"true\" focusable=\"false\" [ngSwitch]=\"type\">\n <g *ngSwitchCase=\"'search'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"44\" ry=\"6\"></ellipse>\n <rect class=\"wu-es-paper\" x=\"42\" y=\"16\" width=\"58\" height=\"76\" rx=\"7\"></rect>\n <path class=\"wu-es-line\" d=\"M53 32h30M53 43h36M53 54h22\"></path>\n <circle class=\"wu-es-lens\" cx=\"102\" cy=\"72\" r=\"17\"></circle>\n <path class=\"wu-es-accent wu-es-thick\" d=\"m114.5 84.5 12 12\"></path>\n <path class=\"wu-es-accent\" d=\"M97.5 67.5a4.5 4.5 0 1 1 6.5 4c-1.6.9-2.5 2-2.5 3.5\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"101.5\" cy=\"80\" r=\"1.6\"></circle>\n </g>\n <g *ngSwitchCase=\"'inbox'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M36 66 52 38h56l16 28v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-tray\" d=\"M36 66h24l5 9h30l5-9h24v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 10v20m-8-8 8 8 8-8\"></path>\n </g>\n <g *ngSwitchCase=\"'folder'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M34 34a6 6 0 0 1 6-6h24l8 9h48a6 6 0 0 1 6 6v49a6 6 0 0 1-6 6H40a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-line\" d=\"M34 48h92\"></path>\n <circle class=\"wu-es-soft\" cx=\"80\" cy=\"72\" r=\"13\"></circle>\n <path class=\"wu-es-accent\" d=\"M80 66v12m-6-6h12\"></path>\n </g>\n <g *ngSwitchCase=\"'error'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"46\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M50 90h62a19 19 0 0 0 1.5-37.9A26 26 0 0 0 63 48.5 21 21 0 0 0 50 90z\"></path>\n <path class=\"wu-es-danger\" d=\"m72 62 16 16m0-16-16 16\"></path>\n </g>\n <g *ngSwitchCase=\"'offline'\">\n <circle class=\"wu-es-bg\" cx=\"80\" cy=\"64\" r=\"44\"></circle>\n <path class=\"wu-es-line\" d=\"M54.5 58.5a36 36 0 0 1 51 0M63 67a24 24 0 0 1 34 0M71.5 75.5a12 12 0 0 1 17 0\"></path>\n <circle class=\"wu-es-line-fill\" cx=\"80\" cy=\"84\" r=\"3.5\"></circle>\n <path class=\"wu-es-danger\" d=\"m52 40 56 58\"></path>\n </g>\n <g *ngSwitchDefault>\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"102\" rx=\"50\" ry=\"7\"></ellipse>\n <path class=\"wu-es-soft\" d=\"M44 54 80 42l36 12-36 12z\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54v36l36 12 36-12V54L80 66z\"></path>\n <path class=\"wu-es-line\" d=\"M80 66v36\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54 31 42l36-12 13 12z\"></path>\n <path class=\"wu-es-paper\" d=\"m116 54 13-12-36-12-13 12z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 12v12m-6-6h12\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"56\" cy=\"20\" r=\"2.5\"></circle>\n <circle class=\"wu-es-accent-fill\" cx=\"106\" cy=\"16\" r=\"2\"></circle>\n </g>\n </svg>\n </ng-template>\n </ng-container>\n <p *ngIf=\"titleText\" class=\"wu-empty-state-title\">{{ titleText }}</p>\n <p *ngIf=\"descriptionText\" class=\"wu-empty-state-description\">{{ descriptionText }}</p>\n <div class=\"wu-empty-state-actions\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{:is(wu-empty-state,wu-emptyState,wu-empty){display:block}.wu-empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--wu-empty-state-gap);padding:var(--wu-empty-state-padding);text-align:center;font-family:var(--wu-font-family)}.wu-empty-state-art,.wu-empty-state-image{display:block;width:var(--wu-empty-state-art-width);max-width:100%;height:auto;margin-bottom:.5rem}.wu-empty-state-image{object-fit:contain}.wu-empty-state-art{overflow:visible;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.wu-es-bg{fill:var(--wu-empty-state-art-bg);stroke:none}.wu-es-paper{fill:var(--wu-empty-state-art-paper);stroke:var(--wu-empty-state-art-line)}.wu-es-line{stroke:var(--wu-empty-state-art-line)}.wu-es-line-fill{fill:var(--wu-empty-state-art-line);stroke:none}.wu-es-soft{fill:var(--wu-empty-state-art-soft);stroke:none}.wu-es-tray{fill:var(--wu-empty-state-art-soft);stroke:var(--wu-empty-state-art-line)}.wu-es-lens{fill:var(--wu-empty-state-art-soft);stroke:var(--wu-empty-state-art-accent);stroke-width:3}.wu-es-accent{stroke:var(--wu-empty-state-art-accent)}.wu-es-thick{stroke-width:6}.wu-es-accent-fill{fill:var(--wu-empty-state-art-accent);stroke:none}.wu-es-danger{stroke:var(--wu-empty-state-art-danger);stroke-width:3.5}.wu-empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-empty-state-icon-box);height:var(--wu-empty-state-icon-box);margin-bottom:.5rem;border-radius:50%;background:var(--wu-empty-state-icon-bg);color:var(--wu-empty-state-icon-color);font-size:var(--wu-empty-state-icon-size);line-height:1}.wu-empty-state-title{font-family:var(--wu-heading-font-family);margin:0;color:var(--wu-empty-state-title-color);font-size:var(--wu-empty-state-title-size);font-weight:var(--wu-empty-state-title-weight);line-height:var(--wu-line-height)}.wu-empty-state-description{margin:0;max-width:32rem;color:var(--wu-empty-state-description-color);font-size:var(--wu-empty-state-description-size);line-height:var(--wu-line-height)}.wu-empty-state-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--wu-empty-state-actions-gap);margin-top:.75rem}.wu-empty-state-actions:empty{display:none}.wu-empty-state-sm{padding:var(--wu-empty-state-sm-padding)}.wu-empty-state-sm :is(.wu-empty-state-art,.wu-empty-state-image){width:var(--wu-empty-state-art-sm-width);margin-bottom:.25rem}.wu-empty-state-sm .wu-empty-state-icon{width:calc(var(--wu-empty-state-icon-box) * .75);height:calc(var(--wu-empty-state-icon-box) * .75);font-size:calc(var(--wu-empty-state-icon-size) * .8)}.wu-empty-state-sm .wu-empty-state-title{font-size:var(--wu-empty-state-description-size)}.wu-empty-state-sm .wu-empty-state-description{font-size:.875em}.wu-empty-state-sm .wu-empty-state-actions{margin-top:.375rem}.wu-empty-state-lg{padding:var(--wu-empty-state-lg-padding)}.wu-empty-state-lg :is(.wu-empty-state-art,.wu-empty-state-image){width:var(--wu-empty-state-art-lg-width)}.wu-empty-state-lg .wu-empty-state-title{font-size:calc(var(--wu-empty-state-title-size) * 1.25)}}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuEmptyState, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
|
-
args: [{ selector: 'wu-empty-state, wu-emptyState, wu-empty', standalone: true, imports: [NgClass, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'wu-empty-state-host', '[attr.title]': 'null' }, template: "<div\n class=\"wu-empty-state\"\n [ngClass]=\"sizeClass\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [attr.data-type]=\"type\"\n>\n <ng-container *ngIf=\"pictured\">\n <img *ngIf=\"image; else drawn\" class=\"wu-empty-state-image\" [src]=\"image\" [attr.alt]=\"imageAlt || ''\" />\n <ng-template #drawn>\n <span *ngIf=\"icon; else art\" class=\"wu-empty-state-icon\" aria-hidden=\"true\"><i [ngClass]=\"icon\"></i></span>\n </ng-template>\n <ng-template #art>\n <svg class=\"wu-empty-state-art\" viewBox=\"0 0 160 120\" aria-hidden=\"true\" focusable=\"false\" [ngSwitch]=\"type\">\n <g *ngSwitchCase=\"'search'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"44\" ry=\"6\"></ellipse>\n <rect class=\"wu-es-paper\" x=\"42\" y=\"16\" width=\"58\" height=\"76\" rx=\"7\"></rect>\n <path class=\"wu-es-line\" d=\"M53 32h30M53 43h36M53 54h22\"></path>\n <circle class=\"wu-es-lens\" cx=\"102\" cy=\"72\" r=\"17\"></circle>\n <path class=\"wu-es-accent wu-es-thick\" d=\"m114.5 84.5 12 12\"></path>\n <path class=\"wu-es-accent\" d=\"M97.5 67.5a4.5 4.5 0 1 1 6.5 4c-1.6.9-2.5 2-2.5 3.5\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"101.5\" cy=\"80\" r=\"1.6\"></circle>\n </g>\n <g *ngSwitchCase=\"'inbox'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M36 66 52 38h56l16 28v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-tray\" d=\"M36 66h24l5 9h30l5-9h24v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 10v20m-8-8 8 8 8-8\"></path>\n </g>\n <g *ngSwitchCase=\"'folder'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M34 34a6 6 0 0 1 6-6h24l8 9h48a6 6 0 0 1 6 6v49a6 6 0 0 1-6 6H40a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-line\" d=\"M34 48h92\"></path>\n <circle class=\"wu-es-soft\" cx=\"80\" cy=\"72\" r=\"13\"></circle>\n <path class=\"wu-es-accent\" d=\"M80 66v12m-6-6h12\"></path>\n </g>\n <g *ngSwitchCase=\"'error'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"46\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M50 90h62a19 19 0 0 0 1.5-37.9A26 26 0 0 0 63 48.5 21 21 0 0 0 50 90z\"></path>\n <path class=\"wu-es-danger\" d=\"m72 62 16 16m0-16-16 16\"></path>\n </g>\n <g *ngSwitchCase=\"'offline'\">\n <circle class=\"wu-es-bg\" cx=\"80\" cy=\"64\" r=\"44\"></circle>\n <path class=\"wu-es-line\" d=\"M54.5 58.5a36 36 0 0 1 51 0M63 67a24 24 0 0 1 34 0M71.5 75.5a12 12 0 0 1 17 0\"></path>\n <circle class=\"wu-es-line-fill\" cx=\"80\" cy=\"84\" r=\"3.5\"></circle>\n <path class=\"wu-es-danger\" d=\"m52 40 56 58\"></path>\n </g>\n <g *ngSwitchDefault>\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"102\" rx=\"50\" ry=\"7\"></ellipse>\n <path class=\"wu-es-soft\" d=\"M44 54 80 42l36 12-36 12z\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54v36l36 12 36-12V54L80 66z\"></path>\n <path class=\"wu-es-line\" d=\"M80 66v36\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54 31 42l36-12 13 12z\"></path>\n <path class=\"wu-es-paper\" d=\"m116 54 13-12-36-12-13 12z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 12v12m-6-6h12\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"56\" cy=\"20\" r=\"2.5\"></circle>\n <circle class=\"wu-es-accent-fill\" cx=\"106\" cy=\"16\" r=\"2\"></circle>\n </g>\n </svg>\n </ng-template>\n </ng-container>\n <p *ngIf=\"titleText\" class=\"wu-empty-state-title\">{{ titleText }}</p>\n <p *ngIf=\"descriptionText\" class=\"wu-empty-state-description\">{{ descriptionText }}</p>\n <div class=\"wu-empty-state-actions\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{:is(wu-empty-state,wu-emptyState,wu-empty){display:block}.wu-empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--wu-empty-state-gap);padding:var(--wu-empty-state-padding);text-align:center;font-family:var(--wu-font-family)}.wu-empty-state-art,.wu-empty-state-image{display:block;width:var(--wu-empty-state-art-width);max-width:100%;height:auto;margin-bottom:.5rem}.wu-empty-state-image{object-fit:contain}.wu-empty-state-art{overflow:visible;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.wu-es-bg{fill:var(--wu-empty-state-art-bg);stroke:none}.wu-es-paper{fill:var(--wu-empty-state-art-paper);stroke:var(--wu-empty-state-art-line)}.wu-es-line{stroke:var(--wu-empty-state-art-line)}.wu-es-line-fill{fill:var(--wu-empty-state-art-line);stroke:none}.wu-es-soft{fill:var(--wu-empty-state-art-soft);stroke:none}.wu-es-tray{fill:var(--wu-empty-state-art-soft);stroke:var(--wu-empty-state-art-line)}.wu-es-lens{fill:var(--wu-empty-state-art-soft);stroke:var(--wu-empty-state-art-accent);stroke-width:3}.wu-es-accent{stroke:var(--wu-empty-state-art-accent)}.wu-es-thick{stroke-width:6}.wu-es-accent-fill{fill:var(--wu-empty-state-art-accent);stroke:none}.wu-es-danger{stroke:var(--wu-empty-state-art-danger);stroke-width:3.5}.wu-empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-empty-state-icon-box);height:var(--wu-empty-state-icon-box);margin-bottom:.5rem;border-radius:50%;background:var(--wu-empty-state-icon-bg);color:var(--wu-empty-state-icon-color);font-size:var(--wu-empty-state-icon-size);line-height:1}.wu-empty-state-title{margin:0;color:var(--wu-empty-state-title-color);font-size:var(--wu-empty-state-title-size);font-weight:var(--wu-empty-state-title-weight);line-height:var(--wu-line-height)}.wu-empty-state-description{margin:0;max-width:32rem;color:var(--wu-empty-state-description-color);font-size:var(--wu-empty-state-description-size);line-height:var(--wu-line-height)}.wu-empty-state-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--wu-empty-state-actions-gap);margin-top:.75rem}.wu-empty-state-actions:empty{display:none}.wu-empty-state-sm{padding:var(--wu-empty-state-sm-padding)}.wu-empty-state-sm :is(.wu-empty-state-art,.wu-empty-state-image){width:var(--wu-empty-state-art-sm-width);margin-bottom:.25rem}.wu-empty-state-sm .wu-empty-state-icon{width:calc(var(--wu-empty-state-icon-box) * .75);height:calc(var(--wu-empty-state-icon-box) * .75);font-size:calc(var(--wu-empty-state-icon-size) * .8)}.wu-empty-state-sm .wu-empty-state-title{font-size:var(--wu-empty-state-description-size)}.wu-empty-state-sm .wu-empty-state-description{font-size:.875em}.wu-empty-state-sm .wu-empty-state-actions{margin-top:.375rem}.wu-empty-state-lg{padding:var(--wu-empty-state-lg-padding)}.wu-empty-state-lg :is(.wu-empty-state-art,.wu-empty-state-image){width:var(--wu-empty-state-art-lg-width)}.wu-empty-state-lg .wu-empty-state-title{font-size:calc(var(--wu-empty-state-title-size) * 1.25)}}\n"] }]
|
|
57
|
+
args: [{ selector: 'wu-empty-state, wu-emptyState, wu-empty', standalone: true, imports: [NgClass, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'wu-empty-state-host', '[attr.title]': 'null' }, template: "<div\n class=\"wu-empty-state\"\n [ngClass]=\"sizeClass\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [attr.data-type]=\"type\"\n>\n <ng-container *ngIf=\"pictured\">\n <img *ngIf=\"image; else drawn\" class=\"wu-empty-state-image\" [src]=\"image\" [attr.alt]=\"imageAlt || ''\" />\n <ng-template #drawn>\n <span *ngIf=\"icon; else art\" class=\"wu-empty-state-icon\" aria-hidden=\"true\"><i [ngClass]=\"icon\"></i></span>\n </ng-template>\n <ng-template #art>\n <svg class=\"wu-empty-state-art\" viewBox=\"0 0 160 120\" aria-hidden=\"true\" focusable=\"false\" [ngSwitch]=\"type\">\n <g *ngSwitchCase=\"'search'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"44\" ry=\"6\"></ellipse>\n <rect class=\"wu-es-paper\" x=\"42\" y=\"16\" width=\"58\" height=\"76\" rx=\"7\"></rect>\n <path class=\"wu-es-line\" d=\"M53 32h30M53 43h36M53 54h22\"></path>\n <circle class=\"wu-es-lens\" cx=\"102\" cy=\"72\" r=\"17\"></circle>\n <path class=\"wu-es-accent wu-es-thick\" d=\"m114.5 84.5 12 12\"></path>\n <path class=\"wu-es-accent\" d=\"M97.5 67.5a4.5 4.5 0 1 1 6.5 4c-1.6.9-2.5 2-2.5 3.5\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"101.5\" cy=\"80\" r=\"1.6\"></circle>\n </g>\n <g *ngSwitchCase=\"'inbox'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M36 66 52 38h56l16 28v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-tray\" d=\"M36 66h24l5 9h30l5-9h24v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 10v20m-8-8 8 8 8-8\"></path>\n </g>\n <g *ngSwitchCase=\"'folder'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M34 34a6 6 0 0 1 6-6h24l8 9h48a6 6 0 0 1 6 6v49a6 6 0 0 1-6 6H40a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-line\" d=\"M34 48h92\"></path>\n <circle class=\"wu-es-soft\" cx=\"80\" cy=\"72\" r=\"13\"></circle>\n <path class=\"wu-es-accent\" d=\"M80 66v12m-6-6h12\"></path>\n </g>\n <g *ngSwitchCase=\"'error'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"46\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M50 90h62a19 19 0 0 0 1.5-37.9A26 26 0 0 0 63 48.5 21 21 0 0 0 50 90z\"></path>\n <path class=\"wu-es-danger\" d=\"m72 62 16 16m0-16-16 16\"></path>\n </g>\n <g *ngSwitchCase=\"'offline'\">\n <circle class=\"wu-es-bg\" cx=\"80\" cy=\"64\" r=\"44\"></circle>\n <path class=\"wu-es-line\" d=\"M54.5 58.5a36 36 0 0 1 51 0M63 67a24 24 0 0 1 34 0M71.5 75.5a12 12 0 0 1 17 0\"></path>\n <circle class=\"wu-es-line-fill\" cx=\"80\" cy=\"84\" r=\"3.5\"></circle>\n <path class=\"wu-es-danger\" d=\"m52 40 56 58\"></path>\n </g>\n <g *ngSwitchDefault>\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"102\" rx=\"50\" ry=\"7\"></ellipse>\n <path class=\"wu-es-soft\" d=\"M44 54 80 42l36 12-36 12z\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54v36l36 12 36-12V54L80 66z\"></path>\n <path class=\"wu-es-line\" d=\"M80 66v36\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54 31 42l36-12 13 12z\"></path>\n <path class=\"wu-es-paper\" d=\"m116 54 13-12-36-12-13 12z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 12v12m-6-6h12\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"56\" cy=\"20\" r=\"2.5\"></circle>\n <circle class=\"wu-es-accent-fill\" cx=\"106\" cy=\"16\" r=\"2\"></circle>\n </g>\n </svg>\n </ng-template>\n </ng-container>\n <p *ngIf=\"titleText\" class=\"wu-empty-state-title\">{{ titleText }}</p>\n <p *ngIf=\"descriptionText\" class=\"wu-empty-state-description\">{{ descriptionText }}</p>\n <div class=\"wu-empty-state-actions\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{:is(wu-empty-state,wu-emptyState,wu-empty){display:block}.wu-empty-state{display:flex;flex-direction:column;align-items:center;gap:var(--wu-empty-state-gap);padding:var(--wu-empty-state-padding);text-align:center;font-family:var(--wu-font-family)}.wu-empty-state-art,.wu-empty-state-image{display:block;width:var(--wu-empty-state-art-width);max-width:100%;height:auto;margin-bottom:.5rem}.wu-empty-state-image{object-fit:contain}.wu-empty-state-art{overflow:visible;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.wu-es-bg{fill:var(--wu-empty-state-art-bg);stroke:none}.wu-es-paper{fill:var(--wu-empty-state-art-paper);stroke:var(--wu-empty-state-art-line)}.wu-es-line{stroke:var(--wu-empty-state-art-line)}.wu-es-line-fill{fill:var(--wu-empty-state-art-line);stroke:none}.wu-es-soft{fill:var(--wu-empty-state-art-soft);stroke:none}.wu-es-tray{fill:var(--wu-empty-state-art-soft);stroke:var(--wu-empty-state-art-line)}.wu-es-lens{fill:var(--wu-empty-state-art-soft);stroke:var(--wu-empty-state-art-accent);stroke-width:3}.wu-es-accent{stroke:var(--wu-empty-state-art-accent)}.wu-es-thick{stroke-width:6}.wu-es-accent-fill{fill:var(--wu-empty-state-art-accent);stroke:none}.wu-es-danger{stroke:var(--wu-empty-state-art-danger);stroke-width:3.5}.wu-empty-state-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-empty-state-icon-box);height:var(--wu-empty-state-icon-box);margin-bottom:.5rem;border-radius:50%;background:var(--wu-empty-state-icon-bg);color:var(--wu-empty-state-icon-color);font-size:var(--wu-empty-state-icon-size);line-height:1}.wu-empty-state-title{font-family:var(--wu-heading-font-family);margin:0;color:var(--wu-empty-state-title-color);font-size:var(--wu-empty-state-title-size);font-weight:var(--wu-empty-state-title-weight);line-height:var(--wu-line-height)}.wu-empty-state-description{margin:0;max-width:32rem;color:var(--wu-empty-state-description-color);font-size:var(--wu-empty-state-description-size);line-height:var(--wu-line-height)}.wu-empty-state-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--wu-empty-state-actions-gap);margin-top:.75rem}.wu-empty-state-actions:empty{display:none}.wu-empty-state-sm{padding:var(--wu-empty-state-sm-padding)}.wu-empty-state-sm :is(.wu-empty-state-art,.wu-empty-state-image){width:var(--wu-empty-state-art-sm-width);margin-bottom:.25rem}.wu-empty-state-sm .wu-empty-state-icon{width:calc(var(--wu-empty-state-icon-box) * .75);height:calc(var(--wu-empty-state-icon-box) * .75);font-size:calc(var(--wu-empty-state-icon-size) * .8)}.wu-empty-state-sm .wu-empty-state-title{font-size:var(--wu-empty-state-description-size)}.wu-empty-state-sm .wu-empty-state-description{font-size:.875em}.wu-empty-state-sm .wu-empty-state-actions{margin-top:.375rem}.wu-empty-state-lg{padding:var(--wu-empty-state-lg-padding)}.wu-empty-state-lg :is(.wu-empty-state-art,.wu-empty-state-image){width:var(--wu-empty-state-art-lg-width)}.wu-empty-state-lg .wu-empty-state-title{font-size:calc(var(--wu-empty-state-title-size) * 1.25)}}\n"] }]
|
|
58
58
|
}], ctorParameters: () => [], propDecorators: { type: [{
|
|
59
59
|
type: Input
|
|
60
60
|
}], title: [{
|
|
@@ -79,11 +79,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
79
79
|
|
|
80
80
|
/** For NgModule apps. Standalone apps can import `WuEmptyState` directly. */
|
|
81
81
|
class WuEmptyStateModule {
|
|
82
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
83
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
84
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
82
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuEmptyStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
83
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: WuEmptyStateModule, imports: [WuEmptyState], exports: [WuEmptyState] }); }
|
|
84
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuEmptyStateModule }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuEmptyStateModule, decorators: [{
|
|
87
87
|
type: NgModule,
|
|
88
88
|
args: [{
|
|
89
89
|
imports: [WuEmptyState],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wirabyte-ui-emptystate.mjs","sources":["../../lib/emptystate/emptystate.component.ts","../../lib/emptystate/emptystate.component.html","../../lib/emptystate/emptystate.module.ts","../../lib/emptystate/wirabyte-ui-emptystate.ts"],"sourcesContent":["import { NgClass, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, Input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { ɵassertSupportedAngular, ɵrefreshOnTranslation, ɵWU_SKIP_VERSION_CHECK, WuConfig } from '@wirabyte/ui/config';\nimport { WuEmptyStateType } from '@wirabyte/ui/core';\n\nexport type { WuEmptyStateType };\nexport type WuEmptyStateSize = 'small' | 'normal' | 'large';\n\nconst TYPES: readonly WuEmptyStateType[] = ['nodata', 'search', 'inbox', 'folder', 'error', 'offline'];\n\n/**\n * What a list, table or page shows when there is nothing in it:\n * `<wu-empty-state type=\"search\"><wu-button label=\"ล้างตัวกรอง\" (onClick)=\"clear()\"></wu-button></wu-empty-state>`.\n * A drawing per `type` (no data, nothing found, empty inbox, empty folder, failed load, offline) in the theme's colours,\n * a title and a line under it in the app's language (both replaceable), and whatever is inside the tag as actions.\n * `icon` or `image` replace the drawing; `size=\"small\"` fits inside a table's empty row.\n */\n@Component({\n selector: 'wu-empty-state, wu-emptyState, wu-empty',\n standalone: true,\n imports: [NgClass, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault],\n templateUrl: './emptystate.component.html',\n styleUrls: ['./emptystate.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n // `title` is an input here: keep it off the host so the whole block gets no browser tooltip.\n host: { class: 'wu-empty-state-host', '[attr.title]': 'null' },\n})\nexport class WuEmptyState implements OnDestroy {\n /** Which drawing and default text. Default `'nodata'`. */\n @Input() set type(v: WuEmptyStateType | string | null | undefined) {\n this._type = TYPES.includes(v as WuEmptyStateType) ? (v as WuEmptyStateType) : 'nodata';\n }\n get type(): WuEmptyStateType {\n return this._type;\n }\n /** The title. Default: the locale's title for `type`; `''` shows none. */\n @Input() title?: string | null;\n /** The line under the title. Default: the locale's line for `type`; `''` shows none. */\n @Input() description?: string | null;\n /** An icon class (`'wi wi-users'`) in a soft circle, instead of the drawing. */\n @Input() icon?: string | null;\n /** A picture of your own instead of the drawing. */\n @Input() image?: string | null;\n @Input() imageAlt?: string | null;\n /** `false` leaves out the drawing (and icon / image). */\n @Input() showImage: boolean | string | null | undefined = true;\n /** `'small'` for inside tables and cards, `'large'` for a whole page. */\n @Input() size: WuEmptyStateSize | null | undefined = 'normal';\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n\n private _type: WuEmptyStateType = 'nodata';\n private readonly config = inject(WuConfig);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.i18n.unsubscribe();\n }\n\n // ---------- what the template reads ----------\n\n get titleText(): string {\n return this.title ?? this.config.translation.emptyState?.[this._type]?.title ?? '';\n }\n get descriptionText(): string {\n return this.description ?? this.config.translation.emptyState?.[this._type]?.description ?? '';\n }\n get pictured(): boolean {\n return this.showImage !== false && this.showImage !== 'false';\n }\n get sizeClass(): string {\n return this.size === 'small' ? 'wu-empty-state-sm' : this.size === 'large' ? 'wu-empty-state-lg' : '';\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n}\n","<div\n class=\"wu-empty-state\"\n [ngClass]=\"sizeClass\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [attr.data-type]=\"type\"\n>\n <ng-container *ngIf=\"pictured\">\n <img *ngIf=\"image; else drawn\" class=\"wu-empty-state-image\" [src]=\"image\" [attr.alt]=\"imageAlt || ''\" />\n <ng-template #drawn>\n <span *ngIf=\"icon; else art\" class=\"wu-empty-state-icon\" aria-hidden=\"true\"><i [ngClass]=\"icon\"></i></span>\n </ng-template>\n <ng-template #art>\n <svg class=\"wu-empty-state-art\" viewBox=\"0 0 160 120\" aria-hidden=\"true\" focusable=\"false\" [ngSwitch]=\"type\">\n <g *ngSwitchCase=\"'search'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"44\" ry=\"6\"></ellipse>\n <rect class=\"wu-es-paper\" x=\"42\" y=\"16\" width=\"58\" height=\"76\" rx=\"7\"></rect>\n <path class=\"wu-es-line\" d=\"M53 32h30M53 43h36M53 54h22\"></path>\n <circle class=\"wu-es-lens\" cx=\"102\" cy=\"72\" r=\"17\"></circle>\n <path class=\"wu-es-accent wu-es-thick\" d=\"m114.5 84.5 12 12\"></path>\n <path class=\"wu-es-accent\" d=\"M97.5 67.5a4.5 4.5 0 1 1 6.5 4c-1.6.9-2.5 2-2.5 3.5\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"101.5\" cy=\"80\" r=\"1.6\"></circle>\n </g>\n <g *ngSwitchCase=\"'inbox'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M36 66 52 38h56l16 28v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-tray\" d=\"M36 66h24l5 9h30l5-9h24v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 10v20m-8-8 8 8 8-8\"></path>\n </g>\n <g *ngSwitchCase=\"'folder'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M34 34a6 6 0 0 1 6-6h24l8 9h48a6 6 0 0 1 6 6v49a6 6 0 0 1-6 6H40a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-line\" d=\"M34 48h92\"></path>\n <circle class=\"wu-es-soft\" cx=\"80\" cy=\"72\" r=\"13\"></circle>\n <path class=\"wu-es-accent\" d=\"M80 66v12m-6-6h12\"></path>\n </g>\n <g *ngSwitchCase=\"'error'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"46\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M50 90h62a19 19 0 0 0 1.5-37.9A26 26 0 0 0 63 48.5 21 21 0 0 0 50 90z\"></path>\n <path class=\"wu-es-danger\" d=\"m72 62 16 16m0-16-16 16\"></path>\n </g>\n <g *ngSwitchCase=\"'offline'\">\n <circle class=\"wu-es-bg\" cx=\"80\" cy=\"64\" r=\"44\"></circle>\n <path class=\"wu-es-line\" d=\"M54.5 58.5a36 36 0 0 1 51 0M63 67a24 24 0 0 1 34 0M71.5 75.5a12 12 0 0 1 17 0\"></path>\n <circle class=\"wu-es-line-fill\" cx=\"80\" cy=\"84\" r=\"3.5\"></circle>\n <path class=\"wu-es-danger\" d=\"m52 40 56 58\"></path>\n </g>\n <g *ngSwitchDefault>\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"102\" rx=\"50\" ry=\"7\"></ellipse>\n <path class=\"wu-es-soft\" d=\"M44 54 80 42l36 12-36 12z\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54v36l36 12 36-12V54L80 66z\"></path>\n <path class=\"wu-es-line\" d=\"M80 66v36\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54 31 42l36-12 13 12z\"></path>\n <path class=\"wu-es-paper\" d=\"m116 54 13-12-36-12-13 12z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 12v12m-6-6h12\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"56\" cy=\"20\" r=\"2.5\"></circle>\n <circle class=\"wu-es-accent-fill\" cx=\"106\" cy=\"16\" r=\"2\"></circle>\n </g>\n </svg>\n </ng-template>\n </ng-container>\n <p *ngIf=\"titleText\" class=\"wu-empty-state-title\">{{ titleText }}</p>\n <p *ngIf=\"descriptionText\" class=\"wu-empty-state-description\">{{ descriptionText }}</p>\n <div class=\"wu-empty-state-actions\"><ng-content></ng-content></div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuEmptyState } from './emptystate.component';\n\n/** For NgModule apps. Standalone apps can import `WuEmptyState` directly. */\n@NgModule({\n imports: [WuEmptyState],\n exports: [WuEmptyState],\n})\nexport class WuEmptyStateModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵrefreshOnTranslation","ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK"],"mappings":";;;;;AAQA,MAAM,KAAK,G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AA;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,OAAA,EAAA,CAHnB,YAAY,CAAA,EAAA,OAAA,EAAA,CACZ,YAAY,CAAA,EAAA,CAAA,CAAA;gHAEX,kBAAkB,EAAA,CAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA;;;ACPD;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"wirabyte-ui-emptystate.mjs","sources":["../../lib/emptystate/emptystate.component.ts","../../lib/emptystate/emptystate.component.html","../../lib/emptystate/emptystate.module.ts","../../lib/emptystate/wirabyte-ui-emptystate.ts"],"sourcesContent":["import { NgClass, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, Input, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { ɵassertSupportedAngular, ɵrefreshOnTranslation, ɵWU_SKIP_VERSION_CHECK, WuConfig } from '@wirabyte/ui/config';\nimport { WuEmptyStateType } from '@wirabyte/ui/core';\n\nexport type { WuEmptyStateType };\nexport type WuEmptyStateSize = 'small' | 'normal' | 'large';\n\nconst TYPES: readonly WuEmptyStateType[] = ['nodata', 'search', 'inbox', 'folder', 'error', 'offline'];\n\n/**\n * What a list, table or page shows when there is nothing in it:\n * `<wu-empty-state type=\"search\"><wu-button label=\"ล้างตัวกรอง\" (onClick)=\"clear()\"></wu-button></wu-empty-state>`.\n * A drawing per `type` (no data, nothing found, empty inbox, empty folder, failed load, offline) in the theme's colours,\n * a title and a line under it in the app's language (both replaceable), and whatever is inside the tag as actions.\n * `icon` or `image` replace the drawing; `size=\"small\"` fits inside a table's empty row.\n */\n@Component({\n selector: 'wu-empty-state, wu-emptyState, wu-empty',\n standalone: true,\n imports: [NgClass, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault],\n templateUrl: './emptystate.component.html',\n styleUrls: ['./emptystate.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n // `title` is an input here: keep it off the host so the whole block gets no browser tooltip.\n host: { class: 'wu-empty-state-host', '[attr.title]': 'null' },\n})\nexport class WuEmptyState implements OnDestroy {\n /** Which drawing and default text. Default `'nodata'`. */\n @Input() set type(v: WuEmptyStateType | string | null | undefined) {\n this._type = TYPES.includes(v as WuEmptyStateType) ? (v as WuEmptyStateType) : 'nodata';\n }\n get type(): WuEmptyStateType {\n return this._type;\n }\n /** The title. Default: the locale's title for `type`; `''` shows none. */\n @Input() title?: string | null;\n /** The line under the title. Default: the locale's line for `type`; `''` shows none. */\n @Input() description?: string | null;\n /** An icon class (`'wi wi-users'`) in a soft circle, instead of the drawing. */\n @Input() icon?: string | null;\n /** A picture of your own instead of the drawing. */\n @Input() image?: string | null;\n @Input() imageAlt?: string | null;\n /** `false` leaves out the drawing (and icon / image). */\n @Input() showImage: boolean | string | null | undefined = true;\n /** `'small'` for inside tables and cards, `'large'` for a whole page. */\n @Input() size: WuEmptyStateSize | null | undefined = 'normal';\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n\n private _type: WuEmptyStateType = 'nodata';\n private readonly config = inject(WuConfig);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.i18n.unsubscribe();\n }\n\n // ---------- what the template reads ----------\n\n get titleText(): string {\n return this.title ?? this.config.translation.emptyState?.[this._type]?.title ?? '';\n }\n get descriptionText(): string {\n return this.description ?? this.config.translation.emptyState?.[this._type]?.description ?? '';\n }\n get pictured(): boolean {\n return this.showImage !== false && this.showImage !== 'false';\n }\n get sizeClass(): string {\n return this.size === 'small' ? 'wu-empty-state-sm' : this.size === 'large' ? 'wu-empty-state-lg' : '';\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n}\n","<div\n class=\"wu-empty-state\"\n [ngClass]=\"sizeClass\"\n [class]=\"styleClass || ''\"\n [style]=\"rootStyle\"\n [attr.data-type]=\"type\"\n>\n <ng-container *ngIf=\"pictured\">\n <img *ngIf=\"image; else drawn\" class=\"wu-empty-state-image\" [src]=\"image\" [attr.alt]=\"imageAlt || ''\" />\n <ng-template #drawn>\n <span *ngIf=\"icon; else art\" class=\"wu-empty-state-icon\" aria-hidden=\"true\"><i [ngClass]=\"icon\"></i></span>\n </ng-template>\n <ng-template #art>\n <svg class=\"wu-empty-state-art\" viewBox=\"0 0 160 120\" aria-hidden=\"true\" focusable=\"false\" [ngSwitch]=\"type\">\n <g *ngSwitchCase=\"'search'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"44\" ry=\"6\"></ellipse>\n <rect class=\"wu-es-paper\" x=\"42\" y=\"16\" width=\"58\" height=\"76\" rx=\"7\"></rect>\n <path class=\"wu-es-line\" d=\"M53 32h30M53 43h36M53 54h22\"></path>\n <circle class=\"wu-es-lens\" cx=\"102\" cy=\"72\" r=\"17\"></circle>\n <path class=\"wu-es-accent wu-es-thick\" d=\"m114.5 84.5 12 12\"></path>\n <path class=\"wu-es-accent\" d=\"M97.5 67.5a4.5 4.5 0 1 1 6.5 4c-1.6.9-2.5 2-2.5 3.5\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"101.5\" cy=\"80\" r=\"1.6\"></circle>\n </g>\n <g *ngSwitchCase=\"'inbox'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M36 66 52 38h56l16 28v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-tray\" d=\"M36 66h24l5 9h30l5-9h24v26a6 6 0 0 1-6 6H42a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 10v20m-8-8 8 8 8-8\"></path>\n </g>\n <g *ngSwitchCase=\"'folder'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"50\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M34 34a6 6 0 0 1 6-6h24l8 9h48a6 6 0 0 1 6 6v49a6 6 0 0 1-6 6H40a6 6 0 0 1-6-6z\"></path>\n <path class=\"wu-es-line\" d=\"M34 48h92\"></path>\n <circle class=\"wu-es-soft\" cx=\"80\" cy=\"72\" r=\"13\"></circle>\n <path class=\"wu-es-accent\" d=\"M80 66v12m-6-6h12\"></path>\n </g>\n <g *ngSwitchCase=\"'error'\">\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"104\" rx=\"46\" ry=\"6\"></ellipse>\n <path class=\"wu-es-paper\" d=\"M50 90h62a19 19 0 0 0 1.5-37.9A26 26 0 0 0 63 48.5 21 21 0 0 0 50 90z\"></path>\n <path class=\"wu-es-danger\" d=\"m72 62 16 16m0-16-16 16\"></path>\n </g>\n <g *ngSwitchCase=\"'offline'\">\n <circle class=\"wu-es-bg\" cx=\"80\" cy=\"64\" r=\"44\"></circle>\n <path class=\"wu-es-line\" d=\"M54.5 58.5a36 36 0 0 1 51 0M63 67a24 24 0 0 1 34 0M71.5 75.5a12 12 0 0 1 17 0\"></path>\n <circle class=\"wu-es-line-fill\" cx=\"80\" cy=\"84\" r=\"3.5\"></circle>\n <path class=\"wu-es-danger\" d=\"m52 40 56 58\"></path>\n </g>\n <g *ngSwitchDefault>\n <ellipse class=\"wu-es-bg\" cx=\"80\" cy=\"102\" rx=\"50\" ry=\"7\"></ellipse>\n <path class=\"wu-es-soft\" d=\"M44 54 80 42l36 12-36 12z\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54v36l36 12 36-12V54L80 66z\"></path>\n <path class=\"wu-es-line\" d=\"M80 66v36\"></path>\n <path class=\"wu-es-paper\" d=\"M44 54 31 42l36-12 13 12z\"></path>\n <path class=\"wu-es-paper\" d=\"m116 54 13-12-36-12-13 12z\"></path>\n <path class=\"wu-es-accent\" d=\"M80 12v12m-6-6h12\"></path>\n <circle class=\"wu-es-accent-fill\" cx=\"56\" cy=\"20\" r=\"2.5\"></circle>\n <circle class=\"wu-es-accent-fill\" cx=\"106\" cy=\"16\" r=\"2\"></circle>\n </g>\n </svg>\n </ng-template>\n </ng-container>\n <p *ngIf=\"titleText\" class=\"wu-empty-state-title\">{{ titleText }}</p>\n <p *ngIf=\"descriptionText\" class=\"wu-empty-state-description\">{{ descriptionText }}</p>\n <div class=\"wu-empty-state-actions\"><ng-content></ng-content></div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuEmptyState } from './emptystate.component';\n\n/** For NgModule apps. Standalone apps can import `WuEmptyState` directly. */\n@NgModule({\n imports: [WuEmptyState],\n exports: [WuEmptyState],\n})\nexport class WuEmptyStateModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵrefreshOnTranslation","ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK"],"mappings":";;;;;AAQA,MAAM,KAAK,GAAgC,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAEtG;;;;;;AAMG;MAYU,YAAY,CAAA;;IAEvB,IAAa,IAAI,CAAC,CAA+C,EAAA;AAC/D,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAqB,CAAC,GAAI,CAAsB,GAAG,QAAQ;IACzF;AACA,IAAA,IAAI,IAAI,GAAA;QACN,OAAO,IAAI,CAAC,KAAK;IACnB;A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: "
|
|
132
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WuErrorPage, isStandalone: true, selector: "wu-error-page, wu-errorPage", inputs: { code: "code", look: "look", title: "title", description: "description", reference: "reference", actions: "actions", homeLink: "homeLink", signInLink: "signInLink", fullPage: "fullPage", headingLevel: "headingLevel", styleClass: "styleClass", style: "style" }, outputs: { action: "action" }, host: { properties: { "attr.title": "null" }, classAttribute: "wu-error-page-host" }, ngImport: i0, template: "<div\n class=\"wu-error-page\"\n [class]=\"styleClass || ''\"\n [class.wu-error-page-kawaii]=\"kawaii\"\n [class.wu-error-page-formal]=\"!kawaii\"\n [class.wu-error-page-full]=\"fullPage\"\n [style]=\"rootStyle\"\n [attr.data-code]=\"code\"\n [attr.data-kind]=\"kind\"\n>\n <div class=\"wu-ep-art\" aria-hidden=\"true\">\n <ng-container *ngIf=\"!kawaii; else cute\">\n <span class=\"wu-ep-badge\">\n <svg viewBox=\"0 0 24 24\" focusable=\"false\"><path [attr.d]=\"icon\"></path></svg>\n </span>\n <span class=\"wu-ep-label\">{{ words.error }}</span>\n <span class=\"wu-ep-code\">{{ code }}</span>\n </ng-container>\n <ng-template #cute>\n <svg class=\"wu-ep-mascot\" viewBox=\"0 0 260 220\" focusable=\"false\">\n <path class=\"wu-ep-k-blob\" d=\"M44 118C38 62 86 24 138 28s94 42 88 96-50 76-100 74S50 172 44 118Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M44 43Q44 52 53 52Q44 52 44 61Q44 52 35 52Q44 52 44 43Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M222 143Q222 150 229 150Q222 150 222 157Q222 150 215 150Q222 150 222 143Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-3\" d=\"M210 32Q210 38 216 38Q210 38 210 44Q210 38 204 38Q210 38 210 32Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M34 162Q34 168 40 168Q34 168 34 174Q34 168 28 168Q34 168 34 162Z\"></path>\n <ellipse class=\"wu-ep-k-shadow\" cx=\"130\" cy=\"204\" rx=\"58\" ry=\"7\"></ellipse>\n <g class=\"wu-ep-k-bob\">\n <path class=\"wu-ep-k-body\" d=\"M88 96 92 64 116 84ZM172 96 168 64 144 84Z\"></path>\n <path class=\"wu-ep-k-blush\" d=\"M95 88 97 72 109 83ZM165 88 163 72 151 83Z\"></path>\n <path class=\"wu-ep-k-body\" d=\"M66 150C66 104 96 76 130 76s64 28 64 74c0 26-28 36-64 36s-64-10-64-36Z\"></path>\n <ellipse class=\"wu-ep-k-blush\" cx=\"100\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ellipse class=\"wu-ep-k-blush\" cx=\"160\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\">\n <path d=\"M110 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n <path d=\"M150 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'time'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-line\">\n <path d=\"M104 112l9 6-9 6M156 112l-9 6 9 6\"></path>\n </g>\n <g *ngSwitchDefault class=\"wu-ep-k-eyes\">\n <circle class=\"wu-ep-k-ink\" cx=\"110\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-ink\" cx=\"150\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"112.5\" cy=\"115.5\" r=\"2.2\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"152.5\" cy=\"115.5\" r=\"2.2\"></circle>\n </g>\n </ng-container>\n <ng-container [ngSwitch]=\"kind\">\n <circle *ngSwitchCase=\"'missing'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"4\"></circle>\n <circle *ngSwitchCase=\"'time'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"3.5\"></circle>\n <path *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'gateway'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'forbidden'\" class=\"wu-ep-k-line\" d=\"M123 137h14\"></path>\n <path *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-ink\" d=\"M123 133q7 12 14 0Z\"></path>\n <path *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\" d=\"M125 136q5 4 10 0\"></path>\n <path *ngSwitchDefault class=\"wu-ep-k-line\" d=\"M122 134q4 5 8 0q4 5 8 0\"></path>\n </ng-container>\n <rect class=\"wu-ep-k-sign\" x=\"90\" y=\"146\" width=\"80\" height=\"40\" rx=\"12\"></rect>\n <text class=\"wu-ep-k-code\" x=\"130\" y=\"174\" text-anchor=\"middle\">{{ code }}</text>\n <circle class=\"wu-ep-k-body\" cx=\"92\" cy=\"158\" r=\"8\"></circle>\n <circle class=\"wu-ep-k-body\" cx=\"168\" cy=\"158\" r=\"8\"></circle>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'missing'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">?</text>\n </g>\n <g *ngSwitchCase=\"'request'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">!</text>\n </g>\n <g *ngSwitchCase=\"'auth'\">\n <rect class=\"wu-ep-k-bubble\" x=\"186\" y=\"58\" width=\"38\" height=\"28\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-blush\" cx=\"197\" cy=\"69\" r=\"4.5\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 67h12M206 75h8\"></path>\n </g>\n <g *ngSwitchCase=\"'forbidden'\">\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M101 105l14 5M159 105l-14 5\"></path>\n <path class=\"wu-ep-k-line\" d=\"M198 74v-6a8 8 0 0 1 16 0v6\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"191\" y=\"72\" width=\"30\" height=\"24\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-shine\" cx=\"206\" cy=\"83\" r=\"3.2\"></circle>\n </g>\n <g *ngSwitchCase=\"'time'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"70\" r=\"17\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 70v-9M206 70l6 4\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\">\n <path class=\"wu-ep-k-drop\" d=\"M188 86c4 6 6 9 6 12a6 6 0 0 1-12 0c0-3 2-6 6-12Z\"></path>\n <path class=\"wu-ep-k-drop wu-ep-k-drop-2\" d=\"M70 98c3 4.5 4.5 7 4.5 9a4.5 4.5 0 0 1-9 0c0-2 1.5-4.5 4.5-9Z\"></path>\n </g>\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-orbit\">\n <path class=\"wu-ep-k-spark\" d=\"M98 56Q98 62 104 62Q98 62 98 68Q98 62 92 62Q98 62 98 56Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M162 52Q162 58 168 58Q162 58 162 64Q162 58 156 58Q162 58 162 52Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M130 40Q130 45 135 45Q130 45 130 50Q130 45 125 45Q130 45 130 40Z\"></path>\n </g>\n <g *ngSwitchCase=\"'gateway'\">\n <path class=\"wu-ep-k-line\" d=\"M176 156c22-4 26-34 20-52\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"186\" y=\"86\" width=\"22\" height=\"18\" rx=\"5\"></rect>\n <path class=\"wu-ep-k-line\" d=\"M192 86v-8M202 86v-8\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-snore\">\n <text class=\"wu-ep-k-mark\" x=\"196\" y=\"78\">Z</text>\n <text class=\"wu-ep-k-mark wu-ep-k-small\" x=\"214\" y=\"58\">z</text>\n </g>\n </ng-container>\n </g>\n </svg>\n </ng-template>\n </div>\n <div class=\"wu-ep-title\" role=\"heading\" [attr.aria-level]=\"headingLevel\">{{ titleText }}</div>\n <p *ngIf=\"descriptionText\" class=\"wu-ep-description\">{{ descriptionText }}</p>\n <div class=\"wu-ep-actions\">\n <ng-container *ngFor=\"let b of buttons; let first = first\">\n <a *ngIf=\"b.href !== null; else plain\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.href]=\"b.href\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</a>\n <ng-template #plain>\n <button type=\"button\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</button>\n </ng-template>\n </ng-container>\n <ng-content select=\"[wuErrorAction]\"></ng-content>\n </div>\n <p *ngIf=\"reference\" class=\"wu-ep-reference\">\n {{ words.reference }} <code>{{ reference }}</code>\n </p>\n <div class=\"wu-ep-content\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{wu-error-page,wu-errorPage{display:block}.wu-error-page{display:flex;flex-direction:column;align-items:center;gap:var(--wu-error-page-gap);padding:var(--wu-error-page-padding);text-align:center;font-family:var(--wu-font-family)}.wu-error-page-full{box-sizing:border-box;justify-content:center;min-height:100vh;min-height:100dvh}.wu-ep-art{display:flex;flex-direction:column;align-items:center;margin-bottom:.5rem}.wu-ep-badge{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-error-page-badge-size);height:var(--wu-error-page-badge-size);margin-bottom:1rem;border-radius:var(--wu-radius-lg);background:var(--wu-error-page-badge-bg);color:var(--wu-error-page-badge-color)}.wu-ep-badge svg{width:55%;height:55%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wu-ep-label{color:var(--wu-error-page-label-color);font-size:.8125rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.wu-ep-code{background:linear-gradient(180deg,var(--wu-error-page-code-from),var(--wu-error-page-code-to));-webkit-background-clip:text;background-clip:text;color:transparent;font-size:var(--wu-error-page-code-size);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1}.wu-ep-mascot{display:block;width:var(--wu-error-page-mascot-width);max-width:100%;height:auto;overflow:visible}.wu-ep-k-blob{fill:var(--wu-error-page-k-blob)}.wu-ep-k-spark{fill:var(--wu-error-page-k-spark);transform-box:fill-box;transform-origin:center;animation:wu-ep-twinkle 2.4s ease-in-out infinite}.wu-ep-k-spark-2{animation-delay:.8s}.wu-ep-k-spark-3{animation-delay:1.6s}.wu-ep-k-shadow{fill:var(--wu-error-page-k-ink);opacity:.12;transform-box:fill-box;transform-origin:center;animation:wu-ep-shadow 3s ease-in-out infinite}.wu-ep-k-bob{animation:wu-ep-bob 3s ease-in-out infinite}.wu-ep-k-body,.wu-ep-k-bubble{fill:var(--wu-error-page-k-body);stroke:var(--wu-error-page-k-ink);stroke-width:3.5;stroke-linejoin:round}.wu-ep-k-bubble{stroke-width:3}.wu-ep-k-blush{fill:var(--wu-error-page-k-blush)}.wu-ep-k-ink{fill:var(--wu-error-page-k-ink)}.wu-ep-k-shine{fill:#fff}.wu-ep-k-line{fill:none;stroke:var(--wu-error-page-k-ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.wu-ep-k-thin{stroke-width:2.5}.wu-ep-k-eyes{transform-box:fill-box;transform-origin:center;animation:wu-ep-blink 4.5s infinite}.wu-ep-k-sign{fill:var(--wu-error-page-k-sign)}.wu-ep-k-outline{stroke:var(--wu-error-page-k-ink);stroke-width:3}.wu-ep-k-code{fill:var(--wu-error-page-k-sign-text);font-family:var(--wu-font-family);font-size:25px;font-weight:800;letter-spacing:.02em}.wu-ep-k-mark{fill:var(--wu-error-page-k-sign);font-family:var(--wu-font-family);font-size:22px;font-weight:800}.wu-ep-k-small{font-size:15px}.wu-ep-k-drop{fill:var(--wu-error-page-k-drop);stroke:var(--wu-error-page-k-ink);stroke-width:2;animation:wu-ep-drip 1.6s ease-in infinite}.wu-ep-k-drop-2{animation-delay:.6s}.wu-ep-k-orbit{transform-box:view-box;transform-origin:130px 56px;animation:wu-ep-orbit 3.2s linear infinite}.wu-ep-k-snore{animation:wu-ep-snore 2.6s ease-in-out infinite}@keyframes wu-ep-bob{50%{transform:translateY(-5px)}}@keyframes wu-ep-shadow{50%{transform:scaleX(.86);opacity:.08}}@keyframes wu-ep-blink{0%,92%,to{transform:scaleY(1)}95%{transform:scaleY(.1)}}@keyframes wu-ep-twinkle{50%{transform:scale(.55) rotate(20deg);opacity:.55}}@keyframes wu-ep-drip{0%{transform:translateY(-3px);opacity:0}30%{opacity:1}to{transform:translateY(8px);opacity:0}}@keyframes wu-ep-orbit{to{transform:rotate(360deg)}}@keyframes wu-ep-snore{50%{transform:translate(4px,-5px);opacity:.6}}.wu-ep-title{margin:0;color:var(--wu-error-page-title-color);font-size:var(--wu-error-page-title-size);font-weight:var(--wu-error-page-title-weight);line-height:var(--wu-line-height)}.wu-ep-description{margin:0;max-width:34rem;color:var(--wu-error-page-description-color);line-height:var(--wu-line-height)}.wu-ep-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem}.wu-ep-actions:empty{display:none}.wu-ep-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.5rem 1.125rem;border:1px solid var(--wu-error-page-button-border);border-radius:var(--wu-error-page-button-radius);background:var(--wu-error-page-button-bg);color:var(--wu-error-page-button-color);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background var(--wu-transition),border-color var(--wu-transition),transform var(--wu-transition)}.wu-ep-button:hover{background:var(--wu-hover-bg)}.wu-ep-button-main{border-color:var(--wu-primary-color);background:var(--wu-primary-color);color:var(--wu-primary-contrast)}.wu-ep-button-main:hover{background:var(--wu-primary-hover);border-color:var(--wu-primary-hover)}.wu-ep-button:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-error-page-kawaii .wu-ep-button{border-radius:999px;box-shadow:0 3px 0 var(--wu-error-page-button-border)}.wu-error-page-kawaii .wu-ep-button-main{box-shadow:0 3px 0 var(--wu-error-page-k-button-shadow)}.wu-error-page-kawaii .wu-ep-button:active{transform:translateY(2px);box-shadow:none}.wu-ep-reference{margin:.5rem 0 0;color:var(--wu-error-page-description-color);font-size:.8125rem}.wu-ep-reference code{padding:.125rem .375rem;border-radius:var(--wu-radius-sm);background:var(--wu-hover-bg);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;-webkit-user-select:all;user-select:all}.wu-ep-content{box-sizing:border-box;width:100%;max-width:36rem;margin-top:1rem;padding:1rem 1.25rem;border-radius:var(--wu-radius-md);background:var(--wu-hover-bg);text-align:start}.wu-ep-content:empty{display:none}@media (prefers-reduced-motion: reduce){.wu-ep-k-spark,.wu-ep-k-shadow,.wu-ep-k-bob,.wu-ep-k-eyes,.wu-ep-k-drop,.wu-ep-k-orbit,.wu-ep-k-snore{animation:none}}}\n"], dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuErrorPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
132
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.25", type: WuErrorPage, isStandalone: true, selector: "wu-error-page, wu-errorPage", inputs: { code: "code", look: "look", title: "title", description: "description", reference: "reference", actions: "actions", homeLink: "homeLink", signInLink: "signInLink", fullPage: "fullPage", headingLevel: "headingLevel", styleClass: "styleClass", style: "style" }, outputs: { action: "action" }, host: { properties: { "attr.title": "null" }, classAttribute: "wu-error-page-host" }, ngImport: i0, template: "<div\n class=\"wu-error-page\"\n [class]=\"styleClass || ''\"\n [class.wu-error-page-kawaii]=\"kawaii\"\n [class.wu-error-page-formal]=\"!kawaii\"\n [class.wu-error-page-full]=\"fullPage\"\n [style]=\"rootStyle\"\n [attr.data-code]=\"code\"\n [attr.data-kind]=\"kind\"\n>\n <div class=\"wu-ep-art\" aria-hidden=\"true\">\n <ng-container *ngIf=\"!kawaii; else cute\">\n <span class=\"wu-ep-badge\">\n <svg viewBox=\"0 0 24 24\" focusable=\"false\"><path [attr.d]=\"icon\"></path></svg>\n </span>\n <span class=\"wu-ep-label\">{{ words.error }}</span>\n <span class=\"wu-ep-code\">{{ code }}</span>\n </ng-container>\n <ng-template #cute>\n <svg class=\"wu-ep-mascot\" viewBox=\"0 0 260 220\" focusable=\"false\">\n <path class=\"wu-ep-k-blob\" d=\"M44 118C38 62 86 24 138 28s94 42 88 96-50 76-100 74S50 172 44 118Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M44 43Q44 52 53 52Q44 52 44 61Q44 52 35 52Q44 52 44 43Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M222 143Q222 150 229 150Q222 150 222 157Q222 150 215 150Q222 150 222 143Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-3\" d=\"M210 32Q210 38 216 38Q210 38 210 44Q210 38 204 38Q210 38 210 32Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M34 162Q34 168 40 168Q34 168 34 174Q34 168 28 168Q34 168 34 162Z\"></path>\n <ellipse class=\"wu-ep-k-shadow\" cx=\"130\" cy=\"204\" rx=\"58\" ry=\"7\"></ellipse>\n <g class=\"wu-ep-k-bob\">\n <path class=\"wu-ep-k-body\" d=\"M88 96 92 64 116 84ZM172 96 168 64 144 84Z\"></path>\n <path class=\"wu-ep-k-blush\" d=\"M95 88 97 72 109 83ZM165 88 163 72 151 83Z\"></path>\n <path class=\"wu-ep-k-body\" d=\"M66 150C66 104 96 76 130 76s64 28 64 74c0 26-28 36-64 36s-64-10-64-36Z\"></path>\n <ellipse class=\"wu-ep-k-blush\" cx=\"100\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ellipse class=\"wu-ep-k-blush\" cx=\"160\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\">\n <path d=\"M110 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n <path d=\"M150 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'time'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-line\">\n <path d=\"M104 112l9 6-9 6M156 112l-9 6 9 6\"></path>\n </g>\n <g *ngSwitchDefault class=\"wu-ep-k-eyes\">\n <circle class=\"wu-ep-k-ink\" cx=\"110\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-ink\" cx=\"150\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"112.5\" cy=\"115.5\" r=\"2.2\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"152.5\" cy=\"115.5\" r=\"2.2\"></circle>\n </g>\n </ng-container>\n <ng-container [ngSwitch]=\"kind\">\n <circle *ngSwitchCase=\"'missing'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"4\"></circle>\n <circle *ngSwitchCase=\"'time'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"3.5\"></circle>\n <path *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'gateway'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'forbidden'\" class=\"wu-ep-k-line\" d=\"M123 137h14\"></path>\n <path *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-ink\" d=\"M123 133q7 12 14 0Z\"></path>\n <path *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\" d=\"M125 136q5 4 10 0\"></path>\n <path *ngSwitchDefault class=\"wu-ep-k-line\" d=\"M122 134q4 5 8 0q4 5 8 0\"></path>\n </ng-container>\n <rect class=\"wu-ep-k-sign\" x=\"90\" y=\"146\" width=\"80\" height=\"40\" rx=\"12\"></rect>\n <text class=\"wu-ep-k-code\" x=\"130\" y=\"174\" text-anchor=\"middle\">{{ code }}</text>\n <circle class=\"wu-ep-k-body\" cx=\"92\" cy=\"158\" r=\"8\"></circle>\n <circle class=\"wu-ep-k-body\" cx=\"168\" cy=\"158\" r=\"8\"></circle>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'missing'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">?</text>\n </g>\n <g *ngSwitchCase=\"'request'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">!</text>\n </g>\n <g *ngSwitchCase=\"'auth'\">\n <rect class=\"wu-ep-k-bubble\" x=\"186\" y=\"58\" width=\"38\" height=\"28\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-blush\" cx=\"197\" cy=\"69\" r=\"4.5\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 67h12M206 75h8\"></path>\n </g>\n <g *ngSwitchCase=\"'forbidden'\">\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M101 105l14 5M159 105l-14 5\"></path>\n <path class=\"wu-ep-k-line\" d=\"M198 74v-6a8 8 0 0 1 16 0v6\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"191\" y=\"72\" width=\"30\" height=\"24\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-shine\" cx=\"206\" cy=\"83\" r=\"3.2\"></circle>\n </g>\n <g *ngSwitchCase=\"'time'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"70\" r=\"17\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 70v-9M206 70l6 4\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\">\n <path class=\"wu-ep-k-drop\" d=\"M188 86c4 6 6 9 6 12a6 6 0 0 1-12 0c0-3 2-6 6-12Z\"></path>\n <path class=\"wu-ep-k-drop wu-ep-k-drop-2\" d=\"M70 98c3 4.5 4.5 7 4.5 9a4.5 4.5 0 0 1-9 0c0-2 1.5-4.5 4.5-9Z\"></path>\n </g>\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-orbit\">\n <path class=\"wu-ep-k-spark\" d=\"M98 56Q98 62 104 62Q98 62 98 68Q98 62 92 62Q98 62 98 56Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M162 52Q162 58 168 58Q162 58 162 64Q162 58 156 58Q162 58 162 52Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M130 40Q130 45 135 45Q130 45 130 50Q130 45 125 45Q130 45 130 40Z\"></path>\n </g>\n <g *ngSwitchCase=\"'gateway'\">\n <path class=\"wu-ep-k-line\" d=\"M176 156c22-4 26-34 20-52\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"186\" y=\"86\" width=\"22\" height=\"18\" rx=\"5\"></rect>\n <path class=\"wu-ep-k-line\" d=\"M192 86v-8M202 86v-8\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-snore\">\n <text class=\"wu-ep-k-mark\" x=\"196\" y=\"78\">Z</text>\n <text class=\"wu-ep-k-mark wu-ep-k-small\" x=\"214\" y=\"58\">z</text>\n </g>\n </ng-container>\n </g>\n </svg>\n </ng-template>\n </div>\n <div class=\"wu-ep-title\" role=\"heading\" [attr.aria-level]=\"headingLevel\">{{ titleText }}</div>\n <p *ngIf=\"descriptionText\" class=\"wu-ep-description\">{{ descriptionText }}</p>\n <div class=\"wu-ep-actions\">\n <ng-container *ngFor=\"let b of buttons; let first = first\">\n <a *ngIf=\"b.href !== null; else plain\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.href]=\"b.href\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</a>\n <ng-template #plain>\n <button type=\"button\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</button>\n </ng-template>\n </ng-container>\n <ng-content select=\"[wuErrorAction]\"></ng-content>\n </div>\n <p *ngIf=\"reference\" class=\"wu-ep-reference\">\n {{ words.reference }} <code>{{ reference }}</code>\n </p>\n <div class=\"wu-ep-content\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{wu-error-page,wu-errorPage{display:block}.wu-error-page{display:flex;flex-direction:column;align-items:center;gap:var(--wu-error-page-gap);padding:var(--wu-error-page-padding);text-align:center;font-family:var(--wu-font-family)}.wu-error-page-full{box-sizing:border-box;justify-content:center;min-height:100vh;min-height:100dvh}.wu-ep-art{display:flex;flex-direction:column;align-items:center;margin-bottom:.5rem}.wu-ep-badge{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-error-page-badge-size);height:var(--wu-error-page-badge-size);margin-bottom:1rem;border-radius:var(--wu-radius-lg);background:var(--wu-error-page-badge-bg);color:var(--wu-error-page-badge-color)}.wu-ep-badge svg{width:55%;height:55%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wu-ep-label{color:var(--wu-error-page-label-color);font-size:.8125rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.wu-ep-code{background:linear-gradient(180deg,var(--wu-error-page-code-from),var(--wu-error-page-code-to));-webkit-background-clip:text;background-clip:text;color:transparent;font-size:var(--wu-error-page-code-size);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1}.wu-ep-mascot{display:block;width:var(--wu-error-page-mascot-width);max-width:100%;height:auto;overflow:visible}.wu-ep-k-blob{fill:var(--wu-error-page-k-blob)}.wu-ep-k-spark{fill:var(--wu-error-page-k-spark);transform-box:fill-box;transform-origin:center;animation:wu-ep-twinkle 2.4s ease-in-out infinite}.wu-ep-k-spark-2{animation-delay:.8s}.wu-ep-k-spark-3{animation-delay:1.6s}.wu-ep-k-shadow{fill:var(--wu-error-page-k-ink);opacity:.12;transform-box:fill-box;transform-origin:center;animation:wu-ep-shadow 3s ease-in-out infinite}.wu-ep-k-bob{animation:wu-ep-bob 3s ease-in-out infinite}.wu-ep-k-body,.wu-ep-k-bubble{fill:var(--wu-error-page-k-body);stroke:var(--wu-error-page-k-ink);stroke-width:3.5;stroke-linejoin:round}.wu-ep-k-bubble{stroke-width:3}.wu-ep-k-blush{fill:var(--wu-error-page-k-blush)}.wu-ep-k-ink{fill:var(--wu-error-page-k-ink)}.wu-ep-k-shine{fill:#fff}.wu-ep-k-line{fill:none;stroke:var(--wu-error-page-k-ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.wu-ep-k-thin{stroke-width:2.5}.wu-ep-k-eyes{transform-box:fill-box;transform-origin:center;animation:wu-ep-blink 4.5s infinite}.wu-ep-k-sign{fill:var(--wu-error-page-k-sign)}.wu-ep-k-outline{stroke:var(--wu-error-page-k-ink);stroke-width:3}.wu-ep-k-code{fill:var(--wu-error-page-k-sign-text);font-family:var(--wu-font-family);font-size:25px;font-weight:800;letter-spacing:.02em}.wu-ep-k-mark{fill:var(--wu-error-page-k-sign);font-family:var(--wu-font-family);font-size:22px;font-weight:800}.wu-ep-k-small{font-size:15px}.wu-ep-k-drop{fill:var(--wu-error-page-k-drop);stroke:var(--wu-error-page-k-ink);stroke-width:2;animation:wu-ep-drip 1.6s ease-in infinite}.wu-ep-k-drop-2{animation-delay:.6s}.wu-ep-k-orbit{transform-box:view-box;transform-origin:130px 56px;animation:wu-ep-orbit 3.2s linear infinite}.wu-ep-k-snore{animation:wu-ep-snore 2.6s ease-in-out infinite}@keyframes wu-ep-bob{50%{transform:translateY(-5px)}}@keyframes wu-ep-shadow{50%{transform:scaleX(.86);opacity:.08}}@keyframes wu-ep-blink{0%,92%,to{transform:scaleY(1)}95%{transform:scaleY(.1)}}@keyframes wu-ep-twinkle{50%{transform:scale(.55) rotate(20deg);opacity:.55}}@keyframes wu-ep-drip{0%{transform:translateY(-3px);opacity:0}30%{opacity:1}to{transform:translateY(8px);opacity:0}}@keyframes wu-ep-orbit{to{transform:rotate(360deg)}}@keyframes wu-ep-snore{50%{transform:translate(4px,-5px);opacity:.6}}.wu-ep-title{font-family:var(--wu-heading-font-family);margin:0;color:var(--wu-error-page-title-color);font-size:var(--wu-error-page-title-size);font-weight:var(--wu-error-page-title-weight);line-height:var(--wu-line-height)}.wu-ep-description{margin:0;max-width:34rem;color:var(--wu-error-page-description-color);line-height:var(--wu-line-height)}.wu-ep-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem}.wu-ep-actions:empty{display:none}.wu-ep-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.5rem 1.125rem;border:1px solid var(--wu-error-page-button-border);border-radius:var(--wu-error-page-button-radius);background:var(--wu-error-page-button-bg);color:var(--wu-error-page-button-color);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background var(--wu-transition),border-color var(--wu-transition),transform var(--wu-transition)}.wu-ep-button:hover{background:var(--wu-hover-bg)}.wu-ep-button-main{border-color:var(--wu-primary-color);background:var(--wu-primary-color);color:var(--wu-primary-contrast)}.wu-ep-button-main:hover{background:var(--wu-primary-hover);border-color:var(--wu-primary-hover)}.wu-ep-button:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-error-page-kawaii .wu-ep-button{border-radius:999px;box-shadow:0 3px 0 var(--wu-error-page-button-border)}.wu-error-page-kawaii .wu-ep-button-main{box-shadow:0 3px 0 var(--wu-error-page-k-button-shadow)}.wu-error-page-kawaii .wu-ep-button:active{transform:translateY(2px);box-shadow:none}.wu-ep-reference{margin:.5rem 0 0;color:var(--wu-error-page-description-color);font-size:.8125rem}.wu-ep-reference code{padding:.125rem .375rem;border-radius:var(--wu-radius-sm);background:var(--wu-hover-bg);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;-webkit-user-select:all;user-select:all}.wu-ep-content{box-sizing:border-box;width:100%;max-width:36rem;margin-top:1rem;padding:1rem 1.25rem;border-radius:var(--wu-radius-md);background:var(--wu-hover-bg);text-align:start}.wu-ep-content:empty{display:none}@media(prefers-reduced-motion:reduce){.wu-ep-k-spark,.wu-ep-k-shadow,.wu-ep-k-bob,.wu-ep-k-eyes,.wu-ep-k-drop,.wu-ep-k-orbit,.wu-ep-k-snore{animation:none}}}\n"], dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuErrorPage, decorators: [{
|
|
135
135
|
type: Component,
|
|
136
|
-
args: [{ selector: 'wu-error-page, wu-errorPage', standalone: true, imports: [NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'wu-error-page-host', '[attr.title]': 'null' }, template: "<div\n class=\"wu-error-page\"\n [class]=\"styleClass || ''\"\n [class.wu-error-page-kawaii]=\"kawaii\"\n [class.wu-error-page-formal]=\"!kawaii\"\n [class.wu-error-page-full]=\"fullPage\"\n [style]=\"rootStyle\"\n [attr.data-code]=\"code\"\n [attr.data-kind]=\"kind\"\n>\n <div class=\"wu-ep-art\" aria-hidden=\"true\">\n <ng-container *ngIf=\"!kawaii; else cute\">\n <span class=\"wu-ep-badge\">\n <svg viewBox=\"0 0 24 24\" focusable=\"false\"><path [attr.d]=\"icon\"></path></svg>\n </span>\n <span class=\"wu-ep-label\">{{ words.error }}</span>\n <span class=\"wu-ep-code\">{{ code }}</span>\n </ng-container>\n <ng-template #cute>\n <svg class=\"wu-ep-mascot\" viewBox=\"0 0 260 220\" focusable=\"false\">\n <path class=\"wu-ep-k-blob\" d=\"M44 118C38 62 86 24 138 28s94 42 88 96-50 76-100 74S50 172 44 118Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M44 43Q44 52 53 52Q44 52 44 61Q44 52 35 52Q44 52 44 43Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M222 143Q222 150 229 150Q222 150 222 157Q222 150 215 150Q222 150 222 143Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-3\" d=\"M210 32Q210 38 216 38Q210 38 210 44Q210 38 204 38Q210 38 210 32Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M34 162Q34 168 40 168Q34 168 34 174Q34 168 28 168Q34 168 34 162Z\"></path>\n <ellipse class=\"wu-ep-k-shadow\" cx=\"130\" cy=\"204\" rx=\"58\" ry=\"7\"></ellipse>\n <g class=\"wu-ep-k-bob\">\n <path class=\"wu-ep-k-body\" d=\"M88 96 92 64 116 84ZM172 96 168 64 144 84Z\"></path>\n <path class=\"wu-ep-k-blush\" d=\"M95 88 97 72 109 83ZM165 88 163 72 151 83Z\"></path>\n <path class=\"wu-ep-k-body\" d=\"M66 150C66 104 96 76 130 76s64 28 64 74c0 26-28 36-64 36s-64-10-64-36Z\"></path>\n <ellipse class=\"wu-ep-k-blush\" cx=\"100\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ellipse class=\"wu-ep-k-blush\" cx=\"160\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\">\n <path d=\"M110 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n <path d=\"M150 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'time'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-line\">\n <path d=\"M104 112l9 6-9 6M156 112l-9 6 9 6\"></path>\n </g>\n <g *ngSwitchDefault class=\"wu-ep-k-eyes\">\n <circle class=\"wu-ep-k-ink\" cx=\"110\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-ink\" cx=\"150\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"112.5\" cy=\"115.5\" r=\"2.2\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"152.5\" cy=\"115.5\" r=\"2.2\"></circle>\n </g>\n </ng-container>\n <ng-container [ngSwitch]=\"kind\">\n <circle *ngSwitchCase=\"'missing'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"4\"></circle>\n <circle *ngSwitchCase=\"'time'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"3.5\"></circle>\n <path *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'gateway'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'forbidden'\" class=\"wu-ep-k-line\" d=\"M123 137h14\"></path>\n <path *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-ink\" d=\"M123 133q7 12 14 0Z\"></path>\n <path *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\" d=\"M125 136q5 4 10 0\"></path>\n <path *ngSwitchDefault class=\"wu-ep-k-line\" d=\"M122 134q4 5 8 0q4 5 8 0\"></path>\n </ng-container>\n <rect class=\"wu-ep-k-sign\" x=\"90\" y=\"146\" width=\"80\" height=\"40\" rx=\"12\"></rect>\n <text class=\"wu-ep-k-code\" x=\"130\" y=\"174\" text-anchor=\"middle\">{{ code }}</text>\n <circle class=\"wu-ep-k-body\" cx=\"92\" cy=\"158\" r=\"8\"></circle>\n <circle class=\"wu-ep-k-body\" cx=\"168\" cy=\"158\" r=\"8\"></circle>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'missing'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">?</text>\n </g>\n <g *ngSwitchCase=\"'request'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">!</text>\n </g>\n <g *ngSwitchCase=\"'auth'\">\n <rect class=\"wu-ep-k-bubble\" x=\"186\" y=\"58\" width=\"38\" height=\"28\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-blush\" cx=\"197\" cy=\"69\" r=\"4.5\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 67h12M206 75h8\"></path>\n </g>\n <g *ngSwitchCase=\"'forbidden'\">\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M101 105l14 5M159 105l-14 5\"></path>\n <path class=\"wu-ep-k-line\" d=\"M198 74v-6a8 8 0 0 1 16 0v6\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"191\" y=\"72\" width=\"30\" height=\"24\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-shine\" cx=\"206\" cy=\"83\" r=\"3.2\"></circle>\n </g>\n <g *ngSwitchCase=\"'time'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"70\" r=\"17\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 70v-9M206 70l6 4\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\">\n <path class=\"wu-ep-k-drop\" d=\"M188 86c4 6 6 9 6 12a6 6 0 0 1-12 0c0-3 2-6 6-12Z\"></path>\n <path class=\"wu-ep-k-drop wu-ep-k-drop-2\" d=\"M70 98c3 4.5 4.5 7 4.5 9a4.5 4.5 0 0 1-9 0c0-2 1.5-4.5 4.5-9Z\"></path>\n </g>\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-orbit\">\n <path class=\"wu-ep-k-spark\" d=\"M98 56Q98 62 104 62Q98 62 98 68Q98 62 92 62Q98 62 98 56Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M162 52Q162 58 168 58Q162 58 162 64Q162 58 156 58Q162 58 162 52Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M130 40Q130 45 135 45Q130 45 130 50Q130 45 125 45Q130 45 130 40Z\"></path>\n </g>\n <g *ngSwitchCase=\"'gateway'\">\n <path class=\"wu-ep-k-line\" d=\"M176 156c22-4 26-34 20-52\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"186\" y=\"86\" width=\"22\" height=\"18\" rx=\"5\"></rect>\n <path class=\"wu-ep-k-line\" d=\"M192 86v-8M202 86v-8\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-snore\">\n <text class=\"wu-ep-k-mark\" x=\"196\" y=\"78\">Z</text>\n <text class=\"wu-ep-k-mark wu-ep-k-small\" x=\"214\" y=\"58\">z</text>\n </g>\n </ng-container>\n </g>\n </svg>\n </ng-template>\n </div>\n <div class=\"wu-ep-title\" role=\"heading\" [attr.aria-level]=\"headingLevel\">{{ titleText }}</div>\n <p *ngIf=\"descriptionText\" class=\"wu-ep-description\">{{ descriptionText }}</p>\n <div class=\"wu-ep-actions\">\n <ng-container *ngFor=\"let b of buttons; let first = first\">\n <a *ngIf=\"b.href !== null; else plain\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.href]=\"b.href\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</a>\n <ng-template #plain>\n <button type=\"button\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</button>\n </ng-template>\n </ng-container>\n <ng-content select=\"[wuErrorAction]\"></ng-content>\n </div>\n <p *ngIf=\"reference\" class=\"wu-ep-reference\">\n {{ words.reference }} <code>{{ reference }}</code>\n </p>\n <div class=\"wu-ep-content\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{wu-error-page,wu-errorPage{display:block}.wu-error-page{display:flex;flex-direction:column;align-items:center;gap:var(--wu-error-page-gap);padding:var(--wu-error-page-padding);text-align:center;font-family:var(--wu-font-family)}.wu-error-page-full{box-sizing:border-box;justify-content:center;min-height:100vh;min-height:100dvh}.wu-ep-art{display:flex;flex-direction:column;align-items:center;margin-bottom:.5rem}.wu-ep-badge{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-error-page-badge-size);height:var(--wu-error-page-badge-size);margin-bottom:1rem;border-radius:var(--wu-radius-lg);background:var(--wu-error-page-badge-bg);color:var(--wu-error-page-badge-color)}.wu-ep-badge svg{width:55%;height:55%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wu-ep-label{color:var(--wu-error-page-label-color);font-size:.8125rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.wu-ep-code{background:linear-gradient(180deg,var(--wu-error-page-code-from),var(--wu-error-page-code-to));-webkit-background-clip:text;background-clip:text;color:transparent;font-size:var(--wu-error-page-code-size);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1}.wu-ep-mascot{display:block;width:var(--wu-error-page-mascot-width);max-width:100%;height:auto;overflow:visible}.wu-ep-k-blob{fill:var(--wu-error-page-k-blob)}.wu-ep-k-spark{fill:var(--wu-error-page-k-spark);transform-box:fill-box;transform-origin:center;animation:wu-ep-twinkle 2.4s ease-in-out infinite}.wu-ep-k-spark-2{animation-delay:.8s}.wu-ep-k-spark-3{animation-delay:1.6s}.wu-ep-k-shadow{fill:var(--wu-error-page-k-ink);opacity:.12;transform-box:fill-box;transform-origin:center;animation:wu-ep-shadow 3s ease-in-out infinite}.wu-ep-k-bob{animation:wu-ep-bob 3s ease-in-out infinite}.wu-ep-k-body,.wu-ep-k-bubble{fill:var(--wu-error-page-k-body);stroke:var(--wu-error-page-k-ink);stroke-width:3.5;stroke-linejoin:round}.wu-ep-k-bubble{stroke-width:3}.wu-ep-k-blush{fill:var(--wu-error-page-k-blush)}.wu-ep-k-ink{fill:var(--wu-error-page-k-ink)}.wu-ep-k-shine{fill:#fff}.wu-ep-k-line{fill:none;stroke:var(--wu-error-page-k-ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.wu-ep-k-thin{stroke-width:2.5}.wu-ep-k-eyes{transform-box:fill-box;transform-origin:center;animation:wu-ep-blink 4.5s infinite}.wu-ep-k-sign{fill:var(--wu-error-page-k-sign)}.wu-ep-k-outline{stroke:var(--wu-error-page-k-ink);stroke-width:3}.wu-ep-k-code{fill:var(--wu-error-page-k-sign-text);font-family:var(--wu-font-family);font-size:25px;font-weight:800;letter-spacing:.02em}.wu-ep-k-mark{fill:var(--wu-error-page-k-sign);font-family:var(--wu-font-family);font-size:22px;font-weight:800}.wu-ep-k-small{font-size:15px}.wu-ep-k-drop{fill:var(--wu-error-page-k-drop);stroke:var(--wu-error-page-k-ink);stroke-width:2;animation:wu-ep-drip 1.6s ease-in infinite}.wu-ep-k-drop-2{animation-delay:.6s}.wu-ep-k-orbit{transform-box:view-box;transform-origin:130px 56px;animation:wu-ep-orbit 3.2s linear infinite}.wu-ep-k-snore{animation:wu-ep-snore 2.6s ease-in-out infinite}@keyframes wu-ep-bob{50%{transform:translateY(-5px)}}@keyframes wu-ep-shadow{50%{transform:scaleX(.86);opacity:.08}}@keyframes wu-ep-blink{0%,92%,to{transform:scaleY(1)}95%{transform:scaleY(.1)}}@keyframes wu-ep-twinkle{50%{transform:scale(.55) rotate(20deg);opacity:.55}}@keyframes wu-ep-drip{0%{transform:translateY(-3px);opacity:0}30%{opacity:1}to{transform:translateY(8px);opacity:0}}@keyframes wu-ep-orbit{to{transform:rotate(360deg)}}@keyframes wu-ep-snore{50%{transform:translate(4px,-5px);opacity:.6}}.wu-ep-title{margin:0;color:var(--wu-error-page-title-color);font-size:var(--wu-error-page-title-size);font-weight:var(--wu-error-page-title-weight);line-height:var(--wu-line-height)}.wu-ep-description{margin:0;max-width:34rem;color:var(--wu-error-page-description-color);line-height:var(--wu-line-height)}.wu-ep-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem}.wu-ep-actions:empty{display:none}.wu-ep-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.5rem 1.125rem;border:1px solid var(--wu-error-page-button-border);border-radius:var(--wu-error-page-button-radius);background:var(--wu-error-page-button-bg);color:var(--wu-error-page-button-color);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background var(--wu-transition),border-color var(--wu-transition),transform var(--wu-transition)}.wu-ep-button:hover{background:var(--wu-hover-bg)}.wu-ep-button-main{border-color:var(--wu-primary-color);background:var(--wu-primary-color);color:var(--wu-primary-contrast)}.wu-ep-button-main:hover{background:var(--wu-primary-hover);border-color:var(--wu-primary-hover)}.wu-ep-button:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-error-page-kawaii .wu-ep-button{border-radius:999px;box-shadow:0 3px 0 var(--wu-error-page-button-border)}.wu-error-page-kawaii .wu-ep-button-main{box-shadow:0 3px 0 var(--wu-error-page-k-button-shadow)}.wu-error-page-kawaii .wu-ep-button:active{transform:translateY(2px);box-shadow:none}.wu-ep-reference{margin:.5rem 0 0;color:var(--wu-error-page-description-color);font-size:.8125rem}.wu-ep-reference code{padding:.125rem .375rem;border-radius:var(--wu-radius-sm);background:var(--wu-hover-bg);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;-webkit-user-select:all;user-select:all}.wu-ep-content{box-sizing:border-box;width:100%;max-width:36rem;margin-top:1rem;padding:1rem 1.25rem;border-radius:var(--wu-radius-md);background:var(--wu-hover-bg);text-align:start}.wu-ep-content:empty{display:none}@media (prefers-reduced-motion: reduce){.wu-ep-k-spark,.wu-ep-k-shadow,.wu-ep-k-bob,.wu-ep-k-eyes,.wu-ep-k-drop,.wu-ep-k-orbit,.wu-ep-k-snore{animation:none}}}\n"] }]
|
|
136
|
+
args: [{ selector: 'wu-error-page, wu-errorPage', standalone: true, imports: [NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'wu-error-page-host', '[attr.title]': 'null' }, template: "<div\n class=\"wu-error-page\"\n [class]=\"styleClass || ''\"\n [class.wu-error-page-kawaii]=\"kawaii\"\n [class.wu-error-page-formal]=\"!kawaii\"\n [class.wu-error-page-full]=\"fullPage\"\n [style]=\"rootStyle\"\n [attr.data-code]=\"code\"\n [attr.data-kind]=\"kind\"\n>\n <div class=\"wu-ep-art\" aria-hidden=\"true\">\n <ng-container *ngIf=\"!kawaii; else cute\">\n <span class=\"wu-ep-badge\">\n <svg viewBox=\"0 0 24 24\" focusable=\"false\"><path [attr.d]=\"icon\"></path></svg>\n </span>\n <span class=\"wu-ep-label\">{{ words.error }}</span>\n <span class=\"wu-ep-code\">{{ code }}</span>\n </ng-container>\n <ng-template #cute>\n <svg class=\"wu-ep-mascot\" viewBox=\"0 0 260 220\" focusable=\"false\">\n <path class=\"wu-ep-k-blob\" d=\"M44 118C38 62 86 24 138 28s94 42 88 96-50 76-100 74S50 172 44 118Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M44 43Q44 52 53 52Q44 52 44 61Q44 52 35 52Q44 52 44 43Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M222 143Q222 150 229 150Q222 150 222 157Q222 150 215 150Q222 150 222 143Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-3\" d=\"M210 32Q210 38 216 38Q210 38 210 44Q210 38 204 38Q210 38 210 32Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M34 162Q34 168 40 168Q34 168 34 174Q34 168 28 168Q34 168 34 162Z\"></path>\n <ellipse class=\"wu-ep-k-shadow\" cx=\"130\" cy=\"204\" rx=\"58\" ry=\"7\"></ellipse>\n <g class=\"wu-ep-k-bob\">\n <path class=\"wu-ep-k-body\" d=\"M88 96 92 64 116 84ZM172 96 168 64 144 84Z\"></path>\n <path class=\"wu-ep-k-blush\" d=\"M95 88 97 72 109 83ZM165 88 163 72 151 83Z\"></path>\n <path class=\"wu-ep-k-body\" d=\"M66 150C66 104 96 76 130 76s64 28 64 74c0 26-28 36-64 36s-64-10-64-36Z\"></path>\n <ellipse class=\"wu-ep-k-blush\" cx=\"100\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ellipse class=\"wu-ep-k-blush\" cx=\"160\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\">\n <path d=\"M110 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n <path d=\"M150 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'time'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-line\">\n <path d=\"M104 112l9 6-9 6M156 112l-9 6 9 6\"></path>\n </g>\n <g *ngSwitchDefault class=\"wu-ep-k-eyes\">\n <circle class=\"wu-ep-k-ink\" cx=\"110\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-ink\" cx=\"150\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"112.5\" cy=\"115.5\" r=\"2.2\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"152.5\" cy=\"115.5\" r=\"2.2\"></circle>\n </g>\n </ng-container>\n <ng-container [ngSwitch]=\"kind\">\n <circle *ngSwitchCase=\"'missing'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"4\"></circle>\n <circle *ngSwitchCase=\"'time'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"3.5\"></circle>\n <path *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'gateway'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'forbidden'\" class=\"wu-ep-k-line\" d=\"M123 137h14\"></path>\n <path *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-ink\" d=\"M123 133q7 12 14 0Z\"></path>\n <path *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\" d=\"M125 136q5 4 10 0\"></path>\n <path *ngSwitchDefault class=\"wu-ep-k-line\" d=\"M122 134q4 5 8 0q4 5 8 0\"></path>\n </ng-container>\n <rect class=\"wu-ep-k-sign\" x=\"90\" y=\"146\" width=\"80\" height=\"40\" rx=\"12\"></rect>\n <text class=\"wu-ep-k-code\" x=\"130\" y=\"174\" text-anchor=\"middle\">{{ code }}</text>\n <circle class=\"wu-ep-k-body\" cx=\"92\" cy=\"158\" r=\"8\"></circle>\n <circle class=\"wu-ep-k-body\" cx=\"168\" cy=\"158\" r=\"8\"></circle>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'missing'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">?</text>\n </g>\n <g *ngSwitchCase=\"'request'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">!</text>\n </g>\n <g *ngSwitchCase=\"'auth'\">\n <rect class=\"wu-ep-k-bubble\" x=\"186\" y=\"58\" width=\"38\" height=\"28\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-blush\" cx=\"197\" cy=\"69\" r=\"4.5\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 67h12M206 75h8\"></path>\n </g>\n <g *ngSwitchCase=\"'forbidden'\">\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M101 105l14 5M159 105l-14 5\"></path>\n <path class=\"wu-ep-k-line\" d=\"M198 74v-6a8 8 0 0 1 16 0v6\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"191\" y=\"72\" width=\"30\" height=\"24\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-shine\" cx=\"206\" cy=\"83\" r=\"3.2\"></circle>\n </g>\n <g *ngSwitchCase=\"'time'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"70\" r=\"17\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 70v-9M206 70l6 4\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\">\n <path class=\"wu-ep-k-drop\" d=\"M188 86c4 6 6 9 6 12a6 6 0 0 1-12 0c0-3 2-6 6-12Z\"></path>\n <path class=\"wu-ep-k-drop wu-ep-k-drop-2\" d=\"M70 98c3 4.5 4.5 7 4.5 9a4.5 4.5 0 0 1-9 0c0-2 1.5-4.5 4.5-9Z\"></path>\n </g>\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-orbit\">\n <path class=\"wu-ep-k-spark\" d=\"M98 56Q98 62 104 62Q98 62 98 68Q98 62 92 62Q98 62 98 56Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M162 52Q162 58 168 58Q162 58 162 64Q162 58 156 58Q162 58 162 52Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M130 40Q130 45 135 45Q130 45 130 50Q130 45 125 45Q130 45 130 40Z\"></path>\n </g>\n <g *ngSwitchCase=\"'gateway'\">\n <path class=\"wu-ep-k-line\" d=\"M176 156c22-4 26-34 20-52\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"186\" y=\"86\" width=\"22\" height=\"18\" rx=\"5\"></rect>\n <path class=\"wu-ep-k-line\" d=\"M192 86v-8M202 86v-8\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-snore\">\n <text class=\"wu-ep-k-mark\" x=\"196\" y=\"78\">Z</text>\n <text class=\"wu-ep-k-mark wu-ep-k-small\" x=\"214\" y=\"58\">z</text>\n </g>\n </ng-container>\n </g>\n </svg>\n </ng-template>\n </div>\n <div class=\"wu-ep-title\" role=\"heading\" [attr.aria-level]=\"headingLevel\">{{ titleText }}</div>\n <p *ngIf=\"descriptionText\" class=\"wu-ep-description\">{{ descriptionText }}</p>\n <div class=\"wu-ep-actions\">\n <ng-container *ngFor=\"let b of buttons; let first = first\">\n <a *ngIf=\"b.href !== null; else plain\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.href]=\"b.href\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</a>\n <ng-template #plain>\n <button type=\"button\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</button>\n </ng-template>\n </ng-container>\n <ng-content select=\"[wuErrorAction]\"></ng-content>\n </div>\n <p *ngIf=\"reference\" class=\"wu-ep-reference\">\n {{ words.reference }} <code>{{ reference }}</code>\n </p>\n <div class=\"wu-ep-content\"><ng-content></ng-content></div>\n</div>\n", styles: ["@layer wiraui.components{wu-error-page,wu-errorPage{display:block}.wu-error-page{display:flex;flex-direction:column;align-items:center;gap:var(--wu-error-page-gap);padding:var(--wu-error-page-padding);text-align:center;font-family:var(--wu-font-family)}.wu-error-page-full{box-sizing:border-box;justify-content:center;min-height:100vh;min-height:100dvh}.wu-ep-art{display:flex;flex-direction:column;align-items:center;margin-bottom:.5rem}.wu-ep-badge{display:inline-flex;align-items:center;justify-content:center;width:var(--wu-error-page-badge-size);height:var(--wu-error-page-badge-size);margin-bottom:1rem;border-radius:var(--wu-radius-lg);background:var(--wu-error-page-badge-bg);color:var(--wu-error-page-badge-color)}.wu-ep-badge svg{width:55%;height:55%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.wu-ep-label{color:var(--wu-error-page-label-color);font-size:.8125rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.wu-ep-code{background:linear-gradient(180deg,var(--wu-error-page-code-from),var(--wu-error-page-code-to));-webkit-background-clip:text;background-clip:text;color:transparent;font-size:var(--wu-error-page-code-size);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.04em;line-height:1}.wu-ep-mascot{display:block;width:var(--wu-error-page-mascot-width);max-width:100%;height:auto;overflow:visible}.wu-ep-k-blob{fill:var(--wu-error-page-k-blob)}.wu-ep-k-spark{fill:var(--wu-error-page-k-spark);transform-box:fill-box;transform-origin:center;animation:wu-ep-twinkle 2.4s ease-in-out infinite}.wu-ep-k-spark-2{animation-delay:.8s}.wu-ep-k-spark-3{animation-delay:1.6s}.wu-ep-k-shadow{fill:var(--wu-error-page-k-ink);opacity:.12;transform-box:fill-box;transform-origin:center;animation:wu-ep-shadow 3s ease-in-out infinite}.wu-ep-k-bob{animation:wu-ep-bob 3s ease-in-out infinite}.wu-ep-k-body,.wu-ep-k-bubble{fill:var(--wu-error-page-k-body);stroke:var(--wu-error-page-k-ink);stroke-width:3.5;stroke-linejoin:round}.wu-ep-k-bubble{stroke-width:3}.wu-ep-k-blush{fill:var(--wu-error-page-k-blush)}.wu-ep-k-ink{fill:var(--wu-error-page-k-ink)}.wu-ep-k-shine{fill:#fff}.wu-ep-k-line{fill:none;stroke:var(--wu-error-page-k-ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.wu-ep-k-thin{stroke-width:2.5}.wu-ep-k-eyes{transform-box:fill-box;transform-origin:center;animation:wu-ep-blink 4.5s infinite}.wu-ep-k-sign{fill:var(--wu-error-page-k-sign)}.wu-ep-k-outline{stroke:var(--wu-error-page-k-ink);stroke-width:3}.wu-ep-k-code{fill:var(--wu-error-page-k-sign-text);font-family:var(--wu-font-family);font-size:25px;font-weight:800;letter-spacing:.02em}.wu-ep-k-mark{fill:var(--wu-error-page-k-sign);font-family:var(--wu-font-family);font-size:22px;font-weight:800}.wu-ep-k-small{font-size:15px}.wu-ep-k-drop{fill:var(--wu-error-page-k-drop);stroke:var(--wu-error-page-k-ink);stroke-width:2;animation:wu-ep-drip 1.6s ease-in infinite}.wu-ep-k-drop-2{animation-delay:.6s}.wu-ep-k-orbit{transform-box:view-box;transform-origin:130px 56px;animation:wu-ep-orbit 3.2s linear infinite}.wu-ep-k-snore{animation:wu-ep-snore 2.6s ease-in-out infinite}@keyframes wu-ep-bob{50%{transform:translateY(-5px)}}@keyframes wu-ep-shadow{50%{transform:scaleX(.86);opacity:.08}}@keyframes wu-ep-blink{0%,92%,to{transform:scaleY(1)}95%{transform:scaleY(.1)}}@keyframes wu-ep-twinkle{50%{transform:scale(.55) rotate(20deg);opacity:.55}}@keyframes wu-ep-drip{0%{transform:translateY(-3px);opacity:0}30%{opacity:1}to{transform:translateY(8px);opacity:0}}@keyframes wu-ep-orbit{to{transform:rotate(360deg)}}@keyframes wu-ep-snore{50%{transform:translate(4px,-5px);opacity:.6}}.wu-ep-title{font-family:var(--wu-heading-font-family);margin:0;color:var(--wu-error-page-title-color);font-size:var(--wu-error-page-title-size);font-weight:var(--wu-error-page-title-weight);line-height:var(--wu-line-height)}.wu-ep-description{margin:0;max-width:34rem;color:var(--wu-error-page-description-color);line-height:var(--wu-line-height)}.wu-ep-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1rem}.wu-ep-actions:empty{display:none}.wu-ep-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.5rem;padding:.5rem 1.125rem;border:1px solid var(--wu-error-page-button-border);border-radius:var(--wu-error-page-button-radius);background:var(--wu-error-page-button-bg);color:var(--wu-error-page-button-color);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:background var(--wu-transition),border-color var(--wu-transition),transform var(--wu-transition)}.wu-ep-button:hover{background:var(--wu-hover-bg)}.wu-ep-button-main{border-color:var(--wu-primary-color);background:var(--wu-primary-color);color:var(--wu-primary-contrast)}.wu-ep-button-main:hover{background:var(--wu-primary-hover);border-color:var(--wu-primary-hover)}.wu-ep-button:focus-visible{outline:var(--wu-control-focus-outline);outline-offset:var(--wu-control-focus-offset);box-shadow:var(--wu-control-focus-shadow)}.wu-error-page-kawaii .wu-ep-button{border-radius:999px;box-shadow:0 3px 0 var(--wu-error-page-button-border)}.wu-error-page-kawaii .wu-ep-button-main{box-shadow:0 3px 0 var(--wu-error-page-k-button-shadow)}.wu-error-page-kawaii .wu-ep-button:active{transform:translateY(2px);box-shadow:none}.wu-ep-reference{margin:.5rem 0 0;color:var(--wu-error-page-description-color);font-size:.8125rem}.wu-ep-reference code{padding:.125rem .375rem;border-radius:var(--wu-radius-sm);background:var(--wu-hover-bg);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;-webkit-user-select:all;user-select:all}.wu-ep-content{box-sizing:border-box;width:100%;max-width:36rem;margin-top:1rem;padding:1rem 1.25rem;border-radius:var(--wu-radius-md);background:var(--wu-hover-bg);text-align:start}.wu-ep-content:empty{display:none}@media(prefers-reduced-motion:reduce){.wu-ep-k-spark,.wu-ep-k-shadow,.wu-ep-k-bob,.wu-ep-k-eyes,.wu-ep-k-drop,.wu-ep-k-orbit,.wu-ep-k-snore{animation:none}}}\n"] }]
|
|
137
137
|
}], ctorParameters: () => [], propDecorators: { code: [{
|
|
138
138
|
type: Input
|
|
139
139
|
}], look: [{
|
|
@@ -164,11 +164,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
|
|
|
164
164
|
|
|
165
165
|
/** For NgModule apps. Standalone apps can import `WuErrorPage` directly. */
|
|
166
166
|
class WuErrorPageModule {
|
|
167
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
168
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
169
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuErrorPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
168
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: WuErrorPageModule, imports: [WuErrorPage], exports: [WuErrorPage] }); }
|
|
169
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuErrorPageModule }); }
|
|
170
170
|
}
|
|
171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: WuErrorPageModule, decorators: [{
|
|
172
172
|
type: NgModule,
|
|
173
173
|
args: [{
|
|
174
174
|
imports: [WuErrorPage],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wirabyte-ui-errorpage.mjs","sources":["../../lib/errorpage/errorpage.component.ts","../../lib/errorpage/errorpage.component.html","../../lib/errorpage/errorpage.module.ts","../../lib/errorpage/wirabyte-ui-errorpage.ts"],"sourcesContent":["import { DOCUMENT, NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, OnDestroy, Output, ViewEncapsulation } from '@angular/core';\nimport { ɵassertSupportedAngular, ɵrefreshOnTranslation, ɵWU_SKIP_VERSION_CHECK, WuConfig } from '@wirabyte/ui/config';\nimport { httpErrorActions, httpErrorCode, httpErrorKind, httpErrorTextKey, TH_LOCALE, WuErrorAction, WuErrorKind } from '@wirabyte/ui/core';\n\nexport type { WuErrorAction, WuErrorKind };\n\n/** `'formal'` (default): a clean, plain page. `'kawaii'`: a little character holding up the code, and friendlier words. */\nexport type WuErrorPageLook = 'formal' | 'kawaii';\n\n/** `(action)`: a built-in button was pressed. `originalEvent.preventDefault()` stops its own step (to route instead). */\nexport interface WuErrorPageActionEvent {\n action: WuErrorAction;\n originalEvent: Event;\n}\n\n/** The formal look's picture per kind: a 24 × 24 stroked icon. */\nconst ICONS: Record<WuErrorKind, string> = {\n request: 'M7 3h7l5 5v13H7ZM14 3v5h5M10 13l4 4M14 13l-4 4',\n auth: 'M10 3a4 4 0 1 1 0 8 4 4 0 0 1 0-8ZM3 21v-1a6 6 0 0 1 9-5.2M16 15v-1.5a2 2 0 1 1 4 0V15M14.5 15h7v5.5h-7Z',\n forbidden: 'M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6ZM9.5 12v-1.5a2.5 2.5 0 0 1 5 0V12M8.5 12h7v4.5h-7Z',\n missing: 'M10.5 3a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM21 21l-5.2-5.2M8.5 8.5l4 4M12.5 8.5l-4 4',\n time: 'M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18ZM12 7v5l3.5 2',\n busy: 'M4 16a8 8 0 1 1 16 0M12 16l4.5-5M3 20h18',\n server: 'M4 4h16v6H4ZM4 14h9v6H4ZM8 7h.01M8 17h.01M18.5 13.5l3 6h-6ZM18.5 16v1.2',\n gateway: 'M9 3v4M15 3v4M7 7h10v4a5 5 0 0 1-10 0ZM12 16v5M3 3l18 18',\n down: 'M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4Z',\n};\n\n/**\n * A page for an error status, ready to use: `<wu-error-page code=\"404\"></wu-error-page>` or `look=\"kawaii\"`. Any 4xx /\n * 5xx code works: the common ones (400, 401, 403, 404, 405, 408, 409, 410, 413, 415, 422, 429, 500, 501, 502, 503, 504)\n * have their own words in Thai and English, the rest read as a client or server error. The buttons fit the code (sign\n * in for 401, try again for timeouts and 5xx, back and home otherwise); `[actions]` picks them, `(action)` hears them,\n * elements marked `wuErrorAction` join them, and anything else inside goes in a box under them. `reference` shows an\n * error id people can quote to support. `fullPage` fills the screen (a route's page).\n */\n@Component({\n selector: 'wu-error-page, wu-errorPage',\n standalone: true,\n imports: [NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault],\n templateUrl: './errorpage.component.html',\n styleUrls: ['./errorpage.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n // `title` is an input here: keep it off the host so the page gets no browser tooltip.\n host: { class: 'wu-error-page-host', '[attr.title]': 'null' },\n})\nexport class WuErrorPage implements OnDestroy {\n /** The HTTP status, 400–599 (`'404'` or `404`). Anything else shows 500. */\n @Input() set code(v: number | string | null | undefined) {\n this._code = httpErrorCode(v);\n }\n get code(): number {\n return this._code;\n }\n /** `'formal'` (default) or `'kawaii'`. */\n @Input() set look(v: WuErrorPageLook | string | null | undefined) {\n this._look = v === 'kawaii' ? 'kawaii' : 'formal';\n }\n get look(): WuErrorPageLook {\n return this._look;\n }\n /** Default: the locale's words for the code (kawaii: for its kind). */\n @Input() title?: string | null;\n @Input() description?: string | null;\n /** An error or request id to quote to support, shown small under the buttons. */\n @Input() reference?: string | null;\n /** Built-in buttons, the main one first: `['retry', 'home']`; `false` for none. Default: what fits the code. */\n @Input() actions?: WuErrorAction[] | boolean | string | null;\n /** Where the home button goes. Default `'/'`. */\n @Input() homeLink: string | null = '/';\n /** Where the sign-in button goes (401). Default `'/login'`. */\n @Input() signInLink: string | null = '/login';\n /** Fill the screen's height, centred (the page of a route). */\n @Input() set fullPage(v: boolean | string | null | undefined) {\n this._full = v === '' || v === true || v === 'true';\n }\n get fullPage(): boolean {\n return this._full;\n }\n /** The title's heading level. Default 1. */\n @Input() headingLevel: number | string = 1;\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n\n /** A built-in button was pressed (before its own step; `originalEvent.preventDefault()` stops that). */\n @Output() action = new EventEmitter<WuErrorPageActionEvent>();\n\n private _code = 404;\n private _look: WuErrorPageLook = 'formal';\n private _full = false;\n private readonly config = inject(WuConfig);\n private readonly doc = inject(DOCUMENT);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.i18n.unsubscribe();\n }\n\n // ---------- what the template reads ----------\n\n get kawaii(): boolean {\n return this._look === 'kawaii';\n }\n get kind(): WuErrorKind {\n return httpErrorKind(this._code);\n }\n get icon(): string {\n return ICONS[this.kind];\n }\n /** The locale's words (an app's own translation without them falls back to Thai). */\n get words(): (typeof TH_LOCALE)['errorPage'] {\n return this.config.translation.errorPage ?? TH_LOCALE.errorPage;\n }\n private get text(): { title: string; description: string } {\n const w = this.words;\n return this.kawaii ? w.kawaii[this.kind] : w.codes[httpErrorTextKey(this._code, w.codes)];\n }\n get titleText(): string {\n return this.title ?? this.text?.title ?? '';\n }\n get descriptionText(): string {\n return this.description ?? this.text?.description ?? '';\n }\n get buttons(): { action: WuErrorAction; label: string; href: string | null }[] {\n const own = this.actions;\n if (own === false || own === 'false') return [];\n const list = Array.isArray(own) ? own : httpErrorActions(this._code);\n const w = this.words;\n return list\n .filter((a) => (a === 'home' ? this.homeLink !== null : a === 'signIn' ? this.signInLink !== null : true))\n .map((a) => ({\n action: a,\n label: a === 'home' ? w.home : a === 'back' ? w.back : a === 'retry' ? w.retry : w.signIn,\n href: a === 'home' ? this.homeLink : a === 'signIn' ? this.signInLink : null,\n }));\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n\n /** A button: tell the app, then (unless it said no) follow the link, go back or reload. */\n run(action: WuErrorAction, event: Event): void {\n this.action.emit({ action, originalEvent: event });\n if (event.defaultPrevented) return;\n const win = this.doc.defaultView;\n if (!win) return;\n if (action === 'back') {\n event.preventDefault();\n if (win.history.length > 1) win.history.back();\n else win.location.assign(this.homeLink || '/');\n } else if (action === 'retry') {\n event.preventDefault();\n win.location.reload();\n }\n }\n}\n","<div\n class=\"wu-error-page\"\n [class]=\"styleClass || ''\"\n [class.wu-error-page-kawaii]=\"kawaii\"\n [class.wu-error-page-formal]=\"!kawaii\"\n [class.wu-error-page-full]=\"fullPage\"\n [style]=\"rootStyle\"\n [attr.data-code]=\"code\"\n [attr.data-kind]=\"kind\"\n>\n <div class=\"wu-ep-art\" aria-hidden=\"true\">\n <ng-container *ngIf=\"!kawaii; else cute\">\n <span class=\"wu-ep-badge\">\n <svg viewBox=\"0 0 24 24\" focusable=\"false\"><path [attr.d]=\"icon\"></path></svg>\n </span>\n <span class=\"wu-ep-label\">{{ words.error }}</span>\n <span class=\"wu-ep-code\">{{ code }}</span>\n </ng-container>\n <ng-template #cute>\n <svg class=\"wu-ep-mascot\" viewBox=\"0 0 260 220\" focusable=\"false\">\n <path class=\"wu-ep-k-blob\" d=\"M44 118C38 62 86 24 138 28s94 42 88 96-50 76-100 74S50 172 44 118Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M44 43Q44 52 53 52Q44 52 44 61Q44 52 35 52Q44 52 44 43Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M222 143Q222 150 229 150Q222 150 222 157Q222 150 215 150Q222 150 222 143Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-3\" d=\"M210 32Q210 38 216 38Q210 38 210 44Q210 38 204 38Q210 38 210 32Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M34 162Q34 168 40 168Q34 168 34 174Q34 168 28 168Q34 168 34 162Z\"></path>\n <ellipse class=\"wu-ep-k-shadow\" cx=\"130\" cy=\"204\" rx=\"58\" ry=\"7\"></ellipse>\n <g class=\"wu-ep-k-bob\">\n <path class=\"wu-ep-k-body\" d=\"M88 96 92 64 116 84ZM172 96 168 64 144 84Z\"></path>\n <path class=\"wu-ep-k-blush\" d=\"M95 88 97 72 109 83ZM165 88 163 72 151 83Z\"></path>\n <path class=\"wu-ep-k-body\" d=\"M66 150C66 104 96 76 130 76s64 28 64 74c0 26-28 36-64 36s-64-10-64-36Z\"></path>\n <ellipse class=\"wu-ep-k-blush\" cx=\"100\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ellipse class=\"wu-ep-k-blush\" cx=\"160\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\">\n <path d=\"M110 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n <path d=\"M150 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'time'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-line\">\n <path d=\"M104 112l9 6-9 6M156 112l-9 6 9 6\"></path>\n </g>\n <g *ngSwitchDefault class=\"wu-ep-k-eyes\">\n <circle class=\"wu-ep-k-ink\" cx=\"110\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-ink\" cx=\"150\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"112.5\" cy=\"115.5\" r=\"2.2\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"152.5\" cy=\"115.5\" r=\"2.2\"></circle>\n </g>\n </ng-container>\n <ng-container [ngSwitch]=\"kind\">\n <circle *ngSwitchCase=\"'missing'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"4\"></circle>\n <circle *ngSwitchCase=\"'time'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"3.5\"></circle>\n <path *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'gateway'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'forbidden'\" class=\"wu-ep-k-line\" d=\"M123 137h14\"></path>\n <path *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-ink\" d=\"M123 133q7 12 14 0Z\"></path>\n <path *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\" d=\"M125 136q5 4 10 0\"></path>\n <path *ngSwitchDefault class=\"wu-ep-k-line\" d=\"M122 134q4 5 8 0q4 5 8 0\"></path>\n </ng-container>\n <rect class=\"wu-ep-k-sign\" x=\"90\" y=\"146\" width=\"80\" height=\"40\" rx=\"12\"></rect>\n <text class=\"wu-ep-k-code\" x=\"130\" y=\"174\" text-anchor=\"middle\">{{ code }}</text>\n <circle class=\"wu-ep-k-body\" cx=\"92\" cy=\"158\" r=\"8\"></circle>\n <circle class=\"wu-ep-k-body\" cx=\"168\" cy=\"158\" r=\"8\"></circle>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'missing'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">?</text>\n </g>\n <g *ngSwitchCase=\"'request'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">!</text>\n </g>\n <g *ngSwitchCase=\"'auth'\">\n <rect class=\"wu-ep-k-bubble\" x=\"186\" y=\"58\" width=\"38\" height=\"28\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-blush\" cx=\"197\" cy=\"69\" r=\"4.5\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 67h12M206 75h8\"></path>\n </g>\n <g *ngSwitchCase=\"'forbidden'\">\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M101 105l14 5M159 105l-14 5\"></path>\n <path class=\"wu-ep-k-line\" d=\"M198 74v-6a8 8 0 0 1 16 0v6\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"191\" y=\"72\" width=\"30\" height=\"24\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-shine\" cx=\"206\" cy=\"83\" r=\"3.2\"></circle>\n </g>\n <g *ngSwitchCase=\"'time'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"70\" r=\"17\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 70v-9M206 70l6 4\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\">\n <path class=\"wu-ep-k-drop\" d=\"M188 86c4 6 6 9 6 12a6 6 0 0 1-12 0c0-3 2-6 6-12Z\"></path>\n <path class=\"wu-ep-k-drop wu-ep-k-drop-2\" d=\"M70 98c3 4.5 4.5 7 4.5 9a4.5 4.5 0 0 1-9 0c0-2 1.5-4.5 4.5-9Z\"></path>\n </g>\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-orbit\">\n <path class=\"wu-ep-k-spark\" d=\"M98 56Q98 62 104 62Q98 62 98 68Q98 62 92 62Q98 62 98 56Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M162 52Q162 58 168 58Q162 58 162 64Q162 58 156 58Q162 58 162 52Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M130 40Q130 45 135 45Q130 45 130 50Q130 45 125 45Q130 45 130 40Z\"></path>\n </g>\n <g *ngSwitchCase=\"'gateway'\">\n <path class=\"wu-ep-k-line\" d=\"M176 156c22-4 26-34 20-52\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"186\" y=\"86\" width=\"22\" height=\"18\" rx=\"5\"></rect>\n <path class=\"wu-ep-k-line\" d=\"M192 86v-8M202 86v-8\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-snore\">\n <text class=\"wu-ep-k-mark\" x=\"196\" y=\"78\">Z</text>\n <text class=\"wu-ep-k-mark wu-ep-k-small\" x=\"214\" y=\"58\">z</text>\n </g>\n </ng-container>\n </g>\n </svg>\n </ng-template>\n </div>\n <div class=\"wu-ep-title\" role=\"heading\" [attr.aria-level]=\"headingLevel\">{{ titleText }}</div>\n <p *ngIf=\"descriptionText\" class=\"wu-ep-description\">{{ descriptionText }}</p>\n <div class=\"wu-ep-actions\">\n <ng-container *ngFor=\"let b of buttons; let first = first\">\n <a *ngIf=\"b.href !== null; else plain\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.href]=\"b.href\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</a>\n <ng-template #plain>\n <button type=\"button\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</button>\n </ng-template>\n </ng-container>\n <ng-content select=\"[wuErrorAction]\"></ng-content>\n </div>\n <p *ngIf=\"reference\" class=\"wu-ep-reference\">\n {{ words.reference }} <code>{{ reference }}</code>\n </p>\n <div class=\"wu-ep-content\"><ng-content></ng-content></div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuErrorPage } from './errorpage.component';\n\n/** For NgModule apps. Standalone apps can import `WuErrorPage` directly. */\n@NgModule({\n imports: [WuErrorPage],\n exports: [WuErrorPage],\n})\nexport class WuErrorPageModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵrefreshOnTranslation","ɵassertSupportedAngular","ɵWU_SKIP_VERSION_CHECK"],"mappings":";;;;;;AAgBA;AACA,MAAM,KAAK,GAAgC;AACzC,IAAA,OAAO,EAAE,gDAAgD;AACzD,IAAA,IAAI,EAAE,0GAA0G;AAChH,IAAA,SAAS,EAAE,kGAAkG;AAC7G,IAAA,OAAO,EAAE,yFAAyF;AAClG,IAAA,IAAI,EAAE,mDAAmD;AACzD,IAAA,IAAI,EAAE,0CAA0C;A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AhB;gBAEQ,UAAU,EAAA,CAAA;sBAAlB;gBAEY,QAAQ,EAAA,CAAA;sBAApB;gBAOQ,YAAY,EAAA,CAAA;sBAApB;gBACQ,UAAU,EAAA,CAAA;sBAAlB;gBAEQ,KAAK,EAAA,CAAA;sBAAb;gBAGS,MAAM,EAAA,CAAA;sBAAf;;;AErFH;MAKa,iBAAiB,CAAA;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAjB,iBAAiB,EAAA,OAAA,EAAA,CAHlB,WAAW,CAAA,EAAA,OAAA,EAAA,CACX,WAAW,CAAA,EAAA,CAAA,CAAA;gHAEV,iBAAiB,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,WAAW,CAAC;oBACtB,OAAO,EAAE,CAAC,WAAW,CAAC;AACvB,iBAAA;;;ACPD;;AAEG;;"}
|
|
1
|
+
{"version":3,"file":"wirabyte-ui-errorpage.mjs","sources":["../../lib/errorpage/errorpage.component.ts","../../lib/errorpage/errorpage.component.html","../../lib/errorpage/errorpage.module.ts","../../lib/errorpage/wirabyte-ui-errorpage.ts"],"sourcesContent":["import { DOCUMENT, NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, OnDestroy, Output, ViewEncapsulation } from '@angular/core';\nimport { ɵassertSupportedAngular, ɵrefreshOnTranslation, ɵWU_SKIP_VERSION_CHECK, WuConfig } from '@wirabyte/ui/config';\nimport { httpErrorActions, httpErrorCode, httpErrorKind, httpErrorTextKey, TH_LOCALE, WuErrorAction, WuErrorKind } from '@wirabyte/ui/core';\n\nexport type { WuErrorAction, WuErrorKind };\n\n/** `'formal'` (default): a clean, plain page. `'kawaii'`: a little character holding up the code, and friendlier words. */\nexport type WuErrorPageLook = 'formal' | 'kawaii';\n\n/** `(action)`: a built-in button was pressed. `originalEvent.preventDefault()` stops its own step (to route instead). */\nexport interface WuErrorPageActionEvent {\n action: WuErrorAction;\n originalEvent: Event;\n}\n\n/** The formal look's picture per kind: a 24 × 24 stroked icon. */\nconst ICONS: Record<WuErrorKind, string> = {\n request: 'M7 3h7l5 5v13H7ZM14 3v5h5M10 13l4 4M14 13l-4 4',\n auth: 'M10 3a4 4 0 1 1 0 8 4 4 0 0 1 0-8ZM3 21v-1a6 6 0 0 1 9-5.2M16 15v-1.5a2 2 0 1 1 4 0V15M14.5 15h7v5.5h-7Z',\n forbidden: 'M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6ZM9.5 12v-1.5a2.5 2.5 0 0 1 5 0V12M8.5 12h7v4.5h-7Z',\n missing: 'M10.5 3a7.5 7.5 0 1 1 0 15 7.5 7.5 0 0 1 0-15ZM21 21l-5.2-5.2M8.5 8.5l4 4M12.5 8.5l-4 4',\n time: 'M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18ZM12 7v5l3.5 2',\n busy: 'M4 16a8 8 0 1 1 16 0M12 16l4.5-5M3 20h18',\n server: 'M4 4h16v6H4ZM4 14h9v6H4ZM8 7h.01M8 17h.01M18.5 13.5l3 6h-6ZM18.5 16v1.2',\n gateway: 'M9 3v4M15 3v4M7 7h10v4a5 5 0 0 1-10 0ZM12 16v5M3 3l18 18',\n down: 'M14.7 6.3a4 4 0 0 0-5.4 5.4L3 18l3 3 6.3-6.3a4 4 0 0 0 5.4-5.4l-2.6 2.6-2.4-.6-.6-2.4Z',\n};\n\n/**\n * A page for an error status, ready to use: `<wu-error-page code=\"404\"></wu-error-page>` or `look=\"kawaii\"`. Any 4xx /\n * 5xx code works: the common ones (400, 401, 403, 404, 405, 408, 409, 410, 413, 415, 422, 429, 500, 501, 502, 503, 504)\n * have their own words in Thai and English, the rest read as a client or server error. The buttons fit the code (sign\n * in for 401, try again for timeouts and 5xx, back and home otherwise); `[actions]` picks them, `(action)` hears them,\n * elements marked `wuErrorAction` join them, and anything else inside goes in a box under them. `reference` shows an\n * error id people can quote to support. `fullPage` fills the screen (a route's page).\n */\n@Component({\n selector: 'wu-error-page, wu-errorPage',\n standalone: true,\n imports: [NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault],\n templateUrl: './errorpage.component.html',\n styleUrls: ['./errorpage.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n // `title` is an input here: keep it off the host so the page gets no browser tooltip.\n host: { class: 'wu-error-page-host', '[attr.title]': 'null' },\n})\nexport class WuErrorPage implements OnDestroy {\n /** The HTTP status, 400–599 (`'404'` or `404`). Anything else shows 500. */\n @Input() set code(v: number | string | null | undefined) {\n this._code = httpErrorCode(v);\n }\n get code(): number {\n return this._code;\n }\n /** `'formal'` (default) or `'kawaii'`. */\n @Input() set look(v: WuErrorPageLook | string | null | undefined) {\n this._look = v === 'kawaii' ? 'kawaii' : 'formal';\n }\n get look(): WuErrorPageLook {\n return this._look;\n }\n /** Default: the locale's words for the code (kawaii: for its kind). */\n @Input() title?: string | null;\n @Input() description?: string | null;\n /** An error or request id to quote to support, shown small under the buttons. */\n @Input() reference?: string | null;\n /** Built-in buttons, the main one first: `['retry', 'home']`; `false` for none. Default: what fits the code. */\n @Input() actions?: WuErrorAction[] | boolean | string | null;\n /** Where the home button goes. Default `'/'`. */\n @Input() homeLink: string | null = '/';\n /** Where the sign-in button goes (401). Default `'/login'`. */\n @Input() signInLink: string | null = '/login';\n /** Fill the screen's height, centred (the page of a route). */\n @Input() set fullPage(v: boolean | string | null | undefined) {\n this._full = v === '' || v === true || v === 'true';\n }\n get fullPage(): boolean {\n return this._full;\n }\n /** The title's heading level. Default 1. */\n @Input() headingLevel: number | string = 1;\n @Input() styleClass?: string | null;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() style?: Record<string, any> | string | null;\n\n /** A built-in button was pressed (before its own step; `originalEvent.preventDefault()` stops that). */\n @Output() action = new EventEmitter<WuErrorPageActionEvent>();\n\n private _code = 404;\n private _look: WuErrorPageLook = 'formal';\n private _full = false;\n private readonly config = inject(WuConfig);\n private readonly doc = inject(DOCUMENT);\n private readonly i18n = ɵrefreshOnTranslation();\n\n constructor() {\n ɵassertSupportedAngular(inject(ɵWU_SKIP_VERSION_CHECK, { optional: true }));\n }\n\n ngOnDestroy(): void {\n this.i18n.unsubscribe();\n }\n\n // ---------- what the template reads ----------\n\n get kawaii(): boolean {\n return this._look === 'kawaii';\n }\n get kind(): WuErrorKind {\n return httpErrorKind(this._code);\n }\n get icon(): string {\n return ICONS[this.kind];\n }\n /** The locale's words (an app's own translation without them falls back to Thai). */\n get words(): (typeof TH_LOCALE)['errorPage'] {\n return this.config.translation.errorPage ?? TH_LOCALE.errorPage;\n }\n private get text(): { title: string; description: string } {\n const w = this.words;\n return this.kawaii ? w.kawaii[this.kind] : w.codes[httpErrorTextKey(this._code, w.codes)];\n }\n get titleText(): string {\n return this.title ?? this.text?.title ?? '';\n }\n get descriptionText(): string {\n return this.description ?? this.text?.description ?? '';\n }\n get buttons(): { action: WuErrorAction; label: string; href: string | null }[] {\n const own = this.actions;\n if (own === false || own === 'false') return [];\n const list = Array.isArray(own) ? own : httpErrorActions(this._code);\n const w = this.words;\n return list\n .filter((a) => (a === 'home' ? this.homeLink !== null : a === 'signIn' ? this.signInLink !== null : true))\n .map((a) => ({\n action: a,\n label: a === 'home' ? w.home : a === 'back' ? w.back : a === 'retry' ? w.retry : w.signIn,\n href: a === 'home' ? this.homeLink : a === 'signIn' ? this.signInLink : null,\n }));\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n get rootStyle(): Record<string, any> | null {\n return this.style && typeof this.style === 'object' ? this.style : null;\n }\n\n /** A button: tell the app, then (unless it said no) follow the link, go back or reload. */\n run(action: WuErrorAction, event: Event): void {\n this.action.emit({ action, originalEvent: event });\n if (event.defaultPrevented) return;\n const win = this.doc.defaultView;\n if (!win) return;\n if (action === 'back') {\n event.preventDefault();\n if (win.history.length > 1) win.history.back();\n else win.location.assign(this.homeLink || '/');\n } else if (action === 'retry') {\n event.preventDefault();\n win.location.reload();\n }\n }\n}\n","<div\n class=\"wu-error-page\"\n [class]=\"styleClass || ''\"\n [class.wu-error-page-kawaii]=\"kawaii\"\n [class.wu-error-page-formal]=\"!kawaii\"\n [class.wu-error-page-full]=\"fullPage\"\n [style]=\"rootStyle\"\n [attr.data-code]=\"code\"\n [attr.data-kind]=\"kind\"\n>\n <div class=\"wu-ep-art\" aria-hidden=\"true\">\n <ng-container *ngIf=\"!kawaii; else cute\">\n <span class=\"wu-ep-badge\">\n <svg viewBox=\"0 0 24 24\" focusable=\"false\"><path [attr.d]=\"icon\"></path></svg>\n </span>\n <span class=\"wu-ep-label\">{{ words.error }}</span>\n <span class=\"wu-ep-code\">{{ code }}</span>\n </ng-container>\n <ng-template #cute>\n <svg class=\"wu-ep-mascot\" viewBox=\"0 0 260 220\" focusable=\"false\">\n <path class=\"wu-ep-k-blob\" d=\"M44 118C38 62 86 24 138 28s94 42 88 96-50 76-100 74S50 172 44 118Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M44 43Q44 52 53 52Q44 52 44 61Q44 52 35 52Q44 52 44 43Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M222 143Q222 150 229 150Q222 150 222 157Q222 150 215 150Q222 150 222 143Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-3\" d=\"M210 32Q210 38 216 38Q210 38 210 44Q210 38 204 38Q210 38 210 32Z\"></path>\n <path class=\"wu-ep-k-spark wu-ep-k-spark-2\" d=\"M34 162Q34 168 40 168Q34 168 34 174Q34 168 28 168Q34 168 34 162Z\"></path>\n <ellipse class=\"wu-ep-k-shadow\" cx=\"130\" cy=\"204\" rx=\"58\" ry=\"7\"></ellipse>\n <g class=\"wu-ep-k-bob\">\n <path class=\"wu-ep-k-body\" d=\"M88 96 92 64 116 84ZM172 96 168 64 144 84Z\"></path>\n <path class=\"wu-ep-k-blush\" d=\"M95 88 97 72 109 83ZM165 88 163 72 151 83Z\"></path>\n <path class=\"wu-ep-k-body\" d=\"M66 150C66 104 96 76 130 76s64 28 64 74c0 26-28 36-64 36s-64-10-64-36Z\"></path>\n <ellipse class=\"wu-ep-k-blush\" cx=\"100\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ellipse class=\"wu-ep-k-blush\" cx=\"160\" cy=\"134\" rx=\"9\" ry=\"5.5\"></ellipse>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\">\n <path d=\"M110 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n <path d=\"M150 118m-1.5 0a1.5 1.5 0 1 1 3 0a3 3 0 1 1-6 0a4.5 4.5 0 1 1 9 0a6 6 0 1 1-12 0\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'time'\" class=\"wu-ep-k-line\">\n <path d=\"M102 119q8 7 16 0M142 119q8 7 16 0\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-line\">\n <path d=\"M104 112l9 6-9 6M156 112l-9 6 9 6\"></path>\n </g>\n <g *ngSwitchDefault class=\"wu-ep-k-eyes\">\n <circle class=\"wu-ep-k-ink\" cx=\"110\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-ink\" cx=\"150\" cy=\"118\" r=\"6.5\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"112.5\" cy=\"115.5\" r=\"2.2\"></circle>\n <circle class=\"wu-ep-k-shine\" cx=\"152.5\" cy=\"115.5\" r=\"2.2\"></circle>\n </g>\n </ng-container>\n <ng-container [ngSwitch]=\"kind\">\n <circle *ngSwitchCase=\"'missing'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"4\"></circle>\n <circle *ngSwitchCase=\"'time'\" class=\"wu-ep-k-ink\" cx=\"130\" cy=\"137\" r=\"3.5\"></circle>\n <path *ngSwitchCase=\"'server'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'gateway'\" class=\"wu-ep-k-line\" d=\"M120 137q5-5 10 0t10 0\"></path>\n <path *ngSwitchCase=\"'forbidden'\" class=\"wu-ep-k-line\" d=\"M123 137h14\"></path>\n <path *ngSwitchCase=\"'busy'\" class=\"wu-ep-k-ink\" d=\"M123 133q7 12 14 0Z\"></path>\n <path *ngSwitchCase=\"'down'\" class=\"wu-ep-k-line\" d=\"M125 136q5 4 10 0\"></path>\n <path *ngSwitchDefault class=\"wu-ep-k-line\" d=\"M122 134q4 5 8 0q4 5 8 0\"></path>\n </ng-container>\n <rect class=\"wu-ep-k-sign\" x=\"90\" y=\"146\" width=\"80\" height=\"40\" rx=\"12\"></rect>\n <text class=\"wu-ep-k-code\" x=\"130\" y=\"174\" text-anchor=\"middle\">{{ code }}</text>\n <circle class=\"wu-ep-k-body\" cx=\"92\" cy=\"158\" r=\"8\"></circle>\n <circle class=\"wu-ep-k-body\" cx=\"168\" cy=\"158\" r=\"8\"></circle>\n <ng-container [ngSwitch]=\"kind\">\n <g *ngSwitchCase=\"'missing'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">?</text>\n </g>\n <g *ngSwitchCase=\"'request'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"72\" r=\"17\"></circle>\n <text class=\"wu-ep-k-mark\" x=\"206\" y=\"80\" text-anchor=\"middle\">!</text>\n </g>\n <g *ngSwitchCase=\"'auth'\">\n <rect class=\"wu-ep-k-bubble\" x=\"186\" y=\"58\" width=\"38\" height=\"28\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-blush\" cx=\"197\" cy=\"69\" r=\"4.5\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 67h12M206 75h8\"></path>\n </g>\n <g *ngSwitchCase=\"'forbidden'\">\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M101 105l14 5M159 105l-14 5\"></path>\n <path class=\"wu-ep-k-line\" d=\"M198 74v-6a8 8 0 0 1 16 0v6\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"191\" y=\"72\" width=\"30\" height=\"24\" rx=\"6\"></rect>\n <circle class=\"wu-ep-k-shine\" cx=\"206\" cy=\"83\" r=\"3.2\"></circle>\n </g>\n <g *ngSwitchCase=\"'time'\">\n <circle class=\"wu-ep-k-bubble\" cx=\"206\" cy=\"70\" r=\"17\"></circle>\n <path class=\"wu-ep-k-line wu-ep-k-thin\" d=\"M206 70v-9M206 70l6 4\"></path>\n </g>\n <g *ngSwitchCase=\"'busy'\">\n <path class=\"wu-ep-k-drop\" d=\"M188 86c4 6 6 9 6 12a6 6 0 0 1-12 0c0-3 2-6 6-12Z\"></path>\n <path class=\"wu-ep-k-drop wu-ep-k-drop-2\" d=\"M70 98c3 4.5 4.5 7 4.5 9a4.5 4.5 0 0 1-9 0c0-2 1.5-4.5 4.5-9Z\"></path>\n </g>\n <g *ngSwitchCase=\"'server'\" class=\"wu-ep-k-orbit\">\n <path class=\"wu-ep-k-spark\" d=\"M98 56Q98 62 104 62Q98 62 98 68Q98 62 92 62Q98 62 98 56Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M162 52Q162 58 168 58Q162 58 162 64Q162 58 156 58Q162 58 162 52Z\"></path>\n <path class=\"wu-ep-k-spark\" d=\"M130 40Q130 45 135 45Q130 45 130 50Q130 45 125 45Q130 45 130 40Z\"></path>\n </g>\n <g *ngSwitchCase=\"'gateway'\">\n <path class=\"wu-ep-k-line\" d=\"M176 156c22-4 26-34 20-52\"></path>\n <rect class=\"wu-ep-k-sign wu-ep-k-outline\" x=\"186\" y=\"86\" width=\"22\" height=\"18\" rx=\"5\"></rect>\n <path class=\"wu-ep-k-line\" d=\"M192 86v-8M202 86v-8\"></path>\n </g>\n <g *ngSwitchCase=\"'down'\" class=\"wu-ep-k-snore\">\n <text class=\"wu-ep-k-mark\" x=\"196\" y=\"78\">Z</text>\n <text class=\"wu-ep-k-mark wu-ep-k-small\" x=\"214\" y=\"58\">z</text>\n </g>\n </ng-container>\n </g>\n </svg>\n </ng-template>\n </div>\n <div class=\"wu-ep-title\" role=\"heading\" [attr.aria-level]=\"headingLevel\">{{ titleText }}</div>\n <p *ngIf=\"descriptionText\" class=\"wu-ep-description\">{{ descriptionText }}</p>\n <div class=\"wu-ep-actions\">\n <ng-container *ngFor=\"let b of buttons; let first = first\">\n <a *ngIf=\"b.href !== null; else plain\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.href]=\"b.href\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</a>\n <ng-template #plain>\n <button type=\"button\" class=\"wu-ep-button\" [class.wu-ep-button-main]=\"first\" [attr.data-action]=\"b.action\" (click)=\"run(b.action, $event)\">{{ b.label }}</button>\n </ng-template>\n </ng-container>\n <ng-content select=\"[wuErrorAction]\"></ng-content>\n </div>\n <p *ngIf=\"reference\" class=\"wu-ep-reference\">\n {{ words.reference }} <code>{{ reference }}</code>\n </p>\n <div class=\"wu-ep-content\"><ng-content></ng-content></div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { WuErrorPage } from './errorpage.component';\n\n/** For NgModule apps. Standalone apps can import `WuErrorPage` directly. */\n@NgModule({\n imports: [WuErrorPage],\n exports: [WuErrorPage],\n})\nexport class WuErrorPageModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["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