@forgeroute/ui 0.4.83 → 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",
@@ -34487,7 +34499,127 @@ function getErrorMessage(error, fallbackContext, action) {
34487
34499
  if (typeof error === "string") return error;
34488
34500
  return `${failed} ${uiText("errors.tryAgain")}`;
34489
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");
34490
34616
  const NOTES_MAX_LENGTH = 1e4;
34617
+ const STATE_RANK = {
34618
+ waiting: 1,
34619
+ sending: 2,
34620
+ failed: 3,
34621
+ conflict: 4
34622
+ };
34491
34623
  const NOTES_PAGE_SIZE = 5;
34492
34624
  var NotesComponent = class NotesComponent {
34493
34625
  initials(name) {
@@ -34505,7 +34637,11 @@ var NotesComponent = class NotesComponent {
34505
34637
  return this.basePath() ? `${this.apiBase}${this.basePath()}` : `${this.apiBase}/notes/${this.resourceType()}/${this.resourceId()}`;
34506
34638
  }
34507
34639
  noteUrl(id) {
34508
- 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/`;
34509
34645
  }
34510
34646
  get ready() {
34511
34647
  return !!this.basePath() || !!this.resourceType() && !!this.resourceId();
@@ -34541,28 +34677,149 @@ var NotesComponent = class NotesComponent {
34541
34677
  this.totalElements = signal(0, ...ngDevMode ? [{ debugName: "totalElements" }] : /* istanbul ignore next */ []);
34542
34678
  this.editingId = signal(null, ...ngDevMode ? [{ debugName: "editingId" }] : /* istanbul ignore next */ []);
34543
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 */ []);
34544
34727
  this.newBody = "";
34545
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
+ }
34546
34769
  effect(() => {
34547
34770
  const id = this.resourceId();
34548
34771
  const type = this.resourceType();
34549
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
+ });
34550
34779
  });
34551
34780
  }
34552
- 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) {
34553
34795
  if (!this.ready) return;
34796
+ const seq = ++this.loadSeq;
34797
+ if (after) this.afters.push(after);
34554
34798
  this.loading.set(true);
34799
+ const finish = () => {
34800
+ const run = this.afters;
34801
+ this.afters = [];
34802
+ run.forEach((fn) => fn());
34803
+ };
34555
34804
  this.http.get(`${this.listUrl}?page=${p}&size=${this.pageSize}`).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34556
34805
  next: (res) => {
34806
+ if (seq !== this.loadSeq) return;
34557
34807
  this.notes.set(res.content.map((n) => this.normalize(n)));
34558
34808
  this.page.set(res.page ?? res.number ?? p);
34559
34809
  this.totalElements.set(res.totalElements);
34560
34810
  this.loading.set(false);
34811
+ this.offlineLoadFailed.set(false);
34561
34812
  this.totalChange.emit(res.totalElements);
34813
+ finish();
34562
34814
  },
34563
34815
  error: (err) => {
34816
+ if (seq !== this.loadSeq) return;
34564
34817
  this.loading.set(false);
34565
- 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();
34566
34823
  }
34567
34824
  });
34568
34825
  }
@@ -34570,9 +34827,13 @@ var NotesComponent = class NotesComponent {
34570
34827
  if (this.readOnly() || !this.validBody(this.newBody) || this.saving()) return;
34571
34828
  this.saving.set(true);
34572
34829
  this.http.post(this.listUrl, this.payload(this.newBody)).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34573
- next: () => {
34830
+ next: (res) => {
34574
34831
  this.newBody = "";
34575
34832
  this.saving.set(false);
34833
+ if (this.savedOffline(res)) {
34834
+ this.announce(this.labels.t("notes.queued.addedAnnounce"));
34835
+ return;
34836
+ }
34576
34837
  this.loadPage(0);
34577
34838
  },
34578
34839
  error: (err) => {
@@ -34595,6 +34856,12 @@ var NotesComponent = class NotesComponent {
34595
34856
  this.saving.set(true);
34596
34857
  this.http.put(this.noteUrl(noteId), this.payload(this.editBody)).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34597
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
+ }
34598
34865
  this.notes.update((arr) => arr.map((n) => n.id === noteId ? this.normalize(updated) : n));
34599
34866
  this.editingId.set(null);
34600
34867
  this.saving.set(false);
@@ -34614,9 +34881,13 @@ var NotesComponent = class NotesComponent {
34614
34881
  if (this.readOnly() || !id || this.saving()) return;
34615
34882
  this.saving.set(true);
34616
34883
  this.http.delete(this.noteUrl(id)).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
34617
- next: () => {
34884
+ next: (res) => {
34618
34885
  this.deletingId.set(null);
34619
34886
  this.saving.set(false);
34887
+ if (this.savedOffline(res)) {
34888
+ this.announce(this.labels.t("notes.queued.deletedAnnounce"));
34889
+ return;
34890
+ }
34620
34891
  this.loadPage(this.notes().length === 1 && this.page() > 0 ? this.page() - 1 : this.page());
34621
34892
  },
34622
34893
  error: (err) => {
@@ -34700,13 +34971,23 @@ var NotesComponent = class NotesComponent {
34700
34971
  </div>
34701
34972
  }
34702
34973
 
34703
- @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) {
34704
34983
  <div class="note-loading" role="status">{{ labels.t('notes.loadingNotes') }}</div>
34705
- } @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) {
34706
34987
  <ui-empty-state iconType="person" [title]="labels.t('notes.noNotesYet')" [message]="readOnly() ? labels.t('notes.noNotesAdded') : labels.t('notes.addFirstNote')" />
34707
34988
  } @else {
34708
34989
  <ul class="note-list" [attr.aria-label]="labels.t('notes.notes')">
34709
- @for (note of notes(); track note.id) {
34990
+ @for (note of shown(); track note.id) {
34710
34991
  <li class="note-item" [class.editing]="editingId() === note.id">
34711
34992
  <ui-avatar class="note-avatar" [initials]="initials(note.createdByName)" [name]="note.createdByName || labels.t('notes.you')" [size]="32" />
34712
34993
  <div class="note-main">
@@ -34717,7 +34998,10 @@ var NotesComponent = class NotesComponent {
34717
34998
  @if (note.updatedAt !== note.createdAt) {
34718
34999
  <span class="note-edited">{{ labels.t('notes.edited') }}</span>
34719
35000
  }
34720
- @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) {
34721
35005
  <div class="note-actions">
34722
35006
  @if (editable()) {
34723
35007
  <ui-icon name="edit" [size]="14" [tooltip]="labels.t('notes.editNote')" (iconClick)="startEdit(note)" />
@@ -34749,7 +35033,7 @@ var NotesComponent = class NotesComponent {
34749
35033
  </ui-modal>
34750
35034
  `,
34751
35035
  isInline: true,
34752
- 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"],
34753
35037
  dependencies: [
34754
35038
  {
34755
35039
  kind: "ngmodule",
@@ -34911,6 +35195,17 @@ var NotesComponent = class NotesComponent {
34911
35195
  "busy"
34912
35196
  ],
34913
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
+ ]
34914
35209
  }
34915
35210
  ],
34916
35211
  changeDetection: i0.ChangeDetectionStrategy.OnPush
@@ -34936,7 +35231,8 @@ i0.ɵɵngDeclareClassMetadata({
34936
35231
  PaginationComponent,
34937
35232
  TextareaInputComponent,
34938
35233
  IconComponent,
34939
- AvatarComponent
35234
+ AvatarComponent,
35235
+ LiveRegionComponent
34940
35236
  ],
34941
35237
  template: `
34942
35238
  @if (!readOnly()) {
@@ -34949,13 +35245,23 @@ i0.ɵɵngDeclareClassMetadata({
34949
35245
  </div>
34950
35246
  }
34951
35247
 
34952
- @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) {
34953
35257
  <div class="note-loading" role="status">{{ labels.t('notes.loadingNotes') }}</div>
34954
- } @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) {
34955
35261
  <ui-empty-state iconType="person" [title]="labels.t('notes.noNotesYet')" [message]="readOnly() ? labels.t('notes.noNotesAdded') : labels.t('notes.addFirstNote')" />
34956
35262
  } @else {
34957
35263
  <ul class="note-list" [attr.aria-label]="labels.t('notes.notes')">
34958
- @for (note of notes(); track note.id) {
35264
+ @for (note of shown(); track note.id) {
34959
35265
  <li class="note-item" [class.editing]="editingId() === note.id">
34960
35266
  <ui-avatar class="note-avatar" [initials]="initials(note.createdByName)" [name]="note.createdByName || labels.t('notes.you')" [size]="32" />
34961
35267
  <div class="note-main">
@@ -34966,7 +35272,10 @@ i0.ɵɵngDeclareClassMetadata({
34966
35272
  @if (note.updatedAt !== note.createdAt) {
34967
35273
  <span class="note-edited">{{ labels.t('notes.edited') }}</span>
34968
35274
  }
34969
- @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) {
34970
35279
  <div class="note-actions">
34971
35280
  @if (editable()) {
34972
35281
  <ui-icon name="edit" [size]="14" [tooltip]="labels.t('notes.editNote')" (iconClick)="startEdit(note)" />
@@ -34997,7 +35306,7 @@ i0.ɵɵngDeclareClassMetadata({
34997
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>
34998
35307
  </ui-modal>
34999
35308
  `,
35000
- 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"]
35001
35310
  }]
35002
35311
  }],
