@archilogic/extension-sdk 0.17.3 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @archilogic/extension-sdk
2
2
 
3
+ ## 0.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4c40dff: feat: `setPlanConfig` takes `showFloorPlan` to show or hide the floor plan underlay (image or DXF) through the host's floor plan toggle; `null` puts back the user's setting from when the extension started. Older hosts ignore it.
8
+
3
9
  ## 0.17.3
4
10
 
5
11
  ### Patch Changes
package/dist/actions.d.ts CHANGED
@@ -1359,6 +1359,7 @@ declare type HostApi = {
1359
1359
  setPlanConfig: (config: {
1360
1360
  theme?: FloorPlanTheme;
1361
1361
  hideElements?: HideableElement[];
1362
+ showFloorPlan?: boolean | null;
1362
1363
  }) => Promise<boolean>;
1363
1364
  addPlanLayer: (args: {
1364
1365
  id?: string;
package/dist/actions.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/action-runner.ts
1
+ // src/action-runner.ts
2
2
  var e = (e) => {
3
3
  if (!e || typeof e != "object") return !1;
4
4
  let { code: t, message: n } = e;
@@ -70,5 +70,4 @@ var e = (e) => {
70
70
  }
71
71
  };
72
72
  };
73
- //#endregion
74
73
  export { t as createActionRunner };
package/dist/index.d.ts CHANGED
@@ -1266,6 +1266,7 @@ export declare type HostApi = {
1266
1266
  setPlanConfig: (config: {
1267
1267
  theme?: FloorPlanTheme;
1268
1268
  hideElements?: HideableElement[];
1269
+ showFloorPlan?: boolean | null;
1269
1270
  }) => Promise<boolean>;
1270
1271
  addPlanLayer: (args: {
1271
1272
  id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@archilogic/extension-sdk",
3
3
  "description": "",
4
- "version": "0.17.3",
4
+ "version": "0.18.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },