@crowdin/app-project-module 2.2.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 (45) hide show
  1. package/out/middlewares/ui-module.js +1 -2
  2. package/out/modules/about.d.ts +4 -0
  3. package/out/modules/about.js +25 -3
  4. package/out/static/css/styles.css +2 -342
  5. package/out/static/ui/about.bundle.js +542 -0
  6. package/out/static/ui/about.bundle.js.map +1 -0
  7. package/out/static/ui/error.bundle.js +120 -2
  8. package/out/static/ui/error.bundle.js.map +1 -1
  9. package/out/static/ui/form.bundle.js +164 -12
  10. package/out/static/ui/form.bundle.js.map +1 -1
  11. package/out/static/ui/install.bundle.js +8 -2
  12. package/out/static/ui/install.bundle.js.map +1 -1
  13. package/out/static/ui/login.bundle.js +425 -35
  14. package/out/static/ui/login.bundle.js.map +1 -1
  15. package/out/static/ui/main.bundle.js +718 -366
  16. package/out/static/ui/main.bundle.js.map +1 -1
  17. package/out/static/ui/oauth.bundle.js +8 -2
  18. package/out/static/ui/oauth.bundle.js.map +1 -1
  19. package/out/static/ui/subscription.bundle.js +542 -0
  20. package/out/static/ui/subscription.bundle.js.map +1 -0
  21. package/out/storage/drizzle/postgresql/migrations/0002_equal_skrulls.sql +3 -0
  22. package/out/storage/drizzle/postgresql/migrations/meta/0002_snapshot.json +646 -0
  23. package/out/storage/drizzle/postgresql/migrations/meta/_journal.json +7 -0
  24. package/out/storage/drizzle/postgresql/schema.js +2 -1
  25. package/out/storage/drizzle/sqlite/migrations/0001_new_rhodey.sql +26 -0
  26. package/out/storage/drizzle/sqlite/migrations/meta/0001_snapshot.json +687 -0
  27. package/out/storage/drizzle/sqlite/migrations/meta/_journal.json +7 -0
  28. package/out/storage/drizzle/sqlite/schema.js +2 -1
  29. package/out/util/jsx-renderer.d.ts +2 -1
  30. package/out/util/jsx-renderer.js +8 -8
  31. package/out/views/FormPage.js +2 -2
  32. package/out/views/index.d.ts +0 -2
  33. package/out/views/index.js +1 -5
  34. package/out/views/layout/Head.js +0 -10
  35. package/package.json +5 -2
  36. package/out/static/css/about.css +0 -128
  37. package/out/static/css/crowdin-ui-colors.css +0 -115
  38. package/out/static/js/dependent.js +0 -315
  39. package/out/static/js/main.js +0 -96
  40. package/out/static/js/polyfills/fetch.js +0 -494
  41. package/out/static/js/polyfills/promise.js +0 -375
  42. package/out/views/AboutPage.d.ts +0 -10
  43. package/out/views/AboutPage.js +0 -88
  44. package/out/views/SubscriptionPage.d.ts +0 -7
  45. 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