@xy-planning-network/trees 0.9.8 → 0.9.9-rc1

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 (42) hide show
  1. package/package.json +7 -7
  2. package/types/helpers/Slots.d.ts +2 -0
  3. package/types/lib-components/forms/BaseInput.vue.d.ts +30 -44
  4. package/types/lib-components/forms/Checkbox.vue.d.ts +30 -36
  5. package/types/lib-components/forms/DateRangePicker.vue.d.ts +37 -61
  6. package/types/lib-components/forms/DateTimeInput.vue.d.ts +30 -36
  7. package/types/lib-components/forms/FieldsetLegend.vue.d.ts +34 -27
  8. package/types/lib-components/forms/InputError.vue.d.ts +26 -11
  9. package/types/lib-components/forms/InputHelp.vue.d.ts +30 -19
  10. package/types/lib-components/forms/InputLabel.vue.d.ts +34 -27
  11. package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +30 -62
  12. package/types/lib-components/forms/Radio.vue.d.ts +30 -50
  13. package/types/lib-components/forms/RadioCards.vue.d.ts +15 -12
  14. package/types/lib-components/forms/Select.vue.d.ts +30 -44
  15. package/types/lib-components/forms/TextArea.vue.d.ts +30 -36
  16. package/types/lib-components/forms/Toggle.vue.d.ts +33 -26
  17. package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +30 -36
  18. package/types/lib-components/indicators/InlineAlert.vue.d.ts +51 -68
  19. package/types/lib-components/layout/DateFilter.vue.d.ts +17 -20
  20. package/types/lib-components/layout/SidebarLayout.vue.d.ts +33 -35
  21. package/types/lib-components/layout/StackedLayout.vue.d.ts +34 -43
  22. package/types/lib-components/lists/Cards.vue.d.ts +17 -14
  23. package/types/lib-components/lists/DataTable.vue.d.ts +34 -31
  24. package/types/lib-components/lists/DetailList.vue.d.ts +97 -60
  25. package/types/lib-components/lists/DownloadCell.vue.d.ts +15 -18
  26. package/types/lib-components/lists/DynamicTable.vue.d.ts +35 -32
  27. package/types/lib-components/lists/StaticTable.vue.d.ts +21 -0
  28. package/types/lib-components/lists/StaticTableActionSlot.vue.d.ts +27 -0
  29. package/types/lib-components/lists/Table.vue.d.ts +39 -0
  30. package/types/lib-components/lists/TableActionButtons.vue.d.ts +27 -12
  31. package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +27 -11
  32. package/types/lib-components/navigation/ActionsDropdownCallback.vue.d.ts +18 -0
  33. package/types/lib-components/navigation/ActionsDropdownEmit.vue.d.ts +22 -0
  34. package/types/lib-components/navigation/Paginator.vue.d.ts +15 -12
  35. package/types/lib-components/navigation/Steps.vue.d.ts +43 -52
  36. package/types/lib-components/navigation/Tabs.vue.d.ts +35 -32
  37. package/types/lib-components/overlays/AlertModal.vue.d.ts +68 -0
  38. package/types/lib-components/overlays/ContentModal.vue.d.ts +29 -20
  39. package/types/lib-components/overlays/Modal.vue.d.ts +46 -53
  40. package/types/lib-components/overlays/Popover/Popover.vue.d.ts +31 -20
  41. package/types/lib-components/overlays/Slideover.vue.d.ts +19 -28
  42. package/types/lib-components/overlays/Tooltip.vue.d.ts +31 -20
