@hbdlzy/ui-core 0.1.4 → 0.1.6

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 (85) hide show
  1. package/README.md +7 -0
  2. package/components.manifest.json +32 -35
  3. package/dist/components/BaseCard/BaseCard.types.d.ts +36 -36
  4. package/dist/components/BaseCard/BaseCard.vue.d.ts +122 -122
  5. package/dist/components/BaseCard/index.d.ts +3 -3
  6. package/dist/components/BaseEChart/BaseEChart.types.d.ts +26 -26
  7. package/dist/components/BaseEChart/BaseEChart.vue.d.ts +66 -66
  8. package/dist/components/BaseEChart/index.d.ts +3 -3
  9. package/dist/components/BaseExportButton/BaseExportButton.types.d.ts +21 -21
  10. package/dist/components/BaseExportButton/BaseExportButton.utils.d.ts +4 -4
  11. package/dist/components/BaseExportButton/BaseExportButton.vue.d.ts +128 -128
  12. package/dist/components/BaseExportButton/index.d.ts +5 -5
  13. package/dist/components/BaseTable/BaseTable.types.d.ts +163 -163
  14. package/dist/components/BaseTable/BaseTable.vue.d.ts +157 -157
  15. package/dist/components/BaseTable/index.d.ts +3 -3
  16. package/dist/components/OutlinedCascader/OutlinedCascader.types.d.ts +28 -25
  17. package/dist/components/OutlinedCascader/OutlinedCascader.vue.d.ts +94 -85
  18. package/dist/components/OutlinedCascader/index.d.ts +3 -3
  19. package/dist/components/OutlinedDatePicker/OutlinedDatePicker.types.d.ts +30 -27
  20. package/dist/components/OutlinedDatePicker/OutlinedDatePicker.vue.d.ts +97 -88
  21. package/dist/components/OutlinedDatePicker/index.d.ts +3 -3
  22. package/dist/components/OutlinedDateTimePicker/OutlinedDateTimePicker.types.d.ts +29 -26
  23. package/dist/components/OutlinedDateTimePicker/OutlinedDateTimePicker.vue.d.ts +106 -97
  24. package/dist/components/OutlinedDateTimePicker/index.d.ts +3 -3
  25. package/dist/components/OutlinedInput/OutlinedInput.types.d.ts +32 -29
  26. package/dist/components/OutlinedInput/OutlinedInput.vue.d.ts +106 -97
  27. package/dist/components/OutlinedInput/index.d.ts +3 -3
  28. package/dist/components/OutlinedSelect/OutlinedSelect.types.d.ts +41 -38
  29. package/dist/components/OutlinedSelect/OutlinedSelect.vue.d.ts +125 -116
  30. package/dist/components/OutlinedSelect/index.d.ts +3 -3
  31. package/dist/components/OutlinedTimePicker/OutlinedTimePicker.types.d.ts +31 -28
  32. package/dist/components/OutlinedTimePicker/OutlinedTimePicker.vue.d.ts +103 -94
  33. package/dist/components/OutlinedTimePicker/index.d.ts +3 -3
  34. package/dist/components/OutlinedTreeSelect/OutlinedTreeSelect.types.d.ts +49 -46
  35. package/dist/components/OutlinedTreeSelect/OutlinedTreeSelect.vue.d.ts +146 -137
  36. package/dist/components/OutlinedTreeSelect/index.d.ts +3 -3
  37. package/dist/echarts/index.d.ts +9 -9
  38. package/dist/excel/exportExcel.d.ts +18 -18
  39. package/dist/index.cjs +42 -1
  40. package/dist/index.d.ts +27 -30
  41. package/dist/index.js +643 -644
  42. package/dist/ripple/index.d.ts +2 -0
  43. package/dist/style.css +1 -1
  44. package/package.json +6 -4
  45. package/src/components/BaseExportButton/BaseExportButton.vue +1 -3
  46. package/src/components/BaseTable/BaseTable.types.ts +1 -1
  47. package/src/components/OutlinedCascader/OutlinedCascader.types.ts +3 -0
  48. package/src/components/OutlinedCascader/OutlinedCascader.vue +71 -6
  49. package/src/components/OutlinedCascader/README.md +3 -0
  50. package/src/components/OutlinedDatePicker/OutlinedDatePicker.types.ts +3 -0
  51. package/src/components/OutlinedDatePicker/OutlinedDatePicker.vue +71 -6
  52. package/src/components/OutlinedDatePicker/README.md +3 -0
  53. package/src/components/OutlinedDateTimePicker/OutlinedDateTimePicker.types.ts +3 -0
  54. package/src/components/OutlinedDateTimePicker/OutlinedDateTimePicker.vue +144 -64
  55. package/src/components/OutlinedDateTimePicker/README.md +3 -0
  56. package/src/components/OutlinedInput/OutlinedInput.types.ts +3 -0
  57. package/src/components/OutlinedInput/OutlinedInput.vue +87 -8
  58. package/src/components/OutlinedInput/README.md +3 -0
  59. package/src/components/OutlinedSelect/OutlinedSelect.types.ts +3 -0
  60. package/src/components/OutlinedSelect/OutlinedSelect.vue +72 -6
  61. package/src/components/OutlinedSelect/README.md +3 -0
  62. package/src/components/OutlinedTimePicker/OutlinedTimePicker.types.ts +3 -0
  63. package/src/components/OutlinedTimePicker/OutlinedTimePicker.vue +75 -8
  64. package/src/components/OutlinedTimePicker/README.md +3 -0
  65. package/src/components/OutlinedTreeSelect/OutlinedTreeSelect.types.ts +3 -0
  66. package/src/components/OutlinedTreeSelect/OutlinedTreeSelect.vue +72 -6
  67. package/src/components/OutlinedTreeSelect/README.md +3 -0
  68. package/src/index.ts +5 -4
  69. package/src/ripple/index.ts +213 -0
  70. package/dist/components/BaseDialog/BaseDialog.types.d.ts +0 -25
  71. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +0 -100
  72. package/dist/components/BaseDialog/index.d.ts +0 -3
  73. package/dist/components/BaseSearchForm/BaseSearchForm.types.d.ts +0 -42
  74. package/dist/components/BaseSearchForm/BaseSearchForm.utils.d.ts +0 -5
  75. package/dist/components/BaseSearchForm/BaseSearchForm.vue.d.ts +0 -88
  76. package/dist/components/BaseSearchForm/index.d.ts +0 -4
  77. package/src/components/BaseDialog/BaseDialog.types.ts +0 -28
  78. package/src/components/BaseDialog/BaseDialog.vue +0 -158
  79. package/src/components/BaseDialog/README.md +0 -69
  80. package/src/components/BaseDialog/index.ts +0 -10
  81. package/src/components/BaseSearchForm/BaseSearchForm.types.ts +0 -46
  82. package/src/components/BaseSearchForm/BaseSearchForm.utils.ts +0 -41
  83. package/src/components/BaseSearchForm/BaseSearchForm.vue +0 -267
  84. package/src/components/BaseSearchForm/README.md +0 -66
  85. package/src/components/BaseSearchForm/index.ts +0 -20
