@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.
Files changed (51) hide show
  1. package/CHANGELOG.md +2366 -44
  2. package/lib/DecisionTreeContent/DecisionTreeContent.js +84 -0
  3. package/lib/DecisionTreeContent/DecisionTreeContent.styled.js +225 -0
  4. package/lib/DecisionTreeContent/components/Condition.js +73 -0
  5. package/lib/DecisionTreeContent/components/ContentTable.js +26 -0
  6. package/lib/DecisionTreeContent/components/ExportedMeta.js +29 -0
  7. package/lib/DecisionTreeContent/components/Link.js +18 -0
  8. package/lib/DecisionTreeContent/components/Question.js +55 -0
  9. package/lib/DecisionTreeContent/components/Solution.js +20 -0
  10. package/lib/DecisionTreeContent/components/StepHeader.js +46 -0
  11. package/lib/DecisionTreeContent/components/StepTypeIcon.js +30 -0
  12. package/lib/DecisionTreeContent/helpers.d.ts +3 -3
  13. package/lib/DecisionTreeContent/helpers.js +56 -0
  14. package/lib/DecisionTreeContent/renderDTContent.js +12 -0
  15. package/lib/DecisionTreeDiagram/StaticTreeContainer.js +27 -0
  16. package/lib/DecisionTreeDiagram/renderStaticDTDiagram.js +26 -0
  17. package/lib/_virtual/_commonjsHelpers.js +4 -0
  18. package/lib/_virtual/advancedFormat.js +4 -0
  19. package/lib/_virtual/client.js +4 -0
  20. package/lib/_virtual/dayjs.min.js +4 -0
  21. package/lib/_virtual/index.js +4 -0
  22. package/lib/_virtual/index2.js +4 -0
  23. package/lib/_virtual/localeData.js +4 -0
  24. package/lib/_virtual/localizedFormat.js +4 -0
  25. package/lib/_virtual/react-dom.development.js +4 -0
  26. package/lib/_virtual/react-dom.production.min.js +4 -0
  27. package/lib/_virtual/scheduler.development.js +4 -0
  28. package/lib/_virtual/scheduler.production.min.js +4 -0
  29. package/lib/i18next/index.js +18 -0
  30. package/lib/index.d.ts +3 -0
  31. package/lib/index.js +6 -0
  32. package/lib/node_modules/@shelf/datetime/lib/getDateFormatTemplates.js +15 -0
  33. package/lib/node_modules/@shelf/datetime/lib/getDateWithCustomFormat.js +10 -0
  34. package/lib/node_modules/@shelf/datetime/lib/getTimeFormatTemplates.js +17 -0
  35. package/lib/node_modules/@shelf/datetime/lib/isDate.js +4 -0
  36. package/lib/node_modules/@shelf/datetime/node_modules/dayjs/dayjs.min.js +295 -0
  37. package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/advancedFormat.js +54 -0
  38. package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/localeData.js +82 -0
  39. package/lib/node_modules/@shelf/datetime/node_modules/dayjs/plugin/localizedFormat.js +28 -0
  40. package/lib/node_modules/react-dom/cjs/react-dom.development.js +12880 -0
  41. package/lib/node_modules/react-dom/cjs/react-dom.production.min.js +5643 -0
  42. package/lib/node_modules/react-dom/client.js +28 -0
  43. package/lib/node_modules/react-dom/index.js +17 -0
  44. package/lib/node_modules/scheduler/cjs/scheduler.development.js +278 -0
  45. package/lib/node_modules/scheduler/cjs/scheduler.production.min.js +231 -0
  46. package/lib/node_modules/scheduler/index.js +12 -0
  47. package/package.json +14 -12
  48. package/lib/renderDTContent.js +0 -2
  49. package/lib/renderDTContent.js.LICENSE.txt +0 -57
  50. package/lib/renderStaticDTDiagram.js +0 -2
  51. 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
+ };