@forgeroute/ui 0.4.82 → 0.4.84

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.
@@ -1522,6 +1522,18 @@ const UI_DEFAULT_LABELS = {
1522
1522
  "messagingSendMessagePanel.enterValue": "Enter {{ name }}...",
1523
1523
  "messagingTemplatePicker.custom": "Custom",
1524
1524
  "messagingTemplatePicker.system": "System",
1525
+ "notes.queued.waiting": "Waiting to send",
1526
+ "notes.queued.sending": "Sending…",
1527
+ "notes.queued.deleteWaiting": "Waiting to delete",
1528
+ "notes.queued.deleteSending": "Deleting…",
1529
+ "notes.queued.failed": "Not sent. This change needs your attention.",
1530
+ "notes.queued.conflict": "Not sent. Someone else changed this note.",
1531
+ "notes.queued.addedAnnounce": "Note saved on this device. Waiting to send.",
1532
+ "notes.queued.editedAnnounce": "Note change saved on this device. Waiting to send.",
1533
+ "notes.queued.deletedAnnounce": "Note deletion saved on this device. Waiting to send.",
1534
+ "notes.queued.problemAnnounce": "A note change could not be sent.",
1535
+ "notes.queued.offlineSome": "You're offline, so only the notes saved on this device are shown here.",
1536
+ "notes.queued.offlineNone": "You're offline, so the notes can't be loaded right now. A note you add is saved on this device and sent when you're back online.",
1525
1537
  "notes.you": "You",
1526
1538
  "passwordRequirements.met": "met",
1527
1539
  "passwordRequirements.notMet": "not met",
@@ -12337,6 +12349,23 @@ i0.ɵɵngDeclareClassMetadata({
12337
12349
  }]
12338
12350
  }]
12339
12351
  });
