@ibiz-template/vue3-components 0.7.10 → 0.7.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.
- package/dist/{chart-jfPZ04eU.js → chart-Wh3LMgZ1.js} +1 -1
- package/dist/index-3xonNDdv.js +4 -0
- package/dist/index-WP6TUdg-.js +1 -0
- package/dist/index-kgWpXafW.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/map-chart-A4-TpWet.js +1 -0
- package/dist/wang-editor-PQvDXaA9.js +1 -0
- package/dist/{xlsx-util-my1qbty8.js → xlsx-util-Zf9d2PeX.js} +1 -1
- package/es/common/data-import2/data-import2.mjs +1 -1
- package/es/common/doing-notice/doing-notice.mjs +7 -5
- package/es/common/map-chart/map-chart.util.mjs +4 -1
- package/es/common/view-message/view-message.css +1 -1
- package/es/common/view-message/view-message.d.ts +848 -1
- package/es/common/view-message/view-message.mjs +52 -22
- package/es/control/app-menu/app-menu.mjs +6 -2
- package/es/control/calendar/calendar.mjs +1 -1
- package/es/control/chart/chart.mjs +1 -1
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.d.ts +19002 -27
- package/es/control/dashboard/custom-dashboard-container/custom-dashboard-container.mjs +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs +4 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.d.ts +66 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +14 -11
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.mjs +2 -2
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.provider.mjs +3 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +17 -11
- package/es/control/gantt/gantt.d.ts +1 -0
- package/es/control/gantt/gantt.mjs +15 -4
- package/es/control/gantt/index.d.ts +1 -0
- package/es/control/grid/grid/grid.mjs +3 -2
- package/es/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.mjs +3 -1
- package/es/control/grid/row-edit-popover/row-edit-popover.mjs +9 -5
- package/es/control/grid/row-edit-popover/use-row-edit-popover.mjs +3 -3
- package/es/control/kanban/kanban.mjs +17 -9
- package/es/control/list/list.mjs +2 -2
- package/es/control/report-panel/report-detail/user2-report-panel/user2-report-panel.mjs +2 -2
- package/es/control/report-panel/report-panel.mjs +2 -2
- package/es/control/search-bar/filter-tree/filter-tree.mjs +7 -5
- package/es/control/search-bar/search-bar.mjs +2 -2
- package/es/control/search-bar/search-groups/edit-group-util.mjs +10 -2
- package/es/control/search-bar/search-groups/new-group-util.mjs +13 -3
- package/es/control/search-bar/search-groups/search-groups.d.ts +1 -1
- package/es/control/search-bar/search-groups/search-groups.mjs +47 -38
- package/es/control/toolbar/export-excel/export-excel.mjs +23 -21
- package/es/control/tree/el-tree-util.mjs +4 -2
- package/es/control/tree/tree.mjs +3 -1
- package/es/control/tree-grid/tree-grid.mjs +3 -1
- package/es/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.mjs +3 -1
- package/es/control/tree-grid-ex/tree-grid-ex.mjs +6 -2
- package/es/control/tree-grid-ex/use-row-edit-popover.mjs +3 -3
- package/es/control/wizard-panel/wizard-panel.mjs +3 -3
- package/es/editor/autocomplete/autocomplete-editor.controller.mjs +4 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +3 -1
- package/es/editor/code/monaco-editor/monaco-editor.mjs +3 -3
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +2 -1
- package/es/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +2 -1
- package/es/editor/data-picker/picker-editor.controller.mjs +12 -3
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.mjs +1 -1
- package/es/editor/html/wang-editor/ai/ai-modules.mjs +1 -1
- package/es/editor/html/wang-editor/wang-editor.mjs +18 -12
- package/es/editor/list-box/list-box-picker-editor.controller.mjs +4 -1
- package/es/editor/markdown/markdown-editor.controller.mjs +2 -2
- package/es/editor/not-supported-editor/not-supported-editor.mjs +4 -2
- package/es/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.mjs +4 -2
- package/es/editor/span/span-editor.controller.mjs +4 -1
- package/es/editor/text-box/ibiz-input-ip/ibiz-input-ip.mjs +3 -1
- package/es/editor/text-box/text-box-editor.controller.mjs +4 -4
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +7 -3
- package/es/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.mjs +1 -1
- package/es/index.mjs +1 -0
- package/es/locale/en/index.d.ts +656 -42
- package/es/locale/en/index.mjs +672 -58
- package/es/locale/zh-CN/index.d.ts +654 -42
- package/es/locale/zh-CN/index.mjs +660 -48
- package/es/panel-component/auth-captcha/auth-captcha.controller.d.ts +37 -0
- package/es/panel-component/auth-captcha/auth-captcha.controller.mjs +69 -0
- package/es/panel-component/auth-captcha/auth-captcha.css +1 -0
- package/es/panel-component/auth-captcha/auth-captcha.d.ts +28 -0
- package/es/panel-component/auth-captcha/auth-captcha.mjs +63 -0
- package/es/panel-component/auth-captcha/auth-captcha.provider.d.ts +14 -0
- package/es/panel-component/auth-captcha/auth-captcha.provider.mjs +21 -0
- package/es/panel-component/auth-captcha/auth-captcha.state.d.ts +38 -0
- package/es/panel-component/auth-captcha/auth-captcha.state.mjs +44 -0
- package/es/panel-component/auth-captcha/index.d.ts +25 -0
- package/es/panel-component/auth-captcha/index.mjs +15 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.mjs +1 -1
- package/es/panel-component/index.mjs +4 -0
- package/es/panel-component/nav-pos-index/nav-pos-index.mjs +2 -2
- package/es/panel-component/nav-tabs/nav-tabs.mjs +4 -4
- package/es/panel-component/panel-remember-me/panel-remember-me.mjs +1 -1
- package/es/panel-component/panel-tab-panel/index.d.ts +4 -2
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.d.ts +31 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.controller.mjs +42 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.d.ts +5 -3
- package/es/panel-component/panel-tab-panel/panel-tab-panel.mjs +14 -5
- package/es/panel-component/panel-tab-panel/panel-tab-panel.provider.d.ts +2 -1
- package/es/panel-component/panel-tab-panel/panel-tab-panel.provider.mjs +2 -2
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.d.ts +20 -0
- package/es/panel-component/panel-tab-panel/panel-tab-panel.state.mjs +24 -0
- package/es/panel-component/searchform-buttons/searchform-buttons.controller.mjs +3 -1
- package/es/panel-component/searchform-buttons/searchform-buttons.mjs +16 -11
- package/es/panel-component/short-cut/index.d.ts +43 -0
- package/es/panel-component/short-cut/index.mjs +12 -0
- package/es/panel-component/short-cut/short-cut.css +1 -0
- package/es/panel-component/short-cut/short-cut.d.ts +46 -0
- package/es/panel-component/short-cut/short-cut.mjs +190 -0
- package/es/panel-component/short-cut/short-cut.provider.d.ts +12 -0
- package/es/panel-component/short-cut/short-cut.provider.mjs +21 -0
- package/es/panel-component/user-message/async-action/async-action-preview/async-action-preview.mjs +20 -14
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.mjs +5 -3
- package/es/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.mjs +1 -1
- package/es/panel-component/user-message/internal-message/internal-message-json/internal-message-json.mjs +3 -3
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.mjs +9 -5
- package/es/panel-component/user-message/user-message.mjs +4 -4
- package/es/panel-component/view-msg-pos/view-msg-pos.mjs +4 -1
- package/es/util/index.d.ts +1 -0
- package/es/util/index.mjs +1 -0
- package/es/util/render-util/render-util.d.ts +48 -0
- package/es/util/render-util/render-util.mjs +60 -0
- package/es/view/403-view/403-view.mjs +4 -4
- package/es/view/404-view/404-view.mjs +4 -4
- package/es/view/error-view/error-view.mjs +3 -1
- package/es/view/login-view/login-view.mjs +27 -23
- package/es/view/sub-app-ref-view/sub-app-ref-view.mjs +1 -1
- package/es/view-engine/edit-view.engine.mjs +22 -18
- package/es/view-engine/exp-view.engine.mjs +1 -1
- package/es/view-engine/login-view.engine.mjs +18 -3
- package/es/view-engine/mpickup-view-engine.mjs +1 -1
- package/es/view-engine/opt-view.engine.mjs +2 -2
- package/es/view-engine/tab-exp-view.engine.mjs +2 -2
- package/es/view-engine/wf-dyna-edit-view.engine.mjs +5 -2
- package/es/web-app/guard/auth-guard/auth-guard.mjs +8 -6
- package/es/web-app/main.mjs +2 -0
- package/es/web-app/util/unauthorized-handler/unauthorized-handler.mjs +3 -1
- package/lib/common/data-import2/data-import2.cjs +1 -1
- package/lib/common/doing-notice/doing-notice.cjs +6 -4
- package/lib/common/map-chart/map-chart.util.cjs +4 -1
- package/lib/common/view-message/view-message.cjs +52 -22
- package/lib/common/view-message/view-message.css +1 -1
- package/lib/control/app-menu/app-menu.cjs +6 -2
- package/lib/control/calendar/calendar.cjs +1 -1
- package/lib/control/chart/chart.cjs +1 -1
- package/lib/control/dashboard/custom-dashboard-container/custom-dashboard-container.cjs +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.cjs +3 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +13 -10
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.provider.cjs +3 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +16 -10
- package/lib/control/gantt/gantt.cjs +14 -3
- package/lib/control/grid/grid/grid.cjs +3 -2
- package/lib/control/grid/grid-column/grid-field-edit-column/grid-field-edit-column.cjs +3 -1
- package/lib/control/grid/row-edit-popover/row-edit-popover.cjs +8 -4
- package/lib/control/grid/row-edit-popover/use-row-edit-popover.cjs +3 -3
- package/lib/control/kanban/kanban.cjs +16 -8
- package/lib/control/list/list.cjs +1 -1
- package/lib/control/report-panel/report-detail/user2-report-panel/user2-report-panel.cjs +1 -1
- package/lib/control/report-panel/report-panel.cjs +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +7 -5
- package/lib/control/search-bar/search-bar.cjs +2 -2
- package/lib/control/search-bar/search-groups/edit-group-util.cjs +10 -2
- package/lib/control/search-bar/search-groups/new-group-util.cjs +13 -3
- package/lib/control/search-bar/search-groups/search-groups.cjs +46 -37
- package/lib/control/toolbar/export-excel/export-excel.cjs +23 -21
- package/lib/control/tree/el-tree-util.cjs +4 -2
- package/lib/control/tree/tree.cjs +3 -1
- package/lib/control/tree-grid/tree-grid.cjs +3 -1
- package/lib/control/tree-grid-ex/tree-grid-ex-column/tree-grid-ex-edit-column/tree-grid-ex-edit-column.cjs +3 -1
- package/lib/control/tree-grid-ex/tree-grid-ex.cjs +6 -2
- package/lib/control/tree-grid-ex/use-row-edit-popover.cjs +3 -3
- package/lib/control/wizard-panel/wizard-panel.cjs +3 -3
- package/lib/editor/autocomplete/autocomplete-editor.controller.cjs +4 -1
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +3 -1
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +3 -3
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +2 -1
- package/lib/editor/data-picker/ibiz-picker-dropdown/ibiz-picker-dropdown.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +2 -1
- package/lib/editor/data-picker/picker-editor.controller.cjs +12 -3
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.cjs +1 -1
- package/lib/editor/html/wang-editor/ai/ai-modules.cjs +1 -1
- package/lib/editor/html/wang-editor/wang-editor.cjs +17 -11
- package/lib/editor/list-box/list-box-picker-editor.controller.cjs +4 -1
- package/lib/editor/markdown/markdown-editor.controller.cjs +2 -2
- package/lib/editor/not-supported-editor/not-supported-editor.cjs +3 -1
- package/lib/editor/preset/preset-rawitem/ibiz-preset-rawitem/ibiz-preset-rawitem.cjs +3 -1
- package/lib/editor/span/span-editor.controller.cjs +4 -1
- package/lib/editor/text-box/ibiz-input-ip/ibiz-input-ip.cjs +3 -1
- package/lib/editor/text-box/text-box-editor.controller.cjs +4 -4
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +6 -2
- package/lib/editor/user/ibiz-searchcond-edit/ibiz-searchcond-edit.cjs +1 -1
- package/lib/index.cjs +2 -0
- package/lib/locale/en/index.cjs +672 -58
- package/lib/locale/zh-CN/index.cjs +660 -48
- package/lib/panel-component/auth-captcha/auth-captcha.cjs +65 -0
- package/lib/panel-component/auth-captcha/auth-captcha.controller.cjs +71 -0
- package/lib/panel-component/auth-captcha/auth-captcha.css +1 -0
- package/lib/panel-component/auth-captcha/auth-captcha.provider.cjs +23 -0
- package/lib/panel-component/auth-captcha/auth-captcha.state.cjs +46 -0
- package/lib/panel-component/auth-captcha/index.cjs +20 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.cjs +1 -1
- package/lib/panel-component/index.cjs +4 -0
- package/lib/panel-component/nav-pos-index/nav-pos-index.cjs +1 -1
- package/lib/panel-component/nav-tabs/nav-tabs.cjs +3 -3
- package/lib/panel-component/panel-remember-me/panel-remember-me.cjs +1 -1
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.cjs +14 -5
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.controller.cjs +44 -0
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.provider.cjs +2 -2
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.state.cjs +26 -0
- package/lib/panel-component/searchform-buttons/searchform-buttons.cjs +15 -10
- package/lib/panel-component/searchform-buttons/searchform-buttons.controller.cjs +3 -1
- package/lib/panel-component/short-cut/index.cjs +17 -0
- package/lib/panel-component/short-cut/short-cut.cjs +192 -0
- package/lib/panel-component/short-cut/short-cut.css +1 -0
- package/lib/panel-component/short-cut/short-cut.provider.cjs +23 -0
- package/lib/panel-component/user-message/async-action/async-action-preview/async-action-preview.cjs +19 -13
- package/lib/panel-component/user-message/async-action/async-action-tab/async-action-tab.cjs +4 -2
- package/lib/panel-component/user-message/internal-message/common/internal-message-container/internal-message-container.cjs +1 -1
- package/lib/panel-component/user-message/internal-message/internal-message-json/internal-message-json.cjs +2 -2
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.cjs +8 -4
- package/lib/panel-component/user-message/user-message.cjs +4 -4
- package/lib/panel-component/view-msg-pos/view-msg-pos.cjs +4 -1
- package/lib/util/index.cjs +2 -0
- package/lib/util/render-util/render-util.cjs +62 -0
- package/lib/view/403-view/403-view.cjs +3 -3
- package/lib/view/404-view/404-view.cjs +3 -3
- package/lib/view/error-view/error-view.cjs +3 -1
- package/lib/view/login-view/login-view.cjs +26 -22
- package/lib/view/sub-app-ref-view/sub-app-ref-view.cjs +1 -1
- package/lib/view-engine/edit-view.engine.cjs +22 -18
- package/lib/view-engine/exp-view.engine.cjs +1 -1
- package/lib/view-engine/login-view.engine.cjs +18 -3
- package/lib/view-engine/mpickup-view-engine.cjs +1 -1
- package/lib/view-engine/opt-view.engine.cjs +2 -2
- package/lib/view-engine/tab-exp-view.engine.cjs +2 -2
- package/lib/view-engine/wf-dyna-edit-view.engine.cjs +5 -2
- package/lib/web-app/guard/auth-guard/auth-guard.cjs +8 -6
- package/lib/web-app/main.cjs +2 -0
- package/lib/web-app/util/unauthorized-handler/unauthorized-handler.cjs +3 -1
- package/package.json +7 -6
- package/dist/index-GoU343c8.js +0 -4
- package/dist/index-dsmTOMa5.js +0 -1
- package/dist/index-sGpuIVYT.js +0 -1
- package/dist/map-chart-cmVrWpPw.js +0 -1
- package/dist/wang-editor-Vch7U079.js +0 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var authCaptcha_controller = require('./auth-captcha.controller.cjs');
|
|
6
|
+
require('./auth-captcha.css');
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
const AuthCaptcha = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
name: "IBizAuthCaptcha",
|
|
11
|
+
props: {
|
|
12
|
+
modelData: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
controller: {
|
|
17
|
+
type: authCaptcha_controller.AuthCaptchaController,
|
|
18
|
+
required: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
setup(props) {
|
|
22
|
+
const ns = vue3Util.useNamespace("auth-captcha");
|
|
23
|
+
const c = props.controller;
|
|
24
|
+
const classArr = vue.computed(() => {
|
|
25
|
+
let result = [ns.b(), ns.m(c.model.id)];
|
|
26
|
+
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible)];
|
|
27
|
+
return result;
|
|
28
|
+
});
|
|
29
|
+
const onClick = () => {
|
|
30
|
+
if (!c.state.loading) {
|
|
31
|
+
c.loadCaptcha();
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
return {
|
|
35
|
+
c,
|
|
36
|
+
ns,
|
|
37
|
+
classArr,
|
|
38
|
+
onClick
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
render() {
|
|
42
|
+
return vue.createVNode("div", {
|
|
43
|
+
"class": this.classArr
|
|
44
|
+
}, [vue.createVNode(vue.resolveComponent("el-input"), {
|
|
45
|
+
"modelValue": this.c.state.code,
|
|
46
|
+
"onUpdate:modelValue": ($event) => this.c.state.code = $event,
|
|
47
|
+
"class": this.ns.e("captcha"),
|
|
48
|
+
"placeholder": "\u9A8C\u8BC1\u7801"
|
|
49
|
+
}, null), vue.withDirectives(vue.createVNode(vue.resolveComponent("el-image"), {
|
|
50
|
+
"src": this.c.state.image,
|
|
51
|
+
"class": this.ns.e("image"),
|
|
52
|
+
"onClick": this.onClick,
|
|
53
|
+
"title": "\u70B9\u51FB\u56FE\u7247\u5237\u65B0"
|
|
54
|
+
}, {
|
|
55
|
+
error: () => {
|
|
56
|
+
return vue.createVNode("div", {
|
|
57
|
+
"onClick": this.onClick,
|
|
58
|
+
"class": [this.ns.em("image", "hint"), this.ns.is("loading", this.c.state.loading)]
|
|
59
|
+
}, [this.c.state.loading ? "\u52A0\u8F7D\u4E2D..." : "\u52A0\u8F7D\u5931\u8D25"]);
|
|
60
|
+
}
|
|
61
|
+
}), [[vue.resolveDirective("loading"), this.c.state.loading]])]);
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
exports.AuthCaptcha = AuthCaptcha;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
var axios = require('axios');
|
|
5
|
+
var authCaptcha_state = require('./auth-captcha.state.cjs');
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
class AuthCaptchaController extends runtime.PanelItemController {
|
|
9
|
+
createState() {
|
|
10
|
+
var _a;
|
|
11
|
+
return new authCaptcha_state.AuthCaptchaState((_a = this.parent) == null ? void 0 : _a.state);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 面板状态变更通知
|
|
15
|
+
*
|
|
16
|
+
* @param {PanelNotifyState} _state
|
|
17
|
+
* @return {*} {Promise<void>}
|
|
18
|
+
* @memberof AuthCaptchaController
|
|
19
|
+
*/
|
|
20
|
+
async panelStateNotify(_state) {
|
|
21
|
+
super.panelStateNotify(_state);
|
|
22
|
+
const that = this;
|
|
23
|
+
Object.defineProperty(that.panel.state.data, "captcha", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
configurable: true,
|
|
26
|
+
get() {
|
|
27
|
+
return {
|
|
28
|
+
captcha_state: that.state.state,
|
|
29
|
+
captcha_code: that.state.code
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 初始化
|
|
36
|
+
*
|
|
37
|
+
* @protected
|
|
38
|
+
* @return {*} {Promise<void>}
|
|
39
|
+
* @memberof AuthCaptchaController
|
|
40
|
+
*/
|
|
41
|
+
async onInit() {
|
|
42
|
+
super.onInit();
|
|
43
|
+
await this.loadCaptcha();
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* 加载验证码
|
|
47
|
+
*
|
|
48
|
+
* @return {*} {Promise<void>}ss
|
|
49
|
+
* @memberof AuthCaptchaController
|
|
50
|
+
*/
|
|
51
|
+
async loadCaptcha() {
|
|
52
|
+
this.state.loading = true;
|
|
53
|
+
const requestConfig = {
|
|
54
|
+
url: "".concat(ibiz.env.baseUrl, "/").concat(ibiz.env.appId, "/auths/captcha"),
|
|
55
|
+
method: "post",
|
|
56
|
+
headers: {
|
|
57
|
+
"Content-Type": "application/json;charset=UTF-8",
|
|
58
|
+
Accept: "application/json"
|
|
59
|
+
},
|
|
60
|
+
data: {}
|
|
61
|
+
};
|
|
62
|
+
const res = await axios(requestConfig);
|
|
63
|
+
if (res.status === 200 && res.data) {
|
|
64
|
+
this.state.state = res.data.state;
|
|
65
|
+
this.state.image = res.data.image;
|
|
66
|
+
}
|
|
67
|
+
this.state.loading = false;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
exports.AuthCaptchaController = AuthCaptchaController;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-auth-captcha{display:flex}.ibiz-auth-captcha__captcha{width:calc(100% - 120px)}.ibiz-auth-captcha__image{flex-shrink:0;width:120px;height:100%;cursor:pointer}.ibiz-auth-captcha__image--hint{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var authCaptcha_controller = require('./auth-captcha.controller.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class AuthCaptchaProvider {
|
|
13
|
+
constructor() {
|
|
14
|
+
__publicField(this, "component", "IBizAuthCaptcha");
|
|
15
|
+
}
|
|
16
|
+
async createController(panelItem, panel, parent) {
|
|
17
|
+
const c = new authCaptcha_controller.AuthCaptchaController(panelItem, panel, parent);
|
|
18
|
+
await c.init();
|
|
19
|
+
return c;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.AuthCaptchaProvider = AuthCaptchaProvider;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class AuthCaptchaState extends runtime.PanelItemState {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
/**
|
|
16
|
+
* 验证码
|
|
17
|
+
*
|
|
18
|
+
* @type {string}
|
|
19
|
+
* @memberof AuthCaptchaState
|
|
20
|
+
*/
|
|
21
|
+
__publicField(this, "code", "");
|
|
22
|
+
/**
|
|
23
|
+
* 验证图片
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AuthCaptchaState
|
|
27
|
+
*/
|
|
28
|
+
__publicField(this, "image", "");
|
|
29
|
+
/**
|
|
30
|
+
* 验证UUID码
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AuthCaptchaState
|
|
34
|
+
*/
|
|
35
|
+
__publicField(this, "state", "");
|
|
36
|
+
/**
|
|
37
|
+
* 加载状态
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof AuthCaptchaState
|
|
41
|
+
*/
|
|
42
|
+
__publicField(this, "loading", false);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
exports.AuthCaptchaState = AuthCaptchaState;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
+
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
var authCaptcha = require('./auth-captcha.cjs');
|
|
8
|
+
var authCaptcha_provider = require('./auth-captcha.provider.cjs');
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
const IBizAuthCaptcha = vue3Util.withInstall(authCaptcha.AuthCaptcha, function(v) {
|
|
12
|
+
v.component(authCaptcha.AuthCaptcha.name, authCaptcha.AuthCaptcha);
|
|
13
|
+
runtime.registerPanelItemProvider(
|
|
14
|
+
"RAWITEM_AUTH_CAPTCHA",
|
|
15
|
+
() => new authCaptcha_provider.AuthCaptchaProvider()
|
|
16
|
+
);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
exports.IBizAuthCaptcha = IBizAuthCaptcha;
|
|
20
|
+
exports.default = IBizAuthCaptcha;
|
|
@@ -24,7 +24,7 @@ const AuthUserinfo = /* @__PURE__ */ vue.defineComponent({
|
|
|
24
24
|
const ns = vue3Util.useNamespace("user-info");
|
|
25
25
|
const c = prop.controller;
|
|
26
26
|
const {
|
|
27
|
-
srfusername = "
|
|
27
|
+
srfusername = ibiz.i18n.t("panelComponent.authUserinfo.visitor"),
|
|
28
28
|
srfpersonname
|
|
29
29
|
} = ((_a = ibiz.appData) == null ? void 0 : _a.context) || {};
|
|
30
30
|
const router = vueRouter.useRouter();
|
|
@@ -26,6 +26,8 @@ var index$k = require('./coop-pos/index.cjs');
|
|
|
26
26
|
var index$l = require('./view-msg-pos/index.cjs');
|
|
27
27
|
var index$8 = require('./user-action/index.cjs');
|
|
28
28
|
var index$m = require('./data-import/index.cjs');
|
|
29
|
+
var index$n = require('./short-cut/index.cjs');
|
|
30
|
+
var index$o = require('./auth-captcha/index.cjs');
|
|
29
31
|
var navPosIndex_state = require('./nav-pos-index/nav-pos-index.state.cjs');
|
|
30
32
|
var navPosIndex_controller = require('./nav-pos-index/nav-pos-index.controller.cjs');
|
|
31
33
|
var panelButton_controller = require('./panel-button/panel-button.controller.cjs');
|
|
@@ -73,6 +75,8 @@ const IBizPanelComponents = {
|
|
|
73
75
|
v.use(index$l.IBizViewMsgPos);
|
|
74
76
|
v.use(index$8.IBizUserAction);
|
|
75
77
|
v.use(index$m.IBizDataImport);
|
|
78
|
+
v.use(index$n.IBizShortCut);
|
|
79
|
+
v.use(index$o.IBizAuthCaptcha);
|
|
76
80
|
}
|
|
77
81
|
};
|
|
78
82
|
|
|
@@ -82,7 +82,7 @@ const NavPosIndex = /* @__PURE__ */ vue.defineComponent({
|
|
|
82
82
|
default: () => [Component && vue.createVNode(Component, null, null)]
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
}) : vue.createVNode("div", null, [
|
|
85
|
+
}) : vue.createVNode("div", null, [ibiz.i18n.t("panelComponent.navPosIndex.noSupportPrompt")])]);
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
|
|
@@ -28,10 +28,10 @@ const NavTabs = /* @__PURE__ */ vue.defineComponent({
|
|
|
28
28
|
state
|
|
29
29
|
} = props.controller;
|
|
30
30
|
const actions = [{
|
|
31
|
-
text: "
|
|
31
|
+
text: ibiz.i18n.t("panelComponent.navTabs.closeAll"),
|
|
32
32
|
value: "closeAll"
|
|
33
33
|
}, {
|
|
34
|
-
text: "
|
|
34
|
+
text: ibiz.i18n.t("panelComponent.navTabs.closeOther"),
|
|
35
35
|
value: "closeOther"
|
|
36
36
|
}];
|
|
37
37
|
const changePage = (pane) => {
|
|
@@ -109,7 +109,7 @@ const NavTabs = /* @__PURE__ */ vue.defineComponent({
|
|
|
109
109
|
"size": "small",
|
|
110
110
|
"type": "primary"
|
|
111
111
|
}, {
|
|
112
|
-
default: () => [
|
|
112
|
+
default: () => [ibiz.i18n.t("app.more"), vue.createVNode("ion-icon", {
|
|
113
113
|
"name": "arrow-down"
|
|
114
114
|
}, null)]
|
|
115
115
|
});
|
|
@@ -47,7 +47,7 @@ const PanelRememberMe = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
47
|
}, [vue.createVNode(vue.resolveComponent("el-checkbox"), {
|
|
48
48
|
"modelValue": this.isRemember,
|
|
49
49
|
"onUpdate:modelValue": ($event) => this.isRemember = $event,
|
|
50
|
-
"label": "
|
|
50
|
+
"label": ibiz.i18n.t("app.rememberMe")
|
|
51
51
|
}, null)]);
|
|
52
52
|
}
|
|
53
53
|
});
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var vue = require('vue');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
var runtime = require('@ibiz-template/runtime');
|
|
6
5
|
require('./panel-tab-panel.css');
|
|
6
|
+
var panelTabPanel_controller = require('./panel-tab-panel.controller.cjs');
|
|
7
7
|
|
|
8
8
|
"use strict";
|
|
9
9
|
function _isSlot(s) {
|
|
@@ -17,12 +17,15 @@ const PanelTabPanel = /* @__PURE__ */ vue.defineComponent({
|
|
|
17
17
|
required: true
|
|
18
18
|
},
|
|
19
19
|
controller: {
|
|
20
|
-
type:
|
|
20
|
+
type: panelTabPanel_controller.PanelTabPanelController,
|
|
21
21
|
required: true
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
setup(props) {
|
|
25
25
|
const ns = vue3Util.useNamespace("panel-tab-panel");
|
|
26
|
+
const {
|
|
27
|
+
state
|
|
28
|
+
} = props.controller;
|
|
26
29
|
const classArr = vue.computed(() => {
|
|
27
30
|
const {
|
|
28
31
|
id
|
|
@@ -31,13 +34,18 @@ const PanelTabPanel = /* @__PURE__ */ vue.defineComponent({
|
|
|
31
34
|
result.push(...props.controller.containerClass);
|
|
32
35
|
return result;
|
|
33
36
|
});
|
|
37
|
+
const onTabClick = (tabIns, event) => {
|
|
38
|
+
props.controller.onTabChange(tabIns.props.name);
|
|
39
|
+
};
|
|
34
40
|
return {
|
|
35
41
|
ns,
|
|
36
|
-
|
|
42
|
+
state,
|
|
43
|
+
classArr,
|
|
44
|
+
onTabClick
|
|
37
45
|
};
|
|
38
46
|
},
|
|
39
47
|
render() {
|
|
40
|
-
var _a, _b
|
|
48
|
+
var _a, _b;
|
|
41
49
|
let _slot;
|
|
42
50
|
if (!this.controller.state.visible) {
|
|
43
51
|
return;
|
|
@@ -45,7 +53,8 @@ const PanelTabPanel = /* @__PURE__ */ vue.defineComponent({
|
|
|
45
53
|
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
46
54
|
return vue.createVNode(vue.resolveComponent("el-tabs"), {
|
|
47
55
|
"class": [this.ns.b(), this.ns.m(this.modelData.codeName), ...this.controller.containerClass],
|
|
48
|
-
"model-value":
|
|
56
|
+
"model-value": this.state.activeTab,
|
|
57
|
+
"onTabClick": this.onTabClick
|
|
49
58
|
}, _isSlot(_slot = defaultSlots.map((slot) => {
|
|
50
59
|
const props = slot.props;
|
|
51
60
|
if (!props || !props.controller) {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
var panelTabPanel_state = require('./panel-tab-panel.state.cjs');
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
class PanelTabPanelController extends runtime.PanelItemController {
|
|
8
|
+
/**
|
|
9
|
+
* 新建状态
|
|
10
|
+
*
|
|
11
|
+
* @author tony001
|
|
12
|
+
* @date 2024-05-12 14:05:16
|
|
13
|
+
* @protected
|
|
14
|
+
* @return {*} {PanelTabPanelState}
|
|
15
|
+
*/
|
|
16
|
+
createState() {
|
|
17
|
+
var _a;
|
|
18
|
+
return new panelTabPanel_state.PanelTabPanelState((_a = this.parent) == null ? void 0 : _a.state);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 初始化
|
|
22
|
+
*
|
|
23
|
+
* @author tony001
|
|
24
|
+
* @date 2024-05-12 14:05:51
|
|
25
|
+
* @return {*} {Promise<void>}
|
|
26
|
+
*/
|
|
27
|
+
async onInit() {
|
|
28
|
+
var _a;
|
|
29
|
+
await super.onInit();
|
|
30
|
+
this.state.activeTab = ((_a = this.model.panelTabPages) == null ? void 0 : _a[0].id) || "";
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 分页点击切换处理
|
|
34
|
+
*
|
|
35
|
+
* @author tony001
|
|
36
|
+
* @date 2024-05-12 14:05:11
|
|
37
|
+
* @param {string} tabId
|
|
38
|
+
*/
|
|
39
|
+
onTabChange(tabId) {
|
|
40
|
+
this.state.activeTab = tabId;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
exports.PanelTabPanelController = PanelTabPanelController;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var panelTabPanel_controller = require('./panel-tab-panel.controller.cjs');
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
@@ -14,7 +14,7 @@ class PanelTabPanelProvider {
|
|
|
14
14
|
__publicField(this, "component", "IBizPanelTabPanel");
|
|
15
15
|
}
|
|
16
16
|
async createController(panelItem, panel, parent) {
|
|
17
|
-
const c = new
|
|
17
|
+
const c = new panelTabPanel_controller.PanelTabPanelController(panelItem, panel, parent);
|
|
18
18
|
await c.init();
|
|
19
19
|
return c;
|
|
20
20
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class PanelTabPanelState extends runtime.PanelItemState {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
/**
|
|
16
|
+
* 当前激活分页
|
|
17
|
+
*
|
|
18
|
+
* @author tony001
|
|
19
|
+
* @date 2024-05-12 14:05:36
|
|
20
|
+
* @type {string}
|
|
21
|
+
*/
|
|
22
|
+
__publicField(this, "activeTab", "");
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
exports.PanelTabPanelState = PanelTabPanelState;
|
|
@@ -7,6 +7,9 @@ var ElementPlus = require('element-plus');
|
|
|
7
7
|
var searchformButtons_controller = require('./searchform-buttons.controller.cjs');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
|
+
function _isSlot(s) {
|
|
11
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12
|
+
}
|
|
10
13
|
const SearchFormButtons = /* @__PURE__ */ vue.defineComponent({
|
|
11
14
|
name: "IBizSearchFormButtons",
|
|
12
15
|
props: {
|
|
@@ -29,9 +32,9 @@ const SearchFormButtons = /* @__PURE__ */ vue.defineComponent({
|
|
|
29
32
|
c.onResetButtonClick();
|
|
30
33
|
};
|
|
31
34
|
const saveFilterConfirm = () => {
|
|
32
|
-
ElementPlus.ElMessageBox.prompt("
|
|
33
|
-
confirmButtonText: "
|
|
34
|
-
cancelButtonText: "
|
|
35
|
+
ElementPlus.ElMessageBox.prompt(ibiz.i18n.t("panelComponent.searchformButtons.enterPrompt"), ibiz.i18n.t("panelComponent.searchformButtons.queryPrompt"), {
|
|
36
|
+
confirmButtonText: ibiz.i18n.t("app.save"),
|
|
37
|
+
cancelButtonText: ibiz.i18n.t("app.cancel")
|
|
35
38
|
}).then(({
|
|
36
39
|
value
|
|
37
40
|
}) => {
|
|
@@ -47,12 +50,13 @@ const SearchFormButtons = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
50
|
};
|
|
48
51
|
},
|
|
49
52
|
render() {
|
|
53
|
+
let _slot;
|
|
50
54
|
return vue.createVNode("div", {
|
|
51
55
|
"class": [this.ns.b(), this.ns.m(this.modelData.id), ...this.controller.containerClass]
|
|
52
56
|
}, [this.controller.searchButtonStyle === "SEARCHONLY" ? vue.createVNode(vue.resolveComponent("el-button"), {
|
|
53
57
|
"onClick": this.onSearchButtonClick
|
|
54
|
-
}, {
|
|
55
|
-
default: () => [
|
|
58
|
+
}, _isSlot(_slot = ibiz.i18n.t("app.search")) ? _slot : {
|
|
59
|
+
default: () => [_slot]
|
|
56
60
|
}) : vue.createVNode(vue.resolveComponent("el-dropdown"), {
|
|
57
61
|
"split-button": true,
|
|
58
62
|
"type": "primary",
|
|
@@ -60,17 +64,18 @@ const SearchFormButtons = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
64
|
}, {
|
|
61
65
|
default: () => vue.createVNode("span", {
|
|
62
66
|
"class": this.ns.b("label")
|
|
63
|
-
}, [
|
|
67
|
+
}, [ibiz.i18n.t("app.search")]),
|
|
64
68
|
dropdown: () => {
|
|
69
|
+
let _slot2, _slot3;
|
|
65
70
|
return vue.createVNode(vue.resolveComponent("el-dropdown-menu"), null, {
|
|
66
71
|
default: () => [vue.createVNode(vue.resolveComponent("el-dropdown-item"), {
|
|
67
72
|
"onClick": this.onResetButtonClick
|
|
68
|
-
}, {
|
|
69
|
-
default: () => [
|
|
73
|
+
}, _isSlot(_slot2 = ibiz.i18n.t("app.reset")) ? _slot2 : {
|
|
74
|
+
default: () => [_slot2]
|
|
70
75
|
}), vue.createVNode(vue.resolveComponent("el-dropdown-item"), {
|
|
71
76
|
"onClick": this.saveFilterConfirm
|
|
72
|
-
}, {
|
|
73
|
-
default: () => [
|
|
77
|
+
}, _isSlot(_slot3 = ibiz.i18n.t("panelComponent.searchformButtons.saveCondition")) ? _slot3 : {
|
|
78
|
+
default: () => [_slot3]
|
|
74
79
|
}), this.controller.storedFilters.length > 0 && this.controller.storedFilters.map((item, index) => {
|
|
75
80
|
return vue.createVNode(vue.resolveComponent("el-dropdown-item"), {
|
|
76
81
|
"class": this.ns.b("filter-item"),
|
|
@@ -45,7 +45,9 @@ class SearchFormButtonsController extends runtime.PanelItemController {
|
|
|
45
45
|
await super.onInit();
|
|
46
46
|
const searchFrom = this.panel.container;
|
|
47
47
|
if (!searchFrom) {
|
|
48
|
-
throw new core.RuntimeError(
|
|
48
|
+
throw new core.RuntimeError(
|
|
49
|
+
ibiz.i18n.t("panelComponent.searchformButtons.errMessage")
|
|
50
|
+
);
|
|
49
51
|
}
|
|
50
52
|
this.searchFrom = searchFrom;
|
|
51
53
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
+
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
var shortCut = require('./short-cut.cjs');
|
|
8
|
+
var shortCut_provider = require('./short-cut.provider.cjs');
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
const IBizShortCut = vue3Util.withInstall(shortCut.ShortCut, function(v) {
|
|
12
|
+
v.component(shortCut.ShortCut.name, shortCut.ShortCut);
|
|
13
|
+
runtime.registerPanelItemProvider("RAWITEM_SHORTCUT", () => new shortCut_provider.ShortCutProvider());
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
exports.IBizShortCut = IBizShortCut;
|
|
17
|
+
exports.default = IBizShortCut;
|