@qqt-product/ui 12.0.0 → 12.0.2

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.
@@ -103,7 +103,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
103
103
  }, {
104
104
  srmI18n: SrmI18n;
105
105
  props: any;
106
- emit: (event: "menuSelect" | "schedule-click" | "services-click", ...args: any[]) => void;
106
+ emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
107
107
  SIDER_DEFAULT_WIDTH: number;
108
108
  SIDER_DEFAULT_WIDTH_STORE_STRING: string | null;
109
109
  SIDER_DEFAULT_WIDTH_STORE_VALUE: string;
@@ -111,6 +111,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
111
111
  siderWidth: Ref<number>;
112
112
  tagDragging: Ref<boolean>;
113
113
  lineLeft: Ref<number>;
114
+ chatDragging: Ref<boolean>;
115
+ chatDraggingPositionX: Ref<number>;
116
+ chatDraggingPositionY: Ref<number | null>;
117
+ showAiKnowledgeBase: Ref<boolean>;
114
118
  secondMenuShow: Ref<boolean>;
115
119
  siderRef: Ref<any>;
116
120
  menuSelect: (obj: any) => void;
@@ -122,8 +126,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
122
126
  updateMenuShow: (flag: boolean) => void;
123
127
  handleMouseDown: (event: MouseEvent) => void;
124
128
  handleMouseMove: (event: MouseEvent) => void;
129
+ handleChatMouseDown: () => void;
130
+ handleChatAiClick: () => void;
125
131
  collapsedSider: (collapsed: boolean) => void;
126
132
  handleUndo: () => void;
133
+ chatPositionStyle: ComputedRef<{
134
+ left: string;
135
+ top: string;
136
+ right?: undefined;
137
+ } | {
138
+ right: string;
139
+ top: string;
140
+ left?: undefined;
141
+ }>;
127
142
  QLayoutSider: DefineComponent<{
128
143
  siderWidth: {
129
144
  type: NumberConstructor;
@@ -238,7 +253,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
238
253
  type: StringConstructor;
239
254
  default: string;
240
255
  };
241
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
256
+ }, {
257
+ onImageLoad: () => void;
258
+ imgRef: Ref<any>;
259
+ shouldHide: Ref<boolean>;
260
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
242
261
  title: {
243
262
  type: StringConstructor;
244
263
  default: string;
@@ -1003,7 +1022,40 @@ declare const _default: SFCWithInstall<DefineComponent<{
1003
1022
  }, {}, {}>;
1004
1023
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1005
1024
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1006
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click")[], "menuSelect" | "schedule-click" | "services-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1025
+ readonly QIcon: DefineComponent<{
1026
+ type: {
1027
+ type: PropType<string>;
1028
+ default: string;
1029
+ };
1030
+ size: {
1031
+ type: (StringConstructor | NumberConstructor)[];
1032
+ };
1033
+ color: {
1034
+ type: StringConstructor;
1035
+ };
1036
+ }, {
1037
+ fontSize: ComputedRef<{
1038
+ fontSize: string;
1039
+ }>;
1040
+ iconType: ComputedRef<string>;
1041
+ iconColor: ComputedRef<{
1042
+ color: string;
1043
+ }>;
1044
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1045
+ type: {
1046
+ type: PropType<string>;
1047
+ default: string;
1048
+ };
1049
+ size: {
1050
+ type: (StringConstructor | NumberConstructor)[];
1051
+ };
1052
+ color: {
1053
+ type: StringConstructor;
1054
+ };
1055
+ }>>, {
1056
+ type: string;
1057
+ }, {}>;
1058
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1007
1059
  internalOrExternal: {
1008
1060
  type: BooleanConstructor;
1009
1061
  default: boolean;
@@ -1096,6 +1148,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1096
1148
  onMenuSelect?: ((...args: any[]) => any) | undefined;
1097
1149
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
1098
1150
  "onServices-click"?: ((...args: any[]) => any) | undefined;
1151
+ "onChatAi-click"?: ((...args: any[]) => any) | undefined;
1099
1152
  }, {
1100
1153
  internalOrExternal: boolean;
1101
1154
  collapsible: boolean;
@@ -100,7 +100,7 @@ declare const _sfc_main: DefineComponent<{
100
100
  }, {
101
101
  srmI18n: SrmI18n;
102
102
  props: any;
103
- emit: (event: "menuSelect" | "schedule-click" | "services-click", ...args: any[]) => void;
103
+ emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
104
104
  SIDER_DEFAULT_WIDTH: number;
105
105
  SIDER_DEFAULT_WIDTH_STORE_STRING: string | null;
106
106
  SIDER_DEFAULT_WIDTH_STORE_VALUE: string;
@@ -108,6 +108,10 @@ declare const _sfc_main: DefineComponent<{
108
108
  siderWidth: Ref<number>;
109
109
  tagDragging: Ref<boolean>;
110
110
  lineLeft: Ref<number>;
111
+ chatDragging: Ref<boolean>;
112
+ chatDraggingPositionX: Ref<number>;
113
+ chatDraggingPositionY: Ref<number | null>;
114
+ showAiKnowledgeBase: Ref<boolean>;
111
115
  secondMenuShow: Ref<boolean>;
112
116
  siderRef: Ref<any>;
113
117
  menuSelect: (obj: any) => void;
@@ -119,8 +123,19 @@ declare const _sfc_main: DefineComponent<{
119
123
  updateMenuShow: (flag: boolean) => void;
120
124
  handleMouseDown: (event: MouseEvent) => void;
121
125
  handleMouseMove: (event: MouseEvent) => void;
126
+ handleChatMouseDown: () => void;
127
+ handleChatAiClick: () => void;
122
128
  collapsedSider: (collapsed: boolean) => void;
123
129
  handleUndo: () => void;
130
+ chatPositionStyle: ComputedRef<{
131
+ left: string;
132
+ top: string;
133
+ right?: undefined;
134
+ } | {
135
+ right: string;
136
+ top: string;
137
+ left?: undefined;
138
+ }>;
124
139
  QLayoutSider: DefineComponent<{
125
140
  siderWidth: {
126
141
  type: NumberConstructor;
@@ -235,7 +250,11 @@ declare const _sfc_main: DefineComponent<{
235
250
  type: StringConstructor;
236
251
  default: string;
237
252
  };
238
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
253
+ }, {
254
+ onImageLoad: () => void;
255
+ imgRef: Ref<any>;
256
+ shouldHide: Ref<boolean>;
257
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
239
258
  title: {
240
259
  type: StringConstructor;
241
260
  default: string;
@@ -1000,7 +1019,40 @@ declare const _sfc_main: DefineComponent<{
1000
1019
  }, {}, {}>;
1001
1020
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1002
1021
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
1003
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click")[], "menuSelect" | "schedule-click" | "services-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1022
+ readonly QIcon: DefineComponent<{
1023
+ type: {
1024
+ type: PropType<string>;
1025
+ default: string;
1026
+ };
1027
+ size: {
1028
+ type: (StringConstructor | NumberConstructor)[];
1029
+ };
1030
+ color: {
1031
+ type: StringConstructor;
1032
+ };
1033
+ }, {
1034
+ fontSize: ComputedRef<{
1035
+ fontSize: string;
1036
+ }>;
1037
+ iconType: ComputedRef<string>;
1038
+ iconColor: ComputedRef<{
1039
+ color: string;
1040
+ }>;
1041
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1042
+ type: {
1043
+ type: PropType<string>;
1044
+ default: string;
1045
+ };
1046
+ size: {
1047
+ type: (StringConstructor | NumberConstructor)[];
1048
+ };
1049
+ color: {
1050
+ type: StringConstructor;
1051
+ };
1052
+ }>>, {
1053
+ type: string;
1054
+ }, {}>;
1055
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click" | "chatAi-click")[], "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1004
1056
  internalOrExternal: {
1005
1057
  type: BooleanConstructor;
1006
1058
  default: boolean;
@@ -1093,6 +1145,7 @@ declare const _sfc_main: DefineComponent<{
1093
1145
  onMenuSelect?: ((...args: any[]) => any) | undefined;
1094
1146
  "onSchedule-click"?: ((...args: any[]) => any) | undefined;
1095
1147
  "onServices-click"?: ((...args: any[]) => any) | undefined;
1148
+ "onChatAi-click"?: ((...args: any[]) => any) | undefined;
1096
1149
  }, {
1097
1150
  internalOrExternal: boolean;
1098
1151
  collapsible: boolean;
@@ -117,7 +117,11 @@ declare const _sfc_main: DefineComponent<{
117
117
  type: StringConstructor;
118
118
  default: string;
119
119
  };
120
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
120
+ }, {
121
+ onImageLoad: () => void;
122
+ imgRef: Ref<any>;
123
+ shouldHide: Ref<boolean>;
124
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
121
125
  title: {
122
126
  type: StringConstructor;
123
127
  default: string;
@@ -1,4 +1,4 @@
1
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  title: {
4
4
  type: StringConstructor;
@@ -12,7 +12,11 @@ declare const _sfc_main: DefineComponent<{
12
12
  type: StringConstructor;
13
13
  default: string;
14
14
  };
15
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
15
+ }, {
16
+ onImageLoad: () => void;
17
+ imgRef: Ref<any>;
18
+ shouldHide: Ref<boolean>;
19
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
16
20
  title: {
17
21
  type: StringConstructor;
18
22
  default: string;
@@ -74,5 +74,6 @@ export interface LayoutConfigType {
74
74
  showWebProcurement?: boolean;
75
75
  showI18n?: boolean;
76
76
  showChatBi?: boolean;
77
+ showAiKnowledgeBase?: boolean;
77
78
  [propName: string]: any;
78
79
  }