@fundamental-ngx/ui5-webcomponents 0.58.0-rc.1
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/README.md +3 -0
- package/avatar/index.d.ts +101 -0
- package/avatar-group/index.d.ts +58 -0
- package/bar/index.d.ts +28 -0
- package/breadcrumbs/index.d.ts +33 -0
- package/breadcrumbs-item/index.d.ts +38 -0
- package/busy-indicator/index.d.ts +34 -0
- package/button/index.d.ts +117 -0
- package/button-badge/index.d.ts +29 -0
- package/calendar/index.d.ts +77 -0
- package/calendar-date/index.d.ts +19 -0
- package/calendar-date-range/index.d.ts +24 -0
- package/calendar-legend/index.d.ts +30 -0
- package/calendar-legend-item/index.d.ts +22 -0
- package/card/index.d.ts +32 -0
- package/card-header/index.d.ts +38 -0
- package/carousel/index.d.ts +88 -0
- package/check-box/index.d.ts +108 -0
- package/color-palette/index.d.ts +19 -0
- package/color-palette-item/index.d.ts +27 -0
- package/color-palette-popover/index.d.ts +51 -0
- package/color-picker/index.d.ts +35 -0
- package/combo-box/index.d.ts +102 -0
- package/combo-box-item/index.d.ts +22 -0
- package/combo-box-item-group/index.d.ts +49 -0
- package/date-picker/index.d.ts +143 -0
- package/date-range-picker/index.d.ts +163 -0
- package/date-time-picker/index.d.ts +143 -0
- package/dialog/index.d.ts +112 -0
- package/dynamic-date-range/index.d.ts +28 -0
- package/expandable-text/index.d.ts +30 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs +121 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs +166 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs +71 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs +82 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs +90 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs +80 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs +72 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs +186 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs +67 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs +61 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs +75 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs +142 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs +97 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs +77 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs +178 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs +70 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs +113 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs +55 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs +93 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs +108 -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 +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs +177 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs +227 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs +254 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs +227 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs +184 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs +85 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs +75 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs +190 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs +82 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs +134 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs +127 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs +210 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs +85 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs +192 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs +129 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs +108 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs +179 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs +240 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs +60 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs +202 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs +36 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs +135 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs +100 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs +108 -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 +70 -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 +184 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs +229 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs +77 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs +85 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs +124 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs +185 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs +88 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs +156 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs +130 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs +185 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs +103 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs +135 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs +204 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs +151 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs +66 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs +132 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs +157 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs +61 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs +108 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs +154 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs +138 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs +36 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs +102 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs +60 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs +101 -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 +55 -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 +112 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs +62 -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 +86 -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 +98 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs +82 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs +89 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs +84 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs +84 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs +95 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs +153 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs +111 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs +196 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs +65 -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.mjs +176 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs +76 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs +93 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs +191 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs +65 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs +127 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs +168 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs +60 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs +130 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs +67 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs +74 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs +75 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs +173 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs +178 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs +164 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-types.mjs +74 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-types.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-utils.mjs +108 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents-utils.mjs.map +1 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs +11748 -0
- package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs.map +1 -0
- package/file-uploader/index.d.ts +97 -0
- package/form/index.d.ts +84 -0
- package/form-group/index.d.ts +36 -0
- package/form-item/index.d.ts +23 -0
- package/icon/index.d.ts +67 -0
- package/index.d.ts +6031 -0
- package/input/index.d.ts +131 -0
- package/label/index.d.ts +40 -0
- package/link/index.d.ts +123 -0
- package/list/index.d.ts +161 -0
- package/list-item-custom/index.d.ts +67 -0
- package/list-item-group/index.d.ts +49 -0
- package/list-item-standard/index.d.ts +110 -0
- package/menu/index.d.ts +69 -0
- package/menu-item/index.d.ts +128 -0
- package/menu-item-group/index.d.ts +18 -0
- package/menu-separator/index.d.ts +14 -0
- package/message-strip/index.d.ts +41 -0
- package/multi-combo-box/index.d.ts +108 -0
- package/multi-combo-box-item/index.d.ts +26 -0
- package/multi-combo-box-item-group/index.d.ts +49 -0
- package/multi-input/index.d.ts +147 -0
- package/option/index.d.ts +39 -0
- package/option-custom/index.d.ts +32 -0
- package/package.json +480 -0
- package/panel/index.d.ts +61 -0
- package/popover/index.d.ts +110 -0
- package/progress-indicator/index.d.ts +42 -0
- package/radio-button/index.d.ts +88 -0
- package/range-slider/index.d.ts +86 -0
- package/rating-indicator/index.d.ts +66 -0
- package/responsive-popover/index.d.ts +110 -0
- package/segmented-button/index.d.ts +53 -0
- package/segmented-button-item/index.d.ts +54 -0
- package/select/index.d.ts +104 -0
- package/slider/index.d.ts +82 -0
- package/special-calendar-date/index.d.ts +23 -0
- package/split-button/index.d.ts +70 -0
- package/step-input/index.d.ts +87 -0
- package/suggestion-item/index.d.ts +22 -0
- package/suggestion-item-custom/index.d.ts +19 -0
- package/suggestion-item-group/index.d.ts +49 -0
- package/switch/index.d.ts +86 -0
- package/tab/index.d.ts +54 -0
- package/tab-container/index.d.ts +73 -0
- package/tab-separator/index.d.ts +14 -0
- package/table/index.d.ts +87 -0
- package/table-cell/index.d.ts +18 -0
- package/table-growing/index.d.ts +43 -0
- package/table-header-cell/index.d.ts +64 -0
- package/table-header-cell-action-a-i/index.d.ts +19 -0
- package/table-header-row/index.d.ts +20 -0
- package/table-row/index.d.ts +36 -0
- package/table-row-action/index.d.ts +40 -0
- package/table-row-action-navigation/index.d.ts +29 -0
- package/table-selection/index.d.ts +27 -0
- package/table-selection-multi/index.d.ts +31 -0
- package/table-selection-single/index.d.ts +27 -0
- package/table-virtualizer/index.d.ts +37 -0
- package/tag/index.d.ts +50 -0
- package/text/index.d.ts +22 -0
- package/text-area/index.d.ts +120 -0
- package/theming/index.d.ts +11 -0
- package/time-picker/index.d.ts +101 -0
- package/title/index.d.ts +32 -0
- package/toast/index.d.ts +35 -0
- package/toggle-button/index.d.ts +122 -0
- package/token/index.d.ts +22 -0
- package/tokenizer/index.d.ts +64 -0
- package/toolbar/index.d.ts +30 -0
- package/toolbar-button/index.d.ts +102 -0
- package/toolbar-select/index.d.ts +65 -0
- package/toolbar-select-option/index.d.ts +18 -0
- package/toolbar-separator/index.d.ts +24 -0
- package/toolbar-spacer/index.d.ts +30 -0
- package/tree/index.d.ts +94 -0
- package/tree-item/index.d.ts +109 -0
- package/tree-item-custom/index.d.ts +105 -0
- package/types/index.d.ts +69 -0
- package/utils/index.d.ts +23 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents/dist/SegmentedButtonItem.js';
|
|
4
|
+
|
|
5
|
+
class SegmentedButtonItem {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Defines whether the component is disabled.
|
|
9
|
+
A disabled component can't be selected or
|
|
10
|
+
focused, and it is not in the tab chain.
|
|
11
|
+
*/
|
|
12
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
13
|
+
/**
|
|
14
|
+
* Determines whether the component is displayed as selected.
|
|
15
|
+
*/
|
|
16
|
+
this.selected = input(false, ...(ngDevMode ? [{ debugName: "selected", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
17
|
+
/**
|
|
18
|
+
* Defines the tooltip of the component.
|
|
19
|
+
|
|
20
|
+
**Note:** A tooltip attribute should be provided for icon-only buttons, in order to represent their exact meaning/function.
|
|
21
|
+
*/
|
|
22
|
+
this.tooltip = input(...(ngDevMode ? [undefined, { debugName: "tooltip" }] : []));
|
|
23
|
+
/**
|
|
24
|
+
* Defines the accessible ARIA name of the component.
|
|
25
|
+
*/
|
|
26
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
|
|
27
|
+
/**
|
|
28
|
+
* Receives id(or many ids) of the elements that label the component.
|
|
29
|
+
*/
|
|
30
|
+
this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
|
|
31
|
+
/**
|
|
32
|
+
* Defines the accessible description of the component.
|
|
33
|
+
*/
|
|
34
|
+
this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : []));
|
|
35
|
+
/**
|
|
36
|
+
* Defines the IDs of the HTML Elements that describe the component.
|
|
37
|
+
*/
|
|
38
|
+
this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : []));
|
|
39
|
+
/**
|
|
40
|
+
* Defines the icon, displayed as graphical element within the component.
|
|
41
|
+
The SAP-icons font provides numerous options.
|
|
42
|
+
|
|
43
|
+
Example:
|
|
44
|
+
See all the available icons within the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
45
|
+
*/
|
|
46
|
+
this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : [])); // className is now passed
|
|
47
|
+
this.elementRef = inject(ElementRef);
|
|
48
|
+
this.injector = inject(Injector);
|
|
49
|
+
}
|
|
50
|
+
get element() {
|
|
51
|
+
return this.elementRef.nativeElement;
|
|
52
|
+
}
|
|
53
|
+
ngAfterViewInit() {
|
|
54
|
+
const wcElement = this.element;
|
|
55
|
+
const inputsToSync = [
|
|
56
|
+
'disabled',
|
|
57
|
+
'selected',
|
|
58
|
+
'tooltip',
|
|
59
|
+
'accessibleName',
|
|
60
|
+
'accessibleNameRef',
|
|
61
|
+
'accessibleDescription',
|
|
62
|
+
'accessibleDescriptionRef',
|
|
63
|
+
'icon',
|
|
64
|
+
];
|
|
65
|
+
// Synchronize inputs (properties)
|
|
66
|
+
for (const inputName of inputsToSync) {
|
|
67
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
68
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
69
|
+
// Use the Injector to run the effect in the correct context
|
|
70
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
71
|
+
runInInjectionContext(this.injector, () => {
|
|
72
|
+
effect(() => {
|
|
73
|
+
// Read the signal value
|
|
74
|
+
const value = this[signalName]();
|
|
75
|
+
if (wcElement) {
|
|
76
|
+
// Write the value to the Web Component's property
|
|
77
|
+
wcElement[inputName] = value;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SegmentedButtonItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
85
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: SegmentedButtonItem, isStandalone: true, selector: "ui5-segmented-button-item, [ui5-segmented-button-item]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: "accessibleDescription", publicName: "accessibleDescription", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: "accessibleDescriptionRef", publicName: "accessibleDescriptionRef", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5SegmentedButtonItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
86
|
+
}
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SegmentedButtonItem, decorators: [{
|
|
88
|
+
type: Component,
|
|
89
|
+
args: [{
|
|
90
|
+
standalone: true,
|
|
91
|
+
selector: 'ui5-segmented-button-item, [ui5-segmented-button-item]',
|
|
92
|
+
template: '<ng-content></ng-content>',
|
|
93
|
+
exportAs: 'ui5SegmentedButtonItem',
|
|
94
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
95
|
+
}]
|
|
96
|
+
}] });
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Generated bundle index. Do not edit.
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
export { SegmentedButtonItem };
|
|
103
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs","sources":["../tmp-esm2022/segmented-button-item/index.js","../tmp-esm2022/segmented-button-item/fundamental-ngx-ui5-webcomponents-segmented-button-item.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents/dist/SegmentedButtonItem.js';\nimport * as i0 from \"@angular/core\";\nexport class SegmentedButtonItem {\n constructor() {\n /**\n * Defines whether the component is disabled.\n A disabled component can't be selected or\n focused, and it is not in the tab chain.\n */\n this.disabled = input(false, ...(ngDevMode ? [{ debugName: \"disabled\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Determines whether the component is displayed as selected.\n */\n this.selected = input(false, ...(ngDevMode ? [{ debugName: \"selected\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines the tooltip of the component.\n \n **Note:** A tooltip attribute should be provided for icon-only buttons, in order to represent their exact meaning/function.\n */\n this.tooltip = input(...(ngDevMode ? [undefined, { debugName: \"tooltip\" }] : []));\n /**\n * Defines the accessible ARIA name of the component.\n */\n this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: \"accessibleName\" }] : []));\n /**\n * Receives id(or many ids) of the elements that label the component.\n */\n this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: \"accessibleNameRef\" }] : []));\n /**\n * Defines the accessible description of the component.\n */\n this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: \"accessibleDescription\" }] : []));\n /**\n * Defines the IDs of the HTML Elements that describe the component.\n */\n this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: \"accessibleDescriptionRef\" }] : []));\n /**\n * Defines the icon, displayed as graphical element within the component.\n The SAP-icons font provides numerous options.\n \n Example:\n See all the available icons within the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).\n */\n this.icon = input(...(ngDevMode ? [undefined, { debugName: \"icon\" }] : [])); // className is now passed\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'disabled',\n 'selected',\n 'tooltip',\n 'accessibleName',\n 'accessibleNameRef',\n 'accessibleDescription',\n 'accessibleDescriptionRef',\n 'icon',\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) => x[1].toUpperCase());\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 static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SegmentedButtonItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: SegmentedButtonItem, isStandalone: true, selector: \"ui5-segmented-button-item, [ui5-segmented-button-item]\", inputs: { disabled: { classPropertyName: \"disabled\", publicName: \"disabled\", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: \"selected\", publicName: \"selected\", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: \"tooltip\", publicName: \"tooltip\", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: \"accessibleName\", publicName: \"accessibleName\", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: \"accessibleNameRef\", publicName: \"accessibleNameRef\", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: \"accessibleDescription\", publicName: \"accessibleDescription\", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: \"accessibleDescriptionRef\", publicName: \"accessibleDescriptionRef\", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: \"icon\", publicName: \"icon\", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: [\"ui5SegmentedButtonItem\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SegmentedButtonItem, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-segmented-button-item, [ui5-segmented-button-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5SegmentedButtonItem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzL3NlZ21lbnRlZC1idXR0b24taXRlbS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsS0FBSyxFQUdMLE1BQU0sRUFDTixxQkFBcUIsRUFDckIsTUFBTSxFQUNOLFFBQVEsRUFDUixnQkFBZ0IsRUFHakIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxnREFBZ0QsQ0FBQzs7QUFjeEQsTUFBTSxPQUFPLG1CQUFtQjtJQVJoQztRQVVFOzs7O1dBSUc7UUFDSCxhQUFRLEdBQUcsS0FBSyxDQUFDLEtBQUssNENBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUM7UUFFekQ7O1dBRUc7UUFDSCxhQUFRLEdBQUcsS0FBSyxDQUFDLEtBQUssNENBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUM7UUFFekQ7Ozs7V0FJRztRQUNILFlBQU8sR0FBRyxLQUFLLDZEQUE2RCxDQUFDO1FBRTdFOztXQUVHO1FBQ0gsbUJB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1tzaWduYWxOYW1lXSA9PT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICBydW5JbkluamVjdGlvbkNvbnRleHQodGhpcy5pbmplY3RvciwgKCkgPT4ge1xuICAgICAgICAgIGVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAvLyBSZWFkIHRoZSBzaWduYWwgdmFsdWVcbiAgICAgICAgICAgIGNvbnN0IHZhbHVlID0gdGhpc1tzaWduYWxOYW1lXSgpO1xuICAgICAgICAgICAgaWYgKHdjRWxlbWVudCkge1xuICAgICAgICAgICAgICAvLyBXcml0ZSB0aGUgdmFsdWUgdG8gdGhlIFdlYiBDb21wb25lbnQncyBwcm9wZXJ0eVxuICAgICAgICAgICAgICB3Y0VsZW1lbnRbaW5wdXROYW1lXSA9IHZhbHVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuICAgIFxuICAgIFxuXG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLXNlZ21lbnRlZC1idXR0b24taXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvdWk1LXdlYmNvbXBvbmVudHMvc2VnbWVudGVkLWJ1dHRvbi1pdGVtL2Z1bmRhbWVudGFsLW5neC11aTUtd2ViY29tcG9uZW50cy1zZWdtZW50ZWQtYnV0dG9uLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cbl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,EAAE,wDAAwD;AACtF,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,wBAAwB;AACtD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC9Fb;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, computed, output, inject, ElementRef, Injector, signal, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents/dist/SegmentedButton.js';
|
|
4
|
+
|
|
5
|
+
class SegmentedButton {
|
|
6
|
+
constructor() {
|
|
7
|
+
/**
|
|
8
|
+
* Defines the accessible ARIA name of the component.
|
|
9
|
+
*/
|
|
10
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
|
|
11
|
+
/**
|
|
12
|
+
* Defines the IDs of the HTML Elements that label the component.
|
|
13
|
+
*/
|
|
14
|
+
this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
|
|
15
|
+
/**
|
|
16
|
+
* Defines the accessible description of the component.
|
|
17
|
+
*/
|
|
18
|
+
this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : []));
|
|
19
|
+
/**
|
|
20
|
+
* Defines the IDs of the HTML Elements that describe the component.
|
|
21
|
+
*/
|
|
22
|
+
this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : []));
|
|
23
|
+
/**
|
|
24
|
+
* Defines the component selection mode.
|
|
25
|
+
*/
|
|
26
|
+
this.selectionMode = input("Single", ...(ngDevMode ? [{ debugName: "selectionMode" }] : []));
|
|
27
|
+
/**
|
|
28
|
+
* Determines whether the segmented button items should be sized to fit their content.
|
|
29
|
+
|
|
30
|
+
If set to `true`, each item will be sized to fit its content, with any extra space distributed after the last item.
|
|
31
|
+
If set to `false` (the default), all items will be equally sized to fill the available space.
|
|
32
|
+
*/
|
|
33
|
+
this.itemsFitContent = input(false, ...(ngDevMode ? [{ debugName: "itemsFitContent", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
|
|
34
|
+
/**
|
|
35
|
+
* Returns an array of the currently selected items.
|
|
36
|
+
* @readonly This property is managed by the web component and updates reactively.
|
|
37
|
+
* Based on schema: readonly field that updates via selection-change event parameters.
|
|
38
|
+
*/
|
|
39
|
+
this.selectedItems = computed(() => this._selectedItemsSignal(), ...(ngDevMode ? [{ debugName: "selectedItems" }] : []));
|
|
40
|
+
/**
|
|
41
|
+
* Fired when the selected item changes.
|
|
42
|
+
*/
|
|
43
|
+
this.ui5SelectionChange = output();
|
|
44
|
+
this.elementRef = inject(ElementRef);
|
|
45
|
+
this.injector = inject(Injector);
|
|
46
|
+
// Internal signal to track selectedItems from selection-change events
|
|
47
|
+
this._selectedItemsSignal = signal([], ...(ngDevMode ? [{ debugName: "_selectedItemsSignal" }] : []));
|
|
48
|
+
}
|
|
49
|
+
get element() {
|
|
50
|
+
return this.elementRef.nativeElement;
|
|
51
|
+
}
|
|
52
|
+
ngAfterViewInit() {
|
|
53
|
+
const wcElement = this.element;
|
|
54
|
+
const inputsToSync = [
|
|
55
|
+
'accessibleName',
|
|
56
|
+
'accessibleNameRef',
|
|
57
|
+
'accessibleDescription',
|
|
58
|
+
'accessibleDescriptionRef',
|
|
59
|
+
'selectionMode',
|
|
60
|
+
'itemsFitContent',
|
|
61
|
+
];
|
|
62
|
+
// Synchronize inputs (properties)
|
|
63
|
+
for (const inputName of inputsToSync) {
|
|
64
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
65
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
66
|
+
// Use the Injector to run the effect in the correct context
|
|
67
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
68
|
+
runInInjectionContext(this.injector, () => {
|
|
69
|
+
effect(() => {
|
|
70
|
+
// Read the signal value
|
|
71
|
+
const value = this[signalName]();
|
|
72
|
+
if (wcElement) {
|
|
73
|
+
// Write the value to the Web Component's property
|
|
74
|
+
wcElement[inputName] = value;
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
const outputsToSync = [
|
|
81
|
+
'ui5SelectionChange',
|
|
82
|
+
];
|
|
83
|
+
// Synchronize outputs (events)
|
|
84
|
+
for (const outputName of outputsToSync) {
|
|
85
|
+
// Map Angular output name to UI5 web component event name
|
|
86
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
87
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
88
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
89
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
90
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
91
|
+
// Update selectedItems signal when selection-change event fires
|
|
92
|
+
if (eventName === 'selection-change') {
|
|
93
|
+
const customEvent = e;
|
|
94
|
+
// Use selectedItems from event detail, fallback to web component property
|
|
95
|
+
const selectedItemsValue = customEvent.detail?.selectedItems || wcElement.selectedItems || [];
|
|
96
|
+
this._selectedItemsSignal.set(selectedItemsValue);
|
|
97
|
+
}
|
|
98
|
+
this[outputName].emit(e);
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
// Initialize selectedItems signal with current state using delayed initialization
|
|
103
|
+
// to handle web component timing properly
|
|
104
|
+
const initializeSelectedItems = () => {
|
|
105
|
+
const currentValue = wcElement.selectedItems || [];
|
|
106
|
+
if (JSON.stringify(currentValue) !== JSON.stringify(this._selectedItemsSignal())) {
|
|
107
|
+
this._selectedItemsSignal.set(currentValue);
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
// Try immediate initialization
|
|
111
|
+
initializeSelectedItems();
|
|
112
|
+
// Fallback delayed initialization if web component needs more time
|
|
113
|
+
// Use requestAnimationFrame for zoneless compatibility
|
|
114
|
+
requestAnimationFrame(() => initializeSelectedItems());
|
|
115
|
+
}
|
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SegmentedButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
117
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: SegmentedButton, isStandalone: true, selector: "ui5-segmented-button, [ui5-segmented-button]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: "accessibleDescription", publicName: "accessibleDescription", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: "accessibleDescriptionRef", publicName: "accessibleDescriptionRef", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, itemsFitContent: { classPropertyName: "itemsFitContent", publicName: "itemsFitContent", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5SelectionChange: "ui5SelectionChange" }, exportAs: ["ui5SegmentedButton"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
118
|
+
}
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SegmentedButton, decorators: [{
|
|
120
|
+
type: Component,
|
|
121
|
+
args: [{
|
|
122
|
+
standalone: true,
|
|
123
|
+
selector: 'ui5-segmented-button, [ui5-segmented-button]',
|
|
124
|
+
template: '<ng-content></ng-content>',
|
|
125
|
+
exportAs: 'ui5SegmentedButton',
|
|
126
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
127
|
+
}]
|
|
128
|
+
}] });
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Generated bundle index. Do not edit.
|
|
132
|
+
*/
|
|
133
|
+
|
|
134
|
+
export { SegmentedButton };
|
|
135
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-segmented-button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-ui5-webcomponents-segmented-button.mjs","sources":["../tmp-esm2022/segmented-button/index.js","../tmp-esm2022/segmented-button/fundamental-ngx-ui5-webcomponents-segmented-button.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute, computed, signal } from '@angular/core';\nimport '@ui5/webcomponents/dist/SegmentedButton.js';\nimport * as i0 from \"@angular/core\";\nexport class SegmentedButton {\n constructor() {\n /**\n * Defines the accessible ARIA name of the component.\n */\n this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: \"accessibleName\" }] : []));\n /**\n * Defines the IDs of the HTML Elements that label the component.\n */\n this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: \"accessibleNameRef\" }] : []));\n /**\n * Defines the accessible description of the component.\n */\n this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: \"accessibleDescription\" }] : []));\n /**\n * Defines the IDs of the HTML Elements that describe the component.\n */\n this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: \"accessibleDescriptionRef\" }] : []));\n /**\n * Defines the component selection mode.\n */\n this.selectionMode = input(\"Single\", ...(ngDevMode ? [{ debugName: \"selectionMode\" }] : []));\n /**\n * Determines whether the segmented button items should be sized to fit their content.\n \n If set to `true`, each item will be sized to fit its content, with any extra space distributed after the last item.\n If set to `false` (the default), all items will be equally sized to fill the available space.\n */\n this.itemsFitContent = input(false, ...(ngDevMode ? [{ debugName: \"itemsFitContent\", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed\n /**\n * Returns an array of the currently selected items.\n * @readonly This property is managed by the web component and updates reactively.\n * Based on schema: readonly field that updates via selection-change event parameters.\n */\n this.selectedItems = computed(() => this._selectedItemsSignal(), ...(ngDevMode ? [{ debugName: \"selectedItems\" }] : []));\n /**\n * Fired when the selected item changes.\n */\n this.ui5SelectionChange = output();\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n // Internal signal to track selectedItems from selection-change events\n this._selectedItemsSignal = signal([], ...(ngDevMode ? [{ debugName: \"_selectedItemsSignal\" }] : []));\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'accessibleDescription',\n 'accessibleDescriptionRef',\n 'selectionMode',\n 'itemsFitContent',\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) => x[1].toUpperCase());\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 const outputsToSync = [\n 'ui5SelectionChange',\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 // Update selectedItems signal when selection-change event fires\n if (eventName === 'selection-change') {\n const customEvent = e;\n // Use selectedItems from event detail, fallback to web component property\n const selectedItemsValue = customEvent.detail?.selectedItems || wcElement.selectedItems || [];\n this._selectedItemsSignal.set(selectedItemsValue);\n }\n this[outputName].emit(e);\n });\n }\n }\n // Initialize selectedItems signal with current state using delayed initialization\n // to handle web component timing properly\n const initializeSelectedItems = () => {\n const currentValue = wcElement.selectedItems || [];\n if (JSON.stringify(currentValue) !== JSON.stringify(this._selectedItemsSignal())) {\n this._selectedItemsSignal.set(currentValue);\n }\n };\n // Try immediate initialization\n initializeSelectedItems();\n // Fallback delayed initialization if web component needs more time\n // Use requestAnimationFrame for zoneless compatibility\n requestAnimationFrame(() => initializeSelectedItems());\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SegmentedButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: SegmentedButton, isStandalone: true, selector: \"ui5-segmented-button, [ui5-segmented-button]\", inputs: { accessibleName: { classPropertyName: \"accessibleName\", publicName: \"accessibleName\", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: \"accessibleNameRef\", publicName: \"accessibleNameRef\", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: \"accessibleDescription\", publicName: \"accessibleDescription\", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: \"accessibleDescriptionRef\", publicName: \"accessibleDescriptionRef\", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: \"selectionMode\", publicName: \"selectionMode\", isSignal: true, isRequired: false, transformFunction: null }, itemsFitContent: { classPropertyName: \"itemsFitContent\", publicName: \"itemsFitContent\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5SelectionChange: \"ui5SelectionChange\" }, exportAs: [\"ui5SegmentedButton\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SegmentedButton, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-segmented-button, [ui5-segmented-button]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5SegmentedButton',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzL3NlZ21lbnRlZC1idXR0b24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBRU4sTUFBTSxFQUNOLHFCQUFxQixFQUNyQixNQUFNLEVBQ04sUUFBUSxFQUNSLGdCQUFnQixFQUNoQixRQUFRLEVBQ1IsTUFBTSxFQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sNENBQTRDLENBQUM7O0FBZXBELE1BQU0sT0FBTyxlQUFlO0lBUjVCO1FBVUU7O1dBRUc7UUFDSCxtQkFBYyxHQUFHLEtBQUssb0VBQWdFLENBQUM7UUFFdkY7O1dBRUc7UUFDSCxzQkFBaUIsR0FBRyxLQUFLLHVFQUFtRSxDQUFDO1FBRTdGOztXQUVHO1FBQ0gsMEJBQXFCLEdBQUcsS0FBSywyRUFBdUUsQ0FBQztRQUVyRzs7V0FFRztRQUNILDZCQUF3QixHQUFHLEtBQUssOEVBQTBFLENBQUM7UUFFM0c7O1dBRUc7UUFDSCxrQkFBYSxHQUFHLEtBQUssQ0FBOEQsUUFBUSx5REFBQyxDQUFDO1FBRTdGOzs7OztXQUtHO1FBQ0gsb0JBQWUsR0FBRyxLQUFLLENBQUMsS0FBS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xpemF0aW9uXG4gICAgLy8gdG8gaGFuZGxlIHdlYiBjb21wb25lbnQgdGltaW5nIHByb3Blcmx5XG4gICAgY29uc3QgaW5pdGlhbGl6ZVNlbGVjdGVkSXRlbXMgPSAoKTogdm9pZCA9PiB7XG4gICAgICBjb25zdCBjdXJyZW50VmFsdWUgPSB3Y0VsZW1lbnQuc2VsZWN0ZWRJdGVtcyB8fCBbXTtcbiAgICAgIGlmIChKU09OLnN0cmluZ2lmeShjdXJyZW50VmFsdWUpICE9PSBKU09OLnN0cmluZ2lmeSh0aGlzLl9zZWxlY3RlZEl0ZW1zU2lnbmFsKCkpKSB7XG4gICAgICAgIHRoaXMuX3NlbGVjdGVkSXRlbXNTaWduYWwuc2V0KGN1cnJlbnRWYWx1ZSk7XG4gICAgICB9XG4gICAgfTtcblxuICAgIC8vIFRyeSBpbW1lZGlhdGUgaW5pdGlhbGl6YXRpb25cbiAgICBpbml0aWFsaXplU2VsZWN0ZWRJdGVtcygpO1xuXG4gICAgLy8gRmFsbGJhY2sgZGVsYXllZCBpbml0aWFsaXphdGlvbiBpZiB3ZWIgY29tcG9uZW50IG5lZWRzIG1vcmUgdGltZVxuICAgIC8vIFVzZSByZXF1ZXN0QW5pbWF0aW9uRnJhbWUgZm9yIHpvbmVsZXNzIGNvbXBhdGliaWxpdHlcbiAgICByZXF1ZXN0QW5pbWF0aW9uRnJhbWUoKCkgPT4gaW5pdGlhbGl6ZVNlbGVjdGVkSXRlbXMoKSk7XG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLXNlZ21lbnRlZC1idXR0b24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzL3NlZ21lbnRlZC1id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AACzH,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,8CAA8C;AAC5E,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,oBAAoB;AAClD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC9Hb;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, computed, output, inject, ElementRef, Injector, signal, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import '@ui5/webcomponents/dist/Select.js';
|
|
4
|
+
import * as i1 from '@fundamental-ngx/ui5-webcomponents/utils';
|
|
5
|
+
import { GenericControlValueAccessor } from '@fundamental-ngx/ui5-webcomponents/utils';
|
|
6
|
+
|
|
7
|
+
class Select {
|
|
8
|
+
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* Defines whether the component is in disabled state.
|
|
11
|
+
|
|
12
|
+
**Note:** A disabled component is noninteractive.
|
|
13
|
+
*/
|
|
14
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
15
|
+
/**
|
|
16
|
+
* Determines the name by which the component will be identified upon submission in an HTML form.
|
|
17
|
+
|
|
18
|
+
**Note:** This property is only applicable within the context of an HTML Form element.
|
|
19
|
+
*/
|
|
20
|
+
this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
21
|
+
/**
|
|
22
|
+
* Defines the value state of the component.
|
|
23
|
+
*/
|
|
24
|
+
this.valueState = input("None", ...(ngDevMode ? [{ debugName: "valueState" }] : []));
|
|
25
|
+
/**
|
|
26
|
+
* Defines whether the component is required.
|
|
27
|
+
*/
|
|
28
|
+
this.required = input(false, ...(ngDevMode ? [{ debugName: "required", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
29
|
+
/**
|
|
30
|
+
* Defines whether the component is read-only.
|
|
31
|
+
|
|
32
|
+
**Note:** A read-only component is not editable,
|
|
33
|
+
but still provides visual feedback upon user interaction.
|
|
34
|
+
*/
|
|
35
|
+
this.readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
|
|
36
|
+
/**
|
|
37
|
+
* Defines the accessible ARIA name of the component.
|
|
38
|
+
*/
|
|
39
|
+
this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
|
|
40
|
+
/**
|
|
41
|
+
* Receives id(or many ids) of the elements that label the select.
|
|
42
|
+
*/
|
|
43
|
+
this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
|
|
44
|
+
/**
|
|
45
|
+
* Defines the accessible description of the component.
|
|
46
|
+
*/
|
|
47
|
+
this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : []));
|
|
48
|
+
/**
|
|
49
|
+
* Receives id(or many ids) of the elements that describe the select.
|
|
50
|
+
*/
|
|
51
|
+
this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : []));
|
|
52
|
+
/**
|
|
53
|
+
* Defines the tooltip of the select.
|
|
54
|
+
*/
|
|
55
|
+
this.tooltip = input(...(ngDevMode ? [undefined, { debugName: "tooltip" }] : []));
|
|
56
|
+
/**
|
|
57
|
+
* Defines the separator type for the two columns layout when Select is in read-only mode.
|
|
58
|
+
*/
|
|
59
|
+
this.textSeparator = input("Dash", ...(ngDevMode ? [{ debugName: "textSeparator" }] : []));
|
|
60
|
+
/**
|
|
61
|
+
* Defines the value of the component:
|
|
62
|
+
|
|
63
|
+
- when get - returns the value of the component or the value/text content of the selected option.
|
|
64
|
+
- when set - selects the option with matching `value` property or text content.
|
|
65
|
+
|
|
66
|
+
**Note:** Use either the Select's value or the Options' selected property.
|
|
67
|
+
Mixed usage could result in unexpected behavior.
|
|
68
|
+
|
|
69
|
+
**Note:** If the given value does not match any existing option,
|
|
70
|
+
no option will be selected and the Select component will be displayed as empty.
|
|
71
|
+
*/
|
|
72
|
+
this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : [])); // className is now passed
|
|
73
|
+
/**
|
|
74
|
+
* Currently selected `ui5-option` element.
|
|
75
|
+
* @readonly This property is managed by the web component and updates reactively.
|
|
76
|
+
* Based on schema: readonly field that updates via change event parameters.
|
|
77
|
+
*/
|
|
78
|
+
this.selectedOption = computed(() => this._selectedOptionSignal(), ...(ngDevMode ? [{ debugName: "selectedOption" }] : []));
|
|
79
|
+
/**
|
|
80
|
+
* Fired when the selected option changes.
|
|
81
|
+
*/
|
|
82
|
+
this.ui5Change = output();
|
|
83
|
+
/**
|
|
84
|
+
* Fired when the user navigates through the options, but the selection is not finalized,
|
|
85
|
+
or when pressing the ESC key to revert the current selection.
|
|
86
|
+
*/
|
|
87
|
+
this.ui5LiveChange = output();
|
|
88
|
+
/**
|
|
89
|
+
* Fired after the component's dropdown menu opens.
|
|
90
|
+
*/
|
|
91
|
+
this.ui5Open = output();
|
|
92
|
+
/**
|
|
93
|
+
* Fired after the component's dropdown menu closes.
|
|
94
|
+
*/
|
|
95
|
+
this.ui5Close = output();
|
|
96
|
+
this.elementRef = inject(ElementRef);
|
|
97
|
+
this.injector = inject(Injector);
|
|
98
|
+
// Internal signal to track selectedOption from change events
|
|
99
|
+
this._selectedOptionSignal = signal(undefined, ...(ngDevMode ? [{ debugName: "_selectedOptionSignal" }] : []));
|
|
100
|
+
}
|
|
101
|
+
get element() {
|
|
102
|
+
return this.elementRef.nativeElement;
|
|
103
|
+
}
|
|
104
|
+
ngAfterViewInit() {
|
|
105
|
+
const wcElement = this.element;
|
|
106
|
+
const inputsToSync = [
|
|
107
|
+
'disabled',
|
|
108
|
+
'name',
|
|
109
|
+
'valueState',
|
|
110
|
+
'required',
|
|
111
|
+
'readonly',
|
|
112
|
+
'accessibleName',
|
|
113
|
+
'accessibleNameRef',
|
|
114
|
+
'accessibleDescription',
|
|
115
|
+
'accessibleDescriptionRef',
|
|
116
|
+
'tooltip',
|
|
117
|
+
'textSeparator',
|
|
118
|
+
'value',
|
|
119
|
+
];
|
|
120
|
+
// Synchronize inputs (properties)
|
|
121
|
+
for (const inputName of inputsToSync) {
|
|
122
|
+
// Find the corresponding camelCase signal property on the Angular component
|
|
123
|
+
const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
|
|
124
|
+
// Use the Injector to run the effect in the correct context
|
|
125
|
+
if (this[signalName] && typeof this[signalName] === 'function') {
|
|
126
|
+
runInInjectionContext(this.injector, () => {
|
|
127
|
+
effect(() => {
|
|
128
|
+
// Read the signal value
|
|
129
|
+
const value = this[signalName]();
|
|
130
|
+
if (wcElement) {
|
|
131
|
+
// Write the value to the Web Component's property
|
|
132
|
+
wcElement[inputName] = value;
|
|
133
|
+
}
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const outputsToSync = [
|
|
139
|
+
'ui5Change',
|
|
140
|
+
'ui5LiveChange',
|
|
141
|
+
'ui5Open',
|
|
142
|
+
'ui5Close',
|
|
143
|
+
];
|
|
144
|
+
// Synchronize outputs (events)
|
|
145
|
+
for (const outputName of outputsToSync) {
|
|
146
|
+
// Map Angular output name to UI5 web component event name
|
|
147
|
+
const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
|
|
148
|
+
// Ensure the output property exists and has an emit function before adding listener
|
|
149
|
+
if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
|
|
150
|
+
// Cast the listener to the correct type to satisfy TypeScript
|
|
151
|
+
wcElement.addEventListener(eventName, (e) => {
|
|
152
|
+
// Update selectedOption signal when change event fires
|
|
153
|
+
if (eventName === 'change') {
|
|
154
|
+
const customEvent = e;
|
|
155
|
+
// Use selectedOption from event detail, fallback to web component property
|
|
156
|
+
const selectedOptionValue = customEvent.detail?.selectedOption || wcElement.selectedOption || undefined;
|
|
157
|
+
this._selectedOptionSignal.set(selectedOptionValue);
|
|
158
|
+
}
|
|
159
|
+
// Update selectedOption signal when live-change event fires
|
|
160
|
+
if (eventName === 'live-change') {
|
|
161
|
+
const customEvent = e;
|
|
162
|
+
// Use selectedOption from event detail, fallback to web component property
|
|
163
|
+
const selectedOptionValue = customEvent.detail?.selectedOption || wcElement.selectedOption || undefined;
|
|
164
|
+
this._selectedOptionSignal.set(selectedOptionValue);
|
|
165
|
+
}
|
|
166
|
+
this[outputName].emit(e);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
// Initialize selectedOption signal with current state using delayed initialization
|
|
171
|
+
// to handle web component timing properly
|
|
172
|
+
const initializeSelectedOption = () => {
|
|
173
|
+
const currentValue = wcElement.selectedOption || undefined;
|
|
174
|
+
if (JSON.stringify(currentValue) !== JSON.stringify(this._selectedOptionSignal())) {
|
|
175
|
+
this._selectedOptionSignal.set(currentValue);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
// Try immediate initialization
|
|
179
|
+
initializeSelectedOption();
|
|
180
|
+
// Fallback delayed initialization if web component needs more time
|
|
181
|
+
// Use requestAnimationFrame for zoneless compatibility
|
|
182
|
+
requestAnimationFrame(() => initializeSelectedOption());
|
|
183
|
+
}
|
|
184
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Select, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
185
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: Select, isStandalone: true, selector: "ui5-select, [ui5-select]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, valueState: { classPropertyName: "valueState", publicName: "valueState", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: "accessibleDescription", publicName: "accessibleDescription", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: "accessibleDescriptionRef", publicName: "accessibleDescriptionRef", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, textSeparator: { classPropertyName: "textSeparator", publicName: "textSeparator", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change", ui5LiveChange: "ui5LiveChange", ui5Open: "ui5Open", ui5Close: "ui5Close" }, exportAs: ["ui5Select"], hostDirectives: [{ directive: i1.GenericControlValueAccessor }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
186
|
+
}
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Select, decorators: [{
|
|
188
|
+
type: Component,
|
|
189
|
+
args: [{
|
|
190
|
+
standalone: true,
|
|
191
|
+
selector: 'ui5-select, [ui5-select]',
|
|
192
|
+
template: '<ng-content></ng-content>',
|
|
193
|
+
exportAs: 'ui5Select',
|
|
194
|
+
hostDirectives: [GenericControlValueAccessor],
|
|
195
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
196
|
+
}]
|
|
197
|
+
}] });
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Generated bundle index. Do not edit.
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
export { Select };
|
|
204
|
+
//# sourceMappingURL=fundamental-ngx-ui5-webcomponents-select.mjs.map
|