@pequity/squirrel 6.1.1 → 7.0.0

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.
Files changed (94) hide show
  1. package/dist/cjs/chunks/p-alert.js +52 -0
  2. package/dist/cjs/chunks/p-avatar.js +65 -0
  3. package/dist/cjs/chunks/p-btn.js +1 -1
  4. package/dist/cjs/chunks/p-date-picker.js +2 -2
  5. package/dist/cjs/chunks/p-input-number.js +161 -0
  6. package/dist/cjs/chunks/p-input-percent.js +2 -2
  7. package/dist/cjs/chunks/p-input.js +111 -0
  8. package/dist/cjs/chunks/p-progress-bar.js +38 -0
  9. package/dist/cjs/chunks/p-textarea.js +89 -0
  10. package/dist/cjs/index.js +69 -76
  11. package/dist/cjs/inputClasses.js +8 -2
  12. package/dist/cjs/p-alert.js +2 -64
  13. package/dist/cjs/p-avatar.js +2 -70
  14. package/dist/cjs/p-drawer.js +2 -2
  15. package/dist/cjs/p-input-number.js +2 -145
  16. package/dist/cjs/p-input-search.js +2 -2
  17. package/dist/cjs/p-input.js +2 -92
  18. package/dist/cjs/p-modal.js +2 -2
  19. package/dist/cjs/p-progress-bar.js +2 -40
  20. package/dist/cjs/p-table-filter-icon.js +14 -9
  21. package/dist/cjs/p-textarea.js +2 -72
  22. package/dist/cjs/p-toggle.js +76 -64
  23. package/dist/cjs/useInputClasses.js +13 -18
  24. package/dist/es/chunks/p-alert.js +53 -0
  25. package/dist/es/chunks/p-avatar.js +66 -0
  26. package/dist/es/chunks/p-btn.js +1 -1
  27. package/dist/es/chunks/p-date-picker.js +2 -2
  28. package/dist/es/chunks/p-input-number.js +162 -0
  29. package/dist/es/chunks/p-input-percent.js +2 -2
  30. package/dist/es/chunks/p-input.js +112 -0
  31. package/dist/es/chunks/p-progress-bar.js +39 -0
  32. package/dist/es/chunks/p-textarea.js +90 -0
  33. package/dist/es/index.js +119 -126
  34. package/dist/es/inputClasses.js +8 -2
  35. package/dist/es/p-alert.js +2 -64
  36. package/dist/es/p-avatar.js +2 -70
  37. package/dist/es/p-drawer.js +2 -2
  38. package/dist/es/p-input-number.js +2 -145
  39. package/dist/es/p-input-search.js +2 -2
  40. package/dist/es/p-input.js +2 -92
  41. package/dist/es/p-modal.js +2 -2
  42. package/dist/es/p-progress-bar.js +2 -40
  43. package/dist/es/p-table-filter-icon.js +14 -9
  44. package/dist/es/p-textarea.js +2 -72
  45. package/dist/es/p-toggle.js +77 -65
  46. package/dist/es/useInputClasses.js +14 -19
  47. package/dist/squirrel/components/p-alert/p-alert.vue.d.ts +27 -10
  48. package/dist/squirrel/components/p-avatar/p-avatar.vue.d.ts +9 -10
  49. package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +7 -7
  50. package/dist/squirrel/components/p-date-picker/p-date-picker.vue.d.ts +2 -2
  51. package/dist/squirrel/components/p-drawer/p-drawer.vue.d.ts +37 -13
  52. package/dist/squirrel/components/p-inline-date-picker/p-inline-date-picker.vue.d.ts +2 -2
  53. package/dist/squirrel/components/p-input/p-input.vue.d.ts +30 -61
  54. package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +101 -65
  55. package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +113 -83
  56. package/dist/squirrel/components/p-modal/p-modal.vue.d.ts +2 -2
  57. package/dist/squirrel/components/p-progress-bar/p-progress-bar.vue.d.ts +5 -20
  58. package/dist/squirrel/components/p-table-header-cell/p-table-header-cell.vue.d.ts +1 -1
  59. package/dist/squirrel/components/p-table-loader/p-table-loader.vue.d.ts +1 -1
  60. package/dist/squirrel/components/p-table-sort/p-table-sort.vue.d.ts +3 -7
  61. package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +79 -42
  62. package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +25 -62
  63. package/dist/squirrel/composables/useInputClasses.d.ts +2 -1
  64. package/dist/squirrel/utils/index.d.ts +1 -3
  65. package/dist/squirrel/utils/inputClasses.d.ts +12 -0
  66. package/dist/squirrel.css +5 -5
  67. package/package.json +18 -18
  68. package/squirrel/components/p-alert/p-alert.spec.js +9 -8
  69. package/squirrel/components/p-alert/p-alert.vue +19 -31
  70. package/squirrel/components/p-avatar/p-avatar.spec.ts +10 -3
  71. package/squirrel/components/p-avatar/p-avatar.vue +40 -42
  72. package/squirrel/components/p-btn/p-btn.spec.js +1 -3
  73. package/squirrel/components/p-btn/p-btn.vue +1 -1
  74. package/squirrel/components/p-input/p-input.vue +63 -40
  75. package/squirrel/components/p-input-number/p-input-number.vue +101 -86
  76. package/squirrel/components/p-progress-bar/p-progress-bar.vue +9 -14
  77. package/squirrel/components/p-table-header-cell/p-table-filter-icon.vue +8 -9
  78. package/squirrel/components/p-table-sort/p-table-sort.vue +13 -16
  79. package/squirrel/components/p-textarea/p-textarea.vue +55 -37
  80. package/squirrel/components/p-toggle/p-toggle.vue +59 -43
  81. package/squirrel/composables/useInputClasses.spec.js +50 -13
  82. package/squirrel/composables/useInputClasses.ts +18 -24
  83. package/squirrel/utils/index.ts +0 -7
  84. package/squirrel/utils/inputClasses.ts +8 -2
  85. package/dist/cjs/inputClassesMixin.js +0 -58
  86. package/dist/cjs/tailwind.js +0 -25
  87. package/dist/es/inputClassesMixin.js +0 -59
  88. package/dist/es/tailwind.js +0 -25
  89. package/dist/squirrel/utils/inputClassesMixin.d.ts +0 -56
  90. package/dist/squirrel/utils/tailwind.d.ts +0 -8
  91. package/squirrel/utils/inputClassesMixin.spec.js +0 -241
  92. package/squirrel/utils/inputClassesMixin.ts +0 -60
  93. package/squirrel/utils/tailwind.spec.js +0 -27
  94. package/squirrel/utils/tailwind.ts +0 -28
