nve-designsystem 3.2.0 → 3.3.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 (197) hide show
  1. package/chunks/chunk.2PCBEMQZ.js +163 -226
  2. package/chunks/chunk.36O46B5H.js +15 -15
  3. package/chunks/chunk.4TUIT776.js +78 -96
  4. package/chunks/chunk.5JY5FUCG.js +965 -1245
  5. package/chunks/chunk.5P45LHIX.js +668 -96
  6. package/chunks/chunk.6CTB5ZDJ.js +107 -100
  7. package/chunks/chunk.B4BZKR24.js +29 -39
  8. package/chunks/chunk.D5YQDJ7X.js +122 -166
  9. package/chunks/chunk.EA437WHD.js +5 -5
  10. package/chunks/chunk.GI7VDIWX.js +14 -15
  11. package/chunks/chunk.GMYPQTFK.js +18 -20
  12. package/chunks/chunk.HVTXQL7M.js +191 -215
  13. package/chunks/chunk.IKV4VH3T.js +18 -16
  14. package/chunks/chunk.IVVHNXMC.js +26 -27
  15. package/chunks/chunk.JHOXTQXA.js +65 -74
  16. package/chunks/chunk.JXOKFADN.js +63 -90
  17. package/chunks/chunk.K7JGTRV7.js +24 -23
  18. package/chunks/chunk.KPLQLAWP.js +132 -147
  19. package/chunks/chunk.LD4M4QGE.js +61 -74
  20. package/chunks/chunk.MSKEYBDI.js +53 -71
  21. package/chunks/chunk.NYIIDP5N.js +39 -45
  22. package/chunks/chunk.RWUUFNUL.js +91 -114
  23. package/chunks/chunk.SAPQLUO4.js +249 -228
  24. package/chunks/chunk.SI4ACBFK.js +139 -5
  25. package/chunks/chunk.TP2GB2HO.js +361 -460
  26. package/chunks/chunk.UDWRA64J.js +185 -223
  27. package/chunks/chunk.URTPIBTY.js +119 -151
  28. package/chunks/chunk.VESXC477.js +63 -66
  29. package/chunks/chunk.XA43ZQPC.js +198 -313
  30. package/chunks/chunk.XQ2OKYYA.js +25 -26
  31. package/chunks/chunk.XZNBUGX7.js +6 -6
  32. package/chunks/chunk.YHLNUJ7P.js +93 -116
  33. package/chunks/chunk.ZH2AND3P.js +340 -399
  34. package/chunks/chunk.ZL53POKZ.js +61 -156
  35. package/chunks/chunk.js +20 -0
  36. package/chunks/class-map.js +49 -45
  37. package/chunks/decorate.js +105 -0
  38. package/chunks/directive-helpers.js +5 -7
  39. package/chunks/if-defined.js +5 -5
  40. package/chunks/lit.js +525 -0
  41. package/chunks/live.js +24 -24
  42. package/chunks/nve-alert.component.js +163 -0
  43. package/chunks/nve-carousel-item.component.js +36 -0
  44. package/chunks/nve-carousel.component.js +41 -0
  45. package/chunks/nve-checkbox-group.component.js +114 -0
  46. package/chunks/nve-checkbox.component.js +28 -0
  47. package/chunks/nve-dialog.component.js +39 -0
  48. package/chunks/nve-divider.component.js +23 -0
  49. package/chunks/nve-drawer.component.js +40 -0
  50. package/chunks/nve-dropdown.component.js +83 -0
  51. package/chunks/nve-input.component.js +80 -0
  52. package/chunks/nve-label.component.js +89 -0
  53. package/chunks/nve-menu-item.component.js +35 -0
  54. package/chunks/nve-menu.component.js +17 -0
  55. package/chunks/nve-option.component.js +27 -0
  56. package/chunks/nve-popup.component.js +15 -0
  57. package/chunks/nve-radio-button.component.js +20 -0
  58. package/chunks/nve-radio-group.component.js +78 -0
  59. package/chunks/nve-radio.component.js +18 -0
  60. package/chunks/nve-select.component.js +58 -0
  61. package/chunks/nve-skeleton.component.js +20 -0
  62. package/chunks/nve-spinner.component.js +23 -0
  63. package/chunks/nve-tooltip.component.js +20 -0
  64. package/chunks/nve-warning-level.component.js +57 -0
  65. package/chunks/ref.js +75 -84
  66. package/chunks/shoelace.js +10006 -0
  67. package/chunks/static-html.js +27 -0
  68. package/chunks/unsafe-html.js +24 -20
  69. package/chunks/updateInvalidProperty.js +7 -7
  70. package/chunks/watch.js +20 -20
  71. package/components/nve-accordion/nve-accordion.component.js +24 -30
  72. package/components/nve-accordion-item/nve-accordion-item.component.js +30 -64
  73. package/components/nve-accordion-item/nve-accordion-item.styles.js +5 -5
  74. package/components/nve-alert/nve-alert.component.js +2 -227
  75. package/components/nve-alert/nve-alert.styles.js +45 -27
  76. package/components/nve-badge/nve-badge.component.js +41 -45
  77. package/components/nve-badge/nve-badge.styles.js +33 -31
  78. package/components/nve-button/nve-button.component.d.ts +110 -10
  79. package/components/nve-button/nve-button.component.js +146 -39
  80. package/components/nve-button/nve-button.styles.js +214 -157
  81. package/components/nve-carousel/nve-carousel.component.js +2 -47
  82. package/components/nve-carousel/nve-carousel.styles.js +6 -6
  83. package/components/nve-carousel-item/nve-carousel-item.component.js +2 -40
  84. package/components/nve-carousel-item/nve-carousel-item.styles.js +5 -5
  85. package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.component.js +44 -54
  86. package/components/nve-carousel-thumbnail/nve-carousel-thumbnail.styles.js +5 -5
  87. package/components/nve-checkbox/nve-checkbox.component.js +2 -34
  88. package/components/nve-checkbox/nve-checkbox.styles.js +7 -7
  89. package/components/nve-checkbox-group/nve-checkbox-group.component.js +2 -152
  90. package/components/nve-checkbox-group/nve-checkbox-group.styles.js +5 -5
  91. package/components/nve-combobox/nve-combobox.component.js +222 -440
  92. package/components/nve-combobox/nve-combobox.styles.js +6 -6
  93. package/components/nve-darkmode-switch/nve-darkmode-switch.component.js +32 -38
  94. package/components/nve-dialog/nve-dialog-styles.js +6 -6
  95. package/components/nve-dialog/nve-dialog.component.js +2 -54
  96. package/components/nve-divider/nve-divider.component.js +2 -30
  97. package/components/nve-drawer/nve-drawer.component.js +2 -44
  98. package/components/nve-drawer/nve-drawer.styles.js +6 -6
  99. package/components/nve-dropdown/nve-dropdown.component.js +2 -79
  100. package/components/nve-dropdown/nve-dropdown.styles.js +5 -5
  101. package/components/nve-heading/nve-heading.component.d.ts +29 -0
  102. package/components/nve-heading/nve-heading.component.js +45 -0
  103. package/components/nve-heading/nve-heading.styles.d.ts +2 -0
  104. package/components/nve-heading/nve-heading.styles.js +41 -0
  105. package/components/nve-icon/nve-icon.component.js +145 -164
  106. package/components/nve-icon/nve-icon.styles.js +11 -6
  107. package/components/nve-icon/offline-icons.js +16 -13
  108. package/components/nve-input/nve-input.component.js +2 -100
  109. package/components/nve-input/nve-input.styles.js +5 -5
  110. package/components/nve-label/nve-label.component.js +2 -115
  111. package/components/nve-label/nve-label.styles.js +5 -5
  112. package/components/nve-link-card/nve-link-card.component.d.ts +5 -2
  113. package/components/nve-link-card/nve-link-card.component.js +44 -80
  114. package/components/nve-link-card/nve-link-card.styles.js +71 -66
  115. package/components/nve-menu/nve-menu.component.js +2 -22
  116. package/components/nve-menu/nve-menu.styles.js +5 -5
  117. package/components/nve-menu-item/nve-menu-item.component.js +2 -43
  118. package/components/nve-menu-item/nve-menu-item.styles.js +7 -7
  119. package/components/nve-message-card/nve-message-card.component.js +61 -91
  120. package/components/nve-message-card/nve-message-card.styles.js +24 -27
  121. package/components/nve-navigation-card/nve-navigation-card.component.d.ts +52 -0
  122. package/components/nve-navigation-card/nve-navigation-card.component.js +60 -0
  123. package/components/nve-navigation-card/nve-navigation-card.styles.d.ts +2 -0
  124. package/components/nve-navigation-card/nve-navigation-card.styles.js +112 -0
  125. package/components/nve-option/nve-option.component.js +2 -41
  126. package/components/nve-option/nve-option.styles.js +5 -5
  127. package/components/nve-paragraph/nve-paragraph.component.d.ts +26 -0
  128. package/components/nve-paragraph/nve-paragraph.component.js +26 -0
  129. package/components/nve-paragraph/nve-paragraph.styles.d.ts +2 -0
  130. package/components/nve-paragraph/nve-paragraph.styles.js +105 -0
  131. package/components/nve-popup/nve-popup.component.js +2 -22
  132. package/components/nve-radio/nve-radio.component.js +2 -23
  133. package/components/nve-radio/nve-radio.styles.js +5 -5
  134. package/components/nve-radio-button/nve-radio-button.component.js +2 -25
  135. package/components/nve-radio-button/nve-radio-button.styles.js +5 -5
  136. package/components/nve-radio-group/nve-radio-group.component.js +2 -119
  137. package/components/nve-radio-group/nve-radio-group.styles.js +5 -5
  138. package/components/nve-relative-time/nve-relative-time.component.js +21 -56
  139. package/components/nve-relative-time/nve-relative-time.styles.js +5 -5
  140. package/components/nve-select/nve-select.component.js +2 -80
  141. package/components/nve-select/nve-select.styles.js +5 -5
  142. package/components/nve-skeleton/nve-skeleton.component.js +2 -27
  143. package/components/nve-skeleton/nve-skeleton.styles.js +5 -5
  144. package/components/nve-spinner/nve-spinner.component.js +2 -31
  145. package/components/nve-stepper/nve-step/nve-step.component.js +113 -173
  146. package/components/nve-stepper/nve-step/nve-step.styles.js +12 -12
  147. package/components/nve-stepper/nve-stepper-mobile.component.js +37 -49
  148. package/components/nve-stepper/nve-stepper-mobile.styles.js +7 -7
  149. package/components/nve-stepper/nve-stepper.component.js +94 -139
  150. package/components/nve-stepper/nve-stepper.styles.js +5 -5
  151. package/components/nve-switch/nve-switch.component.js +75 -107
  152. package/components/nve-switch/nve-switch.styles.js +7 -7
  153. package/components/nve-tab/nve-tab.component.js +30 -42
  154. package/components/nve-tab/nve-tab.styles.js +7 -7
  155. package/components/nve-tab-group/nve-tab-group.component.js +180 -260
  156. package/components/nve-tab-group/nve-tab-group.styles.js +5 -5
  157. package/components/nve-tab-panel/nve-tab-panel.component.js +21 -31
  158. package/components/nve-tab-panel/nve-tab-panel.styles.js +5 -5
  159. package/components/nve-tag/nve-tag.component.d.ts +3 -3
  160. package/components/nve-tag/nve-tag.component.js +71 -72
  161. package/components/nve-tag/nve-tag.styles.js +23 -22
  162. package/components/nve-textarea/nve-textarea.component.d.ts +3 -1
  163. package/components/nve-textarea/nve-textarea.component.js +112 -173
  164. package/components/nve-textarea/nve-textarea.styles.js +10 -5
  165. package/components/nve-tooltip/nve-tooltip.component.js +2 -30
  166. package/components/nve-tooltip/nve-tooltip.styles.js +5 -5
  167. package/components/nve-warning-level/nve-warning-level.component.js +2 -78
  168. package/components/nve-warning-level/nve-warning-level.styles.js +7 -7
  169. package/css/global.css +13 -55
  170. package/css/nve.css +1048 -393
  171. package/css/nve_dark.css +406 -305
  172. package/css/rme.css +1050 -395
  173. package/css/rme_dark.css +408 -307
  174. package/css/shoelace-styles.css +539 -0
  175. package/css/varsom.css +1046 -391
  176. package/css/varsom_dark.css +404 -303
  177. package/custom-elements.json +2905 -12389
  178. package/fonts/LICENSE.txt +37 -0
  179. package/fonts/SourceSans3-VariableFont_wght.woff2 +0 -0
  180. package/interfaces/NveComponent.interface.js +0 -1
  181. package/nve-designsystem.d.ts +5 -0
  182. package/nve-designsystem.js +46 -86
  183. package/package.json +26 -8
  184. package/registerIcons/systemLibraryCustomization.js +23 -91
  185. package/vite-env.d.js +0 -1
  186. package/chunks/chunk.3RPBFEDE.js +0 -162
  187. package/chunks/chunk.JCXLDPQF.js +0 -225
  188. package/chunks/chunk.JQBT7BOV.js +0 -8446
  189. package/chunks/chunk.MAQXLKQ7.js +0 -598
  190. package/chunks/lit-element.js +0 -508
  191. package/chunks/property.js +0 -37
  192. package/chunks/query.js +0 -13
  193. package/chunks/state.js +0 -7
  194. package/chunks/static.js +0 -26
  195. package/nve-designsystem.css +0 -1
  196. package/vscode.css-custom-data.json +0 -621
  197. package/vscode.html-custom-data.json +0 -2354
