@iqrf/iqrf-vue-ui 0.0.1-beta.13 → 0.0.1-beta.14
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/dist/en-B-0570V3.js +7 -0
- package/dist/en-B-0570V3.js.map +1 -0
- package/dist/en-iQxT2WwS.cjs +2 -0
- package/dist/en-iQxT2WwS.cjs.map +1 -0
- package/dist/iqrf-vue-ui.cjs +2 -0
- package/dist/iqrf-vue-ui.cjs.map +1 -0
- package/dist/iqrf-vue-ui.js +630 -679
- package/dist/iqrf-vue-ui.js.map +1 -1
- package/dist/locales.cjs +2 -0
- package/dist/locales.cjs.map +1 -0
- package/dist/locales.d.ts +2 -0
- package/dist/locales.js +9 -0
- package/dist/locales.js.map +1 -0
- package/dist/src/components/IBooleanIcon/IBooleanIcon.vue.d.ts +28 -0
- package/dist/src/components/IBooleanIcon/IBooleanIcon.vue.d.ts.map +1 -0
- package/dist/src/components/IBooleanIcon/index.d.ts +17 -0
- package/dist/src/components/IBooleanIcon/index.d.ts.map +1 -0
- package/dist/src/components/ILanguage/ILanguageBadge.vue.d.ts +15 -0
- package/dist/src/components/ILanguage/ILanguageBadge.vue.d.ts.map +1 -0
- package/dist/src/components/ILanguage/ILanguageSelect.vue.d.ts.map +1 -1
- package/dist/src/components/ILanguage/index.d.ts +16 -0
- package/dist/src/components/ILanguage/index.d.ts.map +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/locales/cs.json.d.ts +57 -0
- package/dist/src/locales/index.d.ts +18 -0
- package/dist/src/locales/index.d.ts.map +1 -0
- package/package.json +10 -5
- package/dist/iqrf-vue-ui.umd.cjs +0 -2
- package/dist/iqrf-vue-ui.umd.cjs.map +0 -1
- /package/dist/{index.d.ts → iqrf-vue-ui.d.ts} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const e = { actions: { add: "Add", apply: "Apply", block: "Block", cancel: "Cancel", close: "Close", confirm: "Confirm", delete: "Delete", disable: "Disable", download: "Download", edit: "Edit", enable: "Enable", export: "Export", import: "Import", invite: "Invite", next: "Next", previous: "Previous", reload: "Reload", resend: "Resend", reset: "Reset", restart: "Restart", save: "Save", showDetails: "Show details", skip: "Skip", start: "Start", stop: "Stop", unblock: "Unblock", upload: "Upload" }, components: { dataTable: { filter: "Filter columns", search: "Search" }, decHexNumber: { decimal: "Switch to decimal", hexadecimal: "Switch to hexadecimal" }, languageSelect: { label: "Language" }, passwordInput: { label: "Password" } }, locales: { cs: "Czech", en: "English" } }, a = {
|
|
2
|
+
$iqrf: e
|
|
3
|
+
};
|
|
4
|
+
export {
|
|
5
|
+
a as e
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=en-B-0570V3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-B-0570V3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e={actions:{add:"Add",apply:"Apply",block:"Block",cancel:"Cancel",close:"Close",confirm:"Confirm",delete:"Delete",disable:"Disable",download:"Download",edit:"Edit",enable:"Enable",export:"Export",import:"Import",invite:"Invite",next:"Next",previous:"Previous",reload:"Reload",resend:"Resend",reset:"Reset",restart:"Restart",save:"Save",showDetails:"Show details",skip:"Skip",start:"Start",stop:"Stop",unblock:"Unblock",upload:"Upload"},components:{dataTable:{filter:"Filter columns",search:"Search"},decHexNumber:{decimal:"Switch to decimal",hexadecimal:"Switch to hexadecimal"},languageSelect:{label:"Language"},passwordInput:{label:"Password"}},locales:{cs:"Czech",en:"English"}},a={$iqrf:e};exports.enIqrf=a;
|
|
2
|
+
//# sourceMappingURL=en-iQxT2WwS.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-iQxT2WwS.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@mdi/js"),K=require("vue-i18n"),oe=require("vuetify/locale"),ne=require("./en-iQxT2WwS.cjs"),re=require("is-fqdn"),y=require("zod"),e=require("vue"),T=require("vuetify/components/VBtn"),D=require("vuetify/directives"),w=require("vuetify/components/VIcon"),O=require("vuetify"),$=require("vuetify/components/VCard"),le=require("vuetify/components/VCheckbox"),j=require("vuetify/components/VDivider"),E=require("vuetify/components/VGrid"),S=require("vuetify/components/VList"),ae=require("vuetify/components/VMenu"),ie=require("vuetify/components/VDataTable"),se=require("vuetify/components/VPagination"),ce=require("vuetify/components/VSkeletonLoader"),ue=require("vuetify/components/VTextField"),I=require("vuetify/components/VToolbar"),de=require("vuetify/framework"),pe=require("vuetify/components/VDialog"),me=require("vuetify/components/VChip"),_=require("js-base64"),Q=require("vuetify/components/VSelect"),fe=require("vuetify/components/VNumberInput"),J=require("vuetify/components"),ge=require("md5"),he=require("vuetify/components/VAvatar"),ve={$vuetify:oe.en,...ne.enIqrf},f=K.createI18n({legacy:!1,locale:"en",messages:{en:ve}});var h=(o=>(o.Add="add",o.Apply="apply",o.Block="block",o.Cancel="cancel",o.Close="close",o.Confirm="confirm",o.Custom="custom",o.Delete="delete",o.Disable="disable",o.Download="download",o.Edit="edit",o.Enable="enable",o.Export="export",o.Import="import",o.Invite="invite",o.Next="next",o.Previous="previous",o.Reload="reload",o.Resend="resend",o.Reset="reset",o.Restart="restart",o.Save="save",o.ShowDetails="show-details",o.Skip="skip",o.Start="start",o.Stop="stop",o.Unblock="unblock",o.Upload="upload",o))(h||{});class k{static getColor(t){switch(t){case"add":case"apply":case"confirm":case"enable":case"start":case"unblock":return"green";case"cancel":case"close":case"previous":case"reset":case"skip":return"grey-darken-2";case"block":case"disable":case"delete":case"stop":return"red";case"edit":case"export":case"invite":return"info";default:return"primary"}}static getIcon(t){switch(t){case"add":return s.mdiPlus;case"apply":return s.mdiCheckboxMarkedOutline;case"block":return s.mdiLock;case"cancel":return s.mdiCancel;case"close":return s.mdiWindowClose;case"confirm":return s.mdiCheckCircleOutline;case"delete":return s.mdiDelete;case"disable":return s.mdiStopCircleOutline;case"download":return s.mdiDownload;case"edit":return s.mdiPencil;case"enable":return s.mdiPlayCircleOutline;case"export":return s.mdiExport;case"import":return s.mdiImport;case"invite":return s.mdiSend;case"next":return s.mdiArrowRightThick;case"previous":return s.mdiArrowLeftThick;case"reload":return s.mdiReload;case"resend":return s.mdiSend;case"reset":return s.mdiRestore;case"restart":return s.mdiRestart;case"save":return s.mdiContentSave;case"show-details":return s.mdiInformationBox;case"skip":return s.mdiSkipNext;case"start":return s.mdiPlay;case"stop":return s.mdiStop;case"unblock":return s.mdiLockOff;case"upload":return s.mdiUpload;default:return s.mdiHelp}}static getText(t){switch(t){case"add":return f.global.t("$iqrf.actions.add");case"apply":return f.global.t("$iqrf.actions.apply");case"block":return f.global.t("$iqrf.actions.block");case"cancel":return f.global.t("$iqrf.actions.cancel");case"close":return f.global.t("$iqrf.actions.close");case"confirm":return f.global.t("$iqrf.actions.confirm");case"delete":return f.global.t("$iqrf.actions.delete");case"disable":return f.global.t("$iqrf.actions.disable");case"download":return f.global.t("$iqrf.actions.download");case"enable":return f.global.t("$iqrf.actions.enable");case"edit":return f.global.t("$iqrf.actions.edit");case"export":return f.global.t("$iqrf.actions.export");case"import":return f.global.t("$iqrf.actions.import");case"invite":return f.global.t("$iqrf.actions.invite");case"next":return f.global.t("$iqrf.actions.next");case"previous":return f.global.t("$iqrf.actions.previous");case"reload":return f.global.t("$iqrf.actions.reload");case"resend":return f.global.t("$iqrf.actions.resend");case"reset":return f.global.t("$iqrf.actions.reset");case"restart":return f.global.t("$iqrf.actions.restart");case"save":return f.global.t("$iqrf.actions.save");case"show-details":return f.global.t("$iqrf.actions.showDetails");case"skip":return f.global.t("$iqrf.actions.skip");case"start":return f.global.t("$iqrf.actions.start");case"stop":return f.global.t("$iqrf.actions.stop");case"unblock":return f.global.t("$iqrf.actions.unblock");case"upload":return f.global.t("$iqrf.actions.upload");default:return""}}}var C=(o=>(o.Action="action",o.Created="created",o.Error="error",o.Expired="expired",o.FetchFailed="fetchFailed",o.Idle="idle",o.Loading="loading",o.NotFound="notFound",o.Ready="ready",o.Reloading="reloading",o.Success="success",o))(C||{});class F{static simpleTableSkeletonLoader(t){return t<=0?"":`heading${", divider, heading".repeat(t-1)}`}static dataTableRowsSkeletonLoader(t){return t<1&&(t=5),`text${", divider, text".repeat(t-1)}`}static dataTableMobileRowsSkeletonLoader(t,r){return t<1&&(t=5),`text@${r.toString()}${`, divider, text@${r.toString()}`.repeat(t-1)}`}}var B=(o=>(o.Czech="cs",o.English="en",o))(B||{}),A=(o=>(o.Light="light",o.Dark="dark",o))(A||{});const z=2147483647,x=36,Z=1,H=26,ke=38,be=700,ye=72,Ce=128,Ve="-",$e=/[^\0-\x7F]/,Be=/[\x2E\u3002\uFF0E\uFF61]/g,xe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=x-Z,V=Math.floor,L=String.fromCharCode;function W(o){throw new RangeError(xe[o])}function we(o,t){const r=[];let n=o.length;for(;n--;)r[n]=t(o[n]);return r}function qe(o,t){const r=o.split("@");let n="";r.length>1&&(n=r[0]+"@",o=r[1]),o=o.replace(Be,".");const a=o.split("."),l=we(a,t).join(".");return n+l}function Se(o){const t=[];let r=0;const n=o.length;for(;r<n;){const a=o.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){const l=o.charCodeAt(r++);(l&64512)==56320?t.push(((a&1023)<<10)+(l&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}const G=function(o,t){return o+22+75*(o<26)-((t!=0)<<5)},Ie=function(o,t,r){let n=0;for(o=r?V(o/be):o>>1,o+=V(o/t);o>M*H>>1;n+=x)o=V(o/M);return V(n+(M+1)*o/(o+ke))},Ne=function(o){const t=[];o=Se(o);const r=o.length;let n=Ce,a=0,l=ye;for(const i of o)i<128&&t.push(L(i));const c=t.length;let u=c;for(c&&t.push(Ve);u<r;){let i=z;for(const p of o)p>=n&&p<i&&(i=p);const d=u+1;i-n>V((z-a)/d)&&W("overflow"),a+=(i-n)*d,n=i;for(const p of o)if(p<n&&++a>z&&W("overflow"),p===n){let m=a;for(let g=x;;g+=x){const b=g<=l?Z:g>=l+H?H:g-l;if(m<b)break;const q=m-b,R=x-b;t.push(L(G(b+q%R,0))),m=V(q/R)}t.push(L(G(m,0))),l=Ie(a,d,u===c),a=0,++u}++a,++n}return t.join("")},Pe=function(o){return qe(o,function(t){return $e.test(t)?"xn--"+Ne(t):t})};class v{static required(t,r){return v.isEmpty(t)||t===!1?r:!0}static requiredIf(t,r,n){return r?v.required(t,n):!0}static min(t,r,n){return t>=r||n}static max(t,r,n){return t<=r||n}static between(t,r,n,a){return t>=r&&t<=n||a}static len(t,r,n){return t.length===r||n}static minLen(t,r,n){return t.length>=r||n}static maxLen(t,r,n){return t.length<=r||n}static betweenLen(t,r,n,a){return t.length>=r&&t.length<=n||a}static email(t,r){return v.isEmpty(t)?!0:y.z.email().safeParse(Pe(t)).success||r}static integer(t,r){return Number.isInteger(t)||r}static numeric(t,r){return typeof t=="number"&&!Number.isNaN(t)?!0:r}static ipv4Address(t,r){return v.isEmpty(t)||y.z.ipv4().safeParse(t).success?!0:r}static ipv6Address(t,r){return v.isEmpty(t)||y.z.ipv6().safeParse(t).success?!0:r}static host(t,r){if(v.isEmpty(t))return!0;const n=y.z.ipv4(),a=y.z.ipv6();return n.safeParse(t).success||a.safeParse(t).success||t==="localhost"||re(t)||r}static uuid(t,r){return v.isEmpty(t)?!0:y.z.uuid().safeParse(t).success||r}static json(t,r){if(v.isEmpty(t))return!0;try{return JSON.parse(t),!0}catch{return r}}static regex(t,r,n){return v.isEmpty(t)?!0:r.test(t)||n}static url(t,r,n=void 0){return v.isEmpty(t)?!0:y.z.url({protocol:n}).safeParse(t).success||r}static webappUserPassword(t,r){return v.isEmpty(t)?!0:v.regex(t,/^[\x20-\x7E]{15,64}$/,r)}static isEmpty(t){return t==null||t===!1||t instanceof File&&t.size===0||Array.isArray(t)&&t.length===0||(Object.getPrototypeOf(t)===Object.prototype||Object.getPrototypeOf(t)===null)&&Object.keys(t).length===0||typeof t=="string"&&t.trim().length===0}}const U=e.defineComponent({__name:"IActionBtn",props:{action:{default:h.Custom},color:{},disabled:{type:Boolean,default:!1},icon:{},text:{},tooltip:{},containerType:{default:"card"}},emits:["click"],setup(o,{emit:t}){const r=t,n=o,a=e.computed(()=>n.color??k.getColor(n.action)),l=e.computed(()=>n.icon??k.getIcon(n.action)),c=e.computed(()=>{if(n.containerType!=="card-title")return n.text??k.getText(n.action)}),u=e.computed(()=>n.containerType==="card"?"elevated":"flat"),i=e.computed(()=>({location:"bottom",text:n.tooltip??k.getText(n.action),disabled:n.containerType==="card"}));return(d,p)=>e.withDirectives((e.openBlock(),e.createBlock(T.VBtn,{color:a.value,disabled:d.disabled,"prepend-icon":d.containerType==="card"?l.value:void 0,icon:d.containerType==="card-title"?l.value:void 0,variant:u.value,text:c.value,onClick:p[0]||(p[0]=m=>r("click",m))},null,8,["color","disabled","prepend-icon","icon","variant","text"])),[[D.Tooltip,i.value]])}}),Te=e.defineComponent({__name:"IBooleanIcon",props:{value:{type:[Boolean,null],default:null,required:!1},size:{type:String,default:"large",required:!1}},setup(o){const t=o,r=e.computed(()=>t.value===null||t.value===void 0?s.mdiHelp:t.value?s.mdiCheck:s.mdiClose),n=e.computed(()=>t.value===null||t.value===void 0?"warning":t.value?"success":"red");return(a,l)=>(e.openBlock(),e.createBlock(w.VIcon,{color:n.value,icon:r.value,size:o.size},null,8,["color","icon","size"]))}}),De=e.defineComponent({__name:"ICard",props:{action:{default:h.Custom},actionColor:{default:"default"},bottomMargin:{type:Boolean,default:!1},headerColor:{default:"default"}},setup(o){const t=o,r=de.useTheme(),n=e.computed(()=>{let l=t.actionColor;const c=r.name.value===A.Light;return l==="default"&&(l=c?"grey-lighten-2":"grey-darken-3"),`bg-${l}`}),a=e.computed(()=>{let l=t.headerColor;return t.action&&l==="default"&&(l=k.getColor(t.action)),`bg-${l==="default"?"primary":l}`});return(l,c)=>(e.openBlock(),e.createBlock($.VCard,{class:e.normalizeClass(l.bottomMargin?"mb-4":null)},{default:e.withCtx(()=>[l.$slots.title||l.$slots.titleActions?(e.openBlock(),e.createBlock(I.VToolbar,{key:0,class:e.normalizeClass(a.value),density:"compact"},e.createSlots({default:e.withCtx(()=>[l.$slots.title?(e.openBlock(),e.createBlock(I.VToolbarTitle,{key:0},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"title",{},void 0,!0)]),_:3})):e.createCommentVNode("",!0),l.$slots.titleActions?(e.openBlock(),e.createBlock(I.VToolbarItems,{key:1},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"titleActions",{},void 0,!0)]),_:3})):e.createCommentVNode("",!0)]),_:2},[l.$slots.extension?{name:"extension",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"extension",{},void 0,!0)]),key:"0"}:void 0]),1032,["class"])):e.createCommentVNode("",!0),l.$slots.rawBody?e.renderSlot(l.$slots,"rawBody",{key:1},void 0,!0):(e.openBlock(),e.createBlock($.VCardText,{key:2,class:"card-text"},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},void 0,!0)]),_:3})),l.$slots.actions?(e.openBlock(),e.createBlock($.VCardActions,{key:3,class:e.normalizeClass(n.value)},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"actions",{},void 0,!0)]),_:3},8,["class"])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}}),ze=(o,t)=>{const r=o.__vccOpts||o;for(const[n,a]of t)r[n]=a;return r},X=ze(De,[["__scopeId","data-v-4933c579"]]),N=e.defineComponent({__name:"ICardActionBtn",props:{action:{default:h.Custom},color:{},disabled:{type:Boolean,default:!1},icon:{},text:{}},emits:["click"],setup(o,{emit:t}){const r=t,n=o,a=e.computed(()=>n.color?n.color:[h.Cancel,h.Close,h.Previous,h.Reset,h.Skip].includes(n.action)?"grey-darken-2":"primary"),l=e.computed(()=>n.icon?n.icon:n.action===h.Custom?s.mdiHelp:k.getIcon(n.action)),c=e.computed(()=>n.text?n.text:k.getText(n.action));return(u,i)=>(e.openBlock(),e.createBlock(T.VBtn,{color:a.value,disabled:u.disabled,"prepend-icon":l.value,variant:"elevated",text:c.value,onClick:i[0]||(i[0]=d=>r("click",d))},null,8,["color","disabled","prepend-icon","text"]))}}),Me=e.defineComponent({__name:"ICardTitleActionBtn",props:{action:{default:h.Custom},color:{default:"primary"},icon:{},tooltip:{}},emits:["click"],setup(o,{emit:t}){const r=t,n=o,a=e.computed(()=>n.icon?n.icon:n.action===h.Custom?s.mdiHelp:k.getIcon(n.action)),l=e.computed(()=>n.tooltip?n.tooltip:k.getText(n.action));return(c,u)=>e.withDirectives((e.openBlock(),e.createBlock(T.VBtn,{color:n.color,icon:a.value,variant:"flat",onClick:u[0]||(u[0]=i=>r("click",i))},null,8,["color","icon"])),[[D.Tooltip,l.value,"bottom"]])}}),Y=e.defineComponent({__name:"IDataTableColumnFilter",props:e.mergeModels({options:{type:Array,required:!0}},{modelValue:{type:Array,default:()=>[],required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),r=o,n=e.ref(!1),a=e.ref([]);e.watch(n,(p,m)=>{p&&!m&&(a.value=[...t.value])});function l(p){const m=a.value.indexOf(p.key);m===-1?a.value.push(p.key):a.value.splice(m,1)}function c(){t.value=[],i()}function u(){t.value=[...a.value],i()}function i(){n.value=!1}function d(p){return a.value.includes(p)}return(p,m)=>(e.openBlock(),e.createBlock(ae.VMenu,{modelValue:n.value,"onUpdate:modelValue":m[3]||(m[3]=g=>n.value=g),"close-on-content-click":!1,location:"start"},{activator:e.withCtx(({props:g})=>[e.createVNode(T.VBtn,e.mergeProps(g,{color:"grey-lighten-2",variant:"flat"}),{default:e.withCtx(()=>[e.createVNode(w.VIcon,{icon:e.unref(s.mdiFilterVariant),size:"large"},null,8,["icon"])]),_:1},16)]),default:e.withCtx(()=>[e.createVNode($.VCard,null,{default:e.withCtx(()=>[e.createVNode($.VCardTitle,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(p.$t("$iqrf.components.dataTable.filter")),1)]),_:1}),e.createVNode(j.VDivider),e.createVNode(S.VList,{density:"compact"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,g=>(e.openBlock(),e.createBlock(S.VListItem,{key:g.key,onClick:b=>l(g)},{default:e.withCtx(()=>[e.createVNode(S.VListItemTitle,null,{default:e.withCtx(()=>[e.createVNode(le.VCheckbox,{"model-value":d(g.key),label:g.title,"hide-details":"",density:"compact"},null,8,["model-value","label"])]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}),e.createVNode(j.VDivider),e.createVNode($.VCardActions,null,{default:e.withCtx(()=>[e.createVNode(N,{action:e.unref(h).Apply,onClick:m[0]||(m[0]=g=>u())},null,8,["action"]),e.createVNode(E.VSpacer),e.createVNode(N,{action:e.unref(h).Reset,onClick:m[1]||(m[1]=g=>c())},null,8,["action"]),e.createVNode(E.VSpacer),e.createVNode(N,{action:e.unref(h).Close,onClick:m[2]||(m[2]=g=>i())},null,8,["action"])]),_:1})]),_:1})]),_:1},8,["modelValue"]))}}),Le={key:0,class:"text-center pt-2"},Ee=e.defineComponent({__name:"IDataTable",props:{headers:{type:Array,required:!0},items:{type:Array,required:!0},loading:{type:Boolean,default:!1,required:!1},hover:{type:Boolean,default:!1,required:!1},dense:{type:Boolean,default:!1,required:!1},hidePagination:{type:Boolean,default:!1,required:!1},pageItems:{type:Number,required:!1,default:10},disableSearch:{type:Boolean,default:!1,required:!1},disableColumnFiltering:{type:Boolean,default:!1,required:!1},mobileDisplayMode:{type:[Boolean,null],default:null,required:!1}},setup(o){const t=o,{mobile:r}=O.useDisplay(),n=e.ref(""),a=t.headers.map(p=>({key:p.key,title:p.title})),l=e.ref([]),c=e.ref(1),u=e.computed(()=>l.value.length===0?t.headers:t.headers.filter(p=>l.value.includes(p.key))),i=e.computed(()=>!t.disableSearch||!t.disableColumnFiltering),d=e.computed(()=>t.mobileDisplayMode??r.value);return(p,m)=>(e.openBlock(),e.createBlock(ie.VDataTable,{page:c.value,"onUpdate:page":m[3]||(m[3]=g=>c.value=g),"items-per-page":o.pageItems,headers:u.value,"disable-sort":o.loading,items:o.items,"items-length":o.items.length,search:n.value,loading:o.loading,hover:o.hover,density:o.dense?"compact":"default",mobile:o.mobileDisplayMode??e.unref(r)},e.createSlots({bottom:e.withCtx(({pageCount:g})=>[o.items.length>0&&!o.hidePagination?(e.openBlock(),e.createElementBlock("div",Le,[e.createVNode(se.VPagination,{modelValue:c.value,"onUpdate:modelValue":m[2]||(m[2]=b=>c.value=b),length:g},null,8,["modelValue","length"])])):e.createCommentVNode("",!0)]),_:2},[i.value?{name:"top",fn:e.withCtx(()=>[e.createVNode(I.VToolbar,{density:"compact",color:"surface"},{default:e.withCtx(()=>[o.disableSearch?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ue.VTextField,{key:0,modelValue:n.value,"onUpdate:modelValue":m[0]||(m[0]=g=>n.value=g),class:"mr-1",label:p.$t("$iqrf.components.dataTable.search"),"prepend-inner-icon":e.unref(s.mdiMagnify),variant:"solo-filled",density:"compact",flat:"","hide-details":"","single-line":"",clearable:""},null,8,["modelValue","label","prepend-inner-icon"])),o.disableColumnFiltering?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Y,{key:1,modelValue:l.value,"onUpdate:modelValue":m[1]||(m[1]=g=>l.value=g),options:e.unref(a)},null,8,["modelValue","options"]))]),_:1})]),key:"0"}:void 0,o.loading&&o.items.length===0?{name:"loading",fn:e.withCtx(()=>[e.createVNode(ce.VSkeletonLoader,{class:e.normalizeClass({"i-datatable-rows-loader":!0,"i-datatable-rows-loader-compact":o.dense}),type:d.value?e.unref(F).dataTableMobileRowsSkeletonLoader(Math.min(o.pageItems,o.items.length),u.value.length):e.unref(F).dataTableRowsSkeletonLoader(Math.min(o.pageItems,o.items.length))},null,8,["class","type"])]),key:"1"}:void 0,e.renderList(p.$slots,(g,b)=>({name:b,fn:e.withCtx(q=>[e.renderSlot(p.$slots,b,e.normalizeProps(e.guardReactiveProps(q||{})))])}))]),1032,["page","items-per-page","headers","disable-sort","items","items-length","search","loading","hover","density","mobile"]))}}),ee=e.defineComponent({__name:"IDataTableAction",props:{action:{type:String,required:!1,default:h.Custom},color:{type:[String,null],required:!1,default:null},icon:{type:[String,null],required:!1,default:null},last:{type:Boolean,required:!1,default:!1},tooltip:{type:[String,null],required:!1,default:null}},emits:["click"],setup(o,{emit:t}){const r=t,n=o,a=e.computed(()=>{const i=[];return n.last||i.push("me-1"),i.join(" ")}),l=e.computed(()=>n.color!==null?n.color:k.getColor(n.action)),c=e.computed(()=>n.icon!==null?n.icon:n.action===h.Custom?s.mdiHelp:k.getIcon(n.action)),u=e.computed(()=>n.tooltip!==null?n.tooltip:k.getText(n.action));return(i,d)=>e.withDirectives((e.openBlock(),e.createBlock(w.VIcon,{color:l.value,class:e.normalizeClass(a.value),icon:c.value,size:"large",onClick:d[0]||(d[0]=p=>r("click",p))},null,8,["color","class","icon"])),[[D.Tooltip,u.value,"bottom"]])}}),Fe=e.defineComponent({__name:"IDecHexNumber",props:e.mergeModels({color:{default:void 0},format:{default:"dec"},hexDigits:{default:0},uppercase:{type:Boolean,default:!1}},{modelValue:{type:Number,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const{t}=f.global,r=e.useModel(o,"modelValue"),n=o,a=e.ref(n.format==="hex"),l=e.computed(()=>{if(a.value){const i=r.value.toString(16).padStart(n.hexDigits,"0");return n.uppercase?i.toUpperCase():i}return r.value.toString(10)}),c=e.computed(()=>a.value?t("$iqrf.components.decHexNumber.decimal"):t("$iqrf.components.decHexNumber.hexadecimal")),u=e.computed(()=>a.value?s.mdiHexadecimal:s.mdiNumeric);return(i,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createTextVNode(e.toDisplayString(l.value)+" ",1),e.withDirectives(e.createVNode(w.VIcon,{icon:u.value,color:i.color,onClick:d[0]||(d[0]=p=>a.value=!a.value)},null,8,["icon","color"]),[[D.Tooltip,c.value]])],64))}}),te=e.defineComponent({__name:"IModalWindow",props:e.mergeModels({customWidth:{type:Number,default:null,required:!1,validator(o){return o>=50&&o<=100}}},{modelValue:{required:!0,type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue"),r=o,{lgAndUp:n,md:a}=O.useDisplay(),l=e.computed(()=>r.customWidth!==null?`${r.customWidth}%`:n.value?"50%":a.value?"75%":"100%");return(c,u)=>(e.openBlock(),e.createBlock(pe.VDialog,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=i=>t.value=i),width:l.value},e.createSlots({default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:2},[e.renderList(c.$slots,(i,d)=>({name:d,fn:e.withCtx(p=>[e.renderSlot(c.$slots,d,e.normalizeProps(e.guardReactiveProps(p||{})))])}))]),1032,["modelValue","width"]))}}),He=e.defineComponent({__name:"IDeleteModalWindow",props:{componentState:{type:String,required:!1,default:C.Ready},tooltip:{type:[String,null],required:!1,default:null}},emits:["close","submit"],setup(o,{expose:t,emit:r}){t({close:l});const n=r,a=e.ref(!1);function l(){a.value=!1,n("close")}function c(){n("submit")}return(u,i)=>(e.openBlock(),e.createBlock(te,{modelValue:a.value,"onUpdate:modelValue":i[2]||(i[2]=d=>a.value=d)},{activator:e.withCtx(d=>[u.$slots.activator?e.renderSlot(u.$slots,"activator",e.normalizeProps(e.mergeProps({key:0},d||{}))):(e.openBlock(),e.createBlock(ee,e.mergeProps({key:1},d.props,{action:e.unref(h).Delete,disabled:o.componentState===e.unref(C).Action,tooltip:o.tooltip,last:""}),null,16,["action","disabled","tooltip"]))]),default:e.withCtx(()=>[e.createVNode(X,{action:e.unref(h).Delete},{title:e.withCtx(()=>[e.renderSlot(u.$slots,"title")]),actions:e.withCtx(()=>[e.createVNode(U,{action:e.unref(h).Delete,disabled:o.componentState===e.unref(C).Action,loading:o.componentState===e.unref(C).Action,onClick:i[0]||(i[0]=d=>c())},null,8,["action","disabled","loading"]),e.createVNode(E.VSpacer),e.createVNode(U,{action:e.unref(h).Close,disabled:o.componentState===e.unref(C).Action,onClick:i[1]||(i[1]=d=>l())},null,8,["action","disabled"])]),default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["action"])]),_:3},8,["modelValue"]))}}),Ue={key:0,class:"ml-2"},Oe=e.defineComponent({__name:"ILanguageBadge",props:{language:{type:String,required:!0}},setup(o){const t=o,r=O.useDisplay();return(n,a)=>(e.openBlock(),e.createBlock(me.VChip,{color:"grey"},{default:e.withCtx(()=>[e.createVNode(e.unref(P),{height:14,language:t.language},null,8,["language"]),e.unref(r).mdAndUp.value?(e.openBlock(),e.createElementBlock("span",Ue,e.toDisplayString(n.$t(`$iqrf.locales.${t.language}`)),1)):e.createCommentVNode("",!0)]),_:1}))}}),Ae='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#11457e" d="M0 0h513v342H0z"/><path fill="#d7141a" d="M513 171v171H0l256.5-171z"/><path fill="#FFF" d="M513 0v171H256.5L0 0z"/></svg>',Re='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><g fill="#FFF"><path d="M0 0h513v341.3H0V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"/></g><g fill="#0052B4"><path d="M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zM118.2 111.3 0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zM421.7 111.3 513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z"/></g><g fill="#D80027"><path d="M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"/><path d="M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM143.7 230 0 309.9v31.5L200.3 230h-56.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6zM368.3 111.3 513 31.5V0L311.7 111.3h56.6z"/></g></svg>',je=["height","alt","src"],P=e.defineComponent({__name:"ILanguageFlag",props:{height:{type:Number,default:12},language:{type:String,required:!0}},setup(o){const{t}=K.useI18n(),r=o,n={[B.English]:{flag:_.Base64.encode(Re),text:t("$iqrf.locales.en")},[B.Czech]:{flag:_.Base64.encode(Ae),text:t("$iqrf.locales.cs")}};return(a,l)=>(e.openBlock(),e.createElementBlock("img",{height:r.height,alt:n[r.language].text,src:`data:image/svg+xml;charset=utf-8;base64,${n[r.language].flag}`},null,8,je))}}),_e=e.defineComponent({__name:"ILanguageSelect",props:{modelValue:{type:String,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(o){const t=e.useModel(o,"modelValue");return(r,n)=>(e.openBlock(),e.createBlock(Q.VSelect,{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=a=>t.value=a),items:[{title:r.$t("$iqrf.locales.en"),value:e.unref(B).English},{title:r.$t("$iqrf.locales.cs"),value:e.unref(B).Czech}],label:r.$t("$iqrf.components.languageSelect.label"),required:"","prepend-inner-icon":e.unref(s.mdiTranslate)},{item:e.withCtx(({props:a,item:l})=>[e.createVNode(S.VListItem,e.mergeProps(a,{title:void 0}),{default:e.withCtx(()=>[e.createVNode(e.unref(P),{language:l.value,class:"mr-2"},null,8,["language"]),e.createTextVNode(" "+e.toDisplayString(l.title),1)]),_:2},1040)]),selection:e.withCtx(({item:a})=>[e.createVNode(e.unref(P),{language:a.value,class:"mr-2"},null,8,["language"]),e.createTextVNode(" "+e.toDisplayString(a.title),1)]),_:1},8,["modelValue","items","label","prepend-inner-icon"]))}}),We={key:0,class:"i-input-message"},Ge={key:1,class:"i-input-message mb-4"},Ke=e.defineComponent({__name:"INumberInput",props:{label:{type:String,default:"",required:!1},description:{type:[String,null],default:null,required:!1}},setup(o){const t=o,r=e.computed(()=>t.description!==null&&t.description.length>0);return(n,a)=>(e.openBlock(),e.createBlock(fe.VNumberInput,e.mergeProps(n.$attrs,{label:o.label,hint:o.description??void 0,"persistent-hint":r.value,"control-variant":"stacked"}),e.createSlots({message:e.withCtx(({message:l})=>[l!==o.description?(e.openBlock(),e.createElementBlock("div",We,e.toDisplayString(l),1)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",Ge,e.toDisplayString(o.description),1)):e.createCommentVNode("",!0)]),_:2},[e.renderList(n.$slots,(l,c)=>({name:c,fn:e.withCtx(u=>[e.renderSlot(n.$slots,c,e.normalizeProps(e.guardReactiveProps(u||{})))])}))]),1040,["label","hint","persistent-hint"]))}}),Qe={key:0,class:"i-input-message"},Je={key:1,class:"i-input-message mb-4"},Ze=e.defineComponent({__name:"IPasswordInput",props:{description:{default:void 0},hidePrependIcon:{type:Boolean,default:!1},label:{default:void 0}},setup(o){const{t}=f.global,r=e.ref(!1),n=o,a=e.computed(()=>n.label??t("$iqrf.components.passwordInput.label")),l=e.computed(()=>r.value?s.mdiEye:s.mdiEyeOff),c=e.computed(()=>n.hidePrependIcon?void 0:s.mdiKey),u=e.computed(()=>r.value?"text":"password"),i=e.computed(()=>n.description!==void 0&&n.description.length>0);return(d,p)=>(e.openBlock(),e.createBlock(e.unref(J.VTextField),e.mergeProps(d.$attrs,{label:a.value,hint:d.description,"persistent-hint":i.value,"append-inner-icon":l.value,"prepend-inner-icon":c.value,type:u.value,"onClick:appendInner":p[0]||(p[0]=m=>r.value=!r.value)}),e.createSlots({message:e.withCtx(({message:m})=>[m!==d.description?(e.openBlock(),e.createElementBlock("div",Qe,e.toDisplayString(m),1)):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("div",Je,e.toDisplayString(d.description),1)):e.createCommentVNode("",!0)]),_:2},[e.renderList(d.$slots,(m,g)=>({name:g,fn:e.withCtx(b=>[e.renderSlot(d.$slots,g,e.normalizeProps(e.guardReactiveProps(b||{})))])}))]),1040,["label","hint","persistent-hint","append-inner-icon","prepend-inner-icon","type"]))}}),Xe={key:0,class:"i-input-message"},Ye={key:1,class:"i-input-message mb-4"},et=e.defineComponent({__name:"ISelectInput",props:{description:{type:[String,null],default:null,required:!1}},setup(o){const t=o,r=e.computed(()=>t.description!==null&&t.description.length>0);return(n,a)=>(e.openBlock(),e.createBlock(Q.VSelect,e.mergeProps(n.$attrs,{hint:o.description??void 0,"persistent-hint":r.value}),e.createSlots({message:e.withCtx(({message:l})=>[l!==o.description?(e.openBlock(),e.createElementBlock("div",Xe,e.toDisplayString(l),1)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",Ye,e.toDisplayString(o.description),1)):e.createCommentVNode("",!0)]),_:2},[e.renderList(n.$slots,(l,c)=>({name:c,fn:e.withCtx(u=>[e.renderSlot(n.$slots,c,e.normalizeProps(e.guardReactiveProps(u||{})))])}))]),1040,["hint","persistent-hint"]))}}),tt={key:0,class:"i-input-message"},ot={key:1,class:"i-input-message mb-4"},nt=e.defineComponent({__name:"ITextInput",props:{description:{type:[String,null],default:null,required:!1}},setup(o){const t=o,r=e.computed(()=>t.description!==null&&t.description.length>0);return(n,a)=>(e.openBlock(),e.createBlock(e.unref(J.VTextField),e.mergeProps(n.$attrs,{hint:o.description??void 0,"persistent-hint":r.value}),e.createSlots({message:e.withCtx(({message:l})=>[l!==o.description?(e.openBlock(),e.createElementBlock("div",tt,e.toDisplayString(l),1)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("div",ot,e.toDisplayString(o.description),1)):e.createCommentVNode("",!0)]),_:2},[e.renderList(n.$slots,(l,c)=>({name:c,fn:e.withCtx(u=>[e.renderSlot(n.$slots,c,e.normalizeProps(e.guardReactiveProps(u||{})))])}))]),1040,["hint","persistent-hint"]))}}),rt={key:0},lt={key:1},at=e.defineComponent({__name:"ITextShortener",props:e.mergeModels({length:{type:Number,required:!0,validator(o){return o>0}}},{modelValue:{type:String,required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o,r=e.useModel(o,"modelValue");return(n,a)=>r.value.length<t.length?(e.openBlock(),e.createElementBlock("span",rt,e.toDisplayString(r.value),1)):(e.openBlock(),e.createElementBlock("span",lt,e.toDisplayString(`${r.value.substring(0,t.length)}…`),1))}}),it=e.defineComponent({__name:"IUserAvatar",props:{email:{},size:{default:512}},setup(o){const t=o,r=e.computed(()=>t.email===void 0?void 0:`https://www.gravatar.com/avatar/${ge(t.email.trim().toLowerCase())}?s=${t.size}&d=mp`);return(n,a)=>r.value?(e.openBlock(),e.createBlock(he.VAvatar,{key:0,image:r.value,size:t.size},null,8,["image","size"])):(e.openBlock(),e.createBlock(w.VIcon,{key:1,color:"white",icon:e.unref(s.mdiAccount),size:t.size},null,8,["icon","size"]))}});exports.Action=h;exports.ActionUtils=k;exports.ComponentState=C;exports.IActionBtn=U;exports.IBooleanIcon=Te;exports.ICard=X;exports.ICardActionBtn=N;exports.ICardTitleActionBtn=Me;exports.IDataTable=Ee;exports.IDataTableAction=ee;exports.IDataTableColumnFilter=Y;exports.IDecHexNumber=Fe;exports.IDeleteModalWindow=He;exports.ILanguageBadge=Oe;exports.ILanguageFlag=P;exports.ILanguageSelect=_e;exports.IModalWindow=te;exports.INumberInput=Ke;exports.IPasswordInput=Ze;exports.ISelectInput=et;exports.ITextInput=nt;exports.ITextShortener=at;exports.IUserAvatar=it;exports.Language=B;exports.SkeletonLoaders=F;exports.Theme=A;exports.ValidationRules=v;
|
|
2
|
+
//# sourceMappingURL=iqrf-vue-ui.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iqrf-vue-ui.cjs","sources":["../src/plugins/i18n.ts","../src/utils/actionUtils.ts","../src/utils/componentState.ts","../src/utils/dataTable.ts","../src/utils/language.ts","../src/utils/theme.ts","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.es6.js","../src/utils/validationRules.ts","../src/components/IActonBtn/IActionBtn.vue","../src/components/IBooleanIcon/IBooleanIcon.vue","../src/components/ICard/ICard.vue","../src/components/ICard/ICardActionBtn.vue","../src/components/ICard/ICardTitleActionBtn.vue","../src/components/IDataTable/IDataTableColumnFilter.vue","../src/components/IDataTable/IDataTable.vue","../src/components/IDataTable/IDataTableAction.vue","../src/components/IDecHexNumber/IDecHexNumber.vue","../src/components/IModal/IModalWindow.vue","../src/components/IModal/IDeleteModalWindow.vue","../src/components/ILanguage/ILanguageBadge.vue","../../../node_modules/.pnpm/country-flag-icons@1.5.20/node_modules/country-flag-icons/string/3x2/CZ.js","../../../node_modules/.pnpm/country-flag-icons@1.5.20/node_modules/country-flag-icons/string/3x2/GB.js","../src/components/ILanguage/ILanguageFlag.vue","../src/components/ILanguage/ILanguageSelect.vue","../src/components/INumberInput/INumberInput.vue","../src/components/IPasswordInput/IPasswordInput.vue","../src/components/ISelectInput/ISelectInput.vue","../src/components/ITextInput/ITextInput.vue","../src/components/ITextShortener/ITextShortener.vue","../src/components/IUserAvatar/IUserAvatar.vue"],"sourcesContent":["/**\n * Copyright 2025 MICRORISC s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createI18n } from 'vue-i18n';\nimport {\n\ten as enVuetify,\n} from 'vuetify/locale';\n\nimport { en as enIqrf } from '@/locales';\n\nconst en = {\n\t'$vuetify': enVuetify,\n\t...enIqrf,\n};\n\nconst i18n = createI18n({\n\tlegacy: false,\n\tlocale: 'en',\n\tmessages: {\n\t\ten: en,\n\t},\n});\n\nexport default i18n;\n","/**\n * Copyright 2025 MICRORISC s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n\tmdiArrowLeftThick,\n\tmdiArrowRightThick,\n\tmdiCancel,\n\tmdiCheckboxMarkedOutline,\n\tmdiCheckCircleOutline,\n\tmdiContentSave,\n\tmdiDelete,\n\tmdiDownload,\n\tmdiExport,\n\tmdiHelp,\n\tmdiImport,\n\tmdiInformationBox,\n\tmdiLock,\n\tmdiLockOff,\n\tmdiPencil,\n\tmdiPlay,\n\tmdiPlayCircleOutline,\n\tmdiPlus,\n\tmdiReload,\n\tmdiRestart,\n\tmdiRestore,\n\tmdiSend,\n\tmdiSkipNext,\n\tmdiStop,\n\tmdiStopCircleOutline,\n\tmdiUpload,\n\tmdiWindowClose,\n} from '@mdi/js';\n\nimport i18n from '@/plugins/i18n';\n\n/**\n * Card actions\n */\nexport enum Action {\n\t/// Add\n\tAdd = 'add',\n\t/// Apply\n\tApply = 'apply',\n\t/// Block,\n\tBlock = 'block',\n\t/// Cancel\n\tCancel = 'cancel',\n\t/// Close\n\tClose = 'close',\n\t/// Confirm\n\tConfirm = 'confirm',\n\t/// Custom\n\tCustom = 'custom',\n\t/// Delete\n\tDelete = 'delete',\n\t/// Disable\n\tDisable = 'disable',\n\t/// Download\n\tDownload = 'download',\n\t/// Edit\n\tEdit = 'edit',\n\t/// Enable\n\tEnable = 'enable',\n\t/// Export\n\tExport = 'export',\n\t/// Import\n\tImport = 'import',\n\t/// Invite\n\tInvite = 'invite',\n\t/// Next\n\tNext = 'next',\n\t/// Previous\n\tPrevious = 'previous',\n\t/// Reload\n\tReload = 'reload',\n\t/// Resend\n\tResend = 'resend',\n\t/// Reset\n\tReset = 'reset',\n\t/// Restart\n\tRestart = 'restart',\n\t/// Save\n\tSave = 'save',\n\t/// Show details\n\tShowDetails = 'show-details',\n\t/// Skip\n\tSkip = 'skip',\n\t/// Start\n\tStart = 'start',\n\t/// Stop\n\tStop = 'stop',\n\t/// Unblock\n\tUnblock = 'unblock',\n\t/// Upload\n\tUpload = 'upload',\n}\n\n\n/**\n * Action utility class\n */\nexport class ActionUtils {\n\n\t/**\n\t * Returns color for the specified action\n\t * @param {Action} action Action\n\t * @return {string} Color for the specified action\n\t */\n\tpublic static getColor(action: Action): string {\n\t\tswitch (action) {\n\t\t\tcase Action.Add:\n\t\t\tcase Action.Apply:\n\t\t\tcase Action.Confirm:\n\t\t\tcase Action.Enable:\n\t\t\tcase Action.Start:\n\t\t\tcase Action.Unblock:\n\t\t\t\treturn 'green';\n\t\t\tcase Action.Cancel:\n\t\t\tcase Action.Close:\n\t\t\tcase Action.Previous:\n\t\t\tcase Action.Reset:\n\t\t\tcase Action.Skip:\n\t\t\t\treturn 'grey-darken-2';\n\t\t\tcase Action.Block:\n\t\t\tcase Action.Disable:\n\t\t\tcase Action.Delete:\n\t\t\tcase Action.Stop:\n\t\t\t\treturn 'red';\n\t\t\tcase Action.Edit:\n\t\t\tcase Action.Export:\n\t\t\tcase Action.Invite:\n\t\t\t\treturn 'info';\n\t\t\tdefault:\n\t\t\t\treturn 'primary';\n\t\t}\n\t}\n\n\t/**\n\t * Returns icon for the specified action\n\t * @param {Action} action Action\n\t * @return {string} Icon for the specified action\n\t */\n\tpublic static getIcon(action: Action): string {\n\t\tswitch (action) {\n\t\t\tcase Action.Add:\n\t\t\t\treturn mdiPlus;\n\t\t\tcase Action.Apply:\n\t\t\t\treturn mdiCheckboxMarkedOutline;\n\t\t\tcase Action.Block:\n\t\t\t\treturn mdiLock;\n\t\t\tcase Action.Cancel:\n\t\t\t\treturn mdiCancel;\n\t\t\tcase Action.Close:\n\t\t\t\treturn mdiWindowClose;\n\t\t\tcase Action.Confirm:\n\t\t\t\treturn mdiCheckCircleOutline;\n\t\t\tcase Action.Delete:\n\t\t\t\treturn mdiDelete;\n\t\t\tcase Action.Disable:\n\t\t\t\treturn mdiStopCircleOutline;\n\t\t\tcase Action.Download:\n\t\t\t\treturn mdiDownload;\n\t\t\tcase Action.Edit:\n\t\t\t\treturn mdiPencil;\n\t\t\tcase Action.Enable:\n\t\t\t\treturn mdiPlayCircleOutline;\n\t\t\tcase Action.Export:\n\t\t\t\treturn mdiExport;\n\t\t\tcase Action.Import:\n\t\t\t\treturn mdiImport;\n\t\t\tcase Action.Invite:\n\t\t\t\treturn mdiSend;\n\t\t\tcase Action.Next:\n\t\t\t\treturn mdiArrowRightThick;\n\t\t\tcase Action.Previous:\n\t\t\t\treturn mdiArrowLeftThick;\n\t\t\tcase Action.Reload:\n\t\t\t\treturn mdiReload;\n\t\t\tcase Action.Resend:\n\t\t\t\treturn mdiSend;\n\t\t\tcase Action.Reset:\n\t\t\t\treturn mdiRestore;\n\t\t\tcase Action.Restart:\n\t\t\t\treturn mdiRestart;\n\t\t\tcase Action.Save:\n\t\t\t\treturn mdiContentSave;\n\t\t\tcase Action.ShowDetails:\n\t\t\t\treturn mdiInformationBox;\n\t\t\tcase Action.Skip:\n\t\t\t\treturn mdiSkipNext;\n\t\t\tcase Action.Start:\n\t\t\t\treturn mdiPlay;\n\t\t\tcase Action.Stop:\n\t\t\t\treturn mdiStop;\n\t\t\tcase Action.Unblock:\n\t\t\t\treturn mdiLockOff;\n\t\t\tcase Action.Upload:\n\t\t\t\treturn mdiUpload;\n\t\t\tdefault:\n\t\t\t\treturn mdiHelp;\n\t\t}\n\t}\n\n\t/**\n\t * Returns text for the specified action\n\t * @param {Action} action Action\n\t * @return {string} Text for the specified action\n\t */\n\tpublic static getText(action: Action): string {\n\t\tswitch (action) {\n\t\t\tcase Action.Add:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.add');\n\t\t\tcase Action.Apply:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.apply');\n\t\t\tcase Action.Block:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.block');\n\t\t\tcase Action.Cancel:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.cancel');\n\t\t\tcase Action.Close:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.close');\n\t\t\tcase Action.Confirm:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.confirm');\n\t\t\tcase Action.Delete:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.delete');\n\t\t\tcase Action.Disable:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.disable');\n\t\t\tcase Action.Download:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.download');\n\t\t\tcase Action.Enable:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.enable');\n\t\t\tcase Action.Edit:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.edit');\n\t\t\tcase Action.Export:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.export');\n\t\t\tcase Action.Import:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.import');\n\t\t\tcase Action.Invite:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.invite');\n\t\t\tcase Action.Next:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.next');\n\t\t\tcase Action.Previous:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.previous');\n\t\t\tcase Action.Reload:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.reload');\n\t\t\tcase Action.Resend:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.resend');\n\t\t\tcase Action.Reset:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.reset');\n\t\t\tcase Action.Restart:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.restart');\n\t\t\tcase Action.Save:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.save');\n\t\t\tcase Action.ShowDetails:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.showDetails');\n\t\t\tcase Action.Skip:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.skip');\n\t\t\tcase Action.Start:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.start');\n\t\t\tcase Action.Stop:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.stop');\n\t\t\tcase Action.Unblock:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.unblock');\n\t\t\tcase Action.Upload:\n\t\t\t\treturn i18n.global.t('$iqrf.actions.upload');\n\t\t\tdefault:\n\t\t\t\treturn '';\n\t\t}\n\t}\n\n}\n","/**\n * Copyright 2025 MICRORISC s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Component states\n */\nexport enum ComponentState {\n\t/**\n\t * Action in progress\n\t */\n\tAction = 'action',\n\t/**\n\t * Component is created\n\t */\n\tCreated = 'created',\n\t/**\n\t * An error occurred\n\t */\n\tError = 'error',\n\t/**\n\t * Data has expired\n\t */\n\tExpired = 'expired',\n\t/**\n\t * An error occurred during data loading\n\t */\n\tFetchFailed = 'fetchFailed',\n\t/**\n\t * Idle\n\t */\n\tIdle = 'idle',\n\t/**\n\t * Data required for component are being loaded\n\t */\n\tLoading = 'loading',\n\t/**\n\t * Data not found\n\t */\n\tNotFound = 'notFound',\n\t/**\n\t * Data required for component are loaded\n\t */\n\tReady = 'ready',\n\t/**\n\t * Data has previously been loaded, and are being loaded again\n\t */\n\tReloading = 'reloading',\n\t/**\n\t * Success\n\t */\n\tSuccess = 'success',\n}\n","export class SkeletonLoaders {\n\n\t/**\n\t * Generate simple table skeleton loader\n\t * @param {number} rows Row count\n\t * @return {string} Skeleton loader type definition\n\t */\n\tpublic static simpleTableSkeletonLoader(rows: number): string {\n\t\tif (rows <= 0) {\n\t\t\treturn '';\n\t\t}\n\t\treturn `heading${', divider, heading'.repeat(rows - 1)}`;\n\t}\n\n\t/**\n\t * Generate datatable rows skeleton loader\n\t * @param {number} rows Row count\n\t * @return {string} Skeleton loader type definition\n\t */\n\tpublic static dataTableRowsSkeletonLoader(rows: number): string {\n\t\tif (rows < 1) {\n\t\t\trows = 5;\n\t\t}\n\t\treturn `text${', divider, text'.repeat(rows - 1)}`;\n\t}\n\n\t/**\n\t * Generate datatable rows skeleton loader for mobile mode\n\t * @param {number} rows Row count\n\t * @param {number} columns Column count\n\t * @return {string} Skeleton loader type definition\n\t */\n\tpublic static dataTableMobileRowsSkeletonLoader(rows: number, columns: number): string {\n\t\tif (rows < 1) {\n\t\t\trows = 5;\n\t\t}\n\t\treturn `text@${columns.toString()}${`, divider, text@${columns.toString()}`.repeat(rows - 1)}`;\n\t}\n\n}\n","/**\n * Copyright 2025 MICRORISC s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Language enum\n */\nexport enum Language {\n\tCzech = 'cs',\n\tEnglish = 'en',\n}\n\n","/**\n * Copyright 2025 MICRORISC s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Theme options\n */\nexport enum Theme {\n\t/// Light theme\n\tLight = 'light',\n\t/// Dark theme\n\tDark = 'dark',\n}\n","'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7F]/; // Note: U+007F DEL is excluded too.\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, callback) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = callback(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {String} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(domain, callback) {\n\tconst parts = domain.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tdomain = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tdomain = domain.replace(regexSeparators, '\\x2E');\n\tconst labels = domain.split('.');\n\tconst encoded = map(labels, callback).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = codePoints => String.fromCodePoint(...codePoints);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint >= 0x30 && codePoint < 0x3A) {\n\t\treturn 26 + (codePoint - 0x30);\n\t}\n\tif (codePoint >= 0x41 && codePoint < 0x5B) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint >= 0x61 && codePoint < 0x7B) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tconst oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\t\t\tif (digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tconst inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tconst basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue === n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.3.1',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };\nexport default punycode;\n","/**\n * Copyright 2025 MICRORISC s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport isFQDN from 'is-fqdn';\nimport { toASCII as punycodeToASCII } from 'punycode/';\nimport { z } from 'zod';\n\n/**\n * Validation rules for forms\n */\nexport class ValidationRules {\n\n\t/**\n\t * Required field\n\t * @param {unknown} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static required(value: unknown, error: string): boolean | string {\n\t\treturn (ValidationRules.isEmpty(value) || value === false) ? error : true;\n\t}\n\n\t/**\n\t * Required field if condition is true\n\t * @param {unknown} value Field value\n\t * @param {boolean} condition Condition\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static requiredIf(value: unknown, condition: boolean, error: string): boolean | string {\n\t\tif (!condition) {\n\t\t\treturn true;\n\t\t}\n\t\treturn ValidationRules.required(value, error);\n\t}\n\n\t/**\n\t * Minimum value\n\t * @param {number} value Field value\n\t * @param {number} min Minimum value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static min(value: number, min: number, error: string): boolean | string {\n\t\treturn (value >= min) || error;\n\t}\n\n\t/**\n\t * Maximum value\n\t * @param {number} value Field value\n\t * @param {number} max Maximum value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static max(value: number, max: number, error: string): boolean | string {\n\t\treturn (value <= max) || error;\n\t}\n\n\t/**\n\t * Value between min and max\n\t * @param {number} value Field value\n\t * @param {number} min Minimum value\n\t * @param {number} max Maximum value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static between(value: number, min: number, max: number, error: string): boolean | string {\n\t\treturn (value >= min && value <= max) || error;\n\t}\n\n\t/**\n\t * Length of value\n\t * @param {string|unknown[]} value Field value\n\t * @param {number} length Length\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static len(value: string | unknown[], length: number, error: string): boolean | string {\n\t\treturn (value.length === length) || error;\n\t}\n\n\t/**\n\t * Minimum length of value\n\t * @param {string|unknown[]} value Field value\n\t * @param {number} length Minimum length\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static minLen(value: string | unknown[], length: number, error: string): boolean | string {\n\t\treturn (value.length >= length) || error;\n\t}\n\n\t/**\n\t * Maximum length of value\n\t * @param {string|unknown[]} value Field value\n\t * @param {number} length Maximum length\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static maxLen(value: string | unknown[], length: number, error: string): boolean | string {\n\t\treturn (value.length <= length) || error;\n\t}\n\n\t/**\n\t * Length of value is between min and max\n\t * @param {string|unknown[]} value Field value\n\t * @param {number} min Minimum length\n\t * @param {number} max Maximum length\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static betweenLen(value: string | unknown[], min: number, max: number, error: string): boolean | string {\n\t\treturn (value.length >= min && value.length <= max) || error;\n\t}\n\n\t/**\n\t * E-mail address\n\t * @param {string} value Field value\n\t * @param {string} errorMessage Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static email(value: string, errorMessage: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\tconst validator: z.ZodEmail = z.email();\n\t\treturn validator.safeParse(punycodeToASCII(value)).success || errorMessage;\n\t}\n\n\t/**\n\t * Integer\n\t * @param {number} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static integer(value: number, error: string): boolean | string {\n\t\treturn Number.isInteger(value) || error;\n\t}\n\n\t/**\n\t * Numerical value\n\t * @param {unknown} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static numeric(value: unknown, error: string): boolean | string {\n\t\tif (typeof value === 'number' && !Number.isNaN(value)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn error;\n\t}\n\n\t/**\n\t * IPv4 address\n\t * @param {string} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static ipv4Address(value: string, error: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\tconst ipv4Validator: z.ZodIPv4 = z.ipv4();\n\t\tif (ipv4Validator.safeParse(value).success) {\n\t\t\treturn true;\n\t\t}\n\t\treturn error;\n\t}\n\n\t/**\n\t * IPv6 address\n\t * @param {string} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static ipv6Address(value: string, error: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\tconst ipv6Validator: z.ZodIPv6 = z.ipv6();\n\t\tif (ipv6Validator.safeParse(value).success) {\n\t\t\treturn true;\n\t\t}\n\t\treturn error;\n\t}\n\n\t/**\n\t * Host\n\t * @param {string} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static host(value: string, error: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\tconst ipv4Validator: z.ZodIPv4 = z.ipv4();\n\t\tconst ipv6Validator: z.ZodIPv6 = z.ipv6();\n\t\treturn (\n\t\t\tipv4Validator.safeParse(value).success ||\n\t\t\tipv6Validator.safeParse(value).success ||\n\t\t\tvalue === 'localhost' ||\n\t\t\tisFQDN(value)\n\t\t) || error;\n\t}\n\n\t/**\n\t * UUID\n\t * @param {string} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static uuid(value: string, error: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\tconst uuidValidator: z.ZodUUID = z.uuid();\n\t\treturn uuidValidator.safeParse(value).success || error;\n\t}\n\n\t/**\n\t * JSON object\n\t * @param {string} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static json(value: string, error: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\ttry {\n\t\t\tJSON.parse(value);\n\t\t\treturn true;\n\t\t} catch {\n\t\t\treturn error;\n\t\t}\n\t}\n\n\t/**\n\t * Regular expression\n\t * @param {string} value Field value\n\t * @param {RegExp} pattern Regular expression pattern\n\t * @param {string} error Error message\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static regex(value: string, pattern: RegExp, error: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn pattern.test(value) || error;\n\t}\n\n\t/**\n\t * URL validator\n\t * @param {string} value Field value\n\t * @param {string} error Error message\n\t * @param {RegExp | undefined } protocolRegex Optional protocol check regular expression\n\t * @return {boolean|string} Validation result\n\t */\n\tpublic static url(value: string, error: string, protocolRegex: RegExp | undefined = undefined): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\tconst urlValidator: z.ZodURL = z.url( { protocol: protocolRegex });\n\t\treturn urlValidator.safeParse(value).success || error;\n\t}\n\n\t/**\n\t * Webapp user password validator\n\t * @param {string | null} value Field value\n\t * @param {string} error Error message\n\t * @return {boolean | string} Validation result\n\t */\n\tpublic static webappUserPassword(value: string, error: string): boolean | string {\n\t\tif (ValidationRules.isEmpty(value)) {\n\t\t\treturn true;\n\t\t}\n\t\treturn ValidationRules.regex(value, /^[\\x20-\\x7E]{15,64}$/, error);\n\t}\n\n\t/**\n\t * Checks if the value is empty\n\t * @param {unknown} value Field value\n\t * @return {boolean} Value emptiness\n\t */\n\tprivate static isEmpty(value: unknown): boolean {\n\t\treturn (\n\t\t\tvalue === null ||\n\t\t\tvalue === undefined ||\n\t\t\tvalue === false ||\n\t\t\t(value instanceof File && value.size === 0) ||\n\t\t\t(Array.isArray(value) && value.length === 0) ||\n\t\t\t((Object.getPrototypeOf(value) === Object.prototype ||\n\t\t\t\tObject.getPrototypeOf(value) === null) &&\n\t\t\t\tObject.keys(value).length === 0) ||\n\t\t\t(typeof value === 'string' && value.trim().length === 0)\n\t\t);\n\t}\n\n}\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-btn\n\t\tv-tooltip='tooltip'\n\t\t:color='color'\n\t\t:disabled='disabled'\n\t\t:prepend-icon='containerType === \"card\" ? icon : undefined'\n\t\t:icon='containerType === \"card-title\" ? icon : undefined'\n\t\t:variant='variant'\n\t\t:text='text'\n\t\t@click='emit(\"click\", $event)'\n\t/>\n</template>\n\n<script lang='ts' setup>\nimport { computed, type Ref } from 'vue';\n\nimport { Action, ActionUtils } from '@/utils';\n\nimport { IActionBtnProps } from './props';\n\nconst emit = defineEmits<{\n\tclick: [event: Event]\n}>();\nconst componentProps = withDefaults(defineProps<IActionBtnProps>(), {\n\taction: Action.Custom,\n\tdisabled: false,\n\tcontainerType: 'card',\n});\n/// Define slots\ndefineSlots();\n\n/// Color of the action button\nconst color: Ref<string> = computed((): string => {\n\treturn componentProps.color ?? ActionUtils.getColor(componentProps.action);\n});\n\n/// Icon for the action button\nconst icon: Ref<string | undefined> = computed((): string | undefined => {\n\treturn componentProps.icon ?? ActionUtils.getIcon(componentProps.action);\n});\n\n/// Button text\nconst text: Ref<string | undefined> = computed((): string | undefined => {\n\tif (componentProps.containerType === 'card-title') {\n\t\treturn undefined;\n\t}\n\treturn componentProps.text ?? ActionUtils.getText(componentProps.action);\n});\n\n/// Button variant\nconst variant: Ref<'elevated' | 'flat'> = computed(() => {\n\tif (componentProps.containerType === 'card') {\n\t\treturn 'elevated';\n\t}\n\treturn 'flat';\n});\n\n/// Button tooltip\nconst tooltip = computed(() => {\n\treturn {\n\t\tlocation: 'bottom',\n\t\ttext: componentProps.tooltip ?? ActionUtils.getText(componentProps.action),\n\t\tdisabled: componentProps.containerType === 'card',\n\t};\n});\n\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-icon\n\t\t:color='color'\n\t\t:icon='icon'\n\t\t:size='size'\n\t/>\n</template>\n\n<script lang='ts' setup>\nimport { mdiCheck, mdiClose, mdiHelp } from '@mdi/js';\nimport { computed } from 'vue';\n\n/// Component properties\nconst componentProps = defineProps({\n\tvalue: {\n\t\ttype: [Boolean, null],\n\t\tdefault: null,\n\t\trequired: false,\n\t},\n\tsize: {\n\t\ttype: String,\n\t\tdefault: 'large',\n\t\trequired: false,\n\t},\n});\n\n/// Icon based on boolean value\nconst icon = computed(() => {\n\tif (componentProps.value === null || componentProps.value === undefined) {\n\t\treturn mdiHelp;\n\t}\n\treturn componentProps.value ? mdiCheck : mdiClose;\n});\n\n/// Icon color based on boolean value\nconst color = computed(() => {\n\tif (componentProps.value === null || componentProps.value === undefined) {\n\t\treturn 'warning';\n\t}\n\treturn componentProps.value ? 'success' : 'red';\n});\n\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-card :class='bottomMargin ? \"mb-4\" : null'>\n\t\t<v-toolbar\n\t\t\tv-if='$slots.title || $slots.titleActions'\n\t\t\t:class='headerClass'\n\t\t\tdensity='compact'\n\t\t>\n\t\t\t<v-toolbar-title v-if='$slots.title'>\n\t\t\t\t<slot name='title' />\n\t\t\t</v-toolbar-title>\n\t\t\t<v-toolbar-items v-if='$slots.titleActions'>\n\t\t\t\t<slot name='titleActions' />\n\t\t\t</v-toolbar-items>\n\t\t\t<template v-if='$slots.extension' #extension>\n\t\t\t\t<slot name='extension' />\n\t\t\t</template>\n\t\t</v-toolbar>\n\t\t<slot v-if='$slots.rawBody' name='rawBody' />\n\t\t<v-card-text v-else class='card-text'>\n\t\t\t<slot />\n\t\t</v-card-text>\n\t\t<v-card-actions v-if='$slots.actions' :class='actionsClass'>\n\t\t\t<slot name='actions' />\n\t\t</v-card-actions>\n\t</v-card>\n</template>\n\n<script lang='ts' setup>\nimport { computed } from 'vue';\nimport { useTheme } from 'vuetify/framework';\n\nimport { Action, ActionUtils, Theme } from '@/utils';\n\nimport { type ICardProps } from './props';\n\nconst componentProps = withDefaults(defineProps<ICardProps>(), {\n\taction: Action.Custom,\n\tactionColor: 'default',\n\tbottomMargin: false,\n\theaderColor: 'default',\n});\n\n/// Theme composable\nconst theme = useTheme();\n\n/// Card actions class\nconst actionsClass = computed(() => {\n\tlet actionsColor = componentProps.actionColor;\n\tconst isLight = theme.name.value === Theme.Light;\n\tif (actionsColor === 'default') {\n\t\tactionsColor = isLight ? 'grey-lighten-2' : 'grey-darken-3';\n\t}\n\treturn `bg-${actionsColor}`;\n});\n\n/// Card header class\nconst headerClass = computed((): string => {\n\tlet color = componentProps.headerColor;\n\tif (componentProps.action && color === 'default') {\n\t\tcolor = ActionUtils.getColor(componentProps.action);\n\t}\n\treturn `bg-${color === 'default' ? 'primary' : color}`;\n});\n\ndefineSlots();\n</script>\n\n<style scoped>\n.card-text {\n\tpadding: 1rem !important;\n}\n</style>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-btn\n\t\t:color='color'\n\t\t:disabled='disabled'\n\t\t:prepend-icon='icon'\n\t\tvariant='elevated'\n\t\t:text='text'\n\t\t@click='emit(\"click\", $event)'\n\t/>\n</template>\n\n<script lang='ts' setup>\nimport { mdiHelp } from '@mdi/js';\nimport { computed, type Ref } from 'vue';\n\nimport { Action, ActionUtils } from '@/utils';\n\nimport { ICardActionBtnProps } from './props';\n\nconst emit = defineEmits<{\n\tclick: [event: Event]\n}>();\nconst componentProps = withDefaults(defineProps<ICardActionBtnProps>(), {\n\taction: Action.Custom,\n\tdisabled: false,\n});\n\n/// Color of the action button\nconst color: Ref<string> = computed((): string => {\n\tif (componentProps.color) {\n\t\treturn componentProps.color;\n\t}\n\tif ([Action.Cancel, Action.Close, Action.Previous, Action.Reset, Action.Skip].includes(componentProps.action)) {\n\t\treturn 'grey-darken-2';\n\t}\n\treturn 'primary';\n});\n\n/// Icon for the action button\nconst icon: Ref<string> = computed((): string => {\n\tif (componentProps.icon) {\n\t\treturn componentProps.icon;\n\t}\n\treturn componentProps.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(componentProps.action);\n});\n\n/// Button text\nconst text: Ref<string> = computed((): string => {\n\tif (componentProps.text) {\n\t\treturn componentProps.text;\n\t}\n\treturn ActionUtils.getText(componentProps.action);\n});\n\ndefineSlots();\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-btn\n\t\tv-tooltip:bottom='tooltip'\n\t\t:color='componentProps.color'\n\t\t:icon='icon'\n\t\tvariant='flat'\n\t\t@click='emit(\"click\", $event)'\n\t/>\n</template>\n\n<script lang='ts' setup>\nimport { mdiHelp } from '@mdi/js';\nimport { computed, type Ref } from 'vue';\n\nimport { Action, ActionUtils } from '@/utils';\n\nimport { ICardTitleActionBtnProps } from './props';\n\nconst emit = defineEmits<{\n\tclick: [event: Event]\n}>();\nconst componentProps = withDefaults(defineProps<ICardTitleActionBtnProps>(), {\n\taction: Action.Custom,\n\tcolor: 'primary',\n});\n\n/// Icon for the action button\nconst icon: Ref<string> = computed((): string => {\n\tif (componentProps.icon) {\n\t\treturn componentProps.icon;\n\t}\n\treturn componentProps.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(componentProps.action);\n});\n\n/// Tooltip text\nconst tooltip: Ref<string> = computed((): string => {\n\tif (componentProps.tooltip) {\n\t\treturn componentProps.tooltip;\n\t}\n\treturn ActionUtils.getText(componentProps.action);\n});\n\ndefineSlots();\n</script>\n","<template>\n\t<v-menu\n\t\tv-model='open'\n\t\t:close-on-content-click='false'\n\t\tlocation='start'\n\t>\n\t\t<template #activator='{ props }'>\n\t\t\t<v-btn\n\t\t\t\tv-bind='props'\n\t\t\t\tcolor='grey-lighten-2'\n\t\t\t\tvariant='flat'\n\t\t\t>\n\t\t\t\t<v-icon\n\t\t\t\t\t:icon='mdiFilterVariant'\n\t\t\t\t\tsize='large'\n\t\t\t\t/>\n\t\t\t</v-btn>\n\t\t</template>\n\t\t<v-card>\n\t\t\t<v-card-title>{{ $t('$iqrf.components.dataTable.filter') }}</v-card-title>\n\t\t\t<v-divider />\n\t\t\t<v-list density='compact'>\n\t\t\t\t<v-list-item\n\t\t\t\t\tv-for='item in componentProps.options'\n\t\t\t\t\t:key='item.key'\n\t\t\t\t\t@click='updateVisibleColumns(item)'\n\t\t\t\t>\n\t\t\t\t\t<v-list-item-title>\n\t\t\t\t\t\t<v-checkbox\n\t\t\t\t\t\t\t:model-value='isChecked(item.key)'\n\t\t\t\t\t\t\t:label='item.title'\n\t\t\t\t\t\t\thide-details\n\t\t\t\t\t\t\tdensity='compact'\n\t\t\t\t\t\t/>\n\t\t\t\t\t</v-list-item-title>\n\t\t\t\t</v-list-item>\n\t\t\t</v-list>\n\t\t\t<v-divider />\n\t\t\t<v-card-actions>\n\t\t\t\t<ICardActionBtn\n\t\t\t\t\t:action='Action.Apply'\n\t\t\t\t\t@click='save()'\n\t\t\t\t/>\n\t\t\t\t<v-spacer />\n\t\t\t\t<ICardActionBtn\n\t\t\t\t\t:action='Action.Reset'\n\t\t\t\t\t@click='resetColumns()'\n\t\t\t\t/>\n\t\t\t\t<v-spacer />\n\t\t\t\t<ICardActionBtn\n\t\t\t\t\t:action='Action.Close'\n\t\t\t\t\t@click='close()'\n\t\t\t\t/>\n\t\t\t</v-card-actions>\n\t\t</v-card>\n\t</v-menu>\n</template>\n\n<script lang='ts' setup>\nimport { mdiFilterVariant } from '@mdi/js';\nimport { type PropType, ref, type Ref, watch } from 'vue';\n\nimport ICardActionBtn from '@/components/ICard/ICardActionBtn.vue';\nimport { Action } from '@/utils';\n\nexport interface DataTableHeaderFilterItem {\n\t/// item key\n\tkey: string;\n\t/// item title\n\ttitle: string;\n}\n\nconst model = defineModel({\n\ttype: Array as PropType<string[]>,\n\tdefault: () => [],\n\trequired: true,\n});\n\nconst componentProps = defineProps({\n\toptions: {\n\t\ttype: Array as PropType<DataTableHeaderFilterItem[]>,\n\t\trequired: true,\n\t},\n});\n\nconst open: Ref<boolean> = ref(false);\nconst updateHeaders: Ref<string[]> = ref([]);\n\nwatch(open, (newVal: boolean, oldVal: boolean) => {\n\tif (newVal && !oldVal) {\n\t\tupdateHeaders.value = [...model.value];\n\t}\n});\n\n/**\n * Updates the visible columns\n * @param {DataTableHeaderFilterItem} column Column to update\n */\nfunction updateVisibleColumns(column: DataTableHeaderFilterItem): void {\n\tconst idx = updateHeaders.value.indexOf(column.key);\n\tif (idx === -1) {\n\t\tupdateHeaders.value.push(column.key);\n\t} else {\n\t\tupdateHeaders.value.splice(idx, 1);\n\t}\n}\n\n/**\n * Resets the columns to the default\n */\nfunction resetColumns(): void {\n\tmodel.value = [];\n\tclose();\n}\n\n/**\n * Saves the selected columns\n */\nfunction save(): void {\n\tmodel.value = [...updateHeaders.value];\n\tclose();\n}\n\n/**\n * Closes the filter menu\n */\nfunction close(): void {\n\topen.value = false;\n}\n\n/**\n * Checks if key is in selected headers\n * @param {string} key Key to check\n * @return {boolean} Key in selected headers?\n */\nfunction isChecked(key: string): boolean {\n\treturn updateHeaders.value.includes(key);\n}\n\n</script>\n","<template>\n\t<v-data-table\n\t\tv-model:page='page'\n\t\t:items-per-page='pageItems'\n\t\t:headers='filteredHeaders'\n\t\t:disable-sort='loading'\n\t\t:items='items'\n\t\t:items-length='items.length'\n\t\t:search='searchQuery'\n\t\t:loading='loading'\n\t\t:hover='hover'\n\t\t:density='dense ? \"compact\" : \"default\"'\n\t\t:mobile='mobileDisplayMode ?? mobile'\n\t>\n\t\t<template v-if='toolbarVisible' #top>\n\t\t\t<v-toolbar\n\t\t\t\tdensity='compact'\n\t\t\t\tcolor='surface'\n\t\t\t>\n\t\t\t\t<v-text-field\n\t\t\t\t\tv-if='!disableSearch'\n\t\t\t\t\tv-model='searchQuery'\n\t\t\t\t\tclass='mr-1'\n\t\t\t\t\t:label='$t(\"$iqrf.components.dataTable.search\")'\n\t\t\t\t\t:prepend-inner-icon='mdiMagnify'\n\t\t\t\t\tvariant='solo-filled'\n\t\t\t\t\tdensity='compact'\n\t\t\t\t\tflat\n\t\t\t\t\thide-details\n\t\t\t\t\tsingle-line\n\t\t\t\t\tclearable\n\t\t\t\t/>\n\t\t\t\t<IDataTableColumnFilter\n\t\t\t\t\tv-if='!disableColumnFiltering'\n\t\t\t\t\tv-model='filterKeys'\n\t\t\t\t\t:options='headerOptions'\n\t\t\t\t/>\n\t\t\t</v-toolbar>\n\t\t</template>\n\t\t<template #bottom='{ pageCount }'>\n\t\t\t<div\n\t\t\t\tv-if='items.length > 0 && !hidePagination'\n\t\t\t\tclass='text-center pt-2'\n\t\t\t>\n\t\t\t\t<v-pagination\n\t\t\t\t\tv-model='page'\n\t\t\t\t\t:length='pageCount'\n\t\t\t\t/>\n\t\t\t</div>\n\t\t</template>\n\t\t<template v-if='loading && items.length === 0' #loading>\n\t\t\t<v-skeleton-loader\n\t\t\t\t:class='{\n\t\t\t\t\t\"i-datatable-rows-loader\": true,\n\t\t\t\t\t\"i-datatable-rows-loader-compact\": dense,\n\t\t\t\t}'\n\t\t\t\t:type='mobileMode ?\n\t\t\t\t\tSkeletonLoaders.dataTableMobileRowsSkeletonLoader(Math.min(pageItems, items.length), filteredHeaders.length) :\n\t\t\t\t\tSkeletonLoaders.dataTableRowsSkeletonLoader(Math.min(pageItems, items.length))\n\t\t\t\t'\n\t\t\t/>\n\t\t</template>\n\t\t<template v-for='(_, slot) in $slots' #[slot]='scope'>\n\t\t\t<slot :name='slot' v-bind='scope || {}' />\n\t\t</template>\n\t</v-data-table>\n</template>\n\n<script lang='ts' setup>\nimport { mdiMagnify } from '@mdi/js';\nimport { computed, type PropType, ref, type Ref } from 'vue';\nimport { useDisplay } from 'vuetify';\n//@ts-ignore\nimport { type DataTableHeader } from 'vuetify/components/VDataTable';\n\nimport { SkeletonLoaders } from '@/utils';\n\nimport IDataTableColumnFilter from './IDataTableColumnFilter.vue';\n\nconst componentProps = defineProps({\n\theaders: {\n\t\ttype: Array as PropType<DataTableHeader[]>,\n\t\trequired: true,\n\t},\n\titems: {\n\t\ttype: Array,\n\t\trequired: true,\n\t},\n\tloading: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t\trequired: false,\n\t},\n\thover: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t\trequired: false,\n\t},\n\tdense: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t\trequired: false,\n\t},\n\thidePagination: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t\trequired: false,\n\t},\n\tpageItems: {\n\t\ttype: Number,\n\t\trequired: false,\n\t\tdefault: 10,\n\t},\n\tdisableSearch: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t\trequired: false,\n\t},\n\tdisableColumnFiltering: {\n\t\ttype: Boolean,\n\t\tdefault: false,\n\t\trequired: false,\n\t},\n\tmobileDisplayMode: {\n\t\ttype: [Boolean, null] as PropType<boolean | null>,\n\t\tdefault: null,\n\t\trequired: false,\n\t},\n});\ndefineSlots();\nconst { mobile } = useDisplay();\nconst searchQuery: Ref<string> = ref('');\nconst headerOptions = componentProps.headers.map(item => ({ key: item.key, title: item.title }));\nconst filterKeys: Ref<string[]> = ref([]);\nconst page: Ref<number> = ref(1);\n\nconst filteredHeaders = computed(() => {\n\tif (filterKeys.value.length === 0) {\n\t\treturn componentProps.headers;\n\t}\n\treturn componentProps.headers.filter(item => filterKeys.value.includes(item.key));\n});\n\nconst toolbarVisible = computed(() => {\n\treturn !componentProps.disableSearch || !componentProps.disableColumnFiltering;\n});\n\nconst mobileMode = computed(() => {\n\treturn componentProps.mobileDisplayMode ?? mobile.value;\n});\n</script>\n","<!--\nCopyright 2024-2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-icon\n\t\tv-tooltip:bottom='tooltip'\n\t\t:color='color'\n\t\t:class='classes'\n\t\t:icon='icon'\n\t\tsize='large'\n\t\t@click='emit(\"click\", $event)'\n\t/>\n</template>\n\n<script lang='ts' setup>\nimport { mdiHelp } from '@mdi/js';\nimport { computed, type PropType, type Ref } from 'vue';\n\nimport { Action, ActionUtils } from '@/utils';\n\nconst emit = defineEmits(['click']);\nconst componentProps = defineProps({\n\taction: {\n\t\ttype: String as PropType<Action>,\n\t\trequired: false,\n\t\tdefault: Action.Custom,\n\t},\n\tcolor: {\n\t\ttype: [String, null] as PropType<string | null>,\n\t\trequired: false,\n\t\tdefault: null,\n\t},\n\ticon: {\n\t\ttype: [String, null] as PropType<string | null>,\n\t\trequired: false,\n\t\tdefault: null,\n\t},\n\tlast: {\n\t\ttype: Boolean,\n\t\trequired: false,\n\t\tdefault: false,\n\t},\n\ttooltip: {\n\t\ttype: [String, null] as PropType<string | null>,\n\t\trequired: false,\n\t\tdefault: null,\n\t},\n});\n/// Define slots\ndefineSlots();\n\n/// CSS classes\nconst classes: Ref<string> = computed((): string => {\n\tconst classes: string[] = [];\n\tif (!componentProps.last) {\n\t\tclasses.push('me-1');\n\t}\n\treturn classes.join(' ');\n});\n\n/// Color of the action button\nconst color: Ref<string> = computed((): string => {\n\tif (componentProps.color !== null) {\n\t\treturn componentProps.color;\n\t}\n\treturn ActionUtils.getColor(componentProps.action);\n});\n\n/// Icon for the action button\nconst icon: Ref<string> = computed((): string => {\n\tif (componentProps.icon !== null) {\n\t\treturn componentProps.icon;\n\t}\n\treturn componentProps.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(componentProps.action);\n});\n\n/// Tooltip text\nconst tooltip: Ref<string> = computed((): string => {\n\tif (componentProps.tooltip !== null) {\n\t\treturn componentProps.tooltip;\n\t}\n\treturn ActionUtils.getText(componentProps.action);\n});\n</script>\n","<script lang='ts' setup>\nimport { mdiHexadecimal, mdiNumeric } from '@mdi/js';\nimport { computed, type ComputedRef, ref, type Ref } from 'vue';\n\nimport i18n from '@/plugins/i18n';\n\nimport { type IDecHexNumberProps } from './props';\n\nconst { t } = i18n.global;\n\nconst model = defineModel({\n\ttype: Number,\n\trequired: true,\n});\nconst componentProps = withDefaults(defineProps<IDecHexNumberProps>(), {\n\tcolor: undefined,\n\tformat: 'dec',\n\thexDigits: 0,\n\tuppercase: false,\n});\nconst showHex: Ref<boolean> = ref(componentProps.format === 'hex');\nconst displayValue: ComputedRef<string> = computed((): string => {\n\tif (showHex.value) {\n\t\tconst hex = model.value.toString(16).padStart(componentProps.hexDigits, '0');\n\t\treturn componentProps.uppercase ? hex.toUpperCase() : hex;\n\t}\n\treturn model.value.toString(10);\n});\nconst tooltip: ComputedRef<string> = computed((): string => {\n\tif (showHex.value) {\n\t\treturn t('$iqrf.components.decHexNumber.decimal');\n\t}\n\treturn t('$iqrf.components.decHexNumber.hexadecimal');\n});\nconst icon: ComputedRef<string> = computed((): string => {\n\tif (showHex.value) {\n\t\treturn mdiHexadecimal;\n\t}\n\treturn mdiNumeric;\n});\n\ndefineSlots();\n</script>\n\n<template>\n\t{{ displayValue }}\n\t<v-icon\n\t\tv-tooltip='tooltip'\n\t\t:icon='icon'\n\t\t:color='color'\n\t\t@click='showHex = !showHex'\n\t/>\n</template>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-dialog\n\t\tv-model='showDialog'\n\t\t:width='width'\n\t>\n\t\t<slot />\n\t\t<template v-for='(_, name) in $slots' :key='name' #[name]='scope'>\n\t\t\t<slot :name='name' v-bind='scope || {}' />\n\t\t</template>\n\t</v-dialog>\n</template>\n\n<script setup lang='ts'>\nimport { computed } from 'vue';\nimport { useDisplay } from 'vuetify';\n\nconst showDialog = defineModel({\n\trequired: true,\n\ttype: Boolean,\n});\nconst componentProps = defineProps({\n\tcustomWidth: {\n\t\ttype: Number,\n\t\tdefault: null,\n\t\trequired: false,\n\t\tvalidator(value: number): boolean {\n\t\t\treturn value >= 50 && value <= 100;\n\t\t},\n\t},\n});\nconst { lgAndUp, md } = useDisplay();\ndefineSlots();\nconst width = computed(() => {\n\tif (componentProps.customWidth !== null) {\n\t\treturn `${componentProps.customWidth}%`;\n\t}\n\tif (lgAndUp.value) {\n\t\treturn '50%';\n\t}\n\tif (md.value) {\n\t\treturn '75%';\n\t}\n\treturn '100%';\n});\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<IModalWindow v-model='showDialog'>\n\t\t<template #activator='scope'>\n\t\t\t<template v-if='$slots.activator'>\n\t\t\t\t<slot name='activator' v-bind='scope || {}' />\n\t\t\t</template>\n\t\t\t<template v-else>\n\t\t\t\t<IDataTableAction\n\t\t\t\t\tv-bind='scope.props'\n\t\t\t\t\t:action='Action.Delete'\n\t\t\t\t\t:disabled='componentState === ComponentState.Action'\n\t\t\t\t\t:tooltip='tooltip'\n\t\t\t\t\tlast\n\t\t\t\t/>\n\t\t\t</template>\n\t\t</template>\n\t\t<ICard :action='Action.Delete'>\n\t\t\t<template #title>\n\t\t\t\t<slot name='title' />\n\t\t\t</template>\n\t\t\t<slot />\n\t\t\t<template #actions>\n\t\t\t\t<IActionBtn\n\t\t\t\t\t:action='Action.Delete'\n\t\t\t\t\t:disabled='componentState === ComponentState.Action'\n\t\t\t\t\t:loading='componentState === ComponentState.Action'\n\t\t\t\t\t@click='submit()'\n\t\t\t\t/>\n\t\t\t\t<v-spacer />\n\t\t\t\t<IActionBtn\n\t\t\t\t\t:action='Action.Close'\n\t\t\t\t\t:disabled='componentState === ComponentState.Action'\n\t\t\t\t\t@click='close()'\n\t\t\t\t/>\n\t\t\t</template>\n\t\t</ICard>\n\t</IModalWindow>\n</template>\n\n<script setup lang='ts'>\nimport { type PropType, ref, type Ref } from 'vue';\n\nimport IActionBtn from '@/components/IActonBtn/IActionBtn.vue';\nimport ICard from '@/components/ICard/ICard.vue';\nimport IDataTableAction from '@/components/IDataTable/IDataTableAction.vue';\nimport IModalWindow from '@/components/IModal/IModalWindow.vue';\nimport { Action, ComponentState } from '@/utils';\n\n/// Exposed component functions\ndefineExpose({\n\t/// Close dialog window\n\tclose,\n});\n/// Component props\ndefineProps({\n\t/// Component state\n\tcomponentState: {\n\t\ttype: String as PropType<ComponentState>,\n\t\trequired: false,\n\t\tdefault: ComponentState.Ready,\n\t},\n\t/// Tooltip text\n\ttooltip: {\n\t\ttype: [String, null] as PropType<string | null>,\n\t\trequired: false,\n\t\tdefault: null,\n\t},\n});\n/// Define slots\ndefineSlots();\n/// Emit event\nconst emit = defineEmits(['close', 'submit']);\n/// Show dialog window\nconst showDialog: Ref<boolean> = ref(false);\n\n/**\n * Close dialog window\n */\nfunction close(): void {\n\tshowDialog.value = false;\n\temit('close');\n}\n\n/**\n * Submit dialog window\n */\nfunction submit(): void {\n\temit('submit');\n}\n</script>\n","<!--\nCopyright 2024-2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-chip color='grey'>\n\t\t<ILanguageFlag\n\t\t\t:height='14'\n\t\t\t:language='componentProps.language'\n\t\t/>\n\t\t<span v-if='display.mdAndUp.value' class='ml-2'>\n\t\t\t{{ $t(`$iqrf.locales.${componentProps.language}`) }}\n\t\t</span>\n\t</v-chip>\n</template>\n\n<script lang='ts' setup>\nimport { type PropType } from 'vue';\nimport { useDisplay } from 'vuetify';\n\nimport { ILanguageFlag } from '@/components/ILanguage';\nimport { Language } from '@/utils/language';\n\n\nconst componentProps = defineProps({\n\tlanguage: {\n\t\ttype: String as PropType<Language>,\n\t\trequired: true,\n\t},\n});\nconst display = useDisplay();\n</script>\n","export default '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 513 342\"><path fill=\"#11457e\" d=\"M0 0h513v342H0z\"/><path fill=\"#d7141a\" d=\"M513 171v171H0l256.5-171z\"/><path fill=\"#FFF\" d=\"M513 0v171H256.5L0 0z\"/></svg>'","export default '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 513 342\"><g fill=\"#FFF\"><path d=\"M0 0h513v341.3H0V0z\"/><path d=\"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z\"/></g><g fill=\"#0052B4\"><path d=\"M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zM118.2 111.3 0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zM421.7 111.3 513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z\"/></g><g fill=\"#D80027\"><path d=\"M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z\"/><path d=\"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM143.7 230 0 309.9v31.5L200.3 230h-56.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6zM368.3 111.3 513 31.5V0L311.7 111.3h56.6z\"/></g></svg>'","<!--\nCopyright 2024-2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<img\n\t\t:height='componentProps.height'\n\t\t:alt='languages[componentProps.language].text'\n\t\t:src='`data:image/svg+xml;charset=utf-8;base64,${languages[componentProps.language].flag}`'\n\t>\n</template>\n\n<script lang='ts' setup>\nimport { CZ, GB } from 'country-flag-icons/string/3x2';\nimport { Base64 } from 'js-base64';\nimport { type PropType } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\nimport { Language } from '@/utils';\n\nconst { t } = useI18n();\n\nconst componentProps = defineProps({\n\theight: {\n\t\ttype: Number as PropType<number>,\n\t\tdefault: 12,\n\t},\n\tlanguage: {\n\t\ttype: String as PropType<Language>,\n\t\trequired: true,\n\t},\n});\n\ninterface LanguageOptions {\n\tflag: string,\n\ttext: string,\n}\n\nconst languages: Record<Language, LanguageOptions> = {\n\t[Language.English]: {\n\t\tflag: Base64.encode(GB),\n\t\ttext: t('$iqrf.locales.en'),\n\t},\n\t[Language.Czech]: {\n\t\tflag: Base64.encode(CZ),\n\t\ttext: t('$iqrf.locales.cs'),\n\t},\n};\n</script>\n","<!--\nCopyright 2024-2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-select\n\t\tv-model='modelValue'\n\t\t:items='[\n\t\t\t{ title: $t(\"$iqrf.locales.en\"), value: Language.English },\n\t\t\t{ title: $t(\"$iqrf.locales.cs\"), value: Language.Czech },\n\t\t]'\n\t\t:label='$t(\"$iqrf.components.languageSelect.label\")'\n\t\trequired\n\t\t:prepend-inner-icon='mdiTranslate'\n\t>\n\t\t<template #item='{ props, item }'>\n\t\t\t<v-list-item v-bind='props' :title='undefined'>\n\t\t\t\t<ILanguageFlag :language='item.value' class='mr-2' />\n\t\t\t\t{{ item.title }}\n\t\t\t</v-list-item>\n\t\t</template>\n\t\t<template #selection='{ item }'>\n\t\t\t<ILanguageFlag :language='item.value' class='mr-2' />\n\t\t\t{{ item.title }}\n\t\t</template>\n\t</v-select>\n</template>\n\n<script lang='ts' setup>\nimport { mdiTranslate } from '@mdi/js';\nimport { PropType } from 'vue';\n\nimport { ILanguageFlag } from '@/components/ILanguage';\nimport { Language } from '@/utils';\n\nconst modelValue = defineModel({\n\ttype: String as PropType<Language>,\n\trequired: true,\n});\ndefineSlots();\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-number-input\n\t\tv-bind='$attrs'\n\t\t:label='label'\n\t\t:hint='description ?? undefined'\n\t\t:persistent-hint='showHint'\n\t\tcontrol-variant='stacked'\n\t>\n\t\t<template #message='{ message }'>\n\t\t\t<div\n\t\t\t\tv-if='message !== description'\n\t\t\t\tclass='i-input-message'\n\t\t\t>\n\t\t\t\t{{ message }}\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tv-if='showHint'\n\t\t\t\tclass='i-input-message mb-4'\n\t\t\t>\n\t\t\t\t{{ description }}\n\t\t\t</div>\n\t\t</template>\n\t\t<template v-for='(_, slot) in $slots' #[slot]='scope'>\n\t\t\t<slot :name='slot' v-bind='scope || {}' />\n\t\t</template>\n\t</v-number-input>\n</template>\n\n<script lang='ts' setup>\nimport { computed, type PropType } from 'vue';\n\nconst componentProps = defineProps({\n\tlabel: {\n\t\ttype: String,\n\t\tdefault: '',\n\t\trequired: false,\n\t},\n\tdescription: {\n\t\ttype: [String, null] as PropType<string | null>,\n\t\tdefault: null,\n\t\trequired: false,\n\t},\n});\ndefineSlots();\nconst showHint = computed(() => componentProps.description !== null && componentProps.description.length > 0);\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n<script lang='ts' setup>\nimport { mdiEye, mdiEyeOff, mdiKey } from '@mdi/js';\nimport { computed, ref, type Ref } from 'vue';\nimport { VTextField } from 'vuetify/components';\n\nimport i18n from '@/plugins/i18n';\n\nimport { IPasswordFieldProps } from './props';\n\nconst { t } = i18n.global;\n\nconst show: Ref<boolean> = ref(false);\nconst componentProps = withDefaults(defineProps<IPasswordFieldProps>(), {\n\tdescription: undefined,\n\thidePrependIcon: false,\n\tlabel: undefined,\n});\ndefineSlots();\nconst displayLabel = computed(() => {\n\treturn componentProps.label ?? t('$iqrf.components.passwordInput.label');\n});\nconst visibilityIcon = computed(() => {\n\treturn show.value ? mdiEye : mdiEyeOff;\n});\nconst prependInnerIcon = computed(() => {\n\treturn componentProps.hidePrependIcon ? undefined : mdiKey;\n});\nconst inputType = computed(() => {\n\treturn show.value ? 'text' : 'password';\n});\nconst showHint = computed((): boolean => componentProps.description !== undefined && componentProps.description.length > 0);\n</script>\n\n<template>\n\t<v-text-field\n\t\tv-bind='$attrs'\n\t\t:label='displayLabel'\n\t\t:hint='description'\n\t\t:persistent-hint='showHint'\n\t\t:append-inner-icon='visibilityIcon'\n\t\t:prepend-inner-icon='prependInnerIcon'\n\t\t:type='inputType'\n\t\t@click:append-inner='show = !show'\n\t>\n\t\t<template #message='{ message }'>\n\t\t\t<div\n\t\t\t\tv-if='message !== description'\n\t\t\t\tclass='i-input-message'\n\t\t\t>\n\t\t\t\t{{ message }}\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tv-if='showHint'\n\t\t\t\tclass='i-input-message mb-4'\n\t\t\t>\n\t\t\t\t{{ description }}\n\t\t\t</div>\n\t\t</template>\n\t\t<template v-for='(_, slot) in $slots' #[slot]='scope'>\n\t\t\t<slot :name='slot' v-bind='scope || {}' />\n\t\t</template>\n\t</v-text-field>\n</template>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-select\n\t\tv-bind='$attrs'\n\t\t:hint='description ?? undefined'\n\t\t:persistent-hint='showHint'\n\t>\n\t\t<template #message='{ message }'>\n\t\t\t<div\n\t\t\t\tv-if='message !== description'\n\t\t\t\tclass='i-input-message'\n\t\t\t>\n\t\t\t\t{{ message }}\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tv-if='showHint'\n\t\t\t\tclass='i-input-message mb-4'\n\t\t\t>\n\t\t\t\t{{ description }}\n\t\t\t</div>\n\t\t</template>\n\t\t<template v-for='(_, slot) in $slots' #[slot]='scope'>\n\t\t\t<slot :name='slot' v-bind='scope || {}' />\n\t\t</template>\n\t</v-select>\n</template>\n\n<script lang='ts' setup>\nimport { computed, type PropType } from 'vue';\n\nconst componentProps = defineProps({\n\tdescription: {\n\t\ttype: [String, null] as PropType<string | null>,\n\t\tdefault: null,\n\t\trequired: false,\n\t},\n});\ndefineSlots();\nconst showHint = computed(() => componentProps.description !== null && componentProps.description.length > 0);\n\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-text-field\n\t\tv-bind='$attrs'\n\t\t:hint='description ?? undefined'\n\t\t:persistent-hint='showHint'\n\t>\n\t\t<template #message='{ message }'>\n\t\t\t<div\n\t\t\t\tv-if='message !== description'\n\t\t\t\tclass='i-input-message'\n\t\t\t>\n\t\t\t\t{{ message }}\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tv-if='showHint'\n\t\t\t\tclass='i-input-message mb-4'\n\t\t\t>\n\t\t\t\t{{ description }}\n\t\t\t</div>\n\t\t</template>\n\t\t<template v-for='(_, slot) in $slots' #[slot]='scope'>\n\t\t\t<slot :name='slot' v-bind='scope || {}' />\n\t\t</template>\n\t</v-text-field>\n</template>\n\n<script lang='ts' setup>\nimport { computed , type PropType } from 'vue';\nimport { VTextField } from 'vuetify/components';\n\nconst componentProps = defineProps({\n\tdescription: {\n\t\ttype: [String, null] as PropType<string | null>,\n\t\tdefault: null,\n\t\trequired: false,\n\t},\n});\ndefineSlots();\nconst showHint = computed(() => componentProps.description !== null && componentProps.description.length > 0);\n\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<span v-if='modelValue.length < componentProps.length'>\n\t\t{{ modelValue }}\n\t</span>\n\t<span v-else>\n\t\t{{ `${modelValue.substring(0, componentProps.length)}…` }}\n\t</span>\n</template>\n\n<script lang='ts' setup>\nconst componentProps = defineProps({\n\tlength: {\n\t\ttype: Number,\n\t\trequired: true,\n\t\tvalidator(value: number): boolean {\n\t\t\treturn value > 0;\n\t\t},\n\t},\n});\nconst modelValue = defineModel({\n\ttype: String,\n\trequired: true,\n});\n</script>\n","<!--\nCopyright 2025 MICRORISC s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software,\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-->\n\n<template>\n\t<v-avatar\n\t\tv-if='gravatarUrl'\n\t\t:image='gravatarUrl'\n\t\t:size='componentProps.size'\n\t/>\n\t<v-icon\n\t\tv-else\n\t\tcolor='white'\n\t\t:icon='mdiAccount'\n\t\t:size='componentProps.size'\n\t/>\n</template>\n<script setup lang='ts'>\nimport { mdiAccount } from '@mdi/js';\nimport md5 from 'md5';\nimport { computed, ComputedRef } from 'vue';\n\nimport { IUserAvatarProps } from './props';\n\n/// Component props\nconst componentProps = withDefaults(defineProps<IUserAvatarProps>(), {\n\tsize: 512,\n});\n\n/// Computed Gravatar URL\nconst gravatarUrl: ComputedRef<string|undefined> = computed((): string|undefined => {\n\tif (componentProps.email === undefined) {\n\t\treturn undefined;\n\t}\n\tconst hash = md5(componentProps.email.trim().toLowerCase());\n\treturn `https://www.gravatar.com/avatar/${hash}?s=${componentProps.size}&d=mp`;\n});\n\ndefineSlots();\n</script>\n"],"names":["en","enVuetify","enIqrf","i18n","createI18n","Action","ActionUtils","action","mdiPlus","mdiCheckboxMarkedOutline","mdiLock","mdiCancel","mdiWindowClose","mdiCheckCircleOutline","mdiDelete","mdiStopCircleOutline","mdiDownload","mdiPencil","mdiPlayCircleOutline","mdiExport","mdiImport","mdiSend","mdiArrowRightThick","mdiArrowLeftThick","mdiReload","mdiRestore","mdiRestart","mdiContentSave","mdiInformationBox","mdiSkipNext","mdiPlay","mdiStop","mdiLockOff","mdiUpload","mdiHelp","ComponentState","SkeletonLoaders","rows","columns","Language","Theme","maxInt","base","tMin","tMax","skew","damp","initialBias","initialN","delimiter","regexNonASCII","regexSeparators","errors","baseMinusTMin","floor","stringFromCharCode","error","type","map","array","callback","result","length","mapDomain","domain","parts","labels","encoded","ucs2decode","string","output","counter","value","extra","digitToBasic","digit","flag","adapt","delta","numPoints","firstTime","k","encode","input","inputLength","bias","currentValue","basicLength","handledCPCount","m","handledCPCountPlusOne","q","t","qMinusT","baseMinusT","toASCII","ValidationRules","condition","min","max","errorMessage","z","punycodeToASCII","ipv4Validator","ipv6Validator","isFQDN","pattern","protocolRegex","emit","__emit","componentProps","__props","color","computed","icon","text","variant","tooltip","_createBlock","_component_v_btn","disabled","containerType","_cache","$event","mdiCheck","mdiClose","_component_v_icon","theme","useTheme","actionsClass","actionsColor","isLight","headerClass","_component_v_card","bottomMargin","$slots","_component_v_toolbar","_component_v_toolbar_title","_renderSlot","_ctx","_component_v_toolbar_items","_component_v_card_text","_component_v_card_actions","_directive_tooltip","model","_useModel","open","ref","updateHeaders","watch","newVal","oldVal","updateVisibleColumns","column","idx","resetColumns","close","save","isChecked","key","_component_v_menu","_withCtx","props","_createVNode","_mergeProps","_unref","mdiFilterVariant","_component_v_card_title","$t","_component_v_divider","_component_v_list","_openBlock","_createElementBlock","_Fragment","_renderList","item","_component_v_list_item","_component_v_list_item_title","_component_v_checkbox","ICardActionBtn","_component_v_spacer","mobile","useDisplay","searchQuery","headerOptions","filterKeys","page","filteredHeaders","toolbarVisible","mobileMode","_component_v_data_table","pageCount","_hoisted_1","_component_v_pagination","_component_v_text_field","mdiMagnify","IDataTableColumnFilter","_component_v_skeleton_loader","_normalizeClass","_","slot","scope","_normalizeProps","_guardReactiveProps","classes","showHex","displayValue","hex","mdiHexadecimal","mdiNumeric","_createTextVNode","_toDisplayString","showDialog","lgAndUp","md","width","_component_v_dialog","name","__expose","submit","IModalWindow","IDataTableAction","ICard","IActionBtn","display","_component_v_chip","ILanguageFlag","CZ","GB","useI18n","languages","Base64","modelValue","_component_v_select","mdiTranslate","showHint","_component_v_number_input","message","_hoisted_2","show","displayLabel","visibilityIcon","mdiEye","mdiEyeOff","prependInnerIcon","mdiKey","inputType","VTextField","description","gravatarUrl","md5","_component_v_avatar","mdiAccount"],"mappings":"0nCAuBMA,GAAK,CACV,SAAYC,GAAAA,GACZ,GAAGC,GAAAA,MACJ,EAEMC,EAAOC,EAAAA,WAAW,CACvB,OAAQ,GACR,OAAQ,KACR,SAAU,CACT,GAAAJ,EAAA,CAEF,CAAC,ECiBM,IAAKK,GAAAA,IAEXA,EAAA,IAAM,MAENA,EAAA,MAAQ,QAERA,EAAA,MAAQ,QAERA,EAAA,OAAS,SAETA,EAAA,MAAQ,QAERA,EAAA,QAAU,UAEVA,EAAA,OAAS,SAETA,EAAA,OAAS,SAETA,EAAA,QAAU,UAEVA,EAAA,SAAW,WAEXA,EAAA,KAAO,OAEPA,EAAA,OAAS,SAETA,EAAA,OAAS,SAETA,EAAA,OAAS,SAETA,EAAA,OAAS,SAETA,EAAA,KAAO,OAEPA,EAAA,SAAW,WAEXA,EAAA,OAAS,SAETA,EAAA,OAAS,SAETA,EAAA,MAAQ,QAERA,EAAA,QAAU,UAEVA,EAAA,KAAO,OAEPA,EAAA,YAAc,eAEdA,EAAA,KAAO,OAEPA,EAAA,MAAQ,QAERA,EAAA,KAAO,OAEPA,EAAA,QAAU,UAEVA,EAAA,OAAS,SAxDEA,IAAAA,GAAA,CAAA,C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