@vtj/designer 0.11.16 → 0.12.0-alpha.1

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 (39) hide show
  1. package/dist/Editor-COl9ea8e.js +4 -0
  2. package/dist/index-BHWx6qNv.js +17489 -0
  3. package/dist/index.mjs +69 -13063
  4. package/dist/style.css +1 -1
  5. package/package.json +10 -8
  6. package/types/components/hooks/index.d.ts +1 -0
  7. package/types/components/hooks/useAI.d.ts +171 -0
  8. package/types/components/hooks/useOpenApi.d.ts +15 -25
  9. package/types/components/hooks/useTemplates.d.ts +1 -1
  10. package/types/components/regions/apps.d.ts +32 -3
  11. package/types/components/regions/index.d.ts +30 -1
  12. package/types/components/shared/binder.d.ts +10 -10
  13. package/types/components/shared/item.d.ts +2 -0
  14. package/types/components/shared/panel.d.ts +1129 -5
  15. package/types/components/widgets/ai/avatar.d.ts +3 -0
  16. package/types/components/widgets/ai/bubble.d.ts +22 -0
  17. package/types/components/widgets/ai/chat-input.d.ts +27 -0
  18. package/types/components/widgets/ai/detail.d.ts +98 -0
  19. package/types/components/widgets/ai/index.d.ts +671 -0
  20. package/types/components/widgets/ai/invite-tip.d.ts +8 -0
  21. package/types/components/widgets/ai/login-tip.d.ts +3 -0
  22. package/types/components/widgets/ai/new-topic.d.ts +17 -0
  23. package/types/components/widgets/ai/no-file-tip.d.ts +3 -0
  24. package/types/components/widgets/ai/pay-tip.d.ts +11 -0
  25. package/types/components/widgets/ai/records.d.ts +18 -0
  26. package/types/components/widgets/ai/stream-markdown.d.ts +13 -0
  27. package/types/components/widgets/apis/form.d.ts +8 -8
  28. package/types/components/widgets/docs/index.d.ts +574 -5
  29. package/types/components/widgets/index.d.ts +1811 -7
  30. package/types/components/widgets/market/index.d.ts +574 -5
  31. package/types/framework/engine.d.ts +50 -1
  32. package/types/framework/index.d.ts +1 -0
  33. package/types/framework/openapi.d.ts +114 -0
  34. package/types/framework/report.d.ts +1 -1
  35. package/types/framework/types.d.ts +4 -0
  36. package/types/managers/widget.d.ts +11 -0
  37. package/types/utils.d.ts +2 -2
  38. package/types/version.d.ts +2 -2
  39. package/dist/Editor-7SLplEph.js +0 -67
