@riskdefy/chargebacks 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chargebacks.css +1 -0
- package/dist/chargebacks.es.js +24 -0
- package/dist/chargebacks.umd.js +1 -0
- package/package.json +25 -0
- package/src/components/Chargebacks.vue +18 -0
- package/src/index.js +9 -0
- package/vite.config.js +22 -0
@@ -0,0 +1 @@
|
|
1
|
+
.chargebacks[data-v-dc14aa5f]{border:1px solid #ddd;padding:10px;border-radius:5px}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { createElementBlock as s, openBlock as r, createElementVNode as o } from "vue";
|
2
|
+
const l = (e, t) => {
|
3
|
+
const a = e.__vccOpts || e;
|
4
|
+
for (const [n, c] of t)
|
5
|
+
a[n] = c;
|
6
|
+
return a;
|
7
|
+
}, p = {
|
8
|
+
name: "Chargebacks"
|
9
|
+
}, d = { class: "chargebacks" };
|
10
|
+
function _(e, t, a, n, c, k) {
|
11
|
+
return r(), s("div", d, t[0] || (t[0] = [
|
12
|
+
o("h2", null, "Chargebacks Component", -1),
|
13
|
+
o("p", null, "Displaying chargeback data...", -1)
|
14
|
+
]));
|
15
|
+
}
|
16
|
+
const i = /* @__PURE__ */ l(p, [["render", _], ["__scopeId", "data-v-dc14aa5f"]]), g = {
|
17
|
+
install(e) {
|
18
|
+
e.component("Chargebacks", i);
|
19
|
+
}
|
20
|
+
};
|
21
|
+
export {
|
22
|
+
i as Chargebacks,
|
23
|
+
g as default
|
24
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.Chargebacks={},e.Vue))})(this,function(e,t){"use strict";const d=(n,o)=>{const a=n.__vccOpts||n;for(const[c,r]of o)a[c]=r;return a},i={name:"Chargebacks"},l={class:"chargebacks"};function u(n,o,a,c,r,p){return t.openBlock(),t.createElementBlock("div",l,o[0]||(o[0]=[t.createElementVNode("h2",null,"Chargebacks Component",-1),t.createElementVNode("p",null,"Displaying chargeback data...",-1)]))}const s=d(i,[["render",u],["__scopeId","data-v-dc14aa5f"]]),f={install(n){n.component("Chargebacks",s)}};e.Chargebacks=s,e.default=f,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"name": "@riskdefy/chargebacks",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"description": "Chargebacks Vue component",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"module": "dist/index.es.js",
|
7
|
+
"scripts": {
|
8
|
+
"build": "vite build"
|
9
|
+
},
|
10
|
+
"peerDependencies": {
|
11
|
+
"vue": "^3.5.13"
|
12
|
+
},
|
13
|
+
"keywords": [
|
14
|
+
"vue",
|
15
|
+
"chargebacks",
|
16
|
+
"component"
|
17
|
+
],
|
18
|
+
"author": "riskdefy",
|
19
|
+
"license": "MIT",
|
20
|
+
"devDependencies": {
|
21
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
22
|
+
"vite": "^6.1.0",
|
23
|
+
"vue": "^3.5.13"
|
24
|
+
}
|
25
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="chargebacks">
|
3
|
+
<h2>Chargebacks Component</h2>
|
4
|
+
<p>Displaying chargeback data...</p>
|
5
|
+
</div>
|
6
|
+
</template>
|
7
|
+
<script>
|
8
|
+
export default {
|
9
|
+
name: "Chargebacks",
|
10
|
+
};
|
11
|
+
</script>
|
12
|
+
<style scoped>
|
13
|
+
.chargebacks {
|
14
|
+
border: 1px solid #ddd;
|
15
|
+
padding: 10px;
|
16
|
+
border-radius: 5px;
|
17
|
+
}
|
18
|
+
</style>
|
package/src/index.js
ADDED
package/vite.config.js
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { defineConfig } from "vite";
|
2
|
+
import vue from "@vitejs/plugin-vue";
|
3
|
+
import path from "path";
|
4
|
+
|
5
|
+
export default defineConfig({
|
6
|
+
plugins: [vue()],
|
7
|
+
build: {
|
8
|
+
lib: {
|
9
|
+
entry: path.resolve(__dirname, "src/index.js"),
|
10
|
+
name: "Chargebacks",
|
11
|
+
fileName: (format) => `chargebacks.${format}.js`,
|
12
|
+
},
|
13
|
+
rollupOptions: {
|
14
|
+
external: ["vue"],
|
15
|
+
output: {
|
16
|
+
globals: {
|
17
|
+
vue: "Vue",
|
18
|
+
},
|
19
|
+
},
|
20
|
+
},
|
21
|
+
},
|
22
|
+
});
|