@rt-tools/ui-kit-v2 0.3.0 → 0.4.0
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/README.md +25 -16
- package/fesm2022/rt-tools-ui-kit-v2.mjs +501 -1327
- package/fesm2022/rt-tools-ui-kit-v2.mjs.map +1 -1
- package/package.json +1 -2
- package/rt-tools-ui-kit-v2-0.4.0.tgz +0 -0
- package/src/lib/components/CONTEXT.md +1 -1
- package/src/lib/components/bar-list/CONTEXT.md +5 -5
- package/src/lib/components/button/rt-button.directive.scss +4 -0
- package/src/lib/components/checkbox/rt-checkbox.component.scss +6 -2
- package/src/lib/components/confirm-popover/CONTEXT.md +8 -8
- package/src/lib/components/dialog/footer/rt-dialog-footer.component.scss +20 -9
- package/src/lib/components/dialog/header/rt-dialog-header.component.scss +27 -15
- package/src/lib/components/download-link/CONTEXT.md +1 -1
- package/src/lib/components/download-link/rt-download-link.component.scss +13 -0
- package/src/lib/components/file-drop/CONTEXT.md +6 -6
- package/src/lib/components/file-input/CONTEXT.md +6 -6
- package/src/lib/components/live-badge/CONTEXT.md +5 -5
- package/src/lib/components/menu/CONTEXT.md +6 -6
- package/src/lib/components/message-composer/CONTEXT.md +10 -10
- package/src/lib/components/multiselect/CONTEXT.md +6 -6
- package/src/lib/components/night-grid/CONTEXT.md +4 -4
- package/src/lib/components/page-header/CONTEXT.md +7 -7
- package/src/lib/components/pagination/CONTEXT.md +1 -1
- package/src/lib/components/select/CONTEXT.md +8 -8
- package/src/lib/components/split-button/CONTEXT.md +7 -7
- package/src/lib/components/split-button/rt-split-button.component.scss +13 -0
- package/src/lib/components/stat-tile/CONTEXT.md +1 -1
- package/src/lib/components/table/CONTEXT.md +1 -1
- package/src/lib/components/tabs/CONTEXT.md +9 -9
- package/src/lib/components/tag/CONTEXT.md +2 -2
- package/src/lib/components/theme-toggle/CONTEXT.md +1 -1
- package/src/lib/components/toggle-switch/rt-toggle-switch.component.scss +6 -2
- package/src/styles/_semantic.scss +11 -2
- package/styles/tokens.css +12 -1
- package/types/rt-tools-ui-kit-v2.d.ts +315 -58
- package/rt-tools-ui-kit-v2-0.3.0.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InputSignal, WritableSignal, Renderer2, InjectionToken, Signal,
|
|
2
|
+
import { InputSignal, WritableSignal, Renderer2, InjectionToken, Signal, EnvironmentProviders, InputSignalWithTransform, OutputEmitterRef, OnInit, OnDestroy, TemplateRef, ElementRef, AfterViewInit, DestroyRef, AfterContentInit, PipeTransform, ModelSignal } from '@angular/core';
|
|
3
3
|
import { OverlayRef, ComponentType, ConnectedPosition } from '@angular/cdk/overlay';
|
|
4
4
|
import { Observable, MonoTypeOperatorFunction } from 'rxjs';
|
|
5
5
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
@@ -191,6 +191,262 @@ declare class RtAsideService {
|
|
|
191
191
|
*/
|
|
192
192
|
declare const RT_ASIDE_DATA: InjectionToken<unknown>;
|
|
193
193
|
|
|
194
|
+
/**
|
|
195
|
+
* Английские подписи кита — умолчание, а не локализация.
|
|
196
|
+
*
|
|
197
|
+
* Кит рисует часть текста сам: кнопки диалогов, тексты ошибок поля, расшифровки
|
|
198
|
+
* иконок для скринридера. Своего языка у него нет и быть не может — его знает
|
|
199
|
+
* приложение и отдаёт функцией-переводчиком (`provideRtKitLabels`). Этот набор
|
|
200
|
+
* стоит под ней умолчанием, чтобы кит без единой настройки не рисовал пустоты:
|
|
201
|
+
* среди ключей много `aria`-подписей, и пустая там означает кнопку без имени
|
|
202
|
+
* для скринридера.
|
|
203
|
+
*
|
|
204
|
+
* Набор задаёт и **перечень ключей**: `RtKitLabelKey` выводится отсюда, поэтому
|
|
205
|
+
* опечатка в ключе не доживает до рантайма.
|
|
206
|
+
*
|
|
207
|
+
* Места вида `{{name}}` заполняются параметрами — их принимает `rtKitLabel()`.
|
|
208
|
+
*/
|
|
209
|
+
declare const RT_KIT_LABELS_EN: {
|
|
210
|
+
readonly bottomSheetClose: "Close";
|
|
211
|
+
readonly chatAttachAria: "Attach a file";
|
|
212
|
+
readonly chatAttachTooltip: "Attach a file";
|
|
213
|
+
readonly chatAttachmentFallback: "Attachment";
|
|
214
|
+
readonly chatCollapse: "Collapse chat";
|
|
215
|
+
readonly chatComposerAria: "Message input";
|
|
216
|
+
readonly chatDeleteAria: "Delete message";
|
|
217
|
+
readonly chatDeleteTooltip: "Delete";
|
|
218
|
+
readonly chatDropOverlay: "Drop the files to attach them to your message";
|
|
219
|
+
readonly chatEmptyHint: "Chat is not available yet.";
|
|
220
|
+
readonly chatEmptyThread: "No messages yet.";
|
|
221
|
+
readonly chatExpand: "Expand chat to full screen";
|
|
222
|
+
readonly chatMessageDeleted: "Message deleted";
|
|
223
|
+
readonly chatPlaceholder: "Type a message";
|
|
224
|
+
readonly chatRefreshAria: "Refresh messages";
|
|
225
|
+
readonly chatRefreshTooltip: "Refresh messages";
|
|
226
|
+
readonly chatRetryAria: "Send again";
|
|
227
|
+
readonly chatRetryTooltip: "Retry";
|
|
228
|
+
readonly chatSendAria: "Send message";
|
|
229
|
+
readonly chatSendLabel: "Send";
|
|
230
|
+
readonly chatStatusFailed: "Not sent";
|
|
231
|
+
readonly chatStatusRead: "Read";
|
|
232
|
+
readonly chatStatusSending: "Sending";
|
|
233
|
+
readonly chatStatusSent: "Delivered";
|
|
234
|
+
readonly chatTitle: "Chat";
|
|
235
|
+
readonly counterDecrease: "Decrease";
|
|
236
|
+
readonly counterIncrease: "Increase";
|
|
237
|
+
readonly fieldErrorEmail: "Invalid email";
|
|
238
|
+
readonly fieldErrorMax: "Value is too large";
|
|
239
|
+
readonly fieldErrorMaxLength: "Value is too long";
|
|
240
|
+
readonly fieldErrorMin: "Value is too small";
|
|
241
|
+
readonly fieldErrorMinLength: "Value is too short";
|
|
242
|
+
readonly fieldErrorPattern: "Invalid format";
|
|
243
|
+
readonly fieldErrorRequired: "Required field";
|
|
244
|
+
readonly photoViewerClose: "Close viewer";
|
|
245
|
+
readonly photoViewerNext: "Next photo";
|
|
246
|
+
readonly photoViewerPrev: "Previous photo";
|
|
247
|
+
readonly themeToggleLabel: "Switch theme";
|
|
248
|
+
readonly uiActions: "Actions";
|
|
249
|
+
readonly uiAuditEmptyHint: "Deal events will appear here — stage changes and other actions.";
|
|
250
|
+
readonly uiBack: "Back";
|
|
251
|
+
readonly uiBackToList: "Back to list";
|
|
252
|
+
readonly uiBaseline: "was {{value}}";
|
|
253
|
+
readonly uiCancel: "Cancel";
|
|
254
|
+
readonly uiChangeAgent: "Change agent";
|
|
255
|
+
readonly uiChooseFile: "Choose file";
|
|
256
|
+
readonly uiClear: "Clear";
|
|
257
|
+
readonly uiClose: "Close";
|
|
258
|
+
readonly uiCollapse: "Collapse";
|
|
259
|
+
readonly uiColumnLocked: "Column is pinned";
|
|
260
|
+
readonly uiColumnSettings: "Column settings";
|
|
261
|
+
readonly uiColumnSettingsTitle: "Configure columns";
|
|
262
|
+
readonly uiCommentOptional: "Comment (optional)";
|
|
263
|
+
readonly uiConfirm: "Confirm";
|
|
264
|
+
readonly uiConfirmAction: "Confirm action";
|
|
265
|
+
readonly uiContinue: "Continue";
|
|
266
|
+
readonly uiCopied: "Copied";
|
|
267
|
+
readonly uiCopy: "Copy";
|
|
268
|
+
readonly uiCurrentStage: "Current stage";
|
|
269
|
+
readonly uiDetails: "Details";
|
|
270
|
+
readonly uiDownload: "Download";
|
|
271
|
+
readonly uiDownloadFile: "Download: {{name}}";
|
|
272
|
+
readonly uiDragColumn: "Drag column";
|
|
273
|
+
readonly uiFileDropOverlay: "Drop the files to attach them";
|
|
274
|
+
readonly uiFilters: "Filters";
|
|
275
|
+
readonly uiForward: "Forward";
|
|
276
|
+
readonly uiHide: "Hide";
|
|
277
|
+
readonly uiHideColumn: "Hide column";
|
|
278
|
+
readonly uiHidePassword: "Hide password";
|
|
279
|
+
readonly uiHint: "Hint";
|
|
280
|
+
readonly uiHistory: "History";
|
|
281
|
+
readonly uiInviteUser: "Invite user";
|
|
282
|
+
readonly uiItemsPerPage: "Items per page";
|
|
283
|
+
readonly uiLiveOnSite: "On the site now";
|
|
284
|
+
readonly uiLoadMore: "Load more";
|
|
285
|
+
readonly uiMainNav: "Main navigation";
|
|
286
|
+
readonly uiMore: "More";
|
|
287
|
+
readonly uiMoreActions: "More actions";
|
|
288
|
+
readonly uiMoveStage: "Move";
|
|
289
|
+
readonly uiMoveStageAria: "Move stage";
|
|
290
|
+
readonly uiNavMenu: "Navigation menu";
|
|
291
|
+
readonly uiNavUnread: "Unread";
|
|
292
|
+
readonly uiNextPage: "Next page";
|
|
293
|
+
readonly uiNightGridAria: "Occupancy grid";
|
|
294
|
+
readonly uiNoData: "No data yet";
|
|
295
|
+
readonly uiNoOptions: "No options";
|
|
296
|
+
readonly uiNoRows: "No data";
|
|
297
|
+
readonly uiNothingFound: "Nothing found";
|
|
298
|
+
readonly uiNotifications: "Notifications";
|
|
299
|
+
readonly uiPageOf: "Page {{page}} of {{last}}";
|
|
300
|
+
readonly uiPagination: "Pagination";
|
|
301
|
+
readonly uiPerPage: "Per page:";
|
|
302
|
+
readonly uiPickAgent: "Select an agent";
|
|
303
|
+
readonly uiPickAnotherAgent: "Select a different agent";
|
|
304
|
+
readonly uiPickTransition: "Select a transition";
|
|
305
|
+
readonly uiPrevPage: "Previous page";
|
|
306
|
+
readonly uiProfile: "Profile";
|
|
307
|
+
readonly uiRangeEmpty: "0 of 0";
|
|
308
|
+
readonly uiRangeOf: "{{from}}–{{to}} of {{total}}";
|
|
309
|
+
readonly uiRemove: "Delete";
|
|
310
|
+
readonly uiRename: "Rename";
|
|
311
|
+
readonly uiReplace: "Replace";
|
|
312
|
+
readonly uiReplaceAgentTitle: "Replace agent";
|
|
313
|
+
readonly uiResetDefaults: "Reset to defaults";
|
|
314
|
+
readonly uiResizeDetails: "Resize details pane";
|
|
315
|
+
readonly uiResizeList: "Resize list pane";
|
|
316
|
+
readonly uiRevert: "Revert";
|
|
317
|
+
readonly uiSave: "Save";
|
|
318
|
+
readonly uiSaveNewAgent: "Save the new agent";
|
|
319
|
+
readonly uiSearch: "Search";
|
|
320
|
+
readonly uiSectionInProgress: "{{label}} — section under development";
|
|
321
|
+
readonly uiSelectValues: "Select values";
|
|
322
|
+
readonly uiShow: "Show";
|
|
323
|
+
readonly uiShowColumn: "Show column";
|
|
324
|
+
readonly uiShowDetails: "Show details";
|
|
325
|
+
readonly uiShowPassword: "Show password";
|
|
326
|
+
readonly uiStageNoteHint: "Internal note — the client will not see it.";
|
|
327
|
+
readonly uiStageTransition: "Stage transition";
|
|
328
|
+
readonly uiSubscribeNotifications: "Subscribe to notifications";
|
|
329
|
+
readonly uiTabInvalid: "This tab contains errors";
|
|
330
|
+
readonly uiTargetStage: "Target stage";
|
|
331
|
+
readonly uiTargetStageRequired: "Select a target stage.";
|
|
332
|
+
readonly uiThreadListEmptyHint: "New threads will appear here.";
|
|
333
|
+
readonly uiToList: "To list";
|
|
334
|
+
readonly uiUnsavedDiscard: "Close without saving";
|
|
335
|
+
readonly uiUnsavedMessage: "The panel has edits that have not been saved yet. Choose what to do with them.";
|
|
336
|
+
readonly uiUnsavedSave: "Save and close";
|
|
337
|
+
readonly uiUnsavedStay: "Stay";
|
|
338
|
+
readonly uiUnsavedTitle: "Unsaved changes";
|
|
339
|
+
readonly uiWelcomeAria: "Welcome message for a new user";
|
|
340
|
+
readonly uiYearOverYear: "YoY";
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Ключ подписи кита. Перечень выводится из английского набора — того самого,
|
|
345
|
+
* что стоит умолчанием, — поэтому ключа, которого кит не рисует, не существует,
|
|
346
|
+
* а опечатка не доживает до рантайма.
|
|
347
|
+
*/
|
|
348
|
+
type RtKitLabelKey = keyof typeof RT_KIT_LABELS_EN;
|
|
349
|
+
/**
|
|
350
|
+
* Подстановки в места вида `{{name}}`. Их просят пять подписей: строка
|
|
351
|
+
* сравнения, имя скачиваемого файла, «страница N из M», диапазон записей и
|
|
352
|
+
* подпись раздела в разработке.
|
|
353
|
+
*/
|
|
354
|
+
type RtKitLabelParams = Readonly<Record<string, string | number>>;
|
|
355
|
+
/**
|
|
356
|
+
* Чем кит получает подпись. Даёт её приложение — оно одно знает и язык
|
|
357
|
+
* продукта, и его формулировки.
|
|
358
|
+
*
|
|
359
|
+
* Возвращать функция обязана готовую строку: подстановки уже сделаны, ключа на
|
|
360
|
+
* экране не бывает. Вернувшая пустое считается не давшей ответа — кит возьмёт
|
|
361
|
+
* английское умолчание, потому что пустая `aria`-подпись означает кнопку без
|
|
362
|
+
* имени для скринридера, а это хуже чужого языка.
|
|
363
|
+
*/
|
|
364
|
+
type RtKitTranslator = (key: RtKitLabelKey, params?: RtKitLabelParams) => string;
|
|
365
|
+
/**
|
|
366
|
+
* Все подписи разом, ключ → готовая строка.
|
|
367
|
+
*
|
|
368
|
+
* Компонент читает карту целиком (`t().uiClose`), а не ключ по одному: одно поле
|
|
369
|
+
* на компонент вместо десятка, и при смене языка перерисовывается всё сразу.
|
|
370
|
+
* Подписи с подстановками в карту не входят — им нужны параметры, и они берутся
|
|
371
|
+
* через `rtKitLabel()`.
|
|
372
|
+
*/
|
|
373
|
+
type RtKitLabelMap = Readonly<Record<RtKitLabelKey, string>>;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Функция, которой кит получает подписи. Её отдаёт приложение —
|
|
377
|
+
* `provideRtKitLabels()`.
|
|
378
|
+
*
|
|
379
|
+
* Токен объявлен **сигналом**, а не просто функцией: приложение, меняющее язык
|
|
380
|
+
* на ходу, кладёт в него новую функцию, и всё, что от неё считано,
|
|
381
|
+
* пересчитывается само.
|
|
382
|
+
*/
|
|
383
|
+
declare const RT_KIT_TRANSLATOR: InjectionToken<Signal<RtKitTranslator>>;
|
|
384
|
+
/**
|
|
385
|
+
* Активная локаль. Ею кит форматирует даты — больше ни для чего она ему не
|
|
386
|
+
* нужна.
|
|
387
|
+
*
|
|
388
|
+
* Данные локали для `DatePipe` регистрирует приложение: без них пайп падает
|
|
389
|
+
* `Missing locale data`, и кит за это не отвечает.
|
|
390
|
+
*/
|
|
391
|
+
declare const RT_KIT_LOCALE: InjectionToken<Signal<string>>;
|
|
392
|
+
/**
|
|
393
|
+
* Все подписи кита разом, ключ → готовая строка.
|
|
394
|
+
*
|
|
395
|
+
* Этим пользуются компоненты: `t().uiClose` вместо ключа по одному. Карта
|
|
396
|
+
* строится один раз на приложение (`providedIn: 'root'`) и пересчитывается,
|
|
397
|
+
* только когда приложение сменило функцию-переводчик.
|
|
398
|
+
*
|
|
399
|
+
* Подпись, которой переводчик не дал (вернул пустое или упал), берётся
|
|
400
|
+
* английской: пустая `aria`-подпись означает кнопку без имени для скринридера.
|
|
401
|
+
*/
|
|
402
|
+
declare const RT_KIT_LABELS: InjectionToken<Signal<RtKitLabelMap>>;
|
|
403
|
+
/**
|
|
404
|
+
* Одна подпись, а не вся карта.
|
|
405
|
+
*
|
|
406
|
+
* Карте не годятся две вещи: подпись с подстановками (параметры приходят из
|
|
407
|
+
* состояния компонента) и подпись, ключ которой выбирается на ходу — кнопка
|
|
408
|
+
* «свернуть ↔ развернуть», текст ошибки поля по сработавшему валидатору. Обе
|
|
409
|
+
* берутся отсюда. Зовётся в поле класса, в инъекционном контексте.
|
|
410
|
+
*
|
|
411
|
+
* ```typescript
|
|
412
|
+
* readonly #range: Signal<string> = rtKitLabel('uiRangeOf', this.#rangeParams);
|
|
413
|
+
* readonly #expand: Signal<string> = rtKitLabel(computed(() => (this.expanded() ? 'chatCollapse' : 'chatExpand')));
|
|
414
|
+
* ```
|
|
415
|
+
*
|
|
416
|
+
* @param key Ключ подписи — значением или сигналом, если он меняется. Пустой
|
|
417
|
+
* ключ даёт пустую строку: у поля без сработавшего валидатора подписи нет, и
|
|
418
|
+
* умолчание тут показало бы ошибку там, где её не случилось.
|
|
419
|
+
* @param params Подстановки — значением или сигналом, если они меняются.
|
|
420
|
+
*/
|
|
421
|
+
declare function rtKitLabel(key: RtKitLabelKey | '' | Signal<RtKitLabelKey | ''>, params?: RtKitLabelParams | Signal<RtKitLabelParams>): Signal<string>;
|
|
422
|
+
/**
|
|
423
|
+
* Отдаёт киту подписи приложения.
|
|
424
|
+
*
|
|
425
|
+
* Без него кит работает на английском умолчании — оно вшито и покрывает все
|
|
426
|
+
* ключи, поэтому пустой кнопки на экране не бывает никогда.
|
|
427
|
+
*
|
|
428
|
+
* ```typescript
|
|
429
|
+
* export const appConfig: ApplicationConfig = {
|
|
430
|
+
* providers: [
|
|
431
|
+
* provideRtKitLabels({
|
|
432
|
+
* translator: computed(() => (key, params) => transloco.translate(`rtKit.${key}`, params)),
|
|
433
|
+
* locale: toSignal(transloco.langChanges$, { initialValue: transloco.getActiveLang() }),
|
|
434
|
+
* }),
|
|
435
|
+
* ],
|
|
436
|
+
* };
|
|
437
|
+
* ```
|
|
438
|
+
*
|
|
439
|
+
* Способ доставки — дело приложения: Transloco, `$localize`, собственный
|
|
440
|
+
* словарь. Кит знает только ключи и то, что на них отвечают строкой.
|
|
441
|
+
*
|
|
442
|
+
* @param source Функция-переводчик и активная локаль. Локаль необязательна —
|
|
443
|
+
* без неё кит форматирует даты по-английски.
|
|
444
|
+
*/
|
|
445
|
+
declare function provideRtKitLabels(source: {
|
|
446
|
+
readonly translator: Signal<RtKitTranslator>;
|
|
447
|
+
readonly locale?: Signal<string>;
|
|
448
|
+
}): EnvironmentProviders;
|
|
449
|
+
|
|
194
450
|
/**
|
|
195
451
|
* Имена иконок rt-icon. Набор лежит в `assets/icons` пакета, откуда сборка
|
|
196
452
|
* приложения кладёт его туда, куда указывает `provideRtIcons()`. Большинство
|
|
@@ -395,6 +651,7 @@ declare class RtAsideHeaderComponent {
|
|
|
395
651
|
#private;
|
|
396
652
|
/** Текст заголовка — рендерится в `<h2>`. Null/пустая строка вместе с
|
|
397
653
|
* `[loading]=true` показывают skeleton вместо title. */
|
|
654
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
398
655
|
readonly title: InputSignal<string | null>;
|
|
399
656
|
/**
|
|
400
657
|
* Мелкий приглушённый надзаголовок НАД основным title (контекст действия:
|
|
@@ -664,6 +921,7 @@ declare namespace IRtAutocomplete {
|
|
|
664
921
|
*/
|
|
665
922
|
declare class RtAutocompleteComponent<TItem> extends RtFormControlBase<TItem | null> {
|
|
666
923
|
#private;
|
|
924
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
667
925
|
protected readonly panelId: string;
|
|
668
926
|
protected readonly popover: Signal<RtPopoverDirective>;
|
|
669
927
|
protected readonly fieldEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
@@ -738,6 +996,7 @@ declare class RtBarListComponent {
|
|
|
738
996
|
|
|
739
997
|
declare class RtBottomSheetComponent {
|
|
740
998
|
#private;
|
|
999
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
741
1000
|
protected readonly dragDeltaY: WritableSignal<number>;
|
|
742
1001
|
protected readonly dragging: WritableSignal<boolean>;
|
|
743
1002
|
readonly open: InputSignal<boolean>;
|
|
@@ -1147,13 +1406,14 @@ declare namespace IRtChat {
|
|
|
1147
1406
|
declare class RtChatComponent {
|
|
1148
1407
|
#private;
|
|
1149
1408
|
/**
|
|
1150
|
-
* Дата сообщения форматируется по
|
|
1409
|
+
* Дата сообщения форматируется по активной локали приложения, а не по
|
|
1151
1410
|
* `LOCALE_ID`: тот вычисляется на подъёме приложения и там, где язык
|
|
1152
1411
|
* переключают на ходу, оставил бы часы в прежнем формате до перезагрузки.
|
|
1153
1412
|
*
|
|
1154
1413
|
* Данные локали для `DatePipe` регистрирует приложение: без них пайп падает
|
|
1155
1414
|
* `Missing locale data`, и кит за это не отвечает.
|
|
1156
1415
|
*/
|
|
1416
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
1157
1417
|
protected readonly locale: Signal<string>;
|
|
1158
1418
|
/**
|
|
1159
1419
|
* Скролл-контейнер треда — для автопрокрутки к последнему сообщению.
|
|
@@ -1414,6 +1674,7 @@ declare class RtCheckboxComponent implements ControlValueAccessor {
|
|
|
1414
1674
|
|
|
1415
1675
|
declare class RtCollapsibleTextComponent implements OnDestroy {
|
|
1416
1676
|
#private;
|
|
1677
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
1417
1678
|
protected readonly textRef: Signal<ElementRef<HTMLElement> | undefined>;
|
|
1418
1679
|
protected readonly expanded: WritableSignal<boolean>;
|
|
1419
1680
|
protected readonly overflowing: WritableSignal<boolean>;
|
|
@@ -1868,9 +2129,12 @@ declare abstract class RtRouteAsideComponent<T> implements OnInit {
|
|
|
1868
2129
|
protected onResolved(): void;
|
|
1869
2130
|
protected closeOutlets(): Record<string, Array<string> | null>;
|
|
1870
2131
|
/**
|
|
1871
|
-
* `
|
|
1872
|
-
*
|
|
1873
|
-
*
|
|
2132
|
+
* `successText` — готовый текст тоста об успехе. Он принадлежит конкретной
|
|
2133
|
+
* мутации, а не панели: у снятия промокода и опроса подписки свой текст
|
|
2134
|
+
* успеха, и один на панель показал бы не тот.
|
|
2135
|
+
*
|
|
2136
|
+
* Именно текст, а не ключ словаря: ключ принадлежал бы словарю приложения, а
|
|
2137
|
+
* кит чужих словарей не знает — переводит приложение и передаёт готовое.
|
|
1874
2138
|
*
|
|
1875
2139
|
* `errorText` принимается и функцией: причина отказа известна только после
|
|
1876
2140
|
* него — стор кладёт её в свой сигнал, а панель без стора выводит из ответа
|
|
@@ -1878,7 +2142,7 @@ declare abstract class RtRouteAsideComponent<T> implements OnInit {
|
|
|
1878
2142
|
*/
|
|
1879
2143
|
protected runMutation(op$: Observable<unknown>, opts?: {
|
|
1880
2144
|
onSuccess?: () => void;
|
|
1881
|
-
|
|
2145
|
+
successText?: string;
|
|
1882
2146
|
errorText?: string | ((error: unknown) => string);
|
|
1883
2147
|
closeOnSuccess?: boolean;
|
|
1884
2148
|
refreshOnSuccess?: boolean;
|
|
@@ -1976,8 +2240,8 @@ declare class RtCounterComponent implements ControlValueAccessor {
|
|
|
1976
2240
|
* берёт компонент, у которого есть доступ к текущей локали; перекрываются
|
|
1977
2241
|
* поштучно через input'ы `decreaseLabel` / `increaseLabel`.
|
|
1978
2242
|
*/
|
|
1979
|
-
declare const RT_COUNTER_DECREASE_KEY:
|
|
1980
|
-
declare const RT_COUNTER_INCREASE_KEY:
|
|
2243
|
+
declare const RT_COUNTER_DECREASE_KEY: RtKitLabelKey;
|
|
2244
|
+
declare const RT_COUNTER_INCREASE_KEY: RtKitLabelKey;
|
|
1981
2245
|
|
|
1982
2246
|
/**
|
|
1983
2247
|
* Строка списка со счётчиком: подпись с пояснением слева, контрол справа,
|
|
@@ -2015,6 +2279,7 @@ declare namespace IRtDatePicker {
|
|
|
2015
2279
|
*/
|
|
2016
2280
|
declare class RtDatePickerComponent extends RtFormControlBase<string> {
|
|
2017
2281
|
#private;
|
|
2282
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
2018
2283
|
protected readonly fieldEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
2019
2284
|
protected readonly hasValue: Signal<boolean>;
|
|
2020
2285
|
readonly displayText: Signal<string>;
|
|
@@ -2262,6 +2527,7 @@ declare const RT_DIALOG_DATA: InjectionToken<unknown>;
|
|
|
2262
2527
|
declare class RtDialogHeaderComponent {
|
|
2263
2528
|
#private;
|
|
2264
2529
|
/** Текст заголовка — рендерится в `<h2>`. */
|
|
2530
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
2265
2531
|
readonly title: InputSignal<string>;
|
|
2266
2532
|
/** Показывать кнопку закрытия в углу заголовка. Дефолт `true`. */
|
|
2267
2533
|
readonly closable: InputSignalWithTransform<boolean, BooleanInput>;
|
|
@@ -2291,6 +2557,11 @@ declare class RtDialogFooterComponent {
|
|
|
2291
2557
|
}
|
|
2292
2558
|
|
|
2293
2559
|
declare class RtDownloadLinkComponent {
|
|
2560
|
+
/**
|
|
2561
|
+
* Подпись для скринридера: имя файла подставляется в неё, поэтому карты
|
|
2562
|
+
* подписей ей мало — параметр приходит из входа.
|
|
2563
|
+
*/
|
|
2564
|
+
protected readonly downloadAriaLabel: Signal<string>;
|
|
2294
2565
|
readonly label: InputSignal<string>;
|
|
2295
2566
|
readonly downloadClick: OutputEmitterRef<void>;
|
|
2296
2567
|
protected onClick(): void;
|
|
@@ -2340,7 +2611,7 @@ declare namespace IRtField {
|
|
|
2340
2611
|
* страницы ещё неизвестен, и готовый текст остался бы на языке по умолчанию
|
|
2341
2612
|
* даже под переведённой подписью поля. Переводит сам компонент поля.
|
|
2342
2613
|
*/
|
|
2343
|
-
declare const RT_FIELD_DEFAULT_ERROR_KEYS:
|
|
2614
|
+
declare const RT_FIELD_DEFAULT_ERROR_KEYS: Readonly<Record<string, RtKitLabelKey>>;
|
|
2344
2615
|
/** Текст-плейсхолдер read-only поля без значения. */
|
|
2345
2616
|
declare const RT_FIELD_EMPTY_VALUE: string;
|
|
2346
2617
|
|
|
@@ -2360,6 +2631,7 @@ declare const RT_FIELD_EMPTY_VALUE: string;
|
|
|
2360
2631
|
*/
|
|
2361
2632
|
declare class RtFieldComponent implements AfterContentInit {
|
|
2362
2633
|
#private;
|
|
2634
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
2363
2635
|
protected readonly projectedControl: Signal<RtFormControlBase<unknown> | undefined>;
|
|
2364
2636
|
protected readonly projectedHint: Signal<RtFieldHintDirective | undefined>;
|
|
2365
2637
|
/** Итоговый id: явный controlId контрола важнее авто-id. */
|
|
@@ -2438,6 +2710,7 @@ declare namespace IRtFileCard {
|
|
|
2438
2710
|
*/
|
|
2439
2711
|
declare class RtFileCardComponent {
|
|
2440
2712
|
/** Имя цветной иконки типа файла по расширению. */
|
|
2713
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
2441
2714
|
protected readonly iconName: Signal<IRtIcon.Name>;
|
|
2442
2715
|
/** Заголовок карточки, выведенный из имени файла (без расширения, разделители → пробелы). */
|
|
2443
2716
|
protected readonly title: Signal<string>;
|
|
@@ -2724,6 +2997,7 @@ declare class RtFilterControlComponent<T = string> {
|
|
|
2724
2997
|
* страницы в dark).
|
|
2725
2998
|
*/
|
|
2726
2999
|
declare class RtHeaderComponent {
|
|
3000
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
2727
3001
|
readonly canGoBack: InputSignal<boolean>;
|
|
2728
3002
|
/** Показывать action-иконку «Пригласить пользователя» слева от колокола. */
|
|
2729
3003
|
readonly showInvite: InputSignalWithTransform<boolean, boolean | string>;
|
|
@@ -2836,6 +3110,7 @@ declare class RtInfoItemComponent {
|
|
|
2836
3110
|
* Все размеры/цвета — через `--rt-input-*` semantic-токены.
|
|
2837
3111
|
*/
|
|
2838
3112
|
declare class RtInputComponent extends RtFormControlBase<string> {
|
|
3113
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
2839
3114
|
protected readonly fieldEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
2840
3115
|
protected readonly isPasswordVisible: WritableSignal<boolean>;
|
|
2841
3116
|
protected readonly hasValue: Signal<boolean>;
|
|
@@ -2883,6 +3158,7 @@ declare class RtInputComponent extends RtFormControlBase<string> {
|
|
|
2883
3158
|
*/
|
|
2884
3159
|
declare class RtInputNumberComponent extends RtFormControlBase<number | null> {
|
|
2885
3160
|
#private;
|
|
3161
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
2886
3162
|
protected readonly fieldEl: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
2887
3163
|
protected readonly displayValue: WritableSignal<string>;
|
|
2888
3164
|
protected readonly hasValue: Signal<boolean>;
|
|
@@ -3189,6 +3465,7 @@ declare class RtMessageComponent {
|
|
|
3189
3465
|
* передайте пустую строку как `[icon]` — она будет falsy и не «победит» default.
|
|
3190
3466
|
* Полное отключение делается через severity `secondary` / `neutral`.
|
|
3191
3467
|
*/
|
|
3468
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3192
3469
|
protected readonly effectiveIcon: Signal<IRtIcon.Name | null>;
|
|
3193
3470
|
/** Семантическая палитра. По умолчанию `info` (синий info-banner). */
|
|
3194
3471
|
readonly severity: InputSignal<IRtTag.Severity>;
|
|
@@ -3220,6 +3497,7 @@ interface IComposerFormShape {
|
|
|
3220
3497
|
*/
|
|
3221
3498
|
declare class RtMessageComposerComponent {
|
|
3222
3499
|
#private;
|
|
3500
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3223
3501
|
protected readonly placeholderText: Signal<string>;
|
|
3224
3502
|
protected readonly fileInput: Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
3225
3503
|
protected readonly form: FormGroup<IComposerFormShape>;
|
|
@@ -3305,6 +3583,7 @@ declare class RtMoneyRowComponent {
|
|
|
3305
3583
|
*/
|
|
3306
3584
|
declare class RtMultiselectComponent<TValue> extends RtFormControlBase<ReadonlyArray<TValue>> {
|
|
3307
3585
|
#private;
|
|
3586
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3308
3587
|
protected readonly panelId: string;
|
|
3309
3588
|
protected readonly placeholderText: Signal<string>;
|
|
3310
3589
|
protected readonly popover: Signal<RtPopoverDirective>;
|
|
@@ -3524,6 +3803,7 @@ declare namespace IRtPageHeaderView {
|
|
|
3524
3803
|
*/
|
|
3525
3804
|
declare class RtPageHeaderComponent {
|
|
3526
3805
|
#private;
|
|
3806
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3527
3807
|
protected readonly mobileNavPopoverRef: Signal<RtPopoverDirective | undefined>;
|
|
3528
3808
|
/** Форма пункта решается один раз здесь, а не ветвлениями в шаблоне. */
|
|
3529
3809
|
protected readonly sections: Signal<ReadonlyArray<IRtPageHeaderView.Section>>;
|
|
@@ -3553,6 +3833,12 @@ declare class RtPageHeaderComponent {
|
|
|
3553
3833
|
readonly itemClick: OutputEmitterRef<string>;
|
|
3554
3834
|
readonly userClick: OutputEmitterRef<void>;
|
|
3555
3835
|
constructor();
|
|
3836
|
+
/**
|
|
3837
|
+
* Подпись раздела в разработке. Методом, а не сигналом: имя раздела приходит
|
|
3838
|
+
* элементом цикла, и до него подписи ещё нет. Метод читает сигнал
|
|
3839
|
+
* переводчика, поэтому смена языка перерисовывает разметку и зовёт его заново.
|
|
3840
|
+
*/
|
|
3841
|
+
protected sectionInProgressLabel(label: string): string;
|
|
3556
3842
|
protected onItemClick(id: string): void;
|
|
3557
3843
|
protected onUserClick(): void;
|
|
3558
3844
|
/** Аккордеон мобильной панели: тумблер раскрытия раздела по его id. */
|
|
@@ -3615,6 +3901,7 @@ declare namespace IRtPhotoViewer {
|
|
|
3615
3901
|
*/
|
|
3616
3902
|
declare class RtPhotoViewerComponent {
|
|
3617
3903
|
#private;
|
|
3904
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3618
3905
|
protected readonly track: Signal<ElementRef<HTMLElement> | undefined>;
|
|
3619
3906
|
protected readonly photos: readonly IRtPhotoViewer.Photo[];
|
|
3620
3907
|
/** Панель правки под дорожкой; там, где кадр только смотрят, её нет */
|
|
@@ -3661,7 +3948,14 @@ declare namespace IRtPagination {
|
|
|
3661
3948
|
}
|
|
3662
3949
|
|
|
3663
3950
|
declare class RtPaginationComponent {
|
|
3951
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3664
3952
|
protected readonly perPageSelectOptions: Signal<ReadonlyArray<IRtSelect.Option<number>>>;
|
|
3953
|
+
/**
|
|
3954
|
+
* Диапазон записей и номер страницы — с подстановками, поэтому карте подписей
|
|
3955
|
+
* они не годятся: числа приходят из модели страницы.
|
|
3956
|
+
*/
|
|
3957
|
+
protected readonly rangeLabel: Signal<string>;
|
|
3958
|
+
protected readonly pageLabel: Signal<string>;
|
|
3665
3959
|
protected readonly isFirst: Signal<boolean>;
|
|
3666
3960
|
protected readonly isLast: Signal<boolean>;
|
|
3667
3961
|
readonly pageModel: InputSignal<IPageModel>;
|
|
@@ -3725,6 +4019,7 @@ type IBooleanInput = boolean | string;
|
|
|
3725
4019
|
*/
|
|
3726
4020
|
declare class RtSelectComponent<TValue> extends RtFormControlBase<TValue | null> {
|
|
3727
4021
|
#private;
|
|
4022
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3728
4023
|
protected readonly panelId: string;
|
|
3729
4024
|
protected readonly filterPlaceholderText: Signal<string>;
|
|
3730
4025
|
protected readonly popover: Signal<RtPopoverDirective>;
|
|
@@ -3971,6 +4266,7 @@ declare class RtStatTileComponent {
|
|
|
3971
4266
|
* = null) не рисуется вовсе: «—» рядом с цифрой читается как поломка, а не
|
|
3972
4267
|
* как «сравнивать не с чем».
|
|
3973
4268
|
*/
|
|
4269
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
3974
4270
|
protected readonly primaryDelta: Signal<IDeltaRow | null>;
|
|
3975
4271
|
/** Годовое сравнение — отдельным компактным чипом, без слов в строке. */
|
|
3976
4272
|
protected readonly yearDelta: Signal<IDeltaRow | null>;
|
|
@@ -4554,6 +4850,7 @@ declare class RtTableSettingsRegistry {
|
|
|
4554
4850
|
declare class RtTableSettingsAsideComponent extends RtRouteAsideComponent<never> {
|
|
4555
4851
|
#private;
|
|
4556
4852
|
/** Рабочая копия списка колонок (сидится из регистрации, редактируется телом-панелью). */
|
|
4853
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
4557
4854
|
protected readonly items: WritableSignal<ReadonlyArray<IRtTable.ColumnSettingItem>>;
|
|
4558
4855
|
constructor();
|
|
4559
4856
|
protected resolve(): Observable<never | null>;
|
|
@@ -4572,6 +4869,7 @@ declare class RtTableSettingsAsideComponent extends RtRouteAsideComponent<never>
|
|
|
4572
4869
|
* для «Сохранить»/«Сбросить» и передаёт сюда через `[(items)]`.
|
|
4573
4870
|
*/
|
|
4574
4871
|
declare class RtTableSettingsPanelComponent {
|
|
4872
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
4575
4873
|
readonly items: ModelSignal<ReadonlyArray<IRtTable.ColumnSettingItem>>;
|
|
4576
4874
|
/** Reorder через drag-drop. Locked-строки drag-disabled; индексы — по всему списку. */
|
|
4577
4875
|
protected onDrop(event: CdkDragDrop<ReadonlyArray<IRtTable.ColumnSettingItem>>): void;
|
|
@@ -4724,6 +5022,7 @@ declare class RtTabsComponent {
|
|
|
4724
5022
|
*/
|
|
4725
5023
|
declare class RtTagComponent {
|
|
4726
5024
|
/** Текст pill — обязательный input. */
|
|
5025
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
4727
5026
|
readonly value: InputSignal<string>;
|
|
4728
5027
|
/** Семантическая палитра. По умолчанию `neutral` (нейтральный серый). */
|
|
4729
5028
|
readonly severity: InputSignal<IRtTag.Severity>;
|
|
@@ -4880,6 +5179,7 @@ declare class RtThreadListSearchDirective {
|
|
|
4880
5179
|
*/
|
|
4881
5180
|
declare class RtThreadListComponent<TRow extends IRtThreadList.Row> implements OnInit {
|
|
4882
5181
|
#private;
|
|
5182
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
4883
5183
|
protected readonly searchPlaceholderText: Signal<string>;
|
|
4884
5184
|
protected readonly emptyTitle: Signal<string>;
|
|
4885
5185
|
protected readonly skeletonRows: number[];
|
|
@@ -5116,6 +5416,7 @@ declare namespace IRtToaster {
|
|
|
5116
5416
|
|
|
5117
5417
|
declare class RtToastComponent implements AfterViewInit, OnDestroy {
|
|
5118
5418
|
#private;
|
|
5419
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
5119
5420
|
protected readonly icon: Signal<IRtIcon.Name>;
|
|
5120
5421
|
readonly toast: InputSignal<IRtToaster.Toast>;
|
|
5121
5422
|
readonly index: InputSignal<number>;
|
|
@@ -5387,6 +5688,7 @@ declare namespace IRtWelcomeDialog {
|
|
|
5387
5688
|
*/
|
|
5388
5689
|
declare class RtWelcomeDialogComponent {
|
|
5389
5690
|
#private;
|
|
5691
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
5390
5692
|
protected readonly title: string;
|
|
5391
5693
|
protected readonly paragraphs: string[];
|
|
5392
5694
|
/** Своя подпись важнее умолчания: роль знает, куда ведёт кнопка */
|
|
@@ -5442,6 +5744,7 @@ declare class RtWorkspaceAsideDirective {
|
|
|
5442
5744
|
|
|
5443
5745
|
declare class RtWorkspaceComponent implements IRtWorkspace.PanelApi {
|
|
5444
5746
|
#private;
|
|
5747
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
5445
5748
|
protected readonly listSlot: Signal<RtWorkspaceListDirective | undefined>;
|
|
5446
5749
|
protected readonly centerSlot: Signal<RtWorkspaceCenterDirective | undefined>;
|
|
5447
5750
|
protected readonly asideSlot: Signal<RtWorkspaceAsideDirective | undefined>;
|
|
@@ -5552,6 +5855,7 @@ interface ITransitionFormShape {
|
|
|
5552
5855
|
}
|
|
5553
5856
|
declare class RtWorkspaceDetailsComponent {
|
|
5554
5857
|
#private;
|
|
5858
|
+
protected readonly t: Signal<RtKitLabelMap>;
|
|
5555
5859
|
protected readonly editingAgent: WritableSignal<boolean>;
|
|
5556
5860
|
protected readonly selectedAgentId: WritableSignal<number | null>;
|
|
5557
5861
|
protected readonly transitionForm: FormGroup<ITransitionFormShape>;
|
|
@@ -5643,52 +5947,5 @@ declare class RtInfiniteScrollDirective implements OnDestroy {
|
|
|
5643
5947
|
static ɵdir: i0.ɵɵDirectiveDeclaration<RtInfiniteScrollDirective, "[rtInfiniteScroll]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; }, { "loadMore": "loadMore"; }, never, never, true, never>;
|
|
5644
5948
|
}
|
|
5645
5949
|
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
* ярлыки состояний, подсказки для скринридера, тексты ошибок поля.
|
|
5649
|
-
*
|
|
5650
|
-
* Ключи лежат в собственном неймспейсе `rtKit`, чтобы не занимать глобальное
|
|
5651
|
-
* пространство ключей приложения: в разметке они пишутся полным именем
|
|
5652
|
-
* (`'rtKit.uiClose' | transloco`), а грузит их `provideRtKitTranslations()`.
|
|
5653
|
-
*
|
|
5654
|
-
* Приложение переопределяет любую подпись, передав свой словарь тем же
|
|
5655
|
-
* провайдером: переданные ключи ложатся поверх этих.
|
|
5656
|
-
*/
|
|
5657
|
-
declare const RT_KIT_TRANSLATIONS: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
5658
|
-
|
|
5659
|
-
/**
|
|
5660
|
-
* Неймспейс, под которым лежат подписи кита. Он же — префикс ключа в разметке:
|
|
5661
|
-
* `'rtKit.uiClose' | transloco`.
|
|
5662
|
-
*/
|
|
5663
|
-
declare const RT_KIT_TRANSLATION_NAMESPACE: string;
|
|
5664
|
-
/**
|
|
5665
|
-
* Подключает словари кита к Transloco приложения.
|
|
5666
|
-
*
|
|
5667
|
-
* Кит рисует часть подписей сам — кнопки диалогов, тексты ошибок поля,
|
|
5668
|
-
* расшифровки иконок для скринридера, — и без этого провайдера на экране
|
|
5669
|
-
* остались бы ключи. Словари вшиты в пакет: сеть за ними не ходит и копировать
|
|
5670
|
-
* ассеты не нужно.
|
|
5671
|
-
*
|
|
5672
|
-
* ```typescript
|
|
5673
|
-
* export const appConfig: ApplicationConfig = {
|
|
5674
|
-
* providers: [provideTransloco({ config, loader }), provideRtKitTranslations()],
|
|
5675
|
-
* };
|
|
5676
|
-
* ```
|
|
5677
|
-
*
|
|
5678
|
-
* Ключи ложатся в общий словарь языка под собственным неймспейсом, а не
|
|
5679
|
-
* скоупом Transloco: скоуп, объявленный на корне, приписался бы и ко всем
|
|
5680
|
-
* ключам приложения. Загрузку своих словарей это не задевает — они прилетают
|
|
5681
|
-
* позже и домешиваются рядом.
|
|
5682
|
-
*
|
|
5683
|
-
* Раскладываются все восемь языков, но прочитаются только заявленные в
|
|
5684
|
-
* `availableLangs` приложения: язык вне этого списка Transloco считает не
|
|
5685
|
-
* языком, а именем скоупа, и ключ по нему не найдётся.
|
|
5686
|
-
*
|
|
5687
|
-
* @param translations Свои словари поверх вшитых: ключи ложатся сверху по
|
|
5688
|
-
* каждому языку отдельно. Так переопределяется одна подпись, а не весь набор,
|
|
5689
|
-
* и так же добавляется язык, которого в пакете нет.
|
|
5690
|
-
*/
|
|
5691
|
-
declare function provideRtKitTranslations(translations?: Readonly<Record<string, Readonly<Record<string, string>>>>): EnvironmentProviders;
|
|
5692
|
-
|
|
5693
|
-
export { BreakpointsService, CATEGORY_ORDER, ERtCalendarDayState, ERtChatMessageStatus, ERtStorageKeys, IButton, ICON_CATEGORY_RULES, INotification, IRtAsideHeader, IRtAutocomplete, IRtBarList, IRtCalendar, IRtChat, IRtConfirmPopover, IRtDatePicker, IRtField, IRtFileCard, IRtFileDrop, IRtFileInput, IRtFilterControl, IRtIcon, IRtIconButton, IRtInput, IRtLogo, IRtMenu, IRtMessageComposer, IRtNightGrid, IRtPageHeader, IRtPagination, IRtPhotoViewer, IRtPopover, IRtSectionNav, IRtSelect, IRtSpinner, IRtSplitButton, IRtStatTile, IRtStepper, IRtTable, IRtTabs, IRtTag, IRtThemeToggle, IRtThreadList, IRtTimeline, IRtToaster, IRtToggleButtonGroup, IRtToggleSwitch, IRtTooltip, IRtWelcomeDialog, IRtWorkspace, IRtWorkspaceDetails, ITheme, MessageBus, NotificationBus, RT_ASIDE_DATA, RT_COUNTER_DECREASE_KEY, RT_COUNTER_INCREASE_KEY, RT_DIALOG_DATA, RT_FIELD_DEFAULT_ERROR_KEYS, RT_FIELD_EMPTY_VALUE, RT_ICONS_BASE_URL, RT_KIT_TRANSLATIONS, RT_KIT_TRANSLATION_NAMESPACE, RT_MENU_SELECT_EVENT, RT_TABLE_ROW_ACTIONS_COLUMN, RT_TOASTER_GAP_PX, RtAsideComponent, RtAsideFooterComponent, RtAsideHeaderComponent, RtAsideRef, RtAsideSectionComponent, RtAsideService, RtAutocompleteComponent, RtBarListComponent, RtBottomSheetComponent, RtButtonDirective, RtCalendarComponent, RtCardComponent, RtChatComponent, RtChatStatusLabelPipe, RtCheckboxComponent, RtCollapsibleTextComponent, RtConfirmDirective, RtConfirmPopoverComponent, RtContainerComponent, RtContainerContentDirective, RtContainerContentPanelDirective, RtContainerHeaderDirective, RtContainerLeftSidenavDirective, RtContainerLeftSidenavPanelDirective, RtContainerRightSidenavDirective, RtContainerRightSidenavPanelDirective, RtContainerStateService, RtContainerToolbarCenterDirective, RtContainerToolbarLeftDirective, RtContainerToolbarRightDirective, RtCopyCellComponent, RtCounterComponent, RtCounterRowComponent, RtDatePickerComponent, RtDayStampPipe, RtDeltaViewComponent, RtDetailListComponent, RtDetailRowComponent, RtDialogComponent, RtDialogFooterComponent, RtDialogHeaderComponent, RtDialogRef, RtDialogService, RtDownloadLinkComponent, RtEmptyStateComponent, RtFieldComponent, RtFieldHintDirective, RtFileCardComponent, RtFileDropComponent, RtFileInputComponent, RtFileListComponent, RtFilterControlComponent, RtFormControlBase, RtHeaderComponent, RtIconButtonComponent, RtIconComponent, RtIconRegistry, RtInfiniteScrollDirective, RtInfoItemComponent, RtInputComponent, RtInputNumberComponent, RtLiveBadgeComponent, RtLogoComponent, RtMenuComponent, RtMenuItemComponent, RtMessageComponent, RtMessageComposerComponent, RtMoneyListComponent, RtMoneyRowComponent, RtMultiselectComponent, RtNightGridComponent, RtNoteComponent, RtNotificationsBellComponent, RtPageHeaderComponent, RtPaginationComponent, RtPhotoViewerComponent, RtPopoverDirective, RtRichEditorComponent, RtRouteAsideComponent, RtRowHasActionsPipe, RtSectionNavComponent, RtSelectComponent, RtSkeletonComponent, RtSkeletonWrapperComponent, RtSpinnerComponent, RtSplitButtonComponent, RtStatTileComponent, RtStepperComponent, RtTabDirective, RtTableCardDirective, RtTableComponent, RtTableRowActionsDirective, RtTableRowDirective, RtTableSettingsAsideComponent, RtTableSettingsPanelComponent, RtTableSettingsRegistry, RtTableSortHeaderComponent, RtTabsComponent, RtTabsControlDirective, RtTagComponent, RtTextareaComponent, RtThemeToggleComponent, RtThreadListComponent, RtThreadListFiltersDirective, RtThreadListRowDirective, RtThreadListSearchDirective, RtTimelineComponent, RtToastComponent, RtToasterComponent, RtToggleButtonGroupComponent, RtToggleSwitchComponent, RtToolbarCenterDirective, RtToolbarComponent, RtToolbarLeftDirective, RtToolbarRightDirective, RtTooltipComponent, RtTooltipDirective, RtTruncateMiddlePipe, RtWelcomeDialogComponent, RtWorkspaceAsideDirective, RtWorkspaceCenterDirective, RtWorkspaceComponent, RtWorkspaceDesktopOnlyDirective, RtWorkspaceDetailsComponent, RtWorkspaceListDirective, SEARCH_DEBOUNCE_MS, ThemeService, ariaSortOf, categoryOf, coerceQuillDeltaOutput, deliveryStatus, deriveFileTitle, fileNameFromUrl, formatFileSize, getFileTypeIcon, iconsName, indexFromParam, indexFromScroll, isColumnSortable, nextPhotoIndex, nextSort, normalizeQuillDelta, paramFromIndex, pendingToRtMessage, provideRtIcons, provideRtKitTranslations, rowHasAvailableActions, rtAsideUnsavedGuard, searchDebounce, shouldRenderPhoto, sortDirectionOf, toRtMessage };
|
|
5694
|
-
export type { IIconCategory, IMessageBusEvent, IQuillDelta, IQuillDeltaAttributes, IQuillDeltaOp, IRtAsideConfig, IRtAsideContentLayout, IRtAsideDeactivate, IRtAsidePosition, IRtAsideSize, IRtDialogConfig, IRtDialogSize, IRtMappableMessage, IRtPendingMessage, IRtPicture, IRtPictureSource, IRtRichEditorToolbar, IRtSkeletonRadius, IRtSkeletonShape, IRtSkeletonSize, IRtTableAriaSort, IRtTableCardContext, IRtTableRowActionsContext, IRtTableSettingsRegistration, IRtTextareaResize, IToRtMessageOptions };
|
|
5950
|
+
export { BreakpointsService, CATEGORY_ORDER, ERtCalendarDayState, ERtChatMessageStatus, ERtStorageKeys, IButton, ICON_CATEGORY_RULES, INotification, IRtAsideHeader, IRtAutocomplete, IRtBarList, IRtCalendar, IRtChat, IRtConfirmPopover, IRtDatePicker, IRtField, IRtFileCard, IRtFileDrop, IRtFileInput, IRtFilterControl, IRtIcon, IRtIconButton, IRtInput, IRtLogo, IRtMenu, IRtMessageComposer, IRtNightGrid, IRtPageHeader, IRtPagination, IRtPhotoViewer, IRtPopover, IRtSectionNav, IRtSelect, IRtSpinner, IRtSplitButton, IRtStatTile, IRtStepper, IRtTable, IRtTabs, IRtTag, IRtThemeToggle, IRtThreadList, IRtTimeline, IRtToaster, IRtToggleButtonGroup, IRtToggleSwitch, IRtTooltip, IRtWelcomeDialog, IRtWorkspace, IRtWorkspaceDetails, ITheme, MessageBus, NotificationBus, RT_ASIDE_DATA, RT_COUNTER_DECREASE_KEY, RT_COUNTER_INCREASE_KEY, RT_DIALOG_DATA, RT_FIELD_DEFAULT_ERROR_KEYS, RT_FIELD_EMPTY_VALUE, RT_ICONS_BASE_URL, RT_KIT_LABELS, RT_KIT_LABELS_EN, RT_KIT_LOCALE, RT_KIT_TRANSLATOR, RT_MENU_SELECT_EVENT, RT_TABLE_ROW_ACTIONS_COLUMN, RT_TOASTER_GAP_PX, RtAsideComponent, RtAsideFooterComponent, RtAsideHeaderComponent, RtAsideRef, RtAsideSectionComponent, RtAsideService, RtAutocompleteComponent, RtBarListComponent, RtBottomSheetComponent, RtButtonDirective, RtCalendarComponent, RtCardComponent, RtChatComponent, RtChatStatusLabelPipe, RtCheckboxComponent, RtCollapsibleTextComponent, RtConfirmDirective, RtConfirmPopoverComponent, RtContainerComponent, RtContainerContentDirective, RtContainerContentPanelDirective, RtContainerHeaderDirective, RtContainerLeftSidenavDirective, RtContainerLeftSidenavPanelDirective, RtContainerRightSidenavDirective, RtContainerRightSidenavPanelDirective, RtContainerStateService, RtContainerToolbarCenterDirective, RtContainerToolbarLeftDirective, RtContainerToolbarRightDirective, RtCopyCellComponent, RtCounterComponent, RtCounterRowComponent, RtDatePickerComponent, RtDayStampPipe, RtDeltaViewComponent, RtDetailListComponent, RtDetailRowComponent, RtDialogComponent, RtDialogFooterComponent, RtDialogHeaderComponent, RtDialogRef, RtDialogService, RtDownloadLinkComponent, RtEmptyStateComponent, RtFieldComponent, RtFieldHintDirective, RtFileCardComponent, RtFileDropComponent, RtFileInputComponent, RtFileListComponent, RtFilterControlComponent, RtFormControlBase, RtHeaderComponent, RtIconButtonComponent, RtIconComponent, RtIconRegistry, RtInfiniteScrollDirective, RtInfoItemComponent, RtInputComponent, RtInputNumberComponent, RtLiveBadgeComponent, RtLogoComponent, RtMenuComponent, RtMenuItemComponent, RtMessageComponent, RtMessageComposerComponent, RtMoneyListComponent, RtMoneyRowComponent, RtMultiselectComponent, RtNightGridComponent, RtNoteComponent, RtNotificationsBellComponent, RtPageHeaderComponent, RtPaginationComponent, RtPhotoViewerComponent, RtPopoverDirective, RtRichEditorComponent, RtRouteAsideComponent, RtRowHasActionsPipe, RtSectionNavComponent, RtSelectComponent, RtSkeletonComponent, RtSkeletonWrapperComponent, RtSpinnerComponent, RtSplitButtonComponent, RtStatTileComponent, RtStepperComponent, RtTabDirective, RtTableCardDirective, RtTableComponent, RtTableRowActionsDirective, RtTableRowDirective, RtTableSettingsAsideComponent, RtTableSettingsPanelComponent, RtTableSettingsRegistry, RtTableSortHeaderComponent, RtTabsComponent, RtTabsControlDirective, RtTagComponent, RtTextareaComponent, RtThemeToggleComponent, RtThreadListComponent, RtThreadListFiltersDirective, RtThreadListRowDirective, RtThreadListSearchDirective, RtTimelineComponent, RtToastComponent, RtToasterComponent, RtToggleButtonGroupComponent, RtToggleSwitchComponent, RtToolbarCenterDirective, RtToolbarComponent, RtToolbarLeftDirective, RtToolbarRightDirective, RtTooltipComponent, RtTooltipDirective, RtTruncateMiddlePipe, RtWelcomeDialogComponent, RtWorkspaceAsideDirective, RtWorkspaceCenterDirective, RtWorkspaceComponent, RtWorkspaceDesktopOnlyDirective, RtWorkspaceDetailsComponent, RtWorkspaceListDirective, SEARCH_DEBOUNCE_MS, ThemeService, ariaSortOf, categoryOf, coerceQuillDeltaOutput, deliveryStatus, deriveFileTitle, fileNameFromUrl, formatFileSize, getFileTypeIcon, iconsName, indexFromParam, indexFromScroll, isColumnSortable, nextPhotoIndex, nextSort, normalizeQuillDelta, paramFromIndex, pendingToRtMessage, provideRtIcons, provideRtKitLabels, rowHasAvailableActions, rtAsideUnsavedGuard, rtKitLabel, searchDebounce, shouldRenderPhoto, sortDirectionOf, toRtMessage };
|
|
5951
|
+
export type { IIconCategory, IMessageBusEvent, IQuillDelta, IQuillDeltaAttributes, IQuillDeltaOp, IRtAsideConfig, IRtAsideContentLayout, IRtAsideDeactivate, IRtAsidePosition, IRtAsideSize, IRtDialogConfig, IRtDialogSize, IRtMappableMessage, IRtPendingMessage, IRtPicture, IRtPictureSource, IRtRichEditorToolbar, IRtSkeletonRadius, IRtSkeletonShape, IRtSkeletonSize, IRtTableAriaSort, IRtTableCardContext, IRtTableRowActionsContext, IRtTableSettingsRegistration, IRtTextareaResize, IToRtMessageOptions, RtKitLabelKey, RtKitLabelMap, RtKitLabelParams, RtKitTranslator };
|
|
Binary file
|