@masterteam/components 0.0.262 → 0.0.264
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/assets/common.css +1 -1
- package/assets/i18n/ar.json +10 -2
- package/assets/i18n/en.json +10 -2
- package/fesm2022/masterteam-components-business-fields.mjs +13 -8
- package/fesm2022/masterteam-components-business-fields.mjs.map +1 -1
- package/fesm2022/masterteam-components-button.mjs +34 -4
- package/fesm2022/masterteam-components-button.mjs.map +1 -1
- package/fesm2022/masterteam-components-checkbox-field.mjs +8 -4
- package/fesm2022/masterteam-components-checkbox-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-client-page-menu.mjs +4 -3
- package/fesm2022/masterteam-components-client-page-menu.mjs.map +1 -1
- package/fesm2022/masterteam-components-client-page.mjs +48 -6
- package/fesm2022/masterteam-components-client-page.mjs.map +1 -1
- package/fesm2022/masterteam-components-color-picker-field.mjs +8 -4
- package/fesm2022/masterteam-components-color-picker-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-confirmation.mjs +1 -1
- package/fesm2022/masterteam-components-confirmation.mjs.map +1 -1
- package/fesm2022/masterteam-components-date-field.mjs +24 -5
- package/fesm2022/masterteam-components-date-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-drawer.mjs +1 -1
- package/fesm2022/masterteam-components-drawer.mjs.map +1 -1
- package/fesm2022/masterteam-components-dynamic-drawer.mjs +1 -1
- package/fesm2022/masterteam-components-dynamic-drawer.mjs.map +1 -1
- package/fesm2022/masterteam-components-editor-field.mjs +8 -4
- package/fesm2022/masterteam-components-editor-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-empty-state.mjs +53 -0
- package/fesm2022/masterteam-components-empty-state.mjs.map +1 -0
- package/fesm2022/masterteam-components-entities.mjs +187 -37
- package/fesm2022/masterteam-components-entities.mjs.map +1 -1
- package/fesm2022/masterteam-components-field-validation.mjs +82 -3
- package/fesm2022/masterteam-components-field-validation.mjs.map +1 -1
- package/fesm2022/masterteam-components-icon-field.mjs +9 -12
- package/fesm2022/masterteam-components-icon-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-location-field.mjs +9 -5
- package/fesm2022/masterteam-components-location-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-module-summary-card.mjs +1 -1
- package/fesm2022/masterteam-components-module-summary-card.mjs.map +1 -1
- package/fesm2022/masterteam-components-multi-select-field.mjs +8 -4
- package/fesm2022/masterteam-components-multi-select-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-number-field.mjs +8 -4
- package/fesm2022/masterteam-components-number-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-page-header.mjs +2 -2
- package/fesm2022/masterteam-components-page-header.mjs.map +1 -1
- package/fesm2022/masterteam-components-pick-list-field.mjs +8 -4
- package/fesm2022/masterteam-components-pick-list-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-property-filter-builder.mjs +1 -1
- package/fesm2022/masterteam-components-property-filter-builder.mjs.map +1 -1
- package/fesm2022/masterteam-components-radio-button-field.mjs +1 -1
- package/fesm2022/masterteam-components-radio-button-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-radio-cards-field.mjs +8 -3
- package/fesm2022/masterteam-components-radio-cards-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-select-field.mjs +7 -3
- package/fesm2022/masterteam-components-select-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-slider-field.mjs +1 -1
- package/fesm2022/masterteam-components-slider-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-statistic-card.mjs +1 -1
- package/fesm2022/masterteam-components-statistic-card.mjs.map +1 -1
- package/fesm2022/masterteam-components-table.mjs +266 -65
- package/fesm2022/masterteam-components-table.mjs.map +1 -1
- package/fesm2022/masterteam-components-tabs.mjs +1 -1
- package/fesm2022/masterteam-components-tabs.mjs.map +1 -1
- package/fesm2022/masterteam-components-text-field.mjs +9 -5
- package/fesm2022/masterteam-components-text-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-textarea-field.mjs +8 -4
- package/fesm2022/masterteam-components-textarea-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-toggle-field.mjs +1 -1
- package/fesm2022/masterteam-components-toggle-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-tree.mjs +1 -1
- package/fesm2022/masterteam-components-tree.mjs.map +1 -1
- package/fesm2022/masterteam-components-treeselect-field.mjs +2 -2
- package/fesm2022/masterteam-components-treeselect-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-upload-field.mjs +9 -4
- package/fesm2022/masterteam-components-upload-field.mjs.map +1 -1
- package/fesm2022/masterteam-components-uploader.mjs +28 -2
- package/fesm2022/masterteam-components-uploader.mjs.map +1 -1
- package/fesm2022/masterteam-components-user-search-field.mjs +8 -4
- package/fesm2022/masterteam-components-user-search-field.mjs.map +1 -1
- package/fesm2022/masterteam-components.mjs +277 -36
- package/fesm2022/masterteam-components.mjs.map +1 -1
- package/package.json +5 -1
- package/types/masterteam-components-business-fields.d.ts +4 -0
- package/types/masterteam-components-button.d.ts +27 -1
- package/types/masterteam-components-checkbox-field.d.ts +4 -0
- package/types/masterteam-components-client-page.d.ts +7 -1
- package/types/masterteam-components-color-picker-field.d.ts +4 -0
- package/types/masterteam-components-date-field.d.ts +7 -1
- package/types/masterteam-components-editor-field.d.ts +4 -0
- package/types/masterteam-components-empty-state.d.ts +47 -0
- package/types/masterteam-components-entities.d.ts +80 -8
- package/types/masterteam-components-field-validation.d.ts +38 -2
- package/types/masterteam-components-icon-field.d.ts +4 -0
- package/types/masterteam-components-location-field.d.ts +4 -0
- package/types/masterteam-components-multi-select-field.d.ts +4 -0
- package/types/masterteam-components-number-field.d.ts +4 -0
- package/types/masterteam-components-pick-list-field.d.ts +4 -0
- package/types/masterteam-components-radio-cards-field.d.ts +4 -0
- package/types/masterteam-components-select-field.d.ts +4 -0
- package/types/masterteam-components-table.d.ts +123 -6
- package/types/masterteam-components-text-field.d.ts +4 -0
- package/types/masterteam-components-textarea-field.d.ts +4 -0
- package/types/masterteam-components-upload-field.d.ts +4 -0
- package/types/masterteam-components-user-search-field.d.ts +4 -0
- package/types/masterteam-components.d.ts +107 -2
|
@@ -144,6 +144,24 @@ interface ColumnDef {
|
|
|
144
144
|
showGroupColumnLabel?: boolean;
|
|
145
145
|
readonly?: boolean;
|
|
146
146
|
width?: string;
|
|
147
|
+
/**
|
|
148
|
+
* Horizontal alignment of the header and its cells. Defaults to `end` for
|
|
149
|
+
* `number` columns and `start` for everything else.
|
|
150
|
+
*
|
|
151
|
+
* Left-aligned numbers cannot be compared by scanning, because the digits do
|
|
152
|
+
* not line up (finding M-05) — set `align: 'end'` on any column that renders
|
|
153
|
+
* a figure through a `custom` or `entity` cell, where the table cannot infer
|
|
154
|
+
* it from the type.
|
|
155
|
+
*/
|
|
156
|
+
align?: 'start' | 'center' | 'end';
|
|
157
|
+
/**
|
|
158
|
+
* Whether the column shrinks to its content instead of taking a share of the
|
|
159
|
+
* leftover width. Defaults to `true` for the fixed-shape types (`date`,
|
|
160
|
+
* `dateTime`, `boolean`, `number`, `user`, `status`) so a ten-character date
|
|
161
|
+
* stops being handed 440px while the title column is squeezed. Set `false` to
|
|
162
|
+
* opt a fixed-shape column back into absorbing width.
|
|
163
|
+
*/
|
|
164
|
+
shrink?: boolean;
|
|
147
165
|
filterOnly?: boolean;
|
|
148
166
|
/**
|
|
149
167
|
* Opts a `custom` column into export/print. Custom columns are excluded by
|
|
@@ -247,6 +265,8 @@ declare class Table {
|
|
|
247
265
|
columnReorder: _angular_core.OutputEmitterRef<any>;
|
|
248
266
|
rowReorder: _angular_core.OutputEmitterRef<any>;
|
|
249
267
|
rowClick: _angular_core.OutputEmitterRef<any>;
|
|
268
|
+
/** Fired when the empty state's action button is pressed. */
|
|
269
|
+
emptyAction: _angular_core.OutputEmitterRef<void>;
|
|
250
270
|
/**
|
|
251
271
|
* Fires when the per-row actions popover is opened (3-dots click) so the
|
|
252
272
|
* parent can lazy-load row-specific actions instead of fetching for every
|
|
@@ -320,7 +340,27 @@ declare class Table {
|
|
|
320
340
|
captionStartContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
321
341
|
captionEndContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
322
342
|
emptyContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
323
|
-
|
|
343
|
+
/**
|
|
344
|
+
* Copy for the empty state. Left unset, the table falls back to the generic
|
|
345
|
+
* "Nothing here yet" / "No results match your filters" pair — but a list that
|
|
346
|
+
* knows what it holds should say so, which is the whole point of finding
|
|
347
|
+
* H-12: `emptyDescription="Deliverables you own appear here."`
|
|
348
|
+
*/
|
|
349
|
+
emptyTitle: _angular_core.InputSignal<string | undefined>;
|
|
350
|
+
emptyDescription: _angular_core.InputSignal<string | undefined>;
|
|
351
|
+
/**
|
|
352
|
+
* Call to action on the empty state. Supplying a label takes ownership of the
|
|
353
|
+
* behaviour: `emptyAction` fires and the table does nothing else. Without
|
|
354
|
+
* one, a filtered-empty table offers "Clear filters" and handles it itself.
|
|
355
|
+
*/
|
|
356
|
+
emptyActionLabel: _angular_core.InputSignal<string | undefined>;
|
|
357
|
+
emptyActionIcon: _angular_core.InputSignal<MTIcon | undefined>;
|
|
358
|
+
paginatorPosition: _angular_core.InputSignal<"start" | "center" | "end">;
|
|
359
|
+
/**
|
|
360
|
+
* Pagination for a single page of rows is noise that implies more data
|
|
361
|
+
* exists, so it is off by default now (finding M-05). Set it when the row
|
|
362
|
+
* count is genuinely unknown to the user and the "1 of 1" is reassuring.
|
|
363
|
+
*/
|
|
324
364
|
alwaysShowPaginator: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
325
365
|
rowsPerPageOptions: _angular_core.InputSignal<number[]>;
|
|
326
366
|
pageSize: _angular_core.ModelSignal<number>;
|
|
@@ -348,6 +388,21 @@ declare class Table {
|
|
|
348
388
|
protected getFilterableColumn(key: string): ColumnDef | undefined;
|
|
349
389
|
onColumnFilterChange(key: string, value: any): void;
|
|
350
390
|
protected activeFilterCount: _angular_core.Signal<number>;
|
|
391
|
+
/**
|
|
392
|
+
* Whether the user narrowed the list themselves. Drives which empty state the
|
|
393
|
+
* table shows: "nothing matched what you asked for, clear it" reads very
|
|
394
|
+
* differently from "this list has nothing in it yet" (finding H-12).
|
|
395
|
+
*/
|
|
396
|
+
protected hasActiveFilters: _angular_core.Signal<boolean>;
|
|
397
|
+
/** Action offered on the empty state. Defaults to clearing an active filter. */
|
|
398
|
+
protected resolvedEmptyActionLabel: _angular_core.Signal<string | undefined>;
|
|
399
|
+
protected resolvedEmptyActionIcon: _angular_core.Signal<MTIcon | undefined>;
|
|
400
|
+
/**
|
|
401
|
+
* The empty-state action. A caller that supplied its own label owns the
|
|
402
|
+
* behaviour and just gets the event; otherwise the default action is the one
|
|
403
|
+
* the default label promises — clear the filters and the search term.
|
|
404
|
+
*/
|
|
405
|
+
protected onEmptyAction(): void;
|
|
351
406
|
protected filteredData: _angular_core.Signal<any[]>;
|
|
352
407
|
protected renderedColumns: _angular_core.Signal<ColumnDef[]>;
|
|
353
408
|
/**
|
|
@@ -409,7 +464,25 @@ declare class Table {
|
|
|
409
464
|
resolveActionLoading(action: TableAction, row: any): boolean | undefined;
|
|
410
465
|
getVisibleRowActions(row: any): TableAction[];
|
|
411
466
|
getInlineRowActions(row: any): TableAction[];
|
|
467
|
+
/**
|
|
468
|
+
* Menu actions with the destructive ones moved to the bottom.
|
|
469
|
+
*
|
|
470
|
+
* The Risks row menu read Preview, Update Risk, **Delete Risk**, Close Risk,
|
|
471
|
+
* Transfer to Issue, Escalate — the irreversible action third of six, between
|
|
472
|
+
* the two most common ones, separated from them by nothing but its colour
|
|
473
|
+
* (finding M-07). Colour alone is not separation, and it is no separation at
|
|
474
|
+
* all for a user with a colour-vision deficiency. Order within each group is
|
|
475
|
+
* preserved, so a caller's deliberate sequence still holds.
|
|
476
|
+
*/
|
|
412
477
|
getMenuRowActions(row: any): TableAction[];
|
|
478
|
+
/**
|
|
479
|
+
* True for the first destructive item, which is where the divider goes. The
|
|
480
|
+
* divider is rendered above it rather than below the last routine item so a
|
|
481
|
+
* menu that is *only* destructive does not open with a stray rule.
|
|
482
|
+
*/
|
|
483
|
+
protected isFirstDestructiveAction(row: any, index: number): boolean;
|
|
484
|
+
/** Deleting, or anything the caller flagged `danger`. */
|
|
485
|
+
private static isDestructiveAction;
|
|
413
486
|
shouldShowRowActionsPopover(row: any): boolean;
|
|
414
487
|
isRowActionsLoading(row: any): boolean;
|
|
415
488
|
onRowActionsToggle(event: Event, popover: {
|
|
@@ -466,6 +539,25 @@ declare class Table {
|
|
|
466
539
|
private resolveDateColumnType;
|
|
467
540
|
private getColumnResolvedValue;
|
|
468
541
|
protected isRowSelected(row: Record<string, unknown>): boolean;
|
|
542
|
+
/**
|
|
543
|
+
* Types whose rendered width is bounded by their own shape — a date, a
|
|
544
|
+
* yes/no, an avatar, a status chip. They get sized to content so the columns
|
|
545
|
+
* that hold real text absorb the leftover width instead (finding M-05).
|
|
546
|
+
*/
|
|
547
|
+
private static readonly SHRINK_TO_CONTENT_TYPES;
|
|
548
|
+
/**
|
|
549
|
+
* Alignment class for a column's header and cells. Numbers align to the end
|
|
550
|
+
* with tabular figures so the digits line up down the column; everything else
|
|
551
|
+
* keeps the reading direction.
|
|
552
|
+
*/
|
|
553
|
+
protected getColumnAlignClass(column: ColumnDef): string;
|
|
554
|
+
/**
|
|
555
|
+
* `width: 1%` is the shrink-to-content idiom for an auto-layout table: the
|
|
556
|
+
* browser treats it as a floor, gives the column exactly what its content
|
|
557
|
+
* needs, and hands the remainder to the columns that asked for nothing. An
|
|
558
|
+
* explicit `width` on the column always wins.
|
|
559
|
+
*/
|
|
560
|
+
protected getColumnWidth(column: ColumnDef): string | null;
|
|
469
561
|
protected getColumnMinWidth(column: ColumnDef): string | null;
|
|
470
562
|
private emitSelectionChange;
|
|
471
563
|
private getSelectedRows;
|
|
@@ -484,7 +576,7 @@ declare class Table {
|
|
|
484
576
|
private resolveScrollHeightPixels;
|
|
485
577
|
private toNonNegativeInteger;
|
|
486
578
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Table, never>;
|
|
487
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Table, "mt-table", never, { "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showGridlines": { "alias": "showGridlines"; "required": false; "isSignal": true; }; "stripedRows": { "alias": "stripedRows"; "required": false; "isSignal": true; }; "selectableRows": { "alias": "selectableRows"; "required": false; "isSignal": true; }; "clickableRows": { "alias": "clickableRows"; "required": false; "isSignal": true; }; "generalSearch": { "alias": "generalSearch"; "required": false; "isSignal": true; }; "lazyLocalSearch": { "alias": "lazyLocalSearch"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "updating": { "alias": "updating"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "lazyLocalSort": { "alias": "lazyLocalSort"; "required": false; "isSignal": true; }; "lazyTotalRecords": { "alias": "lazyTotalRecords"; "required": false; "isSignal": true; }; "reorderableColumns": { "alias": "reorderableColumns"; "required": false; "isSignal": true; }; "reorderableRows": { "alias": "reorderableRows"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "storageMode": { "alias": "storageMode"; "required": false; "isSignal": true; }; "persistStateExclude": { "alias": "persistStateExclude"; "required": false; "isSignal": true; }; "exportable": { "alias": "exportable"; "required": false; "isSignal": true; }; "printable": { "alias": "printable"; "required": false; "isSignal": true; }; "groupable": { "alias": "groupable"; "required": false; "isSignal": true; }; "groupCountMap": { "alias": "groupCountMap"; "required": false; "isSignal": true; }; "cellClickFilter": { "alias": "cellClickFilter"; "required": false; "isSignal": true; }; "freezeActions": { "alias": "freezeActions"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "printTitle": { "alias": "printTitle"; "required": false; "isSignal": true; }; "exportFilename": { "alias": "exportFilename"; "required": false; "isSignal": true; }; "actionShape": { "alias": "actionShape"; "required": false; "isSignal": true; }; "rowActionsLoadingFn": { "alias": "rowActionsLoadingFn"; "required": false; "isSignal": true; }; "tableLayout": { "alias": "tableLayout"; "required": false; "isSignal": true; }; "noCard": { "alias": "noCard"; "required": false; "isSignal": true; }; "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "tabsOptionLabel": { "alias": "tabsOptionLabel"; "required": false; "isSignal": true; }; "tabsOptionValue": { "alias": "tabsOptionValue"; "required": false; "isSignal": true; }; "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "paginatorPosition": { "alias": "paginatorPosition"; "required": false; "isSignal": true; }; "alwaysShowPaginator": { "alias": "alwaysShowPaginator"; "required": false; "isSignal": true; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "filterTerm": { "alias": "filterTerm"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "cellChange": "cellChange"; "lazyLoad": "lazyLoad"; "columnReorder": "columnReorder"; "rowReorder": "rowReorder"; "rowClick": "rowClick"; "rowActionsRequested": "rowActionsRequested"; "filters": "filtersChange"; "activeTab": "activeTabChange"; "onTabChange": "onTabChange"; "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; "first": "firstChange"; "filterTerm": "filterTermChange"; "groupBy": "groupByChange"; "sortField": "sortFieldChange"; "sortDirection": "sortDirectionChange"; }, ["captionStartContent", "captionEndContent", "emptyContent"], never, true, never>;
|
|
579
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Table, "mt-table", never, { "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showGridlines": { "alias": "showGridlines"; "required": false; "isSignal": true; }; "stripedRows": { "alias": "stripedRows"; "required": false; "isSignal": true; }; "selectableRows": { "alias": "selectableRows"; "required": false; "isSignal": true; }; "clickableRows": { "alias": "clickableRows"; "required": false; "isSignal": true; }; "generalSearch": { "alias": "generalSearch"; "required": false; "isSignal": true; }; "lazyLocalSearch": { "alias": "lazyLocalSearch"; "required": false; "isSignal": true; }; "showFilters": { "alias": "showFilters"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "updating": { "alias": "updating"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "lazyLocalSort": { "alias": "lazyLocalSort"; "required": false; "isSignal": true; }; "lazyTotalRecords": { "alias": "lazyTotalRecords"; "required": false; "isSignal": true; }; "reorderableColumns": { "alias": "reorderableColumns"; "required": false; "isSignal": true; }; "reorderableRows": { "alias": "reorderableRows"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "storageMode": { "alias": "storageMode"; "required": false; "isSignal": true; }; "persistStateExclude": { "alias": "persistStateExclude"; "required": false; "isSignal": true; }; "exportable": { "alias": "exportable"; "required": false; "isSignal": true; }; "printable": { "alias": "printable"; "required": false; "isSignal": true; }; "groupable": { "alias": "groupable"; "required": false; "isSignal": true; }; "groupCountMap": { "alias": "groupCountMap"; "required": false; "isSignal": true; }; "cellClickFilter": { "alias": "cellClickFilter"; "required": false; "isSignal": true; }; "freezeActions": { "alias": "freezeActions"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; "isSignal": true; }; "printTitle": { "alias": "printTitle"; "required": false; "isSignal": true; }; "exportFilename": { "alias": "exportFilename"; "required": false; "isSignal": true; }; "actionShape": { "alias": "actionShape"; "required": false; "isSignal": true; }; "rowActionsLoadingFn": { "alias": "rowActionsLoadingFn"; "required": false; "isSignal": true; }; "tableLayout": { "alias": "tableLayout"; "required": false; "isSignal": true; }; "noCard": { "alias": "noCard"; "required": false; "isSignal": true; }; "tabs": { "alias": "tabs"; "required": false; "isSignal": true; }; "tabsOptionLabel": { "alias": "tabsOptionLabel"; "required": false; "isSignal": true; }; "tabsOptionValue": { "alias": "tabsOptionValue"; "required": false; "isSignal": true; }; "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; "isSignal": true; }; "emptyDescription": { "alias": "emptyDescription"; "required": false; "isSignal": true; }; "emptyActionLabel": { "alias": "emptyActionLabel"; "required": false; "isSignal": true; }; "emptyActionIcon": { "alias": "emptyActionIcon"; "required": false; "isSignal": true; }; "paginatorPosition": { "alias": "paginatorPosition"; "required": false; "isSignal": true; }; "alwaysShowPaginator": { "alias": "alwaysShowPaginator"; "required": false; "isSignal": true; }; "rowsPerPageOptions": { "alias": "rowsPerPageOptions"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "first": { "alias": "first"; "required": false; "isSignal": true; }; "filterTerm": { "alias": "filterTerm"; "required": false; "isSignal": true; }; "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "cellChange": "cellChange"; "lazyLoad": "lazyLoad"; "columnReorder": "columnReorder"; "rowReorder": "rowReorder"; "rowClick": "rowClick"; "emptyAction": "emptyAction"; "rowActionsRequested": "rowActionsRequested"; "filters": "filtersChange"; "activeTab": "activeTabChange"; "onTabChange": "onTabChange"; "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; "first": "firstChange"; "filterTerm": "filterTermChange"; "groupBy": "groupByChange"; "sortField": "sortFieldChange"; "sortDirection": "sortDirectionChange"; }, ["captionStartContent", "captionEndContent", "emptyContent"], never, true, never>;
|
|
488
580
|
}
|
|
489
581
|
|
|
490
582
|
type TableEntityUsage = 'sort' | 'export' | 'filter';
|
|
@@ -501,8 +593,8 @@ declare class TableValueResolver {
|
|
|
501
593
|
private static readonly EXPORTABLE_ENTITY_VIEW_TYPES;
|
|
502
594
|
/**
|
|
503
595
|
* `Time` is sortable and exportable but not filterable: a time-of-day has no
|
|
504
|
-
* meaningful date-range filter, and
|
|
505
|
-
*
|
|
596
|
+
* meaningful date-range filter, and a date picker cannot express one — it
|
|
597
|
+
* would silently filter by day instead of by clock time.
|
|
506
598
|
*/
|
|
507
599
|
private static readonly FILTERABLE_ENTITY_VIEW_TYPES;
|
|
508
600
|
/**
|
|
@@ -571,6 +663,13 @@ declare class TableValueResolver {
|
|
|
571
663
|
static normalizeTextSortValue(value: unknown): string | null;
|
|
572
664
|
static normalizeNumericSortValue(value: unknown): number | null;
|
|
573
665
|
static normalizeDateSortValue(value: unknown): number | null;
|
|
666
|
+
/**
|
|
667
|
+
* Order a `Time` cell by seconds since midnight. The stored shape is a
|
|
668
|
+
* wall-clock `HH:mm:ss`, which `Date` cannot parse at all; values still held
|
|
669
|
+
* as a full instant contribute their local clock, so a column holding both
|
|
670
|
+
* shapes still sorts by time of day rather than by the date part.
|
|
671
|
+
*/
|
|
672
|
+
static normalizeClockSortValue(value: unknown): number | null;
|
|
574
673
|
/**
|
|
575
674
|
* Resolves an entity column's view type from the column def, falling back to
|
|
576
675
|
* a sample row's cell. Public because grouping decides what it can bucket
|
|
@@ -588,12 +687,15 @@ declare class TableFilter implements ControlValueAccessor {
|
|
|
588
687
|
readonly data: _angular_core.InputSignal<any[]>;
|
|
589
688
|
readonly filterApplied: _angular_core.OutputEmitterRef<TableFilters>;
|
|
590
689
|
readonly filterReset: _angular_core.OutputEmitterRef<void>;
|
|
591
|
-
private readonly
|
|
690
|
+
private readonly transloco;
|
|
691
|
+
protected readonly panelOpen: _angular_core.WritableSignal<boolean>;
|
|
592
692
|
protected pendingFilters: _angular_core.WritableSignal<TableFilters>;
|
|
593
693
|
protected appliedFilters: _angular_core.WritableSignal<TableFilters>;
|
|
594
694
|
private onChange;
|
|
595
695
|
private onTouched;
|
|
596
|
-
|
|
696
|
+
protected open(): void;
|
|
697
|
+
/** "3 filters applied" under the drawer title, or empty when there are none. */
|
|
698
|
+
protected readonly filterSummary: _angular_core.Signal<string>;
|
|
597
699
|
protected filterableColumns: _angular_core.Signal<ColumnDef[]>;
|
|
598
700
|
protected activeFilterCount: _angular_core.Signal<number>;
|
|
599
701
|
protected updateFilter(key: string, value: any): void;
|
|
@@ -756,6 +858,21 @@ declare class TableCaption {
|
|
|
756
858
|
protected onSearch(term: string): void;
|
|
757
859
|
protected onFilterApplied(next: TableFilters): void;
|
|
758
860
|
protected onFilterReset(): void;
|
|
861
|
+
/**
|
|
862
|
+
* The filters currently narrowing the list, as removable chips.
|
|
863
|
+
*
|
|
864
|
+
* The filter panel used to be the only place a filter existed: close it and
|
|
865
|
+
* nothing on screen said the list was narrowed, so a user could stare at an
|
|
866
|
+
* unexpectedly short result set with no way to see why (finding H-11). A chip
|
|
867
|
+
* row states it in the results' own space and clears one filter per click.
|
|
868
|
+
*/
|
|
869
|
+
protected readonly appliedFilterChips: _angular_core.Signal<{
|
|
870
|
+
key: string;
|
|
871
|
+
label: string;
|
|
872
|
+
value: string;
|
|
873
|
+
}[]>;
|
|
874
|
+
protected removeFilter(key: string): void;
|
|
875
|
+
protected clearAllFilters(): void;
|
|
759
876
|
protected onGroupChange(key: string | null): void;
|
|
760
877
|
protected tabChanged(tab: any): void;
|
|
761
878
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCaption, never>;
|
|
@@ -9,6 +9,10 @@ declare class TextField implements ControlValueAccessor, OnInit, OnChanges {
|
|
|
9
9
|
readonly field: _angular_core.InputSignal<boolean>;
|
|
10
10
|
readonly hint: _angular_core.InputSignal<string | undefined>;
|
|
11
11
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
12
|
+
/** Fallback so a control-less, label-less field never renders id="undefined". */
|
|
13
|
+
private readonly defaultFieldId;
|
|
14
|
+
/** Shared by the input and its <label for>. See src/lib/utils/field-id. */
|
|
15
|
+
readonly fieldId: _angular_core.Signal<string>;
|
|
12
16
|
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
13
17
|
readonly class: _angular_core.InputSignal<string>;
|
|
14
18
|
readonly type: _angular_core.InputSignal<string>;
|
|
@@ -8,6 +8,10 @@ declare class TextareaField implements ControlValueAccessor, OnInit, OnChanges {
|
|
|
8
8
|
readonly field: _angular_core.InputSignal<boolean>;
|
|
9
9
|
readonly hint: _angular_core.InputSignal<string | undefined>;
|
|
10
10
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
11
|
+
/** Fallback so a control-less, label-less field never renders id="undefined". */
|
|
12
|
+
private readonly defaultFieldId;
|
|
13
|
+
/** Shared by the input and its <label for>. See src/lib/utils/field-id. */
|
|
14
|
+
readonly fieldId: _angular_core.Signal<string>;
|
|
11
15
|
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
12
16
|
readonly class: _angular_core.InputSignal<string>;
|
|
13
17
|
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
@@ -9,6 +9,10 @@ declare class UploadField implements ControlValueAccessor {
|
|
|
9
9
|
private readonly activeLang;
|
|
10
10
|
private readonly confirmationService;
|
|
11
11
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
12
|
+
/** Fallback so a control-less, label-less field never renders id="undefined". */
|
|
13
|
+
private readonly defaultFieldId;
|
|
14
|
+
/** Shared by the input and its <label for>. See src/lib/utils/field-id. */
|
|
15
|
+
readonly fieldId: _angular_core.Signal<string>;
|
|
12
16
|
readonly title: _angular_core.InputSignal<string>;
|
|
13
17
|
readonly description: _angular_core.InputSignal<string>;
|
|
14
18
|
readonly endPoint: _angular_core.InputSignal<string>;
|
|
@@ -28,6 +28,10 @@ declare class UserSearchField implements ControlValueAccessor, OnInit, OnDestroy
|
|
|
28
28
|
*/
|
|
29
29
|
readonly hideUnlinkedHint: _angular_core.InputSignal<boolean>;
|
|
30
30
|
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
31
|
+
/** Fallback so a control-less, label-less field never renders id="undefined". */
|
|
32
|
+
private readonly defaultFieldId;
|
|
33
|
+
/** Shared by the input and its <label for>. See src/lib/utils/field-id. */
|
|
34
|
+
readonly fieldId: _angular_core.Signal<string>;
|
|
31
35
|
readonly placeholder: _angular_core.InputSignal<string | undefined>;
|
|
32
36
|
readonly class: _angular_core.InputSignal<string>;
|
|
33
37
|
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
@@ -244,6 +244,14 @@ interface FormulaRuntimeMessage {
|
|
|
244
244
|
formulaText?: string;
|
|
245
245
|
ruleId?: string | number;
|
|
246
246
|
fieldKey?: string;
|
|
247
|
+
/**
|
|
248
|
+
* Every field the failing rule reads, when the rule spans more than one
|
|
249
|
+
* (`endDate > startDate` names both). `fieldKey` stays the first of them so
|
|
250
|
+
* existing consumers are unaffected; renderers that mark fields should read
|
|
251
|
+
* this, because flagging only half of a cross-field rule tells the user to
|
|
252
|
+
* look in the wrong place (finding C-02).
|
|
253
|
+
*/
|
|
254
|
+
fieldKeys?: string[];
|
|
247
255
|
}
|
|
248
256
|
interface ResponsiveColSpan {
|
|
249
257
|
xs?: number;
|
|
@@ -1142,6 +1150,103 @@ declare const REQUEST_CONTEXT: HttpContextToken<RequestContextConfig>;
|
|
|
1142
1150
|
*/
|
|
1143
1151
|
declare function getLightColor(hexColor: string): string;
|
|
1144
1152
|
declare function getContrastColor(bgColor: string): string;
|
|
1153
|
+
/**
|
|
1154
|
+
* WCAG 2.x relative luminance.
|
|
1155
|
+
*
|
|
1156
|
+
* Note this is NOT the 0.299/0.587/0.114 perceived-brightness formula used by
|
|
1157
|
+
* `getContrastColor` above — that one is fine for "is this light or dark?" but
|
|
1158
|
+
* it is not the definition a conformance ratio is measured against, so it
|
|
1159
|
+
* cannot be used to decide whether text passes AA.
|
|
1160
|
+
*/
|
|
1161
|
+
declare function relativeLuminance(hex: string): number | null;
|
|
1162
|
+
/** WCAG contrast ratio between two hex colours, 1–21. Null if either is bad. */
|
|
1163
|
+
declare function contrastRatio(foreground: string, background: string): number | null;
|
|
1164
|
+
/** WCAG 1.4.3 Contrast Minimum, normal-size text. */
|
|
1165
|
+
declare const WCAG_AA_NORMAL_TEXT = 4.5;
|
|
1166
|
+
/**
|
|
1167
|
+
* The first shade at or below `preferred` on a generated ramp whose contrast
|
|
1168
|
+
* against `foreground` clears `minRatio`.
|
|
1169
|
+
*
|
|
1170
|
+
* This is how the brand colour stays fully tenant-configurable while the
|
|
1171
|
+
* primary button still passes AA (finding H-03). The shipped default
|
|
1172
|
+
* `#2AAEC0` gives white text 2.65:1 — the single most important control in the
|
|
1173
|
+
* product was the least legible one, and any tenant picking a light brand hit
|
|
1174
|
+
* the same wall. Rather than hardcode a darker teal, which fixes exactly one
|
|
1175
|
+
* tenant, we keep their hue and step down the ramp their own colour generated
|
|
1176
|
+
* until the text is readable.
|
|
1177
|
+
*
|
|
1178
|
+
* Returns `preferred` unchanged when it already passes, so a tenant whose brand
|
|
1179
|
+
* is dark enough sees no change at all. Returns the darkest available shade if
|
|
1180
|
+
* none passes — better to be as close as the palette allows than to give up.
|
|
1181
|
+
*/
|
|
1182
|
+
declare function pickAccessibleShade(palette: Record<string, string>, preferred: string, foreground?: string, minRatio?: number): string;
|
|
1183
|
+
/** Dark ink used when white text would not be legible on a status colour. */
|
|
1184
|
+
declare const READABLE_DARK_INK = "#1f2937";
|
|
1185
|
+
/**
|
|
1186
|
+
* Picks the more legible of white and a dark ink for text sitting on `bgColor`.
|
|
1187
|
+
*
|
|
1188
|
+
* Status and lookup colours come from a tenant's own catalog, so they can be
|
|
1189
|
+
* any hex at all — and the count badges on the Explore cards were painting
|
|
1190
|
+
* white on every one of them, which measured 2.59:1 at the low end (finding
|
|
1191
|
+
* H-03 / M-04). Rather than restrict what colours a tenant may choose, pick the
|
|
1192
|
+
* foreground that actually reads on the colour they chose.
|
|
1193
|
+
*
|
|
1194
|
+
* Measured with the WCAG relative-luminance ratio, not the perceived-brightness
|
|
1195
|
+
* shortcut in `getContrastColor`, because that shortcut is not the definition
|
|
1196
|
+
* conformance is judged against. Unparseable input falls back to white, which
|
|
1197
|
+
* is the behaviour every caller had before.
|
|
1198
|
+
*/
|
|
1199
|
+
declare function readableTextOn(bgColor: string | null | undefined, dark?: string, light?: string): string;
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* Stable DOM ids for form fields.
|
|
1203
|
+
*
|
|
1204
|
+
* Every field component used to bind `[id]="ngControl?.name || label()"`. Used
|
|
1205
|
+
* inside a reactive form that resolves, but a stand-alone field with no control
|
|
1206
|
+
* and no label produced `id="undefined"` — literally, because Angular
|
|
1207
|
+
* stringifies. The global search input was exactly that case, which is why it
|
|
1208
|
+
* also had no associated `<label>` and reported as unlabelled in the
|
|
1209
|
+
* accessibility tree (findings L-03 and H-04).
|
|
1210
|
+
*
|
|
1211
|
+
* `slider-field` already solved this locally; this is that solution extracted so
|
|
1212
|
+
* the six components that got it wrong share one implementation instead of six
|
|
1213
|
+
* near-copies.
|
|
1214
|
+
*/
|
|
1215
|
+
/** A process-unique fallback id, e.g. `mt-text-field-3`. */
|
|
1216
|
+
declare function nextFieldId(prefix: string): string;
|
|
1217
|
+
/**
|
|
1218
|
+
* The id a field should render, in preference order: the reactive form control
|
|
1219
|
+
* name, then a slug of the visible label, then the generated fallback.
|
|
1220
|
+
*
|
|
1221
|
+
* Never returns an empty string or `"undefined"` — a label/input pair is only
|
|
1222
|
+
* associated if the id is real, so the fallback matters more than it looks.
|
|
1223
|
+
*/
|
|
1224
|
+
declare function resolveFieldId(controlName: string | number | null | undefined, label: string | null | undefined, fallbackId: string): string;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Helpers for wall-clock values — the `HH:mm:ss` shape a `Time` property
|
|
1228
|
+
* stores. A time of day carries no calendar date and no timezone, so it is
|
|
1229
|
+
* never serialized as an instant: `new Date('09:30:00')` is `Invalid Date`,
|
|
1230
|
+
* and pushing the clock through UTC would shift it by the viewer's offset.
|
|
1231
|
+
*/
|
|
1232
|
+
/** A wall-clock time, already range-checked. */
|
|
1233
|
+
interface ClockTimeParts {
|
|
1234
|
+
hours: number;
|
|
1235
|
+
minutes: number;
|
|
1236
|
+
seconds: number;
|
|
1237
|
+
}
|
|
1238
|
+
/**
|
|
1239
|
+
* Parse a bare `H:mm`, `HH:mm`, or `HH:mm:ss` string — a trailing fractional
|
|
1240
|
+
* second, as .NET `TimeOnly`/`TimeSpan` may emit, is ignored. Returns `null`
|
|
1241
|
+
* for anything else, including full timestamps, which callers parse as dates.
|
|
1242
|
+
*/
|
|
1243
|
+
declare function parseClockTime(value: unknown): ClockTimeParts | null;
|
|
1244
|
+
/** Read the local wall-clock time off a `Date`, or `null` for an invalid one. */
|
|
1245
|
+
declare function toClockTimeParts(date: Date): ClockTimeParts | null;
|
|
1246
|
+
/** Format a wall-clock time as the `HH:mm:ss` text the backend stores. */
|
|
1247
|
+
declare function formatClockTime(parts: ClockTimeParts): string;
|
|
1248
|
+
/** Seconds since midnight — the comparable form of a wall-clock time. */
|
|
1249
|
+
declare function clockTimeToSeconds(parts: ClockTimeParts): number;
|
|
1145
1250
|
|
|
1146
1251
|
type MTDateFormatType = 'date' | 'dateTime' | 'time';
|
|
1147
1252
|
declare class MTDateFormatPipe implements PipeTransform {
|
|
@@ -1152,5 +1257,5 @@ declare class MTDateFormatPipe implements PipeTransform {
|
|
|
1152
1257
|
static ɵpipe: i0.ɵɵPipeDeclaration<MTDateFormatPipe, "mtDateFormat", true>;
|
|
1153
1258
|
}
|
|
1154
1259
|
|
|
1155
|
-
export { BaseFacade, BaseFieldConfig, CheckboxFieldConfig, ColorPickerFieldConfig, CrudStateBase, DEFAULT_MT_DATE_FORMATS, DS_BLUE, DS_CHART_SERIES, DS_CONTROL_HEIGHT, DS_DEFAULT_PRIMARY_COLOR, DS_ERROR, DS_FONT_FAMILY, DS_GRAY, DS_INDIGO, DS_RADIUS, DS_SEMANTIC, DS_SHADOW, DS_SUCCESS, DS_WARNING, DateFieldConfig, EditorFieldConfig, EntityListFieldConfig, IconFieldConfig, LocationFieldConfig, LookupMatrixFieldConfig, LookupModuleCheckListFieldConfig, MTDateFormatPipe, MT_DATE_FORMATS, MT_DESIGN_IDENTITY_CLASS, MultiSelectFieldConfig, NumberFieldConfig, PickListFieldConfig, REQUEST_CONTEXT, RadioButtonFieldConfig, RadioCardsFieldConfig, ScheduleItemSelectorFieldConfig, SchedulePredecessorFieldConfig, SchemaConnectionFieldConfig, SelectFieldConfig, SliderFieldConfig, SpacerFieldConfig, TextFieldConfig, TextareaFieldConfig, ToggleFieldConfig, UploadFileFieldConfig, UserSearchFieldConfig, ValidatorConfig, applyDesignIdentityClass, changeBackgroundColor, changePrimaryColor, changeTextColor, createCustomValidator, createEntityAdapter, dsChartSeries, dsIdentityConfigs, endLoading, generateTailwindPalette, getContrastColor, getLightColor, getMTDesignIdentity, handleApiRequest, isInvalid, provideMTComponents, provideMTConfirmation, provideMTDateFormats, provideMTMessages, setLoadingError, setMTDesignIdentity, startLoading, toAngularDateFormat, wrapValidatorWithMessage };
|
|
1156
|
-
export type { ApiRequestConfig, BaseFieldConstructorConfig, CrudCreateConfig, CrudDeleteConfig, CrudLoadConfig, CrudUpdateConfig, DSColorScale, DynamicFieldConfig, DynamicFormConfig, EntityAdapter, EntityListFieldRuntimeContext, FieldRelationAction, FieldRelationConfig, FieldState, FieldType, FormulaConditionConfig, FormulaConditionMode, FormulaRuntimeMessage, FormulaRuntimeMessageCode, FormulaValidationRuleConfig, FormulaValidationSeverity, LayoutConfig, LoadingStateShape, LookupCheckListPropertyConfig, LookupMatrixCellConfig, LookupModuleCheckListFieldRuntimeContext, LookupOptionItemConfig, MTDateFormatType, MTDateFormats, MTDesignIdentity, MTThemeOptions, PaletteShade, QueryResult, RequestContextConfig, Response, ResponsiveColSpan, ScheduleItemSelectorFieldRuntimeContext, SchedulePredecessorFieldRuntimeContext, SectionConfig, ValidatorType };
|
|
1260
|
+
export { BaseFacade, BaseFieldConfig, CheckboxFieldConfig, ColorPickerFieldConfig, CrudStateBase, DEFAULT_MT_DATE_FORMATS, DS_BLUE, DS_CHART_SERIES, DS_CONTROL_HEIGHT, DS_DEFAULT_PRIMARY_COLOR, DS_ERROR, DS_FONT_FAMILY, DS_GRAY, DS_INDIGO, DS_RADIUS, DS_SEMANTIC, DS_SHADOW, DS_SUCCESS, DS_WARNING, DateFieldConfig, EditorFieldConfig, EntityListFieldConfig, IconFieldConfig, LocationFieldConfig, LookupMatrixFieldConfig, LookupModuleCheckListFieldConfig, MTDateFormatPipe, MT_DATE_FORMATS, MT_DESIGN_IDENTITY_CLASS, MultiSelectFieldConfig, NumberFieldConfig, PickListFieldConfig, READABLE_DARK_INK, REQUEST_CONTEXT, RadioButtonFieldConfig, RadioCardsFieldConfig, ScheduleItemSelectorFieldConfig, SchedulePredecessorFieldConfig, SchemaConnectionFieldConfig, SelectFieldConfig, SliderFieldConfig, SpacerFieldConfig, TextFieldConfig, TextareaFieldConfig, ToggleFieldConfig, UploadFileFieldConfig, UserSearchFieldConfig, ValidatorConfig, WCAG_AA_NORMAL_TEXT, applyDesignIdentityClass, changeBackgroundColor, changePrimaryColor, changeTextColor, clockTimeToSeconds, contrastRatio, createCustomValidator, createEntityAdapter, dsChartSeries, dsIdentityConfigs, endLoading, formatClockTime, generateTailwindPalette, getContrastColor, getLightColor, getMTDesignIdentity, handleApiRequest, isInvalid, nextFieldId, parseClockTime, pickAccessibleShade, provideMTComponents, provideMTConfirmation, provideMTDateFormats, provideMTMessages, readableTextOn, relativeLuminance, resolveFieldId, setLoadingError, setMTDesignIdentity, startLoading, toAngularDateFormat, toClockTimeParts, wrapValidatorWithMessage };
|
|
1261
|
+
export type { ApiRequestConfig, BaseFieldConstructorConfig, ClockTimeParts, CrudCreateConfig, CrudDeleteConfig, CrudLoadConfig, CrudUpdateConfig, DSColorScale, DynamicFieldConfig, DynamicFormConfig, EntityAdapter, EntityListFieldRuntimeContext, FieldRelationAction, FieldRelationConfig, FieldState, FieldType, FormulaConditionConfig, FormulaConditionMode, FormulaRuntimeMessage, FormulaRuntimeMessageCode, FormulaValidationRuleConfig, FormulaValidationSeverity, LayoutConfig, LoadingStateShape, LookupCheckListPropertyConfig, LookupMatrixCellConfig, LookupModuleCheckListFieldRuntimeContext, LookupOptionItemConfig, MTDateFormatType, MTDateFormats, MTDesignIdentity, MTThemeOptions, PaletteShade, QueryResult, RequestContextConfig, Response, ResponsiveColSpan, ScheduleItemSelectorFieldRuntimeContext, SchedulePredecessorFieldRuntimeContext, SectionConfig, ValidatorType };
|