@@ -1,137 +1,146 @@
1
- import type { OutlinedTreeSelectCssValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
3
- value: undefined;
4
- data: () => never[];
5
- propsValue: undefined;
6
- placeholder: string;
7
- label: string;
8
- disabled: boolean;
9
- clearable: boolean;
10
- filterable: boolean;
11
- multiple: boolean;
12
- showCheckbox: boolean;
13
- checkStrictly: boolean;
14
- checkOnClickNode: boolean;
15
- defaultExpandAll: boolean;
16
- expandOnClickNode: boolean;
17
- renderAfterExpand: boolean;
18
- collapseTags: boolean;
19
- collapseTagsTooltip: boolean;
20
- maxCollapseTags: number;
21
- popperClass: string;
22
- nodeKey: string;
23
- keyValue: string;
24
- labelValue: string;
25
- childrenValue: string;
26
- disabledValue: string;
27
- inputHeight: number;
28
- isBorder: boolean;
29
- marginBottom: number;
30
- paddingTop: number;
31
- }>>, {
32
- focus: () => void;
33
- blur: () => void;
34
- clear: () => void;
35
- getTreeSelectRef: () => unknown;
36
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
- input: (value: OutlinedTreeSelectValue) => void;
38
- "update:value": (value: OutlinedTreeSelectValue) => void;
39
- change: (value: OutlinedTreeSelectValue) => void;
40
- focus: (value: FocusEvent) => void;
41
- blur: (value: FocusEvent) => void;
42
- "visible-change": (value: boolean) => void;
43
- clear: () => void;
44
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
45
- value: undefined;
46
- data: () => never[];
47
- propsValue: undefined;
48
- placeholder: string;
49
- label: string;
50
- disabled: boolean;
51
- clearable: boolean;
52
- filterable: boolean;
53
- multiple: boolean;
54
- showCheckbox: boolean;
55
- checkStrictly: boolean;
56
- checkOnClickNode: boolean;
57
- defaultExpandAll: boolean;
58
- expandOnClickNode: boolean;
59
- renderAfterExpand: boolean;
60
- collapseTags: boolean;
61
- collapseTagsTooltip: boolean;
62
- maxCollapseTags: number;
63
- popperClass: string;
64
- nodeKey: string;
65
- keyValue: string;
66
- labelValue: string;
67
- childrenValue: string;
68
- disabledValue: string;
69
- inputHeight: number;
70
- isBorder: boolean;
71
- marginBottom: number;
72
- paddingTop: number;
73
- }>>> & Readonly<{
74
- onBlur?: ((value: FocusEvent) => any) | undefined;
75
- onChange?: ((value: OutlinedTreeSelectValue) => any) | undefined;
76
- onFocus?: ((value: FocusEvent) => any) | undefined;
77
- onInput?: ((value: OutlinedTreeSelectValue) => any) | undefined;
78
- onClear?: (() => any) | undefined;
79
- "onUpdate:value"?: ((value: OutlinedTreeSelectValue) => any) | undefined;
80
- "onVisible-change"?: ((value: boolean) => any) | undefined;
81
- }>, {
82
- data: import("./OutlinedTreeSelect.types").OutlinedTreeSelectNode[];
83
- label: string;
84
- disabled: boolean;
85
- value: OutlinedTreeSelectValue;
86
- placeholder: string;
87
- clearable: boolean;
88
- defaultExpandAll: boolean;
89
- popperClass: string;
90
- propsValue: Record<string, unknown>;
91
- inputHeight: number;
92
- isBorder: boolean;
93
- filterable: boolean;
94
- marginBottom: OutlinedTreeSelectCssValue;
95
- paddingTop: OutlinedTreeSelectCssValue;
96
- multiple: boolean;
97
- collapseTags: boolean;
98
- collapseTagsTooltip: boolean;
99
- keyValue: string;
100
- labelValue: string;
101
- maxCollapseTags: number;
102
- showCheckbox: boolean;
103
- checkStrictly: boolean;
104
- checkOnClickNode: boolean;
105
- expandOnClickNode: boolean;
106
- renderAfterExpand: boolean;
107
- nodeKey: string;
108
- childrenValue: string;
109
- disabledValue: string;
110
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
111
- empty?(_: {}): any;
112
- header?(_: {}): any;
113
- footer?(_: {}): any;
114
- }>;
115
- export default _default;
116
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
117
- type __VLS_TypePropsToRuntimeProps<T> = {
118
- [K in keyof T]-?: {} extends Pick<T, K> ? {
119
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
120
- } : {
121
- type: import('vue').PropType<T[K]>;
122
- required: true;
123
- };
124
- };
125
- type __VLS_WithDefaults<P, D> = {
126
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
127
- default: D[K];
128
- }> : P[K];
129
- };
130
- type __VLS_Prettify<T> = {
131
- [K in keyof T]: T[K];
132
- } & {};
133
- type __VLS_WithTemplateSlots<T, S> = T & {
134
- new (): {
135
- $slots: S;
136
- };
137
- };
1
+ import type { OutlinedTreeSelectCssValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
3
+ value: undefined;
4
+ data: () => never[];
5
+ propsValue: undefined;
6
+ placeholder: string;
7
+ label: string;
8
+ disabled: boolean;
9
+ clearable: boolean;
10
+ filterable: boolean;
11
+ multiple: boolean;
12
+ showCheckbox: boolean;
13
+ checkStrictly: boolean;
14
+ checkOnClickNode: boolean;
15
+ defaultExpandAll: boolean;
16
+ expandOnClickNode: boolean;
17
+ renderAfterExpand: boolean;
18
+ collapseTags: boolean;
19
+ collapseTagsTooltip: boolean;
20
+ maxCollapseTags: number;
21
+ popperClass: string;
22
+ nodeKey: string;
23
+ keyValue: string;
24
+ labelValue: string;
25
+ childrenValue: string;
26
+ disabledValue: string;
27
+ inputHeight: number;
28
+ isBorder: boolean;
29
+ marginBottom: number;
30
+ paddingTop: number;
31
+ required: boolean;
32
+ error: boolean;
33
+ errorMessage: string;
34
+ }>>, {
35
+ focus: () => void;
36
+ blur: () => void;
37
+ clear: () => void;
38
+ getTreeSelectRef: () => unknown;
39
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
+ input: (value: OutlinedTreeSelectValue) => void;
41
+ "update:value": (value: OutlinedTreeSelectValue) => void;
42
+ change: (value: OutlinedTreeSelectValue) => void;
43
+ focus: (value: FocusEvent) => void;
44
+ blur: (value: FocusEvent) => void;
45
+ "visible-change": (value: boolean) => void;
46
+ clear: () => void;
47
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OutlinedTreeSelectProps>, {
48
+ value: undefined;
49
+ data: () => never[];
50
+ propsValue: undefined;
51
+ placeholder: string;
52
+ label: string;
53
+ disabled: boolean;
54
+ clearable: boolean;
55
+ filterable: boolean;
56
+ multiple: boolean;
57
+ showCheckbox: boolean;
58
+ checkStrictly: boolean;
59
+ checkOnClickNode: boolean;
60
+ defaultExpandAll: boolean;
61
+ expandOnClickNode: boolean;
62
+ renderAfterExpand: boolean;
63
+ collapseTags: boolean;
64
+ collapseTagsTooltip: boolean;
65
+ maxCollapseTags: number;
66
+ popperClass: string;
67
+ nodeKey: string;
68
+ keyValue: string;
69
+ labelValue: string;
70
+ childrenValue: string;
71
+ disabledValue: string;
72
+ inputHeight: number;
73
+ isBorder: boolean;
74
+ marginBottom: number;
75
+ paddingTop: number;
76
+ required: boolean;
77
+ error: boolean;
78
+ errorMessage: string;
79
+ }>>> & Readonly<{
80
+ onBlur?: ((value: FocusEvent) => any) | undefined;
81
+ onChange?: ((value: OutlinedTreeSelectValue) => any) | undefined;
82
+ onFocus?: ((value: FocusEvent) => any) | undefined;
83
+ onInput?: ((value: OutlinedTreeSelectValue) => any) | undefined;
84
+ onClear?: (() => any) | undefined;
85
+ "onUpdate:value"?: ((value: OutlinedTreeSelectValue) => any) | undefined;
86
+ "onVisible-change"?: ((value: boolean) => any) | undefined;
87
+ }>, {
88
+ error: boolean;
89
+ data: import("./OutlinedTreeSelect.types").OutlinedTreeSelectNode[];
90
+ label: string;
91
+ disabled: boolean;
92
+ value: OutlinedTreeSelectValue;
93
+ errorMessage: string;
94
+ defaultExpandAll: boolean;
95
+ required: boolean;
96
+ popperClass: string;
97
+ placeholder: string;
98
+ clearable: boolean;
99
+ propsValue: Record<string, unknown>;
100
+ inputHeight: number;
101
+ isBorder: boolean;
102
+ filterable: boolean;
103
+ marginBottom: OutlinedTreeSelectCssValue;
104
+ paddingTop: OutlinedTreeSelectCssValue;
105
+ multiple: boolean;
106
+ collapseTags: boolean;
107
+ collapseTagsTooltip: boolean;
108
+ keyValue: string;
109
+ labelValue: string;
110
+ maxCollapseTags: number;
111
+ showCheckbox: boolean;
112
+ checkStrictly: boolean;
113
+ checkOnClickNode: boolean;
114
+ expandOnClickNode: boolean;
115
+ renderAfterExpand: boolean;
116
+ nodeKey: string;
117
+ childrenValue: string;
118
+ disabledValue: string;
119
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
120
+ empty?(_: {}): any;
121
+ header?(_: {}): any;
122
+ footer?(_: {}): any;
123
+ }>;
124
+ export default _default;
125
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
126
+ type __VLS_TypePropsToRuntimeProps<T> = {
127
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
128
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
129
+ } : {
130
+ type: import('vue').PropType<T[K]>;
131
+ required: true;
132
+ };
133
+ };
134
+ type __VLS_WithDefaults<P, D> = {
135
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
136
+ default: D[K];
137
+ }> : P[K];
138
+ };
139
+ type __VLS_Prettify<T> = {
140
+ [K in keyof T]: T[K];
141
+ } & {};
142
+ type __VLS_WithTemplateSlots<T, S> = T & {
143
+ new (): {
144
+ $slots: S;
145
+ };
146
+ };
@@ -1,3 +1,3 @@
1
- import OutlinedTreeSelect from './OutlinedTreeSelect.vue';
2
- export default OutlinedTreeSelect;
3
- export type { OutlinedTreeSelectCssValue, OutlinedTreeSelectExpose, OutlinedTreeSelectNode, OutlinedTreeSelectOptionValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
1
+ import OutlinedTreeSelect from './OutlinedTreeSelect.vue';
2
+ export default OutlinedTreeSelect;
3
+ export type { OutlinedTreeSelectCssValue, OutlinedTreeSelectExpose, OutlinedTreeSelectNode, OutlinedTreeSelectOptionValue, OutlinedTreeSelectProps, OutlinedTreeSelectValue } from './OutlinedTreeSelect.types';
@@ -1,9 +1,9 @@
1
- import * as echarts from 'echarts';
2
- import type { ECharts, EChartsInitOpts, EChartsOption, ResizeOpts, SetOptionOpts } from 'echarts';
3
- export type EChartInstance = ECharts;
4
- export type EChartOption = EChartsOption;
5
- export type EChartInitOptions = EChartsInitOpts;
6
- export type EChartLoadingOptions = Parameters<ECharts['showLoading']>[1];
7
- export type EChartResizeOptions = ResizeOpts;
8
- export type EChartSetOptionOptions = SetOptionOpts;
9
- export { echarts };
1
+ import * as echarts from 'echarts';
2
+ import type { ECharts, EChartsInitOpts, EChartsOption, ResizeOpts, SetOptionOpts } from 'echarts';
3
+ export type EChartInstance = ECharts;
4
+ export type EChartOption = EChartsOption;
5
+ export type EChartInitOptions = EChartsInitOpts;
6
+ export type EChartLoadingOptions = Parameters<ECharts['showLoading']>[1];
7
+ export type EChartResizeOptions = ResizeOpts;
8
+ export type EChartSetOptionOptions = SetOptionOpts;
9
+ export { echarts };
@@ -1,18 +1,18 @@
1
- export type ExcelCellValue = string | number | boolean | null | undefined | Date;
2
- export interface ExcelExportColumn<Row = Record<string, any>> {
3
- label: string;
4
- key?: string;
5
- width?: number;
6
- formatter?: (row: Row, rowIndex: number, column: ExcelExportColumn<Row>) => ExcelCellValue;
7
- children?: Array<ExcelExportColumn<Row>>;
8
- }
9
- export interface ExcelExportOptions<Row = Record<string, any>> {
10
- fileName: string;
11
- sheetName?: string;
12
- columns: Array<ExcelExportColumn<Row>>;
13
- data: Array<Row>;
14
- autoWidth?: boolean;
15
- defaultColumnWidth?: number;
16
- }
17
- export declare function exportExcel<Row = Record<string, any>>(options: ExcelExportOptions<Row>): Promise<void>;
18
- export default exportExcel;
1
+ export type ExcelCellValue = string | number | boolean | null | undefined | Date;
2
+ export interface ExcelExportColumn<Row = Record<string, any>> {
3
+ label: string;
4
+ key?: string;
5
+ width?: number;
6
+ formatter?: (row: Row, rowIndex: number, column: ExcelExportColumn<Row>) => ExcelCellValue;
7
+ children?: Array<ExcelExportColumn<Row>>;
8
+ }
9
+ export interface ExcelExportOptions<Row = Record<string, any>> {
10
+ fileName: string;
11
+ sheetName?: string;
12
+ columns: Array<ExcelExportColumn<Row>>;
13
+ data: Array<Row>;
14
+ autoWidth?: boolean;
15
+ defaultColumnWidth?: number;
16
+ }
17
+ export declare function exportExcel<Row = Record<string, any>>(options: ExcelExportOptions<Row>): Promise<void>;
18
+ export default exportExcel;