@bscomp/ep-ui 0.0.8 → 0.0.9

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.
@@ -1,5 +1,6 @@
1
1
  declare const EPForm: ({
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ expand: import('vue').PropType<any>;
3
4
  modelValue: import('vue').PropType<any>;
4
5
  btnSlotName: {
5
6
  type: import('vue').PropType<string>;
@@ -15,16 +16,13 @@ declare const EPForm: ({
15
16
  };
16
17
  labelWidth: {
17
18
  type: import('vue').PropType<string>;
18
- default: string;
19
19
  };
20
20
  isShowDefaultPlaceholder: {
21
21
  type: import('vue').PropType<boolean>;
22
- required: true;
23
22
  default: boolean;
24
23
  };
25
24
  operatorList: {
26
25
  type: import('vue').PropType<any[] | []>;
27
- required: true;
28
26
  default: () => never[];
29
27
  };
30
28
  valueWidth: {
@@ -50,7 +48,6 @@ declare const EPForm: ({
50
48
  }, import('vue').PublicProps, {
51
49
  formItems: [] | Record<string, any>[];
52
50
  labelPosition: "top" | "right" | "left";
53
- labelWidth: string;
54
51
  isShowDefaultPlaceholder: boolean;
55
52
  operatorList: any[] | [];
56
53
  valueWidth: string;
@@ -64,6 +61,7 @@ declare const EPForm: ({
64
61
  M: {};
65
62
  Defaults: {};
66
63
  }, Readonly<import('vue').ExtractPropTypes<{
64
+ expand: import('vue').PropType<any>;
67
65
  modelValue: import('vue').PropType<any>;
68
66
  btnSlotName: {
69
67
  type: import('vue').PropType<string>;
@@ -79,16 +77,13 @@ declare const EPForm: ({
79
77
  };
80
78
  labelWidth: {
81
79
  type: import('vue').PropType<string>;
82
- default: string;
83
80
  };
84
81
  isShowDefaultPlaceholder: {
85
82
  type: import('vue').PropType<boolean>;
86
- required: true;
87
83
  default: boolean;
88
84
  };
89
85
  operatorList: {
90
86
  type: import('vue').PropType<any[] | []>;
91
- required: true;
92
87
  default: () => never[];
93
88
  };
94
89
  valueWidth: {
@@ -112,7 +107,6 @@ declare const EPForm: ({
112
107
  }, {}, {}, {}, {
113
108
  formItems: [] | Record<string, any>[];
114
109
  labelPosition: "top" | "right" | "left";
115
- labelWidth: string;
116
110
  isShowDefaultPlaceholder: boolean;
117
111
  operatorList: any[] | [];
118
112
  valueWidth: string;
@@ -123,6 +117,7 @@ declare const EPForm: ({
123
117
  __isTeleport?: undefined;
124
118
  __isSuspense?: undefined;
125
119
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
120
+ expand: import('vue').PropType<any>;
126
121
  modelValue: import('vue').PropType<any>;
127
122
  btnSlotName: {
128
123
  type: import('vue').PropType<string>;
@@ -138,16 +133,13 @@ declare const EPForm: ({
138
133
  };
139
134
  labelWidth: {
140
135
  type: import('vue').PropType<string>;
141
- default: string;
142
136
  };
143
137
  isShowDefaultPlaceholder: {
144
138
  type: import('vue').PropType<boolean>;
145
- required: true;
146
139
  default: boolean;
147
140
  };
148
141
  operatorList: {
149
142
  type: import('vue').PropType<any[] | []>;
150
- required: true;
151
143
  default: () => never[];
152
144
  };
153
145
  valueWidth: {
@@ -173,7 +165,6 @@ declare const EPForm: ({
173
165
  }, string, {
174
166
  formItems: [] | Record<string, any>[];
175
167
  labelPosition: "top" | "right" | "left";
176
- labelWidth: string;
177
168
  isShowDefaultPlaceholder: boolean;
178
169
  operatorList: any[] | [];
179
170
  valueWidth: string;
@@ -1,4 +1,5 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ expand: import('vue').PropType<any>;
2
3
  modelValue: import('vue').PropType<any>;
3
4
  btnSlotName: {
4
5
  type: import('vue').PropType<string>;
@@ -14,16 +15,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
14
15
  };
15
16
  labelWidth: {
16
17
  type: import('vue').PropType<string>;
17
- default: string;
18
18
  };
19
19
  isShowDefaultPlaceholder: {
20
20
  type: import('vue').PropType<boolean>;
21
- required: true;
22
21
  default: boolean;
23
22
  };
24
23
  operatorList: {
25
24
  type: import('vue').PropType<any[] | []>;
26
- required: true;
27
25
  default: () => never[];
28
26
  };
29
27
  valueWidth: {
@@ -45,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
45
43
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
44
  getRef: (...args: any[]) => void;
47
45
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
46
+ expand: import('vue').PropType<any>;
48
47
  modelValue: import('vue').PropType<any>;
49
48
  btnSlotName: {
50
49
  type: import('vue').PropType<string>;
@@ -60,16 +59,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
60
59
  };
61
60
  labelWidth: {
62
61
  type: import('vue').PropType<string>;
63
- default: string;
64
62
  };
65
63
  isShowDefaultPlaceholder: {
66
64
  type: import('vue').PropType<boolean>;
67
- required: true;
68
65
  default: boolean;
69
66
  };
70
67
  operatorList: {
71
68
  type: import('vue').PropType<any[] | []>;
72
- required: true;
73
69
  default: () => never[];
74
70
  };
75
71
  valueWidth: {
@@ -89,7 +85,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
89
85
  }>, {
90
86
  formItems: [] | Record<string, any>[];
91
87
  labelPosition: "top" | "right" | "left";
92
- labelWidth: string;
93
88
  isShowDefaultPlaceholder: boolean;
94
89
  operatorList: any[] | [];
95
90
  valueWidth: string;
@@ -0,0 +1,150 @@
1
+ declare const EPDialog: ({
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ modelValue: import('vue').PropType<any>;
4
+ params: import('vue').PropType<any>;
5
+ title: {
6
+ type: import('vue').PropType<string>;
7
+ default: string;
8
+ };
9
+ formProps: {
10
+ type: import('vue').PropType<any>;
11
+ default: {};
12
+ };
13
+ cancelText: {
14
+ type: import('vue').PropType<string>;
15
+ default: string;
16
+ };
17
+ submitText: {
18
+ type: import('vue').PropType<string>;
19
+ default: string;
20
+ };
21
+ hiddenCancelBtn: {
22
+ type: import('vue').PropType<boolean>;
23
+ default: boolean;
24
+ };
25
+ hiddensubmitBtn: {
26
+ type: import('vue').PropType<boolean>;
27
+ default: boolean;
28
+ };
29
+ }>> & Readonly<{
30
+ onClose?: ((...args: any[]) => any) | undefined;
31
+ onHandleCancel?: ((...args: any[]) => any) | undefined;
32
+ onHandleSubmit?: ((...args: any[]) => any) | undefined;
33
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ close: (...args: any[]) => void;
35
+ handleCancel: (...args: any[]) => void;
36
+ handleSubmit: (...args: any[]) => void;
37
+ }, import('vue').PublicProps, {
38
+ title: string;
39
+ formProps: any;
40
+ cancelText: string;
41
+ submitText: string;
42
+ hiddenCancelBtn: boolean;
43
+ hiddensubmitBtn: boolean;
44
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
45
+ P: {};
46
+ B: {};
47
+ D: {};
48
+ C: {};
49
+ M: {};
50
+ Defaults: {};
51
+ }, Readonly<import('vue').ExtractPropTypes<{
52
+ modelValue: import('vue').PropType<any>;
53
+ params: import('vue').PropType<any>;
54
+ title: {
55
+ type: import('vue').PropType<string>;
56
+ default: string;
57
+ };
58
+ formProps: {
59
+ type: import('vue').PropType<any>;
60
+ default: {};
61
+ };
62
+ cancelText: {
63
+ type: import('vue').PropType<string>;
64
+ default: string;
65
+ };
66
+ submitText: {
67
+ type: import('vue').PropType<string>;
68
+ default: string;
69
+ };
70
+ hiddenCancelBtn: {
71
+ type: import('vue').PropType<boolean>;
72
+ default: boolean;
73
+ };
74
+ hiddensubmitBtn: {
75
+ type: import('vue').PropType<boolean>;
76
+ default: boolean;
77
+ };
78
+ }>> & Readonly<{
79
+ onClose?: ((...args: any[]) => any) | undefined;
80
+ onHandleCancel?: ((...args: any[]) => any) | undefined;
81
+ onHandleSubmit?: ((...args: any[]) => any) | undefined;
82
+ }>, {}, {}, {}, {}, {
83
+ title: string;
84
+ formProps: any;
85
+ cancelText: string;
86
+ submitText: string;
87
+ hiddenCancelBtn: boolean;
88
+ hiddensubmitBtn: boolean;
89
+ }>;
90
+ __isFragment?: undefined;
91
+ __isTeleport?: undefined;
92
+ __isSuspense?: undefined;
93
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
94
+ modelValue: import('vue').PropType<any>;
95
+ params: import('vue').PropType<any>;
96
+ title: {
97
+ type: import('vue').PropType<string>;
98
+ default: string;
99
+ };
100
+ formProps: {
101
+ type: import('vue').PropType<any>;
102
+ default: {};
103
+ };
104
+ cancelText: {
105
+ type: import('vue').PropType<string>;
106
+ default: string;
107
+ };
108
+ submitText: {
109
+ type: import('vue').PropType<string>;
110
+ default: string;
111
+ };
112
+ hiddenCancelBtn: {
113
+ type: import('vue').PropType<boolean>;
114
+ default: boolean;
115
+ };
116
+ hiddensubmitBtn: {
117
+ type: import('vue').PropType<boolean>;
118
+ default: boolean;
119
+ };
120
+ }>> & Readonly<{
121
+ onClose?: ((...args: any[]) => any) | undefined;
122
+ onHandleCancel?: ((...args: any[]) => any) | undefined;
123
+ onHandleSubmit?: ((...args: any[]) => any) | undefined;
124
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
125
+ close: (...args: any[]) => void;
126
+ handleCancel: (...args: any[]) => void;
127
+ handleSubmit: (...args: any[]) => void;
128
+ }, string, {
129
+ title: string;
130
+ formProps: any;
131
+ cancelText: string;
132
+ submitText: string;
133
+ hiddenCancelBtn: boolean;
134
+ hiddensubmitBtn: boolean;
135
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
136
+ $slots: Partial<Record<string, (_: {}) => any>> & {
137
+ header?(_: {
138
+ scope: {
139
+ close: () => void;
140
+ titleId: string;
141
+ titleClass: string;
142
+ };
143
+ }): any;
144
+ top?(_: {}): any;
145
+ content?(_: {}): any;
146
+ bootom?(_: {}): any;
147
+ footer?(_: {}): any;
148
+ };
149
+ }) & import('vue').Plugin<any[]>) & Record<string, any>;
150
+ export default EPDialog;
@@ -0,0 +1,88 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ modelValue: import('vue').PropType<any>;
3
+ params: import('vue').PropType<any>;
4
+ title: {
5
+ type: import('vue').PropType<string>;
6
+ default: string;
7
+ };
8
+ formProps: {
9
+ type: import('vue').PropType<any>;
10
+ default: {};
11
+ };
12
+ cancelText: {
13
+ type: import('vue').PropType<string>;
14
+ default: string;
15
+ };
16
+ submitText: {
17
+ type: import('vue').PropType<string>;
18
+ default: string;
19
+ };
20
+ hiddenCancelBtn: {
21
+ type: import('vue').PropType<boolean>;
22
+ default: boolean;
23
+ };
24
+ hiddensubmitBtn: {
25
+ type: import('vue').PropType<boolean>;
26
+ default: boolean;
27
+ };
28
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ close: (...args: any[]) => void;
30
+ handleCancel: (...args: any[]) => void;
31
+ handleSubmit: (...args: any[]) => void;
32
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
+ modelValue: import('vue').PropType<any>;
34
+ params: import('vue').PropType<any>;
35
+ title: {
36
+ type: import('vue').PropType<string>;
37
+ default: string;
38
+ };
39
+ formProps: {
40
+ type: import('vue').PropType<any>;
41
+ default: {};
42
+ };
43
+ cancelText: {
44
+ type: import('vue').PropType<string>;
45
+ default: string;
46
+ };
47
+ submitText: {
48
+ type: import('vue').PropType<string>;
49
+ default: string;
50
+ };
51
+ hiddenCancelBtn: {
52
+ type: import('vue').PropType<boolean>;
53
+ default: boolean;
54
+ };
55
+ hiddensubmitBtn: {
56
+ type: import('vue').PropType<boolean>;
57
+ default: boolean;
58
+ };
59
+ }>> & Readonly<{
60
+ onClose?: ((...args: any[]) => any) | undefined;
61
+ onHandleCancel?: ((...args: any[]) => any) | undefined;
62
+ onHandleSubmit?: ((...args: any[]) => any) | undefined;
63
+ }>, {
64
+ title: string;
65
+ formProps: any;
66
+ cancelText: string;
67
+ submitText: string;
68
+ hiddenCancelBtn: boolean;
69
+ hiddensubmitBtn: boolean;
70
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: {}) => any>> & {
71
+ header?(_: {
72
+ scope: {
73
+ close: () => void;
74
+ titleId: string;
75
+ titleClass: string;
76
+ };
77
+ }): any;
78
+ top?(_: {}): any;
79
+ content?(_: {}): any;
80
+ bootom?(_: {}): any;
81
+ footer?(_: {}): any;
82
+ }>;
83
+ export default _default;
84
+ type __VLS_WithTemplateSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
package/lib/index.d.ts CHANGED
@@ -6,9 +6,10 @@ import { default as EPTable } from './table';
6
6
  import { default as EPForm } from './form';
7
7
  import { default as EPDatePicker } from './date-picker';
8
8
  import { default as EPRadio } from './radio';
9
+ import { default as EPDialog } from './form-dialog';
9
10
 
10
11
  import * as tools from "./utils";
11
- export { EPTable, EPForm, EPSelect, EPButton, EPDatePicker, EPRadio, EPCheckbox, EPInput, tools };
12
+ export { EPTable, EPForm, EPSelect, EPButton, EPDatePicker, EPRadio, EPCheckbox, EPInput, EPDialog, tools };
12
13
  declare const _default: {
13
14
  install: any;
14
15
  };
package/lib/style.css CHANGED
@@ -1 +1 @@
1
- .e-p-select .el-select-dropdown .all-checkbox[data-v-9867f523]{margin-left:20px}.column_set .el-dropdown-menu{padding:0;font-size:14px}.column_set .el-dropdown-menu .el-dropdown-menu__item{display:flex;flex-direction:column;align-items:flex-start}.column_set .el-dropdown-menu .el-dropdown-menu__item .t_table_column_setting_dropdown{display:flex;flex-direction:column;max-height:300px;overflow-y:auto;gap:10px}.column_set .el-dropdown-menu .el-dropdown-menu__item .t_table_column_setting_dropdown .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label{cursor:move;color:var(--el-text-color-primary)}div[data-v-f89568d3]{box-sizing:border-box}.e-p-table[data-v-f89568d3]{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;overflow:hidden}.e-p-table .table-content[data-v-f89568d3]{flex:1;display:flex;flex-direction:column;position:relative;box-sizing:border-box}.e-p-table .table-content .header-wapper[data-v-f89568d3]{display:flex;flex-direction:column}.e-p-table .table-content .extra[data-v-f89568d3],.e-p-table .table-content .header[data-v-f89568d3]{padding-bottom:16px}.e-p-table .el-pagination-com[data-v-f89568d3]{padding-top:16px;display:flex;justify-content:flex-end;align-items:center}.e-p-table .header[data-v-f89568d3]{display:flex;justify-content:space-between;align-items:center}.e-p-table .radioStyle[data-v-f89568d3] tbody .el-table__row{cursor:pointer}.e-p-form{display:flex;flex-direction:column;justify-content:space-between;height:100%}.e-p-form .inline-flex{display:flex;flex-wrap:wrap}.e-p-form .text_show{color:var(--el-text-color-primary)}.e-p-form .slot_label .el-form-item__content label{color:var(--el-text-color-primary);margin-right:12px}.e-p-form .footer{width:100%;display:flex;align-items:center;justify-content:center}
1
+ .e-p-select .all-checkbox[data-v-9042fa0a]{margin-left:20px}.column_set .el-dropdown-menu{padding:0;font-size:14px}.column_set .el-dropdown-menu .el-dropdown-menu__item{display:flex;flex-direction:column;align-items:flex-start}.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown{display:flex;flex-direction:column;max-height:300px;overflow-y:auto;gap:10px}.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown .el-checkbox .el-checkbox__input.is-checked+.el-checkbox__label,.column_set .el-dropdown-menu .el-dropdown-menu__item .ep_table_column_setting_dropdown .el-checkbox .ep-checkbox__input.is-checked+.ep-checkbox__label{cursor:move;color:var(--el-text-color-primary)}div[data-v-f89568d3]{box-sizing:border-box}.e-p-table[data-v-f89568d3]{box-sizing:border-box;height:100%;position:relative;display:flex;flex-direction:column;overflow:hidden}.e-p-table .table-content[data-v-f89568d3]{flex:1;display:flex;flex-direction:column;position:relative;box-sizing:border-box}.e-p-table .table-content .header-wapper[data-v-f89568d3]{display:flex;flex-direction:column}.e-p-table .table-content .extra[data-v-f89568d3],.e-p-table .table-content .header[data-v-f89568d3]{padding-bottom:16px}.e-p-table .el-pagination-com[data-v-f89568d3]{padding-top:16px;display:flex;justify-content:flex-end;align-items:center}.e-p-table .header[data-v-f89568d3]{display:flex;justify-content:space-between;align-items:center}.e-p-table .radioStyle[data-v-f89568d3] tbody .el-table__row{cursor:pointer}.e-p-form-wrapper:not(.inline-flex-form){display:flex;flex-direction:column;justify-content:space-between;height:100%}.e-p-form-wrapper:not(.inline-flex-form) .inline-flex{display:flex;flex-wrap:wrap}.e-p-form-wrapper:not(.inline-flex-form) .text_show{color:var(--el-text-color-primary)}.e-p-form-wrapper:not(.inline-flex-form) .slot_label .el-form-item__content label{color:var(--el-text-color-primary);margin-right:12px}.e-p-form-wrapper:not(.inline-flex-form) .footer{width:100%;display:flex;align-items:center;justify-content:center}.inline-flex-form{display:flex;justify-content:space-between}.inline-flex-form .e-p-form{flex:1}.inline-flex-form .inline-flex>div{display:inline-block}.inline-flex-form .footer{display:inline}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bscomp/ep-ui",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Vue3 中基于Element-plus二次封装基础组件文档",
5
5
  "author": "bishang",
6
6
  "license": "MIT",