@bagelink/vue 0.0.1064 → 0.0.1066

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../src/components/Image.vue"],"names":[],"mappings":"AA4GA,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,QAAQ,EAAE,GAAG,CAAA;KACb;CACD;AAED,KAAK,WAAW,GAAG;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;;AA2IF,wBAMG"}
1
+ {"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../src/components/Image.vue"],"names":[],"mappings":"AA2GA,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,QAAQ,EAAE,GAAG,CAAA;KACb;CACD;AAED,KAAK,WAAW,GAAG;IAClB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,CAAA;CAChB,CAAC;;AA0IF,wBAMG"}
package/dist/index.cjs CHANGED
@@ -19389,8 +19389,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19389
19389
  },
19390
19390
  setup(__props) {
19391
19391
  let imageSrc = vue.ref(null);
19392
- const bagel = useBagel();
19393
- const fileBaseUrl = vue.computed(() => (bagel.fileBaseUrl || "https://files.bagel.design").replace(/\/$/, ""));
19392
+ const fileBaseUrl = vue.computed(() => "https://files.bagel.design".replace(/\/$/, ""));
19394
19393
  const pathToUrl = () => `${fileBaseUrl.value}/${__props.pathKey}`;
19395
19394
  async function loadImage() {
19396
19395
  var _a2;
@@ -19469,7 +19468,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
19469
19468
  };
19470
19469
  }
19471
19470
  });
19472
- const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1610fc13"]]);
19471
+ const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-3aff6eb2"]]);
19473
19472
  const _hoisted_1$y = { class: "bagel-input" };
19474
19473
  const _hoisted_2$n = {
19475
19474
  key: 0,
package/dist/index.mjs CHANGED
@@ -19387,8 +19387,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
19387
19387
  },
19388
19388
  setup(__props) {
19389
19389
  let imageSrc = ref(null);
19390
- const bagel = useBagel();
19391
- const fileBaseUrl = computed(() => (bagel.fileBaseUrl || "https://files.bagel.design").replace(/\/$/, ""));
19390
+ const fileBaseUrl = computed(() => "https://files.bagel.design".replace(/\/$/, ""));
19392
19391
  const pathToUrl = () => `${fileBaseUrl.value}/${__props.pathKey}`;
19393
19392
  async function loadImage() {
19394
19393
  var _a2;
@@ -19467,7 +19466,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
19467
19466
  };
19468
19467
  }
19469
19468
  });
19470
- const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1610fc13"]]);
19469
+ const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-3aff6eb2"]]);
19471
19470
  const _hoisted_1$y = { class: "bagel-input" };
19472
19471
  const _hoisted_2$n = {
19473
19472
  key: 0,
package/dist/style.css CHANGED
@@ -859,7 +859,7 @@ pre code.hljs{
859
859
  }
860
860
  }
861
861
 
862
- .img-web-kit[data-v-1610fc13] {
862
+ .img-web-kit[data-v-3aff6eb2] {
863
863
  max-width: 100%;
864
864
  vertical-align: middle;
865
865
  border: 0;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.1064",
4
+ "version": "0.0.1066",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -1,5 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { Skeleton, normalizeDimension, appendScript, useBagel } from '@bagelink/vue'
2
+ import { Skeleton, normalizeDimension, appendScript } from '@bagelink/vue'
3
3
  import { watch } from 'vue'
4
4
 
5
5
  declare global {
@@ -19,8 +19,7 @@ const { height, width, alt = '', src, pathKey } = defineProps<{
19
19
 
20
20
  let imageSrc = $ref<string | null>(null)
21
21
 
22
- const bagel = useBagel()
23
- const fileBaseUrl = $computed(() => (bagel.fileBaseUrl || 'https://files.bagel.design').replace(/\/$/, ''))
22
+ const fileBaseUrl = $computed(() => ('https://files.bagel.design').replace(/\/$/, ''))
24
23
  const pathToUrl = () => `${fileBaseUrl}/${pathKey}`
25
24
 
26
25
  async function loadImage() {