@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/package.json
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@i-cell/ids-angular",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "i-Cell Design System UI Kit components for Angular",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"registry": "https://registry.npmjs.org/",
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/i-Cell-Mobilsoft-Open-Source/ids-angular.git"
|
|
13
|
+
},
|
|
14
|
+
"contributors": [
|
|
15
|
+
"Barsi Balázs",
|
|
16
|
+
"Bátori László",
|
|
17
|
+
"Nagy Gábor",
|
|
18
|
+
"Soós Árpád"
|
|
19
|
+
],
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/i-Cell-Mobilsoft-Open-Source/ids-angular/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/i-Cell-Mobilsoft-Open-Source/ids-angular#readme",
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"@angular/animations": "^19.1.2",
|
|
27
|
+
"@angular/cdk": "^19.1.0",
|
|
28
|
+
"@angular/common": "^19.1.2",
|
|
29
|
+
"@angular/core": "^19.1.2",
|
|
30
|
+
"@angular/forms": "^19.1.2",
|
|
31
|
+
"@angular/platform-browser": "^19.1.2",
|
|
32
|
+
"@angular/router": "^19.1.2"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"tslib": "^2.3.0"
|
|
36
|
+
},
|
|
37
|
+
"sideEffects": false,
|
|
38
|
+
"module": "fesm2022/i-cell-ids-angular.mjs",
|
|
39
|
+
"typings": "index.d.ts",
|
|
40
|
+
"exports": {
|
|
41
|
+
"./package.json": {
|
|
42
|
+
"default": "./package.json"
|
|
43
|
+
},
|
|
44
|
+
".": {
|
|
45
|
+
"types": "./index.d.ts",
|
|
46
|
+
"default": "./fesm2022/i-cell-ids-angular.mjs"
|
|
47
|
+
},
|
|
48
|
+
"./accordion": {
|
|
49
|
+
"types": "./accordion/index.d.ts",
|
|
50
|
+
"default": "./fesm2022/i-cell-ids-angular-accordion.mjs"
|
|
51
|
+
},
|
|
52
|
+
"./card": {
|
|
53
|
+
"types": "./card/index.d.ts",
|
|
54
|
+
"default": "./fesm2022/i-cell-ids-angular-card.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./avatar": {
|
|
57
|
+
"types": "./avatar/index.d.ts",
|
|
58
|
+
"default": "./fesm2022/i-cell-ids-angular-avatar.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./button": {
|
|
61
|
+
"types": "./button/index.d.ts",
|
|
62
|
+
"default": "./fesm2022/i-cell-ids-angular-button.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./chip": {
|
|
65
|
+
"types": "./chip/index.d.ts",
|
|
66
|
+
"default": "./fesm2022/i-cell-ids-angular-chip.mjs"
|
|
67
|
+
},
|
|
68
|
+
"./core": {
|
|
69
|
+
"types": "./core/index.d.ts",
|
|
70
|
+
"default": "./fesm2022/i-cell-ids-angular-core.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./checkbox": {
|
|
73
|
+
"types": "./checkbox/index.d.ts",
|
|
74
|
+
"default": "./fesm2022/i-cell-ids-angular-checkbox.mjs"
|
|
75
|
+
},
|
|
76
|
+
"./dialog": {
|
|
77
|
+
"types": "./dialog/index.d.ts",
|
|
78
|
+
"default": "./fesm2022/i-cell-ids-angular-dialog.mjs"
|
|
79
|
+
},
|
|
80
|
+
"./divider": {
|
|
81
|
+
"types": "./divider/index.d.ts",
|
|
82
|
+
"default": "./fesm2022/i-cell-ids-angular-divider.mjs"
|
|
83
|
+
},
|
|
84
|
+
"./forms": {
|
|
85
|
+
"types": "./forms/index.d.ts",
|
|
86
|
+
"default": "./fesm2022/i-cell-ids-angular-forms.mjs"
|
|
87
|
+
},
|
|
88
|
+
"./icon": {
|
|
89
|
+
"types": "./icon/index.d.ts",
|
|
90
|
+
"default": "./fesm2022/i-cell-ids-angular-icon.mjs"
|
|
91
|
+
},
|
|
92
|
+
"./icon-button": {
|
|
93
|
+
"types": "./icon-button/index.d.ts",
|
|
94
|
+
"default": "./fesm2022/i-cell-ids-angular-icon-button.mjs"
|
|
95
|
+
},
|
|
96
|
+
"./menu": {
|
|
97
|
+
"types": "./menu/index.d.ts",
|
|
98
|
+
"default": "./fesm2022/i-cell-ids-angular-menu.mjs"
|
|
99
|
+
},
|
|
100
|
+
"./notification": {
|
|
101
|
+
"types": "./notification/index.d.ts",
|
|
102
|
+
"default": "./fesm2022/i-cell-ids-angular-notification.mjs"
|
|
103
|
+
},
|
|
104
|
+
"./overlay-panel": {
|
|
105
|
+
"types": "./overlay-panel/index.d.ts",
|
|
106
|
+
"default": "./fesm2022/i-cell-ids-angular-overlay-panel.mjs"
|
|
107
|
+
},
|
|
108
|
+
"./paginator": {
|
|
109
|
+
"types": "./paginator/index.d.ts",
|
|
110
|
+
"default": "./fesm2022/i-cell-ids-angular-paginator.mjs"
|
|
111
|
+
},
|
|
112
|
+
"./radio": {
|
|
113
|
+
"types": "./radio/index.d.ts",
|
|
114
|
+
"default": "./fesm2022/i-cell-ids-angular-radio.mjs"
|
|
115
|
+
},
|
|
116
|
+
"./segmented-control": {
|
|
117
|
+
"types": "./segmented-control/index.d.ts",
|
|
118
|
+
"default": "./fesm2022/i-cell-ids-angular-segmented-control.mjs"
|
|
119
|
+
},
|
|
120
|
+
"./segmented-control-toggle": {
|
|
121
|
+
"types": "./segmented-control-toggle/index.d.ts",
|
|
122
|
+
"default": "./fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs"
|
|
123
|
+
},
|
|
124
|
+
"./select": {
|
|
125
|
+
"types": "./select/index.d.ts",
|
|
126
|
+
"default": "./fesm2022/i-cell-ids-angular-select.mjs"
|
|
127
|
+
},
|
|
128
|
+
"./snackbar": {
|
|
129
|
+
"types": "./snackbar/index.d.ts",
|
|
130
|
+
"default": "./fesm2022/i-cell-ids-angular-snackbar.mjs"
|
|
131
|
+
},
|
|
132
|
+
"./switch": {
|
|
133
|
+
"types": "./switch/index.d.ts",
|
|
134
|
+
"default": "./fesm2022/i-cell-ids-angular-switch.mjs"
|
|
135
|
+
},
|
|
136
|
+
"./tab": {
|
|
137
|
+
"types": "./tab/index.d.ts",
|
|
138
|
+
"default": "./fesm2022/i-cell-ids-angular-tab.mjs"
|
|
139
|
+
},
|
|
140
|
+
"./table": {
|
|
141
|
+
"types": "./table/index.d.ts",
|
|
142
|
+
"default": "./fesm2022/i-cell-ids-angular-table.mjs"
|
|
143
|
+
},
|
|
144
|
+
"./tag": {
|
|
145
|
+
"types": "./tag/index.d.ts",
|
|
146
|
+
"default": "./fesm2022/i-cell-ids-angular-tag.mjs"
|
|
147
|
+
},
|
|
148
|
+
"./tooltip": {
|
|
149
|
+
"types": "./tooltip/index.d.ts",
|
|
150
|
+
"default": "./fesm2022/i-cell-ids-angular-tooltip.mjs"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IdsPaginatorPageButtonAppearanceType } from './types/paginator-appearance.type';
|
|
2
|
+
import { IdsPaginatorVariantType } from './types/paginator-variant.type';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
export declare const DEFAULT_PAGE_SIZE = 10;
|
|
6
|
+
export declare const MAX_DISPLAYED_ITEM_COUNT = 7;
|
|
7
|
+
export interface IdsPaginatorDefaultConfig {
|
|
8
|
+
pageSize?: number;
|
|
9
|
+
pageSizeOptions?: number[];
|
|
10
|
+
showFirstLastButton?: boolean;
|
|
11
|
+
showPrevNextLabel?: boolean;
|
|
12
|
+
showPageInfo?: boolean;
|
|
13
|
+
showPageButtons?: boolean;
|
|
14
|
+
showAllPages?: boolean;
|
|
15
|
+
maxDisplayedItemCount?: number;
|
|
16
|
+
size?: IdsSizeType;
|
|
17
|
+
variant?: IdsPaginatorVariantType;
|
|
18
|
+
pageButtonAppearance?: IdsPaginatorPageButtonAppearanceType;
|
|
19
|
+
debounceTime: number;
|
|
20
|
+
}
|
|
21
|
+
export declare const IDS_PAGINATOR_DEFAULT_CONFIG: InjectionToken<IdsPaginatorDefaultConfig>;
|
|
22
|
+
export declare function IDS_PAGINATOR_DEFAULT_CONFIG_FACTORY(): Required<IdsPaginatorDefaultConfig>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Optional } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IdsPaginatorIntl {
|
|
5
|
+
readonly changes: Subject<void>;
|
|
6
|
+
nextPageLabel: string;
|
|
7
|
+
previousPageLabel: string;
|
|
8
|
+
nextPageAriaLabel: string;
|
|
9
|
+
previousPageAriaLabel: string;
|
|
10
|
+
firstPageAriaLabel: string;
|
|
11
|
+
lastPageAriaLabel: string;
|
|
12
|
+
getPageAriaLabel: (page: string) => string;
|
|
13
|
+
getRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsPaginatorIntl, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IdsPaginatorIntl>;
|
|
16
|
+
}
|
|
17
|
+
/** @docs-private */
|
|
18
|
+
export declare function IDS_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl?: IdsPaginatorIntl): IdsPaginatorIntl;
|
|
19
|
+
/** @docs-private */
|
|
20
|
+
export declare const IDS_PAGINATOR_INTL_PROVIDER: {
|
|
21
|
+
provide: typeof IdsPaginatorIntl;
|
|
22
|
+
deps: Optional[][];
|
|
23
|
+
useFactory: typeof IDS_PAGINATOR_INTL_PROVIDER_FACTORY;
|
|
24
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { IdsPaginatorDefaultConfig } from './paginator-defaults';
|
|
2
|
+
import { IdsPaginatorIntl } from './paginator-intl';
|
|
3
|
+
import { IdsPaginatorPageChangeEvent } from './types/paginator-events.class';
|
|
4
|
+
import { IdsPaginatorVariantType } from './types/paginator-variant.type';
|
|
5
|
+
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class IdsPaginatorComponent extends ComponentBaseWithDefaults<IdsPaginatorDefaultConfig> {
|
|
8
|
+
protected get _hostName(): string;
|
|
9
|
+
private readonly _changeDetectorRef;
|
|
10
|
+
private readonly _hostElementRef;
|
|
11
|
+
protected readonly _defaultConfig: Required<IdsPaginatorDefaultConfig>;
|
|
12
|
+
private _pageEventDebouncer;
|
|
13
|
+
readonly intl: IdsPaginatorIntl;
|
|
14
|
+
pageSize: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
15
|
+
pageSizeOptions: import("@angular/core").InputSignal<number[]>;
|
|
16
|
+
showFirstLastButton: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
showPrevNextLabel: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
showPageInfo: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
showPageButtons: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
showAllPages: import("@angular/core").InputSignal<boolean>;
|
|
21
|
+
maxDisplayedItemCount: import("@angular/core").InputSignal<number>;
|
|
22
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
23
|
+
variant: import("@angular/core").InputSignal<IdsPaginatorVariantType>;
|
|
24
|
+
pageButtonAppearance: import("@angular/core").InputSignal<"plain">;
|
|
25
|
+
/** The total number of items that are being paginated. */
|
|
26
|
+
length: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
27
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
28
|
+
compactLayout: import("@angular/core").InputSignal<boolean>;
|
|
29
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
30
|
+
pageButtonClasses: import("@angular/core").Signal<string>;
|
|
31
|
+
safePageSizeData: import("@angular/core").Signal<{
|
|
32
|
+
safePageSizeOptions: number[];
|
|
33
|
+
safePageSize: number;
|
|
34
|
+
}>;
|
|
35
|
+
pageButtonIdPrefix: import("@angular/core").Signal<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The index (0 based!) of the currently selected page.
|
|
38
|
+
*
|
|
39
|
+
* Usage note (!):
|
|
40
|
+
* In case paging initiates an async process to update the data and an error occurs the pageIndex needs to be reset to the previous value from the outside.
|
|
41
|
+
* If `pageIndex` is only 1-way bound (input) the model signal's value won't be updated, it needs 2-way binding!
|
|
42
|
+
* Possible cause: https://github.com/angular/angular/issues/57124
|
|
43
|
+
*/
|
|
44
|
+
pageIndex: import("@angular/core").ModelSignal<number>;
|
|
45
|
+
private _pageIndexValidation;
|
|
46
|
+
protected _pageIndex: import("@angular/core").Signal<number>;
|
|
47
|
+
private _numberOfPages;
|
|
48
|
+
private _hasPreviousPage;
|
|
49
|
+
private _hasNextPage;
|
|
50
|
+
isPreviousButtonDisabled: import("@angular/core").Signal<boolean>;
|
|
51
|
+
isNextButtonDisabled: import("@angular/core").Signal<boolean>;
|
|
52
|
+
pageButtonLabels: import("@angular/core").Signal<string[]>;
|
|
53
|
+
pageChanged: import("@angular/core").OutputEmitterRef<IdsPaginatorPageChangeEvent>;
|
|
54
|
+
private _handleKeyDown;
|
|
55
|
+
constructor();
|
|
56
|
+
private _getSafePageSizeData;
|
|
57
|
+
private _getPageButtonLabels;
|
|
58
|
+
private _getTruncatedPageLabels;
|
|
59
|
+
stepNextPage(): void;
|
|
60
|
+
stepPreviousPage(): void;
|
|
61
|
+
stepFirstPage(): void;
|
|
62
|
+
stepLastPage(): void;
|
|
63
|
+
stepPage(pageIndex: number): void;
|
|
64
|
+
private _debouncePageEvent;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsPaginatorComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsPaginatorComponent, "ids-paginator", never, { "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showFirstLastButton": { "alias": "showFirstLastButton"; "required": false; "isSignal": true; }; "showPrevNextLabel": { "alias": "showPrevNextLabel"; "required": false; "isSignal": true; }; "showPageInfo": { "alias": "showPageInfo"; "required": false; "isSignal": true; }; "showPageButtons": { "alias": "showPageButtons"; "required": false; "isSignal": true; }; "showAllPages": { "alias": "showAllPages"; "required": false; "isSignal": true; }; "maxDisplayedItemCount": { "alias": "maxDisplayedItemCount"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "pageButtonAppearance": { "alias": "pageButtonAppearance"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "compactLayout": { "alias": "compactLayout"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; }, { "pageIndex": "pageIndexChange"; "pageChanged": "pageChanged"; }, never, never, true, never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const IdsPaginatorVariant: {
|
|
2
|
+
readonly PRIMARY: "primary";
|
|
3
|
+
readonly SECONDARY: "secondary";
|
|
4
|
+
readonly SURFACE: "surface";
|
|
5
|
+
readonly LIGHT: "light";
|
|
6
|
+
};
|
|
7
|
+
export type IdsPaginatorVariantType = (typeof IdsPaginatorVariant)[keyof typeof IdsPaginatorVariant];
|
package/public-api.d.ts
ADDED
package/radio/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IdsRadioVariantType } from './types/radio-variant.type';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsOrientationType, IdsPositionType, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
4
|
+
export interface IdsRadioDefaultConfig {
|
|
5
|
+
size?: IdsSizeType;
|
|
6
|
+
variant?: IdsRadioVariantType;
|
|
7
|
+
orientation?: IdsOrientationType;
|
|
8
|
+
labelPosition?: IdsPositionType;
|
|
9
|
+
}
|
|
10
|
+
export declare const IDS_RADIO_DEFAULT_CONFIG: InjectionToken<IdsRadioDefaultConfig>;
|
|
11
|
+
export declare function IDS_RADIO_DEFAULT_CONFIG_FACTORY(): Required<IdsRadioDefaultConfig>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { IdsRadioDefaultConfig } from './radio-defaults';
|
|
2
|
+
import { IdsRadioComponent } from './radio.component';
|
|
3
|
+
import { IdsRadioChangeEvent } from './types/radio-events.class';
|
|
4
|
+
import { IdsRadioVariantType } from './types/radio-variant.type';
|
|
5
|
+
import { AfterContentInit, OnInit } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import { IdsOrientationType, IdsPositionType, IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class IdsRadioGroupDirective extends ComponentBaseWithDefaults<IdsRadioDefaultConfig> implements OnInit, AfterContentInit, ControlValueAccessor {
|
|
10
|
+
protected get _hostName(): string;
|
|
11
|
+
protected readonly _defaultConfig: Required<IdsRadioDefaultConfig>;
|
|
12
|
+
private _selectionModel?;
|
|
13
|
+
private _rawValue;
|
|
14
|
+
private _items;
|
|
15
|
+
name: import("@angular/core").InputSignal<string>;
|
|
16
|
+
required: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
18
|
+
variant: import("@angular/core").InputSignal<IdsRadioVariantType>;
|
|
19
|
+
orientation: import("@angular/core").InputSignal<IdsOrientationType>;
|
|
20
|
+
labelPosition: import("@angular/core").InputSignal<IdsPositionType>;
|
|
21
|
+
isDisabled: import("@angular/core").WritableSignal<boolean>;
|
|
22
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
23
|
+
private _onChange;
|
|
24
|
+
private _onTouched;
|
|
25
|
+
valueCompareFn?: (o1: IdsRadioComponent, o2: IdsRadioComponent) => boolean;
|
|
26
|
+
set disabled(value: boolean);
|
|
27
|
+
readonly itemChanges: import("@angular/core").OutputEmitterRef<IdsRadioChangeEvent>;
|
|
28
|
+
private _handleKeyDown;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
ngAfterContentInit(): void;
|
|
31
|
+
writeValue(value: unknown | unknown[]): void;
|
|
32
|
+
registerOnChange(fn: () => void): void;
|
|
33
|
+
registerOnTouched(fn: () => unknown): void;
|
|
34
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
35
|
+
private _subscribeItemChanges;
|
|
36
|
+
private _handleItemChanges;
|
|
37
|
+
private _setSelectionByValue;
|
|
38
|
+
private _selectValue;
|
|
39
|
+
private _clearSelection;
|
|
40
|
+
private _handleChange;
|
|
41
|
+
isItemPreSelectedByValue(itemValue: unknown): boolean;
|
|
42
|
+
private _hasInvalidLabelPosition;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsRadioGroupDirective, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsRadioGroupDirective, "ids-radio-group", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "required": { "alias": "required"; "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; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "valueCompareFn": { "alias": "valueCompareFn"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "itemChanges": "itemChanges"; }, ["_items"], never, true, never>;
|
|
45
|
+
static ngAcceptInputType_disabled: unknown;
|
|
46
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { IdsRadioChangeEvent } from './types/radio-events.class';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { ComponentBase } from '@i-cell/ids-angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IdsRadioComponent extends ComponentBase implements OnInit {
|
|
6
|
+
protected get _hostName(): string;
|
|
7
|
+
private _group;
|
|
8
|
+
selected: import("@angular/core").WritableSignal<boolean>;
|
|
9
|
+
inputId: import("@angular/core").InputSignal<string>;
|
|
10
|
+
value: import("@angular/core").InputSignal<unknown>;
|
|
11
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
12
|
+
ariaLabelledBy: import("@angular/core").InputSignal<string>;
|
|
13
|
+
ariaDescribedBy: import("@angular/core").InputSignal<string>;
|
|
14
|
+
tabIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
15
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
isDisabled: import("@angular/core").Signal<boolean | undefined>;
|
|
17
|
+
name: import("@angular/core").Signal<string | undefined>;
|
|
18
|
+
required: import("@angular/core").Signal<boolean | undefined>;
|
|
19
|
+
ariaChecked: import("@angular/core").Signal<boolean>;
|
|
20
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
21
|
+
private _inputElement;
|
|
22
|
+
readonly changes: import("@angular/core").OutputEmitterRef<IdsRadioChangeEvent>;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
onChange(): void;
|
|
25
|
+
touchTargetClick(): void;
|
|
26
|
+
innerCircleClick(): void;
|
|
27
|
+
focus(options?: FocusOptions): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsRadioComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsRadioComponent, "ids-radio", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "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; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, never, ["*"], true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './types/segmented-control-appearance.type';
|
|
2
|
+
export * from './types/segmented-control-item-change.class';
|
|
3
|
+
export * from './types/segmented-control-variant.type';
|
|
4
|
+
export * from './segmented-control-item.component';
|
|
5
|
+
export * from './segmented-control-defaults';
|
|
6
|
+
export * from './segmented-control.directive';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IdsSegmentedControlAppearanceType } from './types/segmented-control-appearance.type';
|
|
2
|
+
import { IdsSegmentedControlVariantType } from './types/segmented-control-variant.type';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
export interface IdsSegmentedControlDefaultConfig {
|
|
6
|
+
appearance?: IdsSegmentedControlAppearanceType;
|
|
7
|
+
size?: IdsSizeType;
|
|
8
|
+
variant?: IdsSegmentedControlVariantType;
|
|
9
|
+
}
|
|
10
|
+
export declare const IDS_SEGMENTED_CONTROL_DEFAULT_CONFIG: InjectionToken<IdsSegmentedControlDefaultConfig>;
|
|
11
|
+
export declare function IDS_SEGMENTED_CONTROL_DEFAULT_CONFIG_FACTORY(): Required<IdsSegmentedControlDefaultConfig>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IdsSegmentedControlDirective } from './segmented-control.directive';
|
|
2
|
+
import { IdsSegmentedControlItemChange } from './types/segmented-control-item-change.class';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
4
|
+
import { ComponentBase } from '@i-cell/ids-angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class IdsSegmentedControlItemComponent extends ComponentBase implements OnInit {
|
|
7
|
+
protected get _hostName(): string;
|
|
8
|
+
protected readonly _group: IdsSegmentedControlDirective | null;
|
|
9
|
+
private _buttonElement;
|
|
10
|
+
selected: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
name: import("@angular/core").InputSignal<string | undefined>;
|
|
12
|
+
value: import("@angular/core").InputSignal<unknown>;
|
|
13
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
15
|
+
ariaLabelledBy: import("@angular/core").InputSignal<string>;
|
|
16
|
+
tabIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
17
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
protected _buttonId: import("@angular/core").Signal<string>;
|
|
19
|
+
protected _parentOrSelfDisabled: import("@angular/core").Signal<boolean | undefined>;
|
|
20
|
+
protected _multiSelect: import("@angular/core").Signal<boolean | undefined>;
|
|
21
|
+
protected _ariaPressed: import("@angular/core").Signal<boolean | null>;
|
|
22
|
+
protected _ariaChecked: import("@angular/core").Signal<boolean | null>;
|
|
23
|
+
protected _role: import("@angular/core").Signal<"button" | "radio">;
|
|
24
|
+
protected _buttonName: import("@angular/core").Signal<string | undefined>;
|
|
25
|
+
protected _buttonClasses: import("@angular/core").Signal<string | null>;
|
|
26
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
27
|
+
readonly changes: import("@angular/core").OutputEmitterRef<IdsSegmentedControlItemChange>;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
onClick(): void;
|
|
30
|
+
focus(options?: FocusOptions): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsSegmentedControlItemComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsSegmentedControlItemComponent, "ids-segmented-control-item", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labeledby"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, never, ["ids-icon", "[suffixContent]"], true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IdsSegmentedControlDefaultConfig } from './segmented-control-defaults';
|
|
2
|
+
import { IdsSegmentedControlItemComponent } from './segmented-control-item.component';
|
|
3
|
+
import { IdsSegmentedControlItemChange } from './types/segmented-control-item-change.class';
|
|
4
|
+
import { IdsSegmentedControlVariantType } from './types/segmented-control-variant.type';
|
|
5
|
+
import { AfterContentInit, OnInit } from '@angular/core';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import { ComponentBaseWithDefaults, IdsSizeType } from '@i-cell/ids-angular/core';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class IdsSegmentedControlDirective extends ComponentBaseWithDefaults<IdsSegmentedControlDefaultConfig> implements AfterContentInit, OnInit, ControlValueAccessor {
|
|
10
|
+
protected get _hostName(): string;
|
|
11
|
+
protected readonly _defaultConfig: Required<IdsSegmentedControlDefaultConfig>;
|
|
12
|
+
private _selectionModel?;
|
|
13
|
+
private _rawValue;
|
|
14
|
+
private _items;
|
|
15
|
+
name: import("@angular/core").InputSignal<string | undefined>;
|
|
16
|
+
size: import("@angular/core").InputSignal<IdsSizeType>;
|
|
17
|
+
variant: import("@angular/core").InputSignal<IdsSegmentedControlVariantType>;
|
|
18
|
+
appearance: import("@angular/core").InputSignal<"outlined">;
|
|
19
|
+
multiSelect: import("@angular/core").InputSignal<boolean>;
|
|
20
|
+
disabled: import("@angular/core").WritableSignal<boolean>;
|
|
21
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
22
|
+
private _onChange;
|
|
23
|
+
private _onTouched;
|
|
24
|
+
valueCompareFn?: (o1: IdsSegmentedControlItemComponent, o2: IdsSegmentedControlItemComponent) => boolean;
|
|
25
|
+
readonly itemChanges: import("@angular/core").OutputEmitterRef<IdsSegmentedControlItemChange>;
|
|
26
|
+
private _handleKeyDown;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterContentInit(): void;
|
|
29
|
+
writeValue(value: unknown | unknown[]): void;
|
|
30
|
+
registerOnChange(fn: () => void): void;
|
|
31
|
+
registerOnTouched(fn: () => unknown): void;
|
|
32
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
33
|
+
private _subscribeItemChanges;
|
|
34
|
+
private _handleItemChanges;
|
|
35
|
+
private _setSelectionByValue;
|
|
36
|
+
private _selectValue;
|
|
37
|
+
private _clearSelection;
|
|
38
|
+
private _handleChange;
|
|
39
|
+
isItemPreSelectedByValue(itemValue: unknown): boolean;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsSegmentedControlDirective, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IdsSegmentedControlDirective, "ids-segmented-control[ngModel]:not([formControl]):not([formControlName]), ids-segmented-control[formControl]:not([ngModel]):not([formControlName]), ids-segmented-control[formControlName]:not([ngModel]):not([formControl])", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "multiSelect": { "alias": "multiSelect"; "required": false; "isSignal": true; }; "valueCompareFn": { "alias": "valueCompareFn"; "required": false; }; }, { "itemChanges": "itemChanges"; }, ["_items"], never, true, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IdsSegmentedControlItemComponent } from '../segmented-control-item.component';
|
|
2
|
+
export declare class IdsSegmentedControlItemChange {
|
|
3
|
+
source: IdsSegmentedControlItemComponent;
|
|
4
|
+
selected: boolean;
|
|
5
|
+
value: unknown;
|
|
6
|
+
constructor(source: IdsSegmentedControlItemComponent, selected: boolean, value: unknown);
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './types/segmented-control-toggle-appearance.type';
|
|
2
|
+
export * from './types/segmented-control-toggle-item-change.class';
|
|
3
|
+
export * from './types//segmented-control-toggle-variant.type';
|
|
4
|
+
export * from './segmented-control-toggle-item.component';
|
|
5
|
+
export * from './segmented-control-toggle-defaults';
|
|
6
|
+
export * from './segmented-control-toggle.directive';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IdsSegmentedControlToggleAppearanceType } from './types/segmented-control-toggle-appearance.type';
|
|
2
|
+
import { IdsSegmentedControlToggleButtonVariantType, IdsSegmentedControlToggleVariantType } from './types/segmented-control-toggle-variant.type';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
import { IdsSizeType } from '@i-cell/ids-angular/core';
|
|
5
|
+
export interface IdsSegmentedControlToggleDefaultConfig {
|
|
6
|
+
appearance?: IdsSegmentedControlToggleAppearanceType;
|
|
7
|
+
size?: IdsSizeType;
|
|
8
|
+
variant?: IdsSegmentedControlToggleVariantType;
|
|
9
|
+
buttonVariant?: IdsSegmentedControlToggleButtonVariantType;
|
|
10
|
+
}
|
|
11
|
+
export declare const IDS_SEGMENTED_CONTROL_TOGGLE_DEFAULT_CONFIG: InjectionToken<IdsSegmentedControlToggleDefaultConfig>;
|
|
12
|
+
export declare function IDS_SEGMENTED_CONTROL_TOGGLE_DEFAULT_CONFIG_FACTORY(): Required<IdsSegmentedControlToggleDefaultConfig>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IdsSegmentedControlToggleItemChange } from './types/segmented-control-toggle-item-change.class';
|
|
2
|
+
import { IdsSegmentedControlToggleDirective } from '../segmented-control-toggle/segmented-control-toggle.directive';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
4
|
+
import { ComponentBase } from '@i-cell/ids-angular/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class IdsSegmentedControlToggleItemComponent extends ComponentBase implements OnInit {
|
|
7
|
+
protected get _hostName(): string;
|
|
8
|
+
protected readonly _group: IdsSegmentedControlToggleDirective | null;
|
|
9
|
+
private _buttonElement;
|
|
10
|
+
selected: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
+
name: import("@angular/core").InputSignal<string | undefined>;
|
|
12
|
+
value: import("@angular/core").InputSignal<unknown>;
|
|
13
|
+
label: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
+
ariaLabel: import("@angular/core").InputSignal<string>;
|
|
15
|
+
ariaLabelledBy: import("@angular/core").InputSignal<string>;
|
|
16
|
+
tabIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
17
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
18
|
+
protected _buttonId: import("@angular/core").Signal<string>;
|
|
19
|
+
protected _parentOrSelfDisabled: import("@angular/core").Signal<boolean | undefined>;
|
|
20
|
+
protected _ariaPressed: import("@angular/core").WritableSignal<null>;
|
|
21
|
+
protected _ariaChecked: import("@angular/core").Signal<boolean>;
|
|
22
|
+
protected _role: import("@angular/core").WritableSignal<string>;
|
|
23
|
+
protected _buttonName: import("@angular/core").Signal<string | undefined>;
|
|
24
|
+
protected _buttonClasses: import("@angular/core").Signal<string | null>;
|
|
25
|
+
protected _hostClasses: import("@angular/core").Signal<string>;
|
|
26
|
+
readonly changes: import("@angular/core").OutputEmitterRef<IdsSegmentedControlToggleItemChange>;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
onClick(): void;
|
|
29
|
+
focus(options?: FocusOptions): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdsSegmentedControlToggleItemComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdsSegmentedControlToggleItemComponent, "ids-segmented-control-toggle-item", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labeledby"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "changes": "changes"; }, never, ["ids-icon", "[suffixContent]"], true, never>;
|
|
32
|
+
}
|