@ibiz-template/vue3-components 0.7.41-alpha.11 → 0.7.41-alpha.12

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 (80) hide show
  1. package/dist/{index-tjsobxd3.js → index-EYFbyMUF.js} +1 -1
  2. package/dist/{index-CsiyXR27.js → index-kNUznzXY.js} +1 -1
  3. package/dist/index-pyv7Wdpx.js +4 -0
  4. package/dist/index.min.css +1 -1
  5. package/dist/index.system.min.js +1 -1
  6. package/dist/{wang-editor-kUY8Nlib.js → wang-editor-TYKjfyR5.js} +1 -1
  7. package/dist/{xlsx-util-s4akItw_.js → xlsx-util-Q9msA8ef.js} +1 -1
  8. package/es/common/grid-setting/grid-setting.d.ts +2 -37
  9. package/es/common/grid-setting/grid-setting.mjs +8 -4
  10. package/es/control/drtab/drtab-control.util.mjs +1 -1
  11. package/es/control/gantt/gantt.mjs +1 -0
  12. package/es/control/grid/grid/grid.css +1 -1
  13. package/es/control/toolbar/toolbar.mjs +7 -7
  14. package/es/editor/array/ibiz-array/ibiz-array.d.ts +1 -0
  15. package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.d.ts +1 -0
  16. package/es/editor/cascader/ibiz-cascader/ibiz-cascader.d.ts +1 -0
  17. package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.d.ts +1 -0
  18. package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.d.ts +1 -0
  19. package/es/editor/code/monaco-editor/monaco-editor.d.ts +1 -0
  20. package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.d.ts +1 -0
  21. package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.d.ts +1 -0
  22. package/es/editor/data-picker/ibiz-picker/ibiz-picker.d.ts +5 -0
  23. package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.d.ts +1 -0
  24. package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.d.ts +1 -0
  25. package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.d.ts +1 -0
  26. package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.d.ts +2 -1
  27. package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +2 -0
  28. package/es/editor/html/wang-editor/wang-editor.d.ts +1 -0
  29. package/es/editor/list-box/ibiz-list-box/ibiz-list-box.d.ts +1 -0
  30. package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.d.ts +1 -0
  31. package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.mjs +1 -1
  32. package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.d.ts +1 -0
  33. package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.d.ts +1 -0
  34. package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.d.ts +1 -0
  35. package/es/editor/rate/ibiz-rate/ibiz-rate.d.ts +3 -0
  36. package/es/editor/slider/ibiz-slider/ibiz-slider.d.ts +1 -0
  37. package/es/editor/span/span/span.d.ts +2 -0
  38. package/es/editor/stepper/ibiz-stepper/ibiz-stepper.d.ts +1 -0
  39. package/es/editor/switch/ibiz-switch/ibiz-switch.d.ts +1 -0
  40. package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.d.ts +1 -0
  41. package/es/editor/text-box/ibiz-input-number/ibiz-input-number.d.ts +1 -0
  42. package/es/editor/text-box/input/input.d.ts +3 -0
  43. package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.d.ts +1 -0
  44. package/es/locale/en/index.d.ts +6 -0
  45. package/es/locale/en/index.mjs +6 -0
  46. package/es/locale/zh-CN/index.d.ts +6 -0
  47. package/es/locale/zh-CN/index.mjs +6 -0
  48. package/es/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1_patch_hash_73bpcwbs2m5ip4qppmz6a7epsa/node_modules/@amap/amap-jsapi-loader/dist/index.mjs +41 -0
  49. package/es/panel-component/user-message/async-action/async-action/async-action.provider.mjs +14 -0
  50. package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.css +1 -1
  51. package/es/panel-component/user-message/async-action/async-data-export/async-data-export.css +1 -0
  52. package/es/panel-component/user-message/async-action/async-data-export/async-data-export.d.ts +34 -0
  53. package/es/panel-component/user-message/async-action/async-data-export/async-data-export.mjs +88 -0
  54. package/es/panel-component/user-message/index.d.ts +2 -32
  55. package/es/panel-component/user-message/index.mjs +21 -11
  56. package/es/util/fullscreen/fullscreen-util.mjs +1 -1
  57. package/es/view-engine/md-custom-view.engine.d.ts +8 -2
  58. package/es/view-engine/md-custom-view.engine.mjs +14 -2
  59. package/lib/common/grid-setting/grid-setting.cjs +8 -4
  60. package/lib/control/drtab/drtab-control.util.cjs +1 -1
  61. package/lib/control/gantt/gantt.cjs +1 -0
  62. package/lib/control/grid/grid/grid.css +1 -1
  63. package/lib/control/toolbar/toolbar.cjs +7 -7
  64. package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.cjs +1 -1
  65. package/lib/locale/en/index.cjs +6 -0
  66. package/lib/locale/zh-CN/index.cjs +6 -0
  67. package/lib/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1_patch_hash_73bpcwbs2m5ip4qppmz6a7epsa/node_modules/@amap/amap-jsapi-loader/dist/index.cjs +45 -0
  68. package/lib/panel-component/user-message/async-action/async-action/async-action.provider.cjs +14 -0
  69. package/lib/panel-component/user-message/async-action/async-action-tab/async-action-tab.css +1 -1
  70. package/lib/panel-component/user-message/async-action/async-data-export/async-data-export.cjs +90 -0
  71. package/lib/panel-component/user-message/async-action/async-data-export/async-data-export.css +1 -0
  72. package/lib/panel-component/user-message/index.cjs +21 -11
  73. package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
  74. package/lib/view-engine/md-custom-view.engine.cjs +14 -2
  75. package/package.json +11 -6
  76. package/dist/index-F_Yq1N9t.js +0 -4
  77. package/es/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.mjs +0 -23
  78. package/lib/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1/node_modules/@amap/amap-jsapi-loader/dist/index.cjs +0 -27
  79. /package/es/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.9_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.41-alpha.12_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
  80. /package/lib/node_modules/.pnpm/{@ibiz-template_core@0.7.41-alpha.9_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.41-alpha.12_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
@@ -0,0 +1 @@
1
+ .ibiz-async-data-export{height:100%;display:flex;flex-flow:column nowrap;padding:var(--ibiz-spacing-tight)}.ibiz-async-data-export__title{font-size:var(--ibiz-font-size-header-5);font-weight:var(--ibiz-font-weight-bold)}.ibiz-async-data-export .el-form-item{margin:0}.ibiz-async-data-export .el-form-item__content,.ibiz-async-data-export .el-form-item__label{font-weight:var(--ibiz-font-weight-bold)}.ibiz-async-data-export-header{display:flex;align-items:center;justify-content:space-between;height:48px;padding:var(--ibiz-spacing-tight);border-bottom:1px solid var(--ibiz-color-border)}.ibiz-async-data-export-time{padding:var(--ibiz-spacing-tight)}.ibiz-async-data-export-time__executing{font-weight:var(--ibiz-font-weight-bold)}
@@ -12,17 +12,27 @@ var asyncAction = require('./async-action/async-action/async-action.cjs');
12
12
  var asyncAction_provider = require('./async-action/async-action/async-action.provider.cjs');
13
13
 
14
14
  "use strict";
15
- const IBizUserMessage = vue3Util.withInstall(userMessage.UserMessage, function(v) {
16
- v.component(userMessage.UserMessage.name, userMessage.UserMessage);
17
- v.component(asyncAction.AsyncAction.name, asyncAction.AsyncAction);
18
- runtime.registerAsyncActionProvider("DEIMPORTDATA2", () => new asyncAction_provider.AsyncActionProvider());
19
- runtime.registerAsyncActionProvider("DEFAULT", () => new asyncAction_provider.AsyncActionProvider());
20
- index.installInternalMessage(v);
21
- runtime.registerPanelItemProvider(
22
- "RAWITEM_USERMESSAGE",
23
- () => new userMessage_provider.UserMessageProvider()
24
- );
25
- });
15
+ const IBizUserMessage = vue3Util.withInstall(
16
+ userMessage.UserMessage,
17
+ function(v) {
18
+ v.component(userMessage.UserMessage.name, userMessage.UserMessage);
19
+ v.component(asyncAction.AsyncAction.name, asyncAction.AsyncAction);
20
+ runtime.registerAsyncActionProvider(
21
+ "DEIMPORTDATA2",
22
+ () => new asyncAction_provider.AsyncActionProvider()
23
+ );
24
+ runtime.registerAsyncActionProvider(
25
+ "DEEXPORTDATA",
26
+ () => new asyncAction_provider.AsyncActionProvider()
27
+ );
28
+ runtime.registerAsyncActionProvider("DEFAULT", () => new asyncAction_provider.AsyncActionProvider());
29
+ index.installInternalMessage(v);
30
+ runtime.registerPanelItemProvider(
31
+ "RAWITEM_USERMESSAGE",
32
+ () => new userMessage_provider.UserMessageProvider()
33
+ );
34
+ }
35
+ );
26
36
 
27
37
  exports.IBizUserMessage = IBizUserMessage;
28
38
  exports.default = IBizUserMessage;
@@ -2,7 +2,7 @@
2
2
 
3
3
  var vue = require('vue');
4
4
  var ElementPlus = require('element-plus');
5
- var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.9_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
+ var namespace = require('../../node_modules/.pnpm/@ibiz-template_core@0.7.41-alpha.12_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');
6
6
  var fullscreenToolbar = require('../../common/fullscreen-toolbar/fullscreen-toolbar.cjs');
7
7
 
8
8
  "use strict";
@@ -96,9 +96,8 @@ class MDCustomViewEngine extends runtime.ViewEngineBase {
96
96
  }
97
97
  }
