@bimdata/bcf-components 1.1.0-rc.11 → 1.1.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue2/bcf-components.es.js +52 -15
- package/dist/vue2/style.css +1 -1
- package/dist/vue3/bcf-components.es.js +62 -17
- package/dist/vue3/style.css +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ var __spreadValues = (a2, b2) => {
|
|
|
18
18
|
return a2;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
|
|
21
|
-
import { reactive, computed, ref, watch, inject } from "@vue/composition-api";
|
|
21
|
+
import { reactive, computed, ref, watch, toRaw, inject } from "@vue/composition-api";
|
|
22
22
|
let apiClient = null;
|
|
23
23
|
function setApiClient(client) {
|
|
24
24
|
apiClient = client;
|
|
@@ -81,16 +81,16 @@ function useBcfFilter(topics) {
|
|
|
81
81
|
}
|
|
82
82
|
return list;
|
|
83
83
|
});
|
|
84
|
-
function
|
|
84
|
+
function apply(f) {
|
|
85
85
|
Object.assign(filters, f);
|
|
86
86
|
}
|
|
87
87
|
function reset() {
|
|
88
|
-
|
|
88
|
+
apply(EMPTY_FILTERS);
|
|
89
89
|
}
|
|
90
90
|
return {
|
|
91
91
|
filters,
|
|
92
92
|
filteredTopics,
|
|
93
|
-
|
|
93
|
+
apply,
|
|
94
94
|
reset
|
|
95
95
|
};
|
|
96
96
|
}
|
|
@@ -1015,14 +1015,20 @@ const __vue2_script$j = {
|
|
|
1015
1015
|
return;
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
|
-
emit("submit",
|
|
1018
|
+
emit("submit", {
|
|
1019
|
+
filters: toRaw(filters),
|
|
1020
|
+
topics: filteredTopics.value
|
|
1021
|
+
});
|
|
1019
1022
|
isOpen.value = false;
|
|
1020
1023
|
};
|
|
1021
1024
|
const resetFilters = () => {
|
|
1022
1025
|
hasErrorStartDate.value = false;
|
|
1023
1026
|
hasErrorEndDate.value = false;
|
|
1024
1027
|
reset();
|
|
1025
|
-
emit("submit",
|
|
1028
|
+
emit("submit", {
|
|
1029
|
+
filters: toRaw(filters),
|
|
1030
|
+
topics: filteredTopics.value
|
|
1031
|
+
});
|
|
1026
1032
|
};
|
|
1027
1033
|
return {
|
|
1028
1034
|
creatorOptions,
|
|
@@ -1042,7 +1048,7 @@ const __vue2_script$j = {
|
|
|
1042
1048
|
}
|
|
1043
1049
|
};
|
|
1044
1050
|
const __cssModules$j = {};
|
|
1045
|
-
var __component__$j = /* @__PURE__ */ normalizeComponent(__vue2_script$j, render$j, staticRenderFns$j, false, __vue2_injectStyles$j, "
|
|
1051
|
+
var __component__$j = /* @__PURE__ */ normalizeComponent(__vue2_script$j, render$j, staticRenderFns$j, false, __vue2_injectStyles$j, "2db12d9a", null, null);
|
|
1046
1052
|
function __vue2_injectStyles$j(context) {
|
|
1047
1053
|
for (let o2 in __cssModules$j) {
|
|
1048
1054
|
this[o2] = __cssModules$j[o2];
|
|
@@ -2830,6 +2836,13 @@ const __vue2_script$8 = {
|
|
|
2830
2836
|
bcfTopic: {
|
|
2831
2837
|
type: Object
|
|
2832
2838
|
},
|
|
2839
|
+
components: {
|
|
2840
|
+
type: Object
|
|
2841
|
+
},
|
|
2842
|
+
annotations: {
|
|
2843
|
+
type: Array,
|
|
2844
|
+
default: () => []
|
|
2845
|
+
},
|
|
2833
2846
|
extensions: {
|
|
2834
2847
|
type: Object,
|
|
2835
2848
|
reuiqred: true
|
|
@@ -2920,6 +2933,10 @@ const __vue2_script$8 = {
|
|
|
2920
2933
|
}
|
|
2921
2934
|
try {
|
|
2922
2935
|
loading.value = true;
|
|
2936
|
+
if (props.components) {
|
|
2937
|
+
viewpoints.value.forEach((viewpoint) => viewpoint.components = props.components);
|
|
2938
|
+
viewpointsToCreate.forEach((viewpoint) => viewpoint.components = props.components);
|
|
2939
|
+
}
|
|
2923
2940
|
const data = {
|
|
2924
2941
|
guid: (_a = props.bcfTopic) == null ? void 0 : _a.guid,
|
|
2925
2942
|
title: topicTitle.value,
|
|
@@ -2930,7 +2947,8 @@ const __vue2_script$8 = {
|
|
|
2930
2947
|
assignedTo: topicAssignedTo.value,
|
|
2931
2948
|
dueDate: topicDate.value ? serialize(topicDate.value) : void 0,
|
|
2932
2949
|
description: topicDescription.value,
|
|
2933
|
-
labels: topicLabels.value
|
|
2950
|
+
labels: topicLabels.value,
|
|
2951
|
+
viewpoints: viewpoints.value
|
|
2934
2952
|
};
|
|
2935
2953
|
let newTopic;
|
|
2936
2954
|
if (isCreation.value) {
|
|
@@ -2974,7 +2992,7 @@ const __vue2_script$8 = {
|
|
|
2974
2992
|
}
|
|
2975
2993
|
};
|
|
2976
2994
|
const __cssModules$8 = {};
|
|
2977
|
-
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "
|
|
2995
|
+
var __component__$8 = /* @__PURE__ */ normalizeComponent(__vue2_script$8, render$8, staticRenderFns$8, false, __vue2_injectStyles$8, "95ae7c9a", null, null);
|
|
2978
2996
|
function __vue2_injectStyles$8(context) {
|
|
2979
2997
|
for (let o2 in __cssModules$8) {
|
|
2980
2998
|
this[o2] = __cssModules$8[o2];
|
|
@@ -3881,6 +3899,12 @@ var columnsDef = [
|
|
|
3881
3899
|
label: "Titre",
|
|
3882
3900
|
align: "left"
|
|
3883
3901
|
},
|
|
3902
|
+
{
|
|
3903
|
+
id: "creator",
|
|
3904
|
+
label: "Cr\xE9\xE9 par",
|
|
3905
|
+
width: "120px",
|
|
3906
|
+
align: "center"
|
|
3907
|
+
},
|
|
3884
3908
|
{
|
|
3885
3909
|
id: "date",
|
|
3886
3910
|
label: "Date",
|
|
@@ -4166,7 +4190,7 @@ var render = function() {
|
|
|
4166
4190
|
var _vm = this;
|
|
4167
4191
|
var _h = _vm.$createElement;
|
|
4168
4192
|
var _c = _vm._self._c || _h;
|
|
4169
|
-
return _c("BIMDataTable", { staticClass: "bcf-topics-table", attrs: { "columns": _vm.
|
|
4193
|
+
return _c("BIMDataTable", { staticClass: "bcf-topics-table", attrs: { "columns": _vm.displayedColumns, "rows": _vm.bcfTopics, "rowKey": "guid", "paginated": _vm.paginated, "perPage": _vm.perPage, "rowHeight": 42 }, scopedSlots: _vm._u([{ key: "cell-index", fn: function(ref2) {
|
|
4170
4194
|
var bcfTopic = ref2.row;
|
|
4171
4195
|
return [_vm._v(" " + _vm._s(bcfTopic.index) + " ")];
|
|
4172
4196
|
} }, { key: "cell-priority", fn: function(ref2) {
|
|
@@ -4178,6 +4202,11 @@ var render = function() {
|
|
|
4178
4202
|
} }, { key: "cell-title", fn: function(ref2) {
|
|
4179
4203
|
var bcfTopic = ref2.row;
|
|
4180
4204
|
return [_c("BIMDataTextbox", { attrs: { "maxWidth": "100%", "text": bcfTopic.title } })];
|
|
4205
|
+
} }, { key: "cell-creator", fn: function(ref2) {
|
|
4206
|
+
var ref_row = ref2.row;
|
|
4207
|
+
var creator = ref_row.creator;
|
|
4208
|
+
var creationAuthor = ref_row.creationAuthor;
|
|
4209
|
+
return [creator ? [_c("UserAvatar", { staticStyle: { "margin": "auto" }, attrs: { "user": creator, "size": 30 } })] : [_c("BIMDataTextbox", { attrs: { "maxWidth": "120px", "text": creationAuthor } })]];
|
|
4181
4210
|
} }, { key: "cell-date", fn: function(ref2) {
|
|
4182
4211
|
var bcfTopic = ref2.row;
|
|
4183
4212
|
return [_vm._v(" " + _vm._s(_vm.$d(bcfTopic.creationDate, "short")) + " ")];
|
|
@@ -4195,7 +4224,8 @@ const __vue2_script = {
|
|
|
4195
4224
|
BcfTopicPriorityCell,
|
|
4196
4225
|
BcfTopicStatusCell,
|
|
4197
4226
|
BIMDataTable: h,
|
|
4198
|
-
BIMDataTextbox: l$2
|
|
4227
|
+
BIMDataTextbox: l$2,
|
|
4228
|
+
UserAvatar
|
|
4199
4229
|
},
|
|
4200
4230
|
props: {
|
|
4201
4231
|
bcfTopics: {
|
|
@@ -4206,18 +4236,25 @@ const __vue2_script = {
|
|
|
4206
4236
|
type: Object,
|
|
4207
4237
|
required: true
|
|
4208
4238
|
},
|
|
4239
|
+
paginated: {
|
|
4240
|
+
type: Boolean,
|
|
4241
|
+
default: false
|
|
4242
|
+
},
|
|
4209
4243
|
perPage: {
|
|
4210
4244
|
type: Number,
|
|
4211
|
-
default:
|
|
4245
|
+
default: 10
|
|
4246
|
+
},
|
|
4247
|
+
columns: {
|
|
4248
|
+
type: Array
|
|
4212
4249
|
}
|
|
4213
4250
|
},
|
|
4214
4251
|
emits: [
|
|
4215
4252
|
"open-bcf-topic"
|
|
4216
4253
|
],
|
|
4217
|
-
setup() {
|
|
4218
|
-
const
|
|
4254
|
+
setup(props) {
|
|
4255
|
+
const displayedColumns = computed(() => props.columns && props.columns.length > 0 ? columnsDef.filter((c2) => props.columns.includes(c2.id)) : columnsDef);
|
|
4219
4256
|
return {
|
|
4220
|
-
|
|
4257
|
+
displayedColumns
|
|
4221
4258
|
};
|
|
4222
4259
|
}
|
|
4223
4260
|
};
|
package/dist/vue2/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.bcf-filters__btn-toggle[data-v-8221b7a8]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-8221b7a8]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-8221b7a8]{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-8221b7a8]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-8221b7a8]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-8221b7a8]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-8221b7a8]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-8221b7a8]{display:flex;justify-content:center}.setting-card-item[data-v-33d9bbba]{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-33d9bbba]{display:flex;align-items:center}.setting-card-item__color[data-v-33d9bbba]{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-33d9bbba]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-33d9bbba]{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-72c52d15]{margin:var(--spacing-unit) 0;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background:var(--color-white)}.setting-card__header[data-v-72c52d15]{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.setting-card__header__text[data-v-72c52d15]{font-weight:700}.setting-card__header__icons[data-v-72c52d15]{display:flex;align-items:center;gap:calc(var(--spacing-unit) * 2)}.setting-card__header__icons .count[data-v-72c52d15]{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-72c52d15]{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-72c52d15]{margin-bottom:var(--spacing-unit)}.setting-card__add-form .actions[data-v-72c52d15]{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-5dc331a8]{width:400px}.bcf-statistics__content[data-v-5dc331a8]{position:relative;display:flex}.bcf-statistics__content__chart[data-v-5dc331a8]{flex:1}.bcf-statistics__content__legend[data-v-5dc331a8]{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-5dc331a8]{font-weight:700}.bcf-statistics__content__legend__item[data-v-5dc331a8]{display:flex;align-items:center;line-height:24px}.bcf-statistics__content__legend__item__mark[data-v-5dc331a8]{width:10px;height:10px;border:3px solid;border-radius:50px}.bcf-statistics__content__legend__item__percent[data-v-5dc331a8]{margin:0 calc(var(--spacing-unit) / 2);font-weight:700}.bcf-statistics__content__legend__item__text .total[data-v-5dc331a8]{font-size:13px}.bcf-statistics__content__legend[data-v-5dc331a8] .bimdata-paginated-list ul:first-child{height:144px}.bcf-topic-card[data-v-275da59e]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-275da59e]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-275da59e]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-275da59e]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-275da59e]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-275da59e]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-275da59e]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-275da59e]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-275da59e]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-275da59e]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-275da59e]{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-6ca9dbd4]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-6ca9dbd4]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]{position:relative}.bcf-topic-images__images .image-preview img[data-v-6ca9dbd4]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-6ca9dbd4]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-6ca9dbd4]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-6ca9dbd4]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-6ca9dbd4]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-6ca9dbd4]{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-6ca9dbd4]{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-3de95244]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-3de95244]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-3de95244]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-3de95244]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-3de95244]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-3de95244]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-3de95244]{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-6300b837]{height:100%}.bcf-topic-form__content[data-v-6300b837]{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-6300b837]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-6300b837],.bcf-topic-form__content__head__date[data-v-6300b837]{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-6300b837]{min-width:50px}.bcf-topic-form__content__head__date[data-v-6300b837]{min-width:100px}.bcf-topic-form__content__actions[data-v-6300b837]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions .bimdata-btn[data-v-6300b837]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-6300b837]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-6300b837] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-6300b837] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-6300b837]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-6300b837]{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-555abc52]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-555abc52]{width:100%;height:100%}.user-avatar--primary[data-v-555abc52]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-555abc52]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-555abc52]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-4016a6b4]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-4016a6b4]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-4016a6b4]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-4016a6b4]{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-4016a6b4] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-4016a6b4] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-4016a6b4] .bimdata-textarea:not(.editing) .bar{display:none}.bcf-topic-comments p[data-v-35edf7c8]{font-weight:700}.bcf-topic-comments[data-v-35edf7c8] .bimdata-textarea{width:100%}.bcf-topic-overview[data-v-e37ec164]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-e37ec164]{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-e37ec164]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-e37ec164]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-e37ec164]{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-e37ec164]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-e37ec164],.bcf-topic-overview__content__head__date[data-v-e37ec164]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-e37ec164]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-e37ec164]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-e37ec164]{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-e37ec164]{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-e37ec164] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-e37ec164]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-e37ec164]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-e37ec164]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-e37ec164]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-e37ec164]{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-e37ec164]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-e37ec164]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-e37ec164]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-4f85c962]{margin:auto}.bcf-topic-priority-cell[data-v-42770510]{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-9af43d36]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
|
|
1
|
+
.bcf-filters__btn-toggle[data-v-2db12d9a]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-2db12d9a]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-2db12d9a]{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-2db12d9a]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-2db12d9a]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-2db12d9a]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-2db12d9a]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-2db12d9a]{display:flex;justify-content:center}.setting-card-item[data-v-33d9bbba]{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-33d9bbba]{display:flex;align-items:center}.setting-card-item__color[data-v-33d9bbba]{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-33d9bbba]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-33d9bbba]{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-72c52d15]{margin:var(--spacing-unit) 0;padding:var(--spacing-unit);box-shadow:var(--box-shadow);background:var(--color-white)}.setting-card__header[data-v-72c52d15]{display:flex;justify-content:space-between;align-items:center;cursor:pointer}.setting-card__header__text[data-v-72c52d15]{font-weight:700}.setting-card__header__icons[data-v-72c52d15]{display:flex;align-items:center;gap:calc(var(--spacing-unit) * 2)}.setting-card__header__icons .count[data-v-72c52d15]{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-72c52d15]{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-72c52d15]{margin-bottom:var(--spacing-unit)}.setting-card__add-form .actions[data-v-72c52d15]{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-5dc331a8]{width:400px}.bcf-statistics__content[data-v-5dc331a8]{position:relative;display:flex}.bcf-statistics__content__chart[data-v-5dc331a8]{flex:1}.bcf-statistics__content__legend[data-v-5dc331a8]{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-5dc331a8]{font-weight:700}.bcf-statistics__content__legend__item[data-v-5dc331a8]{display:flex;align-items:center;line-height:24px}.bcf-statistics__content__legend__item__mark[data-v-5dc331a8]{width:10px;height:10px;border:3px solid;border-radius:50px}.bcf-statistics__content__legend__item__percent[data-v-5dc331a8]{margin:0 calc(var(--spacing-unit) / 2);font-weight:700}.bcf-statistics__content__legend__item__text .total[data-v-5dc331a8]{font-size:13px}.bcf-statistics__content__legend[data-v-5dc331a8] .bimdata-paginated-list ul:first-child{height:144px}.bcf-topic-card[data-v-275da59e]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-275da59e]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-275da59e]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-275da59e]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-275da59e]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-275da59e]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-275da59e]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-275da59e]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-275da59e]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-275da59e]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-275da59e]{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-6ca9dbd4]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-6ca9dbd4]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]{position:relative}.bcf-topic-images__images .image-preview img[data-v-6ca9dbd4]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-6ca9dbd4]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-6ca9dbd4]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-6ca9dbd4]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-6ca9dbd4]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-6ca9dbd4]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-6ca9dbd4]{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-6ca9dbd4]{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-3de95244]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-3de95244]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-3de95244]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-3de95244]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-3de95244]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-3de95244]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-3de95244]{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-95ae7c9a]{height:100%}.bcf-topic-form__content[data-v-95ae7c9a]{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-95ae7c9a]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-95ae7c9a],.bcf-topic-form__content__head__date[data-v-95ae7c9a]{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-95ae7c9a]{min-width:50px}.bcf-topic-form__content__head__date[data-v-95ae7c9a]{min-width:100px}.bcf-topic-form__content__actions[data-v-95ae7c9a]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions .bimdata-btn[data-v-95ae7c9a]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-95ae7c9a]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-95ae7c9a] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-95ae7c9a] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-95ae7c9a]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-95ae7c9a]{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-555abc52]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-555abc52]{width:100%;height:100%}.user-avatar--primary[data-v-555abc52]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-555abc52]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-555abc52]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-4016a6b4]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-4016a6b4]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-4016a6b4]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-4016a6b4]{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-4016a6b4] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-4016a6b4] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-4016a6b4] .bimdata-textarea:not(.editing) .bar{display:none}.bcf-topic-comments p[data-v-35edf7c8]{font-weight:700}.bcf-topic-comments[data-v-35edf7c8] .bimdata-textarea{width:100%}.bcf-topic-overview[data-v-e37ec164]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-e37ec164]{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-e37ec164]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-e37ec164]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-e37ec164]{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-e37ec164]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-e37ec164],.bcf-topic-overview__content__head__date[data-v-e37ec164]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-e37ec164]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-e37ec164]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-e37ec164]{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-e37ec164]{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-e37ec164] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-e37ec164] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-e37ec164]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-e37ec164]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-e37ec164]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-e37ec164]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-e37ec164]{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-e37ec164]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-e37ec164]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-e37ec164]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-4f85c962]{margin:auto}.bcf-topic-priority-cell[data-v-42770510]{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-9af43d36]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
|
|
@@ -18,7 +18,7 @@ var __spreadValues = (a2, b2) => {
|
|
|
18
18
|
return a2;
|
|
19
19
|
};
|
|
20
20
|
var __spreadProps = (a2, b2) => __defProps(a2, __getOwnPropDescs(b2));
|
|
21
|
-
import { reactive, computed, ref, watch, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createElementVNode, createBlock, resolveDynamicComponent, pushScopeId, popScopeId, mergeProps, toDisplayString, createCommentVNode, createTextVNode, resolveComponent, createVNode, resolveDirective, withDirectives, Transition, withCtx, Fragment, renderList, vShow, withKeys, withModifiers, createSlots, createStaticVNode, inject } from "vue";
|
|
21
|
+
import { reactive, computed, ref, watch, openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createElementVNode, createBlock, resolveDynamicComponent, pushScopeId, popScopeId, mergeProps, toDisplayString, createCommentVNode, createTextVNode, resolveComponent, createVNode, resolveDirective, withDirectives, Transition, withCtx, Fragment, renderList, vShow, toRaw, withKeys, withModifiers, createSlots, createStaticVNode, inject } from "vue";
|
|
22
22
|
let apiClient = null;
|
|
23
23
|
function setApiClient(client) {
|
|
24
24
|
apiClient = client;
|
|
@@ -81,16 +81,16 @@ function useBcfFilter(topics) {
|
|
|
81
81
|
}
|
|
82
82
|
return list;
|
|
83
83
|
});
|
|
84
|
-
function
|
|
84
|
+
function apply(f2) {
|
|
85
85
|
Object.assign(filters, f2);
|
|
86
86
|
}
|
|
87
87
|
function reset() {
|
|
88
|
-
|
|
88
|
+
apply(EMPTY_FILTERS);
|
|
89
89
|
}
|
|
90
90
|
return {
|
|
91
91
|
filters,
|
|
92
92
|
filteredTopics,
|
|
93
|
-
|
|
93
|
+
apply,
|
|
94
94
|
reset
|
|
95
95
|
};
|
|
96
96
|
}
|
|
@@ -826,14 +826,20 @@ const _sfc_main$j = {
|
|
|
826
826
|
return;
|
|
827
827
|
}
|
|
828
828
|
}
|
|
829
|
-
emit("submit",
|
|
829
|
+
emit("submit", {
|
|
830
|
+
filters: toRaw(filters),
|
|
831
|
+
topics: filteredTopics.value
|
|
832
|
+
});
|
|
830
833
|
isOpen.value = false;
|
|
831
834
|
};
|
|
832
835
|
const resetFilters = () => {
|
|
833
836
|
hasErrorStartDate.value = false;
|
|
834
837
|
hasErrorEndDate.value = false;
|
|
835
838
|
reset();
|
|
836
|
-
emit("submit",
|
|
839
|
+
emit("submit", {
|
|
840
|
+
filters: toRaw(filters),
|
|
841
|
+
topics: filteredTopics.value
|
|
842
|
+
});
|
|
837
843
|
};
|
|
838
844
|
return {
|
|
839
845
|
creatorOptions,
|
|
@@ -1022,7 +1028,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1022
1028
|
[_directive_click_away, $setup.close]
|
|
1023
1029
|
]);
|
|
1024
1030
|
}
|
|
1025
|
-
var BcfFilters = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
1031
|
+
var BcfFilters = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-077f83aa"]]);
|
|
1026
1032
|
const EXTENSION_TYPES = [
|
|
1027
1033
|
"Priority",
|
|
1028
1034
|
"Type",
|
|
@@ -2916,6 +2922,13 @@ const _sfc_main$8 = {
|
|
|
2916
2922
|
bcfTopic: {
|
|
2917
2923
|
type: Object
|
|
2918
2924
|
},
|
|
2925
|
+
components: {
|
|
2926
|
+
type: Object
|
|
2927
|
+
},
|
|
2928
|
+
annotations: {
|
|
2929
|
+
type: Array,
|
|
2930
|
+
default: () => []
|
|
2931
|
+
},
|
|
2919
2932
|
extensions: {
|
|
2920
2933
|
type: Object,
|
|
2921
2934
|
reuiqred: true
|
|
@@ -3006,6 +3019,10 @@ const _sfc_main$8 = {
|
|
|
3006
3019
|
}
|
|
3007
3020
|
try {
|
|
3008
3021
|
loading.value = true;
|
|
3022
|
+
if (props.components) {
|
|
3023
|
+
viewpoints.value.forEach((viewpoint) => viewpoint.components = props.components);
|
|
3024
|
+
viewpointsToCreate.forEach((viewpoint) => viewpoint.components = props.components);
|
|
3025
|
+
}
|
|
3009
3026
|
const data = {
|
|
3010
3027
|
guid: (_a = props.bcfTopic) == null ? void 0 : _a.guid,
|
|
3011
3028
|
title: topicTitle.value,
|
|
@@ -3016,7 +3033,8 @@ const _sfc_main$8 = {
|
|
|
3016
3033
|
assignedTo: topicAssignedTo.value,
|
|
3017
3034
|
dueDate: topicDate.value ? serialize(topicDate.value) : void 0,
|
|
3018
3035
|
description: topicDescription.value,
|
|
3019
|
-
labels: topicLabels.value
|
|
3036
|
+
labels: topicLabels.value,
|
|
3037
|
+
viewpoints: viewpoints.value
|
|
3020
3038
|
};
|
|
3021
3039
|
let newTopic;
|
|
3022
3040
|
if (isCreation.value) {
|
|
@@ -3257,7 +3275,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3257
3275
|
})) : createCommentVNode("", true)
|
|
3258
3276
|
]);
|
|
3259
3277
|
}
|
|
3260
|
-
var BcfTopicForm = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
3278
|
+
var BcfTopicForm = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-0f93cc73"]]);
|
|
3261
3279
|
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() {
|
|
3262
3280
|
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 };
|
|
3263
3281
|
}, style() {
|
|
@@ -4606,6 +4624,12 @@ var columnsDef = [
|
|
|
4606
4624
|
label: "Titre",
|
|
4607
4625
|
align: "left"
|
|
4608
4626
|
},
|
|
4627
|
+
{
|
|
4628
|
+
id: "creator",
|
|
4629
|
+
label: "Cr\xE9\xE9 par",
|
|
4630
|
+
width: "120px",
|
|
4631
|
+
align: "center"
|
|
4632
|
+
},
|
|
4609
4633
|
{
|
|
4610
4634
|
id: "date",
|
|
4611
4635
|
label: "Date",
|
|
@@ -4855,7 +4879,8 @@ const _sfc_main = {
|
|
|
4855
4879
|
BcfTopicPriorityCell,
|
|
4856
4880
|
BcfTopicStatusCell,
|
|
4857
4881
|
BIMDataTable: P,
|
|
4858
|
-
BIMDataTextbox: s$1
|
|
4882
|
+
BIMDataTextbox: s$1,
|
|
4883
|
+
UserAvatar
|
|
4859
4884
|
},
|
|
4860
4885
|
props: {
|
|
4861
4886
|
bcfTopics: {
|
|
@@ -4866,18 +4891,25 @@ const _sfc_main = {
|
|
|
4866
4891
|
type: Object,
|
|
4867
4892
|
required: true
|
|
4868
4893
|
},
|
|
4894
|
+
paginated: {
|
|
4895
|
+
type: Boolean,
|
|
4896
|
+
default: false
|
|
4897
|
+
},
|
|
4869
4898
|
perPage: {
|
|
4870
4899
|
type: Number,
|
|
4871
|
-
default:
|
|
4900
|
+
default: 10
|
|
4901
|
+
},
|
|
4902
|
+
columns: {
|
|
4903
|
+
type: Array
|
|
4872
4904
|
}
|
|
4873
4905
|
},
|
|
4874
4906
|
emits: [
|
|
4875
4907
|
"open-bcf-topic"
|
|
4876
4908
|
],
|
|
4877
|
-
setup() {
|
|
4878
|
-
const
|
|
4909
|
+
setup(props) {
|
|
4910
|
+
const displayedColumns = computed(() => props.columns && props.columns.length > 0 ? columnsDef.filter((c2) => props.columns.includes(c2.id)) : columnsDef);
|
|
4879
4911
|
return {
|
|
4880
|
-
|
|
4912
|
+
displayedColumns
|
|
4881
4913
|
};
|
|
4882
4914
|
}
|
|
4883
4915
|
};
|
|
@@ -4885,14 +4917,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4885
4917
|
const _component_BcfTopicPriorityCell = resolveComponent("BcfTopicPriorityCell");
|
|
4886
4918
|
const _component_BcfTopicStatusCell = resolveComponent("BcfTopicStatusCell");
|
|
4887
4919
|
const _component_BIMDataTextbox = resolveComponent("BIMDataTextbox");
|
|
4920
|
+
const _component_UserAvatar = resolveComponent("UserAvatar");
|
|
4888
4921
|
const _component_BcfTopicActionsCell = resolveComponent("BcfTopicActionsCell");
|
|
4889
4922
|
const _component_BIMDataTable = resolveComponent("BIMDataTable");
|
|
4890
4923
|
return openBlock(), createBlock(_component_BIMDataTable, {
|
|
4891
4924
|
class: "bcf-topics-table",
|
|
4892
|
-
columns: $setup.
|
|
4925
|
+
columns: $setup.displayedColumns,
|
|
4893
4926
|
rows: $props.bcfTopics,
|
|
4894
4927
|
rowKey: "guid",
|
|
4895
|
-
paginated:
|
|
4928
|
+
paginated: $props.paginated,
|
|
4896
4929
|
perPage: $props.perPage,
|
|
4897
4930
|
rowHeight: 42
|
|
4898
4931
|
}, {
|
|
@@ -4918,6 +4951,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4918
4951
|
text: bcfTopic.title
|
|
4919
4952
|
}, null, 8, ["text"])
|
|
4920
4953
|
]),
|
|
4954
|
+
"cell-creator": withCtx(({ row: { creator, creationAuthor } }) => [
|
|
4955
|
+
creator ? (openBlock(), createBlock(_component_UserAvatar, {
|
|
4956
|
+
key: 0,
|
|
4957
|
+
user: creator,
|
|
4958
|
+
size: 30,
|
|
4959
|
+
style: { "margin": "auto" }
|
|
4960
|
+
}, null, 8, ["user"])) : (openBlock(), createBlock(_component_BIMDataTextbox, {
|
|
4961
|
+
key: 1,
|
|
4962
|
+
maxWidth: "120px",
|
|
4963
|
+
text: creationAuthor
|
|
4964
|
+
}, null, 8, ["text"]))
|
|
4965
|
+
]),
|
|
4921
4966
|
"cell-date": withCtx(({ row: bcfTopic }) => [
|
|
4922
4967
|
createTextVNode(toDisplayString(_ctx.$d(bcfTopic.creationDate, "short")), 1)
|
|
4923
4968
|
]),
|
|
@@ -4928,7 +4973,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4928
4973
|
}, null, 8, ["bcfTopic"])
|
|
4929
4974
|
]),
|
|
4930
4975
|
_: 1
|
|
4931
|
-
}, 8, ["columns", "rows", "perPage"]);
|
|
4976
|
+
}, 8, ["columns", "rows", "paginated", "perPage"]);
|
|
4932
4977
|
}
|
|
4933
4978
|
var BcfTopicsTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
4934
4979
|
const components = {
|
package/dist/vue3/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.bcf-filters__btn-toggle[data-v-f082722c]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-f082722c]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-f082722c]{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-f082722c]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-f082722c]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-f082722c]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-f082722c]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-f082722c]{display:flex;justify-content:center}.setting-card-item[data-v-263afb1b]{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-263afb1b]{display:flex;align-items:center}.setting-card-item__color[data-v-263afb1b]{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-263afb1b]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-263afb1b]{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:400px}.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-6bf8a944]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-6bf8a944]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-6bf8a944]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-6bf8a944]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-6bf8a944]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-6bf8a944]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-6bf8a944]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-6bf8a944]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-6bf8a944]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-6bf8a944]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-6bf8a944]{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-428a3422]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-428a3422]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-428a3422]{position:relative}.bcf-topic-images__images .image-preview img[data-v-428a3422]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-428a3422]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-428a3422]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-428a3422]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-428a3422]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-428a3422]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-428a3422]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-428a3422]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-428a3422]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-428a3422]{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-428a3422]{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-1c93719c]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-1c93719c]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-1c93719c]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-1c93719c]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-1c93719c]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-1c93719c]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-1c93719c]{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-6751e577]{height:100%}.bcf-topic-form__content[data-v-6751e577]{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-6751e577]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-6751e577],.bcf-topic-form__content__head__date[data-v-6751e577]{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-6751e577]{min-width:50px}.bcf-topic-form__content__head__date[data-v-6751e577]{min-width:100px}.bcf-topic-form__content__actions[data-v-6751e577]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions .bimdata-btn[data-v-6751e577]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-6751e577]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-6751e577] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-6751e577] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-6751e577]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-6751e577]{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-f84b809a]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-f84b809a]{width:100%;height:100%}.user-avatar--primary[data-v-f84b809a]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-f84b809a]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-f84b809a]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-b9f88f20]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-b9f88f20]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-b9f88f20]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-b9f88f20]{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-b9f88f20] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-b9f88f20] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-b9f88f20] .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-f1df5924]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-f1df5924]{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-f1df5924]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-f1df5924]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-f1df5924]{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-f1df5924]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-f1df5924],.bcf-topic-overview__content__head__date[data-v-f1df5924]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-f1df5924]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-f1df5924]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-f1df5924]{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-f1df5924]{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-f1df5924] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-f1df5924]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-f1df5924]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-f1df5924]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-f1df5924]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-f1df5924]{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-f1df5924]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-f1df5924]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-f1df5924]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-4e8d8704]{margin:auto}.bcf-topic-priority-cell[data-v-4584461c]{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-ef484b2a]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
|
|
1
|
+
.bcf-filters__btn-toggle[data-v-077f83aa]:enabled{color:var(--color-primary)}.bcf-filters__btn-toggle[data-v-077f83aa]:disabled{background-color:var(--color-white);color:var(--color-silver-dark)}.bcf-filters__container[data-v-077f83aa]{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-077f83aa]{display:flex;justify-content:space-between;align-items:center}.bcf-filters__container__header__title[data-v-077f83aa]{font-size:1.1rem;font-weight:700}.bcf-filters__container__date[data-v-077f83aa]{display:flex;gap:calc(var(--spacing-unit) / 2)}.bcf-filters__container__date .example[data-v-077f83aa]{margin-top:calc(var(--spacing-unit) / 2);font-size:11px}.bcf-filters__container__actions[data-v-077f83aa]{display:flex;justify-content:center}.setting-card-item[data-v-263afb1b]{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-263afb1b]{display:flex;align-items:center}.setting-card-item__color[data-v-263afb1b]{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-263afb1b]{position:absolute;z-index:1;top:37px;right:-12px}.setting-card-item__delete-guard[data-v-263afb1b]{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:400px}.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-6bf8a944]{position:relative;width:336px;height:307px}.bcf-topic-card__header[data-v-6bf8a944]{min-height:204px;box-shadow:var(--box-shadow)}.bcf-topic-card__header__infos[data-v-6bf8a944]{height:32px;background-color:var(--color-white)}.bcf-topic-card__header__infos__index[data-v-6bf8a944]{padding:3px;min-width:32px;background-color:var(--color-silver);color:var(--color-text)}.bcf-topic-card__header__infos__title[data-v-6bf8a944]{width:calc(100% - var(--spacing-unit) * 2 - 32px);color:var(--color-primary)}.bcf-topic-card__header__img[data-v-6bf8a944]{height:172px;position:relative}.bcf-topic-card__header__img img[data-v-6bf8a944]{width:100%;height:100%;object-fit:cover}.bcf-topic-card__header__img .default-img[data-v-6bf8a944]{width:120px;height:120px}.bcf-topic-card__header__img__status[data-v-6bf8a944]{position:absolute;top:6px;left:6px;border-radius:3px}.bcf-topic-card__header__img__date[data-v-6bf8a944]{position:absolute;bottom:0;right:0;font-size:11px;background-color:var(--color-white)}.bcf-topic-card__content[data-v-6bf8a944]{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-428a3422]{display:flex;flex-direction:column;gap:var(--spacing-unit)}.bcf-topic-images__images[data-v-428a3422]{width:100%;height:262px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bcf-topic-images__images .image-preview[data-v-428a3422]{position:relative}.bcf-topic-images__images .image-preview img[data-v-428a3422]{width:100%;height:100%;object-fit:cover}.bcf-topic-images__images .image-preview .btn-delete[data-v-428a3422]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-images__images .image-preview:first-child.single[data-v-428a3422]{height:262px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-428a3422]:first-child:not(.single){height:180px;grid-area:1/1/2/4}.bcf-topic-images__images .image-preview[data-v-428a3422]:nth-child(2){height:72px;grid-area:2/1/3/2}.bcf-topic-images__images .image-preview[data-v-428a3422]:nth-child(3){height:72px;grid-area:2/2/3/3}.bcf-topic-images__images .image-preview[data-v-428a3422]:nth-child(4){height:72px;grid-area:2/3/3/4}.bcf-topic-images .btn-upload label[data-v-428a3422]{display:flex;justify-content:center;align-items:center}.bcf-topic-images .btn-upload:not(:disabled) label[data-v-428a3422]{width:100%;height:100%;cursor:pointer}.bcf-topic-images__upload[data-v-428a3422]{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-428a3422]{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-1c93719c]{width:100%;min-height:180px;max-height:262px;display:flex;flex-wrap:wrap;gap:10px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-1c93719c]{position:relative}.bcf-topic-snapshots__snapshots .snapshot-preview img[data-v-1c93719c]{width:100%;height:100%;object-fit:cover}.bcf-topic-snapshots__snapshots .snapshot-preview .btn-delete[data-v-1c93719c]{position:absolute;top:calc(50% - 16px);left:calc(50% - 16px)}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-1c93719c]:first-child{width:100%;height:180px}.bcf-topic-snapshots__snapshots .snapshot-preview[data-v-1c93719c]:not(:first-child){width:30%;height:72px}.bcf-topic-snapshots__create[data-v-1c93719c]{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-0f93cc73]{height:100%}.bcf-topic-form__content[data-v-0f93cc73]{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-0f93cc73]{height:27px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.bcf-topic-form__content__head__index[data-v-0f93cc73],.bcf-topic-form__content__head__date[data-v-0f93cc73]{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-0f93cc73]{min-width:50px}.bcf-topic-form__content__head__date[data-v-0f93cc73]{min-width:100px}.bcf-topic-form__content__actions[data-v-0f93cc73]{display:flex;gap:var(--spacing-unit)}.bcf-topic-form__content__actions .bimdata-btn[data-v-0f93cc73]{flex-grow:1}.bcf-topic-form__content__body .bimdata-select[data-v-0f93cc73]{margin:30px 0;font-size:13px}.bcf-topic-form__content__body[data-v-0f93cc73] .bimdata-input input{font-size:13px;color:var(--color-granite)}.bcf-topic-form__content__body[data-v-0f93cc73] .bimdata-textarea textarea{font-family:var(--primary-font);font-size:13px;color:var(--color-granite);resize:vertical}.bcf-topic-form__footer[data-v-0f93cc73]{padding:var(--spacing-unit) calc(var(--spacing-unit) / 2)}.bcf-topic-form__loader[data-v-0f93cc73]{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-f84b809a]{min-width:32px;min-height:32px;display:flex;justify-content:center;align-items:center;border-radius:50%;overflow:hidden}.user-avatar img[data-v-f84b809a]{width:100%;height:100%}.user-avatar--primary[data-v-f84b809a]{background-color:var(--color-primary);color:var(--color-silver-light)}.user-avatar--secondary[data-v-f84b809a]{background-color:var(--color-secondary);color:var(--color-primary)}.user-avatar--silver-light[data-v-f84b809a]{background-color:var(--color-silver-light);color:var(--color-primary)}.topic-comment__header[data-v-b9f88f20]{position:relative;font-weight:700}.topic-comment__header__left__user[data-v-b9f88f20]{width:32px;height:32px;border-radius:50px;background-color:var(--color-silver-light)}.topic-comment__header__right__actions[data-v-b9f88f20]{position:absolute;top:0;right:0;background-color:var(--color-white)}.topic-comment__header__right__delete[data-v-b9f88f20]{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-b9f88f20] .bimdata-textarea{margin-bottom:calc(var(--spacing-unit) / 2)}.topic-comment__content[data-v-b9f88f20] .bimdata-textarea textarea{font-family:Roboto;color:var(--color-granite)}.topic-comment__content[data-v-b9f88f20] .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-f1df5924]{height:100%;font-size:12px}.bcf-topic-overview__header[data-v-f1df5924]{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-f1df5924]{flex-grow:1;font-size:14px;font-weight:700}.bcf-topic-overview__header__actions[data-v-f1df5924]{display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content[data-v-f1df5924]{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-f1df5924]{height:27px;display:flex;justify-content:space-between;align-items:center}.bcf-topic-overview__content__head__index[data-v-f1df5924],.bcf-topic-overview__content__head__date[data-v-f1df5924]{height:100%;padding:calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}.bcf-topic-overview__content__head__index[data-v-f1df5924]{min-width:50px}.bcf-topic-overview__content__head__date[data-v-f1df5924]{min-width:100px;background-color:var(--color-silver-light);color:var(--color-primary)}.bcf-topic-overview__content__image[data-v-f1df5924]{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-f1df5924]{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-f1df5924] .bimdata-carousel{height:100%}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__container{height:100%;margin:0;padding:0;overflow:hidden}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__container__slider{height:100%!important}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__btn-prev{left:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image[data-v-f1df5924] .bimdata-carousel .bimdata-carousel__btn-next{right:calc(var(--spacing-unit) / 2)}.bcf-topic-overview__content__image .snapshot-preview[data-v-f1df5924]{position:relative;width:100%;height:100%}.bcf-topic-overview__content__image .snapshot-preview img[data-v-f1df5924]{width:100%;height:100%;object-fit:cover}.bcf-topic-overview__content__image .default-image[data-v-f1df5924]{width:170px;height:170px;padding:12px}.bcf-topic-overview__content__card[data-v-f1df5924]{padding:var(--spacing-unit);box-shadow:var(--box-shadow);line-height:1.5}.bcf-topic-overview__content__card .title[data-v-f1df5924]{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-f1df5924]{margin-right:4px;font-weight:700;color:var(--color-primary)}.bcf-topic-overview__content__card .line .value[data-v-f1df5924]{color:var(--color-granite)}.bcf-topic-overview .delete-modal[data-v-f1df5924]{z-index:10}.bcf-topic-actions-cell .bimdata-btn[data-v-4e8d8704]{margin:auto}.bcf-topic-priority-cell[data-v-4584461c]{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-ef484b2a]{height:42px;padding:0 calc(var(--spacing-unit) / 2);display:flex;justify-content:center;align-items:center}
|