doph-js 0.0.11 → 0.0.13
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/README.md +2 -5
- package/dist/dophJs.js +34 -12
- package/package.json +2 -13
package/README.md
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Doph JS
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Simple UI for Vue3
|
|
4
4
|
|
|
5
|
-
## Recommended IDE Setup
|
|
6
|
-
|
|
7
|
-
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
package/dist/dophJs.js
CHANGED
|
@@ -1,27 +1,49 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as
|
|
2
|
-
const
|
|
1
|
+
import { openBlock as e, createElementBlock as r, normalizeClass as a, renderSlot as l } from "vue";
|
|
2
|
+
const _ = {
|
|
3
3
|
__name: "DButton",
|
|
4
4
|
props: {
|
|
5
5
|
class: String
|
|
6
6
|
},
|
|
7
7
|
setup(t) {
|
|
8
|
-
const
|
|
9
|
-
return (
|
|
10
|
-
class:
|
|
8
|
+
const n = t;
|
|
9
|
+
return (s, o) => (e(), r("div", {
|
|
10
|
+
class: a(["button", n.class])
|
|
11
11
|
}, [
|
|
12
|
-
|
|
12
|
+
l(s.$slots, "default")
|
|
13
13
|
], 2));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
const
|
|
16
|
+
const u = (t, n) => {
|
|
17
|
+
const s = t.__vccOpts || t;
|
|
18
|
+
for (const [o, p] of n)
|
|
19
|
+
s[o] = p;
|
|
20
|
+
return s;
|
|
21
|
+
}, i = {};
|
|
22
|
+
function m(t, n) {
|
|
23
|
+
return " LABEL ";
|
|
24
|
+
}
|
|
25
|
+
const f = /* @__PURE__ */ u(i, [["render", m]]), d = {
|
|
26
|
+
__name: "DMods",
|
|
27
|
+
props: {
|
|
28
|
+
class: String
|
|
29
|
+
},
|
|
30
|
+
setup(t) {
|
|
31
|
+
const n = t;
|
|
32
|
+
return (s, o) => (e(), r("div", {
|
|
33
|
+
class: a(["button", n.class])
|
|
34
|
+
}, [
|
|
35
|
+
l(s.$slots, "default")
|
|
36
|
+
], 2));
|
|
37
|
+
}
|
|
38
|
+
}, c = { DButton: _, DLabel: f, DMods: d }, g = {
|
|
17
39
|
install(t) {
|
|
18
|
-
for (const
|
|
19
|
-
if (
|
|
20
|
-
const
|
|
21
|
-
t.component(
|
|
40
|
+
for (const n in c)
|
|
41
|
+
if (c.hasOwnProperty(n)) {
|
|
42
|
+
const s = c[n];
|
|
43
|
+
t.component(s.name, s);
|
|
22
44
|
}
|
|
23
45
|
}
|
|
24
46
|
};
|
|
25
47
|
export {
|
|
26
|
-
|
|
48
|
+
g as default
|
|
27
49
|
};
|
package/package.json
CHANGED
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doph-js",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Simple Vue3 component library",
|
|
5
5
|
"author": "Error202",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "./dist/dophJs.
|
|
8
|
-
"module": "./dist/dophJs.js",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/dophJs.umd.cjs",
|
|
12
|
-
"require": "./dist/dophJs.js"
|
|
13
|
-
},
|
|
14
|
-
"./dist/style.css": {
|
|
15
|
-
"import": "./dist/style.css",
|
|
16
|
-
"require": "./dist/style.css"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
7
|
+
"main": "./dist/dophJs.js",
|
|
19
8
|
"files": [
|
|
20
9
|
"dist/dophJs.esm.js",
|
|
21
10
|
"dist/dophJs.js",
|