@malloy-publisher/sdk 0.9.12 → 0.9.13

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.
Files changed (68) hide show
  1. package/README.md +5 -7
  2. package/dist/{RenderedResult-CDiXJAh9.es.js → RenderedResult-DnBtf-cI.es.js} +2 -2
  3. package/dist/{RenderedResult-De51QvsZ.cjs.js → RenderedResult-DtQtNV0d.cjs.js} +1 -1
  4. package/dist/ServerProvider-BIFPCzTD.cjs.js +1 -0
  5. package/dist/{ServerProvider-RvKSbvnL.es.js → ServerProvider-BV7IoDMR.es.js} +805 -606
  6. package/dist/builder/index.cjs.js +72 -72
  7. package/dist/builder/index.es.js +4156 -4219
  8. package/dist/builder-entry.d.ts +1 -0
  9. package/dist/client/api.d.ts +178 -0
  10. package/dist/client/index.cjs.js +1 -1
  11. package/dist/client/index.es.js +41 -37
  12. package/dist/components/Report/telemetry.d.ts +0 -5
  13. package/dist/components/ReportBuilder/BuilderBar.d.ts +1 -1
  14. package/dist/components/ReportBuilder/BuilderToolbar.d.ts +14 -10
  15. package/dist/components/ReportBuilder/EditorSurface.d.ts +1 -2
  16. package/dist/components/ReportBuilder/ReportBuilder.d.ts +3 -10
  17. package/dist/components/ReportBuilder/ReportEditor.d.ts +2 -9
  18. package/dist/components/ReportBuilder/SaveStatus.d.ts +16 -0
  19. package/dist/components/ReportBuilder/TileFrame.d.ts +9 -2
  20. package/dist/components/ReportBuilder/builderControls.d.ts +14 -6
  21. package/dist/components/ReportBuilder/useBuilderSession.d.ts +1 -1
  22. package/dist/components/ReportBuilder/useReportDraft.d.ts +6 -2
  23. package/dist/components/given/GivenInput.d.ts +18 -1
  24. package/dist/components/given/GivensPanel.d.ts +12 -1
  25. package/dist/components/given/useOptionSearch.d.ts +30 -0
  26. package/dist/hooks/index.d.ts +1 -1
  27. package/dist/hooks/useDocumentControls.d.ts +5 -0
  28. package/dist/hooks/useGivensState.d.ts +7 -0
  29. package/dist/hooks/useSuggestOptions.d.ts +60 -4
  30. package/dist/index.cjs.js +1 -1
  31. package/dist/index.es.js +5 -5
  32. package/dist/{useCompiledDocument-Bf4RSfB6.es.js → useCompiledDocument-B4QF1mIl.es.js} +6912 -6759
  33. package/dist/useCompiledDocument-D0OAMejE.cjs.js +142 -0
  34. package/package.json +1 -1
  35. package/src/builder-entry.ts +1 -0
  36. package/src/components/Report/ReportPage.tsx +5 -1
  37. package/src/components/Report/telemetry.ts +0 -6
  38. package/src/components/ReportBuilder/AddTileDialog.tsx +2 -2
  39. package/src/components/ReportBuilder/BuilderBar.tsx +5 -256
  40. package/src/components/ReportBuilder/BuilderHeader.tsx +9 -3
  41. package/src/components/ReportBuilder/BuilderToolbar.tsx +15 -38
  42. package/src/components/ReportBuilder/EditorSurface.tsx +0 -3
  43. package/src/components/ReportBuilder/FilterDialog.tsx +1 -1
  44. package/src/components/ReportBuilder/ReportBuilder.controls.spec.tsx +210 -24
  45. package/src/components/ReportBuilder/ReportBuilder.tsx +43 -85
  46. package/src/components/ReportBuilder/ReportEditor.package.spec.tsx +0 -36
  47. package/src/components/ReportBuilder/ReportEditor.tsx +2 -13
  48. package/src/components/ReportBuilder/SaveStatus.tsx +271 -0
  49. package/src/components/ReportBuilder/TileFrame.spec.ts +34 -0
  50. package/src/components/ReportBuilder/TileFrame.tsx +10 -3
  51. package/src/components/ReportBuilder/builderControls.ts +39 -13
  52. package/src/components/ReportBuilder/emptyStart.spec.ts +1 -1
  53. package/src/components/ReportBuilder/useReportDraft.ts +38 -4
  54. package/src/components/given/GivenInput.tsx +219 -104
  55. package/src/components/given/GivensPanel.spec.tsx +19 -0
  56. package/src/components/given/GivensPanel.tsx +31 -1
  57. package/src/components/given/useOptionSearch.spec.tsx +218 -0
  58. package/src/components/given/useOptionSearch.ts +100 -0
  59. package/src/hooks/index.ts +5 -1
  60. package/src/hooks/useDocumentControls.ts +12 -1
  61. package/src/hooks/useGivensState.spec.ts +54 -0
  62. package/src/hooks/useGivensState.ts +21 -1
  63. package/src/hooks/useSuggestOptions.dom.spec.ts +125 -4
  64. package/src/hooks/useSuggestOptions.spec.ts +73 -2
  65. package/src/hooks/useSuggestOptions.ts +234 -62
  66. package/dist/ServerProvider-DKrBcXL7.cjs.js +0 -1
  67. package/dist/useCompiledDocument-XsQz85Ri.cjs.js +0 -141
  68. package/src/components/ReportBuilder/ReportBuilder.layoutSwitch.spec.tsx +0 -145
@@ -2,6 +2,7 @@ export { ReportBuilder } from './components/ReportBuilder/ReportBuilder';
2
2
  export type { FixedFilter } from './components/ReportBuilder/FilterStrip';
3
3
  export { BuilderBar, type BuilderBarProps, } from './components/ReportBuilder/BuilderBar';
4
4
  export type { BuilderControls, BuilderControlsHandler, } from './components/ReportBuilder/builderControls';
5
+ export type { RestoredDraft } from './components/ReportBuilder/useReportDraft';
5
6
  export type { BuilderGiven, ReportBuilderProps, } from './components/ReportBuilder/ReportBuilder';
6
7
  export { ReportEditor, type ReportEditorProps, type TextSourceOptions, } from './components/ReportBuilder/ReportEditor';
7
8
  export { DashboardBuilder, DashboardEditor, type DashboardBuilderProps, type DashboardEditorProps, } from './components/legacy/builderNames';
@@ -2997,6 +2997,40 @@ export interface StartWatchRequest {
2997
2997
  */
2998
2998
  'environmentName': string;
2999
2999
  }
