@bimdata/bcf-components 2.0.0-rc.2 → 2.0.0-rc.5

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,10 +2814,10 @@ 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) {
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) {
2820
- return _vm.$emit("add-pins", _vm.bcfTopic);
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
+ return _vm.$emit("edit-objects", _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.annotationsEditMode || _vm.viewpointsToDisplay.length === 0 }, on: { "click": function($event) {
2820
+ return _vm.$emit("edit-annotations", _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")) {
2823
2823
  return null;
@@ -2836,9 +2836,9 @@ var render$9 = function() {
2836
2836
  _vm.topicStage = $$v;
2837
2837
  }, expression: "topicStage" } }), _c("BIMDataSelect", { attrs: { "width": "100%", "label": _vm.$t("BcfComponents.BcfTopicForm.assignedToLabel"), "options": _vm.extensions.user_id_type }, model: { value: _vm.topicAssignedTo, callback: function($$v) {
2838
2838
  _vm.topicAssignedTo = $$v;
2839
- }, expression: "topicAssignedTo" } }), _c("div", { staticClass: "m-b-30" }, [_c("BIMDataInput", { attrs: { "margin": "0", "placeholder": _vm.$t("BcfComponents.BcfTopicForm.dueDateLabel"), "error": _vm.hasErrorDate, "errorMessage": _vm.$t("BcfComponents.BcfTopicForm.dateErrorMessage") }, model: { value: _vm.topicDate, callback: function($$v) {
2840
- _vm.topicDate = $$v;
2841
- }, expression: "topicDate" } }), _c("div", [_vm._v(" " + _vm._s(_vm.$t("BcfComponents.BcfTopicForm.dateExample")) + " ")])], 1), _c("BIMDataTextarea", { attrs: { "width": "100%", "name": "description", "label": _vm.$t("BcfComponents.BcfTopicForm.descriptionLabel"), "fitContent": "" }, model: { value: _vm.topicDescription, callback: function($$v) {
2839
+ }, expression: "topicAssignedTo" } }), _c("div", { staticClass: "m-b-30" }, [_c("BIMDataInput", { attrs: { "margin": "0", "placeholder": _vm.$t("BcfComponents.BcfTopicForm.dueDateLabel"), "error": _vm.hasErrorDate, "errorMessage": _vm.$t("BcfComponents.BcfTopicForm.dateErrorMessage") }, model: { value: _vm.topicDueDate, callback: function($$v) {
2840
+ _vm.topicDueDate = $$v;
2841
+ }, expression: "topicDueDate" } }), _c("div", [_vm._v(" " + _vm._s(_vm.$t("BcfComponents.BcfTopicForm.dateExample")) + " ")])], 1), _c("BIMDataTextarea", { attrs: { "width": "100%", "name": "description", "label": _vm.$t("BcfComponents.BcfTopicForm.descriptionLabel"), "fitContent": "" }, model: { value: _vm.topicDescription, callback: function($$v) {
2842
2842
  _vm.topicDescription = $$v;
2843
2843
  }, expression: "topicDescription" } }), _c("BIMDataSelect", { attrs: { "width": "100%", "multi": true, "label": _vm.$t("BcfComponents.BcfTopicForm.labelsLabel"), "options": _vm.extensions.topic_label }, model: { value: _vm.topicLabels, callback: function($$v) {
2844
2844
  _vm.topicLabels = $$v;
@@ -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,14 +2922,14 @@ 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);
2921
2929
  const topicStatus = ref(null);
2922
2930
  const topicStage = ref(null);
2923
2931
  const topicAssignedTo = ref(null);
2924
- const topicDate = ref("");
2932
+ const topicDueDate = ref("");
2925
2933
  const topicDescription = ref("");
2926
2934
  const topicLabels = ref([]);
2927
2935
  const viewpoints = ref([]);
@@ -2941,7 +2949,7 @@ const __vue2_script$9 = {
2941
2949
  topicStatus.value = topic.topic_status || null;
2942
2950
  topicStage.value = topic.stage || null;
2943
2951
  topicAssignedTo.value = topic.assigned_to || null;
2944
- topicDate.value = topic.due_date ? deserialize$1(topic.due_date) : "";
2952
+ topicDueDate.value = topic.due_date ? deserialize$1(topic.due_date) : "";
2945
2953
  topicDescription.value = topic.description || "";
2946
2954
  topicLabels.value = topic.labels || [];
2947
2955
  viewpoints.value = topic.viewpoints || [];
@@ -2954,7 +2962,7 @@ const __vue2_script$9 = {
2954
2962
  topicStatus.value = null;
2955
2963
  topicStage.value = null;
2956
2964
  topicAssignedTo.value = null;
2957
- topicDate.value = "";
2965
+ topicDueDate.value = "";
2958
2966
  topicDescription.value = "";
2959
2967
  topicLabels.value = [];
2960
2968
  viewpoints.value = [];
@@ -2983,37 +2991,40 @@ const __vue2_script$9 = {
2983
2991
  hasErrorTitle.value = true;
2984
2992
  return;
2985
2993
  }
2986
- if (!validate(topicDate.value) && topicDate.value !== deserialize$1(props.bcfTopic.due_date)) {
2994
+ if (!validate(topicDueDate.value) && topicDueDate.value !== deserialize$1(props.bcfTopic.due_date)) {
2987
2995
  hasErrorDate.value = true;
2988
2996
  return;
2989
2997
  }
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,
3009
3020
  models: ((_b = props.bcfTopic) == null ? void 0 : _b.models) || props.models,
3010
3021
  title: topicTitle.value,
3011
- topicType: topicType.value,
3022
+ topic_type: topicType.value,
3012
3023
  priority: topicPriority.value,
3013
- topicStatus: topicStatus.value,
3024
+ topic_status: topicStatus.value,
3014
3025
  stage: topicStage.value,
3015
- assignedTo: topicAssignedTo.value,
3016
- dueDate: topicDate.value ? serialize(topicDate.value) : void 0,
3026
+ assigned_to: topicAssignedTo.value,
3027
+ due_date: topicDueDate.value ? serialize(topicDueDate.value) : void 0,
3017
3028
  description: topicDescription.value,
3018
3029
  labels: topicLabels.value,
3019
3030
  viewpoints: viewpointsToUpdate.value
@@ -3044,8 +3055,8 @@ const __vue2_script$9 = {
3044
3055
  loading,
3045
3056
  nextIndex,
3046
3057
  topicAssignedTo,
3047
- topicDate,
3048
3058
  topicDescription,
3059
+ topicDueDate,
3049
3060
  topicPriority,
3050
3061
  topicStage,
3051
3062
  topicStatus,
@@ -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, "0eb06ab0", null, null);
3074
+ var __component__$9 = /* @__PURE__ */ normalizeComponent(__vue2_script$9, render$9, staticRenderFns$9, false, __vue2_injectStyles$9, "1487cf91", 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-0eb06ab0]{height:100%}.bcf-topic-form__content[data-v-0eb06ab0]{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-0eb06ab0]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-0eb06ab0],.bcf-topic-form__content__head__date[data-v-0eb06ab0]{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-0eb06ab0]{min-width:50px}.bcf-topic-form__content__head__date[data-v-0eb06ab0]{min-width:100px}.bcf-topic-form__content__actions[data-v-0eb06ab0]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-0eb06ab0]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-0eb06ab0]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-0eb06ab0] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-0eb06ab0] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-0eb06ab0]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-0eb06ab0]{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-1487cf91]{height:100%}.bcf-topic-form__content[data-v-1487cf91]{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-1487cf91]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-1487cf91],.bcf-topic-form__content__head__date[data-v-1487cf91]{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-1487cf91]{min-width:50px}.bcf-topic-form__content__head__date[data-v-1487cf91]{min-width:100px}.bcf-topic-form__content__actions[data-v-1487cf91]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-1487cf91]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-1487cf91]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-1487cf91] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-1487cf91] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-1487cf91]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-1487cf91]{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,14 +2969,14 @@ 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);
2968
2976
  const topicStatus = ref(null);