@@ -5,9 +5,9 @@ type Props = {
5
5
  required?: boolean;
6
6
  } & VueDatePickerProps;
7
7
  type __VLS_Props = Props;
8
- type __VLS_PublicProps = {
8
+ type __VLS_PublicProps = __VLS_Props & {
9
9
  modelValue?: Date | string | null;
10
- } & __VLS_Props;
10
+ };
11
11
  declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
12
  "update:modelValue": (value: string | Date | null) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -157,11 +157,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
157
157
  width: string;
158
158
  title: string;
159
159
  disabled: boolean;
160
- zIndex: number;
161
160
  modelValue: boolean;
162
161
  errorMsg: string;
163
162
  position: string;
164
163
  appendTo: string;
164
+ zIndex: number;
165
165
  drawerStyle: Record<string, any>;
166
166
  drawerClass: string;
167
167
  inClass: string;
@@ -171,24 +171,48 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
171
171
  showBackdrop: boolean;
172
172
  enableClose: boolean;
173
173
  }, {}, {
174
- PAlert: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
175
- type: {
176
- type: import("vue").PropType<"info" | "error" | "success" | "warning">;
177
- default: string;
178
- validator(value: "info" | "error" | "success" | "warning"): boolean;
179
- };
180
- }>, {}, {}, {
181
- classes(): string;
182
- svgColor(): undefined;
183
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
174
+ PAlert: {
175
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
176
+ type: {
177
+ type: import("vue").PropType<"info" | "error" | "success" | "warning">;
178
+ default: string;
179
+ validator(value: "info" | "error" | "success" | "warning"): boolean;
180
+ };
181
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
182
+ type: "info" | "error" | "success" | "warning";
183
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
184
+ P: {};
185
+ B: {};
186
+ D: {};
187
+ C: {};
188
+ M: {};
189
+ Defaults: {};
190
+ }, Readonly<import("vue").ExtractPropTypes<{
191
+ type: {
192
+ type: import("vue").PropType<"info" | "error" | "success" | "warning">;
193
+ default: string;
194
+ validator(value: "info" | "error" | "success" | "warning"): boolean;
195
+ };
196
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
197
+ type: "info" | "error" | "success" | "warning";
198
+ }>;
199
+ __isFragment?: never;
200
+ __isTeleport?: never;
201
+ __isSuspense?: never;
202
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
184
203
  type: {
185
204
  type: import("vue").PropType<"info" | "error" | "success" | "warning">;
186
205
  default: string;
187
206
  validator(value: "info" | "error" | "success" | "warning"): boolean;
188
207
  };
189
- }>> & Readonly<{}>, {
208
+ }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
190
209
  type: "info" | "error" | "success" | "warning";
