@forsakringskassan/docs-generator 2.35.1 → 2.35.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{create-markdown-renderer-DFcfpmL3.mjs → create-markdown-renderer-gWhxglZr.mjs} +2 -2
- package/dist/{create-markdown-renderer-DFcfpmL3.mjs.map → create-markdown-renderer-gWhxglZr.mjs.map} +1 -1
- package/dist/index.mjs +33 -3
- package/dist/index.mjs.map +1 -1
- package/dist/markdown.mjs +2 -2
- package/dist/processors/motd.mjs +1 -1
- package/dist/processors/selectable-version.mjs +2 -2
- package/dist/runtime.mjs +258 -77
- package/dist/style/core.css +9 -9
- package/dist/style/index.css +11 -9
- package/dist/style/site.css +2 -0
- package/dist/style/theme/fkui.css +3 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/{vendor-DMxJoCDS.mjs → vendor-BtGCZQy4.mjs} +4 -1
- package/dist/vendor-BtGCZQy4.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/vendor-DMxJoCDS.mjs.map +0 -1
package/dist/markdown.mjs
CHANGED
|
@@ -2,8 +2,8 @@ import { createRequire as $createRequire } from "node:module";
|
|
|
2
2
|
|
|
3
3
|
const require = $createRequire(import.meta.url);
|
|
4
4
|
|
|
5
|
-
export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-
|
|
6
|
-
import './vendor-
|
|
5
|
+
export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-gWhxglZr.mjs';
|
|
6
|
+
import './vendor-BtGCZQy4.mjs';
|
|
7
7
|
import 'node:url';
|
|
8
8
|
import 'node:path';
|
|
9
9
|
import 'fs';
|
package/dist/processors/motd.mjs
CHANGED
|
@@ -1275,7 +1275,7 @@ var require_range = __commonJS({
|
|
|
1275
1275
|
var require_comparator = __commonJS({
|
|
1276
1276
|
"node_modules/semver/classes/comparator.js"(exports, module) {
|
|
1277
1277
|
"use strict";
|
|
1278
|
-
var ANY = Symbol("SemVer ANY");
|
|
1278
|
+
var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
|
|
1279
1279
|
var Comparator = class _Comparator {
|
|
1280
1280
|
static get ANY() {
|
|
1281
1281
|
return ANY;
|
|
@@ -1958,7 +1958,7 @@ var require_semver2 = __commonJS({
|
|
|
1958
1958
|
var import_semver = __toESM(require_semver2(), 1);
|
|
1959
1959
|
|
|
1960
1960
|
// src/runtime/motd/motd-symbol.ts
|
|
1961
|
-
var motdSymbol = Symbol.for("motd");
|
|
1961
|
+
var motdSymbol = /* @__PURE__ */ Symbol.for("motd");
|
|
1962
1962
|
|
|
1963
1963
|
// src/runtime/motd/motd-proxy.ts
|
|
1964
1964
|
var motdProxy = {
|
package/dist/runtime.mjs
CHANGED
|
@@ -32,13 +32,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
mod
|
|
33
33
|
));
|
|
34
34
|
|
|
35
|
-
// node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
35
|
+
// node_modules/mermaid/dist/chunks/mermaid.core/chunk-XAJISQIX.mjs
|
|
36
36
|
var package_default;
|
|
37
|
-
var
|
|
38
|
-
"node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
37
|
+
var init_chunk_XAJISQIX = __esm({
|
|
38
|
+
"node_modules/mermaid/dist/chunks/mermaid.core/chunk-XAJISQIX.mjs"() {
|
|
39
39
|
package_default = {
|
|
40
40
|
name: "mermaid",
|
|
41
|
-
version: "11.12.
|
|
41
|
+
version: "11.12.2",
|
|
42
42
|
description: "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",
|
|
43
43
|
type: "module",
|
|
44
44
|
module: "./dist/mermaid.core.mjs",
|
|
@@ -24510,7 +24510,7 @@ var init_ordinal = __esm({
|
|
|
24510
24510
|
"node_modules/d3-scale/src/ordinal.js"() {
|
|
24511
24511
|
init_src2();
|
|
24512
24512
|
init_init();
|
|
24513
|
-
implicit = Symbol("implicit");
|
|
24513
|
+
implicit = /* @__PURE__ */ Symbol("implicit");
|
|
24514
24514
|
}
|
|
24515
24515
|
});
|
|
24516
24516
|
|
|
@@ -101442,7 +101442,7 @@ var init_langium_parser = __esm({
|
|
|
101442
101442
|
init_grammar_utils();
|
|
101443
101443
|
init_ast_utils();
|
|
101444
101444
|
init_cst_node_builder();
|
|
101445
|
-
DatatypeSymbol = Symbol("Datatype");
|
|
101445
|
+
DatatypeSymbol = /* @__PURE__ */ Symbol("Datatype");
|
|
101446
101446
|
ruleSuffix = "\u200B";
|
|
101447
101447
|
withRuleSuffix = (name) => name.endsWith(ruleSuffix) ? name : name + ruleSuffix;
|
|
101448
101448
|
AbstractLangiumParser = class {
|
|
@@ -102786,7 +102786,7 @@ var init_promise_utils = __esm({
|
|
|
102786
102786
|
init_cancellation();
|
|
102787
102787
|
lastTick = 0;
|
|
102788
102788
|
globalInterruptionPeriod = 10;
|
|
102789
|
-
OperationCancelled = Symbol("OperationCancelled");
|
|
102789
|
+
OperationCancelled = /* @__PURE__ */ Symbol("OperationCancelled");
|
|
102790
102790
|
Deferred = class {
|
|
102791
102791
|
constructor() {
|
|
102792
102792
|
this.promise = new Promise((resolve2, reject3) => {
|
|
@@ -103632,7 +103632,7 @@ var init_linker = __esm({
|
|
|
103632
103632
|
init_ast_utils();
|
|
103633
103633
|
init_promise_utils();
|
|
103634
103634
|
init_documents();
|
|
103635
|
-
ref_resolving = Symbol("ref_resolving");
|
|
103635
|
+
ref_resolving = /* @__PURE__ */ Symbol("ref_resolving");
|
|
103636
103636
|
DefaultLinker = class {
|
|
103637
103637
|
constructor(services) {
|
|
103638
103638
|
this.reflection = services.shared.AstReflection;
|
|
@@ -107103,8 +107103,8 @@ var init_dependency_injection = __esm({
|
|
|
107103
107103
|
(function(Module2) {
|
|
107104
107104
|
Module2.merge = (m1, m22) => _merge(_merge({}, m1), m22);
|
|
107105
107105
|
})(Module || (Module = {}));
|
|
107106
|
-
isProxy = Symbol("isProxy");
|
|
107107
|
-
__requested__ = Symbol();
|
|
107106
|
+
isProxy = /* @__PURE__ */ Symbol("isProxy");
|
|
107107
|
+
__requested__ = /* @__PURE__ */ Symbol();
|
|
107108
107108
|
}
|
|
107109
107109
|
});
|
|
107110
107110
|
|
|
@@ -110790,9 +110790,143 @@ var require_advancedFormat = __commonJS({
|
|
|
110790
110790
|
}
|
|
110791
110791
|
});
|
|
110792
110792
|
|
|
110793
|
-
// node_modules/
|
|
110794
|
-
var
|
|
110795
|
-
|
|
110793
|
+
// node_modules/dayjs/plugin/duration.js
|
|
110794
|
+
var require_duration = __commonJS({
|
|
110795
|
+
"node_modules/dayjs/plugin/duration.js"(exports2, module2) {
|
|
110796
|
+
!(function(t5, s2) {
|
|
110797
|
+
"object" == typeof exports2 && "undefined" != typeof module2 ? module2.exports = s2() : "function" == typeof define && define.amd ? define(s2) : (t5 = "undefined" != typeof globalThis ? globalThis : t5 || self).dayjs_plugin_duration = s2();
|
|
110798
|
+
})(exports2, (function() {
|
|
110799
|
+
"use strict";
|
|
110800
|
+
var t5, s2, n3 = 1e3, i3 = 6e4, e6 = 36e5, r3 = 864e5, o4 = /\[([^\]]+)]|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, u2 = 31536e6, d3 = 2628e6, a2 = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, h3 = { years: u2, months: d3, days: r3, hours: e6, minutes: i3, seconds: n3, milliseconds: 1, weeks: 6048e5 }, c3 = function(t6) {
|
|
110801
|
+
return t6 instanceof g2;
|
|
110802
|
+
}, f2 = function(t6, s3, n4) {
|
|
110803
|
+
return new g2(t6, n4, s3.$l);
|
|
110804
|
+
}, m3 = function(t6) {
|
|
110805
|
+
return s2.p(t6) + "s";
|
|
110806
|
+
}, l5 = function(t6) {
|
|
110807
|
+
return t6 < 0;
|
|
110808
|
+
}, $4 = function(t6) {
|
|
110809
|
+
return l5(t6) ? Math.ceil(t6) : Math.floor(t6);
|
|
110810
|
+
}, y6 = function(t6) {
|
|
110811
|
+
return Math.abs(t6);
|
|
110812
|
+
}, v3 = function(t6, s3) {
|
|
110813
|
+
return t6 ? l5(t6) ? { negative: true, format: "" + y6(t6) + s3 } : { negative: false, format: "" + t6 + s3 } : { negative: false, format: "" };
|
|
110814
|
+
}, g2 = (function() {
|
|
110815
|
+
function l6(t6, s3, n4) {
|
|
110816
|
+
var i4 = this;
|
|
110817
|
+
if (this.$d = {}, this.$l = n4, void 0 === t6 && (this.$ms = 0, this.parseFromMilliseconds()), s3) return f2(t6 * h3[m3(s3)], this);
|
|
110818
|
+
if ("number" == typeof t6) return this.$ms = t6, this.parseFromMilliseconds(), this;
|
|
110819
|
+
if ("object" == typeof t6) return Object.keys(t6).forEach((function(s4) {
|
|
110820
|
+
i4.$d[m3(s4)] = t6[s4];
|
|
110821
|
+
})), this.calMilliseconds(), this;
|
|
110822
|
+
if ("string" == typeof t6) {
|
|
110823
|
+
var e7 = t6.match(a2);
|
|
110824
|
+
if (e7) {
|
|
110825
|
+
var r4 = e7.slice(2).map((function(t7) {
|
|
110826
|
+
return null != t7 ? Number(t7) : 0;
|
|
110827
|
+
}));
|
|
110828
|
+
return this.$d.years = r4[0], this.$d.months = r4[1], this.$d.weeks = r4[2], this.$d.days = r4[3], this.$d.hours = r4[4], this.$d.minutes = r4[5], this.$d.seconds = r4[6], this.calMilliseconds(), this;
|
|
110829
|
+
}
|
|
110830
|
+
}
|
|
110831
|
+
return this;
|
|
110832
|
+
}
|
|
110833
|
+
var y7 = l6.prototype;
|
|
110834
|
+
return y7.calMilliseconds = function() {
|
|
110835
|
+
var t6 = this;
|
|
110836
|
+
this.$ms = Object.keys(this.$d).reduce((function(s3, n4) {
|
|
110837
|
+
return s3 + (t6.$d[n4] || 0) * h3[n4];
|
|
110838
|
+
}), 0);
|
|
110839
|
+
}, y7.parseFromMilliseconds = function() {
|
|
110840
|
+
var t6 = this.$ms;
|
|
110841
|
+
this.$d.years = $4(t6 / u2), t6 %= u2, this.$d.months = $4(t6 / d3), t6 %= d3, this.$d.days = $4(t6 / r3), t6 %= r3, this.$d.hours = $4(t6 / e6), t6 %= e6, this.$d.minutes = $4(t6 / i3), t6 %= i3, this.$d.seconds = $4(t6 / n3), t6 %= n3, this.$d.milliseconds = t6;
|
|
110842
|
+
}, y7.toISOString = function() {
|
|
110843
|
+
var t6 = v3(this.$d.years, "Y"), s3 = v3(this.$d.months, "M"), n4 = +this.$d.days || 0;
|
|
110844
|
+
this.$d.weeks && (n4 += 7 * this.$d.weeks);
|
|
110845
|
+
var i4 = v3(n4, "D"), e7 = v3(this.$d.hours, "H"), r4 = v3(this.$d.minutes, "M"), o5 = this.$d.seconds || 0;
|
|
110846
|
+
this.$d.milliseconds && (o5 += this.$d.milliseconds / 1e3, o5 = Math.round(1e3 * o5) / 1e3);
|
|
110847
|
+
var u3 = v3(o5, "S"), d4 = t6.negative || s3.negative || i4.negative || e7.negative || r4.negative || u3.negative, a3 = e7.format || r4.format || u3.format ? "T" : "", h4 = (d4 ? "-" : "") + "P" + t6.format + s3.format + i4.format + a3 + e7.format + r4.format + u3.format;
|
|
110848
|
+
return "P" === h4 || "-P" === h4 ? "P0D" : h4;
|
|
110849
|
+
}, y7.toJSON = function() {
|
|
110850
|
+
return this.toISOString();
|
|
110851
|
+
}, y7.format = function(t6) {
|
|
110852
|
+
var n4 = t6 || "YYYY-MM-DDTHH:mm:ss", i4 = { Y: this.$d.years, YY: s2.s(this.$d.years, 2, "0"), YYYY: s2.s(this.$d.years, 4, "0"), M: this.$d.months, MM: s2.s(this.$d.months, 2, "0"), D: this.$d.days, DD: s2.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: s2.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: s2.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: s2.s(this.$d.seconds, 2, "0"), SSS: s2.s(this.$d.milliseconds, 3, "0") };
|
|
110853
|
+
return n4.replace(o4, (function(t7, s3) {
|
|
110854
|
+
return s3 || String(i4[t7]);
|
|
110855
|
+
}));
|
|
110856
|
+
}, y7.as = function(t6) {
|
|
110857
|
+
return this.$ms / h3[m3(t6)];
|
|
110858
|
+
}, y7.get = function(t6) {
|
|
110859
|
+
var s3 = this.$ms, n4 = m3(t6);
|
|
110860
|
+
return "milliseconds" === n4 ? s3 %= 1e3 : s3 = "weeks" === n4 ? $4(s3 / h3[n4]) : this.$d[n4], s3 || 0;
|
|
110861
|
+
}, y7.add = function(t6, s3, n4) {
|
|
110862
|
+
var i4;
|
|
110863
|
+
return i4 = s3 ? t6 * h3[m3(s3)] : c3(t6) ? t6.$ms : f2(t6, this).$ms, f2(this.$ms + i4 * (n4 ? -1 : 1), this);
|
|
110864
|
+
}, y7.subtract = function(t6, s3) {
|
|
110865
|
+
return this.add(t6, s3, true);
|
|
110866
|
+
}, y7.locale = function(t6) {
|
|
110867
|
+
var s3 = this.clone();
|
|
110868
|
+
return s3.$l = t6, s3;
|
|
110869
|
+
}, y7.clone = function() {
|
|
110870
|
+
return f2(this.$ms, this);
|
|
110871
|
+
}, y7.humanize = function(s3) {
|
|
110872
|
+
return t5().add(this.$ms, "ms").locale(this.$l).fromNow(!s3);
|
|
110873
|
+
}, y7.valueOf = function() {
|
|
110874
|
+
return this.asMilliseconds();
|
|
110875
|
+
}, y7.milliseconds = function() {
|
|
110876
|
+
return this.get("milliseconds");
|
|
110877
|
+
}, y7.asMilliseconds = function() {
|
|
110878
|
+
return this.as("milliseconds");
|
|
110879
|
+
}, y7.seconds = function() {
|
|
110880
|
+
return this.get("seconds");
|
|
110881
|
+
}, y7.asSeconds = function() {
|
|
110882
|
+
return this.as("seconds");
|
|
110883
|
+
}, y7.minutes = function() {
|
|
110884
|
+
return this.get("minutes");
|
|
110885
|
+
}, y7.asMinutes = function() {
|
|
110886
|
+
return this.as("minutes");
|
|
110887
|
+
}, y7.hours = function() {
|
|
110888
|
+
return this.get("hours");
|
|
110889
|
+
}, y7.asHours = function() {
|
|
110890
|
+
return this.as("hours");
|
|
110891
|
+
}, y7.days = function() {
|
|
110892
|
+
return this.get("days");
|
|
110893
|
+
}, y7.asDays = function() {
|
|
110894
|
+
return this.as("days");
|
|
110895
|
+
}, y7.weeks = function() {
|
|
110896
|
+
return this.get("weeks");
|
|
110897
|
+
}, y7.asWeeks = function() {
|
|
110898
|
+
return this.as("weeks");
|
|
110899
|
+
}, y7.months = function() {
|
|
110900
|
+
return this.get("months");
|
|
110901
|
+
}, y7.asMonths = function() {
|
|
110902
|
+
return this.as("months");
|
|
110903
|
+
}, y7.years = function() {
|
|
110904
|
+
return this.get("years");
|
|
110905
|
+
}, y7.asYears = function() {
|
|
110906
|
+
return this.as("years");
|
|
110907
|
+
}, l6;
|
|
110908
|
+
})(), p3 = function(t6, s3, n4) {
|
|
110909
|
+
return t6.add(s3.years() * n4, "y").add(s3.months() * n4, "M").add(s3.days() * n4, "d").add(s3.hours() * n4, "h").add(s3.minutes() * n4, "m").add(s3.seconds() * n4, "s").add(s3.milliseconds() * n4, "ms");
|
|
110910
|
+
};
|
|
110911
|
+
return function(n4, i4, e7) {
|
|
110912
|
+
t5 = e7, s2 = e7().$utils(), e7.duration = function(t6, s3) {
|
|
110913
|
+
var n5 = e7.locale();
|
|
110914
|
+
return f2(t6, { $l: n5 }, s3);
|
|
110915
|
+
}, e7.isDuration = c3;
|
|
110916
|
+
var r4 = i4.prototype.add, o5 = i4.prototype.subtract;
|
|
110917
|
+
i4.prototype.add = function(t6, s3) {
|
|
110918
|
+
return c3(t6) ? p3(this, t6, 1) : r4.bind(this)(t6, s3);
|
|
110919
|
+
}, i4.prototype.subtract = function(t6, s3) {
|
|
110920
|
+
return c3(t6) ? p3(this, t6, -1) : o5.bind(this)(t6, s3);
|
|
110921
|
+
};
|
|
110922
|
+
};
|
|
110923
|
+
}));
|
|
110924
|
+
}
|
|
110925
|
+
});
|
|
110926
|
+
|
|
110927
|
+
// node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs
|
|
110928
|
+
var ganttDiagram_JELNMOA3_exports = {};
|
|
110929
|
+
__export(ganttDiagram_JELNMOA3_exports, {
|
|
110796
110930
|
diagram: () => diagram5
|
|
110797
110931
|
});
|
|
110798
110932
|
function getTaskTags(data5, task, tags2) {
|
|
@@ -110810,9 +110944,9 @@ function getTaskTags(data5, task, tags2) {
|
|
|
110810
110944
|
});
|
|
110811
110945
|
}
|
|
110812
110946
|
}
|
|
110813
|
-
var import_sanitize_url4, import_dayjs2, import_isoWeek, import_customParseFormat, import_advancedFormat, import_dayjs3, parser5, gantt_default, WEEKEND_START_DAY, dateFormat, axisFormat, tickInterval, todayMarker, includes2, excludes, links, sections, tasks, currentSection, displayMode, tags, funs, inclusiveEndDates, topAxis, weekday, weekend, lastOrder, clear24, setAxisFormat, getAxisFormat, setTickInterval, getTickInterval, setTodayMarker, getTodayMarker, setDateFormat, enableInclusiveEndDates, endDatesAreInclusive, enableTopAxis, topAxisEnabled, setDisplayMode, getDisplayMode, getDateFormat, setIncludes, getIncludes, setExcludes, getExcludes, getLinks, addSection, getSections, getTasks, isInvalidDate, setWeekday, getWeekday, setWeekend, checkTaskDates, fixTaskDates, getStartDate, parseDuration, getEndDate, taskCnt, parseId, compileData, parseData, lastTask, lastTaskID, rawTasks, taskDb, addTask, findTaskById, addTaskOrg, compileTasks, setLink, setClass, setClickFun, pushFun, setClickEvent, bindFunctions, ganttDb_default, setConf2, mapWeekdayToTimeFunction, getMaxIntersections, w3, draw5, ganttRenderer_default, getStyles6, styles_default6, diagram5;
|
|
110814
|
-
var
|
|
110815
|
-
"node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-
|
|
110947
|
+
var import_sanitize_url4, import_dayjs2, import_isoWeek, import_customParseFormat, import_advancedFormat, import_dayjs3, import_duration8, parser5, gantt_default, WEEKEND_START_DAY, dateFormat, axisFormat, tickInterval, todayMarker, includes2, excludes, links, sections, tasks, currentSection, displayMode, tags, funs, inclusiveEndDates, topAxis, weekday, weekend, lastOrder, clear24, setAxisFormat, getAxisFormat, setTickInterval, getTickInterval, setTodayMarker, getTodayMarker, setDateFormat, enableInclusiveEndDates, endDatesAreInclusive, enableTopAxis, topAxisEnabled, setDisplayMode, getDisplayMode, getDateFormat, setIncludes, getIncludes, setExcludes, getExcludes, getLinks, addSection, getSections, getTasks, isInvalidDate, setWeekday, getWeekday, setWeekend, checkTaskDates, fixTaskDates, getStartDate, parseDuration, getEndDate, taskCnt, parseId, compileData, parseData, lastTask, lastTaskID, rawTasks, taskDb, addTask, findTaskById, addTaskOrg, compileTasks, setLink, setClass, setClickFun, pushFun, setClickEvent, bindFunctions, ganttDb_default, setConf2, mapWeekdayToTimeFunction, getMaxIntersections, w3, MAX_TICK_COUNT, draw5, ganttRenderer_default, getStyles6, styles_default6, diagram5;
|
|
110948
|
+
var init_ganttDiagram_JELNMOA3 = __esm({
|
|
110949
|
+
"node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs"() {
|
|
110816
110950
|
init_chunk_S3R3BYOJ();
|
|
110817
110951
|
init_chunk_ABZYJK2D();
|
|
110818
110952
|
init_chunk_AGHRB4JF();
|
|
@@ -110822,6 +110956,7 @@ var init_ganttDiagram_LVOFAZNH = __esm({
|
|
|
110822
110956
|
import_customParseFormat = __toESM(require_customParseFormat(), 1);
|
|
110823
110957
|
import_advancedFormat = __toESM(require_advancedFormat(), 1);
|
|
110824
110958
|
import_dayjs3 = __toESM(require_dayjs_min(), 1);
|
|
110959
|
+
import_duration8 = __toESM(require_duration(), 1);
|
|
110825
110960
|
init_src32();
|
|
110826
110961
|
parser5 = (function() {
|
|
110827
110962
|
var o4 = /* @__PURE__ */ __name(function(k2, v3, o22, l5) {
|
|
@@ -111786,7 +111921,11 @@ var init_ganttDiagram_LVOFAZNH = __esm({
|
|
|
111786
111921
|
}, "fixTaskDates");
|
|
111787
111922
|
getStartDate = /* @__PURE__ */ __name(function(prevTime, dateFormat2, str2) {
|
|
111788
111923
|
str2 = str2.trim();
|
|
111789
|
-
|
|
111924
|
+
const isTimestampFormat = /* @__PURE__ */ __name((format3) => {
|
|
111925
|
+
const trimmedFormat = format3.trim();
|
|
111926
|
+
return trimmedFormat === "x" || trimmedFormat === "X";
|
|
111927
|
+
}, "isTimestampFormat");
|
|
111928
|
+
if (isTimestampFormat(dateFormat2) && /^\d+$/.test(str2)) {
|
|
111790
111929
|
return new Date(Number(str2));
|
|
111791
111930
|
}
|
|
111792
111931
|
const afterRePattern = /^after\s+(?<ids>[\d\w- ]+)/;
|
|
@@ -112185,6 +112324,7 @@ var init_ganttDiagram_LVOFAZNH = __esm({
|
|
|
112185
112324
|
setWeekend
|
|
112186
112325
|
};
|
|
112187
112326
|
__name(getTaskTags, "getTaskTags");
|
|
112327
|
+
import_dayjs3.default.extend(import_duration8.default);
|
|
112188
112328
|
setConf2 = /* @__PURE__ */ __name(function() {
|
|
112189
112329
|
log.debug("Something is calling, setConf, remove the call");
|
|
112190
112330
|
}, "setConf");
|
|
@@ -112215,6 +112355,7 @@ var init_ganttDiagram_LVOFAZNH = __esm({
|
|
|
112215
112355
|
}
|
|
112216
112356
|
return maxIntersections;
|
|
112217
112357
|
}, "getMaxIntersections");
|
|
112358
|
+
MAX_TICK_COUNT = 1e4;
|
|
112218
112359
|
draw5 = /* @__PURE__ */ __name(function(text4, id28, version3, diagObj) {
|
|
112219
112360
|
const conf5 = getConfig2().gantt;
|
|
112220
112361
|
const securityLevel = getConfig2().securityLevel;
|
|
@@ -112555,6 +112696,18 @@ var init_ganttDiagram_LVOFAZNH = __esm({
|
|
|
112555
112696
|
}).attr("class", "exclude-range");
|
|
112556
112697
|
}
|
|
112557
112698
|
__name(drawExcludeDays, "drawExcludeDays");
|
|
112699
|
+
function getEstimatedTickCount(minTime, maxTime, every3, interval2) {
|
|
112700
|
+
if (every3 <= 0 || minTime > maxTime) {
|
|
112701
|
+
return Infinity;
|
|
112702
|
+
}
|
|
112703
|
+
const timeDiffMs = maxTime - minTime;
|
|
112704
|
+
const intervalMs = import_dayjs3.default.duration({ [interval2 ?? "day"]: every3 }).asMilliseconds();
|
|
112705
|
+
if (intervalMs <= 0) {
|
|
112706
|
+
return Infinity;
|
|
112707
|
+
}
|
|
112708
|
+
return Math.ceil(timeDiffMs / intervalMs);
|
|
112709
|
+
}
|
|
112710
|
+
__name(getEstimatedTickCount, "getEstimatedTickCount");
|
|
112558
112711
|
function makeGrid(theSidePad, theTopPad, w22, h22) {
|
|
112559
112712
|
const dateFormat2 = diagObj.db.getDateFormat();
|
|
112560
112713
|
const userAxisFormat = diagObj.db.getAxisFormat();
|
|
@@ -112572,62 +112725,90 @@ var init_ganttDiagram_LVOFAZNH = __esm({
|
|
|
112572
112725
|
diagObj.db.getTickInterval() || conf5.tickInterval
|
|
112573
112726
|
);
|
|
112574
112727
|
if (resultTickInterval !== null) {
|
|
112575
|
-
const every3 = resultTickInterval[1];
|
|
112576
|
-
|
|
112577
|
-
|
|
112578
|
-
|
|
112579
|
-
|
|
112580
|
-
|
|
112581
|
-
|
|
112582
|
-
|
|
112583
|
-
|
|
112584
|
-
|
|
112585
|
-
|
|
112586
|
-
|
|
112587
|
-
|
|
112588
|
-
|
|
112589
|
-
|
|
112590
|
-
|
|
112591
|
-
|
|
112592
|
-
|
|
112593
|
-
|
|
112594
|
-
|
|
112595
|
-
|
|
112596
|
-
|
|
112597
|
-
|
|
112598
|
-
|
|
112599
|
-
|
|
112728
|
+
const every3 = parseInt(resultTickInterval[1], 10);
|
|
112729
|
+
if (isNaN(every3) || every3 <= 0) {
|
|
112730
|
+
log.warn(
|
|
112731
|
+
`Invalid tick interval value: "${resultTickInterval[1]}". Skipping custom tick interval.`
|
|
112732
|
+
);
|
|
112733
|
+
} else {
|
|
112734
|
+
const interval2 = resultTickInterval[2];
|
|
112735
|
+
const weekday2 = diagObj.db.getWeekday() || conf5.weekday;
|
|
112736
|
+
const domain = timeScale.domain();
|
|
112737
|
+
const minTime = domain[0];
|
|
112738
|
+
const maxTime = domain[1];
|
|
112739
|
+
const estimatedTicks = getEstimatedTickCount(minTime, maxTime, every3, interval2);
|
|
112740
|
+
if (estimatedTicks > MAX_TICK_COUNT) {
|
|
112741
|
+
log.warn(
|
|
112742
|
+
`The tick interval "${every3}${interval2}" would generate ${estimatedTicks} ticks, which exceeds the maximum allowed (${MAX_TICK_COUNT}). This may indicate an invalid date or time range. Skipping custom tick interval.`
|
|
112743
|
+
);
|
|
112744
|
+
} else {
|
|
112745
|
+
switch (interval2) {
|
|
112746
|
+
case "millisecond":
|
|
112747
|
+
bottomXAxis.ticks(millisecond.every(every3));
|
|
112748
|
+
break;
|
|
112749
|
+
case "second":
|
|
112750
|
+
bottomXAxis.ticks(second.every(every3));
|
|
112751
|
+
break;
|
|
112752
|
+
case "minute":
|
|
112753
|
+
bottomXAxis.ticks(timeMinute.every(every3));
|
|
112754
|
+
break;
|
|
112755
|
+
case "hour":
|
|
112756
|
+
bottomXAxis.ticks(timeHour.every(every3));
|
|
112757
|
+
break;
|
|
112758
|
+
case "day":
|
|
112759
|
+
bottomXAxis.ticks(timeDay.every(every3));
|
|
112760
|
+
break;
|
|
112761
|
+
case "week":
|
|
112762
|
+
bottomXAxis.ticks(mapWeekdayToTimeFunction[weekday2].every(every3));
|
|
112763
|
+
break;
|
|
112764
|
+
case "month":
|
|
112765
|
+
bottomXAxis.ticks(timeMonth.every(every3));
|
|
112766
|
+
break;
|
|
112767
|
+
}
|
|
112768
|
+
}
|
|
112600
112769
|
}
|
|
112601
112770
|
}
|
|
112602
112771
|
svg2.append("g").attr("class", "grid").attr("transform", "translate(" + theSidePad + ", " + (h22 - 50) + ")").call(bottomXAxis).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em");
|
|
112603
112772
|
if (diagObj.db.topAxisEnabled() || conf5.topAxis) {
|
|
112604
112773
|
let topXAxis = axisTop(timeScale).tickSize(-h22 + theTopPad + conf5.gridLineStartPadding).tickFormat(timeFormat(axisFormat2));
|
|
112605
112774
|
if (resultTickInterval !== null) {
|
|
112606
|
-
const every3 = resultTickInterval[1];
|
|
112607
|
-
|
|
112608
|
-
|
|
112609
|
-
|
|
112610
|
-
|
|
112611
|
-
|
|
112612
|
-
|
|
112613
|
-
|
|
112614
|
-
|
|
112615
|
-
|
|
112616
|
-
|
|
112617
|
-
|
|
112618
|
-
|
|
112619
|
-
|
|
112620
|
-
|
|
112621
|
-
|
|
112622
|
-
|
|
112623
|
-
|
|
112624
|
-
|
|
112625
|
-
|
|
112626
|
-
|
|
112627
|
-
|
|
112628
|
-
|
|
112629
|
-
|
|
112630
|
-
|
|
112775
|
+
const every3 = parseInt(resultTickInterval[1], 10);
|
|
112776
|
+
if (isNaN(every3) || every3 <= 0) {
|
|
112777
|
+
log.warn(
|
|
112778
|
+
`Invalid tick interval value: "${resultTickInterval[1]}". Skipping custom tick interval.`
|
|
112779
|
+
);
|
|
112780
|
+
} else {
|
|
112781
|
+
const interval2 = resultTickInterval[2];
|
|
112782
|
+
const weekday2 = diagObj.db.getWeekday() || conf5.weekday;
|
|
112783
|
+
const domain = timeScale.domain();
|
|
112784
|
+
const minTime = domain[0];
|
|
112785
|
+
const maxTime = domain[1];
|
|
112786
|
+
const estimatedTicks = getEstimatedTickCount(minTime, maxTime, every3, interval2);
|
|
112787
|
+
if (estimatedTicks <= MAX_TICK_COUNT) {
|
|
112788
|
+
switch (interval2) {
|
|
112789
|
+
case "millisecond":
|
|
112790
|
+
topXAxis.ticks(millisecond.every(every3));
|
|
112791
|
+
break;
|
|
112792
|
+
case "second":
|
|
112793
|
+
topXAxis.ticks(second.every(every3));
|
|
112794
|
+
break;
|
|
112795
|
+
case "minute":
|
|
112796
|
+
topXAxis.ticks(timeMinute.every(every3));
|
|
112797
|
+
break;
|
|
112798
|
+
case "hour":
|
|
112799
|
+
topXAxis.ticks(timeHour.every(every3));
|
|
112800
|
+
break;
|
|
112801
|
+
case "day":
|
|
112802
|
+
topXAxis.ticks(timeDay.every(every3));
|
|
112803
|
+
break;
|
|
112804
|
+
case "week":
|
|
112805
|
+
topXAxis.ticks(mapWeekdayToTimeFunction[weekday2].every(every3));
|
|
112806
|
+
break;
|
|
112807
|
+
case "month":
|
|
112808
|
+
topXAxis.ticks(timeMonth.every(every3));
|
|
112809
|
+
break;
|
|
112810
|
+
}
|
|
112811
|
+
}
|
|
112631
112812
|
}
|
|
112632
112813
|
}
|
|
112633
112814
|
svg2.append("g").attr("class", "grid").attr("transform", "translate(" + theSidePad + ", " + theTopPad + ")").call(topXAxis).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
|
|
@@ -112975,15 +113156,15 @@ var init_ganttDiagram_LVOFAZNH = __esm({
|
|
|
112975
113156
|
}
|
|
112976
113157
|
});
|
|
112977
113158
|
|
|
112978
|
-
// node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-
|
|
112979
|
-
var
|
|
112980
|
-
__export(
|
|
113159
|
+
// node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-WHAUD3N6.mjs
|
|
113160
|
+
var infoDiagram_WHAUD3N6_exports = {};
|
|
113161
|
+
__export(infoDiagram_WHAUD3N6_exports, {
|
|
112981
113162
|
diagram: () => diagram6
|
|
112982
113163
|
});
|
|
112983
113164
|
var parser6, DEFAULT_INFO_DB, getVersion, db2, draw6, renderer3, diagram6;
|
|
112984
|
-
var
|
|
112985
|
-
"node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-
|
|
112986
|
-
|
|
113165
|
+
var init_infoDiagram_WHAUD3N6 = __esm({
|
|
113166
|
+
"node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-WHAUD3N6.mjs"() {
|
|
113167
|
+
init_chunk_XAJISQIX();
|
|
112987
113168
|
init_chunk_EXTU4WIE();
|
|
112988
113169
|
init_chunk_ABZYJK2D();
|
|
112989
113170
|
init_chunk_AGHRB4JF();
|
|
@@ -146107,7 +146288,7 @@ function toggleMarkup(button) {
|
|
|
146107
146288
|
}
|
|
146108
146289
|
|
|
146109
146290
|
// node_modules/mermaid/dist/mermaid.core.mjs
|
|
146110
|
-
|
|
146291
|
+
init_chunk_XAJISQIX();
|
|
146111
146292
|
init_chunk_EXTU4WIE();
|
|
146112
146293
|
init_chunk_MI3HLSF2();
|
|
146113
146294
|
init_chunk_N4CR4FBY();
|
|
@@ -146564,7 +146745,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
|
|
|
146564
146745
|
return /^\s*gantt/.test(txt);
|
|
146565
146746
|
}, "detector");
|
|
146566
146747
|
var loader6 = /* @__PURE__ */ __name(async () => {
|
|
146567
|
-
const { diagram: diagram27 } = await Promise.resolve().then(() => (
|
|
146748
|
+
const { diagram: diagram27 } = await Promise.resolve().then(() => (init_ganttDiagram_JELNMOA3(), ganttDiagram_JELNMOA3_exports));
|
|
146568
146749
|
return { id: id6, diagram: diagram27 };
|
|
146569
146750
|
}, "loader");
|
|
146570
146751
|
var plugin6 = {
|
|
@@ -146578,7 +146759,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
|
|
|
146578
146759
|
return /^\s*info/.test(txt);
|
|
146579
146760
|
}, "detector");
|
|
146580
146761
|
var loader7 = /* @__PURE__ */ __name(async () => {
|
|
146581
|
-
const { diagram: diagram27 } = await Promise.resolve().then(() => (
|
|
146762
|
+
const { diagram: diagram27 } = await Promise.resolve().then(() => (init_infoDiagram_WHAUD3N6(), infoDiagram_WHAUD3N6_exports));
|
|
146582
146763
|
return { id: id7, diagram: diagram27 };
|
|
146583
146764
|
}, "loader");
|
|
146584
146765
|
var info = {
|
|
@@ -149153,7 +149334,7 @@ onContentReady(() => {
|
|
|
149153
149334
|
});
|
|
149154
149335
|
|
|
149155
149336
|
// src/runtime/motd/motd-symbol.ts
|
|
149156
|
-
var motdSymbol = Symbol.for("motd");
|
|
149337
|
+
var motdSymbol = /* @__PURE__ */ Symbol.for("motd");
|
|
149157
149338
|
|
|
149158
149339
|
// src/runtime/motd/motd-proxy.ts
|
|
149159
149340
|
var motdProxy = {
|
package/dist/style/core.css
CHANGED
|
@@ -981,14 +981,13 @@ h6 code {
|
|
|
981
981
|
#content a:where(:not(.code-preview a, h2 a, h3 a, h4 a, h5 a)) {
|
|
982
982
|
text-decoration: underline;
|
|
983
983
|
text-decoration-thickness: 1px;
|
|
984
|
-
color: var(--
|
|
984
|
+
color: var(--docs-text-color-link);
|
|
985
985
|
text-decoration-color: var(--docs-text-color-link);
|
|
986
986
|
text-underline-offset: 0.15rem;
|
|
987
987
|
}
|
|
988
|
-
|
|
989
|
-
#content a:where(:hover:not(.code-preview a, h2 a, h3 a, h4 a, h5 a)) {
|
|
988
|
+
#content a:where(:not(.code-preview a, h2 a, h3 a, h4 a, h5 a)):hover {
|
|
990
989
|
color: var(--docs-text-color-default);
|
|
991
|
-
text-decoration-color: var(--docs-text-
|
|
990
|
+
text-decoration-color: var(--docs-text-color-default);
|
|
992
991
|
}
|
|
993
992
|
|
|
994
993
|
.layout-wrapper {
|
|
@@ -1165,22 +1164,22 @@ main #aside dd {
|
|
|
1165
1164
|
}
|
|
1166
1165
|
|
|
1167
1166
|
.code-preview--default {
|
|
1168
|
-
border: 1px solid
|
|
1167
|
+
border: 1px solid var(--docs-code-border-color);
|
|
1169
1168
|
border-radius: 4px;
|
|
1170
1169
|
width: 100%;
|
|
1171
|
-
background-color:
|
|
1170
|
+
background-color: var(--docs-code-background-color);
|
|
1172
1171
|
margin-bottom: 1rem;
|
|
1173
1172
|
}
|
|
1174
1173
|
|
|
1175
1174
|
.code-preview--default .code-preview__preview {
|
|
1176
|
-
border-bottom: 1px solid
|
|
1175
|
+
border-bottom: 1px solid var(--docs-code-border-color);
|
|
1177
1176
|
padding: 1.5rem;
|
|
1178
1177
|
overflow: auto;
|
|
1179
1178
|
}
|
|
1180
1179
|
|
|
1181
1180
|
.code-preview--borderless {
|
|
1182
1181
|
width: 100%;
|
|
1183
|
-
background-color:
|
|
1182
|
+
background-color: var(--docs-code-background-color);
|
|
1184
1183
|
margin-bottom: 1rem;
|
|
1185
1184
|
}
|
|
1186
1185
|
|
|
@@ -1279,7 +1278,8 @@ kbd {
|
|
|
1279
1278
|
}
|
|
1280
1279
|
|
|
1281
1280
|
#search button:hover {
|
|
1282
|
-
|
|
1281
|
+
cursor: pointer;
|
|
1282
|
+
background-color: var(--docs-search-button-color-hover);
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
1285
|
#search button:focus {
|
package/dist/style/index.css
CHANGED
|
@@ -981,14 +981,13 @@ h6 code {
|
|
|
981
981
|
#content a:where(:not(.code-preview a, h2 a, h3 a, h4 a, h5 a)) {
|
|
982
982
|
text-decoration: underline;
|
|
983
983
|
text-decoration-thickness: 1px;
|
|
984
|
-
color: var(--
|
|
984
|
+
color: var(--docs-text-color-link);
|
|
985
985
|
text-decoration-color: var(--docs-text-color-link);
|
|
986
986
|
text-underline-offset: 0.15rem;
|
|
987
987
|
}
|
|
988
|
-
|
|
989
|
-
#content a:where(:hover:not(.code-preview a, h2 a, h3 a, h4 a, h5 a)) {
|
|
988
|
+
#content a:where(:not(.code-preview a, h2 a, h3 a, h4 a, h5 a)):hover {
|
|
990
989
|
color: var(--docs-text-color-default);
|
|
991
|
-
text-decoration-color: var(--docs-text-
|
|
990
|
+
text-decoration-color: var(--docs-text-color-default);
|
|
992
991
|
}
|
|
993
992
|
|
|
994
993
|
.layout-wrapper {
|
|
@@ -1165,22 +1164,22 @@ main #aside dd {
|
|
|
1165
1164
|
}
|
|
1166
1165
|
|
|
1167
1166
|
.code-preview--default {
|
|
1168
|
-
border: 1px solid
|
|
1167
|
+
border: 1px solid var(--docs-code-border-color);
|
|
1169
1168
|
border-radius: 4px;
|
|
1170
1169
|
width: 100%;
|
|
1171
|
-
background-color:
|
|
1170
|
+
background-color: var(--docs-code-background-color);
|
|
1172
1171
|
margin-bottom: 1rem;
|
|
1173
1172
|
}
|
|
1174
1173
|
|
|
1175
1174
|
.code-preview--default .code-preview__preview {
|
|
1176
|
-
border-bottom: 1px solid
|
|
1175
|
+
border-bottom: 1px solid var(--docs-code-border-color);
|
|
1177
1176
|
padding: 1.5rem;
|
|
1178
1177
|
overflow: auto;
|
|
1179
1178
|
}
|
|
1180
1179
|
|
|
1181
1180
|
.code-preview--borderless {
|
|
1182
1181
|
width: 100%;
|
|
1183
|
-
background-color:
|
|
1182
|
+
background-color: var(--docs-code-background-color);
|
|
1184
1183
|
margin-bottom: 1rem;
|
|
1185
1184
|
}
|
|
1186
1185
|
|
|
@@ -1279,7 +1278,8 @@ kbd {
|
|
|
1279
1278
|
}
|
|
1280
1279
|
|
|
1281
1280
|
#search button:hover {
|
|
1282
|
-
|
|
1281
|
+
cursor: pointer;
|
|
1282
|
+
background-color: var(--docs-search-button-color-hover);
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
1285
|
#search button:focus {
|
|
@@ -1411,6 +1411,7 @@ kbd {
|
|
|
1411
1411
|
--docs-search-text-color: inherit;
|
|
1412
1412
|
--docs-search-background-color: var(--docs-background-color);
|
|
1413
1413
|
--docs-search-border-color: #000;
|
|
1414
|
+
--docs-search-button-color-hover: #f4f4f4;
|
|
1414
1415
|
--docs-version-text-color: var(--docs-text-color-discrete);
|
|
1415
1416
|
--docs-version-link-color: var(--docs-text-color-discrete);
|
|
1416
1417
|
--docs-version-hover-color: var(--docs-text-color-default);
|
|
@@ -1419,6 +1420,7 @@ kbd {
|
|
|
1419
1420
|
--docs-cookie-background-color: #f5f6fa;
|
|
1420
1421
|
--docs-cookie-border-color: #4a52b6;
|
|
1421
1422
|
--docs-code-background-color: #f4f4f4;
|
|
1423
|
+
--docs-code-border-color: #ddddde;
|
|
1422
1424
|
--docs-code-optional-background-color: #e5e5e5;
|
|
1423
1425
|
--docs-navigation-active-background: #ddd;
|
|
1424
1426
|
--docs-navigation-highlight-color: #116a3e;
|
package/dist/style/site.css
CHANGED
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
--docs-search-text-color: inherit;
|
|
69
69
|
--docs-search-background-color: var(--docs-background-color);
|
|
70
70
|
--docs-search-border-color: #000;
|
|
71
|
+
--docs-search-button-color-hover: #f4f4f4;
|
|
71
72
|
--docs-version-text-color: var(--docs-text-color-discrete);
|
|
72
73
|
--docs-version-link-color: var(--docs-text-color-discrete);
|
|
73
74
|
--docs-version-hover-color: var(--docs-text-color-default);
|
|
@@ -76,6 +77,7 @@
|
|
|
76
77
|
--docs-cookie-background-color: #f5f6fa;
|
|
77
78
|
--docs-cookie-border-color: #4a52b6;
|
|
78
79
|
--docs-code-background-color: #f4f4f4;
|
|
80
|
+
--docs-code-border-color: #ddddde;
|
|
79
81
|
--docs-code-optional-background-color: #e5e5e5;
|
|
80
82
|
--docs-navigation-active-background: #ddd;
|
|
81
83
|
--docs-navigation-highlight-color: #116a3e;
|