You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
864 B
21 lines
864 B
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = exports.VxeImagePreview = exports.ImagePreview = void 0;
|
|
var _preview = _interopRequireDefault(require("../image/src/preview"));
|
|
var _core = require("@vxe-ui/core");
|
|
var _dynamics = require("../dynamics");
|
|
var _util = require("../image/src/util");
|
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
var VxeImagePreview = exports.VxeImagePreview = Object.assign(_preview.default, {
|
|
install: function install(app) {
|
|
app.component(_preview.default.name, _preview.default);
|
|
_core.VxeUI.previewImage = _util.openPreviewImage;
|
|
}
|
|
});
|
|
_dynamics.dynamicApp.use(VxeImagePreview);
|
|
_core.VxeUI.component(_preview.default);
|
|
var ImagePreview = exports.ImagePreview = VxeImagePreview;
|
|
var _default = exports.default = VxeImagePreview;
|