2969
2977
  const topicStage = ref(null);
2970
2978
  const topicAssignedTo = ref(null);
2971
- const topicDate = ref("");
2979
+ const topicDueDate = ref("");
2972
2980
  const topicDescription = ref("");
2973
2981
  const topicLabels = ref([]);
2974
2982
  const viewpoints = ref([]);
@@ -2988,7 +2996,7 @@ const _sfc_main$9 = {
2988
2996
  topicStatus.value = topic.topic_status || null;
2989
2997
  topicStage.value = topic.stage || null;
2990
2998
  topicAssignedTo.value = topic.assigned_to || null;
2991
- topicDate.value = topic.due_date ? deserialize$1(topic.due_date) : "";
2999
+ topicDueDate.value = topic.due_date ? deserialize$1(topic.due_date) : "";
2992
3000
  topicDescription.value = topic.description || "";
2993
3001
  topicLabels.value = topic.labels || [];
2994
3002
  viewpoints.value = topic.viewpoints || [];
@@ -3001,7 +3009,7 @@ const _sfc_main$9 = {
3001
3009
  topicStatus.value = null;
3002
3010
  topicStage.value = null;
3003
3011
  topicAssignedTo.value = null;
3004
- topicDate.value = "";
3012
+ topicDueDate.value = "";
3005
3013
  topicDescription.value = "";
3006
3014
  topicLabels.value = [];
3007
3015
  viewpoints.value = [];
@@ -3030,37 +3038,40 @@ const _sfc_main$9 = {
3030
3038
  hasErrorTitle.value = true;
3031
3039
  return;
3032
3040
  }
3033
- if (!validate(topicDate.value) && topicDate.value !== deserialize$1(props.bcfTopic.due_date)) {
3041
+ if (!validate(topicDueDate.value) && topicDueDate.value !== deserialize$1(props.bcfTopic.due_date)) {
3034
3042
  hasErrorDate.value = true;
3035
3043
  return;
3036
3044
  }
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,
3056
3067
  models: ((_b = props.bcfTopic) == null ? void 0 : _b.models) || props.models,
3057
3068
  title: topicTitle.value,
3058
- topicType: topicType.value,
3069
+ topic_type: topicType.value,
3059
3070
  priority: topicPriority.value,
3060
- topicStatus: topicStatus.value,
3071
+ topic_status: topicStatus.value,
3061
3072
  stage: topicStage.value,
3062
- assignedTo: topicAssignedTo.value,
3063
- dueDate: topicDate.value ? serialize(topicDate.value) : void 0,
3073
+ assigned_to: topicAssignedTo.value,
3074
+ due_date: topicDueDate.value ? serialize(topicDueDate.value) : void 0,
3064
3075
  description: topicDescription.value,
3065
3076
  labels: topicLabels.value,
3066
3077
  viewpoints: viewpointsToUpdate.value
@@ -3091,8 +3102,8 @@ const _sfc_main$9 = {
3091
3102
  loading,
3092
3103
  nextIndex,
3093
3104
  topicAssignedTo,
3094
- topicDate,
3095
3105
  topicDescription,
3106
+ topicDueDate,
3096
3107
  topicPriority,
3097
3108
  topicStage,
3098
3109
  topicStatus,
@@ -3146,7 +3157,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3146
3157
  createVNode(_component_BIMDataButton, {
3147
3158
  fill: "",
3148
3159
  radius: "",
3149
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("add-components", $props.bcfTopic))
3160
+ disabled: !$props.objectsEditMode,
3161
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("edit-objects", $props.bcfTopic))
3150
3162
  }, {
3151
3163
  default: withCtx(() => [
3152
3164
  createVNode(_component_BIMDataIcon, {
@@ -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,8 +3181,8 @@ 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,
3173
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("add-pins", $props.bcfTopic))
3184
+ disabled: !$props.annotationsEditMode || $setup.viewpointsToDisplay.length === 0,
3185
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("edit-annotations", $props.bcfTopic))
3174
3186
  }, {
3175
3187
  default: withCtx(() => [
3176
3188
  createVNode(_component_BIMDataIcon, {
@@ -3242,8 +3254,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3242
3254
  placeholder: _ctx.$t("BcfComponents.BcfTopicForm.dueDateLabel"),
3243
3255
  error: $setup.hasErrorDate,
3244
3256
  errorMessage: _ctx.$t("BcfComponents.BcfTopicForm.dateErrorMessage"),
3245
- modelValue: $setup.topicDate,
3246
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $setup.topicDate = $event)
3257
+ modelValue: $setup.topicDueDate,
3258
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $setup.topicDueDate = $event)
3247
3259
  }, null, 8, ["placeholder", "error", "errorMessage", "modelValue"]),
3248
3260
  createElementVNode("div", null, toDisplayString(_ctx.$t("BcfComponents.BcfTopicForm.dateExample")), 1)
3249
3261
  ]),
@@ -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-00306214"]]);
3331
+ var BcfTopicForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-8dedc5d2"]]);
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-00306214]{height:100%}.bcf-topic-form__content[data-v-00306214]{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-00306214]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-00306214],.bcf-topic-form__content__head__date[data-v-00306214]{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-00306214]{min-width:50px}.bcf-topic-form__content__head__date[data-v-00306214]{min-width:100px}.bcf-topic-form__content__actions[data-v-00306214]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-00306214]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-00306214]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-00306214] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-00306214] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-00306214]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-00306214]{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-8dedc5d2]{height:100%}.bcf-topic-form__content[data-v-8dedc5d2]{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-8dedc5d2]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-8dedc5d2],.bcf-topic-form__content__head__date[data-v-8dedc5d2]{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-8dedc5d2]{min-width:50px}.bcf-topic-form__content__head__date[data-v-8dedc5d2]{min-width:100px}.bcf-topic-form__content__actions[data-v-8dedc5d2]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions>*[data-v-8dedc5d2]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-8dedc5d2]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-8dedc5d2] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-8dedc5d2] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-8dedc5d2]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-8dedc5d2]{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.2",
3
+ "version": "2.0.0-rc.5",
4
4
  "files": [
5
5
  "dist",
6
6
  "vue2-plugin.js",