@qqt-product/ui 8.0.2 → 9.0.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 (28) hide show
  1. package/dist/index.es.js +18513 -18190
  2. package/dist/index.umd.js +92 -92
  3. package/dist/lib/components/detail-form/index.d.ts +5 -3
  4. package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +5 -3
  5. package/dist/lib/components/detail-grid/index.d.ts +6 -3
  6. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +6 -3
  7. package/dist/lib/components/edit-form/index.d.ts +6 -1
  8. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +6 -1
  9. package/dist/lib/components/edit-grid/index.d.ts +6 -3
  10. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +6 -3
  11. package/dist/lib/components/layout/index.d.ts +818 -6
  12. package/dist/lib/components/layout/src/index.vue.d.ts +818 -6
  13. package/dist/lib/components/layout/src/menu/menu.vue.d.ts +133 -6
  14. package/dist/lib/components/layout/src/sider/index.vue.d.ts +420 -20
  15. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -1
  16. package/dist/lib/components/list-page-layout/index.d.ts +32 -3
  17. package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +2 -0
  18. package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +2 -2
  19. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +1 -0
  20. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +4 -1
  21. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +3 -1
  22. package/dist/lib/components/list-page-layout/src/hooks/common-hook.d.ts +5 -0
  23. package/dist/lib/components/list-page-layout/src/hooks/use-column-drag-hook.d.ts +5 -0
  24. package/dist/lib/components/list-page-layout/src/hooks/use-default-props-hook.d.ts +3 -1
  25. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +32 -3
  26. package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +11 -2
  27. package/dist/style.css +1 -1
  28. package/package.json +10 -10
@@ -1,4 +1,5 @@
1
1
  import type { RecordString } from '../select-modal';
2
+ import type { SrmI18n } from '../../utils/type';
2
3
  import type { PageButton, FormFieldsItem } from '../edit-page-layout';
3
4
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
4
5
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
@@ -50,13 +51,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
50
51
  readonly default: "1";
51
52
  };
52
53
  }, {
54
+ groupName: Ref<string>;
55
+ groupNameI18nKey: Ref<string>;
56
+ groupCode: Ref<string>;
57
+ srmI18n: SrmI18n;
53
58
  fieldTypes: string[];
54
59
  dictTextFieldTypes: string[];
55
60
  shake: Ref<boolean>;
56
61
  classes: ComputedRef<{
57
62
  [key: string]: string | boolean;
58
63
  }>;
59
- groupCode: Ref<string>;
60
64
  noHiddenFieldFormFields: ComputedRef<FormFieldsItem[]>;
61
65
  pageData: Ref<RecordString>;
62
66
  formData: Ref<RecordString>;
@@ -70,8 +74,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
70
74
  };
71
75
  getSpan: (field: FormFieldsItem) => number;
72
76
  getStaticSelectLabel: (field: FormFieldsItem) => string;
73
- EditorList: Ref<FormFieldsItem[] | undefined>;
74
- editorName: Ref<string>;
75
77
  handleCodeChange: (value: string, config: FormFieldsItem) => void;
