@ibiz-template/vue3-components 0.7.24 → 0.7.25-alpha.1

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 (28) hide show
  1. package/dist/{index-XTX4vyZZ.js → index-9XamMUIq.js} +3 -3
  2. package/dist/index.min.css +1 -1
  3. package/dist/index.system.min.js +1 -1
  4. package/dist/{xlsx-util-aO-rYvlt.js → xlsx-util-4srZsn7Q.js} +1 -1
  5. package/es/control/drtab/drtab-control.util.mjs +1 -1
  6. package/es/control/report-panel/index.mjs +2 -0
  7. package/es/control/report-panel/report-detail/bi-report-panel/bi-report-panel.css +1 -0
  8. package/es/control/report-panel/report-detail/bi-report-panel/bi-report-panel.d.ts +16 -0
  9. package/es/control/report-panel/report-detail/bi-report-panel/bi-report-panel.mjs +38 -0
  10. package/es/control/report-panel/report-detail/bi-report-panel/index.d.ts +14 -0
  11. package/es/control/report-panel/report-detail/bi-report-panel/index.mjs +9 -0
  12. package/es/control/report-panel/report-detail/index.d.ts +1 -0
  13. package/es/control/report-panel/report-detail/index.mjs +1 -0
  14. package/es/control/report-panel/report-panel.mjs +10 -0
  15. package/es/editor/upload/use/use-ibiz-upload.mjs +2 -2
  16. package/es/locale/en/index.d.ts +4 -0
  17. package/es/locale/zh-CN/index.d.ts +4 -0
  18. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  19. package/lib/control/report-panel/index.cjs +2 -0
  20. package/lib/control/report-panel/report-detail/bi-report-panel/bi-report-panel.cjs +40 -0
  21. package/lib/control/report-panel/report-detail/bi-report-panel/bi-report-panel.css +1 -0
  22. package/lib/control/report-panel/report-detail/bi-report-panel/index.cjs +14 -0
  23. package/lib/control/report-panel/report-detail/index.cjs +2 -0
  24. package/lib/control/report-panel/report-panel.cjs +10 -0
  25. package/lib/editor/upload/use/use-ibiz-upload.cjs +2 -2
  26. package/package.json +8 -8
  27. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.18_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.25-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs +0 -0
  28. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.18_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1 → @ibiz-template_core@0.7.25-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1}/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs +0 -0
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, watchEffect, onUnmounted } from 'vue';
2
- import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.18_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
2
+ import { defaultNamespace } from '../../node_modules/.pnpm/@ibiz-template_core@0.7.25-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.mjs';
3
3
 
4
4
  "use strict";