191
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
210
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
211
+ $slots: {
212
+ icon?: ((props: {}) => any) | undefined;
213
+ default?: ((props: {}) => any) | undefined;
214
+ };
215
+ });
192
216
  PCloseBtn: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
193
217
  variant: {
194
218
  type: import("vue").PropType<"transparent" | "gray" | "dark">;
@@ -10,9 +10,9 @@ declare const model: import("vue").ModelRef<string | Date | null, string, string
10
10
  declare const labelClasses: import("vue").ComputedRef<string>, errorMsgClasses: import("vue").ComputedRef<string>;
11
11
  declare const datePickerProps: import("vue").ComputedRef<VueDatePickerProps>;
12
12
  declare const style: import("vue").ComputedRef<StyleValue>;
13
- type __VLS_PublicProps = {
13
+ type __VLS_PublicProps = __VLS_Props & {
14
14
  modelValue?: Date | string | null;
15
- } & __VLS_Props;
15
+ };
16
16
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
17
17
  declare var __VLS_1: {
18
18
  label: string;
@@ -1,13 +1,14 @@
1
- import { type PropType, type StyleValue } from 'vue';
1
+ import { type Size } from '../p-btn/p-btn.types';
2
+ import { type PropType } from 'vue';
2
3
  declare const INPUT_TYPES: {
3
4
  TEXT: string;
4
5
  PASSWORD: string;
5
6
  };
6
7
  type InputTypeKeys = keyof typeof INPUT_TYPES;
7
8
  type InputType = (typeof INPUT_TYPES)[InputTypeKeys];
8
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
10
  modelValue: {
10
- type: (StringConstructor | NumberConstructor)[];
11
+ type: PropType<string | number | boolean | null>;
11
12
  default: string;
12
13
  };
13
14
  type: {
@@ -27,70 +28,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
27
28
  type: BooleanConstructor;
28
29
  default: boolean;
29
30
  };
30
- rounded: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- }>, {}, {}, {
35
- attrs(): {
36
- [x: string]: unknown;
37
- };
38
- style(): StyleValue;
39
- }, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
40
31
  size: {
41
- type: PropType<import("../index.js").Size>;
32
+ type: PropType<Size>;
42
33
  default: string;
43
- validator(value: import("../index.js").Size): boolean;
44
- };
45
- errorMsg: {
46
- type: StringConstructor;
47
- default: string;
48
- };
49
- required: {
50
- type: BooleanConstructor;
51
- default: boolean;
34
+ validator(value: Size): boolean;
52
35
  };
53
36
  rounded: {
54
37
  type: BooleanConstructor;
55
38
  default: boolean;
56
39
  };
57
- }>, {}, {}, {
58
- allClasses(): {
59
- input: string;
60
- label: string;
61
- errorMessage: string;
62
- };
63
- inputClasses(): string;
64
- labelClasses(): string;
65
- errorMsgClasses(): string;
66
- selectClasses(): string;
67
- textareaClasses(): string;
68
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
69
- size: {
70
- type: PropType<import("../index.js").Size>;
71
- default: string;
72
- validator(value: import("../index.js").Size): boolean;
73
- };
74
- errorMsg: {
75
- type: StringConstructor;
76
- default: string;
77
- };
78
- required: {
79
- type: BooleanConstructor;
80
- default: boolean;
81
- };
82
- rounded: {
83
- type: BooleanConstructor;
84
- default: boolean;
85
- };
86
- }>> & Readonly<{}>, {
87
- size: "sm" | "md" | "lg";
88
- required: boolean;
89
- rounded: boolean;
90
- errorMsg: string;
91
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ "update:modelValue": (...args: any[]) => void;
42
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
43
  modelValue: {
93
- type: (StringConstructor | NumberConstructor)[];
44
+ type: PropType<string | number | boolean | null>;
94
45
  default: string;
95
46
  };
96
47
  type: {
@@ -110,6 +61,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
110
61
  type: BooleanConstructor;
111
62
  default: boolean;
112
63
  };
64
+ size: {
65
+ type: PropType<Size>;
66
+ default: string;
67
+ validator(value: Size): boolean;
68
+ };
113
69
  rounded: {
114
70
  type: BooleanConstructor;
115
71
  default: boolean;
@@ -117,11 +73,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
117
73
  }>> & Readonly<{
118
74
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
119
75
  }>, {
76
+ size: "sm" | "md" | "lg";
120
77
  type: string;
121
78
  label: string;
122
79
  required: boolean;
123
- modelValue: string | number;
80
+ modelValue: string | number | boolean | null;
124
81
  rounded: boolean;
125
82
  errorMsg: string;
126
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
83
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
84
+ label?: ((props: {
85
+ label: string;
86
+ labelClasses: string;
87
+ }) => any) | undefined;
88
+ prefix?: ((props: {}) => any) | undefined;
89
+ suffix?: ((props: {}) => any) | undefined;
90
+ }>;
127
91
  export default _default;
92
+ type __VLS_WithSlots<T, S> = T & {
93
+ new (): {
94
+ $slots: S;
95
+ };
96
+ };
@@ -1,5 +1,24 @@
1
+ import { type Size } from '../p-btn/p-btn.types';
2
+ import PInfoIcon from '../p-info-icon/p-info-icon.vue';
1
3
  import { type PropType, type StyleValue } from 'vue';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ declare const labelClasses: import("vue").ComputedRef<string>, inputClasses: import("vue").ComputedRef<string>, errorMsgClasses: import("vue").ComputedRef<string>;
5
+ declare const inputRef: import("vue").Ref<any, any>;
6
+ declare const computedAttrs: import("vue").ComputedRef<{
7
+ [x: string]: unknown;
8
+ }>;
9
+ declare const style: import("vue").ComputedRef<StyleValue>;
10
+ declare const focus: () => void;
11
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
12
+ declare var __VLS_1: {
13
+ label: string;
14
+ labelClasses: string;
15
+ }, __VLS_6: {};
16
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
17
+ label?: (props: typeof __VLS_1) => any;
18
+ } & {
19
+ prefix?: (props: typeof __VLS_6) => any;
20
+ }>;
21
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
22
  modelValue: {
4
23
  type: PropType<number | string | null | undefined>;
5
24
  default: null;
@@ -16,6 +35,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
16
35
  type: BooleanConstructor;
17
36
  default: boolean;
18
37
  };
