@sixbell-telco/sdk 2.0.1 → 2.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/CHANGELOG.md +65 -1
- package/README.md +37 -3
- package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -4
- package/components/audio-player/audio-timeline/audio-timeline.component.d.ts +28 -1
- package/components/audio-player/src/audio-player.component.d.ts +7 -3
- package/components/audio-player/volume-control/volume-control.component.d.ts +28 -1
- package/components/button/src/button.component.d.ts +46 -1
- package/components/data-table/data-table-empty-actions/data-table-empty-actions.component.d.ts +5 -0
- package/components/data-table/public-api.d.ts +1 -0
- package/components/data-table/src/data-table.component.d.ts +11 -3
- package/components/dialog/src/dialog.component.d.ts +51 -5
- package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +2 -1
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +37 -1
- package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +33 -1
- package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +33 -1
- package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +53 -2
- package/components/dropdown/src/dropdown.component.d.ts +2 -2
- package/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.d.ts +2 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +33 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.d.ts +33 -1
- package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +33 -1
- package/components/dropdown-menu/src/directives/dropdown-menu.directive.d.ts +1 -3
- package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts +2 -1
- package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +33 -1
- package/components/dropdown-menu/src/dropdown-menu-sub-content/dropdown-menu-sub-content.component.d.ts +2 -1
- package/components/dual-list/src/dual-list.component.d.ts +3 -2
- package/components/file-upload/file-dropzone/file-dropzone.component.d.ts +46 -1
- package/components/file-upload/file-uploader/file-uploader.component.d.ts +33 -2
- package/components/forms/checkbox/src/checkbox.component.d.ts +46 -2
- package/components/forms/combobox/src/combobox.component.d.ts +40 -5
- package/components/forms/date-picker/src/date-picker.component.d.ts +11 -1
- package/components/forms/form-group/README.md +114 -0
- package/components/forms/form-group/index.d.ts +5 -0
- package/components/forms/form-group/public-api.d.ts +1 -0
- package/components/forms/form-group/src/form-group.component.d.ts +150 -0
- package/components/forms/form-item/README.md +17 -0
- package/components/forms/form-item/index.d.ts +5 -0
- package/components/forms/form-item/public-api.d.ts +1 -0
- package/components/forms/form-item/src/form-item.component.d.ts +5 -0
- package/components/forms/input/src/input.component.d.ts +35 -2
- package/components/forms/radio/src/radio.component.d.ts +46 -2
- package/components/forms/range/src/range.component.d.ts +38 -1
- package/components/forms/select/src/select.component.d.ts +40 -5
- package/components/forms/switch/src/switch.component.d.ts +46 -2
- package/components/forms/textarea/src/textarea.component.d.ts +52 -2
- package/components/forms/toggle/src/toggle.component.d.ts +46 -1
- package/components/overlay/overlay-content/overlay-content.component.d.ts +2 -1
- package/components/overlay/overlay-trigger/overlay-trigger.component.d.ts +37 -5
- package/components/overlay/src/overlay.component.d.ts +4 -5
- package/components/paginator/components/pagination-item/pagination-item.component.d.ts +37 -1
- package/components/tab/directives/tab-content/tab-content.directive.d.ts +3 -4
- package/components/table/public-api.d.ts +1 -0
- package/components/table/src/table.component.d.ts +36 -4
- package/components/table/table-empty-actions/table-empty-actions.component.d.ts +5 -0
- package/components/table/table-header-checkbox/table-header-checkbox.component.d.ts +5 -11
- package/components/table/table-row-checkbox/table-row-checkbox.component.d.ts +5 -11
- package/components/toast/toast-message/toast-message.component.d.ts +42 -1
- package/components/tooltip/src/tooltip.component.d.ts +10 -1
- package/components/wizard/wizard-marker/wizard-marker.component.d.ts +2 -3
- package/directives/auto-focus/src/auto-focus.directive.d.ts +5 -9
- package/directives/click-outside/src/click-outside.directive.d.ts +1 -3
- package/directives/only-numbers/src/only-numbers.directive.d.ts +0 -1
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs +6 -9
- package/fesm2022/sixbell-telco-sdk-components-accordion.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs +126 -46
- package/fesm2022/sixbell-telco-sdk-components-audio-player.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-button.mjs +78 -4
- package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +52 -26
- package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +82 -12
- package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +166 -13
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +69 -21
- package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +283 -16
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +6 -4
- package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs +146 -7
- package/fesm2022/sixbell-telco-sdk-components-file-upload.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs +69 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-checkbox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +96 -19
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +13 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs +159 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-group.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs +20 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-form-item.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +51 -5
- package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs +69 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-radio.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs +57 -4
- package/fesm2022/sixbell-telco-sdk-components-forms-range.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +89 -18
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs +80 -6
- package/fesm2022/sixbell-telco-sdk-components-forms-switch.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs +113 -6
- package/fesm2022/sixbell-telco-sdk-components-forms-textarea.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs +69 -3
- package/fesm2022/sixbell-telco-sdk-components-forms-toggle.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +94 -42
- package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +71 -10
- package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs +5 -9
- package/fesm2022/sixbell-telco-sdk-components-tab.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-table.mjs +131 -47
- package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs +69 -4
- package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs +15 -3
- package/fesm2022/sixbell-telco-sdk-components-tooltip.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs +4 -4
- package/fesm2022/sixbell-telco-sdk-components-wizard.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +16 -19
- package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs +7 -10
- package/fesm2022/sixbell-telco-sdk-directives-click-outside.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs +6 -9
- package/fesm2022/sixbell-telco-sdk-directives-only-numbers.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +7 -12
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +6 -11
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
- package/package.json +52 -44
- package/utils/theme/src/theme-dom/theme-dom.service.d.ts +2 -3
- package/utils/translation/src/translation-dom/translation-dom.service.d.ts +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.1.0] - 2026-02-16
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Audio Player: added activation outputs for timeline/volume interactions
|
|
15
|
+
- Button: added activation outputs and stopPropagation input
|
|
16
|
+
- Checkbox: added activation outputs and stopPropagation input
|
|
17
|
+
- Form Item: added layout wrapper for full-width form error messages
|
|
18
|
+
- Dialog: added activation outputs for close button
|
|
19
|
+
- Dropdown Trigger: added `triggerTabIndex` input to control wrapper focus behavior
|
|
20
|
+
- Dual List: wired search inputs and actions to triggered output
|
|
21
|
+
- File Dropzone: added activation outputs and stopPropagation input
|
|
22
|
+
- File Uploader: added activation outputs and stopPropagation input
|
|
23
|
+
- Form Inputs: added `parentForm` + `formControlName` inputs for switch, toggle, checkbox, and radio
|
|
24
|
+
- Form Inputs: added optional label indicator for input, textarea, select, combobox, datepicker, and range
|
|
25
|
+
- Form Stories: added optional indicator controls to input, textarea, select, combobox, datepicker, and range stories
|
|
26
|
+
- Input: added triggered output and stopPropagation input
|
|
27
|
+
- Overlay: added activation outputs for overlay trigger
|
|
28
|
+
- Overlay Trigger: added `triggerTabIndex` input to control wrapper focus behavior
|
|
29
|
+
- Paginator: added activation outputs for pagination items
|
|
30
|
+
- Radio: added activation outputs and stopPropagation input
|
|
31
|
+
- Range: added activation outputs and stopPropagation input
|
|
32
|
+
- Select: added activation outputs and stopPropagation input
|
|
33
|
+
- Textarea: added triggered output and stopPropagation input
|
|
34
|
+
- Toast: added activation outputs for toast message
|
|
35
|
+
- Toggle: added activation outputs and stopPropagation input
|
|
36
|
+
- Table: added empty-actions slot component for no-results state
|
|
37
|
+
- Data Table: added empty-actions slot component for no-results state
|
|
38
|
+
- Tests - Table: added coverage for empty-state logic, pagination, and checkbox size sync
|
|
39
|
+
- Tests - Data Table: added coverage for empty-state logic and page-size handling
|
|
40
|
+
- Tooltip: added `icon` input for rendering an icon inside the trigger (mirrors Button API)
|
|
41
|
+
- Tooltip: added `iconPosition` input to control icon placement ('left' | 'right')
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- Form Group: updated tight spacing to 6px and set it as the default gap
|
|
46
|
+
- Combobox: added activation outputs and conditional stopPropagation handling
|
|
47
|
+
- Theme: renamed theme translation group to catalog for localized theme labels
|
|
48
|
+
- Form Errors: documented migration to st-form-item for full-width validation messages
|
|
49
|
+
- Data Table: routed header toggles through triggered output
|
|
50
|
+
- Table: updated empty states to show no-data/no-results messaging with configurable icons
|
|
51
|
+
- Table: refreshed footer layout with translated entries-per-page labels and sr-only text
|
|
52
|
+
- Table: synced header and row checkbox sizes with table size
|
|
53
|
+
- Data Table: updated empty state icons to signal inputs and added clear-filters slot support
|
|
54
|
+
- Data Table: added sr-only entries-per-page label for accessibility
|
|
55
|
+
- Dual List: updated header opacity for table headings
|
|
56
|
+
- Tooltip: added host `inline-flex items-center` classes for improved vertical alignment in flex rows
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
|
|
60
|
+
- Tests: aligned activation and stopPropagation expectations for overlay, audio, and data-table
|
|
61
|
+
- Paginator: rendered single-page navigation and clamped page changes to valid ranges
|
|
62
|
+
- Table: restored height input handling for table container sizing
|
|
63
|
+
- Dual List: prevented paginator clipping in constrained grid layouts
|
|
64
|
+
- Tests - Table: fixed header and row checkbox specs to provide host table context
|
|
65
|
+
- Tests - Tooltip: fixed icon rendering test by mocking IconComponent with ng-mocks
|
|
66
|
+
- Dropdown: apply overflow clipping only during opening/closing so box-shadow is not clipped when open (dropdown-trigger animation classes)
|
|
67
|
+
- Dropdown: restored open/close behavior by syncing model state with trigger events
|
|
68
|
+
- Dropdown Trigger: ignored keydown events from nested focus targets to prevent double toggles
|
|
69
|
+
- Overlay Trigger: ignored keydown events from nested focus targets to prevent double toggles
|
|
70
|
+
- Switch: toggled and emitted activation outputs on Enter/Space keydown for keyboard interaction
|
|
71
|
+
- Textarea: moved character counter into the field layout and aligned disabled styling with wrapper backgrounds
|
|
72
|
+
|
|
10
73
|
## [2.0.1] - 2026-02-10
|
|
11
74
|
|
|
12
75
|
### Fixed
|
|
@@ -522,7 +585,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
522
585
|
- **ngx-pagination**: Removed dependency after migrating to internal PaginationPipe
|
|
523
586
|
- **Unused Exports**: Removed unused components and exports from public API
|
|
524
587
|
|
|
525
|
-
[Unreleased]: https://gitlab.com/sixbell/componentes/web/libs/ui-kit/compare/2.0
|
|
588
|
+
[Unreleased]: https://gitlab.com/sixbell/componentes/web/libs/ui-kit/compare/2.1.0...HEAD
|
|
589
|
+
[2.1.0]: https://gitlab.com/sixbell/componentes/web/libs/ui-kit/compare/2.0.1...2.1.0
|
|
526
590
|
[2.0.1]: https://gitlab.com/sixbell/componentes/web/libs/ui-kit/compare/2.0.0...2.0.1
|
|
527
591
|
[2.0.0]: https://gitlab.com/sixbell/componentes/web/libs/ui-kit/compare/1.6.0...2.0.0
|
|
528
592
|
[1.6.0]: https://gitlab.com/sixbell/componentes/web/libs/ui-kit/compare/1.5.0...1.6.0
|
package/README.md
CHANGED
|
@@ -60,6 +60,7 @@ The SDK provides:
|
|
|
60
60
|
| Checkbox | Checkbox input with multiple variants |
|
|
61
61
|
| Combobox | Searchable dropdown with multi-select support |
|
|
62
62
|
| Datepicker | Single and range date selection with time |
|
|
63
|
+
| Form Item | Layout wrapper for fields + full-width errors |
|
|
63
64
|
| Form Error | Error message display for form fields |
|
|
64
65
|
| Input | Text input with variants, icons, and validation |
|
|
65
66
|
| Radio | Radio button group selection |
|
|
@@ -69,6 +70,39 @@ The SDK provides:
|
|
|
69
70
|
| Textarea | Multi-line text input with character count |
|
|
70
71
|
| Toggle | Toggle button for boolean states |
|
|
71
72
|
|
|
73
|
+
### Form Errors Layout
|
|
74
|
+
|
|
75
|
+
For full-width validation messages, wrap each field and its error with `st-form-item` and place `st-form-errors` as a sibling (not inside the field component).
|
|
76
|
+
|
|
77
|
+
```html
|
|
78
|
+
<st-form-item>
|
|
79
|
+
<st-input formControlName="controlInput" label="Input" [parentForm]="form"></st-input>
|
|
80
|
+
<st-form-errors [parentForm]="form" formField="controlInput" />
|
|
81
|
+
</st-form-item>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Migration notes: `projects/sdk/components/forms/form-error/MIGRATION.md`
|
|
85
|
+
|
|
86
|
+
### Optional Label Indicator
|
|
87
|
+
|
|
88
|
+
Form fields can display an optional indicator inline with the legend. Enable it with `showOptional` and customize the text with `optionalText`.
|
|
89
|
+
|
|
90
|
+
```html
|
|
91
|
+
<st-input label="Email" [showOptional]="true" [optionalText]="'sdk.formFields.optional'"></st-input>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Add the translation key to your SDK translations (example shown for English):
|
|
95
|
+
|
|
96
|
+
```json
|
|
97
|
+
{
|
|
98
|
+
"sdk": {
|
|
99
|
+
"formFields": {
|
|
100
|
+
"optional": "Optional"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
72
106
|
### Utility Services
|
|
73
107
|
|
|
74
108
|
| Service | Purpose | Documentation |
|
|
@@ -368,7 +402,7 @@ Store theme and scheme display names in translation files. Create `/assets/theme
|
|
|
368
402
|
{
|
|
369
403
|
"sdk": {
|
|
370
404
|
"theme": {
|
|
371
|
-
"
|
|
405
|
+
"catalog": {
|
|
372
406
|
"sixbell_telco": "Sixbell Telco",
|
|
373
407
|
"custom_theme": "Custom Theme"
|
|
374
408
|
},
|
|
@@ -388,7 +422,7 @@ Store theme and scheme display names in translation files. Create `/assets/theme
|
|
|
388
422
|
{
|
|
389
423
|
"sdk": {
|
|
390
424
|
"theme": {
|
|
391
|
-
"
|
|
425
|
+
"catalog": {
|
|
392
426
|
"sixbell_telco": "Sixbell Telco",
|
|
393
427
|
"custom_theme": "Tema Personalizado"
|
|
394
428
|
},
|
|
@@ -408,7 +442,7 @@ Store theme and scheme display names in translation files. Create `/assets/theme
|
|
|
408
442
|
{
|
|
409
443
|
"sdk": {
|
|
410
444
|
"theme": {
|
|
411
|
-
"
|
|
445
|
+
"catalog": {
|
|
412
446
|
"sixbell_telco": "Sixbell Telco",
|
|
413
447
|
"custom_theme": "Tema Personalizado"
|
|
414
448
|
},
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AccordionComponent } from '../src/accordion.component';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare const accordionItemComponent: (props?: ({
|
|
4
3
|
variant?: "default" | "arrow" | "plus" | null | undefined;
|
|
@@ -8,14 +7,14 @@ export type AccordionItemProps = {
|
|
|
8
7
|
variant?: AccordionVariantProps;
|
|
9
8
|
};
|
|
10
9
|
export declare class AccordionItemComponent {
|
|
11
|
-
private accordion;
|
|
12
10
|
header: import("@angular/core").InputSignal<string>;
|
|
13
11
|
opened: import("@angular/core").InputSignal<boolean>;
|
|
14
12
|
variant: import("@angular/core").InputSignal<AccordionVariantProps>;
|
|
15
13
|
name: string;
|
|
16
14
|
type: string;
|
|
17
|
-
|
|
15
|
+
private readonly accordion;
|
|
16
|
+
constructor();
|
|
18
17
|
componentClass: import("@angular/core").Signal<string>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent,
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
20
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "st-accordion-item", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
21
20
|
}
|
|
@@ -3,6 +3,23 @@ import { AudioPlayerService } from '../services/audio.service';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class AudioTimelineComponent {
|
|
5
5
|
timeline: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
6
|
+
/**
|
|
7
|
+
* Stop event propagation for activation events
|
|
8
|
+
* @defaultValue false
|
|
9
|
+
*/
|
|
10
|
+
stopPropagation: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
* Event emitted on click
|
|
13
|
+
*/
|
|
14
|
+
clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
15
|
+
/**
|
|
16
|
+
* Event emitted on pointer down
|
|
17
|
+
*/
|
|
18
|
+
pointerDown: import("@angular/core").OutputEmitterRef<PointerEvent>;
|
|
19
|
+
/**
|
|
20
|
+
* Event emitted on activation (click or pointer down)
|
|
21
|
+
*/
|
|
22
|
+
triggered: import("@angular/core").OutputEmitterRef<void>;
|
|
6
23
|
audioService: AudioPlayerService;
|
|
7
24
|
isDragging: import("@angular/core").WritableSignal<boolean>;
|
|
8
25
|
isHovered: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -15,6 +32,16 @@ export declare class AudioTimelineComponent {
|
|
|
15
32
|
updateProgress(event: MouseEvent | TouchEvent): void;
|
|
16
33
|
private getClientX;
|
|
17
34
|
seek(event: MouseEvent): void;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
* Handle pointer down activation
|
|
38
|
+
*/
|
|
39
|
+
handlePointerDown(event: PointerEvent): void;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* Handle click activation
|
|
43
|
+
*/
|
|
44
|
+
handleClick(event: MouseEvent): void;
|
|
18
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<AudioTimelineComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AudioTimelineComponent, "st-timeline", never, {}, {}, never, never, true, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AudioTimelineComponent, "st-timeline", never, { "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "pointerDown": "pointerDown"; "triggered": "triggered"; }, never, never, true, never>;
|
|
20
47
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
1
|
import { AudioPlayerService } from '../services/audio.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export interface Track {
|
|
@@ -7,8 +6,9 @@ export interface Track {
|
|
|
7
6
|
url: string;
|
|
8
7
|
}
|
|
9
8
|
export type AudioPlayerVariantProps = 'default' | 'fixed';
|
|
10
|
-
export declare class AudioPlayerComponent
|
|
9
|
+
export declare class AudioPlayerComponent {
|
|
11
10
|
audioPlayerService: AudioPlayerService;
|
|
11
|
+
private readonly destroyRef;
|
|
12
12
|
variant: import("@angular/core").InputSignal<AudioPlayerVariantProps>;
|
|
13
13
|
shadow: import("@angular/core").InputSignal<boolean>;
|
|
14
14
|
opened: import("@angular/core").ModelSignal<boolean>;
|
|
@@ -32,9 +32,13 @@ export declare class AudioPlayerComponent implements OnDestroy {
|
|
|
32
32
|
togglePlay(): Promise<void>;
|
|
33
33
|
previous(): Promise<void>;
|
|
34
34
|
next(): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
* Handles timeline/volume interactions
|
|
38
|
+
*/
|
|
39
|
+
handleInteraction(): void;
|
|
35
40
|
handleOpen(): void;
|
|
36
41
|
handleClose(): void;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<AudioPlayerComponent, never>;
|
|
39
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<AudioPlayerComponent, "st-audio-player", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "tracks": { "alias": "tracks"; "required": false; "isSignal": true; }; "showTrackList": { "alias": "showTrackList"; "required": false; "isSignal": true; }; "currentTrackIndex": { "alias": "currentTrackIndex"; "required": false; "isSignal": true; }; }, { "opened": "openedChange"; "currentTrackIndex": "currentTrackIndexChange"; }, never, never, true, never>;
|
|
40
44
|
}
|
|
@@ -4,6 +4,23 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class VolumeControlComponent {
|
|
5
5
|
volumeTimeline: import("@angular/core").Signal<ElementRef<HTMLAudioElement> | undefined>;
|
|
6
6
|
audioService: AudioPlayerService;
|
|
7
|
+
/**
|
|
8
|
+
* Stop event propagation for activation events
|
|
9
|
+
* @defaultValue false
|
|
10
|
+
*/
|
|
11
|
+
stopPropagation: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
/**
|
|
13
|
+
* Event emitted on click
|
|
14
|
+
*/
|
|
15
|
+
clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
16
|
+
/**
|
|
17
|
+
* Event emitted on pointer down
|
|
18
|
+
*/
|
|
19
|
+
pointerDown: import("@angular/core").OutputEmitterRef<PointerEvent>;
|
|
20
|
+
/**
|
|
21
|
+
* Event emitted on activation (click or pointer down)
|
|
22
|
+
*/
|
|
23
|
+
triggered: import("@angular/core").OutputEmitterRef<void>;
|
|
7
24
|
isVolumeDragging: import("@angular/core").WritableSignal<boolean>;
|
|
8
25
|
isVolumeHovered: import("@angular/core").WritableSignal<boolean>;
|
|
9
26
|
iconVolumeUp: string;
|
|
@@ -18,7 +35,17 @@ export declare class VolumeControlComponent {
|
|
|
18
35
|
private getClientX;
|
|
19
36
|
updateVolume(event: MouseEvent | TouchEvent): void;
|
|
20
37
|
seekVolume(event: MouseEvent): void;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* Handle pointer down activation
|
|
41
|
+
*/
|
|
42
|
+
handlePointerDown(event: PointerEvent): void;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
* Handle click activation
|
|
46
|
+
*/
|
|
47
|
+
handleClick(event: MouseEvent): void;
|
|
21
48
|
toggleMute(): void;
|
|
22
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<VolumeControlComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VolumeControlComponent, "st-volume-control", never, {}, {}, never, never, true, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VolumeControlComponent, "st-volume-control", never, { "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "pointerDown": "pointerDown"; "triggered": "triggered"; }, never, never, true, never>;
|
|
24
51
|
}
|
|
@@ -136,12 +136,57 @@ export declare class ButtonComponent {
|
|
|
136
136
|
* @defaultValue false
|
|
137
137
|
*/
|
|
138
138
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* Stop event propagation for activation events
|
|
141
|
+
* @defaultValue false
|
|
142
|
+
*/
|
|
143
|
+
stopPropagation: import("@angular/core").InputSignal<boolean>;
|
|
144
|
+
/**
|
|
145
|
+
* Event emitted on click
|
|
146
|
+
*/
|
|
147
|
+
clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
148
|
+
/**
|
|
149
|
+
* Event emitted on pointer down
|
|
150
|
+
*/
|
|
151
|
+
pointerDown: import("@angular/core").OutputEmitterRef<PointerEvent>;
|
|
152
|
+
/**
|
|
153
|
+
* Event emitted on Enter keydown
|
|
154
|
+
*/
|
|
155
|
+
keyDownEnter: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
156
|
+
/**
|
|
157
|
+
* Event emitted on Space keydown
|
|
158
|
+
*/
|
|
159
|
+
keyDownSpace: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
160
|
+
/**
|
|
161
|
+
* Event emitted on activation (click or keyboard)
|
|
162
|
+
*/
|
|
163
|
+
triggered: import("@angular/core").OutputEmitterRef<void>;
|
|
139
164
|
/**
|
|
140
165
|
* @internal
|
|
141
166
|
* Computed class string for the button container
|
|
142
167
|
*/
|
|
143
168
|
containerClass: import("@angular/core").Signal<string>;
|
|
144
169
|
linkClass: import("@angular/core").Signal<string>;
|
|
170
|
+
/**
|
|
171
|
+
* @internal
|
|
172
|
+
* Handle click events
|
|
173
|
+
*/
|
|
174
|
+
handleClick(event: MouseEvent): void;
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
* Handle pointer down events
|
|
178
|
+
*/
|
|
179
|
+
handlePointerDown(event: PointerEvent): void;
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
* Handle Enter keydown events
|
|
183
|
+
*/
|
|
184
|
+
handleKeyDownEnter(event: Event): void;
|
|
185
|
+
/**
|
|
186
|
+
* @internal
|
|
187
|
+
* Handle Space keydown events
|
|
188
|
+
*/
|
|
189
|
+
handleKeyDownSpace(event: Event): void;
|
|
145
190
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
146
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "st-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "soft": { "alias": "soft"; "required": false; "isSignal": true; }; "dash": { "alias": "dash"; "required": false; "isSignal": true; }; "wide": { "alias": "wide"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "loader": { "alias": "loader"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "focusable": { "alias": "focusable"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
191
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "st-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "ghost": { "alias": "ghost"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "soft": { "alias": "soft"; "required": false; "isSignal": true; }; "dash": { "alias": "dash"; "required": false; "isSignal": true; }; "wide": { "alias": "wide"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "glass": { "alias": "glass"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "loader": { "alias": "loader"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "focusable": { "alias": "focusable"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "pointerDown": "pointerDown"; "keyDownEnter": "keyDownEnter"; "keyDownSpace": "keyDownSpace"; "triggered": "triggered"; }, never, ["*"], true, never>;
|
|
147
192
|
}
|
package/components/data-table/data-table-empty-actions/data-table-empty-actions.component.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DataTableEmptyActionsComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableEmptyActionsComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableEmptyActionsComponent, "st-data-table-empty-actions", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from '@tanstack/angular-table';
|
|
2
|
+
export * from './data-table-empty-actions/data-table-empty-actions.component';
|
|
2
3
|
export * from './expandable/expandable.component';
|
|
3
4
|
export * from './selection/selection.component';
|
|
4
5
|
export * from './sortable-header/sortable-header.component';
|
|
@@ -44,8 +44,16 @@ export declare const dataTableContent: (props?: ({
|
|
|
44
44
|
export declare class DataTableContainerComponent {
|
|
45
45
|
readonly translationService: TranslateService;
|
|
46
46
|
readonly dataTableContext: DataTableContextService;
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Empty state icon for no data state
|
|
49
|
+
* @defaultValue heroDocumentText
|
|
50
|
+
*/
|
|
51
|
+
noDataIcon: import("@angular/core").InputSignal<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Empty state icon for no results state
|
|
54
|
+
* @defaultValue heroMagnifyingGlass
|
|
55
|
+
*/
|
|
56
|
+
noResultsIcon: import("@angular/core").InputSignal<string>;
|
|
49
57
|
/**
|
|
50
58
|
* Table size variant
|
|
51
59
|
* @defaultValue 'sm'
|
|
@@ -154,5 +162,5 @@ export declare class DataTableContainerComponent {
|
|
|
154
162
|
*/
|
|
155
163
|
readonly containerClass: import("@angular/core").Signal<string>;
|
|
156
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableContainerComponent, never>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableContainerComponent, "st-data-table", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "pinRows": { "alias": "pinRows"; "required": false; "isSignal": true; }; "pinColumns": { "alias": "pinColumns"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "paginatorType": { "alias": "paginatorType"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "hasActiveFiltersCallback": { "alias": "hasActiveFiltersCallback"; "required": false; "isSignal": true; }; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; }, never, ["*"], true, never>;
|
|
165
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataTableContainerComponent, "st-data-table", never, { "noDataIcon": { "alias": "noDataIcon"; "required": false; "isSignal": true; }; "noResultsIcon": { "alias": "noResultsIcon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "pinRows": { "alias": "pinRows"; "required": false; "isSignal": true; }; "pinColumns": { "alias": "pinColumns"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "paginatorType": { "alias": "paginatorType"; "required": false; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "hasActiveFiltersCallback": { "alias": "hasActiveFiltersCallback"; "required": false; "isSignal": true; }; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; }, never, ["st-data-table-empty-actions", "*"], true, never>;
|
|
158
166
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
/** Dropdown X position options for CDK overlay positioning */
|
|
4
4
|
export type DialogXPosition = 'start' | 'center' | 'end';
|
|
@@ -45,14 +45,15 @@ export type DialogProps = {
|
|
|
45
45
|
* </st-dialog>
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
|
-
export declare class DialogComponent
|
|
48
|
+
export declare class DialogComponent {
|
|
49
49
|
/** @internal Content children to detect what's projected */
|
|
50
50
|
private readonly titleComponent;
|
|
51
51
|
private readonly subTitleComponent;
|
|
52
52
|
/** @internal Signals for conditional styling */
|
|
53
53
|
hasTitle: import("@angular/core").WritableSignal<boolean>;
|
|
54
54
|
hasSubTitle: import("@angular/core").WritableSignal<boolean>;
|
|
55
|
-
|
|
55
|
+
private readonly destroyRef;
|
|
56
|
+
private readonly contentEffect;
|
|
56
57
|
/**
|
|
57
58
|
* Specifies the maximum width of the dialog content
|
|
58
59
|
* @defaultValue 'md'
|
|
@@ -77,6 +78,31 @@ export declare class DialogComponent implements AfterContentInit, OnDestroy {
|
|
|
77
78
|
closed: import("@angular/core").OutputEmitterRef<void>;
|
|
78
79
|
/** Event emitted when clicking outside the dialog content */
|
|
79
80
|
clickOutside: import("@angular/core").OutputEmitterRef<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Stop event propagation for activation events
|
|
83
|
+
* @defaultValue false
|
|
84
|
+
*/
|
|
85
|
+
stopPropagation: import("@angular/core").InputSignal<boolean>;
|
|
86
|
+
/**
|
|
87
|
+
* Event emitted on click
|
|
88
|
+
*/
|
|
89
|
+
clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
90
|
+
/**
|
|
91
|
+
* Event emitted on pointer down
|
|
92
|
+
*/
|
|
93
|
+
pointerDown: import("@angular/core").OutputEmitterRef<PointerEvent>;
|
|
94
|
+
/**
|
|
95
|
+
* Event emitted on Enter keydown
|
|
96
|
+
*/
|
|
97
|
+
keyDownEnter: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
98
|
+
/**
|
|
99
|
+
* Event emitted on Space keydown
|
|
100
|
+
*/
|
|
101
|
+
keyDownSpace: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
102
|
+
/**
|
|
103
|
+
* Event emitted on activation (click or keyboard)
|
|
104
|
+
*/
|
|
105
|
+
triggered: import("@angular/core").OutputEmitterRef<void>;
|
|
80
106
|
/** @internal CDK Dialog service */
|
|
81
107
|
private readonly dialog;
|
|
82
108
|
/** @internal CDK Overlay service for positioning */
|
|
@@ -134,13 +160,33 @@ export declare class DialogComponent implements AfterContentInit, OnDestroy {
|
|
|
134
160
|
/**
|
|
135
161
|
* Clean up CDK subscriptions and ensure the overlay is closed when the component is destroyed
|
|
136
162
|
*/
|
|
137
|
-
|
|
163
|
+
private readonly destroyEffect;
|
|
138
164
|
/**
|
|
139
165
|
* Handles the close button click
|
|
140
166
|
* @internal
|
|
141
167
|
*/
|
|
142
168
|
handleCloseClick(): void;
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
* Handle click activation
|
|
172
|
+
*/
|
|
173
|
+
handleClick(event: MouseEvent): void;
|
|
174
|
+
/**
|
|
175
|
+
* @internal
|
|
176
|
+
* Handle pointer down activation
|
|
177
|
+
*/
|
|
178
|
+
handlePointerDown(event: PointerEvent): void;
|
|
179
|
+
/**
|
|
180
|
+
* @internal
|
|
181
|
+
* Handle Enter key activation
|
|
182
|
+
*/
|
|
183
|
+
handleKeyDownEnter(event: Event): void;
|
|
184
|
+
/**
|
|
185
|
+
* @internal
|
|
186
|
+
* Handle Space key activation
|
|
187
|
+
*/
|
|
188
|
+
handleKeyDownSpace(event: Event): void;
|
|
143
189
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
144
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "st-dialog", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "xPosition": { "alias": "xPosition"; "required": false; "isSignal": true; }; "yPosition": { "alias": "yPosition"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; }, { "opened": "openedChange"; "closed": "closed"; "clickOutside": "clickOutside"; }, ["titleComponent", "subTitleComponent"], ["st-dialog-title", "st-dialog-sub-title", "st-dialog-content", "st-dialog-actions"], true, never>;
|
|
190
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "st-dialog", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "xPosition": { "alias": "xPosition"; "required": false; "isSignal": true; }; "yPosition": { "alias": "yPosition"; "required": false; "isSignal": true; }; "opened": { "alias": "opened"; "required": false; "isSignal": true; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; }, { "opened": "openedChange"; "closed": "closed"; "clickOutside": "clickOutside"; "clicked": "clicked"; "pointerDown": "pointerDown"; "keyDownEnter": "keyDownEnter"; "keyDownSpace": "keyDownSpace"; "triggered": "triggered"; }, ["titleComponent", "subTitleComponent"], ["st-dialog-title", "st-dialog-sub-title", "st-dialog-content", "st-dialog-actions"], true, never>;
|
|
145
191
|
}
|
|
146
192
|
export {};
|
|
@@ -18,7 +18,8 @@ import * as i0 from "@angular/core";
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
export declare class DropdownContentComponent {
|
|
21
|
-
|
|
21
|
+
private readonly templateRef;
|
|
22
|
+
get template(): TemplateRef<unknown>;
|
|
22
23
|
/** Custom CSS classes */
|
|
23
24
|
class: import("@angular/core").InputSignal<string>;
|
|
24
25
|
/** Size variant */
|
|
@@ -45,15 +45,51 @@ export declare class DropdownItemComponent {
|
|
|
45
45
|
* Event emitted when the item is selected
|
|
46
46
|
*/
|
|
47
47
|
selected: import("@angular/core").OutputEmitterRef<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Stop event propagation for activation events
|
|
50
|
+
* @defaultValue false
|
|
51
|
+
*/
|
|
52
|
+
stopPropagation: import("@angular/core").InputSignal<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* Event emitted on click
|
|
55
|
+
*/
|
|
56
|
+
clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
57
|
+
/**
|
|
58
|
+
* Event emitted on Enter keydown
|
|
59
|
+
*/
|
|
60
|
+
keyDownEnter: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
61
|
+
/**
|
|
62
|
+
* Event emitted on Space keydown
|
|
63
|
+
*/
|
|
64
|
+
keyDownSpace: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
65
|
+
/**
|
|
66
|
+
* Event emitted on activation (click or keyboard)
|
|
67
|
+
*/
|
|
68
|
+
triggered: import("@angular/core").OutputEmitterRef<void>;
|
|
48
69
|
/**
|
|
49
70
|
* @internal
|
|
50
71
|
* Handles item selection and dropdown state
|
|
51
72
|
*/
|
|
52
73
|
handleSelect(): void;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
* Handle click activation
|
|
77
|
+
*/
|
|
78
|
+
handleClick(event: MouseEvent): void;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
* Handle Enter key activation
|
|
82
|
+
*/
|
|
83
|
+
handleKeyDownEnter(event: Event): void;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* Handle Space key activation
|
|
87
|
+
*/
|
|
88
|
+
handleKeyDownSpace(event: Event): void;
|
|
53
89
|
/**
|
|
54
90
|
* Computed CSS classes for the menu item
|
|
55
91
|
*/
|
|
56
92
|
itemClass: () => string;
|
|
57
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "st-dropdown-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, ["*"], true, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "st-dropdown-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; }, { "selected": "selected"; "clicked": "clicked"; "keyDownEnter": "keyDownEnter"; "keyDownSpace": "keyDownSpace"; "triggered": "triggered"; }, never, ["*"], true, never>;
|
|
59
95
|
}
|
|
@@ -38,6 +38,23 @@ export declare class DropdownItemCheckboxComponent {
|
|
|
38
38
|
* Emitted when the menu item is triggered/clicked
|
|
39
39
|
*/
|
|
40
40
|
triggered: import("@angular/core").OutputEmitterRef<void>;
|
|
41
|
+
/**
|
|
42
|
+
* Stop event propagation for activation events
|
|
43
|
+
* @defaultValue false
|
|
44
|
+
*/
|
|
45
|
+
stopPropagation: import("@angular/core").InputSignal<boolean>;
|
|
46
|
+
/**
|
|
47
|
+
* Event emitted on click
|
|
48
|
+
*/
|
|
49
|
+
clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
50
|
+
/**
|
|
51
|
+
* Event emitted on Enter keydown
|
|
52
|
+
*/
|
|
53
|
+
keyDownEnter: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
54
|
+
/**
|
|
55
|
+
* Event emitted on Space keydown
|
|
56
|
+
*/
|
|
57
|
+
keyDownSpace: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
41
58
|
/**
|
|
42
59
|
* Computed data state for ARIA
|
|
43
60
|
*/
|
|
@@ -46,10 +63,25 @@ export declare class DropdownItemCheckboxComponent {
|
|
|
46
63
|
* Handle item click - toggle checkbox state
|
|
47
64
|
*/
|
|
48
65
|
onItemClick(): void;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* Handle click activation
|
|
69
|
+
*/
|
|
70
|
+
handleClick(event: MouseEvent): void;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* Handle Enter key activation
|
|
74
|
+
*/
|
|
75
|
+
handleKeyDownEnter(event: Event): void;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
* Handle Space key activation
|
|
79
|
+
*/
|
|
80
|
+
handleKeyDownSpace(event: Event): void;
|
|
49
81
|
/**
|
|
50
82
|
* Computed CSS classes for the menu item
|
|
51
83
|
*/
|
|
52
84
|
itemClass: () => string;
|
|
53
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemCheckboxComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemCheckboxComponent, "st-dropdown-item-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "showIndicator": { "alias": "showIndicator"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; }, { "checkedChanged": "checkedChanged"; "triggered": "triggered"; }, never, ["*"], true, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemCheckboxComponent, "st-dropdown-item-checkbox", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "showIndicator": { "alias": "showIndicator"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "stopPropagation": { "alias": "stopPropagation"; "required": false; "isSignal": true; }; }, { "checkedChanged": "checkedChanged"; "triggered": "triggered"; "clicked": "clicked"; "keyDownEnter": "keyDownEnter"; "keyDownSpace": "keyDownSpace"; }, never, ["*"], true, never>;
|
|
55
87
|
}
|