@wirabyte/ui 0.0.0-stage → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/LICENSE +21 -0
- package/README.md +74 -2
- package/accordion/accordion.component.d.ts +126 -0
- package/accordion/accordion.module.d.ts +9 -0
- package/accordion/accordion.types.d.ts +10 -0
- package/accordion/index.d.ts +5 -0
- package/accordion/public-api.d.ts +3 -0
- package/alert/alert-dialog.base.d.ts +79 -0
- package/alert/alert-dialog.component.d.ts +8 -0
- package/alert/alert.module.d.ts +8 -0
- package/alert/alert.service.d.ts +76 -0
- package/alert/alert.types.d.ts +87 -0
- package/alert/index.d.ts +5 -0
- package/alert/public-api.d.ts +5 -0
- package/animate/animate.directive.d.ts +34 -0
- package/animate/animate.module.d.ts +11 -0
- package/animate/animate.service.d.ts +36 -0
- package/animate/animate.styles.d.ts +2 -0
- package/animate/animate.types.d.ts +20 -0
- package/animate/index.d.ts +5 -0
- package/animate/public-api.d.ts +4 -0
- package/api/index.d.ts +5 -0
- package/api/public-api.d.ts +15 -0
- package/api/shared.module.d.ts +8 -0
- package/asidemenu/asidemenu.component.d.ts +221 -0
- package/asidemenu/asidemenu.module.d.ts +9 -0
- package/asidemenu/index.d.ts +5 -0
- package/asidemenu/public-api.d.ts +2 -0
- package/autocomplete/autocomplete.base.d.ts +181 -0
- package/autocomplete/autocomplete.component.d.ts +10 -0
- package/autocomplete/autocomplete.module.d.ts +9 -0
- package/autocomplete/autocomplete.types.d.ts +10 -0
- package/autocomplete/index.d.ts +5 -0
- package/autocomplete/public-api.d.ts +4 -0
- package/avatar/avatar.component.d.ts +38 -0
- package/avatar/avatar.module.d.ts +8 -0
- package/avatar/avatar.types.d.ts +2 -0
- package/avatar/index.d.ts +5 -0
- package/avatar/public-api.d.ts +3 -0
- package/badge/badge.component.d.ts +20 -0
- package/badge/badge.directive.d.ts +32 -0
- package/badge/badge.module.d.ts +9 -0
- package/badge/badge.styles.d.ts +2 -0
- package/badge/badge.types.d.ts +3 -0
- package/badge/index.d.ts +5 -0
- package/badge/public-api.d.ts +4 -0
- package/blockui/blockui.component.d.ts +41 -0
- package/blockui/blockui.module.d.ts +8 -0
- package/blockui/index.d.ts +5 -0
- package/blockui/public-api.d.ts +2 -0
- package/bottombar/bottombar.component.d.ts +79 -0
- package/bottombar/bottombar.module.d.ts +9 -0
- package/bottombar/index.d.ts +5 -0
- package/bottombar/public-api.d.ts +2 -0
- package/breadcrumb/breadcrumb.component.d.ts +41 -0
- package/breadcrumb/breadcrumb.module.d.ts +8 -0
- package/breadcrumb/index.d.ts +5 -0
- package/breadcrumb/public-api.d.ts +2 -0
- package/button/button-class.d.ts +8 -0
- package/button/button.component.d.ts +69 -0
- package/button/button.directive.d.ts +53 -0
- package/button/button.module.d.ts +9 -0
- package/button/button.styles.d.ts +2 -0
- package/button/button.types.d.ts +8 -0
- package/button/index.d.ts +5 -0
- package/button/public-api.d.ts +7 -0
- package/card/card-slots.d.ts +11 -0
- package/card/card.component.d.ts +41 -0
- package/card/card.module.d.ts +10 -0
- package/card/card.types.d.ts +5 -0
- package/card/index.d.ts +5 -0
- package/card/public-api.d.ts +4 -0
- package/carousel/carousel.component.d.ts +169 -0
- package/carousel/carousel.module.d.ts +10 -0
- package/carousel/carousel.types.d.ts +21 -0
- package/carousel/index.d.ts +5 -0
- package/carousel/public-api.d.ts +3 -0
- package/chart/chart.component.d.ts +11 -0
- package/chart/chart.module.d.ts +8 -0
- package/chart/index.d.ts +5 -0
- package/chart/public-api.d.ts +3 -0
- package/chartjs/chartjs.base.d.ts +70 -0
- package/chartjs/chartjs.component.d.ts +10 -0
- package/chartjs/chartjs.module.d.ts +8 -0
- package/chartjs/chartjs.types.d.ts +8 -0
- package/chartjs/index.d.ts +5 -0
- package/chartjs/public-api.d.ts +4 -0
- package/checkbox/checkbox.component.d.ts +59 -0
- package/checkbox/checkbox.module.d.ts +8 -0
- package/checkbox/checkbox.styles.d.ts +2 -0
- package/checkbox/checkbox.types.d.ts +4 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +5 -0
- package/chip/chip.component.d.ts +36 -0
- package/chip/chip.module.d.ts +8 -0
- package/chip/index.d.ts +5 -0
- package/chip/public-api.d.ts +2 -0
- package/colorpicker/colorpicker.component.d.ts +87 -0
- package/colorpicker/colorpicker.module.d.ts +8 -0
- package/colorpicker/index.d.ts +5 -0
- package/colorpicker/public-api.d.ts +2 -0
- package/config/forms.d.ts +17 -0
- package/config/index.d.ts +5 -0
- package/config/initializer.d.ts +3 -0
- package/config/menu-item.d.ts +52 -0
- package/config/options.d.ts +48 -0
- package/config/popup.d.ts +48 -0
- package/config/provide.d.ts +23 -0
- package/config/public-api.d.ts +17 -0
- package/config/ripple.d.ts +2 -0
- package/config/scroll-lock.d.ts +5 -0
- package/config/severity.d.ts +5 -0
- package/config/style-loader.d.ts +12 -0
- package/config/template.d.ts +19 -0
- package/config/theme.service.d.ts +46 -0
- package/config/version-guard.d.ts +14 -0
- package/config/version.d.ts +6 -0
- package/config/wu-config.service.d.ts +24 -0
- package/confirmdialog/confirmation.service.d.ts +25 -0
- package/confirmdialog/confirmdialog.base.d.ts +110 -0
- package/confirmdialog/confirmdialog.component.d.ts +11 -0
- package/confirmdialog/confirmdialog.module.d.ts +9 -0
- package/confirmdialog/confirmdialog.types.d.ts +37 -0
- package/confirmdialog/index.d.ts +5 -0
- package/confirmdialog/public-api.d.ts +5 -0
- package/contextmenu/contextmenu.component.d.ts +47 -0
- package/contextmenu/contextmenu.module.d.ts +8 -0
- package/contextmenu/index.d.ts +5 -0
- package/contextmenu/public-api.d.ts +2 -0
- package/core/carousel.d.ts +27 -0
- package/core/catalog.d.ts +446 -0
- package/core/chart/format.d.ts +19 -0
- package/core/chart/index.d.ts +6 -0
- package/core/chart/kinds.d.ts +78 -0
- package/core/chart/model.d.ts +500 -0
- package/core/chart/more.d.ts +33 -0
- package/core/chart/paths.d.ts +41 -0
- package/core/chart/scale.d.ts +22 -0
- package/core/color.d.ts +31 -0
- package/core/colorpicker.d.ts +23 -0
- package/core/compat.d.ts +11 -0
- package/core/config.d.ts +64 -0
- package/core/date.d.ts +130 -0
- package/core/datepicker.d.ts +184 -0
- package/core/dock.d.ts +6 -0
- package/core/editor.d.ts +117 -0
- package/core/errorpage.d.ts +15 -0
- package/core/excel.d.ts +239 -0
- package/core/exporters.d.ts +18 -0
- package/core/families.d.ts +13 -0
- package/core/fileupload.d.ts +24 -0
- package/core/flow/changes.d.ts +63 -0
- package/core/flow/edges.d.ts +52 -0
- package/core/flow/export.d.ts +56 -0
- package/core/flow/geometry.d.ts +117 -0
- package/core/flow/graph.d.ts +104 -0
- package/core/flow/history.d.ts +54 -0
- package/core/flow/index.d.ts +13 -0
- package/core/flow/interaction.d.ts +140 -0
- package/core/flow/layout.d.ts +57 -0
- package/core/flow/paths.d.ts +76 -0
- package/core/flow/text.d.ts +18 -0
- package/core/flow/types.d.ts +217 -0
- package/core/flow/viewport.d.ts +48 -0
- package/core/i18n.d.ts +24 -0
- package/core/imagecompare.d.ts +12 -0
- package/core/imagecropper.d.ts +183 -0
- package/core/index.d.ts +39 -0
- package/core/inputotp.d.ts +20 -0
- package/core/knob.d.ts +28 -0
- package/core/mask.d.ts +43 -0
- package/core/menu.d.ts +29 -0
- package/core/number.d.ts +66 -0
- package/core/organizationchart.d.ts +39 -0
- package/core/overrides.d.ts +109 -0
- package/core/picklist.d.ts +81 -0
- package/core/select.d.ts +44 -0
- package/core/splitter.d.ts +17 -0
- package/core/table.d.ts +48 -0
- package/core/terminal.d.ts +12 -0
- package/core/thai/buddhist.d.ts +22 -0
- package/core/thai/locale.d.ts +358 -0
- package/core/thai/text.d.ts +32 -0
- package/core/thai/thai-id.d.ts +6 -0
- package/core/tokens.d.ts +69 -0
- package/core/tree.d.ts +50 -0
- package/core/validation.d.ts +18 -0
- package/datepicker/datepicker.component.d.ts +275 -0
- package/datepicker/datepicker.module.d.ts +8 -0
- package/datepicker/datepicker.types.d.ts +10 -0
- package/datepicker/index.d.ts +5 -0
- package/datepicker/public-api.d.ts +3 -0
- package/dialog/dialog.base.d.ts +147 -0
- package/dialog/dialog.component.d.ts +11 -0
- package/dialog/dialog.module.d.ts +10 -0
- package/dialog/dialog.service.d.ts +104 -0
- package/dialog/dialog.types.d.ts +3 -0
- package/dialog/index.d.ts +5 -0
- package/dialog/public-api.d.ts +5 -0
- package/divider/divider.component.d.ts +20 -0
- package/divider/divider.module.d.ts +8 -0
- package/divider/divider.types.d.ts +4 -0
- package/divider/index.d.ts +5 -0
- package/divider/public-api.d.ts +3 -0
- package/dock/dock.component.d.ts +88 -0
- package/dock/dock.module.d.ts +9 -0
- package/dock/index.d.ts +5 -0
- package/dock/public-api.d.ts +2 -0
- package/dragdrop/dragdrop.directive.d.ts +65 -0
- package/dragdrop/dragdrop.module.d.ts +8 -0
- package/dragdrop/dragdrop.styles.d.ts +2 -0
- package/dragdrop/index.d.ts +5 -0
- package/dragdrop/public-api.d.ts +2 -0
- package/drawer/drawer.component.d.ts +102 -0
- package/drawer/drawer.module.d.ts +8 -0
- package/drawer/index.d.ts +5 -0
- package/drawer/public-api.d.ts +5 -0
- package/editor/editor-content.directive.d.ts +10 -0
- package/editor/editor-icon.directive.d.ts +8 -0
- package/editor/editor.base.d.ts +367 -0
- package/editor/editor.component.d.ts +11 -0
- package/editor/editor.dom.d.ts +91 -0
- package/editor/editor.icons.d.ts +13 -0
- package/editor/editor.module.d.ts +10 -0
- package/editor/editor.styles.d.ts +2 -0
- package/editor/editor.types.d.ts +92 -0
- package/editor/index.d.ts +5 -0
- package/editor/public-api.d.ts +6 -0
- package/emptystate/emptystate.component.d.ts +44 -0
- package/emptystate/emptystate.module.d.ts +8 -0
- package/emptystate/index.d.ts +5 -0
- package/emptystate/public-api.d.ts +2 -0
- package/errorpage/errorpage.component.d.ts +73 -0
- package/errorpage/errorpage.module.d.ts +8 -0
- package/errorpage/index.d.ts +5 -0
- package/errorpage/public-api.d.ts +2 -0
- package/esm2020/accordion/accordion.component.mjs +376 -0
- package/esm2020/accordion/accordion.module.mjs +19 -0
- package/esm2020/accordion/accordion.types.mjs +17 -0
- package/esm2020/accordion/public-api.mjs +4 -0
- package/esm2020/accordion/wirabyte-ui-accordion.mjs +5 -0
- package/esm2020/alert/alert-dialog.base.mjs +355 -0
- package/esm2020/alert/alert-dialog.component.mjs +21 -0
- package/esm2020/alert/alert.module.mjs +17 -0
- package/esm2020/alert/alert.service.mjs +142 -0
- package/esm2020/alert/alert.types.mjs +2 -0
- package/esm2020/alert/public-api.mjs +6 -0
- package/esm2020/alert/wirabyte-ui-alert.mjs +5 -0
- package/esm2020/animate/animate.directive.mjs +71 -0
- package/esm2020/animate/animate.module.mjs +21 -0
- package/esm2020/animate/animate.service.mjs +183 -0
- package/esm2020/animate/animate.styles.mjs +3 -0
- package/esm2020/animate/animate.types.mjs +2 -0
- package/esm2020/animate/public-api.mjs +5 -0
- package/esm2020/animate/wirabyte-ui-animate.mjs +5 -0
- package/esm2020/api/public-api.mjs +11 -0
- package/esm2020/api/shared.module.mjs +17 -0
- package/esm2020/api/wirabyte-ui-api.mjs +5 -0
- package/esm2020/asidemenu/asidemenu.component.mjs +811 -0
- package/esm2020/asidemenu/asidemenu.module.mjs +18 -0
- package/esm2020/asidemenu/public-api.mjs +3 -0
- package/esm2020/asidemenu/wirabyte-ui-asidemenu.mjs +5 -0
- package/esm2020/autocomplete/autocomplete.base.mjs +567 -0
- package/esm2020/autocomplete/autocomplete.component.mjs +24 -0
- package/esm2020/autocomplete/autocomplete.module.mjs +18 -0
- package/esm2020/autocomplete/autocomplete.types.mjs +2 -0
- package/esm2020/autocomplete/public-api.mjs +5 -0
- package/esm2020/autocomplete/wirabyte-ui-autocomplete.mjs +5 -0
- package/esm2020/avatar/avatar.component.mjs +81 -0
- package/esm2020/avatar/avatar.module.mjs +17 -0
- package/esm2020/avatar/avatar.types.mjs +2 -0
- package/esm2020/avatar/public-api.mjs +4 -0
- package/esm2020/avatar/wirabyte-ui-avatar.mjs +5 -0
- package/esm2020/badge/badge.component.mjs +52 -0
- package/esm2020/badge/badge.directive.mjs +111 -0
- package/esm2020/badge/badge.module.mjs +18 -0
- package/esm2020/badge/badge.styles.mjs +3 -0
- package/esm2020/badge/badge.types.mjs +2 -0
- package/esm2020/badge/public-api.mjs +5 -0
- package/esm2020/badge/wirabyte-ui-badge.mjs +5 -0
- package/esm2020/blockui/blockui.component.mjs +152 -0
- package/esm2020/blockui/blockui.module.mjs +17 -0
- package/esm2020/blockui/public-api.mjs +3 -0
- package/esm2020/blockui/wirabyte-ui-blockui.mjs +5 -0
- package/esm2020/bottombar/bottombar.component.mjs +209 -0
- package/esm2020/bottombar/bottombar.module.mjs +18 -0
- package/esm2020/bottombar/public-api.mjs +3 -0
- package/esm2020/bottombar/wirabyte-ui-bottombar.mjs +5 -0
- package/esm2020/breadcrumb/breadcrumb.component.mjs +86 -0
- package/esm2020/breadcrumb/breadcrumb.module.mjs +17 -0
- package/esm2020/breadcrumb/public-api.mjs +3 -0
- package/esm2020/breadcrumb/wirabyte-ui-breadcrumb.mjs +5 -0
- package/esm2020/button/button-class.mjs +26 -0
- package/esm2020/button/button.component.mjs +175 -0
- package/esm2020/button/button.directive.mjs +193 -0
- package/esm2020/button/button.module.mjs +18 -0
- package/esm2020/button/button.styles.mjs +3 -0
- package/esm2020/button/button.types.mjs +2 -0
- package/esm2020/button/public-api.mjs +8 -0
- package/esm2020/button/wirabyte-ui-button.mjs +5 -0
- package/esm2020/card/card-slots.mjs +27 -0
- package/esm2020/card/card.component.mjs +88 -0
- package/esm2020/card/card.module.mjs +19 -0
- package/esm2020/card/card.types.mjs +2 -0
- package/esm2020/card/public-api.mjs +5 -0
- package/esm2020/card/wirabyte-ui-card.mjs +5 -0
- package/esm2020/carousel/carousel.component.mjs +617 -0
- package/esm2020/carousel/carousel.module.mjs +19 -0
- package/esm2020/carousel/carousel.types.mjs +2 -0
- package/esm2020/carousel/public-api.mjs +4 -0
- package/esm2020/carousel/wirabyte-ui-carousel.mjs +5 -0
- package/esm2020/chart/chart.component.mjs +42 -0
- package/esm2020/chart/chart.module.mjs +17 -0
- package/esm2020/chart/public-api.mjs +3 -0
- package/esm2020/chart/wirabyte-ui-chart.mjs +5 -0
- package/esm2020/chartjs/chartjs.base.mjs +204 -0
- package/esm2020/chartjs/chartjs.component.mjs +41 -0
- package/esm2020/chartjs/chartjs.module.mjs +17 -0
- package/esm2020/chartjs/chartjs.types.mjs +2 -0
- package/esm2020/chartjs/public-api.mjs +5 -0
- package/esm2020/chartjs/wirabyte-ui-chartjs.mjs +5 -0
- package/esm2020/checkbox/checkbox.component.mjs +140 -0
- package/esm2020/checkbox/checkbox.module.mjs +17 -0
- package/esm2020/checkbox/checkbox.styles.mjs +3 -0
- package/esm2020/checkbox/checkbox.types.mjs +2 -0
- package/esm2020/checkbox/public-api.mjs +6 -0
- package/esm2020/checkbox/wirabyte-ui-checkbox.mjs +5 -0
- package/esm2020/chip/chip.component.mjs +76 -0
- package/esm2020/chip/chip.module.mjs +17 -0
- package/esm2020/chip/public-api.mjs +3 -0
- package/esm2020/chip/wirabyte-ui-chip.mjs +5 -0
- package/esm2020/colorpicker/colorpicker.component.mjs +308 -0
- package/esm2020/colorpicker/colorpicker.module.mjs +17 -0
- package/esm2020/colorpicker/public-api.mjs +3 -0
- package/esm2020/colorpicker/wirabyte-ui-colorpicker.mjs +5 -0
- package/esm2020/config/forms.mjs +38 -0
- package/esm2020/config/initializer.mjs +6 -0
- package/esm2020/config/menu-item.mjs +2 -0
- package/esm2020/config/options.mjs +3 -0
- package/esm2020/config/popup.mjs +153 -0
- package/esm2020/config/provide.mjs +45 -0
- package/esm2020/config/public-api.mjs +17 -0
- package/esm2020/config/ripple.mjs +13 -0
- package/esm2020/config/scroll-lock.mjs +31 -0
- package/esm2020/config/severity.mjs +9 -0
- package/esm2020/config/style-loader.mjs +32 -0
- package/esm2020/config/template.mjs +46 -0
- package/esm2020/config/theme.service.mjs +161 -0
- package/esm2020/config/version-guard.mjs +43 -0
- package/esm2020/config/version.mjs +3 -0
- package/esm2020/config/wirabyte-ui-config.mjs +5 -0
- package/esm2020/config/wu-config.service.mjs +50 -0
- package/esm2020/confirmdialog/confirmation.service.mjs +78 -0
- package/esm2020/confirmdialog/confirmdialog.base.mjs +274 -0
- package/esm2020/confirmdialog/confirmdialog.component.mjs +22 -0
- package/esm2020/confirmdialog/confirmdialog.module.mjs +18 -0
- package/esm2020/confirmdialog/confirmdialog.types.mjs +8 -0
- package/esm2020/confirmdialog/public-api.mjs +6 -0
- package/esm2020/confirmdialog/wirabyte-ui-confirmdialog.mjs +5 -0
- package/esm2020/contextmenu/contextmenu.component.mjs +159 -0
- package/esm2020/contextmenu/contextmenu.module.mjs +17 -0
- package/esm2020/contextmenu/public-api.mjs +3 -0
- package/esm2020/contextmenu/wirabyte-ui-contextmenu.mjs +5 -0
- package/esm2020/core/carousel.mjs +62 -0
- package/esm2020/core/catalog.mjs +203 -0
- package/esm2020/core/chart/format.mjs +66 -0
- package/esm2020/core/chart/index.mjs +7 -0
- package/esm2020/core/chart/kinds.mjs +1336 -0
- package/esm2020/core/chart/model.mjs +713 -0
- package/esm2020/core/chart/more.mjs +311 -0
- package/esm2020/core/chart/paths.mjs +160 -0
- package/esm2020/core/chart/scale.mjs +58 -0
- package/esm2020/core/color.mjs +94 -0
- package/esm2020/core/colorpicker.mjs +73 -0
- package/esm2020/core/compat.mjs +149 -0
- package/esm2020/core/config.mjs +163 -0
- package/esm2020/core/date.mjs +317 -0
- package/esm2020/core/datepicker.mjs +526 -0
- package/esm2020/core/dock.mjs +14 -0
- package/esm2020/core/editor.mjs +271 -0
- package/esm2020/core/errorpage.mjs +47 -0
- package/esm2020/core/excel.mjs +809 -0
- package/esm2020/core/exporters.mjs +241 -0
- package/esm2020/core/families.mjs +1756 -0
- package/esm2020/core/fileupload.mjs +48 -0
- package/esm2020/core/flow/changes.mjs +205 -0
- package/esm2020/core/flow/edges.mjs +87 -0
- package/esm2020/core/flow/export.mjs +231 -0
- package/esm2020/core/flow/geometry.mjs +309 -0
- package/esm2020/core/flow/graph.mjs +314 -0
- package/esm2020/core/flow/history.mjs +105 -0
- package/esm2020/core/flow/index.mjs +14 -0
- package/esm2020/core/flow/interaction.mjs +246 -0
- package/esm2020/core/flow/layout.mjs +586 -0
- package/esm2020/core/flow/paths.mjs +252 -0
- package/esm2020/core/flow/text.mjs +68 -0
- package/esm2020/core/flow/types.mjs +7 -0
- package/esm2020/core/flow/viewport.mjs +133 -0
- package/esm2020/core/i18n.mjs +78 -0
- package/esm2020/core/imagecompare.mjs +28 -0
- package/esm2020/core/imagecropper.mjs +483 -0
- package/esm2020/core/index.mjs +40 -0
- package/esm2020/core/inputotp.mjs +50 -0
- package/esm2020/core/knob.mjs +106 -0
- package/esm2020/core/mask.mjs +112 -0
- package/esm2020/core/menu.mjs +77 -0
- package/esm2020/core/number.mjs +131 -0
- package/esm2020/core/organizationchart.mjs +84 -0
- package/esm2020/core/overrides.mjs +169 -0
- package/esm2020/core/picklist.mjs +248 -0
- package/esm2020/core/select.mjs +161 -0
- package/esm2020/core/splitter.mjs +63 -0
- package/esm2020/core/table.mjs +174 -0
- package/esm2020/core/terminal.mjs +29 -0
- package/esm2020/core/thai/buddhist.mjs +129 -0
- package/esm2020/core/thai/locale.mjs +652 -0
- package/esm2020/core/thai/text.mjs +164 -0
- package/esm2020/core/thai/thai-id.mjs +22 -0
- package/esm2020/core/tokens.mjs +314 -0
- package/esm2020/core/tree.mjs +137 -0
- package/esm2020/core/validation.mjs +43 -0
- package/esm2020/core/wirabyte-ui-core.mjs +5 -0
- package/esm2020/datepicker/datepicker.component.mjs +921 -0
- package/esm2020/datepicker/datepicker.module.mjs +17 -0
- package/esm2020/datepicker/datepicker.types.mjs +2 -0
- package/esm2020/datepicker/public-api.mjs +4 -0
- package/esm2020/datepicker/wirabyte-ui-datepicker.mjs +5 -0
- package/esm2020/dialog/dialog.base.mjs +433 -0
- package/esm2020/dialog/dialog.component.mjs +18 -0
- package/esm2020/dialog/dialog.module.mjs +19 -0
- package/esm2020/dialog/dialog.service.mjs +237 -0
- package/esm2020/dialog/dialog.types.mjs +2 -0
- package/esm2020/dialog/public-api.mjs +6 -0
- package/esm2020/dialog/wirabyte-ui-dialog.mjs +5 -0
- package/esm2020/divider/divider.component.mjs +56 -0
- package/esm2020/divider/divider.module.mjs +17 -0
- package/esm2020/divider/divider.types.mjs +2 -0
- package/esm2020/divider/public-api.mjs +4 -0
- package/esm2020/divider/wirabyte-ui-divider.mjs +5 -0
- package/esm2020/dock/dock.component.mjs +287 -0
- package/esm2020/dock/dock.module.mjs +18 -0
- package/esm2020/dock/public-api.mjs +3 -0
- package/esm2020/dock/wirabyte-ui-dock.mjs +5 -0
- package/esm2020/dragdrop/dragdrop.directive.mjs +206 -0
- package/esm2020/dragdrop/dragdrop.module.mjs +17 -0
- package/esm2020/dragdrop/dragdrop.styles.mjs +3 -0
- package/esm2020/dragdrop/public-api.mjs +3 -0
- package/esm2020/dragdrop/wirabyte-ui-dragdrop.mjs +5 -0
- package/esm2020/drawer/drawer.component.mjs +300 -0
- package/esm2020/drawer/drawer.module.mjs +17 -0
- package/esm2020/drawer/public-api.mjs +6 -0
- package/esm2020/drawer/wirabyte-ui-drawer.mjs +5 -0
- package/esm2020/editor/editor-content.directive.mjs +24 -0
- package/esm2020/editor/editor-icon.directive.mjs +24 -0
- package/esm2020/editor/editor.base.mjs +2082 -0
- package/esm2020/editor/editor.component.mjs +20 -0
- package/esm2020/editor/editor.dom.mjs +787 -0
- package/esm2020/editor/editor.icons.mjs +106 -0
- package/esm2020/editor/editor.module.mjs +19 -0
- package/esm2020/editor/editor.styles.mjs +3 -0
- package/esm2020/editor/editor.types.mjs +6 -0
- package/esm2020/editor/public-api.mjs +7 -0
- package/esm2020/editor/wirabyte-ui-editor.mjs +5 -0
- package/esm2020/emptystate/emptystate.component.mjs +78 -0
- package/esm2020/emptystate/emptystate.module.mjs +17 -0
- package/esm2020/emptystate/public-api.mjs +3 -0
- package/esm2020/emptystate/wirabyte-ui-emptystate.mjs +5 -0
- package/esm2020/errorpage/errorpage.component.mjs +163 -0
- package/esm2020/errorpage/errorpage.module.mjs +17 -0
- package/esm2020/errorpage/public-api.mjs +3 -0
- package/esm2020/errorpage/wirabyte-ui-errorpage.mjs +5 -0
- package/esm2020/excel/excel.mjs +35 -0
- package/esm2020/excel/public-api.mjs +3 -0
- package/esm2020/excel/wirabyte-ui-excel.mjs +5 -0
- package/esm2020/fieldset/fieldset.component.mjs +74 -0
- package/esm2020/fieldset/fieldset.module.mjs +18 -0
- package/esm2020/fieldset/public-api.mjs +3 -0
- package/esm2020/fieldset/wirabyte-ui-fieldset.mjs +5 -0
- package/esm2020/fileupload/fileupload.base.mjs +563 -0
- package/esm2020/fileupload/fileupload.component.mjs +19 -0
- package/esm2020/fileupload/fileupload.module.mjs +18 -0
- package/esm2020/fileupload/fileupload.types.mjs +2 -0
- package/esm2020/fileupload/public-api.mjs +5 -0
- package/esm2020/fileupload/wirabyte-ui-fileupload.mjs +5 -0
- package/esm2020/floatlabel/floatlabel.component.mjs +53 -0
- package/esm2020/floatlabel/floatlabel.module.mjs +17 -0
- package/esm2020/floatlabel/floatlabel.types.mjs +2 -0
- package/esm2020/floatlabel/public-api.mjs +4 -0
- package/esm2020/floatlabel/wirabyte-ui-floatlabel.mjs +5 -0
- package/esm2020/flow/flow-background.component.mjs +183 -0
- package/esm2020/flow/flow-controls.component.mjs +267 -0
- package/esm2020/flow/flow-handle.component.mjs +130 -0
- package/esm2020/flow/flow-history.directive.mjs +129 -0
- package/esm2020/flow/flow-host.mjs +7 -0
- package/esm2020/flow/flow-minimap.component.mjs +322 -0
- package/esm2020/flow/flow-node-outlet.mjs +148 -0
- package/esm2020/flow/flow-node-resizer.component.mjs +208 -0
- package/esm2020/flow/flow-node-toolbar.component.mjs +119 -0
- package/esm2020/flow/flow-panel.component.mjs +37 -0
- package/esm2020/flow/flow-templates.mjs +100 -0
- package/esm2020/flow/flow.component.mjs +3245 -0
- package/esm2020/flow/flow.module.mjs +76 -0
- package/esm2020/flow/flow.types.mjs +7 -0
- package/esm2020/flow/public-api.mjs +17 -0
- package/esm2020/flow/wirabyte-ui-flow.mjs +5 -0
- package/esm2020/galleria/galleria.component.mjs +480 -0
- package/esm2020/galleria/galleria.module.mjs +17 -0
- package/esm2020/galleria/public-api.mjs +3 -0
- package/esm2020/galleria/wirabyte-ui-galleria.mjs +5 -0
- package/esm2020/i18n/i18n.module.mjs +37 -0
- package/esm2020/i18n/i18n.service.mjs +148 -0
- package/esm2020/i18n/i18n.types.mjs +3 -0
- package/esm2020/i18n/language-switch.component.mjs +91 -0
- package/esm2020/i18n/public-api.mjs +7 -0
- package/esm2020/i18n/translate.pipe.mjs +52 -0
- package/esm2020/i18n/wirabyte-ui-i18n.mjs +5 -0
- package/esm2020/iconfield/iconfield.component.mjs +73 -0
- package/esm2020/iconfield/iconfield.module.mjs +17 -0
- package/esm2020/iconfield/public-api.mjs +3 -0
- package/esm2020/iconfield/wirabyte-ui-iconfield.mjs +5 -0
- package/esm2020/image/image.base.mjs +183 -0
- package/esm2020/image/image.component.mjs +14 -0
- package/esm2020/image/image.module.mjs +18 -0
- package/esm2020/image/public-api.mjs +4 -0
- package/esm2020/image/wirabyte-ui-image.mjs +5 -0
- package/esm2020/imagecompare/imagecompare.component.mjs +200 -0
- package/esm2020/imagecompare/imagecompare.module.mjs +18 -0
- package/esm2020/imagecompare/public-api.mjs +3 -0
- package/esm2020/imagecompare/wirabyte-ui-imagecompare.mjs +5 -0
- package/esm2020/imagecropper/imagecropper.component.mjs +1253 -0
- package/esm2020/imagecropper/imagecropper.module.mjs +17 -0
- package/esm2020/imagecropper/imagecropper.types.mjs +6 -0
- package/esm2020/imagecropper/public-api.mjs +5 -0
- package/esm2020/imagecropper/wirabyte-ui-imagecropper.mjs +5 -0
- package/esm2020/inplace/inplace.component.mjs +145 -0
- package/esm2020/inplace/inplace.module.mjs +17 -0
- package/esm2020/inplace/public-api.mjs +3 -0
- package/esm2020/inplace/wirabyte-ui-inplace.mjs +5 -0
- package/esm2020/inputgroup/inputgroup.component.mjs +61 -0
- package/esm2020/inputgroup/inputgroup.module.mjs +17 -0
- package/esm2020/inputgroup/public-api.mjs +3 -0
- package/esm2020/inputgroup/wirabyte-ui-inputgroup.mjs +5 -0
- package/esm2020/inputmask/inputmask.base.mjs +319 -0
- package/esm2020/inputmask/inputmask.component.mjs +23 -0
- package/esm2020/inputmask/inputmask.module.mjs +17 -0
- package/esm2020/inputmask/public-api.mjs +4 -0
- package/esm2020/inputmask/wirabyte-ui-inputmask.mjs +5 -0
- package/esm2020/inputnumber/inputnumber.component.mjs +364 -0
- package/esm2020/inputnumber/inputnumber.module.mjs +17 -0
- package/esm2020/inputnumber/inputnumber.types.mjs +2 -0
- package/esm2020/inputnumber/public-api.mjs +4 -0
- package/esm2020/inputnumber/wirabyte-ui-inputnumber.mjs +5 -0
- package/esm2020/inputotp/inputotp.component.mjs +344 -0
- package/esm2020/inputotp/inputotp.module.mjs +18 -0
- package/esm2020/inputotp/inputotp.types.mjs +2 -0
- package/esm2020/inputotp/public-api.mjs +4 -0
- package/esm2020/inputotp/wirabyte-ui-inputotp.mjs +5 -0
- package/esm2020/inputtext/inputtext.directive.mjs +62 -0
- package/esm2020/inputtext/inputtext.module.mjs +17 -0
- package/esm2020/inputtext/inputtext.styles.mjs +3 -0
- package/esm2020/inputtext/inputtext.types.mjs +2 -0
- package/esm2020/inputtext/public-api.mjs +6 -0
- package/esm2020/inputtext/wirabyte-ui-inputtext.mjs +5 -0
- package/esm2020/keyfilter/keyfilter.directive.mjs +131 -0
- package/esm2020/keyfilter/keyfilter.module.mjs +17 -0
- package/esm2020/keyfilter/public-api.mjs +3 -0
- package/esm2020/keyfilter/wirabyte-ui-keyfilter.mjs +5 -0
- package/esm2020/knob/knob.component.mjs +207 -0
- package/esm2020/knob/knob.module.mjs +17 -0
- package/esm2020/knob/public-api.mjs +3 -0
- package/esm2020/knob/wirabyte-ui-knob.mjs +5 -0
- package/esm2020/listbox/listbox.component.mjs +520 -0
- package/esm2020/listbox/listbox.module.mjs +17 -0
- package/esm2020/listbox/public-api.mjs +3 -0
- package/esm2020/listbox/wirabyte-ui-listbox.mjs +5 -0
- package/esm2020/menu/menu.base.mjs +320 -0
- package/esm2020/menu/menu.component.mjs +19 -0
- package/esm2020/menu/menu.module.mjs +18 -0
- package/esm2020/menu/public-api.mjs +4 -0
- package/esm2020/menu/wirabyte-ui-menu.mjs +5 -0
- package/esm2020/menubar/menubar.base.mjs +568 -0
- package/esm2020/menubar/menubar.component.mjs +19 -0
- package/esm2020/menubar/menubar.module.mjs +18 -0
- package/esm2020/menubar/public-api.mjs +4 -0
- package/esm2020/menubar/wirabyte-ui-menubar.mjs +5 -0
- package/esm2020/message/message.component.mjs +107 -0
- package/esm2020/message/message.module.mjs +20 -0
- package/esm2020/message/message.types.mjs +2 -0
- package/esm2020/message/messages.base.mjs +109 -0
- package/esm2020/message/messages.component.mjs +62 -0
- package/esm2020/message/public-api.mjs +6 -0
- package/esm2020/message/wirabyte-ui-message.mjs +5 -0
- package/esm2020/metergroup/metergroup.component.mjs +146 -0
- package/esm2020/metergroup/metergroup.module.mjs +17 -0
- package/esm2020/metergroup/metergroup.types.mjs +26 -0
- package/esm2020/metergroup/public-api.mjs +4 -0
- package/esm2020/metergroup/wirabyte-ui-metergroup.mjs +5 -0
- package/esm2020/multiselect/multiselect.base.mjs +732 -0
- package/esm2020/multiselect/multiselect.component.mjs +26 -0
- package/esm2020/multiselect/multiselect.module.mjs +18 -0
- package/esm2020/multiselect/multiselect.styles.mjs +3 -0
- package/esm2020/multiselect/multiselect.types.mjs +2 -0
- package/esm2020/multiselect/public-api.mjs +6 -0
- package/esm2020/multiselect/wirabyte-ui-multiselect.mjs +5 -0
- package/esm2020/navbar/navbar.component.mjs +460 -0
- package/esm2020/navbar/navbar.module.mjs +18 -0
- package/esm2020/navbar/public-api.mjs +3 -0
- package/esm2020/navbar/wirabyte-ui-navbar.mjs +5 -0
- package/esm2020/orderlist/orderlist.base.mjs +411 -0
- package/esm2020/orderlist/orderlist.component.mjs +17 -0
- package/esm2020/orderlist/orderlist.module.mjs +18 -0
- package/esm2020/orderlist/orderlist.types.mjs +2 -0
- package/esm2020/orderlist/public-api.mjs +5 -0
- package/esm2020/orderlist/wirabyte-ui-orderlist.mjs +5 -0
- package/esm2020/organizationchart/organizationchart.component.mjs +200 -0
- package/esm2020/organizationchart/organizationchart.module.mjs +18 -0
- package/esm2020/organizationchart/organizationchart.types.mjs +2 -0
- package/esm2020/organizationchart/public-api.mjs +4 -0
- package/esm2020/organizationchart/wirabyte-ui-organizationchart.mjs +5 -0
- package/esm2020/paginator/paginator.base.mjs +188 -0
- package/esm2020/paginator/paginator.component.mjs +20 -0
- package/esm2020/paginator/paginator.module.mjs +17 -0
- package/esm2020/paginator/paginator.types.mjs +2 -0
- package/esm2020/paginator/public-api.mjs +5 -0
- package/esm2020/paginator/wirabyte-ui-paginator.mjs +5 -0
- package/esm2020/panel/panel.component.mjs +108 -0
- package/esm2020/panel/panel.module.mjs +19 -0
- package/esm2020/panel/panel.types.mjs +2 -0
- package/esm2020/panel/public-api.mjs +4 -0
- package/esm2020/panel/wirabyte-ui-panel.mjs +5 -0
- package/esm2020/panelmenu/panelmenu.base.mjs +181 -0
- package/esm2020/panelmenu/panelmenu.component.mjs +15 -0
- package/esm2020/panelmenu/panelmenu.module.mjs +18 -0
- package/esm2020/panelmenu/public-api.mjs +4 -0
- package/esm2020/panelmenu/wirabyte-ui-panelmenu.mjs +5 -0
- package/esm2020/password/password.component.mjs +233 -0
- package/esm2020/password/password.module.mjs +17 -0
- package/esm2020/password/password.types.mjs +14 -0
- package/esm2020/password/public-api.mjs +4 -0
- package/esm2020/password/wirabyte-ui-password.mjs +5 -0
- package/esm2020/picklist/list-drag.mjs +259 -0
- package/esm2020/picklist/picklist.base.mjs +649 -0
- package/esm2020/picklist/picklist.component.mjs +17 -0
- package/esm2020/picklist/picklist.module.mjs +18 -0
- package/esm2020/picklist/picklist.styles.mjs +3 -0
- package/esm2020/picklist/picklist.types.mjs +2 -0
- package/esm2020/picklist/public-api.mjs +8 -0
- package/esm2020/picklist/wirabyte-ui-picklist.mjs +5 -0
- package/esm2020/popover/popover.base.mjs +171 -0
- package/esm2020/popover/popover.component.mjs +17 -0
- package/esm2020/popover/popover.module.mjs +18 -0
- package/esm2020/popover/public-api.mjs +4 -0
- package/esm2020/popover/wirabyte-ui-popover.mjs +5 -0
- package/esm2020/presets/public-api.mjs +5 -0
- package/esm2020/presets/wirabyte-ui-presets.mjs +5 -0
- package/esm2020/progressbar/progressbar.component.mjs +117 -0
- package/esm2020/progressbar/progressbar.module.mjs +17 -0
- package/esm2020/progressbar/progressbar.types.mjs +19 -0
- package/esm2020/progressbar/public-api.mjs +4 -0
- package/esm2020/progressbar/wirabyte-ui-progressbar.mjs +5 -0
- package/esm2020/progressspinner/progressspinner.component.mjs +109 -0
- package/esm2020/progressspinner/progressspinner.module.mjs +17 -0
- package/esm2020/progressspinner/progressspinner.types.mjs +27 -0
- package/esm2020/progressspinner/public-api.mjs +4 -0
- package/esm2020/progressspinner/wirabyte-ui-progressspinner.mjs +5 -0
- package/esm2020/public-api.mjs +3 -0
- package/esm2020/radiobutton/public-api.mjs +7 -0
- package/esm2020/radiobutton/radio-registry.mjs +40 -0
- package/esm2020/radiobutton/radiobutton.component.mjs +125 -0
- package/esm2020/radiobutton/radiobutton.module.mjs +17 -0
- package/esm2020/radiobutton/radiobutton.styles.mjs +3 -0
- package/esm2020/radiobutton/radiobutton.types.mjs +2 -0
- package/esm2020/radiobutton/wirabyte-ui-radiobutton.mjs +5 -0
- package/esm2020/rating/public-api.mjs +4 -0
- package/esm2020/rating/rating.component.mjs +107 -0
- package/esm2020/rating/rating.module.mjs +17 -0
- package/esm2020/rating/rating.types.mjs +2 -0
- package/esm2020/rating/wirabyte-ui-rating.mjs +5 -0
- package/esm2020/result/public-api.mjs +3 -0
- package/esm2020/result/result.component.mjs +72 -0
- package/esm2020/result/result.module.mjs +17 -0
- package/esm2020/result/wirabyte-ui-result.mjs +5 -0
- package/esm2020/ripple/public-api.mjs +3 -0
- package/esm2020/ripple/ripple.directive.mjs +43 -0
- package/esm2020/ripple/ripple.module.mjs +17 -0
- package/esm2020/ripple/ripple.styles.mjs +3 -0
- package/esm2020/ripple/wirabyte-ui-ripple.mjs +5 -0
- package/esm2020/scroller/public-api.mjs +6 -0
- package/esm2020/scroller/scroller.component.mjs +305 -0
- package/esm2020/scroller/scroller.module.mjs +17 -0
- package/esm2020/scroller/wirabyte-ui-scroller.mjs +5 -0
- package/esm2020/scrollpanel/public-api.mjs +3 -0
- package/esm2020/scrollpanel/scrollpanel.component.mjs +67 -0
- package/esm2020/scrollpanel/scrollpanel.module.mjs +17 -0
- package/esm2020/scrollpanel/wirabyte-ui-scrollpanel.mjs +5 -0
- package/esm2020/select/public-api.mjs +7 -0
- package/esm2020/select/select.base.mjs +667 -0
- package/esm2020/select/select.component.mjs +26 -0
- package/esm2020/select/select.module.mjs +17 -0
- package/esm2020/select/select.styles.mjs +3 -0
- package/esm2020/select/select.types.mjs +2 -0
- package/esm2020/select/wirabyte-ui-select.mjs +5 -0
- package/esm2020/selectbutton/public-api.mjs +4 -0
- package/esm2020/selectbutton/selectbutton.component.mjs +174 -0
- package/esm2020/selectbutton/selectbutton.module.mjs +18 -0
- package/esm2020/selectbutton/selectbutton.types.mjs +2 -0
- package/esm2020/selectbutton/wirabyte-ui-selectbutton.mjs +5 -0
- package/esm2020/sitefooter/public-api.mjs +3 -0
- package/esm2020/sitefooter/sitefooter.component.mjs +139 -0
- package/esm2020/sitefooter/sitefooter.module.mjs +18 -0
- package/esm2020/sitefooter/wirabyte-ui-sitefooter.mjs +5 -0
- package/esm2020/skeleton/public-api.mjs +4 -0
- package/esm2020/skeleton/skeleton.component.mjs +51 -0
- package/esm2020/skeleton/skeleton.module.mjs +17 -0
- package/esm2020/skeleton/skeleton.types.mjs +2 -0
- package/esm2020/skeleton/wirabyte-ui-skeleton.mjs +5 -0
- package/esm2020/slider/public-api.mjs +3 -0
- package/esm2020/slider/slider.component.mjs +247 -0
- package/esm2020/slider/slider.module.mjs +17 -0
- package/esm2020/slider/wirabyte-ui-slider.mjs +5 -0
- package/esm2020/splitbutton/public-api.mjs +3 -0
- package/esm2020/splitbutton/splitbutton.component.mjs +180 -0
- package/esm2020/splitbutton/splitbutton.module.mjs +17 -0
- package/esm2020/splitbutton/wirabyte-ui-splitbutton.mjs +5 -0
- package/esm2020/splitter/public-api.mjs +5 -0
- package/esm2020/splitter/splitter-panel.component.mjs +32 -0
- package/esm2020/splitter/splitter.component.mjs +372 -0
- package/esm2020/splitter/splitter.module.mjs +19 -0
- package/esm2020/splitter/splitter.types.mjs +2 -0
- package/esm2020/splitter/wirabyte-ui-splitter.mjs +5 -0
- package/esm2020/stepper/public-api.mjs +4 -0
- package/esm2020/stepper/stepper.base.mjs +392 -0
- package/esm2020/stepper/stepper.component.mjs +191 -0
- package/esm2020/stepper/stepper.module.mjs +19 -0
- package/esm2020/stepper/wirabyte-ui-stepper.mjs +5 -0
- package/esm2020/steps/public-api.mjs +4 -0
- package/esm2020/steps/steps.base.mjs +148 -0
- package/esm2020/steps/steps.component.mjs +15 -0
- package/esm2020/steps/steps.module.mjs +17 -0
- package/esm2020/steps/wirabyte-ui-steps.mjs +5 -0
- package/esm2020/table/public-api.mjs +10 -0
- package/esm2020/table/table-celleditor.component.mjs +34 -0
- package/esm2020/table/table-filter.component.mjs +123 -0
- package/esm2020/table/table.base.mjs +1443 -0
- package/esm2020/table/table.celleditor.mjs +42 -0
- package/esm2020/table/table.component.mjs +21 -0
- package/esm2020/table/table.directives.mjs +1117 -0
- package/esm2020/table/table.filter.mjs +346 -0
- package/esm2020/table/table.module.mjs +99 -0
- package/esm2020/table/table.types.mjs +3 -0
- package/esm2020/table/wirabyte-ui-table.mjs +5 -0
- package/esm2020/tabmenu/public-api.mjs +3 -0
- package/esm2020/tabmenu/wirabyte-ui-tabmenu.mjs +5 -0
- package/esm2020/tabs/public-api.mjs +9 -0
- package/esm2020/tabs/tabmenu.base.mjs +196 -0
- package/esm2020/tabs/tabmenu.component.mjs +18 -0
- package/esm2020/tabs/tabmenu.module.mjs +18 -0
- package/esm2020/tabs/tabs.component.mjs +477 -0
- package/esm2020/tabs/tabs.module.mjs +20 -0
- package/esm2020/tabs/tabs.styles.mjs +3 -0
- package/esm2020/tabs/tabs.types.mjs +50 -0
- package/esm2020/tabs/wirabyte-ui-tabs.mjs +5 -0
- package/esm2020/tag/public-api.mjs +4 -0
- package/esm2020/tag/tag.component.mjs +52 -0
- package/esm2020/tag/tag.module.mjs +17 -0
- package/esm2020/tag/tag.types.mjs +2 -0
- package/esm2020/tag/wirabyte-ui-tag.mjs +5 -0
- package/esm2020/terminal/public-api.mjs +6 -0
- package/esm2020/terminal/terminal.component.mjs +150 -0
- package/esm2020/terminal/terminal.module.mjs +17 -0
- package/esm2020/terminal/terminal.service.mjs +35 -0
- package/esm2020/terminal/wirabyte-ui-terminal.mjs +5 -0
- package/esm2020/textarea/public-api.mjs +3 -0
- package/esm2020/textarea/textarea.directive.mjs +87 -0
- package/esm2020/textarea/textarea.module.mjs +17 -0
- package/esm2020/textarea/wirabyte-ui-textarea.mjs +5 -0
- package/esm2020/thai/public-api.mjs +4 -0
- package/esm2020/thai/thai.module.mjs +18 -0
- package/esm2020/thai/thai.pipes.mjs +115 -0
- package/esm2020/thai/wirabyte-ui-thai.mjs +5 -0
- package/esm2020/tieredmenu/public-api.mjs +3 -0
- package/esm2020/tieredmenu/tieredmenu.component.mjs +385 -0
- package/esm2020/tieredmenu/tieredmenu.module.mjs +17 -0
- package/esm2020/tieredmenu/wirabyte-ui-tieredmenu.mjs +5 -0
- package/esm2020/timeline/public-api.mjs +4 -0
- package/esm2020/timeline/timeline.base.mjs +66 -0
- package/esm2020/timeline/timeline.component.mjs +46 -0
- package/esm2020/timeline/timeline.module.mjs +18 -0
- package/esm2020/timeline/wirabyte-ui-timeline.mjs +5 -0
- package/esm2020/toast/message.service.mjs +34 -0
- package/esm2020/toast/public-api.mjs +6 -0
- package/esm2020/toast/toast.base.mjs +227 -0
- package/esm2020/toast/toast.component.mjs +17 -0
- package/esm2020/toast/toast.module.mjs +18 -0
- package/esm2020/toast/toast.types.mjs +2 -0
- package/esm2020/toast/wirabyte-ui-toast.mjs +5 -0
- package/esm2020/togglebutton/public-api.mjs +4 -0
- package/esm2020/togglebutton/togglebutton.component.mjs +129 -0
- package/esm2020/togglebutton/togglebutton.module.mjs +17 -0
- package/esm2020/togglebutton/togglebutton.types.mjs +2 -0
- package/esm2020/togglebutton/wirabyte-ui-togglebutton.mjs +5 -0
- package/esm2020/toggleswitch/public-api.mjs +4 -0
- package/esm2020/toggleswitch/toggleswitch.component.mjs +123 -0
- package/esm2020/toggleswitch/toggleswitch.module.mjs +17 -0
- package/esm2020/toggleswitch/toggleswitch.types.mjs +2 -0
- package/esm2020/toggleswitch/wirabyte-ui-toggleswitch.mjs +5 -0
- package/esm2020/toolbar/public-api.mjs +3 -0
- package/esm2020/toolbar/toolbar.component.mjs +67 -0
- package/esm2020/toolbar/toolbar.module.mjs +18 -0
- package/esm2020/toolbar/wirabyte-ui-toolbar.mjs +5 -0
- package/esm2020/tooltip/public-api.mjs +4 -0
- package/esm2020/tooltip/tooltip.directive.mjs +370 -0
- package/esm2020/tooltip/tooltip.module.mjs +17 -0
- package/esm2020/tooltip/tooltip.styles.mjs +3 -0
- package/esm2020/tooltip/tooltip.types.mjs +2 -0
- package/esm2020/tooltip/wirabyte-ui-tooltip.mjs +5 -0
- package/esm2020/tree/public-api.mjs +3 -0
- package/esm2020/tree/tree.component.mjs +453 -0
- package/esm2020/tree/tree.module.mjs +17 -0
- package/esm2020/tree/wirabyte-ui-tree.mjs +5 -0
- package/esm2020/treeselect/public-api.mjs +3 -0
- package/esm2020/treeselect/treeselect.component.mjs +410 -0
- package/esm2020/treeselect/treeselect.module.mjs +17 -0
- package/esm2020/treeselect/wirabyte-ui-treeselect.mjs +5 -0
- package/esm2020/validation/field-error.component.mjs +84 -0
- package/esm2020/validation/public-api.mjs +4 -0
- package/esm2020/validation/validation.module.mjs +19 -0
- package/esm2020/validation/validators.mjs +84 -0
- package/esm2020/validation/wirabyte-ui-validation.mjs +5 -0
- package/esm2020/wirabyte-ui.mjs +5 -0
- package/excel/excel.d.ts +24 -0
- package/excel/index.d.ts +5 -0
- package/excel/public-api.d.ts +3 -0
- package/fesm2015/wirabyte-ui-accordion.mjs +416 -0
- package/fesm2015/wirabyte-ui-accordion.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-alert.mjs +555 -0
- package/fesm2015/wirabyte-ui-alert.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-animate.mjs +280 -0
- package/fesm2015/wirabyte-ui-animate.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-api.mjs +34 -0
- package/fesm2015/wirabyte-ui-api.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-asidemenu.mjs +848 -0
- package/fesm2015/wirabyte-ui-asidemenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-autocomplete.mjs +619 -0
- package/fesm2015/wirabyte-ui-autocomplete.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-avatar.mjs +103 -0
- package/fesm2015/wirabyte-ui-avatar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-badge.mjs +185 -0
- package/fesm2015/wirabyte-ui-badge.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-blockui.mjs +176 -0
- package/fesm2015/wirabyte-ui-blockui.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-bottombar.mjs +237 -0
- package/fesm2015/wirabyte-ui-bottombar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-breadcrumb.mjs +109 -0
- package/fesm2015/wirabyte-ui-breadcrumb.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-button.mjs +415 -0
- package/fesm2015/wirabyte-ui-button.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-card.mjs +134 -0
- package/fesm2015/wirabyte-ui-card.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-carousel.mjs +647 -0
- package/fesm2015/wirabyte-ui-carousel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-chart.mjs +63 -0
- package/fesm2015/wirabyte-ui-chart.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-chartjs.mjs +268 -0
- package/fesm2015/wirabyte-ui-chartjs.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-checkbox.mjs +164 -0
- package/fesm2015/wirabyte-ui-checkbox.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-chip.mjs +97 -0
- package/fesm2015/wirabyte-ui-chip.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-colorpicker.mjs +333 -0
- package/fesm2015/wirabyte-ui-colorpicker.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-config.mjs +624 -0
- package/fesm2015/wirabyte-ui-config.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-confirmdialog.mjs +421 -0
- package/fesm2015/wirabyte-ui-confirmdialog.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-contextmenu.mjs +185 -0
- package/fesm2015/wirabyte-ui-contextmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-core.mjs +13312 -0
- package/fesm2015/wirabyte-ui-core.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-datepicker.mjs +951 -0
- package/fesm2015/wirabyte-ui-datepicker.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-dialog.mjs +707 -0
- package/fesm2015/wirabyte-ui-dialog.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-divider.mjs +77 -0
- package/fesm2015/wirabyte-ui-divider.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-dock.mjs +317 -0
- package/fesm2015/wirabyte-ui-dock.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-dragdrop.mjs +232 -0
- package/fesm2015/wirabyte-ui-dragdrop.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-drawer.mjs +326 -0
- package/fesm2015/wirabyte-ui-drawer.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-editor.mjs +3099 -0
- package/fesm2015/wirabyte-ui-editor.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-emptystate.mjs +101 -0
- package/fesm2015/wirabyte-ui-emptystate.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-errorpage.mjs +187 -0
- package/fesm2015/wirabyte-ui-errorpage.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-excel.mjs +49 -0
- package/fesm2015/wirabyte-ui-excel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-fieldset.mjs +95 -0
- package/fesm2015/wirabyte-ui-fieldset.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-fileupload.mjs +607 -0
- package/fesm2015/wirabyte-ui-fileupload.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-floatlabel.mjs +74 -0
- package/fesm2015/wirabyte-ui-floatlabel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-flow.mjs +4967 -0
- package/fesm2015/wirabyte-ui-flow.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-galleria.mjs +506 -0
- package/fesm2015/wirabyte-ui-galleria.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-i18n.mjs +330 -0
- package/fesm2015/wirabyte-ui-i18n.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-iconfield.mjs +94 -0
- package/fesm2015/wirabyte-ui-iconfield.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-image.mjs +218 -0
- package/fesm2015/wirabyte-ui-image.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-imagecompare.mjs +224 -0
- package/fesm2015/wirabyte-ui-imagecompare.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-imagecropper.mjs +1301 -0
- package/fesm2015/wirabyte-ui-imagecropper.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inplace.mjs +167 -0
- package/fesm2015/wirabyte-ui-inplace.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputgroup.mjs +82 -0
- package/fesm2015/wirabyte-ui-inputgroup.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputmask.mjs +367 -0
- package/fesm2015/wirabyte-ui-inputmask.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputnumber.mjs +388 -0
- package/fesm2015/wirabyte-ui-inputnumber.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputotp.mjs +370 -0
- package/fesm2015/wirabyte-ui-inputotp.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-inputtext.mjs +85 -0
- package/fesm2015/wirabyte-ui-inputtext.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-keyfilter.mjs +155 -0
- package/fesm2015/wirabyte-ui-keyfilter.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-knob.mjs +229 -0
- package/fesm2015/wirabyte-ui-knob.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-listbox.mjs +543 -0
- package/fesm2015/wirabyte-ui-listbox.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-menu.mjs +365 -0
- package/fesm2015/wirabyte-ui-menu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-menubar.mjs +614 -0
- package/fesm2015/wirabyte-ui-menubar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-message.mjs +291 -0
- package/fesm2015/wirabyte-ui-message.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-metergroup.mjs +192 -0
- package/fesm2015/wirabyte-ui-metergroup.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-multiselect.mjs +795 -0
- package/fesm2015/wirabyte-ui-multiselect.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-navbar.mjs +491 -0
- package/fesm2015/wirabyte-ui-navbar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-orderlist.mjs +450 -0
- package/fesm2015/wirabyte-ui-orderlist.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-organizationchart.mjs +225 -0
- package/fesm2015/wirabyte-ui-organizationchart.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-paginator.mjs +226 -0
- package/fesm2015/wirabyte-ui-paginator.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-panel.mjs +130 -0
- package/fesm2015/wirabyte-ui-panel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-panelmenu.mjs +216 -0
- package/fesm2015/wirabyte-ui-panelmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-password.mjs +271 -0
- package/fesm2015/wirabyte-ui-password.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-picklist.mjs +954 -0
- package/fesm2015/wirabyte-ui-picklist.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-popover.mjs +210 -0
- package/fesm2015/wirabyte-ui-popover.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-presets.mjs +10 -0
- package/fesm2015/wirabyte-ui-presets.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-progressbar.mjs +156 -0
- package/fesm2015/wirabyte-ui-progressbar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-progressspinner.mjs +158 -0
- package/fesm2015/wirabyte-ui-progressspinner.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-radiobutton.mjs +186 -0
- package/fesm2015/wirabyte-ui-radiobutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-rating.mjs +129 -0
- package/fesm2015/wirabyte-ui-rating.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-result.mjs +95 -0
- package/fesm2015/wirabyte-ui-result.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-ripple.mjs +67 -0
- package/fesm2015/wirabyte-ui-ripple.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-scroller.mjs +330 -0
- package/fesm2015/wirabyte-ui-scroller.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-scrollpanel.mjs +90 -0
- package/fesm2015/wirabyte-ui-scrollpanel.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-select.mjs +730 -0
- package/fesm2015/wirabyte-ui-select.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-selectbutton.mjs +195 -0
- package/fesm2015/wirabyte-ui-selectbutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-sitefooter.mjs +166 -0
- package/fesm2015/wirabyte-ui-sitefooter.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-skeleton.mjs +72 -0
- package/fesm2015/wirabyte-ui-skeleton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-slider.mjs +271 -0
- package/fesm2015/wirabyte-ui-slider.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-splitbutton.mjs +202 -0
- package/fesm2015/wirabyte-ui-splitbutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-splitter.mjs +431 -0
- package/fesm2015/wirabyte-ui-splitter.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-stepper.mjs +607 -0
- package/fesm2015/wirabyte-ui-stepper.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-steps.mjs +182 -0
- package/fesm2015/wirabyte-ui-steps.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-table.mjs +3223 -0
- package/fesm2015/wirabyte-ui-table.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tabmenu.mjs +8 -0
- package/fesm2015/wirabyte-ui-tabmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tabs.mjs +790 -0
- package/fesm2015/wirabyte-ui-tabs.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tag.mjs +73 -0
- package/fesm2015/wirabyte-ui-tag.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-terminal.mjs +207 -0
- package/fesm2015/wirabyte-ui-terminal.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-textarea.mjs +108 -0
- package/fesm2015/wirabyte-ui-textarea.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-thai.mjs +138 -0
- package/fesm2015/wirabyte-ui-thai.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tieredmenu.mjs +417 -0
- package/fesm2015/wirabyte-ui-tieredmenu.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-timeline.mjs +130 -0
- package/fesm2015/wirabyte-ui-timeline.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-toast.mjs +294 -0
- package/fesm2015/wirabyte-ui-toast.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-togglebutton.mjs +151 -0
- package/fesm2015/wirabyte-ui-togglebutton.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-toggleswitch.mjs +144 -0
- package/fesm2015/wirabyte-ui-toggleswitch.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-toolbar.mjs +88 -0
- package/fesm2015/wirabyte-ui-toolbar.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tooltip.mjs +398 -0
- package/fesm2015/wirabyte-ui-tooltip.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-tree.mjs +480 -0
- package/fesm2015/wirabyte-ui-tree.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-treeselect.mjs +438 -0
- package/fesm2015/wirabyte-ui-treeselect.mjs.map +1 -0
- package/fesm2015/wirabyte-ui-validation.mjs +189 -0
- package/fesm2015/wirabyte-ui-validation.mjs.map +1 -0
- package/fesm2015/wirabyte-ui.mjs +9 -0
- package/fesm2015/wirabyte-ui.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-accordion.mjs +414 -0
- package/fesm2020/wirabyte-ui-accordion.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-alert.mjs +529 -0
- package/fesm2020/wirabyte-ui-alert.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-animate.mjs +276 -0
- package/fesm2020/wirabyte-ui-animate.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-api.mjs +34 -0
- package/fesm2020/wirabyte-ui-api.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-asidemenu.mjs +832 -0
- package/fesm2020/wirabyte-ui-asidemenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-autocomplete.mjs +608 -0
- package/fesm2020/wirabyte-ui-autocomplete.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-avatar.mjs +102 -0
- package/fesm2020/wirabyte-ui-avatar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-badge.mjs +183 -0
- package/fesm2020/wirabyte-ui-badge.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-blockui.mjs +173 -0
- package/fesm2020/wirabyte-ui-blockui.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-bottombar.mjs +230 -0
- package/fesm2020/wirabyte-ui-bottombar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-breadcrumb.mjs +107 -0
- package/fesm2020/wirabyte-ui-breadcrumb.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-button.mjs +412 -0
- package/fesm2020/wirabyte-ui-button.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-card.mjs +134 -0
- package/fesm2020/wirabyte-ui-card.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-carousel.mjs +638 -0
- package/fesm2020/wirabyte-ui-carousel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-chart.mjs +63 -0
- package/fesm2020/wirabyte-ui-chart.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-chartjs.mjs +262 -0
- package/fesm2020/wirabyte-ui-chartjs.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-checkbox.mjs +164 -0
- package/fesm2020/wirabyte-ui-checkbox.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-chip.mjs +97 -0
- package/fesm2020/wirabyte-ui-chip.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-colorpicker.mjs +329 -0
- package/fesm2020/wirabyte-ui-colorpicker.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-config.mjs +621 -0
- package/fesm2020/wirabyte-ui-config.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-confirmdialog.mjs +395 -0
- package/fesm2020/wirabyte-ui-confirmdialog.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-contextmenu.mjs +180 -0
- package/fesm2020/wirabyte-ui-contextmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-core.mjs +13367 -0
- package/fesm2020/wirabyte-ui-core.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-datepicker.mjs +942 -0
- package/fesm2020/wirabyte-ui-datepicker.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-dialog.mjs +698 -0
- package/fesm2020/wirabyte-ui-dialog.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-divider.mjs +77 -0
- package/fesm2020/wirabyte-ui-divider.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-dock.mjs +308 -0
- package/fesm2020/wirabyte-ui-dock.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-dragdrop.mjs +229 -0
- package/fesm2020/wirabyte-ui-dragdrop.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-drawer.mjs +321 -0
- package/fesm2020/wirabyte-ui-drawer.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-editor.mjs +3056 -0
- package/fesm2020/wirabyte-ui-editor.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-emptystate.mjs +99 -0
- package/fesm2020/wirabyte-ui-emptystate.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-errorpage.mjs +184 -0
- package/fesm2020/wirabyte-ui-errorpage.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-excel.mjs +43 -0
- package/fesm2020/wirabyte-ui-excel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-fieldset.mjs +95 -0
- package/fesm2020/wirabyte-ui-fieldset.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-fileupload.mjs +599 -0
- package/fesm2020/wirabyte-ui-fileupload.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-floatlabel.mjs +74 -0
- package/fesm2020/wirabyte-ui-floatlabel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-flow.mjs +4920 -0
- package/fesm2020/wirabyte-ui-flow.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-galleria.mjs +501 -0
- package/fesm2020/wirabyte-ui-galleria.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-i18n.mjs +321 -0
- package/fesm2020/wirabyte-ui-i18n.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-iconfield.mjs +94 -0
- package/fesm2020/wirabyte-ui-iconfield.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-image.mjs +214 -0
- package/fesm2020/wirabyte-ui-image.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-imagecompare.mjs +221 -0
- package/fesm2020/wirabyte-ui-imagecompare.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-imagecropper.mjs +1279 -0
- package/fesm2020/wirabyte-ui-imagecropper.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inplace.mjs +166 -0
- package/fesm2020/wirabyte-ui-inplace.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputgroup.mjs +82 -0
- package/fesm2020/wirabyte-ui-inputgroup.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputmask.mjs +360 -0
- package/fesm2020/wirabyte-ui-inputmask.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputnumber.mjs +385 -0
- package/fesm2020/wirabyte-ui-inputnumber.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputotp.mjs +365 -0
- package/fesm2020/wirabyte-ui-inputotp.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-inputtext.mjs +85 -0
- package/fesm2020/wirabyte-ui-inputtext.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-keyfilter.mjs +152 -0
- package/fesm2020/wirabyte-ui-keyfilter.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-knob.mjs +228 -0
- package/fesm2020/wirabyte-ui-knob.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-listbox.mjs +541 -0
- package/fesm2020/wirabyte-ui-listbox.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-menu.mjs +356 -0
- package/fesm2020/wirabyte-ui-menu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-menubar.mjs +604 -0
- package/fesm2020/wirabyte-ui-menubar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-message.mjs +291 -0
- package/fesm2020/wirabyte-ui-message.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-metergroup.mjs +192 -0
- package/fesm2020/wirabyte-ui-metergroup.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-multiselect.mjs +778 -0
- package/fesm2020/wirabyte-ui-multiselect.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-navbar.mjs +481 -0
- package/fesm2020/wirabyte-ui-navbar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-orderlist.mjs +445 -0
- package/fesm2020/wirabyte-ui-orderlist.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-organizationchart.mjs +221 -0
- package/fesm2020/wirabyte-ui-organizationchart.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-paginator.mjs +226 -0
- package/fesm2020/wirabyte-ui-paginator.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-panel.mjs +130 -0
- package/fesm2020/wirabyte-ui-panel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-panelmenu.mjs +213 -0
- package/fesm2020/wirabyte-ui-panelmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-password.mjs +267 -0
- package/fesm2020/wirabyte-ui-password.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-picklist.mjs +944 -0
- package/fesm2020/wirabyte-ui-picklist.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-popover.mjs +205 -0
- package/fesm2020/wirabyte-ui-popover.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-presets.mjs +10 -0
- package/fesm2020/wirabyte-ui-presets.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-progressbar.mjs +156 -0
- package/fesm2020/wirabyte-ui-progressbar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-progressspinner.mjs +156 -0
- package/fesm2020/wirabyte-ui-progressspinner.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-radiobutton.mjs +186 -0
- package/fesm2020/wirabyte-ui-radiobutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-rating.mjs +128 -0
- package/fesm2020/wirabyte-ui-rating.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-result.mjs +93 -0
- package/fesm2020/wirabyte-ui-result.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-ripple.mjs +66 -0
- package/fesm2020/wirabyte-ui-ripple.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-scroller.mjs +326 -0
- package/fesm2020/wirabyte-ui-scroller.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-scrollpanel.mjs +88 -0
- package/fesm2020/wirabyte-ui-scrollpanel.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-select.mjs +713 -0
- package/fesm2020/wirabyte-ui-select.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-selectbutton.mjs +195 -0
- package/fesm2020/wirabyte-ui-selectbutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-sitefooter.mjs +160 -0
- package/fesm2020/wirabyte-ui-sitefooter.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-skeleton.mjs +72 -0
- package/fesm2020/wirabyte-ui-skeleton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-slider.mjs +268 -0
- package/fesm2020/wirabyte-ui-slider.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-splitbutton.mjs +201 -0
- package/fesm2020/wirabyte-ui-splitbutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-splitter.mjs +422 -0
- package/fesm2020/wirabyte-ui-splitter.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-stepper.mjs +602 -0
- package/fesm2020/wirabyte-ui-stepper.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-steps.mjs +180 -0
- package/fesm2020/wirabyte-ui-steps.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-table.mjs +3201 -0
- package/fesm2020/wirabyte-ui-table.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tabmenu.mjs +8 -0
- package/fesm2020/wirabyte-ui-tabmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tabs.mjs +769 -0
- package/fesm2020/wirabyte-ui-tabs.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tag.mjs +73 -0
- package/fesm2020/wirabyte-ui-tag.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-terminal.mjs +203 -0
- package/fesm2020/wirabyte-ui-terminal.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-textarea.mjs +108 -0
- package/fesm2020/wirabyte-ui-textarea.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-thai.mjs +138 -0
- package/fesm2020/wirabyte-ui-thai.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tieredmenu.mjs +406 -0
- package/fesm2020/wirabyte-ui-tieredmenu.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-timeline.mjs +130 -0
- package/fesm2020/wirabyte-ui-timeline.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-toast.mjs +291 -0
- package/fesm2020/wirabyte-ui-toast.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-togglebutton.mjs +150 -0
- package/fesm2020/wirabyte-ui-togglebutton.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-toggleswitch.mjs +144 -0
- package/fesm2020/wirabyte-ui-toggleswitch.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-toolbar.mjs +88 -0
- package/fesm2020/wirabyte-ui-toolbar.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tooltip.mjs +393 -0
- package/fesm2020/wirabyte-ui-tooltip.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-tree.mjs +474 -0
- package/fesm2020/wirabyte-ui-tree.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-treeselect.mjs +431 -0
- package/fesm2020/wirabyte-ui-treeselect.mjs.map +1 -0
- package/fesm2020/wirabyte-ui-validation.mjs +186 -0
- package/fesm2020/wirabyte-ui-validation.mjs.map +1 -0
- package/fesm2020/wirabyte-ui.mjs +9 -0
- package/fesm2020/wirabyte-ui.mjs.map +1 -0
- package/fieldset/fieldset.component.d.ts +35 -0
- package/fieldset/fieldset.module.d.ts +9 -0
- package/fieldset/index.d.ts +5 -0
- package/fieldset/public-api.d.ts +2 -0
- package/fileupload/fileupload.base.d.ts +175 -0
- package/fileupload/fileupload.component.d.ts +11 -0
- package/fileupload/fileupload.module.d.ts +9 -0
- package/fileupload/fileupload.types.d.ts +54 -0
- package/fileupload/index.d.ts +5 -0
- package/fileupload/public-api.d.ts +4 -0
- package/floatlabel/floatlabel.component.d.ts +21 -0
- package/floatlabel/floatlabel.module.d.ts +8 -0
- package/floatlabel/floatlabel.types.d.ts +1 -0
- package/floatlabel/index.d.ts +5 -0
- package/floatlabel/public-api.d.ts +3 -0
- package/flow/flow-background.component.d.ts +49 -0
- package/flow/flow-controls.component.d.ts +47 -0
- package/flow/flow-handle.component.d.ts +48 -0
- package/flow/flow-history.directive.d.ts +42 -0
- package/flow/flow-host.d.ts +48 -0
- package/flow/flow-minimap.component.d.ts +79 -0
- package/flow/flow-node-outlet.d.ts +46 -0
- package/flow/flow-node-resizer.component.d.ts +57 -0
- package/flow/flow-node-toolbar.component.d.ts +38 -0
- package/flow/flow-panel.component.d.ts +11 -0
- package/flow/flow-templates.d.ts +47 -0
- package/flow/flow.component.d.ts +633 -0
- package/flow/flow.module.d.ts +21 -0
- package/flow/flow.types.d.ts +210 -0
- package/flow/index.d.ts +5 -0
- package/flow/public-api.d.ts +16 -0
- package/galleria/galleria.component.d.ts +163 -0
- package/galleria/galleria.module.d.ts +8 -0
- package/galleria/index.d.ts +5 -0
- package/galleria/public-api.d.ts +2 -0
- package/i18n/i18n.module.d.ts +22 -0
- package/i18n/i18n.service.d.ts +54 -0
- package/i18n/i18n.types.d.ts +33 -0
- package/i18n/index.d.ts +5 -0
- package/i18n/language-switch.component.d.ts +50 -0
- package/i18n/public-api.d.ts +6 -0
- package/i18n/translate.pipe.d.ts +25 -0
- package/iconfield/iconfield.component.d.ts +30 -0
- package/iconfield/iconfield.module.d.ts +8 -0
- package/iconfield/index.d.ts +5 -0
- package/iconfield/public-api.d.ts +2 -0
- package/image/image.base.d.ts +83 -0
- package/image/image.component.d.ts +7 -0
- package/image/image.module.d.ts +9 -0
- package/image/index.d.ts +5 -0
- package/image/public-api.d.ts +3 -0
- package/imagecompare/imagecompare.component.d.ts +67 -0
- package/imagecompare/imagecompare.module.d.ts +9 -0
- package/imagecompare/index.d.ts +5 -0
- package/imagecompare/public-api.d.ts +2 -0
- package/imagecropper/imagecropper.component.d.ts +309 -0
- package/imagecropper/imagecropper.module.d.ts +8 -0
- package/imagecropper/imagecropper.types.d.ts +79 -0
- package/imagecropper/index.d.ts +5 -0
- package/imagecropper/public-api.d.ts +4 -0
- package/index.d.ts +5 -0
- package/inplace/index.d.ts +5 -0
- package/inplace/inplace.component.d.ts +59 -0
- package/inplace/inplace.module.d.ts +8 -0
- package/inplace/public-api.d.ts +2 -0
- package/inputgroup/index.d.ts +5 -0
- package/inputgroup/inputgroup.component.d.ts +26 -0
- package/inputgroup/inputgroup.module.d.ts +8 -0
- package/inputgroup/public-api.d.ts +2 -0
- package/inputmask/index.d.ts +5 -0
- package/inputmask/inputmask.base.d.ts +115 -0
- package/inputmask/inputmask.component.d.ts +10 -0
- package/inputmask/inputmask.module.d.ts +8 -0
- package/inputmask/public-api.d.ts +3 -0
- package/inputnumber/index.d.ts +5 -0
- package/inputnumber/inputnumber.component.d.ts +132 -0
- package/inputnumber/inputnumber.module.d.ts +8 -0
- package/inputnumber/inputnumber.types.d.ts +7 -0
- package/inputnumber/public-api.d.ts +3 -0
- package/inputotp/index.d.ts +5 -0
- package/inputotp/inputotp.component.d.ts +105 -0
- package/inputotp/inputotp.module.d.ts +9 -0
- package/inputotp/inputotp.types.d.ts +22 -0
- package/inputotp/public-api.d.ts +3 -0
- package/inputtext/index.d.ts +5 -0
- package/inputtext/inputtext.directive.d.ts +25 -0
- package/inputtext/inputtext.module.d.ts +8 -0
- package/inputtext/inputtext.styles.d.ts +2 -0
- package/inputtext/inputtext.types.d.ts +3 -0
- package/inputtext/public-api.d.ts +5 -0
- package/keyfilter/index.d.ts +5 -0
- package/keyfilter/keyfilter.directive.d.ts +29 -0
- package/keyfilter/keyfilter.module.d.ts +8 -0
- package/keyfilter/public-api.d.ts +2 -0
- package/knob/index.d.ts +5 -0
- package/knob/knob.component.d.ts +94 -0
- package/knob/knob.module.d.ts +8 -0
- package/knob/public-api.d.ts +2 -0
- package/listbox/index.d.ts +5 -0
- package/listbox/listbox.component.d.ts +186 -0
- package/listbox/listbox.module.d.ts +8 -0
- package/listbox/public-api.d.ts +2 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu.base.d.ts +95 -0
- package/menu/menu.component.d.ts +11 -0
- package/menu/menu.module.d.ts +9 -0
- package/menu/public-api.d.ts +4 -0
- package/menubar/index.d.ts +5 -0
- package/menubar/menubar.base.d.ts +135 -0
- package/menubar/menubar.component.d.ts +11 -0
- package/menubar/menubar.module.d.ts +9 -0
- package/menubar/public-api.d.ts +4 -0
- package/message/index.d.ts +5 -0
- package/message/message.component.d.ts +50 -0
- package/message/message.module.d.ts +11 -0
- package/message/message.types.d.ts +5 -0
- package/message/messages.base.d.ts +50 -0
- package/message/messages.component.d.ts +7 -0
- package/message/public-api.d.ts +5 -0
- package/metergroup/index.d.ts +5 -0
- package/metergroup/metergroup.component.d.ts +59 -0
- package/metergroup/metergroup.module.d.ts +8 -0
- package/metergroup/metergroup.types.d.ts +42 -0
- package/metergroup/public-api.d.ts +3 -0
- package/multiselect/index.d.ts +5 -0
- package/multiselect/multiselect.base.d.ts +222 -0
- package/multiselect/multiselect.component.d.ts +11 -0
- package/multiselect/multiselect.module.d.ts +9 -0
- package/multiselect/multiselect.styles.d.ts +2 -0
- package/multiselect/multiselect.types.d.ts +20 -0
- package/multiselect/public-api.d.ts +5 -0
- package/navbar/index.d.ts +5 -0
- package/navbar/navbar.component.d.ts +172 -0
- package/navbar/navbar.module.d.ts +9 -0
- package/navbar/public-api.d.ts +2 -0
- package/orderlist/index.d.ts +5 -0
- package/orderlist/orderlist.base.d.ts +136 -0
- package/orderlist/orderlist.component.d.ts +10 -0
- package/orderlist/orderlist.module.d.ts +9 -0
- package/orderlist/orderlist.types.d.ts +10 -0
- package/orderlist/public-api.d.ts +4 -0
- package/organizationchart/index.d.ts +5 -0
- package/organizationchart/organizationchart.component.d.ts +76 -0
- package/organizationchart/organizationchart.module.d.ts +9 -0
- package/organizationchart/organizationchart.types.d.ts +10 -0
- package/organizationchart/public-api.d.ts +4 -0
- package/package.json +891 -3
- package/paginator/index.d.ts +5 -0
- package/paginator/paginator.base.d.ts +95 -0
- package/paginator/paginator.component.d.ts +10 -0
- package/paginator/paginator.module.d.ts +8 -0
- package/paginator/paginator.types.d.ts +7 -0
- package/paginator/public-api.d.ts +4 -0
- package/panel/index.d.ts +5 -0
- package/panel/panel.component.d.ts +51 -0
- package/panel/panel.module.d.ts +10 -0
- package/panel/panel.types.d.ts +2 -0
- package/panel/public-api.d.ts +3 -0
- package/panelmenu/index.d.ts +5 -0
- package/panelmenu/panelmenu.base.d.ts +53 -0
- package/panelmenu/panelmenu.component.d.ts +7 -0
- package/panelmenu/panelmenu.module.d.ts +9 -0
- package/panelmenu/public-api.d.ts +3 -0
- package/password/index.d.ts +5 -0
- package/password/password.component.d.ts +90 -0
- package/password/password.module.d.ts +8 -0
- package/password/password.types.d.ts +6 -0
- package/password/public-api.d.ts +3 -0
- package/picklist/index.d.ts +5 -0
- package/picklist/list-drag.d.ts +49 -0
- package/picklist/picklist.base.d.ts +217 -0
- package/picklist/picklist.component.d.ts +10 -0
- package/picklist/picklist.module.d.ts +9 -0
- package/picklist/picklist.styles.d.ts +2 -0
- package/picklist/picklist.types.d.ts +21 -0
- package/picklist/public-api.d.ts +7 -0
- package/popover/index.d.ts +5 -0
- package/popover/popover.base.d.ts +61 -0
- package/popover/popover.component.d.ts +10 -0
- package/popover/popover.module.d.ts +9 -0
- package/popover/public-api.d.ts +3 -0
- package/presets/index.d.ts +5 -0
- package/presets/public-api.d.ts +2 -0
- package/progressbar/index.d.ts +5 -0
- package/progressbar/progressbar.component.d.ts +62 -0
- package/progressbar/progressbar.module.d.ts +8 -0
- package/progressbar/progressbar.types.d.ts +16 -0
- package/progressbar/public-api.d.ts +3 -0
- package/progressspinner/index.d.ts +5 -0
- package/progressspinner/progressspinner.component.d.ts +50 -0
- package/progressspinner/progressspinner.module.d.ts +8 -0
- package/progressspinner/progressspinner.types.d.ts +9 -0
- package/progressspinner/public-api.d.ts +3 -0
- package/public-api.d.ts +2 -0
- package/radiobutton/index.d.ts +5 -0
- package/radiobutton/public-api.d.ts +6 -0
- package/radiobutton/radio-registry.d.ts +23 -0
- package/radiobutton/radiobutton.component.d.ts +57 -0
- package/radiobutton/radiobutton.module.d.ts +8 -0
- package/radiobutton/radiobutton.styles.d.ts +2 -0
- package/radiobutton/radiobutton.types.d.ts +4 -0
- package/rating/index.d.ts +5 -0
- package/rating/public-api.d.ts +3 -0
- package/rating/rating.component.d.ts +47 -0
- package/rating/rating.module.d.ts +8 -0
- package/rating/rating.types.d.ts +4 -0
- package/result/index.d.ts +5 -0
- package/result/public-api.d.ts +2 -0
- package/result/result.component.d.ts +39 -0
- package/result/result.module.d.ts +8 -0
- package/ripple/index.d.ts +5 -0
- package/ripple/public-api.d.ts +2 -0
- package/ripple/ripple.directive.d.ts +15 -0
- package/ripple/ripple.module.d.ts +8 -0
- package/ripple/ripple.styles.d.ts +2 -0
- package/schematics/collection.json +21 -0
- package/schematics/core/carousel.cjs +70 -0
- package/schematics/core/catalog.cjs +206 -0
- package/schematics/core/chart/format.cjs +68 -0
- package/schematics/core/chart/index.cjs +32 -0
- package/schematics/core/chart/kinds.cjs +1355 -0
- package/schematics/core/chart/model.cjs +717 -0
- package/schematics/core/chart/more.cjs +317 -0
- package/schematics/core/chart/paths.cjs +170 -0
- package/schematics/core/chart/scale.cjs +63 -0
- package/schematics/core/color.cjs +106 -0
- package/schematics/core/colorpicker.cjs +79 -0
- package/schematics/core/compat.cjs +152 -0
- package/schematics/core/config.cjs +172 -0
- package/schematics/core/date.cjs +346 -0
- package/schematics/core/datepicker.cjs +530 -0
- package/schematics/core/dock.cjs +16 -0
- package/schematics/core/editor.cjs +281 -0
- package/schematics/core/errorpage.cjs +52 -0
- package/schematics/core/excel.cjs +826 -0
- package/schematics/core/exporters.cjs +249 -0
- package/schematics/core/families.cjs +1758 -0
- package/schematics/core/fileupload.cjs +54 -0
- package/schematics/core/flow/changes.cjs +215 -0
- package/schematics/core/flow/edges.cjs +95 -0
- package/schematics/core/flow/export.cjs +236 -0
- package/schematics/core/flow/geometry.cjs +338 -0
- package/schematics/core/flow/graph.cjs +338 -0
- package/schematics/core/flow/history.cjs +109 -0
- package/schematics/core/flow/index.cjs +29 -0
- package/schematics/core/flow/interaction.cjs +264 -0
- package/schematics/core/flow/layout.cjs +592 -0
- package/schematics/core/flow/paths.cjs +268 -0
- package/schematics/core/flow/text.cjs +74 -0
- package/schematics/core/flow/types.cjs +7 -0
- package/schematics/core/flow/viewport.cjs +151 -0
- package/schematics/core/i18n.cjs +85 -0
- package/schematics/core/imagecompare.cjs +32 -0
- package/schematics/core/imagecropper.cjs +515 -0
- package/schematics/core/index.cjs +55 -0
- package/schematics/core/inputotp.cjs +56 -0
- package/schematics/core/knob.cjs +114 -0
- package/schematics/core/mask.cjs +122 -0
- package/schematics/core/menu.cjs +88 -0
- package/schematics/core/number.cjs +141 -0
- package/schematics/core/organizationchart.cjs +91 -0
- package/schematics/core/overrides.cjs +179 -0
- package/schematics/core/picklist.cjs +262 -0
- package/schematics/core/select.cjs +172 -0
- package/schematics/core/splitter.cjs +69 -0
- package/schematics/core/table.cjs +183 -0
- package/schematics/core/terminal.cjs +34 -0
- package/schematics/core/thai/buddhist.cjs +135 -0
- package/schematics/core/thai/locale.cjs +654 -0
- package/schematics/core/thai/text.cjs +173 -0
- package/schematics/core/thai/thai-id.cjs +26 -0
- package/schematics/core/tokens.cjs +335 -0
- package/schematics/core/tree.cjs +144 -0
- package/schematics/core/validation.cjs +46 -0
- package/schematics/from-primeng/index.cjs +221 -0
- package/schematics/from-primeng/mapping.cjs +195 -0
- package/schematics/from-primeng/schema.cjs +2 -0
- package/schematics/from-primeng/schema.json +17 -0
- package/schematics/migration.json +4 -0
- package/schematics/ng-add/index.cjs +318 -0
- package/schematics/ng-add/schema.cjs +2 -0
- package/schematics/ng-add/schema.json +325 -0
- package/schematics/utils/ast.cjs +185 -0
- package/schematics/utils/workspace.cjs +115 -0
- package/scroller/index.d.ts +5 -0
- package/scroller/public-api.d.ts +5 -0
- package/scroller/scroller.component.d.ts +135 -0
- package/scroller/scroller.module.d.ts +8 -0
- package/scrollpanel/index.d.ts +5 -0
- package/scrollpanel/public-api.d.ts +2 -0
- package/scrollpanel/scrollpanel.component.d.ts +27 -0
- package/scrollpanel/scrollpanel.module.d.ts +8 -0
- package/select/index.d.ts +5 -0
- package/select/public-api.d.ts +6 -0
- package/select/select.base.d.ts +217 -0
- package/select/select.component.d.ts +11 -0
- package/select/select.module.d.ts +8 -0
- package/select/select.styles.d.ts +2 -0
- package/select/select.types.d.ts +9 -0
- package/selectbutton/index.d.ts +5 -0
- package/selectbutton/public-api.d.ts +3 -0
- package/selectbutton/selectbutton.component.d.ts +70 -0
- package/selectbutton/selectbutton.module.d.ts +9 -0
- package/selectbutton/selectbutton.types.d.ts +9 -0
- package/sitefooter/index.d.ts +5 -0
- package/sitefooter/public-api.d.ts +2 -0
- package/sitefooter/sitefooter.component.d.ts +69 -0
- package/sitefooter/sitefooter.module.d.ts +9 -0
- package/skeleton/index.d.ts +5 -0
- package/skeleton/public-api.d.ts +3 -0
- package/skeleton/skeleton.component.d.ts +22 -0
- package/skeleton/skeleton.module.d.ts +8 -0
- package/skeleton/skeleton.types.d.ts +2 -0
- package/slider/index.d.ts +5 -0
- package/slider/public-api.d.ts +2 -0
- package/slider/slider.component.d.ts +79 -0
- package/slider/slider.module.d.ts +8 -0
- package/splitbutton/index.d.ts +5 -0
- package/splitbutton/public-api.d.ts +2 -0
- package/splitbutton/splitbutton.component.d.ts +75 -0
- package/splitbutton/splitbutton.module.d.ts +8 -0
- package/splitter/index.d.ts +5 -0
- package/splitter/public-api.d.ts +4 -0
- package/splitter/splitter-panel.component.d.ts +20 -0
- package/splitter/splitter.component.d.ts +109 -0
- package/splitter/splitter.module.d.ts +10 -0
- package/splitter/splitter.types.d.ts +8 -0
- package/stepper/index.d.ts +5 -0
- package/stepper/public-api.d.ts +3 -0
- package/stepper/stepper.base.d.ts +200 -0
- package/stepper/stepper.component.d.ts +41 -0
- package/stepper/stepper.module.d.ts +9 -0
- package/steps/index.d.ts +5 -0
- package/steps/public-api.d.ts +3 -0
- package/steps/steps.base.d.ts +52 -0
- package/steps/steps.component.d.ts +7 -0
- package/steps/steps.module.d.ts +8 -0
- package/table/index.d.ts +5 -0
- package/table/public-api.d.ts +9 -0
- package/table/table-celleditor.component.d.ts +14 -0
- package/table/table-filter.component.d.ts +11 -0
- package/table/table.base.d.ts +410 -0
- package/table/table.celleditor.d.ts +20 -0
- package/table/table.component.d.ts +12 -0
- package/table/table.directives.d.ts +330 -0
- package/table/table.filter.d.ts +131 -0
- package/table/table.module.d.ts +12 -0
- package/table/table.types.d.ts +180 -0
- package/tabmenu/index.d.ts +5 -0
- package/tabmenu/public-api.d.ts +2 -0
- package/tabs/index.d.ts +5 -0
- package/tabs/public-api.d.ts +8 -0
- package/tabs/tabmenu.base.d.ts +59 -0
- package/tabs/tabmenu.component.d.ts +10 -0
- package/tabs/tabmenu.module.d.ts +9 -0
- package/tabs/tabs.component.d.ts +147 -0
- package/tabs/tabs.module.d.ts +10 -0
- package/tabs/tabs.styles.d.ts +2 -0
- package/tabs/tabs.types.d.ts +21 -0
- package/tag/index.d.ts +5 -0
- package/tag/public-api.d.ts +3 -0
- package/tag/tag.component.d.ts +24 -0
- package/tag/tag.module.d.ts +8 -0
- package/tag/tag.types.d.ts +2 -0
- package/terminal/index.d.ts +5 -0
- package/terminal/public-api.d.ts +5 -0
- package/terminal/terminal.component.d.ts +58 -0
- package/terminal/terminal.module.d.ts +8 -0
- package/terminal/terminal.service.d.ts +20 -0
- package/textarea/index.d.ts +5 -0
- package/textarea/public-api.d.ts +2 -0
- package/textarea/textarea.directive.d.ts +33 -0
- package/textarea/textarea.module.d.ts +8 -0
- package/thai/index.d.ts +5 -0
- package/thai/public-api.d.ts +3 -0
- package/thai/thai.module.d.ts +8 -0
- package/thai/thai.pipes.d.ts +57 -0
- package/theme/_api.scss +71 -0
- package/theme/_color.scss +153 -0
- package/theme/_data.scss +9283 -0
- package/theme/_index.scss +424 -0
- package/theme/_version.scss +2 -0
- package/themes/arun-blue/theme.css +1446 -0
- package/themes/arun-green/theme.css +1446 -0
- package/themes/arun-orange/theme.css +1445 -0
- package/themes/arun-purple/theme.css +1446 -0
- package/themes/md-dark-deeppurple/theme.css +1309 -0
- package/themes/md-dark-indigo/theme.css +1309 -0
- package/themes/md-light-deeppurple/theme.css +1418 -0
- package/themes/md-light-indigo/theme.css +1418 -0
- package/themes/ratri-blue/theme.css +1309 -0
- package/themes/ratri-green/theme.css +1309 -0
- package/themes/ratri-orange/theme.css +1309 -0
- package/themes/ratri-purple/theme.css +1309 -0
- package/themes/sayan-blue/theme.css +1309 -0
- package/themes/sayan-green/theme.css +1309 -0
- package/themes/sayan-orange/theme.css +1309 -0
- package/themes/sayan-purple/theme.css +1309 -0
- package/themes/sila-dark-blue/theme.css +1309 -0
- package/themes/sila-dark-indigo/theme.css +1309 -0
- package/themes/sila-dark-purple/theme.css +1309 -0
- package/themes/sila-dark-teal/theme.css +1309 -0
- package/themes/sila-light-blue/theme.css +1446 -0
- package/themes/sila-light-indigo/theme.css +1446 -0
- package/themes/sila-light-purple/theme.css +1446 -0
- package/themes/sila-light-teal/theme.css +1446 -0
- package/themes/sila-light-wira/theme.css +1446 -0
- package/tieredmenu/index.d.ts +5 -0
- package/tieredmenu/public-api.d.ts +2 -0
- package/tieredmenu/tieredmenu.component.d.ts +90 -0
- package/tieredmenu/tieredmenu.module.d.ts +8 -0
- package/timeline/index.d.ts +5 -0
- package/timeline/public-api.d.ts +3 -0
- package/timeline/timeline.base.d.ts +36 -0
- package/timeline/timeline.component.d.ts +7 -0
- package/timeline/timeline.module.d.ts +9 -0
- package/toast/index.d.ts +5 -0
- package/toast/message.service.d.ts +19 -0
- package/toast/public-api.d.ts +5 -0
- package/toast/toast.base.d.ts +84 -0
- package/toast/toast.component.d.ts +10 -0
- package/toast/toast.module.d.ts +9 -0
- package/toast/toast.types.d.ts +28 -0
- package/togglebutton/index.d.ts +5 -0
- package/togglebutton/public-api.d.ts +3 -0
- package/togglebutton/togglebutton.component.d.ts +56 -0
- package/togglebutton/togglebutton.module.d.ts +8 -0
- package/togglebutton/togglebutton.types.d.ts +4 -0
- package/toggleswitch/index.d.ts +5 -0
- package/toggleswitch/public-api.d.ts +3 -0
- package/toggleswitch/toggleswitch.component.d.ts +52 -0
- package/toggleswitch/toggleswitch.module.d.ts +8 -0
- package/toggleswitch/toggleswitch.types.d.ts +4 -0
- package/toolbar/index.d.ts +5 -0
- package/toolbar/public-api.d.ts +2 -0
- package/toolbar/toolbar.component.d.ts +29 -0
- package/toolbar/toolbar.module.d.ts +9 -0
- package/tooltip/index.d.ts +5 -0
- package/tooltip/public-api.d.ts +3 -0
- package/tooltip/tooltip.directive.d.ts +87 -0
- package/tooltip/tooltip.module.d.ts +8 -0
- package/tooltip/tooltip.styles.d.ts +2 -0
- package/tooltip/tooltip.types.d.ts +14 -0
- package/tree/index.d.ts +5 -0
- package/tree/public-api.d.ts +2 -0
- package/tree/tree.component.d.ts +149 -0
- package/tree/tree.module.d.ts +8 -0
- package/treeselect/index.d.ts +5 -0
- package/treeselect/public-api.d.ts +2 -0
- package/treeselect/treeselect.component.d.ts +140 -0
- package/treeselect/treeselect.module.d.ts +8 -0
- package/utils/_index.scss +532 -0
- package/utils/_palettes.scss +23 -0
- package/utils/utils.css +9280 -0
- package/utils/utils.min.css +1 -0
- package/validation/field-error.component.d.ts +39 -0
- package/validation/index.d.ts +5 -0
- package/validation/public-api.d.ts +3 -0
- package/validation/validation.module.d.ts +9 -0
- package/validation/validators.d.ts +33 -0
|
@@ -0,0 +1,826 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Excel files (.xlsx) without a dependency. A workbook is plain objects: sheets of rows of cells, each cell a value or
|
|
4
|
+
* `{ value, formula, style, link, colSpan, rowSpan }`, plus column widths, merged ranges, frozen panes, a filter and print
|
|
5
|
+
* settings. `buildExcel()` writes it as Office Open XML and zips it. Used by wu-table's `exportExcel()` and the
|
|
6
|
+
* `@wirabyte/ui/excel` entry point.
|
|
7
|
+
*
|
|
8
|
+
* Strings stay text (leading zeros of phone numbers and Thai IDs survive, nothing turns into a formula), numbers stay
|
|
9
|
+
* numbers, dates become Excel dates, and formulas are calculated by Excel when the file opens.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EXCEL_MIME = void 0;
|
|
13
|
+
exports.excelColumnName = excelColumnName;
|
|
14
|
+
exports.excelRef = excelRef;
|
|
15
|
+
exports.excelParseRef = excelParseRef;
|
|
16
|
+
exports.excelParseRange = excelParseRange;
|
|
17
|
+
exports.excelDateNumber = excelDateNumber;
|
|
18
|
+
exports.excelColor = excelColor;
|
|
19
|
+
exports.mergeExcelStyles = mergeExcelStyles;
|
|
20
|
+
exports.excelSheetNames = excelSheetNames;
|
|
21
|
+
exports.excelParts = excelParts;
|
|
22
|
+
exports.crc32 = crc32;
|
|
23
|
+
exports.zipFiles = zipFiles;
|
|
24
|
+
exports.zipFilesSync = zipFilesSync;
|
|
25
|
+
exports.buildExcel = buildExcel;
|
|
26
|
+
exports.buildExcelSync = buildExcelSync;
|
|
27
|
+
exports.excelSheetFromRows = excelSheetFromRows;
|
|
28
|
+
/** MIME type of .xlsx files. */
|
|
29
|
+
exports.EXCEL_MIME = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
|
|
30
|
+
// ---------------------------------------------------------------- cell references
|
|
31
|
+
/** `0` → `A`, `25` → `Z`, `26` → `AA`. */
|
|
32
|
+
function excelColumnName(index) {
|
|
33
|
+
let n = Math.floor(index) + 1;
|
|
34
|
+
let s = '';
|
|
35
|
+
while (n > 0) {
|
|
36
|
+
const m = (n - 1) % 26;
|
|
37
|
+
s = String.fromCharCode(65 + m) + s;
|
|
38
|
+
n = Math.floor((n - 1) / 26);
|
|
39
|
+
}
|
|
40
|
+
return s;
|
|
41
|
+
}
|
|
42
|
+
/** Zero-based row and column → `'B3'`. */
|
|
43
|
+
function excelRef(row, column) {
|
|
44
|
+
return `${excelColumnName(column)}${row + 1}`;
|
|
45
|
+
}
|
|
46
|
+
/** `'B3'` → `{ row: 2, column: 1 }` (zero-based); `null` when it is not a cell reference. */
|
|
47
|
+
function excelParseRef(ref) {
|
|
48
|
+
const m = /^\$?([A-Za-z]{1,3})\$?(\d+)$/.exec(String(ref).trim());
|
|
49
|
+
if (!m)
|
|
50
|
+
return null;
|
|
51
|
+
let column = 0;
|
|
52
|
+
for (const ch of m[1].toUpperCase())
|
|
53
|
+
column = column * 26 + (ch.charCodeAt(0) - 64);
|
|
54
|
+
const row = Number(m[2]);
|
|
55
|
+
return row >= 1 ? { row: row - 1, column: column - 1 } : null;
|
|
56
|
+
}
|
|
57
|
+
/** `'A1:D1'` → zero-based corners, in order; a single cell is a range of one. */
|
|
58
|
+
function excelParseRange(range) {
|
|
59
|
+
const [a, b = a] = String(range).split(':');
|
|
60
|
+
const p = excelParseRef(a);
|
|
61
|
+
const q = excelParseRef(b);
|
|
62
|
+
if (!p || !q)
|
|
63
|
+
return null;
|
|
64
|
+
return { top: Math.min(p.row, q.row), left: Math.min(p.column, q.column), bottom: Math.max(p.row, q.row), right: Math.max(p.column, q.column) };
|
|
65
|
+
}
|
|
66
|
+
/** Days since 1899-12-30 in local time, as Excel stores dates. */
|
|
67
|
+
function excelDateNumber(date) {
|
|
68
|
+
const utc = Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
|
|
69
|
+
return utc / 86400000 + 25569;
|
|
70
|
+
}
|
|
71
|
+
// ---------------------------------------------------------------- text and colour
|
|
72
|
+
const xml = (s) => s.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"');
|
|
73
|
+
// Control characters XML 1.0 does not allow, and surrogate halves (checked in pairs below: no look-behind, which
|
|
74
|
+
// Safari before 16.4 cannot parse).
|
|
75
|
+
// eslint-disable-next-line no-control-regex
|
|
76
|
+
const SUSPECT = /[\u0000-\u0008\u000B\u000C\u000E-\u001F\uD800-\uDFFF]/;
|
|
77
|
+
/** Text XML can carry, at most the 32,767 characters a cell holds. */
|
|
78
|
+
function cleanText(s) {
|
|
79
|
+
if (!SUSPECT.test(s))
|
|
80
|
+
return s.length > 32767 ? s.slice(0, 32767) : s;
|
|
81
|
+
let out = '';
|
|
82
|
+
for (let i = 0; i < s.length && out.length < 32767; i++) {
|
|
83
|
+
const c = s.charCodeAt(i);
|
|
84
|
+
if (c >= 0xd800 && c <= 0xdbff) {
|
|
85
|
+
const d = s.charCodeAt(i + 1);
|
|
86
|
+
if (d >= 0xdc00 && d <= 0xdfff && out.length < 32766)
|
|
87
|
+
out += s[i] + s[++i];
|
|
88
|
+
continue;
|
|
89
|
+
}
|
|
90
|
+
if ((c >= 0xdc00 && c <= 0xdfff) || (c < 0x20 && c !== 9 && c !== 10 && c !== 13) || c === 0xfffe || c === 0xffff)
|
|
91
|
+
continue;
|
|
92
|
+
out += s[i];
|
|
93
|
+
}
|
|
94
|
+
return out;
|
|
95
|
+
}
|
|
96
|
+
/** The same text for equal values, whatever order their keys were written in. */
|
|
97
|
+
function stableKey(v) {
|
|
98
|
+
if (v === null || typeof v !== 'object')
|
|
99
|
+
return JSON.stringify(v) ?? 'undefined';
|
|
100
|
+
if (Array.isArray(v))
|
|
101
|
+
return `[${v.map(stableKey).join(',')}]`;
|
|
102
|
+
const o = v;
|
|
103
|
+
return `{${Object.keys(o)
|
|
104
|
+
.filter((k) => o[k] !== undefined)
|
|
105
|
+
.sort()
|
|
106
|
+
.map((k) => `${JSON.stringify(k)}:${stableKey(o[k])}`)
|
|
107
|
+
.join(',')}}`;
|
|
108
|
+
}
|
|
109
|
+
const isDate = (v) => Object.prototype.toString.call(v) === '[object Date]';
|
|
110
|
+
/** `#rgb`, `#rrggbb`, `rrggbb` or `rgb(r, g, b)` → Excel's `FFRRGGBB`; anything else → undefined. */
|
|
111
|
+
function excelColor(color) {
|
|
112
|
+
if (!color)
|
|
113
|
+
return undefined;
|
|
114
|
+
const c = String(color).trim();
|
|
115
|
+
let m = /^#?([0-9a-f]{3})$/i.exec(c);
|
|
116
|
+
if (m)
|
|
117
|
+
return ('FF' + m[1].replace(/./g, (x) => x + x)).toUpperCase();
|
|
118
|
+
m = /^#?([0-9a-f]{6})$/i.exec(c);
|
|
119
|
+
if (m)
|
|
120
|
+
return ('FF' + m[1]).toUpperCase();
|
|
121
|
+
m = /^#?([0-9a-f]{6})[0-9a-f]{2}$/i.exec(c);
|
|
122
|
+
if (m)
|
|
123
|
+
return ('FF' + m[1]).toUpperCase();
|
|
124
|
+
m = /^rgba?\(\s*(\d+)[\s,]+(\d+)[\s,]+(\d+)/i.exec(c);
|
|
125
|
+
if (m)
|
|
126
|
+
return 'FF' + [m[1], m[2], m[3]].map((x) => Math.min(255, Number(x)).toString(16).padStart(2, '0')).join('').toUpperCase();
|
|
127
|
+
return undefined;
|
|
128
|
+
}
|
|
129
|
+
// ---------------------------------------------------------------- styles
|
|
130
|
+
const BUILT_IN_FORMATS = {
|
|
131
|
+
General: 0,
|
|
132
|
+
'0': 1,
|
|
133
|
+
'0.00': 2,
|
|
134
|
+
'#,##0': 3,
|
|
135
|
+
'#,##0.00': 4,
|
|
136
|
+
'0%': 9,
|
|
137
|
+
'0.00%': 10,
|
|
138
|
+
'0.00E+00': 11,
|
|
139
|
+
'@': 49,
|
|
140
|
+
};
|
|
141
|
+
function line(v) {
|
|
142
|
+
if (!v)
|
|
143
|
+
return null;
|
|
144
|
+
if (typeof v === 'string')
|
|
145
|
+
return { style: v };
|
|
146
|
+
return { style: v.style || 'thin', color: v.color };
|
|
147
|
+
}
|
|
148
|
+
function sides(border) {
|
|
149
|
+
if (!border)
|
|
150
|
+
return {};
|
|
151
|
+
if (typeof border === 'string' || 'style' in border || 'color' in border) {
|
|
152
|
+
const l = line(border);
|
|
153
|
+
return { top: l, right: l, bottom: l, left: l };
|
|
154
|
+
}
|
|
155
|
+
const b = border;
|
|
156
|
+
const out = {};
|
|
157
|
+
for (const k of ['top', 'right', 'bottom', 'left'])
|
|
158
|
+
if (k in b)
|
|
159
|
+
out[k] = line(b[k]);
|
|
160
|
+
return out;
|
|
161
|
+
}
|
|
162
|
+
/** Later styles win, key by key; borders merge side by side. */
|
|
163
|
+
function mergeExcelStyles(...styles) {
|
|
164
|
+
const out = {};
|
|
165
|
+
let border = null;
|
|
166
|
+
for (const s of styles) {
|
|
167
|
+
if (!s)
|
|
168
|
+
continue;
|
|
169
|
+
for (const key of Object.keys(s)) {
|
|
170
|
+
if (key === 'border' || s[key] === undefined)
|
|
171
|
+
continue;
|
|
172
|
+
out[key] = s[key];
|
|
173
|
+
}
|
|
174
|
+
if (s.border !== undefined)
|
|
175
|
+
border = { ...(border || {}), ...sides(s.border) };
|
|
176
|
+
}
|
|
177
|
+
if (border)
|
|
178
|
+
out.border = border;
|
|
179
|
+
return out;
|
|
180
|
+
}
|
|
181
|
+
class StyleBook {
|
|
182
|
+
constructor(fontName, fontSize) {
|
|
183
|
+
this.fontName = fontName;
|
|
184
|
+
this.fontSize = fontSize;
|
|
185
|
+
this.fonts = [];
|
|
186
|
+
this.fills = ['<fill><patternFill patternType="none"/></fill>', '<fill><patternFill patternType="gray125"/></fill>'];
|
|
187
|
+
this.borders = ['<border><left/><right/><top/><bottom/><diagonal/></border>'];
|
|
188
|
+
this.formats = new Map();
|
|
189
|
+
this.xfs = ['<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/>'];
|
|
190
|
+
this.index = new Map();
|
|
191
|
+
this.fonts.push(this.fontXml({}));
|
|
192
|
+
}
|
|
193
|
+
/** The cellXfs index of a style (0 for none), shared between equal styles. */
|
|
194
|
+
id(style) {
|
|
195
|
+
const key = stableKey(style);
|
|
196
|
+
const known = this.index.get(key);
|
|
197
|
+
if (known !== undefined)
|
|
198
|
+
return known;
|
|
199
|
+
const numFmt = this.formatId(style.format);
|
|
200
|
+
const font = this.add(this.fonts, this.fontXml(style));
|
|
201
|
+
const fillColor = excelColor(style.fill);
|
|
202
|
+
const fill = fillColor ? this.add(this.fills, `<fill><patternFill patternType="solid"><fgColor rgb="${fillColor}"/><bgColor indexed="64"/></patternFill></fill>`) : 0;
|
|
203
|
+
const border = this.add(this.borders, this.borderXml(sides(style.border)));
|
|
204
|
+
const align = this.alignXml(style);
|
|
205
|
+
const attrs = `numFmtId="${numFmt}" fontId="${font}" fillId="${fill}" borderId="${border}" xfId="0"` +
|
|
206
|
+
(numFmt ? ' applyNumberFormat="1"' : '') +
|
|
207
|
+
(font ? ' applyFont="1"' : '') +
|
|
208
|
+
(fill ? ' applyFill="1"' : '') +
|
|
209
|
+
(border ? ' applyBorder="1"' : '') +
|
|
210
|
+
(align ? ' applyAlignment="1"' : '');
|
|
211
|
+
const id = this.add(this.xfs, align ? `<xf ${attrs}>${align}</xf>` : `<xf ${attrs}/>`);
|
|
212
|
+
this.index.set(key, id);
|
|
213
|
+
return id;
|
|
214
|
+
}
|
|
215
|
+
xml() {
|
|
216
|
+
const fmts = [...this.formats].map(([code, id]) => `<numFmt numFmtId="${id}" formatCode="${xml(code)}"/>`);
|
|
217
|
+
return (XML_HEAD +
|
|
218
|
+
`<styleSheet xmlns="${NS_MAIN}">` +
|
|
219
|
+
(fmts.length ? `<numFmts count="${fmts.length}">${fmts.join('')}</numFmts>` : '') +
|
|
220
|
+
`<fonts count="${this.fonts.length}">${this.fonts.join('')}</fonts>` +
|
|
221
|
+
`<fills count="${this.fills.length}">${this.fills.join('')}</fills>` +
|
|
222
|
+
`<borders count="${this.borders.length}">${this.borders.join('')}</borders>` +
|
|
223
|
+
'<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>' +
|
|
224
|
+
`<cellXfs count="${this.xfs.length}">${this.xfs.join('')}</cellXfs>` +
|
|
225
|
+
'<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>' +
|
|
226
|
+
'</styleSheet>');
|
|
227
|
+
}
|
|
228
|
+
add(list, item) {
|
|
229
|
+
const i = list.indexOf(item);
|
|
230
|
+
if (i >= 0)
|
|
231
|
+
return i;
|
|
232
|
+
list.push(item);
|
|
233
|
+
return list.length - 1;
|
|
234
|
+
}
|
|
235
|
+
formatId(code) {
|
|
236
|
+
if (!code)
|
|
237
|
+
return 0;
|
|
238
|
+
if (code in BUILT_IN_FORMATS)
|
|
239
|
+
return BUILT_IN_FORMATS[code];
|
|
240
|
+
let id = this.formats.get(code);
|
|
241
|
+
if (id === undefined) {
|
|
242
|
+
id = 164 + this.formats.size;
|
|
243
|
+
this.formats.set(code, id);
|
|
244
|
+
}
|
|
245
|
+
return id;
|
|
246
|
+
}
|
|
247
|
+
// CT_Font wants its children in this order: b, i, strike, u, sz, color, name.
|
|
248
|
+
fontXml(s) {
|
|
249
|
+
const color = excelColor(s.color);
|
|
250
|
+
return ('<font>' +
|
|
251
|
+
(s.bold ? '<b/>' : '') +
|
|
252
|
+
(s.italic ? '<i/>' : '') +
|
|
253
|
+
(s.strike ? '<strike/>' : '') +
|
|
254
|
+
(s.underline ? '<u/>' : '') +
|
|
255
|
+
`<sz val="${s.fontSize && s.fontSize > 0 ? s.fontSize : this.fontSize}"/>` +
|
|
256
|
+
(color ? `<color rgb="${color}"/>` : '') +
|
|
257
|
+
`<name val="${xml(s.fontName || this.fontName)}"/>` +
|
|
258
|
+
'</font>');
|
|
259
|
+
}
|
|
260
|
+
borderXml(b) {
|
|
261
|
+
const side = (tag, l) => {
|
|
262
|
+
if (!l)
|
|
263
|
+
return `<${tag}/>`;
|
|
264
|
+
const color = excelColor(l.color);
|
|
265
|
+
return `<${tag} style="${l.style}">${color ? `<color rgb="${color}"/>` : '<color auto="1"/>'}</${tag}>`;
|
|
266
|
+
};
|
|
267
|
+
return `<border>${side('left', b.left)}${side('right', b.right)}${side('top', b.top)}${side('bottom', b.bottom)}<diagonal/></border>`;
|
|
268
|
+
}
|
|
269
|
+
alignXml(s) {
|
|
270
|
+
const a = [];
|
|
271
|
+
if (s.align)
|
|
272
|
+
a.push(`horizontal="${s.align}"`);
|
|
273
|
+
if (s.valign)
|
|
274
|
+
a.push(`vertical="${s.valign === 'middle' ? 'center' : s.valign}"`);
|
|
275
|
+
if (s.rotate)
|
|
276
|
+
a.push(`textRotation="${Math.round(s.rotate < 0 ? 90 - s.rotate : s.rotate) % 181}"`);
|
|
277
|
+
if (s.wrap)
|
|
278
|
+
a.push('wrapText="1"');
|
|
279
|
+
if (s.indent)
|
|
280
|
+
a.push(`indent="${Math.max(0, Math.round(s.indent))}"`);
|
|
281
|
+
if (s.shrink)
|
|
282
|
+
a.push('shrinkToFit="1"');
|
|
283
|
+
return a.length ? `<alignment ${a.join(' ')}/>` : '';
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
const isCellObject = (v) => typeof v === 'object' && v !== null && !isDate(v);
|
|
287
|
+
const toCell = (v) => (isCellObject(v) ? v : { value: v });
|
|
288
|
+
const toColumn = (c) => (typeof c === 'number' ? { width: c } : c || {});
|
|
289
|
+
/** Where every cell lands (spans push later cells right and down, as in HTML tables) and the merged ranges. */
|
|
290
|
+
function layout(sheet) {
|
|
291
|
+
const cells = new Map();
|
|
292
|
+
const rows = new Map();
|
|
293
|
+
const taken = new Set();
|
|
294
|
+
const merges = [];
|
|
295
|
+
const columns = (sheet.columns || []).map(toColumn);
|
|
296
|
+
const put = (p) => {
|
|
297
|
+
let r = cells.get(p.row);
|
|
298
|
+
if (!r)
|
|
299
|
+
cells.set(p.row, (r = new Map()));
|
|
300
|
+
if (!p.covered || !r.has(p.col))
|
|
301
|
+
r.set(p.col, p);
|
|
302
|
+
};
|
|
303
|
+
sheet.rows.forEach((raw, r) => {
|
|
304
|
+
const row = Array.isArray(raw) ? { cells: raw } : raw || { cells: [] };
|
|
305
|
+
rows.set(r, row);
|
|
306
|
+
let c = 0;
|
|
307
|
+
for (const input of row.cells || []) {
|
|
308
|
+
while (taken.has(`${r}:${c}`))
|
|
309
|
+
c++;
|
|
310
|
+
const cell = toCell(input);
|
|
311
|
+
const colSpan = Math.max(1, Math.floor(cell.colSpan || 1));
|
|
312
|
+
const rowSpan = Math.max(1, Math.floor(cell.rowSpan || 1));
|
|
313
|
+
const style = mergeExcelStyles(columns[c]?.style, row.style, cell.style);
|
|
314
|
+
put({ row: r, col: c, cell, style });
|
|
315
|
+
if (colSpan > 1 || rowSpan > 1) {
|
|
316
|
+
merges.push(`${excelRef(r, c)}:${excelRef(r + rowSpan - 1, c + colSpan - 1)}`);
|
|
317
|
+
for (let dr = 0; dr < rowSpan; dr++) {
|
|
318
|
+
for (let dc = 0; dc < colSpan; dc++) {
|
|
319
|
+
if (!dr && !dc)
|
|
320
|
+
continue;
|
|
321
|
+
taken.add(`${r + dr}:${c + dc}`);
|
|
322
|
+
put({ row: r + dr, col: c + dc, cell: {}, style, covered: true });
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
c += colSpan;
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
// Ranges merged by address get the top-left cell's border and fill across them too.
|
|
330
|
+
for (const range of sheet.merges || []) {
|
|
331
|
+
const box = excelParseRange(range);
|
|
332
|
+
if (!box || (box.top === box.bottom && box.left === box.right))
|
|
333
|
+
continue;
|
|
334
|
+
merges.push(`${excelRef(box.top, box.left)}:${excelRef(box.bottom, box.right)}`);
|
|
335
|
+
const anchor = cells.get(box.top)?.get(box.left);
|
|
336
|
+
if (!anchor)
|
|
337
|
+
continue;
|
|
338
|
+
for (let r = box.top; r <= box.bottom; r++) {
|
|
339
|
+
for (let c = box.left; c <= box.right; c++) {
|
|
340
|
+
if (r !== box.top || c !== box.left)
|
|
341
|
+
put({ row: r, col: c, cell: {}, style: anchor.style, covered: true });
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
return { cells, merges, rows };
|
|
346
|
+
}
|
|
347
|
+
/** Rough width of what a cell shows, in characters: Thai vowel and tone marks take no room, wide scripts two. */
|
|
348
|
+
function textWidth(v, style) {
|
|
349
|
+
if (v === null || v === undefined || v === '')
|
|
350
|
+
return 0;
|
|
351
|
+
if (typeof v === 'boolean')
|
|
352
|
+
return 5;
|
|
353
|
+
if (isDate(v))
|
|
354
|
+
return (style.format || 'dd/mm/yyyy hh:mm').length;
|
|
355
|
+
if (typeof v === 'number') {
|
|
356
|
+
const text = Number.isInteger(v) ? String(v) : v.toFixed(2);
|
|
357
|
+
return text.length + (style.format && style.format.includes(',') ? Math.floor(Math.max(0, text.split('.')[0].length - 1) / 3) : 0);
|
|
358
|
+
}
|
|
359
|
+
let widest = 0;
|
|
360
|
+
for (const part of String(v).split(/\r?\n/)) {
|
|
361
|
+
let w = 0;
|
|
362
|
+
for (const ch of part) {
|
|
363
|
+
const code = ch.codePointAt(0) || 0;
|
|
364
|
+
if ((code >= 0x0e31 && code <= 0x0e3a && code !== 0x0e32 && code !== 0x0e33) || (code >= 0x0e47 && code <= 0x0e4e))
|
|
365
|
+
continue;
|
|
366
|
+
if (code >= 0x0300 && code <= 0x036f)
|
|
367
|
+
continue;
|
|
368
|
+
w += code >= 0x1100 && (code <= 0x115f || (code >= 0x2e80 && code <= 0xa4cf) || (code >= 0xac00 && code <= 0xd7a3) || (code >= 0xf900 && code <= 0xfaff) || (code >= 0xff00 && code <= 0xff60)) ? 2 : 1;
|
|
369
|
+
}
|
|
370
|
+
widest = Math.max(widest, w);
|
|
371
|
+
}
|
|
372
|
+
return widest;
|
|
373
|
+
}
|
|
374
|
+
// ---------------------------------------------------------------- XML parts
|
|
375
|
+
const XML_HEAD = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n';
|
|
376
|
+
const NS_MAIN = 'http://schemas.openxmlformats.org/spreadsheetml/2006/main';
|
|
377
|
+
const NS_REL = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships';
|
|
378
|
+
const NS_PKG_REL = 'http://schemas.openxmlformats.org/package/2006/relationships';
|
|
379
|
+
const PAPER = { letter: 1, legal: 5, A3: 8, A4: 9, A5: 11 };
|
|
380
|
+
/** Valid, unique tab names: `[]:*?/\` removed, at most 31 characters, `Sheet1` … when empty. */
|
|
381
|
+
function excelSheetNames(names) {
|
|
382
|
+
const used = new Set();
|
|
383
|
+
return names.map((name, i) => {
|
|
384
|
+
let base = String(name ?? '')
|
|
385
|
+
.replace(/[[\]:*?/\\]/g, ' ')
|
|
386
|
+
.replace(/^'+|'+$/g, '')
|
|
387
|
+
.trim()
|
|
388
|
+
.slice(0, 31);
|
|
389
|
+
if (!base)
|
|
390
|
+
base = `Sheet${i + 1}`;
|
|
391
|
+
let out = base;
|
|
392
|
+
for (let n = 2; used.has(out.toLowerCase()); n++)
|
|
393
|
+
out = `${base.slice(0, 31 - String(n).length - 1)} ${n}`;
|
|
394
|
+
used.add(out.toLowerCase());
|
|
395
|
+
return out;
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
const quoteSheet = (name) => `'${name.replace(/'/g, "''")}'`;
|
|
399
|
+
const absolute = (range) => {
|
|
400
|
+
const box = excelParseRange(range);
|
|
401
|
+
if (!box)
|
|
402
|
+
return null;
|
|
403
|
+
return `$${excelColumnName(box.left)}$${box.top + 1}:$${excelColumnName(box.right)}$${box.bottom + 1}`;
|
|
404
|
+
};
|
|
405
|
+
/**
|
|
406
|
+
* The XML files of a workbook, by path inside the zip. `buildExcel()` zips them; they are separate for tests and for
|
|
407
|
+
* tools that want to look inside.
|
|
408
|
+
*/
|
|
409
|
+
function excelParts(source) {
|
|
410
|
+
const book = 'sheets' in source ? source : { sheets: [source] };
|
|
411
|
+
const sheets = book.sheets.length ? book.sheets : [{ rows: [] }];
|
|
412
|
+
const names = excelSheetNames(sheets.map((s) => s.name));
|
|
413
|
+
const fontSize = book.fontSize && book.fontSize > 0 ? book.fontSize : 11;
|
|
414
|
+
const styles = new StyleBook(book.fontName || 'Calibri', fontSize);
|
|
415
|
+
const strings = new Map();
|
|
416
|
+
let stringCount = 0;
|
|
417
|
+
const stringId = (s) => {
|
|
418
|
+
stringCount++;
|
|
419
|
+
let id = strings.get(s);
|
|
420
|
+
if (id === undefined)
|
|
421
|
+
strings.set(s, (id = strings.size));
|
|
422
|
+
return id;
|
|
423
|
+
};
|
|
424
|
+
const buddhist = book.calendar === 'buddhist' ? '[$-th-TH,107]' : '';
|
|
425
|
+
const dateFormat = book.dateFormat || buddhist + 'dd/mm/yyyy';
|
|
426
|
+
const dateTimeFormat = book.dateTimeFormat || buddhist + 'dd/mm/yyyy hh:mm';
|
|
427
|
+
const parts = {};
|
|
428
|
+
const definedNames = [];
|
|
429
|
+
sheets.forEach((sheet, index) => {
|
|
430
|
+
const { cells, merges, rows } = layout(sheet);
|
|
431
|
+
const columns = (sheet.columns || []).map(toColumn);
|
|
432
|
+
const links = [];
|
|
433
|
+
const rels = [];
|
|
434
|
+
const widths = [];
|
|
435
|
+
let maxRow = -1;
|
|
436
|
+
let maxCol = -1;
|
|
437
|
+
const sheetData = [];
|
|
438
|
+
const rowIndexes = [...new Set([...cells.keys(), ...rows.keys()])].sort((a, b) => a - b);
|
|
439
|
+
for (const r of rowIndexes) {
|
|
440
|
+
const row = rows.get(r);
|
|
441
|
+
const placed = [...(cells.get(r)?.values() || [])].sort((a, b) => a.col - b.col);
|
|
442
|
+
const out = [];
|
|
443
|
+
for (const p of placed) {
|
|
444
|
+
const { cell } = p;
|
|
445
|
+
let style = p.style;
|
|
446
|
+
let value = cell.value;
|
|
447
|
+
if (typeof value === 'number' && !Number.isFinite(value))
|
|
448
|
+
value = null;
|
|
449
|
+
if (isDate(value) && isNaN(value.getTime()))
|
|
450
|
+
value = null;
|
|
451
|
+
if (isDate(value) && !style.format) {
|
|
452
|
+
const hasTime = value.getHours() || value.getMinutes() || value.getSeconds();
|
|
453
|
+
style = { ...style, format: hasTime ? dateTimeFormat : dateFormat };
|
|
454
|
+
}
|
|
455
|
+
if (cell.link && !p.covered)
|
|
456
|
+
style = mergeExcelStyles({ color: '#0563c1', underline: true }, style);
|
|
457
|
+
const s = Object.keys(style).length ? styles.id(style) : 0;
|
|
458
|
+
const ref = excelRef(r, p.col);
|
|
459
|
+
const attr = `r="${ref}"${s ? ` s="${s}"` : ''}`;
|
|
460
|
+
const formula = cell.formula ? cleanText(String(cell.formula).replace(/^\s*=/, '')) : '';
|
|
461
|
+
let body = '';
|
|
462
|
+
let type = '';
|
|
463
|
+
if (formula) {
|
|
464
|
+
// The cached result, shown until Excel calculates.
|
|
465
|
+
body = `<f>${xml(formula)}</f>`;
|
|
466
|
+
if (typeof value === 'number') {
|
|
467
|
+
body += `<v>${value}</v>`;
|
|
468
|
+
}
|
|
469
|
+
else if (typeof value === 'boolean') {
|
|
470
|
+
type = 'b';
|
|
471
|
+
body += `<v>${value ? 1 : 0}</v>`;
|
|
472
|
+
}
|
|
473
|
+
else if (typeof value === 'string') {
|
|
474
|
+
type = 'str';
|
|
475
|
+
body += `<v>${xml(cleanText(value))}</v>`;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
else if (typeof value === 'number') {
|
|
479
|
+
body = `<v>${value}</v>`;
|
|
480
|
+
}
|
|
481
|
+
else if (typeof value === 'boolean') {
|
|
482
|
+
type = 'b';
|
|
483
|
+
body = `<v>${value ? 1 : 0}</v>`;
|
|
484
|
+
}
|
|
485
|
+
else if (isDate(value)) {
|
|
486
|
+
body = `<v>${excelDateNumber(value)}</v>`;
|
|
487
|
+
}
|
|
488
|
+
else if (typeof value === 'string' && value !== '') {
|
|
489
|
+
type = 's';
|
|
490
|
+
body = `<v>${stringId(cleanText(value))}</v>`;
|
|
491
|
+
}
|
|
492
|
+
if (!body && !s)
|
|
493
|
+
continue;
|
|
494
|
+
out.push(`<c ${attr}${type ? ` t="${type}"` : ''}${body ? `>${body}</c>` : '/>'}`);
|
|
495
|
+
maxCol = Math.max(maxCol, p.col);
|
|
496
|
+
if (!p.covered && (cell.colSpan || 1) <= 1)
|
|
497
|
+
widths[p.col] = Math.max(widths[p.col] || 0, textWidth(formula && value === undefined ? '' : value, style) * (style.bold ? 1.1 : 1) * ((style.fontSize || fontSize) / fontSize));
|
|
498
|
+
if (cell.link && !p.covered) {
|
|
499
|
+
if (cell.link.startsWith('#'))
|
|
500
|
+
links.push(`<hyperlink ref="${ref}" location="${xml(cleanText(cell.link.slice(1)))}" display="${xml(cleanText(String(value ?? cell.link)))}"/>`);
|
|
501
|
+
else {
|
|
502
|
+
const id = `rId${rels.length + 1}`;
|
|
503
|
+
rels.push(`<Relationship Id="${id}" Type="${NS_REL}/hyperlink" Target="${xml(cleanText(cell.link))}" TargetMode="External"/>`);
|
|
504
|
+
links.push(`<hyperlink ref="${ref}" r:id="${id}"/>`);
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
const attrs = (row?.height && row.height > 0 ? ` ht="${row.height}" customHeight="1"` : '') + (row?.hidden ? ' hidden="1"' : '');
|
|
509
|
+
if (!out.length && !attrs)
|
|
510
|
+
continue;
|
|
511
|
+
maxRow = Math.max(maxRow, r);
|
|
512
|
+
sheetData.push(`<row r="${r + 1}"${attrs}${out.length ? `>${out.join('')}</row>` : '/>'}`);
|
|
513
|
+
}
|
|
514
|
+
const name = names[index];
|
|
515
|
+
const colsXml = [];
|
|
516
|
+
const colCount = Math.max(columns.length, widths.length);
|
|
517
|
+
for (let c = 0; c < colCount; c++) {
|
|
518
|
+
const col = columns[c] || {};
|
|
519
|
+
const auto = sheet.autoWidth !== false && widths[c] ? Math.min(60, Math.max(6, Math.ceil(widths[c] + 2))) : undefined;
|
|
520
|
+
const width = col.width && col.width > 0 ? col.width : auto;
|
|
521
|
+
if (!width && !col.hidden)
|
|
522
|
+
continue;
|
|
523
|
+
colsXml.push(`<col min="${c + 1}" max="${c + 1}"${width ? ` width="${width}" customWidth="1"` : ' width="9.140625"'}${col.hidden ? ' hidden="1"' : ''}/>`);
|
|
524
|
+
}
|
|
525
|
+
const freeze = sheet.freeze ? excelParseRef(sheet.freeze) : null;
|
|
526
|
+
let pane = '';
|
|
527
|
+
if (freeze && (freeze.row || freeze.column)) {
|
|
528
|
+
const activePane = freeze.row && freeze.column ? 'bottomRight' : freeze.row ? 'bottomLeft' : 'topRight';
|
|
529
|
+
pane =
|
|
530
|
+
`<pane${freeze.column ? ` xSplit="${freeze.column}"` : ''}${freeze.row ? ` ySplit="${freeze.row}"` : ''} topLeftCell="${excelRef(freeze.row, freeze.column)}" activePane="${activePane}" state="frozen"/>` +
|
|
531
|
+
`<selection pane="${activePane}" activeCell="${excelRef(freeze.row, freeze.column)}" sqref="${excelRef(freeze.row, freeze.column)}"/>`;
|
|
532
|
+
}
|
|
533
|
+
const tab = excelColor(sheet.tabColor);
|
|
534
|
+
const fit = !!sheet.fitToWidth;
|
|
535
|
+
const sheetPr = tab || fit ? `<sheetPr>${tab ? `<tabColor rgb="${tab}"/>` : ''}${fit ? '<pageSetUpPr fitToPage="1"/>' : ''}</sheetPr>` : '';
|
|
536
|
+
const filter = sheet.autoFilter ? absolute(sheet.autoFilter) : null;
|
|
537
|
+
if (filter)
|
|
538
|
+
definedNames.push(`<definedName name="_xlnm._FilterDatabase" localSheetId="${index}" hidden="1">${xml(quoteSheet(name))}!${filter}</definedName>`);
|
|
539
|
+
const repeat = sheet.repeatRows ? /^\$?(\d+)(?::\$?(\d+))?$/.exec(sheet.repeatRows.trim()) : null;
|
|
540
|
+
if (repeat)
|
|
541
|
+
definedNames.push(`<definedName name="_xlnm.Print_Titles" localSheetId="${index}">${xml(quoteSheet(name))}!$${repeat[1]}:$${repeat[2] || repeat[1]}</definedName>`);
|
|
542
|
+
const pageSetup = [];
|
|
543
|
+
if (sheet.paper && PAPER[sheet.paper])
|
|
544
|
+
pageSetup.push(`paperSize="${PAPER[sheet.paper]}"`);
|
|
545
|
+
if (sheet.landscape)
|
|
546
|
+
pageSetup.push('orientation="landscape"');
|
|
547
|
+
if (fit)
|
|
548
|
+
pageSetup.push('fitToWidth="1" fitToHeight="0"');
|
|
549
|
+
const dimension = maxRow >= 0 && maxCol >= 0 ? `A1:${excelRef(maxRow, maxCol)}` : 'A1';
|
|
550
|
+
const uniqueMerges = [...new Set(merges)];
|
|
551
|
+
parts[`xl/worksheets/sheet${index + 1}.xml`] =
|
|
552
|
+
XML_HEAD +
|
|
553
|
+
`<worksheet xmlns="${NS_MAIN}" xmlns:r="${NS_REL}">` +
|
|
554
|
+
sheetPr +
|
|
555
|
+
`<dimension ref="${dimension}"/>` +
|
|
556
|
+
`<sheetViews><sheetView workbookViewId="0"${index === 0 ? ' tabSelected="1"' : ''}${sheet.gridLines === false ? ' showGridLines="0"' : ''}>${pane}</sheetView></sheetViews>` +
|
|
557
|
+
`<sheetFormatPr defaultRowHeight="${Math.round(fontSize * 1.364 * 100) / 100}"/>` +
|
|
558
|
+
(colsXml.length ? `<cols>${colsXml.join('')}</cols>` : '') +
|
|
559
|
+
(sheetData.length ? `<sheetData>${sheetData.join('')}</sheetData>` : '<sheetData/>') +
|
|
560
|
+
(filter ? `<autoFilter ref="${filter.replace(/\$/g, '')}"/>` : '') +
|
|
561
|
+
(uniqueMerges.length ? `<mergeCells count="${uniqueMerges.length}">${uniqueMerges.map((m) => `<mergeCell ref="${m}"/>`).join('')}</mergeCells>` : '') +
|
|
562
|
+
(links.length ? `<hyperlinks>${links.join('')}</hyperlinks>` : '') +
|
|
563
|
+
'<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>' +
|
|
564
|
+
(pageSetup.length ? `<pageSetup ${pageSetup.join(' ')}/>` : '') +
|
|
565
|
+
'</worksheet>';
|
|
566
|
+
if (rels.length)
|
|
567
|
+
parts[`xl/worksheets/_rels/sheet${index + 1}.xml.rels`] = XML_HEAD + `<Relationships xmlns="${NS_PKG_REL}">${rels.join('')}</Relationships>`;
|
|
568
|
+
});
|
|
569
|
+
const n = sheets.length;
|
|
570
|
+
parts['[Content_Types].xml'] =
|
|
571
|
+
XML_HEAD +
|
|
572
|
+
'<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">' +
|
|
573
|
+
'<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>' +
|
|
574
|
+
'<Default Extension="xml" ContentType="application/xml"/>' +
|
|
575
|
+
'<Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/>' +
|
|
576
|
+
sheets.map((_, i) => `<Override PartName="/xl/worksheets/sheet${i + 1}.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>`).join('') +
|
|
577
|
+
'<Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/>' +
|
|
578
|
+
'<Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/>' +
|
|
579
|
+
'</Types>';
|
|
580
|
+
parts['_rels/.rels'] =
|
|
581
|
+
XML_HEAD + `<Relationships xmlns="${NS_PKG_REL}"><Relationship Id="rId1" Type="${NS_REL}/officeDocument" Target="xl/workbook.xml"/></Relationships>`;
|
|
582
|
+
parts['xl/workbook.xml'] =
|
|
583
|
+
XML_HEAD +
|
|
584
|
+
`<workbook xmlns="${NS_MAIN}" xmlns:r="${NS_REL}">` +
|
|
585
|
+
'<bookViews><workbookView/></bookViews>' +
|
|
586
|
+
`<sheets>${names.map((name, i) => `<sheet name="${xml(name)}" sheetId="${i + 1}" r:id="rId${i + 1}"/>`).join('')}</sheets>` +
|
|
587
|
+
(definedNames.length ? `<definedNames>${definedNames.join('')}</definedNames>` : '') +
|
|
588
|
+
'<calcPr calcId="191029" fullCalcOnLoad="1"/>' +
|
|
589
|
+
'</workbook>';
|
|
590
|
+
parts['xl/_rels/workbook.xml.rels'] =
|
|
591
|
+
XML_HEAD +
|
|
592
|
+
`<Relationships xmlns="${NS_PKG_REL}">` +
|
|
593
|
+
names.map((_, i) => `<Relationship Id="rId${i + 1}" Type="${NS_REL}/worksheet" Target="worksheets/sheet${i + 1}.xml"/>`).join('') +
|
|
594
|
+
`<Relationship Id="rId${n + 1}" Type="${NS_REL}/styles" Target="styles.xml"/>` +
|
|
595
|
+
`<Relationship Id="rId${n + 2}" Type="${NS_REL}/sharedStrings" Target="sharedStrings.xml"/>` +
|
|
596
|
+
'</Relationships>';
|
|
597
|
+
parts['xl/styles.xml'] = styles.xml();
|
|
598
|
+
parts['xl/sharedStrings.xml'] =
|
|
599
|
+
XML_HEAD +
|
|
600
|
+
`<sst xmlns="${NS_MAIN}" count="${stringCount}" uniqueCount="${strings.size}">` +
|
|
601
|
+
[...strings.keys()].map((s) => `<si><t${/^\s|\s$|\n/.test(s) ? ' xml:space="preserve"' : ''}>${xml(s)}</t></si>`).join('') +
|
|
602
|
+
'</sst>';
|
|
603
|
+
return parts;
|
|
604
|
+
}
|
|
605
|
+
// ---------------------------------------------------------------- zip
|
|
606
|
+
let crcTable = null;
|
|
607
|
+
/** CRC-32 as ZIP files use it. */
|
|
608
|
+
function crc32(data) {
|
|
609
|
+
if (!crcTable) {
|
|
610
|
+
crcTable = new Uint32Array(256);
|
|
611
|
+
for (let n = 0; n < 256; n++) {
|
|
612
|
+
let c = n;
|
|
613
|
+
for (let k = 0; k < 8; k++)
|
|
614
|
+
c = c & 1 ? 0xedb88320 ^ (c >>> 1) : c >>> 1;
|
|
615
|
+
crcTable[n] = c >>> 0;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
let c = 0xffffffff;
|
|
619
|
+
for (let i = 0; i < data.length; i++)
|
|
620
|
+
c = crcTable[(c ^ data[i]) & 0xff] ^ (c >>> 8);
|
|
621
|
+
return (c ^ 0xffffffff) >>> 0;
|
|
622
|
+
}
|
|
623
|
+
/** Raw deflate through the platform's CompressionStream; null where there is none (the file is then stored). */
|
|
624
|
+
async function deflateRaw(data) {
|
|
625
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
626
|
+
const g = globalThis;
|
|
627
|
+
if (typeof g.CompressionStream !== 'function' || typeof g.Response !== 'function' || typeof g.Blob !== 'function')
|
|
628
|
+
return null;
|
|
629
|
+
try {
|
|
630
|
+
const stream = new g.Blob([data]).stream().pipeThrough(new g.CompressionStream('deflate-raw'));
|
|
631
|
+
return new Uint8Array(await new g.Response(stream).arrayBuffer());
|
|
632
|
+
}
|
|
633
|
+
catch {
|
|
634
|
+
return null;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
/** A ZIP archive of the entries, deflated where the platform can (and it helps), else stored. */
|
|
638
|
+
async function zipFiles(entries, options = {}) {
|
|
639
|
+
const packed = [];
|
|
640
|
+
for (const entry of entries) {
|
|
641
|
+
const deflated = options.compress === false ? null : await deflateRaw(entry.data);
|
|
642
|
+
if (deflated && deflated.length < entry.data.length)
|
|
643
|
+
packed.push({ entry, body: deflated, method: 8 });
|
|
644
|
+
else
|
|
645
|
+
packed.push({ entry, body: entry.data, method: 0 });
|
|
646
|
+
}
|
|
647
|
+
return zipPacked(packed, options.date);
|
|
648
|
+
}
|
|
649
|
+
/** A ZIP archive of the entries, stored without compression. */
|
|
650
|
+
function zipFilesSync(entries, options = {}) {
|
|
651
|
+
return zipPacked(entries.map((entry) => ({ entry, body: entry.data, method: 0 })), options.date);
|
|
652
|
+
}
|
|
653
|
+
function zipPacked(packed, date = new Date()) {
|
|
654
|
+
const enc = new TextEncoder();
|
|
655
|
+
const time = (date.getHours() << 11) | (date.getMinutes() << 5) | Math.floor(date.getSeconds() / 2);
|
|
656
|
+
const day = (Math.max(0, date.getFullYear() - 1980) << 9) | ((date.getMonth() + 1) << 5) | date.getDate();
|
|
657
|
+
const locals = [];
|
|
658
|
+
const centrals = [];
|
|
659
|
+
let offset = 0;
|
|
660
|
+
for (const { entry, body, method } of packed) {
|
|
661
|
+
const name = enc.encode(entry.name);
|
|
662
|
+
const crc = crc32(entry.data);
|
|
663
|
+
const local = new Uint8Array(30 + name.length);
|
|
664
|
+
const lv = new DataView(local.buffer);
|
|
665
|
+
lv.setUint32(0, 0x04034b50, true);
|
|
666
|
+
lv.setUint16(4, 20, true);
|
|
667
|
+
lv.setUint16(6, 0x0800, true);
|
|
668
|
+
lv.setUint16(8, method, true);
|
|
669
|
+
lv.setUint16(10, time, true);
|
|
670
|
+
lv.setUint16(12, day, true);
|
|
671
|
+
lv.setUint32(14, crc, true);
|
|
672
|
+
lv.setUint32(18, body.length, true);
|
|
673
|
+
lv.setUint32(22, entry.data.length, true);
|
|
674
|
+
lv.setUint16(26, name.length, true);
|
|
675
|
+
local.set(name, 30);
|
|
676
|
+
const central = new Uint8Array(46 + name.length);
|
|
677
|
+
const cv = new DataView(central.buffer);
|
|
678
|
+
cv.setUint32(0, 0x02014b50, true);
|
|
679
|
+
cv.setUint16(4, 20, true);
|
|
680
|
+
cv.setUint16(6, 20, true);
|
|
681
|
+
cv.setUint16(8, 0x0800, true);
|
|
682
|
+
cv.setUint16(10, method, true);
|
|
683
|
+
cv.setUint16(12, time, true);
|
|
684
|
+
cv.setUint16(14, day, true);
|
|
685
|
+
cv.setUint32(16, crc, true);
|
|
686
|
+
cv.setUint32(20, body.length, true);
|
|
687
|
+
cv.setUint32(24, entry.data.length, true);
|
|
688
|
+
cv.setUint16(28, name.length, true);
|
|
689
|
+
cv.setUint32(42, offset, true);
|
|
690
|
+
central.set(name, 46);
|
|
691
|
+
locals.push(local, body);
|
|
692
|
+
centrals.push(central);
|
|
693
|
+
offset += local.length + body.length;
|
|
694
|
+
}
|
|
695
|
+
const centralSize = centrals.reduce((n, c) => n + c.length, 0);
|
|
696
|
+
const end = new Uint8Array(22);
|
|
697
|
+
const ev = new DataView(end.buffer);
|
|
698
|
+
ev.setUint32(0, 0x06054b50, true);
|
|
699
|
+
ev.setUint16(8, packed.length, true);
|
|
700
|
+
ev.setUint16(10, packed.length, true);
|
|
701
|
+
ev.setUint32(12, centralSize, true);
|
|
702
|
+
ev.setUint32(16, offset, true);
|
|
703
|
+
const out = new Uint8Array(offset + centralSize + 22);
|
|
704
|
+
let at = 0;
|
|
705
|
+
for (const part of [...locals, ...centrals, end]) {
|
|
706
|
+
out.set(part, at);
|
|
707
|
+
at += part.length;
|
|
708
|
+
}
|
|
709
|
+
return out;
|
|
710
|
+
}
|
|
711
|
+
const partEntries = (parts) => {
|
|
712
|
+
const enc = new TextEncoder();
|
|
713
|
+
// [Content_Types].xml first, as Office writes it.
|
|
714
|
+
return Object.keys(parts)
|
|
715
|
+
.sort((a, b) => (a === '[Content_Types].xml' ? -1 : b === '[Content_Types].xml' ? 1 : 0))
|
|
716
|
+
.map((name) => ({ name, data: enc.encode(parts[name]) }));
|
|
717
|
+
};
|
|
718
|
+
/** The .xlsx file of a workbook (or of one sheet), compressed where the platform can. */
|
|
719
|
+
function buildExcel(source) {
|
|
720
|
+
return zipFiles(partEntries(excelParts(source)));
|
|
721
|
+
}
|
|
722
|
+
/** The .xlsx file without compression, without waiting (bigger; for tools and tests). */
|
|
723
|
+
function buildExcelSync(source) {
|
|
724
|
+
return zipFilesSync(partEntries(excelParts(source)));
|
|
725
|
+
}
|
|
726
|
+
// SUBTOTAL ignores rows the filter hides: 101 average, 103 count (non-empty), 104 max, 105 min, 109 sum.
|
|
727
|
+
const SUBTOTAL = { average: 101, count: 103, max: 104, min: 105, sum: 109 };
|
|
728
|
+
const TOTALS = new Set(Object.keys(SUBTOTAL));
|
|
729
|
+
const fieldOf = (row, path) => {
|
|
730
|
+
let v = row;
|
|
731
|
+
for (const key of path.split('.')) {
|
|
732
|
+
if (v === null || v === undefined || typeof v !== 'object')
|
|
733
|
+
return undefined;
|
|
734
|
+
v = v[key];
|
|
735
|
+
}
|
|
736
|
+
return v;
|
|
737
|
+
};
|
|
738
|
+
/** Values Excel can hold; anything else becomes its text. */
|
|
739
|
+
function toExcelValue(v) {
|
|
740
|
+
if (v === null || v === undefined)
|
|
741
|
+
return null;
|
|
742
|
+
if (typeof v === 'string' || typeof v === 'number' || typeof v === 'boolean' || isDate(v))
|
|
743
|
+
return v;
|
|
744
|
+
if (typeof v === 'bigint')
|
|
745
|
+
return Number(v);
|
|
746
|
+
if (Array.isArray(v))
|
|
747
|
+
return v.map((x) => (x === null || x === undefined ? '' : typeof x === 'object' ? JSON.stringify(x) : String(x))).join(', ');
|
|
748
|
+
return typeof v === 'object' ? JSON.stringify(v) : String(v);
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* A sheet from rows of objects, styled like a report: optional title, bold shaded header with filter buttons that stays
|
|
752
|
+
* in view, thin borders, widths from the content, number formats per column and a total row of SUBTOTAL formulas (they
|
|
753
|
+
* follow the filter).
|
|
754
|
+
*/
|
|
755
|
+
function excelSheetFromRows(rows, columns, options = {}) {
|
|
756
|
+
const cols = columns.filter((c) => c && c.field);
|
|
757
|
+
const borderColor = typeof options.borders === 'string' ? options.borders : '#cbd5e1';
|
|
758
|
+
const grid = options.borders === false ? {} : { border: { style: 'thin', color: borderColor } };
|
|
759
|
+
const headerStyle = mergeExcelStyles(grid, { bold: true, fill: '#e2e8f0', color: '#0f172a', valign: 'middle', wrap: true }, options.headerStyle);
|
|
760
|
+
const stripe = options.striped ? (typeof options.striped === 'string' ? options.striped : '#f8fafc') : null;
|
|
761
|
+
const sheetRows = [];
|
|
762
|
+
const span = Math.max(1, cols.length);
|
|
763
|
+
const asCell = (v, style) => typeof v === 'object' && v !== null ? { ...v, colSpan: v.colSpan ?? span, style: mergeExcelStyles(style, v.style) } : { value: v, colSpan: span, style };
|
|
764
|
+
if (options.title !== undefined && options.title !== null && options.title !== '') {
|
|
765
|
+
sheetRows.push({ cells: [asCell(options.title, { bold: true, fontSize: 14, valign: 'middle' })], height: 24 });
|
|
766
|
+
}
|
|
767
|
+
if (options.subtitle !== undefined && options.subtitle !== null && options.subtitle !== '') {
|
|
768
|
+
sheetRows.push({ cells: [asCell(options.subtitle, { color: '#475569' })] });
|
|
769
|
+
}
|
|
770
|
+
if (sheetRows.length)
|
|
771
|
+
sheetRows.push({ cells: [] });
|
|
772
|
+
const headerRow = sheetRows.length + 1;
|
|
773
|
+
sheetRows.push({ cells: cols.map((c) => ({ value: c.header ?? c.field, style: headerStyle })) });
|
|
774
|
+
const firstRow = headerRow + 1;
|
|
775
|
+
rows.forEach((row, rowIndex) => {
|
|
776
|
+
const rowStyle = mergeExcelStyles(grid, stripe && rowIndex % 2 === 1 ? { fill: stripe } : null, options.bodyStyle, options.rowStyle?.(row, rowIndex) || null);
|
|
777
|
+
sheetRows.push({
|
|
778
|
+
cells: cols.map((c) => {
|
|
779
|
+
const raw = fieldOf(row, c.field);
|
|
780
|
+
const value = toExcelValue(options.value ? options.value(row, c.field, raw) : raw);
|
|
781
|
+
const style = mergeExcelStyles(rowStyle, c.format ? { format: c.format } : null, c.style, options.cellStyle?.({ row, rowIndex, field: c.field, value }) || null);
|
|
782
|
+
return { value, style };
|
|
783
|
+
}),
|
|
784
|
+
});
|
|
785
|
+
});
|
|
786
|
+
const lastRow = firstRow + rows.length - 1;
|
|
787
|
+
const letters = new Map(cols.map((c, i) => [c.field, excelColumnName(i)]));
|
|
788
|
+
const totals = cols.map((c) => (options.totals && c.field in options.totals ? options.totals[c.field] : c.total));
|
|
789
|
+
let totalRow = null;
|
|
790
|
+
if (totals.some((t) => t !== undefined)) {
|
|
791
|
+
totalRow = lastRow + 1;
|
|
792
|
+
const totalStyle = mergeExcelStyles(grid, { bold: true, fill: '#f1f5f9', border: { top: { style: 'double', color: '#64748b' } } }, options.totalStyle);
|
|
793
|
+
sheetRows.push({
|
|
794
|
+
cells: cols.map((c, i) => {
|
|
795
|
+
const t = totals[i];
|
|
796
|
+
const style = mergeExcelStyles(totalStyle, c.format ? { format: c.format } : null);
|
|
797
|
+
if (typeof t === 'string' && TOTALS.has(t)) {
|
|
798
|
+
const letter = letters.get(c.field);
|
|
799
|
+
return rows.length ? { formula: `SUBTOTAL(${SUBTOTAL[t]},${letter}${firstRow}:${letter}${lastRow})`, style } : { value: 0, style };
|
|
800
|
+
}
|
|
801
|
+
if (t !== undefined && t !== null && typeof t === 'object' && !isDate(t))
|
|
802
|
+
return { ...t, style: mergeExcelStyles(style, t.style) };
|
|
803
|
+
if (t !== undefined)
|
|
804
|
+
return { value: t, style };
|
|
805
|
+
return { value: i === 0 ? options.totalLabel ?? 'Total' : null, style };
|
|
806
|
+
}),
|
|
807
|
+
});
|
|
808
|
+
}
|
|
809
|
+
const lastCol = excelColumnName(span - 1);
|
|
810
|
+
const sheet = {
|
|
811
|
+
name: options.sheetName,
|
|
812
|
+
rows: sheetRows,
|
|
813
|
+
columns: cols.map((c) => (c.width ? { width: c.width } : null)),
|
|
814
|
+
freeze: options.freezeHeader === false ? undefined : `A${headerRow + 1}`,
|
|
815
|
+
autoFilter: options.autoFilter === false || !cols.length ? undefined : `A${headerRow}:${lastCol}${Math.max(headerRow, lastRow)}`,
|
|
816
|
+
repeatRows: `${headerRow}:${headerRow}`,
|
|
817
|
+
};
|
|
818
|
+
options.customize?.(sheet, {
|
|
819
|
+
headerRow,
|
|
820
|
+
firstRow,
|
|
821
|
+
lastRow,
|
|
822
|
+
totalRow,
|
|
823
|
+
column: (field) => letters.get(field) ?? '',
|
|
824
|
+
});
|
|
825
|
+
return sheet;
|
|
826
|
+
}
|