vue3-google-adsense
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -68,2 +68,19 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
/************************************************************************/ | ||
/******/ /* webpack/runtime/define property getters */ | ||
/******/ (() => { | ||
/******/ // define getter functions for harmony exports | ||
/******/ __webpack_require__.d = (exports, definition) => { | ||
/******/ for(var key in definition) { | ||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | ||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | ||
/******/ } | ||
/******/ } | ||
/******/ }; | ||
/******/ })(); | ||
/******/ | ||
/******/ /* webpack/runtime/hasOwnProperty shorthand */ | ||
/******/ (() => { | ||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | ||
/******/ })(); | ||
/******/ | ||
/******/ /* webpack/runtime/publicPath */ | ||
@@ -76,5 +93,8 @@ /******/ (() => { | ||
var __webpack_exports__ = {}; | ||
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. | ||
(() => { | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, { | ||
"default": () => (/* binding */ entry_lib) | ||
}); | ||
// UNUSED EXPORTS: Adsense | ||
@@ -198,12 +218,18 @@ | ||
/* harmony default export */ const Adsense = ((/* unused pure expression or super */ null && (__exports__))); | ||
/* harmony default export */ const Adsense = (__exports__); | ||
;// CONCATENATED MODULE: ./src/index.js | ||
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js | ||
/* harmony default export */ const src_0 = ({ | ||
Adsense: Adsense, | ||
}); | ||
})(); | ||
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
/* harmony default export */ const entry_lib = (src_0); | ||
__webpack_exports__ = __webpack_exports__["default"]; | ||
@@ -210,0 +236,0 @@ /******/ return __webpack_exports__; |
@@ -68,2 +68,19 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
/************************************************************************/ | ||
/******/ /* webpack/runtime/define property getters */ | ||
/******/ (() => { | ||
/******/ // define getter functions for harmony exports | ||
/******/ __webpack_require__.d = (exports, definition) => { | ||
/******/ for(var key in definition) { | ||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | ||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | ||
/******/ } | ||
/******/ } | ||
/******/ }; | ||
/******/ })(); | ||
/******/ | ||
/******/ /* webpack/runtime/hasOwnProperty shorthand */ | ||
/******/ (() => { | ||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | ||
/******/ })(); | ||
/******/ | ||
/******/ /* webpack/runtime/publicPath */ | ||
@@ -76,5 +93,8 @@ /******/ (() => { | ||
var __webpack_exports__ = {}; | ||
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. | ||
(() => { | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, { | ||
"default": () => (/* binding */ entry_lib) | ||
}); | ||
// UNUSED EXPORTS: Adsense | ||
@@ -198,12 +218,18 @@ | ||
/* harmony default export */ const Adsense = ((/* unused pure expression or super */ null && (__exports__))); | ||
/* harmony default export */ const Adsense = (__exports__); | ||
;// CONCATENATED MODULE: ./src/index.js | ||
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.js | ||
/* harmony default export */ const src_0 = ({ | ||
Adsense: Adsense, | ||
}); | ||
})(); | ||
;// CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
/* harmony default export */ const entry_lib = (src_0); | ||
__webpack_exports__ = __webpack_exports__["default"]; | ||
@@ -210,0 +236,0 @@ /******/ return __webpack_exports__; |
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue3-google-adsense"]=t(require("vue")):e["vue3-google-adsense"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{"use strict";var t={262:(e,t)=>{t.A=(e,t)=>{const o=e.__vccOpts||e;for(const[r,n]of t)o[r]=n;return o}},274:t=>{t.exports=e}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var s=o[e]={exports:{}};return t[e](s,s.exports,r),s.exports}(()=>{r.p=""})();var n={};return(()=>{if("undefined"!==typeof window){var e=window.document.currentScript,t=e&&e.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);t&&(r.p=t[1])}r(274);r(262)})(),n=n["default"],n})())); | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["vue3-google-adsense"]=t(require("vue")):e["vue3-google-adsense"]=t(e["Vue"])})("undefined"!==typeof self?self:this,(e=>(()=>{"use strict";var t={262:(e,t)=>{t.A=(e,t)=>{const o=e.__vccOpts||e;for(const[a,r]of t)o[a]=r;return o}},274:t=>{t.exports=e}},o={};function a(e){var r=o[e];if(void 0!==r)return r.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,a),n.exports}(()=>{a.d=(e,t)=>{for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}})(),(()=>{a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{a.p=""})();var r={};if(a.d(r,{default:()=>g}),"undefined"!==typeof window){var n=window.document.currentScript,d=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);d&&(a.p=d[1])}var l=a(274);const s=["data-ad-client","data-ad-slot","data-ad-format","data-ad-layout-key","data-ad-layout","data-full-width-responsive"];function i(e,t,o,a,r,n){return(0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)("script"),{async:"",src:r.scriptSrc,crossorigin:"anonymous"},null,8,["src"])),(0,l.createElementVNode)("ins",{class:"adsbygoogle",style:(0,l.normalizeStyle)(o.adStyle),"data-ad-client":o.client,"data-ad-slot":o.slot,"data-ad-format":o.format,"data-ad-layout-key":o.layoutKey,"data-ad-layout":o.layout,"data-full-width-responsive":o.fullWidthResponsive},null,12,s),((0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)("script"),null,{default:(0,l.withCtx)((()=>[(0,l.createTextVNode)(" (adsbygoogle = window.adsbygoogle || []).push({}); ")])),_:1}))],64)}const u={name:"Adsense",props:{adStyle:{type:String,required:!1,default:"display: block"},client:{type:String,required:!0},slot:{type:String,required:!0},format:{type:String,required:!1,default:""},fullWidthResponsive:{type:String,required:!1,default:"false"},layoutKey:{type:String,required:!1,default:""},layout:{type:String,required:!1,default:""}},data(){return{scriptSrc:"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client="+this.client}}};var c=a(262);const p=(0,c.A)(u,[["render",i]]),y=p,f={Adsense:y},g=f;return r=r["default"],r})())); | ||
//# sourceMappingURL=vue3-google-adsense.umd.min.js.map |
{ | ||
"name": "vue3-google-adsense", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"src" | ||
], | ||
@@ -12,3 +13,3 @@ "main": "src/index.js", | ||
}, | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Google Adsense Component for Vue 3", | ||
@@ -32,7 +33,6 @@ "keywords": [ | ||
}, | ||
"devDependencies": { | ||
"vue": "^3.4.27", | ||
"@vue/cli-service": "^5.0.8" | ||
"@vue/cli-service": "^5.0.8", | ||
"vue": "^3.4.27" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
52601
12
398