@ningboyz/vue 1.0.5
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/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/components.d.ts +1 -0
- package/es/components.js +5 -0
- package/es/index.d.ts +4 -0
- package/es/index.js +16 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/designer.js +77 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.blockly.editor.js +7956 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.designer.js +49958 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.chart.js +21875 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.engine.js +107961 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.export.js +12892 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.import.xlsx.js +13842 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.reports.maps.js +1067 -0
- package/es/node_modules/.pnpm/stimulsoft-reports-js-vuejs@2025.3.2_typescript@5.8.2/node_modules/stimulsoft-reports-js-vuejs/stimulsoft.viewer.js +11271 -0
- package/es/package.json.js +7 -0
- package/es/stimulsoft/desgin/desgin.vue.d.ts +3 -0
- package/es/stimulsoft/desgin/desgin.vue.js +7 -0
- package/es/stimulsoft/desgin/desgin.vue2.js +41 -0
- package/es/stimulsoft/desgin/factory.d.ts +14 -0
- package/es/stimulsoft/desgin/factory.js +53 -0
- package/es/stimulsoft/desgin/index.d.ts +2 -0
- package/es/stimulsoft/desgin/index.js +7 -0
- package/es/stimulsoft/desgin/interface.d.ts +4 -0
- package/package.json +51 -0
- package/readme.md +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StimulsoftDesgin } from './stimulsoft/desgin';
|
package/es/components.js
ADDED
package/es/index.d.ts
ADDED
package/es/index.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import o from "./package.json.js";
|
|
2
|
+
import * as s from "./components.js";
|
|
3
|
+
import "./stimulsoft/desgin/index.js";
|
|
4
|
+
import { default as l } from "./stimulsoft/desgin/desgin.vue.js";
|
|
5
|
+
const a = {
|
|
6
|
+
install(e) {
|
|
7
|
+
Object.entries(s).forEach(([i, t]) => {
|
|
8
|
+
t.install && e.use(t);
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
version: o.version
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
l as StimulsoftDesgin,
|
|
15
|
+
a as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { useTemplateRef as l, onMounted as R, onUnmounted as d, watch as p, h as u } from "vue";
|
|
2
|
+
import { Stimulsoft as n } from "./stimulsoft.reports.engine.js";
|
|
3
|
+
import "./stimulsoft.reports.chart.js";
|
|
4
|
+
import "./stimulsoft.reports.export.js";
|
|
5
|
+
import "./stimulsoft.reports.import.xlsx.js";
|
|
6
|
+
import "./stimulsoft.reports.maps.js";
|
|
7
|
+
import "./stimulsoft.viewer.js";
|
|
8
|
+
import "./stimulsoft.designer.js";
|
|
9
|
+
import "./stimulsoft.blockly.editor.js";
|
|
10
|
+
const y = {
|
|
11
|
+
props: {
|
|
12
|
+
report: {
|
|
13
|
+
type: n.Report.StiReport,
|
|
14
|
+
default: null
|
|
15
|
+
},
|
|
16
|
+
visible: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
},
|
|
20
|
+
options: {
|
|
21
|
+
type: n.Designer.StiDesignerOptions,
|
|
22
|
+
default: null
|
|
23
|
+
},
|
|
24
|
+
id: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: null
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
emits: ["prepareVariables", "beginProcessData", "endProcessData", "createReport", "closeReport", "openReport", "openedReport", "saveReport", "saveAsReport", "previewReport", "exit", "assignedReport"],
|
|
30
|
+
setup(i, o) {
|
|
31
|
+
var e, s = l("parentRef");
|
|
32
|
+
const a = () => {
|
|
33
|
+
e = new n.Designer.StiDesigner(i.options, i.id, !1), e.renderHtml(s.value), m(), e.visible = i.visible;
|
|
34
|
+
}, m = () => {
|
|
35
|
+
e.onPrepareVariables = (t, r) => o.emit("prepareVariables", t, r), e.onBeginProcessData = (t, r) => o.emit("beginProcessData", t, r), e.onEndProcessData = (t) => o.emit("endProcessData", t), e.onCreateReport = (t, r) => o.emit("createReport", t, r), e.onCloseReport = (t, r) => o.emit("closeReport", t, r), e.onOpenReport = (t, r) => {
|
|
36
|
+
t.preventDefault = !1, o.emit("openReport", t, r);
|
|
37
|
+
}, e.onOpenedReport = (t, r) => o.emit("openedReport", t, r), e.onSaveReport = (t, r) => {
|
|
38
|
+
t.preventDefault = !1, o.emit("saveReport", t, r);
|
|
39
|
+
}, e.onSaveAsReport = (t, r) => o.emit("saveAsReport", t, r), e.onPreviewReport = (t, r) => o.emit("previewReport", t, r), e.onExit = (t) => o.emit("exit", t), e.onAssignedReport = (t) => o.emit("assignedReport", t);
|
|
40
|
+
};
|
|
41
|
+
return R(() => {
|
|
42
|
+
setTimeout(() => {
|
|
43
|
+
a(), e.report = i.report;
|
|
44
|
+
});
|
|
45
|
+
}), d(() => {
|
|
46
|
+
e?.dispose();
|
|
47
|
+
}), p(
|
|
48
|
+
() => i.report,
|
|
49
|
+
() => {
|
|
50
|
+
e && (e.report = i.report);
|
|
51
|
+
},
|
|
52
|
+
{ immediate: !0 }
|
|
53
|
+
), p(
|
|
54
|
+
() => i.options,
|
|
55
|
+
() => {
|
|
56
|
+
e && (a(), e.report = i.report);
|
|
57
|
+
},
|
|
58
|
+
{ immediate: !0, deep: !0 }
|
|
59
|
+
), p(
|
|
60
|
+
() => i.visible,
|
|
61
|
+
() => {
|
|
62
|
+
e && (e.visible = i.visible);
|
|
63
|
+
},
|
|
64
|
+
{ immediate: !0 }
|
|
65
|
+
), p(
|
|
66
|
+
() => i.id,
|
|
67
|
+
() => {
|
|
68
|
+
e && (a(), e.report = i.report);
|
|
69
|
+
},
|
|
70
|
+
{ immediate: !0 }
|
|
71
|
+
), () => u("div", { ref: "parentRef" });
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export {
|
|
75
|
+
y as Designer,
|
|
76
|
+
n as Stimulsoft
|
|
77
|
+
};
|