@oinone/kunlun-vue-admin-base 6.4.9 → 6.4.11

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.
@@ -1 +1,2 @@
1
+ import './style/eip-global.scss';
1
2
  export * from './form';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oinone/kunlun-vue-admin-base",
3
- "version": "6.4.9",
3
+ "version": "6.4.11",
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.9",
18
- "@oinone/kunlun-vue-router": "6.4.9",
19
- "@oinone/kunlun-vue-ui": "6.4.9",
20
- "@oinone/kunlun-vue-ui-antd": "6.4.9",
21
- "@oinone/kunlun-vue-ui-common": "6.4.9",
22
- "@oinone/kunlun-vue-ui-el": "6.4.9",
23
- "@oinone/kunlun-vue-widget": "6.4.9",
17
+ "@oinone/kunlun-vue-admin-layout": "6.4.11",
18
+ "@oinone/kunlun-vue-router": "6.4.11",
19
+ "@oinone/kunlun-vue-ui": "6.4.11",
20
+ "@oinone/kunlun-vue-ui-antd": "6.4.11",
21
+ "@oinone/kunlun-vue-ui-common": "6.4.11",
22
+ "@oinone/kunlun-vue-ui-el": "6.4.11",
23
+ "@oinone/kunlun-vue-widget": "6.4.11",
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",
@@ -1 +1,3 @@
1
+ import './style/eip-global.scss';
2
+
1
3
  export * from './form';
@@ -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 (list.length && this.sourceCode) {
78
- const valueList = list[0].valueList || [];
77
+ if (this.sourceCode) {
78
+ if (list.length) {
79
+ const valueList = list[0].valueList || [];
79
80
 
80
- if (!valueList.some((v) => v.value)) {
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: ['dmeta.DataDesignerItemMetaExport']
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 {
@@ -1,4 +1,4 @@
1
- import { BASIC_CONFIG_KEY, OINONE_HOMEPAGE_KEY, translateValueByKey } from '@oinone/kunlun-engine';
1
+ import { ClearCache, OINONE_HOMEPAGE_KEY, translateValueByKey } from '@oinone/kunlun-engine';
2
2
  import { SYSTEM_MODULE_NAME } from '@oinone/kunlun-meta';
3
3
  import {
4
4
  gql,
@@ -396,7 +396,7 @@ export class LoginWidget extends BaseLoginWidget {
396
396
  } else {
397
397
  const parameters = (await homepageMaybeRuntimeContext(undefined, true)) as any;
398
398
  localStorage.setItem(OINONE_HOMEPAGE_KEY, JSON.stringify(parameters));
399
-
399
+ ClearCache.clear();
400
400
  this.router.push({
401
401
  segments: [
402
402
  {