Add decaf webui

This commit is contained in:
Marco Realacci 2022-11-24 14:46:29 +01:00
parent 6b4c9bb531
commit 69c0388954
742 changed files with 608981 additions and 6 deletions

77
webui/node_modules/vue/dist/vue.cjs.js generated vendored Normal file
View file

@ -0,0 +1,77 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var compilerDom = require('@vue/compiler-dom');
var runtimeDom = require('@vue/runtime-dom');
var shared = require('@vue/shared');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
n[k] = e[k];
});
}
n['default'] = e;
return Object.freeze(n);
}
var runtimeDom__namespace = /*#__PURE__*/_interopNamespace(runtimeDom);
// This entry is the "full-build" that includes both the runtime
const compileCache = Object.create(null);
function compileToFunction(template, options) {
if (!shared.isString(template)) {
if (template.nodeType) {
template = template.innerHTML;
}
else {
runtimeDom.warn(`invalid template option: `, template);
return shared.NOOP;
}
}
const key = template;
const cached = compileCache[key];
if (cached) {
return cached;
}
if (template[0] === '#') {
const el = document.querySelector(template);
if (!el) {
runtimeDom.warn(`Template element not found or is empty: ${template}`);
}
// __UNSAFE__
// Reason: potential execution of JS expressions in in-DOM template.
// The user must make sure the in-DOM template is trusted. If it's rendered
// by the server, the template should not contain any user data.
template = el ? el.innerHTML : ``;
}
const { code } = compilerDom.compile(template, shared.extend({
hoistStatic: true,
onError: onError ,
onWarn: e => onError(e, true)
}, options));
function onError(err, asWarning = false) {
const message = asWarning
? err.message
: `Template compilation error: ${err.message}`;
const codeFrame = err.loc &&
shared.generateCodeFrame(template, err.loc.start.offset, err.loc.end.offset);
runtimeDom.warn(codeFrame ? `${message}\n${codeFrame}` : message);
}
// The wildcard import results in a huge object with every export
// with keys that cannot be mangled, and can be quite heavy size-wise.
// In the global build we know `Vue` is available globally so we can avoid
// the wildcard object.
const render = (new Function('Vue', code)(runtimeDom__namespace));
render._rc = true;
return (compileCache[key] = render);
}
runtimeDom.registerRuntimeCompiler(compileToFunction);
Object.keys(runtimeDom).forEach(function (k) {
if (k !== 'default') exports[k] = runtimeDom[k];
});
exports.compile = compileToFunction;

65
webui/node_modules/vue/dist/vue.cjs.prod.js generated vendored Normal file
View file

@ -0,0 +1,65 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var compilerDom = require('@vue/compiler-dom');
var runtimeDom = require('@vue/runtime-dom');
var shared = require('@vue/shared');
function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
n[k] = e[k];
});
}
n['default'] = e;
return Object.freeze(n);
}
var runtimeDom__namespace = /*#__PURE__*/_interopNamespace(runtimeDom);
// This entry is the "full-build" that includes both the runtime
const compileCache = Object.create(null);
function compileToFunction(template, options) {
if (!shared.isString(template)) {
if (template.nodeType) {
template = template.innerHTML;
}
else {
return shared.NOOP;
}
}
const key = template;
const cached = compileCache[key];
if (cached) {
return cached;
}
if (template[0] === '#') {
const el = document.querySelector(template);
// __UNSAFE__
// Reason: potential execution of JS expressions in in-DOM template.
// The user must make sure the in-DOM template is trusted. If it's rendered
// by the server, the template should not contain any user data.
template = el ? el.innerHTML : ``;
}
const { code } = compilerDom.compile(template, shared.extend({
hoistStatic: true,
onError: undefined,
onWarn: shared.NOOP
}, options));
// The wildcard import results in a huge object with every export
// with keys that cannot be mangled, and can be quite heavy size-wise.
// In the global build we know `Vue` is available globally so we can avoid
// the wildcard object.
const render = (new Function('Vue', code)(runtimeDom__namespace));
render._rc = true;
return (compileCache[key] = render);
}
runtimeDom.registerRuntimeCompiler(compileToFunction);
Object.keys(runtimeDom).forEach(function (k) {
if (k !== 'default') exports[k] = runtimeDom[k];
});
exports.compile = compileToFunction;

