abstra 3.23.9__py3-none-any.whl → 3.23.11__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/ai.py +6 -0
- {abstra-3.23.9.dist-info → abstra-3.23.11.dist-info}/METADATA +1 -1
- {abstra-3.23.9.dist-info → abstra-3.23.11.dist-info}/RECORD +170 -170
- abstra_internals/contracts_generated.py +5619 -4803
- abstra_internals/controllers/sdk/sdk_ai.py +6 -1
- abstra_internals/interface/sdk/ai.py +59 -4
- abstra_internals/repositories/execution_logs.py +3 -13
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.3fce0fbb.js +2 -0
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.4fb1f88a.js +2 -0
- abstra_statics/dist/assets/{ApiKeys.1d2b9051.js → ApiKeys.56b97ced.js} +2 -2
- abstra_statics/dist/assets/App.bd5ec032.js +2 -0
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.79524273.js +2 -0
- abstra_statics/dist/assets/BaseLayout.ac22ef55.js +2 -0
- abstra_statics/dist/assets/Billing.2c39d133.js +2 -0
- abstra_statics/dist/assets/{Breadcrumb.21c760be.js → Breadcrumb.f11a16d0.js} +2 -2
- abstra_statics/dist/assets/{Builds.e0882931.js → Builds.2bf5dad8.js} +2 -2
- abstra_statics/dist/assets/{Card.714646f7.js → Card.6caecaa4.js} +2 -2
- abstra_statics/dist/assets/{CircularLoading.5ac43298.js → CircularLoading.bc88c029.js} +2 -2
- abstra_statics/dist/assets/CloseCircleOutlined.12f63f77.js +2 -0
- abstra_statics/dist/assets/{ConnectorsView.78da900d.js → ConnectorsView.97a8c63b.js} +2 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.48b29302.js +2 -0
- abstra_statics/dist/assets/ContentLayout.072b3790.js +2 -0
- abstra_statics/dist/assets/{CrudView.77b58a5a.js → CrudView.79588134.js} +2 -2
- abstra_statics/dist/assets/CrudView.e24590ae.css +1 -0
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.6566ff97.js +2 -0
- abstra_statics/dist/assets/{EditorLogin.4d61e44f.js → EditorLogin.e704b2ee.js} +2 -2
- abstra_statics/dist/assets/{EditorsView.08a5cd3a.js → EditorsView.987a7eda.js} +2 -2
- abstra_statics/dist/assets/EnvVars.c5e84d82.js +2 -0
- abstra_statics/dist/assets/{Error.8a6cfa01.js → Error.f378696f.js} +2 -2
- abstra_statics/dist/assets/{ExclamationCircleOutlined.93703670.js → ExclamationCircleOutlined.f9a25080.js} +2 -2
- abstra_statics/dist/assets/{Files.6d07f9be.js → Files.06a52abd.js} +2 -2
- abstra_statics/dist/assets/Form.4633ab8e.js +2 -0
- abstra_statics/dist/assets/{FormRunner.a00b296a.js → FormRunner.2b75fd4d.js} +2 -2
- abstra_statics/dist/assets/Home.a883da25.js +2 -0
- abstra_statics/dist/assets/Home.d122da63.js +2 -0
- abstra_statics/dist/assets/{Live.ee0e73dd.js → Live.08670b33.js} +2 -2
- abstra_statics/dist/assets/LoadingContainer.b11f052c.js +2 -0
- abstra_statics/dist/assets/LoadingOutlined.659d6aae.js +2 -0
- abstra_statics/dist/assets/{Login.0182140b.js → Login.8491c4b7.js} +2 -2
- abstra_statics/dist/assets/Login.84d39327.js +2 -0
- abstra_statics/dist/assets/{Login.vue_vue_type_script_setup_true_lang.721bd893.js → Login.vue_vue_type_script_setup_true_lang.eb94ecc3.js} +2 -2
- abstra_statics/dist/assets/Logo.a32d36e7.js +2 -0
- abstra_statics/dist/assets/{Logs.7a458aba.js → Logs.030c8a19.js} +2 -2
- abstra_statics/dist/assets/{LogsController.e7ad74db.js → LogsController.7e2c0c7a.js} +2 -2
- abstra_statics/dist/assets/Main.70db8614.js +2 -0
- abstra_statics/dist/assets/{MockForm.50f237ad.js → MockForm.8b56fd25.js} +2 -2
- abstra_statics/dist/assets/{Navbar.0cf9e650.js → Navbar.6acd9007.js} +2 -2
- abstra_statics/dist/assets/NewEditor.15e29eac.js +8 -0
- abstra_statics/dist/assets/{NewEditor.0044878f.css → NewEditor.6dd8f03b.css} +1 -1
- abstra_statics/dist/assets/OidcLoginCallback.b65a6f9f.js +2 -0
- abstra_statics/dist/assets/OidcLogoutCallback.dabd09cf.js +2 -0
- abstra_statics/dist/assets/{OmniChat.8a35a659.css → OmniChat.078af315.css} +1 -1
- abstra_statics/dist/assets/OmniChat.6ed96f8e.js +6 -0
- abstra_statics/dist/assets/{OnboardingView.c4e859f1.js → OnboardingView.262e82cc.js} +2 -2
- abstra_statics/dist/assets/{Organization.432776d6.js → Organization.4f3ccb55.js} +2 -2
- abstra_statics/dist/assets/Organizations.d90dd629.js +2 -0
- abstra_statics/dist/assets/{PhArrowCounterClockwise.vue.72ed46a0.js → PhArrowCounterClockwise.vue.a1a917b9.js} +2 -2
- abstra_statics/dist/assets/{PhArrowSquareOut.vue.ddb450f1.js → PhArrowSquareOut.vue.eb4455ba.js} +2 -2
- abstra_statics/dist/assets/{PhBookBookmark.vue.4a6ba053.js → PhBookBookmark.vue.7bb66888.js} +2 -2
- abstra_statics/dist/assets/{PhChats.vue.870bbba9.js → PhChats.vue.88d84608.js} +2 -2
- abstra_statics/dist/assets/{PhClockCounterClockwise.vue.123f0e9b.js → PhClockCounterClockwise.vue.02d85ea5.js} +2 -2
- abstra_statics/dist/assets/{PhCopy.vue.70df4792.js → PhCopy.vue.5664181e.js} +2 -2
- abstra_statics/dist/assets/{PhCopySimple.vue.f5246c24.js → PhCopySimple.vue.beb69d1f.js} +2 -2
- abstra_statics/dist/assets/{PhCube.vue.8900248a.js → PhCube.vue.8de1132a.js} +2 -2
- abstra_statics/dist/assets/{PhDotsThreeVertical.vue.14516e2e.js → PhDotsThreeVertical.vue.9e306480.js} +2 -2
- abstra_statics/dist/assets/PhDownloadSimple.vue.6192bb0e.js +2 -0
- abstra_statics/dist/assets/{PhFolderPlus.vue.65855487.js → PhFolderPlus.vue.658105d4.js} +2 -2
- abstra_statics/dist/assets/{PhGear.vue.172823d3.js → PhGear.vue.68bce043.js} +2 -2
- abstra_statics/dist/assets/{PhKey.vue.9d78ceda.js → PhKey.vue.3f5192b6.js} +2 -2
- abstra_statics/dist/assets/{PhPencil.vue.f326c6d0.js → PhPencil.vue.ee28fb6e.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimple.vue.31afd9b3.js → PhPencilSimple.vue.148807f6.js} +2 -2
- abstra_statics/dist/assets/{PhPencilSimpleLine.vue.394969fe.js → PhPencilSimpleLine.vue.af76e884.js} +2 -2
- abstra_statics/dist/assets/{PhRocket.vue.b69be43b.js → PhRocket.vue.7ba12859.js} +2 -2
- abstra_statics/dist/assets/{PhSignOut.vue.6be07f90.js → PhSignOut.vue.aa78b6eb.js} +2 -2
- abstra_statics/dist/assets/{PhSparkle.vue.ca8d1014.js → PhSparkle.vue.7820be45.js} +2 -2
- abstra_statics/dist/assets/{PhUserList.vue.43e7a38a.js → PhUserList.vue.04f21cbe.js} +2 -2
- abstra_statics/dist/assets/{PhUsersThree.vue.fb26521a.js → PhUsersThree.vue.8b11b97d.js} +2 -2
- abstra_statics/dist/assets/{PhWebhooksLogo.vue.ea667ed2.js → PhWebhooksLogo.vue.9e20d559.js} +2 -2
- abstra_statics/dist/assets/{PlayerConfigProvider.5aec8c16.js → PlayerConfigProvider.0915b29f.js} +2 -2
- abstra_statics/dist/assets/{PlayerNavbar.21883569.js → PlayerNavbar.78cf73f2.js} +2 -2
- abstra_statics/dist/assets/{Project.a987ec46.js → Project.34c75b7c.js} +2 -2
- abstra_statics/dist/assets/ProjectLogin.9b8cb3d1.js +2 -0
- abstra_statics/dist/assets/{ProjectSettings.b949f40f.js → ProjectSettings.f9bf9124.js} +2 -2
- abstra_statics/dist/assets/{ProjectsView.7de28b8a.js → ProjectsView.407ea382.js} +2 -2
- abstra_statics/dist/assets/{SaveButton.f6870993.js → SaveButton.e70cd09e.js} +2 -2
- abstra_statics/dist/assets/{ScrollArea.vue_vue_type_script_setup_true_lang.21ea9f38.js → ScrollArea.vue_vue_type_script_setup_true_lang.cf352882.js} +2 -2
- abstra_statics/dist/assets/{Sidebar.1250b960.js → Sidebar.ce129494.js} +2 -2
- abstra_statics/dist/assets/Sql.4e31662a.js +5 -0
- abstra_statics/dist/assets/Steps.4c850501.js +2 -0
- abstra_statics/dist/assets/{TableEditor.25046840.js → TableEditor.e7371677.js} +2 -2
- abstra_statics/dist/assets/Tables.f2c23e20.js +2 -0
- abstra_statics/dist/assets/{TablesDiagram.eb43ee41.js → TablesDiagram.8297ec4b.js} +3 -3
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.ec94f9e7.js +2 -0
- abstra_statics/dist/assets/{Tasks.5fde94ea.js → Tasks.c9ba3095.js} +2 -2
- abstra_statics/dist/assets/{UploadOutlined.3828d031.js → UploadOutlined.c563b054.js} +2 -2
- abstra_statics/dist/assets/{View.f0be1038.js → View.4c3c38ba.js} +2 -2
- abstra_statics/dist/assets/{View.vue_vue_type_script_setup_true_lang.bddece9c.js → View.vue_vue_type_script_setup_true_lang.a00f21c8.js} +2 -2
- abstra_statics/dist/assets/{Watermark.1655dad8.js → Watermark.c71c105b.js} +2 -2
- abstra_statics/dist/assets/{WebEditor.f6ba39c6.js → WebEditor.4ef39590.js} +2 -2
- abstra_statics/dist/assets/WidgetPreview.8bd406f7.js +2 -0
- abstra_statics/dist/assets/{ant-design.1cc60cde.js → ant-design.06b818ab.js} +2 -2
- abstra_statics/dist/assets/{apiKey.49b8decf.js → apiKey.e3aa9e16.js} +2 -2
- abstra_statics/dist/assets/asyncComputed.bfb7341c.js +2 -0
- abstra_statics/dist/assets/{build.261de82e.js → build.aef51d48.js} +2 -2
- abstra_statics/dist/assets/colorHelpers.e94da383.js +2 -0
- abstra_statics/dist/assets/{console.0548c6a0.js → console.86947afb.js} +4 -4
- abstra_statics/dist/assets/constants.b75d9567.js +2 -0
- abstra_statics/dist/assets/contracts.generated.7508e893.js +2 -0
- abstra_statics/dist/assets/{cssMode.c55f29d9.js → cssMode.0aa24dcd.js} +2 -2
- abstra_statics/dist/assets/datetime.46141396.js +2 -0
- abstra_statics/dist/assets/dayjs.b4dc8227.js +2 -0
- abstra_statics/dist/assets/editor.4f4b7594.js +2 -0
- abstra_statics/dist/assets/editor.main.340c0a2d.js +2 -0
- abstra_statics/dist/assets/fetch.cfa094a0.js +2 -0
- abstra_statics/dist/assets/{folder.934b13ce.js → folder.fe6adcd2.js} +2 -2
- abstra_statics/dist/assets/{freemarker2.72aea997.js → freemarker2.8bd96640.js} +2 -2
- abstra_statics/dist/assets/{handlebars.607ed329.js → handlebars.e5dd9b19.js} +2 -2
- abstra_statics/dist/assets/{html.1cebc021.js → html.7bcef916.js} +3 -3
- abstra_statics/dist/assets/{htmlMode.b3ab207b.js → htmlMode.ce91c230.js} +2 -2
- abstra_statics/dist/assets/{index.61710ff9.js → index.005bab7f.js} +2 -2
- abstra_statics/dist/assets/index.06cad1f2.js +2 -0
- abstra_statics/dist/assets/{index.2efe5ae2.js → index.161ccee5.js} +2 -2
- abstra_statics/dist/assets/{index.cef986ac.js → index.16664500.js} +2 -2
- abstra_statics/dist/assets/{index.8ea8b90b.js → index.57a61691.js} +2 -2
- abstra_statics/dist/assets/{index.424d5056.js → index.a884598f.js} +2 -2
- abstra_statics/dist/assets/index.eb8f01b7.js +2 -0
- abstra_statics/dist/assets/{index.ded0f9ab.js → index.ee218f7a.js} +2 -2
- abstra_statics/dist/assets/{index.a5ddebc4.js → index.fe015dd3.js} +3 -3
- abstra_statics/dist/assets/{javascript.595850d9.js → javascript.4d5c0a37.js} +3 -3
- abstra_statics/dist/assets/{jsonMode.e3ed1113.js → jsonMode.0942a255.js} +2 -2
- abstra_statics/dist/assets/{jwt-decode.esm.1b301f74.js → jwt-decode.esm.e1e8e181.js} +7 -7
- abstra_statics/dist/assets/{linters.0018d44c.js → linters.39cc198f.js} +2 -2
- abstra_statics/dist/assets/{liquid.3ef83be8.js → liquid.884b015e.js} +2 -2
- abstra_statics/dist/assets/member.af05829c.js +2 -0
- abstra_statics/dist/assets/{metadata.e6e62729.js → metadata.034775c8.js} +2 -2
- abstra_statics/dist/assets/omniChatStore.19fcae1a.js +8 -0
- abstra_statics/dist/assets/{organization.c92a9190.js → organization.a29009bc.js} +2 -2
- abstra_statics/dist/assets/player.b9e54e21.js +2 -0
- abstra_statics/dist/assets/{plotly.min.ac699f04.js → plotly.min.df1e817c.js} +2 -2
- abstra_statics/dist/assets/polling.84bf96db.js +2 -0
- abstra_statics/dist/assets/{project.48a235c1.js → project.a9ad86e9.js} +2 -2
- abstra_statics/dist/assets/{python.b69cfb2a.js → python.17c791bf.js} +2 -2
- abstra_statics/dist/assets/{razor.0f42fef9.js → razor.4b071c3b.js} +3 -3
- abstra_statics/dist/assets/{record.b96b0275.js → record.06867f70.js} +2 -2
- abstra_statics/dist/assets/{redirect.ebab71ed.js → redirect.cd158e43.js} +2 -2
- abstra_statics/dist/assets/{repository.c0dc4e22.js → repository.40cf87c6.js} +2 -2
- abstra_statics/dist/assets/repository.ecf19994.js +2 -0
- abstra_statics/dist/assets/{router.99a53337.js → router.8ccbba96.js} +3 -3
- abstra_statics/dist/assets/router.c00c99d7.js +2 -0
- abstra_statics/dist/assets/string.ea3b2597.js +2 -0
- abstra_statics/dist/assets/{tables.13d62f0c.js → tables.928d4c4a.js} +2 -2
- abstra_statics/dist/assets/{tasksController.3255c760.js → tasksController.95334db5.js} +2 -2
- abstra_statics/dist/assets/{toggleHighContrast.cb5e834a.js → toggleHighContrast.67a76682.js} +49 -49
- abstra_statics/dist/assets/{tsMode.95528ab9.js → tsMode.bd4befb2.js} +2 -2
- abstra_statics/dist/assets/{typescript.b90bd43d.js → typescript.b5722de7.js} +2 -2
- abstra_statics/dist/assets/url.62ce842c.js +2 -0
- abstra_statics/dist/assets/{useCodebaseEvents.c47ad36d.js → useCodebaseEvents.47e4fcfe.js} +2 -2
- abstra_statics/dist/assets/userStore.51f1e2d0.js +2 -0
- abstra_statics/dist/assets/uuid.f4308f15.js +2 -0
- abstra_statics/dist/assets/{vue-flow-background.6b5566a8.js → vue-flow-background.03bf6b4b.js} +2 -2
- abstra_statics/dist/assets/{vue-quill.esm-bundler.3c4b0230.js → vue-quill.esm-bundler.d6a7c536.js} +2 -2
- abstra_statics/dist/assets/{workspaceStore.6a20c00d.js → workspaceStore.cca10750.js} +2 -2
- abstra_statics/dist/assets/{xml.070d3630.js → xml.0a62ffce.js} +3 -3
- abstra_statics/dist/assets/{yaml.2a862691.js → yaml.1efc213f.js} +3 -3
- abstra_statics/dist/console.html +15 -15
- abstra_statics/dist/editor.html +13 -13
- abstra_statics/dist/player.html +9 -9
- abstra_statics/dist/assets/AbstraButton.vue_vue_type_script_setup_true_lang.e74c1d9b.js +0 -2
- abstra_statics/dist/assets/AbstraLogo.vue_vue_type_script_setup_true_lang.f9d9018b.js +0 -2
- abstra_statics/dist/assets/App.24328bec.js +0 -2
- abstra_statics/dist/assets/App.vue_vue_type_style_index_0_lang.13b52476.js +0 -2
- abstra_statics/dist/assets/BaseLayout.e2546be2.js +0 -2
- abstra_statics/dist/assets/Billing.ed96ff6d.js +0 -2
- abstra_statics/dist/assets/CloseCircleOutlined.04918c3d.js +0 -2
- abstra_statics/dist/assets/ConsoleOmniChat.vue_vue_type_script_setup_true_lang.d7b17e09.js +0 -2
- abstra_statics/dist/assets/ContentLayout.3a69fd49.js +0 -2
- abstra_statics/dist/assets/CrudView.c883bb05.css +0 -1
- abstra_statics/dist/assets/DocsButton.vue_vue_type_script_setup_true_lang.836e8f5e.js +0 -2
- abstra_statics/dist/assets/EnvVars.2f33a113.js +0 -2
- abstra_statics/dist/assets/Form.c1a08fa6.js +0 -2
- abstra_statics/dist/assets/Home.332f8b44.js +0 -2
- abstra_statics/dist/assets/Home.964d824d.js +0 -2
- abstra_statics/dist/assets/LoadingContainer.cbb8e068.js +0 -2
- abstra_statics/dist/assets/LoadingOutlined.644899c2.js +0 -2
- abstra_statics/dist/assets/Login.ebf77147.js +0 -2
- abstra_statics/dist/assets/Logo.c74119c7.js +0 -2
- abstra_statics/dist/assets/Main.a2c84f7b.js +0 -2
- abstra_statics/dist/assets/NewEditor.4519d8ac.js +0 -8
- abstra_statics/dist/assets/OidcLoginCallback.073de6bd.js +0 -2
- abstra_statics/dist/assets/OidcLogoutCallback.e474320b.js +0 -2
- abstra_statics/dist/assets/OmniChat.1a6ad90c.js +0 -6
- abstra_statics/dist/assets/Organizations.cd6f9f61.js +0 -2
- abstra_statics/dist/assets/PhDownloadSimple.vue.f8dc6a01.js +0 -2
- abstra_statics/dist/assets/ProjectLogin.583ce83f.js +0 -2
- abstra_statics/dist/assets/Sql.a8abfb57.js +0 -5
- abstra_statics/dist/assets/Steps.2f177a1f.js +0 -2
- abstra_statics/dist/assets/Tables.f0ea43f5.js +0 -2
- abstra_statics/dist/assets/TablesTabs.vue_vue_type_script_setup_true_lang.a35b4471.js +0 -2
- abstra_statics/dist/assets/WidgetPreview.70e3ecb3.js +0 -2
- abstra_statics/dist/assets/asyncComputed.92146382.js +0 -2
- abstra_statics/dist/assets/colorHelpers.59e5ee56.js +0 -2
- abstra_statics/dist/assets/constants.f352d89b.js +0 -2
- abstra_statics/dist/assets/contracts.generated.ac0bb8ea.js +0 -2
- abstra_statics/dist/assets/datetime.780c5d6b.js +0 -2
- abstra_statics/dist/assets/dayjs.b139fc88.js +0 -2
- abstra_statics/dist/assets/editor.f7e5ca32.js +0 -2
- abstra_statics/dist/assets/editor.main.eea24677.js +0 -2
- abstra_statics/dist/assets/fetch.e3c8dd68.js +0 -2
- abstra_statics/dist/assets/index.d73f307c.js +0 -2
- abstra_statics/dist/assets/index.e189c6ed.js +0 -2
- abstra_statics/dist/assets/member.3c3a769a.js +0 -2
- abstra_statics/dist/assets/omniChatStore.8902e4de.js +0 -8
- abstra_statics/dist/assets/player.82dc9e2f.js +0 -2
- abstra_statics/dist/assets/polling.a3bae209.js +0 -2
- abstra_statics/dist/assets/repository.4920fb3b.js +0 -2
- abstra_statics/dist/assets/router.8882099a.js +0 -2
- abstra_statics/dist/assets/string.4796d44a.js +0 -2
- abstra_statics/dist/assets/url.84e62ca8.js +0 -2
- abstra_statics/dist/assets/userStore.843da693.js +0 -2
- abstra_statics/dist/assets/uuid.58d26ff2.js +0 -2
- {abstra-3.23.9.dist-info → abstra-3.23.11.dist-info}/WHEEL +0 -0
- {abstra-3.23.9.dist-info → abstra-3.23.11.dist-info}/entry_points.txt +0 -0
- {abstra-3.23.9.dist-info → abstra-3.23.11.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./jwt-decode.esm.e1e8e181.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]="5eb5f0a8-a309-49ce-ba63-d1b66e664541",e._sentryDebugIdIdentifier="sentry-dbid-5eb5f0a8-a309-49ce-ba63-d1b66e664541")}catch{}})();const i=1e3,r=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{r as u};
|
|
2
|
+
//# sourceMappingURL=polling.84bf96db.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
|
|
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 c=(a,t,e)=>(l(a,typeof t!="symbol"?t+"":t,e),e);import{a as g}from"./record.06867f70.js";import{h as s}from"./router.8ccbba96.js";import"./jwt-decode.esm.e1e8e181.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]="702b58fc-ce20-4020-80ec-c39d2267ccc9",a._sentryDebugIdIdentifier="sentry-dbid-702b58fc-ce20-4020-80ec-c39d2267ccc9")}catch{}})();class y extends Error{constructor(){super("Subdomain already in use")}}class m{constructor(){c(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 m;class i{constructor(t){c(this,"record");this.record=g.create(n,t)}static formatSubdomain(t){const r=t.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),o=/[a-z0-9]+/g,u=r.matchAll(o);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{m as P,i as a};
|
|
2
|
+
//# sourceMappingURL=project.a9ad86e9.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{m as a}from"./toggleHighContrast.
|
|
1
|
+
import{m as a}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.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]="96f6cf08-b973-4c02-8ea6-9cb456bec02a",t._sentryDebugIdIdentifier="sentry-dbid-96f6cf08-b973-4c02-8ea6-9cb456bec02a")}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 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 f={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")}}},m={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{f as conf,m as language};
|
|
7
|
-
//# sourceMappingURL=python.
|
|
7
|
+
//# sourceMappingURL=python.17c791bf.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{m as s}from"./toggleHighContrast.
|
|
1
|
+
import{m as s}from"./toggleHighContrast.67a76682.js";import"./jwt-decode.esm.e1e8e181.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]="a7af6f24-bcdc-4907-9d58-5a05aa1acdc4",t._sentryDebugIdIdentifier="sentry-dbid-a7af6f24-bcdc-4907-9d58-5a05aa1acdc4")}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 c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,
|
|
7
|
-
//# sourceMappingURL=razor.
|
|
6
|
+
*-----------------------------------------------------------------------------*/var c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,i=(t,e,r,n)=>{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:!(n=l(e,o))||n.enumerable});return t},h=(t,e,r)=>(i(t,e,"default"),r&&i(r,e,"default")),a={};h(a,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:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.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.4b071c3b.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var o=Object.defineProperty;var d=(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)=>(d(e,typeof s!="symbol"?s+"":s,t),t);import{N as
|
|
2
|
-
//# sourceMappingURL=record.
|
|
1
|
+
var o=Object.defineProperty;var d=(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)=>(d(e,typeof s!="symbol"?s+"":s,t),t);import{N as p,eD as c,em as r}from"./jwt-decode.esm.e1e8e181.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]="13a5cd80-618a-4316-930e-6bf7e1b5a5a7",e._sentryDebugIdIdentifier="sentry-dbid-13a5cd80-618a-4316-930e-6bf7e1b5a5a7")}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=p({})}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.06867f70.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as c}from"./url.
|
|
2
|
-
//# sourceMappingURL=redirect.
|
|
1
|
+
import{i as c}from"./url.62ce842c.js";import"./jwt-decode.esm.e1e8e181.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]="7f6c3433-2259-4240-bc7d-0b8e049591da",e._sentryDebugIdIdentifier="sentry-dbid-7f6c3433-2259-4240-bc7d-0b8e049591da")}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.cd158e43.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 i=(r,t,e)=>(h(r,typeof t!="symbol"?t+"":t,e),e);import{h as a}from"./router.8ccbba96.js";import{l as u}from"./fetch.cfa094a0.js";import{E as l}from"./record.06867f70.js";import"./jwt-decode.esm.e1e8e181.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]="cc5f8f7d-3295-4e82-ae17-b6cb461e6e87",r._sentryDebugIdIdentifier="sentry-dbid-cc5f8f7d-3295-4e82-ae17-b6cb461e6e87")}catch{}})();class c{constructor(t){i(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 c(t)}commit(){this.record.commit()}hasChanges(){return this.record.hasChanges()}get changes(){return this.record.changes}update(t){this.record.update(t)}}class f{constructor(){i(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 f;class I{constructor(t){this.projectId=t}async list(t,e){return(await n.list(this.projectId,{limit:t,offset:e})).map(c.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(c.from)}}export{I as C,$ as E};
|
|
2
|
+
//# sourceMappingURL=repository.40cf87c6.js.map
|
|
@@ -0,0 +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.e1e8e181.js";import{L as x}from"./LoadingOutlined.659d6aae.js";import{h as d}from"./router.8ccbba96.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]="398ddff8-3a21-4cbf-9649-72e6c2b13249",r._sentryDebugIdIdentifier="sentry-dbid-398ddff8-3a21-4cbf-9649-72e6c2b13249")}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.ecf19994.js.map
|