@ibiz-template/mob-vue3-components 0.0.16-dev.0 → 0.0.17
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/dist/index.min.css +1 -1
- package/dist/index.system.min.js +2 -2
- package/dist/index.system.min.js.map +1 -1
- package/es/editor/span/span/span.d.ts +2 -0
- package/es/panel-component/panel-button/panel-button.controller.mjs +1 -1
- package/es/util/message-util/message-util.d.ts +2 -1
- package/es/util/message-util/message-util.mjs +5 -0
- package/lib/panel-component/panel-button/panel-button.controller.cjs +1 -1
- package/lib/util/message-util/message-util.cjs +5 -0
- package/package.json +12 -12
|
@@ -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
|
* 行为点击
|
|
@@ -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 };
|
|
@@ -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
|
* 行为点击
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/mob-vue3-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
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.
|
|
28
|
-
"@ibiz-template/model-helper": "^0.6.
|
|
29
|
-
"@ibiz-template/runtime": "^0.6.
|
|
27
|
+
"@ibiz-template/core": "^0.6.12",
|
|
28
|
+
"@ibiz-template/model-helper": "^0.6.12",
|
|
29
|
+
"@ibiz-template/runtime": "^0.6.12",
|
|
30
30
|
"@ibiz-template/theme": "^0.6.0",
|
|
31
|
-
"@ibiz-template/vue3-util": "^0.6.
|
|
32
|
-
"@ibiz/model-core": "^0.1.
|
|
33
|
-
"@ibiz-template/mob-theme": "^0.2.
|
|
31
|
+
"@ibiz-template/vue3-util": "^0.6.12",
|
|
32
|
+
"@ibiz/model-core": "^0.1.18",
|
|
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.
|
|
66
|
-
"@ibiz-template/model-helper": "^0.1.
|
|
67
|
-
"@ibiz-template/runtime": "^0.1.
|
|
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.
|
|
70
|
-
"@ibiz/model-core": "^0.0.
|
|
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",
|