@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.
- package/out/index.d.ts +1 -0
- package/out/index.js +5 -1
- package/out/middlewares/ui-module.js +1 -2
- package/out/modules/about.d.ts +4 -0
- package/out/modules/about.js +25 -3
- package/out/modules/advisor-inspector/handlers/recheck.d.ts +4 -0
- package/out/modules/advisor-inspector/handlers/recheck.js +44 -0
- package/out/modules/advisor-inspector/index.d.ts +6 -0
- package/out/modules/advisor-inspector/index.js +35 -0
- package/out/modules/advisor-inspector/key.d.ts +4 -0
- package/out/modules/advisor-inspector/key.js +13 -0
- package/out/modules/advisor-inspector/report-insight.d.ts +3 -0
- package/out/modules/advisor-inspector/report-insight.js +61 -0
- package/out/modules/advisor-inspector/types.d.ts +59 -0
- package/out/modules/advisor-inspector/types.js +2 -0
- package/out/modules/manifest.js +15 -0
- package/out/static/css/styles.css +2 -342
- package/out/static/ui/about.bundle.js +542 -0
- package/out/static/ui/about.bundle.js.map +1 -0
- package/out/static/ui/error.bundle.js +120 -2
- package/out/static/ui/error.bundle.js.map +1 -1
- package/out/static/ui/form.bundle.js +164 -12
- package/out/static/ui/form.bundle.js.map +1 -1
- package/out/static/ui/install.bundle.js +8 -2
- package/out/static/ui/install.bundle.js.map +1 -1
- package/out/static/ui/login.bundle.js +425 -35
- package/out/static/ui/login.bundle.js.map +1 -1
- package/out/static/ui/main.bundle.js +718 -366
- package/out/static/ui/main.bundle.js.map +1 -1
- package/out/static/ui/oauth.bundle.js +8 -2
- package/out/static/ui/oauth.bundle.js.map +1 -1
- package/out/static/ui/subscription.bundle.js +542 -0
- package/out/static/ui/subscription.bundle.js.map +1 -0
- package/out/storage/drizzle/postgresql/migrations/0002_equal_skrulls.sql +3 -0
- package/out/storage/drizzle/postgresql/migrations/meta/0002_snapshot.json +646 -0
- package/out/storage/drizzle/postgresql/migrations/meta/_journal.json +7 -0
- package/out/storage/drizzle/postgresql/schema.js +2 -1
- package/out/storage/drizzle/sqlite/migrations/0001_new_rhodey.sql +26 -0
- package/out/storage/drizzle/sqlite/migrations/meta/0001_snapshot.json +687 -0
- package/out/storage/drizzle/sqlite/migrations/meta/_journal.json +7 -0
- package/out/storage/drizzle/sqlite/schema.js +2 -1
- package/out/types.d.ts +6 -0
- package/out/util/jsx-renderer.d.ts +2 -1
- package/out/util/jsx-renderer.js +8 -8
- package/out/views/FormPage.js +2 -2
- package/out/views/index.d.ts +0 -2
- package/out/views/index.js +1 -5
- package/out/views/layout/Head.js +0 -10
- package/package.json +5 -2
- package/out/static/css/about.css +0 -128
- package/out/static/css/crowdin-ui-colors.css +0 -115
- package/out/static/js/dependent.js +0 -315
- package/out/static/js/main.js +0 -96
- package/out/static/js/polyfills/fetch.js +0 -494
- package/out/static/js/polyfills/promise.js +0 -375
- package/out/views/AboutPage.d.ts +0 -10
- package/out/views/AboutPage.js +0 -88
- package/out/views/SubscriptionPage.d.ts +0 -7
- package/out/views/SubscriptionPage.js +0 -26
|
@@ -518,9 +518,15 @@
|
|
|
518
518
|
|
|
519
519
|
var clientExports = requireClient();
|
|
520
520
|
|
|
521
|
-
|
|
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
|
-
|
|
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
|