@xy-planning-network/trees 0.7.0-rc-4 → 0.7.1

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.7.0-rc-4",
3
+ "version": "0.7.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "repository": "github:xy-planning-network/trees",
@@ -15,9 +15,9 @@ const attrs = useAttrs()
15
15
  <p class="sr-only">
16
16
  <slot>loading</slot>
17
17
  </p>
18
- <div class="animate-spin-gear drop-shadow-md">
18
+ <div class="animate-spin-gear drop-shadow-sm">
19
19
  <svg
20
- class="h-full w-full text-[#51A749]"
20
+ class="h-full w-full text-xy-green-300"
21
21
  viewBox="0 0 129 129"
22
22
  version="1.1"
23
23
  xmlns="http://www.w3.org/2000/svg"
@@ -56,37 +56,6 @@ const attrs = useAttrs()
56
56
  <div
57
57
  class="absolute top-0 left-0 right-0 bottom-0 flex justify-center items-center transform scale-50"
58
58
  >
59
- <svg
60
- width="100%"
61
- height="100%"
62
- viewBox="0 0 53 32"
63
- version="1.1"
64
- xmlns="http://www.w3.org/2000/svg"
65
- xmlns:xlink="http://www.w3.org/1999/xlink"
66
- >
67
- <g
68
- id="Page-1"
69
- stroke="none"
70
- stroke-width="1"
71
- fill="none"
72
- fill-rule="evenodd"
73
- >
74
- <g id="Group-3-Copy">
75
- <polygon
76
- id="Fill-1"
77
- class="fill-[#1F6DF4]"
78
- points="0.7994 0.3999 11.2214 16.0009 0.7994 31.5999 11.2214 31.5999 16.4004 24.0149 21.1934 31.5999 31.9994 31.5999 21.4254 15.7449 26.0064 9.1719 20.6194 1.3729 16.1554 7.9149 11.2214 0.3999"
79
- ></polygon>
80
- <polygon
81
- id="Fill-2"
82
- class="fill-[#51A749]"
83
- points="41.978 0.3999 36.799 7.6269 32.006 0.3999 21.2 0.3999 31.775 15.5069 27.194 21.7689 32.27 29.1999 52.4 0.3999"
84
- ></polygon>
85
- </g>
86
- </g>
87
- </svg>
88
- <!-- TODO: (spk) replace with logo mark
89
-
90
59
  <svg
91
60
  viewBox="0 0 280 280"
92
61
  xmlns="http://www.w3.org/2000/svg"
@@ -101,7 +70,6 @@ const attrs = useAttrs()
101
70
  d="m267.5,140c0-85-42.5-127.5-127.5-127.5-55.06,0-92.27,17.86-111.66,53.53,28.32,8.48,56.67,16.85,84.98,25.37,27.05,8.14,54.01,16.55,81.06,24.67,5.45,1.64,7.5,4.76,6.63,10.27-.69,4.35-1.04,8.75-1.57,13.13-4.95,40.77-8.32,81.74-12.43,122.61,53.64-13.88,80.49-54.56,80.49-122.08Z"
102
71
  />
103
72
  </svg>
104
- -->
105
73
  </div>
106
74
  </div>
107
75
  </div>
@@ -44,7 +44,7 @@ const loadAndRender = (): void => {
44
44
 
45
45
  BaseAPI.get<TrailsRespPaged<unknown>>(
46
46
  props.tableOptions.url,
47
- { skipLoader: true },
47
+ { skipLoader: false },
48
48
  params
49
49
  ).then(
50
50
  (success) => {
@@ -26,7 +26,7 @@ const fadeOut = (): void => {
26
26
  <Portal>
27
27
  <div
28
28
  v-if="loading"
29
- class="fixed top-0 left-0 flex flex-col items-center justify-center w-full h-full cursor-not-allowed z-40 bg-gray-50 bg-opacity-50"
29
+ class="fixed top-0 left-0 flex flex-col items-center justify-center w-full h-full cursor-not-allowed z-40 bg-gray-50 bg-opacity-60"
30
30
  >
31
31
  <XYSpinner class="w-32 h-32" />
32
32
  <div v-show="messages" class="mt-2">
@@ -1,8 +0,0 @@
1
- export type RadioModelValue = string | number;
2
- export interface RadioCardOption {
3
- disabled?: boolean;
4
- help?: string;
5
- label: string;
6
- sublabel?: string;
7
- value: RadioModelValue;
8
- }
@@ -1,21 +0,0 @@
1
- import type { TableColumn, TableRow } from "../../composables/table";
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- columns: TableColumn<TableRow>[];
4
- rows: TableRow[];
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
6
- columns?: unknown;
7
- rows?: unknown;
8
- } & {
9
- columns: TableColumn<TableRow>[];
10
- rows: TableRow[];
11
- } & {}>, {}>;
12
- export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<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]>;
19
- required: true;
20
- };
21
- };
@@ -1,27 +0,0 @@
1
- import * as TableTypes from "../../composables/table";
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- tableData: Omit<TableTypes.Static, "currentUser">;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
5
- tableData?: unknown;
6
- } & {
7
- tableData: Omit<TableTypes.Static, "currentUser">;
8
- } & {}>, {}>, {
9
- actions: (_: {
10
- row: Record<string, unknown>;
11
- }) => any;
12
- }>;
13
- export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
@@ -1,39 +0,0 @@
1
- import * as TableTypes from "../../composables/table";
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- clickable?: boolean | undefined;
4
- loader?: boolean | undefined;
5
- tableData: TableTypes.Dynamic;
6
- }>, {
7
- clickable: boolean;
8
- loader: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- handleClick: (v: any) => void;
11
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
12
- tableData?: unknown;
13
- clickable?: unknown;
14
- loader?: unknown;
15
- } & {
16
- tableData: TableTypes.Dynamic;
17
- clickable: boolean;
18
- loader: boolean;
19
- } & {}> & {
20
- onHandleClick?: ((v: any) => any) | undefined;
21
- }, {
22
- clickable: boolean;
23
- loader: boolean;
24
- }>;
25
- export default _default;
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToRuntimeProps<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
35
- type __VLS_WithDefaults<P, D> = {
36
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
37
- default: D[K];
38
- } : P[K];
39
- };
@@ -1,18 +0,0 @@
1
- import type { ActionMenuItemCallback } from "../../composables/nav";
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- items: ActionMenuItemCallback[];
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
5
- items?: unknown;
6
- } & {
7
- items: ActionMenuItemCallback[];
8
- } & {}>, {}>;
9
- export default _default;
10
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
12
- [K in keyof T]-?: {} extends Pick<T, K> ? {
13
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
14
- } : {
15
- type: import('vue').PropType<T[K]>;
16
- required: true;
17
- };
18
- };
@@ -1,22 +0,0 @@
1
- import type { ActionMenuEmit } from "../../composables/nav";
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- items: ActionMenuEmit[];
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- click: (v: string) => void;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
7
- items?: unknown;
8
- } & {
9
- items: ActionMenuEmit[];
10
- } & {}> & {
11
- onClick?: ((v: string) => any) | undefined;
12
- }, {}>;
13
- export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };