abstra 3.23.4__py3-none-any.whl → 3.23.5__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.4.dist-info → abstra-3.23.5.dist-info}/METADATA +1 -1
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/RECORD +164 -164
- abstra_internals/contracts_generated.py +660 -652
- abstra_internals/controllers/workflows.py +33 -0
- abstra_internals/entities/forms/widgets/file_upload.py +1 -1
- abstra_internals/server/routes/mcp.py +2 -1
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.ad9e23f0.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.ee29465c.js +2 -0
- abstra_statics/dist/assets/{ApiKeys.e132de0a.js → ApiKeys.958a2342.js} +2 -2
- abstra_statics/dist/assets/App.6c9e1d73.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.46bbdba5.js +2 -0
- abstra_statics/dist/assets/{BaseLayout.d41dae76.js → BaseLayout.d4459d3a.js} +2 -2
- abstra_statics/dist/assets/Billing.920e2b19.js +2 -0
- abstra_statics/dist/assets/{Breadcrumb.00a432b7.js → Breadcrumb.2d9d636f.js} +2 -2
- abstra_statics/dist/assets/{Builds.329c2faa.js → Builds.11e86dae.js} +2 -2
- abstra_statics/dist/assets/{Card.d8993609.js → Card.0b4293e1.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.e0819e0b.js → CircularLoading.e2f7dd80.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.196a309a.js +2 -0
- abstra_statics/dist/assets/{ConnectorsView.4c23ea88.js → ConnectorsView.cda5c60f.js} +2 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.4d7bb007.js +2 -0
- abstra_statics/dist/assets/{ContentLayout.9774740e.js → ContentLayout.69b8ab09.js} +2 -2
- abstra_statics/dist/assets/{CrudView.01e6ed04.js → CrudView.56ebce1a.js} +2 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.4eb7d335.js +2 -0
- abstra_statics/dist/assets/{EditorLogin.b9477432.js → EditorLogin.a10e3a50.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.ec2e0465.js → EditorsView.1925d1b5.js} +2 -2
- abstra_statics/dist/assets/EnvVars.67eed38a.js +2 -0
- abstra_statics/dist/assets/Error.66a8e630.js +2 -0
- abstra_statics/dist/assets/ExclamationCircleOutlined.3ef65f87.js +2 -0
- abstra_statics/dist/assets/{Files.598e1924.js → Files.e978e721.js} +2 -2
- abstra_statics/dist/assets/Form.ba1aeab0.js +2 -0
- abstra_statics/dist/assets/{FormRunner.22c166b3.js → FormRunner.1a6e12cb.js} +2 -2
- abstra_statics/dist/assets/Home.2871cae9.js +2 -0
- abstra_statics/dist/assets/Home.de257b98.js +2 -0
- abstra_statics/dist/assets/{Live.47f1d55b.js → Live.cf58dd01.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.e6a98e2f.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.398021fd.js +2 -0
- abstra_statics/dist/assets/Login.604d7bbd.js +2 -0
- abstra_statics/dist/assets/{Login.d4ed4415.js → Login.605b23e8.js} +2 -2
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.7a0b5cb9.js → Login.vue_vue_type_script_setup_true_lang.a8986f39.js} +2 -2
- abstra_statics/dist/assets/Logo.0fee0801.js +2 -0
- abstra_statics/dist/assets/{Logs.93696d9a.js → Logs.e15923a0.js} +2 -2
- abstra_statics/dist/assets/{LogsController.051e4c97.js → LogsController.35cad159.js} +2 -2
- abstra_statics/dist/assets/Main.17024018.js +2 -0
- abstra_statics/dist/assets/{MockForm.60f0a0c9.js → MockForm.603b1cbb.js} +2 -2
- abstra_statics/dist/assets/Navbar.d4751f52.js +2 -0
- abstra_statics/dist/assets/{NewEditor.a3f0cf6f.js → NewEditor.bd4c258c.js} +2 -2
- abstra_statics/dist/assets/OidcLoginCallback.14f293b0.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.cb05eca4.js +2 -0
- abstra_statics/dist/assets/{OmniChat.65218812.js → OmniChat.6d6fed9c.js} +2 -2
- abstra_statics/dist/assets/{OnboardingView.7b28e3d9.js → OnboardingView.546afa14.js} +2 -2
- abstra_statics/dist/assets/{Organization.4d764c53.js → Organization.a7309bfd.js} +2 -2
- abstra_statics/dist/assets/Organizations.91c269e6.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.731eb94b.js → PhArrowCounterClockwise.vue.2706c012.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.da6ece6b.js → PhArrowSquareOut.vue.06e1e087.js} +2 -2
- abstra_statics/dist/assets/{PhBookBookmark.vue.129658c0.js → PhBookBookmark.vue.b9569168.js} +2 -2
- abstra_statics/dist/assets/{PhChats.vue.3eae87f1.js → PhChats.vue.bb8ced1d.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.83a88fd2.js → PhClockCounterClockwise.vue.4252e6be.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.889171d4.js → PhCopy.vue.59c3a353.js} +2 -2
- abstra_statics/dist/assets/{PhCopySimple.vue.fa1be768.js → PhCopySimple.vue.1c5a0760.js} +2 -2
- abstra_statics/dist/assets/{PhCube.vue.c868f288.js → PhCube.vue.7728ef5a.js} +2 -2
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.82ed05fc.js → PhDotsThreeVertical.vue.275748da.js} +2 -2
- abstra_statics/dist/assets/{PhDownloadSimple.vue.32b4f321.js → PhDownloadSimple.vue.ed1fb44c.js} +2 -2
- abstra_statics/dist/assets/{PhFolderPlus.vue.9b394b08.js → PhFolderPlus.vue.aa7bc872.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.bd7172cf.js → PhGear.vue.ab14d56a.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.e1681937.js → PhKey.vue.c0768b68.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.6abcb050.js → PhPencil.vue.aaf907d1.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.9dc4c516.js → PhPencilSimple.vue.2580bcf9.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimpleLine.vue.516b8dd0.js → PhPencilSimpleLine.vue.2c2058ce.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.6310b8e2.js → PhRocket.vue.67935a85.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.33352908.js → PhSignOut.vue.87084f39.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.aaea2035.js → PhSparkle.vue.707b3721.js} +2 -2
- abstra_statics/dist/assets/{PhUserList.vue.66442c99.js → PhUserList.vue.907c1a2b.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.dd3dd5e5.js → PhUsersThree.vue.2c3539c7.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.3159b8c2.js → PhWebhooksLogo.vue.1134426a.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.608f994d.js → PlayerConfigProvider.bee6a260.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.db2b0cc0.js → PlayerNavbar.b15bb1f3.js} +2 -2
- abstra_statics/dist/assets/{Project.b5f0a540.js → Project.c5ac4ebe.js} +2 -2
- abstra_statics/dist/assets/ProjectLogin.2905a0d6.js +2 -0
- abstra_statics/dist/assets/{ProjectSettings.c69dc60b.js → ProjectSettings.e40cc19c.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.7ea6a476.js → ProjectsView.3df99f87.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.45360af6.js → SaveButton.5a81e6f5.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.5b02858f.js → Sidebar.f23acdbf.js} +2 -2
- abstra_statics/dist/assets/{Sql.f80e393a.js → Sql.ea1ee70d.js} +3 -3
- abstra_statics/dist/assets/Steps.ad9ac163.js +2 -0
- abstra_statics/dist/assets/{TableEditor.9f5307b3.js → TableEditor.3150beb1.js} +2 -2
- abstra_statics/dist/assets/Tables.ad8c6f7a.js +2 -0
- abstra_statics/dist/assets/{TablesDiagram.174bf25c.js → TablesDiagram.5d3625d1.js} +2 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.58bcff9a.js +2 -0
- abstra_statics/dist/assets/{Tasks.6bf6e3ab.js → Tasks.d5e7bdf2.js} +2 -2
- abstra_statics/dist/assets/{UploadOutlined.17748ead.js → UploadOutlined.5f3b92b7.js} +2 -2
- abstra_statics/dist/assets/{View.fc004ade.js → View.63e7c09c.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.b156d2b4.js → View.vue_vue_type_script_setup_true_lang.a36086e8.js} +2 -2
- abstra_statics/dist/assets/{Watermark.3f4c77a5.js → Watermark.a7a7af90.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.1b4c1d6e.js → WebEditor.37194274.js} +2 -2
- abstra_statics/dist/assets/WidgetPreview.5d662c77.js +2 -0
- abstra_statics/dist/assets/ant-design.9bb31d85.js +2 -0
- abstra_statics/dist/assets/{apiKey.2481730b.js → apiKey.4f2a122c.js} +2 -2
- abstra_statics/dist/assets/asyncComputed.06839806.js +2 -0
- abstra_statics/dist/assets/{build.5e49b52b.js → build.995e6997.js} +2 -2
- abstra_statics/dist/assets/{colorHelpers.a41e45a3.js → colorHelpers.eb706cff.js} +2 -2
- abstra_statics/dist/assets/{console.d4555e1e.js → console.a07258d6.js} +2 -2
- abstra_statics/dist/assets/constants.d30e64e7.js +2 -0
- abstra_statics/dist/assets/{cssMode.94fba5f4.js → cssMode.5c9f19b3.js} +2 -2
- abstra_statics/dist/assets/datetime.49213c3c.js +2 -0
- abstra_statics/dist/assets/dayjs.9d20dd08.js +2 -0
- abstra_statics/dist/assets/{editor.68f10cac.js → editor.a151d549.js} +2 -2
- abstra_statics/dist/assets/editor.main.f809eb34.js +2 -0
- abstra_statics/dist/assets/fetch.ce34efab.js +2 -0
- abstra_statics/dist/assets/{files.2d03f0a6.js → files.5dcc78be.js} +2 -2
- abstra_statics/dist/assets/{folder.c0b92096.js → folder.777c3209.js} +2 -2
- abstra_statics/dist/assets/{freemarker2.a8ae0e5a.js → freemarker2.385a198f.js} +2 -2
- abstra_statics/dist/assets/{handlebars.3529fc9d.js → handlebars.806a8b22.js} +2 -2
- abstra_statics/dist/assets/{html.193c548a.js → html.8df330b0.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.5669aea7.js → htmlMode.08713341.js} +2 -2
- abstra_statics/dist/assets/{index.2f9d5f42.js → index.11470ce1.js} +5 -5
- abstra_statics/dist/assets/index.15909af6.js +2 -0
- abstra_statics/dist/assets/{index.341d2d78.js → index.227be58a.js} +2 -2
- abstra_statics/dist/assets/{index.17c9890b.js → index.440bd76c.js} +2 -2
- abstra_statics/dist/assets/{index.17c59820.js → index.49f6d313.js} +2 -2
- abstra_statics/dist/assets/index.6f004291.js +2 -0
- abstra_statics/dist/assets/{index.fd173cc0.js → index.ad15e486.js} +2 -2
- abstra_statics/dist/assets/{index.ee7c5f13.js → index.cf5ef754.js} +2 -2
- abstra_statics/dist/assets/{index.84a81069.js → index.f219d050.js} +2 -2
- abstra_statics/dist/assets/{index.590aa576.js → index.fdbbf978.js} +3 -3
- abstra_statics/dist/assets/{javascript.ff046b2c.js → javascript.7e683eb3.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.c051f145.js → jsonMode.c71ca5e7.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.f18c394f.js → jwt-decode.esm.bcf2db26.js} +7 -7
- abstra_statics/dist/assets/linters.1f3c2bdc.js +2 -0
- abstra_statics/dist/assets/{liquid.98fcb8a3.js → liquid.c89ab4d8.js} +3 -3
- abstra_statics/dist/assets/member.39a2b810.js +2 -0
- abstra_statics/dist/assets/{metadata.218ef86b.js → metadata.77edb2ef.js} +2 -2
- abstra_statics/dist/assets/{omniChatStore.405dd08d.js → omniChatStore.13045a23.js} +2 -2
- abstra_statics/dist/assets/{organization.c20116a5.js → organization.017d0932.js} +2 -2
- abstra_statics/dist/assets/player.490b5a36.js +2 -0
- abstra_statics/dist/assets/{plotly.min.b26aecc2.js → plotly.min.ebdb6341.js} +2 -2
- abstra_statics/dist/assets/polling.b53cbe3d.js +2 -0
- abstra_statics/dist/assets/{project.d26f784f.js → project.6106c0ae.js} +2 -2
- abstra_statics/dist/assets/{python.6f801519.js → python.fe5f6c61.js} +3 -3
- abstra_statics/dist/assets/{razor.80957baf.js → razor.63a60978.js} +2 -2
- abstra_statics/dist/assets/{record.f0e74f25.js → record.6b6d4da9.js} +2 -2
- abstra_statics/dist/assets/redirect.b8ba406b.js +2 -0
- abstra_statics/dist/assets/{repository.75210ebd.js → repository.54d4a909.js} +2 -2
- abstra_statics/dist/assets/{repository.d2158c5f.js → repository.f2f5d880.js} +2 -2
- abstra_statics/dist/assets/{router.9924fce0.js → router.e5052323.js} +3 -3
- abstra_statics/dist/assets/string.2f1abff3.js +2 -0
- abstra_statics/dist/assets/{tables.4cd227ff.js → tables.ecf1f359.js} +2 -2
- abstra_statics/dist/assets/{tasksController.f0830c77.js → tasksController.64f43cce.js} +2 -2
- abstra_statics/dist/assets/{toggleHighContrast.d8b2c912.js → toggleHighContrast.a33c9afc.js} +7 -7
- abstra_statics/dist/assets/{tsMode.7de6acfd.js → tsMode.bbb62deb.js} +2 -2
- abstra_statics/dist/assets/{typescript.78bce6b9.js → typescript.f3be1a16.js} +3 -3
- abstra_statics/dist/assets/url.79c72bde.js +2 -0
- abstra_statics/dist/assets/userStore.5dca7ff0.js +2 -0
- abstra_statics/dist/assets/uuid.3f5b8acd.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.57038ee0.js → vue-flow-background.939eca5f.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.130627ea.js → vue-quill.esm-bundler.c86df351.js} +2 -2
- abstra_statics/dist/assets/workspaceStore.7283625b.js +2 -0
- abstra_statics/dist/assets/{xml.46fa5b06.js → xml.96392483.js} +3 -3
- abstra_statics/dist/assets/{yaml.775c20d7.js → yaml.96b91a1d.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_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.86a761e5.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.d02ffa6d.js +0 -2
- abstra_statics/dist/assets/App.9aa34c4e.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.9dc1f7e7.js +0 -2
- abstra_statics/dist/assets/Billing.04224d7b.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.ae1e7621.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.f2c53fd6.js +0 -2
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.3efd2188.js +0 -2
- abstra_statics/dist/assets/EnvVars.72e8a906.js +0 -2
- abstra_statics/dist/assets/Error.75789fcd.js +0 -2
- abstra_statics/dist/assets/ExclamationCircleOutlined.443f1727.js +0 -2
- abstra_statics/dist/assets/Form.dcd328f9.js +0 -2
- abstra_statics/dist/assets/Home.29af870e.js +0 -2
- abstra_statics/dist/assets/Home.5a193adf.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.4d7a6e83.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.688afd1b.js +0 -2
- abstra_statics/dist/assets/Login.543da72d.js +0 -2
- abstra_statics/dist/assets/Logo.a483cebb.js +0 -2
- abstra_statics/dist/assets/Main.e6271958.js +0 -2
- abstra_statics/dist/assets/Navbar.6beb23a2.js +0 -2
- abstra_statics/dist/assets/OidcLoginCallback.5d621b1e.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.726fd77b.js +0 -2
- abstra_statics/dist/assets/Organizations.99154f7f.js +0 -2
- abstra_statics/dist/assets/ProjectLogin.ca80209f.js +0 -2
- abstra_statics/dist/assets/Steps.2a44bd5a.js +0 -2
- abstra_statics/dist/assets/Tables.c8410571.js +0 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.d32d5407.js +0 -2
- abstra_statics/dist/assets/WidgetPreview.b3a57be6.js +0 -2
- abstra_statics/dist/assets/ant-design.4dde64bb.js +0 -2
- abstra_statics/dist/assets/asyncComputed.24fa122c.js +0 -2
- abstra_statics/dist/assets/constants.4f491067.js +0 -2
- abstra_statics/dist/assets/datetime.215ab936.js +0 -2
- abstra_statics/dist/assets/dayjs.cad6407e.js +0 -2
- abstra_statics/dist/assets/editor.main.d5278805.js +0 -2
- abstra_statics/dist/assets/fetch.b229b6c0.js +0 -2
- abstra_statics/dist/assets/index.9d0d77b2.js +0 -2
- abstra_statics/dist/assets/index.c3ea2813.js +0 -2
- abstra_statics/dist/assets/linters.e4e7bac9.js +0 -2
- abstra_statics/dist/assets/member.d0ead44d.js +0 -2
- abstra_statics/dist/assets/player.30fb0733.js +0 -2
- abstra_statics/dist/assets/polling.775bd07d.js +0 -2
- abstra_statics/dist/assets/redirect.47662fd9.js +0 -2
- abstra_statics/dist/assets/string.c4805024.js +0 -2
- abstra_statics/dist/assets/url.f54a173c.js +0 -2
- abstra_statics/dist/assets/userStore.1345e655.js +0 -2
- abstra_statics/dist/assets/uuid.2e8600ec.js +0 -2
- abstra_statics/dist/assets/workspaceStore.29138ee5.js +0 -2
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/WHEEL +0 -0
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/entry_points.txt +0 -0
- {abstra-3.23.4.dist-info → abstra-3.23.5.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./jwt-decode.esm.bcf2db26.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]="5062e42e-17ac-4623-93bc-b1eb8e45907c",e._sentryDebugIdIdentifier="sentry-dbid-5062e42e-17ac-4623-93bc-b1eb8e45907c")}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.b53cbe3d.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var h=Object.defineProperty;var l=(a,t,e)=>t in a?h(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var o=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{a as g}from"./record.
|
|
2
|
-
//# sourceMappingURL=project.
|
|
1
|
+
var h=Object.defineProperty;var l=(a,t,e)=>t in a?h(a,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[t]=e;var o=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{a as g}from"./record.6b6d4da9.js";import{h as s}from"./router.e5052323.js";import"./jwt-decode.esm.bcf2db26.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="dfb4c631-5bb7-439f-9c0c-b0d9df6aeb91",a._sentryDebugIdIdentifier="sentry-dbid-dfb4c631-5bb7-439f-9c0c-b0d9df6aeb91")}catch{}})();class y extends Error{constructor(){super("Subdomain already in use")}}class b{constructor(){o(this,"urlPath","projects")}async create({name:t,organizationId:e,folderId:r}){return s.post(`organizations/${e}/${this.urlPath}`,{name:t,folderId:r})}async delete(t){await s.delete(`/${this.urlPath}/${t}`)}async duplicate(t){return await new Promise(e=>setTimeout(e,5e3)),s.post(`/${this.urlPath}/${t}/duplicate`,{})}async list(t){return s.get(`organizations/${t}/${this.urlPath}`)}async get(t){return s.get(`${this.urlPath}/${t}`)}async update(t,e){const r=await s.patch(`${this.urlPath}/${t}`,e);if("error"in r&&r.error==="subdomain-already-in-use")throw new y;if("error"in r)throw new Error("Unknown error");return r}async checkSubdomain(t,e){return s.get(`${this.urlPath}/${t}/check-subdomain/${e}`)}async getStatus(t){return s.get(`${this.urlPath}/${t}/deploy-status`)}async startWebEditor(t){return s.post(`${this.urlPath}/${t}/web-editor/start`,{})}async executeQuery(t,e,r){return s.post(`projects/${t}/execute`,{query:e,params:r})}}const n=new b;class i{constructor(t){o(this,"record");this.record=g.create(n,t)}static formatSubdomain(t){const r=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),c=/[a-z0-9]+/g,u=r.matchAll(c);return Array.from(u).map(d=>d[0]).join("-")}static async list(t){return(await n.list(t)).map(r=>new i(r))}static async create(t){const e=await n.create(t);return new i(e)}get folderId(){return this.record.get("folderId")}static async get(t){const e=await n.get(t);return new i(e)}static async getStatus(t){return await n.getStatus(t)}async delete(){await n.delete(this.id)}async duplicate(){const t=await n.duplicate(this.id);return new i(t)}static async executeQuery(t,e,r){return n.executeQuery(t,e,r)}async save(){return this.record.save()}resetChanges(){this.record.resetChanges()}hasChanges(){return this.record.hasChanges()}hasChangesDeep(t){return this.record.hasChangesDeep(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}set name(t){this.record.set("name",t)}get organizationId(){return this.record.get("organizationId")}get subdomain(){return this.record.get("subdomain")}set subdomain(t){this.record.set("subdomain",t)}async checkSubdomain(){return await n.checkSubdomain(this.id,this.subdomain)}static async startWebEditor(t){return await n.startWebEditor(t)}getUrl(t=""){const e=t.startsWith("/")?t.slice(1):t;return`https://${this.subdomain}.abstra.app/${e}`}}export{b as P,i as a};
|
|
2
|
+
//# sourceMappingURL=project.6106c0ae.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{m as a}from"./toggleHighContrast.
|
|
1
|
+
import{m as a}from"./toggleHighContrast.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="9916c679-aeb2-443d-bea0-375174556b62",t._sentryDebugIdIdentifier="sentry-dbid-9916c679-aeb2-443d-bea0-375174556b62")}catch{}})();/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
|
-
*-----------------------------------------------------------------------------*/var l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,o=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of p(e))!d.call(t,r)&&r!==n&&l(t,r,{get:()=>e[r],enumerable:!(s=c(e,r))||s.enumerable});return t},g=(t,e,n)=>(o(t,e,"default"),n&&o(n,e,"default")),i={};g(i,a);var
|
|
7
|
-
//# sourceMappingURL=python.
|
|
6
|
+
*-----------------------------------------------------------------------------*/var l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.prototype.hasOwnProperty,o=(t,e,n,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of p(e))!d.call(t,r)&&r!==n&&l(t,r,{get:()=>e[r],enumerable:!(s=c(e,r))||s.enumerable});return t},g=(t,e,n)=>(o(t,e,"default"),n&&o(n,e,"default")),i={};g(i,a);var m={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},f={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","_","and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","match","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};export{m as conf,f as language};
|
|
7
|
+
//# sourceMappingURL=python.fe5f6c61.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{m as s}from"./toggleHighContrast.
|
|
1
|
+
import{m as s}from"./toggleHighContrast.a33c9afc.js";import"./jwt-decode.esm.bcf2db26.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]="d1f91cd7-099e-492f-a717-097ab9227e44",t._sentryDebugIdIdentifier="sentry-dbid-d1f91cd7-099e-492f-a717-097ab9227e44")}catch{}})();/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
|
4
4
|
* Released under the MIT license
|
|
5
5
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
6
6
|
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!p.call(t,o)&&o!==r&&c(t,o,{get:()=>e[o],enumerable:!(a=l(e,o))||a.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),n={};h(n,s);var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],y={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},k={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{y as conf,k as language};
|
|
7
|
-
//# sourceMappingURL=razor.
|
|
7
|
+
//# sourceMappingURL=razor.63a60978.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var o=Object.defineProperty;var
|
|
2
|
-
//# sourceMappingURL=record.
|
|
1
|
+
var o=Object.defineProperty;var p=(e,s,t)=>s in e?o(e,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[s]=t;var n=(e,s,t)=>(p(e,typeof s!="symbol"?s+"":s,t),t);import{N as d,eD as c,el as r}from"./jwt-decode.esm.bcf2db26.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]="c934b65a-4f3e-4e3f-9503-52e4baa16059",e._sentryDebugIdIdentifier="sentry-dbid-c934b65a-4f3e-4e3f-9503-52e4baa16059")}catch{}})();class b{constructor(){n(this,"topics");n(this,"subUid");this.topics={},this.subUid=-1}subscribe(s,t){const i=(++this.subUid).toString();return this.topics[s]||(this.topics[s]=[]),this.topics[s].push({token:i,func:t}),i}async wait(s){return new Promise(t=>{const i=this.subscribe(s,a=>{this.unsubscribe(i),t(a)})})}async publish(s,...t){if(!this.topics[s])return!1;const i=this.topics[s];let a=i?i.length:0;for(;a--;)await i[a].func(t[0]);return!0}unsubscribe(s){for(const t in this.topics)if(this.topics[t]){for(let i=0,a=this.topics[t].length;i<a;i++)if(this.topics[t][i].token===s)return this.topics[t].splice(i,1),s}return!1}reset(){this.topics={},this.subUid=-1}}class h{constructor(s){n(this,"initialState");n(this,"pubsub");n(this,"_changes");this.initialState=s,this.pubsub=new b,this._changes=d({})}static from(s){return c(new h(s))}get changes(){return this._changes.value}get(s){var t;return(t=this.changes[s])!=null?t:this.initialState[s]}set(s,t){this._changes.value={...this.changes,[s]:t}}hasChanges(s){return s?s in this.changes:Object.keys(this.changes).length>0}hasChangesDeep(s){return s in this.changes&&!r.exports.isEqual(this.initialState[s],this.changes[s])}get state(){return{...this.initialState,...this.changes}}resetChanges(){const s={...this.changes};this._changes.value={},this.pubsub.publish("update",s)}onUpdate(s){this.pubsub.subscribe("update",s)}commit(){this.initialState=this.state,this._changes.value={}}toDTO(){return{...this.state,...this._changes.value}}update(s){this._changes.value={...this.changes,...s}}}class l extends h{constructor(t,i){super(i);n(this,"api");this.api=t}static create(t,i){return c(new l(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}class g extends h{constructor(t,i){super(i);n(this,"api");n(this,"debouncedSave");this.api=t,this.debouncedSave=r.exports.debounce(()=>{this.save()},500)}static create(t,i){return c(new g(t,i))}getInitialState(t){return this.initialState[t]}updateInitialState(t,i){this.initialState[t]=i,delete this._changes.value[t]}set(t,i){super.set(t,i),this.debouncedSave()}async save(t){if(Object.keys(this.changes).length===0||t&&!(t in this.changes))return;if(t){const a={[t]:this.changes[t]},u=await this.api.update(this.initialState.id,a);this.initialState={...this.initialState,...u},delete this._changes.value[t];return}this.initialState=await this.api.update(this.initialState.id,this.changes);const i={...this.changes};this._changes.value={},this.pubsub.publish("update",i)}}export{g as A,h as E,b as P,l as a};
|
|
2
|
+
//# sourceMappingURL=record.6b6d4da9.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{i as c}from"./url.79c72bde.js";import"./jwt-decode.esm.bcf2db26.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]="289d39cb-a5e4-41e8-9745-24f93d7570b6",e._sentryDebugIdIdentifier="sentry-dbid-289d39cb-a5e4-41e8-9745-24f93d7570b6")}catch{}})();function i(e){return e.startsWith("/")?e.slice(1):e}function f(e,r,n={}){if(c(r)){const a=new URL(r),t=new URLSearchParams(n),o=new URLSearchParams(a.search),s=new URLSearchParams([...o,...t]);return a.search=s.toString(),{action:"REPLACE_LOCAL_HREF",newHref:a.toString()}}else{const a=r.replace(/\/$/,"");if(e==="player")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};if(e==="editor")return{action:"GOTO_FORM_EDITOR",path:i(a),queryParams:n};if(e==="preview")return{action:"GOTO_FORM_PLAYER",path:i(a),queryParams:n};throw new Error(`Invalid routing ${e}`)}}async function w(e,r,n,a={}){const t=f(e,n,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.b8ba406b.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{f as h,e7 as m,eI as S,eJ as I,d as _,o as c,a as l,u,h as $}from"./jwt-decode.esm.
|
|
2
|
-
//# sourceMappingURL=repository.
|
|
1
|
+
import{f as h,e7 as m,eI as S,eJ as I,d as _,o as c,a as l,u,h as $}from"./jwt-decode.esm.bcf2db26.js";import{L as x}from"./LoadingOutlined.398021fd.js";import{h as d}from"./router.e5052323.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]="4ec9a63e-1add-4546-a2c5-05776f656383",r._sentryDebugIdIdentifier="sentry-dbid-4ec9a63e-1add-4546-a2c5-05776f656383")}catch{}})();var P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-circle",theme:"filled"};const F=P;function w(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){k(r,s,t[s])})}return r}function k(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var b=function(e,t){var n=w({},e,t.attrs);return h(m,w({},n,{icon:S}),null)};b.displayName="CheckCircleFilled";b.inheritAttrs=!1;const E=b;function j(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){A(r,s,t[s])})}return r}function A(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var y=function(e,t){var n=j({},e,t.attrs);return h(m,j({},n,{icon:I}),null)};y.displayName="CloseCircleFilled";y.inheritAttrs=!1;const D=y;function v(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?Object(arguments[e]):{},n=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(t).filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable}))),n.forEach(function(s){M(r,s,t[s])})}return r}function M(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}var C=function(e,t){var n=v({},e,t.attrs);return h(m,v({},n,{icon:F}),null)};C.displayName="MinusCircleFilled";C.inheritAttrs=!1;const L=C,B=_({__name:"ExecutionStatusIcon",props:{status:{}},setup(r){return(e,t)=>e.status==="finished"?(c(),l(u(E),{key:0,style:{color:"#33b891"}})):e.status==="failed"?(c(),l(u(D),{key:1,style:{color:"#fa675c"}})):e.status==="abandoned"||e.status==="lock-failed"?(c(),l(u(L),{key:2,style:{color:"#f69220"}})):e.status==="running"?(c(),l(u(x),{key:3})):$("",!0)}}),z=["running","lock-failed","failed","finished","abandoned"];class f{constructor(e){this.dto=e}static from(e){return new f(e)}get entries(){return this.dto.sort((e,t)=>e.sequence-t.sequence).filter(e=>e.event!=="form-message")}}class g{constructor(e){this.dto=e}static from(e){return new g(e)}get id(){return this.dto.id}get shortId(){return this.dto.id.slice(0,8)}get createdAt(){return new Date(this.dto.createdAt)}get updatedAt(){return new Date(this.dto.updatedAt)}get status(){return this.dto.status}get context(){return this.dto.context}get buildId(){var e;return(e=this.dto.buildId)!=null?e:""}get stageId(){return this.dto.stageId}get duration_seconds(){return this.status==="running"?"-":`${(this.updatedAt.getTime()-this.createdAt.getTime())/1e3} s`}get stageRunId(){return this.dto.stageRunId}get projectId(){return this.dto.projectId}}class V{async list({projectId:e,...t}){var p,a;const n={...t,offset:(p=t.offset)==null?void 0:p.toString(),limit:(a=t.limit)==null?void 0:a.toString()};Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]);const s=await d.get(`projects/${e}/executions`,n);return{executions:s.executions.map(o=>g.from(o)),totalCount:s.totalCount}}async fetchLogs(e,t){const n=await d.get(`projects/${e}/executions/${t}/logs`);return f.from(n)}async fetchThreadData(e,t){return(await d.get(`projects/${e}/executions/${t}/thread-data`)).response}async getExecutionTasks(e,t){return await d.get(`projects/${e}/executions/${t}/tasks`)}async fetchStages(){throw new Error("Method not implemented.")}}class G{async list(e){var o,O;const t={...e,offset:(o=e.offset)==null?void 0:o.toString(),limit:(O=e.limit)==null?void 0:O.toString()};Object.keys(t).forEach(i=>t[i]===void 0&&delete t[i]);const n=Object.fromEntries(Object.entries(t!=null?t:{}).filter(([,i])=>i!=null)),s=Object.keys(n).length>0?`?${new URLSearchParams(n).toString()}`:"",a=await(await fetch(`/_editor/api/executions${s}`)).json();return{executions:a.executions.map(i=>g.from(i)),totalCount:a.totalCount}}async fetchLogs(e,t){const s=await(await fetch(`/_editor/api/logs/${t}`)).json();return f.from(s)}async fetchThreadData(){return{}}async getExecutionTasks(e,t){return await(await fetch(`/_editor/api/executions/${t}/tasks`)).json()}async fetchStages(){return await(await fetch("/_editor/api/executions/stages")).json()}}export{E as C,G as L,V as R,B as _,z as e};
|
|
2
|
+
//# sourceMappingURL=repository.54d4a909.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var
|
|
2
|
-
//# sourceMappingURL=repository.
|
|
1
|
+
var p=Object.defineProperty;var h=(r,t,e)=>t in r?p(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var c=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{h as a}from"./router.e5052323.js";import{l as u}from"./fetch.ce34efab.js";import{E as l}from"./record.6b6d4da9.js";import"./jwt-decode.esm.bcf2db26.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="e67482ab-3ae7-47e5-95df-497e760491e9",r._sentryDebugIdIdentifier="sentry-dbid-e67482ab-3ae7-47e5-95df-497e760491e9")}catch{}})();class i{constructor(t){c(this,"record");this.record=l.from(t)}get id(){return this.record.get("id")}get name(){return this.record.get("name")}get description(){return this.record.get("description")||""}set description(t){this.record.set("description",t)}get projectId(){return this.record.get("projectId")}static from(t){return new i(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class g{constructor(){c(this,"urlPath","roles")}async create(t,e){return a.post(`projects/${t}/${this.urlPath}`,e)}async delete(t,e){await a.delete(`projects/${t}/${this.urlPath}/${e}`)}async list(t,{limit:e,offset:s}){const o={};e&&(o.limit=e.toString()),s&&(o.offset=s.toString());const d=new URLSearchParams(o);return a.get(`projects/${t}/${this.urlPath}?${d.toString()}`)}async update(t,e,s){return a.patch(`projects/${t}/${this.urlPath}/${e}`,s)}}const n=new g;class b{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(i.from)}async create(t){await n.create(this.projectId,t)}async update(t,e){await n.update(this.projectId,t,e)}async delete(t){await n.delete(this.projectId,t)}}class ${constructor(t=u){this.fetch=t}async list(t,e){const s={};t&&(s.limit=t.toString()),e&&(s.offset=e.toString());const o=new URLSearchParams(s);return(await(await this.fetch(`/_editor/api/roles?${o.toString()}`,{method:"GET",headers:{"Content-Type":"application/json"}})).json()).map(i.from)}}export{b as C,$ as E};
|
|
2
|
+
//# sourceMappingURL=repository.f2f5d880.js.map
|