@@ -1,167 +1,148 @@
1
- import { a as H, x as W } from "../../chunks/lit-element.js";
2
- import { n as $, t as J } from "../../chunks/property.js";
3
- import { r as K } from "../../chunks/state.js";
4
- import Q from "./nve-icon.styles.js";
5
- import { e as V } from "../../chunks/class-map.js";
6
- import { o as X } from "../../chunks/if-defined.js";
7
- import { offlineIcons as q } from "./offline-icons.js";
8
- import { o as Y } from "../../chunks/unsafe-html.js";
9
- function Z(i) {
10
- return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
11
- }
12
- var N = { exports: {} }, B;
13
- function ee() {
14
- return B || (B = 1, function(i) {
15
- (function() {
16
- function u(e, n) {
17
- document.addEventListener ? e.addEventListener("scroll", n, !1) : e.attachEvent("scroll", n);
18
- }
19
- function l(e) {
20
- document.body ? e() : document.addEventListener ? document.addEventListener("DOMContentLoaded", function n() {
21
- document.removeEventListener("DOMContentLoaded", n), e();
22
- }) : document.attachEvent("onreadystatechange", function n() {
23
- (document.readyState == "interactive" || document.readyState == "complete") && (document.detachEvent("onreadystatechange", n), e());
24
- });
25
- }
26
- function p(e) {
27
- this.g = document.createElement("div"), this.g.setAttribute("aria-hidden", "true"), this.g.appendChild(document.createTextNode(e)), this.h = document.createElement("span"), this.i = document.createElement("span"), this.m = document.createElement("span"), this.j = document.createElement("span"), this.l = -1, this.h.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.i.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.j.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.m.style.cssText = "display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;", this.h.appendChild(this.m), this.i.appendChild(this.j), this.g.appendChild(this.h), this.g.appendChild(this.i);
28
- }
29
- function r(e, n) {
30
- e.g.style.cssText = "max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:" + n + ";";
31
- }
32
- function C(e) {
33
- var n = e.g.offsetWidth, t = n + 100;
34
- return e.j.style.width = t + "px", e.i.scrollLeft = t, e.h.scrollLeft = e.h.scrollWidth + 100, e.l !== n ? (e.l = n, !0) : !1;
35
- }
36
- function g(e, n) {
37
- function t() {
38
- var s = m;
39
- C(s) && s.g.parentNode !== null && n(s.l);
40
- }
41
- var m = e;
42
- u(e.h, t), u(e.i, t), C(e);
43
- }
44
- function S(e, n, t) {
45
- n = n || {}, t = t || window, this.family = e, this.style = n.style || "normal", this.weight = n.weight || "normal", this.stretch = n.stretch || "normal", this.context = t;
46
- }
47
- var j = null, I = null, P = null, A = null;
48
- function G(e) {
49
- return I === null && (F(e) && /Apple/.test(window.navigator.vendor) ? (e = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent), I = !!e && 603 > parseInt(e[1], 10)) : I = !1), I;
50
- }
51
- function F(e) {
52
- return A === null && (A = !!e.document.fonts), A;
53
- }
54
- function w(e, n) {
55
- var t = e.style, m = e.weight;
56
- if (P === null) {
57
- var s = document.createElement("div");
58
- try {
59
- s.style.font = "condensed 100px sans-serif";
60
- } catch {
61
- }
62
- P = s.style.font !== "";
63
- }
64
- return [t, m, P ? e.stretch : "", "100px", n].join(" ");
65
- }
66
- S.prototype.load = function(e, n) {
67
- var t = this, m = e || "BESbswy", s = 0, b = n || 3e3, z = (/* @__PURE__ */ new Date()).getTime();
68
- return new Promise(function(M, k) {
69
- if (F(t.context) && !G(t.context)) {
70
- var R = new Promise(function(x, E) {
71
- function c() {
72
- (/* @__PURE__ */ new Date()).getTime() - z >= b ? E(Error("" + b + "ms timeout exceeded")) : t.context.document.fonts.load(w(t, '"' + t.family + '"'), m).then(function(v) {
73
- 1 <= v.length ? x() : setTimeout(c, 25);
74
- }, E);
75
- }
76
- c();
77
- }), U = new Promise(function(x, E) {
78
- s = setTimeout(function() {
79
- E(Error("" + b + "ms timeout exceeded"));
80
- }, b);
81
- });
82
- Promise.race([U, R]).then(function() {
83
- clearTimeout(s), M(t);
84
- }, k);
85
- } else l(function() {
86
- function x() {
87
- var o;
88
- (o = d != -1 && h != -1 || d != -1 && f != -1 || h != -1 && f != -1) && ((o = d != h && d != f && h != f) || (j === null && (o = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent), j = !!o && (536 > parseInt(o[1], 10) || parseInt(o[1], 10) === 536 && 11 >= parseInt(o[2], 10))), o = j && (d == _ && h == _ && f == _ || d == D && h == D && f == D || d == O && h == O && f == O)), o = !o), o && (a.parentNode !== null && a.parentNode.removeChild(a), clearTimeout(s), M(t));
89
- }
90
- function E() {
91
- if ((/* @__PURE__ */ new Date()).getTime() - z >= b) a.parentNode !== null && a.parentNode.removeChild(a), k(Error("" + b + "ms timeout exceeded"));
92
- else {
93
- var o = t.context.document.hidden;
94
- (o === !0 || o === void 0) && (d = c.g.offsetWidth, h = v.g.offsetWidth, f = L.g.offsetWidth, x()), s = setTimeout(E, 50);
95
- }
96
- }
97
- var c = new p(m), v = new p(m), L = new p(m), d = -1, h = -1, f = -1, _ = -1, D = -1, O = -1, a = document.createElement("div");
98
- a.dir = "ltr", r(c, w(t, "sans-serif")), r(v, w(t, "serif")), r(L, w(t, "monospace")), a.appendChild(c.g), a.appendChild(v.g), a.appendChild(L.g), t.context.document.body.appendChild(a), _ = c.g.offsetWidth, D = v.g.offsetWidth, O = L.g.offsetWidth, E(), g(c, function(o) {
99
- d = o, x();
100
- }), r(c, w(t, '"' + t.family + '",sans-serif')), g(v, function(o) {
101
- h = o, x();
102
- }), r(v, w(t, '"' + t.family + '",serif')), g(L, function(o) {
103
- f = o, x();
104
- }), r(L, w(t, '"' + t.family + '",monospace'));
105
- });
106
- });
107
- }, i.exports = S;
108
- })();
109
- }(N)), N.exports;
110
- }
111
- var te = ee();
112
- const ne = /* @__PURE__ */ Z(te);
113
- var oe = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, T = (i, u, l, p) => {
114
- for (var r = p > 1 ? void 0 : p ? ie(u, l) : u, C = i.length - 1, g; C >= 0; C--)
115
- (g = i[C]) && (r = (p ? g(u, l, r) : g(r)) || r);
116
- return p && r && oe(u, l, r), r;
117
- };
118
- let y = class extends H {
119
- constructor() {
120
- super(...arguments), this.library = "Sharp", this.name = "", this.src = "", this.alt = void 0, this.iconLoaded = !1;
121
- }
122
- firstUpdated() {
123
- if (this.src || q[this.name]) return;
124
- if (!document.getElementById(`material-icons-${this.library.toLowerCase()}`)) {
125
- const l = document.createElement("link");
126
- l.id = `material-icons-${this.library.toLowerCase()}`, l.rel = "stylesheet", l.href = `https://fonts.googleapis.com/css2?family=Material+Symbols+${this.library}:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200`, document.head.appendChild(l);
127
- }
128
- new ne(`Material Symbols ${this.library}`).load().then(() => {
129
- this.iconLoaded = !0, this.requestUpdate();
130
- }).catch();
131
- }
132
- render() {
133
- if (this.src)
134
- return W`<img src=${this.src} alt=${X(this.alt)} />`;
135
- const i = q[this.name];
136
- return i ? W`${Y(i)}` : !this.src && this.iconLoaded ? W`<span
1
+ import { r as e, t } from "../../chunks/chunk.js";
2
+ import { a as n, t as r } from "../../chunks/lit.js";
3
+ import { a as i, o as a, s as o, t as s } from "../../chunks/decorate.js";
4
+ import { t as c } from "../../chunks/class-map.js";
5
+ import { t as l } from "../../chunks/if-defined.js";
6
+ import { t as u } from "../../chunks/unsafe-html.js";
7
+ import d from "./nve-icon.styles.js";
8
+ import { offlineIcons as f } from "./offline-icons.js";
9
+ //#endregion
10
+ //#region src/components/nve-icon/nve-icon.component.ts
11
+ var p = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
12
+ (function() {
13
+ function e(e, t) {
14
+ document.addEventListener ? e.addEventListener("scroll", t, !1) : e.attachEvent("scroll", t);
15
+ }
16
+ function n(e) {
17
+ document.body ? e() : document.addEventListener ? document.addEventListener("DOMContentLoaded", function t() {
18
+ document.removeEventListener("DOMContentLoaded", t), e();
19
+ }) : document.attachEvent("onreadystatechange", function t() {
20
+ (document.readyState == "interactive" || document.readyState == "complete") && (document.detachEvent("onreadystatechange", t), e());
21
+ });
22
+ }
23
+ function r(e) {
24
+ this.g = document.createElement("div"), this.g.setAttribute("aria-hidden", "true"), this.g.appendChild(document.createTextNode(e)), this.h = document.createElement("span"), this.i = document.createElement("span"), this.m = document.createElement("span"), this.j = document.createElement("span"), this.l = -1, this.h.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.i.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.j.style.cssText = "max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;", this.m.style.cssText = "display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;", this.h.appendChild(this.m), this.i.appendChild(this.j), this.g.appendChild(this.h), this.g.appendChild(this.i);
25
+ }
26
+ function i(e, t) {
27
+ e.g.style.cssText = "max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:" + t + ";";
28
+ }
29
+ function a(e) {
30
+ var t = e.g.offsetWidth, n = t + 100;
31
+ return e.j.style.width = n + "px", e.i.scrollLeft = n, e.h.scrollLeft = e.h.scrollWidth + 100, e.l === t ? !1 : (e.l = t, !0);
32
+ }
33
+ function o(t, n) {
34
+ function r() {
35
+ var e = i;
36
+ a(e) && e.g.parentNode !== null && n(e.l);
37
+ }
38
+ var i = t;
39
+ e(t.h, r), e(t.i, r), a(t);
40
+ }
41
+ function s(e, t, n) {
42
+ t ||= {}, n ||= window, this.family = e, this.style = t.style || "normal", this.weight = t.weight || "normal", this.stretch = t.stretch || "normal", this.context = n;
43
+ }
44
+ var c = null, l = null, u = null, d = null;
45
+ function f(e) {
46
+ return l === null && (p(e) && /Apple/.test(window.navigator.vendor) ? (e = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent), l = !!e && 603 > parseInt(e[1], 10)) : l = !1), l;
47
+ }
48
+ function p(e) {
49
+ return d === null && (d = !!e.document.fonts), d;
50
+ }
51
+ function m(e, t) {
52
+ var n = e.style, r = e.weight;
53
+ if (u === null) {
54
+ var i = document.createElement("div");
55
+ try {
56
+ i.style.font = "condensed 100px sans-serif";
57
+ } catch {}
58
+ u = i.style.font !== "";
59
+ }
60
+ return [
61
+ n,
62
+ r,
63
+ u ? e.stretch : "",
64
+ "100px",
65
+ t
66
+ ].join(" ");
67
+ }
68
+ s.prototype.load = function(e, t) {
69
+ var a = this, s = e || "BESbswy", l = 0, u = t || 3e3, d = (/* @__PURE__ */ new Date()).getTime();
70
+ return new Promise(function(e, t) {
71
+ if (p(a.context) && !f(a.context)) {
72
+ var h = new Promise(function(e, t) {
73
+ function n() {
74
+ (/* @__PURE__ */ new Date()).getTime() - d >= u ? t(Error("" + u + "ms timeout exceeded")) : a.context.document.fonts.load(m(a, "\"" + a.family + "\""), s).then(function(t) {
75
+ 1 <= t.length ? e() : setTimeout(n, 25);
76
+ }, t);
77
+ }
78
+ n();
79
+ }), g = new Promise(function(e, t) {
80
+ l = setTimeout(function() {
81
+ t(Error("" + u + "ms timeout exceeded"));
82
+ }, u);
83
+ });
84
+ Promise.race([g, h]).then(function() {
85
+ clearTimeout(l), e(a);
86
+ }, t);
87
+ } else n(function() {
88
+ function n() {
89
+ var t;
90
+ (t = _ != -1 && v != -1 || _ != -1 && y != -1 || v != -1 && y != -1) && ((t = _ != v && _ != y && v != y) || (c === null && (t = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent), c = !!t && (536 > parseInt(t[1], 10) || parseInt(t[1], 10) === 536 && 11 >= parseInt(t[2], 10))), t = c && (_ == b && v == b && y == b || _ == x && v == x && y == x || _ == S && v == S && y == S)), t = !t), t && (C.parentNode !== null && C.parentNode.removeChild(C), clearTimeout(l), e(a));
91
+ }
92
+ function f() {
93
+ if ((/* @__PURE__ */ new Date()).getTime() - d >= u) C.parentNode !== null && C.parentNode.removeChild(C), t(Error("" + u + "ms timeout exceeded"));
94
+ else {
95
+ var e = a.context.document.hidden;
96
+ (!0 === e || e === void 0) && (_ = p.g.offsetWidth, v = h.g.offsetWidth, y = g.g.offsetWidth, n()), l = setTimeout(f, 50);
97
+ }
98
+ }
99
+ var p = new r(s), h = new r(s), g = new r(s), _ = -1, v = -1, y = -1, b = -1, x = -1, S = -1, C = document.createElement("div");
100
+ C.dir = "ltr", i(p, m(a, "sans-serif")), i(h, m(a, "serif")), i(g, m(a, "monospace")), C.appendChild(p.g), C.appendChild(h.g), C.appendChild(g.g), a.context.document.body.appendChild(C), b = p.g.offsetWidth, x = h.g.offsetWidth, S = g.g.offsetWidth, f(), o(p, function(e) {
101
+ _ = e, n();
102
+ }), i(p, m(a, "\"" + a.family + "\",sans-serif")), o(h, function(e) {
103
+ v = e, n();
104
+ }), i(h, m(a, "\"" + a.family + "\",serif")), o(g, function(e) {
105
+ y = e, n();
106
+ }), i(g, m(a, "\"" + a.family + "\",monospace"));
107
+ });
108
+ });
109
+ }, typeof t == "object" ? t.exports = s : (window.FontFaceObserver = s, window.FontFaceObserver.prototype.load = s.prototype.load);
110
+ })();
111
+ })))(), 1), m = class extends r {
112
+ constructor(...e) {
113
+ super(...e), this.library = "Sharp", this.name = "", this.src = "", this.alt = void 0, this.iconLoaded = !1;
114
+ }
115
+ static {
116
+ this.styles = [d];
117
+ }
118
+ firstUpdated() {
119
+ if (!this.src && !f[this.name]) {
120
+ if (!document.getElementById(`material-icons-${this.library.toLowerCase()}`)) {
121
+ let e = document.createElement("link");
122
+ e.id = `material-icons-${this.library.toLowerCase()}`, e.rel = "stylesheet", e.href = `https://fonts.googleapis.com/css2?family=Material+Symbols+${this.library}:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200`, document.head.appendChild(e);
123
+ }
124
+ new p.default(`Material Symbols ${this.library}`).load().then(() => {
125
+ this.iconLoaded = !0, this.requestUpdate();
126
+ }).catch();
127
+ }
128
+ }
129
+ render() {
130
+ if (this.src) return n`<img src=${this.src} alt=${l(this.alt)} />`;
131
+ let e = f[this.name];
132
+ return e ? n`${u(e)}` : !this.src && this.iconLoaded ? n`<span
137
133
  part="icon"
138
- class=${V({
139
- "material-outlined": this.library === "Outlined",
140
- "material-sharp": this.library === "Sharp"
141
- })}
134
+ class=${c({
135
+ "material-outlined": this.library === "Outlined",
136
+ "material-sharp": this.library === "Sharp"
137
+ })}
142
138
  >${this.name}</span
143
- >` : W`<nve-skeleton class="placeholder" effect="sheen"></nve-skeleton>`;
144
- }
145
- };
146
- y.styles = [Q];
147
- T([
148
- $()
149
- ], y.prototype, "library", 2);
150
- T([
151
- $({ type: String, reflect: !0 })
152
- ], y.prototype, "name", 2);
153
- T([
154
- $()
155
- ], y.prototype, "src", 2);
156
- T([
157
- $()
158
- ], y.prototype, "alt", 2);
159
- T([
160
- K()
161
- ], y.prototype, "iconLoaded", 2);
162
- y = T([
163
- J("nve-icon")
164
- ], y);
165
- export {
166
- y as default
139
+ >` : n`<nve-skeleton class="placeholder" effect="sheen"></nve-skeleton>`;
140
+ }
167
141
  };
142
+ s([a()], m.prototype, "library", void 0), s([a({
143
+ type: String,
144
+ reflect: !0
145
+ })], m.prototype, "name", void 0), s([a()], m.prototype, "src", void 0), s([a()], m.prototype, "alt", void 0), s([i()], m.prototype, "iconLoaded", void 0), m = s([o("nve-icon")], m);
146
+ var h = m;
147
+ //#endregion
148
+ export { h as default };
@@ -1,5 +1,6 @@
1
- import { i as e } from "../../chunks/lit-element.js";
2
- const r = e`
1
+ import { u as e } from "../../chunks/lit.js";
2
+ //#region src/components/nve-icon/nve-icon.styles.ts
3
+ var t = e`
3
4
  /* Brukes i dropdown. Eneste måten å override shadow dom for å rotere expand_more ikonet når menyen åpner */
4
5
  :host([name='expand_more']) {
5
6
  transform: var(--icon-rotation, none);
@@ -22,6 +23,11 @@ const r = e`
22
23
  height: var(--icon-size);
23
24
  }
