@shelf/global-renderer 0.32.21 → 1.0.0-beta.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 +2366 -44
- package/lib/DecisionTreeContent/DecisionTreeContent.js +84 -0
- package/lib/DecisionTreeContent/DecisionTreeContent.styled.js +225 -0
- package/lib/DecisionTreeContent/components/Condition.js +73 -0
- package/lib/DecisionTreeContent/components/ContentTable.js +26 -0
- package/lib/DecisionTreeContent/components/ExportedMeta.js +29 -0
- package/lib/DecisionTreeContent/components/Link.js +18 -0
- package/lib/DecisionTreeContent/components/Question.js +55 -0
- package/lib/DecisionTreeContent/components/Solution.js +20 -0
- package/lib/DecisionTreeContent/components/StepHeader.js +46 -0
- package/lib/DecisionTreeContent/components/StepTypeIcon.js +30 -0
- package/lib/DecisionTreeContent/helpers.d.ts +3 -3
- package/lib/DecisionTreeContent/helpers.js +56 -0
- package/lib/DecisionTreeContent/renderDTContent.js +12 -0
- package/lib/DecisionTreeDiagram/StaticTreeContainer.js +27 -0
- package/lib/DecisionTreeDiagram/renderStaticDTDiagram.js +26 -0
- package/lib/_virtual/_commonjsHelpers.js +4 -0
- package/lib/_virtual/advancedFormat.js +4 -0
- package/lib/_virtual/client.js +4 -0
- package/lib/_virtual/dayjs.min.js +4 -0
- package/lib/_virtual/index.js +4 -0
- package/lib/_virtual/index2.js +4 -0
- package/lib/_virtual/localeData.js +4 -0
- package/lib/_virtual/localizedFormat.js +4 -0
- package/lib/_virtual/react-dom.development.js +4 -0
- package/lib/_virtual/react-dom.production.min.js +4 -0
- package/lib/_virtual/scheduler.development.js +4 -0
- package/lib/_virtual/scheduler.production.min.js +4 -0
- package/lib/i18next/index.js +18 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +6 -0
- package/lib/node_modules/@shelf/datetime/lib/getDateFormatTemplates.js +15 -0
- package/lib/node_modules/@shelf/datetime/lib/getDateWithCustomFormat.js +10 -0
- package/lib/node_modules/@shelf/datetime/lib/getTimeFormatTemplates.js +17 -0
- package/lib/node_modules/@shelf/datetime/lib/isDate.js +4 -0
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/dayjs.min.js +295 -0
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/advancedFormat.js +54 -0
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/localeData.js +82 -0
- package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/localizedFormat.js +28 -0
- package/lib/node_modules/react-dom/cjs/react-dom.development.js +12880 -0
- package/lib/node_modules/react-dom/cjs/react-dom.production.min.js +5643 -0
- package/lib/node_modules/react-dom/client.js +28 -0
- package/lib/node_modules/react-dom/index.js +17 -0
- package/lib/node_modules/scheduler/cjs/scheduler.development.js +278 -0
- package/lib/node_modules/scheduler/cjs/scheduler.production.min.js +231 -0
- package/lib/node_modules/scheduler/index.js +12 -0
- package/package.json +14 -12
- package/lib/renderDTContent.js +0 -2
- package/lib/renderDTContent.js.LICENSE.txt +0 -57
- package/lib/renderStaticDTDiagram.js +0 -2
- package/lib/renderStaticDTDiagram.js.LICENSE.txt +0 -63
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
};
|