@opentinyvue/vue-image-viewer 2.21.0 → 3.21.0

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/lib/pc.js CHANGED
@@ -2,38 +2,42 @@ import { renderless, api } from '@opentinyvue/vue-renderless/image-viewer/vue';
2
2
  import { defineComponent, props, setup } from '@opentinyvue/vue-common';
3
3
  import { iconClose, iconChevronLeft, iconChevronRight, iconZoomOut, iconZoomIn, iconFullscreen, iconMinscreen, iconRepeat, iconRefres } from '@opentinyvue/vue-icon';
4
4
  import '@opentinyvue/vue-theme/image-viewer/index.css';
5
+ import { resolveComponent, openBlock, createBlock, Transition, withCtx, createElementBlock, normalizeStyle, withModifiers, createElementVNode, createVNode, Fragment, normalizeClass, createCommentVNode, resolveDynamicComponent, renderSlot, toDisplayString, renderList } from 'vue';
5
6
 
6
- function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
7
- var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
8
- if (render) {
9
- options.render = render;
10
- options.staticRenderFns = staticRenderFns;
11
- options._compiled = true;
7
+ function _createForOfIteratorHelperLoose(r, e) {
8
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
9
+ if (t) return (t = t.call(r)).next.bind(t);
10
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
11
+ t && (r = t);
12
+ var o = 0;
13
+ return function() {
14
+ return o >= r.length ? { done: true } : { done: false, value: r[o++] };
15
+ };
12
16
  }
13
- var hook;
14
- if (injectStyles) {
15
- hook = injectStyles;
16
- }
17
- if (hook) {
18
- if (options.functional) {
19
- options._injectStyles = hook;
20
- var originalRender = options.render;
21
- options.render = function renderWithStyleInjection(h, context) {
22
- hook.call(context);
23
- return originalRender(h, context);
24
- };
25
- } else {
26
- var existing = options.beforeCreate;
27
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
28
- }
17
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
18
+ }
19
+ function _unsupportedIterableToArray(r, a) {
20
+ if (r) {
21
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
22
+ var t = {}.toString.call(r).slice(8, -1);
23
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
29
24
  }
30
- return {
31
- exports: scriptExports,
32
- options
33
- };
34
25
  }
26
+ function _arrayLikeToArray(r, a) {
27
+ (null == a || a > r.length) && (a = r.length);
28
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
29
+ return n;
30
+ }
31
+ var _export_sfc = function _export_sfc2(sfc, props) {
32
+ var target = sfc.__vccOpts || sfc;
33
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
34
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
35
+ target[key] = val;
36
+ }
37
+ return target;
38
+ };
35
39
 