38
+ size: {
39
+ type: PropType<Size>;
40
+ default: string;
41
+ validator(value: Size): boolean;
42
+ };
19
43
  selectOnClick: {
20
44
  type: BooleanConstructor;
21
45
  default: boolean;
@@ -25,17 +49,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
49
  default: string;
26
50
  };
27
51
  }>, {
28
- inputRef: import("vue").Ref<any, any>;
29
- computedAttrs: import("vue").ComputedRef<{
30
- [x: string]: unknown;
31
- }>;
32
- style: import("vue").ComputedRef<StyleValue>;
33
- focus: () => void;
34
- }, {}, {}, {}, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
35
- size: {
36
- type: PropType<import("../index.js").Size>;
52
+ PInfoIcon: typeof PInfoIcon;
53
+ labelClasses: typeof labelClasses;
54
+ inputClasses: typeof inputClasses;
55
+ errorMsgClasses: typeof errorMsgClasses;
56
+ inputRef: typeof inputRef;
57
+ computedAttrs: typeof computedAttrs;
58
+ style: typeof style;
59
+ focus: typeof focus;
60
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
61
+ change: (...args: any[]) => void;
62
+ "update:modelValue": (...args: any[]) => void;
63
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
+ modelValue: {
65
+ type: PropType<number | string | null | undefined>;
66
+ default: null;
67
+ };
68
+ label: {
69
+ type: StringConstructor;
37
70
  default: string;
38
- validator(value: import("../index.js").Size): boolean;
39
71
  };
40
72
  errorMsg: {
41
73
  type: StringConstructor;
@@ -45,26 +77,39 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
77
  type: BooleanConstructor;
46
78
  default: boolean;
47
79
  };
48
- rounded: {
80
+ size: {
81
+ type: PropType<Size>;
82
+ default: string;
83
+ validator(value: Size): boolean;
84
+ };
85
+ selectOnClick: {
49
86
  type: BooleanConstructor;
50
87
  default: boolean;
51
88
  };
52
- }>, {}, {}, {
53
- allClasses(): {
54
- input: string;
55
- label: string;
56
- errorMessage: string;
57
- };
58
- inputClasses(): string;
59
- labelClasses(): string;
60
- errorMsgClasses(): string;
61
- selectClasses(): string;
62
- textareaClasses(): string;
63
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
- size: {
65
- type: PropType<import("../index.js").Size>;
89
+ tooltipText: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ }>> & Readonly<{
94
+ onChange?: ((...args: any[]) => any) | undefined;
95
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
96
+ }>, {
97
+ size: "sm" | "md" | "lg";
98
+ label: string;
99
+ required: boolean;
100
+ modelValue: string | number | null | undefined;
101
+ errorMsg: string;
102
+ selectOnClick: boolean;
103
+ tooltipText: string;
104
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
105
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
106
+ modelValue: {
107
+ type: PropType<number | string | null | undefined>;
108
+ default: null;
109
+ };
110
+ label: {
111
+ type: StringConstructor;
66
112
  default: string;
67
- validator(value: import("../index.js").Size): boolean;
68
113
  };
69
114
  errorMsg: {
70
115
  type: StringConstructor;
@@ -74,16 +119,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
74
119
  type: BooleanConstructor;
75
120
  default: boolean;
76
121
  };
77
- rounded: {
122
+ size: {
123
+ type: PropType<Size>;
124
+ default: string;
125
+ validator(value: Size): boolean;
126
+ };
127
+ selectOnClick: {
78
128
  type: BooleanConstructor;
79
129
  default: boolean;
80
130
  };
81
- }>> & Readonly<{}>, {
82
- size: "sm" | "md" | "lg";
83
- required: boolean;
84
- rounded: boolean;
85
- errorMsg: string;
86
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
131
+ tooltipText: {
132
+ type: StringConstructor;
133
+ default: string;
134
+ };
135
+ }>, {
136
+ setValue: (number: number | null) => void;
137
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
138
+ change: (...args: any[]) => void;
139
+ "update:modelValue": (...args: any[]) => void;
140
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
87
141
  modelValue: {
88
142
  type: PropType<number | string | null | undefined>;
89
143
  default: null;
@@ -100,6 +154,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
100
154
  type: BooleanConstructor;
101
155
  default: boolean;
102
156
  };
157
+ size: {
158
+ type: PropType<Size>;
159
+ default: string;
160
+ validator(value: Size): boolean;
161
+ };
103
162
  selectOnClick: {
104
163
  type: BooleanConstructor;
105
164
  default: boolean;
@@ -112,41 +171,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
112
171
  onChange?: ((...args: any[]) => any) | undefined;
113
172
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
114
173
  }>, {
174
+ size: "sm" | "md" | "lg";
115
175
  label: string;
116
176
  required: boolean;
117
177
  modelValue: string | number | null | undefined;
118
178
  errorMsg: string;
119
179
  selectOnClick: boolean;
120
180
  tooltipText: string;
121
- }, {}, {
122
- PInfoIcon: {
123
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
124
- text?: string | null;
125
- }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
126
- text: string | null;
127
- }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
128
- P: {};
129
- B: {};
130
- D: {};
131
- C: {};
132
- M: {};
133
- Defaults: {};
134
- }, Readonly<{
135
- text?: string | null;
136
- }> & Readonly<{}>, {}, {}, {}, {}, {
137
- text: string | null;
138
- }>;
139
- __isFragment?: never;
140
- __isTeleport?: never;
141
- __isSuspense?: never;
142
- } & import("vue").ComponentOptionsBase<Readonly<{
143
- text?: string | null;
144
- }> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
145
- text: string | null;
146
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
147
- $slots: {
148
- default?: ((props: {}) => any) | undefined;
149
- };
150
- });
151
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
181
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
182
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
152
183
  export default _default;
184
+ type __VLS_WithSlots<T, S> = T & {
185
+ new (): {
186
+ $slots: S;
187
+ };
188
+ };