prizm-ui-vue 2.2.42 → 2.2.43

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.
@@ -0,0 +1,37 @@
1
+ import { ElDropdown } from 'element-plus';
2
+ import 'element-plus/es/components/dropdown/style/css';
3
+ type ElDropdownProps = InstanceType<typeof ElDropdown>['$props'];
4
+ type PickedProps = Pick<ElDropdownProps, 'type' | 'effect' | 'disabled' | 'trigger' | 'loop' | 'maxHeight' | 'splitButton' | 'onClick' | 'size' | 'placement' | 'triggerKeys' | 'onVisible-change' | 'onCommand'>;
5
+ type Props = {
6
+ type?: PickedProps['type'];
7
+ effect?: PickedProps['effect'];
8
+ disabled?: PickedProps['disabled'];
9
+ trigger?: PickedProps['trigger'];
10
+ loop?: PickedProps['loop'];
11
+ maxHeight?: PickedProps['maxHeight'];
12
+ splitButton?: PickedProps['splitButton'];
13
+ size?: 'large' | 'default' | 'small';
14
+ placement?: PickedProps['placement'];
15
+ triggerKeys?: PickedProps['triggerKeys'];
16
+ onClick?: PickedProps['onClick'];
17
+ 'onVisible-change'?: PickedProps['onVisible-change'];
18
+ onCommand?: PickedProps['onCommand'];
19
+ };
20
+ type Slots = {
21
+ default?: unknown;
22
+ dropdown?: unknown;
23
+ };
24
+ type __VLS_Slots = Slots;
25
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
26
+ size: "large" | "default" | "small";
27
+ 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
+ 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
+ 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>;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
32
+ export default _default;
33
+ type __VLS_WithSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,21 @@
1
+ import { ElDropdownItem } from 'element-plus';
2
+ import 'element-plus/es/components/dropdown-item/style/css';
3
+ type ElDropdownItemProps = InstanceType<typeof ElDropdownItem>['$props'];
4
+ type PickedProps = Pick<ElDropdownItemProps, 'disabled' | 'icon' | 'onClick'>;
5
+ type Props = {
6
+ disabled?: PickedProps['disabled'];
7
+ icon?: PickedProps['icon'];
8
+ onClick?: PickedProps['onClick'];
9
+ };
10
+ type Slots = {
11
+ default?: unknown;
12
+ };
13
+ type __VLS_Slots = Slots;
14
+ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,13 @@
1
+ import 'element-plus/es/components/dropdown-menu/style/css';
2
+ type Slots = {
3
+ default?: unknown;
4
+ };
5
+ type __VLS_Slots = Slots;
6
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -17,5 +17,8 @@ export { default as PrizmSelect } from './PrizmSelect/PrizmSelect.vue';
17
17
  export { default as PrizmOption } from './PrizmSelect/PrizmOption.vue';
18
18
  export { default as PrizmCollapse } from './PrizmCollapse/PrizmCollapse.vue';
19
19
  export { default as PrizmCollapseItem } from './PrizmCollapse/PrizmCollapseItem.vue';
20
+ export { default as PrizmDropdown } from './PrizmDropdown/PrizmDropdown.vue';
21
+ export { default as PrizmDropdownItem } from './PrizmDropdown/PrizmDropdownItem.vue';
22
+ export { default as PrizmDropdownMenu } from './PrizmDropdown/PrizmDropdownMenu.vue';
20
23
  export { PrizmMessageBox } from './PrizmMessageBox/PrizmMessageBox';
21
24
  export { PrizmNotification } from './PrizmNotification/PrizmNotification';