Merge branch 'denz' into dkr

This commit is contained in:
Nukeap committed 2025-02-24 10:49:00 +03:00
commit 65b39ad9a8
186 files changed
+94899 -1965

No files matched your search

@@ -0,0 +1,93 @@
import {
__commonJS
} from "./chunk-BUSYA2B4.js";
// node_modules/@braintree/sanitize-url/dist/constants.js
var require_constants = __commonJS({
"node_modules/@braintree/sanitize-url/dist/constants.js"(exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BLANK_URL = exports.relativeFirstCharacters = exports.whitespaceEscapeCharsRegex = exports.urlSchemeRegex = exports.ctrlCharactersRegex = exports.htmlCtrlEntityRegex = exports.htmlEntitiesRegex = exports.invalidProtocolRegex = void 0;
exports.invalidProtocolRegex = /^([^\w]*)(javascript|data|vbscript)/im;
exports.htmlEntitiesRegex = /&#(\w+)(^\w|;)?/g;
exports.htmlCtrlEntityRegex = /&(newline|tab);/gi;
exports.ctrlCharactersRegex = /[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;
exports.urlSchemeRegex = /^.+(:|:)/gim;
exports.whitespaceEscapeCharsRegex = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;
exports.relativeFirstCharacters = [".", "/"];
exports.BLANK_URL = "about:blank";
}
});
// node_modules/@braintree/sanitize-url/dist/index.js
var require_dist = __commonJS({
"node_modules/@braintree/sanitize-url/dist/index.js"(exports) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.sanitizeUrl = void 0;
var constants_1 = require_constants();
function isRelativeUrlWithoutProtocol(url) {
return constants_1.relativeFirstCharacters.indexOf(url[0]) > -1;
}
function decodeHtmlCharacters(str) {
var removedNullByte = str.replace(constants_1.ctrlCharactersRegex, "");
return removedNullByte.replace(constants_1.htmlEntitiesRegex, function(match, dec) {
return String.fromCharCode(dec);
});
}
function isValidUrl(url) {
return URL.canParse(url);
}
function decodeURI(uri) {
try {
return decodeURIComponent(uri);
} catch (e) {
return uri;
}
}
function sanitizeUrl(url) {
if (!url) {
return constants_1.BLANK_URL;
}
var charsToDecode;
var decodedUrl = decodeURI(url.trim());
do {
decodedUrl = decodeHtmlCharacters(decodedUrl).replace(constants_1.htmlCtrlEntityRegex, "").replace(constants_1.ctrlCharactersRegex, "").replace(constants_1.whitespaceEscapeCharsRegex, "").trim();
decodedUrl = decodeURI(decodedUrl);
charsToDecode = decodedUrl.match(constants_1.ctrlCharactersRegex) || decodedUrl.match(constants_1.htmlEntitiesRegex) || decodedUrl.match(constants_1.htmlCtrlEntityRegex) || decodedUrl.match(constants_1.whitespaceEscapeCharsRegex);
} while (charsToDecode && charsToDecode.length > 0);
var sanitizedUrl = decodedUrl;
if (!sanitizedUrl) {
return constants_1.BLANK_URL;
}
if (isRelativeUrlWithoutProtocol(sanitizedUrl)) {
return sanitizedUrl;
}
var trimmedUrl = sanitizedUrl.trimStart();
var urlSchemeParseResults = trimmedUrl.match(constants_1.urlSchemeRegex);
if (!urlSchemeParseResults) {
return sanitizedUrl;
}
var urlScheme = urlSchemeParseResults[0].toLowerCase().trim();
if (constants_1.invalidProtocolRegex.test(urlScheme)) {
return constants_1.BLANK_URL;
}
var backSanitized = trimmedUrl.replace(/\\/g, "/");
if (urlScheme === "mailto:" || urlScheme.includes("://")) {
return backSanitized;
}
if (urlScheme === "http:" || urlScheme === "https:") {
if (!isValidUrl(backSanitized)) {
return constants_1.BLANK_URL;
}
var url_1 = new URL(backSanitized);
url_1.protocol = url_1.protocol.toLowerCase();
url_1.hostname = url_1.hostname.toLowerCase();
return url_1.toString();
}
return backSanitized;
}
exports.sanitizeUrl = sanitizeUrl;
}
});
export default require_dist();
//# sourceMappingURL=@braintree_sanitize-url.js.map
+91
View File
@@ -0,0 +1,91 @@
{
"hash": "cbc750eb",
"configHash": "7f7c17ab",
"lockfileHash": "80b600e1",
"browserHash": "ce4953ed",
"optimized": {
"vue": {
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "fdd665d5",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../../node_modules/@vue/devtools-api/dist/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "950a92f3",
"needsInterop": false
},
"vitepress > @vueuse/core": {
"src": "../../../../node_modules/@vueuse/core/index.mjs",
"file": "vitepress___@vueuse_core.js",
"fileHash": "0a4bb2fa",
"needsInterop": false
},
"@braintree/sanitize-url": {
"src": "../../../../node_modules/@braintree/sanitize-url/dist/index.js",
"file": "@braintree_sanitize-url.js",
"fileHash": "224eeb05",
"needsInterop": true
},
"dayjs": {
"src": "../../../../node_modules/dayjs/dayjs.min.js",
"file": "dayjs.js",
"fileHash": "adaa6b3f",
"needsInterop": true
},
"debug": {
"src": "../../../../node_modules/debug/src/browser.js",
"file": "debug.js",
"fileHash": "406ed1ff",
"needsInterop": true
},
"cytoscape-cose-bilkent": {
"src": "../../../../node_modules/cytoscape-cose-bilkent/cytoscape-cose-bilkent.js",
"file": "cytoscape-cose-bilkent.js",
"fileHash": "2e761b00",
"needsInterop": true
},
"cytoscape": {
"src": "../../../../node_modules/cytoscape/dist/cytoscape.esm.mjs",
"file": "cytoscape.js",
"fileHash": "bb7f18e9",
"needsInterop": false
},
"vitepress > @vueuse/integrations/useFocusTrap": {
"src": "../../../../node_modules/@vueuse/integrations/useFocusTrap.mjs",
"file": "vitepress___@vueuse_integrations_useFocusTrap.js",
"fileHash": "c7d62ab5",
"needsInterop": false
},
"vitepress > mark.js/src/vanilla.js": {
"src": "../../../../node_modules/mark.js/src/vanilla.js",
"file": "vitepress___mark__js_src_vanilla__js.js",
"fileHash": "e037d247",
"needsInterop": false
},
"vitepress > minisearch": {
"src": "../../../../node_modules/minisearch/dist/es/index.js",
"file": "vitepress___minisearch.js",
"fileHash": "83ae78e7",
"needsInterop": false
},
"vitepress-plugin-mermaid": {
"src": "../../../../node_modules/vitepress-plugin-mermaid/dist/vitepress-plugin-mermaid.es.mjs",
"file": "vitepress-plugin-mermaid.js",
"fileHash": "9d577794",
"needsInterop": false
}
},
"chunks": {
"chunk-REMO2DH2": {
"file": "chunk-REMO2DH2.js"
},
"chunk-LW4I4DCF": {
"file": "chunk-LW4I4DCF.js"
},
"chunk-BUSYA2B4": {
"file": "chunk-BUSYA2B4.js"
}
}
}
@@ -0,0 +1,9 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
export {
__commonJS
};
//# sourceMappingURL=chunk-BUSYA2B4.js.map
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+285
View File
@@ -0,0 +1,285 @@
import {
__commonJS
} from "./chunk-BUSYA2B4.js";
// node_modules/dayjs/dayjs.min.js
var require_dayjs_min = __commonJS({
"node_modules/dayjs/dayjs.min.js"(exports, module) {
!function(t, e) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
}(exports, function() {
"use strict";
var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
} }, m = function(t2, e2, n2) {
var r2 = String(t2);
return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
}, v = { s: m, z: function(t2) {
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
}, m: function t2(e2, n2) {
if (e2.date() < n2.date()) return -t2(n2, e2);
var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), c);
return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
}, a: function(t2) {
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
}, p: function(t2) {
return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
}, u: function(t2) {
return void 0 === t2;
} }, g = "en", D = {};
D[g] = M;
var p = "$isDayjsObject", S = function(t2) {
return t2 instanceof _ || !(!t2 || !t2[p]);
}, w = function t2(e2, n2, r2) {
var i2;
if (!e2) return g;
if ("string" == typeof e2) {
var s2 = e2.toLowerCase();
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
var u2 = e2.split("-");
if (!i2 && u2.length > 1) return t2(u2[0]);
} else {
var a2 = e2.name;
D[a2] = e2, i2 = a2;
}
return !r2 && i2 && (g = i2), i2 || !r2 && g;
}, O = function(t2, e2) {
if (S(t2)) return t2.clone();
var n2 = "object" == typeof e2 ? e2 : {};
return n2.date = t2, n2.args = arguments, new _(n2);
}, b = v;
b.l = w, b.i = S, b.w = function(t2, e2) {
return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
};
var _ = function() {
function M2(t2) {
this.$L = w(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
}
var m2 = M2.prototype;
return m2.parse = function(t2) {
this.$d = function(t3) {
var e2 = t3.date, n2 = t3.utc;
if (null === e2) return /* @__PURE__ */ new Date(NaN);
if (b.u(e2)) return /* @__PURE__ */ new Date();
if (e2 instanceof Date) return new Date(e2);
if ("string" == typeof e2 && !/Z$/i.test(e2)) {
var r2 = e2.match($);
if (r2) {
var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
}
}
return new Date(e2);
}(t2), this.init();
}, m2.init = function() {
var t2 = this.$d;
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
}, m2.$utils = function() {
return b;
}, m2.isValid = function() {
return !(this.$d.toString() === l);
}, m2.isSame = function(t2, e2) {
var n2 = O(t2);
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
}, m2.isAfter = function(t2, e2) {
return O(t2) < this.startOf(e2);
}, m2.isBefore = function(t2, e2) {
return this.endOf(e2) < O(t2);
}, m2.$g = function(t2, e2, n2) {
return b.u(t2) ? this[e2] : this.set(n2, t2);
}, m2.unix = function() {
return Math.floor(this.valueOf() / 1e3);
}, m2.valueOf = function() {
return this.$d.getTime();
}, m2.startOf = function(t2, e2) {
var n2 = this, r2 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
return r2 ? i2 : i2.endOf(a);
}, $2 = function(t3, e3) {
return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
switch (f2) {
case h:
return r2 ? l2(1, 0) : l2(31, 11);
case c:
return r2 ? l2(1, M3) : l2(0, M3 + 1);
case o:
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
case a:
case d:
return $2(v2 + "Hours", 0);
case u:
return $2(v2 + "Minutes", 1);
case s:
return $2(v2 + "Seconds", 2);
case i:
return $2(v2 + "Milliseconds", 3);
default:
return this.clone();
}
}, m2.endOf = function(t2) {
return this.startOf(t2, false);
}, m2.$set = function(t2, e2) {
var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
if (o2 === c || o2 === h) {
var y2 = this.clone().set(d, 1);
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
} else l2 && this.$d[l2]($2);
return this.init(), this;
}, m2.set = function(t2, e2) {
return this.clone().$set(t2, e2);
}, m2.get = function(t2) {
return this[b.p(t2)]();
}, m2.add = function(r2, f2) {
var d2, l2 = this;
r2 = Number(r2);
var $2 = b.p(f2), y2 = function(t2) {
var e2 = O(l2);
return b.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
};
if ($2 === c) return this.set(c, this.$M + r2);
if ($2 === h) return this.set(h, this.$y + r2);
if ($2 === a) return y2(1);
if ($2 === o) return y2(7);
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
return b.w(m3, this);
}, m2.subtract = function(t2, e2) {
return this.add(-1 * t2, e2);
}, m2.format = function(t2) {
var e2 = this, n2 = this.$locale();
if (!this.isValid()) return n2.invalidDate || l;
var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
}, d2 = function(t3) {
return b.s(s2 % 12 || 12, t3, "0");
}, $2 = f2 || function(t3, e3, n3) {
var r3 = t3 < 12 ? "AM" : "PM";
return n3 ? r3.toLowerCase() : r3;
};
return r2.replace(y, function(t3, r3) {
return r3 || function(t4) {
switch (t4) {
case "YY":
return String(e2.$y).slice(-2);
case "YYYY":
return b.s(e2.$y, 4, "0");
case "M":
return a2 + 1;
case "MM":
return b.s(a2 + 1, 2, "0");
case "MMM":
return h2(n2.monthsShort, a2, c2, 3);
case "MMMM":
return h2(c2, a2);
case "D":
return e2.$D;
case "DD":
return b.s(e2.$D, 2, "0");
case "d":
return String(e2.$W);
case "dd":
return h2(n2.weekdaysMin, e2.$W, o2, 2);
case "ddd":
return h2(n2.weekdaysShort, e2.$W, o2, 3);
case "dddd":
return o2[e2.$W];
case "H":
return String(s2);
case "HH":
return b.s(s2, 2, "0");
case "h":
return d2(1);
case "hh":
return d2(2);
case "a":
return $2(s2, u2, true);
case "A":
return $2(s2, u2, false);
case "m":
return String(u2);
case "mm":
return b.s(u2, 2, "0");
case "s":
return String(e2.$s);
case "ss":
return b.s(e2.$s, 2, "0");
case "SSS":
return b.s(e2.$ms, 3, "0");
case "Z":
return i2;
}
return null;
}(t3) || i2.replace(":", "");
});
}, m2.utcOffset = function() {
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
}, m2.diff = function(r2, d2, l2) {
var $2, y2 = this, M3 = b.p(d2), m3 = O(r2), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
return b.m(y2, m3);
};
switch (M3) {
case h:
$2 = D2() / 12;
break;
case c:
$2 = D2();
break;
case f:
$2 = D2() / 3;
break;
case o:
$2 = (g2 - v2) / 6048e5;
break;
case a:
$2 = (g2 - v2) / 864e5;
break;
case u:
$2 = g2 / n;
break;
case s:
$2 = g2 / e;
break;
case i:
$2 = g2 / t;
break;
default:
$2 = g2;
}
return l2 ? $2 : b.a($2);
}, m2.daysInMonth = function() {
return this.endOf(c).$D;
}, m2.$locale = function() {
return D[this.$L];
}, m2.locale = function(t2, e2) {
if (!t2) return this.$L;
var n2 = this.clone(), r2 = w(t2, e2, true);
return r2 && (n2.$L = r2), n2;
}, m2.clone = function() {
return b.w(this.$d, this);
}, m2.toDate = function() {
return new Date(this.valueOf());
}, m2.toJSON = function() {
return this.isValid() ? this.toISOString() : null;
}, m2.toISOString = function() {
return this.$d.toISOString();
}, m2.toString = function() {
return this.$d.toUTCString();
}, M2;
}(), k = _.prototype;
return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
k[t2[1]] = function(e2) {
return this.$g(e2, t2[0], t2[1]);
};
}), O.extend = function(t2, e2) {
return t2.$i || (t2(e2, _, O), t2.$i = true), O;
}, O.locale = w, O.isDayjs = S, O.unix = function(t2) {
return O(1e3 * t2);
}, O.en = D[g], O.Ls = D, O.p = {}, O;
});
}
});
export default require_dayjs_min();
//# sourceMappingURL=dayjs.js.map
+468
View File
@@ -0,0 +1,468 @@
import {
__commonJS
} from "./chunk-BUSYA2B4.js";
// node_modules/ms/index.js
var require_ms = __commonJS({
"node_modules/ms/index.js"(exports, module) {
var s = 1e3;
var m = s * 60;
var h = m * 60;
var d = h * 24;
var w = d * 7;
var y = d * 365.25;
module.exports = function(val, options) {
options = options || {};
var type = typeof val;
if (type === "string" && val.length > 0) {
return parse(val);
} else if (type === "number" && isFinite(val)) {
return options.long ? fmtLong(val) : fmtShort(val);
}
throw new Error(
"val is not a non-empty string or a valid number. val=" + JSON.stringify(val)
);
};
function parse(str) {
str = String(str);
if (str.length > 100) {
return;
}
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
str
);
if (!match) {
return;
}
var n = parseFloat(match[1]);
var type = (match[2] || "ms").toLowerCase();
switch (type) {
case "years":
case "year":
case "yrs":
case "yr":
case "y":
return n * y;
case "weeks":
case "week":
case "w":
return n * w;
case "days":
case "day":
case "d":
return n * d;
case "hours":
case "hour":
case "hrs":
case "hr":
case "h":
return n * h;
case "minutes":
case "minute":
case "mins":
case "min":
case "m":
return n * m;
case "seconds":
case "second":
case "secs":
case "sec":
case "s":
return n * s;
case "milliseconds":
case "millisecond":
case "msecs":
case "msec":
case "ms":
return n;
default:
return void 0;
}
}
function fmtShort(ms) {
var msAbs = Math.abs(ms);
if (msAbs >= d) {
return Math.round(ms / d) + "d";
}
if (msAbs >= h) {
return Math.round(ms / h) + "h";
}
if (msAbs >= m) {
return Math.round(ms / m) + "m";
}
if (msAbs >= s) {
return Math.round(ms / s) + "s";
}
return ms + "ms";
}
function fmtLong(ms) {
var msAbs = Math.abs(ms);
if (msAbs >= d) {
return plural(ms, msAbs, d, "day");
}
if (msAbs >= h) {
return plural(ms, msAbs, h, "hour");
}
if (msAbs >= m) {
return plural(ms, msAbs, m, "minute");
}
if (msAbs >= s) {
return plural(ms, msAbs, s, "second");
}
return ms + " ms";
}
function plural(ms, msAbs, n, name) {
var isPlural = msAbs >= n * 1.5;
return Math.round(ms / n) + " " + name + (isPlural ? "s" : "");
}
}
});
// node_modules/debug/src/common.js
var require_common = __commonJS({
"node_modules/debug/src/common.js"(exports, module) {
function setup(env) {
createDebug.debug = createDebug;
createDebug.default = createDebug;
createDebug.coerce = coerce;
createDebug.disable = disable;
createDebug.enable = enable;
createDebug.enabled = enabled;
createDebug.humanize = require_ms();
createDebug.destroy = destroy;
Object.keys(env).forEach((key) => {
createDebug[key] = env[key];
});
createDebug.names = [];
createDebug.skips = [];
createDebug.formatters = {};
function selectColor(namespace) {
let hash = 0;
for (let i = 0; i < namespace.length; i++) {
hash = (hash << 5) - hash + namespace.charCodeAt(i);
hash |= 0;
}
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
}
createDebug.selectColor = selectColor;
function createDebug(namespace) {
let prevTime;
let enableOverride = null;
let namespacesCache;
let enabledCache;
function debug(...args) {
if (!debug.enabled) {
return;
}
const self = debug;
const curr = Number(/* @__PURE__ */ new Date());
const ms = curr - (prevTime || curr);
self.diff = ms;
self.prev = prevTime;
self.curr = curr;
prevTime = curr;
args[0] = createDebug.coerce(args[0]);
if (typeof args[0] !== "string") {
args.unshift("%O");
}
let index = 0;
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
if (match === "%%") {
return "%";
}
index++;
const formatter = createDebug.formatters[format];
if (typeof formatter === "function") {
const val = args[index];
match = formatter.call(self, val);
args.splice(index, 1);
index--;
}
return match;
});
createDebug.formatArgs.call(self, args);
const logFn = self.log || createDebug.log;
logFn.apply(self, args);
}
debug.namespace = namespace;
debug.useColors = createDebug.useColors();
debug.color = createDebug.selectColor(namespace);
debug.extend = extend;
debug.destroy = createDebug.destroy;
Object.defineProperty(debug, "enabled", {
enumerable: true,
configurable: false,
get: () => {
if (enableOverride !== null) {
return enableOverride;
}
if (namespacesCache !== createDebug.namespaces) {
namespacesCache = createDebug.namespaces;
enabledCache = createDebug.enabled(namespace);
}
return enabledCache;
},
set: (v) => {
enableOverride = v;
}
});
if (typeof createDebug.init === "function") {
createDebug.init(debug);
}
return debug;
}
function extend(namespace, delimiter) {
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
newDebug.log = this.log;
return newDebug;
}
function enable(namespaces) {
createDebug.save(namespaces);
createDebug.namespaces = namespaces;
createDebug.names = [];
createDebug.skips = [];
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
for (const ns of split) {
if (ns[0] === "-") {
createDebug.skips.push(ns.slice(1));
} else {
createDebug.names.push(ns);
}
}
}
function matchesTemplate(search, template) {
let searchIndex = 0;
let templateIndex = 0;
let starIndex = -1;
let matchIndex = 0;
while (searchIndex < search.length) {
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
if (template[templateIndex] === "*") {
starIndex = templateIndex;
matchIndex = searchIndex;
templateIndex++;
} else {
searchIndex++;
templateIndex++;
}
} else if (starIndex !== -1) {
templateIndex = starIndex + 1;
matchIndex++;
searchIndex = matchIndex;
} else {
return false;
}
}
while (templateIndex < template.length && template[templateIndex] === "*") {
templateIndex++;
}
return templateIndex === template.length;
}
function disable() {
const namespaces = [
...createDebug.names,
...createDebug.skips.map((namespace) => "-" + namespace)
].join(",");
createDebug.enable("");
return namespaces;
}
function enabled(name) {
for (const skip of createDebug.skips) {
if (matchesTemplate(name, skip)) {
return false;
}
}
for (const ns of createDebug.names) {
if (matchesTemplate(name, ns)) {
return true;
}
}
return false;
}
function coerce(val) {
if (val instanceof Error) {
return val.stack || val.message;
}
return val;
}
function destroy() {
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
}
createDebug.enable(createDebug.load());
return createDebug;
}
module.exports = setup;
}
});
// node_modules/debug/src/browser.js
var require_browser = __commonJS({
"node_modules/debug/src/browser.js"(exports, module) {
exports.formatArgs = formatArgs;
exports.save = save;
exports.load = load;
exports.useColors = useColors;
exports.storage = localstorage();
exports.destroy = /* @__PURE__ */ (() => {
let warned = false;
return () => {
if (!warned) {
warned = true;
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
}
};
})();
exports.colors = [
"#0000CC",
"#0000FF",
"#0033CC",
"#0033FF",
"#0066CC",
"#0066FF",
"#0099CC",
"#0099FF",
"#00CC00",
"#00CC33",
"#00CC66",
"#00CC99",
"#00CCCC",
"#00CCFF",
"#3300CC",
"#3300FF",
"#3333CC",
"#3333FF",
"#3366CC",
"#3366FF",
"#3399CC",
"#3399FF",
"#33CC00",
"#33CC33",
"#33CC66",
"#33CC99",
"#33CCCC",
"#33CCFF",
"#6600CC",
"#6600FF",
"#6633CC",
"#6633FF",
"#66CC00",
"#66CC33",
"#9900CC",
"#9900FF",
"#9933CC",
"#9933FF",
"#99CC00",
"#99CC33",
"#CC0000",
"#CC0033",
"#CC0066",
"#CC0099",
"#CC00CC",
"#CC00FF",
"#CC3300",
"#CC3333",
"#CC3366",
"#CC3399",
"#CC33CC",
"#CC33FF",
"#CC6600",
"#CC6633",
"#CC9900",
"#CC9933",
"#CCCC00",
"#CCCC33",
"#FF0000",
"#FF0033",
"#FF0066",
"#FF0099",
"#FF00CC",
"#FF00FF",
"#FF3300",
"#FF3333",
"#FF3366",
"#FF3399",
"#FF33CC",
"#FF33FF",
"#FF6600",
"#FF6633",
"#FF9900",
"#FF9933",
"#FFCC00",
"#FFCC33"
];
function useColors() {
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
return true;
}
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
return false;
}
let m;
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
}
function formatArgs(args) {
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module.exports.humanize(this.diff);
if (!this.useColors) {
return;
}
const c = "color: " + this.color;
args.splice(1, 0, c, "color: inherit");
let index = 0;
let lastC = 0;
args[0].replace(/%[a-zA-Z%]/g, (match) => {
if (match === "%%") {
return;
}
index++;
if (match === "%c") {
lastC = index;
}
});
args.splice(lastC, 0, c);
}
exports.log = console.debug || console.log || (() => {
});
function save(namespaces) {
try {
if (namespaces) {
exports.storage.setItem("debug", namespaces);
} else {
exports.storage.removeItem("debug");
}
} catch (error) {
}
}
function load() {
let r;
try {
r = exports.storage.getItem("debug");
} catch (error) {
}
if (!r && typeof process !== "undefined" && "env" in process) {
r = process.env.DEBUG;
}
return r;
}
function localstorage() {
try {
return localStorage;
} catch (error) {
}
}
module.exports = require_common()(exports);
var { formatters } = module.exports;
formatters.j = function(v) {
try {
return JSON.stringify(v);
} catch (error) {
return "[UnexpectedJSONParseError]: " + error.message;
}
};
}
});
export default require_browser();
//# sourceMappingURL=debug.js.map
+3
View File
@@ -0,0 +1,3 @@
{
"type": "module"
}
@@ -0,0 +1,109 @@
import "./chunk-BUSYA2B4.js";
// node_modules/vitepress-plugin-mermaid/dist/vitepress-plugin-mermaid.es.mjs
var p = (e, i) => {
const a = e.renderer.rules.fence.bind(e.renderer.rules);
e.renderer.rules.fence = (s, t, n, r, d) => {
const l = s[t];
if (l.info.trim() === "mermaid")
try {
const m = t, o = (i == null ? void 0 : i.class) || "mermaid";
return `
<Suspense>
<template #default>
<Mermaid id="mermaid-${m}" class="${o}" graph="${encodeURIComponent(
l.content
)}"></Mermaid>
</template>
<!-- loading state via #fallback slot -->
<template #fallback>
Loading...
</template>
</Suspense>`;
} catch (m) {
return `<pre>${m}</pre>`;
}
return l.info.trim() === "mmd" && (s[t].info = "mermaid"), a(s, t, n, r, d);
};
};
var u = {
//We set loose as default here because is needed to load images
securityLevel: "loose",
startOnLoad: false
};
function v(e) {
const i = {
...u,
...e
}, a = "virtual:mermaid-config", s = "\0" + a;
return {
name: "vite-plugin-mermaid",
enforce: "post",
transform(t, n) {
if (n.includes("vitepress/dist/client/app/index.js")) {
t = `
import Mermaid from 'vitepress-plugin-mermaid/Mermaid.vue';
` + t;
const r = t.split(`
`), d = r.findIndex(
(l) => l.includes("app.component")
);
return r.splice(
d,
0,
' app.component("Mermaid", Mermaid);'
), t = r.join(`
`), {
code: t,
map: null
// provide source map if available
};
}
},
async resolveId(t) {
if (t === a)
return s;
},
async load(t) {
if (t === s)
return `export default ${JSON.stringify(i)};`;
}
};
}
var c = (e) => {
e.markdown || (e.markdown = {});
const i = e.markdown.config || (() => {
});
e.markdown.config = (...s) => {
p(...s, e.mermaidPlugin), i(...s);
}, e.vite || (e.vite = {}), e.vite.plugins || (e.vite.plugins = []), e.vite.plugins.push(v(e.mermaid)), e.vite.optimizeDeps || (e.vite.optimizeDeps = {}), e.vite.optimizeDeps.include || (e.vite.optimizeDeps.include = []), e.vite.optimizeDeps.include = [
...e.vite.optimizeDeps.include,
"@braintree/sanitize-url",
"dayjs",
"debug",
"cytoscape-cose-bilkent",
"cytoscape"
], e.vite.resolve || (e.vite.resolve = {});
const a = {
"dayjs/plugin/advancedFormat.js": "dayjs/esm/plugin/advancedFormat",
"dayjs/plugin/customParseFormat.js": "dayjs/esm/plugin/customParseFormat",
"dayjs/plugin/isoWeek.js": "dayjs/esm/plugin/isoWeek",
"cytoscape/dist/cytoscape.umd.js": "cytoscape/dist/cytoscape.esm.js"
};
return e.vite.resolve.alias ? Array.isArray(e.vite.resolve.alias) ? e.vite.resolve.alias = [
...e.vite.resolve.alias,
...Object.entries(a).map(([s, t]) => ({
find: s,
replacement: t
}))
] : e.vite.resolve.alias = {
...e.vite.resolve.alias,
...a
} : e.vite.resolve.alias = a, e;
};
export {
p as MermaidMarkdown,
v as MermaidPlugin,
c as withMermaid
};
//# sourceMappingURL=vitepress-plugin-mermaid.js.map
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,582 @@
import {
DefaultMagicKeysAliasMap,
StorageSerializers,
TransitionPresets,
assert,
breakpointsAntDesign,
breakpointsBootstrapV5,
breakpointsElement,
breakpointsMasterCss,
breakpointsPrimeFlex,
breakpointsQuasar,
breakpointsSematic,
breakpointsTailwind,
breakpointsVuetify,
breakpointsVuetifyV2,
breakpointsVuetifyV3,
bypassFilter,
camelize,
clamp,
cloneFnJSON,
computedAsync,
computedEager,
computedInject,
computedWithControl,
containsProp,
controlledRef,
createEventHook,
createFetch,
createFilterWrapper,
createGlobalState,
createInjectionState,
createReusableTemplate,
createSharedComposable,
createSingletonPromise,
createTemplatePromise,
createUnrefFn,
customStorageEventName,
debounceFilter,
defaultDocument,
defaultLocation,
defaultNavigator,
defaultWindow,
executeTransition,
extendRef,
formatDate,
formatTimeAgo,
get,
getLifeCycleTarget,
getSSRHandler,
hasOwn,
hyphenate,
identity,
increaseWithUnit,
injectLocal,
invoke,
isClient,
isDef,
isDefined,
isIOS,
isObject,
isWorker,
makeDestructurable,
mapGamepadToXbox360Controller,
noop,
normalizeDate,
notNullish,
now,
objectEntries,
objectOmit,
objectPick,
onClickOutside,
onElementRemoval,
onKeyDown,
onKeyPressed,
onKeyStroke,
onKeyUp,
onLongPress,
onStartTyping,
pausableFilter,
promiseTimeout,
provideLocal,
provideSSRWidth,
pxValue,
rand,
reactify,
reactifyObject,
reactiveComputed,
reactiveOmit,
reactivePick,
refAutoReset,
refDebounced,
refDefault,
refThrottled,
refWithControl,
resolveRef,
resolveUnref,
set,
setSSRHandler,
syncRef,
syncRefs,
templateRef,
throttleFilter,
timestamp,
toArray,
toReactive,
toRef,
toRefs,
toValue,
tryOnBeforeMount,
tryOnBeforeUnmount,
tryOnMounted,
tryOnScopeDispose,
tryOnUnmounted,
unrefElement,
until,
useActiveElement,
useAnimate,
useArrayDifference,
useArrayEvery,
useArrayFilter,
useArrayFind,
useArrayFindIndex,
useArrayFindLast,
useArrayIncludes,
useArrayJoin,
useArrayMap,
useArrayReduce,
useArraySome,
useArrayUnique,
useAsyncQueue,
useAsyncState,
useBase64,
useBattery,
useBluetooth,
useBreakpoints,
useBroadcastChannel,
useBrowserLocation,
useCached,
useClipboard,
useClipboardItems,
useCloned,
useColorMode,
useConfirmDialog,
useCountdown,
useCounter,
useCssVar,
useCurrentElement,
useCycleList,
useDark,
useDateFormat,
useDebounceFn,
useDebouncedRefHistory,
useDeviceMotion,
useDeviceOrientation,
useDevicePixelRatio,
useDevicesList,
useDisplayMedia,
useDocumentVisibility,
useDraggable,
useDropZone,
useElementBounding,
useElementByPoint,
useElementHover,
useElementSize,
useElementVisibility,
useEventBus,
useEventListener,
useEventSource,
useEyeDropper,
useFavicon,
useFetch,
useFileDialog,
useFileSystemAccess,
useFocus,
useFocusWithin,
useFps,
useFullscreen,
useGamepad,
useGeolocation,
useIdle,
useImage,
useInfiniteScroll,
useIntersectionObserver,
useInterval,
useIntervalFn,
useKeyModifier,
useLastChanged,
useLocalStorage,
useMagicKeys,
useManualRefHistory,
useMediaControls,
useMediaQuery,
useMemoize,
useMemory,
useMounted,
useMouse,
useMouseInElement,
useMousePressed,
useMutationObserver,
useNavigatorLanguage,
useNetwork,
useNow,
useObjectUrl,
useOffsetPagination,
useOnline,
usePageLeave,
useParallax,
useParentElement,
usePerformanceObserver,
usePermission,
usePointer,
usePointerLock,
usePointerSwipe,
usePreferredColorScheme,
usePreferredContrast,
usePreferredDark,
usePreferredLanguages,
usePreferredReducedMotion,
usePreferredReducedTransparency,
usePrevious,
useRafFn,
useRefHistory,
useResizeObserver,
useSSRWidth,
useScreenOrientation,
useScreenSafeArea,
useScriptTag,
useScroll,
useScrollLock,
useSessionStorage,
useShare,
useSorted,
useSpeechRecognition,
useSpeechSynthesis,
useStepper,
useStorage,
useStorageAsync,
useStyleTag,
useSupported,
useSwipe,
useTemplateRefsList,
useTextDirection,
useTextSelection,
useTextareaAutosize,
useThrottleFn,
useThrottledRefHistory,
useTimeAgo,
useTimeout,
useTimeoutFn,
useTimeoutPoll,
useTimestamp,
useTitle,
useToNumber,
useToString,
useToggle,
useTransition,
useUrlSearchParams,
useUserMedia,
useVModel,
useVModels,
useVibrate,
useVirtualList,
useWakeLock,
useWebNotification,
useWebSocket,
useWebWorker,
useWebWorkerFn,
useWindowFocus,
useWindowScroll,
useWindowSize,
watchArray,
watchAtMost,
watchDebounced,
watchDeep,
watchIgnorable,
watchImmediate,
watchOnce,
watchPausable,
watchThrottled,
watchTriggerable,
watchWithFilter,
whenever
} from "./chunk-REMO2DH2.js";
import "./chunk-LW4I4DCF.js";
import "./chunk-BUSYA2B4.js";
export {
DefaultMagicKeysAliasMap,
StorageSerializers,
TransitionPresets,
assert,
computedAsync as asyncComputed,
refAutoReset as autoResetRef,
breakpointsAntDesign,
breakpointsBootstrapV5,
breakpointsElement,
breakpointsMasterCss,
breakpointsPrimeFlex,
breakpointsQuasar,
breakpointsSematic,
breakpointsTailwind,
breakpointsVuetify,
breakpointsVuetifyV2,
breakpointsVuetifyV3,
bypassFilter,
camelize,
clamp,
cloneFnJSON,
computedAsync,
computedEager,
computedInject,
computedWithControl,
containsProp,
computedWithControl as controlledComputed,
controlledRef,
createEventHook,
createFetch,
createFilterWrapper,
createGlobalState,
createInjectionState,
reactify as createReactiveFn,
createReusableTemplate,
createSharedComposable,
createSingletonPromise,
createTemplatePromise,
createUnrefFn,
customStorageEventName,
debounceFilter,
refDebounced as debouncedRef,
watchDebounced as debouncedWatch,
defaultDocument,
defaultLocation,
defaultNavigator,
defaultWindow,
computedEager as eagerComputed,
executeTransition,
extendRef,
formatDate,
formatTimeAgo,
get,
getLifeCycleTarget,
getSSRHandler,
hasOwn,
hyphenate,
identity,
watchIgnorable as ignorableWatch,
increaseWithUnit,
injectLocal,
invoke,
isClient,
isDef,
isDefined,
isIOS,
isObject,
isWorker,
makeDestructurable,
mapGamepadToXbox360Controller,
noop,
normalizeDate,
notNullish,
now,
objectEntries,
objectOmit,
objectPick,
onClickOutside,
onElementRemoval,
onKeyDown,
onKeyPressed,
onKeyStroke,
onKeyUp,
onLongPress,
onStartTyping,
pausableFilter,
watchPausable as pausableWatch,
promiseTimeout,
provideLocal,
provideSSRWidth,
pxValue,
rand,
reactify,
reactifyObject,
reactiveComputed,
reactiveOmit,
reactivePick,
refAutoReset,
refDebounced,
refDefault,
refThrottled,
refWithControl,
resolveRef,
resolveUnref,
set,
setSSRHandler,
syncRef,
syncRefs,
templateRef,
throttleFilter,
refThrottled as throttledRef,
watchThrottled as throttledWatch,
timestamp,
toArray,
toReactive,
toRef,
toRefs,
toValue,
tryOnBeforeMount,
tryOnBeforeUnmount,
tryOnMounted,
tryOnScopeDispose,
tryOnUnmounted,
unrefElement,
until,
useActiveElement,
useAnimate,
useArrayDifference,
useArrayEvery,
useArrayFilter,
useArrayFind,
useArrayFindIndex,
useArrayFindLast,
useArrayIncludes,
useArrayJoin,
useArrayMap,
useArrayReduce,
useArraySome,
useArrayUnique,
useAsyncQueue,
useAsyncState,
useBase64,
useBattery,
useBluetooth,
useBreakpoints,
useBroadcastChannel,
useBrowserLocation,
useCached,
useClipboard,
useClipboardItems,
useCloned,
useColorMode,
useConfirmDialog,
useCountdown,
useCounter,
useCssVar,
useCurrentElement,
useCycleList,
useDark,
useDateFormat,
refDebounced as useDebounce,
useDebounceFn,
useDebouncedRefHistory,
useDeviceMotion,
useDeviceOrientation,
useDevicePixelRatio,
useDevicesList,
useDisplayMedia,
useDocumentVisibility,
useDraggable,
useDropZone,
useElementBounding,
useElementByPoint,
useElementHover,
useElementSize,
useElementVisibility,
useEventBus,
useEventListener,
useEventSource,
useEyeDropper,
useFavicon,
useFetch,
useFileDialog,
useFileSystemAccess,
useFocus,
useFocusWithin,
useFps,
useFullscreen,
useGamepad,
useGeolocation,
useIdle,
useImage,
useInfiniteScroll,
useIntersectionObserver,
useInterval,
useIntervalFn,
useKeyModifier,
useLastChanged,
useLocalStorage,
useMagicKeys,
useManualRefHistory,
useMediaControls,
useMediaQuery,
useMemoize,
useMemory,
useMounted,
useMouse,
useMouseInElement,
useMousePressed,
useMutationObserver,
useNavigatorLanguage,
useNetwork,
useNow,
useObjectUrl,
useOffsetPagination,
useOnline,
usePageLeave,
useParallax,
useParentElement,
usePerformanceObserver,
usePermission,
usePointer,
usePointerLock,
usePointerSwipe,
usePreferredColorScheme,
usePreferredContrast,
usePreferredDark,
usePreferredLanguages,
usePreferredReducedMotion,
usePreferredReducedTransparency,
usePrevious,
useRafFn,
useRefHistory,
useResizeObserver,
useSSRWidth,
useScreenOrientation,
useScreenSafeArea,
useScriptTag,
useScroll,
useScrollLock,
useSessionStorage,
useShare,
useSorted,
useSpeechRecognition,
useSpeechSynthesis,
useStepper,
useStorage,
useStorageAsync,
useStyleTag,
useSupported,
useSwipe,
useTemplateRefsList,
useTextDirection,
useTextSelection,
useTextareaAutosize,
refThrottled as useThrottle,
useThrottleFn,
useThrottledRefHistory,
useTimeAgo,
useTimeout,
useTimeoutFn,
useTimeoutPoll,
useTimestamp,
useTitle,
useToNumber,
useToString,
useToggle,
useTransition,
useUrlSearchParams,
useUserMedia,
useVModel,
useVModels,
useVibrate,
useVirtualList,
useWakeLock,
useWebNotification,
useWebSocket,
useWebWorker,
useWebWorkerFn,
useWindowFocus,
useWindowScroll,
useWindowSize,
watchArray,
watchAtMost,
watchDebounced,
watchDeep,
watchIgnorable,
watchImmediate,
watchOnce,
watchPausable,
watchThrottled,
watchTriggerable,
watchWithFilter,
whenever
};
//# sourceMappingURL=vitepress___@vueuse_core.js.map
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+344
View File
@@ -0,0 +1,344 @@
import {
BaseTransition,
BaseTransitionPropsValidators,
Comment,
DeprecationTypes,
EffectScope,
ErrorCodes,
ErrorTypeStrings,
Fragment,
KeepAlive,
ReactiveEffect,
Static,
Suspense,
Teleport,
Text,
TrackOpTypes,
Transition,
TransitionGroup,
TriggerOpTypes,
VueElement,
assertNumber,
callWithAsyncErrorHandling,
callWithErrorHandling,
camelize,
capitalize,
cloneVNode,
compatUtils,
compile,
computed,
createApp,
createBaseVNode,
createBlock,
createCommentVNode,
createElementBlock,
createHydrationRenderer,
createPropsRestProxy,
createRenderer,
createSSRApp,
createSlots,
createStaticVNode,
createTextVNode,
createVNode,
customRef,
defineAsyncComponent,
defineComponent,
defineCustomElement,
defineEmits,
defineExpose,
defineModel,
defineOptions,
defineProps,
defineSSRCustomElement,
defineSlots,
devtools,
effect,
effectScope,
getCurrentInstance,
getCurrentScope,
getCurrentWatcher,
getTransitionRawChildren,
guardReactiveProps,
h,
handleError,
hasInjectionContext,
hydrate,
hydrateOnIdle,
hydrateOnInteraction,
hydrateOnMediaQuery,
hydrateOnVisible,
initCustomFormatter,
initDirectivesForSSR,
inject,
isMemoSame,
isProxy,
isReactive,
isReadonly,
isRef,
isRuntimeOnly,
isShallow,
isVNode,
markRaw,
mergeDefaults,
mergeModels,
mergeProps,
nextTick,
normalizeClass,
normalizeProps,
normalizeStyle,
onActivated,
onBeforeMount,
onBeforeUnmount,
onBeforeUpdate,
onDeactivated,
onErrorCaptured,
onMounted,
onRenderTracked,
onRenderTriggered,
onScopeDispose,
onServerPrefetch,
onUnmounted,
onUpdated,
onWatcherCleanup,
openBlock,
popScopeId,
provide,
proxyRefs,
pushScopeId,
queuePostFlushCb,
reactive,
readonly,
ref,
registerRuntimeCompiler,
render,
renderList,
renderSlot,
resolveComponent,
resolveDirective,
resolveDynamicComponent,
resolveFilter,
resolveTransitionHooks,
setBlockTracking,
setDevtoolsHook,
setTransitionHooks,
shallowReactive,
shallowReadonly,
shallowRef,
ssrContextKey,
ssrUtils,
stop,
toDisplayString,
toHandlerKey,
toHandlers,
toRaw,
toRef,
toRefs,
toValue,
transformVNodeArgs,
triggerRef,
unref,
useAttrs,
useCssModule,
useCssVars,
useHost,
useId,
useModel,
useSSRContext,
useShadowRoot,
useSlots,
useTemplateRef,
useTransitionState,
vModelCheckbox,
vModelDynamic,
vModelRadio,
vModelSelect,
vModelText,
vShow,
version,
warn,
watch,
watchEffect,
watchPostEffect,
watchSyncEffect,
withAsyncContext,
withCtx,
withDefaults,
withDirectives,
withKeys,
withMemo,
withModifiers,
withScopeId
} from "./chunk-LW4I4DCF.js";
import "./chunk-BUSYA2B4.js";
export {
BaseTransition,
BaseTransitionPropsValidators,
Comment,
DeprecationTypes,
EffectScope,
ErrorCodes,
ErrorTypeStrings,
Fragment,
KeepAlive,
ReactiveEffect,
Static,
Suspense,
Teleport,
Text,
TrackOpTypes,
Transition,
TransitionGroup,
TriggerOpTypes,
VueElement,
assertNumber,
callWithAsyncErrorHandling,
callWithErrorHandling,
camelize,
capitalize,
cloneVNode,
compatUtils,
compile,
computed,
createApp,
createBlock,
createCommentVNode,
createElementBlock,
createBaseVNode as createElementVNode,
createHydrationRenderer,
createPropsRestProxy,
createRenderer,
createSSRApp,
createSlots,
createStaticVNode,
createTextVNode,
createVNode,
customRef,
defineAsyncComponent,
defineComponent,
defineCustomElement,
defineEmits,
defineExpose,
defineModel,
defineOptions,
defineProps,
defineSSRCustomElement,
defineSlots,
devtools,
effect,
effectScope,
getCurrentInstance,
getCurrentScope,
getCurrentWatcher,
getTransitionRawChildren,
guardReactiveProps,
h,
handleError,
hasInjectionContext,
hydrate,
hydrateOnIdle,
hydrateOnInteraction,
hydrateOnMediaQuery,
hydrateOnVisible,
initCustomFormatter,
initDirectivesForSSR,
inject,
isMemoSame,
isProxy,
isReactive,
isReadonly,
isRef,
isRuntimeOnly,
isShallow,
isVNode,
markRaw,
mergeDefaults,
mergeModels,
mergeProps,
nextTick,
normalizeClass,
normalizeProps,
normalizeStyle,
onActivated,
onBeforeMount,
onBeforeUnmount,
onBeforeUpdate,
onDeactivated,
onErrorCaptured,
onMounted,
onRenderTracked,
onRenderTriggered,
onScopeDispose,
onServerPrefetch,
onUnmounted,
onUpdated,
onWatcherCleanup,
openBlock,
popScopeId,
provide,
proxyRefs,
pushScopeId,
queuePostFlushCb,
reactive,
readonly,
ref,
registerRuntimeCompiler,
render,
renderList,
renderSlot,
resolveComponent,
resolveDirective,
resolveDynamicComponent,
resolveFilter,
resolveTransitionHooks,
setBlockTracking,
setDevtoolsHook,
setTransitionHooks,
shallowReactive,
shallowReadonly,
shallowRef,
ssrContextKey,
ssrUtils,
stop,
toDisplayString,
toHandlerKey,
toHandlers,
toRaw,
toRef,
toRefs,
toValue,
transformVNodeArgs,
triggerRef,
unref,
useAttrs,
useCssModule,
useCssVars,
useHost,
useId,
useModel,
useSSRContext,
useShadowRoot,
useSlots,
useTemplateRef,
useTransitionState,
vModelCheckbox,
vModelDynamic,
vModelRadio,
vModelSelect,
vModelText,
vShow,
version,
warn,
watch,
watchEffect,
watchPostEffect,
watchSyncEffect,
withAsyncContext,
withCtx,
withDefaults,
withDirectives,
withKeys,
withMemo,
withModifiers,
withScopeId
};
//# sourceMappingURL=vue.js.map
+696
View File
@@ -0,0 +1,696 @@
import { withMermaid } from 'vitepress-plugin-mermaid';
export default withMermaid({
themeConfig: {
search: {
provider: 'local'
},
sidebar: [
{
text: 'Структура',
collapsed: false,
items: [
{
"text": "App",
"link": "/src/App"
},
{
"text": "components",
"collapsed": true,
"items": [
{
"text": "about_inspection",
"collapsed": true,
"items": [
{
"text": "contacts",
"collapsed": true,
"items": [
{
"text": "ContactInfo",
"link": "/src/components\\about_inspection\\contacts\\ContactInfo"
}
]
},
{
"text": "general_information",
"collapsed": true,
"items": [
{
"text": "GeneralInformation",
"link": "/src/components\\about_inspection\\general_information\\GeneralInformation"
},
{
"text": "GeneralInformationSize",
"link": "/src/components\\about_inspection\\general_information\\GeneralInformationSize"
}
]
},
{
"text": "open_vacancies",
"collapsed": true,
"items": [
{
"text": "OpenVacancies",
"link": "/src/components\\about_inspection\\open_vacancies\\OpenVacancies"
},
{
"text": "ResponseVacancies",
"link": "/src/components\\about_inspection\\open_vacancies\\ResponseVacancies"
}
]
},
{
"text": "structure",
"collapsed": true,
"items": [
{
"text": "StructureInspection",
"link": "/src/components\\about_inspection\\structure\\StructureInspection"
},
{
"text": "StructureInspectionRow",
"link": "/src/components\\about_inspection\\structure\\StructureInspectionRow"
}
]
}
]
},
{
"text": "calendar_of_events",
"collapsed": true,
"items": [
{
"text": "BigCalendar",
"link": "/src/components\\calendar_of_events\\BigCalendar"
},
{
"text": "calendar-create-select",
"link": "/src/components\\calendar_of_events\\calendar-create-select"
},
{
"text": "calendar-create",
"link": "/src/components\\calendar_of_events\\calendar-create"
},
{
"text": "calendar-my",
"link": "/src/components\\calendar_of_events\\calendar-my"
},
{
"text": "event-calendar",
"link": "/src/components\\calendar_of_events\\event-calendar"
},
{
"text": "event-create",
"link": "/src/components\\calendar_of_events\\event-create"
},
{
"text": "event-dialog-edit-participant",
"link": "/src/components\\calendar_of_events\\event-dialog-edit-participant"
},
{
"text": "event-dialog-edit",
"link": "/src/components\\calendar_of_events\\event-dialog-edit"
},
{
"text": "event-dialog-info",
"link": "/src/components\\calendar_of_events\\event-dialog-info"
},
{
"text": "event-dialog",
"link": "/src/components\\calendar_of_events\\event-dialog"
},
{
"text": "load-ical",
"link": "/src/components\\calendar_of_events\\load-ical"
},
{
"text": "load-ical1",
"link": "/src/components\\calendar_of_events\\load-ical1"
},
{
"text": "UI_calendar",
"collapsed": true,
"items": [
{
"text": "calendarFull",
"link": "/src/components\\calendar_of_events\\UI_calendar\\calendarFull"
},
{
"text": "dialogCreate",
"link": "/src/components\\calendar_of_events\\UI_calendar\\dialogCreate"
},
{
"text": "periodEvents",
"link": "/src/components\\calendar_of_events\\UI_calendar\\periodEvents"
},
{
"text": "reminderEvent",
"link": "/src/components\\calendar_of_events\\UI_calendar\\reminderEvent"
},
{
"text": "timeSelect",
"link": "/src/components\\calendar_of_events\\UI_calendar\\timeSelect"
}
]
}
]
},
{
"text": "cardLike",
"link": "/src/components\\cardLike"
},
{
"text": "carousel-list",
"link": "/src/components\\carousel-list"
},
{
"text": "carousel-numbers",
"link": "/src/components\\carousel-numbers"
},
{
"text": "CountDown",
"link": "/src/components\\CountDown"
},
{
"text": "dialog-search",
"link": "/src/components\\dialog-search"
},
{
"text": "digital-letna",
"link": "/src/components\\digital-letna"
},
{
"text": "graph",
"collapsed": true,
"items": [
{
"text": "chartConfig",
"link": "/src/components\\graph\\chartConfig"
},
{
"text": "line-graph",
"link": "/src/components\\graph\\line-graph"
}
]
},
{
"text": "load-round",
"link": "/src/components\\load-round"
},
{
"text": "news-crossroad",
"link": "/src/components\\news-crossroad"
},
{
"text": "news-full",
"link": "/src/components\\news-full"
},
{
"text": "news-home",
"link": "/src/components\\news-home"
},
{
"text": "secret",
"collapsed": true,
"items": [
{
"text": "SmallTimer",
"link": "/src/components\\secret\\SmallTimer"
}
]
},
{
"text": "testing",
"collapsed": true,
"items": [
{
"text": "CatalogTest",
"link": "/src/components\\testing\\CatalogTest"
},
{
"text": "DetailCardTest",
"link": "/src/components\\testing\\DetailCardTest"
},
{
"text": "HeaderDetailTesting",
"link": "/src/components\\testing\\HeaderDetailTesting"
}
]
},
{
"text": "UI",
"collapsed": true,
"items": [
{
"text": "aboutportal",
"collapsed": true,
"items": [
{
"text": "card-feedback",
"link": "/src/components\\UI\\aboutportal\\card-feedback"
},
{
"text": "card-top-comment",
"link": "/src/components\\UI\\aboutportal\\card-top-comment"
},
{
"text": "card-total",
"link": "/src/components\\UI\\aboutportal\\card-total"
},
{
"text": "card_top_comment",
"collapsed": true,
"items": [
{
"text": "card-comment",
"link": "/src/components\\UI\\aboutportal\\card_top_comment\\card-comment"
}
]
},
{
"text": "feedmodul",
"link": "/src/components\\UI\\aboutportal\\feedmodul"
},
{
"text": "line-chart",
"link": "/src/components\\UI\\aboutportal\\line-chart"
},
{
"text": "pattern-card-feed",
"link": "/src/components\\UI\\aboutportal\\pattern-card-feed"
},
{
"text": "pattern-card",
"link": "/src/components\\UI\\aboutportal\\pattern-card"
},
{
"text": "portal-traffic",
"link": "/src/components\\UI\\aboutportal\\portal-traffic"
},
{
"text": "rating-page",
"link": "/src/components\\UI\\aboutportal\\rating-page"
},
{
"text": "toolbar-filter",
"link": "/src/components\\UI\\aboutportal\\toolbar-filter"
},
{
"text": "tooltip-ico",
"link": "/src/components\\UI\\aboutportal\\tooltip-ico"
},
{
"text": "tooltip-user",
"link": "/src/components\\UI\\aboutportal\\tooltip-user"
},
{
"text": "top-user",
"link": "/src/components\\UI\\aboutportal\\top-user"
}
]
},
{
"text": "Auth-form",
"link": "/src/components\\UI\\Auth-form"
},
{
"text": "date-select",
"link": "/src/components\\UI\\date-select"
},
{
"text": "defaultportal",
"collapsed": true,
"items": [
{
"text": "page-counter",
"link": "/src/components\\UI\\defaultportal\\page-counter"
},
{
"text": "uploading-file",
"link": "/src/components\\UI\\defaultportal\\uploading-file"
}
]
},
{
"text": "feedback",
"collapsed": true,
"items": [
{
"text": "feedstar-like",
"link": "/src/components\\UI\\feedback\\feedstar-like"
},
{
"text": "statistik-like",
"link": "/src/components\\UI\\feedback\\statistik-like"
}
]
},
{
"text": "fiousercard",
"collapsed": true,
"items": [
{
"text": "icoUser",
"link": "/src/components\\UI\\fiousercard\\icoUser"
},
{
"text": "infoUserCard",
"link": "/src/components\\UI\\fiousercard\\infoUserCard"
},
{
"text": "listUser",
"link": "/src/components\\UI\\fiousercard\\listUser"
},
{
"text": "onlineUsers",
"link": "/src/components\\UI\\fiousercard\\onlineUsers"
},
{
"text": "vcardUser",
"link": "/src/components\\UI\\fiousercard\\vcardUser"
}
]
},
{
"text": "index",
"link": "/src/components\\UI\\index"
},
{
"text": "my-helper",
"link": "/src/components\\UI\\my-helper"
},
{
"text": "NewsCard",
"link": "/src/components\\UI\\NewsCard"
},
{
"text": "PatternTabs",
"link": "/src/components\\UI\\PatternTabs"
},
{
"text": "Timer",
"link": "/src/components\\UI\\Timer"
},
{
"text": "tooltip-number",
"link": "/src/components\\UI\\tooltip-number"
},
{
"text": "tooltip-text",
"link": "/src/components\\UI\\tooltip-text"
}
]
},
{
"text": "vote",
"collapsed": true,
"items": [
{
"text": "CurrentVote",
"link": "/src/components\\vote\\CurrentVote"
},
{
"text": "NoneVote",
"link": "/src/components\\vote\\NoneVote"
},
{
"text": "NonVoteHappy",
"link": "/src/components\\vote\\NonVoteHappy"
},
{
"text": "NonVoteSad",
"link": "/src/components\\vote\\NonVoteSad"
},
{
"text": "VoteAdmin",
"link": "/src/components\\vote\\VoteAdmin"
},
{
"text": "VoteAnimation",
"link": "/src/components\\vote\\VoteAnimation"
},
{
"text": "VoteCard",
"link": "/src/components\\vote\\VoteCard"
},
{
"text": "VoteConstructor",
"link": "/src/components\\vote\\VoteConstructor"
},
{
"text": "VoteForm",
"link": "/src/components\\vote\\VoteForm"
},
{
"text": "VoteResult",
"link": "/src/components\\vote\\VoteResult"
}
]
}
]
},
{
"text": "layouts",
"collapsed": true,
"items": [
{
"text": "default",
"collapsed": true,
"items": [
{
"text": "AdminMenu",
"link": "/src/layouts\\default\\AdminMenu"
},
{
"text": "alertDefault",
"link": "/src/layouts\\default\\alertDefault"
},
{
"text": "DefaultPortal",
"link": "/src/layouts\\default\\DefaultPortal"
}
]
}
]
},
{
"text": "main",
"link": "/src/main"
},
{
"text": "plugins",
"collapsed": true,
"items": [
{
"text": "index",
"link": "/src/plugins\\index"
},
{
"text": "vuetify",
"link": "/src/plugins\\vuetify"
},
{
"text": "webfontloader",
"link": "/src/plugins\\webfontloader"
}
]
},
{
"text": "router",
"collapsed": true,
"items": [
{
"text": "index",
"link": "/src/router\\index"
}
]
},
{
"text": "store",
"collapsed": true,
"items": [
{
"text": "AboutPortalFilter",
"link": "/src/store\\AboutPortalFilter"
},
{
"text": "AccountStore",
"link": "/src/store\\AccountStore"
},
{
"text": "app",
"link": "/src/store\\app"
},
{
"text": "index",
"link": "/src/store\\index"
},
{
"text": "MainmenuStore",
"link": "/src/store\\MainmenuStore"
},
{
"text": "UseAlertStore",
"link": "/src/store\\UseAlertStore"
},
{
"text": "WeekendsStore",
"link": "/src/store\\WeekendsStore"
}
]
},
{
"text": "tests",
"collapsed": true,
"items": [
{
"text": "App.test",
"link": "/src/tests\\App.test"
},
{
"text": "CarouselList.test",
"link": "/src/tests\\CarouselList.test"
}
]
},
{
"text": "utils",
"collapsed": true,
"items": [
{
"text": "axios-api",
"link": "/src/utils\\axios-api"
},
{
"text": "universal_functions",
"link": "/src/utils\\universal_functions"
}
]
},
{
"text": "views",
"collapsed": true,
"items": [
{
"text": "AboutInspectionPage",
"link": "/src/views\\AboutInspectionPage"
},
{
"text": "AboutPortalPage",
"link": "/src/views\\AboutPortalPage"
},
{
"text": "FAQPage",
"link": "/src/views\\FAQPage"
},
{
"text": "FeedbackPage",
"link": "/src/views\\FeedbackPage"
},
{
"text": "FnsHol",
"link": "/src/views\\FnsHol"
},
{
"text": "HomePage",
"link": "/src/views\\HomePage"
},
{
"text": "LaborProtection",
"link": "/src/views\\LaborProtection"
},
{
"text": "nested_view",
"collapsed": true,
"items": [
{
"text": "o_OKiB",
"link": "/src/views\\nested_view\\o_OKiB"
}
]
},
{
"text": "NewsPage",
"link": "/src/views\\NewsPage"
},
{
"text": "ProvidingActivitiesPage",
"link": "/src/views\\ProvidingActivitiesPage"
},
{
"text": "safety",
"collapsed": true,
"items": [
{
"text": "ChaptersSafety",
"link": "/src/views\\safety\\ChaptersSafety"
},
{
"text": "DocumentationSafety",
"link": "/src/views\\safety\\DocumentationSafety"
},
{
"text": "MainInfoSafety",
"link": "/src/views\\safety\\MainInfoSafety"
},
{
"text": "TestSafety",
"link": "/src/views\\safety\\TestSafety"
}
]
},
{
"text": "secret",
"collapsed": true,
"items": [
{
"text": "SecretPage",
"link": "/src/views\\secret\\SecretPage"
}
]
},
{
"text": "SecurityPage",
"link": "/src/views\\SecurityPage"
},
{
"text": "StructurePage",
"link": "/src/views\\StructurePage"
},
{
"text": "TestHomePage",
"link": "/src/views\\TestHomePage"
},
{
"text": "Vote",
"link": "/src/views\\Vote"
},
{
"text": "VoteHomePage",
"link": "/src/views\\VoteHomePage"
}
]
}
]
},
{
text: 'Гайды',
collapsed: true,
items: [
{ text: 'Как установить', link: '/guides/install' },
{ text: 'Как использовать', link: '/guides/usage' },
{ text: 'Правила комитов', link: '/guides/commits' }
,
{ text: 'Тесты', link: '/tests' },
]
}
]
},
mermaid: {
// refer https://mermaid.js.org/config/setup/modules/mermaidAPI.html#mermaidapi-configuration-defaults for options
},
// optionally set additional config for plugin itself with MermaidPluginConfig
mermaidPlugin: {
class: 'mermaid my-class', // set additional css classes for parent container
},});
@@ -0,0 +1,9 @@
<template>
<iframe
src="/test-coverage/index.html"
width="1100px"
height="640px"
style="border: none"
></iframe>
</template>
@@ -0,0 +1,22 @@
import DefaultTheme from 'vitepress/theme';
import { withMermaid } from 'vitepress-plugin-mermaid';
import TestRunner from './components/TestRunner.vue';
export default withMermaid({
...DefaultTheme,
themeConfig: {
search: {
provider: 'local',
},
},
mermaid: {
},
mermaidPlugin: {
class: 'mermaid my-class',
},
enhanceApp({ app }) {
app.component('TestRunner', TestRunner);
},
});
+3
View File
@@ -0,0 +1,3 @@
# Документация
⚠️ Оригинальный README.md не найден.
+21
View File
@@ -0,0 +1,21 @@
## Заголовок должен содержать тип, номер задачи и название коммита.
Формат: <тип> [<номер задачи>]: <название>
| Название | Описание |
|----------|----------|
| `feat` | Новый функционал |
| `fix` | Исправление ошибки |
| `docs` | Изменения в документации |
| `style` | Изменения, не влияющие на функциональность |
| `refactor` | Изменения кода, не исправляющие ошибки и не добавляющие функционал |
| `perf` | Изменения, улучшающие производительность |
| `test` | Добавление тестов |
| `chore` | Изменения в процессе сборки или вспомогательных инструментах. |
Пример:
```bash
feat [X-01]: я тут накоммитил
```
+64
View File
@@ -0,0 +1,64 @@
# Установка документации
## Установка VitePress
Для начала необходимо установить VitePress:
```bash
npm add -D vitepress
```
## Инициализируем проект:
```bash
npx vitepress init
```
#### Во время инициализации вам будет предложено выбрать конфигурацию:
```txt
┌ Welcome to VitePress!
│
◇ Where should VitePress initialize the config?
│ ./docs
│
◇ Site title:
│ Наименование проекта
│
◇ Site description:
│ Описание проекта
│
◆ Theme:
│ ● Default Theme (Out of the box, good-looking docs)
│ ○ Default Theme + Customization
│ ○ Custom Theme
└
```
## Установка vue-md-parser
#### Далее необходимо установить vue-md-parser:
```bash
npm install -g vue-md-parser
```
## Настройка скриптов
#### Откройте package.json и измените скрипт для разработки документации:
```json
"scripts": {
"docs:dev": "vue-md-parser && vitepress dev docs"
}
```
## Запуск сервера
```bash
npm run docs:dev
```
## Сервер будет доступен на http://localhost:5173/
+236
View File
@@ -0,0 +1,236 @@
# Использование документации
## Добавление комментариев для генерации документации
### Описание компонента
Описание компонента должно быть указано первым комментарием в теге `<template>`:
```html
<!-- Описание -->
```
## Порядок структуры `<script>`
1. props
2. Переменные
3. Обычные функции
4. Стрелочные функции
5. computed
6. watch
## Props
```js
props: {
LikeDialog: {
type: Boolean,
default: false,
comment: 'Модалка лайка'
}
}
```
> Поля default и comment являются опциональными. Commnet записывается в одиночные ковычки.
## Переменные
Комментарии к переменным пишутся в формате JSDoc, с обязательной точкой в конце.
Пример:
```js
/**
* Получаем объект alert из хранилища alert с использованием store для уведомлений.
*/
const feedalert = useAlertStore().alert;
```
Шаблон:
```js
/**
* .
*/
```
## Функции
Комментарии к обычным функциям оформляются в формате JSDoc с ключевым словом `@function`. После `@function` должно идти одно из трех ключевых слов: `Инициализирует`, `Управляет`, `Выполняет`.
Пример:
```js
/**
* @function Выполняет загрузку данных обратной связи с сервера.
*/
function f_feedbackdata() {
axiosApiInstance.get('api/feedback/feedbackdata/')
.then(data => {
feedbackdata.value = data.data;
// Если оценки отсутствуют, инициализируем их
if (feedbackdata.value.nowrating.length === 0) {
for (let x of feedbackdata.value.basecrit) {
feedbackdata.value.nowrating.push({ rating: x.rating, crit: x.id, id: null });
}
}
// Если комментарий отсутствует, создаем пустой объект
if (feedbackdata.value.nowcomment === null) {
feedbackdata.value.nowcomment = { comment: '', id: null };
}
});
}
```
Шаблон:
```js
/**
* @function Инициализирует Управляет Выполняет.
*/
```
## Стрелочные функции
Комментарии к стрелочным функциям оформляются с ключевым словом `@arrowFunc`. Следующая строка должна начинаться с одного из трех слов: `Фильтрует`, `Преобразует`, `Обрабатывает`.
Пример:
```js
/**
* @arrowFunc
* Обрабатывает данные для карусели с сервера.
*/
const getfromserver = () => {
axiosApiInstance.get("api/navigation/carousels/").then((result) => {
// Проверяем наличие сообщения об ошибке
if (result.data.mess !== "") {
feedalert.alert = true;
feedalert.text = result.data.mess;
feedalert.color = "red-darken-2";
feedalert.ico = "mdi-alert-outline";
}
// Если сервер вернул данные, обновляем массив карусели
if (result.data.result.length > 0) {
carous.value = result.data.result;
}
});
};
```
Шаблон:
```js
/**
* @arrowFunc
* Фильтрует Преобразует Обрабатывает.
*/
```
## Computed
Комментарии к computed свойствам оформляются с ключевым словом `@computed`. Комментарий должен начинаться с одного из трех слов: `Выводит`, `Определяет`, `Подсчитывает`.
Пример:
```js
/**
* @computed Подсчитывает средний рейтинг на основе оценок пользователя.
*/
const average = computed(() => {
const sum = feedbackdata.value.nowrating.reduce((total, obj) => total + obj.rating, 0);
const sumlen = sum / feedbackdata.value.nowrating.length;
return Number.isInteger(sumlen) ? sumlen : sumlen.toFixed(1);
});
```
Шаблон:
```js
/**
* @computed Выводит Определяет Подсчитывает.
*/
```
## Watch
Комментарии к watch оформляются с ключевым словом `@watch`. Комментарий должен начинаться с одного из трех слов: `Отслеживает`, `Реагирует`, `Синхронизирует`.
Пример:
```js
/**
* @watch
* Получает данные для карусели с сервера.
*/
watch(
() => indximg,
(newValue, oldValue) => {
if (newValue) {
galleryimges.value = newsFull.value.gallery[newValue.value];
}
},
{ deep: true }
);
```
Шаблон:
```js
/**
* @watch
* Отслеживает Реагирует Синхронизирует.
*/
```
## Аргументы
Комментарии к аргументам оформляются с ключевым словом `@param`.
Пример:
```js
/**
* @arrowFunc
* Фильтрует Преобразует Обрабатывает.
* @param {number} idus ID пользователя.
*/
const getcard = async (idus) => {
menuGetUserDialog.value = true
iduser.value = idus
}
```
Если аргументов несколько, то каждый пишется с новой строчки:
```js
/**
* @arrowFunc
* Фильтрует Преобразует Обрабатывает.
* @param {number} pos Позиция.
* @param {string} name Название раунда.
*/
const detailRound = (pos, name) => {
idpos.value=pos
namepos.value=name
dialogDetailRound.value=!dialogDetailRound.value
axiosApiInstance.get(api/general_vacation/dailyload/?id=pos).then(data => {
t_dailyRound.value = data.data
result.value=JSON.parse(JSON.stringify(data.data.daily))
})
}
```
Шаблон:
```js
/**
* @arrowFunc
* Фильтрует Преобразует Обрабатывает.
* @param {} .
*/
```
+27
View File
@@ -0,0 +1,27 @@
---
# https://vitepress.dev/reference/default-theme-home-page
layout: home
hero:
name: "Проект"
text: "Документация по проекту"
actions:
- theme: brand
text: Документация
link: /README
features:
- title: Инструкция
details: Подробная инструкция по установке
link: /guides/install
- title: Инструкция по ведению и заполнению
details: Подробная инструкция по ведению и заполнению
link: /guides/usage
- title: Правила коммитов
details: Подробная инструкция по наименованию коммитов
link: /guides/commits
- title: Тестирование
details: Покрытие проекта тестами
link: /tests
---
+24
View File
@@ -0,0 +1,24 @@
# App
### Инициализация проекта
## Описание переменных
| Переменная | Значение | Описание |
|------------|----------|----------|
| `accountStore` | <pre>useAccountStore()<br></pre> | <pre>Получаем информацию о юзере из<br>стора<br></pre> |
## Пример использования
```vue
import App from '@/components/App';
```
```vue
<App />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,58 @@
# CountDown
## Описание переменных
| Переменная | Значение | Описание |
|------------|----------|----------|
| `displayDays` | <pre>ref(0)<br></pre> | <pre>Хранит количество оставшихся дней<br></pre> |
| `displayHours` | <pre>ref(0)<br></pre> | <pre>Хранит количество оставшихся часов<br></pre> |
| `displayMinutes` | <pre>ref(0)<br></pre> | <pre>Хранит количество оставшихся минут<br></pre> |
| `_seconds` | <pre>1000<br></pre> | <pre>Определяет количество миллисекунд в<br>одной секунде<br></pre> |
| `_minutes` | <pre>_seconds * 60<br></pre> | <pre>Определяет количество миллисекунд в<br>одной минуте<br></pre> |
| `_hours` | <pre>_minutes * 60<br></pre> | <pre>Определяет количество миллисекунд в<br>одном часе<br></pre> |
| `_days` | <pre>_hours * 24<br></pre> | <pre>Определяет количество миллисекунд в<br>одном дне<br></pre> |
## Описание стрелочных функций:
<details>
<summary>🛠️ <strong>countDown</strong> - Обрабатывает обратный отсчет до окончания голосования.</summary>
```js
const countDown = () => {
const timer = setInterval(() => {
const now = new Date();
// Здесь задается конец отчета (год, месяц, день, часы, минуты, секунды)
const end = new Date(2025, 0, 13, 23, 59, 59);
const distance = end.getTime() - now.getTime();
if (distance < 0) {
clearInterval(timer);
return;
}
const daysLeft = Math.floor(distance / _days);
const hoursLeft = Math.floor((distance % _days) / _hours);
const minutesLeft = Math.floor((distance % _hours) / _minutes);
displayDays.value = daysLeft;
displayHours.value = hoursLeft < 10 ? '0' + hoursLeft : hoursLeft;
displayMinutes.value = minutesLeft < 10 ? '0' + minutesLeft : minutesLeft;
}, 1000);
}
```
</details>
## Пример использования
```vue
import CountDown from '@/components/components\CountDown';
```
```vue
<CountDown />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# Auth-form
Описание отсутствует.
## Пример использования
```vue
import Auth-form from '@/components/components/UI/Auth-form';
```
```vue
<Auth-form />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# NewsCard
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `news` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import NewsCard from '@/components/components/UI/NewsCard';
```
```vue
<NewsCard />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# PatternTabs
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `tabs` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import PatternTabs from '@/components/components/UI/PatternTabs';
```
```vue
<PatternTabs />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# Timer
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `voteTime` | `Object` | `() => { return {` | нет комментария |
## Пример использования
```vue
import Timer from '@/components/components/UI/Timer';
```
```vue
<Timer />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,23 @@
# card-feedback
### :title="'Оставлено комментариев'"
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `data` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import card-feedback from '@/components/components/UI/aboutportal/card-feedback';
```
```vue
<card-feedback />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# card-top-comment
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `top` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import card-top-comment from '@/components/components/UI/aboutportal/card-top-comment';
```
```vue
<card-top-comment />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# card-total
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `indicator` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import card-total from '@/components/components/UI/aboutportal/card-total';
```
```vue
<card-total />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,23 @@
# card-comment
### <v-card-title class="text-wrap"></v-card-title>
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `comment` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import card-comment from '@/components/components/UI/aboutportal/card_top_comment/card-comment';
```
```vue
<card-comment />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# feedmodul
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `feedback` | `Object` | `() => {return {feed:[]` | нет комментария |
## Пример использования
```vue
import feedmodul from '@/components/components/UI/aboutportal/feedmodul';
```
```vue
<feedmodul />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,75 @@
# line-chart
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `dataLineChart` | `Object` | `() => {` | нет комментария |
| `period` | `Object` | `() => {` | нет комментария |
| `filter` | `String` | `'d'` | нет комментария |
## Описание переменных
| Переменная | Значение | Описание |
|------------|----------|----------|
| `baseunic` | <pre>unicperson(fullper.value.filter(e<br>=> new Date(e.visitdate)<br>>moment(new<br>Date(date)).subtract(between.value*2,<br>'d') && new Date(e.visitdate)<br><= moment(new<br>Date(date)).subtract(between.value,<br>'d')))<br>
let crrunic =<br>unicperson(fullper.value.filter(e<br>=> new Date(e.visitdate)<br>>moment(new<br>Date(date)).subtract(between.value,<br>'d') && new Date(e.visitdate)<br><= new Date(date)))<br>
let bothuser = new<br>Set([...baseunic].filter(element<br>=> crrunic.has(element)))<br>
<br>
if (date<br>==formatDash(filterStore.date_period.enddate))<br>{<br>
<br>editCRR(bothuser.size*100/baseunic.size)<br>
}<br>
<br>
return baseunic.size<br>==0?0:bothuser.size*100/baseunic.size<br>
} <br>
const editCRR = (val) =><br>{<br>
<br>
emit('getCRR', val)<br>
}<br>
<br>
const unicperson = (arr)<br>=> {<br>
<br>
let arrnew =[]<br>
arr.forEach(e =><br>arrnew.push(...e.user) )<br>
return new Set(arrnew)<br>
}<br>
const data=computed({get()<br>{<br>
<br>
return<br>JSON.parse(JSON.stringify(dataf.value))<br>
}<br>
})<br>
const linear=ref(null)<br>
const options = {<br>
plugins: { <br>
<br>
datalabels: {<br>
color: 'grey',<br>
align: 'top',<br>
display:<br>'auto'<br>
},<br>
legend: {<br>
onHover:<br>(event, chartElement) => {<br>
<br>event.native.target.style.cursor<br>='pointer'<br></pre> | <pre>Расчет значения crr, и передача в<br>родительский компонент значения, на<br>последнюю дату в периоде для<br>компонента card-total<br>
@constructor<br>
@param {object} date - по<br>каждому дню, в указанном периоде<br>(пример - 2024-03-22)<br>
@description Для расчетного<br>периода с 04<br></pre> |
## Пример использования
```vue
import line-chart from '@/components/components\UI\aboutportal\line-chart';
```
```vue
<line-chart />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# pattern-card-feed
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `''` | нет комментария |
## Пример использования
```vue
import pattern-card-feed from '@/components/components/UI/aboutportal/pattern-card-feed';
```
```vue
<pattern-card-feed />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,22 @@
# pattern-card
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `''` | нет комментария |
| `ico` | `String` | `''` | нет комментария |
## Пример использования
```vue
import pattern-card from '@/components/components/UI/aboutportal/pattern-card';
```
```vue
<pattern-card />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,23 @@
# portal-traffic
###
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `alldata` | `Object` | `() => {return {period: []` | нет комментария |
## Пример использования
```vue
import portal-traffic from '@/components/components/UI/aboutportal/portal-traffic';
```
```vue
<portal-traffic />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# rating-page
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `pages_count` | `Array` | `() => []` | нет комментария |
## Пример использования
```vue
import rating-page from '@/components/components/UI/aboutportal/rating-page';
```
```vue
<rating-page />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# toolbar-filter
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `nStaff` | `Number` | `0` | нет комментария |
## Пример использования
```vue
import toolbar-filter from '@/components/components/UI/aboutportal/toolbar-filter';
```
```vue
<toolbar-filter />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# tooltip-ico
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `info` | `Object` | `() => {return {tooltip: ''` | нет комментария |
## Пример использования
```vue
import tooltip-ico from '@/components/components/UI/aboutportal/tooltip-ico';
```
```vue
<tooltip-ico />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# tooltip-user
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `info` | `Array` | `() => []` | нет комментария |
## Пример использования
```vue
import tooltip-user from '@/components/components/UI/aboutportal/tooltip-user';
```
```vue
<tooltip-user />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# top-user
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `activusers` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import top-user from '@/components/components/UI/aboutportal/top-user';
```
```vue
<top-user />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# date-select
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `datedefault` | `Date` | `''` | нет комментария |
## Пример использования
```vue
import date-select from '@/components/components/UI/date-select';
```
```vue
<date-select />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# page-counter
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `rail` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import page-counter from '@/components/components/UI/defaultportal/page-counter';
```
```vue
<page-counter />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# uploading-file
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `files` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import uploading-file from '@/components/components/UI/defaultportal/uploading-file';
```
```vue
<uploading-file />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# feedstar-like
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `rating` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import feedstar-like from '@/components/components/UI/feedback/feedstar-like';
```
```vue
<feedstar-like />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# statistik-like
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `rating` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import statistik-like from '@/components/components/UI/feedback/statistik-like';
```
```vue
<statistik-like />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# icoUser
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `author` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import icoUser from '@/components/components/UI/fiousercard/icoUser';
```
```vue
<icoUser />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,22 @@
# infoUserCard
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `opendialog` | `Boolean` | `false` | нет комментария |
| `author` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import infoUserCard from '@/components/components/UI/fiousercard/infoUserCard';
```
```vue
<infoUserCard />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,22 @@
# listUser
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `author` | `Object` | `{` | нет комментария |
| `from_which` | `String` | `"dialog-search"` | нет комментария |
## Пример использования
```vue
import listUser from '@/components/components/UI/fiousercard/listUser';
```
```vue
<listUser />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# onlineUsers
Описание отсутствует.
## Пример использования
```vue
import onlineUsers from '@/components/components/UI/fiousercard/onlineUsers';
```
```vue
<onlineUsers />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# vcardUser
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `author` | `Object` | `{` | нет комментария |
## Пример использования
```vue
import vcardUser from '@/components/components/UI/fiousercard/vcardUser';
```
```vue
<vcardUser />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,10 @@
# index
Описание отсутствует.
```js
import * as index from '@/components/components/UI/index';
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# my-helper
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `pretext` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import my-helper from '@/components/components/UI/my-helper';
```
```vue
<my-helper />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,22 @@
# tooltip-number
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `tooltip` | `Array` | `() => []` | нет комментария |
| `number` | `Number` | `0` | нет комментария |
## Пример использования
```vue
import tooltip-number from '@/components/components/UI/tooltip-number';
```
```vue
<tooltip-number />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,20 @@
# tooltip-text
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
## Пример использования
```vue
import tooltip-text from '@/components/components/UI/tooltip-text';
```
```vue
<tooltip-text />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# ContactInfo
Описание отсутствует.
## Пример использования
```vue
import ContactInfo from '@/components/components/about_inspection/contacts/ContactInfo';
```
```vue
<ContactInfo />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,40 @@
# GeneralInformation
### <v-col
lg="12"
class="px-3"
v-for="direction in 10"
:key="direction.id"
>
<v-card class="d-flex" :elevation="3">
<v-col class="d-flex align-center justify-center">
<v-avatar
class="elevation-10 text-teal-darken-4"
color="teal-lighten-5"
>
<v-icon :icon="direction.icon_name"></v-icon>
</v-avatar>
</v-col>
<v-col
lg="11"
class="d-flex align-center justify-start text-h6"
>
{{ direction.direction_title }}
</v-col>
</v-card>
</v-col>
## Пример использования
```vue
import GeneralInformation from '@/components/components/about_inspection/general_information/GeneralInformation';
```
```vue
<GeneralInformation />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,32 @@
# GeneralInformationSize
### <v-card-text class="text-h2 text-center">
<vue3-autocounter
ref="counter"
:startAmount="0"
:endAmount="size.statesize"
:duration="2"
/>
</v-card-text>
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `''` | нет комментария |
| `size` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import GeneralInformationSize from '@/components/components/about_inspection/general_information/GeneralInformationSize';
```
```vue
<GeneralInformationSize />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,18 @@
# OpenVacancies
### {{vacancyDescription}}
## Пример использования
```vue
import OpenVacancies from '@/components/components/about_inspection/open_vacancies/OpenVacancies';
```
```vue
<OpenVacancies />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# ResponseVacancies
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `idVacations` | `Number` | `-1` | нет комментария |
## Пример использования
```vue
import ResponseVacancies from '@/components/components/about_inspection/open_vacancies/ResponseVacancies';
```
```vue
<ResponseVacancies />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,24 @@
# StructureInspection
### <v-img
class="h-100"
:src="
checkremote(`${spravURL}${structure.login}.jpg`)
"
cover
/>
## Пример использования
```vue
import StructureInspection from '@/components/components/about_inspection/structure/StructureInspection';
```
```vue
<StructureInspection />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# StructureInspectionRow
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `sText` | `String` | `""` | нет комментария |
## Пример использования
```vue
import StructureInspectionRow from '@/components/components/about_inspection/structure/StructureInspectionRow';
```
```vue
<StructureInspectionRow />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,18 @@
# BigCalendar
### {{eventFromCalendar}}
## Пример использования
```vue
import BigCalendar from '@/components/components/calendar_of_events/BigCalendar';
```
```vue
<BigCalendar />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# calendarFull
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `allEvent` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import calendarFull from '@/components/components/calendar_of_events/UI_calendar/calendarFull';
```
```vue
<calendarFull />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,32 @@
# dialogCreate
### <v-btn
class="text-subtitle-1"
elevation="0"
width="150"
@click="clearValidation"
color="btn_gray"
variant="flat"
>резет</v-btn
>
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `""` | нет комментария |
| `newOrOld` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import dialogCreate from '@/components/components/calendar_of_events/UI_calendar/dialogCreate';
```
```vue
<dialogCreate />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# periodEvents
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `dateEventStart` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import periodEvents from '@/components/components/calendar_of_events/UI_calendar/periodEvents';
```
```vue
<periodEvents />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# reminderEvent
Описание отсутствует.
## Пример использования
```vue
import reminderEvent from '@/components/components/calendar_of_events/UI_calendar/reminderEvent';
```
```vue
<reminderEvent />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,25 @@
# timeSelect
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `dateEvent` | `String` | `""` | нет комментария |
| `limitation` | `String` | `""` | нет комментария |
| `order` | `Array` | `[0` | нет комментария |
| `chek` | `Boolean` | `false` | нет комментария |
| `rule` | `Number` | `-1` | нет комментария |
## Пример использования
```vue
import timeSelect from '@/components/components\calendar_of_events\UI_calendar\timeSelect';
```
```vue
<timeSelect />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,24 @@
# calendar-create-select
###
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `staff` | `Array` | `() => []` | нет комментария |
| `okey` | `String` | `'selected'` | нет комментария |
## Пример использования
```vue
import calendar-create-select from '@/components/components/calendar_of_events/calendar-create-select';
```
```vue
<calendar-create-select />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# calendar-create
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `calendar` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import calendar-create from '@/components/components/calendar_of_events/calendar-create';
```
```vue
<calendar-create />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# calendar-my
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `calendars` | `Array` | `() => []` | нет комментария |
## Пример использования
```vue
import calendar-my from '@/components/components/calendar_of_events/calendar-my';
```
```vue
<calendar-my />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# event-calendar
Описание отсутствует.
## Пример использования
```vue
import event-calendar from '@/components/components/calendar_of_events/event-calendar';
```
```vue
<event-calendar />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,23 @@
# event-create
### <my-helper :pretext="propsEvent.event" />
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `eventCalendar` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-create from '@/components/components/calendar_of_events/event-create';
```
```vue
<event-create />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# event-dialog-edit-participant
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `opendialog` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import event-dialog-edit-participant from '@/components/components/calendar_of_events/event-dialog-edit-participant';
```
```vue
<event-dialog-edit-participant />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,27 @@
# event-dialog-edit
### <v-textarea
v-model="dataToEdit.bigname"
rows="1"
placeholder="Название календаря"
/>
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `event` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-dialog-edit from '@/components/components/calendar_of_events/event-dialog-edit';
```
```vue
<event-dialog-edit />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# event-dialog-info
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `event` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-dialog-info from '@/components/components/calendar_of_events/event-dialog-info';
```
```vue
<event-dialog-info />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,24 @@
# event-dialog
### mdi-check
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `opendialog` | `Boolean` | `false` | нет комментария |
| `event` | `Object` | `() => {` | нет комментария |
## Пример использования
```vue
import event-dialog from '@/components/components/calendar_of_events/event-dialog';
```
```vue
<event-dialog />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# load-ical
Описание отсутствует.
## Пример использования
```vue
import load-ical from '@/components/components/calendar_of_events/load-ical';
```
```vue
<load-ical />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,18 @@
# load-ical1
### <my-helper :pretext="events" />
## Пример использования
```vue
import load-ical1 from '@/components/components/calendar_of_events/load-ical1';
```
```vue
<load-ical1 />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# cardLike
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `LikeDialog` | `Boolean` | `false` | нет комментария |
## Пример использования
```vue
import cardLike from '@/components/components/cardLike';
```
```vue
<cardLike />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,95 @@
# carousel-list
### Карусель: Компонент для отображения изображений и видео с сервера в виде карусели
## Описание переменных
| Переменная | Значение | Описание |
|------------|----------|----------|
| `currentslide` | <pre>ref(0)<br></pre> | <pre>Хранит индекс текущего слайда<br>карусели<br></pre> |
| `burl` | <pre>baseURL.slice(0, -1)<br></pre> | <pre>Базовый URL для загрузки медиа<br></pre> |
| `videoElement` | <pre>ref(null)<br></pre> | <pre>Ссылка на элемент видео<br></pre> |
| `carous` | <pre>ref([{ link:<br>`/media/newsimage/scales.jpg`,<br>title: null, text: '' }])<br></pre> | <pre>Хранит массив данных карусели, по<br>умолчанию содержит одно изображение<br></pre> |
| `feedalert` | <pre>useAlertStore().alert<br></pre> | <pre>Получает объект alert из хранилища<br>alert для уведомлений<br></pre> |
| `interval` | <pre>ref(10000)<br></pre> | <pre>Интервал переключения слайдов в<br>миллисекундах<br></pre> |
## Описание стрелочных функций:
<details>
<summary>🛠️ <strong>getfromserver</strong> - Обрабатывает запрос для получения данных карусели с сервера.</summary>
```js
const getfromserver = () => {
axiosApiInstance.get('api/navigation/carousels/').then((result) => {
if (result.data.mess !== '') {
feedalert.alert = true;
feedalert.text = result.data.mess;
feedalert.color = 'red-darken-2';
feedalert.ico = 'mdi-alert-outline';
}
if (result.data.result.length > 0) {
carous.value = result.data.result;
}
});
}
```
</details>
<details>
<summary>🛠️ <strong>slidechanged</strong> - Управляет изменением слайда и переключением интервала в зависимости от типа медиа.</summary>
```js
const slidechanged = () => {
if (carous.value[currentslide.value].link.endsWith('mp4')) {
// При переключении на видео, останавливаем все другие видео
videoElement.value.forEach((e) => {
if (e.currentSrc !== burl + carous.value[currentslide.value].link) {
e.pause();
}
});
}
if (carous.value[currentslide.value].link.endsWith('mp4')) {
interval.value = 10000000000;
} else {
interval.value = 10000;
}
}
```
</details>
<details>
<summary>🛠️ <strong>ended</strong> - Обрабатывает окончание воспроизведения видео и переключает слайд.</summary>
**Аргументы:**
| Имя аргумента | Тип | Описание |
|--------------|-----|----------|
| `val` | `Object` | Событие окончания воспроизведения видео. |
```js
const ended = (val) => {
val.target.currentTime = 0;
val.target.pause();
document.exitFullscreen();
currentslide.value =
currentslide.value < carous.value.length - 1 ? currentslide.value + 1 : 0;
}
```
</details>
## Пример использования
```vue
import carousel-list from '@/components/components\carousel-list';
```
```vue
<carousel-list />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,30 @@
# carousel-numbers
### Компонент данных: Отображает цифры в виде слайд-группы карточек с анимацией счетчика
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `digitalData` | `Object` | `() => {` | нет комментария |
## Описание переменных
| Переменная | Значение | Описание |
|------------|----------|----------|
| `burl` | <pre>baseURL.slice(0, -1)<br></pre> | <pre>Получает базовый URL из<br>конфигурации axios<br></pre> |
| `model` | <pre>ref(false)<br></pre> | <pre>Хранит выбранное значение модели<br>для v-slide-group<br></pre> |
## Пример использования
```vue
import carousel-numbers from '@/components/components\carousel-numbers';
```
```vue
<carousel-numbers />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,24 @@
# dialog-search
### <vcard-user :author = item />
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `idpos` | `Number` | `""` | нет комментария |
| `namepos` | `String` | `""` | нет комментария |
## Пример использования
```vue
import dialog-search from '@/components/components/dialog-search';
```
```vue
<dialog-search />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# digital-letna
Описание отсутствует.
## Пример использования
```vue
import digital-letna from '@/components/components/digital-letna';
```
```vue
<digital-letna />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,10 @@
# chartConfig
Описание отсутствует.
```js
import * as chartConfig from '@/components/components\graph\chartConfig';
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# line-graph
Описание отсутствует.
## Пример использования
```vue
import line-graph from '@/components/components/graph/line-graph';
```
```vue
<line-graph />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# load-round
Описание отсутствует.
## Пример использования
```vue
import load-round from '@/components/components/load-round';
```
```vue
<load-round />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# news-crossroad
Описание отсутствует.
## Пример использования
```vue
import news-crossroad from '@/components/components/news-crossroad';
```
```vue
<news-crossroad />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# news-full
Описание отсутствует.
## Пример использования
```vue
import news-full from '@/components/components/news-full';
```
```vue
<news-full />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# news-home
Описание отсутствует.
## Пример использования
```vue
import news-home from '@/components/components/news-home';
```
```vue
<news-home />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# SmallTimer
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `endTime` | `Date` | `() => { return new Date.setFullYear()` | нет комментария |
## Пример использования
```vue
import SmallTimer from '@/components/components/secret/SmallTimer';
```
```vue
<SmallTimer />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,25 @@
# CatalogTest
### Карточка где буду отрисовываться тесты в цикле
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `'Не забыть передать тайтл сюда!'` | нет комментария |
| `activeTab` | `Number` | `0` | нет комментария |
| `testingCard` | `Array` | `() => [` | нет комментария |
## Пример использования
```vue
import CatalogTest from '@/components/components/testing/CatalogTest';
```
```vue
<CatalogTest />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,16 @@
# DetailCardTest
Описание отсутствует.
## Пример использования
```vue
import DetailCardTest from '@/components/components/testing/DetailCardTest';
```
```vue
<DetailCardTest />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# HeaderDetailTesting
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `title` | `String` | `'Название теста здесь'` | нет комментария |
## Пример использования
```vue
import HeaderDetailTesting from '@/components/components/testing/HeaderDetailTesting';
```
```vue
<HeaderDetailTesting />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,21 @@
# TestCard
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `item` | `Object` | `нет данных` | нет комментария |
## Пример использования
```vue
import TestCard from '@/components/components/tests/TestCard';
```
```vue
<TestCard />
```
---
> Документация сгенерирована автоматически.
@@ -0,0 +1,23 @@
# CurrentVote
### Шаги голосования
## Описание пропсов
| Пропс | Тип | Значение по умолчанию | Комментарий |
|-------|-----|-----------------------|-------------|
| `data` | `Object` | `() => ({` | нет комментария |
## Пример использования
```vue
import CurrentVote from '@/components/components/vote/CurrentVote';
```
```vue
<CurrentVote />
```
---
> Документация сгенерирована автоматически.
Loaded 100 of 186 files, more files were not shown because too many files have changed in this diff. Show more