doph-js 0.0.12 → 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.
Files changed (2) hide show
  1. package/dist/dophJs.js +34 -12
  2. package/package.json +1 -1
package/dist/dophJs.js CHANGED
@@ -1,27 +1,49 @@
1
- import { openBlock as e, createElementBlock as c, normalizeClass as r, renderSlot as a } from "vue";
2
- const l = {
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 o = t;
9
- return (n, p) => (e(), c("div", {
10
- class: r(["button", o.class])
8
+ const n = t;
9
+ return (s, o) => (e(), r("div", {
10
+ class: a(["button", n.class])
11
11
  }, [
12
- a(n.$slots, "default")
12
+ l(s.$slots, "default")
13
13
  ], 2));
14
14
  }
15
15
  };
16
- const s = { DButton: l }, i = {
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 o in s)
19
- if (s.hasOwnProperty(o)) {
20
- const n = s[o];
21
- t.component(n.name, n);
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
- i as default
48
+ g as default
27
49
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doph-js",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Simple Vue3 component library",
5
5
  "author": "Error202",
6
6
  "license": "MIT",