@@ -1,74 +1,40 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- title: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- btnLink: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- btnText: {
11
- type: import("vue").PropType<string>;
12
- default: string;
13
- };
14
- content: {
15
- type: import("vue").PropType<string | string[]>;
16
- required: true;
17
- };
18
- dismissable: {
19
- type: import("vue").PropType<boolean>;
20
- default: boolean;
21
- };
22
- secondaryBtnLink: {
23
- type: import("vue").PropType<string>;
24
- default: string;
25
- };
26
- secondaryBtnText: {
27
- type: import("vue").PropType<string>;
28
- default: string;
29
- };
30
- kind: {
31
- type: import("vue").PropType<"alert" | "warn" | "info" | "success">;
32
- required: true;
33
- };
34
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ btnLink?: string | undefined;
3
+ btnText?: string | undefined;
4
+ content: string | string[];
5
+ dismissable?: boolean | undefined;
6
+ secondaryBtnLink?: string | undefined;
7
+ secondaryBtnText?: string | undefined;
8
+ title?: string | undefined;
9
+ kind: "warn" | "info" | "success" | "alert";
10
+ }>, {
11
+ btnLink: string;
12
+ btnText: string;
13
+ dismissable: boolean;
14
+ secondaryBtnLink: string;
15
+ secondaryBtnText: string;
16
+ title: string;
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
18
  close: (closed: true) => void;
36
19
  click: (e: Event) => void;
37
20
  "click:secondary": (e: Event) => void;
38
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
- title: {
40
- type: import("vue").PropType<string>;
41
- default: string;
42
- };
43
- btnLink: {
44
- type: import("vue").PropType<string>;
45
- default: string;
46
- };
47
- btnText: {
48
- type: import("vue").PropType<string>;
49
- default: string;
50
- };
51
- content: {
52
- type: import("vue").PropType<string | string[]>;
53
- required: true;
54
- };
55
- dismissable: {
56
- type: import("vue").PropType<boolean>;
57
- default: boolean;
58
- };
59
- secondaryBtnLink: {
60
- type: import("vue").PropType<string>;
61
- default: string;
62
- };
63
- secondaryBtnText: {
64
- type: import("vue").PropType<string>;
65
- default: string;
66
- };
67
- kind: {
68
- type: import("vue").PropType<"alert" | "warn" | "info" | "success">;
69
- required: true;
70
- };
71
- }>> & {
21
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
22
+ btnLink?: string | undefined;
23
+ btnText?: string | undefined;
24
+ content: string | string[];
25
+ dismissable?: boolean | undefined;
26
+ secondaryBtnLink?: string | undefined;
27
+ secondaryBtnText?: string | undefined;
28
+ title?: string | undefined;
29
+ kind: "warn" | "info" | "success" | "alert";
30
+ }>, {
31
+ btnLink: string;
32
+ btnText: string;
33
+ dismissable: boolean;
34
+ secondaryBtnLink: string;
35
+ secondaryBtnText: string;
36
+ title: string;
37
+ }>>> & {
72
38
  onClick?: ((e: Event) => any) | undefined;
73
39
  onClose?: ((closed: true) => any) | undefined;
74
40
  "onClick:secondary"?: ((e: Event) => any) | undefined;
@@ -81,3 +47,20 @@ declare const _default: import("vue").DefineComponent<{
81
47
  secondaryBtnText: string;
82
48
  }, {}>;
83
49
  export default _default;
50
+ type __VLS_WithDefaults<P, D> = {
51
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
+ default: D[K];
53
+ }> : P[K];
54
+ };
55
+ type __VLS_Prettify<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
58
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
59
+ type __VLS_TypePropsToOption<T> = {
60
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
61
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
62
+ } : {
63
+ type: import('vue').PropType<T[K]>;
64
+ required: true;
65
+ };
66
+ };
@@ -1,28 +1,25 @@
1
1
  import { DateRange } from "../../composables/date";
2
2
  import { SortDir } from "../../composables/list";
3
- declare const _default: import("vue").DefineComponent<{
4
- dateRange: {
5
- type: import("vue").PropType<DateRange>;
6
- required: true;
7
- };
8
- sortDir: {
9
- type: import("vue").PropType<SortDir>;
10
- required: true;
11
- };
12
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
+ dateRange: DateRange;
5
+ sortDir: SortDir;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
7
  "sort-dir-changed": (val: SortDir) => void;
14
8
  "date-range-changed": (val: DateRange) => void;
15
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
- dateRange: {
17
- type: import("vue").PropType<DateRange>;
18
- required: true;
19
- };
20
- sortDir: {
21
- type: import("vue").PropType<SortDir>;
22
- required: true;
23
- };
24
- }>> & {
9
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
10
+ dateRange: DateRange;
11
+ sortDir: SortDir;
12
+ }>>> & {
25
13
  "onSort-dir-changed"?: ((val: SortDir) => any) | undefined;
26
14
  "onDate-range-changed"?: ((val: DateRange) => any) | undefined;
27
15
  }, {}, {}>;
28
16
  export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToOption<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
@@ -1,48 +1,46 @@
1
1
  import * as NavTypes from "../../composables/nav";
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- activeUrl: {
4
- type: import("vue").PropType<string>;
5
- default: string;
6
- };
7
- iconUrl: {
8
- type: import("vue").PropType<string>;
9
- required: true;
10
- };
11
- navigation: {
12
- type: import("vue").PropType<NavTypes.Item[]>;
13
- required: true;
14
- };
15
- userNavigation: {
16
- type: import("vue").PropType<NavTypes.Item[]>;
17
- required: true;
18
- };
19
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
- activeUrl: {
21
- type: import("vue").PropType<string>;
22
- default: string;
23
- };
24
- iconUrl: {
25
- type: import("vue").PropType<string>;
26
- required: true;
27
- };
28
- navigation: {
29
- type: import("vue").PropType<NavTypes.Item[]>;
30
- required: true;
31
- };
32
- userNavigation: {
33
- type: import("vue").PropType<NavTypes.Item[]>;
34
- required: true;
35
- };
36
- }>>, {
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ activeUrl?: string | undefined;
4
+ iconUrl: string;
5
+ navigation: NavTypes.Item[];
6
+ userNavigation: NavTypes.Item[];
7
+ }>, {
8
+ activeUrl: string;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
10
+ activeUrl?: string | undefined;
11
+ iconUrl: string;
12
+ navigation: NavTypes.Item[];
13
+ userNavigation: NavTypes.Item[];
14
+ }>, {
15
+ activeUrl: string;
16
+ }>>>, {
37
17
  activeUrl: string;
38
18
  }, {}>, {
19
+ "sidebar-bottom"?(_: {}): any;
39
20
  "sidebar-bottom"?(_: {}): any;
40
21
  header?(_: {}): any;
41
22
  default?(_: {}): any;
42
23
  }>;
43
24
  export default _default;
25
+ type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
+ default: D[K];
28
+ }> : P[K];
29
+ };
30
+ type __VLS_Prettify<T> = {
31
+ [K in keyof T]: T[K];
32
+ } & {};
44
33
  type __VLS_WithTemplateSlots<T, S> = T & {
45
34
  new (): {
46
35
  $slots: S;
47
36
  };
48
37
  };
38
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
+ type __VLS_TypePropsToOption<T> = {
40
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
41
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
+ } : {
43
+ type: import('vue').PropType<T[K]>;
44
+ required: true;
45
+ };
46
+ };
@@ -1,56 +1,47 @@
1
1
  import * as NavTypes from "../../composables/nav";
2
2
  import User from "../../composables/user";
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- activeUrl: {
5
- type: import("vue").PropType<string>;
6
- default: string;
7
- };
8
- iconUrl: {
9
- type: import("vue").PropType<string>;
10
- required: true;
11
- };
12
- navigation: {
13
- type: import("vue").PropType<NavTypes.Item[]>;
14
- required: true;
15
- };
16
- userNavigation: {
17
- type: import("vue").PropType<NavTypes.Item[]>;
18
- required: true;
19
- };
20
- currentUser: {
21
- type: import("vue").PropType<User>;
22
- required: true;
23
- };
24
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
- activeUrl: {
26
- type: import("vue").PropType<string>;
27
- default: string;
28
- };
29
- iconUrl: {
30
- type: import("vue").PropType<string>;
31
- required: true;
32
- };
33
- navigation: {
34
- type: import("vue").PropType<NavTypes.Item[]>;
35
- required: true;
36
- };
37
- userNavigation: {
38
- type: import("vue").PropType<NavTypes.Item[]>;
39
- required: true;
40
- };
41
- currentUser: {
42
- type: import("vue").PropType<User>;
43
- required: true;
44
- };
45
- }>>, {
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ activeUrl?: string | undefined;
5
+ currentUser: User;
6
+ iconUrl: string;
7
+ navigation: NavTypes.Item[];
8
+ userNavigation: NavTypes.Item[];
9
+ }>, {
10
+ activeUrl: string;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
12
+ activeUrl?: string | undefined;
13
+ currentUser: User;
14
+ iconUrl: string;
15
+ navigation: NavTypes.Item[];
16
+ userNavigation: NavTypes.Item[];
17
+ }>, {
18
+ activeUrl: string;
19
+ }>>>, {
46
20
  activeUrl: string;
47
21
  }, {}>, {
48
22
  header?(_: {}): any;
49
23
  default?(_: {}): any;
50
24
  }>;
51
25
  export default _default;
26
+ type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
+ default: D[K];
29
+ }> : P[K];
30
+ };
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K];
33
+ } & {};
52
34
  type __VLS_WithTemplateSlots<T, S> = T & {
53
35
  new (): {
54
36
  $slots: S;
55
37
  };
56
38
  };
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToOption<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: import('vue').PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
@@ -1,18 +1,21 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
2
  cards: {
3
- type: import("vue").PropType<{
4
- primary: string;
5
- secondary: string;
6
- }[]>;
7
- required: true;
8
- };
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
3
+ primary: string;
4
+ secondary: string;
5
+ }[];
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
10
7
  cards: {
11
- type: import("vue").PropType<{
12
- primary: string;
13
- secondary: string;
14
- }[]>;
8
+ primary: string;
9
+ secondary: string;
10
+ }[];
11
+ }>>>, {}, {}>;
12
+ export default _default;
13
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
+ type __VLS_TypePropsToOption<T> = {
15
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
16
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
+ } : {
18
+ type: import('vue').PropType<T[K]>;
15
19
  required: true;
16
20
  };
17
- }>>, {}, {}>;
18
- export default _default;
21
+ };
@@ -1,37 +1,40 @@
1
1
  import type { TableActions, TableColumns, TableRowsData } from "../../composables/table";
