@brickclay-org/ui 0.0.74 → 0.0.76
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/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare class BrickclayLib {
|
|
|
25
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<BrickclayLib, "lib-brickclay-lib", never, {}, {}, never, never, true, never>;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
declare class
|
|
28
|
+
declare class BkCalendarManagerService {
|
|
29
29
|
private calendarInstances;
|
|
30
30
|
private closeAllSubject;
|
|
31
31
|
closeAll$: rxjs.Observable<void>;
|
|
@@ -41,8 +41,9 @@ declare class CalendarManagerService {
|
|
|
41
41
|
* Close all calendars
|
|
42
42
|
*/
|
|
43
43
|
closeAll(): void;
|
|
44
|
-
|
|
45
|
-
static
|
|
44
|
+
getOnlyDate(input: string | Date): string;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BkCalendarManagerService, never>;
|
|
46
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BkCalendarManagerService>;
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
interface CalendarRange {
|
|
@@ -172,7 +173,7 @@ declare class BkCustomCalendar implements OnInit, OnDestroy, OnChanges, ControlV
|
|
|
172
173
|
private unregisterFn?;
|
|
173
174
|
private closeAllSubscription?;
|
|
174
175
|
private closeFn?;
|
|
175
|
-
constructor(calendarManager:
|
|
176
|
+
constructor(calendarManager: BkCalendarManagerService);
|
|
176
177
|
writeValue(value: CalendarSelection | null): void;
|
|
177
178
|
registerOnChange(fn: (value: CalendarSelection | null) => void): void;
|
|
178
179
|
registerOnTouched(fn: () => void): void;
|
|
@@ -257,6 +258,11 @@ declare class BkCustomCalendar implements OnInit, OnDestroy, OnChanges, ControlV
|
|
|
257
258
|
applyTimeToDate(date: Date, isStart: boolean): void;
|
|
258
259
|
onTimeInputFocus(event: any): void;
|
|
259
260
|
formatAllMinuteInputs(): void;
|
|
261
|
+
/**
|
|
262
|
+
* Parse a date-only string (YYYY-MM-DD) as local date.
|
|
263
|
+
* Using new Date('2026-02-21') would be UTC midnight and can show as previous day in local time.
|
|
264
|
+
*/
|
|
265
|
+
private parseDateString;
|
|
260
266
|
formatDateToString(date: Date): string;
|
|
261
267
|
static ɵfac: i0.ɵɵFactoryDeclaration<BkCustomCalendar, never>;
|
|
262
268
|
static ɵcmp: i0.ɵɵComponentDeclaration<BkCustomCalendar, "bk-custom-calendar", never, { "enableTimepicker": { "alias": "enableTimepicker"; "required": false; }; "autoApply": { "alias": "autoApply"; "required": false; }; "closeOnAutoApply": { "alias": "closeOnAutoApply"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "linkedCalendars": { "alias": "linkedCalendars"; "required": false; }; "singleDatePicker": { "alias": "singleDatePicker"; "required": false; }; "showWeekNumbers": { "alias": "showWeekNumbers"; "required": false; }; "showISOWeekNumbers": { "alias": "showISOWeekNumbers"; "required": false; }; "customRangeDirection": { "alias": "customRangeDirection"; "required": false; }; "lockStartDate": { "alias": "lockStartDate"; "required": false; }; "position": { "alias": "position"; "required": false; }; "drop": { "alias": "drop"; "required": false; }; "dualCalendar": { "alias": "dualCalendar"; "required": false; }; "showRanges": { "alias": "showRanges"; "required": false; }; "timeFormat": { "alias": "timeFormat"; "required": false; }; "enableSeconds": { "alias": "enableSeconds"; "required": false; }; "customRanges": { "alias": "customRanges"; "required": false; }; "multiDateSelection": { "alias": "multiDateSelection"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "opens": { "alias": "opens"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "appendToBody": { "alias": "appendToBody"; "required": false; }; "isDisplayCrossIcon": { "alias": "isDisplayCrossIcon"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "showCancelApply": { "alias": "showCancelApply"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "displayFormat": { "alias": "displayFormat"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "selected": "selected"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
@@ -2043,5 +2049,5 @@ declare class BkPagination implements OnChanges {
|
|
|
2043
2049
|
static ɵcmp: i0.ɵɵComponentDeclaration<BkPagination, "bk-pagination", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "total": { "alias": "total"; "required": false; }; "activePage": { "alias": "activePage"; "required": false; }; }, { "changePageSize": "changePageSize"; "pageChanged": "pageChanged"; "activePageChange": "activePageChange"; }, never, never, true, never>;
|
|
2044
2050
|
}
|
|
2045
2051
|
|
|
2046
|
-
export { BKTooltipDirective, BK_DEFAULT_DIALOG_CONFIG, BK_DIALOG_DATA, BK_DIALOG_GLOBAL_CONFIG, BkAvatar, BkAvatarUploader, BkBadge, BkButton, BkButtonGroup, BkCheckbox, BkColumnFilterService, BkColumnSelect, BkCustomCalendar, BkDialogActions, BkDialogClose, BkDialogContent, BkDialogModule, BkDialogRef, BkDialogService, BkDialogTitle, BkFileCard, BkFilePicker, BkGrid, BkHierarchicalSelect, BkIconButton, BkInput, BkInputChips, BkPagination, BkPill, BkRadioButton, BkScheduledDatePicker, BkSelect, BkSpinner, BkTabs, BkTextarea, BkTimePicker, BkToastr, BkToastrService, BkToggle, BkValidator, BrickclayIcons, BrickclayLib,
|
|
2052
|
+
export { BKTooltipDirective, BK_DEFAULT_DIALOG_CONFIG, BK_DIALOG_DATA, BK_DIALOG_GLOBAL_CONFIG, BkAvatar, BkAvatarUploader, BkBadge, BkButton, BkButtonGroup, BkCalendarManagerService, BkCheckbox, BkColumnFilterService, BkColumnSelect, BkCustomCalendar, BkDialogActions, BkDialogClose, BkDialogContent, BkDialogModule, BkDialogRef, BkDialogService, BkDialogTitle, BkFileCard, BkFilePicker, BkGrid, BkHierarchicalSelect, BkIconButton, BkInput, BkInputChips, BkPagination, BkPill, BkRadioButton, BkScheduledDatePicker, BkSelect, BkSpinner, BkTabs, BkTextarea, BkTimePicker, BkToastr, BkToastrService, BkToggle, BkValidator, BrickclayIcons, BrickclayLib, CalendarModule, CalendarSelection, ColumnFilterOption, getDialogBackdropAnimation, getDialogPanelAnimation };
|
|
2047
2053
|
export type { AvatarFallback, AvatarSize, AvatarVariant, BadgeColor, BadgeSize, BadgeVariant, BkAnimationKeyframes, BkAvatarFallback, BkAvatarSize, BkDialogAnimation, BkDialogConfig, BkDialogPosition, BkInputAutoCapitalize, BkInputAutoComplete, BkInputMode, BkInputType, BkPageSize, BkTextAreaAutoCapitalize, BkTextAreaAutoComplete, BkTextAreaInputMode, ButtonSize, ButtonVariant, CalendarRange, CountryOption, DotPosition, DotStatus, FileState, GroupItem, GroupMode, HierarchicalNode, IconButtonSize, IconButtonVariant, IconOrientation, PillColor, PillSize, PillVariant, ScheduledDateSelection, SortDirection, SpinnerSize, TabItem, TableAction, TableBadge, TableColumn, TableIcon, TimeConfiguration, ToastConfig, ToastMessage, ToastMethodOptions, ToastPosition, ToastSeverity };
|
package/package.json
CHANGED
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
outline: 0;
|
|
35
35
|
box-sizing: border-box;
|
|
36
36
|
overflow: hidden;
|
|
37
|
-
will-change: transform, opacity;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
/* ══════════════════════════════════════════════════════════════════════
|
|
@@ -50,7 +49,6 @@
|
|
|
50
49
|
flex-direction: column;
|
|
51
50
|
flex: 1 1 auto;
|
|
52
51
|
min-height: 0;
|
|
53
|
-
overflow: hidden;
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
/* ══════════════════════════════════════════════════════════════════════
|