@ningboyz/vue 1.0.40 → 1.0.42

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 (18) hide show
  1. package/es/components.js +7 -5
  2. package/es/index.js +4 -2
  3. package/es/message/index.js +9 -0
  4. package/es/message/message.js +21 -0
  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}/stimulsoft.reports.engine.js +6 -1
  6. 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
  7. package/es/stimulsoft/desginer/desginer.vue.js +5 -5
  8. package/es/stimulsoft/desginer/factory.js +5 -5
  9. package/package.json +4 -2
  10. package/types/all.d.ts +4 -2
  11. package/types/components/message/message.d.ts +7 -0
  12. /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
  13. /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
  14. /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
  15. /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
  16. /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
  17. /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
  18. /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 s } from "./stimulsoft/desginer/index.js";
2
- const t = [s], r = (o) => {
3
- t.forEach((n) => o.use(n));
1
+ import { YzDesginer as e } from "./stimulsoft/desginer/index.js";
2
+ import { YzMessage as r } from "./message/index.js";
3
+ const t = [e, r], c = (o) => {
4
+ t.forEach((s) => o.use(s));
4
5
  };
5
6
  export {
6
- s as YzDesginer,
7
- r as install
7
+ e as YzDesginer,
8
+ r as YzMessage,
9
+ c 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 { YzDesginer as p } from "./stimulsoft/desginer/index.js";
3
+ import { YzDesginer as m } from "./stimulsoft/desginer/index.js";
4
+ import { YzMessage as a } from "./message/index.js";
4
5
  export {
5
- p as YzDesginer,
6
+ m as YzDesginer,
7
+ a as YzMessage,
6
8
  o as default,
7
9
  t as install
8
10
  };
@@ -0,0 +1,9 @@
1
+ import { Message as e } from "./message.js";
2
+ const n = Object.assign({}, e, {
3
+ install(s) {
4
+ s.component(e.name || "yz-message", e);
5
+ }
6
+ });
7
+ export {
8
+ n as YzMessage
9
+ };
@@ -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
- return !0;
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
- return !0;
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,10 +1,10 @@
1
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/stimulsoft-reports-js-vuejs/designer.js";
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
3
  import _ from "./factory.js";
4
- import { Stimulsoft as S } from "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.engine.js";
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";
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
8
  const O = /* @__PURE__ */ f({
9
9
  __name: "desginer",
10
10
  props: {
@@ -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.40",
3
+ "version": "1.0.42",
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,8 +1,9 @@
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
+ YzMessage: typeof YzMessage;
6
7
  }
7
8
 
8
9
  export function install(app: App): void;
@@ -19,3 +20,4 @@ export {};
19
20
 
20
21
  export * from "./components/core/core";
21
22
  export * from "./components/stimulsoft/desginer/desginer";
23
+ export * from "./components/message/message";
@@ -0,0 +1,7 @@
1
+ export type YzMessageOptions = {
2
+ duration?: number;
3
+ };
4
+
5
+ export declare class YzMessage {
6
+ public static showError(message: string);
7
+ }