vant 4.8.3 → 4.8.5

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.
@@ -28,6 +28,8 @@ export declare const imageProps: {
28
28
  type: PropType<string>;
29
29
  default: string;
30
30
  };
31
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
32
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
31
33
  };
32
34
  export type ImageProps = ExtractPropTypes<typeof imageProps>;
33
35
  declare const _default: import("vue").DefineComponent<{
@@ -59,6 +61,8 @@ declare const _default: import("vue").DefineComponent<{
59
61
  type: PropType<string>;
60
62
  default: string;
61
63
  };
64
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
65
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
62
66
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "load")[], "error" | "load", import("vue").PublicProps, Readonly<ExtractPropTypes<{
63
67
  src: StringConstructor;
64
68
  alt: StringConstructor;
@@ -88,6 +92,8 @@ declare const _default: import("vue").DefineComponent<{
88
92
  type: PropType<string>;
89
93
  default: string;
90
94
  };
95
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
96
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
91
97
  }>> & {
92
98
  onLoad?: ((...args: any[]) => any) | undefined;
93
99
  onError?: ((...args: any[]) => any) | undefined;
@@ -19,7 +19,9 @@ const imageProps = {
19
19
  errorIcon: makeStringProp("photo-fail"),
20
20
  iconPrefix: String,
21
21
  showLoading: truthProp,
22
- loadingIcon: makeStringProp("photo")
22
+ loadingIcon: makeStringProp("photo"),
23
+ crossorigin: String,
24
+ referrerpolicy: String
23
25
  };
24
26
  var stdin_default = defineComponent({
25
27
  name,
@@ -102,7 +104,9 @@ var stdin_default = defineComponent({
102
104
  style: {
103
105
  objectFit: props.fit,
104
106
  objectPosition: props.position
105
- }
107
+ },
108
+ crossorigin: props.crossorigin,
109
+ referrerpolicy: props.referrerpolicy
106
110
  };
107
111
  if (props.lazyLoad) {
108
112
  return _withDirectives(_createVNode("img", _mergeProps({
@@ -27,6 +27,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
27
27
  type: import("vue").PropType<string>;
28
28
  default: string;
29
29
  };
30
+ crossorigin: import("vue").PropType<"" | "anonymous" | "use-credentials" | undefined>;
31
+ referrerpolicy: import("vue").PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
30
32
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "load")[], "error" | "load", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
33
  src: StringConstructor;
32
34
  alt: StringConstructor;
@@ -56,6 +58,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
56
58
  type: import("vue").PropType<string>;
57
59
  default: string;
58
60
  };
61
+ crossorigin: import("vue").PropType<"" | "anonymous" | "use-credentials" | undefined>;
62
+ referrerpolicy: import("vue").PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
59
63
  }>> & {
60
64
  onLoad?: ((...args: any[]) => any) | undefined;
61
65
  onError?: ((...args: any[]) => any) | undefined;
package/es/index.d.ts CHANGED
@@ -106,4 +106,4 @@ declare namespace _default {
106
106
  }
107
107
  export default _default;
108
108
  export function install(app: any): void;
109
- export const version: "4.8.3";
109
+ export const version: "4.8.5";
package/es/index.mjs CHANGED
@@ -99,7 +99,7 @@ import { Toast } from "./toast/index.mjs";
99
99
  import { TreeSelect } from "./tree-select/index.mjs";
100
100
  import { Uploader } from "./uploader/index.mjs";
101
101
  import { Watermark } from "./watermark/index.mjs";
102
- const version = "4.8.3";
102
+ const version = "4.8.5";
103
103
  function install(app) {
104
104
  const components = [
105
105
  ActionBar,
@@ -173,7 +173,7 @@ var stdin_default = defineComponent({
173
173
  "type": "delete",
174
174
  "onPress": onPress
175
175
  }, {
176
- delete: slots.delete
176
+ default: slots.delete
177
177
  }), _createVNode(NumberKeyboardKey, {
178
178
  "large": true,
179
179
  "text": props.closeButtonText,
@@ -31,7 +31,11 @@ var stdin_default = defineComponent({
31
31
  const onCancel = () => emit("cancel");
32
32
  const onConfirm = () => emit("confirm");
33
33
  const renderCancel = () => {
34
- const text = props.cancelButtonText || t("cancel");
34
+ var _a;
35
+ const text = (_a = props.cancelButtonText) != null ? _a : t("cancel");
36
+ if (!slots.cancel && !text) {
37
+ return;
38
+ }
35
39
  return _createVNode("button", {
36
40
  "type": "button",
37
41
  "class": [bem("cancel"), HAPTICS_FEEDBACK],
@@ -39,7 +43,11 @@ var stdin_default = defineComponent({
39
43
  }, [slots.cancel ? slots.cancel() : text]);
40
44
  };
41
45
  const renderConfirm = () => {
42
- const text = props.confirmButtonText || t("confirm");
46
+ var _a;
47
+ const text = (_a = props.confirmButtonText) != null ? _a : t("confirm");
48
+ if (!slots.confirm && !text) {
49
+ return;
50
+ }
43
51
  return _createVNode("button", {
44
52
  "type": "button",
45
53
  "class": [bem("confirm"), HAPTICS_FEEDBACK],
@@ -81,7 +81,7 @@ var stdin_default = defineComponent({
81
81
  if (container) {
82
82
  const containerRect = useRect(container);
83
83
  const difference = containerRect.bottom - offset.value - state.height;
84
- state.fixed = offset.value >= rootRect.top && containerRect.bottom > 0;
84
+ state.fixed = offset.value > rootRect.top && containerRect.bottom > 0;
85
85
  state.transform = difference < 0 ? difference : 0;
86
86
  } else {
87
87
  state.fixed = offset.value > rootRect.top;
@@ -28,6 +28,8 @@ export declare const imageProps: {
28
28
  type: PropType<string>;
29
29
  default: string;
30
30
  };
31
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
32
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
31
33
  };
32
34
  export type ImageProps = ExtractPropTypes<typeof imageProps>;
33
35
  declare const _default: import("vue").DefineComponent<{
@@ -59,6 +61,8 @@ declare const _default: import("vue").DefineComponent<{
59
61
  type: PropType<string>;
60
62
  default: string;
61
63
  };
64
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
65
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
62
66
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "load")[], "error" | "load", import("vue").PublicProps, Readonly<ExtractPropTypes<{
63
67
  src: StringConstructor;
64
68
  alt: StringConstructor;
@@ -88,6 +92,8 @@ declare const _default: import("vue").DefineComponent<{
88
92
  type: PropType<string>;
89
93
  default: string;
90
94
  };
95
+ crossorigin: PropType<"" | "anonymous" | "use-credentials" | undefined>;
96
+ referrerpolicy: PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
91
97
  }>> & {
92
98
  onLoad?: ((...args: any[]) => any) | undefined;
93
99
  onError?: ((...args: any[]) => any) | undefined;
@@ -42,7 +42,9 @@ const imageProps = {
42
42
  errorIcon: (0, import_utils.makeStringProp)("photo-fail"),
43
43
  iconPrefix: String,
44
44
  showLoading: import_utils.truthProp,
45
- loadingIcon: (0, import_utils.makeStringProp)("photo")
45
+ loadingIcon: (0, import_utils.makeStringProp)("photo"),
46
+ crossorigin: String,
47
+ referrerpolicy: String
46
48
  };
47
49
  var stdin_default = (0, import_vue2.defineComponent)({
48
50
  name,
@@ -125,7 +127,9 @@ var stdin_default = (0, import_vue2.defineComponent)({
125
127
  style: {
126
128
  objectFit: props.fit,
127
129
  objectPosition: props.position
128
- }
130
+ },
131
+ crossorigin: props.crossorigin,
132
+ referrerpolicy: props.referrerpolicy
129
133
  };
130
134
  if (props.lazyLoad) {
131
135
  return (0, import_vue.withDirectives)((0, import_vue.createVNode)("img", (0, import_vue.mergeProps)({
@@ -27,6 +27,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
27
27
  type: import("vue").PropType<string>;
28
28
  default: string;
29
29
  };
30
+ crossorigin: import("vue").PropType<"" | "anonymous" | "use-credentials" | undefined>;
31
+ referrerpolicy: import("vue").PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
30
32
  }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "load")[], "error" | "load", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
33
  src: StringConstructor;
32
34
  alt: StringConstructor;
@@ -56,6 +58,8 @@ export declare const Image: import("../utils").WithInstall<import("vue").DefineC
56
58
  type: import("vue").PropType<string>;
57
59
  default: string;
58
60
  };
61
+ crossorigin: import("vue").PropType<"" | "anonymous" | "use-credentials" | undefined>;
62
+ referrerpolicy: import("vue").PropType<("" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url") | undefined>;
59
63
  }>> & {
60
64
  onLoad?: ((...args: any[]) => any) | undefined;
61
65
  onError?: ((...args: any[]) => any) | undefined;
package/lib/index.d.ts CHANGED
@@ -106,4 +106,4 @@ declare namespace _default {
106
106
  }
107
107
  export default _default;
108
108
  export function install(app: any): void;
109
- export const version: "4.8.3";
109
+ export const version: "4.8.5";
package/lib/index.js CHANGED
@@ -226,7 +226,7 @@ __reExport(stdin_exports, require("./toast"), module.exports);
226
226
  __reExport(stdin_exports, require("./tree-select"), module.exports);
227
227
  __reExport(stdin_exports, require("./uploader"), module.exports);
228
228
  __reExport(stdin_exports, require("./watermark"), module.exports);
229
- const version = "4.8.3";
229
+ const version = "4.8.5";
230
230
  function install(app) {
231
231
  const components = [
232
232
  import_action_bar.ActionBar,
@@ -206,7 +206,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
206
206
  "type": "delete",
207
207
  "onPress": onPress
208
208
  }, {
209
- delete: slots.delete
209
+ default: slots.delete
210
210
  }), (0, import_vue.createVNode)(import_NumberKeyboardKey.default, {
211
211
  "large": true,
212
212
  "text": props.closeButtonText,
@@ -56,7 +56,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
56
56
  const onCancel = () => emit("cancel");
57
57
  const onConfirm = () => emit("confirm");
58
58
  const renderCancel = () => {
59
- const text = props.cancelButtonText || (0, import_utils.t)("cancel");
59
+ var _a;
60
+ const text = (_a = props.cancelButtonText) != null ? _a : (0, import_utils.t)("cancel");
61
+ if (!slots.cancel && !text) {
62
+ return;
63
+ }
60
64
  return (0, import_vue.createVNode)("button", {
61
65
  "type": "button",
62
66
  "class": [(0, import_utils.bem)("cancel"), import_utils2.HAPTICS_FEEDBACK],
@@ -64,7 +68,11 @@ var stdin_default = (0, import_vue2.defineComponent)({
64
68
  }, [slots.cancel ? slots.cancel() : text]);
65
69
  };
66
70
  const renderConfirm = () => {
67
- const text = props.confirmButtonText || (0, import_utils.t)("confirm");
71
+ var _a;
72
+ const text = (_a = props.confirmButtonText) != null ? _a : (0, import_utils.t)("confirm");
73
+ if (!slots.confirm && !text) {
74
+ return;
75
+ }
68
76
  return (0, import_vue.createVNode)("button", {
69
77
  "type": "button",
70
78
  "class": [(0, import_utils.bem)("confirm"), import_utils2.HAPTICS_FEEDBACK],
@@ -104,7 +104,7 @@ var stdin_default = (0, import_vue2.defineComponent)({
104
104
  if (container) {
105
105
  const containerRect = (0, import_use.useRect)(container);
106
106
  const difference = containerRect.bottom - offset.value - state.height;
107
- state.fixed = offset.value >= rootRect.top && containerRect.bottom > 0;
107
+ state.fixed = offset.value > rootRect.top && containerRect.bottom > 0;
108
108
  state.transform = difference < 0 ? difference : 0;
109
109
  } else {
110
110
  state.fixed = offset.value > rootRect.top;
package/lib/vant.cjs.js CHANGED
@@ -1929,7 +1929,11 @@ var stdin_default$1H = vue.defineComponent({
1929
1929
  const onCancel = () => emit("cancel");
1930
1930
  const onConfirm = () => emit("confirm");
1931
1931
  const renderCancel = () => {
1932
- const text = props2.cancelButtonText || t$k("cancel");
1932
+ var _a;
1933
+ const text = (_a = props2.cancelButtonText) != null ? _a : t$k("cancel");
1934
+ if (!slots.cancel && !text) {
1935
+ return;
1936
+ }
1933
1937
  return vue.createVNode("button", {
1934
1938
  "type": "button",
1935
1939
  "class": [bem$1u("cancel"), HAPTICS_FEEDBACK],
@@ -1937,7 +1941,11 @@ var stdin_default$1H = vue.defineComponent({
1937
1941
  }, [slots.cancel ? slots.cancel() : text]);
1938
1942
  };
1939
1943
  const renderConfirm = () => {
1940
- const text = props2.confirmButtonText || t$k("confirm");
1944
+ var _a;
1945
+ const text = (_a = props2.confirmButtonText) != null ? _a : t$k("confirm");
1946
+ if (!slots.confirm && !text) {
1947
+ return;
1948
+ }
1941
1949
  return vue.createVNode("button", {
1942
1950
  "type": "button",
1943
1951
  "class": [bem$1u("confirm"), HAPTICS_FEEDBACK],
@@ -2131,7 +2139,7 @@ var stdin_default$1G = vue.defineComponent({
2131
2139
  if (container) {
2132
2140
  const containerRect = use.useRect(container);
2133
2141
  const difference = containerRect.bottom - offset.value - state.height;
2134
- state.fixed = offset.value >= rootRect.top && containerRect.bottom > 0;
2142
+ state.fixed = offset.value > rootRect.top && containerRect.bottom > 0;
2135
2143
  state.transform = difference < 0 ? difference : 0;
2136
2144
  } else {
2137
2145
  state.fixed = offset.value > rootRect.top;
@@ -6978,7 +6986,9 @@ const imageProps = {
6978
6986
  errorIcon: makeStringProp("photo-fail"),
6979
6987
  iconPrefix: String,
6980
6988
  showLoading: truthProp,
6981
- loadingIcon: makeStringProp("photo")
6989
+ loadingIcon: makeStringProp("photo"),
6990
+ crossorigin: String,
6991
+ referrerpolicy: String
6982
6992
  };
6983
6993
  var stdin_default$1e = vue.defineComponent({
6984
6994
  name: name$15,
@@ -7061,7 +7071,9 @@ var stdin_default$1e = vue.defineComponent({
7061
7071
  style: {
7062
7072
  objectFit: props2.fit,
7063
7073
  objectPosition: props2.position
7064
- }
7074
+ },
7075
+ crossorigin: props2.crossorigin,
7076
+ referrerpolicy: props2.referrerpolicy
7065
7077
  };
7066
7078
  if (props2.lazyLoad) {
7067
7079
  return vue.withDirectives(vue.createVNode("img", vue.mergeProps({
@@ -12054,7 +12066,7 @@ var stdin_default$E = vue.defineComponent({
12054
12066
  "type": "delete",
12055
12067
  "onPress": onPress
12056
12068
  }, {
12057
- delete: slots.delete
12069
+ default: slots.delete
12058
12070
  }), vue.createVNode(stdin_default$F, {
12059
12071
  "large": true,
12060
12072
  "text": props2.closeButtonText,
@@ -16768,7 +16780,7 @@ const Lazyload = {
16768
16780
  });
16769
16781
  }
16770
16782
  };
16771
- const version = "4.8.3";
16783
+ const version = "4.8.5";
16772
16784
  function install(app) {
16773
16785
  const components = [
16774
16786
  ActionBar,
package/lib/vant.es.js CHANGED
@@ -1927,7 +1927,11 @@ var stdin_default$1H = defineComponent({
1927
1927
  const onCancel = () => emit("cancel");
1928
1928
  const onConfirm = () => emit("confirm");
1929
1929
  const renderCancel = () => {
1930
- const text = props2.cancelButtonText || t$k("cancel");
1930
+ var _a;
1931
+ const text = (_a = props2.cancelButtonText) != null ? _a : t$k("cancel");
1932
+ if (!slots.cancel && !text) {
1933
+ return;
1934
+ }
1931
1935
  return createVNode("button", {
1932
1936
  "type": "button",
1933
1937
  "class": [bem$1u("cancel"), HAPTICS_FEEDBACK],
@@ -1935,7 +1939,11 @@ var stdin_default$1H = defineComponent({
1935
1939
  }, [slots.cancel ? slots.cancel() : text]);
1936
1940
  };
1937
1941
  const renderConfirm = () => {
1938
- const text = props2.confirmButtonText || t$k("confirm");
1942
+ var _a;
1943
+ const text = (_a = props2.confirmButtonText) != null ? _a : t$k("confirm");
1944
+ if (!slots.confirm && !text) {
1945
+ return;
1946
+ }
1939
1947
  return createVNode("button", {
1940
1948
  "type": "button",
1941
1949
  "class": [bem$1u("confirm"), HAPTICS_FEEDBACK],
@@ -2129,7 +2137,7 @@ var stdin_default$1G = defineComponent({
2129
2137
  if (container) {
2130
2138
  const containerRect = useRect(container);
2131
2139
  const difference = containerRect.bottom - offset.value - state.height;
2132
- state.fixed = offset.value >= rootRect.top && containerRect.bottom > 0;
2140
+ state.fixed = offset.value > rootRect.top && containerRect.bottom > 0;
2133
2141
  state.transform = difference < 0 ? difference : 0;
2134
2142
  } else {
2135
2143
  state.fixed = offset.value > rootRect.top;
@@ -6976,7 +6984,9 @@ const imageProps = {
6976
6984
  errorIcon: makeStringProp("photo-fail"),
6977
6985
  iconPrefix: String,
6978
6986
  showLoading: truthProp,
6979
- loadingIcon: makeStringProp("photo")
6987
+ loadingIcon: makeStringProp("photo"),
6988
+ crossorigin: String,
6989
+ referrerpolicy: String
6980
6990
  };
6981
6991
  var stdin_default$1e = defineComponent({
6982
6992
  name: name$15,
@@ -7059,7 +7069,9 @@ var stdin_default$1e = defineComponent({
7059
7069
  style: {
7060
7070
  objectFit: props2.fit,
7061
7071
  objectPosition: props2.position
7062
- }
7072
+ },
7073
+ crossorigin: props2.crossorigin,
7074
+ referrerpolicy: props2.referrerpolicy
7063
7075
  };
7064
7076
  if (props2.lazyLoad) {
7065
7077
  return withDirectives(createVNode("img", mergeProps({
@@ -12052,7 +12064,7 @@ var stdin_default$E = defineComponent({
12052
12064
  "type": "delete",
12053
12065
  "onPress": onPress
12054
12066
  }, {
12055
- delete: slots.delete
12067
+ default: slots.delete
12056
12068
  }), createVNode(stdin_default$F, {
12057
12069
  "large": true,
12058
12070
  "text": props2.closeButtonText,
@@ -16766,7 +16778,7 @@ const Lazyload = {
16766
16778
  });
16767
16779
  }
16768
16780
  };
16769
- const version = "4.8.3";
16781
+ const version = "4.8.5";
16770
16782
  function install(app) {
16771
16783
  const components = [
16772
16784
  ActionBar,
package/lib/vant.js CHANGED
@@ -2317,7 +2317,11 @@
2317
2317
  const onCancel = () => emit("cancel");
2318
2318
  const onConfirm = () => emit("confirm");
2319
2319
  const renderCancel = () => {
2320
- const text = props2.cancelButtonText || t$k("cancel");
2320
+ var _a;
2321
+ const text = (_a = props2.cancelButtonText) != null ? _a : t$k("cancel");
2322
+ if (!slots.cancel && !text) {
2323
+ return;
2324
+ }
2321
2325
  return vue.createVNode("button", {
2322
2326
  "type": "button",
2323
2327
  "class": [bem$1u("cancel"), HAPTICS_FEEDBACK],
@@ -2325,7 +2329,11 @@
2325
2329
  }, [slots.cancel ? slots.cancel() : text]);
2326
2330
  };
2327
2331
  const renderConfirm = () => {
2328
- const text = props2.confirmButtonText || t$k("confirm");
2332
+ var _a;
2333
+ const text = (_a = props2.confirmButtonText) != null ? _a : t$k("confirm");
2334
+ if (!slots.confirm && !text) {
2335
+ return;
2336
+ }
2329
2337
  return vue.createVNode("button", {
2330
2338
  "type": "button",
2331
2339
  "class": [bem$1u("confirm"), HAPTICS_FEEDBACK],
@@ -2599,7 +2607,7 @@
2599
2607
  if (container) {
2600
2608
  const containerRect = useRect(container);
2601
2609
  const difference = containerRect.bottom - offset2.value - state.height;
2602
- state.fixed = offset2.value >= rootRect.top && containerRect.bottom > 0;
2610
+ state.fixed = offset2.value > rootRect.top && containerRect.bottom > 0;
2603
2611
  state.transform = difference < 0 ? difference : 0;
2604
2612
  } else {
2605
2613
  state.fixed = offset2.value > rootRect.top;
@@ -7437,7 +7445,9 @@
7437
7445
  errorIcon: makeStringProp("photo-fail"),
7438
7446
  iconPrefix: String,
7439
7447
  showLoading: truthProp,
7440
- loadingIcon: makeStringProp("photo")
7448
+ loadingIcon: makeStringProp("photo"),
7449
+ crossorigin: String,
7450
+ referrerpolicy: String
7441
7451
  };
7442
7452
  var stdin_default$1e = vue.defineComponent({
7443
7453
  name: name$15,
@@ -7520,7 +7530,9 @@
7520
7530
  style: {
7521
7531
  objectFit: props2.fit,
7522
7532
  objectPosition: props2.position
7523
- }
7533
+ },
7534
+ crossorigin: props2.crossorigin,
7535
+ referrerpolicy: props2.referrerpolicy
7524
7536
  };
7525
7537
  if (props2.lazyLoad) {
7526
7538
  return vue.withDirectives(vue.createVNode("img", vue.mergeProps({
@@ -12484,7 +12496,7 @@
12484
12496
  "type": "delete",
12485
12497
  "onPress": onPress
12486
12498
  }, {
12487
- delete: slots.delete
12499
+ default: slots.delete
12488
12500
  }), vue.createVNode(stdin_default$F, {
12489
12501
  "large": true,
12490
12502
  "text": props2.closeButtonText,
@@ -17981,7 +17993,7 @@
17981
17993
  });
17982
17994
  }
17983
17995
  };
17984
- const version = "4.8.3";
17996
+ const version = "4.8.5";
17985
17997
  function install(app) {
17986
17998
  const components = [
17987
17999
  ActionBar,