76
78
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
77
79
  readonly groupName: {
@@ -1,3 +1,4 @@
1
+ import type { SrmI18n } from '../../../utils/type';
1
2
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
3
  import type { PageButton, FormFieldsItem, RecordString } from '../../edit-page-layout';
3
4
  declare const _sfc_main: DefineComponent<{
@@ -46,13 +47,16 @@ declare const _sfc_main: DefineComponent<{
46
47
  readonly default: "1";
47
48
  };
48
49
  }, {
50
+ groupName: Ref<string>;
51
+ groupNameI18nKey: Ref<string>;
52
+ groupCode: Ref<string>;
53
+ srmI18n: SrmI18n;
49
54
  fieldTypes: string[];
50
55
  dictTextFieldTypes: string[];
51
56
  shake: Ref<boolean>;
52
57
  classes: ComputedRef<{
53
58
  [key: string]: string | boolean;
54
59
  }>;
55
- groupCode: Ref<string>;
56
60
  noHiddenFieldFormFields: ComputedRef<FormFieldsItem[]>;
57
61
  pageData: Ref<RecordString>;
58
62
  formData: Ref<RecordString>;
@@ -66,8 +70,6 @@ declare const _sfc_main: DefineComponent<{
66
70
  };
67
71
  getSpan: (field: FormFieldsItem) => number;
68
72
  getStaticSelectLabel: (field: FormFieldsItem) => string;
69
- EditorList: Ref<FormFieldsItem[] | undefined>;
70
- editorName: Ref<string>;
71
73
  handleCodeChange: (value: string, config: FormFieldsItem) => void;
72
74
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
73
75
  readonly groupName: {
@@ -1,7 +1,8 @@
1
1
  import type { RecordString } from '../select-modal';
2
+ import type { SrmI18n } from '../../utils/type';
2
3
  import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
3
4
  import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, GridCheckboxChangeParams, GridCheckboxAllParams, PageButtonDeleteFileRow } from '../edit-page-layout';
4
- import type { DefineComponent, PropType, ComputedRef, Ref, CSSProperties, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
+ import type { DefineComponent, PropType, Ref, ComputedRef, CSSProperties, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
6
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
6
7
  import QDetailForm from './src/detail-grid.vue';
7
8
  export { QDetailForm };
@@ -55,12 +56,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
55
56
  readonly default: false;
56
57
  };
57
58
  }, {
59
+ groupName: Ref<string>;
60
+ groupNameI18nKey: Ref<string>;
61
+ groupCode: Ref<string>;
62
+ srmI18n: SrmI18n;
58
63
  classes: ComputedRef<{
59
64
  [key: string]: string | boolean;
60
65
  }>;
61
66
  buttons: Ref<PageButton[]>;
62
- groupName: Ref<string>;
63
- groupCode: Ref<string>;
64
67
  wrapBoxHeight: ComputedRef<number>;
65
68
  isVertical: ComputedRef<boolean>;
66
69
  style: ComputedRef<CSSProperties>;
@@ -1,4 +1,5 @@
1
- import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
1
+ import type { SrmI18n } from '../../../utils/type';
2
+ import type { DefineComponent, PropType, Ref, ComputedRef, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
2
3
  import type { ColumnItem, PageButton, PageButtonWithGroupCode, PageButtonDeleteFileRow, RecordString, PageDownLoadButton, GridCheckboxChangeParams, GridCheckboxAllParams } from '../../edit-page-layout';
3
4
  import type { VxeTableDataRow, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
4
5
  declare const _sfc_main: DefineComponent<{
@@ -51,12 +52,14 @@ declare const _sfc_main: DefineComponent<{
51
52
  readonly default: false;
52
53
  };
53
54
  }, {
55
+ groupName: Ref<string>;
56
+ groupNameI18nKey: Ref<string>;
57
+ groupCode: Ref<string>;
58
+ srmI18n: SrmI18n;
54
59
  classes: ComputedRef<{
55
60
  [key: string]: string | boolean;
56
61
  }>;
57
62
  buttons: Ref<PageButton[]>;
58
- groupName: Ref<string>;
59
- groupCode: Ref<string>;
60
63
  wrapBoxHeight: ComputedRef<number>;
61
64
  isVertical: ComputedRef<boolean>;
62
65
  style: ComputedRef<CSSProperties>;
@@ -6,8 +6,9 @@ import type { PickerLocale } from 'ant-design-vue/es/date-picker/generatePicker'
6
6
  import type { RecordString } from '../select-modal';
7
7
  import type { RuleObject } from 'ant-design-vue/es/form';
8
8
  import type { FormInstance } from 'ant-design-vue';
9
+ import type { SrmI18n } from '../../utils/type';
9
10
  import type { PageButton, FormFieldsItem } from '../edit-page-layout';
10
- import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
11
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
11
12
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
12
13
  import QEditForm from './src/edit-form.vue';
13
14
  export * from './src/edit-form-types';
@@ -58,6 +59,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
58
59
  readonly default: "1";
59
60
  };
60
61
  }, {
62
+ groupName: Ref<string>;
63
+ groupNameI18nKey: Ref<string>;
64
+ groupCode: Ref<string>;
65
+ srmI18n: SrmI18n;
61
66
  busAccount: ComputedRef<string>;
62
67
  shake: Ref<boolean>;
63
68
  formRef: Ref<FormInstance | undefined>;
@@ -2,7 +2,8 @@ import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
2
2
  import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
3
3
  import type { PickerLocale } from 'ant-design-vue/es/date-picker/generatePicker';
4
4
  import type { RuleObject } from 'ant-design-vue/es/form';
5
- import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
5
+ import type { SrmI18n } from '../../../utils/type';
6
+ import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
6
7
  import type { PageButton, RecordString, FormFieldsItem } from '../../edit-page-layout';
7
8
  import type { MixSelectArgs } from '../../select';
8
9
  import type { TreeSelectPayload } from '../../tree-select';
@@ -53,6 +54,10 @@ declare const _sfc_main: DefineComponent<{
53
54
  readonly default: "1";
54
55
  };
55
56
  }, {
57
+ groupName: Ref<string>;
58
+ groupNameI18nKey: Ref<string>;
59
+ groupCode: Ref<string>;
60
+ srmI18n: SrmI18n;
56
61
  busAccount: ComputedRef<string>;
57
62
  shake: Ref<boolean>;
58
63
  formRef: Ref<FormInstance | undefined>;
@@ -1,8 +1,9 @@
1
1
  import type { ruleItem } from './src/hook/use-grid-config-hook';
2
2
  import type { RecordString } from '../select-modal';
3
+ import type { SrmI18n } from '../../utils/type';
3
4
  import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
4
5
  import type { PageButton, ColumnItem, PageButtonWithGroupCode, PageDownLoadButton, PageButtonDeleteFileRow, GridCheckboxChangeParams, GridCheckboxAllParams } from '../edit-page-layout';
5
- import type { DefineComponent, PropType, ComputedRef, Ref, CSSProperties, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
6
+ import type { DefineComponent, PropType, Ref, ComputedRef, CSSProperties, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
6
7
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
7
8
  import QEditForm from './src/edit-grid.vue';
8
9
  export * from './src/edit-grid-types';
@@ -57,13 +58,15 @@ declare const _default: SFCWithInstall<DefineComponent<{
57
58
  readonly default: false;
58
59
  };
59
60
  }, {
61
+ groupName: Ref<string>;
62
+ groupNameI18nKey: Ref<string>;
63
+ groupCode: Ref<string>;
64
+ srmI18n: SrmI18n;
60
65
  classes: ComputedRef<{
61
66
  [key: string]: string | boolean;
62
67
  }>;
63
68
  buttons: Ref<PageButton[]>;
64
- groupName: Ref<string>;
65
69
  total: Ref<Record<string, any>>;
66
- groupCode: Ref<string>;
67
70
  wrapBoxHeight: ComputedRef<number>;
68
71
  isVertical: ComputedRef<boolean>;
69
72
  style: ComputedRef<CSSProperties>;
@@ -1,5 +1,6 @@
1
1
  import type { ruleItem } from './hook/use-grid-config-hook';
2
- import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
2
+ import type { SrmI18n } from '../../../utils/type';
3
+ import type { DefineComponent, PropType, Ref, ComputedRef, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, CSSProperties } from 'vue';
3
4
  import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordString, PageDownLoadButton, PageButtonDeleteFileRow, GridCheckboxChangeParams, GridCheckboxAllParams } from '../../edit-page-layout';
4
5
  import type { VxeTableDataRow, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
5
6
  declare const _sfc_main: DefineComponent<{
@@ -52,13 +53,15 @@ declare const _sfc_main: DefineComponent<{
52
53
  readonly default: false;
53
54
  };
54
55
  }, {
56
+ groupName: Ref<string>;
57
+ groupNameI18nKey: Ref<string>;
58
+ groupCode: Ref<string>;
59
+ srmI18n: SrmI18n;
55
60
  classes: ComputedRef<{
56
61
  [key: string]: string | boolean;
57
62
  }>;
58
63
  buttons: Ref<PageButton[]>;
59
- groupName: Ref<string>;
60
64
  total: Ref<Record<string, any>>;
61
- groupCode: Ref<string>;
62
65
  wrapBoxHeight: ComputedRef<number>;
63
66
  isVertical: ComputedRef<boolean>;
64
67
  style: ComputedRef<CSSProperties>;