@xy-planning-network/trees 0.12.4 → 0.12.6-dev
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/dist/trees.es.js +3421 -3360
- package/dist/trees.umd.js +14 -14
- package/package.json +2 -2
- package/types/api/base.d.ts +0 -0
- package/types/api/client.d.ts +0 -0
- package/types/components.d.ts +1 -1
- package/types/composables/date.d.ts +0 -0
- package/types/composables/forms.d.ts +0 -0
- package/types/composables/index.d.ts +0 -0
- package/types/composables/list.d.ts +0 -0
- package/types/composables/nav.d.ts +0 -0
- package/types/composables/overlay.d.ts +0 -0
- package/types/composables/table.d.ts +1 -1
- package/types/composables/useActionItems.d.ts +0 -0
- package/types/composables/useBaseAPI.d.ts +0 -0
- package/types/composables/useBulkTable.d.ts +0 -0
- package/types/composables/useFlashes.d.ts +0 -0
- package/types/composables/useSpinner.d.ts +0 -0
- package/types/composables/useTable.d.ts +0 -0
- package/types/composables/user.d.ts +0 -0
- package/types/entry.d.ts +8 -8
- package/types/helpers/Debounce.d.ts +0 -0
- package/types/helpers/Throttle.d.ts +0 -0
- package/types/helpers/Uniques.d.ts +0 -0
- 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/FieldsetLegend.vue.d.ts +0 -0
- package/types/lib-components/forms/InputError.vue.d.ts +0 -0
- package/types/lib-components/forms/InputHelp.vue.d.ts +0 -0
- package/types/lib-components/forms/InputLabel.vue.d.ts +0 -0
- 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/Toggle.vue.d.ts +0 -0
- package/types/lib-components/forms/YesOrNoRadio.vue.d.ts +1 -1
- package/types/lib-components/index.d.ts +0 -0
- package/types/lib-components/indicators/AppIcon.vue.d.ts +24 -0
- package/types/lib-components/indicators/InlineAlert.vue.d.ts +0 -0
- package/types/lib-components/indicators/ProgressCircles.vue.d.ts +0 -0
- package/types/lib-components/indicators/ProgressCirclesLabeled.vue.d.ts +0 -0
- package/types/lib-components/indicators/XYSpinner.vue.d.ts +0 -0
- 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/layout/UserMenu.vue.d.ts +8 -0
- package/types/lib-components/lists/Cards.vue.d.ts +0 -0
- 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/DownloadCell.vue.d.ts +0 -0
- 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/Steps.vue.d.ts +0 -0
- package/types/lib-components/navigation/TablePaginator.vue.d.ts +1 -1
- package/types/lib-components/navigation/Tabs.vue.d.ts +0 -0
- package/types/lib-components/overlays/ContentModal.vue.d.ts +0 -0
- package/types/lib-components/overlays/Flash.vue.d.ts +0 -0
- package/types/lib-components/overlays/Modal.vue.d.ts +0 -0
- package/types/lib-components/overlays/Popover/Popover.vue.d.ts +0 -0
- package/types/lib-components/overlays/Popover/PopoverContent.vue.d.ts +0 -0
- package/types/lib-components/overlays/Slideover.vue.d.ts +0 -0
- package/types/lib-components/overlays/Spinner.vue.d.ts +0 -0
- package/types/lib-components/overlays/Tooltip.vue.d.ts +0 -0
- package/types/lib-components/overlays/TooltipWrapper.vue.d.ts +18 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xy-planning-network/trees",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.6-dev",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "github:xy-planning-network/trees",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@maskito/core": "^3.5.0",
|
|
64
64
|
"@maskito/kit": "^3.5.0",
|
|
65
65
|
"@maskito/vue": "^3.5.0",
|
|
66
|
-
"axios": "^1.
|
|
66
|
+
"axios": "^1.12.2",
|
|
67
67
|
"flatpickr": "^4.6.9"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
package/types/api/base.d.ts
CHANGED
|
File without changes
|
package/types/api/client.d.ts
CHANGED
|
File without changes
|
package/types/components.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
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 };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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"];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Component, FunctionalComponent, RenderFunction } from "vue";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
bgColor?: `bg-${string}`;
|
|
4
|
+
iconColor?: `text-${string}`;
|
|
5
|
+
icon: FunctionalComponent | Component | RenderFunction;
|
|
6
|
+
indicator?: string | number | boolean;
|
|
7
|
+
size?: "xs" | "sm" | "base" | "lg" | "xl";
|
|
8
|
+
type?: "circle" | "square";
|
|
9
|
+
};
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
type: "circle" | "square";
|
|
12
|
+
size: "base" | "xs" | "sm" | "lg" | "xl";
|
|
13
|
+
bgColor: `bg-${string}`;
|
|
14
|
+
iconColor: `text-${string}`;
|
|
15
|
+
indicator: string | number | boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { UserMenuItem } from "../../composables/nav";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
menu?: UserMenuItem[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
menu: UserMenuItem[];
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Placement } from "@floating-ui/vue";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
as?: string;
|
|
4
|
+
position?: Placement | "auto";
|
|
5
|
+
tooltip: string;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
8
|
+
as: string;
|
|
9
|
+
position: Placement | "auto";
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|