yukit-web 0.7.3 → 0.8.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "yukit-web",
3
3
  "description": "Angular UI component library for Yurest web applications.",
4
- "version": "0.7.3",
4
+ "version": "0.8.1",
5
5
  "author": {
6
6
  "name": "Yurest Solutions",
7
7
  "email": "develop@yurest.com"
@@ -2048,11 +2048,134 @@ declare class YuwContextMenuSubTriggerDirective {
2048
2048
  /** Every context-menu part, for a consumer's `imports`. */
2049
2049
  declare const YuwContextMenuImports: readonly [typeof YuwContextMenuTriggerDirective, typeof YuwContextMenuDirective, typeof YuwContextMenuItemDirective, typeof YuwContextMenuCheckboxDirective, typeof YuwContextMenuCheckboxIndicatorComponent, typeof YuwContextMenuRadioDirective, typeof YuwContextMenuRadioIndicatorComponent, typeof YuwContextMenuLabelDirective, typeof YuwContextMenuGroupDirective, typeof YuwContextMenuSeparatorDirective, typeof YuwContextMenuShortcutDirective, typeof YuwContextMenuSubDirective, typeof YuwContextMenuSubTriggerDirective, typeof YuwContextMenuSubIndicatorComponent];
2050
2050
 
2051
+ /** `single` picks one day, `range` a start and an end day. */
2052
+ type YuwCalendarModeDto = 'single' | 'range';
2053
+ /** A day for `single`, `[start, end]` for `range`, `null` while nothing is picked. */
2054
+ type YuwCalendarValue = Date | [Date, Date] | null;
2055
+ /** `days` shows the month grid; `monthYear` the month and year grids used to jump to another month. */
2056
+ type YuwCalendarView = 'days' | 'monthYear';
2057
+
2058
+ /**
2059
+ * Inline calendar that picks one day or a range, and lets the user jump to another month without paging: clicking
2060
+ * the month heading (e.g. "marzo de 2026") switches to the month grid, clicking it again to the year grid, and
2061
+ * picking a year and then a month returns to the days of that month. Jumping never changes the selection.
2062
+ *
2063
+ * In `range` mode the first click sets the start and the second the end; `value` only changes once both are set, so
2064
+ * a half-picked range survives a jump to another month.
2065
+ *
2066
+ * It is drawn in the `secondary` color: the picked days, range ends and month or year are filled with its accent, the
2067
+ * days between the ends and the other months and years with its light tone, and today is grey, like a neutral
2068
+ * secondary button.
2069
+ *
2070
+ * Month names, weekday names and the heading follow the brain calendar i18n (`provideBrnCalendarI18n`).
2071
+ *
2072
+ * Inputs / Models:
2073
+ * - `mode`: `'single'` or `'range'`. Default is `'single'`.
2074
+ * - `value`: Two-way picked day (`Date`) or range (`[Date, Date]`); `null` while nothing is picked.
2075
+ * - `minDate`, `maxDate`: Bounds of the selectable days.
2076
+ * - `disabled`: Disables every control.
2077
+ *
2078
+ * Usage:
2079
+ * ```html
2080
+ * <yuw-calendar mode="range" [(value)]="range" />
2081
+ * ```
2082
+ */
2083
+ declare class YuwCalendarComponent {
2084
+ readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
2085
+ readonly maxDate: _angular_core.InputSignal<Date | undefined>;
2086
+ readonly minDate: _angular_core.InputSignal<Date | undefined>;
2087
+ readonly mode: _angular_core.InputSignal<YuwCalendarModeDto>;
2088
+ readonly value: _angular_core.ModelSignal<YuwCalendarValue>;
2089
+ protected readonly monthYearClass: string;
2090
+ protected readonly view: _angular_core.WritableSignal<YuwCalendarView>;
2091
+ protected readonly range: _angular_core.Signal<[Date, Date] | undefined>;
2092
+ protected readonly end: _angular_core.WritableSignal<Date | undefined>;
2093
+ protected readonly single: _angular_core.Signal<Date | undefined>;
2094
+ protected readonly focused: _angular_core.WritableSignal<Date>;
2095
+ protected readonly start: _angular_core.WritableSignal<Date | undefined>;
2096
+ protected onDateChange(date: Date | undefined): void;
2097
+ protected onEndChange(end: Date | undefined): void;
2098
+ /** `undefined` means the focused month was clicked again, which keeps it. */
2099
+ protected onMonthPicked(month: Date | undefined): void;
2100
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwCalendarComponent, never>;
2101
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwCalendarComponent, "yuw-calendar", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
2102
+ }
2103
+
2104
+ /**
2105
+ * A shortcut listed beside the calendar ("Today", "Last 3 months"). `range` receives the current day and returns the
2106
+ * first and last day it covers, both included, so a preset stays relative: "This week" applied today and next month
2107
+ * covers different days. Ranges for the common cases are in `YUW_DATE_RANGES`.
2108
+ */
2109
+ interface YuwDatePresetDto {
2110
+ readonly id: string;
2111
+ readonly label: string;
2112
+ readonly range: (today: Date) => [Date, Date];
2113
+ }
2114
+ /** What the user picked: the dates, and the preset they came from when they came from one. */
2115
+ interface YuwDatePickDto<T> {
2116
+ readonly value: T;
2117
+ readonly presetId: string | undefined;
2118
+ }
2119
+
2120
+ type YuwDateRangeKey = 'today' | 'tomorrow' | 'thisWeek' | 'lastMonth' | 'nextMonth' | 'lastThreeMonths';
2121
+ type YuwQuarter = 1 | 2 | 3 | 4;
2122
+ /**
2123
+ * Ranges for `YuwDatePresetDto.range`, every day at midnight and both ends included:
2124
+ * - `thisWeek`: Monday to Sunday of the current week.
2125
+ * - `lastMonth`, `nextMonth`: the whole previous or next calendar month.
2126
+ * - `lastThreeMonths`: the three months up to today, today included.
2127
+ */
2128
+ declare const YUW_DATE_RANGES: Readonly<Record<YuwDateRangeKey, (today: Date) => [Date, Date]>>;
2129
+ /**
2130
+ * Presets for every `YUW_DATE_RANGES` key given a label, in the order of `labels`; the id is the key. Spread them
2131
+ * with the consumer's own: `[...yuwDatePresets(labels), { id: 'q1', label: 'Q1', range: yuwQuarterRange(1) }]`.
2132
+ */
2133
+ declare function yuwDatePresets(labels: Partial<Readonly<Record<YuwDateRangeKey, string>>>): YuwDatePresetDto[];
2134
+ /**
2135
+ * Range of a quarter, `yearOffset` years from the current one, so the preset stays relative: `yuwQuarterRange(1)` is
2136
+ * January 1st to March 31st of this year, `yuwQuarterRange(1, 1)` of next year and `yuwQuarterRange(4, -1)` the last
2137
+ * quarter of last year.
2138
+ */
2139
+ declare function yuwQuarterRange(quarter: YuwQuarter, yearOffset?: number): (today: Date) => [Date, Date];
2140
+
2141
+ /**
2142
+ * The `let-` context of a `yuwDatepickerTrigger` template.
2143
+ *
2144
+ * `$implicit`: Label of the picked dates, or of the preset they came from; empty while nothing is picked.
2145
+ */
2146
+ interface YuwDatepickerTriggerContext {
2147
+ readonly $implicit: string;
2148
+ }
2149
+ /**
2150
+ * Replaces the trigger of a `single` or `range` `<yuw-datepicker>` with a `<yuw-button>` whose content is this
2151
+ * template, styled by `triggerColor`, `triggerVariant` and `class`. Used where the picker is not a form field, such as
2152
+ * a list filter that reads "Date This week".
2153
+ *
2154
+ * Usage:
2155
+ * ```html
2156
+ * <yuw-datepicker mode="range" [(value)]="range" triggerVariant="secondary">
2157
+ * <ng-template yuwDatepickerTrigger let-summary>
2158
+ * <span class="font-semibold">Date</span> {{ summary }}
2159
+ * </ng-template>
2160
+ * </yuw-datepicker>
2161
+ * ```
2162
+ */
2163
+ declare class YuwDatepickerTriggerDirective {
2164
+ readonly templateRef: TemplateRef<YuwDatepickerTriggerContext>;
2165
+ static ngTemplateContextGuard(_directive: YuwDatepickerTriggerDirective, _context: unknown): _context is YuwDatepickerTriggerContext;
2166
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwDatepickerTriggerDirective, never>;
2167
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<YuwDatepickerTriggerDirective, "ng-template[yuwDatepickerTrigger]", never, {}, {}, never, never, true, never>;
2168
+ }
2169
+
2051
2170
  type YuwDatepickerValue = Date | [Date, Date] | Date[] | null;
2052
2171
  type YuwDatepickerModeDto = 'single' | 'range' | 'multiple' | 'monthYear';
2053
2172
  /**
2054
2173
  * Date picker control supporting single date, date range, multiple dates, or month/year pick modes.
2055
2174
  *
2175
+ * In `single` and `range` modes the calendar heading jumps to the month and then the year grid (see `yuw-calendar`),
2176
+ * and `presets` offers shortcuts such as "This week" in a combobox above it. Picking a preset sets `value` to its dates and
2177
+ * `presetId` to its id, and the trigger reads the preset label; picking days clears `presetId`.
2178
+ *
2056
2179
  * Inputs / Models:
2057
2180
  * - `mode`: Selection mode (`'single'`, `'range'`, `'multiple'`, `'monthYear'`). Default is `'single'`.
2058
2181
  * - `value`: Two-way selected date(s) (`YuwDatepickerValue`). Shape follows `mode`. Emits
@@ -2068,10 +2191,21 @@ type YuwDatepickerModeDto = 'single' | 'range' | 'multiple' | 'monthYear';
2068
2191
  * association. When omitted, a unique per-instance id is generated.
2069
2192
  * - `size`: Trigger button height (`YuwFieldSizeDto`), matching the `<yuw-button>` size of the same name. Default is `'default'`.
2070
2193
  * - `class`: Extra classes merged onto the trigger button (e.g. a width), consumer classes win.
2194
+ * The field trigger never grows past its container: a long label, such as many dates, ends in an ellipsis.
2071
2195
  * - `invalid`: Forces invalid styling. Applied from the first blur on, so a pristine field is not flagged.
2072
2196
  * - `helperText`: Hint shown under the control. Replaced by the error while one is displayed.
2073
2197
  * - `formatDate`: Custom date formatter function `(date: Date) => string` for the trigger label.
2074
2198
  * In `range`/`multiple` modes it formats each date, joined with `' - '` / `', '`.
2199
+ * - `presets`: `single`/`range` only. Shortcuts offered by a combobox above the calendar. Any `{ id, label, range }`
2200
+ * is a preset; `yuwDatePresets()` builds the common ones from their labels, and `yuwQuarterRange()` makes quarters.
2201
+ * In `single` mode a preset picks the first day of its range.
2202
+ * - `presetsLabel`: Placeholder and accessible name of the presets combobox; required with `presets`.
2203
+ * - `presetId`: `single`/`range` only. Two-way id of the preset the value came from; `undefined` for picked days. It
2204
+ * is updated before `value`, so a `valueChange` handler already reads the new one.
2205
+ * - `triggerColor`, `triggerVariant`: `single`/`range` only. Look of the `<yuw-button>` rendered for a projected
2206
+ * `yuwDatepickerTrigger` template, which replaces the field trigger (see `YuwDatepickerTriggerDirective`).
2207
+ *
2208
+ * `captionLayout` applies to `multiple` only: the `single` and `range` calendars navigate through their heading.
2075
2209
  *
2076
2210
  * Bound with `[formField]` (signal forms), the error state follows the field: shown once it is touched, with the
2077
2211
  * `message` of its first error under the control.
@@ -2081,9 +2215,11 @@ type YuwDatepickerModeDto = 'single' | 'range' | 'multiple' | 'monthYear';
2081
2215
  * <yuw-datepicker [(value)]="selectedDate" placeholder="Select date..." />
2082
2216
  * <yuw-datepicker mode="range" [(value)]="dateRange" />
2083
2217
  * <yuw-datepicker mode="monthYear" [(value)]="selectedMonth" />
2218
+ * <yuw-datepicker mode="range" [presets]="presets" [(presetId)]="presetId" [(value)]="dateRange" />
2084
2219
  * ```
2085
2220
  */
2086
2221
  declare class YuwDatepickerComponent extends YuwValueAccessorBase<YuwDatepickerValue> {
2222
+ protected readonly triggerTemplate: _angular_core.Signal<YuwDatepickerTriggerDirective | undefined>;
2087
2223
  readonly align: _angular_core.InputSignal<"center" | "start" | "end">;
2088
2224
  readonly buttonId: _angular_core.InputSignal<string | undefined>;
2089
2225
  readonly captionLayout: _angular_core.InputSignal<"label" | "dropdown" | "dropdown-months" | "dropdown-years">;
@@ -2094,7 +2230,12 @@ declare class YuwDatepickerComponent extends YuwValueAccessorBase<YuwDatepickerV
2094
2230
  readonly minDate: _angular_core.InputSignal<Date | undefined>;
2095
2231
  readonly mode: _angular_core.InputSignal<YuwDatepickerModeDto>;
2096
2232
  readonly placeholder: _angular_core.InputSignal<string | undefined>;
2233
+ readonly presetId: _angular_core.ModelSignal<string | undefined>;
2234
+ readonly presets: _angular_core.InputSignal<readonly YuwDatePresetDto[]>;
2235
+ readonly presetsLabel: _angular_core.InputSignal<string | undefined>;
2097
2236
  readonly size: _angular_core.InputSignal<YuwFieldSizeDto>;
2237
+ readonly triggerColor: _angular_core.InputSignal<YuwColorDto>;
2238
+ readonly triggerVariant: _angular_core.InputSignal<"link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined>;
2098
2239
  readonly userClass: _angular_core.InputSignal<string>;
2099
2240
  readonly value: _angular_core.ModelSignal<YuwDatepickerValue>;
2100
2241
  protected readonly _focusSelectors: string[];
@@ -2104,18 +2245,23 @@ declare class YuwDatepickerComponent extends YuwValueAccessorBase<YuwDatepickerV
2104
2245
  private readonly _rangeConfig;
2105
2246
  private readonly _singleConfig;
2106
2247
  protected readonly _buttonId: _angular_core.Signal<string>;
2248
+ protected readonly _calendarMode: _angular_core.Signal<YuwCalendarModeDto>;
2249
+ protected readonly _rangeValue: _angular_core.Signal<[Date, Date] | undefined>;
2250
+ protected readonly _singleValue: _angular_core.Signal<Date | undefined>;
2251
+ protected readonly _calendarValue: _angular_core.Signal<YuwCalendarValue>;
2107
2252
  protected readonly _formatMonthYear: _angular_core.Signal<(date: Date) => string>;
2108
2253
  protected readonly _formatMulti: _angular_core.Signal<(dates: Date[]) => string>;
2109
2254
  protected readonly _formatRange: _angular_core.Signal<(dates: [Date | null, Date | null]) => string>;
2110
2255
  protected readonly _formatSingle: _angular_core.Signal<(date: Date) => string>;
2256
+ protected readonly _label: _angular_core.Signal<string | undefined>;
2111
2257
  protected readonly _multipleValue: _angular_core.Signal<Date[]>;
2112
- protected readonly _rangeValue: _angular_core.Signal<[Date, Date] | undefined>;
2113
- protected readonly _singleValue: _angular_core.Signal<Date | undefined>;
2114
2258
  protected readonly _triggerClass: _angular_core.Signal<string>;
2259
+ protected readonly _triggerContext: _angular_core.Signal<YuwDatepickerTriggerContext>;
2115
2260
  protected _emptyValue(): YuwDatepickerValue;
2261
+ protected onPicked(pick: YuwDatePickDto<YuwCalendarValue>): void;
2116
2262
  protected onValueChange(next: YuwDatepickerValue): void;
2117
2263
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwDatepickerComponent, never>;
2118
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwDatepickerComponent, "yuw-datepicker", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "captionLayout": { "alias": "captionLayout"; "required": false; "isSignal": true; }; "formatDate": { "alias": "formatDate"; "required": false; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
2264
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwDatepickerComponent, "yuw-datepicker", never, { "align": { "alias": "align"; "required": false; "isSignal": true; }; "buttonId": { "alias": "buttonId"; "required": false; "isSignal": true; }; "captionLayout": { "alias": "captionLayout"; "required": false; "isSignal": true; }; "formatDate": { "alias": "formatDate"; "required": false; "isSignal": true; }; "helperText": { "alias": "helperText"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "presetId": { "alias": "presetId"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "presetsLabel": { "alias": "presetsLabel"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "triggerColor": { "alias": "triggerColor"; "required": false; "isSignal": true; }; "triggerVariant": { "alias": "triggerVariant"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "presetId": "presetIdChange"; "value": "valueChange"; }, ["triggerTemplate"], never, true, never>;
2119
2265
  }
2120
2266
 
2121
2267
  /**
@@ -4424,15 +4570,18 @@ declare class YuwsActiveStatusCellComponent {
4424
4570
  /** Avatar size of the cell: `sm` for entity listings, `md` for the 45x45 thumbnails of catalog listings. */
4425
4571
  type YuwsAvatarNameCellSize = 'sm' | 'md';
4426
4572
  /**
4427
- * Table cell with the identity of a row: avatar and name. The name is text, not a link: the whole row is the click
4428
- * target. Without an image the avatar shows the initials of `name`.
4573
+ * Table cell with the identity of a row: avatar and name, and an optional second line below it, in a smaller size.
4574
+ * The name is text, not a link: the whole row is the click target. Without an image the avatar shows the initials of
4575
+ * `name`.
4429
4576
  *
4430
4577
  * Inputs:
4431
4578
  * - `imageUrl`: Image of the row. Default is `undefined`.
4432
4579
  * - `name` (required): Visible name; also the avatar's alternative text.
4580
+ * - `description`: Second line under the name; omitted when empty. Default is `undefined`.
4433
4581
  * - `size`: Avatar size (`'sm'`, `'md'`). Default is `'sm'`.
4434
4582
  */
4435
4583
  declare class YuwsAvatarNameCellComponent {
4584
+ readonly description: _angular_core.InputSignal<string | undefined>;
4436
4585
  readonly imageUrl: _angular_core.InputSignal<string | undefined>;
4437
4586
  readonly name: _angular_core.InputSignal<string>;
4438
4587
  readonly size: _angular_core.InputSignal<YuwsAvatarNameCellSize>;
@@ -4442,7 +4591,7 @@ declare class YuwsAvatarNameCellComponent {
4442
4591
  }>;
4443
4592
  protected readonly initials: _angular_core.Signal<string>;
4444
4593
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwsAvatarNameCellComponent, never>;
4445
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwsAvatarNameCellComponent, "yuws-avatar-name-cell", never, { "imageUrl": { "alias": "imageUrl"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4594
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwsAvatarNameCellComponent, "yuws-avatar-name-cell", never, { "description": { "alias": "description"; "required": false; "isSignal": true; }; "imageUrl": { "alias": "imageUrl"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4446
4595
  }
4447
4596
 
4448
4597
  /**
@@ -4527,6 +4676,20 @@ declare class YuwsLinkCellComponent {
4527
4676
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwsLinkCellComponent, "yuws-link-cell", never, { "href": { "alias": "href"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
4528
4677
  }
4529
4678
 
4679
+ /**
4680
+ * Table cell with two values of a row in one column: `text` on top and `description` below it, in a smaller size.
4681
+ *
4682
+ * Inputs:
4683
+ * - `text` (required): Main value.
4684
+ * - `description`: Second line under `text`; omitted when empty. Default is `undefined`.
4685
+ */
4686
+ declare class YuwsStackedTextCellComponent {
4687
+ readonly description: _angular_core.InputSignal<string | undefined>;
4688
+ readonly text: _angular_core.InputSignal<string>;
4689
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<YuwsStackedTextCellComponent, never>;
4690
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<YuwsStackedTextCellComponent, "yuws-stacked-text-cell", never, { "description": { "alias": "description"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
4691
+ }
4692
+
4530
4693
  /**
4531
4694
  * Table cell with a clickable pill: a state that flips on click (active, blocked) or, without `positive`, a neutral
4532
4695
  * action such as duplicate. It is a button so it is keyboard reachable, and it stops the click so a clickable row does
@@ -4947,17 +5110,22 @@ interface YuwsFilterOptionDto {
4947
5110
  readonly label: string;
4948
5111
  readonly disabled?: boolean;
4949
5112
  }
4950
- /** `single` keeps one value and closes its list after a pick, `multiple` keeps a set. */
4951
- type YuwsFilterGroupMode = 'single' | 'multiple';
4952
5113
  /**
4953
- * `options` feeds the group's combobox. A `yuwsFilterContent` template of the same id replaces that
4954
- * combobox; `mode` then only states whether its value is a string or an array.
5114
+ * `single` keeps one value and closes its list after a pick, `multiple` keeps a set. `date` and `dateRange` open a
5115
+ * calendar instead of a list and keep one string, which `yuwsResolveDateFilter()` turns back into dates.
5116
+ */
5117
+ type YuwsFilterGroupMode = 'single' | 'multiple' | 'date' | 'dateRange';
5118
+ /**
5119
+ * `options` feeds the group's combobox, `presets` the shortcuts above the calendar of a `date` or `dateRange` group.
5120
+ * A `yuwsFilterContent` template of the same id replaces that control; `mode` then only states whether its value is a
5121
+ * string or an array.
4955
5122
  */
4956
5123
  interface YuwsFilterGroupDto {
4957
5124
  readonly id: string;
4958
5125
  readonly label: string;
4959
5126
  readonly mode: YuwsFilterGroupMode;
4960
5127
  readonly options?: readonly YuwsFilterOptionDto[];
5128
+ readonly presets?: readonly YuwDatePresetDto[];
4961
5129
  }
4962
5130
  /** Value of one group: a string for `single` groups, an array for `multiple`. */
4963
5131
  type YuwsFilterValue = string | readonly string[];
@@ -4999,7 +5167,8 @@ interface YuwsFilterSetLabels {
4999
5167
  /**
5000
5168
  * `title` names the filter row for assistive tech, `add` is the add-filter button, `remove` the
5001
5169
  * accessible name of the remove button of each active filter, `clearAll` the button that removes
5002
- * every filter, and `empty` the text of a filter search with no match.
5170
+ * every filter, `empty` the text of a filter search with no match, and `datePresets` the placeholder of the presets
5171
+ * combobox of a date filter, required when a group has `presets`.
5003
5172
  */
5004
5173
  interface YuwsListToolbarFilterLabels {
5005
5174
  readonly title: string;
@@ -5007,6 +5176,7 @@ interface YuwsListToolbarFilterLabels {
5007
5176
  readonly remove: string;
5008
5177
  readonly clearAll: string;
5009
5178
  readonly empty: string;
5179
+ readonly datePresets?: string;
5010
5180
  readonly sets?: YuwsFilterSetLabels;
5011
5181
  }
5012
5182
  interface YuwsListToolbarSearchLabels {
@@ -5040,6 +5210,29 @@ interface YuwsListToolbarLabels {
5040
5210
  readonly viewMode?: YuwsListToolbarViewModeLabels;
5041
5211
  }
5042
5212
 
5213
+ /** A resolved `date` or `dateRange` filter: the days it covers, both included, and the preset it came from. */
5214
+ interface YuwsDateFilterDto {
5215
+ readonly range: [Date, Date];
5216
+ readonly presetId: string | undefined;
5217
+ }
5218
+ /**
5219
+ * Value stored in the selection for a `date` or `dateRange` group: the preset id when the dates came from a preset,
5220
+ * so a saved set or a restored selection holding "This week" keeps meaning the current week, and the local days
5221
+ * otherwise, `2026-03-01` or `2026-03-01/2026-03-31`.
5222
+ */
5223
+ declare function yuwsDateFilterValue(value: YuwCalendarValue, presetId: string | undefined): string | undefined;
5224
+ /**
5225
+ * Days a `date` or `dateRange` filter value covers, with `presets` being the group's and `today` the day a preset is
5226
+ * resolved against. `undefined` when the value is neither days nor the id of one of `presets`.
5227
+ *
5228
+ * Usage:
5229
+ * ```ts
5230
+ * const date = yuwsResolveDateFilter(selection['createdAt'], presets);
5231
+ * const params = date ? { from: date.range[0], to: date.range[1] } : {};
5232
+ * ```
5233
+ */
5234
+ declare function yuwsResolveDateFilter(value: YuwsFilterValue | undefined, presets?: readonly YuwDatePresetDto[], today?: Date): YuwsDateFilterDto | undefined;
5235
+
5043
5236
  /**
5044
5237
  * Template context of a `yuwsFilterContent` template.
5045
5238
  *
@@ -5188,5 +5381,5 @@ declare class YuwsTitleSkeletonDirective {
5188
5381
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<YuwsTitleSkeletonDirective, "yuws-page-header[yuwsTitleSkeleton]", never, { "loading": { "alias": "yuwsTitleSkeleton"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5189
5382
  }
5190
5383
 
5191
- export { DATATABLE_ALIGN_CLASS, DATATABLE_LAYOUT_CLASS, DATATABLE_WRAP_CONTENT_CLASS, YUWS_NO_DATA_PLACEHOLDER, YUW_DATATABLE_FEATURES, YUW_DATATABLE_WRAP_MIN_WIDTH, YUW_PASSWORD_REVEAL_STATES, YUW_SIDEBAR_RAIL_ICON_SIZE, YUW_SIDEBAR_RAIL_PADDING, YUW_SIDEBAR_RAIL_WIDTH, YUW_TABLE_SHARE_FORMATS, YuwAccordion, YuwAccordionContentComponent, YuwAccordionImports, YuwAccordionItem, YuwAccordionTriggerComponent, YuwActionsCellComponent, YuwAlertActionDirective, YuwAlertComponent, YuwAlertDescriptionDirective, YuwAlertDialogComponent, YuwAlertDialogMediaDirective, YuwAlertDialogTriggerDirective, YuwAlertImports, YuwAlertTitleDirective, YuwAttachmentActionDirective, YuwAttachmentActionsDirective, YuwAttachmentContentDirective, YuwAttachmentDescriptionDirective, YuwAttachmentDirective, YuwAttachmentGroupDirective, YuwAttachmentMediaDirective, YuwAttachmentTitleDirective, YuwAttachmentTriggerDirective, YuwAvatarComponent, YuwBadgeComponent, YuwBreadcrumbComponent, YuwBreadcrumbTrailService, YuwButtonComponent, YuwButtonGroupComponent, YuwButtonGroupContentDirective, YuwCaptionDirective, YuwCardActionDirective, YuwCardContentDirective, YuwCardDescriptionDirective, YuwCardDirective, YuwCardFooterDirective, YuwCardHeaderDirective, YuwCardImports, YuwCardTitleDirective, YuwCheckboxComponent, YuwClassDirective, YuwComboboxComponent, YuwComboboxItemDirective, YuwComboboxTriggerButtonDirective, YuwComboboxTriggerDirective, YuwCommandComponent, YuwCommandDialogComponent, YuwContextMenuCheckboxDirective, YuwContextMenuCheckboxIndicatorComponent, YuwContextMenuDirective, YuwContextMenuGroupDirective, YuwContextMenuImports, YuwContextMenuItemDirective, YuwContextMenuLabelDirective, YuwContextMenuRadioDirective, YuwContextMenuRadioIndicatorComponent, YuwContextMenuSeparatorDirective, YuwContextMenuShortcutDirective, YuwContextMenuSubDirective, YuwContextMenuSubIndicatorComponent, YuwContextMenuSubTriggerDirective, YuwContextMenuTriggerDirective, YuwDatatableComponent, YuwDatatablePaginationDirective, YuwDatatableRowSelect, YuwDatepickerComponent, YuwDialogCloseDirective, YuwDialogComponent, YuwDialogFooterDirective, YuwDialogImports, YuwDialogTriggerDirective, YuwEmptyContentDirective, YuwEmptyDescriptionDirective, YuwEmptyDirective, YuwEmptyHeaderDirective, YuwEmptyImports, YuwEmptyMediaDirective, YuwEmptyTitleDirective, YuwFieldBase, YuwInputAddonImports, YuwInputComponent, YuwInputFileComponent, YuwInputOtpComponent, YuwItemActionsDirective, YuwItemContentDirective, YuwItemDescriptionDirective, YuwItemDirective, YuwItemFooterDirective, YuwItemGroupDirective, YuwItemHeaderDirective, YuwItemImports, YuwItemMediaDirective, YuwItemSeparatorDirective, YuwItemTitleDirective, YuwLabel, YuwLeftAddonDirective, YuwMouseScrollXDirective, YuwMouseScrollYDirective, YuwPaginationComponent, YuwPasswordInputComponent, YuwPopoverComponent, YuwPopoverTriggerDirective, YuwRadioGroupComponent, YuwRightAddonDirective, YuwSearchInputComponent, YuwSheetCloseDirective, YuwSheetComponent, YuwSheetFooterDirective, YuwSheetHeaderDirective, YuwSheetImports, YuwSheetTriggerDirective, YuwSidebarComponent, YuwSidebarContentDirective, YuwSidebarContentExtraDirective, YuwSidebarFooterDirective, YuwSidebarFooterExtraDirective, YuwSidebarGroupContentDirective, YuwSidebarGroupDirective, YuwSidebarGroupLabelDirective, YuwSidebarHeaderDirective, YuwSidebarInsetDirective, YuwSidebarMenuAvatarButtonDirective, YuwSidebarMenuBadgeDirective, YuwSidebarMenuButtonDirective, YuwSidebarMenuDirective, YuwSidebarMenuItemDirective, YuwSidebarMenuSubButtonDirective, YuwSidebarMenuSubDirective, YuwSidebarMenuSubItemDirective, YuwSidebarRailDirective, YuwSidebarRailService, YuwSidebarSeparatorDirective, YuwSidebarSubmenuService, YuwSidebarTriggerComponent, YuwSidebarWrapperDirective, YuwSkeletonDirective, YuwSpinnerComponent, YuwStepIndicatorDirective, YuwStepPanelDirective, YuwStepperComponent, YuwSwitchComponent, YuwTBodyDirective, YuwTFootDirective, YuwTHeadDirective, YuwTabContentDirective, YuwTabPanelDirective, YuwTableContainerDirective, YuwTableDirective, YuwTableImports, YuwTabsComponent, YuwTdDirective, YuwTextFieldBase, YuwTextareaComponent, YuwThDirective, YuwToasterComponent, YuwTooltipDirective, YuwTrDirective, YuwValueAccessorBase, YuwsActiveStatusCellComponent, YuwsAdvanceOnEnterDirective, YuwsAvatarNameCellComponent, YuwsCardGridComponent, YuwsCardGridItemComponent, YuwsClampedTextCellComponent, YuwsConfirmDialogComponent, YuwsCopyButtonComponent, YuwsFilterComboboxComponent, YuwsFilterContentDirective, YuwsFlagCellComponent, YuwsFormSheetComponent, YuwsIconActionCellComponent, YuwsImageCellComponent, YuwsImageFieldComponent, YuwsImageUploadComponent, YuwsLinkCellComponent, YuwsListPaginationComponent, YuwsListTableComponent, YuwsListToolbarComponent, YuwsPageHeaderComponent, YuwsPageSizeComponent, YuwsStatusToggleCellComponent, YuwsTitleSkeletonDirective, buildInputOtpGroups, buildYuwActionsColumn, buildYuwsActiveStatusColumn, buildYuwsDateTimeColumn, buildYuwsIconActionColumn, buildYuwsOptionalTextColumn, buildYuwsStatusToggleColumn, cn, createPagedList, createYuwsSheetEditor, datatableCellVariants, datatableContainerVariants, datatableHeadVariants, datatableHeaderCellVariants, datatableRowVariants, getPaginationRange, provideValueAccessor, shareTable, totalInputOtpLength, yuwCommandDefaultFilter, yuwsInitialsOf, yuwsMediaQuerySignal, yuwsPendingRowClass, yuwsReadFileAsDataUrl };
5192
- export type { YuwAlertDialogSizeDto, YuwAlertVariantDto, YuwAvatarGroupItemDto, YuwAvatarSizeDto, YuwBreadcrumbCrumb, YuwBreadcrumbItemDto, YuwBreadcrumbRouteData, YuwButtonGroupClickDto, YuwButtonGroupItemDto, YuwColorDto, YuwComboboxItemContext, YuwComboboxOptionDto, YuwComboboxTriggerContext, YuwComboboxValue, YuwCommandGroupDto, YuwCommandItemDto, YuwDatatableAlign, YuwDatatableAppearanceDto, YuwDatatableColumnDef, YuwDatatableColumnMeta, YuwDatatableFeatures, YuwDatatableRowClass, YuwDatepickerModeDto, YuwDatepickerValue, YuwFieldSizeDto, YuwInputFileVariantDto, YuwInputModeDto, YuwInputOtpGroupDto, YuwInputOtpModeDto, YuwInputTypeDto, YuwPageQuery, YuwPageRange, YuwPageSort, YuwPagedList, YuwPagedListOptions, YuwPaginationRangeItem, YuwPaginationSizeDto, YuwPasswordRevealStateDto, YuwPopoverAlignDto, YuwRadioOptionDto, YuwSearchInputCollapseFromDto, YuwSheetScrollStrategyDto, YuwSheetSideDto, YuwSidebarAvatarDto, YuwSidebarCollapsibleDto, YuwSidebarContentDto, YuwSidebarGroupDto, YuwSidebarItemClickDto, YuwSidebarItemDto, YuwSidebarSideDto, YuwSidebarSubItemDto, YuwSidebarVariantDto, YuwStepChangeDto, YuwStepIndicatorContextDto, YuwStepItemDto, YuwStepStateDto, YuwStepperOrientationDto, YuwSwitchSizeDto, YuwTabItemDto, YuwTableShareFormat, YuwTableShareSource, YuwTableSnapshot, YuwTabsActivationModeDto, YuwTabsOrientationDto, YuwTabsVariantDto, YuwTextFieldContract, YuwToasterPositionDto, YuwToasterThemeDto, YuwTooltipPositionDto, YuwsAvatarNameCellSize, YuwsConfirmationState, YuwsFilterContentContext, YuwsFilterGroupDto, YuwsFilterGroupMode, YuwsFilterOptionDto, YuwsFilterSelection, YuwsFilterSetDto, YuwsFilterSetLabels, YuwsFilterSetRenameDto, YuwsFilterSetSaveDto, YuwsFilterValue, YuwsFormSheetLabels, YuwsIconActionColumn, YuwsImageCellSize, YuwsListPaginationLabels, YuwsListToolbarColumnsLabels, YuwsListToolbarFilterLabels, YuwsListToolbarLabels, YuwsListToolbarSearchLabels, YuwsListToolbarShareLabels, YuwsListToolbarViewModeIcons, YuwsListToolbarViewModeLabels, YuwsPageSizeLabels, YuwsSheetEditor, YuwsStateLabels, YuwsStatusToggleColumn, YuwsTextColumnOptions, YuwsViewMode };
5384
+ export { DATATABLE_ALIGN_CLASS, DATATABLE_LAYOUT_CLASS, DATATABLE_WRAP_CONTENT_CLASS, YUWS_NO_DATA_PLACEHOLDER, YUW_DATATABLE_FEATURES, YUW_DATATABLE_WRAP_MIN_WIDTH, YUW_DATE_RANGES, YUW_PASSWORD_REVEAL_STATES, YUW_SIDEBAR_RAIL_ICON_SIZE, YUW_SIDEBAR_RAIL_PADDING, YUW_SIDEBAR_RAIL_WIDTH, YUW_TABLE_SHARE_FORMATS, YuwAccordion, YuwAccordionContentComponent, YuwAccordionImports, YuwAccordionItem, YuwAccordionTriggerComponent, YuwActionsCellComponent, YuwAlertActionDirective, YuwAlertComponent, YuwAlertDescriptionDirective, YuwAlertDialogComponent, YuwAlertDialogMediaDirective, YuwAlertDialogTriggerDirective, YuwAlertImports, YuwAlertTitleDirective, YuwAttachmentActionDirective, YuwAttachmentActionsDirective, YuwAttachmentContentDirective, YuwAttachmentDescriptionDirective, YuwAttachmentDirective, YuwAttachmentGroupDirective, YuwAttachmentMediaDirective, YuwAttachmentTitleDirective, YuwAttachmentTriggerDirective, YuwAvatarComponent, YuwBadgeComponent, YuwBreadcrumbComponent, YuwBreadcrumbTrailService, YuwButtonComponent, YuwButtonGroupComponent, YuwButtonGroupContentDirective, YuwCalendarComponent, YuwCaptionDirective, YuwCardActionDirective, YuwCardContentDirective, YuwCardDescriptionDirective, YuwCardDirective, YuwCardFooterDirective, YuwCardHeaderDirective, YuwCardImports, YuwCardTitleDirective, YuwCheckboxComponent, YuwClassDirective, YuwComboboxComponent, YuwComboboxItemDirective, YuwComboboxTriggerButtonDirective, YuwComboboxTriggerDirective, YuwCommandComponent, YuwCommandDialogComponent, YuwContextMenuCheckboxDirective, YuwContextMenuCheckboxIndicatorComponent, YuwContextMenuDirective, YuwContextMenuGroupDirective, YuwContextMenuImports, YuwContextMenuItemDirective, YuwContextMenuLabelDirective, YuwContextMenuRadioDirective, YuwContextMenuRadioIndicatorComponent, YuwContextMenuSeparatorDirective, YuwContextMenuShortcutDirective, YuwContextMenuSubDirective, YuwContextMenuSubIndicatorComponent, YuwContextMenuSubTriggerDirective, YuwContextMenuTriggerDirective, YuwDatatableComponent, YuwDatatablePaginationDirective, YuwDatatableRowSelect, YuwDatepickerComponent, YuwDatepickerTriggerDirective, YuwDialogCloseDirective, YuwDialogComponent, YuwDialogFooterDirective, YuwDialogImports, YuwDialogTriggerDirective, YuwEmptyContentDirective, YuwEmptyDescriptionDirective, YuwEmptyDirective, YuwEmptyHeaderDirective, YuwEmptyImports, YuwEmptyMediaDirective, YuwEmptyTitleDirective, YuwFieldBase, YuwInputAddonImports, YuwInputComponent, YuwInputFileComponent, YuwInputOtpComponent, YuwItemActionsDirective, YuwItemContentDirective, YuwItemDescriptionDirective, YuwItemDirective, YuwItemFooterDirective, YuwItemGroupDirective, YuwItemHeaderDirective, YuwItemImports, YuwItemMediaDirective, YuwItemSeparatorDirective, YuwItemTitleDirective, YuwLabel, YuwLeftAddonDirective, YuwMouseScrollXDirective, YuwMouseScrollYDirective, YuwPaginationComponent, YuwPasswordInputComponent, YuwPopoverComponent, YuwPopoverTriggerDirective, YuwRadioGroupComponent, YuwRightAddonDirective, YuwSearchInputComponent, YuwSheetCloseDirective, YuwSheetComponent, YuwSheetFooterDirective, YuwSheetHeaderDirective, YuwSheetImports, YuwSheetTriggerDirective, YuwSidebarComponent, YuwSidebarContentDirective, YuwSidebarContentExtraDirective, YuwSidebarFooterDirective, YuwSidebarFooterExtraDirective, YuwSidebarGroupContentDirective, YuwSidebarGroupDirective, YuwSidebarGroupLabelDirective, YuwSidebarHeaderDirective, YuwSidebarInsetDirective, YuwSidebarMenuAvatarButtonDirective, YuwSidebarMenuBadgeDirective, YuwSidebarMenuButtonDirective, YuwSidebarMenuDirective, YuwSidebarMenuItemDirective, YuwSidebarMenuSubButtonDirective, YuwSidebarMenuSubDirective, YuwSidebarMenuSubItemDirective, YuwSidebarRailDirective, YuwSidebarRailService, YuwSidebarSeparatorDirective, YuwSidebarSubmenuService, YuwSidebarTriggerComponent, YuwSidebarWrapperDirective, YuwSkeletonDirective, YuwSpinnerComponent, YuwStepIndicatorDirective, YuwStepPanelDirective, YuwStepperComponent, YuwSwitchComponent, YuwTBodyDirective, YuwTFootDirective, YuwTHeadDirective, YuwTabContentDirective, YuwTabPanelDirective, YuwTableContainerDirective, YuwTableDirective, YuwTableImports, YuwTabsComponent, YuwTdDirective, YuwTextFieldBase, YuwTextareaComponent, YuwThDirective, YuwToasterComponent, YuwTooltipDirective, YuwTrDirective, YuwValueAccessorBase, YuwsActiveStatusCellComponent, YuwsAdvanceOnEnterDirective, YuwsAvatarNameCellComponent, YuwsCardGridComponent, YuwsCardGridItemComponent, YuwsClampedTextCellComponent, YuwsConfirmDialogComponent, YuwsCopyButtonComponent, YuwsFilterComboboxComponent, YuwsFilterContentDirective, YuwsFlagCellComponent, YuwsFormSheetComponent, YuwsIconActionCellComponent, YuwsImageCellComponent, YuwsImageFieldComponent, YuwsImageUploadComponent, YuwsLinkCellComponent, YuwsListPaginationComponent, YuwsListTableComponent, YuwsListToolbarComponent, YuwsPageHeaderComponent, YuwsPageSizeComponent, YuwsStackedTextCellComponent, YuwsStatusToggleCellComponent, YuwsTitleSkeletonDirective, buildInputOtpGroups, buildYuwActionsColumn, buildYuwsActiveStatusColumn, buildYuwsDateTimeColumn, buildYuwsIconActionColumn, buildYuwsOptionalTextColumn, buildYuwsStatusToggleColumn, cn, createPagedList, createYuwsSheetEditor, datatableCellVariants, datatableContainerVariants, datatableHeadVariants, datatableHeaderCellVariants, datatableRowVariants, getPaginationRange, provideValueAccessor, shareTable, totalInputOtpLength, yuwCommandDefaultFilter, yuwDatePresets, yuwQuarterRange, yuwsDateFilterValue, yuwsInitialsOf, yuwsMediaQuerySignal, yuwsPendingRowClass, yuwsReadFileAsDataUrl, yuwsResolveDateFilter };
5385
+ export type { YuwAlertDialogSizeDto, YuwAlertVariantDto, YuwAvatarGroupItemDto, YuwAvatarSizeDto, YuwBreadcrumbCrumb, YuwBreadcrumbItemDto, YuwBreadcrumbRouteData, YuwButtonGroupClickDto, YuwButtonGroupItemDto, YuwCalendarModeDto, YuwCalendarValue, YuwCalendarView, YuwColorDto, YuwComboboxItemContext, YuwComboboxOptionDto, YuwComboboxTriggerContext, YuwComboboxValue, YuwCommandGroupDto, YuwCommandItemDto, YuwDatatableAlign, YuwDatatableAppearanceDto, YuwDatatableColumnDef, YuwDatatableColumnMeta, YuwDatatableFeatures, YuwDatatableRowClass, YuwDatePickDto, YuwDatePresetDto, YuwDateRangeKey, YuwDatepickerModeDto, YuwDatepickerTriggerContext, YuwDatepickerValue, YuwFieldSizeDto, YuwInputFileVariantDto, YuwInputModeDto, YuwInputOtpGroupDto, YuwInputOtpModeDto, YuwInputTypeDto, YuwPageQuery, YuwPageRange, YuwPageSort, YuwPagedList, YuwPagedListOptions, YuwPaginationRangeItem, YuwPaginationSizeDto, YuwPasswordRevealStateDto, YuwPopoverAlignDto, YuwQuarter, YuwRadioOptionDto, YuwSearchInputCollapseFromDto, YuwSheetScrollStrategyDto, YuwSheetSideDto, YuwSidebarAvatarDto, YuwSidebarCollapsibleDto, YuwSidebarContentDto, YuwSidebarGroupDto, YuwSidebarItemClickDto, YuwSidebarItemDto, YuwSidebarSideDto, YuwSidebarSubItemDto, YuwSidebarVariantDto, YuwStepChangeDto, YuwStepIndicatorContextDto, YuwStepItemDto, YuwStepStateDto, YuwStepperOrientationDto, YuwSwitchSizeDto, YuwTabItemDto, YuwTableShareFormat, YuwTableShareSource, YuwTableSnapshot, YuwTabsActivationModeDto, YuwTabsOrientationDto, YuwTabsVariantDto, YuwTextFieldContract, YuwToasterPositionDto, YuwToasterThemeDto, YuwTooltipPositionDto, YuwsAvatarNameCellSize, YuwsConfirmationState, YuwsDateFilterDto, YuwsFilterContentContext, YuwsFilterGroupDto, YuwsFilterGroupMode, YuwsFilterOptionDto, YuwsFilterSelection, YuwsFilterSetDto, YuwsFilterSetLabels, YuwsFilterSetRenameDto, YuwsFilterSetSaveDto, YuwsFilterValue, YuwsFormSheetLabels, YuwsIconActionColumn, YuwsImageCellSize, YuwsListPaginationLabels, YuwsListToolbarColumnsLabels, YuwsListToolbarFilterLabels, YuwsListToolbarLabels, YuwsListToolbarSearchLabels, YuwsListToolbarShareLabels, YuwsListToolbarViewModeIcons, YuwsListToolbarViewModeLabels, YuwsPageSizeLabels, YuwsSheetEditor, YuwsStateLabels, YuwsStatusToggleColumn, YuwsTextColumnOptions, YuwsViewMode };