@vtj/designer 0.18.27 → 0.19.0

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 (74) hide show
  1. package/dist/Editor-aD1U5H8b.js +4 -0
  2. package/dist/{index-BtJsaFJm.js → index-De2f2yWt.js} +12295 -10599
  3. package/dist/index.mjs +29 -28
  4. package/dist/style.css +1 -1
  5. package/package.json +8 -8
  6. package/types/components/hooks/index.d.ts +0 -2
  7. package/types/components/hooks/useOpenApi.d.ts +2 -0
  8. package/types/components/shared/binder.d.ts +4 -6
  9. package/types/components/widgets/agent/architect-plan.d.ts +23 -0
  10. package/types/components/widgets/agent/composables/useAgentApi.d.ts +37 -0
  11. package/types/components/widgets/agent/composables/useArchitectPlan.d.ts +7 -0
  12. package/types/components/widgets/agent/composables/useAuth.d.ts +7 -0
  13. package/types/components/widgets/agent/composables/useAutoScroll.d.ts +13 -0
  14. package/types/components/widgets/agent/composables/useDualAgent.d.ts +15 -0
  15. package/types/components/widgets/agent/composables/useEditorStep.d.ts +4 -0
  16. package/types/components/widgets/agent/composables/useFileRecognition.d.ts +46 -0
  17. package/types/components/widgets/agent/composables/useReplayChat.d.ts +5 -0
  18. package/types/components/widgets/agent/composables/useSSEStream.d.ts +7 -0
  19. package/types/components/widgets/agent/constants.d.ts +16 -0
  20. package/types/components/widgets/agent/conversation-round.d.ts +26 -0
  21. package/types/components/widgets/{ai → agent}/detail.d.ts +10 -9
  22. package/types/components/widgets/agent/editor-step.d.ts +22 -0
  23. package/types/components/widgets/agent/index.d.ts +21 -0
  24. package/types/components/widgets/{ai → agent}/invite-tip.d.ts +1 -1
  25. package/types/components/widgets/agent/message-input.d.ts +35 -0
  26. package/types/components/widgets/{ai → agent}/pay-tip.d.ts +4 -2
  27. package/types/components/widgets/agent/records.d.ts +18 -0
  28. package/types/components/widgets/{ai → agent}/stream-markdown.d.ts +2 -2
  29. package/types/components/widgets/agent/summary.d.ts +19 -0
  30. package/types/components/widgets/agent/types/agent.d.ts +346 -0
  31. package/types/components/widgets/agent/utils/approval.d.ts +10 -0
  32. package/types/components/widgets/agent/utils/breakpoint.d.ts +2 -0
  33. package/types/components/widgets/agent/utils/chat.d.ts +10 -0
  34. package/types/components/widgets/agent/utils/export.d.ts +4 -0
  35. package/types/components/widgets/agent/utils/filePrompt.d.ts +9 -0
  36. package/types/components/widgets/agent/utils/genId.d.ts +4 -0
  37. package/types/components/widgets/agent/utils/index.d.ts +6 -0
  38. package/types/components/widgets/agent/utils/json.d.ts +18 -0
  39. package/types/components/widgets/agent/utils/markdown.d.ts +1 -0
  40. package/types/components/widgets/agent/utils/messages.d.ts +185 -0
  41. package/types/components/widgets/agent/utils/outputParser.d.ts +24 -0
  42. package/types/components/widgets/agent/utils/plan.d.ts +7 -0
  43. package/types/components/widgets/agent/utils/request.d.ts +1 -0
  44. package/types/components/widgets/agent/utils/response.d.ts +25 -0
  45. package/types/components/widgets/agent/utils/resume.d.ts +7 -0
  46. package/types/components/widgets/agent/utils/summary.d.ts +2 -0
  47. package/types/components/widgets/agent/utils/toolExecutor.d.ts +23 -0
  48. package/types/components/widgets/apis/form.d.ts +2 -2
  49. package/types/components/widgets/apis/swagger.d.ts +1 -1
  50. package/types/components/widgets/devtools/index.d.ts +1 -1
  51. package/types/components/widgets/env/index.d.ts +1 -1
  52. package/types/components/widgets/i18n/index.d.ts +1 -1
  53. package/types/components/widgets/index.d.ts +20 -673
  54. package/types/components/widgets/scripts/group.d.ts +2 -2
  55. package/types/framework/ToolRegistry.d.ts +4 -0
  56. package/types/framework/engine.d.ts +2 -1
  57. package/types/framework/openapi.d.ts +4 -0
  58. package/types/framework/renderer.d.ts +1 -0
  59. package/types/framework/types.d.ts +2 -0
  60. package/types/utils.d.ts +2 -1
  61. package/types/version.d.ts +2 -2
  62. package/dist/Editor-BGOUCiNb.js +0 -4
  63. package/types/components/hooks/useAI.d.ts +0 -236
  64. package/types/components/hooks/useAgent.d.ts +0 -17
  65. package/types/components/widgets/ai/avatar.d.ts +0 -3
  66. package/types/components/widgets/ai/bubble.d.ts +0 -26
  67. package/types/components/widgets/ai/chat-input.d.ts +0 -29
  68. package/types/components/widgets/ai/image-input.d.ts +0 -155
  69. package/types/components/widgets/ai/index.d.ts +0 -677
  70. package/types/components/widgets/ai/json-input.d.ts +0 -342
  71. package/types/components/widgets/ai/new-topic.d.ts +0 -23
  72. package/types/components/widgets/ai/records.d.ts +0 -18
  73. /package/types/components/widgets/{ai → agent}/login-tip.d.ts +0 -0
  74. /package/types/components/widgets/{ai → agent}/model-dialog.d.ts +0 -0
