@everchron/ec-shards 9.6.1 → 9.6.2

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
@@ -8703,6 +8703,11 @@ const Wf = /* @__PURE__ */ v(Nf, [["render", qf], ["__scopeId", "data-v-85fef203
8703
8703
  skippedDocuments: {
8704
8704
  type: Array,
8705
8705
  default: () => []
8706
+ },
8707
+ /** Determines if the switches should be hidden. */
8708
+ hideSwitch: {
8709
+ type: Boolean,
8710
+ default: !1
8706
8711
  }
8707
8712
  },
8708
8713
  data() {
@@ -8754,9 +8759,12 @@ const Wf = /* @__PURE__ */ v(Nf, [["render", qf], ["__scopeId", "data-v-85fef203
8754
8759
  this.localSettings.documentSummaryTemplates.forEach((e) => {
8755
8760
  e.selected = e.id === this.selectedDocumentSummaryTemplate;
8756
8761
  }), this.$emit("update:settings", JSON.parse(JSON.stringify(this.localSettings)));
8762
+ },
8763
+ emitOpened() {
8764
+ this.$emit("opened");
8757
8765
  }
8758
8766
  }
8759
- }, yt = (e) => (fe("data-v-55ac1144"), 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-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 = [
8760
8768
  Zf,
8761
8769
  Xf,
8762
8770
  Jf
@@ -8774,7 +8782,8 @@ function lm(e, s, t, a, n, i) {
8774
8782
  return o(), h(O, {
8775
8783
  ref: "popoverRef",
8776
8784
  class: "ecs-ecai-select",
8777
- onHidden: i.emitSettings
8785
+ onHidden: i.emitSettings,
8786
+ onShown: i.emitOpened
8778
8787
  }, {
8779
8788
  content: C(() => [
8780
8789
  f("div", Kf, [
@@ -8812,7 +8821,8 @@ function lm(e, s, t, a, n, i) {
8812
8821
  ]),
8813
8822
  _: 1
8814
8823
  }),
8815
- _(k, {
8824
+ !t.hideSwitch && n.localSettings.generateDocumentSummary !== null ? (o(), h(k, {
8825
+ key: 0,
8816
8826
  onInput: i.updateGenerateDocumentSummary,
8817
8827
  value: n.localSettings.generateDocumentSummary,
8818
8828
  size: "sml-toggle",
@@ -8822,10 +8832,10 @@ function lm(e, s, t, a, n, i) {
8822
8832
  A(" Generate AI Summaries ")
8823
8833
  ]),
8824
8834
  _: 1
8825
- }, 8, ["onInput", "value"]),
8835
+ }, 8, ["onInput", "value"])) : u("", !0),
8826
8836
  n.localSettings.generateDocumentSummary ? (o(), h(B, {
8827
- key: 0,
8828
- class: "indent"
8837
+ key: 1,
8838
+ class: y(["indent", { "no-padding": t.hideSwitch }])
8829
8839
  }, {
8830
8840
  default: C(() => [
8831
8841
  _(x, { type: "label" }, {
@@ -8860,8 +8870,9 @@ function lm(e, s, t, a, n, i) {
8860
8870
  })) : u("", !0)
8861
8871
  ]),
8862
8872
  _: 1
8863
- })) : u("", !0),
8864
- _(k, {
8873
+ }, 8, ["class"])) : u("", !0),
8874
+ n.localSettings.extractData !== null ? (o(), h(k, {
8875
+ key: 2,
8865
8876
  onInput: i.updateExtractData,
8866
8877
  value: n.localSettings.extractData,
8867
8878
  size: "sml-toggle",
@@ -8872,9 +8883,9 @@ function lm(e, s, t, a, n, i) {
8872
8883
  A("Automatically Extract Metadata")
8873
8884
  ]),
8874
8885
  _: 1
8875
- }, 8, ["onInput", "value"]),
8886
+ }, 8, ["onInput", "value"])) : u("", !0),
8876
8887
  n.localSettings.extractData ? (o(), h(B, {
8877
- key: 1,
8888
+ key: 3,
8878
8889
  class: "indent checkbox-group"
8879
8890
  }, {
8880
8891
  default: C(() => [
@@ -8954,9 +8965,9 @@ function lm(e, s, t, a, n, i) {
8954
8965
  ])
8955
8966
  ]),
8956
8967
  _: 1
8957
- }, 8, ["onHidden"]);
8968
+ }, 8, ["onHidden", "onShown"]);
8958
8969
  }
8959
- const zb = /* @__PURE__ */ v(Uf, [["render", lm], ["__scopeId", "data-v-55ac1144"]]), cm = {
8970
+ const zb = /* @__PURE__ */ v(Uf, [["render", lm], ["__scopeId", "data-v-265f6d74"]]), cm = {
8960
8971
  name: "ecs-entry-link",
8961
8972
  emits: ["linkClick", "linkClickExternal", "moreClick"],
8962
8973
  components: {