12352
+ function csvSafeText(cell) {
12353
+ if (cell === null || cell === void 0) return "";
12354
+ if (typeof cell === "number") return String(cell);
12355
+ return /^(?:[\t\r]|\s*[=+\-@])/.test(cell) && !/^\s*[+-]?[$€£]?\d[\d.,]*%?$/.test(cell) ? `'${cell}` : cell;
12356
+ }
12357
+ function csvCell(cell) {
12358
+ const text = csvSafeText(cell);
12359
+ return /[",\r\n]/.test(text) ? `"${text.replace(/"/g, "\"\"")}"` : text;
12360
+ }
12361
+ function toCsv(headers, rows) {
12362
+ return [headers, ...rows].map((row) => row.map(csvCell).join(",")).join("\n");
12363
+ }
12364
+ function downloadCsv(fileName, headers, rows, options = {}) {
12365
+ const name = /\.csv$/i.test(fileName) ? fileName : `${fileName}.csv`;
12366
+ const text = (options.bom ? "" : "") + toCsv(headers, rows);
12367
+ downloadBlob(new Blob([text], { type: "text/csv;charset=utf-8;" }), name);
12368
+ }
12340
12369
  function detectCsvDelimiter(text) {
12341
12370
  const counts = {
12342
12371
  ",": 0,
@@ -12390,13 +12419,11 @@ function parseCsv(text) {
12390
12419
  if (cell !== "" || row.length) endRow();
12391
12420
  return rows;
12392
12421
  }
12393
- function csvCell(cell) {
12394
- if (typeof cell === "number") return String(cell);
12395
- const v = String(cell);
12396
- return /^(?:[\t\r]|\s*[=+\-@])/.test(v) && !/^\s*[+-]?[$€£]?\d[\d.,]*%?$/.test(v) ? `'${v}` : v;
12422
+ function csvCell$1(cell) {
12423
+ return csvSafeText(cell);
12397
12424
  }
12398
12425
  function exportToCsv(filenamePrefix, headers, rows) {
12399
- const csvContent = [headers, ...rows].map((row) => row.map((cell) => `"${csvCell(cell).replace(/"/g, "\"\"")}"`).join(",")).join("\n");
12426
+ const csvContent = [headers, ...rows].map((row) => row.map((cell) => `"${csvCell$1(cell).replace(/"/g, "\"\"")}"`).join(",")).join("\n");
12400
12427
  const blob = new Blob([csvContent], { type: "text/csv;charset=utf-8;" });
12401
12428
  const url = URL.createObjectURL(blob);
12402
12429
  const link = document.createElement("a");
@@ -34472,7 +34499,127 @@ function getErrorMessage(error, fallbackContext, action) {
34472
34499
  if (typeof error === "string") return error;
34473
34500
  return `${failed} ${uiText("errors.tryAgain")}`;
34474
34501
  }
34502
+ var LiveRegionComponent = class LiveRegionComponent {
34503
+ constructor() {
34504
+ this.message = input("", ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
34505
+ this.politeness = input("polite", ...ngDevMode ? [{ debugName: "politeness" }] : /* istanbul ignore next */ []);
34506
+ this.atomic = input(true, ...ngDevMode ? [{ debugName: "atomic" }] : /* istanbul ignore next */ []);
34507
+ this.visible = input(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
34508
+ this.role = computed(() => this.politeness() === "assertive" ? "alert" : "status", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
34509
+ }
34510
+ static {
34511
+ this.ɵfac = i0.ɵɵngDeclareFactory({
34512
+ minVersion: "12.0.0",
34513
+ version: "22.2.2",
34514
+ ngImport: i0,
34515
+ type: LiveRegionComponent,
34516
+ deps: [],
34517
+ target: i0.ɵɵFactoryTarget.Component
34518
+ });
34519
+ }
34520
+ static {
34521
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
34522
+ minVersion: "17.1.0",
34523
+ version: "22.2.2",
34524
+ type: LiveRegionComponent,
34525
+ isStandalone: true,
34526
+ selector: "ui-live-region",
34527
+ inputs: {
34528
+ message: {
34529
+ classPropertyName: "message",
34530
+ publicName: "message",
34531
+ isSignal: true,
34532
+ isRequired: false,
34533
+ transformFunction: null
34534
+ },
34535
+ politeness: {
34536
+ classPropertyName: "politeness",
34537
+ publicName: "politeness",
34538
+ isSignal: true,
34539
+ isRequired: false,
34540
+ transformFunction: null
34541
+ },
34542
+ atomic: {
34543
+ classPropertyName: "atomic",
34544
+ publicName: "atomic",
34545
+ isSignal: true,
34546
+ isRequired: false,
34547
+ transformFunction: null
34548
+ },
34549
+ visible: {
34550
+ classPropertyName: "visible",
34551
+ publicName: "visible",
34552
+ isSignal: true,
34553
+ isRequired: false,
34554
+ transformFunction: null
34555
+ }
34556
+ },
34557
+ ngImport: i0,
34558
+ template: `<div class="lr" [class.lr-hidden]="!visible()" [attr.role]="role()" [attr.aria-live]="politeness()" [attr.aria-atomic]="atomic() ? 'true' : 'false'">{{ message() }}</div>`,
34559
+ isInline: true,
34560
+ styles: [":host{display:block}.lr-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}\n"],
34561
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
34562
+ });
34563
+ }
34564
+ };
34565
+ i0.ɵɵngDeclareClassMetadata({
34566
+ minVersion: "12.0.0",
34567
+ version: "22.2.2",
34568
+ ngImport: i0,
34569
+ type: LiveRegionComponent,
34570
+ decorators: [{
34571
+ type: Component,
34572
+ args: [{
34573
+ selector: "ui-live-region",
34574
+ standalone: true,
34575
+ changeDetection: ChangeDetectionStrategy.OnPush,
34576
+ template: `<div class="lr" [class.lr-hidden]="!visible()" [attr.role]="role()" [attr.aria-live]="politeness()" [attr.aria-atomic]="atomic() ? 'true' : 'false'">{{ message() }}</div>`,
34577
+ styles: [":host{display:block}.lr-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}\n"]
34578
+ }]
34579
+ }],
34580
+ propDecorators: {
34581
+ message: [{
34582
+ type: i0.Input,
34583
+ args: [{
34584
+ isSignal: true,
34585
+ alias: "message",
34586
+ required: false
34587
+ }]
34588
+ }],
34589
+ politeness: [{
34590
+ type: i0.Input,
34591
+ args: [{
34592
+ isSignal: true,
34593
+ alias: "politeness",
34594
+ required: false
34595
+ }]
34596
+ }],
34597
+ atomic: [{
34598
+ type: i0.Input,
34599
+ args: [{
34600
+ isSignal: true,
34601
+ alias: "atomic",
34602
+ required: false
34603
+ }]
34604
+ }],
34605
+ visible: [{
34606
+ type: i0.Input,
34607
+ args: [{
34608
+ isSignal: true,
34609
+ alias: "visible",
34610
+ required: false
34611
+ }]
34612
+ }]
34613
+ }
34614
+ });
34615
+ const UI_NOTES_QUEUE = new InjectionToken("UI_NOTES_QUEUE");
34475
34616
  const NOTES_MAX_LENGTH = 1e4;
34617
+ const STATE_RANK = {
34618
+ waiting: 1,
34619
+ sending: 2,
34620
+ failed: 3,
34621
+ conflict: 4
34622
+ };
34476
34623
  const NOTES_PAGE_SIZE = 5;
34477
34624
  var NotesComponent = class NotesComponent {
34478
34625
  initials(name) {
@@ -34490,7 +34637,11 @@ var NotesComponent = class NotesComponent {
34490
34637
  return this.basePath() ? `${this.apiBase}${this.basePath()}` : `${this.apiBase}/notes/${this.resourceType()}/${this.resourceId()}`;
34491
34638
  }
34492
34639
  noteUrl(id) {
34493
- return this.basePath() ? `${this.apiBase}${this.basePath()}/${id}` : `${this.apiBase}/notes/${id}`;
34640
+ const e = encodeURIComponent(id);
34641
+ return this.basePath() ? `${this.apiBase}${this.basePath()}/${e}` : `${this.apiBase}/notes/${e}`;
34642
+ }
34643
+ get itemPrefix() {
34644
+ return this.basePath() ? `${this.apiBase}${this.basePath()}/` : `${this.apiBase}/notes/`;
34494
34645
  }
34495
34646
  get ready() {
34496
34647
  return !!this.basePath() || !!this.resourceType() && !!this.resourceId();
@@ -34526,28 +34677,149 @@ var NotesComponent = class NotesComponent {
34526
34677
  this.totalElements = signal(0, ...ngDevMode ? [{ debugName: "totalElements" }] : /* istanbul ignore next */ []);
34527
34678
  this.editingId = signal(null, ...ngDevMode ? [{ debugName: "editingId" }] : /* istanbul ignore next */ []);
34528
34679
  this.deletingId = signal(null, ...ngDevMode ? [{ debugName: "deletingId" }] : /* istanbul ignore next */ []);
34680
+ this.queue = inject(UI_NOTES_QUEUE, { optional: true });
34681
+ this.announcement = signal("", ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
34682
+ this.settling = signal([], ...ngDevMode ? [{ debugName: "settling" }] : /* istanbul ignore next */ []);
34683
+ this.afters = [];
34684
+ this.loadSeq = 0;
34685
+ this.offlineLoadFailed = signal(false, ...ngDevMode ? [{ debugName: "offlineLoadFailed" }] : /* istanbul ignore next */ []);
34686
+ this.shown = computed(() => {
34687
+ const server = this.notes();
34688
+ const queue = this.queue;
34689
+ if (!queue || !this.ready) return server;
34690
+ const list = this.listUrl;
34691
+ const settling = this.settling().filter((q) => q.list === list).map((q) => ({
34692
+ ...q,
34693
+ state: "sending"
34694
+ }));
34695
+ const queued = [...queue.queuedFor(this.listUrl, this.itemPrefix), ...settling];
34696
+ if (queued.length === 0) return server;
34697
+ const added = queued.filter((q) => q.kind === "add" && this.page() === 0).sort((a, b) => b.createdAt - a.createdAt).map((q) => ({
34698
+ id: `queued-${q.rowId}`,
34699
+ body: q.text,
34700
+ createdByName: "",
34701
+ createdAt: new Date(q.createdAt).toISOString(),
34702
+ updatedAt: new Date(q.createdAt).toISOString(),
34703
+ queued: {
34704
+ kind: "add",
34705
+ state: q.state
34706
+ }
34707
+ }));
34708
+ const byNote = /* @__PURE__ */ new Map();
34709
+ for (const q of queued) if (q.kind !== "add") byNote.set(q.noteId, [...byNote.get(q.noteId) ?? [], q]);
34710
+ const existing = server.map((n) => {
34711
+ const changes = byNote.get(n.id);
34712
+ if (!changes) return n;
34713
+ const del = changes.some((c) => c.kind === "delete");
34714
+ const lastEdit = [...changes].reverse().find((c) => c.kind === "edit");
34715
+ const state = changes.reduce((worst, c) => STATE_RANK[c.state] > STATE_RANK[worst] ? c.state : worst, changes[0].state);
34716
+ return {
34717
+ ...n,
34718
+ body: del || !lastEdit ? n.body : lastEdit.text,
34719
+ queued: {
34720
+ kind: del ? "delete" : "edit",
34721
+ state
34722
+ }
34723
+ };
34724
+ });
34725
+ return [...added, ...existing];
34726
+ }, ...ngDevMode ? [{ debugName: "shown" }] : /* istanbul ignore next */ []);
34529
34727
  this.newBody = "";
34530
34728
  this.editBody = "";
34729
+ const queue = this.queue;
34730
+ if (queue) {
34731
+ let known = /* @__PURE__ */ new Map();
34732
+ let knownList = "";
34733
+ effect(() => {
34734
+ if (!this.ready) return;
34735
+ const list = this.listUrl;
34736
+ const now = new Map(queue.queuedFor(list, this.itemPrefix).map((q) => [q.rowId, q]));
34737
+ const before = known;
34738
+ const sameList = list === knownList;
34739
+ known = now;
34740
+ knownList = list;
34741
+ if (!sameList) {
34742
+ untracked(() => {
34743
+ this.settling.set([]);
34744
+ this.afters = [];
34745
+ });
34746
+ return;
34747
+ }
34748
+ const gone = [...before.values()].filter((q) => !now.has(q.rowId) && !queue.wasDiscarded(q.rowId));
34749
+ if (gone.length === 0) return;
34750
+ untracked(() => {
34751
+ this.settling.update((s) => [...s, ...gone.map((g) => ({
34752
+ ...g,
34753
+ list
34754
+ }))]);
34755
+ const ids = new Set(gone.map((g) => g.rowId));
34756
+ this.loadPage(this.page(), () => this.settling.update((s) => s.filter((q) => !ids.has(q.rowId))));
34757
+ });
34758
+ });
34759
+ const flagged = /* @__PURE__ */ new Set();
34760
+ effect(() => {
34761
+ const bad = this.ready ? queue.queuedFor(this.listUrl, this.itemPrefix).filter((q) => q.state === "failed" || q.state === "conflict") : [];
34762
+ const keys = new Set(bad.map((q) => `${q.rowId}:${q.state}`));
34763
+ for (const k of [...flagged]) if (!keys.has(k)) flagged.delete(k);
34764
+ const fresh = [...keys].filter((k) => !flagged.has(k));
34765
+ for (const k of keys) flagged.add(k);
34766
+ if (fresh.length > 0) untracked(() => this.announce(this.labels.t("notes.queued.problemAnnounce")));
34767
+ });
34768
+ }
34531
34769
  effect(() => {
34532
34770
  const id = this.resourceId();
34533
34771
  const type = this.resourceType();
34534
34772
  if (this.basePath() || id && type) untracked(() => this.loadPage(0));
34773
+ else untracked(() => {
34774
+ this.loadSeq++;
34775
+ this.settling.set([]);
34776
+ this.afters = [];
34777
+ this.loading.set(false);
34778
+ });
34535
34779
  });
34536
34780
  }
34537
- loadPage(p) {
34781
+ queuedText(q) {
34782
+ if (q.state === "failed") return this.labels.t("notes.queued.failed");
34783
+ if (q.state === "conflict") return this.labels.t("notes.queued.conflict");
34784
+ if (q.kind === "delete") return this.labels.t(q.state === "sending" ? "notes.queued.deleteSending" : "notes.queued.deleteWaiting");
34785
+ return this.labels.t(q.state === "sending" ? "notes.queued.sending" : "notes.queued.waiting");
34786
+ }
34787
+ announce(message) {
34788
+ this.announcement.set("");
34789
+ queueMicrotask(() => this.announcement.set(message));
34790
+ }
34791
+ savedOffline(res) {
34792
+ return !!this.queue && !!res && typeof res === "object" && res._offline === true;
34793
+ }
34794
+ loadPage(p, after) {
34538
34795
  if (!this.ready) return;
34796
+ const seq = ++this.loadSeq;
34797
+ if (after) this.afters.push(after);
34539
34798
  this.loading.set(true);
34799
+ const finish = () => {
34800
+ const run = this.afters;
34801
+ this.afters = [];
34802
+ run.forEach((fn) => fn());
34803
+ };
34540
34804
  this.http.get(`${this.listUrl}?page=${p}&size=${this.pageSize}`).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34541
34805
  next: (res) => {
34806
+ if (seq !== this.loadSeq) return;
34542
34807
  this.notes.set(res.content.map((n) => this.normalize(n)));
34543
34808
  this.page.set(res.page ?? res.number ?? p);
34544
34809
  this.totalElements.set(res.totalElements);
34545
34810
  this.loading.set(false);
34811
+ this.offlineLoadFailed.set(false);
34546
34812
  this.totalChange.emit(res.totalElements);
34813
+ finish();
34547
34814
  },
34548
34815
  error: (err) => {
34816
+ if (seq !== this.loadSeq) return;
34549
34817
  this.loading.set(false);
34550
- this.toast.error(getErrorMessage(err, "notes"));
34818
+ const offline = !!this.queue?.offline();
34819
+ this.offlineLoadFailed.set(offline);
34820
+ const afterDelivery = this.afters.length > 0 && [401, 403].includes(err?.status ?? 0);
34821
+ if (!offline && !afterDelivery) this.toast.error(getErrorMessage(err, "notes"));
34822
+ finish();
34551
34823
  }
34552
34824
  });
34553
34825
  }
@@ -34555,9 +34827,13 @@ var NotesComponent = class NotesComponent {
34555
34827
  if (this.readOnly() || !this.validBody(this.newBody) || this.saving()) return;
34556
34828
  this.saving.set(true);
34557
34829
  this.http.post(this.listUrl, this.payload(this.newBody)).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34558
- next: () => {
34830
+ next: (res) => {
34559
34831
  this.newBody = "";
34560
34832
  this.saving.set(false);
34833
+ if (this.savedOffline(res)) {
34834
+ this.announce(this.labels.t("notes.queued.addedAnnounce"));
34835
+ return;
34836
+ }
34561
34837
  this.loadPage(0);
34562
34838
  },
34563
34839
  error: (err) => {
@@ -34580,6 +34856,12 @@ var NotesComponent = class NotesComponent {
34580
34856
  this.saving.set(true);
34581
34857
  this.http.put(this.noteUrl(noteId), this.payload(this.editBody)).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34582
34858
  next: (updated) => {
34859
+ if (this.savedOffline(updated)) {
34860
+ this.editingId.set(null);
34861
+ this.saving.set(false);
34862
+ this.announce(this.labels.t("notes.queued.editedAnnounce"));
34863
+ return;
34864
+ }
34583
34865
  this.notes.update((arr) => arr.map((n) => n.id === noteId ? this.normalize(updated) : n));
34584
34866
  this.editingId.set(null);
34585
34867
  this.saving.set(false);
@@ -34599,9 +34881,13 @@ var NotesComponent = class NotesComponent {
34599
34881
  if (this.readOnly() || !id || this.saving()) return;
34600
34882
  this.saving.set(true);
34601
34883
  this.http.delete(this.noteUrl(id)).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34602
- next: () => {
34884
+ next: (res) => {
34603
34885
  this.deletingId.set(null);
34604
34886
  this.saving.set(false);
34887
+ if (this.savedOffline(res)) {
34888
+ this.announce(this.labels.t("notes.queued.deletedAnnounce"));
34889
+ return;
34890
+ }
34605
34891
  this.loadPage(this.notes().length === 1 && this.page() > 0 ? this.page() - 1 : this.page());
34606
34892
  },
34607
34893
  error: (err) => {
@@ -34685,13 +34971,23 @@ var NotesComponent = class NotesComponent {
34685
34971
  </div>
34686
34972
  }
34687
34973
 
34688
- @if (loading() && notes().length === 0) {
34974
+ @if (queue) {
34975
+ <ui-live-region [message]="announcement()" />
34976
+ }
34977
+
34978
+ @if (offlineLoadFailed() && shown().length > 0) {
34979
+ <p class="note-offline-hint" data-testid="note-offline-hint">{{ labels.t('notes.queued.offlineSome') }}</p>
34980
+ }
34981
+
34982
+ @if (loading() && shown().length === 0) {
34689
34983
  <div class="note-loading" role="status">{{ labels.t('notes.loadingNotes') }}</div>
34690
- } @else if (notes().length === 0) {
34984
+ } @else if (shown().length === 0 && offlineLoadFailed()) {
34985
+ <p class="note-offline-hint" data-testid="note-offline-hint">{{ labels.t('notes.queued.offlineNone') }}</p>
34986
+ } @else if (shown().length === 0) {
34691
34987
  <ui-empty-state iconType="person" [title]="labels.t('notes.noNotesYet')" [message]="readOnly() ? labels.t('notes.noNotesAdded') : labels.t('notes.addFirstNote')" />
34692
34988
  } @else {
34693
34989
  <ul class="note-list" [attr.aria-label]="labels.t('notes.notes')">
34694
- @for (note of notes(); track note.id) {
34990
+ @for (note of shown(); track note.id) {
34695
34991
  <li class="note-item" [class.editing]="editingId() === note.id">
34696
34992
  <ui-avatar class="note-avatar" [initials]="initials(note.createdByName)" [name]="note.createdByName || labels.t('notes.you')" [size]="32" />
34697
34993
  <div class="note-main">
@@ -34702,7 +34998,10 @@ var NotesComponent = class NotesComponent {
34702
34998
  @if (note.updatedAt !== note.createdAt) {
34703
34999
  <span class="note-edited">{{ labels.t('notes.edited') }}</span>
34704
35000
  }
34705
- @if (!readOnly() && editingId() !== note.id) {
35001
+ @if (note.queued; as q) {
35002
+ <span class="note-queued" [class.note-queued-bad]="q.state === 'failed' || q.state === 'conflict'" data-testid="note-queued">{{ queuedText(q) }}</span>
35003
+ }
35004
+ @if (!readOnly() && editingId() !== note.id && !note.queued) {
34706
35005
  <div class="note-actions">
34707
35006
  @if (editable()) {
34708
35007
  <ui-icon name="edit" [size]="14" [tooltip]="labels.t('notes.editNote')" (iconClick)="startEdit(note)" />
@@ -34734,7 +35033,7 @@ var NotesComponent = class NotesComponent {
34734
35033
  </ui-modal>
34735
35034
  `,
34736
35035
  isInline: true,
34737
- styles: [":host{display:block}.note-add{padding:14px;margin-bottom:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.note-add-footer{display:flex;justify-content:flex-end;margin-top:10px}.note-loading{padding:24px 0;font-size:.875rem;color:#64748b;text-align:center}.note-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.note-item{display:flex;gap:12px;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;transition:border-color .15s,box-shadow .15s}@media(hover:hover){.note-item:hover{border-color:#cbd5e1;box-shadow:0 1px 3px #0f172a0f}}.note-item.editing{background:#f8fafc;border-color:#bfdbfe}@media(prefers-reduced-motion:reduce){.note-item{transition:none}}.note-avatar{flex-shrink:0}.note-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.note-head{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;min-height:28px}.note-author{font-size:.875rem;font-weight:600;color:#0f172a}.note-dot{color:#94a3b8;font-size:.75rem}.note-date{font-size:.75rem;color:#64748b}.note-edited{font-size:.75rem;font-style:italic;color:#64748b}.note-actions{display:flex;align-items:center;gap:2px;margin-left:auto}.note-body{margin:0;font-size:.9375rem;line-height:1.6;color:#1e293b;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.note-item-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.note-delete-msg{margin:0;font-size:.9375rem;line-height:1.5;color:#334155}@media(max-width:480px){.note-item{padding:12px;gap:10px}.note-add{padding:12px}}\n"],
35036
+ styles: [":host{display:block}.note-add{padding:14px;margin-bottom:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.note-add-footer{display:flex;justify-content:flex-end;margin-top:10px}.note-offline-hint{margin:0 0 12px;font-size:.875rem;color:#475569}.note-loading{padding:24px 0;font-size:.875rem;color:#64748b;text-align:center}.note-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.note-item{display:flex;gap:12px;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;transition:border-color .15s,box-shadow .15s}@media(hover:hover){.note-item:hover{border-color:#cbd5e1;box-shadow:0 1px 3px #0f172a0f}}.note-item.editing{background:#f8fafc;border-color:#bfdbfe}@media(prefers-reduced-motion:reduce){.note-item{transition:none}}.note-avatar{flex-shrink:0}.note-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.note-head{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;min-height:28px}.note-author{font-size:.875rem;font-weight:600;color:#0f172a}.note-dot{color:#94a3b8;font-size:.75rem}.note-date{font-size:.75rem;color:#64748b}.note-edited{font-size:.75rem;font-style:italic;color:#64748b}.note-queued{font-size:.75rem;font-weight:500;color:#475569;background:#f1f5f9;border:1px dashed #94a3b8;border-radius:999px;padding:1px 8px}.note-queued-bad{color:#991b1b;background:#fef2f2;border:1px solid #b91c1c;font-weight:700}.note-actions{display:flex;align-items:center;gap:2px;margin-left:auto}.note-body{margin:0;font-size:.9375rem;line-height:1.6;color:#1e293b;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.note-item-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.note-delete-msg{margin:0;font-size:.9375rem;line-height:1.5;color:#334155}@media(max-width:480px){.note-item{padding:12px;gap:10px}.note-add{padding:12px}}\n"],
34738
35037
  dependencies: [
34739
35038
  {
34740
35039
  kind: "ngmodule",
@@ -34896,6 +35195,17 @@ var NotesComponent = class NotesComponent {
34896
35195
  "busy"
34897
35196
  ],
34898
35197
  outputs: ["editClick", "imageError"]
35198
+ },
35199
+ {
35200
+ kind: "component",
35201
+ type: LiveRegionComponent,
35202
+ selector: "ui-live-region",
35203
+ inputs: [
35204
+ "message",
35205
+ "politeness",
35206
+ "atomic",
35207
+ "visible"
35208
+ ]
34899
35209
  }
34900
35210
  ],
34901
35211
  changeDetection: i0.ChangeDetectionStrategy.OnPush
@@ -34921,7 +35231,8 @@ i0.ɵɵngDeclareClassMetadata({
34921
35231
  PaginationComponent,
34922
35232
  TextareaInputComponent,
34923
35233
  IconComponent,
34924
- AvatarComponent
35234
+ AvatarComponent,
35235
+ LiveRegionComponent
34925
35236
  ],
34926
35237
  template: `
34927
35238
  @if (!readOnly()) {
@@ -34934,13 +35245,23 @@ i0.ɵɵngDeclareClassMetadata({
34934
35245
  </div>
34935
35246
  }
34936
35247
 
34937
- @if (loading() && notes().length === 0) {
35248
+ @if (queue) {
35249
+ <ui-live-region [message]="announcement()" />
35250
+ }
35251
+
35252
+ @if (offlineLoadFailed() && shown().length > 0) {
35253
+ <p class="note-offline-hint" data-testid="note-offline-hint">{{ labels.t('notes.queued.offlineSome') }}</p>
35254
+ }
35255
+
35256
+ @if (loading() && shown().length === 0) {
34938
35257
  <div class="note-loading" role="status">{{ labels.t('notes.loadingNotes') }}</div>
34939
- } @else if (notes().length === 0) {
35258
+ } @else if (shown().length === 0 && offlineLoadFailed()) {
35259
+ <p class="note-offline-hint" data-testid="note-offline-hint">{{ labels.t('notes.queued.offlineNone') }}</p>
35260
+ } @else if (shown().length === 0) {
34940
35261
  <ui-empty-state iconType="person" [title]="labels.t('notes.noNotesYet')" [message]="readOnly() ? labels.t('notes.noNotesAdded') : labels.t('notes.addFirstNote')" />
34941
35262
  } @else {
34942
35263
  <ul class="note-list" [attr.aria-label]="labels.t('notes.notes')">
34943
- @for (note of notes(); track note.id) {
35264
+ @for (note of shown(); track note.id) {
34944
35265
  <li class="note-item" [class.editing]="editingId() === note.id">
34945
35266
  <ui-avatar class="note-avatar" [initials]="initials(note.createdByName)" [name]="note.createdByName || labels.t('notes.you')" [size]="32" />
34946
35267
  <div class="note-main">
@@ -34951,7 +35272,10 @@ i0.ɵɵngDeclareClassMetadata({
34951
35272
  @if (note.updatedAt !== note.createdAt) {
34952
35273
  <span class="note-edited">{{ labels.t('notes.edited') }}</span>
34953
35274
  }
34954
- @if (!readOnly() && editingId() !== note.id) {
35275
+ @if (note.queued; as q) {
35276
+ <span class="note-queued" [class.note-queued-bad]="q.state === 'failed' || q.state === 'conflict'" data-testid="note-queued">{{ queuedText(q) }}</span>
35277
+ }
35278
+ @if (!readOnly() && editingId() !== note.id && !note.queued) {
34955
35279
  <div class="note-actions">
34956
35280
  @if (editable()) {
34957
35281
  <ui-icon name="edit" [size]="14" [tooltip]="labels.t('notes.editNote')" (iconClick)="startEdit(note)" />
@@ -34982,7 +35306,7 @@ i0.ɵɵngDeclareClassMetadata({
34982
35306
  <ui-button modal-footer-right variant="danger" size="sm" data-testid="delete-note-confirm" [loading]="saving()" (click)="deleteNote()">{{ labels.t('notes.deleteNote2') }}</ui-button>
34983
35307
  </ui-modal>
34984
35308
  `,
34985
- styles: [":host{display:block}.note-add{padding:14px;margin-bottom:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.note-add-footer{display:flex;justify-content:flex-end;margin-top:10px}.note-loading{padding:24px 0;font-size:.875rem;color:#64748b;text-align:center}.note-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.note-item{display:flex;gap:12px;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;transition:border-color .15s,box-shadow .15s}@media(hover:hover){.note-item:hover{border-color:#cbd5e1;box-shadow:0 1px 3px #0f172a0f}}.note-item.editing{background:#f8fafc;border-color:#bfdbfe}@media(prefers-reduced-motion:reduce){.note-item{transition:none}}.note-avatar{flex-shrink:0}.note-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.note-head{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;min-height:28px}.note-author{font-size:.875rem;font-weight:600;color:#0f172a}.note-dot{color:#94a3b8;font-size:.75rem}.note-date{font-size:.75rem;color:#64748b}.note-edited{font-size:.75rem;font-style:italic;color:#64748b}.note-actions{display:flex;align-items:center;gap:2px;margin-left:auto}.note-body{margin:0;font-size:.9375rem;line-height:1.6;color:#1e293b;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.note-item-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.note-delete-msg{margin:0;font-size:.9375rem;line-height:1.5;color:#334155}@media(max-width:480px){.note-item{padding:12px;gap:10px}.note-add{padding:12px}}\n"]
35309
+ styles: [":host{display:block}.note-add{padding:14px;margin-bottom:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px}.note-add-footer{display:flex;justify-content:flex-end;margin-top:10px}.note-offline-hint{margin:0 0 12px;font-size:.875rem;color:#475569}.note-loading{padding:24px 0;font-size:.875rem;color:#64748b;text-align:center}.note-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.note-item{display:flex;gap:12px;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;transition:border-color .15s,box-shadow .15s}@media(hover:hover){.note-item:hover{border-color:#cbd5e1;box-shadow:0 1px 3px #0f172a0f}}.note-item.editing{background:#f8fafc;border-color:#bfdbfe}@media(prefers-reduced-motion:reduce){.note-item{transition:none}}.note-avatar{flex-shrink:0}.note-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.note-head{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;min-height:28px}.note-author{font-size:.875rem;font-weight:600;color:#0f172a}.note-dot{color:#94a3b8;font-size:.75rem}.note-date{font-size:.75rem;color:#64748b}.note-edited{font-size:.75rem;font-style:italic;color:#64748b}.note-queued{font-size:.75rem;font-weight:500;color:#475569;background:#f1f5f9;border:1px dashed #94a3b8;border-radius:999px;padding:1px 8px}.note-queued-bad{color:#991b1b;background:#fef2f2;border:1px solid #b91c1c;font-weight:700}.note-actions{display:flex;align-items:center;gap:2px;margin-left:auto}.note-body{margin:0;font-size:.9375rem;line-height:1.6;color:#1e293b;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.note-item-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.note-delete-msg{margin:0;font-size:.9375rem;line-height:1.5;color:#334155}@media(max-width:480px){.note-item{padding:12px;gap:10px}.note-add{padding:12px}}\n"]
34986
35310
  }]
34987
35311
  }],
34988
35312
  ctorParameters: () => [],
@@ -42077,119 +42401,6 @@ i0.ɵɵngDeclareClassMetadata({
42077
42401
  }]
42078
42402
  }
42079
42403
  });
42080
- var LiveRegionComponent = class LiveRegionComponent {
42081
- constructor() {
42082
- this.message = input("", ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
42083
- this.politeness = input("polite", ...ngDevMode ? [{ debugName: "politeness" }] : /* istanbul ignore next */ []);
42084
- this.atomic = input(true, ...ngDevMode ? [{ debugName: "atomic" }] : /* istanbul ignore next */ []);
42085
- this.visible = input(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
42086
- this.role = computed(() => this.politeness() === "assertive" ? "alert" : "status", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
42087
- }
42088
- static {
42089
- this.ɵfac = i0.ɵɵngDeclareFactory({
42090
- minVersion: "12.0.0",
42091
- version: "22.2.2",
42092
- ngImport: i0,
42093
- type: LiveRegionComponent,
42094
- deps: [],
42095
- target: i0.ɵɵFactoryTarget.Component
42096
- });
42097
- }
42098
- static {
42099
- this.ɵcmp = i0.ɵɵngDeclareComponent({
42100
- minVersion: "17.1.0",
42101
- version: "22.2.2",
42102
- type: LiveRegionComponent,
42103
- isStandalone: true,
42104
- selector: "ui-live-region",
42105
- inputs: {
42106
- message: {
42107
- classPropertyName: "message",
42108
- publicName: "message",
42109
- isSignal: true,
42110
- isRequired: false,
42111
- transformFunction: null
42112
- },
42113
- politeness: {
42114
- classPropertyName: "politeness",
42115
- publicName: "politeness",
42116
- isSignal: true,
42117
- isRequired: false,
42118
- transformFunction: null
42119
- },
42120
- atomic: {
42121
- classPropertyName: "atomic",
42122
- publicName: "atomic",
42123
- isSignal: true,
42124
- isRequired: false,
42125
- transformFunction: null
42126
- },
42127
- visible: {
42128
- classPropertyName: "visible",
42129
- publicName: "visible",
42130
- isSignal: true,
42131
- isRequired: false,
42132
- transformFunction: null
42133
- }
42134
- },
42135
- ngImport: i0,
42136
- template: `<div class="lr" [class.lr-hidden]="!visible()" [attr.role]="role()" [attr.aria-live]="politeness()" [attr.aria-atomic]="atomic() ? 'true' : 'false'">{{ message() }}</div>`,
42137
- isInline: true,
42138
- styles: [":host{display:block}.lr-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}\n"],
42139
- changeDetection: i0.ChangeDetectionStrategy.OnPush
42140
- });
42141
- }
42142
- };
42143
- i0.ɵɵngDeclareClassMetadata({
42144
- minVersion: "12.0.0",
42145
- version: "22.2.2",
42146
- ngImport: i0,
42147
- type: LiveRegionComponent,
42148
- decorators: [{
42149
- type: Component,
42150
- args: [{
42151
- selector: "ui-live-region",
42152
- standalone: true,
42153
- changeDetection: ChangeDetectionStrategy.OnPush,
42154
- template: `<div class="lr" [class.lr-hidden]="!visible()" [attr.role]="role()" [attr.aria-live]="politeness()" [attr.aria-atomic]="atomic() ? 'true' : 'false'">{{ message() }}</div>`,
42155
- styles: [":host{display:block}.lr-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}\n"]
42156
- }]
42157
- }],
42158
- propDecorators: {
42159
- message: [{
42160
- type: i0.Input,
42161
- args: [{
42162
- isSignal: true,
42163
- alias: "message",
42164
- required: false
42165
- }]
42166
- }],
42167
- politeness: [{
42168
- type: i0.Input,
42169
- args: [{
42170
- isSignal: true,
42171
- alias: "politeness",
42172
- required: false
42173
- }]
42174
- }],
42175
- atomic: [{
42176
- type: i0.Input,
42177
- args: [{
42178
- isSignal: true,
42179
- alias: "atomic",
42180
- required: false
42181
- }]
42182
- }],
42183
- visible: [{
42184
- type: i0.Input,
42185
- args: [{
42186
- isSignal: true,
42187
- alias: "visible",
42188
- required: false
42189
- }]
42190
- }]
42191
- }
42192
- });
42193
42404
  var ImageGalleryComponent = class ImageGalleryComponent {
42194
42405
  constructor() {
42195
42406
  this.labels = inject(UiLabelsService);
@@ -67007,7 +67218,7 @@ const BUILT_IN_ENDONYMS = {
67007
67218
  ko: "한국어",
67008
67219
  ru: "Русский"
67009
67220
  };
67010
- const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-DPY2FHcg.mjs").then((m) => m.UI_LABELS_ES)]]);
67221
+ const BUILT_IN_LOADERS = /* @__PURE__ */ new Map([["es", () => import("./forgeroute-ui-ui-labels.es-CujY_jus.mjs").then((m) => m.UI_LABELS_ES)]]);
67011
67222
  const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
67012
67223
  const baseOf = (tag) => normalizeTag(tag).split("-")[0];
67013
67224
  const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
@@ -69243,6 +69454,6 @@ i0.ɵɵngDeclareClassMetadata({
69243
69454
  args: [{ providedIn: "root" }]
69244
69455
  }]
69245
69456
  });
69246
- export { ALLOCATION_CUSTOM, ASCII_SPECIAL_PASSWORD_RULES, ActionBarComponent, AddressInputComponent, AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BankAccountFormComponent, BarRowComponent, BoardCardDirective, BoardComponent, BulkMessagePanelComponent, BusinessHoursComponent, ButtonComponent, COMMON_DETAIL_GROUP_STYLES, CalendarComponent, CardListItemComponent, ChargeFormComponent, CheckboxComponent, CheckboxTrailingDirective, ChipComponent, ChipGroupComponent, ColorInputComponent, ColumnFilterComponent, ColumnsComponent, ComboboxComponent, ConfirmAfterCheckService, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, ConversationRichBodyComponent, ConversationsComponent, CopyFieldComponent, DEFAULT_ALLOCATION_MODES, DEFAULT_BANK_ACCOUNT_TYPE_OPTIONS, DEFAULT_BANK_HOLDER_TYPE_OPTIONS, DEFAULT_BANK_MANDATE_TEXT, DEFAULT_EMAIL_TEMPLATE_BLOCK_GROUPS, DEFAULT_EMAIL_TEMPLATE_VARIABLE_GROUPS, DEFAULT_PASSWORD_RULES, DEFAULT_PAYMENT_METHODS, DEFAULT_REFUND_REASONS, DETAIL_CARD_HEADER_BG, DETAIL_GROUP_HEADER_BG, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DropdownComponent, EMAIL_BLOCK_DRAG_TYPE, EMAIL_TEMPLATE_MAX_BODY, EMAIL_TEMPLATE_MAX_TEXT, EMAIL_TEMPLATE_START_TEXT, EMBEDDING_PARENT, EmailTemplateEditorComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FadeComponent, FileInputComponent, FillViewportDirective, FixedFooterComponent, FormColSpanDirective, FormComponent, FormRowComponent, FormSectionComponent, HintComponent, ICON_NAMES, IDX_BEHAVIOR_SIGNALS, IDX_BEHAVIOR_SIGNALS_ES, INTEGRATION_CATALOG, INTEGRATION_FIELD_DEFS, INTEGRATION_FIELD_TEXTS_ES, INTEGRATION_GROUP_LABELS_ES, INTEGRATION_GROUP_ORDER, INTEGRATION_OPTION_DEFS, INTEGRATION_OPTION_TEXTS_ES, INTEGRATION_TEXTS_ES, IconComponent, IconPickerComponent, ImageComponent, ImageGalleryComponent, ImageGalleryDialogComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, ImportSourceGridComponent, InspectionTemplatePrintService, KeypadComponent, KpiCardComponent, LAYOUT_GAP_PX, LISTED_SPECIAL_PASSWORD_RULES, ListComponent, ListItemComponent, LiveRegionComponent, MAX_EMAIL_ADDRESS_LENGTH, MAX_PAYMENT_AMOUNT, MIN_PAYMENT_AMOUNT, ModalComponent, MoreMenuComponent, MultiSelectComponent, NOTES_MAX_LENGTH, NotesComponent, OfflineBannerComponent, OptionCardComponent, PASSWORD_MAX_BYTES, PASSWORD_MAX_LENGTH, PAYMENT_METHOD, PAYMENT_METHOD_PLUGIN, PHONE_NUMBER_AREA_CODE_LENGTH, PHONE_NUMBER_ZIP_LENGTH, PageComponent, PaginationComponent, PanelInfoListComponent, PasswordRequirementsComponent, PaymentCustomMethodComponent, PaymentMethodPlugin, PaymentSidePanelComponent, PdfHotspotComponent, PhoneNumberPickerComponent, PillTabPanelDirective, PillTabsComponent, PrintService, ProgressBarComponent, ProgressRingComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RadioOptionContentDirective, ReadonlyFieldsetComponent, RefundPanelComponent, ReminderAlertsComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SEMANTIC_BADGE_MAP_ES, SETUP_DONE_KEY, SETUP_INTEGRATIONS, SearchInputComponent, SectionHeaderComponent, SelectComponent, SetupWizardComponent, SetupWizardStepDirective, SetupWizardStepHeaderDirective, ShareMenuComponent, ShowComponent, SidePanelComponent, SidebarLayoutComponent, SignaturePadComponent, SkeletonComponent, SnackbarComponent, SnackbarService, StackComponent, StackedBarComponent, StarComponent, StarRatingComponent, StepperComponent, SwatchPickerComponent, TableToolbarComponent, TextComponent, TextInputComponent, TextTemplatePickerComponent, TextareaInputComponent, TimeInputComponent, TimelineComponent, ToastComponent, ToastService, ToggleBadgeComponent, ToggleComponent, TooltipDirective, TourComponent, UI_DEFAULT_LABELS, UI_LANGUAGE_AUTO, UI_LANGUAGE_CONFIG, US_LOCATIONS, US_STATES, US_STATE_OPTIONS, US_ZIP_PATTERN, UiFieldValidity, UiLabelsService, UiLanguageService, UiLanguageSwitcherComponent, acceptLabel, appShellGroupsStorageKey, autoVariant, blockHasContent, buildDefaultSchedule, buildInspectionTemplateHtml, buildMapsEmbedUrl, buildMapsUrl, buildPreviewDocument, buildVideoBlockHtml, builtInActionIcon, businessTimeOptions, callHost, conversationDateLabel, conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, createFieldReveal, createPasswordPolicyValidator, decodeFilterValues, defaultChargeAmount, defaultLabel, digitsOnly, downloadBlob, emailShareUrl, emptyAddress, encodeFilterValue, encodeFilterValues, errorContextInterceptor, escapeHtml, facebookShareUrl, fileMatchesAccept, fileNameFromContentDisposition, formatAddress, formatAddressValue, formatAddressValueOneLine, formatAttachmentSize, formatCategoryLabel, formatConversationPhone, formatConversationTime, formatCurrency, formatDuration, formatEnum, formatFileSize, formatIsoDate, formatIsoDateTime, formatMessageTime, formatPhone, formatPhoneDisplay, formatShortDate, formatTime, formatTimeAgo, formatVideoDuration, getEligibleIds, getEligibleOptions, getErrorMessage, getInitials, gmailShareUrl, groupMessagesByDay, hostErrorMessage, humanReadableMessage, iconPath, insideEditorBlock, inspectionTemplateStatusLabel, integrationGroupLabel, integrationPlainText, integrationsForApp, integrationsOnlyFor, isBlockDrag, isEmptyAddress, isValidAmount, isValidEmailAddress, isValidZip, isWebUrl, isoKey, issueToErrors, last4Error, linkedInShareUrl, loadUiLabels, localizeIntegration, localizeIntegrationFields, localizeIntegrationOptions, localizedAllocationModes, localizedDetailGroupStyle, localizedEmailBlockGroups, localizedEmailVariableGroups, localizedIdxBehaviorSignals, localizedIntegrationDescription, localizedIntegrationTitle, localizedPaymentMethods, maxLengthIssue, mergeDescribedBy, normalizeAddress, normalizeHexColor, outlookShareUrl, parseAddressOneLine, parseAddressValue, parseBizHours, parseIso, parseTime, passwordByteLength, passwordMeetsRules, passwordTooLongMessage, passwordWithinLimits, periodGroup, pillTabDescriptionId, pillTabId, pillTabPanelId, pillTabTitleId, pluralize, provideForgerouteToast, provideUiLanguage, reorderItems, requiredIssue, resolveLayoutGap, resolvePreset, safeLocale, semanticBadgeVariant, serializeBizHours, serializedTextLength, setupIntegrations, splitIntro, terminalTimeoutText, terminalVerdict, todayInTimezone, truncateConversationText, uiCurrencyFormatter, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiLocale, uiMonthName, uiText, uiWeekdayName, usStateName, usdCurrencyDisplay, xShareUrl };
69457
+ export { ALLOCATION_CUSTOM, ASCII_SPECIAL_PASSWORD_RULES, ActionBarComponent, AddressInputComponent, AlertComponent, AppShellComponent, AudioPlayerComponent, AvatarComponent, BADGE_VARIANT_STYLES, BadgeComponent, BankAccountFormComponent, BarRowComponent, BoardCardDirective, BoardComponent, BulkMessagePanelComponent, BusinessHoursComponent, ButtonComponent, COMMON_DETAIL_GROUP_STYLES, CalendarComponent, CardListItemComponent, ChargeFormComponent, CheckboxComponent, CheckboxTrailingDirective, ChipComponent, ChipGroupComponent, ColorInputComponent, ColumnFilterComponent, ColumnsComponent, ComboboxComponent, ConfirmAfterCheckService, ConfirmOutletComponent, ConfirmService, ContactPickerComponent, ConversationRichBodyComponent, ConversationsComponent, CopyFieldComponent, DEFAULT_ALLOCATION_MODES, DEFAULT_BANK_ACCOUNT_TYPE_OPTIONS, DEFAULT_BANK_HOLDER_TYPE_OPTIONS, DEFAULT_BANK_MANDATE_TEXT, DEFAULT_EMAIL_TEMPLATE_BLOCK_GROUPS, DEFAULT_EMAIL_TEMPLATE_VARIABLE_GROUPS, DEFAULT_PASSWORD_RULES, DEFAULT_PAYMENT_METHODS, DEFAULT_REFUND_REASONS, DETAIL_CARD_HEADER_BG, DETAIL_GROUP_HEADER_BG, DROPDOWN_GROUP, DataTableComponent, DateInputComponent, DateRangePickerComponent, DatetimeInputComponent, DetailCardComponent, DiscountSelectorComponent, DividerComponent, DropdownComponent, EMAIL_BLOCK_DRAG_TYPE, EMAIL_TEMPLATE_MAX_BODY, EMAIL_TEMPLATE_MAX_TEXT, EMAIL_TEMPLATE_START_TEXT, EMBEDDING_PARENT, EmailTemplateEditorComponent, EmptyStateComponent, ErrorComponent, ErrorStateComponent, FORGEROUTE_CONFIG, FadeComponent, FileInputComponent, FillViewportDirective, FixedFooterComponent, FormColSpanDirective, FormComponent, FormRowComponent, FormSectionComponent, HintComponent, ICON_NAMES, IDX_BEHAVIOR_SIGNALS, IDX_BEHAVIOR_SIGNALS_ES, INTEGRATION_CATALOG, INTEGRATION_FIELD_DEFS, INTEGRATION_FIELD_TEXTS_ES, INTEGRATION_GROUP_LABELS_ES, INTEGRATION_GROUP_ORDER, INTEGRATION_OPTION_DEFS, INTEGRATION_OPTION_TEXTS_ES, INTEGRATION_TEXTS_ES, IconComponent, IconPickerComponent, ImageComponent, ImageGalleryComponent, ImageGalleryDialogComponent, ImagePreviewComponent, ImageRepositionComponent, ImportExportComponent, ImportSourceGridComponent, InspectionTemplatePrintService, KeypadComponent, KpiCardComponent, LAYOUT_GAP_PX, LISTED_SPECIAL_PASSWORD_RULES, ListComponent, ListItemComponent, LiveRegionComponent, MAX_EMAIL_ADDRESS_LENGTH, MAX_PAYMENT_AMOUNT, MIN_PAYMENT_AMOUNT, ModalComponent, MoreMenuComponent, MultiSelectComponent, NOTES_MAX_LENGTH, NotesComponent, OfflineBannerComponent, OptionCardComponent, PASSWORD_MAX_BYTES, PASSWORD_MAX_LENGTH, PAYMENT_METHOD, PAYMENT_METHOD_PLUGIN, PHONE_NUMBER_AREA_CODE_LENGTH, PHONE_NUMBER_ZIP_LENGTH, PageComponent, PaginationComponent, PanelInfoListComponent, PasswordRequirementsComponent, PaymentCustomMethodComponent, PaymentMethodPlugin, PaymentSidePanelComponent, PdfHotspotComponent, PhoneNumberPickerComponent, PillTabPanelDirective, PillTabsComponent, PrintService, ProgressBarComponent, ProgressRingComponent, QrCodeComponent, QuickFilterTabsComponent, RICH_TEXT_OPTIONS, RadioComponent, RadioGroupComponent, RadioMatrixComponent, RadioOptionContentDirective, ReadonlyFieldsetComponent, RefundPanelComponent, ReminderAlertsComponent, RichTextEditorComponent, SEMANTIC_BADGE_MAP, SEMANTIC_BADGE_MAP_ES, SETUP_DONE_KEY, SETUP_INTEGRATIONS, SearchInputComponent, SectionHeaderComponent, SelectComponent, SetupWizardComponent, SetupWizardStepDirective, SetupWizardStepHeaderDirective, ShareMenuComponent, ShowComponent, SidePanelComponent, SidebarLayoutComponent, SignaturePadComponent, SkeletonComponent, SnackbarComponent, SnackbarService, StackComponent, StackedBarComponent, StarComponent, StarRatingComponent, StepperComponent, SwatchPickerComponent, TableToolbarComponent, TextComponent, TextInputComponent, TextTemplatePickerComponent, TextareaInputComponent, TimeInputComponent, TimelineComponent, ToastComponent, ToastService, ToggleBadgeComponent, ToggleComponent, TooltipDirective, TourComponent, UI_DEFAULT_LABELS, UI_LANGUAGE_AUTO, UI_LANGUAGE_CONFIG, UI_NOTES_QUEUE, US_LOCATIONS, US_STATES, US_STATE_OPTIONS, US_ZIP_PATTERN, UiFieldValidity, UiLabelsService, UiLanguageService, UiLanguageSwitcherComponent, acceptLabel, appShellGroupsStorageKey, autoVariant, blockHasContent, buildDefaultSchedule, buildInspectionTemplateHtml, buildMapsEmbedUrl, buildMapsUrl, buildPreviewDocument, buildVideoBlockHtml, builtInActionIcon, businessTimeOptions, callHost, conversationDateLabel, conversationHtmlToText, conversationInitial, conversationMessageStatusLabel, conversationMessageStatusMark, createFieldReveal, createPasswordPolicyValidator, csvCell, csvSafeText, decodeFilterValues, defaultChargeAmount, defaultLabel, digitsOnly, downloadBlob, downloadCsv, emailShareUrl, emptyAddress, encodeFilterValue, encodeFilterValues, errorContextInterceptor, escapeHtml, facebookShareUrl, fileMatchesAccept, fileNameFromContentDisposition, formatAddress, formatAddressValue, formatAddressValueOneLine, formatAttachmentSize, formatCategoryLabel, formatConversationPhone, formatConversationTime, formatCurrency, formatDuration, formatEnum, formatFileSize, formatIsoDate, formatIsoDateTime, formatMessageTime, formatPhone, formatPhoneDisplay, formatShortDate, formatTime, formatTimeAgo, formatVideoDuration, getEligibleIds, getEligibleOptions, getErrorMessage, getInitials, gmailShareUrl, groupMessagesByDay, hostErrorMessage, humanReadableMessage, iconPath, insideEditorBlock, inspectionTemplateStatusLabel, integrationGroupLabel, integrationPlainText, integrationsForApp, integrationsOnlyFor, isBlockDrag, isEmptyAddress, isValidAmount, isValidEmailAddress, isValidZip, isWebUrl, isoKey, issueToErrors, last4Error, linkedInShareUrl, loadUiLabels, localizeIntegration, localizeIntegrationFields, localizeIntegrationOptions, localizedAllocationModes, localizedDetailGroupStyle, localizedEmailBlockGroups, localizedEmailVariableGroups, localizedIdxBehaviorSignals, localizedIntegrationDescription, localizedIntegrationTitle, localizedPaymentMethods, maxLengthIssue, mergeDescribedBy, normalizeAddress, normalizeHexColor, outlookShareUrl, parseAddressOneLine, parseAddressValue, parseBizHours, parseIso, parseTime, passwordByteLength, passwordMeetsRules, passwordTooLongMessage, passwordWithinLimits, periodGroup, pillTabDescriptionId, pillTabId, pillTabPanelId, pillTabTitleId, pluralize, provideForgerouteToast, provideUiLanguage, reorderItems, requiredIssue, resolveLayoutGap, resolvePreset, safeLocale, semanticBadgeVariant, serializeBizHours, serializedTextLength, setupIntegrations, splitIntro, terminalTimeoutText, terminalVerdict, toCsv, todayInTimezone, truncateConversationText, uiCurrencyFormatter, uiFormatClock, uiFormatCurrency, uiFormatDate, uiFormatHour, uiFormatNumber, uiLocale, uiMonthName, uiText, uiWeekdayName, usStateName, usdCurrencyDisplay, xShareUrl };
69247
69458
 
69248
69459
  //# sourceMappingURL=forgeroute-ui.mjs.map