matrix_components 2.0.353 → 2.0.356

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.
@@ -76960,14 +76960,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76960
76960
  onClick: showPreviewHander
76961
76961
  }), {
76962
76962
  error: withCtx(() => [
76963
- renderSlot(_ctx.$slots, "default", {}, () => [
76964
- createElementVNode("img", {
76965
- src: unref(EmptyPng),
76966
- style: { "width": "100%", "height": "100%" },
76967
- onClick: _cache[0] || (_cache[0] = withModifiers(() => {
76968
- }, ["stop"]))
76969
- }, null, 8, _hoisted_1)
76970
- ], true)
76963
+ createElementVNode("div", {
76964
+ class: "error-view",
76965
+ onClick: _cache[1] || (_cache[1] = withModifiers(() => {
76966
+ }, ["stop"]))
76967
+ }, [
76968
+ renderSlot(_ctx.$slots, "default", {}, () => [
76969
+ createElementVNode("img", {
76970
+ src: unref(EmptyPng),
76971
+ class: "error-img",
76972
+ style: { "max-width": "150px", "height": "auto" },
76973
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
76974
+ }, ["stop"]))
76975
+ }, null, 8, _hoisted_1)
76976
+ ], true)
76977
+ ])
76971
76978
  ]),
76972
76979
  _: 3
76973
76980
  }, 16, ["src"]),
@@ -76976,13 +76983,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76976
76983
  key: 0,
76977
76984
  "show-progress": "",
76978
76985
  "url-list": [_url.value],
76979
- onClose: _cache[1] || (_cache[1] = ($event) => showPreview.value = false)
76986
+ onClose: _cache[4] || (_cache[4] = ($event) => showPreview.value = false)
76980
76987
  }, {
76981
76988
  "viewer-error": withCtx(() => [
76982
- createElementVNode("img", {
76983
- src: unref(EmptyPng),
76984
- style: { "width": "100%", "height": "100%" }
76985
- }, null, 8, _hoisted_2)
76989
+ createElementVNode("div", {
76990
+ class: "error-view",
76991
+ onClick: _cache[3] || (_cache[3] = withModifiers(() => {
76992
+ }, ["stop"]))
76993
+ }, [
76994
+ createElementVNode("img", {
76995
+ src: unref(EmptyPng),
76996
+ class: "error-img",
76997
+ style: { "max-width": "150px", "height": "auto" },
76998
+ onClick: _cache[2] || (_cache[2] = withModifiers(() => {
76999
+ }, ["stop"]))
77000
+ }, null, 8, _hoisted_2)
77001
+ ])
76986
77002
  ]),
76987
77003
  _: 1
76988
77004
  }, 8, ["url-list"])) : createCommentVNode("", true)
@@ -76991,7 +77007,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76991
77007
  };
76992
77008
  }
76993
77009
  });
76994
- const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dbca2f62"]]);
77010
+ const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1f9fb3cf"]]);
76995
77011
  NsImage.install = (app2) => {
76996
77012
  app2.component(NsImage.name, NsImage);
76997
77013
  };