@sixbell-telco/sdk 1.2.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/README.md +210 -70
  3. package/_index.css +232 -55
  4. package/assets/styles/toast.css +8 -0
  5. package/components/data-table/expandable/expandable.component.d.ts +129 -0
  6. package/components/{forms/datepicker → data-table}/index.d.ts +1 -1
  7. package/components/data-table/public-api.d.ts +7 -0
  8. package/components/data-table/selection/selection.component.d.ts +41 -0
  9. package/components/data-table/sortable-header/sortable-header.component.d.ts +61 -0
  10. package/components/data-table/src/data-table-context.service.d.ts +18 -0
  11. package/components/data-table/src/data-table.component.d.ts +158 -0
  12. package/components/data-table/src/models.d.ts +58 -0
  13. package/components/data-table/sub-component-toggle/index.d.ts +1 -0
  14. package/components/data-table/sub-component-toggle/sub-component-toggle.component.d.ts +12 -0
  15. package/components/dropdown/dropdown-group/dropdown-group.component.d.ts +1 -1
  16. package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +2 -2
  17. package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +2 -2
  18. package/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.d.ts +2 -2
  19. package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +2 -2
  20. package/components/forms/date-picker/constants/date-picker.constants.d.ts +13 -0
  21. package/components/forms/date-picker/index.d.ts +5 -0
  22. package/components/forms/date-picker/public-api.d.ts +3 -0
  23. package/components/forms/date-picker/src/date-picker.component.d.ts +323 -0
  24. package/components/forms/date-picker/types/date-picker.types.d.ts +39 -0
  25. package/components/overlay/index.d.ts +5 -0
  26. package/components/overlay/overlay-content/overlay-content.component.d.ts +23 -0
  27. package/components/overlay/overlay-trigger/overlay-trigger.component.d.ts +48 -0
  28. package/components/overlay/public-api.d.ts +3 -0
  29. package/components/overlay/src/overlay.component.d.ts +158 -0
  30. package/components/paginator/components/pagination-item/pagination-item.component.d.ts +8 -3
  31. package/components/paginator/pipes/pagination.pipe.d.ts +40 -0
  32. package/components/paginator/public-api.d.ts +1 -0
  33. package/components/paginator/src/paginator.component.d.ts +14 -12
  34. package/components/sonner/index.d.ts +5 -0
  35. package/components/sonner/public-api.d.ts +2 -0
  36. package/components/sonner/src/sonner.component.d.ts +39 -0
  37. package/components/sonner/toaster/index.d.ts +5 -0
  38. package/components/sonner/toaster/public-api.d.ts +1 -0
  39. package/components/sonner/toaster/src/toaster.component.d.ts +89 -0
  40. package/components/table/src/table.component.d.ts +9 -6
  41. package/components/toast/public-api.d.ts +9 -0
  42. package/components/toast/services/toast.service.d.ts +3 -0
  43. package/components/toast/toast-message/toast-message.component.d.ts +3 -0
  44. package/components/toast/toasts-container/toasts-container.component.d.ts +3 -0
  45. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs +103 -0
  46. package/fesm2022/sixbell-telco-sdk-components-data-table-sub-component-toggle.mjs.map +1 -0
  47. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs +1091 -0
  48. package/fesm2022/sixbell-telco-sdk-components-data-table.mjs.map +1 -0
  49. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +6 -6
  50. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -1
  51. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +12 -10
  52. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  53. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs +4 -5
  54. package/fesm2022/sixbell-telco-sdk-components-dual-list.mjs.map +1 -1
  55. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs +885 -0
  56. package/fesm2022/sixbell-telco-sdk-components-forms-date-picker.mjs.map +1 -0
  57. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs +2 -2
  58. package/fesm2022/sixbell-telco-sdk-components-forms-form-error.mjs.map +1 -1
  59. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs +3 -3
  60. package/fesm2022/sixbell-telco-sdk-components-forms-input.mjs.map +1 -1
  61. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs +408 -0
  62. package/fesm2022/sixbell-telco-sdk-components-overlay.mjs.map +1 -0
  63. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs +150 -35
  64. package/fesm2022/sixbell-telco-sdk-components-paginator.mjs.map +1 -1
  65. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs +132 -0
  66. package/fesm2022/sixbell-telco-sdk-components-sonner-toaster.mjs.map +1 -0
  67. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs +179 -0
  68. package/fesm2022/sixbell-telco-sdk-components-sonner.mjs.map +1 -0
  69. package/fesm2022/sixbell-telco-sdk-components-table.mjs +15 -6
  70. package/fesm2022/sixbell-telco-sdk-components-table.mjs.map +1 -1
  71. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +14 -0
  72. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  73. package/fesm2022/sixbell-telco-sdk-utils-date.mjs +242 -0
  74. package/fesm2022/sixbell-telco-sdk-utils-date.mjs.map +1 -0
  75. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs +84 -0
  76. package/fesm2022/sixbell-telco-sdk-utils-sync.mjs.map +1 -0
  77. package/package.json +77 -47
  78. package/utils/date/index.d.ts +5 -0
  79. package/utils/date/public-api.d.ts +1 -0
  80. package/utils/date/src/date-utils.d.ts +125 -0
  81. package/utils/sync/index.d.ts +5 -0
  82. package/utils/sync/public-api.d.ts +1 -0
  83. package/utils/sync/src/sync.d.ts +37 -0
  84. package/components/forms/datepicker/public-api.d.ts +0 -2
  85. package/components/forms/datepicker/src/datepicker-format-month.pipe.d.ts +0 -10
  86. package/components/forms/datepicker/src/datepicker.component.d.ts +0 -54
  87. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs +0 -212
  88. package/fesm2022/sixbell-telco-sdk-components-forms-datepicker.mjs.map +0 -1
