scb-wc 0.1.140 → 0.1.142

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.
@@ -113,7 +113,7 @@ var o = 96, s = 32, c = class extends t {
113
113
  }), i.forEach((e) => {
114
114
  let t = r.indexOf(e), n = t !== -1;
115
115
  e.style.textAlign = "left", e.style.padding = "12px", e.style.position = "relative", e.style.backgroundColor = "var(--md-sys-color-surface)", e.style.fontFamily = "var(--md-sys-typescale-label-medium-font)", e.style.fontSize = "var(--md-sys-typescale-label-medium-size)", e.style.lineHeight = "var(--md-sys-typescale-label-medium-line-height)", e.style.fontWeight = "var(--weight-bold)", e.style.letterSpacing = "var(--md-sys-typescale-label-medium-tracking)", e.style.verticalAlign = "bottom", e.style.borderRight = "1px solid var(--md-sys-color-on-surface)", e.style.borderBottom = "1px solid var(--md-sys-color-on-surface)", e.style.overflowWrap = "normal", e.style.wordBreak = "normal", e.style.hyphens = "manual", this._removeGeneratedSortMarkup(e), e.hasAttribute("scope") || (n ? e.setAttribute("scope", "col") : e.closest("tbody") && e.setAttribute("scope", "row"));
116
- let i = this._getOrCreateHeaderLabel(e, t), a = this._getNormalizedText(i.textContent) || `kolumn ${Math.max(t, 0) + 1}`;
116
+ let i = this._getOrCreateHeaderLabel(e, t), a = this._getHeaderLabelText(e, i, t);
117
117
  if ((i instanceof HTMLParagraphElement || i.getAttribute("data-scb-generated-label") === "true") && this._applyGeneratedCellTextReset(i), this.dataSorting && n) {
118
118
  e.setAttribute("aria-sort", this._getHeaderAriaSort(t));
119
119
  let n = document.createElement("scb-icon-button");
@@ -156,8 +156,17 @@ var o = 96, s = 32, c = class extends t {
156
156
  if (r instanceof HTMLParagraphElement) return r.setAttribute("data-scb-sort-label", "true"), r;
157
157
  let i = Array.from(e.children).find((e) => e instanceof HTMLElement && !e.matches("scb-icon-button.scb-sort-icon"));
158
158
  if (i) return i.setAttribute("data-scb-sort-label", "true"), i;
159
- let a = document.createElement("p");
160
- return a.setAttribute("data-scb-sort-label", "true"), a.setAttribute("data-scb-generated-label", "true"), a.textContent = this._getNormalizedText(e.textContent) || `kolumn ${Math.max(t, 0) + 1}`, e.textContent = "", e.appendChild(a), a;
159
+ let a = this._getNormalizedText(e.textContent), o = a || this._getNormalizedText(e.getAttribute("aria-label")) || this._getFallbackColumnLabel(t), s = document.createElement("p");
160
+ return s.setAttribute("data-scb-sort-label", "true"), s.setAttribute("data-scb-generated-label", "true"), s.textContent = o, a || (s.setAttribute("data-scb-visually-hidden-label", "true"), this._applyVisuallyHiddenStyles(s)), e.textContent = "", e.appendChild(s), s;
161
+ }
162
+ _getHeaderLabelText(e, t, n) {
163
+ return this._getNormalizedText(t.textContent) || this._getNormalizedText(e.getAttribute("aria-label")) || this._getFallbackColumnLabel(n);
164
+ }
165
+ _getFallbackColumnLabel(e) {
166
+ return `kolumn ${Math.max(e, 0) + 1}`;
167
+ }
168
+ _applyVisuallyHiddenStyles(e) {
169
+ e.style.position = "absolute", e.style.width = "1px", e.style.height = "1px", e.style.padding = "0", e.style.margin = "-1px", e.style.overflow = "hidden", e.style.whiteSpace = "nowrap", e.style.clip = "rect(0, 0, 0, 0)", e.style.clipPath = "inset(50%)", e.style.border = "0";
161
170
  }
162
171
  _wrapHeaderWithSortControl(e, t, n) {
163
172
  let r = document.createElement("div");
@@ -1,6 +1,17 @@
1
1
  //#region src/scb-components/scb-viz/scb-viz-print-runtime.ts
2
- function e(e, t) {
3
- return `<table class="scb-viz-print-table">${e.headers.length ? `<thead><tr>${e.headers.map((n, r) => `<th scope="col" class="${e.alignments[r] === "right" ? "align-right" : "align-left"}"><span class="scb-viz-print-table-heading-text">${n.html || t(n.text)}</span></th>`).join("")}</tr></thead>` : ""}${`<tbody>${e.rows.map((n, r) => {
2
+ var e = "position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;clip:rect(0, 0, 0, 0);clip-path:inset(50%);border:0;";
3
+ function t(e) {
4
+ return e === 0 ? "Radrubrik" : `Kolumn ${e + 1}`;
5
+ }
6
+ function n(e) {
7
+ return (e ?? "").replace(/\s+/g, " ").trim();
8
+ }
9
+ function r(r, i, a, o) {
10
+ let s = r.html || a(r.text);
11
+ return n(s) ? s : `<span class="visually-hidden" style="${e}">${a(o.getEmptyHeaderLabel?.(i) ?? t(i))}</span>`;
12
+ }
13
+ function i(e, t, n = {}) {
14
+ return `<table class="scb-viz-print-table">${e.headers.length ? `<thead><tr>${e.headers.map((i, a) => `<th scope="col" class="${e.alignments[a] === "right" ? "align-right" : "align-left"}"><span class="scb-viz-print-table-heading-text">${r(i, a, t, n)}</span></th>`).join("")}</tr></thead>` : ""}${`<tbody>${e.rows.map((n, r) => {
4
15
  let i = e.rowHeaderRows[r] === !0;
5
16
  return `<tr>${n.map((n, r) => {
6
17
  let a = e.alignments[r] === "right" ? "align-right" : "align-left", o = n.html || t(n.text);
@@ -8,7 +19,7 @@ function e(e, t) {
8
19
  }).join("")}</tr>`;
9
20
  }).join("")}</tbody>`}</table>`;
10
21
  }
11
- function t(e) {
22
+ function a(e) {
12
23
  let t = [];
13
24
  if (e.description && t.push(`
14
25
  <section class="print-section">
@@ -43,7 +54,7 @@ function t(e) {
43
54
  }
44
55
  return t.join("");
45
56
  }
46
- function n(e) {
57
+ function o(e) {
47
58
  let t = e.escapeHtml;
48
59
  return `<!doctype html>
49
60
  <html lang="${t(e.lang || "sv")}">
@@ -103,6 +114,18 @@ function n(e) {
103
114
  .scb-viz-print-table .align-right { text-align: right; }
104
115
  .scb-viz-print-table tbody td.align-right { white-space: nowrap; }
105
116
  .scb-viz-print-table .align-left { text-align: left; }
117
+ .visually-hidden {
118
+ position: absolute !important;
119
+ width: 1px !important;
120
+ height: 1px !important;
121
+ padding: 0 !important;
122
+ margin: -1px !important;
123
+ overflow: hidden !important;
124
+ white-space: nowrap !important;
125
+ clip: rect(0, 0, 0, 0) !important;
126
+ clip-path: inset(50%) !important;
127
+ border: 0 !important;
128
+ }
106
129
  </style>
107
130
  </head>
108
131
  <body>
@@ -118,4 +141,4 @@ function n(e) {
118
141
  </html>`;
119
142
  }
120
143
  //#endregion
121
- export { n as buildScbVizPrintDocumentHtml, t as buildScbVizPrintableFooterHtml, e as buildScbVizPrintableTableHtml };
144
+ export { o as buildScbVizPrintDocumentHtml, a as buildScbVizPrintableFooterHtml, i as buildScbVizPrintableTableHtml };
@@ -17,9 +17,9 @@ import { customElement as L, property as R, state as z } from "lit/decorators.js
17
17
  import { unsafeHTML as B } from "lit/directives/unsafe-html.js";
18
18
  import { unsafeSVG as V } from "lit/directives/unsafe-svg.js";
19
19
  //#region src/scb-components/scb-viz/scb-viz.ts
20
- var H = "<svg version=\"1.1\" id=\"Lager_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"0 0 727.3 87.3\" style=\"enable-background:new 0 0 727.3 87.3;\" xml:space=\"preserve\" fill=\"currentColor\">\n<style type=\"text/css\">\n .st0{clip-path:url(#SVGID_00000118375311472882578510000008414848687067442345_);}\n .st1{clip-path:url(#SVGID_00000138564698325205407360000002276421278379188096_);}\n</style>\n<g>\n <defs>\n <rect id=\"SVGID_1_\" width=\"87.9\" height=\"87.3\"/>\n </defs>\n <clipPath id=\"SVGID_00000049194455212780167100000017351139687135426220_\">\n <use xlink:href=\"#SVGID_1_\" style=\"overflow:visible;\"/>\n </clipPath>\n <path style=\"clip-path:url(#SVGID_00000049194455212780167100000017351139687135426220_);\" d=\"M51.9,47.4c-3.5-1.9-6.1-3-8.4-3.9\n c-2.6-1.1-4.8-2-8.1-4.1c-3.2-2-4.7-5.5-3.8-8.7c1.1-3.9,5.5-6.3,11.7-6.4c5.2-0.1,10.3,2,14,5.6l7.1-7.3\n C58.9,17,51.1,13.9,43.2,14c-5.6,0.1-10.3,1.4-14.1,4c-3.6,2.4-6.2,5.9-7.3,9.9C19.7,35.5,23,43.6,30,48c4,2.6,6.9,3.7,9.7,4.9\n c2.1,0.9,4.3,1.8,7.3,3.4c6,3.3,7.3,9.9,5.6,14.4c-1.8,4.6-6.3,6.9-12.5,6.6c-16.8-2-29.9-16.3-29.9-33.6c0-6.7,2-13,5.4-18.3\n c-0.5-4.8-0.4-11.5,2.7-17.4c-1.9,1.4-3.8,2.9-5.5,4.7C4.6,20.9,0,32,0,43.7s4.6,22.8,12.9,31.1c5.2,5.2,11.4,8.9,18.2,11\n c3.8,1,8,1.5,12.6,1.2c13.4-1,18-9.1,19.5-16.1l0,0l0,0c0.7-3.7,0.5-7.7-0.8-11.4C60.5,54.4,56.8,50.1,51.9,47.4\"/>\n</g>\n<g>\n <defs>\n <rect id=\"SVGID_00000037663519358145686510000008852139513316315266_\" width=\"87.9\" height=\"87.3\"/>\n </defs>\n <clipPath id=\"SVGID_00000178915587967540748200000001082786752601951668_\">\n <use xlink:href=\"#SVGID_00000037663519358145686510000008852139513316315266_\" style=\"overflow:visible;\"/>\n </clipPath>\n <path style=\"clip-path:url(#SVGID_00000178915587967540748200000001082786752601951668_);\" d=\"M75.1,12.6C70.8,8.3,65.7,5,60.3,2.9\n c-6.2-2.3-14-3.5-22.9-1.5c-15.1,3.4-18,14.3-18.5,19.8C25.1,14.3,34,10,44,10c18.6,0,33.8,15.1,33.8,33.8c0,9.5-3.9,18-10.2,24.2\n c-0.4,4.5-1.5,10-3.7,15c4.1-2.1,7.9-4.8,11.2-8.1C83.4,66.6,88,55.6,88,43.8C87.9,32,83.4,20.9,75.1,12.6\"/>\n</g>\n<path d=\"M48.5,32.9c-4.8-2.3-7.3-4.1-7.3-4.1s-4.5-0.2-4.5,4c0,3.5,4.4,4.1,15.2,8.8c14.3,6.3,15.4,20.1,15.4,20.1s3.5-14.2-8-22.8\n C55.8,36.5,55.4,36.1,48.5,32.9\"/>\n<path d=\"M47.8,70.1c2.3-3,0.8-6.3,0.8-6.3s-3,1.5-9.2,0c-7.6-2-10.1-5.5-10.1-5.5l-5.8,6.1c0,0,5.7,5.8,14,7.6\n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.1-1c1.1-0.7,1.6-1.6,1.6-2.8c0-1.1-0.3-1.8-1-2.3\n c-0.7-0.4-1.5-0.7-2.6-0.7L651,54c-2.5-0.2-4.4-1.1-6-2.5s-2.4-3.4-2.4-6c0-3.1,1.1-5.4,3.2-7c2-1.5,4.6-2.3,7.7-2.3\n c1.3,0,2.6,0.1,3.6,0.3c1.1,0.2,2.1,0.5,3,0.8c1.8,0.8,3.4,1.8,4.8,3l-3.6,4.4c-1.1-0.8-2.3-1.5-3.6-2.1c-1.2-0.5-2.7-0.7-4.3-0.7\n c-1.8,0-3.1,0.3-3.9,1c-0.8,0.7-1.2,1.5-1.2,2.6c0,0.7,0.3,1.3,0.9,1.8c0.6,0.6,1.6,0.9,3,1.1l4.8,0.4c3,0.2,5.2,1.2,6.6,2.8\n c1.3,1.6,1.9,3.7,1.9,6.2c0,2.9-1.2,5.2-3.5,6.8c-2.2,1.6-5.1,2.5-8.6,2.5c-4.8,0-9-1.8-12.8-5.4L644.9,57.4z\"/>\n<path d=\"M672.4,27.4h5.8v9.2h4.3v4.6h-4.3v17.5c0,1.5,0.7,2.3,2.1,2.2h2.2v5.7h-3.1c-2.1,0-3.7-0.7-5-2c-1.3-1.3-2-3.1-2-5.4v-18\n h-2.9v-4.6h2.9V27.4z\"/>\n<path d=\"M688.2,24.4h5.8v6h-5.8V24.4z M688.2,36.6h5.8v30.1h-5.8V36.6z\"/>\n<path d=\"M701.8,24.4h5.8v26.3h0.1l11.2-14.1h7l-10,11.7l11.4,18.3H720l-7.7-14l-4.6,5.4v8.7h-5.8V24.4H701.8z\"/>\n</svg>\n", U = 0, W = class extends P {
20
+ var H = "<svg version=\"1.1\" id=\"Lager_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n viewBox=\"0 0 727.3 87.3\" style=\"enable-background:new 0 0 727.3 87.3;\" xml:space=\"preserve\" fill=\"currentColor\">\n<style type=\"text/css\">\n .st0{clip-path:url(#SVGID_00000118375311472882578510000008414848687067442345_);}\n .st1{clip-path:url(#SVGID_00000138564698325205407360000002276421278379188096_);}\n</style>\n<g>\n <defs>\n <rect id=\"SVGID_1_\" width=\"87.9\" height=\"87.3\"/>\n </defs>\n <clipPath id=\"SVGID_00000049194455212780167100000017351139687135426220_\">\n <use xlink:href=\"#SVGID_1_\" style=\"overflow:visible;\"/>\n </clipPath>\n <path style=\"clip-path:url(#SVGID_00000049194455212780167100000017351139687135426220_);\" d=\"M51.9,47.4c-3.5-1.9-6.1-3-8.4-3.9\n c-2.6-1.1-4.8-2-8.1-4.1c-3.2-2-4.7-5.5-3.8-8.7c1.1-3.9,5.5-6.3,11.7-6.4c5.2-0.1,10.3,2,14,5.6l7.1-7.3\n C58.9,17,51.1,13.9,43.2,14c-5.6,0.1-10.3,1.4-14.1,4c-3.6,2.4-6.2,5.9-7.3,9.9C19.7,35.5,23,43.6,30,48c4,2.6,6.9,3.7,9.7,4.9\n c2.1,0.9,4.3,1.8,7.3,3.4c6,3.3,7.3,9.9,5.6,14.4c-1.8,4.6-6.3,6.9-12.5,6.6c-16.8-2-29.9-16.3-29.9-33.6c0-6.7,2-13,5.4-18.3\n c-0.5-4.8-0.4-11.5,2.7-17.4c-1.9,1.4-3.8,2.9-5.5,4.7C4.6,20.9,0,32,0,43.7s4.6,22.8,12.9,31.1c5.2,5.2,11.4,8.9,18.2,11\n c3.8,1,8,1.5,12.6,1.2c13.4-1,18-9.1,19.5-16.1l0,0l0,0c0.7-3.7,0.5-7.7-0.8-11.4C60.5,54.4,56.8,50.1,51.9,47.4\"/>\n</g>\n<g>\n <defs>\n <rect id=\"SVGID_00000037663519358145686510000008852139513316315266_\" width=\"87.9\" height=\"87.3\"/>\n </defs>\n <clipPath id=\"SVGID_00000178915587967540748200000001082786752601951668_\">\n <use xlink:href=\"#SVGID_00000037663519358145686510000008852139513316315266_\" style=\"overflow:visible;\"/>\n </clipPath>\n <path style=\"clip-path:url(#SVGID_00000178915587967540748200000001082786752601951668_);\" d=\"M75.1,12.6C70.8,8.3,65.7,5,60.3,2.9\n c-6.2-2.3-14-3.5-22.9-1.5c-15.1,3.4-18,14.3-18.5,19.8C25.1,14.3,34,10,44,10c18.6,0,33.8,15.1,33.8,33.8c0,9.5-3.9,18-10.2,24.2\n c-0.4,4.5-1.5,10-3.7,15c4.1-2.1,7.9-4.8,11.2-8.1C83.4,66.6,88,55.6,88,43.8C87.9,32,83.4,20.9,75.1,12.6\"/>\n</g>\n<path d=\"M48.5,32.9c-4.8-2.3-7.3-4.1-7.3-4.1s-4.5-0.2-4.5,4c0,3.5,4.4,4.1,15.2,8.8c14.3,6.3,15.4,20.1,15.4,20.1s3.5-14.2-8-22.8\n C55.8,36.5,55.4,36.1,48.5,32.9\"/>\n<path d=\"M47.8,70.1c2.3-3,0.8-6.3,0.8-6.3s-3,1.5-9.2,0c-7.6-2-10.1-5.5-10.1-5.5l-5.8,6.1c0,0,5.7,5.8,14,7.6\n C42.3,73,45.6,72.9,47.8,70.1\"/>\n<path d=\"M107.2,56.4c3.3,2.8,7.1,4.2,11.6,4.2c5.3-0.1,8-2,8.1-5.9c0-3.1-1.7-5-5.3-5.7c-1.6-0.2-3.5-0.5-5.4-0.8\n c-3.5-0.6-6.2-1.9-8-4c-1.9-2.1-2.8-4.8-2.8-7.8c0-3.7,1.2-6.7,3.6-8.9c2.3-2.2,5.6-3.4,9.8-3.4c5.1,0.1,9.5,1.6,13.3,4.4l-3.5,5.3\n c-3.1-2.1-6.4-3.2-10.1-3.3c-1.9,0-3.5,0.5-4.8,1.5s-2,2.6-2,4.6c0,1.2,0.5,2.3,1.4,3.3s2.4,1.7,4.4,2.1c1.1,0.2,2.7,0.4,4.6,0.7\n c3.8,0.5,6.7,2,8.5,4.3s2.7,4.9,2.7,7.9c-0.2,8.1-5,12.2-14.4,12.3c-6.1,0-11.3-1.9-15.6-5.8L107.2,56.4z\"/>\n<path d=\"M135.3,36.6h6.2l6.8,21.1h0.1l6.8-21.1h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M672.4,27.4h5.8v9.2h4.3v4.6h-4.3v17.5c0,1.5,0.7,2.3,2.1,2.2h2.2v5.7h-3.1c-2.1,0-3.7-0.7-5-2c-1.3-1.3-2-3.1-2-5.4v-18\n h-2.9v-4.6h2.9V27.4z\"/>\n<path d=\"M688.2,24.4h5.8v6h-5.8V24.4z M688.2,36.6h5.8v30.1h-5.8V36.6z\"/>\n<path d=\"M701.8,24.4h5.8v26.3h0.1l11.2-14.1h7l-10,11.7l11.4,18.3H720l-7.7-14l-4.6,5.4v8.7h-5.8V24.4H701.8z\"/>\n</svg>\n", U = "position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;clip:rect(0, 0, 0, 0);clip-path:inset(50%);border:0;", W = 0, G = class extends P {
21
21
  constructor(...e) {
22
- super(...e), this.variant = "Standard", this.selectedChip = "Diagram", this.title = "", this.subtitle = "", this.description = "", this.comment = "", this.source = "", this.footnote = "", this.lang = "sv", this.imageHref = "", this.officialStatistics = !1, this.disableToggle = !1, this.contentMaxWidth = "", this.containerMaxWidth = "", this.contentHeight = "", this.toggleHeightMode = "stable", this._actionsMenuOpen = !1, this._seriesDifferentiationEnabled = !1, this._isFullscreen = !1, this._seriesDifferentiationSnapshots = /* @__PURE__ */ new WeakMap(), this._diagramReflowFrame = 0, this._chartConfigSyncFrame = 0, this._fullscreenDiagramSizingFrame = 0, this._fullscreenDiagramHeight = "", this._instanceId = `scb-viz-${++U}`, this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0, this._onDocumentFullscreenChange = () => {
22
+ super(...e), this.variant = "Standard", this.selectedChip = "Diagram", this.title = "", this.subtitle = "", this.description = "", this.comment = "", this.source = "", this.footnote = "", this.lang = "sv", this.imageHref = "", this.officialStatistics = !1, this.disableToggle = !1, this.contentMaxWidth = "", this.containerMaxWidth = "", this.contentHeight = "", this.toggleHeightMode = "stable", this._actionsMenuOpen = !1, this._seriesDifferentiationEnabled = !1, this._isFullscreen = !1, this._seriesDifferentiationSnapshots = /* @__PURE__ */ new WeakMap(), this._diagramReflowFrame = 0, this._chartConfigSyncFrame = 0, this._fullscreenDiagramSizingFrame = 0, this._fullscreenDiagramHeight = "", this._instanceId = `scb-viz-${++W}`, this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0, this._onDocumentFullscreenChange = () => {
23
23
  this._syncFullscreenState();
24
24
  }, this._onWindowResize = () => {
25
25
  this._isFullscreen && this.#c();
@@ -1694,19 +1694,35 @@ var H = "<svg version=\"1.1\" id=\"Lager_1\" xmlns=\"http://www.w3.org/2000/svg\
1694
1694
  _renderTable() {
1695
1695
  let e = this._getResolvedTableData();
1696
1696
  if (!e || !e.rows || e.rows.length === 0) return null;
1697
- let { alignments: t, headers: n, rows: r, rowHeaderRows: i } = this._getResolvedTableView(e), a = [this.title, this.subtitle].map((e) => typeof e == "string" ? e.trim() : "").filter(Boolean).join(". "), o = (e) => e.html ? e.html : this._escapeHtml(e.text);
1697
+ let { alignments: t, headers: n, rows: r, rowHeaderRows: i } = this._getResolvedTableView(e), a = [this.title, this.subtitle].map((e) => typeof e == "string" ? e.trim() : "").filter(Boolean).join(". ");
1698
1698
  return I`
1699
1699
  <scb-table part="table" column-width-mode="header">
1700
- ${B(`<table class="scb-viz-table">${a ? `<caption class="visually-hidden">${this._escapeHtml(a)}</caption>` : ""}${n.length > 0 ? `<thead><tr>${n.map((e, n) => `<th scope="col" class="${t[n] === "right" ? "align-right" : "align-left"}">${o(e)}</th>`).join("")}</tr></thead>` : ""}<tbody>${r.map((e, n) => {
1700
+ ${B(`<table class="scb-viz-table">${a ? `<caption class="visually-hidden">${this._escapeHtml(a)}</caption>` : ""}${n.length > 0 ? `<thead><tr>${n.map((e, n) => `<th scope="col" class="${t[n] === "right" ? "align-right" : "align-left"}">${this._renderTableHeaderContent(e, n)}</th>`).join("")}</tr></thead>` : ""}<tbody>${r.map((e, n) => {
1701
1701
  let r = i[n] === !0;
1702
1702
  return `<tr>${e.map((e, n) => {
1703
- let i = t[n] === "right" ? "align-right" : "align-left", a = o(e);
1703
+ let i = t[n] === "right" ? "align-right" : "align-left", a = this._renderTableCellContent(e);
1704
1704
  return n === 0 && r ? `<th scope="row" class="${i}">${a}</th>` : `<td class="${i}">${a}</td>`;
1705
1705
  }).join("")}</tr>`;
1706
1706
  }).join("")}</tbody></table>`)}
1707
1707
  </scb-table>
1708
1708
  `;
1709
1709
  }
1710
+ _renderTableCellContent(e) {
1711
+ return e.html ? e.html : this._escapeHtml(e.text);
1712
+ }
1713
+ _getNormalizedText(e) {
1714
+ return (e ?? "").replace(/\s+/g, " ").trim();
1715
+ }
1716
+ _renderTableHeaderContent(e, t) {
1717
+ let n = this._renderTableCellContent(e);
1718
+ return this._getNormalizedText(n) ? n : this._renderVisuallyHiddenText(this._getEmptyTableHeaderLabel(t));
1719
+ }
1720
+ _renderVisuallyHiddenText(e) {
1721
+ return `<span class="visually-hidden" style="${U}">${this._escapeHtml(e)}</span>`;
1722
+ }
1723
+ _getEmptyTableHeaderLabel(e) {
1724
+ return e === 0 ? this.lang === "en" ? "Row header" : "Radrubrik" : this.lang === "en" ? `Column ${e + 1}` : `Kolumn ${e + 1}`;
1725
+ }
1710
1726
  _renderRichText(e) {
1711
1727
  let t = typeof e == "string" ? e.replace(/\r\n?/g, "\n") : "", n = t.split(/\n{2,}/).filter((e) => e !== "");
1712
1728
  return n.length ? I`${n.map((e) => I`<p class="body-text-paragraph">${e.split("\n").map((e, t) => I`${t > 0 ? I`<br />` : ""}${e}`)}</p>`)}` : t;
@@ -1942,7 +1958,7 @@ var H = "<svg version=\"1.1\" id=\"Lager_1\" xmlns=\"http://www.w3.org/2000/svg\
1942
1958
  return this.variant === "Table" ? "table" : this.variant === "Image" ? "image" : this.selectedChip === "Table" ? "table" : "diagram";
1943
1959
  }
1944
1960
  #v(e) {
1945
- return p(this._getResolvedTableView(e), (e) => this._escapeHtml(e));
1961
+ return p(this._getResolvedTableView(e), (e) => this._escapeHtml(e), { getEmptyHeaderLabel: (e) => this._getEmptyTableHeaderLabel(e) });
1946
1962
  }
1947
1963
  #y() {
1948
1964
  return f({
@@ -2013,76 +2029,76 @@ var H = "<svg version=\"1.1\" id=\"Lager_1\" xmlns=\"http://www.w3.org/2000/svg\
2013
2029
  e([R({
2014
2030
  type: String,
2015
2031
  reflect: !0
2016
- })], W.prototype, "variant", void 0), e([R({
2032
+ })], G.prototype, "variant", void 0), e([R({
2017
2033
  type: String,
2018
2034
  reflect: !0,
2019
2035
  attribute: "selected-chip"
2020
- })], W.prototype, "selectedChip", void 0), e([R({
2036
+ })], G.prototype, "selectedChip", void 0), e([R({
2021
2037
  type: String,
2022
2038
  reflect: !0
2023
- })], W.prototype, "title", void 0), e([R({
2039
+ })], G.prototype, "title", void 0), e([R({
2024
2040
  type: String,
2025
2041
  reflect: !0
2026
- })], W.prototype, "subtitle", void 0), e([R({
2042
+ })], G.prototype, "subtitle", void 0), e([R({
2027
2043
  type: String,
2028
2044
  reflect: !0
2029
- })], W.prototype, "description", void 0), e([R({
2045
+ })], G.prototype, "description", void 0), e([R({
2030
2046
  type: String,
2031
2047
  reflect: !0
2032
- })], W.prototype, "comment", void 0), e([R({
2048
+ })], G.prototype, "comment", void 0), e([R({
2033
2049
  type: String,
2034
2050
  reflect: !0
2035
- })], W.prototype, "source", void 0), e([R({
2051
+ })], G.prototype, "source", void 0), e([R({
2036
2052
  type: String,
2037
2053
  reflect: !0
2038
- })], W.prototype, "footnote", void 0), e([R({
2054
+ })], G.prototype, "footnote", void 0), e([R({
2039
2055
  type: String,
2040
2056
  reflect: !0,
2041
2057
  attribute: "lang"
2042
- })], W.prototype, "lang", void 0), e([R({
2058
+ })], G.prototype, "lang", void 0), e([R({
2043
2059
  type: String,
2044
2060
  reflect: !0,
2045
2061
  attribute: "image-href"
2046
- })], W.prototype, "imageHref", void 0), e([R({
2062
+ })], G.prototype, "imageHref", void 0), e([R({
2047
2063
  type: Boolean,
2048
2064
  reflect: !0,
2049
2065
  attribute: "official-statistics"
2050
- })], W.prototype, "officialStatistics", void 0), e([R({
2066
+ })], G.prototype, "officialStatistics", void 0), e([R({
2051
2067
  type: Boolean,
2052
2068
  reflect: !0,
2053
2069
  attribute: "disable-toggle"
2054
- })], W.prototype, "disableToggle", void 0), e([R({
2070
+ })], G.prototype, "disableToggle", void 0), e([R({
2055
2071
  type: String,
2056
2072
  attribute: "content-max-width"
2057
- })], W.prototype, "contentMaxWidth", void 0), e([R({
2073
+ })], G.prototype, "contentMaxWidth", void 0), e([R({
2058
2074
  type: String,
2059
2075
  attribute: "container-max-width"
2060
- })], W.prototype, "containerMaxWidth", void 0), e([R({
2076
+ })], G.prototype, "containerMaxWidth", void 0), e([R({
2061
2077
  type: String,
2062
2078
  attribute: "content-height"
2063
- })], W.prototype, "contentHeight", void 0), e([R({
2079
+ })], G.prototype, "contentHeight", void 0), e([R({
2064
2080
  type: String,
2065
2081
  reflect: !0,
2066
2082
  attribute: "toggle-height-mode"
2067
- })], W.prototype, "toggleHeightMode", void 0), e([R({ attribute: !1 })], W.prototype, "tableData", void 0), e([R({ attribute: !1 })], W.prototype, "valueFormat", void 0), e([R({ attribute: !1 })], W.prototype, "timeFormat", void 0), e([R({ attribute: !1 })], W.prototype, "yAxisSettings", void 0), e([z()], W.prototype, "_slottedTableData", void 0), e([z()], W.prototype, "_actionsMenuOpen", void 0), e([z()], W.prototype, "_seriesDifferentiationEnabled", void 0), e([z()], W.prototype, "_isFullscreen", void 0), e([R({
2083
+ })], G.prototype, "toggleHeightMode", void 0), e([R({ attribute: !1 })], G.prototype, "tableData", void 0), e([R({ attribute: !1 })], G.prototype, "valueFormat", void 0), e([R({ attribute: !1 })], G.prototype, "timeFormat", void 0), e([R({ attribute: !1 })], G.prototype, "yAxisSettings", void 0), e([z()], G.prototype, "_slottedTableData", void 0), e([z()], G.prototype, "_actionsMenuOpen", void 0), e([z()], G.prototype, "_seriesDifferentiationEnabled", void 0), e([z()], G.prototype, "_isFullscreen", void 0), e([R({
2068
2084
  type: String,
2069
2085
  reflect: !0
2070
- })], W.prototype, "spacing", void 0), e([R({
2086
+ })], G.prototype, "spacing", void 0), e([R({
2071
2087
  type: String,
2072
2088
  attribute: "spacing-top",
2073
2089
  reflect: !0
2074
- })], W.prototype, "spacingTop", void 0), e([R({
2090
+ })], G.prototype, "spacingTop", void 0), e([R({
2075
2091
  type: String,
2076
2092
  attribute: "spacing-bottom",
2077
2093
  reflect: !0
2078
- })], W.prototype, "spacingBottom", void 0), e([R({
2094
+ })], G.prototype, "spacingBottom", void 0), e([R({
2079
2095
  type: String,
2080
2096
  attribute: "spacing-left",
2081
2097
  reflect: !0
2082
- })], W.prototype, "spacingLeft", void 0), e([R({
2098
+ })], G.prototype, "spacingLeft", void 0), e([R({
2083
2099
  type: String,
2084
2100
  attribute: "spacing-right",
2085
2101
  reflect: !0
2086
- })], W.prototype, "spacingRight", void 0), W = e([L("scb-viz")], W);
2102
+ })], G.prototype, "spacingRight", void 0), G = e([L("scb-viz")], G);
2087
2103
  //#endregion
2088
- export { W as ScbViz };
2104
+ export { G as ScbViz };