@bimdata/bcf-components 2.0.0-alpha.1 → 2.0.0-rc.1

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.
@@ -36,6 +36,11 @@ function serialize(date) {
36
36
  function deserialize$1(date) {
37
37
  return date.toISOString().split("T")[0].split("-").reverse().join("/");
38
38
  }
39
+ function deserializeShort(date) {
40
+ const a2 = date.toISOString().split("T")[0].split("-").reverse();
41
+ a2[2] = a2[2].slice(-2);
42
+ return a2.join("/");
43
+ }
39
44
  function validate(date) {
40
45
  if (!date) {
41
46
  return true;
@@ -167,6 +172,41 @@ function useBcfSort(topics) {
167
172
  sortOrderDate
168
173
  };
169
174
  }
175
+ const EXTENSION_TYPES = [
176
+ "Priority",
177
+ "Type",
178
+ "Stage",
179
+ "Status",
180
+ "Label"
181
+ ];
182
+ const EXTENSION_WITH_COLOR = [
183
+ "Priority",
184
+ "Status"
185
+ ];
186
+ const EXTENSION_FIELDS = {
187
+ Priority: "priority",
188
+ Type: "topic_type",
189
+ Stage: "stage",
190
+ Status: "topic_status",
191
+ Label: "label"
192
+ };
193
+ const EXTENSION_LIST_FIELDS = {
194
+ Priority: "priorities",
195
+ Type: "topic_types",
196
+ Stage: "stages",
197
+ Status: "topic_statuses",
198
+ Label: "topic_labels"
199
+ };
200
+ const DEFAULT_PRIORITY_COLOR = "D8D8D8";
201
+ const DEFAULT_STATUS_COLOR = "D8D8D8";
202
+ function getPriorityColor(topic, detailedExtensions) {
203
+ const priorityDetail = detailedExtensions.priorities.find((p2) => p2.priority === topic.priority);
204
+ return (priorityDetail == null ? void 0 : priorityDetail.color) || DEFAULT_PRIORITY_COLOR;
205
+ }
206
+ function getStatusColor(topic, detailedExtensions) {
207
+ const statusDetail = detailedExtensions.topic_statuses.find((s2) => s2.topic_status === topic.topic_status);
208
+ return (statusDetail == null ? void 0 : statusDetail.color) || DEFAULT_STATUS_COLOR;
209
+ }
170
210
  var i$1 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), l = { name: "BIMDataButton", props: { width: { type: String, default: "32px" }, height: { type: String, default: "32px" }, fill: { type: Boolean, default: false }, outline: { type: Boolean, default: false }, ghost: { type: Boolean, default: false }, ripple: { type: Boolean, default: false }, radius: { type: Boolean, default: false }, square: { type: Boolean, default: false }, rounded: { type: Boolean, default: false }, icon: { type: Boolean, default: false }, color: { type: String, default: "default", validator: (n) => i$1.includes(n) } }, emits: ["click"], computed: { classes() {
171
211
  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 };
172
212
  }, style() {
@@ -213,11 +253,11 @@ const v$3 = { render: function(r, t) {
213
253
  const B$5 = { render: function(r, t) {
214
254
  return openBlock(), createElementBlock("path", D$5);
215
255
  }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Api.vue" }, _$6 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.99856 2.98975H14.0663V6.55599H16.6753L11.4995 11.3798L6.32372 6.55599H8.99856V2.98975ZM8.47943 4.54312H4.53947L1.91832 12.2755H1.26615C0.566874 12.2755 0 12.8424 0 13.5417V20.7158C0 21.4151 0.566876 21.982 1.26615 21.982H21.7339C22.4331 21.982 23 21.4151 23 20.7158V13.5417C23 12.8424 22.4331 12.2755 21.7339 12.2755H21.0649L18.3821 4.54312H14.5607V5.38716H17.7816L20.1716 12.2755H2.80954L5.14457 5.38716H8.47943V4.54312ZM15.1789 16.378H7.82121V17.8795H15.1789V16.378Z" };
216
- const m$8 = { render: function(r, t) {
256
+ const m$9 = { render: function(r, t) {
217
257
  return openBlock(), createElementBlock("path", _$6);
218
- }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Archive.vue" }, g$4 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.5005 0L2.30076 9.19978L0 11.4995L2.30076 13.8002L11.5005 23L13.8002 20.7003L6.2268 13.1269H22.9995V11.5V9.8731H6.2268L13.8002 2.29967L11.5005 0Z" };
258
+ }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Archive.vue" }, g$5 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.5005 0L2.30076 9.19978L0 11.4995L2.30076 13.8002L11.5005 23L13.8002 20.7003L6.2268 13.1269H22.9995V11.5V9.8731H6.2268L13.8002 2.29967L11.5005 0Z" };
219
259
  const y$6 = { render: function(r, t) {
220
- return openBlock(), createElementBlock("path", g$4);
260
+ return openBlock(), createElementBlock("path", g$5);
221
261
  }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Arrow.vue" }, b$4 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M18.1353 0.97151C16.3653 -0.0111109 14.0902 0.591777 13.0536 2.3181L10.7744 6.11407C10.0103 7.38659 10.1326 8.91433 10.9585 10.0232L10.0988 11.5123C8.75683 11.4605 7.42339 12.1185 6.69746 13.3276L4.41822 17.1235C3.38168 18.8498 3.97626 21.0459 5.74626 22.0285C7.51626 23.0111 9.79142 22.4082 10.828 20.6819L13.1072 16.8859C13.8713 15.6134 13.749 14.0857 12.9231 12.9768L13.7828 11.4877C15.1248 11.5395 16.4582 10.8815 17.1842 9.67246L19.4634 5.87648C20.4999 4.15016 19.9053 1.95413 18.1353 0.97151ZM15.1171 8.66728C15.2354 8.56657 15.3391 8.44577 15.4225 8.30644L17.3449 5.09331C17.7532 4.41085 17.518 3.54214 16.8195 3.15299C16.121 2.76384 15.2238 3.00161 14.8155 3.68407L12.893 6.8972C12.8 7.0527 12.7404 7.21786 12.712 7.38482C13.1909 7.09804 13.8068 7.07256 14.3244 7.37143C14.8089 7.65111 15.0903 8.14736 15.1171 8.66728ZM8.76452 14.3326C8.79131 14.8525 9.07277 15.3488 9.55722 15.6285C10.0748 15.9273 10.6907 15.9019 11.1695 15.6152C11.1411 15.7821 11.0815 15.9473 10.9885 16.1028L9.06607 19.3159C8.65776 19.9984 7.76052 20.2361 7.06203 19.847C6.36354 19.4578 6.12831 18.5891 6.53662 17.9067L8.45904 14.6935C8.54242 14.5541 8.64621 14.4333 8.76452 14.3326Z" };
222
262
  const w$6 = { render: function(r, t) {
223
263
  return openBlock(), createElementBlock("path", b$4);
@@ -579,7 +619,7 @@ const el$1 = { render: function(r, t) {
579
619
  const rl$1 = { render: function(r, t) {
580
620
  return openBlock(), createElementBlock("g", null, nl$1);
581
621
  }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Zone.vue" };
582
- var tl$1 = { addFile: L$3, addFolder: c$3, addUser: u$6, alphabeticalAscending: s$3, alphabeticalDescending: H$5, alphabeticalSort: p$5, alt: Z$5, angle: v$3, api: B$5, archive: m$8, arrow: y$6, attach: w$6, backInTime: S$5, bcf: R$5, building: T$5, burgerMenu: N$6, calendar: z$5, caliper: P$5, camera: W$5, cancelCamera: Y$5, check: q$4, chevron: Q$4, classificationCategorie: J$4, classificationElement: ne$2, click: te$2, close: Ce$2, cloud: ae$2, color: ie$2, comment: de$2, cursor: Me$2, dateAscending: Ie$2, dateDescending: Ve$2, default: fe$2, delete: he$2, deniedFile: De$2, deploy: _e$2, detach: ge$2, distance: be$2, doubleChevron: xe$2, down: Se$2, download: Re$2, drag: Te$2, edit: Ne$2, ellipsis: ze$2, expanded: Pe$2, explosion: We$2, export: Ye$2, exportIfc: qe$2, failed: Qe$2, filter: Je$2, fitView: nn$4, folder: tn$2, folderMove: Cn$2, folderOpen: an$3, fullscreen: cn$2, grid: un$2, group: sn$2, hide: Hn$2, ifc: pn$2, ifcFile: Zn$2, import: vn$2, indexAscending: Bn$2, indexDescending: mn$2, information: yn$2, inProgressFile: wn$2, invitation: kn$2, isolate: An$2, key: Fn$2, left: En$2, linkedDocument: On$2, list: Un$2, listManage: Gn$2, location: jn$2, lock: Xn$2, logout: Kn$2, measure: $n$2, minus: er$2, model3d: rr$2, organization: lr$2, parameters: or$2, path: Lr$2, pieGraph: cr$2, plus: ur$2, project: sr$2, quickSelect: Hr$2, readonlyFolder: pr$2, redo: Zr$2, reduced: vr$2, refresh: Br$2, reprocessIfc: mr$2, reset: yr$2, right: wr$2, rules: kr$2, sandglass: Ar$2, save: Fr$2, screenConfig: Er$2, screenshot: Or$2, search: Ur$2, section: Gr$2, settings: jr$2, share: Xr$2, show: Kr$2, showSelected: $r$2, socotec: et$2, space: rt$2, split: lt$2, storey: ot$2, success: Lt$2, surface: ct$2, swap: ut$2, synchro2d: st$2, system: Ht$2, tag: ft$2, tree: ht$2, unarchive: Dt$2, undo: _t$2, union: gt$2, up: bt$2, user: xt$2, validate: St$2, validatedFile: Rt$2, versioning: Et$2, video: Ot$2, visa: Ut$2, warning: Gt$2, windowBottom: jt$2, windowed: Xt$2, windowLeft: Kt$2, windowRight: $t$2, windowTop: el$1, zone: rl$1 }, ll$1 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
622
+ var tl$1 = { addFile: L$3, addFolder: c$3, addUser: u$6, alphabeticalAscending: s$3, alphabeticalDescending: H$5, alphabeticalSort: p$5, alt: Z$5, angle: v$3, api: B$5, archive: m$9, arrow: y$6, attach: w$6, backInTime: S$5, bcf: R$5, building: T$5, burgerMenu: N$6, calendar: z$5, caliper: P$5, camera: W$5, cancelCamera: Y$5, check: q$4, chevron: Q$4, classificationCategorie: J$4, classificationElement: ne$2, click: te$2, close: Ce$2, cloud: ae$2, color: ie$2, comment: de$2, cursor: Me$2, dateAscending: Ie$2, dateDescending: Ve$2, default: fe$2, delete: he$2, deniedFile: De$2, deploy: _e$2, detach: ge$2, distance: be$2, doubleChevron: xe$2, down: Se$2, download: Re$2, drag: Te$2, edit: Ne$2, ellipsis: ze$2, expanded: Pe$2, explosion: We$2, export: Ye$2, exportIfc: qe$2, failed: Qe$2, filter: Je$2, fitView: nn$4, folder: tn$2, folderMove: Cn$2, folderOpen: an$3, fullscreen: cn$2, grid: un$2, group: sn$2, hide: Hn$2, ifc: pn$2, ifcFile: Zn$2, import: vn$2, indexAscending: Bn$2, indexDescending: mn$2, information: yn$2, inProgressFile: wn$2, invitation: kn$2, isolate: An$2, key: Fn$2, left: En$2, linkedDocument: On$2, list: Un$2, listManage: Gn$2, location: jn$2, lock: Xn$2, logout: Kn$2, measure: $n$2, minus: er$2, model3d: rr$2, organization: lr$2, parameters: or$2, path: Lr$2, pieGraph: cr$2, plus: ur$2, project: sr$2, quickSelect: Hr$2, readonlyFolder: pr$2, redo: Zr$2, reduced: vr$2, refresh: Br$2, reprocessIfc: mr$2, reset: yr$2, right: wr$2, rules: kr$2, sandglass: Ar$2, save: Fr$2, screenConfig: Er$2, screenshot: Or$2, search: Ur$2, section: Gr$2, settings: jr$2, share: Xr$2, show: Kr$2, showSelected: $r$2, socotec: et$2, space: rt$2, split: lt$2, storey: ot$2, success: Lt$2, surface: ct$2, swap: ut$2, synchro2d: st$2, system: Ht$2, tag: ft$2, tree: ht$2, unarchive: Dt$2, undo: _t$2, union: gt$2, up: bt$2, user: xt$2, validate: St$2, validatedFile: Rt$2, versioning: Et$2, video: Ot$2, visa: Ut$2, warning: Gt$2, windowBottom: jt$2, windowed: Xt$2, windowLeft: Kt$2, windowRight: $t$2, windowTop: el$1, zone: rl$1 }, ll$1 = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
583
623
  const Cl$1 = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
584
624
  var ol$1 = { name: "BIMDataIcon", components: __spreadValues({}, function(e2) {
585
625
  return Object.entries(e2).reduce((e3, [n, r]) => __spreadProps(__spreadValues({}, e3), { ["bimdata-icon-" + n]: r }), {});
@@ -605,7 +645,7 @@ Ll$1(".icon-fill--black {\n fill: var(--color-black);\n}\n.icon-fill--default {
605
645
  return openBlock(), createElementBlock("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 23 23", width: "100%", fill: L2.fillColor, color: L2.color, class: normalizeClass(d2.classes), style: normalizeStyle(d2.style) }, [(openBlock(), createBlock(resolveDynamicComponent("bimdata-icon-" + L2.name)))], 14, al$1);
606
646
  }, ol$1.__scopeId = "data-v-1312d4d1", ol$1.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIcon.vue";
607
647
  let d$3 = 0;
608
- var g$3 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { modelValue: { type: [String, Number, Boolean], default: "" }, placeholder: { type: String, default: "" }, error: { type: Boolean, default: false }, success: { type: Boolean, default: false }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, loading: { type: Boolean, default: false }, disabled: { type: Boolean, default: false }, margin: { type: String, default: "12px 0px" }, autocomplete: { type: Boolean, default: false } }, emits: ["update:modelValue", "blur", "keypress", "focus", "change"], computed: { style() {
648
+ var g$4 = { model: { prop: "modelValue", event: "update:modelValue" }, props: { modelValue: { type: [String, Number, Boolean], default: "" }, placeholder: { type: String, default: "" }, error: { type: Boolean, default: false }, success: { type: Boolean, default: false }, errorMessage: { type: String, default: "" }, successMessage: { type: String, default: "" }, loading: { type: Boolean, default: false }, disabled: { type: Boolean, default: false }, margin: { type: String, default: "12px 0px" }, autocomplete: { type: Boolean, default: false } }, emits: ["update:modelValue", "blur", "keypress", "focus", "change"], computed: { style() {
609
649
  return { margin: "" + this.margin };
610
650
  } }, beforeCreate() {
611
651
  this.uuid = d$3.toString(), d$3 += 1;
@@ -619,7 +659,7 @@ var g$3 = { model: { prop: "modelValue", event: "update:modelValue" }, props: {
619
659
  }, blur() {
620
660
  this.$refs.input && this.$refs.input.blur();
621
661
  } } };
622
- const u$5 = ["id", "disabled", "value", "autocomplete"], p$4 = { class: "bimdata-input__icon" }, m$7 = ["for"], f$6 = ((n) => (pushScopeId("data-v-5d42d486"), n = n(), popScopeId(), n))(() => createElementVNode("span", { class: "bar" }, null, -1)), h$5 = { key: 0, class: "error" }, y$5 = { key: 1, class: "success" };
662
+ const u$5 = ["id", "disabled", "value", "autocomplete"], p$4 = { class: "bimdata-input__icon" }, m$8 = ["for"], f$6 = ((n) => (pushScopeId("data-v-5d42d486"), n = n(), popScopeId(), n))(() => createElementVNode("span", { class: "bar" }, null, -1)), h$5 = { key: 0, class: "error" }, y$5 = { key: 1, class: "success" };
623
663
  function k$4(n, r) {
624
664
  r === void 0 && (r = {});
625
665
  var a2 = r.insertAt;
@@ -629,11 +669,11 @@ function k$4(n, r) {
629
669
  }
630
670
  }
631
671
  k$4('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-5d42d486] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n\n/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-5d42d486] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.text-left[data-v-5d42d486] {\n text-align: left;\n}\n.text-center[data-v-5d42d486] {\n text-align: center;\n}\n.text-right[data-v-5d42d486] {\n text-align: right;\n}\n.bimdata-link[data-v-5d42d486] {\n color: var(--color-primary);\n border-bottom: 1px solid var(--color-primary);\n font-weight: 700;\n}\n\n/* BIMDATA FONT WEIGHT */\n.primary-font[data-v-5d42d486] {\n font-family: "roboto", sans-serif;\n}');
632
- k$4('@-webkit-keyframes scaleX {\n0% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: -50%;\n}\n25% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 0;\n}\n50% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 50%;\n}\n75% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n100% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n}\n@keyframes scaleX {\n0% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: -50%;\n}\n25% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 0;\n}\n50% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 50%;\n}\n75% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n100% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n}\ninput:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset;\n box-shadow: 0 0 0px 1000px var(--color-white) inset;\n}\n.bimdata-input {\n min-height: 32px;\n position: relative;\n font-family: var(--primary-font);\n font-size: 16px;\n}\n.bimdata-input.not-empty label {\n top: -22px;\n color: var(--color-primary);\n font-size: 0.7142857143em;\n}\n.bimdata-input input {\n padding: 0;\n width: 100%;\n height: 32px;\n border: none;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n cursor: pointer;\n background-color: transparent;\n font-size: 1em;\n}\n.bimdata-input input:focus {\n outline: none;\n}\n.bimdata-input input:focus ~ label {\n top: -22px;\n font-size: 0.7142857143em;\n}\n.bimdata-input input:focus ~ .bar:after {\n width: 100%;\n -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2), -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n}\n.bimdata-input__icon {\n position: absolute;\n right: 0;\n top: 8px;\n}\n.bimdata-input label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 0.8571428571em;\n -webkit-transform: translateY(8px);\n transform: translateY(8px);\n -webkit-transition: 0.2s ease all;\n transition: 0.2s ease all;\n color: var(--color-granite-light);\n cursor: pointer;\n}\n.bimdata-input .bar {\n width: 100%;\n height: 1px;\n display: block;\n background: var(--color-silver);\n}\n.bimdata-input .bar::after, .bimdata-input .bar::before {\n width: 0;\n height: 2px;\n content: "";\n display: block;\n position: absolute;\n background-color: var(--color-primary);\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n}\n.bimdata-input.loading input ~ .bar:after {\n width: 50%;\n -webkit-animation: scaleX 2s linear infinite none;\n animation: scaleX 2s linear infinite none;\n -webkit-transform-origin: right;\n transform-origin: right;\n}\n.bimdata-input.loading input ~ .bar:before {\n width: 50%;\n -webkit-animation: scaleX 2s linear 1s infinite none;\n animation: scaleX 2s linear 1s infinite none;\n -webkit-transform-origin: right;\n transform-origin: right;\n}\n.bimdata-input .error {\n color: var(--color-high);\n font-size: 0.7857142857em;\n}\n.bimdata-input .success {\n color: var(--color-success);\n font-size: 0.7857142857em;\n}\n.bimdata-input.disabled {\n opacity: 0.6;\n}\n.bimdata-input.error label {\n color: var(--color-high);\n}\n.bimdata-input.error .bar {\n background-color: var(--color-high);\n}\n.bimdata-input.error .bar::before, .bimdata-input.error .bar::after {\n background-color: var(--color-high);\n}\n.bimdata-input.success label {\n color: var(--color-success);\n}\n.bimdata-input.success .bar {\n background-color: var(--color-success);\n}\n.bimdata-input.success .bar::before, .bimdata-input.success .bar::after {\n background-color: var(--color-success);\n}'), g$3.render = function(c2, b2, d2, g2, k2, S2) {
672
+ k$4('@-webkit-keyframes scaleX {\n0% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: -50%;\n}\n25% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 0;\n}\n50% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 50%;\n}\n75% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n100% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n}\n@keyframes scaleX {\n0% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: -50%;\n}\n25% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 0;\n}\n50% {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n left: 50%;\n}\n75% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n100% {\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n left: 50%;\n}\n}\ninput:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset;\n box-shadow: 0 0 0px 1000px var(--color-white) inset;\n}\n.bimdata-input {\n min-height: 32px;\n position: relative;\n font-family: var(--primary-font);\n font-size: 16px;\n}\n.bimdata-input.not-empty label {\n top: -22px;\n color: var(--color-primary);\n font-size: 0.7142857143em;\n}\n.bimdata-input input {\n padding: 0;\n width: 100%;\n height: 32px;\n border: none;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n cursor: pointer;\n background-color: transparent;\n font-size: 1em;\n}\n.bimdata-input input:focus {\n outline: none;\n}\n.bimdata-input input:focus ~ label {\n top: -22px;\n font-size: 0.7142857143em;\n}\n.bimdata-input input:focus ~ .bar:after {\n width: 100%;\n -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2), -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n}\n.bimdata-input__icon {\n position: absolute;\n right: 0;\n top: 8px;\n}\n.bimdata-input label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 0.8571428571em;\n -webkit-transform: translateY(8px);\n transform: translateY(8px);\n -webkit-transition: 0.2s ease all;\n transition: 0.2s ease all;\n color: var(--color-granite-light);\n cursor: pointer;\n}\n.bimdata-input .bar {\n width: 100%;\n height: 1px;\n display: block;\n background: var(--color-silver);\n}\n.bimdata-input .bar::after, .bimdata-input .bar::before {\n width: 0;\n height: 2px;\n content: "";\n display: block;\n position: absolute;\n background-color: var(--color-primary);\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n}\n.bimdata-input.loading input ~ .bar:after {\n width: 50%;\n -webkit-animation: scaleX 2s linear infinite none;\n animation: scaleX 2s linear infinite none;\n -webkit-transform-origin: right;\n transform-origin: right;\n}\n.bimdata-input.loading input ~ .bar:before {\n width: 50%;\n -webkit-animation: scaleX 2s linear 1s infinite none;\n animation: scaleX 2s linear 1s infinite none;\n -webkit-transform-origin: right;\n transform-origin: right;\n}\n.bimdata-input .error {\n color: var(--color-high);\n font-size: 0.7857142857em;\n}\n.bimdata-input .success {\n color: var(--color-success);\n font-size: 0.7857142857em;\n}\n.bimdata-input.disabled {\n opacity: 0.6;\n}\n.bimdata-input.error label {\n color: var(--color-high);\n}\n.bimdata-input.error .bar {\n background-color: var(--color-high);\n}\n.bimdata-input.error .bar::before, .bimdata-input.error .bar::after {\n background-color: var(--color-high);\n}\n.bimdata-input.success label {\n color: var(--color-success);\n}\n.bimdata-input.success .bar {\n background-color: var(--color-success);\n}\n.bimdata-input.success .bar::before, .bimdata-input.success .bar::after {\n background-color: var(--color-success);\n}'), g$4.render = function(c2, b2, d2, g2, k2, S2) {
633
673
  return openBlock(), createElementBlock("div", { class: normalizeClass(["bimdata-input", { error: d2.error, success: d2.success, disabled: d2.disabled, loading: d2.loading, "not-empty": !!d2.modelValue }]), style: normalizeStyle(S2.style) }, [createElementVNode("input", mergeProps({ ref: "input", id: "bimdata-input-" + c2.uuid, onInput: b2[0] || (b2[0] = (n) => c2.$emit("update:modelValue", n.currentTarget.value)), disabled: d2.disabled, value: d2.modelValue, onFocus: b2[1] || (b2[1] = (n) => {
634
674
  n.target.select(), c2.$emit("focus", n);
635
- }), onBlur: b2[2] || (b2[2] = (n) => c2.$emit("blur", n)), onKeypress: b2[3] || (b2[3] = (n) => c2.$emit("keypress", n)), onChange: b2[4] || (b2[4] = (n) => c2.$emit("change", n)), autocomplete: d2.autocomplete ? "on" : "off" }, c2.$attrs), null, 16, u$5), createElementVNode("div", p$4, [renderSlot(c2.$slots, "inputIcon")]), createElementVNode("label", { for: "bimdata-input-" + c2.uuid }, toDisplayString(d2.placeholder), 9, m$7), f$6, d2.error ? (openBlock(), createElementBlock("span", h$5, toDisplayString(d2.errorMessage), 1)) : createCommentVNode("v-if", true), d2.success ? (openBlock(), createElementBlock("span", y$5, toDisplayString(d2.successMessage), 1)) : createCommentVNode("v-if", true)], 6);
636
- }, g$3.__scopeId = "data-v-5d42d486", g$3.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
675
+ }), onBlur: b2[2] || (b2[2] = (n) => c2.$emit("blur", n)), onKeypress: b2[3] || (b2[3] = (n) => c2.$emit("keypress", n)), onChange: b2[4] || (b2[4] = (n) => c2.$emit("change", n)), autocomplete: d2.autocomplete ? "on" : "off" }, c2.$attrs), null, 16, u$5), createElementVNode("div", p$4, [renderSlot(c2.$slots, "inputIcon")]), createElementVNode("label", { for: "bimdata-input-" + c2.uuid }, toDisplayString(d2.placeholder), 9, m$8), f$6, d2.error ? (openBlock(), createElementBlock("span", h$5, toDisplayString(d2.errorMessage), 1)) : createCommentVNode("v-if", true), d2.success ? (openBlock(), createElementBlock("span", y$5, toDisplayString(d2.successMessage), 1)) : createCommentVNode("v-if", true)], 6);
676
+ }, g$4.__scopeId = "data-v-5d42d486", g$4.__file = "src/BIMDataComponents/BIMDataInput/BIMDataInput.vue";
637
677
  var _$5 = { beforeMount(n, o2) {
638
678
  if (typeof o2.value != "function")
639
679
  throw Error("click away directive needs function, got " + typeof o2.value);
@@ -746,7 +786,7 @@ var W$4 = { components: { BIMDataCheckbox: A$5, BIMDataIconChevron: E$4 }, direc
746
786
  const Z$4 = { class: "bimdata-select__content" }, j$3 = { class: "bimdata-select__content__label" }, $$4 = ((n) => (pushScopeId("data-v-2c3115dc"), n = n(), popScopeId(), n))(() => createElementVNode("span", { class: "bimdata-select__content__underline" }, null, -1)), q$3 = { class: "bimdata-select__option-list" }, J$3 = ["onClick"];
747
787
  N$5('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-2c3115dc] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.bimdata-select[data-v-2c3115dc] {\n position: relative;\n font-family: var(--primary-font);\n font-size: 1em;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.bimdata-select__content[data-v-2c3115dc] {\n height: 32px;\n}\n.bimdata-select__content__value[data-v-2c3115dc] {\n width: 100%;\n height: 32px;\n position: absolute;\n z-index: 10;\n top: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n}\n.bimdata-select__content__value span[data-v-2c3115dc] {\n width: 100%;\n height: auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.bimdata-select__content__label[data-v-2c3115dc] {\n position: absolute;\n top: 6px;\n left: 0;\n font-size: 0.8571428571em;\n -webkit-transition: 0.2s ease all;\n transition: 0.2s ease all;\n color: var(--color-granite-light);\n transition: 0.2s ease all;\n}\n.bimdata-select__content__underline[data-v-2c3115dc] {\n width: 100%;\n height: 1px;\n position: absolute;\n bottom: 0;\n display: block;\n background: var(--color-silver);\n}\n.bimdata-select.disabled[data-v-2c3115dc] {\n opacity: 0.6;\n}\n.bimdata-select.active .bimdata-select__content .bimdata-select__content__label[data-v-2c3115dc], .bimdata-select.not-empty .bimdata-select__content .bimdata-select__content__label[data-v-2c3115dc] {\n top: -18px;\n font-size: 0.7142857143em;\n color: var(--color-primary);\n}\n.bimdata-select__option-list[data-v-2c3115dc] {\n position: absolute;\n z-index: 11;\n top: -3px;\n width: 100%;\n max-height: 220px;\n padding: calc(var(--spacing-unit) / 2) 0;\n overflow: auto;\n -webkit-box-shadow: var(--box-shadow);\n box-shadow: var(--box-shadow);\n background-color: var(--color-white);\n}\n.bimdata-select__option-list__entry[data-v-2c3115dc] {\n height: 29px;\n padding: 0 var(--spacing-unit);\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-size: 0.8571428571em;\n cursor: pointer;\n}\n.bimdata-select__option-list__entry[data-v-2c3115dc]:hover {\n background-color: var(--color-silver-light);\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease;\n}\n.bimdata-select__option-list__entry.selected[data-v-2c3115dc] {\n background-color: var(--color-silver-light);\n}\n.bimdata-select__option-list__entry.selected[data-v-2c3115dc]:hover {\n background-color: var(--color-silver);\n}\n.bimdata-select__option-list__entry.disabled[data-v-2c3115dc] {\n color: var(--color-silver-dark);\n cursor: default;\n}\n.bimdata-select__option-list__entry.option-group[data-v-2c3115dc] {\n color: var(--color-granite);\n font-weight: 700;\n}\n.bimdata-select__option-list__entry.option-group[data-v-2c3115dc]:hover {\n background-color: transparent;\n cursor: default;\n}\n.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-2c3115dc]:not(.option-group) {\n padding-left: calc(var(--spacing-unit) * 2);\n}'), W$4.render = function(a2, i2, c2, s2, S2, x2) {
748
788
  const _2 = resolveComponent("BIMDataIconChevron"), A2 = resolveComponent("BIMDataCheckbox"), I2 = resolveDirective("clickaway");
749
- return withDirectives((openBlock(), createElementBlock("div", { class: normalizeClass(["bimdata-select", { disabled: c2.disabled, active: S2.isOpen, "not-empty": c2.modelValue.length > 0 }]), style: normalizeStyle({ width: c2.width }) }, [createElementVNode("div", Z$4, [createElementVNode("div", { class: "bimdata-select__content__value", onClick: i2[0] || (i2[0] = (...n) => x2.toggle && x2.toggle(...n)) }, [createElementVNode("span", null, toDisplayString(x2.displayedValue), 1), createVNode(_2, { size: "xxs", rotate: S2.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), createElementVNode("label", j$3, toDisplayString(c2.label), 1), $$4]), createVNode(Transition, { name: "slide-fade-down" }, { default: withCtx(() => [withDirectives(createElementVNode("ul", q$3, [(openBlock(true), createElementBlock(Fragment, null, renderList(c2.options, (e2, a3) => (openBlock(), createElementBlock("li", { class: normalizeClass(["bimdata-select__option-list__entry", { selected: x2.isSelected(e2), disabled: x2.isDisabled(e2), "option-group": x2.isOptionGroup(e2) }]), key: a3, onClick: (n) => x2.onOptionClick(e2) }, [x2.isOptionGroup(e2) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(x2.optionLabel(e2)), 1)], 2112)) : (openBlock(), createBlock(A2, { key: 1, modelValue: x2.isSelected(e2), disabled: x2.isDisabled(e2), text: x2.optionLabel(e2) }, null, 8, ["modelValue", "disabled", "text"]))], 10, J$3))), 128))], 512), [[vShow, !c2.disabled && S2.isOpen]])]), _: 1 })], 6)), [[I2, () => S2.isOpen = false]]);
789
+ return withDirectives((openBlock(), createElementBlock("div", { class: normalizeClass(["bimdata-select", { disabled: c2.disabled, active: S2.isOpen, "not-empty": c2.modelValue.length > 0 }]), style: normalizeStyle({ width: c2.width }) }, [createElementVNode("div", Z$4, [createElementVNode("div", { class: "bimdata-select__content__value", onClick: i2[0] || (i2[0] = (...n) => x2.toggle && x2.toggle(...n)) }, [createElementVNode("span", null, toDisplayString(x2.displayedValue), 1), createVNode(_2, { size: "xxs", rotate: S2.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), createElementVNode("label", j$3, toDisplayString(c2.label), 1), $$4]), createVNode(Transition, { name: "slide-fade-down", persisted: "" }, { default: withCtx(() => [withDirectives(createElementVNode("ul", q$3, [(openBlock(true), createElementBlock(Fragment, null, renderList(c2.options, (e2, a3) => (openBlock(), createElementBlock("li", { class: normalizeClass(["bimdata-select__option-list__entry", { selected: x2.isSelected(e2), disabled: x2.isDisabled(e2), "option-group": x2.isOptionGroup(e2) }]), key: a3, onClick: (n) => x2.onOptionClick(e2) }, [x2.isOptionGroup(e2) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString(x2.optionLabel(e2)), 1)], 64)) : (openBlock(), createBlock(A2, { key: 1, modelValue: x2.isSelected(e2), disabled: x2.isDisabled(e2), text: x2.optionLabel(e2) }, null, 8, ["modelValue", "disabled", "text"]))], 10, J$3))), 128))], 512), [[vShow, !c2.disabled && S2.isOpen]])]), _: 1 })], 6)), [[I2, () => S2.isOpen = false]]);
750
790
  }, W$4.__scopeId = "data-v-2c3115dc", W$4.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectMulti.vue";
751
791
  var Q$3 = { components: { BIMDataIconChevron: E$4 }, directives: { clickaway: _$5 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number] }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: [String, Object] }, nullValue: { type: Boolean, default: false }, nullLabel: { type: String }, disabled: { type: Boolean, default: false } }, emits: ["update:modelValue"], data: () => ({ isOpen: false }), computed: { displayedValue() {
752
792
  return this.optionLabel(this.modelValue);
@@ -771,7 +811,7 @@ var Q$3 = { components: { BIMDataIconChevron: E$4 }, directives: { clickaway: _$
771
811
  const nn$3 = { class: "bimdata-select__content" }, on$2 = { class: "bimdata-select__content__label" }, rn$2 = ((n) => (pushScopeId("data-v-41a0d93f"), n = n(), popScopeId(), n))(() => createElementVNode("span", { class: "bimdata-select__content__underline" }, null, -1)), en$2 = { class: "bimdata-select__option-list" }, an$2 = ["onClick"];
772
812
  N$5('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-41a0d93f] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.bimdata-select[data-v-41a0d93f] {\n position: relative;\n font-family: var(--primary-font);\n font-size: 1em;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.bimdata-select__content[data-v-41a0d93f] {\n height: 32px;\n}\n.bimdata-select__content__value[data-v-41a0d93f] {\n width: 100%;\n height: 32px;\n position: absolute;\n z-index: 10;\n top: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n}\n.bimdata-select__content__value span[data-v-41a0d93f] {\n width: 100%;\n height: auto;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.bimdata-select__content__label[data-v-41a0d93f] {\n position: absolute;\n top: 6px;\n left: 0;\n font-size: 0.8571428571em;\n -webkit-transition: 0.2s ease all;\n transition: 0.2s ease all;\n color: var(--color-granite-light);\n transition: 0.2s ease all;\n}\n.bimdata-select__content__underline[data-v-41a0d93f] {\n width: 100%;\n height: 1px;\n position: absolute;\n bottom: 0;\n display: block;\n background: var(--color-silver);\n}\n.bimdata-select.disabled[data-v-41a0d93f] {\n opacity: 0.6;\n}\n.bimdata-select.active .bimdata-select__content .bimdata-select__content__label[data-v-41a0d93f], .bimdata-select.not-empty .bimdata-select__content .bimdata-select__content__label[data-v-41a0d93f] {\n top: -18px;\n font-size: 0.7142857143em;\n color: var(--color-primary);\n}\n.bimdata-select__option-list[data-v-41a0d93f] {\n position: absolute;\n z-index: 11;\n top: -3px;\n width: 100%;\n max-height: 220px;\n padding: calc(var(--spacing-unit) / 2) 0;\n overflow: auto;\n -webkit-box-shadow: var(--box-shadow);\n box-shadow: var(--box-shadow);\n background-color: var(--color-white);\n}\n.bimdata-select__option-list__entry[data-v-41a0d93f] {\n height: 29px;\n padding: 0 var(--spacing-unit);\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-size: 0.8571428571em;\n cursor: pointer;\n}\n.bimdata-select__option-list__entry[data-v-41a0d93f]:hover {\n background-color: var(--color-silver-light);\n -webkit-transition: all 0.2s ease;\n transition: all 0.2s ease;\n}\n.bimdata-select__option-list__entry.selected[data-v-41a0d93f] {\n background-color: var(--color-silver-light);\n}\n.bimdata-select__option-list__entry.selected[data-v-41a0d93f]:hover {\n background-color: var(--color-silver);\n}\n.bimdata-select__option-list__entry.disabled[data-v-41a0d93f] {\n color: var(--color-silver-dark);\n cursor: default;\n}\n.bimdata-select__option-list__entry.option-group[data-v-41a0d93f] {\n color: var(--color-granite);\n font-weight: 700;\n}\n.bimdata-select__option-list__entry.option-group[data-v-41a0d93f]:hover {\n background-color: transparent;\n cursor: default;\n}\n.bimdata-select__option-list__entry.option-group ~ .bimdata-select__option-list__entry[data-v-41a0d93f]:not(.option-group) {\n padding-left: calc(var(--spacing-unit) * 2);\n}'), Q$3.render = function(a2, l2, c2, s2, f2, S2) {
773
813
  const x2 = resolveComponent("BIMDataIconChevron"), _2 = resolveDirective("clickaway");
774
- return withDirectives((openBlock(), createElementBlock("div", { class: normalizeClass(["bimdata-select", { disabled: c2.disabled, active: f2.isOpen, "not-empty": c2.modelValue !== void 0 && c2.modelValue !== null }]), style: normalizeStyle({ width: c2.width }) }, [createElementVNode("div", nn$3, [createElementVNode("div", { class: "bimdata-select__content__value", onClick: l2[0] || (l2[0] = (...n) => S2.toggle && S2.toggle(...n)) }, [createElementVNode("span", null, toDisplayString(S2.displayedValue), 1), createVNode(x2, { size: "xxs", rotate: f2.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), createElementVNode("label", on$2, toDisplayString(c2.label), 1), rn$2]), createVNode(Transition, { name: "slide-fade-down" }, { default: withCtx(() => [withDirectives(createElementVNode("ul", en$2, [c2.nullValue ? (openBlock(), createElementBlock("li", { key: 0, class: "bimdata-select__option-list__entry", onClick: l2[1] || (l2[1] = (n) => S2.onNullValueClick()) }, toDisplayString(c2.nullLabel || "None"), 1)) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(c2.options, (e2, a3) => (openBlock(), createElementBlock("li", { class: normalizeClass(["bimdata-select__option-list__entry", { selected: S2.isSelected(e2), disabled: S2.isDisabled(e2), "option-group": S2.isOptionGroup(e2) }]), key: a3, onClick: (n) => S2.onOptionClick(e2) }, toDisplayString(S2.optionLabel(e2)), 11, an$2))), 128))], 512), [[vShow, !c2.disabled && f2.isOpen]])]), _: 1 })], 6)), [[_2, () => f2.isOpen = false]]);
814
+ return withDirectives((openBlock(), createElementBlock("div", { class: normalizeClass(["bimdata-select", { disabled: c2.disabled, active: f2.isOpen, "not-empty": c2.modelValue !== void 0 && c2.modelValue !== null }]), style: normalizeStyle({ width: c2.width }) }, [createElementVNode("div", nn$3, [createElementVNode("div", { class: "bimdata-select__content__value", onClick: l2[0] || (l2[0] = (...n) => S2.toggle && S2.toggle(...n)) }, [createElementVNode("span", null, toDisplayString(S2.displayedValue), 1), createVNode(x2, { size: "xxs", rotate: f2.isOpen ? 90 : 0 }, null, 8, ["rotate"])]), createElementVNode("label", on$2, toDisplayString(c2.label), 1), rn$2]), createVNode(Transition, { name: "slide-fade-down", persisted: "" }, { default: withCtx(() => [withDirectives(createElementVNode("ul", en$2, [c2.nullValue ? (openBlock(), createElementBlock("li", { key: 0, class: "bimdata-select__option-list__entry", onClick: l2[1] || (l2[1] = (n) => S2.onNullValueClick()) }, toDisplayString(c2.nullLabel || "None"), 1)) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(c2.options, (e2, a3) => (openBlock(), createElementBlock("li", { class: normalizeClass(["bimdata-select__option-list__entry", { selected: S2.isSelected(e2), disabled: S2.isDisabled(e2), "option-group": S2.isOptionGroup(e2) }]), key: a3, onClick: (n) => S2.onOptionClick(e2) }, toDisplayString(S2.optionLabel(e2)), 11, an$2))), 128))], 512), [[vShow, !c2.disabled && f2.isOpen]])]), _: 1 })], 6)), [[_2, () => f2.isOpen = false]]);
775
815
  }, Q$3.__scopeId = "data-v-41a0d93f", Q$3.__file = "src/BIMDataComponents/BIMDataSelect/BIMDataSelectSingle.vue";
776
816
  var ln$2 = { components: { BIMDataSelectMulti: W$4, BIMDataSelectSingle: Q$3 }, model: { prop: "modelValue", event: "update:modelValue" }, props: { width: { type: [String, Number], default: "100%" }, label: { type: String, default: null }, options: { type: Array, default: () => [] }, optionKey: { type: String }, optionLabelKey: { type: String }, modelValue: { type: [String, Object, Array] }, multi: { type: Boolean, default: false }, nullValue: { type: Boolean, default: false }, nullLabel: { type: String }, disabled: { type: Boolean, default: false } }, emits: ["update:modelValue"], computed: { selectorComponent() {
777
817
  return this.multi ? "BIMDataSelectMulti" : "BIMDataSelectSingle";
@@ -790,11 +830,11 @@ var _export_sfc = (sfc, props) => {
790
830
  function getSelectOptions(list) {
791
831
  return Array.from(new Set(list)).sort((a2, b2) => a2.localeCompare(b2, void 0, { sensitivity: "base" }));
792
832
  }
793
- const _sfc_main$j = {
833
+ const _sfc_main$k = {
794
834
  components: {
795
835
  BIMDataButton: l,
796
836
  BIMDataIcon: ol$1,
797
- BIMDataInput: g$3,
837
+ BIMDataInput: g$4,
798
838
  BIMDataSelect: ln$2
799
839
  },
800
840
  props: {
@@ -861,21 +901,21 @@ const _sfc_main$j = {
861
901
  };
862
902
  }
863
903
  };
864
- const _hoisted_1$g = { class: "bcf-filters" };
865
- const _hoisted_2$e = { class: "bcf-filters__container" };
904
+ const _hoisted_1$h = { class: "bcf-filters" };
905
+ const _hoisted_2$f = { class: "bcf-filters__container" };
866
906
  const _hoisted_3$b = { class: "bcf-filters__container__header" };
867
907
  const _hoisted_4$a = { class: "bcf-filters__container__header__title" };
868
908
  const _hoisted_5$9 = { class: "bcf-filters__container__date" };
869
909
  const _hoisted_6$8 = { class: "example" };
870
910
  const _hoisted_7$8 = { class: "example" };
871
911
  const _hoisted_8$8 = { class: "bcf-filters__container__actions" };
872
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
912
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
873
913
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
874
914
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
875
915
  const _component_BIMDataSelect = resolveComponent("BIMDataSelect");
876
916
  const _component_BIMDataInput = resolveComponent("BIMDataInput");
877
917
  const _directive_click_away = resolveDirective("click-away");
878
- return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$g, [
918
+ return withDirectives((openBlock(), createElementBlock("div", _hoisted_1$h, [
879
919
  createVNode(_component_BIMDataButton, {
880
920
  class: "bcf-filters__btn-toggle",
881
921
  disabled: $props.bcfTopics.length === 0,
@@ -899,7 +939,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
899
939
  }, 8, ["disabled", "onClick"]),
900
940
  createVNode(Transition, { name: "slide-fade-up" }, {
901
941
  default: withCtx(() => [
902
- withDirectives(createElementVNode("div", _hoisted_2$e, [
942
+ withDirectives(createElementVNode("div", _hoisted_2$f, [
903
943
  createElementVNode("div", _hoisted_3$b, [
904
944
  createElementVNode("div", _hoisted_4$a, toDisplayString(_ctx.$t("BcfComponents.BcfFilters.filtersTitle")), 1),
905
945
  createVNode(_component_BIMDataButton, {
@@ -1031,34 +1071,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
1031
1071
  [_directive_click_away, $setup.close]
1032
1072
  ]);
1033
1073
  }
1034
- var BcfFilters = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-1efe16f2"]]);
1035
- const EXTENSION_TYPES = [
1036
- "Priority",
1037
- "Type",
1038
- "Stage",
1039
- "Status",
1040
- "Label"
1041
- ];
1042
- const EXTENSION_WITH_COLOR = [
1043
- "Priority",
1044
- "Status"
1045
- ];
1046
- const EXTENSION_FIELDS = {
1047
- Priority: "priority",
1048
- Type: "topic_type",
1049
- Stage: "stage",
1050
- Status: "topic_status",
1051
- Label: "label"
1052
- };
1053
- const EXTENSION_LIST_FIELDS = {
1054
- Priority: "priorities",
1055
- Type: "topic_types",
1056
- Stage: "stages",
1057
- Status: "topic_statuses",
1058
- Label: "topic_labels"
1059
- };
1060
- const DEFAULT_PRIORITY_COLOR = "D8D8D8";
1061
- const DEFAULT_STATUS_COLOR = "D8D8D8";
1074
+ var BcfFilters = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-1efe16f2"]]);
1062
1075
  const colors = Object.freeze({
1063
1076
  bisque: "ffe4c4",
1064
1077
  orange: "ffa500",
@@ -1168,8 +1181,8 @@ function useService() {
1168
1181
  deleteExtension
1169
1182
  };
1170
1183
  }
1171
- const p$3 = Object.freeze({ bisque: "ffe4c4", orange: "ffa500", coral: "ff7f50", red: "ff3d1e", maroon: "800000", khaki: "f0e68c", tan: "d2b48c", peru: "cd853f", sienna: "a0522d", brown: "a52a2a", greenyellow: "adff2f", yellowgreen: "9acd32", forestgreen: "00af50", green: "008000", darkgreen: "006400", lightcyan: "e0ffff", skyblue: "87ceeb", steelblue: "4682b4", blue: "0000ff", darkblue: "00008b", mistyrose: "ffe4e1", hotpink: "ff69b4", magenta: "ff00ff", purple: "800080", indigo: "4b0082", whitesmoke: "f5f5f5", silver: "c0c0c0", darkgray: "a9a9a9", grey: "7a7a7a", black: "000000" }), m$6 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
1172
- Object.entries(p$3).filter(([r]) => !m$6.includes(r));
1184
+ const p$3 = Object.freeze({ bisque: "ffe4c4", orange: "ffa500", coral: "ff7f50", red: "ff3d1e", maroon: "800000", khaki: "f0e68c", tan: "d2b48c", peru: "cd853f", sienna: "a0522d", brown: "a52a2a", greenyellow: "adff2f", yellowgreen: "9acd32", forestgreen: "00af50", green: "008000", darkgreen: "006400", lightcyan: "e0ffff", skyblue: "87ceeb", steelblue: "4682b4", blue: "0000ff", darkblue: "00008b", mistyrose: "ffe4e1", hotpink: "ff69b4", magenta: "ff00ff", purple: "800080", indigo: "4b0082", whitesmoke: "f5f5f5", silver: "c0c0c0", darkgray: "a9a9a9", grey: "7a7a7a", black: "000000" }), m$7 = ["bisque", "khaki", "greenyellow", "lightcyan", "mistyrose", "whitesmoke"];
1185
+ Object.entries(p$3).filter(([r]) => !m$7.includes(r));
1173
1186
  var f$5 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), h$4 = { props: { text: { type: String } } };
1174
1187
  const u$4 = { class: "bimdata-card__brand" }, y$4 = { class: "bimdata-card__brand--left" }, _$4 = { key: 0 };
1175
1188
  function x$5(r, n) {
@@ -1201,12 +1214,12 @@ x$5(".color-selector__line[data-v-dd521886] {\n display: -webkit-box;\n displa
1201
1214
  return openBlock(), createBlock(f2, { class: "color-selector" }, { content: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(p2.colorLines, (o3, t2) => (openBlock(), createElementBlock("div", { class: "color-selector__line", key: "colorLine" + t2 }, [(openBlock(true), createElementBlock(Fragment, null, renderList(o3, ([o4, l2], s2) => (openBlock(), createElementBlock("div", { class: normalizeClass(["color-selector__line__element", { selected: l2 === e2.modelValue }]), key: `colorElement${s2}ofColorLine${t2}`, style: normalizeStyle("background-color: #" + l2), title: o4, onClick: (r) => a2.$emit("update:modelValue", l2) }, null, 14, N$4))), 128))]))), 128))]), _: 1 });
1202
1215
  }, I$4.__scopeId = "data-v-dd521886", I$4.__file = "src/BIMDataComponents/BIMDataColorSelector/BIMDataColorSelector.vue";
1203
1216
  var SettingCardItem_scss_vue_type_style_index_0_src_scoped_true_lang = "";
1204
- const _sfc_main$i = {
1217
+ const _sfc_main$j = {
1205
1218
  components: {
1206
1219
  BIMDataButton: l,
1207
1220
  BIMDataColorSelector: I$4,
1208
1221
  BIMDataIcon: ol$1,
1209
- BIMDataInput: g$3
1222
+ BIMDataInput: g$4
1210
1223
  },
1211
1224
  props: {
1212
1225
  project: {
@@ -1277,22 +1290,22 @@ const _sfc_main$i = {
1277
1290
  };
1278
1291
  }
1279
1292
  };
1280
- const _hoisted_1$f = { class: "setting-card-item" };
1281
- const _hoisted_2$d = { key: 0 };
1293
+ const _hoisted_1$g = { class: "setting-card-item" };
1294
+ const _hoisted_2$e = { key: 0 };
1282
1295
  const _hoisted_3$a = { class: "setting-card-item__actions" };
1283
1296
  const _hoisted_4$9 = {
1284
1297
  key: 2,
1285
1298
  class: "setting-card-item__delete-guard"
1286
1299
  };
1287
1300
  const _hoisted_5$8 = { class: "flex items-center" };
1288
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
1301
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
1289
1302
  const _component_BIMDataInput = resolveComponent("BIMDataInput");
1290
1303
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
1291
1304
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
1292
1305
  const _component_BIMDataColorSelector = resolveComponent("BIMDataColorSelector");
1293
1306
  const _directive_click_away = resolveDirective("click-away");
1294
- return openBlock(), createElementBlock("li", _hoisted_1$f, [
1295
- !$setup.editMode ? (openBlock(), createElementBlock("span", _hoisted_2$d, toDisplayString($props.extension[$setup.EXTENSION_FIELDS[$props.extensionType]]), 1)) : (openBlock(), createBlock(_component_BIMDataInput, {
1307
+ return openBlock(), createElementBlock("li", _hoisted_1$g, [
1308
+ !$setup.editMode ? (openBlock(), createElementBlock("span", _hoisted_2$e, toDisplayString($props.extension[$setup.EXTENSION_FIELDS[$props.extensionType]]), 1)) : (openBlock(), createBlock(_component_BIMDataInput, {
1296
1309
  key: 1,
1297
1310
  ref: "input",
1298
1311
  modelValue: $setup.extensionName,
@@ -1384,13 +1397,13 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
1384
1397
  ])) : createCommentVNode("", true)
1385
1398
  ]);
1386
1399
  }
1387
- var SettingCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-a9deb2b6"]]);
1400
+ var SettingCardItem = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-a9deb2b6"]]);
1388
1401
  var SettingCard_scss_vue_type_style_index_0_src_scoped_true_lang = "";
1389
- const _sfc_main$h = {
1402
+ const _sfc_main$i = {
1390
1403
  components: {
1391
1404
  BIMDataButton: l,
1392
1405
  BIMDataIcon: ol$1,
1393
- BIMDataInput: g$3,
1406
+ BIMDataInput: g$4,
1394
1407
  SettingCardItem
1395
1408
  },
1396
1409
  props: {
@@ -1448,8 +1461,8 @@ const _sfc_main$h = {
1448
1461
  };
1449
1462
  }
1450
1463
  };
1451
- const _hoisted_1$e = { class: "setting-card" };
1452
- const _hoisted_2$c = { class: "setting-card__header__text" };
1464
+ const _hoisted_1$f = { class: "setting-card" };
1465
+ const _hoisted_2$d = { class: "setting-card__header__text" };
1453
1466
  const _hoisted_3$9 = { class: "setting-card__header__icons" };
1454
1467
  const _hoisted_4$8 = {
1455
1468
  key: 0,
@@ -1459,17 +1472,17 @@ const _hoisted_5$7 = { class: "setting-card__subheader" };
1459
1472
  const _hoisted_6$7 = { class: "setting-card__add-form" };
1460
1473
  const _hoisted_7$7 = { class: "actions" };
1461
1474
  const _hoisted_8$7 = { class: "setting-card__content bimdata-list" };
1462
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1475
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
1463
1476
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
1464
1477
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
1465
1478
  const _component_BIMDataInput = resolveComponent("BIMDataInput");
1466
1479
  const _component_SettingCardItem = resolveComponent("SettingCardItem");
1467
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
1480
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
1468
1481
  createElementVNode("div", {
1469
1482
  class: "setting-card__header",
1470
1483
  onClick: _cache[0] || (_cache[0] = (...args) => $setup.toggle && $setup.toggle(...args))
1471
1484
  }, [
1472
- createElementVNode("div", _hoisted_2$c, toDisplayString(_ctx.$t(`BcfComponents.SettingCard.title.${$props.extensionType}`)), 1),
1485
+ createElementVNode("div", _hoisted_2$d, toDisplayString(_ctx.$t(`BcfComponents.SettingCard.title.${$props.extensionType}`)), 1),
1473
1486
  createElementVNode("div", _hoisted_3$9, [
1474
1487
  $props.availableExtensions ? (openBlock(), createElementBlock("div", _hoisted_4$8, toDisplayString($props.availableExtensions.length), 1)) : createCommentVNode("", true),
1475
1488
  createVNode(_component_BIMDataIcon, {
@@ -1555,9 +1568,9 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1555
1568
  ])
1556
1569
  ]);
1557
1570
  }
1558
- var SettingCard = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-6b7af8f7"]]);
1571
+ var SettingCard = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-6b7af8f7"]]);
1559
1572
  var BcfSettings_scss_vue_type_style_index_0_src_scoped_true_lang = "";
1560
- const _sfc_main$g = {
1573
+ const _sfc_main$h = {
1561
1574
  components: {
1562
1575
  BIMDataButton: l,
1563
1576
  BIMDataIcon: ol$1,
@@ -1606,16 +1619,16 @@ const _sfc_main$g = {
1606
1619
  };
1607
1620
  }
1608
1621
  };
1609
- const _hoisted_1$d = { class: "bcf-settings" };
1610
- const _hoisted_2$b = { class: "bcf-settings__header" };
1622
+ const _hoisted_1$e = { class: "bcf-settings" };
1623
+ const _hoisted_2$c = { class: "bcf-settings__header" };
1611
1624
  const _hoisted_3$8 = { class: "bcf-settings__content" };
1612
1625
  const _hoisted_4$7 = { class: "bcf-settings__content__text" };
1613
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
1626
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1614
1627
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
1615
1628
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
1616
1629
  const _component_SettingCard = resolveComponent("SettingCard");
1617
- return openBlock(), createElementBlock("div", _hoisted_1$d, [
1618
- createElementVNode("div", _hoisted_2$b, [
1630
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
1631
+ createElementVNode("div", _hoisted_2$c, [
1619
1632
  createElementVNode("span", null, toDisplayString(_ctx.$t("BcfComponents.BcfSettings.title")), 1),
1620
1633
  createVNode(_component_BIMDataButton, {
1621
1634
  ghost: "",
@@ -1647,8 +1660,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
1647
1660
  ])
1648
1661
  ]);
1649
1662
  }
1650
- var BcfSettings = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-54aa64a7"]]);
1651
- var u$3 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), m$5 = { 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$3.includes(n) } }, emits: ["click"], computed: { classes() {
1663
+ var BcfSettings = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-54aa64a7"]]);
1664
+ var u$3 = Object.freeze(["default", "primary", "secondary", "high", "success", "granite"]), m$6 = { 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$3.includes(n) } }, emits: ["click"], computed: { classes() {
1652
1665
  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 };
1653
1666
  }, style() {
1654
1667
  return { "min-width": "" + this.width, "min-height": "" + this.height };
@@ -1663,9 +1676,9 @@ function k$2(n, r) {
1663
1676
  }
1664
1677
  }
1665
1678
  k$2('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-3f903003] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n\n/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-3f903003] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.text-left[data-v-3f903003] {\n text-align: left;\n}\n.text-center[data-v-3f903003] {\n text-align: center;\n}\n.text-right[data-v-3f903003] {\n text-align: right;\n}\n.bimdata-link[data-v-3f903003] {\n color: var(--color-primary);\n border-bottom: 1px solid var(--color-primary);\n font-weight: 700;\n}\n\n/* BIMDATA FONT WEIGHT */\n.primary-font[data-v-3f903003] {\n font-family: "roboto", sans-serif;\n}');
1666
- k$2(".bimdata-btn {\n padding: 0 var(--spacing-unit);\n height: -webkit-fit-content;\n height: -moz-fit-content;\n height: fit-content;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: transparent;\n border: none;\n color: var(--color-primary);\n cursor: pointer;\n font-family: var(--primary-font);\n font-size: 12px;\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease;\n /* style BIMDATA BTN RADIUS ------------------ */\n /* style BIMDATA BTN FILL -------------------- */\n}\n.bimdata-btn:hover {\n -webkit-transition: all 0.25s ease-in;\n transition: all 0.25s ease-in;\n}\n.bimdata-btn:focus {\n outline: none;\n}\n.bimdata-btn__icon {\n padding: 0;\n}\n.bimdata-btn__radius {\n border-radius: 3px;\n}\n.bimdata-btn__square {\n border-radius: 0;\n}\n.bimdata-btn__rounded {\n border-radius: 50%;\n}\n.bimdata-btn__fill {\n background-color: var(--color-white);\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n /* style BIMDATA BTN DEFAULT FILL ---------- */\n /* style BIMDATA BTN PRIMARY FILL ---------- */\n /* style BIMDATA BTN SECONDARY FILL ---------- */\n /* style BIMDATA BTN GREY FILL ------------- */\n /* style BIMDATA BTN RED FILL ------------- */\n /* style BIMDATA BTN GREEN FILL ------------- */\n /* style BIMDATA BTN FILL BTN ICON --------- */\n}\n.bimdata-btn__fill--default {\n -webkit-box-shadow: var(--box-shadow);\n box-shadow: var(--box-shadow);\n}\n.bimdata-btn__fill--default:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__fill--primary {\n background-color: var(--color-primary);\n color: var(--color-white);\n}\n.bimdata-btn__fill--primary:hover {\n background-color: var(--color-primary-light);\n}\n.bimdata-btn__fill--secondary {\n background-color: var(--color-secondary);\n color: var(--color-primary);\n}\n.bimdata-btn__fill--secondary:hover {\n background-color: var(--color-secondary-light);\n}\n.bimdata-btn__fill--granite {\n background-color: var(--color-granite);\n color: var(--color-white);\n}\n.bimdata-btn__fill--granite:hover {\n background-color: var(--color-granite);\n}\n.bimdata-btn__fill--high {\n background-color: var(--color-high);\n color: var(--color-white);\n}\n.bimdata-btn__fill--high:hover {\n background-color: var(--color-high-light);\n}\n.bimdata-btn__fill--success {\n background-color: var(--color-success);\n color: var(--color-white);\n}\n.bimdata-btn__fill--success:hover {\n background-color: var(--color-success-light);\n}\n.bimdata-btn__fill--btn-icon svg {\n margin: 0 6px;\n}\n.bimdata-btn__fill:disabled {\n background-color: var(--color-silver-dark);\n color: var(--color-white);\n cursor: auto;\n}\n.bimdata-btn__ripple {\n background-position: center;\n -webkit-transition: background 0.8s;\n transition: background 0.8s;\n}\n.bimdata-btn__ripple--default {\n background-color: transparent;\n color: var(--color-primary);\n}\n.bimdata-btn__ripple--default:hover {\n background: transparent radial-gradient(circle, transparent 1%, var(--color-silver-light) 1%) center/15000%;\n}\n.bimdata-btn__ripple--default:active:not(:disabled) {\n background-color: var(--color-silver-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--primary {\n background-color: var(--color-primary);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--primary:hover {\n background: var(--color-primary) radial-gradient(circle, transparent 1%, var(--color-primary) 1%) center/15000%;\n}\n.bimdata-btn__ripple--primary:active:not(:disabled) {\n background-color: var(--color-primary-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--secondary {\n background-color: var(--color-secondary);\n color: var(--color-primary);\n}\n.bimdata-btn__ripple--secondary:hover {\n background: var(--color-secondary) radial-gradient(circle, transparent 1%, var(--color-secondary) 1%) center/15000%;\n}\n.bimdata-btn__ripple--secondary:active:not(:disabled) {\n background-color: var(--color-secondary-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--granite {\n background-color: var(--color-granite);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--granite:hover {\n background: var(--color-granite) radial-gradient(circle, transparent 1%, var(--color-granite) 1%) center/15000%;\n}\n.bimdata-btn__ripple--granite:active:not(:disabled) {\n background-color: var(--color-granite-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--high {\n background-color: var(--color-high);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--high:hover {\n background: var(--color-high) radial-gradient(circle, transparent 1%, var(--color-high) 1%) center/15000%;\n}\n.bimdata-btn__ripple--high:active:not(:disabled) {\n background-color: var(--color-high-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--success {\n background-color: var(--color-success);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--success:hover {\n background: var(--color-success) radial-gradient(circle, transparent 1%, var(--color-success) 1%) center/15000%;\n}\n.bimdata-btn__ripple--success:active:not(:disabled) {\n background-color: var(--color-success-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple:disabled {\n background-color: var(--color-silver-dark);\n color: var(--color-white);\n cursor: auto;\n}\n.bimdata-btn__outline {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n border: 1px solid;\n}\n.bimdata-btn__outline--default {\n border-color: var(--color-silver);\n color: var(--color-primary);\n}\n.bimdata-btn__outline--default:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__outline--primary {\n border-color: var(--color-primary);\n color: var(--color-primary);\n}\n.bimdata-btn__outline--primary:hover {\n background-color: var(--color-primary-lighter);\n}\n.bimdata-btn__outline--secondary {\n border-color: var(--color-secondary);\n color: var(--color-primary);\n}\n.bimdata-btn__outline--secondary:hover {\n background-color: var(--color-secondary-lighter);\n}\n.bimdata-btn__outline--granite {\n border-color: var(--color-granite);\n color: var(--color-granite);\n}\n.bimdata-btn__outline--granite:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__outline--high {\n border-color: var(--color-high);\n color: var(--color-high);\n}\n.bimdata-btn__outline--high:hover {\n background-color: var(--color-high-lighter);\n}\n.bimdata-btn__outline--success {\n border-color: var(--color-success);\n color: var(--color-success);\n}\n.bimdata-btn__outline--success:hover {\n background-color: var(--color-success-lighter);\n}\n.bimdata-btn__outline:disabled {\n border-color: var(--color-silver-dark);\n color: var(--color-silver-dark);\n cursor: auto;\n}\n.bimdata-btn__outline:disabled:hover {\n background-color: transparent;\n}\n.bimdata-btn__ghost {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.bimdata-btn__ghost svg {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.bimdata-btn__ghost--default {\n color: var(--color-primary);\n}\n.bimdata-btn__ghost--default:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__ghost--primary {\n color: var(--color-primary);\n}\n.bimdata-btn__ghost--primary:hover {\n background-color: var(--color-primary-lighter);\n}\n.bimdata-btn__ghost--secondary {\n color: var(--color-secondary);\n}\n.bimdata-btn__ghost--secondary:hover {\n background-color: var(--color-secondary-lighter);\n}\n.bimdata-btn__ghost--granite {\n color: var(--color-granite);\n}\n.bimdata-btn__ghost--granite:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__ghost--high {\n color: var(--color-high);\n}\n.bimdata-btn__ghost--high:hover {\n background-color: var(--color-high-lighter);\n}\n.bimdata-btn__ghost--success {\n color: var(--color-success);\n}\n.bimdata-btn__ghost--success:hover {\n background-color: var(--color-success-lighter);\n}\n.bimdata-btn__ghost:disabled {\n color: var(--color-silver-dark);\n cursor: auto;\n}"), m$5.render = function(e2, l2, i2, c2, s2, g2) {
1679
+ k$2(".bimdata-btn {\n padding: 0 var(--spacing-unit);\n height: -webkit-fit-content;\n height: -moz-fit-content;\n height: fit-content;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: transparent;\n border: none;\n color: var(--color-primary);\n cursor: pointer;\n font-family: var(--primary-font);\n font-size: 12px;\n -webkit-transition: all 0.1s ease;\n transition: all 0.1s ease;\n /* style BIMDATA BTN RADIUS ------------------ */\n /* style BIMDATA BTN FILL -------------------- */\n}\n.bimdata-btn:hover {\n -webkit-transition: all 0.25s ease-in;\n transition: all 0.25s ease-in;\n}\n.bimdata-btn:focus {\n outline: none;\n}\n.bimdata-btn__icon {\n padding: 0;\n}\n.bimdata-btn__radius {\n border-radius: 3px;\n}\n.bimdata-btn__square {\n border-radius: 0;\n}\n.bimdata-btn__rounded {\n border-radius: 50%;\n}\n.bimdata-btn__fill {\n background-color: var(--color-white);\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n /* style BIMDATA BTN DEFAULT FILL ---------- */\n /* style BIMDATA BTN PRIMARY FILL ---------- */\n /* style BIMDATA BTN SECONDARY FILL ---------- */\n /* style BIMDATA BTN GREY FILL ------------- */\n /* style BIMDATA BTN RED FILL ------------- */\n /* style BIMDATA BTN GREEN FILL ------------- */\n /* style BIMDATA BTN FILL BTN ICON --------- */\n}\n.bimdata-btn__fill--default {\n -webkit-box-shadow: var(--box-shadow);\n box-shadow: var(--box-shadow);\n}\n.bimdata-btn__fill--default:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__fill--primary {\n background-color: var(--color-primary);\n color: var(--color-white);\n}\n.bimdata-btn__fill--primary:hover {\n background-color: var(--color-primary-light);\n}\n.bimdata-btn__fill--secondary {\n background-color: var(--color-secondary);\n color: var(--color-primary);\n}\n.bimdata-btn__fill--secondary:hover {\n background-color: var(--color-secondary-light);\n}\n.bimdata-btn__fill--granite {\n background-color: var(--color-granite);\n color: var(--color-white);\n}\n.bimdata-btn__fill--granite:hover {\n background-color: var(--color-granite);\n}\n.bimdata-btn__fill--high {\n background-color: var(--color-high);\n color: var(--color-white);\n}\n.bimdata-btn__fill--high:hover {\n background-color: var(--color-high-light);\n}\n.bimdata-btn__fill--success {\n background-color: var(--color-success);\n color: var(--color-white);\n}\n.bimdata-btn__fill--success:hover {\n background-color: var(--color-success-light);\n}\n.bimdata-btn__fill--btn-icon svg {\n margin: 0 6px;\n}\n.bimdata-btn__fill:disabled {\n background-color: var(--color-silver-dark);\n color: var(--color-white);\n cursor: auto;\n}\n.bimdata-btn__ripple {\n background-position: center;\n -webkit-transition: background 0.8s;\n transition: background 0.8s;\n}\n.bimdata-btn__ripple--default {\n background-color: transparent;\n color: var(--color-primary);\n}\n.bimdata-btn__ripple--default:hover {\n background: transparent radial-gradient(circle, transparent 1%, var(--color-silver-light) 1%) center/15000%;\n}\n.bimdata-btn__ripple--default:active:not(:disabled) {\n background-color: var(--color-silver-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--primary {\n background-color: var(--color-primary);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--primary:hover {\n background: var(--color-primary) radial-gradient(circle, transparent 1%, var(--color-primary) 1%) center/15000%;\n}\n.bimdata-btn__ripple--primary:active:not(:disabled) {\n background-color: var(--color-primary-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--secondary {\n background-color: var(--color-secondary);\n color: var(--color-primary);\n}\n.bimdata-btn__ripple--secondary:hover {\n background: var(--color-secondary) radial-gradient(circle, transparent 1%, var(--color-secondary) 1%) center/15000%;\n}\n.bimdata-btn__ripple--secondary:active:not(:disabled) {\n background-color: var(--color-secondary-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--granite {\n background-color: var(--color-granite);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--granite:hover {\n background: var(--color-granite) radial-gradient(circle, transparent 1%, var(--color-granite) 1%) center/15000%;\n}\n.bimdata-btn__ripple--granite:active:not(:disabled) {\n background-color: var(--color-granite-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--high {\n background-color: var(--color-high);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--high:hover {\n background: var(--color-high) radial-gradient(circle, transparent 1%, var(--color-high) 1%) center/15000%;\n}\n.bimdata-btn__ripple--high:active:not(:disabled) {\n background-color: var(--color-high-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple--success {\n background-color: var(--color-success);\n color: var(--color-white);\n}\n.bimdata-btn__ripple--success:hover {\n background: var(--color-success) radial-gradient(circle, transparent 1%, var(--color-success) 1%) center/15000%;\n}\n.bimdata-btn__ripple--success:active:not(:disabled) {\n background-color: var(--color-success-light);\n background-size: 100%;\n -webkit-transition: background 0s;\n transition: background 0s;\n}\n.bimdata-btn__ripple:disabled {\n background-color: var(--color-silver-dark);\n color: var(--color-white);\n cursor: auto;\n}\n.bimdata-btn__outline {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n border: 1px solid;\n}\n.bimdata-btn__outline--default {\n border-color: var(--color-silver);\n color: var(--color-primary);\n}\n.bimdata-btn__outline--default:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__outline--primary {\n border-color: var(--color-primary);\n color: var(--color-primary);\n}\n.bimdata-btn__outline--primary:hover {\n background-color: var(--color-primary-lighter);\n}\n.bimdata-btn__outline--secondary {\n border-color: var(--color-secondary);\n color: var(--color-primary);\n}\n.bimdata-btn__outline--secondary:hover {\n background-color: var(--color-secondary-lighter);\n}\n.bimdata-btn__outline--granite {\n border-color: var(--color-granite);\n color: var(--color-granite);\n}\n.bimdata-btn__outline--granite:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__outline--high {\n border-color: var(--color-high);\n color: var(--color-high);\n}\n.bimdata-btn__outline--high:hover {\n background-color: var(--color-high-lighter);\n}\n.bimdata-btn__outline--success {\n border-color: var(--color-success);\n color: var(--color-success);\n}\n.bimdata-btn__outline--success:hover {\n background-color: var(--color-success-lighter);\n}\n.bimdata-btn__outline:disabled {\n border-color: var(--color-silver-dark);\n color: var(--color-silver-dark);\n cursor: auto;\n}\n.bimdata-btn__outline:disabled:hover {\n background-color: transparent;\n}\n.bimdata-btn__ghost {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.bimdata-btn__ghost svg {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.bimdata-btn__ghost--default {\n color: var(--color-primary);\n}\n.bimdata-btn__ghost--default:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__ghost--primary {\n color: var(--color-primary);\n}\n.bimdata-btn__ghost--primary:hover {\n background-color: var(--color-primary-lighter);\n}\n.bimdata-btn__ghost--secondary {\n color: var(--color-secondary);\n}\n.bimdata-btn__ghost--secondary:hover {\n background-color: var(--color-secondary-lighter);\n}\n.bimdata-btn__ghost--granite {\n color: var(--color-granite);\n}\n.bimdata-btn__ghost--granite:hover {\n background-color: var(--color-silver-light);\n}\n.bimdata-btn__ghost--high {\n color: var(--color-high);\n}\n.bimdata-btn__ghost--high:hover {\n background-color: var(--color-high-lighter);\n}\n.bimdata-btn__ghost--success {\n color: var(--color-success);\n}\n.bimdata-btn__ghost--success:hover {\n background-color: var(--color-success-lighter);\n}\n.bimdata-btn__ghost:disabled {\n color: var(--color-silver-dark);\n cursor: auto;\n}"), m$6.render = function(e2, l2, i2, c2, s2, g2) {
1667
1680
  return openBlock(), createElementBlock("button", { class: normalizeClass(["bimdata-btn", g2.classes]), style: normalizeStyle(g2.style), onClick: l2[0] || (l2[0] = (n) => e2.$emit("click", n)), color: i2.color, type: "button" }, [renderSlot(e2.$slots, "default")], 14, f$4);
1668
- }, m$5.__scopeId = "data-v-3f903003", m$5.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
1681
+ }, m$6.__scopeId = "data-v-3f903003", m$6.__file = "src/BIMDataComponents/BIMDataButton/BIMDataButton.vue";
1669
1682
  const y$3 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M6.0522 2.19676C5.9826 2.27217 5.9826 2.39544 6.0522 2.47105L14.4046 11.5192L6.08804 20.529C6.01825 20.6044 6.01825 20.7279 6.08804 20.8033L8.06344 22.9433C8.13304 23.0189 8.24702 23.0189 8.31662 22.9433L18.7257 11.667C18.7942 11.5928 18.795 11.4724 18.729 11.3968C18.7202 11.3736 18.7071 11.3518 18.6899 11.3331L8.28077 0.0565512C8.21117 -0.0188504 8.09719 -0.0188504 8.02759 0.0565512L6.0522 2.19676Z" };
1670
1683
  const A$3 = { render: function(o2, a2) {
1671
1684
  return openBlock(), createElementBlock("path", y$3);
@@ -1719,14 +1732,14 @@ k$2(".icon-fill--black {\n fill: var(--color-black);\n}\n.icon-fill--default {\
1719
1732
  const d2 = resolveComponent("Search");
1720
1733
  return openBlock(), createElementBlock("svg", { xmlns: "http://www.w3.org/2000/svg", preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "100%", fill: t.fillColor, color: t.color, class: normalizeClass(t.classes), style: normalizeStyle(t.style) }, [createVNode(d2)], 14, G$3);
1721
1734
  }, P$3.__scopeId = "data-v-0993abf8", P$3.__file = "src/BIMDataComponents/BIMDataIcon/BIMDataIconStandalone/BIMDataIconSearch.vue";
1722
- var H$3 = { components: { BIMDataIconChevron: x$4, BIMDataIconDoubleChevron: w$4, BIMDataButton: m$5 }, props: { first: { type: Boolean, default: true }, last: { type: Boolean, default: true }, previous: { type: Boolean, default: true }, next: { type: Boolean, default: true }, firstDisabled: { type: Boolean, default: false }, lastDisabled: { type: Boolean, default: false }, previousDisabled: { type: Boolean, default: false }, nextDisabled: { type: Boolean, default: false }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["first", "previous", "next", "last"] };
1735
+ var H$3 = { components: { BIMDataIconChevron: x$4, BIMDataIconDoubleChevron: w$4, BIMDataButton: m$6 }, props: { first: { type: Boolean, default: true }, last: { type: Boolean, default: true }, previous: { type: Boolean, default: true }, next: { type: Boolean, default: true }, firstDisabled: { type: Boolean, default: false }, lastDisabled: { type: Boolean, default: false }, previousDisabled: { type: Boolean, default: false }, nextDisabled: { type: Boolean, default: false }, backgroundColor: { type: String, default: "var(--color-white)" } }, emits: ["first", "previous", "next", "last"] };
1723
1736
  const U$3 = { class: "bimdata-navigation__left m-r-6" }, V$3 = { key: 0, class: "bimdata-navigation__item" }, F$3 = { key: 1, class: "bimdata-navigation__item" }, z$3 = { key: 2, class: "bimdata-navigation__item" }, Y$3 = { key: 3, class: "bimdata-navigation__item" }, X$3 = { class: "bimdata-navigation__right" };
1724
1737
  k$2('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-aa907072] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.bimdata-list[data-v-aa907072] {\n margin: 0;\n padding: 0;\n}\n.bimdata-list li[data-v-aa907072] {\n list-style-type: none;\n}');
1725
1738
  k$2(".bimdata-navigation[data-v-aa907072] {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n width: 100%;\n height: 38px;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.bimdata-navigation__item[data-v-aa907072] {\n padding: 6px 2px;\n}\n.bimdata-navigation__item .bimdata-btn[data-v-aa907072] {\n padding: 0;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.bimdata-navigation__item.active .bimdata-btn[data-v-aa907072] {\n font-weight: 700;\n}\n.bimdata-navigation__left[data-v-aa907072], .bimdata-navigation__right[data-v-aa907072] {\n padding: 6px 2px;\n font-size: 10px;\n cursor: default;\n}"), H$3.render = function(g2, b2, d2, h2, p2, v2) {
1726
1739
  const u2 = resolveComponent("BIMDataIconDoubleChevron"), m2 = resolveComponent("BIMDataButton"), f2 = resolveComponent("BIMDataIconChevron");
1727
1740
  return openBlock(), createElementBlock("ul", { class: "bimdata-list bimdata-navigation", style: normalizeStyle({ "background-color": d2.backgroundColor }) }, [createElementVNode("li", U$3, [renderSlot(g2.$slots, "left")]), d2.first ? (openBlock(), createElementBlock("li", V$3, [createVNode(m2, { onClick: b2[0] || (b2[0] = (n) => g2.$emit("first")), disabled: d2.firstDisabled, ghost: "", class: normalizeClass({ disabled: d2.firstDisabled }), width: "21px", height: "21px" }, { default: withCtx(() => [createVNode(u2, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : createCommentVNode("v-if", true), d2.previous ? (openBlock(), createElementBlock("li", F$3, [createVNode(m2, { onClick: b2[1] || (b2[1] = (n) => g2.$emit("previous")), disabled: d2.previousDisabled, ghost: "", class: normalizeClass({ disabled: d2.previousDisabled }), width: "21px", height: "21px" }, { default: withCtx(() => [createVNode(f2, { size: "xxxs", rotate: 180 })]), _: 1 }, 8, ["disabled", "class"])])) : createCommentVNode("v-if", true), createElementVNode("li", null, [renderSlot(g2.$slots, "default")]), d2.next ? (openBlock(), createElementBlock("li", z$3, [createVNode(m2, { onClick: b2[2] || (b2[2] = (n) => g2.$emit("next")), disabled: d2.nextDisabled, ghost: "", class: normalizeClass({ disabled: d2.nextDisabled }), width: "21px", height: "21px" }, { default: withCtx(() => [createVNode(f2, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : createCommentVNode("v-if", true), d2.last ? (openBlock(), createElementBlock("li", Y$3, [createVNode(m2, { onClick: b2[3] || (b2[3] = (n) => g2.$emit("last")), disabled: d2.lastDisabled, ghost: "", class: normalizeClass({ disabled: d2.lastDisabled }), width: "21px", height: "21px" }, { default: withCtx(() => [createVNode(u2, { size: "xxxs" })]), _: 1 }, 8, ["disabled", "class"])])) : createCommentVNode("v-if", true), createElementVNode("li", X$3, [renderSlot(g2.$slots, "right")])], 4);
1728
1741
  }, H$3.__scopeId = "data-v-aa907072", H$3.__file = "src/BIMDataComponents/BIMDataNavigation/BIMDataNavigation.vue";
1729
- var W$3 = { components: { BIMDataNavigation: H$3, BIMDataButton: m$5 }, props: { length: { type: Number, required: true }, currentPage: { type: Number, required: true }, totalPages: { type: Number, required: true }, numberDataElements: { type: Boolean, default: true }, backgroundColor: { type: String, default: "var(--color-white)" }, perPage: { type: Number, required: true, validator: (n) => n > 0 } }, emits: ["pagechanged"], computed: { firstIndex() {
1742
+ var W$3 = { components: { BIMDataNavigation: H$3, BIMDataButton: m$6 }, props: { length: { type: Number, required: true }, currentPage: { type: Number, required: true }, totalPages: { type: Number, required: true }, numberDataElements: { type: Boolean, default: true }, backgroundColor: { type: String, default: "var(--color-white)" }, perPage: { type: Number, required: true, validator: (n) => n > 0 } }, emits: ["pagechanged"], computed: { firstIndex() {
1730
1743
  return this.perPage * (this.currentPage - 1) + 1;
1731
1744
  }, lastIndex() {
1732
1745
  return Math.min(this.firstIndex + this.perPage - 1, this.length);
@@ -1812,7 +1825,7 @@ const o = { class: "bimdata-simple-pie-chart", ref: "container" }, d$2 = ["viewB
1812
1825
  return openBlock(), createElementBlock("div", o, [(openBlock(), createElementBlock("svg", { viewBox: b2.viewBox, style: normalizeStyle(`--graph-draw-time: ${p2.graphDrawTime}s;`) }, [p2.placeholder ? (openBlock(), createElementBlock("circle", { key: 0, cx: b2.center, cy: b2.center, r: p2.barDistanceFromCenter, "stroke-width": p2.placeholderStrokeWidth, stroke: p2.placeholderColor, fill: "none" }, null, 8, h$3)) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(b2.displayedBarsData, (a2, i2) => (openBlock(), createElementBlock("g", { key: i2 }, [a2.percentage > 0 ? (openBlock(), createElementBlock("path", { key: 0, class: "path", d: b2.getPath(a2), "stroke-width": p2.barStrokeWidth, stroke: a2.color, fill: "none" }, null, 8, c$2)) : createCommentVNode("v-if", true)]))), 128))], 12, d$2))], 512);
1813
1826
  }, s$2.__scopeId = "data-v-b68a8bb2", s$2.__file = "src/BIMDataComponents/BIMDataSimplePieChart/BIMDataSimplePieChart.vue";
1814
1827
  var BcfStatistics_scss_vue_type_style_index_0_src_scoped_true_lang = "";
1815
- const _sfc_main$f = {
1828
+ const _sfc_main$g = {
1816
1829
  components: {
1817
1830
  BIMDataPaginatedList: K$2,
1818
1831
  BIMDataSimplePieChart: s$2
@@ -1857,19 +1870,19 @@ const _sfc_main$f = {
1857
1870
  };
1858
1871
  }
1859
1872
  };
1860
- const _hoisted_1$c = { class: "bcf-statistics" };
1861
- const _hoisted_2$a = { class: "bcf-statistics__content" };
1873
+ const _hoisted_1$d = { class: "bcf-statistics" };
1874
+ const _hoisted_2$b = { class: "bcf-statistics__content" };
1862
1875
  const _hoisted_3$7 = { class: "bcf-statistics__content__legend" };
1863
1876
  const _hoisted_4$6 = { class: "bcf-statistics__content__legend__title" };
1864
1877
  const _hoisted_5$6 = { class: "bcf-statistics__content__legend__item" };
1865
1878
  const _hoisted_6$6 = { class: "bcf-statistics__content__legend__item__percent" };
1866
1879
  const _hoisted_7$6 = { class: "bcf-statistics__content__legend__item__text" };
1867
1880
  const _hoisted_8$6 = { class: "total" };
1868
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
1881
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
1869
1882
  const _component_BIMDataSimplePieChart = resolveComponent("BIMDataSimplePieChart");
1870
1883
  const _component_BIMDataPaginatedList = resolveComponent("BIMDataPaginatedList");
1871
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
1872
- createElementVNode("div", _hoisted_2$a, [
1884
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
1885
+ createElementVNode("div", _hoisted_2$b, [
1873
1886
  createVNode(_component_BIMDataSimplePieChart, {
1874
1887
  class: "bcf-statistics__content__chart",
1875
1888
  barsData: $setup.barsData,
@@ -1906,7 +1919,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
1906
1919
  ])
1907
1920
  ]);
1908
1921
  }
1909
- var BcfStatistics = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-763cac12"]]);
1922
+ var BcfStatistics = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-763cac12"]]);
1910
1923
  var s$1 = { props: { width: { type: String, default: "100%" }, minWidth: { type: String }, maxWidth: { type: String }, text: { type: String, default: "" }, cutPosition: { type: String, default: "middle", validator: (t) => ["start", "middle", "end"].includes(t) }, tooltip: { type: Boolean, default: true }, tooltipPosition: { type: String, default: "bottom", validator: (t) => ["top", "right", "bottom", "left"].includes(t) }, tooltipColor: { type: String, default: "primary", validator: (t) => ["white", "primary", "secondary", "granite-light", "silver-light"].includes(t) } }, data: () => ({ showTooltip: false, isOverflowing: false, textHead: "", textTail: "" }), watch: { width: "computeText", text: "computeText", cutPosition: "computeText" }, mounted() {
1911
1924
  this.observer = new ResizeObserver(() => this.computeText()), this.observer.observe(this.$refs.textBox), this.computeText();
1912
1925
  }, beforeUnmount() {
@@ -1928,24 +1941,24 @@ const c$1 = { class: "bimdata-textbox__text--tail" };
1928
1941
  }('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-330fe2fd] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.bimdata-textbox[data-v-330fe2fd] {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n position: relative;\n}\n.bimdata-textbox__text--head[data-v-330fe2fd] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.bimdata-textbox__text--tail[data-v-330fe2fd] {\n width: 50%;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: "";\n direction: rtl;\n}\n.bimdata-textbox__tooltip[data-v-330fe2fd] {\n position: absolute;\n z-index: 2;\n min-width: 60px;\n max-width: 200px;\n width: -webkit-max-content;\n width: -moz-max-content;\n width: max-content;\n padding: calc(var(--spacing-unit) / 3) calc(var(--spacing-unit) / 2);\n border-radius: 3px;\n text-align: center;\n white-space: normal;\n word-wrap: break-word;\n}\n.bimdata-textbox__tooltip[data-v-330fe2fd]::before {\n content: "";\n position: absolute;\n border-style: solid;\n border-width: 8px 0 0 8px;\n}\n.bimdata-textbox__tooltip--white[data-v-330fe2fd] {\n background-color: var(--color-white);\n color: var(--color-primary);\n}\n.bimdata-textbox__tooltip--white[data-v-330fe2fd]::before {\n border-color: var(--color-white) transparent transparent;\n}\n.bimdata-textbox__tooltip--primary[data-v-330fe2fd] {\n background-color: var(--color-primary);\n color: var(--color-white);\n}\n.bimdata-textbox__tooltip--primary[data-v-330fe2fd]::before {\n border-color: var(--color-primary) transparent transparent;\n}\n.bimdata-textbox__tooltip--secondary[data-v-330fe2fd] {\n background-color: rgb(249, 199, 44);\n color: rgb(47, 55, 74);\n}\n.bimdata-textbox__tooltip--secondary[data-v-330fe2fd]::before {\n border-color: var(--color-secondary) transparent transparent;\n}\n.bimdata-textbox__tooltip--granite-light[data-v-330fe2fd] {\n background-color: var(--color-granite-light);\n color: var(--color-white);\n}\n.bimdata-textbox__tooltip--granite-light[data-v-330fe2fd]::before {\n border-color: var(--color-granite-light) transparent transparent;\n}\n.bimdata-textbox__tooltip--silver-light[data-v-330fe2fd] {\n background-color: var(--color-silver-light);\n color: var(--color-primary);\n}\n.bimdata-textbox__tooltip--silver-light[data-v-330fe2fd]::before {\n border-color: var(--color-silver-light) transparent transparent;\n}\n.bimdata-textbox__tooltip--top[data-v-330fe2fd] {\n top: -8px;\n left: 50%;\n -webkit-transform: translateX(-50%) translateY(-100%);\n transform: translateX(-50%) translateY(-100%);\n}\n.bimdata-textbox__tooltip--top[data-v-330fe2fd]::before {\n top: calc(100% - 4px);\n left: calc(50% - 4px);\n -webkit-transform: rotate(135deg);\n transform: rotate(135deg);\n}\n.bimdata-textbox__tooltip--right[data-v-330fe2fd] {\n top: 50%;\n left: calc(100% + 8px);\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n.bimdata-textbox__tooltip--right[data-v-330fe2fd]::before {\n top: calc(50% - 4px);\n left: -4px;\n -webkit-transform: rotate(-135deg);\n transform: rotate(-135deg);\n}\n.bimdata-textbox__tooltip--bottom[data-v-330fe2fd] {\n top: calc(100% + 8px);\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n}\n.bimdata-textbox__tooltip--bottom[data-v-330fe2fd]::before {\n top: -4px;\n left: calc(50% - 4px);\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.bimdata-textbox__tooltip--left[data-v-330fe2fd] {\n top: 50%;\n left: -8px;\n -webkit-transform: translateX(-100%) translateY(-50%);\n transform: translateX(-100%) translateY(-50%);\n}\n.bimdata-textbox__tooltip--left[data-v-330fe2fd]::before {\n top: calc(50% - 4px);\n left: calc(100% - 4px);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}'), s$1.render = function(s2, b2, p2, x2, f2, g2) {
1929
1942
  return openBlock(), createElementBlock("div", { ref: "textBox", class: "bimdata-textbox", style: normalizeStyle({ width: p2.width, minWidth: p2.minWidth, maxWidth: p2.maxWidth }), onMouseenter: b2[0] || (b2[0] = (t) => f2.showTooltip = true), onMouseleave: b2[1] || (b2[1] = (t) => f2.showTooltip = false) }, [createElementVNode("span", { ref: "textHead", class: "bimdata-textbox__text--head", style: normalizeStyle({ width: f2.textTail ? "50%" : "100%", direction: p2.cutPosition === "start" ? "rtl" : "ltr" }) }, [createElementVNode("bdi", null, toDisplayString(f2.textHead), 1)], 4), withDirectives(createElementVNode("span", c$1, [createElementVNode("bdi", null, toDisplayString(f2.textTail), 1)], 512), [[vShow, f2.textTail]]), p2.tooltip && f2.isOverflowing ? withDirectives((openBlock(), createElementBlock("div", { key: 0, class: normalizeClass(["bimdata-textbox__tooltip", ["bimdata-textbox__tooltip--" + p2.tooltipPosition, "bimdata-textbox__tooltip--" + p2.tooltipColor]]) }, toDisplayString(p2.text), 3)), [[vShow, f2.showTooltip]]) : createCommentVNode("v-if", true)], 36);
1930
1943
  }, s$1.__scopeId = "data-v-330fe2fd", s$1.__file = "src/BIMDataComponents/BIMDataTextbox/BIMDataTextbox.vue";
1931
- const _sfc_main$e = {};
1932
- const _hoisted_1$b = {
1944
+ const _sfc_main$f = {};
1945
+ const _hoisted_1$c = {
1933
1946
  width: "84",
1934
1947
  height: "81",
1935
1948
  viewBox: "0 0 84 81",
1936
1949
  fill: "none",
1937
1950
  xmlns: "http://www.w3.org/2000/svg"
1938
1951
  };
1939
- const _hoisted_2$9 = /* @__PURE__ */ createStaticVNode('<path d="M83.3154 40.6328C83.3154 62.7242 65.4068 80.6328 43.3154 80.6328C21.224 80.6328 3.31543 62.7242 3.31543 40.6328C3.31543 18.5414 21.224 0.632812 43.3154 0.632812C65.4068 0.632812 83.3154 18.5414 83.3154 40.6328Z" fill="#FFFFFF"></path><path d="M46.2756 13.5376L34.124 58.8879C33.9787 59.4301 34.3035 59.9926 34.8457 60.1379L68.3655 69.1195C68.9077 69.2648 69.4702 68.94 69.6155 68.3978L78.333 35.8639L67.4883 32.9581C66.9461 32.8128 66.6213 32.2503 66.7666 31.708L70.2008 18.8916L47.5256 12.8159C46.9834 12.6706 46.4209 12.9953 46.2756 13.5376Z" fill="#FFFFFF"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.7926 13.4082C46.0094 12.5992 46.8461 12.1161 47.655 12.3329L70.8131 18.5381L67.2496 31.8374C67.1758 32.1129 67.0765 32.4855 67.0765 32.4855L78.92 35.6661L70.0985 68.5272C69.8817 69.3362 69.045 69.8192 68.2361 69.6024L34.7163 60.6209C33.9073 60.4041 33.4243 59.5674 33.641 58.7584L45.7926 13.4082ZM47.3962 13.2988C47.1207 13.225 46.8324 13.3915 46.7585 13.667L34.607 59.0173C34.5331 59.2928 34.6996 59.5811 34.9751 59.6549L68.4949 68.6365C68.7704 68.7103 69.0587 68.5439 69.1326 68.2684L77.7206 36.2174L67.3589 33.441C66.55 33.2243 66.0669 32.3876 66.2837 31.5786L69.5884 19.2452L47.3962 13.2988Z" class="fill-silver"></path><path d="M67.0765 32.4855L70.8131 18.5404L78.92 35.6661L67.0765 32.4855Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.3876 52.686L48.3872 37.7594L67.8264 42.9682L63.8269 57.8947L44.3876 52.686ZM47.0917 37.0402C47.2458 36.4651 47.837 36.1238 48.4121 36.2779L68.5456 41.6726C69.1208 41.8268 69.4621 42.4179 69.308 42.9931L65.1224 58.6139C64.9683 59.1891 64.3771 59.5304 63.802 59.3763L43.6684 53.9815C43.0933 53.8274 42.752 53.2362 42.9061 52.6611L47.0917 37.0402ZM53.3118 42.9855C52.9778 44.2316 51.697 44.9712 50.4508 44.6373C49.2047 44.3034 48.4652 43.0225 48.7991 41.7763C49.133 40.5302 50.4139 39.7907 51.66 40.1246C52.9061 40.4585 53.6457 41.7394 53.3118 42.9855ZM46.7528 49.4132L46.1482 51.6695L62.8104 56.1342L64.2521 50.7536L60.6945 44.5916L52.992 49.0387L51.5943 46.6179L46.7528 49.4132Z" class="fill-silver"></path><path d="M7.70191 20.1034L19.8535 65.4537C19.9988 65.9959 20.5613 66.3207 21.1035 66.1754L54.6233 57.1938C55.1655 57.0485 55.4903 56.486 55.345 55.9437L46.6276 23.4098L35.783 26.3157C35.2407 26.4609 34.6782 26.1362 34.5329 25.5939L31.0988 12.7776L8.42363 18.8533C7.88139 18.9986 7.55662 19.5612 7.70191 20.1034Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.21895 20.2328C7.00219 19.4238 7.48525 18.5871 8.29422 18.3704L31.4523 12.1652L35.0159 25.4645C35.0897 25.74 35.1918 26.119 35.1918 26.119L47.0371 22.9451L55.828 55.8143C56.0447 56.6233 55.5617 57.46 54.7527 57.6767L21.2329 66.6583C20.424 66.8751 19.5873 66.392 19.3705 65.5831L7.21895 20.2328ZM8.55304 19.3363C8.27754 19.4101 8.11106 19.6985 8.18488 19.974L20.3365 65.3243C20.4103 65.5998 20.6986 65.7662 20.9741 65.6924L54.4939 56.7108C54.7694 56.637 54.9359 56.3487 54.8621 56.0732L46.274 24.0222L35.9124 26.7986C35.1034 27.0154 34.2667 26.5323 34.0499 25.7234L30.7452 13.3899L8.55304 19.3363Z" class="fill-silver"></path><path d="M35.1918 26.119L31.4534 12.1672L47.0371 22.9451L35.1918 26.119Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M25.6411 54.9509L21.6416 40.0243L41.0808 34.8156L45.0804 49.7422L25.6411 54.9509ZM20.16 40.0492C20.0059 39.4741 20.3472 38.8829 20.9224 38.7288L41.0559 33.3341C41.631 33.1799 42.2222 33.5213 42.3763 34.0964L46.5619 49.7172C46.716 50.2924 46.3747 50.8836 45.7996 51.0377L25.666 56.4324C25.0909 56.5865 24.4997 56.2452 24.3456 55.6701L20.16 40.0492ZM28.5194 42.088C28.8533 43.3341 28.1138 44.615 26.8676 44.9489C25.6215 45.2828 24.3406 44.5433 24.0067 43.2971C23.6728 42.051 24.4123 40.7701 25.6585 40.4362C26.9046 40.1023 28.1855 40.8418 28.5194 42.088ZM26.053 50.934L26.6576 53.1903L43.3198 48.7257L41.8781 43.3452L35.7161 39.7876L31.2691 47.4901L28.8483 46.0924L26.053 50.934Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.9375 17.1323V12.6323H7.9375V17.1323H6.9375Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.72393 18.0419L2.54195 14.8599L3.24906 14.1528L6.43104 17.3348L5.72393 18.0419Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.46582 19.615H0.96582L0.96582 18.615H5.46582V19.615Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M46.5972 10.507L47.7619 6.16033L48.7278 6.41915L47.5631 10.7658L46.5972 10.507Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.1895 11.0715L42.9395 7.17435L43.8056 6.67435L46.0556 10.5715L45.1895 11.0715Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.5331 12.5242L40.1864 11.3595L40.4452 10.3936L44.7919 11.5582L44.5331 12.5242Z" class="fill-primary"></path>', 15);
1952
+ const _hoisted_2$a = /* @__PURE__ */ createStaticVNode('<path d="M83.3154 40.6328C83.3154 62.7242 65.4068 80.6328 43.3154 80.6328C21.224 80.6328 3.31543 62.7242 3.31543 40.6328C3.31543 18.5414 21.224 0.632812 43.3154 0.632812C65.4068 0.632812 83.3154 18.5414 83.3154 40.6328Z" fill="#FFFFFF"></path><path d="M46.2756 13.5376L34.124 58.8879C33.9787 59.4301 34.3035 59.9926 34.8457 60.1379L68.3655 69.1195C68.9077 69.2648 69.4702 68.94 69.6155 68.3978L78.333 35.8639L67.4883 32.9581C66.9461 32.8128 66.6213 32.2503 66.7666 31.708L70.2008 18.8916L47.5256 12.8159C46.9834 12.6706 46.4209 12.9953 46.2756 13.5376Z" fill="#FFFFFF"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.7926 13.4082C46.0094 12.5992 46.8461 12.1161 47.655 12.3329L70.8131 18.5381L67.2496 31.8374C67.1758 32.1129 67.0765 32.4855 67.0765 32.4855L78.92 35.6661L70.0985 68.5272C69.8817 69.3362 69.045 69.8192 68.2361 69.6024L34.7163 60.6209C33.9073 60.4041 33.4243 59.5674 33.641 58.7584L45.7926 13.4082ZM47.3962 13.2988C47.1207 13.225 46.8324 13.3915 46.7585 13.667L34.607 59.0173C34.5331 59.2928 34.6996 59.5811 34.9751 59.6549L68.4949 68.6365C68.7704 68.7103 69.0587 68.5439 69.1326 68.2684L77.7206 36.2174L67.3589 33.441C66.55 33.2243 66.0669 32.3876 66.2837 31.5786L69.5884 19.2452L47.3962 13.2988Z" class="fill-silver"></path><path d="M67.0765 32.4855L70.8131 18.5404L78.92 35.6661L67.0765 32.4855Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.3876 52.686L48.3872 37.7594L67.8264 42.9682L63.8269 57.8947L44.3876 52.686ZM47.0917 37.0402C47.2458 36.4651 47.837 36.1238 48.4121 36.2779L68.5456 41.6726C69.1208 41.8268 69.4621 42.4179 69.308 42.9931L65.1224 58.6139C64.9683 59.1891 64.3771 59.5304 63.802 59.3763L43.6684 53.9815C43.0933 53.8274 42.752 53.2362 42.9061 52.6611L47.0917 37.0402ZM53.3118 42.9855C52.9778 44.2316 51.697 44.9712 50.4508 44.6373C49.2047 44.3034 48.4652 43.0225 48.7991 41.7763C49.133 40.5302 50.4139 39.7907 51.66 40.1246C52.9061 40.4585 53.6457 41.7394 53.3118 42.9855ZM46.7528 49.4132L46.1482 51.6695L62.8104 56.1342L64.2521 50.7536L60.6945 44.5916L52.992 49.0387L51.5943 46.6179L46.7528 49.4132Z" class="fill-silver"></path><path d="M7.70191 20.1034L19.8535 65.4537C19.9988 65.9959 20.5613 66.3207 21.1035 66.1754L54.6233 57.1938C55.1655 57.0485 55.4903 56.486 55.345 55.9437L46.6276 23.4098L35.783 26.3157C35.2407 26.4609 34.6782 26.1362 34.5329 25.5939L31.0988 12.7776L8.42363 18.8533C7.88139 18.9986 7.55662 19.5612 7.70191 20.1034Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7.21895 20.2328C7.00219 19.4238 7.48525 18.5871 8.29422 18.3704L31.4523 12.1652L35.0159 25.4645C35.0897 25.74 35.1918 26.119 35.1918 26.119L47.0371 22.9451L55.828 55.8143C56.0447 56.6233 55.5617 57.46 54.7527 57.6767L21.2329 66.6583C20.424 66.8751 19.5873 66.392 19.3705 65.5831L7.21895 20.2328ZM8.55304 19.3363C8.27754 19.4101 8.11106 19.6985 8.18488 19.974L20.3365 65.3243C20.4103 65.5998 20.6986 65.7662 20.9741 65.6924L54.4939 56.7108C54.7694 56.637 54.9359 56.3487 54.8621 56.0732L46.274 24.0222L35.9124 26.7986C35.1034 27.0154 34.2667 26.5323 34.0499 25.7234L30.7452 13.3899L8.55304 19.3363Z" class="fill-silver"></path><path d="M35.1918 26.119L31.4534 12.1672L47.0371 22.9451L35.1918 26.119Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M25.6411 54.9509L21.6416 40.0243L41.0808 34.8156L45.0804 49.7422L25.6411 54.9509ZM20.16 40.0492C20.0059 39.4741 20.3472 38.8829 20.9224 38.7288L41.0559 33.3341C41.631 33.1799 42.2222 33.5213 42.3763 34.0964L46.5619 49.7172C46.716 50.2924 46.3747 50.8836 45.7996 51.0377L25.666 56.4324C25.0909 56.5865 24.4997 56.2452 24.3456 55.6701L20.16 40.0492ZM28.5194 42.088C28.8533 43.3341 28.1138 44.615 26.8676 44.9489C25.6215 45.2828 24.3406 44.5433 24.0067 43.2971C23.6728 42.051 24.4123 40.7701 25.6585 40.4362C26.9046 40.1023 28.1855 40.8418 28.5194 42.088ZM26.053 50.934L26.6576 53.1903L43.3198 48.7257L41.8781 43.3452L35.7161 39.7876L31.2691 47.4901L28.8483 46.0924L26.053 50.934Z" class="fill-silver"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6.9375 17.1323V12.6323H7.9375V17.1323H6.9375Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.72393 18.0419L2.54195 14.8599L3.24906 14.1528L6.43104 17.3348L5.72393 18.0419Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M5.46582 19.615H0.96582L0.96582 18.615H5.46582V19.615Z" class="fill-secondary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M46.5972 10.507L47.7619 6.16033L48.7278 6.41915L47.5631 10.7658L46.5972 10.507Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M45.1895 11.0715L42.9395 7.17435L43.8056 6.67435L46.0556 10.5715L45.1895 11.0715Z" class="fill-primary"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M44.5331 12.5242L40.1864 11.3595L40.4452 10.3936L44.7919 11.5582L44.5331 12.5242Z" class="fill-primary"></path>', 15);
1940
1953
  const _hoisted_17$1 = [
1941
- _hoisted_2$9
1954
+ _hoisted_2$a
1942
1955
  ];
1943
- function _sfc_render$e(_ctx, _cache) {
1944
- return openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_17$1);
1956
+ function _sfc_render$f(_ctx, _cache) {
1957
+ return openBlock(), createElementBlock("svg", _hoisted_1$c, _hoisted_17$1);
1945
1958
  }
1946
- var BcfTopicDefaultImage = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]);
1959
+ var BcfTopicDefaultImage = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f]]);
1947
1960
  var BcfTopicCard_scss_vue_type_style_index_0_src_scoped_true_lang = "";
1948
- const _sfc_main$d = {
1961
+ const _sfc_main$e = {
1949
1962
  components: {
1950
1963
  BcfTopicDefaultImage,
1951
1964
  BIMDataButton: l,
@@ -1969,24 +1982,8 @@ const _sfc_main$d = {
1969
1982
  const viewpointsWithSnapshot = computed(() => {
1970
1983
  return props.bcfTopic.viewpoints.filter((viewpoint) => Boolean(viewpoint.snapshot));
1971
1984
  });
1972
- const priorityColor = computed(() => {
1973
- if (props.bcfTopic.priority) {
1974
- const priorityDetail = props.detailedExtensions.priorities.find((p2) => p2.priority === props.bcfTopic.priority);
1975
- if (priorityDetail && priorityDetail.color) {
1976
- return priorityDetail.color;
1977
- }
1978
- }
1979
- return DEFAULT_PRIORITY_COLOR;
1980
- });
1981
- const statusColor = computed(() => {
1982
- if (props.bcfTopic.topic_status) {
1983
- const statusDetail = props.detailedExtensions.topic_statuses.find((s2) => s2.topic_status === props.bcfTopic.topic_status);
1984
- if (statusDetail && statusDetail.color) {
1985
- return statusDetail.color;
1986
- }
1987
- }
1988
- return DEFAULT_STATUS_COLOR;
1989
- });
1985
+ const priorityColor = computed(() => getPriorityColor(props.bcfTopic, props.detailedExtensions));
1986
+ const statusColor = computed(() => getStatusColor(props.bcfTopic, props.detailedExtensions));
1990
1987
  const topicElements = computed(() => {
1991
1988
  var _a;
1992
1989
  if (props.bcfTopic.components && props.bcfTopic.components.length > 0 && ((_a = props.bcfTopic.components[0]) == null ? void 0 : _a.selection)) {
@@ -2004,8 +2001,8 @@ const _sfc_main$d = {
2004
2001
  };
2005
2002
  }
2006
2003
  };
2007
- const _hoisted_1$a = { class: "bcf-topic-card" };
2008
- const _hoisted_2$8 = { class: "bcf-topic-card__header" };
2004
+ const _hoisted_1$b = { class: "bcf-topic-card" };
2005
+ const _hoisted_2$9 = { class: "bcf-topic-card__header" };
2009
2006
  const _hoisted_3$6 = { class: "bcf-topic-card__header__infos flex" };
2010
2007
  const _hoisted_4$5 = { class: "bcf-topic-card__header__infos__title flex items-center m-l-12" };
2011
2008
  const _hoisted_5$5 = { class: "bcf-topic-card__header__img flex items-center justify-center" };
@@ -2020,13 +2017,13 @@ const _hoisted_13$2 = {
2020
2017
  key: 0,
2021
2018
  class: "m-r-6"
2022
2019
  };
2023
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
2020
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
2024
2021
  const _component_BIMDataTextbox = resolveComponent("BIMDataTextbox");
2025
2022
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
2026
2023
  const _component_BcfTopicDefaultImage = resolveComponent("BcfTopicDefaultImage");
2027
2024
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
2028
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
2029
- createElementVNode("div", _hoisted_2$8, [
2025
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
2026
+ createElementVNode("div", _hoisted_2$9, [
2030
2027
  createElementVNode("div", _hoisted_3$6, [
2031
2028
  createElementVNode("div", {
2032
2029
  class: "bcf-topic-card__header__infos__index flex items-center justify-center",
@@ -2109,25 +2106,25 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
2109
2106
  ])
2110
2107
  ]);
2111
2108
  }
2112
- var BcfTopicCard = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-64b25f60"]]);
2113
- const _sfc_main$c = {};
2114
- const _hoisted_1$9 = {
2109
+ var BcfTopicCard = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-6cce5009"]]);
2110
+ const _sfc_main$d = {};
2111
+ const _hoisted_1$a = {
2115
2112
  width: "66",
2116
2113
  height: "60",
2117
2114
  viewBox: "0 0 66 60",
2118
2115
  fill: "none",
2119
2116
  xmlns: "http://www.w3.org/2000/svg"
2120
2117
  };
2121
- const _hoisted_2$7 = /* @__PURE__ */ createStaticVNode('<path opacity="0.21" d="M14.4999 59.2445C22.2871 59.2445 28.5999 58.9311 28.5999 58.5445C28.5999 58.1579 22.2871 57.8445 14.4999 57.8445C6.71269 57.8445 0.399902 58.1579 0.399902 58.5445C0.399902 58.9311 6.71269 59.2445 14.4999 59.2445Z" class="fill-granite-light"></path><path d="M46.84 26.5444C45.0533 26.5444 43.5645 28.0444 43.5645 29.8444C43.5645 31.6444 45.0533 33.1444 46.84 33.1444C48.6267 33.1444 50.1156 31.6444 50.1156 29.8444C50.1156 28.0444 48.6267 26.5444 46.84 26.5444ZM48.4282 29.8444C48.4282 30.7444 47.7333 31.4444 46.84 31.4444C45.9467 31.4444 45.2519 30.7444 45.2519 29.8444C45.2519 28.9444 45.9467 28.2444 46.84 28.2444C47.7333 28.2444 48.4282 29.0444 48.4282 29.8444Z" class="fill-silver-dark"></path><path d="M54.8797 27.6444C52.9938 27.6444 51.5049 29.1444 51.5049 31.0444C51.5049 32.9444 52.9938 34.4444 54.8797 34.4444C56.7656 34.4444 58.2545 32.9444 58.2545 31.0444C58.1553 29.1444 56.6664 27.6444 54.8797 27.6444ZM56.4678 31.0444C56.4678 31.9444 55.773 32.6444 54.8797 32.6444C53.9864 32.6444 53.2916 31.9444 53.2916 31.0444C53.2916 30.1444 53.9864 29.4444 54.8797 29.4444C55.773 29.4444 56.4678 30.1444 56.4678 31.0444Z" class="fill-silver-dark"></path><path d="M52.1005 11.1444C44.7554 11.1444 38.7998 17.1444 38.7998 24.5444V50.9444C38.7998 53.0444 40.4872 54.8444 42.6709 54.8444C42.9687 54.8444 43.2665 54.8444 43.5642 54.7444C43.6635 56.8444 45.3509 58.5444 47.4354 58.5444C49.5198 58.5444 51.3065 56.8444 51.3065 54.6444V52.7444C51.6042 52.8444 51.902 52.8444 52.1998 52.8444H52.3983C52.6961 52.8444 52.9939 52.8444 53.2917 52.7444C53.4902 54.7444 55.0783 56.2444 57.0635 56.2444C57.3613 56.2444 57.6591 56.2444 57.9568 56.1444C58.3539 57.9444 59.8428 59.2444 61.7287 59.2444C63.8131 59.2444 65.5998 57.5444 65.5998 55.3444V24.5444C65.4013 17.1444 59.4457 11.1444 52.1005 11.1444ZM57.7583 47.8444V52.4444C57.7583 52.9444 57.3613 53.3444 56.865 53.3444C56.3687 53.3444 55.9717 52.9444 55.9717 52.4444V47.1444H52.9939V49.0444C52.9939 49.5444 52.5968 49.9444 52.1005 49.9444H51.902C51.4057 49.9444 51.0087 49.5444 51.0087 49.0444V42.0444H48.0309V54.6444C48.0309 55.1444 47.6339 55.5444 47.1376 55.5444C46.6413 55.5444 46.2442 55.1444 46.2442 54.6444V48.5444H43.2665V51.0444C43.2665 51.5444 42.8694 51.9444 42.3731 51.9444C41.8768 51.9444 41.4798 51.5444 41.4798 51.0444V24.5444C41.4798 18.8444 46.145 14.1444 51.8028 14.1444C57.4605 14.1444 62.1257 18.8444 62.1257 24.5444V55.3444C62.1257 55.8444 61.7287 56.2444 61.2324 56.2444C60.7361 56.2444 60.3391 55.8444 60.3391 55.3444V47.8444H57.7583Z" class="fill-silver-dark"></path><path d="M29.8001 6.84446C31.5674 6.84446 33.0001 5.41177 33.0001 3.64446C33.0001 1.87715 31.5674 0.444458 29.8001 0.444458C28.0328 0.444458 26.6001 1.87715 26.6001 3.64446C26.6001 5.41177 28.0328 6.84446 29.8001 6.84446Z" class="fill-silver-dark"></path><path d="M23.8997 15.9444C25.1147 15.9444 26.0997 14.9595 26.0997 13.7444C26.0997 12.5294 25.1147 11.5444 23.8997 11.5444C22.6847 11.5444 21.6997 12.5294 21.6997 13.7444C21.6997 14.9595 22.6847 15.9444 23.8997 15.9444Z" class="fill-secondary"></path><path d="M28.8999 22.0444C29.7283 22.0444 30.3999 21.3729 30.3999 20.5444C30.3999 19.716 29.7283 19.0444 28.8999 19.0444C28.0715 19.0444 27.3999 19.716 27.3999 20.5444C27.3999 21.3729 28.0715 22.0444 28.8999 22.0444Z" class="fill-silver-dark"></path><path d="M13.9995 33.5444C15.2995 34.1444 16.4995 34.8444 17.5995 35.7444C19.1995 37.1444 20.4995 38.7444 21.3995 40.6444C21.6995 41.2444 21.8995 41.8444 22.0995 42.4444C22.5995 43.9444 22.2995 45.2444 21.1995 46.3444C18.8995 48.6444 16.1995 49.3444 13.0995 48.5444C12.8995 48.5444 12.6995 48.5444 12.5995 48.5444C11.3995 48.7444 10.0995 48.8444 8.89951 48.6444C8.59951 48.6444 8.39951 48.5444 7.99951 48.5444C8.29951 49.0444 8.59951 49.4444 8.89951 49.9444C9.79951 51.2444 11.0995 52.2444 12.4995 52.8444C14.3995 53.6444 16.2995 53.8444 18.2995 53.4444C20.0995 53.0444 21.6995 52.1444 22.9995 50.7444C24.3995 49.2444 25.2995 47.4444 25.4995 45.3444C25.5995 44.0444 25.5995 42.6444 25.0995 41.4444C24.6995 40.4444 24.0995 39.5444 23.3995 38.7444C22.0995 37.0444 20.5995 35.5444 19.0995 34.0444C18.4995 33.4444 17.8995 32.9444 17.2995 32.4444C17.1995 32.3444 17.0995 32.3444 16.9995 32.3444C15.6995 32.1444 14.7995 32.3444 13.9995 33.5444Z" class="fill-silver-dark"></path><path d="M11.4997 29.6444C10.3997 29.5444 9.49967 29.6444 8.59967 29.9444C7.39967 30.2444 6.19967 30.8444 5.19967 31.6444C4.19967 32.4444 3.39967 33.3444 2.79967 34.5444C1.99967 36.0444 1.59967 37.6444 1.69967 39.3444C1.79967 41.0444 2.29967 42.7444 3.29967 44.1444C4.19967 45.4444 5.29967 46.4444 6.59967 47.1444C7.59967 47.6444 8.49967 48.0444 9.59967 48.0444C11.3997 48.0444 13.1997 47.8444 14.8997 47.3444C16.1997 47.0444 17.5997 46.6444 18.8997 46.2444C19.4997 46.0444 20.1997 45.9444 20.7997 45.5444C21.1997 45.3444 21.3997 44.8444 21.5997 44.3444C21.7997 43.6444 21.7997 42.9444 21.3997 42.2444C21.0997 42.4444 20.7997 42.6444 20.4997 42.8444C19.1997 43.6444 17.7997 44.2444 16.2997 44.6444C14.2997 45.1444 12.1997 45.1444 10.1997 44.8444C8.89967 44.6444 7.79967 44.0444 7.09967 42.7444C6.69967 41.8444 6.49967 40.9444 6.49967 39.9444C6.39967 37.5444 7.29967 35.5444 8.99967 33.8444C8.99967 33.8444 9.19967 33.5444 9.29967 33.2444C9.79967 31.9444 10.3997 30.7444 11.4997 29.6444Z" class="fill-silver-dark"></path><path d="M9.89953 44.2445C9.89953 44.0445 9.89953 43.8445 9.89953 43.7445C9.69953 41.5445 9.99953 39.4445 10.7995 37.4445C11.4995 35.5445 12.5995 33.9445 13.9995 32.5445C14.8995 31.6445 15.9995 31.4445 17.1995 31.6445C19.7995 32.2445 21.7995 33.6445 22.8995 36.1445C23.0995 36.6445 23.1995 37.2445 23.4995 37.7445C23.5995 38.0445 23.8995 38.3445 24.0995 38.6445C24.7995 39.6445 25.4995 40.7445 25.8995 41.9445C25.8995 41.9445 25.8995 42.0445 25.9995 42.1445C26.2995 41.4445 26.6995 40.7445 26.9995 40.1445C27.4995 38.9445 27.5995 37.6445 27.4995 36.3445C27.2995 34.1445 26.4995 32.1445 24.8995 30.5445C23.7995 29.3445 22.3995 28.5445 20.7995 28.1445C19.0995 27.6445 17.2995 27.6445 15.5995 28.2445C13.9995 28.7445 12.5995 29.5445 11.4995 30.9445C11.0995 31.4445 10.6995 32.0445 10.3995 32.7445C9.79953 34.0445 9.29953 35.4445 8.89953 36.7445C8.39953 38.5445 7.99953 40.4445 7.59953 42.2445C7.49953 42.8445 7.89953 43.2445 8.29953 43.6445C8.59953 43.9445 9.19953 44.1445 9.89953 44.2445Z" class="fill-silver-dark"></path><path d="M37.3997 7.04441C38.3386 7.04441 39.0997 6.28329 39.0997 5.34441C39.0997 4.40553 38.3386 3.64441 37.3997 3.64441C36.4608 3.64441 35.6997 4.40553 35.6997 5.34441C35.6997 6.28329 36.4608 7.04441 37.3997 7.04441Z" class="fill-secondary"></path>', 11);
2118
+ const _hoisted_2$8 = /* @__PURE__ */ createStaticVNode('<path opacity="0.21" d="M14.4999 59.2445C22.2871 59.2445 28.5999 58.9311 28.5999 58.5445C28.5999 58.1579 22.2871 57.8445 14.4999 57.8445C6.71269 57.8445 0.399902 58.1579 0.399902 58.5445C0.399902 58.9311 6.71269 59.2445 14.4999 59.2445Z" class="fill-granite-light"></path><path d="M46.84 26.5444C45.0533 26.5444 43.5645 28.0444 43.5645 29.8444C43.5645 31.6444 45.0533 33.1444 46.84 33.1444C48.6267 33.1444 50.1156 31.6444 50.1156 29.8444C50.1156 28.0444 48.6267 26.5444 46.84 26.5444ZM48.4282 29.8444C48.4282 30.7444 47.7333 31.4444 46.84 31.4444C45.9467 31.4444 45.2519 30.7444 45.2519 29.8444C45.2519 28.9444 45.9467 28.2444 46.84 28.2444C47.7333 28.2444 48.4282 29.0444 48.4282 29.8444Z" class="fill-silver-dark"></path><path d="M54.8797 27.6444C52.9938 27.6444 51.5049 29.1444 51.5049 31.0444C51.5049 32.9444 52.9938 34.4444 54.8797 34.4444C56.7656 34.4444 58.2545 32.9444 58.2545 31.0444C58.1553 29.1444 56.6664 27.6444 54.8797 27.6444ZM56.4678 31.0444C56.4678 31.9444 55.773 32.6444 54.8797 32.6444C53.9864 32.6444 53.2916 31.9444 53.2916 31.0444C53.2916 30.1444 53.9864 29.4444 54.8797 29.4444C55.773 29.4444 56.4678 30.1444 56.4678 31.0444Z" class="fill-silver-dark"></path><path d="M52.1005 11.1444C44.7554 11.1444 38.7998 17.1444 38.7998 24.5444V50.9444C38.7998 53.0444 40.4872 54.8444 42.6709 54.8444C42.9687 54.8444 43.2665 54.8444 43.5642 54.7444C43.6635 56.8444 45.3509 58.5444 47.4354 58.5444C49.5198 58.5444 51.3065 56.8444 51.3065 54.6444V52.7444C51.6042 52.8444 51.902 52.8444 52.1998 52.8444H52.3983C52.6961 52.8444 52.9939 52.8444 53.2917 52.7444C53.4902 54.7444 55.0783 56.2444 57.0635 56.2444C57.3613 56.2444 57.6591 56.2444 57.9568 56.1444C58.3539 57.9444 59.8428 59.2444 61.7287 59.2444C63.8131 59.2444 65.5998 57.5444 65.5998 55.3444V24.5444C65.4013 17.1444 59.4457 11.1444 52.1005 11.1444ZM57.7583 47.8444V52.4444C57.7583 52.9444 57.3613 53.3444 56.865 53.3444C56.3687 53.3444 55.9717 52.9444 55.9717 52.4444V47.1444H52.9939V49.0444C52.9939 49.5444 52.5968 49.9444 52.1005 49.9444H51.902C51.4057 49.9444 51.0087 49.5444 51.0087 49.0444V42.0444H48.0309V54.6444C48.0309 55.1444 47.6339 55.5444 47.1376 55.5444C46.6413 55.5444 46.2442 55.1444 46.2442 54.6444V48.5444H43.2665V51.0444C43.2665 51.5444 42.8694 51.9444 42.3731 51.9444C41.8768 51.9444 41.4798 51.5444 41.4798 51.0444V24.5444C41.4798 18.8444 46.145 14.1444 51.8028 14.1444C57.4605 14.1444 62.1257 18.8444 62.1257 24.5444V55.3444C62.1257 55.8444 61.7287 56.2444 61.2324 56.2444C60.7361 56.2444 60.3391 55.8444 60.3391 55.3444V47.8444H57.7583Z" class="fill-silver-dark"></path><path d="M29.8001 6.84446C31.5674 6.84446 33.0001 5.41177 33.0001 3.64446C33.0001 1.87715 31.5674 0.444458 29.8001 0.444458C28.0328 0.444458 26.6001 1.87715 26.6001 3.64446C26.6001 5.41177 28.0328 6.84446 29.8001 6.84446Z" class="fill-silver-dark"></path><path d="M23.8997 15.9444C25.1147 15.9444 26.0997 14.9595 26.0997 13.7444C26.0997 12.5294 25.1147 11.5444 23.8997 11.5444C22.6847 11.5444 21.6997 12.5294 21.6997 13.7444C21.6997 14.9595 22.6847 15.9444 23.8997 15.9444Z" class="fill-secondary"></path><path d="M28.8999 22.0444C29.7283 22.0444 30.3999 21.3729 30.3999 20.5444C30.3999 19.716 29.7283 19.0444 28.8999 19.0444C28.0715 19.0444 27.3999 19.716 27.3999 20.5444C27.3999 21.3729 28.0715 22.0444 28.8999 22.0444Z" class="fill-silver-dark"></path><path d="M13.9995 33.5444C15.2995 34.1444 16.4995 34.8444 17.5995 35.7444C19.1995 37.1444 20.4995 38.7444 21.3995 40.6444C21.6995 41.2444 21.8995 41.8444 22.0995 42.4444C22.5995 43.9444 22.2995 45.2444 21.1995 46.3444C18.8995 48.6444 16.1995 49.3444 13.0995 48.5444C12.8995 48.5444 12.6995 48.5444 12.5995 48.5444C11.3995 48.7444 10.0995 48.8444 8.89951 48.6444C8.59951 48.6444 8.39951 48.5444 7.99951 48.5444C8.29951 49.0444 8.59951 49.4444 8.89951 49.9444C9.79951 51.2444 11.0995 52.2444 12.4995 52.8444C14.3995 53.6444 16.2995 53.8444 18.2995 53.4444C20.0995 53.0444 21.6995 52.1444 22.9995 50.7444C24.3995 49.2444 25.2995 47.4444 25.4995 45.3444C25.5995 44.0444 25.5995 42.6444 25.0995 41.4444C24.6995 40.4444 24.0995 39.5444 23.3995 38.7444C22.0995 37.0444 20.5995 35.5444 19.0995 34.0444C18.4995 33.4444 17.8995 32.9444 17.2995 32.4444C17.1995 32.3444 17.0995 32.3444 16.9995 32.3444C15.6995 32.1444 14.7995 32.3444 13.9995 33.5444Z" class="fill-silver-dark"></path><path d="M11.4997 29.6444C10.3997 29.5444 9.49967 29.6444 8.59967 29.9444C7.39967 30.2444 6.19967 30.8444 5.19967 31.6444C4.19967 32.4444 3.39967 33.3444 2.79967 34.5444C1.99967 36.0444 1.59967 37.6444 1.69967 39.3444C1.79967 41.0444 2.29967 42.7444 3.29967 44.1444C4.19967 45.4444 5.29967 46.4444 6.59967 47.1444C7.59967 47.6444 8.49967 48.0444 9.59967 48.0444C11.3997 48.0444 13.1997 47.8444 14.8997 47.3444C16.1997 47.0444 17.5997 46.6444 18.8997 46.2444C19.4997 46.0444 20.1997 45.9444 20.7997 45.5444C21.1997 45.3444 21.3997 44.8444 21.5997 44.3444C21.7997 43.6444 21.7997 42.9444 21.3997 42.2444C21.0997 42.4444 20.7997 42.6444 20.4997 42.8444C19.1997 43.6444 17.7997 44.2444 16.2997 44.6444C14.2997 45.1444 12.1997 45.1444 10.1997 44.8444C8.89967 44.6444 7.79967 44.0444 7.09967 42.7444C6.69967 41.8444 6.49967 40.9444 6.49967 39.9444C6.39967 37.5444 7.29967 35.5444 8.99967 33.8444C8.99967 33.8444 9.19967 33.5444 9.29967 33.2444C9.79967 31.9444 10.3997 30.7444 11.4997 29.6444Z" class="fill-silver-dark"></path><path d="M9.89953 44.2445C9.89953 44.0445 9.89953 43.8445 9.89953 43.7445C9.69953 41.5445 9.99953 39.4445 10.7995 37.4445C11.4995 35.5445 12.5995 33.9445 13.9995 32.5445C14.8995 31.6445 15.9995 31.4445 17.1995 31.6445C19.7995 32.2445 21.7995 33.6445 22.8995 36.1445C23.0995 36.6445 23.1995 37.2445 23.4995 37.7445C23.5995 38.0445 23.8995 38.3445 24.0995 38.6445C24.7995 39.6445 25.4995 40.7445 25.8995 41.9445C25.8995 41.9445 25.8995 42.0445 25.9995 42.1445C26.2995 41.4445 26.6995 40.7445 26.9995 40.1445C27.4995 38.9445 27.5995 37.6445 27.4995 36.3445C27.2995 34.1445 26.4995 32.1445 24.8995 30.5445C23.7995 29.3445 22.3995 28.5445 20.7995 28.1445C19.0995 27.6445 17.2995 27.6445 15.5995 28.2445C13.9995 28.7445 12.5995 29.5445 11.4995 30.9445C11.0995 31.4445 10.6995 32.0445 10.3995 32.7445C9.79953 34.0445 9.29953 35.4445 8.89953 36.7445C8.39953 38.5445 7.99953 40.4445 7.59953 42.2445C7.49953 42.8445 7.89953 43.2445 8.29953 43.6445C8.59953 43.9445 9.19953 44.1445 9.89953 44.2445Z" class="fill-silver-dark"></path><path d="M37.3997 7.04441C38.3386 7.04441 39.0997 6.28329 39.0997 5.34441C39.0997 4.40553 38.3386 3.64441 37.3997 3.64441C36.4608 3.64441 35.6997 4.40553 35.6997 5.34441C35.6997 6.28329 36.4608 7.04441 37.3997 7.04441Z" class="fill-secondary"></path>', 11);
2122
2119
  const _hoisted_13$1 = [
2123
- _hoisted_2$7
2120
+ _hoisted_2$8
2124
2121
  ];
2125
- function _sfc_render$c(_ctx, _cache) {
2126
- return openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_13$1);
2122
+ function _sfc_render$d(_ctx, _cache) {
2123
+ return openBlock(), createElementBlock("svg", _hoisted_1$a, _hoisted_13$1);
2127
2124
  }
2128
- var BcfTopicCreationCardImage = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]]);
2125
+ var BcfTopicCreationCardImage = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d]]);
2129
2126
  var BcfTopicCreationCard_scss_vue_type_style_index_0_src_scoped_true_lang = "";
2130
- const _sfc_main$b = {
2127
+ const _sfc_main$c = {
2131
2128
  components: {
2132
2129
  BcfTopicCreationCardImage,
2133
2130
  BIMDataButton: l,
@@ -2135,15 +2132,15 @@ const _sfc_main$b = {
2135
2132
  },
2136
2133
  emits: ["create-bcf-topic"]
2137
2134
  };
2138
- const _hoisted_1$8 = { class: "bcf-topic-creation-card" };
2139
- const _hoisted_2$6 = { class: "bcf-topic-creation-card__text" };
2140
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2135
+ const _hoisted_1$9 = { class: "bcf-topic-creation-card" };
2136
+ const _hoisted_2$7 = { class: "bcf-topic-creation-card__text" };
2137
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
2141
2138
  const _component_BcfTopicCreationCardImage = resolveComponent("BcfTopicCreationCardImage");
2142
2139
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
2143
2140
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
2144
- return openBlock(), createElementBlock("div", _hoisted_1$8, [
2141
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
2145
2142
  createVNode(_component_BcfTopicCreationCardImage),
2146
- createElementVNode("div", _hoisted_2$6, toDisplayString(_ctx.$t("BcfComponents.BcfTopicCreationCard.text")), 1),
2143
+ createElementVNode("div", _hoisted_2$7, toDisplayString(_ctx.$t("BcfComponents.BcfTopicCreationCard.text")), 1),
2147
2144
  createVNode(_component_BIMDataButton, {
2148
2145
  width: "48px",
2149
2146
  height: "48px",
@@ -2165,7 +2162,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2165
2162
  })
2166
2163
  ]);
2167
2164
  }
2168
- var BcfTopicCreationCard = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-02f52cb0"]]);
2165
+ var BcfTopicCreationCard = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-02f52cb0"]]);
2169
2166
  var x$3 = { props: { component: { type: String, default: "p" }, display: { type: String, default: "inline-block" }, fontSize: { type: String }, fontWeight: { type: String }, lineHeight: { type: String }, margin: { type: String, default: "0px" }, padding: { type: String, default: "0px" }, color: { type: String, default: "color-granite-light", validator: (n) => ["color-primary", "color-secondary", "color-silver", "color-silver-light", "color-silver-dark", "color-granite-light", "color-granite", "color-white", "color-black", "color-high", "color-warning", "color-success"].includes(n) } }, computed: { classes() {
2170
2167
  return "" + this.color;
2171
2168
  }, style() {
@@ -2181,7 +2178,7 @@ x$3.render = function(s2, l2, c2, p2, g2, d2) {
2181
2178
  return openBlock(), createBlock(resolveDynamicComponent(c2.component), { style: normalizeStyle(d2.style), class: normalizeClass(d2.classes) }, { default: withCtx(() => [renderSlot(s2.$slots, "default")]), _: 3 }, 8, ["style", "class"]);
2182
2179
  }, x$3.__file = "src/BIMDataComponents/BIMDataText/BIMDataText.vue";
2183
2180
  var b$3 = { components: { BIMDataText: x$3 }, props: { message: { type: String, default: "loading..." }, subMessage: { type: String, default: "" } } };
2184
- const m$4 = { class: "bimdata-loading" }, w$3 = ((n) => (pushScopeId("data-v-6d3be186"), n = n(), popScopeId(), n))(() => createElementVNode("span", { class: "bimdata-loading--square" }, null, -1));
2181
+ const m$5 = { class: "bimdata-loading" }, w$3 = ((n) => (pushScopeId("data-v-6d3be186"), n = n(), popScopeId(), n))(() => createElementVNode("span", { class: "bimdata-loading--square" }, null, -1));
2185
2182
  function f$3(n, o2) {
2186
2183
  o2 === void 0 && (o2 = {});
2187
2184
  var t = o2.insertAt;
@@ -2193,7 +2190,7 @@ function f$3(n, o2) {
2193
2190
  f$3('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-6d3be186] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}');
2194
2191
  f$3('@-webkit-keyframes bimdataloading {\n0% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n20% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n40% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n60% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n80% {\n -webkit-box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n}\n100% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n}\n@keyframes bimdataloading {\n0% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n20% {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n40% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n60% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n80% {\n -webkit-box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n box-shadow: inset 0px -20px 0px 0px rgba(var(--color-white), 1);\n}\n100% {\n -webkit-box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n box-shadow: inset 0px 0px 0px 0px rgba(var(--color-white), 0.1);\n}\n}\n.bimdata-loading {\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n color: var(--color-white);\n font-family: var(--primary-font);\n z-index: 2;\n}\n.bimdata-loading::after {\n content: " ";\n position: absolute;\n width: 100%;\n height: 100%;\n background-color: var(--color-primary);\n opacity: 0.9;\n z-index: -1;\n}\n.bimdata-loading--square {\n width: 20px;\n height: 20px;\n position: relative;\n border: 2px var(--color-white) solid;\n -webkit-animation: bimdataloading 1.4s linear infinite;\n animation: bimdataloading 1.4s linear infinite;\n}\n.bimdata-loading--text {\n margin-top: 12px;\n display: block;\n}\n.bimdata-loading p {\n text-align: center;\n margin: 0;\n}'), b$3.render = function(o2, t, e2, r, i2, d2) {
2195
2192
  const h2 = resolveComponent("BIMDataText");
2196
- return openBlock(), createElementBlock("div", m$4, [w$3, createVNode(h2, { color: "color-white", margin: "12px 0 0" }, { default: withCtx(() => [createElementVNode("p", null, toDisplayString(e2.message), 1), createElementVNode("p", null, toDisplayString(e2.subMessage), 1)]), _: 1 })]);
2193
+ return openBlock(), createElementBlock("div", m$5, [w$3, createVNode(h2, { color: "color-white", margin: "12px 0 0" }, { default: withCtx(() => [createElementVNode("p", null, toDisplayString(e2.message), 1), createElementVNode("p", null, toDisplayString(e2.subMessage), 1)]), _: 1 })]);
2197
2194
  }, b$3.__scopeId = "data-v-6d3be186", b$3.__file = "src/BIMDataComponents/BIMDataLoading/BIMDataLoading.vue";
2198
2195
  const c = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17.6687 16.5312H14.4343V19.7656H12.2781V16.5312H9.04369V14.375H12.2781V11.1406H14.4343V14.375H17.6687V16.5312ZM4.01244 7.90625L10.1218 1.79688V5.97245V7.90625H4.01244ZM20.3885 2.3C20.3885 1.035 19.365 0 18.1 0H8.9L2 6.9V20.7C2 21.965 3.03464 23 4.3 23H18.1115C19.3765 23 20.4 21.965 20.4 20.7L20.3885 2.3Z" };
2199
2196
  const d$1 = { render: function(r, t) {
@@ -2219,9 +2216,9 @@ const D$2 = { render: function(r, t) {
2219
2216
  }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Alt.vue" }, B$2 = [createElementVNode("path", { d: "M1.97143 0.989715L3.94286 3.61829L0 3.61829L1.97143 0.989715Z" }, null, -1), createElementVNode("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M2.62856 2.30405L2.62856 22.6755L1.31427 22.6755L1.31427 2.30405L2.62856 2.30405Z" }, null, -1), createElementVNode("path", { d: "M22.9999 22.0183L20.3713 23.9897L20.3713 20.0469L22.9999 22.0183Z" }, null, -1), createElementVNode("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.6856 22.6754H1.31421V21.3611H21.6856V22.6754Z" }, null, -1), createElementVNode("path", { d: "M17.7429 22.0183C17.7429 19.8609 17.3349 17.7246 16.5423 15.7314C15.7497 13.7381 14.588 11.9271 13.1235 10.4015C11.659 8.876 9.92038 7.66588 8.0069 6.84027C6.09342 6.01466 4.04257 5.58972 1.97144 5.58972L1.97144 22.0183H17.7429Z" }, null, -1)];
2220
2217
  const _$2 = { render: function(r, t) {
2221
2218
  return openBlock(), createElementBlock("g", null, B$2);
2222
- }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Angle.vue" }, m$3 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.58497 3.93973L10.6402 3.62V2.00037H13.7601V3.59997L14.8315 3.91204C16.1242 4.28859 17.2929 4.94218 18.2616 5.80229L19.0793 6.52835L20.5167 5.73415L22.0766 8.32L20.636 9.11602L20.8775 10.1526C21.0158 10.7465 21.0891 11.3652 21.0891 12.002C21.0891 12.6666 21.0093 13.3115 20.859 13.9292L20.6047 14.9738L22.0774 15.7876L20.5175 18.3734L19.0168 17.5442L18.2001 18.2559C17.2436 19.0893 16.0969 19.7234 14.8315 20.092L13.7601 20.4041V22.1073H10.6402V20.384L9.58497 20.0643C8.34041 19.6872 7.21348 19.0525 6.27315 18.224L5.45582 17.5038L3.88196 18.3735L2.32201 15.7876L3.88637 14.9232L3.63966 13.8834C3.49644 13.2797 3.4205 12.6502 3.4205 12.002C3.4205 11.3816 3.49006 10.7784 3.62158 10.1986L3.8556 9.16688L2.32281 8.31994L3.88275 5.73409L5.39381 6.56903L6.21204 5.83441C7.16447 4.9793 8.31333 4.32502 9.58497 3.93973ZM12.1698 18.9829C16.1967 18.9829 19.4611 15.8587 19.4611 12.0048C19.4611 8.15092 16.1967 5.02673 12.1698 5.02673C8.14298 5.02673 4.87858 8.15092 4.87858 12.0048C4.87858 15.8587 8.14298 18.9829 12.1698 18.9829ZM10.3379 0.553833C9.67013 0.553833 9.12877 1.07194 9.12877 1.71106V2.56066C7.63716 3.0126 6.29183 3.77936 5.17793 4.77943L4.37669 4.33671C3.79836 4.01715 3.05884 4.20679 2.72494 4.76028L0.862703 7.84722C0.528802 8.40071 0.726954 9.10846 1.30529 9.42802L2.14453 9.89174C1.99029 10.5717 1.90904 11.2778 1.90904 12.002C1.90904 12.7587 1.99774 13.4956 2.16573 14.2037L1.30449 14.6795C0.726157 14.9991 0.528005 15.7069 0.861906 16.2603L2.72414 19.3473C3.05804 19.9008 3.79756 20.0904 4.37589 19.7709L5.24943 19.2882C6.34921 20.2572 7.66893 21.0011 9.12877 21.4434V22.3966C9.12877 23.0357 9.67014 23.5538 10.3379 23.5538H14.0624C14.7302 23.5538 15.2716 23.0357 15.2716 22.3966V21.4758C16.756 21.0434 18.0989 20.3003 19.2176 19.3255L20.0235 19.7708C20.6019 20.0904 21.3414 19.9007 21.6753 19.3472L23.5375 16.2603C23.8714 15.7068 23.6733 14.999 23.0949 14.6795L22.331 14.2574C22.5073 13.5329 22.6006 12.7779 22.6006 12.002C22.6006 11.2586 22.515 10.5344 22.3527 9.83776L23.0941 9.42808C23.6725 9.10852 23.8706 8.40077 23.5367 7.84728L21.6745 4.76034C21.3406 4.20685 20.6011 4.01721 20.0227 4.33677L19.2896 4.74185C18.1567 3.73592 16.788 2.9699 15.2716 2.52819V1.71106C15.2716 1.07194 14.7302 0.553833 14.0624 0.553833H10.3379ZM12.1698 17.5363C15.3619 17.5363 17.9496 15.0598 17.9496 12.0048C17.9496 8.94982 15.3619 6.47326 12.1698 6.47326C8.97774 6.47326 6.39003 8.94982 6.39003 12.0048C6.39003 15.0598 8.97774 17.5363 12.1698 17.5363ZM10.3429 13.3399H8.78295L8.48637 14.2046H7.54029L9.14773 10.0078H9.97221L11.5885 14.2046H10.6425L10.3429 13.3399ZM9.02317 12.6394H10.1027L9.55997 11.0685L9.02317 12.6394ZM12.8816 12.7259V14.2046H11.9919V10.0078H13.6764C14.0007 10.0078 14.2854 10.0655 14.5306 10.1808C14.7777 10.2961 14.9675 10.4603 15.1 10.6736C15.2325 10.885 15.2987 11.1262 15.2987 11.3971C15.2987 11.8084 15.1534 12.1331 14.8627 12.3714C14.5741 12.6077 14.1737 12.7259 13.6616 12.7259H12.8816ZM12.8816 12.0255H13.6764C13.9117 12.0255 14.0907 11.9717 14.2132 11.8641C14.3378 11.7565 14.4001 11.6027 14.4001 11.4029C14.4001 11.1973 14.3378 11.0311 14.2132 10.9042C14.0887 10.7774 13.9167 10.7121 13.6972 10.7082H12.8816V12.0255ZM15.969 14.2046H16.8587V10.0078H15.969V14.2046Z" };
2223
- const g$2 = { render: function(r, t) {
2224
- return openBlock(), createElementBlock("path", m$3);
2219
+ }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Angle.vue" }, m$4 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.58497 3.93973L10.6402 3.62V2.00037H13.7601V3.59997L14.8315 3.91204C16.1242 4.28859 17.2929 4.94218 18.2616 5.80229L19.0793 6.52835L20.5167 5.73415L22.0766 8.32L20.636 9.11602L20.8775 10.1526C21.0158 10.7465 21.0891 11.3652 21.0891 12.002C21.0891 12.6666 21.0093 13.3115 20.859 13.9292L20.6047 14.9738L22.0774 15.7876L20.5175 18.3734L19.0168 17.5442L18.2001 18.2559C17.2436 19.0893 16.0969 19.7234 14.8315 20.092L13.7601 20.4041V22.1073H10.6402V20.384L9.58497 20.0643C8.34041 19.6872 7.21348 19.0525 6.27315 18.224L5.45582 17.5038L3.88196 18.3735L2.32201 15.7876L3.88637 14.9232L3.63966 13.8834C3.49644 13.2797 3.4205 12.6502 3.4205 12.002C3.4205 11.3816 3.49006 10.7784 3.62158 10.1986L3.8556 9.16688L2.32281 8.31994L3.88275 5.73409L5.39381 6.56903L6.21204 5.83441C7.16447 4.9793 8.31333 4.32502 9.58497 3.93973ZM12.1698 18.9829C16.1967 18.9829 19.4611 15.8587 19.4611 12.0048C19.4611 8.15092 16.1967 5.02673 12.1698 5.02673C8.14298 5.02673 4.87858 8.15092 4.87858 12.0048C4.87858 15.8587 8.14298 18.9829 12.1698 18.9829ZM10.3379 0.553833C9.67013 0.553833 9.12877 1.07194 9.12877 1.71106V2.56066C7.63716 3.0126 6.29183 3.77936 5.17793 4.77943L4.37669 4.33671C3.79836 4.01715 3.05884 4.20679 2.72494 4.76028L0.862703 7.84722C0.528802 8.40071 0.726954 9.10846 1.30529 9.42802L2.14453 9.89174C1.99029 10.5717 1.90904 11.2778 1.90904 12.002C1.90904 12.7587 1.99774 13.4956 2.16573 14.2037L1.30449 14.6795C0.726157 14.9991 0.528005 15.7069 0.861906 16.2603L2.72414 19.3473C3.05804 19.9008 3.79756 20.0904 4.37589 19.7709L5.24943 19.2882C6.34921 20.2572 7.66893 21.0011 9.12877 21.4434V22.3966C9.12877 23.0357 9.67014 23.5538 10.3379 23.5538H14.0624C14.7302 23.5538 15.2716 23.0357 15.2716 22.3966V21.4758C16.756 21.0434 18.0989 20.3003 19.2176 19.3255L20.0235 19.7708C20.6019 20.0904 21.3414 19.9007 21.6753 19.3472L23.5375 16.2603C23.8714 15.7068 23.6733 14.999 23.0949 14.6795L22.331 14.2574C22.5073 13.5329 22.6006 12.7779 22.6006 12.002C22.6006 11.2586 22.515 10.5344 22.3527 9.83776L23.0941 9.42808C23.6725 9.10852 23.8706 8.40077 23.5367 7.84728L21.6745 4.76034C21.3406 4.20685 20.6011 4.01721 20.0227 4.33677L19.2896 4.74185C18.1567 3.73592 16.788 2.9699 15.2716 2.52819V1.71106C15.2716 1.07194 14.7302 0.553833 14.0624 0.553833H10.3379ZM12.1698 17.5363C15.3619 17.5363 17.9496 15.0598 17.9496 12.0048C17.9496 8.94982 15.3619 6.47326 12.1698 6.47326C8.97774 6.47326 6.39003 8.94982 6.39003 12.0048C6.39003 15.0598 8.97774 17.5363 12.1698 17.5363ZM10.3429 13.3399H8.78295L8.48637 14.2046H7.54029L9.14773 10.0078H9.97221L11.5885 14.2046H10.6425L10.3429 13.3399ZM9.02317 12.6394H10.1027L9.55997 11.0685L9.02317 12.6394ZM12.8816 12.7259V14.2046H11.9919V10.0078H13.6764C14.0007 10.0078 14.2854 10.0655 14.5306 10.1808C14.7777 10.2961 14.9675 10.4603 15.1 10.6736C15.2325 10.885 15.2987 11.1262 15.2987 11.3971C15.2987 11.8084 15.1534 12.1331 14.8627 12.3714C14.5741 12.6077 14.1737 12.7259 13.6616 12.7259H12.8816ZM12.8816 12.0255H13.6764C13.9117 12.0255 14.0907 11.9717 14.2132 11.8641C14.3378 11.7565 14.4001 11.6027 14.4001 11.4029C14.4001 11.1973 14.3378 11.0311 14.2132 10.9042C14.0887 10.7774 13.9167 10.7121 13.6972 10.7082H12.8816V12.0255ZM15.969 14.2046H16.8587V10.0078H15.969V14.2046Z" };
2220
+ const g$3 = { render: function(r, t) {
2221
+ return openBlock(), createElementBlock("path", m$4);
2225
2222
  }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Api.vue" }, y$2 = { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M8.99856 2.98975H14.0663V6.55599H16.6753L11.4995 11.3798L6.32372 6.55599H8.99856V2.98975ZM8.47943 4.54312H4.53947L1.91832 12.2755H1.26615C0.566874 12.2755 0 12.8424 0 13.5417V20.7158C0 21.4151 0.566876 21.982 1.26615 21.982H21.7339C22.4331 21.982 23 21.4151 23 20.7158V13.5417C23 12.8424 22.4331 12.2755 21.7339 12.2755H21.0649L18.3821 4.54312H14.5607V5.38716H17.7816L20.1716 12.2755H2.80954L5.14457 5.38716H8.47943V4.54312ZM15.1789 16.378H7.82121V17.8795H15.1789V16.378Z" };
2226
2223
  const b$2 = { render: function(r, t) {
2227
2224
  return openBlock(), createElementBlock("path", y$2);
@@ -2589,7 +2586,7 @@ const tl = { render: function(r, t) {
2589
2586
  const ol = { render: function(r, t) {
2590
2587
  return openBlock(), createElementBlock("g", null, ll);
2591
2588
  }, __file: "src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Zone.vue" };
2592
- var al = { addFile: d$1, addFolder: s, addUser: I$2, alphabeticalAscending: V$2, alphabeticalDescending: f$2, alphabeticalSort: h$2, alt: D$2, angle: _$2, api: g$2, archive: b$2, arrow: x$2, attach: S$2, backInTime: F$2, bcf: z$2, building: E$2, burgerMenu: U$2, calendar: G$2, caliper: j$1, camera: X$2, cancelCamera: q$1, check: Q$1, chevron: ee$1, classificationCategorie: re$1, classificationElement: le$1, click: ae$1, close: Le$1, cloud: ce$1, color: ue$1, comment: Me$1, cursor: He$1, dateAscending: pe$1, dateDescending: ve$1, default: Ze$1, delete: Be$1, deniedFile: me$1, deploy: ye$1, detach: we$1, distance: ke$1, doubleChevron: Ae$1, down: Fe$1, download: ze$1, drag: Ee$1, edit: Ue$1, ellipsis: Ge$1, expanded: je$1, explosion: Xe$1, export: qe$1, exportIfc: Qe$1, failed: en$1, filter: rn$1, fitView: ln$1, folder: an$1, folderMove: Ln$1, folderOpen: dn$1, fullscreen: sn$1, grid: In$1, group: Vn$1, hide: fn$1, ifc: hn$1, ifcFile: Dn$1, import: _n$1, indexAscending: gn$1, indexDescending: bn$1, information: xn$1, inProgressFile: Sn$1, invitation: Rn$1, isolate: Tn$1, key: Nn$1, left: On$1, linkedDocument: Pn$1, list: Wn$1, listManage: Yn$1, location: $n$1, lock: Kn$1, logout: Jn$1, measure: nr$1, minus: tr$1, model3d: or$1, organization: Cr$1, parameters: ir$1, path: dr$1, pieGraph: sr$1, plus: Ir$1, project: Vr$1, quickSelect: fr$1, readonlyFolder: hr$1, redo: Dr$1, reduced: _r$1, refresh: gr$1, reprocessIfc: br$1, reset: xr$1, right: Sr$1, rules: Rr$1, sandglass: Tr$1, save: Nr$1, screenConfig: Or$1, screenshot: Pr$1, search: Wr$1, section: Yr$1, settings: $r$1, share: Kr$1, show: Jr$1, showSelected: nt$1, socotec: tt$1, space: ot$1, split: Ct$1, storey: it$1, success: dt$1, surface: st$1, swap: It$1, synchro2d: Vt$1, system: ft$1, tag: Zt$1, tree: Bt$1, unarchive: mt$1, undo: yt$1, union: wt$1, up: kt$1, user: At$1, validate: Ft$1, validatedFile: zt$1, versioning: Ot$1, video: Pt$1, visa: Wt$1, warning: Yt$1, windowBottom: $t$1, windowed: Kt$1, windowLeft: Jt$1, windowRight: nl, windowTop: tl, zone: ol }, Cl = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
2589
+ var al = { addFile: d$1, addFolder: s, addUser: I$2, alphabeticalAscending: V$2, alphabeticalDescending: f$2, alphabeticalSort: h$2, alt: D$2, angle: _$2, api: g$3, archive: b$2, arrow: x$2, attach: S$2, backInTime: F$2, bcf: z$2, building: E$2, burgerMenu: U$2, calendar: G$2, caliper: j$1, camera: X$2, cancelCamera: q$1, check: Q$1, chevron: ee$1, classificationCategorie: re$1, classificationElement: le$1, click: ae$1, close: Le$1, cloud: ce$1, color: ue$1, comment: Me$1, cursor: He$1, dateAscending: pe$1, dateDescending: ve$1, default: Ze$1, delete: Be$1, deniedFile: me$1, deploy: ye$1, detach: we$1, distance: ke$1, doubleChevron: Ae$1, down: Fe$1, download: ze$1, drag: Ee$1, edit: Ue$1, ellipsis: Ge$1, expanded: je$1, explosion: Xe$1, export: qe$1, exportIfc: Qe$1, failed: en$1, filter: rn$1, fitView: ln$1, folder: an$1, folderMove: Ln$1, folderOpen: dn$1, fullscreen: sn$1, grid: In$1, group: Vn$1, hide: fn$1, ifc: hn$1, ifcFile: Dn$1, import: _n$1, indexAscending: gn$1, indexDescending: bn$1, information: xn$1, inProgressFile: Sn$1, invitation: Rn$1, isolate: Tn$1, key: Nn$1, left: On$1, linkedDocument: Pn$1, list: Wn$1, listManage: Yn$1, location: $n$1, lock: Kn$1, logout: Jn$1, measure: nr$1, minus: tr$1, model3d: or$1, organization: Cr$1, parameters: ir$1, path: dr$1, pieGraph: sr$1, plus: Ir$1, project: Vr$1, quickSelect: fr$1, readonlyFolder: hr$1, redo: Dr$1, reduced: _r$1, refresh: gr$1, reprocessIfc: br$1, reset: xr$1, right: Sr$1, rules: Rr$1, sandglass: Tr$1, save: Nr$1, screenConfig: Or$1, screenshot: Pr$1, search: Wr$1, section: Yr$1, settings: $r$1, share: Kr$1, show: Jr$1, showSelected: nt$1, socotec: tt$1, space: ot$1, split: Ct$1, storey: it$1, success: dt$1, surface: st$1, swap: It$1, synchro2d: Vt$1, system: ft$1, tag: Zt$1, tree: Bt$1, unarchive: mt$1, undo: yt$1, union: wt$1, up: kt$1, user: At$1, validate: Ft$1, validatedFile: zt$1, versioning: Ot$1, video: Pt$1, visa: Wt$1, warning: Yt$1, windowBottom: $t$1, windowed: Kt$1, windowLeft: Jt$1, windowRight: nl, windowTop: tl, zone: ol }, Cl = Object.freeze(["black", "default", "granite", "granite-light", "high", "primary", "secondary", "success", "silver", "silver-light", "silver-dark", "warning", "white"]);
2593
2590
  const Ll = { xxxs: 10, xxs: 13, xs: 16, s: 18, m: 22, l: 28, xl: 36, xxl: 45, xxxl: 60 };
2594
2591
  var il = { name: "BIMDataIcon", components: __spreadValues({}, function(e2) {
2595
2592
  return Object.entries(e2).reduce((e3, [n, r]) => __spreadProps(__spreadValues({}, e3), { ["bimdata-icon-" + n]: r }), {});
@@ -2636,7 +2633,7 @@ var b$1 = { model: { prop: "modelValue", event: "update:modelValue" }, props: {
2636
2633
  }, onInput(r) {
2637
2634
  this.$emit("update:modelValue", r.currentTarget.value), this.fitContent && this.handleFitContent();
2638
2635
  } } };
2639
- const g$1 = ["name", "id", "value", "placeholder"], d = ["for"], h$1 = ((r) => (pushScopeId("data-v-76eaf75a"), r = r(), popScopeId(), r))(() => createElementVNode("span", { class: "bar" }, null, -1)), u$1 = { key: 0, class: "error" }, m$2 = { key: 1, class: "success" };
2636
+ const g$2 = ["name", "id", "value", "placeholder"], d = ["for"], h$1 = ((r) => (pushScopeId("data-v-76eaf75a"), r = r(), popScopeId(), r))(() => createElementVNode("span", { class: "bar" }, null, -1)), u$1 = { key: 0, class: "error" }, m$3 = { key: 1, class: "success" };
2640
2637
  function p$1(r, a2) {
2641
2638
  a2 === void 0 && (a2 = {});
2642
2639
  var e2 = a2.insertAt;
@@ -2647,28 +2644,43 @@ function p$1(r, a2) {
2647
2644
  }
2648
2645
  p$1('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-76eaf75a] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n\n/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-76eaf75a] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.text-left[data-v-76eaf75a] {\n text-align: left;\n}\n.text-center[data-v-76eaf75a] {\n text-align: center;\n}\n.text-right[data-v-76eaf75a] {\n text-align: right;\n}\n.bimdata-link[data-v-76eaf75a] {\n color: var(--color-primary);\n border-bottom: 1px solid var(--color-primary);\n font-weight: 700;\n}\n\n/* BIMDATA FONT WEIGHT */\n.primary-font[data-v-76eaf75a] {\n font-family: "roboto", sans-serif;\n}');
2649
2646
  p$1('textarea:-webkit-autofill {\n -webkit-box-shadow: 0 0 0px 1000px var(--color-white) inset;\n box-shadow: 0 0 0px 1000px var(--color-white) inset;\n}\n.bimdata-textarea {\n margin: var(--spacing-unit) 0;\n position: relative;\n inline-size: -webkit-min-content;\n inline-size: -moz-min-content;\n inline-size: min-content;\n font-family: var(--primary-font);\n font-size: 1em;\n}\n.bimdata-textarea textarea {\n padding: 0px;\n width: 100%;\n min-width: inherit;\n max-width: 100%;\n min-height: inherit;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin: 0px;\n border: none;\n}\n.bimdata-textarea textarea:disabled {\n background-color: transparent;\n}\n.bimdata-textarea textarea:disabled ~ label {\n color: var(--color-silver-dark);\n cursor: default;\n}\n.bimdata-textarea textarea:focus {\n outline: none;\n}\n.bimdata-textarea textarea:focus ~ label {\n top: -26px;\n font-size: 0.7142857143em;\n}\n.bimdata-textarea textarea:focus ~ .bar:after {\n width: 100%;\n -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n transition: transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2), -webkit-transform 0.2s cubic-bezier(0.55, 0, 0.55, 0.2);\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n}\n.bimdata-textarea.not-empty label {\n top: -26px;\n color: var(--color-primary);\n font-size: 0.7142857143em;\n}\n.bimdata-textarea label {\n position: absolute;\n top: 0;\n left: 0;\n font-size: 0.8571428571em;\n -webkit-transform: translateY(8px);\n transform: translateY(8px);\n -webkit-transition: 0.2s ease all;\n transition: 0.2s ease all;\n color: var(--color-granite-light);\n cursor: pointer;\n}\n.bimdata-textarea .bar {\n width: 100%;\n height: 1px;\n display: block;\n background: var(--color-silver);\n}\n.bimdata-textarea .bar::after {\n width: 0;\n height: 2px;\n content: "";\n display: block;\n position: absolute;\n background-color: var(--color-primary);\n -webkit-transform: scaleX(0);\n transform: scaleX(0);\n}\n.bimdata-textarea .error {\n color: var(--color-high);\n font-size: 0.7857142857em;\n}\n.bimdata-textarea .success {\n color: var(--color-success);\n font-size: 0.7857142857em;\n}\n.bimdata-textarea.error label {\n color: var(--color-high);\n}\n.bimdata-textarea.error .bar {\n background-color: var(--color-high);\n}\n.bimdata-textarea.error .bar::before, .bimdata-textarea.error .bar::after {\n background-color: var(--color-high);\n}\n.bimdata-textarea.success label {\n color: var(--color-success);\n}\n.bimdata-textarea.success .bar {\n background-color: var(--color-success);\n}\n.bimdata-textarea.success .bar::before, .bimdata-textarea.success .bar::after {\n background-color: var(--color-success);\n}'), b$1.render = function(s2, c2, b2, p2, f2, x2) {
2650
- return openBlock(), createElementBlock("div", { class: normalizeClass(["bimdata-textarea", { "not-empty": b2.modelValue !== null && b2.modelValue !== "" || b2.placeholder !== null, error: b2.error, success: b2.success }]), style: normalizeStyle({ "min-width": b2.width, "min-height": b2.height }) }, [createElementVNode("textarea", mergeProps({ ref: "textarea", name: b2.name, id: b2.name, value: b2.modelValue, placeholder: b2.placeholder, style: b2.resizable ? "" : "resize: none;", onInput: c2[0] || (c2[0] = (...r) => x2.onInput && x2.onInput(...r)) }, s2.$attrs), null, 16, g$1), createElementVNode("label", { for: b2.name }, toDisplayString(b2.label), 9, d), h$1, b2.error ? (openBlock(), createElementBlock("span", u$1, toDisplayString(b2.errorMessage), 1)) : createCommentVNode("v-if", true), b2.success ? (openBlock(), createElementBlock("span", m$2, toDisplayString(b2.successMessage), 1)) : createCommentVNode("v-if", true)], 6);
2647
+ return openBlock(), createElementBlock("div", { class: normalizeClass(["bimdata-textarea", { "not-empty": b2.modelValue !== null && b2.modelValue !== "" || b2.placeholder !== null, error: b2.error, success: b2.success }]), style: normalizeStyle({ "min-width": b2.width, "min-height": b2.height }) }, [createElementVNode("textarea", mergeProps({ ref: "textarea", name: b2.name, id: b2.name, value: b2.modelValue, placeholder: b2.placeholder, style: b2.resizable ? "" : "resize: none;", onInput: c2[0] || (c2[0] = (...r) => x2.onInput && x2.onInput(...r)) }, s2.$attrs), null, 16, g$2), createElementVNode("label", { for: b2.name }, toDisplayString(b2.label), 9, d), h$1, b2.error ? (openBlock(), createElementBlock("span", u$1, toDisplayString(b2.errorMessage), 1)) : createCommentVNode("v-if", true), b2.success ? (openBlock(), createElementBlock("span", m$3, toDisplayString(b2.successMessage), 1)) : createCommentVNode("v-if", true)], 6);
2651
2648
  }, b$1.__scopeId = "data-v-76eaf75a", b$1.__file = "src/BIMDataComponents/BIMDataTextarea/BIMDataTextarea.vue";
2649
+ var g$1 = { props: { text: { type: String, default: "" }, maxWidth: { type: String, default: "240px" }, position: { type: String, default: "bottom", validator: (t) => ["top", "right", "bottom", "left"].includes(t) }, color: { type: String, default: "primary", validator: (t) => ["white", "primary", "secondary", "granite-light", "silver-light", "success", "warning", "high"].includes(t) }, disabled: { type: Boolean, default: false }, message: { type: String }, className: { type: [String, Array] } }, data: () => ({ width: null, height: null, parentHeight: null, hover: false }), computed: { isDisplayed() {
2650
+ return !this.disabled && this._text && this.hover;
2651
+ }, _text() {
2652
+ return this.text || this.message;
2653
+ }, _className() {
2654
+ return [this.className].flat();
2655
+ } } };
2656
+ const m$2 = { class: "bimdata-tooltip" };
2657
+ !function(t, o2) {
2658
+ o2 === void 0 && (o2 = {});
2659
+ var a2 = o2.insertAt;
2660
+ if (t && typeof document != "undefined") {
2661
+ var r = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
2662
+ n.type = "text/css", a2 === "top" && r.firstChild ? r.insertBefore(n, r.firstChild) : r.appendChild(n), n.styleSheet ? n.styleSheet.cssText = t : n.appendChild(document.createTextNode(t));
2663
+ }
2664
+ }('/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-41eb8f46] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n\n/* base COLORS --------------------------------------------- */\n/* colors BRAND */\n/* colors GREY SHADES - NEUTRAL */\n/* color TEXT */\n/* state colors */\n/* base FONT SIZE ----------------------------------------- */\n/* base BOX-SHADOW ----------------------------------------- */\n/* base SPACING UNIT -------------------------------------- */\n/* base FONTS -------------------------------------- */\nhtml[data-v-41eb8f46] {\n /* base COLORS ------------------------------------------- */\n /* --------------------------------\n color PRIMARY & VARIANTS -------------------------------- */\n --color-primary-lighter: rgba(248, 249, 250, 1);\n --color-primary-light: rgba(67, 78, 105, 1);\n --color-primary: rgba(47, 55, 74, 1);\n --color-primary-dark: rgba(27, 32, 43, 1);\n /* --------------------------------\n color SECONDARY & VARIANTS -------------------------------- */\n --color-secondary-lighter: rgba(255, 252, 242, 1);\n --color-secondary-light: rgba(250, 212, 94, 1);\n --color-secondary: rgba(249, 199, 44, 1);\n --color-secondary-dark: rgba(235, 180, 7, 1);\n /* --------------------------------\n color GREY SHADES - NEUTRAL\n -------------------------------- */\n --color-white: rgba(255, 255, 255, 1);\n --color-silver-light: rgba(247, 247, 247, 1);\n --color-silver: rgba(216, 216, 216, 1);\n --color-silver-dark: rgba(189, 189, 189, 1);\n --color-granite-light: rgba(122, 122, 122, 1);\n --color-granite: rgba(96, 96, 96, 1);\n --color-black: rgba(0, 0, 0, 1);\n /* --------------------------------\n color TEXT -------------------------------- */\n --color-text: rgba(47, 55, 74, 1);\n /* --------------------------------\n color BLACK & VARIANTS -------------------------------- */\n --color-black-100: rgba(0, 0, 0, 0.1);\n /* --------------------------------\n color SUCCESS & VARIANTS -------------------------------- */\n --color-success-lighter: rgba(226, 255, 239, 1);\n --color-success-light: rgba(0, 200, 92, 1);\n --color-success: rgba(0, 175, 80, 1);\n --color-success-dark: rgba(0, 149, 68, 1);\n /* --------------------------------\n color WARNING & VARIANTS -------------------------------- */\n --color-warning-lighter: rgba(255, 233, 204, 1);\n --color-warning-light: rgba(255, 167, 51, 1);\n --color-warning: rgba(255, 145, 0, 1);\n --color-warning-dark: rgba(204, 116, 0, 1);\n /* --------------------------------\n color HIGH & VARIANTS -------------------------------- */\n --color-high-lighter: rgba(255, 237, 234, 1);\n --color-high-light: rgba(255, 104, 81, 1);\n --color-high: rgba(255, 61, 30, 1);\n --color-high-dark: rgba(234, 31, 0, 1);\n /* base FONT SIZE ----------------------------------------- */\n --font-size: 14px;\n /* base BOX-SHADOW ----------------------------------------- */\n --box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);\n /* base BORDER RADIUS ----------------------------------------- */\n --border-radius-tiny: 3px;\n /* base SPACING UNIT -------------------------------------- */\n --spacing-unit: 12px;\n --size-btn-options: 45px;\n /* base FONTS -------------------------------------- */\n --primary-font: "roboto", sans-serif;\n}\n.text-left[data-v-41eb8f46] {\n text-align: left;\n}\n.text-center[data-v-41eb8f46] {\n text-align: center;\n}\n.text-right[data-v-41eb8f46] {\n text-align: right;\n}\n.bimdata-link[data-v-41eb8f46] {\n color: var(--color-primary);\n border-bottom: 1px solid var(--color-primary);\n font-weight: 700;\n}\n\n/* BIMDATA FONT WEIGHT */\n.primary-font[data-v-41eb8f46] {\n font-family: "roboto", sans-serif;\n}\n.bimdata-tooltip[data-v-41eb8f46] {\n position: relative;\n}\n.bimdata-tooltip__tooltip[data-v-41eb8f46] {\n position: absolute;\n z-index: 2;\n min-width: 60px;\n width: -webkit-max-content;\n width: -moz-max-content;\n width: max-content;\n padding: calc(var(--spacing-unit) / 3) calc(var(--spacing-unit) / 2);\n border-radius: 3px;\n text-align: center;\n white-space: normal;\n word-wrap: break-word;\n}\n.bimdata-tooltip__tooltip[data-v-41eb8f46]::before {\n content: "";\n position: absolute;\n border-style: solid;\n border-width: 8px 0 0 8px;\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--up[data-v-41eb8f46], .bimdata-tooltip__tooltip--top[data-v-41eb8f46] {\n top: -8px;\n left: 50%;\n -webkit-transform: translateX(-50%) translateY(-100%);\n transform: translateX(-50%) translateY(-100%);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--up[data-v-41eb8f46]::before, .bimdata-tooltip__tooltip--top[data-v-41eb8f46]::before {\n top: calc(100% - 4px);\n left: calc(50% - 4px);\n -webkit-transform: rotate(135deg);\n transform: rotate(135deg);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--left[data-v-41eb8f46], .bimdata-tooltip__tooltip--right[data-v-41eb8f46] {\n top: 50%;\n left: calc(100% + 8px);\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--left[data-v-41eb8f46]::before, .bimdata-tooltip__tooltip--right[data-v-41eb8f46]::before {\n top: calc(50% - 4px);\n left: -4px;\n -webkit-transform: rotate(-135deg);\n transform: rotate(-135deg);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--bottom[data-v-41eb8f46], .bimdata-tooltip__tooltip--bottom[data-v-41eb8f46] {\n top: calc(100% + 8px);\n left: 50%;\n -webkit-transform: translateX(-50%);\n transform: translateX(-50%);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--bottom[data-v-41eb8f46]::before, .bimdata-tooltip__tooltip--bottom[data-v-41eb8f46]::before {\n top: -4px;\n left: calc(50% - 4px);\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--right[data-v-41eb8f46], .bimdata-tooltip__tooltip--left[data-v-41eb8f46] {\n top: 50%;\n left: -8px;\n -webkit-transform: translateX(-100%) translateY(-50%);\n transform: translateX(-100%) translateY(-50%);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--right[data-v-41eb8f46]::before, .bimdata-tooltip__tooltip--left[data-v-41eb8f46]::before {\n top: calc(50% - 4px);\n left: calc(100% - 4px);\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.bimdata-tooltip__tooltip--white[data-v-41eb8f46] {\n background-color: var(--color-white);\n color: var(--color-primary);\n}\n.bimdata-tooltip__tooltip--white[data-v-41eb8f46]::before {\n border-color: var(--color-white) transparent transparent;\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--primary[data-v-41eb8f46], .bimdata-tooltip__tooltip--primary[data-v-41eb8f46] {\n background-color: var(--color-primary);\n color: var(--color-white);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--primary[data-v-41eb8f46]::before, .bimdata-tooltip__tooltip--primary[data-v-41eb8f46]::before {\n border-color: var(--color-primary) transparent transparent;\n}\n.bimdata-tooltip__tooltip--secondary[data-v-41eb8f46] {\n background-color: rgb(249, 199, 44);\n color: rgb(47, 55, 74);\n}\n.bimdata-tooltip__tooltip--secondary[data-v-41eb8f46]::before {\n border-color: var(--color-secondary) transparent transparent;\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--grey[data-v-41eb8f46], .bimdata-tooltip__tooltip--granite-light[data-v-41eb8f46] {\n background-color: var(--color-granite-light);\n color: var(--color-white);\n}\n.bimdata-tooltip__tooltip.bimdata-tooltip--grey[data-v-41eb8f46]::before, .bimdata-tooltip__tooltip--granite-light[data-v-41eb8f46]::before {\n border-color: var(--color-granite-light) transparent transparent;\n}\n.bimdata-tooltip__tooltip--silver-light[data-v-41eb8f46] {\n background-color: var(--color-silver-light);\n color: var(--color-primary);\n}\n.bimdata-tooltip__tooltip--silver-light[data-v-41eb8f46]::before {\n border-color: var(--color-silver-light) transparent transparent;\n}\n.bimdata-tooltip__tooltip--success[data-v-41eb8f46] {\n background-color: var(--color-success);\n color: var(--color-white);\n}\n.bimdata-tooltip__tooltip--success[data-v-41eb8f46]::before {\n border-color: var(--color-success) transparent transparent;\n}\n.bimdata-tooltip__tooltip--warning[data-v-41eb8f46] {\n background-color: var(--color-warning);\n color: var(--color-white);\n}\n.bimdata-tooltip__tooltip--warning[data-v-41eb8f46]::before {\n border-color: var(--color-warning) transparent transparent;\n}\n.bimdata-tooltip__tooltip--high[data-v-41eb8f46] {\n background-color: var(--color-high);\n color: var(--color-white);\n}\n.bimdata-tooltip__tooltip--high[data-v-41eb8f46]::before {\n border-color: var(--color-high) transparent transparent;\n}'), g$1.render = function(g2, f2, h2, v2, _2, u2) {
2665
+ return openBlock(), createElementBlock("div", m$2, [createElementVNode("div", { class: "bimdata-tooltip__content", onMouseover: f2[0] || (f2[0] = (t) => _2.hover = true), onMouseleave: f2[1] || (f2[1] = (t) => _2.hover = false) }, [createCommentVNode(' slot "content" for retro-compatibility '), renderSlot(g2.$slots, "content"), renderSlot(g2.$slots, "default")], 32), createVNode(Transition, { name: "fade", persisted: "" }, { default: withCtx(() => [withDirectives(createElementVNode("div", { ref: "tooltipText", class: normalizeClass(["bimdata-tooltip__tooltip", ["bimdata-tooltip__tooltip--" + h2.position, "bimdata-tooltip__tooltip--" + h2.color, ...u2._className]]), style: normalizeStyle({ maxWidth: h2.maxWidth }) }, toDisplayString(u2._text), 7), [[vShow, u2.isDisplayed]])]), _: 1 })]);
2666
+ }, g$1.__scopeId = "data-v-41eb8f46", g$1.__file = "src/BIMDataComponents/BIMDataTooltip/BIMDataTooltip.vue";
2652
2667
  var BcfTopicImages_scss_vue_type_style_index_0_src_scoped_true_lang = "";
2653
- const _sfc_main$a = {
2668
+ const _sfc_main$b = {
2654
2669
  components: {
2655
2670
  BIMDataButton: l,
2656
2671
  BIMDataIcon: ol$1
2657
2672
  },
2658
2673
  props: {
2659
- bcfTopic: {
2660
- type: Object
2674
+ viewpoints: {
2675
+ type: Array,
2676
+ default: () => []
2661
2677
  }
2662
2678
  },
2663
2679
  emits: [
2664
- "add-image",
2680
+ "add-viewpoint",
2665
2681
  "delete-viewpoint"
2666
2682
  ],
2667
- setup(props, { emit }) {
2668
- const viewpoints = ref([]);
2669
- watch(() => props.bcfTopic, (topic) => {
2670
- viewpoints.value = ((topic == null ? void 0 : topic.viewpoints) || []).filter((v2) => v2.snapshot);
2671
- }, { immediate: true });
2683
+ setup(_2, { emit }) {
2672
2684
  const addImage = (event) => {
2673
2685
  [...event.target.files].forEach((file) => {
2674
2686
  const reader = new FileReader();
@@ -2679,26 +2691,22 @@ const _sfc_main$a = {
2679
2691
  snapshot_data: reader.result
2680
2692
  }
2681
2693
  };
2682
- viewpoints.value.push(viewpoint);
2683
- emit("add-image", viewpoint);
2694
+ emit("add-viewpoint", viewpoint);
2684
2695
  });
2685
2696
  reader.readAsDataURL(file);
2686
2697
  });
2687
2698
  };
2688
2699
  const deleteViewpoint2 = (viewpoint) => {
2689
- let index = viewpoints.value.indexOf(viewpoint);
2690
- viewpoints.value.splice(index, 1);
2691
2700
  emit("delete-viewpoint", viewpoint);
2692
2701
  };
2693
2702
  return {
2694
- viewpoints,
2695
2703
  addImage,
2696
2704
  deleteViewpoint: deleteViewpoint2
2697
2705
  };
2698
2706
  }
2699
2707
  };
2700
- const _hoisted_1$7 = { class: "bcf-topic-images" };
2701
- const _hoisted_2$5 = { class: "bcf-topic-images__images" };
2708
+ const _hoisted_1$8 = { class: "bcf-topic-images" };
2709
+ const _hoisted_2$6 = { class: "bcf-topic-images__images" };
2702
2710
  const _hoisted_3$5 = ["src"];
2703
2711
  const _hoisted_4$4 = { for: "files" };
2704
2712
  const _hoisted_5$4 = ["disabled"];
@@ -2708,15 +2716,15 @@ const _hoisted_6$4 = {
2708
2716
  };
2709
2717
  const _hoisted_7$4 = { class: "icon" };
2710
2718
  const _hoisted_8$4 = { for: "files" };
2711
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2719
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
2712
2720
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
2713
2721
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
2714
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
2715
- $setup.viewpoints.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
2716
- createElementVNode("div", _hoisted_2$5, [
2717
- (openBlock(true), createElementBlock(Fragment, null, renderList($setup.viewpoints.slice(0, 4), (viewpoint, i2) => {
2722
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
2723
+ $props.viewpoints.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
2724
+ createElementVNode("div", _hoisted_2$6, [
2725
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.viewpoints.slice(0, 4), (viewpoint, i2) => {
2718
2726
  return openBlock(), createElementBlock("div", {
2719
- class: normalizeClass(["image-preview", { single: $setup.viewpoints.length === 1 }]),
2727
+ class: normalizeClass(["image-preview", { single: $props.viewpoints.length === 1 }]),
2720
2728
  key: viewpoint.guid || i2
2721
2729
  }, [
2722
2730
  viewpoint.snapshot.snapshot_data ? (openBlock(), createElementBlock("img", {
@@ -2744,7 +2752,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2744
2752
  }), 128))
2745
2753
  ]),
2746
2754
  createVNode(_component_BIMDataButton, {
2747
- disabled: $setup.viewpoints.length >= 4,
2755
+ disabled: $props.viewpoints.length >= 4,
2748
2756
  class: "btn-upload",
2749
2757
  width: "100%",
2750
2758
  color: "primary",
@@ -2761,7 +2769,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2761
2769
  createTextVNode(" " + toDisplayString(_ctx.$t("BcfComponents.BcfTopicForm.addPictureButton")), 1)
2762
2770
  ]),
2763
2771
  createElementVNode("input", {
2764
- disabled: $setup.viewpoints.length >= 4,
2772
+ disabled: $props.viewpoints.length >= 4,
2765
2773
  hidden: "",
2766
2774
  id: "files",
2767
2775
  type: "file",
@@ -2801,36 +2809,30 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2801
2809
  ]))
2802
2810
  ]);
2803
2811
  }
2804
- var BcfTopicImages = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-2820e256"]]);
2812
+ var BcfTopicImages = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-f9b6ed42"]]);
2805
2813
  var BcfTopicSnapshots_scss_vue_type_style_index_0_src_scoped_true_lang = "";
2806
- const _sfc_main$9 = {
2814
+ const _sfc_main$a = {
2807
2815
  components: {
2808
2816
  BIMDataButton: l,
2809
2817
  BIMDataIcon: ol$1
2810
2818
  },
2811
2819
  props: {
2812
- bcfTopic: {
2813
- type: Object
2820
+ viewpoints: {
2821
+ type: Array,
2822
+ default: () => []
2814
2823
  }
2815
2824
  },
2816
2825
  emits: [
2817
2826
  "add-viewpoint",
2818
2827
  "delete-viewpoint"
2819
2828
  ],
2820
- setup(props, { emit }) {
2829
+ setup(_2, { emit }) {
2821
2830
  const getViewers = inject("getViewers", () => {
2822
2831
  });
2823
- const viewpoints = ref([]);
2824
- watch(() => props.bcfTopic, (topic) => {
2825
- viewpoints.value = ((topic == null ? void 0 : topic.viewpoints) || []).filter((v2) => v2.snapshot);
2826
- }, { immediate: true });
2827
2832
  const addViewpoint = (viewpoint) => {
2828
- viewpoints.value.push(viewpoint);
2829
2833
  emit("add-viewpoint", viewpoint);
2830
2834
  };
2831
2835
  const deleteViewpoint2 = (viewpoint) => {
2832
- let index = viewpoints.value.indexOf(viewpoint);
2833
- viewpoints.value.splice(index, 1);
2834
2836
  emit("delete-viewpoint", viewpoint);
2835
2837
  };
2836
2838
  const takeSnapshots = async () => {
@@ -2841,26 +2843,25 @@ const _sfc_main$9 = {
2841
2843
  });
2842
2844
  };
2843
2845
  return {
2844
- viewpoints,
2845
2846
  deleteViewpoint: deleteViewpoint2,
2846
2847
  takeSnapshots
2847
2848
  };
2848
2849
  }
2849
2850
  };
2850
- const _hoisted_1$6 = { class: "bcf-topic-snapshots" };
2851
- const _hoisted_2$4 = {
2851
+ const _hoisted_1$7 = { class: "bcf-topic-snapshots" };
2852
+ const _hoisted_2$5 = {
2852
2853
  key: 0,
2853
2854
  class: "bcf-topic-snapshots__snapshots"
2854
2855
  };
2855
2856
  const _hoisted_3$4 = ["src"];
2856
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
2857
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
2857
2858
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
2858
2859
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
2859
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
2860
- $setup.viewpoints.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
2861
- (openBlock(true), createElementBlock(Fragment, null, renderList($setup.viewpoints.slice(0, 4), (viewpoint, i2) => {
2860
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
2861
+ $props.viewpoints.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
2862
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.viewpoints.slice(0, 4), (viewpoint, i2) => {
2862
2863
  return openBlock(), createElementBlock("div", {
2863
- class: normalizeClass(["snapshot-preview", { single: $setup.viewpoints.length === 1 }]),
2864
+ class: normalizeClass(["snapshot-preview", { single: $props.viewpoints.length === 1 }]),
2864
2865
  key: viewpoint.guid || i2
2865
2866
  }, [
2866
2867
  viewpoint.snapshot.snapshot_data ? (openBlock(), createElementBlock("img", {
@@ -2898,20 +2899,21 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
2898
2899
  ]))
2899
2900
  ]);
2900
2901
  }
2901
- var BcfTopicSnapshots = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-674cd59c"]]);
2902
+ var BcfTopicSnapshots = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-51a7b7e2"]]);
2902
2903
  var BcfTopicForm_scss_vue_type_style_index_0_src_scoped_true_lang = "";
2903
- const _sfc_main$8 = {
2904
+ const _sfc_main$9 = {
2904
2905
  components: {
2905
2906
  BcfTopicImages,
2906
2907
  BcfTopicSnapshots,
2907
2908
  BIMDataButton: l,
2908
2909
  BIMDataIcon: ol$1,
2909
- BIMDataInput: g$3,
2910
+ BIMDataInput: g$4,
2910
2911
  BIMDataLoading: b$3,
2911
2912
  BIMDataSafeZoneModal: ul,
2912
2913
  BIMDataSelect: ln$2,
2913
2914
  BIMDataTextarea: b$1,
2914
- BIMDataTextbox: s$1
2915
+ BIMDataTextbox: s$1,
2916
+ BIMDataTooltip: g$1
2915
2917
  },
2916
2918
  props: {
2917
2919
  viewerMode: {
@@ -2922,6 +2924,10 @@ const _sfc_main$8 = {
2922
2924
  type: Object,
2923
2925
  required: true
2924
2926
  },
2927
+ extensions: {
2928
+ type: Object,
2929
+ reuiqred: true
2930
+ },
2925
2931
  bcfTopics: {
2926
2932
  type: Array,
2927
2933
  required: true
@@ -2938,15 +2944,11 @@ const _sfc_main$8 = {
2938
2944
  },
2939
2945
  providedPins: {
2940
2946
  type: Array
2941
- },
2942
- extensions: {
2943
- type: Object,
2944
- reuiqred: true
2945
2947
  }
2946
2948
  },
2947
2949
  emits: [
2948
- "add-object",
2949
- "add-annotation",
2950
+ "add-components",
2951
+ "add-pins",
2950
2952
  "bcf-topic-created",
2951
2953
  "bcf-topic-updated",
2952
2954
  "close"
@@ -2973,6 +2975,7 @@ const _sfc_main$8 = {
2973
2975
  const viewpointsToCreate = ref([]);
2974
2976
  const viewpointsToUpdate = ref([]);
2975
2977
  const viewpointsToDelete = ref([]);
2978
+ const viewpointsToDisplay = computed(() => viewpoints.value.concat(viewpointsToCreate.value).filter((v2) => !viewpointsToDelete.value.some((x2) => x2.guid === v2.guid)).filter((v2) => v2.snapshot));
2976
2979
  const loading = ref(false);
2977
2980
  const isOpenModal = ref(false);
2978
2981
  const hasErrorTitle = ref(false);
@@ -3002,6 +3005,9 @@ const _sfc_main$8 = {
3002
3005
  topicDescription.value = "";
3003
3006
  topicLabels.value = [];
3004
3007
  viewpoints.value = [];
3008
+ viewpointsToCreate.value = [];
3009
+ viewpointsToUpdate.value = [];
3010
+ viewpointsToDelete.value = [];
3005
3011
  loading.value = false;
3006
3012
  isOpenModal.value = false;
3007
3013
  hasErrorTitle.value = false;
@@ -3032,8 +3038,14 @@ const _sfc_main$8 = {
3032
3038
  loading.value = true;
3033
3039
  viewpointsToUpdate.value = viewpoints.value.map((viewpoint) => __spreadProps(__spreadValues({}, viewpoint), { snapshot: void 0 }));
3034
3040
  if (props.providedComponents) {
3035
- viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.components = props.providedComponents);
3036
- viewpointsToCreate.value.forEach((viewpoint) => viewpoint.components = props.providedComponents);
3041
+ 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);
3044
+ } else {
3045
+ viewpointsToCreate.value.push({
3046
+ components: props.providedComponents
3047
+ });
3048
+ }
3037
3049
  }
3038
3050
  if (props.providedPins) {
3039
3051
  viewpointsToUpdate.value.forEach((viewpoint) => viewpoint.pins = props.providedPins);
@@ -3087,16 +3099,15 @@ const _sfc_main$8 = {
3087
3099
  topicLabels,
3088
3100
  topicTitle,
3089
3101
  topicType,
3090
- viewpoints,
3091
- viewpointsToCreate,
3102
+ viewpointsToDisplay,
3092
3103
  addViewpoint,
3093
3104
  delViewpoint,
3094
3105
  submit
3095
3106
  };
3096
3107
  }
3097
3108
  };
3098
- const _hoisted_1$5 = { class: "bcf-topic-form" };
3099
- const _hoisted_2$3 = { class: "bcf-topic-form__content" };
3109
+ const _hoisted_1$6 = { class: "bcf-topic-form" };
3110
+ const _hoisted_2$4 = { class: "bcf-topic-form__content" };
3100
3111
  const _hoisted_3$3 = { class: "bcf-topic-form__content__head" };
3101
3112
  const _hoisted_4$3 = { class: "bcf-topic-form__content__head__index" };
3102
3113
  const _hoisted_5$3 = { class: "bcf-topic-form__content__head__date" };
@@ -3108,33 +3119,34 @@ const _hoisted_10$2 = {
3108
3119
  key: 0,
3109
3120
  class: "bcf-topic-form__loader"
3110
3121
  };
3111
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
3122
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
3112
3123
  const _component_BcfTopicSnapshots = resolveComponent("BcfTopicSnapshots");
3113
3124
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
3114
3125
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
3126
+ const _component_BIMDataTooltip = resolveComponent("BIMDataTooltip");
3115
3127
  const _component_BcfTopicImages = resolveComponent("BcfTopicImages");
3116
3128
  const _component_BIMDataInput = resolveComponent("BIMDataInput");
3117
3129
  const _component_BIMDataSelect = resolveComponent("BIMDataSelect");
3118
3130
  const _component_BIMDataTextarea = resolveComponent("BIMDataTextarea");
3119
3131
  const _component_BIMDataLoading = resolveComponent("BIMDataLoading");
3120
3132
  const _component_BIMDataSafeZoneModal = resolveComponent("BIMDataSafeZoneModal");
3121
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
3122
- createElementVNode("div", _hoisted_2$3, [
3133
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
3134
+ createElementVNode("div", _hoisted_2$4, [
3123
3135
  createElementVNode("div", _hoisted_3$3, [
3124
3136
  createElementVNode("div", _hoisted_4$3, toDisplayString($setup.isCreation ? $setup.nextIndex : $props.bcfTopic.index), 1),
3125
3137
  createElementVNode("div", _hoisted_5$3, toDisplayString(_ctx.$d($setup.isCreation ? new Date() : $props.bcfTopic.creation_date, "short")), 1)
3126
3138
  ]),
3127
3139
  $props.viewerMode ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
3128
3140
  createVNode(_component_BcfTopicSnapshots, {
3129
- bcfTopic: $props.bcfTopic,
3141
+ viewpoints: $setup.viewpointsToDisplay,
3130
3142
  onAddViewpoint: $setup.addViewpoint,
3131
3143
  onDeleteViewpoint: $setup.delViewpoint
3132
- }, null, 8, ["bcfTopic", "onAddViewpoint", "onDeleteViewpoint"]),
3144
+ }, null, 8, ["viewpoints", "onAddViewpoint", "onDeleteViewpoint"]),
3133
3145
  createElementVNode("div", _hoisted_6$3, [
3134
3146
  createVNode(_component_BIMDataButton, {
3135
3147
  fill: "",
3136
3148
  radius: "",
3137
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("add-object", $props.bcfTopic))
3149
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("add-components", $props.bcfTopic))
3138
3150
  }, {
3139
3151
  default: withCtx(() => [
3140
3152
  createVNode(_component_BIMDataIcon, {
@@ -3142,34 +3154,44 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
3142
3154
  size: "xxxs",
3143
3155
  margin: "0 6px 0 0"
3144
3156
  }),
3145
- createTextVNode(" " + toDisplayString(_ctx.$t("BcfComponents.BcfTopicForm.addObjectButton")), 1)
3157
+ createElementVNode("span", null, toDisplayString(_ctx.$t("BcfComponents.BcfTopicForm.addObjectButton")), 1)
3146
3158
  ]),
3147
3159
  _: 1
3148
3160
  }),
3149
- createVNode(_component_BIMDataButton, {
3150
- color: "primary",
3151
- fill: "",
3152
- radius: "",
3153
- disabled: $setup.viewpoints.length === 0 && $setup.viewpointsToCreate.length === 0,
3154
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("add-annotation", $props.bcfTopic))
3161
+ createVNode(_component_BIMDataTooltip, {
3162
+ disabled: $setup.viewpointsToDisplay.length > 0,
3163
+ text: _ctx.$t("BcfComponents.BcfTopicForm.annotationButtonTooltip"),
3164
+ color: "granite-light"
3155
3165
  }, {
3156
3166
  default: withCtx(() => [
3157
- createVNode(_component_BIMDataIcon, {
3158
- name: "plus",
3159
- size: "xxxs",
3160
- margin: "0 6px 0 0"
3161
- }),
3162
- createTextVNode(" " + toDisplayString(_ctx.$t("BcfComponents.BcfTopicForm.addAnnotationButton")), 1)
3167
+ createVNode(_component_BIMDataButton, {
3168
+ width: "100%",
3169
+ color: "primary",
3170
+ fill: "",
3171
+ radius: "",
3172
+ disabled: $setup.viewpointsToDisplay.length === 0,
3173
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("add-pins", $props.bcfTopic))
3174
+ }, {
3175
+ default: withCtx(() => [
3176
+ createVNode(_component_BIMDataIcon, {
3177
+ name: "plus",
3178
+ size: "xxxs",
3179
+ margin: "0 6px 0 0"
3180
+ }),
3181
+ createElementVNode("span", null, toDisplayString(_ctx.$t("BcfComponents.BcfTopicForm.addAnnotationButton")), 1)
3182
+ ]),
3183
+ _: 1
3184
+ }, 8, ["disabled"])
3163
3185
  ]),
3164
3186
  _: 1
3165
- }, 8, ["disabled"])
3187
+ }, 8, ["disabled", "text"])
3166
3188
  ])
3167
3189
  ], 64)) : (openBlock(), createBlock(_component_BcfTopicImages, {
3168
3190
  key: 1,
3169
- bcfTopic: $props.bcfTopic,
3170
- onAddImage: $setup.addViewpoint,
3191
+ viewpoints: $setup.viewpointsToDisplay,
3192
+ onAddViewpoint: $setup.addViewpoint,
3171
3193
  onDeleteViewpoint: $setup.delViewpoint
3172
- }, null, 8, ["bcfTopic", "onAddImage", "onDeleteViewpoint"])),
3194
+ }, null, 8, ["viewpoints", "onAddViewpoint", "onDeleteViewpoint"])),
3173
3195
  createElementVNode("div", _hoisted_7$3, [
3174
3196
  createVNode(_component_BIMDataInput, {
3175
3197
  placeholder: _ctx.$t("BcfComponents.BcfTopicForm.titlePlaceholder"),
@@ -3294,7 +3316,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
3294
3316
  })) : createCommentVNode("", true)
3295
3317
  ]);
3296
3318
  }
3297
- var BcfTopicForm = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-48961bfc"]]);
3319
+ var BcfTopicForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-00306214"]]);
3298
3320
  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() {
3299
3321
  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 };
3300
3322
  }, style() {
@@ -3751,7 +3773,7 @@ I$1(".bimdata-carousel[data-v-b82c72c2] {\n --button-size: 44px;\n position: r
3751
3773
  return openBlock(), createElementBlock("div", bo, [withDirectives(createVNode(h2, { class: "bimdata-carousel__btn-prev", color: "default", fill: "", rounded: "", icon: "", onClick: l2[0] || (l2[0] = (n) => M2.index--) }, { default: withCtx(() => [createVNode(I2, { name: "chevron", size: "s", rotate: 180 })]), _: 1 }, 512), [[vShow, M2.index > 0]]), createElementVNode("div", fo, [createElementVNode("div", { class: "bimdata-carousel__container__slider", ref: "slider", style: normalizeStyle({ transform: `translateX(-${M2.translations[M2.index]}px)` }) }, [renderSlot(r.$slots, "default")], 4)]), withDirectives(createVNode(h2, { class: "bimdata-carousel__btn-next", color: "default", fill: "", rounded: "", icon: "", onClick: l2[1] || (l2[1] = (n) => M2.index++) }, { default: withCtx(() => [createVNode(I2, { name: "chevron", size: "s" })]), _: 1 }, 512), [[vShow, M2.index < M2.maxIndex]])]);
3752
3774
  }, vo.__scopeId = "data-v-b82c72c2", vo.__file = "src/BIMDataComponents/BIMDataCarousel/BIMDataCarousel.vue";
3753
3775
  var UserAvatar_scss_vue_type_style_index_0_src_scoped_true_lang = "";
3754
- const _sfc_main$7 = {
3776
+ const _sfc_main$8 = {
3755
3777
  props: {
3756
3778
  user: {
3757
3779
  type: Object,
@@ -3778,8 +3800,8 @@ const _sfc_main$7 = {
3778
3800
  };
3779
3801
  }
3780
3802
  };
3781
- const _hoisted_1$4 = ["src"];
3782
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
3803
+ const _hoisted_1$5 = ["src"];
3804
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
3783
3805
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
3784
3806
  return openBlock(), createElementBlock("div", {
3785
3807
  class: normalizeClass(["user-avatar", `user-avatar--${$props.user.profile_picture ? "silver-light" : $props.color}`]),
@@ -3792,18 +3814,18 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
3792
3814
  $props.user.profile_picture ? (openBlock(), createElementBlock("img", {
3793
3815
  key: 0,
3794
3816
  src: $props.user.profile_picture
3795
- }, null, 8, _hoisted_1$4)) : $setup.initials ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3817
+ }, null, 8, _hoisted_1$5)) : $setup.initials ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3796
3818
  createTextVNode(toDisplayString($setup.initials), 1)
3797
3819
  ], 64)) : (openBlock(), createBlock(_component_BIMDataIcon, {
3798
3820
  key: 2,
3799
3821
  name: "user",
3800
- size: "s"
3822
+ size: "xs"
3801
3823
  }))
3802
3824
  ], 6);
3803
3825
  }
3804
- var UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-3d173f08"]]);
3826
+ var UserAvatar = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-e5e255f0"]]);
3805
3827
  var TopicComment_scss_vue_type_style_index_0_src_scoped_true_lang = "";
3806
- const _sfc_main$6 = {
3828
+ const _sfc_main$7 = {
3807
3829
  components: {
3808
3830
  BIMDataButton: l,
3809
3831
  BIMDataIcon: ol$1,
@@ -3842,6 +3864,10 @@ const _sfc_main$6 = {
3842
3864
  isEditing.value = true;
3843
3865
  closeMenu();
3844
3866
  };
3867
+ const cancelUpdate = () => {
3868
+ isEditing.value = false;
3869
+ text.value = props.comment.comment;
3870
+ };
3845
3871
  const submitUpdate = async () => {
3846
3872
  if (props.comment.comment !== text.value) {
3847
3873
  try {
@@ -3875,6 +3901,7 @@ const _sfc_main$6 = {
3875
3901
  isEditing,
3876
3902
  loading,
3877
3903
  showMenu,
3904
+ cancelUpdate,
3878
3905
  closeMenu,
3879
3906
  onOpenDelete,
3880
3907
  onOpenEdit,
@@ -3884,9 +3911,9 @@ const _sfc_main$6 = {
3884
3911
  };
3885
3912
  }
3886
3913
  };
3887
- const _withScopeId$1 = (n) => (pushScopeId("data-v-e42b6ec4"), n = n(), popScopeId(), n);
3888
- const _hoisted_1$3 = { class: "topic-comment" };
3889
- const _hoisted_2$2 = { class: "topic-comment__header flex items-center justify-between" };
3914
+ const _withScopeId$1 = (n) => (pushScopeId("data-v-7631a934"), n = n(), popScopeId(), n);
3915
+ const _hoisted_1$4 = { class: "topic-comment" };
3916
+ const _hoisted_2$3 = { class: "topic-comment__header flex items-center justify-between" };
3890
3917
  const _hoisted_3$2 = { class: "topic-comment__header__left flex items-center" };
3891
3918
  const _hoisted_4$2 = {
3892
3919
  key: 1,
@@ -3902,15 +3929,15 @@ const _hoisted_9$1 = {
3902
3929
  };
3903
3930
  const _hoisted_10$1 = { class: "flex items-center" };
3904
3931
  const _hoisted_11$1 = { class: "topic-comment__content" };
3905
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
3932
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
3906
3933
  const _component_UserAvatar = resolveComponent("UserAvatar");
3907
3934
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
3908
3935
  const _component_BIMDataTextbox = resolveComponent("BIMDataTextbox");
3909
3936
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
3910
3937
  const _component_BIMDataTextarea = resolveComponent("BIMDataTextarea");
3911
3938
  const _component_BIMDataLoading = resolveComponent("BIMDataLoading");
3912
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
3913
- createElementVNode("div", _hoisted_2$2, [
3939
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
3940
+ createElementVNode("div", _hoisted_2$3, [
3914
3941
  createElementVNode("div", _hoisted_3$2, [
3915
3942
  $props.comment.user ? (openBlock(), createBlock(_component_UserAvatar, {
3916
3943
  key: 0,
@@ -3994,7 +4021,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
3994
4021
  ghost: "",
3995
4022
  rounded: "",
3996
4023
  icon: "",
3997
- onClick: _cache[0] || (_cache[0] = ($event) => $setup.isEditing = false)
4024
+ onClick: $setup.cancelUpdate
3998
4025
  }, {
3999
4026
  default: withCtx(() => [
4000
4027
  createVNode(_component_BIMDataIcon, {
@@ -4005,7 +4032,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
4005
4032
  })
4006
4033
  ]),
4007
4034
  _: 1
4008
- }),
4035
+ }, 8, ["onClick"]),
4009
4036
  createVNode(_component_BIMDataButton, {
4010
4037
  ghost: "",
4011
4038
  rounded: "",
@@ -4043,7 +4070,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
4043
4070
  ghost: "",
4044
4071
  rounded: "",
4045
4072
  icon: "",
4046
- onClick: _cache[1] || (_cache[1] = ($event) => $setup.isDeleting = false)
4073
+ onClick: _cache[0] || (_cache[0] = ($event) => $setup.isDeleting = false)
4047
4074
  }, {
4048
4075
  default: withCtx(() => [
4049
4076
  createVNode(_component_BIMDataIcon, {
@@ -4082,7 +4109,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
4082
4109
  width: "100%",
4083
4110
  rows: "1",
4084
4111
  modelValue: $setup.text,
4085
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $setup.text = $event),
4112
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.text = $event),
4086
4113
  fitContent: "",
4087
4114
  autofocus: "",
4088
4115
  resizable: false,
@@ -4092,9 +4119,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
4092
4119
  $setup.loading ? (openBlock(), createBlock(_component_BIMDataLoading, { key: 0 })) : createCommentVNode("", true)
4093
4120
  ]);
4094
4121
  }
4095
- var TopicComment = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-e42b6ec4"]]);
4122
+ var TopicComment = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-7631a934"]]);
4096
4123
  var BcfTopicComments_scss_vue_type_style_index_0_src_scoped_true_lang = "";
4097
- const _sfc_main$5 = {
4124
+ const _sfc_main$6 = {
4098
4125
  components: {
4099
4126
  BIMDataButton: l,
4100
4127
  BIMDataLoading: b$3,
@@ -4143,8 +4170,8 @@ const _sfc_main$5 = {
4143
4170
  };
4144
4171
  }
4145
4172
  };
4146
- const _hoisted_1$2 = { class: "bcf-topic-comments" };
4147
- const _hoisted_2$1 = {
4173
+ const _hoisted_1$3 = { class: "bcf-topic-comments" };
4174
+ const _hoisted_2$2 = {
4148
4175
  key: 1,
4149
4176
  class: "bcf-topic-comments__post-comment m-t-24"
4150
4177
  };
@@ -4154,12 +4181,12 @@ const _hoisted_5$1 = { class: "flex items-center justify-end" };
4154
4181
  const _hoisted_6$1 = { class: "bcf-topic-comments__list m-t-18" };
4155
4182
  const _hoisted_7$1 = { class: "color-granite" };
4156
4183
  const _hoisted_8$1 = { key: 0 };
4157
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
4184
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
4158
4185
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
4159
4186
  const _component_BIMDataTextarea = resolveComponent("BIMDataTextarea");
4160
4187
  const _component_TopicComment = resolveComponent("TopicComment");
4161
4188
  const _component_BIMDataLoading = resolveComponent("BIMDataLoading");
4162
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
4189
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
4163
4190
  !$setup.isOpen ? (openBlock(), createBlock(_component_BIMDataButton, {
4164
4191
  key: 0,
4165
4192
  width: "100%",
@@ -4172,7 +4199,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
4172
4199
  createTextVNode(toDisplayString(_ctx.$t("BcfComponents.BcfTopicComments.commentButton")), 1)
4173
4200
  ]),
4174
4201
  _: 1
4175
- })) : (openBlock(), createElementBlock("div", _hoisted_2$1, [
4202
+ })) : (openBlock(), createElementBlock("div", _hoisted_2$2, [
4176
4203
  createElementVNode("p", _hoisted_3$1, toDisplayString(_ctx.$t("BcfComponents.BcfTopicComments.commentText")), 1),
4177
4204
  createElementVNode("div", _hoisted_4$1, [
4178
4205
  createVNode(_component_BIMDataTextarea, {
@@ -4230,9 +4257,9 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
4230
4257
  $setup.loading ? (openBlock(), createBlock(_component_BIMDataLoading, { key: 2 })) : createCommentVNode("", true)
4231
4258
  ]);
4232
4259
  }
4233
- var BcfTopicComments = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-377292f2"]]);
4260
+ var BcfTopicComments = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-377292f2"]]);
4234
4261
  var BcfTopicOverview_scss_vue_type_style_index_0_src_scoped_true_lang = "";
4235
- const _sfc_main$4 = {
4262
+ const _sfc_main$5 = {
4236
4263
  components: {
4237
4264
  BcfTopicComments,
4238
4265
  BcfTopicDefaultImage,
@@ -4266,14 +4293,15 @@ const _sfc_main$4 = {
4266
4293
  }
4267
4294
  },
4268
4295
  emits: [
4269
- "edit-bcf-topic",
4270
- "view-bcf-topic",
4296
+ "back",
4271
4297
  "bcf-topic-deleted",
4298
+ "close",
4272
4299
  "comment-created",
4273
- "comment-updated",
4274
4300
  "comment-deleted",
4275
- "back",
4276
- "close"
4301
+ "comment-updated",
4302
+ "edit-bcf-topic",
4303
+ "view-bcf-topic",
4304
+ "view-components"
4277
4305
  ],
4278
4306
  setup(props, { emit }) {
4279
4307
  const { deleteTopic: deleteTopic2 } = useService();
@@ -4282,24 +4310,8 @@ const _sfc_main$4 = {
4282
4310
  const viewpointsWithSnapshot = computed(() => {
4283
4311
  return props.bcfTopic.viewpoints.filter((viewpoint) => Boolean(viewpoint.snapshot));
4284
4312
  });
4285
- const priorityColor = computed(() => {
4286
- if (props.bcfTopic.priority) {
4287
- const priorityDetail = props.detailedExtensions.priorities.find((p2) => p2.priority === props.bcfTopic.priority);
4288
- if (priorityDetail && priorityDetail.color) {
4289
- return priorityDetail.color;
4290
- }
4291
- }
4292
- return DEFAULT_PRIORITY_COLOR;
4293
- });
4294
- const statusColor = computed(() => {
4295
- if (props.bcfTopic.topic_status) {
4296
- const statusDetail = props.detailedExtensions.topic_statuses.find((s2) => s2.topic_status === props.bcfTopic.topic_status);
4297
- if (statusDetail && statusDetail.color) {
4298
- return statusDetail.color;
4299
- }
4300
- }
4301
- return DEFAULT_STATUS_COLOR;
4302
- });
4313
+ const priorityColor = computed(() => getPriorityColor(props.bcfTopic, props.detailedExtensions));
4314
+ const statusColor = computed(() => getStatusColor(props.bcfTopic, props.detailedExtensions));
4303
4315
  const topicComponents = computed(() => {
4304
4316
  var _a, _b;
4305
4317
  const components2 = (_b = (_a = props.bcfTopic.viewpoints) == null ? void 0 : _a[0]) == null ? void 0 : _b.components;
@@ -4337,9 +4349,9 @@ const _sfc_main$4 = {
4337
4349
  };
4338
4350
  }
4339
4351
  };
4340
- const _withScopeId = (n) => (pushScopeId("data-v-6ee8a41a"), n = n(), popScopeId(), n);
4341
- const _hoisted_1$1 = { class: "bcf-topic-overview" };
4342
- const _hoisted_2 = { class: "bcf-topic-overview__header" };
4352
+ const _withScopeId = (n) => (pushScopeId("data-v-7ffc583d"), n = n(), popScopeId(), n);
4353
+ const _hoisted_1$2 = { class: "bcf-topic-overview" };
4354
+ const _hoisted_2$1 = { class: "bcf-topic-overview__header" };
4343
4355
  const _hoisted_3 = { class: "bcf-topic-overview__header__title" };
4344
4356
  const _hoisted_4 = { class: "bcf-topic-overview__header__actions" };
4345
4357
  const _hoisted_5 = { class: "bcf-topic-overview__content" };
@@ -4347,39 +4359,40 @@ const _hoisted_6 = { class: "bcf-topic-overview__content__head" };
4347
4359
  const _hoisted_7 = { class: "bcf-topic-overview__content__head__date" };
4348
4360
  const _hoisted_8 = ["src"];
4349
4361
  const _hoisted_9 = { class: "bcf-topic-overview__content__card" };
4350
- const _hoisted_10 = { class: "title" };
4351
- const _hoisted_11 = { key: 0 };
4352
- const _hoisted_12 = { class: "line" };
4353
- const _hoisted_13 = { class: "label" };
4354
- const _hoisted_14 = { class: "value" };
4355
- const _hoisted_15 = { class: "line" };
4356
- const _hoisted_16 = { class: "label" };
4357
- const _hoisted_17 = { class: "value" };
4358
- const _hoisted_18 = { class: "line" };
4359
- const _hoisted_19 = { class: "label" };
4360
- const _hoisted_20 = { class: "value" };
4361
- const _hoisted_21 = { class: "line" };
4362
- const _hoisted_22 = { class: "label" };
4363
- const _hoisted_23 = { class: "value" };
4364
- const _hoisted_24 = { class: "bcf-topic-overview__content__card" };
4365
- const _hoisted_25 = { class: "title" };
4366
- const _hoisted_26 = { class: "line" };
4367
- const _hoisted_27 = { class: "label" };
4368
- const _hoisted_28 = { class: "value" };
4369
- const _hoisted_29 = { class: "line" };
4370
- const _hoisted_30 = { class: "label" };
4371
- const _hoisted_31 = { class: "value" };
4372
- const _hoisted_32 = { class: "line" };
4373
- const _hoisted_33 = { class: "label" };
4374
- const _hoisted_34 = { class: "value" };
4375
- const _hoisted_35 = { class: "line" };
4376
- const _hoisted_36 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, " Auteur : ", -1));
4377
- const _hoisted_37 = { class: "value" };
4378
- const _hoisted_38 = { class: "line m-t-12" };
4379
- const _hoisted_39 = { class: "label" };
4380
- const _hoisted_40 = { class: "value" };
4381
- const _hoisted_41 = { key: 1 };
4382
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
4362
+ const _hoisted_10 = {
4363
+ key: 0,
4364
+ class: "title"
4365
+ };
4366
+ const _hoisted_11 = { class: "line" };
4367
+ const _hoisted_12 = { class: "label" };
4368
+ const _hoisted_13 = { class: "value" };
4369
+ const _hoisted_14 = { class: "line" };
4370
+ const _hoisted_15 = { class: "label" };
4371
+ const _hoisted_16 = { class: "value" };
4372
+ const _hoisted_17 = { class: "line" };
4373
+ const _hoisted_18 = { class: "label" };
4374
+ const _hoisted_19 = { class: "value" };
4375
+ const _hoisted_20 = { class: "line" };
4376
+ const _hoisted_21 = { class: "label" };
4377
+ const _hoisted_22 = { class: "value" };
4378
+ const _hoisted_23 = { class: "bcf-topic-overview__content__card" };
4379
+ const _hoisted_24 = { class: "title" };
4380
+ const _hoisted_25 = { class: "line" };
4381
+ const _hoisted_26 = { class: "label" };
4382
+ const _hoisted_27 = { class: "value" };
4383
+ const _hoisted_28 = { class: "line" };
4384
+ const _hoisted_29 = { class: "label" };
4385
+ const _hoisted_30 = { class: "value" };
4386
+ const _hoisted_31 = { class: "line" };
4387
+ const _hoisted_32 = { class: "label" };
4388
+ const _hoisted_33 = { class: "line" };
4389
+ const _hoisted_34 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "label" }, " Auteur : ", -1));
4390
+ const _hoisted_35 = { class: "value" };
4391
+ const _hoisted_36 = { class: "line m-t-12" };
4392
+ const _hoisted_37 = { class: "label" };
4393
+ const _hoisted_38 = { class: "value" };
4394
+ const _hoisted_39 = { key: 1 };
4395
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
4383
4396
  const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
4384
4397
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
4385
4398
  const _component_BIMDataTextbox = resolveComponent("BIMDataTextbox");
@@ -4388,8 +4401,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
4388
4401
  const _component_BcfTopicComments = resolveComponent("BcfTopicComments");
4389
4402
  const _component_BIMDataSafeZoneModal = resolveComponent("BIMDataSafeZoneModal");
4390
4403
  const _component_BIMDataLoading = resolveComponent("BIMDataLoading");
4391
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
4392
- createElementVNode("div", _hoisted_2, [
4404
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
4405
+ createElementVNode("div", _hoisted_2$1, [
4393
4406
  $props.uiConfig.backButton ? (openBlock(), createBlock(_component_BIMDataButton, {
4394
4407
  key: 0,
4395
4408
  ripple: "",
@@ -4513,77 +4526,100 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
4513
4526
  class: "default-image"
4514
4527
  }))
4515
4528
  ], 2),
4516
- !$props.viewerMode ? (openBlock(), createBlock(_component_BIMDataButton, {
4529
+ $props.viewerMode ? (openBlock(), createBlock(_component_BIMDataButton, {
4517
4530
  key: 0,
4518
4531
  width: "100%",
4532
+ fill: "",
4533
+ radius: "",
4534
+ disabled: $setup.topicComponents.length === 0,
4535
+ onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("view-components", $props.bcfTopic))
4536
+ }, {
4537
+ default: withCtx(() => [
4538
+ createVNode(_component_BIMDataIcon, {
4539
+ name: "model3d",
4540
+ size: "xs",
4541
+ margin: "0 6px 0 0"
4542
+ }),
4543
+ $setup.topicComponents.length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
4544
+ createTextVNode(toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.elements", { count: $setup.topicComponents.length })), 1)
4545
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
4546
+ createTextVNode(toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.noElements")), 1)
4547
+ ], 64))
4548
+ ]),
4549
+ _: 1
4550
+ }, 8, ["disabled"])) : (openBlock(), createBlock(_component_BIMDataButton, {
4551
+ key: 1,
4552
+ width: "100%",
4519
4553
  color: "primary",
4520
4554
  fill: "",
4521
4555
  radius: "",
4522
- onClick: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("view-bcf-topic", $props.bcfTopic))
4556
+ onClick: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("view-bcf-topic", $props.bcfTopic))
4523
4557
  }, {
4524
4558
  default: withCtx(() => [
4525
4559
  createTextVNode(toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.openViewer")), 1)
4526
4560
  ]),
4527
4561
  _: 1
4528
- })) : createCommentVNode("", true),
4562
+ })),
4529
4563
  createElementVNode("div", _hoisted_9, [
4530
- createElementVNode("div", _hoisted_10, [
4564
+ !$props.viewerMode ? (openBlock(), createElementBlock("div", _hoisted_10, [
4531
4565
  createVNode(_component_BIMDataIcon, {
4532
4566
  name: "model3d",
4533
4567
  size: "xs"
4534
4568
  }),
4535
- $setup.topicComponents.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString($setup.topicComponents.length), 1)) : createCommentVNode("", true),
4536
- createElementVNode("span", null, toDisplayString($setup.topicComponents.length ? _ctx.$t("BcfComponents.BcfTopicOverview.elements") : _ctx.$t("BcfComponents.BcfTopicOverview.noElements")), 1)
4537
- ]),
4538
- createElementVNode("div", _hoisted_12, [
4539
- createElementVNode("span", _hoisted_13, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.type")), 1),
4540
- createElementVNode("span", _hoisted_14, toDisplayString($props.bcfTopic.topic_type ? $props.bcfTopic.topic_type : _ctx.$t("BcfComponents.BcfTopicOverview.noTypeSpecified")), 1)
4569
+ createElementVNode("span", null, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.elements", { count: $setup.topicComponents.length })), 1)
4570
+ ])) : createCommentVNode("", true),
4571
+ createElementVNode("div", _hoisted_11, [
4572
+ createElementVNode("span", _hoisted_12, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.type")), 1),
4573
+ createElementVNode("span", _hoisted_13, toDisplayString($props.bcfTopic.topic_type ? $props.bcfTopic.topic_type : _ctx.$t("BcfComponents.BcfTopicOverview.noTypeSpecified")), 1)
4541
4574
  ]),
4542
- createElementVNode("div", _hoisted_15, [
4543
- createElementVNode("span", _hoisted_16, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.description")), 1),
4544
- createElementVNode("span", _hoisted_17, toDisplayString($props.bcfTopic.description ? $props.bcfTopic.description : _ctx.$t("BcfComponents.BcfTopicOverview.noDescriptionProvided")), 1)
4575
+ createElementVNode("div", _hoisted_14, [
4576
+ createElementVNode("span", _hoisted_15, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.description")), 1),
4577
+ createElementVNode("span", _hoisted_16, toDisplayString($props.bcfTopic.description ? $props.bcfTopic.description : _ctx.$t("BcfComponents.BcfTopicOverview.noDescriptionProvided")), 1)
4545
4578
  ]),
4546
- createElementVNode("div", _hoisted_18, [
4547
- createElementVNode("span", _hoisted_19, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.assignedTo")), 1),
4548
- createElementVNode("span", _hoisted_20, toDisplayString($props.bcfTopic.assigned_to ? $props.bcfTopic.assigned_to : _ctx.$t("BcfComponents.BcfTopicOverview.notAssigned")), 1)
4579
+ createElementVNode("div", _hoisted_17, [
4580
+ createElementVNode("span", _hoisted_18, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.assignedTo")), 1),
4581
+ createElementVNode("span", _hoisted_19, toDisplayString($props.bcfTopic.assigned_to ? $props.bcfTopic.assigned_to : _ctx.$t("BcfComponents.BcfTopicOverview.notAssigned")), 1)
4549
4582
  ]),
4550
- createElementVNode("div", _hoisted_21, [
4551
- createElementVNode("span", _hoisted_22, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.dueDate")), 1),
4552
- createElementVNode("span", _hoisted_23, toDisplayString($props.bcfTopic.due_date ? _ctx.$d($props.bcfTopic.due_date, "short") : _ctx.$t("BcfComponents.BcfTopicOverview.noDueDate")), 1)
4583
+ createElementVNode("div", _hoisted_20, [
4584
+ createElementVNode("span", _hoisted_21, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.dueDate")), 1),
4585
+ createElementVNode("span", _hoisted_22, toDisplayString($props.bcfTopic.due_date ? _ctx.$d($props.bcfTopic.due_date, "short") : _ctx.$t("BcfComponents.BcfTopicOverview.noDueDate")), 1)
4553
4586
  ])
4554
4587
  ]),
4555
- createElementVNode("div", _hoisted_24, [
4556
- createElementVNode("div", _hoisted_25, [
4588
+ createElementVNode("div", _hoisted_23, [
4589
+ createElementVNode("div", _hoisted_24, [
4557
4590
  createVNode(_component_BIMDataIcon, { name: "bcf" }),
4558
4591
  createElementVNode("span", null, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.informations")), 1)
4559
4592
  ]),
4560
- createElementVNode("div", _hoisted_26, [
4561
- createElementVNode("span", _hoisted_27, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.status")), 1),
4562
- createElementVNode("span", _hoisted_28, toDisplayString($props.bcfTopic.topic_status || _ctx.$t("BcfComponents.BcfTopicOverview.noStatusSpecified")), 1)
4593
+ createElementVNode("div", _hoisted_25, [
4594
+ createElementVNode("span", _hoisted_26, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.status")), 1),
4595
+ createElementVNode("span", _hoisted_27, toDisplayString($props.bcfTopic.topic_status || _ctx.$t("BcfComponents.BcfTopicOverview.noStatusSpecified")), 1)
4563
4596
  ]),
4564
- createElementVNode("div", _hoisted_29, [
4565
- createElementVNode("span", _hoisted_30, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.stage")), 1),
4566
- createElementVNode("span", _hoisted_31, toDisplayString($props.bcfTopic.stage || _ctx.$t("BcfComponents.BcfTopicOverview.noStageProvided")), 1)
4597
+ createElementVNode("div", _hoisted_28, [
4598
+ createElementVNode("span", _hoisted_29, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.stage")), 1),
4599
+ createElementVNode("span", _hoisted_30, toDisplayString($props.bcfTopic.stage || _ctx.$t("BcfComponents.BcfTopicOverview.noStageProvided")), 1)
4567
4600
  ]),
4568
- createElementVNode("div", _hoisted_32, [
4569
- createElementVNode("span", _hoisted_33, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.priority")), 1),
4570
- createElementVNode("span", _hoisted_34, toDisplayString($props.bcfTopic.priority || _ctx.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 1)
4601
+ createElementVNode("div", _hoisted_31, [
4602
+ createElementVNode("span", _hoisted_32, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.priority")), 1),
4603
+ createElementVNode("span", {
4604
+ class: "value",
4605
+ style: normalizeStyle({ color: `#${$setup.priorityColor}` })
4606
+ }, toDisplayString($props.bcfTopic.priority || _ctx.$t("BcfComponents.BcfTopicOverview.priorityNotDefined")), 5)
4571
4607
  ]),
4572
- createElementVNode("div", _hoisted_35, [
4573
- _hoisted_36,
4574
- createElementVNode("span", _hoisted_37, toDisplayString($props.bcfTopic.creation_author), 1)
4608
+ createElementVNode("div", _hoisted_33, [
4609
+ _hoisted_34,
4610
+ createElementVNode("span", _hoisted_35, toDisplayString($props.bcfTopic.creation_author), 1)
4575
4611
  ]),
4576
- createElementVNode("div", _hoisted_38, [
4577
- createElementVNode("span", _hoisted_39, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.tags")), 1),
4578
- createElementVNode("span", _hoisted_40, toDisplayString($setup.topicLabels.length ? $setup.topicLabels.join(", ") : _ctx.$t("BcfComponents.BcfTopicOverview.noTags")), 1)
4612
+ createElementVNode("div", _hoisted_36, [
4613
+ createElementVNode("span", _hoisted_37, toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.tags")), 1),
4614
+ createElementVNode("span", _hoisted_38, toDisplayString($setup.topicLabels.length ? $setup.topicLabels.join(", ") : _ctx.$t("BcfComponents.BcfTopicOverview.noTags")), 1)
4579
4615
  ])
4580
4616
  ]),
4581
4617
  createVNode(_component_BcfTopicComments, {
4582
4618
  project: $props.project,
4583
4619
  bcfTopic: $props.bcfTopic,
4584
- onCommentCreated: _cache[5] || (_cache[5] = ($event) => _ctx.$emit("comment-created", $event)),
4585
- onCommentUpdated: _cache[6] || (_cache[6] = ($event) => _ctx.$emit("comment-updated", $event)),
4586
- onCommentDeleted: _cache[7] || (_cache[7] = ($event) => _ctx.$emit("comment-deleted", $event))
4620
+ onCommentCreated: _cache[6] || (_cache[6] = ($event) => _ctx.$emit("comment-created", $event)),
4621
+ onCommentUpdated: _cache[7] || (_cache[7] = ($event) => _ctx.$emit("comment-updated", $event)),
4622
+ onCommentDeleted: _cache[8] || (_cache[8] = ($event) => _ctx.$emit("comment-deleted", $event))
4587
4623
  }, null, 8, ["project", "bcfTopic"])
4588
4624
  ]),
4589
4625
  $setup.showDeleteModal ? (openBlock(), createBlock(_component_BIMDataSafeZoneModal, {
@@ -4610,7 +4646,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
4610
4646
  color: "primary",
4611
4647
  outline: "",
4612
4648
  radius: "",
4613
- onClick: _cache[8] || (_cache[8] = ($event) => $setup.showDeleteModal = false)
4649
+ onClick: _cache[9] || (_cache[9] = ($event) => $setup.showDeleteModal = false)
4614
4650
  }, {
4615
4651
  default: withCtx(() => [
4616
4652
  createTextVNode(toDisplayString(_ctx.$t("BcfComponents.BcfTopicOverview.keepBcfButton")), 1)
@@ -4620,12 +4656,12 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
4620
4656
  ]),
4621
4657
  _: 1
4622
4658
  })) : createCommentVNode("", true),
4623
- $setup.loading ? (openBlock(), createElementBlock("div", _hoisted_41, [
4659
+ $setup.loading ? (openBlock(), createElementBlock("div", _hoisted_39, [
4624
4660
  createVNode(_component_BIMDataLoading)
4625
4661
  ])) : createCommentVNode("", true)
4626
4662
  ]);
4627
4663
  }
4628
- var BcfTopicOverview = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-6ee8a41a"]]);
4664
+ var BcfTopicOverview = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-7ffc583d"]]);
4629
4665
  var columnsDef = [
4630
4666
  {
4631
4667
  id: "index",
@@ -4635,36 +4671,32 @@ var columnsDef = [
4635
4671
  },
4636
4672
  {
4637
4673
  id: "priority",
4638
- label: "Priorit\xE9",
4639
4674
  width: "96px",
4640
4675
  align: "center"
4641
4676
  },
4642
4677
  {
4643
4678
  id: "status",
4644
- label: "Statut",
4645
4679
  width: "72px",
4646
4680
  align: "center"
4647
4681
  },
4648
4682
  {
4649
4683
  id: "title",
4650
- label: "Titre",
4651
4684
  align: "left"
4652
4685
  },
4653
4686
  {
4654
4687
  id: "creator",
4655
- label: "Cr\xE9\xE9 par",
4656
- width: "120px",
4688
+ width: "60px",
4657
4689
  align: "center"
4658
4690
  },
4659
4691
  {
4660
4692
  id: "date",
4661
- label: "Date",
4662
- width: "120px"
4693
+ width: "90px",
4694
+ align: "center"
4663
4695
  },
4664
4696
  {
4665
4697
  id: "actions",
4666
4698
  label: " ",
4667
- width: "72px",
4699
+ width: "60px",
4668
4700
  align: "center"
4669
4701
  }
4670
4702
  ];
@@ -4794,8 +4826,8 @@ x('/* base COLORS --------------------------------------------- */\n/* colors BR
4794
4826
  const x2 = resolveComponent("BIMDataCheckbox"), A2 = resolveComponent("BIMDataIconChevron"), S2 = resolveComponent("BIMDataButton");
4795
4827
  return openBlock(), createElementBlock("div", X, [createElementVNode("div", { class: "bimdata-table__container", style: normalizeStyle({ height: s2.paginated ? (s2.perPage + 1) * s2.rowHeight + "px" : void 0 }) }, [createElementVNode("table", { style: normalizeStyle({ width: s2.tableWidth }) }, [createElementVNode("thead", null, [createElementVNode("tr", { key: "head-row-0", style: normalizeStyle({ height: s2.rowHeight + "px" }) }, [s2.selectable ? (openBlock(), createElementBlock("th", W, [createVNode(x2, { disabled: s2.rows.length === 0, modelValue: s2.rows.length > 0 && f2.selection.size === s2.rows.length, "onUpdate:modelValue": y2.toggleFullSelection }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])])) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(s2.columns, (o3, e2) => (openBlock(), createElementBlock("th", { key: "head-row-0-col-" + e2, style: normalizeStyle({ width: o3.width || "auto", textAlign: o3.align || "left" }) }, toDisplayString(o3.id ? o3.label || o3.id : o3), 5))), 128))], 4)]), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(s2.rows, (c3, b2) => withDirectives((openBlock(), createElementBlock("tr", { key: "body-row-" + b2, style: normalizeStyle({ height: s2.rowHeight + "px" }) }, [s2.selectable ? (openBlock(), createElementBlock("td", $, [createVNode(x2, { modelValue: f2.selection.has(b2), "onUpdate:modelValue": (n) => y2.toggleSelection(b2) }, null, 8, ["modelValue", "onUpdate:modelValue"])])) : createCommentVNode("v-if", true), (openBlock(true), createElementBlock(Fragment, null, renderList(s2.columns, (i2, s3) => (openBlock(), createElementBlock("td", { key: `body-row-${b2}-col-${s3}`, style: normalizeStyle({ width: i2.width || "auto", textAlign: i2.align || "left" }) }, [renderSlot(o2.$slots, "cell-" + i2.id, { row: c3 }, () => [createTextVNode(toDisplayString(c3[i2.id] || c3[s3] || ""), 1)])], 4))), 128))], 4)), [[vShow, f2.displayedRows.includes(b2)]])), 128))])], 4), s2.rows.length === 0 && s2.placeholder ? (openBlock(), createElementBlock("div", { key: 0, class: "bimdata-table__container__placeholder", style: normalizeStyle({ height: `calc(100% - ${s2.rowHeight}px)` }) }, toDisplayString(s2.placeholder), 5)) : createCommentVNode("v-if", true)], 4), s2.paginated ? (openBlock(), createElementBlock("div", { key: 0, class: "bimdata-table__page-nav", style: normalizeStyle({ visibility: s2.rows.length > s2.perPage ? "visible" : "hidden" }) }, [createVNode(S2, { ghost: "", rounded: "", icon: "", disabled: f2.pageStartIndex === 1, onClick: c2[0] || (c2[0] = (n) => f2.pageIndex--) }, { default: withCtx(() => [createVNode(A2, { size: "s", rotate: 180 })]), _: 1 }, 8, ["disabled"]), createElementVNode("span", Z, toDisplayString(`${f2.pageStartIndex} - ${f2.pageEndIndex} of ${s2.rows.length}`), 1), createVNode(S2, { ghost: "", rounded: "", icon: "", disabled: f2.pageEndIndex === s2.rows.length, onClick: c2[1] || (c2[1] = (n) => f2.pageIndex++) }, { default: withCtx(() => [createVNode(A2, { size: "s" })]), _: 1 }, 8, ["disabled"])], 4)) : createCommentVNode("v-if", true)]);
4796
4828
  }, P.__scopeId = "data-v-a29e0786", P.__file = "src/BIMDataComponents/BIMDataTable/BIMDataTable.vue";
4797
- var BcfTopicActionsCell_scss_vue_type_style_index_0_src_scoped_true_lang = "";
4798
- const _sfc_main$3 = {
4829
+ var BcfTopicActionsCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4830
+ const _sfc_main$4 = {
4799
4831
  components: {
4800
4832
  BIMDataButton: l
4801
4833
  },
@@ -4809,25 +4841,61 @@ const _sfc_main$3 = {
4809
4841
  "open-bcf-topic"
4810
4842
  ]
4811
4843
  };
4812
- const _hoisted_1 = { class: "bcf-topic-actions-cell" };
4813
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
4844
+ const _hoisted_1$1 = { class: "bcf-topic-actions-cell" };
4845
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
4846
+ const _component_BIMDataIcon = resolveComponent("BIMDataIcon");
4814
4847
  const _component_BIMDataButton = resolveComponent("BIMDataButton");
4815
- return openBlock(), createElementBlock("div", _hoisted_1, [
4848
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [
4816
4849
  createVNode(_component_BIMDataButton, {
4817
4850
  color: "primary",
4818
4851
  outline: "",
4819
4852
  radius: "",
4853
+ icon: "",
4820
4854
  onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("open-bcf-topic", $props.bcfTopic))
4821
4855
  }, {
4822
4856
  default: withCtx(() => [
4823
- createTextVNode(toDisplayString(_ctx.$t("BcfComponents.BcfTopicActionsCell.seeButton")), 1)
4857
+ createVNode(_component_BIMDataIcon, {
4858
+ name: "show",
4859
+ size: "xs"
4860
+ })
4824
4861
  ]),
4825
4862
  _: 1
4826
4863
  })
4827
4864
  ]);
4828
4865
  }
4829
- var BcfTopicActionsCell = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-4e8d8704"]]);
4830
- var BcfTopicPriorityCell_scss_vue_type_style_index_0_src_scoped_true_lang = "";
4866
+ var BcfTopicActionsCell = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-fe159426"]]);
4867
+ var BcfTopicIndexCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4868
+ const _sfc_main$3 = {
4869
+ props: {
4870
+ bcfTopic: {
4871
+ type: Object,
4872
+ required: true
4873
+ },
4874
+ detailedExtensions: {
4875
+ type: Object,
4876
+ required: true
4877
+ }
4878
+ },
4879
+ setup(props) {
4880
+ const priorityColor = computed(() => getPriorityColor(props.bcfTopic, props.detailedExtensions));
4881
+ return {
4882
+ priorityColor
4883
+ };
4884
+ }
4885
+ };
4886
+ const _hoisted_1 = { class: "bcf-topic-index-cell" };
4887
+ const _hoisted_2 = { class: "index" };
4888
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
4889
+ return openBlock(), createElementBlock("div", _hoisted_1, [
4890
+ createElementVNode("span", {
4891
+ class: "left-stripe",
4892
+ style: normalizeStyle({ backgroundColor: `#${$setup.priorityColor}` })
4893
+ }, null, 4),
4894
+ createElementVNode("span", _hoisted_2, toDisplayString($props.bcfTopic.index), 1)
4895
+ ]);
4896
+ }
4897
+ var BcfTopicIndexCell = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-73373bfa"]]);
4898
+ var BcfTopicPriorityCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4831
4899
  const _sfc_main$2 = {
4832
4900
  props: {
4833
4901
  bcfTopic: {
@@ -4840,15 +4908,7 @@ const _sfc_main$2 = {
4840
4908
  }
4841
4909
  },
4842
4910
  setup(props) {
4843
- const priorityColor = computed(() => {
4844
- if (props.bcfTopic.priority) {
4845
- const priorityDetail = props.detailedExtensions.priorities.find((priority) => priority.priority === props.bcfTopic.priority);
4846
- if (priorityDetail == null ? void 0 : priorityDetail.color) {
4847
- return `#${priorityDetail.color}`;
4848
- }
4849
- }
4850
- return `#${DEFAULT_PRIORITY_COLOR}`;
4851
- });
4911
+ const priorityColor = computed(() => getPriorityColor(props.bcfTopic, props.detailedExtensions));
4852
4912
  return {
4853
4913
  priorityColor
4854
4914
  };
@@ -4857,11 +4917,11 @@ const _sfc_main$2 = {
4857
4917
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
4858
4918
  return openBlock(), createElementBlock("span", {
4859
4919
  class: "bcf-topic-priority-cell",
4860
- style: normalizeStyle({ color: $setup.priorityColor })
4920
+ style: normalizeStyle({ color: `#${$setup.priorityColor}` })
4861
4921
  }, toDisplayString($props.bcfTopic.priority || _ctx.$t("BcfComponents.BcfTopicPriorityCell.noPriority")), 5);
4862
4922
  }
4863
- var BcfTopicPriorityCell = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-4584461c"]]);
4864
- var BcfTopicStatusCell_scss_vue_type_style_index_0_src_scoped_true_lang = "";
4923
+ var BcfTopicPriorityCell = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-7be782b8"]]);
4924
+ var BcfTopicStatusCell_vue_vue_type_style_index_0_scoped_true_lang = "";
4865
4925
  const _sfc_main$1 = {
4866
4926
  props: {
4867
4927
  bcfTopic: {
@@ -4874,15 +4934,7 @@ const _sfc_main$1 = {
4874
4934
  }
4875
4935
  },
4876
4936
  setup(props) {
4877
- const statusColor = computed(() => {
4878
- if (props.bcfTopic.topic_status) {
4879
- const statusDetail = props.detailedExtensions.topic_statuses.find((status) => status.topic_status === props.bcfTopic.topic_status);
4880
- if (statusDetail == null ? void 0 : statusDetail.color) {
4881
- return `#${statusDetail.color}`;
4882
- }
4883
- }
4884
- return `#${DEFAULT_STATUS_COLOR}`;
4885
- });
4937
+ const statusColor = computed(() => getStatusColor(props.bcfTopic, props.detailedExtensions));
4886
4938
  return {
4887
4939
  statusColor,
4888
4940
  adjustTextColor
@@ -4893,15 +4945,16 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
4893
4945
  return openBlock(), createElementBlock("span", {
4894
4946
  class: "bcf-topic-status-cell",
4895
4947
  style: normalizeStyle({
4896
- backgroundColor: $setup.statusColor,
4948
+ backgroundColor: `#${$setup.statusColor}`,
4897
4949
  color: $setup.adjustTextColor($setup.statusColor, "#ffffff", "var(--color-text)")
4898
4950
  })
4899
- }, toDisplayString($props.bcfTopic.topicStatus), 5);
4951
+ }, toDisplayString($props.bcfTopic.topic_status), 5);
4900
4952
  }
4901
- var BcfTopicStatusCell = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-6593bfc4"]]);
4953
+ var BcfTopicStatusCell = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-a51b4af6"]]);
4902
4954
  const _sfc_main = {
4903
4955
  components: {
4904
4956
  BcfTopicActionsCell,
4957
+ BcfTopicIndexCell,
4905
4958
  BcfTopicPriorityCell,
4906
4959
  BcfTopicStatusCell,
4907
4960
  BIMDataTable: P,
@@ -4935,11 +4988,13 @@ const _sfc_main = {
4935
4988
  setup(props) {
4936
4989
  const displayedColumns = computed(() => props.columns && props.columns.length > 0 ? columnsDef.filter((c2) => props.columns.includes(c2.id)) : columnsDef);
4937
4990
  return {
4938
- displayedColumns
4991
+ displayedColumns,
4992
+ deserializeShort
4939
4993
  };
4940
4994
  }
4941
4995
  };
4942
4996
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4997
+ const _component_BcfTopicIndexCell = resolveComponent("BcfTopicIndexCell");
4943
4998
  const _component_BcfTopicPriorityCell = resolveComponent("BcfTopicPriorityCell");
4944
4999
  const _component_BcfTopicStatusCell = resolveComponent("BcfTopicStatusCell");
4945
5000
  const _component_BIMDataTextbox = resolveComponent("BIMDataTextbox");
@@ -4948,7 +5003,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4948
5003
  const _component_BIMDataTable = resolveComponent("BIMDataTable");
4949
5004
  return openBlock(), createBlock(_component_BIMDataTable, {
4950
5005
  class: "bcf-topics-table",
4951
- columns: $setup.displayedColumns,
5006
+ columns: $setup.displayedColumns.map((col) => __spreadProps(__spreadValues({}, col), {
5007
+ label: col.label || _ctx.$t(`BcfComponents.BcfTopicsTable.headers.${col.id}`)
5008
+ })),
4952
5009
  rows: $props.bcfTopics,
4953
5010
  rowKey: "guid",
4954
5011
  paginated: $props.paginated,
@@ -4956,7 +5013,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4956
5013
  rowHeight: 42
4957
5014
  }, {
4958
5015
  "cell-index": withCtx(({ row: bcfTopic }) => [
4959
- createTextVNode(toDisplayString(bcfTopic.index), 1)
5016
+ createVNode(_component_BcfTopicIndexCell, {
5017
+ bcfTopic,
5018
+ detailedExtensions: $props.detailedExtensions
5019
+ }, null, 8, ["bcfTopic", "detailedExtensions"])
4960
5020
  ]),
4961
5021
  "cell-priority": withCtx(({ row: bcfTopic }) => [
4962
5022
  createVNode(_component_BcfTopicPriorityCell, {
@@ -4977,20 +5037,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
4977
5037
  text: bcfTopic.title
4978
5038
  }, null, 8, ["text"])
4979
5039
  ]),
4980
- "cell-creator": withCtx(({ row: { creator, creation_author } }) => [
4981
- creator ? (openBlock(), createBlock(_component_UserAvatar, {
4982
- key: 0,
4983
- user: creator,
5040
+ "cell-creator": withCtx(({ row: { creator } }) => [
5041
+ createVNode(_component_UserAvatar, {
5042
+ user: creator || {},
4984
5043
  size: 30,
5044
+ color: "silver-light",
4985
5045
  style: { "margin": "auto" }
4986
- }, null, 8, ["user"])) : (openBlock(), createBlock(_component_BIMDataTextbox, {
4987
- key: 1,
4988
- maxWidth: "120px",
4989
- text: creation_author
4990
- }, null, 8, ["text"]))
5046
+ }, null, 8, ["user"])
4991
5047
  ]),
4992
5048
  "cell-date": withCtx(({ row: bcfTopic }) => [
4993
- createTextVNode(toDisplayString(_ctx.$d(bcfTopic.creation_date, "short")), 1)
5049
+ createTextVNode(toDisplayString($setup.deserializeShort(bcfTopic.creationDate)), 1)
4994
5050
  ]),
4995
5051
  "cell-actions": withCtx(({ row: bcfTopic }) => [
4996
5052
  createVNode(_component_BcfTopicActionsCell, {
@@ -5012,4 +5068,4 @@ const components = {
5012
5068
  BcfTopicOverview,
5013
5069
  BcfTopicsTable
5014
5070
  };
5015
- export { BcfFilters, BcfSettings, BcfStatistics, BcfTopicCard, BcfTopicCreationCard, BcfTopicForm, BcfTopicOverview, BcfTopicsTable, components, setApiClient, useBcfFilter, useBcfSearch, useBcfSort };
5071
+ export { BcfFilters, BcfSettings, BcfStatistics, BcfTopicCard, BcfTopicCreationCard, BcfTopicForm, BcfTopicOverview, BcfTopicsTable, components, getPriorityColor, getStatusColor, setApiClient, useBcfFilter, useBcfSearch, useBcfSort };