@ningboyz/vue 1.0.69 → 1.0.70
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/index.js +10 -14
- package/es/stimulsoft/desginer/desginer.vue.js +23 -24
- package/es/stimulsoft/desginer/index.js +10 -6
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
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 = "中文";
|
|
1
|
+
import * as o from "./components.js";
|
|
2
|
+
import { install as e } from "./components.js";
|
|
3
|
+
import { StimulsoftFactory as s, YzDesginer as a } from "./stimulsoft/desginer/index.js";
|
|
4
|
+
import { YzMessage as p } from "./message/index.js";
|
|
5
|
+
import { YzLayout as i } from "./layout/index.js";
|
|
10
6
|
export {
|
|
11
7
|
s as StimulsoftFactory,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
a as YzDesginer,
|
|
9
|
+
i as YzLayout,
|
|
10
|
+
p as YzMessage,
|
|
11
|
+
o as default,
|
|
12
|
+
e as install
|
|
17
13
|
};
|
|
@@ -1,54 +1,53 @@
|
|
|
1
|
-
import { defineComponent as u, ref as g, watch as
|
|
2
|
-
import { Designer as
|
|
3
|
-
import
|
|
4
|
-
import { Stimulsoft as
|
|
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
|
|
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(
|
|
16
|
-
n
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
24
|
+
f(o, t);
|
|
26
25
|
},
|
|
27
26
|
{
|
|
28
27
|
deep: !0
|
|
29
28
|
}
|
|
30
29
|
);
|
|
31
|
-
const
|
|
30
|
+
const m = (e) => {
|
|
32
31
|
e.preventDefault = !0;
|
|
33
32
|
const o = e.report.saveToJsonString(), t = e.fileName;
|
|
34
|
-
|
|
35
|
-
},
|
|
33
|
+
l("saveReport", t, o);
|
|
34
|
+
}, f = async (e, o) => {
|
|
36
35
|
try {
|
|
37
|
-
const t = new
|
|
38
|
-
|
|
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
|
|
42
|
+
return i({
|
|
44
43
|
getJson: () => "hello world"
|
|
45
|
-
}), (e, o) => (
|
|
46
|
-
report:
|
|
47
|
-
options:
|
|
48
|
-
onSaveReport:
|
|
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
|
-
|
|
52
|
+
O as default
|
|
54
53
|
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import o from "./desginer.vue.js";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
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("./stimulsoft/localizations/zh.xml", !1, "中文");
|
|
6
|
+
a.Base.Localization.StiLocalization.cultureName = "中文";
|
|
7
|
+
o.install = (i) => {
|
|
8
|
+
i.component(o.name, o);
|
|
5
9
|
};
|
|
6
|
-
const
|
|
10
|
+
const s = o, m = t;
|
|
7
11
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
m as StimulsoftFactory,
|
|
13
|
+
s as YzDesginer
|
|
10
14
|
};
|