@qqt-product/ui 16.0.0 → 16.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.
Files changed (44) hide show
  1. package/dist/index.es.js +61101 -60684
  2. package/dist/index.umd.js +125 -125
  3. package/dist/lib/components/detail-page-layout/index.d.ts +10 -0
  4. package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +11 -1
  5. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +4 -0
  6. package/dist/lib/components/import-modal/index.d.ts +1 -1
  7. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
  8. package/dist/lib/components/layout/index.d.ts +1 -0
  9. package/dist/lib/components/layout/src/index.vue.d.ts +1 -0
  10. package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -0
  11. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -0
  12. package/dist/lib/components/layout/src/types.d.ts +1 -0
  13. package/dist/lib/components/layout-pattern/index.d.ts +1 -175
  14. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -174
  15. package/dist/lib/components/list-page-layout/index.d.ts +1 -1
  16. package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +1 -0
  17. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -0
  18. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -1
  19. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +1 -1
  20. package/dist/lib/components/page-layout/index.d.ts +176 -2
  21. package/dist/lib/components/{layout-pattern/src/hook/use-audit-button-hook.d.ts → page-layout/src/hook/use-audit-button.d.ts} +58 -2
  22. package/dist/lib/components/page-layout/src/hook/use-custom-format.d.ts +9 -0
  23. package/dist/lib/components/page-layout/src/hook/use-excel-import.d.ts +42 -0
  24. package/dist/lib/components/page-layout/src/hook/use-file-upload.d.ts +64 -0
  25. package/dist/lib/components/page-layout/src/hook/use-grid-events.d.ts +26 -0
  26. package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +33 -1
  27. package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +175 -1
  28. package/dist/lib/components/select/index.d.ts +2 -3
  29. package/dist/lib/components/select/src/select.vue.d.ts +2 -3
  30. package/dist/lib/components/upload-image/index.d.ts +2 -1
  31. package/dist/lib/components/upload-image/src/preview.vue.d.ts +16 -0
  32. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +2 -1
  33. package/dist/lib/components/vxe-select/index.d.ts +1 -2
  34. package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +2 -3
  35. package/dist/lib/index.d.ts +1 -1
  36. package/dist/style.css +1 -1
  37. package/package.json +7 -7
  38. package/dist/lib/components/remote-select/index.d.ts +0 -83
  39. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +0 -79
  40. /package/dist/lib/components/page-layout/src/hook/{use-merge-defaultValues-hook.d.ts → use-merge-defaultValues.d.ts} +0 -0
  41. /package/dist/lib/components/page-layout/src/hook/{use-page-data-hook.d.ts → use-page-data.d.ts} +0 -0
  42. /package/dist/lib/components/page-layout/src/hook/{use-ref-instance-hook.d.ts → use-ref-instance.d.ts} +0 -0
  43. /package/dist/lib/components/page-layout/src/hook/{use-remote-config-hook.d.ts → use-remote-config.d.ts} +0 -0
  44. /package/dist/lib/components/page-layout/src/hook/{use-uid-hook.d.ts → use-uid.d.ts} +0 -0