@@ -13,7 +13,7 @@ import { Props } from './docs/index';
13
13
  import { ActionMenuItem, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, BaseSize, PanelBadge, IconParam, HeaderProps, ContainerProps, GridColumns, GridLoader, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions, DialogMode, DraggableOptions, ResizableOptions } from '@vtj/ui';
14
14
  import { Props } from '../shared/panel';
15
15
  import { Props } from './about/index';
16
- import { AISendData } from '../hooks';
16
+ import { Props } from './agent/pay-tip';
17
17
  import { Options } from 'sortablejs';
18
18
  import { VxeTableProps, VxeGridEventProps, VxeGridSlots, VxeTableDataRow, SlotVNodeType, VxeGridInstance, VxeTableConstructor, VxeGridConstructor } from 'vxe-table';
19
19
  import { MessageBoxData } from 'element-plus';
@@ -1655,676 +1655,23 @@ export declare const widgets: {
1655
1655
  refreshTemplates: () => void;
1656
1656
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1657
1657
  UserAvatar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1658
- AI: DefineComponent<{}, {
1659
- newChat: () => void;
1660
- postTopic: (data: AISendData) => Promise<any>;
1658
+ Agent: DefineComponent<{}, {
1659
+ newTask: () => void;
1660
+ start: () => Promise<void>;
1661
1661
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
1662
- panelRef: ({
1663
- $: ComponentInternalInstance;
1664
- $data: {};
1665
- $props: {
1666
- readonly title?: string | undefined;
1667
- readonly subtitle?: string | undefined;
1668
- readonly plus?: boolean | undefined;
1669
- readonly refresh?: boolean | undefined;
1670
- readonly back?: boolean | undefined;
1671
- readonly edit?: boolean | undefined;
1672
- readonly remove?: boolean | undefined;
1673
- readonly save?: boolean | undefined;
1674
- readonly header?: boolean | undefined;
1675
- readonly collapsable?: boolean | undefined;
1676
- readonly menus?: ActionMenuItem[] | undefined;
1677
- readonly onRefresh?: ((...args: any[]) => any) | undefined;
1678
- readonly onCommand?: ((...args: any[]) => any) | undefined;
1679
- readonly onPlus?: ((...args: any[]) => any) | undefined;
1680
- readonly onBack?: ((...args: any[]) => any) | undefined;
1681
- readonly onEdit?: ((...args: any[]) => any) | undefined;
1682
- readonly onRemove?: ((...args: any[]) => any) | undefined;
1683
- readonly onSave?: ((...args: any[]) => any) | undefined;
1684
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1685
- $attrs: Attrs;
1686
- $refs: {
1687
- [x: string]: unknown;
1688
- } & {
1689
- panelRef: ({
1690
- $: ComponentInternalInstance;
1691
- $data: {};
1692
- $props: Partial<{
1693
- radius: boolean;
1694
- fit: boolean;
1695
- border: boolean;
1696
- card: boolean;
1697
- }> & Omit<{
1698
- readonly radius: boolean;
1699
- readonly fit: boolean;
1700
- readonly border: boolean;
1701
- readonly card: boolean;
1702
- readonly height?: string | number | undefined;
1703
- readonly width?: string | number | undefined;
1704
- readonly body?: Readonly<Partial< ExtractPropTypes<{
1705
- tag: {
1706
- type: StringConstructor;
1707
- default: string;
1708
- };
1709
- fit: {
1710
- type: BooleanConstructor;
1711
- default: boolean;
1712
- };
1713
- width: {
1714
- type: (NumberConstructor | StringConstructor)[];
1715
- };
1716
- height: {
1717
- type: (NumberConstructor | StringConstructor)[];
1718
- };
1719
- flex: {
1720
- type: BooleanConstructor;
1721
- default: boolean;
1722
- };
1723
- inline: {
1724
- type: BooleanConstructor;
1725
- };
1726
- direction: {
1727
- type: PropType<ContainerDirection>;
1728
- default: string;
1729
- };
1730
- wrap: {
1731
- type: PropType<ContainerWrap>;
1732
- default: string;
1733
- };
1734
- justify: {
1735
- type: PropType<ContainerJustifyContent>;
1736
- default: string;
1737
- };
1738
- align: {
1739
- type: PropType<ContainerAlignItems>;
1740
- default: string;
1741
- };
1742
- alignContent: {
1743
- type: PropType<ContainerAlignContent>;
1744
- default: string;
1745
- };
1746
- grow: {
1747
- type: BooleanConstructor;
1748
- default: boolean;
1749
- };
1750
- shrink: {
1751
- type: BooleanConstructor;
1752
- default: boolean;
1753
- };
1754
- alignSelf: {
1755
- type: PropType<"auto" | ContainerAlignItems>;
1756
- default: string;
1757
- };
1758
- overflow: {
1759
- type: PropType<"auto" | "hidden" | "visible">;
1760
- };
1761
- padding: {
1762
- type: BooleanConstructor;
1763
- default: boolean;
1764
- };
1765
- gap: {
1766
- type: BooleanConstructor;
1767
- };
1768
- autoPointer: {
1769
- type: BooleanConstructor;
1770
- };
1771
- }>>> | undefined;
1772
- readonly size?: BaseSize | undefined;
1773
- readonly badge?: PanelBadge | undefined;
1774
- readonly footer?: Readonly<Partial< ExtractPropTypes<{
1775
- tag: {
1776
- type: StringConstructor;
1777
- default: string;
1778
- };
1779
- fit: {
1780
- type: BooleanConstructor;
1781
- default: boolean;
1782
- };
1783
- width: {
1784
- type: (NumberConstructor | StringConstructor)[];
1785
- };
1786
- height: {
1787
- type: (NumberConstructor | StringConstructor)[];
1788
- };
1789
- flex: {
1790
- type: BooleanConstructor;
1791
- default: boolean;
1792
- };
1793
- inline: {
1794
- type: BooleanConstructor;
1795
- };
1796
- direction: {
1797
- type: PropType<ContainerDirection>;
1798
- default: string;
1799
- };
1800
- wrap: {
1801
- type: PropType<ContainerWrap>;
1802
- default: string;
1803
- };
1804
- justify: {
1805
- type: PropType<ContainerJustifyContent>;
1806
- default: string;
1807
- };
1808
- align: {
1809
- type: PropType<ContainerAlignItems>;
1810
- default: string;
1811
- };
1812
- alignContent: {
1813
- type: PropType<ContainerAlignContent>;
1814
- default: string;
1815
- };
1816
- grow: {
1817
- type: BooleanConstructor;
1818
- default: boolean;
1819
- };
1820
- shrink: {
1821
- type: BooleanConstructor;
1822
- default: boolean;
1823
- };
1824
- alignSelf: {
1825
- type: PropType<"auto" | ContainerAlignItems>;
1826
- default: string;
1827
- };
1828
- overflow: {
1829
- type: PropType<"auto" | "hidden" | "visible">;
1830
- };
1831
- padding: {
1832
- type: BooleanConstructor;
1833
- default: boolean;
1834
- };
1835
- gap: {
1836
- type: BooleanConstructor;
1837
- };
1838
- autoPointer: {
1839
- type: BooleanConstructor;
1840
- };
1841
- }>>> | undefined;
1842
- readonly header?: string | Readonly<Partial< ExtractPropTypes<{
1843
- size: {
1844
- type: PropType<BaseSize>;
1845
- default: string;
1846
- };
1847
- content: {
1848
- type: StringConstructor;
1849
- default: string;
1850
- };
1851
- subtitle: {
1852
- type: StringConstructor;
1853
- };
1854
- icon: {
1855
- type: PropType<IconParam>;
1856
- };
1857
- border: {
1858
- type: BooleanConstructor;
1859
- };
1860
- more: {
1861
- type: BooleanConstructor;
1862
- };
1863
- }>>> | null | undefined;
1864
- readonly shadow?: "hover" | "none" | "always" | undefined;
1865
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
1866
- $attrs: Attrs;
1867
- $refs: {
1868
- [x: string]: unknown;
1869
- } & {
1870
- bodyRef: ({
1871
- $: ComponentInternalInstance;
1872
- $data: {};
1873
- $props: Partial<{
1874
- padding: boolean;
1875
- tag: string;
1876
- wrap: ContainerWrap;
1877
- fit: boolean;
1878
- flex: boolean;
1879
- inline: boolean;
1880
- direction: ContainerDirection;
1881
- justify: ContainerJustifyContent;
1882
- align: ContainerAlignItems;
1883
- alignContent: ContainerAlignContent;
1884
- grow: boolean;
1885
- shrink: boolean;
1886
- alignSelf: "auto" | ContainerAlignItems;
1887
- gap: boolean;
1888
- autoPointer: boolean;
1889
- }> & Omit<{
1890
- readonly padding: boolean;
1891
- readonly tag: string;
1892
- readonly wrap: ContainerWrap;
1893
- readonly fit: boolean;
1894
- readonly flex: boolean;
1895
- readonly inline: boolean;
1896
- readonly direction: ContainerDirection;
1897
- readonly justify: ContainerJustifyContent;
1898
- readonly align: ContainerAlignItems;
1899
- readonly alignContent: ContainerAlignContent;
1900
- readonly grow: boolean;
1901
- readonly shrink: boolean;
1902
- readonly alignSelf: "auto" | ContainerAlignItems;
1903
- readonly gap: boolean;
1904
- readonly autoPointer: boolean;
1905
- readonly width?: string | number | undefined;
1906
- readonly height?: string | number | undefined;
1907
- readonly overflow?: "hidden" | "auto" | "visible" | undefined;
1908
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
1909
- $attrs: Attrs;
1910
- $refs: {
1911
- [x: string]: unknown;
1912
- } & {
1913
- elRef: unknown;
1914
- };
1915
- $slots: Readonly<{
1916
- [name: string]: Slot<any> | undefined;
1917
- }>;
1918
- $root: ComponentPublicInstance | null;
1919
- $parent: ComponentPublicInstance | null;
1920
- $host: Element | null;
1921
- $emit: (event: string, ...args: any[]) => void;
1922
- $el: any;
1923
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1924
- tag: {
1925
- type: StringConstructor;
1926
- default: string;
1927
- };
1928
- fit: {
1929
- type: BooleanConstructor;
1930
- default: boolean;
1931
- };
1932
- width: {
1933
- type: (NumberConstructor | StringConstructor)[];
1934
- };
1935
- height: {
1936
- type: (NumberConstructor | StringConstructor)[];
1937
- };
1938
- flex: {
1939
- type: BooleanConstructor;
1940
- default: boolean;
1941
- };
1942
- inline: {
1943
- type: BooleanConstructor;
1944
- };
1945
- direction: {
1946
- type: PropType<ContainerDirection>;
1947
- default: string;
1948
- };
1949
- wrap: {
1950
- type: PropType<ContainerWrap>;
1951
- default: string;
1952
- };
1953
- justify: {
1954
- type: PropType<ContainerJustifyContent>;
1955
- default: string;
1956
- };
1957
- align: {
1958
- type: PropType<ContainerAlignItems>;
1959
- default: string;
1960
- };
1961
- alignContent: {
1962
- type: PropType<ContainerAlignContent>;
1963
- default: string;
1964
- };
1965
- grow: {
1966
- type: BooleanConstructor;
1967
- default: boolean;
1968
- };
1969
- shrink: {
1970
- type: BooleanConstructor;
1971
- default: boolean;
1972
- };
1973
- alignSelf: {
1974
- type: PropType<"auto" | ContainerAlignItems>;
1975
- default: string;
1976
- };
1977
- overflow: {
1978
- type: PropType<"auto" | "hidden" | "visible">;
1979
- };
1980
- padding: {
1981
- type: BooleanConstructor;
1982
- default: boolean;
1983
- };
1984
- gap: {
1985
- type: BooleanConstructor;
1986
- };
1987
- autoPointer: {
1988
- type: BooleanConstructor;
1989
- };
1990
- }>> & Readonly<{}>, {
1991
- $vtjEl: ComputedRef<any>;
1992
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1993
- padding: boolean;
1994
- tag: string;
1995
- wrap: ContainerWrap;
1996
- fit: boolean;
1997
- flex: boolean;
1998
- inline: boolean;
1999
- direction: ContainerDirection;
2000
- justify: ContainerJustifyContent;
2001
- align: ContainerAlignItems;
2002
- alignContent: ContainerAlignContent;
2003
- grow: boolean;
2004
- shrink: boolean;
2005
- alignSelf: "auto" | ContainerAlignItems;
2006
- gap: boolean;
2007
- autoPointer: boolean;
2008
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
2009
- beforeCreate?: (() => void) | (() => void)[];
2010
- created?: (() => void) | (() => void)[];
2011
- beforeMount?: (() => void) | (() => void)[];
2012
- mounted?: (() => void) | (() => void)[];
2013
- beforeUpdate?: (() => void) | (() => void)[];
2014
- updated?: (() => void) | (() => void)[];
2015
- activated?: (() => void) | (() => void)[];
2016
- deactivated?: (() => void) | (() => void)[];
2017
- beforeDestroy?: (() => void) | (() => void)[];
2018
- beforeUnmount?: (() => void) | (() => void)[];
2019
- destroyed?: (() => void) | (() => void)[];
2020
- unmounted?: (() => void) | (() => void)[];
2021
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2022
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2023
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
2024
- };
2025
- $forceUpdate: () => void;
2026
- $nextTick: nextTick;
2027
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
2028
- } & Readonly<{
2029
- padding: boolean;
2030
- tag: string;
2031
- wrap: ContainerWrap;
2032
- fit: boolean;
2033
- flex: boolean;
2034
- inline: boolean;
2035
- direction: ContainerDirection;
2036
- justify: ContainerJustifyContent;
2037
- align: ContainerAlignItems;
2038
- alignContent: ContainerAlignContent;
2039
- grow: boolean;
2040
- shrink: boolean;
2041
- alignSelf: "auto" | ContainerAlignItems;
2042
- gap: boolean;
2043
- autoPointer: boolean;
2044
- }> & Omit<Readonly< ExtractPropTypes<{
2045
- tag: {
2046
- type: StringConstructor;
2047
- default: string;
2048
- };
2049
- fit: {
2050
- type: BooleanConstructor;
2051
- default: boolean;
2052
- };
2053
- width: {
2054
- type: (NumberConstructor | StringConstructor)[];
2055
- };
2056
- height: {
2057
- type: (NumberConstructor | StringConstructor)[];
2058
- };
2059
- flex: {
2060
- type: BooleanConstructor;
2061
- default: boolean;
2062
- };
2063
- inline: {
2064
- type: BooleanConstructor;
2065
- };
2066
- direction: {
2067
- type: PropType<ContainerDirection>;
2068
- default: string;
2069
- };
2070
- wrap: {
2071
- type: PropType<ContainerWrap>;
2072
- default: string;
2073
- };
2074
- justify: {
2075
- type: PropType<ContainerJustifyContent>;
2076
- default: string;
2077
- };
2078
- align: {
2079
- type: PropType<ContainerAlignItems>;
2080
- default: string;
2081
- };
2082
- alignContent: {
2083
- type: PropType<ContainerAlignContent>;
2084
- default: string;
2085
- };
2086
- grow: {
2087
- type: BooleanConstructor;
2088
- default: boolean;
2089
- };
2090
- shrink: {
2091
- type: BooleanConstructor;
2092
- default: boolean;
2093
- };
2094
- alignSelf: {
2095
- type: PropType<"auto" | ContainerAlignItems>;
2096
- default: string;
2097
- };
2098
- overflow: {
2099
- type: PropType<"auto" | "hidden" | "visible">;
2100
- };
2101
- padding: {
2102
- type: BooleanConstructor;
2103
- default: boolean;
2104
- };
2105
- gap: {
2106
- type: BooleanConstructor;
2107
- };
2108
- autoPointer: {
2109
- type: BooleanConstructor;
2110
- };
2111
- }>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
2112
- $vtjEl: any;
2113
- } & {} & ComponentCustomProperties & {} & {
2114
- $slots: {
2115
- default?(_: {}): any;
2116
- };
2117
- }) | null;
2118
- };
2119
- $slots: Readonly<{
2120
- [name: string]: Slot<any> | undefined;
2121
- }>;
2122
- $root: ComponentPublicInstance | null;
2123
- $parent: ComponentPublicInstance | null;
2124
- $host: Element | null;
2125
- $emit: (event: string, ...args: any[]) => void;
2126
- $el: any;
2127
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
2128
- badge: {
2129
- type: PropType<PanelBadge>;
2130
- };
2131
- fit: {
2132
- type: BooleanConstructor;
2133
- default: boolean;
2134
- };
2135
- width: {
2136
- type: (NumberConstructor | StringConstructor)[];
2137
- };
2138
- height: {
2139
- type: (NumberConstructor | StringConstructor)[];
2140
- };
2141
- border: {
2142
- type: BooleanConstructor;
2143
- default: boolean;
2144
- };
2145
- radius: {
2146
- type: BooleanConstructor;
2147
- default: boolean;
2148
- };
2149
- card: {
2150
- type: BooleanConstructor;
2151
- };
2152
- size: {
2153
- type: PropType<BaseSize>;
2154
- };
2155
- shadow: {
2156
- type: PropType<"none" | "always" | "hover">;
2157
- };
2158
- header: {
2159
- type: PropType<string | HeaderProps | null>;
2160
- };
2161
- body: {
2162
- type: PropType<ContainerProps>;
2163
- };
2164
- footer: {
2165
- type: PropType<ContainerProps>;
2166
- };
2167
- }>> & Readonly<{}>, {
2168
- bodyRef: Ref<any, any>;
2169
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
2170
- radius: boolean;
2171
- fit: boolean;
2172
- border: boolean;
2173
- card: boolean;
2174
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
2175
- beforeCreate?: (() => void) | (() => void)[];
2176
- created?: (() => void) | (() => void)[];
2177
- beforeMount?: (() => void) | (() => void)[];
2178
- mounted?: (() => void) | (() => void)[];
2179
- beforeUpdate?: (() => void) | (() => void)[];
2180
- updated?: (() => void) | (() => void)[];
2181
- activated?: (() => void) | (() => void)[];
2182
- deactivated?: (() => void) | (() => void)[];
2183
- beforeDestroy?: (() => void) | (() => void)[];
2184
- beforeUnmount?: (() => void) | (() => void)[];
2185
- destroyed?: (() => void) | (() => void)[];
2186
- unmounted?: (() => void) | (() => void)[];
2187
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2188
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2189
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
2190
- };
2191
- $forceUpdate: () => void;
2192
- $nextTick: nextTick;
2193
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
2194
- } & Readonly<{
2195
- radius: boolean;
2196
- fit: boolean;
2197
- border: boolean;
2198
- card: boolean;
2199
- }> & Omit<Readonly< ExtractPropTypes<{
2200
- badge: {
2201
- type: PropType<PanelBadge>;
2202
- };
2203
- fit: {
2204
- type: BooleanConstructor;
2205
- default: boolean;
2206
- };
2207
- width: {
2208
- type: (NumberConstructor | StringConstructor)[];
2209
- };
2210
- height: {
2211
- type: (NumberConstructor | StringConstructor)[];
2212
- };
2213
- border: {
2214
- type: BooleanConstructor;
2215
- default: boolean;
2216
- };
2217
- radius: {
2218
- type: BooleanConstructor;
2219
- default: boolean;
2220
- };
2221
- card: {
2222
- type: BooleanConstructor;
2223
- };
2224
- size: {
2225
- type: PropType<BaseSize>;
2226
- };
2227
- shadow: {
2228
- type: PropType<"none" | "always" | "hover">;
2229
- };
2230
- header: {
2231
- type: PropType<string | HeaderProps | null>;
2232
- };
2233
- body: {
2234
- type: PropType<ContainerProps>;
2235
- };
2236
- footer: {
2237
- type: PropType<ContainerProps>;
2238
- };
2239
- }>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
2240
- bodyRef: any;
2241
- } & {} & ComponentCustomProperties & {} & {
2242
- $slots: {
2243
- header?(_: {}): any;
2244
- title?(_: {}): any;
2245
- actions?(_: {}): any;
2246
- default?(_: {}): any;
2247
- footer?(_: {}): any;
2248
- };
2249
- }) | null;
2250
- };
2251
- $slots: Readonly<{
2252
- [name: string]: Slot<any> | undefined;
2253
- }>;
2254
- $root: ComponentPublicInstance | null;
2255
- $parent: ComponentPublicInstance | null;
2256
- $host: Element | null;
2257
- $emit: ((event: "refresh", ...args: any[]) => void) & ((event: "command", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
2258
- $el: any;
2259
- $options: ComponentOptionsBase<Readonly< Props> & Readonly<{
2260
- onRefresh?: ((...args: any[]) => any) | undefined;
2261
- onCommand?: ((...args: any[]) => any) | undefined;
2262
- onPlus?: ((...args: any[]) => any) | undefined;
2263
- onBack?: ((...args: any[]) => any) | undefined;
2264
- onEdit?: ((...args: any[]) => any) | undefined;
2265
- onRemove?: ((...args: any[]) => any) | undefined;
2266
- onSave?: ((...args: any[]) => any) | undefined;
2267
- }>, {
2268
- panelRef: Ref<any, any>;
2269
- scrollToBottom: () => void;
2270
- autoScrollToBottom: (diff?: number) => void;
2271
- scrollToTop: () => void;
2272
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2273
- refresh: (...args: any[]) => void;
2274
- command: (...args: any[]) => void;
2275
- plus: (...args: any[]) => void;
2276
- back: (...args: any[]) => void;
2277
- edit: (...args: any[]) => void;
2278
- remove: (...args: any[]) => void;
2279
- save: (...args: any[]) => void;
2280
- }, string, {
2281
- menus: ActionMenuItem[];
2282
- header: boolean;
2283
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
2284
- beforeCreate?: (() => void) | (() => void)[];
2285
- created?: (() => void) | (() => void)[];
2286
- beforeMount?: (() => void) | (() => void)[];
2287
- mounted?: (() => void) | (() => void)[];
2288
- beforeUpdate?: (() => void) | (() => void)[];
2289
- updated?: (() => void) | (() => void)[];
2290
- activated?: (() => void) | (() => void)[];
2291
- deactivated?: (() => void) | (() => void)[];
2292
- beforeDestroy?: (() => void) | (() => void)[];
2293
- beforeUnmount?: (() => void) | (() => void)[];
2294
- destroyed?: (() => void) | (() => void)[];
2295
- unmounted?: (() => void) | (() => void)[];
2296
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2297
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2298
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
2299
- };
2300
- $forceUpdate: () => void;
2301
- $nextTick: nextTick;
2302
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
2303
- } & Readonly<{
2304
- menus: ActionMenuItem[];
2305
- header: boolean;
2306
- }> & Omit<Readonly< Props> & Readonly<{
2307
- onRefresh?: ((...args: any[]) => any) | undefined;
2308
- onCommand?: ((...args: any[]) => any) | undefined;
2309
- onPlus?: ((...args: any[]) => any) | undefined;
2310
- onBack?: ((...args: any[]) => any) | undefined;
2311
- onEdit?: ((...args: any[]) => any) | undefined;
2312
- onRemove?: ((...args: any[]) => any) | undefined;
2313
- onSave?: ((...args: any[]) => any) | undefined;
2314
- }>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
2315
- panelRef: any;
2316
- scrollToBottom: () => void;
2317
- autoScrollToBottom: (diff?: number) => void;
2318
- scrollToTop: () => void;
2319
- } & {} & ComponentCustomProperties & {} & {
2320
- $slots: {
2321
- 'pre-actions'?(_: {}): any;
2322
- actions?(_: {}): any;
2323
- default?(_: {}): any;
2324
- footer?(_: {}): any;
2325
- };
2326
- }) | null;
2327
- listRef: HTMLDivElement;
1662
+ payTipRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{}>, {
1663
+ show: () => void;
1664
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
1665
+ P: {};
1666
+ B: {};
1667
+ D: {};
1668
+ C: {};
1669
+ M: {};
1670
+ Defaults: {};
1671
+ }, Readonly< Props> & Readonly<{}>, {
1672
+ show: () => void;
1673
+ }, {}, {}, {}, {}> | null;
1674
+ conversationRef: HTMLDivElement;
2328
1675
  }, any>;
2329
1676
  Globals: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2330
1677
  I18n: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -3102,7 +2449,7 @@ export declare const widgets: {
3102
2449
  onCellSelected?: ((params: any) => any) | undefined;
3103
2450
  onEditChange?: ((data: any[]) => any) | undefined;
3104
2451
  onLoaded?: ((rows: any[]) => any) | undefined;
3105
- }>, "search" | "validate" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
2452
+ }>, "search" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "validate" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
3106
2453
  state: {
3107
2454
  [x: string]: any;
3108
2455
  page?: number | undefined;
@@ -3652,10 +2999,10 @@ export declare const widgets: {
3652
2999
  readonly title?: string | undefined;
3653
3000
  readonly cancel?: string | boolean | undefined;
3654
3001
  readonly beforeClose?: (() => boolean | Promise<boolean>) | undefined;
3002
+ readonly src?: string | undefined;
3655
3003
  readonly content?: Record<string, any> | VNode<RendererNode, RendererElement, {
3656
3004
  [key: string]: any;
3657
3005
  }> | DefineComponent<any, any, any, any> | undefined;
3658
- readonly src?: string | undefined;
3659
3006
  readonly subtitle?: string | undefined;
3660
3007
  readonly submit?: string | boolean | undefined;
3661
3008
  readonly resizable?: boolean | ResizableOptions | undefined;
@@ -5552,7 +4899,7 @@ export declare const widgets: {
5552
4899
  onCellSelected?: ((params: any) => any) | undefined;
5553
4900
  onEditChange?: ((data: any[]) => any) | undefined;
5554
4901
  onLoaded?: ((rows: any[]) => any) | undefined;
5555
- }>, "search" | "validate" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
4902
+ }>, "search" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "validate" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
5556
4903
  state: {
5557
4904
  [x: string]: any;
5558
4905
  page?: number | undefined;