@vtj/designer 0.18.27 → 0.18.29

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/designer",
3
3
  "private": false,
4
- "version": "0.18.27",
4
+ "version": "0.18.29",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -29,12 +29,12 @@
29
29
  "marked": "~17.0.1",
30
30
  "mockjs": "~1.1.0",
31
31
  "monaco-editor": "~0.55.0",
32
- "@vtj/renderer": "~0.18.27",
33
- "@vtj/icons": "~0.18.27",
34
- "@vtj/core": "~0.18.27",
35
- "@vtj/ui": "~0.18.27",
36
- "@vtj/uni": "~0.18.27",
37
- "@vtj/utils": "~0.18.27"
32
+ "@vtj/core": "~0.18.29",
33
+ "@vtj/icons": "~0.18.29",
34
+ "@vtj/ui": "~0.18.29",
35
+ "@vtj/renderer": "~0.18.29",
36
+ "@vtj/uni": "~0.18.29",
37
+ "@vtj/utils": "~0.18.29"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/mockjs": "~1.0.10",
@@ -116,8 +116,7 @@ declare function __VLS_template(): {
116
116
  beforeMount?: (() => void) | (() => void)[];
117
117
  mounted?: (() => void) | (() => void)[];
118
118
  beforeUpdate?: (() => void) | (() => void)[];
119
- updated
120
- /** @type { [typeof Tabs, typeof Tabs, ] } */ ? /** @type { [typeof Tabs, typeof Tabs, ] } */: (() => void) | (() => void)[];
119
+ updated?: (() => void) | (() => void)[];
121
120
  activated?: (() => void) | (() => void)[];
122
121
  deactivated?: (() => void) | (() => void)[];
123
122
  beforeDestroy?: (() => void) | (() => void)[];
@@ -434,8 +433,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
434
433
  beforeMount?: (() => void) | (() => void)[];
435
434
  mounted?: (() => void) | (() => void)[];
436
435
  beforeUpdate?: (() => void) | (() => void)[];
437
- updated
438
- /** @type { [typeof Tabs, typeof Tabs, ] } */ ? /** @type { [typeof Tabs, typeof Tabs, ] } */: (() => void) | (() => void)[];
436
+ updated?: (() => void) | (() => void)[];
439
437
  activated?: (() => void) | (() => void)[];
440
438
  deactivated?: (() => void) | (() => void)[];
441
439
  beforeDestroy?: (() => void) | (() => void)[];
@@ -169,7 +169,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
169
169
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
170
170
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
171
171
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
172
- }>, "type" | "ref" | "clear" | "modelValue" | "disabled" | "tabindex" | "input" | "select" | "textarea" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "focus" | "blur" | "resizeTextarea"> & {
172
+ }>, "type" | "clear" | "ref" | "modelValue" | "disabled" | "tabindex" | "input" | "select" | "textarea" | "modelModifiers" | "autosize" | "autocomplete" | "clearIcon" | "wordLimitPosition" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "focus" | "blur" | "resizeTextarea"> & {
173
173
  input: HTMLInputElement | undefined;
174
174
  textarea: HTMLTextAreaElement | undefined;
175
175
  ref: HTMLInputElement | HTMLTextAreaElement | undefined;
@@ -57,9 +57,9 @@ declare function __VLS_template(): {
57
57
  readonly props?: Record<string, any> | undefined;
58
58
  readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
59
59
  readonly width?: string | number | undefined;
60
- readonly label?: string | undefined;
61
60
  readonly error?: string | undefined;
62
61
  readonly size?: BaseSize | undefined;
62
+ readonly label?: string | undefined;
63
63
  readonly disabled?: boolean | undefined;
64
64
  readonly placeholder?: string | null | undefined;
65
65
  readonly readonly?: boolean | undefined;
@@ -469,9 +469,9 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
469
469
  readonly props?: Record<string, any> | undefined;
470
470
  readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
471
471
  readonly width?: string | number | undefined;
472
- readonly label?: string | undefined;
473
472
  readonly error?: string | undefined;
474
473
  readonly size?: BaseSize | undefined;
474
+ readonly label?: string | undefined;
475
475
  readonly disabled?: boolean | undefined;
476
476
  readonly placeholder?: string | null | undefined;
477
477
  readonly readonly?: boolean | undefined;
@@ -16,6 +16,7 @@ export declare class Renderer {
16
16
  private nodeChange;
17
17
  private blockChange;
18
18
  context: Context | null;
19
+ private loader;
19
20
  private file?;
20
21
  constructor(env: SimulatorEnv, service: Service, provider: Provider, report: Report, project?: ProjectModel | null, designer?: Designer | null);
21
22
  private install;
package/types/utils.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { JSExpression, JSFunction } from '@vtj/core';
1
+ import { JSExpression, JSFunction, BlockComposable } from '@vtj/core';
2
2
  import { LoadingOptions, MessageBoxData, NotificationHandle, LoadingParentElement, MessageHandler } from 'element-plus';
3
3
  import { VNode, ComponentPublicInstance, ComponentOptionsBase, ComponentProvideOptions, Ref, RendererNode, RendererElement } from 'vue';
4
+ export declare function getComposableNames(composables?: BlockComposable[]): string[];
4
5
  export declare function alert(message: string, options?: any): Promise< MessageBoxData>;
5
6
  export declare function notify(message: string, title?: string): NotificationHandle;
6
7
  export declare function loading(options?: LoadingOptions): {
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/designer
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.18.26
5
+ * @version 0.18.28
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.18.26";
8
+ export declare const version = "0.18.28";
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./index-BtJsaFJm.js";
2
- export {
3
- f as default
4
- };