@ibiz-template/vue3-components 0.7.28 → 0.7.29
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-dIj05Kls.js +4 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-z-jllHFG.js → xlsx-util-bhQVAaEM.js} +1 -1
- package/es/common/fullscreen-toolbar/fullscreen-toolbar-alarm-clock/fullscreen-toolbar-alarm-clock.css +1 -0
- package/es/common/fullscreen-toolbar/fullscreen-toolbar-alarm-clock/fullscreen-toolbar-alarm-clock.d.ts +9 -0
- package/es/common/fullscreen-toolbar/fullscreen-toolbar-alarm-clock/fullscreen-toolbar-alarm-clock.mjs +87 -0
- package/es/common/fullscreen-toolbar/fullscreen-toolbar.css +1 -0
- package/es/common/fullscreen-toolbar/fullscreen-toolbar.d.ts +13 -0
- package/es/common/fullscreen-toolbar/fullscreen-toolbar.mjs +244 -0
- package/es/common/index.mjs +2 -0
- package/es/common/pagination/pagination.mjs +1 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +4 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +2 -2
- package/es/control/dashboard/dashboard-design/dashboard-design.mjs +7 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +3 -2
- package/es/control/grid/grid/grid.mjs +1 -1
- package/es/editor/span/span/span.mjs +18 -9
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.d.ts +2 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +14 -5
- package/es/index.mjs +1 -0
- package/es/util/fullscreen/fullscreen-util.d.ts +25 -0
- package/es/util/fullscreen/fullscreen-util.mjs +43 -0
- package/es/util/index.d.ts +1 -0
- package/es/util/index.mjs +1 -0
- package/es/web-app/main.mjs +2 -0
- package/lib/common/fullscreen-toolbar/fullscreen-toolbar-alarm-clock/fullscreen-toolbar-alarm-clock.cjs +89 -0
- package/lib/common/fullscreen-toolbar/fullscreen-toolbar-alarm-clock/fullscreen-toolbar-alarm-clock.css +1 -0
- package/lib/common/fullscreen-toolbar/fullscreen-toolbar.cjs +246 -0
- package/lib/common/fullscreen-toolbar/fullscreen-toolbar.css +1 -0
- package/lib/common/index.cjs +2 -0
- package/lib/common/pagination/pagination.cjs +1 -1
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +2 -2
- package/lib/control/dashboard/dashboard-design/dashboard-design.cjs +7 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +3 -2
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/grid/grid/grid.cjs +1 -1
- package/lib/editor/span/span/span.cjs +18 -9
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +14 -5
- package/lib/index.cjs +2 -0
- package/lib/util/fullscreen/fullscreen-util.cjs +45 -0
- package/lib/util/index.cjs +2 -0
- package/lib/web-app/main.cjs +2 -0
- package/package.json +6 -6
- package/dist/index-X_i16UJh.js +0 -4
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var ElementPlus = require('element-plus');
|
|
5
|
+
var fullscreenToolbar = require('../../common/fullscreen-toolbar/fullscreen-toolbar.cjs');
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
class FullscreenUtil {
|
|
9
|
+
/**
|
|
10
|
+
* Creates an instance of FullscreenUtil.
|
|
11
|
+
* @memberof FullscreenUtil
|
|
12
|
+
*/
|
|
13
|
+
constructor() {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 指定元素全屏
|
|
17
|
+
* @author fzh
|
|
18
|
+
* @date 2024-07-09 19:39:40
|
|
19
|
+
*/
|
|
20
|
+
openElementFullscreen(div) {
|
|
21
|
+
if (!document.fullscreenElement && div) {
|
|
22
|
+
div.requestFullscreen();
|
|
23
|
+
div.style.background = "white";
|
|
24
|
+
const content = document.createElement("div");
|
|
25
|
+
content.id = "fullscreen";
|
|
26
|
+
content.style.position = "absolute";
|
|
27
|
+
content.style.bottom = "20px";
|
|
28
|
+
content.style.left = "45%";
|
|
29
|
+
div.appendChild(content);
|
|
30
|
+
const app = vue.createApp(fullscreenToolbar.IBizFullscreenToolbar);
|
|
31
|
+
app.use(ElementPlus);
|
|
32
|
+
app.mount(content);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 页面退出全屏
|
|
37
|
+
* @author fzh
|
|
38
|
+
* @date 2024-07-09 19:39:40
|
|
39
|
+
*/
|
|
40
|
+
closeFullscreen() {
|
|
41
|
+
document.exitFullscreen();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.FullscreenUtil = FullscreenUtil;
|
package/lib/util/index.cjs
CHANGED
|
@@ -11,6 +11,7 @@ var usePagination = require('./pagination/use-pagination.cjs');
|
|
|
11
11
|
var noticeUtil = require('./notice-util/notice-util.cjs');
|
|
12
12
|
var renderUtil = require('./render-util/render-util.cjs');
|
|
13
13
|
var appUtil = require('./app-util/app-util.cjs');
|
|
14
|
+
var fullscreenUtil = require('./fullscreen/fullscreen-util.cjs');
|
|
14
15
|
var wangEditorUtil = require('./wang-editor-util/wang-editor-util.cjs');
|
|
15
16
|
|
|
16
17
|
"use strict";
|
|
@@ -26,4 +27,5 @@ exports.usePagination = usePagination.usePagination;
|
|
|
26
27
|
exports.NoticeUtil = noticeUtil.NoticeUtil;
|
|
27
28
|
exports.RenderUtil = renderUtil.RenderUtil;
|
|
28
29
|
exports.AppUtil = appUtil.AppUtil;
|
|
30
|
+
exports.FullscreenUtil = fullscreenUtil.FullscreenUtil;
|
|
29
31
|
exports.parseHtml = wangEditorUtil.parseHtml;
|
package/lib/web-app/main.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var notificationUtil = require('../util/notification-util/notification-util.cjs'
|
|
|
22
22
|
var loadingUtil = require('../util/loading-util/loading-util.cjs');
|
|
23
23
|
var noticeUtil = require('../util/notice-util/notice-util.cjs');
|
|
24
24
|
var overlayController = require('../util/overlay-controller/overlay-controller.cjs');
|
|
25
|
+
var fullscreenUtil = require('../util/fullscreen/fullscreen-util.cjs');
|
|
25
26
|
|
|
26
27
|
"use strict";
|
|
27
28
|
async function runApp(plugins, opts) {
|
|
@@ -78,6 +79,7 @@ async function runApp(plugins, opts) {
|
|
|
78
79
|
ibiz.util.text.format = (value, code) => {
|
|
79
80
|
return app.config.globalProperties.$textFormat(value, code);
|
|
80
81
|
};
|
|
82
|
+
ibiz.fullscreenUtil = new fullscreenUtil.FullscreenUtil();
|
|
81
83
|
await ibiz.i18n.init();
|
|
82
84
|
app.mount("#app");
|
|
83
85
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.29",
|
|
4
4
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"@floating-ui/dom": "^1.5.3",
|
|
31
31
|
"@ibiz-template-plugin/ai-chat": "^0.0.5",
|
|
32
32
|
"@ibiz-template-plugin/gantt": "0.1.8-alpha.6",
|
|
33
|
-
"@ibiz-template-plugin/bi-report": "0.0.
|
|
33
|
+
"@ibiz-template-plugin/bi-report": "0.0.9",
|
|
34
34
|
"@ibiz-template/core": "0.7.28",
|
|
35
35
|
"@ibiz-template/devtool": "0.0.1-dev.6",
|
|
36
|
-
"@ibiz-template/model-helper": "0.7.
|
|
37
|
-
"@ibiz-template/runtime": "0.7.
|
|
36
|
+
"@ibiz-template/model-helper": "0.7.29",
|
|
37
|
+
"@ibiz-template/runtime": "0.7.29",
|
|
38
38
|
"@ibiz-template/theme": "^0.7.0",
|
|
39
|
-
"@ibiz-template/vue3-util": "0.7.
|
|
39
|
+
"@ibiz-template/vue3-util": "0.7.29",
|
|
40
40
|
"@ibiz-template/web-theme": "^1.1.18",
|
|
41
|
-
"@ibiz/model-core": "^0.1.
|
|
41
|
+
"@ibiz/model-core": "^0.1.43",
|
|
42
42
|
"@imengyu/vue3-context-menu": "^1.3.5",
|
|
43
43
|
"@monaco-editor/loader": "^1.4.0",
|
|
44
44
|
"@wangeditor/editor": "^5.1.23",
|