9
webui/node_modules/vue/dist/vue.d.ts generated vendored Normal file
View file

@ -0,0 +1,9 @@
import { CompilerOptions } from '@vue/compiler-dom';
import { RenderFunction } from '@vue/runtime-dom';
export declare function compile(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
export * from "@vue/runtime-dom";
export { }

15948
webui/node_modules/vue/dist/vue.esm-browser.js generated vendored Normal file

File diff suppressed because it is too large Load diff

1
webui/node_modules/vue/dist/vue.esm-browser.prod.js generated vendored Normal file

File diff suppressed because one or more lines are too long

67
webui/node_modules/vue/dist/vue.esm-bundler.js generated vendored Normal file
View file

@ -0,0 +1,67 @@
import * as runtimeDom from '@vue/runtime-dom';
import { initCustomFormatter, warn, registerRuntimeCompiler } from '@vue/runtime-dom';
export * from '@vue/runtime-dom';
import { compile } from '@vue/compiler-dom';
import { isString, NOOP, extend, generateCodeFrame } from '@vue/shared';
function initDev() {
{
initCustomFormatter();
}
}
// This entry is the "full-build" that includes both the runtime
if ((process.env.NODE_ENV !== 'production')) {
initDev();
}
const compileCache = Object.create(null);
function compileToFunction(template, options) {
if (!isString(template)) {
if (template.nodeType) {
template = template.innerHTML;
}
else {
(process.env.NODE_ENV !== 'production') && warn(`invalid template option: `, template);
return NOOP;
}
}
const key = template;
const cached = compileCache[key];
if (cached) {
return cached;
}
if (template[0] === '#') {
const el = document.querySelector(template);
if ((process.env.NODE_ENV !== 'production') && !el) {
warn(`Template element not found or is empty: ${template}`);
}
// __UNSAFE__
// Reason: potential execution of JS expressions in in-DOM template.
// The user must make sure the in-DOM template is trusted. If it's rendered
// by the server, the template should not contain any user data.
template = el ? el.innerHTML : ``;
}
const { code } = compile(template, extend({
hoistStatic: true,
onError: (process.env.NODE_ENV !== 'production') ? onError : undefined,
onWarn: (process.env.NODE_ENV !== 'production') ? e => onError(e, true) : NOOP
}, options));
function onError(err, asWarning = false) {
const message = asWarning
? err.message
: `Template compilation error: ${err.message}`;
const codeFrame = err.loc &&
generateCodeFrame(template, err.loc.start.offset, err.loc.end.offset);
warn(codeFrame ? `${message}\n${codeFrame}` : message);
}
// The wildcard import results in a huge object with every export
// with keys that cannot be mangled, and can be quite heavy size-wise.
// In the global build we know `Vue` is available globally so we can avoid
// the wildcard object.
const render = (new Function('Vue', code)(runtimeDom));
render._rc = true;
return (compileCache[key] = render);
}
registerRuntimeCompiler(compileToFunction);
export { compileToFunction as compile };

15934
webui/node_modules/vue/dist/vue.global.js generated vendored Normal file

File diff suppressed because it is too large Load diff

1
webui/node_modules/vue/dist/vue.global.prod.js generated vendored Normal file

File diff suppressed because one or more lines are too long

10866
webui/node_modules/vue/dist/vue.runtime.esm-browser.js generated vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

22
webui/node_modules/vue/dist/vue.runtime.esm-bundler.js generated vendored Normal file
View file

@ -0,0 +1,22 @@
import { initCustomFormatter, warn } from '@vue/runtime-dom';
export * from '@vue/runtime-dom';
function initDev() {
{
initCustomFormatter();
}
}
// This entry exports the runtime only, and is built as
if ((process.env.NODE_ENV !== 'production')) {
initDev();
}
const compile = () => {
if ((process.env.NODE_ENV !== 'production')) {
warn(`Runtime compilation is not supported in this build of Vue.` +
(` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
) /* should not happen */);
}
};
export { compile };

11000
webui/node_modules/vue/dist/vue.runtime.global.js generated vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long