@@ -0,0 +1,18 @@
1
+ import { TableContentSizeProps } from '@sixbell-telco/sdk/components/table';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Context service to share data table configuration with sub-components
5
+ * This allows sub-components to automatically sync their sizes with the parent data table
6
+ */
7
+ export declare class DataTableContextService {
8
+ /**
9
+ * Current table size that sub-components can subscribe to
10
+ */
11
+ readonly size: import("@angular/core").WritableSignal<TableContentSizeProps>;
12
+ /**
13
+ * Update the table size - called by the main data table component
14
+ */
15
+ setSize(size: TableContentSizeProps): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataTableContextService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<DataTableContextService>;
18
+ }
@@ -0,0 +1,158 @@
1
+ import { PaginationType } from '@sixbell-telco/sdk/components/paginator';
2
+ import { TableContainerHeightProps, TableContentSizeProps } from '@sixbell-telco/sdk/components/table';
3
+ import { TypographyVariantProps } from '@sixbell-telco/sdk/directives/typography';
4
+ import { TranslateService } from '@sixbell-telco/sdk/utils/translation';
5
+ import { DataTableContextService } from './data-table-context.service';
6
+ import { DataTablePagination } from './models';
7
+ import * as i0 from "@angular/core";
8
+ /** Configuration object for data table styling variants */
9
+ export type DataTableVariantProps = {
10
+ size?: TableContentSizeProps;
11
+ containerHeight?: TableContainerHeightProps;
12
+ };
13
+ /**
14
+ * @internal
15
+ * Generates data table classes with size and height variants
16
+ */
17
+ export declare const dataTableContent: (props?: ({
18
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
19
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
20
+ /**
21
+ * A styled container component for data tables - provides styling shell only
22
+ *
23
+ * This component is similar to st-table but with additional data table specific styling.
24
+ * Users should compose their own table structure using TanStack Table and SDK components.
25
+ *
26
+ * @example
27
+ * ```html
28
+ * <st-data-table-container size="md" height="lg">
29
+ * <table>
30
+ * <thead>
31
+ * <tr>
32
+ * <th><st-data-table-sortable-header>Name</st-data-table-sortable-header></th>
33
+ * </tr>
34
+ * </thead>
35
+ * <tbody>
36
+ * <tr>
37
+ * <td>John Doe</td>
38
+ * </tr>
39
+ * </tbody>
40
+ * </table>
41
+ * </st-data-table-container>
42
+ * ```
43
+ */
44
+ export declare class DataTableContainerComponent {
45
+ readonly translationService: TranslateService;
46
+ readonly dataTableContext: DataTableContextService;
47
+ readonly noDataIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\" style=\"stroke-width:var(--ng-icon__stroke-width, 1.5)\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z\"></path></svg>";
48
+ readonly noResultsIcon = "<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\" style=\"stroke-width:var(--ng-icon__stroke-width, 1.5)\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"></path></svg>";
49
+ /**
50
+ * Table size variant
51
+ * @defaultValue 'sm'
52
+ */
53
+ size: import("@angular/core").InputSignal<TableContentSizeProps>;
54
+ constructor();
55
+ /**
56
+ * Enable sticky header row
57
+ * @defaultValue false
58
+ */
59
+ pinRows: import("@angular/core").InputSignal<boolean>;
60
+ /**
61
+ * Enable sticky first column
62
+ * @defaultValue false
63
+ */
64
+ pinColumns: import("@angular/core").InputSignal<boolean>;
65
+ /**
66
+ * Apply zebra-striping to rows
67
+ * @defaultValue false
68
+ */
69
+ zebra: import("@angular/core").InputSignal<boolean>;
70
+ /**
71
+ * Pagination control display variant
72
+ * @defaultValue 'default'
73
+ */
74
+ paginatorType: import("@angular/core").InputSignal<PaginationType>;
75
+ /**
76
+ * Total number of items across all pages
77
+ * @defaultValue 0
78
+ */
79
+ totalItems: import("@angular/core").InputSignal<number>;
80
+ /**
81
+ * Pagination configuration
82
+ * @defaultValue { id: 'paginator', currentPage: 1, itemsPerPage: 10, search: '', sortColumn: null, sortDirection: null, filters: {} }
83
+ */
84
+ pagination: import("@angular/core").InputSignal<DataTablePagination>;
85
+ /**
86
+ * Maximum number of pagination buttons to display
87
+ * @defaultValue 4
88
+ */
89
+ maxSize: import("@angular/core").InputSignal<number>;
90
+ /** Event emitted when page changes */
91
+ pageChanged: import("@angular/core").OutputEmitterRef<number>;
92
+ /** Event emitted when page size changes */
93
+ pageSizeChanged: import("@angular/core").OutputEmitterRef<number>;
94
+ readonly ENTRIES: readonly [5, 10, 20, 50, 100];
95
+ readonly entriesPerPageOptions: import("@angular/core").Signal<{
96
+ value: 10 | 5 | 20 | 50 | 100;
97
+ text: any;
98
+ }[]>;
99
+ /**
100
+ * Computed total number of pages for the internal paginator.
101
+ * Calculated from totalItems and itemsPerPage.
102
+ */
103
+ readonly totalPages: import("@angular/core").Signal<number>;
104
+ /**
105
+ * Computed display range for current page entries
106
+ * @example "1-10" of 100 entries
107
+ */
108
+ paginationRange: import("@angular/core").Signal<string>;
109
+ /**
110
+ * Function to determine if any filters are currently active
111
+ * This allows the parent component to define what constitutes an "active filter"
112
+ */
113
+ hasActiveFiltersCallback: import("@angular/core").InputSignal<(() => boolean) | undefined>;
114
+ /**
115
+ * Computed boolean indicating if any filters are currently active
116
+ */
117
+ readonly hasActiveFilters: import("@angular/core").Signal<boolean>;
118
+ /**
119
+ * Computed boolean indicating if we should show "no results" vs "no data"
120
+ */
121
+ readonly hasNoResults: import("@angular/core").Signal<boolean>;
122
+ /**
123
+ * Computed boolean indicating if we should show "no data" state
124
+ */
125
+ readonly hasNoData: import("@angular/core").Signal<boolean>;
126
+ /**
127
+ * Handles page navigation events
128
+ * @param page - New page number
129
+ */
130
+ handlePageChange(page: number): void;
131
+ /**
132
+ * Handles page size changes
133
+ * @param size - New items per page value
134
+ */
135
+ handlePageSizeChange(size: unknown): void;
136
+ /**
137
+ * @internal
138
+ * Computes typography variant for paginator text based on table size
139
+ */
140
+ readonly paginatorTextSize: import("@angular/core").Signal<TypographyVariantProps>;
141
+ /**
142
+ * @internal
143
+ * Computes table element classes based on current configuration
144
+ */
145
+ readonly tableClass: import("@angular/core").Signal<string>;
146
+ /**
147
+ * @internal
148
+ * Computes table container classes based on height input
149
+ */
150
+ readonly tableContainerClass: import("@angular/core").Signal<string>;
151
+ /**
152
+ * @internal
153
+ * Computes outer container classes based on size
154
+ */
155
+ readonly containerClass: import("@angular/core").Signal<string>;
156
+ 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>;
158
+ }
@@ -0,0 +1,58 @@
1
+ export interface FilterOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export interface PaginatedFilterOptions {
6
+ results: FilterOption[];
7
+ total: number;
8
+ hasMore: boolean;
9
+ }
10
+ export type FilterType = 'text' | 'numberRange' | 'multiSelect' | 'multiSelectCombobox';
11
+ export interface FilterMetadataBase {
12
+ type: FilterType;
13
+ label: string;
14
+ }
15
+ export interface TextFilterMetadata extends FilterMetadataBase {
16
+ type: 'text';
17
+ }
18
+ export interface NumberRangeFilterMetadata extends FilterMetadataBase {
19
+ type: 'numberRange';
20
+ min?: number;
21
+ max?: number;
22
+ }
23
+ export interface MultiSelectFilterMetadata extends FilterMetadataBase {
24
+ type: 'multiSelect';
25
+ options: FilterOption[];
26
+ searchable?: boolean;
27
+ }
28
+ export interface MultiSelectComboboxFilterMetadata extends FilterMetadataBase {
29
+ type: 'multiSelectCombobox';
30
+ pageSize?: number;
31
+ }
32
+ export type FilterMetadata = TextFilterMetadata | NumberRangeFilterMetadata | MultiSelectFilterMetadata | MultiSelectComboboxFilterMetadata;
33
+ export type AllFilterMetadata = Record<string, FilterMetadata>;
34
+ export interface TextFilterState {
35
+ value: string | null;
36
+ }
37
+ export interface NumberRangeFilterState {
38
+ min: number | null;
39
+ max: number | null;
40
+ }
41
+ export interface MultiSelectFilterState {
42
+ values: string[];
43
+ }
44
+ export type ColumnFilterState = TextFilterState | NumberRangeFilterState | MultiSelectFilterState;
45
+ export type FiltersState = Record<string, ColumnFilterState>;
46
+ export interface DataTablePagination {
47
+ id: string;
48
+ currentPage: number;
49
+ itemsPerPage: number;
50
+ search: string;
51
+ sortColumn: string | null;
52
+ sortDirection: 'asc' | 'desc' | null;
53
+ filters: FiltersState;
54
+ }
55
+ export interface BackendPagination<T> {
56
+ total: number;
57
+ results: T[];
58
+ }
@@ -0,0 +1 @@
1
+ export * from './sub-component-toggle.component';
@@ -0,0 +1,12 @@
1
+ import { Row, RowData } from '@tanstack/angular-table';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DataTableSubComponentToggleCellComponent<T extends RowData> {
4
+ readonly row: import("@angular/core").InputSignal<Row<T>>;
5
+ readonly isExpanded: import("@angular/core").InputSignal<boolean>;
6
+ readonly toggled: import("@angular/core").OutputEmitterRef<string>;
7
+ readonly canToggleSubComponent: import("@angular/core").InputSignal<boolean>;
8
+ readonly iconChevronDown = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6l-6-6l1.41-1.41z\"></path></svg>";
9
+ readonly iconInfo = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z\"></path></svg>";
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataTableSubComponentToggleCellComponent<any>, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataTableSubComponentToggleCellComponent<any>, "st-data-table-sub-component-toggle-cell", never, { "row": { "alias": "row"; "required": true; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": true; "isSignal": true; }; "canToggleSubComponent": { "alias": "canToggleSubComponent"; "required": false; "isSignal": true; }; }, { "toggled": "toggled"; }, never, never, true, never>;
12
+ }
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  /**
3
3
  * DropdownGroup - Groups related dropdown items together
4
- * Provides semantic grouping for dropdown items
4
+ * Provides semantic grouping for dropdown items without rendering a wrapper element
5
5
  */
6
6
  export declare class DropdownGroupComponent {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupComponent, never>;
@@ -27,7 +27,7 @@ export declare class DropdownItemCheckboxComponent {
27
27
  /**
28
28
  * Emitted when the checkbox state changes
29
29
  */
30
- checkedChange: import("@angular/core").OutputEmitterRef<boolean>;
30
+ checkedChanged: import("@angular/core").OutputEmitterRef<boolean>;
31
31
  /**
32
32
  * Emitted when the menu item is triggered/clicked
33
33
  */
@@ -45,5 +45,5 @@ export declare class DropdownItemCheckboxComponent {
45
45
  */
46
46
  itemClass: () => string;
47
47
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemCheckboxComponent, never>;
48
- 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; }; }, { "checkedChange": "checkedChange"; "triggered": "triggered"; }, never, ["*"], true, never>;
48
+ 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; }; }, { "checkedChanged": "checkedChanged"; "triggered": "triggered"; }, never, ["*"], true, never>;
49
49
  }
@@ -31,7 +31,7 @@ export declare class DropdownItemRadioComponent {
31
31
  /**
32
32
  * Emitted when the radio state changes
33
33
  */
34
- checkedChange: import("@angular/core").OutputEmitterRef<string>;
34
+ checkedChanged: import("@angular/core").OutputEmitterRef<string>;
35
35
  /**
36
36
  * Emitted when the menu item is triggered/clicked
37
37
  */
@@ -49,5 +49,5 @@ export declare class DropdownItemRadioComponent {
49
49
  */
50
50
  itemClass: () => string;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemRadioComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemRadioComponent, "st-dropdown-item-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "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; }; }, { "checkedChange": "checkedChange"; "triggered": "triggered"; }, never, ["*"], true, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemRadioComponent, "st-dropdown-item-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "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; }; }, { "checkedChanged": "checkedChanged"; "triggered": "triggered"; }, never, ["*"], true, never>;
53
53
  }
