@illinois-grad/grad-vue 2.1.7 → 2.1.9

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,40 @@
1
+ type Props = {
2
+ /**
3
+ * Label
4
+ */
5
+ label?: string;
6
+ /**
7
+ * Placeholder text
8
+ */
9
+ placeholder?: string;
10
+ /**
11
+ * Disabled
12
+ */
13
+ disabled?: boolean;
14
+ /**
15
+ * Error message
16
+ */
17
+ error?: string;
18
+ /**
19
+ * Instructions
20
+ */
21
+ instructions?: string;
22
+ };
23
+ type __VLS_Props = Props;
24
+ type __VLS_ModelProps = {
25
+ modelValue?: string | null;
26
+ };
27
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
28
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:modelValue": (value: string | null | undefined) => any;
30
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
32
+ }>, {
33
+ label: string;
34
+ placeholder: string;
35
+ disabled: boolean;
36
+ error: string;
37
+ instructions: string;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
@@ -0,0 +1,40 @@
1
+ type Props = {
2
+ /**
3
+ * Label
4
+ */
5
+ label?: string;
6
+ /**
7
+ * Placeholder text
8
+ */
9
+ placeholder?: string;
10
+ /**
11
+ * Disabled
12
+ */
13
+ disabled?: boolean;
14
+ /**
15
+ * Error message
16
+ */
17
+ error?: string;
18
+ /**
19
+ * Instructions
20
+ */
21
+ instructions?: string;
22
+ };
23
+ type __VLS_Props = Props;
24
+ type __VLS_ModelProps = {
25
+ modelValue?: string | null;
26
+ };
27
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
28
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:modelValue": (value: string | null | undefined) => any;
30
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
32
+ }>, {
33
+ label: string;
34
+ placeholder: string;
35
+ disabled: boolean;
36
+ error: string;
37
+ instructions: string;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
@@ -0,0 +1,49 @@
1
+ type Props = {
2
+ /**
3
+ * Label for the component
4
+ */
5
+ label?: string;
6
+ /**
7
+ * Label for the start date input
8
+ */
9
+ startLabel?: string;
10
+ /**
11
+ * Label for the end date input
12
+ */
13
+ endLabel?: string;
14
+ /**
15
+ * Disabled
16
+ */
17
+ disabled?: boolean;
18
+ /**
19
+ * Error message
20
+ */
21
+ error?: string;
22
+ /**
23
+ * Instructions
24
+ */
25
+ instructions?: string;
26
+ };
27
+ type __VLS_Props = Props;
28
+ type DateRange = {
29
+ start: string | null;
30
+ end: string | null;
31
+ };
32
+ type __VLS_ModelProps = {
33
+ modelValue?: DateRange;
34
+ };
35
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
36
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ "update:modelValue": (value: DateRange) => any;
38
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
39
+ "onUpdate:modelValue"?: ((value: DateRange) => any) | undefined;
40
+ }>, {
41
+ label: string;
42
+ disabled: boolean;
43
+ error: string;
44
+ instructions: string;
45
+ startLabel: string;
46
+ endLabel: string;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
+ declare const _default: typeof __VLS_export;
49
+ export default _default;
@@ -0,0 +1,40 @@
1
+ type Props = {
2
+ /**
3
+ * Label
4
+ */
5
+ label?: string;
6
+ /**
7
+ * Placeholder text
8
+ */
9
+ placeholder?: string;
10
+ /**
11
+ * Disabled
12
+ */
13
+ disabled?: boolean;
14
+ /**
15
+ * Error message
16
+ */
17
+ error?: string;
18
+ /**
19
+ * Instructions
20
+ */
21
+ instructions?: string;
22
+ };
23
+ type __VLS_Props = Props;
24
+ type __VLS_ModelProps = {
25
+ modelValue?: string | null;
26
+ };
27
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
28
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:modelValue": (value: string | null | undefined) => any;
30
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
31
+ "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
32
+ }>, {
33
+ label: string;
34
+ placeholder: string;
35
+ disabled: boolean;
36
+ error: string;
37
+ instructions: string;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
@@ -19,6 +19,18 @@ type Props = {
19
19
  * Instructions
20
20
  */
21
21
  instructions?: string;
22
+ /**
23
+ * Prefix text (displayed before input)
24
+ */
25
+ prefix?: string;
26
+ /**
27
+ * Suffix text (displayed after input)
28
+ */
29
+ suffix?: string;
30
+ /**
31
+ * Debounce in milliseconds
32
+ */
33
+ debounce?: number;
22
34
  };
23
35
  type __VLS_Props = Props;
24
36
  type __VLS_ModelProps = {
@@ -47,6 +59,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
47
59
  disabled: boolean;
48
60
  error: string;
49
61
  instructions: string;
62
+ prefix: string;
63
+ suffix: string;
64
+ debounce: number;
50
65
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
66
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
52
67
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from "vue";
2
- export declare function useOverlayFocus(element: Ref<HTMLElement | null>, isTop: Ref<boolean>): {
2
+ export declare function useOverlayFocus(element: Ref<HTMLElement | null>, isTop: Ref<boolean>, clickOutsideDeactivates?: boolean): {
3
3
  activate: (opts?: import("focus-trap").ActivateOptions) => void;
4
4
  deactivate: (opts?: import("focus-trap").DeactivateOptions) => void;
5
5
  pause: import("@vueuse/shared").Fn;