@ningboyz/vue 1.0.39 → 1.0.41
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/es/components.js +7 -5
- package/es/index.js +4 -2
- package/es/message/index.js +21 -0
- package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.engine.js +6 -1
- package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.viewer.js +6 -1
- package/es/stimulsoft/desginer/desginer.vue.js +23 -21
- package/es/stimulsoft/desginer/factory.js +5 -5
- package/package.json +4 -2
- package/types/all.d.ts +4 -3
- package/types/components/core/{component.d.ts → core.d.ts} +3 -1
- package/types/components/message/message.d.ts +7 -0
- package/types/components/stimulsoft/desginer/desginer.d.ts +5 -5
- /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/designer.js +0 -0
- /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.blockly.editor.js +0 -0
- /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.designer.js +0 -0
- /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.chart.js +0 -0
- /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.export.js +0 -0
- /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.import.xlsx.js +0 -0
- /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.maps.js +0 -0
package/es/components.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { YzDesginer as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { YzDesginer as e } from "./stimulsoft/desginer/index.js";
|
|
2
|
+
import * as n from "./message/index.js";
|
|
3
|
+
const r = [e], a = (o) => {
|
|
4
|
+
r.forEach((s) => o.use(s));
|
|
4
5
|
};
|
|
5
6
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
e as YzDesginer,
|
|
8
|
+
n as YzMessage,
|
|
9
|
+
a as install
|
|
8
10
|
};
|
package/es/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as o from "./components.js";
|
|
2
2
|
import { install as t } from "./components.js";
|
|
3
|
-
import
|
|
3
|
+
import * as e from "./message/index.js";
|
|
4
|
+
import { YzDesginer as m } from "./stimulsoft/desginer/index.js";
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
m as YzDesginer,
|
|
7
|
+
e as YzMessage,
|
|
6
8
|
o as default,
|
|
7
9
|
t as install
|
|
8
10
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { VxeUI as t } from "vxe-pc-ui";
|
|
2
|
+
class r {
|
|
3
|
+
static messageId = "vxe-modal-message-id-d0556a60da2a";
|
|
4
|
+
static options;
|
|
5
|
+
static config = (s) => {
|
|
6
|
+
this.options = s;
|
|
7
|
+
};
|
|
8
|
+
static showError(s) {
|
|
9
|
+
this.showMessage(this.messageId, s, "error");
|
|
10
|
+
}
|
|
11
|
+
static showMessage = (s, a, e) => {
|
|
12
|
+
t.modal.message({
|
|
13
|
+
id: s,
|
|
14
|
+
content: a,
|
|
15
|
+
status: e
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
r as Message
|
|
21
|
+
};
|
|
@@ -23392,7 +23392,12 @@ __.aa.jOxek = class {
|
|
|
23392
23392
|
}
|
|
23393
23393
|
}
|
|
23394
23394
|
static juboa(i) {
|
|
23395
|
-
|
|
23395
|
+
try {
|
|
23396
|
+
let r = i.clone(), n = (r.signature = null, new __.bf.RSAKey()), s = __.aa.jOxek.getKey();
|
|
23397
|
+
return n.setPublic(s.RSAKeyValue.Modulus, s.RSAKeyValue.Exponent), n.verifyString(r.saveToString(), i.signature);
|
|
23398
|
+
} catch {
|
|
23399
|
+
return !1;
|
|
23400
|
+
}
|
|
23396
23401
|
}
|
|
23397
23402
|
static oskbb(i) {
|
|
23398
23403
|
try {
|
|
@@ -10437,7 +10437,12 @@ S.a.StiFontsHelper = class {
|
|
|
10437
10437
|
{
|
|
10438
10438
|
class e {
|
|
10439
10439
|
static QVBaqHost() {
|
|
10440
|
-
|
|
10440
|
+
var o;
|
|
10441
|
+
if (typeof window > "u") return !0;
|
|
10442
|
+
let a = window[["l", "o", "c", "a", "t", "i", "o", "n"].join("")][["h", "o", "s", "t", "n", "a", "m", "e"].join("")];
|
|
10443
|
+
if (!a || [["l", "o", "c", "a", "l", "h", "o", "s", "t"].join(""), ["1", "2", "7", ".", "0", ".", "0", ".", "1"].join("")].includes(a)) return !0;
|
|
10444
|
+
let i = (o = h.Base[["St", "iL", "ic", "en", "se"].join("")][["li", "ce", "ns", "eK", "ey"].join("")]) == null ? void 0 : o.deviceId;
|
|
10445
|
+
return e.isValids(a, i);
|
|
10441
10446
|
}
|
|
10442
10447
|
static isValids(o, a) {
|
|
10443
10448
|
if (!a) return !0;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { defineComponent as f, ref as
|
|
2
|
-
import { Designer as
|
|
3
|
-
import
|
|
4
|
-
import { Stimulsoft as
|
|
5
|
-
import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js";
|
|
6
|
-
import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js";
|
|
7
|
-
import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js";
|
|
8
|
-
const
|
|
1
|
+
import { defineComponent as f, ref as g, watch as d, createBlock as v, openBlock as D, unref as s } from "vue";
|
|
2
|
+
import { Designer as R } from "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/designer.js";
|
|
3
|
+
import _ from "./factory.js";
|
|
4
|
+
import { Stimulsoft as S } from "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.engine.js";
|
|
5
|
+
import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js";
|
|
6
|
+
import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js";
|
|
7
|
+
import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js";
|
|
8
|
+
const O = /* @__PURE__ */ f({
|
|
9
9
|
__name: "desginer",
|
|
10
10
|
props: {
|
|
11
11
|
listData: {}
|
|
12
12
|
},
|
|
13
13
|
emits: ["saveReport"],
|
|
14
|
-
setup(p, {
|
|
15
|
-
const
|
|
14
|
+
setup(p, { expose: i, emit: a }) {
|
|
15
|
+
const c = p, r = g(), n = new S.Designer.StiDesignerOptions();
|
|
16
16
|
n.appearance.fullScreenMode = !0;
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
() =>
|
|
17
|
+
const m = a;
|
|
18
|
+
d(
|
|
19
|
+
() => c.listData,
|
|
20
20
|
(e) => {
|
|
21
|
-
|
|
21
|
+
u(e);
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
deep: !0
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
const
|
|
27
|
+
const l = (e) => {
|
|
28
28
|
e.preventDefault = !0;
|
|
29
29
|
const t = e.report.saveToJsonString(), o = e.fileName;
|
|
30
|
-
|
|
31
|
-
},
|
|
30
|
+
m("saveReport", o, t);
|
|
31
|
+
}, u = async (e) => {
|
|
32
32
|
try {
|
|
33
|
-
const t = new
|
|
33
|
+
const t = new _();
|
|
34
34
|
t.setListData(e);
|
|
35
35
|
const o = t.getReport();
|
|
36
36
|
r.value = o;
|
|
@@ -38,13 +38,15 @@ const N = /* @__PURE__ */ f({
|
|
|
38
38
|
console.log(t.message);
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
|
-
return (
|
|
41
|
+
return i({
|
|
42
|
+
getJson: () => "hello world"
|
|
43
|
+
}), (e, t) => (D(), v(s(R), {
|
|
42
44
|
report: r.value,
|
|
43
45
|
options: s(n),
|
|
44
|
-
onSaveReport:
|
|
46
|
+
onSaveReport: l
|
|
45
47
|
}, null, 8, ["report", "options"]));
|
|
46
48
|
}
|
|
47
49
|
});
|
|
48
50
|
export {
|
|
49
|
-
|
|
51
|
+
O as default
|
|
50
52
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import l from "lodash";
|
|
2
|
-
import "../../node_modules/stimulsoft-reports-js-vuejs/designer.js";
|
|
3
|
-
import { Stimulsoft as o } from "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.engine.js";
|
|
4
|
-
import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js";
|
|
5
|
-
import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js";
|
|
6
|
-
import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js";
|
|
2
|
+
import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/designer.js";
|
|
3
|
+
import { Stimulsoft as o } from "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.engine.js";
|
|
4
|
+
import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js";
|
|
5
|
+
import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js";
|
|
6
|
+
import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js";
|
|
7
7
|
class f {
|
|
8
8
|
listData = [];
|
|
9
9
|
report;
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/vue",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"private": false,
|
|
5
|
+
"type": "module",
|
|
5
6
|
"description": "宁波甬政vue-ui库",
|
|
6
7
|
"author": "nbyt-syq",
|
|
7
8
|
"license": "ISC",
|
|
@@ -35,7 +36,8 @@
|
|
|
35
36
|
"@ningboyz/types": "1.2.30",
|
|
36
37
|
"lodash": "4.17.21",
|
|
37
38
|
"stimulsoft-reports-js-vuejs": "2025.3.2",
|
|
38
|
-
"vue": "3.5.20"
|
|
39
|
+
"vue": "3.5.20",
|
|
40
|
+
"vxe-pc-ui": "4.9.5"
|
|
39
41
|
},
|
|
40
42
|
"devDependencies": {
|
|
41
43
|
"@eslint/js": "9.34.0",
|
package/types/all.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import YzDesginer from "./components/stimulsoft/desginer/desginer";
|
|
2
1
|
import { type App } from "vue";
|
|
3
|
-
|
|
2
|
+
import YzDesginer from "./components/stimulsoft/desginer/desginer";
|
|
3
|
+
import YzMessage from "./components/message/message";
|
|
4
4
|
interface AllComponents {
|
|
5
5
|
YzDesginer: typeof YzDesginer;
|
|
6
6
|
}
|
|
@@ -17,5 +17,6 @@ declare module "vue" {
|
|
|
17
17
|
|
|
18
18
|
export {};
|
|
19
19
|
|
|
20
|
-
export * from "./components/core/
|
|
20
|
+
export * from "./components/core/core";
|
|
21
21
|
export * from "./components/stimulsoft/desginer/desginer";
|
|
22
|
+
export * from "./components/message/message";
|
|
@@ -7,12 +7,14 @@ export type YzComponent<
|
|
|
7
7
|
P = { [key: string]: any }, //props
|
|
8
8
|
E = { [key: string]: any }, //event
|
|
9
9
|
S = { [key: string]: (...args: any[]) => any }, //slots
|
|
10
|
-
M = { [key: string]: any } //method emits
|
|
10
|
+
M = { [key: string]: any }, //method emits
|
|
11
|
+
R = { [key: string]: any } //refs
|
|
11
12
|
> = {
|
|
12
13
|
new (): {
|
|
13
14
|
$props: P & E;
|
|
14
15
|
$slots: S;
|
|
15
16
|
$emit: M;
|
|
17
|
+
$refs: R;
|
|
16
18
|
};
|
|
17
19
|
} & {
|
|
18
20
|
install(app: App): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TWldy } from "@ningboyz/types";
|
|
2
|
-
import { YzComponent } from "../../core/
|
|
2
|
+
import { YzComponent } from "../../core/core";
|
|
3
3
|
|
|
4
|
-
export declare const YzDesginer: YzComponent<YzDesginerProps, {}, YzDesginerSlots,
|
|
4
|
+
export declare const YzDesginer: YzComponent<YzDesginerProps, {}, YzDesginerSlots, YzDesginerEmits, YzDesginerInstance>;
|
|
5
5
|
|
|
6
6
|
export namespace YzDesginerPropTypes {
|
|
7
7
|
export type ListData = TWldy.IWldyDataResponse[];
|
|
@@ -11,9 +11,9 @@ export type YzDesginerProps = {
|
|
|
11
11
|
listData: YzDesginerPropTypes.ListData;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
export type
|
|
15
|
-
|
|
16
|
-
}
|
|
14
|
+
export type YzDesginerInstance = {
|
|
15
|
+
getJson: () => string;
|
|
16
|
+
};
|
|
17
17
|
|
|
18
18
|
export type YzDesginerEmits = {
|
|
19
19
|
(event: "saveReport", fileName: string, json: string): void;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|