98
98
  async call(key, args) {
99
- var _a;
100
99
  if (key === runtime.SysUIActionTag.REFRESH) {
101
- await ((_a = this.viewLayoutPanel) == null ? void 0 : _a.load());
100
+ await this.refresh();
102
101
  return null;
103
102
  }
104
103
  if (key === runtime.SysUIActionTag.EDIT || key === runtime.SysUIActionTag.VIEW) {
@@ -109,6 +108,19 @@ class MDCustomViewEngine extends runtime.ViewEngineBase {
109
108
  }
110
109
  return super.call(key, args);
111
110
  }
111
+ /**
112
+ * @description 刷新数据
113
+ * @returns {*} {Promise<void>}
114
+ * @memberof MDCustomViewEngine
115
+ */
116
+ async refresh() {
117
+ if (this.view.state.xdatacontrolname) {
118
+ const xDataCtrl = this.view.getController(
119
+ this.view.state.xdatacontrolname
120
+ );
121
+ await (xDataCtrl == null ? void 0 : xDataCtrl.refresh());
122
+ }
123
+ }
112
124
  /**
113
125
  * @description 打开编辑数据视图
114
126
  * @protected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.41-alpha.11",
3
+ "version": "0.7.41-alpha.12",
4
4
  "description": "web端组件库(vue3)",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -31,15 +31,15 @@
31
31
  "@amap/amap-jsapi-loader": "^1.0.1",
32
32
  "@floating-ui/dom": "^1.5.3",
33
33
  "@ibiz-template-plugin/ai-chat": "^0.0.28",
34
- "@ibiz-template-plugin/gantt": "0.1.8-alpha.266",
34
+ "@ibiz-template-plugin/gantt": "0.1.8-alpha.270",
35
35
  "@ibiz-template-plugin/bi-report": "0.0.26",
36
36
  "@ibiz-template-plugin/data-view": "0.0.4",
37
- "@ibiz-template/core": "0.7.41-alpha.9",
37
+ "@ibiz-template/core": "0.7.41-alpha.12",
38
38
  "@ibiz-template/devtool": "0.0.11",
39
- "@ibiz-template/model-helper": "0.7.41-alpha.11",
40
- "@ibiz-template/runtime": "0.7.41-alpha.11",
39
+ "@ibiz-template/model-helper": "0.7.41-alpha.12",
40
+ "@ibiz-template/runtime": "0.7.41-alpha.12",
41
41
  "@ibiz-template/theme": "0.7.39",
42
- "@ibiz-template/vue3-util": "0.7.41-alpha.11",
42
+ "@ibiz-template/vue3-util": "0.7.41-alpha.12",
43
43
  "@ibiz-template/web-theme": "3.5.0",
44
44
  "@ibiz/model-core": "^0.1.79",
45
45
  "@imengyu/vue3-context-menu": "^1.3.5",
@@ -130,5 +130,10 @@
130
130
  "lint-staged": {
131
131
  "*.ts": "eslint --fix",
132
132
  "*.scss": "stylelint --custom-syntax=postcss-scss"
133
+ },
134
+ "pnpm": {
135
+ "patchedDependencies": {
136
+ "@amap/amap-jsapi-loader@1.0.1": "patches/@amap__amap-jsapi-loader@1.0.1.patch"
137
+ }
133
138
  }
134
139
  }