5
5
  function useAppDRTab(c, controlRef, counterData) {
@@ -5,6 +5,7 @@ import { ReportPanelProvider } from './report-panel.provider.mjs';
5
5
  import './report-detail/index.mjs';
6
6
  import { IBizUserReportPanel } from './report-detail/user-report-panel/index.mjs';
7
7
  import { IBizUser2ReportPanel } from './report-detail/user2-report-panel/index.mjs';
8
+ import { IBizBIReportPanel } from './report-detail/bi-report-panel/index.mjs';
8
9
 
9
10
  "use strict";
10
11
  const IBizReportPanelControl = withInstall(
@@ -12,6 +13,7 @@ const IBizReportPanelControl = withInstall(
12
13
  function(v) {
13
14
  v.use(IBizUserReportPanel);
14
15
  v.use(IBizUser2ReportPanel);
16
+ v.use(IBizBIReportPanel);
15
17
  v.component(ReportPanelControl.name, ReportPanelControl);
16
18
  registerControlProvider(
17
19
  ControlType.REPORT_PANEL,
@@ -0,0 +1 @@
1
+ .ibiz-bi-report-panel__container{width:100%;height:100%}
@@ -0,0 +1,16 @@
1
+ import { PropType } from 'vue';
2
+ import { ReportPanelController } from '@ibiz-template/runtime';
3
+ import './bi-report-panel.scss';
4
+ export declare const BIReportPanel: import("vue").DefineComponent<{
5
+ controller: {
6
+ type: PropType<ReportPanelController>;
7
+ };
8
+ }, {
9
+ c: ReportPanelController | undefined;
10
+ ns: import("@ibiz-template/core").Namespace;
11
+ generator: import("@ibiz-template/runtime/out/controller/control/report-panel/generator/base-generator").ReportPanelBaseGenerator | undefined;
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ controller: {
14
+ type: PropType<ReportPanelController>;
15
+ };
16
+ }>>, {}, {}>;
@@ -0,0 +1,38 @@
1
+ import { resolveComponent, createVNode, defineComponent } from 'vue';
2
+ import { useNamespace } from '@ibiz-template/vue3-util';
3
+ import './bi-report-panel.css';
4
+
5
+ "use strict";
6
+ const BIReportPanel = /* @__PURE__ */ defineComponent({
7
+ name: "IBizBIReportPanel",
8
+ props: {
9
+ controller: {
10
+ type: Object
11
+ }
12
+ },
13
+ setup(props) {
14
+ const c = props.controller;
15
+ const ns = useNamespace("bi-report-panel");
16
+ const generator = c && c.generator;
17
+ return {
18
+ c,
19
+ ns,
20
+ generator
21
+ };
22
+ },
23
+ render() {
24
+ if (!this.c) {
25
+ return;
26
+ }
27
+ return createVNode("div", {
28
+ "class": this.ns.e("container")
29
+ }, [createVNode(resolveComponent("iBizBIReportContent"), {
30
+ "mode": "CONTENT",
31
+ "context": this.c.context,
32
+ "viewParams": this.c.params,
33
+ "config": this.generator && this.generator.config
34
+ }, null)]);
35
+ }
36
+ });
37
+
38
+ export { BIReportPanel };
@@ -0,0 +1,14 @@
1
+ export declare const IBizBIReportPanel: import("@ibiz-template/vue3-util").TypeWithInstall<import("vue").DefineComponent<{
2
+ controller: {
3
+ type: import("vue").PropType<import("@ibiz-template/runtime").ReportPanelController>;
4
+ };
5
+ }, {
6
+ c: import("@ibiz-template/runtime").ReportPanelController | undefined;
7
+ ns: import("@ibiz-template/core").Namespace;
8
+ generator: import("@ibiz-template/runtime/out/controller/control/report-panel/generator/base-generator").ReportPanelBaseGenerator | undefined;
9
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10
+ controller: {
11
+ type: import("vue").PropType<import("@ibiz-template/runtime").ReportPanelController>;
12
+ };
13
+ }>>, {}, {}>>;
14
+ export default IBizBIReportPanel;
@@ -0,0 +1,9 @@
1
+ import { withInstall } from '@ibiz-template/vue3-util';
2
+ import { BIReportPanel } from './bi-report-panel.mjs';
3
+
4
+ "use strict";
5
+ const IBizBIReportPanel = withInstall(BIReportPanel, function(v) {
6
+ v.component(BIReportPanel.name, BIReportPanel);
7
+ });
8
+
9
+ export { IBizBIReportPanel, IBizBIReportPanel as default };
@@ -1,2 +1,3 @@
1
1
  export * from './user-report-panel/index';
2
2
  export * from './user2-report-panel/index';
3
+ export * from './bi-report-panel/index';
@@ -1,4 +1,5 @@
1
1
  export { IBizUserReportPanel } from './user-report-panel/index.mjs';
2
2
  export { IBizUser2ReportPanel } from './user2-report-panel/index.mjs';
3
+ export { IBizBIReportPanel } from './bi-report-panel/index.mjs';
3
4
 
4
5
  "use strict";
@@ -46,6 +46,16 @@ const ReportPanelControl = /* @__PURE__ */ defineComponent({
46
46
  return createVNode(resolveComponent("iBizUser2ReportPanel"), {
47
47
  "controller": c
48
48
  }, null);
49
+ case "DESYSBIREPORTS":
50
+ case "SYSBICUBE":
51
+ case "DESYSBICUBES":
52
+ case "ALLSYSBICUBES":
53
+ case "SYSBIREPORT":
54
+ case "SYSBICUBEREPORTS":
55
+ case "ALLSYSBIREPORTS":
56
+ return createVNode(resolveComponent("iBizBIReportPanel"), {
57
+ "controller": c
58
+ }, null);
49
59
  default:
50
60
  return createVNode("div", null, [ibiz.i18n.t("control.reportPanel.unrealized")]);
51
61
  }
@@ -111,8 +111,8 @@ function useIBizUpload(opts) {
111
111
  fileList.value.find((item) => {
112
112
  if (item.id === file.uid) {
113
113
  item.status = file.status;
114
- item.id = res.data.fileid;
115
- item.name = res.data.filename;
114
+ item.id = res.data.fileid || res.data.id;
115
+ item.name = res.data.filename || res.data.name;
116
116
  formatFileInfo(item, downloadUrl.value);
117
117
  return true;
118
118
  }
@@ -125,6 +125,9 @@ declare const _default: {
125
125
  dataDeleted: string;
126
126
  noChange: string;
127
127
  firstComplete: string;
128
+ noMoveDataCconfig: string;
129
+ changeGroupError: string;
130
+ computeMoveMetaError: string;
128
131
  };
129
132
  editor: {
130
133
  editorNoConfigured: string;
@@ -236,6 +239,7 @@ declare const _default: {
236
239
  reportPanel: {
237
240
  reportType: string;
238
241
  noImplemented: string;
242
+ noReportUIModel: string;
239
243
  };
240
244
  searchBar: {
241
245
  noFoundEntity: string;
@@ -125,6 +125,9 @@ declare const _default: {
125
125
  dataDeleted: string;
126
126
  noChange: string;
127
127
  firstComplete: string;
128
+ noMoveDataCconfig: string;
129
+ changeGroupError: string;
130
+ computeMoveMetaError: string;
128
131
  };
129
132
  editor: {
130
133
  editorNoConfigured: string;
@@ -236,6 +239,7 @@ declare const _default: {
236
239
  reportPanel: {
237
240
  reportType: string;
238
241
  noImplemented: string;
242
+ noReportUIModel: string;
239
243
  };
240
244
  searchBar: {
241
245
  noFoundEntity: string;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var vue = require('vue');
4
- var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.18_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
4
+ var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.25-alpha.1_axios@1.6.8_lodash-es@4.17.21_qs@6.11.2_qx-util@0.4.8_ramda@0.29.1/node_modules/@ibiz-template/core/out/utils/namespace/namespace.cjs');
5
5
 
6
6
  "use strict";
7
7
  function useAppDRTab(c, controlRef, counterData) {
@@ -9,6 +9,7 @@ var reportPanel_provider = require('./report-panel.provider.cjs');
9
9
  require('./report-detail/index.cjs');
10
10
  var index = require('./report-detail/user-report-panel/index.cjs');
11
11
  var index$1 = require('./report-detail/user2-report-panel/index.cjs');
12
+ var index$2 = require('./report-detail/bi-report-panel/index.cjs');
12
13
 
13
14
  "use strict";
14
15
  const IBizReportPanelControl = vue3Util.withInstall(
@@ -16,6 +17,7 @@ const IBizReportPanelControl = vue3Util.withInstall(
16
17
  function(v) {
17
18
  v.use(index.IBizUserReportPanel);
18
19
  v.use(index$1.IBizUser2ReportPanel);
20
+ v.use(index$2.IBizBIReportPanel);
19
21
  v.component(reportPanel.ReportPanelControl.name, reportPanel.ReportPanelControl);
20
22
  runtime.registerControlProvider(
21
23
  runtime.ControlType.REPORT_PANEL,
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+
3
+ var vue = require('vue');
4
+ var vue3Util = require('@ibiz-template/vue3-util');
5
+ require('./bi-report-panel.css');
6
+
7
+ "use strict";
8
+ const BIReportPanel = /* @__PURE__ */ vue.defineComponent({
9
+ name: "IBizBIReportPanel",
10
+ props: {
11
+ controller: {
12
+ type: Object
13
+ }
14
+ },
15
+ setup(props) {
16
+ const c = props.controller;
17
+ const ns = vue3Util.useNamespace("bi-report-panel");
18
+ const generator = c && c.generator;
19
+ return {
20
+ c,
21
+ ns,
22
+ generator
23
+ };
24
+ },
25
+ render() {
26
+ if (!this.c) {
27
+ return;
28
+ }
29
+ return vue.createVNode("div", {
30
+ "class": this.ns.e("container")
31
+ }, [vue.createVNode(vue.resolveComponent("iBizBIReportContent"), {
32
+ "mode": "CONTENT",
33
+ "context": this.c.context,
34
+ "viewParams": this.c.params,
35
+ "config": this.generator && this.generator.config
36
+ }, null)]);
37
+ }
38
+ });
39
+
40
+ exports.BIReportPanel = BIReportPanel;
@@ -0,0 +1 @@
1
+ .ibiz-bi-report-panel__container{width:100%;height:100%}
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue3Util = require('@ibiz-template/vue3-util');
6
+ var biReportPanel = require('./bi-report-panel.cjs');
7
+
8
+ "use strict";
9
+ const IBizBIReportPanel = vue3Util.withInstall(biReportPanel.BIReportPanel, function(v) {
10
+ v.component(biReportPanel.BIReportPanel.name, biReportPanel.BIReportPanel);
11
+ });
12
+
13
+ exports.IBizBIReportPanel = IBizBIReportPanel;
14
+ exports.default = IBizBIReportPanel;
@@ -2,8 +2,10 @@
2
2
 
3
3
  var index = require('./user-report-panel/index.cjs');
4
4
  var index$1 = require('./user2-report-panel/index.cjs');
5
+ var index$2 = require('./bi-report-panel/index.cjs');
5
6
 
6
7
  "use strict";
7
8
 
8
9
  exports.IBizUserReportPanel = index.IBizUserReportPanel;
9
10
  exports.IBizUser2ReportPanel = index$1.IBizUser2ReportPanel;
11
+ exports.IBizBIReportPanel = index$2.IBizBIReportPanel;
@@ -48,6 +48,16 @@ const ReportPanelControl = /* @__PURE__ */ vue.defineComponent({
48
48
  return vue.createVNode(vue.resolveComponent("iBizUser2ReportPanel"), {
49
49
  "controller": c
50
50
  }, null);
51
+ case "DESYSBIREPORTS":
52
+ case "SYSBICUBE":
53
+ case "DESYSBICUBES":
54
+ case "ALLSYSBICUBES":
55
+ case "SYSBIREPORT":
56
+ case "SYSBICUBEREPORTS":
57
+ case "ALLSYSBIREPORTS":
58
+ return vue.createVNode(vue.resolveComponent("iBizBIReportPanel"), {
59
+ "controller": c
60
+ }, null);
51
61
  default:
52
62
  return vue.createVNode("div", null, [ibiz.i18n.t("control.reportPanel.unrealized")]);
53
63
  }
@@ -113,8 +113,8 @@ function useIBizUpload(opts) {
113
113
  fileList.value.find((item) => {
114
114
  if (item.id === file.uid) {
115
115
  item.status = file.status;
116
- item.id = res.data.fileid;
117
- item.name = res.data.filename;
116
+ item.id = res.data.fileid || res.data.id;
117
+ item.name = res.data.filename || res.data.name;
118
118
  formatFileInfo(item, downloadUrl.value);
119
119
  return true;
120
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.24",
3
+ "version": "0.7.25-alpha.1",
4
4
  "description": "使用 rollup 编译 vue 组件或者 jsx",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -29,15 +29,15 @@
29
29
  "dependencies": {
30
30
  "@floating-ui/dom": "^1.5.3",
31
31
  "@ibiz-template-plugin/ai-chat": "^0.0.5",
32
- "@ibiz-template-plugin/gantt": "0.1.8-alpha.3",
33
- "@ibiz-template/core": "0.7.18",
32
+ "@ibiz-template-plugin/gantt": "0.1.8-alpha.6",
33
+ "@ibiz-template/core": "0.7.25-alpha.1",
34
34
  "@ibiz-template/devtool": "0.0.1-dev.6",
35
- "@ibiz-template/model-helper": "0.7.24",
36
- "@ibiz-template/runtime": "0.7.24",
35
+ "@ibiz-template/model-helper": "0.7.25-alpha.1",
36
+ "@ibiz-template/runtime": "0.7.25-alpha.1",
37
37
  "@ibiz-template/theme": "^0.7.0",
38
- "@ibiz-template/vue3-util": "0.7.24",
38
+ "@ibiz-template/vue3-util": "0.7.25-alpha.1",
39
39
  "@ibiz-template/web-theme": "^1.1.18",
40
- "@ibiz/model-core": "^0.1.34",
40
+ "@ibiz/model-core": "^0.1.35",
41
41
  "@imengyu/vue3-context-menu": "^1.3.5",
42
42
  "@monaco-editor/loader": "^1.4.0",
43
43
  "@wangeditor/editor": "^5.1.23",
@@ -101,7 +101,7 @@
101
101
  "@ibiz-template/runtime": "^0.7.0",
102
102
  "@ibiz-template/theme": "^0.7.0",
103
103
  "@ibiz-template/vue3-util": "^0.7.0",
104
- "@ibiz/model-core": "^0.1.34",
104
+ "@ibiz/model-core": "^0.1.35",
105
105
  "@imengyu/vue3-context-menu": "^1.3.3",
106
106
  "@monaco-editor/loader": "^1.3.3",
107
107
  "@wangeditor/editor": "^5.1.23",