@siemens/element-ng 47.2.0 → 47.4.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/README.md +18 -6
- package/autocomplete/index.d.ts +8 -0
- package/autocomplete/package.json +3 -0
- package/autocomplete/si-autocomplete-listbox.directive.d.ts +31 -0
- package/autocomplete/si-autocomplete-option.directive.d.ts +31 -0
- package/autocomplete/si-autocomplete.directive.d.ts +14 -0
- package/autocomplete/si-autocomplete.model.d.ts +7 -0
- package/autocomplete/si-autocomplete.module.d.ts +9 -0
- package/badge/index.d.ts +5 -0
- package/badge/package.json +3 -0
- package/badge/si-badge.component.d.ts +17 -0
- package/breadcrumb/breadcrumb-item.model.d.ts +36 -0
- package/breadcrumb/index.d.ts +7 -0
- package/breadcrumb/package.json +3 -0
- package/breadcrumb/si-breadcrumb-item-template.directive.d.ts +10 -0
- package/breadcrumb/si-breadcrumb.component.d.ts +46 -0
- package/breadcrumb/si-breadcrumb.module.d.ts +7 -0
- package/card/index.d.ts +6 -0
- package/card/package.json +3 -0
- package/card/si-card.component.d.ts +79 -0
- package/card/si-card.module.d.ts +7 -0
- package/circle-status/index.d.ts +6 -0
- package/circle-status/package.json +3 -0
- package/circle-status/si-circle-status.component.d.ts +66 -0
- package/circle-status/si-circle-status.module.d.ts +7 -0
- package/column-selection-dialog/column-selection-editor/si-column-selection-editor.component.d.ts +23 -0
- package/column-selection-dialog/index.d.ts +6 -0
- package/column-selection-dialog/package.json +3 -0
- package/column-selection-dialog/si-column-selection-dialog.component.d.ts +114 -0
- package/column-selection-dialog/si-column-selection-dialog.service.d.ts +20 -0
- package/column-selection-dialog/si-column-selection-dialog.types.d.ts +68 -0
- package/common/models/status-type.model.d.ts +2 -2
- package/content-action-bar/index.d.ts +7 -0
- package/content-action-bar/package.json +3 -0
- package/content-action-bar/si-content-action-bar-toggle.component.d.ts +6 -0
- package/content-action-bar/si-content-action-bar.component.d.ts +72 -0
- package/content-action-bar/si-content-action-bar.model.d.ts +9 -0
- package/content-action-bar/si-content-action-bar.module.d.ts +7 -0
- package/date-range-filter/index.d.ts +8 -0
- package/date-range-filter/package.json +3 -0
- package/date-range-filter/si-date-range-calculation.service.d.ts +33 -0
- package/date-range-filter/si-date-range-filter.component.d.ts +248 -0
- package/date-range-filter/si-date-range-filter.module.d.ts +7 -0
- package/date-range-filter/si-date-range-filter.types.d.ts +40 -0
- package/date-range-filter/si-relative-date.component.d.ts +31 -0
- package/datepicker/components/si-calendar-body.component.d.ts +137 -0
- package/datepicker/components/si-calendar-date-cell.directive.d.ts +16 -0
- package/datepicker/components/si-calendar-direction-button.component.d.ts +18 -0
- package/datepicker/components/si-compare-adapter.d.ts +37 -0
- package/datepicker/components/si-day-selection.component.d.ts +76 -0
- package/datepicker/components/si-initial-focus.component.d.ts +74 -0
- package/datepicker/components/si-month-selection.component.d.ts +62 -0
- package/datepicker/components/si-year-selection.component.d.ts +65 -0
- package/datepicker/date-time-helper.d.ts +302 -0
- package/datepicker/index.d.ts +15 -0
- package/datepicker/package.json +3 -0
- package/datepicker/si-calendar-button.component.d.ts +49 -0
- package/datepicker/si-date-input.directive.d.ts +114 -0
- package/datepicker/si-date-range.component.d.ts +150 -0
- package/datepicker/si-datepicker-overlay.component.d.ts +82 -0
- package/datepicker/si-datepicker-overlay.directive.d.ts +104 -0
- package/datepicker/si-datepicker.component.d.ts +228 -0
- package/datepicker/si-datepicker.directive.d.ts +62 -0
- package/datepicker/si-datepicker.model.d.ts +129 -0
- package/datepicker/si-datepicker.module.d.ts +12 -0
- package/datepicker/si-timepicker.component.d.ts +214 -0
- package/electron-titlebar/electron.helpers.d.ts +5 -0
- package/electron-titlebar/index.d.ts +7 -0
- package/electron-titlebar/package.json +3 -0
- package/electron-titlebar/si-electron-titlebar.component.d.ts +72 -0
- package/electron-titlebar/si-electron-titlebar.module.d.ts +7 -0
- package/fesm2022/siemens-element-ng-application-header.mjs +2 -2
- package/fesm2022/siemens-element-ng-application-header.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-autocomplete.mjs +235 -0
- package/fesm2022/siemens-element-ng-autocomplete.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-badge.mjs +59 -0
- package/fesm2022/siemens-element-ng-badge.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-breadcrumb.mjs +302 -0
- package/fesm2022/siemens-element-ng-breadcrumb.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-card.mjs +122 -0
- package/fesm2022/siemens-element-ng-card.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-circle-status.mjs +146 -0
- package/fesm2022/siemens-element-ng-circle-status.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-column-selection-dialog.mjs +369 -0
- package/fesm2022/siemens-element-ng-column-selection-dialog.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-common.mjs +1 -1
- package/fesm2022/siemens-element-ng-common.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-content-action-bar.mjs +200 -0
- package/fesm2022/siemens-element-ng-content-action-bar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-date-range-filter.mjs +649 -0
- package/fesm2022/siemens-element-ng-date-range-filter.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-datepicker.mjs +4231 -0
- package/fesm2022/siemens-element-ng-datepicker.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-electron-titlebar.mjs +142 -0
- package/fesm2022/siemens-element-ng-electron-titlebar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-file-uploader.mjs +751 -0
- package/fesm2022/siemens-element-ng-file-uploader.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-filter-bar.mjs +153 -0
- package/fesm2022/siemens-element-ng-filter-bar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-form.mjs +827 -0
- package/fesm2022/siemens-element-ng-form.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-icon-status.mjs +65 -0
- package/fesm2022/siemens-element-ng-icon-status.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-icon.mjs +22 -2
- package/fesm2022/siemens-element-ng-icon.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-info-page.mjs +63 -0
- package/fesm2022/siemens-element-ng-info-page.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-inline-notification.mjs +4 -6
- package/fesm2022/siemens-element-ng-inline-notification.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-ip-input.mjs +451 -0
- package/fesm2022/siemens-element-ng-ip-input.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-language-switcher.mjs +90 -0
- package/fesm2022/siemens-element-ng-language-switcher.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-localization.mjs +306 -0
- package/fesm2022/siemens-element-ng-localization.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-number-input.mjs +267 -0
- package/fesm2022/siemens-element-ng-number-input.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-password-strength.mjs +177 -0
- package/fesm2022/siemens-element-ng-password-strength.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-photo-upload.mjs +480 -0
- package/fesm2022/siemens-element-ng-photo-upload.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-pills-input.mjs +397 -0
- package/fesm2022/siemens-element-ng-pills-input.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-popover-next.mjs +259 -0
- package/fesm2022/siemens-element-ng-popover-next.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-popover.mjs +256 -0
- package/fesm2022/siemens-element-ng-popover.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-progressbar.mjs +83 -0
- package/fesm2022/siemens-element-ng-progressbar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-search-bar.mjs +193 -0
- package/fesm2022/siemens-element-ng-search-bar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-select.mjs +1166 -0
- package/fesm2022/siemens-element-ng-select.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-skip-links.mjs +117 -0
- package/fesm2022/siemens-element-ng-skip-links.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-slider.mjs +313 -0
- package/fesm2022/siemens-element-ng-slider.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-sort-bar.mjs +89 -0
- package/fesm2022/siemens-element-ng-sort-bar.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-split.mjs +575 -0
- package/fesm2022/siemens-element-ng-split.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-status-toggle.mjs +196 -0
- package/fesm2022/siemens-element-ng-status-toggle.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-summary-widget.mjs +77 -0
- package/fesm2022/siemens-element-ng-summary-widget.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-system-banner.mjs +47 -0
- package/fesm2022/siemens-element-ng-system-banner.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-tabs.mjs +395 -0
- package/fesm2022/siemens-element-ng-tabs.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-toast-notification.mjs +227 -0
- package/fesm2022/siemens-element-ng-toast-notification.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-translate.mjs.map +1 -1
- package/fesm2022/siemens-element-ng-typeahead.mjs +746 -0
- package/fesm2022/siemens-element-ng-typeahead.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-unauthorized-page.mjs +76 -0
- package/fesm2022/siemens-element-ng-unauthorized-page.mjs.map +1 -0
- package/fesm2022/siemens-element-ng-wizard.mjs +465 -0
- package/fesm2022/siemens-element-ng-wizard.mjs.map +1 -0
- package/file-uploader/index.d.ts +8 -0
- package/file-uploader/package.json +3 -0
- package/file-uploader/si-file-dropzone.component.d.ts +106 -0
- package/file-uploader/si-file-uploader.component.d.ts +296 -0
- package/file-uploader/si-file-uploader.model.d.ts +12 -0
- package/file-uploader/si-file-uploader.module.d.ts +8 -0
- package/filter-bar/filter.d.ts +26 -0
- package/filter-bar/index.d.ts +8 -0
- package/filter-bar/package.json +3 -0
- package/filter-bar/si-filter-bar.component.d.ts +65 -0
- package/filter-bar/si-filter-bar.module.d.ts +7 -0
- package/filter-bar/si-filter-pill.component.d.ts +20 -0
- package/form/form-fieldset/si-form-fieldset.component.d.ts +40 -0
- package/form/index.d.ts +14 -0
- package/form/package.json +3 -0
- package/form/si-form-container/si-form-container.component.d.ts +155 -0
- package/form/si-form-item/si-form-field-native.control.d.ts +22 -0
- package/form/si-form-item/si-form-item.component.d.ts +90 -0
- package/form/si-form-item-control-input.directive.d.ts +18 -0
- package/form/si-form-item.control.d.ts +35 -0
- package/form/si-form-validation-error.model.d.ts +55 -0
- package/form/si-form-validation-error.provider.d.ts +11 -0
- package/form/si-form-validation-error.service.d.ts +42 -0
- package/form/si-form-validation-tooltip/si-form-validation-tooltip.component.d.ts +13 -0
- package/form/si-form-validation-tooltip/si-form-validation-tooltip.directive.d.ts +42 -0
- package/form/si-form.module.d.ts +25 -0
- package/icon/element-icons.d.ts +20 -0
- package/icon-status/index.d.ts +6 -0
- package/icon-status/package.json +3 -0
- package/icon-status/si-icon-status.component.d.ts +24 -0
- package/icon-status/si-icon-status.module.d.ts +7 -0
- package/info-page/index.d.ts +5 -0
- package/info-page/package.json +3 -0
- package/info-page/si-info-page.component.d.ts +38 -0
- package/inline-notification/si-inline-notification.component.d.ts +0 -2
- package/ip-input/address-utils.d.ts +28 -0
- package/ip-input/address-validators.d.ts +21 -0
- package/ip-input/index.d.ts +7 -0
- package/ip-input/package.json +3 -0
- package/ip-input/si-ip-input.directive.d.ts +53 -0
- package/ip-input/si-ip4-input.directive.d.ts +9 -0
- package/ip-input/si-ip6-input.directive.d.ts +10 -0
- package/language-switcher/index.d.ts +7 -0
- package/language-switcher/iso-language-value.d.ts +14 -0
- package/language-switcher/package.json +3 -0
- package/language-switcher/si-language-switcher.component.d.ts +32 -0
- package/language-switcher/si-language-switcher.module.d.ts +7 -0
- package/localization/index.d.ts +8 -0
- package/localization/package.json +3 -0
- package/localization/si-directionality.d.ts +41 -0
- package/localization/si-locale-id.d.ts +22 -0
- package/localization/si-locale-store.d.ts +16 -0
- package/localization/si-locale.service.d.ts +73 -0
- package/number-input/index.d.ts +6 -0
- package/number-input/package.json +3 -0
- package/number-input/si-number-input.component.d.ts +106 -0
- package/number-input/si-number-input.module.d.ts +7 -0
- package/package.json +163 -3
- package/password-strength/index.d.ts +7 -0
- package/password-strength/package.json +3 -0
- package/password-strength/si-password-strength.component.d.ts +25 -0
- package/password-strength/si-password-strength.directive.d.ts +54 -0
- package/password-strength/si-password-strength.module.d.ts +8 -0
- package/photo-upload/index.d.ts +6 -0
- package/photo-upload/package.json +3 -0
- package/photo-upload/si-image-cropper-style.component.d.ts +5 -0
- package/photo-upload/si-photo-upload.component.d.ts +298 -0
- package/pills-input/index.d.ts +9 -0
- package/pills-input/package.json +3 -0
- package/pills-input/si-input-pill.component.d.ts +9 -0
- package/pills-input/si-pills-input-csv.directive.d.ts +8 -0
- package/pills-input/si-pills-input-email.directive.d.ts +10 -0
- package/pills-input/si-pills-input-pattern-base.d.ts +19 -0
- package/pills-input/si-pills-input-value-handler.d.ts +12 -0
- package/pills-input/si-pills-input.component.d.ts +87 -0
- package/pills-input/si-pills-input.module.d.ts +9 -0
- package/popover/index.d.ts +6 -0
- package/popover/package.json +3 -0
- package/popover/si-popover.component.d.ts +26 -0
- package/popover/si-popover.directive.d.ts +89 -0
- package/popover/si-popover.module.d.ts +7 -0
- package/popover-next/index.d.ts +7 -0
- package/popover-next/package.json +3 -0
- package/popover-next/si-popover-description.directive.d.ts +7 -0
- package/popover-next/si-popover-next.directive.d.ts +61 -0
- package/popover-next/si-popover-title.directive.d.ts +7 -0
- package/popover-next/si-popover.component.d.ts +27 -0
- package/progressbar/index.d.ts +6 -0
- package/progressbar/package.json +3 -0
- package/progressbar/si-progressbar.component.d.ts +43 -0
- package/progressbar/si-progressbar.module.d.ts +7 -0
- package/search-bar/index.d.ts +6 -0
- package/search-bar/package.json +3 -0
- package/search-bar/si-search-bar.component.d.ts +87 -0
- package/search-bar/si-search-bar.module.d.ts +7 -0
- package/select/index.d.ts +18 -0
- package/select/options/si-select-complex-options.directive.d.ts +69 -0
- package/select/options/si-select-lazy-options.directive.d.ts +38 -0
- package/select/options/si-select-option.source.d.ts +49 -0
- package/select/options/si-select-options-strategy.base.d.ts +35 -0
- package/select/options/si-select-options-strategy.d.ts +37 -0
- package/select/options/si-select-simple-options.directive.d.ts +34 -0
- package/select/package.json +3 -0
- package/select/select-input/si-select-input.component.d.ts +43 -0
- package/select/select-list/si-select-list-has-filter.component.d.ts +20 -0
- package/select/select-list/si-select-list.base.d.ts +37 -0
- package/select/select-list/si-select-list.component.d.ts +15 -0
- package/select/select-option/si-select-option-row.component.d.ts +16 -0
- package/select/select-option/si-select-option.component.d.ts +9 -0
- package/select/selection/si-select-multi-value.directive.d.ts +26 -0
- package/select/selection/si-select-selection-strategy.d.ts +58 -0
- package/select/selection/si-select-single-value.directive.d.ts +26 -0
- package/select/si-select-action.directive.d.ts +12 -0
- package/select/si-select-actions.directive.d.ts +5 -0
- package/select/si-select-group-template.directive.d.ts +20 -0
- package/select/si-select-option-row-template.directive.d.ts +9 -0
- package/select/si-select-option-template.directive.d.ts +21 -0
- package/select/si-select.component.d.ts +96 -0
- package/select/si-select.module.d.ts +15 -0
- package/select/si-select.types.d.ts +65 -0
- package/skip-links/index.d.ts +5 -0
- package/skip-links/package.json +3 -0
- package/skip-links/si-skip-link-target.directive.d.ts +27 -0
- package/skip-links/si-skip-links.component.d.ts +9 -0
- package/skip-links/skip-link.service.d.ts +14 -0
- package/slider/index.d.ts +6 -0
- package/slider/package.json +3 -0
- package/slider/si-slider.component.d.ts +129 -0
- package/slider/si-slider.module.d.ts +7 -0
- package/sort-bar/index.d.ts +6 -0
- package/sort-bar/package.json +3 -0
- package/sort-bar/si-sort-bar.component.d.ts +42 -0
- package/sort-bar/si-sort-bar.module.d.ts +7 -0
- package/split/index.d.ts +8 -0
- package/split/package.json +3 -0
- package/split/si-split-part.component.d.ts +154 -0
- package/split/si-split.component.d.ts +48 -0
- package/split/si-split.interfaces.d.ts +17 -0
- package/split/si-split.module.d.ts +8 -0
- package/status-toggle/index.d.ts +6 -0
- package/status-toggle/package.json +3 -0
- package/status-toggle/si-status-toggle.component.d.ts +54 -0
- package/status-toggle/status-toggle.model.d.ts +26 -0
- package/summary-widget/index.d.ts +5 -0
- package/summary-widget/package.json +3 -0
- package/summary-widget/si-summary-widget.component.d.ts +44 -0
- package/system-banner/index.d.ts +5 -0
- package/system-banner/package.json +3 -0
- package/system-banner/system-banner.component.d.ts +23 -0
- package/tabs/index.d.ts +7 -0
- package/tabs/package.json +3 -0
- package/tabs/si-tab/index.d.ts +5 -0
- package/tabs/si-tab/si-tab.component.d.ts +58 -0
- package/tabs/si-tabs.module.d.ts +8 -0
- package/tabs/si-tabset/index.d.ts +5 -0
- package/tabs/si-tabset/si-tabset.component.d.ts +100 -0
- package/template-i18n.json +111 -1
- package/toast-notification/index.d.ts +6 -0
- package/toast-notification/package.json +3 -0
- package/toast-notification/si-toast-notification/si-toast-notification.component.d.ts +17 -0
- package/toast-notification/si-toast-notification-drawer/si-toast-notification-drawer.component.d.ts +9 -0
- package/toast-notification/si-toast-notification.service.d.ts +41 -0
- package/toast-notification/si-toast.model.d.ts +25 -0
- package/translate/si-translatable-keys.interface.d.ts +110 -0
- package/typeahead/index.d.ts +8 -0
- package/typeahead/package.json +3 -0
- package/typeahead/si-typeahead-item-template.directive.d.ts +7 -0
- package/typeahead/si-typeahead.component.d.ts +22 -0
- package/typeahead/si-typeahead.directive.d.ts +196 -0
- package/typeahead/si-typeahead.model.d.ts +60 -0
- package/typeahead/si-typeahead.module.d.ts +8 -0
- package/typeahead/si-typeahead.sorting.d.ts +10 -0
- package/unauthorized-page/index.d.ts +6 -0
- package/unauthorized-page/package.json +3 -0
- package/unauthorized-page/si-unauthorized-page.component.d.ts +35 -0
- package/unauthorized-page/si-unauthorized-page.module.d.ts +7 -0
- package/wizard/index.d.ts +7 -0
- package/wizard/package.json +3 -0
- package/wizard/si-wizard-step.component.d.ts +21 -0
- package/wizard/si-wizard.component.d.ts +196 -0
- package/wizard/si-wizard.module.d.ts +8 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Link } from '@siemens/element-ng/link';
|
|
2
|
+
import { TranslatableString } from '@siemens/element-translate-ng/translate';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* The component displays application info messages. A message uses an icon and a title, optionally a copy text,
|
|
6
|
+
* instructions and a link. Replace the integrated icon by content projection of another icon or image with the
|
|
7
|
+
* CSS class `.si-info-image`. Use content projection with the CSS class `si-info-actions` to inject more buttons
|
|
8
|
+
* and options to interact with the page.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SiInfoPageComponent {
|
|
11
|
+
/**
|
|
12
|
+
* The element warning icon.
|
|
13
|
+
*
|
|
14
|
+
* @defaultValue 'element-warning-filled'
|
|
15
|
+
*/
|
|
16
|
+
readonly icon: import("@angular/core").InputSignal<string>;
|
|
17
|
+
/**
|
|
18
|
+
* Icon color class, see {@link https://element.siemens.io/fundamentals/typography/#color-variants-classes}
|
|
19
|
+
*
|
|
20
|
+
* @defaultValue 'status-warning'
|
|
21
|
+
*/
|
|
22
|
+
readonly iconColor: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
+
/** A short and concise title to explain the error. */
|
|
24
|
+
readonly titleText: import("@angular/core").InputSignal<TranslatableString>;
|
|
25
|
+
/** A more detailed explanation of the error, outlining the reasoning for it and how a user can resolve it. */
|
|
26
|
+
readonly copyText: import("@angular/core").InputSignal<TranslatableString | undefined>;
|
|
27
|
+
/** A detailed instruction on how a user can resolve the error. */
|
|
28
|
+
readonly instructions: import("@angular/core").InputSignal<TranslatableString | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* Use the link object if you have one option to follow. A link object
|
|
31
|
+
* has a title to be displayed and can be configured with an external link,
|
|
32
|
+
* a router link, or a custom action. If you want to provide multiple options,
|
|
33
|
+
* add your own content into the component.
|
|
34
|
+
*/
|
|
35
|
+
readonly link: import("@angular/core").InputSignal<Link | undefined>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiInfoPageComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiInfoPageComponent, "si-info-page", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "titleText": { "alias": "titleText"; "required": true; "isSignal": true; }; "copyText": { "alias": "copyText"; "required": false; "isSignal": true; }; "instructions": { "alias": "instructions"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; }, {}, never, [".si-info-image", ".si-info-actions"], true, never>;
|
|
38
|
+
}
|
|
@@ -2,7 +2,6 @@ import { StatusType } from '@siemens/element-ng/common';
|
|
|
2
2
|
import { Link } from '@siemens/element-ng/link';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SiInlineNotificationComponent {
|
|
5
|
-
private readonly statusIcons;
|
|
6
5
|
/**
|
|
7
6
|
* Status of inline notification.
|
|
8
7
|
*/
|
|
@@ -36,7 +35,6 @@ export declare class SiInlineNotificationComponent {
|
|
|
36
35
|
* @defaultValue false
|
|
37
36
|
*/
|
|
38
37
|
readonly embedded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
39
|
-
protected readonly icon: import("@angular/core").Signal<import("@siemens/element-ng/common").StatusIcon>;
|
|
40
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<SiInlineNotificationComponent, never>;
|
|
41
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<SiInlineNotificationComponent, "si-inline-notification", never, { "severity": { "alias": "severity"; "required": true; "isSignal": true; }; "heading": { "alias": "heading"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "action": { "alias": "action"; "required": false; "isSignal": true; }; "translationParams": { "alias": "translationParams"; "required": false; "isSignal": true; }; "embedded": { "alias": "embedded"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
40
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
export interface Section {
|
|
6
|
+
value: string;
|
|
7
|
+
current?: boolean;
|
|
8
|
+
/** Indicate this is a network mask. */
|
|
9
|
+
mask?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface Ip4SplitOptions {
|
|
12
|
+
type?: 'insert' | 'delete' | 'paste';
|
|
13
|
+
input?: string | null;
|
|
14
|
+
pos?: number;
|
|
15
|
+
cidr?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface Ip6SplitOptions {
|
|
18
|
+
type?: 'insert' | 'delete' | 'paste';
|
|
19
|
+
input?: string | null;
|
|
20
|
+
pos?: number;
|
|
21
|
+
zeroCompression?: boolean;
|
|
22
|
+
cidr?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Parse IPv4 input string into IPv4 address section array.
|
|
26
|
+
*/
|
|
27
|
+
export declare const splitIpV4Sections: (options: Ip4SplitOptions) => Section[];
|
|
28
|
+
export declare const splitIpV6Sections: (options: Ip6SplitOptions) => Section[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import { ValidatorFn } from '@angular/forms';
|
|
6
|
+
/**
|
|
7
|
+
* Validator factory for a IPV6 address.
|
|
8
|
+
|
|
9
|
+
*/
|
|
10
|
+
export declare const ipV6Validator: (options: {
|
|
11
|
+
zeroCompression?: boolean;
|
|
12
|
+
cidr?: boolean;
|
|
13
|
+
}) => ValidatorFn;
|
|
14
|
+
/**
|
|
15
|
+
* Validates a IPV4 address.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ipV4Validator: ValidatorFn;
|
|
18
|
+
/**
|
|
19
|
+
* Validates a IPV4 address including CIDR.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ipV4CIDRValidator: ValidatorFn;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface AddrInputEvent {
|
|
8
|
+
type?: 'insert' | 'delete' | 'paste';
|
|
9
|
+
pos: number;
|
|
10
|
+
change: string | null;
|
|
11
|
+
value?: string | null;
|
|
12
|
+
previous?: string | null;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Base directive for ip address input fields.
|
|
16
|
+
*/
|
|
17
|
+
export declare abstract class SiIpInputDirective {
|
|
18
|
+
private static idCounter;
|
|
19
|
+
protected readonly elementRef: ElementRef<any>;
|
|
20
|
+
protected readonly renderer: Renderer2;
|
|
21
|
+
protected readonly inputEl: any;
|
|
22
|
+
/**
|
|
23
|
+
* @defaultValue
|
|
24
|
+
* ```
|
|
25
|
+
* `si-ip-input-${SiIpInputDirective.idCounter++}`
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
readonly id: import("@angular/core").InputSignal<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Enable CIDR (Classless Inter-Domain Routing) notation.
|
|
31
|
+
* @defaultValue false
|
|
32
|
+
*/
|
|
33
|
+
readonly cidr: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the ip address input is disabled.
|
|
36
|
+
* @defaultValue false
|
|
37
|
+
*/
|
|
38
|
+
readonly disabledInput: import("@angular/core").InputSignal<boolean>;
|
|
39
|
+
private readonly disabledNgControl;
|
|
40
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
41
|
+
protected onTouched: () => void;
|
|
42
|
+
protected onChange: (value: any) => void;
|
|
43
|
+
protected value?: string | null;
|
|
44
|
+
registerOnChange(fn: any): void;
|
|
45
|
+
registerOnTouched(fn: () => void): void;
|
|
46
|
+
setDisabledState(isDisabled: boolean): void;
|
|
47
|
+
writeValue(value?: string | null): void;
|
|
48
|
+
protected onInput(e: InputEvent): void;
|
|
49
|
+
protected blur(): void;
|
|
50
|
+
abstract maskInput(e: AddrInputEvent): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiIpInputDirective, never>;
|
|
52
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiIpInputDirective, never, never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "cidr": { "alias": "cidr"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
2
|
+
import { AddrInputEvent, SiIpInputDirective } from './si-ip-input.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SiIp4InputDirective extends SiIpInputDirective implements ControlValueAccessor, Validator {
|
|
5
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
6
|
+
maskInput(e: AddrInputEvent): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiIp4InputDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiIp4InputDirective, "input[siIpV4]", ["siIpV4"], {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms';
|
|
2
|
+
import { AddrInputEvent, SiIpInputDirective } from './si-ip-input.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SiIp6InputDirective extends SiIpInputDirective implements ControlValueAccessor, Validator {
|
|
5
|
+
readonly validatorFn: import("@angular/core").Signal<import("@angular/forms").ValidatorFn>;
|
|
6
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
7
|
+
maskInput(e: AddrInputEvent): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiIp6InputDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SiIp6InputDirective, "input[siIpV6]", ["siIpV6"], {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
export interface IsoLanguageValue {
|
|
6
|
+
/**
|
|
7
|
+
* Official ISO language code, ex "en"
|
|
8
|
+
*/
|
|
9
|
+
value: string;
|
|
10
|
+
/**
|
|
11
|
+
* Language name, ex "English" or translatable string, ex "LANGUAGES.EN"
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { SiTranslateService } from '@siemens/element-translate-ng/translate';
|
|
2
|
+
import { IsoLanguageValue } from './iso-language-value';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SiLanguageSwitcherComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Key for translation.
|
|
7
|
+
* If the key is set to an empty string, the language of the underlying translation framework will not be switched.
|
|
8
|
+
*
|
|
9
|
+
* @defaultValue 'LANGUAGE'
|
|
10
|
+
*/
|
|
11
|
+
readonly translationKey: import("@angular/core").InputSignal<string>;
|
|
12
|
+
/**
|
|
13
|
+
* Text for aria label for the language selector. Needed for a11y
|
|
14
|
+
*
|
|
15
|
+
* @defaultValue
|
|
16
|
+
* ```
|
|
17
|
+
* $localize`:@@SI_LANGUAGE_SWITCHER.LABEL:Language switcher`
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
readonly languageSwitcherLabel: import("@angular/core").InputSignal<import("@siemens/element-translate-ng/translate").TranslatableString>;
|
|
21
|
+
/**
|
|
22
|
+
* List of all available languages in this application.
|
|
23
|
+
*
|
|
24
|
+
* @defaultValue null
|
|
25
|
+
*/
|
|
26
|
+
readonly availableLanguages: import("@angular/core").InputSignal<(string | IsoLanguageValue)[] | null>;
|
|
27
|
+
protected readonly translate: SiTranslateService;
|
|
28
|
+
protected readonly availableIsoLanguages: import("@angular/core").Signal<IsoLanguageValue[]>;
|
|
29
|
+
protected switchLanguage(target: EventTarget | null): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLanguageSwitcherComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiLanguageSwitcherComponent, "si-language-switcher", never, { "translationKey": { "alias": "translationKey"; "required": false; "isSignal": true; }; "languageSwitcherLabel": { "alias": "languageSwitcherLabel"; "required": false; "isSignal": true; }; "availableLanguages": { "alias": "availableLanguages"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-language-switcher.component";
|
|
3
|
+
export declare class SiLanguageSwitcherModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLanguageSwitcherModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiLanguageSwitcherModule, never, [typeof i1.SiLanguageSwitcherComponent], [typeof i1.SiLanguageSwitcherComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiLanguageSwitcherModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import { Direction, Directionality } from '@angular/cdk/bidi';
|
|
6
|
+
import { EventEmitter } from '@angular/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Provider for dynamic CDK directionality.
|
|
10
|
+
*
|
|
11
|
+
* CDK per default evaluates directionality once during initialization. This is a problem when
|
|
12
|
+
* switching language later in the lifecycle. This provider can be used to make this dynamic.
|
|
13
|
+
* To use, simply provide this in the `ApplicationConfig`:
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { Directionality } from '@angular/cdk/bidi';
|
|
17
|
+
* import { SiDirectionality } from '@siemens/element-ng/localization';
|
|
18
|
+
*
|
|
19
|
+
* ...
|
|
20
|
+
* export const APP_CONFIG: ApplicationConfig = {
|
|
21
|
+
* providers: [
|
|
22
|
+
* { provide: Directionality, useClass: SiDirectionality },
|
|
23
|
+
* ...
|
|
24
|
+
* ]
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* bootstrapApplication(AppComponent, APP_CONFIG)
|
|
28
|
+
* ...
|
|
29
|
+
*
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class SiDirectionality implements Directionality {
|
|
33
|
+
readonly change: EventEmitter<Direction>;
|
|
34
|
+
/** @defaultValue 'ltr' */
|
|
35
|
+
readonly valueSignal: import("@angular/core").WritableSignal<Direction>;
|
|
36
|
+
get value(): Direction;
|
|
37
|
+
/** @internal */
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiDirectionality, never>;
|
|
40
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SiDirectionality>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SiLocaleService } from './si-locale.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* The SiLocaleId is used to provide a locale id from the translate service
|
|
5
|
+
* to the angular localization. The Angular services call toString or valueOf
|
|
6
|
+
* so that the current locale of the translation service is provided. The Intl.
|
|
7
|
+
* library does not invoke toString() and using the value directly in Intl
|
|
8
|
+
* formatting results always having the `en` locale. Thus, when using the SiLocaleId
|
|
9
|
+
* in other services, make sure to use the `toString()` method before.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SiLocaleId extends String {
|
|
12
|
+
protected service: SiLocaleService;
|
|
13
|
+
constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Outputs the locale id as a string.
|
|
16
|
+
*/
|
|
17
|
+
toString(): string;
|
|
18
|
+
valueOf(): string;
|
|
19
|
+
toLowerCase(): string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLocaleId, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SiLocaleId>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
export declare abstract class SiLocaleStore {
|
|
7
|
+
abstract get locale(): string | undefined;
|
|
8
|
+
abstract saveLocale(locale: string): Observable<boolean>;
|
|
9
|
+
}
|
|
10
|
+
export declare const SI_LOCALE_LOCAL_STORAGE_KEY = "lang";
|
|
11
|
+
export declare class SiDefaultLocaleStore extends SiLocaleStore {
|
|
12
|
+
private isBrowser;
|
|
13
|
+
constructor(isBrowser: boolean);
|
|
14
|
+
get locale(): string | undefined;
|
|
15
|
+
saveLocale(locale: string): Observable<boolean>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const SI_LOCALE_STORE: InjectionToken<string>;
|
|
5
|
+
export declare const SI_LOCALE_CONFIG: InjectionToken<SiLocaleConfig>;
|
|
6
|
+
export interface SiLocaleConfig {
|
|
7
|
+
/**
|
|
8
|
+
* The default locale to be used, when no user preference
|
|
9
|
+
* available and the browser language is not part of the
|
|
10
|
+
* available languages.
|
|
11
|
+
*/
|
|
12
|
+
defaultLocale?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The list of available locales (e.g. en, fr, de, en-GB, de-AT)
|
|
15
|
+
*/
|
|
16
|
+
availableLocales?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* The localeInitializer function is invoked on every locale change.
|
|
19
|
+
* Make sure to invoke `registerLocaleData` with the locale to enable
|
|
20
|
+
* the Angular localization.
|
|
21
|
+
*/
|
|
22
|
+
localeInitializer?: (localeId: string) => Promise<any>;
|
|
23
|
+
/**
|
|
24
|
+
* Set to true to also enable the default language on ngx-translate. When true,
|
|
25
|
+
* ngx-translate will use a translate value from the default language when a required
|
|
26
|
+
* value is not available in the current language. But note, this will also enforce
|
|
27
|
+
* to load the default language translation file into the application, even if a different
|
|
28
|
+
* locale is active. In other words, the application start time increases.
|
|
29
|
+
*/
|
|
30
|
+
fallbackEnabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Default is false and defines that on setting a new locale, the locale is stored and the
|
|
33
|
+
* browser is reloaded. When changing to true, window reload is not invoked, but angular
|
|
34
|
+
* pure pipes like DatePipe will not work.
|
|
35
|
+
*/
|
|
36
|
+
dynamicLanguageChange?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare class SiLocaleService {
|
|
39
|
+
/**
|
|
40
|
+
* Holds the used locale definition like en, de, or en-US.
|
|
41
|
+
*/
|
|
42
|
+
readonly locale$: BehaviorSubject<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Emits to indicate that the localization package (e.g. \@angular/common/locales/$\{localeId\})
|
|
45
|
+
* is loaded and registered. Emits after calling `localeInitializer` from the `config` object.
|
|
46
|
+
*/
|
|
47
|
+
readonly localePackageLoaded$: ReplaySubject<void>;
|
|
48
|
+
private _nextLocale;
|
|
49
|
+
private isBrowser;
|
|
50
|
+
private translate;
|
|
51
|
+
private localeStore;
|
|
52
|
+
/**
|
|
53
|
+
* The config for the local service.
|
|
54
|
+
*/
|
|
55
|
+
config: SiLocaleConfig;
|
|
56
|
+
constructor();
|
|
57
|
+
/**
|
|
58
|
+
* Sets a new locale to the locale service and also to the translate
|
|
59
|
+
* service.
|
|
60
|
+
* @throws An error if the new value is not configured in the available locales
|
|
61
|
+
* or if the new locale cannot be saved, an error is thrown.
|
|
62
|
+
*/
|
|
63
|
+
set locale(value: string);
|
|
64
|
+
get locale(): string;
|
|
65
|
+
private doSetLocale;
|
|
66
|
+
/**
|
|
67
|
+
* Test if the given locale is part of the available locales.
|
|
68
|
+
* @param locale - The locale to be tested.
|
|
69
|
+
*/
|
|
70
|
+
hasLocale(locale?: string): boolean;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiLocaleService, never>;
|
|
72
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SiLocaleService>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Siemens 2016 - 2025.
|
|
3
|
+
* SPDX-License-Identifier: MIT
|
|
4
|
+
*/
|
|
5
|
+
import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator, ValidatorFn } from '@angular/forms';
|
|
7
|
+
import { SiFormItemControl } from '@siemens/element-ng/form';
|
|
8
|
+
import { TranslatableString } from '@siemens/element-translate-ng/translate';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class SiNumberInputComponent implements OnChanges, ControlValueAccessor, Validator, SiFormItemControl {
|
|
11
|
+
private static idCounter;
|
|
12
|
+
private static formatValidator;
|
|
13
|
+
/**
|
|
14
|
+
* The min. value for HTML input
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue undefined
|
|
17
|
+
*/
|
|
18
|
+
readonly minInput: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
19
|
+
/**
|
|
20
|
+
* The max. value for HTML input
|
|
21
|
+
*
|
|
22
|
+
* @defaultValue undefined
|
|
23
|
+
*/
|
|
24
|
+
readonly maxInput: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
25
|
+
/**
|
|
26
|
+
* The step size for HTML input
|
|
27
|
+
*
|
|
28
|
+
* @defaultValue 1
|
|
29
|
+
*/
|
|
30
|
+
readonly step: import("@angular/core").InputSignal<number | "any">;
|
|
31
|
+
/** The value */
|
|
32
|
+
readonly value: import("@angular/core").InputSignal<number | undefined>;
|
|
33
|
+
/** Optional unit label */
|
|
34
|
+
readonly unit: import("@angular/core").InputSignal<string | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Show increment/decrement buttons?
|
|
37
|
+
*
|
|
38
|
+
* @defaultValue true
|
|
39
|
+
*/
|
|
40
|
+
readonly showButtons: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
41
|
+
/**
|
|
42
|
+
* The aria-label passed to the input
|
|
43
|
+
*
|
|
44
|
+
* @defaultValue undefined
|
|
45
|
+
*/
|
|
46
|
+
readonly ariaLabel: import("@angular/core").InputSignal<TranslatableString | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* ID that is set on the input, e.g. for `<label for="...">`
|
|
49
|
+
*
|
|
50
|
+
* @defaultValue
|
|
51
|
+
* ```
|
|
52
|
+
* `__si-number-input-${SiNumberInputComponent.idCounter++}`
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
readonly inputId: import("@angular/core").InputSignal<string>;
|
|
56
|
+
readonly id: import("@angular/core").Signal<string>;
|
|
57
|
+
/** @defaultValue false */
|
|
58
|
+
readonly disabledInput: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
/** @defaultValue false */
|
|
60
|
+
readonly readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
61
|
+
/**
|
|
62
|
+
* The placeholder for input field.
|
|
63
|
+
*/
|
|
64
|
+
readonly placeholder: import("@angular/core").InputSignal<TranslatableString | undefined>;
|
|
65
|
+
readonly valueChange: import("@angular/core").OutputEmitterRef<number | undefined>;
|
|
66
|
+
readonly inputElement: import("@angular/core").Signal<ElementRef<HTMLInputElement>>;
|
|
67
|
+
/** @internal */
|
|
68
|
+
readonly errormessageId: string;
|
|
69
|
+
protected canInc: boolean;
|
|
70
|
+
protected canDec: boolean;
|
|
71
|
+
protected readonly disabled: import("@angular/core").Signal<boolean>;
|
|
72
|
+
private readonly disabledNgControl;
|
|
73
|
+
protected onTouched: () => void;
|
|
74
|
+
protected onChange: (val: any) => void;
|
|
75
|
+
protected validator: ValidatorFn | null;
|
|
76
|
+
protected onValidatorChanged: () => void;
|
|
77
|
+
protected readonly min: import("@angular/core").Signal<number | undefined>;
|
|
78
|
+
protected readonly max: import("@angular/core").Signal<number | undefined>;
|
|
79
|
+
protected readonly icons: Record<"elementMinus" | "elementPlus", string>;
|
|
80
|
+
private internalValue?;
|
|
81
|
+
private autoUpdate$;
|
|
82
|
+
private autoUpdateSubs?;
|
|
83
|
+
private changeDetectorRef;
|
|
84
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
85
|
+
/** @internal */
|
|
86
|
+
registerOnChange(fn: any): void;
|
|
87
|
+
/** @internal */
|
|
88
|
+
registerOnTouched(fn: () => void): void;
|
|
89
|
+
/** @internal */
|
|
90
|
+
setDisabledState(isDisabled: boolean): void;
|
|
91
|
+
/** @internal */
|
|
92
|
+
writeValue(value: number | undefined): void;
|
|
93
|
+
/** @internal */
|
|
94
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
95
|
+
/** @internal */
|
|
96
|
+
registerOnValidatorChange?(fn: () => void): void;
|
|
97
|
+
protected modelChanged(): void;
|
|
98
|
+
protected autoUpdateStart(event: Event, isIncrement: boolean): void;
|
|
99
|
+
protected autoUpdateStop(): void;
|
|
100
|
+
private updateStepButtons;
|
|
101
|
+
private decrement;
|
|
102
|
+
private increment;
|
|
103
|
+
private writeValueToInput;
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiNumberInputComponent, never>;
|
|
105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SiNumberInputComponent, "si-number-input", never, { "minInput": { "alias": "min"; "required": false; "isSignal": true; }; "maxInput": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "unit": { "alias": "unit"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
106
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./si-number-input.component";
|
|
3
|
+
export declare class SiNumberInputModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiNumberInputModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SiNumberInputModule, never, [typeof i1.SiNumberInputComponent], [typeof i1.SiNumberInputComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SiNumberInputModule>;
|
|
7
|
+
}
|