@fundamental-ngx/ui5-webcomponents 0.63.0-rc.9 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs +100 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs +177 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs +242 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs +132 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs +146 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs +133 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs +121 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs +88 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs +244 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs +83 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs +77 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs +81 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs +116 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs +205 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs +143 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs +126 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs +200 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs +210 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs +112 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs +169 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs +125 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs +119 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs +125 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs +269 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs +303 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs +340 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs +300 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs +303 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs +118 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs +238 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs +91 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs +101 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs +91 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs +263 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs +132 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs +112 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs +188 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs +181 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs +300 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs +128 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs +235 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs +195 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs +141 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs +262 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs +298 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs +102 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs +295 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs +73 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs +178 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs +153 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs +118 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs +116 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs +285 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs +324 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs +139 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs +149 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs +172 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs +242 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs +104 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs +188 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs +207 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs +242 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs +167 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs +180 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs +292 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-handle.mjs +52 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-handle.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-tooltip.mjs +52 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-tooltip.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs +202 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs +82 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs +175 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs +203 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs +123 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs +102 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs +262 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs +194 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs +195 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs +52 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs +169 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs +110 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs +133 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs +117 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs +71 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs +161 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs +105 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs +102 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs +114 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs +133 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs +105 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs +100 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs +100 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs +111 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs +213 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs +159 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs +260 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs +106 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs +23 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker-clock.mjs +52 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker-clock.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs +249 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs +86 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs +86 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs +120 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs +136 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs +249 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs +249 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs +108 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs +168 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs +194 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs +109 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs +103 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs +183 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs +83 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs +90 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs +125 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs +256 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs +256 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs +215 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs +118 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs +118 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs +532 -39
- package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs.map +1 -1
- package/package.json +498 -6
- package/types/fundamental-ngx-ui5-webcomponents-avatar-badge.d.ts +46 -0
- package/types/fundamental-ngx-ui5-webcomponents-avatar-group.d.ts +103 -0
- package/types/fundamental-ngx-ui5-webcomponents-avatar.d.ts +160 -0
- package/types/fundamental-ngx-ui5-webcomponents-bar.d.ts +67 -0
- package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.d.ts +76 -0
- package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs.d.ts +64 -0
- package/types/fundamental-ngx-ui5-webcomponents-busy-indicator.d.ts +63 -0
- package/types/fundamental-ngx-ui5-webcomponents-button-badge.d.ts +35 -0
- package/types/fundamental-ngx-ui5-webcomponents-button.d.ts +163 -0
- package/types/fundamental-ngx-ui5-webcomponents-calendar-date-range.d.ts +30 -0
- package/types/fundamental-ngx-ui5-webcomponents-calendar-date.d.ts +25 -0
- package/types/fundamental-ngx-ui5-webcomponents-calendar-legend-item.d.ts +28 -0
- package/types/fundamental-ngx-ui5-webcomponents-calendar-legend.d.ts +59 -0
- package/types/fundamental-ngx-ui5-webcomponents-calendar.d.ts +118 -0
- package/types/fundamental-ngx-ui5-webcomponents-card-header.d.ts +68 -0
- package/types/fundamental-ngx-ui5-webcomponents-card.d.ts +69 -0
- package/types/fundamental-ngx-ui5-webcomponents-carousel.d.ts +120 -0
- package/types/fundamental-ngx-ui5-webcomponents-check-box.d.ts +114 -0
- package/types/fundamental-ngx-ui5-webcomponents-color-palette-item.d.ts +44 -0
- package/types/fundamental-ngx-ui5-webcomponents-color-palette-popover.d.ts +92 -0
- package/types/fundamental-ngx-ui5-webcomponents-color-palette.d.ts +56 -0
- package/types/fundamental-ngx-ui5-webcomponents-color-picker.d.ts +49 -0
- package/types/fundamental-ngx-ui5-webcomponents-combo-box-item-group.d.ts +81 -0
- package/types/fundamental-ngx-ui5-webcomponents-combo-box-item.d.ts +57 -0
- package/types/fundamental-ngx-ui5-webcomponents-combo-box.d.ts +160 -0
- package/types/fundamental-ngx-ui5-webcomponents-date-picker.d.ts +188 -0
- package/types/fundamental-ngx-ui5-webcomponents-date-range-picker.d.ts +217 -0
- package/types/fundamental-ngx-ui5-webcomponents-date-time-input.d.ts +188 -0
- package/types/fundamental-ngx-ui5-webcomponents-date-time-picker.d.ts +188 -0
- package/types/fundamental-ngx-ui5-webcomponents-day-picker.d.ts +59 -0
- package/types/fundamental-ngx-ui5-webcomponents-dialog.d.ts +146 -0
- package/types/fundamental-ngx-ui5-webcomponents-drop-indicator.d.ts +36 -0
- package/types/fundamental-ngx-ui5-webcomponents-dynamic-date-range.d.ts +35 -0
- package/types/fundamental-ngx-ui5-webcomponents-expandable-text.d.ts +36 -0
- package/types/fundamental-ngx-ui5-webcomponents-file-uploader.d.ts +142 -0
- package/types/fundamental-ngx-ui5-webcomponents-form-group.d.ts +73 -0
- package/types/fundamental-ngx-ui5-webcomponents-form-item.d.ts +54 -0
- package/types/fundamental-ngx-ui5-webcomponents-form.d.ts +122 -0
- package/types/fundamental-ngx-ui5-webcomponents-icon.d.ts +109 -0
- package/types/fundamental-ngx-ui5-webcomponents-input.d.ts +188 -0
- package/types/fundamental-ngx-ui5-webcomponents-label.d.ts +71 -0
- package/types/fundamental-ngx-ui5-webcomponents-link.d.ts +155 -0
- package/types/fundamental-ngx-ui5-webcomponents-list-item-custom.d.ts +119 -0
- package/types/fundamental-ngx-ui5-webcomponents-list-item-group-header.d.ts +72 -0
- package/types/fundamental-ngx-ui5-webcomponents-list-item-group.d.ts +81 -0
- package/types/fundamental-ngx-ui5-webcomponents-list-item-standard.d.ts +174 -0
- package/types/fundamental-ngx-ui5-webcomponents-list.d.ts +203 -0
- package/types/fundamental-ngx-ui5-webcomponents-menu-item-group.d.ts +48 -0
- package/types/fundamental-ngx-ui5-webcomponents-menu-item.d.ts +203 -0
- package/types/fundamental-ngx-ui5-webcomponents-menu-separator.d.ts +27 -0
- package/types/fundamental-ngx-ui5-webcomponents-menu.d.ts +100 -0
- package/types/fundamental-ngx-ui5-webcomponents-message-strip.d.ts +78 -0
- package/types/fundamental-ngx-ui5-webcomponents-month-picker.d.ts +59 -0
- package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.d.ts +81 -0
- package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.d.ts +47 -0
- package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box.d.ts +173 -0
- package/types/fundamental-ngx-ui5-webcomponents-multi-input.d.ts +205 -0
- package/types/fundamental-ngx-ui5-webcomponents-option-custom.d.ts +68 -0
- package/types/fundamental-ngx-ui5-webcomponents-option.d.ts +77 -0
- package/types/fundamental-ngx-ui5-webcomponents-panel.d.ts +93 -0
- package/types/fundamental-ngx-ui5-webcomponents-popover.d.ts +146 -0
- package/types/fundamental-ngx-ui5-webcomponents-progress-indicator.d.ts +48 -0
- package/types/fundamental-ngx-ui5-webcomponents-radio-button.d.ts +94 -0
- package/types/fundamental-ngx-ui5-webcomponents-range-slider.d.ts +111 -0
- package/types/fundamental-ngx-ui5-webcomponents-rating-indicator.d.ts +80 -0
- package/types/fundamental-ngx-ui5-webcomponents-responsive-popover.d.ts +146 -0
- package/types/fundamental-ngx-ui5-webcomponents-segmented-button-item.d.ts +92 -0
- package/types/fundamental-ngx-ui5-webcomponents-segmented-button.d.ts +87 -0
- package/types/fundamental-ngx-ui5-webcomponents-select.d.ts +161 -0
- package/types/fundamental-ngx-ui5-webcomponents-slider-handle.d.ts +20 -0
- package/types/fundamental-ngx-ui5-webcomponents-slider-tooltip.d.ts +20 -0
- package/types/fundamental-ngx-ui5-webcomponents-slider.d.ts +107 -0
- package/types/fundamental-ngx-ui5-webcomponents-special-calendar-date.d.ts +29 -0
- package/types/fundamental-ngx-ui5-webcomponents-split-button.d.ts +102 -0
- package/types/fundamental-ngx-ui5-webcomponents-step-input.d.ts +121 -0
- package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.d.ts +55 -0
- package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-group.d.ts +81 -0
- package/types/fundamental-ngx-ui5-webcomponents-suggestion-item.d.ts +35 -0
- package/types/fundamental-ngx-ui5-webcomponents-suggestion-list-item.d.ts +169 -0
- package/types/fundamental-ngx-ui5-webcomponents-switch.d.ts +99 -0
- package/types/fundamental-ngx-ui5-webcomponents-tab-container.d.ts +114 -0
- package/types/fundamental-ngx-ui5-webcomponents-tab-separator.d.ts +20 -0
- package/types/fundamental-ngx-ui5-webcomponents-tab.d.ts +91 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-cell.d.ts +55 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-group-row.d.ts +75 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-growing.d.ts +49 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.d.ts +25 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-header-cell.d.ts +101 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-header-row.d.ts +51 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.d.ts +35 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-row-action.d.ts +46 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-row.d.ts +75 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-selection-multi.d.ts +37 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-selection-single.d.ts +33 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-selection.d.ts +33 -0
- package/types/fundamental-ngx-ui5-webcomponents-table-virtualizer.d.ts +43 -0
- package/types/fundamental-ngx-ui5-webcomponents-table.d.ts +123 -0
- package/types/fundamental-ngx-ui5-webcomponents-tag.d.ts +82 -0
- package/types/fundamental-ngx-ui5-webcomponents-text-area.d.ts +156 -0
- package/types/fundamental-ngx-ui5-webcomponents-text.d.ts +51 -0
- package/types/fundamental-ngx-ui5-webcomponents-theming.d.ts +11 -0
- package/types/fundamental-ngx-ui5-webcomponents-time-picker-clock.d.ts +20 -0
- package/types/fundamental-ngx-ui5-webcomponents-time-picker.d.ts +144 -0
- package/types/fundamental-ngx-ui5-webcomponents-time-selection-clocks.d.ts +33 -0
- package/types/fundamental-ngx-ui5-webcomponents-time-selection-inputs.d.ts +33 -0
- package/types/fundamental-ngx-ui5-webcomponents-title.d.ts +64 -0
- package/types/fundamental-ngx-ui5-webcomponents-toast.d.ts +66 -0
- package/types/fundamental-ngx-ui5-webcomponents-toggle-button.d.ts +167 -0
- package/types/fundamental-ngx-ui5-webcomponents-toggle-spin-button.d.ts +167 -0
- package/types/fundamental-ngx-ui5-webcomponents-token.d.ts +53 -0
- package/types/fundamental-ngx-ui5-webcomponents-tokenizer.d.ts +93 -0
- package/types/fundamental-ngx-ui5-webcomponents-toolbar-button.d.ts +118 -0
- package/types/fundamental-ngx-ui5-webcomponents-toolbar-item.d.ts +54 -0
- package/types/fundamental-ngx-ui5-webcomponents-toolbar-select-option.d.ts +49 -0
- package/types/fundamental-ngx-ui5-webcomponents-toolbar-select.d.ts +106 -0
- package/types/fundamental-ngx-ui5-webcomponents-toolbar-separator.d.ts +30 -0
- package/types/fundamental-ngx-ui5-webcomponents-toolbar-spacer.d.ts +36 -0
- package/types/fundamental-ngx-ui5-webcomponents-toolbar.d.ts +67 -0
- package/types/fundamental-ngx-ui5-webcomponents-tree-item-custom.d.ts +165 -0
- package/types/fundamental-ngx-ui5-webcomponents-tree-item.d.ts +168 -0
- package/types/fundamental-ngx-ui5-webcomponents-tree.d.ts +129 -0
- package/types/fundamental-ngx-ui5-webcomponents-year-picker.d.ts +59 -0
- package/types/fundamental-ngx-ui5-webcomponents-year-range-picker.d.ts +59 -0
- package/types/fundamental-ngx-ui5-webcomponents.d.ts +309 -19
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs","sources":["../../../../libs/ui5-webcomponents/table-selection-multi/index.ts","../../../../libs/ui5-webcomponents/table-selection-multi/fundamental-ngx-ui5-webcomponents-table-selection-multi.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/TableSelectionMulti.js';\nimport { default as _TableSelectionMulti } from '@ui5/webcomponents/dist/TableSelectionMulti.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { default as TableSelectionBehavior } from '@ui5/webcomponents/dist/types/TableSelectionBehavior.js';\nimport { default as TableSelectionMultiHeaderSelector } from '@ui5/webcomponents/dist/types/TableSelectionMultiHeaderSelector.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-table-selection-multi, [ui5-table-selection-multi]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5TableSelectionMulti',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableSelectionMulti implements AfterViewInit {\n\n /**\n * Defines the selection behavior.\n */\n behavior = input<typeof _TableSelectionMulti.prototype.behavior | undefined>(\"RowSelector\");\n\n /**\n * Defines the selector of the header row.\n */\n headerSelector = input<typeof _TableSelectionMulti.prototype.headerSelector | undefined>(\"SelectAll\");\n\n /**\n * Defines the `row-key` values of selected rows, with each value separated by a space.\n */\n selected = input<typeof _TableSelectionMulti.prototype.selected | undefined>(); // className is now passed\n\n\n\n /**\n * Fired when the selection is changed by user interaction.\n */\n ui5Change = output<UI5CustomEvent<_TableSelectionMulti, 'change'>>();\n\n\n public elementRef: ElementRef<_TableSelectionMulti> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _TableSelectionMulti {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'behavior',\n 'headerSelector',\n 'selected',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Change',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAwCa,mBAAmB,CAAA;AAZhC,IAAA,WAAA,GAAA;AAcE;;AAEG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAA6D,aAAa,oDAAC;AAE3F;;AAEG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAmE,WAAW,0DAAC;AAErG;;AAEG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA8D,CAAC;AAI/E;;AAEG;QACH,IAAA,CAAA,SAAS,GAAG,MAAM,EAAkD;AAG7D,QAAA,IAAA,CAAA,UAAU,GAAqC,MAAM,CAAC,UAAU,CAAC;AACjE,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAwD1E,IAAA;AAtDC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa;IACtC;IAEA,eAAe,GAAA;AACb,QAAA,MAAM,SAAS,GAAG,IAAI,CAA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,IAAI;AAChB,oBAAA,QAAQ,EAAE,wDAAwD;AAClE,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACvCD;;AAEG;;;;"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents/dist/TableSelectionSingle.js';
|
|
4
|
+
import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
|
|
5
|
+
|
|
6
|
+
class TableSelectionSingle {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Defines the selection behavior.
|
|
10
|
+
*/
|
|
11
|
+
this.behavior = input("RowSelector", ...(ngDevMode ? [{ debugName: "behavior" }] : []));
|
|
12
|
+
/**
|
|
13
|
+
* Defines the `row-key` value of the selected row.
|
|
14
|
+
*/
|
|
15
|
+
this.selected = input(...(ngDevMode ? [undefined, { debugName: "selected" }] : [])); // className is now passed
|
|
16
|
+
/**
|
|
17
|
+
* Fired when the selection is changed by user interaction.
|
|
18
|
+
*/
|
|
19
|
+
this.ui5Change = output();
|
|
20
|
+
this.elementRef = inject(ElementRef);
|
|
21
|
+
this.injector = inject(Injector);
|
|
22
|
+
/**
|
|
23
|
+
* Content density observer is injected to activate automatic CSS class and
|
|
24
|
+
* UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
this._contentDensityObserver = inject(ContentDensityObserver);
|
|
28
|
+
}
|
|
29
|
+
get element() {
|
|
30
|
+
return this.elementRef.nativeElement;
|
|
31
|
+
}
|
|
32
|
+
ngAfterViewInit() {
|
|
33
|
+
const wcElement = this.element;
|
|
34
|
+
const inputsToSync = [
|
|
35
|
+
'behavior',
|
|
36
|
+
'selected',
|
|
37
|
+
];
|
|
38
|
+
// Synchronize inputs (properties)
|
|
39
|
+
for (const inputName of inputsToSync) {
|
|
40
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
41
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
42
|
+
// Use the Injector to run the effect in the correct context
|
|
43
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
44
|
+
runInInjectionContext(this.injector, () => {
|
|
45
|
+
effect(() => {
|
|
46
|
+
// Read the signal value
|
|
47
|
+
const value = this[signalName]();
|
|
48
|
+
if (wcElement) {
|
|
49
|
+
// Write the value to the Web Component's property
|
|
50
|
+
wcElement[inputName] = value;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const outputsToSync = [
|
|
57
|
+
'ui5Change',
|
|
58
|
+
];
|
|
59
|
+
// Synchronize outputs (events)
|
|
60
|
+
for (const outputName of outputsToSync) {
|
|
61
|
+
// Map Angular output name to UI5 web component event name
|
|
62
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
63
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
64
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
65
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
66
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
67
|
+
this[outputName].emit(e);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableSelectionSingle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: TableSelectionSingle, isStandalone: true, selector: "ui5-table-selection-single, [ui5-table-selection-single]", inputs: { behavior: { classPropertyName: "behavior", publicName: "behavior", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change" }, providers: [
|
|
74
|
+
contentDensityObserverProviders({
|
|
75
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
76
|
+
})
|
|
77
|
+
], exportAs: ["ui5TableSelectionSingle"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableSelectionSingle, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{
|
|
82
|
+
standalone: true,
|
|
83
|
+
selector: 'ui5-table-selection-single, [ui5-table-selection-single]',
|
|
84
|
+
template: '<ng-content></ng-content>',
|
|
85
|
+
exportAs: 'ui5TableSelectionSingle',
|
|
86
|
+
providers: [
|
|
87
|
+
contentDensityObserverProviders({
|
|
88
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
89
|
+
})
|
|
90
|
+
],
|
|
91
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
92
|
+
}]
|
|
93
|
+
}], propDecorators: { behavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "behavior", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], ui5Change: [{ type: i0.Output, args: ["ui5Change"] }] } });
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Generated bundle index. Do not edit.
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
export { TableSelectionSingle };
|
|
100
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-table-selection-single.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-table-selection-single.mjs","sources":["../../../../libs/ui5-webcomponents/table-selection-single/index.ts","../../../../libs/ui5-webcomponents/table-selection-single/fundamental-ngx-ui5-webcomponents-table-selection-single.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/TableSelectionSingle.js';\nimport { default as _TableSelectionSingle } from '@ui5/webcomponents/dist/TableSelectionSingle.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { default as TableSelectionBehavior } from '@ui5/webcomponents/dist/types/TableSelectionBehavior.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-table-selection-single, [ui5-table-selection-single]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5TableSelectionSingle',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableSelectionSingle implements AfterViewInit {\n\n /**\n * Defines the selection behavior.\n */\n behavior = input<typeof _TableSelectionSingle.prototype.behavior | undefined>(\"RowSelector\");\n\n /**\n * Defines the `row-key` value of the selected row.\n */\n selected = input<typeof _TableSelectionSingle.prototype.selected | undefined>(); // className is now passed\n\n\n\n /**\n * Fired when the selection is changed by user interaction.\n */\n ui5Change = output<UI5CustomEvent<_TableSelectionSingle, 'change'>>();\n\n\n public elementRef: ElementRef<_TableSelectionSingle> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _TableSelectionSingle {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'behavior',\n 'selected',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Change',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,oBAAoB,CAAA;AAZjC,IAAA,WAAA,GAAA;AAcE;;AAEG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAA8D,aAAa,oDAAC;AAE5F;;AAEG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA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;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,yBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAZhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0DAA0D;AACpE,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents/dist/TableSelection.js';
|
|
4
|
+
import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
|
|
5
|
+
|
|
6
|
+
class TableSelection {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Defines the selection mode.
|
|
10
|
+
*/
|
|
11
|
+
this.mode = input("Multiple", ...(ngDevMode ? [{ debugName: "mode" }] : []));
|
|
12
|
+
/**
|
|
13
|
+
* Defines the selected rows separated by a space.
|
|
14
|
+
*/
|
|
15
|
+
this.selected = input("", ...(ngDevMode ? [{ debugName: "selected" }] : [])); // className is now passed
|
|
16
|
+
/**
|
|
17
|
+
* Fired when the selection is changed by user interaction.
|
|
18
|
+
*/
|
|
19
|
+
this.ui5Change = output();
|
|
20
|
+
this.elementRef = inject(ElementRef);
|
|
21
|
+
this.injector = inject(Injector);
|
|
22
|
+
/**
|
|
23
|
+
* Content density observer is injected to activate automatic CSS class and
|
|
24
|
+
* UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
this._contentDensityObserver = inject(ContentDensityObserver);
|
|
28
|
+
}
|
|
29
|
+
get element() {
|
|
30
|
+
return this.elementRef.nativeElement;
|
|
31
|
+
}
|
|
32
|
+
ngAfterViewInit() {
|
|
33
|
+
const wcElement = this.element;
|
|
34
|
+
const inputsToSync = [
|
|
35
|
+
'mode',
|
|
36
|
+
'selected',
|
|
37
|
+
];
|
|
38
|
+
// Synchronize inputs (properties)
|
|
39
|
+
for (const inputName of inputsToSync) {
|
|
40
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
41
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
42
|
+
// Use the Injector to run the effect in the correct context
|
|
43
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
44
|
+
runInInjectionContext(this.injector, () => {
|
|
45
|
+
effect(() => {
|
|
46
|
+
// Read the signal value
|
|
47
|
+
const value = this[signalName]();
|
|
48
|
+
if (wcElement) {
|
|
49
|
+
// Write the value to the Web Component's property
|
|
50
|
+
wcElement[inputName] = value;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const outputsToSync = [
|
|
57
|
+
'ui5Change',
|
|
58
|
+
];
|
|
59
|
+
// Synchronize outputs (events)
|
|
60
|
+
for (const outputName of outputsToSync) {
|
|
61
|
+
// Map Angular output name to UI5 web component event name
|
|
62
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
63
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
64
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
65
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
66
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
67
|
+
this[outputName].emit(e);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableSelection, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: TableSelection, isStandalone: true, selector: "ui5-table-selection, [ui5-table-selection]", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change" }, providers: [
|
|
74
|
+
contentDensityObserverProviders({
|
|
75
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
76
|
+
})
|
|
77
|
+
], exportAs: ["ui5TableSelection"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableSelection, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{
|
|
82
|
+
standalone: true,
|
|
83
|
+
selector: 'ui5-table-selection, [ui5-table-selection]',
|
|
84
|
+
template: '<ng-content></ng-content>',
|
|
85
|
+
exportAs: 'ui5TableSelection',
|
|
86
|
+
providers: [
|
|
87
|
+
contentDensityObserverProviders({
|
|
88
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
89
|
+
})
|
|
90
|
+
],
|
|
91
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
92
|
+
}]
|
|
93
|
+
}], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], ui5Change: [{ type: i0.Output, args: ["ui5Change"] }] } });
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Generated bundle index. Do not edit.
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
export { TableSelection };
|
|
100
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-table-selection.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-table-selection.mjs","sources":["../../../../libs/ui5-webcomponents/table-selection/index.ts","../../../../libs/ui5-webcomponents/table-selection/fundamental-ngx-ui5-webcomponents-table-selection.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/TableSelection.js';\nimport { default as _TableSelection } from '@ui5/webcomponents/dist/TableSelection.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { default as TableSelectionMode } from '@ui5/webcomponents/dist/types/TableSelectionMode.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-table-selection, [ui5-table-selection]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5TableSelection',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableSelection implements AfterViewInit {\n\n /**\n * Defines the selection mode.\n */\n mode = input<typeof _TableSelection.prototype.mode | undefined>(\"Multiple\");\n\n /**\n * Defines the selected rows separated by a space.\n */\n selected = input<typeof _TableSelection.prototype.selected | undefined>(\"\"); // className is now passed\n\n\n\n /**\n * Fired when the selection is changed by user interaction.\n */\n ui5Change = output<UI5CustomEvent<_TableSelection, 'change'>>();\n\n\n public elementRef: ElementRef<_TableSelection> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _TableSelection {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'mode',\n 'selected',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Change',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,cAAc,CAAA;AAZ3B,IAAA,WAAA,GAAA;AAcE;;AAEG;AACH,QAAA,IAAA,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EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,SAAA,EAPd;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,cAAc,EAAA,UAAA,EAAA,CAAA;kBAZ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,4CAA4C;AACtD,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents/dist/TableVirtualizer.js';
|
|
4
|
+
import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
|
|
5
|
+
|
|
6
|
+
class TableVirtualizer {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Defines the count of extra rows to be rendered at the top and bottom of the table.
|
|
10
|
+
|
|
11
|
+
**Note:** This property is experimental and may be changed or deleted in the future.
|
|
12
|
+
*/
|
|
13
|
+
this.extraRows = input(0, ...(ngDevMode ? [{ debugName: "extraRows" }] : []));
|
|
14
|
+
/**
|
|
15
|
+
* Defines the total count of rows in the table.
|
|
16
|
+
|
|
17
|
+
**Note:** For virtualization to work properly, this property is mandatory.
|
|
18
|
+
*/
|
|
19
|
+
this.rowCount = input(100, ...(ngDevMode ? [{ debugName: "rowCount" }] : []));
|
|
20
|
+
/**
|
|
21
|
+
* Defines the height of the rows in the table.
|
|
22
|
+
|
|
23
|
+
**Note:** For virtualization to work properly, this property is mandatory.
|
|
24
|
+
*/
|
|
25
|
+
this.rowHeight = input(45, ...(ngDevMode ? [{ debugName: "rowHeight" }] : [])); // className is now passed
|
|
26
|
+
/**
|
|
27
|
+
* Fired when the virtualizer is changed by user interaction e.g. on scrolling.
|
|
28
|
+
*/
|
|
29
|
+
this.ui5RangeChange = output();
|
|
30
|
+
this.elementRef = inject(ElementRef);
|
|
31
|
+
this.injector = inject(Injector);
|
|
32
|
+
/**
|
|
33
|
+
* Content density observer is injected to activate automatic CSS class and
|
|
34
|
+
* UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
|
|
35
|
+
* @private
|
|
36
|
+
*/
|
|
37
|
+
this._contentDensityObserver = inject(ContentDensityObserver);
|
|
38
|
+
}
|
|
39
|
+
get element() {
|
|
40
|
+
return this.elementRef.nativeElement;
|
|
41
|
+
}
|
|
42
|
+
ngAfterViewInit() {
|
|
43
|
+
const wcElement = this.element;
|
|
44
|
+
const inputsToSync = [
|
|
45
|
+
'extraRows',
|
|
46
|
+
'rowCount',
|
|
47
|
+
'rowHeight',
|
|
48
|
+
];
|
|
49
|
+
// Synchronize inputs (properties)
|
|
50
|
+
for (const inputName of inputsToSync) {
|
|
51
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
52
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
53
|
+
// Use the Injector to run the effect in the correct context
|
|
54
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
55
|
+
runInInjectionContext(this.injector, () => {
|
|
56
|
+
effect(() => {
|
|
57
|
+
// Read the signal value
|
|
58
|
+
const value = this[signalName]();
|
|
59
|
+
if (wcElement) {
|
|
60
|
+
// Write the value to the Web Component's property
|
|
61
|
+
wcElement[inputName] = value;
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
const outputsToSync = [
|
|
68
|
+
'ui5RangeChange',
|
|
69
|
+
];
|
|
70
|
+
// Synchronize outputs (events)
|
|
71
|
+
for (const outputName of outputsToSync) {
|
|
72
|
+
// Map Angular output name to UI5 web component event name
|
|
73
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
74
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
75
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
76
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
77
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
78
|
+
this[outputName].emit(e);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableVirtualizer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
84
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: TableVirtualizer, isStandalone: true, selector: "ui5-table-virtualizer, [ui5-table-virtualizer]", inputs: { extraRows: { classPropertyName: "extraRows", publicName: "extraRows", isSignal: true, isRequired: false, transformFunction: null }, rowCount: { classPropertyName: "rowCount", publicName: "rowCount", isSignal: true, isRequired: false, transformFunction: null }, rowHeight: { classPropertyName: "rowHeight", publicName: "rowHeight", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5RangeChange: "ui5RangeChange" }, providers: [
|
|
85
|
+
contentDensityObserverProviders({
|
|
86
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
87
|
+
})
|
|
88
|
+
], exportAs: ["ui5TableVirtualizer"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
89
|
+
}
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableVirtualizer, decorators: [{
|
|
91
|
+
type: Component,
|
|
92
|
+
args: [{
|
|
93
|
+
standalone: true,
|
|
94
|
+
selector: 'ui5-table-virtualizer, [ui5-table-virtualizer]',
|
|
95
|
+
template: '<ng-content></ng-content>',
|
|
96
|
+
exportAs: 'ui5TableVirtualizer',
|
|
97
|
+
providers: [
|
|
98
|
+
contentDensityObserverProviders({
|
|
99
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
100
|
+
})
|
|
101
|
+
],
|
|
102
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
103
|
+
}]
|
|
104
|
+
}], propDecorators: { extraRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "extraRows", required: false }] }], rowCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowCount", required: false }] }], rowHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowHeight", required: false }] }], ui5RangeChange: [{ type: i0.Output, args: ["ui5RangeChange"] }] } });
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Generated bundle index. Do not edit.
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
export { TableVirtualizer };
|
|
111
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs","sources":["../../../../libs/ui5-webcomponents/table-virtualizer/index.ts","../../../../libs/ui5-webcomponents/table-virtualizer/fundamental-ngx-ui5-webcomponents-table-virtualizer.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/TableVirtualizer.js';\nimport { default as _TableVirtualizer } from '@ui5/webcomponents/dist/TableVirtualizer.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-table-virtualizer, [ui5-table-virtualizer]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5TableVirtualizer',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TableVirtualizer implements AfterViewInit {\n\n /**\n * Defines the count of extra rows to be rendered at the top and bottom of the table.\n\n**Note:** This property is experimental and may be changed or deleted in the future.\n */\n extraRows = input<typeof _TableVirtualizer.prototype.extraRows | undefined>(0);\n\n /**\n * Defines the total count of rows in the table.\n\n**Note:** For virtualization to work properly, this property is mandatory.\n */\n rowCount = input<typeof _TableVirtualizer.prototype.rowCount | undefined>(100);\n\n /**\n * Defines the height of the rows in the table.\n\n**Note:** For virtualization to work properly, this property is mandatory.\n */\n rowHeight = input<typeof _TableVirtualizer.prototype.rowHeight | undefined>(45); // className is now passed\n\n\n\n /**\n * Fired when the virtualizer is changed by user interaction e.g. on scrolling.\n */\n ui5RangeChange = output<UI5CustomEvent<_TableVirtualizer, 'range-change'>>();\n\n\n public elementRef: ElementRef<_TableVirtualizer> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _TableVirtualizer {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'extraRows',\n 'rowCount',\n 'rowHeight',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5RangeChange',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,gBAAgB,CAAA;AAZ7B,IAAA,WAAA,GAAA;AAcE;;;;AAIG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAA2D,CAAC,qDAAC;AAE9E;;;;AAIG;AACH,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAA0D,GAAG,oDAAC;AAE9E;;;;AAIG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAA2D,EAAE,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,GA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AA,gBAAA,EAAA,EAAA,SAAA,EAPhB;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gDAAgD;AAC1D,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents/dist/Table.js';
|
|
4
|
+
import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
|
|
5
|
+
|
|
6
|
+
class Table {
|
|
7
|
+
constructor() {
|
|
8
|
+
/**
|
|
9
|
+
* Defines the accessible ARIA name of the component.
|
|
10
|
+
*/
|
|
11
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
|
|
12
|
+
/**
|
|
13
|
+
* Identifies the element (or elements) that labels the component.
|
|
14
|
+
*/
|
|
15
|
+
this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
|
|
16
|
+
/**
|
|
17
|
+
* Determines whether the table rows are displayed with alternating background colors.
|
|
18
|
+
*/
|
|
19
|
+
this.alternateRowColors = input(false, { ...(ngDevMode ? { debugName: "alternateRowColors" } : {}), transform: booleanAttribute });
|
|
20
|
+
/**
|
|
21
|
+
* Defines if the loading indicator should be shown.
|
|
22
|
+
|
|
23
|
+
**Note:** When the component is loading, it is not interactive.
|
|
24
|
+
*/
|
|
25
|
+
this.loading = input(false, { ...(ngDevMode ? { debugName: "loading" } : {}), transform: booleanAttribute });
|
|
26
|
+
/**
|
|
27
|
+
* Defines the delay in milliseconds, after which the loading indicator will show up for this component.
|
|
28
|
+
*/
|
|
29
|
+
this.loadingDelay = input(1000, ...(ngDevMode ? [{ debugName: "loadingDelay" }] : []));
|
|
30
|
+
/**
|
|
31
|
+
* Defines the text to be displayed when there are no rows in the component.
|
|
32
|
+
*/
|
|
33
|
+
this.noDataText = input(...(ngDevMode ? [undefined, { debugName: "noDataText" }] : []));
|
|
34
|
+
/**
|
|
35
|
+
* Defines the mode of the <code>ui5-table</code> overflow behavior.
|
|
36
|
+
|
|
37
|
+
Available options are:
|
|
38
|
+
|
|
39
|
+
<code>Scroll</code> - Columns are shown as regular columns and horizontal scrolling is enabled.
|
|
40
|
+
<code>Popin</code> - Columns are shown as pop-ins instead of regular columns.
|
|
41
|
+
*/
|
|
42
|
+
this.overflowMode = input("Scroll", ...(ngDevMode ? [{ debugName: "overflowMode" }] : []));
|
|
43
|
+
/**
|
|
44
|
+
* Defines the maximum number of row actions that is displayed, which determines the width of the row action column.
|
|
45
|
+
|
|
46
|
+
**Note:** It is recommended to use a maximum of 3 row actions, as exceeding this limit may take up too much space on smaller screens.
|
|
47
|
+
*/
|
|
48
|
+
this.rowActionCount = input(0, ...(ngDevMode ? [{ debugName: "rowActionCount" }] : [])); // className is now passed
|
|
49
|
+
/**
|
|
50
|
+
* Fired when a movable list item is dropped onto a drop target.
|
|
51
|
+
|
|
52
|
+
**Notes:**
|
|
53
|
+
|
|
54
|
+
The `move` event is fired only if there was a preceding `move-over` with prevented default action.
|
|
55
|
+
|
|
56
|
+
If the dragging operation is a cross-browser operation or files are moved to a potential drop target,
|
|
57
|
+
the `source` parameter will be `null`.
|
|
58
|
+
*/
|
|
59
|
+
this.ui5Move = output();
|
|
60
|
+
/**
|
|
61
|
+
* Fired when a movable item is moved over a potential drop target during a dragging operation.
|
|
62
|
+
|
|
63
|
+
If the new position is valid, prevent the default action of the event using `preventDefault()`.
|
|
64
|
+
|
|
65
|
+
**Note:** If the dragging operation is a cross-browser operation or files are moved to a potential drop target,
|
|
66
|
+
the `source` parameter will be `null`.
|
|
67
|
+
*/
|
|
68
|
+
this.ui5MoveOver = output();
|
|
69
|
+
/**
|
|
70
|
+
* Fired when a row action is clicked.
|
|
71
|
+
*/
|
|
72
|
+
this.ui5RowActionClick = output();
|
|
73
|
+
/**
|
|
74
|
+
* Fired when an interactive row is clicked.
|
|
75
|
+
|
|
76
|
+
**Note:** This event is not fired if the `behavior` property of the selection component is set to `RowOnly`.
|
|
77
|
+
In that case, use the `change` event of the selection component instead.
|
|
78
|
+
*/
|
|
79
|
+
this.ui5RowClick = output();
|
|
80
|
+
/**
|
|
81
|
+
* Available slots for content projection in this component.
|
|
82
|
+
*
|
|
83
|
+
* Slots allow you to insert custom content into predefined areas of the web component.
|
|
84
|
+
* Use the `slot` attribute on child elements to target specific slots.
|
|
85
|
+
*
|
|
86
|
+
* - **(default)**: Defines the rows of the component.
|
|
87
|
+
|
|
88
|
+
**Note:** Use `ui5-table-row` for the intended design.
|
|
89
|
+
* - **features**: Defines the features of the component.
|
|
90
|
+
* - **headerRow**: Defines the header row of the component.
|
|
91
|
+
|
|
92
|
+
**Note:** Use `ui5-table-header-row` for the intended design.
|
|
93
|
+
* - **noData**: Defines the custom visualization if there is no data available.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* ```html
|
|
97
|
+
* <ui5-table>
|
|
98
|
+
* <div slot="header">Custom header content</div>
|
|
99
|
+
* <p>Default slot content</p>
|
|
100
|
+
* </ui5-table>
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @readonly
|
|
104
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
|
|
105
|
+
*/
|
|
106
|
+
this.slots = [
|
|
107
|
+
{
|
|
108
|
+
"name": "default",
|
|
109
|
+
"description": "Defines the rows of the component.\n\n**Note:** Use `ui5-table-row` for the intended design."
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "features",
|
|
113
|
+
"description": "Defines the features of the component."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "headerRow",
|
|
117
|
+
"description": "Defines the header row of the component.\n\n**Note:** Use `ui5-table-header-row` for the intended design."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "noData",
|
|
121
|
+
"description": "Defines the custom visualization if there is no data available."
|
|
122
|
+
}
|
|
123
|
+
];
|
|
124
|
+
this.elementRef = inject(ElementRef);
|
|
125
|
+
this.injector = inject(Injector);
|
|
126
|
+
/**
|
|
127
|
+
* Content density observer is injected to activate automatic CSS class and
|
|
128
|
+
* UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
|
|
129
|
+
* @private
|
|
130
|
+
*/
|
|
131
|
+
this._contentDensityObserver = inject(ContentDensityObserver);
|
|
132
|
+
}
|
|
133
|
+
get element() {
|
|
134
|
+
return this.elementRef.nativeElement;
|
|
135
|
+
}
|
|
136
|
+
ngAfterViewInit() {
|
|
137
|
+
const wcElement = this.element;
|
|
138
|
+
const inputsToSync = [
|
|
139
|
+
'accessibleName',
|
|
140
|
+
'accessibleNameRef',
|
|
141
|
+
'alternateRowColors',
|
|
142
|
+
'loading',
|
|
143
|
+
'loadingDelay',
|
|
144
|
+
'noDataText',
|
|
145
|
+
'overflowMode',
|
|
146
|
+
'rowActionCount',
|
|
147
|
+
];
|
|
148
|
+
// Synchronize inputs (properties)
|
|
149
|
+
for (const inputName of inputsToSync) {
|
|
150
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
151
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
152
|
+
// Use the Injector to run the effect in the correct context
|
|
153
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
154
|
+
runInInjectionContext(this.injector, () => {
|
|
155
|
+
effect(() => {
|
|
156
|
+
// Read the signal value
|
|
157
|
+
const value = this[signalName]();
|
|
158
|
+
if (wcElement) {
|
|
159
|
+
// Write the value to the Web Component's property
|
|
160
|
+
wcElement[inputName] = value;
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
const outputsToSync = [
|
|
167
|
+
'ui5Move',
|
|
168
|
+
'ui5MoveOver',
|
|
169
|
+
'ui5RowActionClick',
|
|
170
|
+
'ui5RowClick',
|
|
171
|
+
];
|
|
172
|
+
// Synchronize outputs (events)
|
|
173
|
+
for (const outputName of outputsToSync) {
|
|
174
|
+
// Map Angular output name to UI5 web component event name
|
|
175
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
176
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
177
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
178
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
179
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
180
|
+
this[outputName].emit(e);
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Table, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
186
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: Table, isStandalone: true, selector: "ui5-table, [ui5-table]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, alternateRowColors: { classPropertyName: "alternateRowColors", publicName: "alternateRowColors", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingDelay: { classPropertyName: "loadingDelay", publicName: "loadingDelay", isSignal: true, isRequired: false, transformFunction: null }, noDataText: { classPropertyName: "noDataText", publicName: "noDataText", isSignal: true, isRequired: false, transformFunction: null }, overflowMode: { classPropertyName: "overflowMode", publicName: "overflowMode", isSignal: true, isRequired: false, transformFunction: null }, rowActionCount: { classPropertyName: "rowActionCount", publicName: "rowActionCount", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Move: "ui5Move", ui5MoveOver: "ui5MoveOver", ui5RowActionClick: "ui5RowActionClick", ui5RowClick: "ui5RowClick" }, providers: [
|
|
187
|
+
contentDensityObserverProviders({
|
|
188
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
189
|
+
})
|
|
190
|
+
], exportAs: ["ui5Table"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
191
|
+
}
|
|
192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Table, decorators: [{
|
|
193
|
+
type: Component,
|
|
194
|
+
args: [{
|
|
195
|
+
standalone: true,
|
|
196
|
+
selector: 'ui5-table, [ui5-table]',
|
|
197
|
+
template: '<ng-content></ng-content>',
|
|
198
|
+
exportAs: 'ui5Table',
|
|
199
|
+
providers: [
|
|
200
|
+
contentDensityObserverProviders({
|
|
201
|
+
supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
|
|
202
|
+
})
|
|
203
|
+
],
|
|
204
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
205
|
+
}]
|
|
206
|
+
}], propDecorators: { accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], alternateRowColors: [{ type: i0.Input, args: [{ isSignal: true, alias: "alternateRowColors", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], loadingDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadingDelay", required: false }] }], noDataText: [{ type: i0.Input, args: [{ isSignal: true, alias: "noDataText", required: false }] }], overflowMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "overflowMode", required: false }] }], rowActionCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowActionCount", required: false }] }], ui5Move: [{ type: i0.Output, args: ["ui5Move"] }], ui5MoveOver: [{ type: i0.Output, args: ["ui5MoveOver"] }], ui5RowActionClick: [{ type: i0.Output, args: ["ui5RowActionClick"] }], ui5RowClick: [{ type: i0.Output, args: ["ui5RowClick"] }] } });
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Generated bundle index. Do not edit.
|
|
210
|
+
*/
|
|
211
|
+
|
|
212
|
+
export { Table };
|
|
213
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-table.mjs.map
|