From 47997282fa84ee684f810946e0cc083a2213ec61 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 18 Dec 2024 09:47:27 +0000 Subject: [PATCH 01/77] Update all root aliases to be prefixed by @/ --- packages/builder/src/App.svelte | 2 +- packages/builder/src/analytics/index.js | 2 +- packages/builder/src/api.ts | 2 +- .../builder/src/components/ContextMenu.svelte | 2 +- .../AutomationBuilder.svelte | 2 +- .../AutomationBuilder/DraggableCanvas.svelte | 2 +- .../FlowChart/ActionModal.svelte | 6 +- .../FlowChart/AutomationBlockTagline.svelte | 2 +- .../FlowChart/BranchNode.svelte | 8 +-- .../FlowChart/FlowChart.svelte | 8 +-- .../FlowChart/FlowItem.svelte | 12 ++-- .../FlowChart/FlowItemHeader.svelte | 4 +- .../FlowChart/StepNode.svelte | 4 +- .../FlowChart/TestDataModal.svelte | 2 +- .../AutomationBuilder/TestDisplay.svelte | 4 +- .../AutomationBuilder/TestPanel.svelte | 2 +- .../AutomationPanel/AutomationNavItem.svelte | 8 +-- .../AutomationPanel/AutomationPanel.svelte | 6 +- .../CreateAutomationModal.svelte | 4 +- .../UpdateAutomationModal.svelte | 2 +- .../SetupPanel/AutomationBlockSetup.svelte | 27 ++++---- .../SetupPanel/AutomationSelector.svelte | 4 +- .../automation/SetupPanel/CronBuilder.svelte | 6 +- .../SetupPanel/QueryParamSelector.svelte | 2 +- .../SetupPanel/QuerySelector.svelte | 2 +- .../automation/SetupPanel/RowSelector.svelte | 6 +- .../SetupPanel/RowSelectorTypes.svelte | 8 +-- .../SetupPanel/TableSelector.svelte | 4 +- .../Shared/CreateWebhookModal.svelte | 2 +- .../backend/DataTable/RowFieldControl.svelte | 10 +-- .../components/backend/DataTable/Table.svelte | 4 +- .../DataTable/buttons/DeleteRowsButton.svelte | 2 +- .../buttons/ExistingRelationshipButton.svelte | 2 +- .../DataTable/buttons/ExportButton.svelte | 6 +- .../DataTable/buttons/ImportButton.svelte | 6 +- .../buttons/ManageAccessButton.svelte | 10 +-- .../buttons/TableFilterButton.svelte | 8 +-- .../buttons/grid/ColumnsSettingContent.svelte | 2 +- .../buttons/grid/GridAutomationsButton.svelte | 6 +- .../grid/GridColumnsSettingButton.svelte | 2 +- .../buttons/grid/GridGenerateButton.svelte | 12 ++-- .../buttons/grid/GridRowActionsButton.svelte | 4 +- .../buttons/grid/GridScreensButton.svelte | 4 +- .../buttons/grid/GridSizeButton.svelte | 2 +- .../buttons/grid/GridSortButton.svelte | 2 +- .../buttons/grid/GridUsersTableButton.svelte | 2 +- .../grid/GridViewCalculationButton.svelte | 4 +- .../backend/DataTable/cells/RoleCell.svelte | 2 +- .../components/backend/DataTable/formula.js | 4 +- .../DataTable/modals/CalculateModal.svelte | 4 +- .../DataTable/modals/CreateEditColumn.svelte | 26 ++++---- .../DataTable/modals/CreateEditRow.svelte | 6 +- .../DataTable/modals/CreateEditUser.svelte | 6 +- .../DataTable/modals/FilterModal.svelte | 2 +- .../DataTable/modals/GroupByModal.svelte | 4 +- .../DataTable/modals/JSONSchemaModal.svelte | 6 +- .../DataTable/modals/OptionsEditor.svelte | 2 +- .../modals/grid/GridCreateColumnModal.svelte | 2 +- .../DatasourceNavItem.svelte | 10 +-- .../DeleteConfirmationModal.svelte | 4 +- .../DatasourceNavigator.svelte | 8 +-- .../IntegrationIcon.svelte | 2 +- .../DatasourceNavigator/QueryNavItem.svelte | 8 +-- .../DatasourceNavigator/datasourceUtils.js | 2 +- .../DatasourceNavigator/icons/index.js | 2 +- .../modals/ImportRestQueriesModal.svelte | 2 +- .../modals/UpdateDatasourceModal.svelte | 4 +- .../ConfigEditor/fields/Object.svelte | 2 +- .../ConfigEditor/fields/String.svelte | 2 +- .../Datasources/ConfigEditor/index.svelte | 4 +- .../ConfigEditor/stores/validatedConfig.js | 2 +- .../ConfigEditor/stores/validatedName.js | 2 +- .../Datasources/CreateEditRelationship.svelte | 6 +- .../CreateEditRelationshipModal.svelte | 4 +- .../TableImportSelection/index.svelte | 4 +- .../tableSelectionStore.js | 2 +- .../backend/RoleEditor/RoleEdge.svelte | 2 +- .../backend/RoleEditor/RoleFlow.svelte | 6 +- .../backend/RoleEditor/RoleNode.svelte | 4 +- .../components/backend/RoleEditor/utils.js | 4 +- .../ExistingTableDataImport.svelte | 6 +- .../TableNavigator/TableDataImport.svelte | 4 +- .../DeleteConfirmationModal.svelte | 6 +- .../TableNavItem/EditModal.svelte | 2 +- .../TableNavItem/TableNavItem.svelte | 8 +-- .../modals/CreateTableModal.svelte | 4 +- .../backend/TableNavigator/utils.js | 4 +- .../commandPalette/CommandPalette.svelte | 6 +- .../common/AIFieldConfiguration.svelte | 4 +- .../common/CodeEditor/CodeEditor.svelte | 2 +- .../components/common/CodeMirrorEditor.svelte | 4 +- .../src/components/common/Dropzone.spec.js | 2 +- .../src/components/common/Dropzone.svelte | 4 +- .../src/components/common/EditableIcon.svelte | 2 +- .../src/components/common/HelpMenu.svelte | 6 +- .../common/LinkedRowSelector.svelte | 6 +- .../src/components/common/NavHeader.svelte | 2 +- .../src/components/common/NavItem.svelte | 2 +- .../src/components/common/RoleIcon.svelte | 2 +- .../src/components/common/RoleSelect.svelte | 6 +- .../components/common/TemplateDisplay.svelte | 8 +-- .../components/common/UndoRedoControl.svelte | 2 +- .../components/common/UpdateAppForm.svelte | 16 ++--- .../common/VerificationPromptBanner.svelte | 2 +- .../common/bindings/BindableCombobox.svelte | 2 +- .../common/bindings/BindingPanel.svelte | 6 +- .../common/bindings/BindingSidePanel.svelte | 2 +- .../common/bindings/ClientBindingPanel.svelte | 2 +- .../bindings/DrawerBindableCombobox.svelte | 4 +- .../bindings/DrawerBindableInput.svelte | 6 +- .../common/bindings/DrawerBindableSlot.svelte | 4 +- .../common/bindings/ModalBindableInput.svelte | 2 +- .../common/bindings/ServerBindingPanel.svelte | 2 +- .../common/bindings/SnippetDrawer.svelte | 8 +-- .../common/bindings/SnippetSidePanel.svelte | 8 +-- .../src/components/common/bindings/utils.js | 2 +- .../renderers/CapitaliseRenderer.svelte | 2 +- .../common/users/PasswordRepeatInput.svelte | 7 +- .../common/users/UpgradeModal.svelte | 2 +- .../src/components/deploy/AppActions.svelte | 18 ++--- .../CreateWebhookDeploymentModal.svelte | 4 +- .../src/components/deploy/DeleteModal.svelte | 6 +- .../src/components/deploy/RevertModal.svelte | 4 +- .../deploy/RevertModalVersionSelect.svelte | 4 +- .../src/components/deploy/VersionModal.svelte | 8 +-- .../design/ScreenDetailsModal.svelte | 4 +- .../design/settings/componentSettings.js | 4 +- .../ButtonActionDrawer.svelte | 10 +-- .../ButtonActionEditor.svelte | 2 +- .../actions/ChangeFormStep.svelte | 6 +- .../actions/ClearForm.svelte | 4 +- .../actions/ClearRowSelection.svelte | 4 +- .../actions/CloseScreenModal.svelte | 2 +- .../actions/ContinueIf.svelte | 2 +- .../actions/DeleteRow.svelte | 4 +- .../actions/DownloadFile.svelte | 4 +- .../actions/DuplicateRow.svelte | 8 +-- .../actions/ExecuteQuery.svelte | 10 +-- .../actions/ExportData.svelte | 4 +- .../actions/FetchRow.svelte | 4 +- .../ButtonActionEditor/actions/LogOut.svelte | 2 +- .../actions/NavigateTo.svelte | 6 +- .../actions/OpenModal.svelte | 4 +- .../actions/OpenSidePanel.svelte | 4 +- .../actions/PromptUser.svelte | 2 +- .../actions/RefreshDataProvider.svelte | 4 +- .../actions/RowAction.svelte | 4 +- .../actions/S3Upload.svelte | 4 +- .../actions/SaveFields.svelte | 2 +- .../ButtonActionEditor/actions/SaveRow.svelte | 8 +-- .../actions/ScrollTo.svelte | 6 +- .../actions/ShowNotification.svelte | 2 +- .../actions/TriggerAutomation.svelte | 6 +- .../actions/UpdateFieldValue.svelte | 8 +-- .../actions/UpdateState.svelte | 4 +- .../actions/ValidateForm.svelte | 4 +- .../ButtonActionEditor/actions/utils.js | 4 +- .../controls/ButtonActionEditor/index.js | 2 +- .../controls/ButtonActionEditor/manifest.json | 2 +- .../ButtonConfiguration.svelte | 6 +- .../ButtonConfiguration/ButtonSetting.svelte | 2 +- .../settings/controls/ColorPicker.svelte | 2 +- .../controls/ColumnEditor/CellDrawer.svelte | 4 +- .../controls/ColumnEditor/ColumnEditor.svelte | 7 +- .../controls/DataProviderSelect.svelte | 4 +- .../DataSourceSelect/DataSourceSelect.svelte | 18 ++--- .../controls/EditComponentPopover.svelte | 4 +- .../DetailsModal/subjects/Column.svelte | 2 +- .../subjects/components/BindingValue.svelte | 10 +-- .../controls/Explanation/Explanation.svelte | 2 +- .../controls/Explanation/lines/Column.svelte | 2 +- .../controls/Explanation/lines/Support.svelte | 2 +- .../FieldConfiguration.svelte | 4 +- .../FieldConfiguration/FieldSetting.svelte | 4 +- .../settings/controls/FieldSelect.svelte | 7 +- .../FilterEditor/FilterBuilder.svelte | 6 +- .../controls/FilterEditor/FilterEditor.svelte | 7 +- .../settings/controls/FormFieldSelect.svelte | 4 +- .../controls/FormStepConfiguration.svelte | 10 ++- .../FieldSetting.svelte | 2 +- .../GridColumnConfiguration.svelte | 9 ++- .../PrimaryColumnFieldSetting.svelte | 2 +- .../settings/controls/LayoutSelect.svelte | 2 +- .../settings/controls/MultiFieldSelect.svelte | 7 +- .../settings/controls/PaywalledSetting.svelte | 2 +- .../settings/controls/PropertyControl.svelte | 4 +- .../controls/RelationshipFilterEditor.svelte | 9 ++- .../controls/ResetFieldsButton.svelte | 8 +-- .../settings/controls/RoleSelect.svelte | 2 +- .../controls/S3DataSourceSelect.svelte | 2 +- .../controls/SearchFieldSelect.svelte | 7 +- .../controls/SortableFieldSelect.svelte | 7 +- .../controls/TableConditionEditor.svelte | 2 +- .../settings/controls/TableSelect.svelte | 4 +- .../design/settings/controls/URLSelect.svelte | 4 +- .../ValidationEditor/ValidationDrawer.svelte | 11 ++-- .../integration/AccessLevelSelect.svelte | 4 +- .../integration/KeyValueBuilder.svelte | 4 +- .../integration/QueryBindingBuilder.svelte | 4 +- .../components/integration/QueryEditor.svelte | 2 +- .../integration/QueryFieldsBuilder.svelte | 2 +- .../components/integration/QueryViewer.svelte | 10 +-- .../QueryViewerBindingBuilder.svelte | 4 +- .../QueryViewerSidePanel/PreviewPanel.svelte | 2 +- .../QueryViewerSidePanel/SchemaPanel.svelte | 2 +- .../QueryViewerSidePanel/index.svelte | 2 +- .../integration/RestBodyInput.svelte | 6 +- .../integration/RestQueryViewer.svelte | 22 +++---- .../CreateEditVariableModal.svelte | 4 +- .../licensing/AccountDowngradedModal.svelte | 2 +- .../portal/licensing/AppLimitModal.svelte | 2 +- .../EnterpriseBasicTrialBanner.svelte | 2 +- .../portal/licensing/LicensingOverlays.svelte | 2 +- .../licensing/PaymentFailedModal.svelte | 2 +- .../portal/licensing/licensingBanners.js | 2 +- .../EnterpriseBasicTrialModal.svelte | 4 +- .../portal/onboarding/TourPopover.svelte | 2 +- .../portal/onboarding/TourWrap.svelte | 2 +- .../portal/onboarding/tourHandler.js | 2 +- .../src/components/portal/onboarding/tours.js | 8 +-- .../components/settings/APIKeyModal.svelte | 2 +- .../settings/ChangePasswordModal.svelte | 4 +- .../components/settings/ProfileModal.svelte | 2 +- .../src/components/settings/ThemeModal.svelte | 2 +- .../start/AppContextMenuModals.svelte | 4 +- .../src/components/start/AppRow.svelte | 8 +-- .../components/start/ChooseIconModal.svelte | 4 +- .../components/start/CreateAppModal.svelte | 14 ++-- .../components/start/DuplicateAppModal.svelte | 8 +-- .../components/start/ExportAppModal.svelte | 2 +- .../components/start/ImportAppModal.svelte | 4 +- .../builder/src/components/usage/Usage.svelte | 2 +- packages/builder/src/dataBinding.js | 14 ++-- packages/builder/src/dataBinding.test.js | 14 ++-- packages/builder/src/helpers/components.js | 4 +- packages/builder/src/helpers/data/utils.js | 2 +- packages/builder/src/helpers/fetchData.js | 2 +- packages/builder/src/helpers/formFields.js | 4 +- packages/builder/src/helpers/utils.js | 8 +-- .../builder/src/helpers/validation/yup/app.js | 2 +- .../src/helpers/validation/yup/index.js | 2 +- .../builder/src/pages/builder/Branding.svelte | 2 +- .../builder/src/pages/builder/_layout.svelte | 6 +- .../src/pages/builder/admin/_layout.svelte | 2 +- .../src/pages/builder/admin/index.svelte | 4 +- .../_components/BuilderSidePanel.svelte | 12 ++-- .../_components/PreviewOverlay.svelte | 2 +- .../builder/app/[application]/_layout.svelte | 24 +++---- .../automation/[automationId]/_layout.svelte | 2 +- .../automation/[automationId]/index.svelte | 2 +- .../[application]/automation/_layout.svelte | 12 ++-- .../app/[application]/automation/index.svelte | 2 +- .../GoogleAuthPrompt.svelte | 2 +- .../GoogleButton.svelte | 4 +- .../index.svelte | 10 +-- .../stores/datasourceCreation.js | 2 +- .../stores/onGoogleAuth.js | 4 +- .../stores/onGoogleAuth.test.js | 4 +- .../CreateInternalTableModal.svelte | 2 +- .../app/[application]/data/_layout.svelte | 8 +-- .../_components/EditDatasourceConfig.svelte | 6 +- .../EditDatasourceConfigButton.svelte | 4 +- .../_components/PromptQueryModal.svelte | 2 +- .../RestAuthenticationModal.svelte | 8 +-- .../_components/panels/Headers.svelte | 4 +- .../Queries/RestImportQueriesModal.svelte | 2 +- .../_components/panels/Queries/index.svelte | 4 +- .../_components/panels/Relationships.svelte | 6 +- .../panels/SaveDatasourceButton.svelte | 4 +- .../_components/panels/Settings.svelte | 2 +- .../_components/panels/Tables/Controls.svelte | 6 +- .../Tables/CreateExternalTableModal.svelte | 4 +- .../_components/panels/Tables/index.svelte | 2 +- .../Variables/ViewDynamicVariables.svelte | 2 +- .../_components/panels/Variables/index.svelte | 8 +-- .../datasource/[datasourceId]/_layout.svelte | 4 +- .../datasource/[datasourceId]/index.svelte | 8 +-- .../data/datasource/bb_internal/index.svelte | 13 ++-- .../index.svelte | 11 ++-- .../data/datasource/index.svelte | 2 +- .../app/[application]/data/index.svelte | 4 +- .../builder/app/[application]/data/new.svelte | 12 ++-- .../data/query/[queryId]/_layout.svelte | 4 +- .../data/query/[queryId]/index.svelte | 8 +-- .../app/[application]/data/query/index.svelte | 2 +- .../query/new/[datasourceId]/index.svelte | 8 +-- .../app/[application]/data/roles.svelte | 4 +- .../table/[tableId]/[viewId]/_layout.svelte | 4 +- .../table/[tableId]/[viewId]/index.svelte | 26 ++++---- .../_components/CreateViewButton.svelte | 4 +- .../_components/DeleteViewModal.svelte | 4 +- .../_components/EditViewModal.svelte | 2 +- .../[tableId]/_components/ViewNavBar.svelte | 14 ++-- .../data/table/[tableId]/_layout.svelte | 4 +- .../data/table/[tableId]/index.svelte | 36 +++++----- .../[tableId]/v1/[viewName]/_layout.svelte | 4 +- .../[tableId]/v1/[viewName]/index.svelte | 20 +++--- .../app/[application]/data/table/index.svelte | 4 +- .../Component/ComponentSettingsPanel.svelte | 14 ++-- .../Component/ComponentSettingsSection.svelte | 12 ++-- .../Component/ConditionalUIDrawer.svelte | 8 +-- .../Component/ConditionalUISection.svelte | 2 +- .../Component/CustomStylesSection.svelte | 6 +- .../_components/Component/StyleSection.svelte | 4 +- .../_components/Component/componentStyles.js | 2 +- .../Navigation/EditNavItemPopover.svelte | 10 +-- .../_components/Navigation/NavItem.svelte | 2 +- .../Navigation/NavItemConfiguration.svelte | 6 +- .../Navigation/SubLinksDrawer.svelte | 4 +- .../_components/Navigation/index.svelte | 18 ++--- .../_components/Screen/AppThemeSelect.svelte | 2 +- .../_components/Screen/GeneralPanel.svelte | 14 ++-- .../_components/Screen/ThemePanel.svelte | 6 +- .../_components/Screen/index.svelte | 6 +- .../[screenId]/[componentId]/_layout.svelte | 6 +- .../new/_components/NewComponentPanel.svelte | 6 +- .../[screenId]/_components/AppPanel.svelte | 4 +- .../[screenId]/_components/AppPreview.svelte | 6 +- .../ComponentList/ComponentKeyHandler.svelte | 6 +- .../ComponentList/ComponentTree.svelte | 6 +- .../_components/ComponentList/dndStore.js | 4 +- .../getComponentContextMenuItems.js | 2 +- .../getScreenContextMenuItems.js | 2 +- .../_components/ComponentList/index.svelte | 4 +- .../_components/DevicePreviewSelect.svelte | 2 +- .../[screenId]/_components/LeftPanel.svelte | 2 +- .../ScreenList/RoleIndicator.svelte | 4 +- .../ScreenList/ScreenNavItem.svelte | 14 ++-- .../_components/ScreenList/index.svelte | 6 +- .../design/[screenId]/_layout.svelte | 4 +- .../design/[screenId]/index.svelte | 2 +- .../NewScreen/CreateScreenModal.svelte | 14 ++-- .../NewScreen/DatasourceModal.svelte | 6 +- .../design/_components/NewScreen/index.svelte | 4 +- .../design/_components/NewScreen/utils.js | 2 +- .../app/[application]/design/index.svelte | 2 +- .../app/[application]/design/new.svelte | 2 +- .../app/[application]/settings/_layout.svelte | 6 +- .../_components/HistoryDetailsPanel.svelte | 6 +- .../settings/automations/index.svelte | 8 +-- .../_components/ActionsRenderer.svelte | 6 +- .../_components/CreateRestoreModal.svelte | 2 +- .../backups/_components/TypeRenderer.svelte | 2 +- .../settings/backups/index.svelte | 12 ++-- .../app/[application]/settings/embed.svelte | 6 +- .../settings/exportImport.svelte | 10 +-- .../settings/name-and-url.svelte | 2 +- .../app/[application]/settings/version.svelte | 4 +- .../src/pages/builder/app/_layout.svelte | 2 +- .../builder/app/updating/[application].svelte | 2 +- .../src/pages/builder/apps/_layout.svelte | 2 +- .../src/pages/builder/apps/index.svelte | 10 +-- .../auth/_components/GoogleButton.svelte | 2 +- .../auth/_components/OIDCButton.svelte | 2 +- .../src/pages/builder/auth/_layout.svelte | 2 +- .../src/pages/builder/auth/forgot.svelte | 2 +- .../src/pages/builder/auth/index.svelte | 2 +- .../src/pages/builder/auth/login.svelte | 2 +- .../builder/src/pages/builder/auth/org.svelte | 2 +- .../src/pages/builder/auth/reset.svelte | 2 +- .../builder/src/pages/builder/index.svelte | 2 +- .../src/pages/builder/invite/index.svelte | 2 +- .../pages/builder/maintenance/index.svelte | 2 +- .../portal/_components/LockedFeature.svelte | 2 +- .../builder/portal/_components/Logo.svelte | 2 +- .../portal/_components/MobileMenu.svelte | 4 +- .../portal/_components/UpgradeButton.svelte | 2 +- .../portal/_components/UserDropdown.svelte | 10 +-- .../src/pages/builder/portal/_layout.svelte | 8 +-- .../builder/portal/account/_layout.svelte | 4 +- .../portal/account/auditLogs/index.svelte | 6 +- .../portal/account/systemLogs/index.svelte | 4 +- .../builder/portal/account/upgrade.svelte | 6 +- .../pages/builder/portal/account/usage.svelte | 8 +-- .../portal/apps/FavouriteAppButton.svelte | 2 +- .../portal/apps/[appId]/_layout.svelte | 2 +- .../builder/portal/apps/[appId]/index.svelte | 10 +-- .../portal/apps/_components/AppNavItem.svelte | 10 +-- .../apps/_components/PortalSideBar.svelte | 6 +- .../pages/builder/portal/apps/_layout.svelte | 2 +- .../pages/builder/portal/apps/create.svelte | 10 +-- .../pages/builder/portal/apps/index.svelte | 16 ++--- .../onboarding/_components/NamePanel.svelte | 2 +- .../onboarding/_components/PanelHeader.svelte | 2 +- .../portal/apps/onboarding/index.svelte | 4 +- .../builder/portal/apps/templates.svelte | 6 +- .../plugins/_components/AddPluginModal.svelte | 6 +- .../_components/DeletePluginModal.svelte | 2 +- .../pages/builder/portal/plugins/index.svelte | 2 +- .../builder/portal/settings/_layout.svelte | 4 +- .../portal/settings/ai/AISettings.spec.js | 2 +- .../builder/portal/settings/ai/index.svelte | 4 +- .../portal/settings/auth/google.svelte | 4 +- .../builder/portal/settings/auth/index.svelte | 4 +- .../builder/portal/settings/auth/scim.svelte | 4 +- .../builder/portal/settings/branding.svelte | 4 +- .../portal/settings/diagnostics.svelte | 4 +- .../portal/settings/email/[template].svelte | 6 +- .../portal/settings/email/_layout.svelte | 2 +- .../portal/settings/email/index.svelte | 4 +- .../_components/EditVariableColumn.svelte | 6 +- .../portal/settings/environment/index.svelte | 4 +- .../builder/portal/settings/index.svelte | 2 +- .../portal/settings/organisation.svelte | 2 +- .../builder/portal/settings/version.svelte | 4 +- .../pages/builder/portal/users/_layout.svelte | 4 +- .../portal/users/groups/[groupId].svelte | 8 +-- .../groups/_components/AppAddModal.svelte | 6 +- .../groups/_components/EditUserPicker.svelte | 6 +- .../groups/_components/GroupUsers.svelte | 4 +- .../RemoveUserTableRenderer.svelte | 2 +- .../builder/portal/users/groups/index.svelte | 2 +- .../portal/users/users/[userId].svelte | 8 +-- .../users/_components/AddUserModal.svelte | 6 +- .../_components/AppRoleTableRenderer.svelte | 4 +- .../_components/AppsTableRenderer.svelte | 2 +- .../users/_components/DeleteUserModal.svelte | 2 +- .../ForceResetPasswordModal.svelte | 2 +- .../users/_components/ImportUsersModal.svelte | 6 +- .../_components/OnboardingTypeModal.svelte | 2 +- .../users/_components/PasswordModal.svelte | 2 +- .../RemoveGroupTableRenderer.svelte | 2 +- .../_components/RoleTableRenderer.svelte | 2 +- .../builder/portal/users/users/index.svelte | 10 +-- packages/builder/src/pages/index.svelte | 2 +- packages/builder/src/stores/builder/app.js | 2 +- .../builder/src/stores/builder/automations.js | 16 ++--- .../builder/src/stores/builder/builder.js | 2 +- .../src/stores/builder/componentTreeNodes.js | 2 +- .../builder/src/stores/builder/components.js | 14 ++-- .../builder/src/stores/builder/datasources.js | 6 +- .../builder/src/stores/builder/deployments.js | 2 +- packages/builder/src/stores/builder/flags.js | 2 +- packages/builder/src/stores/builder/hover.js | 2 +- .../src/stores/builder/integrations.js | 2 +- .../builder/src/stores/builder/layouts.js | 4 +- .../builder/src/stores/builder/navigation.js | 4 +- .../builder/src/stores/builder/permissions.js | 2 +- .../builder/src/stores/builder/published.js | 2 +- .../builder/src/stores/builder/queries.js | 4 +- packages/builder/src/stores/builder/roles.js | 2 +- .../builder/src/stores/builder/rowActions.js | 6 +- .../builder/src/stores/builder/screens.js | 8 +-- .../builder/src/stores/builder/snippets.js | 2 +- .../src/stores/builder/sortedIntegrations.js | 2 +- packages/builder/src/stores/builder/tables.js | 2 +- .../src/stores/builder/tests/app.test.js | 4 +- .../src/stores/builder/tests/builder.test.js | 2 +- .../stores/builder/tests/component.test.js | 8 +-- .../tests/datasources.spec.js.disabled | 2 +- .../stores/builder/tests/fixtures/index.js | 6 +- .../stores/builder/tests/navigation.test.js | 6 +- .../tests/permissions.spec.js.disabled | 2 +- .../builder/tests/queries.spec.js.disabled | 2 +- .../builder/tests/roles.spec.js.disabled | 2 +- .../src/stores/builder/tests/screens.test.js | 6 +- .../builder/tests/sortedIntegrations.test.js | 6 +- .../builder/tests/tables.spec.js.disabled | 2 +- packages/builder/src/stores/builder/theme.js | 2 +- packages/builder/src/stores/builder/views.js | 2 +- .../builder/src/stores/builder/viewsV2.js | 2 +- .../builder/src/stores/builder/websocket.js | 4 +- .../builder/src/stores/portal/admin.test.js | 4 +- packages/builder/src/stores/portal/admin.ts | 4 +- packages/builder/src/stores/portal/apps.ts | 4 +- .../builder/src/stores/portal/auditLogs.ts | 2 +- packages/builder/src/stores/portal/auth.ts | 8 +-- packages/builder/src/stores/portal/backups.js | 2 +- .../builder/src/stores/portal/backups.test.js | 2 +- packages/builder/src/stores/portal/email.js | 2 +- .../builder/src/stores/portal/environment.js | 4 +- .../builder/src/stores/portal/featureFlags.js | 2 +- .../builder/src/stores/portal/features.js | 2 +- packages/builder/src/stores/portal/groups.js | 4 +- .../builder/src/stores/portal/licensing.js | 6 +- packages/builder/src/stores/portal/menu.js | 2 +- packages/builder/src/stores/portal/oidc.js | 4 +- .../builder/src/stores/portal/organisation.js | 4 +- packages/builder/src/stores/portal/plugins.ts | 4 +- .../builder/src/stores/portal/templates.js | 2 +- packages/builder/src/stores/portal/users.js | 2 +- packages/builder/src/stores/selectors.js | 2 +- packages/builder/src/stores/selectors.test.js | 2 +- .../builder/src/templates/commonComponents.js | 4 +- packages/builder/src/templates/rowActions.js | 6 +- .../src/templates/screenTemplating/blank.js | 4 +- .../src/templates/screenTemplating/form.js | 4 +- .../screenTemplating/getValidRoute.js | 2 +- .../screenTemplating/table/inline.js | 4 +- .../templates/screenTemplating/table/modal.js | 4 +- .../screenTemplating/table/newScreen.js | 4 +- .../screenTemplating/table/sidePanel.js | 4 +- packages/builder/tsconfig.json | 4 +- packages/builder/vite.config.mjs | 65 ++----------------- 494 files changed, 1217 insertions(+), 1225 deletions(-) diff --git a/packages/builder/src/App.svelte b/packages/builder/src/App.svelte index f31f45bb84..866a28a4e6 100644 --- a/packages/builder/src/App.svelte +++ b/packages/builder/src/App.svelte @@ -3,7 +3,7 @@ import { routes } from "../.routify/routes" import { NotificationDisplay, BannerDisplay } from "@budibase/bbui" import { parse, stringify } from "qs" - import LicensingOverlays from "components/portal/licensing/LicensingOverlays.svelte" + import LicensingOverlays from "@/components/portal/licensing/LicensingOverlays.svelte" const queryHandler = { parse, stringify } diff --git a/packages/builder/src/analytics/index.js b/packages/builder/src/analytics/index.js index c9887aebc3..aa83f3c7ab 100644 --- a/packages/builder/src/analytics/index.js +++ b/packages/builder/src/analytics/index.js @@ -1,4 +1,4 @@ -import { API } from "api" +import { API } from "@/api" import PosthogClient from "./PosthogClient" import { Events, EventSource } from "./constants" diff --git a/packages/builder/src/api.ts b/packages/builder/src/api.ts index 907354499f..e9e8b39e28 100644 --- a/packages/builder/src/api.ts +++ b/packages/builder/src/api.ts @@ -3,7 +3,7 @@ import { CookieUtils, Constants, } from "@budibase/frontend-core" -import { appStore } from "stores/builder" +import { appStore } from "@/stores/builder" import { get } from "svelte/store" import { auth, navigation } from "./stores/portal" diff --git a/packages/builder/src/components/ContextMenu.svelte b/packages/builder/src/components/ContextMenu.svelte index 37aacf06ed..3ff2a2b084 100644 --- a/packages/builder/src/components/ContextMenu.svelte +++ b/packages/builder/src/components/ContextMenu.svelte @@ -1,5 +1,5 @@ diff --git a/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte b/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte index b1a4f37f46..0b68d8e4b3 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/DraggableCanvas.svelte @@ -9,7 +9,7 @@ } from "svelte" import Logo from "assets/bb-emblem.svg?raw" import { Utils, memo } from "@budibase/frontend-core" - import { selectedAutomation, automationStore } from "stores/builder" + import { selectedAutomation, automationStore } from "@/stores/builder" // CSS classes that, on mouse down, will trigger the view drag behaviour export let draggableClasses = [] diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte index 88201aa225..706c196fff 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/ActionModal.svelte @@ -10,10 +10,10 @@ Tag, } from "@budibase/bbui" import { AutomationActionStepId } from "@budibase/types" - import { automationStore, selectedAutomation } from "stores/builder" - import { admin, licensing } from "stores/portal" + import { automationStore, selectedAutomation } from "@/stores/builder" + import { admin, licensing } from "@/stores/portal" import { externalActions } from "./ExternalActions" - import { TriggerStepID, ActionStepID } from "constants/backend/automations" + import { TriggerStepID, ActionStepID } from "@/constants/backend/automations" export let block export let modal diff --git a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/AutomationBlockTagline.svelte b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/AutomationBlockTagline.svelte index 8732623dcf..0a8ce505b8 100644 --- a/packages/builder/src/components/automation/AutomationBuilder/FlowChart/AutomationBlockTagline.svelte +++ b/packages/builder/src/components/automation/AutomationBuilder/FlowChart/AutomationBlockTagline.svelte @@ -1,7 +1,7 @@ diff --git a/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte b/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte index fa89ab9393..c44ba8a93a 100644 --- a/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/AutomationNavItem.svelte @@ -4,12 +4,12 @@ userSelectedResourceMap, automationStore, contextMenuStore, - } from "stores/builder" + } from "@/stores/builder" import { notifications, Icon } from "@budibase/bbui" import { sdk } from "@budibase/shared-core" - import ConfirmDialog from "components/common/ConfirmDialog.svelte" - import UpdateAutomationModal from "components/automation/AutomationPanel/UpdateAutomationModal.svelte" - import NavItem from "components/common/NavItem.svelte" + import ConfirmDialog from "@/components/common/ConfirmDialog.svelte" + import UpdateAutomationModal from "@/components/automation/AutomationPanel/UpdateAutomationModal.svelte" + import NavItem from "@/components/common/NavItem.svelte" export let automation export let icon diff --git a/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte b/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte index a26efdf243..f84130f5e7 100644 --- a/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte +++ b/packages/builder/src/components/automation/AutomationPanel/AutomationPanel.svelte @@ -1,11 +1,11 @@ import BindingPanel from "./BindingPanel.svelte" - import { snippets } from "stores/builder" + import { snippets } from "@/stores/builder" export let bindings = [] export let value = "" diff --git a/packages/builder/src/components/common/bindings/SnippetDrawer.svelte b/packages/builder/src/components/common/bindings/SnippetDrawer.svelte index d8e56b059a..90ca6ffd9f 100644 --- a/packages/builder/src/components/common/bindings/SnippetDrawer.svelte +++ b/packages/builder/src/components/common/bindings/SnippetDrawer.svelte @@ -8,11 +8,11 @@ TooltipType, notifications, } from "@budibase/bbui" - import BindingPanel from "components/common/bindings/BindingPanel.svelte" + import BindingPanel from "@/components/common/bindings/BindingPanel.svelte" import { decodeJSBinding, encodeJSBinding } from "@budibase/string-templates" - import { snippets } from "stores/builder" - import { getSequentialName } from "helpers/duplicate" - import ConfirmDialog from "components/common/ConfirmDialog.svelte" + import { snippets } from "@/stores/builder" + import { getSequentialName } from "@/helpers/duplicate" + import ConfirmDialog from "@/components/common/ConfirmDialog.svelte" import { ValidSnippetNameRegex } from "@budibase/shared-core" export let snippet diff --git a/packages/builder/src/components/common/bindings/SnippetSidePanel.svelte b/packages/builder/src/components/common/bindings/SnippetSidePanel.svelte index 2cc27b91cd..95f40005c0 100644 --- a/packages/builder/src/components/common/bindings/SnippetSidePanel.svelte +++ b/packages/builder/src/components/common/bindings/SnippetSidePanel.svelte @@ -9,11 +9,11 @@ Body, Button, } from "@budibase/bbui" - import CodeEditor from "components/common/CodeEditor/CodeEditor.svelte" - import { EditorModes } from "components/common/CodeEditor" + import CodeEditor from "@/components/common/CodeEditor/CodeEditor.svelte" + import { EditorModes } from "@/components/common/CodeEditor" import SnippetDrawer from "./SnippetDrawer.svelte" - import { licensing } from "stores/portal" - import UpgradeButton from "pages/builder/portal/_components/UpgradeButton.svelte" + import { licensing } from "@/stores/portal" + import UpgradeButton from "@/pages/builder/portal/_components/UpgradeButton.svelte" export let addSnippet export let snippets diff --git a/packages/builder/src/components/common/bindings/utils.js b/packages/builder/src/components/common/bindings/utils.js index 77e4a1dfb1..9fc147a420 100644 --- a/packages/builder/src/components/common/bindings/utils.js +++ b/packages/builder/src/components/common/bindings/utils.js @@ -1,5 +1,5 @@ import { decodeJSBinding } from "@budibase/string-templates" -import { hbInsert, jsInsert } from "components/common/CodeEditor" +import { hbInsert, jsInsert } from "@/components/common/CodeEditor" export const BindingType = { READABLE: "readableBinding", diff --git a/packages/builder/src/components/common/renderers/CapitaliseRenderer.svelte b/packages/builder/src/components/common/renderers/CapitaliseRenderer.svelte index b5155fc044..bc019a3c71 100644 --- a/packages/builder/src/components/common/renderers/CapitaliseRenderer.svelte +++ b/packages/builder/src/components/common/renderers/CapitaliseRenderer.svelte @@ -1,5 +1,5 @@ diff --git a/packages/builder/src/components/common/users/PasswordRepeatInput.svelte b/packages/builder/src/components/common/users/PasswordRepeatInput.svelte index bd7f5b50c7..46597a57c8 100644 --- a/packages/builder/src/components/common/users/PasswordRepeatInput.svelte +++ b/packages/builder/src/components/common/users/PasswordRepeatInput.svelte @@ -1,7 +1,10 @@ diff --git a/packages/builder/src/components/deploy/AppActions.svelte b/packages/builder/src/components/deploy/AppActions.svelte index 9ba46832f4..f57563b2ab 100644 --- a/packages/builder/src/components/deploy/AppActions.svelte +++ b/packages/builder/src/components/deploy/AppActions.svelte @@ -11,13 +11,13 @@ StatusLight, AbsTooltip, } from "@budibase/bbui" - import RevertModal from "components/deploy/RevertModal.svelte" - import VersionModal from "components/deploy/VersionModal.svelte" + import RevertModal from "@/components/deploy/RevertModal.svelte" + import VersionModal from "@/components/deploy/VersionModal.svelte" import { processStringSync } from "@budibase/string-templates" - import ConfirmDialog from "components/common/ConfirmDialog.svelte" - import analytics, { Events, EventSource } from "analytics" - import { API } from "api" - import { appsStore } from "stores/portal" + import ConfirmDialog from "@/components/common/ConfirmDialog.svelte" + import analytics, { Events, EventSource } from "@/analytics" + import { API } from "@/api" + import { appsStore } from "@/stores/portal" import { previewStore, builderStore, @@ -26,9 +26,9 @@ deploymentStore, sortedScreens, appPublished, - } from "stores/builder" - import TourWrap from "components/portal/onboarding/TourWrap.svelte" - import { TOUR_STEP_KEYS } from "components/portal/onboarding/tours.js" + } from "@/stores/builder" + import TourWrap from "@/components/portal/onboarding/TourWrap.svelte" + import { TOUR_STEP_KEYS } from "@/components/portal/onboarding/tours.js" import { goto } from "@roxi/routify" export let application diff --git a/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte b/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte index 899d1659e8..927d69f43c 100644 --- a/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte +++ b/packages/builder/src/components/deploy/CreateWebhookDeploymentModal.svelte @@ -1,9 +1,9 @@ diff --git a/packages/builder/src/components/design/settings/controls/ColumnEditor/CellDrawer.svelte b/packages/builder/src/components/design/settings/controls/ColumnEditor/CellDrawer.svelte index d2e0ddc1b0..13db369893 100644 --- a/packages/builder/src/components/design/settings/controls/ColumnEditor/CellDrawer.svelte +++ b/packages/builder/src/components/design/settings/controls/ColumnEditor/CellDrawer.svelte @@ -7,8 +7,8 @@ Layout, Label, } from "@budibase/bbui" - import { themeStore, previewStore } from "stores/builder" - import DrawerBindableInput from "components/common/bindings/DrawerBindableInput.svelte" + import { themeStore, previewStore } from "@/stores/builder" + import DrawerBindableInput from "@/components/common/bindings/DrawerBindableInput.svelte" export let column diff --git a/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnEditor.svelte b/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnEditor.svelte index 4a11211662..5e27b591f8 100644 --- a/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnEditor.svelte +++ b/packages/builder/src/components/design/settings/controls/ColumnEditor/ColumnEditor.svelte @@ -4,8 +4,11 @@ import { createEventDispatcher } from "svelte" import ColumnDrawer from "./ColumnDrawer.svelte" import { cloneDeep } from "lodash/fp" - import { getDatasourceForProvider, getSchemaForDatasource } from "dataBinding" - import { selectedScreen, tables } from "stores/builder" + import { + getDatasourceForProvider, + getSchemaForDatasource, + } from "@/dataBinding" + import { selectedScreen, tables } from "@/stores/builder" export let componentInstance export let value = [] diff --git a/packages/builder/src/components/design/settings/controls/DataProviderSelect.svelte b/packages/builder/src/components/design/settings/controls/DataProviderSelect.svelte index 2e74cac0f4..310a22e73e 100644 --- a/packages/builder/src/components/design/settings/controls/DataProviderSelect.svelte +++ b/packages/builder/src/components/design/settings/controls/DataProviderSelect.svelte @@ -1,8 +1,8 @@ diff --git a/packages/builder/src/components/start/AppContextMenuModals.svelte b/packages/builder/src/components/start/AppContextMenuModals.svelte index f4921c4312..186e0d8601 100644 --- a/packages/builder/src/components/start/AppContextMenuModals.svelte +++ b/packages/builder/src/components/start/AppContextMenuModals.svelte @@ -1,9 +1,9 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte index c5c28d1e1e..46aaeae7c5 100644 --- a/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/automation/_layout.svelte @@ -1,17 +1,17 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/_layout.svelte index 9c1baa723e..4a12047c37 100644 --- a/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/_layout.svelte +++ b/packages/builder/src/pages/builder/app/[application]/data/table/[tableId]/[viewId]/_layout.svelte @@ -1,6 +1,6 @@
diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte index 1e8868f03c..55a4dc4de4 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte @@ -12,11 +12,11 @@ hoverStore, componentTreeNodesStore, snippets, - } from "stores/builder" - import ConfirmDialog from "components/common/ConfirmDialog.svelte" + } from "@/stores/builder" + import ConfirmDialog from "@/components/common/ConfirmDialog.svelte" import { Layout, Heading, Body, Icon, notifications } from "@budibase/bbui" import ErrorSVG from "@budibase/frontend-core/assets/error.svg?raw" - import { findComponent, findComponentPath } from "helpers/components" + import { findComponent, findComponentPath } from "@/helpers/components" import { isActive, goto } from "@roxi/routify" import { ClientAppSkeleton } from "@budibase/frontend-core" import { getThemeClassNames, ThemeClassPrefix } from "@budibase/shared-core" diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentKeyHandler.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentKeyHandler.svelte index 6b27d79c15..ca8a08368a 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentKeyHandler.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentKeyHandler.svelte @@ -5,11 +5,11 @@ componentStore, selectedComponent, componentTreeNodesStore, - } from "stores/builder" - import { findComponent, getChildIdsForComponent } from "helpers/components" + } from "@/stores/builder" + import { findComponent, getChildIdsForComponent } from "@/helpers/components" import { goto, isActive } from "@roxi/routify" import { notifications } from "@budibase/bbui" - import ConfirmDialog from "components/common/ConfirmDialog.svelte" + import ConfirmDialog from "@/components/common/ConfirmDialog.svelte" let confirmDeleteDialog let confirmEjectDialog diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentTree.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentTree.svelte index 997fac6f10..a6f404d61b 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentTree.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ComponentList/ComponentTree.svelte @@ -1,5 +1,5 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/LeftPanel.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/LeftPanel.svelte index ab078a3a5b..fa3ad5f6be 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/LeftPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/LeftPanel.svelte @@ -1,7 +1,7 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ScreenList/RoleIndicator.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ScreenList/RoleIndicator.svelte index 09e29d806a..807c0208a2 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ScreenList/RoleIndicator.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/ScreenList/RoleIndicator.svelte @@ -1,7 +1,7 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte b/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte index 47d7c765d6..edc502bbb4 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte @@ -1,5 +1,5 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/settings/automations/_components/HistoryDetailsPanel.svelte b/packages/builder/src/pages/builder/app/[application]/settings/automations/_components/HistoryDetailsPanel.svelte index 6dc95b0a13..cfe912699f 100644 --- a/packages/builder/src/pages/builder/app/[application]/settings/automations/_components/HistoryDetailsPanel.svelte +++ b/packages/builder/src/pages/builder/app/[application]/settings/automations/_components/HistoryDetailsPanel.svelte @@ -8,10 +8,10 @@ Icon, } from "@budibase/bbui" import StatusRenderer from "./StatusRenderer.svelte" - import DateTimeRenderer from "components/common/renderers/DateTimeRenderer.svelte" - import TestDisplay from "components/automation/AutomationBuilder/TestDisplay.svelte" + import DateTimeRenderer from "@/components/common/renderers/DateTimeRenderer.svelte" + import TestDisplay from "@/components/automation/AutomationBuilder/TestDisplay.svelte" import { goto } from "@roxi/routify" - import { automationStore } from "stores/builder" + import { automationStore } from "@/stores/builder" export let history export let appId diff --git a/packages/builder/src/pages/builder/app/[application]/settings/automations/index.svelte b/packages/builder/src/pages/builder/app/[application]/settings/automations/index.svelte index dd332c92a9..71faa5762f 100644 --- a/packages/builder/src/pages/builder/app/[application]/settings/automations/index.svelte +++ b/packages/builder/src/pages/builder/app/[application]/settings/automations/index.svelte @@ -11,14 +11,14 @@ Toggle, notifications, } from "@budibase/bbui" - import DateTimeRenderer from "components/common/renderers/DateTimeRenderer.svelte" + import DateTimeRenderer from "@/components/common/renderers/DateTimeRenderer.svelte" import StatusRenderer from "./_components/StatusRenderer.svelte" import HistoryDetailsPanel from "./_components/HistoryDetailsPanel.svelte" - import { automationStore, appStore } from "stores/builder" - import { createPaginationStore } from "helpers/pagination" + import { automationStore, appStore } from "@/stores/builder" + import { createPaginationStore } from "@/helpers/pagination" import { getContext, onDestroy, onMount } from "svelte" import dayjs from "dayjs" - import { auth, licensing, admin, appsStore } from "stores/portal" + import { auth, licensing, admin, appsStore } from "@/stores/portal" import { Constants } from "@budibase/frontend-core" import Portal from "svelte-portal" diff --git a/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/ActionsRenderer.svelte b/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/ActionsRenderer.svelte index 3e88fb5541..93d6f0ae81 100644 --- a/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/ActionsRenderer.svelte +++ b/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/ActionsRenderer.svelte @@ -9,11 +9,11 @@ AbsTooltip, TooltipPosition, } from "@budibase/bbui" - import ConfirmDialog from "components/common/ConfirmDialog.svelte" + import ConfirmDialog from "@/components/common/ConfirmDialog.svelte" import CreateRestoreModal from "./CreateRestoreModal.svelte" import { createEventDispatcher } from "svelte" - import { isOnlyUser } from "stores/builder" - import { BackupType } from "constants/backend/backups" + import { isOnlyUser } from "@/stores/builder" + import { BackupType } from "@/constants/backend/backups" export let row diff --git a/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/CreateRestoreModal.svelte b/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/CreateRestoreModal.svelte index 62ef3e239d..09528be113 100644 --- a/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/CreateRestoreModal.svelte +++ b/packages/builder/src/pages/builder/app/[application]/settings/backups/_components/CreateRestoreModal.svelte @@ -1,6 +1,6 @@ diff --git a/packages/builder/src/pages/builder/app/[application]/settings/version.svelte b/packages/builder/src/pages/builder/app/[application]/settings/version.svelte index bd592fa308..6a780555a9 100644 --- a/packages/builder/src/pages/builder/app/[application]/settings/version.svelte +++ b/packages/builder/src/pages/builder/app/[application]/settings/version.svelte @@ -1,7 +1,7 @@ {#if $auth.user} diff --git a/packages/builder/src/pages/builder/app/updating/[application].svelte b/packages/builder/src/pages/builder/app/updating/[application].svelte index 1f92861edf..34468e3c71 100644 --- a/packages/builder/src/pages/builder/app/updating/[application].svelte +++ b/packages/builder/src/pages/builder/app/updating/[application].svelte @@ -2,7 +2,7 @@ import { Updating } from "@budibase/frontend-core" import { redirect, params } from "@roxi/routify" - import { API } from "api" + import { API } from "@/api" async function isMigrationDone() { const response = await API.getMigrationStatus() diff --git a/packages/builder/src/pages/builder/apps/_layout.svelte b/packages/builder/src/pages/builder/apps/_layout.svelte index 17f70bf815..0b81999dfa 100644 --- a/packages/builder/src/pages/builder/apps/_layout.svelte +++ b/packages/builder/src/pages/builder/apps/_layout.svelte @@ -1,5 +1,5 @@ {#if $auth.user} diff --git a/packages/builder/src/pages/builder/apps/index.svelte b/packages/builder/src/pages/builder/apps/index.svelte index 632478748d..8bf96d0240 100644 --- a/packages/builder/src/pages/builder/apps/index.svelte +++ b/packages/builder/src/pages/builder/apps/index.svelte @@ -19,12 +19,12 @@ groups, licensing, enrichedApps, - } from "stores/portal" + } from "@/stores/portal" import { goto } from "@roxi/routify" - import { AppStatus } from "constants" - import { gradient } from "actions" - import ProfileModal from "components/settings/ProfileModal.svelte" - import ChangePasswordModal from "components/settings/ChangePasswordModal.svelte" + import { AppStatus } from "@/constants" + import { gradient } from "@/actions" + import ProfileModal from "@/components/settings/ProfileModal.svelte" + import ChangePasswordModal from "@/components/settings/ChangePasswordModal.svelte" import { processStringSync } from "@budibase/string-templates" import Spaceman from "assets/bb-space-man.svg" import Logo from "assets/bb-emblem.svg" diff --git a/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte b/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte index 812f744087..c27f08a8c3 100644 --- a/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte +++ b/packages/builder/src/pages/builder/auth/_components/GoogleButton.svelte @@ -1,7 +1,7 @@ diff --git a/packages/builder/src/pages/builder/portal/_components/MobileMenu.svelte b/packages/builder/src/pages/builder/portal/_components/MobileMenu.svelte index 9b4938e0d5..256199f3d7 100644 --- a/packages/builder/src/pages/builder/portal/_components/MobileMenu.svelte +++ b/packages/builder/src/pages/builder/portal/_components/MobileMenu.svelte @@ -1,12 +1,12 @@ diff --git a/packages/builder/src/pages/builder/portal/_components/UserDropdown.svelte b/packages/builder/src/pages/builder/portal/_components/UserDropdown.svelte index 9faae70aa9..d2a7be8237 100644 --- a/packages/builder/src/pages/builder/portal/_components/UserDropdown.svelte +++ b/packages/builder/src/pages/builder/portal/_components/UserDropdown.svelte @@ -1,11 +1,11 @@ diff --git a/packages/builder/src/pages/builder/portal/plugins/_components/AddPluginModal.svelte b/packages/builder/src/pages/builder/portal/plugins/_components/AddPluginModal.svelte index fe3b9056e9..ead80f1ded 100644 --- a/packages/builder/src/pages/builder/portal/plugins/_components/AddPluginModal.svelte +++ b/packages/builder/src/pages/builder/portal/plugins/_components/AddPluginModal.svelte @@ -8,9 +8,9 @@ Body, notifications, } from "@budibase/bbui" - import KeyValueBuilder from "components/integration/KeyValueBuilder.svelte" - import { plugins } from "stores/portal" - import { PluginSource } from "constants" + import KeyValueBuilder from "@/components/integration/KeyValueBuilder.svelte" + import { plugins } from "@/stores/portal" + import { PluginSource } from "@/constants" function opt(name, optional) { if (optional) { diff --git a/packages/builder/src/pages/builder/portal/plugins/_components/DeletePluginModal.svelte b/packages/builder/src/pages/builder/portal/plugins/_components/DeletePluginModal.svelte index 1782b44f2b..b41776dcfe 100644 --- a/packages/builder/src/pages/builder/portal/plugins/_components/DeletePluginModal.svelte +++ b/packages/builder/src/pages/builder/portal/plugins/_components/DeletePluginModal.svelte @@ -1,6 +1,6 @@