@qqt-product/ui 14.1.0 → 16.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 (119) hide show
  1. package/dist/index.es.js +74893 -72513
  2. package/dist/index.umd.js +143 -161
  3. package/dist/lib/components/audit-modal/index.d.ts +4 -4
  4. package/dist/lib/components/audit-modal/src/audit-modal.vue.d.ts +4 -4
  5. package/dist/lib/components/audit-modal/src/component/addNodeHistoryModal.vue.d.ts +4 -4
  6. package/dist/lib/components/audit-modal/src/component/afterSignModal.vue.d.ts +232 -0
  7. package/dist/lib/components/audit-modal/src/component/approvalOpinionModal.vue.d.ts +15 -4
  8. package/dist/lib/components/basicTitle/index.d.ts +96 -0
  9. package/dist/lib/components/basicTitle/src/BasicHelp.d.ts +99 -0
  10. package/dist/lib/components/basicTitle/src/BasicTitle.vue.d.ts +123 -0
  11. package/dist/lib/components/breadcrumb/index.d.ts +2 -7
  12. package/dist/lib/components/card-list-layout/index.d.ts +1 -1
  13. package/dist/lib/components/card-list-layout/src/index.vue.d.ts +1 -1
  14. package/dist/lib/components/cascader/index.d.ts +3 -3
  15. package/dist/lib/components/cascader/src/cascader-types.d.ts +1 -1
  16. package/dist/lib/components/cascader/src/cascader.vue.d.ts +3 -3
  17. package/dist/lib/components/checkbox/index.d.ts +4 -4
  18. package/dist/lib/components/checkbox/src/checkbox-types.d.ts +1 -1
  19. package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
  20. package/dist/lib/components/code-editor-model/index.d.ts +5 -0
  21. package/dist/lib/components/code-editor-model/src/code-editor-model.vue.d.ts +23 -9
  22. package/dist/lib/components/countdown/index.d.ts +2 -2
  23. package/dist/lib/components/countdown/src/countdown.d.ts +2 -2
  24. package/dist/lib/components/currency/index.d.ts +3 -3
  25. package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
  26. package/dist/lib/components/custom-remote-select/src/type.d.ts +7 -0
  27. package/dist/lib/components/detail-grid/index.d.ts +14 -4
  28. package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +14 -4
  29. package/dist/lib/components/edit-form/index.d.ts +2 -2
  30. package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +2 -2
  31. package/dist/lib/components/edit-grid/index.d.ts +14 -4
  32. package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +4 -0
  33. package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +14 -4
  34. package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +1 -1
  35. package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +1 -0
  36. package/dist/lib/components/empty/index.d.ts +2 -2
  37. package/dist/lib/components/flow-view/index.d.ts +1 -1
  38. package/dist/lib/components/flow-view/src/flow-view.d.ts +1 -1
  39. package/dist/lib/components/import-modal/index.d.ts +1 -1
  40. package/dist/lib/components/import-modal/src/import-modal.vue.d.ts +1 -1
  41. package/dist/lib/components/index.d.ts +6 -1
  42. package/dist/lib/components/ladder-price/index.d.ts +2 -2
  43. package/dist/lib/components/ladder-price/src/ladder-price.vue.d.ts +2 -2
  44. package/dist/lib/components/layout/index.d.ts +8 -3
  45. package/dist/lib/components/layout/src/header/index.vue.d.ts +1 -1
  46. package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +1 -1
  47. package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
  48. package/dist/lib/components/layout/src/index.vue.d.ts +8 -3
  49. package/dist/lib/components/layout/src/sider/index.vue.d.ts +7 -2
  50. package/dist/lib/components/layout/src/sider/logo.vue.d.ts +7 -2
  51. package/dist/lib/components/layout-anchor/index.d.ts +5 -0
  52. package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +5 -0
  53. package/dist/lib/components/layout-pattern/index.d.ts +7 -2
  54. package/dist/lib/components/layout-pattern/src/hook/use-audit-button-hook.d.ts +1 -1
  55. package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +7 -2
  56. package/dist/lib/components/list-page-layout/index.d.ts +1 -1
  57. package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +1 -1
  58. package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +6 -6
  59. package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +1 -1
  60. package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +1 -1
  61. package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +1 -1
  62. package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -2
  63. package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +1 -1
  64. package/dist/lib/components/menu/index.d.ts +2 -80
  65. package/dist/lib/components/modal/index.d.ts +1364 -0
  66. package/dist/lib/components/modal/src/BasicModal.vue.d.ts +1358 -0
  67. package/dist/lib/components/modal/src/components/Modal.d.ts +255 -0
  68. package/dist/lib/components/modal/src/components/ModalClose.vue.d.ts +56 -0
  69. package/dist/lib/components/modal/src/components/ModalFooter.vue.d.ts +262 -0
  70. package/dist/lib/components/modal/src/components/ModalHeader.vue.d.ts +19 -0
  71. package/dist/lib/components/modal/src/components/ModalWrapper.vue.d.ts +102 -0
  72. package/dist/lib/components/modal/src/hooks/useModal.d.ts +6 -0
  73. package/dist/lib/components/modal/src/hooks/useModalContext.d.ts +7 -0
  74. package/dist/lib/components/modal/src/hooks/useModalDrag.d.ts +7 -0
  75. package/dist/lib/components/modal/src/hooks/useModalFullScreen.d.ts +11 -0
  76. package/dist/lib/components/modal/src/props.d.ts +150 -0
  77. package/dist/lib/components/modal/src/typing.d.ts +204 -0
  78. package/dist/lib/components/page-layout/src/util.d.ts +18 -2
  79. package/dist/lib/components/radio/index.d.ts +4 -4
  80. package/dist/lib/components/radio/src/radio-types.d.ts +1 -1
  81. package/dist/lib/components/radio/src/radio.vue.d.ts +4 -4
  82. package/dist/lib/components/relation-graph/index.d.ts +6 -0
  83. package/dist/lib/components/relation-graph/src/relation-graph.vue.d.ts +89 -0
  84. package/dist/lib/components/remote-select/index.d.ts +2 -2
  85. package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +2 -2
  86. package/dist/lib/components/sale-template/index.d.ts +2 -1
  87. package/dist/lib/components/scrollContainer/index.d.ts +14 -0
  88. package/dist/lib/components/scrollContainer/src/ScrollContainer.vue.d.ts +10 -0
  89. package/dist/lib/components/scrollContainer/src/typing.d.ts +17 -0
  90. package/dist/lib/components/scrollbar/index.d.ts +80 -0
  91. package/dist/lib/components/scrollbar/src/Scrollbar.vue.d.ts +73 -0
  92. package/dist/lib/components/scrollbar/src/bar.d.ts +15 -0
  93. package/dist/lib/components/scrollbar/src/types.d.ts +18 -0
  94. package/dist/lib/components/scrollbar/src/util.d.ts +8 -0
  95. package/dist/lib/components/select/index.d.ts +2 -2
  96. package/dist/lib/components/select/src/select.vue.d.ts +2 -2
  97. package/dist/lib/components/select-modal/index.d.ts +2 -2
  98. package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +2 -2
  99. package/dist/lib/components/tree-select/index.d.ts +2 -2
  100. package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +2 -2
  101. package/dist/lib/components/upload-file/index.d.ts +4 -4
  102. package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +4 -4
  103. package/dist/lib/components/upload-image/index.d.ts +4 -3
  104. package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +4 -3
  105. package/dist/lib/hooks/core/useAttrs.d.ts +9 -0
  106. package/dist/lib/hooks/core/useContext.d.ts +11 -0
  107. package/dist/lib/hooks/core/useTimeout.d.ts +11 -0
  108. package/dist/lib/hooks/event/useScrollTo.d.ts +10 -0
  109. package/dist/lib/hooks/event/useWindowSizeFn.d.ts +7 -0
  110. package/dist/lib/index.d.ts +1 -0
  111. package/dist/lib/types/index.d.ts +32 -0
  112. package/dist/lib/utils/domUtils.d.ts +36 -0
  113. package/dist/lib/utils/event/index.d.ts +3 -0
  114. package/dist/lib/utils/helper/tsxHelper.d.ts +13 -0
  115. package/dist/lib/utils/index.d.ts +7 -0
  116. package/dist/lib/utils/is.d.ts +22 -0
  117. package/dist/lib/utils/log.d.ts +2 -0
  118. package/dist/style.css +1 -1
  119. package/package.json +15 -13
