@cicctencent/low-code-editor 1.1.9-beta.5 → 1.1.9-beta.6
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/ActivityBar/index.vue.d.ts +7 -7
- package/dist/ComponentTree/components/List.vue.d.ts +6 -6
- package/dist/ComponentTree/index.vue.d.ts +6 -6
- package/dist/DataSource/index.vue.d.ts +6 -6
- package/dist/HeaderBar/components/BarTooltip.vue.d.ts +5 -5
- package/dist/HeaderBar/index.vue.d.ts +6 -6
- package/dist/NavTree/index.vue.d.ts +6 -6
- package/dist/SchemaConfig/index.vue.d.ts +7 -7
- package/dist/SidebarPane/index.vue.d.ts +6 -6
- package/dist/components/ComponentTreeFavorites/components/List.vue.d.ts +6 -6
- package/dist/components/ComponentTreeFavorites/components/Tips.vue.d.ts +5 -5
- package/dist/components/ComponentTreeFavorites/index.vue.d.ts +6 -6
- package/dist/components/ImageGuide/index.vue.d.ts +6 -6
- package/dist/components.d.ts +3 -3
- package/dist/composables/useComponentTree.d.ts +2 -2
- package/dist/domain/EditorDomain.d.ts +1 -1
- package/dist/editor.d.ts +195 -15
- package/dist/editor.vue.d.ts +6 -6
- package/dist/formily/DataBinding/index.vue.d.ts +7 -7
- package/dist/formily/MenuTable/PageList.vue.d.ts +6 -6
- package/dist/formily/MenuTable/index.vue.d.ts +6 -6
- package/dist/formily/MenuTable/useMenuTable.d.ts +2 -227
- package/dist/index.css +564 -564
- package/dist/index.d.ts +13 -13
- package/dist/index.js +11006 -2489
- package/package.json +7 -3
- package/src/ActivityBar/index.vue +2 -2
- package/src/ComponentTree/components/List.vue +2 -2
- package/src/ComponentTree/index.vue +2 -2
- package/src/DataSource/index.vue +2 -2
- package/src/HeaderBar/components/BarDialog.vue +1 -1
- package/src/HeaderBar/index.vue +1 -1
- package/src/NavTree/index.vue +2 -2
- package/src/SchemaConfig/index.vue +1 -1
- package/src/SidebarPane/index.vue +1 -1
- package/src/components/ComponentTreeFavorites/components/List.vue +2 -2
- package/src/components/ComponentTreeFavorites/index.vue +2 -2
- package/src/domain/EditorDomain.ts +1 -1
- package/src/editor.ts +1 -1
- package/src/editor.vue +1 -1
- package/src/formily/DataBinding/index.vue +2 -2
- package/src/formily/MenuTable/PageList.vue +1 -1
- package/src/formily/MenuTable/index.vue +1 -1
- package/src/formily/MenuTable/useMenuTable.ts +1 -1
- package/src/formily/SidebarPane/index.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cicctencent/low-code-editor",
|
|
3
|
-
"version": "1.1.9-beta.
|
|
3
|
+
"version": "1.1.9-beta.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@formily/grid": "^2.2.29",
|
|
30
|
-
"@
|
|
30
|
+
"@cicctencent/icons-vue": "^0.2.8",
|
|
31
31
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
32
32
|
"@rollup/plugin-image": "^2.1.1",
|
|
33
33
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
@@ -56,5 +56,9 @@
|
|
|
56
56
|
},
|
|
57
57
|
"keywords": [],
|
|
58
58
|
"author": "",
|
|
59
|
-
"license": "ISC"
|
|
59
|
+
"license": "ISC",
|
|
60
|
+
"publishConfig": {
|
|
61
|
+
"access": "public",
|
|
62
|
+
"registry": "https://registry.npmjs.org/"
|
|
63
|
+
}
|
|
60
64
|
}
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
<script lang="ts" setup>
|
|
21
21
|
//@ts-nocheck
|
|
22
22
|
import { PropType } from 'vue';
|
|
23
|
-
import * as ElIcons from '@
|
|
24
|
-
import { ActivityBarType } from '@
|
|
23
|
+
import * as ElIcons from '@cicctencent/icons-vue';
|
|
24
|
+
import { ActivityBarType } from '@cicctencent/low-code-core';
|
|
25
25
|
import { defineProps, defineEmits } from 'vue';
|
|
26
26
|
const props = defineProps({
|
|
27
27
|
modelValue: {
|
|
@@ -84,8 +84,8 @@ import {
|
|
|
84
84
|
inject,
|
|
85
85
|
Ref,
|
|
86
86
|
} from 'vue';
|
|
87
|
-
import { ComponentTreeItem, ComponentTree } from '@
|
|
88
|
-
import { CaretBottom, CaretRight } from '@
|
|
87
|
+
import { ComponentTreeItem, ComponentTree } from '@cicctencent/low-code-core';
|
|
88
|
+
import { CaretBottom, CaretRight } from '@cicctencent/icons-vue';
|
|
89
89
|
const props = withDefaults(
|
|
90
90
|
defineProps<{
|
|
91
91
|
componentTree?: ComponentTree[];
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
|
|
19
19
|
<script lang="ts" setup>
|
|
20
20
|
import { defineProps, withDefaults, defineEmits, computed } from 'vue';
|
|
21
|
-
import { Search } from '@
|
|
21
|
+
import { Search } from '@cicctencent/icons-vue';
|
|
22
22
|
import List from './components/List.vue';
|
|
23
|
-
import { ComponentTreeData, LowCodeKey } from '@
|
|
23
|
+
import { ComponentTreeData, LowCodeKey } from '@cicctencent/low-code-core';
|
|
24
24
|
import useComponentTree from '../composables/useComponentTree';
|
|
25
25
|
// 如果直接传对象,会频繁更新DOM,这里传JSON会好很多。在vue内部判断是否需要更新是用:
|
|
26
26
|
// nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)
|
package/src/DataSource/index.vue
CHANGED
|
@@ -275,11 +275,11 @@
|
|
|
275
275
|
<script lang="ts" setup>
|
|
276
276
|
//@ts-nocheck
|
|
277
277
|
import { watch, ref, reactive, withDefaults, defineProps, defineEmits } from 'vue';
|
|
278
|
-
import { Search, Warning } from '@
|
|
278
|
+
import { Search, Warning } from '@cicctencent/icons-vue';
|
|
279
279
|
import Draggable from 'vuedraggable';
|
|
280
280
|
import '../config/ace.config';
|
|
281
281
|
import { VAceEditor } from 'vue3-ace-editor';
|
|
282
|
-
import { DataSource, DataSourceType } from '@
|
|
282
|
+
import { DataSource, DataSourceType } from '@cicctencent/low-code-core';
|
|
283
283
|
import { FormInstance } from '@jt/jtui';
|
|
284
284
|
enum DataPoolWidth {
|
|
285
285
|
FOLD = 300,
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
// @ts-nocheck
|
|
20
20
|
import { ref, withDefaults, defineProps, computed } from 'vue';
|
|
21
21
|
import { VueForm } from '@jt/formily';
|
|
22
|
-
import { Schema } from '@
|
|
22
|
+
import { Schema } from '@cicctencent/low-code-core';
|
|
23
23
|
|
|
24
24
|
const props = withDefaults(
|
|
25
25
|
defineProps<{
|
package/src/HeaderBar/index.vue
CHANGED
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
computed,
|
|
145
145
|
} from 'vue';
|
|
146
146
|
|
|
147
|
-
import { FunctionData, Simulator } from '@
|
|
147
|
+
import { FunctionData, Simulator } from '@cicctencent/low-code-core';
|
|
148
148
|
import { changeEnum2Array } from '../utils';
|
|
149
149
|
import BarTooltip from './components/BarTooltip.vue';
|
|
150
150
|
import { debounce } from '@jt/ark-util';
|
package/src/NavTree/index.vue
CHANGED
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<script lang="ts" setup>
|
|
80
80
|
import { ref, nextTick, computed, ComputedRef, watch } from 'vue';
|
|
81
81
|
import type { ElTree, ElInput } from '@jt/jtui';
|
|
82
|
-
import * as IconMap from '@
|
|
82
|
+
import * as IconMap from '@cicctencent/icons-vue';
|
|
83
83
|
import type Node from '@jt/jtui/es/components/tree/src/model/node';
|
|
84
84
|
import type { DropType } from '@jt/jtui/es/components/tree/src/tree.type';
|
|
85
85
|
import {
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
NavTreeData,
|
|
95
95
|
LowCodeKey,
|
|
96
96
|
ComponentType,
|
|
97
|
-
} from '@
|
|
97
|
+
} from '@cicctencent/low-code-core';
|
|
98
98
|
|
|
99
99
|
interface NavTree extends NavTreeData {
|
|
100
100
|
navKey: string;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
|
|
71
71
|
<script lang="ts" setup>
|
|
72
72
|
// @ts-nocheck
|
|
73
|
-
import { Close } from '@
|
|
73
|
+
import { Close } from '@cicctencent/icons-vue';
|
|
74
74
|
import { ref, watch, onMounted, defineEmits, withDefaults, defineProps } from 'vue';
|
|
75
75
|
const props = withDefaults(
|
|
76
76
|
defineProps<{
|
|
@@ -113,12 +113,12 @@
|
|
|
113
113
|
|
|
114
114
|
<script lang="ts" setup>
|
|
115
115
|
import { ref, watch, reactive, inject, Ref, computed, onMounted } from 'vue';
|
|
116
|
-
import { ComponentTreeItem, ComponentTree } from '@
|
|
116
|
+
import { ComponentTreeItem, ComponentTree } from '@cicctencent/low-code-core';
|
|
117
117
|
import Tips from './Tips.vue';
|
|
118
118
|
import CollectSelectIcon from '../../../assets/img/tool/collect.svg';
|
|
119
119
|
import CollectIcon from '../../../assets/img/tool/union.svg';
|
|
120
120
|
import InfoIcon from '../../../assets/img/tool/info.svg';
|
|
121
|
-
import { CaretBottom, CaretRight } from '@
|
|
121
|
+
import { CaretBottom, CaretRight } from '@cicctencent/icons-vue';
|
|
122
122
|
const props = withDefaults(
|
|
123
123
|
defineProps<{
|
|
124
124
|
componentTree?: ComponentTree[];
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
computed,
|
|
8
8
|
watch,
|
|
9
9
|
} from 'vue';
|
|
10
|
-
import { Search } from '@
|
|
10
|
+
import { Search } from '@cicctencent/icons-vue';
|
|
11
11
|
import List from './components/List.vue';
|
|
12
|
-
import { ComponentTreeData, LowCodeKey } from '@
|
|
12
|
+
import { ComponentTreeData, LowCodeKey } from '@cicctencent/low-code-core';
|
|
13
13
|
import AllIcon from '../../assets/img/tool/all.svg';
|
|
14
14
|
import AllSelectIcon from '../../assets/img/tool/all-select.svg';
|
|
15
15
|
import collectionIcon from '../../assets/img/tool/collection-tag.svg';
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from '@jt/ark-util';
|
|
9
9
|
import { Communicator } from '@jt/postmessage-channel';
|
|
10
10
|
|
|
11
|
-
import { CheckResponseItem, EditorConfig, LowCodeKey } from '@
|
|
11
|
+
import { CheckResponseItem, EditorConfig, LowCodeKey } from '@cicctencent/low-code-core';
|
|
12
12
|
|
|
13
13
|
const logTag = '[low-code-editor EditorDomain]';
|
|
14
14
|
const logInfo = log(logTag);
|
package/src/editor.ts
CHANGED
package/src/editor.vue
CHANGED
|
@@ -166,7 +166,7 @@ import SchemaConfig from './SchemaConfig/index.vue';
|
|
|
166
166
|
import ImageGuide from './components/ImageGuide/index.vue';
|
|
167
167
|
import ActivityBar from './ActivityBar/index.vue';
|
|
168
168
|
import SidebarPane from './SidebarPane/index.vue';
|
|
169
|
-
import { Project } from '@
|
|
169
|
+
import { Project } from '@cicctencent/low-code-core';
|
|
170
170
|
import useEditor from './editor';
|
|
171
171
|
import { editorComponents } from './components';
|
|
172
172
|
import { VueForm } from '@jt/formily';
|
|
@@ -83,8 +83,8 @@ import { PropType, computed, reactive, ref, watch, defineProps, defineEmits } fr
|
|
|
83
83
|
import '../../config/ace.config';
|
|
84
84
|
import { VAceEditor } from 'vue3-ace-editor';
|
|
85
85
|
import { VueForm } from '@jt/formily';
|
|
86
|
-
import { Search } from '@
|
|
87
|
-
import { DataSource } from '@
|
|
86
|
+
import { Search } from '@cicctencent/icons-vue';
|
|
87
|
+
import { DataSource } from '@cicctencent/low-code-core';
|
|
88
88
|
const props = defineProps({
|
|
89
89
|
schema: Object,
|
|
90
90
|
modelValue: String,
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
<script lang="ts" setup>
|
|
170
170
|
// @ts-nocheck
|
|
171
171
|
import { defineProps, defineEmits } from 'vue';
|
|
172
|
-
import * as ElIcons from '@
|
|
172
|
+
import * as ElIcons from '@cicctencent/icons-vue';
|
|
173
173
|
import PageList from './PageList.vue';
|
|
174
174
|
import useMenuTable from './useMenuTable';
|
|
175
175
|
const props = defineProps({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { reactive, nextTick, ref, computed, watch } from 'vue';
|
|
2
2
|
import type { FormInstance } from '@jt/jtui';
|
|
3
|
-
import { ProjectMetaNavMenu } from '@
|
|
3
|
+
import { ProjectMetaNavMenu } from '@cicctencent/low-code-core';
|
|
4
4
|
interface IMenuForm extends Omit<ProjectMetaNavMenu, 'children'> {
|
|
5
5
|
content: 'pageId' | 'url';
|
|
6
6
|
}
|