@telia-ace/alliance-ui 1.0.14-next.1 → 1.0.15-next.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.
Files changed (265) hide show
  1. package/CHANGELOG.md +17 -2
  2. package/components/alliance-link.d.ts +2 -0
  3. package/components/alliance-link.js +4 -150
  4. package/components/alliance-link.js.map +1 -1
  5. package/components/alliance-modal.d.ts +12 -0
  6. package/components/alliance-modal.js +7 -237
  7. package/components/alliance-modal.js.map +1 -1
  8. package/components/alliance-paginator.d.ts +13 -0
  9. package/components/alliance-paginator.js +6 -308
  10. package/components/alliance-paginator.js.map +1 -1
  11. package/components/alliance-table.d.ts +2 -0
  12. package/components/alliance-table.js +6 -144
  13. package/components/alliance-table.js.map +1 -1
  14. package/components/alliance-view.d.ts +32 -0
  15. package/components/alliance-view.js +291 -0
  16. package/components/alliance-view.js.map +1 -0
  17. package/components/chunk-ADFC4JKF.js +315 -0
  18. package/components/chunk-ADFC4JKF.js.map +1 -0
  19. package/components/chunk-B6YHD7BN.js +4 -0
  20. package/components/chunk-B6YHD7BN.js.map +1 -0
  21. package/components/chunk-JQ76TOQT.js +4 -0
  22. package/components/chunk-JQ76TOQT.js.map +1 -0
  23. package/components/chunk-LYU2K33W.js +464 -0
  24. package/components/chunk-LYU2K33W.js.map +1 -0
  25. package/components/chunk-NB6ODBZJ.js +13 -0
  26. package/components/chunk-NB6ODBZJ.js.map +1 -0
  27. package/components/chunk-P2AWWJPH.js +3 -0
  28. package/components/chunk-P2AWWJPH.js.map +1 -0
  29. package/components/chunk-WYQTL7R3.js +167 -0
  30. package/components/chunk-WYQTL7R3.js.map +1 -0
  31. package/components/chunk-XPHFAKEI.js +164 -0
  32. package/components/chunk-XPHFAKEI.js.map +1 -0
  33. package/components/index.d.ts +2 -6
  34. package/components/index.js +10 -18
  35. package/components/index.js.map +1 -1
  36. package/package.json +9 -13
  37. package/voca/components/telia-accordion-item.d.ts +1 -1
  38. package/voca/components/telia-accordion-item.js +3 -70
  39. package/voca/components/telia-accordion-item.js.map +1 -1
  40. package/voca/components/telia-accordion.d.ts +2 -1
  41. package/voca/components/telia-accordion.js +3 -104
  42. package/voca/components/telia-accordion.js.map +1 -1
  43. package/voca/components/telia-badge.d.ts +2 -1
  44. package/voca/components/telia-badge.js +3 -83
  45. package/voca/components/telia-badge.js.map +1 -1
  46. package/voca/components/telia-button.d.ts +2 -1
  47. package/voca/components/telia-button.js +3 -6
  48. package/voca/components/telia-button.js.map +1 -1
  49. package/voca/components/telia-card-frame-link.d.ts +2 -1
  50. package/voca/components/telia-card-frame-link.js +3 -46
  51. package/voca/components/telia-card-frame-link.js.map +1 -1
  52. package/voca/components/telia-card-frame.d.ts +2 -1
  53. package/voca/components/telia-card-frame.js +3 -4
  54. package/voca/components/telia-card-frame.js.map +1 -1
  55. package/voca/components/telia-checkbox.d.ts +2 -1
  56. package/voca/components/telia-checkbox.js +3 -102
  57. package/voca/components/telia-checkbox.js.map +1 -1
  58. package/voca/components/telia-chip-choice.d.ts +2 -1
  59. package/voca/components/telia-chip-choice.js +3 -70
  60. package/voca/components/telia-chip-choice.js.map +1 -1
  61. package/voca/components/telia-chip-filter.d.ts +2 -1
  62. package/voca/components/telia-chip-filter.js +3 -50
  63. package/voca/components/telia-chip-filter.js.map +1 -1
  64. package/voca/components/telia-col.d.ts +2 -1
  65. package/voca/components/telia-col.js +3 -47
  66. package/voca/components/telia-col.js.map +1 -1
  67. package/voca/components/telia-color-dot.d.ts +2 -1
  68. package/voca/components/telia-color-dot.js +3 -39
  69. package/voca/components/telia-color-dot.js.map +1 -1
  70. package/voca/components/telia-counter-badge.d.ts +2 -1
  71. package/voca/components/telia-counter-badge.js +3 -45
  72. package/voca/components/telia-counter-badge.js.map +1 -1
  73. package/voca/components/telia-cta-link.d.ts +2 -1
  74. package/voca/components/telia-cta-link.js +3 -58
  75. package/voca/components/telia-cta-link.js.map +1 -1
  76. package/voca/components/telia-date-picker.d.ts +2 -1
  77. package/voca/components/telia-date-picker.js +3 -591
  78. package/voca/components/telia-date-picker.js.map +1 -1
  79. package/voca/components/telia-divider.d.ts +2 -1
  80. package/voca/components/telia-divider.js +3 -46
  81. package/voca/components/telia-divider.js.map +1 -1
  82. package/voca/components/telia-field-assistive-text.d.ts +2 -1
  83. package/voca/components/telia-field-assistive-text.js +3 -4
  84. package/voca/components/telia-field-assistive-text.js.map +1 -1
  85. package/voca/components/telia-field-error.d.ts +2 -1
  86. package/voca/components/telia-field-error.js +3 -7
  87. package/voca/components/telia-field-error.js.map +1 -1
  88. package/voca/components/telia-field-valid.d.ts +2 -1
  89. package/voca/components/telia-field-valid.js +3 -7
  90. package/voca/components/telia-field-valid.js.map +1 -1
  91. package/voca/components/telia-fieldset.d.ts +2 -1
  92. package/voca/components/telia-fieldset.js +3 -56
  93. package/voca/components/telia-fieldset.js.map +1 -1
  94. package/voca/components/telia-focus-trap.d.ts +2 -1
  95. package/voca/components/telia-focus-trap.js +3 -78
  96. package/voca/components/telia-focus-trap.js.map +1 -1
  97. package/voca/components/telia-form.d.ts +2 -1
  98. package/voca/components/telia-form.js +3 -59
  99. package/voca/components/telia-form.js.map +1 -1
  100. package/voca/components/telia-grid.d.ts +2 -1
  101. package/voca/components/telia-grid.js +3 -29
  102. package/voca/components/telia-grid.js.map +1 -1
  103. package/voca/components/telia-heading.d.ts +2 -1
  104. package/voca/components/telia-heading.js +3 -4
  105. package/voca/components/telia-heading.js.map +1 -1
  106. package/voca/components/telia-icon.d.ts +2 -1
  107. package/voca/components/telia-icon.js +3 -5
  108. package/voca/components/telia-icon.js.map +1 -1
  109. package/voca/components/telia-image.d.ts +2 -1
  110. package/voca/components/telia-image.js +3 -42
  111. package/voca/components/telia-image.js.map +1 -1
  112. package/voca/components/telia-label.d.ts +2 -1
  113. package/voca/components/telia-label.js +3 -4
  114. package/voca/components/telia-label.js.map +1 -1
  115. package/voca/components/telia-link-image.d.ts +2 -1
  116. package/voca/components/telia-link-image.js +3 -55
  117. package/voca/components/telia-link-image.js.map +1 -1
  118. package/voca/components/telia-link.d.ts +2 -1
  119. package/voca/components/telia-link.js +3 -5
  120. package/voca/components/telia-link.js.map +1 -1
  121. package/voca/components/telia-list.d.ts +2 -1
  122. package/voca/components/telia-list.js +3 -69
  123. package/voca/components/telia-list.js.map +1 -1
  124. package/voca/components/telia-logo.d.ts +2 -1
  125. package/voca/components/telia-logo.js +3 -54
  126. package/voca/components/telia-logo.js.map +1 -1
  127. package/voca/components/telia-notification.d.ts +2 -1
  128. package/voca/components/telia-notification.js +3 -87
  129. package/voca/components/telia-notification.js.map +1 -1
  130. package/voca/components/telia-overlay.d.ts +2 -1
  131. package/voca/components/telia-overlay.js +3 -31
  132. package/voca/components/telia-overlay.js.map +1 -1
  133. package/voca/components/telia-p.d.ts +2 -1
  134. package/voca/components/telia-p.js +3 -51
  135. package/voca/components/telia-p.js.map +1 -1
  136. package/voca/components/telia-pictogram.d.ts +2 -1
  137. package/voca/components/telia-pictogram.js +3 -112
  138. package/voca/components/telia-pictogram.js.map +1 -1
  139. package/voca/components/telia-radio-button.d.ts +2 -1
  140. package/voca/components/telia-radio-button.js +3 -54
  141. package/voca/components/telia-radio-button.js.map +1 -1
  142. package/voca/components/telia-row.d.ts +2 -1
  143. package/voca/components/telia-row.js +3 -37
  144. package/voca/components/telia-row.js.map +1 -1
  145. package/voca/components/telia-search-input.d.ts +2 -1
  146. package/voca/components/telia-search-input.js +3 -134
  147. package/voca/components/telia-search-input.js.map +1 -1
  148. package/voca/components/telia-select.d.ts +2 -1
  149. package/voca/components/telia-select.js +3 -114
  150. package/voca/components/telia-select.js.map +1 -1
  151. package/voca/components/telia-skeleton.d.ts +2 -1
  152. package/voca/components/telia-skeleton.js +3 -32
  153. package/voca/components/telia-skeleton.js.map +1 -1
  154. package/voca/components/telia-status-badge.d.ts +2 -1
  155. package/voca/components/telia-status-badge.js +3 -58
  156. package/voca/components/telia-status-badge.js.map +1 -1
  157. package/voca/components/telia-style-link.d.ts +2 -1
  158. package/voca/components/telia-style-link.js +3 -4
  159. package/voca/components/telia-style-link.js.map +1 -1
  160. package/voca/components/telia-tab-content.d.ts +2 -1
  161. package/voca/components/telia-tab-content.js +3 -44
  162. package/voca/components/telia-tab-content.js.map +1 -1
  163. package/voca/components/telia-tab-header.d.ts +2 -1
  164. package/voca/components/telia-tab-header.js +3 -6
  165. package/voca/components/telia-tab-header.js.map +1 -1
  166. package/voca/components/telia-tab.d.ts +2 -1
  167. package/voca/components/telia-tab.js +3 -160
  168. package/voca/components/telia-tab.js.map +1 -1
  169. package/voca/components/telia-text-input.d.ts +2 -1
  170. package/voca/components/telia-text-input.js +3 -14
  171. package/voca/components/telia-text-input.js.map +1 -1
  172. package/voca/components/telia-text-spacing.d.ts +2 -1
  173. package/voca/components/telia-text-spacing.js +3 -29
  174. package/voca/components/telia-text-spacing.js.map +1 -1
  175. package/voca/components/telia-textarea.d.ts +2 -1
  176. package/voca/components/telia-textarea.js +3 -111
  177. package/voca/components/telia-textarea.js.map +1 -1
  178. package/voca/components/telia-toggle.d.ts +2 -1
  179. package/voca/components/telia-toggle.js +3 -143
  180. package/voca/components/telia-toggle.js.map +1 -1
  181. package/voca/components/telia-visually-hidden.d.ts +2 -1
  182. package/voca/components/telia-visually-hidden.js +3 -4
  183. package/voca/components/telia-visually-hidden.js.map +1 -1
  184. package/voca/foundations/component-library-styling.d.ts +2 -1
  185. package/voca/foundations/component-library-styling.js +3 -3
  186. package/voca/foundations/component-library-styling.js.map +1 -1
  187. package/voca/foundations/index.d.ts +6 -4
  188. package/voca/foundations/index.js +161 -162
  189. package/voca/foundations/index.js.map +1 -1
  190. package/voca/icons/index.js +3 -338
  191. package/voca/icons/index.js.map +1 -1
  192. package/chunks/check-circle-filled-42095247.js +0 -5
  193. package/chunks/check-circle-filled-42095247.js.map +0 -1
  194. package/chunks/chevron-down-50d47dd6.js +0 -5
  195. package/chunks/chevron-down-50d47dd6.js.map +0 -1
  196. package/chunks/chevron-right-788ce8a9.js +0 -6
  197. package/chunks/chevron-right-788ce8a9.js.map +0 -1
  198. package/chunks/close-7d423291.js +0 -5
  199. package/chunks/close-7d423291.js.map +0 -1
  200. package/chunks/close-ac6e4f1c.js +0 -5
  201. package/chunks/close-ac6e4f1c.js.map +0 -1
  202. package/chunks/error-9925a844.js +0 -7
  203. package/chunks/error-9925a844.js.map +0 -1
  204. package/chunks/error-filled-8de50bdd.js +0 -5
  205. package/chunks/error-filled-8de50bdd.js.map +0 -1
  206. package/chunks/getSvgContent-f2389ce0.js +0 -14
  207. package/chunks/getSvgContent-f2389ce0.js.map +0 -1
  208. package/chunks/index-514c4fef.js +0 -213
  209. package/chunks/index-514c4fef.js.map +0 -1
  210. package/chunks/index-eef143db.js +0 -531
  211. package/chunks/index-eef143db.js.map +0 -1
  212. package/chunks/query-assigned-elements-ac91685f.js +0 -606
  213. package/chunks/query-assigned-elements-ac91685f.js.map +0 -1
  214. package/chunks/repeat-34adae9e.js +0 -143
  215. package/chunks/repeat-34adae9e.js.map +0 -1
  216. package/chunks/stringCombiner-10b57054.js +0 -50
  217. package/chunks/stringCombiner-10b57054.js.map +0 -1
  218. package/chunks/telia-button-c9ba09a9.js +0 -86
  219. package/chunks/telia-button-c9ba09a9.js.map +0 -1
  220. package/chunks/telia-card-frame-340f3315.js +0 -39
  221. package/chunks/telia-card-frame-340f3315.js.map +0 -1
  222. package/chunks/telia-field-assistive-text-173ba2fb.js +0 -32
  223. package/chunks/telia-field-assistive-text-173ba2fb.js.map +0 -1
  224. package/chunks/telia-field-error-f978aeb3.js +0 -40
  225. package/chunks/telia-field-error-f978aeb3.js.map +0 -1
  226. package/chunks/telia-field-valid-5d8f121e.js +0 -39
  227. package/chunks/telia-field-valid-5d8f121e.js.map +0 -1
  228. package/chunks/telia-heading-38ae44ae.js +0 -104
  229. package/chunks/telia-heading-38ae44ae.js.map +0 -1
  230. package/chunks/telia-icon-d0e7c715.js +0 -73
  231. package/chunks/telia-icon-d0e7c715.js.map +0 -1
  232. package/chunks/telia-label-f4c1eb47.js +0 -36
  233. package/chunks/telia-label-f4c1eb47.js.map +0 -1
  234. package/chunks/telia-link-42cb2e68.js +0 -51
  235. package/chunks/telia-link-42cb2e68.js.map +0 -1
  236. package/chunks/telia-style-link-bb7bfd94.js +0 -56
  237. package/chunks/telia-style-link-bb7bfd94.js.map +0 -1
  238. package/chunks/telia-tab-header-890fc7c8.js +0 -98
  239. package/chunks/telia-tab-header-890fc7c8.js.map +0 -1
  240. package/chunks/telia-text-input-289394d8.js +0 -169
  241. package/chunks/telia-text-input-289394d8.js.map +0 -1
  242. package/chunks/telia-visually-hidden-9015e8cd.js +0 -34
  243. package/chunks/telia-visually-hidden-9015e8cd.js.map +0 -1
  244. package/chunks/telia-vst2-dfb33a56.js +0 -41
  245. package/chunks/telia-vst2-dfb33a56.js.map +0 -1
  246. package/chunks/uniqueId-0daf01ec.js +0 -5
  247. package/chunks/uniqueId-0daf01ec.js.map +0 -1
  248. package/chunks/variables-ecb680f0.js +0 -8
  249. package/chunks/variables-ecb680f0.js.map +0 -1
  250. package/components/alliance-link/alliance-link.d.ts +0 -27
  251. package/components/alliance-link/index.d.ts +0 -1
  252. package/components/alliance-modal/alliance-modal.d.ts +0 -43
  253. package/components/alliance-modal/index.d.ts +0 -2
  254. package/components/alliance-paginator/alliance-page-selector.d.ts +0 -22
  255. package/components/alliance-paginator/alliance-paginator-button.d.ts +0 -17
  256. package/components/alliance-paginator/alliance-paginator.d.ts +0 -32
  257. package/components/alliance-paginator/index.d.ts +0 -4
  258. package/components/alliance-paginator/utils.d.ts +0 -13
  259. package/components/alliance-table/alliance-table-body.d.ts +0 -5
  260. package/components/alliance-table/alliance-table-data.d.ts +0 -5
  261. package/components/alliance-table/alliance-table-head.d.ts +0 -7
  262. package/components/alliance-table/alliance-table-row.d.ts +0 -6
  263. package/components/alliance-table/alliance-table.d.ts +0 -5
  264. package/components/alliance-table/index.d.ts +0 -5
  265. package/style.css +0 -1