@@ -32,7 +32,7 @@ export declare class DropdownMenuBarItemCheckboxComponent {
32
32
  /**
33
33
  * Emitted when the checkbox state changes
34
34
  */
35
- checkedChange: import("@angular/core").OutputEmitterRef<boolean>;
35
+ checkedChanged: import("@angular/core").OutputEmitterRef<boolean>;
36
36
  /**
37
37
  * Emitted when the menu item is triggered/clicked
38
38
  */
@@ -50,5 +50,5 @@ export declare class DropdownMenuBarItemCheckboxComponent {
50
50
  */
51
51
  itemClass: () => string;
52
52
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuBarItemCheckboxComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuBarItemCheckboxComponent, "st-dropdown-menu-bar-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; }; }, { "checkedChange": "checkedChange"; "triggered": "triggered"; }, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemCheckbox; inputs: { "cdkMenuItemChecked": "checked"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuBarItemCheckboxComponent, "st-dropdown-menu-bar-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; }; }, { "checkedChanged": "checkedChanged"; "triggered": "triggered"; }, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemCheckbox; inputs: { "cdkMenuItemChecked": "checked"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
54
54
  }
@@ -32,7 +32,7 @@ export declare class DropdownMenuBarItemRadioComponent {
32
32
  /**
33
33
  * Emitted when the radio state changes
34
34
  */
35
- checkedChange: import("@angular/core").OutputEmitterRef<string>;
35
+ checkedChanged: import("@angular/core").OutputEmitterRef<string>;
36
36
  /**
37
37
  * Emitted when the menu item is triggered/clicked
38
38
  */
@@ -54,5 +54,5 @@ export declare class DropdownMenuBarItemRadioComponent {
54
54
  */
55
55
  itemClass: () => string;
56
56
  static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuBarItemRadioComponent, never>;
57
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuBarItemRadioComponent, "st-dropdown-menu-bar-item-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "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; }; }, { "checkedChange": "checkedChange"; "triggered": "triggered"; }, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemRadio; inputs: { "cdkMenuItemChecked": "checked"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuBarItemRadioComponent, "st-dropdown-menu-bar-item-radio", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "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; }; }, { "checkedChanged": "checkedChanged"; "triggered": "triggered"; }, never, ["*"], true, [{ directive: typeof i1.CdkMenuItemRadio; inputs: { "cdkMenuItemChecked": "checked"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }]>;
58
58
  }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Supported locales (BCP 47) for the date picker.
