@ibiz-template/mob-vue3-components 0.0.16-dev.0 → 0.0.18

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.
@@ -34,6 +34,7 @@ export declare const IBizPickerSelectView: import("vue").DefineComponent<{
34
34
  srfsessionid: string;
35
35
  srfappid: string;
36
36
  srfsimple?: boolean | undefined;
37
+ srfpaginationviewid?: string | undefined;
37
38
  }>;
38
39
  params: Ref<IParams>;
39
40
  editorRef: Ref<any>;
@@ -33,8 +33,10 @@ export declare const IBizSpan: import("vue").DefineComponent<{
33
33
  text: string;
34
34
  id: string;
35
35
  color?: string | undefined;
36
+ bkcolor?: string | undefined;
36
37
  children?: any[] | undefined;
37
38
  textCls?: string | undefined;
39
+ cls?: string | undefined;
38
40
  disableSelect?: boolean | undefined;
39
41
  sysImage?: {
40
42
  codeName?: string | undefined;
@@ -79,7 +79,7 @@ class PanelButtonController extends PanelItemController {
79
79
  * @memberof PanelButtonController
80
80
  */
81
81
  async updateButtonState() {
82
- await this.state.uiActionState.update(this.data);
82
+ await this.state.uiActionState.update(this.panel.context, this.data);
83
83
  }
84
84
  /**
85
85
  * 行为点击
@@ -82,7 +82,8 @@ const ViewContentPanelContainer = /* @__PURE__ */ defineComponent({
82
82
  "ref": "contentRef"
83
83
  }, {
84
84
  default: () => [this.isScrollable && this.contentRef && createVNode(resolveComponent("van-back-top"), {
85
- "teleport": this.contentRef.$el
85
+ "teleport": this.contentRef.$el,
86
+ "bottom": 80
86
87
  }, null), defaultSlots.map((slot) => {
87
88
  const props = slot.props;
88
89
  if (!props || !props.controller) {
@@ -1,4 +1,4 @@
1
- import { IMessageUtil } from '@ibiz-template/runtime';
1
+ import { IMessageParams, IMessageUtil } from '@ibiz-template/runtime';
2
2
  /**
3
3
  * 消息通知
4
4
  *
@@ -13,4 +13,5 @@ export declare class MessageUtil implements IMessageUtil {
13
13
  success(msg: string, duration?: number, _closable?: boolean): void;
14
14
  warning(msg: string, duration?: number, _closable?: boolean): void;
15
15
  error(msg: string, duration?: number, _closable?: boolean): void;
16
+ notice(params: IMessageParams): void;
16
17
  }
@@ -1,3 +1,4 @@
1
+ import { RuntimeError } from '@ibiz-template/core';
1
2
  import { showNotify } from 'vant';
2
3
 
3
4
  "use strict";
@@ -30,6 +31,10 @@ class MessageUtil {
30
31
  type: "danger"
31
32
  });
32
33
  }
34
+ // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
35
+ notice(params) {
36
+ throw new RuntimeError("\u6CA1\u6709\u5B9E\u73B0");
37
+ }
33
38
  }
34
39
 
35
40
  export { MessageUtil };
@@ -158,7 +158,7 @@ class MobEditViewEngine extends ViewEngineBase {
158
158
  */
159
159
  async wfStart() {
160
160
  var _a, _b;
161
- await this.save();
161
+ await this.save({ silent: true });
162
162
  const app = ibiz.hub.getApp(this.view.context.srfappid);
163
163
  const entityService = await app.deService.getService(
164
164
  this.view.context,
@@ -81,7 +81,7 @@ class PanelButtonController extends runtime.PanelItemController {
81
81
  * @memberof PanelButtonController
82
82
  */
83
83
  async updateButtonState() {
84
- await this.state.uiActionState.update(this.data);
84
+ await this.state.uiActionState.update(this.panel.context, this.data);
85
85
  }
86
86
  /**
87
87
  * 行为点击
@@ -84,7 +84,8 @@ const ViewContentPanelContainer = /* @__PURE__ */ vue.defineComponent({
84
84
  "ref": "contentRef"
85
85
  }, {
86
86
  default: () => [this.isScrollable && this.contentRef && vue.createVNode(vue.resolveComponent("van-back-top"), {
87
- "teleport": this.contentRef.$el
87
+ "teleport": this.contentRef.$el,
88
+ "bottom": 80
88
89
  }, null), defaultSlots.map((slot) => {
89
90
  const props = slot.props;
90
91
  if (!props || !props.controller) {
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var core = require('@ibiz-template/core');
3
4
  var Vant = require('vant');
4
5
 
5
6
  "use strict";
@@ -32,6 +33,10 @@ class MessageUtil {
32
33
  type: "danger"
33
34
  });
34
35
  }
36
+ // eslint-disable-next-line no-unused-vars, @typescript-eslint/no-unused-vars
37
+ notice(params) {
38
+ throw new core.RuntimeError("\u6CA1\u6709\u5B9E\u73B0");
39
+ }
35
40
  }
36
41
 
37
42
  exports.MessageUtil = MessageUtil;
@@ -160,7 +160,7 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
160
160
  */
161
161
  async wfStart() {
162
162
  var _a, _b;
163
- await this.save();
163
+ await this.save({ silent: true });
164
164
  const app = ibiz.hub.getApp(this.view.context.srfappid);
165
165
  const entityService = await app.deService.getService(
166
166
  this.view.context,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/mob-vue3-components",
3
- "version": "0.0.16-dev.0",
3
+ "version": "0.0.18",
4
4
  "description": "使用 rollup 编译 vue 组件或者 jsx",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -24,13 +24,13 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@ibiz-template-package/vs-tree-ex": "^0.1.1",
27
- "@ibiz-template/core": "^0.6.3",
28
- "@ibiz-template/model-helper": "^0.6.3",
29
- "@ibiz-template/runtime": "^0.6.3",
30
- "@ibiz-template/theme": "^0.6.0",
31
- "@ibiz-template/vue3-util": "^0.6.3",
32
- "@ibiz/model-core": "^0.1.14",
33
- "@ibiz-template/mob-theme": "^0.2.12",
27
+ "@ibiz-template/core": "0.7.3",
28
+ "@ibiz-template/model-helper": "0.7.5",
29
+ "@ibiz-template/runtime": "0.7.5",
30
+ "@ibiz-template/theme": "^0.7.0",
31
+ "@ibiz-template/vue3-util": "0.7.5",
32
+ "@ibiz/model-core": "^0.1.21",
33
+ "@ibiz-template/mob-theme": "^0.2.13",
34
34
  "async-validator": "^4.2.5",
35
35
  "cherry-markdown": "^0.8.26",
36
36
  "dayjs": "^1.11.10",
@@ -62,12 +62,12 @@
62
62
  "vue-tsc": "^1.8.22"
63
63
  },
64
64
  "peerDependencies": {
65
- "@ibiz-template/core": "^0.1.3",
66
- "@ibiz-template/model-helper": "^0.1.3",
67
- "@ibiz-template/runtime": "^0.1.3",
65
+ "@ibiz-template/core": "^0.1.12",
66
+ "@ibiz-template/model-helper": "^0.1.12",
67
+ "@ibiz-template/runtime": "^0.1.12",
68
68
  "@ibiz-template/theme": "^0.1.0",
69
- "@ibiz-template/vue3-util": "^0.1.3",
70
- "@ibiz/model-core": "^0.0.14",
69
+ "@ibiz-template/vue3-util": "^0.1.12",
70
+ "@ibiz/model-core": "^0.0.18",
71
71
  "async-validator": "^4.2.5",
72
72
  "dayjs": "^1.11.9",
73
73
  "echarts": "^5.4.3",