@vtj/designer 0.10.5 → 0.10.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 (59) hide show
  1. package/dist/index.mjs +4 -4
  2. package/package.json +7 -7
  3. package/types/components/binders/event.d.ts +2 -46
  4. package/types/components/binders/variable.d.ts +2 -46
  5. package/types/components/editor/Editor.d.ts +1 -3
  6. package/types/components/editor/index.d.ts +1 -3
  7. package/types/components/regions/actions.d.ts +2 -33
  8. package/types/components/regions/apps.d.ts +2 -33
  9. package/types/components/regions/brand.d.ts +2 -33
  10. package/types/components/regions/empty.d.ts +1 -1
  11. package/types/components/regions/index.d.ts +11 -259
  12. package/types/components/regions/preview.d.ts +2 -33
  13. package/types/components/regions/settings.d.ts +2 -33
  14. package/types/components/regions/status.d.ts +2 -33
  15. package/types/components/regions/toolbar.d.ts +2 -33
  16. package/types/components/regions/workspace.d.ts +2 -33
  17. package/types/components/setters/css.d.ts +2 -46
  18. package/types/components/setters/file.d.ts +1 -1
  19. package/types/components/setters/function.d.ts +2 -46
  20. package/types/components/setters/icon.d.ts +1 -1
  21. package/types/components/setters/index.d.ts +10 -140
  22. package/types/components/setters/json.d.ts +2 -46
  23. package/types/components/setters/section.d.ts +1 -1
  24. package/types/components/setters/slider.d.ts +1 -1
  25. package/types/components/setters/tag.d.ts +1 -1
  26. package/types/components/setters/vanIcon/index.d.ts +1 -1
  27. package/types/components/shared/binder.d.ts +70 -742
  28. package/types/components/shared/box.d.ts +45 -13
  29. package/types/components/shared/item.d.ts +143 -13
  30. package/types/components/shared/panel.d.ts +72 -15
  31. package/types/components/shared/tabs.d.ts +37 -13
  32. package/types/components/shared/viewer.d.ts +2 -766
  33. package/types/components/shared/viewport.d.ts +29 -13
  34. package/types/components/skeleton.d.ts +2 -180
  35. package/types/components/widgets/about/index.d.ts +1 -1
  36. package/types/components/widgets/actions/coder.d.ts +1 -1
  37. package/types/components/widgets/actions/index.d.ts +1 -1
  38. package/types/components/widgets/apis/base-info.d.ts +1 -1
  39. package/types/components/widgets/apis/form.d.ts +2 -1520
  40. package/types/components/widgets/apis/jsonp-options.d.ts +1 -1
  41. package/types/components/widgets/apis/mock-template.d.ts +1 -1
  42. package/types/components/widgets/apis/request-settings.d.ts +1 -1
  43. package/types/components/widgets/css/index.d.ts +2 -46
  44. package/types/components/widgets/designer/actions.d.ts +1 -1
  45. package/types/components/widgets/designer/index.d.ts +1 -4
  46. package/types/components/widgets/docs/index.d.ts +2 -101
  47. package/types/components/widgets/empty/index.d.ts +1 -1
  48. package/types/components/widgets/index.d.ts +11 -342
  49. package/types/components/widgets/market/index.d.ts +2 -101
  50. package/types/components/widgets/previewer/index.d.ts +1 -4
  51. package/types/components/widgets/raw/index.d.ts +2 -46
  52. package/types/components/widgets/schema/index.d.ts +2 -46
  53. package/types/components/widgets/scripts/group.d.ts +51 -983
  54. package/types/components/widgets/scripts/lifeCycles.d.ts +2 -46
  55. package/types/components/widgets/style/JsonMode.d.ts +2 -46
  56. package/types/components/widgets/style/positioning.d.ts +1 -3
  57. package/types/components/widgets/style/spacing-input.d.ts +2 -255
  58. package/types/components/widgets/style/spacing.d.ts +1 -4
  59. package/types/version.d.ts +2 -2
