1.2.13
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 6s

This commit is contained in:
2026-04-16 15:20:37 +02:00
parent 2b86fec0ee
commit 8b45c84e67
5 changed files with 113 additions and 33 deletions

30
dist/sigpro.esm.js vendored
View File

@@ -544,14 +544,34 @@ var Mount = (comp, target) => {
MOUNTED_NODES.set(t, inst); MOUNTED_NODES.set(t, inst);
return inst; return inst;
}; };
var SigPro = Object.freeze({ $, $$, Watch, Tag, Render, If, For, Router, Mount, onMount, onUnmount, Anim, Batch }); var SigPro = Object.freeze({
if (typeof window !== "undefined") { $,
Object.assign(window, SigPro); $$,
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => window[t[0].toUpperCase() + t.slice(1)] = (p, c) => SigPro.Tag(t, p, c)); Watch,
} Tag,
Render,
If,
For,
Router,
Mount,
onMount,
onUnmount,
Anim,
Batch
});
var initDX = () => {
if (typeof window !== "undefined") {
Object.assign(window, SigPro);
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => {
const name = t[0].toUpperCase() + t.slice(1);
window[name] = (p, c) => Tag(t, p, c);
});
}
};
export { export {
onUnmount, onUnmount,
onMount, onMount,
initDX,
Watch, Watch,
Tag, Tag,
Router, Router,

File diff suppressed because one or more lines are too long

56
dist/sigpro.js vendored
View File

@@ -3,27 +3,37 @@
var __getOwnPropNames = Object.getOwnPropertyNames; var __getOwnPropNames = Object.getOwnPropertyNames;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __hasOwnProp = Object.prototype.hasOwnProperty; var __hasOwnProp = Object.prototype.hasOwnProperty;
var __moduleCache = /* @__PURE__ */ new WeakMap; function __accessProp(key) {
return this[key];
}
var __toCommonJS = (from) => { var __toCommonJS = (from) => {
var entry = __moduleCache.get(from), desc; var entry = (__moduleCache ??= new WeakMap).get(from), desc;
if (entry) if (entry)
return entry; return entry;
entry = __defProp({}, "__esModule", { value: true }); entry = __defProp({}, "__esModule", { value: true });
if (from && typeof from === "object" || typeof from === "function") if (from && typeof from === "object" || typeof from === "function") {
__getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, { for (var key of __getOwnPropNames(from))
get: () => from[key], if (!__hasOwnProp.call(entry, key))
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable __defProp(entry, key, {
})); get: __accessProp.bind(from, key),
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
__moduleCache.set(from, entry); __moduleCache.set(from, entry);
return entry; return entry;
}; };
var __moduleCache;
var __returnValue = (v) => v;
function __exportSetter(name, newValue) {
this[name] = __returnValue.bind(null, newValue);
}
var __export = (target, all) => { var __export = (target, all) => {
for (var name in all) for (var name in all)
__defProp(target, name, { __defProp(target, name, {
get: all[name], get: all[name],
enumerable: true, enumerable: true,
configurable: true, configurable: true,
set: (newValue) => all[name] = () => newValue set: __exportSetter.bind(all, name)
}); });
}; };
@@ -32,6 +42,7 @@
__export(exports_sigpro, { __export(exports_sigpro, {
onUnmount: () => onUnmount, onUnmount: () => onUnmount,
onMount: () => onMount, onMount: () => onMount,
initDX: () => initDX,
Watch: () => Watch, Watch: () => Watch,
Tag: () => Tag, Tag: () => Tag,
Router: () => Router, Router: () => Router,
@@ -591,9 +602,28 @@
MOUNTED_NODES.set(t, inst); MOUNTED_NODES.set(t, inst);
return inst; return inst;
}; };
var SigPro = Object.freeze({ $, $$, Watch, Tag, Render, If, For, Router, Mount, onMount, onUnmount, Anim, Batch }); var SigPro = Object.freeze({
if (typeof window !== "undefined") { $,
Object.assign(window, SigPro); $$,
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => window[t[0].toUpperCase() + t.slice(1)] = (p, c) => SigPro.Tag(t, p, c)); Watch,
} Tag,
Render,
If,
For,
Router,
Mount,
onMount,
onUnmount,
Anim,
Batch
});
var initDX = () => {
if (typeof window !== "undefined") {
Object.assign(window, SigPro);
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => {
const name = t[0].toUpperCase() + t.slice(1);
window[name] = (p, c) => Tag(t, p, c);
});
}
};
})(); })();

2
dist/sigpro.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -3,27 +3,37 @@
var __getOwnPropNames = Object.getOwnPropertyNames; var __getOwnPropNames = Object.getOwnPropertyNames;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __hasOwnProp = Object.prototype.hasOwnProperty; var __hasOwnProp = Object.prototype.hasOwnProperty;
var __moduleCache = /* @__PURE__ */ new WeakMap; function __accessProp(key) {
return this[key];
}
var __toCommonJS = (from) => { var __toCommonJS = (from) => {
var entry = __moduleCache.get(from), desc; var entry = (__moduleCache ??= new WeakMap).get(from), desc;
if (entry) if (entry)
return entry; return entry;
entry = __defProp({}, "__esModule", { value: true }); entry = __defProp({}, "__esModule", { value: true });
if (from && typeof from === "object" || typeof from === "function") if (from && typeof from === "object" || typeof from === "function") {
__getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, { for (var key of __getOwnPropNames(from))
get: () => from[key], if (!__hasOwnProp.call(entry, key))
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable __defProp(entry, key, {
})); get: __accessProp.bind(from, key),
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
});
}
__moduleCache.set(from, entry); __moduleCache.set(from, entry);
return entry; return entry;
}; };
var __moduleCache;
var __returnValue = (v) => v;
function __exportSetter(name, newValue) {
this[name] = __returnValue.bind(null, newValue);
}
var __export = (target, all) => { var __export = (target, all) => {
for (var name in all) for (var name in all)
__defProp(target, name, { __defProp(target, name, {
get: all[name], get: all[name],
enumerable: true, enumerable: true,
configurable: true, configurable: true,
set: (newValue) => all[name] = () => newValue set: __exportSetter.bind(all, name)
}); });
}; };
@@ -32,6 +42,7 @@
__export(exports_sigpro, { __export(exports_sigpro, {
onUnmount: () => onUnmount, onUnmount: () => onUnmount,
onMount: () => onMount, onMount: () => onMount,
initDX: () => initDX,
Watch: () => Watch, Watch: () => Watch,
Tag: () => Tag, Tag: () => Tag,
Router: () => Router, Router: () => Router,
@@ -591,9 +602,28 @@
MOUNTED_NODES.set(t, inst); MOUNTED_NODES.set(t, inst);
return inst; return inst;
}; };
var SigPro = Object.freeze({ $, $$, Watch, Tag, Render, If, For, Router, Mount, onMount, onUnmount, Anim, Batch }); var SigPro = Object.freeze({
if (typeof window !== "undefined") { $,
Object.assign(window, SigPro); $$,
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => window[t[0].toUpperCase() + t.slice(1)] = (p, c) => SigPro.Tag(t, p, c)); Watch,
} Tag,
Render,
If,
For,
Router,
Mount,
onMount,
onUnmount,
Anim,
Batch
});
var initDX = () => {
if (typeof window !== "undefined") {
Object.assign(window, SigPro);
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => {
const name = t[0].toUpperCase() + t.slice(1);
window[name] = (p, c) => Tag(t, p, c);
});
}
};
})(); })();