@qqt-product/ui 14.1.2 → 14.1.4

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 (28) hide show
  1. package/dist/index.es.js +14846 -14929
  2. package/dist/index.umd.js +93 -93
  3. package/dist/lib/components/checkbox/index.d.ts +1 -1
  4. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
  5. package/dist/lib/components/detail-page-layout/index.d.ts +0 -10
  6. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -11
  7. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +0 -1
  8. package/dist/lib/components/layout/index.d.ts +5 -1
  9. package/dist/lib/components/layout/src/header/index.vue.d.ts +1 -0
  10. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +1 -0
  11. package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +1 -0
  12. package/dist/lib/components/layout/src/index.vue.d.ts +5 -1
  13. package/dist/lib/components/layout/src/menu/menu.vue.d.ts +3 -2
  14. package/dist/lib/components/layout/src/sider/index.vue.d.ts +2 -1
  15. package/dist/lib/components/list-page-layout/index.d.ts +0 -2
  16. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +2 -2
  17. package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +0 -9
  18. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +0 -2
  19. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +0 -1
  20. package/dist/lib/components/list-page-layout/src/symbol.d.ts +0 -1
  21. package/dist/lib/components/radio/index.d.ts +1 -1
  22. package/dist/lib/components/radio/src/radio.vue.d.ts +1 -1
  23. package/dist/lib/components/select/index.d.ts +0 -1
  24. package/dist/lib/components/select/src/select.vue.d.ts +0 -1
  25. package/dist/lib/utils/event.d.ts +1 -2
  26. package/dist/style.css +1 -1
  27. package/package.json +8 -8
  28. package/dist/lib/components/list-page-layout/src/components/common/chatBi-modal/chatBi-modal.vue.d.ts +0 -10
@@ -104,8 +104,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
104
104
  readonly value: string;
105
105
  readonly options: Option[];
106
106
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
107
- readonly dictCode: string;
108
107
  readonly required: "0" | "1";
108
+ readonly dictCode: string;
109
109
  readonly isLayout: boolean;
110
110
  readonly colSpan: string;
111
111
  readonly selectControlType: string;
@@ -100,8 +100,8 @@ declare const _sfc_main: DefineComponent<{
100
100
  readonly value: string;
101
101
  readonly options: Option[];
102
102
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
103
- readonly dictCode: string;
104
103
  readonly required: "0" | "1";
104
+ readonly dictCode: string;
105
105
  readonly isLayout: boolean;
106
106
  readonly colSpan: string;
107
107
  readonly selectControlType: string;
@@ -101,11 +101,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
101
101
  type: StringConstructor;
102
102
  default: string;
103
103
  };
