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

File renamed without changes.
File renamed without changes.
+4
View File
@@ -0,0 +1,4 @@
module.exports = {
presets: ['@babel/preset-env', '@babel/preset-modules'],
plugins: ['@babel/plugin-transform-runtime'],
};
@@ -1,152 +0,0 @@
<template>
<div>
<h2>Результаты тестов:</h2>
<!-- Общее состояние тестов -->
<div v-if="results.success" class="success">✅ Все тесты успешно пройдены!</div>
<div v-else-if="results.numFailedTestSuites > 0" class="error">
❌ Ошибки в тестах: {{ results.numFailedTestSuites }} из {{ results.numTotalTestSuites }}
</div>
<div v-else class="warning">⚠️ Некоторые тесты не завершились корректно.</div>
<!-- Сообщения об ошибках -->
<pre v-if="errorMessage" class="error-log">{{ errorMessage }}</pre>
<!-- Сводная информация -->
<div v-if="results.testResults" class="summary">
<h3>Сводка по тестам:</h3>
<ul>
<li><strong>Общее количество тестов:</strong> {{ results.numTotalTests }}</li>
<li>
<strong>Пройдено:</strong> {{ results.numPassedTests }} ({{
getPercentage(results.numPassedTests, results.numTotalTests)
}}%)
</li>
<li>
<strong>Неудачных:</strong> {{ results.numFailedTests }} ({{
getPercentage(results.numFailedTests, results.numTotalTests)
}}%)
</li>
</ul>
</div>
<!-- Список успешных тестов -->
<div v-if="passedTests.length">
<h3>Успешные тесты:</h3>
<ul>
<li v-for="test in passedTests" :key="test.fullName">
<strong>{{ test.fullName }}</strong> ✅ ({{ test.duration }} мс)
</li>
</ul>
</div>
<!-- Список неудачных тестов -->
<div v-if="failedTests.length">
<h3>Неудачные тесты:</h3>
<ul>
<li v-for="test in failedTests" :key="test.fullName">
<strong>{{ test.fullName }}</strong> ❌ ({{ test.duration }} мс)
<pre v-if="test.failureMessages.length" class="error-log">
{{ test.failureMessages.join('\n') }}
</pre>
</li>
</ul>
</div>
</div>
</template>
<script setup>
import { ref, onMounted, computed, watch } from 'vue';
const results = ref({});
const errorMessage = ref('');
// Функция для вычисления процента успешных/неудачных тестов
const getPercentage = (num, total) => {
return ((num / total) * 100).toFixed(2);
};
// Загружаем результаты тестов при монтировании компонента
onMounted(async () => {
try {
const response = await fetch('/test-results.json');
const data = await response.json();
results.value = data;
// Если есть ошибки, собираем все сообщения об ошибках
if (!data.success) {
errorMessage.value = data.testResults
.map((t) => (t.failureMessages ? t.failureMessages.join('\n') : ''))
.join('\n\n');
}
} catch (error) {}
});
// Вычисляем успешные и неудачные тесты
const passedTests = computed(() => {
const assertionResults = results.value?.testResults?.[0]?.assertionResults;
return (
assertionResults
?.filter((test) => test.status === 'passed')
.map((test) => ({
...test,
failureMessages: test.failureMessages || [],
})) || []
);
});
const failedTests = computed(() => {
const assertionResults = results.value?.testResults?.[0]?.assertionResults;
return (
assertionResults
?.filter((test) => test.status === 'failed')
.map((test) => ({
...test,
failureMessages: test.failureMessages || [],
})) || []
);
});
</script>
<style scoped>
.success {
color: green;
font-weight: bold;
}
.error {
color: red;
font-weight: bold;
}
.warning {
color: orange;
font-weight: bold;
}
.passed {
color: green;
}
.failed {
color: red;
}
.error-log {
background: rgba(255, 221, 221, 0.1);
border-left: 4px solid red;
padding: 5px;
white-space: pre-wrap;
font-family: monospace;
}
.summary {
margin-bottom: 20px;
}
.duration {
color: #555;
font-style: italic;
}
</style>
-27
View File
@@ -1,27 +0,0 @@
# Резервное копирование
# Резервное копирование исходных текстов
Копирование как таковое не осуществляется. Резервирование основано на вытягивании (PULL) репозитория по протоколу Git в место резервного хранения.
Дата последней проверки работы: 2023-12-18
## Схема размещения репозиториев
```mermaid
graph TD;
Developers==Коммиты==>Sulaco;
Sulaco--Таймер--oBigBox;
Sulaco-.->|Запрос|Gitea/COD2;
Gitea/COD2-.->|Запрос|APP28-Prod;
Gitea/COD2-.->|Запрос|APP040-Test;
```
* Коммит - по мере выкатки в репозиторий очередных правок
* Таймер - по заданному расписанию (как правило - раз в сутки)
* Запрос - ручной запрос на проведение синхронизации
Учетки для резервного копирования
* R2D2 - для вытягивания в ЦОД2
* BigBoy - для вытягивания в BigBox
-91
View File
@@ -1,91 +0,0 @@
<h1 align="center">Соглашение для разработчиков по GIT</h1>
<h3 align="center">Основные принципы работы в репозитории</h3>
```mermaid
---
title: Пример схемы GIT репозитория
---
%%{init: {'theme':'forest'}}%%
gitGraph:
commit id:"initial"
branch test
checkout test
commit id:"Ветки поделились"
branch develop
checkout develop
commit type:HIGHLIGHT id:"taskid1" tag:"Назначение задачи"
branch git_id_shortName
checkout git_id_shortName
commit
checkout develop
merge git_id_shortName
commit type:HIGHLIGHT tag:"Назначение задачи"
branch featureA
commit type:HIGHLIGHT tag:"Назначение подзадачи"
branch featureA1
commit
checkout test
merge develop
checkout featureA
commit
branch featureA2
commit
commit
checkout featureA
merge featureA2
merge featureA1
checkout develop
merge featureA
checkout develop
checkout test
merge develop
checkout main
merge test
```
### Ветки, на которых делается сборка
Основная ветка main используется только для размещения на сервере прод
test - ветка для тестового сервера
### Ветки разработки
develop - основная ветка разработчиков
Все ветки выше защищены от merdge в соответствиями с ролями участников проекта
#### Ветки задач
Формируются по принципу id_Задачи_краткое описание
Id задачи находится во внутреннем GIT
После того, как задача выполнена, разработчик создает PULL Request в ветку DEVELOP. НЕ ЗАБЫВАЕМ кратко описывать что сделано и есть-ли какие-то проблемы. НУ или крепить ссылку на задачу, по которой велись работы
Остальные участники проекта проверяют предложенные исправления и пишут на них рецензии.
Если разработчик не согласен с предлагаемыми изменениями, он должен написать причину своего несогласия.
В случае принятия или по своему усмотрению (крайний случай) ответственный производит merdge.
На ветке разработки производится апдейт версии, после чего команде следует приступать к другим задачам, производя ветвление от ветки разработки.
Сборку проекта следует производить на ветках серверов.
#### Хотфиксы
Правила аналогичны веткам задач.
## Gitignore
В репозиторий не должны попадать файлы виртуального окружения, файлы модулей и прочего.
По возможности, следует исключать попадание и иных статических файлов, если их наличие не влияет на работу проекта.
-96
View File
@@ -1,96 +0,0 @@
# Спецификация организации проекта Vue
Инструменты разработки
* Vscode
Инструмент проверки кода
* ESLint
## Спецификации разработки
### 1 Соглашения об именах для папок, файлов и компонентов
1. Для компонентов используем соглашение об именах (PascalCase), начинающееся с заглавных букв.
2. В дочерние компоненты, жестко привязанным к родителю, добавляем вперед название родительского компонента (РодительДочерний)
3. Для не являющихся компонентами, используем kebab-case, начинающиеся с строчных букв (если не получается обойтись одним словом).
### 2 Формат файла UTF-8
### 3 Требования к названиям:
1. Стараемся избегать использования непонятного в названиях и используем английские слова, передающие смысл. Пишем правильно (если что, онлайн-переводчик не сложно запустить)
2. Внутри методов допустимо использовать переменные, не несущие в своем названии смысла (arr, ob) для перебора какого-то массива или объекта, но на коротких дистанциях. НЕ совсем правильно, но удобно.
3. Названия для переменных
* Верблюжий регистр, начиная с типа данных в нижнем регистре
* Тип числа начинается с n,
- [x] строка - **s**,
- [x] логический - **b**,
- [x] объект - **o**,
- [x] массив - **a**.
Например: nAge = 29, sName = "Jone".
### 4. Название функции
* Верблюжий регистр, соглашение об именах первой буквы в нижнем регистре
* По типу операции + объекту операции
Типы операций следующие:
- [x] add (добавить),
- [x] change/edit/set (изменить),
- [x] del (удалить),
- [x] get (получить),
- [x] search/find/filter (поиск),
- [x] load (загрузка)
- [x] check (проверка),
- [x] reset (сброс)
### 4. Спецификация структуры файла VUE:
1. Порядок оформления:
* template
* script
* style
2. PROPS должны быть подробно определены:
```
props: {
sStatus: {
type: String,
required: true,
defaut:""
}
}
```
3. Характеристики функциональных элементов:
* Элементы с несколькими атрибутами записываем в несколько строк, по одной строке для каждого атрибута. (чтобы облегчить чтение)
```
<my-component
:data="data"
:class="name"
@click="..."
....
...
...
.........
>
```
! Если атрибутов немного и это не мешает чтению, допускается писать и в строку -
### 5. Спецификация комментариев.
Заполняем комментарий в следующих случаях:
* Инструкции по использованию компонентов и функций
* Описание важных/сложных функций функций
* Больше комментариев - лучше для понимания.
### 6. Дополнительно
* Стараемся держать код в чистоте
- неиспользуемого быть не должно
- не забываем проверять свой код на console.log перед отправкой на слияние веток
- Экономим теги, будто их мало и редко выдают на отдел небольшими порциями.
-49
View File
@@ -1,49 +0,0 @@
---
outline: deep
---
# Runtime API Examples
This page demonstrates usage of some of the runtime APIs provided by VitePress.
The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files:
```md
<script setup>
import { useData } from 'vitepress'
const { theme, page, frontmatter } = useData()
</script>
## Results
### Theme Data
<pre>{{ theme }}</pre>
### Page Data
<pre>{{ page }}</pre>
### Page Frontmatter
<pre>{{ frontmatter }}</pre>
```
<script setup>
import { useData } from 'vitepress'
const { site, theme, page, frontmatter } = useData()
</script>
## Results
### Theme Data
<pre>{{ theme }}</pre>
### Page Data
<pre>{{ page }}</pre>
### Page Frontmatter
<pre>{{ frontmatter }}</pre>
## More
Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).
-35
View File
@@ -1,35 +0,0 @@
### Шаблон страницы
Пример использования верстки
```
<v-row no-gutters class="gap flex-column">
<v-col lg=2 class='bg-red w100'>
1
</v-col>
<v-col class="d-flex flex-column">
<v-row no-gutters class="gap">
<v-col lg=9 class="d-flex flex-column">
<v-row no-gutters class="gap flex-column">
<v-col class=" d-flex flex-column">
<v-row no-gutters class="gap">
<v-col class="bg-green">1</v-col>
<v-col class="bg-orange">2</v-col>
</v-row>
</v-col>
<v-col class=" d-flex flex-column">
<v-row no-gutters class="gap">
<v-col class="bg-purple">1</v-col>
<v-col class="bg-green">2</v-col>
</v-row>
</v-col>
</v-row>
</v-col>
<v-col class="bg-yellow">2</v-col>
</v-row>
</v-col>
<v-col lg=2 class="bg-grey w100">
3
</v-col>
</v-row>
```
-85
View File
@@ -1,85 +0,0 @@
# Markdown Extension Examples
This page demonstrates some of the built-in markdown extensions provided by VitePress.
## Syntax Highlighting
VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:
**Input**
````md
```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```
````
**Output**
```js{4}
export default {
data () {
return {
msg: 'Highlighted!'
}
}
}
```
## Custom Containers
**Input**
```md
::: info
This is an info box.
:::
::: tip
This is a tip.
:::
::: warning
This is a warning.
:::
::: danger
This is a dangerous warning.
:::
::: details
This is a details block.
:::
```
**Output**
::: info
This is an info box.
:::
::: tip
This is a tip.
:::
::: warning
This is a warning.
:::
::: danger
This is a dangerous warning.
:::
::: details
This is a details block.
:::
## More
Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).
+3
View File
@@ -0,0 +1,3 @@
/docs/.vitepress/cache/
/node_modules/
/docs/public/
+4
View File
@@ -0,0 +1,4 @@
module.exports = {
presets: ['@babel/preset-env', '@babel/preset-modules'],
plugins: ['@babel/plugin-transform-runtime'],
};
@@ -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 = /^.+(:|&colon;)/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
@@ -18,174 +18,6 @@ export default withMermaid({
"text": "components",
"collapsed": true,
"items": [
{
"text": "CountDown",
"link": "/src/components/CountDown"
},
{
"text": "UI",
"collapsed": true,
"items": [
{
"text": "Auth-form",
"link": "/src/components/UI/Auth-form"
},
{
"text": "NewsCard",
"link": "/src/components/UI/NewsCard"
},
{
"text": "PatternTabs",
"link": "/src/components/UI/PatternTabs"
},
{
"text": "Timer",
"link": "/src/components/UI/Timer"
},
{
"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": "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": "tooltip-number",
"link": "/src/components/UI/tooltip-number"
},
{
"text": "tooltip-text",
"link": "/src/components/UI/tooltip-text"
}
]
},
{
"text": "about_inspection",
"collapsed": true,
@@ -196,7 +28,7 @@ export default withMermaid({
"items": [
{
"text": "ContactInfo",
"link": "/src/components/about_inspection/contacts/ContactInfo"
"link": "/src/components\\about_inspection\\contacts\\ContactInfo"
}
]
},
@@ -206,11 +38,11 @@ export default withMermaid({
"items": [
{
"text": "GeneralInformation",
"link": "/src/components/about_inspection/general_information/GeneralInformation"
"link": "/src/components\\about_inspection\\general_information\\GeneralInformation"
},
{
"text": "GeneralInformationSize",
"link": "/src/components/about_inspection/general_information/GeneralInformationSize"
"link": "/src/components\\about_inspection\\general_information\\GeneralInformationSize"
}
]
},
@@ -220,11 +52,11 @@ export default withMermaid({
"items": [
{
"text": "OpenVacancies",
"link": "/src/components/about_inspection/open_vacancies/OpenVacancies"
"link": "/src/components\\about_inspection\\open_vacancies\\OpenVacancies"
},
{
"text": "ResponseVacancies",
"link": "/src/components/about_inspection/open_vacancies/ResponseVacancies"
"link": "/src/components\\about_inspection\\open_vacancies\\ResponseVacancies"
}
]
},
@@ -234,11 +66,11 @@ export default withMermaid({
"items": [
{
"text": "StructureInspection",
"link": "/src/components/about_inspection/structure/StructureInspection"
"link": "/src/components\\about_inspection\\structure\\StructureInspection"
},
{
"text": "StructureInspectionRow",
"link": "/src/components/about_inspection/structure/StructureInspectionRow"
"link": "/src/components\\about_inspection\\structure\\StructureInspectionRow"
}
]
}
@@ -250,7 +82,51 @@ export default withMermaid({
"items": [
{
"text": "BigCalendar",
"link": "/src/components/calendar_of_events/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",
@@ -258,117 +134,81 @@ export default withMermaid({
"items": [
{
"text": "calendarFull",
"link": "/src/components/calendar_of_events/UI_calendar/calendarFull"
"link": "/src/components\\calendar_of_events\\UI_calendar\\calendarFull"
},
{
"text": "dialogCreate",
"link": "/src/components/calendar_of_events/UI_calendar/dialogCreate"
"link": "/src/components\\calendar_of_events\\UI_calendar\\dialogCreate"
},
{
"text": "periodEvents",
"link": "/src/components/calendar_of_events/UI_calendar/periodEvents"
"link": "/src/components\\calendar_of_events\\UI_calendar\\periodEvents"
},
{
"text": "reminderEvent",
"link": "/src/components/calendar_of_events/UI_calendar/reminderEvent"
"link": "/src/components\\calendar_of_events\\UI_calendar\\reminderEvent"
},
{
"text": "timeSelect",
"link": "/src/components/calendar_of_events/UI_calendar/timeSelect"
"link": "/src/components\\calendar_of_events\\UI_calendar\\timeSelect"
}
]
},
{
"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": "cardLike",
"link": "/src/components/cardLike"
"link": "/src/components\\cardLike"
},
{
"text": "carousel-list",
"link": "/src/components/carousel-list"
"link": "/src/components\\carousel-list"
},
{
"text": "carousel-numbers",
"link": "/src/components/carousel-numbers"
"link": "/src/components\\carousel-numbers"
},
{
"text": "CountDown",
"link": "/src/components\\CountDown"
},
{
"text": "dialog-search",
"link": "/src/components/dialog-search"
"link": "/src/components\\dialog-search"
},
{
"text": "digital-letna",
"link": "/src/components/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"
"link": "/src/components\\graph\\line-graph"
}
]
},
{
"text": "load-round",
"link": "/src/components/load-round"
"link": "/src/components\\load-round"
},
{
"text": "news-crossroad",
"link": "/src/components/news-crossroad"
"link": "/src/components\\news-crossroad"
},
{
"text": "news-full",
"link": "/src/components/news-full"
"link": "/src/components\\news-full"
},
{
"text": "news-home",
"link": "/src/components/news-home"
"link": "/src/components\\news-home"
},
{
"text": "secret",
@@ -376,7 +216,7 @@ export default withMermaid({
"items": [
{
"text": "SmallTimer",
"link": "/src/components/secret/SmallTimer"
"link": "/src/components\\secret\\SmallTimer"
}
]
},
@@ -386,25 +226,179 @@ export default withMermaid({
"items": [
{
"text": "CatalogTest",
"link": "/src/components/testing/CatalogTest"
"link": "/src/components\\testing\\CatalogTest"
},
{
"text": "DetailCardTest",
"link": "/src/components/testing/DetailCardTest"
"link": "/src/components\\testing\\DetailCardTest"
},
{
"text": "HeaderDetailTesting",
"link": "/src/components/testing/HeaderDetailTesting"
"link": "/src/components\\testing\\HeaderDetailTesting"
}
]
},
{
"text": "tests",
"text": "UI",
"collapsed": true,
"items": [
{
"text": "TestCard",
"link": "/src/components/tests/TestCard"
"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"
}
]
},
@@ -414,43 +408,43 @@ export default withMermaid({
"items": [
{
"text": "CurrentVote",
"link": "/src/components/vote/CurrentVote"
},
{
"text": "NonVoteHappy",
"link": "/src/components/vote/NonVoteHappy"
},
{
"text": "NonVoteSad",
"link": "/src/components/vote/NonVoteSad"
"link": "/src/components\\vote\\CurrentVote"
},
{
"text": "NoneVote",
"link": "/src/components/vote/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"
"link": "/src/components\\vote\\VoteAdmin"
},
{
"text": "VoteAnimation",
"link": "/src/components/vote/VoteAnimation"
"link": "/src/components\\vote\\VoteAnimation"
},
{
"text": "VoteCard",
"link": "/src/components/vote/VoteCard"
"link": "/src/components\\vote\\VoteCard"
},
{
"text": "VoteConstructor",
"link": "/src/components/vote/VoteConstructor"
"link": "/src/components\\vote\\VoteConstructor"
},
{
"text": "VoteForm",
"link": "/src/components/vote/VoteForm"
"link": "/src/components\\vote\\VoteForm"
},
{
"text": "VoteResult",
"link": "/src/components/vote/VoteResult"
"link": "/src/components\\vote\\VoteResult"
}
]
}
@@ -466,15 +460,15 @@ export default withMermaid({
"items": [
{
"text": "AdminMenu",
"link": "/src/layouts/default/AdminMenu"
},
{
"text": "DefaultPortal",
"link": "/src/layouts/default/DefaultPortal"
"link": "/src/layouts\\default\\AdminMenu"
},
{
"text": "alertDefault",
"link": "/src/layouts/default/alertDefault"
"link": "/src/layouts\\default\\alertDefault"
},
{
"text": "DefaultPortal",
"link": "/src/layouts\\default\\DefaultPortal"
}
]
}
@@ -490,15 +484,15 @@ export default withMermaid({
"items": [
{
"text": "index",
"link": "/src/plugins/index"
"link": "/src/plugins\\index"
},
{
"text": "vuetify",
"link": "/src/plugins/vuetify"
"link": "/src/plugins\\vuetify"
},
{
"text": "webfontloader",
"link": "/src/plugins/webfontloader"
"link": "/src/plugins\\webfontloader"
}
]
},
@@ -508,7 +502,7 @@ export default withMermaid({
"items": [
{
"text": "index",
"link": "/src/router/index"
"link": "/src/router\\index"
}
]
},
@@ -518,31 +512,45 @@ export default withMermaid({
"items": [
{
"text": "AboutPortalFilter",
"link": "/src/store/AboutPortalFilter"
"link": "/src/store\\AboutPortalFilter"
},
{
"text": "AccountStore",
"link": "/src/store/AccountStore"
},
{
"text": "MainmenuStore",
"link": "/src/store/MainmenuStore"
},
{
"text": "UseAlertStore",
"link": "/src/store/UseAlertStore"
},
{
"text": "WeekendsStore",
"link": "/src/store/WeekendsStore"
"link": "/src/store\\AccountStore"
},
{
"text": "app",
"link": "/src/store/app"
"link": "/src/store\\app"
},
{
"text": "index",
"link": "/src/store/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"
}
]
},
@@ -552,11 +560,11 @@ export default withMermaid({
"items": [
{
"text": "axios-api",
"link": "/src/utils/axios-api"
"link": "/src/utils\\axios-api"
},
{
"text": "universal_functions",
"link": "/src/utils/universal_functions"
"link": "/src/utils\\universal_functions"
}
]
},
@@ -566,59 +574,31 @@ export default withMermaid({
"items": [
{
"text": "AboutInspectionPage",
"link": "/src/views/AboutInspectionPage"
"link": "/src/views\\AboutInspectionPage"
},
{
"text": "AboutPortalPage",
"link": "/src/views/AboutPortalPage"
"link": "/src/views\\AboutPortalPage"
},
{
"text": "FAQPage",
"link": "/src/views/FAQPage"
"link": "/src/views\\FAQPage"
},
{
"text": "FeedbackPage",
"link": "/src/views/FeedbackPage"
"link": "/src/views\\FeedbackPage"
},
{
"text": "FnsHol",
"link": "/src/views/FnsHol"
"link": "/src/views\\FnsHol"
},
{
"text": "HomePage",
"link": "/src/views/HomePage"
"link": "/src/views\\HomePage"
},
{
"text": "LaborProtection",
"link": "/src/views/LaborProtection"
},
{
"text": "NewsPage",
"link": "/src/views/NewsPage"
},
{
"text": "ProvidingActivitiesPage",
"link": "/src/views/ProvidingActivitiesPage"
},
{
"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"
"link": "/src/views\\LaborProtection"
},
{
"text": "nested_view",
@@ -626,29 +606,37 @@ export default withMermaid({
"items": [
{
"text": "o_OKiB",
"link": "/src/views/nested_view/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"
"link": "/src/views\\safety\\ChaptersSafety"
},
{
"text": "DocumentationSafety",
"link": "/src/views/safety/DocumentationSafety"
"link": "/src/views\\safety\\DocumentationSafety"
},
{
"text": "MainInfoSafety",
"link": "/src/views/safety/MainInfoSafety"
"link": "/src/views\\safety\\MainInfoSafety"
},
{
"text": "TestSafety",
"link": "/src/views/safety/TestSafety"
"link": "/src/views\\safety\\TestSafety"
}
]
},
@@ -658,9 +646,29 @@ export default withMermaid({
"items": [
{
"text": "SecretPage",
"link": "/src/views/secret/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"
}
]
}
@@ -673,7 +681,9 @@ export default withMermaid({
{ text: 'Как установить', link: '/guides/install' },
{ text: 'Как использовать', link: '/guides/usage' },
{ text: 'Правила комитов', link: '/guides/commits' }
]
,
{ text: 'Тесты', link: '/tests' },
]
}
]
},
@@ -0,0 +1,9 @@
<template>
<iframe
src="/test-coverage/index.html"
width="1100px"
height="640px"
style="border: none"
></iframe>
</template>
File renamed without changes.
+3
View File
@@ -0,0 +1,3 @@
# Документация
⚠️ Оригинальный README.md не найден.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+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,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,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,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 />
```
---
> Документация сгенерирована автоматически.
Loaded 100 of 186 files, more files were not shown because too many files have changed in this diff. Show more