35003
35312
  ctorParameters: () => [],
@@ -42092,119 +42401,6 @@ i0.ɵɵngDeclareClassMetadata({
42092
42401
  }]
42093
42402
  }
42094
42403
  });
42095
- var LiveRegionComponent = class LiveRegionComponent {
42096
- constructor() {
42097
- this.message = input("", ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
42098
- this.politeness = input("polite", ...ngDevMode ? [{ debugName: "politeness" }] : /* istanbul ignore next */ []);
42099
- this.atomic = input(true, ...ngDevMode ? [{ debugName: "atomic" }] : /* istanbul ignore next */ []);
42100
- this.visible = input(false, ...ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []);
42101
- this.role = computed(() => this.politeness() === "assertive" ? "alert" : "status", ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
42102
- }
42103
- static {
42104
- this.ɵfac = i0.ɵɵngDeclareFactory({
42105
- minVersion: "12.0.0",
42106
- version: "22.2.2",
42107
- ngImport: i0,
42108
- type: LiveRegionComponent,
42109
- deps: [],
42110
- target: i0.ɵɵFactoryTarget.Component
42111
- });
42112
- }
42113
- static {
42114
- this.ɵcmp = i0.ɵɵngDeclareComponent({
42115
- minVersion: "17.1.0",
42116
- version: "22.2.2",
42117
- type: LiveRegionComponent,
42118
- isStandalone: true,
42119
- selector: "ui-live-region",
42120
- inputs: {
42121
- message: {
42122
- classPropertyName: "message",
42123
- publicName: "message",
42124
- isSignal: true,
42125
- isRequired: false,
42126
- transformFunction: null
42127
- },
42128
- politeness: {
42129
- classPropertyName: "politeness",
42130
- publicName: "politeness",
42131
- isSignal: true,
42132
- isRequired: false,
42133
- transformFunction: null
42134
- },
42135
- atomic: {
42136
- classPropertyName: "atomic",
42137
- publicName: "atomic",
42138
- isSignal: true,
42139
- isRequired: false,
42140
- transformFunction: null
42141
- },
42142
- visible: {
42143
- classPropertyName: "visible",
42144
- publicName: "visible",
42145
- isSignal: true,
42146
- isRequired: false,
42147
- transformFunction: null
42148
- }
42149
- },
42150
- ngImport: i0,
42151
- template: `<div class="lr" [class.lr-hidden]="!visible()" [attr.role]="role()" [attr.aria-live]="politeness()" [attr.aria-atomic]="atomic() ? 'true' : 'false'">{{ message() }}</div>`,
42152
- isInline: true,
42153
- 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"],
42154
- changeDetection: i0.ChangeDetectionStrategy.OnPush
42155
- });
42156
- }
42157
- };
42158
- i0.ɵɵngDeclareClassMetadata({
42159
- minVersion: "12.0.0",
42160
- version: "22.2.2",
42161
- ngImport: i0,
42162
- type: LiveRegionComponent,
42163
- decorators: [{
42164
- type: Component,
42165
- args: [{
42166
- selector: "ui-live-region",
42167
- standalone: true,
42168
- changeDetection: ChangeDetectionStrategy.OnPush,
42169
- template: `<div class="lr" [class.lr-hidden]="!visible()" [attr.role]="role()" [attr.aria-live]="politeness()" [attr.aria-atomic]="atomic() ? 'true' : 'false'">{{ message() }}</div>`,
42170
- 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"]
42171
- }]
42172
- }],
42173
- propDecorators: {
42174
- message: [{
42175
- type: i0.Input,
42176
- args: [{
42177
- isSignal: true,
42178
- alias: "message",
42179
- required: false
42180
- }]
42181
- }],
42182
- politeness: [{
42183
- type: i0.Input,
42184
- args: [{
42185
- isSignal: true,
42186
- alias: "politeness",
42187
- required: false
42188
- }]
42189
- }],
42190
- atomic: [{
42191
- type: i0.Input,
42192
- args: [{
42193
- isSignal: true,
42194
- alias: "atomic",
42195
- required: false
42196
- }]
42197
- }],
42198
- visible: [{
42199
- type: i0.Input,
42200
- args: [{
42201
- isSignal: true,
42202
- alias: "visible",
42203
- required: false
42204
- }]
42205
- }]
42206
- }
42207
- });
42208
42404
  var ImageGalleryComponent = class ImageGalleryComponent {
42209
42405
  constructor() {
42210
42406
  this.labels = inject(UiLabelsService);
@@ -67022,7 +67218,7 @@ const BUILT_IN_ENDONYMS = {
67022
67218
  ko: "한국어",
67023
67219
  ru: "Русский"
67024
67220
  };
67025
- 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)]]);
67026
67222
  const normalizeTag = (tag) => tag.trim().toLowerCase().replace(/_/g, "-");
67027
67223
  const baseOf = (tag) => normalizeTag(tag).split("-")[0];
67028
67224
  const builtInLoader = (lang) => BUILT_IN_LOADERS.get(normalizeTag(lang)) ?? BUILT_IN_LOADERS.get(baseOf(lang));
@@ -69258,6 +69454,6 @@ i0.ɵɵngDeclareClassMetadata({
69258
69454
  args: [{ providedIn: "root" }]
69259
69455
  }]
69260
69456
  });
69261
- 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, 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 };
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 };
69262
69458
 
69263
69459
  //# sourceMappingURL=forgeroute-ui.mjs.map