@shelf/global-renderer 1.0.0-beta.0 → 1.0.0
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/CHANGELOG.md +45 -2367
- package/lib/DecisionTreeContent/DecisionTreeContent.d.ts +2 -2
- package/lib/DecisionTreeContent/DecisionTreeContent.styled.d.ts +11483 -47
- package/lib/DecisionTreeContent/components/Condition.d.ts +2 -2
- package/lib/DecisionTreeContent/components/ContentTable.d.ts +2 -2
- package/lib/DecisionTreeContent/components/ExportedMeta.d.ts +3 -3
- package/lib/DecisionTreeContent/components/Link.d.ts +2 -2
- package/lib/DecisionTreeContent/components/Question.d.ts +2 -2
- package/lib/DecisionTreeContent/components/Solution.d.ts +2 -2
- package/lib/DecisionTreeContent/components/StepHeader.d.ts +2 -2
- package/lib/DecisionTreeContent/helpers.d.ts +4 -4
- package/lib/DecisionTreeContent/types.d.ts +1 -1
- package/lib/DecisionTreeDiagram/StaticTreeContainer.d.ts +2 -2
- package/lib/index.js +20383 -4
- package/package.json +19 -16
- package/lib/DecisionTreeContent/DecisionTreeContent.js +0 -84
- package/lib/DecisionTreeContent/DecisionTreeContent.styled.js +0 -225
- package/lib/DecisionTreeContent/components/Condition.js +0 -73
- package/lib/DecisionTreeContent/components/ContentTable.js +0 -26
- package/lib/DecisionTreeContent/components/ExportedMeta.js +0 -29
- package/lib/DecisionTreeContent/components/Link.js +0 -18
- package/lib/DecisionTreeContent/components/Question.js +0 -55
- package/lib/DecisionTreeContent/components/Solution.js +0 -20
- package/lib/DecisionTreeContent/components/StepHeader.js +0 -46
- package/lib/DecisionTreeContent/components/StepTypeIcon.js +0 -30
- package/lib/DecisionTreeContent/helpers.js +0 -56
- package/lib/DecisionTreeContent/renderDTContent.js +0 -12
- package/lib/DecisionTreeDiagram/StaticTreeContainer.js +0 -27
- package/lib/DecisionTreeDiagram/renderStaticDTDiagram.js +0 -26
- package/lib/_virtual/_commonjsHelpers.js +0 -4
- package/lib/_virtual/advancedFormat.js +0 -4
- package/lib/_virtual/client.js +0 -4
- package/lib/_virtual/dayjs.min.js +0 -4
- package/lib/_virtual/index.js +0 -4
- package/lib/_virtual/index2.js +0 -4
- package/lib/_virtual/localeData.js +0 -4
- package/lib/_virtual/localizedFormat.js +0 -4
- package/lib/_virtual/react-dom.development.js +0 -4
- package/lib/_virtual/react-dom.production.min.js +0 -4
- package/lib/_virtual/scheduler.development.js +0 -4
- package/lib/_virtual/scheduler.production.min.js +0 -4
- package/lib/i18next/index.js +0 -18
- package/lib/node_modules/@shelf/datetime/lib/getDateFormatTemplates.js +0 -15
- package/lib/node_modules/@shelf/datetime/lib/getDateWithCustomFormat.js +0 -10
- package/lib/node_modules/@shelf/datetime/lib/getTimeFormatTemplates.js +0 -17
- package/lib/node_modules/@shelf/datetime/lib/isDate.js +0 -4
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/dayjs.min.js +0 -295
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/advancedFormat.js +0 -54
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/localeData.js +0 -82
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/localizedFormat.js +0 -28
- package/lib/node_modules/react-dom/cjs/react-dom.development.js +0 -12880
- package/lib/node_modules/react-dom/cjs/react-dom.production.min.js +0 -5643
- package/lib/node_modules/react-dom/client.js +0 -28
- package/lib/node_modules/react-dom/index.js +0 -17
- package/lib/node_modules/scheduler/cjs/scheduler.development.js +0 -278
- package/lib/node_modules/scheduler/cjs/scheduler.production.min.js +0 -231
- package/lib/node_modules/scheduler/index.js +0 -12
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { commonjsGlobal as v } from "../../../../../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { l as h } from "../../../../../../_virtual/localeData.js";
|
|
3
|
-
(function(k, x) {
|
|
4
|
-
(function(w, u) {
|
|
5
|
-
k.exports = u();
|
|
6
|
-
})(v, function() {
|
|
7
|
-
return function(w, u, r) {
|
|
8
|
-
var y = u.prototype, c = function(n) {
|
|
9
|
-
return n && (n.indexOf ? n : n.s);
|
|
10
|
-
}, e = function(n, t, i, m, s) {
|
|
11
|
-
var a = n.name ? n : n.$locale(), S = c(a[t]), p = c(a[i]), f = S || p.map(function(l) {
|
|
12
|
-
return l.slice(0, m);
|
|
13
|
-
});
|
|
14
|
-
if (!s)
|
|
15
|
-
return f;
|
|
16
|
-
var D = a.weekStart;
|
|
17
|
-
return f.map(function(l, $) {
|
|
18
|
-
return f[($ + (D || 0)) % 7];
|
|
19
|
-
});
|
|
20
|
-
}, o = function() {
|
|
21
|
-
return r.Ls[r.locale()];
|
|
22
|
-
}, d = function(n, t) {
|
|
23
|
-
return n.formats[t] || function(i) {
|
|
24
|
-
return i.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(m, s, a) {
|
|
25
|
-
return s || a.slice(1);
|
|
26
|
-
});
|
|
27
|
-
}(n.formats[t.toUpperCase()]);
|
|
28
|
-
}, M = function() {
|
|
29
|
-
var n = this;
|
|
30
|
-
return { months: function(t) {
|
|
31
|
-
return t ? t.format("MMMM") : e(n, "months");
|
|
32
|
-
}, monthsShort: function(t) {
|
|
33
|
-
return t ? t.format("MMM") : e(n, "monthsShort", "months", 3);
|
|
34
|
-
}, firstDayOfWeek: function() {
|
|
35
|
-
return n.$locale().weekStart || 0;
|
|
36
|
-
}, weekdays: function(t) {
|
|
37
|
-
return t ? t.format("dddd") : e(n, "weekdays");
|
|
38
|
-
}, weekdaysMin: function(t) {
|
|
39
|
-
return t ? t.format("dd") : e(n, "weekdaysMin", "weekdays", 2);
|
|
40
|
-
}, weekdaysShort: function(t) {
|
|
41
|
-
return t ? t.format("ddd") : e(n, "weekdaysShort", "weekdays", 3);
|
|
42
|
-
}, longDateFormat: function(t) {
|
|
43
|
-
return d(n.$locale(), t);
|
|
44
|
-
}, meridiem: this.$locale().meridiem, ordinal: this.$locale().ordinal };
|
|
45
|
-
};
|
|
46
|
-
y.localeData = function() {
|
|
47
|
-
return M.bind(this)();
|
|
48
|
-
}, r.localeData = function() {
|
|
49
|
-
var n = o();
|
|
50
|
-
return { firstDayOfWeek: function() {
|
|
51
|
-
return n.weekStart || 0;
|
|
52
|
-
}, weekdays: function() {
|
|
53
|
-
return r.weekdays();
|
|
54
|
-
}, weekdaysShort: function() {
|
|
55
|
-
return r.weekdaysShort();
|
|
56
|
-
}, weekdaysMin: function() {
|
|
57
|
-
return r.weekdaysMin();
|
|
58
|
-
}, months: function() {
|
|
59
|
-
return r.months();
|
|
60
|
-
}, monthsShort: function() {
|
|
61
|
-
return r.monthsShort();
|
|
62
|
-
}, longDateFormat: function(t) {
|
|
63
|
-
return d(n, t);
|
|
64
|
-
}, meridiem: n.meridiem, ordinal: n.ordinal };
|
|
65
|
-
}, r.months = function() {
|
|
66
|
-
return e(o(), "months");
|
|
67
|
-
}, r.monthsShort = function() {
|
|
68
|
-
return e(o(), "monthsShort", "months", 3);
|
|
69
|
-
}, r.weekdays = function(n) {
|
|
70
|
-
return e(o(), "weekdays", null, null, n);
|
|
71
|
-
}, r.weekdaysShort = function(n) {
|
|
72
|
-
return e(o(), "weekdaysShort", "weekdays", 3, n);
|
|
73
|
-
}, r.weekdaysMin = function(n) {
|
|
74
|
-
return e(o(), "weekdaysMin", "weekdays", 2, n);
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
});
|
|
78
|
-
})(h);
|
|
79
|
-
const b = h.exports;
|
|
80
|
-
export {
|
|
81
|
-
b as default
|
|
82
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { commonjsGlobal as D } from "../../../../../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { l as a } from "../../../../../../_virtual/localizedFormat.js";
|
|
3
|
-
(function(Y, h) {
|
|
4
|
-
(function(t, e) {
|
|
5
|
-
Y.exports = e();
|
|
6
|
-
})(D, function() {
|
|
7
|
-
var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
8
|
-
return function(e, i, c) {
|
|
9
|
-
var n = i.prototype, s = n.format;
|
|
10
|
-
c.en.formats = t, n.format = function(r) {
|
|
11
|
-
r === void 0 && (r = "YYYY-MM-DDTHH:mm:ssZ");
|
|
12
|
-
var m = this.$locale().formats, l = function(f, M) {
|
|
13
|
-
return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(v, u, o) {
|
|
14
|
-
var L = o && o.toUpperCase();
|
|
15
|
-
return u || M[o] || t[o] || M[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(x, d, p) {
|
|
16
|
-
return d || p.slice(1);
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
}(r, m === void 0 ? {} : m);
|
|
20
|
-
return s.call(this, l);
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
});
|
|
24
|
-
})(a);
|
|
25
|
-
const g = a.exports;
|
|
26
|
-
export {
|
|
27
|
-
g as default
|
|
28
|
-
};
|