@xy-planning-network/trees 0.12.6-dev → 0.12.6-dev-2
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/package.json +1 -1
- package/types/components.d.ts +1 -1
- package/types/composables/table.d.ts +1 -1
- package/types/entry.d.ts +8 -8
- package/types/lib-components/forms/BaseInput.vue.d.ts +1 -1
- package/types/lib-components/forms/Checkbox.vue.d.ts +1 -1
- package/types/lib-components/forms/DateRangePicker.vue.d.ts +1 -1
- package/types/lib-components/forms/DateTimeInput.vue.d.ts +1 -1
- package/types/lib-components/forms/MultiCheckboxes.vue.d.ts +1 -1
- package/types/lib-components/forms/NumberInput.vue.d.ts +1 -1
- package/types/lib-components/forms/Radio.vue.d.ts +1 -1
- package/types/lib-components/forms/RadioCards.vue.d.ts +1 -1
- package/types/lib-components/forms/Select.vue.d.ts +1 -1
- package/types/lib-components/forms/TextArea.vue.d.ts +1 -1
- package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +1 -1
- package/types/lib-components/layout/DateFilter.vue.d.ts +2 -2
- package/types/lib-components/layout/SidebarLayout.vue.d.ts +1 -1
- package/types/lib-components/layout/StackedLayout.vue.d.ts +2 -2
- package/types/lib-components/lists/DataTable.vue.d.ts +1 -1
- package/types/lib-components/lists/DetailList.vue.d.ts +1 -1
- package/types/lib-components/lists/DynamicTable.vue.d.ts +1 -1
- package/types/lib-components/lists/TableActionButtons.vue.d.ts +2 -2
- package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +1 -1
- package/types/lib-components/navigation/Paginator.vue.d.ts +1 -1
- package/types/lib-components/navigation/TablePaginator.vue.d.ts +1 -1
package/package.json
CHANGED
package/types/components.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNodeChild, type ComputedRef } from "vue";
|
|
2
|
-
import { ActionItem } from "
|
|
2
|
+
import { ActionItem } from "../composables/nav";
|
|
3
3
|
import { DateRangeProps } from "./date";
|
|
4
4
|
export interface DynamicTableOptions {
|
|
5
5
|
dateSearch?: boolean | DateRangeProps;
|
package/types/entry.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Plugin } from "vue";
|
|
2
|
-
import BaseAPI, { isHttpCancel, isHttpError, setBaseAPIDefaults } from "
|
|
3
|
-
import type { HttpPromise, HttpError, QueryParams, ReqOptions, ReqPayload, TrailsPromise, TrailsPromisePaged, TrailsResp, TrailsRespPaged } from "
|
|
4
|
-
import { emailPattern, looseToNumber, numericInputTypes, phonePattern, urlPattern, textInputTypes, useInputField } from "
|
|
5
|
-
import { debounce as debounceFn, debounceLeading } from "
|
|
6
|
-
import { throttle as throttleFn } from "
|
|
2
|
+
import BaseAPI, { isHttpCancel, isHttpError, setBaseAPIDefaults } from "./api/base";
|
|
3
|
+
import type { HttpPromise, HttpError, QueryParams, ReqOptions, ReqPayload, TrailsPromise, TrailsPromisePaged, TrailsResp, TrailsRespPaged } from "./api/client";
|
|
4
|
+
import { emailPattern, looseToNumber, numericInputTypes, phonePattern, urlPattern, textInputTypes, useInputField } from "./composables/forms";
|
|
5
|
+
import { debounce as debounceFn, debounceLeading } from "./helpers/Debounce";
|
|
6
|
+
import { throttle as throttleFn } from "./helpers/Throttle";
|
|
7
7
|
declare const install: Exclude<Plugin["install"], undefined>;
|
|
8
8
|
export default install;
|
|
9
|
-
export * from "
|
|
10
|
-
export * from "
|
|
9
|
+
export * from "./composables/index";
|
|
10
|
+
export * from "./lib-components/index";
|
|
11
11
|
export { BaseAPI, isHttpCancel, isHttpError, setBaseAPIDefaults };
|
|
12
12
|
export type { HttpPromise, HttpError, QueryParams, ReqOptions, ReqPayload, TrailsPromise, TrailsPromisePaged, TrailsResp, TrailsRespPaged, };
|
|
13
|
-
export type * from "
|
|
13
|
+
export type * from "./composables/forms";
|
|
14
14
|
export { emailPattern, looseToNumber, phonePattern, urlPattern, numericInputTypes, textInputTypes, useInputField, };
|
|
15
15
|
export { debounceFn, debounceLeading, throttleFn };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "flatpickr/dist/flatpickr.min.css";
|
|
2
|
-
import type { DateRangeInput } from "
|
|
2
|
+
import type { DateRangeInput } from "../../composables/forms";
|
|
3
3
|
type __VLS_Props = DateRangeInput;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue?: DateRangeInput["modelValue"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MultiChoiceInput, ColumnedInput } from "
|
|
1
|
+
import { MultiChoiceInput, ColumnedInput } from "../../composables/forms";
|
|
2
2
|
type __VLS_Props = MultiChoiceInput & ColumnedInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: MultiChoiceInput["modelValue"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OptionsInput, ColumnedInput } from "
|
|
1
|
+
import type { OptionsInput, ColumnedInput } from "../../composables/forms";
|
|
2
2
|
type __VLS_Props = OptionsInput & ColumnedInput;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
4
|
modelValue?: OptionsInput["modelValue"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputOption } from "
|
|
1
|
+
import type { InputOption } from "../../composables/forms";
|
|
2
2
|
declare const _default: <T extends InputOption>(__VLS_props: {
|
|
3
3
|
readonly "onUpdate:modelValue"?: ((value: string | number | null | undefined) => any) | undefined;
|
|
4
4
|
modelValue?: string | number | null | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DateRange } from "
|
|
2
|
-
import { SortDir } from "
|
|
1
|
+
import { DateRange } from "../../composables/date";
|
|
2
|
+
import { SortDir } from "../../composables/list";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
dateRange: DateRange;
|
|
5
5
|
sortDir: SortDir;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DynamicTableOptions, TableActions, TableBulkActions, TableColumns, TableRowData } from "
|
|
1
|
+
import type { DynamicTableOptions, TableActions, TableBulkActions, TableColumns, TableRowData } from "../../composables/table";
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
tableActions?: TableActions<any>;
|
|
4
4
|
tableBulkActions?: TableBulkActions<any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TableActionItem } from "
|
|
1
|
+
import { TableActionItem } from "../../composables";
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
actions?: TableActionItem[];
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
actions: TableActionItem<import("
|
|
6
|
+
actions: TableActionItem<import("../../composables").TableRowData>[];
|
|
7
7
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export default _default;
|