mn-angular-lib 0.0.52 → 0.0.53
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/fesm2022/mn-angular-lib.mjs +1270 -2
- package/fesm2022/mn-angular-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/types/mn-angular-lib.d.ts +694 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Provider, TemplateRef, OnInit, Type, ComponentRef, AfterViewInit, OnDestroy, ElementRef, EventEmitter, QueryList, ChangeDetectorRef, ViewContainerRef, PipeTransform } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Provider, TemplateRef, OnInit, Type, ComponentRef, AfterViewInit, OnDestroy, ElementRef, EventEmitter, QueryList, ChangeDetectorRef, ViewContainerRef, OnChanges, SimpleChanges, PipeTransform } from '@angular/core';
|
|
3
3
|
export { TemplateRef, Type } from '@angular/core';
|
|
4
4
|
import * as tailwind_variants from 'tailwind-variants';
|
|
5
5
|
import { VariantProps } from 'tailwind-variants';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
8
8
|
import * as mn_angular_lib from 'mn-angular-lib';
|
|
9
9
|
import * as _angular_forms from '@angular/forms';
|
|
10
10
|
import { ValidationErrors, NgControl, AbstractControl, FormGroup, FormBuilder } from '@angular/forms';
|
|
@@ -3091,6 +3091,696 @@ declare class MnTable<T = any> implements OnInit, OnDestroy {
|
|
|
3091
3091
|
static ɵcmp: i0.ɵɵComponentDeclaration<MnTable<any>, "mn-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; }, { "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowClick": "rowClick"; }, never, never, true, never>;
|
|
3092
3092
|
}
|
|
3093
3093
|
|
|
3094
|
+
/**
|
|
3095
|
+
* Colour scheme applied to calendar events.
|
|
3096
|
+
*
|
|
3097
|
+
* `primaryColor` is used for the left border accent; `secondaryColor` for the
|
|
3098
|
+
* background fill. Both should be valid CSS colour values.
|
|
3099
|
+
*/
|
|
3100
|
+
interface ColorPreset {
|
|
3101
|
+
/** Unique identifier. */
|
|
3102
|
+
id: string;
|
|
3103
|
+
/** Human-readable colour name (e.g. "Blue"). */
|
|
3104
|
+
colorName: string;
|
|
3105
|
+
/** Accent / border colour (e.g. "#3b82f6"). */
|
|
3106
|
+
primaryColor: string;
|
|
3107
|
+
/** Background fill colour (e.g. "#dbeafe"). */
|
|
3108
|
+
secondaryColor: string;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* Represents a single calendar event.
|
|
3113
|
+
*
|
|
3114
|
+
* Consumer-facing properties (`id` through `data`) are set by the application.
|
|
3115
|
+
* Layout properties (`column`, `width`, `continued`, `continuedEnd`) are
|
|
3116
|
+
* computed by {@link CalendarEventLayoutService} and should not be set manually.
|
|
3117
|
+
*/
|
|
3118
|
+
interface CalendarEvent {
|
|
3119
|
+
/** Unique identifier for the event. */
|
|
3120
|
+
id: string;
|
|
3121
|
+
/** Display title. */
|
|
3122
|
+
title: string;
|
|
3123
|
+
/** Optional description shown below the title. */
|
|
3124
|
+
description: string;
|
|
3125
|
+
/** Event start date/time. */
|
|
3126
|
+
startTime: Date;
|
|
3127
|
+
/** Event end date/time. */
|
|
3128
|
+
endTime: Date;
|
|
3129
|
+
/** Colour scheme used for rendering. */
|
|
3130
|
+
color: ColorPreset;
|
|
3131
|
+
/** Optional custom component type to render this event (overrides the default renderer). */
|
|
3132
|
+
component?: Type<any>;
|
|
3133
|
+
/** Arbitrary payload attached to the event (passed through to custom renderers). */
|
|
3134
|
+
data?: any;
|
|
3135
|
+
/** Zero-based column index within overlapping event groups. */
|
|
3136
|
+
column?: number;
|
|
3137
|
+
/** Number of sub-columns this event spans. */
|
|
3138
|
+
width?: number;
|
|
3139
|
+
/** `true` when this segment is a continuation from a previous day (multi-day events). */
|
|
3140
|
+
continued?: boolean;
|
|
3141
|
+
/** `true` when this segment continues into the next day (multi-day events). */
|
|
3142
|
+
continuedEnd?: boolean;
|
|
3143
|
+
}
|
|
3144
|
+
/**
|
|
3145
|
+
* Represents the "current time" indicator rendered as a line in week/day views.
|
|
3146
|
+
*/
|
|
3147
|
+
interface CurrentTimeCalendarEvent {
|
|
3148
|
+
id: 'current-time';
|
|
3149
|
+
title: string;
|
|
3150
|
+
startTime: Date;
|
|
3151
|
+
endTime: Date;
|
|
3152
|
+
column: number;
|
|
3153
|
+
width: number;
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
/**
|
|
3157
|
+
* Contract for pluggable event renderer components.
|
|
3158
|
+
*
|
|
3159
|
+
* Any component that implements this interface can be used as a custom
|
|
3160
|
+
* event template inside the calendar. Pass the component type via
|
|
3161
|
+
* `[CalendarEventComponent]` on `<app-calendar-view>`.
|
|
3162
|
+
*
|
|
3163
|
+
* The calendar will set the `event` property after creating the component
|
|
3164
|
+
* dynamically via `ViewContainerRef.createComponent()`.
|
|
3165
|
+
*/
|
|
3166
|
+
interface CalendarEventData {
|
|
3167
|
+
/** The calendar event to render. Set by the calendar after component creation. */
|
|
3168
|
+
event: CalendarEvent;
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* Available calendar view modes.
|
|
3173
|
+
*/
|
|
3174
|
+
declare enum CalendarView {
|
|
3175
|
+
MONTH = "MONTH",
|
|
3176
|
+
WEEK = "WEEK",
|
|
3177
|
+
DAY = "DAY"
|
|
3178
|
+
}
|
|
3179
|
+
/**
|
|
3180
|
+
* Configuration for the calendar component.
|
|
3181
|
+
* All properties are optional — sensible defaults are provided.
|
|
3182
|
+
* Can be supplied via the `CALENDAR_CONFIG` injection token or through
|
|
3183
|
+
* the `provideMnComponentConfig` helper using component name `'mn-calendar'`.
|
|
3184
|
+
*/
|
|
3185
|
+
interface CalendarConfig {
|
|
3186
|
+
/** First visible hour in week/day views (0–23). Default: `7`. */
|
|
3187
|
+
startHour: number;
|
|
3188
|
+
/** Last visible hour in week/day views (1–24, exclusive). Default: `22`. */
|
|
3189
|
+
endHour: number;
|
|
3190
|
+
/** BCP 47 locale tag used for date/time formatting (e.g. `'en-US'`, `'nl-NL'`). Default: `'en-US'`. */
|
|
3191
|
+
locale: string;
|
|
3192
|
+
/** Label for the "Today" navigation button. Default: `'Today'`. */
|
|
3193
|
+
todayLabel: string;
|
|
3194
|
+
/** Title shown above the upcoming-events sidebar. Default: `'Upcoming events'`. */
|
|
3195
|
+
upcomingEventsTitle: string;
|
|
3196
|
+
/** Display labels for each calendar view mode. */
|
|
3197
|
+
viewLabels: Record<string, string>;
|
|
3198
|
+
/** Abbreviated day names starting from Monday (length 7). Derived from `locale` when not set. */
|
|
3199
|
+
shortDayNames: string[];
|
|
3200
|
+
/** Full day names starting from Monday (length 7). Derived from `locale` when not set. */
|
|
3201
|
+
longDayNames: string[];
|
|
3202
|
+
/** Screen-width breakpoint (px) below which only day view is shown. Default: `768`. */
|
|
3203
|
+
mobileBreakpoint: number;
|
|
3204
|
+
}
|
|
3205
|
+
/** Default calendar configuration values. */
|
|
3206
|
+
declare const DEFAULT_CALENDAR_CONFIG: CalendarConfig;
|
|
3207
|
+
/**
|
|
3208
|
+
* Injection token for the resolved calendar configuration.
|
|
3209
|
+
*
|
|
3210
|
+
* Prefer using {@link MN_CALENDAR_CONFIG} with `provideMnComponentConfig`
|
|
3211
|
+
* so that settings can be managed via `mn-config.json5`. This token is
|
|
3212
|
+
* kept for backward compatibility and manual `providers` usage.
|
|
3213
|
+
*
|
|
3214
|
+
* @example
|
|
3215
|
+
* ```ts
|
|
3216
|
+
* providers: [
|
|
3217
|
+
* { provide: CALENDAR_CONFIG, useValue: { startHour: 8, endHour: 20, locale: 'nl-NL' } }
|
|
3218
|
+
* ]
|
|
3219
|
+
* ```
|
|
3220
|
+
*/
|
|
3221
|
+
declare const CALENDAR_CONFIG: InjectionToken<CalendarConfig>;
|
|
3222
|
+
/**
|
|
3223
|
+
* Injection token resolved via `MnConfigService` (the `mn-config.json5` system).
|
|
3224
|
+
*
|
|
3225
|
+
* Use the helper {@link provideMnCalendarConfig} in the component's `providers`
|
|
3226
|
+
* array so that calendar settings are read from the config file and support
|
|
3227
|
+
* `$translate` markers, section scoping, and instance-id overrides.
|
|
3228
|
+
*
|
|
3229
|
+
* Component name in the config file: `'mn-calendar'`.
|
|
3230
|
+
*
|
|
3231
|
+
* @example
|
|
3232
|
+
* ```json5
|
|
3233
|
+
* // mn-config.json5
|
|
3234
|
+
* {
|
|
3235
|
+
* defaults: {
|
|
3236
|
+
* "mn-calendar": {
|
|
3237
|
+
* startHour: 8,
|
|
3238
|
+
* endHour: 20,
|
|
3239
|
+
* locale: "nl-NL",
|
|
3240
|
+
* todayLabel: { $translate: "calendar.today" }
|
|
3241
|
+
* }
|
|
3242
|
+
* }
|
|
3243
|
+
* }
|
|
3244
|
+
* ```
|
|
3245
|
+
*/
|
|
3246
|
+
declare const MN_CALENDAR_CONFIG: InjectionToken<CalendarConfig>;
|
|
3247
|
+
/** Component name used to look up calendar settings in `mn-config.json5`. */
|
|
3248
|
+
declare const MN_CALENDAR_COMPONENT_NAME = "mn-calendar";
|
|
3249
|
+
/**
|
|
3250
|
+
* Provider helper that wires the calendar into the `mn-config` system.
|
|
3251
|
+
*
|
|
3252
|
+
* Add this to the `providers` array of the component (or module) that hosts
|
|
3253
|
+
* `<app-calendar-view>`. It reads defaults and overrides from `mn-config.json5`
|
|
3254
|
+
* under the key `"mn-calendar"` and provides them via {@link MN_CALENDAR_CONFIG}.
|
|
3255
|
+
*
|
|
3256
|
+
* @param initial — optional partial defaults merged before config-file values.
|
|
3257
|
+
*/
|
|
3258
|
+
declare function provideMnCalendarConfig(initial?: Partial<CalendarConfig>): i0.Provider;
|
|
3259
|
+
/**
|
|
3260
|
+
* Merges a partial config with defaults, re-deriving day names from locale when needed.
|
|
3261
|
+
*/
|
|
3262
|
+
declare function resolveCalendarConfig(partial?: Partial<CalendarConfig>): CalendarConfig;
|
|
3263
|
+
/**
|
|
3264
|
+
* Represents a half-hour row in the week/day time grid.
|
|
3265
|
+
*/
|
|
3266
|
+
interface HourRow {
|
|
3267
|
+
/** The hour value (e.g. 7, 8, …). */
|
|
3268
|
+
hour: number;
|
|
3269
|
+
/** CSS grid row start (1-based). */
|
|
3270
|
+
topRow: number;
|
|
3271
|
+
/** CSS grid row end (1-based, exclusive). */
|
|
3272
|
+
bottomRow: number;
|
|
3273
|
+
}
|
|
3274
|
+
/**
|
|
3275
|
+
* Represents a single day column in the week view header.
|
|
3276
|
+
*/
|
|
3277
|
+
interface ColumnDay {
|
|
3278
|
+
/** The date this column represents. */
|
|
3279
|
+
date: Date;
|
|
3280
|
+
/** Abbreviated day name (e.g. "Mon"). */
|
|
3281
|
+
dayName: string;
|
|
3282
|
+
/** Day-of-month number (1–31). */
|
|
3283
|
+
dayNumber: number;
|
|
3284
|
+
/** Whether this column is today. */
|
|
3285
|
+
isToday: boolean;
|
|
3286
|
+
}
|
|
3287
|
+
/**
|
|
3288
|
+
* Represents a single cell in the month grid.
|
|
3289
|
+
*/
|
|
3290
|
+
interface MonthItem {
|
|
3291
|
+
/** The date this cell represents. */
|
|
3292
|
+
date: Date;
|
|
3293
|
+
/** Day-of-month number (1–31). */
|
|
3294
|
+
dayNumber: number;
|
|
3295
|
+
/** Whether this date belongs to the currently focused month. */
|
|
3296
|
+
isCurrentMonth: boolean;
|
|
3297
|
+
/** Whether this date is today. */
|
|
3298
|
+
isToday: boolean;
|
|
3299
|
+
/** Events occurring on this date. */
|
|
3300
|
+
events: CalendarEvent[];
|
|
3301
|
+
}
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* Abstraction for date/time formatting used by calendar components.
|
|
3305
|
+
*
|
|
3306
|
+
* The library ships a default implementation ({@link DefaultCalendarDateFormatter})
|
|
3307
|
+
* that uses `Intl.DateTimeFormat`. Consumers can provide their own implementation
|
|
3308
|
+
* (e.g. wrapping `@ngx-translate`) via the {@link CALENDAR_DATE_FORMATTER} token.
|
|
3309
|
+
*
|
|
3310
|
+
* Locale-independent settings (day names, view labels, "Today" label) have been
|
|
3311
|
+
* moved to {@link CalendarConfig} so they can be configured declaratively.
|
|
3312
|
+
*/
|
|
3313
|
+
interface CalendarDateFormatter {
|
|
3314
|
+
/** Formats an hour + minute pair (e.g. `9, 0` → `"09:00 AM"`). */
|
|
3315
|
+
formatTimeI(hour: number, minute: number): Promise<string>;
|
|
3316
|
+
/** Formats the time portion of a Date. Returns `''` for `undefined`. */
|
|
3317
|
+
formatTime(date: Date | undefined): Promise<string>;
|
|
3318
|
+
/** Formats a full date-time string as an Observable. */
|
|
3319
|
+
formatDateTime(date: Date): Observable<string>;
|
|
3320
|
+
/** Formats a date-only string as an Observable. */
|
|
3321
|
+
formatDate(date: Date): Observable<string>;
|
|
3322
|
+
/** Formats a Date as `YYYY-MM-DD` for `<input type="date">`. */
|
|
3323
|
+
formatDateForFormControl(date: Date): string;
|
|
3324
|
+
/** Returns `true` when both dates fall on the same calendar day. */
|
|
3325
|
+
isSameDay(date1: Date, date2: Date): boolean;
|
|
3326
|
+
/** Formats a Date as "Month Year" (e.g. "January 2026"). */
|
|
3327
|
+
formatMonthName(date: Date): Promise<string>;
|
|
3328
|
+
}
|
|
3329
|
+
/**
|
|
3330
|
+
* Injection token for the calendar date formatter.
|
|
3331
|
+
*
|
|
3332
|
+
* @example
|
|
3333
|
+
* ```ts
|
|
3334
|
+
* providers: [
|
|
3335
|
+
* { provide: CALENDAR_DATE_FORMATTER, useClass: MyCustomFormatter }
|
|
3336
|
+
* ]
|
|
3337
|
+
* ```
|
|
3338
|
+
*/
|
|
3339
|
+
declare const CALENDAR_DATE_FORMATTER: InjectionToken<CalendarDateFormatter>;
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
* Main calendar orchestrator component.
|
|
3343
|
+
*
|
|
3344
|
+
* Provides a toolbar with view switching (month / week / day), date navigation,
|
|
3345
|
+
* and an optional action button. The active view and an upcoming-events sidebar
|
|
3346
|
+
* are rendered inside a responsive grid layout.
|
|
3347
|
+
*
|
|
3348
|
+
* All configuration (visible hours, locale, labels, mobile breakpoint) is read
|
|
3349
|
+
* from the `mn-config.json5` system via {@link MN_CALENDAR_CONFIG}, falling back
|
|
3350
|
+
* to the legacy {@link CALENDAR_CONFIG} injection token, then to built-in defaults.
|
|
3351
|
+
* Date formatting is delegated to the {@link CALENDAR_DATE_FORMATTER} token.
|
|
3352
|
+
*
|
|
3353
|
+
* @example
|
|
3354
|
+
* ```html
|
|
3355
|
+
* <app-calendar-view
|
|
3356
|
+
* [showButton]="true"
|
|
3357
|
+
* [buttonTitle]="'New Event'"
|
|
3358
|
+
* [NewCalendarItemsEvent]="eventsEmitter"
|
|
3359
|
+
* (RequestNewCalendarItemsEvent)="loadEvents($event)"
|
|
3360
|
+
* (CalendarItemClickedEvent)="onEventClick($event)"
|
|
3361
|
+
* (ButtonClickedEvent)="openModal()">
|
|
3362
|
+
* </app-calendar-view>
|
|
3363
|
+
* ```
|
|
3364
|
+
*/
|
|
3365
|
+
declare class CalendarViewComponent implements OnInit, OnDestroy {
|
|
3366
|
+
/** Whether to show the action button in the toolbar. */
|
|
3367
|
+
showButton: boolean;
|
|
3368
|
+
/** Label text for the action button. */
|
|
3369
|
+
buttonTitle: string;
|
|
3370
|
+
/** Custom event renderer component type. */
|
|
3371
|
+
CalendarEventComponent?: Type<CalendarEventData>;
|
|
3372
|
+
/** Observable or EventEmitter that pushes new event arrays into the calendar. */
|
|
3373
|
+
NewCalendarItemsEvent?: EventEmitter<CalendarEvent[]>;
|
|
3374
|
+
/** Emits when the calendar needs fresh event data (e.g. after navigation). */
|
|
3375
|
+
RequestNewCalendarItemsEvent: EventEmitter<Date>;
|
|
3376
|
+
/** Emits when a calendar event is clicked. */
|
|
3377
|
+
CalendarItemClickedEvent: EventEmitter<CalendarEvent>;
|
|
3378
|
+
/** Emits when the action button is clicked. */
|
|
3379
|
+
ButtonClickedEvent: EventEmitter<void>;
|
|
3380
|
+
readonly CalendarView: typeof CalendarView;
|
|
3381
|
+
currentView: CalendarView;
|
|
3382
|
+
focusDay: Date;
|
|
3383
|
+
dateInputValue: string;
|
|
3384
|
+
viewOptions: {
|
|
3385
|
+
value: CalendarView;
|
|
3386
|
+
label: string;
|
|
3387
|
+
}[];
|
|
3388
|
+
isMobileView: boolean;
|
|
3389
|
+
/** BehaviorSubject so late-subscribing child views receive the last emitted events. */
|
|
3390
|
+
internalEventsChanged: BehaviorSubject<CalendarEvent[]>;
|
|
3391
|
+
/** Subject for broadcasting focus-day changes to child views. */
|
|
3392
|
+
internalFocusDayChanged: Subject<Date>;
|
|
3393
|
+
private destroy$;
|
|
3394
|
+
private formatter;
|
|
3395
|
+
protected config: CalendarConfig;
|
|
3396
|
+
private readonly destroyRef;
|
|
3397
|
+
private readonly lang;
|
|
3398
|
+
constructor(formatter: CalendarDateFormatter | null, mnConfig: CalendarConfig | null, legacyConfig: CalendarConfig | null);
|
|
3399
|
+
onResize(): void;
|
|
3400
|
+
ngOnInit(): void;
|
|
3401
|
+
ngOnDestroy(): void;
|
|
3402
|
+
/** Switches the active view. On mobile, forces day view. */
|
|
3403
|
+
switchView(view: CalendarView): void;
|
|
3404
|
+
/** Navigates to the previous period (month / week / day). */
|
|
3405
|
+
navigatePrevious(): void;
|
|
3406
|
+
/** Navigates to the next period (month / week / day). */
|
|
3407
|
+
navigateNext(): void;
|
|
3408
|
+
/** Navigates to today. */
|
|
3409
|
+
goToToday(): void;
|
|
3410
|
+
/** Handles the date-picker input change. */
|
|
3411
|
+
onDateInputChange(event: Event): void;
|
|
3412
|
+
/** Handles a day click from the month view — switches to day view. */
|
|
3413
|
+
onMonthDayClick(date: Date): void;
|
|
3414
|
+
/** Forwards a child event click to the parent output. */
|
|
3415
|
+
onEventClick(event: CalendarEvent): void;
|
|
3416
|
+
/** trackBy for view option buttons. */
|
|
3417
|
+
trackByView(_index: number, item: {
|
|
3418
|
+
value: CalendarView;
|
|
3419
|
+
}): string;
|
|
3420
|
+
/** Rebuilds view options and labels from the current config. */
|
|
3421
|
+
private rebuildFromConfig;
|
|
3422
|
+
private checkMobileView;
|
|
3423
|
+
private setFocusDay;
|
|
3424
|
+
private updateDateInput;
|
|
3425
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarViewComponent, [{ optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3426
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarViewComponent, "app-calendar-view", never, { "showButton": { "alias": "showButton"; "required": false; }; "buttonTitle": { "alias": "buttonTitle"; "required": false; }; "CalendarEventComponent": { "alias": "CalendarEventComponent"; "required": false; }; "NewCalendarItemsEvent": { "alias": "NewCalendarItemsEvent"; "required": false; }; }, { "RequestNewCalendarItemsEvent": "RequestNewCalendarItemsEvent"; "CalendarItemClickedEvent": "CalendarItemClickedEvent"; "ButtonClickedEvent": "ButtonClickedEvent"; }, never, never, true, never>;
|
|
3427
|
+
}
|
|
3428
|
+
|
|
3429
|
+
/**
|
|
3430
|
+
* Service that computes the visual layout of calendar events within a
|
|
3431
|
+
* time-grid (week or day view).
|
|
3432
|
+
*
|
|
3433
|
+
* Responsibilities:
|
|
3434
|
+
* - Splitting multi-day events into per-day segments.
|
|
3435
|
+
* - Assigning non-overlapping column indices to concurrent events.
|
|
3436
|
+
* - Computing the width (column span) each event should occupy.
|
|
3437
|
+
*
|
|
3438
|
+
* This service is stateless — all state is passed via method parameters.
|
|
3439
|
+
* Provide it per-component (not root) so each view gets its own instance.
|
|
3440
|
+
*/
|
|
3441
|
+
declare class CalendarEventLayoutService {
|
|
3442
|
+
/**
|
|
3443
|
+
* Returns `true` when two time ranges overlap (exclusive boundaries).
|
|
3444
|
+
*/
|
|
3445
|
+
eventsOverlap(startA: Date, endA: Date, startB: Date, endB: Date): boolean;
|
|
3446
|
+
/**
|
|
3447
|
+
* Returns all events whose time range overlaps the given `[start, end)` window.
|
|
3448
|
+
*/
|
|
3449
|
+
getAllEventsOnSpecificTime(events: CalendarEvent[], start: Date, end: Date): CalendarEvent[];
|
|
3450
|
+
/**
|
|
3451
|
+
* Splits multi-day events into per-day segments that fit within the
|
|
3452
|
+
* visible hour range (`startHour`–`endHour`) and date range.
|
|
3453
|
+
*
|
|
3454
|
+
* Single-day events are shallow-copied as-is. Multi-day events produce
|
|
3455
|
+
* one segment per day with `continued` / `continuedEnd` flags set.
|
|
3456
|
+
*/
|
|
3457
|
+
calculateMultiDayEvents(events: CalendarEvent[], startHour: number, endHour: number, rangeStart: Date, rangeEnd: Date): CalendarEvent[];
|
|
3458
|
+
/**
|
|
3459
|
+
* Assigns a zero-based `column` index to each event so that overlapping
|
|
3460
|
+
* events occupy different columns.
|
|
3461
|
+
*
|
|
3462
|
+
* Events are processed in start-time order (longest duration first for ties).
|
|
3463
|
+
* Each event gets the earliest column not already occupied by an overlapping event.
|
|
3464
|
+
*/
|
|
3465
|
+
assignColumnsToEvents(events: CalendarEvent[]): void;
|
|
3466
|
+
/**
|
|
3467
|
+
* Assigns a `width` (column span) to each event, expanding it to fill
|
|
3468
|
+
* unused columns to its right within the overlapping group.
|
|
3469
|
+
*/
|
|
3470
|
+
assignWidthsToEvents(events: CalendarEvent[], scanStart: Date, scanEnd: Date): void;
|
|
3471
|
+
/** Finds the lowest column index not occupied by any overlapping event. */
|
|
3472
|
+
private findEarliestPossibleColumn;
|
|
3473
|
+
/** Computes the maximum width an event can span without overlapping a neighbour to its right. */
|
|
3474
|
+
private findBiggestPossibleWidth;
|
|
3475
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarEventLayoutService, never>;
|
|
3476
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CalendarEventLayoutService>;
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
/** Extended hour row with a pre-resolved display label. */
|
|
3480
|
+
interface DisplayHourRow$1 extends HourRow {
|
|
3481
|
+
hourLabel: string;
|
|
3482
|
+
}
|
|
3483
|
+
/**
|
|
3484
|
+
* Week grid view showing 7 day columns with half-hour time slots.
|
|
3485
|
+
*
|
|
3486
|
+
* Overlapping events within the same day are laid out in sub-columns
|
|
3487
|
+
* so they appear side-by-side rather than stacked.
|
|
3488
|
+
*/
|
|
3489
|
+
declare class CalendarWeekComponent implements OnInit, OnDestroy {
|
|
3490
|
+
private layoutService;
|
|
3491
|
+
/** The date around which the week is centred. */
|
|
3492
|
+
focusDay: Date;
|
|
3493
|
+
/** Observable that emits the full event list whenever it changes. */
|
|
3494
|
+
eventsChanged: Observable<CalendarEvent[]>;
|
|
3495
|
+
/** Observable that emits when the focus day changes. */
|
|
3496
|
+
focusDayChanged: Observable<Date>;
|
|
3497
|
+
/** Resolved calendar configuration passed from the parent view. */
|
|
3498
|
+
config?: CalendarConfig;
|
|
3499
|
+
/** Optional custom event renderer component. */
|
|
3500
|
+
calendarEventComponent?: Type<CalendarEventData>;
|
|
3501
|
+
/** Emits when a calendar event is clicked. */
|
|
3502
|
+
eventClicked: EventEmitter<CalendarEvent>;
|
|
3503
|
+
columns: ColumnDay[];
|
|
3504
|
+
hourRows: DisplayHourRow$1[];
|
|
3505
|
+
displayEvents: CalendarEvent[];
|
|
3506
|
+
totalRows: number;
|
|
3507
|
+
currentTimeRow: number;
|
|
3508
|
+
currentTimeCol: string;
|
|
3509
|
+
gridTemplateColumns: string;
|
|
3510
|
+
private dayColumnMap;
|
|
3511
|
+
private events;
|
|
3512
|
+
private destroy$;
|
|
3513
|
+
private formatter;
|
|
3514
|
+
private resolvedConfig;
|
|
3515
|
+
private currentTimeInterval?;
|
|
3516
|
+
constructor(layoutService: CalendarEventLayoutService);
|
|
3517
|
+
ngOnInit(): void;
|
|
3518
|
+
ngOnDestroy(): void;
|
|
3519
|
+
/** Returns the CSS `grid-row` value for an event based on its start/end times. */
|
|
3520
|
+
getEventRow(event: CalendarEvent): string;
|
|
3521
|
+
/** Returns the CSS `grid-column` span for a day header, accounting for sub-columns. */
|
|
3522
|
+
getHeaderColumn(dayIndex: number): string;
|
|
3523
|
+
/** Returns the CSS `grid-column` value for an event within its day's sub-columns. */
|
|
3524
|
+
getEventColumn(event: CalendarEvent): string;
|
|
3525
|
+
/** Forwards event click to parent. */
|
|
3526
|
+
onEventClick(event: CalendarEvent): void;
|
|
3527
|
+
/** trackBy for hour rows. */
|
|
3528
|
+
trackByHour(_index: number, row: DisplayHourRow$1): number;
|
|
3529
|
+
/** trackBy for day columns. */
|
|
3530
|
+
trackByColumn(_index: number, col: ColumnDay): number;
|
|
3531
|
+
/** trackBy for events. */
|
|
3532
|
+
trackByEvent(_index: number, event: CalendarEvent): string;
|
|
3533
|
+
private buildHourRows;
|
|
3534
|
+
/** Builds the 7 day columns for the current week (Monday–Sunday). */
|
|
3535
|
+
private buildColumns;
|
|
3536
|
+
/** Filters, splits, and lays out events for the current week. */
|
|
3537
|
+
private refreshEvents;
|
|
3538
|
+
/** Computes the CSS grid-template-columns string based on per-day sub-column counts. */
|
|
3539
|
+
private buildGridColumns;
|
|
3540
|
+
/** Updates the current-time red line position. */
|
|
3541
|
+
private updateCurrentTime;
|
|
3542
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarWeekComponent, never>;
|
|
3543
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarWeekComponent, "app-calendar-week", never, { "focusDay": { "alias": "focusDay"; "required": false; }; "eventsChanged": { "alias": "eventsChanged"; "required": false; }; "focusDayChanged": { "alias": "focusDayChanged"; "required": false; }; "config": { "alias": "config"; "required": false; }; "calendarEventComponent": { "alias": "calendarEventComponent"; "required": false; }; }, { "eventClicked": "eventClicked"; }, never, never, true, never>;
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
/** Extended hour row with a pre-resolved display label. */
|
|
3547
|
+
interface DisplayHourRow extends HourRow {
|
|
3548
|
+
hourLabel: string;
|
|
3549
|
+
}
|
|
3550
|
+
/**
|
|
3551
|
+
* Day grid view showing a single day with half-hour time slots.
|
|
3552
|
+
*
|
|
3553
|
+
* Shares the same layout algorithm as the week view via
|
|
3554
|
+
* {@link CalendarEventLayoutService}.
|
|
3555
|
+
*/
|
|
3556
|
+
declare class CalendarDayComponent implements OnInit, OnDestroy {
|
|
3557
|
+
private layoutService;
|
|
3558
|
+
/** The date to display. */
|
|
3559
|
+
focusDay: Date;
|
|
3560
|
+
/** Observable that emits the full event list whenever it changes. */
|
|
3561
|
+
eventsChanged: Observable<CalendarEvent[]>;
|
|
3562
|
+
/** Observable that emits when the focus day changes. */
|
|
3563
|
+
focusDayChanged: Observable<Date>;
|
|
3564
|
+
/** Resolved calendar configuration passed from the parent view. */
|
|
3565
|
+
config?: CalendarConfig;
|
|
3566
|
+
/** Optional custom event renderer component. */
|
|
3567
|
+
calendarEventComponent?: Type<CalendarEventData>;
|
|
3568
|
+
/** Emits when a calendar event is clicked. */
|
|
3569
|
+
eventClicked: EventEmitter<CalendarEvent>;
|
|
3570
|
+
hourRows: DisplayHourRow[];
|
|
3571
|
+
displayEvents: CalendarEvent[];
|
|
3572
|
+
totalRows: number;
|
|
3573
|
+
totalColumns: number;
|
|
3574
|
+
currentTimeRow: number;
|
|
3575
|
+
isToday: boolean;
|
|
3576
|
+
dayName: string;
|
|
3577
|
+
private events;
|
|
3578
|
+
private destroy$;
|
|
3579
|
+
private formatter;
|
|
3580
|
+
private resolvedConfig;
|
|
3581
|
+
private currentTimeInterval?;
|
|
3582
|
+
constructor(layoutService: CalendarEventLayoutService);
|
|
3583
|
+
ngOnInit(): void;
|
|
3584
|
+
ngOnDestroy(): void;
|
|
3585
|
+
/** Returns the CSS `grid-row` value for an event. */
|
|
3586
|
+
getEventRow(event: CalendarEvent): string;
|
|
3587
|
+
/** Returns the CSS `grid-column` value for an event within its sub-columns. */
|
|
3588
|
+
getEventColumn(event: CalendarEvent): string;
|
|
3589
|
+
/** Forwards event click to parent. */
|
|
3590
|
+
onEventClick(event: CalendarEvent): void;
|
|
3591
|
+
/** trackBy for hour rows. */
|
|
3592
|
+
trackByHour(_index: number, row: DisplayHourRow): number;
|
|
3593
|
+
/** trackBy for events. */
|
|
3594
|
+
trackByEvent(_index: number, event: CalendarEvent): string;
|
|
3595
|
+
private buildHourRows;
|
|
3596
|
+
/** Updates the day name and isToday flag. */
|
|
3597
|
+
private updateDayInfo;
|
|
3598
|
+
/** Filters, splits, and lays out events for the focus day. */
|
|
3599
|
+
private refreshEvents;
|
|
3600
|
+
/** Updates the current-time red line position. */
|
|
3601
|
+
private updateCurrentTime;
|
|
3602
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarDayComponent, never>;
|
|
3603
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarDayComponent, "app-calendar-day", never, { "focusDay": { "alias": "focusDay"; "required": false; }; "eventsChanged": { "alias": "eventsChanged"; "required": false; }; "focusDayChanged": { "alias": "focusDayChanged"; "required": false; }; "config": { "alias": "config"; "required": false; }; "calendarEventComponent": { "alias": "calendarEventComponent"; "required": false; }; }, { "eventClicked": "eventClicked"; }, never, never, true, never>;
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
/**
|
|
3607
|
+
* Month grid view showing a 7×6 grid of day cells.
|
|
3608
|
+
*
|
|
3609
|
+
* Each cell displays the day number and up to 3 coloured dots representing
|
|
3610
|
+
* events on that day. Clicking a cell emits `dayClicked`.
|
|
3611
|
+
*/
|
|
3612
|
+
declare class CalendarMonthComponent implements OnInit, OnDestroy {
|
|
3613
|
+
/** The date whose month is displayed. */
|
|
3614
|
+
focusDay: Date;
|
|
3615
|
+
/** Observable that emits the full event list whenever it changes. */
|
|
3616
|
+
eventsChanged: Observable<CalendarEvent[]>;
|
|
3617
|
+
/** Observable that emits when the focus day changes. */
|
|
3618
|
+
focusDayChanged: Observable<Date>;
|
|
3619
|
+
/** Resolved calendar configuration passed from the parent view. */
|
|
3620
|
+
config?: CalendarConfig;
|
|
3621
|
+
/** Emits the date of a clicked day cell. */
|
|
3622
|
+
dayClicked: EventEmitter<Date>;
|
|
3623
|
+
monthItems: MonthItem[];
|
|
3624
|
+
longDayNames: string[];
|
|
3625
|
+
private events;
|
|
3626
|
+
private destroy$;
|
|
3627
|
+
private formatter;
|
|
3628
|
+
constructor();
|
|
3629
|
+
ngOnInit(): void;
|
|
3630
|
+
ngOnDestroy(): void;
|
|
3631
|
+
/** Emits the clicked day's date. */
|
|
3632
|
+
onDayClick(date: Date): void;
|
|
3633
|
+
/** trackBy for day name headers. */
|
|
3634
|
+
trackByDayName(index: number): number;
|
|
3635
|
+
/** trackBy for month grid cells. */
|
|
3636
|
+
trackByMonthItem(_index: number, item: MonthItem): number;
|
|
3637
|
+
/** trackBy for event dots. */
|
|
3638
|
+
trackByEventDot(_index: number, event: CalendarEvent): string;
|
|
3639
|
+
/** Builds the 42-cell month grid (6 rows × 7 columns). */
|
|
3640
|
+
private buildMonth;
|
|
3641
|
+
private createMonthItem;
|
|
3642
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthComponent, never>;
|
|
3643
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthComponent, "app-calendar-month", never, { "focusDay": { "alias": "focusDay"; "required": false; }; "eventsChanged": { "alias": "eventsChanged"; "required": false; }; "focusDayChanged": { "alias": "focusDayChanged"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "dayClicked": "dayClicked"; }, never, never, true, never>;
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
/**
|
|
3647
|
+
* Dynamic event renderer that injects a custom or default event component
|
|
3648
|
+
* into its view container.
|
|
3649
|
+
*
|
|
3650
|
+
* The component to render is resolved in this order:
|
|
3651
|
+
* 1. `customComponent` input (set on the parent week/day view)
|
|
3652
|
+
* 2. `event.component` (per-event override)
|
|
3653
|
+
* 3. {@link CalendarEventDefaultComponent} (library default)
|
|
3654
|
+
*/
|
|
3655
|
+
declare class CalendarEventComponent implements AfterViewInit, OnChanges {
|
|
3656
|
+
/** The event data to render. */
|
|
3657
|
+
event: CalendarEvent;
|
|
3658
|
+
/** Optional custom component type that overrides the default renderer. */
|
|
3659
|
+
customComponent?: Type<CalendarEventData>;
|
|
3660
|
+
/** Emits when the rendered event is clicked. */
|
|
3661
|
+
eventClicked: EventEmitter<CalendarEvent>;
|
|
3662
|
+
eventContainer: ViewContainerRef;
|
|
3663
|
+
private rendered;
|
|
3664
|
+
ngAfterViewInit(): void;
|
|
3665
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3666
|
+
/** Emits the event click. */
|
|
3667
|
+
onEventClick(): void;
|
|
3668
|
+
/** Creates the event component dynamically and sets its `event` property. */
|
|
3669
|
+
private renderComponent;
|
|
3670
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarEventComponent, never>;
|
|
3671
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarEventComponent, "app-calendar-event", never, { "event": { "alias": "event"; "required": false; }; "customComponent": { "alias": "customComponent"; "required": false; }; }, { "eventClicked": "eventClicked"; }, never, never, true, never>;
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3674
|
+
/**
|
|
3675
|
+
* Default event renderer used when no custom component is provided.
|
|
3676
|
+
*
|
|
3677
|
+
* Displays the event title, formatted time range, and optional description
|
|
3678
|
+
* with the event's colour scheme applied as background and left-border accent.
|
|
3679
|
+
*/
|
|
3680
|
+
declare class CalendarEventDefaultComponent implements CalendarEventData, OnInit {
|
|
3681
|
+
/** The event to render. Set by {@link CalendarEventComponent} after creation. */
|
|
3682
|
+
event: CalendarEvent;
|
|
3683
|
+
formattedTime: string;
|
|
3684
|
+
private formatter;
|
|
3685
|
+
constructor(formatter: CalendarDateFormatter | null);
|
|
3686
|
+
ngOnInit(): Promise<void>;
|
|
3687
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CalendarEventDefaultComponent, [{ optional: true; }]>;
|
|
3688
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CalendarEventDefaultComponent, "app-calendar-event-default", never, {}, {}, never, never, true, never>;
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* Sidebar component that lists the next 10 upcoming events
|
|
3693
|
+
* (events whose end time is in the future), sorted by start time.
|
|
3694
|
+
*/
|
|
3695
|
+
declare class UpcomingEventsComponent implements OnInit, OnDestroy {
|
|
3696
|
+
/** Observable that emits the full event list whenever it changes. */
|
|
3697
|
+
eventsChanged: Observable<CalendarEvent[]>;
|
|
3698
|
+
/** Resolved calendar configuration passed from the parent view. */
|
|
3699
|
+
config?: CalendarConfig;
|
|
3700
|
+
/** Emits when an upcoming event row is clicked. */
|
|
3701
|
+
eventClicked: EventEmitter<CalendarEvent>;
|
|
3702
|
+
upcomingEvents: CalendarEvent[];
|
|
3703
|
+
title: string;
|
|
3704
|
+
private destroy$;
|
|
3705
|
+
constructor();
|
|
3706
|
+
ngOnInit(): void;
|
|
3707
|
+
ngOnDestroy(): void;
|
|
3708
|
+
/** trackBy for upcoming event rows. */
|
|
3709
|
+
trackByEvent(_index: number, event: CalendarEvent): string;
|
|
3710
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpcomingEventsComponent, never>;
|
|
3711
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpcomingEventsComponent, "app-upcoming-events", never, { "eventsChanged": { "alias": "eventsChanged"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "eventClicked": "eventClicked"; }, never, never, true, never>;
|
|
3712
|
+
}
|
|
3713
|
+
|
|
3714
|
+
/**
|
|
3715
|
+
* Renders a single row in the upcoming-events sidebar.
|
|
3716
|
+
* Shows the event title, formatted date/time, and optional description.
|
|
3717
|
+
*/
|
|
3718
|
+
declare class UpcomingEventRowComponent implements OnInit {
|
|
3719
|
+
/** The event to display. */
|
|
3720
|
+
event: CalendarEvent;
|
|
3721
|
+
/** Emits the event when this row is clicked. */
|
|
3722
|
+
eventClicked: EventEmitter<CalendarEvent>;
|
|
3723
|
+
formattedDate: string;
|
|
3724
|
+
private formatter;
|
|
3725
|
+
constructor(formatter: CalendarDateFormatter | null);
|
|
3726
|
+
ngOnInit(): Promise<void>;
|
|
3727
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UpcomingEventRowComponent, [{ optional: true; }]>;
|
|
3728
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UpcomingEventRowComponent, "app-upcoming-event-row", never, { "event": { "alias": "event"; "required": false; }; }, { "eventClicked": "eventClicked"; }, never, never, true, never>;
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
/**
|
|
3732
|
+
* Default implementation of {@link CalendarDateFormatter} that uses the
|
|
3733
|
+
* browser's `Intl.DateTimeFormat` API for locale-aware formatting.
|
|
3734
|
+
*
|
|
3735
|
+
* The locale is read from the injected {@link CALENDAR_CONFIG}. If no config
|
|
3736
|
+
* is provided, `'en-US'` is used as the fallback.
|
|
3737
|
+
*
|
|
3738
|
+
* This service has no dependency on `@ngx-translate` or any other i18n library,
|
|
3739
|
+
* so the calendar library works out of the box. Consumers can replace it with
|
|
3740
|
+
* their own implementation via the `CALENDAR_DATE_FORMATTER` injection token.
|
|
3741
|
+
*/
|
|
3742
|
+
declare class DefaultCalendarDateFormatter implements CalendarDateFormatter {
|
|
3743
|
+
private readonly locale;
|
|
3744
|
+
constructor(config?: CalendarConfig | null);
|
|
3745
|
+
/** Formats an hour and minute pair into a locale time string (e.g. "09:00 AM"). */
|
|
3746
|
+
formatTimeI(hour: number, minute: number): Promise<string>;
|
|
3747
|
+
/** Formats the time portion of a Date (e.g. "2:30 PM"). Returns empty string for undefined. */
|
|
3748
|
+
formatTime(date: Date | undefined): Promise<string>;
|
|
3749
|
+
/** Formats a Date as a full date-time string (e.g. "May 15, 2026, 02:30 PM"). */
|
|
3750
|
+
formatDateTime(date: Date): Observable<string>;
|
|
3751
|
+
/** Formats a Date as a date-only string (e.g. "May 15, 2026"). */
|
|
3752
|
+
formatDate(date: Date): Observable<string>;
|
|
3753
|
+
/** Formats a Date as `YYYY-MM-DD` for use in `<input type="date">` controls. */
|
|
3754
|
+
formatDateForFormControl(date: Date): string;
|
|
3755
|
+
/** Returns `true` if both dates fall on the same calendar day. */
|
|
3756
|
+
isSameDay(date1: Date, date2: Date): boolean;
|
|
3757
|
+
/** Formats a Date as "Month Year" (e.g. "January 2026"). */
|
|
3758
|
+
formatMonthName(date: Date): Promise<string>;
|
|
3759
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultCalendarDateFormatter, [{ optional: true; }]>;
|
|
3760
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultCalendarDateFormatter>;
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
/**
|
|
3764
|
+
* Static utility methods for calendar grid positioning.
|
|
3765
|
+
*/
|
|
3766
|
+
declare class CalendarUtility {
|
|
3767
|
+
/**
|
|
3768
|
+
* Converts a weekday (from `Date.getDay()`) to a 1-based Monday-first column index.
|
|
3769
|
+
* Monday = 1, Tuesday = 2, …, Sunday = 7.
|
|
3770
|
+
*/
|
|
3771
|
+
static getCorrectColumn(date: Date): number;
|
|
3772
|
+
/**
|
|
3773
|
+
* Converts an hour + minute pair to a 1-based CSS grid row index
|
|
3774
|
+
* within a half-hour grid starting at `startHour`.
|
|
3775
|
+
*
|
|
3776
|
+
* Each hour occupies two rows (one per 30-minute slot).
|
|
3777
|
+
* Formula: `(hour - startHour) * 2 + (minute >= 30 ? 1 : 0) + 1`
|
|
3778
|
+
*
|
|
3779
|
+
* @returns Grid row number (minimum 1).
|
|
3780
|
+
*/
|
|
3781
|
+
static getCorrectRow(hour: number, minute: number, startHour: number): number;
|
|
3782
|
+
}
|
|
3783
|
+
|
|
3094
3784
|
/**
|
|
3095
3785
|
* Types for mn-lib configuration.
|
|
3096
3786
|
*/
|
|
@@ -3642,5 +4332,5 @@ interface MnPreviewMessage {
|
|
|
3642
4332
|
*/
|
|
3643
4333
|
declare function enableMnPreviewMode(configService: MnConfigService, langService: MnLanguageService, allowedOrigins?: string[]): void;
|
|
3644
4334
|
|
|
3645
|
-
export { API_BASE_URL, ActionStyle, BackdropMode, BaseModalBuilder, CloseMode, ColumnSortType, ConfirmationModalBuilder, ConfirmationTone, CrudService, CustomModalBuilder, DEFAULT_MN_ALERT_CONFIG, FieldAppearance, FieldKind, FormLayoutMode, FormModalBuilder, KeyboardMode, MN_ALERT_CONFIG, MN_CHECKBOX_CONFIG, MN_DATETIME_CONFIG, MN_INPUT_FIELD_CONFIG, MN_INSTANCE_ID, MN_LIB_DUAL_HORIZONTAL_IMAGE, MN_MULTI_SELECT_CONFIG, MN_SECTION_PATH, MN_TEST_COMPONENT_CONFIG, MN_TEXTAREA_CONFIG, MnAlertOutletComponent, MnAlertService, MnAlertStore, MnButton, MnCheckbox, MnConfigService, MnConfirmationBodyComponent, MnCustomBodyHostComponent, MnDatetime, MnDualHorizontalImage, MnFormBodyComponent, MnInformationCard, MnInputField, MnInstanceDirective, MnLanguageService, MnModalRef, MnModalService, MnModalShellComponent, MnMultiSelect, MnSectionDirective, MnTable, MnTestComponent, MnTextarea, MnTranslatePipe, MnWizardBodyComponent, ModalBuilder, ModalCloseReason, ModalIntent, ModalKind, ModalSize, NavigationDirection, OptionState, SelectionMode, StepBuilder, StepState, SubmitMode, Test, ValidationCode, ValidationStatus, WizardFlowMode, WizardModalBuilder, dateTimeAdapter, defaultTextAdapter, enableMnPreviewMode, isTranslatable, mnAlertVariants, mnButtonVariants, mnCheckboxVariants, mnDatetimeVariants, mnInformationCardVariants, mnInputFieldVariants, mnMultiSelectVariants, mnTextareaVariants, numberAdapter, pickAdapter, provideMnAlerts, provideMnComponentConfig, provideMnConfig, provideMnLanguage };
|
|
3646
|
-
export type { AnimationOptions, ApiError, BaseModalConfig, CancellationActionConfig, CheckboxFieldConfig, ColorFieldConfig, ColumnDefinition, ConfirmationActionConfig, ConfirmationModalConfig, CrudConfig, CursorPaginationStrategy, CustomFieldConfig, CustomModalConfig, DateFieldConfig, DatetimeFieldConfig, FailureResult, FieldDataSource, FieldValidator, FieldVisibilityCondition, FileFieldConfig, FormFieldConfig, FormFieldGroup, FormModalConfig, FormRow, FormRowField, FormValidator, MnAlert, MnAlertConfig, MnAlertId, MnAlertKind, MnAlertTemplateContext, MnAlertVariants, MnButtonTypes, MnButtonVariants, MnCheckboxErrorMessageData, MnCheckboxErrorMessagesData, MnCheckboxProps, MnCheckboxUIConfig, MnCheckboxVariants, MnConfigFile, MnConfigSettings, MnConfigValue, MnDatetimeErrorMessageData, MnDatetimeErrorMessagesData, MnDatetimeMode, MnDatetimeProps, MnDatetimeUIConfig, MnDatetimeVariants, MnDomAttrs, MnDualHorizontalImageConfig, MnDualHorizontalImageTypes, MnErrorMessageData, MnErrorMessagesData, MnImageType, MnInformationCardBaseData, MnInformationCardData, MnInformationCardVariants, MnInputAdapter, MnInputBaseProps, MnInputDateTimeProps, MnInputFieldProps, MnInputFieldUIConfig, MnInputProps, MnInputType, MnInputVariants, MnLanguageConfig, MnMultiSelectErrorMessageData, MnMultiSelectErrorMessagesData, MnMultiSelectOption, MnMultiSelectProps, MnMultiSelectUIConfig, MnMultiSelectVariants, MnPreviewMessage, MnShowInput, MnTextareaErrorMessageData, MnTextareaErrorMessagesData, MnTextareaProps, MnTextareaUIConfig, MnTextareaVariants, MnTranslatable, MnTranslationMap, MnTranslations, ModalCancelHandler, ModalCloseEvent, ModalConfig, ModalFooterAction, ModalI18nLabels, ModalInputMap, ModalPollingConfig, ModalRef, ModalResultHandler, ModalStepId, MultiSelectFieldConfig, MultiSelectTableFieldConfig, NumberFieldConfig, OffsetPaginationStrategy, PaginationStrategy, PasswordFieldConfig, Primitive, QueryParams, QueryValue, RatingFieldConfig, Result, ResultMeta, SelectFieldConfig, SelectOption, SingleSelectTableFieldConfig, SliderFieldConfig, SortState, StepBodyConfig, StepGuard, StepValidator, SuccessResult, TableAppearance, TableDataSource, TableRowAction, TextFieldConfig, TextareaFieldConfig, ValidationResult, WizardBeforeCompleteValidator, WizardModalConfig, WizardResult, WizardStepChangeEvent, WizardStepChangeHandler, WizardStepConfig };
|
|
4335
|
+
export { API_BASE_URL, ActionStyle, BackdropMode, BaseModalBuilder, CALENDAR_CONFIG, CALENDAR_DATE_FORMATTER, CalendarDayComponent, CalendarEventComponent, CalendarEventDefaultComponent, CalendarEventLayoutService, CalendarMonthComponent, CalendarUtility, CalendarView, CalendarViewComponent, CalendarWeekComponent, CloseMode, ColumnSortType, ConfirmationModalBuilder, ConfirmationTone, CrudService, CustomModalBuilder, DEFAULT_CALENDAR_CONFIG, DEFAULT_MN_ALERT_CONFIG, DefaultCalendarDateFormatter, FieldAppearance, FieldKind, FormLayoutMode, FormModalBuilder, KeyboardMode, MN_ALERT_CONFIG, MN_CALENDAR_COMPONENT_NAME, MN_CALENDAR_CONFIG, MN_CHECKBOX_CONFIG, MN_DATETIME_CONFIG, MN_INPUT_FIELD_CONFIG, MN_INSTANCE_ID, MN_LIB_DUAL_HORIZONTAL_IMAGE, MN_MULTI_SELECT_CONFIG, MN_SECTION_PATH, MN_TEST_COMPONENT_CONFIG, MN_TEXTAREA_CONFIG, MnAlertOutletComponent, MnAlertService, MnAlertStore, MnButton, MnCheckbox, MnConfigService, MnConfirmationBodyComponent, MnCustomBodyHostComponent, MnDatetime, MnDualHorizontalImage, MnFormBodyComponent, MnInformationCard, MnInputField, MnInstanceDirective, MnLanguageService, MnModalRef, MnModalService, MnModalShellComponent, MnMultiSelect, MnSectionDirective, MnTable, MnTestComponent, MnTextarea, MnTranslatePipe, MnWizardBodyComponent, ModalBuilder, ModalCloseReason, ModalIntent, ModalKind, ModalSize, NavigationDirection, OptionState, SelectionMode, StepBuilder, StepState, SubmitMode, Test, UpcomingEventRowComponent, UpcomingEventsComponent, ValidationCode, ValidationStatus, WizardFlowMode, WizardModalBuilder, dateTimeAdapter, defaultTextAdapter, enableMnPreviewMode, isTranslatable, mnAlertVariants, mnButtonVariants, mnCheckboxVariants, mnDatetimeVariants, mnInformationCardVariants, mnInputFieldVariants, mnMultiSelectVariants, mnTextareaVariants, numberAdapter, pickAdapter, provideMnAlerts, provideMnCalendarConfig, provideMnComponentConfig, provideMnConfig, provideMnLanguage, resolveCalendarConfig };
|
|
4336
|
+
export type { AnimationOptions, ApiError, BaseModalConfig, CalendarConfig, CalendarDateFormatter, CalendarEvent, CalendarEventData, CancellationActionConfig, CheckboxFieldConfig, ColorFieldConfig, ColorPreset, ColumnDay, ColumnDefinition, ConfirmationActionConfig, ConfirmationModalConfig, CrudConfig, CurrentTimeCalendarEvent, CursorPaginationStrategy, CustomFieldConfig, CustomModalConfig, DateFieldConfig, DatetimeFieldConfig, FailureResult, FieldDataSource, FieldValidator, FieldVisibilityCondition, FileFieldConfig, FormFieldConfig, FormFieldGroup, FormModalConfig, FormRow, FormRowField, FormValidator, HourRow, MnAlert, MnAlertConfig, MnAlertId, MnAlertKind, MnAlertTemplateContext, MnAlertVariants, MnButtonTypes, MnButtonVariants, MnCheckboxErrorMessageData, MnCheckboxErrorMessagesData, MnCheckboxProps, MnCheckboxUIConfig, MnCheckboxVariants, MnConfigFile, MnConfigSettings, MnConfigValue, MnDatetimeErrorMessageData, MnDatetimeErrorMessagesData, MnDatetimeMode, MnDatetimeProps, MnDatetimeUIConfig, MnDatetimeVariants, MnDomAttrs, MnDualHorizontalImageConfig, MnDualHorizontalImageTypes, MnErrorMessageData, MnErrorMessagesData, MnImageType, MnInformationCardBaseData, MnInformationCardData, MnInformationCardVariants, MnInputAdapter, MnInputBaseProps, MnInputDateTimeProps, MnInputFieldProps, MnInputFieldUIConfig, MnInputProps, MnInputType, MnInputVariants, MnLanguageConfig, MnMultiSelectErrorMessageData, MnMultiSelectErrorMessagesData, MnMultiSelectOption, MnMultiSelectProps, MnMultiSelectUIConfig, MnMultiSelectVariants, MnPreviewMessage, MnShowInput, MnTextareaErrorMessageData, MnTextareaErrorMessagesData, MnTextareaProps, MnTextareaUIConfig, MnTextareaVariants, MnTranslatable, MnTranslationMap, MnTranslations, ModalCancelHandler, ModalCloseEvent, ModalConfig, ModalFooterAction, ModalI18nLabels, ModalInputMap, ModalPollingConfig, ModalRef, ModalResultHandler, ModalStepId, MonthItem, MultiSelectFieldConfig, MultiSelectTableFieldConfig, NumberFieldConfig, OffsetPaginationStrategy, PaginationStrategy, PasswordFieldConfig, Primitive, QueryParams, QueryValue, RatingFieldConfig, Result, ResultMeta, SelectFieldConfig, SelectOption, SingleSelectTableFieldConfig, SliderFieldConfig, SortState, StepBodyConfig, StepGuard, StepValidator, SuccessResult, TableAppearance, TableDataSource, TableRowAction, TextFieldConfig, TextareaFieldConfig, ValidationResult, WizardBeforeCompleteValidator, WizardModalConfig, WizardResult, WizardStepChangeEvent, WizardStepChangeHandler, WizardStepConfig };
|