@wirabyte/ui 2.0.0-beta.0 → 3.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +24 -24
- 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 +8 -8
- package/fesm2022/wirabyte-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-button.mjs +38 -38
- 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-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 +20 -20
- 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-datepicker.mjs +83 -83
- package/fesm2022/wirabyte-ui-datepicker.mjs.map +1 -1
- 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 +7 -7
- 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 +35 -35
- 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 +11 -11
- 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 +7 -7
- 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-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 +33 -33
- package/fesm2022/wirabyte-ui-selectbutton.mjs.map +1 -1
- 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-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 +86 -86
- 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 +17 -17
- 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 +13 -13
- package/fesm2022/wirabyte-ui-textarea.mjs.map +1 -1
- package/fesm2022/wirabyte-ui-thai.mjs +22 -22
- 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 +7 -7
- 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 +123 -326
- package/schematics/ng-add/schema.json +27 -2
- package/theme/_version.scss +1 -1
- package/themes/glass/amber.css +1181 -0
- package/themes/glass/blue.css +1181 -0
- package/themes/glass/cyan.css +1181 -0
- package/themes/glass/emerald.css +1181 -0
- package/themes/glass/fuchsia.css +1181 -0
- package/themes/glass/green.css +1181 -0
- package/themes/glass/indigo.css +1181 -0
- package/themes/glass/lime.css +1181 -0
- package/themes/glass/orange.css +1181 -0
- package/themes/glass/pink.css +1181 -0
- package/themes/glass/purple.css +1181 -0
- package/themes/glass/red.css +1181 -0
- package/themes/glass/rose.css +1181 -0
- package/themes/glass/sky.css +1181 -0
- package/themes/glass/teal.css +1181 -0
- package/themes/glass/theme.css +1181 -0
- package/themes/glass/violet.css +1181 -0
- package/themes/glass/wira.css +1181 -0
- package/themes/glass/yellow.css +1181 -0
- package/themes/lanna/amber.css +1175 -0
- package/themes/lanna/blue.css +1175 -0
- package/themes/lanna/cyan.css +1175 -0
- package/themes/lanna/emerald.css +1175 -0
- package/themes/lanna/fuchsia.css +1175 -0
- package/themes/lanna/green.css +1175 -0
- package/themes/lanna/indigo.css +1175 -0
- package/themes/lanna/lime.css +1175 -0
- package/themes/lanna/orange.css +1175 -0
- package/themes/lanna/pink.css +1175 -0
- package/themes/lanna/purple.css +1175 -0
- package/themes/lanna/red.css +1175 -0
- package/themes/lanna/rose.css +1175 -0
- package/themes/lanna/sky.css +1175 -0
- package/themes/lanna/teal.css +1175 -0
- package/themes/lanna/theme.css +1175 -0
- package/themes/lanna/violet.css +1175 -0
- package/themes/lanna/wira.css +1175 -0
- package/themes/lanna/yellow.css +1175 -0
- package/themes/nakhon/amber.css +1175 -0
- package/themes/nakhon/blue.css +1175 -0
- package/themes/nakhon/cyan.css +1175 -0
- package/themes/nakhon/emerald.css +1175 -0
- package/themes/nakhon/fuchsia.css +1175 -0
- package/themes/nakhon/green.css +1175 -0
- package/themes/nakhon/indigo.css +1175 -0
- package/themes/nakhon/lime.css +1175 -0
- package/themes/nakhon/orange.css +1175 -0
- package/themes/nakhon/pink.css +1175 -0
- package/themes/nakhon/purple.css +1175 -0
- package/themes/nakhon/red.css +1175 -0
- package/themes/nakhon/rose.css +1175 -0
- package/themes/nakhon/sky.css +1175 -0
- package/themes/nakhon/teal.css +1175 -0
- package/themes/nakhon/theme.css +1175 -0
- package/themes/nakhon/violet.css +1175 -0
- package/themes/nakhon/wira.css +1175 -0
- package/themes/nakhon/yellow.css +1175 -0
- package/themes/siam/amber.css +1175 -0
- package/themes/siam/blue.css +1175 -0
- package/themes/siam/cyan.css +1175 -0
- package/themes/siam/emerald.css +1175 -0
- package/themes/siam/fuchsia.css +1175 -0
- package/themes/siam/green.css +1175 -0
- package/themes/siam/indigo.css +1175 -0
- package/themes/siam/lime.css +1175 -0
- package/themes/siam/orange.css +1175 -0
- package/themes/siam/pink.css +1175 -0
- package/themes/siam/purple.css +1175 -0
- package/themes/siam/red.css +1175 -0
- package/themes/siam/rose.css +1175 -0
- package/themes/siam/sky.css +1175 -0
- package/themes/siam/teal.css +1175 -0
- package/themes/siam/theme.css +1175 -0
- package/themes/siam/violet.css +1175 -0
- package/themes/siam/wira.css +1175 -0
- package/themes/siam/yellow.css +1175 -0
- package/themes/wira/amber.css +1175 -0
- package/themes/wira/blue.css +1175 -0
- package/themes/wira/cyan.css +1175 -0
- package/themes/wira/emerald.css +1175 -0
- package/themes/wira/fuchsia.css +1175 -0
- package/themes/wira/green.css +1175 -0
- package/themes/wira/indigo.css +1175 -0
- package/themes/wira/lime.css +1175 -0
- package/themes/wira/orange.css +1175 -0
- package/themes/wira/pink.css +1175 -0
- package/themes/wira/purple.css +1175 -0
- package/themes/wira/red.css +1175 -0
- package/themes/wira/rose.css +1175 -0
- package/themes/wira/sky.css +1175 -0
- package/themes/wira/teal.css +1175 -0
- package/themes/wira/theme.css +1175 -0
- package/themes/wira/violet.css +1175 -0
- package/themes/wira/wira.css +1175 -0
- package/themes/wira/yellow.css +1175 -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 +49 -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 +52 -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-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 +330 -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 +4296 -0
- package/types/wirabyte-ui-datepicker.d.ts +251 -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 +107 -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-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 +80 -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-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 +37 -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
|
@@ -0,0 +1,1343 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, OnChanges, DoCheck, OnDestroy, Type, SimpleChanges, OnInit, TemplateRef, AfterContentInit, AfterViewInit, EventEmitter, QueryList, ElementRef, Injector } from '@angular/core';
|
|
3
|
+
import * as i11 from '@wirabyte/ui/config';
|
|
4
|
+
import { WuTemplate } from '@wirabyte/ui/config';
|
|
5
|
+
import { FlowNode, FlowPosition, FlowEdge, FlowViewport, FlowPadding, FlowRect, FlowXY, FlowConnection, FlowDimensions, FlowTextKey, FlowResizeLimits, FlowConnectionMode, FlowStyle, FlowCoordinateExtent, FlowNodeChange, FlowEdgeChange, FlowGuide, FlowLayoutOptions, FlowTreeLayoutOptions, FlowJSON, FlowSvgOptions, FlowHandleType, FlowBackgroundPattern, FlowResizeDirection } from '@wirabyte/ui/core';
|
|
6
|
+
export { FlowBox, FlowConnection, FlowConnectionMode, FlowCoordinateExtent, FlowDimensions, FlowEdge, FlowEdgeChange, FlowEdgeMarker, FlowEdgeType, FlowHandleBounds, FlowHandleType, FlowHistory, FlowJSON, FlowLayoutDirection, FlowLayoutOptions, FlowMarker, FlowMarkerType, FlowNode, FlowNodeChange, FlowPadding, FlowPathOptions, FlowPathResult, FlowPosition, FlowRect, FlowStyle, FlowSvgOptions, FlowTreeLayoutOptions, FlowViewport, FlowXY, addEdge, applyEdgeChanges, applyNodeChanges, flowFromJSON, flowHistoryKey, flowToJSON, flowToSvg, getBezierPath, getConnectedEdges, getEdgeCenter, getEdgePath, getIncomers, getIntersectingNodes, getNodesBounds, getNodesInside, getOutgoers, getSimpleBezierPath, getSmoothStepPath, getStepPath, getStraightPath, getViewportForBounds, isEdge, isNode, layoutFlow, layoutTree, reconnectEdge, updateEdge } from '@wirabyte/ui/core';
|
|
7
|
+
|
|
8
|
+
/** Shorter names for templates and apps: `WuFlowNode<Person>` is a `FlowNode<Person>`. */
|
|
9
|
+
type WuFlowNode<T = any> = FlowNode<T>;
|
|
10
|
+
type WuFlowEdge<T = any> = FlowEdge<T>;
|
|
11
|
+
/**
|
|
12
|
+
* What a node template gets: `<ng-template wuFlowNode="person" let-node>` makes `node` this object
|
|
13
|
+
* (`node.data`, `node.selected`, `node.id` …); each field is also available by name (`let-data="data"`).
|
|
14
|
+
*/
|
|
15
|
+
interface WuFlowNodeContext<T = any> {
|
|
16
|
+
$implicit: WuFlowNodeContext<T>;
|
|
17
|
+
/** The node object as the app gave it (with the flow's latest position / selection). */
|
|
18
|
+
node: FlowNode<T>;
|
|
19
|
+
id: string;
|
|
20
|
+
type: string;
|
|
21
|
+
data: T;
|
|
22
|
+
selected: boolean;
|
|
23
|
+
dragging: boolean;
|
|
24
|
+
/** The node may start and take connections now (its own setting, the flow's, and the lock). */
|
|
25
|
+
isConnectable: boolean;
|
|
26
|
+
/** Position in flow coordinates, adding up the parents. */
|
|
27
|
+
positionAbsoluteX: number;
|
|
28
|
+
positionAbsoluteY: number;
|
|
29
|
+
/** Measured size in px (0 until measured). */
|
|
30
|
+
width: number;
|
|
31
|
+
height: number;
|
|
32
|
+
zIndex: number;
|
|
33
|
+
sourcePosition: FlowPosition;
|
|
34
|
+
targetPosition: FlowPosition;
|
|
35
|
+
parentId: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* What an edge template gets: `<ng-template wuFlowEdge="special" let-edge>` (draw with `<svg:path [attr.d]="edge.path">`),
|
|
39
|
+
* and `wuFlowEdgeLabel` templates (HTML at `labelX`, `labelY`).
|
|
40
|
+
*/
|
|
41
|
+
interface WuFlowEdgeContext<T = any> {
|
|
42
|
+
$implicit: WuFlowEdgeContext<T>;
|
|
43
|
+
edge: FlowEdge<T>;
|
|
44
|
+
id: string;
|
|
45
|
+
type: string;
|
|
46
|
+
data: T;
|
|
47
|
+
/** The path the edge's shape gives (a bezier for custom types). */
|
|
48
|
+
path: string;
|
|
49
|
+
labelX: number;
|
|
50
|
+
labelY: number;
|
|
51
|
+
sourceX: number;
|
|
52
|
+
sourceY: number;
|
|
53
|
+
targetX: number;
|
|
54
|
+
targetY: number;
|
|
55
|
+
sourcePosition: FlowPosition;
|
|
56
|
+
targetPosition: FlowPosition;
|
|
57
|
+
selected: boolean;
|
|
58
|
+
animated: boolean;
|
|
59
|
+
label: string;
|
|
60
|
+
/** `url(#…)` for `marker-start` / `marker-end`, or null. */
|
|
61
|
+
markerStart: string | null;
|
|
62
|
+
markerEnd: string | null;
|
|
63
|
+
style: Record<string, any> | null;
|
|
64
|
+
interactionWidth: number;
|
|
65
|
+
}
|
|
66
|
+
/** What a `wuFlowConnectionLine` template gets while a connection is dragged. */
|
|
67
|
+
interface WuFlowConnectionLineContext {
|
|
68
|
+
$implicit: WuFlowConnectionLineContext;
|
|
69
|
+
/** The path of the built-in line, for templates that only restyle it. */
|
|
70
|
+
path: string;
|
|
71
|
+
fromX: number;
|
|
72
|
+
fromY: number;
|
|
73
|
+
toX: number;
|
|
74
|
+
toY: number;
|
|
75
|
+
fromPosition: FlowPosition;
|
|
76
|
+
toPosition: FlowPosition;
|
|
77
|
+
/** Over a handle the connection may end on; null while over nothing. */
|
|
78
|
+
valid: boolean | null;
|
|
79
|
+
fromNodeId: string;
|
|
80
|
+
fromHandleId: string | null;
|
|
81
|
+
}
|
|
82
|
+
/** Where a panel, the minimap or the controls sit in the pane. */
|
|
83
|
+
type WuFlowPanelPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center-left' | 'center-right';
|
|
84
|
+
interface WuFlowNodeEvent {
|
|
85
|
+
event: MouseEvent | PointerEvent | KeyboardEvent;
|
|
86
|
+
node: FlowNode;
|
|
87
|
+
}
|
|
88
|
+
interface WuFlowNodeDragEvent {
|
|
89
|
+
event: PointerEvent | KeyboardEvent | null;
|
|
90
|
+
/** The node under the pointer. */
|
|
91
|
+
node: FlowNode;
|
|
92
|
+
/** Every node moving with it. */
|
|
93
|
+
nodes: FlowNode[];
|
|
94
|
+
}
|
|
95
|
+
interface WuFlowEdgeEvent {
|
|
96
|
+
event: MouseEvent | PointerEvent | KeyboardEvent;
|
|
97
|
+
edge: FlowEdge;
|
|
98
|
+
}
|
|
99
|
+
interface WuFlowMoveEvent {
|
|
100
|
+
event: Event | null;
|
|
101
|
+
viewport: FlowViewport;
|
|
102
|
+
}
|
|
103
|
+
interface WuFlowConnectStartEvent {
|
|
104
|
+
event: PointerEvent | KeyboardEvent | null;
|
|
105
|
+
nodeId: string;
|
|
106
|
+
handleId: string | null;
|
|
107
|
+
handleType: 'source' | 'target';
|
|
108
|
+
}
|
|
109
|
+
interface WuFlowConnectEndEvent {
|
|
110
|
+
event: PointerEvent | KeyboardEvent | null;
|
|
111
|
+
/** The connection made, or null when the drag ended over nothing it could connect to. */
|
|
112
|
+
connection: FlowConnection | null;
|
|
113
|
+
isValid: boolean;
|
|
114
|
+
}
|
|
115
|
+
interface WuFlowReconnectEvent {
|
|
116
|
+
edge: FlowEdge;
|
|
117
|
+
connection: FlowConnection;
|
|
118
|
+
}
|
|
119
|
+
interface WuFlowReconnectStartEvent {
|
|
120
|
+
event: PointerEvent;
|
|
121
|
+
edge: FlowEdge;
|
|
122
|
+
/** The end being moved. */
|
|
123
|
+
handleType: 'source' | 'target';
|
|
124
|
+
}
|
|
125
|
+
interface WuFlowReconnectEndEvent {
|
|
126
|
+
event: PointerEvent | null;
|
|
127
|
+
edge: FlowEdge;
|
|
128
|
+
connection: FlowConnection | null;
|
|
129
|
+
}
|
|
130
|
+
interface WuFlowSelectionChange {
|
|
131
|
+
nodes: FlowNode[];
|
|
132
|
+
edges: FlowEdge[];
|
|
133
|
+
}
|
|
134
|
+
interface WuFlowDeleteEvent {
|
|
135
|
+
nodes: FlowNode[];
|
|
136
|
+
edges: FlowEdge[];
|
|
137
|
+
}
|
|
138
|
+
/** An output of a node component (`nodeTypes`): which node, which output, what it sent. */
|
|
139
|
+
interface WuFlowNodeComponentEvent {
|
|
140
|
+
node: FlowNode;
|
|
141
|
+
name: string;
|
|
142
|
+
value: unknown;
|
|
143
|
+
}
|
|
144
|
+
interface WuFlowViewportOptions {
|
|
145
|
+
/** Animation length in ms (0 = jump; skipped when the user asks for reduced motion). */
|
|
146
|
+
duration?: number;
|
|
147
|
+
}
|
|
148
|
+
interface WuFlowFitViewOptions extends WuFlowViewportOptions {
|
|
149
|
+
/** Fraction of the pane (`0.1`, the default) or px (`'24px'`). */
|
|
150
|
+
padding?: FlowPadding;
|
|
151
|
+
includeHiddenNodes?: boolean;
|
|
152
|
+
minZoom?: number;
|
|
153
|
+
maxZoom?: number;
|
|
154
|
+
/** Fit these nodes only (ids or nodes). */
|
|
155
|
+
nodes?: (string | {
|
|
156
|
+
id: string;
|
|
157
|
+
})[];
|
|
158
|
+
}
|
|
159
|
+
interface WuFlowSetCenterOptions extends WuFlowViewportOptions {
|
|
160
|
+
/** Default: the current zoom. */
|
|
161
|
+
zoom?: number;
|
|
162
|
+
}
|
|
163
|
+
interface WuFlowFitBoundsOptions extends WuFlowViewportOptions {
|
|
164
|
+
padding?: FlowPadding;
|
|
165
|
+
}
|
|
166
|
+
/** `beforeDelete`: return false to keep everything, or the subset to delete. */
|
|
167
|
+
type WuFlowBeforeDelete = (elements: {
|
|
168
|
+
nodes: FlowNode[];
|
|
169
|
+
edges: FlowEdge[];
|
|
170
|
+
}) => boolean | {
|
|
171
|
+
nodes: FlowNode[];
|
|
172
|
+
edges: FlowEdge[];
|
|
173
|
+
} | Promise<boolean | {
|
|
174
|
+
nodes: FlowNode[];
|
|
175
|
+
edges: FlowEdge[];
|
|
176
|
+
}>;
|
|
177
|
+
/** A node's box as add-ons see it. */
|
|
178
|
+
interface WuFlowNodeRect extends FlowRect {
|
|
179
|
+
id: string;
|
|
180
|
+
node: FlowNode;
|
|
181
|
+
selected: boolean;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* The flow as `(init)` hands it over and `@ViewChild(WuFlow)` sees it: viewport, node and edge methods. Every method
|
|
185
|
+
* works before the first render too (it then applies once the flow is measured).
|
|
186
|
+
*/
|
|
187
|
+
interface WuFlowApi {
|
|
188
|
+
getNodes(): FlowNode[];
|
|
189
|
+
getEdges(): FlowEdge[];
|
|
190
|
+
getNode(id: string): FlowNode | undefined;
|
|
191
|
+
getEdge(id: string): FlowEdge | undefined;
|
|
192
|
+
setNodes(nodes: FlowNode[] | ((nodes: FlowNode[]) => FlowNode[])): void;
|
|
193
|
+
setEdges(edges: FlowEdge[] | ((edges: FlowEdge[]) => FlowEdge[])): void;
|
|
194
|
+
addNodes(nodes: FlowNode | FlowNode[]): void;
|
|
195
|
+
addEdges(edges: FlowEdge | FlowEdge[]): void;
|
|
196
|
+
getViewport(): FlowViewport;
|
|
197
|
+
setViewport(viewport: Partial<FlowViewport>, options?: WuFlowViewportOptions): Promise<boolean>;
|
|
198
|
+
getZoom(): number;
|
|
199
|
+
zoomIn(options?: WuFlowViewportOptions): Promise<boolean>;
|
|
200
|
+
zoomOut(options?: WuFlowViewportOptions): Promise<boolean>;
|
|
201
|
+
zoomTo(zoom: number, options?: WuFlowViewportOptions): Promise<boolean>;
|
|
202
|
+
fitView(options?: WuFlowFitViewOptions): Promise<boolean>;
|
|
203
|
+
fitBounds(bounds: FlowRect, options?: WuFlowFitBoundsOptions): Promise<boolean>;
|
|
204
|
+
setCenter(x: number, y: number, options?: WuFlowSetCenterOptions): Promise<boolean>;
|
|
205
|
+
screenToFlowPosition(point: FlowXY, options?: {
|
|
206
|
+
snapToGrid?: boolean;
|
|
207
|
+
}): FlowXY;
|
|
208
|
+
flowToScreenPosition(point: FlowXY): FlowXY;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Injected inside a node template or node component: the node's context, kept up to date
|
|
212
|
+
* (`inject(WU_FLOW_NODE).selected`).
|
|
213
|
+
*/
|
|
214
|
+
declare const WU_FLOW_NODE: InjectionToken<WuFlowNodeContext<any>>;
|
|
215
|
+
|
|
216
|
+
/** What changed in a render: the add-ons use it to update only when they need to. */
|
|
217
|
+
type ɵWuFlowChange = 'viewport' | 'nodes' | 'selection' | 'interactive';
|
|
218
|
+
/** A node's box for the resizer: `position` relative to its parent, `absolute` in flow coordinates. */
|
|
219
|
+
interface ɵWuFlowNodeBox {
|
|
220
|
+
position: FlowXY;
|
|
221
|
+
absolute: FlowXY;
|
|
222
|
+
width: number;
|
|
223
|
+
height: number;
|
|
224
|
+
parentId: string | null;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* The flow as its add-ons (handles, background, minimap, controls, toolbar, resizer) see it. `WuFlow` provides itself
|
|
228
|
+
* under this token, so the add-ons do not import the component (no import cycles) and work in every version.
|
|
229
|
+
*/
|
|
230
|
+
declare abstract class ɵWuFlowHost {
|
|
231
|
+
/** Unique per flow, for SVG ids. */
|
|
232
|
+
abstract readonly flowId: string;
|
|
233
|
+
abstract getViewport(): FlowViewport;
|
|
234
|
+
abstract ɵpaneSize(): FlowDimensions;
|
|
235
|
+
abstract ɵminZoom(): number;
|
|
236
|
+
abstract ɵmaxZoom(): number;
|
|
237
|
+
abstract ɵisInteractive(): boolean;
|
|
238
|
+
abstract setInteractive(on: boolean): void;
|
|
239
|
+
abstract ɵtext(key: FlowTextKey): string;
|
|
240
|
+
/** Called after each render that changed something; returns the unsubscribe function. */
|
|
241
|
+
abstract ɵlisten(fn: (changes: ReadonlySet<ɵWuFlowChange>) => void): () => void;
|
|
242
|
+
/** Nodes that show (not hidden), in flow coordinates. */
|
|
243
|
+
abstract ɵnodeRects(): WuFlowNodeRect[];
|
|
244
|
+
abstract ɵisNodeSelected(id: string): boolean;
|
|
245
|
+
abstract ɵselectedNodeCount(): number;
|
|
246
|
+
abstract zoomIn(options?: WuFlowViewportOptions): Promise<boolean>;
|
|
247
|
+
abstract zoomOut(options?: WuFlowViewportOptions): Promise<boolean>;
|
|
248
|
+
abstract fitView(options?: WuFlowFitViewOptions): Promise<boolean>;
|
|
249
|
+
abstract setViewport(viewport: Partial<FlowViewport>, options?: WuFlowViewportOptions): Promise<boolean>;
|
|
250
|
+
abstract setCenter(x: number, y: number, options?: WuFlowSetCenterOptions): Promise<boolean>;
|
|
251
|
+
/** Zooms by a factor about a pane point (the middle when left out). */
|
|
252
|
+
abstract ɵzoomBy(factor: number, anchor?: FlowXY, options?: WuFlowViewportOptions): Promise<boolean>;
|
|
253
|
+
/** A handle of node `nodeId` appeared, moved or went away: measure the node's handles again. */
|
|
254
|
+
abstract ɵhandlesChanged(nodeId: string): void;
|
|
255
|
+
abstract ɵnodeBox(nodeId: string): ɵWuFlowNodeBox | null;
|
|
256
|
+
/** The resizer: `rect` is the node's new box, `position` relative to its parent. */
|
|
257
|
+
abstract ɵresizeNode(nodeId: string, rect: FlowRect, phase: 'start' | 'move' | 'end', event: Event | null): void;
|
|
258
|
+
/** A resizer inside node `nodeId` (so Alt + arrow keys resize it); returns the unregister function. */
|
|
259
|
+
abstract ɵregisterResizer(nodeId: string, limits: () => FlowResizeLimits): () => void;
|
|
260
|
+
abstract ɵannounce(message: string): void;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/** The flow's side of the node wrapper: it measures the element while it exists. */
|
|
264
|
+
declare abstract class ɵWuFlowNodeRegistry {
|
|
265
|
+
abstract ɵregisterNode(id: string, el: HTMLElement): void;
|
|
266
|
+
abstract ɵunregisterNode(id: string, el: HTMLElement): void;
|
|
267
|
+
abstract ɵnodeComponentEvent(node: FlowNode, name: string, value: unknown): void;
|
|
268
|
+
}
|
|
269
|
+
/** Marks a node's wrapper element so the flow can measure it. Internal. */
|
|
270
|
+
declare class ɵWuFlowNodeWrapper implements OnInit, OnChanges, OnDestroy {
|
|
271
|
+
nodeId: string;
|
|
272
|
+
private readonly el;
|
|
273
|
+
private readonly registry;
|
|
274
|
+
private registered;
|
|
275
|
+
ngOnInit(): void;
|
|
276
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
277
|
+
ngOnDestroy(): void;
|
|
278
|
+
private register;
|
|
279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ɵWuFlowNodeWrapper, never>;
|
|
280
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ɵWuFlowNodeWrapper, "[wuFlowNodeWrapper]", never, { "nodeId": { "alias": "wuFlowNodeWrapper"; "required": false; }; }, {}, never, never, true, never>;
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Draws a node with a component from `nodeTypes`. The component gets whichever of these inputs it declares: `node`,
|
|
284
|
+
* `data`, `id`, `type`, `selected`, `dragging`, `isConnectable`, `width`, `height`, `positionAbsoluteX/Y`, `zIndex`,
|
|
285
|
+
* `sourcePosition`, `targetPosition`, `parentId` (or `context` for all of them); its outputs come out of the flow's
|
|
286
|
+
* `(nodeComponentEvent)`. Internal.
|
|
287
|
+
*/
|
|
288
|
+
declare class ɵWuFlowNodeComponentOutlet implements OnChanges, DoCheck, OnDestroy {
|
|
289
|
+
wuFlowNodeComponent: Type<unknown> | null;
|
|
290
|
+
wuFlowNodeContext: WuFlowNodeContext | null;
|
|
291
|
+
private ref;
|
|
292
|
+
private inputs;
|
|
293
|
+
private subs;
|
|
294
|
+
private readonly vcr;
|
|
295
|
+
private readonly registry;
|
|
296
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
297
|
+
ngDoCheck(): void;
|
|
298
|
+
ngOnDestroy(): void;
|
|
299
|
+
private create;
|
|
300
|
+
private push;
|
|
301
|
+
private clear;
|
|
302
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ɵWuFlowNodeComponentOutlet, never>;
|
|
303
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ɵWuFlowNodeComponentOutlet, "[wuFlowNodeComponent]", never, { "wuFlowNodeComponent": { "alias": "wuFlowNodeComponent"; "required": false; }; "wuFlowNodeContext": { "alias": "wuFlowNodeContext"; "required": false; }; }, {}, never, never, true, never>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* A node template for one node type: `<ng-template wuFlowNode="person" let-node>…</ng-template>` draws every node with
|
|
308
|
+
* `type: 'person'`. Without a type (`<ng-template wuFlowNode let-node>`) it draws every node that has no template of
|
|
309
|
+
* its own (the built-in `input`, `output` and `group` types keep their look). Put `<wu-flow-handle>`s inside for the
|
|
310
|
+
* places edges attach. Works the same in every version.
|
|
311
|
+
*/
|
|
312
|
+
declare class WuFlowNodeTemplate {
|
|
313
|
+
/** The node type this template draws; empty for the default template. */
|
|
314
|
+
type: string | null | undefined;
|
|
315
|
+
readonly template: TemplateRef<WuFlowNodeContext>;
|
|
316
|
+
static ngTemplateContextGuard(_dir: WuFlowNodeTemplate, _ctx: unknown): _ctx is WuFlowNodeContext;
|
|
317
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowNodeTemplate, never>;
|
|
318
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WuFlowNodeTemplate, "ng-template[wuFlowNode]", never, { "type": { "alias": "wuFlowNode"; "required": false; }; }, {}, never, never, true, never>;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* An edge template for one edge type: `<ng-template wuFlowEdge="special" let-edge><svg:path [attr.d]="edge.path" />
|
|
322
|
+
* </ng-template>`. The template sits inside the edge's SVG group, so write its elements with the `svg:` prefix. The
|
|
323
|
+
* flow adds the wide invisible path that catches clicks. Without a type it draws every edge with a custom type.
|
|
324
|
+
*/
|
|
325
|
+
declare class WuFlowEdgeTemplate {
|
|
326
|
+
type: string | null | undefined;
|
|
327
|
+
readonly template: TemplateRef<WuFlowEdgeContext>;
|
|
328
|
+
static ngTemplateContextGuard(_dir: WuFlowEdgeTemplate, _ctx: unknown): _ctx is WuFlowEdgeContext;
|
|
329
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowEdgeTemplate, never>;
|
|
330
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WuFlowEdgeTemplate, "ng-template[wuFlowEdge]", never, { "type": { "alias": "wuFlowEdge"; "required": false; }; }, {}, never, never, true, never>;
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* HTML drawn at an edge's label position instead of the plain label (a button on the edge, a badge):
|
|
334
|
+
* `<ng-template wuFlowEdgeLabel="removable" let-edge>`. Without a type it applies to every edge that has a `label`.
|
|
335
|
+
*/
|
|
336
|
+
declare class WuFlowEdgeLabelTemplate {
|
|
337
|
+
type: string | null | undefined;
|
|
338
|
+
readonly template: TemplateRef<WuFlowEdgeContext>;
|
|
339
|
+
static ngTemplateContextGuard(_dir: WuFlowEdgeLabelTemplate, _ctx: unknown): _ctx is WuFlowEdgeContext;
|
|
340
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowEdgeLabelTemplate, never>;
|
|
341
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WuFlowEdgeLabelTemplate, "ng-template[wuFlowEdgeLabel]", never, { "type": { "alias": "wuFlowEdgeLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
342
|
+
}
|
|
343
|
+
/** The line drawn while a connection is dragged: `<ng-template wuFlowConnectionLine let-line><svg:path …/></ng-template>`. */
|
|
344
|
+
declare class WuFlowConnectionLineTemplate {
|
|
345
|
+
readonly template: TemplateRef<WuFlowConnectionLineContext>;
|
|
346
|
+
static ngTemplateContextGuard(_dir: WuFlowConnectionLineTemplate, _ctx: unknown): _ctx is WuFlowConnectionLineContext;
|
|
347
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowConnectionLineTemplate, never>;
|
|
348
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WuFlowConnectionLineTemplate, "ng-template[wuFlowConnectionLine]", never, {}, {}, never, never, true, never>;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/** A node as drawn. One object per node id, kept across renders (so its template context and injector stay put). */
|
|
352
|
+
interface ɵWuFlowNodeView {
|
|
353
|
+
id: string;
|
|
354
|
+
node: FlowNode;
|
|
355
|
+
type: string;
|
|
356
|
+
/** Absolute position and the size used for geometry. */
|
|
357
|
+
x: number;
|
|
358
|
+
y: number;
|
|
359
|
+
width: number;
|
|
360
|
+
height: number;
|
|
361
|
+
z: number;
|
|
362
|
+
transform: string;
|
|
363
|
+
classes: string;
|
|
364
|
+
styleWidth: number | null;
|
|
365
|
+
styleHeight: number | null;
|
|
366
|
+
style: FlowStyle | null;
|
|
367
|
+
ariaLabel: string;
|
|
368
|
+
label: string;
|
|
369
|
+
draggable: boolean;
|
|
370
|
+
selectable: boolean;
|
|
371
|
+
connectable: boolean;
|
|
372
|
+
focusable: boolean;
|
|
373
|
+
render: 'template' | 'component' | 'builtin';
|
|
374
|
+
template: TemplateRef<unknown> | null;
|
|
375
|
+
component: Type<unknown> | null;
|
|
376
|
+
hasSource: boolean;
|
|
377
|
+
hasTarget: boolean;
|
|
378
|
+
sourcePosition: FlowPosition;
|
|
379
|
+
targetPosition: FlowPosition;
|
|
380
|
+
ctx: WuFlowNodeContext;
|
|
381
|
+
injector: Injector;
|
|
382
|
+
}
|
|
383
|
+
/** An edge as drawn. */
|
|
384
|
+
interface ɵWuFlowEdgeView {
|
|
385
|
+
id: string;
|
|
386
|
+
edge: FlowEdge;
|
|
387
|
+
type: string;
|
|
388
|
+
path: string;
|
|
389
|
+
labelX: number;
|
|
390
|
+
labelY: number;
|
|
391
|
+
sourceX: number;
|
|
392
|
+
sourceY: number;
|
|
393
|
+
targetX: number;
|
|
394
|
+
targetY: number;
|
|
395
|
+
z: number;
|
|
396
|
+
classes: string;
|
|
397
|
+
style: FlowStyle | null;
|
|
398
|
+
markerStart: string | null;
|
|
399
|
+
markerEnd: string | null;
|
|
400
|
+
focusable: boolean;
|
|
401
|
+
selectable: boolean;
|
|
402
|
+
updateSource: boolean;
|
|
403
|
+
updateTarget: boolean;
|
|
404
|
+
interactionWidth: number;
|
|
405
|
+
label: string;
|
|
406
|
+
hasLabel: boolean;
|
|
407
|
+
labelClasses: string;
|
|
408
|
+
labelTransform: string;
|
|
409
|
+
labelStyle: FlowStyle | null;
|
|
410
|
+
labelBoxStyle: FlowStyle | null;
|
|
411
|
+
ariaLabel: string;
|
|
412
|
+
template: TemplateRef<unknown> | null;
|
|
413
|
+
labelTemplate: TemplateRef<unknown> | null;
|
|
414
|
+
ctx: WuFlowEdgeContext;
|
|
415
|
+
}
|
|
416
|
+
interface ɵWuFlowEdgeLayer {
|
|
417
|
+
z: number;
|
|
418
|
+
edges: ɵWuFlowEdgeView[];
|
|
419
|
+
}
|
|
420
|
+
interface ɵWuFlowMarkerView {
|
|
421
|
+
id: string;
|
|
422
|
+
shape: string;
|
|
423
|
+
width: number;
|
|
424
|
+
height: number;
|
|
425
|
+
className: string;
|
|
426
|
+
fill: string | null;
|
|
427
|
+
stroke: string | null;
|
|
428
|
+
strokeWidth: number;
|
|
429
|
+
}
|
|
430
|
+
interface ɵWuFlowConnectionView {
|
|
431
|
+
path: string;
|
|
432
|
+
valid: boolean | null;
|
|
433
|
+
ctx: WuFlowConnectionLineContext;
|
|
434
|
+
}
|
|
435
|
+
/** `layout()`: `algorithm: 'tree'` for org charts, otherwise layered; `fitView` afterwards unless false. */
|
|
436
|
+
interface WuFlowLayoutOptions extends FlowLayoutOptions, Omit<FlowTreeLayoutOptions, 'nodeSep'> {
|
|
437
|
+
algorithm?: 'layered' | 'tree';
|
|
438
|
+
fitView?: boolean;
|
|
439
|
+
duration?: number;
|
|
440
|
+
padding?: number | string;
|
|
441
|
+
}
|
|
442
|
+
/**
|
|
443
|
+
* A node-based diagram editor: `<wu-flow [(nodes)]="nodes" [(edges)]="edges" [fitView]="true">` with
|
|
444
|
+
* `<ng-template wuFlowNode="person" let-node>` templates (or the built-in `default` / `input` / `output` / `group`
|
|
445
|
+
* nodes), `<wu-flow-handle>`s where edges attach, and add-ons inside: `<wu-flow-background>`, `<wu-flow-minimap>`,
|
|
446
|
+
* `<wu-flow-controls>`, `<wu-flow-panel>`.
|
|
447
|
+
*
|
|
448
|
+
* Drag nodes (several when selected; snapping, extents, sub-flows, auto-pan near the border), drag from a handle to
|
|
449
|
+
* connect (or click two handles), drag an edge's end to reconnect it, pan by dragging the pane, zoom with the wheel,
|
|
450
|
+
* a pinch or a double click, Shift + drag (or `selectionOnDrag`) for a selection box. Keyboard: Tab between nodes and
|
|
451
|
+
* edges, Enter / Space selects, arrows move the selection (Shift = ×10, Alt resizes a node with a resizer), Delete
|
|
452
|
+
* removes, C starts a connection from the focused node, Ctrl + A selects all, + / − zoom, arrows on the pane pan,
|
|
453
|
+
* Escape cancels.
|
|
454
|
+
*
|
|
455
|
+
* With `[(nodes)]` / `[(edges)]` the flow applies every change itself and hands back new arrays (a drag reports once it
|
|
456
|
+
* ends; `(nodeChanges)` streams every step). With `[applyChanges]="false"` it only reports `(nodeChanges)` /
|
|
457
|
+
* `(edgeChanges)` and the app applies them (`applyNodeChanges()`), as in the React flow libraries.
|
|
458
|
+
*/
|
|
459
|
+
declare class WuFlow implements WuFlowApi, ɵWuFlowHost, ɵWuFlowNodeRegistry, OnChanges, AfterContentInit, AfterViewInit, OnDestroy {
|
|
460
|
+
/** Two-way: `[(nodes)]`. */
|
|
461
|
+
nodes: FlowNode[] | null | undefined;
|
|
462
|
+
/** Two-way: `[(edges)]`. */
|
|
463
|
+
edges: FlowEdge[] | null | undefined;
|
|
464
|
+
/** Apply changes and hand back new arrays (default true); false only reports `(nodeChanges)` / `(edgeChanges)`. */
|
|
465
|
+
set applyChanges(v: unknown);
|
|
466
|
+
get applyChanges(): boolean;
|
|
467
|
+
/** Components that draw node types: `{ machine: MachineNodeComponent }` (a `wuFlowNode` template wins). */
|
|
468
|
+
nodeTypes: Record<string, Type<unknown>> | null | undefined;
|
|
469
|
+
/** Settings every edge starts from (`type`, `animated`, `markerEnd` …); new connections get them too. */
|
|
470
|
+
defaultEdgeOptions: Partial<FlowEdge> | null | undefined;
|
|
471
|
+
/** `strict` (source to target, the default) or `loose` (any handle to any other). */
|
|
472
|
+
connectionMode: FlowConnectionMode;
|
|
473
|
+
/** Shape of the line while connecting. Default `'default'` (bezier). */
|
|
474
|
+
connectionLineType: string;
|
|
475
|
+
connectionLineStyle: FlowStyle | null | undefined;
|
|
476
|
+
/** How close (screen px) the pointer must come to a handle to snap to it. Default 20. */
|
|
477
|
+
connectionRadius: number | string;
|
|
478
|
+
/** The app's rule for which connections are allowed. */
|
|
479
|
+
isValidConnection: ((connection: FlowConnection) => boolean) | null | undefined;
|
|
480
|
+
/** Click a handle, then another, to connect. Default true. */
|
|
481
|
+
set connectOnClick(v: unknown);
|
|
482
|
+
get connectOnClick(): boolean;
|
|
483
|
+
/** Add the edge for a new connection (and move it on reconnect) without the app doing it. Default false. */
|
|
484
|
+
set autoConnect(v: unknown);
|
|
485
|
+
get autoConnect(): boolean;
|
|
486
|
+
/** Size of the circles at an edge's ends that reconnect it. Default 10. */
|
|
487
|
+
reconnectRadius: number | string;
|
|
488
|
+
set nodesDraggable(v: unknown);
|
|
489
|
+
get nodesDraggable(): boolean;
|
|
490
|
+
set nodesConnectable(v: unknown);
|
|
491
|
+
get nodesConnectable(): boolean;
|
|
492
|
+
set nodesFocusable(v: unknown);
|
|
493
|
+
get nodesFocusable(): boolean;
|
|
494
|
+
set edgesFocusable(v: unknown);
|
|
495
|
+
get edgesFocusable(): boolean;
|
|
496
|
+
set elementsSelectable(v: unknown);
|
|
497
|
+
get elementsSelectable(): boolean;
|
|
498
|
+
set edgesReconnectable(v: unknown);
|
|
499
|
+
get edgesReconnectable(): boolean;
|
|
500
|
+
/** Dragging an unselected node selects it. Default true. */
|
|
501
|
+
set selectNodesOnDrag(v: unknown);
|
|
502
|
+
get selectNodesOnDrag(): boolean;
|
|
503
|
+
/** Two-way: `[(interactive)]`; false locks dragging, connecting and selecting (the controls' lock button). */
|
|
504
|
+
set interactive(v: unknown);
|
|
505
|
+
get interactive(): boolean;
|
|
506
|
+
/** Raise selected nodes above the rest. Default true. */
|
|
507
|
+
set elevateNodesOnSelect(v: unknown);
|
|
508
|
+
get elevateNodesOnSelect(): boolean;
|
|
509
|
+
set elevateEdgesOnSelect(v: unknown);
|
|
510
|
+
get elevateEdgesOnSelect(): boolean;
|
|
511
|
+
/** Only draw nodes and edges near the view (big diagrams). Default false. */
|
|
512
|
+
set onlyRenderVisibleElements(v: unknown);
|
|
513
|
+
get onlyRenderVisibleElements(): boolean;
|
|
514
|
+
/** Pixels the pointer must move before a press becomes a drag. Default 1. */
|
|
515
|
+
nodeDragThreshold: number | string;
|
|
516
|
+
set snapToGrid(v: unknown);
|
|
517
|
+
get snapToGrid(): boolean;
|
|
518
|
+
/** Default `[15, 15]`. */
|
|
519
|
+
snapGrid: [number, number];
|
|
520
|
+
/** Where nodes may be dragged, in flow coordinates. */
|
|
521
|
+
nodeExtent: FlowCoordinateExtent | null | undefined;
|
|
522
|
+
/** Pan the view when a drag nears the border. Default true. */
|
|
523
|
+
set autoPanOnNodeDrag(v: unknown);
|
|
524
|
+
get autoPanOnNodeDrag(): boolean;
|
|
525
|
+
set autoPanOnConnect(v: unknown);
|
|
526
|
+
get autoPanOnConnect(): boolean;
|
|
527
|
+
/** Most px per frame the auto-pan moves. Default 15. */
|
|
528
|
+
autoPanSpeed: number | string;
|
|
529
|
+
/** Guide lines and snapping to other nodes' edges and centres while dragging one node. Default false. */
|
|
530
|
+
set alignmentGuides(v: unknown);
|
|
531
|
+
get alignmentGuides(): boolean;
|
|
532
|
+
/** How close (screen px) an edge must be to snap to a guide. Default 6. */
|
|
533
|
+
alignmentThreshold: number | string;
|
|
534
|
+
/** Flow units an arrow key moves the selection (the grid step when snapping). Default 5. */
|
|
535
|
+
keyboardStep: number | string;
|
|
536
|
+
minZoom: number | string;
|
|
537
|
+
maxZoom: number | string;
|
|
538
|
+
/** The view can not be panned outside this, in flow coordinates. */
|
|
539
|
+
translateExtent: FlowCoordinateExtent | null | undefined;
|
|
540
|
+
/** Starting view when `[(viewport)]` is not bound. */
|
|
541
|
+
defaultViewport: FlowViewport | null | undefined;
|
|
542
|
+
/** Two-way: `[(viewport)]`. */
|
|
543
|
+
viewport: FlowViewport | null | undefined;
|
|
544
|
+
/** Fit the nodes into view once they are measured. Default false. */
|
|
545
|
+
set fitViewOnInit(v: unknown);
|
|
546
|
+
get fitViewOnInit(): boolean;
|
|
547
|
+
fitViewOptions: WuFlowFitViewOptions | null | undefined;
|
|
548
|
+
/** Drag the pane to pan: true (left and middle button), false, or the mouse buttons to use (`[1, 2]`). */
|
|
549
|
+
panOnDrag: boolean | number[] | string;
|
|
550
|
+
/** The wheel pans instead of zooming (Ctrl / ⌘ + wheel still zooms). Default false. */
|
|
551
|
+
set panOnScroll(v: unknown);
|
|
552
|
+
get panOnScroll(): boolean;
|
|
553
|
+
panOnScrollSpeed: number | string;
|
|
554
|
+
panOnScrollMode: 'free' | 'vertical' | 'horizontal';
|
|
555
|
+
set zoomOnScroll(v: unknown);
|
|
556
|
+
get zoomOnScroll(): boolean;
|
|
557
|
+
set zoomOnPinch(v: unknown);
|
|
558
|
+
get zoomOnPinch(): boolean;
|
|
559
|
+
set zoomOnDoubleClick(v: unknown);
|
|
560
|
+
get zoomOnDoubleClick(): boolean;
|
|
561
|
+
/** Keep the wheel from scrolling the page while over the flow. Default true. */
|
|
562
|
+
set preventScrolling(v: unknown);
|
|
563
|
+
get preventScrolling(): boolean;
|
|
564
|
+
/** Zoom factor of the zoom buttons and keys. Default 1.2. */
|
|
565
|
+
zoomStep: number | string;
|
|
566
|
+
/** Dragging the pane draws a selection box (pan with the middle button or Space + drag). Default false. */
|
|
567
|
+
set selectionOnDrag(v: unknown);
|
|
568
|
+
get selectionOnDrag(): boolean;
|
|
569
|
+
/** `'full'`: the box must cover a node (default); `'partial'`: touching it is enough. */
|
|
570
|
+
selectionMode: 'full' | 'partial';
|
|
571
|
+
/** Held while dragging the pane to draw a selection box. Default `'Shift'`. */
|
|
572
|
+
selectionKeyCode: string | string[] | null;
|
|
573
|
+
/** Held while clicking to add to / take from the selection. Default Shift, Ctrl and ⌘. */
|
|
574
|
+
multiSelectionKeyCode: string | string[] | null;
|
|
575
|
+
/** Keys that delete the selection; null turns deleting by key off. */
|
|
576
|
+
deleteKeyCode: string | string[] | null;
|
|
577
|
+
/** Held to pan by dragging even in `selectionOnDrag` mode. Default Space. */
|
|
578
|
+
panActivationKeyCode: string | string[] | null;
|
|
579
|
+
/** Held to zoom with the wheel when `panOnScroll` or `zoomOnScroll` say otherwise. Default ⌘ (Ctrl is a pinch). */
|
|
580
|
+
zoomActivationKeyCode: string | string[] | null;
|
|
581
|
+
/** Asked before deleting: return false, or the subset to delete (may be async). */
|
|
582
|
+
beforeDelete: WuFlowBeforeDelete | null | undefined;
|
|
583
|
+
ariaLabel: string | null | undefined;
|
|
584
|
+
styleClass?: string | null;
|
|
585
|
+
style?: Record<string, any> | string | null;
|
|
586
|
+
readonly nodesChange: EventEmitter<FlowNode<any>[]>;
|
|
587
|
+
readonly edgesChange: EventEmitter<FlowEdge<any>[]>;
|
|
588
|
+
readonly nodeChanges: EventEmitter<FlowNodeChange[]>;
|
|
589
|
+
readonly edgeChanges: EventEmitter<FlowEdgeChange[]>;
|
|
590
|
+
readonly viewportChange: EventEmitter<FlowViewport>;
|
|
591
|
+
readonly interactiveChange: EventEmitter<boolean>;
|
|
592
|
+
readonly selectionChange: EventEmitter<WuFlowSelectionChange>;
|
|
593
|
+
readonly nodeClick: EventEmitter<WuFlowNodeEvent>;
|
|
594
|
+
readonly nodeDoubleClick: EventEmitter<WuFlowNodeEvent>;
|
|
595
|
+
readonly nodeContextMenu: EventEmitter<WuFlowNodeEvent>;
|
|
596
|
+
readonly nodeMouseEnter: EventEmitter<WuFlowNodeEvent>;
|
|
597
|
+
readonly nodeMouseLeave: EventEmitter<WuFlowNodeEvent>;
|
|
598
|
+
readonly nodeDragStart: EventEmitter<WuFlowNodeDragEvent>;
|
|
599
|
+
readonly nodeDrag: EventEmitter<WuFlowNodeDragEvent>;
|
|
600
|
+
readonly nodeDragStop: EventEmitter<WuFlowNodeDragEvent>;
|
|
601
|
+
readonly edgeClick: EventEmitter<WuFlowEdgeEvent>;
|
|
602
|
+
readonly edgeDoubleClick: EventEmitter<WuFlowEdgeEvent>;
|
|
603
|
+
readonly edgeContextMenu: EventEmitter<WuFlowEdgeEvent>;
|
|
604
|
+
readonly edgeMouseEnter: EventEmitter<WuFlowEdgeEvent>;
|
|
605
|
+
readonly edgeMouseLeave: EventEmitter<WuFlowEdgeEvent>;
|
|
606
|
+
readonly paneClick: EventEmitter<MouseEvent>;
|
|
607
|
+
readonly paneContextMenu: EventEmitter<MouseEvent>;
|
|
608
|
+
readonly moveStart: EventEmitter<WuFlowMoveEvent>;
|
|
609
|
+
readonly move: EventEmitter<WuFlowMoveEvent>;
|
|
610
|
+
readonly moveEnd: EventEmitter<WuFlowMoveEvent>;
|
|
611
|
+
readonly connect: EventEmitter<FlowConnection>;
|
|
612
|
+
readonly connectStart: EventEmitter<WuFlowConnectStartEvent>;
|
|
613
|
+
readonly connectEnd: EventEmitter<WuFlowConnectEndEvent>;
|
|
614
|
+
readonly reconnect: EventEmitter<WuFlowReconnectEvent>;
|
|
615
|
+
readonly reconnectStart: EventEmitter<WuFlowReconnectStartEvent>;
|
|
616
|
+
readonly reconnectEnd: EventEmitter<WuFlowReconnectEndEvent>;
|
|
617
|
+
/** The flow is ready; carries the flow itself (its methods are the API). */
|
|
618
|
+
readonly init: EventEmitter<WuFlow>;
|
|
619
|
+
/** Every node has been measured once. */
|
|
620
|
+
readonly nodesInitialized: EventEmitter<FlowNode<any>[]>;
|
|
621
|
+
readonly delete: EventEmitter<WuFlowDeleteEvent>;
|
|
622
|
+
readonly nodeComponentEvent: EventEmitter<WuFlowNodeComponentEvent>;
|
|
623
|
+
protected nodeTemplates?: QueryList<WuFlowNodeTemplate>;
|
|
624
|
+
protected edgeTemplates?: QueryList<WuFlowEdgeTemplate>;
|
|
625
|
+
protected labelTemplates?: QueryList<WuFlowEdgeLabelTemplate>;
|
|
626
|
+
protected lineTemplates?: QueryList<WuFlowConnectionLineTemplate>;
|
|
627
|
+
protected templates?: QueryList<WuTemplate>;
|
|
628
|
+
protected nodeRef?: unknown;
|
|
629
|
+
protected edgeRef?: unknown;
|
|
630
|
+
protected edgeLabelRef?: unknown;
|
|
631
|
+
protected connectionLineRef?: unknown;
|
|
632
|
+
protected rootRef?: ElementRef<HTMLElement>;
|
|
633
|
+
protected paneRef?: ElementRef<HTMLElement>;
|
|
634
|
+
protected viewportRef?: ElementRef<HTMLElement>;
|
|
635
|
+
protected liveRef?: ElementRef<HTMLElement>;
|
|
636
|
+
readonly flowId: string;
|
|
637
|
+
readonly paneHintId: string;
|
|
638
|
+
readonly nodeHintId: string;
|
|
639
|
+
readonly edgeHintId: string;
|
|
640
|
+
readonly markerViewBox = "0 0 20 20";
|
|
641
|
+
readonly markerRef: {
|
|
642
|
+
x: number;
|
|
643
|
+
y: number;
|
|
644
|
+
};
|
|
645
|
+
renderedNodes: ɵWuFlowNodeView[];
|
|
646
|
+
edgeLayers: ɵWuFlowEdgeLayer[];
|
|
647
|
+
labelEdges: ɵWuFlowEdgeView[];
|
|
648
|
+
markers: ɵWuFlowMarkerView[];
|
|
649
|
+
connectionLine: ɵWuFlowConnectionView | null;
|
|
650
|
+
guides: FlowGuide[];
|
|
651
|
+
selectionRect: FlowRect | null;
|
|
652
|
+
connectionLineTemplate: TemplateRef<unknown> | null;
|
|
653
|
+
private _apply;
|
|
654
|
+
private _clickConnect;
|
|
655
|
+
private _autoConnect;
|
|
656
|
+
private _draggable;
|
|
657
|
+
private _connectable;
|
|
658
|
+
private _nodesFocusable;
|
|
659
|
+
private _edgesFocusable;
|
|
660
|
+
private _selectable;
|
|
661
|
+
private _reconnectable;
|
|
662
|
+
private _selectOnDrag;
|
|
663
|
+
private _interactive;
|
|
664
|
+
private _elevateNodes;
|
|
665
|
+
private _elevateEdges;
|
|
666
|
+
private _onlyVisible;
|
|
667
|
+
private _snap;
|
|
668
|
+
private _autoPanDrag;
|
|
669
|
+
private _autoPanConnect;
|
|
670
|
+
private _guides;
|
|
671
|
+
private _fitOnInit;
|
|
672
|
+
private _panOnScroll;
|
|
673
|
+
private _zoomOnScroll;
|
|
674
|
+
private _zoomOnPinch;
|
|
675
|
+
private _zoomOnDouble;
|
|
676
|
+
private _preventScroll;
|
|
677
|
+
private _selectionOnDrag;
|
|
678
|
+
private _nodes;
|
|
679
|
+
private _edges;
|
|
680
|
+
private shadowNodes;
|
|
681
|
+
private shadowEdges;
|
|
682
|
+
private vp;
|
|
683
|
+
private paneW;
|
|
684
|
+
private paneH;
|
|
685
|
+
private readonly sizes;
|
|
686
|
+
private readonly handles;
|
|
687
|
+
private readonly nodeEls;
|
|
688
|
+
private readonly pendingHandles;
|
|
689
|
+
private readonly resizers;
|
|
690
|
+
private views;
|
|
691
|
+
private edgeViews;
|
|
692
|
+
private lookup;
|
|
693
|
+
private dirty;
|
|
694
|
+
private nodesToEmit;
|
|
695
|
+
private edgesToEmit;
|
|
696
|
+
private selectionKey;
|
|
697
|
+
private readonly changeSet;
|
|
698
|
+
private readonly listeners;
|
|
699
|
+
private readonly commitListeners;
|
|
700
|
+
private gesture;
|
|
701
|
+
private readonly pointers;
|
|
702
|
+
private paneRect;
|
|
703
|
+
private longPressTimer;
|
|
704
|
+
private wheelTimer;
|
|
705
|
+
private moving;
|
|
706
|
+
private anim;
|
|
707
|
+
private frame;
|
|
708
|
+
private autoPanFrame;
|
|
709
|
+
private clickFrom;
|
|
710
|
+
private keyboardFrom;
|
|
711
|
+
private highlighted;
|
|
712
|
+
private hoverNode;
|
|
713
|
+
private hoverEdge;
|
|
714
|
+
private focusedNodeId;
|
|
715
|
+
private lastPointerDown;
|
|
716
|
+
private panKeyHeld;
|
|
717
|
+
private viewInit;
|
|
718
|
+
private initialFitDone;
|
|
719
|
+
private nodesInitDone;
|
|
720
|
+
private pendingFits;
|
|
721
|
+
private fitTimer;
|
|
722
|
+
private warned;
|
|
723
|
+
private announceFlip;
|
|
724
|
+
private stops;
|
|
725
|
+
private nodeObserver;
|
|
726
|
+
private paneObserver;
|
|
727
|
+
private destroyed;
|
|
728
|
+
private readonly cdr;
|
|
729
|
+
private readonly zone;
|
|
730
|
+
private readonly doc;
|
|
731
|
+
private readonly config;
|
|
732
|
+
private readonly browser;
|
|
733
|
+
private readonly translationSub;
|
|
734
|
+
constructor();
|
|
735
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
736
|
+
ngAfterContentInit(): void;
|
|
737
|
+
ngAfterViewInit(): void;
|
|
738
|
+
ngOnDestroy(): void;
|
|
739
|
+
/** A flow text in the app's language (falls back to the built-in Thai / English). */
|
|
740
|
+
text(key: FlowTextKey): string;
|
|
741
|
+
ɵtext(key: FlowTextKey): string;
|
|
742
|
+
get rootStyle(): Record<string, any> | null;
|
|
743
|
+
trackById(_: number, item: {
|
|
744
|
+
id: string;
|
|
745
|
+
}): string;
|
|
746
|
+
trackLayer(_: number, layer: ɵWuFlowEdgeLayer): number;
|
|
747
|
+
trackGuide(i: number): number;
|
|
748
|
+
private resolveNode;
|
|
749
|
+
private newNodeView;
|
|
750
|
+
/** Works out every node and edge view from the current nodes, edges, sizes and handles (no DOM access). */
|
|
751
|
+
private rebuild;
|
|
752
|
+
private rebuildEdges;
|
|
753
|
+
private newEdgeView;
|
|
754
|
+
private edgeTemplateFor;
|
|
755
|
+
private labelTemplateFor;
|
|
756
|
+
/** `url(#id)` for a marker, adding its definition to `markers`. Default-coloured markers follow the edge colour. */
|
|
757
|
+
private markerUrl;
|
|
758
|
+
/** Rebuilds and re-renders on the next frame (once per frame, outside Angular). */
|
|
759
|
+
private requestRender;
|
|
760
|
+
private flush;
|
|
761
|
+
private writeViewport;
|
|
762
|
+
private notify;
|
|
763
|
+
private emitNow;
|
|
764
|
+
private announce;
|
|
765
|
+
ɵannounce(message: string): void;
|
|
766
|
+
private commitNodes;
|
|
767
|
+
private commitEdges;
|
|
768
|
+
/** Hands the new arrays to `[(nodes)]` / `[(edges)]` and reports a changed selection. */
|
|
769
|
+
private flushArrays;
|
|
770
|
+
private reportSelection;
|
|
771
|
+
private notifyCommit;
|
|
772
|
+
/** Drops measurements of nodes that are gone. */
|
|
773
|
+
private forgetMissing;
|
|
774
|
+
/** The node as it is now (the lookup is only rebuilt on the next frame). */
|
|
775
|
+
private findNode;
|
|
776
|
+
/**
|
|
777
|
+
* The nodes / edges as the app will have them: in controlled mode the changes sent this frame are not back as inputs
|
|
778
|
+
* yet, so selection logic works on a copy with them applied (dropped as soon as the app's arrays come in).
|
|
779
|
+
*/
|
|
780
|
+
private nodesNow;
|
|
781
|
+
private edgesNow;
|
|
782
|
+
private selectedNodeIds;
|
|
783
|
+
private selectedEdgeIds;
|
|
784
|
+
private nodeCanSelect;
|
|
785
|
+
private edgeCanSelect;
|
|
786
|
+
/** Makes exactly these nodes and edges selected. */
|
|
787
|
+
private setSelection;
|
|
788
|
+
private announceSelection;
|
|
789
|
+
ɵregisterNode(id: string, el: HTMLElement): void;
|
|
790
|
+
ɵunregisterNode(id: string, el: HTMLElement): void;
|
|
791
|
+
ɵhandlesChanged(nodeId: string): void;
|
|
792
|
+
/** Re-measures nodes' handles (all nodes when no ids are given), e.g. after a node template moved its handles. */
|
|
793
|
+
updateNodeInternals(ids?: string | string[]): void;
|
|
794
|
+
ɵnodeComponentEvent(node: FlowNode, name: string, value: unknown): void;
|
|
795
|
+
/** Reads a node's handles from the DOM; true when they changed. */
|
|
796
|
+
private measureHandles;
|
|
797
|
+
/** ResizeObserver (outside Angular): new node sizes are reported and drawn before the frame is painted. */
|
|
798
|
+
private nodesResized;
|
|
799
|
+
private paneResized;
|
|
800
|
+
/** Every shown node has a size and the pane has room. */
|
|
801
|
+
private allMeasured;
|
|
802
|
+
private afterMeasure;
|
|
803
|
+
private minZ;
|
|
804
|
+
private maxZ;
|
|
805
|
+
ɵminZoom(): number;
|
|
806
|
+
ɵmaxZoom(): number;
|
|
807
|
+
ɵpaneSize(): FlowDimensions;
|
|
808
|
+
private constrain;
|
|
809
|
+
private beginMove;
|
|
810
|
+
private endMove;
|
|
811
|
+
/** Moves the view now (the DOM is written straight away; add-ons hear about it in the same frame). */
|
|
812
|
+
private setVp;
|
|
813
|
+
private reducedMotion;
|
|
814
|
+
private cancelAnimation;
|
|
815
|
+
/** Moves the view to `target`, animated over `duration` ms (a jump with reduced motion). */
|
|
816
|
+
private animateTo;
|
|
817
|
+
getViewport(): FlowViewport;
|
|
818
|
+
getZoom(): number;
|
|
819
|
+
setViewport(viewport: Partial<FlowViewport>, options?: WuFlowViewportOptions): Promise<boolean>;
|
|
820
|
+
ɵzoomBy(factor: number, anchor?: FlowXY, options?: WuFlowViewportOptions): Promise<boolean>;
|
|
821
|
+
zoomIn(options?: WuFlowViewportOptions): Promise<boolean>;
|
|
822
|
+
zoomOut(options?: WuFlowViewportOptions): Promise<boolean>;
|
|
823
|
+
zoomTo(zoom: number, options?: WuFlowViewportOptions): Promise<boolean>;
|
|
824
|
+
setCenter(x: number, y: number, options?: WuFlowSetCenterOptions): Promise<boolean>;
|
|
825
|
+
fitBounds(bounds: FlowRect, options?: WuFlowFitBoundsOptions): Promise<boolean>;
|
|
826
|
+
panBy(delta: FlowXY): boolean;
|
|
827
|
+
/** Fits the nodes (or `options.nodes`) into view; waits for them to be measured first. */
|
|
828
|
+
fitView(options?: WuFlowFitViewOptions): Promise<boolean>;
|
|
829
|
+
private fitNow;
|
|
830
|
+
private paneBox;
|
|
831
|
+
/** A pointer position (client px) to a point in the pane. */
|
|
832
|
+
private clientToPane;
|
|
833
|
+
private clientToFlow;
|
|
834
|
+
screenToFlowPosition(point: FlowXY, options?: {
|
|
835
|
+
snapToGrid?: boolean;
|
|
836
|
+
}): FlowXY;
|
|
837
|
+
flowToScreenPosition(point: FlowXY): FlowXY;
|
|
838
|
+
private ownsElement;
|
|
839
|
+
private panButtons;
|
|
840
|
+
private listening;
|
|
841
|
+
private listenDocument;
|
|
842
|
+
private stopDocumentListeners;
|
|
843
|
+
private setRootClass;
|
|
844
|
+
private pointerDown;
|
|
845
|
+
private startLongPress;
|
|
846
|
+
private stopLongPress;
|
|
847
|
+
private startSelection;
|
|
848
|
+
private startPinch;
|
|
849
|
+
private pointerMove;
|
|
850
|
+
private pointerUp;
|
|
851
|
+
private nodeClicked;
|
|
852
|
+
private edgeClicked;
|
|
853
|
+
private paneClicked;
|
|
854
|
+
private doubleClick;
|
|
855
|
+
private contextMenu;
|
|
856
|
+
private pointerOver;
|
|
857
|
+
private pointerLeave;
|
|
858
|
+
private hover;
|
|
859
|
+
private dragItems;
|
|
860
|
+
private startDrag;
|
|
861
|
+
private dragFrame;
|
|
862
|
+
private endDrag;
|
|
863
|
+
private announceMove;
|
|
864
|
+
private autoPan;
|
|
865
|
+
private stopAutoPan;
|
|
866
|
+
private selectionFrame;
|
|
867
|
+
private endSelection;
|
|
868
|
+
/** Handles of every drawn node, in flow coordinates, as connection targets. */
|
|
869
|
+
private allHandles;
|
|
870
|
+
private handleInfo;
|
|
871
|
+
/** A node's first handle of a type (or a stand-in on its side when it has none). */
|
|
872
|
+
private nodeHandle;
|
|
873
|
+
private handleFromElement;
|
|
874
|
+
private connectRules;
|
|
875
|
+
private startConnect;
|
|
876
|
+
private startReconnect;
|
|
877
|
+
private beginConnect;
|
|
878
|
+
/** The handle the pointer is over or near, and the connection it would make. */
|
|
879
|
+
private connectTarget;
|
|
880
|
+
private connectFrame;
|
|
881
|
+
private handleElement;
|
|
882
|
+
private markHandle;
|
|
883
|
+
private highlight;
|
|
884
|
+
private endConnect;
|
|
885
|
+
private applyConnect;
|
|
886
|
+
private applyReconnect;
|
|
887
|
+
/** Click-to-connect: the first handle clicked waits; the second makes the connection. */
|
|
888
|
+
private handleClicked;
|
|
889
|
+
private cancelPendingConnection;
|
|
890
|
+
private wheel;
|
|
891
|
+
private wheelMove;
|
|
892
|
+
private resetScroll;
|
|
893
|
+
private focusIn;
|
|
894
|
+
private keyUp;
|
|
895
|
+
private keyDown;
|
|
896
|
+
private keySelect;
|
|
897
|
+
private arrowKey;
|
|
898
|
+
private startKeyboardConnect;
|
|
899
|
+
private keyboardConnect;
|
|
900
|
+
/** Stops a drag, box or connection in progress (Escape). */
|
|
901
|
+
private cancelGesture;
|
|
902
|
+
getNodes(): FlowNode[];
|
|
903
|
+
getEdges(): FlowEdge[];
|
|
904
|
+
getNode(id: string): FlowNode | undefined;
|
|
905
|
+
getEdge(id: string): FlowEdge | undefined;
|
|
906
|
+
/** Replaces the nodes (or maps them with a function), as a change list for controlled apps. */
|
|
907
|
+
setNodes(nodes: FlowNode[] | ((nodes: FlowNode[]) => FlowNode[])): void;
|
|
908
|
+
setEdges(edges: FlowEdge[] | ((edges: FlowEdge[]) => FlowEdge[])): void;
|
|
909
|
+
addNodes(nodes: FlowNode | FlowNode[]): void;
|
|
910
|
+
addEdges(edges: FlowEdge | FlowEdge[]): void;
|
|
911
|
+
/** Merges `update` into a node (or replaces it with `{ replace: true }`). */
|
|
912
|
+
updateNode(id: string, update: Partial<FlowNode> | ((node: FlowNode) => Partial<FlowNode>), options?: {
|
|
913
|
+
replace?: boolean;
|
|
914
|
+
}): void;
|
|
915
|
+
/** Merges `update` into a node's `data` (or replaces it with `{ replace: true }`). */
|
|
916
|
+
updateNodeData(id: string, update: Record<string, any> | ((node: FlowNode) => Record<string, any>), options?: {
|
|
917
|
+
replace?: boolean;
|
|
918
|
+
}): void;
|
|
919
|
+
updateEdge(id: string, update: Partial<FlowEdge> | ((edge: FlowEdge) => Partial<FlowEdge>), options?: {
|
|
920
|
+
replace?: boolean;
|
|
921
|
+
}): void;
|
|
922
|
+
/** Deletes nodes (with their children and edges) and edges; `beforeDelete` is asked first. */
|
|
923
|
+
deleteElements(elements: {
|
|
924
|
+
nodes?: (string | {
|
|
925
|
+
id: string;
|
|
926
|
+
})[];
|
|
927
|
+
edges?: (string | {
|
|
928
|
+
id: string;
|
|
929
|
+
})[];
|
|
930
|
+
}): Promise<{
|
|
931
|
+
deletedNodes: FlowNode[];
|
|
932
|
+
deletedEdges: FlowEdge[];
|
|
933
|
+
}>;
|
|
934
|
+
private deleteSelected;
|
|
935
|
+
/** Nodes overlapping a node (or its id, or a box). */
|
|
936
|
+
getIntersectingNodes(target: string | FlowNode | FlowRect, partially?: boolean): FlowNode[];
|
|
937
|
+
isNodeIntersecting(target: string | FlowNode | FlowRect, area: FlowRect, partially?: boolean): boolean;
|
|
938
|
+
selectAll(): void;
|
|
939
|
+
clearSelection(): void;
|
|
940
|
+
/** Selects exactly these nodes and edges. */
|
|
941
|
+
select(selection: {
|
|
942
|
+
nodes?: string[];
|
|
943
|
+
edges?: string[];
|
|
944
|
+
}): void;
|
|
945
|
+
setInteractive(on: boolean): void;
|
|
946
|
+
ɵisInteractive(): boolean;
|
|
947
|
+
/** Lays the nodes out (`layoutFlow`, or `layoutTree` with `algorithm: 'tree'`) and fits the view unless told not to. */
|
|
948
|
+
layout(options?: WuFlowLayoutOptions): Promise<boolean>;
|
|
949
|
+
/** The diagram as plain data: `{ nodes, edges, viewport }`. */
|
|
950
|
+
toJSON(): FlowJSON;
|
|
951
|
+
/** Another name for `toJSON()`. */
|
|
952
|
+
toObject(): FlowJSON;
|
|
953
|
+
/** Loads what `toJSON()` wrote (object or text); false when it is not a diagram. */
|
|
954
|
+
fromJSON(json: unknown, options?: WuFlowViewportOptions): boolean;
|
|
955
|
+
/** The diagram as an SVG document (edges, arrowheads, labels, and each node as a box with its label). */
|
|
956
|
+
toSvg(options?: FlowSvgOptions): string;
|
|
957
|
+
/** Colours of the current theme, read from probe elements so they match the CSS exactly. */
|
|
958
|
+
private themeColors;
|
|
959
|
+
private replaceNodes;
|
|
960
|
+
private replaceEdges;
|
|
961
|
+
ɵlisten(fn: (changes: ReadonlySet<ɵWuFlowChange>) => void): () => void;
|
|
962
|
+
/** Called after each finished change (`external`: new nodes / edges came in from the app). Used by `wuFlowHistory`. */
|
|
963
|
+
ɵonCommit(fn: (external: boolean) => void): () => void;
|
|
964
|
+
/** Puts back a snapshot (undo / redo) without recording it. */
|
|
965
|
+
ɵrestore(nodes: FlowNode[], edges: FlowEdge[]): void;
|
|
966
|
+
ɵrootElement(): HTMLElement | null;
|
|
967
|
+
ɵnodeRects(): WuFlowNodeRect[];
|
|
968
|
+
ɵisNodeSelected(id: string): boolean;
|
|
969
|
+
ɵselectedNodeCount(): number;
|
|
970
|
+
ɵnodeBox(nodeId: string): ɵWuFlowNodeBox | null;
|
|
971
|
+
ɵregisterResizer(nodeId: string, limits: () => FlowResizeLimits): () => void;
|
|
972
|
+
ɵresizeNode(nodeId: string, rect: FlowRect, phase: 'start' | 'move' | 'end', _event: Event | null): void;
|
|
973
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlow, never>;
|
|
974
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlow, "wu-flow", never, { "nodes": { "alias": "nodes"; "required": false; }; "edges": { "alias": "edges"; "required": false; }; "applyChanges": { "alias": "applyChanges"; "required": false; }; "nodeTypes": { "alias": "nodeTypes"; "required": false; }; "defaultEdgeOptions": { "alias": "defaultEdgeOptions"; "required": false; }; "connectionMode": { "alias": "connectionMode"; "required": false; }; "connectionLineType": { "alias": "connectionLineType"; "required": false; }; "connectionLineStyle": { "alias": "connectionLineStyle"; "required": false; }; "connectionRadius": { "alias": "connectionRadius"; "required": false; }; "isValidConnection": { "alias": "isValidConnection"; "required": false; }; "connectOnClick": { "alias": "connectOnClick"; "required": false; }; "autoConnect": { "alias": "autoConnect"; "required": false; }; "reconnectRadius": { "alias": "reconnectRadius"; "required": false; }; "nodesDraggable": { "alias": "nodesDraggable"; "required": false; }; "nodesConnectable": { "alias": "nodesConnectable"; "required": false; }; "nodesFocusable": { "alias": "nodesFocusable"; "required": false; }; "edgesFocusable": { "alias": "edgesFocusable"; "required": false; }; "elementsSelectable": { "alias": "elementsSelectable"; "required": false; }; "edgesReconnectable": { "alias": "edgesReconnectable"; "required": false; }; "selectNodesOnDrag": { "alias": "selectNodesOnDrag"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "elevateNodesOnSelect": { "alias": "elevateNodesOnSelect"; "required": false; }; "elevateEdgesOnSelect": { "alias": "elevateEdgesOnSelect"; "required": false; }; "onlyRenderVisibleElements": { "alias": "onlyRenderVisibleElements"; "required": false; }; "nodeDragThreshold": { "alias": "nodeDragThreshold"; "required": false; }; "snapToGrid": { "alias": "snapToGrid"; "required": false; }; "snapGrid": { "alias": "snapGrid"; "required": false; }; "nodeExtent": { "alias": "nodeExtent"; "required": false; }; "autoPanOnNodeDrag": { "alias": "autoPanOnNodeDrag"; "required": false; }; "autoPanOnConnect": { "alias": "autoPanOnConnect"; "required": false; }; "autoPanSpeed": { "alias": "autoPanSpeed"; "required": false; }; "alignmentGuides": { "alias": "alignmentGuides"; "required": false; }; "alignmentThreshold": { "alias": "alignmentThreshold"; "required": false; }; "keyboardStep": { "alias": "keyboardStep"; "required": false; }; "minZoom": { "alias": "minZoom"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "translateExtent": { "alias": "translateExtent"; "required": false; }; "defaultViewport": { "alias": "defaultViewport"; "required": false; }; "viewport": { "alias": "viewport"; "required": false; }; "fitViewOnInit": { "alias": "fitView"; "required": false; }; "fitViewOptions": { "alias": "fitViewOptions"; "required": false; }; "panOnDrag": { "alias": "panOnDrag"; "required": false; }; "panOnScroll": { "alias": "panOnScroll"; "required": false; }; "panOnScrollSpeed": { "alias": "panOnScrollSpeed"; "required": false; }; "panOnScrollMode": { "alias": "panOnScrollMode"; "required": false; }; "zoomOnScroll": { "alias": "zoomOnScroll"; "required": false; }; "zoomOnPinch": { "alias": "zoomOnPinch"; "required": false; }; "zoomOnDoubleClick": { "alias": "zoomOnDoubleClick"; "required": false; }; "preventScrolling": { "alias": "preventScrolling"; "required": false; }; "zoomStep": { "alias": "zoomStep"; "required": false; }; "selectionOnDrag": { "alias": "selectionOnDrag"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "selectionKeyCode": { "alias": "selectionKeyCode"; "required": false; }; "multiSelectionKeyCode": { "alias": "multiSelectionKeyCode"; "required": false; }; "deleteKeyCode": { "alias": "deleteKeyCode"; "required": false; }; "panActivationKeyCode": { "alias": "panActivationKeyCode"; "required": false; }; "zoomActivationKeyCode": { "alias": "zoomActivationKeyCode"; "required": false; }; "beforeDelete": { "alias": "beforeDelete"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, { "nodesChange": "nodesChange"; "edgesChange": "edgesChange"; "nodeChanges": "nodeChanges"; "edgeChanges": "edgeChanges"; "viewportChange": "viewportChange"; "interactiveChange": "interactiveChange"; "selectionChange": "selectionChange"; "nodeClick": "nodeClick"; "nodeDoubleClick": "nodeDoubleClick"; "nodeContextMenu": "nodeContextMenu"; "nodeMouseEnter": "nodeMouseEnter"; "nodeMouseLeave": "nodeMouseLeave"; "nodeDragStart": "nodeDragStart"; "nodeDrag": "nodeDrag"; "nodeDragStop": "nodeDragStop"; "edgeClick": "edgeClick"; "edgeDoubleClick": "edgeDoubleClick"; "edgeContextMenu": "edgeContextMenu"; "edgeMouseEnter": "edgeMouseEnter"; "edgeMouseLeave": "edgeMouseLeave"; "paneClick": "paneClick"; "paneContextMenu": "paneContextMenu"; "moveStart": "moveStart"; "move": "move"; "moveEnd": "moveEnd"; "connect": "connect"; "connectStart": "connectStart"; "connectEnd": "connectEnd"; "reconnect": "reconnect"; "reconnectStart": "reconnectStart"; "reconnectEnd": "reconnectEnd"; "init": "init"; "nodesInitialized": "nodesInitialized"; "delete": "delete"; "nodeComponentEvent": "nodeComponentEvent"; }, ["nodeRef", "edgeRef", "edgeLabelRef", "connectionLineRef", "nodeTemplates", "edgeTemplates", "labelTemplates", "lineTemplates", "templates"], ["wu-flow-background, [wuFlowBackground]", "*"], true, never>;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* A place on a node where edges attach: `<wu-flow-handle type="source" position="right" id="out">` inside a node
|
|
979
|
+
* template. Drag from it to connect (or click it, then another handle). Several per node are fine: give each an `id`
|
|
980
|
+
* and name it in the edge (`sourceHandle` / `targetHandle`); move one along its side with a style
|
|
981
|
+
* (`[style.left.%]="25"`). It shows as a dot; put content inside for a custom look.
|
|
982
|
+
*/
|
|
983
|
+
declare class WuFlowHandle implements OnChanges, AfterViewInit, OnDestroy {
|
|
984
|
+
/** `source` (edges start here, the default) or `target` (edges end here). */
|
|
985
|
+
type: FlowHandleType;
|
|
986
|
+
/** Side of the node. Default: top for a target, bottom for a source. */
|
|
987
|
+
position: FlowPosition | null | undefined;
|
|
988
|
+
/** The handle's name within its node (edges refer to it as `sourceHandle` / `targetHandle`). */
|
|
989
|
+
id: string | null | undefined;
|
|
990
|
+
/** The same as `id`. */
|
|
991
|
+
handleId: string | null | undefined;
|
|
992
|
+
/** Connections may start or end here. Default true. */
|
|
993
|
+
set isConnectable(v: unknown);
|
|
994
|
+
get isConnectable(): boolean;
|
|
995
|
+
/** A drag may start here. Default true. */
|
|
996
|
+
set isConnectableStart(v: unknown);
|
|
997
|
+
get isConnectableStart(): boolean;
|
|
998
|
+
/** A drag may end here. Default true. */
|
|
999
|
+
set isConnectableEnd(v: unknown);
|
|
1000
|
+
get isConnectableEnd(): boolean;
|
|
1001
|
+
/** Most edges this handle takes (0 / null = no limit). */
|
|
1002
|
+
connectionLimit: number | string | null | undefined;
|
|
1003
|
+
styleClass?: string | null;
|
|
1004
|
+
private _connectable;
|
|
1005
|
+
private _start;
|
|
1006
|
+
private _end;
|
|
1007
|
+
private viewInit;
|
|
1008
|
+
private nodeId;
|
|
1009
|
+
private readonly el;
|
|
1010
|
+
private readonly host;
|
|
1011
|
+
private readonly nodeCtx;
|
|
1012
|
+
get side(): FlowPosition;
|
|
1013
|
+
get handleName(): string | null;
|
|
1014
|
+
get limitValue(): number | null;
|
|
1015
|
+
ngOnChanges(): void;
|
|
1016
|
+
ngAfterViewInit(): void;
|
|
1017
|
+
ngOnDestroy(): void;
|
|
1018
|
+
private notify;
|
|
1019
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowHandle, never>;
|
|
1020
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlowHandle, "wu-flow-handle", never, { "type": { "alias": "type"; "required": false; }; "position": { "alias": "position"; "required": false; }; "id": { "alias": "id"; "required": false; }; "handleId": { "alias": "handleId"; "required": false; }; "isConnectable": { "alias": "isConnectable"; "required": false; }; "isConnectableStart": { "alias": "isConnectableStart"; "required": false; }; "isConnectableEnd": { "alias": "isConnectableEnd"; "required": false; }; "connectionLimit": { "alias": "connectionLimit"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* The pane's background: `<wu-flow-background variant="dots" [gap]="20">` inside `<wu-flow>`. `dots` (default),
|
|
1025
|
+
* `lines` or `cross`, every `gap` flow units (or `[x, y]`), moving and scaling with the view. Stack two for a fine and
|
|
1026
|
+
* a coarse grid. `variant="image"` puts a picture (a floor plan, a map) under the diagram at `imageX`, `imageY` in flow
|
|
1027
|
+
* coordinates, `imageWidth` × `imageHeight` flow units, scaling with the zoom.
|
|
1028
|
+
*/
|
|
1029
|
+
declare class WuFlowBackground implements OnInit, OnChanges, OnDestroy {
|
|
1030
|
+
variant: 'dots' | 'lines' | 'cross' | 'image';
|
|
1031
|
+
/** Space between dots / lines in flow units, or `[x, y]`. Default 20. */
|
|
1032
|
+
gap: number | [number, number];
|
|
1033
|
+
/** Dot diameter or cross length in flow units (default 1 for dots, 6 for crosses). */
|
|
1034
|
+
size: number | null | undefined;
|
|
1035
|
+
/** Line width in px for `lines` / `cross`. */
|
|
1036
|
+
lineWidth: number | null | undefined;
|
|
1037
|
+
/** Shift of the pattern in flow units. */
|
|
1038
|
+
offset: number | [number, number];
|
|
1039
|
+
/** Colour of the dots / lines (default: the `--wu-flow-grid-dot-color` / `--wu-flow-grid-line-color` tokens). */
|
|
1040
|
+
color: string | null | undefined;
|
|
1041
|
+
/** Colour behind the pattern (default: none, the pane's own background shows). */
|
|
1042
|
+
bgColor: string | null | undefined;
|
|
1043
|
+
/** `variant="image"`: the picture and where it lies in flow coordinates. */
|
|
1044
|
+
src: string | null | undefined;
|
|
1045
|
+
imageX: number;
|
|
1046
|
+
imageY: number;
|
|
1047
|
+
imageWidth: number | null | undefined;
|
|
1048
|
+
imageHeight: number | null | undefined;
|
|
1049
|
+
imageOpacity: number;
|
|
1050
|
+
styleClass?: string | null;
|
|
1051
|
+
readonly patternId: string;
|
|
1052
|
+
p: FlowBackgroundPattern;
|
|
1053
|
+
imageBox: {
|
|
1054
|
+
x: number;
|
|
1055
|
+
y: number;
|
|
1056
|
+
width: number;
|
|
1057
|
+
height: number;
|
|
1058
|
+
};
|
|
1059
|
+
private stop;
|
|
1060
|
+
private readonly cdr;
|
|
1061
|
+
private readonly host;
|
|
1062
|
+
ngOnInit(): void;
|
|
1063
|
+
ngOnChanges(): void;
|
|
1064
|
+
ngOnDestroy(): void;
|
|
1065
|
+
private update;
|
|
1066
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowBackground, never>;
|
|
1067
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlowBackground, "wu-flow-background", never, { "variant": { "alias": "variant"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "size": { "alias": "size"; "required": false; }; "lineWidth": { "alias": "lineWidth"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "color": { "alias": "color"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "src": { "alias": "src"; "required": false; }; "imageX": { "alias": "imageX"; "required": false; }; "imageY": { "alias": "imageY"; "required": false; }; "imageWidth": { "alias": "imageWidth"; "required": false; }; "imageHeight": { "alias": "imageHeight"; "required": false; }; "imageOpacity": { "alias": "imageOpacity"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
interface MiniNode {
|
|
1071
|
+
id: string;
|
|
1072
|
+
x: number;
|
|
1073
|
+
y: number;
|
|
1074
|
+
width: number;
|
|
1075
|
+
height: number;
|
|
1076
|
+
fill: string | null;
|
|
1077
|
+
stroke: string | null;
|
|
1078
|
+
className: string;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* A small map of the whole diagram with the part in view outlined: `<wu-flow-minimap position="bottom-right">`.
|
|
1082
|
+
* Drag it to pan, click to jump there, wheel over it to zoom (`[pannable]` / `[zoomable]`). Nodes take
|
|
1083
|
+
* `[nodeColor]` (a colour or a function of the node), else the `--wu-flow-minimap-node-bg` token.
|
|
1084
|
+
*/
|
|
1085
|
+
declare class WuFlowMinimap implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
1086
|
+
position: WuFlowPanelPosition;
|
|
1087
|
+
/** Size in px. Default 200 × 150 (smaller on narrow screens through the CSS). */
|
|
1088
|
+
width: number;
|
|
1089
|
+
height: number;
|
|
1090
|
+
/** Fill of each node: a colour, or a function of the node. */
|
|
1091
|
+
nodeColor: string | ((node: FlowNode) => string | null | undefined) | null | undefined;
|
|
1092
|
+
nodeStrokeColor: string | ((node: FlowNode) => string | null | undefined) | null | undefined;
|
|
1093
|
+
/** Extra class of each node rectangle: text, or a function of the node. */
|
|
1094
|
+
nodeClassName: string | ((node: FlowNode) => string | null | undefined) | null | undefined;
|
|
1095
|
+
nodeBorderRadius: number;
|
|
1096
|
+
nodeStrokeWidth: number | null | undefined;
|
|
1097
|
+
/** Colour over what is out of view. */
|
|
1098
|
+
maskColor: string | null | undefined;
|
|
1099
|
+
maskStrokeColor: string | null | undefined;
|
|
1100
|
+
maskStrokeWidth: number | null | undefined;
|
|
1101
|
+
bgColor: string | null | undefined;
|
|
1102
|
+
/** Drag to pan and click to jump. Default true. */
|
|
1103
|
+
set pannable(v: unknown);
|
|
1104
|
+
get pannable(): boolean;
|
|
1105
|
+
/** Wheel to zoom. Default true. */
|
|
1106
|
+
set zoomable(v: unknown);
|
|
1107
|
+
get zoomable(): boolean;
|
|
1108
|
+
/** Drag the other way (move the diagram rather than the view rectangle). */
|
|
1109
|
+
set inversePan(v: unknown);
|
|
1110
|
+
get inversePan(): boolean;
|
|
1111
|
+
/** Room around the content, in minimap px. Default 5. */
|
|
1112
|
+
offsetScale: number;
|
|
1113
|
+
ariaLabel: string | null | undefined;
|
|
1114
|
+
protected svgRef?: ElementRef<SVGSVGElement>;
|
|
1115
|
+
items: MiniNode[];
|
|
1116
|
+
viewBox: string;
|
|
1117
|
+
mask: string;
|
|
1118
|
+
scale: number;
|
|
1119
|
+
private layout;
|
|
1120
|
+
private _pannable;
|
|
1121
|
+
private _zoomable;
|
|
1122
|
+
private _inverse;
|
|
1123
|
+
private stops;
|
|
1124
|
+
private drag;
|
|
1125
|
+
private readonly cdr;
|
|
1126
|
+
private readonly zone;
|
|
1127
|
+
private readonly doc;
|
|
1128
|
+
private readonly host;
|
|
1129
|
+
get label(): string;
|
|
1130
|
+
trackById(_: number, n: MiniNode): string;
|
|
1131
|
+
ngOnInit(): void;
|
|
1132
|
+
ngOnChanges(): void;
|
|
1133
|
+
ngAfterViewInit(): void;
|
|
1134
|
+
ngOnDestroy(): void;
|
|
1135
|
+
private pick;
|
|
1136
|
+
private update;
|
|
1137
|
+
/** A pointer position to flow coordinates on the map. */
|
|
1138
|
+
private toFlow;
|
|
1139
|
+
private pointerDown;
|
|
1140
|
+
private wheel;
|
|
1141
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowMinimap, never>;
|
|
1142
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlowMinimap, "wu-flow-minimap", never, { "position": { "alias": "position"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "nodeColor": { "alias": "nodeColor"; "required": false; }; "nodeStrokeColor": { "alias": "nodeStrokeColor"; "required": false; }; "nodeClassName": { "alias": "nodeClassName"; "required": false; }; "nodeBorderRadius": { "alias": "nodeBorderRadius"; "required": false; }; "nodeStrokeWidth": { "alias": "nodeStrokeWidth"; "required": false; }; "maskColor": { "alias": "maskColor"; "required": false; }; "maskStrokeColor": { "alias": "maskStrokeColor"; "required": false; }; "maskStrokeWidth": { "alias": "maskStrokeWidth"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "pannable": { "alias": "pannable"; "required": false; }; "zoomable": { "alias": "zoomable"; "required": false; }; "inversePan": { "alias": "inversePan"; "required": false; }; "offsetScale": { "alias": "offsetScale"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Zoom in / out, fit view and lock buttons: `<wu-flow-controls position="bottom-left">` inside `<wu-flow>`. Each button
|
|
1147
|
+
* has a label in the app's language; put your own buttons inside (`<button class="wu-flow-controls-button">`).
|
|
1148
|
+
*/
|
|
1149
|
+
declare class WuFlowControls implements OnInit, OnDestroy {
|
|
1150
|
+
position: WuFlowPanelPosition;
|
|
1151
|
+
orientation: 'vertical' | 'horizontal';
|
|
1152
|
+
set showZoom(v: unknown);
|
|
1153
|
+
get showZoom(): boolean;
|
|
1154
|
+
set showFitView(v: unknown);
|
|
1155
|
+
get showFitView(): boolean;
|
|
1156
|
+
set showInteractive(v: unknown);
|
|
1157
|
+
get showInteractive(): boolean;
|
|
1158
|
+
fitViewOptions: WuFlowFitViewOptions | null | undefined;
|
|
1159
|
+
/** Animation of the buttons in ms. Default 200 (none with reduced motion). */
|
|
1160
|
+
duration: number;
|
|
1161
|
+
ariaLabel: string | null | undefined;
|
|
1162
|
+
readonly zoomInClick: EventEmitter<void>;
|
|
1163
|
+
readonly zoomOutClick: EventEmitter<void>;
|
|
1164
|
+
readonly fitViewClick: EventEmitter<void>;
|
|
1165
|
+
readonly interactiveChange: EventEmitter<boolean>;
|
|
1166
|
+
atMin: boolean;
|
|
1167
|
+
atMax: boolean;
|
|
1168
|
+
interactive: boolean;
|
|
1169
|
+
private _zoom;
|
|
1170
|
+
private _fit;
|
|
1171
|
+
private _lock;
|
|
1172
|
+
private stop;
|
|
1173
|
+
private readonly cdr;
|
|
1174
|
+
private readonly host;
|
|
1175
|
+
text(key: 'flowZoomIn' | 'flowZoomOut' | 'flowFitView' | 'flowLock' | 'flowUnlock' | 'flowControls'): string;
|
|
1176
|
+
ngOnInit(): void;
|
|
1177
|
+
ngOnDestroy(): void;
|
|
1178
|
+
zoomIn(): void;
|
|
1179
|
+
zoomOut(): void;
|
|
1180
|
+
/** Screen readers hear the new zoom level. */
|
|
1181
|
+
private announceZoom;
|
|
1182
|
+
fit(): void;
|
|
1183
|
+
toggleInteractive(): void;
|
|
1184
|
+
/** True when a button's state changed. */
|
|
1185
|
+
private sync;
|
|
1186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowControls, never>;
|
|
1187
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlowControls, "wu-flow-controls", never, { "position": { "alias": "position"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "showZoom": { "alias": "showZoom"; "required": false; }; "showFitView": { "alias": "showFitView"; "required": false; }; "showInteractive": { "alias": "showInteractive"; "required": false; }; "fitViewOptions": { "alias": "fitViewOptions"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "zoomInClick": "zoomInClick"; "zoomOutClick": "zoomOutClick"; "fitViewClick": "fitViewClick"; "interactiveChange": "interactiveChange"; }, never, ["*"], true, never>;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Anything placed over the pane at a corner or edge: `<wu-flow-panel position="top-right">…</wu-flow-panel>` inside
|
|
1192
|
+
* `<wu-flow>` (a title, a legend, the app's own buttons). It does not pan or zoom with the diagram.
|
|
1193
|
+
*/
|
|
1194
|
+
declare class WuFlowPanel {
|
|
1195
|
+
position: WuFlowPanelPosition;
|
|
1196
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowPanel, never>;
|
|
1197
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlowPanel, "wu-flow-panel", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Buttons floating beside a node: `<wu-flow-node-toolbar position="top">` inside a node template. Shown while the node
|
|
1202
|
+
* is the only one selected (or as `[isVisible]` says); it keeps its size whatever the zoom and never starts a drag.
|
|
1203
|
+
*/
|
|
1204
|
+
declare class WuFlowNodeToolbar implements OnInit, OnChanges, OnDestroy {
|
|
1205
|
+
/** Force it shown (true) or hidden (false); leave out to show it while the node is the only one selected. */
|
|
1206
|
+
isVisible: boolean | string | null | undefined;
|
|
1207
|
+
/** Side of the node. Default top. */
|
|
1208
|
+
position: FlowPosition;
|
|
1209
|
+
/** Along that side: start, center (default) or end. */
|
|
1210
|
+
align: 'start' | 'center' | 'end';
|
|
1211
|
+
/** Space between the node and the toolbar in px (default: the `--wu-flow-toolbar-offset` token, 10px). */
|
|
1212
|
+
offset: number | string | null | undefined;
|
|
1213
|
+
/** The node it belongs to (default: the node whose template it is in). */
|
|
1214
|
+
nodeId: string | null | undefined;
|
|
1215
|
+
ariaLabel: string | null | undefined;
|
|
1216
|
+
styleClass?: string | null;
|
|
1217
|
+
visible: boolean;
|
|
1218
|
+
private stop;
|
|
1219
|
+
private readonly cdr;
|
|
1220
|
+
private readonly el;
|
|
1221
|
+
private readonly host;
|
|
1222
|
+
private readonly nodeCtx;
|
|
1223
|
+
get side(): FlowPosition;
|
|
1224
|
+
get offsetPx(): string | null;
|
|
1225
|
+
get label(): string;
|
|
1226
|
+
ngOnInit(): void;
|
|
1227
|
+
ngOnChanges(): void;
|
|
1228
|
+
ngOnDestroy(): void;
|
|
1229
|
+
private id;
|
|
1230
|
+
/** True when it was shown / hidden. */
|
|
1231
|
+
private sync;
|
|
1232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowNodeToolbar, never>;
|
|
1233
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlowNodeToolbar, "wu-flow-node-toolbar", never, { "isVisible": { "alias": "isVisible"; "required": false; }; "position": { "alias": "position"; "required": false; }; "align": { "alias": "align"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/** `(resizeStart)` / `(resize)` / `(resizeEnd)`: the node's new box (position relative to its parent). */
|
|
1237
|
+
interface WuFlowResizeEvent {
|
|
1238
|
+
event: PointerEvent | null;
|
|
1239
|
+
x: number;
|
|
1240
|
+
y: number;
|
|
1241
|
+
width: number;
|
|
1242
|
+
height: number;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* Resize handles on a node: `<wu-flow-node-resizer [minWidth]="120" [keepAspectRatio]="false">` inside a node
|
|
1246
|
+
* template. Drag a corner or a side; shown while the node is selected (or as `[isVisible]` says). With the keyboard,
|
|
1247
|
+
* Alt + arrow keys on the focused node resize it.
|
|
1248
|
+
*/
|
|
1249
|
+
declare class WuFlowNodeResizer implements OnInit, OnChanges, OnDestroy {
|
|
1250
|
+
minWidth: number;
|
|
1251
|
+
minHeight: number;
|
|
1252
|
+
maxWidth: number | null | undefined;
|
|
1253
|
+
maxHeight: number | null | undefined;
|
|
1254
|
+
set keepAspectRatio(v: unknown);
|
|
1255
|
+
get keepAspectRatio(): boolean;
|
|
1256
|
+
/** Force it shown / hidden; leave out to show it while the node is selected. */
|
|
1257
|
+
isVisible: boolean | string | null | undefined;
|
|
1258
|
+
/** Colour of the handles and lines (default: the `--wu-flow-resizer-color` token). */
|
|
1259
|
+
color: string | null | undefined;
|
|
1260
|
+
handleClass: string | null | undefined;
|
|
1261
|
+
lineClass: string | null | undefined;
|
|
1262
|
+
/** The node it resizes (default: the node whose template it is in). */
|
|
1263
|
+
nodeId: string | null | undefined;
|
|
1264
|
+
readonly resizeStart: EventEmitter<WuFlowResizeEvent>;
|
|
1265
|
+
readonly resize: EventEmitter<WuFlowResizeEvent>;
|
|
1266
|
+
readonly resizeEnd: EventEmitter<WuFlowResizeEvent>;
|
|
1267
|
+
readonly corners: FlowResizeDirection[];
|
|
1268
|
+
readonly sides: FlowResizeDirection[];
|
|
1269
|
+
visible: boolean;
|
|
1270
|
+
private _ratio;
|
|
1271
|
+
private stops;
|
|
1272
|
+
private unregister;
|
|
1273
|
+
private readonly cdr;
|
|
1274
|
+
private readonly zone;
|
|
1275
|
+
private readonly doc;
|
|
1276
|
+
private readonly el;
|
|
1277
|
+
private readonly host;
|
|
1278
|
+
private readonly nodeCtx;
|
|
1279
|
+
ngOnInit(): void;
|
|
1280
|
+
ngOnChanges(): void;
|
|
1281
|
+
ngOnDestroy(): void;
|
|
1282
|
+
private id;
|
|
1283
|
+
private register;
|
|
1284
|
+
private limits;
|
|
1285
|
+
private sync;
|
|
1286
|
+
start(e: PointerEvent, dir: FlowResizeDirection): void;
|
|
1287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowNodeResizer, never>;
|
|
1288
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WuFlowNodeResizer, "wu-flow-node-resizer", never, { "minWidth": { "alias": "minWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "keepAspectRatio": { "alias": "keepAspectRatio"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "color": { "alias": "color"; "required": false; }; "handleClass": { "alias": "handleClass"; "required": false; }; "lineClass": { "alias": "lineClass"; "required": false; }; "nodeId": { "alias": "nodeId"; "required": false; }; }, { "resizeStart": "resizeStart"; "resize": "resize"; "resizeEnd": "resizeEnd"; }, never, never, true, never>;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/** `(historyChange)`: what undo / redo can do now. */
|
|
1292
|
+
interface WuFlowHistoryState {
|
|
1293
|
+
canUndo: boolean;
|
|
1294
|
+
canRedo: boolean;
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* Undo / redo for a flow: `<wu-flow wuFlowHistory #history="wuFlowHistory" …>`. Every finished change (a drag that
|
|
1298
|
+
* ended, a connection, a delete, a resize, the API) is a step; selecting and measuring are not. Ctrl / ⌘ + Z undoes,
|
|
1299
|
+
* Ctrl / ⌘ + Shift + Z and Ctrl + Y redo while the flow has focus; `history.undo()` / `history.redo()` for buttons
|
|
1300
|
+
* (`[disabled]="!history.canUndo"`). Undoing hands the earlier arrays to `[(nodes)]` / `[(edges)]` like any change.
|
|
1301
|
+
*/
|
|
1302
|
+
declare class WuFlowHistory implements OnInit, AfterViewInit, OnDestroy {
|
|
1303
|
+
/** Steps kept. Default 100. */
|
|
1304
|
+
historyLimit: number;
|
|
1305
|
+
/** Ctrl / ⌘ + Z and friends. Default true. */
|
|
1306
|
+
set historyKeyboard(v: unknown);
|
|
1307
|
+
get historyKeyboard(): boolean;
|
|
1308
|
+
readonly historyChange: EventEmitter<WuFlowHistoryState>;
|
|
1309
|
+
private _keys;
|
|
1310
|
+
private history;
|
|
1311
|
+
private stops;
|
|
1312
|
+
private restoring;
|
|
1313
|
+
private readonly flow;
|
|
1314
|
+
private readonly zone;
|
|
1315
|
+
private readonly cdr;
|
|
1316
|
+
get canUndo(): boolean;
|
|
1317
|
+
get canRedo(): boolean;
|
|
1318
|
+
ngOnInit(): void;
|
|
1319
|
+
ngAfterViewInit(): void;
|
|
1320
|
+
ngOnDestroy(): void;
|
|
1321
|
+
/** Goes one step back; false when there is nothing to undo. */
|
|
1322
|
+
undo(): boolean;
|
|
1323
|
+
redo(): boolean;
|
|
1324
|
+
/** Forgets every step; the diagram as it is now becomes the start. */
|
|
1325
|
+
clear(): void;
|
|
1326
|
+
private apply;
|
|
1327
|
+
private changed;
|
|
1328
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowHistory, never>;
|
|
1329
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<WuFlowHistory, "wu-flow[wuFlowHistory]", ["wuFlowHistory"], { "historyLimit": { "alias": "historyLimit"; "required": false; }; "historyKeyboard": { "alias": "historyKeyboard"; "required": false; }; }, { "historyChange": "historyChange"; }, never, never, true, never>;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
/**
|
|
1333
|
+
* For NgModule apps: everything wu-flow needs (the flow, handles, templates, background, minimap, controls, panel,
|
|
1334
|
+
* node toolbar, resizer, history) plus `wuTemplate`. Standalone apps can import the parts they use.
|
|
1335
|
+
*/
|
|
1336
|
+
declare class WuFlowModule {
|
|
1337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WuFlowModule, never>;
|
|
1338
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WuFlowModule, never, [typeof WuFlow, typeof WuFlowHandle, typeof WuFlowNodeTemplate, typeof WuFlowEdgeTemplate, typeof WuFlowEdgeLabelTemplate, typeof WuFlowConnectionLineTemplate, typeof WuFlowBackground, typeof WuFlowMinimap, typeof WuFlowControls, typeof WuFlowPanel, typeof WuFlowNodeToolbar, typeof WuFlowNodeResizer, typeof WuFlowHistory, typeof i11.WuTemplate], [typeof WuFlow, typeof WuFlowHandle, typeof WuFlowNodeTemplate, typeof WuFlowEdgeTemplate, typeof WuFlowEdgeLabelTemplate, typeof WuFlowConnectionLineTemplate, typeof WuFlowBackground, typeof WuFlowMinimap, typeof WuFlowControls, typeof WuFlowPanel, typeof WuFlowNodeToolbar, typeof WuFlowNodeResizer, typeof WuFlowHistory, typeof i11.WuTemplate]>;
|
|
1339
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WuFlowModule>;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
export { WU_FLOW_NODE, WuFlow, WuFlowBackground, WuFlowConnectionLineTemplate, WuFlowControls, WuFlowEdgeLabelTemplate, WuFlowEdgeTemplate, WuFlowHandle, WuFlowHistory, WuFlowMinimap, WuFlowModule, WuFlowNodeResizer, WuFlowNodeTemplate, WuFlowNodeToolbar, WuFlowPanel, ɵWuFlowHost, ɵWuFlowNodeComponentOutlet, ɵWuFlowNodeRegistry, ɵWuFlowNodeWrapper };
|
|
1343
|
+
export type { WuFlowApi, WuFlowBeforeDelete, WuFlowConnectEndEvent, WuFlowConnectStartEvent, WuFlowConnectionLineContext, WuFlowDeleteEvent, WuFlowEdge, WuFlowEdgeContext, WuFlowEdgeEvent, WuFlowFitBoundsOptions, WuFlowFitViewOptions, WuFlowHistoryState, WuFlowLayoutOptions, WuFlowMoveEvent, WuFlowNode, WuFlowNodeComponentEvent, WuFlowNodeContext, WuFlowNodeDragEvent, WuFlowNodeEvent, WuFlowNodeRect, WuFlowPanelPosition, WuFlowReconnectEndEvent, WuFlowReconnectEvent, WuFlowReconnectStartEvent, WuFlowResizeEvent, WuFlowSelectionChange, WuFlowSetCenterOptions, WuFlowViewportOptions, ɵWuFlowChange, ɵWuFlowConnectionView, ɵWuFlowEdgeLayer, ɵWuFlowEdgeView, ɵWuFlowMarkerView, ɵWuFlowNodeBox, ɵWuFlowNodeView };
|