ablok-components 0.1.81 → 0.1.83

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.
@@ -22394,6 +22394,10 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
22394
22394
  default: ""
22395
22395
  },
22396
22396
  customFetch: null,
22397
+ baseResponsePath: {
22398
+ type: String,
22399
+ default: "/media"
22400
+ },
22397
22401
  previewWidth: {
22398
22402
  type: Number,
22399
22403
  default: 0
@@ -22438,7 +22442,8 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
22438
22442
  "custom-fetch": t.customFetch,
22439
22443
  "to-data-url": !t.endpoint,
22440
22444
  "auth-token": t.authToken,
22441
- disabled: t.disabled
22445
+ disabled: t.disabled,
22446
+ "base-response-path": t.baseResponsePath
22442
22447
  }, {
22443
22448
  button: Pr(() => [
22444
22449
  N("span", SN, [
@@ -22446,7 +22451,7 @@ const QN = { class: "upload-group" }, vN = ["innerHTML"], EN = { class: "row" },
22446
22451
  ])
22447
22452
  ]),
22448
22453
  _: 1
22449
- }, 8, ["src", "endpoint", "custom-fetch", "to-data-url", "auth-token", "disabled"])
22454
+ }, 8, ["src", "endpoint", "custom-fetch", "to-data-url", "auth-token", "disabled", "base-response-path"])
22450
22455
  ])
22451
22456
  ])
22452
22457
  ]);
@@ -22510,6 +22515,10 @@ const xN = { class: "upload-group" }, HN = ["innerHTML"], wG = /* @__PURE__ */ J
22510
22515
  /* Image */
22511
22516
  })
22512
22517
  },
22518
+ baseResponsePath: {
22519
+ type: String,
22520
+ default: "/media"
22521
+ },
22513
22522
  previewWidth: {
22514
22523
  type: Number,
22515
22524
  default: 0
@@ -22525,7 +22534,7 @@ const xN = { class: "upload-group" }, HN = ["innerHTML"], wG = /* @__PURE__ */ J
22525
22534
  A("update:modelValue", r.map(
22526
22535
  (i, s) => ({
22527
22536
  mediaType: e.modelValue[s] && e.modelValue[s].mediaType || i.includes("data:image") ? i.includes("data:image/svg") ? "Svg" : "Image" : e.mediaTypeMap[i.split(".")[1]],
22528
- src: i instanceof Object ? `/media/${i.path}` : i,
22537
+ src: i,
22529
22538
  name: e.modelValue[s] && e.modelValue[s].name || `${e.name}-${s}`,
22530
22539
  ...e.type ? { type: e.type } : {}
22531
22540
  })
@@ -22541,8 +22550,9 @@ const xN = { class: "upload-group" }, HN = ["innerHTML"], wG = /* @__PURE__ */ J
22541
22550
  "custom-fetch": t.customFetch,
22542
22551
  "auth-token": t.authToken,
22543
22552
  disabled: t.disabled,
22544
- "preview-width": t.previewWidth
22545
- }, null, 8, ["modelValue", "endpoint", "custom-fetch", "auth-token", "disabled", "preview-width"])
22553
+ "preview-width": t.previewWidth,
22554
+ "base-response-path": t.baseResponsePath
22555
+ }, null, 8, ["modelValue", "endpoint", "custom-fetch", "auth-token", "disabled", "preview-width", "base-response-path"])
22546
22556
  ]));
22547
22557
  }
22548
22558
  });
@@ -27742,7 +27752,10 @@ const QG = /* @__PURE__ */ JA({
27742
27752
  type: String,
27743
27753
  default: ""
27744
27754
  },
27745
- subject: String,
27755
+ subject: {
27756
+ type: String,
27757
+ default: ""
27758
+ },
27746
27759
  hashtags: Array,
27747
27760
  text: {
27748
27761
  type: String,
@@ -27756,12 +27769,12 @@ const QG = /* @__PURE__ */ JA({
27756
27769
  type: Object,
27757
27770
  default: {
27758
27771
  facebook: !0,
27759
- twitter: !0,
27760
27772
  instagram: !0,
27761
27773
  linkedin: !0,
27762
27774
  whatsapp: !0,
27763
27775
  mailto: !0,
27764
- clipboard: !0
27776
+ clipboard: !0,
27777
+ x: !0
27765
27778
  }
27766
27779
  }
27767
27780
  },
@@ -27800,15 +27813,15 @@ const QG = /* @__PURE__ */ JA({
27800
27813
  N("span", bV, Fe(a.$t("sharing.facebook")), 1)
27801
27814
  ], 8, UV)
27802
27815
  ])) : xe("", !0),
27803
- t.services.twitter ? (rA(), iA("div", IV, [
27816
+ t.services.x ? (rA(), iA("div", IV, [
27804
27817
  N("a", {
27805
27818
  class: "link-sharing__link btn btn-primary",
27806
- href: `https://twitter.com/share?text=${t.subject}&url=${z(n)}`,
27819
+ href: `https://x.com/share?text=${t.subject}&url=${z(n)}`,
27807
27820
  target: "_blank",
27808
27821
  rel: "noopener"
27809
27822
  }, [
27810
- VA(c, { symbol: "twitter" }),
27811
- N("span", TV, Fe(a.$t("sharing.twitter")), 1)
27823
+ VA(c, { symbol: "x" }),
27824
+ N("span", TV, Fe(a.$t("sharing.x")), 1)
27812
27825
  ], 8, SV)
27813
27826
  ])) : xe("", !0),
27814
27827
  t.services.instagram ? (rA(), iA("div", xV, [