@xy-planning-network/trees 0.4.0-rc-5 → 0.4.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.
- package/README.md +236 -53
- package/dist/trees.es.js +224 -225
- package/dist/trees.umd.js +5 -5
- package/package.json +10 -7
- package/src/lib-components/layout/DateFilter.vue +14 -16
- package/src/lib-components/layout/SidebarLayout.vue +1 -1
- package/src/lib-components/layout/StackedLayout.vue +3 -2
- package/src/lib-components/lists/StaticTable.vue +1 -1
- package/src/lib-components/lists/Table.vue +1 -1
- package/src/lib-components/navigation/ActionsDropdown.vue +2 -2
- package/src/lib-components/navigation/Paginator.vue +1 -9
- package/src/lib-components/overlays/Flash.vue +1 -6
- package/{dist/types → types}/api/base.d.ts +0 -0
- package/types/components.d.ts +12 -0
- package/types/composables/date.d.ts +4 -0
- package/types/composables/nav.d.ts +13 -0
- package/types/composables/overlay.d.ts +4 -0
- package/{dist/types/types → types/composables}/table.d.ts +3 -3
- package/types/composables/user.d.ts +6 -0
- package/{dist/types → types}/entry.d.ts +1 -3
- package/types/global.d.ts +13 -0
- package/{dist/types → types}/helpers/Uniques.d.ts +0 -0
- package/{dist/types → types}/lib-components/forms/BaseInput.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/forms/Checkbox.vue.d.ts +1 -1
- package/{dist/types → types}/lib-components/forms/DateRangePicker.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/forms/InputHelp.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/forms/InputLabel.vue.d.ts +0 -0
- package/{dist/types → types}/lib-components/forms/MultiCheckboxes.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/forms/Radio.vue.d.ts +3 -3
- package/{dist/types → types}/lib-components/forms/Select.vue.d.ts +5 -5
- package/{dist/types → types}/lib-components/forms/TextArea.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/forms/Toggle.vue.d.ts +0 -0
- package/{dist/types → types}/lib-components/forms/YesOrNoRadio.vue.d.ts +3 -3
- package/{dist/types → types}/lib-components/index.d.ts +29 -31
- package/{dist/types → types}/lib-components/layout/DateFilter.vue.d.ts +1 -4
- package/{dist/types → types}/lib-components/layout/SidebarLayout.vue.d.ts +1 -1
- package/{dist/types → types}/lib-components/layout/StackedLayout.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/lists/Cards.vue.d.ts +0 -0
- package/{dist/types → types}/lib-components/lists/DetailList.vue.d.ts +1 -1
- package/{dist/types → types}/lib-components/lists/DownloadCell.vue.d.ts +0 -0
- package/{dist/types → types}/lib-components/lists/StaticTable.vue.d.ts +1 -1
- package/{dist/types → types}/lib-components/lists/Table.vue.d.ts +1 -1
- package/{dist/types → types}/lib-components/navigation/ActionsDropdown.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/navigation/Paginator.vue.d.ts +1 -6
- package/{dist/types → types}/lib-components/navigation/Steps.vue.d.ts +2 -2
- package/{dist/types → types}/lib-components/navigation/Tabs.vue.d.ts +0 -0
- package/{dist/types → types}/lib-components/overlays/ContentModal.vue.d.ts +1 -1
- package/{dist/types/lib-components/overlays/Spinner.vue.d.ts → types/lib-components/overlays/Flash.vue.d.ts} +0 -0
- package/{dist/types → types}/lib-components/overlays/Modal.vue.d.ts +3 -3
- package/{dist/types → types}/lib-components/overlays/Slideover.vue.d.ts +1 -1
- package/{dist/types/lib-components/overlays/Flash.vue.d.ts → types/lib-components/overlays/Spinner.vue.d.ts} +0 -4
- package/dist/types/types/nav.d.ts +0 -7
- package/dist/types/types/users.d.ts +0 -9
- package/src/types/env.d.ts +0 -18
- package/src/types/global.d.ts +0 -10
|
@@ -34,17 +34,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
submitText?: unknown;
|
|
35
35
|
title?: unknown;
|
|
36
36
|
} & {
|
|
37
|
-
title: string;
|
|
38
37
|
disabled: boolean;
|
|
39
38
|
modelValue: boolean;
|
|
39
|
+
title: string;
|
|
40
40
|
destructive: boolean;
|
|
41
41
|
submitText: string;
|
|
42
42
|
} & {}> & {
|
|
43
|
-
onSubmit?: (() => any) | undefined;
|
|
44
43
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
44
|
+
onSubmit?: (() => any) | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
title: string;
|
|
47
46
|
disabled: boolean;
|
|
47
|
+
title: string;
|
|
48
48
|
destructive: boolean;
|
|
49
49
|
submitText: string;
|
|
50
50
|
}>;
|
|
@@ -12,8 +12,8 @@ declare const _default: import("vue").DefineComponent<__VLS_DefinePropsToOptions
|
|
|
12
12
|
modelValue?: unknown;
|
|
13
13
|
} & {
|
|
14
14
|
description: string;
|
|
15
|
-
header: string;
|
|
16
15
|
modelValue: boolean;
|
|
16
|
+
header: string;
|
|
17
17
|
} & {}> & {
|
|
18
18
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
19
19
|
onClose?: ((val: boolean) => any) | undefined;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
export interface Flash {
|
|
2
|
-
type?: string;
|
|
3
|
-
message: string;
|
|
4
|
-
}
|
|
5
1
|
declare const _default: import("vue").DefineComponent<{}, () => void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
6
2
|
export default _default;
|
package/src/types/env.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
declare module "*.vue" {
|
|
4
|
-
import { DefineComponent } from "vue"
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
|
|
6
|
-
const component: DefineComponent<{}, {}, any>
|
|
7
|
-
export default component
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// import.meta.env type support
|
|
11
|
-
// https://vitejs.dev/guide/env-and-mode.html
|
|
12
|
-
interface ImportMetaEnv {
|
|
13
|
-
readonly VITE_APP_BASE_API_URL: string
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
interface ImportMeta {
|
|
17
|
-
readonly env: ImportMetaEnv
|
|
18
|
-
}
|