@oslokommune/punkt-vue 16.25.2 → 16.26.3
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/CHANGELOG.md +28 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +1 -1
- package/dist/{Alert-CHuVD60O.cjs → Alert-Buq_yD4D.cjs} +1 -1
- package/dist/{Alert-oTzo9iRu.js → Alert-oU1lIR69.js} +2 -2
- package/dist/{Button-BZp49YQT.cjs → Button-Bl8x-9XR.cjs} +1 -1
- package/dist/{Button-MGcW7Rud.js → Button-C0A-Eddv.js} +4 -4
- package/dist/{Helptext-BrCCiDCr.cjs → Helptext-C1v1Ow8-.cjs} +1 -1
- package/dist/{Helptext-BCSz7jKA.js → Helptext-DTHyEj-e.js} +2 -2
- package/dist/{Icon-BIgZkS83.js → Icon-D5RKL2ZQ.js} +2 -2
- package/dist/{Icon-CWAl4gIM.cjs → Icon-DjSpvw1b.cjs} +1 -1
- package/dist/{InputWrapper-B3nYy5_K.cjs → InputWrapper-B8bYKeMS.cjs} +1 -1
- package/dist/{InputWrapper-_FhINEnw.js → InputWrapper-DrKHT6SZ.js} +4 -4
- package/dist/{Tag-CR41DHXf.js → Tag-B0cEBAan.js} +2 -2
- package/dist/{Tag-B0FbthFr.cjs → Tag-Dh9vMqoB.cjs} +1 -1
- package/dist/_plugin-vue_export-helper-BTmtiIyf.cjs +1 -0
- package/dist/{accordion-C9K5rShu.js → accordion-DkePE1FU.js} +2 -2
- package/dist/{accordion-Dr7kdoN7.cjs → accordion-DxAToZge.cjs} +1 -1
- package/dist/{backlink-Byjm4TbJ.js → backlink-B57WF9rX.js} +4 -4
- package/dist/{backlink-DUevzFxu.cjs → backlink-DrPjEff_.cjs} +1 -1
- package/dist/{breadcrumbs-m65yseAW.js → breadcrumbs-D0WHZUNI.js} +4 -4
- package/dist/{breadcrumbs-CmTHvSSO.cjs → breadcrumbs-DdxK3PR9.cjs} +1 -1
- package/dist/{checkbox-CL_COXxh.js → checkbox-DGcFBxBO.js} +3 -3
- package/dist/{checkbox-cjFrzjZi.cjs → checkbox-YRHTmFcr.cjs} +1 -1
- package/dist/components/accordion/Accordion.vue.d.ts +8 -16
- package/dist/components/accordion/AccordionItem.vue.d.ts +8 -12
- package/dist/components/alert/Alert.vue.d.ts +3 -2
- package/dist/components/backlink/BackLink.vue.d.ts +3 -2
- package/dist/components/breadcrumbs/Breadcrumbs.vue.d.ts +3 -2
- package/dist/components/button/Button.vue.d.ts +3 -2
- package/dist/components/checkbox/Checkbox.vue.d.ts +3 -2
- package/dist/components/footer/Footer.vue.d.ts +3 -2
- package/dist/components/footersimple/FooterSimple.vue.d.ts +3 -2
- package/dist/components/header/Header.vue.d.ts +3 -2
- package/dist/components/helptext/Helptext.vue.d.ts +3 -2
- package/dist/components/icon/Icon.vue.d.ts +3 -2
- package/dist/components/inputwrapper/InputWrapper.vue.d.ts +3 -2
- package/dist/components/linkcard/Linkcard.vue.d.ts +3 -2
- package/dist/components/loader/Loader.vue.d.ts +55 -20
- package/dist/components/messagebox/Messagebox.vue.d.ts +3 -2
- package/dist/components/progressbar/Progressbar.vue.d.ts +116 -28
- package/dist/components/radiobutton/Radiobutton.vue.d.ts +3 -2
- package/dist/components/searchinput/SearchInput.vue.d.ts +3 -2
- package/dist/components/select/Select.vue.d.ts +3 -2
- package/dist/components/stepper/Step.vue.d.ts +8 -12
- package/dist/components/stepper/Stepper.vue.d.ts +8 -16
- package/dist/components/table/Table.vue.d.ts +8 -12
- package/dist/components/table/TableBody.vue.d.ts +7 -11
- package/dist/components/table/TableDataCell.vue.d.ts +7 -11
- package/dist/components/table/TableHeader.vue.d.ts +8 -12
- package/dist/components/table/TableHeaderCell.vue.d.ts +7 -11
- package/dist/components/table/TableRow.vue.d.ts +7 -11
- package/dist/components/tabs/Tabs.vue.d.ts +28 -10
- package/dist/components/tag/Tag.vue.d.ts +3 -2
- package/dist/components/textarea/Textarea.vue.d.ts +3 -2
- package/dist/components/textinput/Textinput.vue.d.ts +3 -2
- package/dist/{footer-CXFzikEP.cjs → footer-BvflSpsY.cjs} +1 -1
- package/dist/{footer-DChb4Ilf.js → footer-CrLNA1bU.js} +4 -4
- package/dist/{footersimple-COAbCgRf.js → footersimple-B4OLWKBA.js} +4 -4
- package/dist/{footersimple-XWF7n0Rn.cjs → footersimple-BgUCT9ui.cjs} +1 -1
- package/dist/{header-C4IVQjWR.cjs → header-BAheQMWg.cjs} +1 -1
- package/dist/{header-DCA0z_I6.js → header-CiT66NU0.js} +7 -7
- package/dist/{linkcard-KNc0Vtgg.js → linkcard-C0U6J2Ig.js} +4 -4
- package/dist/{linkcard-C7pFXsbv.cjs → linkcard-QHwxnuXP.cjs} +1 -1
- package/dist/{loader-BfzCFC4O.js → loader-DremUp9L.js} +3 -3
- package/dist/{loader-0itPXctT.cjs → loader-czfTa3UG.cjs} +1 -1
- package/dist/{messagebox-C5JKiW6j.js → messagebox-BkNbT9Qm.js} +3 -3
- package/dist/{messagebox-DOI0i62W.cjs → messagebox-Bnh-5qyR.cjs} +1 -1
- package/dist/plugins-DORsRGoa.cjs +1 -0
- package/dist/{progressbar-D0bYOpFA.cjs → progressbar-D8156nRM.cjs} +1 -1
- package/dist/{progressbar-CKm1YSia.js → progressbar-DDAjY3Y9.js} +1 -1
- package/dist/punkt-vue-accordion.cjs +1 -1
- package/dist/punkt-vue-accordion.js +1 -1
- package/dist/punkt-vue-alert.cjs +1 -1
- package/dist/punkt-vue-alert.js +2 -2
- package/dist/punkt-vue-backlink.cjs +1 -1
- package/dist/punkt-vue-backlink.js +1 -1
- package/dist/punkt-vue-breadcrumbs.cjs +1 -1
- package/dist/punkt-vue-breadcrumbs.js +1 -1
- package/dist/punkt-vue-button.cjs +1 -1
- package/dist/punkt-vue-button.js +2 -2
- package/dist/punkt-vue-checkbox.cjs +1 -1
- package/dist/punkt-vue-checkbox.js +1 -1
- package/dist/punkt-vue-footer.cjs +1 -1
- package/dist/punkt-vue-footer.js +1 -1
- package/dist/punkt-vue-footersimple.cjs +1 -1
- package/dist/punkt-vue-footersimple.js +1 -1
- package/dist/punkt-vue-header.cjs +1 -1
- package/dist/punkt-vue-header.js +1 -1
- package/dist/punkt-vue-helptext.cjs +1 -1
- package/dist/punkt-vue-helptext.js +2 -2
- package/dist/punkt-vue-icon.cjs +1 -1
- package/dist/punkt-vue-icon.js +2 -2
- package/dist/punkt-vue-index.cjs +1 -1
- package/dist/punkt-vue-index.js +25 -25
- package/dist/punkt-vue-inputwrapper.cjs +1 -1
- package/dist/punkt-vue-inputwrapper.js +2 -2
- package/dist/punkt-vue-linkcard.cjs +1 -1
- package/dist/punkt-vue-linkcard.js +1 -1
- package/dist/punkt-vue-loader.cjs +1 -1
- package/dist/punkt-vue-loader.js +1 -1
- package/dist/punkt-vue-messagebox.cjs +1 -1
- package/dist/punkt-vue-messagebox.js +1 -1
- package/dist/punkt-vue-progressbar.cjs +1 -1
- package/dist/punkt-vue-progressbar.js +1 -1
- package/dist/punkt-vue-radiobutton.cjs +1 -1
- package/dist/punkt-vue-radiobutton.js +1 -1
- package/dist/punkt-vue-searchinput.cjs +1 -1
- package/dist/punkt-vue-searchinput.js +5 -5
- package/dist/punkt-vue-select.cjs +1 -1
- package/dist/punkt-vue-select.js +1 -1
- package/dist/punkt-vue-stepper.cjs +1 -1
- package/dist/punkt-vue-stepper.js +1 -1
- package/dist/punkt-vue-table.cjs +1 -1
- package/dist/punkt-vue-table.js +1 -1
- package/dist/punkt-vue-tabs.cjs +1 -1
- package/dist/punkt-vue-tabs.js +1 -1
- package/dist/punkt-vue-tag.cjs +1 -1
- package/dist/punkt-vue-tag.js +2 -2
- package/dist/punkt-vue-textarea.cjs +1 -1
- package/dist/punkt-vue-textarea.js +1 -1
- package/dist/punkt-vue-textinput.cjs +1 -1
- package/dist/punkt-vue-textinput.js +1 -1
- package/dist/{radiobutton-CaP1tya2.js → radiobutton-BzV0C7RS.js} +3 -3
- package/dist/{radiobutton-CRO9YGqj.cjs → radiobutton-IbET4IDs.cjs} +1 -1
- package/dist/{select-D4-sqeFs.js → select-BCWGNnn-.js} +7 -7
- package/dist/{select-Bg-RVrIK.cjs → select-CG688D7Z.cjs} +1 -1
- package/dist/{stepper-CjTF-9WO.js → stepper-CBith__I.js} +1 -1
- package/dist/{stepper-CwL-EHUU.cjs → stepper-DDl5pEnV.cjs} +1 -1
- package/dist/{table-BupPPZgc.js → table-CSwz2UjB.js} +1 -1
- package/dist/{table-Vea6ecvM.cjs → table-CXkI8zti.cjs} +1 -1
- package/dist/{tabs-CWMnCZY-.cjs → tabs-Cdoc1rZm.cjs} +1 -1
- package/dist/{tabs-DEemW7hf.js → tabs-oPCWtAyf.js} +3 -3
- package/dist/{textarea-xb4qPa3q.js → textarea-CK4UZqED.js} +7 -7
- package/dist/{textarea-XFN-R8Q8.cjs → textarea-mEY0_0ys.cjs} +1 -1
- package/dist/{textinput-CjKo5Ty2.js → textinput-DZ9G8MRY.js} +6 -6
- package/dist/{textinput-DeSHl-64.cjs → textinput-r-ZLjj9a.cjs} +1 -1
- package/package.json +16 -15
- package/src/components/accordion/Accordion.vue +1 -1
- package/src/components/accordion/AccordionItem.vue +1 -1
- package/src/components/stepper/Step.vue +1 -1
- package/src/components/stepper/Stepper.vue +1 -1
- package/src/components/table/TableDataCell.vue +1 -1
- package/dist/_plugin-vue_export-helper-TlCYmDuq.cjs +0 -1
- package/dist/plugins-Dv4f6RT9.cjs +0 -1
- /package/dist/{_plugin-vue_export-helper-BTgDAbhb.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{plugins-DPVTnXnu.js → plugins-BMluE7b5.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ og skriver commits ca etter [Conventional Commits](https://conventionalcommits.o
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## [16.25.3](https://github.com/oslokommune/punkt/compare/16.25.2...16.25.3) (2026-06-18)
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
Ingen
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
Ingen
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
* Massiv oppdatering av avhengigheter, pluss følgende fikser (#3519). - Testing utils bruker nå vitest, akkurat som alle andre
|
|
18
|
+
- Docs har nå fungerende prettier og linting
|
|
19
|
+
- Bruker Astro 7 beta, fordi versjon 6 ikke støtter Vite 8
|
|
20
|
+
- Fjernet onInput i Timepicker. Denne var uansett ikke dokumentert og funket ikke
|
|
21
|
+
- Oppdatert node-krav (kjører 24 i build, krever 22 i konsum av pakker)
|
|
22
|
+
- Fjernet absolutt alle sikkerhetsvarsler
|
|
23
|
+
- Fikset en del feil syntaks i docs
|
|
24
|
+
- Fikset bygging av typescript
|
|
25
|
+
- npm run build gir ikke lenger noen advarsler
|
|
26
|
+
|
|
27
|
+
Et lite aber, som er verdt å nevne men som ikke kommer fra denne PR: Playwright rapporterer en del feil. Og man må kjøre en npm playwright install for å oppdatere browser. Men det er forventet og urelatert. Kommer fra andre endringer og fra oppdatering av Playwright-avhengighet.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Chores
|
|
31
|
+
Ingen
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
|
|
8
36
|
## [16.7.5](https://github.com/oslokommune/punkt/compare/16.7.4...16.7.5) (2026-04-15)
|
|
9
37
|
|
|
10
38
|
### ⚠ BREAKING CHANGES
|
package/CONTRIBUTING.md
CHANGED
|
@@ -6,7 +6,7 @@ er at vi høflig ber deg endre på noe. **Vi setter pris på alle hyggelige bidr
|
|
|
6
6
|
|
|
7
7
|
## 📝 Forutsetninger
|
|
8
8
|
|
|
9
|
-
- nodejs
|
|
9
|
+
- nodejs 24.16.0
|
|
10
10
|
- Kunnskap om [Sass (SCSS)](https://sass-lang.com/) og [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS).
|
|
11
11
|
- Forståelse av [BEM-navnekonvensjoner](http://getbem.com/) som designsystemet følger.
|
|
12
12
|
- Noen skal ha designet komponenten i [Figma](https://www.figma.com/file/Eej5jm3jIUjeMfzLE0aOTB/Punkt---Origo-designsystem?node-id=0%3A1&t=VDbEaltk80wYiYn3-0) (Krever innlogging og tilgang).
|
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs");require("@oslokommune/punkt-elements/dist/pkt-alert");let t=require("vue");var n={name:`PktAlert`,props:{skin:{type:String,default:`info`,validator(e){return[`error`,`success`,`warning`,`info`].includes(e)}},closeAlert:{type:Boolean,default:!1},title:{type:String,default:``},date:{type:String,default:``},ariaLive:{type:String,default:`polite`,validator(e){return[`off`,`polite`,`assertive`].includes(e)}},compact:{type:Boolean,default:!1}}},r=[`skin`,`closeAlert`,`title`,`date`,`ariaLive`,`compact`];function i(e,n,i,a,o,s){return(0,t.openBlock)(),(0,t.createElementBlock)(`pkt-alert`,{skin:i.skin,closeAlert:i.closeAlert,title:i.title,date:i.date,ariaLive:i.ariaLive,compact:i.compact},[(0,t.renderSlot)(e.$slots,`default`)],8,r)}var a=e.t(n,[[`render`,i]]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import "@oslokommune/punkt-elements/dist/pkt-alert";
|
|
3
3
|
import { createElementBlock as t, openBlock as n, renderSlot as r } from "vue";
|
|
4
4
|
//#region src/components/alert/Alert.vue
|
|
@@ -63,6 +63,6 @@ function o(e, i, o, s, c, l) {
|
|
|
63
63
|
compact: o.compact
|
|
64
64
|
}, [r(e.$slots, "default")], 8, a);
|
|
65
65
|
}
|
|
66
|
-
var s =
|
|
66
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
67
67
|
//#endregion
|
|
68
68
|
export { s as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs"),t=require("./Icon-DjSpvw1b.cjs");let n=require("vue");var r={name:`PktButton`,components:{PktIcon:t.t},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:e=>[`small`,`medium`,`large`].includes(e)},skin:{type:String,default:`primary`,validator:e=>[`primary`,`secondary`,`tertiary`].includes(e)},color:{type:String,validator:e=>[`blue`,`blue-outline`,`green`,`green-outline`,`green-dark`,`green-dark-outline`,`beige-light`,`beige-dark-outline`,`yellow`,`yellow-outline`,`red`,`red-outline`].includes(e)},text:{type:String,required:!1,default:`Trykk her`},variant:{type:String,default:`label-only`,validator:e=>[`label-only`,`icon-left`,`icon-right`,`icon-only`,`icons-right-and-left`].includes(e)},state:{type:String,required:!1,validator:e=>[`normal`,`focus`,`hover`,`active`].includes(e)},type:{type:String,default:`button`,validator:e=>[`button`,`submit`,`reset`].includes(e)},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`:``}}},i=[`type`,`disabled`],a={class:`pkt-btn__text`};function o(e,t,r,o,s,c){let l=(0,n.resolveComponent)(`PktIcon`);return(0,n.openBlock)(),(0,n.createElementBlock)(`button`,(0,n.mergeProps)(e.$attrs,{type:r.type,class:c.classes,onClick:t[0]||=t=>e.$emit(`onClick`),onKeyup:t[1]||=(0,n.withKeys)(t=>e.$emit(`onClick`),[`enter`]),disabled:r.disabled}),[r.isLoading===!0?((0,n.openBlock)(),(0,n.createBlock)(l,{key:0,class:`pkt-btn__icon pkt-btn__spinner`,name:`spinner-blue`,path:`https://punkt-cdn.oslo.kommune.no/16.26/animations/`})):(0,n.createCommentVNode)(``,!0),r.variant===`label-only`?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(l,{key:1,class:`pkt-btn__icon`,name:r.iconName},null,8,[`name`])),(0,n.createElementVNode)(`span`,a,[(0,n.renderSlot)(e.$slots,`default`,{},()=>[(0,n.createTextVNode)((0,n.toDisplayString)(r.text),1)])]),r.variant===`icons-right-and-left`?((0,n.openBlock)(),(0,n.createBlock)(l,{key:2,class:`pkt-btn__icon`,name:r.secondIconName},null,8,[`name`])):(0,n.createCommentVNode)(``,!0)],16,i)}var s=e.t(r,[[`render`,o]]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { t } from "./Icon-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { t } from "./Icon-D5RKL2ZQ.js";
|
|
3
3
|
import { createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, mergeProps as s, openBlock as c, renderSlot as l, resolveComponent as u, toDisplayString as d, withKeys as f } from "vue";
|
|
4
4
|
//#region src/components/button/Button.vue
|
|
5
5
|
var p = {
|
|
@@ -141,7 +141,7 @@ function g(e, t, p, g, _, v) {
|
|
|
141
141
|
key: 0,
|
|
142
142
|
class: "pkt-btn__icon pkt-btn__spinner",
|
|
143
143
|
name: "spinner-blue",
|
|
144
|
-
path: "https://punkt-cdn.oslo.kommune.no/16.
|
|
144
|
+
path: "https://punkt-cdn.oslo.kommune.no/16.26/animations/"
|
|
145
145
|
})) : r("", !0),
|
|
146
146
|
p.variant === "label-only" ? r("", !0) : (c(), n(y, {
|
|
147
147
|
key: 1,
|
|
@@ -156,6 +156,6 @@ function g(e, t, p, g, _, v) {
|
|
|
156
156
|
}, null, 8, ["name"])) : r("", !0)
|
|
157
157
|
], 16, m);
|
|
158
158
|
}
|
|
159
|
-
var _ =
|
|
159
|
+
var _ = /*#__PURE__*/ e(p, [["render", g]]);
|
|
160
160
|
//#endregion
|
|
161
161
|
export { _ as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs");let t=require("vue");require("@oslokommune/punkt-elements/dist/pkt-helptext");var n={name:`pktHelptext`,emits:[`toggleHelpText`],props:{forId:{type:String,required:!0},helptext:{type:String,required:!1},helptextDropdown:{type:String,required:!1},helptextDropdownButton:{type:String,required:!1}},data(){return{isHelpTextOpen:!1}},methods:{toggleHelpText(e){this.isHelpTextOpen=e.detail.isOpen,this.$emit(`toggleHelpText`,this.isHelpTextOpen)}},computed:{dropdownButton(){return this.helptextDropdownButton||`Les mer <span class="pkt-sr-only">om feltet</span>`}}},r={key:0},i=[`forId`,`helptext`,`helptextDropdown`,`helptextDropdownButton`];function a(e,n,a,o,s,c){return a.helptext||a.helptextDropdown?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,r,[(0,t.createElementVNode)(`pkt-helptext`,{forId:a.forId,helptext:a.helptext,helptextDropdown:a.helptextDropdown,helptextDropdownButton:c.dropdownButton,"on:toggleHelpText":n[0]||=(...e)=>c.toggleHelpText&&c.toggleHelpText(...e)},null,40,i)])):(0,t.createCommentVNode)(``,!0)}var o=e.t(n,[[`render`,a]]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createCommentVNode as t, createElementBlock as n, createElementVNode as r, openBlock as i } from "vue";
|
|
3
3
|
import "@oslokommune/punkt-elements/dist/pkt-helptext";
|
|
4
4
|
//#region src/components/helptext/Helptext.vue
|
|
@@ -47,6 +47,6 @@ function c(e, a, c, l, u, d) {
|
|
|
47
47
|
"on:toggleHelpText": a[0] ||= (...e) => d.toggleHelpText && d.toggleHelpText(...e)
|
|
48
48
|
}, null, 40, s)])) : t("", !0);
|
|
49
49
|
}
|
|
50
|
-
var l =
|
|
50
|
+
var l = /*#__PURE__*/ e(a, [["render", c]]);
|
|
51
51
|
//#endregion
|
|
52
52
|
export { l as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, mergeProps as n, openBlock as r } from "vue";
|
|
3
3
|
import "@oslokommune/punkt-elements/dist/pkt-icon";
|
|
4
4
|
//#region src/components/icon/Icon.vue
|
|
@@ -19,6 +19,6 @@ var i = {
|
|
|
19
19
|
function o(e, i, o, s, c, l) {
|
|
20
20
|
return r(), t("pkt-icon", n({ name: o.name }, o.path && { path: o.path }), null, 16, a);
|
|
21
21
|
}
|
|
22
|
-
var s =
|
|
22
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
23
23
|
//#endregion
|
|
24
24
|
export { s as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs");let t=require("vue");require("@oslokommune/punkt-elements/dist/pkt-icon");var n={name:`PktIcon`,props:{name:{type:String,required:!0,default:void 0},path:{type:String,default:void 0}}},r=[`name`];function i(e,n,i,a,o,s){return(0,t.openBlock)(),(0,t.createElementBlock)(`pkt-icon`,(0,t.mergeProps)({name:i.name},i.path&&{path:i.path}),null,16,r)}var a=e.t(n,[[`render`,i]]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs"),t=require("./Alert-Buq_yD4D.cjs"),n=require("./Helptext-C1v1Ow8-.cjs");let r=require("vue");var i={name:`pktInputwrapper`,emits:[`toggleHelpText`],components:{PktAlert:t.t,PktHelptext:n.t},props:{forId:{type:String,required:!0},label:{type:String,required:!0,default:`input`},helptext:{type:String,required:!1},helptextDropdown:{type:String,required:!1},helptextDropdownButton:{type:String,required:!1},counter:{type:Boolean,default:!1},counterCurrent:{type:Number,required:!1},counterMaxLength:{type:Number,required:!1},optionalTag:{type:Boolean,required:!1,default:!1},optionalText:{type:String,default:`Valgfritt`},requiredTag:{type:Boolean,required:!1,default:!1},requiredText:{type:String,default:`Må fylles ut`},hasError:{type:Boolean,required:!1},errorMessage:{type:String,required:!1},disabled:{type:Boolean,required:!1,default:!1},inline:{type:Boolean,required:!1,default:!1},ariaDescribedby:{type:String,required:!1},useWrapper:{type:Boolean,default:!0},hasFieldset:{type:Boolean,default:!1}},data(){return{isHelpTextOpen:!1}},methods:{toggleHelpText(){this.isHelpTextOpen=!this.isHelpTextOpen,this.$emit(`toggleHelpText`,this.isHelpTextOpen)}},computed:{tagText(){return this.optionalTag?this.optionalText:this.requiredTag?this.requiredText:``},tagClass(){return this.optionalTag?`pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light`:this.requiredTag?`pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige`:``},disabledClass(){return this.disabled?`pkt-inputwrapper--disabled`:``},inlineClass(){return this.inline?`pkt-inputwrapper--inline`:``},errorClass(){return this.hasError?`pkt-inputwrapper--error`:``},hasDropDown(){return!!this.helptextDropdown&&this.helptextDropdown!==``},describedBy(){this.ariaDescribedby?this.ariaDescribedby:this.helptext&&`${this.forId}`}}},a=[`for`,`aria-describedby`],o=[`for`,`aria-describedby`,`id`],s={key:2,class:`pkt-input__counter`,"aria-live":`polite`,"aria-atomic":`true`},c={key:3},l=[`innerHTML`];function u(e,t,n,i,u,d){let f=(0,r.resolveComponent)(`PktHelptext`),p=(0,r.resolveComponent)(`PktAlert`);return(0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)([`pkt-inputwrapper`,d.disabledClass,d.inlineClass,d.errorClass])},[n.useWrapper?((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(n.hasFieldset?`fieldset`:d.hasDropDown?`div`:`label`),{key:0,for:n.hasFieldset?void 0:n.forId,class:(0,r.normalizeClass)([`pkt-inputwrapper__label`,{"pkt-inputwrapper__fieldset":n.hasFieldset,"pkt-inputwrapper__legend":n.hasFieldset}]),"aria-describedby":d.hasDropDown?void 0:n.ariaDescribedby},{default:(0,r.withCtx)(()=>[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(n.hasFieldset?`legend`:d.hasDropDown?`h2`:`span`),{class:(0,r.normalizeClass)({"pkt-inputwrapper__legend":n.hasFieldset}),id:`${n.forId}-label`},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)((0,r.toDisplayString)(n.label),1),d.tagText===``?(0,r.createCommentVNode)(``,!0):((0,r.openBlock)(),(0,r.createElementBlock)(`span`,{key:0,class:(0,r.normalizeClass)(d.tagClass)},(0,r.toDisplayString)(d.tagText),3))]),_:1},8,[`class`,`id`])),(0,r.createVNode)(f,{forId:n.forId,onToggleHelpText:d.toggleHelpText,helptext:n.helptext,helptextDropdownButton:n.helptextDropdownButton,helptextDropdown:n.helptextDropdown},null,8,[`forId`,`onToggleHelpText`,`helptext`,`helptextDropdownButton`,`helptextDropdown`]),n.hasFieldset?(0,r.createCommentVNode)(``,!0):((0,r.openBlock)(),(0,r.createElementBlock)(`label`,{key:0,for:n.forId,class:`pkt-sr-only`,"aria-describedby":d.describedBy},(0,r.toDisplayString)(n.label),9,a)),(0,r.renderSlot)(e.$slots,`default`)]),_:3},8,[`for`,`class`,`aria-describedby`])):((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:1},[n.hasFieldset?(0,r.createCommentVNode)(``,!0):((0,r.openBlock)(),(0,r.createElementBlock)(`label`,{key:0,for:n.forId,class:`pkt-sr-only`,"aria-describedby":d.describedBy,id:`${n.forId}-label`},(0,r.toDisplayString)(n.label),9,o)),(0,r.renderSlot)(e.$slots,`default`)],64)),n.counter?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,s,[(0,r.createTextVNode)((0,r.toDisplayString)(n.counterCurrent||0),1),n.counterMaxLength?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:0},[(0,r.createTextVNode)(`/`+(0,r.toDisplayString)(n.counterMaxLength),1)],64)):(0,r.createCommentVNode)(``,!0)])):(0,r.createCommentVNode)(``,!0),n.hasError&&n.errorMessage?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,c,[(0,r.createVNode)(p,{skin:`error`,"aria-live":`assertive`,id:`${n.forId}-error`,compact:``},{default:(0,r.withCtx)(()=>[(0,r.createElementVNode)(`div`,{class:`pkt-contents`,innerHTML:n.errorMessage},null,8,l)]),_:1},8,[`id`])])):(0,r.createCommentVNode)(``,!0)],2)}var d=e.t(i,[[`render`,u]]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { t } from "./Alert-
|
|
3
|
-
import { t as n } from "./Helptext-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { t } from "./Alert-oU1lIR69.js";
|
|
3
|
+
import { t as n } from "./Helptext-DTHyEj-e.js";
|
|
4
4
|
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, normalizeClass as u, openBlock as d, renderSlot as f, resolveComponent as p, resolveDynamicComponent as m, toDisplayString as h, withCtx as g } from "vue";
|
|
5
5
|
//#region src/components/inputwrapper/InputWrapper.vue
|
|
6
6
|
var _ = {
|
|
@@ -208,6 +208,6 @@ function C(e, t, n, _, C, w) {
|
|
|
208
208
|
}, 8, ["id"])])) : a("", !0)
|
|
209
209
|
], 2);
|
|
210
210
|
}
|
|
211
|
-
var w =
|
|
211
|
+
var w = /*#__PURE__*/ e(_, [["render", C]]);
|
|
212
212
|
//#endregion
|
|
213
213
|
export { w as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, openBlock as n, renderSlot as r } from "vue";
|
|
3
3
|
import "@oslokommune/punkt-elements/dist/pkt-tag";
|
|
4
4
|
//#region src/components/tag/Tag.vue
|
|
@@ -82,6 +82,6 @@ function o(e, i, o, s, c, l) {
|
|
|
82
82
|
ariaLabel: o.ariaLabel
|
|
83
83
|
}, [r(e.$slots, "default")], 8, a);
|
|
84
84
|
}
|
|
85
|
-
var s =
|
|
85
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
86
86
|
//#endregion
|
|
87
87
|
export { s as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs");let t=require("vue");require("@oslokommune/punkt-elements/dist/pkt-tag");var n={name:`PktTag`,props:{skin:{type:String,default:`blue`,validator(e){return[`blue`,`blue-light`,`blue-dark`,`green`,`red`,`beige`,`yellow`,`grey`,`gray`].includes(e)}},textStyle:{type:String,default:`normal-text`,validator(e){return[`thin-text`,`normal-text`].includes(e)}},size:{type:String,default:`medium`,validator(e){return[`small`,`medium`,`large`].includes(e)}},closeTag:{type:Boolean,default:!1},iconName:{type:String,default:``},type:{type:String,default:`button`,validator:e=>[`button`,`submit`,`reset`].includes(e)},ariaLabel:{type:String,default:`close`}}},r=[`skin`,`textStyle`,`size`,`closeTag`,`iconName`,`type`,`ariaLabel`];function i(e,n,i,a,o,s){return(0,t.openBlock)(),(0,t.createElementBlock)(`pkt-tag`,{skin:i.skin,textStyle:i.textStyle,size:i.size,closeTag:i.closeTag,iconName:i.iconName,type:i.type,ariaLabel:i.ariaLabel},[(0,t.renderSlot)(e.$slots,`default`)],8,r)}var a=e.t(n,[[`render`,i]]);Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e, t } from "./plugins-
|
|
2
|
-
import { t as n } from "./Icon-
|
|
1
|
+
import { r as e, t } from "./plugins-BMluE7b5.js";
|
|
2
|
+
import { t as n } from "./Icon-D5RKL2ZQ.js";
|
|
3
3
|
import { computed as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, renderSlot as f, toDisplayString as p, unref as m, watchEffect as h } from "vue";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/components/accordion/Accordion.vue
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./plugins-DORsRGoa.cjs"),t=require("./Icon-DjSpvw1b.cjs");let n=require("vue");var r=(0,n.defineComponent)({__name:`Accordion`,props:{className:{},compact:{type:Boolean,default:!1},skin:{default:`borderless`}},setup(e){let t=e;(0,n.watchEffect)(()=>{t.skin&&![`borderless`,`outlined`,`beige`,`blue`].includes(t.skin)&&console.warn(`Invalid prop: Expected "skin" to be one of ['borderless', 'outlined', 'beige', 'blue'], but got ${t.skin}`)});let r=(0,n.ref)(null),i=(0,n.computed)(()=>[t.className,`pkt-accordion`,t.compact&&`pkt-accordion--compact`,t.skin&&`pkt-accordion--${t.skin}`].filter(Boolean).join(` `));return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{class:(0,n.normalizeClass)(i.value),ref_key:`accordionRef`,ref:r},[(0,n.renderSlot)(e.$slots,`default`)],2))}}),i=[`aria-controls`,`aria-expanded`,`id`,`open`],a=[`aria-labelledby`,`id`],o=[`id`],s=(0,n.defineComponent)({__name:`AccordionItem`,props:{title:{default:``},className:{},id:{},defaultOpen:{type:Boolean,default:!1},toggleProps:{},skin:{},compact:{type:Boolean}},setup(e){let r=e,s=(0,n.ref)(r.defaultOpen??!1),c=(0,n.computed)(()=>r.toggleProps?.isOpen??s.value),l=e=>e??void 0,u=e=>{e.preventDefault(),r.toggleProps!==void 0&&r.toggleProps.onToggleClick(r.id),s.value=!c.value},d=(0,n.computed)(()=>[r.className,`pkt-accordion-item`,r.skin&&`pkt-accordion-item--${r.skin}`,r.compact&&`pkt-accordion-item--compact`,{"pkt-accordion-item--open":c.value}]);return(r,f)=>((0,n.openBlock)(),(0,n.createElementBlock)(`details`,{"aria-controls":`pkt-accordion-item-content-${e.id}`,"aria-expanded":(0,n.unref)(c),class:(0,n.normalizeClass)(d.value),id:`pkt-accordion-item-header-${e.id}`,open:e.toggleProps?l(e.toggleProps.isOpen):l((0,n.unref)(s))},[(0,n.createElementVNode)(`summary`,{"aria-labelledby":`pkt-accordion-item-header-${e.id}`,class:`pkt-accordion-item__title`,id:`pkt-accordion-item-summary-${e.id}`,onClick:u},[(0,n.createTextVNode)((0,n.toDisplayString)(e.title)+` `,1),(0,n.createVNode)(t.t,{name:`chevron-thin-down`,class:`pkt-accordion-item__icon`,"aria-hidden":`true`})],8,a),(0,n.createElementVNode)(`div`,{id:`pkt-accordion-item-content-${e.id}`,role:`region`,class:`pkt-accordion-item__content`},[(0,n.renderSlot)(r.$slots,`default`)],8,o)],10,i))}}),c={install(t){e.t(t,r),e.t(t,s)}};e.r(c),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return c}});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { r as t, t as n } from "./plugins-
|
|
3
|
-
import { t as r } from "./Icon-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { r as t, t as n } from "./plugins-BMluE7b5.js";
|
|
3
|
+
import { t as r } from "./Icon-D5RKL2ZQ.js";
|
|
4
4
|
import { createBlock as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, openBlock as l, renderSlot as u, resolveComponent as d, toDisplayString as f, withCtx as p } from "vue";
|
|
5
5
|
//#region src/components/backlink/BackLink.vue
|
|
6
6
|
var m = {
|
|
@@ -43,7 +43,7 @@ function y(e, t, n, r, m, y) {
|
|
|
43
43
|
_: 3
|
|
44
44
|
}, 8, ["to"]))]);
|
|
45
45
|
}
|
|
46
|
-
var b =
|
|
46
|
+
var b = /*#__PURE__*/ e(m, [["render", y]]), x = { install(e) {
|
|
47
47
|
n(e, b);
|
|
48
48
|
} };
|
|
49
49
|
t(x);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs"),t=require("./plugins-DORsRGoa.cjs"),n=require("./Icon-DjSpvw1b.cjs");let r=require("vue");var i={name:`PktBackLink`,components:{PktIcon:n.t},props:{text:{type:String,required:!1,default:`oslo.kommune.no`},href:{type:String,required:!1,default:`https://www.oslo.kommune.no`}}},a={class:`pkt-back-link`,"aria-label":`Gå tilbake et steg`},o=[`href`],s={class:`pkt-back-link__text`},c={class:`pkt-back-link__text`};function l(e,t,n,i,l,u){let d=(0,r.resolveComponent)(`PktIcon`),f=(0,r.resolveComponent)(`router-link`);return(0,r.openBlock)(),(0,r.createElementBlock)(`nav`,a,[n.href.startsWith(`http`)||n.href.startsWith(`mailto`)?((0,r.openBlock)(),(0,r.createElementBlock)(`a`,{key:0,href:n.href,class:`pkt-link pkt-link--icon-left`},[(0,r.createVNode)(d,{class:`pkt-back-link__icon pkt-icon pkt-link__icon`,name:`chevron-thin-left`}),(0,r.createElementVNode)(`span`,s,[(0,r.renderSlot)(e.$slots,`default`,{},()=>[(0,r.createTextVNode)((0,r.toDisplayString)(n.text),1)])])],8,o)):((0,r.openBlock)(),(0,r.createBlock)(f,{key:1,to:n.href,class:`pkt-link pkt-link--icon-left`},{default:(0,r.withCtx)(()=>[(0,r.createVNode)(d,{class:`pkt-back-link__icon pkt-icon pkt-link__icon`,name:`chevron-thin-left`}),(0,r.createElementVNode)(`span`,c,[(0,r.renderSlot)(e.$slots,`default`,{},()=>[(0,r.createTextVNode)((0,r.toDisplayString)(n.text),1)])])]),_:3},8,[`to`]))])}var u=e.t(i,[[`render`,l]]),d={install(e){t.t(e,u)}};t.r(d),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return d}});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { r as t, t as n } from "./plugins-
|
|
3
|
-
import { t as r } from "./Icon-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { r as t, t as n } from "./plugins-BMluE7b5.js";
|
|
3
|
+
import { t as r } from "./Icon-D5RKL2ZQ.js";
|
|
4
4
|
import { Fragment as i, createBlock as a, createElementBlock as o, createElementVNode as s, createVNode as c, openBlock as l, renderList as u, resolveComponent as d, resolveDynamicComponent as f, toDisplayString as p, withCtx as m } from "vue";
|
|
5
5
|
//#region src/components/breadcrumbs/Breadcrumbs.vue
|
|
6
6
|
var h = {
|
|
@@ -65,7 +65,7 @@ function S(e, t, n, r, h, S) {
|
|
|
65
65
|
_: 1
|
|
66
66
|
}, 8, ["to", "href"]))])]);
|
|
67
67
|
}
|
|
68
|
-
var C =
|
|
68
|
+
var C = /*#__PURE__*/ e(h, [["render", S]]), w = { install(e) {
|
|
69
69
|
n(e, C);
|
|
70
70
|
} };
|
|
71
71
|
t(w);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs"),t=require("./plugins-DORsRGoa.cjs"),n=require("./Icon-DjSpvw1b.cjs");let r=require("vue");var i={name:`PktBreadcrumbs`,components:{PktIcon:n.t},props:{breadcrumbs:{type:Array,required:!0,default:()=>[]},navigationType:{type:String,default:`anchor`,validator:e=>[`router`,`anchor`].includes(e)}},computed:{linkElement(){return this.navigationType===`router`?`router-link`:`a`},backLink(){return this.displayedBreadcrumbs[this.displayedBreadcrumbs.length-2]},displayedBreadcrumbs(){return this.breadcrumbs}}},a={"aria-label":`brødsmulemeny`,class:`pkt-breadcrumbs`},o={class:`pkt-breadcrumbs__list pkt-breadcrumbs--desktop`},s={key:0,class:`pkt-breadcrumbs__label`,"aria-current":`true`},c={class:`pkt-breadcrumbs__text`},l={class:`pkt-breadcrumbs__text`},u={class:`pkt-breadcrumbs__text`};function d(e,t,n,i,d,f){let p=(0,r.resolveComponent)(`PktIcon`);return(0,r.openBlock)(),(0,r.createElementBlock)(`nav`,a,[(0,r.createElementVNode)(`ol`,o,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(f.displayedBreadcrumbs,(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)(`li`,{key:`breadcrumb-${t}`,class:`pkt-breadcrumbs__item`},[t===f.displayedBreadcrumbs.length-1?((0,r.openBlock)(),(0,r.createElementBlock)(`span`,s,[(0,r.createElementVNode)(`span`,c,(0,r.toDisplayString)(e.text),1)])):((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(f.linkElement),{key:1,to:n.navigationType===`router`?e.href:null,href:n.navigationType===`anchor`?e.href:null,class:`pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link`},{default:(0,r.withCtx)(()=>[(0,r.createVNode)(p,{class:`pkt-icon pkt-breadcrumbs__icon pkt-link__icon`,name:`chevron-thin-right`}),(0,r.createElementVNode)(`span`,l,(0,r.toDisplayString)(e.text),1)]),_:2},1032,[`to`,`href`]))]))),128))]),(0,r.createElementVNode)(`template`,null,[((0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(f.linkElement),{to:n.navigationType===`router`?f.backLink.href:null,href:n.navigationType===`anchor`?f.backLink.href:null,class:`pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile`},{default:(0,r.withCtx)(()=>[(0,r.createVNode)(p,{class:`pkt-back-link__icon pkt-icon pkt-link__icon`,name:`chevron-thin-left`}),(0,r.createElementVNode)(`span`,u,(0,r.toDisplayString)(f.backLink.text),1)]),_:1},8,[`to`,`href`]))])])}var f=e.t(i,[[`render`,d]]),p={install(e){t.t(e,f)}};t.r(p),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return p}});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { r as t, t as n } from "./plugins-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { r as t, t as n } from "./plugins-BMluE7b5.js";
|
|
3
3
|
import { createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, mergeProps as s, normalizeClass as c, openBlock as l, toDisplayString as u, vModelCheckbox as d, withDirectives as f } from "vue";
|
|
4
4
|
//#region src/components/checkbox/Checkbox.vue
|
|
5
5
|
var p = {
|
|
@@ -96,7 +96,7 @@ function b(e, t, n, p, b, x) {
|
|
|
96
96
|
}, [o(u(n.label) + " ", 1), n.checkHelptext ? (l(), i("div", y, u(n.checkHelptext), 1)) : r("", !0)], 10, v)) : r("", !0)
|
|
97
97
|
], 2)]);
|
|
98
98
|
}
|
|
99
|
-
var x =
|
|
99
|
+
var x = /*#__PURE__*/ e(p, [["render", b]]), S = { install(e) {
|
|
100
100
|
n(e, x);
|
|
101
101
|
} };
|
|
102
102
|
t(S);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./_plugin-vue_export-helper-BTmtiIyf.cjs"),t=require("./plugins-DORsRGoa.cjs");let n=require("vue");var r={name:`PktCheckbox`,props:{id:{type:String,required:!0},defaultChecked:{type:Boolean,default:!1},modelValue:{type:[Boolean,Array],default:!1},hasTile:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},label:{type:String,required:!1},labelPosition:{type:String,default:`right`},hideLabel:{type:Boolean,default:!1},checkHelptext:{type:String,required:!1},hasError:{type:Boolean,default:!1},isSwitch:{type:Boolean,default:!1}},emits:[`update:modelValue`,`onChange`],computed:{computedChecked:{get(){return this.modelValue||this.defaultChecked},set(e){this.$emit(`update:modelValue`,e),this.$emit(`onChange`,e)}}}},i={class:`pkt-input-check`},a=[`for`],o={key:0,class:`pkt-input-check__input-helptext`},s=[`role`,`id`,`disabled`],c=[`for`],l={key:0,class:`pkt-input-check__input-helptext`};function u(e,t,r,u,d,f){return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,i,[(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`pkt-input-check__input`,{"pkt-input-check__input--tile":r.hasTile},{"pkt-input-check__input--tile-disabled":r.disabled&&r.hasTile}])},[r.label&&r.labelPosition===`left`?((0,n.openBlock)(),(0,n.createElementBlock)(`label`,{key:0,class:(0,n.normalizeClass)([`pkt-input-check__input-label`,{"pkt-sr-only":r.hideLabel}]),for:r.id},[(0,n.createTextVNode)((0,n.toDisplayString)(r.label)+` `,1),r.checkHelptext?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,o,(0,n.toDisplayString)(r.checkHelptext),1)):(0,n.createCommentVNode)(``,!0)],10,a)):(0,n.createCommentVNode)(``,!0),(0,n.withDirectives)((0,n.createElementVNode)(`input`,(0,n.mergeProps)(e.$attrs,{class:[`pkt-input-check__input-checkbox`,{"pkt-input-check__input-checkbox--error":r.hasError}],type:`checkbox`,role:r.isSwitch?`switch`:`checkbox`,id:r.id,"onUpdate:modelValue":t[0]||=e=>f.computedChecked=e,disabled:r.disabled}),null,16,s),[[n.vModelCheckbox,f.computedChecked]]),r.label&&r.labelPosition===`right`?((0,n.openBlock)(),(0,n.createElementBlock)(`label`,{key:1,class:(0,n.normalizeClass)([`pkt-input-check__input-label`,{"pkt-sr-only":r.hideLabel}]),for:r.id},[(0,n.createTextVNode)((0,n.toDisplayString)(r.label)+` `,1),r.checkHelptext?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,l,(0,n.toDisplayString)(r.checkHelptext),1)):(0,n.createCommentVNode)(``,!0)],10,c)):(0,n.createCommentVNode)(``,!0)],2)])}var d=e.t(r,[[`render`,u]]),f={install(e){t.t(e,d)}};t.r(f),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return f}});
|
|
@@ -3,26 +3,18 @@ interface IAccordionItemProps {
|
|
|
3
3
|
compact?: boolean;
|
|
4
4
|
skin?: string;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
refs: {
|
|
12
|
-
accordionRef: HTMLDivElement;
|
|
13
|
-
};
|
|
14
|
-
rootEl: HTMLDivElement;
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
15
9
|
};
|
|
16
|
-
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<IAccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IAccordionItemProps> & Readonly<{}>, {
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<IAccordionItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IAccordionItemProps> & Readonly<{}>, {
|
|
18
11
|
skin: string;
|
|
19
12
|
compact: boolean;
|
|
20
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
24
16
|
export default _default;
|
|
25
|
-
type
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
18
|
new (): {
|
|
27
19
|
$slots: S;
|
|
28
20
|
};
|
|
@@ -26,22 +26,18 @@ interface IPktAccordionItem {
|
|
|
26
26
|
skin?: 'borderless' | 'outlined' | 'beige' | 'blue';
|
|
27
27
|
compact?: boolean;
|
|
28
28
|
}
|
|
29
|
-
declare
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
default?(_: {}): any;
|
|
33
|
-
};
|
|
34
|
-
refs: {};
|
|
35
|
-
rootEl: HTMLDetailsElement;
|
|
29
|
+
declare var __VLS_6: {};
|
|
30
|
+
type __VLS_Slots = {} & {
|
|
31
|
+
default?: (props: typeof __VLS_6) => any;
|
|
36
32
|
};
|
|
37
|
-
|
|
38
|
-
declare const __VLS_component: import('vue').DefineComponent<IPktAccordionItem, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IPktAccordionItem> & Readonly<{}>, {
|
|
33
|
+
declare const __VLS_base: import('vue').DefineComponent<IPktAccordionItem, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IPktAccordionItem> & Readonly<{}>, {
|
|
39
34
|
title: string;
|
|
40
35
|
defaultOpen: boolean;
|
|
41
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
42
|
-
declare const
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
43
39
|
export default _default;
|
|
44
|
-
type
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
41
|
new (): {
|
|
46
42
|
$slots: S;
|
|
47
43
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
skin: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
default: string;
|
|
@@ -60,4 +62,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
60
62
|
ariaLive: string;
|
|
61
63
|
compact: boolean;
|
|
62
64
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
63
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
text: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
required: false;
|
|
@@ -49,4 +51,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
51
|
path: string;
|
|
50
52
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
51
53
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
breadcrumbs: {
|
|
3
5
|
type: ArrayConstructor;
|
|
4
6
|
required: true;
|
|
@@ -53,4 +55,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
53
55
|
path: string;
|
|
54
56
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
55
57
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
56
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
disabled: {
|
|
3
5
|
type: BooleanConstructor;
|
|
4
6
|
required: false;
|
|
@@ -150,4 +152,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
150
152
|
path: string;
|
|
151
153
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
152
154
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
153
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
id: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
required: true;
|
|
@@ -106,4 +108,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
106
108
|
hasError: boolean;
|
|
107
109
|
isSwitch: boolean;
|
|
108
110
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
109
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
columnOne: {
|
|
3
5
|
type: ObjectConstructor;
|
|
4
6
|
required: true;
|
|
@@ -125,4 +127,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
125
127
|
path: string;
|
|
126
128
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
127
129
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
128
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
links: {
|
|
3
5
|
type: ArrayConstructor;
|
|
4
6
|
default: () => any[];
|
|
@@ -104,4 +106,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
104
106
|
path: string;
|
|
105
107
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
106
108
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
107
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
logoLink: {
|
|
3
5
|
type: (StringConstructor | FunctionConstructor)[];
|
|
4
6
|
required: false;
|
|
@@ -294,4 +296,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
294
296
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
295
297
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
296
298
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
297
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
forId: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
required: true;
|
|
@@ -41,4 +43,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
41
43
|
}>> & Readonly<{
|
|
42
44
|
onToggleHelpText?: (...args: any[]) => any;
|
|
43
45
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
44
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
name: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
required: true;
|
|
@@ -22,4 +24,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
24
|
name: string;
|
|
23
25
|
path: string;
|
|
24
26
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
forId: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
required: true;
|
|
@@ -295,4 +297,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
295
297
|
onToggleHelpText?: (...args: any[]) => any;
|
|
296
298
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
297
299
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
298
|
-
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
4
|
skin: {
|
|
3
5
|
type: StringConstructor;
|
|
4
6
|
default: string;
|
|
@@ -83,4 +85,3 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
83
85
|
path: string;
|
|
84
86
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
85
87
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
86
|
-
export default _default;
|