@bimdata/bcf-components 2.0.0-rc.3 → 2.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.
@@ -2814,9 +2814,9 @@ var render$9 = function() {
2814
2814
  var _vm = this;
2815
2815
  var _h = _vm.$createElement;
2816
2816
  var _c = _vm._self._c || _h;
2817
- return _c("div", { staticClass: "bcf-topic-form" }, [_c("div", { staticClass: "bcf-topic-form__content" }, [_c("div", { staticClass: "bcf-topic-form__content__head" }, [_c("div", { staticClass: "bcf-topic-form__content__head__index" }, [_vm._v(" " + _vm._s(_vm.isCreation ? _vm.nextIndex : _vm.bcfTopic.index) + " ")]), _c("div", { staticClass: "bcf-topic-form__content__head__date" }, [_vm._v(" " + _vm._s(_vm.$d(_vm.isCreation ? new Date() : _vm.bcfTopic.creation_date, "short")) + " ")])]), _vm.viewerMode ? [_c("BcfTopicSnapshots", { attrs: { "viewpoints": _vm.viewpointsToDisplay }, on: { "add-viewpoint": _vm.addViewpoint, "delete-viewpoint": _vm.delViewpoint } }), _c("div", { staticClass: "bcf-topic-form__content__actions" }, [_c("BIMDataButton", { attrs: { "fill": "", "radius": "" }, on: { "click": function($event) {
2817
+ return _c("div", { staticClass: "bcf-topic-form" }, [_c("div", { staticClass: "bcf-topic-form__content" }, [_c("div", { staticClass: "bcf-topic-form__content__head" }, [_c("div", { staticClass: "bcf-topic-form__content__head__index" }, [_vm._v(" " + _vm._s(_vm.isCreation ? _vm.nextIndex : _vm.bcfTopic.index) + " ")]), _c("div", { staticClass: "bcf-topic-form__content__head__date" }, [_vm._v(" " + _vm._s(_vm.$d(_vm.isCreation ? new Date() : _vm.bcfTopic.creation_date, "short")) + " ")])]), _vm.viewerMode ? [_c("BcfTopicSnapshots", { attrs: { "viewpoints": _vm.viewpointsToDisplay }, on: { "add-viewpoint": _vm.addViewpoint, "delete-viewpoint": _vm.delViewpoint } }), _c("div", { staticClass: "bcf-topic-form__content__actions" }, [_c("BIMDataButton", { attrs: { "fill": "", "radius": "", "disabled": !_vm.objectsEditMode }, on: { "click": function($event) {
2818
2818
  return _vm.$emit("add-components", _vm.bcfTopic);
2819
- } } }, [_c("BIMDataIcon", { attrs: { "name": "plus", "size": "xxxs", "margin": "0 6px 0 0" } }), _c("span", [_vm._v(_vm._s(_vm.$t("BcfComponents.BcfTopicForm.addObjectButton")))])], 1), _c("BIMDataTooltip", { attrs: { "disabled": _vm.viewpointsToDisplay.length > 0, "text": _vm.$t("BcfComponents.BcfTopicForm.annotationButtonTooltip"), "color": "granite-light" } }, [_c("BIMDataButton", { attrs: { "width": "100%", "color": "primary", "fill": "", "radius": "", "disabled": _vm.viewpointsToDisplay.length === 0 }, on: { "click": function($event) {
2819
+ } } }, [_c("BIMDataIcon", { attrs: { "name": "plus", "size": "xxxs", "margin": "0 6px 0 0" } }), _c("span", [_vm._v(_vm._s(_vm.$t("BcfComponents.BcfTopicForm.addObjectButton")))])], 1), _c("BIMDataTooltip", { attrs: { "disabled": _vm.viewpointsToDisplay.length > 0, "text": _vm.$t("BcfComponents.BcfTopicForm.annotationButtonTooltip"), "color": "granite-light" } }, [_c("BIMDataButton", { attrs: { "width": "100%", "color": "primary", "fill": "", "radius": "", "disabled": !_vm.annotationsEditMode || _vm.viewpointsToDisplay.length === 0 }, on: { "click": function($event) {
2820
2820
  return _vm.$emit("add-pins", _vm.bcfTopic);
2821
2821
  } } }, [_c("BIMDataIcon", { attrs: { "name": "plus", "size": "xxxs", "margin": "0 6px 0 0" } }), _c("span", [_vm._v(_vm._s(_vm.$t("BcfComponents.BcfTopicForm.addAnnotationButton")))])], 1)], 1)], 1)] : [_c("BcfTopicImages", { attrs: { "viewpoints": _vm.viewpointsToDisplay }, on: { "add-viewpoint": _vm.addViewpoint, "delete-viewpoint": _vm.delViewpoint } })], _c("div", { staticClass: "bcf-topic-form__content__body" }, [_c("BIMDataInput", { attrs: { "placeholder": _vm.$t("BcfComponents.BcfTopicForm.titlePlaceholder"), "error": _vm.hasErrorTitle, "errorMessage": _vm.$t("BcfComponents.BcfTopicForm.titleErrorMessage") }, on: { "keyup": function($event) {
2822
2822
  if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")) {
@@ -2873,6 +2873,14 @@ const __vue2_script$9 = {
2873
2873
  type: Boolean,
2874
2874
  default: false
2875
2875
  },
2876
+ objectsEditMode: {
2877
+ type: Boolean,
2878
+ default: false
2879
+ },
2880
+ annotationsEditMode: {
2881
+ type: Boolean,
2882
+ default: false
2883
+ },
2876
2884
  project: {
2877
2885
  type: Object,
2878
2886
  required: true
@@ -2888,23 +2896,23 @@ const __vue2_script$9 = {
2888
2896
  bcfTopic: {
2889
2897
  type: Object
2890
2898
  },
2891
- models: {
2899
+ bcfTopicModels: {
2892
2900
  type: Array,
2893
2901
  default: () => []
2894
2902
  },
2895
- providedComponents: {
2903
+ bcfTopicObjects: {
2896
2904
  type: Object
2897
2905
  },
2898
- providedPins: {
2906
+ bcfTopicAnnotations: {
2899
2907
  type: Array
2900
2908
  }
2901
2909
  },
2902
2910
  emits: [
2903
- "add-components",
2904
- "add-pins",
2905
2911
  "bcf-topic-created",
2906
2912
  "bcf-topic-updated",
2907
- "close"
2913
+ "close",
2914
+ "edit-annotations",
2915
+ "edit-objects"
2908
2916
  ],
2909
2917
  setup(props, { emit }) {
2910
2918
  const {
@@ -2914,7 +2922,7 @@ const __vue2_script$9 = {
2914
2922
  deleteViewpoint: deleteViewpoint2
2915
2923
  } = useService();
2916
2924
  const isCreation = computed(() => !props.bcfTopic);
2917
- const nextIndex = computed(() => props.bcfTopics.length > 0 ? Math.max(...props.bcfTopics.map((t2) => t2.index)) + 1 : 1);
2925
+ const nextIndex = computed(() => Math.max(0, ...props.bcfTopics.map((t2) => t2.index)) + 1);
2918
2926
  const topicTitle = ref("");
2919
2927
  const topicType = ref(null);
2920
2928
  const topicPriority = ref(null);
@@ -2990,19 +2998,22 @@ const __vue2_script$9 = {
2990
2998
  try {
2991
2999
  loading.value = true;
2992
3000
  viewpointsToUpdate.value = viewpoints.value.map((viewpoint) => __spreadProps(__spreadValues({}, viewpoint), { snapshot: void 0 }));
2993
- if (props.providedComponents) {
3001
+ if (viewpointsToUpdate.value.length === 0) {
3002
+ viewpointsToCreate.value.sort((v2) => v2.originating_system === "3d" ? -1 : 1);
3003
+ }
3004
+ if (props.bcfTopicObjects) {
2994
3005
  if (viewpointsToUpdate.value.length > 0 || viewpointsToCreate.value.length > 0) {
2995
- viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.components = props.providedComponents);
2996
- viewpointsToCreate.value.forEach((viewpoint) => viewpoint.components = props.providedComponents);
3006
+ viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.components = props.bcfTopicObjects);
3007
+ viewpointsToCreate.value.forEach((viewpoint) => viewpoint.components = props.bcfTopicObjects);
2997
3008
  } else {
2998
3009
  viewpointsToCreate.value.push({
2999
- components: props.providedComponents
3010
+ components: props.bcfTopicObjects
3000
3011
  });
3001
3012
  }
3002
3013
  }
3003
- if (props.providedPins) {
3004
- viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.pins = props.providedPins);
3005
- viewpointsToCreate.value.forEach((viewpoint) => viewpoint.pins = props.providedPins);
3014
+ if (props.bcfTopicAnnotations) {
3015
+ viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.pins = props.bcfTopicAnnotations);
3016
+ viewpointsToCreate.value.forEach((viewpoint) => viewpoint.pins = props.bcfTopicAnnotations);
3006
3017
  }
3007
3018
  const data = {
3008
3019
  guid: (_a = props.bcfTopic) == null ? void 0 : _a.guid,
@@ -3060,7 +3071,7 @@ const __vue2_script$9 = {
3060
3071
  }
3061
3072
  };
3062
3073
  const __cssModules$9 = {};
3063
- var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "286d0006", null, null);
3074
+ var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "80ad8e52", null, null);
3064
3075
  function __vue2_injectStyles$9(context) {
3065
3076
  for (let o2 in __cssModules$9) {
3066
3077
  this[o2] = __cssModules$9[o2];
@@ -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-c37bec74]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-c37bec74]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-c37bec74]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-c37bec74]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-c37bec74]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-c37bec74]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-c37bec74]{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-286d0006]{height:100%}.bcf-topic-form__content[data-v-286d0006]{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-286d0006]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-286d0006],.bcf-topic-form__content__head__date[data-v-286d0006]{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-286d0006]{min-width:50px}.bcf-topic-form__content__head__date[data-v-286d0006]{min-width:100px}.bcf-topic-form__content__actions[data-v-286d0006]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-286d0006]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-286d0006]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-286d0006] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-286d0006] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-286d0006]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-286d0006]{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-overview[data-v-696373ad]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-696373ad]{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-696373ad]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-696373ad]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-696373ad]{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-696373ad]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-696373ad],.bcf-topic-overview__content__head__date[data-v-696373ad]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-696373ad]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-696373ad]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-696373ad]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-overview__content__image .status-badge[data-v-696373ad]{position:absolute;z-index:1;left:calc(var(--spacing-unit) / 2);top:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-696373ad]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-696373ad]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-696373ad]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-696373ad]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-696373ad]{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-696373ad]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-696373ad]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-696373ad]{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-c37bec74]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-c37bec74]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-c37bec74]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-c37bec74]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-c37bec74]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-c37bec74]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-c37bec74]{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-80ad8e52]{height:100%}.bcf-topic-form__content[data-v-80ad8e52]{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-80ad8e52]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-80ad8e52],.bcf-topic-form__content__head__date[data-v-80ad8e52]{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-80ad8e52]{min-width:50px}.bcf-topic-form__content__head__date[data-v-80ad8e52]{min-width:100px}.bcf-topic-form__content__actions[data-v-80ad8e52]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-80ad8e52]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-80ad8e52]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-80ad8e52] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-80ad8e52] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-80ad8e52]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-80ad8e52]{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-overview[data-v-696373ad]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-696373ad]{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-696373ad]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-696373ad]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-696373ad]{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-696373ad]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-696373ad],.bcf-topic-overview__content__head__date[data-v-696373ad]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-696373ad]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-696373ad]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-696373ad]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-overview__content__image .status-badge[data-v-696373ad]{position:absolute;z-index:1;left:calc(var(--spacing-unit) / 2);top:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-696373ad] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-696373ad]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-696373ad]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-696373ad]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-696373ad]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-696373ad]{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-696373ad]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-696373ad]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-696373ad]{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}
@@ -2920,6 +2920,14 @@ const _sfc_main$9 = {
2920
2920
  type: Boolean,
2921
2921
  default: false
2922
2922
  },
