abstra 3.23.2__py3-none-any.whl → 3.23.4__py3-none-any.whl
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.
- {abstra-3.23.2.dist-info → abstra-3.23.4.dist-info}/METADATA +1 -1
- {abstra-3.23.2.dist-info → abstra-3.23.4.dist-info}/RECORD +188 -189
- abstra_internals/cloud_api/__init__.py +0 -1
- abstra_internals/controllers/execution/consumer.py +27 -39
- abstra_internals/controllers/execution/execution.py +7 -4
- abstra_internals/controllers/execution/execution_client.py +2 -11
- abstra_internals/controllers/execution/execution_client_form.py +10 -11
- abstra_internals/controllers/execution/execution_client_hook.py +3 -9
- abstra_internals/controllers/execution/execution_stdio.py +3 -14
- abstra_internals/controllers/execution/execution_test.py +5 -9
- abstra_internals/controllers/execution/worker_process.py +8 -33
- abstra_internals/controllers/main.py +18 -26
- abstra_internals/entities/execution_context.py +1 -0
- abstra_internals/entities/execution_test.py +6 -3
- abstra_internals/interface/cli/editor.py +6 -3
- abstra_internals/interface/sdk/forms/deprecated/page_test.py +6 -8
- abstra_internals/interface/sdk/tables/api_test.py +1 -7
- abstra_internals/logs_watcher.py +13 -6
- abstra_internals/repositories/consumer.py +1 -3
- abstra_internals/repositories/factory.py +7 -6
- abstra_internals/repositories/producer.py +7 -41
- abstra_internals/repositories/project/project_test.py +1 -6
- abstra_internals/repositories/tasks.py +8 -4
- abstra_internals/server/blueprints/player.py +39 -24
- abstra_internals/server/guards/role_guard_test.py +1 -6
- abstra_internals/server/routes/forms.py +10 -3
- abstra_internals/server/routes/stdio.py +3 -3
- abstra_internals/stdio_patcher.py +4 -4
- abstra_internals/tasks_watcher.py +59 -0
- abstra_internals/utils/ai.py +4 -9
- abstra_statics/dist/assets/{AbstraButton.vue_vue_type_script_setup_true_lang.a26848e1.js → AbstraButton.vue_vue_type_script_setup_true_lang.86a761e5.js} +2 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.d02ffa6d.js +2 -0
- abstra_statics/dist/assets/ApiKeys.e132de0a.js +2 -0
- abstra_statics/dist/assets/App.9aa34c4e.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.9dc1f7e7.js +2 -0
- abstra_statics/dist/assets/{BaseLayout.d1e9245a.js → BaseLayout.d41dae76.js} +2 -2
- abstra_statics/dist/assets/Billing.04224d7b.js +2 -0
- abstra_statics/dist/assets/{Breadcrumb.b1d16b92.js → Breadcrumb.00a432b7.js} +2 -2
- abstra_statics/dist/assets/{Builds.763995e5.js → Builds.329c2faa.js} +2 -2
- abstra_statics/dist/assets/{Card.8279f4c6.js → Card.d8993609.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.f56438b2.js → CircularLoading.e0819e0b.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.ae1e7621.js +2 -0
- abstra_statics/dist/assets/{ConnectorsView.f84c0309.js → ConnectorsView.4c23ea88.js} +2 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.f2c53fd6.js +2 -0
- abstra_statics/dist/assets/ContentLayout.9774740e.js +2 -0
- abstra_statics/dist/assets/{CrudView.78833c51.js → CrudView.01e6ed04.js} +2 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.3efd2188.js +2 -0
- abstra_statics/dist/assets/{EditorLogin.cf53a7a7.js → EditorLogin.b9477432.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.b77efb1d.js → EditorsView.ec2e0465.js} +2 -2
- abstra_statics/dist/assets/EnvVars.72e8a906.js +2 -0
- abstra_statics/dist/assets/Error.75789fcd.js +2 -0
- abstra_statics/dist/assets/{ExclamationCircleOutlined.55a99fcd.js → ExclamationCircleOutlined.443f1727.js} +2 -2
- abstra_statics/dist/assets/{Files.71854289.js → Files.598e1924.js} +2 -2
- abstra_statics/dist/assets/Form.dcd328f9.js +2 -0
- abstra_statics/dist/assets/{FormRunner.12c3bcc8.js → FormRunner.22c166b3.js} +2 -2
- abstra_statics/dist/assets/Home.29af870e.js +2 -0
- abstra_statics/dist/assets/Home.5a193adf.js +2 -0
- abstra_statics/dist/assets/{Live.51f470f8.js → Live.47f1d55b.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.4d7a6e83.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.688afd1b.js +2 -0
- abstra_statics/dist/assets/Login.543da72d.js +2 -0
- abstra_statics/dist/assets/{Login.94f07e07.js → Login.d4ed4415.js} +2 -2
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.1cd9267a.js → Login.vue_vue_type_script_setup_true_lang.7a0b5cb9.js} +2 -2
- abstra_statics/dist/assets/{Logo.e83946ea.js → Logo.a483cebb.js} +2 -2
- abstra_statics/dist/assets/Logs.93696d9a.js +2 -0
- abstra_statics/dist/assets/LogsController.051e4c97.js +2 -0
- abstra_statics/dist/assets/Main.e6271958.js +2 -0
- abstra_statics/dist/assets/{MockForm.acd1d2e5.js → MockForm.60f0a0c9.js} +2 -2
- abstra_statics/dist/assets/Navbar.6beb23a2.js +2 -0
- abstra_statics/dist/assets/{NewEditor.44a9115d.js → NewEditor.a3f0cf6f.js} +5 -5
- abstra_statics/dist/assets/OidcLoginCallback.5d621b1e.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.726fd77b.js +2 -0
- abstra_statics/dist/assets/{OmniChat.0152feb0.js → OmniChat.65218812.js} +2 -2
- abstra_statics/dist/assets/{OnboardingView.87e7dd5a.js → OnboardingView.7b28e3d9.js} +2 -2
- abstra_statics/dist/assets/{Organization.9e473847.js → Organization.4d764c53.js} +2 -2
- abstra_statics/dist/assets/Organizations.99154f7f.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.412b5e18.js → PhArrowCounterClockwise.vue.731eb94b.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.f8745aca.js → PhArrowSquareOut.vue.da6ece6b.js} +2 -2
- abstra_statics/dist/assets/{PhBookBookmark.vue.9aa9ef2e.js → PhBookBookmark.vue.129658c0.js} +2 -2
- abstra_statics/dist/assets/{PhChats.vue.d6b59014.js → PhChats.vue.3eae87f1.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.a0df4d36.js → PhClockCounterClockwise.vue.83a88fd2.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.c5a6ae9d.js → PhCopy.vue.889171d4.js} +2 -2
- abstra_statics/dist/assets/PhCopySimple.vue.fa1be768.js +2 -0
- abstra_statics/dist/assets/{PhCube.vue.fb3e6ff4.js → PhCube.vue.c868f288.js} +2 -2
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.f70cea78.js → PhDotsThreeVertical.vue.82ed05fc.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.0f718f50.js → PhDownloadSimple.vue.32b4f321.js} +2 -2
- abstra_statics/dist/assets/{PhFolderPlus.vue.62f8ca48.js → PhFolderPlus.vue.9b394b08.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.f08cfdf5.js → PhGear.vue.bd7172cf.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.0a54e40c.js → PhKey.vue.e1681937.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.d787cc70.js → PhPencil.vue.6abcb050.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.22b071d6.js → PhPencilSimple.vue.9dc4c516.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimpleLine.vue.9a1c7eaa.js → PhPencilSimpleLine.vue.516b8dd0.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.df3fb791.js → PhRocket.vue.6310b8e2.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.a4fe2185.js → PhSignOut.vue.33352908.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.85f211d8.js → PhSparkle.vue.aaea2035.js} +2 -2
- abstra_statics/dist/assets/{PhUserList.vue.1da93bbd.js → PhUserList.vue.66442c99.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.ad14fabd.js → PhUsersThree.vue.dd3dd5e5.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.872d4c72.js → PhWebhooksLogo.vue.3159b8c2.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.171bf305.js → PlayerConfigProvider.608f994d.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.526fab6f.js → PlayerNavbar.db2b0cc0.js} +2 -2
- abstra_statics/dist/assets/{Project.0d5075ee.js → Project.b5f0a540.js} +2 -2
- abstra_statics/dist/assets/ProjectLogin.ca80209f.js +2 -0
- abstra_statics/dist/assets/{ProjectSettings.42270d9c.js → ProjectSettings.c69dc60b.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.069081b7.js → ProjectsView.7ea6a476.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.b04687f7.js → SaveButton.45360af6.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.1e7f6307.js → Sidebar.5b02858f.js} +2 -2
- abstra_statics/dist/assets/{Sql.b1300e7e.js → Sql.f80e393a.js} +3 -3
- abstra_statics/dist/assets/Steps.2a44bd5a.js +2 -0
- abstra_statics/dist/assets/{TableEditor.ab91c3a5.js → TableEditor.9f5307b3.js} +2 -2
- abstra_statics/dist/assets/Tables.c8410571.js +2 -0
- abstra_statics/dist/assets/{TablesDiagram.219dafea.js → TablesDiagram.174bf25c.js} +2 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.d32d5407.js +2 -0
- abstra_statics/dist/assets/{Tasks.ec374896.js → Tasks.6bf6e3ab.js} +2 -2
- abstra_statics/dist/assets/{UploadOutlined.0febb328.js → UploadOutlined.17748ead.js} +2 -2
- abstra_statics/dist/assets/{View.fb46eda6.js → View.fc004ade.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.70fb2375.js → View.vue_vue_type_script_setup_true_lang.b156d2b4.js} +2 -2
- abstra_statics/dist/assets/{Watermark.2c100fb0.js → Watermark.3f4c77a5.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.3fbca28c.js → WebEditor.1b4c1d6e.js} +2 -2
- abstra_statics/dist/assets/{WidgetPreview.fe9eac30.js → WidgetPreview.b3a57be6.js} +2 -2
- abstra_statics/dist/assets/{ant-design.a7203613.js → ant-design.4dde64bb.js} +2 -2
- abstra_statics/dist/assets/{apiKey.36511602.js → apiKey.2481730b.js} +2 -2
- abstra_statics/dist/assets/asyncComputed.24fa122c.js +2 -0
- abstra_statics/dist/assets/{build.3d214204.js → build.5e49b52b.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.a41e45a3.js +2 -0
- abstra_statics/dist/assets/{console.6be03675.js → console.d4555e1e.js} +2 -2
- abstra_statics/dist/assets/constants.4f491067.js +2 -0
- abstra_statics/dist/assets/{cssMode.0190ddfd.js → cssMode.94fba5f4.js} +2 -2
- abstra_statics/dist/assets/datetime.215ab936.js +2 -0
- abstra_statics/dist/assets/dayjs.cad6407e.js +2 -0
- abstra_statics/dist/assets/{editor.771a972f.js → editor.68f10cac.js} +2 -2
- abstra_statics/dist/assets/editor.main.d5278805.js +2 -0
- abstra_statics/dist/assets/fetch.b229b6c0.js +2 -0
- abstra_statics/dist/assets/{files.2e1c6b7d.js → files.2d03f0a6.js} +2 -2
- abstra_statics/dist/assets/folder.c0b92096.js +2 -0
- abstra_statics/dist/assets/{freemarker2.7b845050.js → freemarker2.a8ae0e5a.js} +2 -2
- abstra_statics/dist/assets/{handlebars.b2522067.js → handlebars.3529fc9d.js} +3 -3
- abstra_statics/dist/assets/{html.72be183a.js → html.193c548a.js} +2 -2
- abstra_statics/dist/assets/{htmlMode.907f3161.js → htmlMode.5669aea7.js} +2 -2
- abstra_statics/dist/assets/{index.85d1a54f.js → index.17c59820.js} +2 -2
- abstra_statics/dist/assets/{index.6b334162.js → index.17c9890b.js} +2 -2
- abstra_statics/dist/assets/{index.887b9cea.js → index.2f9d5f42.js} +2 -2
- abstra_statics/dist/assets/{index.00bda673.js → index.341d2d78.js} +2 -2
- abstra_statics/dist/assets/{index.3369e1c3.js → index.590aa576.js} +2 -2
- abstra_statics/dist/assets/{index.644cef68.js → index.84a81069.js} +2 -2
- abstra_statics/dist/assets/index.9d0d77b2.js +2 -0
- abstra_statics/dist/assets/index.c3ea2813.js +2 -0
- abstra_statics/dist/assets/{index.18f988e9.js → index.ee7c5f13.js} +2 -2
- abstra_statics/dist/assets/index.fd173cc0.js +2 -0
- abstra_statics/dist/assets/{javascript.13ddefba.js → javascript.ff046b2c.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.cccb83b3.js → jsonMode.c051f145.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.611ae497.js → jwt-decode.esm.f18c394f.js} +7 -7
- abstra_statics/dist/assets/{linters.46cf69bd.js → linters.e4e7bac9.js} +2 -2
- abstra_statics/dist/assets/{liquid.91546d57.js → liquid.98fcb8a3.js} +3 -3
- abstra_statics/dist/assets/member.d0ead44d.js +2 -0
- abstra_statics/dist/assets/{metadata.72772346.js → metadata.218ef86b.js} +2 -2
- abstra_statics/dist/assets/{omniChatStore.9863f4c9.js → omniChatStore.405dd08d.js} +2 -2
- abstra_statics/dist/assets/{organization.b7e48cf9.js → organization.c20116a5.js} +2 -2
- abstra_statics/dist/assets/player.30fb0733.js +2 -0
- abstra_statics/dist/assets/{plotly.min.9d629259.js → plotly.min.b26aecc2.js} +2 -2
- abstra_statics/dist/assets/polling.775bd07d.js +2 -0
- abstra_statics/dist/assets/{project.f311bb5d.js → project.d26f784f.js} +2 -2
- abstra_statics/dist/assets/{python.11017bf1.js → python.6f801519.js} +3 -3
- abstra_statics/dist/assets/{razor.a34acd16.js → razor.80957baf.js} +2 -2
- abstra_statics/dist/assets/{record.88233bcd.js → record.f0e74f25.js} +2 -2
- abstra_statics/dist/assets/redirect.47662fd9.js +2 -0
- abstra_statics/dist/assets/{repository.7471bf9f.js → repository.75210ebd.js} +2 -2
- abstra_statics/dist/assets/{repository.4376f3d5.js → repository.d2158c5f.js} +2 -2
- abstra_statics/dist/assets/{router.1f8c25cb.js → router.9924fce0.js} +3 -3
- abstra_statics/dist/assets/{string.12f8032a.js → string.c4805024.js} +2 -2
- abstra_statics/dist/assets/{tables.5944415f.js → tables.4cd227ff.js} +2 -2
- abstra_statics/dist/assets/{tasksController.96c29436.js → tasksController.f0830c77.js} +3 -3
- abstra_statics/dist/assets/{toggleHighContrast.b35b098c.js → toggleHighContrast.d8b2c912.js} +7 -7
- abstra_statics/dist/assets/{tsMode.e6cc8920.js → tsMode.7de6acfd.js} +2 -2
- abstra_statics/dist/assets/{typescript.74643ff2.js → typescript.78bce6b9.js} +3 -3
- abstra_statics/dist/assets/url.f54a173c.js +2 -0
- abstra_statics/dist/assets/{userStore.2632fa83.js → userStore.1345e655.js} +2 -2
- abstra_statics/dist/assets/uuid.2e8600ec.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.d870ecf6.js → vue-flow-background.57038ee0.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.b5c1d4e1.js → vue-quill.esm-bundler.130627ea.js} +2 -2
- abstra_statics/dist/assets/workspaceStore.29138ee5.js +2 -0
- abstra_statics/dist/assets/{xml.ff273c0a.js → xml.46fa5b06.js} +3 -3
- abstra_statics/dist/assets/{yaml.7fe41d58.js → yaml.775c20d7.js} +3 -3
- abstra_statics/dist/console.html +15 -15
- abstra_statics/dist/editor.html +11 -11
- abstra_statics/dist/player.html +9 -9
- abstra_internals/utils/threading.py +0 -24
- abstra_internals/utils/websockets.py +0 -79
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b5d6685a.js +0 -2
- abstra_statics/dist/assets/ApiKeys.c3f389e0.js +0 -2
- abstra_statics/dist/assets/App.9dd0b77a.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.3921dda6.js +0 -2
- abstra_statics/dist/assets/Billing.fd83dd78.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.b631df3b.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.e31ada03.js +0 -2
- abstra_statics/dist/assets/ContentLayout.3aa966dd.js +0 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.78b2e715.js +0 -2
- abstra_statics/dist/assets/EnvVars.499ec26c.js +0 -2
- abstra_statics/dist/assets/Error.cb93e0e7.js +0 -2
- abstra_statics/dist/assets/Form.6ad486f6.js +0 -2
- abstra_statics/dist/assets/Home.23434c66.js +0 -2
- abstra_statics/dist/assets/Home.8703c037.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.5d37f646.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.9851c13d.js +0 -2
- abstra_statics/dist/assets/Login.d7667a41.js +0 -2
- abstra_statics/dist/assets/Logs.819710e0.js +0 -2
- abstra_statics/dist/assets/LogsController.01feb949.js +0 -2
- abstra_statics/dist/assets/Main.9732085e.js +0 -2
- abstra_statics/dist/assets/Navbar.2a821b28.js +0 -2
- abstra_statics/dist/assets/OidcLoginCallback.488ca2a1.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.32654f13.js +0 -2
- abstra_statics/dist/assets/Organizations.4a51e135.js +0 -2
- abstra_statics/dist/assets/PhCopySimple.vue.ae2a0dda.js +0 -2
- abstra_statics/dist/assets/ProjectLogin.3aab045f.js +0 -2
- abstra_statics/dist/assets/Steps.aa7e59b1.js +0 -2
- abstra_statics/dist/assets/Tables.bcc29e4f.js +0 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.09e41362.js +0 -2
- abstra_statics/dist/assets/asyncComputed.97ac15a2.js +0 -2
- abstra_statics/dist/assets/colorHelpers.729d7a40.js +0 -2
- abstra_statics/dist/assets/constants.60843cd3.js +0 -2
- abstra_statics/dist/assets/datetime.39f65a27.js +0 -2
- abstra_statics/dist/assets/dayjs.3a6ced6e.js +0 -2
- abstra_statics/dist/assets/editor.main.aa5842e8.js +0 -2
- abstra_statics/dist/assets/fetch.bc00bb7a.js +0 -2
- abstra_statics/dist/assets/folder.10930186.js +0 -2
- abstra_statics/dist/assets/index.4f928bfe.js +0 -2
- abstra_statics/dist/assets/index.c36bb044.js +0 -2
- abstra_statics/dist/assets/index.c85af12a.js +0 -2
- abstra_statics/dist/assets/member.0b1d7ee4.js +0 -2
- abstra_statics/dist/assets/player.63b74a06.js +0 -2
- abstra_statics/dist/assets/polling.06d43d12.js +0 -2
- abstra_statics/dist/assets/redirect.5f56a6ae.js +0 -2
- abstra_statics/dist/assets/url.b17313e6.js +0 -2
- abstra_statics/dist/assets/uuid.8943c176.js +0 -2
- abstra_statics/dist/assets/workspaceStore.5c88cf6a.js +0 -2
- {abstra-3.23.2.dist-info → abstra-3.23.4.dist-info}/WHEEL +0 -0
- {abstra-3.23.2.dist-info → abstra-3.23.4.dist-info}/entry_points.txt +0 -0
- {abstra-3.23.2.dist-info → abstra-3.23.4.dist-info}/top_level.txt +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as h,am as n,c as i,o as t,a5 as l,a7 as c,h as y,e6 as f,e as r}from"./jwt-decode.esm.611ae497.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[a]="7e9de032-96e2-43db-bd73-5dad81a27743",o._sentryDebugIdIdentifier="sentry-dbid-7e9de032-96e2-43db-bd73-5dad81a27743")}catch{}})();const v=["width","height","fill","transform"],Z={key:0},w=r("path",{d:"M180,64H40A12,12,0,0,0,28,76V216a12,12,0,0,0,12,12H180a12,12,0,0,0,12-12V76A12,12,0,0,0,180,64ZM168,204H52V88H168ZM228,40V180a12,12,0,0,1-24,0V52H76a12,12,0,0,1,0-24H216A12,12,0,0,1,228,40Z"},null,-1),b=[w],A={key:1},M=r("path",{d:"M184,72V216H40V72Z",opacity:"0.2"},null,-1),k=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),B=[M,k],I={key:2},S=r("path",{d:"M192,72V216a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V72a8,8,0,0,1,8-8H184A8,8,0,0,1,192,72Zm24-40H72a8,8,0,0,0,0,16H208V184a8,8,0,0,0,16,0V40A8,8,0,0,0,216,32Z"},null,-1),C=[S],D={key:3},_=r("path",{d:"M184,66H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H184a6,6,0,0,0,6-6V72A6,6,0,0,0,184,66Zm-6,144H46V78H178ZM222,40V184a6,6,0,0,1-12,0V46H72a6,6,0,0,1,0-12H216A6,6,0,0,1,222,40Z"},null,-1),x=[_],z={key:4},N=r("path",{d:"M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"},null,-1),E=[N],P={key:5},$=r("path",{d:"M184,68H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H184a4,4,0,0,0,4-4V72A4,4,0,0,0,184,68Zm-4,144H44V76H180ZM220,40V184a4,4,0,0,1-8,0V44H72a4,4,0,0,1,0-8H216A4,4,0,0,1,220,40Z"},null,-1),j=[$],q={name:"PhCopySimple"},G=h({...q,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(o){const a=o,s=n("weight","regular"),u=n("size","1em"),V=n("color","currentColor"),p=n("mirrored",!1),d=i(()=>{var e;return(e=a.weight)!=null?e:s}),H=i(()=>{var e;return(e=a.size)!=null?e:u}),g=i(()=>{var e;return(e=a.color)!=null?e:V}),m=i(()=>a.mirrored!==void 0?a.mirrored?"scale(-1, 1)":void 0:p?"scale(-1, 1)":void 0);return(e,F)=>(t(),l("svg",f({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:H.value,height:H.value,fill:g.value,transform:m.value},e.$attrs),[c(e.$slots,"default"),d.value==="bold"?(t(),l("g",Z,b)):d.value==="duotone"?(t(),l("g",A,B)):d.value==="fill"?(t(),l("g",I,C)):d.value==="light"?(t(),l("g",D,x)):d.value==="regular"?(t(),l("g",z,E)):d.value==="thin"?(t(),l("g",P,j)):y("",!0)],16,v))}});export{G as I};
|
|
2
|
-
//# sourceMappingURL=PhCopySimple.vue.ae2a0dda.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as f}from"./AbstraLogo.vue_vue_type_script_setup_true_lang.b5d6685a.js";import{B as m}from"./BaseLayout.d1e9245a.js";import{d as l,ae as y,c1 as v,_ as u,aZ as g,a_ as b,o as _,a5 as h,e as r,a6 as n,eb as w,e5 as S,k,a as L,b as s,f as i,u as x}from"./jwt-decode.esm.611ae497.js";import{u as B}from"./editor.771a972f.js";import{A as I}from"./index.c36bb044.js";import"./Logo.e83946ea.js";import"./workspaceStore.5c88cf6a.js";import"./userStore.2632fa83.js";import"./url.b17313e6.js";import"./colorHelpers.729d7a40.js";import"./index.00bda673.js";import"./linters.46cf69bd.js";import"./asyncComputed.97ac15a2.js";import"./constants.60843cd3.js";import"./index.18f988e9.js";import"./Breadcrumb.b1d16b92.js";import"./index.6b334162.js";import"./index.c85af12a.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9e0f88de-eab7-4687-8512-2a39c4faeb40",e._sentryDebugIdIdentifier="sentry-dbid-9e0f88de-eab7-4687-8512-2a39c4faeb40")}catch{}})();const $=l({props:{loading:{type:Boolean,default:!0},color:{type:String,default:"#ea576a"},size:{type:String,default:"10px"},radius:{type:String,default:"100%"}},setup(e){const o=y({spinnerStyle:{width:e.size,height:e.size,borderRadius:e.radius,backgroundColor:e.color}});return{...v(o)}}});const P={class:"v-spinner"};function D(e,o,a,d,c,p){return g((_(),h("div",P,[r("div",{class:"v-beat v-beat-odd",style:n(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-even",style:n(e.spinnerStyle)},null,4),r("div",{class:"v-beat v-beat-odd",style:n(e.spinnerStyle)},null,4)],512)),[[b,e.loading]])}const R=u($,[["render",D],["__scopeId","data-v-06538001"]]),j={class:"content"},z=l({__name:"ProjectLogin",setup(e){const o=w(),a=S(),d=B();function c(){const t=new URL(location.href);t.searchParams.delete("api-key"),a.replace(t.pathname+t.search)}function p(){const t=o.query["api-key"];if(typeof t=="string")return t}return k(async()=>{const t=p();if(!t){a.push({name:"error"});return}await d.createLogin(t).then(c),a.push({name:"editor"})}),(t,A)=>(_(),L(m,null,{navbar:s(()=>[i(x(I),{style:{padding:"5px 25px",border:"1px solid #f0f0f0"}},{title:s(()=>[i(f)]),_:1})]),content:s(()=>[r("div",j,[i(R)])]),_:1}))}});const Y=u(z,[["__scopeId","data-v-d2a19803"]]);export{Y as default};
|
|
2
|
-
//# sourceMappingURL=ProjectLogin.3aab045f.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{A as o}from"./index.85d1a54f.js";import{d as a,c as r,a5 as p,f as d,u as l,ea as f,h as c,o as i,_ as u}from"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b7b49b04-269d-44ad-9427-056e589e29ba",e._sentryDebugIdIdentifier="sentry-dbid-b7b49b04-269d-44ad-9427-056e589e29ba")}catch{}})();const _=a({__name:"Steps",props:{stepsInfo:{},isPreview:{type:Boolean}},setup(e){const s=e,n=r(()=>s.stepsInfo?Array(s.stepsInfo.total).fill(null).map(()=>({label:"",description:""})):[]);return(t,b)=>t.stepsInfo?(i(),p("nav",{key:0,class:f(["p-steps",{"full-screen":!t.isPreview}])},[d(l(o),{current:t.stepsInfo.current-1,items:n.value,responsive:!1},null,8,["current","items"])],2)):c("",!0)}});const I=u(_,[["__scopeId","data-v-58fdd395"]]);export{I as S};
|
|
2
|
-
//# sourceMappingURL=Steps.aa7e59b1.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as _}from"./CrudView.78833c51.js";import{o as l}from"./omniChatStore.9863f4c9.js";import{a as k}from"./ant-design.a7203613.js";import{a as C}from"./asyncComputed.97ac15a2.js";import{a as m}from"./string.12f8032a.js";import{G as T}from"./PhPencil.vue.d787cc70.js";import{d as h,e5 as w,eb as I,c as x,k as E,aq as D,a5 as N,f as c,u as S,aR as v,o as A,ep as B}from"./jwt-decode.esm.611ae497.js";import"./router.1f8c25cb.js";import{T as d}from"./tables.5944415f.js";import{_ as R}from"./TablesTabs.vue_vue_type_script_setup_true_lang.09e41362.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.78b2e715.js";import"./constants.60843cd3.js";import"./url.b17313e6.js";import"./PhDotsThreeVertical.vue.f70cea78.js";import"./index.c85af12a.js";import"./record.88233bcd.js";import"./uuid.8943c176.js";import"./PhCopySimple.vue.ae2a0dda.js";import"./index.18f988e9.js";import"./Card.8279f4c6.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="cfd8f533-f59e-404d-b00c-325519bcebbb",a._sentryDebugIdIdentifier="sentry-dbid-cfd8f533-f59e-404d-b00c-325519bcebbb")}catch{}})();const ae=h({__name:"Tables",setup(a){const o=w(),t=I().params.projectId,{loading:u,result:p,refetch:s}=C(()=>d.list(t)),f=async e=>{const r=await d.create(t,e.name);o.push({name:"tableEditor",params:{tableId:r.id,projectId:t}})},y=x(()=>{var e,r;return{columns:[{title:"Table Name"},{title:"",align:"right"}],rows:(r=(e=p.value)==null?void 0:e.map(n=>({key:n.id,cells:[{type:"link",text:n.name,to:{name:"tableEditor",params:{tableId:n.id,projectId:t}}},{type:"actions",actions:[{icon:T,label:"Edit Table",onClick({key:i}){o.push({name:"tableEditor",params:{tableId:i,projectId:t}})}},{icon:B,label:"Delete",dangerous:!0,async onClick(){!await k("Are you sure you want to delete this table and all its data?")||(await n.delete(t,n.id),s())}}]}]})))!=null?r:[]}}),g=[{key:"name",label:"Table name",type:"text",format:e=>m(e,!0),blur:e=>m(e,!1)}];return E(()=>{const e=l.subscribe("tableCreated",()=>{s()});D(()=>{l.unsubscribe(e)})}),(e,r)=>(A(),N(v,null,[c(R),c(_,{"entity-name":"table",loading:S(u),"docs-path":"tools/tables",title:"Tables",description:"Create and manage your database tables here.","empty-title":"No tables here yet",table:y.value,fields:g,"create-button-text":"Create Table",create:f},null,8,["loading","table"])],64))}});export{ae as default};
|
|
2
|
-
//# sourceMappingURL=Tables.bcc29e4f.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as f,e5 as i,eb as m,o as l,a as p,b as u,a5 as _,ec as g,f as y,e as v,ed as k,u as n,aR as w}from"./jwt-decode.esm.611ae497.js";import{A as I,T}from"./Card.8279f4c6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4f102cb9-f3b0-4449-afdf-ba2a4f1e3fb9",e._sentryDebugIdIdentifier="sentry-dbid-4f102cb9-f3b0-4449-afdf-ba2a4f1e3fb9")}catch{}})();const R=f({__name:"TablesTabs",setup(e){const a=i(),t=m(),c=String(t.name),b=t.params.projectId,r=[{label:"Tables list",value:"tables"},{label:"Diagram view",value:"tables-diagram"},{label:"Run SQL",value:"sql"}],d=o=>{a.push({name:String(o),params:{projectId:b}})};return(o,D)=>(l(),p(n(T),{"active-key":n(c),options:r,"onUpdate:activeKey":d},{default:u(()=>[(l(),_(w,null,g(r,s=>y(n(I),{key:s.value,name:s.value},{tab:u(()=>[v("span",null,k(s.label),1)]),_:2},1032,["name"])),64))]),_:1},8,["active-key"]))}});export{R as _};
|
|
2
|
-
//# sourceMappingURL=TablesTabs.vue_vue_type_script_setup_true_lang.09e41362.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{N as c,c as l}from"./jwt-decode.esm.611ae497.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="ac39c2c3-a3e8-4f2d-991b-4fd5d5f2bf6b",r._sentryDebugIdIdentifier="sentry-dbid-ac39c2c3-a3e8-4f2d-991b-4fd5d5f2bf6b")}catch{}})();const i=r=>{const e=c({loading:!0,result:null,error:null}),n=t=>(e.value={loading:!1,result:t,error:null},t),s=t=>{e.value={loading:!1,result:null,error:t}},o=async()=>(e.value={loading:!0,result:e.value.result,error:null},r().then(n).catch(s));o();const u=l(()=>e.value.loading),a=l(()=>e.value.result),d=l(()=>e.value.error);return{loading:u,result:a,error:d,refetch:o}};export{i as a};
|
|
2
|
-
//# sourceMappingURL=asyncComputed.97ac15a2.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.611ae497.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="656f201d-7244-4691-a0bf-78ad24990314",t._sentryDebugIdIdentifier="sentry-dbid-656f201d-7244-4691-a0bf-78ad24990314")}catch{}})();function p(t,e){const{r:n,g:r,b:o,usePound:s}=g(t);return w(c(n,-e),c(r,-e),c(o,-e),s)}function c(t,e){const n=t*(100+e*100)/100;return n>255?255:n<0?0:Math.round(n)}function E(t){return t.startsWith("#")||t.match(/^(rgb|hsl)/)}const v=(t,e)=>y(p(y(t),e)),P=t=>k(t)?v(t,.1):p(t,.1);function k(t){const{r:e,g:n,b:r}=g(t);return e*.299+n*.587+r*.114<186}function g(t){let e=!1;t[0]=="#"&&(t=t.slice(1),e=!0);const n=parseInt(t,16);return{r:n>>16&255,g:n>>8&255,b:n&255,usePound:e}}function y(t){const{r:e,g:n,b:r,usePound:o}=g(t);return w(255-e,255-n,255-r,o)}const w=(t,e,n,r=!0)=>(r?"#":"")+(n|e<<8|t<<16).toString(16).padStart(6,"0");function _(t){return new Promise((e,n)=>{const r=document.createElement("img");r.src=t,r.crossOrigin="Anonymous",r.style.display="none",document.body.appendChild(r);let o=0;r.onerror=s=>n(new Error(`Failed to load image: ${s}`)),r.onload=()=>{const{width:s,height:f}=r,a=document.createElement("canvas");a.width=s,a.height=f;const u=a.getContext("2d");if(!u)return e(!1);u.drawImage(r,0,0);const I=u.getImageData(0,0,a.width,a.height),{data:d}=I;let l,h,b,m;for(let i=0,x=d.length;i<x;i+=4)l=d[i],h=d[i+1],b=d[i+2],m=Math.floor((l+h+b)/3),o+=m;const D=Math.floor(o/(s*f));document.body.removeChild(r),e(D<=127)}})}export{k as a,_ as b,P as c,E as i,v as l};
|
|
2
|
-
//# sourceMappingURL=colorHelpers.729d7a40.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5d6873cc-4fd5-4eca-be23-2203eb218e0e",e._sentryDebugIdIdentifier="sentry-dbid-5d6873cc-4fd5-4eca-be23-2203eb218e0e")}catch{}})();const s={HOMEPAGE:{}.VITE_HOMEPAGE_URL||"https://abstra.io",DOCS:{}.VITE_DOCS_URL||"https://abstra.io/docs",CLOUD:{}.VITE_CONSOLE_URL||"https://cloud.abstra.io",GITHUB:{}.VITE_GITHUB_URL||"https://github.com/abstra-app/abstra-lib"},n=e=>{if(!e)return s.DOCS;const t=e.startsWith("/")?e.slice(1):e;return`${s.DOCS}/${t}`};export{s as A,n as b};
|
|
2
|
-
//# sourceMappingURL=constants.60843cd3.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="2bb2b1df-0ebd-4753-8f41-ba194cd7eb93",e._sentryDebugIdIdentifier="sentry-dbid-2bb2b1df-0ebd-4753-8f41-ba194cd7eb93")}catch{}})();function n(e,d){return e.toLocaleString(void 0,{hour12:!1,timeZoneName:"short",day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"long",...d})}export{n as g};
|
|
2
|
-
//# sourceMappingURL=datetime.39f65a27.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{X as c,dJ as s,dK as i}from"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="0aefdf8b-9cb5-42b4-9c6d-a6d168f7e8da",e._sentryDebugIdIdentifier="sentry-dbid-0aefdf8b-9cb5-42b4-9c6d-a6d168f7e8da")}catch{}})();const{DatePicker:n,WeekPicker:t,MonthPicker:r,YearPicker:f,TimePicker:b,QuarterPicker:a,RangePicker:d}=s(i),u=c(n,{WeekPicker:t,MonthPicker:r,YearPicker:f,RangePicker:d,TimePicker:b,QuarterPicker:a,install:e=>(e.component(n.name,n),e.component(d.name,d),e.component(r.name,r),e.component(t.name,t),e.component(a.name,a),e)});export{u as D,r as M,a as Q,d as R,t as W};
|
|
2
|
-
//# sourceMappingURL=dayjs.3a6ced6e.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as t,E as d,K as i,a as f,M as c,c as l,P as y,R as b,S as g,b as u,T as k,U as p,e as w,l as D}from"./toggleHighContrast.b35b098c.js";import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c18854f6-1af1-4cb9-8864-439fd55d1490",e._sentryDebugIdIdentifier="sentry-dbid-c18854f6-1af1-4cb9-8864-439fd55d1490")}catch{}})();export{t as CancellationTokenSource,d as Emitter,i as KeyCode,f as KeyMod,c as MarkerSeverity,l as MarkerTag,y as Position,b as Range,g as Selection,u as SelectionDirection,k as Token,p as Uri,w as editor,D as languages};
|
|
2
|
-
//# sourceMappingURL=editor.main.aa5842e8.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},d=new Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="02a2d11d-2787-4566-b32e-36c195eca34a",e._sentryDebugIdIdentifier="sentry-dbid-02a2d11d-2787-4566-b32e-36c195eca34a")}catch{}})();const o=(...e)=>window.fetch(...e);export{o as l};
|
|
2
|
-
//# sourceMappingURL=fetch.bc00bb7a.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{h as r}from"./router.1f8c25cb.js";import"./jwt-decode.esm.611ae497.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="946d83f6-4348-4306-af52-600834974c6b",a._sentryDebugIdIdentifier="sentry-dbid-946d83f6-4348-4306-af52-600834974c6b")}catch{}})();class o{async list(e){return r.get(`organizations/${e}/folders`)}async create(e){return r.post(`organizations/${e.organizationId}/folders`,{name:e.name,memberIds:e.memberIds})}async checkNameAvailability(e,n){return r.post(`organizations/${e}/folders/name-available`,{folderName:n})}async delete(e,n){return r.delete(`organizations/${e}/folders/${n}`)}async update(e,n){return r.patch(`organizations/${e}/folders/${n.id}/`,{name:n.name,memberIds:n.memberIds})}}export{o as F};
|
|
2
|
-
//# sourceMappingURL=folder.10930186.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as o}from"./Card.8279f4c6.js";import{d as b,ag as g,bT as c,f as r,bD as i,c as y}from"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b8946b93-cc7e-4f58-a249-cc554e40e228",e._sentryDebugIdIdentifier="sentry-dbid-b8946b93-cc7e-4f58-a249-cc554e40e228")}catch{}})();const _=()=>({prefixCls:String,title:i(),description:i(),avatar:i()}),d=b({compatConfig:{MODE:3},name:"ACardMeta",props:_(),slots:Object,setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e);return()=>{const l={[`${t.value}-meta`]:!0},s=c(a,e,"avatar"),v=c(a,e,"title"),f=c(a,e,"description"),C=s?r("div",{class:`${t.value}-meta-avatar`},[s]):null,m=v?r("div",{class:`${t.value}-meta-title`},[v]):null,p=f?r("div",{class:`${t.value}-meta-description`},[f]):null,D=m||p?r("div",{class:`${t.value}-meta-detail`},[m,p]):null;return r("div",{class:l},[C,D])}}}),M=()=>({prefixCls:String,hoverable:{type:Boolean,default:!0}}),u=b({compatConfig:{MODE:3},name:"ACardGrid",__ANT_CARD_GRID:!0,props:M(),setup(e,n){let{slots:a}=n;const{prefixCls:t}=g("card",e),l=y(()=>({[`${t.value}-grid`]:!0,[`${t.value}-grid-hoverable`]:e.hoverable}));return()=>{var s;return r("div",{class:l.value},[(s=a.default)===null||s===void 0?void 0:s.call(a)])}}});o.Meta=d;o.Grid=u;o.install=function(e){return e.component(o.name,o),e.component(d.name,d),e.component(u.name,u),e};export{u as G,d as M};
|
|
2
|
-
//# sourceMappingURL=index.4f928bfe.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as N,ag as F,aD as G,f as o,aj as T,aP as X,ab as ee,ac as te,X as f,an as ae,dF as re,ao as z,ad as ne,N as le,dG as ie,c as oe,ah as ce,ak as se,bD as b,av as de,as as ue,aQ as ge,dH as fe,bK as be,bN as pe}from"./jwt-decode.esm.611ae497.js";import{B as p,A as B}from"./Breadcrumb.b1d16b92.js";import{A as me}from"./index.6b334162.js";import{A as ve}from"./index.c85af12a.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="0b779f35-4e9b-42f6-9e2c-cf835e93c69b",e._sentryDebugIdIdentifier="sentry-dbid-0b779f35-4e9b-42f6-9e2c-cf835e93c69b")}catch{}})();var he=globalThis&&globalThis.__rest||function(e,a){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&a.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++)a.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i])&&(r[t[i]]=e[t[i]]);return r};const Se=()=>({prefixCls:String}),C=N({compatConfig:{MODE:3},name:"ABreadcrumbSeparator",__ANT_BREADCRUMB_SEPARATOR:!0,inheritAttrs:!1,props:Se(),setup(e,a){let{slots:r,attrs:t}=a;const{prefixCls:i}=F("breadcrumb",e);return()=>{var s;const{separator:O,class:m}=t,H=he(t,["separator","class"]),y=G((s=r.default)===null||s===void 0?void 0:s.call(r));return o("span",T({class:[`${i.value}-separator`,m]},H),[y.length>0?y:"/"])}}});p.Item=B;p.Separator=C;p.install=function(e){return e.component(p.name,p),e.component(B.name,B),e.component(C.name,C),e};var ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"};const Oe=ye;function M(e){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?Object(arguments[a]):{},t=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),t.forEach(function(i){He(e,i,r[i])})}return e}function He(e,a,r){return a in e?Object.defineProperty(e,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[a]=r,e}var j=function(a,r){var t=M({},a,r.attrs);return o(X,M({},t,{icon:Oe}),null)};j.displayName="ArrowLeftOutlined";j.inheritAttrs=!1;const $e=j;var _e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M869 487.8L491.2 159.9c-2.9-2.5-6.6-3.9-10.5-3.9h-88.5c-7.4 0-10.8 9.2-5.2 14l350.2 304H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h585.1L386.9 854c-5.6 4.9-2.2 14 5.2 14h91.5c1.9 0 3.8-.7 5.2-2L869 536.2a32.07 32.07 0 000-48.4z"}}]},name:"arrow-right",theme:"outlined"};const we=_e;function E(e){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?Object(arguments[a]):{},t=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(t=t.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),t.forEach(function(i){Ae(e,i,r[i])})}return e}function Ae(e,a,r){return a in e?Object.defineProperty(e,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[a]=r,e}var R=function(a,r){var t=E({},a,r.attrs);return o(X,E({},t,{icon:we}),null)};R.displayName="ArrowRightOutlined";R.inheritAttrs=!1;const Pe=R,xe=e=>{const{componentCls:a,antCls:r}=e;return{[a]:f(f({},ae(e)),{position:"relative",padding:`${e.pageHeaderPaddingVertical}px ${e.pageHeaderPadding}px`,backgroundColor:e.colorBgContainer,[`&${a}-ghost`]:{backgroundColor:e.pageHeaderGhostBg},["&.has-footer"]:{paddingBottom:0},[`${a}-back`]:{marginRight:e.marginMD,fontSize:e.fontSizeLG,lineHeight:1,["&-button"]:f(f({},re(e)),{color:e.pageHeaderBackColor,cursor:"pointer"})},[`${r}-divider-vertical`]:{height:"14px",margin:`0 ${e.marginSM}`,verticalAlign:"middle"},[`${r}-breadcrumb + &-heading`]:{marginTop:e.marginXS},[`${a}-heading`]:{display:"flex",justifyContent:"space-between",["&-left"]:{display:"flex",alignItems:"center",margin:`${e.marginXS/2}px 0`,overflow:"hidden"},["&-title"]:f({marginRight:e.marginSM,marginBottom:0,color:e.colorTextHeading,fontWeight:600,fontSize:e.pageHeaderHeadingTitle,lineHeight:`${e.controlHeight}px`},z),[`${r}-avatar`]:{marginRight:e.marginSM},["&-sub-title"]:f({marginRight:e.marginSM,color:e.colorTextDescription,fontSize:e.pageHeaderHeadingSubTitle,lineHeight:e.lineHeight},z),["&-extra"]:{margin:`${e.marginXS/2}px 0`,whiteSpace:"nowrap",["> *"]:{marginLeft:e.marginSM,whiteSpace:"unset"},["> *:first-child"]:{marginLeft:0}}},[`${a}-content`]:{paddingTop:e.pageHeaderContentPaddingVertical},[`${a}-footer`]:{marginTop:e.marginMD,[`${r}-tabs`]:{[`> ${r}-tabs-nav`]:{margin:0,["&::before"]:{border:"none"}},[`${r}-tabs-tab`]:{paddingTop:e.paddingXS,paddingBottom:e.paddingXS,fontSize:e.pageHeaderTabFontSize}}},[`${a}-compact ${a}-heading`]:{flexWrap:"wrap"},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Te=ee("PageHeader",e=>{const a=te(e,{pageHeaderPadding:e.paddingLG,pageHeaderPaddingVertical:e.paddingMD,pageHeaderPaddingBreadcrumb:e.paddingSM,pageHeaderContentPaddingVertical:e.paddingSM,pageHeaderBackColor:e.colorTextBase,pageHeaderGhostBg:"transparent",pageHeaderHeadingTitle:e.fontSizeHeading4,pageHeaderHeadingSubTitle:e.fontSize,pageHeaderTabFontSize:e.fontSizeLG});return[xe(a)]}),Be=()=>({backIcon:b(),prefixCls:String,title:b(),subTitle:b(),breadcrumb:de.object,tags:b(),footer:b(),extra:b(),avatar:ue(),ghost:{type:Boolean,default:void 0},onBack:Function}),Ce=N({compatConfig:{MODE:3},name:"APageHeader",inheritAttrs:!1,props:Be(),slots:Object,setup(e,a){let{emit:r,slots:t,attrs:i}=a;const{prefixCls:s,direction:O,pageHeader:m}=F("page-header",e),[H,y]=Te(s),D=le(!1),V=ie(),U=n=>{let{width:l}=n;V.value||(D.value=l<768)},W=oe(()=>{var n,l,c;return(c=(n=e.ghost)!==null&&n!==void 0?n:(l=m==null?void 0:m.value)===null||l===void 0?void 0:l.ghost)!==null&&c!==void 0?c:!0}),Q=()=>{var n,l,c;return(c=(n=e.backIcon)!==null&&n!==void 0?n:(l=t.backIcon)===null||l===void 0?void 0:l.call(t))!==null&&c!==void 0?c:O.value==="rtl"?o(Pe,null,null):o($e,null,null)},q=n=>!n||!e.onBack?null:o(pe,{componentName:"PageHeader",children:l=>{let{back:c}=l;return o("div",{class:`${s.value}-back`},[o(be,{onClick:d=>{r("back",d)},class:`${s.value}-back-button`,"aria-label":c},{default:()=>[n]})])}},null),J=()=>{var n;return e.breadcrumb?o(p,e.breadcrumb,null):(n=t.breadcrumb)===null||n===void 0?void 0:n.call(t)},Y=()=>{var n,l,c,d,u,v,$,_,w;const{avatar:A}=e,h=(n=e.title)!==null&&n!==void 0?n:(l=t.title)===null||l===void 0?void 0:l.call(t),S=(c=e.subTitle)!==null&&c!==void 0?c:(d=t.subTitle)===null||d===void 0?void 0:d.call(t),P=(u=e.tags)!==null&&u!==void 0?u:(v=t.tags)===null||v===void 0?void 0:v.call(t),x=($=e.extra)!==null&&$!==void 0?$:(_=t.extra)===null||_===void 0?void 0:_.call(t),g=`${s.value}-heading`,I=h||S||P||x;if(!I)return null;const k=Q(),L=q(k);return o("div",{class:g},[(L||A||I)&&o("div",{class:`${g}-left`},[L,A?o(me,A,null):(w=t.avatar)===null||w===void 0?void 0:w.call(t),h&&o("span",{class:`${g}-title`,title:typeof h=="string"?h:void 0},[h]),S&&o("span",{class:`${g}-sub-title`,title:typeof S=="string"?S:void 0},[S]),P&&o("span",{class:`${g}-tags`},[P])]),x&&o("span",{class:`${g}-extra`},[o(ve,null,{default:()=>[x]})])])},Z=()=>{var n,l;const c=(n=e.footer)!==null&&n!==void 0?n:ge((l=t.footer)===null||l===void 0?void 0:l.call(t));return fe(c)?null:o("div",{class:`${s.value}-footer`},[c])},K=n=>o("div",{class:`${s.value}-content`},[n]);return()=>{var n,l;const c=((n=e.breadcrumb)===null||n===void 0?void 0:n.routes)||t.breadcrumb,d=e.footer||t.footer,u=G((l=t.default)===null||l===void 0?void 0:l.call(t)),v=ce(s.value,{"has-breadcrumb":c,"has-footer":d,[`${s.value}-ghost`]:W.value,[`${s.value}-rtl`]:O.value==="rtl",[`${s.value}-compact`]:D.value},i.class,y.value);return H(o(se,{onResize:U},{default:()=>[o("div",T(T({},i),{},{class:v}),[J(),Y(),u.length?K(u):null,Z()])]}))}}}),ze=ne(Ce);export{ze as A,C as B};
|
|
2
|
-
//# sourceMappingURL=index.c36bb044.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as P,ag as T,e0 as L,e1 as Q,c as o,r as O,w as W,aQ as X,f as p,X as m,aR as q,aj as j,cV as h,av as G,bt as B,aM as H,ah as J}from"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="da64e89c-550c-43f7-8e81-3a92c0eff5bc",e._sentryDebugIdIdentifier="sentry-dbid-da64e89c-550c-43f7-8e81-3a92c0eff5bc")}catch{}})();const K={small:8,middle:16,large:24},U=()=>({prefixCls:String,size:{type:[String,Number,Array]},direction:G.oneOf(B("horizontal","vertical")).def("horizontal"),align:G.oneOf(B("start","end","center","baseline")),wrap:H()});function Y(e){return typeof e=="string"?K[e]:e||0}const r=P({compatConfig:{MODE:3},name:"ASpace",inheritAttrs:!1,props:U(),slots:Object,setup(e,c){let{slots:l,attrs:g}=c;const{prefixCls:n,space:y,direction:w}=T("space",e),[E,F]=L(n),x=Q(),s=o(()=>{var a,t,i;return(i=(a=e.size)!==null&&a!==void 0?a:(t=y==null?void 0:y.value)===null||t===void 0?void 0:t.size)!==null&&i!==void 0?i:"small"}),b=O(),u=O();W(s,()=>{[b.value,u.value]=(Array.isArray(s.value)?s.value:[s.value,s.value]).map(a=>Y(a))},{immediate:!0});const z=o(()=>e.align===void 0&&e.direction==="horizontal"?"center":e.align),R=o(()=>J(n.value,F.value,`${n.value}-${e.direction}`,{[`${n.value}-rtl`]:w.value==="rtl",[`${n.value}-align-${z.value}`]:z.value})),V=o(()=>w.value==="rtl"?"marginLeft":"marginRight"),k=o(()=>{const a={};return x.value&&(a.columnGap=`${b.value}px`,a.rowGap=`${u.value}px`),m(m({},a),e.wrap&&{flexWrap:"wrap",marginBottom:`${-u.value}px`})});return()=>{var a,t;const{wrap:i,direction:M="horizontal"}=e,_=(a=l.default)===null||a===void 0?void 0:a.call(l),C=X(_),I=C.length;if(I===0)return null;const d=(t=l.split)===null||t===void 0?void 0:t.call(l),A=`${n.value}-item`,D=b.value,S=I-1;return p("div",j(j({},g),{},{class:[R.value,g.class],style:[k.value,g.style]}),[C.map((N,v)=>{let $=_.indexOf(N);$===-1&&($=`$$space-${v}`);let f={};return x.value||(M==="vertical"?v<S&&(f={marginBottom:`${D/(d?2:1)}px`}):f=m(m({},v<S&&{[V.value]:`${D/(d?2:1)}px`}),i&&{paddingBottom:`${u.value}px`})),E(p(q,{key:$},[p("div",{class:A,style:f},[N]),v<S&&d&&p("span",{class:`${A}-split`,style:f},[d])]))})])}}});r.Compact=h;r.install=function(e){return e.component(r.name,r),e.component(h.name,h),e};const ee=r;export{ee as A};
|
|
2
|
-
//# sourceMappingURL=index.c85af12a.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{h as n}from"./router.1f8c25cb.js";import"./jwt-decode.esm.611ae497.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="49791dd4-65fa-4c87-97be-386d35f55103",t._sentryDebugIdIdentifier="sentry-dbid-49791dd4-65fa-4c87-97be-386d35f55103")}catch{}})();class i{async create(e){return n.post(`organizations/${e.organizationId}/members`,{email:e.email,teams:e.teams})}async delete(e){return n.delete(`organizations/${e.organizationId}/members/${e.authorId}`)}async list(e){return n.get(`organizations/${e}/members`)}async get(e,r){return n.get(`organizations/${e}/members/${r}`)}async update(e,r,a){return n.patch(`organizations/${e}/members/${r}`,a)}}export{i as M};
|
|
2
|
-
//# sourceMappingURL=member.0b1d7ee4.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{y as n,z as r,B as o,C as c,P as f,D as d,E as p,F as m,G as a,H as u,I as g,J as y,K as l}from"./jwt-decode.esm.611ae497.js";import{a as b,b as i}from"./workspaceStore.5c88cf6a.js";import{s as w}from"./index.00bda673.js";import{_ as h}from"./App.vue_vue_type_style_index_0_lang.3921dda6.js";import"./userStore.2632fa83.js";import"./url.b17313e6.js";import"./colorHelpers.729d7a40.js";import"./PlayerConfigProvider.171bf305.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="03edf345-c70f-4c19-9518-3f2191f7f346",t._sentryDebugIdIdentifier="sentry-dbid-03edf345-c70f-4c19-9518-3f2191f7f346")}catch{}})();class I{static init(){setInterval(()=>{fetch("/_healthcheck").catch(()=>{})},20*1e3)}}(async()=>{await w();const t=await b(),s=n(),e=r({render:()=>u(h)});o.init(),c(e,i,t),I.init(),e.use(i),e.use(s),e.use(f),e.mount("#app"),e.component("VSelect",d),e.component("Markdown",p),e.component("Message",m),a(e,g),a(e,y),a(e,l)})();
|
|
2
|
-
//# sourceMappingURL=player.63b74a06.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="53bfa927-97d8-48e2-accc-bee4d2345011",e._sentryDebugIdIdentifier="sentry-dbid-53bfa927-97d8-48e2-accc-bee4d2345011")}catch{}})();const i=1e3,c=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var o;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(o=e.interval)!=null?o:i)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{c as u};
|
|
2
|
-
//# sourceMappingURL=polling.06d43d12.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i as s}from"./url.b17313e6.js";import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e3fb9694-c766-4e89-8bd4-8cca2b9dcced",e._sentryDebugIdIdentifier="sentry-dbid-e3fb9694-c766-4e89-8bd4-8cca2b9dcced")}catch{}})();function n(e){return e.startsWith("/")?e.slice(1):e}function d(e,r,c={}){if(s(r)){const a=new URL(r),t=new URLSearchParams(c),i=new URLSearchParams(a.search),o=new URLSearchParams([...i,...t]);return a.search=o.toString(),{action:"REPLACE_LOCAL_HREF",newHref:a.toString()}}else{const a=r.replace(/\/$/,"");if(e==="player")return{action:"GOTO_FORM_PLAYER",path:n(a),queryParams:c};if(e==="editor")return{action:"GOTO_FORM_EDITOR",path:n(a),queryParams:c};if(e==="preview")return{action:"GOTO_FORM_PLAYER",path:n(a),queryParams:c};throw new Error(`Invalid routing ${e}`)}}async function w(e,r,c,a={}){const t=d(e,c,a);switch(t.action){case"REPLACE_LOCAL_HREF":window.location.href=t.newHref;break;case"GOTO_FORM_EDITOR":await r.push({name:"formEditor",params:{formPath:t.path},query:t.queryParams});break;case"GOTO_FORM_PLAYER":await r.push({name:e==="preview"?"formPreview":"formPlayer",params:{formPath:t.path},query:t.queryParams});break;default:throw new Error("Invalid routing")}}export{w as r};
|
|
2
|
-
//# sourceMappingURL=redirect.5f56a6ae.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="af98a146-1134-4731-ac47-cfc1641f1963",e._sentryDebugIdIdentifier="sentry-dbid-af98a146-1134-4731-ac47-cfc1641f1963")}catch{}})();const f=e=>{try{return new URL(e),!0}catch{return!1}},o=(e,r)=>{if(!Object.keys(r).length)return e;const t=new URL(e),n=new URLSearchParams(t.search);return Object.entries(r).forEach(([a,s])=>{t.searchParams.delete(a),n.set(a,s)}),`${t.origin}${t.pathname}?${n.toString()}`};export{f as i,o as m};
|
|
2
|
-
//# sourceMappingURL=url.b17313e6.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./jwt-decode.esm.611ae497.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},x=new Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="6fd2338b-93ee-420f-9b2e-e7bc9d1fc0c9",e._sentryDebugIdIdentifier="sentry-dbid-6fd2338b-93ee-420f-9b2e-e7bc9d1fc0c9")}catch{}})();const d=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const x=Math.random()*16|0;return(e=="x"?x:x&3|8).toString(16)});export{d as u};
|
|
2
|
-
//# sourceMappingURL=uuid.8943c176.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{s as A,t as O,v as r,x as F,q as v,r as U}from"./jwt-decode.esm.611ae497.js";import{u as l}from"./userStore.2632fa83.js";import{i as I}from"./url.b17313e6.js";import{i as R}from"./colorHelpers.729d7a40.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="705f4ebc-60f0-4218-9773-0947e0ce7c92",e._sentryDebugIdIdentifier="sentry-dbid-705f4ebc-60f0-4218-9773-0947e0ce7c92")}catch{}})();const $=async()=>{try{const e=await fetch("/_editor/api/workspace/version");return e.ok&&(await e.json()).version||"5b596d15e931013e1aeef3c77e9ff657c3bf5838"}catch(e){return console.error("Failed to fetch Abstra version:",e),"5b596d15e931013e1aeef3c77e9ff657c3bf5838"}};function b(e,a,t){return I(a)?a:t==="player"?`/_assets/${e}`:`/_editor/api/assets/${a}`}const k="#414a58",D="#FFFFFF",N="#000000",L="DM Sans",P="Untitled Project",T={value:"en",label:"English"};function C(e){var a,t,s,n,o,c,i,u,m,_,p,f,h,d,g,w;return{id:e.id,path:e.path,theme:(a=e.workspace.theme)!=null?a:D,brandName:(t=e.workspace.brand_name)!=null?t:null,title:e.title,isInitial:e.is_initial,isLocal:(s=e.is_local)!=null?s:!1,startMessage:(n=e.start_message)!=null?n:null,endMessage:(o=e.end_message)!=null?o:null,errorMessage:(c=e.error_message)!=null?c:null,timeoutMessage:(i=e.timeout_message)!=null?i:null,startButtonText:(u=e.start_button_text)!=null?u:null,restartButtonText:(m=e.restart_button_text)!=null?m:null,logoUrl:e.workspace.logo_url,mainColor:(_=e.workspace.main_color)!=null?_:k,fontFamily:(p=e.workspace.font_family)!=null?p:L,autoStart:(f=e.auto_start)!=null?f:!1,allowRestart:e.allow_restart,welcomeTitle:(h=e.welcome_title)!=null?h:null,runtimeType:"form",language:(d=e.workspace.language)!=null?d:T.value,sidebar:(w=(g=e.workspace)==null?void 0:g.sidebar)!=null?w:[]}}function y(e){var t;const a=(t=e.theme)!=null?t:D;return{name:e.name||P,fontColor:e.font_color||N,sidebar:e.sidebar||[],brandName:e.brand_name||"",fontFamily:e.font_family||L,logoUrl:e.logo_url?b("logo",e.logo_url,"player"):null,mainColor:e.main_color||k,theme:R(a)?a:b("background",a,"player"),language:e.language||T.value}}async function B(e){const a=l(),t=await fetch(`/_pages/${e}`,{headers:a.authHeaders});if(t.status===404)return null;if(!t.ok)throw new Error(await t.text());const{form:s}=await t.json();return s?C(s):null}async function M(){const e=l(),a=await fetch("/_workspace",{headers:e.authHeaders});if(a.status!=200)return y({});const t=await a.json();return y(t)}async function H(e){const a=l();return(await fetch(`/_access-control/allow${e}`,{headers:a.authHeaders})).json()}const S=[{path:"/oidc-login-callback",name:"oidcLoginCallback",component:()=>r(()=>import("./OidcLoginCallback.488ca2a1.js"),["assets/OidcLoginCallback.488ca2a1.js","assets/index.00bda673.js","assets/jwt-decode.esm.611ae497.js","assets/jwt-decode.9f7a5511.css"]),meta:{allowUnauthenticated:!0}},{path:"/oidc-logout-callback",name:"oidcLogoutCallback",component:()=>r(()=>import("./OidcLogoutCallback.32654f13.js"),["assets/OidcLogoutCallback.32654f13.js","assets/index.00bda673.js","assets/jwt-decode.esm.611ae497.js","assets/jwt-decode.9f7a5511.css"]),meta:{allowUnauthenticated:!0}},{path:"/login",name:"playerLogin",component:()=>r(()=>import("./Login.d7667a41.js"),["assets/Login.d7667a41.js","assets/Login.vue_vue_type_script_setup_true_lang.1cd9267a.js","assets/jwt-decode.esm.611ae497.js","assets/jwt-decode.9f7a5511.css","assets/index.00bda673.js","assets/CircularLoading.f56438b2.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.e83946ea.js","assets/Logo.b7d81119.css","assets/string.12f8032a.js","assets/index.3369e1c3.js","assets/userStore.2632fa83.js","assets/Login.75d13f6c.css","assets/url.b17313e6.js","assets/colorHelpers.729d7a40.js","assets/Login.3b76812d.css"]),meta:{allowUnauthenticated:!0}},{path:"/",name:"main",component:()=>r(()=>import("./Main.9732085e.js"),["assets/Main.9732085e.js","assets/PlayerNavbar.526fab6f.js","assets/userStore.2632fa83.js","assets/jwt-decode.esm.611ae497.js","assets/jwt-decode.9f7a5511.css","assets/index.00bda673.js","assets/metadata.72772346.js","assets/PhUserList.vue.1da93bbd.js","assets/PhWebhooksLogo.vue.872d4c72.js","assets/LoadingOutlined.9851c13d.js","assets/PhSignOut.vue.a4fe2185.js","assets/index.6b334162.js","assets/PlayerNavbar.c456a4e0.css","assets/url.b17313e6.js","assets/colorHelpers.729d7a40.js","assets/Main.201c14c9.css"]),redirect:{name:"main"},children:[{path:"",name:"playerHome",component:()=>r(()=>import("./Home.23434c66.js"),["assets/Home.23434c66.js","assets/metadata.72772346.js","assets/jwt-decode.esm.611ae497.js","assets/jwt-decode.9f7a5511.css","assets/PhUserList.vue.1da93bbd.js","assets/PhWebhooksLogo.vue.872d4c72.js","assets/Watermark.2c100fb0.js","assets/index.00bda673.js","assets/constants.60843cd3.js","assets/Watermark.b0916e90.css","assets/PhArrowSquareOut.vue.f8745aca.js","assets/index.4f928bfe.js","assets/Card.8279f4c6.js","assets/LoadingOutlined.9851c13d.js","assets/userStore.2632fa83.js","assets/url.b17313e6.js","assets/colorHelpers.729d7a40.js","assets/Home.3794e8b4.css"]),meta:{title:"Home"}},{path:"_player/threads",redirect:{name:"playerThreads"}},{path:"error/:status",name:"error",component:()=>r(()=>import("./Error.cb93e0e7.js"),["assets/Error.cb93e0e7.js","assets/AbstraLogo.vue_vue_type_script_setup_true_lang.b5d6685a.js","assets/Logo.e83946ea.js","assets/jwt-decode.esm.611ae497.js","assets/jwt-decode.9f7a5511.css","assets/Logo.b7d81119.css","assets/constants.60843cd3.js","assets/Card.8279f4c6.js","assets/userStore.2632fa83.js","assets/url.b17313e6.js","assets/colorHelpers.729d7a40.js","assets/Error.ef2624eb.css"]),meta:{allowUnauthenticated:!0}},{path:":path(.*)*",name:"form",component:()=>r(()=>import("./Form.6ad486f6.js"),["assets/Form.6ad486f6.js","assets/userStore.2632fa83.js","assets/jwt-decode.esm.611ae497.js","assets/jwt-decode.9f7a5511.css","assets/FormRunner.12c3bcc8.js","assets/Login.vue_vue_type_script_setup_true_lang.1cd9267a.js","assets/index.00bda673.js","assets/CircularLoading.f56438b2.js","assets/CircularLoading.a8fe2dc6.css","assets/Logo.e83946ea.js","assets/Logo.b7d81119.css","assets/string.12f8032a.js","assets/index.3369e1c3.js","assets/Login.75d13f6c.css","assets/Steps.aa7e59b1.js","assets/index.85d1a54f.js","assets/Steps.2880920a.css","assets/Watermark.2c100fb0.js","assets/constants.60843cd3.js","assets/Watermark.b0916e90.css","assets/FormRunner.714ce2c1.css","assets/redirect.5f56a6ae.js","assets/url.b17313e6.js","assets/asyncComputed.97ac15a2.js","assets/uuid.8943c176.js","assets/colorHelpers.729d7a40.js","assets/Form.7493bc0a.css"]),meta:{hideLogin:!0}}]}],E=A({history:O("/"),routes:S,scrollBehavior(e){if(e.hash)return{el:e.hash}}}),V=e=>async(a,t)=>{if(F(a,t),a.meta.allowUnauthenticated)return;const n=await H(a.path),{redirect:o,...c}=a.query;switch(n.status){case"ALLOWED":break;case"UNAUTHORIZED":await e.push({name:"playerLogin",query:{...c,redirect:o||a.path},params:a.params});break;case"NOT_FOUND":await e.push({name:"error",params:{status:"404"}});break;default:await e.push({name:"error",params:{status:"403"}})}};E.beforeEach(V(E));const G=v("workspace",()=>{const e=U({workspace:null,loading:!1});return{state:e,actions:{async fetch(){e.value.loading=!0,e.value.workspace=await M(),e.value.loading=!1}}}});export{k as D,$ as a,E as b,L as c,T as d,D as e,B as f,V as g,b as m,S as r,G as u};
|
|
2
|
-
//# sourceMappingURL=workspaceStore.5c88cf6a.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|