@bimdata/bcf-components 2.0.0-rc.14 → 2.0.0-rc.15

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,6 +46,8 @@ 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 = "originating_system";
50
+ const VIEWPOINT_MODELS_FIELD = "authoring_tool_id";
49
51
  const VIEWPOINT_TYPES = Object.freeze({
50
52
  V3D: "ifc3d",
51
53
  V2D: "ifc2d",
@@ -55,28 +57,24 @@ const VIEWPOINT_TYPES = Object.freeze({
55
57
  const VIEWPOINT_CONFIG = Object.freeze({
56
58
  [VIEWPOINT_TYPES.V3D]: {
57
59
  order: 1,
58
- category: "3d",
59
60
  window: "3d",
60
61
  plugin: "viewer3d",
61
62
  icon: "fileIfcPolychrome"
62
63
  },
63
64
  [VIEWPOINT_TYPES.V2D]: {
64
65
  order: 2,
65
- category: "2d",
66
66
  window: "2d",
67
67
  plugin: "viewer2d",
68
68
  icon: "fileIfcPolychrome"
69
69
  },
70
70
  [VIEWPOINT_TYPES.DWG]: {
71
71
  order: 3,
72
- category: "2d",
73
72
  window: "dwg",
74
73
  plugin: "dwg",
75
74
  icon: "fileDwgPolychrome"
76
75
  },
77
76
  [VIEWPOINT_TYPES.PLAN]: {
78
77
  order: 4,
79
- category: "2d",
80
78
  window: "plan",
81
79
  plugin: "plan",
82
80
  icon: "filePlanPolychrome"
@@ -91,7 +89,9 @@ var config = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
91
89
  EXTENSION_TYPES,
92
90
  EXTENSION_WITH_COLOR,
93
91
  VIEWPOINT_CONFIG,
94
- VIEWPOINT_TYPES
92
+ VIEWPOINT_MODELS_FIELD,
93
+ VIEWPOINT_TYPES,
94
+ VIEWPOINT_TYPE_FIELD
95
95
  }, Symbol.toStringTag, { value: "Module" }));
96
96
  let apiClient = null;
97
97
  function setApiClient(client) {
@@ -254,6 +254,16 @@ function getStatusColor(topic, detailedExtensions) {
254
254
  const statusDetail = detailedExtensions.topic_statuses.find((s2) => s2.topic_status === topic.topic_status);
255
255
  return (statusDetail == null ? void 0 : statusDetail.color) || DEFAULT_STATUS_COLOR;
256
256
  }
257
+ function getViewpointType(viewpoint) {
258
+ return viewpoint[VIEWPOINT_TYPE_FIELD];
259
+ }
260
+ function getViewpointModels(viewpoint) {
261
+ var _a, _b;
262
+ return (_b = (_a = viewpoint[VIEWPOINT_MODELS_FIELD]) == null ? void 0 : _a.split(",").map(Number)) != null ? _b : [];
263
+ }
264
+ function getViewpointConfig(viewpoint) {
265
+ return VIEWPOINT_CONFIG[getViewpointType(viewpoint)];
266
+ }
257
267
  var r$d = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), o$d = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: false }, outline: { type: Boolean, default: false }, ghost: { type: Boolean, default: false }, ripple: { type: Boolean, default: false }, radius: { type: Boolean, default: false }, square: { type: Boolean, default: false }, rounded: { type: Boolean, default: false }, icon: { type: Boolean, default: false }, color: { type: String, default: "default", validator: (o2) => r$d.includes(o2) } }, emits: ["click"], computed: { classes() {
258
268
  return { "bimdata-btn__icon": this.icon, "bimdata-btn__fill": this.fill, "bimdata-btn__outline": this.outline, "bimdata-btn__ghost": this.ghost, "bimdata-btn__ripple": this.ripple, "bimdata-btn__radius": this.radius, "bimdata-btn__square": this.square, "bimdata-btn__rounded": this.rounded, ["bimdata-btn__fill--" + this.color]: this.fill && this.color, ["bimdata-btn__outline--" + this.color]: this.outline && this.color, ["bimdata-btn__ghost--" + this.color]: this.ghost && this.color, ["bimdata-btn__ripple--" + this.color]: this.ripple && this.color };
259
269
  }, style() {
@@ -2899,10 +2909,10 @@ const __vue2_script$b = {
2899
2909
  const [type, config2] = Object.entries(VIEWPOINT_CONFIG).find(([, c2]) => c2.plugin === id);
2900
2910
  viewers.forEach(async (viewer) => {
2901
2911
  const viewpoint = await viewer.getViewpoint();
2902
- const { order, category } = config2 != null ? config2 : {};
2912
+ const { order } = config2 != null ? config2 : {};
2903
2913
  viewpoint.order = order;
2904
- viewpoint.originating_system = category;
2905
- viewpoint.authoring_tool_id = type;
2914
+ viewpoint[VIEWPOINT_TYPE_FIELD] = type;
2915
+ viewpoint[VIEWPOINT_MODELS_FIELD] = viewer.getLoadedModels().map((m) => m.id).join(",");
2906
2916
  emit("add-viewpoint", viewpoint);
2907
2917
  });
2908
2918
  });
@@ -2917,7 +2927,7 @@ const __vue2_script$b = {
2917
2927
  }
2918
2928
  };
2919
2929
  const __cssModules$b = {};
2920
- var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "08b68b6b", null, null);
2930
+ var __component__$b = /* @__PURE__ */ normalizeComponent(__vue2_script$b, render$b, staticRenderFns$b, false, __vue2_injectStyles$b, "0bd88982", null, null);
2921
2931
  function __vue2_injectStyles$b(context) {
2922
2932
  for (let o2 in __cssModules$b) {
2923
2933
  this[o2] = __cssModules$b[o2];
@@ -3997,7 +4007,7 @@ const __vue2_script$6 = {
3997
4007
  const viewpoints = computed(() => props.bcfTopic.viewpoints.filter((viewpoint) => viewpoint.snapshot).map((viewpoint) => {
3998
4008
  var _a;
3999
4009
  return __spreadProps(__spreadValues({}, viewpoint), {
4000
- icon: (_a = VIEWPOINT_CONFIG[viewpoint.authoring_tool_id]) == null ? void 0 : _a.icon
4010
+ icon: (_a = getViewpointConfig(viewpoint)) == null ? void 0 : _a.icon
4001
4011
  });
4002
4012
  }));
4003
4013
  const statusColor = computed(() => getStatusColor(props.bcfTopic, props.detailedExtensions));
@@ -4009,7 +4019,7 @@ const __vue2_script$6 = {
4009
4019
  }
4010
4020
  };
4011
4021
  const __cssModules$6 = {};
4012
- var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "cac84fce", null, null);
4022
+ var __component__$6 = /* @__PURE__ */ normalizeComponent(__vue2_script$6, render$6, staticRenderFns$6, false, __vue2_injectStyles$6, "6ca0f1b6", null, null);
4013
4023
  function __vue2_injectStyles$6(context) {
4014
4024
  for (let o2 in __cssModules$6) {
4015
4025
  this[o2] = __cssModules$6[o2];
@@ -4574,4 +4584,4 @@ const components = {
4574
4584
  BcfTopicOverview,
4575
4585
  BcfTopicsTable
4576
4586
  };
4577
- export { BcfFilters, BcfSettings, BcfStatistics, BcfTopicCard, BcfTopicCreationCard, BcfTopicForm, BcfTopicOverview, BcfTopicsTable, components, config, getPriorityColor, getStatusColor, setApiClient, useBcfFilter, useBcfSearch, useBcfSort };
4587
+ export { BcfFilters, BcfSettings, BcfStatistics, BcfTopicCard, BcfTopicCreationCard, BcfTopicForm, BcfTopicOverview, BcfTopicsTable, components, config, getPriorityColor, getStatusColor, getViewpointConfig, getViewpointModels, getViewpointType, setApiClient, useBcfFilter, useBcfSearch, useBcfSort };
@@ -1 +1 @@
1
- .bcf-filters__btn-toggle[data-v-41d6e8d0]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-41d6e8d0]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-41d6e8d0]{position:absolute;z-index:1;top:44px;left:0;width:100%;min-width:252px;max-width:296px;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background-color:var(--color-white);display:flex;flex-direction:column;gap:calc(var(--spacing-unit) * 2)}.bcf-filters__container__header[data-v-41d6e8d0]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-41d6e8d0]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-41d6e8d0]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-41d6e8d0]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-41d6e8d0]{display:flex;justify-content:center}.setting-card-item[data-v-27af5073]{position:relative;height:37px;background-color:var(--color-silver-light);display:flex;justify-content:space-between;align-items:center;margin-bottom:calc(var(--spacing-unit) / 2);padding:0 var(--spacing-unit)}.setting-card-item__actions[data-v-27af5073]{display:flex;align-items:center}.setting-card-item__color[data-v-27af5073]{display:block;width:19px;height:19px;margin-left:var(--spacing-unit);border-radius:3px;border:1px solid var(--color-silver);cursor:pointer}.setting-card-item__color-selector[data-v-27af5073]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-27af5073]{position:absolute;right:1%;width:98%;height:100%;padding:0 var(--spacing-unit);gap:var(--spacing-unit);display:flex;justify-content:space-between;align-items:center;box-shadow:var(--box-shadow);background-color:var(--color-white)}.setting-card[data-v-6e8123c6]{margin:var(--spacing-unit) 0;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background:var(--color-white)}.setting-card__header[data-v-6e8123c6]{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.setting-card__header__text[data-v-6e8123c6]{font-weight:700}.setting-card__header__icons[data-v-6e8123c6]{display:flex;align-items:center;gap:calc(var(--spacing-unit) * 2)}.setting-card__header__icons .count[data-v-6e8123c6]{min-width:21px;height:21px;padding:0 4px;display:flex;justify-content:center;align-items:center;border-radius:11px;font-size:11px;font-weight:700;background-color:var(--color-primary);color:var(--color-white)}.setting-card__subheader[data-v-6e8123c6]{display:flex;justify-content:space-between;align-items:center;margin-top:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.setting-card__add-form[data-v-6e8123c6]{margin-bottom:var(--spacing-unit)}.setting-card__add-form .actions[data-v-6e8123c6]{display:flex;justify-content:flex-end;align-items:center;gap:calc(var(--spacing-unit) / 2)}.bcf-settings[data-v-2687ba4b]{height:100%;padding:var(--spacing-unit)}.bcf-settings__header[data-v-2687ba4b]{height:60px;display:flex;justify-content:space-between;align-items:center}.bcf-settings__content[data-v-2687ba4b]{height:100%}.bcf-settings__content__text[data-v-2687ba4b]{padding:calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);text-align:center;color:var(--color-granite)}.bcf-statistics[data-v-08cce8e2]{width:100%}.bcf-statistics__content[data-v-08cce8e2]{position:relative;display:flex}.bcf-statistics__content__chart[data-v-08cce8e2]{flex:1}.bcf-statistics__content__legend[data-v-08cce8e2]{flex:1;height:100%;display:flex;flex-direction:column;gap:var(--spacing-unit);margin-left:var(--spacing-unit);font-size:14px}.bcf-statistics__content__legend__title[data-v-08cce8e2]{font-weight:700}.bcf-statistics__content__legend__item[data-v-08cce8e2]{display:flex;align-items:center;line-height:24px}.bcf-statistics__content__legend__item__mark[data-v-08cce8e2]{width:10px;height:10px;border:3px solid;border-radius:50px}.bcf-statistics__content__legend__item__percent[data-v-08cce8e2]{margin:0 calc(var(--spacing-unit) / 2);font-weight:700}.bcf-statistics__content__legend__item__text .total[data-v-08cce8e2]{font-size:13px}.bcf-statistics__content__legend[data-v-08cce8e2] .bimdata-paginated-list ul:first-child{height:144px}.bcf-topic-card[data-v-9ee26932]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-9ee26932]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-9ee26932]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-9ee26932]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-9ee26932]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-9ee26932]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-9ee26932]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-9ee26932]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-9ee26932]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-9ee26932]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-9ee26932]{min-height:98px;margin-top:3px;box-shadow:var(--box-shadow);font-size:12px;background-color:var(--color-white);color:var(--color-text)}.bcf-topic-creation-card[data-v-b5e56a58]{width:336px;height:307px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 2);box-shadow:var(--box-shadow);background-color:var(--color-white)}.bcf-topic-creation-card__text[data-v-b5e56a58]{font-size:14px}.bcf-topic-images[data-v-46dea43b]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-46dea43b]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-46dea43b]{position:relative}.bcf-topic-images__images .image-preview img[data-v-46dea43b]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-46dea43b]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-46dea43b]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-46dea43b]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-46dea43b]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-46dea43b]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-46dea43b]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-46dea43b]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-46dea43b]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-46dea43b]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 3 / 2);border:2px dashed var(--color-silver)}.bcf-topic-images__upload .icon[data-v-46dea43b]{width:52px;height:52px;display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light);border-radius:50%}.bcf-topic-snapshots__snapshots[data-v-08b68b6b]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-08b68b6b]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-08b68b6b]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-08b68b6b]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-08b68b6b]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-08b68b6b]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-08b68b6b]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:2px dashed var(--color-silver);cursor:pointer}.bcf-topic-form[data-v-23e45e21]{height:100%}.bcf-topic-form__content[data-v-23e45e21]{height:calc(100% - 64px - var(--spacing-unit));padding:0 calc(var(--spacing-unit) / 2);display:flex;flex-direction:column;gap:var(--spacing-unit);overflow:auto}.bcf-topic-form__content__head[data-v-23e45e21]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-23e45e21],.bcf-topic-form__content__head__date[data-v-23e45e21]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light)}.bcf-topic-form__content__head__index[data-v-23e45e21]{min-width:50px}.bcf-topic-form__content__head__date[data-v-23e45e21]{min-width:100px}.bcf-topic-form__content__actions[data-v-23e45e21]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-23e45e21]{flex-grow:1}.bcf-topic-form__content__actions .count-objects[data-v-23e45e21],.bcf-topic-form__content__actions .count-annotations[data-v-23e45e21]{min-width:16px;height:16px;margin-left:var(--spacing-unit);padding:0 4px;border-radius:8px;font-size:10px;display:flex;justify-content:center;align-items:center}.bcf-topic-form__content__actions .count-objects[data-v-23e45e21]{background-color:var(--color-primary);color:var(--color-white)}.bcf-topic-form__content__actions .count-annotations[data-v-23e45e21]{background-color:var(--color-white);color:var(--color-primary)}.bcf-topic-form__content__body .bimdata-select[data-v-23e45e21]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-23e45e21] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-23e45e21] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-23e45e21]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-23e45e21]{position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;background-color:#2f374ae6;display:flex;justify-content:center;align-items:center}.user-avatar[data-v-e5e255f0]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-e5e255f0]{width:100%;height:100%}.user-avatar--primary[data-v-e5e255f0]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-e5e255f0]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-e5e255f0]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-47f184d0]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-47f184d0]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-47f184d0]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-47f184d0]{position:absolute;top:0;right:2%;width:96%;height:40px;display:flex;justify-content:space-between;align-items:center;background-color:var(--color-white);box-shadow:var(--box-shadow)}.topic-comment__content[data-v-47f184d0] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-47f184d0] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-47f184d0] .bimdata-textarea:not(.editing) .bar{display:none}.bcf-topic-comments p[data-v-561aa0f8]{font-weight:700}.bcf-topic-comments[data-v-561aa0f8] .bimdata-textarea{width:100%}.bcf-topic-viewpoints[data-v-cac84fce]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-viewpoints.empty[data-v-cac84fce]{display:flex;justify-content:center;align-items:center}.bcf-topic-viewpoints .status-badge[data-v-cac84fce]{position:absolute;z-index:1;top:calc(var(--spacing-unit) / 2);left:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-cac84fce] .bimdata-carousel{height:100%}.bcf-topic-viewpoints[data-v-cac84fce] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-viewpoints[data-v-cac84fce] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-viewpoints[data-v-cac84fce] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-cac84fce] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .snapshot-preview[data-v-cac84fce]{position:relative;width:100%;height:100%}.bcf-topic-viewpoints .snapshot-preview img[data-v-cac84fce]{width:100%;height:100%;object-fit:cover}.bcf-topic-viewpoints .snapshot-preview .icon[data-v-cac84fce]{position:absolute;z-index:1;bottom:calc(var(--spacing-unit) / 2);right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .default-image[data-v-cac84fce]{width:170px;height:170px;padding:12px}.bcf-topic-overview[data-v-d9c4613c]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-d9c4613c]{padding:0 calc(var(--spacing-unit) / 2);display:flex;align-items:center;gap:calc(var(--spacing-unit) / 3)}.bcf-topic-overview__header__title[data-v-d9c4613c]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-d9c4613c]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-d9c4613c]{height:calc(100% - 32px);padding:var(--spacing-unit) calc(var(--spacing-unit) / 2);overflow:auto;display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-overview__content__head[data-v-d9c4613c]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-d9c4613c],.bcf-topic-overview__content__head__date[data-v-d9c4613c]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-d9c4613c]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-d9c4613c]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__card[data-v-d9c4613c]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-d9c4613c]{display:flex;align-items:center;gap:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.bcf-topic-overview__content__card .line .label[data-v-d9c4613c]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-d9c4613c]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-d9c4613c]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-490491b3]{margin:auto}.bcf-topic-index-cell[data-v-73373bfa]{position:relative;display:flex;justify-content:center;align-items:center}.bcf-topic-index-cell .left-stripe[data-v-73373bfa]{position:absolute;left:calc(0px - var(--spacing-unit));width:10px;height:42px}.bcf-topic-priority-cell[data-v-7be782b8]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;font-weight:700}.bcf-topic-status-cell[data-v-a51b4af6]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
1
+ .bcf-filters__btn-toggle[data-v-41d6e8d0]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-41d6e8d0]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-41d6e8d0]{position:absolute;z-index:1;top:44px;left:0;width:100%;min-width:252px;max-width:296px;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background-color:var(--color-white);display:flex;flex-direction:column;gap:calc(var(--spacing-unit) * 2)}.bcf-filters__container__header[data-v-41d6e8d0]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-41d6e8d0]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-41d6e8d0]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-41d6e8d0]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-41d6e8d0]{display:flex;justify-content:center}.setting-card-item[data-v-27af5073]{position:relative;height:37px;background-color:var(--color-silver-light);display:flex;justify-content:space-between;align-items:center;margin-bottom:calc(var(--spacing-unit) / 2);padding:0 var(--spacing-unit)}.setting-card-item__actions[data-v-27af5073]{display:flex;align-items:center}.setting-card-item__color[data-v-27af5073]{display:block;width:19px;height:19px;margin-left:var(--spacing-unit);border-radius:3px;border:1px solid var(--color-silver);cursor:pointer}.setting-card-item__color-selector[data-v-27af5073]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-27af5073]{position:absolute;right:1%;width:98%;height:100%;padding:0 var(--spacing-unit);gap:var(--spacing-unit);display:flex;justify-content:space-between;align-items:center;box-shadow:var(--box-shadow);background-color:var(--color-white)}.setting-card[data-v-6e8123c6]{margin:var(--spacing-unit) 0;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background:var(--color-white)}.setting-card__header[data-v-6e8123c6]{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.setting-card__header__text[data-v-6e8123c6]{font-weight:700}.setting-card__header__icons[data-v-6e8123c6]{display:flex;align-items:center;gap:calc(var(--spacing-unit) * 2)}.setting-card__header__icons .count[data-v-6e8123c6]{min-width:21px;height:21px;padding:0 4px;display:flex;justify-content:center;align-items:center;border-radius:11px;font-size:11px;font-weight:700;background-color:var(--color-primary);color:var(--color-white)}.setting-card__subheader[data-v-6e8123c6]{display:flex;justify-content:space-between;align-items:center;margin-top:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.setting-card__add-form[data-v-6e8123c6]{margin-bottom:var(--spacing-unit)}.setting-card__add-form .actions[data-v-6e8123c6]{display:flex;justify-content:flex-end;align-items:center;gap:calc(var(--spacing-unit) / 2)}.bcf-settings[data-v-2687ba4b]{height:100%;padding:var(--spacing-unit)}.bcf-settings__header[data-v-2687ba4b]{height:60px;display:flex;justify-content:space-between;align-items:center}.bcf-settings__content[data-v-2687ba4b]{height:100%}.bcf-settings__content__text[data-v-2687ba4b]{padding:calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);text-align:center;color:var(--color-granite)}.bcf-statistics[data-v-08cce8e2]{width:100%}.bcf-statistics__content[data-v-08cce8e2]{position:relative;display:flex}.bcf-statistics__content__chart[data-v-08cce8e2]{flex:1}.bcf-statistics__content__legend[data-v-08cce8e2]{flex:1;height:100%;display:flex;flex-direction:column;gap:var(--spacing-unit);margin-left:var(--spacing-unit);font-size:14px}.bcf-statistics__content__legend__title[data-v-08cce8e2]{font-weight:700}.bcf-statistics__content__legend__item[data-v-08cce8e2]{display:flex;align-items:center;line-height:24px}.bcf-statistics__content__legend__item__mark[data-v-08cce8e2]{width:10px;height:10px;border:3px solid;border-radius:50px}.bcf-statistics__content__legend__item__percent[data-v-08cce8e2]{margin:0 calc(var(--spacing-unit) / 2);font-weight:700}.bcf-statistics__content__legend__item__text .total[data-v-08cce8e2]{font-size:13px}.bcf-statistics__content__legend[data-v-08cce8e2] .bimdata-paginated-list ul:first-child{height:144px}.bcf-topic-card[data-v-9ee26932]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-9ee26932]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-9ee26932]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-9ee26932]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-9ee26932]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-9ee26932]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-9ee26932]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-9ee26932]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-9ee26932]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-9ee26932]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-9ee26932]{min-height:98px;margin-top:3px;box-shadow:var(--box-shadow);font-size:12px;background-color:var(--color-white);color:var(--color-text)}.bcf-topic-creation-card[data-v-b5e56a58]{width:336px;height:307px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 2);box-shadow:var(--box-shadow);background-color:var(--color-white)}.bcf-topic-creation-card__text[data-v-b5e56a58]{font-size:14px}.bcf-topic-images[data-v-46dea43b]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-46dea43b]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-46dea43b]{position:relative}.bcf-topic-images__images .image-preview img[data-v-46dea43b]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-46dea43b]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-46dea43b]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-46dea43b]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-46dea43b]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-46dea43b]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-46dea43b]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-46dea43b]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-46dea43b]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-46dea43b]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 3 / 2);border:2px dashed var(--color-silver)}.bcf-topic-images__upload .icon[data-v-46dea43b]{width:52px;height:52px;display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light);border-radius:50%}.bcf-topic-snapshots__snapshots[data-v-0bd88982]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-0bd88982]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-0bd88982]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-0bd88982]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-0bd88982]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-0bd88982]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-0bd88982]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:2px dashed var(--color-silver);cursor:pointer}.bcf-topic-form[data-v-23e45e21]{height:100%}.bcf-topic-form__content[data-v-23e45e21]{height:calc(100% - 64px - var(--spacing-unit));padding:0 calc(var(--spacing-unit) / 2);display:flex;flex-direction:column;gap:var(--spacing-unit);overflow:auto}.bcf-topic-form__content__head[data-v-23e45e21]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-23e45e21],.bcf-topic-form__content__head__date[data-v-23e45e21]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light)}.bcf-topic-form__content__head__index[data-v-23e45e21]{min-width:50px}.bcf-topic-form__content__head__date[data-v-23e45e21]{min-width:100px}.bcf-topic-form__content__actions[data-v-23e45e21]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-23e45e21]{flex-grow:1}.bcf-topic-form__content__actions .count-objects[data-v-23e45e21],.bcf-topic-form__content__actions .count-annotations[data-v-23e45e21]{min-width:16px;height:16px;margin-left:var(--spacing-unit);padding:0 4px;border-radius:8px;font-size:10px;display:flex;justify-content:center;align-items:center}.bcf-topic-form__content__actions .count-objects[data-v-23e45e21]{background-color:var(--color-primary);color:var(--color-white)}.bcf-topic-form__content__actions .count-annotations[data-v-23e45e21]{background-color:var(--color-white);color:var(--color-primary)}.bcf-topic-form__content__body .bimdata-select[data-v-23e45e21]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-23e45e21] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-23e45e21] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-23e45e21]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-23e45e21]{position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;background-color:#2f374ae6;display:flex;justify-content:center;align-items:center}.user-avatar[data-v-e5e255f0]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-e5e255f0]{width:100%;height:100%}.user-avatar--primary[data-v-e5e255f0]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-e5e255f0]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-e5e255f0]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-47f184d0]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-47f184d0]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-47f184d0]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-47f184d0]{position:absolute;top:0;right:2%;width:96%;height:40px;display:flex;justify-content:space-between;align-items:center;background-color:var(--color-white);box-shadow:var(--box-shadow)}.topic-comment__content[data-v-47f184d0] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-47f184d0] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-47f184d0] .bimdata-textarea:not(.editing) .bar{display:none}.bcf-topic-comments p[data-v-561aa0f8]{font-weight:700}.bcf-topic-comments[data-v-561aa0f8] .bimdata-textarea{width:100%}.bcf-topic-viewpoints[data-v-6ca0f1b6]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-viewpoints.empty[data-v-6ca0f1b6]{display:flex;justify-content:center;align-items:center}.bcf-topic-viewpoints .status-badge[data-v-6ca0f1b6]{position:absolute;z-index:1;top:calc(var(--spacing-unit) / 2);left:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-6ca0f1b6] .bimdata-carousel{height:100%}.bcf-topic-viewpoints[data-v-6ca0f1b6] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-viewpoints[data-v-6ca0f1b6] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-viewpoints[data-v-6ca0f1b6] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-6ca0f1b6] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .snapshot-preview[data-v-6ca0f1b6]{position:relative;width:100%;height:100%}.bcf-topic-viewpoints .snapshot-preview img[data-v-6ca0f1b6]{width:100%;height:100%;object-fit:cover}.bcf-topic-viewpoints .snapshot-preview .icon[data-v-6ca0f1b6]{position:absolute;z-index:1;bottom:calc(var(--spacing-unit) / 2);right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .default-image[data-v-6ca0f1b6]{width:170px;height:170px;padding:12px}.bcf-topic-overview[data-v-d9c4613c]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-d9c4613c]{padding:0 calc(var(--spacing-unit) / 2);display:flex;align-items:center;gap:calc(var(--spacing-unit) / 3)}.bcf-topic-overview__header__title[data-v-d9c4613c]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-d9c4613c]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-d9c4613c]{height:calc(100% - 32px);padding:var(--spacing-unit) calc(var(--spacing-unit) / 2);overflow:auto;display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-overview__content__head[data-v-d9c4613c]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-d9c4613c],.bcf-topic-overview__content__head__date[data-v-d9c4613c]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-d9c4613c]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-d9c4613c]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__card[data-v-d9c4613c]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-d9c4613c]{display:flex;align-items:center;gap:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.bcf-topic-overview__content__card .line .label[data-v-d9c4613c]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-d9c4613c]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-d9c4613c]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-490491b3]{margin:auto}.bcf-topic-index-cell[data-v-73373bfa]{position:relative;display:flex;justify-content:center;align-items:center}.bcf-topic-index-cell .left-stripe[data-v-73373bfa]{position:absolute;left:calc(0px - var(--spacing-unit));width:10px;height:42px}.bcf-topic-priority-cell[data-v-7be782b8]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;font-weight:700}.bcf-topic-status-cell[data-v-a51b4af6]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
@@ -46,6 +46,8 @@ 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 = "originating_system";
50
+ const VIEWPOINT_MODELS_FIELD = "authoring_tool_id";
49
51
  const VIEWPOINT_TYPES = Object.freeze({
50
52
  V3D: "ifc3d",
51
53
  V2D: "ifc2d",
@@ -55,28 +57,24 @@ const VIEWPOINT_TYPES = Object.freeze({
55
57
  const VIEWPOINT_CONFIG = Object.freeze({
56
58
  [VIEWPOINT_TYPES.V3D]: {
57
59
  order: 1,
58
- category: "3d",
59
60
  window: "3d",
60
61
  plugin: "viewer3d",
61
62
  icon: "fileIfcPolychrome"
62
63
  },
63
64
  [VIEWPOINT_TYPES.V2D]: {
64
65
  order: 2,
65
- category: "2d",
66
66
  window: "2d",
67
67
  plugin: "viewer2d",
68
68
  icon: "fileIfcPolychrome"
69
69
  },
70
70
  [VIEWPOINT_TYPES.DWG]: {
71
71
  order: 3,
72
- category: "2d",
73
72
  window: "dwg",
74
73
  plugin: "dwg",
75
74
  icon: "fileDwgPolychrome"
76
75
  },
77
76
  [VIEWPOINT_TYPES.PLAN]: {
78
77
  order: 4,
79
- category: "2d",
80
78
  window: "plan",
81
79
  plugin: "plan",
82
80
  icon: "filePlanPolychrome"
@@ -91,7 +89,9 @@ var config = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
91
89
  EXTENSION_TYPES,
92
90
  EXTENSION_WITH_COLOR,
93
91
  VIEWPOINT_CONFIG,
94
- VIEWPOINT_TYPES
92
+ VIEWPOINT_MODELS_FIELD,
93
+ VIEWPOINT_TYPES,
94
+ VIEWPOINT_TYPE_FIELD
95
95
  }, Symbol.toStringTag, { value: "Module" }));
96
96
  let apiClient = null;
97
97
  function setApiClient(client) {
@@ -254,6 +254,16 @@ function getStatusColor(topic, detailedExtensions) {
254
254
  const statusDetail = detailedExtensions.topic_statuses.find((s2) => s2.topic_status === topic.topic_status);
255
255
  return (statusDetail == null ? void 0 : statusDetail.color) || DEFAULT_STATUS_COLOR;
256
256
  }
257
+ function getViewpointType(viewpoint) {
258
+ return viewpoint[VIEWPOINT_TYPE_FIELD];
259
+ }
260
+ function getViewpointModels(viewpoint) {
261
+ var _a, _b;
262
+ return (_b = (_a = viewpoint[VIEWPOINT_MODELS_FIELD]) == null ? void 0 : _a.split(",").map(Number)) != null ? _b : [];
263
+ }
264
+ function getViewpointConfig(viewpoint) {
265
+ return VIEWPOINT_CONFIG[getViewpointType(viewpoint)];
266
+ }
257
267
  var i$1 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), l = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: false }, outline: { type: Boolean, default: false }, ghost: { type: Boolean, default: false }, ripple: { type: Boolean, default: false }, radius: { type: Boolean, default: false }, square: { type: Boolean, default: false }, rounded: { type: Boolean, default: false }, icon: { type: Boolean, default: false }, color: { type: String, default: "default", validator: (n) => i$1.includes(n) } }, emits: ["click"], computed: { classes() {
258
268
  return { "bimdata-btn__icon": this.icon, "bimdata-btn__fill": this.fill, "bimdata-btn__outline": this.outline, "bimdata-btn__ghost": this.ghost, "bimdata-btn__ripple": this.ripple, "bimdata-btn__radius": this.radius, "bimdata-btn__square": this.square, "bimdata-btn__rounded": this.rounded, ["bimdata-btn__fill--" + this.color]: this.fill && this.color, ["bimdata-btn__outline--" + this.color]: this.outline && this.color, ["bimdata-btn__ghost--" + this.color]: this.ghost && this.color, ["bimdata-btn__ripple--" + this.color]: this.ripple && this.color };
259
269
  }, style() {
@@ -2947,10 +2957,10 @@ const _sfc_main$b = {
2947
2957
  const [type, config2] = Object.entries(VIEWPOINT_CONFIG).find(([, c2]) => c2.plugin === id);
2948
2958
  viewers.forEach(async (viewer) => {
2949
2959
  const viewpoint = await viewer.getViewpoint();
2950
- const { order, category } = config2 != null ? config2 : {};
2960
+ const { order } = config2 != null ? config2 : {};
2951
2961
  viewpoint.order = order;
2952
- viewpoint.originating_system = category;
2953
- viewpoint.authoring_tool_id = type;
2962
+ viewpoint[VIEWPOINT_TYPE_FIELD] = type;
2963
+ viewpoint[VIEWPOINT_MODELS_FIELD] = viewer.getLoadedModels().map((m2) => m2.id).join(",");
2954
2964
  emit("add-viewpoint", viewpoint);
2955
2965
  });
2956
2966
  });
@@ -3015,7 +3025,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
3015
3025
  ]))
3016
3026
  ]);