36
- var __vue2_script = defineComponent({
40
+ var _sfc_main = /* @__PURE__ */ defineComponent({
37
41
  emits: ["close", "update:preview-visible", "delete", "change", "newImageList"],
38
42
  props: [].concat(props, ["urlList", "zIndex", "onSwitch", "onClose", "keepStyle", "showIndex"]),
39
43
  components: {
@@ -56,131 +60,187 @@ var __vue2_script = defineComponent({
56
60
  });
57
61
  }
58
62
  });
59
- var render = function render2() {
60
- var _vm = this;
61
- var _h = _vm.$createElement;
62
- var _c = _vm._self._c || _h;
63
- return _c("transition", {
64
- attrs: {
65
- "name": "viewer-fade"
66
- }
67
- }, [_c("div", {
68
- staticClass: "tiny-image-viewer tiny-image-viewer__wrapper",
69
- style: {
70
- "z-index": _vm.state.zIndex
71
- },
72
- on: {
73
- "mousewheel": function mousewheel($event) {
74
- $event.preventDefault();
75
- }
76
- }
77
- }, [_c("div", {
78
- staticClass: "tiny-image-viewer__mask"
79
- }), _c("span", {
80
- staticClass: "tiny-image-viewer__btn tiny-image-viewer__close",
81
- on: {
82
- "click": _vm.hide
83
- }
84
- }, [_c("icon-close", {
85
- staticClass: "tiny-svg-size"
86
- })], 1), !_vm.state.isSingle ? [_c("span", {
87
- staticClass: "tiny-image-viewer__btn tiny-image-viewer__prev",
88
- class: {
89
- "is-disabled": !_vm.state.infinite && _vm.state.isFirst
90
- },
91
- on: {
92
- "click": _vm.prev
93
- }
94
- }, [_c("icon-chevron-left", {
95
- staticClass: "tiny-svg-size"
96
- })], 1), _c("span", {
97
- staticClass: "tiny-image-viewer__btn tiny-image-viewer__next",
98
- class: {
99
- "is-disabled": !_vm.state.infinite && _vm.state.isLast
100
- },
101
- on: {
102
- "click": _vm.next
103
- }
104
- }, [_c("icon-chevron-right", {
105
- staticClass: "tiny-svg-size"
106
- })], 1)] : _vm._e(), _c("div", {
107
- staticClass: "tiny-image-viewer__btn tiny-image-viewer__actions"
108
- }, [_c("div", {
109
- staticClass: "tiny-image-viewer__actions-inner"
110
- }, [_c("icon-zoom-out", {
111
- staticClass: "tiny-svg-size",
112
- on: {
113
- "click": function click($event) {
114
- return _vm.handleActions("zoomOut");
115
- }
116
- }
117
- }), _c("icon-zoom-in", {
118
- staticClass: "tiny-svg-size",
119
- on: {
120
- "click": function click($event) {
121
- return _vm.handleActions("zoomIn");
122
- }
123
- }
124
- }), _c("i", {
125
- staticClass: "tiny-image-viewer__actions-divider"
126
- }), _c(_vm.state.mode.icon, {
127
- tag: "component",
128
- staticClass: "tiny-svg-size",
129
- on: {
130
- "click": _vm.toggleMode
131
- }
132
- }), _c("i", {
133
- staticClass: "tiny-image-viewer__actions-divider"
134
- }), _c("icon-repeat", {
135
- staticClass: "tiny-svg-size",
136
- on: {
137
- "click": function click($event) {
138
- return _vm.handleActions("anticlocelise");
139
- }
140
- }
141
- }), _c("icon-refres", {
142
- staticClass: "tiny-svg-size",
143
- on: {
144
- "click": function click($event) {
145
- return _vm.handleActions("clocelise");
146
- }
147
- }
148
- }), _vm._t("count", function() {
149
- return [_vm.showIndex ? _c("span", {
150
- staticClass: "tiny-image-viewer__actions-count"
151
- }, [_vm._v(_vm._s(_vm.state.index + 1) + "/" + _vm._s(_vm.urlList.length))]) : _vm._e()];
152
- }, {
153
- "index": _vm.state.index
154
- })], 2)]), _c("div", {
155
- staticClass: "tiny-image-viewer__canvas"
156
- }, [_vm._l(_vm.urlList, function(url, i) {
157
- return [i === _vm.state.index ? _c("img", {
158
- key: url,
159
- ref: "img_" + i,
160
- refInFor: true,
161
- staticClass: "tiny-image-viewer__img",
162
- style: _vm.state.imgStyle,
163
- attrs: {
164
- "src": _vm.state.currentImg
165
- },
166
- on: {
167
- "error": _vm.handleImgError,
168
- "mousedown": _vm.handleMouseDown,
169
- "load": _vm.handleImgLoad
170
- }
171
- }) : _vm._e()];
172
- })], 2)], 2)]);
63
+ var _hoisted_1 = /* @__PURE__ */ createElementVNode(
64
+ "div",
65
+ {
66
+ class: "tiny-image-viewer__mask"
67
+ },
68
+ null,
69
+ -1
70
+ /* HOISTED */
71
+ );
72
+ var _hoisted_2 = {
73
+ class: "tiny-image-viewer__btn tiny-image-viewer__actions"
173
74
  };
174
- var staticRenderFns = [];
175
- var __cssModules = {};
176
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
177
- function __vue2_injectStyles(context) {
178
- for (var o in __cssModules) {
179
- this[o] = __cssModules[o];
180
- }
75
+ var _hoisted_3 = {
76
+ class: "tiny-image-viewer__actions-inner"
77
+ };
78
+ var _hoisted_4 = /* @__PURE__ */ createElementVNode(
79
+ "i",
80
+ {
81
+ class: "tiny-image-viewer__actions-divider"
82
+ },
83
+ null,
84
+ -1
85
+ /* HOISTED */
86
+ );
87
+ var _hoisted_5 = /* @__PURE__ */ createElementVNode(
88
+ "i",
89
+ {
90
+ class: "tiny-image-viewer__actions-divider"
91
+ },
92
+ null,
93
+ -1
94
+ /* HOISTED */
95
+ );
96
+ var _hoisted_6 = {
97
+ key: 0,
98
+ class: "tiny-image-viewer__actions-count"
99
+ };
100
+ var _hoisted_7 = {
101
+ class: "tiny-image-viewer__canvas"
102
+ };
103
+ var _hoisted_8 = ["src"];
104
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
105
+ var _component_icon_close = resolveComponent("icon-close");
106
+ var _component_icon_chevron_left = resolveComponent("icon-chevron-left");
107
+ var _component_icon_chevron_right = resolveComponent("icon-chevron-right");
108
+ var _component_icon_zoom_out = resolveComponent("icon-zoom-out");
109
+ var _component_icon_zoom_in = resolveComponent("icon-zoom-in");
110
+ var _component_icon_repeat = resolveComponent("icon-repeat");
111
+ var _component_icon_refres = resolveComponent("icon-refres");
112
+ return openBlock(), createBlock(Transition, {
113
+ name: "viewer-fade"
114
+ }, {
115
+ default: withCtx(function() {
116
+ return [(openBlock(), createElementBlock(
117
+ "div",
118
+ {
119
+ key: 0,
120
+ class: "tiny-image-viewer tiny-image-viewer__wrapper",
121
+ style: normalizeStyle({
122
+ "z-index": _ctx.state.zIndex
123
+ }),
124
+ onMousewheel: _cache[10] || (_cache[10] = withModifiers(function() {
125
+ }, ["prevent"]))
126
+ },
127
+ [_hoisted_1, createElementVNode("span", {
128
+ class: "tiny-image-viewer__btn tiny-image-viewer__close",
129
+ onClick: _cache[0] || (_cache[0] = function() {
130
+ return _ctx.hide && _ctx.hide.apply(_ctx, arguments);
131
+ })
132
+ }, [createVNode(_component_icon_close, {
133
+ class: "tiny-svg-size"
134
+ })]), !_ctx.state.isSingle ? (openBlock(), createElementBlock(
135
+ Fragment,
136
+ {
137
+ key: 0
138
+ },
139
+ [createElementVNode(
140
+ "span",
141
+ {
142
+ class: normalizeClass(["tiny-image-viewer__btn tiny-image-viewer__prev", {
143
+ "is-disabled": !_ctx.state.infinite && _ctx.state.isFirst
144
+ }]),
145
+ onClick: _cache[1] || (_cache[1] = function() {
146
+ return _ctx.prev && _ctx.prev.apply(_ctx, arguments);
147
+ })
148
+ },
149
+ [createVNode(_component_icon_chevron_left, {
150
+ class: "tiny-svg-size"
151
+ })],
152
+ 2
153
+ /* CLASS */
154
+ ), createElementVNode(
155
+ "span",
156
+ {
157
+ class: normalizeClass(["tiny-image-viewer__btn tiny-image-viewer__next", {
158
+ "is-disabled": !_ctx.state.infinite && _ctx.state.isLast
159
+ }]),
160
+ onClick: _cache[2] || (_cache[2] = function() {
161
+ return _ctx.next && _ctx.next.apply(_ctx, arguments);
162
+ })
163
+ },
164
+ [createVNode(_component_icon_chevron_right, {
165
+ class: "tiny-svg-size"
166
+ })],
167
+ 2
168
+ /* CLASS */
169
+ )],
170
+ 64
171
+ /* STABLE_FRAGMENT */
172
+ )) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, [createVNode(_component_icon_zoom_out, {
173
+ class: "tiny-svg-size",
174
+ onClick: _cache[3] || (_cache[3] = function($event) {
175
+ return _ctx.handleActions("zoomOut");
176
+ })
177
+ }), createVNode(_component_icon_zoom_in, {
178
+ class: "tiny-svg-size",
179
+ onClick: _cache[4] || (_cache[4] = function($event) {
180
+ return _ctx.handleActions("zoomIn");
181
+ })
182
+ }), _hoisted_4, (openBlock(), createBlock(resolveDynamicComponent(_ctx.state.mode.icon), {
183
+ class: "tiny-svg-size",
184
+ onClick: _ctx.toggleMode
185
+ }, null, 8, ["onClick"])), _hoisted_5, createVNode(_component_icon_repeat, {
186
+ class: "tiny-svg-size",
187
+ onClick: _cache[5] || (_cache[5] = function($event) {
188
+ return _ctx.handleActions("anticlocelise");
189
+ })
190
+ }), createVNode(_component_icon_refres, {
191
+ class: "tiny-svg-size",
192
+ onClick: _cache[6] || (_cache[6] = function($event) {
193
+ return _ctx.handleActions("clocelise");
194
+ })
195
+ }), renderSlot(_ctx.$slots, "count", {
196
+ index: _ctx.state.index
197
+ }, function() {
198
+ return [_ctx.showIndex ? (openBlock(), createElementBlock(
199
+ "span",
200
+ _hoisted_6,
201
+ toDisplayString(_ctx.state.index + 1) + "/" + toDisplayString(_ctx.urlList.length),
202
+ 1
203
+ /* TEXT */
204
+ )) : createCommentVNode("v-if", true)];
205
+ })])]), createElementVNode("div", _hoisted_7, [(openBlock(true), createElementBlock(
206
+ Fragment,
207
+ null,
208
+ renderList(_ctx.urlList, function(url, i) {
209
+ return openBlock(), createElementBlock(
210
+ Fragment,
211
+ null,
212
+ [i === _ctx.state.index ? (openBlock(), createElementBlock("img", {
213
+ ref_for: true,
214
+ ref: "img_" + i,
215
+ class: "tiny-image-viewer__img",
216
+ key: url,
217
+ src: _ctx.state.currentImg,
218
+ style: normalizeStyle(_ctx.state.imgStyle),
219
+ onError: _cache[7] || (_cache[7] = function() {
220
+ return _ctx.handleImgError && _ctx.handleImgError.apply(_ctx, arguments);
221
+ }),
222
+ onMousedown: _cache[8] || (_cache[8] = function() {
223
+ return _ctx.handleMouseDown && _ctx.handleMouseDown.apply(_ctx, arguments);
224
+ }),
225
+ onLoad: _cache[9] || (_cache[9] = function() {
226
+ return _ctx.handleImgLoad && _ctx.handleImgLoad.apply(_ctx, arguments);
227
+ })
228
+ }, null, 44, _hoisted_8)) : createCommentVNode("v-if", true)],
229
+ 64
230
+ /* STABLE_FRAGMENT */
231
+ );
232
+ }),
233
+ 256
234
+ /* UNKEYED_FRAGMENT */
235
+ ))])],
236
+ 36
237
+ /* STYLE, NEED_HYDRATION */
238
+ ))];
239
+ }),
240
+ _: 3
241
+ /* FORWARDED */
242
+ });
181
243
  }
