@ningboyz/vue 1.0.59 → 1.0.61

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 (12) hide show
  1. package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.engine.js +6 -1
  2. package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.viewer.js +6 -1
  3. package/es/stimulsoft/desginer/desginer.vue.js +25 -23
  4. package/es/stimulsoft/desginer/factory.js +6 -9
  5. package/package.json +1 -1
  6. /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/designer.js +0 -0
  7. /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.blockly.editor.js +0 -0
  8. /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.designer.js +0 -0
  9. /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.chart.js +0 -0
  10. /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.export.js +0 -0
  11. /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.import.xlsx.js +0 -0
  12. /package/es/node_modules/{stimulsoft-reports-js-vuejs → .pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs}/stimulsoft.reports.maps.js +0 -0
@@ -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,48 +1,50 @@
1
- import { defineComponent as f, ref as d, watch as g, createBlock as v, openBlock as D, unref as s } from "vue";
2
- import { Designer as J } from "../../node_modules/stimulsoft-reports-js-vuejs/designer.js";
1
+ import { defineComponent as u, ref as g, watch as d, createBlock as v, openBlock as D, unref as p } from "vue";
2
+ import { Designer as J } from "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs/designer.js";
3
3
  import R from "./factory.js";
4
- import { Stimulsoft as _ } 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";
8
- const O = /* @__PURE__ */ f({
4
+ import { Stimulsoft as _ } from "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/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.3/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js";
6
+ import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js";
7
+ import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js";
8
+ const O = /* @__PURE__ */ u({
9
9
  __name: "desginer",
10
10
  props: {
11
11
  templateJson: {},
12
12
  listData: {}
13
13
  },
14
14
  emits: ["saveReport"],
15
- setup(p, { expose: a, emit: i }) {
16
- const o = p, r = d(), n = new _.Designer.StiDesignerOptions();
17
- n.appearance.fullScreenMode = !0;
18
- const c = i;
19
- g(
20
- () => o.listData,
15
+ setup(a, { expose: i, emit: c }) {
16
+ const n = a, r = g(), s = new _.Designer.StiDesignerOptions();
17
+ s.appearance.fullScreenMode = !0;
18
+ const l = c;
19
+ d(
20
+ () => [n.templateJson, n.listData],
21
21
  (e) => {
22
- m(e);
22
+ console.log(e);
23
+ const o = e[0], t = e[1];
24
+ f(o, t);
23
25
  },
24
26
  {
25
27
  deep: !0
26
28
  }
27
29
  );
28
- const l = (e) => {
30
+ const m = (e) => {
29
31
  e.preventDefault = !0;
30
- const t = e.report.saveToJsonString(), u = e.fileName;
31
- c("saveReport", u, t);
32
- }, m = async (e) => {
32
+ const o = e.report.saveToJsonString(), t = e.fileName;
33
+ l("saveReport", t, o);
34
+ }, f = async (e, o) => {
33
35
  try {
34
36
  const t = new R();
35
- r.value = t.setListData(e).loadJson(o.templateJson).getReport();
37
+ r.value = t.setListData(o).loadJson(e).getReport();
36
38
  } catch (t) {
37
39
  console.log(t.message);
38
40
  }
39
41
  };
40
- return a({
42
+ return i({
41
43
  getJson: () => "hello world"
42
- }), (e, t) => (D(), v(s(J), {
44
+ }), (e, o) => (D(), v(p(J), {
43
45
  report: r.value,
44
- options: s(n),
45
- onSaveReport: l
46
+ options: p(s),
47
+ onSaveReport: m
46
48
  }, null, 8, ["report", "options"]));
47
49
  }
48
50
  });
@@ -1,9 +1,9 @@
1
1
  import o from "lodash";
2
- import "../../node_modules/stimulsoft-reports-js-vuejs/designer.js";
3
- import { Stimulsoft as r } 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.3/node_modules/stimulsoft-reports-js-vuejs/designer.js";
3
+ import { Stimulsoft as r } from "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/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.3/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js";
5
+ import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js";
6
+ import "../../node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.3/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js";
7
7
  class f {
8
8
  listData = void 0;
9
9
  report;
@@ -17,10 +17,7 @@ class f {
17
17
  * @returns
18
18
  */
19
19
  loadJson = (t) => (o.isEmpty(t) || this.report.load(t), this);
20
- getReport = () => {
21
- if (this.report.dataSources.clear(), !(o.isNil(this.listData) || this.listData.length === 0))
22
- return this.getDataSet(this.listData), this.report;
23
- };
20
+ getReport = () => (this.report.dataSources.clear(), o.isNil(this.listData) || this.listData.length === 0 ? this.report : (this.getDataSet(this.listData), this.report));
24
21
  getDataSet = (t) => {
25
22
  const a = new r.System.Data.DataSet("网络打印");
26
23
  for (let e = 0; e < t.length; e++) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/vue",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "宁波甬政vue-ui库",