@dt-frames/ui 2.0.15 → 2.0.17

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 (99) hide show
  1. package/es/assets/imgs/tree/forder-open.svg +1 -0
  2. package/es/assets/imgs/tree/forder.svg +1 -0
  3. package/es/assets/locales/zh.ts +1 -1
  4. package/es/components/curd/index.js +28 -8
  5. package/es/components/curd/src/components/Curd.d.ts +10 -0
  6. package/es/components/curd/src/hooks/useCurd.d.ts +2 -4
  7. package/es/components/curd/src/props.d.ts +5 -1
  8. package/es/components/drawer/index.js +25 -24
  9. package/es/components/form/index.js +75 -40
  10. package/es/components/form/index.less +16 -0
  11. package/es/components/form/src/props.d.ts +3 -3
  12. package/es/components/modal/index.js +8 -143
  13. package/es/components/modal/index.less +23 -0
  14. package/es/components/modal/src/index.d.ts +2 -84
  15. package/es/components/table/index.js +61 -134
  16. package/es/components/table/index.less +25 -0
  17. package/es/components/table/src/components/editTable/EditTableCell.d.ts +1 -0
  18. package/es/components/table/src/index.d.ts +0 -10
  19. package/es/components/table/src/props.d.ts +0 -4
  20. package/es/components/table/src/types/table.type.d.ts +8 -0
  21. package/es/components/tree/index.js +203 -89
  22. package/es/components/tree/index.less +88 -13
  23. package/es/components/tree/src/basicProps.d.ts +55 -11
  24. package/es/components/tree/src/components/ContextMenu.d.ts +6 -0
  25. package/es/components/tree/src/components/TreeHeader.d.ts +2 -2
  26. package/es/components/tree/src/hooks/useTree.d.ts +3 -2
  27. package/es/components/tree/src/index.d.ts +131 -40
  28. package/es/components/tree/src/type/menu.d.ts +3 -0
  29. package/es/components/tree/src/type/tree.d.ts +0 -1
  30. package/es/components/upload/index.js +112 -65
  31. package/es/components/upload/index.less +17 -1
  32. package/es/components/upload/src/components/WordView.d.ts +1 -0
  33. package/es/components/upload/src/index.d.ts +2 -1
  34. package/es/components/upload/src/utils/upload.d.ts +1 -1
  35. package/es/theme/index.js +314 -309
  36. package/es/theme/index.less +1 -0
  37. package/es/theme/src/components/header/components/size.d.ts +5 -5
  38. package/es/theme/src/components/header/index.d.ts +5 -5
  39. package/es/theme/src/components/header/multiple-header.d.ts +5 -5
  40. package/es/theme/src/index.d.ts +10 -10
  41. package/manualContentPath.js +10 -0
  42. package/package.json +1 -1
  43. package/tsconfig.json +1 -1
  44. package/es/packages/ui/src/assets/locales/en.d.ts +0 -103
  45. package/es/packages/ui/src/assets/locales/index.d.ts +0 -2
  46. package/es/packages/ui/src/assets/locales/zh.d.ts +0 -104
  47. package/es/packages/ui/src/components/form/index.d.ts +0 -7
  48. package/es/packages/ui/src/components/form/src/components/FormButtons.d.ts +0 -105
  49. package/es/packages/ui/src/components/form/src/components/FormItem.d.ts +0 -159
  50. package/es/packages/ui/src/components/form/src/components/componentMap.d.ts +0 -4
  51. package/es/packages/ui/src/components/form/src/components/formIcon.d.ts +0 -1223
  52. package/es/packages/ui/src/components/form/src/components/formInputUseDialog.d.ts +0 -911
  53. package/es/packages/ui/src/components/form/src/components/index.d.ts +0 -4
  54. package/es/packages/ui/src/components/form/src/components/radioButton.d.ts +0 -34
  55. package/es/packages/ui/src/components/form/src/enums/index.d.ts +0 -7
  56. package/es/packages/ui/src/components/form/src/hooks/helper.d.ts +0 -14
  57. package/es/packages/ui/src/components/form/src/hooks/useForm.d.ts +0 -6
  58. package/es/packages/ui/src/components/form/src/hooks/useFormActions.d.ts +0 -12
  59. package/es/packages/ui/src/components/form/src/hooks/useFormEvent.d.ts +0 -25
  60. package/es/packages/ui/src/components/form/src/hooks/useFormValue.d.ts +0 -3
  61. package/es/packages/ui/src/components/form/src/hooks/useFormValues.d.ts +0 -11
  62. package/es/packages/ui/src/components/form/src/hooks/useLabelWidth.d.ts +0 -6
  63. package/es/packages/ui/src/components/form/src/props.d.ts +0 -127
  64. package/es/packages/ui/src/components/form/src/types/actions.type.d.ts +0 -15
  65. package/es/packages/ui/src/components/form/src/types/form.type.d.ts +0 -79
  66. package/es/packages/ui/src/components/form/src/types/items.type.d.ts +0 -409
  67. package/es/packages/ui/src/components/iframe/index.d.ts +0 -2
  68. package/es/packages/ui/src/components/modal/index.d.ts +0 -4
  69. package/es/packages/ui/src/components/modal/src/hooks/useModal.d.ts +0 -5
  70. package/es/packages/ui/src/components/modal/src/props.d.ts +0 -101
  71. package/es/packages/ui/src/components/modal/src/types/modal.type.d.ts +0 -17
  72. package/es/packages/ui/src/components/upload/index.d.ts +0 -4
  73. package/es/packages/ui/src/components/upload/src/basicProps.d.ts +0 -87
  74. package/es/packages/ui/src/components/upload/src/components/PdfView.d.ts +0 -9
  75. package/es/packages/ui/src/components/upload/src/components/WordView.d.ts +0 -6
  76. package/es/packages/ui/src/components/upload/src/hooks/useFile.d.ts +0 -16
  77. package/es/packages/ui/src/components/upload/src/index.d.ts +0 -242
  78. package/es/packages/ui/src/components/upload/src/type/file.d.ts +0 -10
  79. package/es/packages/ui/src/components/upload/src/utils/upload.d.ts +0 -2
  80. package/es/packages/ui/src/global.d.ts +0 -7
  81. package/es/packages/ui/src/theme/index.d.ts +0 -12
  82. package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +0 -4
  83. package/es/packages/ui/src/theme/src/enums/index.d.ts +0 -1
  84. package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +0 -34
  85. package/es/packages/ui/src/theme/src/hooks/index.d.ts +0 -6
  86. package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +0 -2
  87. package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +0 -25
  88. package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +0 -29
  89. package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +0 -8
  90. package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +0 -7
  91. package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +0 -9
  92. package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +0 -2
  93. package/es/packages/ui/src/theme/src/stores/index.d.ts +0 -3
  94. package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +0 -25
  95. package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +0 -19
  96. package/es/packages/ui/src/theme/src/types/index.d.ts +0 -3
  97. package/es/packages/ui/src/theme/src/types/menu.type.d.ts +0 -15
  98. package/es/packages/ui/src/theme/src/types/theme.type.d.ts +0 -62
  99. package/es/packages/ui/src/utils/withInstall.d.ts +0 -4
