@oinone/kunlun-vue-admin-base 6.4.8 → 6.4.10
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/oinone-kunlun-vue-admin-base.css +1 -1
- package/dist/oinone-kunlun-vue-admin-base.esm.js +19 -6
- package/dist/oinone-kunlun-vue-admin-base.scss +1 -1
- package/dist/types/src/field/eip/index.d.ts +1 -0
- package/package.json +8 -8
- package/src/field/eip/index.ts +2 -0
- package/src/field/eip/style/eip-global.scss +17 -0
- package/src/field/form/string/expression/condition/conditionBaseControlWidget.ts +7 -3
- package/src/main.ts +5 -0
- package/src/view/application-screen/import-and-export-element/AppTreeMenuTableWidget.ts +6 -1
- package/src/view/popup/PopupWidget.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oinone/kunlun-vue-admin-base",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.10",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "rimraf dist",
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"doc": "typedoc --out docs src/index.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@oinone/kunlun-vue-admin-layout": "6.4.
|
|
18
|
-
"@oinone/kunlun-vue-router": "6.4.
|
|
19
|
-
"@oinone/kunlun-vue-ui": "6.4.
|
|
20
|
-
"@oinone/kunlun-vue-ui-antd": "6.4.
|
|
21
|
-
"@oinone/kunlun-vue-ui-common": "6.4.
|
|
22
|
-
"@oinone/kunlun-vue-ui-el": "6.4.
|
|
23
|
-
"@oinone/kunlun-vue-widget": "6.4.
|
|
17
|
+
"@oinone/kunlun-vue-admin-layout": "6.4.10",
|
|
18
|
+
"@oinone/kunlun-vue-router": "6.4.10",
|
|
19
|
+
"@oinone/kunlun-vue-ui": "6.4.10",
|
|
20
|
+
"@oinone/kunlun-vue-ui-antd": "6.4.10",
|
|
21
|
+
"@oinone/kunlun-vue-ui-common": "6.4.10",
|
|
22
|
+
"@oinone/kunlun-vue-ui-el": "6.4.10",
|
|
23
|
+
"@oinone/kunlun-vue-widget": "6.4.10",
|
|
24
24
|
"@wangeditor/editor": "5.1.23",
|
|
25
25
|
"@wangeditor/editor-for-vue": "5.1.11",
|
|
26
26
|
"@wangeditor/plugin-upload-attachment": "1.1.0",
|
package/src/field/eip/index.ts
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.eip-runtime-error-text {
|
|
2
|
+
.detail-string-value {
|
|
3
|
+
color: var(--oio-error-color);
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.eip-runtime-success-text {
|
|
8
|
+
.detail-string-value {
|
|
9
|
+
color: var(--oio-success-color);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.eip-runtime-warning-text {
|
|
14
|
+
.detail-string-value {
|
|
15
|
+
color: var(--oio-warning-color);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -74,10 +74,14 @@ export class ConditionBaseControlWidget extends ExpressionAbstractWidget {
|
|
|
74
74
|
|
|
75
75
|
const list = valueList || [];
|
|
76
76
|
|
|
77
|
-
if (
|
|
78
|
-
|
|
77
|
+
if (this.sourceCode) {
|
|
78
|
+
if (list.length) {
|
|
79
|
+
const valueList = list[0].valueList || [];
|
|
79
80
|
|
|
80
|
-
|
|
81
|
+
if (!valueList.some((v) => v.value)) {
|
|
82
|
+
this.hasChangeSourceCode = true;
|
|
83
|
+
}
|
|
84
|
+
} else {
|
|
81
85
|
this.hasChangeSourceCode = true;
|
|
82
86
|
}
|
|
83
87
|
}
|
package/src/main.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CurrentLanguage,
|
|
2
3
|
frameworkFactory,
|
|
3
4
|
FrameworkInitializeService,
|
|
4
5
|
FrameworkInitializeSPI,
|
|
@@ -14,6 +15,7 @@ import { SPIFactory } from '@oinone/kunlun-spi';
|
|
|
14
15
|
import { maskInstall } from '@oinone/kunlun-vue-admin-layout';
|
|
15
16
|
import { Boot } from '@wangeditor/editor';
|
|
16
17
|
import attachmentModule from '@wangeditor/plugin-upload-attachment';
|
|
18
|
+
import moment from 'moment';
|
|
17
19
|
import { App, getCurrentInstance } from 'vue';
|
|
18
20
|
import { createApp as CreateVueApp } from './create_app';
|
|
19
21
|
import enUs from './locale/en_US';
|
|
@@ -38,6 +40,9 @@ export class VueFrameworkInitializeService implements FrameworkInitializeService
|
|
|
38
40
|
public after(props: OioProviderProps) {
|
|
39
41
|
maskInstall();
|
|
40
42
|
install();
|
|
43
|
+
CurrentLanguage.getIsoCode().then((isoCode) => {
|
|
44
|
+
moment.locale(isoCode);
|
|
45
|
+
});
|
|
41
46
|
const app = RuntimeContextManager.createOrReplace<App>().frameworkInstance;
|
|
42
47
|
app.mount('#app');
|
|
43
48
|
}
|
|
@@ -34,7 +34,12 @@ export class AppTreeMenuTableWidget extends TableWidget {
|
|
|
34
34
|
BaseElementWidget.Token({
|
|
35
35
|
viewType: ViewType.Table,
|
|
36
36
|
widget: ['table', 'Table'],
|
|
37
|
-
model: [
|
|
37
|
+
model: [
|
|
38
|
+
'dmeta.DataDesignerItemMetaExport',
|
|
39
|
+
'dmeta.EipDesignerConnectorAppMetaExport',
|
|
40
|
+
'dmeta.EipDesignerConnectorDBMetaExport',
|
|
41
|
+
'dmeta.EipDesignerConnectorFileMetaExport'
|
|
42
|
+
]
|
|
38
43
|
})
|
|
39
44
|
)
|
|
40
45
|
export class AppGraphTableWidget extends AppTreeMenuTableWidget {
|
|
@@ -286,7 +286,7 @@ export abstract class PopupWidget<Props extends PopupWidgetProps = PopupWidgetPr
|
|
|
286
286
|
if (this.submitCallChaining) {
|
|
287
287
|
result = (await this.submitCallChaining.syncCall())?.records || [];
|
|
288
288
|
}
|
|
289
|
-
let finalShowRecords: ActiveRecord[] = this.activeRecords || [];
|
|
289
|
+
let finalShowRecords: ActiveRecord[] = deepClone(this.activeRecords) || [];
|
|
290
290
|
const viewAction = this.action;
|
|
291
291
|
if (viewAction) {
|
|
292
292
|
const { model, resModel } = viewAction;
|
|
@@ -301,7 +301,7 @@ export abstract class PopupWidget<Props extends PopupWidgetProps = PopupWidgetPr
|
|
|
301
301
|
break;
|
|
302
302
|
}
|
|
303
303
|
case PopupSubmitType.all: {
|
|
304
|
-
const result: ActiveRecord[] = this.dataSource || [];
|
|
304
|
+
const result: ActiveRecord[] = deepClone(this.dataSource) || [];
|
|
305
305
|
finalParameters = {
|
|
306
306
|
showRecords: result,
|
|
307
307
|
submitRecords: result
|