3000
+ /**
3001
+ * What one file cleanup reclaimed
3002
+ */
3003
+ export interface StorageFileCleanup {
3004
+ 'snapshotsOlderThan': string;
3005
+ 'filesOlderThan': string;
3006
+ /**
3007
+ * Snapshots this cleanup expired
3008
+ */
3009
+ 'expiredSnapshots': number;
3010
+ /**
3011
+ * Data and delete files this cleanup removed from storage
3012
+ */
3013
+ 'deletedFiles': number;
3014
+ }
3015
+ export interface StorageFileCleanupRequest {
3016
+ /**
3017
+ * Expire snapshots older than this. Sets how long a dropped table stays recoverable.
3018
+ */
3019
+ 'snapshotsOlderThan': string;
3020
+ /**
3021
+ * Delete files scheduled for deletion before this. Must outlast the longest query reading the destination.
3022
+ */
3023
+ 'filesOlderThan': string;
3024
+ }
3025
+ /**
3026
+ * A table in a storage destination
3027
+ */
3028
+ export interface StorageTable {
3029
+ /**
3030
+ * Table name, unqualified
3031
+ */
3032
+ 'name': string;
3033
+ }
3000
3034
  /**
3001
3035
  * One `where:` conjunct a storage build leaves out of the artifact and the read puts back. Its `code` is the author\'s verbatim expression, which is what a serve shape re-emits; `givens` are the names that expression reads, which is what the shape must declare for it to compile.
3002
3036
  */