3
+ * These map directly to the underlying calendar web component locale attribute.
4
+ */
5
+ export declare const SUPPORTED_LOCALES: readonly ["en-US", "en-GB", "es-ES", "es-MX", "fr-FR", "de-DE", "it-IT", "pt-BR", "pt-PT", "ja-JP", "ko-KR", "zh-CN", "zh-TW", "ru-RU", "ar-SA", "hi-IN", "nl-NL", "sv-SE", "da-DK", "no-NO", "fi-FI", "pl-PL", "tr-TR", "he-IL", "th-TH", "vi-VN"];
6
+ /** Allowed datepicker modes */
7
+ export declare const DATEPICKER_MODES: readonly ["single", "range"];
8
+ /** Allowed time display formats for trigger text */
9
+ export declare const TIME_DISPLAY_FORMATS: readonly ["24h", "12h"];
10
+ /** Allowed Intl.DateTimeFormat dateStyle values we support */
11
+ export declare const DATE_STYLES: readonly ["short", "medium", "long", "full"];
12
+ /** Allowed number of calendars in range mode */
13
+ export declare const RANGE_CALENDARS: readonly [1, 2];
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@sixbell-telco/sdk/components/forms/date-picker" />
5
+ export * from './public-api';
@@ -0,0 +1,3 @@
1
+ export * from './constants/date-picker.constants';
2
+ export * from './src/date-picker.component';
3
+ export * from './types/date-picker.types';