From 00d896a31b4053e1b9b2cf4f76f96f5c3d1c75c7 Mon Sep 17 00:00:00 2001 From: John Hauck Date: Wed, 16 Oct 2024 07:49:54 -0600 Subject: [PATCH] set appLayout in share --- src/components.d.ts | 16 +++++++ .../crowdsource-manager.tsx | 2 + src/components/layer-table/layer-table.tsx | 17 ++++++- src/components/layer-table/readme.md | 45 ++++++++++--------- src/components/map-card/map-card.tsx | 24 +++++++++- src/components/map-card/readme.md | 1 + 6 files changed, 80 insertions(+), 25 deletions(-) diff --git a/src/components.d.ts b/src/components.d.ts index 5896d8524..aa50e748a 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -795,6 +795,10 @@ export namespace Components { "showNextIcon"?: boolean; } interface LayerTable { + /** + * AppLayout: the current app layout + */ + "appLayout": AppLayout; /** * Closes the filter */ @@ -899,6 +903,10 @@ export namespace Components { interface LocationFlowItem { } interface MapCard { + /** + * AppLayout: the current app layout + */ + "appLayout": AppLayout; /** * Array of objects containing proxy information for premium platform services. */ @@ -3488,6 +3496,10 @@ declare namespace LocalJSX { "showNextIcon"?: boolean; } interface LayerTable { + /** + * AppLayout: the current app layout + */ + "appLayout"?: AppLayout; /** * boolean: create filter modal optional (default true) boolean value to create filter modal in layer table */ @@ -3588,6 +3600,10 @@ declare namespace LocalJSX { interface LocationFlowItem { } interface MapCard { + /** + * AppLayout: the current app layout + */ + "appLayout"?: AppLayout; /** * Array of objects containing proxy information for premium platform services. */ diff --git a/src/components/crowdsource-manager/crowdsource-manager.tsx b/src/components/crowdsource-manager/crowdsource-manager.tsx index b4d3aa2c3..5ac238f01 100644 --- a/src/components/crowdsource-manager/crowdsource-manager.tsx +++ b/src/components/crowdsource-manager/crowdsource-manager.tsx @@ -831,6 +831,7 @@ export class CrowdsourceManager { return (