@oslokommune/punkt-vue 12.31.2 → 12.32.7

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 (38) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/{Alert-R-eAFCdz.js → Alert-DHRKJRVL.js} +2 -2
  3. package/dist/{Button-BlX9N6dr.js → Button-Bm6X0lD8.js} +3 -3
  4. package/dist/Button-D2xQdpZo.cjs +1 -1
  5. package/dist/{Helptext-x_AJJvxR.js → Helptext-BoMRhm0N.js} +4 -4
  6. package/dist/{Icon-DdXdUxP2.js → Icon-Z84h32lN.js} +2 -2
  7. package/dist/{InputWrapper-CXY8O_cJ.js → InputWrapper-D2jCo3f8.js} +14 -14
  8. package/dist/{Tag-BpTGJPw9.js → Tag-CK-y1m3h.js} +2 -2
  9. package/dist/punkt-vue-accordion.js +6 -6
  10. package/dist/punkt-vue-alert.js +1 -1
  11. package/dist/punkt-vue-backlink.js +2 -2
  12. package/dist/punkt-vue-breadcrumbs.js +2 -2
  13. package/dist/punkt-vue-button.js +1 -1
  14. package/dist/punkt-vue-checkbox.js +10 -10
  15. package/dist/punkt-vue-footer.js +11 -11
  16. package/dist/punkt-vue-footersimple.js +4 -4
  17. package/dist/punkt-vue-header.cjs +1 -1
  18. package/dist/punkt-vue-header.js +5 -5
  19. package/dist/punkt-vue-helptext.js +1 -1
  20. package/dist/punkt-vue-icon.js +1 -1
  21. package/dist/punkt-vue-index.js +6 -6
  22. package/dist/punkt-vue-inputwrapper.js +1 -1
  23. package/dist/punkt-vue-linkcard.js +3 -3
  24. package/dist/punkt-vue-loader.cjs +1 -1
  25. package/dist/punkt-vue-loader.js +9 -9
  26. package/dist/punkt-vue-messagebox.js +2 -2
  27. package/dist/punkt-vue-progressbar.cjs +1 -1
  28. package/dist/punkt-vue-progressbar.js +8 -8
  29. package/dist/punkt-vue-radiobutton.js +3 -3
  30. package/dist/punkt-vue-searchinput.js +14 -14
  31. package/dist/punkt-vue-select.js +6 -6
  32. package/dist/punkt-vue-stepper.js +3 -3
  33. package/dist/punkt-vue-table.js +7 -7
  34. package/dist/punkt-vue-tabs.js +3 -3
  35. package/dist/punkt-vue-tag.js +1 -1
  36. package/dist/punkt-vue-textarea.js +6 -6
  37. package/dist/punkt-vue-textinput.js +4 -4
  38. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -5,6 +5,41 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
5
5
 
6
6
  ---
7
7
 
8
+ ## [12.32.4](https://github.com/oslokommune/punkt/compare/12.32.3...12.32.4) (2025-04-11)
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+ Ingen
12
+
13
+ ### Features
14
+ Ingen
15
+
16
+ ### Bug Fixes
17
+ * Oppdaterer Vite. Kanskje det fikser byggeproblemer? (#2405).
18
+
19
+
20
+ ### Chores
21
+ Ingen
22
+
23
+ ---
24
+
25
+
26
+ ## [12.32.2](https://github.com/oslokommune/punkt/compare/12.32.1...12.32.2) (2025-04-11)
27
+
28
+ ### ⚠ BREAKING CHANGES
29
+ Ingen
30
+
31
+ ### Features
32
+ Ingen
33
+
34
+ ### Bug Fixes
35
+ Ingen
36
+
37
+ ### Chores
38
+ Ingen
39
+
40
+ ---
41
+
42
+
8
43
  ## [12.25.0](https://github.com/oslokommune/punkt/compare/12.24.4...12.25.0) (2025-03-07)
9
44
 
10
45
  ### ⚠ BREAKING CHANGES
@@ -1,5 +1,5 @@
1
1
  import "@oslokommune/punkt-elements/dist/pkt-alert";
2
- import { openBlock as a, createElementBlock as r, renderSlot as i } from "vue";
2
+ import { createElementBlock as a, openBlock as r, renderSlot as i } from "vue";
3
3
  import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const o = {
5
5
  name: "PktAlert",
@@ -37,7 +37,7 @@ const o = {
37
37
  }
38
38
  }, n = ["skin", "closeAlert", "title", "date", "ariaLive", "compact"];
39
39
  function c(t, s, e, d, f, u) {
40
- return a(), r("pkt-alert", {
40
+ return r(), a("pkt-alert", {
41
41
  skin: e.skin,
42
42
  closeAlert: e.closeAlert,
43
43
  title: e.title,
@@ -1,5 +1,5 @@
1
- import { P as d } from "./Icon-DdXdUxP2.js";
2
- import { resolveComponent as u, openBlock as s, createElementBlock as c, mergeProps as m, withKeys as k, createBlock as a, createCommentVNode as l, createElementVNode as p, renderSlot as y, createTextVNode as b, toDisplayString as f } from "vue";
1
+ import { P as d } from "./Icon-Z84h32lN.js";
2
+ import { resolveComponent as u, createElementBlock as c, openBlock as s, mergeProps as m, withKeys as k, createBlock as a, createCommentVNode as l, createElementVNode as p, renderSlot as y, createTextVNode as b, toDisplayString as f } from "vue";
3
3
  import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const h = {
5
5
  name: "PktButton",
@@ -120,7 +120,7 @@ function _(t, n, e, S, P, r) {
120
120
  key: 0,
121
121
  class: "pkt-btn__icon pkt-btn__spinner",
122
122
  name: "spinner-blue",
123
- path: "https://punkt-cdn.oslo.kommune.no/12.31/animations/"
123
+ path: "https://punkt-cdn.oslo.kommune.no/12.32/animations/"
124
124
  })) : l("", !0),
125
125
  e.variant !== "label-only" ? (s(), a(i, {
126
126
  key: 1,
@@ -1 +1 @@
1
- "use strict";const o=require("./Icon-BLNK24NN.cjs"),e=require("vue"),r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u={name:"PktButton",components:{PktIcon:o.PktIcon},props:{disabled:{type:Boolean,required:!1,default:!1},iconName:{type:String,required:!1,default:"user"},secondIconName:{type:String,required:!1,default:"user"},size:{type:String,default:"medium",validator:t=>["small","medium","large"].includes(t)},skin:{type:String,default:"primary",validator:t=>["primary","secondary","tertiary"].includes(t)},color:{type:String,validator:t=>["blue","blue-outline","green","green-outline","green-dark","green-dark-outline","beige-light","beige-dark-outline","yellow","yellow-outline","red","red-outline"].includes(t)},text:{type:String,required:!1,default:"Trykk her"},variant:{type:String,default:"label-only",validator:t=>["label-only","icon-left","icon-right","icon-only","icons-right-and-left"].includes(t)},state:{type:String,required:!1,validator:t=>["normal","focus","hover","active"].includes(t)},type:{type:String,default:"button",validator:t=>["button","submit","reset"].includes(t)},isLoading:{type:Boolean,default:!1}},computed:{classes(){return["pkt-btn",this.sizeClass,this.skinClass,this.variantClass,this.colorClass,this.isLoadingClass,this.stateClass]},sizeClass(){return this.size!=="medium"?`pkt-btn--${this.size}`:""},skinClass(){return this.skin!=="primary"?`pkt-btn--${this.skin}`:""},colorClass(){return this.color?`pkt-btn--${this.color}`:""},stateClass(){return this.state?`pkt-btn--${this.state}`:""},variantClass(){return this.variant!=="label-only"?`pkt-btn--${this.variant}`:""},isLoadingClass(){return this.isLoading===!0?"pkt-btn--active":""}}},c=["type","disabled"],d={class:"pkt-btn__text"};function k(t,s,n,p,y,a){const i=e.resolveComponent("PktIcon");return e.openBlock(),e.createElementBlock("button",e.mergeProps(t.$attrs,{type:n.type,class:a.classes,onClick:s[0]||(s[0]=l=>t.$emit("onClick")),onKeyup:s[1]||(s[1]=e.withKeys(l=>t.$emit("onClick"),["enter"])),disabled:n.disabled}),[n.isLoading===!0?(e.openBlock(),e.createBlock(i,{key:0,class:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:"https://punkt-cdn.oslo.kommune.no/12.31/animations/"})):e.createCommentVNode("",!0),n.variant!=="label-only"?(e.openBlock(),e.createBlock(i,{key:1,class:"pkt-btn__icon",name:n.iconName},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",d,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.text),1)])]),n.variant==="icons-right-and-left"?(e.openBlock(),e.createBlock(i,{key:2,class:"pkt-btn__icon",name:n.secondIconName},null,8,["name"])):e.createCommentVNode("",!0)],16,c)}const m=r._export_sfc(u,[["render",k]]);exports.PktButton=m;
1
+ "use strict";const o=require("./Icon-BLNK24NN.cjs"),e=require("vue"),r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),u={name:"PktButton",components:{PktIcon:o.PktIcon},props:{disabled:{type:Boolean,required:!1,default:!1},iconName:{type:String,required:!1,default:"user"},secondIconName:{type:String,required:!1,default:"user"},size:{type:String,default:"medium",validator:t=>["small","medium","large"].includes(t)},skin:{type:String,default:"primary",validator:t=>["primary","secondary","tertiary"].includes(t)},color:{type:String,validator:t=>["blue","blue-outline","green","green-outline","green-dark","green-dark-outline","beige-light","beige-dark-outline","yellow","yellow-outline","red","red-outline"].includes(t)},text:{type:String,required:!1,default:"Trykk her"},variant:{type:String,default:"label-only",validator:t=>["label-only","icon-left","icon-right","icon-only","icons-right-and-left"].includes(t)},state:{type:String,required:!1,validator:t=>["normal","focus","hover","active"].includes(t)},type:{type:String,default:"button",validator:t=>["button","submit","reset"].includes(t)},isLoading:{type:Boolean,default:!1}},computed:{classes(){return["pkt-btn",this.sizeClass,this.skinClass,this.variantClass,this.colorClass,this.isLoadingClass,this.stateClass]},sizeClass(){return this.size!=="medium"?`pkt-btn--${this.size}`:""},skinClass(){return this.skin!=="primary"?`pkt-btn--${this.skin}`:""},colorClass(){return this.color?`pkt-btn--${this.color}`:""},stateClass(){return this.state?`pkt-btn--${this.state}`:""},variantClass(){return this.variant!=="label-only"?`pkt-btn--${this.variant}`:""},isLoadingClass(){return this.isLoading===!0?"pkt-btn--active":""}}},c=["type","disabled"],d={class:"pkt-btn__text"};function k(t,s,n,p,y,a){const i=e.resolveComponent("PktIcon");return e.openBlock(),e.createElementBlock("button",e.mergeProps(t.$attrs,{type:n.type,class:a.classes,onClick:s[0]||(s[0]=l=>t.$emit("onClick")),onKeyup:s[1]||(s[1]=e.withKeys(l=>t.$emit("onClick"),["enter"])),disabled:n.disabled}),[n.isLoading===!0?(e.openBlock(),e.createBlock(i,{key:0,class:"pkt-btn__icon pkt-btn__spinner",name:"spinner-blue",path:"https://punkt-cdn.oslo.kommune.no/12.32/animations/"})):e.createCommentVNode("",!0),n.variant!=="label-only"?(e.openBlock(),e.createBlock(i,{key:1,class:"pkt-btn__icon",name:n.iconName},null,8,["name"])):e.createCommentVNode("",!0),e.createElementVNode("span",d,[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.text),1)])]),n.variant==="icons-right-and-left"?(e.openBlock(),e.createBlock(i,{key:2,class:"pkt-btn__icon",name:n.secondIconName},null,8,["name"])):e.createCommentVNode("",!0)],16,c)}const m=r._export_sfc(u,[["render",k]]);exports.PktButton=m;
@@ -1,5 +1,5 @@
1
1
  import "@oslokommune/punkt-elements/dist/pkt-helptext";
2
- import { openBlock as l, createElementBlock as n, createElementVNode as d, createCommentVNode as x } from "vue";
2
+ import { createElementBlock as l, createCommentVNode as n, openBlock as d, createElementVNode as x } from "vue";
3
3
  import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const i = {
5
5
  name: "pktHelptext",
@@ -39,15 +39,15 @@ const i = {
39
39
  }
40
40
  }, h = { key: 0 }, u = ["forId", "helptext", "helptextDropdown", "helptextDropdownButton"];
41
41
  function a(o, p, e, m, g, t) {
42
- return e.helptext || e.helptextDropdown ? (l(), n("div", h, [
43
- d("pkt-helptext", {
42
+ return e.helptext || e.helptextDropdown ? (d(), l("div", h, [
43
+ x("pkt-helptext", {
44
44
  forId: e.forId,
45
45
  helptext: e.helptext,
46
46
  helptextDropdown: e.helptextDropdown,
47
47
  helptextDropdownButton: t.dropdownButton,
48
48
  "on:toggleHelpText": p[0] || (p[0] = (...r) => t.toggleHelpText && t.toggleHelpText(...r))
49
49
  }, null, 40, u)
50
- ])) : x("", !0);
50
+ ])) : n("", !0);
51
51
  }
52
52
  const H = /* @__PURE__ */ s(i, [["render", a]]);
53
53
  export {
@@ -1,5 +1,5 @@
1
1
  import "@oslokommune/punkt-elements/dist/pkt-icon";
2
- import { openBlock as t, createElementBlock as n, mergeProps as o } from "vue";
2
+ import { createElementBlock as t, openBlock as n, mergeProps as o } from "vue";
3
3
  import { _ as r } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const a = {
5
5
  name: "PktIcon",
@@ -16,7 +16,7 @@ const a = {
16
16
  }
17
17
  }, c = ["name"];
18
18
  function p(i, m, e, d, s, _) {
19
- return t(), n("pkt-icon", o({ name: e.name }, e.path && { path: e.path }), null, 16, c);
19
+ return n(), t("pkt-icon", o({ name: e.name }, e.path && { path: e.path }), null, 16, c);
20
20
  }
21
21
  const h = /* @__PURE__ */ r(a, [["render", p]]);
22
22
  export {
@@ -1,6 +1,6 @@
1
- import { P as b } from "./Alert-R-eAFCdz.js";
2
- import { P as k } from "./Helptext-x_AJJvxR.js";
3
- import { resolveComponent as u, openBlock as r, createElementBlock as a, normalizeClass as s, createBlock as p, resolveDynamicComponent as f, withCtx as n, createTextVNode as d, toDisplayString as l, createCommentVNode as i, createVNode as h, renderSlot as c, Fragment as g, createElementVNode as _ } from "vue";
1
+ import { P as b } from "./Alert-DHRKJRVL.js";
2
+ import { P as k } from "./Helptext-BoMRhm0N.js";
3
+ import { resolveComponent as u, createElementBlock as a, openBlock as r, normalizeClass as s, createBlock as p, createCommentVNode as l, resolveDynamicComponent as f, withCtx as n, createVNode as h, renderSlot as c, createTextVNode as d, toDisplayString as i, Fragment as g, createElementVNode as _ } from "vue";
4
4
  import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const T = {
6
6
  name: "pktInputwrapper",
@@ -150,11 +150,11 @@ function H(o, I, e, S, v, t) {
150
150
  id: `${e.forId}-label`
151
151
  }, {
152
152
  default: n(() => [
153
- d(l(e.label), 1),
153
+ d(i(e.label), 1),
154
154
  t.tagText !== "" ? (r(), a("span", {
155
155
  key: 0,
156
156
  class: s(t.tagClass)
157
- }, l(t.tagText), 3)) : i("", !0)
157
+ }, i(t.tagText), 3)) : l("", !0)
158
158
  ]),
159
159
  _: 1
160
160
  }, 8, ["class", "id"])),
@@ -165,31 +165,31 @@ function H(o, I, e, S, v, t) {
165
165
  helptextDropdownButton: e.helptextDropdownButton,
166
166
  helptextDropdown: e.helptextDropdown
167
167
  }, null, 8, ["forId", "onToggleHelpText", "helptext", "helptextDropdownButton", "helptextDropdown"]),
168
- e.hasFieldset ? i("", !0) : (r(), a("label", {
168
+ e.hasFieldset ? l("", !0) : (r(), a("label", {
169
169
  key: 0,
170
170
  for: e.forId,
171
171
  class: "pkt-sr-only",
172
172
  "aria-describedby": t.describedBy
173
- }, l(e.label), 9, w)),
173
+ }, i(e.label), 9, w)),
174
174
  c(o.$slots, "default")
175
175
  ]),
176
176
  _: 3
177
177
  }, 8, ["for", "class", "aria-describedby"])) : (r(), a(g, { key: 1 }, [
178
- e.hasFieldset ? i("", !0) : (r(), a("label", {
178
+ e.hasFieldset ? l("", !0) : (r(), a("label", {
179
179
  key: 0,
180
180
  for: e.forId,
181
181
  class: "pkt-sr-only",
182
182
  "aria-describedby": t.describedBy,
183
183
  id: `${e.forId}-label`
184
- }, l(e.label), 9, D)),
184
+ }, i(e.label), 9, D)),
185
185
  c(o.$slots, "default")
186
186
  ], 64)),
187
187
  e.counter ? (r(), a("div", q, [
188
- d(l(e.counterCurrent || 0), 1),
188
+ d(i(e.counterCurrent || 0), 1),
189
189
  e.counterMaxLength ? (r(), a(g, { key: 0 }, [
190
- d("/" + l(e.counterMaxLength), 1)
191
- ], 64)) : i("", !0)
192
- ])) : i("", !0),
190
+ d("/" + i(e.counterMaxLength), 1)
191
+ ], 64)) : l("", !0)
192
+ ])) : l("", !0),
193
193
  e.hasError && e.errorMessage ? (r(), a("div", B, [
194
194
  h(x, {
195
195
  skin: "error",
@@ -205,7 +205,7 @@ function H(o, I, e, S, v, t) {
205
205
  ]),
206
206
  _: 1
207
207
  }, 8, ["id"])
208
- ])) : i("", !0)
208
+ ])) : l("", !0)
209
209
  ], 2);