package/dist/index.mjs CHANGED
@@ -16,10 +16,10 @@ import { PAGE_LIFE_CYCLES_LIST as po, APP_LIFE_CYCLE as mo, createUniAppComponen
16
16
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
17
17
  * @name @vtj/designer
18
18
  * @author CHC chenhuachun1549@dingtalk.com
19
- * @version 0.10.5
19
+ * @version 0.10.6
20
20
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
21
21
  */
22
- const kt = "0.10.5", hn = {
22
+ const kt = "0.10.6", hn = {
23
23
  width: 390,
24
24
  height: 844
25
25
  }, bn = {
@@ -158,7 +158,7 @@ function Eo(i, t, e, l, a, r) {
158
158
  ), d = V(
159
159
  () => Rt("selected", o.value?.selected.value)
160
160
  ), g = V(
161
- () => $o(o.value?.lines.value || [])
161
+ () => o.value?.outlineEnabled.value ? $o(o.value?.lines.value || []) : []
162
162
  );
163
163
  return J(s.changed, () => {
164
164
  o.value?.updateRect(), o.value?.updateLines();
@@ -4331,7 +4331,7 @@ const _r = { class: "v-icon-setter" }, wr = { class: "v-icon-setter__content" },
4331
4331
  key: 3,
4332
4332
  description: "请新建或打开文件"
4333
4333
  })),
4334
- n(A).length ? (c(), D("div", oi, [
4334
+ b.value && n(A).length ? (c(), D("div", oi, [
4335
4335
  (c(!0), D(z, null, U(n(A), (Y) => (c(), D("div", {
4336
4336
  style: lt(Y)
4337
4337
  }, null, 4))), 256))
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.10.5",
4
+ "version": "0.10.6",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "html2canvas": "~1.4.1",
8
8
  "mockjs": "~1.1.0",
9
9
  "monaco-editor": "~0.52.0",
10
- "@vtj/icons": "~0.10.5",
11
- "@vtj/core": "~0.10.5",
12
- "@vtj/renderer": "~0.10.5",
13
- "@vtj/uni": "~0.10.5",
14
- "@vtj/utils": "~0.10.5",
15
- "@vtj/ui": "~0.10.5"
10
+ "@vtj/core": "~0.10.6",
11
+ "@vtj/renderer": "~0.10.6",
12
+ "@vtj/icons": "~0.10.6",
13
+ "@vtj/uni": "~0.10.6",
14
+ "@vtj/ui": "~0.10.6",
15
+ "@vtj/utils": "~0.10.6"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/mockjs": "~1.0.10",
@@ -1,55 +1,11 @@
1
1
  import { Context } from '@vtj/renderer';
2
2
  import { BlockModel, NodeEvent } from '@vtj/core';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
4
- import { Props } from '../editor/Editor';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
4
  export interface Props {
6
5
  context: Context | null;
7
6
  current: BlockModel | null;
8
7
  name: string;
9
8
  event?: NodeEvent;
10
9
  }
11
- declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
12
- editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
13
- onBlur?: ((...args: any[]) => any) | undefined;
14
- onChange?: ((...args: any[]) => any) | undefined;
15
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
16
- }>, {
17
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
18
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
- blur: (...args: any[]) => void;
20
- change: (...args: any[]) => void;
21
- "update:modelValue": (...args: any[]) => void;
22
- }, PublicProps, {
23
- height: string;
24
- modelValue: string;
25
- dark: boolean;
26
- readonly: boolean;
27
- options: import("monaco-editor").editor.IEditorConstructionOptions;
28
- lang: string;
29
- minimap: boolean;
30
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
31
- container: HTMLDivElement;
32
- }, HTMLDivElement, ComponentProvideOptions, {
33
- P: {};
34
- B: {};
35
- D: {};
36
- C: {};
37
- M: {};
38
- Defaults: {};
39
- }, Readonly< Props> & Readonly<{
40
- onBlur?: ((...args: any[]) => any) | undefined;
41
- onChange?: ((...args: any[]) => any) | undefined;
42
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
- }>, {
44
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
45
- }, {}, {}, {}, {
46
- height: string;
47
- modelValue: string;
48
- dark: boolean;
49
- readonly: boolean;
50
- options: import("monaco-editor").editor.IEditorConstructionOptions;
51
- lang: string;
52
- minimap: boolean;
53
- }> | null;
54
- }, any>;
10
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
55
11
  export default _default;
@@ -1,54 +1,10 @@
1
1
  import { Context } from '@vtj/renderer';
2
2
  import { BlockModel } from '@vtj/core';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
4
- import { Props } from '../editor/Editor';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
4
  export interface Props {
6
5
  context: Context | null;
7
6
  current: BlockModel | null;
8
7
  value?: string;
9
8
  }
10
- declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
11
- editorRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{
12
- onBlur?: ((...args: any[]) => any) | undefined;
13
- onChange?: ((...args: any[]) => any) | undefined;
14
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
- }>, {
16
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
17
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
18
- blur: (...args: any[]) => void;
19
- change: (...args: any[]) => void;
20
- "update:modelValue": (...args: any[]) => void;
21
- }, PublicProps, {
22
- height: string;
23
- modelValue: string;
24
- dark: boolean;
25
- readonly: boolean;
26
- options: import("monaco-editor").editor.IEditorConstructionOptions;
27
- lang: string;
28
- minimap: boolean;
29
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
30
- container: HTMLDivElement;
31
- }, HTMLDivElement, ComponentProvideOptions, {
32
- P: {};
33
- B: {};
34
- D: {};
35
- C: {};
36
- M: {};
37
- Defaults: {};
38
- }, Readonly< Props> & Readonly<{
39
- onBlur?: ((...args: any[]) => any) | undefined;
40
- onChange?: ((...args: any[]) => any) | undefined;
41
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
42
- }>, {
43
- getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
44
- }, {}, {}, {}, {
45
- height: string;
46
- modelValue: string;
47
- dark: boolean;
48
- readonly: boolean;
49
- options: import("monaco-editor").editor.IEditorConstructionOptions;
50
- lang: string;
51
- minimap: boolean;
52
- }> | null;
53
- }, any>;
9
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
54
10
  export default _default;
@@ -28,7 +28,5 @@ declare const _default: DefineComponent<Props, {
28
28
  options: monacoEditor.IEditorConstructionOptions;
29
29
  lang: string;
30
30
  minimap: boolean;
31
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
32
- container: HTMLDivElement;
33
- }, HTMLDivElement>;
31
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
34
32
  export default _default;
@@ -18,7 +18,5 @@ declare const _default: DefineComponent<Props, {
18
18
  options: import("monaco-editor").editor.IEditorConstructionOptions;
19
19
  lang: string;
20
20
  minimap: boolean;
21
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
22
- container: HTMLDivElement;
23
- }, HTMLDivElement>;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
22
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,36 +7,5 @@ export interface Props {
7
7
  declare const _default: DefineComponent<Props, {
8
8
  widgets: ComputedRef< Widget[]>;
9
9
  widgetsRef: Ref<any, any>;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
11
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
12
- region: {
13
- type: PropType<RegionType>;
14
- required: true;
15
- };
16
- widget: {
17
- type: PropType<Widget>;
18
- required: true;
19
- };
20
- }>> & Readonly<{}>, {
21
- widgetRef: Ref<any, any>;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly< ExtractPropTypes<{
30
- region: {
31
- type: PropType<RegionType>;
32
- required: true;
33
- };
34
- widget: {
35
- type: PropType<Widget>;
36
- required: true;
37
- };
38
- }>> & Readonly<{}>, {
39
- widgetRef: Ref<any, any>;
40
- }, {}, {}, {}, {}> | null)[];
41
- }, any>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
11
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -11,36 +11,5 @@ declare const _default: DefineComponent<Props, {
11
11
  setActive: (name: string) => void;
12
12
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
13
13
  index: number;
14
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
15
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
16
- region: {
17
- type: PropType<RegionType>;
18
- required: true;
19
- };
20
- widget: {
21
- type: PropType<Widget>;
22
- required: true;
23
- };
24
- }>> & Readonly<{}>, {
25
- widgetRef: Ref<any, any>;
26
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
27
- P: {};
28
- B: {};
29
- D: {};
30
- C: {};
31
- M: {};
32
- Defaults: {};
33
- }, Readonly< ExtractPropTypes<{
34
- region: {
35
- type: PropType<RegionType>;
36
- required: true;
37
- };
38
- widget: {
39
- type: PropType<Widget>;
40
- required: true;
41
- };
42
- }>> & Readonly<{}>, {
43
- widgetRef: Ref<any, any>;
44
- }, {}, {}, {}, {}> | null)[];
45
- }, any>;
14
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
46
15
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { RegionType } from '../../framework';
2
- import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
2
+ import { DefineComponent, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  import { Widget } from '../..';
4
4
  export interface Props {
5
5
  region: RegionType;
@@ -7,36 +7,5 @@ export interface Props {
7
7
  declare const _default: DefineComponent<Props, {
8
8
  widgets: ComputedRef< Widget[]>;
9
9
  widgetsRef: Ref<any, any>;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
11
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
12
- region: {
13
- type: PropType<RegionType>;
14
- required: true;
15
- };
16
- widget: {
17
- type: PropType<Widget>;
18
- required: true;
19
- };
20
- }>> & Readonly<{}>, {
21
- widgetRef: Ref<any, any>;
22
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
23
- P: {};
24
- B: {};
25
- D: {};
26
- C: {};
27
- M: {};
28
- Defaults: {};
29
- }, Readonly< ExtractPropTypes<{
30
- region: {
31
- type: PropType<RegionType>;
32
- required: true;
33
- };
34
- widget: {
35
- type: PropType<Widget>;
36
- required: true;
37
- };
38
- }>> & Readonly<{}>, {
39
- widgetRef: Ref<any, any>;
40
- }, {}, {}, {}, {}> | null)[];
41
- }, any>;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
42
11
  export default _default;
@@ -2,5 +2,5 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
2
2
  export interface Props {
3
3
  region: string;
4
4
  }
5
- declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1,7 +1,7 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComputedRef, Ref, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComputedRef, Ref } from 'vue';
2
2
  import { Props } from './empty';
3
3
  import { Props } from './brand';
4
- import { Widget, RegionType } from '../..';
4
+ import { Widget } from '../..';
5
5
  import { Props } from './toolbar';
6
6
  import { Props } from './actions';
7
7
  import { Props } from './apps';
@@ -10,292 +10,44 @@ import { Props } from './settings';
10
10
  import { Props } from './status';
11
11
  import { Props } from './preview';
12
12
  export declare const regions: {
13
- EmptyRegion: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
13
+ EmptyRegion: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
14
  Brand: DefineComponent<Props, {
15
15
  widgets: ComputedRef< Widget[]>;
16
16
  widgetsRef: Ref<any, any>;
17
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
18
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
19
- region: {
20
- type: PropType<RegionType>;
21
- required: true;
22
- };
23
- widget: {
24
- type: PropType<Widget>;
25
- required: true;
26
- };
27
- }>> & Readonly<{}>, {
28
- widgetRef: Ref<any, any>;
29
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
30
- P: {};
31
- B: {};
32
- D: {};
33
- C: {};
34
- M: {};
35
- Defaults: {};
36
- }, Readonly< ExtractPropTypes<{
37
- region: {
38
- type: PropType<RegionType>;
39
- required: true;
40
- };
41
- widget: {
42
- type: PropType<Widget>;
43
- required: true;
44
- };
45
- }>> & Readonly<{}>, {
46
- widgetRef: Ref<any, any>;
47
- }, {}, {}, {}, {}> | null)[];
48
- }, any>;
17
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
49
18
  Toolbar: DefineComponent<Props, {
50
19
  widgets: ComputedRef< Widget[]>;
51
20
  widgetsRef: Ref<any, any>;
52
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
53
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
54
- region: {
55
- type: PropType<RegionType>;
56
- required: true;
57
- };
58
- widget: {
59
- type: PropType<Widget>;
60
- required: true;
61
- };
62
- }>> & Readonly<{}>, {
63
- widgetRef: Ref<any, any>;
64
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
65
- P: {};
66
- B: {};
67
- D: {};
68
- C: {};
69
- M: {};
70
- Defaults: {};
71
- }, Readonly< ExtractPropTypes<{
72
- region: {
73
- type: PropType<RegionType>;
74
- required: true;
75
- };
76
- widget: {
77
- type: PropType<Widget>;
78
- required: true;
79
- };
80
- }>> & Readonly<{}>, {
81
- widgetRef: Ref<any, any>;
82
- }, {}, {}, {}, {}> | null)[];
83
- }, HTMLDivElement>;
21
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
84
22
  Actions: DefineComponent<Props, {
85
23
  widgets: ComputedRef< Widget[]>;
86
24
  widgetsRef: Ref<any, any>;
87
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
88
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
89
- region: {
90
- type: PropType<RegionType>;
91
- required: true;
92
- };
93
- widget: {
94
- type: PropType<Widget>;
95
- required: true;
96
- };
97
- }>> & Readonly<{}>, {
98
- widgetRef: Ref<any, any>;
99
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
100
- P: {};
101
- B: {};
102
- D: {};
103
- C: {};
104
- M: {};
105
- Defaults: {};
106
- }, Readonly< ExtractPropTypes<{
107
- region: {
108
- type: PropType<RegionType>;
109
- required: true;
110
- };
111
- widget: {
112
- type: PropType<Widget>;
113
- required: true;
114
- };
115
- }>> & Readonly<{}>, {
116
- widgetRef: Ref<any, any>;
117
- }, {}, {}, {}, {}> | null)[];
118
- }, any>;
25
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
119
26
  Apps: DefineComponent<Props, {
120
27
  widgets: ComputedRef< Widget[]>;
121
28
  widgetsRef: Ref<any, any>;
122
29
  setActive: (name: string) => void;
123
30
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
124
31
  index: number;
125
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
126
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
127
- region: {
128
- type: PropType<RegionType>;
129
- required: true;
130
- };
131
- widget: {
132
- type: PropType<Widget>;
133
- required: true;
134
- };
135
- }>> & Readonly<{}>, {
136
- widgetRef: Ref<any, any>;
137
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
138
- P: {};
139
- B: {};
140
- D: {};
141
- C: {};
142
- M: {};
143
- Defaults: {};
144
- }, Readonly< ExtractPropTypes<{
145
- region: {
146
- type: PropType<RegionType>;
147
- required: true;
148
- };
149
- widget: {
150
- type: PropType<Widget>;
151
- required: true;
152
- };
153
- }>> & Readonly<{}>, {
154
- widgetRef: Ref<any, any>;
155
- }, {}, {}, {}, {}> | null)[];
156
- }, any>;
32
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
157
33
  Workspace: DefineComponent<Props, {
158
34
  currentTab: Ref<string, string>;
159
35
  widgets: ComputedRef< Widget[]>;
160
36
  widgetsRef: Ref<any, any>;
161
37
  openTab: (name: string, props?: Record<string, any>) => void;
162
38
  reload: () => void;
163
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
164
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
165
- region: {
166
- type: PropType<RegionType>;
167
- required: true;
168
- };
169
- widget: {
170
- type: PropType<Widget>;
171
- required: true;
172
- };
173
- }>> & Readonly<{}>, {
174
- widgetRef: Ref<any, any>;
175
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
176
- P: {};
177
- B: {};
178
- D: {};
179
- C: {};
180
- M: {};
181
- Defaults: {};
182
- }, Readonly< ExtractPropTypes<{
183
- region: {
184
- type: PropType<RegionType>;
185
- required: true;
186
- };
187
- widget: {
188
- type: PropType<Widget>;
189
- required: true;
190
- };
191
- }>> & Readonly<{}>, {
192
- widgetRef: Ref<any, any>;
193
- }, {}, {}, {}, {}> | null)[];
194
- }, any>;
39
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
195
40
  Settings: DefineComponent<Props, {
196
41
  widgets: ComputedRef< Widget[]>;
197
42
  widgetsRef: Ref<any, any>;
198
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
199
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
200
- region: {
201
- type: PropType<RegionType>;
202
- required: true;
203
- };
204
- widget: {
205
- type: PropType<Widget>;
206
- required: true;
207
- };
208
- }>> & Readonly<{}>, {
209
- widgetRef: Ref<any, any>;
210
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
211
- P: {};
212
- B: {};
213
- D: {};
214
- C: {};
215
- M: {};
216
- Defaults: {};
217
- }, Readonly< ExtractPropTypes<{
218
- region: {
219
- type: PropType<RegionType>;
220
- required: true;
221
- };
222
- widget: {
223
- type: PropType<Widget>;
224
- required: true;
225
- };
226
- }>> & Readonly<{}>, {
227
- widgetRef: Ref<any, any>;
228
- }, {}, {}, {}, {}> | null)[];
229
- }, any>;
43
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
230
44
  Status: DefineComponent<Props, {
231
45
  widgets: ComputedRef< Widget[]>;
232
46
  widgetsRef: Ref<any, any>;
233
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
234
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
235
- region: {
236
- type: PropType<RegionType>;
237
- required: true;
238
- };
239
- widget: {
240
- type: PropType<Widget>;
241
- required: true;
242
- };
243
- }>> & Readonly<{}>, {
244
- widgetRef: Ref<any, any>;
245
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
246
- P: {};
247
- B: {};
248
- D: {};
249
- C: {};
250
- M: {};
251
- Defaults: {};
252
- }, Readonly< ExtractPropTypes<{
253
- region: {
254
- type: PropType<RegionType>;
255
- required: true;
256
- };
257
- widget: {
258
- type: PropType<Widget>;
259
- required: true;
260
- };
261
- }>> & Readonly<{}>, {
262
- widgetRef: Ref<any, any>;
263
- }, {}, {}, {}, {}> | null)[];
264
- }, any>;
47
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
265
48
  Preview: DefineComponent<Props, {
266
49
  currentTab: Ref<string, string>;
267
50
  widgets: ComputedRef< Widget[]>;
268
51
  widgetsRef: Ref<any, any>;
269
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
270
- widgetsRef: ( CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
271
- region: {
272
- type: PropType<RegionType>;
273
- required: true;
274
- };
275
- widget: {
276
- type: PropType<Widget>;
277
- required: true;
278
- };
279
- }>> & Readonly<{}>, {
280
- widgetRef: Ref<any, any>;
281
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
282
- P: {};
283
- B: {};
284
- D: {};
285
- C: {};
286
- M: {};
287
- Defaults: {};
288
- }, Readonly< ExtractPropTypes<{
289
- region: {
290
- type: PropType<RegionType>;
291
- required: true;
292
- };
293
- widget: {
294
- type: PropType<Widget>;
295
- required: true;
296
- };
297
- }>> & Readonly<{}>, {
298
- widgetRef: Ref<any, any>;
299
- }, {}, {}, {}, {}> | null)[];
300
- }, any>;
52
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
301
53
  };