nve-designsystem 1.6.4 → 1.6.6
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.
- package/components/nve-alert/nve-alert.component.js +39 -29
- package/components/nve-alert/nve-alert.styles.js +11 -1
- package/components/nve-stepper/nve-step/nve-step.component.d.ts +4 -1
- package/components/nve-stepper/nve-step/nve-step.component.js +41 -36
- package/components/nve-stepper/nve-step/nve-step.styles.js +5 -0
- package/components/nve-stepper/nve-stepper.component.d.ts +4 -0
- package/components/nve-stepper/nve-stepper.component.js +27 -23
- package/custom-elements.json +309 -292
- package/package.json +1 -1
|
@@ -1,43 +1,53 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as f } from "../../chunks/chunk.OV3FWA7A.js";
|
|
2
2
|
import "../../chunks/chunk.MMEGYRNV.js";
|
|
3
3
|
import "../../chunks/chunk.6CTB5ZDJ.js";
|
|
4
4
|
import "../../chunks/chunk.5YPURQKE.js";
|
|
5
5
|
import "../../chunks/chunk.EMG3ZSPT.js";
|
|
6
|
-
import
|
|
7
|
-
import { n
|
|
8
|
-
var
|
|
9
|
-
for (var t =
|
|
10
|
-
(
|
|
11
|
-
return
|
|
6
|
+
import h from "./nve-alert.styles.js";
|
|
7
|
+
import { n, t as u } from "../../chunks/property.js";
|
|
8
|
+
var y = Object.defineProperty, m = Object.getOwnPropertyDescriptor, p = (o, r, i, a) => {
|
|
9
|
+
for (var t = a > 1 ? void 0 : a ? m(r, i) : r, e = o.length - 1, s; e >= 0; e--)
|
|
10
|
+
(s = o[e]) && (t = (a ? s(r, i, t) : s(t)) || t);
|
|
11
|
+
return a && t && y(r, i, t), t;
|
|
12
12
|
};
|
|
13
|
-
let
|
|
13
|
+
let l = class extends f {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(), this.title = "", this.text = "", this.saturation = null, this.leftStroke = !1;
|
|
16
16
|
}
|
|
17
|
-
updated(
|
|
18
|
-
|
|
17
|
+
updated(o) {
|
|
18
|
+
var r, i;
|
|
19
|
+
if (super.updated(o), o.has("title") && this.style.setProperty("--nve-alert-title", `"${this.title}"`), o.has("text")) {
|
|
20
|
+
const a = ((r = this.base.querySelector(".alert__message slot")) == null ? void 0 : r.assignedNodes().map((e) => {
|
|
21
|
+
var s;
|
|
22
|
+
return (s = e.textContent) == null ? void 0 : s.trim();
|
|
23
|
+
}).filter((e) => {
|
|
24
|
+
var s;
|
|
25
|
+
return ((s = e ?? "") == null ? void 0 : s.length) > 0;
|
|
26
|
+
}).length) > 0, t = ((i = this.base.querySelector(".alert__message slot")) == null ? void 0 : i.assignedNodes().filter((e) => e.childNodes.length > 0).length) > 0;
|
|
27
|
+
a || t ? this.style.setProperty("--nve-alert-text", '""') : this.style.setProperty("--nve-alert-text", `"${this.text}"`);
|
|
28
|
+
}
|
|
19
29
|
}
|
|
20
30
|
};
|
|
21
|
-
|
|
22
|
-
|
|
31
|
+
l.styles = [
|
|
32
|
+
f.styles,
|
|
23
33
|
// we have to have this otherwise closable is not working
|
|
24
|
-
|
|
34
|
+
h
|
|
25
35
|
];
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
],
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
],
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
],
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
],
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
],
|
|
36
|
+
p([
|
|
37
|
+
n({ reflect: !0 })
|
|
38
|
+
], l.prototype, "title", 2);
|
|
39
|
+
p([
|
|
40
|
+
n({ reflect: !0 })
|
|
41
|
+
], l.prototype, "text", 2);
|
|
42
|
+
p([
|
|
43
|
+
n({ type: String, reflect: !1 })
|
|
44
|
+
], l.prototype, "saturation", 2);
|
|
45
|
+
p([
|
|
46
|
+
n({ type: Boolean, reflect: !0 })
|
|
47
|
+
], l.prototype, "leftStroke", 2);
|
|
48
|
+
l = p([
|
|
49
|
+
u("nve-alert")
|
|
50
|
+
], l);
|
|
41
51
|
export {
|
|
42
|
-
|
|
52
|
+
l as default
|
|
43
53
|
};
|
|
@@ -16,6 +16,7 @@ const e = r`
|
|
|
16
16
|
align-items: center;
|
|
17
17
|
margin-left: var(--spacing-x-small, 0.5rem);
|
|
18
18
|
gap: var(--spacing-medium, 1rem);
|
|
19
|
+
font: var(--body-medium);
|
|
19
20
|
}
|
|
20
21
|
:host::part(--sl-input-icon-color-hover) {
|
|
21
22
|
font-size: 24px;
|
|
@@ -50,11 +51,15 @@ const e = r`
|
|
|
50
51
|
font: var(--body-medium);
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
|
|
54
|
+
.alert__message::before {
|
|
54
55
|
content: var(--nve-alert-title);
|
|
55
56
|
font: var(--label-large);
|
|
56
57
|
white-space: nowrap;
|
|
57
58
|
}
|
|
59
|
+
.alert__message::after {
|
|
60
|
+
content: var(--nve-alert-text);
|
|
61
|
+
font: var(--body-medium);
|
|
62
|
+
}
|
|
58
63
|
|
|
59
64
|
/*variants */
|
|
60
65
|
.alert--primary {
|
|
@@ -179,6 +184,11 @@ const e = r`
|
|
|
179
184
|
:host([leftStroke][saturation='emphasized']) .alert--warning {
|
|
180
185
|
border-color: var(--feedback-background-default-warning);
|
|
181
186
|
}
|
|
187
|
+
|
|
188
|
+
/* lukk-knapp. Overstyrer sl-icon-button sin border-radius */
|
|
189
|
+
sl-icon-button::part(base) {
|
|
190
|
+
border-radius: var(--border-radius-small);
|
|
191
|
+
}
|
|
182
192
|
`;
|
|
183
193
|
export {
|
|
184
194
|
e as default
|
|
@@ -16,6 +16,7 @@ export interface StepProps {
|
|
|
16
16
|
readyForEntrance: boolean;
|
|
17
17
|
orientation?: string;
|
|
18
18
|
hideStateText?: boolean;
|
|
19
|
+
hideDescriptions?: boolean;
|
|
19
20
|
}
|
|
20
21
|
/** Komponent for et enkelt steg i en stepper */
|
|
21
22
|
export default class NveStep extends LitElement {
|
|
@@ -24,7 +25,7 @@ export default class NveStep extends LitElement {
|
|
|
24
25
|
/** Indeks for steget */
|
|
25
26
|
index: number;
|
|
26
27
|
/** Beskrivelse av steget */
|
|
27
|
-
description
|
|
28
|
+
description?: string;
|
|
28
29
|
/**
|
|
29
30
|
* Stegets tilstand: Ikke startet, påbegynt, fullført eller feilet
|
|
30
31
|
* @type {StepState}
|
|
@@ -42,6 +43,8 @@ export default class NveStep extends LitElement {
|
|
|
42
43
|
orientation: 'horizontal' | 'vertical';
|
|
43
44
|
/** Angir om stateText skal skjules */
|
|
44
45
|
hideStateText: boolean;
|
|
46
|
+
/** Angir om beskrivelser skal skjules */
|
|
47
|
+
hideDescriptions: boolean;
|
|
45
48
|
/** Brukes for å justere høyden for den vertikale skilleveggen blir så høy som nær Step har en description. */
|
|
46
49
|
descriptionElement: HTMLElement;
|
|
47
50
|
/** Metode som kjøres første gang komponenten er lagt til i DOM */
|
|
@@ -2,14 +2,14 @@ import { r as h, x as c } from "../../../chunks/lit-element.js";
|
|
|
2
2
|
import { n as s, t as p } from "../../../chunks/property.js";
|
|
3
3
|
import { e as v } from "../../../chunks/query.js";
|
|
4
4
|
import u from "./nve-step.styles.js";
|
|
5
|
-
var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, r = (t,
|
|
6
|
-
for (var
|
|
7
|
-
(d = t[l]) && (
|
|
8
|
-
return
|
|
5
|
+
var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, r = (t, i, n, o) => {
|
|
6
|
+
for (var a = o > 1 ? void 0 : o ? y(i, n) : i, l = t.length - 1, d; l >= 0; l--)
|
|
7
|
+
(d = t[l]) && (a = (o ? d(i, n, a) : d(a)) || a);
|
|
8
|
+
return o && a && f(i, n, a), a;
|
|
9
9
|
}, g = /* @__PURE__ */ ((t) => (t[t.NotStarted = 0] = "NotStarted", t[t.Started = 1] = "Started", t[t.Active = 2] = "Active", t[t.Done = 3] = "Done", t[t.Error = 4] = "Error", t))(g || {});
|
|
10
|
-
let
|
|
10
|
+
let e = class extends h {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this.title = "", this.index = 0, this.
|
|
12
|
+
super(...arguments), this.title = "", this.index = 0, this.state = 0, this.selectedStepIndex = 0, this.isSelected = !1, this.isLast = !1, this.entranceAllowed = !1, this.orientation = "horizontal", this.hideStateText = !1, this.hideDescriptions = !1;
|
|
13
13
|
}
|
|
14
14
|
/** Metode som kjøres første gang komponenten er lagt til i DOM */
|
|
15
15
|
firstUpdated() {
|
|
@@ -23,28 +23,28 @@ let i = class extends h {
|
|
|
23
23
|
return this.orientation === "vertical";
|
|
24
24
|
}
|
|
25
25
|
iconForState(t) {
|
|
26
|
-
let
|
|
26
|
+
let i = "";
|
|
27
27
|
switch (t) {
|
|
28
28
|
case 0:
|
|
29
|
-
|
|
29
|
+
i = "circle";
|
|
30
30
|
break;
|
|
31
31
|
case 2:
|
|
32
|
-
|
|
32
|
+
i = "radio_button_checked";
|
|
33
33
|
break;
|
|
34
34
|
case 1:
|
|
35
|
-
|
|
35
|
+
i = "trip_origin";
|
|
36
36
|
break;
|
|
37
37
|
case 3:
|
|
38
|
-
|
|
38
|
+
i = "check_circle";
|
|
39
39
|
break;
|
|
40
40
|
case 4:
|
|
41
|
-
|
|
41
|
+
i = "error";
|
|
42
42
|
break;
|
|
43
43
|
default:
|
|
44
|
-
|
|
44
|
+
i = "check_circle";
|
|
45
45
|
break;
|
|
46
46
|
}
|
|
47
|
-
return
|
|
47
|
+
return i;
|
|
48
48
|
}
|
|
49
49
|
getStateText(t) {
|
|
50
50
|
switch (t) {
|
|
@@ -111,15 +111,17 @@ let i = class extends h {
|
|
|
111
111
|
</div>`;
|
|
112
112
|
}
|
|
113
113
|
renderDescription() {
|
|
114
|
-
return this.isDescriptionValid(this.description) ? c`<div class="step-description ${this.orientation === "vertical" ? "step-description-max-width-vertical" : "step-description-max-width-horizontal"}">${this.description}</div>` : ""
|
|
114
|
+
return this.isDescriptionValid(this.description) ? c`<div class="step-description ${this.orientation === "vertical" ? "step-description-max-width-vertical" : "step-description-max-width-horizontal"}">${this.description}</div>` : c`<div class="step-description empty-description ${this.orientation === "vertical" ? "step-description-max-width-vertical" : "step-description-max-width-horizontal"}"></div>`;
|
|
115
115
|
}
|
|
116
116
|
isDescriptionValid(t) {
|
|
117
|
-
return t.trim().length > 0;
|
|
117
|
+
return !!t && (t == null ? void 0 : t.trim().length) > 0;
|
|
118
118
|
}
|
|
119
119
|
/** Brukes for beregning av riktig høyde før divider. Description elementet har padding, så høyden før divider var for kort, så bruk denne funksjonen for regner ut riktig høyde. */
|
|
120
120
|
updateVerticalDividerHeight() {
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
let n = 34;
|
|
122
|
+
this.descriptionElement && (n = this.descriptionElement.offsetHeight + 24);
|
|
123
|
+
const o = this.shadowRoot.querySelector(".vertical-divider-container .divider-vertical");
|
|
124
|
+
o && (o.style.height = `${n}px`);
|
|
123
125
|
}
|
|
124
126
|
renderVerticalStep() {
|
|
125
127
|
return c`
|
|
@@ -138,7 +140,7 @@ let i = class extends h {
|
|
|
138
140
|
${this.hideStateText ? "" : this.getStateText(this.state)}
|
|
139
141
|
</div>
|
|
140
142
|
<div>
|
|
141
|
-
|
|
143
|
+
${this.hideDescriptions ? "" : this.renderDescription()}
|
|
142
144
|
</div>
|
|
143
145
|
</div>
|
|
144
146
|
</div>
|
|
@@ -157,51 +159,54 @@ let i = class extends h {
|
|
|
157
159
|
<div class="${this.isLast ? "" : "text-container"}">
|
|
158
160
|
<div class="step-title ${this.getTitleClass(this.state)}">${this.title}</div>
|
|
159
161
|
<div class="step-state ${this.getStateColorClass(this.state)}">
|
|
160
|
-
|
|
162
|
+
${this.hideStateText ? "" : this.getStateText(this.state)}
|
|
161
163
|
</div>
|
|
162
|
-
|
|
164
|
+
${this.hideDescriptions ? "" : this.renderDescription()}
|
|
163
165
|
</div>
|
|
164
166
|
`;
|
|
165
167
|
}
|
|
166
168
|
};
|
|
167
|
-
|
|
169
|
+
e.styles = [u];
|
|
168
170
|
r([
|
|
169
171
|
s({ reflect: !0 })
|
|
170
|
-
],
|
|
172
|
+
], e.prototype, "title", 2);
|
|
171
173
|
r([
|
|
172
174
|
s({ type: Number })
|
|
173
|
-
],
|
|
175
|
+
], e.prototype, "index", 2);
|
|
174
176
|
r([
|
|
175
177
|
s({ type: String })
|
|
176
|
-
],
|
|
178
|
+
], e.prototype, "description", 2);
|
|
177
179
|
r([
|
|
178
180
|
s({ type: Number })
|
|
179
|
-
],
|
|
181
|
+
], e.prototype, "state", 2);
|
|
180
182
|
r([
|
|
181
183
|
s({ type: Number })
|
|
182
|
-
],
|
|
184
|
+
], e.prototype, "selectedStepIndex", 2);
|
|
183
185
|
r([
|
|
184
186
|
s({ type: Boolean, reflect: !0 })
|
|
185
|
-
],
|
|
187
|
+
], e.prototype, "isSelected", 2);
|
|
186
188
|
r([
|
|
187
189
|
s({ type: Boolean })
|
|
188
|
-
],
|
|
190
|
+
], e.prototype, "isLast", 2);
|
|
189
191
|
r([
|
|
190
192
|
s({ type: Boolean })
|
|
191
|
-
],
|
|
193
|
+
], e.prototype, "entranceAllowed", 2);
|
|
192
194
|
r([
|
|
193
195
|
s()
|
|
194
|
-
],
|
|
196
|
+
], e.prototype, "orientation", 2);
|
|
197
|
+
r([
|
|
198
|
+
s({ type: Boolean })
|
|
199
|
+
], e.prototype, "hideStateText", 2);
|
|
195
200
|
r([
|
|
196
201
|
s({ type: Boolean })
|
|
197
|
-
],
|
|
202
|
+
], e.prototype, "hideDescriptions", 2);
|
|
198
203
|
r([
|
|
199
204
|
v(".step-description")
|
|
200
|
-
],
|
|
201
|
-
|
|
205
|
+
], e.prototype, "descriptionElement", 2);
|
|
206
|
+
e = r([
|
|
202
207
|
p("nve-step")
|
|
203
|
-
],
|
|
208
|
+
], e);
|
|
204
209
|
export {
|
|
205
210
|
g as StepState,
|
|
206
|
-
|
|
211
|
+
e as default
|
|
207
212
|
};
|
|
@@ -77,6 +77,11 @@ const r = e`
|
|
|
77
77
|
padding-top: 0.625rem; /*10px; */
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
.empty-description {
|
|
81
|
+
min-height: 1rem; /* Set a minimum height for empty descriptions */
|
|
82
|
+
padding-top: 0.625rem; /* Match the padding of regular descriptions */
|
|
83
|
+
}
|
|
84
|
+
|
|
80
85
|
.step-description-max-width-vertical {
|
|
81
86
|
max-width: 430px;
|
|
82
87
|
padding-bottom: var(--spacing-large, 1.5rem);
|
|
@@ -28,6 +28,8 @@ export interface INveStepper {
|
|
|
28
28
|
displayMobileVersion?: boolean;
|
|
29
29
|
/** Angir om stateText skal skjules for alle trinn */
|
|
30
30
|
hideStateText?: boolean;
|
|
31
|
+
/** Skjuler beskrivelser for alle trinn */
|
|
32
|
+
hideDescriptions?: boolean;
|
|
31
33
|
}
|
|
32
34
|
/**
|
|
33
35
|
* En stepper-komponent brukes for å bryte ned en kompleks prosess i flere mindre, håndterbare trinn.
|
|
@@ -51,6 +53,8 @@ export default class NveStepper extends LitElement {
|
|
|
51
53
|
displayMobileVersion: boolean;
|
|
52
54
|
/** Angir om stateText skal skjules for alle trinn */
|
|
53
55
|
hideStateText: boolean;
|
|
56
|
+
/** Skjuler beskrivelser for alle trinn */
|
|
57
|
+
hideDescriptions: boolean;
|
|
54
58
|
private selectedStepIndex;
|
|
55
59
|
/**
|
|
56
60
|
* Ved endring av props, re-render komponenten eksternt med document.querySelector("nve-stepper")?.reRender();
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { r as u, x as
|
|
2
|
-
import { n
|
|
1
|
+
import { r as u, x as p } from "../../chunks/lit-element.js";
|
|
2
|
+
import { n, t as c } from "../../chunks/property.js";
|
|
3
3
|
import { StepState as h } from "./nve-step/nve-step.component.js";
|
|
4
|
-
import
|
|
4
|
+
import S from "./nve-stepper.styles.js";
|
|
5
5
|
import "./nve-stepper-mobile.component.js";
|
|
6
6
|
var v = Object.defineProperty, f = Object.getOwnPropertyDescriptor, i = (e, t, a, o) => {
|
|
7
|
-
for (var
|
|
8
|
-
(l = e[d]) && (
|
|
9
|
-
return o &&
|
|
7
|
+
for (var r = o > 1 ? void 0 : o ? f(t, a) : t, d = e.length - 1, l; d >= 0; d--)
|
|
8
|
+
(l = e[d]) && (r = (o ? l(t, a, r) : l(r)) || r);
|
|
9
|
+
return o && r && v(t, a, r), r;
|
|
10
10
|
};
|
|
11
11
|
function x() {
|
|
12
12
|
return /Mobi|Android/i.test(navigator.userAgent);
|
|
13
13
|
}
|
|
14
14
|
let s = class extends u {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this.orientation = "horizontal", this.endButtonText = "Sende", this.steps = [], this.hideStepButtons = !1, this.hideMobileStepButtons = !1, this.displayMobileVersion = !1, this.hideStateText = !1, this.selectedStepIndex = { value: 0 };
|
|
16
|
+
super(...arguments), this.orientation = "horizontal", this.endButtonText = "Sende", this.steps = [], this.hideStepButtons = !1, this.hideMobileStepButtons = !1, this.displayMobileVersion = !1, this.hideStateText = !1, this.hideDescriptions = !1, this.selectedStepIndex = { value: 0 };
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
* Ved endring av props, re-render komponenten eksternt med document.querySelector("nve-stepper")?.reRender();
|
|
@@ -69,7 +69,7 @@ let s = class extends u {
|
|
|
69
69
|
this.prevStep();
|
|
70
70
|
}
|
|
71
71
|
renderBackButton() {
|
|
72
|
-
return this.hideStepButtons ? "" :
|
|
72
|
+
return this.hideStepButtons ? "" : p`
|
|
73
73
|
<nve-button
|
|
74
74
|
.disabled=${this.getExtremes() === "start"}
|
|
75
75
|
size="medium"
|
|
@@ -85,7 +85,7 @@ let s = class extends u {
|
|
|
85
85
|
return this.orientation === "vertical";
|
|
86
86
|
}
|
|
87
87
|
renderForwardButton() {
|
|
88
|
-
return this.hideStepButtons ? "" : this.getExtremes() === "end" ?
|
|
88
|
+
return this.hideStepButtons ? "" : this.getExtremes() === "end" ? p`
|
|
89
89
|
<nve-button
|
|
90
90
|
size="medium"
|
|
91
91
|
variant="primary"
|
|
@@ -94,7 +94,7 @@ let s = class extends u {
|
|
|
94
94
|
<nve-icon slot="suffix" name="done"></nve-icon>
|
|
95
95
|
${this.endButtonText}
|
|
96
96
|
</nve-button>
|
|
97
|
-
` :
|
|
97
|
+
` : p`
|
|
98
98
|
<nve-button
|
|
99
99
|
.disabled=${this.getExtremes() === "end"}
|
|
100
100
|
size="medium"
|
|
@@ -107,7 +107,7 @@ let s = class extends u {
|
|
|
107
107
|
`;
|
|
108
108
|
}
|
|
109
109
|
renderVerticalButtons() {
|
|
110
|
-
return this.hideStepButtons ? "" :
|
|
110
|
+
return this.hideStepButtons ? "" : p`
|
|
111
111
|
<div class="vertical-btn-container">
|
|
112
112
|
${this.renderBackButton()}
|
|
113
113
|
${this.renderForwardButton()}
|
|
@@ -116,7 +116,7 @@ let s = class extends u {
|
|
|
116
116
|
}
|
|
117
117
|
/** Hoved render-metode */
|
|
118
118
|
render() {
|
|
119
|
-
return x() || this.displayMobileVersion ?
|
|
119
|
+
return x() || this.displayMobileVersion ? p`
|
|
120
120
|
<nve-stepper-mobile
|
|
121
121
|
.steps=${this.steps}
|
|
122
122
|
.selectedStepIndex=${this.selectedStepIndex}
|
|
@@ -124,12 +124,12 @@ let s = class extends u {
|
|
|
124
124
|
@next-step=${this.handleMobileNextStep}
|
|
125
125
|
@prev-step=${this.handleMobilePrevStep}
|
|
126
126
|
></nve-stepper-mobile>
|
|
127
|
-
` :
|
|
127
|
+
` : p`
|
|
128
128
|
<div class="stepper ${this.orientation}">
|
|
129
129
|
${this.isOrientationVertical() ? "" : this.renderBackButton()}
|
|
130
130
|
<div class="steps-container ${this.orientation} ${this.hideStepButtons ? "" : "steps-container-with-buttons"}">
|
|
131
131
|
${this.steps.map(
|
|
132
|
-
(e, t) =>
|
|
132
|
+
(e, t) => p`
|
|
133
133
|
<nve-step
|
|
134
134
|
.title=${e.title}
|
|
135
135
|
.description=${e.description}
|
|
@@ -141,6 +141,7 @@ let s = class extends u {
|
|
|
141
141
|
.readyForEntrance=${e.readyForEntrance}
|
|
142
142
|
.orientation=${this.orientation}
|
|
143
143
|
.hideStateText=${this.hideStateText}
|
|
144
|
+
.hideDescriptions=${this.hideDescriptions}
|
|
144
145
|
>
|
|
145
146
|
</nve-step>
|
|
146
147
|
`
|
|
@@ -152,30 +153,33 @@ let s = class extends u {
|
|
|
152
153
|
`;
|
|
153
154
|
}
|
|
154
155
|
};
|
|
155
|
-
s.styles = [
|
|
156
|
+
s.styles = [S];
|
|
156
157
|
i([
|
|
157
|
-
|
|
158
|
+
n()
|
|
158
159
|
], s.prototype, "orientation", 2);
|
|
159
160
|
i([
|
|
160
|
-
|
|
161
|
+
n({ type: String })
|
|
161
162
|
], s.prototype, "endButtonText", 2);
|
|
162
163
|
i([
|
|
163
|
-
|
|
164
|
+
n({ type: Array })
|
|
164
165
|
], s.prototype, "steps", 2);
|
|
165
166
|
i([
|
|
166
|
-
|
|
167
|
+
n({ type: Boolean })
|
|
167
168
|
], s.prototype, "hideStepButtons", 2);
|
|
168
169
|
i([
|
|
169
|
-
|
|
170
|
+
n({ type: Boolean })
|
|
170
171
|
], s.prototype, "hideMobileStepButtons", 2);
|
|
171
172
|
i([
|
|
172
|
-
|
|
173
|
+
n({ type: Boolean })
|
|
173
174
|
], s.prototype, "displayMobileVersion", 2);
|
|
174
175
|
i([
|
|
175
|
-
|
|
176
|
+
n({ type: Boolean })
|
|
176
177
|
], s.prototype, "hideStateText", 2);
|
|
178
|
+
i([
|
|
179
|
+
n({ type: Boolean })
|
|
180
|
+
], s.prototype, "hideDescriptions", 2);
|
|
177
181
|
s = i([
|
|
178
|
-
|
|
182
|
+
c("nve-stepper")
|
|
179
183
|
], s);
|
|
180
184
|
export {
|
|
181
185
|
s as default
|