@forgeroute/ui 0.4.88 → 0.4.89
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/forgeroute-ui-map.mjs +2799 -0
- package/fesm2022/forgeroute-ui-map.mjs.map +1 -0
- package/fesm2022/{forgeroute-ui-ui-labels.es-Hp0NTuG7.mjs → forgeroute-ui-ui-labels.es-D3a6iMnB.mjs} +120 -2
- package/fesm2022/{forgeroute-ui-ui-labels.es-Hp0NTuG7.mjs.map → forgeroute-ui-ui-labels.es-D3a6iMnB.mjs.map} +1 -1
- package/fesm2022/forgeroute-ui.mjs +12855 -10891
- package/fesm2022/forgeroute-ui.mjs.map +1 -1
- package/package.json +9 -1
- package/types/forgeroute-ui-map.d.ts +743 -0
- package/types/forgeroute-ui-messaging.d.ts +5 -5
- package/types/forgeroute-ui-stripe.d.ts +1 -1
- package/types/forgeroute-ui.d.ts +565 -20
package/types/forgeroute-ui.d.ts
CHANGED
|
@@ -2271,6 +2271,124 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2271
2271
|
readonly 'setupWizard.integrationTitle.twilio': "Twilio (calls & texts)";
|
|
2272
2272
|
readonly 'validation.requiredNoLabel': "This field is required.";
|
|
2273
2273
|
readonly 'common.nSelected': "{{ count }} selected";
|
|
2274
|
+
readonly 'kanban.ariaLabel': "Board";
|
|
2275
|
+
readonly 'kanban.loading': "Loading {{ name }}";
|
|
2276
|
+
readonly 'kanban.emptyColumnText': "Nothing here yet";
|
|
2277
|
+
readonly 'kanban.columnLabel_one': "{{ column }}, {{ count }} card";
|
|
2278
|
+
readonly 'kanban.columnLabel_other': "{{ column }}, {{ count }} cards";
|
|
2279
|
+
readonly 'kanban.probability': "{{ percent }} probability";
|
|
2280
|
+
readonly 'kanban.moveTo': "Move to {{ column }}";
|
|
2281
|
+
readonly 'kanban.moveMenu': "Move {{ name }}";
|
|
2282
|
+
readonly 'kanban.hint': "Press Space to pick up a card, the arrow keys to move it, Space or Enter to drop it and Escape to cancel. Press Enter to open a card.";
|
|
2283
|
+
readonly 'kanban.pickedUp': "Picked up {{ item }}. {{ column }}, position {{ position }} of {{ total }}. Use the arrow keys to move it, Space or Enter to drop it, Escape to cancel.";
|
|
2284
|
+
readonly 'kanban.movingOver': "{{ item }}: {{ column }}, position {{ position }} of {{ total }}.";
|
|
2285
|
+
readonly 'kanban.movingOverBlocked': "{{ item }} cannot be dropped in {{ column }}.";
|
|
2286
|
+
readonly 'kanban.moved': "Moved {{ item }} to {{ column }}, position {{ position }} of {{ total }}.";
|
|
2287
|
+
readonly 'kanban.unchanged': "{{ item }} stays in {{ column }}, position {{ position }} of {{ total }}.";
|
|
2288
|
+
readonly 'kanban.dropBlocked': "Cannot move {{ item }} to {{ column }}.";
|
|
2289
|
+
readonly 'kanban.cancelled': "Move cancelled. {{ item }} is back in {{ column }}, position {{ position }} of {{ total }}.";
|
|
2290
|
+
readonly 'kanban.reverted': "{{ item }} could not be moved. It is back in {{ column }}, position {{ position }} of {{ total }}.";
|
|
2291
|
+
readonly 'kanban.blocked': "Not allowed";
|
|
2292
|
+
readonly 'kanban.showMore': "Show {{ next }} more ({{ hidden }} not shown)";
|
|
2293
|
+
readonly 'kanban.showingOf': "Showing {{ limit }} of {{ total }} cards in {{ column }}";
|
|
2294
|
+
readonly 'map.ariaLabel': "Map";
|
|
2295
|
+
readonly 'map.keyboardHelp': "Use the arrow keys to pan and the plus and minus keys to zoom. Every place on the map is also in the list of places.";
|
|
2296
|
+
readonly 'map.zoomIn': "Zoom in";
|
|
2297
|
+
readonly 'map.zoomOut': "Zoom out";
|
|
2298
|
+
readonly 'map.fitMarkers': "Show all places";
|
|
2299
|
+
readonly 'map.loading': "Loading map";
|
|
2300
|
+
readonly 'map.unavailableNoTiles': "Map unavailable: no tile source configured";
|
|
2301
|
+
readonly 'map.unavailableNoAttribution': "Map unavailable: the tile source has no attribution text";
|
|
2302
|
+
readonly 'map.unavailableInvalidTiles': "Map unavailable: the tile source address is not valid";
|
|
2303
|
+
readonly 'map.unavailableLoadFailed': "Map unavailable: the map could not be loaded";
|
|
2304
|
+
readonly 'map.tilesFailed': "Some map tiles could not be loaded.";
|
|
2305
|
+
readonly 'map.listLabel': "Places on the map";
|
|
2306
|
+
readonly 'map.listCount_one': "{{ count }} place";
|
|
2307
|
+
readonly 'map.listCount_other': "{{ count }} places";
|
|
2308
|
+
readonly 'map.listShowing': "Showing {{ shown }} of {{ total }} places";
|
|
2309
|
+
readonly 'map.listEmpty': "No places to show.";
|
|
2310
|
+
readonly 'map.clusterTitle': "{{ count }} places. Select to zoom in.";
|
|
2311
|
+
readonly 'map.infoLabel': "Details for {{ name }}";
|
|
2312
|
+
readonly 'map.closeInfo': "Close details";
|
|
2313
|
+
readonly 'map.drawToolbar': "Search area tools";
|
|
2314
|
+
readonly 'map.drawCircle': "Draw circle";
|
|
2315
|
+
readonly 'map.drawRectangle': "Draw rectangle";
|
|
2316
|
+
readonly 'map.drawPolygon': "Draw area";
|
|
2317
|
+
readonly 'map.clearArea': "Clear area";
|
|
2318
|
+
readonly 'map.drawFinish': "Finish";
|
|
2319
|
+
readonly 'map.drawCancel': "Cancel";
|
|
2320
|
+
readonly 'map.drawUndo': "Undo last point";
|
|
2321
|
+
readonly 'map.addPointAtCenter': "Add point at crosshair";
|
|
2322
|
+
readonly 'map.draw.circle': "Drawing a circle. Click the center, then click a point on its edge. Space adds a point at the crosshair, Escape cancels.";
|
|
2323
|
+
readonly 'map.draw.rectangle': "Drawing a rectangle. Click one corner, then the opposite corner. Space adds a point at the crosshair, Escape cancels.";
|
|
2324
|
+
readonly 'map.draw.polygon': "Drawing an area. Click each corner, then press Enter or Finish. Space adds a point at the crosshair, Backspace removes the last point, Escape cancels.";
|
|
2325
|
+
readonly 'map.draw.pointAdded': "Point {{ count }} added.";
|
|
2326
|
+
readonly 'map.draw.pointRemoved': "Last point removed. {{ count }} left.";
|
|
2327
|
+
readonly 'map.draw.needMore_one': "Add {{ count }} more point to finish.";
|
|
2328
|
+
readonly 'map.draw.needMore_other': "Add {{ count }} more points to finish.";
|
|
2329
|
+
readonly 'map.draw.rejected': "That point cannot be used. Pick a different spot.";
|
|
2330
|
+
readonly 'map.draw.cancelled': "Drawing cancelled.";
|
|
2331
|
+
readonly 'map.draw.cleared': "Search area cleared.";
|
|
2332
|
+
readonly 'map.draw.finished': "Search area set. {{ area }}";
|
|
2333
|
+
readonly 'map.areaSummary': "Search area: {{ area }}";
|
|
2334
|
+
readonly 'map.area.circle': "Circle, center {{ lat }}, {{ lng }}, radius {{ radius }}";
|
|
2335
|
+
readonly 'map.area.bbox': "Rectangle, north {{ north }}, south {{ south }}, east {{ east }}, west {{ west }}";
|
|
2336
|
+
readonly 'map.area.polygon': "Area with {{ count }} points";
|
|
2337
|
+
readonly 'map.unitMeters': "{{ value }} m";
|
|
2338
|
+
readonly 'map.unitKilometers': "{{ value }} km";
|
|
2339
|
+
readonly 'map.form.title': "Search area";
|
|
2340
|
+
readonly 'map.form.shape': "Shape";
|
|
2341
|
+
readonly 'map.form.circle': "Circle";
|
|
2342
|
+
readonly 'map.form.rectangle': "Rectangle";
|
|
2343
|
+
readonly 'map.form.polygon': "Polygon";
|
|
2344
|
+
readonly 'map.form.centerLat': "Center latitude";
|
|
2345
|
+
readonly 'map.form.centerLng': "Center longitude";
|
|
2346
|
+
readonly 'map.form.radius': "Radius";
|
|
2347
|
+
readonly 'map.form.radiusUnit': "Radius unit";
|
|
2348
|
+
readonly 'map.form.unitM': "Meters";
|
|
2349
|
+
readonly 'map.form.unitKm': "Kilometers";
|
|
2350
|
+
readonly 'map.form.unitMi': "Miles";
|
|
2351
|
+
readonly 'map.form.north': "North latitude";
|
|
2352
|
+
readonly 'map.form.south': "South latitude";
|
|
2353
|
+
readonly 'map.form.east': "East longitude";
|
|
2354
|
+
readonly 'map.form.west': "West longitude";
|
|
2355
|
+
readonly 'map.form.pointLat': "Point latitude";
|
|
2356
|
+
readonly 'map.form.pointLng': "Point longitude";
|
|
2357
|
+
readonly 'map.form.addPoint': "Add point";
|
|
2358
|
+
readonly 'map.form.pointsLabel': "Points";
|
|
2359
|
+
readonly 'map.form.pointItem': "Point {{ n }}: {{ lat }}, {{ lng }}";
|
|
2360
|
+
readonly 'map.form.removePoint': "Remove point {{ n }}";
|
|
2361
|
+
readonly 'map.form.noPoints': "No points yet.";
|
|
2362
|
+
readonly 'map.form.apply': "Apply area";
|
|
2363
|
+
readonly 'map.form.clear': "Clear area";
|
|
2364
|
+
readonly 'map.form.applied': "Search area applied.";
|
|
2365
|
+
readonly 'map.form.errorNumber': "Enter a number.";
|
|
2366
|
+
readonly 'map.form.errorLat': "Enter a latitude between -90 and 90.";
|
|
2367
|
+
readonly 'map.form.errorLng': "Enter a longitude between -180 and 180.";
|
|
2368
|
+
readonly 'map.form.errorRadius': "Enter a radius greater than 0.";
|
|
2369
|
+
readonly 'map.form.errorNorthSouth': "North must be greater than south.";
|
|
2370
|
+
readonly 'map.form.errorEastWest': "East must be greater than west.";
|
|
2371
|
+
readonly 'map.form.errorPolygon': "Add at least 3 points.";
|
|
2372
|
+
readonly 'map.draw.selfIntersecting': "That point would make the area cross itself. Pick a different spot.";
|
|
2373
|
+
readonly 'map.draw.finishSelfIntersecting': "The area crosses itself. Remove the last point or undo until it does not.";
|
|
2374
|
+
readonly 'map.form.errorSelfIntersecting': "The area cannot cross itself. Remove or move a point.";
|
|
2375
|
+
readonly 'map.placeSelected': "{{ name }} selected";
|
|
2376
|
+
readonly 'notificationBell.label': "Notifications";
|
|
2377
|
+
readonly 'notificationBell.empty': "You have no notifications.";
|
|
2378
|
+
readonly 'notificationBell.close': "Close";
|
|
2379
|
+
readonly 'notificationBell.loading': "Loading notifications";
|
|
2380
|
+
readonly 'notificationBell.retry': "Retry";
|
|
2381
|
+
readonly 'notificationBell.markAllRead': "Mark all as read";
|
|
2382
|
+
readonly 'notificationBell.markRead': "Mark read";
|
|
2383
|
+
readonly 'notificationBell.markReadNamed': "Mark {{ title }} as read";
|
|
2384
|
+
readonly 'notificationBell.loadMore': "Load more";
|
|
2385
|
+
readonly 'notificationBell.new': "New";
|
|
2386
|
+
readonly 'notificationBell.labelUnread': "{{ label }}, {{ count }} unread";
|
|
2387
|
+
readonly 'notificationBell.unread': "{{ count }} unread";
|
|
2388
|
+
readonly 'notificationBell.allCaughtUp': "All caught up";
|
|
2389
|
+
readonly 'notificationBell.announce.none': "You have no unread notifications.";
|
|
2390
|
+
readonly 'notificationBell.announce.one': "You have 1 unread notification.";
|
|
2391
|
+
readonly 'notificationBell.announce.other': "You have {{ count }} unread notifications.";
|
|
2274
2392
|
};
|
|
2275
2393
|
export type UiLabelKey = keyof typeof UI_DEFAULT_LABELS;
|
|
2276
2394
|
export type UiLabelDictionary = Partial<Record<UiLabelKey, string>>;
|
|
@@ -4225,7 +4343,7 @@ export declare class SidePanelComponent implements OnDestroy {
|
|
|
4225
4343
|
readonly cancelLabel: import("@angular/core").Signal<string>;
|
|
4226
4344
|
/** Right-aligned primary action button label. Empty string = hidden. */
|
|
4227
4345
|
readonly primaryLabel: import("@angular/core").InputSignal<string>;
|
|
4228
|
-
readonly primaryVariant: import("@angular/core").InputSignal<"
|
|
4346
|
+
readonly primaryVariant: import("@angular/core").InputSignal<"primary" | "danger" | "warning">;
|
|
4229
4347
|
readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
|
|
4230
4348
|
readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
|
|
4231
4349
|
/** `data-testid` of the Cancel button; none when empty (default). */
|
|
@@ -5110,7 +5228,7 @@ export declare class TooltipDirective {
|
|
|
5110
5228
|
/** Tooltip text; empty or null disables the tooltip. */
|
|
5111
5229
|
readonly uiTooltip: import("@angular/core").InputSignal<string | null | undefined>;
|
|
5112
5230
|
/** Preferred side; flips to the other side when there is no room. */
|
|
5113
|
-
readonly tooltipPosition: import("@angular/core").InputSignal<"
|
|
5231
|
+
readonly tooltipPosition: import("@angular/core").InputSignal<"bottom" | "top">;
|
|
5114
5232
|
private readonly host;
|
|
5115
5233
|
private readonly doc;
|
|
5116
5234
|
private bubble;
|
|
@@ -5179,6 +5297,139 @@ export declare class StarComponent {
|
|
|
5179
5297
|
"starClick": "starClick";
|
|
5180
5298
|
}, never, never, true, never>;
|
|
5181
5299
|
}
|
|
5300
|
+
/** One row of the notification list. `time` is the text to show (the host formats it: "5 min ago", "Nov 10"); `read` false = unread (highlighted, "New" badge, a Mark read button). */
|
|
5301
|
+
export interface NotificationItem {
|
|
5302
|
+
id: string;
|
|
5303
|
+
title: string;
|
|
5304
|
+
body?: string | null;
|
|
5305
|
+
time?: string | null;
|
|
5306
|
+
read: boolean;
|
|
5307
|
+
}
|
|
5308
|
+
/**
|
|
5309
|
+
* The notification bell: a bell button with an unread count, that opens a side panel listing the user's notifications
|
|
5310
|
+
* (`<ui-notification-bell [items]="items()" [unreadCount]="unread()" [(open)]="open" (opened)="load()" (itemSelect)="go($event)" (markRead)="read($event)" (markAllRead)="readAll()" />`).
|
|
5311
|
+
*
|
|
5312
|
+
* The component owns the look and the keyboard / screen-reader behaviour and holds NO http: the host loads the list (when `(opened)` fires), formats the times, keeps the unread count
|
|
5313
|
+
* current (the bell shows `unreadCount` even while the panel is closed) and answers `(markRead)` / `(markAllRead)` / `(loadMore)` / `(retry)`. Selecting a row emits `(itemSelect)` (the host
|
|
5314
|
+
* marks it read, navigates, and closes the panel with `open.set(false)`); the "Mark read" button of an unread row emits `(markRead)` only. Built from the library's own button, icon, badge,
|
|
5315
|
+
* side panel, list item, empty / error state and skeleton, so it follows their theming, focus rings and 44px touch targets.
|
|
5316
|
+
*
|
|
5317
|
+
* Accessibility: the trigger is a real button named "Notifications, N unread" (`ariaLabel` + the count), `aria-expanded` follows the panel; the count badge is decorative (the name already
|
|
5318
|
+
* carries it, so it is `aria-hidden`); a read row has no "New" badge; "Mark read" buttons carry the row title in their name. A visually hidden polite live region announces every CHANGE of
|
|
5319
|
+
* the unread count ("You have 3 unread notifications.", "You have no unread notifications.") - never the count the bell was first shown with, so a page load is silent.
|
|
5320
|
+
*
|
|
5321
|
+
* Text: every word comes from the label service (keys `notificationBell.*`, English and Spanish); `ariaLabel`, `panelTitle` and `emptyMessage` override the defaults when the host wants
|
|
5322
|
+
* its own wording.
|
|
5323
|
+
*/
|
|
5324
|
+
export declare class NotificationBellComponent {
|
|
5325
|
+
/** The notifications to list, newest first. */
|
|
5326
|
+
readonly items: import("@angular/core").InputSignal<readonly NotificationItem[]>;
|
|
5327
|
+
/** How many notifications are unread (shown on the bell even while the panel is closed). */
|
|
5328
|
+
readonly unreadCount: import("@angular/core").InputSignal<number>;
|
|
5329
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
5330
|
+
readonly loadingMore: import("@angular/core").InputSignal<boolean>;
|
|
5331
|
+
/** A load failure message ('' = none): shown with a Retry button instead of the list. */
|
|
5332
|
+
readonly error: import("@angular/core").InputSignal<string>;
|
|
5333
|
+
/** More pages exist: shows a "Load more" button under the list. */
|
|
5334
|
+
readonly hasMore: import("@angular/core").InputSignal<boolean>;
|
|
5335
|
+
/** Overrides the bell's accessible name (default: the label service's "Notifications"). */
|
|
5336
|
+
readonly ariaLabelInput: import("@angular/core").InputSignal<string | null>;
|
|
5337
|
+
/** Overrides the panel title (default: "Notifications"). */
|
|
5338
|
+
readonly panelTitleInput: import("@angular/core").InputSignal<string | null>;
|
|
5339
|
+
/** Overrides the empty-list message (default: "You have no notifications."). */
|
|
5340
|
+
readonly emptyMessageInput: import("@angular/core").InputSignal<string | null>;
|
|
5341
|
+
/** Counts above this show as "<max>+" on the bell. */
|
|
5342
|
+
readonly maxCount: import("@angular/core").InputSignal<number>;
|
|
5343
|
+
/** Whether the panel is open (two-way: `[(open)]`). */
|
|
5344
|
+
readonly open: import("@angular/core").ModelSignal<boolean>;
|
|
5345
|
+
/** Fires every time the panel is opened by the bell: the host (re)loads the list. */
|
|
5346
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
5347
|
+
readonly itemSelect: import("@angular/core").OutputEmitterRef<NotificationItem>;
|
|
5348
|
+
readonly markRead: import("@angular/core").OutputEmitterRef<NotificationItem>;
|
|
5349
|
+
readonly markAllRead: import("@angular/core").OutputEmitterRef<void>;
|
|
5350
|
+
readonly loadMore: import("@angular/core").OutputEmitterRef<void>;
|
|
5351
|
+
readonly retry: import("@angular/core").OutputEmitterRef<void>;
|
|
5352
|
+
protected readonly labels: UiLabelsService;
|
|
5353
|
+
/** The text a screen reader hears when the unread count changes ('' until it does). */
|
|
5354
|
+
protected readonly announcement: import("@angular/core").WritableSignal<string>;
|
|
5355
|
+
protected readonly baseLabel: import("@angular/core").Signal<string>;
|
|
5356
|
+
protected readonly panelTitleText: import("@angular/core").Signal<string>;
|
|
5357
|
+
protected readonly emptyText: import("@angular/core").Signal<string>;
|
|
5358
|
+
protected readonly countText: import("@angular/core").Signal<string>;
|
|
5359
|
+
protected readonly triggerLabel: import("@angular/core").Signal<string>;
|
|
5360
|
+
protected readonly summaryText: import("@angular/core").Signal<string>;
|
|
5361
|
+
/** The unread count the live region last saw (null until the first render, so the count the bell starts with is never announced). */
|
|
5362
|
+
private lastCount;
|
|
5363
|
+
constructor();
|
|
5364
|
+
toggle(): void;
|
|
5365
|
+
close(): void;
|
|
5366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBellComponent, never>;
|
|
5367
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationBellComponent, "ui-notification-bell", never, {
|
|
5368
|
+
"items": {
|
|
5369
|
+
"alias": "items";
|
|
5370
|
+
"required": false;
|
|
5371
|
+
"isSignal": true;
|
|
5372
|
+
};
|
|
5373
|
+
"unreadCount": {
|
|
5374
|
+
"alias": "unreadCount";
|
|
5375
|
+
"required": false;
|
|
5376
|
+
"isSignal": true;
|
|
5377
|
+
};
|
|
5378
|
+
"loading": {
|
|
5379
|
+
"alias": "loading";
|
|
5380
|
+
"required": false;
|
|
5381
|
+
"isSignal": true;
|
|
5382
|
+
};
|
|
5383
|
+
"loadingMore": {
|
|
5384
|
+
"alias": "loadingMore";
|
|
5385
|
+
"required": false;
|
|
5386
|
+
"isSignal": true;
|
|
5387
|
+
};
|
|
5388
|
+
"error": {
|
|
5389
|
+
"alias": "error";
|
|
5390
|
+
"required": false;
|
|
5391
|
+
"isSignal": true;
|
|
5392
|
+
};
|
|
5393
|
+
"hasMore": {
|
|
5394
|
+
"alias": "hasMore";
|
|
5395
|
+
"required": false;
|
|
5396
|
+
"isSignal": true;
|
|
5397
|
+
};
|
|
5398
|
+
"ariaLabelInput": {
|
|
5399
|
+
"alias": "ariaLabel";
|
|
5400
|
+
"required": false;
|
|
5401
|
+
"isSignal": true;
|
|
5402
|
+
};
|
|
5403
|
+
"panelTitleInput": {
|
|
5404
|
+
"alias": "panelTitle";
|
|
5405
|
+
"required": false;
|
|
5406
|
+
"isSignal": true;
|
|
5407
|
+
};
|
|
5408
|
+
"emptyMessageInput": {
|
|
5409
|
+
"alias": "emptyMessage";
|
|
5410
|
+
"required": false;
|
|
5411
|
+
"isSignal": true;
|
|
5412
|
+
};
|
|
5413
|
+
"maxCount": {
|
|
5414
|
+
"alias": "maxCount";
|
|
5415
|
+
"required": false;
|
|
5416
|
+
"isSignal": true;
|
|
5417
|
+
};
|
|
5418
|
+
"open": {
|
|
5419
|
+
"alias": "open";
|
|
5420
|
+
"required": false;
|
|
5421
|
+
"isSignal": true;
|
|
5422
|
+
};
|
|
5423
|
+
}, {
|
|
5424
|
+
"open": "openChange";
|
|
5425
|
+
"opened": "opened";
|
|
5426
|
+
"itemSelect": "itemSelect";
|
|
5427
|
+
"markRead": "markRead";
|
|
5428
|
+
"markAllRead": "markAllRead";
|
|
5429
|
+
"loadMore": "loadMore";
|
|
5430
|
+
"retry": "retry";
|
|
5431
|
+
}, never, never, true, never>;
|
|
5432
|
+
}
|
|
5182
5433
|
/**
|
|
5183
5434
|
* Library source 2026-11-05, not yet published.
|
|
5184
5435
|
*
|
|
@@ -5878,7 +6129,7 @@ export declare class StepperComponent {
|
|
|
5878
6129
|
* its circle, one continuous line behind the circles that fills as steps complete; a complete step shows a check, the current step an
|
|
5879
6130
|
* accent ring with a dot, an upcoming step an empty circle (no numbers). Circles are 40px (32px with `size="sm"`).
|
|
5880
6131
|
*/
|
|
5881
|
-
readonly labelPosition: import("@angular/core").InputSignal<"
|
|
6132
|
+
readonly labelPosition: import("@angular/core").InputSignal<"beside" | "below">;
|
|
5882
6133
|
/** Viewport width in px below which a horizontal stepper is drawn vertical (labels beside the circles), e.g. `640`. null (default) = never. */
|
|
5883
6134
|
readonly stackBelow: import("@angular/core").InputSignal<number | null>;
|
|
5884
6135
|
/** CSS length (e.g. `10.5rem`): horizontal only - the list gets `min-width: calc(<step count> * <value>)`. Empty (default) = no minimum. */
|
|
@@ -5910,7 +6161,7 @@ export declare class StepperComponent {
|
|
|
5910
6161
|
protected readonly rows: import("@angular/core").Signal<{
|
|
5911
6162
|
step: StepperStep;
|
|
5912
6163
|
index: number;
|
|
5913
|
-
state: "
|
|
6164
|
+
state: "complete" | "current" | "upcoming";
|
|
5914
6165
|
error: boolean;
|
|
5915
6166
|
errorMessage: string;
|
|
5916
6167
|
selectable: boolean;
|
|
@@ -6540,7 +6791,7 @@ export declare class ButtonComponent {
|
|
|
6540
6791
|
* `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
|
|
6541
6792
|
* background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
|
|
6542
6793
|
*/
|
|
6543
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
6794
|
+
readonly variant: import("@angular/core").InputSignal<"primary" | "secondary" | "danger" | "warning" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
|
|
6544
6795
|
/** Renders an anchor to this route instead of a button (use with `variant="link"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role="link" aria-disabled>` with no href (like `href`). */
|
|
6545
6796
|
readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
|
|
6546
6797
|
/** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
|
|
@@ -6561,7 +6812,7 @@ export declare class ButtonComponent {
|
|
|
6561
6812
|
*/
|
|
6562
6813
|
readonly href: import("@angular/core").InputSignal<string | null>;
|
|
6563
6814
|
/** Where to open the `href` (`_blank` = a new tab). */
|
|
6564
|
-
readonly target: import("@angular/core").InputSignal<"
|
|
6815
|
+
readonly target: import("@angular/core").InputSignal<"_self" | "_blank" | "_parent" | "_top" | null>;
|
|
6565
6816
|
/** `rel` of the `href` link. A `_blank` target always gets `noopener noreferrer` added. */
|
|
6566
6817
|
readonly rel: import("@angular/core").InputSignal<string | null>;
|
|
6567
6818
|
/** The href when it is allowed (http, https, mailto, tel, sms or a relative URL), else null. */
|
|
@@ -6585,8 +6836,8 @@ export declare class ButtonComponent {
|
|
|
6585
6836
|
private readonly _narrow;
|
|
6586
6837
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
6587
6838
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
6588
|
-
readonly size: import("@angular/core").InputSignal<"
|
|
6589
|
-
readonly type: import("@angular/core").InputSignal<"
|
|
6839
|
+
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
|
|
6840
|
+
readonly type: import("@angular/core").InputSignal<"reset" | "submit" | "button">;
|
|
6590
6841
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6591
6842
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
6592
6843
|
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
@@ -7229,7 +7480,7 @@ export declare class ImportSourceGridComponent {
|
|
|
7229
7480
|
/** The `value` of the picked source (highlighted). `tile` only: the `card` appearance does not keep a selection. */
|
|
7230
7481
|
readonly selected: import("@angular/core").InputSignal<string>;
|
|
7231
7482
|
/** `tile`: the compact buttons of the import window. `card`: one `ui-detail-card` per source with its own select button (used on a page). */
|
|
7232
|
-
readonly appearance: import("@angular/core").InputSignal<"
|
|
7483
|
+
readonly appearance: import("@angular/core").InputSignal<"card" | "tile">;
|
|
7233
7484
|
/** `card`: disables every card's button (for example while the page is saving). */
|
|
7234
7485
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7235
7486
|
/** `card`: the text of each card's button. */
|
|
@@ -7717,7 +7968,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
7717
7968
|
readonly passwordRequirements: import("@angular/core").InputSignal<boolean>;
|
|
7718
7969
|
/** Rules for `passwordRequirements`; default = the library's five rules (8+ characters, upper, lower, digit, special). */
|
|
7719
7970
|
readonly passwordRules: import("@angular/core").InputSignal<readonly PasswordRule[] | undefined>;
|
|
7720
|
-
readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "
|
|
7971
|
+
readonly type: import("@angular/core").InputSignal<"number" | "email" | "text" | "tel" | "password" | "url">;
|
|
7721
7972
|
readonly maxlength: import("@angular/core").InputSignal<number | undefined>;
|
|
7722
7973
|
readonly required: import("@angular/core").InputSignal<boolean>;
|
|
7723
7974
|
readonly autocomplete: import("@angular/core").InputSignal<string>;
|
|
@@ -7726,7 +7977,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
7726
7977
|
* `search`, `text`, `none`). Empty (default) = the browser's default for the field, except `type="tel"`, which keeps `tel`.
|
|
7727
7978
|
* It only picks the keyboard; it does not restrict what can be typed or pasted.
|
|
7728
7979
|
*/
|
|
7729
|
-
readonly inputmode: import("@angular/core").InputSignal<"" | "
|
|
7980
|
+
readonly inputmode: import("@angular/core").InputSignal<"" | "numeric" | "decimal" | "email" | "text" | "none" | "search" | "tel" | "url">;
|
|
7730
7981
|
readonly readonly: import("@angular/core").InputSignal<boolean>;
|
|
7731
7982
|
readonly hint: import("@angular/core").InputSignal<string>;
|
|
7732
7983
|
/** Id(s) of an external element that also describes this control (e.g. one shared error text for a group of fields). Space separated; MERGED after the control's own hint / error id in `aria-describedby`, never replacing it. Empty = unchanged. */
|
|
@@ -7798,7 +8049,7 @@ export declare class TextInputComponent implements ControlValueAccessor, Validat
|
|
|
7798
8049
|
protected readonly _stepAttr: import("@angular/core").Signal<string | null>;
|
|
7799
8050
|
protected readonly _revealable: import("@angular/core").Signal<boolean>;
|
|
7800
8051
|
protected readonly _shown: import("@angular/core").WritableSignal<boolean>;
|
|
7801
|
-
protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "
|
|
8052
|
+
protected readonly _inputType: import("@angular/core").Signal<"number" | "email" | "text" | "tel" | "password" | "url">;
|
|
7802
8053
|
protected readonly _eyePath: string;
|
|
7803
8054
|
protected readonly _eyeOffPath: string;
|
|
7804
8055
|
protected readonly _showRequirements: import("@angular/core").Signal<boolean>;
|
|
@@ -9548,7 +9799,7 @@ export declare class DropdownComponent {
|
|
|
9548
9799
|
readonly loader: import("@angular/core").InputSignal<(() => Promise<DropdownItem[]>) | null>;
|
|
9549
9800
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
9550
9801
|
readonly activeValue: import("@angular/core").InputSignal<string>;
|
|
9551
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
9802
|
+
readonly variant: import("@angular/core").InputSignal<"badge" | "button">;
|
|
9552
9803
|
/** Trigger size for `variant="button"`: `sm` (default, the compact toolbar look) or `md` (same padding and type as a medium `ui-button`). */
|
|
9553
9804
|
readonly size: import("@angular/core").InputSignal<"sm" | "md">;
|
|
9554
9805
|
readonly menuWidth: import("@angular/core").InputSignal<string>;
|
|
@@ -11197,9 +11448,9 @@ export declare class ChipGroupComponent {
|
|
|
11197
11448
|
readonly spaceAbove: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
11198
11449
|
/** Space below the chip group. */
|
|
11199
11450
|
readonly spaceBelow: import("@angular/core").InputSignal<"none" | "sm" | "md">;
|
|
11200
|
-
protected readonly _gap: import("@angular/core").Signal<"
|
|
11201
|
-
protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "
|
|
11202
|
-
protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "
|
|
11451
|
+
protected readonly _gap: import("@angular/core").Signal<"6px" | "12px" | "8px">;
|
|
11452
|
+
protected readonly _spaceAbove: import("@angular/core").Signal<"0" | "6px" | "12px">;
|
|
11453
|
+
protected readonly _spaceBelow: import("@angular/core").Signal<"0" | "6px" | "12px">;
|
|
11203
11454
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipGroupComponent, never>;
|
|
11204
11455
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChipGroupComponent, "ui-chip-group", never, {
|
|
11205
11456
|
"gap": {
|
|
@@ -12122,7 +12373,7 @@ export declare class AddressInputComponent implements ControlValueAccessor, Vali
|
|
|
12122
12373
|
* the object. `valueChange` always emits the object. A written string is read with `parseAddressValue` for display only: the control keeps
|
|
12123
12374
|
* the original text until the user edits a field (so a text the parser cannot split is not rewritten on load).
|
|
12124
12375
|
*/
|
|
12125
|
-
readonly valueFormat: import("@angular/core").InputSignal<"object" | "
|
|
12376
|
+
readonly valueFormat: import("@angular/core").InputSignal<"object" | "auto" | "text">;
|
|
12126
12377
|
/** ZIP rule; the default is the US 5 digits / 5+4 rule. `null` accepts any non-empty ZIP. The ZIP is validated and stored trimmed. */
|
|
12127
12378
|
readonly zipPattern: import("@angular/core").InputSignal<RegExp | null>;
|
|
12128
12379
|
/** Message shown when the ZIP breaks `zipPattern`. */
|
|
@@ -13971,7 +14222,7 @@ export declare class PdfHotspotComponent {
|
|
|
13971
14222
|
/** `ready`: clickable; `blocked`: disabled (a prerequisite is missing); `signed`: shows `image`. */
|
|
13972
14223
|
readonly state: import("@angular/core").InputSignal<"ready" | "blocked" | "signed">;
|
|
13973
14224
|
/** `warning` gives the ready state an amber look (e.g. for initials), default is blue. */
|
|
13974
|
-
readonly tone: import("@angular/core").InputSignal<"
|
|
14225
|
+
readonly tone: import("@angular/core").InputSignal<"primary" | "warning">;
|
|
13975
14226
|
/** Text of the ready button (e.g. "Sign Here"). */
|
|
13976
14227
|
readonly labelInput: import("@angular/core").InputSignal<string | null>;
|
|
13977
14228
|
readonly label: import("@angular/core").Signal<string>;
|
|
@@ -16914,7 +17165,7 @@ export declare class SetupWizardComponent {
|
|
|
16914
17165
|
protected customHintId(): string;
|
|
16915
17166
|
protected readonly importBlocked: import("@angular/core").Signal<boolean>;
|
|
16916
17167
|
/** The step's own two parts (`splitLayout`) show as two tabs, one card at a time; this is the open one (it starts on the app's part on every visit). */
|
|
16917
|
-
protected readonly splitTab: import("@angular/core").WritableSignal<"
|
|
17168
|
+
protected readonly splitTab: import("@angular/core").WritableSignal<"main" | "extra">;
|
|
16918
17169
|
protected readonly splitTabs: import("@angular/core").Signal<{
|
|
16919
17170
|
key: string;
|
|
16920
17171
|
label: string;
|
|
@@ -19177,7 +19428,7 @@ export declare class PaymentSidePanelComponent {
|
|
|
19177
19428
|
private readonly terminalAvailable;
|
|
19178
19429
|
/** value -> label of every live method the rendered plugins contribute (the first plugin wins a duplicate value). */
|
|
19179
19430
|
private readonly liveMethods;
|
|
19180
|
-
protected readonly kind: import("@angular/core").Signal<"none" | "
|
|
19431
|
+
protected readonly kind: import("@angular/core").Signal<"none" | "live" | "terminal" | "manual">;
|
|
19181
19432
|
private kindOf;
|
|
19182
19433
|
/** The method list as shown: record-only built-ins (a plugin takes over its own values), plugin extras, and only manual ones while a split is being built. */
|
|
19183
19434
|
readonly methodList: import("@angular/core").Signal<PaymentMethodOption[]>;
|
|
@@ -20288,4 +20539,298 @@ export declare class ConfirmAfterCheckService {
|
|
|
20288
20539
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmAfterCheckService, never>;
|
|
20289
20540
|
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
20290
20541
|
}
|
|
20542
|
+
/** One column (stage) of a [ui-kanban-board]. */
|
|
20543
|
+
export interface KanbanColumn {
|
|
20544
|
+
/** Unique id of the column; what `columnFn` returns for the cards that belong to it, and `fromColumn` / `toColumn` of a move. */
|
|
20545
|
+
key: string;
|
|
20546
|
+
/** Column title. */
|
|
20547
|
+
label: string;
|
|
20548
|
+
/** Dot colour: a CSS colour or one of blue / cyan / green / teal / amber / orange / red / pink / slate / gray. */
|
|
20549
|
+
color?: string;
|
|
20550
|
+
/** Chance (0 to 100) that a card in this stage closes, shown as a chip next to the count ("60%"). */
|
|
20551
|
+
probability?: number;
|
|
20552
|
+
/** Pre-formatted value shown at the foot of the column, e.g. a weighted total ("$1.2M weighted"). */
|
|
20553
|
+
footer?: string;
|
|
20554
|
+
/** Spoken version of `footer`. Defaults to the footer text. */
|
|
20555
|
+
footerLabel?: string;
|
|
20556
|
+
/** Text of the empty column; defaults to the board's `emptyText`. */
|
|
20557
|
+
emptyText?: string;
|
|
20558
|
+
/** true = cards can be dragged out of this column but never dropped into it. */
|
|
20559
|
+
disabled?: boolean;
|
|
20560
|
+
}
|
|
20561
|
+
/** Fired when the user drops a card somewhere new (drag, keyboard or the "Move to" menu). The board has ALREADY moved the card on screen. */
|
|
20562
|
+
export interface KanbanMove<T = unknown> {
|
|
20563
|
+
/** Unique per move; `revert(move)` uses it. */
|
|
20564
|
+
id: number;
|
|
20565
|
+
item: T;
|
|
20566
|
+
fromColumn: string;
|
|
20567
|
+
toColumn: string;
|
|
20568
|
+
/** Position (0-based) in the column the card came from. */
|
|
20569
|
+
fromIndex: number;
|
|
20570
|
+
/** Final position (0-based) in the column it went to. */
|
|
20571
|
+
toIndex: number;
|
|
20572
|
+
/** Same as `board.revert(move)`: call it when the host's save failed to put the card back where it was. */
|
|
20573
|
+
revert: () => void;
|
|
20574
|
+
}
|
|
20575
|
+
/** Context of the card template: `<ng-template [uiKanbanCard]="items()" let-deal let-column="column">`. */
|
|
20576
|
+
export interface KanbanCardContext<T = unknown> {
|
|
20577
|
+
$implicit: T;
|
|
20578
|
+
column: KanbanColumn;
|
|
20579
|
+
/** Position of the card in its column (0-based). */
|
|
20580
|
+
index: number;
|
|
20581
|
+
}
|
|
20582
|
+
/**
|
|
20583
|
+
* Marks the template that renders the INSIDE of a card (the board draws the frame, the grip, the "Move to" menu and the drag handling).
|
|
20584
|
+
* Bind the board's items to type the card: `<ng-template [uiKanbanCard]="items()" let-deal>`; the bare `<ng-template uiKanbanCard let-item>` still works
|
|
20585
|
+
* (`item` is then `unknown`).
|
|
20586
|
+
*/
|
|
20587
|
+
export declare class KanbanCardDirective<T = unknown> {
|
|
20588
|
+
/** Only used to infer the item type in the template; the value is never read. */
|
|
20589
|
+
readonly typeFrom: import("@angular/core").InputSignal<"" | readonly T[]>;
|
|
20590
|
+
readonly template: TemplateRef<KanbanCardContext<T>>;
|
|
20591
|
+
static ngTemplateContextGuard<T>(_dir: KanbanCardDirective<T>, _ctx: unknown): _ctx is KanbanCardContext<T>;
|
|
20592
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KanbanCardDirective<any>, never>;
|
|
20593
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KanbanCardDirective<any>, "ng-template[uiKanbanCard]", never, {
|
|
20594
|
+
"typeFrom": {
|
|
20595
|
+
"alias": "uiKanbanCard";
|
|
20596
|
+
"required": false;
|
|
20597
|
+
"isSignal": true;
|
|
20598
|
+
};
|
|
20599
|
+
}, {}, never, never, true, never>;
|
|
20600
|
+
}
|
|
20601
|
+
/**
|
|
20602
|
+
* Kanban board with positional drag and drop: columns of cards that can be moved between and within columns. Data and saving stay with the host.
|
|
20603
|
+
*
|
|
20604
|
+
* <ui-kanban-board [columns]="columns()" [items]="deals()" [columnFn]="stageOf" [cardId]="idOf" [cardLabel]="nameOf"
|
|
20605
|
+
* [canDrop]="canDrop" [readOnly]="perm() !== 'full'" [disabled]="saving()" [loading]="loading()"
|
|
20606
|
+
* (cardMove)="save($event)" (cardClick)="open($event)">
|
|
20607
|
+
* <ng-template [uiKanbanCard]="deals()" let-deal let-column="column"> ...card content... </ng-template>
|
|
20608
|
+
* </ui-kanban-board>
|
|
20609
|
+
*
|
|
20610
|
+
* - A drop moves the card on screen at once and emits `cardMove`; the host saves it and calls `board.revert(move)` (or `move.revert()`) if that fails.
|
|
20611
|
+
* - Pointer: drag a card (the mouse anywhere on it, touch from its grip). Keyboard: focus a card, Space picks it up, the arrow keys move it
|
|
20612
|
+
* (left / right = column, up / down = position), Space or Enter drops it, Escape cancels; every step is announced in a polite live region
|
|
20613
|
+
* ("Moved Oak Plaza to Negotiation, position 2 of 5"). Enter on a card that is not picked up emits `cardClick`. Arrow keys on a card that is
|
|
20614
|
+
* not picked up move the focus between cards.
|
|
20615
|
+
* - Touch-safe alternative: every card has a "Move to" menu (`moveMenu`), which also serves screen readers and mouse users who do not drag.
|
|
20616
|
+
* - `canDrop(item, fromColumn, toColumn)` forbids moves the backend would refuse: blocked columns are marked while a card is held (a visible
|
|
20617
|
+
* "Not allowed" badge, `aria-disabled`, announced), the drop is refused and the "Move to" menu leaves them out.
|
|
20618
|
+
* - `readOnly` removes the grips, the menu and every move; `disabled` pauses moves (e.g. while a save runs) and marks the board busy.
|
|
20619
|
+
* - On phones (<=640px) the columns scroll sideways with snap points.
|
|
20620
|
+
*/
|
|
20621
|
+
export declare class KanbanBoardComponent<T = unknown> {
|
|
20622
|
+
protected readonly labels: UiLabelsService;
|
|
20623
|
+
private readonly host;
|
|
20624
|
+
private readonly doc;
|
|
20625
|
+
private readonly injector;
|
|
20626
|
+
/** The columns in display order. */
|
|
20627
|
+
readonly columns: import("@angular/core").InputSignal<readonly KanbanColumn[]>;
|
|
20628
|
+
/** Every card of the board, in the order they should appear inside their column. Cards whose column is not in `columns` are not shown. */
|
|
20629
|
+
readonly items: import("@angular/core").InputSignal<readonly T[]>;
|
|
20630
|
+
/** The column key a card belongs to. */
|
|
20631
|
+
readonly columnFn: import("@angular/core").InputSignal<(item: T) => string>;
|
|
20632
|
+
/** Stable unique id of a card (tracks it between renders and finds it for focus and revert). Unique across the whole board. */
|
|
20633
|
+
readonly cardId: import("@angular/core").InputSignal<(item: T) => string>;
|
|
20634
|
+
/** Spoken name of a card ("Oak Plaza, $1.2M"): its accessible name and what the announcements say. The visible content is the `uiKanbanCard` template. */
|
|
20635
|
+
readonly cardLabel: import("@angular/core").InputSignal<(item: T) => string>;
|
|
20636
|
+
/** Rule for moves between columns: may this card go from this column to that one? Refused targets are marked, announced and left out of the menu. Not called for a move inside one column. */
|
|
20637
|
+
readonly canDrop: import("@angular/core").InputSignal<((item: T, fromColumn: string, toColumn: string) => boolean) | null>;
|
|
20638
|
+
/** false = cards can only change column, never position inside one (use it for a board the host sorts itself, e.g. by value). */
|
|
20639
|
+
readonly reorderable: import("@angular/core").InputSignal<boolean>;
|
|
20640
|
+
/** Adds the "Move to <column>" menu to every card: the touch-, screen-reader- and mouse-friendly alternative to dragging. */
|
|
20641
|
+
readonly moveMenu: import("@angular/core").InputSignal<boolean>;
|
|
20642
|
+
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
20643
|
+
/** true = no grips, no menu, no drag, no keyboard moves (a read-only user). Cards still open. */
|
|
20644
|
+
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
20645
|
+
/** true = moves are paused (a save is running): like `readOnly` (no grips, no menu, a drag in progress is cancelled) and the board is marked busy. */
|
|
20646
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
20647
|
+
/** Cards drawn per column at first and added by each "Show more" (0 = all). Counts and footers always cover every card. */
|
|
20648
|
+
readonly pageSize: import("@angular/core").InputSignal<number>;
|
|
20649
|
+
readonly ariaLabelInput: import("@angular/core").InputSignal<string | null>;
|
|
20650
|
+
protected readonly ariaLabel: import("@angular/core").Signal<string>;
|
|
20651
|
+
readonly emptyTextInput: import("@angular/core").InputSignal<string | null>;
|
|
20652
|
+
protected readonly emptyText: import("@angular/core").Signal<string>;
|
|
20653
|
+
/** A card was dropped somewhere new. */
|
|
20654
|
+
readonly cardMove: import("@angular/core").OutputEmitterRef<KanbanMove<T>>;
|
|
20655
|
+
/** A card was clicked, or Enter was pressed on it. */
|
|
20656
|
+
readonly cardClick: import("@angular/core").OutputEmitterRef<T>;
|
|
20657
|
+
protected readonly card: import("@angular/core").Signal<KanbanCardDirective<T> | undefined>;
|
|
20658
|
+
protected readonly hintId: string;
|
|
20659
|
+
/** `aria-keyshortcuts` of a movable card: the key that picks it up. */
|
|
20660
|
+
protected readonly pickUpKeys = "Space";
|
|
20661
|
+
protected readonly announcement: import("@angular/core").WritableSignal<string>;
|
|
20662
|
+
protected readonly tabKey: import("@angular/core").WritableSignal<string | null>;
|
|
20663
|
+
protected readonly canDrag: import("@angular/core").Signal<boolean>;
|
|
20664
|
+
protected readonly skeletonColumns: import("@angular/core").Signal<number[]>;
|
|
20665
|
+
/** The cards of every column in display order: the host's items, plus any move not yet replaced by new items. */
|
|
20666
|
+
private readonly layout;
|
|
20667
|
+
/** The column keys in order. A host that re-sends `columns` with new footers or counts must not reset a move that is still being saved, so the layout depends on the keys only. */
|
|
20668
|
+
private readonly columnKeys;
|
|
20669
|
+
private readonly session;
|
|
20670
|
+
private readonly drawn;
|
|
20671
|
+
/** The key of the last moved card: whichever column it is in draws at least up to it, so a card dropped deep in a long column stays on screen (until the next move starts). */
|
|
20672
|
+
private readonly movedKey;
|
|
20673
|
+
private readonly history;
|
|
20674
|
+
private moveSeq;
|
|
20675
|
+
private pointer;
|
|
20676
|
+
private suppressClick;
|
|
20677
|
+
protected readonly liftedKey: import("@angular/core").Signal<string | null>;
|
|
20678
|
+
protected readonly pointerDragging: import("@angular/core").Signal<boolean>;
|
|
20679
|
+
/**
|
|
20680
|
+
* What each column draws. A column draws its first `pageSize` cards ("Show more" adds more) PLUS whatever must be on screen: the card that was last moved
|
|
20681
|
+
* (wherever the host put it), the card being moved in its own column, and - while a card is held with the keyboard - the whole of its own column and of the target
|
|
20682
|
+
* column (so End, the slot and the announcement are exact; this is bounded by the size of one column). A pointer drag never widens a column: the drop position
|
|
20683
|
+
* is counted among the cards drawn, so hovering a 600-card column does not render 600 cards.
|
|
20684
|
+
*/
|
|
20685
|
+
protected readonly views: import("@angular/core").Signal<{
|
|
20686
|
+
col: KanbanColumn;
|
|
20687
|
+
list: T[];
|
|
20688
|
+
shown: T[];
|
|
20689
|
+
hidden: number;
|
|
20690
|
+
next: number;
|
|
20691
|
+
}[]>;
|
|
20692
|
+
/** The card the Tab key reaches (one tab stop for the whole board): the last focused one, else the first card of the first column that has one. */
|
|
20693
|
+
protected readonly tabbableKey: import("@angular/core").Signal<string | null>;
|
|
20694
|
+
/** Where the drop slot is drawn: in `col`, before the card `beforeKey` (null = at the end). Null while nothing is held or the target is refused. */
|
|
20695
|
+
private readonly slot;
|
|
20696
|
+
/** "Move to" menus, built on demand and rebuilt when the columns, the rule or the language change. */
|
|
20697
|
+
private readonly menuMemo;
|
|
20698
|
+
constructor();
|
|
20699
|
+
/** Ends any move in progress without a drop and without an announcement (the board changed under it). */
|
|
20700
|
+
private letGo;
|
|
20701
|
+
protected dot(color?: string): string;
|
|
20702
|
+
protected percent(p: number): string;
|
|
20703
|
+
protected columnLabel(col: KanbanColumn, count: number): string;
|
|
20704
|
+
protected isTarget(key: string): boolean;
|
|
20705
|
+
/** While a card is held, a column that cannot take it. */
|
|
20706
|
+
protected isBlocked(key: string): boolean;
|
|
20707
|
+
protected slotBefore(colKey: string, beforeKey: string | null): boolean;
|
|
20708
|
+
protected showMore(colKey: string): void;
|
|
20709
|
+
/**
|
|
20710
|
+
* Puts a card back where it was before `move` (call it when the host's save failed). Does nothing when the host has already replaced `items`
|
|
20711
|
+
* (the new data wins; a host that updates its own items inside `cardMove` must revert its own data) or the move was reverted before. When the same card
|
|
20712
|
+
* was moved again after `move`, reverting the OLDER move puts the card at the older origin and makes the later move's revert a no-op; reverting the later move
|
|
20713
|
+
* first puts it at the later origin (and the older revert still works).
|
|
20714
|
+
*/
|
|
20715
|
+
revert(move: KanbanMove<T>): void;
|
|
20716
|
+
private group;
|
|
20717
|
+
/** May the card leave `from` for column `to` (a different column)? */
|
|
20718
|
+
private accepts;
|
|
20719
|
+
private targetAllowed;
|
|
20720
|
+
private previewLength;
|
|
20721
|
+
private colLabelOf;
|
|
20722
|
+
private announce;
|
|
20723
|
+
protected onCardClick(item: T): void;
|
|
20724
|
+
protected onCardKey(event: KeyboardEvent, item: T, col: KanbanColumn, index: number): void;
|
|
20725
|
+
protected onCardFocusOut(event: FocusEvent, key: string): void;
|
|
20726
|
+
private pickUp;
|
|
20727
|
+
private onHeldKey;
|
|
20728
|
+
/** Moves the held card's target and says where it is now (or that the place refuses it). */
|
|
20729
|
+
private target;
|
|
20730
|
+
/** Keeps the held card's target on screen: after the new slot (or the refused column) is drawn, scroll it into view (sideways to the column, down to the slot). */
|
|
20731
|
+
private showTarget;
|
|
20732
|
+
private moveFocus;
|
|
20733
|
+
private keyAt;
|
|
20734
|
+
protected onPointerDown(event: PointerEvent, item: T, colKey: string, index: number): void;
|
|
20735
|
+
private readonly onDocMove;
|
|
20736
|
+
private readonly onDocUp;
|
|
20737
|
+
private readonly onDocCancel;
|
|
20738
|
+
/** A drag across the page must not select text on the way. */
|
|
20739
|
+
private readonly onSelectStart;
|
|
20740
|
+
private readonly onDocKey;
|
|
20741
|
+
private startDrag;
|
|
20742
|
+
private placeGhost;
|
|
20743
|
+
/** Finds the column under the pointer and the position among its cards. */
|
|
20744
|
+
private retarget;
|
|
20745
|
+
private scheduleScroll;
|
|
20746
|
+
/** Ends a press: `commit` drops the card where it is held, otherwise it stays. `say` = announce a cancel. */
|
|
20747
|
+
private endPointer;
|
|
20748
|
+
/** Drops the held card at its target: a refused target announces why (a held card stays held, a dragged one goes home). */
|
|
20749
|
+
private drop;
|
|
20750
|
+
private cancelSession;
|
|
20751
|
+
/** The "Move to" menu of a card: one item per column that accepts it. */
|
|
20752
|
+
protected moveActions(item: T, fromCol: string): RowAction[];
|
|
20753
|
+
protected onMenuAction(type: string, item: T, fromCol: string): void;
|
|
20754
|
+
private applyMove;
|
|
20755
|
+
private findCard;
|
|
20756
|
+
private focusNow;
|
|
20757
|
+
/** A moved card is drawn again in its new place: put the focus back on it once it is there. */
|
|
20758
|
+
private focusCard;
|
|
20759
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KanbanBoardComponent<any>, never>;
|
|
20760
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KanbanBoardComponent<any>, "ui-kanban-board", never, {
|
|
20761
|
+
"columns": {
|
|
20762
|
+
"alias": "columns";
|
|
20763
|
+
"required": true;
|
|
20764
|
+
"isSignal": true;
|
|
20765
|
+
};
|
|
20766
|
+
"items": {
|
|
20767
|
+
"alias": "items";
|
|
20768
|
+
"required": true;
|
|
20769
|
+
"isSignal": true;
|
|
20770
|
+
};
|
|
20771
|
+
"columnFn": {
|
|
20772
|
+
"alias": "columnFn";
|
|
20773
|
+
"required": true;
|
|
20774
|
+
"isSignal": true;
|
|
20775
|
+
};
|
|
20776
|
+
"cardId": {
|
|
20777
|
+
"alias": "cardId";
|
|
20778
|
+
"required": true;
|
|
20779
|
+
"isSignal": true;
|
|
20780
|
+
};
|
|
20781
|
+
"cardLabel": {
|
|
20782
|
+
"alias": "cardLabel";
|
|
20783
|
+
"required": true;
|
|
20784
|
+
"isSignal": true;
|
|
20785
|
+
};
|
|
20786
|
+
"canDrop": {
|
|
20787
|
+
"alias": "canDrop";
|
|
20788
|
+
"required": false;
|
|
20789
|
+
"isSignal": true;
|
|
20790
|
+
};
|
|
20791
|
+
"reorderable": {
|
|
20792
|
+
"alias": "reorderable";
|
|
20793
|
+
"required": false;
|
|
20794
|
+
"isSignal": true;
|
|
20795
|
+
};
|
|
20796
|
+
"moveMenu": {
|
|
20797
|
+
"alias": "moveMenu";
|
|
20798
|
+
"required": false;
|
|
20799
|
+
"isSignal": true;
|
|
20800
|
+
};
|
|
20801
|
+
"loading": {
|
|
20802
|
+
"alias": "loading";
|
|
20803
|
+
"required": false;
|
|
20804
|
+
"isSignal": true;
|
|
20805
|
+
};
|
|
20806
|
+
"readOnly": {
|
|
20807
|
+
"alias": "readOnly";
|
|
20808
|
+
"required": false;
|
|
20809
|
+
"isSignal": true;
|
|
20810
|
+
};
|
|
20811
|
+
"disabled": {
|
|
20812
|
+
"alias": "disabled";
|
|
20813
|
+
"required": false;
|
|
20814
|
+
"isSignal": true;
|
|
20815
|
+
};
|
|
20816
|
+
"pageSize": {
|
|
20817
|
+
"alias": "pageSize";
|
|
20818
|
+
"required": false;
|
|
20819
|
+
"isSignal": true;
|
|
20820
|
+
};
|
|
20821
|
+
"ariaLabelInput": {
|
|
20822
|
+
"alias": "ariaLabel";
|
|
20823
|
+
"required": false;
|
|
20824
|
+
"isSignal": true;
|
|
20825
|
+
};
|
|
20826
|
+
"emptyTextInput": {
|
|
20827
|
+
"alias": "emptyText";
|
|
20828
|
+
"required": false;
|
|
20829
|
+
"isSignal": true;
|
|
20830
|
+
};
|
|
20831
|
+
}, {
|
|
20832
|
+
"cardMove": "cardMove";
|
|
20833
|
+
"cardClick": "cardClick";
|
|
20834
|
+
}, ["card"], never, true, never>;
|
|
20835
|
+
}
|
|
20291
20836
|
export type { AllocationModeOption, CalendarAgendaGroup, CalendarDay, CalendarDayLevel, CalendarRange, CalendarViewMode, ChargeAllocation, HostResult, PayableCharge, PaymentAllocation, PaymentEntry, PaymentMethodOption, PaymentPanelOutcome, RecordPaymentFn, RecordPaymentPayload, RecordPaymentResult, SavedPaymentMethod, TerminalConfirmContext, TerminalPhase, TerminalReader, TerminalStartContext, TerminalStartResult, TerminalStatusResult };
|