@everchron/ec-shards 9.6.2 → 9.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ec-shards.js CHANGED
@@ -8713,7 +8713,7 @@ const Wf = /* @__PURE__ */ v(Nf, [["render", qf], ["__scopeId", "data-v-85fef203
8713
8713
  data() {
8714
8714
  return {
8715
8715
  localSettings: JSON.parse(JSON.stringify(this.settings)),
8716
- selectedDocumentSummaryTemplate: null,
8716
+ selectedDocumentSummaryTemplateId: null,
8717
8717
  ecaiLogo: jf,
8718
8718
  showSkippedDocuments: !1
8719
8719
  };
@@ -8736,11 +8736,11 @@ const Wf = /* @__PURE__ */ v(Nf, [["render", qf], ["__scopeId", "data-v-85fef203
8736
8736
  },
8737
8737
  methods: {
8738
8738
  initializeData() {
8739
- var e;
8740
- this.selectedDocumentSummaryTemplate = ((e = this.localSettings.documentSummaryTemplates.find((s) => s.selected)) == null ? void 0 : e.name) || null;
8739
+ const e = this.localSettings.documentSummaryTemplates.find((s) => s.selected);
8740
+ this.selectedDocumentSummaryTemplateId = e ? e.id : null;
8741
8741
  },
8742
8742
  updateGenerateDocumentSummary(e) {
8743
- this.localSettings.generateDocumentSummary = e, e || (this.selectedDocumentSummaryTemplate = null);
8743
+ this.localSettings.generateDocumentSummary = e, e || (this.selectedDocumentSummaryTemplateId = null);
8744
8744
  },
8745
8745
  generate() {
8746
8746
  this.emitSettings(), this.$emit("generate"), this.closePopover();
@@ -8757,14 +8757,14 @@ const Wf = /* @__PURE__ */ v(Nf, [["render", qf], ["__scopeId", "data-v-85fef203
8757
8757
  },
8758
8758
  emitSettings() {
8759
8759
  this.localSettings.documentSummaryTemplates.forEach((e) => {
8760
- e.selected = e.id === this.selectedDocumentSummaryTemplate;
8760
+ e.selected = e.id === this.selectedDocumentSummaryTemplateId;
8761
8761
  }), this.$emit("update:settings", JSON.parse(JSON.stringify(this.localSettings)));
8762
8762
  },
8763
8763
  emitOpened() {
8764
8764
  this.$emit("opened");
8765
8765
  }
8766
8766
  }
8767
- }, yt = (e) => (fe("data-v-265f6d74"), e = e(), me(), e), Gf = { class: "ecs-ecai-select-button" }, Kf = { class: "ecai-content" }, Yf = { class: "ecai-inner-content" }, Zf = /* @__PURE__ */ yt(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), Xf = /* @__PURE__ */ yt(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), Jf = /* @__PURE__ */ yt(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), Qf = [
8767
+ }, yt = (e) => (fe("data-v-b8311da5"), e = e(), me(), e), Gf = { class: "ecs-ecai-select-button" }, Kf = { class: "ecai-content" }, Yf = { class: "ecai-inner-content" }, Zf = /* @__PURE__ */ yt(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), Xf = /* @__PURE__ */ yt(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), Jf = /* @__PURE__ */ yt(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), Qf = [
8768
8768
  Zf,
8769
8769
  Xf,
8770
8770
  Jf
@@ -8845,14 +8845,14 @@ function lm(e, s, t, a, n, i) {
8845
8845
  _: 1
8846
8846
  }),
8847
8847
  _(I, {
8848
- modelValue: n.selectedDocumentSummaryTemplate,
8849
- "onUpdate:modelValue": s[0] || (s[0] = ($) => n.selectedDocumentSummaryTemplate = $),
8848
+ modelValue: n.selectedDocumentSummaryTemplateId,
8849
+ "onUpdate:modelValue": s[0] || (s[0] = ($) => n.selectedDocumentSummaryTemplateId = $),
8850
8850
  "data-test": "ecai-select-summary-format"
8851
8851
  }, {
8852
8852
  default: C(() => [
8853
8853
  (o(!0), l(j, null, ee(n.localSettings.documentSummaryTemplates, ($) => (o(), l("option", {
8854
- key: $.name,
8855
- value: $.name
8854
+ key: $.id,
8855
+ value: $.id
8856
8856
  }, w($.name), 9, sm))), 128))
8857
8857
  ]),
8858
8858
  _: 1
@@ -8967,7 +8967,7 @@ function lm(e, s, t, a, n, i) {
8967
8967
  _: 1
8968
8968
  }, 8, ["onHidden", "onShown"]);
8969
8969
  }
8970
- const zb = /* @__PURE__ */ v(Uf, [["render", lm], ["__scopeId", "data-v-265f6d74"]]), cm = {
8970
+ const zb = /* @__PURE__ */ v(Uf, [["render", lm], ["__scopeId", "data-v-b8311da5"]]), cm = {
8971
8971
  name: "ecs-entry-link",
8972
8972
  emits: ["linkClick", "linkClickExternal", "moreClick"],
8973
8973
  components: {