@seniorsistemas/data-seniorx-core 3.4.0-main-e91c7773 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/constants/table.const.d.ts +0 -2
- package/esm2022/core/constants/table.const.mjs +1 -15
- package/esm2022/features/datepicker/datepicker.component.mjs +9 -179
- package/esm2022/features/nested-table/nested-table.component.mjs +3 -3
- package/esm2022/features/panel/panel.component.mjs +3 -3
- package/esm2022/features/table/components/table-actions-menu.component.mjs +6 -47
- package/esm2022/features/table/components/table-cell-content.component.mjs +3 -3
- package/esm2022/features/table/table.component.mjs +5 -12
- package/features/datepicker/datepicker.component.d.ts +1 -14
- package/features/table/components/table-actions-menu.component.d.ts +1 -16
- package/fesm2022/seniorsistemas-data-seniorx-core.mjs +23 -254
- package/fesm2022/seniorsistemas-data-seniorx-core.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/accessibility.scss +0 -92
- package/styles.css +1 -89
|
@@ -17,7 +17,6 @@ export declare class DatepickerComponent extends InputsComponent<DatepickerValue
|
|
|
17
17
|
max: Date | null;
|
|
18
18
|
defaultDate: Date | null;
|
|
19
19
|
dateFormat: string;
|
|
20
|
-
allowTyping: boolean;
|
|
21
20
|
hourFormat: '12' | '24';
|
|
22
21
|
minuteStep: number;
|
|
23
22
|
showSeconds: boolean;
|
|
@@ -46,8 +45,6 @@ export declare class DatepickerComponent extends InputsComponent<DatepickerValue
|
|
|
46
45
|
readonly hours: import("@angular/core").WritableSignal<number>;
|
|
47
46
|
readonly minutes: import("@angular/core").WritableSignal<number>;
|
|
48
47
|
readonly seconds: import("@angular/core").WritableSignal<number>;
|
|
49
|
-
private readonly currentLang;
|
|
50
|
-
private readonly typedText;
|
|
51
48
|
private readonly rangeStart;
|
|
52
49
|
private readonly rangeEnd;
|
|
53
50
|
private readonly rangeSelecting;
|
|
@@ -61,7 +58,6 @@ export declare class DatepickerComponent extends InputsComponent<DatepickerValue
|
|
|
61
58
|
}[];
|
|
62
59
|
readonly yearRange: import("@angular/core").Signal<number[]>;
|
|
63
60
|
displayValue(): string;
|
|
64
|
-
inputValue(): string;
|
|
65
61
|
readonly viewMonthYearLabel: import("@angular/core").Signal<string>;
|
|
66
62
|
readonly showTimePicker: import("@angular/core").Signal<boolean>;
|
|
67
63
|
ngOnInit(): void;
|
|
@@ -114,18 +110,9 @@ export declare class DatepickerComponent extends InputsComponent<DatepickerValue
|
|
|
114
110
|
private handleDaysKeydown;
|
|
115
111
|
private focusDayButton;
|
|
116
112
|
isDayTabStop(day: CalendarDay): boolean;
|
|
117
|
-
onInputTyping(event: Event): void;
|
|
118
|
-
private applyDateMask;
|
|
119
|
-
private maskByDateFormat;
|
|
120
|
-
onInputBlur(): void;
|
|
121
|
-
private parseTypedDate;
|
|
122
|
-
private dateFormatOrder;
|
|
123
|
-
private localizedWeekDayNames;
|
|
124
|
-
private localizedMonthNames;
|
|
125
|
-
private semPontoFinal;
|
|
126
113
|
private formatDate;
|
|
127
114
|
padTime(n: number): string;
|
|
128
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "sdc-datepicker", never, { "mode": { "alias": "mode"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "sdc-datepicker", never, { "mode": { "alias": "mode"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "hourFormat": { "alias": "hourFormat"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; "showSeconds": { "alias": "showSeconds"; "required": false; }; "rangeSeparator": { "alias": "rangeSeparator"; "required": false; }; "showOnFocus": { "alias": "showOnFocus"; "required": false; }; "readonlyInput": { "alias": "readonlyInput"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "showButtonBar": { "alias": "showButtonBar"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; }, { "selected": "selected"; "closed": "closed"; "monthChange": "monthChange"; "yearChange": "yearChange"; }, never, never, true, never>;
|
|
130
117
|
}
|
|
131
118
|
export {};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
2
|
import { type TableActionMenuCloseEvent, type TableActionMenuItem } from '../../../core/types/table.type';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class TableActionsMenuComponent implements AfterViewInit {
|
|
5
|
-
private readonly cdr;
|
|
6
5
|
private readonly menuItems;
|
|
7
|
-
private readonly painel?;
|
|
8
6
|
ariaLabel: string;
|
|
9
7
|
items: TableActionMenuItem[];
|
|
10
8
|
left: number;
|
|
@@ -14,20 +12,7 @@ export declare class TableActionsMenuComponent implements AfterViewInit {
|
|
|
14
12
|
close: EventEmitter<TableActionMenuCloseEvent>;
|
|
15
13
|
select: EventEmitter<TableActionMenuItem>;
|
|
16
14
|
protected activeIndex: number;
|
|
17
|
-
constructor(cdr: ChangeDetectorRef);
|
|
18
15
|
ngAfterViewInit(): void;
|
|
19
|
-
/**
|
|
20
|
-
* O chamador posiciona o menu logo abaixo do gatilho (table.component.ts:
|
|
21
|
-
* `top: rect.bottom + gap`) sem saber a altura dele, que so existe depois de
|
|
22
|
-
* renderizar. Numa linha perto do rodape o menu nascia fora da tela - medido num
|
|
23
|
-
* iPad Mini (viewport de 1024px): abria em top 1028, bottom 1094, com o item
|
|
24
|
-
* "Visualizar" em 1038. Como e `position: fixed`, rolar a pagina NAO traz ele de
|
|
25
|
-
* volta - ficava impossivel de alcancar.
|
|
26
|
-
*
|
|
27
|
-
* Aqui, ja com a medida real, o menu encosta na borda em vez de passar dela. A
|
|
28
|
-
* horizontal segue a mesma ideia.
|
|
29
|
-
*/
|
|
30
|
-
private manterDentroDaViewport;
|
|
31
16
|
protected onItemFocus(index: number): void;
|
|
32
17
|
protected onItemKeydown(event: KeyboardEvent, index: number): void;
|
|
33
18
|
private focusFirstEnabledItem;
|