@ibiz-template/vue3-components 0.5.4 → 0.5.7-alpha.0
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-JryyIvVw.js → index-13Oh42A8.js} +1 -1
- package/dist/{index-_-rmev8_.js → index-ZIuDbCjc.js} +1 -1
- package/dist/index-dfn6FnHv.js +2 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-x5tP6Fdl.js → xlsx-util-ohTMZYHr.js} +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +2 -1
- package/es/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.mjs +18 -14
- package/es/editor/code/monaco-editor/monaco-editor.mjs +3 -3
- package/es/editor/data-picker/ibiz-picker-link/ibiz-picker-link.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.d.ts +2 -0
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +50 -5
- package/es/locale/en/index.d.ts +3 -0
- package/es/locale/en/index.mjs +4 -1
- package/es/locale/zh-CN/index.d.ts +3 -0
- package/es/locale/zh-CN/index.mjs +4 -1
- package/es/panel-component/user-message/async-action/{async-action.mjs → async-action/async-action.mjs} +2 -3
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.css +1 -0
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.d.ts +92 -0
- package/es/panel-component/user-message/async-action/async-action-tab/async-action-tab.mjs +91 -0
- package/es/panel-component/user-message/async-action/index.d.ts +3 -0
- package/es/panel-component/user-message/async-action/index.mjs +5 -0
- package/es/panel-component/user-message/index.d.ts +1 -73
- package/es/panel-component/user-message/index.mjs +12 -3
- package/es/panel-component/user-message/internal-message/index.d.ts +3 -0
- package/es/panel-component/user-message/internal-message/index.mjs +5 -0
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.css +1 -0
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.d.ts +17 -0
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.mjs +82 -0
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.provider.d.ts +6 -0
- package/es/panel-component/user-message/internal-message/internal-message-default/internal-message-default.provider.mjs +17 -0
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.css +1 -0
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.d.ts +42 -0
- package/es/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.mjs +101 -0
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.d.ts +1 -73
- package/es/panel-component/user-message/user-message.mjs +33 -61
- package/es/util/open-view-util/open-view-util.d.ts +2 -1
- package/es/util/open-view-util/open-view-util.mjs +11 -1
- package/es/view/404-view/404-view.mjs +1 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +2 -1
- package/lib/editor/autocomplete/ibiz-autocomplete/ibiz-autocomplete.cjs +18 -14
- package/lib/editor/code/monaco-editor/monaco-editor.cjs +3 -3
- package/lib/editor/data-picker/ibiz-picker-link/ibiz-picker-link.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +48 -3
- package/lib/locale/en/index.cjs +4 -1
- package/lib/locale/zh-CN/index.cjs +4 -1
- package/lib/panel-component/user-message/async-action/{async-action.cjs → async-action/async-action.cjs} +2 -3
- package/lib/panel-component/user-message/async-action/async-action-tab/async-action-tab.cjs +93 -0
- package/lib/panel-component/user-message/async-action/async-action-tab/async-action-tab.css +1 -0
- package/lib/panel-component/user-message/async-action/index.cjs +11 -0
- package/lib/panel-component/user-message/index.cjs +11 -2
- package/lib/panel-component/user-message/internal-message/index.cjs +11 -0
- package/lib/panel-component/user-message/internal-message/internal-message-default/internal-message-default.cjs +84 -0
- package/lib/panel-component/user-message/internal-message/internal-message-default/internal-message-default.css +1 -0
- package/lib/panel-component/user-message/internal-message/internal-message-default/internal-message-default.provider.cjs +19 -0
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.cjs +103 -0
- package/lib/panel-component/user-message/internal-message/internal-message-tab/internal-message-tab.css +1 -0
- package/lib/panel-component/user-message/user-message.cjs +30 -58
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/util/open-view-util/open-view-util.cjs +10 -0
- package/lib/view/404-view/404-view.cjs +1 -1
- package/package.json +16 -15
- package/dist/index-0_g5Hsac.js +0 -2
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/config/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/loader/index.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/compose.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/curry.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/isObject.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.mjs +0 -0
- /package/es/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/validators/index.mjs +0 -0
- /package/es/panel-component/user-message/async-action/{async-action.css → async-action/async-action.css} +0 -0
- /package/es/panel-component/user-message/async-action/{async-action.d.ts → async-action/async-action.d.ts} +0 -0
- /package/es/panel-component/user-message/async-action/{async-action.provider.d.ts → async-action/async-action.provider.d.ts} +0 -0
- /package/es/panel-component/user-message/async-action/{async-action.provider.mjs → async-action/async-action.provider.mjs} +0 -0
- /package/es/panel-component/user-message/{async-action-preview → async-action/async-action-preview}/async-action-preview.css +0 -0
- /package/es/panel-component/user-message/{async-action-preview → async-action/async-action-preview}/async-action-preview.d.ts +0 -0
- /package/es/panel-component/user-message/{async-action-preview → async-action/async-action-preview}/async-action-preview.mjs +0 -0
- /package/es/panel-component/user-message/{async-action-result → async-action/async-action-result}/async-action-result.d.ts +0 -0
- /package/es/panel-component/user-message/{async-action-result → async-action/async-action-result}/async-action-result.mjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/config/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/loader/index.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/compose.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/curry.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/isObject.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.cjs +0 -0
- /package/lib/node_modules/.pnpm/{@monaco-editor_loader@1.4.0_monaco-editor@0.44.0 → @monaco-editor_loader@1.4.0_monaco-editor@0.45.0}/node_modules/@monaco-editor/loader/lib/es/validators/index.cjs +0 -0
- /package/lib/panel-component/user-message/async-action/{async-action.css → async-action/async-action.css} +0 -0
- /package/lib/panel-component/user-message/async-action/{async-action.provider.cjs → async-action/async-action.provider.cjs} +0 -0
- /package/lib/panel-component/user-message/{async-action-preview → async-action/async-action-preview}/async-action-preview.cjs +0 -0
- /package/lib/panel-component/user-message/{async-action-preview → async-action/async-action-preview}/async-action-preview.css +0 -0
- /package/lib/panel-component/user-message/{async-action-result → async-action/async-action-result}/async-action-result.cjs +0 -0
|
@@ -115,7 +115,8 @@ const IBizActionToolbar = /* @__PURE__ */ defineComponent({
|
|
|
115
115
|
}, {
|
|
116
116
|
icon: () => createVNode("ion-icon", {
|
|
117
117
|
"class": this.ns.e("icon"),
|
|
118
|
-
"name": "ellipsis-vertical-outline"
|
|
118
|
+
"name": "ellipsis-vertical-outline",
|
|
119
|
+
"title": ibiz.i18n.t("component.actionToolbar.more")
|
|
119
120
|
}, null)
|
|
120
121
|
}), createVNode(resolveComponent("el-popover"), {
|
|
121
122
|
"placement": "bottom-start",
|
|
@@ -19,6 +19,7 @@ const IBizAutoComplete = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
const isShowAll = ref(true);
|
|
20
20
|
const isEditable = ref(false);
|
|
21
21
|
const editorRef = ref();
|
|
22
|
+
const isSearched = ref(false);
|
|
22
23
|
const showFormDefaultContent = computed(() => {
|
|
23
24
|
if (props.controlParams && props.controlParams.editmode === "hover") {
|
|
24
25
|
return true;
|
|
@@ -42,8 +43,24 @@ const IBizAutoComplete = /* @__PURE__ */ defineComponent({
|
|
|
42
43
|
}, 100);
|
|
43
44
|
}
|
|
44
45
|
};
|
|
45
|
-
|
|
46
|
+
const onSearch = async (query, cb) => {
|
|
47
|
+
if (c.model.appDataEntityId) {
|
|
48
|
+
const trimQuery = query.trim();
|
|
49
|
+
const res = await c.getServiceData(trimQuery, props.data);
|
|
50
|
+
if (res) {
|
|
51
|
+
items.value = res.data;
|
|
52
|
+
isSearched.value = true;
|
|
53
|
+
if (cb && cb instanceof Function) {
|
|
54
|
+
cb(items.value);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
watch(() => props.value, async (newVal, oldVal) => {
|
|
46
60
|
if (newVal || newVal === null) {
|
|
61
|
+
if (!isSearched.value && oldVal === void 0) {
|
|
62
|
+
await onSearch("");
|
|
63
|
+
}
|
|
47
64
|
if (newVal === null) {
|
|
48
65
|
curValue.value = "";
|
|
49
66
|
}
|
|
@@ -71,19 +88,6 @@ const IBizAutoComplete = /* @__PURE__ */ defineComponent({
|
|
|
71
88
|
isShowAll.value = true;
|
|
72
89
|
setEditable(false);
|
|
73
90
|
};
|
|
74
|
-
const onSearch = async (query, cb) => {
|
|
75
|
-
if (c.model.appDataEntityId) {
|
|
76
|
-
const trimQuery = query.trim();
|
|
77
|
-
const res = await c.getServiceData(trimQuery, props.data);
|
|
78
|
-
if (res) {
|
|
79
|
-
items.value = res.data;
|
|
80
|
-
if (cb && cb instanceof Function) {
|
|
81
|
-
cb(items.value);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
onSearch("");
|
|
87
91
|
const onClear = () => {
|
|
88
92
|
const dataItems = c.dataItems;
|
|
89
93
|
if (dataItems.length > 0) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, watch, nextTick, onMounted, onUnmounted, createVNode, defineComponent } from 'vue';
|
|
2
2
|
import './monaco-editor.css';
|
|
3
3
|
import { getCodeProps, getEditorEmits, useNamespace, useUIStore } from '@ibiz-template/vue3-util';
|
|
4
|
-
import '../../../node_modules/.pnpm/@monaco-editor_loader@1.4.0_monaco-editor@0.
|
|
5
|
-
import loader from '../../../node_modules/.pnpm/@monaco-editor_loader@1.4.0_monaco-editor@0.
|
|
4
|
+
import '../../../node_modules/.pnpm/@monaco-editor_loader@1.4.0_monaco-editor@0.45.0/node_modules/@monaco-editor/loader/lib/es/index.mjs';
|
|
5
|
+
import loader from '../../../node_modules/.pnpm/@monaco-editor_loader@1.4.0_monaco-editor@0.45.0/node_modules/@monaco-editor/loader/lib/es/loader/index.mjs';
|
|
6
6
|
|
|
7
7
|
"use strict";
|
|
8
8
|
const IBizCode = /* @__PURE__ */ defineComponent({
|
|
@@ -38,7 +38,7 @@ const IBizCode = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
nextTick(() => {
|
|
39
39
|
loader.config({
|
|
40
40
|
paths: {
|
|
41
|
-
vs: "".concat(ibiz.env.pluginBaseUrl, "/monaco-editor@0.
|
|
41
|
+
vs: "".concat(ibiz.env.pluginBaseUrl, "/monaco-editor@0.45.0/min/vs")
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
loader.init().then((loaderMonaco) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-picker-link{height:100%;line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-color-link);cursor:pointer}.ibiz-picker-link:hover{color:var(--ibiz-color-link-hover)}.ibiz-picker-link--disabled{cursor:not-allowed}.ibiz-picker-link--readonly{color:var(--ibiz-form-item-readonly-color)}.ibiz-picker-link a{display:inline-block;height:100%}
|
|
1
|
+
.ibiz-picker-link{height:100%;font-size:var(--ibiz-form-item-font-size);line-height:var(--ibiz-editor-default-line-height);color:var(--ibiz-color-link);cursor:pointer}.ibiz-picker-link:hover{color:var(--ibiz-color-link-hover)}.ibiz-picker-link--disabled{cursor:not-allowed}.ibiz-picker-link--readonly{color:var(--ibiz-form-item-readonly-color)}.ibiz-picker-link a{display:inline-block;height:100%}
|
|
@@ -41,6 +41,8 @@ export declare const IBizDropdown: import("vue").DefineComponent<{
|
|
|
41
41
|
isEditable: Ref<boolean>;
|
|
42
42
|
setEditable: (flag: boolean) => void;
|
|
43
43
|
showFormDefaultContent: import("vue").ComputedRef<boolean>;
|
|
44
|
+
onVisibleChange: (visible: boolean) => Promise<void>;
|
|
45
|
+
isLoading: Ref<boolean>;
|
|
44
46
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
47
|
change: (_value: unknown, _name?: string | undefined) => boolean;
|
|
46
48
|
blur: (_event?: IData | undefined) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isVNode, ref, computed, watch, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
-
import { getDropdownProps, getEditorEmits, useNamespace } from '@ibiz-template/vue3-util';
|
|
1
|
+
import { isVNode, ref, computed, watch, nextTick, onMounted, onUnmounted, resolveComponent, createVNode, defineComponent } from 'vue';
|
|
2
|
+
import { getDropdownProps, getEditorEmits, useNamespace, useClickOutside } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './ibiz-dropdown.css';
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
@@ -23,6 +23,9 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
const isEditable = ref(false);
|
|
24
24
|
const editorRef = ref();
|
|
25
25
|
const editorItems = c.model.editorItems;
|
|
26
|
+
const isLoading = ref(false);
|
|
27
|
+
let editorState = "";
|
|
28
|
+
let funcs;
|
|
26
29
|
const showFormDefaultContent = computed(() => {
|
|
27
30
|
if (props.controlParams && props.controlParams.editmode === "hover") {
|
|
28
31
|
return true;
|
|
@@ -60,7 +63,9 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
60
63
|
});
|
|
61
64
|
return list;
|
|
62
65
|
};
|
|
63
|
-
|
|
66
|
+
const loadCodeList = async () => {
|
|
67
|
+
isLoading.value = true;
|
|
68
|
+
const codeList = await c.loadCodeList(props.data);
|
|
64
69
|
isLoadedCodeList.value = true;
|
|
65
70
|
items.value = codeList;
|
|
66
71
|
for (let i = 0; i < items.value.length; i++) {
|
|
@@ -71,6 +76,16 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
71
76
|
break;
|
|
72
77
|
}
|
|
73
78
|
}
|
|
79
|
+
isLoading.value = false;
|
|
80
|
+
};
|
|
81
|
+
watch(() => props.value, async (newVal, oldVal) => {
|
|
82
|
+
if (newVal || newVal === null) {
|
|
83
|
+
if (!isLoadedCodeList.value && oldVal === void 0) {
|
|
84
|
+
await loadCodeList();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}, {
|
|
88
|
+
immediate: true
|
|
74
89
|
});
|
|
75
90
|
const setEditable = (flag) => {
|
|
76
91
|
if (flag) {
|
|
@@ -144,10 +159,12 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
144
159
|
});
|
|
145
160
|
}
|
|
146
161
|
const onFocus = (e) => {
|
|
162
|
+
editorState = "focus";
|
|
147
163
|
emit("focus", e);
|
|
148
164
|
setEditable(true);
|
|
149
165
|
};
|
|
150
166
|
const onBlur = (e) => {
|
|
167
|
+
editorState = "blur";
|
|
151
168
|
emit("blur", e);
|
|
152
169
|
setEditable(false);
|
|
153
170
|
};
|
|
@@ -163,6 +180,28 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
163
180
|
const list = hasChildren.value ? codeListItems.value : items.value;
|
|
164
181
|
return list.find((item) => item.text === text);
|
|
165
182
|
};
|
|
183
|
+
const onVisibleChange = async (visible) => {
|
|
184
|
+
if (visible && !isLoadedCodeList.value) {
|
|
185
|
+
await loadCodeList();
|
|
186
|
+
if (hasChildren.value && editorRef.value && editorState !== "outside") {
|
|
187
|
+
nextTick(() => {
|
|
188
|
+
editorRef.value.focus();
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
onMounted(() => {
|
|
194
|
+
if (editorRef.value) {
|
|
195
|
+
funcs = useClickOutside(editorRef, async (_evt) => {
|
|
196
|
+
editorState = "outside";
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
onUnmounted(() => {
|
|
201
|
+
if (funcs && funcs.stop) {
|
|
202
|
+
funcs.stop();
|
|
203
|
+
}
|
|
204
|
+
});
|
|
166
205
|
return {
|
|
167
206
|
ns,
|
|
168
207
|
c,
|
|
@@ -180,7 +219,9 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
180
219
|
getCodeListItem,
|
|
181
220
|
isEditable,
|
|
182
221
|
setEditable,
|
|
183
|
-
showFormDefaultContent
|
|
222
|
+
showFormDefaultContent,
|
|
223
|
+
onVisibleChange,
|
|
224
|
+
isLoading
|
|
184
225
|
};
|
|
185
226
|
},
|
|
186
227
|
render() {
|
|
@@ -199,8 +240,10 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
199
240
|
"multiple": this.c.multiple,
|
|
200
241
|
"placeholder": this.c.placeHolder ? this.c.placeHolder : " ",
|
|
201
242
|
"disabled": this.disabled,
|
|
243
|
+
"loading": this.isLoading,
|
|
202
244
|
"onBlur": this.onBlur,
|
|
203
245
|
"onFocus": this.onFocus,
|
|
246
|
+
"onVisibleChange": this.onVisibleChange,
|
|
204
247
|
"props": {
|
|
205
248
|
class: this.customNodeClass
|
|
206
249
|
}
|
|
@@ -215,9 +258,11 @@ const IBizDropdown = /* @__PURE__ */ defineComponent({
|
|
|
215
258
|
"multiple": this.c.multiple,
|
|
216
259
|
"placeholder": this.c.placeHolder ? this.c.placeHolder : " ",
|
|
217
260
|
"disabled": this.disabled,
|
|
261
|
+
"loading": this.isLoading,
|
|
218
262
|
"onBlur": this.onBlur,
|
|
219
263
|
"onFocus": this.onFocus,
|
|
220
|
-
"onKeyup": this.handleKeyUp
|
|
264
|
+
"onKeyup": this.handleKeyUp,
|
|
265
|
+
"onVisibleChange": this.onVisibleChange
|
|
221
266
|
}, _isSlot(_slot = this.items.map((item) => {
|
|
222
267
|
return createVNode(resolveComponent("el-option"), {
|
|
223
268
|
"key": item.value,
|
package/es/locale/en/index.d.ts
CHANGED
package/es/locale/en/index.mjs
CHANGED
|
@@ -102,7 +102,10 @@ var index = {
|
|
|
102
102
|
noSupportVideo: "Your browser does not support video tags"
|
|
103
103
|
},
|
|
104
104
|
gridSetting: {
|
|
105
|
-
hideControl: "
|
|
105
|
+
hideControl: "Column selection"
|
|
106
|
+
},
|
|
107
|
+
actionToolbar: {
|
|
108
|
+
more: "More"
|
|
106
109
|
}
|
|
107
110
|
},
|
|
108
111
|
// 编辑器
|
|
@@ -102,7 +102,10 @@ var index = {
|
|
|
102
102
|
noSupportVideo: "\u4F60\u7684\u6D4F\u89C8\u5668\u4E0D\u652F\u6301video\u6807\u7B7E"
|
|
103
103
|
},
|
|
104
104
|
gridSetting: {
|
|
105
|
-
hideControl: "\
|
|
105
|
+
hideControl: "\u5217\u9009\u62E9"
|
|
106
|
+
},
|
|
107
|
+
actionToolbar: {
|
|
108
|
+
more: "\u66F4\u591A"
|
|
106
109
|
}
|
|
107
110
|
},
|
|
108
111
|
// 编辑器
|
|
@@ -2,7 +2,6 @@ import { computed, createVNode, resolveComponent, defineComponent } from 'vue';
|
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './async-action.css';
|
|
4
4
|
import { isObject, isString } from 'lodash-es';
|
|
5
|
-
import { isNil } from 'ramda';
|
|
6
5
|
|
|
7
6
|
"use strict";
|
|
8
7
|
const stateTexts = {
|
|
@@ -46,7 +45,7 @@ const AsyncAction = /* @__PURE__ */ defineComponent({
|
|
|
46
45
|
return props.message.actionstate;
|
|
47
46
|
});
|
|
48
47
|
const progressText = computed(() => {
|
|
49
|
-
return
|
|
48
|
+
return !props.message.completionrate ? "" : "(".concat(props.message.completionrate, "%)");
|
|
50
49
|
});
|
|
51
50
|
return {
|
|
52
51
|
ns,
|
|
@@ -85,7 +84,7 @@ const AsyncAction = /* @__PURE__ */ defineComponent({
|
|
|
85
84
|
"type": stateType[this.actionstate]
|
|
86
85
|
}, {
|
|
87
86
|
default: () => [stateTexts[this.actionstate]]
|
|
88
|
-
})]), this.actionstate === 20 && this.message.completionrate && createVNode("div", {
|
|
87
|
+
})]), this.actionstate === 20 && !!this.message.completionrate && createVNode("div", {
|
|
89
88
|
"class": this.ns.b("loading-warp")
|
|
90
89
|
}, [createVNode("div", {
|
|
91
90
|
"class": this.ns.be("loading-warp", "inner"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-async-action-tab{--ibiz-async-action-tab-load-more-height:30px;width:100%;height:100%}.ibiz-async-action-tab__item{min-height:60px;padding:6px 0}.ibiz-async-action-tab__nodata{display:flex;align-items:center;justify-content:center;height:calc(100% - var(--ibiz-async-action-tab-load-more-height))}.ibiz-async-action-tab__load-more{height:var(--ibiz-async-action-tab-load-more-height);line-height:var(--ibiz-async-action-tab-load-more-height);text-align:center}.ibiz-async-action-tab__load-more:hover{color:var(--ibiz-color-primary-hover);cursor:pointer}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import './async-action-tab.scss';
|
|
2
|
+
export declare const AsyncActionTab: import("vue").DefineComponent<{
|
|
3
|
+
showPopover: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {
|
|
8
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
9
|
+
appStore: {
|
|
10
|
+
allAsyncActions: {
|
|
11
|
+
asyncacitonid: string;
|
|
12
|
+
asyncacitonname: string;
|
|
13
|
+
fulltopictag: string;
|
|
14
|
+
srfdcid: string;
|
|
15
|
+
dcsystemid: string;
|
|
16
|
+
actiontype: string;
|
|
17
|
+
actionstate: 10 | 20 | 30 | 40;
|
|
18
|
+
actionresult?: unknown;
|
|
19
|
+
stepinfo?: string | undefined;
|
|
20
|
+
completionrate?: number | undefined;
|
|
21
|
+
asyncresultdownloadurl?: string | undefined;
|
|
22
|
+
actionparam?: unknown;
|
|
23
|
+
actionparam2?: unknown;
|
|
24
|
+
actionparam3?: unknown;
|
|
25
|
+
actionparam4?: unknown;
|
|
26
|
+
begintime: string;
|
|
27
|
+
endtime: string;
|
|
28
|
+
createman: string;
|
|
29
|
+
createdate: string;
|
|
30
|
+
updateman: string;
|
|
31
|
+
updatedate: string;
|
|
32
|
+
}[];
|
|
33
|
+
recentAsyncActions: {
|
|
34
|
+
asyncacitonid: string;
|
|
35
|
+
asyncacitonname: string;
|
|
36
|
+
fulltopictag: string;
|
|
37
|
+
srfdcid: string;
|
|
38
|
+
dcsystemid: string;
|
|
39
|
+
actiontype: string;
|
|
40
|
+
actionstate: 10 | 20 | 30 | 40;
|
|
41
|
+
actionresult?: unknown;
|
|
42
|
+
stepinfo?: string | undefined;
|
|
43
|
+
completionrate?: number | undefined;
|
|
44
|
+
asyncresultdownloadurl?: string | undefined;
|
|
45
|
+
actionparam?: unknown;
|
|
46
|
+
actionparam2?: unknown;
|
|
47
|
+
actionparam3?: unknown;
|
|
48
|
+
actionparam4?: unknown;
|
|
49
|
+
begintime: string;
|
|
50
|
+
endtime: string;
|
|
51
|
+
createman: string;
|
|
52
|
+
createdate: string;
|
|
53
|
+
updateman: string;
|
|
54
|
+
updatedate: string;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
actualMsgs: import("vue").ComputedRef<{
|
|
58
|
+
asyncacitonid: string;
|
|
59
|
+
asyncacitonname: string;
|
|
60
|
+
fulltopictag: string;
|
|
61
|
+
srfdcid: string;
|
|
62
|
+
dcsystemid: string;
|
|
63
|
+
actiontype: string;
|
|
64
|
+
actionstate: 10 | 20 | 30 | 40;
|
|
65
|
+
actionresult?: unknown;
|
|
66
|
+
stepinfo?: string | undefined;
|
|
67
|
+
completionrate?: number | undefined;
|
|
68
|
+
asyncresultdownloadurl?: string | undefined;
|
|
69
|
+
actionparam?: unknown;
|
|
70
|
+
actionparam2?: unknown;
|
|
71
|
+
actionparam3?: unknown;
|
|
72
|
+
actionparam4?: unknown;
|
|
73
|
+
begintime: string;
|
|
74
|
+
endtime: string;
|
|
75
|
+
createman: string;
|
|
76
|
+
createdate: string;
|
|
77
|
+
updateman: string;
|
|
78
|
+
updatedate: string;
|
|
79
|
+
}[]>;
|
|
80
|
+
hiddenPopover: () => void;
|
|
81
|
+
hiddenHistory: () => void;
|
|
82
|
+
showMoreHistory: () => void;
|
|
83
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
|
+
hiddenPopover: () => true;
|
|
85
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
86
|
+
showPopover: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
}>> & {
|
|
91
|
+
onHiddenPopover?: (() => any) | undefined;
|
|
92
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { ref, computed, watch, resolveComponent, h, createVNode, createTextVNode, defineComponent } from 'vue';
|
|
2
|
+
import { useNamespace, useAppStore } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { getAsyncActionProvider } from '@ibiz-template/runtime';
|
|
4
|
+
import './async-action-tab.css';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const AsyncActionTab = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "IBizAsyncActionTab",
|
|
9
|
+
props: {
|
|
10
|
+
showPopover: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
required: true
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
emits: {
|
|
16
|
+
hiddenPopover: () => true
|
|
17
|
+
},
|
|
18
|
+
setup(props, {
|
|
19
|
+
emit
|
|
20
|
+
}) {
|
|
21
|
+
const ns = useNamespace("async-action-tab");
|
|
22
|
+
const {
|
|
23
|
+
appStore
|
|
24
|
+
} = useAppStore();
|
|
25
|
+
const showHistoryLength = ref(0);
|
|
26
|
+
const actualMsgs = computed(() => {
|
|
27
|
+
const showLength = appStore.recentAsyncActions.length + showHistoryLength.value;
|
|
28
|
+
return appStore.allAsyncActions.filter((_, index) => {
|
|
29
|
+
return index < showLength;
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
const hiddenHistory = () => {
|
|
33
|
+
showHistoryLength.value = 0;
|
|
34
|
+
};
|
|
35
|
+
const showMoreHistory = () => {
|
|
36
|
+
showHistoryLength.value += 10;
|
|
37
|
+
};
|
|
38
|
+
const hiddenPopover = () => {
|
|
39
|
+
emit("hiddenPopover");
|
|
40
|
+
};
|
|
41
|
+
watch(() => props.showPopover, (newVal, oldVal) => {
|
|
42
|
+
if (newVal !== oldVal && newVal === false) {
|
|
43
|
+
hiddenHistory();
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
ns,
|
|
48
|
+
appStore,
|
|
49
|
+
actualMsgs,
|
|
50
|
+
hiddenPopover,
|
|
51
|
+
hiddenHistory,
|
|
52
|
+
showMoreHistory
|
|
53
|
+
};
|
|
54
|
+
},
|
|
55
|
+
render() {
|
|
56
|
+
const restLength = this.appStore.allAsyncActions.length - this.actualMsgs.length;
|
|
57
|
+
const loadMoreText = this.actualMsgs.length === 0 ? "\u67E5\u770B\u5386\u53F2\uFF08".concat(restLength, "\uFF09") : "\u52A0\u8F7D\u66F4\u591A\uFF08".concat(restLength, "\uFF09");
|
|
58
|
+
return createVNode("div", {
|
|
59
|
+
"class": [this.ns.b()]
|
|
60
|
+
}, [this.actualMsgs.length > 0 && this.actualMsgs.map((msg) => {
|
|
61
|
+
let provider;
|
|
62
|
+
try {
|
|
63
|
+
provider = getAsyncActionProvider(msg.actiontype);
|
|
64
|
+
} catch (error) {
|
|
65
|
+
ibiz.log.error(error);
|
|
66
|
+
}
|
|
67
|
+
if (provider) {
|
|
68
|
+
return h(resolveComponent(provider.component), {
|
|
69
|
+
class: this.ns.e("item"),
|
|
70
|
+
onClick: (event) => {
|
|
71
|
+
const isClose = provider.onClick(msg, event);
|
|
72
|
+
if (isClose) {
|
|
73
|
+
this.hiddenPopover();
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
message: msg
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
return createVNode("div", {
|
|
80
|
+
"class": this.ns.e("item")
|
|
81
|
+
}, ["\u5F02\u6B65\u64CD\u4F5C\u7C7B\u578B".concat(msg.actiontype, "\u6682\u672A\u652F\u6301")]);
|
|
82
|
+
}), this.actualMsgs.length === 0 && createVNode("div", {
|
|
83
|
+
"class": this.ns.e("nodata")
|
|
84
|
+
}, [createTextVNode("\u6682\u65E0\u901A\u77E5")]), restLength > 0 && createVNode("div", {
|
|
85
|
+
"class": this.ns.e("load-more"),
|
|
86
|
+
"onClick": this.showMoreHistory
|
|
87
|
+
}, [loadMoreText])]);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export { AsyncActionTab };
|
|
@@ -10,86 +10,14 @@ export declare const IBizUserMessage: import("@ibiz-template/vue3-util").TypeWit
|
|
|
10
10
|
}, {
|
|
11
11
|
ns: import("@ibiz-template/core").Namespace;
|
|
12
12
|
c: import("@ibiz-template/runtime").PanelItemController<import("@ibiz/model-core").IPanelItem>;
|
|
13
|
+
noticeNum: import("vue").Ref<number>;
|
|
13
14
|
popoverRef: import("vue").Ref<any>;
|
|
14
15
|
showPopover: import("vue").Ref<boolean>;
|
|
15
16
|
sysImage: import("@ibiz/model-core").ISysImage | {
|
|
16
17
|
imagePath: string;
|
|
17
18
|
};
|
|
18
19
|
currentTab: import("vue").Ref<string>;
|
|
19
|
-
appStore: {
|
|
20
|
-
allAsyncActions: {
|
|
21
|
-
asyncacitonid: string;
|
|
22
|
-
asyncacitonname: string;
|
|
23
|
-
fulltopictag: string;
|
|
24
|
-
srfdcid: string;
|
|
25
|
-
dcsystemid: string;
|
|
26
|
-
actiontype: string;
|
|
27
|
-
actionstate: 10 | 20 | 30 | 40;
|
|
28
|
-
actionresult?: unknown;
|
|
29
|
-
stepinfo?: string | undefined;
|
|
30
|
-
completionrate?: number | undefined;
|
|
31
|
-
asyncresultdownloadurl?: string | undefined;
|
|
32
|
-
actionparam?: unknown;
|
|
33
|
-
actionparam2?: unknown;
|
|
34
|
-
actionparam3?: unknown;
|
|
35
|
-
actionparam4?: unknown;
|
|
36
|
-
begintime: string;
|
|
37
|
-
endtime: string;
|
|
38
|
-
createman: string;
|
|
39
|
-
createdate: string;
|
|
40
|
-
updateman: string;
|
|
41
|
-
updatedate: string;
|
|
42
|
-
}[];
|
|
43
|
-
recentAsyncActions: {
|
|
44
|
-
asyncacitonid: string;
|
|
45
|
-
asyncacitonname: string;
|
|
46
|
-
fulltopictag: string;
|
|
47
|
-
srfdcid: string;
|
|
48
|
-
dcsystemid: string;
|
|
49
|
-
actiontype: string;
|
|
50
|
-
actionstate: 10 | 20 | 30 | 40;
|
|
51
|
-
actionresult?: unknown;
|
|
52
|
-
stepinfo?: string | undefined;
|
|
53
|
-
completionrate?: number | undefined;
|
|
54
|
-
asyncresultdownloadurl?: string | undefined;
|
|
55
|
-
actionparam?: unknown;
|
|
56
|
-
actionparam2?: unknown;
|
|
57
|
-
actionparam3?: unknown;
|
|
58
|
-
actionparam4?: unknown;
|
|
59
|
-
begintime: string;
|
|
60
|
-
endtime: string;
|
|
61
|
-
createman: string;
|
|
62
|
-
createdate: string;
|
|
63
|
-
updateman: string;
|
|
64
|
-
updatedate: string;
|
|
65
|
-
}[];
|
|
66
|
-
};
|
|
67
|
-
actualMsgs: import("vue").ComputedRef<{
|
|
68
|
-
asyncacitonid: string;
|
|
69
|
-
asyncacitonname: string;
|
|
70
|
-
fulltopictag: string;
|
|
71
|
-
srfdcid: string;
|
|
72
|
-
dcsystemid: string;
|
|
73
|
-
actiontype: string;
|
|
74
|
-
actionstate: 10 | 20 | 30 | 40;
|
|
75
|
-
actionresult?: unknown;
|
|
76
|
-
stepinfo?: string | undefined;
|
|
77
|
-
completionrate?: number | undefined;
|
|
78
|
-
asyncresultdownloadurl?: string | undefined;
|
|
79
|
-
actionparam?: unknown;
|
|
80
|
-
actionparam2?: unknown;
|
|
81
|
-
actionparam3?: unknown;
|
|
82
|
-
actionparam4?: unknown;
|
|
83
|
-
begintime: string;
|
|
84
|
-
endtime: string;
|
|
85
|
-
createman: string;
|
|
86
|
-
createdate: string;
|
|
87
|
-
updateman: string;
|
|
88
|
-
updatedate: string;
|
|
89
|
-
}[]>;
|
|
90
20
|
hiddenPopover: () => void;
|
|
91
|
-
hiddenHistory: () => void;
|
|
92
|
-
showMoreHistory: () => void;
|
|
93
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
22
|
modelData: {
|
|
95
23
|
type: import("vue").PropType<import("@ibiz/model-core").IPanelRawItem>;
|
|
@@ -1,16 +1,25 @@
|
|
|
1
|
-
import { registerAsyncActionProvider, registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
1
|
+
import { registerAsyncActionProvider, registerInternalMessageProvider, registerPanelItemProvider } from '@ibiz-template/runtime';
|
|
2
2
|
import { withInstall } from '@ibiz-template/vue3-util';
|
|
3
|
-
import
|
|
4
|
-
import { AsyncActionProvider } from './async-action/async-action.provider.mjs';
|
|
3
|
+
import './async-action/index.mjs';
|
|
5
4
|
import { UserMessage } from './user-message.mjs';
|
|
6
5
|
import { UserMessageProvider } from './user-message.provider.mjs';
|
|
6
|
+
import './internal-message/index.mjs';
|
|
7
|
+
import { AsyncAction } from './async-action/async-action/async-action.mjs';
|
|
8
|
+
import { InternalMessageDefault } from './internal-message/internal-message-default/internal-message-default.mjs';
|
|
9
|
+
import { AsyncActionProvider } from './async-action/async-action/async-action.provider.mjs';
|
|
10
|
+
import { InternalMessageDefaultProvider } from './internal-message/internal-message-default/internal-message-default.provider.mjs';
|
|
7
11
|
|
|
8
12
|
"use strict";
|
|
9
13
|
const IBizUserMessage = withInstall(UserMessage, function(v) {
|
|
10
14
|
v.component(UserMessage.name, UserMessage);
|
|
11
15
|
v.component(AsyncAction.name, AsyncAction);
|
|
16
|
+
v.component(InternalMessageDefault.name, InternalMessageDefault);
|
|
12
17
|
registerAsyncActionProvider("DEIMPORTDATA2", () => new AsyncActionProvider());
|
|
13
18
|
registerAsyncActionProvider("DEFAULT", () => new AsyncActionProvider());
|
|
19
|
+
registerInternalMessageProvider(
|
|
20
|
+
"DEFAULT",
|
|
21
|
+
() => new InternalMessageDefaultProvider()
|
|
22
|
+
);
|
|
14
23
|
registerPanelItemProvider(
|
|
15
24
|
"RAWITEM_USERMESSAGE",
|
|
16
25
|
() => new UserMessageProvider()
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { InternalMessageTab } from './internal-message-tab/internal-message-tab';
|
|
2
|
+
export { InternalMessageDefaultProvider } from './internal-message-default/internal-message-default.provider';
|
|
3
|
+
export { InternalMessageDefault } from './internal-message-default/internal-message-default';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { InternalMessageTab } from './internal-message-tab/internal-message-tab.mjs';
|
|
2
|
+
export { InternalMessageDefaultProvider } from './internal-message-default/internal-message-default.provider.mjs';
|
|
3
|
+
export { InternalMessageDefault } from './internal-message-default/internal-message-default.mjs';
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-internal-message{--ibiz-internal-message-loading-warp-bg-color:linear-gradient(90deg, var(--ibiz-color-primary-light-hover), var(--ibiz-color-primary));display:flex;align-items:center;justify-content:space-between;position:relative}.ibiz-internal-message--clickable{cursor:pointer}.ibiz-internal-message:hover{background-color:var(--ibiz-color-fill-1)}.ibiz-internal-message__caption{margin-bottom:8px;font-weight:var(--ibiz-font-weight-bold)}.ibiz-internal-message__short-content{margin-bottom:8px}.ibiz-internal-message__status{margin-right:8px}.ibiz-internal-message:hover .ibiz-internal-message-toolbar{display:block}.ibiz-internal-message-left{flex-grow:0;flex-shrink:0;align-self:flex-start;width:50px;font-size:var(--ibiz-font-size-header-3);text-align:center}.ibiz-internal-message-center{flex-grow:1;width:342px}.ibiz-internal-message-toolbar{position:absolute;top:0;right:0;display:none;padding:8px}.ibiz-internal-message-toolbar__button{margin-left:10px;font-size:16px;cursor:pointer}.ibiz-internal-message-toolbar__button:hover{color:var(--ibiz-color-primary)}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { IInternalMessage } from '@ibiz-template/core';
|
|
3
|
+
import './internal-message-default.scss';
|
|
4
|
+
export declare const InternalMessageDefault: import("vue").DefineComponent<{
|
|
5
|
+
message: {
|
|
6
|
+
type: PropType<IInternalMessage>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
ns: import("@ibiz-template/core").Namespace;
|
|
11
|
+
clickable: import("vue").ComputedRef<boolean>;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
message: {
|
|
14
|
+
type: PropType<IInternalMessage>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>>, {}, {}>;
|