@@ -5821,6 +5855,150 @@ export declare class SkillsApi extends BaseAPI {
5821
5855
  */
5822
5856
  listSkills(environmentName: string, packageName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<SkillSummary[], any, {}, any>>;
5823
5857
  }
5858
+ /**
5859
+ * StorageDestinationsApi - axios parameter creator
5860
+ */
5861
+ export declare const StorageDestinationsApiAxiosParamCreator: (configuration?: Configuration) => {
5862
+ /**
5863
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
5864
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
5865
+ * @param {string} environmentName Name of the environment
5866
+ * @param {string} destinationName Name of a storage destination configured on the environment
5867
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
5868
+ * @param {*} [options] Override http request option.
5869
+ * @throws {RequiredError}
5870
+ */
5871
+ createStorageDestinationFileCleanup: (environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5872
+ /**
5873
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
5874
+ * @summary Drop a table from a storage destination
5875
+ * @param {string} environmentName Name of the environment
5876
+ * @param {string} destinationName Name of a storage destination configured on the environment
5877
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5878
+ * @param {string} tableName Name of the table
5879
+ * @param {*} [options] Override http request option.
5880
+ * @throws {RequiredError}
5881
+ */
5882
+ deleteStorageDestinationTable: (environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5883
+ /**
5884
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
5885
+ * @summary List tables in a storage destination
5886
+ * @param {string} environmentName Name of the environment
5887
+ * @param {string} destinationName Name of a storage destination configured on the environment
5888
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5889
+ * @param {*} [options] Override http request option.
5890
+ * @throws {RequiredError}
5891
+ */
5892
+ listStorageDestinationTables: (environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5893
+ };
5894
+ /**
5895
+ * StorageDestinationsApi - functional programming interface
5896
+ */
5897
+ export declare const StorageDestinationsApiFp: (configuration?: Configuration) => {
5898
+ /**
5899
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
5900
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
5901
+ * @param {string} environmentName Name of the environment
5902
+ * @param {string} destinationName Name of a storage destination configured on the environment
5903
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
5904
+ * @param {*} [options] Override http request option.
5905
+ * @throws {RequiredError}
5906
+ */
5907
+ createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFileCleanup>>;
5908
+ /**
5909
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
5910
+ * @summary Drop a table from a storage destination
5911
+ * @param {string} environmentName Name of the environment
5912
+ * @param {string} destinationName Name of a storage destination configured on the environment
5913
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5914
+ * @param {string} tableName Name of the table
5915
+ * @param {*} [options] Override http request option.
5916
+ * @throws {RequiredError}
5917
+ */
5918
+ deleteStorageDestinationTable(environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5919
+ /**
5920
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
5921
+ * @summary List tables in a storage destination
5922
+ * @param {string} environmentName Name of the environment
5923
+ * @param {string} destinationName Name of a storage destination configured on the environment
5924
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5925
+ * @param {*} [options] Override http request option.
5926
+ * @throws {RequiredError}
5927
+ */
5928
+ listStorageDestinationTables(environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StorageTable>>>;
5929
+ };
5930
+ /**
5931
+ * StorageDestinationsApi - factory interface
5932
+ */
5933
+ export declare const StorageDestinationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5934
+ /**
5935
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
5936
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
5937
+ * @param {string} environmentName Name of the environment
5938
+ * @param {string} destinationName Name of a storage destination configured on the environment
5939
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
5940
+ * @param {*} [options] Override http request option.
5941
+ * @throws {RequiredError}
5942
+ */
5943
+ createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): AxiosPromise<StorageFileCleanup>;
5944
+ /**
5945
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
5946
+ * @summary Drop a table from a storage destination
5947
+ * @param {string} environmentName Name of the environment
5948
+ * @param {string} destinationName Name of a storage destination configured on the environment
5949
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5950
+ * @param {string} tableName Name of the table
5951
+ * @param {*} [options] Override http request option.
5952
+ * @throws {RequiredError}
5953
+ */
5954
+ deleteStorageDestinationTable(environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5955
+ /**
5956
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
5957
+ * @summary List tables in a storage destination
5958
+ * @param {string} environmentName Name of the environment
5959
+ * @param {string} destinationName Name of a storage destination configured on the environment
5960
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5961
+ * @param {*} [options] Override http request option.
5962
+ * @throws {RequiredError}
5963
+ */
5964
+ listStorageDestinationTables(environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<StorageTable>>;
5965
+ };
5966
+ /**
5967
+ * StorageDestinationsApi - object-oriented interface
5968
+ */
5969
+ export declare class StorageDestinationsApi extends BaseAPI {
5970
+ /**
5971
+ * Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
5972
+ * @summary Reclaim storage behind dropped tables in a DuckLake destination
5973
+ * @param {string} environmentName Name of the environment
5974
+ * @param {string} destinationName Name of a storage destination configured on the environment
5975
+ * @param {StorageFileCleanupRequest} storageFileCleanupRequest
5976
+ * @param {*} [options] Override http request option.
5977
+ * @throws {RequiredError}
5978
+ */
5979
+ createStorageDestinationFileCleanup(environmentName: string, destinationName: string, storageFileCleanupRequest: StorageFileCleanupRequest, options?: RawAxiosRequestConfig): Promise< AxiosResponse<StorageFileCleanup, any, {}, any>>;
5980
+ /**
5981
+ * Drops one named table from a storage destination. Idempotent: a table that does not exist answers 204 as well, so a retried drop is free. For a DuckLake destination this retires the table in the catalog; its data files stay in storage until a file cleanup reclaims them (see `create-storage-destination-file-cleanup`), which is also the window in which the table can still be read at an earlier snapshot.
5982
+ * @summary Drop a table from a storage destination
5983
+ * @param {string} environmentName Name of the environment
5984
+ * @param {string} destinationName Name of a storage destination configured on the environment
5985
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5986
+ * @param {string} tableName Name of the table
5987
+ * @param {*} [options] Override http request option.
5988
+ * @throws {RequiredError}
5989
+ */
5990
+ deleteStorageDestinationTable(environmentName: string, destinationName: string, schemaName: string, tableName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<void, any, {}, any>>;
5991
+ /**
5992
+ * Lists the tables in one schema of a storage destination, in name order. Storage destinations are never reachable through the connection routes, so this is how an orchestrator finds tables it has lost track of. A DuckLake destination is attached read-only for the listing.
5993
+ * @summary List tables in a storage destination
5994
+ * @param {string} environmentName Name of the environment
5995
+ * @param {string} destinationName Name of a storage destination configured on the environment
5996
+ * @param {string} schemaName Schema within the storage destination. A table built from a bare physical name lives in &#x60;main&#x60;.
5997
+ * @param {*} [options] Override http request option.
5998
+ * @throws {RequiredError}
5999
+ */
6000
+ listStorageDestinationTables(environmentName: string, destinationName: string, schemaName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<StorageTable[], any, {}, any>>;
6001
+ }
5824
6002
  /**
5825
6003
  * WatchModeApi - axios parameter creator
5826
6004
  */
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-DKrBcXL7.cjs.js");exports.AgentsApi=e.AgentsApi;exports.AgentsApiAxiosParamCreator=e.AgentsApiAxiosParamCreator;exports.AgentsApiFactory=e.AgentsApiFactory;exports.AgentsApiFp=e.AgentsApiFp;exports.AttachedDatabaseTypeEnum=e.AttachedDatabaseTypeEnum;exports.AzureConnectionAuthTypeEnum=e.AzureConnectionAuthTypeEnum;exports.CompileProblemSeverityEnum=e.CompileProblemSeverityEnum;exports.CompileRequestScopeEnum=e.CompileRequestScopeEnum;exports.CompileResultStatusEnum=e.CompileResultStatusEnum;exports.CompiledDocumentKindEnum=e.CompiledDocumentKindEnum;exports.CompiledDocumentLayoutEnum=e.CompiledDocumentLayoutEnum;exports.Configuration=e.Configuration;exports.ConnectionProxyTypeEnum=e.ConnectionProxyTypeEnum;exports.ConnectionStatusStatusEnum=e.ConnectionStatusStatusEnum;exports.ConnectionTypeEnum=e.ConnectionTypeEnum;exports.ConnectionsApi=e.ConnectionsApi;exports.ConnectionsApiAxiosParamCreator=e.ConnectionsApiAxiosParamCreator;exports.ConnectionsApiFactory=e.ConnectionsApiFactory;exports.ConnectionsApiFp=e.ConnectionsApiFp;exports.ConnectionsTestApi=e.ConnectionsTestApi;exports.ConnectionsTestApiAxiosParamCreator=e.ConnectionsTestApiAxiosParamCreator;exports.ConnectionsTestApiFactory=e.ConnectionsTestApiFactory;exports.ConnectionsTestApiFp=e.ConnectionsTestApiFp;exports.DashboardManifestKindEnum=e.DashboardManifestKindEnum;exports.DashboardManifestLayoutEnum=e.DashboardManifestLayoutEnum;exports.DashboardTileKindEnum=e.DashboardTileKindEnum;exports.DashboardsApi=e.DashboardsApi;exports.DashboardsApiAxiosParamCreator=e.DashboardsApiAxiosParamCreator;exports.DashboardsApiFactory=e.DashboardsApiFactory;exports.DashboardsApiFp=e.DashboardsApiFp;exports.DataAppFitEnum=e.DataAppFitEnum;exports.DataAppsApi=e.DataAppsApi;exports.DataAppsApiAxiosParamCreator=e.DataAppsApiAxiosParamCreator;exports.DataAppsApiFactory=e.DataAppsApiFactory;exports.DataAppsApiFp=e.DataAppsApiFp;exports.DatabaseTypeEnum=e.DatabaseTypeEnum;exports.DatabasesApi=e.DatabasesApi;exports.DatabasesApiAxiosParamCreator=e.DatabasesApiAxiosParamCreator;exports.DatabasesApiFactory=e.DatabasesApiFactory;exports.DatabasesApiFp=e.DatabasesApiFp;exports.EnvironmentsApi=e.EnvironmentsApi;exports.EnvironmentsApiAxiosParamCreator=e.EnvironmentsApiAxiosParamCreator;exports.EnvironmentsApiFactory=e.EnvironmentsApiFactory;exports.EnvironmentsApiFp=e.EnvironmentsApiFp;exports.ExecuteNotebookCellBypassFiltersEnum=e.ExecuteNotebookCellBypassFiltersEnum;exports.FilterTypeEnum=e.FilterTypeEnum;exports.FreshnessFallbackEnum=e.FreshnessFallbackEnum;exports.GetAgentSkillsEnum=e.GetAgentSkillsEnum;exports.GivenControlEnum=e.GivenControlEnum;exports.LedgerEntryStrategyEnum=e.LedgerEntryStrategyEnum;exports.LogMessageSeverityEnum=e.LogMessageSeverityEnum;exports.ManifestEntryFreshnessFallbackEnum=e.ManifestEntryFreshnessFallbackEnum;exports.ManifestEntryOriginEnum=e.ManifestEntryOriginEnum;exports.ManifestEntryRefreshEnum=e.ManifestEntryRefreshEnum;exports.ManifestEntryUpstreamReuseEnum=e.ManifestEntryUpstreamReuseEnum;exports.MaterializationActionActionEnum=e.MaterializationActionActionEnum;exports.MaterializationStatus=e.MaterializationStatus;exports.MaterializationsApi=e.MaterializationsApi;exports.MaterializationsApiAxiosParamCreator=e.MaterializationsApiAxiosParamCreator;exports.MaterializationsApiFactory=e.MaterializationsApiFactory;exports.MaterializationsApiFp=e.MaterializationsApiFp;exports.ModelsApi=e.ModelsApi;exports.ModelsApiAxiosParamCreator=e.ModelsApiAxiosParamCreator;exports.ModelsApiFactory=e.ModelsApiFactory;exports.ModelsApiFp=e.ModelsApiFp;exports.NotebookCellKindEnum=e.NotebookCellKindEnum;exports.NotebookCellResultKindEnum=e.NotebookCellResultKindEnum;exports.NotebookCellResultTypeEnum=e.NotebookCellResultTypeEnum;exports.NotebookCellTypeEnum=e.NotebookCellTypeEnum;exports.NotebooksApi=e.NotebooksApi;exports.NotebooksApiAxiosParamCreator=e.NotebooksApiAxiosParamCreator;exports.NotebooksApiFactory=e.NotebooksApiFactory;exports.NotebooksApiFp=e.NotebooksApiFp;exports.PackageEmbeddingIndexReasonEnum=e.PackageEmbeddingIndexReasonEnum;exports.PackageEmbeddingIndexStageEnum=e.PackageEmbeddingIndexStageEnum;exports.PackageEmbeddingIndexStatusEnum=e.PackageEmbeddingIndexStatusEnum;exports.PackageManifestBindingStatusEnum=e.PackageManifestBindingStatusEnum;exports.PackageQueryableSourcesEnum=e.PackageQueryableSourcesEnum;exports.PackageScopeEnum=e.PackageScopeEnum;exports.PackageStorageServeBindingsInnerOriginEnum=e.PackageStorageServeBindingsInnerOriginEnum;exports.PackageWarningsInnerSeverityEnum=e.PackageWarningsInnerSeverityEnum;exports.PackagesApi=e.PackagesApi;exports.PackagesApiAxiosParamCreator=e.PackagesApiAxiosParamCreator;exports.PackagesApiFactory=e.PackagesApiFactory;exports.PackagesApiFp=e.PackagesApiFp;exports.PersistSourcePlanOriginEnum=e.PersistSourcePlanOriginEnum;exports.PostgresConnectionSslmodeEnum=e.PostgresConnectionSslmodeEnum;exports.PublisherApi=e.PublisherApi;exports.PublisherApiAxiosParamCreator=e.PublisherApiAxiosParamCreator;exports.PublisherApiFactory=e.PublisherApiFactory;exports.PublisherApiFp=e.PublisherApiFp;exports.QueryClass=e.QueryClass;exports.QueryResultQueryRowLimitSourceEnum=e.QueryResultQueryRowLimitSourceEnum;exports.QueryResultServedFromEnum=e.QueryResultServedFromEnum;exports.RawNotebookFormatEnum=e.RawNotebookFormatEnum;exports.Realization=e.Realization;exports.RefusedSourceReasonEnum=e.RefusedSourceReasonEnum;exports.RefusedSourceTierEnum=e.RefusedSourceTierEnum;exports.ReportCellsFormatEnum=e.ReportCellsFormatEnum;exports.ReportLayoutEnum=e.ReportLayoutEnum;exports.ReportManifestLayoutEnum=e.ReportManifestLayoutEnum;exports.ReportTileKindEnum=e.ReportTileKindEnum;exports.ReportsApi=e.ReportsApi;exports.ReportsApiAxiosParamCreator=e.ReportsApiAxiosParamCreator;exports.ReportsApiFactory=e.ReportsApiFactory;exports.ReportsApiFp=e.ReportsApiFp;exports.RunContextTriggerEnum=e.RunContextTriggerEnum;exports.S3ConnectionProviderEnum=e.S3ConnectionProviderEnum;exports.ServerProvider=e.ServerProvider;exports.ServerStatusOperationalStateEnum=e.ServerStatusOperationalStateEnum;exports.SkillOriginEnum=e.SkillOriginEnum;exports.SkillSummaryOriginEnum=e.SkillSummaryOriginEnum;exports.SkillsApi=e.SkillsApi;exports.SkillsApiAxiosParamCreator=e.SkillsApiAxiosParamCreator;exports.SkillsApiFactory=e.SkillsApiFactory;exports.SkillsApiFp=e.SkillsApiFp;exports.ThemeDefaultModeEnum=e.ThemeDefaultModeEnum;exports.WatchModeApi=e.WatchModeApi;exports.WatchModeApiAxiosParamCreator=e.WatchModeApiAxiosParamCreator;exports.WatchModeApiFactory=e.WatchModeApiFactory;exports.WatchModeApiFp=e.WatchModeApiFp;exports.globalQueryClient=e.globalQueryClient;exports.usePublisherTheme=e.usePublisherTheme;exports.useServer=e.useServer;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-BIFPCzTD.cjs.js");exports.AgentsApi=e.AgentsApi;exports.AgentsApiAxiosParamCreator=e.AgentsApiAxiosParamCreator;exports.AgentsApiFactory=e.AgentsApiFactory;exports.AgentsApiFp=e.AgentsApiFp;exports.AttachedDatabaseTypeEnum=e.AttachedDatabaseTypeEnum;exports.AzureConnectionAuthTypeEnum=e.AzureConnectionAuthTypeEnum;exports.CompileProblemSeverityEnum=e.CompileProblemSeverityEnum;exports.CompileRequestScopeEnum=e.CompileRequestScopeEnum;exports.CompileResultStatusEnum=e.CompileResultStatusEnum;exports.CompiledDocumentKindEnum=e.CompiledDocumentKindEnum;exports.CompiledDocumentLayoutEnum=e.CompiledDocumentLayoutEnum;exports.Configuration=e.Configuration;exports.ConnectionProxyTypeEnum=e.ConnectionProxyTypeEnum;exports.ConnectionStatusStatusEnum=e.ConnectionStatusStatusEnum;exports.ConnectionTypeEnum=e.ConnectionTypeEnum;exports.ConnectionsApi=e.ConnectionsApi;exports.ConnectionsApiAxiosParamCreator=e.ConnectionsApiAxiosParamCreator;exports.ConnectionsApiFactory=e.ConnectionsApiFactory;exports.ConnectionsApiFp=e.ConnectionsApiFp;exports.ConnectionsTestApi=e.ConnectionsTestApi;exports.ConnectionsTestApiAxiosParamCreator=e.ConnectionsTestApiAxiosParamCreator;exports.ConnectionsTestApiFactory=e.ConnectionsTestApiFactory;exports.ConnectionsTestApiFp=e.ConnectionsTestApiFp;exports.DashboardManifestKindEnum=e.DashboardManifestKindEnum;exports.DashboardManifestLayoutEnum=e.DashboardManifestLayoutEnum;exports.DashboardTileKindEnum=e.DashboardTileKindEnum;exports.DashboardsApi=e.DashboardsApi;exports.DashboardsApiAxiosParamCreator=e.DashboardsApiAxiosParamCreator;exports.DashboardsApiFactory=e.DashboardsApiFactory;exports.DashboardsApiFp=e.DashboardsApiFp;exports.DataAppFitEnum=e.DataAppFitEnum;exports.DataAppsApi=e.DataAppsApi;exports.DataAppsApiAxiosParamCreator=e.DataAppsApiAxiosParamCreator;exports.DataAppsApiFactory=e.DataAppsApiFactory;exports.DataAppsApiFp=e.DataAppsApiFp;exports.DatabaseTypeEnum=e.DatabaseTypeEnum;exports.DatabasesApi=e.DatabasesApi;exports.DatabasesApiAxiosParamCreator=e.DatabasesApiAxiosParamCreator;exports.DatabasesApiFactory=e.DatabasesApiFactory;exports.DatabasesApiFp=e.DatabasesApiFp;exports.EnvironmentsApi=e.EnvironmentsApi;exports.EnvironmentsApiAxiosParamCreator=e.EnvironmentsApiAxiosParamCreator;exports.EnvironmentsApiFactory=e.EnvironmentsApiFactory;exports.EnvironmentsApiFp=e.EnvironmentsApiFp;exports.ExecuteNotebookCellBypassFiltersEnum=e.ExecuteNotebookCellBypassFiltersEnum;exports.FilterTypeEnum=e.FilterTypeEnum;exports.FreshnessFallbackEnum=e.FreshnessFallbackEnum;exports.GetAgentSkillsEnum=e.GetAgentSkillsEnum;exports.GivenControlEnum=e.GivenControlEnum;exports.LedgerEntryStrategyEnum=e.LedgerEntryStrategyEnum;exports.LogMessageSeverityEnum=e.LogMessageSeverityEnum;exports.ManifestEntryFreshnessFallbackEnum=e.ManifestEntryFreshnessFallbackEnum;exports.ManifestEntryOriginEnum=e.ManifestEntryOriginEnum;exports.ManifestEntryRefreshEnum=e.ManifestEntryRefreshEnum;exports.ManifestEntryUpstreamReuseEnum=e.ManifestEntryUpstreamReuseEnum;exports.MaterializationActionActionEnum=e.MaterializationActionActionEnum;exports.MaterializationStatus=e.MaterializationStatus;exports.MaterializationsApi=e.MaterializationsApi;exports.MaterializationsApiAxiosParamCreator=e.MaterializationsApiAxiosParamCreator;exports.MaterializationsApiFactory=e.MaterializationsApiFactory;exports.MaterializationsApiFp=e.MaterializationsApiFp;exports.ModelsApi=e.ModelsApi;exports.ModelsApiAxiosParamCreator=e.ModelsApiAxiosParamCreator;exports.ModelsApiFactory=e.ModelsApiFactory;exports.ModelsApiFp=e.ModelsApiFp;exports.NotebookCellKindEnum=e.NotebookCellKindEnum;exports.NotebookCellResultKindEnum=e.NotebookCellResultKindEnum;exports.NotebookCellResultTypeEnum=e.NotebookCellResultTypeEnum;exports.NotebookCellTypeEnum=e.NotebookCellTypeEnum;exports.NotebooksApi=e.NotebooksApi;exports.NotebooksApiAxiosParamCreator=e.NotebooksApiAxiosParamCreator;exports.NotebooksApiFactory=e.NotebooksApiFactory;exports.NotebooksApiFp=e.NotebooksApiFp;exports.PackageEmbeddingIndexReasonEnum=e.PackageEmbeddingIndexReasonEnum;exports.PackageEmbeddingIndexStageEnum=e.PackageEmbeddingIndexStageEnum;exports.PackageEmbeddingIndexStatusEnum=e.PackageEmbeddingIndexStatusEnum;exports.PackageManifestBindingStatusEnum=e.PackageManifestBindingStatusEnum;exports.PackageQueryableSourcesEnum=e.PackageQueryableSourcesEnum;exports.PackageScopeEnum=e.PackageScopeEnum;exports.PackageStorageServeBindingsInnerOriginEnum=e.PackageStorageServeBindingsInnerOriginEnum;exports.PackageWarningsInnerSeverityEnum=e.PackageWarningsInnerSeverityEnum;exports.PackagesApi=e.PackagesApi;exports.PackagesApiAxiosParamCreator=e.PackagesApiAxiosParamCreator;exports.PackagesApiFactory=e.PackagesApiFactory;exports.PackagesApiFp=e.PackagesApiFp;exports.PersistSourcePlanOriginEnum=e.PersistSourcePlanOriginEnum;exports.PostgresConnectionSslmodeEnum=e.PostgresConnectionSslmodeEnum;exports.PublisherApi=e.PublisherApi;exports.PublisherApiAxiosParamCreator=e.PublisherApiAxiosParamCreator;exports.PublisherApiFactory=e.PublisherApiFactory;exports.PublisherApiFp=e.PublisherApiFp;exports.QueryClass=e.QueryClass;exports.QueryResultQueryRowLimitSourceEnum=e.QueryResultQueryRowLimitSourceEnum;exports.QueryResultServedFromEnum=e.QueryResultServedFromEnum;exports.RawNotebookFormatEnum=e.RawNotebookFormatEnum;exports.Realization=e.Realization;exports.RefusedSourceReasonEnum=e.RefusedSourceReasonEnum;exports.RefusedSourceTierEnum=e.RefusedSourceTierEnum;exports.ReportCellsFormatEnum=e.ReportCellsFormatEnum;exports.ReportLayoutEnum=e.ReportLayoutEnum;exports.ReportManifestLayoutEnum=e.ReportManifestLayoutEnum;exports.ReportTileKindEnum=e.ReportTileKindEnum;exports.ReportsApi=e.ReportsApi;exports.ReportsApiAxiosParamCreator=e.ReportsApiAxiosParamCreator;exports.ReportsApiFactory=e.ReportsApiFactory;exports.ReportsApiFp=e.ReportsApiFp;exports.RunContextTriggerEnum=e.RunContextTriggerEnum;exports.S3ConnectionProviderEnum=e.S3ConnectionProviderEnum;exports.ServerProvider=e.ServerProvider;exports.ServerStatusOperationalStateEnum=e.ServerStatusOperationalStateEnum;exports.SkillOriginEnum=e.SkillOriginEnum;exports.SkillSummaryOriginEnum=e.SkillSummaryOriginEnum;exports.SkillsApi=e.SkillsApi;exports.SkillsApiAxiosParamCreator=e.SkillsApiAxiosParamCreator;exports.SkillsApiFactory=e.SkillsApiFactory;exports.SkillsApiFp=e.SkillsApiFp;exports.StorageDestinationsApi=e.StorageDestinationsApi;exports.StorageDestinationsApiAxiosParamCreator=e.StorageDestinationsApiAxiosParamCreator;exports.StorageDestinationsApiFactory=e.StorageDestinationsApiFactory;exports.StorageDestinationsApiFp=e.StorageDestinationsApiFp;exports.ThemeDefaultModeEnum=e.ThemeDefaultModeEnum;exports.WatchModeApi=e.WatchModeApi;exports.WatchModeApiAxiosParamCreator=e.WatchModeApiAxiosParamCreator;exports.WatchModeApiFactory=e.WatchModeApiFactory;exports.WatchModeApiFp=e.WatchModeApiFp;exports.globalQueryClient=e.globalQueryClient;exports.usePublisherTheme=e.usePublisherTheme;exports.useServer=e.useServer;
@@ -1,10 +1,10 @@
1
- import { A as e, a as i, b as o, c as n, d as t, e as r, C as p, f as u, g as m, h as A, i as l, j as E, k as c, l as y, m as C, n as d, o as b, p as F, q as g, r as P, s as S, t as k, u as M, D as R, v as h, w as x, x as D, y as T, z as v, B as f, E as N, F as z, G as L, H as K, I as O, J as Q, K as I, L as W, M as B, N as w, O as G, P as q, Q as U, R as j, S as H, T as J, U as V, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ia, a2 as oa, a3 as na, a4 as ta, a5 as ra, a6 as pa, a7 as ua, a8 as ma, a9 as Aa, aa as la, ab as Ea, ac as ca, ad as ya, ae as Ca, af as da, ag as ba, ah as Fa, ai as ga, aj as Pa, ak as Sa, al as ka, am as Ma, an as Ra, ao as ha, ap as xa, aq as Da, ar as Ta, as as va, at as fa, au as Na, av as za, aw as La, ax as Ka, ay as Oa, az as Qa, aA as Ia, aB as Wa, aC as Ba, aD as wa, aE as Ga, aF as qa, aG as Ua, aH as ja, aI as Ha, aJ as Ja, aK as Va, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as is, aU as os, aV as ns, aW as ts, aX as rs, aY as ps, aZ as us, a_ as ms, a$ as As, b0 as ls, b1 as Es, b2 as cs, b3 as ys, b4 as Cs, b5 as ds } from "../ServerProvider-RvKSbvnL.es.js";
1
+ import { A as e, a as i, b as o, c as t, d as n, e as r, C as p, f as u, g as m, h as A, i as l, j as E, k as c, l as b, m as y, n as C, o as d, p as g, q as F, r as P, s as S, t as k, u as D, D as M, v as R, w as h, x, y as T, z as v, B as f, E as N, F as z, G as L, H as K, I as O, J as Q, K as I, L as W, M as B, N as w, O as G, P as q, Q as U, R as j, S as H, T as J, U as V, V as X, W as Y, X as Z, Y as _, Z as $, _ as aa, $ as sa, a0 as ea, a1 as ia, a2 as oa, a3 as ta, a4 as na, a5 as ra, a6 as pa, a7 as ua, a8 as ma, a9 as Aa, aa as la, ab as Ea, ac as ca, ad as ba, ae as ya, af as Ca, ag as da, ah as ga, ai as Fa, aj as Pa, ak as Sa, al as ka, am as Da, an as Ma, ao as Ra, ap as ha, aq as xa, ar as Ta, as as va, at as fa, au as Na, av as za, aw as La, ax as Ka, ay as Oa, az as Qa, aA as Ia, aB as Wa, aC as Ba, aD as wa, aE as Ga, aF as qa, aG as Ua, aH as ja, aI as Ha, aJ as Ja, aK as Va, aL as Xa, aM as Ya, aN as Za, aO as _a, aP as $a, aQ as as, aR as ss, aS as es, aT as is, aU as os, aV as ts, aW as ns, aX as rs, aY as ps, aZ as us, a_ as ms, a$ as As, b0 as ls, b1 as Es, b2 as cs, b3 as bs, b4 as ys, b5 as Cs, b6 as ds, b7 as gs, b8 as Fs, b9 as Ps } from "../ServerProvider-BV7IoDMR.es.js";
2
2
  export {
3
3
  e as AgentsApi,
4
4
  i as AgentsApiAxiosParamCreator,
5
5
  o as AgentsApiFactory,
6
- n as AgentsApiFp,
7
- t as AttachedDatabaseTypeEnum,
6
+ t as AgentsApiFp,
7
+ n as AttachedDatabaseTypeEnum,
8
8
  r as AzureConnectionAuthTypeEnum,
9
9
  p as CompileProblemSeverityEnum,
10
10
  u as CompileRequestScopeEnum,
@@ -13,20 +13,20 @@ export {
13
13
  l as CompiledDocumentLayoutEnum,
14
14
  E as Configuration,
15
15
  c as ConnectionProxyTypeEnum,
16
- y as ConnectionStatusStatusEnum,
17
- C as ConnectionTypeEnum,
18
- d as ConnectionsApi,
19
- b as ConnectionsApiAxiosParamCreator,
20
- F as ConnectionsApiFactory,
21
- g as ConnectionsApiFp,
16
+ b as ConnectionStatusStatusEnum,
17
+ y as ConnectionTypeEnum,
18
+ C as ConnectionsApi,
19
+ d as ConnectionsApiAxiosParamCreator,
20
+ g as ConnectionsApiFactory,
21
+ F as ConnectionsApiFp,
22
22
  P as ConnectionsTestApi,
23
23
  S as ConnectionsTestApiAxiosParamCreator,
24
24
  k as ConnectionsTestApiFactory,
25
- M as ConnectionsTestApiFp,
26
- R as DashboardManifestKindEnum,
27
- h as DashboardManifestLayoutEnum,
28
- x as DashboardTileKindEnum,
29
- D as DashboardsApi,
25
+ D as ConnectionsTestApiFp,
26
+ M as DashboardManifestKindEnum,
27
+ R as DashboardManifestLayoutEnum,
28
+ h as DashboardTileKindEnum,
29
+ x as DashboardsApi,
30
30
  T as DashboardsApiAxiosParamCreator,
31
31
  v as DashboardsApiFactory,
32
32
  f as DashboardsApiFp,
@@ -57,8 +57,8 @@ export {
57
57
  ea as ManifestEntryUpstreamReuseEnum,
58
58
  ia as MaterializationActionActionEnum,
59
59
  oa as MaterializationStatus,
60
- na as MaterializationsApi,
61
- ta as MaterializationsApiAxiosParamCreator,
60
+ ta as MaterializationsApi,
61
+ na as MaterializationsApiAxiosParamCreator,
62
62
  ra as MaterializationsApiFactory,
63
63
  pa as MaterializationsApiFp,
64
64
  ua as ModelsApi,
@@ -67,20 +67,20 @@ export {
67
67
  la as ModelsApiFp,
68
68
  Ea as NotebookCellKindEnum,
69
69
  ca as NotebookCellResultKindEnum,
70
- ya as NotebookCellResultTypeEnum,
71
- Ca as NotebookCellTypeEnum,
72
- da as NotebooksApi,
73
- ba as NotebooksApiAxiosParamCreator,
74
- Fa as NotebooksApiFactory,
75
- ga as NotebooksApiFp,
70
+ ba as NotebookCellResultTypeEnum,
71
+ ya as NotebookCellTypeEnum,
72
+ Ca as NotebooksApi,
73
+ da as NotebooksApiAxiosParamCreator,
74
+ ga as NotebooksApiFactory,
75
+ Fa as NotebooksApiFp,
76
76
  Pa as PackageEmbeddingIndexReasonEnum,
77
77
  Sa as PackageEmbeddingIndexStageEnum,
78
78
  ka as PackageEmbeddingIndexStatusEnum,
79
- Ma as PackageManifestBindingStatusEnum,
80
- Ra as PackageQueryableSourcesEnum,
81
- ha as PackageScopeEnum,
82
- xa as PackageStorageServeBindingsInnerOriginEnum,
83
- Da as PackageWarningsInnerSeverityEnum,
79
+ Da as PackageManifestBindingStatusEnum,
80
+ Ma as PackageQueryableSourcesEnum,
81
+ Ra as PackageScopeEnum,
82
+ ha as PackageStorageServeBindingsInnerOriginEnum,
83
+ xa as PackageWarningsInnerSeverityEnum,
84
84
  Ta as PackagesApi,
85
85
  va as PackagesApiAxiosParamCreator,
86
86
  fa as PackagesApiFactory,
@@ -111,17 +111,21 @@ export {
111
111
  es as ServerProvider,
112
112
  is as ServerStatusOperationalStateEnum,
113
113
  os as SkillOriginEnum,
114
- ns as SkillSummaryOriginEnum,
115
- ts as SkillsApi,
114
+ ts as SkillSummaryOriginEnum,
115
+ ns as SkillsApi,
116
116
  rs as SkillsApiAxiosParamCreator,
117
117
  ps as SkillsApiFactory,
118
118
  us as SkillsApiFp,
119
- ms as ThemeDefaultModeEnum,
120
- As as WatchModeApi,
121
- ls as WatchModeApiAxiosParamCreator,
122
- Es as WatchModeApiFactory,
123
- cs as WatchModeApiFp,
124
- ys as globalQueryClient,
125
- Cs as usePublisherTheme,
126
- ds as useServer
119
+ ms as StorageDestinationsApi,
120
+ As as StorageDestinationsApiAxiosParamCreator,
121
+ ls as StorageDestinationsApiFactory,
122
+ Es as StorageDestinationsApiFp,
123
+ cs as ThemeDefaultModeEnum,
124
+ bs as WatchModeApi,
125
+ ys as WatchModeApiAxiosParamCreator,
126
+ Cs as WatchModeApiFactory,
127
+ ds as WatchModeApiFp,
128
+ gs as globalQueryClient,
129
+ Fs as usePublisherTheme,
130
+ Ps as useServer
127
131
  };
@@ -113,11 +113,6 @@ export type ReportEvent = {
113
113
  } | {
114
114
  type: "report.create_refused";
115
115
  reason: string;
116
- } | {
117
- /** The author switched the report between Linear and Grid; `layout` is `to`. */
118
- type: "report.layout_changed";
119
- from: ReportLayout;
120
- to: ReportLayout;
121
116
  } | {
122
117
  type: "report.drill";
123
118
  /** `self` filtered this report; `report` went to another. */
@@ -7,7 +7,7 @@ export interface BuilderBarProps {
7
7
  }
8
8
  /**
9
9
  * The builder's controls as one bar, for a host's header: the save status,
10
- * undo and redo, the layout switch, an Add menu, then Done and, while there
10
+ * undo and redo, an Add menu, then Done and, while there
11
11
  * are unsaved edits, Save. The page under it stays the reader's page, with the
12
12
  * tile and filter controls on the things they change.
13
13
  *
@@ -1,5 +1,6 @@
1
1
  import { ReactNode, Ref } from 'react';
2
2
  import { SavesTo } from './documentSession';
3
+ import { SaveStatusProps } from './SaveStatus';
3
4
  import { ReportUi } from '../../theme/ui';
4
5
  /**
5
6
  * The toolbar's controls at the report surfaces' one size, set here rather
@@ -50,11 +51,12 @@ export declare const dividerSx: {
50
51
  readonly my: 0;
51
52
  };
52
53
  /**
53
- * A segmented control, built as an outlined button group: the same edge,
54
- * height, radius and padding as "+ Tile" beside it, each segment the full
55
- * height of the control with a rule between them, and the chosen one tinted
56
- * edge to edge. An inset chip inside the outline read as a control within a
57
- * control, a size smaller than the button next to it.
54
+ * A segmented control, built as an outlined button group, for the builder's
55
+ * windows (the tile picker, the filter window): the same edge, height, radius
56
+ * and padding as "+ Tile", each segment the full height of the control with a
57
+ * rule between them, and the chosen one tinted edge to edge. An inset chip
58
+ * inside the outline read as a control within a control, a size smaller than
59
+ * the button next to it.
58
60
  */
59
61
  export declare const segmentedSx: (edge: string, ui?: ReportUi) => {
60
62
  readonly height: number;
@@ -123,9 +125,11 @@ export interface BuilderToolbarProps {
123
125
  * Console leaves from its own header and passes nothing.
124
126
  */
125
127
  onExit?: () => void;
126
- /** The report's layout, for the switch. Absent, no switch is drawn. */
127
- layout?: "grid" | "linear";
128
- /** Switch the layout: rewrites `layout=` in the tag and nothing else. */
129
- onLayoutChange?: (layout: "grid" | "linear") => void;
128
+ /**
129
+ * Where the edits stand, drawn before Save, for a builder that keeps a
130
+ * draft: the same status a host's {@link BuilderBar} draws, with its
131
+ * Discard edits menu and the word that edits were put back on opening.
132
+ */
133
+ saveStatus?: SaveStatusProps;
130
134
  }
131
- export declare function BuilderToolbar({ canUndo, canRedo, onUndo, onRedo, dirty, saving, onSave, savesTo, saveLabel, saveButton, actions, onAddTile, onExit, layout, onLayoutChange, }: BuilderToolbarProps): import("react/jsx-runtime").JSX.Element;
135
+ export declare function BuilderToolbar({ canUndo, canRedo, onUndo, onRedo, dirty, saving, onSave, savesTo, saveLabel, saveButton, actions, onAddTile, onExit, saveStatus, }: BuilderToolbarProps): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ import { SavesTo } from './documentSession';
4
4
  import { TextSourceOptions } from './ReportEditor';
5
5
  import { ReportEventHandler } from '../Report/telemetry';
6
6
  import { BuilderControlsHandler } from './builderControls';
7
- export declare function EditorSurface({ textSource, environmentName, packageName, modelPath, versionId, opened, replaces, onSave, onDirtyChange, onExit, onOpenModel, onControlsChange, draftKey, allowLayoutChange, onEvent, savesTo, saveLabel, note, }: {
7
+ export declare function EditorSurface({ textSource, environmentName, packageName, modelPath, versionId, opened, replaces, onSave, onDirtyChange, onExit, onOpenModel, onControlsChange, draftKey, onEvent, savesTo, saveLabel, note, }: {
8
8
  textSource?: TextSourceOptions;
9
9
  environmentName: string;
10
10
  packageName: string;
@@ -26,7 +26,6 @@ export declare function EditorSurface({ textSource, environmentName, packageName
26
26
  onControlsChange?: BuilderControlsHandler;
27
27
  /** Keep unsaved edits in this browser under this key; see `ReportBuilderProps.draftKey`. */
28
28
  draftKey?: string;
29
- allowLayoutChange?: boolean;
30
29
  onEvent?: ReportEventHandler;
31
30
  savesTo: SavesTo;
32
31
  saveLabel?: string;
@@ -117,7 +117,7 @@ export interface ReportBuilderProps {
117
117
  */
118
118
  dashboards?: string[];
119
119
  /**
120
- * Saves, refusals and layout switches, for the host to log; see
120
+ * Opens, saves and refusals, for the host to log; see
121
121
  * `ReportEvent`. Each is stamped with `modelPath` (empty when the builder
122
122
  * was given none) and the document's layout as it stands.
123
123
  */
@@ -186,7 +186,7 @@ export interface ReportBuilderProps {
186
186
  onExit?: () => void;
187
187
  /**
188
188
  * Take over the page-level controls (save status and Save, undo and redo,
189
- * the layout switch, and adding a tile, text or filter): the builder hands
189
+ * and adding a tile, text or filter): the builder hands
190
190
  * them over as `BuilderControls` whenever they change, and draws no
191
191
  * toolbar of its own. Draw them with `BuilderBar`, or place each in
192
192
  * the host's own chrome. `undefined` is handed over when the builder goes.
@@ -202,12 +202,5 @@ export interface ReportBuilderProps {
202
202
  * One key per report and place it is saved to. Absent, nothing is kept.
203
203
  */
204
204
  draftKey?: string;
205
- /**
206
- * Whether the toolbar offers the Linear / Grid layout switch. Default
207
- * true. A host that files a report by its layout passes false, so an
208
- * author cannot change a layout the host files by. A document held as text
209
- * never gets the switch.
210
- */
211
- allowLayoutChange?: boolean;
212
205
  }
213
- export declare function ReportBuilder({ source, document, onSave, onChange, onDirtyChange, onExit, allowLayoutChange, renderTile, renderViewPreview, controls, givens, catalog, toolbar, dashboards, onEvent, savesTo, saveLabel, replaces, modelPath, visibleSources, addFilterDisabledReason, fixedFilters, onOpenModel, takenGivenNames, onControlsChange, draftKey, }: ReportBuilderProps): import("react/jsx-runtime").JSX.Element;
206
+ export declare function ReportBuilder({ source, document, onSave, onChange, onDirtyChange, onExit, renderTile, renderViewPreview, controls, givens, catalog, toolbar, dashboards, onEvent, savesTo, saveLabel, replaces, modelPath, visibleSources, addFilterDisabledReason, fixedFilters, onOpenModel, takenGivenNames, onControlsChange, draftKey, }: ReportBuilderProps): import("react/jsx-runtime").JSX.Element;
@@ -71,7 +71,7 @@ export type ReportEditorProps = ({
71
71
  * report's copy is read back only from an authoritative store) and is what
72
72
  * a save records until the text says otherwise; once open, the document's
73
73
  * own tag decides how it is drawn, what a save records and which events it
74
- * reports, and the layout switch changes that.
74
+ * reports.
75
75
  */
76
76
  layout?: ReportLayout;
77
77
  /** @deprecated Pass `layout`: `dashboard` is grid, `notebook` linear. */
@@ -104,7 +104,7 @@ export type ReportEditorProps = ({
104
104
  onOpenModel?: (modelPath: string) => void;
105
105
  /**
106
106
  * Take over the builder's page-level controls (save status and Save, undo
107
- * and redo, the layout switch, Add): handed over as `BuilderControls`
107
+ * and redo, Add): handed over as `BuilderControls`
108
108
  * whenever they change, with no toolbar drawn on the page. Draw them with
109
109
  * `BuilderBar` in the host's header, or place each in its own chrome.
110
110
  */
@@ -118,13 +118,6 @@ export type ReportEditorProps = ({
118
118
  keepDraft?: boolean;
119
119
  /** Edit a document held as text; see {@link TextSourceOptions}. */
120
120
  textSource?: TextSourceOptions;
121
- /**
122
- * Whether the toolbar offers the Linear / Grid layout switch. Default
123
- * true. A host that files a report by its layout passes false, so an
124
- * author cannot change a layout the host files by. A document held as text
125
- * never gets the switch.
126
- */
127
- allowLayoutChange?: boolean;
128
121
  };
129
122
  /**
130
123
  * Open a document the host keeps as TEXT, rather than a file in a package.
@@ -0,0 +1,16 @@
1
+ import { BuilderControls } from './builderControls';
2
+ /** What the status reads: a slice of the builder's controls. */
3
+ export type SaveStatusProps = Pick<BuilderControls, "status" | "saveTarget" | "draftKeptAt" | "discard" | "restored" | "dismissRestored">;
4
+ /**
5
+ * Where the edits stand: saved, saving, kept in this browser, or (with no
6
+ * draft) unsaved. While there are edits to drop, it opens a menu offering
7
+ * Discard edits, which is one undoable edit back to the saved report.
8
+ *
9
+ * Edits put back from this browser on opening are said here, not in a banner
10
+ * over the page: the dot takes the accent, and the menu's first line says when
11
+ * the edits are from, until the menu has been opened once or the author edits
12
+ * again.
13
+ */
14
+ export declare function SaveStatus(props: SaveStatusProps): import("react/jsx-runtime").JSX.Element;
15
+ /** A time of day, or a date and time when not today: when a draft was kept. */
16
+ export declare function clockTime(at: number): string;
@@ -59,8 +59,15 @@ export declare const selectionSx: (theme: ResolvedTheme, { selected, flash, bare
59
59
  selected: boolean;
60
60
  flash?: boolean;
61
61
  bare?: boolean;
62
- /** How far a bare ring stands off its prose. Only content outside the grid may go wider than the grid's own. */
63
- ringOffset?: number;
62
+ /**
63
+ * How far a bare ring stands off its prose: one distance, or one across
64
+ * and one above and below. Only content outside the grid may go wider
65
+ * than the grid's own.
66
+ */
67
+ ringOffset?: number | {
68
+ x: number;
69
+ y: number;
70
+ };
64
71
  }) => SystemStyleObject<Theme>;
65
72
  /**
66
73
  * No host-supplied tile: say what this one will run, so the surface is still
@@ -1,4 +1,4 @@
1
- import { ReportLayout } from '../Package/documentLocation';
1
+ import { RestoredDraft } from './useReportDraft';
2
2
  /**
3
3
  * The builder's page-level controls, as state and actions rather than as a
4
4
  * toolbar, so a host can put each one where its own chrome has room: in its
@@ -20,11 +20,6 @@ export interface BuilderControls {
20
20
  undo: () => void;
21
21
  canRedo: boolean;
22
22
  redo: () => void;
23
- /** The layout and its switch. Absent when the layout cannot be changed here. */
24
- layout?: {
25
- value: ReportLayout;
26
- set: (layout: ReportLayout) => void;
27
- };
28
23
  /** What can be added to the page. A missing entry is not offered. */
29
24
  add: {
30
25
  /** Open the picker of views for a query tile. */
@@ -48,6 +43,19 @@ export interface BuilderControls {
48
43
  draftKeptAt?: number;
49
44
  /** Put the report back to the file's, as one undoable edit, and drop the draft. Absent with nothing to discard. */
50
45
  discard?: () => void;
46
+ /**
47
+ * Edits kept in this browser that the builder found on opening. Not
48
+ * `pending`: they were put back, which is news for the save status (the
49
+ * SDK's says when they are from in its menu) until `dismissRestored`, or
50
+ * the next edit. `pending`: the report changed since they were kept, so
51
+ * they are offered, not applied; the page asks the author to choose, and
52
+ * `restore` and `discard` are the two answers.
53
+ */
54
+ restored?: RestoredDraft;
55
+ /** Apply an offered (stale) draft, replacing the current version. Present while `restored.pending`. */
56
+ restore?: () => void;
57
+ /** The author has seen the restored edits: `restored` goes. Present while `restored` is, and not pending. */
58
+ dismissRestored?: () => void;
51
59
  }
52
60
  /** What a host passes to take over the builder's page-level controls. */
53
61
  export type BuilderControlsHandler = (controls: BuilderControls | undefined) => void;
@@ -76,7 +76,7 @@ export declare function useBuilderSession<D, L extends LastSave & {
76
76
  undoSave: () => Promise<void> | void;
77
77
  canUndoSave: boolean;
78
78
  lastSave: L;
79
- toolbarProps: Pick<BuilderToolbarProps, "onExit" | "onSave" | "dirty" | "canUndo" | "canRedo" | "onUndo" | "onRedo" | "saving" | "saveButton">;
79
+ toolbarProps: Pick<BuilderToolbarProps, "onExit" | "onSave" | "dirty" | "saving" | "canUndo" | "canRedo" | "onUndo" | "onRedo" | "saveButton">;
80
80
  done?: () => void;
81
81
  saving: boolean;
82
82
  save: () => Promise<void> | void;
@@ -3,7 +3,11 @@ import { ReportEditorHandle } from './useReportEditor';
3
3
  export declare const draftStore: {
4
4
  storage: () => Storage;
5
5
  };
6
- /** What the builder found on opening, for the notice that says so. */
6
+ /**
7
+ * What the builder found on opening. A draft put back is said in the save
8
+ * status (its menu names when the edits are from) until the author has seen it
9
+ * or edits again; a stale one is a choice the page asks for.
10
+ */
7
11
  export interface RestoredDraft {
8
12
  savedAt: number;
9
13
  /**
@@ -54,7 +58,7 @@ export declare function useReportDraft(key: string | undefined, editor: ReportEd
54
58
  opened: string): {
55
59
  /** When unsaved edits were last kept in this browser; undefined when none are. */
56
60
  keptAt: number | undefined;
57
- /** The draft the builder opened with, until the notice is dismissed. */
61
+ /** The draft the builder opened with: until it is seen, or edited over; a stale one until the author chooses. */
58
62
  restored: RestoredDraft | undefined;
59
63
  dismissRestored: () => void;
60
64
  /** Put the document back to the file's, as one undoable edit; the draft goes with the edits. */