prizm-ui-vue 2.2.43 → 2.2.45
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/PrizmDropdown/PrizmDropdown.vue.d.ts +6 -2
- package/dist/components/PrizmTable/PrizmTable.vue.d.ts +47 -0
- package/dist/components/PrizmTable/PrizmTableColumn.vue.d.ts +32 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/prizm-ui.es.js +638 -517
- 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,4 +1,4 @@
|
|
|
1
|
-
import { ElDropdown } from 'element-plus';
|
|
1
|
+
import { type DropdownInstance, ElDropdown } from 'element-plus';
|
|
2
2
|
import 'element-plus/es/components/dropdown/style/css';
|
|
3
3
|
type ElDropdownProps = InstanceType<typeof ElDropdown>['$props'];
|
|
4
4
|
type PickedProps = Pick<ElDropdownProps, 'type' | 'effect' | 'disabled' | 'trigger' | 'loop' | 'maxHeight' | 'splitButton' | 'onClick' | 'size' | 'placement' | 'triggerKeys' | 'onVisible-change' | 'onCommand'>;
|
|
@@ -13,6 +13,7 @@ type Props = {
|
|
|
13
13
|
size?: 'large' | 'default' | 'small';
|
|
14
14
|
placement?: PickedProps['placement'];
|
|
15
15
|
triggerKeys?: PickedProps['triggerKeys'];
|
|
16
|
+
openList?: boolean;
|
|
16
17
|
onClick?: PickedProps['onClick'];
|
|
17
18
|
'onVisible-change'?: PickedProps['onVisible-change'];
|
|
18
19
|
onCommand?: PickedProps['onCommand'];
|
|
@@ -22,11 +23,14 @@ type Slots = {
|
|
|
22
23
|
dropdown?: unknown;
|
|
23
24
|
};
|
|
24
25
|
type __VLS_Slots = Slots;
|
|
25
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
26
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
27
|
+
baseDropdownRef: Readonly<import("vue").ShallowRef<DropdownInstance | null>>;
|
|
28
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
26
29
|
size: "large" | "default" | "small";
|
|
27
30
|
type: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger") | (() => import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>) | ((new (...args: any[]) => "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger") | (() => import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>))[], unknown, unknown>;
|
|
28
31
|
placement: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("element-plus").Placement))[], unknown, unknown>;
|
|
29
32
|
trigger: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "click" | "contextmenu" | "focus" | "hover" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown>;
|
|
33
|
+
openList: boolean;
|
|
30
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
35
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
36
|
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ElTable } from 'element-plus';
|
|
2
|
+
import 'element-plus/es/components/table/style/css';
|
|
3
|
+
type ElTableProps = InstanceType<typeof ElTable>['$props'];
|
|
4
|
+
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'>;
|
|
5
|
+
type Slots = {
|
|
6
|
+
default?: unknown;
|
|
7
|
+
append?: unknown;
|
|
8
|
+
empty?: unknown;
|
|
9
|
+
};
|
|
10
|
+
type Props = {
|
|
11
|
+
data?: PickedProps['data'];
|
|
12
|
+
size?: PickedProps['size'];
|
|
13
|
+
maxHeight?: PickedProps['maxHeight'];
|
|
14
|
+
className?: PickedProps['className'];
|
|
15
|
+
scrollbarAlwaysOn?: PickedProps['scrollbarAlwaysOn'];
|
|
16
|
+
border?: PickedProps['border'];
|
|
17
|
+
cellClassName?: PickedProps['cellClassName'];
|
|
18
|
+
headerCellClassName?: PickedProps['headerCellClassName'];
|
|
19
|
+
headerRowClassName?: PickedProps['headerRowClassName'];
|
|
20
|
+
treeProps?: PickedProps['treeProps'];
|
|
21
|
+
cellStyle?: PickedProps['cellStyle'];
|
|
22
|
+
fit?: PickedProps['fit'];
|
|
23
|
+
tableLayout?: PickedProps['tableLayout'];
|
|
24
|
+
allowDragLastColumn?: PickedProps['allowDragLastColumn'];
|
|
25
|
+
flexible?: PickedProps['flexible'];
|
|
26
|
+
emptyText?: PickedProps['emptyText'];
|
|
27
|
+
showSummary?: PickedProps['showSummary'];
|
|
28
|
+
onLoad?: PickedProps['load'];
|
|
29
|
+
onCellClick?: PickedProps['onCell-click'];
|
|
30
|
+
onRowClick?: PickedProps['onRow-click'];
|
|
31
|
+
onScroll?: PickedProps['onScroll'];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Slots = Slots;
|
|
34
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
35
|
+
border: boolean;
|
|
36
|
+
emptyText: string;
|
|
37
|
+
fit: boolean;
|
|
38
|
+
tableLayout: "fixed" | "auto";
|
|
39
|
+
scrollbarAlwaysOn: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ElTableColumn } from 'element-plus';
|
|
2
|
+
import 'element-plus/es/components/table-column/style/css';
|
|
3
|
+
type ElTableColumnProps = InstanceType<typeof ElTableColumn>['$props'];
|
|
4
|
+
type PickedProps = Pick<ElTableColumnProps, 'prop' | 'label' | 'width' | 'sortable' | 'fixed' | 'className' | 'align' | 'resizable' | 'columnKey' | 'headerAlign' | 'type' | 'filterMethod'>;
|
|
5
|
+
type Props = {
|
|
6
|
+
prop?: PickedProps['align'];
|
|
7
|
+
label?: PickedProps['label'];
|
|
8
|
+
width?: PickedProps['width'];
|
|
9
|
+
sortable?: PickedProps['sortable'];
|
|
10
|
+
fixed?: PickedProps['fixed'];
|
|
11
|
+
className?: PickedProps['className'];
|
|
12
|
+
align?: PickedProps['align'];
|
|
13
|
+
resizable?: PickedProps['resizable'];
|
|
14
|
+
columnKey?: PickedProps['columnKey'];
|
|
15
|
+
headerAlign?: PickedProps['headerAlign'];
|
|
16
|
+
type?: PickedProps['type'];
|
|
17
|
+
onFilterMethod?: PickedProps['filterMethod'];
|
|
18
|
+
};
|
|
19
|
+
type Slots = {
|
|
20
|
+
default?: unknown;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Slots = Slots;
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
24
|
+
resizable: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -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';
|