@@ -1,159 +0,0 @@
1
- import { PropType, Ref } from 'vue';
2
- import { Recordable } from '@dt-frames/core';
3
- import { FormActionType } from '../types/actions.type';
4
- import { FormSchema } from '../types/form.type';
5
- declare const _sfc_main: {
6
- name: string;
7
- inheritAttrs: boolean;
8
- props: {
9
- schema: {
10
- type: PropType<FormSchema>;
11
- default: () => {};
12
- };
13
- formProps: {
14
- type: PropType<Partial<import("vue").ExtractPropTypes<{
15
- mode: {
16
- type: PropType<"search" | "dialog">;
17
- default: string;
18
- };
19
- autoFetch: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- model: {
24
- type: PropType<Recordable<any>>;
25
- default: () => {};
26
- };
27
- layout: {
28
- type: PropType<"vertical" | "inline" | "horizontal">;
29
- default: string;
30
- };
31
- labelWidth: {
32
- type: PropType<string | number>;
33
- default: number;
34
- };
35
- enLabelWidth: {
36
- type: PropType<string | number>;
37
- default: number;
38
- };
39
- labelAlign: {
40
- type: PropType<"left" | "right">;
41
- default: string;
42
- };
43
- labelCol: {
44
- type: PropType<Partial<import("../types/form.type").ColEx>>;
45
- default: () => {};
46
- };
47
- wrapperCol: {
48
- type: PropType<Partial<import("../types/form.type").ColEx>>;
49
- default: () => {};
50
- };
51
- rowProps: {
52
- type: PropType<Partial<import("vue").ExtractPropTypes<{
53
- align: PropType<"stretch" | "bottom" | "top" | "middle">;
54
- justify: PropType<"space-around" | "space-between" | "center" | "end" | "start">;
55
- prefixCls: StringConstructor;
56
- gutter: {
57
- type: PropType<import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter]>;
58
- default: import("ant-design-vue/lib/grid/Row").Gutter | [import("ant-design-vue/lib/grid/Row").Gutter, import("ant-design-vue/lib/grid/Row").Gutter];
59
- };
60
- wrap: {
61
- type: BooleanConstructor;
62
- default: any;
63
- };
64
- }>>>;
65
- default: () => {};
66
- };
67
- colProps: {
68
- type: PropType<Partial<import("../types/form.type").ColEx>>;
69
- };
70
- span: {
71
- type: NumberConstructor;
72
- };
73
- size: {
74
- type: PropType<"middle" | "small" | "large">;
75
- };
76
- disabled: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- compact: {
81
- type: BooleanConstructor;
82
- default: any;
83
- };
84
- schemas: {
85
- type: PropType<FormSchema[]>;
86
- default: () => any[];
87
- };
88
- autoSearchOnEnter: {
89
- type: BooleanConstructor;
90
- default: boolean;
91
- };
92
- minShowColumn: {
93
- type: NumberConstructor;
94
- default: number;
95
- };
96
- showAdvancedButton: {
97
- type: BooleanConstructor;
98
- default: boolean;
99
- };
100
- allowClear: {
101
- type: BooleanConstructor;
102
- default: boolean;
103
- };
104
- scrollToFirstError: {
105
- type: BooleanConstructor;
106
- default: boolean;
107
- };
108
- colon: {
109
- type: BooleanConstructor;
110
- default: boolean;
111
- };
112
- loading: {
113
- type: PropType<{
114
- [key: string]: Ref<boolean>;
115
- }>;
116
- default: () => {};
117
- };
118
- onSearch: {
119
- type: PropType<(params: Recordable<any>) => void>;
120
- default: (params: Recordable<any>) => void;
121
- };
122
- onReset: {
123
- type: PropType<(params: Recordable<any>) => void>;
124
- default: (params: Recordable<any>) => void;
125
- };
126
- buttons: {
127
- type: PropType<boolean | import("../types/form.type").ButtonProps[]>;
128
- default: boolean;
129
- };
130
- resetFunc: {
131
- type: PropType<() => void>;
132
- };
133
- registerInstance: {
134
- type: PropType<(instance: FormActionType) => void>;
135
- };
136
- }>>>;
137
- default: () => {};
138
- };
139
- defaultValues: {
140
- type: PropType<Recordable<any>>;
141
- default: () => {};
142
- };
143
- formModel: {
144
- type: PropType<Recordable<any>>;
145
- default: () => {};
146
- };
147
- setFormModel: {
148
- type: PropType<(key: string, value: any) => void>;
149
- };
150
- formActionType: {
151
- type: PropType<FormActionType>;
152
- };
153
- };
154
- setup(props: any, { emit, slots }: {
155
- emit: any;
156
- slots: any;
157
- }): () => JSX.Element;
158
- };
159
- export default _sfc_main;
@@ -1,4 +0,0 @@
1
- import { Component } from "vue";
2
- import { ComponentType } from "../types/form.type";
3
- declare const componentMap: Map<ComponentType, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
4
- export { componentMap };