ss-component-new 1.3.591 → 1.3.593

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.
@@ -1,12 +1,74 @@
1
- import { S as o } from "./index-dD-mKgue.js";
2
- const c = {
3
- SvgIcon: o
1
+ import { defineAsyncComponent as o } from "vue";
2
+ import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js";
3
+ import { S as j } from "./index-dD-mKgue.js";
4
+ import { u as C } from "./index-B8NQAdR4.js";
5
+ import "./index-BvyM6d06.js";
6
+ import "./request-BfrhYBTM.js";
7
+ /* empty css */
8
+ import u from "./router.js";
9
+ import { t as g, c as T, b as P } from "./index-ChNfRlIP.js";
10
+ const n = o(() => import("./main-1mbUGlWA.js"));
11
+ n.install = (t) => {
12
+ t.component("ssComponent", n);
4
13
  };
5
- function p(n) {
6
- n.component("SvgIcon", o);
7
- }
14
+ const s = o(() => import("./index-CahXu506.js").then((t) => t.q));
15
+ s.install = (t) => {
16
+ t.component("ssTab", s);
17
+ };
18
+ const r = o(() => import("./index-M7J_qxQw.js").then((t) => t.i));
19
+ r.install = (t) => {
20
+ t.component("ssMenu", r);
21
+ };
22
+ const m = o(() => import("./index-B9jvDVI4.js"));
23
+ m.install = (t) => {
24
+ t.component("ssMenuComponent", m);
25
+ };
26
+ const i = o(() => import("./index-CymdCuJN.js"));
27
+ i.install = (t) => {
28
+ t.component("ssCanvas", i);
29
+ };
30
+ const c = o(() => import("./index-BFqUz4pN.js"));
31
+ c.install = (t) => {
32
+ t.component("ssFold", c);
33
+ };
34
+ const a = o(() => import("./index-DfDUkCbN.js").then((t) => t.i));
35
+ a.install = (t) => {
36
+ t.component("ssAvatar", a);
37
+ };
38
+ const l = o(() => import("./threeModel-BpG-AcGZ.js"));
39
+ l.install = (t) => {
40
+ t.component("ssThree", l);
41
+ };
42
+ const p = o(() => import("./threeViewerHost-BsUgakNM.js").then((t) => t.t));
43
+ p.install = (t) => {
44
+ t.component("threeViewerHost", p);
45
+ };
46
+ const f = C(), d = [n, s, r, m, i, c, a, l, p], V = (t) => {
47
+ d.forEach((e) => {
48
+ t.use(e);
49
+ }), t.use(u), t.config.globalProperties.$router = u;
50
+ }, b = (t) => {
51
+ switch (t) {
52
+ case "browser":
53
+ return P;
54
+ case "client":
55
+ return T;
56
+ case "three":
57
+ return g;
58
+ }
59
+ }, v = (t) => {
60
+ const e = document.documentElement;
61
+ t == null || t.forEach((h) => {
62
+ e.style.setProperty(h.name, h.value);
63
+ });
64
+ }, w = (t) => {
65
+ f.setPlatform(t);
66
+ const e = b(t);
67
+ v(e);
68
+ }, q = { getPlatform: f.getPlatform, setPlatform: f.setPlatform, initPlatform: w };
8
69
  export {
9
- o as SvgIcon,
10
- c as components,
11
- p as setupGlobalComponents
70
+ j as SvgIcon,
71
+ V as default,
72
+ q as platformApi,
73
+ u as router
12
74
  };
package/dist/svg.js ADDED
@@ -0,0 +1,12 @@
1
+ import { S as o } from "./index-dD-mKgue.js";
2
+ const c = {
3
+ SvgIcon: o
4
+ };
5
+ function p(n) {
6
+ n.component("SvgIcon", o);
7
+ }
8
+ export {
9
+ o as SvgIcon,
10
+ c as components,
11
+ p as setupGlobalComponents
12
+ };
package/package.json CHANGED
@@ -1,14 +1,32 @@
1
1
  {
2
2
  "name": "ss-component-new",
3
3
  "private": false,
4
- "version": "1.3.591",
4
+ "version": "1.3.593",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
8
8
  "public"
9
9
  ],
10
- "main": "./dist/ss-component.umd.cjs",
10
+ "main": "./dist/ss-component.js",
11
11
  "module": "./dist/ss-component.js",
12
+ "types": "./dist/main.d.ts",
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/main.d.ts",
16
+ "import": "./dist/ss-component.js",
17
+ "default": "./dist/ss-component.js"
18
+ },
19
+ "./router": {
20
+ "types": "./dist/router.d.ts",
21
+ "import": "./dist/router.js",
22
+ "default": "./dist/router.js"
23
+ },
24
+ "./svg": {
25
+ "types": "./dist/svg.d.ts",
26
+ "import": "./dist/svg.js",
27
+ "default": "./dist/svg.js"
28
+ }
29
+ },
12
30
  "scripts": {
13
31
  "dev": "vite",
14
32
  "build": "node --max-old-space-size=8192 ./node_modules/vite/bin/vite build",
@@ -1,74 +0,0 @@
1
- import { defineAsyncComponent as o } from "vue";
2
- import "./index.vue_vue_type_style_index_0_scoped_07c75c98_lang-Dp7tIi0S.js";
3
- import { S as j } from "./index-dD-mKgue.js";
4
- import { u as C } from "./index-B8NQAdR4.js";
5
- import "./index-BvyM6d06.js";
6
- import "./request-BfrhYBTM.js";
7
- /* empty css */
8
- import u from "./ss-component3.js";
9
- import { t as g, c as T, b as P } from "./index-ChNfRlIP.js";
10
- const n = o(() => import("./main-1mbUGlWA.js"));
11
- n.install = (t) => {
12
- t.component("ssComponent", n);
13
- };
14
- const s = o(() => import("./index-CahXu506.js").then((t) => t.q));
15
- s.install = (t) => {
16
- t.component("ssTab", s);
17
- };
18
- const r = o(() => import("./index-M7J_qxQw.js").then((t) => t.i));
19
- r.install = (t) => {
20
- t.component("ssMenu", r);
21
- };
22
- const m = o(() => import("./index-B9jvDVI4.js"));
23
- m.install = (t) => {
24
- t.component("ssMenuComponent", m);
25
- };
26
- const i = o(() => import("./index-CymdCuJN.js"));
27
- i.install = (t) => {
28
- t.component("ssCanvas", i);
29
- };
30
- const c = o(() => import("./index-BFqUz4pN.js"));
31
- c.install = (t) => {
32
- t.component("ssFold", c);
33
- };
34
- const a = o(() => import("./index-DfDUkCbN.js").then((t) => t.i));
35
- a.install = (t) => {
36
- t.component("ssAvatar", a);
37
- };
38
- const l = o(() => import("./threeModel-BpG-AcGZ.js"));
39
- l.install = (t) => {
40
- t.component("ssThree", l);
41
- };
42
- const p = o(() => import("./threeViewerHost-BsUgakNM.js").then((t) => t.t));
43
- p.install = (t) => {
44
- t.component("threeViewerHost", p);
45
- };
46
- const f = C(), d = [n, s, r, m, i, c, a, l, p], V = (t) => {
47
- d.forEach((e) => {
48
- t.use(e);
49
- }), t.use(u), t.config.globalProperties.$router = u;
50
- }, b = (t) => {
51
- switch (t) {
52
- case "browser":
53
- return P;
54
- case "client":
55
- return T;
56
- case "three":
57
- return g;
58
- }
59
- }, v = (t) => {
60
- const e = document.documentElement;
61
- t == null || t.forEach((h) => {
62
- e.style.setProperty(h.name, h.value);
63
- });
64
- }, w = (t) => {
65
- f.setPlatform(t);
66
- const e = b(t);
67
- v(e);
68
- }, q = { getPlatform: f.getPlatform, setPlatform: f.setPlatform, initPlatform: w };
69
- export {
70
- j as SvgIcon,
71
- V as default,
72
- q as platformApi,
73
- u as router
74
- };
File without changes
File without changes