@ferrlabs/ui-ng 1.69.0 → 1.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1853,7 +1853,7 @@ function toneRole(tone) {
1853
1853
  function visibleMeta(items) {
1854
1854
  return items.filter((item) => item.value.trim() !== "");
1855
1855
  }
1856
- let nextId$4 = 0;
1856
+ let nextId$5 = 0;
1857
1857
  var ConnectionCardComponent = class ConnectionCardComponent {
1858
1858
  constructor() {
1859
1859
  this.title = input.required(...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
@@ -1868,7 +1868,7 @@ var ConnectionCardComponent = class ConnectionCardComponent {
1868
1868
  this.error = input(null, ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
1869
1869
  this.retryLabel = input("Retry", ...ngDevMode ? [{ debugName: "retryLabel" }] : /* istanbul ignore next */ []);
1870
1870
  this.retry = output();
1871
- this.titleId = `flr-connection-card-title-${nextId$4++}`;
1871
+ this.titleId = `flr-connection-card-title-${nextId$5++}`;
1872
1872
  this.phase = computed(() => cardPhase(this.loading(), this.error(), this.confirming()), ...ngDevMode ? [{ debugName: "phase" }] : /* istanbul ignore next */ []);
1873
1873
  this.role = computed(() => toneRole(this.tone()), ...ngDevMode ? [{ debugName: "role" }] : /* istanbul ignore next */ []);
1874
1874
  this.items = computed(() => visibleMeta(this.meta()), ...ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []);
@@ -5153,7 +5153,7 @@ const PANEL_POSITIONS = [
5153
5153
  offsetY: -6
5154
5154
  }
5155
5155
  ];
5156
- let nextId$3 = 0;
5156
+ let nextId$4 = 0;
5157
5157
  var MultiSelectComponent = class MultiSelectComponent {
5158
5158
  constructor() {
5159
5159
  this.options = input.required(...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
@@ -5174,7 +5174,7 @@ var MultiSelectComponent = class MultiSelectComponent {
5174
5174
  this.emptyText = input("Nothing to choose from.", ...ngDevMode ? [{ debugName: "emptyText" }] : /* istanbul ignore next */ []);
5175
5175
  this.noMatchText = input("No match.", ...ngDevMode ? [{ debugName: "noMatchText" }] : /* istanbul ignore next */ []);
5176
5176
  this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
5177
- this.uid = `flr-ms-${nextId$3++}`;
5177
+ this.uid = `flr-ms-${nextId$4++}`;
5178
5178
  this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []);
5179
5179
  this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
5180
5180
  this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
@@ -5741,6 +5741,15 @@ function clampIndex(index, count) {
5741
5741
  function stepActive(active, count, intent) {
5742
5742
  return clampIndex(active + (intent === "next" ? 1 : -1), count);
5743
5743
  }
5744
+ function firstEnabledIndex(options) {
5745
+ return Math.max(options.findIndex((o) => !o.disabled), 0);
5746
+ }
5747
+ function canLoadMore(hasMore, busy, alreadyRequested) {
5748
+ return hasMore && !busy && !alreadyRequested;
5749
+ }
5750
+ function isNearEnd(scrollTop, clientHeight, scrollHeight, threshold) {
5751
+ return scrollHeight - scrollTop - clientHeight <= threshold;
5752
+ }
5744
5753
  function emptyState(loading, totalCount, visibleCount, query) {
5745
5754
  if (visibleCount > 0) return null;
5746
5755
  if (loading) return "loading";
@@ -5753,7 +5762,8 @@ function labelFor(options, value, picked) {
5753
5762
  return picked?.value === value ? picked.label : value;
5754
5763
  }
5755
5764
  const SEARCH_DEBOUNCE_MS = 250;
5756
- let nextId$2 = 0;
5765
+ const LOAD_MORE_THRESHOLD_PX = 48;
5766
+ let nextId$3 = 0;
5757
5767
  var ComboboxComponent = class ComboboxComponent {
5758
5768
  constructor() {
5759
5769
  this.options = input([], ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
@@ -5765,6 +5775,12 @@ var ComboboxComponent = class ComboboxComponent {
5765
5775
  this.noMatchText = input("No match.", ...ngDevMode ? [{ debugName: "noMatchText" }] : /* istanbul ignore next */ []);
5766
5776
  this.invalid = input(false, ...ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []);
5767
5777
  this.localFilter = input(true, ...ngDevMode ? [{ debugName: "localFilter" }] : /* istanbul ignore next */ []);
5778
+ this.hasMore = input(false, ...ngDevMode ? [{ debugName: "hasMore" }] : /* istanbul ignore next */ []);
5779
+ this.loadingMore = input(false, ...ngDevMode ? [{ debugName: "loadingMore" }] : /* istanbul ignore next */ []);
5780
+ this.loadMoreLabel = input("Load more", ...ngDevMode ? [{ debugName: "loadMoreLabel" }] : /* istanbul ignore next */ []);
5781
+ this.loadingMoreText = input("Loading more…", ...ngDevMode ? [{ debugName: "loadingMoreText" }] : /* istanbul ignore next */ []);
5782
+ this.error = input(null, ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
5783
+ this.retryLabel = input("Try again", ...ngDevMode ? [{ debugName: "retryLabel" }] : /* istanbul ignore next */ []);
5768
5784
  this.ariaLabel = input(null, {
5769
5785
  ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
5770
5786
  alias: "aria-label"
@@ -5774,7 +5790,9 @@ var ComboboxComponent = class ComboboxComponent {
5774
5790
  alias: "id"
5775
5791
  });
5776
5792
  this.searchChange = output();
5777
- this.uid = `flr-cb-${nextId$2++}`;
5793
+ this.loadMore = output();
5794
+ this.retry = output();
5795
+ this.uid = `flr-cb-${nextId$3++}`;
5778
5796
  this.query = signal("", ...ngDevMode ? [{ debugName: "query" }] : /* istanbul ignore next */ []);
5779
5797
  this.disabled = signal(false, ...ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []);
5780
5798
  this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
@@ -5784,6 +5802,14 @@ var ComboboxComponent = class ComboboxComponent {
5784
5802
  this.value = signal(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
5785
5803
  this.picked = signal(null, ...ngDevMode ? [{ debugName: "picked" }] : /* istanbul ignore next */ []);
5786
5804
  this.cursor = signal(0, ...ngDevMode ? [{ debugName: "cursor" }] : /* istanbul ignore next */ []);
5805
+ this.moreRequested = linkedSignal({
5806
+ ...ngDevMode ? { debugName: "moreRequested" } : /* istanbul ignore next */ {},
5807
+ source: () => ({
5808
+ options: this.options(),
5809
+ loadingMore: this.loadingMore()
5810
+ }),
5811
+ computation: () => false
5812
+ });
5787
5813
  this.host = inject(ElementRef);
5788
5814
  this.injector = inject(Injector);
5789
5815
  this.trigger = viewChild("trigger", ...ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []);
@@ -5801,7 +5827,10 @@ var ComboboxComponent = class ComboboxComponent {
5801
5827
  }, ...ngDevMode ? [{ debugName: "triggerLabel" }] : /* istanbul ignore next */ []);
5802
5828
  this.activeOptionId = computed(() => this.open() && this.visible().length > 0 ? this.optionId(this.active()) : null, ...ngDevMode ? [{ debugName: "activeOptionId" }] : /* istanbul ignore next */ []);
5803
5829
  this.empty = computed(() => emptyState(this.loading(), this.options().length, this.visible().length, this.query()), ...ngDevMode ? [{ debugName: "empty" }] : /* istanbul ignore next */ []);
5830
+ this.busy = computed(() => this.loading() || this.loadingMore(), ...ngDevMode ? [{ debugName: "busy" }] : /* istanbul ignore next */ []);
5831
+ this.showLoadMore = computed(() => this.hasMore() && !this.busy() && this.error() === null && this.visible().length > 0, ...ngDevMode ? [{ debugName: "showLoadMore" }] : /* istanbul ignore next */ []);
5804
5832
  this.emptyMessage = computed(() => {
5833
+ if (this.error() !== null) return null;
5805
5834
  switch (this.empty()) {
5806
5835
  case "loading": return this.loadingText();
5807
5836
  case "empty": return this.emptyText();
@@ -5822,7 +5851,7 @@ var ComboboxComponent = class ComboboxComponent {
5822
5851
  onQuery(event) {
5823
5852
  const query = event.target.value;
5824
5853
  this.query.set(query);
5825
- this.cursor.set(0);
5854
+ this.cursor.set(firstEnabledIndex(this.visible()));
5826
5855
  this.cancelSearchTimer();
5827
5856
  this.searchTimer = setTimeout(() => this.searchChange.emit(query), SEARCH_DEBOUNCE_MS);
5828
5857
  }
@@ -5843,6 +5872,7 @@ var ComboboxComponent = class ComboboxComponent {
5843
5872
  switch (intent) {
5844
5873
  case "next":
5845
5874
  case "previous":
5875
+ if (intent === "next" && this.active() === this.visible().length - 1) this.requestMore();
5846
5876
  this.moveActive(stepActive(this.active(), this.visible().length, intent));
5847
5877
  break;
5848
5878
  case "select": {
@@ -5860,6 +5890,18 @@ var ComboboxComponent = class ComboboxComponent {
5860
5890
  const option = this.visible()[Number(row?.dataset["index"])];
5861
5891
  if (option) this.select(option);
5862
5892
  }
5893
+ onListScroll(event) {
5894
+ const list = event.target;
5895
+ if (isNearEnd(list.scrollTop, list.clientHeight, list.scrollHeight, LOAD_MORE_THRESHOLD_PX)) this.requestMore();
5896
+ }
5897
+ onLoadMoreClick() {
5898
+ this.requestMore();
5899
+ this.search()?.nativeElement.focus();
5900
+ }
5901
+ onRetryClick() {
5902
+ this.retry.emit();
5903
+ this.search()?.nativeElement.focus();
5904
+ }
5863
5905
  onOutsideClick(event) {
5864
5906
  if (this.trigger()?.nativeElement.contains(event.target)) return;
5865
5907
  this.close(false);
@@ -5879,7 +5921,7 @@ var ComboboxComponent = class ComboboxComponent {
5879
5921
  if (restoreFocus) this.trigger()?.nativeElement.focus();
5880
5922
  }
5881
5923
  select(option) {
5882
- if (this.disabled()) return;
5924
+ if (this.disabled() || option.disabled) return;
5883
5925
  this.picked.set(option);
5884
5926
  this.value.set(option.value);
5885
5927
  this.onChange(option.value);
@@ -5887,12 +5929,18 @@ var ComboboxComponent = class ComboboxComponent {
5887
5929
  }
5888
5930
  openPanel() {
5889
5931
  if (this.disabled() || this.open()) return;
5890
- this.cursor.set(Math.max(this.visible().findIndex((o) => this.isSelected(o)), 0));
5932
+ const selected = this.visible().findIndex((o) => this.isSelected(o));
5933
+ this.cursor.set(selected >= 0 ? selected : firstEnabledIndex(this.visible()));
5891
5934
  this.panelTokens.set(inheritedTokens(this.host.nativeElement));
5892
5935
  this.panelMinWidth.set(this.trigger()?.nativeElement.offsetWidth ?? 0);
5893
5936
  this.open.set(true);
5894
5937
  afterNextRender(() => this.search()?.nativeElement.focus(), { injector: this.injector });
5895
5938
  }
5939
+ requestMore() {
5940
+ if (!canLoadMore(this.hasMore(), this.busy() || this.error() !== null, this.moreRequested())) return;
5941
+ this.moreRequested.set(true);
5942
+ this.loadMore.emit();
5943
+ }
5896
5944
  moveActive(index) {
5897
5945
  this.cursor.set(index);
5898
5946
  this.listbox()?.nativeElement.querySelector(`#${this.optionId(index)}`)?.scrollIntoView({ block: "nearest" });
@@ -6002,6 +6050,48 @@ var ComboboxComponent = class ComboboxComponent {
6002
6050
  isRequired: false,
6003
6051
  transformFunction: null
6004
6052
  },
6053
+ hasMore: {
6054
+ classPropertyName: "hasMore",
6055
+ publicName: "hasMore",
6056
+ isSignal: true,
6057
+ isRequired: false,
6058
+ transformFunction: null
6059
+ },
6060
+ loadingMore: {
6061
+ classPropertyName: "loadingMore",
6062
+ publicName: "loadingMore",
6063
+ isSignal: true,
6064
+ isRequired: false,
6065
+ transformFunction: null
6066
+ },
6067
+ loadMoreLabel: {
6068
+ classPropertyName: "loadMoreLabel",
6069
+ publicName: "loadMoreLabel",
6070
+ isSignal: true,
6071
+ isRequired: false,
6072
+ transformFunction: null
6073
+ },
6074
+ loadingMoreText: {
6075
+ classPropertyName: "loadingMoreText",
6076
+ publicName: "loadingMoreText",
6077
+ isSignal: true,
6078
+ isRequired: false,
6079
+ transformFunction: null
6080
+ },
6081
+ error: {
6082
+ classPropertyName: "error",
6083
+ publicName: "error",
6084
+ isSignal: true,
6085
+ isRequired: false,
6086
+ transformFunction: null
6087
+ },
6088
+ retryLabel: {
6089
+ classPropertyName: "retryLabel",
6090
+ publicName: "retryLabel",
6091
+ isSignal: true,
6092
+ isRequired: false,
6093
+ transformFunction: null
6094
+ },
6005
6095
  ariaLabel: {
6006
6096
  classPropertyName: "ariaLabel",
6007
6097
  publicName: "aria-label",
@@ -6017,7 +6107,11 @@ var ComboboxComponent = class ComboboxComponent {
6017
6107
  transformFunction: null
6018
6108
  }
6019
6109
  },
6020
- outputs: { searchChange: "searchChange" },
6110
+ outputs: {
6111
+ searchChange: "searchChange",
6112
+ loadMore: "loadMore",
6113
+ retry: "retry"
6114
+ },
6021
6115
  host: {
6022
6116
  listeners: { "focusout": "onFocusOut($event)" },
6023
6117
  properties: {
@@ -6061,10 +6155,10 @@ var ComboboxComponent = class ComboboxComponent {
6061
6155
  }
6062
6156
  ],
6063
6157
  ngImport: i0,
6064
- template: "<button\n #trigger\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n type=\"button\"\n role=\"combobox\"\n class=\"flr-ms__trigger\"\n [class.flr-ms__trigger--invalid]=\"invalid()\"\n [class.flr-ms__trigger--placeholder]=\"selectedLabel() === null\"\n [attr.id]=\"triggerId()\"\n [attr.aria-label]=\"triggerLabel()\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? uid + '-list' : null\"\n [attr.aria-invalid]=\"invalid() || null\"\n [disabled]=\"disabled()\"\n (click)=\"toggleOpen()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"flr-ms__summary\">{{ summary() }}</span>\n</button>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelMinWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"close(false)\"\n>\n <div\n #panel\n class=\"flr-ms flr-ms__panel flr-cb__panel\"\n role=\"presentation\"\n [style]=\"panelTokens()\"\n (mousedown)=\"$event.preventDefault()\"\n (focusout)=\"onFocusOut($event)\"\n >\n <input\n #search\n class=\"flr-ms__search\"\n type=\"search\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n aria-expanded=\"true\"\n [attr.aria-label]=\"searchPlaceholder()\"\n [attr.aria-controls]=\"uid + '-list'\"\n [attr.aria-activedescendant]=\"activeOptionId()\"\n [placeholder]=\"searchPlaceholder()\"\n [value]=\"query()\"\n (input)=\"onQuery($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n />\n\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <div\n #listbox\n class=\"flr-ms__list\"\n role=\"listbox\"\n [attr.id]=\"uid + '-list'\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading()\"\n (click)=\"onListClick($event)\"\n >\n @for (o of visible(); track o.value; let i = $index) {\n <div\n class=\"flr-ms__row\"\n role=\"option\"\n [attr.id]=\"optionId(i)\"\n [attr.aria-selected]=\"isSelected(o)\"\n [class.flr-ms__row--on]=\"isSelected(o)\"\n [class.flr-cb__row--active]=\"i === active()\"\n [attr.data-index]=\"i\"\n >\n <span class=\"flr-ms__text\">\n <span class=\"flr-ms__label\">{{ o.label }}</span>\n @if (o.hint) {\n <span class=\"flr-ms__hint\">{{ o.hint }}</span>\n }\n </span>\n </div>\n }\n </div>\n\n @if (emptyMessage(); as message) {\n <p class=\"flr-ms__empty\" role=\"status\">{{ message }}</p>\n }\n </div>\n</ng-template>\n",
6158
+ template: "<button\n #trigger\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n type=\"button\"\n role=\"combobox\"\n class=\"flr-ms__trigger\"\n [class.flr-ms__trigger--invalid]=\"invalid()\"\n [class.flr-ms__trigger--placeholder]=\"selectedLabel() === null\"\n [attr.id]=\"triggerId()\"\n [attr.aria-label]=\"triggerLabel()\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? uid + '-list' : null\"\n [attr.aria-invalid]=\"invalid() || null\"\n [disabled]=\"disabled()\"\n (click)=\"toggleOpen()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"flr-ms__summary\">{{ summary() }}</span>\n</button>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelMinWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"close(false)\"\n>\n <div\n #panel\n class=\"flr-ms flr-ms__panel flr-cb__panel\"\n role=\"presentation\"\n [style]=\"panelTokens()\"\n (mousedown)=\"$event.preventDefault()\"\n (focusout)=\"onFocusOut($event)\"\n (keydown.escape)=\"close(true)\"\n >\n <input\n #search\n class=\"flr-ms__search\"\n type=\"search\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n aria-expanded=\"true\"\n [attr.aria-label]=\"searchPlaceholder()\"\n [attr.aria-controls]=\"uid + '-list'\"\n [attr.aria-activedescendant]=\"activeOptionId()\"\n [placeholder]=\"searchPlaceholder()\"\n [value]=\"query()\"\n (input)=\"onQuery($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n />\n\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <div\n #listbox\n class=\"flr-ms__list\"\n role=\"listbox\"\n [attr.id]=\"uid + '-list'\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"busy()\"\n (click)=\"onListClick($event)\"\n (scroll)=\"onListScroll($event)\"\n >\n @for (o of visible(); track o.value; let i = $index) {\n <div\n class=\"flr-ms__row\"\n role=\"option\"\n [attr.id]=\"optionId(i)\"\n [attr.aria-selected]=\"isSelected(o)\"\n [attr.aria-disabled]=\"o.disabled || null\"\n [class.flr-cb__row--disabled]=\"o.disabled\"\n [class.flr-ms__row--on]=\"isSelected(o)\"\n [class.flr-cb__row--active]=\"i === active()\"\n [attr.data-index]=\"i\"\n >\n <span class=\"flr-ms__text\">\n <span class=\"flr-ms__label\">{{ o.label }}</span>\n @if (o.hint) {\n <span class=\"flr-ms__hint\">{{ o.hint }}</span>\n }\n @if (o.disabled && o.disabledReason) {\n <span class=\"flr-cb__reason\">{{ o.disabledReason }}</span>\n }\n </span>\n </div>\n }\n </div>\n\n @if (emptyMessage(); as message) {\n <p class=\"flr-ms__empty\" role=\"status\">{{ message }}</p>\n }\n\n @if (error(); as message) {\n <div class=\"flr-cb__error\" role=\"alert\">\n <p class=\"flr-cb__error-text\">{{ message }}</p>\n <button type=\"button\" class=\"flr-cb__action\" (click)=\"onRetryClick()\">\n {{ retryLabel() }}\n </button>\n </div>\n } @else if (loadingMore()) {\n <p class=\"flr-cb__more-status\" role=\"status\">{{ loadingMoreText() }}</p>\n } @else if (showLoadMore()) {\n <button type=\"button\" class=\"flr-cb__action flr-cb__action--more\" (click)=\"onLoadMoreClick()\">\n {{ loadMoreLabel() }}\n </button>\n }\n </div>\n</ng-template>\n",
6065
6159
  styles: [
6066
6160
  "flr-multi-select,.flr-ms__panel{--flr-ms-accent: var(--flr-accent, var(--color-accent, #f59e0b));--flr-ms-accent-ink: var(--flr-accent-ink, var(--color-on-accent, #ffffff));--flr-ms-rule: var(--flr-rule, #e2e8f0)}flr-multi-select{display:block}.flr-ms{border:1px solid var(--flr-ms-rule);border-radius:var(--radius-card, 16px);corner-shape:var(--corner-shape, round);overflow:hidden;background:var(--flr-bg, var(--color-card, #fff))}.flr-ms--invalid{border-color:var(--color-danger, #dc2626)}.flr-ms__trigger{display:flex;align-items:center;width:100%;height:var(--control-height, 40px);box-sizing:border-box;padding:0 32px 0 12px;font-family:var(--font-sans, \"Fraunces\", Georgia, ui-serif, serif);font-size:14px;line-height:1.4;text-align:left;color:var(--color-ink, #1e293b);background-color:var(--color-card, #ffffff);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m4 6 4 4 4-4'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px;border:1px solid var(--color-rule-strong, rgba(30, 41, 59, .28));border-radius:var(--radius-card, 16px);corner-shape:var(--corner-shape, round);outline:none;cursor:pointer;transition:border-color .14s,box-shadow .14s}.flr-ms__trigger:focus-visible,.flr-ms__trigger[aria-expanded=true]{border-color:var(--color-accent, var(--color-ink, #1e293b));box-shadow:0 0 0 3px color-mix(in oklab,var(--color-accent, var(--color-ink, #1e293b)) 30%,transparent)}.flr-ms__trigger--invalid,.flr-ms__trigger--invalid:focus-visible{border-color:var(--color-danger, #dc2626)}.flr-ms__trigger:disabled{cursor:not-allowed;opacity:.65;background-color:var(--color-paper-2, #f1f5f9)}.flr-ms__trigger--placeholder .flr-ms__summary{color:var(--color-ink-3, #5d6b80)}.flr-ms__summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flr-ms__panel{width:max-content;min-width:100%;max-width:min(360px,calc(100vw - 32px));box-sizing:border-box;box-shadow:0 8px 24px #0f172a2e}.flr-ms__search{width:100%;box-sizing:border-box;border:0;border-bottom:1px solid var(--flr-ms-rule);padding:9px 12px;font:400 13px/1.4 var(--flr-font-sans, system-ui);color:inherit;background:transparent}.flr-ms__search::placeholder{color:var(--color-ink-3, #5d6b80);opacity:1}.flr-ms__search:focus{outline:none;border-bottom-color:var(--flr-ms-accent)}.flr-ms__list{max-height:260px;overflow-y:auto}.flr-ms__list:focus{outline:none}.flr-ms__row{position:relative;display:flex;align-items:flex-start;gap:9px;padding:8px 12px;cursor:pointer;font:400 13px/1.4 var(--flr-font-sans, system-ui)}.flr-ms__panel .flr-ms__row{align-items:center;min-height:44px;box-sizing:border-box}.flr-ms__row:hover{background:color-mix(in oklab,currentColor 5%,transparent)}.flr-ms__row--on{background:color-mix(in oklab,var(--flr-ms-accent) 8%,transparent)}.flr-ms__list:focus-visible .flr-ms__row--active{outline:2px solid var(--flr-ms-accent);outline-offset:-2px}.flr-ms__native{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}.flr-ms__check{position:relative;flex-shrink:0;width:16px;height:16px;margin-top:2px;box-sizing:border-box;border:1px solid var(--flr-rule, var(--color-rule-strong, rgba(30, 41, 59, .28)));border-radius:min(var(--radius-control, 8px),4px);corner-shape:var(--corner-shape, round);background:transparent;transition:background .14s,border-color .14s}.flr-ms__panel .flr-ms__check{margin-top:0}.flr-ms__check:after{content:\"\";position:absolute;inset:0;background:var(--flr-ms-accent-ink);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 8 3 3 5-6'/%3E%3C/svg%3E\") center / 12px 12px no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 8 3 3 5-6'/%3E%3C/svg%3E\") center / 12px 12px no-repeat;opacity:0;transition:opacity .12s}.flr-ms__row--on .flr-ms__check{background:var(--flr-ms-accent);border-color:var(--flr-ms-accent)}.flr-ms__row--on .flr-ms__check:after{opacity:1}.flr-ms__native:focus-visible+.flr-ms__check{box-shadow:0 0 0 3px color-mix(in oklab,var(--flr-ms-accent) 35%,transparent)}.flr-ms__native:disabled+.flr-ms__check{opacity:.5}.flr-ms__text{display:flex;flex-direction:column;min-width:0}.flr-ms__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flr-ms__hint{font-size:11.5px;color:var(--color-ink-3, #5d6b80);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flr-ms__empty{margin:0;padding:14px 12px;font:400 12.5px/1.4 var(--flr-font-sans, system-ui);color:var(--color-ink-3, #5d6b80)}.flr-ms__foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;border-top:1px solid var(--flr-ms-rule);font:400 11.5px/1 var(--flr-font-sans, system-ui);opacity:.75}.flr-ms__clear{border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-decoration:underline;padding:0}@media(prefers-reduced-motion:reduce){.flr-ms__trigger,.flr-ms__check,.flr-ms__check:after{transition:none}}\n",
6067
- "flr-combobox{display:block}.flr-cb__panel .flr-ms__row--on .flr-ms__label{font-weight:600}.flr-cb__row--active{background:color-mix(in oklab,currentColor 8%,transparent)}\n",
6161
+ "flr-combobox{display:block}.flr-cb__panel .flr-ms__row--on .flr-ms__label{font-weight:600}.flr-cb__row--active{background:color-mix(in oklab,currentColor 8%,transparent)}.flr-cb__row--disabled,.flr-cb__row--disabled:hover{cursor:not-allowed}.flr-cb__row--disabled:not(.flr-cb__row--active):hover{background:transparent}.flr-cb__row--disabled .flr-ms__label{color:var(--color-ink-3)}.flr-cb__reason{font-size:11.5px;overflow-wrap:anywhere}.flr-cb__more-status,.flr-cb__action{min-height:44px;box-sizing:border-box;margin:0;padding:8px 12px;font:400 13px/1.4 var(--flr-font-sans, system-ui)}.flr-cb__more-status,.flr-cb__action--more{display:flex;align-items:center;width:100%;border-top:1px solid var(--flr-ms-rule)}.flr-cb__more-status{color:var(--color-ink-3)}.flr-cb__action{border:0;background:transparent;color:inherit;cursor:pointer;font-weight:500;text-align:left;text-decoration:underline;text-underline-offset:3px}.flr-cb__action:hover{background:color-mix(in oklab,currentColor 5%,transparent)}.flr-cb__action:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.flr-cb__error{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 8px;padding:4px 0 4px 12px;border-top:1px solid var(--flr-ms-rule)}.flr-cb__error-text{flex:1 1 160px;margin:0;padding:8px 0;font:400 12.5px/1.4 var(--flr-font-sans, system-ui);color:var(--color-danger-text)}.flr-ms__list:empty~.flr-cb__error{border-top:0}\n",
6068
6162
  ".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"
6069
6163
  ],
6070
6164
  dependencies: [
@@ -6147,10 +6241,10 @@ i0.ɵɵngDeclareClassMetadata({
6147
6241
  "[attr.aria-label]": "null",
6148
6242
  "(focusout)": "onFocusOut($event)"
6149
6243
  },
6150
- template: "<button\n #trigger\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n type=\"button\"\n role=\"combobox\"\n class=\"flr-ms__trigger\"\n [class.flr-ms__trigger--invalid]=\"invalid()\"\n [class.flr-ms__trigger--placeholder]=\"selectedLabel() === null\"\n [attr.id]=\"triggerId()\"\n [attr.aria-label]=\"triggerLabel()\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? uid + '-list' : null\"\n [attr.aria-invalid]=\"invalid() || null\"\n [disabled]=\"disabled()\"\n (click)=\"toggleOpen()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"flr-ms__summary\">{{ summary() }}</span>\n</button>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelMinWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"close(false)\"\n>\n <div\n #panel\n class=\"flr-ms flr-ms__panel flr-cb__panel\"\n role=\"presentation\"\n [style]=\"panelTokens()\"\n (mousedown)=\"$event.preventDefault()\"\n (focusout)=\"onFocusOut($event)\"\n >\n <input\n #search\n class=\"flr-ms__search\"\n type=\"search\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n aria-expanded=\"true\"\n [attr.aria-label]=\"searchPlaceholder()\"\n [attr.aria-controls]=\"uid + '-list'\"\n [attr.aria-activedescendant]=\"activeOptionId()\"\n [placeholder]=\"searchPlaceholder()\"\n [value]=\"query()\"\n (input)=\"onQuery($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n />\n\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <div\n #listbox\n class=\"flr-ms__list\"\n role=\"listbox\"\n [attr.id]=\"uid + '-list'\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"loading()\"\n (click)=\"onListClick($event)\"\n >\n @for (o of visible(); track o.value; let i = $index) {\n <div\n class=\"flr-ms__row\"\n role=\"option\"\n [attr.id]=\"optionId(i)\"\n [attr.aria-selected]=\"isSelected(o)\"\n [class.flr-ms__row--on]=\"isSelected(o)\"\n [class.flr-cb__row--active]=\"i === active()\"\n [attr.data-index]=\"i\"\n >\n <span class=\"flr-ms__text\">\n <span class=\"flr-ms__label\">{{ o.label }}</span>\n @if (o.hint) {\n <span class=\"flr-ms__hint\">{{ o.hint }}</span>\n }\n </span>\n </div>\n }\n </div>\n\n @if (emptyMessage(); as message) {\n <p class=\"flr-ms__empty\" role=\"status\">{{ message }}</p>\n }\n </div>\n</ng-template>\n",
6244
+ template: "<button\n #trigger\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n type=\"button\"\n role=\"combobox\"\n class=\"flr-ms__trigger\"\n [class.flr-ms__trigger--invalid]=\"invalid()\"\n [class.flr-ms__trigger--placeholder]=\"selectedLabel() === null\"\n [attr.id]=\"triggerId()\"\n [attr.aria-label]=\"triggerLabel()\"\n aria-haspopup=\"listbox\"\n [attr.aria-expanded]=\"open()\"\n [attr.aria-controls]=\"open() ? uid + '-list' : null\"\n [attr.aria-invalid]=\"invalid() || null\"\n [disabled]=\"disabled()\"\n (click)=\"toggleOpen()\"\n (keydown)=\"onTriggerKeydown($event)\"\n>\n <span class=\"flr-ms__summary\">{{ summary() }}</span>\n</button>\n\n<ng-template\n cdkConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"open()\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"panelMinWidth()\"\n (overlayOutsideClick)=\"onOutsideClick($event)\"\n (detach)=\"close(false)\"\n>\n <div\n #panel\n class=\"flr-ms flr-ms__panel flr-cb__panel\"\n role=\"presentation\"\n [style]=\"panelTokens()\"\n (mousedown)=\"$event.preventDefault()\"\n (focusout)=\"onFocusOut($event)\"\n (keydown.escape)=\"close(true)\"\n >\n <input\n #search\n class=\"flr-ms__search\"\n type=\"search\"\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-haspopup=\"listbox\"\n aria-expanded=\"true\"\n [attr.aria-label]=\"searchPlaceholder()\"\n [attr.aria-controls]=\"uid + '-list'\"\n [attr.aria-activedescendant]=\"activeOptionId()\"\n [placeholder]=\"searchPlaceholder()\"\n [value]=\"query()\"\n (input)=\"onQuery($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n />\n\n <!-- eslint-disable-next-line @angular-eslint/template/click-events-have-key-events, @angular-eslint/template/interactive-supports-focus -->\n <div\n #listbox\n class=\"flr-ms__list\"\n role=\"listbox\"\n [attr.id]=\"uid + '-list'\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-busy]=\"busy()\"\n (click)=\"onListClick($event)\"\n (scroll)=\"onListScroll($event)\"\n >\n @for (o of visible(); track o.value; let i = $index) {\n <div\n class=\"flr-ms__row\"\n role=\"option\"\n [attr.id]=\"optionId(i)\"\n [attr.aria-selected]=\"isSelected(o)\"\n [attr.aria-disabled]=\"o.disabled || null\"\n [class.flr-cb__row--disabled]=\"o.disabled\"\n [class.flr-ms__row--on]=\"isSelected(o)\"\n [class.flr-cb__row--active]=\"i === active()\"\n [attr.data-index]=\"i\"\n >\n <span class=\"flr-ms__text\">\n <span class=\"flr-ms__label\">{{ o.label }}</span>\n @if (o.hint) {\n <span class=\"flr-ms__hint\">{{ o.hint }}</span>\n }\n @if (o.disabled && o.disabledReason) {\n <span class=\"flr-cb__reason\">{{ o.disabledReason }}</span>\n }\n </span>\n </div>\n }\n </div>\n\n @if (emptyMessage(); as message) {\n <p class=\"flr-ms__empty\" role=\"status\">{{ message }}</p>\n }\n\n @if (error(); as message) {\n <div class=\"flr-cb__error\" role=\"alert\">\n <p class=\"flr-cb__error-text\">{{ message }}</p>\n <button type=\"button\" class=\"flr-cb__action\" (click)=\"onRetryClick()\">\n {{ retryLabel() }}\n </button>\n </div>\n } @else if (loadingMore()) {\n <p class=\"flr-cb__more-status\" role=\"status\">{{ loadingMoreText() }}</p>\n } @else if (showLoadMore()) {\n <button type=\"button\" class=\"flr-cb__action flr-cb__action--more\" (click)=\"onLoadMoreClick()\">\n {{ loadMoreLabel() }}\n </button>\n }\n </div>\n</ng-template>\n",
6151
6245
  styles: [
6152
6246
  "flr-multi-select,.flr-ms__panel{--flr-ms-accent: var(--flr-accent, var(--color-accent, #f59e0b));--flr-ms-accent-ink: var(--flr-accent-ink, var(--color-on-accent, #ffffff));--flr-ms-rule: var(--flr-rule, #e2e8f0)}flr-multi-select{display:block}.flr-ms{border:1px solid var(--flr-ms-rule);border-radius:var(--radius-card, 16px);corner-shape:var(--corner-shape, round);overflow:hidden;background:var(--flr-bg, var(--color-card, #fff))}.flr-ms--invalid{border-color:var(--color-danger, #dc2626)}.flr-ms__trigger{display:flex;align-items:center;width:100%;height:var(--control-height, 40px);box-sizing:border-box;padding:0 32px 0 12px;font-family:var(--font-sans, \"Fraunces\", Georgia, ui-serif, serif);font-size:14px;line-height:1.4;text-align:left;color:var(--color-ink, #1e293b);background-color:var(--color-card, #ffffff);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m4 6 4 4 4-4'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-position:right 10px center;background-size:16px 16px;border:1px solid var(--color-rule-strong, rgba(30, 41, 59, .28));border-radius:var(--radius-card, 16px);corner-shape:var(--corner-shape, round);outline:none;cursor:pointer;transition:border-color .14s,box-shadow .14s}.flr-ms__trigger:focus-visible,.flr-ms__trigger[aria-expanded=true]{border-color:var(--color-accent, var(--color-ink, #1e293b));box-shadow:0 0 0 3px color-mix(in oklab,var(--color-accent, var(--color-ink, #1e293b)) 30%,transparent)}.flr-ms__trigger--invalid,.flr-ms__trigger--invalid:focus-visible{border-color:var(--color-danger, #dc2626)}.flr-ms__trigger:disabled{cursor:not-allowed;opacity:.65;background-color:var(--color-paper-2, #f1f5f9)}.flr-ms__trigger--placeholder .flr-ms__summary{color:var(--color-ink-3, #5d6b80)}.flr-ms__summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flr-ms__panel{width:max-content;min-width:100%;max-width:min(360px,calc(100vw - 32px));box-sizing:border-box;box-shadow:0 8px 24px #0f172a2e}.flr-ms__search{width:100%;box-sizing:border-box;border:0;border-bottom:1px solid var(--flr-ms-rule);padding:9px 12px;font:400 13px/1.4 var(--flr-font-sans, system-ui);color:inherit;background:transparent}.flr-ms__search::placeholder{color:var(--color-ink-3, #5d6b80);opacity:1}.flr-ms__search:focus{outline:none;border-bottom-color:var(--flr-ms-accent)}.flr-ms__list{max-height:260px;overflow-y:auto}.flr-ms__list:focus{outline:none}.flr-ms__row{position:relative;display:flex;align-items:flex-start;gap:9px;padding:8px 12px;cursor:pointer;font:400 13px/1.4 var(--flr-font-sans, system-ui)}.flr-ms__panel .flr-ms__row{align-items:center;min-height:44px;box-sizing:border-box}.flr-ms__row:hover{background:color-mix(in oklab,currentColor 5%,transparent)}.flr-ms__row--on{background:color-mix(in oklab,var(--flr-ms-accent) 8%,transparent)}.flr-ms__list:focus-visible .flr-ms__row--active{outline:2px solid var(--flr-ms-accent);outline-offset:-2px}.flr-ms__native{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}.flr-ms__check{position:relative;flex-shrink:0;width:16px;height:16px;margin-top:2px;box-sizing:border-box;border:1px solid var(--flr-rule, var(--color-rule-strong, rgba(30, 41, 59, .28)));border-radius:min(var(--radius-control, 8px),4px);corner-shape:var(--corner-shape, round);background:transparent;transition:background .14s,border-color .14s}.flr-ms__panel .flr-ms__check{margin-top:0}.flr-ms__check:after{content:\"\";position:absolute;inset:0;background:var(--flr-ms-accent-ink);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 8 3 3 5-6'/%3E%3C/svg%3E\") center / 12px 12px no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m4 8 3 3 5-6'/%3E%3C/svg%3E\") center / 12px 12px no-repeat;opacity:0;transition:opacity .12s}.flr-ms__row--on .flr-ms__check{background:var(--flr-ms-accent);border-color:var(--flr-ms-accent)}.flr-ms__row--on .flr-ms__check:after{opacity:1}.flr-ms__native:focus-visible+.flr-ms__check{box-shadow:0 0 0 3px color-mix(in oklab,var(--flr-ms-accent) 35%,transparent)}.flr-ms__native:disabled+.flr-ms__check{opacity:.5}.flr-ms__text{display:flex;flex-direction:column;min-width:0}.flr-ms__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flr-ms__hint{font-size:11.5px;color:var(--color-ink-3, #5d6b80);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.flr-ms__empty{margin:0;padding:14px 12px;font:400 12.5px/1.4 var(--flr-font-sans, system-ui);color:var(--color-ink-3, #5d6b80)}.flr-ms__foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 12px;border-top:1px solid var(--flr-ms-rule);font:400 11.5px/1 var(--flr-font-sans, system-ui);opacity:.75}.flr-ms__clear{border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;text-decoration:underline;padding:0}@media(prefers-reduced-motion:reduce){.flr-ms__trigger,.flr-ms__check,.flr-ms__check:after{transition:none}}\n",
6153
- "flr-combobox{display:block}.flr-cb__panel .flr-ms__row--on .flr-ms__label{font-weight:600}.flr-cb__row--active{background:color-mix(in oklab,currentColor 8%,transparent)}\n",
6247
+ "flr-combobox{display:block}.flr-cb__panel .flr-ms__row--on .flr-ms__label{font-weight:600}.flr-cb__row--active{background:color-mix(in oklab,currentColor 8%,transparent)}.flr-cb__row--disabled,.flr-cb__row--disabled:hover{cursor:not-allowed}.flr-cb__row--disabled:not(.flr-cb__row--active):hover{background:transparent}.flr-cb__row--disabled .flr-ms__label{color:var(--color-ink-3)}.flr-cb__reason{font-size:11.5px;overflow-wrap:anywhere}.flr-cb__more-status,.flr-cb__action{min-height:44px;box-sizing:border-box;margin:0;padding:8px 12px;font:400 13px/1.4 var(--flr-font-sans, system-ui)}.flr-cb__more-status,.flr-cb__action--more{display:flex;align-items:center;width:100%;border-top:1px solid var(--flr-ms-rule)}.flr-cb__more-status{color:var(--color-ink-3)}.flr-cb__action{border:0;background:transparent;color:inherit;cursor:pointer;font-weight:500;text-align:left;text-decoration:underline;text-underline-offset:3px}.flr-cb__action:hover{background:color-mix(in oklab,currentColor 5%,transparent)}.flr-cb__action:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.flr-cb__error{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0 8px;padding:4px 0 4px 12px;border-top:1px solid var(--flr-ms-rule)}.flr-cb__error-text{flex:1 1 160px;margin:0;padding:8px 0;font:400 12.5px/1.4 var(--flr-font-sans, system-ui);color:var(--color-danger-text)}.flr-ms__list:empty~.flr-cb__error{border-top:0}\n",
6154
6248
  ".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%;z-index:1000}.cdk-overlay-backdrop{position:absolute;inset:0;pointer-events:auto;-webkit-tap-highlight-color:transparent;opacity:0;touch-action:manipulation;z-index:1000;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors:active){.cdk-overlay-backdrop-showing{opacity:.6}}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px;z-index:1000}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:0 auto auto 0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}\n"
6155
6249
  ]
6156
6250
  }]
@@ -6229,6 +6323,54 @@ i0.ɵɵngDeclareClassMetadata({
6229
6323
  required: false
6230
6324
  }]
6231
6325
  }],
6326
+ hasMore: [{
6327
+ type: i0.Input,
6328
+ args: [{
6329
+ isSignal: true,
6330
+ alias: "hasMore",
6331
+ required: false
6332
+ }]
6333
+ }],
6334
+ loadingMore: [{
6335
+ type: i0.Input,
6336
+ args: [{
6337
+ isSignal: true,
6338
+ alias: "loadingMore",
6339
+ required: false
6340
+ }]
6341
+ }],
6342
+ loadMoreLabel: [{
6343
+ type: i0.Input,
6344
+ args: [{
6345
+ isSignal: true,
6346
+ alias: "loadMoreLabel",
6347
+ required: false
6348
+ }]
6349
+ }],
6350
+ loadingMoreText: [{
6351
+ type: i0.Input,
6352
+ args: [{
6353
+ isSignal: true,
6354
+ alias: "loadingMoreText",
6355
+ required: false
6356
+ }]
6357
+ }],
6358
+ error: [{
6359
+ type: i0.Input,
6360
+ args: [{
6361
+ isSignal: true,
6362
+ alias: "error",
6363
+ required: false
6364
+ }]
6365
+ }],
6366
+ retryLabel: [{
6367
+ type: i0.Input,
6368
+ args: [{
6369
+ isSignal: true,
6370
+ alias: "retryLabel",
6371
+ required: false
6372
+ }]
6373
+ }],
6232
6374
  ariaLabel: [{
6233
6375
  type: i0.Input,
6234
6376
  args: [{
@@ -6249,6 +6391,14 @@ i0.ɵɵngDeclareClassMetadata({
6249
6391
  type: i0.Output,
6250
6392
  args: ["searchChange"]
6251
6393
  }],
6394
+ loadMore: [{
6395
+ type: i0.Output,
6396
+ args: ["loadMore"]
6397
+ }],
6398
+ retry: [{
6399
+ type: i0.Output,
6400
+ args: ["retry"]
6401
+ }],
6252
6402
  trigger: [{
6253
6403
  type: i0.ViewChild,
6254
6404
  args: ["trigger", { isSignal: true }]
@@ -6267,6 +6417,348 @@ i0.ɵɵngDeclareClassMetadata({
6267
6417
  }]
6268
6418
  }
6269
6419
  });
6420
+ const DEFAULT_SECRET_FIELD_LABELS = {
6421
+ show: "Show",
6422
+ hide: "Hide",
6423
+ copy: "Copy",
6424
+ masked: "Hidden. Use Show to read it, or Copy to copy it without showing it.",
6425
+ loading: "Loading…",
6426
+ hidden: "Hidden.",
6427
+ copied: "Copied to clipboard.",
6428
+ copyFailed: "Could not copy. Show the value, then select it and copy it yourself.",
6429
+ shown: (seconds) => seconds > 0 ? `Shown. Hides again in ${seconds} seconds.` : "Shown."
6430
+ };
6431
+ function remaskSeconds(seconds) {
6432
+ return Number.isFinite(seconds) && seconds >= 1 ? Math.floor(seconds) : 0;
6433
+ }
6434
+ function actionName(action, subject) {
6435
+ return `${action} ${subject}`;
6436
+ }
6437
+ const COPIED_RESET_MS = 1600;
6438
+ const TICK_MS = 1e3;
6439
+ let nextId$2 = 0;
6440
+ var SecretFieldComponent = class SecretFieldComponent {
6441
+ constructor() {
6442
+ this.value = input(null, ...ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []);
6443
+ this.ariaLabel = input.required({
6444
+ ...ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {},
6445
+ alias: "aria-label"
6446
+ });
6447
+ this.inputId = input(null, {
6448
+ ...ngDevMode ? { debugName: "inputId" } : /* istanbul ignore next */ {},
6449
+ alias: "id"
6450
+ });
6451
+ this.revealSeconds = input(30, ...ngDevMode ? [{ debugName: "revealSeconds" }] : /* istanbul ignore next */ []);
6452
+ this.error = input(null, ...ngDevMode ? [{ debugName: "error" }] : /* istanbul ignore next */ []);
6453
+ this.labels = input({}, ...ngDevMode ? [{ debugName: "labels" }] : /* istanbul ignore next */ []);
6454
+ this.valueRequest = output();
6455
+ this.revealedChange = output();
6456
+ this.copied = output();
6457
+ this.uid = `flr-secret-${nextId$2++}`;
6458
+ this.remaining = signal(0, ...ngDevMode ? [{ debugName: "remaining" }] : /* istanbul ignore next */ []);
6459
+ this.justCopied = signal(false, ...ngDevMode ? [{ debugName: "justCopied" }] : /* istanbul ignore next */ []);
6460
+ this.copyFailed = signal(false, ...ngDevMode ? [{ debugName: "copyFailed" }] : /* istanbul ignore next */ []);
6461
+ this.announcement = signal("", ...ngDevMode ? [{ debugName: "announcement" }] : /* istanbul ignore next */ []);
6462
+ this.wantsReveal = signal(false, ...ngDevMode ? [{ debugName: "wantsReveal" }] : /* istanbul ignore next */ []);
6463
+ this.wantsCopy = signal(false, ...ngDevMode ? [{ debugName: "wantsCopy" }] : /* istanbul ignore next */ []);
6464
+ this.document = inject(DOCUMENT);
6465
+ this.control = viewChild("control", ...ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []);
6466
+ this.lastRevealed = false;
6467
+ this.remaskTimer = null;
6468
+ this.copiedTimer = null;
6469
+ this.text = computed(() => ({
6470
+ ...DEFAULT_SECRET_FIELD_LABELS,
6471
+ ...this.labels()
6472
+ }), ...ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []);
6473
+ this.revealed = computed(() => this.wantsReveal() && this.value() !== null, ...ngDevMode ? [{ debugName: "revealed" }] : /* istanbul ignore next */ []);
6474
+ this.loading = computed(() => (this.wantsReveal() || this.wantsCopy()) && this.value() === null && this.error() === null, ...ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []);
6475
+ this.shownValue = computed(() => this.revealed() ? this.value() ?? "" : "", ...ngDevMode ? [{ debugName: "shownValue" }] : /* istanbul ignore next */ []);
6476
+ this.toggleText = computed(() => this.revealed() ? this.text().hide : this.text().show, ...ngDevMode ? [{ debugName: "toggleText" }] : /* istanbul ignore next */ []);
6477
+ this.toggleName = computed(() => actionName(this.toggleText(), this.ariaLabel()), ...ngDevMode ? [{ debugName: "toggleName" }] : /* istanbul ignore next */ []);
6478
+ this.copyName = computed(() => actionName(this.text().copy, this.ariaLabel()), ...ngDevMode ? [{ debugName: "copyName" }] : /* istanbul ignore next */ []);
6479
+ this.message = computed(() => this.error() ?? (this.copyFailed() ? this.text().copyFailed : null), ...ngDevMode ? [{ debugName: "message" }] : /* istanbul ignore next */ []);
6480
+ this.maskedId = `${this.uid}-masked`;
6481
+ this.messageId = `${this.uid}-message`;
6482
+ this.describedBy = computed(() => {
6483
+ if (this.message() !== null) return this.messageId;
6484
+ return this.revealed() ? null : this.maskedId;
6485
+ }, ...ngDevMode ? [{ debugName: "describedBy" }] : /* istanbul ignore next */ []);
6486
+ effect(() => {
6487
+ const value = this.value();
6488
+ const failed = this.error() !== null;
6489
+ untracked(() => this.settle(value, failed));
6490
+ });
6491
+ afterRenderEffect(() => {
6492
+ const describedBy = this.describedBy();
6493
+ const control = this.control()?.nativeElement;
6494
+ if (!control) return;
6495
+ const merged = mergeDescribedBy(control.getAttribute("aria-describedby"), [this.maskedId, this.messageId], describedBy);
6496
+ if (merged) control.setAttribute("aria-describedby", merged);
6497
+ else control.removeAttribute("aria-describedby");
6498
+ });
6499
+ inject(DestroyRef).onDestroy(() => {
6500
+ this.stopRemaskTimer();
6501
+ this.stopCopiedTimer();
6502
+ });
6503
+ }
6504
+ toggle() {
6505
+ if (this.loading()) return;
6506
+ if (this.revealed()) this.hide();
6507
+ else this.reveal();
6508
+ }
6509
+ copy() {
6510
+ if (this.loading()) return;
6511
+ const value = this.value();
6512
+ if (value !== null) {
6513
+ this.write(value);
6514
+ return;
6515
+ }
6516
+ this.wantsCopy.set(true);
6517
+ this.valueRequest.emit();
6518
+ }
6519
+ selectAll(event) {
6520
+ if (this.revealed()) event.target.select();
6521
+ }
6522
+ reveal() {
6523
+ const seconds = remaskSeconds(this.revealSeconds());
6524
+ this.wantsReveal.set(true);
6525
+ this.remaining.set(seconds);
6526
+ this.stopRemaskTimer();
6527
+ if (seconds > 0) this.remaskTimer = setInterval(() => this.tick(), TICK_MS);
6528
+ if (this.value() === null) this.valueRequest.emit();
6529
+ this.syncRevealed();
6530
+ }
6531
+ hide() {
6532
+ this.stopRemaskTimer();
6533
+ this.remaining.set(0);
6534
+ this.wantsReveal.set(false);
6535
+ this.syncRevealed();
6536
+ }
6537
+ tick() {
6538
+ const left = this.remaining() - 1;
6539
+ if (left <= 0) this.hide();
6540
+ else this.remaining.set(left);
6541
+ }
6542
+ settle(value, failed) {
6543
+ if (failed) this.wantsCopy.set(false);
6544
+ if (value === null && (failed || this.lastRevealed)) this.hide();
6545
+ if (value !== null && this.wantsCopy()) {
6546
+ this.wantsCopy.set(false);
6547
+ this.write(value);
6548
+ }
6549
+ this.syncRevealed();
6550
+ }
6551
+ syncRevealed() {
6552
+ const revealed = this.revealed();
6553
+ if (revealed === this.lastRevealed) return;
6554
+ this.lastRevealed = revealed;
6555
+ this.announcement.set(revealed ? this.text().shown(this.remaining()) : this.text().hidden);
6556
+ this.revealedChange.emit(revealed);
6557
+ }
6558
+ async write(value) {
6559
+ const clipboard = this.document.defaultView?.navigator.clipboard;
6560
+ let ok = false;
6561
+ if (clipboard) try {
6562
+ await clipboard.writeText(value);
6563
+ ok = true;
6564
+ } catch {
6565
+ ok = false;
6566
+ }
6567
+ this.justCopied.set(ok);
6568
+ this.copyFailed.set(!ok);
6569
+ this.stopCopiedTimer();
6570
+ if (!ok) return;
6571
+ this.announcement.set(this.text().copied);
6572
+ this.copied.emit();
6573
+ this.copiedTimer = setTimeout(() => this.justCopied.set(false), COPIED_RESET_MS);
6574
+ }
6575
+ stopRemaskTimer() {
6576
+ if (this.remaskTimer === null) return;
6577
+ clearInterval(this.remaskTimer);
6578
+ this.remaskTimer = null;
6579
+ }
6580
+ stopCopiedTimer() {
6581
+ if (this.copiedTimer === null) return;
6582
+ clearTimeout(this.copiedTimer);
6583
+ this.copiedTimer = null;
6584
+ }
6585
+ static {
6586
+ this.ɵfac = i0.ɵɵngDeclareFactory({
6587
+ minVersion: "12.0.0",
6588
+ version: "22.3.0",
6589
+ ngImport: i0,
6590
+ type: SecretFieldComponent,
6591
+ deps: [],
6592
+ target: i0.ɵɵFactoryTarget.Component
6593
+ });
6594
+ }
6595
+ static {
6596
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
6597
+ minVersion: "17.0.0",
6598
+ version: "22.3.0",
6599
+ type: SecretFieldComponent,
6600
+ isStandalone: true,
6601
+ selector: "flr-secret-field",
6602
+ inputs: {
6603
+ value: {
6604
+ classPropertyName: "value",
6605
+ publicName: "value",
6606
+ isSignal: true,
6607
+ isRequired: false,
6608
+ transformFunction: null
6609
+ },
6610
+ ariaLabel: {
6611
+ classPropertyName: "ariaLabel",
6612
+ publicName: "aria-label",
6613
+ isSignal: true,
6614
+ isRequired: true,
6615
+ transformFunction: null
6616
+ },
6617
+ inputId: {
6618
+ classPropertyName: "inputId",
6619
+ publicName: "id",
6620
+ isSignal: true,
6621
+ isRequired: false,
6622
+ transformFunction: null
6623
+ },
6624
+ revealSeconds: {
6625
+ classPropertyName: "revealSeconds",
6626
+ publicName: "revealSeconds",
6627
+ isSignal: true,
6628
+ isRequired: false,
6629
+ transformFunction: null
6630
+ },
6631
+ error: {
6632
+ classPropertyName: "error",
6633
+ publicName: "error",
6634
+ isSignal: true,
6635
+ isRequired: false,
6636
+ transformFunction: null
6637
+ },
6638
+ labels: {
6639
+ classPropertyName: "labels",
6640
+ publicName: "labels",
6641
+ isSignal: true,
6642
+ isRequired: false,
6643
+ transformFunction: null
6644
+ }
6645
+ },
6646
+ outputs: {
6647
+ valueRequest: "valueRequest",
6648
+ revealedChange: "revealedChange",
6649
+ copied: "copied"
6650
+ },
6651
+ host: { properties: {
6652
+ "attr.id": "null",
6653
+ "attr.aria-label": "null"
6654
+ } },
6655
+ viewQueries: [{
6656
+ propertyName: "control",
6657
+ first: true,
6658
+ predicate: ["control"],
6659
+ descendants: true,
6660
+ isSignal: true
6661
+ }],
6662
+ ngImport: i0,
6663
+ template: "<div class=\"flr-secret\">\n <div class=\"flr-secret__box\">\n <div class=\"flr-secret__value\">\n <input\n #control\n class=\"flr-secret__input\"\n [class.flr-secret__input--revealed]=\"revealed()\"\n type=\"text\"\n readonly\n autocomplete=\"off\"\n autocapitalize=\"off\"\n spellcheck=\"false\"\n [attr.id]=\"inputId()\"\n [attr.aria-label]=\"ariaLabel()\"\n [value]=\"shownValue()\"\n (focus)=\"selectAll($event)\"\n />\n @if (!revealed()) {\n <span class=\"flr-secret__mask\" aria-hidden=\"true\"></span>\n }\n </div>\n @if (revealed() && remaining() > 0) {\n <span class=\"flr-secret__count\" aria-hidden=\"true\">{{ remaining() }} s</span>\n }\n <button\n type=\"button\"\n class=\"flr-secret__btn\"\n [attr.aria-label]=\"toggleName()\"\n [attr.aria-disabled]=\"loading() || null\"\n [attr.aria-busy]=\"loading() || null\"\n (click)=\"toggle()\"\n >\n {{ loading() ? text().loading : toggleText() }}\n </button>\n <button\n type=\"button\"\n class=\"flr-secret__btn flr-secret__btn--copy\"\n [attr.aria-label]=\"copyName()\"\n [attr.aria-disabled]=\"loading() || null\"\n (click)=\"copy()\"\n >\n <flr-copy-icon [copied]=\"justCopied()\" />\n </button>\n </div>\n <span class=\"flr-secret__sr\" [id]=\"maskedId\">{{ text().masked }}</span>\n @if (message(); as note) {\n <p class=\"flr-secret__message\" role=\"alert\" [id]=\"messageId\">{{ note }}</p>\n }\n <span class=\"flr-secret__sr\" role=\"status\">{{ announcement() }}</span>\n</div>\n",
6664
+ styles: [":host{display:block;min-width:0}.flr-secret__box{display:flex;align-items:stretch;min-width:0;box-sizing:border-box;color:var(--color-ink);background:var(--color-card);border:1px solid var(--color-rule-strong);border-radius:var(--radius-control, 8px);corner-shape:var(--corner-shape, round)}.flr-secret__box:has(.flr-secret__input:focus-visible){border-color:var(--color-accent, var(--color-ink));box-shadow:0 0 0 3px color-mix(in oklab,var(--color-accent, var(--color-ink)) 30%,transparent)}.flr-secret__value{position:relative;display:flex;flex:1;min-width:0}.flr-secret__input{flex:1;width:100%;min-width:0;box-sizing:border-box;padding:0 12px;border:0;outline:none;background:transparent;color:inherit;font-family:var(--font-sans);font-size:14px;line-height:1.4}.flr-secret__input--revealed{font-family:var(--font-mono);font-size:13px}.flr-secret__mask{position:absolute;top:50%;left:12px;width:min(120px,calc(100% - 24px));height:6px;transform:translateY(-50%);color:var(--color-ink-3);background:radial-gradient(circle,currentColor 2.5px,transparent 3px) 0 50% / 10px 6px repeat-x;pointer-events:none}.flr-secret__btn{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:max(calc(var(--control-height, 40px) - 2px),44px);box-sizing:border-box;padding:0 12px;border:0;border-left:1px solid var(--color-rule);background:transparent;color:var(--color-ink-2);font:500 13px/1 var(--font-sans);white-space:nowrap;cursor:pointer}.flr-secret__btn--copy{width:44px;padding:0;font-size:20px;border-radius:0 calc(var(--radius-control, 8px) - 1px) calc(var(--radius-control, 8px) - 1px) 0}.flr-secret__btn:hover{color:var(--color-ink);background:color-mix(in oklab,currentColor 6%,transparent)}.flr-secret__btn:focus-visible{outline:2px solid var(--color-accent, var(--color-ink));outline-offset:-2px}.flr-secret__btn[aria-disabled=true]{color:var(--color-ink-3);cursor:progress}.flr-secret__count{flex:none;align-self:center;min-width:4ch;padding:0 10px 0 4px;color:var(--color-ink-3);font:400 12px/1 var(--font-sans);font-variant-numeric:tabular-nums;text-align:right}.flr-secret__message{margin:6px 0 0;font-size:12px;line-height:1.4;color:var(--color-danger-text)}.flr-secret__sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}\n"],
6665
+ dependencies: [{
6666
+ kind: "component",
6667
+ type: CopyIconComponent,
6668
+ selector: "flr-copy-icon",
6669
+ inputs: ["copied"]
6670
+ }],
6671
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
6672
+ });
6673
+ }
6674
+ };
6675
+ i0.ɵɵngDeclareClassMetadata({
6676
+ minVersion: "12.0.0",
6677
+ version: "22.3.0",
6678
+ ngImport: i0,
6679
+ type: SecretFieldComponent,
6680
+ decorators: [{
6681
+ type: Component,
6682
+ args: [{
6683
+ selector: "flr-secret-field",
6684
+ changeDetection: ChangeDetectionStrategy.OnPush,
6685
+ imports: [CopyIconComponent],
6686
+ host: {
6687
+ "[attr.id]": "null",
6688
+ "[attr.aria-label]": "null"
6689
+ },
6690
+ template: "<div class=\"flr-secret\">\n <div class=\"flr-secret__box\">\n <div class=\"flr-secret__value\">\n <input\n #control\n class=\"flr-secret__input\"\n [class.flr-secret__input--revealed]=\"revealed()\"\n type=\"text\"\n readonly\n autocomplete=\"off\"\n autocapitalize=\"off\"\n spellcheck=\"false\"\n [attr.id]=\"inputId()\"\n [attr.aria-label]=\"ariaLabel()\"\n [value]=\"shownValue()\"\n (focus)=\"selectAll($event)\"\n />\n @if (!revealed()) {\n <span class=\"flr-secret__mask\" aria-hidden=\"true\"></span>\n }\n </div>\n @if (revealed() && remaining() > 0) {\n <span class=\"flr-secret__count\" aria-hidden=\"true\">{{ remaining() }} s</span>\n }\n <button\n type=\"button\"\n class=\"flr-secret__btn\"\n [attr.aria-label]=\"toggleName()\"\n [attr.aria-disabled]=\"loading() || null\"\n [attr.aria-busy]=\"loading() || null\"\n (click)=\"toggle()\"\n >\n {{ loading() ? text().loading : toggleText() }}\n </button>\n <button\n type=\"button\"\n class=\"flr-secret__btn flr-secret__btn--copy\"\n [attr.aria-label]=\"copyName()\"\n [attr.aria-disabled]=\"loading() || null\"\n (click)=\"copy()\"\n >\n <flr-copy-icon [copied]=\"justCopied()\" />\n </button>\n </div>\n <span class=\"flr-secret__sr\" [id]=\"maskedId\">{{ text().masked }}</span>\n @if (message(); as note) {\n <p class=\"flr-secret__message\" role=\"alert\" [id]=\"messageId\">{{ note }}</p>\n }\n <span class=\"flr-secret__sr\" role=\"status\">{{ announcement() }}</span>\n</div>\n",
6691
+ styles: [":host{display:block;min-width:0}.flr-secret__box{display:flex;align-items:stretch;min-width:0;box-sizing:border-box;color:var(--color-ink);background:var(--color-card);border:1px solid var(--color-rule-strong);border-radius:var(--radius-control, 8px);corner-shape:var(--corner-shape, round)}.flr-secret__box:has(.flr-secret__input:focus-visible){border-color:var(--color-accent, var(--color-ink));box-shadow:0 0 0 3px color-mix(in oklab,var(--color-accent, var(--color-ink)) 30%,transparent)}.flr-secret__value{position:relative;display:flex;flex:1;min-width:0}.flr-secret__input{flex:1;width:100%;min-width:0;box-sizing:border-box;padding:0 12px;border:0;outline:none;background:transparent;color:inherit;font-family:var(--font-sans);font-size:14px;line-height:1.4}.flr-secret__input--revealed{font-family:var(--font-mono);font-size:13px}.flr-secret__mask{position:absolute;top:50%;left:12px;width:min(120px,calc(100% - 24px));height:6px;transform:translateY(-50%);color:var(--color-ink-3);background:radial-gradient(circle,currentColor 2.5px,transparent 3px) 0 50% / 10px 6px repeat-x;pointer-events:none}.flr-secret__btn{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:max(calc(var(--control-height, 40px) - 2px),44px);box-sizing:border-box;padding:0 12px;border:0;border-left:1px solid var(--color-rule);background:transparent;color:var(--color-ink-2);font:500 13px/1 var(--font-sans);white-space:nowrap;cursor:pointer}.flr-secret__btn--copy{width:44px;padding:0;font-size:20px;border-radius:0 calc(var(--radius-control, 8px) - 1px) calc(var(--radius-control, 8px) - 1px) 0}.flr-secret__btn:hover{color:var(--color-ink);background:color-mix(in oklab,currentColor 6%,transparent)}.flr-secret__btn:focus-visible{outline:2px solid var(--color-accent, var(--color-ink));outline-offset:-2px}.flr-secret__btn[aria-disabled=true]{color:var(--color-ink-3);cursor:progress}.flr-secret__count{flex:none;align-self:center;min-width:4ch;padding:0 10px 0 4px;color:var(--color-ink-3);font:400 12px/1 var(--font-sans);font-variant-numeric:tabular-nums;text-align:right}.flr-secret__message{margin:6px 0 0;font-size:12px;line-height:1.4;color:var(--color-danger-text)}.flr-secret__sr{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}\n"]
6692
+ }]
6693
+ }],
6694
+ ctorParameters: () => [],
6695
+ propDecorators: {
6696
+ value: [{
6697
+ type: i0.Input,
6698
+ args: [{
6699
+ isSignal: true,
6700
+ alias: "value",
6701
+ required: false
6702
+ }]
6703
+ }],
6704
+ ariaLabel: [{
6705
+ type: i0.Input,
6706
+ args: [{
6707
+ isSignal: true,
6708
+ alias: "aria-label",
6709
+ required: true
6710
+ }]
6711
+ }],
6712
+ inputId: [{
6713
+ type: i0.Input,
6714
+ args: [{
6715
+ isSignal: true,
6716
+ alias: "id",
6717
+ required: false
6718
+ }]
6719
+ }],
6720
+ revealSeconds: [{
6721
+ type: i0.Input,
6722
+ args: [{
6723
+ isSignal: true,
6724
+ alias: "revealSeconds",
6725
+ required: false
6726
+ }]
6727
+ }],
6728
+ error: [{
6729
+ type: i0.Input,
6730
+ args: [{
6731
+ isSignal: true,
6732
+ alias: "error",
6733
+ required: false
6734
+ }]
6735
+ }],
6736
+ labels: [{
6737
+ type: i0.Input,
6738
+ args: [{
6739
+ isSignal: true,
6740
+ alias: "labels",
6741
+ required: false
6742
+ }]
6743
+ }],
6744
+ valueRequest: [{
6745
+ type: i0.Output,
6746
+ args: ["valueRequest"]
6747
+ }],
6748
+ revealedChange: [{
6749
+ type: i0.Output,
6750
+ args: ["revealedChange"]
6751
+ }],
6752
+ copied: [{
6753
+ type: i0.Output,
6754
+ args: ["copied"]
6755
+ }],
6756
+ control: [{
6757
+ type: i0.ViewChild,
6758
+ args: ["control", { isSignal: true }]
6759
+ }]
6760
+ }
6761
+ });
6270
6762
  const STEPS$1 = [
6271
6763
  1,
6272
6764
  1.5,
@@ -19469,6 +19961,6 @@ i0.ɵɵngDeclareClassMetadata({
19469
19961
  }]
19470
19962
  }
19471
19963
  });
19472
- export { ACCESS_PICKER_LABELS_EN, ACCESS_PICKER_LABELS_FR, ALL_SITE_LOCALES, AccessPickerComponent, AnnotatedTextareaComponent, AppRailComponent, AppSwitcherComponent, AvatarComponent, BannerComponent, BarChartComponent, BrandDropdownComponent, ButtonComponent, CONTACT_FORM_LABELS_EN, CONTACT_FORM_LABELS_FR, CONTACT_KINDS, CONTACT_PRODUCTS, CardComponent, CardHeaderComponent, CheckboxComponent, ComboboxComponent, ComparisonTableComponent, ConnectionCardComponent, ContactFormComponent, ContainerComponent, CopyIconComponent, DEFAULT_APPS, DEFAULT_LOCALE, DEFAULT_PAGE_SIZE, DEFAULT_PAGINATION_LABELS, DEFAULT_USER_MENU_LABELS, DividerComponent, DrawerComponent, EmptyStateComponent, ErrorStateComponent, FieldComponent, InputComponent, LOCALE_CATALOG, LoadingStateComponent, LogoMarkComponent, MENU_FOCUSABLE, MenuComponent, MenuItemComponent, MenuLabelComponent, MenuSeparatorComponent, ModalComponent, MultiSelectComponent, PageHeaderComponent, PaginationComponent, ProgressBarComponent, ProjectSwitcherComponent, RadioComponent, RadioGroupComponent, RailToggleComponent, SHELL_CONTEXT, SITE_CHROME, SITE_LOCALES, SearchFieldComponent, SectionComponent, SegmentedComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SidebarSectionComponent, SiteCardComponent, SiteFooterComponent, SiteLocaleBannerComponent, SiteLocalePickerComponent, SiteNavbarComponent, SiteShellComponent, SiteSwitcherComponent, SkeletonComponent, SpinnerComponent, SplitterComponent, SplitterPaneComponent, StatComponent, StatusBarsComponent, SubmitComponent, SwitchComponent, THEME_PREPAINT_SCRIPT, THEME_STORAGE_KEY, TabComponent, TabsComponent, TagComponent, TextareaComponent, ThemeService, ToastContainerComponent, ToastService, TreeSelectComponent, UserMenuComponent, WAITLIST_FORM_LABELS_EN, WAITLIST_FORM_LABELS_FR, WaitlistFormComponent, accountUrl, brandApps, entitledApps, hiddenAppsFromPreferences, injectSitePath, isSiteLocale, localeBase, localeEntry, localeSwitchHref, marketingUrl, matchSiteLocale, orgCreateUrl, paged, provideSiteChrome, provideTheme, readContactPrefill, readRuntimeEnv, resolveLocale, resolveSiteLocale, runtimeUrl, siteLocales, stripLocalePrefix, switcherState, toLocaleOptions, userMenuItems, withHiddenApps, withLocaleBase };
19964
+ export { ACCESS_PICKER_LABELS_EN, ACCESS_PICKER_LABELS_FR, ALL_SITE_LOCALES, AccessPickerComponent, AnnotatedTextareaComponent, AppRailComponent, AppSwitcherComponent, AvatarComponent, BannerComponent, BarChartComponent, BrandDropdownComponent, ButtonComponent, CONTACT_FORM_LABELS_EN, CONTACT_FORM_LABELS_FR, CONTACT_KINDS, CONTACT_PRODUCTS, CardComponent, CardHeaderComponent, CheckboxComponent, ComboboxComponent, ComparisonTableComponent, ConnectionCardComponent, ContactFormComponent, ContainerComponent, CopyIconComponent, DEFAULT_APPS, DEFAULT_LOCALE, DEFAULT_PAGE_SIZE, DEFAULT_PAGINATION_LABELS, DEFAULT_USER_MENU_LABELS, DividerComponent, DrawerComponent, EmptyStateComponent, ErrorStateComponent, FieldComponent, InputComponent, LOCALE_CATALOG, LoadingStateComponent, LogoMarkComponent, MENU_FOCUSABLE, MenuComponent, MenuItemComponent, MenuLabelComponent, MenuSeparatorComponent, ModalComponent, MultiSelectComponent, PageHeaderComponent, PaginationComponent, ProgressBarComponent, ProjectSwitcherComponent, RadioComponent, RadioGroupComponent, RailToggleComponent, SHELL_CONTEXT, SITE_CHROME, SITE_LOCALES, SearchFieldComponent, SecretFieldComponent, SectionComponent, SegmentedComponent, SelectComponent, ShellComponent, SidebarComponent, SidebarItemComponent, SidebarSectionComponent, SiteCardComponent, SiteFooterComponent, SiteLocaleBannerComponent, SiteLocalePickerComponent, SiteNavbarComponent, SiteShellComponent, SiteSwitcherComponent, SkeletonComponent, SpinnerComponent, SplitterComponent, SplitterPaneComponent, StatComponent, StatusBarsComponent, SubmitComponent, SwitchComponent, THEME_PREPAINT_SCRIPT, THEME_STORAGE_KEY, TabComponent, TabsComponent, TagComponent, TextareaComponent, ThemeService, ToastContainerComponent, ToastService, TreeSelectComponent, UserMenuComponent, WAITLIST_FORM_LABELS_EN, WAITLIST_FORM_LABELS_FR, WaitlistFormComponent, accountUrl, brandApps, entitledApps, hiddenAppsFromPreferences, injectSitePath, isSiteLocale, localeBase, localeEntry, localeSwitchHref, marketingUrl, matchSiteLocale, orgCreateUrl, paged, provideSiteChrome, provideTheme, readContactPrefill, readRuntimeEnv, resolveLocale, resolveSiteLocale, runtimeUrl, siteLocales, stripLocalePrefix, switcherState, toLocaleOptions, userMenuItems, withHiddenApps, withLocaleBase };
19473
19965
 
19474
19966
  //# sourceMappingURL=ferrlabs-ui-ng.mjs.map