Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-modal-viewer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-modal-viewer - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

167

dist/vue-modal-viewer.common.js

@@ -175,2 +175,9 @@ module.exports =

/***/ "8bbf":
/***/ (function(module, exports) {
module.exports = require("vue");
/***/ }),
/***/ "fb15":

@@ -183,2 +190,6 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) {

// EXPORTS
__webpack_require__.d(__webpack_exports__, "ModalViewer", function() { return /* reexport */ src_ModalViewer; });
__webpack_require__.d(__webpack_exports__, "Modal", function() { return /* reexport */ /* Cannot get final name for export "Modal" in "./src/ModalViewer.ts" (known exports: default, known reexports: ) */ undefined; });
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js

@@ -208,2 +219,6 @@ // This file is imported into lib/wc client bundles.

// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
// CONCATENATED MODULE: ./src/ModalViewer.ts

@@ -291,6 +306,156 @@ var ModalViewer = /** @class */ (function () {

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4f5490f2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/Modal.vue?vue&type=template&id=d5bbdea6&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"modal"},[_vm._t("default",null,null,{ isShowed: _vm.isShowed })],2)}
var staticRenderFns = []
// CONCATENATED MODULE: ./src/Modal.vue?vue&type=template&id=d5bbdea6&
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/ts-loader??ref--13-2!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/Modal.vue?vue&type=script&lang=ts&
/* harmony default export */ var Modalvue_type_script_lang_ts_ = (external_commonjs_vue_commonjs2_vue_root_Vue_default.a.extend({
mixins: [src_ModalViewer.mixin],
name: "Modal",
}));
// CONCATENATED MODULE: ./src/Modal.vue?vue&type=script&lang=ts&
/* harmony default export */ var src_Modalvue_type_script_lang_ts_ = (Modalvue_type_script_lang_ts_);
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
/* globals __VUE_SSR_CONTEXT__ */
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
// This module is a runtime utility for cleaner component module output and will
// be included in the final webpack user bundle.
function normalizeComponent (
scriptExports,
render,
staticRenderFns,
functionalTemplate,
injectStyles,
scopeId,
moduleIdentifier, /* server only */
shadowMode /* vue-cli only */
) {
// Vue.extend constructor export interop
var options = typeof scriptExports === 'function'
? scriptExports.options
: scriptExports
// render functions
if (render) {
options.render = render
options.staticRenderFns = staticRenderFns
options._compiled = true
}
// functional template
if (functionalTemplate) {
options.functional = true
}
// scopedId
if (scopeId) {
options._scopeId = 'data-v-' + scopeId
}
var hook
if (moduleIdentifier) { // server build
hook = function (context) {
// 2.3 injection
context =
context || // cached call
(this.$vnode && this.$vnode.ssrContext) || // stateful
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
// 2.2 with runInNewContext: true
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
context = __VUE_SSR_CONTEXT__
}
// inject component styles
if (injectStyles) {
injectStyles.call(this, context)
}
// register component module identifier for async chunk inferrence
if (context && context._registeredComponents) {
context._registeredComponents.add(moduleIdentifier)
}
}
// used by ssr in case component is cached and beforeCreate
// never gets called
options._ssrRegister = hook
} else if (injectStyles) {
hook = shadowMode
? function () {
injectStyles.call(
this,
(options.functional ? this.parent : this).$root.$options.shadowRoot
)
}
: injectStyles
}
if (hook) {
if (options.functional) {
// for template-only hot-reload because in that case the render fn doesn't
// go through the normalizer
options._injectStyles = hook
// register for functional component in vue file
var originalRender = options.render
options.render = function renderWithStyleInjection (h, context) {
hook.call(context)
return originalRender(h, context)
}
} else {
// inject component registration as beforeCreate hook
var existing = options.beforeCreate
options.beforeCreate = existing
? [].concat(existing, hook)
: [hook]
}
}
return {
exports: scriptExports,
options: options
}
}
// CONCATENATED MODULE: ./src/Modal.vue
/* normalize component */
var component = normalizeComponent(
src_Modalvue_type_script_lang_ts_,
render,
staticRenderFns,
false,
null,
null,
null
)
/* harmony default export */ var Modal = (component.exports);
// CONCATENATED MODULE: ./src/index.ts
var Plugin = {
install: function (vue) {
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component("modal", Modal);
vue.prototype.$modalviewer = new src_ModalViewer();
}
};
/* harmony default export */ var src_0 = (Plugin);
// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_ModalViewer);
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0);

@@ -297,0 +462,0 @@

4

package.json
{
"name": "vue-modal-viewer",
"description": "",
"version": "0.1.4",
"version": "0.1.5",
"main": "dist/vue-modal-viewer.common.js",

@@ -9,3 +9,3 @@ "types": "dts/index.d.ts",

"test": "vue-cli-service serve",
"build": "vue-cli-service build --target lib ./src/ModalViewer.ts && tsc --emitDeclarationOnly"
"build": "vue-cli-service build --target lib ./src/index.ts && tsc --emitDeclarationOnly"
},

@@ -12,0 +12,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc