first commit
This commit is contained in:
21
app_vue/node_modules/@vue/babel-helper-vue-transform-on/LICENSE
generated
vendored
Normal file
21
app_vue/node_modules/@vue/babel-helper-vue-transform-on/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020-present vuejs
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
5
app_vue/node_modules/@vue/babel-helper-vue-transform-on/README.md
generated
vendored
Normal file
5
app_vue/node_modules/@vue/babel-helper-vue-transform-on/README.md
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# @vue/babel-helper-vue-transform-on
|
||||
|
||||
A package used internally by vue jsx transformer to transform events.
|
||||
|
||||
on: { click: xx } --> onClick: xx
|
4
app_vue/node_modules/@vue/babel-helper-vue-transform-on/index.d.ts
generated
vendored
Normal file
4
app_vue/node_modules/@vue/babel-helper-vue-transform-on/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
declare function transformOn(
|
||||
obj: Record<string, any>
|
||||
): Record<`on${string}`, any>;
|
||||
export = transformOn;
|
9
app_vue/node_modules/@vue/babel-helper-vue-transform-on/index.js
generated
vendored
Normal file
9
app_vue/node_modules/@vue/babel-helper-vue-transform-on/index.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
const transformOn = (obj) => {
|
||||
const result = {};
|
||||
Object.keys(obj).forEach((evt) => {
|
||||
result[`on${evt[0].toUpperCase()}${evt.slice(1)}`] = obj[evt];
|
||||
});
|
||||
return result;
|
||||
};
|
||||
|
||||
module.exports = transformOn;
|
14
app_vue/node_modules/@vue/babel-helper-vue-transform-on/package.json
generated
vendored
Normal file
14
app_vue/node_modules/@vue/babel-helper-vue-transform-on/package.json
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "@vue/babel-helper-vue-transform-on",
|
||||
"version": "1.4.0",
|
||||
"type": "commonjs",
|
||||
"description": "to help transform on",
|
||||
"author": "Amour1688 <lcz_1996@foxmail.com>",
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vuejs/babel-plugin-jsx.git"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user