210
210
  }
211
211
  const E = /* @__PURE__ */ m(T, [["render", H]]);
@@ -1,5 +1,5 @@
1
1
  import "@oslokommune/punkt-elements/dist/pkt-tag";
2
- import { openBlock as a, createElementBlock as l, renderSlot as i } from "vue";
2
+ import { createElementBlock as a, openBlock as l, renderSlot as i } from "vue";
3
3
  import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const r = {
5
5
  name: "PktTag",
@@ -45,7 +45,7 @@ const r = {
45
45
  }
46
46
  }, o = ["skin", "textStyle", "size", "closeTag", "iconName", "type", "ariaLabel"];
47
47
  function s(e, u, t, c, d, m) {
48
- return a(), l("pkt-tag", {
48
+ return l(), a("pkt-tag", {
49
49
  skin: t.skin,
50
50
  textStyle: t.textStyle,
51
51
  size: t.size,
@@ -1,6 +1,6 @@
1
1
  import { u as b, a as c } from "./plugins-DQVoaMd9.js";
2
- import { defineComponent as p, watchEffect as v, ref as m, computed as r, openBlock as u, createElementBlock as f, normalizeClass as k, renderSlot as g, unref as l, createElementVNode as d, createTextVNode as h, toDisplayString as P, createVNode as $ } from "vue";
3
- import { P as y } from "./Icon-DdXdUxP2.js";
2
+ import { defineComponent as p, watchEffect as v, ref as m, computed as r, createElementBlock as u, openBlock as f, normalizeClass as k, renderSlot as g, unref as l, createElementVNode as d, createTextVNode as h, createVNode as P, toDisplayString as $ } from "vue";
3
+ import { P as y } from "./Icon-Z84h32lN.js";
4
4
  const C = /* @__PURE__ */ p({
5
5
  __name: "Accordion",
6
6
  props: {
@@ -21,7 +21,7 @@ const C = /* @__PURE__ */ p({
21
21
  o.compact && "pkt-accordion--compact",
22
22
  o.skin && `pkt-accordion--${o.skin}`
23
23
  ].filter(Boolean).join(" "));
24
- return (i, s) => (u(), f("div", {
24
+ return (i, s) => (f(), u("div", {
25
25
  class: k(a.value),
26
26
  ref_key: "accordionRef",
27
27
  ref: n
@@ -53,7 +53,7 @@ const C = /* @__PURE__ */ p({
53
53
  "pkt-accordion-item--open": a.value
54
54
  }
55
55
  ]);
56
- return (e, A) => (u(), f("details", {
56
+ return (e, A) => (f(), u("details", {
57
57
  "aria-controls": `pkt-accordion-item-content-${e.id}`,
58
58
  "aria-expanded": l(a),
59
59
  class: k(_.value),
@@ -66,8 +66,8 @@ const C = /* @__PURE__ */ p({
66
66
  id: `pkt-accordion-item-summary-${e.id}`,
67
67
  onClick: s
68
68
  }, [
69
- h(P(e.title) + " ", 1),
70
- $(y, {
69
+ h($(e.title) + " ", 1),
70
+ P(y, {
71
71
  name: "chevron-thin-down",
72
72
  class: "pkt-accordion-item__icon",
73
73
  "aria-hidden": "true"
@@ -1,4 +1,4 @@
1
- import { P as o } from "./Alert-R-eAFCdz.js";
1
+ import { P as o } from "./Alert-DHRKJRVL.js";
2
2
  import { u as r, a as s } from "./plugins-DQVoaMd9.js";
3
3
  const a = {
4
4
  install(t) {
@@ -1,5 +1,5 @@
1
- import { P as f } from "./Icon-DdXdUxP2.js";
2
- import { resolveComponent as s, openBlock as n, createElementBlock as a, createVNode as c, createElementVNode as i, renderSlot as l, createTextVNode as k, toDisplayString as r, createBlock as p, withCtx as m } from "vue";
1
+ import { P as f } from "./Icon-Z84h32lN.js";
2
+ import { resolveComponent as s, createElementBlock as a, openBlock as n, createBlock as p, createVNode as c, createElementVNode as i, renderSlot as l, createTextVNode as k, toDisplayString as r, withCtx as m } from "vue";
3
3
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { u as d, a as u } from "./plugins-DQVoaMd9.js";
5
5
  const x = {
@@ -1,5 +1,5 @@
1
- import { P as _ } from "./Icon-DdXdUxP2.js";
2
- import { resolveComponent as b, openBlock as t, createElementBlock as c, createElementVNode as r, Fragment as p, renderList as h, toDisplayString as l, createBlock as u, resolveDynamicComponent as d, withCtx as k, createVNode as m } from "vue";
1
+ import { P as _ } from "./Icon-Z84h32lN.js";
2
+ import { resolveComponent as b, createElementBlock as c, openBlock as t, createElementVNode as r, Fragment as p, renderList as h, createBlock as u, toDisplayString as l, resolveDynamicComponent as d, withCtx as k, createVNode as m } from "vue";
3
3
  import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { u as y, a as g } from "./plugins-DQVoaMd9.js";
5
5
  const v = {
@@ -1,4 +1,4 @@
1
- import { P as o } from "./Button-BlX9N6dr.js";
1
+ import { P as o } from "./Button-Bm6X0lD8.js";
2
2
  import { u as s, a } from "./plugins-DQVoaMd9.js";
3
3
  const r = {
4
4
  install(t) {
@@ -1,4 +1,4 @@
1
- import { openBlock as l, createElementBlock as i, createElementVNode as s, normalizeClass as d, createTextVNode as u, toDisplayString as a, createCommentVNode as c, withDirectives as k, mergeProps as r, vModelCheckbox as _ } from "vue";
1
+ import { createElementBlock as l, openBlock as i, createElementVNode as s, normalizeClass as d, createCommentVNode as a, withDirectives as k, createTextVNode as u, toDisplayString as c, mergeProps as r, vModelCheckbox as _ } from "vue";
2
2
  import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  import { u as b, a as p } from "./plugins-DQVoaMd9.js";
4
4
  const m = {
@@ -69,7 +69,7 @@ const m = {
69
69
  class: "pkt-input-check__input-helptext"
70
70
  };
71
71
  function S(t, n, e, H, E, o) {
72
- return l(), i("div", y, [
72
+ return i(), l("div", y, [
73
73
  s("div", {
74
74
  class: d([
75
75
  "pkt-input-check__input",
@@ -77,14 +77,14 @@ function S(t, n, e, H, E, o) {
77
77
  { "pkt-input-check__input--tile-disabled": e.disabled && e.hasTile }
78
78
  ])
79
79
  }, [
80
- e.label && e.labelPosition === "left" ? (l(), i("label", {
80
+ e.label && e.labelPosition === "left" ? (i(), l("label", {
81
81
  key: 0,
82
82
  class: d(["pkt-input-check__input-label", { "pkt-sr-only": e.hideLabel }]),
83
83
  for: e.id
84
84
  }, [
85
- u(a(e.label) + " ", 1),
86
- e.checkHelptext ? (l(), i("div", C, a(e.checkHelptext), 1)) : c("", !0)
87
- ], 10, x)) : c("", !0),
85
+ u(c(e.label) + " ", 1),
86
+ e.checkHelptext ? (i(), l("div", C, c(e.checkHelptext), 1)) : a("", !0)
87
+ ], 10, x)) : a("", !0),
88
88
  k(s("input", r(t.$attrs, {
89
89
  class: ["pkt-input-check__input-checkbox", { "pkt-input-check__input-checkbox--error": e.hasError }],
90
90
  type: "checkbox",
@@ -95,14 +95,14 @@ function S(t, n, e, H, E, o) {
95
95
  }), null, 16, g), [
96
96
  [_, o.computedChecked]
97
97
  ]),
98
- e.label && e.labelPosition === "right" ? (l(), i("label", {
98
+ e.label && e.labelPosition === "right" ? (i(), l("label", {
99
99
  key: 1,
100
100
  class: d(["pkt-input-check__input-label", { "pkt-sr-only": e.hideLabel }]),
101
101
  for: e.id
102
102
  }, [
103
- u(a(e.label) + " ", 1),
104
- e.checkHelptext ? (l(), i("div", P, a(e.checkHelptext), 1)) : c("", !0)
105
- ], 10, B)) : c("", !0)
103
+ u(c(e.label) + " ", 1),
104
+ e.checkHelptext ? (i(), l("div", P, c(e.checkHelptext), 1)) : a("", !0)
105
+ ], 10, B)) : a("", !0)
106
106
  ], 2)
107
107
  ]);
108
108
  }
@@ -1,5 +1,5 @@
1
- import { P as m } from "./Icon-DdXdUxP2.js";
2
- import { resolveComponent as b, openBlock as s, createElementBlock as a, createElementVNode as n, toDisplayString as i, createCommentVNode as k, Fragment as c, renderList as p, normalizeClass as h, createVNode as f, createTextVNode as d } from "vue";
1
+ import { P as m } from "./Icon-Z84h32lN.js";
2
+ import { resolveComponent as b, createElementBlock as s, openBlock as a, createElementVNode as n, createCommentVNode as k, toDisplayString as i, Fragment as c, renderList as p, normalizeClass as h, createVNode as f, createTextVNode as d } from "vue";
3
3
  import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { u as N, a as I } from "./plugins-DQVoaMd9.js";
5
5
  const y = {
@@ -59,14 +59,14 @@ const y = {
59
59
  }, J = ["href", "aria-label", "target", "rel"], K = { class: "pkt-footer__social-icons" }, M = ["href", "aria-label", "target", "rel"];
60
60
  function Q(r, o, e, u, g, W) {
61
61
  const _ = b("PktIcon");
62
- return s(), a("footer", T, [
62
+ return a(), s("footer", T, [
63
63
  n("div", L, [
64
64
  n("div", v, [
65
65
  n("div", x, [
66
66
  n("h2", j, i(e.columnOne.title), 1),
67
67
  n("ul", O, [
68
- e.columnOne.text ? (s(), a("li", P, i(e.columnOne.text), 1)) : k("", !0),
69
- (s(!0), a(c, null, p(e.columnOne.links, (t, l) => (s(), a("li", {
68
+ e.columnOne.text ? (a(), s("li", P, i(e.columnOne.text), 1)) : k("", !0),
69
+ (a(!0), s(c, null, p(e.columnOne.links, (t, l) => (a(), s("li", {
70
70
  class: "pkt-footer__list-item",
71
71
  key: `links-${l}`
72
72
  }, [
@@ -88,7 +88,7 @@ function Q(r, o, e, u, g, W) {
88
88
  n("div", A, [
89
89
  n("h2", C, i(e.columnTwo.title), 1),
90
90
  n("ul", F, [
91
- (s(!0), a(c, null, p(e.columnTwo.links, (t, l) => (s(), a("li", {
91
+ (a(!0), s(c, null, p(e.columnTwo.links, (t, l) => (a(), s("li", {
92
92
  class: "pkt-footer__list-item",
93
93
  key: `links-${l}`
94
94
  }, [
@@ -141,9 +141,9 @@ function Q(r, o, e, u, g, W) {
141
141
  ])
142
142
  ])
143
143
  ]),
144
- e.socialLinks ? (s(), a("div", G, [
145
- (s(!0), a(c, null, p(e.socialLinks, (t, l) => (s(), a(c, null, [
146
- t.language ? (s(), a("div", {
144
+ e.socialLinks ? (a(), s("div", G, [
145
+ (a(!0), s(c, null, p(e.socialLinks, (t, l) => (a(), s(c, null, [
146
+ t.language ? (a(), s("div", {
147
147
  key: `language-${l}`,
148
148
  class: "pkt-footer__social-language"
149
149
  }, [
@@ -156,8 +156,8 @@ function Q(r, o, e, u, g, W) {
156
156
  ])) : k("", !0)
157
157
  ], 64))), 256)),
158
158
  n("div", K, [
159
- (s(!0), a(c, null, p(e.socialLinks, (t, l) => (s(), a(c, null, [
160
- t.iconName ? (s(), a("a", {
159
+ (a(!0), s(c, null, p(e.socialLinks, (t, l) => (a(), s(c, null, [
160
+ t.iconName ? (a(), s("a", {
161
161
  key: `sociallinks-${l}`,
162
162
  href: t.href,
163
163
  "aria-label": `til ${t.iconName}`,
@@ -1,5 +1,5 @@
1
- import { P as _ } from "./Icon-DdXdUxP2.js";
2
- import { resolveComponent as k, openBlock as l, createElementBlock as i, createElementVNode as t, Fragment as m, renderList as c, normalizeClass as d, createVNode as a, createTextVNode as f, toDisplayString as g } from "vue";
1
+ import { P as _ } from "./Icon-Z84h32lN.js";
2
+ import { resolveComponent as k, createElementBlock as l, openBlock as i, createElementVNode as t, Fragment as m, renderList as c, normalizeClass as d, createVNode as a, createTextVNode as f, toDisplayString as g } from "vue";
3
3
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { u, a as w } from "./plugins-DQVoaMd9.js";
5
5
  const I = {
@@ -35,10 +35,10 @@ const I = {
35
35
  }, L = { class: "pkt-footer-simple__container" }, N = { class: "pkt-footer-simple__list" }, v = ["href", "target", "rel"], T = { class: "pkt-footer-simple__list-item" }, y = ["href", "target", "rel"], x = { class: "pkt-footer-simple__list-item" }, P = ["href", "target", "rel"];
36
36
  function j(r, n, e, q, B, C) {
37
37
  const s = k("PktIcon");
38
- return l(), i("footer", b, [
38
+ return i(), l("footer", b, [
39
39
  t("div", L, [
40
40
  t("ul", N, [
41
- (l(!0), i(m, null, c(e.links, (o, p) => (l(), i("li", {
41
+ (i(!0), l(m, null, c(e.links, (o, p) => (i(), l("li", {
42
42
  class: "pkt-footer-simple__list-item",
43
43
  key: `links-${p}`
44
44
  }, [
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("./Icon-BLNK24NN.cjs"),V=require("./Button-D2xQdpZo.cjs"),e=require("vue"),E=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B=require("./plugins-CMydO4oi.cjs"),b={name:"PktHeader",components:{PktIcon:f.PktIcon,PktButton:V.PktButton},data(){return{hidden:!1,userMenuOpen:!1,userMenuClickInside:!1,lastScrollPosition:0}},props:{logoLink:{type:[String,Function],required:!1,default:"https://www.oslo.kommune.no/"},serviceName:{type:String,required:!1},fixed:{type:Boolean,default:!0},scrollToHide:{type:Boolean,default:!0},user:{type:Object,required:!1},userMenu:{type:Array,required:!1},representing:{type:Object,required:!1},userOptions:{type:Array,required:!1},userMenuFooter:{type:Array,required:!1},canChangeRepresentation:{type:Boolean,default:!0},showMenuButton:{type:Boolean,default:!1},showLogOutButton:{type:Boolean,default:!1}},computed:{lastLoggedIn(){return typeof this.user.lastLoggedIn=="string"?this.user.lastLoggedIn:user!=null&&user.lastLoggedIn?new Date(this.user.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):""}},methods:{openUserMenu(){this.userMenuOpen=!this.userMenuOpen},clickOutside(l){var o;(o=this.$refs.userMenu)!=null&&o.contains(l.target)||(this.userMenuOpen=!1)},onScroll(){if(this.scrollToHide){const l=window.pageYOffset||document.documentElement.scrollTop;if(l<0||Math.abs(l-this.lastScrollPosition)<60)return;this.hidden=l>this.lastScrollPosition,this.lastScrollPosition=l}}},watch:{hidden(l){l&&(this.userMenuOpen=!1)}},created(){this.__handlerRef__=this.clickOutside.bind(this),document.body.addEventListener("click",this.__handlerRef__),window.addEventListener("scroll",this.onScroll)},unmounted(){document.body.removeEventListener("click",this.__handlerRef__),window.removeEventListener("scroll",this.onScroll)}},C={class:"pkt-header__logo"},v=["href"],M={key:2,class:"pkt-header__logo-service",translate:"no"},O={class:"pkt-header__actions"},w={class:"pkt-header__actions-row"},S={key:0},L=["aria-expanded"],x={key:0,class:"pkt-header__user-fullname pkt-btn__text",translate:"no"},P={key:1,class:"pkt-header__user-shortname pkt-btn__text",translate:"no"},T={id:"pktUserDropdown",class:"pkt-header__dropdown pkt-user-menu"},D={key:0},I={class:"pkt-user-menu__name",translate:"no"},q={key:0,class:"pkt-user-menu__last-logged-in"},F={key:1},R={class:"pkt-list"},H=["href"],U=["onClick"],j={key:2},z={class:"pkt-user-menu__name",translate:"no"},A={key:0,class:"pkt-user-menu__org-number"},Y={class:"pkt-list mt-size-16"},G={key:0,class:"pkt-list"},J=["href"],K={key:0},Q={key:3,class:"footer"},W={class:"pkt-list-horizontal bordered"},X=["href"],Z=["onClick"],$={key:2};function ee(l,o,t,te,a,i){var k,u,d,m,p,g,_,h;const r=e.resolveComponent("PktIcon"),c=e.resolveComponent("PktButton");return e.openBlock(),e.createElementBlock("header",{id:"pkt-header","aria-label":"Topp",class:e.normalizeClass({"pkt-header":!0,"pkt-header--fixed":t.fixed,"pkt-header--scroll-to-hide":t.scrollToHide,"pkt-header--hidden":a.hidden})},[e.createElementVNode("div",C,[typeof t.logoLink=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,"aria-label":"Tilbake til forside",class:"pkt-header__logo-link",href:t.logoLink},[e.createVNode(r,{name:"oslologo",class:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.31/logos/"})],8,v)):(e.openBlock(),e.createElementBlock("button",{key:1,"aria-label":"Tilbake til forside",class:"pkt-link-button pkt-link pkt-header__logo-link",onClick:o[0]||(o[0]=(...n)=>t.logoLink&&t.logoLink(...n))},[e.createVNode(r,{name:"oslologo",class:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.31/logos/"})])),t.serviceName?(e.openBlock(),e.createElementBlock("span",M,e.toDisplayString(t.serviceName),1)):e.createCommentVNode("",!0)]),e.createElementVNode("nav",O,[e.createElementVNode("ul",w,[t.showMenuButton?(e.openBlock(),e.createElementBlock("li",S,[e.createVNode(c,{class:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onOnClick:o[1]||(o[1]=n=>l.$emit("openMenu"))},{default:e.withCtx(()=>o[7]||(o[7]=[e.createTextVNode("Meny")])),_:1})])):e.createCommentVNode("",!0),t.user||t.representing?(e.openBlock(),e.createElementBlock("li",{key:1,class:e.normalizeClass(["pkt-header--has-dropdown",{"pkt-header--open-dropdown":a.userMenuOpen}]),ref:"userMenu"},[e.createElementVNode("button",{class:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button","aria-controls":"pktUserDropdown","aria-expanded":a.userMenuOpen,onClick:o[2]||(o[2]=(...n)=>i.openUserMenu&&i.openUserMenu(...n))},[e.createVNode(r,{name:"user",class:"pkt-btn__icon"}),(k=t.representing)!=null&&k.name||(u=t.user)!=null&&u.name?(e.openBlock(),e.createElementBlock("span",x,e.toDisplayString(((d=t.representing)==null?void 0:d.name)||((m=t.user)==null?void 0:m.name)),1)):e.createCommentVNode("",!0),(p=t.representing)!=null&&p.shortname||(g=t.user)!=null&&g.shortname?(e.openBlock(),e.createElementBlock("span",P,e.toDisplayString(((_=t.representing)==null?void 0:_.shortname)||((h=t.user)==null?void 0:h.shortname)),1)):e.createCommentVNode("",!0),e.createVNode(r,{name:"chevron-thin-down",class:"pkt-btn--closed"}),e.createVNode(r,{name:"chevron-thin-up",class:"pkt-btn--open"})],8,L),e.createElementVNode("ul",T,[t.user?(e.openBlock(),e.createElementBlock("li",D,[o[9]||(o[9]=e.createElementVNode("div",{class:"pkt-user-menu__label"},"Pålogget som",-1)),e.createElementVNode("div",I,e.toDisplayString(t.user.name),1),t.user.lastLoggedIn?(e.openBlock(),e.createElementBlock("div",q,[o[8]||(o[8]=e.createTextVNode(" Sist pålogget: ")),e.createElementVNode("time",null,e.toDisplayString(i.lastLoggedIn),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.userMenu?(e.openBlock(),e.createElementBlock("li",F,[e.createElementVNode("ul",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.userMenu,(n,s)=>(e.openBlock(),e.createElementBlock("li",{key:`userMenu-${s}`},[typeof n.target=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.target,class:"pkt-link"},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)],8,H)):(e.openBlock(),e.createElementBlock("button",{key:1,class:"pkt-link-button pkt-link",onClick:n.target},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)],8,U))]))),128))])])):e.createCommentVNode("",!0),t.representing||t.canChangeRepresentation?(e.openBlock(),e.createElementBlock("li",j,[t.representing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o[10]||(o[10]=e.createElementVNode("div",{class:"pkt-user-menu__label"},"Representerer",-1)),e.createElementVNode("div",z,e.toDisplayString(t.representing.name),1),t.representing.orgNumber?(e.openBlock(),e.createElementBlock("div",A," Org.nr. "+e.toDisplayString(t.representing.orgNumber),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("ul",Y,[e.createElementVNode("li",null,[t.canChangeRepresentation?(e.openBlock(),e.createElementBlock("button",{key:0,class:"pkt-link-button pkt-link",onClick:o[3]||(o[3]=n=>l.$emit("changeRepresentation"))},[e.createVNode(r,{name:"cogwheel",class:"pkt-link__icon"}),o[11]||(o[11]=e.createTextVNode(" Endre organisasjon "))])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0),e.createElementVNode("li",null,[t.userOptions||!t.showLogOutButton?(e.openBlock(),e.createElementBlock("ul",G,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.userOptions,(n,s)=>(e.openBlock(),e.createElementBlock("li",{key:`userOptions-${s}`},[typeof n.target=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.target,class:"pkt-link"},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)],8,J)):(e.openBlock(),e.createElementBlock("button",{key:1,class:"pkt-link-button pkt-link",onClick:o[4]||(o[4]=ne=>l.$emit("logOut"))},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)]))]))),128)),t.showLogOutButton?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",K,[e.createElementVNode("button",{class:"pkt-link-button pkt-link",onClick:o[5]||(o[5]=n=>l.$emit("logOut"))},[e.createVNode(r,{name:"exit",class:"pkt-link__icon"}),o[12]||(o[12]=e.createTextVNode(" Logg ut "))])]))])):e.createCommentVNode("",!0)]),t.userMenuFooter?(e.openBlock(),e.createElementBlock("li",Q,[e.createElementVNode("ul",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.userMenuFooter,(n,s)=>(e.openBlock(),e.createElementBlock("li",{key:`userMenuFooter-${s}`},[typeof n.target=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.target,class:"pkt-link"},e.toDisplayString(n.title),9,X)):(e.openBlock(),e.createElementBlock("button",{key:1,class:"pkt-link-button pkt-link",onClick:n.target},e.toDisplayString(n.title),9,Z))]))),128))])])):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0),t.showLogOutButton?(e.openBlock(),e.createElementBlock("li",$,[e.createVNode(c,{class:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",onOnClick:o[6]||(o[6]=n=>l.$emit("logOut")),skin:"secondary",variant:"icon-right"},{default:e.withCtx(()=>o[13]||(o[13]=[e.createTextVNode(" Logg ut ")])),_:1})])):e.createCommentVNode("",!0)])])],2)}const y=E._export_sfc(b,[["render",ee]]),N={install(l){B.registerComponent(l,y)}};B.use(N);exports.PktHeader=y;exports.default=N;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("./Icon-BLNK24NN.cjs"),V=require("./Button-D2xQdpZo.cjs"),e=require("vue"),E=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),B=require("./plugins-CMydO4oi.cjs"),b={name:"PktHeader",components:{PktIcon:f.PktIcon,PktButton:V.PktButton},data(){return{hidden:!1,userMenuOpen:!1,userMenuClickInside:!1,lastScrollPosition:0}},props:{logoLink:{type:[String,Function],required:!1,default:"https://www.oslo.kommune.no/"},serviceName:{type:String,required:!1},fixed:{type:Boolean,default:!0},scrollToHide:{type:Boolean,default:!0},user:{type:Object,required:!1},userMenu:{type:Array,required:!1},representing:{type:Object,required:!1},userOptions:{type:Array,required:!1},userMenuFooter:{type:Array,required:!1},canChangeRepresentation:{type:Boolean,default:!0},showMenuButton:{type:Boolean,default:!1},showLogOutButton:{type:Boolean,default:!1}},computed:{lastLoggedIn(){return typeof this.user.lastLoggedIn=="string"?this.user.lastLoggedIn:user!=null&&user.lastLoggedIn?new Date(this.user.lastLoggedIn).toLocaleString("nb-NO",{year:"numeric",month:"long",day:"numeric"}):""}},methods:{openUserMenu(){this.userMenuOpen=!this.userMenuOpen},clickOutside(l){var o;(o=this.$refs.userMenu)!=null&&o.contains(l.target)||(this.userMenuOpen=!1)},onScroll(){if(this.scrollToHide){const l=window.pageYOffset||document.documentElement.scrollTop;if(l<0||Math.abs(l-this.lastScrollPosition)<60)return;this.hidden=l>this.lastScrollPosition,this.lastScrollPosition=l}}},watch:{hidden(l){l&&(this.userMenuOpen=!1)}},created(){this.__handlerRef__=this.clickOutside.bind(this),document.body.addEventListener("click",this.__handlerRef__),window.addEventListener("scroll",this.onScroll)},unmounted(){document.body.removeEventListener("click",this.__handlerRef__),window.removeEventListener("scroll",this.onScroll)}},C={class:"pkt-header__logo"},v=["href"],M={key:2,class:"pkt-header__logo-service",translate:"no"},O={class:"pkt-header__actions"},w={class:"pkt-header__actions-row"},S={key:0},L=["aria-expanded"],x={key:0,class:"pkt-header__user-fullname pkt-btn__text",translate:"no"},P={key:1,class:"pkt-header__user-shortname pkt-btn__text",translate:"no"},T={id:"pktUserDropdown",class:"pkt-header__dropdown pkt-user-menu"},D={key:0},I={class:"pkt-user-menu__name",translate:"no"},q={key:0,class:"pkt-user-menu__last-logged-in"},F={key:1},R={class:"pkt-list"},H=["href"],U=["onClick"],j={key:2},z={class:"pkt-user-menu__name",translate:"no"},A={key:0,class:"pkt-user-menu__org-number"},Y={class:"pkt-list mt-size-16"},G={key:0,class:"pkt-list"},J=["href"],K={key:0},Q={key:3,class:"footer"},W={class:"pkt-list-horizontal bordered"},X=["href"],Z=["onClick"],$={key:2};function ee(l,o,t,te,a,i){var k,u,d,m,p,g,_,h;const r=e.resolveComponent("PktIcon"),c=e.resolveComponent("PktButton");return e.openBlock(),e.createElementBlock("header",{id:"pkt-header","aria-label":"Topp",class:e.normalizeClass({"pkt-header":!0,"pkt-header--fixed":t.fixed,"pkt-header--scroll-to-hide":t.scrollToHide,"pkt-header--hidden":a.hidden})},[e.createElementVNode("div",C,[typeof t.logoLink=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,"aria-label":"Tilbake til forside",class:"pkt-header__logo-link",href:t.logoLink},[e.createVNode(r,{name:"oslologo",class:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.32/logos/"})],8,v)):(e.openBlock(),e.createElementBlock("button",{key:1,"aria-label":"Tilbake til forside",class:"pkt-link-button pkt-link pkt-header__logo-link",onClick:o[0]||(o[0]=(...n)=>t.logoLink&&t.logoLink(...n))},[e.createVNode(r,{name:"oslologo",class:"pkt-header__logo-svg","aria-hidden":"true",path:"https://punkt-cdn.oslo.kommune.no/12.32/logos/"})])),t.serviceName?(e.openBlock(),e.createElementBlock("span",M,e.toDisplayString(t.serviceName),1)):e.createCommentVNode("",!0)]),e.createElementVNode("nav",O,[e.createElementVNode("ul",w,[t.showMenuButton?(e.openBlock(),e.createElementBlock("li",S,[e.createVNode(c,{class:"pkt-header__menu-btn",skin:"secondary",variant:"icon-right",iconName:"menu",onOnClick:o[1]||(o[1]=n=>l.$emit("openMenu"))},{default:e.withCtx(()=>o[7]||(o[7]=[e.createTextVNode("Meny")])),_:1})])):e.createCommentVNode("",!0),t.user||t.representing?(e.openBlock(),e.createElementBlock("li",{key:1,class:e.normalizeClass(["pkt-header--has-dropdown",{"pkt-header--open-dropdown":a.userMenuOpen}]),ref:"userMenu"},[e.createElementVNode("button",{class:"pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",type:"button","aria-controls":"pktUserDropdown","aria-expanded":a.userMenuOpen,onClick:o[2]||(o[2]=(...n)=>i.openUserMenu&&i.openUserMenu(...n))},[e.createVNode(r,{name:"user",class:"pkt-btn__icon"}),(k=t.representing)!=null&&k.name||(u=t.user)!=null&&u.name?(e.openBlock(),e.createElementBlock("span",x,e.toDisplayString(((d=t.representing)==null?void 0:d.name)||((m=t.user)==null?void 0:m.name)),1)):e.createCommentVNode("",!0),(p=t.representing)!=null&&p.shortname||(g=t.user)!=null&&g.shortname?(e.openBlock(),e.createElementBlock("span",P,e.toDisplayString(((_=t.representing)==null?void 0:_.shortname)||((h=t.user)==null?void 0:h.shortname)),1)):e.createCommentVNode("",!0),e.createVNode(r,{name:"chevron-thin-down",class:"pkt-btn--closed"}),e.createVNode(r,{name:"chevron-thin-up",class:"pkt-btn--open"})],8,L),e.createElementVNode("ul",T,[t.user?(e.openBlock(),e.createElementBlock("li",D,[o[9]||(o[9]=e.createElementVNode("div",{class:"pkt-user-menu__label"},"Pålogget som",-1)),e.createElementVNode("div",I,e.toDisplayString(t.user.name),1),t.user.lastLoggedIn?(e.openBlock(),e.createElementBlock("div",q,[o[8]||(o[8]=e.createTextVNode(" Sist pålogget: ")),e.createElementVNode("time",null,e.toDisplayString(i.lastLoggedIn),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.userMenu?(e.openBlock(),e.createElementBlock("li",F,[e.createElementVNode("ul",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.userMenu,(n,s)=>(e.openBlock(),e.createElementBlock("li",{key:`userMenu-${s}`},[typeof n.target=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.target,class:"pkt-link"},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)],8,H)):(e.openBlock(),e.createElementBlock("button",{key:1,class:"pkt-link-button pkt-link",onClick:n.target},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)],8,U))]))),128))])])):e.createCommentVNode("",!0),t.representing||t.canChangeRepresentation?(e.openBlock(),e.createElementBlock("li",j,[t.representing?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o[10]||(o[10]=e.createElementVNode("div",{class:"pkt-user-menu__label"},"Representerer",-1)),e.createElementVNode("div",z,e.toDisplayString(t.representing.name),1),t.representing.orgNumber?(e.openBlock(),e.createElementBlock("div",A," Org.nr. "+e.toDisplayString(t.representing.orgNumber),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("ul",Y,[e.createElementVNode("li",null,[t.canChangeRepresentation?(e.openBlock(),e.createElementBlock("button",{key:0,class:"pkt-link-button pkt-link",onClick:o[3]||(o[3]=n=>l.$emit("changeRepresentation"))},[e.createVNode(r,{name:"cogwheel",class:"pkt-link__icon"}),o[11]||(o[11]=e.createTextVNode(" Endre organisasjon "))])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0),e.createElementVNode("li",null,[t.userOptions||!t.showLogOutButton?(e.openBlock(),e.createElementBlock("ul",G,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.userOptions,(n,s)=>(e.openBlock(),e.createElementBlock("li",{key:`userOptions-${s}`},[typeof n.target=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.target,class:"pkt-link"},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)],8,J)):(e.openBlock(),e.createElementBlock("button",{key:1,class:"pkt-link-button pkt-link",onClick:o[4]||(o[4]=ne=>l.$emit("logOut"))},[n.iconName?(e.openBlock(),e.createBlock(r,{key:0,name:n.iconName,class:"pkt-link__icon"},null,8,["name"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(n.title),1)]))]))),128)),t.showLogOutButton?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("li",K,[e.createElementVNode("button",{class:"pkt-link-button pkt-link",onClick:o[5]||(o[5]=n=>l.$emit("logOut"))},[e.createVNode(r,{name:"exit",class:"pkt-link__icon"}),o[12]||(o[12]=e.createTextVNode(" Logg ut "))])]))])):e.createCommentVNode("",!0)]),t.userMenuFooter?(e.openBlock(),e.createElementBlock("li",Q,[e.createElementVNode("ul",W,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.userMenuFooter,(n,s)=>(e.openBlock(),e.createElementBlock("li",{key:`userMenuFooter-${s}`},[typeof n.target=="string"?(e.openBlock(),e.createElementBlock("a",{key:0,href:n.target,class:"pkt-link"},e.toDisplayString(n.title),9,X)):(e.openBlock(),e.createElementBlock("button",{key:1,class:"pkt-link-button pkt-link",onClick:n.target},e.toDisplayString(n.title),9,Z))]))),128))])])):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0),t.showLogOutButton?(e.openBlock(),e.createElementBlock("li",$,[e.createVNode(c,{class:"pkt-header__user-btn pkt-header__user-btn-logout",iconName:"exit",onOnClick:o[6]||(o[6]=n=>l.$emit("logOut")),skin:"secondary",variant:"icon-right"},{default:e.withCtx(()=>o[13]||(o[13]=[e.createTextVNode(" Logg ut ")])),_:1})])):e.createCommentVNode("",!0)])])],2)}const y=E._export_sfc(b,[["render",ee]]),N={install(l){B.registerComponent(l,y)}};B.use(N);exports.PktHeader=y;exports.default=N;
@@ -1,6 +1,6 @@
1
- import { P as S } from "./Icon-DdXdUxP2.js";
2
- import { P as I } from "./Button-BlX9N6dr.js";
3
- import { resolveComponent as N, openBlock as t, createElementBlock as o, normalizeClass as B, createElementVNode as i, createVNode as d, toDisplayString as a, createCommentVNode as r, withCtx as P, createTextVNode as k, Fragment as _, renderList as p, createBlock as h } from "vue";
1
+ import { P as S } from "./Icon-Z84h32lN.js";
2
+ import { P as I } from "./Button-Bm6X0lD8.js";
3
+ import { resolveComponent as N, createElementBlock as o, openBlock as t, normalizeClass as B, createElementVNode as i, createCommentVNode as r, createVNode as d, toDisplayString as a, withCtx as P, createTextVNode as k, Fragment as _, renderList as p, createBlock as h } from "vue";
4
4
  import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { u as E, a as R } from "./plugins-DQVoaMd9.js";
6
6
  const T = {
@@ -168,7 +168,7 @@ function ke(l, s, e, he, g, m) {
168
168
  name: "oslologo",
169
169
  class: "pkt-header__logo-svg",
170
170
  "aria-hidden": "true",
171
- path: "https://punkt-cdn.oslo.kommune.no/12.31/logos/"
171
+ path: "https://punkt-cdn.oslo.kommune.no/12.32/logos/"
172
172
  })
173
173
  ], 8, F)) : (t(), o("button", {
174
174
  key: 1,
@@ -180,7 +180,7 @@ function ke(l, s, e, he, g, m) {
180
180
  name: "oslologo",
181
181
  class: "pkt-header__logo-svg",
182
182
  "aria-hidden": "true",
183
- path: "https://punkt-cdn.oslo.kommune.no/12.31/logos/"
183
+ path: "https://punkt-cdn.oslo.kommune.no/12.32/logos/"
184
184
  })
185
185
  ])),
186
186
  e.serviceName ? (t(), o("span", H, a(e.serviceName), 1)) : r("", !0)
@@ -1,4 +1,4 @@
1
- import { P as e } from "./Helptext-x_AJJvxR.js";
1
+ import { P as e } from "./Helptext-BoMRhm0N.js";
2
2
  import { u as o, a as s } from "./plugins-DQVoaMd9.js";
3
3
  const a = {
4
4
  install(t) {
@@ -1,4 +1,4 @@
1
- import { P as t } from "./Icon-DdXdUxP2.js";
1
+ import { P as t } from "./Icon-Z84h32lN.js";
2
2
  import { u as s, a } from "./plugins-DQVoaMd9.js";
3
3
  const r = {
4
4
  install(o) {
@@ -40,12 +40,12 @@ import A from "./punkt-vue-textinput.js";
40
40
  import { PktTextinput as zo } from "./punkt-vue-textinput.js";
41
41
  import { u as C, r as I } from "./plugins-DQVoaMd9.js";
42
42
  import { PktStep as qo, PktStepper as Eo } from "./punkt-vue-stepper.js";
43
- import { P as Jo } from "./Alert-R-eAFCdz.js";
44
- import { P as Qo } from "./Button-BlX9N6dr.js";
45
- import { P as Vo } from "./Helptext-x_AJJvxR.js";
46
- import { P as Yo } from "./Icon-DdXdUxP2.js";
47
- import { P as or } from "./InputWrapper-CXY8O_cJ.js";
48
- import { T as tr } from "./Tag-BpTGJPw9.js";
43
+ import { P as Jo } from "./Alert-DHRKJRVL.js";
44
+ import { P as Qo } from "./Button-Bm6X0lD8.js";
45
+ import { P as Vo } from "./Helptext-BoMRhm0N.js";
46
+ import { P as Yo } from "./Icon-Z84h32lN.js";
47
+ import { P as or } from "./InputWrapper-D2jCo3f8.js";
48
+ import { T as tr } from "./Tag-CK-y1m3h.js";
49
49
  const t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50
50
  __proto__: null,
51
51
  Accordion: r,
@@ -1,4 +1,4 @@
1
- import { P as r } from "./InputWrapper-CXY8O_cJ.js";
1
+ import { P as r } from "./InputWrapper-D2jCo3f8.js";
2
2
  import { u as a, a as o } from "./plugins-DQVoaMd9.js";
3
3
  const s = {
4
4
  install(t) {
@@ -1,5 +1,5 @@
1
- import { P as l } from "./Icon-DdXdUxP2.js";
2
- import { resolveComponent as o, openBlock as i, createElementBlock as s, normalizeClass as n, createVNode as c, createElementVNode as a, toDisplayString as d, renderSlot as k } from "vue";
1
+ import { P as l } from "./Icon-Z84h32lN.js";
2
+ import { resolveComponent as o, createElementBlock as i, openBlock as s, normalizeClass as n, createVNode as c, createElementVNode as a, toDisplayString as d, renderSlot as k } from "vue";
3
3
  import { _ as f } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { u as m, a as p } from "./plugins-DQVoaMd9.js";
5
5
  const u = {
@@ -40,7 +40,7 @@ const u = {
40
40
  }, _ = ["href", "target", "rel"], g = { class: "pkt-linkcard__text" };
41
41
  function y(t, N, e, P, x, I) {
42
42
  const r = o("PktIcon");
43
- return i(), s("a", {
43
+ return s(), i("a", {
44
44
  href: e.href,
45
45
  class: n(["pkt-linkcard pkt-link", e.skin ? `pkt-linkcard--${this.skin}` : "normal"]),
46
46
  target: e.openInNewTab ? "_blank" : "_self",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./Icon-BLNK24NN.cjs"),s=require("./plugins-CMydO4oi.cjs"),c=["aria-busy"],m={key:0},r={__name:"Loader",props:{message:String,size:{type:String,default:"medium",validator:a=>["small","medium","large"].includes(a)},inline:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!0},variant:{type:String,default:"rainbow",validator:a=>["blue","rainbow","shapes"].includes(a)},delay:{type:Number,default:0}},setup(a){const n=a,u=t=>t==="shapes"?"loader":t==="blue"?"spinner-blue":"spinner",{delay:l}=e.toRefs(n);let o=e.ref(!(l.value>0));return l.value>0&&setTimeout(()=>{o.value=!0},l.value),(t,k)=>(e.openBlock(),e.createElementBlock("div",{role:"status","aria-live":"polite","aria-busy":a.isLoading,class:e.normalizeClass(`pkt-loader--${a.inline?"inline":"box"}`)},[a.isLoading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(o)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(`pkt-loader pkt-loader--${n.size}`),"data-testid":"pkt-loader"},[e.createVNode(d.PktIcon,{name:u(a.variant),"aria-label":"loading",path:"https://punkt-cdn.oslo.kommune.no/12.31/animations/",class:e.normalizeClass(`pkt-loader__svg pkt-loader__${a.variant}`)},null,8,["name","class"]),a.message?(e.openBlock(),e.createElementBlock("p",m,e.toDisplayString(a.message),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64)):e.renderSlot(t.$slots,"default",{key:1})],10,c))}},i={install(a){s.registerComponent(a,r)}};s.use(i);exports.PktLoader=r;exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("./Icon-BLNK24NN.cjs"),s=require("./plugins-CMydO4oi.cjs"),c=["aria-busy"],m={key:0},r={__name:"Loader",props:{message:String,size:{type:String,default:"medium",validator:a=>["small","medium","large"].includes(a)},inline:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!0},variant:{type:String,default:"rainbow",validator:a=>["blue","rainbow","shapes"].includes(a)},delay:{type:Number,default:0}},setup(a){const n=a,u=t=>t==="shapes"?"loader":t==="blue"?"spinner-blue":"spinner",{delay:l}=e.toRefs(n);let o=e.ref(!(l.value>0));return l.value>0&&setTimeout(()=>{o.value=!0},l.value),(t,k)=>(e.openBlock(),e.createElementBlock("div",{role:"status","aria-live":"polite","aria-busy":a.isLoading,class:e.normalizeClass(`pkt-loader--${a.inline?"inline":"box"}`)},[a.isLoading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.unref(o)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(`pkt-loader pkt-loader--${n.size}`),"data-testid":"pkt-loader"},[e.createVNode(d.PktIcon,{name:u(a.variant),"aria-label":"loading",path:"https://punkt-cdn.oslo.kommune.no/12.32/animations/",class:e.normalizeClass(`pkt-loader__svg pkt-loader__${a.variant}`)},null,8,["name","class"]),a.message?(e.openBlock(),e.createElementBlock("p",m,e.toDisplayString(a.message),1)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64)):e.renderSlot(t.$slots,"default",{key:1})],10,c))}},i={install(a){s.registerComponent(a,r)}};s.use(i);exports.PktLoader=r;exports.default=i;
@@ -1,5 +1,5 @@
1
- import { toRefs as u, ref as m, openBlock as t, createElementBlock as l, normalizeClass as n, Fragment as c, unref as p, createVNode as g, toDisplayString as f, createCommentVNode as r, renderSlot as k } from "vue";
2
- import { P as y } from "./Icon-DdXdUxP2.js";
1
+ import { toRefs as u, ref as m, createElementBlock as t, openBlock as l, normalizeClass as n, renderSlot as c, Fragment as p, createCommentVNode as r, unref as g, createVNode as f, toDisplayString as k } from "vue";
2
+ import { P as y } from "./Icon-Z84h32lN.js";
3
3
  import { u as v, a as b } from "./plugins-DQVoaMd9.js";
4
4
  const h = ["aria-busy"], L = { key: 0 }, S = {
5
5
  __name: "Loader",
@@ -33,27 +33,27 @@ const h = ["aria-busy"], L = { key: 0 }, S = {
33
33
  let i = m(!(s.value > 0));
34
34
  return s.value > 0 && setTimeout(() => {
35
35
  i.value = !0;
36
- }, s.value), (a, P) => (t(), l("div", {
36
+ }, s.value), (a, P) => (l(), t("div", {
37
37
  role: "status",
38
38
  "aria-live": "polite",
39
39
  "aria-busy": e.isLoading,
40
40
  class: n(`pkt-loader--${e.inline ? "inline" : "box"}`)
41
41
  }, [
42
- e.isLoading ? (t(), l(c, { key: 0 }, [
43
- p(i) ? (t(), l("div", {
42
+ e.isLoading ? (l(), t(p, { key: 0 }, [
43
+ g(i) ? (l(), t("div", {
44
44
  key: 0,
45
45
  class: n(`pkt-loader pkt-loader--${o.size}`),
46
46
  "data-testid": "pkt-loader"
47
47
  }, [
48
- g(y, {
48
+ f(y, {
49
49
  name: d(e.variant),
50
50
  "aria-label": "loading",
51
- path: "https://punkt-cdn.oslo.kommune.no/12.31/animations/",
51
+ path: "https://punkt-cdn.oslo.kommune.no/12.32/animations/",
52
52
  class: n(`pkt-loader__svg pkt-loader__${e.variant}`)
53
53
  }, null, 8, ["name", "class"]),
54
- e.message ? (t(), l("p", L, f(e.message), 1)) : r("", !0)
54
+ e.message ? (l(), t("p", L, k(e.message), 1)) : r("", !0)
55
55
  ], 2)) : r("", !0)
56
- ], 64)) : k(a.$slots, "default", { key: 1 })
56
+ ], 64)) : c(a.$slots, "default", { key: 1 })
57
57
  ], 10, h));
58
58
  }
59
59
  }, B = {
@@ -1,5 +1,5 @@
1
1
  import "@oslokommune/punkt-elements/dist/pkt-messagebox";
2
- import { openBlock as o, createElementBlock as a, renderSlot as s } from "vue";
2
+ import { createElementBlock as o, openBlock as a, renderSlot as s } from "vue";
3
3
  import { _ as l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { u as n, a as c } from "./plugins-DQVoaMd9.js";
5
5
  const i = {
@@ -27,7 +27,7 @@ const i = {
27
27
  }
28
28
  }, r = ["skin", "title", "compact", "closable"];
29
29
  function m(e, u, t, d, b, g) {
30
- return o(), a("pkt-messagebox", {
30
+ return a(), o("pkt-messagebox", {
31
31
  skin: t.skin,
32
32
  title: t.title,
33
33
  compact: t.compact,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),v=require("./plugins-CMydO4oi.cjs");var l=[];for(var o=0;o<256;++o)l.push((o+256).toString(16).slice(1));function M(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}var u,P=new Uint8Array(16);function U(){if(!u&&(u=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!u))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(P)}var V=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const p={randomUUID:V};function N(e,t,n){if(p.randomUUID&&!t&&!e)return p.randomUUID();e=e||{};var r=e.random||(e.rng||U)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,M(r)}const B=["id"],R=["id"],T=["role","aria-valuemin","aria-valuemax","aria-valuenow","aria-labelledby","aria-label","aria-valuetext"],m={__name:"Progressbar",props:{valueCurrent:{type:Number,required:!0},valueMax:{type:Number,default:100},valueMin:{type:Number,default:0},skin:{type:String,default:"dark-blue",validator:e=>["dark-blue","light-blue","green","red"].includes(e)},title:{type:String},titlePosition:{type:String,default:"left",validator:e=>["left","center"].includes(e)},statusType:{type:String,default:"none",validator:e=>["none","percentage","fraction"].includes(e)},statusPlacement:{type:String,default:"following",validator:e=>["center","left","following"].includes(e)},id:{type:String},ariaLabel:{type:String},ariaLabelledby:{type:String},ariaValueText:{type:String},role:{type:String,default:"progressbar",validator:e=>["progressbar","meter"].includes(e)},className:{type:String}},setup(e){const t=e,n=a.ref(null),r=a.ref(0);a.onMounted(()=>{n.value&&(r.value=n.value.getBoundingClientRect().width)}),a.watch(()=>t.valueCurrent,(c,d)=>{c!==d&&n.value&&(r.value=n.value.getBoundingClientRect().width)});const b=a.computed(()=>t.valueMax-t.valueMin),y=a.computed(()=>t.valueCurrent/b.value*100),i=a.computed(()=>t.valueMax!==100||t.valueMin!==0?Math.round(y.value):t.valueCurrent),k=a.computed(()=>`${t.valueCurrent} av ${t.valueMax}`),S=a.computed(()=>t.statusType!=="none"&&t.role==="progressbar"),s=a.computed(()=>t.id||N()),C=a.computed(()=>t.ariaLabelledby||t.title&&`${s.value}-title`),x=a.computed(()=>`pkt-progressbar__bar pkt-progressbar__bar--${t.skin}`),f=a.computed(()=>({"pkt-progressbar__title":!0,"pkt-progressbar__title-center":t.titlePosition==="center"})),h=a.computed(()=>({"pkt-progressbar__status":!0,"pkt-progressbar__status--center":t.statusPlacement==="center"})),_=a.computed(()=>({"pkt-progressbar__status-placement--following":t.statusPlacement==="following","pkt-progressbar__status-placement--center":t.statusPlacement==="center","pkt-progressbar__status-placement--left":t.statusPlacement==="left"})),w=a.computed(()=>({"--pkt-progress-label-width":`${r.value}px`,"--pkt-progress-width":`${i.value}%`}));return(c,d)=>(a.openBlock(),a.createElementBlock("div",{id:s.value,class:a.normalizeClass(["pkt-progressbar__container",e.className]),style:a.normalizeStyle(w.value)},[e.title?(a.openBlock(),a.createElementBlock("p",{key:0,id:`${s.value}-title`,class:a.normalizeClass(f.value)},a.toDisplayString(e.title),11,R)):a.createCommentVNode("",!0),a.createElementVNode("div",{role:e.role,class:"pkt-progressbar__bar-wrapper","aria-valuemin":e.valueMin,"aria-valuemax":e.valueMax,"aria-valuenow":e.valueCurrent,"aria-labelledby":C.value,"aria-label":e.ariaLabel,"aria-valuetext":e.ariaValueText},[a.createElementVNode("div",{class:a.normalizeClass(x.value)},null,2)],8,T),S.value?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(h.value)},[a.createElementVNode("span",{class:a.normalizeClass(_.value),ref_key:"labelRef",ref:n},a.toDisplayString(e.statusType==="percentage"?`${i.value}%`:k.value),3)],2)):a.createCommentVNode("",!0)],14,B))}},g={install(e){v.registerComponent(e,m)}};v.use(g);exports.PktProgressbar=m;exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue"),v=require("./plugins-CMydO4oi.cjs");var l=[];for(var o=0;o<256;++o)l.push((o+256).toString(16).slice(1));function M(e,t=0){return(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase()}var u,P=new Uint8Array(16);function U(){if(!u&&(u=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!u))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return u(P)}var V=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const p={randomUUID:V};function N(e,t,n){if(p.randomUUID&&!e)return p.randomUUID();e=e||{};var r=e.random||(e.rng||U)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,M(r)}const B=["id"],R=["id"],T=["role","aria-valuemin","aria-valuemax","aria-valuenow","aria-labelledby","aria-label","aria-valuetext"],m={__name:"Progressbar",props:{valueCurrent:{type:Number,required:!0},valueMax:{type:Number,default:100},valueMin:{type:Number,default:0},skin:{type:String,default:"dark-blue",validator:e=>["dark-blue","light-blue","green","red"].includes(e)},title:{type:String},titlePosition:{type:String,default:"left",validator:e=>["left","center"].includes(e)},statusType:{type:String,default:"none",validator:e=>["none","percentage","fraction"].includes(e)},statusPlacement:{type:String,default:"following",validator:e=>["center","left","following"].includes(e)},id:{type:String},ariaLabel:{type:String},ariaLabelledby:{type:String},ariaValueText:{type:String},role:{type:String,default:"progressbar",validator:e=>["progressbar","meter"].includes(e)},className:{type:String}},setup(e){const t=e,n=a.ref(null),r=a.ref(0);a.onMounted(()=>{n.value&&(r.value=n.value.getBoundingClientRect().width)}),a.watch(()=>t.valueCurrent,(c,d)=>{c!==d&&n.value&&(r.value=n.value.getBoundingClientRect().width)});const b=a.computed(()=>t.valueMax-t.valueMin),y=a.computed(()=>t.valueCurrent/b.value*100),i=a.computed(()=>t.valueMax!==100||t.valueMin!==0?Math.round(y.value):t.valueCurrent),k=a.computed(()=>`${t.valueCurrent} av ${t.valueMax}`),S=a.computed(()=>t.statusType!=="none"&&t.role==="progressbar"),s=a.computed(()=>t.id||N()),C=a.computed(()=>t.ariaLabelledby||t.title&&`${s.value}-title`),x=a.computed(()=>`pkt-progressbar__bar pkt-progressbar__bar--${t.skin}`),f=a.computed(()=>({"pkt-progressbar__title":!0,"pkt-progressbar__title-center":t.titlePosition==="center"})),h=a.computed(()=>({"pkt-progressbar__status":!0,"pkt-progressbar__status--center":t.statusPlacement==="center"})),_=a.computed(()=>({"pkt-progressbar__status-placement--following":t.statusPlacement==="following","pkt-progressbar__status-placement--center":t.statusPlacement==="center","pkt-progressbar__status-placement--left":t.statusPlacement==="left"})),w=a.computed(()=>({"--pkt-progress-label-width":`${r.value}px`,"--pkt-progress-width":`${i.value}%`}));return(c,d)=>(a.openBlock(),a.createElementBlock("div",{id:s.value,class:a.normalizeClass(["pkt-progressbar__container",e.className]),style:a.normalizeStyle(w.value)},[e.title?(a.openBlock(),a.createElementBlock("p",{key:0,id:`${s.value}-title`,class:a.normalizeClass(f.value)},a.toDisplayString(e.title),11,R)):a.createCommentVNode("",!0),a.createElementVNode("div",{role:e.role,class:"pkt-progressbar__bar-wrapper","aria-valuemin":e.valueMin,"aria-valuemax":e.valueMax,"aria-valuenow":e.valueCurrent,"aria-labelledby":C.value,"aria-label":e.ariaLabel,"aria-valuetext":e.ariaValueText},[a.createElementVNode("div",{class:a.normalizeClass(x.value)},null,2)],8,T),S.value?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(h.value)},[a.createElementVNode("span",{class:a.normalizeClass(_.value),ref_key:"labelRef",ref:n},a.toDisplayString(e.statusType==="percentage"?`${i.value}%`:k.value),3)],2)):a.createCommentVNode("",!0)],14,B))}},g={install(e){v.registerComponent(e,m)}};v.use(g);exports.PktProgressbar=m;exports.default=g;
@@ -1,4 +1,4 @@
1
- import { ref as m, onMounted as V, watch as $, computed as r, openBlock as o, createElementBlock as c, normalizeClass as s, normalizeStyle as N, toDisplayString as y, createCommentVNode as k, createElementVNode as d } from "vue";
1
+ import { ref as m, onMounted as V, watch as $, computed as r, createElementBlock as o, openBlock as c, normalizeStyle as N, normalizeClass as s, createCommentVNode as y, createElementVNode as d, toDisplayString as k } from "vue";
2
2
  import { u as T, a as D } from "./plugins-DQVoaMd9.js";
3
3
  var a = [];
4
4
  for (var p = 0; p < 256; ++p)
@@ -17,7 +17,7 @@ const x = {
17
17
  randomUUID: E
18
18
  };
19
19
  function z(e, t, n) {
20
- if (x.randomUUID && !t && !e)
20
+ if (x.randomUUID && !e)
21
21
  return x.randomUUID();
22
22
  e = e || {};
23
23
  var l = e.random || (e.rng || B)();
@@ -108,16 +108,16 @@ const A = ["id"], j = ["id"], q = ["role", "aria-valuemin", "aria-valuemax", "ar
108
108
  "--pkt-progress-label-width": `${l.value}px`,
109
109
  "--pkt-progress-width": `${v.value}%`
110
110
  }));
111
- return (g, b) => (o(), c("div", {
111
+ return (g, b) => (c(), o("div", {
112
112
  id: i.value,
113
113
  class: s(["pkt-progressbar__container", e.className]),
114
114
  style: N(R.value)
115
115
  }, [
116
- e.title ? (o(), c("p", {
116
+ e.title ? (c(), o("p", {
117
117
  key: 0,
118
118
  id: `${i.value}-title`,
119
119
  class: s(P.value)
120
- }, y(e.title), 11, j)) : k("", !0),
120
+ }, k(e.title), 11, j)) : y("", !0),
121
121
  d("div", {
122
122
  role: e.role,
123
123
  class: "pkt-progressbar__bar-wrapper",
@@ -132,7 +132,7 @@ const A = ["id"], j = ["id"], q = ["role", "aria-valuemin", "aria-valuemax", "ar
132
132
  class: s(_.value)
133
133
  }, null, 2)
134
134
  ], 8, q),
135
- w.value ? (o(), c("div", {
135
+ w.value ? (c(), o("div", {
136
136
  key: 1,
137
137
  class: s(M.value)
138
138
  }, [
@@ -140,8 +140,8 @@ const A = ["id"], j = ["id"], q = ["role", "aria-valuemin", "aria-valuemax", "ar
140
140
  class: s(U.value),
141
141
  ref_key: "labelRef",
142
142
  ref: n
143
- }, y(e.statusType === "percentage" ? `${v.value}%` : h.value), 3)
144
- ], 2)) : k("", !0)
143
+ }, k(e.statusType === "percentage" ? `${v.value}%` : h.value), 3)
144
+ ], 2)) : y("", !0)
145
145
  ], 14, A));
146
146
  }
147
147
  }, O = {
@@ -1,4 +1,4 @@
1
- import { openBlock as r, createElementBlock as d, createElementVNode as l, normalizeClass as c, withDirectives as o, mergeProps as s, vModelRadio as h, createTextVNode as p, toDisplayString as u, createCommentVNode as m } from "vue";
1
+ import { createElementBlock as r, openBlock as d, createElementVNode as l, normalizeClass as c, withDirectives as o, mergeProps as s, vModelRadio as h, createTextVNode as p, createCommentVNode as m, toDisplayString as u } from "vue";
2
2
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  import { u as _, a as f } from "./plugins-DQVoaMd9.js";
4
4
  const b = {
@@ -64,7 +64,7 @@ const b = {
64
64
  class: "pkt-input-check__input-helptext"
65
65
  };
66
66
  function x(t, i, e, S, B, a) {
67
- return r(), d("div", g, [
67
+ return d(), r("div", g, [
68
68
  l("div", {
69
69
  class: c([{ "pkt-input-check__input--tile": e.hasTile }, "pkt-input-check__input"])
70
70
  }, [
@@ -86,7 +86,7 @@ function x(t, i, e, S, B, a) {
86
86
  for: e.id
87
87
  }, [
88
88
  p(u(e.label) + " ", 1),
89
- e.checkHelptext ? (r(), d("div", q, u(e.checkHelptext), 1)) : m("", !0)
89
+ e.checkHelptext ? (d(), r("div", q, u(e.checkHelptext), 1)) : m("", !0)
90
90
  ], 8, y)
91
91
  ], 2)
92
92
  ]);
@@ -1,6 +1,6 @@
1
- import { P as v } from "./Button-BlX9N6dr.js";
2
- import { P as S } from "./Icon-DdXdUxP2.js";
3
- import { resolveComponent as C, openBlock as n, createBlock as c, resolveDynamicComponent as m, normalizeClass as o, withCtx as r, createElementBlock as i, Fragment as p, createTextVNode as y, toDisplayString as d, createCommentVNode as u, createElementVNode as g, mergeProps as V, withKeys as f, withModifiers as k, createVNode as w, renderList as P } from "vue";
1
+ import { P as v } from "./Button-Bm6X0lD8.js";
2
+ import { P as S } from "./Icon-Z84h32lN.js";
3
+ import { resolveComponent as C, createBlock as c, openBlock as n, resolveDynamicComponent as m, normalizeClass as o, withCtx as r, createElementBlock as i, createCommentVNode as d, createElementVNode as p, Fragment as y, createTextVNode as g, toDisplayString as u, createVNode as V, mergeProps as w, withKeys as f, withModifiers as k, renderList as P } from "vue";
4
4
  import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { u as q, a as I } from "./plugins-DQVoaMd9.js";
6
6
  const K = {
@@ -90,13 +90,13 @@ function A(a, l, e, M, T, h) {
90
90
  class: o({ "pkt-inputwrapper__label": e.label })
91
91
  }, {
92
92
  default: r(() => [
93
- e.label ? (n(), i(p, { key: 0 }, [
94
- y(d(e.label), 1)
95
- ], 64)) : u("", !0),
96
- g("div", {
93
+ e.label ? (n(), i(y, { key: 0 }, [
94
+ g(u(e.label), 1)
95
+ ], 64)) : d("", !0),
96
+ p("div", {
97
97
  class: o(e.appearance === "local" ? "pkt-input__container" : "pkt-searchinput__field")
98
98
  }, [
99
- g("input", V(a.$attrs, {
99
+ p("input", w(a.$attrs, {
100
100
  onInput: l[0] || (l[0] = (t) => a.$emit("update:modelValue", t.target.value)),
101
101
  class: { "pkt-input": !0, "pkt-input--fullwidth": e.fullwidth },
102
102
  type: "search",
@@ -110,7 +110,7 @@ function A(a, l, e, M, T, h) {
110
110
  "aria-autocomplete": "list",
111
111
  "aria-controls": `${e.id}-suggestions`
112
112
  }), null, 16, N),
113
- w(b, {
113
+ V(b, {
114
114
  class: o({ "pkt-searchinput__button": !0, "pkt-input-icon": e.appearance === "local" }),
115
115
  variant: "icon-only",
116
116
  iconName: "magnifying-glass-big",
@@ -122,7 +122,7 @@ function A(a, l, e, M, T, h) {
122
122
  onKeypress: l[3] || (l[3] = f(k((t) => a.$emit("onSearch", e.modelValue), ["prevent"]), ["enter"]))
123
123
  }, {
124
124
  default: r(() => [
125
- y(d(e.label || e.placeholder), 1)
125
+ g(u(e.label || e.placeholder), 1)
126
126
  ]),
127
127
  _: 1
128
128
  }, 8, ["class", "skin", "color", "disabled"])
@@ -136,7 +136,7 @@ function A(a, l, e, M, T, h) {
136
136
  class: "pkt-searchinput__suggestions",
137
137
  "aria-live": "assertive"
138
138
  }, [
139
- (n(!0), i(p, null, P(e.suggestions, (t, s) => (n(), i("li", {
139
+ (n(!0), i(y, null, P(e.suggestions, (t, s) => (n(), i("li", {
140
140
  key: `search-suggestion-${s}`
141
141
  }, [
142
142
  (n(), c(m(t.href ? "a" : t.onClick ? "button" : "div"), {
@@ -151,13 +151,13 @@ function A(a, l, e, M, T, h) {
151
151
  onKeypress: f((_) => h.handleSuggestionClick(t.onClick, s), ["enter"])
152
152
  }, {
153
153
  default: r(() => [
154
- t.title ? (n(), i("h3", E, d(t.title), 1)) : u("", !0),
155
- t.text ? (n(), i("p", z, d(t.text), 1)) : u("", !0)
154
+ t.title ? (n(), i("h3", E, u(t.title), 1)) : d("", !0),
155
+ t.text ? (n(), i("p", z, u(t.text), 1)) : d("", !0)
156
156
  ]),
157
157
  _: 2
158
158
  }, 1064, ["href", "class", "type", "onClick", "onKeypress"]))
159
159
  ]))), 128))
160
- ], 8, D)) : u("", !0)
160
+ ], 8, D)) : d("", !0)
161
161
  ]),
162
162
  _: 1
163
163
  }, 40, ["class", "action", "method"]);
@@ -1,8 +1,8 @@
1
- import { P as d } from "./Icon-DdXdUxP2.js";
2
- import { P as o } from "./Alert-R-eAFCdz.js";
3
- import { P as n } from "./Button-BlX9N6dr.js";
4
- import { P as s } from "./InputWrapper-CXY8O_cJ.js";
5
- import { resolveComponent as u, openBlock as p, createBlock as f, normalizeClass as m, withCtx as g, createElementVNode as b, mergeProps as y, renderSlot as q } from "vue";
1
+ import { P as d } from "./Icon-Z84h32lN.js";
2
+ import { P as o } from "./Alert-DHRKJRVL.js";
3
+ import { P as n } from "./Button-Bm6X0lD8.js";
4
+ import { P as s } from "./InputWrapper-D2jCo3f8.js";
5
+ import { resolveComponent as u, createBlock as p, openBlock as f, normalizeClass as m, withCtx as g, createElementVNode as b, mergeProps as y, renderSlot as q } from "vue";
6
6
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import { u as x, a as c } from "./plugins-DQVoaMd9.js";
8
8
  const T = {
@@ -100,7 +100,7 @@ const T = {
100
100
  }, B = ["aria-invalid", "aria-errormessage", "aria-labelledby", "disabled", "id", "name", "value"];
101
101
  function S(t, r, e, w, D, l) {
102
102
  const i = u("PktInputWrapper");
103
- return p(), f(i, {
103
+ return f(), p(i, {
104
104
  class: m(["pkt-select", t.$attrs.class]),
105
105
  forId: e.id,
106
106
  label: e.label,
@@ -1,5 +1,5 @@
1
1
  import { u as g, a as c } from "./plugins-DQVoaMd9.js";
2
- import { defineComponent as h, ref as w, computed as i, provide as d, openBlock as _, createElementBlock as f, normalizeClass as v, renderSlot as m, inject as u, createElementVNode as e, toDisplayString as C } from "vue";
2
+ import { defineComponent as h, ref as w, computed as i, provide as d, createElementBlock as _, openBlock as f, normalizeClass as v, renderSlot as m, inject as u, createElementVNode as e, toDisplayString as C } from "vue";
3
3
  const N = /* @__PURE__ */ h({
4
4
  __name: "Stepper",
5
5
  props: {
@@ -14,7 +14,7 @@ const N = /* @__PURE__ */ h({
14
14
  "pkt-stepper",
15
15
  t.orientation === "horizontal" ? "pkt-stepper--horizontal" : "pkt-stepper--vertical"
16
16
  ].filter(Boolean).join(" "));
17
- return d("hideNonActiveStepsContent", t.hideNonActiveStepsContent), d("hideNonActiveSteps", t.hideNonActiveSteps), (o, r) => (_(), f("ol", {
17
+ return d("hideNonActiveStepsContent", t.hideNonActiveStepsContent), d("hideNonActiveSteps", t.hideNonActiveSteps), (o, r) => (f(), _("ol", {
18
18
  class: v(p.value),
19
19
  ref_key: "stepperRef",
20
20
  ref: l
@@ -46,7 +46,7 @@ const N = /* @__PURE__ */ h({
46
46
  return H;
47
47
  }
48
48
  });
49
- return (a, n) => (_(), f("li", {
49
+ return (a, n) => (f(), _("li", {
50
50
  class: v(S.value),
51
51
  "data-testid": "pkt-step"
52
52
  }, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as o, watchEffect as _, computed as c, openBlock as r, createElementBlock as n, normalizeClass as p, renderSlot as b } from "vue";
1
+ import { defineComponent as o, watchEffect as _, computed as c, createElementBlock as r, openBlock as n, normalizeClass as p, renderSlot as b } from "vue";
2
2
  import { u as d, a as t } from "./plugins-DQVoaMd9.js";
3
3
  const m = /* @__PURE__ */ o({
4
4
  __name: "Table",
@@ -23,7 +23,7 @@ const m = /* @__PURE__ */ o({
23
23
  },
24
24
  a.className
25
25
  ]);
26
- return (s, u) => (r(), n("table", {
26
+ return (s, u) => (n(), r("table", {
27
27
  class: p(l.value),
28
28
  role: "table"
29
29
  }, [
@@ -37,7 +37,7 @@ const m = /* @__PURE__ */ o({
37
37
  },
38
38
  setup(e) {
39
39
  const a = e, l = c(() => [a.className, "pkt-table__header"]);
40
- return (s, u) => (r(), n("thead", {
40
+ return (s, u) => (n(), r("thead", {
41
41
  class: p(l.value),
42
42
  role: "rowgroup"
43
43
  }, [
@@ -52,7 +52,7 @@ const m = /* @__PURE__ */ o({
52
52
  },
53
53
  setup(e) {
54
54
  const a = e, l = c(() => [a.className, "pkt-table__header-cell"]);
55
- return (s, u) => (r(), n("th", {
55
+ return (s, u) => (n(), r("th", {
56
56
  class: p(l.value),
57
57
  scope: s.scope,
58
58
  role: "columnheader"
@@ -67,7 +67,7 @@ const m = /* @__PURE__ */ o({
67
67
  },
68
68
  setup(e) {
69
69
  const a = e, l = c(() => [a.className, "pkt-table__row"]);
70
- return (s, u) => (r(), n("tr", {
70
+ return (s, u) => (n(), r("tr", {
71
71
  class: p(l.value),
72
72
  role: "row"
73
73
  }, [
@@ -82,7 +82,7 @@ const m = /* @__PURE__ */ o({
82
82
  },
83
83
  setup(e) {
84
84
  const a = e, l = c(() => [a.className, "pkt-table__data-cell"]);
85
- return (s, u) => (r(), n("td", {
85
+ return (s, u) => (n(), r("td", {
86
86
  class: p(l.value),
87
87
  "data-label": s.dataLabel,
88
88
  role: "cell"
@@ -97,7 +97,7 @@ const m = /* @__PURE__ */ o({
97
97
  },
98
98
  setup(e) {
99
99
  const a = e, l = c(() => [a.className, "pkt-table__body"]);
100
- return (s, u) => (r(), n("tbody", {
100
+ return (s, u) => (n(), r("tbody", {
101
101
  class: p(l.value),
102
102
  role: "rowgroup"
103
103
  }, [
@@ -1,6 +1,6 @@
1
- import { ref as p, openBlock as s, createElementBlock as k, createElementVNode as v, Fragment as g, renderList as w, createBlock as f, resolveDynamicComponent as T, normalizeClass as N, withCtx as d, createCommentVNode as m, createTextVNode as y, toDisplayString as b } from "vue";
2
- import { T as _ } from "./Tag-BpTGJPw9.js";
3
- import { P as C } from "./Icon-DdXdUxP2.js";
1
+ import { ref as p, createElementBlock as k, openBlock as s, createElementVNode as v, Fragment as g, renderList as w, createBlock as f, resolveDynamicComponent as T, normalizeClass as N, withCtx as d, createCommentVNode as m, createTextVNode as y, toDisplayString as b } from "vue";
2
+ import { T as _ } from "./Tag-CK-y1m3h.js";
3
+ import { P as C } from "./Icon-Z84h32lN.js";
4
4
  import { u as P, a as A } from "./plugins-DQVoaMd9.js";
5
5
  const B = { class: "pkt-tabs" }, S = ["role"], j = {
6
6
  __name: "Tabs",
@@ -1,4 +1,4 @@
1
- import { T as s } from "./Tag-BpTGJPw9.js";
1
+ import { T as s } from "./Tag-CK-y1m3h.js";
2
2
  import { u as t, a as o } from "./plugins-DQVoaMd9.js";
3
3
  const r = {
4
4
  install(a) {
@@ -1,8 +1,8 @@
1
- import { P as d } from "./Icon-DdXdUxP2.js";
2
- import { P as u } from "./Alert-R-eAFCdz.js";
3
- import { P as s } from "./Button-BlX9N6dr.js";
4
- import { P as f } from "./InputWrapper-CXY8O_cJ.js";
5
- import { resolveComponent as g, openBlock as p, createBlock as m, normalizeClass as h, withCtx as c, createElementVNode as x, mergeProps as y } from "vue";
1
+ import { P as d } from "./Icon-Z84h32lN.js";
2
+ import { P as u } from "./Alert-DHRKJRVL.js";
3
+ import { P as s } from "./Button-Bm6X0lD8.js";
4
+ import { P as f } from "./InputWrapper-D2jCo3f8.js";
5
+ import { resolveComponent as g, createBlock as p, openBlock as m, normalizeClass as h, withCtx as c, createElementVNode as x, mergeProps as y } from "vue";
6
6
  import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  import { u as q, a as T } from "./plugins-DQVoaMd9.js";
8
8
  const B = {
@@ -117,7 +117,7 @@ const B = {
117
117
  function k(t, r, e, D, M, i) {
118
118
  var l;
119
119
  const n = g("PktInputWrapper");
120
- return p(), m(n, {
120
+ return m(), p(n, {
121
121
  class: h(["pkt-textarea", t.$attrs.class]),
122
122
  forId: e.id,
123
123
  label: e.label,
@@ -1,7 +1,7 @@
1
- import { P as g } from "./Icon-DdXdUxP2.js";
2
- import { P as m } from "./Alert-R-eAFCdz.js";
3
- import { P as h } from "./InputWrapper-CXY8O_cJ.js";
4
- import { resolveComponent as d, openBlock as r, createBlock as i, normalizeClass as y, withCtx as x, createElementVNode as s, createElementBlock as c, toDisplayString as f, createCommentVNode as o, mergeProps as b, createTextVNode as q } from "vue";
1
+ import { P as g } from "./Icon-Z84h32lN.js";
2
+ import { P as m } from "./Alert-DHRKJRVL.js";
3
+ import { P as h } from "./InputWrapper-D2jCo3f8.js";
4
+ import { resolveComponent as d, createBlock as i, openBlock as r, normalizeClass as y, withCtx as x, createElementVNode as s, createElementBlock as c, createCommentVNode as o, toDisplayString as f, mergeProps as b, createTextVNode as q } from "vue";
5
5
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import { u as S, a as T } from "./plugins-DQVoaMd9.js";
7
7
  const B = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-vue",
3
- "version": "12.31.2",
3
+ "version": "12.32.7",
4
4
  "description": "Vue komponentbibliotek til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -27,12 +27,12 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@oslokommune/punkt-assets": "^12.30.1",
30
- "@oslokommune/punkt-css": "^12.31.0",
31
- "@oslokommune/punkt-elements": "^12.31.2",
30
+ "@oslokommune/punkt-css": "^12.32.1",
31
+ "@oslokommune/punkt-elements": "^12.32.7",
32
32
  "@vitejs/plugin-vue": "^5.1.3",
33
33
  "edit-json-file": "^1.8.0",
34
34
  "sass": "^1.78.0",
35
- "vite": "^5.4.4",
35
+ "vite": "^5.4.18",
36
36
  "vue": "^3.5.4",
37
37
  "vue-router": "^4.4.4"
38
38
  },
@@ -67,5 +67,5 @@
67
67
  "url": "https://github.com/oslokommune/punkt/issues"
68
68
  },
69
69
  "license": "MIT",
70
- "gitHead": "bb030d6ba98fa9e45a95cf3092d95b46a750a730"
70
+ "gitHead": "001ce7fd764b33b5f4c7d90ad5418a62a4d780a6"
71
71
  }