@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.
Files changed (45) hide show
  1. package/dist/ActivityBar/index.vue.d.ts +7 -7
  2. package/dist/ComponentTree/components/List.vue.d.ts +6 -6
  3. package/dist/ComponentTree/index.vue.d.ts +6 -6
  4. package/dist/DataSource/index.vue.d.ts +6 -6
  5. package/dist/HeaderBar/components/BarTooltip.vue.d.ts +5 -5
  6. package/dist/HeaderBar/index.vue.d.ts +6 -6
  7. package/dist/NavTree/index.vue.d.ts +6 -6
  8. package/dist/SchemaConfig/index.vue.d.ts +7 -7
  9. package/dist/SidebarPane/index.vue.d.ts +6 -6
  10. package/dist/components/ComponentTreeFavorites/components/List.vue.d.ts +6 -6
  11. package/dist/components/ComponentTreeFavorites/components/Tips.vue.d.ts +5 -5
  12. package/dist/components/ComponentTreeFavorites/index.vue.d.ts +6 -6
  13. package/dist/components/ImageGuide/index.vue.d.ts +6 -6
  14. package/dist/components.d.ts +3 -3
  15. package/dist/composables/useComponentTree.d.ts +2 -2
  16. package/dist/domain/EditorDomain.d.ts +1 -1
  17. package/dist/editor.d.ts +195 -15
  18. package/dist/editor.vue.d.ts +6 -6
  19. package/dist/formily/DataBinding/index.vue.d.ts +7 -7
  20. package/dist/formily/MenuTable/PageList.vue.d.ts +6 -6
  21. package/dist/formily/MenuTable/index.vue.d.ts +6 -6
  22. package/dist/formily/MenuTable/useMenuTable.d.ts +2 -227
  23. package/dist/index.css +564 -564
  24. package/dist/index.d.ts +13 -13
  25. package/dist/index.js +11006 -2489
  26. package/package.json +7 -3
  27. package/src/ActivityBar/index.vue +2 -2
  28. package/src/ComponentTree/components/List.vue +2 -2
  29. package/src/ComponentTree/index.vue +2 -2
  30. package/src/DataSource/index.vue +2 -2
  31. package/src/HeaderBar/components/BarDialog.vue +1 -1
  32. package/src/HeaderBar/index.vue +1 -1
  33. package/src/NavTree/index.vue +2 -2
  34. package/src/SchemaConfig/index.vue +1 -1
  35. package/src/SidebarPane/index.vue +1 -1
  36. package/src/components/ComponentTreeFavorites/components/List.vue +2 -2
  37. package/src/components/ComponentTreeFavorites/index.vue +2 -2
  38. package/src/domain/EditorDomain.ts +1 -1
  39. package/src/editor.ts +1 -1
  40. package/src/editor.vue +1 -1
  41. package/src/formily/DataBinding/index.vue +2 -2
  42. package/src/formily/MenuTable/PageList.vue +1 -1
  43. package/src/formily/MenuTable/index.vue +1 -1
  44. package/src/formily/MenuTable/useMenuTable.ts +1 -1
  45. 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.5",
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
- "@jt/icons-vue": "^0.2.8",
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 '@jt/icons-vue';
24
- import { ActivityBarType } from '@jt/low-code-core';
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 '@jt/low-code-core';
88
- import { CaretBottom, CaretRight } from '@jt/icons-vue';
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 '@jt/icons-vue';
21
+ import { Search } from '@cicctencent/icons-vue';
22
22
  import List from './components/List.vue';
23
- import { ComponentTreeData, LowCodeKey } from '@jt/low-code-core';
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)
@@ -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 '@jt/icons-vue';
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 '@jt/low-code-core';
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 '@jt/low-code-core';
22
+ import { Schema } from '@cicctencent/low-code-core';
23
23
 
24
24
  const props = withDefaults(
25
25
  defineProps<{
@@ -144,7 +144,7 @@ import {
144
144
  computed,
145
145
  } from 'vue';
146
146
 
147
- import { FunctionData, Simulator } from '@jt/low-code-core';
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';
@@ -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 '@jt/icons-vue';
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 '@jt/low-code-core';
97
+ } from '@cicctencent/low-code-core';
98
98
 
99
99
  interface NavTree extends NavTreeData {
100
100
  navKey: string;
@@ -38,7 +38,7 @@ import {
38
38
  watch,
39
39
  nextTick,
40
40
  } from 'vue';
41
- import { SchemaData } from '@jt/low-code-core';
41
+ import { SchemaData } from '@cicctencent/low-code-core';
42
42
  import { cloneDeep, isEqual } from '@jt/ark-util';
43
43
 
44
44
  const props = withDefaults(
@@ -70,7 +70,7 @@
70
70
 
71
71
  <script lang="ts" setup>
72
72
  // @ts-nocheck
73
- import { Close } from '@jt/icons-vue';
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 '@jt/low-code-core';
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 '@jt/icons-vue';
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 '@jt/icons-vue';
10
+ import { Search } from '@cicctencent/icons-vue';
11
11
  import List from './components/List.vue';
12
- import { ComponentTreeData, LowCodeKey } from '@jt/low-code-core';
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 '@jt/low-code-core';
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
@@ -19,7 +19,7 @@ import {
19
19
  ConfirmMessageBoxData,
20
20
  EditDialogRenderData,
21
21
  SendReq,
22
- } from '@jt/low-code-core';
22
+ } from '@cicctencent/low-code-core';
23
23
  import { VueForm } from '@jt/formily';
24
24
  import { isEqual, toPlainObject } from '@jt/ark-util';
25
25
 
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 '@jt/low-code-core';
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 '@jt/icons-vue';
87
- import { DataSource } from '@jt/low-code-core';
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,
@@ -38,7 +38,7 @@ import {
38
38
  defineProps,
39
39
  defineEmits,
40
40
  } from 'vue';
41
- import { Search, CircleClose } from '@jt/icons-vue';
41
+ import { Search, CircleClose } from '@cicctencent/icons-vue';
42
42
 
43
43
  const props = withDefaults(
44
44
  defineProps<{
@@ -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 '@jt/icons-vue';
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 '@jt/low-code-core';
3
+ import { ProjectMetaNavMenu } from '@cicctencent/low-code-core';
4
4
  interface IMenuForm extends Omit<ProjectMetaNavMenu, 'children'> {
5
5
  content: 'pageId' | 'url';
6
6
  }
@@ -62,7 +62,7 @@
62
62
 
63
63
  <script lang="ts" setup>
64
64
  // @ts-nocheck
65
- import { Close } from '@jt/icons-vue';
65
+ import { Close } from '@cicctencent/icons-vue';
66
66
  import { ref, watch, withDefaults, defineProps } from 'vue';
67
67
  const props = withDefaults(
68
68
  defineProps<{