@budibase/server 2.2.21 → 2.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/builder/assets/{index.e2176008.js → index.4fcd81a8.js} +1 -1
- package/builder/index.html +1 -1
- package/coverage/clover.xml +104 -101
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +18 -18
- package/coverage/lcov-report/src/api/controllers/analytics.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/apikeys.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/application.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/automation.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/backup.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/cloud.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/component.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/datasource.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/deploy/Deployment.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/deploy/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/deploy/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/dev.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/integration.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/layout.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/metadata.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/permission.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/file.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/github.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/npm.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/uploaders.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/url.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/plugin/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/applications.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/applications.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/queries.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/rows.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/tables.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/mapping/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/queries.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/rows.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/tables.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/public/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/base/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/base/openapi.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/curl.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi2.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/import/sources/openapi3.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/query/validation.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/role.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/routing.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/ExternalRequest.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/external.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/internal.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/internalSearch.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/staticFormula.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/row/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/screen.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/script.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/static/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/static/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/bulkFormula.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/external.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/internal.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/table/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/user.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/exporters.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/view/viewBuilder.ts.html +1 -1
- package/coverage/lcov-report/src/api/controllers/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/api/index.html +1 -1
- package/coverage/lcov-report/src/api/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/analytics.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/apikeys.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/application.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/auth.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/automation.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/backup.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/cloud.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/component.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/datasource.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/deploy.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/dev.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/integration.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/layout.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/metadata.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/migrations.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/permission.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/plugin.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/applications.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/middleware/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/middleware/mapper.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/queries.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/rows.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/tables.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/tests/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/tests/utils.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/users.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/utils/Endpoint.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/public/utils/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/query.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/role.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/routing.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/row.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/screen.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/script.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/static.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/table.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/templates.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/tests/utilities/TestFunctions.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/tests/utilities/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/tests/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/user.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/utils/index.html +1 -1
- package/coverage/lcov-report/src/api/routes/utils/validators.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/view.ts.html +1 -1
- package/coverage/lcov-report/src/api/routes/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/app.ts.html +1 -1
- package/coverage/lcov-report/src/automations/actions.ts.html +1 -1
- package/coverage/lcov-report/src/automations/automationUtils.ts.html +1 -1
- package/coverage/lcov-report/src/automations/bullboard.ts.html +1 -1
- package/coverage/lcov-report/src/automations/index.html +1 -1
- package/coverage/lcov-report/src/automations/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/logging/index.html +1 -1
- package/coverage/lcov-report/src/automations/logging/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/bash.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/createRow.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/delay.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/deleteRow.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/discord.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/executeQuery.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/executeScript.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/filter.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/index.html +1 -1
- package/coverage/lcov-report/src/automations/steps/integromat.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/loop.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/outgoingWebhook.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/queryRows.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/sendSmtpEmail.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/serverLog.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/slack.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/updateRow.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/utils.ts.html +1 -1
- package/coverage/lcov-report/src/automations/steps/zapier.ts.html +1 -1
- package/coverage/lcov-report/src/automations/tests/utilities/index.html +1 -1
- package/coverage/lcov-report/src/automations/tests/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/app.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/cron.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/index.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/rowDeleted.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/rowSaved.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/rowUpdated.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggerInfo/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/automations/triggers.ts.html +1 -1
- package/coverage/lcov-report/src/automations/utils.ts.html +1 -1
- package/coverage/lcov-report/src/constants/index.html +1 -1
- package/coverage/lcov-report/src/constants/index.ts.html +1 -1
- package/coverage/lcov-report/src/constants/layouts.ts.html +1 -1
- package/coverage/lcov-report/src/constants/screens.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/datasource_bb_default.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/employeeImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/expensesImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/index.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/inventoryImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/defaultData/jobsImport.ts.html +1 -1
- package/coverage/lcov-report/src/db/dynamoClient.ts.html +1 -1
- package/coverage/lcov-report/src/db/inMemoryView.ts.html +1 -1
- package/coverage/lcov-report/src/db/index.html +1 -1
- package/coverage/lcov-report/src/db/index.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/LinkController.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/LinkDocument.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/index.ts.html +1 -1
- package/coverage/lcov-report/src/db/linkedRows/linkUtils.ts.html +1 -1
- package/coverage/lcov-report/src/db/newid.ts.html +1 -1
- package/coverage/lcov-report/src/db/utils.ts.html +1 -1
- package/coverage/lcov-report/src/definitions/automations.ts.html +1 -1
- package/coverage/lcov-report/src/definitions/datasource.ts.html +1 -1
- package/coverage/lcov-report/src/definitions/index.html +1 -1
- package/coverage/lcov-report/src/environment.ts.html +1 -1
- package/coverage/lcov-report/src/events/AutomationEmitter.ts.html +1 -1
- package/coverage/lcov-report/src/events/BudibaseEmitter.ts.html +1 -1
- package/coverage/lcov-report/src/events/index.html +1 -1
- package/coverage/lcov-report/src/events/index.ts.html +1 -1
- package/coverage/lcov-report/src/events/utils.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/airtable.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/arangodb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/index.html +1 -1
- package/coverage/lcov-report/src/integrations/base/query.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/sql.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/sqlTable.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/base/utils.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/couchdb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/dynamodb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/elasticsearch.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/firebase.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/googlesheets.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/index.html +21 -21
- package/coverage/lcov-report/src/integrations/index.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/microsoftSqlServer.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/mongodb.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/mysql.ts.html +8 -5
- package/coverage/lcov-report/src/integrations/oracle.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/postgres.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/queries/index.html +1 -1
- package/coverage/lcov-report/src/integrations/queries/sql.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/redis.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/rest.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/s3.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/snowflake.ts.html +1 -1
- package/coverage/lcov-report/src/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/src/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/src/integrations/utils.ts.html +32 -14
- package/coverage/lcov-report/src/middleware/appInfo.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/authorized.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/builder.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/currentapp.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/index.html +1 -1
- package/coverage/lcov-report/src/middleware/joi-validator.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/publicApi.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/resourceId.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/selfhost.ts.html +1 -1
- package/coverage/lcov-report/src/middleware/utils.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/appUrls.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/automations.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/datasources.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/layouts.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/queries.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/roles.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/screens.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app/tables.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/app.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/configs.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/quotas.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global/users.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/global.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/index.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/backfill/installation.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/syncQuotas.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/tableSettings.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/index.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncApps.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncPlugins.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/usageQuotas/syncRows.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/functions/userEmailViewCasing.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/index.html +1 -1
- package/coverage/lcov-report/src/migrations/index.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/tests/helpers.ts.html +1 -1
- package/coverage/lcov-report/src/migrations/tests/index.html +1 -1
- package/coverage/lcov-report/src/migrations/tests/structures.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/sync.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/applications/utils.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/automations/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/automations/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/automations/webhook.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/constants.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/exports.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/imports.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/backups/statistics.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/attachments.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/rows/rows.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/app/tables/index.html +1 -1
- package/coverage/lcov-report/src/sdk/app/tables/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/index.html +1 -1
- package/coverage/lcov-report/src/sdk/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/index.html +1 -1
- package/coverage/lcov-report/src/sdk/users/index.ts.html +1 -1
- package/coverage/lcov-report/src/sdk/users/utils.ts.html +1 -1
- package/coverage/lcov-report/src/startup.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/TestConfiguration.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/controllers.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/index.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/tests/utilities/structures.ts.html +1 -1
- package/coverage/lcov-report/src/threads/automation.ts.html +1 -1
- package/coverage/lcov-report/src/threads/index.html +1 -1
- package/coverage/lcov-report/src/threads/index.ts.html +1 -1
- package/coverage/lcov-report/src/threads/query.ts.html +1 -1
- package/coverage/lcov-report/src/threads/utils.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/budibaseDir.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/centralPath.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/csvParser.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/clientLibrary.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/index.html +1 -1
- package/coverage/lcov-report/src/utilities/fileSystem/index.ts.html +2 -2
- package/coverage/lcov-report/src/utilities/fileSystem/processor.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/global.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/index.html +1 -1
- package/coverage/lcov-report/src/utilities/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/plugins.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/redis.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/src/utilities/routing/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/index.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/map.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/rowProcessor/utils.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/scriptRunner.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/security.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/statusCodes.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/usageQuota/index.html +1 -1
- package/coverage/lcov-report/src/utilities/usageQuota/rows.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/usageQuota/usageQuoteReset.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/users.ts.html +1 -1
- package/coverage/lcov-report/src/utilities/workerRequests.ts.html +1 -1
- package/coverage/lcov-report/src/watch.ts.html +1 -1
- package/coverage/lcov-report/src/websocket.ts.html +1 -1
- package/coverage/lcov.info +183 -174
- package/dist/integrations/mysql.js +2 -1
- package/dist/integrations/utils.js +9 -3
- package/dist/package.json +6 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/src/integrations/mysql.ts +2 -1
- package/src/integrations/utils.ts +9 -3
|
@@ -939,7 +939,7 @@ Use Save As... to download, then click back to return to this page.`)&&(location
|
|
|
939
939
|
`),t=K("i"),i=oe(r),a=oe("?"),o=oe(`
|
|
940
940
|
This action cannot be undone.`)},m(l,s){C(l,e,s),C(l,t,s),U(t,i),U(t,a),C(l,o,s)},p(l,s){s&1&&r!==(r=l[0].name+"")&&mt(i,r)},d(l){l&&M(e),l&&M(t),l&&M(o)}}}function Nft(n){let e,t,r,i,a,o;e=new lu({props:{$$slots:{control:[Vft],default:[Pft]},$$scope:{ctx:n}}});let l={okText:"Delete Automation",onOk:n[3],title:"Confirm Deletion",$$slots:{default:[Rft]},$$scope:{ctx:n}};r=new Nl({props:l}),n[5](r);let s={automation:n[0]};return a=new Oft({props:s}),n[6](a),{c(){H(e.$$.fragment),t=q(),H(r.$$.fragment),i=q(),H(a.$$.fragment)},m(u,c){O(e,u,c),C(u,t,c),O(r,u,c),C(u,i,c),O(a,u,c),o=!0},p(u,[c]){const f={};c&518&&(f.$$scope={dirty:c,ctx:u}),e.$set(f);const d={};c&513&&(d.$$scope={dirty:c,ctx:u}),r.$set(d);const m={};c&1&&(m.automation=u[0]),a.$set(m)},i(u){o||(b(e.$$.fragment,u),b(r.$$.fragment,u),b(a.$$.fragment,u),o=!0)},o(u){$(e.$$.fragment,u),$(r.$$.fragment,u),$(a.$$.fragment,u),o=!1},d(u){B(e,u),u&&M(t),n[5](null),B(r,u),u&&M(i),n[6](null),B(a,u)}}}function Fft(n,e,t){let r,i;Re(n,Or,d=>t(7,r=d)),Re(n,si,d=>t(8,i=d));let{automation:a}=e,o,l;async function s(){try{await Or.actions.delete(a),yt.success("Automation deleted successfully"),i("../automate")}catch{yt.error("Error deleting automation")}}async function u(){try{await Or.actions.duplicate(a),yt.success("Automation has been duplicated successfully"),i(`./${r.selectedAutomation.automation._id}`)}catch{yt.error("Error duplicating automation")}}function c(d){Oe[d?"unshift":"push"](()=>{o=d,t(1,o)})}function f(d){Oe[d?"unshift":"push"](()=>{l=d,t(2,l)})}return n.$$set=d=>{"automation"in d&&t(0,a=d.automation)},[a,o,l,s,u,c,f]}class jft extends Ve{constructor(e){super(),Pe(this,e,Fft,Nft,Ie,{automation:0})}}function cj(n,e,t){const r=n.slice();return r[5]=e[t],r[7]=t,r}function Uft(n){let e,t,r;return e=new jft({props:{automation:n[5]}}),{c(){H(e.$$.fragment),t=q()},m(i,a){O(e,i,a),C(i,t,a),r=!0},p(i,a){const o={};a&1&&(o.automation=i[5]),e.$set(o)},i(i){r||(b(e.$$.fragment,i),r=!0)},o(i){$(e.$$.fragment,i),r=!1},d(i){B(e,i),i&&M(t)}}}function fj(n){let e,t;function r(){return n[3](n[5])}return e=new Np({props:{border:n[7]>0,icon:"ShareAndroid",text:n[5].name,selected:n[5]._id===n[1],$$slots:{default:[Uft]},$$scope:{ctx:n}}}),e.$on("click",r),{c(){H(e.$$.fragment)},m(i,a){O(e,i,a),t=!0},p(i,a){n=i;const o={};a&1&&(o.text=n[5].name),a&3&&(o.selected=n[5]._id===n[1]),a&257&&(o.$$scope={dirty:a,ctx:n}),e.$set(o)},i(i){t||(b(e.$$.fragment,i),t=!0)},o(i){$(e.$$.fragment,i),t=!1},d(i){B(e,i)}}}function xft(n){let e,t,r=n[0].automations.sort(pj),i=[];for(let o=0;o<r.length;o+=1)i[o]=fj(cj(n,r,o));const a=o=>$(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();D(e,"class","automations-list svelte-g64vb")},m(o,l){C(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,[l]){if(l&7){r=o[0].automations.sort(pj);let s;for(s=0;s<r.length;s+=1){const u=cj(o,r,s);i[s]?(i[s].p(u,l),b(i[s],1)):(i[s]=fj(u),i[s].c(),b(i[s],1),i[s].m(e,null))}for(ye(),s=r.length;s<i.length;s+=1)a(s);$e()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)b(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)$(i[l]);t=!1},d(o){o&&M(e),Tn(i,o)}}}const pj=n=>n.name;function qft(n,e,t){let r,i,a;Re(n,si,s=>t(4,i=s)),Re(n,Or,s=>t(0,a=s)),rr(async()=>{try{await Or.actions.fetch()}catch{yt.error("Error getting automations list")}});function o(s){Or.actions.select(s),i(`./${s._id}`)}const l=s=>o(s);return n.$$.update=()=>{var s,u;n.$$.dirty&1&&t(1,r=(u=(s=a.selectedAutomation)==null?void 0:s.automation)==null?void 0:u._id)},[a,r,o,l]}class Wft extends Ve{constructor(e){super(),Pe(this,e,qft,xft,Ie,{})}}function dj(n,e,t){const r=n.slice();return r[17]=e[t][0],r[18]=e[t][1],r}function Gft(n){let e;return{c(){e=oe(`Please name your automation, then select a trigger. Every automation must
|
|
941
941
|
start with a trigger.`)},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function Yft(n){let e;return{c(){e=oe("Triggers")},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function Kft(n){let e=n[18].name+"",t;return{c(){t=oe(e)},m(r,i){C(r,t,i)},p(r,i){i&8&&e!==(e=r[18].name+"")&&mt(t,e)},d(r){r&&M(t)}}}function hj(n){let e,t,r,i,a,o,l,s,u,c;r=new cn({props:{name:n[18].icon}}),o=new Rt({props:{size:"S",$$slots:{default:[Kft]},$$scope:{ctx:n}}});function f(){return n[13](n[18])}return{c(){e=K("div"),t=K("div"),H(r.$$.fragment),i=q(),a=K("span"),H(o.$$.fragment),l=q(),D(a,"class","icon-spacing svelte-1735451"),D(t,"class","item-body svelte-1735451"),D(e,"class","item svelte-1735451"),De(e,"selected",n[2]===n[18].name)},m(d,m){C(d,e,m),U(e,t),O(r,t,null),U(t,i),U(t,a),O(o,a,null),U(e,l),s=!0,u||(c=Mt(e,"click",f),u=!0)},p(d,m){n=d;const _={};m&8&&(_.name=n[18].icon),r.$set(_);const y={};m&2097160&&(y.$$scope={dirty:m,ctx:n}),o.$set(y),m&12&&De(e,"selected",n[2]===n[18].name)},i(d){s||(b(r.$$.fragment,d),b(o.$$.fragment,d),s=!0)},o(d){$(r.$$.fragment,d),$(o.$$.fragment,d),s=!1},d(d){d&&M(e),B(r),B(o),u=!1,c()}}}function Xft(n){let e,t,r,i;e=new Rt({props:{size:"S",$$slots:{default:[Yft]},$$scope:{ctx:n}}});let a=n[3],o=[];for(let s=0;s<a.length;s+=1)o[s]=hj(dj(n,a,s));const l=s=>$(o[s],1,1,()=>{o[s]=null});return{c(){H(e.$$.fragment),t=q(),r=K("div");for(let s=0;s<o.length;s+=1)o[s].c();D(r,"class","item-list svelte-1735451")},m(s,u){O(e,s,u),C(s,t,u),C(s,r,u);for(let c=0;c<o.length;c+=1)o[c].m(r,null);i=!0},p(s,u){const c={};if(u&2097152&&(c.$$scope={dirty:u,ctx:s}),e.$set(c),u&76){a=s[3];let f;for(f=0;f<a.length;f+=1){const d=dj(s,a,f);o[f]?(o[f].p(d,u),b(o[f],1)):(o[f]=hj(d),o[f].c(),b(o[f],1),o[f].m(r,null))}for(ye(),f=a.length;f<o.length;f+=1)l(f);$e()}},i(s){if(!i){b(e.$$.fragment,s);for(let u=0;u<a.length;u+=1)b(o[u]);i=!0}},o(s){$(e.$$.fragment,s),o=o.filter(Boolean);for(let u=0;u<o.length;u+=1)$(o[u]);i=!1},d(s){B(e,s),s&&M(t),s&&M(r),Tn(o,s)}}}function Jft(n){let e,t,r,i,a,o,l,s,u,c;e=new x_({props:{header:"You must publish your app to activate your automations.",message:"To test your automation before publishing, you can use the 'Run Test' functionality on the next screen."}}),r=new Rt({props:{size:"XS",$$slots:{default:[Gft]},$$scope:{ctx:n}}});function f(_){n[10](_)}function d(_){n[11](_)}let m={label:"Name"};return n[0]!==void 0&&(m.value=n[0]),n[4]!==void 0&&(m.error=n[4]),a=new Mn({props:m}),Oe.push(()=>rt(a,"value",f)),Oe.push(()=>rt(a,"error",d)),a.$on("input",n[12]),u=new Ht({props:{noPadding:!0,$$slots:{default:[Xft]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment),t=q(),H(r.$$.fragment),i=q(),H(a.$$.fragment),s=q(),H(u.$$.fragment)},m(_,y){O(e,_,y),C(_,t,y),O(r,_,y),C(_,i,y),O(a,_,y),C(_,s,y),O(u,_,y),c=!0},p(_,y){const w={};y&2097152&&(w.$$scope={dirty:y,ctx:_}),r.$set(w);const z={};!o&&y&1&&(o=!0,z.value=_[0],it(()=>o=!1)),!l&&y&16&&(l=!0,z.error=_[4],it(()=>l=!1)),a.$set(z);const S={};y&2097164&&(S.$$scope={dirty:y,ctx:_}),u.$set(S)},i(_){c||(b(e.$$.fragment,_),b(r.$$.fragment,_),b(a.$$.fragment,_),b(u.$$.fragment,_),c=!0)},o(_){$(e.$$.fragment,_),$(r.$$.fragment,_),$(a.$$.fragment,_),$(u.$$.fragment,_),c=!1},d(_){B(e,_),_&&M(t),B(r,_),_&&M(i),B(a,_),_&&M(s),B(u,_)}}}function Qft(n){let e,t;return e=new hr({props:{title:"Create Automation",confirmText:"Save",size:"M",onConfirm:n[5],disabled:!n[2]||!n[0],$$slots:{default:[Jft]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,[i]){const a={};i&5&&(a.disabled=!r[2]||!r[0]),i&2097183&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function Zft(n,e,t){let r,i,a,o,l,s;Re(n,Or,I=>t(8,o=I)),Re(n,si,I=>t(16,l=I)),Re(n,ch,I=>t(9,s=I));let u,c,f=!1,d,{webhookModal:m}=e;async function _(){var I;try{await Or.actions.create({name:u,instanceId:r});const P=o.selectedAutomation.constructBlock("TRIGGER",d.stepId,d);Or.actions.addBlockToAutomation(P),d.stepId===P6.WEBHOOK&&m.show,await Or.actions.save((I=o.selectedAutomation)==null?void 0:I.automation),yt.success(`Automation ${u} created`),l(`./${o.selectedAutomation.automation._id}`)}catch{yt.error("Error creating automation")}}const y=I=>{d=I,t(2,c=I.name)};function w(I){u=I,t(0,u)}function z(I){i=I,t(4,i),t(1,f),t(0,u)}const S=()=>t(1,f=!0),T=I=>y(I);return n.$$set=I=>{"webhookModal"in I&&t(7,m=I.webhookModal)},n.$$.update=()=>{n.$$.dirty&512&&(r=s._id),n.$$.dirty&3&&t(4,i=f&&!u?"Please specify a name for the automation.":null),n.$$.dirty&256&&t(3,a=Object.entries(o.blockDefinitions.TRIGGER))},[u,f,c,a,i,_,y,m,o,s,w,z,S,T]}class CZ extends Ve{constructor(e){super(),Pe(this,e,Zft,Qft,Ie,{webhookModal:7})}}function e2t(n){let e;return{c(){e=oe("Add automation")},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function t2t(n){let e,t;return e=new vn({props:{cta:!0,wide:!0,$$slots:{default:[e2t]},$$scope:{ctx:n}}}),e.$on("click",function(){kn(n[0].show)&&n[0].show.apply(this,arguments)}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){n=r;const a={};i&8&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function n2t(n){let e,t;return e=new CZ({props:{webhookModal:n[1]}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&2&&(a.webhookModal=r[1]),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function r2t(n){let e,t,r,i,a,o;e=new Ht({props:{paddingX:"L",paddingY:"L",gap:"S",$$slots:{default:[t2t]},$$scope:{ctx:n}}}),r=new Wft({});let l={$$slots:{default:[n2t]},$$scope:{ctx:n}};return a=new tr({props:l}),n[2](a),{c(){H(e.$$.fragment),t=q(),H(r.$$.fragment),i=q(),H(a.$$.fragment)},m(s,u){O(e,s,u),C(s,t,u),O(r,s,u),C(s,i,u),O(a,s,u),o=!0},p(s,u){const c={};u&9&&(c.$$scope={dirty:u,ctx:s}),e.$set(c);const f={};u&10&&(f.$$scope={dirty:u,ctx:s}),a.$set(f)},i(s){o||(b(e.$$.fragment,s),b(r.$$.fragment,s),b(a.$$.fragment,s),o=!0)},o(s){$(e.$$.fragment,s),$(r.$$.fragment,s),$(a.$$.fragment,s),o=!1},d(s){B(e,s),s&&M(t),B(r,s),s&&M(i),n[2](null),B(a,s)}}}function i2t(n){let e,t;return e=new E1({props:{title:"Automations",$$slots:{default:[r2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&11&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function a2t(n){let e,t,r;return t=new Zf({props:{selected:"Automations",$$slots:{default:[i2t]},$$scope:{ctx:n}}}),{c(){e=K("div"),H(t.$$.fragment),D(e,"class","nav svelte-9wnw5f")},m(i,a){C(i,e,a),O(t,e,null),r=!0},p(i,[a]){const o={};a&11&&(o.$$scope={dirty:a,ctx:i}),t.$set(o)},i(i){r||(b(t.$$.fragment,i),r=!0)},o(i){$(t.$$.fragment,i),r=!1},d(i){i&&M(e),B(t)}}}function o2t(n,e,t){let{modal:r}=e,{webhookModal:i}=e;function a(o){Oe[o?"unshift":"push"](()=>{r=o,t(0,r)})}return n.$$set=o=>{"modal"in o&&t(0,r=o.modal),"webhookModal"in o&&t(1,i=o.webhookModal)},[r,i,a]}class l2t extends Ve{constructor(e){super(),Pe(this,e,o2t,a2t,Ie,{modal:0,webhookModal:1})}}function mj(n,e,t){const r=n.slice();return r[8]=e[t],r[10]=t,r}function gj(n){var u;let e,t,r,i,a;function o(c){n[6](c)}let l={showTestStatus:!0,block:n[8],isTrigger:n[10]===0,idx:n[10],testResult:(u=n[2])==null?void 0:u[n[10]]};n[3]!==void 0&&(l.showParameters=n[3]),e=new MZ({props:l}),Oe.push(()=>rt(e,"showParameters",o));let s=n[3]&&n[3][n[8].id]&&vj(n);return{c(){H(e.$$.fragment),r=q(),s&&s.c(),i=bt()},m(c,f){O(e,c,f),C(c,r,f),s&&s.m(c,f),C(c,i,f),a=!0},p(c,f){var m;const d={};f&2&&(d.block=c[8]),f&4&&(d.testResult=(m=c[2])==null?void 0:m[c[10]]),!t&&f&8&&(t=!0,d.showParameters=c[3],it(()=>t=!1)),e.$set(d),c[3]&&c[3][c[8].id]?s?(s.p(c,f),f&10&&b(s,1)):(s=vj(c),s.c(),b(s,1),s.m(i.parentNode,i)):s&&(ye(),$(s,1,1,()=>{s=null}),$e())},i(c){a||(b(e.$$.fragment,c),b(s),a=!0)},o(c){$(e.$$.fragment,c),$(s),a=!1},d(c){B(e,c),c&&M(r),s&&s.d(c),c&&M(i)}}}function vj(n){var s,u;let e,t,r,i,a,o;e=new li({props:{noMargin:!0}});let l=((u=(s=n[2])==null?void 0:s[n[10]])==null?void 0:u.outputs.iterations)&&_j(n);return a=new Zf({props:{noHorizPadding:!0,selected:"Input",$$slots:{default:[f2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment),t=q(),l&&l.c(),r=q(),i=K("div"),H(a.$$.fragment),D(i,"class","tabs svelte-1iblsnb")},m(c,f){O(e,c,f),C(c,t,f),l&&l.m(c,f),C(c,r,f),C(c,i,f),O(a,i,null),o=!0},p(c,f){var m,_;(_=(m=c[2])==null?void 0:m[c[10]])!=null&&_.outputs.iterations?l?(l.p(c,f),f&4&&b(l,1)):(l=_j(c),l.c(),b(l,1),l.m(r.parentNode,r)):l&&(ye(),$(l,1,1,()=>{l=null}),$e());const d={};f&2052&&(d.$$scope={dirty:f,ctx:c}),a.$set(d)},i(c){o||(b(e.$$.fragment,c),b(l),b(a.$$.fragment,c),o=!0)},o(c){$(e.$$.fragment,c),$(l),$(a.$$.fragment,c),o=!1},d(c){B(e,c),c&&M(t),l&&l.d(c),c&&M(r),c&&M(i),B(a)}}}function _j(n){let e,t,r,i,a,o;return t=new cn({props:{name:"Reuse"}}),a=new sn({props:{$$slots:{default:[s2t]},$$scope:{ctx:n}}}),{c(){e=K("div"),H(t.$$.fragment),r=q(),i=K("div"),H(a.$$.fragment),wn(i,"margin-left","10px"),wn(e,"display","flex"),wn(e,"padding","10px 10px 0px 12px")},m(l,s){C(l,e,s),O(t,e,null),U(e,r),U(e,i),O(a,i,null),o=!0},p(l,s){const u={};s&2052&&(u.$$scope={dirty:s,ctx:l}),a.$set(u)},i(l){o||(b(t.$$.fragment,l),b(a.$$.fragment,l),o=!0)},o(l){$(t.$$.fragment,l),$(a.$$.fragment,l),o=!1},d(l){l&&M(e),B(t),B(a)}}}function s2t(n){var a,o;let e,t=((o=(a=n[2])==null?void 0:a[n[10]])==null?void 0:o.outputs.iterations)+"",r,i;return{c(){e=oe("This loop ran "),r=oe(t),i=oe(" times.")},m(l,s){C(l,e,s),C(l,r,s),C(l,i,s)},p(l,s){var u,c;s&4&&t!==(t=((c=(u=l[2])==null?void 0:u[l[10]])==null?void 0:c.outputs.iterations)+"")&&mt(r,t)},d(l){l&&M(e),l&&M(r),l&&M(i)}}}function u2t(n){var r,i;let e,t;return e=new Q3({props:{minHeight:"80px",disabled:!0,value:E_((i=(r=n[2])==null?void 0:r[n[10]])==null?void 0:i.inputs,"No input")}}),{c(){H(e.$$.fragment)},m(a,o){O(e,a,o),t=!0},p(a,o){var s,u;const l={};o&4&&(l.value=E_((u=(s=a[2])==null?void 0:s[a[10]])==null?void 0:u.inputs,"No input")),e.$set(l)},i(a){t||(b(e.$$.fragment,a),t=!0)},o(a){$(e.$$.fragment,a),t=!1},d(a){B(e,a)}}}function c2t(n){var r,i;let e,t;return e=new Q3({props:{minHeight:"100px",disabled:!0,value:E_((i=(r=n[2])==null?void 0:r[n[10]])==null?void 0:i.outputs,"No output")}}),{c(){H(e.$$.fragment)},m(a,o){O(e,a,o),t=!0},p(a,o){var s,u;const l={};o&4&&(l.value=E_((u=(s=a[2])==null?void 0:s[a[10]])==null?void 0:u.outputs,"No output")),e.$set(l)},i(a){t||(b(e.$$.fragment,a),t=!0)},o(a){$(e.$$.fragment,a),t=!1},d(a){B(e,a)}}}function f2t(n){let e,t,r,i;return e=new E1({props:{title:"Input",$$slots:{default:[u2t]},$$scope:{ctx:n}}}),r=new E1({props:{title:"Output",$$slots:{default:[c2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment),t=q(),H(r.$$.fragment)},m(a,o){O(e,a,o),C(a,t,o),O(r,a,o),i=!0},p(a,o){const l={};o&2052&&(l.$$scope={dirty:o,ctx:a}),e.$set(l);const s={};o&2052&&(s.$$scope={dirty:o,ctx:a}),r.$set(s)},i(a){i||(b(e.$$.fragment,a),b(r.$$.fragment,a),i=!0)},o(a){$(e.$$.fragment,a),$(r.$$.fragment,a),i=!1},d(a){B(e,a),a&&M(t),B(r,a)}}}function bj(n){let e;return{c(){e=K("div"),D(e,"class","separator svelte-1iblsnb")},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function yj(n){let e,t,r,i,a,o=n[8].stepId!==J3.LOOP&&gj(n),l=n[1].length-1!==n[10]&&bj();return{c(){e=K("div"),o&&o.c(),r=q(),l&&l.c(),i=bt(),D(e,"class","block svelte-1iblsnb"),D(e,"style",t=n[0]?`width: ${n[0]}`:"")},m(s,u){C(s,e,u),o&&o.m(e,null),C(s,r,u),l&&l.m(s,u),C(s,i,u),a=!0},p(s,u){s[8].stepId!==J3.LOOP?o?(o.p(s,u),u&2&&b(o,1)):(o=gj(s),o.c(),b(o,1),o.m(e,null)):o&&(ye(),$(o,1,1,()=>{o=null}),$e()),(!a||u&1&&t!==(t=s[0]?`width: ${s[0]}`:""))&&D(e,"style",t),s[1].length-1!==s[10]?l||(l=bj(),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(s){a||(b(o),a=!0)},o(s){$(o),a=!1},d(s){s&&M(e),o&&o.d(),s&&M(r),l&&l.d(s),s&&M(i)}}}function p2t(n){let e,t,r=n[1],i=[];for(let o=0;o<r.length;o+=1)i[o]=yj(mj(n,r,o));const a=o=>$(i[o],1,1,()=>{i[o]=null});return{c(){e=K("div");for(let o=0;o<i.length;o+=1)i[o].c();D(e,"class","container svelte-1iblsnb")},m(o,l){C(o,e,l);for(let s=0;s<i.length;s+=1)i[s].m(e,null);t=!0},p(o,[l]){if(l&15){r=o[1];let s;for(s=0;s<r.length;s+=1){const u=mj(o,r,s);i[s]?(i[s].p(u,l),b(i[s],1)):(i[s]=yj(u),i[s].c(),b(i[s],1),i[s].m(e,null))}for(ye(),s=r.length;s<i.length;s+=1)a(s);$e()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)b(i[l]);t=!0}},o(o){i=i.filter(Boolean);for(let l=0;l<i.length;l+=1)$(i[l]);t=!1},d(o){o&&M(e),Tn(i,o)}}}function E_(n,e){return n?JSON.stringify(n,null,2):e}function d2t(n,e,t){let r,{automation:i}=e,{testResults:a}=e,{width:o="400px"}=e,l,s;function u(f){return f==null?void 0:f.steps.filter(d=>d.stepId!==J3.LOOP||[])}function c(f){l=f,t(3,l)}return n.$$set=f=>{"automation"in f&&t(4,i=f.automation),"testResults"in f&&t(5,a=f.testResults),"width"in f&&t(0,o=f.width)},n.$$.update=()=>{if(n.$$.dirty&32&&t(2,r=u(a)),n.$$.dirty&22){if(t(1,s=[]),i)i.definition.trigger&&s.push(i.definition.trigger),t(1,s=s.concat(i.definition.steps||[]).filter(f=>f.stepId!==J3.LOOP));else if(r){t(1,s=r||[]);let f=0;for(let d of s)d.id=f++}}},[o,s,r,l,i,a,c]}class SZ extends Ve{constructor(e){super(),Pe(this,e,d2t,p2t,Ie,{automation:4,testResults:5,width:0})}}function h2t(n){let e,t,r,i,a,o,l,s,u,c,f,d,m;return r=new cn({props:{name:"MultipleCheck"}}),s=new cn({props:{hoverable:!0,name:"Close"}}),s.$on("click",n[4]),c=new li({}),d=new SZ({props:{automation:n[0],testResults:n[2]}}),{c(){e=K("div"),t=K("div"),H(r.$$.fragment),i=q(),a=K("div"),a.textContent="Test Details",o=q(),l=K("div"),H(s.$$.fragment),u=q(),H(c.$$.fragment),f=q(),H(d.$$.fragment),wn(a,"padding-left","var(--spacing-l)"),D(t,"class","title-text svelte-nwwj95"),wn(l,"padding-right","var(--spacing-xl)"),D(e,"class","title svelte-nwwj95")},m(_,y){C(_,e,y),U(e,t),O(r,t,null),U(t,i),U(t,a),U(e,o),U(e,l),O(s,l,null),C(_,u,y),O(c,_,y),C(_,f,y),O(d,_,y),m=!0},p(_,[y]){const w={};y&1&&(w.automation=_[0]),y&4&&(w.testResults=_[2]),d.$set(w)},i(_){m||(b(r.$$.fragment,_),b(s.$$.fragment,_),b(c.$$.fragment,_),b(d.$$.fragment,_),m=!0)},o(_){$(r.$$.fragment,_),$(s.$$.fragment,_),$(c.$$.fragment,_),$(d.$$.fragment,_),m=!1},d(_){_&&M(e),B(r),B(s),_&&M(u),B(c,_),_&&M(f),B(d,_)}}}function m2t(n,e,t){let r;Re(n,Or,s=>t(1,r=s));let{automation:i}=e,a,o;const l=async()=>{x1(Or,r.showTestPanel=!1,r)};return n.$$set=s=>{"automation"in s&&t(0,i=s.automation)},n.$$.update=()=>{var s;n.$$.dirty&11&&(t(3,a=[]),i?(i.definition.trigger&&a.push(i.definition.trigger),t(3,a=a.concat(i.definition.steps||[]).filter(u=>u.stepId!==J3.LOOP))):r.selectedAutomation&&t(0,i=r.selectedAutomation)),n.$$.dirty&2&&t(2,o=(s=r.selectedAutomation)==null?void 0:s.testResults)},[i,r,o,a,l]}class g2t extends Ve{constructor(e){super(),Pe(this,e,m2t,h2t,Ie,{automation:0})}}function v2t(n){let e,t,r,i;return r=new Ht({props:{gap:"S",justifyItems:"center",$$slots:{default:[w2t]},$$scope:{ctx:n}}}),{c(){e=K("div"),t=K("div"),H(r.$$.fragment),D(t,"class","main svelte-374m3f"),D(e,"class","centered svelte-374m3f")},m(a,o){C(a,e,o),U(e,t),O(r,t,null),i=!0},p(a,o){const l={};o&258&&(l.$$scope={dirty:o,ctx:a}),r.$set(l)},i(a){i||(b(r.$$.fragment,a),i=!0)},o(a){$(r.$$.fragment,a),i=!1},d(a){a&&M(e),B(r)}}}function _2t(n){let e;const t=n[4].default,r=Gn(t,n,n[8],null);return{c(){r&&r.c()},m(i,a){r&&r.m(i,a),e=!0},p(i,a){r&&r.p&&(!e||a&256)&&Kn(r,t,i,i[8],e?Yn(t,i[8],a,null):Xn(i[8]),null)},i(i){e||(b(r,i),e=!0)},o(i){$(r,i),e=!1},d(i){r&&r.d(i)}}}function b2t(n){let e;return{c(){e=oe("You have no automations")},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function y2t(n){let e;return{c(){e=oe("Let's fix that. Call the bots!")},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function $2t(n){let e;return{c(){e=oe("Create automation")},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function w2t(n){let e,t,r,i,a,o,l,s,u;return i=new Bn({props:{size:"M",$$slots:{default:[b2t]},$$scope:{ctx:n}}}),o=new Rt({props:{size:"M",$$slots:{default:[y2t]},$$scope:{ctx:n}}}),s=new vn({props:{size:"M",cta:!0,$$slots:{default:[$2t]},$$scope:{ctx:n}}}),s.$on("click",n[5]),{c(){e=ct("svg"),t=ct("use"),r=q(),H(i.$$.fragment),a=q(),H(o.$$.fragment),l=q(),H(s.$$.fragment),qr(t,"xlink:href","#spectrum-icon-18-WorkflowAdd"),D(e,"width","60px"),D(e,"height","60px"),D(e,"class","spectrum-Icon"),D(e,"focusable","false")},m(c,f){C(c,e,f),U(e,t),C(c,r,f),O(i,c,f),C(c,a,f),O(o,c,f),C(c,l,f),O(s,c,f),u=!0},p(c,f){const d={};f&256&&(d.$$scope={dirty:f,ctx:c}),i.$set(d);const m={};f&256&&(m.$$scope={dirty:f,ctx:c}),o.$set(m);const _={};f&256&&(_.$$scope={dirty:f,ctx:c}),s.$set(_)},i(c){u||(b(i.$$.fragment,c),b(o.$$.fragment,c),b(s.$$.fragment,c),u=!0)},o(c){$(i.$$.fragment,c),$(o.$$.fragment,c),$(s.$$.fragment,c),u=!1},d(c){c&&M(e),c&&M(r),B(i,c),c&&M(a),B(o,c),c&&M(l),B(s,c)}}}function $j(n){let e,t,r;return t=new g2t({props:{automation:n[3]}}),{c(){e=K("div"),H(t.$$.fragment),D(e,"class","setup svelte-374m3f")},m(i,a){C(i,e,a),O(t,e,null),r=!0},p(i,a){const o={};a&8&&(o.automation=i[3]),t.$set(o)},i(i){r||(b(t.$$.fragment,i),r=!0)},o(i){$(t.$$.fragment,i),r=!1},d(i){i&&M(e),B(t)}}}function k2t(n){let e,t;return e=new CZ({props:{webhookModal:n[2]}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&4&&(a.webhookModal=r[2]),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function z2t(n){let e,t;return e=new rM({}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function A2t(n){let e,t,r,i,a,o,l,s,u,c,f,d,m;r=new l2t({props:{modal:n[1],webhookModal:n[2]}});const _=[_2t,v2t],y=[];function w(I,P){return I[3]?0:1}o=w(n),l=y[o]=_[o](n);let z=n[0].showTestPanel&&$j(n),S={$$slots:{default:[k2t]},$$scope:{ctx:n}};c=new tr({props:S}),n[6](c);let T={width:"30%",$$slots:{default:[z2t]},$$scope:{ctx:n}};return d=new tr({props:T}),n[7](d),{c(){e=K("div"),t=K("div"),H(r.$$.fragment),i=q(),a=K("div"),l.c(),s=q(),z&&z.c(),u=q(),H(c.$$.fragment),f=q(),H(d.$$.fragment),D(t,"class","nav svelte-374m3f"),D(a,"class","content svelte-374m3f"),D(e,"class","root svelte-374m3f")},m(I,P){C(I,e,P),U(e,t),O(r,t,null),U(e,i),U(e,a),y[o].m(a,null),U(e,s),z&&z.m(e,null),U(e,u),O(c,e,null),U(e,f),O(d,e,null),m=!0},p(I,[P]){const N={};P&2&&(N.modal=I[1]),P&4&&(N.webhookModal=I[2]),r.$set(N);let j=o;o=w(I),o===j?y[o].p(I,P):(ye(),$(y[j],1,1,()=>{y[j]=null}),$e(),l=y[o],l?l.p(I,P):(l=y[o]=_[o](I),l.c()),b(l,1),l.m(a,null)),I[0].showTestPanel?z?(z.p(I,P),P&1&&b(z,1)):(z=$j(I),z.c(),b(z,1),z.m(e,u)):z&&(ye(),$(z,1,1,()=>{z=null}),$e());const x={};P&260&&(x.$$scope={dirty:P,ctx:I}),c.$set(x);const W={};P&256&&(W.$$scope={dirty:P,ctx:I}),d.$set(W)},i(I){m||(b(r.$$.fragment,I),b(l),b(z),b(c.$$.fragment,I),b(d.$$.fragment,I),m=!0)},o(I){$(r.$$.fragment,I),$(l),$(z),$(c.$$.fragment,I),$(d.$$.fragment,I),m=!1},d(I){I&&M(e),B(r),y[o].d(),z&&z.d(),n[6](null),B(c),n[7](null),B(d)}}}function M2t(n,e,t){let r,i;Re(n,Or,d=>t(0,i=d));let{$$slots:a={},$$scope:o}=e,l,s;rr(()=>{x1(Or,i.showTestPanel=!1,i)});const u=()=>l.show();function c(d){Oe[d?"unshift":"push"](()=>{l=d,t(1,l)})}function f(d){Oe[d?"unshift":"push"](()=>{s=d,t(2,s)})}return n.$$set=d=>{"$$scope"in d&&t(8,o=d.$$scope)},n.$$.update=()=>{var d;n.$$.dirty&1&&t(3,r=((d=i.selectedAutomation)==null?void 0:d.automation)||i.automations[0])},[i,l,s,r,a,u,c,f,o]}class C2t extends Ve{constructor(e){super(),Pe(this,e,M2t,A2t,Ie,{})}}function S2t(n){let e,t,r,i,a,o,l;function s(c){n[4](c)}let u={};return n[2]!==void 0&&(u.value=n[2]),a=new Mn({props:u}),Oe.push(()=>rt(a,"value",s)),{c(){e=K("span"),e.textContent=`The changes you have made will be deleted and the application reverted
|
|
942
|
-
back to its production state.`,t=q(),r=K("span"),r.textContent="Please enter your app name to continue.",i=q(),H(a.$$.fragment)},m(c,f){C(c,e,f),C(c,t,f),C(c,r,f),C(c,i,f),O(a,c,f),l=!0},p(c,f){const d={};!o&&f&4&&(o=!0,d.value=c[2],it(()=>o=!1)),a.$set(d)},i(c){l||(b(a.$$.fragment,c),l=!0)},o(c){$(a.$$.fragment,c),l=!1},d(c){c&&M(e),c&&M(t),c&&M(r),c&&M(i),B(a,c)}}}function L2t(n){let e,t;return e=new hr({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[S2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function E2t(n){let e,t,r,i;e=new cn({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes",dataCy:"revert-application-topnav"}}),e.$on("click",function(){kn(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[L2t]},$$scope:{ctx:n}};return r=new tr({props:a}),n[5](r),{c(){H(e.$$.fragment),t=q(),H(r.$$.fragment)},m(o,l){O(e,o,l),C(o,t,l),O(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&133&&(s.$$scope={dirty:l,ctx:n}),r.$set(s)},i(o){i||(b(e.$$.fragment,o),b(r.$$.fragment,o),i=!0)},o(o){$(e.$$.fragment,o),$(r.$$.fragment,o),i=!1},d(o){B(e,o),o&&M(t),n[5](null),B(r,o)}}}function T2t(n,e,t){let r,i;Re(n,Jt,c=>t(0,i=c));let a,o;const l=async()=>{try{await Qt.revertAppChanges(r);const c=await Qt.fetchAppPackage(r);await Jt.actions.initialise(c),yt.info("Changes reverted successfully")}catch(c){yt.error(`Error reverting changes: ${c}`)}};function s(c){o=c,t(2,o)}function u(c){Oe[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class D2t extends Ve{constructor(e){super(),Pe(this,e,T2t,E2t,Ie,{})}}const O2t="@budibase/client",B2t="2.2.
|
|
942
|
+
back to its production state.`,t=q(),r=K("span"),r.textContent="Please enter your app name to continue.",i=q(),H(a.$$.fragment)},m(c,f){C(c,e,f),C(c,t,f),C(c,r,f),C(c,i,f),O(a,c,f),l=!0},p(c,f){const d={};!o&&f&4&&(o=!0,d.value=c[2],it(()=>o=!1)),a.$set(d)},i(c){l||(b(a.$$.fragment,c),l=!0)},o(c){$(a.$$.fragment,c),l=!1},d(c){c&&M(e),c&&M(t),c&&M(r),c&&M(i),B(a,c)}}}function L2t(n){let e,t;return e=new hr({props:{title:"Revert Changes",confirmText:"Revert",onConfirm:n[3],disabled:n[2]!==n[0].name,$$slots:{default:[S2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&5&&(a.disabled=r[2]!==r[0].name),i&132&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function E2t(n){let e,t,r,i;e=new cn({props:{name:"Revert",hoverable:!0,tooltip:"Revert changes",dataCy:"revert-application-topnav"}}),e.$on("click",function(){kn(n[1].show)&&n[1].show.apply(this,arguments)});let a={$$slots:{default:[L2t]},$$scope:{ctx:n}};return r=new tr({props:a}),n[5](r),{c(){H(e.$$.fragment),t=q(),H(r.$$.fragment)},m(o,l){O(e,o,l),C(o,t,l),O(r,o,l),i=!0},p(o,[l]){n=o;const s={};l&133&&(s.$$scope={dirty:l,ctx:n}),r.$set(s)},i(o){i||(b(e.$$.fragment,o),b(r.$$.fragment,o),i=!0)},o(o){$(e.$$.fragment,o),$(r.$$.fragment,o),i=!1},d(o){B(e,o),o&&M(t),n[5](null),B(r,o)}}}function T2t(n,e,t){let r,i;Re(n,Jt,c=>t(0,i=c));let a,o;const l=async()=>{try{await Qt.revertAppChanges(r);const c=await Qt.fetchAppPackage(r);await Jt.actions.initialise(c),yt.info("Changes reverted successfully")}catch(c){yt.error(`Error reverting changes: ${c}`)}};function s(c){o=c,t(2,o)}function u(c){Oe[c?"unshift":"push"](()=>{a=c,t(1,a)})}return n.$$.update=()=>{n.$$.dirty&1&&(r=i.appId)},[i,a,o,l,s,u]}class D2t extends Ve{constructor(e){super(),Pe(this,e,T2t,E2t,Ie,{})}}const O2t="@budibase/client",B2t="2.2.21",H2t="MPL-2.0",I2t="dist/budibase-client.js",P2t="dist/budibase-client.js",V2t="module",R2t="src/index.js",N2t={".":{import:"./dist/budibase-client.js",require:"./dist/budibase-client.js"},"./package.json":"./package.json","./manifest.json":"./manifest.json"},F2t={build:"rollup -c","dev:builder":"rollup -cw"},j2t={"@budibase/bbui":"^2.2.21","@budibase/frontend-core":"^2.2.21","@budibase/string-templates":"^2.2.21","@spectrum-css/button":"^3.0.3","@spectrum-css/card":"^3.0.3","@spectrum-css/divider":"^1.0.3","@spectrum-css/link":"^3.1.3","@spectrum-css/page":"^3.0.1","@spectrum-css/tag":"^3.1.4","@spectrum-css/typography":"^3.0.2","@spectrum-css/vars":"^3.0.1",apexcharts:"^3.22.1",dayjs:"^1.10.5",downloadjs:"1.4.7","html5-qrcode":"^2.2.1",leaflet:"^1.7.1",regexparam:"^1.3.0","sanitize-html":"^2.7.0",screenfull:"^6.0.1",shortid:"^2.2.15","socket.io-client":"^4.5.1",svelte:"^3.49.0","svelte-apexcharts":"^1.0.2","svelte-flatpickr":"^3.1.0","svelte-spa-router":"^3.0.5"},U2t={"@rollup/plugin-alias":"^3.1.5","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1",postcss:"^8.2.10",rollup:"^2.44.0","rollup-plugin-json":"^4.0.0","rollup-plugin-polyfill-node":"^0.8.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-svg":"^2.0.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-visualizer":"^5.5.4"},x2t={"loader-utils":"1.4.1"},q2t="d1836a898cab3f8ab80ee6d8f42be1a9eed7dcdc",th={name:O2t,version:B2t,license:H2t,module:I2t,main:P2t,type:V2t,svelte:R2t,exports:N2t,scripts:F2t,dependencies:j2t,devDependencies:U2t,resolutions:x2t,gitHead:q2t};function wj(n){let e,t;return e=new Z3({props:{hoverable:!0,notice:!0,$$slots:{default:[W2t]},$$scope:{ctx:n}}}),e.$on("click",function(){kn(n[2].show)&&n[2].show.apply(this,arguments)}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){n=r;const a={};i&4096&&(a.$$scope={dirty:i,ctx:n}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function W2t(n){let e;return{c(){e=oe("Update available")},m(t,r){C(t,e,r)},d(t){t&&M(e)}}}function G2t(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[K2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function Y2t(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[X2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function K2t(n){let e,t,r=n[1].version+"",i,a;return{c(){e=oe("This app is currently using version "),t=K("b"),i=oe(r),a=oe(` which is the
|
|
943
943
|
latest version available.`)},m(o,l){C(o,e,l),C(o,t,l),U(t,i),C(o,a,l)},p(o,l){l&2&&r!==(r=o[1].version+"")&&mt(i,r)},d(o){o&&M(e),o&&M(t),o&&M(a)}}}function X2t(n){let e,t,r=n[1].version+"",i,a,o,l;return{c(){e=oe("This app is currently using version "),t=K("b"),i=oe(r),a=oe(`, but version
|
|
944
944
|
`),o=K("b"),o.textContent=`${th.version}`,l=oe(` is available. Updates can contain new features,
|
|
945
945
|
performance improvements and bug fixes.`)},m(s,u){C(s,e,u),C(s,t,u),U(t,i),C(s,a,u),C(s,o,u),C(s,l,u)},p(s,u){u&2&&r!==(r=s[1].version+"")&&mt(i,r)},d(s){s&&M(e),s&&M(t),s&&M(a),s&&M(o),s&&M(l)}}}function kj(n){let e,t;return e=new Rt({props:{size:"S",$$slots:{default:[J2t]},$$scope:{ctx:n}}}),{c(){H(e.$$.fragment)},m(r,i){O(e,r,i),t=!0},p(r,i){const a={};i&4098&&(a.$$scope={dirty:i,ctx:r}),e.$set(a)},i(r){t||(b(e.$$.fragment,r),t=!0)},o(r){$(e.$$.fragment,r),t=!1},d(r){B(e,r)}}}function J2t(n){let e,t,r=n[1].revertableVersion+"",i,a;return{c(){e=oe(`You can revert this app to version
|
package/builder/index.html
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
|
|
11
11
|
rel="stylesheet"
|
|
12
12
|
/>
|
|
13
|
-
<script type="module" crossorigin src="/builder/assets/index.
|
|
13
|
+
<script type="module" crossorigin src="/builder/assets/index.4fcd81a8.js"></script>
|
|
14
14
|
<link rel="stylesheet" href="/builder/assets/index.9cb087df.css">
|
|
15
15
|
</head>
|
|
16
16
|
<body id="app">
|
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1674415860556" clover="3.2.0">
|
|
3
|
+
<project timestamp="1674415860556" name="All files">
|
|
4
|
+
<metrics statements="10622" coveredstatements="7354" conditionals="4285" coveredconditionals="2141" methods="1785" coveredmethods="1229" elements="16692" coveredelements="10724" complexity="0" loc="10622" ncloc="10622" packages="59" files="277" classes="277"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="178" coveredstatements="104" conditionals="77" coveredconditionals="35" methods="33" coveredmethods="15"/>
|
|
7
7
|
<file name="app.ts" path="/home/runner/work/budibase/budibase/packages/server/src/app.ts">
|
|
@@ -6930,7 +6930,7 @@
|
|
|
6930
6930
|
</file>
|
|
6931
6931
|
</package>
|
|
6932
6932
|
<package name="src.integrations">
|
|
6933
|
-
<metrics statements="
|
|
6933
|
+
<metrics statements="1199" coveredstatements="654" conditionals="552" coveredconditionals="243" methods="229" coveredmethods="118"/>
|
|
6934
6934
|
<file name="airtable.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/airtable.ts">
|
|
6935
6935
|
<metrics statements="25" coveredstatements="17" conditionals="2" coveredconditionals="2" methods="6" coveredmethods="5"/>
|
|
6936
6936
|
<line num="1" count="49" type="stmt"/>
|
|
@@ -7523,7 +7523,7 @@
|
|
|
7523
7523
|
<line num="591" count="49" type="stmt"/>
|
|
7524
7524
|
</file>
|
|
7525
7525
|
<file name="mysql.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/mysql.ts">
|
|
7526
|
-
<metrics statements="84" coveredstatements="46" conditionals="
|
|
7526
|
+
<metrics statements="84" coveredstatements="46" conditionals="63" coveredconditionals="32" methods="16" coveredmethods="9"/>
|
|
7527
7527
|
<line num="1" count="49" type="stmt"/>
|
|
7528
7528
|
<line num="11" count="49" type="stmt"/>
|
|
7529
7529
|
<line num="18" count="49" type="stmt"/>
|
|
@@ -7553,61 +7553,61 @@
|
|
|
7553
7553
|
<line num="142" count="11" type="stmt"/>
|
|
7554
7554
|
<line num="143" count="11" type="stmt"/>
|
|
7555
7555
|
<line num="147" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
7556
|
-
<line num="
|
|
7557
|
-
<line num="
|
|
7558
|
-
<line num="
|
|
7559
|
-
<line num="
|
|
7560
|
-
<line num="
|
|
7561
|
-
<line num="
|
|
7562
|
-
<line num="
|
|
7563
|
-
<line num="
|
|
7564
|
-
<line num="
|
|
7565
|
-
<line num="
|
|
7566
|
-
<line num="
|
|
7567
|
-
<line num="
|
|
7568
|
-
<line num="
|
|
7569
|
-
<line num="194" count="11" type="stmt"/>
|
|
7556
|
+
<line num="153" count="0" type="stmt"/>
|
|
7557
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
7558
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
7559
|
+
<line num="158" count="0" type="stmt"/>
|
|
7560
|
+
<line num="164" count="0" type="stmt"/>
|
|
7561
|
+
<line num="168" count="0" type="stmt"/>
|
|
7562
|
+
<line num="172" count="11" type="stmt"/>
|
|
7563
|
+
<line num="176" count="11" type="stmt"/>
|
|
7564
|
+
<line num="186" count="11" type="stmt"/>
|
|
7565
|
+
<line num="187" count="11" type="cond" truecount="4" falsecount="1"/>
|
|
7566
|
+
<line num="188" count="11" type="stmt"/>
|
|
7567
|
+
<line num="190" count="11" type="cond" truecount="2" falsecount="0"/>
|
|
7568
|
+
<line num="191" count="11" type="cond" truecount="4" falsecount="2"/>
|
|
7570
7569
|
<line num="195" count="11" type="stmt"/>
|
|
7571
|
-
<line num="
|
|
7572
|
-
<line num="198" count="11" type="
|
|
7573
|
-
<line num="
|
|
7570
|
+
<line num="196" count="11" type="stmt"/>
|
|
7571
|
+
<line num="198" count="11" type="cond" truecount="4" falsecount="1"/>
|
|
7572
|
+
<line num="199" count="11" type="stmt"/>
|
|
7574
7573
|
<line num="205" count="0" type="stmt"/>
|
|
7575
7574
|
<line num="206" count="0" type="stmt"/>
|
|
7576
|
-
<line num="
|
|
7577
|
-
<line num="
|
|
7578
|
-
<line num="
|
|
7579
|
-
<line num="
|
|
7580
|
-
<line num="
|
|
7575
|
+
<line num="207" count="0" type="stmt"/>
|
|
7576
|
+
<line num="209" count="0" type="stmt"/>
|
|
7577
|
+
<line num="211" count="0" type="stmt"/>
|
|
7578
|
+
<line num="215" count="0" type="stmt"/>
|
|
7579
|
+
<line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
7581
7580
|
<line num="220" count="0" type="stmt"/>
|
|
7582
7581
|
<line num="221" count="0" type="stmt"/>
|
|
7583
7582
|
<line num="222" count="0" type="stmt"/>
|
|
7584
|
-
<line num="
|
|
7583
|
+
<line num="223" count="0" type="stmt"/>
|
|
7585
7584
|
<line num="227" count="0" type="stmt"/>
|
|
7586
|
-
<line num="228" count="0" type="
|
|
7587
|
-
<line num="229" count="0" type="
|
|
7588
|
-
<line num="
|
|
7589
|
-
<line num="
|
|
7590
|
-
<line num="
|
|
7591
|
-
<line num="
|
|
7592
|
-
<line num="247" count="0" type="
|
|
7593
|
-
<line num="
|
|
7594
|
-
<line num="
|
|
7585
|
+
<line num="228" count="0" type="stmt"/>
|
|
7586
|
+
<line num="229" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
7587
|
+
<line num="230" count="0" type="stmt"/>
|
|
7588
|
+
<line num="232" count="0" type="stmt"/>
|
|
7589
|
+
<line num="236" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
7590
|
+
<line num="239" count="0" type="stmt"/>
|
|
7591
|
+
<line num="247" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
7592
|
+
<line num="248" count="0" type="stmt"/>
|
|
7593
|
+
<line num="257" count="0" type="stmt"/>
|
|
7595
7594
|
<line num="259" count="0" type="stmt"/>
|
|
7596
7595
|
<line num="260" count="0" type="stmt"/>
|
|
7597
|
-
<line num="
|
|
7598
|
-
<line num="265" count="2" type="
|
|
7599
|
-
<line num="
|
|
7600
|
-
<line num="
|
|
7601
|
-
<line num="274" count="2" type="
|
|
7602
|
-
<line num="
|
|
7603
|
-
<line num="279" count="2" type="
|
|
7604
|
-
<line num="
|
|
7596
|
+
<line num="261" count="0" type="stmt"/>
|
|
7597
|
+
<line num="265" count="2" type="stmt"/>
|
|
7598
|
+
<line num="266" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
7599
|
+
<line num="270" count="5" type="stmt"/>
|
|
7600
|
+
<line num="274" count="2" type="stmt"/>
|
|
7601
|
+
<line num="275" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
7602
|
+
<line num="279" count="2" type="stmt"/>
|
|
7603
|
+
<line num="280" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
7605
7604
|
<line num="284" count="0" type="stmt"/>
|
|
7606
7605
|
<line num="285" count="0" type="stmt"/>
|
|
7607
7606
|
<line num="286" count="0" type="stmt"/>
|
|
7608
7607
|
<line num="287" count="0" type="stmt"/>
|
|
7609
|
-
<line num="
|
|
7610
|
-
<line num="
|
|
7608
|
+
<line num="288" count="0" type="stmt"/>
|
|
7609
|
+
<line num="290" count="0" type="stmt"/>
|
|
7610
|
+
<line num="295" count="49" type="stmt"/>
|
|
7611
7611
|
</file>
|
|
7612
7612
|
<file name="oracle.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/oracle.ts">
|
|
7613
7613
|
<metrics statements="123" coveredstatements="39" conditionals="70" coveredconditionals="18" methods="26" coveredmethods="9"/>
|
|
@@ -8067,17 +8067,17 @@
|
|
|
8067
8067
|
<line num="94" count="48" type="stmt"/>
|
|
8068
8068
|
</file>
|
|
8069
8069
|
<file name="utils.ts" path="/home/runner/work/budibase/budibase/packages/server/src/integrations/utils.ts">
|
|
8070
|
-
<metrics statements="
|
|
8070
|
+
<metrics statements="115" coveredstatements="38" conditionals="52" coveredconditionals="6" methods="21" coveredmethods="5"/>
|
|
8071
8071
|
<line num="1" count="55" type="stmt"/>
|
|
8072
8072
|
<line num="2" count="55" type="stmt"/>
|
|
8073
8073
|
<line num="3" count="55" type="stmt"/>
|
|
8074
8074
|
<line num="5" count="55" type="stmt"/>
|
|
8075
8075
|
<line num="6" count="55" type="stmt"/>
|
|
8076
8076
|
<line num="8" count="55" type="stmt"/>
|
|
8077
|
-
<line num="
|
|
8077
|
+
<line num="28" count="55" type="stmt"/>
|
|
8078
|
+
<line num="36" count="55" type="stmt"/>
|
|
8078
8079
|
<line num="37" count="55" type="stmt"/>
|
|
8079
|
-
<line num="
|
|
8080
|
-
<line num="40" count="55" type="stmt"/>
|
|
8080
|
+
<line num="39" count="55" type="stmt"/>
|
|
8081
8081
|
<line num="52" count="55" type="stmt"/>
|
|
8082
8082
|
<line num="58" count="55" type="stmt"/>
|
|
8083
8083
|
<line num="62" count="55" type="stmt"/>
|
|
@@ -8122,64 +8122,67 @@
|
|
|
8122
8122
|
<line num="142" count="0" type="stmt"/>
|
|
8123
8123
|
<line num="143" count="0" type="stmt"/>
|
|
8124
8124
|
<line num="144" count="0" type="stmt"/>
|
|
8125
|
-
<line num="145" count="0" type="
|
|
8126
|
-
<line num="146" count="0" type="
|
|
8125
|
+
<line num="145" count="0" type="stmt"/>
|
|
8126
|
+
<line num="146" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
8127
8127
|
<line num="147" count="0" type="stmt"/>
|
|
8128
|
-
<line num="150" count="0" type="stmt"/>
|
|
8129
8128
|
<line num="151" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
8130
8129
|
<line num="152" count="0" type="stmt"/>
|
|
8131
|
-
<line num="153" count="0" type="
|
|
8132
|
-
<line num="
|
|
8133
|
-
<line num="
|
|
8134
|
-
<line num="
|
|
8135
|
-
<line num="
|
|
8136
|
-
<line num="
|
|
8137
|
-
<line num="
|
|
8138
|
-
<line num="
|
|
8139
|
-
<line num="
|
|
8140
|
-
<line num="
|
|
8130
|
+
<line num="153" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
8131
|
+
<line num="156" count="0" type="stmt"/>
|
|
8132
|
+
<line num="157" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
8133
|
+
<line num="158" count="0" type="stmt"/>
|
|
8134
|
+
<line num="159" count="0" type="stmt"/>
|
|
8135
|
+
<line num="161" count="0" type="stmt"/>
|
|
8136
|
+
<line num="164" count="55" type="stmt"/>
|
|
8137
|
+
<line num="165" count="30" type="cond" truecount="1" falsecount="1"/>
|
|
8138
|
+
<line num="166" count="0" type="stmt"/>
|
|
8139
|
+
<line num="168" count="30" type="stmt"/>
|
|
8140
|
+
<line num="172" count="55" type="stmt"/>
|
|
8141
|
+
<line num="173" count="21" type="cond" truecount="2" falsecount="1"/>
|
|
8142
|
+
<line num="174" count="0" type="stmt"/>
|
|
8141
8143
|
<line num="176" count="21" type="stmt"/>
|
|
8142
|
-
<line num="
|
|
8143
|
-
<line num="
|
|
8144
|
-
<line num="
|
|
8145
|
-
<line num="
|
|
8146
|
-
<line num="
|
|
8147
|
-
<line num="
|
|
8148
|
-
<line num="
|
|
8149
|
-
<line num="
|
|
8150
|
-
<line num="
|
|
8151
|
-
<line num="
|
|
8152
|
-
<line num="
|
|
8153
|
-
<line num="
|
|
8154
|
-
<line num="
|
|
8155
|
-
<line num="
|
|
8156
|
-
<line num="
|
|
8157
|
-
<line num="
|
|
8158
|
-
<line num="
|
|
8159
|
-
<line num="
|
|
8160
|
-
<line num="
|
|
8161
|
-
<line num="
|
|
8162
|
-
<line num="
|
|
8163
|
-
<line num="
|
|
8164
|
-
<line num="
|
|
8165
|
-
<line num="
|
|
8166
|
-
<line num="285" count="0" type="stmt"/>
|
|
8167
|
-
<line num="286" count="0" type="stmt"/>
|
|
8168
|
-
<line num="288" count="0" type="stmt"/>
|
|
8169
|
-
<line num="289" count="0" type="stmt"/>
|
|
8144
|
+
<line num="182" count="21" type="stmt"/>
|
|
8145
|
+
<line num="185" count="55" type="stmt"/>
|
|
8146
|
+
<line num="186" count="45" type="cond" truecount="1" falsecount="0"/>
|
|
8147
|
+
<line num="187" count="45" type="stmt"/>
|
|
8148
|
+
<line num="189" count="0" type="stmt"/>
|
|
8149
|
+
<line num="190" count="0" type="stmt"/>
|
|
8150
|
+
<line num="207" count="0" type="stmt"/>
|
|
8151
|
+
<line num="226" count="0" type="stmt"/>
|
|
8152
|
+
<line num="233" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
8153
|
+
<line num="234" count="0" type="stmt"/>
|
|
8154
|
+
<line num="237" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
8155
|
+
<line num="238" count="0" type="stmt"/>
|
|
8156
|
+
<line num="258" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
8157
|
+
<line num="259" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
8158
|
+
<line num="260" count="0" type="stmt"/>
|
|
8159
|
+
<line num="262" count="0" type="stmt"/>
|
|
8160
|
+
<line num="263" count="0" type="stmt"/>
|
|
8161
|
+
<line num="264" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
8162
|
+
<line num="265" count="0" type="stmt"/>
|
|
8163
|
+
<line num="267" count="0" type="stmt"/>
|
|
8164
|
+
<line num="268" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
8165
|
+
<line num="272" count="0" type="stmt"/>
|
|
8166
|
+
<line num="276" count="0" type="stmt"/>
|
|
8167
|
+
<line num="286" count="55" type="stmt"/>
|
|
8170
8168
|
<line num="290" count="0" type="stmt"/>
|
|
8171
|
-
<line num="
|
|
8172
|
-
<line num="
|
|
8169
|
+
<line num="291" count="0" type="stmt"/>
|
|
8170
|
+
<line num="292" count="0" type="stmt"/>
|
|
8173
8171
|
<line num="294" count="0" type="stmt"/>
|
|
8174
|
-
<line num="295" count="0" type="
|
|
8175
|
-
<line num="
|
|
8172
|
+
<line num="295" count="0" type="stmt"/>
|
|
8173
|
+
<line num="296" count="0" type="stmt"/>
|
|
8174
|
+
<line num="298" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
8175
|
+
<line num="299" count="0" type="stmt"/>
|
|
8176
8176
|
<line num="300" count="0" type="stmt"/>
|
|
8177
|
-
<line num="301" count="0" type="
|
|
8178
|
-
<line num="
|
|
8177
|
+
<line num="301" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
8178
|
+
<line num="303" count="0" type="stmt"/>
|
|
8179
|
+
<line num="306" count="0" type="stmt"/>
|
|
8179
8180
|
<line num="307" count="0" type="stmt"/>
|
|
8180
|
-
<line num="308" count="0" type="stmt"/>
|
|
8181
|
-
<line num="309" count="0" type="stmt"/>
|
|
8182
8181
|
<line num="310" count="0" type="stmt"/>
|
|
8182
|
+
<line num="313" count="0" type="stmt"/>
|
|
8183
|
+
<line num="314" count="0" type="stmt"/>
|
|
8184
|
+
<line num="315" count="0" type="stmt"/>
|
|
8185
|
+
<line num="316" count="0" type="stmt"/>
|
|
8183
8186
|
</file>
|
|
8184
8187
|
</package>
|
|
8185
8188
|
<package name="src.integrations.base">
|
|
@@ -11253,7 +11256,7 @@
|
|
|
11253
11256
|
<line num="37" count="0" type="stmt"/>
|
|
11254
11257
|
<line num="41" count="44" type="stmt"/>
|
|
11255
11258
|
<line num="42" count="44" type="cond" truecount="3" falsecount="0"/>
|
|
11256
|
-
<line num="43" count="
|
|
11259
|
+
<line num="43" count="1" type="stmt"/>
|
|
11257
11260
|
<line num="51" count="51" type="stmt"/>
|
|
11258
11261
|
<line num="52" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
11259
11262
|
<line num="53" count="0" type="stmt"/>
|