104
- } & {
105
- isDetail: {
106
- type: PropType<boolean>;
107
- default: boolean;
108
- };
109
104
  }, {
110
105
  instance: Ref<Expose | undefined>;
111
106
  classes: ComputedRef<{
@@ -217,11 +212,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
217
212
  type: StringConstructor;
218
213
  default: string;
219
214
  };
220
- } & {
221
- isDetail: {
222
- type: PropType<boolean>;
223
- default: boolean;
224
- };
225
215
  }>>, {
226
216
  pattern: Pattern;
227
217
  currentRow: CurrentRow;
@@ -1,4 +1,4 @@
1
- import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
1
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
2
  import type { roleValidator, CurrentRow, UserInfo, Pattern, patternValidator, RemoteConfig, DetailApiFunctionType, PageButton, PageButtonPosition, pageButtonPositionValidator, RecordString, Expose, ComputedFormFieldsItem } from '../../edit-page-layout';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  showPageHeader: {
@@ -97,11 +97,6 @@ declare const _sfc_main: DefineComponent<{
97
97
  type: StringConstructor;
98
98
  default: string;
99
99
  };
100
- } & {
101
- isDetail: {
102
- type: PropType<boolean>;
103
- default: boolean;
104
- };
105
100
  }, {
106
101
  instance: Ref<Expose | undefined>;
107
102
  classes: ComputedRef<{
@@ -213,11 +208,6 @@ declare const _sfc_main: DefineComponent<{
213
208
  type: StringConstructor;
214
209
  default: string;
215
210
  };
216
- } & {
217
- isDetail: {
218
- type: PropType<boolean>;
219
- default: boolean;
220
- };
221
211
  }>>, {
222
212
  pattern: Pattern;
223
213
  currentRow: CurrentRow;
@@ -344,7 +344,6 @@ export type VxePayload = {
344
344
  setItemRequiredOrDisabled?: SetItemRequiredOrDisabled;
345
345
  Decimal?: typeof Decimal;
346
346
  topEmit?: () => void;
347
- selectedOptions?: CascaderProps['options'];
348
347
  };
349
348
  export interface UploadExtend {
350
349
  businessType?: string;
@@ -101,6 +101,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
101
101
  type: PropType<LayoutConfigType>;
102
102
  };
103
103
  }, {
104
+ srmI18n: SrmI18n;
104
105
  props: any;
105
106
  emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
106
107
  SIDER_DEFAULT_WIDTH: number;
@@ -129,6 +130,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
129
130
  handleChatMouseDown: () => void;
130
131
  handleChatAiClick: () => void;
131
132
  collapsedSider: (collapsed: boolean) => void;
133
+ handleUndo: () => void;
132
134
  chatPositionStyle: ComputedRef<{
133
135
  left: string;
134
136
  top: string;
@@ -404,11 +406,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
404
406
  currentActive: Ref<number>;
405
407
  meta: Ref<FirstMenuMeta | undefined>;
406
408
  isEffectiveRoutePath: Ref<boolean>;
407
- customMode: ComputedRef<"vertical" | "inline">;
408
409
  firstMenuSelect: (item: ExtendMenu, index: number) => void;
409
410
  updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
410
411
  menuSelect: () => void;
412
+ expandedKeys: Ref<(string | number)[]>;
411
413
  autoExpandParent: Ref<boolean>;
414
+ checkPath: (node: ExtendMenu, path: string) => boolean;
412
415
  getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
413
416
  onSelect: (selectedKeys: string[], e: any) => void;
414
417
  readonly QIcon: DefineComponent<{
@@ -1032,6 +1035,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1032
1035
  iconToolClick: (type: string) => void;
1033
1036
  openChat: () => void;
1034
1037
  fetchCustomer: () => void;
1038
+ openChatBi: () => void;
1035
1039
  readonly QSymbolIcon: DefineComponent<{
1036
1040
  type: {
1037
1041
  type: PropType<string>;
@@ -116,6 +116,7 @@ declare const _sfc_main: DefineComponent<{}, {
116
116
  iconToolClick: (type: string) => void;
117
117
  openChat: () => void;
118
118
  fetchCustomer: () => void;
119
+ openChatBi: () => void;
119
120
  readonly QSymbolIcon: DefineComponent<{
120
121
  type: {
121
122
  type: PropType<string>;
@@ -57,6 +57,7 @@ declare const _sfc_main: DefineComponent<{}, {
57
57
  iconToolClick: (type: string) => void;
58
58
  openChat: () => void;
59
59
  fetchCustomer: () => void;
60
+ openChatBi: () => void;
60
61
  readonly QSymbolIcon: DefineComponent<{
61
62
  type: {
62
63
  type: PropType<string>;
@@ -36,6 +36,7 @@ declare const _sfc_main: DefineComponent<{}, {
36
36
  iconToolClick: (type: string) => void;
37
37
  openChat: () => void;
38
38
  fetchCustomer: () => void;
39
+ openChatBi: () => void;
39
40
  readonly QSymbolIcon: DefineComponent<{
40
41
  type: {
41
42
  type: PropType<string>;
@@ -98,6 +98,7 @@ declare const _sfc_main: DefineComponent<{
98
98
  type: PropType<LayoutConfigType>;
99
99
  };
100
100
  }, {
101
+ srmI18n: SrmI18n;
101
102
  props: any;
102
103
  emit: (event: "menuSelect" | "schedule-click" | "services-click" | "chatAi-click", ...args: any[]) => void;
103
104
  SIDER_DEFAULT_WIDTH: number;
@@ -126,6 +127,7 @@ declare const _sfc_main: DefineComponent<{
126
127
  handleChatMouseDown: () => void;
127
128
  handleChatAiClick: () => void;
128
129
  collapsedSider: (collapsed: boolean) => void;
130
+ handleUndo: () => void;
129
131
  chatPositionStyle: ComputedRef<{
130
132
  left: string;
131
133
  top: string;
@@ -401,11 +403,12 @@ declare const _sfc_main: DefineComponent<{
401
403
  currentActive: Ref<number>;
402
404
  meta: Ref<FirstMenuMeta | undefined>;
403
405
  isEffectiveRoutePath: Ref<boolean>;
404
- customMode: ComputedRef<"vertical" | "inline">;
405
406
  firstMenuSelect: (item: ExtendMenu, index: number) => void;
406
407
  updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
407
408
  menuSelect: () => void;
409
+ expandedKeys: Ref<(string | number)[]>;
408
410
  autoExpandParent: Ref<boolean>;
411
+ checkPath: (node: ExtendMenu, path: string) => boolean;
409
412
  getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
410
413
  onSelect: (selectedKeys: string[], e: any) => void;
411
414
  readonly QIcon: DefineComponent<{
@@ -1029,6 +1032,7 @@ declare const _sfc_main: DefineComponent<{
1029
1032
  iconToolClick: (type: string) => void;
1030
1033
  openChat: () => void;
1031
1034
  fetchCustomer: () => void;
1035
+ openChatBi: () => void;
1032
1036
  readonly QSymbolIcon: DefineComponent<{
1033
1037
  type: {
1034
1038
  type: PropType<string>;
@@ -1,5 +1,5 @@
1
1
  import type { SrmI18n } from '../../../../utils/type';
2
- import type { DefineComponent, Ref, ComputedRef, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { Menu, SelectedMemu, ExtendMenu, FirstMenuMeta, RouterPropsType } from '../types';
4
4
  declare const _sfc_main: DefineComponent<{
5
5
  globalStyleSettingsMenuPattern: {
@@ -127,11 +127,12 @@ declare const _sfc_main: DefineComponent<{
127
127
  currentActive: Ref<number>;
128
128
  meta: Ref<FirstMenuMeta | undefined>;
129
129
  isEffectiveRoutePath: Ref<boolean>;
130
- customMode: ComputedRef<"vertical" | "inline">;
131
130
  firstMenuSelect: (item: ExtendMenu, index: number) => void;
132
131
  updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
133
132
  menuSelect: () => void;
133
+ expandedKeys: Ref<(string | number)[]>;
134
134
  autoExpandParent: Ref<boolean>;
135
+ checkPath: (node: ExtendMenu, path: string) => boolean;
135
136
  getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
136
137
  onSelect: (selectedKeys: string[], e: any) => void;
137
138
  readonly QIcon: DefineComponent<{
@@ -269,11 +269,12 @@ declare const _sfc_main: DefineComponent<{
269
269
  currentActive: Ref<number>;
270
270
  meta: Ref<FirstMenuMeta | undefined>;
271
271
  isEffectiveRoutePath: Ref<boolean>;
272
- customMode: ComputedRef<"vertical" | "inline">;
273
272
  firstMenuSelect: (item: ExtendMenu, index: number) => void;
274
273
  updateMenuBadgeCount: (firstMenuPath: string, count: number) => void;
275
274
  menuSelect: () => void;
275
+ expandedKeys: Ref<(string | number)[]>;
276
276
  autoExpandParent: Ref<boolean>;
277
+ checkPath: (node: ExtendMenu, path: string) => boolean;
277
278
  getEffectiveSource: (node: ExtendMenu, data: ExtendMenu[]) => void;
278
279
  onSelect: (selectedKeys: string[], e: any) => void;
279
280
  readonly QIcon: DefineComponent<{
@@ -290,7 +290,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
290
290
  }[];
291
291
  superQuery: ObjectMap;
292
292
  } | undefined;
293
- chatBiBusinessType?: string | undefined;
294
293
  };
295
294
  beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
296
295
  afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
@@ -312,7 +311,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
312
311
  importSuccess: () => void;
313
312
  columnSettingRef: Ref<any>;
314
313
  helpTextModalRef: Ref<any>;
315
- chatBiModalRef: Ref<any>;
316
314
  addModalRef: Ref<any>;
317
315
  recordModalRef: Ref<any>;
318
316
  editNavModalRef: Ref<any>;
@@ -10,10 +10,10 @@ declare const _sfc_main: DefineComponent<{}, {
10
10
  open: (columnCode: string) => void;
11
11
  close: typeof close;
12
12
  setFrozenColumn<T extends GridColumn>(listArry: T[]): T[];
13
- getColumnsList(columnCode: string): Promise<string>;
13
+ getColumnsList(columnCode: string): void;
14
14
  getFieldColorsData(item: any): void;
15
15
  showDrawer(row: any): void;
16
- reset(): Promise<void>;
16
+ reset(): void;
17
17
  selectedOk(): void;
18
18
  drawerVisible: Ref<boolean>;
19
19
  selectedRow: Ref<{
@@ -10,10 +10,6 @@ declare const _sfc_main: DefineComponent<{
10
10
  type: PropType<ToolsConfig>;
11
11
  default: () => {};
12
12
  };
13
- pageData: {
14
- type: ObjectConstructor;
15
- default: () => {};
16
- };
17
13
  }, {
18
14
  handleClick: (btn: ButtonItem) => void;
19
15
  showHandle: (item: any) => boolean;
@@ -32,12 +28,7 @@ declare const _sfc_main: DefineComponent<{
32
28
  type: PropType<ToolsConfig>;
33
29
  default: () => {};
34
30
  };
35
- pageData: {
36
- type: ObjectConstructor;
37
- default: () => {};
38
- };
39
31
  }>>, {
40
- pageData: Record<string, any>;
41
32
  buttonConfig: ButtonConfig;
42
33
  toolsConfig: ToolsConfig;
43
34
  }, {}>;
@@ -283,7 +283,6 @@ declare const _sfc_main: DefineComponent<{
283
283
  }[];
284
284
  superQuery: ObjectMap;
285
285
  } | undefined;
286
- chatBiBusinessType?: string | undefined;
287
286
  };
288
287
  beforeHandleData?: ((column: GridColumn[]) => void) | undefined;
289
288
  afterHandleData?: ((tableData: ObjectMap[]) => void) | undefined;
@@ -305,7 +304,6 @@ declare const _sfc_main: DefineComponent<{
305
304
  importSuccess: () => void;
306
305
  columnSettingRef: Ref<any>;
307
306
  helpTextModalRef: Ref<any>;
308
- chatBiModalRef: Ref<any>;
309
307
  addModalRef: Ref<any>;
310
308
  recordModalRef: Ref<any>;
311
309
  editNavModalRef: Ref<any>;
@@ -126,7 +126,6 @@ export interface PageData {
126
126
  queryModel: QueryParamsItem[];
127
127
  superQuery: ObjectMap;
128
128
  };
129
- chatBiBusinessType?: string;
130
129
  [key: string]: unknown | any;
131
130
  }
132
131
  export interface ListMergeDataItem {
@@ -9,5 +9,4 @@ export declare const SYMBOL_HANDLE_HELP_TEXT: unique symbol;
9
9
  export declare const SYMBOL_HANDLE_ATTACHMENT_TEXT: unique symbol;
10
10
  export declare const SYMBOL_HANDLE_VIDEO_TEXT: unique symbol;
11
11
  export declare const SYMBOL_HANDLE_MERGE_GRID: unique symbol;
12
- export declare const SYMBOL_HANDLE_CHATBI: unique symbol;
13
12
  export declare const SYMBOL_FETCH_NAV_DATA: unique symbol;
@@ -96,8 +96,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
96
96
  readonly value: string;
97
97
  readonly options: Option[];
98
98
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
99
- readonly dictCode: string;
100
99
  readonly required: "0" | "1";
100
+ readonly dictCode: string;
101
101
  readonly isLayout: boolean;
102
102
  readonly colSpan: string;
103
103
  }, {}>>;
@@ -92,8 +92,8 @@ declare const _sfc_main: DefineComponent<{
92
92
  readonly value: string;
93
93
  readonly options: Option[];
94
94
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
95
- readonly dictCode: string;
96
95
  readonly required: "0" | "1";
96
+ readonly dictCode: string;
97
97
  readonly isLayout: boolean;
98
98
  readonly colSpan: string;
99
99
  }, {}>;
@@ -49,7 +49,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
49
49
  children?: unknown[] | undefined;
50
50
  label: string;
51
51
  }[]>;
52
- dictCode: Ref<string>;
53
52
  onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
54
53
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
55
54
  readonly value: {
@@ -45,7 +45,6 @@ declare const _sfc_main: DefineComponent<{
45
45
  children?: unknown[] | undefined;
46
46
  label: string;
47
47
  }[]>;
48
- dictCode: Ref<string>;
49
48
  onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
50
49
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
51
50
  readonly value: {
@@ -4,7 +4,7 @@ import { SYMBOL_BINDFUNCTION, SYMBOL_CUSTOM_BINDFUNCTION, SYMBOL_VXE_BINDFUNCTIO
4
4
  import type { RecordString, BindFunctionEvent, VxeBindFunctionEvent, PageButton, PageButtonWithGroupCode, PageButtonDeleteRow, PageButtonDownLoad, ValidateResult, LinkClickCallbackParams, FormFieldsItem, PageButtonDeleteFileRow, KeydownEventParams, FlowApprovalCallbackPayload } from '../../lib/components/edit-page-layout';
5
5
  import type { ButtonItem, ObjectMap, ToolsButtonItem } from '../../lib/components/list-page-layout';
6
6
  import type { VxeItemFileUpload } from '../../lib/components/upload-file';
7
- import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_HANDLE_MERGE_GRID, SYMBOL_HANDLE_CHATBI, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
7
+ import { SYMBOL_GRID_INSTANCE, SYMBOL_HANDLE_SETTING, SYMBOL_HANDLE_ADD, SYMBOL_HANDLE_EXPORT, SYMBOL_HANDLE_IMPORT, SYMBOL_HANDLE_QUICK_NAV, SYMBOL_HANDLE_RECORD, SYMBOL_HANDLE_HELP_TEXT, SYMBOL_HANDLE_ATTACHMENT_TEXT, SYMBOL_HANDLE_VIDEO_TEXT, SYMBOL_HANDLE_MERGE_GRID, SYMBOL_FETCH_NAV_DATA } from '../components/list-page-layout/src/symbol';
8
8
  export type Events = {
9
9
  [SYMBOL_BINDFUNCTION]: BindFunctionEvent;
10
10
  [SYMBOL_CUSTOM_BINDFUNCTION]: BindFunctionEvent;
@@ -38,7 +38,6 @@ export type Events = {
38
38
  [SYMBOL_HANDLE_ATTACHMENT_TEXT]: ButtonItem;
39
39
  [SYMBOL_HANDLE_VIDEO_TEXT]: ButtonItem;
40
40
  [SYMBOL_HANDLE_MERGE_GRID]: ToolsButtonItem;
41
- [SYMBOL_HANDLE_CHATBI]: ToolsButtonItem;
42
41
  [SYMBOL_HANDLE_RECORD]: ObjectMap;
43
42
  [SYMBOL_HANDLE_QUICK_NAV]: string | number | undefined;
44
43
  [SYMBOL_FETCH_NAV_DATA]: string | number | undefined;