@@ -0,0 +1,123 @@
1
+ import type { DefineComponent, Slot, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{
3
+ /**
4
+ * Help text list or string
5
+ * @default: ''
6
+ */
7
+ helpMessage: {
8
+ type: PropType<string | string[]>;
9
+ default: string;
10
+ };
11
+ /**
12
+ * Whether the color block on the left side of the title
13
+ * @default: false
14
+ */
15
+ span: {
16
+ type: BooleanConstructor;
17
+ };
18
+ /**
19
+ * Whether to default the text, that is, not bold
20
+ * @default: false
21
+ */
22
+ normal: {
23
+ type: BooleanConstructor;
24
+ };
25
+ }, {
26
+ props: any;
27
+ prefixCls: string;
28
+ slots: Readonly<{
29
+ [name: string]: Slot<any> | undefined;
30
+ }>;
31
+ getClass: ComputedRef<(string | {
32
+ [x: string]: false | Slot<any> | undefined;
33
+ } | {
34
+ [x: string]: boolean;
35
+ })[]>;
36
+ readonly BasicHelp: DefineComponent<{
37
+ maxWidth: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ showIndex: {
42
+ type: BooleanConstructor; /**
43
+ * Whether to default the text, that is, not bold
44
+ * @default: false
45
+ */
46
+ };
47
+ color: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ };
51
+ fontSize: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ placement: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ text: {
60
+ type: PropType<string | string[]>;
61
+ };
62
+ }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
63
+ maxWidth: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ showIndex: {
68
+ type: BooleanConstructor; /**
69
+ * Whether to default the text, that is, not bold
70
+ * @default: false
71
+ */
72
+ };
73
+ color: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ fontSize: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ placement: {
82
+ type: StringConstructor;
83
+ default: string;
84
+ };
85
+ text: {
86
+ type: PropType<string | string[]>;
87
+ };
88
+ }>>, {
89
+ maxWidth: string;
90
+ showIndex: boolean;
91
+ color: string;
92
+ fontSize: string;
93
+ placement: string;
94
+ }, {}>;
95
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
96
+ /**
97
+ * Help text list or string
98
+ * @default: ''
99
+ */
100
+ helpMessage: {
101
+ type: PropType<string | string[]>;
102
+ default: string;
103
+ };
104
+ /**
105
+ * Whether the color block on the left side of the title
106
+ * @default: false
107
+ */
108
+ span: {
109
+ type: BooleanConstructor;
110
+ };
111
+ /**
112
+ * Whether to default the text, that is, not bold
113
+ * @default: false
114
+ */
115
+ normal: {
116
+ type: BooleanConstructor;
117
+ };
118
+ }>>, {
119
+ span: boolean;
120
+ helpMessage: string | string[];
121
+ normal: boolean;
122
+ }, {}>;
123
+ export default _sfc_main;
@@ -1,10 +1,5 @@
1
- import type { RouteRecordName, RouteLocationMatched } from 'vue-router';
2
- import type { DefineComponent, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
- import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
1
  import QBreadcrumb from './src/breadcrumb.vue';
2
+ import type { Plugin } from 'vue';
5
3
  export { QBreadcrumb };
6
- declare const _default: SFCWithInstall<DefineComponent<{}, {
7
- name: ComputedRef<RouteRecordName | null | undefined>;
8
- breadList: ComputedRef<RouteLocationMatched[]>;
9
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>>;
4
+ declare const _default: Plugin<any[]>;
10
5
  export default _default;
@@ -48,7 +48,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
48
48
  enabled?: boolean | undefined;
49
49
  slots?: any;
50
50
  size?: SizeType | undefined;
51
- layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
51
+ layouts?: ("Number" | "PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Jump")[] | undefined;
52
52
  currentPage?: number | undefined;
53
53
  loading?: boolean | undefined;
54
54
  pageSize?: number | undefined;
@@ -45,7 +45,7 @@ declare const _sfc_main: DefineComponent<{
45
45
  enabled?: boolean | undefined;
46
46
  slots?: any;
47
47
  size?: SizeType | undefined;
48
- layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
48
+ layouts?: ("Number" | "PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Jump")[] | undefined;
49
49
  currentPage?: number | undefined;
50
50
  loading?: boolean | undefined;
51
51
  pageSize?: number | undefined;
@@ -1,4 +1,4 @@
1
- import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
1
+ import type { CascaderOptionType } from 'ant-design-vue/es/cascader';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
4
4
  import QCascader from './src/cascader.vue';
@@ -48,7 +48,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
48
48
  disabled?: boolean | undefined;
49
49
  }[] | undefined>;
50
50
  onChange: (value: string[], selectedOptions: CascaderOptionType[] | undefined) => void;
51
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
51
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
52
52
  readonly value: {
53
53
  readonly type: StringConstructor;
54
54
  readonly default: "";
@@ -81,10 +81,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
81
81
  onChange?: ((...args: any[]) => any) | undefined;
82
82
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
83
83
  }, {
84
+ readonly value: string;
84
85
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
85
86
  readonly busAccount: string;
86
87
  readonly placeholder: string;
87
- readonly value: string;
88
88
  readonly options: CascaderOptionType[] | undefined;
89
89
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
90
90
  readonly dictCode: string;
@@ -1,4 +1,4 @@
1
- import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
1
+ import type { CascaderOptionType } from 'ant-design-vue/es/cascader';
2
2
  import type { ComputedRef, PropType, ExtractPropTypes } from 'vue';
3
3
  export declare const cascaderProps: {
4
4
  readonly value: {
@@ -1,4 +1,4 @@
1
- import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
1
+ import type { CascaderOptionType } from 'ant-design-vue/es/cascader';
2
2
  import type { DefineComponent, PropType, ComputedRef, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
3
  import type { CascaderProps } from 'ant-design-vue';
4
4
  declare const _sfc_main: DefineComponent<{
@@ -45,7 +45,7 @@ declare const _sfc_main: DefineComponent<{
45
45
  disabled?: boolean | undefined;
46
46
  }[] | undefined>;
47
47
  onChange: (value: string[], selectedOptions: CascaderProps['options']) => void;
48
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
48
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
49
49
  readonly value: {
50
50
  readonly type: StringConstructor;
51
51
  readonly default: "";
@@ -78,10 +78,10 @@ declare const _sfc_main: DefineComponent<{
78
78
  onChange?: ((...args: any[]) => any) | undefined;
79
79
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
80
80
  }, {
81
+ readonly value: string;
81
82
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
82
83
  readonly busAccount: string;
83
84
  readonly placeholder: string;
84
- readonly value: string;
85
85
  readonly options: CascaderOptionType[] | undefined;
86
86
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
87
87
  readonly dictCode: string;
@@ -7,7 +7,7 @@ export { QCheckBox };
7
7
  declare const _default: SFCWithInstall<DefineComponent<{
8
8
  readonly required: {
9
9
  readonly type: PropType<"0" | "1">;
10
- readonly default: 1;
10
+ readonly default: "1";
11
11
  };
12
12
  readonly options: {
13
13
  readonly type: PropType<Option[]>;
@@ -54,10 +54,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
54
54
  isLayout: Ref<boolean>;
55
55
  colSpan: Ref<string | number>;
56
56
  onChange: (checkedValues: []) => void;
57
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
57
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
58
58
  readonly required: {
59
59
  readonly type: PropType<"0" | "1">;
60
- readonly default: 1;
60
+ readonly default: "1";
61
61
  };
62
62
  readonly options: {
63
63
  readonly type: PropType<Option[]>;
@@ -99,9 +99,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
99
99
  onChange?: ((...args: any[]) => any) | undefined;
100
100
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
101
101
  }, {
102
+ readonly value: string;
102
103
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
103
104
  readonly busAccount: string;
104
- readonly value: string;
105
105
  readonly options: Option[];
106
106
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
107
107
  readonly dictCode: string;
@@ -12,7 +12,7 @@ export type checkBoxOptions = Option;
12
12
  export declare const checkBoxProps: {
13
13
  readonly required: {
14
14
  readonly type: PropType<"0" | "1">;
15
- readonly default: 1;
15
+ readonly default: "1";
16
16
  };
17
17
  readonly options: {
18
18
  readonly type: PropType<Option[]>;
@@ -3,7 +3,7 @@ import { Option } from './checkbox-types';
3
3
  declare const _sfc_main: DefineComponent<{
4
4
  readonly required: {
5
5
  readonly type: PropType<"0" | "1">;
6
- readonly default: 1;
6
+ readonly default: "1";
7
7
  };
8
8
  readonly options: {
9
9
  readonly type: PropType<Option[]>;
@@ -50,10 +50,10 @@ declare const _sfc_main: DefineComponent<{
50
50
  isLayout: Ref<boolean>;
51
51
  colSpan: Ref<string | number>;
52
52
  onChange: (checkedValues: []) => void;
53
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
53
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
54
54
  readonly required: {
55
55
  readonly type: PropType<"0" | "1">;
56
- readonly default: 1;
56
+ readonly default: "1";
57
57
  };
58
58
  readonly options: {
59
59
  readonly type: PropType<Option[]>;
@@ -95,9 +95,9 @@ declare const _sfc_main: DefineComponent<{
95
95
  onChange?: ((...args: any[]) => any) | undefined;
96
96
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
97
97
  }, {
98
+ readonly value: string;
98
99
  readonly onChange: ((value: string) => void) | ((value: string) => void)[];
99
100
  readonly busAccount: string;
100
- readonly value: string;
101
101
  readonly options: Option[];
102
102
  readonly 'onUpdate:value': ((value: string) => void) | ((value: string) => void)[];
103
103
  readonly dictCode: string;
@@ -0,0 +1,5 @@
1
+ import QCodeEditorModel from './src/code-editor-model.vue';
2
+ import type { Plugin } from 'vue';
3
+ export { QCodeEditorModel };
4
+ declare const _default: Plugin<any[]>;
5
+ export default _default;
@@ -1,11 +1,12 @@
1
+ import type { EditTwoToneIconType } from '@ant-design/icons-vue/lib/icons/EditTwoTone';
1
2
  import type { SrmI18n } from '../../../utils/type';
2
3
  import type { DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
3
4
  import type { LanguageSupport } from '@codemirror/language';
4
- interface mixButtonType extends Array<string> {
5
+ interface MixButton {
5
6
  name: string;
6
7
  key: string;
7
8
  arrts: {
8
- type: 'primary';
9
+ type?: string;
9
10
  };
10
11
  callback: (params: string) => void;
11
12
  }
@@ -14,6 +15,10 @@ declare const _sfc_main: DefineComponent<{
14
15
  type: BooleanConstructor;
15
16
  default: boolean;
16
17
  };
18
+ zIndex: {
19
+ type: NumberConstructor;
20
+ default: number;
21
+ };
17
22
  value: {
18
23
  type: StringConstructor;
19
24
  default: string;
@@ -45,8 +50,15 @@ declare const _sfc_main: DefineComponent<{
45
50
  default: () => never[];
46
51
  };
47
52
  }, {
48
- code: Ref<string>;
53
+ props: any;
54
+ emit: (event: "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", ...args: any[]) => void;
55
+ srmI18n: SrmI18n;
49
56
  visible: Ref<boolean>;
57
+ code: Ref<string>;
58
+ vattrs: Ref<{
59
+ [x: string]: unknown;
60
+ }>;
61
+ lang: LanguageSupport;
50
62
  editorOption: {
51
63
  disabled: boolean;
52
64
  indentWithTab: boolean;
@@ -141,21 +153,22 @@ declare const _sfc_main: DefineComponent<{
141
153
  };
142
154
  };
143
155
  };
144
- srmI18n: SrmI18n;
156
+ mixButton: ComputedRef<MixButton[]>;
145
157
  handleSureClick: () => void;
146
158
  handleSureClose: () => void;
147
159
  handleToOpenMode: () => void;
148
- vattrs: Ref<{
149
- [x: string]: unknown;
150
- }>;
151
- mixButton: ComputedRef<mixButtonType[]>;
152
- lang: LanguageSupport;
153
160
  handleToOpenValueMode: (val: string) => void;
161
+ readonly CodeMirror: any;
162
+ readonly EditTwoTone: EditTwoToneIconType;
154
163
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag")[], "update:value" | "handleSureClick" | "handleSureClose" | "update:editorModalFlag", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
155
164
  editorModalFlag: {
156
165
  type: BooleanConstructor;
157
166
  default: boolean;
158
167
  };
168
+ zIndex: {
169
+ type: NumberConstructor;
170
+ default: number;
171
+ };
159
172
  value: {
160
173
  type: StringConstructor;
161
174
  default: string;
@@ -196,6 +209,7 @@ declare const _sfc_main: DefineComponent<{
196
209
  options: Record<string, any>;
197
210
  disabled: boolean;
198
211
  editorModalFlag: boolean;
212
+ zIndex: number;
199
213
  isAllowToOpenMode: boolean;
200
214
  showLabel: string;
201
215
  customButton: unknown[];
@@ -54,7 +54,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
54
54
  };
55
55
  }, () => VNode<RendererNode, RendererElement, {
56
56
  [key: string]: any;
57
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "end" | "start" | "abort")[], "progress" | "end" | "start" | "abort", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
57
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("abort" | "progress" | "end" | "start")[], "abort" | "progress" | "end" | "start", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
58
58
  readonly autoStart: {
59
59
  readonly type: BooleanConstructor;
60
60
  readonly default: true;
@@ -107,11 +107,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
107
107
  onEnd?: ((...args: any[]) => any) | undefined;
108
108
  onStart?: ((...args: any[]) => any) | undefined;
109
109
  }, {
110
+ readonly abort: (() => void) | (() => void)[];
110
111
  readonly progress: ((params: ProgressParams) => void) | ((params: ProgressParams) => void)[];
111
112
  readonly time: number;
112
113
  readonly end: (() => void) | (() => void)[];
113
114
  readonly start: (() => void) | (() => void)[];
114
- readonly abort: (() => void) | (() => void)[];
115
115
  readonly autoStart: boolean;
116
116
  readonly emitEvents: boolean;
117
117
  readonly interval: number;
@@ -50,7 +50,7 @@ declare const _default: DefineComponent<{
50
50
  };
51
51
  }, () => VNode<RendererNode, RendererElement, {
52
52
  [key: string]: any;
53
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("progress" | "end" | "start" | "abort")[], "progress" | "end" | "start" | "abort", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
53
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("abort" | "progress" | "end" | "start")[], "abort" | "progress" | "end" | "start", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
54
54
  readonly autoStart: {
55
55
  readonly type: BooleanConstructor;
56
56
  readonly default: true;
@@ -103,11 +103,11 @@ declare const _default: DefineComponent<{
103
103
  onEnd?: ((...args: any[]) => any) | undefined;
104
104
  onStart?: ((...args: any[]) => any) | undefined;
105
105
  }, {
106
+ readonly abort: (() => void) | (() => void)[];
106
107
  readonly progress: ((params: ProgressParams) => void) | ((params: ProgressParams) => void)[];
107
108
  readonly time: number;
108
109
  readonly end: (() => void) | (() => void)[];
109
110
  readonly start: (() => void) | (() => void)[];
110
- readonly abort: (() => void) | (() => void)[];
111
111
  readonly autoStart: boolean;
112
112
  readonly emitEvents: boolean;
113
113
  readonly interval: number;
@@ -35,8 +35,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
35
35
  readonly default: true;
36
36
  };
37
37
  }, {
38
- type: Ref<Type>;
39
38
  value: Ref<string | number>;
39
+ type: Ref<Type>;
40
40
  disabled: Ref<boolean>;
41
41
  config: Ref<Record<string, any>>;
42
42
  dataFormat: Ref<string>;
@@ -52,7 +52,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
52
52
  currencyValue: Ref<string>;
53
53
  formatValue: Ref<string>;
54
54
  isCurrencyType: ComputedRef<boolean>;
55
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
55
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
56
56
  readonly config: {
57
57
  readonly type: ObjectConstructor;
58
58
  readonly default: () => {};
@@ -86,8 +86,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
86
86
  onChange?: ((...args: any[]) => any) | undefined;
87
87
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
88
88
  }, {
89
- readonly type: Type;
90
89
  readonly value: string | number;
90
+ readonly type: Type;
91
91
  readonly disabled: boolean;
92
92
  readonly config: Record<string, any>;
93
93
  readonly dataFormat: string;
@@ -31,8 +31,8 @@ declare const _sfc_main: DefineComponent<{
31
31
  readonly default: true;
32
32
  };
33
33
  }, {
34
- type: Ref<Type>;
35
34
  value: Ref<string | number>;
35
+ type: Ref<Type>;
36
36
  disabled: Ref<boolean>;
37
37
  config: Ref<Record<string, any>>;
38
38
  dataFormat: Ref<string>;
@@ -48,7 +48,7 @@ declare const _sfc_main: DefineComponent<{
48
48
  currencyValue: Ref<string>;
49
49
  formatValue: Ref<string>;
50
50
  isCurrencyType: ComputedRef<boolean>;
51
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:value" | "change")[], "update:value" | "change", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
51
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
52
52
  readonly config: {
53
53
  readonly type: ObjectConstructor;
54
54
  readonly default: () => {};
@@ -82,8 +82,8 @@ declare const _sfc_main: DefineComponent<{
82
82
  onChange?: ((...args: any[]) => any) | undefined;
83
83
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
84
84
  }, {
85
- readonly type: Type;
86
85
  readonly value: string | number;
86
+ readonly type: Type;
87
87
  readonly disabled: boolean;
88
88
  readonly config: Record<string, any>;
89
89
  readonly dataFormat: string;
@@ -0,0 +1,7 @@
1
+ export interface PropertyType {
2
+ pageSize: number;
3
+ pageNo: number;
4
+ total?: number;
5
+ curTotal?: number;
6
+ keyWord?: '';
7
+ }
@@ -59,6 +59,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
59
59
  readonly type: PropType<boolean>;
60
60
  readonly default: false;
61
61
  };
62
+ readonly setMaxHeight: {
63
+ readonly type: PropType<boolean>;
64
+ readonly default: true;
65
+ };
62
66
  }, {
63
67
  groupName: Ref<string>;
64
68
  groupNameI18nKey: Ref<string>;
@@ -68,7 +72,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
68
72
  [key: string]: string | boolean;
69
73
  }>;
70
74
  buttons: Ref<PageButton[]>;
71
- wrapBoxHeight: ComputedRef<number>;
75
+ setMaxHeight: Ref<boolean>;
76
+ wrapBoxHeight: ComputedRef<string | number>;
72
77
  isVertical: ComputedRef<boolean>;
73
78
  xGrid: Ref<VxeGridInstance<any> | undefined>;
74
79
  gridOptions: {
@@ -1924,7 +1929,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1924
1929
  }) => VxeTableDefines.ColumnOptions<VxeTableDataRow>[]) | undefined;
1925
1930
  } | undefined;
1926
1931
  editConfig?: {
1927
- trigger?: "" | "click" | "manual" | "dblclick" | null | undefined;
1932
+ trigger?: "" | "click" | "dblclick" | "manual" | null | undefined;
1928
1933
  enabled?: boolean | undefined;
1929
1934
  mode?: string | undefined;
1930
1935
  icon?: string | undefined;
@@ -1987,7 +1992,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
1987
1992
  scrollToLeftOnChange?: boolean | undefined;
1988
1993
  } | undefined;
1989
1994
  scrollY?: {
1990
- mode?: "default" | "wheel" | undefined;
1995
+ mode?: "wheel" | "default" | undefined;
1991
1996
  gt?: number | undefined;
1992
1997
  oSize?: number | undefined;
1993
1998
  enabled?: boolean | undefined;
@@ -2266,7 +2271,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
2266
2271
  enabled?: boolean | undefined;
2267
2272
  slots?: any;
2268
2273
  size?: SizeType | undefined;
2269
- layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
2274
+ layouts?: ("Number" | "PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Jump")[] | undefined;
2270
2275
  currentPage?: number | undefined;
2271
2276
  loading?: boolean | undefined;
2272
2277
  pageSize?: number | undefined;
@@ -2693,6 +2698,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
2693
2698
  readonly type: PropType<boolean>;
2694
2699
  readonly default: false;
2695
2700
  };
2701
+ readonly setMaxHeight: {
2702
+ readonly type: PropType<boolean>;
2703
+ readonly default: true;
2704
+ };
2696
2705
  }>>, {
2697
2706
  readonly total: Record<string, any>;
2698
2707
  readonly columns: ColumnItem[];
@@ -2707,5 +2716,6 @@ declare const _default: SFCWithInstall<DefineComponent<{
2707
2716
  readonly slot: boolean;
2708
2717
  readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
2709
2718
  readonly useAllConfig: boolean;
2719
+ readonly setMaxHeight: boolean;
2710
2720
  }, {}>>;
2711
2721
  export default _default;
@@ -55,6 +55,10 @@ declare const _sfc_main: DefineComponent<{
55
55
  readonly type: PropType<boolean>;
56
56
  readonly default: false;
57
57
  };
58
+ readonly setMaxHeight: {
59
+ readonly type: PropType<boolean>;
60
+ readonly default: true;
61
+ };
58
62
  }, {
59
63
  groupName: Ref<string>;
60
64
  groupNameI18nKey: Ref<string>;
@@ -64,7 +68,8 @@ declare const _sfc_main: DefineComponent<{
64
68
  [key: string]: string | boolean;
65
69
  }>;
66
70
  buttons: Ref<PageButton[]>;
67
- wrapBoxHeight: ComputedRef<number>;
71
+ setMaxHeight: Ref<boolean>;
72
+ wrapBoxHeight: ComputedRef<string | number>;
68
73
  isVertical: ComputedRef<boolean>;
69
74
  xGrid: Ref<VxeGridInstance<any> | undefined>;
70
75
  gridOptions: {
@@ -1920,7 +1925,7 @@ declare const _sfc_main: DefineComponent<{
1920
1925
  }) => VxeTableDefines.ColumnOptions<VxeTableDataRow>[]) | undefined;
1921
1926
  } | undefined;
1922
1927
  editConfig?: {
1923
- trigger?: "" | "click" | "manual" | "dblclick" | null | undefined;
1928
+ trigger?: "" | "click" | "dblclick" | "manual" | null | undefined;
1924
1929
  enabled?: boolean | undefined;
1925
1930
  mode?: string | undefined;
1926
1931
  icon?: string | undefined;
@@ -1983,7 +1988,7 @@ declare const _sfc_main: DefineComponent<{
1983
1988
  scrollToLeftOnChange?: boolean | undefined;
1984
1989
  } | undefined;
1985
1990
  scrollY?: {
1986
- mode?: "default" | "wheel" | undefined;
1991
+ mode?: "wheel" | "default" | undefined;
1987
1992
  gt?: number | undefined;
1988
1993
  oSize?: number | undefined;
1989
1994
  enabled?: boolean | undefined;
@@ -2262,7 +2267,7 @@ declare const _sfc_main: DefineComponent<{
2262
2267
  enabled?: boolean | undefined;
2263
2268
  slots?: any;
2264
2269
  size?: SizeType | undefined;
2265
- layouts?: ("PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Number" | "Jump")[] | undefined;
2270
+ layouts?: ("Number" | "PrevJump" | "PrevPage" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "FullJump" | "PageCount" | "Total" | "Jump")[] | undefined;
2266
2271
  currentPage?: number | undefined;
2267
2272
  loading?: boolean | undefined;
2268
2273
  pageSize?: number | undefined;
@@ -2689,6 +2694,10 @@ declare const _sfc_main: DefineComponent<{
2689
2694
  readonly type: PropType<boolean>;
2690
2695
  readonly default: false;
2691
2696
  };
2697
+ readonly setMaxHeight: {
2698
+ readonly type: PropType<boolean>;
2699
+ readonly default: true;
2700
+ };
2692
2701
  }>>, {
2693
2702
  readonly total: Record<string, any>;
2694
2703
  readonly columns: ColumnItem[];
@@ -2703,5 +2712,6 @@ declare const _sfc_main: DefineComponent<{
2703
2712
  readonly slot: boolean;
2704
2713
  readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
2705
2714
  readonly useAllConfig: boolean;
2715
+ readonly setMaxHeight: boolean;
2706
2716
  }, {}>;
2707
2717
  export default _sfc_main;
@@ -1,7 +1,7 @@
1
1
  import type { MixSelectArgs } from '../select';
2
2
  import type { TreeSelectPayload } from '../tree-select';
3
- import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
4
- import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
3
+ import type { CascaderOptionType } from 'ant-design-vue/es/cascader';
4
+ import type { Breakpoint } from 'ant-design-vue/es/_util/responsiveObserve';
5
5
  import type { RecordString } from '../select-modal';
6
6
  import type { RuleObject } from 'ant-design-vue/es/form';
7
7
  import type { FormInstance } from 'ant-design-vue';
@@ -1,5 +1,5 @@
1
- import type { CascaderOptionType } from 'ant-design-vue/lib/cascader';
2
- import type { Breakpoint } from 'ant-design-vue/lib/_util/responsiveObserve';
1
+ import type { CascaderOptionType } from 'ant-design-vue/es/cascader';
2
+ import type { Breakpoint } from 'ant-design-vue/es/_util/responsiveObserve';
3
3
  import type { RuleObject } from 'ant-design-vue/es/form';
4
4
  import type { SrmI18n } from '../../../utils/type';
5
5
  import type { DefineComponent, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';