182
- var pc = /* @__PURE__ */ function() {
183
- return __component__.exports;
184
- }();
244
+ var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
185
245
 
186
246
  export { pc as default };
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-image-viewer",
3
- "version": "2.21.0",
3
+ "version": "3.21.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentinyvue/vue-common": "~2.21.0",
11
- "@opentinyvue/vue-icon": "~2.21.0",
10
+ "@opentinyvue/vue-common": "~3.21.0",
11
+ "@opentinyvue/vue-icon": "~3.21.0",
12
12
  "@opentinyvue/vue-renderless": "~3.21.0",
13
- "@opentinyvue/vue-dropdown": "~2.21.0",
14
- "@opentinyvue/vue-dropdown-menu": "~2.21.0",
15
- "@opentinyvue/vue-dropdown-item": "~2.21.0",
16
- "@opentinyvue/vue-action-sheet": "~2.21.0",
13
+ "@opentinyvue/vue-dropdown": "~3.21.0",
14
+ "@opentinyvue/vue-dropdown-menu": "~3.21.0",
15
+ "@opentinyvue/vue-dropdown-item": "~3.21.0",
16
+ "@opentinyvue/vue-action-sheet": "~3.21.0",
17
17
  "@opentinyvue/vue-theme-mobile": "~3.21.0",