3017
3027
  }
3018
- var BcfTopicSnapshots = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-56050af2"]]);
3028
+ var BcfTopicSnapshots = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-aca32dc4"]]);
3019
3029
  var BcfTopicForm_scss_vue_type_style_index_0_src_scoped_true_lang = "";
3020
3030
  const _sfc_main$a = {
3021
3031
  components: {
@@ -4456,7 +4466,7 @@ const _sfc_main$6 = {
4456
4466
  const viewpoints = computed(() => props.bcfTopic.viewpoints.filter((viewpoint) => viewpoint.snapshot).map((viewpoint) => {
4457
4467
  var _a;
4458
4468
  return __spreadProps(__spreadValues({}, viewpoint), {
4459
- icon: (_a = VIEWPOINT_CONFIG[viewpoint.authoring_tool_id]) == null ? void 0 : _a.icon
4469
+ icon: (_a = getViewpointConfig(viewpoint)) == null ? void 0 : _a.icon
4460
4470
  });
4461
4471
  }));
4462
4472
  const statusColor = computed(() => getStatusColor(props.bcfTopic, props.detailedExtensions));
@@ -4520,7 +4530,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
4520
4530
  }))
4521
4531
  ], 2);
4522
4532
  }
4523
- var BcfTopicViewpoints = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-500a5c19"]]);
4533
+ var BcfTopicViewpoints = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-0a9e5076"]]);
4524
4534
  var BcfTopicOverview_scss_vue_type_style_index_0_src_scoped_true_lang = "";