2
- declare const _default: import("vue").DefineComponent<{
3
- tableActions: {
4
- type: import("vue").PropType<TableActions<any>>;
5
- default: () => {
6
- type: string;
7
- actions: never[];
8
- };
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ tableActions?: TableActions<any> | undefined;
4
+ tableColumns: TableColumns<any>;
5
+ tableData: TableRowsData;
6
+ }>, {
7
+ tableActions: () => {
8
+ type: string;
9
+ actions: never[];
9
10
  };
10
- tableColumns: {
11
- type: import("vue").PropType<TableColumns<any>>;
12
- required: true;
13
- };
14
- tableData: {
15
- type: import("vue").PropType<TableRowsData>;
16
- required: true;
17
- };
18
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- tableActions: {
20
- type: import("vue").PropType<TableActions<any>>;
21
- default: () => {
22
- type: string;
23
- actions: never[];
24
- };
25
- };
26
- tableColumns: {
27
- type: import("vue").PropType<TableColumns<any>>;
28
- required: true;
29
- };
30
- tableData: {
31
- type: import("vue").PropType<TableRowsData>;
32
- required: true;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
12
+ tableActions?: TableActions<any> | undefined;
13
+ tableColumns: TableColumns<any>;
14
+ tableData: TableRowsData;
15
+ }>, {
16
+ tableActions: () => {
17
+ type: string;
18
+ actions: never[];
33
19
  };
34
- }>>, {
20
+ }>>>, {
35
21
  tableActions: TableActions<any>;
36
22
  }, {}>;
37
23
  export default _default;
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToOption<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
@@ -1,66 +1,86 @@
1
1
  import { SortDir } from "../../composables/list";
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- url: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- borderless: {
8
- type: import("vue").PropType<boolean>;
9
- default: boolean;
10
- };
11
- defaultSort: {
12
- type: import("vue").PropType<string>;
13
- default: string;
14
- };
15
- defaultSortDir: {
16
- type: import("vue").PropType<SortDir>;
17
- default: string;
18
- };
19
- disableDate: {
20
- type: import("vue").PropType<boolean>;
21
- default: boolean;
22
- };
23
- disableNavigation: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
- perPage: {
28
- type: import("vue").PropType<number>;
29
- default: number;
30
- };
31
- }, {
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ /**
4
+ * borderless removes the default border styling applied around list items.
5
+ * This is useful when filters or pagination navigation components show,
6
+ * but less helpful when this component is dialed back in functionality.
7
+ */
8
+ borderless?: boolean | undefined;
9
+ /**
10
+ * defaultSort overrides the default field to sort items on.
11
+ */
12
+ defaultSort?: string | undefined;
13
+ /**
14
+ * defaultSortDir overrides the default order to sort items with.
15
+ */
16
+ defaultSortDir?: SortDir | undefined;
17
+ /**
18
+ * disableDate turns off the date-range filter input.
19
+ */
20
+ disableDate?: boolean | undefined;
21
+ /**
22
+ * disableNavigation hides navigation components from displaying.
23
+ * This makes the List as a "single-page" limiting the number of results via perPage.
24
+ */
25
+ disableNavigation?: boolean | undefined;
26
+ /**
27
+ * perPage overrides the default number of items per page to retrieve.
28
+ */
29
+ perPage?: number | undefined;
30
+ /**
31
+ * url is the endpoint to retrieve list data from
32
+ */
33
+ url: string;
34
+ }>, {
35
+ borderless: boolean;
36
+ disableNavigation: boolean;
37
+ disableDate: boolean;
38
+ defaultSort: string;
39
+ defaultSortDir: string;
40
+ perPage: number;
41
+ }>, {
32
42
  refresh: () => void;
33
43
  reset: () => void;
34
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
- url: {
36
- type: import("vue").PropType<string>;
37
- required: true;
38
- };
39
- borderless: {
40
- type: import("vue").PropType<boolean>;
41
- default: boolean;
42
- };
43
- defaultSort: {
44
- type: import("vue").PropType<string>;
45
- default: string;
46
- };
47
- defaultSortDir: {
48
- type: import("vue").PropType<SortDir>;
49
- default: string;
50
- };
51
- disableDate: {
52
- type: import("vue").PropType<boolean>;
53
- default: boolean;
54
- };
55
- disableNavigation: {
56
- type: import("vue").PropType<boolean>;
57
- default: boolean;
58
- };
59
- perPage: {
60
- type: import("vue").PropType<number>;
61
- default: number;
62
- };
63
- }>>, {
44
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
45
+ /**
46
+ * borderless removes the default border styling applied around list items.
47
+ * This is useful when filters or pagination navigation components show,
48
+ * but less helpful when this component is dialed back in functionality.
49
+ */
50
+ borderless?: boolean | undefined;
51
+ /**
52
+ * defaultSort overrides the default field to sort items on.
53
+ */
54
+ defaultSort?: string | undefined;
55
+ /**
56
+ * defaultSortDir overrides the default order to sort items with.
57
+ */
58
+ defaultSortDir?: SortDir | undefined;
59
+ /**
60
+ * disableDate turns off the date-range filter input.
61
+ */
62
+ disableDate?: boolean | undefined;
63
+ /**
64
+ * disableNavigation hides navigation components from displaying.
65
+ * This makes the List as a "single-page" limiting the number of results via perPage.
66
+ */
67
+ disableNavigation?: boolean | undefined;
68
+ /**
69
+ * perPage overrides the default number of items per page to retrieve.
70
+ */
71
+ perPage?: number | undefined;
72
+ /**
73
+ * url is the endpoint to retrieve list data from
74
+ */
75
+ url: string;
76
+ }>, {
77
+ borderless: boolean;
78
+ disableNavigation: boolean;
79
+ disableDate: boolean;
80
+ defaultSort: string;
81
+ defaultSortDir: string;
82
+ perPage: number;
83
+ }>>>, {
64
84
  borderless: boolean;
65
85
  defaultSort: string;
66
86
  defaultSortDir: SortDir;
@@ -74,8 +94,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
74
94
  empty?(_: {}): any;
75
95
  }>;
76
96
  export default _default;
97
+ type __VLS_WithDefaults<P, D> = {
98
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
99
+ default: D[K];
100
+ }> : P[K];
101
+ };
102
+ type __VLS_Prettify<T> = {
103
+ [K in keyof T]: T[K];
104
+ } & {};
77
105
  type __VLS_WithTemplateSlots<T, S> = T & {
78
106
  new (): {
79
107
  $slots: S;
80
108
  };
81
109
  };
110
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
+ type __VLS_TypePropsToOption<T> = {
112
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
113
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
114
+ } : {
115
+ type: import('vue').PropType<T[K]>;
116
+ required: true;
117
+ };
118
+ };