18
18
  "@opentinyvue/vue-theme": "~3.21.0"
19
19
  },
package/src/index.d.ts CHANGED
@@ -1,2 +1,228 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
2
+ _constants: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ MODE: {
6
+ CONTAIN: {
7
+ name: string;
8
+ icon: string;
9
+ };
10
+ ORIGINAL: {
11
+ name: string;
12
+ icon: string;
13
+ };
14
+ };
15
+ DEFAULT_POPPER_ZINDEX: number;
16
+ THUMBNAILTOP: number;
17
+ MENUTOP: number;
18
+ };
19
+ };
20
+ urlList: {
21
+ type: ArrayConstructor;
22
+ default: () => never[];
23
+ };
24
+ zIndex: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ previewVisible: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ closeShow: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ arrowShow: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ toolShow: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ showIndex: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ imageFullCurrent: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ startPosition: {
53
+ type: NumberConstructor;
54
+ default: number;
55
+ };
56
+ asyncClose: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ deleteButton: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ onSwitch: {
65
+ type: FunctionConstructor;
66
+ default: () => void;
67
+ };
68
+ onClose: {
69
+ type: FunctionConstructor;
70
+ default: () => void;
71
+ };
72
+ isThumbnail: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
76
+ isMenuView: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ modalView: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ modalHeight: {
85
+ type: (StringConstructor | NumberConstructor)[];
86
+ default: number;
87
+ };
88
+ bgColor: {
89
+ type: StringConstructor;
90
+ default: string;
91
+ };
92
+ keepStyle: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ tiny_mode: StringConstructor;
97
+ tiny_mode_root: BooleanConstructor;
98
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
99
+ tiny_renderless: FunctionConstructor;
100
+ tiny_theme: StringConstructor;
101
+ tiny_chart_theme: ObjectConstructor;
102
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
103
+ [key: string]: any;
104
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
105
+ _constants: {
106
+ type: ObjectConstructor;
107
+ default: () => {
108
+ MODE: {
109
+ CONTAIN: {
110
+ name: string;
111
+ icon: string;
112
+ };
113
+ ORIGINAL: {
114
+ name: string;
115
+ icon: string;
116
+ };
117
+ };
118
+ DEFAULT_POPPER_ZINDEX: number;
119
+ THUMBNAILTOP: number;
120
+ MENUTOP: number;
121
+ };
122
+ };
123
+ urlList: {
124
+ type: ArrayConstructor;
125
+ default: () => never[];
126
+ };
127
+ zIndex: {
128
+ type: NumberConstructor;
129
+ default: number;
130
+ };
131
+ previewVisible: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ closeShow: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ arrowShow: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ toolShow: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ showIndex: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
151
+ imageFullCurrent: {
152
+ type: BooleanConstructor;
153
+ default: boolean;
154
+ };
155
+ startPosition: {
156
+ type: NumberConstructor;
157
+ default: number;
158
+ };
159
+ asyncClose: {
160
+ type: BooleanConstructor;
161
+ default: boolean;
162
+ };
163
+ deleteButton: {
164
+ type: BooleanConstructor;
165
+ default: boolean;
166
+ };
167
+ onSwitch: {
168
+ type: FunctionConstructor;
169
+ default: () => void;
170
+ };
171
+ onClose: {
172
+ type: FunctionConstructor;
173
+ default: () => void;
174
+ };
175
+ isThumbnail: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
179
+ isMenuView: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
183
+ modalView: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ };
187
+ modalHeight: {
188
+ type: (StringConstructor | NumberConstructor)[];
189
+ default: number;
190
+ };
191
+ bgColor: {
192
+ type: StringConstructor;
193
+ default: string;
194
+ };
195
+ keepStyle: {
196
+ type: BooleanConstructor;
197
+ default: boolean;
198
+ };
199
+ tiny_mode: StringConstructor;
200
+ tiny_mode_root: BooleanConstructor;
201
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
202
+ tiny_renderless: FunctionConstructor;
203
+ tiny_theme: StringConstructor;
204
+ tiny_chart_theme: ObjectConstructor;
205
+ }>>, {
206
+ onClose: Function;
207
+ tiny_mode_root: boolean;
208
+ _constants: Record<string, any>;
209
+ zIndex: number;
210
+ urlList: unknown[];
211
+ previewVisible: boolean;
212
+ closeShow: boolean;
213
+ arrowShow: boolean;
214
+ toolShow: boolean;
215
+ showIndex: boolean;
216
+ imageFullCurrent: boolean;
217
+ startPosition: number;
218
+ asyncClose: boolean;
219
+ deleteButton: boolean;
220
+ onSwitch: Function;
221
+ isThumbnail: boolean;
222
+ isMenuView: boolean;
223
+ modalView: boolean;
224
+ modalHeight: string | number;
225
+ bgColor: string;
226
+ keepStyle: boolean;
227
+ }, {}>;
2
228
  export default _default;