@crowdin/app-project-module 2.1.0 → 2.3.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 (59) hide show
  1. package/out/index.d.ts +1 -0
  2. package/out/index.js +5 -1
  3. package/out/middlewares/ui-module.js +1 -2
  4. package/out/modules/about.d.ts +4 -0
  5. package/out/modules/about.js +25 -3
  6. package/out/modules/advisor-inspector/handlers/recheck.d.ts +4 -0
  7. package/out/modules/advisor-inspector/handlers/recheck.js +44 -0
  8. package/out/modules/advisor-inspector/index.d.ts +6 -0
  9. package/out/modules/advisor-inspector/index.js +35 -0
  10. package/out/modules/advisor-inspector/key.d.ts +4 -0
  11. package/out/modules/advisor-inspector/key.js +13 -0
  12. package/out/modules/advisor-inspector/report-insight.d.ts +3 -0
  13. package/out/modules/advisor-inspector/report-insight.js +61 -0
  14. package/out/modules/advisor-inspector/types.d.ts +59 -0
  15. package/out/modules/advisor-inspector/types.js +2 -0
  16. package/out/modules/manifest.js +15 -0
  17. package/out/static/css/styles.css +2 -342
  18. package/out/static/ui/about.bundle.js +542 -0
  19. package/out/static/ui/about.bundle.js.map +1 -0
  20. package/out/static/ui/error.bundle.js +120 -2
  21. package/out/static/ui/error.bundle.js.map +1 -1
  22. package/out/static/ui/form.bundle.js +164 -12
  23. package/out/static/ui/form.bundle.js.map +1 -1
  24. package/out/static/ui/install.bundle.js +8 -2
  25. package/out/static/ui/install.bundle.js.map +1 -1
  26. package/out/static/ui/login.bundle.js +425 -35
  27. package/out/static/ui/login.bundle.js.map +1 -1
  28. package/out/static/ui/main.bundle.js +718 -366
  29. package/out/static/ui/main.bundle.js.map +1 -1
  30. package/out/static/ui/oauth.bundle.js +8 -2
  31. package/out/static/ui/oauth.bundle.js.map +1 -1
  32. package/out/static/ui/subscription.bundle.js +542 -0
  33. package/out/static/ui/subscription.bundle.js.map +1 -0
  34. package/out/storage/drizzle/postgresql/migrations/0002_equal_skrulls.sql +3 -0
  35. package/out/storage/drizzle/postgresql/migrations/meta/0002_snapshot.json +646 -0
  36. package/out/storage/drizzle/postgresql/migrations/meta/_journal.json +7 -0
  37. package/out/storage/drizzle/postgresql/schema.js +2 -1
  38. package/out/storage/drizzle/sqlite/migrations/0001_new_rhodey.sql +26 -0
  39. package/out/storage/drizzle/sqlite/migrations/meta/0001_snapshot.json +687 -0
  40. package/out/storage/drizzle/sqlite/migrations/meta/_journal.json +7 -0
  41. package/out/storage/drizzle/sqlite/schema.js +2 -1
  42. package/out/types.d.ts +6 -0
  43. package/out/util/jsx-renderer.d.ts +2 -1
  44. package/out/util/jsx-renderer.js +8 -8
  45. package/out/views/FormPage.js +2 -2
  46. package/out/views/index.d.ts +0 -2
  47. package/out/views/index.js +1 -5
  48. package/out/views/layout/Head.js +0 -10
  49. package/package.json +5 -2
  50. package/out/static/css/about.css +0 -128
  51. package/out/static/css/crowdin-ui-colors.css +0 -115
  52. package/out/static/js/dependent.js +0 -315
  53. package/out/static/js/main.js +0 -96
  54. package/out/static/js/polyfills/fetch.js +0 -494
  55. package/out/static/js/polyfills/promise.js +0 -375
  56. package/out/views/AboutPage.d.ts +0 -10
  57. package/out/views/AboutPage.js +0 -88
  58. package/out/views/SubscriptionPage.d.ts +0 -7
  59. package/out/views/SubscriptionPage.js +0 -26
@@ -518,9 +518,15 @@
518
518
 
519
519
  var clientExports = requireClient();
520
520
 
521
- const InstallPage = ({ name }) => (jsxRuntimeExports.jsx("div", { className: "i_w center", children: jsxRuntimeExports.jsxs("div", { children: [jsxRuntimeExports.jsxs("h1", { children: ["Looks like ", name, " is not installed yet!"] }), jsxRuntimeExports.jsxs("p", { children: ["Contact your organization administrator to install it. More info on", ' ', jsxRuntimeExports.jsx("a", { href: "https://support.crowdin.com", children: "Link to how to install" })] })] }) }));
521
+ function readPageProps() {
522
+ const element = document.getElementById('__PAGE_PROPS__');
523
+ return JSON.parse((element === null || element === void 0 ? void 0 : element.textContent) || '{}');
524
+ }
525
+
526
+ const InstallPage = ({ name }) => (jsxRuntimeExports.jsx("div", { className: "mx-auto flex min-h-[calc(100vh-64px)] max-w-[1420px] items-center justify-around px-6 py-4 text-center", children: jsxRuntimeExports.jsxs("div", { children: [jsxRuntimeExports.jsxs("h1", { children: ["Looks like ", name, " is not installed yet!"] }), jsxRuntimeExports.jsxs("p", { children: ["Contact your organization administrator to install it. More info on", ' ', jsxRuntimeExports.jsx("a", { href: "https://support.crowdin.com", children: "Link to how to install" })] })] }) }));
522
527
 
523
- clientExports.createRoot(document.getElementById('root')).render(jsxRuntimeExports.jsx(InstallPage, { ...window.__PAGE_PROPS__ }));
528
+ const props = readPageProps();
529
+ clientExports.createRoot(document.getElementById('root')).render(jsxRuntimeExports.jsx(InstallPage, { ...props }));
524
530
 
525
531
  })();
526
532
  //# sourceMappingURL=install.bundle.js.map