@ningboyz/vue 1.0.8 → 1.0.10
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.d.ts +3 -1
- package/es/components.js +7 -3
- package/es/index.d.ts +3 -4
- package/es/index.js +6 -14
- package/es/package.json.js +1 -1
- package/es/stimulsoft/desgin/desgin.vue.d.ts +5 -1
- package/es/stimulsoft/desgin/desgin.vue.js +2 -2
- package/es/stimulsoft/desgin/desgin.vue2.js +25 -20
- package/es/stimulsoft/desgin/index.d.ts +28 -2
- package/es/stimulsoft/desgin/index.js +9 -4
- package/es/stimulsoft/desgin/interface.d.ts +3 -0
- package/package.json +1 -1
package/es/components.d.ts
CHANGED
package/es/components.js
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import "./stimulsoft/desgin/index.js";
|
|
2
|
-
|
|
1
|
+
import { YzDesgin as t } from "./stimulsoft/desgin/index.js";
|
|
2
|
+
const s = [t];
|
|
3
|
+
function e(o) {
|
|
4
|
+
s.forEach((n) => o.use(n));
|
|
5
|
+
}
|
|
3
6
|
export {
|
|
4
|
-
|
|
7
|
+
t as YzDesgin,
|
|
8
|
+
e as install
|
|
5
9
|
};
|
package/es/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
export * from './components
|
|
3
|
-
|
|
4
|
-
export default _default;
|
|
1
|
+
import * as YzUI from './components';
|
|
2
|
+
export * from './components';
|
|
3
|
+
export default YzUI;
|
package/es/index.js
CHANGED
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import o from "./
|
|
2
|
-
import
|
|
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
|
-
};
|
|
1
|
+
import * as o from "./components.js";
|
|
2
|
+
import { install as e } from "./components.js";
|
|
3
|
+
import { YzDesgin as p } from "./stimulsoft/desgin/index.js";
|
|
13
4
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
5
|
+
p as YzDesgin,
|
|
6
|
+
o as default,
|
|
7
|
+
e as install
|
|
16
8
|
};
|
package/es/package.json.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { IStimulsoftDesginProps } from './interface';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<IStimulsoftDesginProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IStimulsoftDesginProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
saveReport: (fileName: string, json: string) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<IStimulsoftDesginProps> & Readonly<{
|
|
5
|
+
onSaveReport?: ((fileName: string, json: string) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./desgin.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-119bbadd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,45 +1,50 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Designer as
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as f, ref as u, watch as v, createBlock as d, openBlock as g, unref as s } from "vue";
|
|
2
|
+
import { Designer as D } from "../../node_modules/stimulsoft-reports-js-vuejs/designer.js";
|
|
3
|
+
import R from "./factory.js";
|
|
4
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 N = /* @__PURE__ */ f({
|
|
9
9
|
__name: "desgin",
|
|
10
10
|
props: {
|
|
11
11
|
listData: {}
|
|
12
12
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
emits: ["saveReport"],
|
|
14
|
+
setup(p, { emit: i }) {
|
|
15
|
+
const a = p, r = u(), n = new _.Designer.StiDesignerOptions();
|
|
16
|
+
n.appearance.fullScreenMode = !0;
|
|
17
|
+
const c = i;
|
|
18
|
+
v(
|
|
19
|
+
() => a.listData,
|
|
17
20
|
(e) => {
|
|
18
|
-
|
|
21
|
+
l(e);
|
|
19
22
|
},
|
|
20
23
|
{
|
|
21
24
|
deep: !0
|
|
22
25
|
}
|
|
23
26
|
);
|
|
24
|
-
const
|
|
25
|
-
e.preventDefault = !0
|
|
26
|
-
|
|
27
|
+
const m = (e) => {
|
|
28
|
+
e.preventDefault = !0;
|
|
29
|
+
const t = e.report.saveToJsonString(), o = e.fileName;
|
|
30
|
+
c("saveReport", o, t);
|
|
31
|
+
}, l = async (e) => {
|
|
27
32
|
try {
|
|
28
|
-
const t = new
|
|
33
|
+
const t = new R();
|
|
29
34
|
t.setListData(e);
|
|
30
|
-
const
|
|
31
|
-
|
|
35
|
+
const o = t.getReport();
|
|
36
|
+
r.value = o;
|
|
32
37
|
} catch (t) {
|
|
33
38
|
console.log(t.message);
|
|
34
39
|
}
|
|
35
40
|
};
|
|
36
|
-
return (e, t) => (g(),
|
|
37
|
-
report:
|
|
38
|
-
options: n
|
|
39
|
-
onSaveReport:
|
|
41
|
+
return (e, t) => (g(), d(s(D), {
|
|
42
|
+
report: r.value,
|
|
43
|
+
options: s(n),
|
|
44
|
+
onSaveReport: m
|
|
40
45
|
}, null, 8, ["report", "options"]));
|
|
41
46
|
}
|
|
42
47
|
});
|
|
43
48
|
export {
|
|
44
|
-
|
|
49
|
+
N as default
|
|
45
50
|
};
|
|
@@ -1,2 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
export declare const YzDesgin: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./interface').IStimulsoftDesginProps> & Readonly<{
|
|
4
|
+
onSaveReport?: ((fileName: string, json: string) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
saveReport: (fileName: string, json: string) => any;
|
|
7
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
8
|
+
P: {};
|
|
9
|
+
B: {};
|
|
10
|
+
D: {};
|
|
11
|
+
C: {};
|
|
12
|
+
M: {};
|
|
13
|
+
Defaults: {};
|
|
14
|
+
}, Readonly<import('./interface').IStimulsoftDesginProps> & Readonly<{
|
|
15
|
+
onSaveReport?: ((fileName: string, json: string) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, {}>;
|
|
17
|
+
__isFragment?: never;
|
|
18
|
+
__isTeleport?: never;
|
|
19
|
+
__isSuspense?: never;
|
|
20
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./interface').IStimulsoftDesginProps> & Readonly<{
|
|
21
|
+
onSaveReport?: ((fileName: string, json: string) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
23
|
+
saveReport: (fileName: string, json: string) => any;
|
|
24
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
25
|
+
install(app: App): void;
|
|
26
|
+
version: string;
|
|
27
|
+
};
|
|
28
|
+
export default YzDesgin;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import n from "./desgin.vue.js";
|
|
2
|
+
import e from "../../package.json.js";
|
|
3
|
+
const t = Object.assign({}, n, {
|
|
4
|
+
install(o) {
|
|
5
|
+
o.component(n.name, n);
|
|
6
|
+
},
|
|
7
|
+
version: e.version
|
|
8
|
+
});
|
|
5
9
|
export {
|
|
10
|
+
t as YzDesgin,
|
|
6
11
|
t as default
|
|
7
12
|
};
|