├── .browserslistrc ├── jest.config.js ├── assets ├── demo.gif └── logo.jpg ├── docs ├── favicon.ico ├── img │ └── vdt.c614141f.png ├── index.html └── js │ └── app.0f4ea84d.js ├── public ├── favicon.ico └── index.html ├── src ├── assets │ └── vdt.png ├── main.js ├── components │ ├── helper.js │ ├── DigitalTransform.vue │ └── DigitalTransfromScroll.vue ├── docs │ ├── Config.vue │ ├── Clock.vue │ └── Example.vue └── App.vue ├── vue.config.js ├── babel.config.js ├── .gitignore ├── dist ├── demo.html ├── vue-digital-transform.umd.min.js ├── vue-digital-transform.common.js.map ├── vue-digital-transform.common.js ├── vue-digital-transform.umd.js.map └── vue-digital-transform.umd.js ├── tests └── unit │ └── example.spec.js ├── .eslintrc.js ├── LICENCE ├── package.json ├── README_CN.md └── README.md /.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: "@vue/cli-plugin-unit-jest" 3 | }; 4 | -------------------------------------------------------------------------------- /assets/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DakerHub/vue-digital-transform/HEAD/assets/demo.gif -------------------------------------------------------------------------------- /assets/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DakerHub/vue-digital-transform/HEAD/assets/logo.jpg -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DakerHub/vue-digital-transform/HEAD/docs/favicon.ico -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DakerHub/vue-digital-transform/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/assets/vdt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DakerHub/vue-digital-transform/HEAD/src/assets/vdt.png -------------------------------------------------------------------------------- /docs/img/vdt.c614141f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DakerHub/vue-digital-transform/HEAD/docs/img/vdt.c614141f.png -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from "vue"; 2 | import App from "./App.vue"; 3 | 4 | Vue.config.productionTip = false; 5 | 6 | new Vue({ 7 | render: h => h(App) 8 | }).$mount("#app"); 9 | -------------------------------------------------------------------------------- /vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | css: { 3 | extract: false 4 | }, 5 | 6 | publicPath: "", 7 | devServer: { 8 | host: "localhost" 9 | } 10 | }; 11 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | [ 4 | "@vue/babel-preset-app", 5 | { 6 | useBuiltIns: false 7 | } 8 | ] 9 | ] 10 | }; 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | 4 | # local env files 5 | .env.local 6 | .env.*.local 7 | 8 | # Log files 9 | npm-debug.log* 10 | yarn-debug.log* 11 | yarn-error.log* 12 | 13 | # Editor directories and files 14 | .idea 15 | .vscode 16 | *.suo 17 | *.ntvs* 18 | *.njsproj 19 | *.sln 20 | *.sw? 21 | -------------------------------------------------------------------------------- /src/components/helper.js: -------------------------------------------------------------------------------- 1 | export function digitalValidator(value) { 2 | return /^(\d|\.|,){1}$/.test(value.toString()); 3 | } 4 | 5 | export function looseDigitalValidator(value) { 6 | if (value === undefined || value === null || value === "") return true; 7 | 8 | return /^(\d|\.|,)+$/.test(value.toString()); 9 | } 10 | -------------------------------------------------------------------------------- /dist/demo.html: -------------------------------------------------------------------------------- 1 | 2 | vue-digital-transform demo 3 | 4 | 5 | 6 | 7 |
8 | 9 |
10 | 11 | 18 | -------------------------------------------------------------------------------- /tests/unit/example.spec.js: -------------------------------------------------------------------------------- 1 | import { shallowMount } from "@vue/test-utils"; 2 | import HelloWorld from "@/components/HelloWorld.vue"; 3 | 4 | describe("HelloWorld.vue", () => { 5 | it("renders props.msg when passed", () => { 6 | const msg = "new message"; 7 | const wrapper = shallowMount(HelloWorld, { 8 | propsData: { msg } 9 | }); 10 | expect(wrapper.text()).toMatch(msg); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | vue-digital-transform
-------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | env: { 4 | node: true 5 | }, 6 | extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"], 7 | parserOptions: { 8 | parser: "babel-eslint" 9 | }, 10 | rules: { 11 | "no-console": process.env.NODE_ENV === "production" ? "error" : "off", 12 | "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off" 13 | }, 14 | overrides: [ 15 | { 16 | files: [ 17 | "**/__tests__/*.{j,t}s?(x)", 18 | "**/tests/unit/**/*.spec.{j,t}s?(x)" 19 | ], 20 | env: { 21 | jest: true 22 | } 23 | } 24 | ] 25 | }; 26 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | <%= htmlWebpackPlugin.options.title %> 9 | 10 | 11 | 14 |
15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /LICENCE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 DakerHub 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/docs/Config.vue: -------------------------------------------------------------------------------- 1 | 36 | 37 | 42 | 43 | 51 | -------------------------------------------------------------------------------- /src/docs/Clock.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 56 | 57 | 65 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-digital-transform", 3 | "version": "1.1.1", 4 | "private": false, 5 | "main": "dist/vue-digital-transform.umd.min.js", 6 | "scripts": { 7 | "serve": "vue-cli-service serve", 8 | "build": "vue-cli-service build --target lib --name vue-digital-transform './src/components/DigitalTransform.vue'", 9 | "build:docs": "vue-cli-service build --dest docs", 10 | "build:all": "npm run build & npm run build:docs", 11 | "test:unit": "vue-cli-service test:unit", 12 | "lint": "vue-cli-service lint --fix" 13 | }, 14 | "dependencies": { 15 | "vue": "^2.6.11" 16 | }, 17 | "devDependencies": { 18 | "@vue/cli-plugin-babel": "~4.2.0", 19 | "@vue/cli-plugin-eslint": "~4.2.0", 20 | "@vue/cli-plugin-unit-jest": "~4.2.0", 21 | "@vue/cli-service": "~4.2.0", 22 | "@vue/eslint-config-prettier": "^6.0.0", 23 | "@vue/test-utils": "1.0.0-beta.31", 24 | "babel-eslint": "^10.0.3", 25 | "eslint": "^6.7.2", 26 | "eslint-plugin-prettier": "^3.1.1", 27 | "eslint-plugin-vue": "^6.1.2", 28 | "prettier": "^1.19.1", 29 | "sass": "^1.25.0", 30 | "sass-loader": "^8.0.2", 31 | "vue-template-compiler": "^2.6.11" 32 | }, 33 | "repository": { 34 | "type": "git", 35 | "url": "https://github.com/DakerHub/vue-digital-transform.git" 36 | }, 37 | "keywords": [ 38 | "vue", 39 | "vue-component", 40 | "digital-animation" 41 | ], 42 | "author": "DakerHub", 43 | "license": "MIT" 44 | } 45 | -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- 1 | # vue-digital-transform 2 | 3 | 4 | 5 | ![](https://img.shields.io/badge/Github-@DakerHub-success.svg?style=flat-square) 6 | ![](https://img.shields.io/badge/version-v1.1.1-success.svg?style=flat-square) 7 | 8 | 一个基于 Vue 的数字切换动效库 [vue-digital-transform](https://dakerhub.github.io/vue-digital-transform/) 9 | 10 | 11 | 12 | ## Install 13 | 14 | ```bash 15 | npm install vue-digital-transform 16 | ``` 17 | 18 | ## Example 19 | 20 | ```html 21 | 24 | ``` 25 | 26 | ```js 27 | import DigitalTransform from "vue-digital-transform"; 28 | 29 | export default { 30 | components: { 31 | DigitalTransform, 32 | }, 33 | data() { 34 | return { 35 | num: 0, 36 | }; 37 | }, 38 | }; 39 | ``` 40 | 41 | ## Config 42 | 43 | | prop | type | description | default | 44 | | --------------------- | ------------- | --------------------------------------------- | --------- | 45 | | value | Number,String | 需要切换的数字,只能由 0-9 . , 组成 | undefined | 46 | | dislocation | Boolean | 单个数字是否过渡时间是否不一致 | false | 47 | | interval | Number | 单个数字过渡时间(ms) | 500 | 48 | | useGrouping (v1.1.0+) | Boolean | 是否开启分隔符(对 value 为 Number 类型的有效) | false | 49 | 50 | ## Contribution 51 | 52 | 如果你对文档或者代码有什么建议的话,希望你能告诉我。当然,你也可以贡献你的想法让这个库变得更好。 53 | 54 | ## Licence 55 | 56 | [MIT License](./LICENCE) 57 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vue-digital-transform 2 | 3 | 4 | 5 | ![](https://img.shields.io/badge/Github-@DakerHub-success.svg?style=flat-square) 6 | ![](https://img.shields.io/badge/version-v1.1.1-success.svg?style=flat-square) 7 | 8 | [中文文档](./README_CN) 9 | 10 | Make your changes of digtals more funny. [vue-digital-transform](https://dakerhub.github.io/vue-digital-transform/) 11 | 12 | 13 | 14 | ## Install 15 | 16 | ```bash 17 | npm install vue-digital-transform 18 | ``` 19 | 20 | ## Example 21 | 22 | ```html 23 | 26 | ``` 27 | 28 | ```js 29 | import DigitalTransform from "vue-digital-transform"; 30 | 31 | export default { 32 | components: { 33 | DigitalTransform, 34 | }, 35 | data() { 36 | return { 37 | num: 0, 38 | }; 39 | }, 40 | }; 41 | ``` 42 | 43 | ## Config 44 | 45 | | prop | type | description | default | 46 | | --------------------- | ------------- | --------------------------------------------------------------- | --------- | 47 | | value | Number,String | Digitals. Only allow [0-9.,] | undefined | 48 | | dislocation | Boolean | Whether every singal digital transforms in diffrent duration. | false | 49 | | interval | Number | The time that transform spends.(ms) | 500 | 50 | | useGrouping (v1.1.0+) | Boolean | Whether group the digital or not. (Only when value is pure num) | false | 51 | 52 | ## Contribution 53 | 54 | Any contribution to the code or any part of the documentation and any idea and/or suggestion are very welcome. 55 | 56 | Just pull requests! 57 | 58 | ## Licence 59 | 60 | [MIT License](./LICENCE) 61 | -------------------------------------------------------------------------------- /src/docs/Example.vue: -------------------------------------------------------------------------------- 1 | 46 | 47 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /src/components/DigitalTransform.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | 76 | 77 | 92 | -------------------------------------------------------------------------------- /src/components/DigitalTransfromScroll.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 93 | 94 | 107 | -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 73 | 74 | 109 | 110 | 263 | -------------------------------------------------------------------------------- /dist/vue-digital-transform.umd.min.js: -------------------------------------------------------------------------------- 1 | (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-digital-transform"]=e():t["vue-digital-transform"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"0902":function(t,e,n){"use strict";var i=n("9258"),r=n.n(i);r.a},"24fb":function(t,e,n){"use strict";function i(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=r(i),a=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(n," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=i(e,t);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"===typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var o=0;on.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r-1:t.dislocation},on:{change:function(e){var i=t.dislocation,r=e.target,a=!!r.checked;if(Array.isArray(i)){var n=null,o=t._i(i,n);r.checked?o<0&&(t.dislocation=i.concat([n])):o>-1&&(t.dislocation=i.slice(0,o).concat(i.slice(o+1)))}else t.dislocation=a}}})]),i("div",{staticClass:"ctrl-item"},[i("label",{attrs:{for:""}},[t._v("分隔符:")]),i("input",{directives:[{name:"model",rawName:"v-model",value:t.useGrouping,expression:"useGrouping"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.useGrouping)?t._i(t.useGrouping,null)>-1:t.useGrouping},on:{change:function(e){var i=t.useGrouping,r=e.target,a=!!r.checked;if(Array.isArray(i)){var n=null,o=t._i(i,n);r.checked?o<0&&(t.useGrouping=i.concat([n])):o>-1&&(t.useGrouping=i.slice(0,o).concat(i.slice(o+1)))}else t.useGrouping=a}}})]),i("div",{staticClass:"ctrl-item"},[i("label",{attrs:{for:""}},[t._v("转换间隔:")]),i("input",{directives:[{name:"model",rawName:"v-model.number",value:t.interval,expression:"interval",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:t.interval},on:{input:function(e){e.target.composing||(t.interval=t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),i("div",{staticClass:"ctrl-item"},[i("label",{attrs:{for:""}},[t._v("值:")]),i("input",{directives:[{name:"model",rawName:"v-model.number",value:t.num,expression:"num",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:t.num},on:{input:function(e){e.target.composing||(t.num=t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}}),i("button",{on:{click:t.random}},[t._v("随机")])])]),i("div",{staticClass:"demo"},[i("DigitalTransform",{attrs:{value:t.num,interval:t.interval,dislocation:t.dislocation,"use-grouping":t.useGrouping}}),i("span",[t._v("这是个inline元素")])],1)]),i("ClockDemo"),i("DocExample"),i("DocConfig")],1)])},n=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("h1",[r("img",{attrs:{src:i("25f9"),alt:"vue-digital-transform"}}),t._v(" vue-digital-transform ")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("a",{staticClass:"shield",attrs:{href:"https://github.com/DakerHub",target:"__blank"}},[i("img",{attrs:{src:"https://img.shields.io/badge/Github-@DakerHub-success.svg?style=flat-square",alt:""}})])}],o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition-group",{staticClass:"digital-transform",attrs:{name:"vdt-slide-y",tag:"div"}},t._l(t.digitals,(function(e,r){return i("DigitalTransfromScroll",{key:r,staticClass:"digital-transform-item",attrs:{to:e,interval:t.interval,dislocation:t.dislocation,from:"0"}},[t._v(t._s(e))])})),1)},s=[];function l(t){return/^(\d|\.|,){1}$/.test(t.toString())}function c(t){return void 0===t||null===t||""===t||/^(\d|\.|,)+$/.test(t.toString())}var u=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dt-scroll"},[i("div",{ref:"$list",staticClass:"dt-scroll-list",style:t.listStyle},t._l(t.digitals,(function(e){return i("span",{key:e,staticClass:"dt-scroll-digital"},[t._v(" "+t._s(e)+" ")])})),0)])},d=[],p={name:"DigitalTransformScroll",props:{to:{validator:l,default:"0"},from:{validator:l,default:"0"},dislocation:{type:Boolean,default:!1},interval:{type:Number,default:500}},data:function(){return{digitals:[",",".","9","8","7","6","5","4","3","2","1","0"],listHeight:0,spacing:1}},computed:{listStyle:function(){return{transitionDuration:"".concat(this.interval/1e3*this.spacing,"s")}},elHeight:function(){return this.listHeight/this.digitals.length}},watch:{to:{immediate:!0,handler:function(t,e){if(this.$refs.$list){if(this.dislocation){var i=this.digitals.findIndex((function(t){return e===t})),r=this.digitals.findIndex((function(e){return t===e}));this.spacing=Math.abs(r-i)}else this.spacing=1;this.setPosition(t)}}}},mounted:function(){var t=this;this.calcHeight(),this.$el.style.height=this.elHeight+"px",this.setPosition(this.from),setTimeout((function(){t.setPosition(t.to)}),300)},methods:{calcHeight:function(){this.listHeight=this.$refs.$list.clientHeight},setPosition:function(t){var e=this.digitals.findIndex((function(e){return t===e})),i=e*this.elHeight;this.$refs.$list&&(this.$refs.$list.style.transform="translateY(-".concat(i,"px)"))}}},f=p,v=(i("0902"),i("2877")),m=Object(v["a"])(f,u,d,!1,null,"0583a45a",null),g=m.exports,b={name:"DigitalTransfrom",components:{DigitalTransfromScroll:g},props:{value:{validator:c,default:void 0,required:!0},dislocation:{type:Boolean,default:!1},interval:{type:Number,default:500},useGrouping:{type:Boolean,default:!1}},data:function(){return{digitals:[],oldDigtals:[]}},watch:{value:{immediate:!0,handler:function(t){this.parseDigital(t)}}},methods:{parseDigital:function(t){var e=t+"";this.useGrouping&&(e=e.replace(/^-?\d+/g,(function(t){return t.replace(/(?=(?!\b)(\d{3})+$)/g,",")})));var i=e.split("");this.oldDigtals=this.digitals.concat(),this.digitals=i}}},h=b,x=(i("90b1"),Object(v["a"])(h,o,s,!1,null,"17a45c70",null)),_=x.exports,y=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},w=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("h2",[t._v("快速开始")]),i("h3",[t._v("安装")]),i("pre",{staticClass:"hljs",staticStyle:{display:"block","overflow-x":"auto",padding:"0.5em",background:"rgb(43, 43, 43)",color:"rgb(186, 186, 186)"}},[t._v("npm "),i("span",{staticClass:"hljs-keyword",staticStyle:{color:"rgb(203, 120, 50)"}},[t._v("install")]),t._v(" vue-digital-transform")]),i("h3",[t._v("使用")]),i("pre",{staticClass:"hljs",staticStyle:{display:"block","overflow-x":"auto",padding:"0.5em",background:"rgb(43, 43, 43)",color:"rgb(186, 186, 186)"}},[t._v("<"),i("span",{staticClass:"hljs-regexp",staticStyle:{color:"rgb(104, 150, 186)"}},[t._v("/DigitalTransform>")])]),i("pre",{staticClass:"hljs",staticStyle:{display:"block","overflow-x":"auto",padding:"0.5em",background:"rgb(43, 43, 43)",color:"rgb(186, 186, 186)"}},[i("span",{staticClass:"hljs-keyword",staticStyle:{color:"rgb(203, 120, 50)"}},[t._v("import")]),t._v(" DigitalTransform from "),i("span",{staticClass:"hljs-string",staticStyle:{color:"rgb(224, 196, 108)"}},[t._v('"vue-digital-transform"')]),t._v(";\n\nexport "),i("span",{staticClass:"hljs-keyword",staticStyle:{color:"rgb(203, 120, 50)"}},[t._v("default")]),t._v(" {\n components: {\n DigitalTransform\n },\n data() {\n return {\n number: "),i("span",{staticClass:"hljs-number",staticStyle:{color:"rgb(104, 150, 186)"}},[t._v("1000")]),t._v(",\n interval: "),i("span",{staticClass:"hljs-number",staticStyle:{color:"rgb(104, 150, 186)"}},[t._v("500")]),t._v(",\n dislocation: false\n };\n }\n}")])])}],k={},C=k,S=Object(v["a"])(C,y,w,!1,null,"2f44c0d0",null),D=S.exports,j=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("h2",[t._v("时钟")]),i("div",{staticClass:"time"},[i("DigitalTransform",{attrs:{value:t.hours}}),i("span",[t._v(":")]),i("div",[i("DigitalTransform",{attrs:{value:t.minutes}})],1),i("span",[t._v(":")]),i("div",[i("DigitalTransform",{attrs:{value:t.seconds}})],1)],1)])},$=[],M={name:"ClockDemo",components:{DigitalTransform:_},data:function(){return{hours:0,minutes:0,seconds:0}},created:function(){var t=this,e=setInterval((function(){var e=new Date;t.hours=e.getHours().toString().padStart(2,"0"),t.minutes=e.getMinutes().toString().padStart(2,"0"),t.seconds=e.getSeconds().toString().padStart(2,"0")}),1e3);this.$once("hook:beforeDestory",(function(){clearInterval(e)}))}},T=M,O=(i("4f71"),Object(v["a"])(T,j,$,!1,null,"7b20fc0a",null)),H=O.exports,P=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},G=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("h2",[t._v("参数 Props")]),i("h3",[t._v("value")]),i("div",[i("p",[t._v("类型:"),i("code",[t._v("Number")]),t._v(", "),i("code",[t._v("String")])]),i("p",[t._v("默认值:"),i("code",[t._v("undefined")])]),i("p",[t._v(" 需要切换的数字,只能由 "),i("code",[t._v("0-9")]),t._v(" "),i("code",[t._v(".")]),t._v(" "),i("code",[t._v(",")]),t._v(" 组成 ")])]),i("h3",[t._v("dislocation")]),i("div",[i("p",[t._v("类型:"),i("code",[t._v("Boolean")])]),i("p",[t._v("默认值:"),i("code",[t._v("false")])]),i("p",[t._v(" 单个数字是否过渡时间是否不一致,设置该属性为"),i("code",[t._v("true")]),t._v("时一般会将"),i("code",[t._v("interval")]),t._v("调小 ")])]),i("h3",[t._v("interval")]),i("div",[i("p",[t._v("类型:"),i("code",[t._v("Number")])]),i("p",[t._v("默认值:"),i("code",[t._v("500")])]),i("p",[t._v("单个数字过渡时间(ms)")])]),i("h3",[t._v("useGrouping (v1.1.0+)")]),i("div",[i("p",[t._v("类型:"),i("code",[t._v("Boolean")])]),i("p",[t._v("默认值:"),i("code",[t._v("false")])]),i("p",[t._v("是否开启分隔符(对 value 为 "),i("code",[t._v("Number")]),t._v(" 类型的有效)")])])])}],E={name:"DocConfig"},A=E,N=(i("97c6"),Object(v["a"])(A,P,G,!1,null,"1ba5f760",null)),z=N.exports,I=i("9224"),B={name:"App",components:{DigitalTransform:_,DocExample:D,DocConfig:z,ClockDemo:H},data:function(){return{version:I.version,num:1e3,interval:500,dislocation:!1,useGrouping:!1}},methods:{random:function(){var t=Math.ceil(10*Math.random()),e=Math.random().toString().substring(0,t+5);this.num=e*Math.pow(t,10)}}},q=B,J=(i("5c0b"),Object(v["a"])(q,a,n,!1,null,null,null)),U=J.exports;r["a"].config.productionTip=!1,new r["a"]({render:function(t){return t(U)}}).$mount("#app")},"5c0b":function(t,e,i){"use strict";var r=i("0554"),a=i.n(r);a.a},"7cc6":function(t,e,i){var r=i("8b70");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=i("499e").default;a("1d1226f4",r,!0,{sourceMap:!1,shadowMode:!1})},8626:function(t,e,i){var r=i("525e");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=i("499e").default;a("00c53e02",r,!0,{sourceMap:!1,shadowMode:!1})},"8b70":function(t,e,i){var r=i("24fb");e=r(!1),e.push([t.i,"code[data-v-1ba5f760]{background-color:#eee;padding:2px 5px;border-radius:2px;font-weight:700}",""]),t.exports=e},"90b1":function(t,e,i){"use strict";var r=i("8626"),a=i.n(r);a.a},9224:function(t){t.exports=JSON.parse('{"name":"vue-digital-transform","version":"1.1.1","private":false,"main":"dist/vue-digital-transform.umd.min.js","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build --target lib --name vue-digital-transform \'./src/components/DigitalTransform.vue\'","build:docs":"vue-cli-service build --dest docs","build:all":"npm run build & npm run build:docs","test:unit":"vue-cli-service test:unit","lint":"vue-cli-service lint --fix"},"dependencies":{"vue":"^2.6.11"},"devDependencies":{"@vue/cli-plugin-babel":"~4.2.0","@vue/cli-plugin-eslint":"~4.2.0","@vue/cli-plugin-unit-jest":"~4.2.0","@vue/cli-service":"~4.2.0","@vue/eslint-config-prettier":"^6.0.0","@vue/test-utils":"1.0.0-beta.31","babel-eslint":"^10.0.3","eslint":"^6.7.2","eslint-plugin-prettier":"^3.1.1","eslint-plugin-vue":"^6.1.2","prettier":"^1.19.1","sass":"^1.25.0","sass-loader":"^8.0.2","vue-template-compiler":"^2.6.11"},"repository":{"type":"git","url":"https://github.com/DakerHub/vue-digital-transform.git"},"keywords":["vue","vue-component","digital-animation"],"author":"DakerHub","license":"MIT"}')},9258:function(t,e,i){var r=i("5556");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=i("499e").default;a("779de7f4",r,!0,{sourceMap:!1,shadowMode:!1})},"96a4":function(t,e,i){var r=i("24fb");e=r(!1),e.push([t.i,".container{position:relative;overflow-x:hidden;width:100vw;margin-bottom:50px}body{margin:0}#app{width:100%;font-family:PingFang SC Regular,Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;max-width:800px;margin:0 auto}h1{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:40px 0;padding-bottom:20px;border-bottom:thin solid #eee}h1,h1 img{height:60px}h1 img{margin-right:20px}.star-me{position:absolute;right:-50px;top:25px;height:40px;width:200px;text-align:center;line-height:40px;font-size:12px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background-color:#4caf50;color:#fff;font-weight:700;-webkit-transition:all .3s;transition:all .3s;text-decoration:none}.star-me:hover{-webkit-box-shadow:-1px 3px 4px #1d581f;box-shadow:-1px 3px 4px #1d581f;text-decoration:underline;right:-54px;top:23px}.shield{margin-right:5px}.desc{margin:20px 0}fieldset{text-align:left}.ctrl .ctrl-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:15px}.ctrl .ctrl-item label{width:120px;text-align:right}.ctrl button,.ctrl input:not([type=checkbox]){height:32px;border-radius:4px;padding:0 10px;border:thin solid #ccc;outline:none;margin-right:15px;-webkit-transition:all .3s;transition:all .3s}.ctrl input:not([type=checkbox]):hover{border-color:#4caf50}.ctrl input:not([type=checkbox]):focus{-webkit-box-shadow:0 0 0 2px #9cdc9f;box-shadow:0 0 0 2px #9cdc9f;border-color:#4caf50}.ctrl button{cursor:pointer}.ctrl button:hover{background-color:#fafafa}.ctrl button:active{background-color:#eee}.demo-box{-webkit-box-shadow:0 0 11px 0 rgba(0,0,0,.12);box-shadow:0 0 11px 0 rgba(0,0,0,.12);padding:20px;border-radius:4px}.demo{border:thin solid #ccc;padding:10px 20px;border-radius:4px;margin:0 auto}.digital-transform{font-size:30px;font-weight:700;color:#4caf50}@media screen and (max-width:600px){.container{padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}h1{word-break:break-all;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:unset}.ctrl .ctrl-item{-ms-flex-wrap:wrap;flex-wrap:wrap}.ctrl .ctrl-item label{width:100%;text-align:left}.ctrl .ctrl-item input:not([type=checkbox]){width:100%;margin:0}.ctrl .ctrl-item button{width:100%;margin:10px 0}.demo{padding:5px 0;border:none}}",""]),t.exports=e},"97c6":function(t,e,i){"use strict";var r=i("7cc6"),a=i.n(r);a.a},c1ce:function(t,e,i){var r=i("24fb");e=r(!1),e.push([t.i,".time[data-v-7b20fc0a]{display:-webkit-box;display:-ms-flexbox;display:flex;font-size:30px;font-weight:700;color:#4caf50}",""]),t.exports=e},f38f:function(t,e,i){var r=i("c1ce");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=i("499e").default;a("46b217cb",r,!0,{sourceMap:!1,shadowMode:!1})}}); 2 | //# sourceMappingURL=app.0f4ea84d.js.map -------------------------------------------------------------------------------- /dist/vue-digital-transform.common.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack://vue-digital-transform/webpack/bootstrap","webpack://vue-digital-transform/./src/components/DigitalTransfromScroll.vue?f2b9","webpack://vue-digital-transform/./node_modules/css-loader/dist/runtime/api.js","webpack://vue-digital-transform/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://vue-digital-transform/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://vue-digital-transform/./src/components/DigitalTransform.vue?8f8c","webpack://vue-digital-transform/./src/components/DigitalTransfromScroll.vue?b4f7","webpack://vue-digital-transform/./src/components/DigitalTransform.vue?33b1","webpack://vue-digital-transform/./src/components/DigitalTransform.vue?43e6","webpack://vue-digital-transform/./src/components/DigitalTransfromScroll.vue?c99c","webpack://vue-digital-transform/./node_modules/current-script-polyfill/currentScript.js","webpack://vue-digital-transform/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-digital-transform/./src/components/DigitalTransform.vue?f957","webpack://vue-digital-transform/./src/components/helper.js","webpack://vue-digital-transform/./src/components/DigitalTransfromScroll.vue?b738","webpack://vue-digital-transform/src/components/DigitalTransfromScroll.vue","webpack://vue-digital-transform/./src/components/DigitalTransfromScroll.vue?d940","webpack://vue-digital-transform/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://vue-digital-transform/./src/components/DigitalTransfromScroll.vue","webpack://vue-digital-transform/src/components/DigitalTransform.vue","webpack://vue-digital-transform/./src/components/DigitalTransform.vue?2115","webpack://vue-digital-transform/./src/components/DigitalTransform.vue","webpack://vue-digital-transform/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["digitalValidator","value","test","toString","looseDigitalValidator","undefined"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;AClFA;AAAA;AAAA;AAAulB,CAAgB,qnBAAG,EAAC,C;;;;;;;;ACA9lB;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;;AAEhB;AACA;AACA;;AAEA;AACA,4CAA4C,qBAAqB;AACjE;;AAEA;AACA,KAAK;AACL,IAAI;AACJ;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,qBAAqB,iBAAiB;AACtC;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB,qBAAqB;AACzC;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,8BAA8B;;AAE9B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA,CAAC;;;AAGD;AACA;AACA;AACA,qDAAqD,cAAc;AACnE;AACA,C;;;;;;;;;;;;;;;AC7FA;AACA;AACA;AACA;AACe;AACf;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,wBAAwB;AAC3D,KAAK;AACL;AACA;AACA;AACA;AACA;;;AC1BA;AACA;AACA;AACA;AACA;;AAEyC;;AAEzC;;AAEA;AACA;AACA;AACA;AACA,UAAU,iBAAiB;AAC3B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEe;AACf;;AAEA;;AAEA,eAAe,YAAY;AAC3B;;AAEA;AACA;AACA,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA,KAAK;AACL;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA,uBAAuB,2BAA2B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB;AACpC;AACA;AACA;AACA;AACA,qBAAqB,2BAA2B;AAChD;AACA;AACA,YAAY,uBAAuB;AACnC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,qBAAqB,uBAAuB;AAC5C;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7NA;AACA,kCAAkC,mBAAO,CAAC,MAAmD;AAC7F;AACA;AACA,cAAc,QAAS,uCAAuC,2BAA2B,2BAA2B,oBAAoB,yCAAyC,qBAAqB,qDAAqD,6CAA6C,qCAAqC,2DAA2D,2EAA2E,UAAU,mCAAmC,2BAA2B;AAC3hB;AACA;;;;;;;;ACNA;AACA,kCAAkC,mBAAO,CAAC,MAAmD;AAC7F;AACA;AACA,cAAc,QAAS,+BAA+B,gBAAgB,qBAAqB,aAAa,iCAAiC,2BAA2B,2BAA2B,oBAAoB,4BAA4B,6BAA6B,0BAA0B,sBAAsB,8CAA8C,sCAAsC,8BAA8B,gDAAgD,+DAA+D,uDAAuD;AACplB;AACA;;;;;;;;ACNA;;AAEA;AACA,cAAc,mBAAO,CAAC,MAAigB;AACvhB,4CAA4C,QAAS;AACrD;AACA;AACA,UAAU,mBAAO,CAAC,MAA6D;AAC/E,6CAA6C,qCAAqC,E;;;;;;;;ACRlF;AAAA;AAAA;AAAilB,CAAgB,+mBAAG,EAAC,C;;;;;;;ACArmB;;AAEA;AACA,cAAc,mBAAO,CAAC,MAAugB;AAC7hB,4CAA4C,QAAS;AACrD;AACA;AACA,UAAU,mBAAO,CAAC,MAA6D;AAC/E,6CAA6C,qCAAqC,E;;;;;;;ACRlF;;AAEA;;AAEA;AACA;AACA,wDAAwD;;AAExD;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,mBAAmB;AAChC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;;ACnCD;;AAEA;AACA,MAAM,IAAuC;AAC7C,IAAI,mBAAO,CAAC,MAAyB;AACrC;;AAEA;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACe,sDAAI;;;ACdnB,0BAA0B,aAAa,0BAA0B,wBAAwB,8BAA8B,uCAAuC,kCAAkC,wCAAwC,oCAAoC,kDAAkD,4EAA4E,yBAAyB;AACna;;;;;;ACDO,SAASA,gBAAT,CAA0BC,KAA1B,EAAiC;AACtC,SAAO,iBAAiBC,IAAjB,CAAsBD,KAAK,CAACE,QAAN,EAAtB,CAAP;AACD;AAEM,SAASC,qBAAT,CAA+BH,KAA/B,EAAsC;AAC3C,MAAIA,KAAK,KAAKI,SAAV,IAAuBJ,KAAK,KAAK,IAAjC,IAAyCA,KAAK,KAAK,EAAvD,EAA2D,OAAO,IAAP;AAE3D,SAAO,eAAeC,IAAf,CAAoBD,KAAK,CAACE,QAAN,EAApB,CAAP;AACD,C;;ACRD,IAAI,sEAAM,gBAAgB,aAAa,0BAA0B,wBAAwB,iBAAiB,wBAAwB,YAAY,+DAA+D,sCAAsC,kBAAkB,yCAAyC,iCAAiC;AAC/U,IAAI,+EAAe;;;;;;;;;;;;;;;;ACUnB;AAEA;AACA,gCADA;AAEA;AACA;AACA,iCADA;AAEA;AAFA,KADA;AAKA;AACA,iCADA;AAEA;AAFA,KALA;AASA;AACA,mBADA;AAEA;AAFA,KATA;AAaA;AACA,kBADA;AAEA;AAFA;AAbA,GAFA;AAoBA,MApBA,kBAoBA;AACA;AACA,4EADA;AAEA,mBAFA;AAGA;AAHA;AAKA,GA1BA;AA2BA;AACA,aADA,uBACA;AACA;AACA;AADA;AAGA,KALA;AAMA,YANA,sBAMA;AACA;AACA;AARA,GA3BA;AAqCA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,MAFA,EAEA,MAFA,EAEA;AACA;;AAEA;AACA;AAAA;AAAA;AACA;AAAA;AAAA;AACA;AACA,SAJA,MAIA;AACA;AACA;;AAEA;AACA;AAdA;AADA,GArCA;AAuDA,SAvDA,qBAuDA;AAAA;;AACA;AACA;AAEA;AAEA;AACA;AACA,KAFA,EAEA,GAFA;AAGA,GAhEA;AAiEA;AACA,cADA,wBACA;AACA;AACA,KAHA;AAIA,eAJA,uBAIA,MAJA,EAIA;AACA;AAAA;AAAA;AACA;AAEA;AACA;AACA;AAVA;AAjEA,G;;ACbgV,CAAgB,4IAAG,EAAC,C;;;;;ACApW;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC5FiH;AACvC;AACL;AACsC;;;AAG3G;AAC0F;AAC1F,gBAAgB,kBAAU;AAC1B,EAAE,yDAAM;AACR,EAAE,sEAAM;AACR,EAAE,+EAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,4E;;;;;;;;;;;;;;;;;ACHf;AACA;AAEA;AACA,0BADA;AAEA;AACA;AADA,GAFA;AAKA;AACA;AACA,sCADA;AAEA,wBAFA;AAGA;AAHA,KADA;AAMA;AACA,mBADA;AAEA;AAFA,KANA;AAUA;AACA,kBADA;AAEA;AAFA,KAVA;AAcA;AACA,mBADA;AAEA;AAFA;AAdA,GALA;AAwBA,MAxBA,kBAwBA;AACA;AACA,kBADA;AAEA;AAFA;AAIA,GA7BA;AA8BA;AACA;AACA,qBADA;AAEA,aAFA,mBAEA,KAFA,EAEA;AACA;AACA;AAJA;AADA,GA9BA;AAsCA;AACA,gBADA,wBACA,QADA,EACA;AACA;;AAEA;AACA;AAAA,iBACA,sCADA;AAAA;AAGA;;AAEA;AAEA;AACA;AACA;AAdA;AAtCA,G;;ACnB0U,CAAgB,gIAAG,EAAC,C;;;;;ACAnP;AACvC;AACL;AACsC;;;AAGrG;AAC0F;AAC1F,IAAI,0BAAS,GAAG,kBAAU;AAC1B,EAAE,mDAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,+EAAS,Q;;ACnBA;AACA;AACT,+FAAG;AACI","file":"vue-digital-transform.common.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","import mod from \"-!../../node_modules/vue-style-loader/index.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransfromScroll.vue?vue&type=style&index=0&id=0583a45a&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/vue-style-loader/index.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransfromScroll.vue?vue&type=style&index=0&id=0583a45a&lang=scss&scoped=true&\"","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of \n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DigitalTransfromScroll.vue?vue&type=template&id=0583a45a&scoped=true&\"\nimport script from \"./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"\nexport * from \"./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DigitalTransfromScroll.vue?vue&type=style&index=0&id=0583a45a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0583a45a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransform.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransform.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DigitalTransform.vue?vue&type=template&id=17a45c70&scoped=true&\"\nimport script from \"./DigitalTransform.vue?vue&type=script&lang=js&\"\nexport * from \"./DigitalTransform.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DigitalTransform.vue?vue&type=style&index=0&id=17a45c70&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17a45c70\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} -------------------------------------------------------------------------------- /dist/vue-digital-transform.common.js: -------------------------------------------------------------------------------- 1 | module.exports = 2 | /******/ (function(modules) { // webpackBootstrap 3 | /******/ // The module cache 4 | /******/ var installedModules = {}; 5 | /******/ 6 | /******/ // The require function 7 | /******/ function __webpack_require__(moduleId) { 8 | /******/ 9 | /******/ // Check if module is in cache 10 | /******/ if(installedModules[moduleId]) { 11 | /******/ return installedModules[moduleId].exports; 12 | /******/ } 13 | /******/ // Create a new module (and put it into the cache) 14 | /******/ var module = installedModules[moduleId] = { 15 | /******/ i: moduleId, 16 | /******/ l: false, 17 | /******/ exports: {} 18 | /******/ }; 19 | /******/ 20 | /******/ // Execute the module function 21 | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 22 | /******/ 23 | /******/ // Flag the module as loaded 24 | /******/ module.l = true; 25 | /******/ 26 | /******/ // Return the exports of the module 27 | /******/ return module.exports; 28 | /******/ } 29 | /******/ 30 | /******/ 31 | /******/ // expose the modules object (__webpack_modules__) 32 | /******/ __webpack_require__.m = modules; 33 | /******/ 34 | /******/ // expose the module cache 35 | /******/ __webpack_require__.c = installedModules; 36 | /******/ 37 | /******/ // define getter function for harmony exports 38 | /******/ __webpack_require__.d = function(exports, name, getter) { 39 | /******/ if(!__webpack_require__.o(exports, name)) { 40 | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); 41 | /******/ } 42 | /******/ }; 43 | /******/ 44 | /******/ // define __esModule on exports 45 | /******/ __webpack_require__.r = function(exports) { 46 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 47 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 48 | /******/ } 49 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); 50 | /******/ }; 51 | /******/ 52 | /******/ // create a fake namespace object 53 | /******/ // mode & 1: value is a module id, require it 54 | /******/ // mode & 2: merge all properties of value into the ns 55 | /******/ // mode & 4: return value when already ns object 56 | /******/ // mode & 8|1: behave like require 57 | /******/ __webpack_require__.t = function(value, mode) { 58 | /******/ if(mode & 1) value = __webpack_require__(value); 59 | /******/ if(mode & 8) return value; 60 | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; 61 | /******/ var ns = Object.create(null); 62 | /******/ __webpack_require__.r(ns); 63 | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); 64 | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); 65 | /******/ return ns; 66 | /******/ }; 67 | /******/ 68 | /******/ // getDefaultExport function for compatibility with non-harmony modules 69 | /******/ __webpack_require__.n = function(module) { 70 | /******/ var getter = module && module.__esModule ? 71 | /******/ function getDefault() { return module['default']; } : 72 | /******/ function getModuleExports() { return module; }; 73 | /******/ __webpack_require__.d(getter, 'a', getter); 74 | /******/ return getter; 75 | /******/ }; 76 | /******/ 77 | /******/ // Object.prototype.hasOwnProperty.call 78 | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 79 | /******/ 80 | /******/ // __webpack_public_path__ 81 | /******/ __webpack_require__.p = ""; 82 | /******/ 83 | /******/ 84 | /******/ // Load entry module and return exports 85 | /******/ return __webpack_require__(__webpack_require__.s = "fb15"); 86 | /******/ }) 87 | /************************************************************************/ 88 | /******/ ({ 89 | 90 | /***/ "0902": 91 | /***/ (function(module, __webpack_exports__, __webpack_require__) { 92 | 93 | "use strict"; 94 | /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9258"); 95 | /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); 96 | /* unused harmony reexport * */ 97 | /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); 98 | 99 | /***/ }), 100 | 101 | /***/ "24fb": 102 | /***/ (function(module, exports, __webpack_require__) { 103 | 104 | "use strict"; 105 | 106 | 107 | /* 108 | MIT License http://www.opensource.org/licenses/mit-license.php 109 | Author Tobias Koppers @sokra 110 | */ 111 | // css base code, injected by the css-loader 112 | // eslint-disable-next-line func-names 113 | module.exports = function (useSourceMap) { 114 | var list = []; // return the list of modules as css string 115 | 116 | list.toString = function toString() { 117 | return this.map(function (item) { 118 | var content = cssWithMappingToString(item, useSourceMap); 119 | 120 | if (item[2]) { 121 | return "@media ".concat(item[2], " {").concat(content, "}"); 122 | } 123 | 124 | return content; 125 | }).join(''); 126 | }; // import a list of modules into the list 127 | // eslint-disable-next-line func-names 128 | 129 | 130 | list.i = function (modules, mediaQuery, dedupe) { 131 | if (typeof modules === 'string') { 132 | // eslint-disable-next-line no-param-reassign 133 | modules = [[null, modules, '']]; 134 | } 135 | 136 | var alreadyImportedModules = {}; 137 | 138 | if (dedupe) { 139 | for (var i = 0; i < this.length; i++) { 140 | // eslint-disable-next-line prefer-destructuring 141 | var id = this[i][0]; 142 | 143 | if (id != null) { 144 | alreadyImportedModules[id] = true; 145 | } 146 | } 147 | } 148 | 149 | for (var _i = 0; _i < modules.length; _i++) { 150 | var item = [].concat(modules[_i]); 151 | 152 | if (dedupe && alreadyImportedModules[item[0]]) { 153 | // eslint-disable-next-line no-continue 154 | continue; 155 | } 156 | 157 | if (mediaQuery) { 158 | if (!item[2]) { 159 | item[2] = mediaQuery; 160 | } else { 161 | item[2] = "".concat(mediaQuery, " and ").concat(item[2]); 162 | } 163 | } 164 | 165 | list.push(item); 166 | } 167 | }; 168 | 169 | return list; 170 | }; 171 | 172 | function cssWithMappingToString(item, useSourceMap) { 173 | var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring 174 | 175 | var cssMapping = item[3]; 176 | 177 | if (!cssMapping) { 178 | return content; 179 | } 180 | 181 | if (useSourceMap && typeof btoa === 'function') { 182 | var sourceMapping = toComment(cssMapping); 183 | var sourceURLs = cssMapping.sources.map(function (source) { 184 | return "/*# sourceURL=".concat(cssMapping.sourceRoot || '').concat(source, " */"); 185 | }); 186 | return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); 187 | } 188 | 189 | return [content].join('\n'); 190 | } // Adapted from convert-source-map (MIT) 191 | 192 | 193 | function toComment(sourceMap) { 194 | // eslint-disable-next-line no-undef 195 | var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); 196 | var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64); 197 | return "/*# ".concat(data, " */"); 198 | } 199 | 200 | /***/ }), 201 | 202 | /***/ "499e": 203 | /***/ (function(module, __webpack_exports__, __webpack_require__) { 204 | 205 | "use strict"; 206 | // ESM COMPAT FLAG 207 | __webpack_require__.r(__webpack_exports__); 208 | 209 | // EXPORTS 210 | __webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ addStylesClient; }); 211 | 212 | // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js 213 | /** 214 | * Translates the list format produced by css-loader into something 215 | * easier to manipulate. 216 | */ 217 | function listToStyles (parentId, list) { 218 | var styles = [] 219 | var newStyles = {} 220 | for (var i = 0; i < list.length; i++) { 221 | var item = list[i] 222 | var id = item[0] 223 | var css = item[1] 224 | var media = item[2] 225 | var sourceMap = item[3] 226 | var part = { 227 | id: parentId + ':' + i, 228 | css: css, 229 | media: media, 230 | sourceMap: sourceMap 231 | } 232 | if (!newStyles[id]) { 233 | styles.push(newStyles[id] = { id: id, parts: [part] }) 234 | } else { 235 | newStyles[id].parts.push(part) 236 | } 237 | } 238 | return styles 239 | } 240 | 241 | // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js 242 | /* 243 | MIT License http://www.opensource.org/licenses/mit-license.php 244 | Author Tobias Koppers @sokra 245 | Modified by Evan You @yyx990803 246 | */ 247 | 248 | 249 | 250 | var hasDocument = typeof document !== 'undefined' 251 | 252 | if (typeof DEBUG !== 'undefined' && DEBUG) { 253 | if (!hasDocument) { 254 | throw new Error( 255 | 'vue-style-loader cannot be used in a non-browser environment. ' + 256 | "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." 257 | ) } 258 | } 259 | 260 | /* 261 | type StyleObject = { 262 | id: number; 263 | parts: Array 264 | } 265 | 266 | type StyleObjectPart = { 267 | css: string; 268 | media: string; 269 | sourceMap: ?string 270 | } 271 | */ 272 | 273 | var stylesInDom = {/* 274 | [id: number]: { 275 | id: number, 276 | refs: number, 277 | parts: Array<(obj?: StyleObjectPart) => void> 278 | } 279 | */} 280 | 281 | var head = hasDocument && (document.head || document.getElementsByTagName('head')[0]) 282 | var singletonElement = null 283 | var singletonCounter = 0 284 | var isProduction = false 285 | var noop = function () {} 286 | var options = null 287 | var ssrIdKey = 'data-vue-ssr-id' 288 | 289 | // Force single-tag solution on IE6-9, which has a hard limit on the # of \n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./DigitalTransfromScroll.vue?vue&type=template&id=0583a45a&scoped=true&\"\nimport script from \"./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"\nexport * from \"./DigitalTransfromScroll.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DigitalTransfromScroll.vue?vue&type=style&index=0&id=0583a45a&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0583a45a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransform.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DigitalTransform.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DigitalTransform.vue?vue&type=template&id=17a45c70&scoped=true&\"\nimport script from \"./DigitalTransform.vue?vue&type=script&lang=js&\"\nexport * from \"./DigitalTransform.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DigitalTransform.vue?vue&type=style&index=0&id=17a45c70&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17a45c70\",\n null\n \n)\n\nexport default component.exports","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} -------------------------------------------------------------------------------- /dist/vue-digital-transform.umd.js: -------------------------------------------------------------------------------- 1 | (function webpackUniversalModuleDefinition(root, factory) { 2 | if(typeof exports === 'object' && typeof module === 'object') 3 | module.exports = factory(); 4 | else if(typeof define === 'function' && define.amd) 5 | define([], factory); 6 | else if(typeof exports === 'object') 7 | exports["vue-digital-transform"] = factory(); 8 | else 9 | root["vue-digital-transform"] = factory(); 10 | })((typeof self !== 'undefined' ? self : this), function() { 11 | return /******/ (function(modules) { // webpackBootstrap 12 | /******/ // The module cache 13 | /******/ var installedModules = {}; 14 | /******/ 15 | /******/ // The require function 16 | /******/ function __webpack_require__(moduleId) { 17 | /******/ 18 | /******/ // Check if module is in cache 19 | /******/ if(installedModules[moduleId]) { 20 | /******/ return installedModules[moduleId].exports; 21 | /******/ } 22 | /******/ // Create a new module (and put it into the cache) 23 | /******/ var module = installedModules[moduleId] = { 24 | /******/ i: moduleId, 25 | /******/ l: false, 26 | /******/ exports: {} 27 | /******/ }; 28 | /******/ 29 | /******/ // Execute the module function 30 | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 31 | /******/ 32 | /******/ // Flag the module as loaded 33 | /******/ module.l = true; 34 | /******/ 35 | /******/ // Return the exports of the module 36 | /******/ return module.exports; 37 | /******/ } 38 | /******/ 39 | /******/ 40 | /******/ // expose the modules object (__webpack_modules__) 41 | /******/ __webpack_require__.m = modules; 42 | /******/ 43 | /******/ // expose the module cache 44 | /******/ __webpack_require__.c = installedModules; 45 | /******/ 46 | /******/ // define getter function for harmony exports 47 | /******/ __webpack_require__.d = function(exports, name, getter) { 48 | /******/ if(!__webpack_require__.o(exports, name)) { 49 | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); 50 | /******/ } 51 | /******/ }; 52 | /******/ 53 | /******/ // define __esModule on exports 54 | /******/ __webpack_require__.r = function(exports) { 55 | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 56 | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 57 | /******/ } 58 | /******/ Object.defineProperty(exports, '__esModule', { value: true }); 59 | /******/ }; 60 | /******/ 61 | /******/ // create a fake namespace object 62 | /******/ // mode & 1: value is a module id, require it 63 | /******/ // mode & 2: merge all properties of value into the ns 64 | /******/ // mode & 4: return value when already ns object 65 | /******/ // mode & 8|1: behave like require 66 | /******/ __webpack_require__.t = function(value, mode) { 67 | /******/ if(mode & 1) value = __webpack_require__(value); 68 | /******/ if(mode & 8) return value; 69 | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; 70 | /******/ var ns = Object.create(null); 71 | /******/ __webpack_require__.r(ns); 72 | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); 73 | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); 74 | /******/ return ns; 75 | /******/ }; 76 | /******/ 77 | /******/ // getDefaultExport function for compatibility with non-harmony modules 78 | /******/ __webpack_require__.n = function(module) { 79 | /******/ var getter = module && module.__esModule ? 80 | /******/ function getDefault() { return module['default']; } : 81 | /******/ function getModuleExports() { return module; }; 82 | /******/ __webpack_require__.d(getter, 'a', getter); 83 | /******/ return getter; 84 | /******/ }; 85 | /******/ 86 | /******/ // Object.prototype.hasOwnProperty.call 87 | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 88 | /******/ 89 | /******/ // __webpack_public_path__ 90 | /******/ __webpack_require__.p = ""; 91 | /******/ 92 | /******/ 93 | /******/ // Load entry module and return exports 94 | /******/ return __webpack_require__(__webpack_require__.s = "fb15"); 95 | /******/ }) 96 | /************************************************************************/ 97 | /******/ ({ 98 | 99 | /***/ "0902": 100 | /***/ (function(module, __webpack_exports__, __webpack_require__) { 101 | 102 | "use strict"; 103 | /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9258"); 104 | /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); 105 | /* unused harmony reexport * */ 106 | /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DigitalTransfromScroll_vue_vue_type_style_index_0_id_0583a45a_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); 107 | 108 | /***/ }), 109 | 110 | /***/ "24fb": 111 | /***/ (function(module, exports, __webpack_require__) { 112 | 113 | "use strict"; 114 | 115 | 116 | /* 117 | MIT License http://www.opensource.org/licenses/mit-license.php 118 | Author Tobias Koppers @sokra 119 | */ 120 | // css base code, injected by the css-loader 121 | // eslint-disable-next-line func-names 122 | module.exports = function (useSourceMap) { 123 | var list = []; // return the list of modules as css string 124 | 125 | list.toString = function toString() { 126 | return this.map(function (item) { 127 | var content = cssWithMappingToString(item, useSourceMap); 128 | 129 | if (item[2]) { 130 | return "@media ".concat(item[2], " {").concat(content, "}"); 131 | } 132 | 133 | return content; 134 | }).join(''); 135 | }; // import a list of modules into the list 136 | // eslint-disable-next-line func-names 137 | 138 | 139 | list.i = function (modules, mediaQuery, dedupe) { 140 | if (typeof modules === 'string') { 141 | // eslint-disable-next-line no-param-reassign 142 | modules = [[null, modules, '']]; 143 | } 144 | 145 | var alreadyImportedModules = {}; 146 | 147 | if (dedupe) { 148 | for (var i = 0; i < this.length; i++) { 149 | // eslint-disable-next-line prefer-destructuring 150 | var id = this[i][0]; 151 | 152 | if (id != null) { 153 | alreadyImportedModules[id] = true; 154 | } 155 | } 156 | } 157 | 158 | for (var _i = 0; _i < modules.length; _i++) { 159 | var item = [].concat(modules[_i]); 160 | 161 | if (dedupe && alreadyImportedModules[item[0]]) { 162 | // eslint-disable-next-line no-continue 163 | continue; 164 | } 165 | 166 | if (mediaQuery) { 167 | if (!item[2]) { 168 | item[2] = mediaQuery; 169 | } else { 170 | item[2] = "".concat(mediaQuery, " and ").concat(item[2]); 171 | } 172 | } 173 | 174 | list.push(item); 175 | } 176 | }; 177 | 178 | return list; 179 | }; 180 | 181 | function cssWithMappingToString(item, useSourceMap) { 182 | var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring 183 | 184 | var cssMapping = item[3]; 185 | 186 | if (!cssMapping) { 187 | return content; 188 | } 189 | 190 | if (useSourceMap && typeof btoa === 'function') { 191 | var sourceMapping = toComment(cssMapping); 192 | var sourceURLs = cssMapping.sources.map(function (source) { 193 | return "/*# sourceURL=".concat(cssMapping.sourceRoot || '').concat(source, " */"); 194 | }); 195 | return [content].concat(sourceURLs).concat([sourceMapping]).join('\n'); 196 | } 197 | 198 | return [content].join('\n'); 199 | } // Adapted from convert-source-map (MIT) 200 | 201 | 202 | function toComment(sourceMap) { 203 | // eslint-disable-next-line no-undef 204 | var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))); 205 | var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64); 206 | return "/*# ".concat(data, " */"); 207 | } 208 | 209 | /***/ }), 210 | 211 | /***/ "499e": 212 | /***/ (function(module, __webpack_exports__, __webpack_require__) { 213 | 214 | "use strict"; 215 | // ESM COMPAT FLAG 216 | __webpack_require__.r(__webpack_exports__); 217 | 218 | // EXPORTS 219 | __webpack_require__.d(__webpack_exports__, "default", function() { return /* binding */ addStylesClient; }); 220 | 221 | // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/listToStyles.js 222 | /** 223 | * Translates the list format produced by css-loader into something 224 | * easier to manipulate. 225 | */ 226 | function listToStyles (parentId, list) { 227 | var styles = [] 228 | var newStyles = {} 229 | for (var i = 0; i < list.length; i++) { 230 | var item = list[i] 231 | var id = item[0] 232 | var css = item[1] 233 | var media = item[2] 234 | var sourceMap = item[3] 235 | var part = { 236 | id: parentId + ':' + i, 237 | css: css, 238 | media: media, 239 | sourceMap: sourceMap 240 | } 241 | if (!newStyles[id]) { 242 | styles.push(newStyles[id] = { id: id, parts: [part] }) 243 | } else { 244 | newStyles[id].parts.push(part) 245 | } 246 | } 247 | return styles 248 | } 249 | 250 | // CONCATENATED MODULE: ./node_modules/vue-style-loader/lib/addStylesClient.js 251 | /* 252 | MIT License http://www.opensource.org/licenses/mit-license.php 253 | Author Tobias Koppers @sokra 254 | Modified by Evan You @yyx990803 255 | */ 256 | 257 | 258 | 259 | var hasDocument = typeof document !== 'undefined' 260 | 261 | if (typeof DEBUG !== 'undefined' && DEBUG) { 262 | if (!hasDocument) { 263 | throw new Error( 264 | 'vue-style-loader cannot be used in a non-browser environment. ' + 265 | "Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." 266 | ) } 267 | } 268 | 269 | /* 270 | type StyleObject = { 271 | id: number; 272 | parts: Array 273 | } 274 | 275 | type StyleObjectPart = { 276 | css: string; 277 | media: string; 278 | sourceMap: ?string 279 | } 280 | */ 281 | 282 | var stylesInDom = {/* 283 | [id: number]: { 284 | id: number, 285 | refs: number, 286 | parts: Array<(obj?: StyleObjectPart) => void> 287 | } 288 | */} 289 | 290 | var head = hasDocument && (document.head || document.getElementsByTagName('head')[0]) 291 | var singletonElement = null 292 | var singletonCounter = 0 293 | var isProduction = false 294 | var noop = function () {} 295 | var options = null 296 | var ssrIdKey = 'data-vue-ssr-id' 297 | 298 | // Force single-tag solution on IE6-9, which has a hard limit on the # of