prizm-ui-vue 2.2.44 → 2.2.46
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.
- package/dist/components/PrizmButton.vue.d.ts +4 -0
- package/dist/components/PrizmCheckbox/PrizmCheckbox.vue.d.ts +4 -0
- package/dist/components/PrizmCheckbox/PrizmCheckboxGroup.vue.d.ts +4 -0
- package/dist/components/PrizmCollapse/PrizmCollapse.vue.d.ts +4 -0
- package/dist/components/PrizmCollapse/PrizmCollapseItem.vue.d.ts +4 -0
- package/dist/components/PrizmDatePicker.vue.d.ts +4 -0
- package/dist/components/PrizmDialog.vue.d.ts +4 -0
- package/dist/components/PrizmDrawer.vue.d.ts +4 -0
- package/dist/components/PrizmDropdown/PrizmDropdown.vue.d.ts +4 -2
- package/dist/components/PrizmDropdown/PrizmDropdownItem.vue.d.ts +4 -0
- package/dist/components/PrizmForm/PrizmForm.vue.d.ts +4 -0
- package/dist/components/PrizmForm/PrizmFormItem.vue.d.ts +4 -0
- package/dist/components/PrizmIcon.vue.d.ts +4 -0
- package/dist/components/PrizmInput.vue.d.ts +4 -0
- package/dist/components/PrizmMessageBox/PrizmMessageBox.d.ts +4 -0
- package/dist/components/PrizmNotification/PrizmNotification.d.ts +2 -3
- package/dist/components/PrizmRadio/PrizmRadio.vue.d.ts +4 -0
- package/dist/components/PrizmRadio/PrizmRadioButton.vue.d.ts +4 -0
- package/dist/components/PrizmRadio/PrizmRadioGroup.vue.d.ts +4 -0
- package/dist/components/PrizmSelect/PrizmOption.vue.d.ts +138 -14
- package/dist/components/PrizmSelect/PrizmSelect.vue.d.ts +4 -0
- package/dist/components/PrizmTable/PrizmTable.vue.d.ts +51 -0
- package/dist/components/PrizmTable/PrizmTableColumn.vue.d.ts +36 -0
- package/dist/components/PrizmTabs/PrizmTabPane.vue.d.ts +4 -0
- package/dist/components/PrizmTabs/PrizmTabs.vue.d.ts +4 -0
- package/dist/components/PrizmTag.vue.d.ts +4 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/prizm-ui.es.js +592 -484
- package/dist/prizm-ui.umd.js +2 -2
- package/dist/shared/icon/IconArrowTop.vue.d.ts +2 -0
- package/dist/shared/icon/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Garaev.VM
|
|
3
|
+
* @components ElDropdown
|
|
4
|
+
*/
|
|
1
5
|
import { type DropdownInstance, ElDropdown } from 'element-plus';
|
|
2
6
|
import 'element-plus/es/components/dropdown/style/css';
|
|
3
7
|
type ElDropdownProps = InstanceType<typeof ElDropdown>['$props'];
|
|
@@ -17,13 +21,11 @@ type Props = {
|
|
|
17
21
|
onClick?: PickedProps['onClick'];
|
|
18
22
|
'onVisible-change'?: PickedProps['onVisible-change'];
|
|
19
23
|
onCommand?: PickedProps['onCommand'];
|
|
20
|
-
onButtonDropDown?: typeof openDropdown;
|
|
21
24
|
};
|
|
22
25
|
type Slots = {
|
|
23
26
|
default?: unknown;
|
|
24
27
|
dropdown?: unknown;
|
|
25
28
|
};
|
|
26
|
-
declare function openDropdown(): void;
|
|
27
29
|
type __VLS_Slots = Slots;
|
|
28
30
|
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
29
31
|
baseDropdownRef: Readonly<import("vue").ShallowRef<DropdownInstance | null>>;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Garaev.VM
|
|
3
|
+
* @components ElMessageBox
|
|
4
|
+
*/
|
|
1
5
|
import { type ElMessageBoxOptions, type MessageBoxData, type MessageBoxType } from 'element-plus';
|
|
2
6
|
import 'element-plus/es/components/message-box/style/css';
|
|
3
7
|
export type Props = Pick<ElMessageBoxOptions, 'title' | 'message' | 'showCancelButton' | 'showConfirmButton' | 'center' | 'customClass' | 'confirmButtonClass' | 'cancelButtonClass' | 'buttonSize' | 'customStyle'> & {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @author Garaev.VM
|
|
3
|
-
* @components
|
|
4
|
-
* https://element-plus.org/en-US/component/notification.html
|
|
2
|
+
* @author Garaev.VM
|
|
3
|
+
* @components ElNotificaton
|
|
5
4
|
*/
|
|
6
5
|
import { type NotificationInstance } from 'element-plus';
|
|
7
6
|
import 'element-plus/es/components/notification/style/css';
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Garaev.VM
|
|
3
|
+
* @components ElOption
|
|
4
|
+
*/
|
|
1
5
|
import { ElOption } from 'element-plus';
|
|
2
6
|
import 'element-plus/es/components/option/style/css';
|
|
3
7
|
type ElSelectProps = InstanceType<typeof ElOption>['$props'];
|
|
@@ -24,13 +28,73 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
24
28
|
}>>, {
|
|
25
29
|
ns: {
|
|
26
30
|
namespace: import("vue").ComputedRef<string>;
|
|
27
|
-
b: (blockSuffix
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
b: (blockSuffix
|
|
32
|
+
/**
|
|
33
|
+
* @author Garaev.VM
|
|
34
|
+
* @components ElOption
|
|
35
|
+
*/
|
|
36
|
+
?: string) => string;
|
|
37
|
+
e: (element
|
|
38
|
+
/**
|
|
39
|
+
* @author Garaev.VM
|
|
40
|
+
* @components ElOption
|
|
41
|
+
*/
|
|
42
|
+
?: string) => string;
|
|
43
|
+
m: (modifier
|
|
44
|
+
/**
|
|
45
|
+
* @author Garaev.VM
|
|
46
|
+
* @components ElOption
|
|
47
|
+
*/
|
|
48
|
+
?: string) => string;
|
|
49
|
+
be: (blockSuffix
|
|
50
|
+
/**
|
|
51
|
+
* @author Garaev.VM
|
|
52
|
+
* @components ElOption
|
|
53
|
+
*/
|
|
54
|
+
?: string, element
|
|
55
|
+
/**
|
|
56
|
+
* @author Garaev.VM
|
|
57
|
+
* @components ElOption
|
|
58
|
+
*/
|
|
59
|
+
?: string) => string;
|
|
60
|
+
em: (element
|
|
61
|
+
/**
|
|
62
|
+
* @author Garaev.VM
|
|
63
|
+
* @components ElOption
|
|
64
|
+
*/
|
|
65
|
+
?: string, modifier
|
|
66
|
+
/**
|
|
67
|
+
* @author Garaev.VM
|
|
68
|
+
* @components ElOption
|
|
69
|
+
*/
|
|
70
|
+
?: string) => string;
|
|
71
|
+
bm: (blockSuffix
|
|
72
|
+
/**
|
|
73
|
+
* @author Garaev.VM
|
|
74
|
+
* @components ElOption
|
|
75
|
+
*/
|
|
76
|
+
?: string, modifier
|
|
77
|
+
/**
|
|
78
|
+
* @author Garaev.VM
|
|
79
|
+
* @components ElOption
|
|
80
|
+
*/
|
|
81
|
+
?: string) => string;
|
|
82
|
+
bem: (blockSuffix
|
|
83
|
+
/**
|
|
84
|
+
* @author Garaev.VM
|
|
85
|
+
* @components ElOption
|
|
86
|
+
*/
|
|
87
|
+
?: string, element
|
|
88
|
+
/**
|
|
89
|
+
* @author Garaev.VM
|
|
90
|
+
* @components ElOption
|
|
91
|
+
*/
|
|
92
|
+
?: string, modifier
|
|
93
|
+
/**
|
|
94
|
+
* @author Garaev.VM
|
|
95
|
+
* @components ElOption
|
|
96
|
+
*/
|
|
97
|
+
?: string) => string;
|
|
34
98
|
is: {
|
|
35
99
|
(name: string, state: boolean | undefined): string;
|
|
36
100
|
(name: string): string;
|
|
@@ -78,13 +142,73 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
78
142
|
}>>, {
|
|
79
143
|
ns: {
|
|
80
144
|
namespace: import("vue").ComputedRef<string>;
|
|
81
|
-
b: (blockSuffix
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
145
|
+
b: (blockSuffix
|
|
146
|
+
/**
|
|
147
|
+
* @author Garaev.VM
|
|
148
|
+
* @components ElOption
|
|
149
|
+
*/
|
|
150
|
+
?: string) => string;
|
|
151
|
+
e: (element
|
|
152
|
+
/**
|
|
153
|
+
* @author Garaev.VM
|
|
154
|
+
* @components ElOption
|
|
155
|
+
*/
|
|
156
|
+
?: string) => string;
|
|
157
|
+
m: (modifier
|
|
158
|
+
/**
|
|
159
|
+
* @author Garaev.VM
|
|
160
|
+
* @components ElOption
|
|
161
|
+
*/
|
|
162
|
+
?: string) => string;
|
|
163
|
+
be: (blockSuffix
|
|
164
|
+
/**
|
|
165
|
+
* @author Garaev.VM
|
|
166
|
+
* @components ElOption
|
|
167
|
+
*/
|
|
168
|
+
?: string, element
|
|
169
|
+
/**
|
|
170
|
+
* @author Garaev.VM
|
|
171
|
+
* @components ElOption
|
|
172
|
+
*/
|
|
173
|
+
?: string) => string;
|
|
174
|
+
em: (element
|
|
175
|
+
/**
|
|
176
|
+
* @author Garaev.VM
|
|
177
|
+
* @components ElOption
|
|
178
|
+
*/
|
|
179
|
+
?: string, modifier
|
|
180
|
+
/**
|
|
181
|
+
* @author Garaev.VM
|
|
182
|
+
* @components ElOption
|
|
183
|
+
*/
|
|
184
|
+
?: string) => string;
|
|
185
|
+
bm: (blockSuffix
|
|
186
|
+
/**
|
|
187
|
+
* @author Garaev.VM
|
|
188
|
+
* @components ElOption
|
|
189
|
+
*/
|
|
190
|
+
?: string, modifier
|
|
191
|
+
/**
|
|
192
|
+
* @author Garaev.VM
|
|
193
|
+
* @components ElOption
|
|
194
|
+
*/
|
|
195
|
+
?: string) => string;
|
|
196
|
+
bem: (blockSuffix
|
|
197
|
+
/**
|
|
198
|
+
* @author Garaev.VM
|
|
199
|
+
* @components ElOption
|
|
200
|
+
*/
|
|
201
|
+
?: string, element
|
|
202
|
+
/**
|
|
203
|
+
* @author Garaev.VM
|
|
204
|
+
* @components ElOption
|
|
205
|
+
*/
|
|
206
|
+
?: string, modifier
|
|
207
|
+
/**
|
|
208
|
+
* @author Garaev.VM
|
|
209
|
+
* @components ElOption
|
|
210
|
+
*/
|
|
211
|
+
?: string) => string;
|
|
88
212
|
is: {
|
|
89
213
|
(name: string, state: boolean | undefined): string;
|
|
90
214
|
(name: string): string;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Garaev.VM
|
|
3
|
+
* @components ElTable
|
|
4
|
+
*/
|
|
5
|
+
import { ElTable } from 'element-plus';
|
|
6
|
+
import 'element-plus/es/components/table/style/css';
|
|
7
|
+
type ElTableProps = InstanceType<typeof ElTable>['$props'];
|
|
8
|
+
type PickedProps = Pick<ElTableProps, 'data' | 'size' | 'maxHeight' | 'className' | 'scrollbarAlwaysOn' | 'load' | 'border' | 'cellClassName' | 'headerCellClassName' | 'headerRowClassName' | 'treeProps' | 'cellStyle' | 'fit' | 'tableLayout' | 'onScroll' | 'allowDragLastColumn' | 'flexible' | 'onCell-click' | 'onRow-click' | 'emptyText' | 'showSummary'>;
|
|
9
|
+
type Slots = {
|
|
10
|
+
default?: unknown;
|
|
11
|
+
append?: unknown;
|
|
12
|
+
empty?: unknown;
|
|
13
|
+
};
|
|
14
|
+
type Props = {
|
|
15
|
+
data?: PickedProps['data'];
|
|
16
|
+
size?: PickedProps['size'];
|
|
17
|
+
maxHeight?: PickedProps['maxHeight'];
|
|
18
|
+
className?: PickedProps['className'];
|
|
19
|
+
scrollbarAlwaysOn?: PickedProps['scrollbarAlwaysOn'];
|
|
20
|
+
border?: PickedProps['border'];
|
|
21
|
+
cellClassName?: PickedProps['cellClassName'];
|
|
22
|
+
headerCellClassName?: PickedProps['headerCellClassName'];
|
|
23
|
+
headerRowClassName?: PickedProps['headerRowClassName'];
|
|
24
|
+
treeProps?: PickedProps['treeProps'];
|
|
25
|
+
cellStyle?: PickedProps['cellStyle'];
|
|
26
|
+
fit?: PickedProps['fit'];
|
|
27
|
+
tableLayout?: PickedProps['tableLayout'];
|
|
28
|
+
allowDragLastColumn?: PickedProps['allowDragLastColumn'];
|
|
29
|
+
flexible?: PickedProps['flexible'];
|
|
30
|
+
emptyText?: PickedProps['emptyText'];
|
|
31
|
+
showSummary?: PickedProps['showSummary'];
|
|
32
|
+
onLoad?: PickedProps['load'];
|
|
33
|
+
onCellClick?: PickedProps['onCell-click'];
|
|
34
|
+
onRowClick?: PickedProps['onRow-click'];
|
|
35
|
+
onScroll?: PickedProps['onScroll'];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Slots = Slots;
|
|
38
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
39
|
+
border: boolean;
|
|
40
|
+
emptyText: string;
|
|
41
|
+
fit: boolean;
|
|
42
|
+
tableLayout: "fixed" | "auto";
|
|
43
|
+
scrollbarAlwaysOn: boolean;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author Garaev.VM
|
|
3
|
+
* @components ElTableColumn
|
|
4
|
+
*/
|
|
5
|
+
import { ElTableColumn } from 'element-plus';
|
|
6
|
+
import 'element-plus/es/components/table-column/style/css';
|
|
7
|
+
type ElTableColumnProps = InstanceType<typeof ElTableColumn>['$props'];
|
|
8
|
+
type PickedProps = Pick<ElTableColumnProps, 'prop' | 'label' | 'width' | 'sortable' | 'fixed' | 'className' | 'align' | 'resizable' | 'columnKey' | 'headerAlign' | 'type' | 'filterMethod'>;
|
|
9
|
+
type Props = {
|
|
10
|
+
prop?: PickedProps['align'];
|
|
11
|
+
label?: PickedProps['label'];
|
|
12
|
+
width?: PickedProps['width'];
|
|
13
|
+
sortable?: PickedProps['sortable'];
|
|
14
|
+
fixed?: PickedProps['fixed'];
|
|
15
|
+
className?: PickedProps['className'];
|
|
16
|
+
align?: PickedProps['align'];
|
|
17
|
+
resizable?: PickedProps['resizable'];
|
|
18
|
+
columnKey?: PickedProps['columnKey'];
|
|
19
|
+
headerAlign?: PickedProps['headerAlign'];
|
|
20
|
+
type?: PickedProps['type'];
|
|
21
|
+
onFilterMethod?: PickedProps['filterMethod'];
|
|
22
|
+
};
|
|
23
|
+
type Slots = {
|
|
24
|
+
default?: unknown;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Slots = Slots;
|
|
27
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
28
|
+
resizable: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -20,5 +20,7 @@ export { default as PrizmCollapseItem } from './PrizmCollapse/PrizmCollapseItem.
|
|
|
20
20
|
export { default as PrizmDropdown } from './PrizmDropdown/PrizmDropdown.vue';
|
|
21
21
|
export { default as PrizmDropdownItem } from './PrizmDropdown/PrizmDropdownItem.vue';
|
|
22
22
|
export { default as PrizmDropdownMenu } from './PrizmDropdown/PrizmDropdownMenu.vue';
|
|
23
|
+
export { default as PrizmTable } from './PrizmTable/PrizmTable.vue';
|
|
24
|
+
export { default as PrizmTableColumn } from './PrizmTable/PrizmTableColumn.vue';
|
|
23
25
|
export { PrizmMessageBox } from './PrizmMessageBox/PrizmMessageBox';
|
|
24
26
|
export { PrizmNotification } from './PrizmNotification/PrizmNotification';
|