@everchron/ec-shards 9.22.4 → 9.22.6

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
@@ -156,7 +156,7 @@ const D = /* @__PURE__ */ y(xi, [["render", Bi], ["__scopeId", "data-v-8d624905"
156
156
  },
157
157
  methods: {
158
158
  dismiss() {
159
- this.dismissed = !0;
159
+ this.dismissed = !0, this.$emit("dismissed");
160
160
  }
161
161
  }
162
162
  }, zi = ["title"], Ei = { class: "ecs-alert-inner" }, Ti = {
@@ -215,7 +215,7 @@ function Mi(e, s, t, a, n, i) {
215
215
  ])) : u("", !0)
216
216
  ], 6)) : u("", !0);
217
217
  }
218
- const Ms = /* @__PURE__ */ y(Ii, [["render", Mi], ["__scopeId", "data-v-3f45e314"]]), $i = {
218
+ const Ms = /* @__PURE__ */ y(Ii, [["render", Mi], ["__scopeId", "data-v-01cb9100"]]), $i = {
219
219
  name: "ecs-action-toolbar"
220
220
  }, Ai = {
221
221
  class: "ecs-action-toolbar",
@@ -9300,6 +9300,11 @@ const yg = /* @__PURE__ */ y(fg, [["render", vg], ["__scopeId", "data-v-85fef203
9300
9300
  placement: {
9301
9301
  type: String,
9302
9302
  default: "auto"
9303
+ },
9304
+ /** Feature Flag for Metadata Extraction */
9305
+ aiMetadataExtractionEnabled: {
9306
+ type: Boolean,
9307
+ default: !1
9303
9308
  }
9304
9309
  },
9305
9310
  data() {
@@ -9363,7 +9368,7 @@ const yg = /* @__PURE__ */ y(fg, [["render", vg], ["__scopeId", "data-v-85fef203
9363
9368
  this.$emit("opened");
9364
9369
  }
9365
9370
  }
9366
- }, Ct = (e) => (ve("data-v-97371bec"), e = e(), ye(), e), kg = { class: "ecs-ecai-select-button" }, Cg = { class: "ecai-content" }, wg = { class: "ecai-inner-content" }, Sg = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), xg = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), Bg = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), Ig = [
9371
+ }, Ct = (e) => (ve("data-v-91c51200"), e = e(), ye(), e), kg = { class: "ecs-ecai-select-button" }, Cg = { class: "ecai-content" }, wg = { class: "ecai-inner-content" }, Sg = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), xg = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), Bg = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), Ig = [
9367
9372
  Sg,
9368
9373
  xg,
9369
9374
  Bg
@@ -9472,38 +9477,40 @@ function Vg(e, s, t, a, n, i) {
9472
9477
  ]),
9473
9478
  _: 1
9474
9479
  }, 8, ["class"])) : u("", !0),
9475
- n.localSettings.extractData !== null ? (o(), m(k, {
9476
- key: 3,
9477
- onInput: i.updateExtractData,
9478
- value: n.localSettings.extractData,
9479
- size: "sml-toggle",
9480
- class: "switch",
9481
- "data-test": "ecai-select-extract-metadata"
9482
- }, {
9483
- default: w(() => [
9484
- $("Extract Key Metadata")
9485
- ]),
9486
- _: 1
9487
- }, 8, ["onInput", "value"])) : u("", !0),
9488
- n.localSettings.extractData ? (o(), m(B, {
9489
- key: 4,
9490
- class: "indent checkbox-group"
9491
- }, {
9492
- default: w(() => [
9493
- (o(!0), r(H, null, Z(n.localSettings.extractDataOptions, (T) => (o(), m(M, {
9494
- key: T.name,
9495
- value: T.selected,
9496
- onInput: (R) => i.updateExtractDataOption(T.name, R),
9497
- "data-test": `ecai-select-extract-option-${T.name.toLowerCase().replace(" ", "-")}`
9498
- }, {
9499
- default: w(() => [
9500
- $(C(T.name), 1)
9501
- ]),
9502
- _: 2
9503
- }, 1032, ["value", "onInput", "data-test"]))), 128))
9504
- ]),
9505
- _: 1
9506
- })) : u("", !0)
9480
+ t.aiMetadataExtractionEnabled ? (o(), r(H, { key: 3 }, [
9481
+ n.localSettings.extractData !== null ? (o(), m(k, {
9482
+ key: 0,
9483
+ onInput: i.updateExtractData,
9484
+ value: n.localSettings.extractData,
9485
+ size: "sml-toggle",
9486
+ class: "switch",
9487
+ "data-test": "ecai-select-extract-metadata"
9488
+ }, {
9489
+ default: w(() => [
9490
+ $("Extract Key Metadata")
9491
+ ]),
9492
+ _: 1
9493
+ }, 8, ["onInput", "value"])) : u("", !0),
9494
+ n.localSettings.extractData ? (o(), m(B, {
9495
+ key: 1,
9496
+ class: "indent checkbox-group"
9497
+ }, {
9498
+ default: w(() => [
9499
+ (o(!0), r(H, null, Z(n.localSettings.extractDataOptions, (T) => (o(), m(M, {
9500
+ key: T.name,
9501
+ value: T.selected,
9502
+ onInput: (R) => i.updateExtractDataOption(T.name, R),
9503
+ "data-test": `ecai-select-extract-option-${T.name.toLowerCase().replace(" ", "-")}`
9504
+ }, {
9505
+ default: w(() => [
9506
+ $(C(T.name), 1)
9507
+ ]),
9508
+ _: 2
9509
+ }, 1032, ["value", "onInput", "data-test"]))), 128))
9510
+ ]),
9511
+ _: 1
9512
+ })) : u("", !0)
9513
+ ], 64)) : u("", !0)
9507
9514
  ]),
9508
9515
  i.anyAiActive && t.warnings.length > 0 ? (o(), m(b, {
9509
9516
  key: 1,
@@ -9576,7 +9583,7 @@ function Vg(e, s, t, a, n, i) {
9576
9583
  _: 1
9577
9584
  }, 8, ["onHidden", "onShown", "placement"]);
9578
9585
  }
9579
- const M_ = /* @__PURE__ */ y(_g, [["render", Vg], ["__scopeId", "data-v-97371bec"]]), Hg = {
9586
+ const M_ = /* @__PURE__ */ y(_g, [["render", Vg], ["__scopeId", "data-v-91c51200"]]), Hg = {
9580
9587
  name: "ecs-ecai-wrapper",
9581
9588
  components: { EcsIcon: L },
9582
9589
  props: {