@ningboyz/vue 1.0.66 → 1.0.68

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 CHANGED
@@ -1,12 +1,14 @@
1
- import { YzDesginer as t } from "./stimulsoft/desginer/index.js";
1
+ import { YzDesginer as r } from "./stimulsoft/desginer/index.js";
2
+ import { StimulsoftFactory as c } from "./stimulsoft/desginer/index.js";
2
3
  import { YzLayout as e } from "./layout/index.js";
3
- import { YzMessage as f } from "./message/index.js";
4
- const s = [t, e], p = (o) => {
5
- s.forEach((r) => o.use(r));
4
+ import { YzMessage as l } from "./message/index.js";
5
+ const s = [r, e], n = (o) => {
6
+ s.forEach((t) => o.use(t));
6
7
  };
7
8
  export {
8
- t as YzDesginer,
9
+ c as StimulsoftFactory,
10
+ r as YzDesginer,
9
11
  e as YzLayout,
10
- f as YzMessage,
11
- p as install
12
+ l as YzMessage,
13
+ n as install
12
14
  };
package/es/index.js CHANGED
@@ -1,12 +1,17 @@
1
- import * as o from "./components.js";
2
- import { install as t } from "./components.js";
3
- import { YzDesginer as p } from "./stimulsoft/desginer/index.js";
4
- import { YzMessage as a } from "./message/index.js";
5
- import { YzLayout as x } from "./layout/index.js";
1
+ import { Stimulsoft as o } from "stimulsoft-reports-js-vuejs";
2
+ import * as t from "./components.js";
3
+ import { install as l } from "./components.js";
4
+ import { StimulsoftFactory as s, YzDesginer as n } from "./stimulsoft/desginer/index.js";
5
+ import { YzMessage as m } from "./message/index.js";
6
+ import { YzLayout as U } from "./layout/index.js";
7
+ o.Base.StiLicense.key = "6vJhGtLLLz2GNviWmUTrhSqnOItdDwjBylQzQcAOiHkVaUjYnRU/wphl9h6TkK9UtvGvwIZ/qCzU7vjHmM5RWbvCAfAhZhn+eMayEo4PRtUFJINrdMkfnVj1/HeyPgSgAKdpQpP1wzGj2ri5UgGNU8p7Pi59UAegRyUxjTI96rT+khTJIcSoTTPkqZwt0uC+IGtEdehlDchk7madvSLA9guSEZZuSHsc+adQ93NZogak6uo7LbqRh2xC23iGH4sValMR9CBxAsjWUYJH0yrcXODeYrX6ARDlVCW40MGOMrYnx/2W3O8L26oTyAFEdQ1TN1KzYjP4zenjvu4KBAWIopWG6Gk2ydffI0zldxHaPeEl0Lt6U77ykFtsXqW5fN/9t040SfeZfzMAq2ZoVGXPXKCjBo+asFZHrxn7iLpsxF7zwWkYIto8ObpimosoY0on8aLx7At7Qo3VaUOST48gIdqBabUpVz3O9h8UULJa23nlwMVMXheIMMmp6ACD9Bupla/giERFXIYIfpE4eFCD93sR2Cq2f8jdm5Z9B/faB8j4iz0IugVhK4BYhw2q9jAufdWTIx3nsE2Qw7ah0jNsgkR9kWWnHQ3qI/lwFLcFr81SVgyNpFzZ/zcV6vM+xaqbuEMivQx5uFx9WLOMU/ZYkyV8Hi/IEmU+O72NObJtWDxnhUkl4iV0WsYT2V2EU8t0NZP9SBCrLU+rd0SERAdGnRUfoJrm8mXPgcN6+FGNyTgiw0Do8oLU/Skqa/TohVeT";
8
+ o.Base.Localization.StiLocalization.addLocalizationFile("./stimulsoft/localizations/zh.xml", !1, "中文");
9
+ o.Base.Localization.StiLocalization.cultureName = "中文";
6
10
  export {
7
- p as YzDesginer,
8
- x as YzLayout,
9
- a as YzMessage,
10
- o as default,
11
- t as install
11
+ s as StimulsoftFactory,
12
+ n as YzDesginer,
13
+ U as YzLayout,
14
+ m as YzMessage,
15
+ t as default,
16
+ l as install
12
17
  };
@@ -1,54 +1,53 @@
1
- import { defineComponent as u, ref as g, watch as U, createBlock as h, openBlock as L, unref as i } from "vue";
2
- import { Designer as z } from "../../node_modules/stimulsoft-reports-js-vuejs/designer.js";
3
- import S from "./factory.js";
4
- import { Stimulsoft as n } from "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.engine.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/stimulsoft-reports-js-vuejs/designer.js";
3
+ import R from "./factory.js";
4
+ import { Stimulsoft as _ } from "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.engine.js";
5
5
  import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js";
6
6
  import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js";
7
7
  import "../../node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js";
8
- const y = /* @__PURE__ */ u({
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: l, emit: c }) {
16
- n.Base.StiLicense.key = "6vJhGtLLLz2GNviWmUTrhSqnOItdDwjBylQzQcAOiHkVaUjYnRU/wphl9h6TkK9UtvGvwIZ/qCzU7vjHmM5RWbvCAfAhZhn+eMayEo4PRtUFJINrdMkfnVj1/HeyPgSgAKdpQpP1wzGj2ri5UgGNU8p7Pi59UAegRyUxjTI96rT+khTJIcSoTTPkqZwt0uC+IGtEdehlDchk7madvSLA9guSEZZuSHsc+adQ93NZogak6uo7LbqRh2xC23iGH4sValMR9CBxAsjWUYJH0yrcXODeYrX6ARDlVCW40MGOMrYnx/2W3O8L26oTyAFEdQ1TN1KzYjP4zenjvu4KBAWIopWG6Gk2ydffI0zldxHaPeEl0Lt6U77ykFtsXqW5fN/9t040SfeZfzMAq2ZoVGXPXKCjBo+asFZHrxn7iLpsxF7zwWkYIto8ObpimosoY0on8aLx7At7Qo3VaUOST48gIdqBabUpVz3O9h8UULJa23nlwMVMXheIMMmp6ACD9Bupla/giERFXIYIfpE4eFCD93sR2Cq2f8jdm5Z9B/faB8j4iz0IugVhK4BYhw2q9jAufdWTIx3nsE2Qw7ah0jNsgkR9kWWnHQ3qI/lwFLcFr81SVgyNpFzZ/zcV6vM+xaqbuEMivQx5uFx9WLOMU/ZYkyV8Hi/IEmU+O72NObJtWDxnhUkl4iV0WsYT2V2EU8t0NZP9SBCrLU+rd0SERAdGnRUfoJrm8mXPgcN6+FGNyTgiw0Do8oLU/Skqa/TohVeT", n.Base.Localization.StiLocalization.addLocalizationFile("../localizations/zh.xml", !1, "中文"), n.Base.Localization.StiLocalization.cultureName = "中文";
17
- const a = p, s = g(), r = new n.Designer.StiDesignerOptions();
18
- r.appearance.fullScreenMode = !0;
19
- const m = c;
20
- U(
21
- () => [a.templateJson, a.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],
22
21
  (e) => {
23
22
  console.log(e);
24
23
  const o = e[0], t = e[1];
25
- d(o, t);
24
+ f(o, t);
26
25
  },
27
26
  {
28
27
  deep: !0
29
28
  }
30
29
  );
31
- const f = (e) => {
30
+ const m = (e) => {
32
31
  e.preventDefault = !0;
33
32
  const o = e.report.saveToJsonString(), t = e.fileName;
34
- m("saveReport", t, o);
35
- }, d = async (e, o) => {
33
+ l("saveReport", t, o);
34
+ }, f = async (e, o) => {
36
35
  try {
37
- const t = new S();
38
- s.value = t.setListData(o).loadJson(e).getReport();
36
+ const t = new R();
37
+ r.value = t.setListData(o).loadJson(e).getReport();
39
38
  } catch (t) {
40
39
  console.log(t.message);
41
40
  }
42
41
  };
43
- return l({
42
+ return i({
44
43
  getJson: () => "hello world"
45
- }), (e, o) => (L(), h(i(z), {
46
- report: s.value,
47
- options: i(r),
48
- onSaveReport: f
44
+ }), (e, o) => (D(), v(p(J), {
45
+ report: r.value,
46
+ options: p(s),
47
+ onSaveReport: m
49
48
  }, null, 8, ["report", "options"]));
50
49
  }
51
50
  });
52
51
  export {
53
- y as default
52
+ O as default
54
53
  };
@@ -1,8 +1,14 @@
1
- import n from "./desginer.vue.js";
2
- n.install = (o) => {
3
- o.component(n.name, n);
1
+ import o from "./desginer.vue.js";
2
+ import t from "./factory.js";
3
+ import { Stimulsoft as a } from "stimulsoft-reports-js-vuejs";
4
+ a.Base.StiLicense.key = "6vJhGtLLLz2GNviWmUTrhSqnOItdDwjBylQzQcAOiHkVaUjYnRU/wphl9h6TkK9UtvGvwIZ/qCzU7vjHmM5RWbvCAfAhZhn+eMayEo4PRtUFJINrdMkfnVj1/HeyPgSgAKdpQpP1wzGj2ri5UgGNU8p7Pi59UAegRyUxjTI96rT+khTJIcSoTTPkqZwt0uC+IGtEdehlDchk7madvSLA9guSEZZuSHsc+adQ93NZogak6uo7LbqRh2xC23iGH4sValMR9CBxAsjWUYJH0yrcXODeYrX6ARDlVCW40MGOMrYnx/2W3O8L26oTyAFEdQ1TN1KzYjP4zenjvu4KBAWIopWG6Gk2ydffI0zldxHaPeEl0Lt6U77ykFtsXqW5fN/9t040SfeZfzMAq2ZoVGXPXKCjBo+asFZHrxn7iLpsxF7zwWkYIto8ObpimosoY0on8aLx7At7Qo3VaUOST48gIdqBabUpVz3O9h8UULJa23nlwMVMXheIMMmp6ACD9Bupla/giERFXIYIfpE4eFCD93sR2Cq2f8jdm5Z9B/faB8j4iz0IugVhK4BYhw2q9jAufdWTIx3nsE2Qw7ah0jNsgkR9kWWnHQ3qI/lwFLcFr81SVgyNpFzZ/zcV6vM+xaqbuEMivQx5uFx9WLOMU/ZYkyV8Hi/IEmU+O72NObJtWDxnhUkl4iV0WsYT2V2EU8t0NZP9SBCrLU+rd0SERAdGnRUfoJrm8mXPgcN6+FGNyTgiw0Do8oLU/Skqa/TohVeT";
5
+ a.Base.Localization.StiLocalization.addLocalizationFile("../localizations/zh.xml", !1, "中文");
6
+ a.Base.Localization.StiLocalization.cultureName = "中文";
7
+ o.install = (i) => {
8
+ i.component(o.name, o);
4
9
  };
5
- const m = n;
10
+ const s = o, r = t;
6
11
  export {
7
- m as YzDesginer
12
+ r as StimulsoftFactory,
13
+ s as YzDesginer
8
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/vue",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "宁波甬政vue-ui库",
@@ -17,5 +17,6 @@ export {};
17
17
 
18
18
  export * from "./components/core/core";
19
19
  export * from "./stimulsoft/desginer/desginer";
20
+ export * from "./stimulsoft/desginer/factory";
20
21
  export * from "./message/message";
21
22
  export * from "./layout/layout";
@@ -5,7 +5,7 @@ declare class Factory {
5
5
  private report;
6
6
  constructor(listData?: TWldy.IWldyDataResponse[]);
7
7
  setListData: (listData: TWldy.IWldyDataResponse[]) => Stimulsoft.Report.StiReport;
8
- loadJson = (json: string | undefined) => Stimulsoft.Report.StiReport;
8
+ loadJson: (json: string | undefined) => Stimulsoft.Report.StiReport;
9
9
  getReport: () => Stimulsoft.Report.StiReport;
10
10
  print: () => void;
11
11
  printToPdf: () => void;