@bimdata/bcf-components 3.0.0-rc.3 → 3.0.0-rc.4

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.
@@ -46,15 +46,15 @@ const EXTENSION_LIST_FIELDS = Object.freeze({
46
46
  });
47
47
  const DEFAULT_PRIORITY_COLOR = "D8D8D8";
48
48
  const DEFAULT_STATUS_COLOR = "D8D8D8";
49
- const VIEWPOINT_TYPE_FIELD$1 = "originating_system";
50
- const VIEWPOINT_MODELS_FIELD$1 = "authoring_tool_id";
49
+ const VIEWPOINT_TYPE_FIELD = "originating_system";
50
+ const VIEWPOINT_MODELS_FIELD = "authoring_tool_id";
51
51
  const VIEWPOINT_TYPES = Object.freeze({
52
52
  V3D: "ifc3d",
53
53
  V2D: "ifc2d",
54
54
  DWG: "dwg",
55
55
  PLAN: "plan"
56
56
  });
57
- const VIEWPOINT_CONFIG$1 = Object.freeze({
57
+ const VIEWPOINT_CONFIG = Object.freeze({
58
58
  [VIEWPOINT_TYPES.V3D]: {
59
59
  order: 1,
60
60
  window: "3d",
@@ -88,10 +88,10 @@ var config = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
88
88
  EXTENSION_LIST_FIELDS,
89
89
  EXTENSION_TYPES,
90
90
  EXTENSION_WITH_COLOR,
91
- VIEWPOINT_CONFIG: VIEWPOINT_CONFIG$1,
92
- VIEWPOINT_MODELS_FIELD: VIEWPOINT_MODELS_FIELD$1,
91
+ VIEWPOINT_CONFIG,
92
+ VIEWPOINT_MODELS_FIELD,
93
93
  VIEWPOINT_TYPES,
94
- VIEWPOINT_TYPE_FIELD: VIEWPOINT_TYPE_FIELD$1
94
+ VIEWPOINT_TYPE_FIELD
95
95
  }, Symbol.toStringTag, { value: "Module" }));
96
96
  let apiClient = null;
97
97
  function setApiClient(client) {
@@ -2914,13 +2914,13 @@ const __vue2_script$b = {
2914
2914
  const getViewers = inject("getViewers", () => ({}));
2915
2915
  const createViewpoints = async () => {
2916
2916
  Object.entries(getViewers()).forEach(([id, viewers]) => {
2917
- const [type, config2] = Object.entries(VIEWPOINT_CONFIG$1).find(([, c2]) => c2.plugin === id);
2917
+ const [type, config2] = Object.entries(VIEWPOINT_CONFIG).find(([, c2]) => c2.plugin === id);
2918
2918
  viewers.forEach(async (viewer) => {
2919
2919
  const viewpoint = await viewer.getViewpoint();
2920
2920
  const { order } = config2 != null ? config2 : {};
2921
2921
  viewpoint.order = order;
2922
- viewpoint[VIEWPOINT_TYPE_FIELD$1] = type;
2923
- viewpoint[VIEWPOINT_MODELS_FIELD$1] = viewer.getLoadedModels().map((m) => m.id).join(",");
2922
+ viewpoint[VIEWPOINT_TYPE_FIELD] = type;
2923
+ viewpoint[VIEWPOINT_MODELS_FIELD] = viewer.getLoadedModels().map((m) => m.id).join(",");
2924
2924
  emit("add-viewpoint", viewpoint);
2925
2925
  });
2926
2926
  });
@@ -46,15 +46,15 @@ const EXTENSION_LIST_FIELDS = Object.freeze({
46
46
  });
47
47
  const DEFAULT_PRIORITY_COLOR = "D8D8D8";
48
48
  const DEFAULT_STATUS_COLOR = "D8D8D8";
49
- const VIEWPOINT_TYPE_FIELD$1 = "originating_system";
50
- const VIEWPOINT_MODELS_FIELD$1 = "authoring_tool_id";
49
+ const VIEWPOINT_TYPE_FIELD = "originating_system";
50
+ const VIEWPOINT_MODELS_FIELD = "authoring_tool_id";
51
51
  const VIEWPOINT_TYPES = Object.freeze({
52
52
  V3D: "ifc3d",
53
53
  V2D: "ifc2d",
54
54
  DWG: "dwg",
55
55
  PLAN: "plan"
56
56
  });
57
- const VIEWPOINT_CONFIG$1 = Object.freeze({
57
+ const VIEWPOINT_CONFIG = Object.freeze({
58
58
  [VIEWPOINT_TYPES.V3D]: {
59
59
  order: 1,
60
60
  window: "3d",
@@ -88,10 +88,10 @@ var config = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
88
88
  EXTENSION_LIST_FIELDS,
89
89
  EXTENSION_TYPES,
90
90
  EXTENSION_WITH_COLOR,
91
- VIEWPOINT_CONFIG: VIEWPOINT_CONFIG$1,
92
- VIEWPOINT_MODELS_FIELD: VIEWPOINT_MODELS_FIELD$1,
91
+ VIEWPOINT_CONFIG,
92
+ VIEWPOINT_MODELS_FIELD,
93
93
  VIEWPOINT_TYPES,
94
- VIEWPOINT_TYPE_FIELD: VIEWPOINT_TYPE_FIELD$1
94
+ VIEWPOINT_TYPE_FIELD
95
95
  }, Symbol.toStringTag, { value: "Module" }));
96
96
  let apiClient = null;
97
97
  function setApiClient(client) {
@@ -2979,13 +2979,13 @@ const _sfc_main$b = {
2979
2979
  const getViewers = inject("getViewers", () => ({}));
2980
2980
  const createViewpoints = async () => {
2981
2981
  Object.entries(getViewers()).forEach(([id, viewers]) => {
2982
- const [type, config2] = Object.entries(VIEWPOINT_CONFIG$1).find(([, c2]) => c2.plugin === id);
2982
+ const [type, config2] = Object.entries(VIEWPOINT_CONFIG).find(([, c2]) => c2.plugin === id);
2983
2983
  viewers.forEach(async (viewer) => {
2984
2984
  const viewpoint = await viewer.getViewpoint();
2985
2985
  const { order } = config2 != null ? config2 : {};
2986
2986
  viewpoint.order = order;
2987
- viewpoint[VIEWPOINT_TYPE_FIELD$1] = type;
2988
- viewpoint[VIEWPOINT_MODELS_FIELD$1] = viewer.getLoadedModels().map((m2) => m2.id).join(",");
2987
+ viewpoint[VIEWPOINT_TYPE_FIELD] = type;
2988
+ viewpoint[VIEWPOINT_MODELS_FIELD] = viewer.getLoadedModels().map((m2) => m2.id).join(",");
2989
2989
  emit("add-viewpoint", viewpoint);
2990
2990
  });
2991
2991
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimdata/bcf-components",
3
- "version": "3.0.0-rc.3",
3
+ "version": "3.0.0-rc.4",
4
4
  "files": [
5
5
  "dist",
6
6
  "vue2-plugin.js",