@iqrf/iqrf-vue-ui 0.0.1-beta.3 → 0.0.1-beta.4
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/iqrf-vue-ui.js.map +1 -1
- package/dist/iqrf-vue-ui.umd.cjs.map +1 -1
- package/dist/src/components/ICard/ICard.vue.d.ts +2 -9
- package/dist/src/components/ICard/ICard.vue.d.ts.map +1 -1
- package/dist/src/components/ICard/ICardActionBtn.vue.d.ts +4 -11
- package/dist/src/components/ICard/ICardActionBtn.vue.d.ts.map +1 -1
- package/dist/src/components/ICard/ICardTitleActionBtn.vue.d.ts +4 -11
- package/dist/src/components/ICard/ICardTitleActionBtn.vue.d.ts.map +1 -1
- package/dist/src/components/IDecHexNumber/IDecHexNumber.vue.d.ts +3 -10
- package/dist/src/components/IDecHexNumber/IDecHexNumber.vue.d.ts.map +1 -1
- package/dist/src/components/IPasswordInput/IPasswordInput.vue.d.ts +2 -9
- package/dist/src/components/IPasswordInput/IPasswordInput.vue.d.ts.map +1 -1
- package/dist/src/components/IUserAvatar/IUserAvatar.vue.d.ts +2 -9
- package/dist/src/components/IUserAvatar/IUserAvatar.vue.d.ts.map +1 -1
- package/package.json +3 -2
- package/dist/src/components/ICard/props.d.ts +0 -69
- package/dist/src/components/ICard/props.d.ts.map +0 -1
- package/dist/src/components/IDecHexNumber/props.d.ts +0 -20
- package/dist/src/components/IDecHexNumber/props.d.ts.map +0 -1
- package/dist/src/components/IPasswordInput/props.d.ts +0 -18
- package/dist/src/components/IPasswordInput/props.d.ts.map +0 -1
- package/dist/src/components/IUserAvatar/props.d.ts +0 -23
- package/dist/src/components/IUserAvatar/props.d.ts.map +0 -1
package/dist/iqrf-vue-ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iqrf-vue-ui.js","sources":["../src/plugins/i18n.ts","../src/utils/actionUtils.ts","../src/utils/componentState.ts","../src/utils/theme.ts","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.es6.js","../src/utils/validationRules.ts","../src/components/ICard/ICard.vue","../src/components/ICard/ICardActionBtn.vue","../src/components/ICard/ICardTitleActionBtn.vue","../src/components/IDecHexNumber/IDecHexNumber.vue","../src/components/IPasswordInput/IPasswordInput.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 enIqrf from '@/locales/en.json';\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\tmdiPencil,\n\tmdiPlay,\n\tmdiPlayCircleOutline,\n\tmdiPlus,\n\tmdiReload,\n\tmdiRestart,\n\tmdiRestore,\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/// 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/// Next\n\tNext = 'next',\n\t/// Previous\n\tPrevious = 'previous',\n\t/// Reload\n\tReload = 'reload',\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/// 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\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.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\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.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.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.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.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.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.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.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.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","/**\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-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 props = 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 = props.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 = props.headerColor;\n\tif (props.action && color === 'default') {\n\t\tcolor = ActionUtils.getColor(props.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(['click']);\nconst props = 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 (props.color) {\n\t\treturn props.color;\n\t}\n\tif ([Action.Cancel, Action.Close, Action.Previous, Action.Reset, Action.Skip].includes(props.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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Button text\nconst text: Ref<string> = computed((): string => {\n\tif (props.text) {\n\t\treturn props.text;\n\t}\n\treturn ActionUtils.getText(props.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\tv-bind='props'\n\t\t:color='props.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(['click']);\nconst props = 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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Tooltip text\nconst tooltip: Ref<string> = computed((): string => {\n\tif (props.tooltip) {\n\t\treturn props.tooltip;\n\t}\n\treturn ActionUtils.getText(props.action);\n});\n\ndefineSlots();\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 props = withDefaults(defineProps<IDecHexNumberProps>(), {\n\tcolor: undefined,\n\tformat: 'dec',\n\thexDigits: 0,\n\tuppercase: false,\n});\nconst showHex: Ref<boolean> = ref(props.format === 'hex');\nconst displayValue: ComputedRef<string> = computed((): string => {\n\tif (showHex.value) {\n\t\tconst hex = model.value.toString(16).padStart(props.hexDigits, '0');\n\t\treturn props.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 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 props = withDefaults(defineProps<IPasswordFieldProps>(), {\n\tdescription: undefined,\n\thidePrependIcon: false,\n\tlabel: undefined,\n});\ndefineSlots();\nconst displayLabel = computed(() => {\n\treturn props.label ?? t('$iqrf.components.passwordInput.label');\n});\nconst visibilityIcon = computed(() => {\n\treturn show.value ? mdiEye : mdiEyeOff;\n});\nconst prependInnerIcon = computed(() => {\n\treturn props.hidePrependIcon ? null : mdiKey;\n});\nconst inputType = computed(() => {\n\treturn show.value ? 'text' : 'password';\n});\nconst showHint = computed(() => props.description && props.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='extended-input-error'\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='extended-input-description 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-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","mdiCancel","mdiWindowClose","mdiCheckCircleOutline","mdiDelete","mdiStopCircleOutline","mdiDownload","mdiPencil","mdiPlayCircleOutline","mdiExport","mdiImport","mdiArrowRightThick","mdiArrowLeftThick","mdiReload","mdiRestore","mdiRestart","mdiContentSave","mdiInformationBox","mdiSkipNext","mdiPlay","mdiStop","mdiUpload","mdiHelp","ComponentState","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","n","bias","currentValue","basicLength","handledCPCount","m","handledCPCountPlusOne","q","t","qMinusT","baseMinusT","toASCII","ValidationRules","condition","min","max","errorMessage","z","punycodeToASCII","ipv4Validator","ipv6Validator","isFQDN","pattern","protocolRegex","props","__props","theme","useTheme","actionsClass","computed","actionsColor","isLight","headerClass","color","_createBlock","_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","emit","__emit","icon","text","_component_v_btn","disabled","_cache","$event","tooltip","_mergeProps","_directive_tooltip","model","_useModel","showHex","ref","displayValue","hex","mdiHexadecimal","mdiNumeric","_createTextVNode","_toDisplayString","_createVNode","_component_v_icon","show","displayLabel","visibilityIcon","mdiEye","mdiEyeOff","prependInnerIcon","mdiKey","inputType","showHint","_unref","VTextField","description","_withCtx","message","_createElementBlock","_hoisted_1","_hoisted_2","_","slot","scope","_normalizeProps","_guardReactiveProps","componentProps","gravatarUrl","md5","_component_v_avatar","mdi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A;AAAA;MAHD,OAAM;AAAA,MACL,MAAMU,EAAAiB,EAAA;AAAA,MACN,MAAMJ,EAAe;AAAA,IAAA;;;","x_google_ignoreList":[4]}
|
|
1
|
+
{"version":3,"file":"iqrf-vue-ui.js","sources":["../src/plugins/i18n.ts","../src/utils/actionUtils.ts","../src/utils/componentState.ts","../src/utils/theme.ts","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.es6.js","../src/utils/validationRules.ts","../src/components/ICard/ICard.vue","../src/components/ICard/ICardActionBtn.vue","../src/components/ICard/ICardTitleActionBtn.vue","../src/components/IDecHexNumber/IDecHexNumber.vue","../src/components/IPasswordInput/IPasswordInput.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 enIqrf from '@/locales/en.json';\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\tmdiPencil,\n\tmdiPlay,\n\tmdiPlayCircleOutline,\n\tmdiPlus,\n\tmdiReload,\n\tmdiRestart,\n\tmdiRestore,\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/// 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/// Next\n\tNext = 'next',\n\t/// Previous\n\tPrevious = 'previous',\n\t/// Reload\n\tReload = 'reload',\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/// 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\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.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\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.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.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.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.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.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.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.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.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","/**\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-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 props = 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 = props.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 = props.headerColor;\n\tif (props.action && color === 'default') {\n\t\tcolor = ActionUtils.getColor(props.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 props = 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 (props.color) {\n\t\treturn props.color;\n\t}\n\tif ([Action.Cancel, Action.Close, Action.Previous, Action.Reset, Action.Skip].includes(props.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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Button text\nconst text: Ref<string> = computed((): string => {\n\tif (props.text) {\n\t\treturn props.text;\n\t}\n\treturn ActionUtils.getText(props.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\tv-bind='props'\n\t\t:color='props.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 props = 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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Tooltip text\nconst tooltip: Ref<string> = computed((): string => {\n\tif (props.tooltip) {\n\t\treturn props.tooltip;\n\t}\n\treturn ActionUtils.getText(props.action);\n});\n\ndefineSlots();\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 props = withDefaults(defineProps<IDecHexNumberProps>(), {\n\tcolor: undefined,\n\tformat: 'dec',\n\thexDigits: 0,\n\tuppercase: false,\n});\nconst showHex: Ref<boolean> = ref(props.format === 'hex');\nconst displayValue: ComputedRef<string> = computed((): string => {\n\tif (showHex.value) {\n\t\tconst hex = model.value.toString(16).padStart(props.hexDigits, '0');\n\t\treturn props.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 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 props = withDefaults(defineProps<IPasswordFieldProps>(), {\n\tdescription: undefined,\n\thidePrependIcon: false,\n\tlabel: undefined,\n});\ndefineSlots();\nconst displayLabel = computed(() => {\n\treturn props.label ?? t('$iqrf.components.passwordInput.label');\n});\nconst visibilityIcon = computed(() => {\n\treturn show.value ? mdiEye : mdiEyeOff;\n});\nconst prependInnerIcon = computed(() => {\n\treturn props.hidePrependIcon ? null : mdiKey;\n});\nconst inputType = computed(() => {\n\treturn show.value ? 'text' : 'password';\n});\nconst showHint = computed(() => props.description && props.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='extended-input-error'\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='extended-input-description 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-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","mdiCancel","mdiWindowClose","mdiCheckCircleOutline","mdiDelete","mdiStopCircleOutline","mdiDownload","mdiPencil","mdiPlayCircleOutline","mdiExport","mdiImport","mdiArrowRightThick","mdiArrowLeftThick","mdiReload","mdiRestore","mdiRestart","mdiContentSave","mdiInformationBox","mdiSkipNext","mdiPlay","mdiStop","mdiUpload","mdiHelp","ComponentState","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","n","bias","currentValue","basicLength","handledCPCount","m","handledCPCountPlusOne","q","t","qMinusT","baseMinusT","toASCII","ValidationRules","condition","min","max","errorMessage","z","punycodeToASCII","ipv4Validator","ipv6Validator","isFQDN","pattern","protocolRegex","props","__props","theme","useTheme","actionsClass","computed","actionsColor","isLight","headerClass","color","_createBlock","_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","emit","__emit","icon","text","_component_v_btn","disabled","_cache","$event","tooltip","_mergeProps","_directive_tooltip","model","_useModel","showHex","ref","displayValue","hex","mdiHexadecimal","mdiNumeric","_createTextVNode","_toDisplayString","_createVNode","_component_v_icon","show","displayLabel","visibilityIcon","mdiEye","mdiEyeOff","prependInnerIcon","mdiKey","inputType","showHint","_unref","VTextField","description","_withCtx","message","_createElementBlock","_hoisted_1","_hoisted_2","_","slot","scope","_normalizeProps","_guardReactiveProps","componentProps","gravatarUrl","md5","_component_v_avatar","mdiAccount"],"mappings":";;;;;;;;;;;;;;;;;GAuBMA,KAAK;AAAA,EACV,UAAYC;AAAAA,EACZ,GAAGC;AACJ,GAEMC,IAAOC,GAAW;AAAA,EACvB,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,UAAU;AAAA,IACT,IAAAJ;AAAA,EAAA;AAEF,CAAC;ACcM,IAAKK,sBAAAA,OAEXA,EAAA,MAAM,OAENA,EAAA,QAAQ,SAERA,EAAA,SAAS,UAETA,EAAA,QAAQ,SAERA,EAAA,UAAU,WAEVA,EAAA,SAAS,UAETA,EAAA,SAAS,UAETA,EAAA,UAAU,WAEVA,EAAA,WAAW,YAEXA,EAAA,OAAO,QAEPA,EAAA,SAAS,UAETA,EAAA,SAAS,UAETA,EAAA,SAAS,UAETA,EAAA,OAAO,QAEPA,EAAA,WAAW,YAEXA,EAAA,SAAS,UAETA,EAAA,QAAQ,SAERA,EAAA,UAAU,WAEVA,EAAA,OAAO,QAEPA,EAAA,cAAc,gBAEdA,EAAA,OAAO,QAEPA,EAAA,QAAQ,SAERA,EAAA,OAAO,QAEPA,EAAA,SAAS,UAhDEA,IAAAA,KAAA,CAAA,CAAA;AAuDL,MAAMC,EAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOxB,OAAc,SAASC,GAAwB;AAC9C,YAAQA,GAAA;AAAA,MACP,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AACJ,eAAO;AAAA,MACR,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KA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AMG,IAAiBjE,GAKjBkE,IAA6C9D,EAAS,MACvD6D,EAAe,UAAU,SAC5B,SAGM,mCADME,GAAIF,EAAe,MAAM,KAAA,EAAO,aAAa,CACZ,MAAMA,EAAe,IAAI,OACvE;qBA9BOC,EAAA,cADPzD,EAIE2D,IAAA;AAAA;MAFA,OAAOF,EAAA;AAAA,MACP,MAAMD,EAAe;AAAA,IAAA,wCAEvBxD,EAKEiC,GAAA;AAAA;MAHD,OAAM;AAAA,MACL,MAAMU,EAAAiB,EAAA;AAAA,MACN,MAAMJ,EAAe;AAAA,IAAA;;;","x_google_ignoreList":[4]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iqrf-vue-ui.umd.cjs","sources":["../src/plugins/i18n.ts","../src/utils/actionUtils.ts","../src/utils/componentState.ts","../src/utils/theme.ts","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.es6.js","../src/utils/validationRules.ts","../src/components/ICard/ICard.vue","../src/components/ICard/ICardActionBtn.vue","../src/components/ICard/ICardTitleActionBtn.vue","../src/components/IDecHexNumber/IDecHexNumber.vue","../src/components/IPasswordInput/IPasswordInput.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 enIqrf from '@/locales/en.json';\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\tmdiPencil,\n\tmdiPlay,\n\tmdiPlayCircleOutline,\n\tmdiPlus,\n\tmdiReload,\n\tmdiRestart,\n\tmdiRestore,\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/// 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/// Next\n\tNext = 'next',\n\t/// Previous\n\tPrevious = 'previous',\n\t/// Reload\n\tReload = 'reload',\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/// 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\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.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\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.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.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.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.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.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.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.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.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","/**\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-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 props = 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 = props.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 = props.headerColor;\n\tif (props.action && color === 'default') {\n\t\tcolor = ActionUtils.getColor(props.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(['click']);\nconst props = 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 (props.color) {\n\t\treturn props.color;\n\t}\n\tif ([Action.Cancel, Action.Close, Action.Previous, Action.Reset, Action.Skip].includes(props.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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Button text\nconst text: Ref<string> = computed((): string => {\n\tif (props.text) {\n\t\treturn props.text;\n\t}\n\treturn ActionUtils.getText(props.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\tv-bind='props'\n\t\t:color='props.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(['click']);\nconst props = 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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Tooltip text\nconst tooltip: Ref<string> = computed((): string => {\n\tif (props.tooltip) {\n\t\treturn props.tooltip;\n\t}\n\treturn ActionUtils.getText(props.action);\n});\n\ndefineSlots();\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 props = withDefaults(defineProps<IDecHexNumberProps>(), {\n\tcolor: undefined,\n\tformat: 'dec',\n\thexDigits: 0,\n\tuppercase: false,\n});\nconst showHex: Ref<boolean> = ref(props.format === 'hex');\nconst displayValue: ComputedRef<string> = computed((): string => {\n\tif (showHex.value) {\n\t\tconst hex = model.value.toString(16).padStart(props.hexDigits, '0');\n\t\treturn props.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 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 props = withDefaults(defineProps<IPasswordFieldProps>(), {\n\tdescription: undefined,\n\thidePrependIcon: false,\n\tlabel: undefined,\n});\ndefineSlots();\nconst displayLabel = computed(() => {\n\treturn props.label ?? t('$iqrf.components.passwordInput.label');\n});\nconst visibilityIcon = computed(() => {\n\treturn show.value ? mdiEye : mdiEyeOff;\n});\nconst prependInnerIcon = computed(() => {\n\treturn props.hidePrependIcon ? null : mdiKey;\n});\nconst inputType = computed(() => {\n\treturn show.value ? 'text' : 'password';\n});\nconst showHint = computed(() => props.description && props.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='extended-input-error'\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='extended-input-description 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-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","mdiCancel","mdiWindowClose","mdiCheckCircleOutline","mdiDelete","mdiStopCircleOutline","mdiDownload","mdiPencil","mdiPlayCircleOutline","mdiExport","mdiImport","mdiArrowRightThick","mdiArrowLeftThick","mdiReload","mdiRestore","mdiRestart","mdiContentSave","mdiInformationBox","mdiSkipNext","mdiPlay","mdiStop","mdiUpload","mdiHelp","ComponentState","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","n","bias","currentValue","basicLength","handledCPCount","m","handledCPCountPlusOne","q","t","qMinusT","baseMinusT","toASCII","ValidationRules","condition","min","max","errorMessage","z","punycodeToASCII","ipv4Validator","ipv6Validator","isFQDN","pattern","protocolRegex","props","__props","theme","useTheme","actionsClass","computed","actionsColor","isLight","headerClass","color","_createBlock","_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","emit","__emit","icon","text","_component_v_btn","disabled","_cache","$event","tooltip","_mergeProps","_directive_tooltip","model","_useModel","showHex","ref","displayValue","hex","mdiHexadecimal","mdiNumeric","_createTextVNode","_toDisplayString","_createVNode","_component_v_icon","show","displayLabel","visibilityIcon","mdiEye","mdiEyeOff","prependInnerIcon","mdiKey","inputType","showHint","_unref","VTextField","description","_withCtx","message","_createElementBlock","_hoisted_1","_hoisted_2","_","slot","scope","_normalizeProps","_guardReactiveProps","componentProps","gravatarUrl","md5","_component_v_avatar","mdiAccount"],"mappings":"yiDAuBMA,EAAK,CACV,SAAYC,EAAAA,GACZ,GAAGC,CACJ,EAEMC,EAAOC,EAAAA,WAAW,CACvB,OAAQ,GACR,OAAQ,KACR,SAAU,CACT,GAAAJ,CAAA,CAEF,CAAC,ECcM,IAAKK,GAAAA,IAEXA,EAAA,IAAM,MAENA,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,KAAO,OAEPA,EAAA,SAAW,WAEXA,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,OAAS,SAhDEA,IAAAA,GAAA,CAAA,CAAA,EAuDL,MAAMC,CAAY,CAOxB,OAAc,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AAe,IAAI,OACvE,eA9BOC,EAAA,qBADPzD,EAAAA,YAIE2D,EAAAA,QAAA,OAFA,MAAOF,EAAA,MACP,KAAMD,EAAe,IAAA,2CAEvBxD,EAAAA,YAKEiC,QAAA,OAHD,MAAM,QACL,KAAMU,EAAAA,MAAAiB,YAAA,EACN,KAAMJ,EAAe,IAAA","x_google_ignoreList":[4]}
|
|
1
|
+
{"version":3,"file":"iqrf-vue-ui.umd.cjs","sources":["../src/plugins/i18n.ts","../src/utils/actionUtils.ts","../src/utils/componentState.ts","../src/utils/theme.ts","../../../node_modules/.pnpm/punycode@2.3.1/node_modules/punycode/punycode.es6.js","../src/utils/validationRules.ts","../src/components/ICard/ICard.vue","../src/components/ICard/ICardActionBtn.vue","../src/components/ICard/ICardTitleActionBtn.vue","../src/components/IDecHexNumber/IDecHexNumber.vue","../src/components/IPasswordInput/IPasswordInput.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 enIqrf from '@/locales/en.json';\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\tmdiPencil,\n\tmdiPlay,\n\tmdiPlayCircleOutline,\n\tmdiPlus,\n\tmdiReload,\n\tmdiRestart,\n\tmdiRestore,\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/// 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/// Next\n\tNext = 'next',\n\t/// Previous\n\tPrevious = 'previous',\n\t/// Reload\n\tReload = 'reload',\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/// 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\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.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\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.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.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.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.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.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.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.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.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","/**\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-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 props = 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 = props.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 = props.headerColor;\n\tif (props.action && color === 'default') {\n\t\tcolor = ActionUtils.getColor(props.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 props = 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 (props.color) {\n\t\treturn props.color;\n\t}\n\tif ([Action.Cancel, Action.Close, Action.Previous, Action.Reset, Action.Skip].includes(props.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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Button text\nconst text: Ref<string> = computed((): string => {\n\tif (props.text) {\n\t\treturn props.text;\n\t}\n\treturn ActionUtils.getText(props.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\tv-bind='props'\n\t\t:color='props.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 props = 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 (props.icon) {\n\t\treturn props.icon;\n\t}\n\treturn props.action === Action.Custom ? mdiHelp : ActionUtils.getIcon(props.action);\n});\n\n/// Tooltip text\nconst tooltip: Ref<string> = computed((): string => {\n\tif (props.tooltip) {\n\t\treturn props.tooltip;\n\t}\n\treturn ActionUtils.getText(props.action);\n});\n\ndefineSlots();\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 props = withDefaults(defineProps<IDecHexNumberProps>(), {\n\tcolor: undefined,\n\tformat: 'dec',\n\thexDigits: 0,\n\tuppercase: false,\n});\nconst showHex: Ref<boolean> = ref(props.format === 'hex');\nconst displayValue: ComputedRef<string> = computed((): string => {\n\tif (showHex.value) {\n\t\tconst hex = model.value.toString(16).padStart(props.hexDigits, '0');\n\t\treturn props.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 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 props = withDefaults(defineProps<IPasswordFieldProps>(), {\n\tdescription: undefined,\n\thidePrependIcon: false,\n\tlabel: undefined,\n});\ndefineSlots();\nconst displayLabel = computed(() => {\n\treturn props.label ?? t('$iqrf.components.passwordInput.label');\n});\nconst visibilityIcon = computed(() => {\n\treturn show.value ? mdiEye : mdiEyeOff;\n});\nconst prependInnerIcon = computed(() => {\n\treturn props.hidePrependIcon ? null : mdiKey;\n});\nconst inputType = computed(() => {\n\treturn show.value ? 'text' : 'password';\n});\nconst showHint = computed(() => props.description && props.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='extended-input-error'\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='extended-input-description 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-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","mdiCancel","mdiWindowClose","mdiCheckCircleOutline","mdiDelete","mdiStopCircleOutline","mdiDownload","mdiPencil","mdiPlayCircleOutline","mdiExport","mdiImport","mdiArrowRightThick","mdiArrowLeftThick","mdiReload","mdiRestore","mdiRestart","mdiContentSave","mdiInformationBox","mdiSkipNext","mdiPlay","mdiStop","mdiUpload","mdiHelp","ComponentState","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","n","bias","currentValue","basicLength","handledCPCount","m","handledCPCountPlusOne","q","t","qMinusT","baseMinusT","toASCII","ValidationRules","condition","min","max","errorMessage","z","punycodeToASCII","ipv4Validator","ipv6Validator","isFQDN","pattern","protocolRegex","props","__props","theme","useTheme","actionsClass","computed","actionsColor","isLight","headerClass","color","_createBlock","_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","emit","__emit","icon","text","_component_v_btn","disabled","_cache","$event","tooltip","_mergeProps","_directive_tooltip","model","_useModel","showHex","ref","displayValue","hex","mdiHexadecimal","mdiNumeric","_createTextVNode","_toDisplayString","_createVNode","_component_v_icon","show","displayLabel","visibilityIcon","mdiEye","mdiEyeOff","prependInnerIcon","mdiKey","inputType","showHint","_unref","VTextField","description","_withCtx","message","_createElementBlock","_hoisted_1","_hoisted_2","_","slot","scope","_normalizeProps","_guardReactiveProps","componentProps","gravatarUrl","md5","_component_v_avatar","mdiAccount"],"mappings":"yiDAuBMA,EAAK,CACV,SAAYC,EAAAA,GACZ,GAAGC,CACJ,EAEMC,EAAOC,EAAAA,WAAW,CACvB,OAAQ,GACR,OAAQ,KACR,SAAU,CACT,GAAAJ,CAAA,CAEF,CAAC,ECcM,IAAKK,GAAAA,IAEXA,EAAA,IAAM,MAENA,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,KAAO,OAEPA,EAAA,SAAW,WAEXA,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,OAAS,SAhDEA,IAAAA,GAAA,CAAA,CAAA,EAuDL,MAAMC,CAAY,CAOxB,OAAc,SAASC,EAAwB,CAC9C,OAAQA,EAAA,CACP,IAAK,MACL,IAAK,QACL,IAAK,UACL,IAAK,SACL,IAAK,QACJ,MAAO,QACR,IAAK,SACL,IAAK,QACL,IAAK,W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AKEiC,QAAA,OAHD,MAAM,QACL,KAAMU,EAAAA,MAAAiB,YAAA,EACN,KAAMJ,EAAe,IAAA","x_google_ignoreList":[4]}
|
|
@@ -1,21 +1,14 @@
|
|
|
1
1
|
import { Action } from '../../utils';
|
|
2
2
|
import { ICardProps } from './props';
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
|
-
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
3
|
declare const __VLS_component: import('vue').DefineComponent<ICardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ICardProps> & Readonly<{}>, {
|
|
11
4
|
action: Action;
|
|
12
5
|
actionColor: string;
|
|
13
6
|
bottomMargin: boolean;
|
|
14
7
|
headerColor: string;
|
|
15
8
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
-
declare const _default:
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
10
|
export default _default;
|
|
18
|
-
type
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
12
|
new (): {
|
|
20
13
|
$slots: S;
|
|
21
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ICard/ICard.vue"],"names":[],"mappings":"AA0CA;AA6FA,OAAO,EAAE,MAAM,EAAsB,MAAM,SAAS,CAAC;AAErD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"ICard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ICard/ICard.vue"],"names":[],"mappings":"AA0CA;AA6FA,OAAO,EAAE,MAAM,EAAsB,MAAM,SAAS,CAAC;AAErD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAoM1C,QAAA,MAAM,eAAe;;;;;6EAGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { Action } from '../../utils';
|
|
2
2
|
import { ICardActionBtnProps } from './props';
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
|
-
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
3
|
declare const __VLS_component: import('vue').DefineComponent<ICardActionBtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
click: (
|
|
4
|
+
click: (event: Event) => any;
|
|
12
5
|
}, string, import('vue').PublicProps, Readonly<ICardActionBtnProps> & Readonly<{
|
|
13
|
-
onClick?: ((
|
|
6
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
14
7
|
}>, {
|
|
15
8
|
action: Action;
|
|
16
9
|
disabled: boolean;
|
|
17
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const _default:
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
12
|
export default _default;
|
|
20
|
-
type
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
14
|
new (): {
|
|
22
15
|
$slots: S;
|
|
23
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICardActionBtn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ICard/ICardActionBtn.vue"],"names":[],"mappings":"AA0BA;
|
|
1
|
+
{"version":3,"file":"ICardActionBtn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ICard/ICardActionBtn.vue"],"names":[],"mappings":"AA0BA;AA6EA,OAAO,EAAE,MAAM,EAAe,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA2G9C,QAAA,MAAM,eAAe;;;;;;;6EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { Action } from '../../utils';
|
|
2
2
|
import { ICardTitleActionBtnProps } from './props';
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
attrs: Partial<{}>;
|
|
5
|
-
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
3
|
declare const __VLS_component: import('vue').DefineComponent<ICardTitleActionBtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
-
click: (
|
|
4
|
+
click: (event: Event) => any;
|
|
12
5
|
}, string, import('vue').PublicProps, Readonly<ICardTitleActionBtnProps> & Readonly<{
|
|
13
|
-
onClick?: ((
|
|
6
|
+
onClick?: ((event: Event) => any) | undefined;
|
|
14
7
|
}>, {
|
|
15
8
|
action: Action;
|
|
16
9
|
color: string;
|
|
17
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
-
declare const _default:
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
12
|
export default _default;
|
|
20
|
-
type
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
14
|
new (): {
|
|
22
15
|
$slots: S;
|
|
23
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ICardTitleActionBtn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ICard/ICardTitleActionBtn.vue"],"names":[],"mappings":"AA0BA;
|
|
1
|
+
{"version":3,"file":"ICardTitleActionBtn.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ICard/ICardTitleActionBtn.vue"],"names":[],"mappings":"AA0BA;AAkEA,OAAO,EAAE,MAAM,EAAe,MAAM,SAAS,CAAC;AAE9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAgGnD,QAAA,MAAM,eAAe;;;;;;;6EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import { IDecHexNumberProps } from './props';
|
|
2
2
|
declare const model: import('vue').ModelRef<number, string, number, number>;
|
|
3
3
|
type __VLS_Props = IDecHexNumberProps;
|
|
4
|
-
type __VLS_PublicProps = {
|
|
4
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
5
5
|
modelValue: typeof model['value'];
|
|
6
|
-
} & __VLS_Props;
|
|
7
|
-
declare function __VLS_template(): {
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
10
|
-
refs: {};
|
|
11
|
-
rootEl: any;
|
|
12
6
|
};
|
|
13
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
7
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
8
|
"update:modelValue": (value: number) => any;
|
|
16
9
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -21,9 +14,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
21
14
|
hexDigits: number;
|
|
22
15
|
uppercase: boolean;
|
|
23
16
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
24
|
-
declare const _default:
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
25
18
|
export default _default;
|
|
26
|
-
type
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
20
|
new (): {
|
|
28
21
|
$slots: S;
|
|
29
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IDecHexNumber.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IDecHexNumber/IDecHexNumber.vue"],"names":[],"mappings":"AA4DA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAIlD,QAAA,MAAM,KAAK,wDAGT,CAAC;AACH,KAAK,WAAW,GAAG,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"IDecHexNumber.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IDecHexNumber/IDecHexNumber.vue"],"names":[],"mappings":"AA4DA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAIlD,QAAA,MAAM,KAAK,wDAGT,CAAC;AACH,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAwCtC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC;AA8DF,QAAA,MAAM,eAAe;;;;;;;;;6EAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { IPasswordFieldProps } from './props';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
5
|
-
refs: {};
|
|
6
|
-
rootEl: any;
|
|
7
|
-
};
|
|
8
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
2
|
declare const __VLS_component: import('vue').DefineComponent<IPasswordFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IPasswordFieldProps> & Readonly<{}>, {
|
|
10
3
|
label: string;
|
|
11
4
|
description: string;
|
|
12
5
|
hidePrependIcon: boolean;
|
|
13
6
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
declare const _default:
|
|
7
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
15
8
|
export default _default;
|
|
16
|
-
type
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
10
|
new (): {
|
|
18
11
|
$slots: S;
|
|
19
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IPasswordInput/IPasswordInput.vue"],"names":[],"mappings":"AAeA;AAsFA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"IPasswordInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IPasswordInput/IPasswordInput.vue"],"names":[],"mappings":"AAeA;AAsFA,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAuI9C,QAAA,MAAM,eAAe;;;;6EAGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import { IUserAvatarProps } from './props';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
5
|
-
refs: {};
|
|
6
|
-
rootEl: any;
|
|
7
|
-
};
|
|
8
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
2
|
declare const __VLS_component: import('vue').DefineComponent<IUserAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IUserAvatarProps> & Readonly<{}>, {
|
|
10
3
|
size: number;
|
|
11
4
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
-
declare const _default:
|
|
5
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
6
|
export default _default;
|
|
14
|
-
type
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
8
|
new (): {
|
|
16
9
|
$slots: S;
|
|
17
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUserAvatar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IUserAvatar/IUserAvatar.vue"],"names":[],"mappings":"AA6BA;AA0DA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"IUserAvatar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/IUserAvatar/IUserAvatar.vue"],"names":[],"mappings":"AA6BA;AA0DA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AA4F3C,QAAA,MAAM,eAAe;;6EAGnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAY1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iqrf/iqrf-vue-ui",
|
|
3
3
|
"description": "UI library based on Vuetify 3 for webapps developed by MICRORISC s.r.o. for IQRF wireless technology.",
|
|
4
|
-
"version": "0.0.1-beta.
|
|
4
|
+
"version": "0.0.1-beta.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "MICRORISC s.r.o.",
|
|
7
7
|
"url": "https://www.microrisc.com/"
|
|
@@ -83,6 +83,7 @@
|
|
|
83
83
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
84
84
|
"@vitest/coverage-istanbul": "^3.2.4",
|
|
85
85
|
"@vitest/spy": "^3.2.4",
|
|
86
|
+
"@vue/language-core": "^3.0.7",
|
|
86
87
|
"@vue/test-utils": "^2.4.6",
|
|
87
88
|
"bumpp": "^10.2.3",
|
|
88
89
|
"cypress": "^15.2.0",
|
|
@@ -98,9 +99,9 @@
|
|
|
98
99
|
"stylelint-config-standard-scss": "^15.0.1",
|
|
99
100
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
100
101
|
"typescript": "^5.9.2",
|
|
102
|
+
"unplugin-dts": "1.0.0-beta.6",
|
|
101
103
|
"unplugin-vue-define-options": "3.0.0-beta.23",
|
|
102
104
|
"vite": "^7.1.5",
|
|
103
|
-
"vite-plugin-dts": "^4.5.4",
|
|
104
105
|
"vite-plugin-vuetify": "^2.1.2",
|
|
105
106
|
"vitest": "^3.2.4",
|
|
106
107
|
"vue-i18n-extract": "^2.0.7",
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { Action } from '../../utils';
|
|
2
|
-
/**
|
|
3
|
-
* Card props
|
|
4
|
-
*/
|
|
5
|
-
export interface ICardProps {
|
|
6
|
-
/**
|
|
7
|
-
* Action icon - displayed in card header
|
|
8
|
-
*/
|
|
9
|
-
action?: Action;
|
|
10
|
-
/**
|
|
11
|
-
* Action icon color
|
|
12
|
-
*/
|
|
13
|
-
actionColor?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Add margin to bottom of the card
|
|
16
|
-
*/
|
|
17
|
-
bottomMargin?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Card header color
|
|
20
|
-
*/
|
|
21
|
-
headerColor?: string;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Card action button props
|
|
25
|
-
*/
|
|
26
|
-
export interface ICardActionBtnProps {
|
|
27
|
-
/**
|
|
28
|
-
* Action - preset values set button color, icon and text
|
|
29
|
-
*/
|
|
30
|
-
action?: Action;
|
|
31
|
-
/**
|
|
32
|
-
* Button color - overrides color set by action
|
|
33
|
-
*/
|
|
34
|
-
color?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Disable button
|
|
37
|
-
*/
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Button icon - overrides icon set by action
|
|
41
|
-
*/
|
|
42
|
-
icon?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Button text - overrides text set by action
|
|
45
|
-
*/
|
|
46
|
-
text?: string;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Card title action button props
|
|
50
|
-
*/
|
|
51
|
-
export interface ICardTitleActionBtnProps {
|
|
52
|
-
/**
|
|
53
|
-
* Action - preset values set button color, icon and tooltip text
|
|
54
|
-
*/
|
|
55
|
-
action?: Action;
|
|
56
|
-
/**
|
|
57
|
-
* Button color - overrides color set by action
|
|
58
|
-
*/
|
|
59
|
-
color?: string;
|
|
60
|
-
/**
|
|
61
|
-
* Button icon - overrides icon set by action
|
|
62
|
-
*/
|
|
63
|
-
icon?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Button tooltip text - overrides tooltip text set by action
|
|
66
|
-
*/
|
|
67
|
-
tooltip?: string;
|
|
68
|
-
}
|
|
69
|
-
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/ICard/props.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACN,KAAK,MAAM,EACX,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,MAAM,WAAW,UAAU;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface IDecHexNumberProps {
|
|
2
|
-
/**
|
|
3
|
-
* Switcher color
|
|
4
|
-
*/
|
|
5
|
-
color?: string;
|
|
6
|
-
/**
|
|
7
|
-
* Number format
|
|
8
|
-
* @description Possible values: dec, hex
|
|
9
|
-
*/
|
|
10
|
-
format?: 'dec' | 'hex';
|
|
11
|
-
/**
|
|
12
|
-
* Number of digits in hexadecimal display value
|
|
13
|
-
*/
|
|
14
|
-
hexDigits?: number;
|
|
15
|
-
/**
|
|
16
|
-
* Display hexadecimal value with uppercase letters
|
|
17
|
-
*/
|
|
18
|
-
uppercase?: boolean;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/IDecHexNumber/props.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IAClC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Password field props interface
|
|
3
|
-
*/
|
|
4
|
-
export interface IPasswordFieldProps {
|
|
5
|
-
/**
|
|
6
|
-
* Description or hint displayed underneath the input
|
|
7
|
-
*/
|
|
8
|
-
description?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Hide prepend icon
|
|
11
|
-
*/
|
|
12
|
-
hidePrependIcon?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Input label
|
|
15
|
-
*/
|
|
16
|
-
label?: string;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/IPasswordInput/props.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2025 MICRORISC s.r.o.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* User avatar props
|
|
18
|
-
*/
|
|
19
|
-
export interface IUserAvatarProps {
|
|
20
|
-
email: string;
|
|
21
|
-
size?: number;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/components/IUserAvatar/props.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAEhC,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,CAAC,EAAE,MAAM,CAAC;CACd"}
|