@i-cell/ids-angular 0.1.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 +24 -0
- package/accordion/accordion-animations.d.ts +1 -0
- package/accordion/accordion-defaults.d.ts +18 -0
- package/accordion/accordion-item/accordion-item.component.d.ts +27 -0
- package/accordion/accordion.component.d.ts +29 -0
- package/accordion/index.d.ts +5 -0
- package/accordion/public-api.d.ts +5 -0
- package/accordion/types/accordion-appearance.type.d.ts +5 -0
- package/avatar/avatar-defaults.d.ts +12 -0
- package/avatar/avatar-image.directive.d.ts +5 -0
- package/avatar/avatar.component.d.ts +28 -0
- package/avatar/index.d.ts +5 -0
- package/avatar/public-api.d.ts +6 -0
- package/avatar/tokens/avatar-parent.d.ts +6 -0
- package/avatar/types/avatar-type.type.d.ts +6 -0
- package/avatar/types/avatar-variant.type.d.ts +8 -0
- package/button/button-defaults.d.ts +11 -0
- package/button/button-group-defaults.d.ts +7 -0
- package/button/button-group.component.d.ts +11 -0
- package/button/button.component.d.ts +23 -0
- package/button/index.d.ts +5 -0
- package/button/public-api.d.ts +7 -0
- package/button/tokens/button-parent.d.ts +6 -0
- package/button/types/button-appearance.type.d.ts +6 -0
- package/button/types/button-variant.type.d.ts +14 -0
- package/card/card-body.directive.d.ts +6 -0
- package/card/card-defaults.d.ts +12 -0
- package/card/card-footer.directive.d.ts +6 -0
- package/card/card-header.component.d.ts +6 -0
- package/card/card-media.directive.d.ts +7 -0
- package/card/card-section-base.directive.d.ts +9 -0
- package/card/card-subtitle.directive.d.ts +5 -0
- package/card/card-title.directive.d.ts +5 -0
- package/card/card.component.d.ts +21 -0
- package/card/index.d.ts +5 -0
- package/card/public-api.d.ts +10 -0
- package/card/types/card-appearances.type.d.ts +6 -0
- package/card/types/card-variant.type.d.ts +13 -0
- package/checkbox/checkbox-defaults.d.ts +9 -0
- package/checkbox/checkbox-group-defaults.d.ts +9 -0
- package/checkbox/checkbox-group.component.d.ts +28 -0
- package/checkbox/checkbox.component.d.ts +68 -0
- package/checkbox/index.d.ts +5 -0
- package/checkbox/public-api.d.ts +7 -0
- package/checkbox/types/checkbox-events.class.d.ts +6 -0
- package/checkbox/types/checkbox-group-child.d.ts +7 -0
- package/checkbox/types/checkbox-parent.d.ts +8 -0
- package/checkbox/types/checkbox-state.type.d.ts +6 -0
- package/checkbox/types/checkbox-variant.type.d.ts +6 -0
- package/chip/chip-defaults.d.ts +12 -0
- package/chip/chip-group-defaults.d.ts +9 -0
- package/chip/chip-group.component.d.ts +14 -0
- package/chip/chip.component.d.ts +35 -0
- package/chip/index.d.ts +5 -0
- package/chip/public-api.d.ts +7 -0
- package/chip/types/chip-appearance.type.d.ts +5 -0
- package/chip/types/chip-events.type.d.ts +4 -0
- package/chip/types/chip-variant.type.d.ts +8 -0
- package/core/base-classes/component-base.d.ts +13 -0
- package/core/base-classes/directive-base.d.ts +16 -0
- package/core/directives/detect-scrollable.directive.d.ts +11 -0
- package/core/index.d.ts +5 -0
- package/core/pipes/sentence-case.pipe.d.ts +7 -0
- package/core/public-api.d.ts +17 -0
- package/core/services/resize-observer.service.d.ts +13 -0
- package/core/types/orientation.type.d.ts +5 -0
- package/core/types/position.type.d.ts +39 -0
- package/core/types/size-collection.type.d.ts +5 -0
- package/core/types/size.type.d.ts +7 -0
- package/core/utils/class-prefix.d.ts +2 -0
- package/core/utils/class.d.ts +2 -0
- package/core/utils/coercion.d.ts +6 -0
- package/core/utils/compare.d.ts +1 -0
- package/core/utils/date.d.ts +1 -0
- package/core/utils/even-odd.d.ts +2 -0
- package/core/utils/fallback-value.d.ts +1 -0
- package/core/utils/string.d.ts +1 -0
- package/dialog/custom-dialog-base.d.ts +15 -0
- package/dialog/dialog-defaults.d.ts +9 -0
- package/dialog/dialog-header.directive.d.ts +7 -0
- package/dialog/dialog.component.d.ts +22 -0
- package/dialog/dialog.service.d.ts +17 -0
- package/dialog/index.d.ts +5 -0
- package/dialog/public-api.d.ts +5 -0
- package/divider/divider-defaults.d.ts +12 -0
- package/divider/divider.component.d.ts +18 -0
- package/divider/index.d.ts +5 -0
- package/divider/public-api.d.ts +3 -0
- package/divider/types/divider-variant.type.d.ts +13 -0
- package/fesm2022/i-cell-ids-angular-accordion.mjs +223 -0
- package/fesm2022/i-cell-ids-angular-accordion.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-avatar.mjs +125 -0
- package/fesm2022/i-cell-ids-angular-avatar.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-button.mjs +117 -0
- package/fesm2022/i-cell-ids-angular-button.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-card.mjs +222 -0
- package/fesm2022/i-cell-ids-angular-card.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-checkbox.mjs +346 -0
- package/fesm2022/i-cell-ids-angular-checkbox.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-chip.mjs +166 -0
- package/fesm2022/i-cell-ids-angular-chip.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-core.mjs +266 -0
- package/fesm2022/i-cell-ids-angular-core.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-dialog.mjs +157 -0
- package/fesm2022/i-cell-ids-angular-dialog.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-divider.mjs +76 -0
- package/fesm2022/i-cell-ids-angular-divider.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-forms.mjs +871 -0
- package/fesm2022/i-cell-ids-angular-forms.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-icon-button.mjs +81 -0
- package/fesm2022/i-cell-ids-angular-icon-button.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-icon.mjs +149 -0
- package/fesm2022/i-cell-ids-angular-icon.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-menu.mjs +108 -0
- package/fesm2022/i-cell-ids-angular-menu.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-notification.mjs +167 -0
- package/fesm2022/i-cell-ids-angular-notification.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs +72 -0
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-paginator.mjs +319 -0
- package/fesm2022/i-cell-ids-angular-paginator.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-radio.mjs +312 -0
- package/fesm2022/i-cell-ids-angular-radio.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs +264 -0
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs +283 -0
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-select.mjs +550 -0
- package/fesm2022/i-cell-ids-angular-select.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-snackbar.mjs +440 -0
- package/fesm2022/i-cell-ids-angular-snackbar.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-switch.mjs +181 -0
- package/fesm2022/i-cell-ids-angular-switch.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tab.mjs +141 -0
- package/fesm2022/i-cell-ids-angular-tab.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-table.mjs +663 -0
- package/fesm2022/i-cell-ids-angular-table.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tag.mjs +116 -0
- package/fesm2022/i-cell-ids-angular-tag.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tooltip.mjs +587 -0
- package/fesm2022/i-cell-ids-angular-tooltip.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular.mjs +9 -0
- package/fesm2022/i-cell-ids-angular.mjs.map +1 -0
- package/forms/common/error/error-state.d.ts +23 -0
- package/forms/common/success/success-state.d.ts +23 -0
- package/forms/components/fieldset/fieldset-defaults.d.ts +9 -0
- package/forms/components/fieldset/fieldset-message.directive.d.ts +5 -0
- package/forms/components/fieldset/fieldset-row/fieldset-row.component.d.ts +8 -0
- package/forms/components/fieldset/fieldset.component.d.ts +16 -0
- package/forms/components/form-field/form-field-control.d.ts +21 -0
- package/forms/components/form-field/form-field-defaults.d.ts +9 -0
- package/forms/components/form-field/form-field.component.d.ts +41 -0
- package/forms/components/form-field/tokens/form-field-control.d.ts +3 -0
- package/forms/components/form-field/types/form-field-variant.type.d.ts +5 -0
- package/forms/components/input/input-defaults.d.ts +9 -0
- package/forms/components/input/input.directive.d.ts +55 -0
- package/forms/components/input/types/input.type.d.ts +1 -0
- package/forms/components/message/error-message/error-message.component.d.ts +15 -0
- package/forms/components/message/hint-message/hint-message.component.d.ts +10 -0
- package/forms/components/message/message-defaults.d.ts +9 -0
- package/forms/components/message/success-message/success-message.component.d.ts +11 -0
- package/forms/components/message/types/message-parent-form-field.d.ts +9 -0
- package/forms/components/message/types/message-variant.type.d.ts +6 -0
- package/forms/components/message/types/message.type.d.ts +6 -0
- package/forms/components/option/option-group.component.d.ts +13 -0
- package/forms/components/option/option.component.d.ts +47 -0
- package/forms/components/option/tokens/option-group.d.ts +3 -0
- package/forms/components/option/tokens/option-parent.d.ts +11 -0
- package/forms/components/option/types/option-events.class.d.ts +7 -0
- package/forms/components/pseudo-checkbox/pseudo-checkbox.component.d.ts +14 -0
- package/forms/components/pseudo-checkbox/tokens/pseudo-checkbox-parent.d.ts +7 -0
- package/forms/components/pseudo-checkbox/types/pseudo-checkbox-state.type.d.ts +6 -0
- package/forms/directives/form-field-action.directive.d.ts +5 -0
- package/forms/directives/label.directive.d.ts +5 -0
- package/forms/directives/message-prefix.directive.d.ts +5 -0
- package/forms/directives/message-suffix.directive.d.ts +5 -0
- package/forms/directives/message.directive.d.ts +17 -0
- package/forms/directives/prefix.directive.d.ts +7 -0
- package/forms/directives/suffix.directive.d.ts +7 -0
- package/forms/index.d.ts +5 -0
- package/forms/public-api.d.ts +35 -0
- package/forms/validators.d.ts +9 -0
- package/icon/icon-defaults.d.ts +11 -0
- package/icon/icon.component.d.ts +32 -0
- package/icon/index.d.ts +5 -0
- package/icon/public-api.d.ts +5 -0
- package/icon/tokens/icon-parent.d.ts +6 -0
- package/icon/types/icon-source.type.d.ts +5 -0
- package/icon/types/icon-variant.type.d.ts +12 -0
- package/icon-button/icon-button-defaults.d.ts +11 -0
- package/icon-button/icon-button.component.d.ts +22 -0
- package/icon-button/index.d.ts +5 -0
- package/icon-button/public-api.d.ts +5 -0
- package/icon-button/tokens/icon-button-parent.d.ts +9 -0
- package/icon-button/types/icon-button-appearance.type.d.ts +6 -0
- package/icon-button/types/icon-button-variant.type.d.ts +13 -0
- package/index.d.ts +5 -0
- package/menu/action-menu/action-menu-trigger.directive.d.ts +12 -0
- package/menu/index.d.ts +5 -0
- package/menu/menu-item/menu-item-defaults.d.ts +11 -0
- package/menu/menu-item/menu-item.component.d.ts +23 -0
- package/menu/menu-item/types/menu-item-appearance.type.d.ts +5 -0
- package/menu/menu-item/types/menu-item-variant.type.d.ts +4 -0
- package/menu/public-api.d.ts +5 -0
- package/notification/index.d.ts +5 -0
- package/notification/notification-action-button.directive.d.ts +5 -0
- package/notification/notification-defaults.d.ts +15 -0
- package/notification/notification.component.d.ts +34 -0
- package/notification/public-api.d.ts +5 -0
- package/notification/types/notification-appearance.type.d.ts +5 -0
- package/notification/types/notification-variant.type.d.ts +10 -0
- package/overlay-panel/index.d.ts +5 -0
- package/overlay-panel/overlay-panel-defaults.d.ts +11 -0
- package/overlay-panel/overlay-panel.component.d.ts +18 -0
- package/overlay-panel/public-api.d.ts +4 -0
- package/overlay-panel/types/overlay-panel-appearance.type.d.ts +6 -0
- package/overlay-panel/types/overlay-panel-variant.type.d.ts +5 -0
- package/package.json +153 -0
- package/paginator/index.d.ts +5 -0
- package/paginator/paginator-defaults.d.ts +22 -0
- package/paginator/paginator-intl.d.ts +24 -0
- package/paginator/paginator.component.d.ts +67 -0
- package/paginator/public-api.d.ts +5 -0
- package/paginator/types/paginator-appearance.type.d.ts +4 -0
- package/paginator/types/paginator-events.class.d.ts +6 -0
- package/paginator/types/paginator-variant.type.d.ts +7 -0
- package/public-api.d.ts +2 -0
- package/radio/index.d.ts +5 -0
- package/radio/public-api.d.ts +5 -0
- package/radio/radio-defaults.d.ts +11 -0
- package/radio/radio-group.directive.d.ts +46 -0
- package/radio/radio.component.d.ts +30 -0
- package/radio/types/radio-events.class.d.ts +6 -0
- package/radio/types/radio-variant.type.d.ts +6 -0
- package/segmented-control/index.d.ts +5 -0
- package/segmented-control/public-api.d.ts +6 -0
- package/segmented-control/segmented-control-defaults.d.ts +11 -0
- package/segmented-control/segmented-control-item.component.d.ts +33 -0
- package/segmented-control/segmented-control.directive.d.ts +42 -0
- package/segmented-control/types/segmented-control-appearance.type.d.ts +4 -0
- package/segmented-control/types/segmented-control-item-change.class.d.ts +7 -0
- package/segmented-control/types/segmented-control-variant.type.d.ts +6 -0
- package/segmented-control-toggle/index.d.ts +5 -0
- package/segmented-control-toggle/public-api.d.ts +6 -0
- package/segmented-control-toggle/segmented-control-toggle-defaults.d.ts +12 -0
- package/segmented-control-toggle/segmented-control-toggle-item.component.d.ts +32 -0
- package/segmented-control-toggle/segmented-control-toggle.directive.d.ts +43 -0
- package/segmented-control-toggle/types/segmented-control-toggle-appearance.type.d.ts +5 -0
- package/segmented-control-toggle/types/segmented-control-toggle-item-change.class.d.ts +6 -0
- package/segmented-control-toggle/types/segmented-control-toggle-variant.type.d.ts +11 -0
- package/select/index.d.ts +5 -0
- package/select/public-api.d.ts +3 -0
- package/select/select-defaults.d.ts +9 -0
- package/select/select-positions.d.ts +2 -0
- package/select/select-trigger.directive.d.ts +5 -0
- package/select/select.component.d.ts +102 -0
- package/snackbar/animations.d.ts +2 -0
- package/snackbar/index.d.ts +5 -0
- package/snackbar/public-api.d.ts +7 -0
- package/snackbar/services/snackbar.service.d.ts +28 -0
- package/snackbar/snackbar-defaults.d.ts +16 -0
- package/snackbar/snackbar-group.component.d.ts +25 -0
- package/snackbar/snackbar-position-strategies.d.ts +4 -0
- package/snackbar/snackbar.component.d.ts +51 -0
- package/snackbar/types/snackbar-data.type.d.ts +15 -0
- package/snackbar/types/snackbar-inner-data.type.d.ts +4 -0
- package/snackbar/types/snackbar-position.type.d.ts +9 -0
- package/snackbar/types/snackbar-variant.type.d.ts +8 -0
- package/switch/index.d.ts +5 -0
- package/switch/public-api.d.ts +5 -0
- package/switch/switch-animations.d.ts +2 -0
- package/switch/switch-defaults.d.ts +13 -0
- package/switch/switch-group.component.d.ts +14 -0
- package/switch/switch.component.d.ts +45 -0
- package/switch/types/switch-positions.type.d.ts +10 -0
- package/switch/types/switch-variant.type.d.ts +6 -0
- package/tab/index.d.ts +5 -0
- package/tab/public-api.d.ts +6 -0
- package/tab/tab-group-defaults.d.ts +15 -0
- package/tab/tab-group.component.d.ts +29 -0
- package/tab/tab.component.d.ts +18 -0
- package/tab/types/tab-group-position.type.d.ts +6 -0
- package/tab/types/tab-group-variant.type.d.ts +6 -0
- package/tab/types/tab-indicator-position.type.d.ts +7 -0
- package/table/components/cell-content/cell-content.component.d.ts +25 -0
- package/table/datasource/server-side-datasource.d.ts +37 -0
- package/table/directives/cell-renderer.d.ts +13 -0
- package/table/directives/cell-template.d.ts +8 -0
- package/table/directives/row-info-holder.d.ts +9 -0
- package/table/index.d.ts +5 -0
- package/table/public-api.d.ts +18 -0
- package/table/table-defaults.d.ts +22 -0
- package/table/table-intl.d.ts +25 -0
- package/table/table.component.d.ts +142 -0
- package/table/types/pagination-params.d.ts +9 -0
- package/table/types/request-factory.d.ts +5 -0
- package/table/types/request-pagination-data.d.ts +6 -0
- package/table/types/response-data.d.ts +5 -0
- package/table/types/table-appearance.type.d.ts +6 -0
- package/table/types/table-cell-click-event.d.ts +6 -0
- package/table/types/table-column-def.d.ts +97 -0
- package/table/types/table-row-click-event.d.ts +4 -0
- package/table/types/table-row-keydown-event.d.ts +4 -0
- package/table/types/table-sort-direction.d.ts +6 -0
- package/table/types/table-sort-info.d.ts +6 -0
- package/table/types/table-variant.type.d.ts +6 -0
- package/tag/index.d.ts +5 -0
- package/tag/public-api.d.ts +6 -0
- package/tag/tag-defaults.d.ts +11 -0
- package/tag/tag-group-defaults.d.ts +9 -0
- package/tag/tag-group.component.d.ts +13 -0
- package/tag/tag.component.d.ts +23 -0
- package/tag/types/tag-appearance.type.d.ts +5 -0
- package/tag/types/tag-variant.type.d.ts +13 -0
- package/tooltip/index.d.ts +5 -0
- package/tooltip/public-api.d.ts +5 -0
- package/tooltip/tooltip-defaults.d.ts +18 -0
- package/tooltip/tooltip-position-strategies.d.ts +3 -0
- package/tooltip/tooltip.component.d.ts +31 -0
- package/tooltip/tooltip.directive.d.ts +60 -0
- package/tooltip/types/tooltip-position.type.d.ts +11 -0
- package/tooltip/types/tooltip-variant.type.d.ts +5 -0
- package/tooltip/types/tooltip.type.d.ts +2 -0
- package/tooltip/utils/tooltip-converters.d.ts +3 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Widgets
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project widgets` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project widgets`.
|
|
8
|
+
> Note: Don't forget to add `--project widgets` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build widgets` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build widgets`, go to the dist folder `cd dist/widgets` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test widgets` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const accordionAnimations: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IdsAccordionAppearanceType } from './types/accordion-appearance.type';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsButtonAppearanceType, IdsButtonVariantType } from '@i-cell/ids-angular/button';
|
|
4
|
+
import { IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
export interface IdsAccordionDefaultConfig {
|
|
6
|
+
size?: IdsSizeType;
|
|
7
|
+
appearance?: IdsAccordionAppearanceType;
|
|
8
|
+
multi?: boolean;
|
|
9
|
+
btnSize?: IdsSizeType;
|
|
10
|
+
btnAppearance?: IdsButtonAppearanceType;
|
|
11
|
+
btnVariant?: IdsButtonVariantType;
|
|
12
|
+
expandBtnLabel?: string;
|
|
13
|
+
collapseBtnLabel?: string;
|
|
14
|
+
hasLeadingIcon?: boolean;
|
|
15
|
+
hasTrailingIcon?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const IDS_ACCORDION_DEFAULT_CONFIG: InjectionToken<IdsAccordionDefaultConfig>;
|
|
18
|
+
export declare function IDS_ACCORDION_DEFAULT_CONFIG_FACTORY(): Required<IdsAccordionDefaultConfig>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ComponentBase } from '@i-cell/ids-angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/cdk/accordion";
|
|
4
|
+
export declare class IdsAccordionItemComponent extends ComponentBase {
|
|
5
|
+
protected get _hostName(): string;
|
|
6
|
+
private _accordion;
|
|
7
|
+
private _accordionItem;
|
|
8
|
+
private _accordionHeader;
|
|
9
|
+
summary: import("@angular/core").InputSignal<string | null | undefined>;
|
|
10
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
hasLeadingIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
hasTrailingIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
13
|
+
protected _headerId: import("@angular/core").Signal<string>;
|
|
14
|
+
protected _contentId: import("@angular/core").Signal<string>;
|
|
15
|
+
protected _parentOrSelfHasLeadingIcon: import("@angular/core").Signal<boolean>;
|
|
16
|
+
protected _parentOrSelfHasTrailingIcon: import("@angular/core").Signal<boolean>;
|
|
17
|
+
protected _parentOrSelfDisabled: import("@angular/core").Signal<boolean>;
|
|
18
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
19
|
+
protected get _icon(): string;
|
|
20
|
+
get isExpanded(): boolean;
|
|
21
|
+
open(): void;
|
|
22
|
+
close(): void;
|
|
23
|
+
toggle(): void;
|
|
24
|
+
focus(options?: FocusOptions): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsAccordionItemComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsAccordionItemComponent, "ids-accordion-item", never, { "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hasLeadingIcon": { "alias": "hasLeadingIcon"; "required": false; "isSignal": true; }; "hasTrailingIcon": { "alias": "hasTrailingIcon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.CdkAccordionItem; inputs: { "expanded": "expanded"; "disabled": "disabled"; }; outputs: { "closed": "closed"; "destroyed": "destroyed"; "opened": "opened"; }; }]>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IdsAccordionDefaultConfig } from './accordion-defaults';
|
|
2
|
+
import { IdsAccordionAppearanceType } from './types/accordion-appearance.type';
|
|
3
|
+
import { IdsButtonAppearanceType, IdsButtonVariantType } from '@i-cell/ids-angular/button';
|
|
4
|
+
import { ComponentBaseWithDefaults, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/cdk/accordion";
|
|
7
|
+
export declare class IdsAccordionComponent extends ComponentBaseWithDefaults<IdsAccordionDefaultConfig> {
|
|
8
|
+
protected get _hostName(): string;
|
|
9
|
+
private _cdkAccordion;
|
|
10
|
+
private _items;
|
|
11
|
+
protected readonly _defaultConfig: Required<IdsAccordionDefaultConfig>;
|
|
12
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
13
|
+
appearance: import("@angular/core").InputSignal<IdsAccordionAppearanceType>;
|
|
14
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
15
|
+
hasLeadingIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
16
|
+
hasTrailingIcon: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
multi: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
btnSize: import("@angular/core").InputSignal<IdsSizeType>;
|
|
19
|
+
btnAppearance: import("@angular/core").InputSignal<IdsButtonAppearanceType>;
|
|
20
|
+
btnVariant: import("@angular/core").InputSignal<IdsButtonVariantType>;
|
|
21
|
+
expandBtnLabel: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
22
|
+
collapseBtnLabel: import("@angular/core").InputSignalWithTransform<string, string>;
|
|
23
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
24
|
+
openAll(): void;
|
|
25
|
+
closeAll(): void;
|
|
26
|
+
private _handleKeyDown;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsAccordionComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsAccordionComponent, "ids-accordion", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "hasLeadingIcon": { "alias": "hasLeadingIcon"; "required": false; "isSignal": true; }; "hasTrailingIcon": { "alias": "hasTrailingIcon"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "btnSize": { "alias": "btnSize"; "required": false; "isSignal": true; }; "btnAppearance": { "alias": "btnAppearance"; "required": false; "isSignal": true; }; "btnVariant": { "alias": "btnVariant"; "required": false; "isSignal": true; }; "expandBtnLabel": { "alias": "expandBtnLabel"; "required": false; "isSignal": true; }; "collapseBtnLabel": { "alias": "collapseBtnLabel"; "required": false; "isSignal": true; }; }, {}, ["_items"], ["*"], true, [{ directive: typeof i1.CdkAccordion; inputs: { "multi": "multi"; }; outputs: {}; }]>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IdsAvatarTypeType } from './types/avatar-type.type';
|
|
2
|
+
import { IdsAvatarVariantType } from './types/avatar-variant.type';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { IdsSizeCollectionType, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
export interface IdsAvatarDefaultConfig {
|
|
6
|
+
type: IdsAvatarTypeType;
|
|
7
|
+
size?: IdsSizeType;
|
|
8
|
+
sizeCollection?: IdsSizeCollectionType;
|
|
9
|
+
variant?: IdsAvatarVariantType;
|
|
10
|
+
}
|
|
11
|
+
export declare const IDS_AVATAR_DEFAULT_CONFIG: InjectionToken<IdsAvatarDefaultConfig>;
|
|
12
|
+
export declare function IDS_AVATAR_DEFAULT_CONFIG_FACTORY(): Required<IdsAvatarDefaultConfig>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IdsAvatarImageDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsAvatarImageDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsAvatarImageDirective, "img[idsAvatarImage]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IdsAvatarDefaultConfig } from './avatar-defaults';
|
|
2
|
+
import { IdsAvatarVariantType } from './types/avatar-variant.type';
|
|
3
|
+
import { ComponentBaseWithDefaults, IdsSizeCollectionType, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
4
|
+
import { IdsIconParent, IdsIconVariantType } from '@i-cell/ids-angular/icon';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class IdsAvatarComponent extends ComponentBaseWithDefaults<IdsAvatarDefaultConfig> implements IdsIconParent {
|
|
7
|
+
protected get _hostName(): string;
|
|
8
|
+
private readonly _parent;
|
|
9
|
+
protected readonly _defaultConfig: Required<IdsAvatarDefaultConfig>;
|
|
10
|
+
protected readonly _avatarType: {
|
|
11
|
+
readonly INITIALS: "initials";
|
|
12
|
+
readonly ICON: "icon";
|
|
13
|
+
readonly IMAGE: "image";
|
|
14
|
+
};
|
|
15
|
+
private _iconChild;
|
|
16
|
+
private _imageChild;
|
|
17
|
+
initials: import("@angular/core").InputSignal<string | null>;
|
|
18
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
19
|
+
sizeCollection: import("@angular/core").InputSignal<IdsSizeCollectionType>;
|
|
20
|
+
variant: import("@angular/core").InputSignal<IdsAvatarVariantType>;
|
|
21
|
+
private _implicitAvatarType;
|
|
22
|
+
avatarType: import("@angular/core").Signal<"initials" | "icon" | "image">;
|
|
23
|
+
private _parentOrSelfVariant;
|
|
24
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
25
|
+
embeddedIconVariant: import("@angular/core").Signal<IdsIconVariantType>;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsAvatarComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsAvatarComponent, "ids-avatar", never, { "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "sizeCollection": { "alias": "sizeCollection"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["_iconChild", "_imageChild"], ["ids-icon", "img[src]"], true, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IdsAvatarVariantType } from '../types/avatar-variant.type';
|
|
2
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
3
|
+
export declare abstract class IdsAvatarParent {
|
|
4
|
+
readonly embeddedAvatarVariant: Signal<IdsAvatarVariantType>;
|
|
5
|
+
}
|
|
6
|
+
export declare const IDS_AVATAR_PARENT: InjectionToken<IdsAvatarParent>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const IdsAvatarVariant: {
|
|
2
|
+
readonly PRIMARY: "primary";
|
|
3
|
+
readonly SECONDARY: "secondary";
|
|
4
|
+
readonly SURFACE: "surface";
|
|
5
|
+
readonly LIGHT: "light";
|
|
6
|
+
readonly DARK: "dark";
|
|
7
|
+
};
|
|
8
|
+
export type IdsAvatarVariantType = (typeof IdsAvatarVariant)[keyof typeof IdsAvatarVariant];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IdsButtonAppearanceType } from './types/button-appearance.type';
|
|
2
|
+
import { IdsButtonVariantType } from './types/button-variant.type';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
export interface IdsButtonDefaultConfig {
|
|
6
|
+
appearance?: IdsButtonAppearanceType;
|
|
7
|
+
size?: IdsSizeType;
|
|
8
|
+
variant?: IdsButtonVariantType;
|
|
9
|
+
}
|
|
10
|
+
export declare const IDS_BUTTON_DEFAULT_CONFIG: InjectionToken<IdsButtonDefaultConfig>;
|
|
11
|
+
export declare function IDS_BUTTON_DEFAULT_CONFIG_FACTORY(): Required<IdsButtonDefaultConfig>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { IdsSizeType } from '@i-cell/ids-angular/core';
|
|
3
|
+
export interface IdsButtonGroupDefaultConfig {
|
|
4
|
+
size?: IdsSizeType;
|
|
5
|
+
}
|
|
6
|
+
export declare const IDS_BUTTON_GROUP_DEFAULT_CONFIG: InjectionToken<IdsButtonGroupDefaultConfig>;
|
|
7
|
+
export declare function IDS_BUTTON_GROUP_DEFAULT_CONFIG_FACTORY(): Required<IdsButtonGroupDefaultConfig>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IdsButtonGroupDefaultConfig } from './button-group-defaults';
|
|
2
|
+
import { ComponentBaseWithDefaults, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IdsButtonGroupComponent extends ComponentBaseWithDefaults<IdsButtonGroupDefaultConfig> {
|
|
5
|
+
protected get _hostName(): string;
|
|
6
|
+
protected readonly _defaultConfig: Required<IdsButtonGroupDefaultConfig>;
|
|
7
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
8
|
+
protected _hostClasses: import("@angular/core").WritableSignal<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsButtonGroupComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsButtonGroupComponent, "ids-button-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["button[idsButton], button[idsIconButton]"], true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IdsButtonDefaultConfig } from './button-defaults';
|
|
2
|
+
import { IdsButtonAppearanceType } from './types/button-appearance.type';
|
|
3
|
+
import { IdsButtonVariantType } from './types/button-variant.type';
|
|
4
|
+
import { ComponentBaseWithDefaults, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
import { IdsIconComponent } from '@i-cell/ids-angular/icon';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class IdsButtonComponent extends ComponentBaseWithDefaults<IdsButtonDefaultConfig> {
|
|
8
|
+
protected get _hostName(): string;
|
|
9
|
+
private readonly _parent;
|
|
10
|
+
private readonly _group;
|
|
11
|
+
protected readonly _defaultConfig: Required<IdsButtonDefaultConfig>;
|
|
12
|
+
appearance: import("@angular/core").InputSignal<IdsButtonAppearanceType>;
|
|
13
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
14
|
+
variant: import("@angular/core").InputSignal<IdsButtonVariantType>;
|
|
15
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
|
|
16
|
+
private _parentOrSelfSize;
|
|
17
|
+
private _parentOrSelfVariant;
|
|
18
|
+
iconLeading: import("@angular/core").Signal<readonly IdsIconComponent[]>;
|
|
19
|
+
iconTrailing: import("@angular/core").Signal<readonly IdsIconComponent[]>;
|
|
20
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsButtonComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsButtonComponent, "button[idsButton]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["iconLeading", "iconTrailing"], ["[icon-leading]", "*", "[icon-trailing]"], true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './tokens/button-parent';
|
|
2
|
+
export * from './types/button-appearance.type';
|
|
3
|
+
export * from './types/button-variant.type';
|
|
4
|
+
export * from './button-defaults';
|
|
5
|
+
export * from './button-group-defaults';
|
|
6
|
+
export * from './button-group.component';
|
|
7
|
+
export * from './button.component';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IdsButtonVariantType } from '../types/button-variant.type';
|
|
2
|
+
import { InjectionToken, Signal } from '@angular/core';
|
|
3
|
+
export declare abstract class IdsButtonParent {
|
|
4
|
+
readonly embeddedButtonVariant: Signal<IdsButtonVariantType>;
|
|
5
|
+
}
|
|
6
|
+
export declare const IDS_BUTTON_PARENT: InjectionToken<IdsButtonParent>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const IdsButtonVariant: {
|
|
2
|
+
readonly PRIMARY: "primary";
|
|
3
|
+
readonly SECONDARY: "secondary";
|
|
4
|
+
readonly SURFACE: "surface";
|
|
5
|
+
readonly BRAND: "brand";
|
|
6
|
+
readonly LIGHT: "light";
|
|
7
|
+
readonly DARK: "dark";
|
|
8
|
+
readonly INFO: "info";
|
|
9
|
+
readonly SUCCESS: "success";
|
|
10
|
+
readonly WARNING: "warning";
|
|
11
|
+
readonly ERROR: "error";
|
|
12
|
+
readonly LIGHT_FIXED: "light-fixed";
|
|
13
|
+
};
|
|
14
|
+
export type IdsButtonVariantType = (typeof IdsButtonVariant)[keyof typeof IdsButtonVariant];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IdsCardSectionBase } from './card-section-base.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IdsCardBodyDirective extends IdsCardSectionBase {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardBodyDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardBodyDirective, "ids-card-body", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IdsCardAppearanceType } from './types/card-appearances.type';
|
|
2
|
+
import { IdsCardVariantType } from './types/card-variant.type';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { IdsSizeType, IdsOrientationType } from '@i-cell/ids-angular/core';
|
|
5
|
+
export interface IdsCardDefaultConfig {
|
|
6
|
+
appearance?: IdsCardAppearanceType;
|
|
7
|
+
size?: IdsSizeType;
|
|
8
|
+
variant?: IdsCardVariantType;
|
|
9
|
+
orientation?: IdsOrientationType;
|
|
10
|
+
}
|
|
11
|
+
export declare const IDS_CARD_DEFAULT_CONFIG: InjectionToken<IdsCardDefaultConfig>;
|
|
12
|
+
export declare function IDS_CARD_DEFAULT_CONFIG_FACTORY(): Required<IdsCardDefaultConfig>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IdsCardSectionBase } from './card-section-base.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IdsCardFooterDirective extends IdsCardSectionBase {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardFooterDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardFooterDirective, "ids-card-footer,footer[idsCardFooter]", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IdsCardSectionBase } from './card-section-base.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IdsCardHeaderComponent extends IdsCardSectionBase {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardHeaderComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsCardHeaderComponent, "ids-card-header,header[idsCardHeader]", never, {}, {}, never, ["ids-card-title, [idsCardTitle], ids-card-subtitle, [idsCardSubtitle]", "*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IdsCardSectionBase } from './card-section-base.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IdsCardMediaDirective extends IdsCardSectionBase {
|
|
4
|
+
stretch: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardMediaDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardMediaDirective, "[idsCardMedia]", never, { "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DirectiveBase } from '@i-cell/ids-angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare abstract class IdsCardSectionBase extends DirectiveBase {
|
|
4
|
+
protected get _hostName(): string;
|
|
5
|
+
stretch: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardSectionBase, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardSectionBase, never, never, { "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IdsCardSubtitleDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardSubtitleDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardSubtitleDirective, "[idsCardSubtitle]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IdsCardTitleDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardTitleDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsCardTitleDirective, "[idsCardTitle]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IdsCardDefaultConfig } from './card-defaults';
|
|
2
|
+
import { IdsCardAppearanceType } from './types/card-appearances.type';
|
|
3
|
+
import { IdsCardVariantType } from './types/card-variant.type';
|
|
4
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
5
|
+
import { ComponentBaseWithDefaults, IdsOrientationType, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class IdsCardComponent extends ComponentBaseWithDefaults<IdsCardDefaultConfig> implements OnInit {
|
|
8
|
+
protected get _hostName(): string;
|
|
9
|
+
protected readonly _defaultConfig: Required<IdsCardDefaultConfig>;
|
|
10
|
+
appearance: import("@angular/core").InputSignal<IdsCardAppearanceType>;
|
|
11
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
12
|
+
variant: import("@angular/core").InputSignal<IdsCardVariantType>;
|
|
13
|
+
orientation: import("@angular/core").InputSignal<IdsOrientationType>;
|
|
14
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, string | boolean>;
|
|
15
|
+
click: EventEmitter<any>;
|
|
16
|
+
private _hasClickHandler;
|
|
17
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCardComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsCardComponent, "ids-card,div[idsCard],article[idsCard],aside[idsCard],section[idsCard]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, ["*", "ids-card-footer,footer[idsCardFooter]"], true, never>;
|
|
21
|
+
}
|
package/card/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './types/card-appearances.type';
|
|
2
|
+
export * from './types/card-variant.type';
|
|
3
|
+
export * from './card-body.directive';
|
|
4
|
+
export * from './card-defaults';
|
|
5
|
+
export * from './card-footer.directive';
|
|
6
|
+
export * from './card-header.component';
|
|
7
|
+
export * from './card-media.directive';
|
|
8
|
+
export * from './card-subtitle.directive';
|
|
9
|
+
export * from './card-title.directive';
|
|
10
|
+
export * from './card.component';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const IdsCardVariant: {
|
|
2
|
+
readonly PRIMARY: "primary";
|
|
3
|
+
readonly SECONDARY: "secondary";
|
|
4
|
+
readonly SURFACE: "surface";
|
|
5
|
+
readonly BRAND: "brand";
|
|
6
|
+
readonly LIGHT: "light";
|
|
7
|
+
readonly DARK: "dark";
|
|
8
|
+
readonly INFO: "info";
|
|
9
|
+
readonly SUCCESS: "success";
|
|
10
|
+
readonly WARNING: "warning";
|
|
11
|
+
readonly ERROR: "error";
|
|
12
|
+
};
|
|
13
|
+
export type IdsCardVariantType = (typeof IdsCardVariant)[keyof typeof IdsCardVariant];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IdsCheckboxVariantType } from './types/checkbox-variant.type';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsSizeType } from '@i-cell/ids-angular/core';
|
|
4
|
+
export interface IdsCheckboxDefaultConfig {
|
|
5
|
+
size?: IdsSizeType;
|
|
6
|
+
variant?: IdsCheckboxVariantType;
|
|
7
|
+
}
|
|
8
|
+
export declare const IDS_CHECKBOX_DEFAULT_CONFIG: InjectionToken<IdsCheckboxDefaultConfig>;
|
|
9
|
+
export declare function IDS_CHECKBOX_DEFAULT_CONFIG_FACTORY(): Required<IdsCheckboxDefaultConfig>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IdsCheckboxDefaultConfig } from './checkbox-defaults';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsOrientationType } from '@i-cell/ids-angular/core';
|
|
4
|
+
export interface IdsCheckboxGroupDefaultConfig extends IdsCheckboxDefaultConfig {
|
|
5
|
+
orientation: IdsOrientationType;
|
|
6
|
+
allowParent: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const IDS_CHECKBOX_GROUP_DEFAULT_CONFIG: InjectionToken<IdsCheckboxGroupDefaultConfig>;
|
|
9
|
+
export declare function IDS_CHECKBOX_GROUP_DEFAULT_CONFIG_FACTORY(): Required<IdsCheckboxGroupDefaultConfig>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IdsCheckboxGroupDefaultConfig } from './checkbox-group-defaults';
|
|
2
|
+
import { IdsCheckBoxChangeEvent } from './types/checkbox-events.class';
|
|
3
|
+
import { IdsCheckboxParent } from './types/checkbox-parent';
|
|
4
|
+
import { IdsCheckboxVariantType } from './types/checkbox-variant.type';
|
|
5
|
+
import { ComponentBaseWithDefaults, IdsOrientationType, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class IdsCheckboxGroupComponent extends ComponentBaseWithDefaults<IdsCheckboxGroupDefaultConfig> implements IdsCheckboxParent {
|
|
8
|
+
protected get _hostName(): string;
|
|
9
|
+
protected readonly _defaultConfig: Required<IdsCheckboxGroupDefaultConfig>;
|
|
10
|
+
private _childCheckboxes;
|
|
11
|
+
groupLabel: import("@angular/core").InputSignal<string>;
|
|
12
|
+
allowParent: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
parentCheckboxLabel: import("@angular/core").InputSignal<string>;
|
|
14
|
+
name: import("@angular/core").InputSignal<string | undefined>;
|
|
15
|
+
size: import("@angular/core").InputSignal<IdsSizeType | null>;
|
|
16
|
+
variant: import("@angular/core").InputSignal<IdsCheckboxVariantType | null>;
|
|
17
|
+
orientation: import("@angular/core").InputSignal<IdsOrientationType | null>;
|
|
18
|
+
protected _groupLabelId: import("@angular/core").Signal<string>;
|
|
19
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
20
|
+
protected _parentCheckboxChecked: import("@angular/core").Signal<boolean>;
|
|
21
|
+
protected _parentCheckboxIndeterminate: import("@angular/core").Signal<boolean>;
|
|
22
|
+
private _invalidParentOrientation;
|
|
23
|
+
selectAllChild(): void;
|
|
24
|
+
deselectAllChild(): void;
|
|
25
|
+
protected _handleParentChange(event: IdsCheckBoxChangeEvent): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCheckboxGroupComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsCheckboxGroupComponent, "ids-checkbox-group", never, { "groupLabel": { "alias": "label"; "required": false; "isSignal": true; }; "allowParent": { "alias": "allowParent"; "required": false; "isSignal": true; }; "parentCheckboxLabel": { "alias": "parentLabel"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; }, {}, ["_childCheckboxes"], ["ids-checkbox"], true, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { IdsCheckboxDefaultConfig } from './checkbox-defaults';
|
|
2
|
+
import { IdsCheckBoxChangeEvent } from './types/checkbox-events.class';
|
|
3
|
+
import { IdsCheckboxGroupChild } from './types/checkbox-group-child';
|
|
4
|
+
import { IdsCheckboxVariantType } from './types/checkbox-variant.type';
|
|
5
|
+
import { AfterViewInit, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
7
|
+
import { ComponentBaseWithDefaults, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class IdsCheckboxComponent extends ComponentBaseWithDefaults<IdsCheckboxDefaultConfig> implements OnInit, OnChanges, AfterViewInit, ControlValueAccessor, IdsCheckboxGroupChild {
|
|
10
|
+
protected get _hostName(): string;
|
|
11
|
+
private readonly _injector;
|
|
12
|
+
private readonly _changeDetectorRef;
|
|
13
|
+
protected readonly _defaultConfig: Required<IdsCheckboxDefaultConfig>;
|
|
14
|
+
private _checkboxGroup;
|
|
15
|
+
private _checkboxState;
|
|
16
|
+
inputId: import("@angular/core").Signal<string>;
|
|
17
|
+
name: import("@angular/core").InputSignal<string | null | undefined>;
|
|
18
|
+
required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
19
|
+
readonly: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
21
|
+
tabIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
22
|
+
value: import("@angular/core").InputSignal<unknown>;
|
|
23
|
+
variant: import("@angular/core").InputSignal<IdsCheckboxVariantType>;
|
|
24
|
+
checked: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
indeterminate: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
27
|
+
ariaLabelledby: import("@angular/core").InputSignal<string | null>;
|
|
28
|
+
ariaDescribedby: import("@angular/core").InputSignal<string>;
|
|
29
|
+
disabled: import("@angular/core").ModelSignal<boolean>;
|
|
30
|
+
isChecked: import("@angular/core").Signal<boolean>;
|
|
31
|
+
isIndeterminate: import("@angular/core").Signal<boolean>;
|
|
32
|
+
isFocusable: import("@angular/core").Signal<boolean>;
|
|
33
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
34
|
+
protected _nativeValue: import("@angular/core").Signal<string | undefined>;
|
|
35
|
+
private _parentOrSelfSize;
|
|
36
|
+
private _parentOrSelfVariant;
|
|
37
|
+
private _onChange;
|
|
38
|
+
private _onTouched;
|
|
39
|
+
controlDir: NgControl | null;
|
|
40
|
+
readonly change: import("@angular/core").OutputEmitterRef<IdsCheckBoxChangeEvent>;
|
|
41
|
+
readonly indeterminateChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
42
|
+
private _inputElement;
|
|
43
|
+
private _hintMessages;
|
|
44
|
+
private _errorMessages;
|
|
45
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
46
|
+
ngOnInit(): void;
|
|
47
|
+
ngAfterViewInit(): void;
|
|
48
|
+
focus(): void;
|
|
49
|
+
writeValue(value: boolean): void;
|
|
50
|
+
registerOnChange(fn: () => void): void;
|
|
51
|
+
registerOnTouched(fn: () => unknown): void;
|
|
52
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
53
|
+
protected _createChangeEvent(isChecked: boolean, value: unknown): IdsCheckBoxChangeEvent;
|
|
54
|
+
private _emitChangeEvent;
|
|
55
|
+
toggle(): void;
|
|
56
|
+
select(): void;
|
|
57
|
+
deselect(): void;
|
|
58
|
+
private _handleInputClick;
|
|
59
|
+
onBlur(): void;
|
|
60
|
+
private _syncChecked;
|
|
61
|
+
private _syncIndeterminate;
|
|
62
|
+
onInputClick(): void;
|
|
63
|
+
onTouchTargetClick(): void;
|
|
64
|
+
get displayedMessages(): 'error' | 'hint' | undefined;
|
|
65
|
+
get hasRequiredValidator(): boolean;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsCheckboxComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsCheckboxComponent, "ids-checkbox", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "change": "change"; "indeterminateChange": "indeterminateChange"; }, ["_hintMessages", "_errorMessages"], ["*", "ids-error-message", "ids-hint-message"], true, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './types/checkbox-events.class';
|
|
2
|
+
export * from './types/checkbox-state.type';
|
|
3
|
+
export * from './types/checkbox-variant.type';
|
|
4
|
+
export * from './checkbox-defaults';
|
|
5
|
+
export * from './checkbox-group-defaults';
|
|
6
|
+
export * from './checkbox-group.component';
|
|
7
|
+
export * from './checkbox.component';
|