prizm-ui-vue 2.2.23 → 2.2.25

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,13 +1,15 @@
1
1
  import { ElForm } from 'element-plus';
2
2
  import 'element-plus/es/components/form/style/css';
3
3
  type ElFormProps = InstanceType<typeof ElForm>['$props'];
4
- type PickedProps = Pick<ElFormProps, 'disabled' | 'statusIcon' | 'model' | 'requireAsteriskPosition' | 'labelPosition'>;
4
+ type PickedProps = Pick<ElFormProps, 'disabled' | 'statusIcon' | 'model' | 'requireAsteriskPosition' | 'labelPosition' | 'onValidate' | 'validateOnRuleChange'>;
5
5
  type Props = {
6
6
  disabled?: PickedProps['disabled'];
7
7
  statusIcon?: PickedProps['statusIcon'];
8
8
  labelPosition?: PickedProps['labelPosition'];
9
9
  requireAsteriskPosition?: PickedProps['requireAsteriskPosition'];
10
10
  model?: PickedProps['model'];
11
+ validateOnRuleChange?: PickedProps['validateOnRuleChange'];
12
+ onValidate?: PickedProps['onValidate'];
11
13
  };
12
14
  type Slots = {
13
15
  default?: unknown;
@@ -198,11 +200,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
198
200
  default?(_: {}): any;
199
201
  };
200
202
  }) | null>>;
201
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
202
- validate: () => any;
203
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
204
- onValidate?: (() => any) | undefined;
205
- }>, {
203
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
206
204
  labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
207
205
  requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "right" | "left", unknown>;
208
206
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -12,6 +12,7 @@ type Props = {
12
12
  required?: FormItemProps['required'];
13
13
  rules?: FormItemProps['rules'];
14
14
  showMessage?: FormItemProps['showMessage'];
15
+ validateStatus?: FormItemProps['validateStatus'];
15
16
  width?: string;
16
17
  };
17
18
  type __VLS_Slots = Slots;
@@ -176,11 +177,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
176
177
  }): any;
177
178
  };
178
179
  }) | null>>;
179
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
180
- validate: () => any;
181
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
182
- onValidate?: (() => any) | undefined;
183
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
180
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
184
181
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
185
182
  export default _default;
186
183
  type __VLS_WithSlots<T, S> = T & {
@@ -3,16 +3,16 @@ import 'element-plus/es/components/icon/style/css';
3
3
  type ElIconProps = InstanceType<typeof ElIcon>['$props'];
4
4
  type PickedProps = Pick<ElIconProps, 'size' | 'color' | 'class'>;
5
5
  type Props = {
6
- size: PickedProps['size'];
7
- color: PickedProps['color'];
8
- class: PickedProps['class'];
6
+ size?: PickedProps['size'];
7
+ color?: PickedProps['color'];
8
+ class?: PickedProps['class'];
9
9
  };
10
10
  type Slots = {
11
11
  default?: unknown;
12
12
  };
13
13
  type __VLS_Slots = Slots;
14
14
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
- size: PickedProps["size"];
15
+ size: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
18
18
  export default _default;
@@ -12,7 +12,110 @@ type Slots = {
12
12
  default?: unknown;
13
13
  };
14
14
  type __VLS_Slots = Slots;
15
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
15
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
16
+ baseOptionRef: Readonly<import("vue").ShallowRef<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
17
+ value: {
18
+ required: true;
19
+ type: (ObjectConstructor | NumberConstructor | StringConstructor | BooleanConstructor)[];
20
+ };
21
+ label: (NumberConstructor | StringConstructor)[];
22
+ created: BooleanConstructor;
23
+ disabled: BooleanConstructor;
24
+ }>>, {
25
+ ns: {
26
+ namespace: import("vue").ComputedRef<string>;
27
+ b: (blockSuffix?: string) => string;
28
+ e: (element?: string) => string;
29
+ m: (modifier?: string) => string;
30
+ be: (blockSuffix?: string, element?: string) => string;
31
+ em: (element?: string, modifier?: string) => string;
32
+ bm: (blockSuffix?: string, modifier?: string) => string;
33
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
34
+ is: {
35
+ (name: string, state: boolean | undefined): string;
36
+ (name: string): string;
37
+ };
38
+ cssVar: (object: Record<string, string>) => Record<string, string>;
39
+ cssVarName: (name: string) => string;
40
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
41
+ cssVarBlockName: (name: string) => string;
42
+ };
43
+ id: import("vue").Ref<string>;
44
+ containerKls: import("vue").ComputedRef<string[]>;
45
+ currentLabel: import("vue").ComputedRef<any>;
46
+ itemSelected: import("vue").ComputedRef<boolean>;
47
+ isDisabled: import("vue").ComputedRef<any>;
48
+ select: import("element-plus").SelectContext | undefined;
49
+ hoverItem: () => void;
50
+ updateOption: (query: string) => void;
51
+ visible: import("vue").Ref<boolean>;
52
+ hover: import("vue").Ref<boolean>;
53
+ selectOptionClick: () => void;
54
+ states: {
55
+ index: number;
56
+ groupDisabled: boolean;
57
+ visible: boolean;
58
+ hover: boolean;
59
+ };
60
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
61
+ disabled: boolean;
62
+ created: boolean;
63
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
64
+ P: {};
65
+ B: {};
66
+ D: {};
67
+ C: {};
68
+ M: {};
69
+ Defaults: {};
70
+ }, Readonly<import("vue").ExtractPropTypes<{
71
+ value: {
72
+ required: true;
73
+ type: (ObjectConstructor | NumberConstructor | StringConstructor | BooleanConstructor)[];
74
+ };
75
+ label: (NumberConstructor | StringConstructor)[];
76
+ created: BooleanConstructor;
77
+ disabled: BooleanConstructor;
78
+ }>>, {
79
+ ns: {
80
+ namespace: import("vue").ComputedRef<string>;
81
+ b: (blockSuffix?: string) => string;
82
+ e: (element?: string) => string;
83
+ m: (modifier?: string) => string;
84
+ be: (blockSuffix?: string, element?: string) => string;
85
+ em: (element?: string, modifier?: string) => string;
86
+ bm: (blockSuffix?: string, modifier?: string) => string;
87
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
88
+ is: {
89
+ (name: string, state: boolean | undefined): string;
90
+ (name: string): string;
91
+ };
92
+ cssVar: (object: Record<string, string>) => Record<string, string>;
93
+ cssVarName: (name: string) => string;
94
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
95
+ cssVarBlockName: (name: string) => string;
96
+ };
97
+ id: import("vue").Ref<string>;
98
+ containerKls: import("vue").ComputedRef<string[]>;
99
+ currentLabel: import("vue").ComputedRef<any>;
100
+ itemSelected: import("vue").ComputedRef<boolean>;
101
+ isDisabled: import("vue").ComputedRef<any>;
102
+ select: import("element-plus").SelectContext | undefined;
103
+ hoverItem: () => void;
104
+ updateOption: (query: string) => void;
105
+ visible: import("vue").Ref<boolean>;
106
+ hover: import("vue").Ref<boolean>;
107
+ selectOptionClick: () => void;
108
+ states: {
109
+ index: number;
110
+ groupDisabled: boolean;
111
+ visible: boolean;
112
+ hover: boolean;
113
+ };
114
+ }, {}, {}, {}, {
115
+ disabled: boolean;
116
+ created: boolean;
117
+ }> | null>>;
118
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
16
119
  width: "auto" | string | number;
17
120
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
121
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;