@@ -34,16 +34,15 @@ declare const _sfc_main: DefineComponent<{
34
34
  classes: ComputedRef<{
35
35
  [key: string]: string | boolean;
36
36
  }>;
37
- realValue: Ref<string | string[] | undefined>;
37
+ realValue: Ref<string | string[]>;
38
38
  mode: ComputedRef<string>;
39
39
  options: Ref<{
40
- [x: string]: string;
40
+ label: string;
41
41
  title: string;
42
42
  value: string;
43
43
  id: string;
44
44
  textI18nKey: string;
45
45
  children?: unknown[] | undefined;
46
- label: string;
47
46
  }[]>;
48
47
  dictCode: Ref<string>;
49
48
  onChange: (value: string | string[], options: SelectOption | SelectOption[]) => void;
@@ -1,3 +1,4 @@
1
+ import type { RegisterFn } from '../modal';
1
2
  import type { SrmI18n } from '../../utils/type';
2
3
  import type { UploadFiles } from './src/upload-image-type';
3
4
  import type { UploadFile } from 'ant-design-vue';
@@ -151,10 +152,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
151
152
  uploadStatues: Ref<boolean>;
152
153
  beforeUpload: (file: UploadFile<any>, uploadFiles: UploadFile<any>[]) => boolean;
153
154
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
154
- handleCancel: () => void;
155
155
  handlePreview: (file: UploadFiles) => Promise<void>;
156
156
  isImageUrlFun: () => boolean;
157
157
  srmI18n: SrmI18n;
158
+ register: RegisterFn;
158
159
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
159
160
  readonly value: {
160
161
  readonly type: StringConstructor;
@@ -0,0 +1,16 @@
1
+ import type { RegisterFn } from '../../modal';
2
+ import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
3
+ declare const _sfc_main: DefineComponent<{
4
+ readonly url: {
5
+ readonly type: PropType<string>;
6
+ };
7
+ }, {
8
+ url: Ref<string | undefined> | undefined;
9
+ register: RegisterFn;
10
+ handleOnload: () => void;
11
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
12
+ readonly url: {
13
+ readonly type: PropType<string>;
14
+ };
15
+ }>>, {}, {}>;
16
+ export default _sfc_main;
@@ -1,3 +1,4 @@
1
+ import type { RegisterFn } from '../../modal';
1
2
  import type { SrmI18n } from '../../../utils/type';
2
3
  import type { UploadFileStatus, FileType } from 'ant-design-vue/es/upload/interface';
3
4
  import type { DefineComponent, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
@@ -147,10 +148,10 @@ declare const _sfc_main: DefineComponent<{
147
148
  uploadStatues: Ref<boolean>;
148
149
  beforeUpload: (file: UploadFile, uploadFiles: UploadFile[]) => boolean;
149
150
  handleRemove: (file: UploadFile<unknown>) => boolean | void | Promise<boolean | void>;
150
- handleCancel: () => void;
151
151
  handlePreview: (file: UploadFiles) => Promise<void>;
152
152
  isImageUrlFun: () => boolean;
153
153
  srmI18n: SrmI18n;
154
+ register: RegisterFn;
154
155
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
155
156
  readonly value: {
156
157
  readonly type: StringConstructor;
@@ -56,13 +56,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
56
56
  placeholder: string;
57
57
  multiple: boolean;
58
58
  options: Ref<{
59
- [x: string]: string;
59
+ label: string;
60
60
  title: string;
61
61
  value: string;
62
62
  id: string;
63
63
  textI18nKey: string;
64
64
  children?: unknown[] | undefined;
65
- label: string;
66
65
  }[]>;
67
66
  onChange: ({ value }: {
68
67
  value: string | string[];
@@ -1,5 +1,5 @@
1
1
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { VxeSelectProps, SelectOption } from './vxe-select-types';
2
+ import type { SelectOption, VxeSelectProps } from './vxe-select-types';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  readonly modelValue: {
5
5
  readonly type: StringConstructor;
@@ -52,13 +52,12 @@ declare const _sfc_main: DefineComponent<{
52
52
  placeholder: string;
53
53
  multiple: boolean;
54
54
  options: Ref<{
55
- [x: string]: string;
55
+ label: string;
56
56
  title: string;
57
57
  value: string;
58
58
  id: string;
59
59
  textI18nKey: string;
60
60
  children?: unknown[] | undefined;
61
- label: string;
62
61
  }[]>;
63
62
  onChange: ({ value }: {
64
63
  value: string | string[];
@@ -10,7 +10,7 @@ export * as GlobalPageLayoutTypes from './components/edit-page-layout/src/types'
10
10
  export { LAYOUT_PROPS_TOKEN, LAYOUT_PROPS_TOKEN_DEFAULT_VALUE } from './components/edit-page-layout/src/token';
11
11
  export * as GlobalListPageLayoutTypes from './components/list-page-layout/src/types';
12
12
  import usePromiseStepHook from './components/page-layout/src/hook/use-promise-step';
13
- import useRefInstanceHook from './components/page-layout/src/hook/use-ref-instance-hook';
13
+ import useRefInstanceHook from './components/page-layout/src/hook/use-ref-instance';
14
14
  import useChartHook from './components/useChart/index';
15
15
  import useButtonFunctionHook from './components/list-page-layout/src/hooks/use-button-function-hook';
16
16
  import useExportXlsHook from './components/list-page-layout/src/hooks/export-xls-hook';