@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xy-planning-network/trees",
3
- "version": "0.12.6-dev",
3
+ "version": "0.12.6-dev-2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "repository": "github:xy-planning-network/trees",
@@ -1,4 +1,4 @@
1
- import { TreesComponents } from "@/lib-components"
1
+ import { TreesComponents } from "./lib-components"
2
2
 
3
3
  /**
4
4
  * When using App.use(Trees) include a
@@ -1,5 +1,5 @@
1
1
  import { VNodeChild, type ComputedRef } from "vue";
2
- import { ActionItem } from "@/composables/nav";
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 "@/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";
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 "@/composables/index";
10
- export * from "@/lib-components/index";
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 "@/composables/forms";
13
+ export type * from "./composables/forms";
14
14
  export { emailPattern, looseToNumber, phonePattern, urlPattern, numericInputTypes, textInputTypes, useInputField, };
15
15
  export { debounceFn, debounceLeading, throttleFn };
@@ -1,4 +1,4 @@
1
- import type { TextLikeInput } from "@/composables/forms";
1
+ import type { TextLikeInput } from "../../composables/forms";
2
2
  type __VLS_Props = TextLikeInput;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: TextLikeInput["modelValue"];
@@ -1,4 +1,4 @@
1
- import type { BooleanInput } from "@/composables/forms";
1
+ import type { BooleanInput } from "../../composables/forms";
2
2
  type __VLS_Props = BooleanInput;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: BooleanInput["modelValue"];
@@ -1,5 +1,5 @@
1
1
  import "flatpickr/dist/flatpickr.min.css";
2
- import type { DateRangeInput } from "@/composables/forms";
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 type { DateTimeInput } from "@/composables/forms";
1
+ import type { DateTimeInput } from "../../composables/forms";
2
2
  type __VLS_Props = DateTimeInput;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: DateTimeInput["modelValue"];
@@ -1,4 +1,4 @@
1
- import { MultiChoiceInput, ColumnedInput } from "@/composables/forms";
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 { NumericInput } from "@/composables/forms";
1
+ import type { NumericInput } from "../../composables/forms";
2
2
  type __VLS_Props = NumericInput;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: NumericInput["modelValue"];
@@ -1,4 +1,4 @@
1
- import type { OptionsInput, ColumnedInput } from "@/composables/forms";
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 "@/composables/forms";
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,4 +1,4 @@
1
- import type { OptionsInput } from "@/composables/forms";
1
+ import type { OptionsInput } from "../../composables/forms";
2
2
  type __VLS_Props = OptionsInput;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: OptionsInput["modelValue"];
@@ -1,4 +1,4 @@
1
- import type { TextareaInput } from "@/composables/forms";
1
+ import type { TextareaInput } from "../../composables/forms";
2
2
  type __VLS_Props = TextareaInput;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: TextareaInput["modelValue"];
@@ -1,4 +1,4 @@
1
- import type { BooleanInput } from "@/composables/forms";
1
+ import type { BooleanInput } from "../../composables/forms";
2
2
  type __VLS_Props = BooleanInput;
3
3
  type __VLS_PublicProps = {
4
4
  modelValue?: BooleanInput["modelValue"];
@@ -1,5 +1,5 @@
1
- import { DateRange } from "@/composables/date";
2
- import { SortDir } from "@/composables/list";
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 { NavItem } from "@/composables/nav";
1
+ import type { NavItem } from "../../composables/nav";
2
2
  type __VLS_Props = {
3
3
  activeUrl?: string;
4
4
  iconUrl: string;
@@ -1,5 +1,5 @@
1
- import type { NavItem } from "@/composables/nav";
2
- import User from "@/composables/user";
1
+ import type { NavItem } from "../../composables/nav";
2
+ import User from "../../composables/user";
3
3
  type __VLS_Props = {
4
4
  activeUrl?: string;
5
5
  currentUser: User;
@@ -1,4 +1,4 @@
1
- import type { TableActions, TableColumns, TableRowsData } from "@/composables/table";
1
+ import type { TableActions, TableColumns, TableRowsData } from "../../composables/table";
2
2
  type __VLS_Props = {
3
3
  tableActions?: TableActions<any>;
4
4
  tableColumns: TableColumns<any>;
@@ -1,4 +1,4 @@
1
- import { SortDir } from "@/composables/list";
1
+ import { SortDir } from "../../composables/list";
2
2
  type __VLS_Props = {
3
3
  /**
4
4
  * borderless removes the default border styling applied around list items.
@@ -1,4 +1,4 @@
1
- import type { DynamicTableOptions, TableActions, TableBulkActions, TableColumns, TableRowData } from "@/composables/table";
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 "@/composables";
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("@/composables").TableRowData>[];
6
+ actions: TableActionItem<import("../../composables").TableRowData>[];
7
7
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { ActionItem } from "@/composables/nav";
1
+ import type { ActionItem } from "../../composables/nav";
2
2
  import type { Placement } from "@floating-ui/vue";
3
3
  type __VLS_Props = {
4
4
  actions?: ActionItem[];
@@ -1,4 +1,4 @@
1
- import { Pagination } from "@/composables/nav";
1
+ import { Pagination } from "../../composables/nav";
2
2
  type __VLS_PublicProps = {
3
3
  modelValue: Pagination;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { Pagination } from "@/composables/nav";
1
+ import { Pagination } from "../../composables/nav";
2
2
  type __VLS_Props = {
3
3
  pageOptions?: {
4
4
  label: string;