24
25
 
26
+ :is(svg) {
27
+ width: var(--icon-size);
28
+ height: var(--icon-size);
29
+ }
30
+
25
31
  /* we need it to center the icon */
26
32
  :is(span) {
27
33
  display: inline-flex;
@@ -43,11 +49,10 @@ const r = e`
43
49
  .material-sharp {
44
50
  font-family: 'Material Symbols Sharp';
45
51
  }
46
-
52
+
47
53
  svg {
48
54
  fill: currentColor;
49
55
  }
50
56
  `;
51
- export {
52
- r as default
53
- };
57
+ //#endregion
58
+ export { t as default };
@@ -1,14 +1,17 @@
1
- const h = {
2
- check_circle: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>',
3
- chevron_backward: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"/></svg>',
4
- chevron_forward: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"/></svg>',
5
- close: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg>',
6
- error: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>',
7
- info: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>',
8
- lock: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z"/></svg>',
9
- open_in_new: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"/></svg>',
10
- warning: '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Zm40-100Z"/></svg>'
11
- };
12
- export {
13
- h as offlineIcons
1
+ //#region src/components/nve-icon/offline-icons.ts
2
+ var e = {
3
+ arrow_forward: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"#000000\"><path d=\"M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z\"/></svg>",
4
+ check_circle: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"m424-296 282-282-56-56-226 226-114-114-56 56 170 170Zm56 216q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z\"/></svg>",
5
+ chevron_backward: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z\"/></svg>",
6
+ chevron_forward: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z\"/></svg>",
7
+ close: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z\"/></svg>",
8
+ download: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"#000000\"><path d=\"M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM160-160v-200h80v120h480v-120h80v200H160Z\"/></svg>",
9
+ error: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z\"/></svg>",
10
+ info: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z\"/></svg>",
11
+ lock: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z\"/></svg>",
12
+ mail: "<svg xmlns=\"http://www.w3.org/2000/svg\" height=\"24px\" viewBox=\"0 -960 960 960\" width=\"24px\" fill=\"#000000\"><path d=\"M80-160v-640h800v640H80Zm400-280L160-640v400h640v-400L480-440Zm0-80 320-200H160l320 200ZM160-640v-80 480-400Z\"/></svg>",
13
+ open_in_new: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z\"/></svg>",
14
+ warning: "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 -960 960 960\" fill=\"#000000\"><path d=\"m40-120 440-760 440 760H40Zm138-80h604L480-720 178-200Zm302-40q17 0 28.5-11.5T520-280q0-17-11.5-28.5T480-320q-17 0-28.5 11.5T440-280q0 17 11.5 28.5T480-240Zm-40-120h80v-200h-80v200Zm40-100Z\"/></svg>"
14
15
  };
16
+ //#endregion
17
+ export { e as offlineIcons };
@@ -1,100 +1,2 @@
1
- import { n as l, t as u } from "../../chunks/property.js";
2
- import { r as c } from "../../chunks/state.js";
3
- import { i as p } from "../../chunks/chunk.XA43ZQPC.js";
4
- import "../../chunks/lit-element.js";
5
- import "../../chunks/chunk.SI4ACBFK.js";
6
- import "../../chunks/chunk.3RPBFEDE.js";
7
- import "../../chunks/chunk.6CTB5ZDJ.js";
8
- import "../../chunks/chunk.YHLNUJ7P.js";
9
- import "../../chunks/chunk.4TUIT776.js";
10
- import h from "./nve-input.styles.js";
11
- import { o as f } from "../../chunks/if-defined.js";
12
- var m = Object.defineProperty, y = Object.getOwnPropertyDescriptor, o = (e, r, a, s) => {
13
- for (var t = s > 1 ? void 0 : s ? y(r, a) : r, n = e.length - 1, d; n >= 0; n--)
14
- (d = e[n]) && (t = (s ? d(r, a, t) : d(t)) || t);
15
- return s && t && m(r, a, t), t;
16
- };
17
- let i = class extends p {
18
- constructor() {
19
- super(), this.requiredLabel = "*Obligatorisk", this.testId = "", this.noValidation = !1, this.alreadyInvalid = !1;
20
- }
21
- connectedCallback() {
22
- super.connectedCallback(), this.addEventListener("sl-invalid", (e) => {
23
- e.preventDefault(), this.alreadyInvalid || this.makeInvalid();
24
- });
25
- }
26
- disconnectedCallback() {
27
- super.disconnectedCallback(), this.removeEventListener("sl-invalid", this.makeInvalid);
28
- }
29
- firstUpdated() {
30
- super.firstUpdated(), this.requiredLabel && this.style.setProperty("--sl-input-required-content", `"${this.requiredLabel}"`);
31
- const e = this.shadowRoot?.querySelector("input");
32
- e && f(this.autocomplete) && this.autocomplete === "false" && e.setAttribute("aria-autocomplete", "none");
33
- }
34
- updated(e) {
35
- super.updated(e);
36
- const r = this.hasAttribute("data-user-invalid");
37
- if (e.has("inputId") && this.updateInputId(), r && !this.alreadyInvalid && this.makeInvalid(), r || this.resetValidation(), e.has("readonly") && this.shadowRoot) {
38
- const a = e.get("readonly"), s = this.readonly;
39
- if (!a && s) {
40
- if (!this.shadowRoot.querySelector("slot[name=suffix]").assignedElements().length) {
41
- const t = document.createElement("nve-icon");
42
- t.setAttribute("id", "readonly-icon"), t.setAttribute("name", "visibility"), t.setAttribute("slot", "suffix"), this.appendChild(t);
43
- }
44
- } else if (!s && a) {
45
- const t = this.shadowRoot.querySelector("slot[name=suffix]").assignedElements().find((n) => n.id === "readonly-icon");
46
- t && t.remove();
47
- }
48
- }
49
- }
50
- updateInputId() {
51
- const e = this.shadowRoot?.querySelector("input");
52
- e && this.inputId && (e.id = this.inputId);
53
- }
54
- makeInvalid() {
55
- this.noValidation || (this.showErrorIcon(), this.showErrorMessage(), this.alreadyInvalid = !0);
56
- }
57
- resetValidation() {
58
- this.hideErrorIcon(), this.style.setProperty("--nve-input-error-message", ""), this.alreadyInvalid = !1;
59
- }
60
- showErrorMessage() {
61
- this.errorMessage || (this.errorMessage = this.validationMessage), this.style.setProperty("--nve-input-error-message", `"${this.errorMessage}"`);
62
- }
63
- showErrorIcon() {
64
- const e = document.createElement("nve-icon");
65
- e.setAttribute("id", "error-icon"), e.setAttribute("name", "error"), e.setAttribute("slot", "suffix");
66
- const r = getComputedStyle(document.documentElement).getPropertyValue(
67
- "--color-feedback-background-emphasized-error"
68
- );
69
- e.style.color = r.trim(), this.appendChild(e);
70
- }
71
- hideErrorIcon() {
72
- const e = this.querySelector("#error-icon");
73
- e && e.remove();
74
- }
75
- };
76
- i.styles = [p.styles, h];
77
- o([
78
- l()
79
- ], i.prototype, "requiredLabel", 2);
80
- o([
81
- l({ reflect: !0 })
82
- ], i.prototype, "errorMessage", 2);
83
- o([
84
- l({ reflect: !0, type: String })
85
- ], i.prototype, "testId", 2);
86
- o([
87
- l({ type: String, reflect: !0 })
88
- ], i.prototype, "inputId", 2);
89
- o([
90
- l({ type: Boolean })
91
- ], i.prototype, "noValidation", 2);
92
- o([
93
- c()
94
- ], i.prototype, "alreadyInvalid", 2);
95
- i = o([
96
- u("nve-input")
97
- ], i);
98
- export {
99
- i as default
100
- };
1
+ import { t as e } from "../../chunks/nve-input.component.js";
2
+ export { e as default };
@@ -1,5 +1,6 @@
1
- import { i as r } from "../../chunks/lit-element.js";
2
- const e = r`
1
+ import { u as e } from "../../chunks/lit.js";
2
+ //#region src/components/nve-input/nve-input.styles.ts
3
+ var t = e`
3
4
  :host {
4
5
  /* Overstyring av shoelace-token-verdier */
5
6
 
@@ -100,6 +101,5 @@ const e = r`
100
101
  font-size: var(--font-size-medium);
101
102
  }
102
103
  `;
103
- export {
104
- e as default
105
- };
104
+ //#endregion
105
+ export { t as default };