@@ -1,606 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const H = window, W = H.ShadowRoot && (H.ShadyCSS === void 0 || H.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, q = Symbol(), Z = /* @__PURE__ */ new WeakMap();
7
- let ot = class {
8
- constructor(t, e, i) {
9
- if (this._$cssResult$ = !0, i !== q)
10
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
- this.cssText = t, this.t = e;
12
- }
13
- get styleSheet() {
14
- let t = this.o;
15
- const e = this.t;
16
- if (W && t === void 0) {
17
- const i = e !== void 0 && e.length === 1;
18
- i && (t = Z.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Z.set(e, t));
19
- }
20
- return t;
21
- }
22
- toString() {
23
- return this.cssText;
24
- }
25
- };
26
- const At = (n) => new ot(typeof n == "string" ? n : n + "", void 0, q), xt = (n, ...t) => {
27
- const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
28
- if (o._$cssResult$ === !0)
29
- return o.cssText;
30
- if (typeof o == "number")
31
- return o;
32
- throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
- })(s) + n[r + 1], n[0]);
34
- return new ot(e, n, q);
35
- }, yt = (n, t) => {
36
- W ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
37
- const i = document.createElement("style"), s = H.litNonce;
38
- s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
39
- });
40
- }, J = W ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
41
- let e = "";
42
- for (const i of t.cssRules)
43
- e += i.cssText;
44
- return At(e);
45
- })(n) : n;
46
- /**
47
- * @license
48
- * Copyright 2017 Google LLC
49
- * SPDX-License-Identifier: BSD-3-Clause
50
- */
51
- var M;
52
- const T = window, F = T.trustedTypes, mt = F ? F.emptyScript : "", G = T.reactiveElementPolyfillSupport, I = { toAttribute(n, t) {
53
- switch (t) {
54
- case Boolean:
55
- n = n ? mt : null;
56
- break;
57
- case Object:
58
- case Array:
59
- n = n == null ? n : JSON.stringify(n);
60
- }
61
- return n;
62
- }, fromAttribute(n, t) {
63
- let e = n;
64
- switch (t) {
65
- case Boolean:
66
- e = n !== null;
67
- break;
68
- case Number:
69
- e = n === null ? null : Number(n);
70
- break;
71
- case Object:
72
- case Array:
73
- try {
74
- e = JSON.parse(n);
75
- } catch {
76
- e = null;
77
- }
78
- }
79
- return e;
80
- } }, rt = (n, t) => t !== n && (t == t || n == n), R = { attribute: !0, type: String, converter: I, reflect: !1, hasChanged: rt }, V = "finalized";
81
- let m = class extends HTMLElement {
82
- constructor() {
83
- super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
84
- }
85
- static addInitializer(t) {
86
- var e;
87
- this.finalize(), ((e = this.h) !== null && e !== void 0 ? e : this.h = []).push(t);
88
- }
89
- static get observedAttributes() {
90
- this.finalize();
91
- const t = [];
92
- return this.elementProperties.forEach((e, i) => {
93
- const s = this._$Ep(i, e);
94
- s !== void 0 && (this._$Ev.set(s, i), t.push(s));
95
- }), t;
96
- }
97
- static createProperty(t, e = R) {
98
- if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
99
- const i = typeof t == "symbol" ? Symbol() : "__" + t, s = this.getPropertyDescriptor(t, i, e);
100
- s !== void 0 && Object.defineProperty(this.prototype, t, s);
101
- }
102
- }
103
- static getPropertyDescriptor(t, e, i) {
104
- return { get() {
105
- return this[e];
106
- }, set(s) {
107
- const r = this[t];
108
- this[e] = s, this.requestUpdate(t, r, i);
109
- }, configurable: !0, enumerable: !0 };
110
- }
111
- static getPropertyOptions(t) {
112
- return this.elementProperties.get(t) || R;
113
- }
114
- static finalize() {
115
- if (this.hasOwnProperty(V))
116
- return !1;
117
- this[V] = !0;
118
- const t = Object.getPrototypeOf(this);
119
- if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
120
- const e = this.properties, i = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
121
- for (const s of i)
122
- this.createProperty(s, e[s]);
123
- }
124
- return this.elementStyles = this.finalizeStyles(this.styles), !0;
125
- }
126
- static finalizeStyles(t) {
127
- const e = [];
128
- if (Array.isArray(t)) {
129
- const i = new Set(t.flat(1 / 0).reverse());
130
- for (const s of i)
131
- e.unshift(J(s));
132
- } else
133
- t !== void 0 && e.push(J(t));
134
- return e;
135
- }
136
- static _$Ep(t, e) {
137
- const i = e.attribute;
138
- return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
139
- }
140
- u() {
141
- var t;
142
- this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
143
- }
144
- addController(t) {
145
- var e, i;
146
- ((e = this._$ES) !== null && e !== void 0 ? e : this._$ES = []).push(t), this.renderRoot !== void 0 && this.isConnected && ((i = t.hostConnected) === null || i === void 0 || i.call(t));
147
- }
148
- removeController(t) {
149
- var e;
150
- (e = this._$ES) === null || e === void 0 || e.splice(this._$ES.indexOf(t) >>> 0, 1);
151
- }
152
- _$Eg() {
153
- this.constructor.elementProperties.forEach((t, e) => {
154
- this.hasOwnProperty(e) && (this._$Ei.set(e, this[e]), delete this[e]);
155
- });
156
- }
157
- createRenderRoot() {
158
- var t;
159
- const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
160
- return yt(e, this.constructor.elementStyles), e;
161
- }
162
- connectedCallback() {
163
- var t;
164
- this.renderRoot === void 0 && (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
165
- var i;
166
- return (i = e.hostConnected) === null || i === void 0 ? void 0 : i.call(e);
167
- });
168
- }
169
- enableUpdating(t) {
170
- }
171
- disconnectedCallback() {
172
- var t;
173
- (t = this._$ES) === null || t === void 0 || t.forEach((e) => {
174
- var i;
175
- return (i = e.hostDisconnected) === null || i === void 0 ? void 0 : i.call(e);
176
- });
177
- }
178
- attributeChangedCallback(t, e, i) {
179
- this._$AK(t, i);
180
- }
181
- _$EO(t, e, i = R) {
182
- var s;
183
- const r = this.constructor._$Ep(t, i);
184
- if (r !== void 0 && i.reflect === !0) {
185
- const o = (((s = i.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? i.converter : I).toAttribute(e, i.type);
186
- this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
187
- }
188
- }
189
- _$AK(t, e) {
190
- var i;
191
- const s = this.constructor, r = s._$Ev.get(t);
192
- if (r !== void 0 && this._$El !== r) {
193
- const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter : I;
194
- this._$El = r, this[r] = a.fromAttribute(e, o.type), this._$El = null;
195
- }
196
- }
197
- requestUpdate(t, e, i) {
198
- let s = !0;
199
- t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || rt)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, i))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
200
- }
201
- async _$Ej() {
202
- this.isUpdatePending = !0;
203
- try {
204
- await this._$E_;
205
- } catch (e) {
206
- Promise.reject(e);
207
- }
208
- const t = this.scheduleUpdate();
209
- return t != null && await t, !this.isUpdatePending;
210
- }
211
- scheduleUpdate() {
212
- return this.performUpdate();
213
- }
214
- performUpdate() {
215
- var t;
216
- if (!this.isUpdatePending)
217
- return;
218
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((s, r) => this[r] = s), this._$Ei = void 0);
219
- let e = !1;
220
- const i = this._$AL;
221
- try {
222
- e = this.shouldUpdate(i), e ? (this.willUpdate(i), (t = this._$ES) === null || t === void 0 || t.forEach((s) => {
223
- var r;
224
- return (r = s.hostUpdate) === null || r === void 0 ? void 0 : r.call(s);
225
- }), this.update(i)) : this._$Ek();
226
- } catch (s) {
227
- throw e = !1, this._$Ek(), s;
228
- }
229
- e && this._$AE(i);
230
- }
231
- willUpdate(t) {
232
- }
233
- _$AE(t) {
234
- var e;
235
- (e = this._$ES) === null || e === void 0 || e.forEach((i) => {
236
- var s;
237
- return (s = i.hostUpdated) === null || s === void 0 ? void 0 : s.call(i);
238
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
239
- }
240
- _$Ek() {
241
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
242
- }
243
- get updateComplete() {
244
- return this.getUpdateComplete();
245
- }
246
- getUpdateComplete() {
247
- return this._$E_;
248
- }
249
- shouldUpdate(t) {
250
- return !0;
251
- }
252
- update(t) {
253
- this._$EC !== void 0 && (this._$EC.forEach((e, i) => this._$EO(i, this[i], e)), this._$EC = void 0), this._$Ek();
254
- }
255
- updated(t) {
256
- }
257
- firstUpdated(t) {
258
- }
259
- };
260
- m[V] = !0, m.elementProperties = /* @__PURE__ */ new Map(), m.elementStyles = [], m.shadowRootOptions = { mode: "open" }, G == null || G({ ReactiveElement: m }), ((M = T.reactiveElementVersions) !== null && M !== void 0 ? M : T.reactiveElementVersions = []).push("1.6.2");
261
- /**
262
- * @license
263
- * Copyright 2017 Google LLC
264
- * SPDX-License-Identifier: BSD-3-Clause
265
- */
266
- var L;
267
- const k = window, g = k.trustedTypes, Q = g ? g.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, O = "$lit$", v = `lit$${(Math.random() + "").slice(9)}$`, K = "?" + v, gt = `<${K}>`, A = document, C = () => A.createComment(""), w = (n) => n === null || typeof n != "object" && typeof n != "function", lt = Array.isArray, ht = (n) => lt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", z = `[
268
- \f\r]`, b = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, X = /-->/g, Y = />/g, _ = RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^
269
- \f\r"'\`<>=]|("|')|))|$)`, "g"), tt = /'/g, et = /"/g, at = /^(?:script|style|textarea|title)$/i, Et = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Ht = Et(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), it = /* @__PURE__ */ new WeakMap(), f = A.createTreeWalker(A, 129, null, !1);
270
- function dt(n, t) {
271
- if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
272
- throw Error("invalid template strings array");
273
- return Q !== void 0 ? Q.createHTML(t) : t;
274
- }
275
- const ct = (n, t) => {
276
- const e = n.length - 1, i = [];
277
- let s, r = t === 2 ? "<svg>" : "", o = b;
278
- for (let a = 0; a < e; a++) {
279
- const l = n[a];
280
- let h, d, c = -1, p = 0;
281
- for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); )
282
- p = o.lastIndex, o === b ? d[1] === "!--" ? o = X : d[1] !== void 0 ? o = Y : d[2] !== void 0 ? (at.test(d[2]) && (s = RegExp("</" + d[2], "g")), o = _) : d[3] !== void 0 && (o = _) : o === _ ? d[0] === ">" ? (o = s ?? b, c = -1) : d[1] === void 0 ? c = -2 : (c = o.lastIndex - d[2].length, h = d[1], o = d[3] === void 0 ? _ : d[3] === '"' ? et : tt) : o === et || o === tt ? o = _ : o === X || o === Y ? o = b : (o = _, s = void 0);
283
- const $ = o === _ && n[a + 1].startsWith("/>") ? " " : "";
284
- r += o === b ? l + gt : c >= 0 ? (i.push(h), l.slice(0, c) + O + l.slice(c) + v + $) : l + v + (c === -2 ? (i.push(void 0), a) : $);
285
- }
286
- return [dt(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
287
- };
288
- class P {
289
- constructor({ strings: t, _$litType$: e }, i) {
290
- let s;
291
- this.parts = [];
292
- let r = 0, o = 0;
293
- const a = t.length - 1, l = this.parts, [h, d] = ct(t, e);
294
- if (this.el = P.createElement(h, i), f.currentNode = this.el.content, e === 2) {
295
- const c = this.el.content, p = c.firstChild;
296
- p.remove(), c.append(...p.childNodes);
297
- }
298
- for (; (s = f.nextNode()) !== null && l.length < a; ) {
299
- if (s.nodeType === 1) {
300
- if (s.hasAttributes()) {
301
- const c = [];
302
- for (const p of s.getAttributeNames())
303
- if (p.endsWith(O) || p.startsWith(v)) {
304
- const $ = d[o++];
305
- if (c.push(p), $ !== void 0) {
306
- const ft = s.getAttribute($.toLowerCase() + O).split(v), U = /([.?@])?(.*)/.exec($);
307
- l.push({ type: 1, index: r, name: U[2], strings: ft, ctor: U[1] === "." ? pt : U[1] === "?" ? $t : U[1] === "@" ? vt : x });
308
- } else
309
- l.push({ type: 6, index: r });
310
- }
311
- for (const p of c)
312
- s.removeAttribute(p);
313
- }
314
- if (at.test(s.tagName)) {
315
- const c = s.textContent.split(v), p = c.length - 1;
316
- if (p > 0) {
317
- s.textContent = g ? g.emptyScript : "";
318
- for (let $ = 0; $ < p; $++)
319
- s.append(c[$], C()), f.nextNode(), l.push({ type: 2, index: ++r });
320
- s.append(c[p], C());
321
- }
322
- }
323
- } else if (s.nodeType === 8)
324
- if (s.data === K)
325
- l.push({ type: 2, index: r });
326
- else {
327
- let c = -1;
328
- for (; (c = s.data.indexOf(v, c + 1)) !== -1; )
329
- l.push({ type: 7, index: r }), c += v.length - 1;
330
- }
331
- r++;
332
- }
333
- }
334
- static createElement(t, e) {
335
- const i = A.createElement("template");
336
- return i.innerHTML = t, i;
337
- }
338
- }
339
- function y(n, t, e = n, i) {
340
- var s, r, o, a;
341
- if (t === E)
342
- return t;
343
- let l = i !== void 0 ? (s = e._$Co) === null || s === void 0 ? void 0 : s[i] : e._$Cl;
344
- const h = w(t) ? void 0 : t._$litDirective$;
345
- return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, i)), i !== void 0 ? ((o = (a = e)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[i] = l : e._$Cl = l), l !== void 0 && (t = y(n, l._$AS(n, t.values), l, i)), t;
346
- }
347
- class ut {
348
- constructor(t, e) {
349
- this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
350
- }
351
- get parentNode() {
352
- return this._$AM.parentNode;
353
- }
354
- get _$AU() {
355
- return this._$AM._$AU;
356
- }
357
- u(t) {
358
- var e;
359
- const { el: { content: i }, parts: s } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : A).importNode(i, !0);
360
- f.currentNode = r;
361
- let o = f.nextNode(), a = 0, l = 0, h = s[0];
362
- for (; h !== void 0; ) {
363
- if (a === h.index) {
364
- let d;
365
- h.type === 2 ? d = new S(o, o.nextSibling, this, t) : h.type === 1 ? d = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (d = new _t(o, this, t)), this._$AV.push(d), h = s[++l];
366
- }
367
- a !== (h == null ? void 0 : h.index) && (o = f.nextNode(), a++);
368
- }
369
- return f.currentNode = A, r;
370
- }
371
- v(t) {
372
- let e = 0;
373
- for (const i of this._$AV)
374
- i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
375
- }
376
- }
377
- class S {
378
- constructor(t, e, i, s) {
379
- var r;
380
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cp = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
381
- }
382
- get _$AU() {
383
- var t, e;
384
- return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cp;
385
- }
386
- get parentNode() {
387
- let t = this._$AA.parentNode;
388
- const e = this._$AM;
389
- return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
390
- }
391
- get startNode() {
392
- return this._$AA;
393
- }
394
- get endNode() {
395
- return this._$AB;
396
- }
397
- _$AI(t, e = this) {
398
- t = y(this, t, e), w(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : ht(t) ? this.T(t) : this._(t);
399
- }
400
- k(t) {
401
- return this._$AA.parentNode.insertBefore(t, this._$AB);
402
- }
403
- $(t) {
404
- this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
405
- }
406
- _(t) {
407
- this._$AH !== u && w(this._$AH) ? this._$AA.nextSibling.data = t : this.$(A.createTextNode(t)), this._$AH = t;
408
- }
409
- g(t) {
410
- var e;
411
- const { values: i, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = P.createElement(dt(s.h, s.h[0]), this.options)), s);
412
- if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
413
- this._$AH.v(i);
414
- else {
415
- const o = new ut(r, this), a = o.u(this.options);
416
- o.v(i), this.$(a), this._$AH = o;
417
- }
418
- }
419
- _$AC(t) {
420
- let e = it.get(t.strings);
421
- return e === void 0 && it.set(t.strings, e = new P(t)), e;
422
- }
423
- T(t) {
424
- lt(this._$AH) || (this._$AH = [], this._$AR());
425
- const e = this._$AH;
426
- let i, s = 0;
427
- for (const r of t)
428
- s === e.length ? e.push(i = new S(this.k(C()), this.k(C()), this, this.options)) : i = e[s], i._$AI(r), s++;
429
- s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
430
- }
431
- _$AR(t = this._$AA.nextSibling, e) {
432
- var i;
433
- for ((i = this._$AP) === null || i === void 0 || i.call(this, !1, !0, e); t && t !== this._$AB; ) {
434
- const s = t.nextSibling;
435
- t.remove(), t = s;
436
- }
437
- }
438
- setConnected(t) {
439
- var e;
440
- this._$AM === void 0 && (this._$Cp = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
441
- }
442
- }
443
- class x {
444
- constructor(t, e, i, s, r) {
445
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
446
- }
447
- get tagName() {
448
- return this.element.tagName;
449
- }
450
- get _$AU() {
451
- return this._$AM._$AU;
452
- }
453
- _$AI(t, e = this, i, s) {
454
- const r = this.strings;
455
- let o = !1;
456
- if (r === void 0)
457
- t = y(this, t, e, 0), o = !w(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
458
- else {
459
- const a = t;
460
- let l, h;
461
- for (t = r[0], l = 0; l < r.length - 1; l++)
462
- h = y(this, a[i + l], e, l), h === E && (h = this._$AH[l]), o || (o = !w(h) || h !== this._$AH[l]), h === u ? t = u : t !== u && (t += (h ?? "") + r[l + 1]), this._$AH[l] = h;
463
- }
464
- o && !s && this.j(t);
465
- }
466
- j(t) {
467
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
468
- }
469
- }
470
- class pt extends x {
471
- constructor() {
472
- super(...arguments), this.type = 3;
473
- }
474
- j(t) {
475
- this.element[this.name] = t === u ? void 0 : t;
476
- }
477
- }
478
- const St = g ? g.emptyScript : "";
479
- class $t extends x {
480
- constructor() {
481
- super(...arguments), this.type = 4;
482
- }
483
- j(t) {
484
- t && t !== u ? this.element.setAttribute(this.name, St) : this.element.removeAttribute(this.name);
485
- }
486
- }
487
- class vt extends x {
488
- constructor(t, e, i, s, r) {
489
- super(t, e, i, s, r), this.type = 5;
490
- }
491
- _$AI(t, e = this) {
492
- var i;
493
- if ((t = (i = y(this, t, e, 0)) !== null && i !== void 0 ? i : u) === E)
494
- return;
495
- const s = this._$AH, r = t === u && s !== u || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== u && (s === u || r);
496
- r && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
497
- }
498
- handleEvent(t) {
499
- var e, i;
500
- typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && i !== void 0 ? i : this.element, t) : this._$AH.handleEvent(t);
501
- }
502
- }
503
- class _t {
504
- constructor(t, e, i) {
505
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
506
- }
507
- get _$AU() {
508
- return this._$AM._$AU;
509
- }
510
- _$AI(t) {
511
- y(this, t);
512
- }
513
- }
514
- const Nt = { O, P: v, A: K, C: 1, M: ct, L: ut, D: ht, R: y, I: S, V: x, H: $t, N: vt, U: pt, F: _t }, st = k.litHtmlPolyfillSupport;
515
- st == null || st(P, S), ((L = k.litHtmlVersions) !== null && L !== void 0 ? L : k.litHtmlVersions = []).push("2.7.5");
516
- const bt = (n, t, e) => {
517
- var i, s;
518
- const r = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
519
- let o = r._$litPart$;
520
- if (o === void 0) {
521
- const a = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : null;
522
- r._$litPart$ = o = new S(t.insertBefore(C(), a), a, void 0, e ?? {});
523
- }
524
- return o._$AI(n), o;
525
- };
526
- /**
527
- * @license
528
- * Copyright 2017 Google LLC
529
- * SPDX-License-Identifier: BSD-3-Clause
530
- */
531
- var j, D;
532
- class N extends m {
533
- constructor() {
534
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
535
- }
536
- createRenderRoot() {
537
- var t, e;
538
- const i = super.createRenderRoot();
539
- return (t = (e = this.renderOptions).renderBefore) !== null && t !== void 0 || (e.renderBefore = i.firstChild), i;
540
- }
541
- update(t) {
542
- const e = this.render();
543
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = bt(e, this.renderRoot, this.renderOptions);
544
- }
545
- connectedCallback() {
546
- var t;
547
- super.connectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!0);
548
- }
549
- disconnectedCallback() {
550
- var t;
551
- super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
552
- }
553
- render() {
554
- return E;
555
- }
556
- }
557
- N.finalized = !0, N._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: N });
558
- const nt = globalThis.litElementPolyfillSupport;
559
- nt == null || nt({ LitElement: N });
560
- ((D = globalThis.litElementVersions) !== null && D !== void 0 ? D : globalThis.litElementVersions = []).push("3.3.2");
561
- /**
562
- * @license
563
- * Copyright 2017 Google LLC
564
- * SPDX-License-Identifier: BSD-3-Clause
565
- */
566
- const Tt = (n) => (t) => typeof t == "function" ? ((e, i) => (customElements.define(e, i), i))(n, t) : ((e, i) => {
567
- const { kind: s, elements: r } = i;
568
- return { kind: s, elements: r, finisher(o) {
569
- customElements.define(e, o);
570
- } };
571
- })(n, t);
572
- /**
573
- * @license
574
- * Copyright 2017 Google LLC
575
- * SPDX-License-Identifier: BSD-3-Clause
576
- */
577
- const Ct = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
578
- e.createProperty(t.key, n);
579
- } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
580
- typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
581
- }, finisher(e) {
582
- e.createProperty(t.key, n);
583
- } }, wt = (n, t, e) => {
584
- t.constructor.createProperty(e, n);
585
- };
586
- function kt(n) {
587
- return (t, e) => e !== void 0 ? wt(n, t, e) : Ct(n, t);
588
- }
589
- /**
590
- * @license
591
- * Copyright 2021 Google LLC
592
- * SPDX-License-Identifier: BSD-3-Clause
593
- */
594
- var B;
595
- ((B = window.HTMLSlotElement) === null || B === void 0 ? void 0 : B.prototype.assignedElements) != null;
596
- export {
597
- E as T,
598
- Tt as e,
599
- xt as i,
600
- Nt as j,
601
- kt as n,
602
- At as r,
603
- N as s,
604
- Ht as x
605
- };
606
- //# sourceMappingURL=query-assigned-elements-ac91685f.js.map