@@ -28,7 +28,7 @@ declare function __VLS_template(): {
28
28
  $props: Partial<{
29
29
  footer: boolean;
30
30
  inline: boolean;
31
- footerAlign: "center" | "left" | "right";
31
+ footerAlign: "left" | "right" | "center";
32
32
  tooltipMessage: boolean | Partial< ElTooltipProps>;
33
33
  model: Record<string, any>;
34
34
  submitText: string | null;
@@ -50,7 +50,7 @@ declare function __VLS_template(): {
50
50
  readonly onReset?: (() => any) | undefined | undefined;
51
51
  readonly onSubmit?: ((model: Record<string, any>) => any) | undefined | undefined;
52
52
  readonly onChange?: ((model: Record<string, any>) => any) | undefined | undefined;
53
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign">;
53
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "model" | "footer" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign">;
54
54
  $attrs: {
55
55
  [x: string]: unknown;
56
56
  };
@@ -310,7 +310,7 @@ declare function __VLS_template(): {
310
310
  }, string, {
311
311
  footer: boolean;
312
312
  inline: boolean;
313
- footerAlign: "center" | "left" | "right";
313
+ footerAlign: "left" | "right" | "center";
314
314
  tooltipMessage: boolean | Partial< ElTooltipProps>;
315
315
  model: Record<string, any>;
316
316
  submitText: string | null;
@@ -340,7 +340,7 @@ declare function __VLS_template(): {
340
340
  } & Readonly<{
341
341
  footer: boolean;
342
342
  inline: boolean;
343
- footerAlign: "center" | "left" | "right";
343
+ footerAlign: "left" | "right" | "center";
344
344
  tooltipMessage: boolean | Partial< ElTooltipProps>;
345
345
  model: Record<string, any>;
346
346
  submitText: string | null;
@@ -393,7 +393,7 @@ declare function __VLS_template(): {
393
393
  onReset?: (() => any) | undefined;
394
394
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
395
395
  onChange?: ((model: Record<string, any>) => any) | undefined;
396
- }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
396
+ }>, "model" | "footer" | "reset" | "submit" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
397
397
  formRef: Ref<any, any>;
398
398
  model: FormModel;
399
399
  submit: () => Promise<void>;
@@ -432,7 +432,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
432
432
  $props: Partial<{
433
433
  footer: boolean;
434
434
  inline: boolean;
435
- footerAlign: "center" | "left" | "right";
435
+ footerAlign: "left" | "right" | "center";
436
436
  tooltipMessage: boolean | Partial< ElTooltipProps>;
437
437
  model: Record<string, any>;
438
438
  submitText: string | null;
@@ -454,7 +454,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
454
454
  readonly onReset?: (() => any) | undefined | undefined;
455
455
  readonly onSubmit?: ((model: Record<string, any>) => any) | undefined | undefined;
456
456
  readonly onChange?: ((model: Record<string, any>) => any) | undefined | undefined;
457
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "model" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign">;
457
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "model" | "footer" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign">;
458
458
  $attrs: {
459
459
  [x: string]: unknown;
460
460
  };
@@ -714,7 +714,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
714
714
  }, string, {
715
715
  footer: boolean;
716
716
  inline: boolean;
717
- footerAlign: "center" | "left" | "right";
717
+ footerAlign: "left" | "right" | "center";
718
718
  tooltipMessage: boolean | Partial< ElTooltipProps>;
719
719
  model: Record<string, any>;
720
720
  submitText: string | null;
@@ -744,7 +744,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
744
744
  } & Readonly<{
745
745
  footer: boolean;
746
746
  inline: boolean;
747
- footerAlign: "center" | "left" | "right";
747
+ footerAlign: "left" | "right" | "center";
748
748
  tooltipMessage: boolean | Partial< ElTooltipProps>;
749
749
  model: Record<string, any>;
750
750
  submitText: string | null;
@@ -797,7 +797,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
797
797
  onReset?: (() => any) | undefined;
798
798
  onSubmit?: ((model: Record<string, any>) => any) | undefined;
799
799
  onChange?: ((model: Record<string, any>) => any) | undefined;
800
- }>, "footer" | "reset" | "submit" | "model" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
800
+ }>, "model" | "footer" | "reset" | "submit" | "formRef" | "tooltipMessage" | "inline" | "submitText" | "resetText" | "enterSubmit" | "sticky" | "footerAlign" | "validate" | "clearValidate"> & ShallowUnwrapRef<{
801
801
  formRef: Ref<any, any>;
802
802
  model: FormModel;
803
803
  submit: () => Promise<void>;
@@ -64,6 +64,7 @@ export interface Props {
64
64
  small?: boolean;
65
65
  actionInMore?: boolean;
66
66
  textTags?: string[];
67
+ nowrap?: boolean;
67
68
  }
68
69
  declare function __VLS_template(): {
69
70
  attrs: Partial<{}>;
@@ -87,6 +88,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
87
88
  onAction?: ((...args: any[]) => any) | undefined;
88
89
  }>, {
89
90
  actions: Array<keyof typeof builtInActions>;
91
+ nowrap: boolean;
90
92
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
91
93
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
92
94
  export default _default;