4525
4535
  const _sfc_main$5 = {
4526
4536
  components: {
@@ -5295,4 +5305,4 @@ const components = {
5295
5305
  BcfTopicOverview,
5296
5306
  BcfTopicsTable
5297
5307
  };
5298
- export { BcfFilters, BcfSettings, BcfStatistics, BcfTopicCard, BcfTopicCreationCard, BcfTopicForm, BcfTopicOverview, BcfTopicsTable, components, config, getPriorityColor, getStatusColor, setApiClient, useBcfFilter, useBcfSearch, useBcfSort };
5308
+ export { BcfFilters, BcfSettings, BcfStatistics, BcfTopicCard, BcfTopicCreationCard, BcfTopicForm, BcfTopicOverview, BcfTopicsTable, components, config, getPriorityColor, getStatusColor, getViewpointConfig, getViewpointModels, getViewpointType, setApiClient, useBcfFilter, useBcfSearch, useBcfSort };
@@ -1 +1 @@
1
- .bcf-filters__btn-toggle[data-v-1efe16f2]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-1efe16f2]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-1efe16f2]{position:absolute;z-index:1;top:44px;left:0;width:100%;min-width:252px;max-width:296px;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background-color:var(--color-white);display:flex;flex-direction:column;gap:calc(var(--spacing-unit) * 2)}.bcf-filters__container__header[data-v-1efe16f2]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-1efe16f2]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-1efe16f2]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-1efe16f2]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-1efe16f2]{display:flex;justify-content:center}.setting-card-item[data-v-a9deb2b6]{position:relative;height:37px;background-color:var(--color-silver-light);display:flex;justify-content:space-between;align-items:center;margin-bottom:calc(var(--spacing-unit) / 2);padding:0 var(--spacing-unit)}.setting-card-item__actions[data-v-a9deb2b6]{display:flex;align-items:center}.setting-card-item__color[data-v-a9deb2b6]{display:block;width:19px;height:19px;margin-left:var(--spacing-unit);border-radius:3px;border:1px solid var(--color-silver);cursor:pointer}.setting-card-item__color-selector[data-v-a9deb2b6]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-a9deb2b6]{position:absolute;right:1%;width:98%;height:100%;padding:0 var(--spacing-unit);gap:var(--spacing-unit);display:flex;justify-content:space-between;align-items:center;box-shadow:var(--box-shadow);background-color:var(--color-white)}.setting-card[data-v-6b7af8f7]{margin:var(--spacing-unit) 0;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background:var(--color-white)}.setting-card__header[data-v-6b7af8f7]{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.setting-card__header__text[data-v-6b7af8f7]{font-weight:700}.setting-card__header__icons[data-v-6b7af8f7]{display:flex;align-items:center;gap:calc(var(--spacing-unit) * 2)}.setting-card__header__icons .count[data-v-6b7af8f7]{min-width:21px;height:21px;padding:0 4px;display:flex;justify-content:center;align-items:center;border-radius:11px;font-size:11px;font-weight:700;background-color:var(--color-primary);color:var(--color-white)}.setting-card__subheader[data-v-6b7af8f7]{display:flex;justify-content:space-between;align-items:center;margin-top:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.setting-card__add-form[data-v-6b7af8f7]{margin-bottom:var(--spacing-unit)}.setting-card__add-form .actions[data-v-6b7af8f7]{display:flex;justify-content:flex-end;align-items:center;gap:calc(var(--spacing-unit) / 2)}.bcf-settings[data-v-54aa64a7]{height:100%;padding:var(--spacing-unit)}.bcf-settings__header[data-v-54aa64a7]{height:60px;display:flex;justify-content:space-between;align-items:center}.bcf-settings__content[data-v-54aa64a7]{height:100%}.bcf-settings__content__text[data-v-54aa64a7]{padding:calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);text-align:center;color:var(--color-granite)}.bcf-statistics[data-v-763cac12]{width:100%}.bcf-statistics__content[data-v-763cac12]{position:relative;display:flex}.bcf-statistics__content__chart[data-v-763cac12]{flex:1}.bcf-statistics__content__legend[data-v-763cac12]{flex:1;height:100%;display:flex;flex-direction:column;gap:var(--spacing-unit);margin-left:var(--spacing-unit);font-size:14px}.bcf-statistics__content__legend__title[data-v-763cac12]{font-weight:700}.bcf-statistics__content__legend__item[data-v-763cac12]{display:flex;align-items:center;line-height:24px}.bcf-statistics__content__legend__item__mark[data-v-763cac12]{width:10px;height:10px;border:3px solid;border-radius:50px}.bcf-statistics__content__legend__item__percent[data-v-763cac12]{margin:0 calc(var(--spacing-unit) / 2);font-weight:700}.bcf-statistics__content__legend__item__text .total[data-v-763cac12]{font-size:13px}.bcf-statistics__content__legend[data-v-763cac12] .bimdata-paginated-list ul:first-child{height:144px}.bcf-topic-card[data-v-6cce5009]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-6cce5009]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-6cce5009]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-6cce5009]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-6cce5009]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-6cce5009]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-6cce5009]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-6cce5009]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-6cce5009]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-6cce5009]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-6cce5009]{min-height:98px;margin-top:3px;box-shadow:var(--box-shadow);font-size:12px;background-color:var(--color-white);color:var(--color-text)}.bcf-topic-creation-card[data-v-02f52cb0]{width:336px;height:307px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 2);box-shadow:var(--box-shadow);background-color:var(--color-white)}.bcf-topic-creation-card__text[data-v-02f52cb0]{font-size:14px}.bcf-topic-images[data-v-f9b6ed42]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-f9b6ed42]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]{position:relative}.bcf-topic-images__images .image-preview img[data-v-f9b6ed42]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-f9b6ed42]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-f9b6ed42]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-f9b6ed42]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-f9b6ed42]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-f9b6ed42]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 3 / 2);border:2px dashed var(--color-silver)}.bcf-topic-images__upload .icon[data-v-f9b6ed42]{width:52px;height:52px;display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light);border-radius:50%}.bcf-topic-snapshots__snapshots[data-v-56050af2]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-56050af2]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-56050af2]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-56050af2]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-56050af2]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-56050af2]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-56050af2]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:2px dashed var(--color-silver);cursor:pointer}.bcf-topic-form[data-v-6df91d96]{height:100%}.bcf-topic-form__content[data-v-6df91d96]{height:calc(100% - 64px - var(--spacing-unit));padding:0 calc(var(--spacing-unit) / 2);display:flex;flex-direction:column;gap:var(--spacing-unit);overflow:auto}.bcf-topic-form__content__head[data-v-6df91d96]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-6df91d96],.bcf-topic-form__content__head__date[data-v-6df91d96]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light)}.bcf-topic-form__content__head__index[data-v-6df91d96]{min-width:50px}.bcf-topic-form__content__head__date[data-v-6df91d96]{min-width:100px}.bcf-topic-form__content__actions[data-v-6df91d96]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-6df91d96]{flex-grow:1}.bcf-topic-form__content__actions .count-objects[data-v-6df91d96],.bcf-topic-form__content__actions .count-annotations[data-v-6df91d96]{min-width:16px;height:16px;margin-left:var(--spacing-unit);padding:0 4px;border-radius:8px;font-size:10px;display:flex;justify-content:center;align-items:center}.bcf-topic-form__content__actions .count-objects[data-v-6df91d96]{background-color:var(--color-primary);color:var(--color-white)}.bcf-topic-form__content__actions .count-annotations[data-v-6df91d96]{background-color:var(--color-white);color:var(--color-primary)}.bcf-topic-form__content__body .bimdata-select[data-v-6df91d96]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-6df91d96] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-6df91d96] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-6df91d96]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-6df91d96]{position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;background-color:#2f374ae6;display:flex;justify-content:center;align-items:center}.user-avatar[data-v-e5e255f0]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-e5e255f0]{width:100%;height:100%}.user-avatar--primary[data-v-e5e255f0]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-e5e255f0]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-e5e255f0]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-7631a934]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-7631a934]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-7631a934]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-7631a934]{position:absolute;top:0;right:2%;width:96%;height:40px;display:flex;justify-content:space-between;align-items:center;background-color:var(--color-white);box-shadow:var(--box-shadow)}.topic-comment__content[data-v-7631a934] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-7631a934] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-7631a934] .bimdata-textarea:not(.editing) .bar{display:none}.bcf-topic-comments p[data-v-377292f2]{font-weight:700}.bcf-topic-comments[data-v-377292f2] .bimdata-textarea{width:100%}.bcf-topic-viewpoints[data-v-500a5c19]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-viewpoints.empty[data-v-500a5c19]{display:flex;justify-content:center;align-items:center}.bcf-topic-viewpoints .status-badge[data-v-500a5c19]{position:absolute;z-index:1;top:calc(var(--spacing-unit) / 2);left:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-500a5c19] .bimdata-carousel{height:100%}.bcf-topic-viewpoints[data-v-500a5c19] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-viewpoints[data-v-500a5c19] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-viewpoints[data-v-500a5c19] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-500a5c19] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .snapshot-preview[data-v-500a5c19]{position:relative;width:100%;height:100%}.bcf-topic-viewpoints .snapshot-preview img[data-v-500a5c19]{width:100%;height:100%;object-fit:cover}.bcf-topic-viewpoints .snapshot-preview .icon[data-v-500a5c19]{position:absolute;z-index:1;bottom:calc(var(--spacing-unit) / 2);right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .default-image[data-v-500a5c19]{width:170px;height:170px;padding:12px}.bcf-topic-overview[data-v-75c785d0]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-75c785d0]{padding:0 calc(var(--spacing-unit) / 2);display:flex;align-items:center;gap:calc(var(--spacing-unit) / 3)}.bcf-topic-overview__header__title[data-v-75c785d0]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-75c785d0]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-75c785d0]{height:calc(100% - 32px);padding:var(--spacing-unit) calc(var(--spacing-unit) / 2);overflow:auto;display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-overview__content__head[data-v-75c785d0]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-75c785d0],.bcf-topic-overview__content__head__date[data-v-75c785d0]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-75c785d0]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-75c785d0]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__card[data-v-75c785d0]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-75c785d0]{display:flex;align-items:center;gap:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.bcf-topic-overview__content__card .line .label[data-v-75c785d0]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-75c785d0]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-75c785d0]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-fe159426]{margin:auto}.bcf-topic-index-cell[data-v-73373bfa]{position:relative;display:flex;justify-content:center;align-items:center}.bcf-topic-index-cell .left-stripe[data-v-73373bfa]{position:absolute;left:calc(0px - var(--spacing-unit));width:10px;height:42px}.bcf-topic-priority-cell[data-v-7be782b8]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;font-weight:700}.bcf-topic-status-cell[data-v-a51b4af6]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
1
+ .bcf-filters__btn-toggle[data-v-1efe16f2]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-1efe16f2]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-1efe16f2]{position:absolute;z-index:1;top:44px;left:0;width:100%;min-width:252px;max-width:296px;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background-color:var(--color-white);display:flex;flex-direction:column;gap:calc(var(--spacing-unit) * 2)}.bcf-filters__container__header[data-v-1efe16f2]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-1efe16f2]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-1efe16f2]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-1efe16f2]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-1efe16f2]{display:flex;justify-content:center}.setting-card-item[data-v-a9deb2b6]{position:relative;height:37px;background-color:var(--color-silver-light);display:flex;justify-content:space-between;align-items:center;margin-bottom:calc(var(--spacing-unit) / 2);padding:0 var(--spacing-unit)}.setting-card-item__actions[data-v-a9deb2b6]{display:flex;align-items:center}.setting-card-item__color[data-v-a9deb2b6]{display:block;width:19px;height:19px;margin-left:var(--spacing-unit);border-radius:3px;border:1px solid var(--color-silver);cursor:pointer}.setting-card-item__color-selector[data-v-a9deb2b6]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-a9deb2b6]{position:absolute;right:1%;width:98%;height:100%;padding:0 var(--spacing-unit);gap:var(--spacing-unit);display:flex;justify-content:space-between;align-items:center;box-shadow:var(--box-shadow);background-color:var(--color-white)}.setting-card[data-v-6b7af8f7]{margin:var(--spacing-unit) 0;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background:var(--color-white)}.setting-card__header[data-v-6b7af8f7]{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.setting-card__header__text[data-v-6b7af8f7]{font-weight:700}.setting-card__header__icons[data-v-6b7af8f7]{display:flex;align-items:center;gap:calc(var(--spacing-unit) * 2)}.setting-card__header__icons .count[data-v-6b7af8f7]{min-width:21px;height:21px;padding:0 4px;display:flex;justify-content:center;align-items:center;border-radius:11px;font-size:11px;font-weight:700;background-color:var(--color-primary);color:var(--color-white)}.setting-card__subheader[data-v-6b7af8f7]{display:flex;justify-content:space-between;align-items:center;margin-top:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.setting-card__add-form[data-v-6b7af8f7]{margin-bottom:var(--spacing-unit)}.setting-card__add-form .actions[data-v-6b7af8f7]{display:flex;justify-content:flex-end;align-items:center;gap:calc(var(--spacing-unit) / 2)}.bcf-settings[data-v-54aa64a7]{height:100%;padding:var(--spacing-unit)}.bcf-settings__header[data-v-54aa64a7]{height:60px;display:flex;justify-content:space-between;align-items:center}.bcf-settings__content[data-v-54aa64a7]{height:100%}.bcf-settings__content__text[data-v-54aa64a7]{padding:calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);text-align:center;color:var(--color-granite)}.bcf-statistics[data-v-763cac12]{width:100%}.bcf-statistics__content[data-v-763cac12]{position:relative;display:flex}.bcf-statistics__content__chart[data-v-763cac12]{flex:1}.bcf-statistics__content__legend[data-v-763cac12]{flex:1;height:100%;display:flex;flex-direction:column;gap:var(--spacing-unit);margin-left:var(--spacing-unit);font-size:14px}.bcf-statistics__content__legend__title[data-v-763cac12]{font-weight:700}.bcf-statistics__content__legend__item[data-v-763cac12]{display:flex;align-items:center;line-height:24px}.bcf-statistics__content__legend__item__mark[data-v-763cac12]{width:10px;height:10px;border:3px solid;border-radius:50px}.bcf-statistics__content__legend__item__percent[data-v-763cac12]{margin:0 calc(var(--spacing-unit) / 2);font-weight:700}.bcf-statistics__content__legend__item__text .total[data-v-763cac12]{font-size:13px}.bcf-statistics__content__legend[data-v-763cac12] .bimdata-paginated-list ul:first-child{height:144px}.bcf-topic-card[data-v-6cce5009]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-6cce5009]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-6cce5009]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-6cce5009]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-6cce5009]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-6cce5009]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-6cce5009]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-6cce5009]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-6cce5009]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-6cce5009]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-6cce5009]{min-height:98px;margin-top:3px;box-shadow:var(--box-shadow);font-size:12px;background-color:var(--color-white);color:var(--color-text)}.bcf-topic-creation-card[data-v-02f52cb0]{width:336px;height:307px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 2);box-shadow:var(--box-shadow);background-color:var(--color-white)}.bcf-topic-creation-card__text[data-v-02f52cb0]{font-size:14px}.bcf-topic-images[data-v-f9b6ed42]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-f9b6ed42]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]{position:relative}.bcf-topic-images__images .image-preview img[data-v-f9b6ed42]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-f9b6ed42]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-f9b6ed42]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-f9b6ed42]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-f9b6ed42]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-f9b6ed42]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-f9b6ed42]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:calc(var(--spacing-unit) * 3 / 2);border:2px dashed var(--color-silver)}.bcf-topic-images__upload .icon[data-v-f9b6ed42]{width:52px;height:52px;display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light);border-radius:50%}.bcf-topic-snapshots__snapshots[data-v-aca32dc4]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-aca32dc4]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-aca32dc4]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-aca32dc4]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-aca32dc4]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-aca32dc4]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-aca32dc4]{width:100%;height:180px;min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:2px dashed var(--color-silver);cursor:pointer}.bcf-topic-form[data-v-6df91d96]{height:100%}.bcf-topic-form__content[data-v-6df91d96]{height:calc(100% - 64px - var(--spacing-unit));padding:0 calc(var(--spacing-unit) / 2);display:flex;flex-direction:column;gap:var(--spacing-unit);overflow:auto}.bcf-topic-form__content__head[data-v-6df91d96]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-6df91d96],.bcf-topic-form__content__head__date[data-v-6df91d96]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;background-color:var(--color-silver-light)}.bcf-topic-form__content__head__index[data-v-6df91d96]{min-width:50px}.bcf-topic-form__content__head__date[data-v-6df91d96]{min-width:100px}.bcf-topic-form__content__actions[data-v-6df91d96]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-6df91d96]{flex-grow:1}.bcf-topic-form__content__actions .count-objects[data-v-6df91d96],.bcf-topic-form__content__actions .count-annotations[data-v-6df91d96]{min-width:16px;height:16px;margin-left:var(--spacing-unit);padding:0 4px;border-radius:8px;font-size:10px;display:flex;justify-content:center;align-items:center}.bcf-topic-form__content__actions .count-objects[data-v-6df91d96]{background-color:var(--color-primary);color:var(--color-white)}.bcf-topic-form__content__actions .count-annotations[data-v-6df91d96]{background-color:var(--color-white);color:var(--color-primary)}.bcf-topic-form__content__body .bimdata-select[data-v-6df91d96]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-6df91d96] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-6df91d96] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-6df91d96]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-6df91d96]{position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;background-color:#2f374ae6;display:flex;justify-content:center;align-items:center}.user-avatar[data-v-e5e255f0]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-e5e255f0]{width:100%;height:100%}.user-avatar--primary[data-v-e5e255f0]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-e5e255f0]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-e5e255f0]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-7631a934]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-7631a934]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-7631a934]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-7631a934]{position:absolute;top:0;right:2%;width:96%;height:40px;display:flex;justify-content:space-between;align-items:center;background-color:var(--color-white);box-shadow:var(--box-shadow)}.topic-comment__content[data-v-7631a934] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-7631a934] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-7631a934] .bimdata-textarea:not(.editing) .bar{display:none}.bcf-topic-comments p[data-v-377292f2]{font-weight:700}.bcf-topic-comments[data-v-377292f2] .bimdata-textarea{width:100%}.bcf-topic-viewpoints[data-v-0a9e5076]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-viewpoints.empty[data-v-0a9e5076]{display:flex;justify-content:center;align-items:center}.bcf-topic-viewpoints .status-badge[data-v-0a9e5076]{position:absolute;z-index:1;top:calc(var(--spacing-unit) / 2);left:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-0a9e5076] .bimdata-carousel{height:100%}.bcf-topic-viewpoints[data-v-0a9e5076] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-viewpoints[data-v-0a9e5076] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-viewpoints[data-v-0a9e5076] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints[data-v-0a9e5076] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .snapshot-preview[data-v-0a9e5076]{position:relative;width:100%;height:100%}.bcf-topic-viewpoints .snapshot-preview img[data-v-0a9e5076]{width:100%;height:100%;object-fit:cover}.bcf-topic-viewpoints .snapshot-preview .icon[data-v-0a9e5076]{position:absolute;z-index:1;bottom:calc(var(--spacing-unit) / 2);right:calc(var(--spacing-unit) / 2)}.bcf-topic-viewpoints .default-image[data-v-0a9e5076]{width:170px;height:170px;padding:12px}.bcf-topic-overview[data-v-75c785d0]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-75c785d0]{padding:0 calc(var(--spacing-unit) / 2);display:flex;align-items:center;gap:calc(var(--spacing-unit) / 3)}.bcf-topic-overview__header__title[data-v-75c785d0]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-75c785d0]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-75c785d0]{height:calc(100% - 32px);padding:var(--spacing-unit) calc(var(--spacing-unit) / 2);overflow:auto;display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-overview__content__head[data-v-75c785d0]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-75c785d0],.bcf-topic-overview__content__head__date[data-v-75c785d0]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-75c785d0]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-75c785d0]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__card[data-v-75c785d0]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-75c785d0]{display:flex;align-items:center;gap:calc(var(--spacing-unit) / 2);margin-bottom:var(--spacing-unit)}.bcf-topic-overview__content__card .line .label[data-v-75c785d0]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-75c785d0]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-75c785d0]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-fe159426]{margin:auto}.bcf-topic-index-cell[data-v-73373bfa]{position:relative;display:flex;justify-content:center;align-items:center}.bcf-topic-index-cell .left-stripe[data-v-73373bfa]{position:absolute;left:calc(0px - var(--spacing-unit));width:10px;height:42px}.bcf-topic-priority-cell[data-v-7be782b8]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center;font-weight:700}.bcf-topic-status-cell[data-v-a51b4af6]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bimdata/bcf-components",
3
- "version": "2.0.0-rc.14",
3
+ "version": "2.0.0-rc.15",
4
4
  "files": [
5
5
  "dist",
6
6
  "vue2-plugin.js",