2923
+ objectsEditMode: {
2924
+ type: Boolean,
2925
+ default: false
2926
+ },
2927
+ annotationsEditMode: {
2928
+ type: Boolean,
2929
+ default: false
2930
+ },
2923
2931
  project: {
2924
2932
  type: Object,
2925
2933
  required: true
@@ -2935,23 +2943,23 @@ const _sfc_main$9 = {
2935
2943
  bcfTopic: {
2936
2944
  type: Object
2937
2945
  },
2938
- models: {
2946
+ bcfTopicModels: {
2939
2947
  type: Array,
2940
2948
  default: () => []
2941
2949
  },
2942
- providedComponents: {
2950
+ bcfTopicObjects: {
2943
2951
  type: Object
2944
2952
  },
2945
- providedPins: {
2953
+ bcfTopicAnnotations: {
2946
2954
  type: Array
2947
2955
  }
2948
2956
  },
2949
2957
  emits: [
2950
- "add-components",
2951
- "add-pins",
2952
2958
  "bcf-topic-created",
2953
2959
  "bcf-topic-updated",
2954
- "close"
2960
+ "close",
2961
+ "edit-annotations",
2962
+ "edit-objects"
2955
2963
  ],
2956
2964
  setup(props, { emit }) {
2957
2965
  const {
@@ -2961,7 +2969,7 @@ const _sfc_main$9 = {
2961
2969
  deleteViewpoint: deleteViewpoint2
2962
2970
  } = useService();
2963
2971
  const isCreation = computed(() => !props.bcfTopic);
2964
- const nextIndex = computed(() => props.bcfTopics.length > 0 ? Math.max(...props.bcfTopics.map((t) => t.index)) + 1 : 1);
2972
+ const nextIndex = computed(() => Math.max(0, ...props.bcfTopics.map((t) => t.index)) + 1);
2965
2973
  const topicTitle = ref("");
2966
2974
  const topicType = ref(null);
2967
2975
  const topicPriority = ref(null);
@@ -3037,19 +3045,22 @@ const _sfc_main$9 = {
3037
3045
  try {
3038
3046
  loading.value = true;
3039
3047
  viewpointsToUpdate.value = viewpoints.value.map((viewpoint) => __spreadProps(__spreadValues({}, viewpoint), { snapshot: void 0 }));
3040
- if (props.providedComponents) {
3048
+ if (viewpointsToUpdate.value.length === 0) {
3049
+ viewpointsToCreate.value.sort((v2) => v2.originating_system === "3d" ? -1 : 1);
3050
+ }
3051
+ if (props.bcfTopicObjects) {
3041
3052
  if (viewpointsToUpdate.value.length > 0 || viewpointsToCreate.value.length > 0) {
3042
- viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.components = props.providedComponents);
3043
- viewpointsToCreate.value.forEach((viewpoint) => viewpoint.components = props.providedComponents);
3053
+ viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.components = props.bcfTopicObjects);
3054
+ viewpointsToCreate.value.forEach((viewpoint) => viewpoint.components = props.bcfTopicObjects);
3044
3055
  } else {
3045
3056
  viewpointsToCreate.value.push({
3046
- components: props.providedComponents
3057
+ components: props.bcfTopicObjects
3047
3058
  });
3048
3059
  }
3049
3060
  }
3050
- if (props.providedPins) {
3051
- viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.pins = props.providedPins);
3052
- viewpointsToCreate.value.forEach((viewpoint) => viewpoint.pins = props.providedPins);
3061
+ if (props.bcfTopicAnnotations) {
3062
+ viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.pins = props.bcfTopicAnnotations);
3063
+ viewpointsToCreate.value.forEach((viewpoint) => viewpoint.pins = props.bcfTopicAnnotations);
3053
3064
  }
3054
3065
  const data = {
3055
3066
  guid: (_a = props.bcfTopic) == null ? void 0 : _a.guid,
@@ -3146,6 +3157,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3146
3157
  createVNode(_component_BIMDataButton, {
3147
3158
  fill: "",
3148
3159
  radius: "",
3160
+ disabled: !$props.objectsEditMode,
3149
3161
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("add-components", $props.bcfTopic))
3150
3162
  }, {
3151
3163
  default: withCtx(() => [
@@ -3157,7 +3169,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3157
3169
  createElementVNode("span", null, toDisplayString(_ctx.$t("BcfComponents.BcfTopicForm.addObjectButton")), 1)
3158
3170
  ]),
3159
3171
  _: 1
3160
- }),
3172
+ }, 8, ["disabled"]),
3161
3173
  createVNode(_component_BIMDataTooltip, {
3162
3174
  disabled: $setup.viewpointsToDisplay.length > 0,
3163
3175
  text: _ctx.$t("BcfComponents.BcfTopicForm.annotationButtonTooltip"),
@@ -3169,7 +3181,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3169
3181
  color: "primary",
3170
3182
  fill: "",
3171
3183
  radius: "",
3172
- disabled: $setup.viewpointsToDisplay.length === 0,
3184
+ disabled: !$props.annotationsEditMode || $setup.viewpointsToDisplay.length === 0,
3173
3185
  onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("add-pins", $props.bcfTopic))
3174
3186
  }, {
3175
3187
  default: withCtx(() => [
@@ -3316,7 +3328,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3316
3328
  })) : createCommentVNode("", true)
3317
3329
  ]);
3318
3330
  }
3319
- var BcfTopicForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-83156c3c"]]);
3331
+ var BcfTopicForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-2161e4de"]]);
3320
3332
  var u = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), M$1 = { 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) => u.includes(n) } }, emits: ["click"], computed: { classes() {
3321
3333
  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 };
3322
3334
  }, style() {
@@ -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-51a7b7e2]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-51a7b7e2]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-51a7b7e2]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-51a7b7e2]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-51a7b7e2]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-51a7b7e2]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-51a7b7e2]{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-83156c3c]{height:100%}.bcf-topic-form__content[data-v-83156c3c]{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-83156c3c]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-83156c3c],.bcf-topic-form__content__head__date[data-v-83156c3c]{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-83156c3c]{min-width:50px}.bcf-topic-form__content__head__date[data-v-83156c3c]{min-width:100px}.bcf-topic-form__content__actions[data-v-83156c3c]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-83156c3c]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-83156c3c]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-83156c3c] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-83156c3c] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-83156c3c]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-83156c3c]{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-overview[data-v-7ffc583d]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-7ffc583d]{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-7ffc583d]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-7ffc583d]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-7ffc583d]{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-7ffc583d]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-7ffc583d],.bcf-topic-overview__content__head__date[data-v-7ffc583d]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-7ffc583d]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-7ffc583d]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-7ffc583d]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-overview__content__image .status-badge[data-v-7ffc583d]{position:absolute;z-index:1;left:calc(var(--spacing-unit) / 2);top:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-7ffc583d]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-7ffc583d]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-7ffc583d]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-7ffc583d]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-7ffc583d]{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-7ffc583d]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-7ffc583d]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-7ffc583d]{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-51a7b7e2]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-51a7b7e2]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-51a7b7e2]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-51a7b7e2]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-51a7b7e2]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-51a7b7e2]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-51a7b7e2]{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-2161e4de]{height:100%}.bcf-topic-form__content[data-v-2161e4de]{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-2161e4de]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-2161e4de],.bcf-topic-form__content__head__date[data-v-2161e4de]{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-2161e4de]{min-width:50px}.bcf-topic-form__content__head__date[data-v-2161e4de]{min-width:100px}.bcf-topic-form__content__actions[data-v-2161e4de]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-2161e4de]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-2161e4de]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-2161e4de] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-2161e4de] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-2161e4de]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-2161e4de]{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-overview[data-v-7ffc583d]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-7ffc583d]{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-7ffc583d]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-7ffc583d]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-7ffc583d]{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-7ffc583d]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-7ffc583d],.bcf-topic-overview__content__head__date[data-v-7ffc583d]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-7ffc583d]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-7ffc583d]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-7ffc583d]{position:relative;height:262px;min-height:262px;text-align:center;background-color:var(--color-silver-light);overflow:hidden}.bcf-topic-overview__content__image .status-badge[data-v-7ffc583d]{position:absolute;z-index:1;left:calc(var(--spacing-unit) / 2);top:calc(var(--spacing-unit) / 2);padding:calc(var(--spacing-unit) / 2);border-radius:3px;display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-7ffc583d] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-7ffc583d]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-7ffc583d]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-7ffc583d]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-7ffc583d]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-7ffc583d]{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-7ffc583d]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-7ffc583d]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-7ffc583d]{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.3",
3
+ "version": "2.0.0-rc.4",
4
4
  "files": [
5
5
  "dist",
6
6
  "vue2-plugin.js",