@everchron/ec-shards 9.15.11 → 9.15.12

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
@@ -9164,7 +9164,7 @@ const sm = /* @__PURE__ */ y(Xf, [["render", tm], ["__scopeId", "data-v-85fef203
9164
9164
  },
9165
9165
  computed: {
9166
9166
  anyAiActive() {
9167
- return this.localSettings.generateDocumentSummary || this.localSettings.extractData;
9167
+ return this.localSettings.generateSummaries || this.localSettings.extractData;
9168
9168
  }
9169
9169
  },
9170
9170
  watch: {
@@ -9186,8 +9186,12 @@ const sm = /* @__PURE__ */ y(Xf, [["render", tm], ["__scopeId", "data-v-85fef203
9186
9186
  const e = this.localSettings.documentSummaryTemplates.find((s) => s.selected);
9187
9187
  this.selectedDocumentSummaryTemplateId = e ? String(e.id) : null;
9188
9188
  },
9189
- updateGenerateDocumentSummary(e) {
9190
- this.localSettings.generateDocumentSummary = e, e || (this.selectedDocumentSummaryTemplateId = null), this.emitSettings();
9189
+ updateGenerateSummaries(e) {
9190
+ if (this.localSettings.generateSummaries = e, e && !this.selectedDocumentSummaryTemplateId) {
9191
+ const s = this.localSettings.documentSummaryTemplates.find((t) => t.selected);
9192
+ this.selectedDocumentSummaryTemplateId = String(s ? s.id : this.localSettings.documentSummaryTemplates[0].id);
9193
+ }
9194
+ this.emitSettings();
9191
9195
  },
9192
9196
  generate() {
9193
9197
  this.emitSettings(), this.$emit("generate"), this.closePopover();
@@ -9211,7 +9215,7 @@ const sm = /* @__PURE__ */ y(Xf, [["render", tm], ["__scopeId", "data-v-85fef203
9211
9215
  this.$emit("opened");
9212
9216
  }
9213
9217
  }
9214
- }, Ct = (e) => (ve("data-v-400ce1cb"), e = e(), ye(), e), am = { class: "ecs-ecai-select-button" }, om = { class: "ecai-content" }, lm = { class: "ecai-inner-content" }, rm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), cm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), dm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), um = [
9218
+ }, Ct = (e) => (ve("data-v-faa69b42"), e = e(), ye(), e), am = { class: "ecs-ecai-select-button" }, om = { class: "ecai-content" }, lm = { class: "ecai-inner-content" }, rm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), cm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), dm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), um = [
9215
9219
  rm,
9216
9220
  cm,
9217
9221
  dm
@@ -9268,10 +9272,10 @@ function _m(e, s, t, a, n, i) {
9268
9272
  ]),
9269
9273
  _: 1
9270
9274
  }),
9271
- !t.hideSwitch && n.localSettings.generateDocumentSummary !== null ? (o(), p(k, {
9275
+ !t.hideSwitch && n.localSettings.generateSummaries !== null ? (o(), p(k, {
9272
9276
  key: 0,
9273
- onInput: i.updateGenerateDocumentSummary,
9274
- value: n.localSettings.generateDocumentSummary,
9277
+ onInput: i.updateGenerateSummaries,
9278
+ value: n.localSettings.generateSummaries,
9275
9279
  size: "sml-toggle",
9276
9280
  "data-test": "ecai-select-generate-summaries"
9277
9281
  }, {
@@ -9280,7 +9284,7 @@ function _m(e, s, t, a, n, i) {
9280
9284
  ]),
9281
9285
  _: 1
9282
9286
  }, 8, ["onInput", "value"])) : u("", !0),
9283
- n.localSettings.generateDocumentSummary ? (o(), p(x, {
9287
+ n.localSettings.generateSummaries && n.localSettings.generateDocumentSummary ? (o(), p(x, {
9284
9288
  key: 1,
9285
9289
  class: v(["indent", { "no-padding": t.hideSwitch }])
9286
9290
  }, {
@@ -9304,23 +9308,23 @@ function _m(e, s, t, a, n, i) {
9304
9308
  }, C(T.name), 9, gm))), 128))
9305
9309
  ]),
9306
9310
  _: 1
9307
- }, 8, ["modelValue"]),
9308
- n.localSettings.generateTranscriptSummary ? (o(), p(b, {
9309
- key: 0,
9310
- gap: 2,
9311
- class: "transcript-summary-format"
9312
- }, {
9313
- default: w(() => [
9314
- pm,
9315
- A("Topic Summary ")
9316
- ]),
9317
- _: 1
9318
- })) : u("", !0)
9311
+ }, 8, ["modelValue"])
9319
9312
  ]),
9320
9313
  _: 1
9321
9314
  }, 8, ["class"])) : u("", !0),
9322
- n.localSettings.extractData !== null ? (o(), p(k, {
9315
+ n.localSettings.generateSummaries && n.localSettings.generateTranscriptSummary ? (o(), p(b, {
9323
9316
  key: 2,
9317
+ gap: 2,
9318
+ class: "transcript-summary-format"
9319
+ }, {
9320
+ default: w(() => [
9321
+ pm,
9322
+ A("Topic Summary ")
9323
+ ]),
9324
+ _: 1
9325
+ })) : u("", !0),
9326
+ n.localSettings.extractData !== null ? (o(), p(k, {
9327
+ key: 3,
9324
9328
  onInput: i.updateExtractData,
9325
9329
  value: n.localSettings.extractData,
9326
9330
  size: "sml-toggle",
@@ -9333,7 +9337,7 @@ function _m(e, s, t, a, n, i) {
9333
9337
  _: 1
9334
9338
  }, 8, ["onInput", "value"])) : u("", !0),
9335
9339
  n.localSettings.extractData ? (o(), p(x, {
9336
- key: 3,
9340
+ key: 4,
9337
9341
  class: "indent checkbox-group"
9338
9342
  }, {
9339
9343
  default: w(() => [
@@ -9417,7 +9421,7 @@ function _m(e, s, t, a, n, i) {
9417
9421
  _: 1
9418
9422
  }, 8, ["onHidden", "onShown"]);
9419
9423
  }
9420
- const a_ = /* @__PURE__ */ y(nm, [["render", _m], ["__scopeId", "data-v-400ce1cb"]]), km = {
9424
+ const a_ = /* @__PURE__ */ y(nm, [["render", _m], ["__scopeId", "data-v-faa69b42"]]), km = {
9421
9425
  name: "ecs-ecai-wrapper",
9422
9426
  components: { EcsIcon: L },
9423
9427
  props: {