@xy-planning-network/trees 0.4.0-rc-5 → 0.4.0-rc-6
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/{types/api → api}/base.d.ts +0 -0
- package/dist/{types/entry.d.ts → entry.d.ts} +1 -3
- package/dist/{types/helpers → helpers}/Uniques.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/forms/BaseInput.vue.d.ts +2 -2
- package/dist/{types/lib-components → lib-components}/forms/Checkbox.vue.d.ts +1 -1
- package/dist/{types/lib-components → lib-components}/forms/DateRangePicker.vue.d.ts +2 -2
- package/dist/{types/lib-components → lib-components}/forms/InputHelp.vue.d.ts +2 -2
- package/dist/{types/lib-components → lib-components}/forms/InputLabel.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/forms/MultiCheckboxes.vue.d.ts +2 -2
- package/dist/{types/lib-components → lib-components}/forms/Radio.vue.d.ts +3 -3
- package/dist/{types/lib-components → lib-components}/forms/Select.vue.d.ts +4 -4
- package/dist/{types/lib-components → lib-components}/forms/TextArea.vue.d.ts +2 -2
- package/dist/{types/lib-components → lib-components}/forms/Toggle.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/forms/YesOrNoRadio.vue.d.ts +3 -3
- package/dist/{types/lib-components → lib-components}/index.d.ts +37 -31
- package/dist/{types/lib-components → lib-components}/layout/DateFilter.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/layout/SidebarLayout.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/layout/StackedLayout.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/lists/Cards.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/lists/DetailList.vue.d.ts +1 -1
- package/dist/{types/lib-components → lib-components}/lists/DownloadCell.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/lists/StaticTable.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/lists/Table.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/navigation/ActionsDropdown.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/navigation/Paginator.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/navigation/Steps.vue.d.ts +2 -2
- package/dist/{types/lib-components → lib-components}/navigation/Tabs.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/overlays/ContentModal.vue.d.ts +1 -1
- package/dist/{types/lib-components → lib-components}/overlays/Flash.vue.d.ts +0 -0
- package/dist/{types/lib-components → lib-components}/overlays/Modal.vue.d.ts +3 -3
- package/dist/{types/lib-components → lib-components}/overlays/Slideover.vue.d.ts +1 -1
- package/dist/{types/lib-components → lib-components}/overlays/Spinner.vue.d.ts +0 -0
- package/dist/trees.es.js +1 -9
- package/dist/trees.umd.js +5 -5
- package/dist/types/components.d.ts +6 -0
- package/{src → dist}/types/global.d.ts +0 -0
- package/dist/types/nav.d.ts +8 -0
- package/dist/types/table.d.ts +36 -0
- package/dist/types/users.d.ts +10 -0
- package/package.json +6 -6
- package/dist/types/types/nav.d.ts +0 -7
- package/dist/types/types/table.d.ts +0 -32
- package/dist/types/types/users.d.ts +0 -9
- package/src/lib-components/forms/BaseInput.vue +0 -83
- package/src/lib-components/forms/Checkbox.vue +0 -46
- package/src/lib-components/forms/DateRangePicker.vue +0 -65
- package/src/lib-components/forms/InputHelp.vue +0 -24
- package/src/lib-components/forms/InputLabel.vue +0 -23
- package/src/lib-components/forms/MultiCheckboxes.vue +0 -55
- package/src/lib-components/forms/Radio.vue +0 -58
- package/src/lib-components/forms/Select.vue +0 -65
- package/src/lib-components/forms/TextArea.vue +0 -50
- package/src/lib-components/forms/Toggle.vue +0 -25
- package/src/lib-components/forms/YesOrNoRadio.vue +0 -70
- package/src/lib-components/layout/DateFilter.vue +0 -56
- package/src/lib-components/layout/SidebarLayout.vue +0 -239
- package/src/lib-components/layout/StackedLayout.vue +0 -171
- package/src/lib-components/lists/Cards.vue +0 -33
- package/src/lib-components/lists/DetailList.vue +0 -114
- package/src/lib-components/lists/DownloadCell.vue +0 -12
- package/src/lib-components/lists/StaticTable.vue +0 -83
- package/src/lib-components/lists/Table.vue +0 -291
- package/src/lib-components/navigation/ActionsDropdown.vue +0 -78
- package/src/lib-components/navigation/Paginator.vue +0 -123
- package/src/lib-components/navigation/Steps.vue +0 -83
- package/src/lib-components/navigation/Tabs.vue +0 -92
- package/src/lib-components/overlays/ContentModal.vue +0 -95
- package/src/lib-components/overlays/Flash.vue +0 -136
- package/src/lib-components/overlays/Modal.vue +0 -133
- package/src/lib-components/overlays/Slideover.vue +0 -87
- package/src/lib-components/overlays/Spinner.vue +0 -149
- package/src/types/env.d.ts +0 -18
|
File without changes
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Plugin } from "vue";
|
|
2
2
|
import BaseAPI from "./api/base";
|
|
3
|
-
import * as TableTypes from "./types/table";
|
|
4
|
-
import * as NavTypes from "./types/nav";
|
|
5
3
|
declare const install: Exclude<Plugin["install"], undefined>;
|
|
6
4
|
export default install;
|
|
7
5
|
export * from "./lib-components/index";
|
|
8
|
-
export { BaseAPI
|
|
6
|
+
export { BaseAPI };
|
|
File without changes
|
|
@@ -25,14 +25,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
modelValue?: unknown;
|
|
26
26
|
} & {
|
|
27
27
|
type: string;
|
|
28
|
+
modelValue: string | number;
|
|
28
29
|
label: string;
|
|
29
30
|
help: string;
|
|
30
|
-
modelValue: string | number;
|
|
31
31
|
} & {}> & {
|
|
32
32
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
}, {
|
|
34
|
+
modelValue: string | number;
|
|
34
35
|
label: string;
|
|
35
36
|
help: string;
|
|
36
|
-
modelValue: string | number;
|
|
37
37
|
}>;
|
|
38
38
|
export default _default;
|
|
@@ -12,8 +12,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
label?: unknown;
|
|
13
13
|
modelValue?: unknown;
|
|
14
14
|
} & {
|
|
15
|
-
label: string;
|
|
16
15
|
modelValue: boolean;
|
|
16
|
+
label: string;
|
|
17
17
|
} & {}> & {
|
|
18
18
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
19
|
}, {
|
|
@@ -28,12 +28,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
label?: unknown;
|
|
29
29
|
help?: unknown;
|
|
30
30
|
} & {
|
|
31
|
-
label: string;
|
|
32
|
-
help: string;
|
|
33
31
|
modelValue: {
|
|
34
32
|
minDate: number;
|
|
35
33
|
maxDate: number;
|
|
36
34
|
};
|
|
35
|
+
label: string;
|
|
36
|
+
help: string;
|
|
37
37
|
startDate: number;
|
|
38
38
|
} & {}> & {
|
|
39
39
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
File without changes
|
|
@@ -20,12 +20,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
legend?: unknown;
|
|
21
21
|
modelValue?: unknown;
|
|
22
22
|
} & {
|
|
23
|
-
|
|
23
|
+
modelValue: string[];
|
|
24
24
|
options: {
|
|
25
25
|
label: string;
|
|
26
26
|
value: string;
|
|
27
27
|
}[];
|
|
28
|
-
|
|
28
|
+
legend: string;
|
|
29
29
|
} & {}> & {
|
|
30
30
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
31
31
|
}, {
|
|
@@ -27,18 +27,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
modelValue?: unknown;
|
|
28
28
|
vertical?: unknown;
|
|
29
29
|
} & {
|
|
30
|
-
|
|
30
|
+
modelValue: string;
|
|
31
31
|
options: {
|
|
32
32
|
label: string;
|
|
33
33
|
value: string;
|
|
34
34
|
}[];
|
|
35
|
+
legend: string;
|
|
35
36
|
vertical: boolean;
|
|
36
|
-
modelValue: string;
|
|
37
37
|
} & {}> & {
|
|
38
38
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
|
+
modelValue: string;
|
|
40
41
|
legend: string;
|
|
41
42
|
vertical: boolean;
|
|
42
|
-
modelValue: string;
|
|
43
43
|
}>;
|
|
44
44
|
export default _default;
|
|
@@ -38,21 +38,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
options?: unknown;
|
|
39
39
|
modelValue?: unknown;
|
|
40
40
|
} & {
|
|
41
|
+
modelValue: string | number | undefined;
|
|
41
42
|
label: string;
|
|
43
|
+
help: string;
|
|
42
44
|
options: {
|
|
43
45
|
label: string;
|
|
44
46
|
value: string | number;
|
|
45
47
|
}[];
|
|
46
|
-
help: string;
|
|
47
|
-
placeholder: string;
|
|
48
|
-
modelValue: string | number | undefined;
|
|
49
48
|
design: "standard" | "compressed";
|
|
49
|
+
placeholder: string;
|
|
50
50
|
} & {}> & {
|
|
51
51
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
label: string;
|
|
54
54
|
help: string;
|
|
55
|
-
placeholder: string;
|
|
56
55
|
design: "standard" | "compressed";
|
|
56
|
+
placeholder: string;
|
|
57
57
|
}>;
|
|
58
58
|
export default _default;
|
|
@@ -19,14 +19,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
label?: unknown;
|
|
20
20
|
modelValue?: unknown;
|
|
21
21
|
} & {
|
|
22
|
+
modelValue: string | number;
|
|
22
23
|
label: string;
|
|
23
24
|
help: string;
|
|
24
|
-
modelValue: string | number;
|
|
25
25
|
} & {}> & {
|
|
26
26
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}, {
|
|
28
|
+
modelValue: string | number;
|
|
28
29
|
label: string;
|
|
29
30
|
help: string;
|
|
30
|
-
modelValue: string | number;
|
|
31
31
|
}>;
|
|
32
32
|
export default _default;
|
|
File without changes
|
|
@@ -19,15 +19,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
legend?: unknown;
|
|
20
20
|
name?: unknown;
|
|
21
21
|
} & {
|
|
22
|
-
name: string;
|
|
23
22
|
legend: string;
|
|
23
|
+
name: string;
|
|
24
24
|
} & {
|
|
25
25
|
modelValue?: boolean | undefined;
|
|
26
26
|
}> & {
|
|
27
27
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
name: string;
|
|
30
|
-
legend: string;
|
|
31
29
|
modelValue: boolean;
|
|
30
|
+
legend: string;
|
|
31
|
+
name: string;
|
|
32
32
|
}>;
|
|
33
33
|
export default _default;
|
|
@@ -29,36 +29,42 @@ import { default as YesOrNoRadio } from "./forms/YesOrNoRadio.vue";
|
|
|
29
29
|
export { ActionsDropdown, Cards, ContentModal, DateFilter, DetailList, DownloadCell, Flash, Modal, SidebarLayout, Slideover, StackedLayout, Paginator, Spinner, StaticTable, Steps, Table, Tabs, Toggle, BaseInput, Checkbox, DateRangePicker, InputHelp, InputLabel, MultiCheckboxes, Radio, Select, TextArea, YesOrNoRadio, };
|
|
30
30
|
/**
|
|
31
31
|
* declare global component types for App.use(Trees)
|
|
32
|
-
|
|
32
|
+
*
|
|
33
|
+
* apply to project with the following
|
|
34
|
+
import { TreesComponents } from "@xy-planning-network/trees"
|
|
35
|
+
|
|
33
36
|
declare module "@vue/runtime-core" {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
37
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
38
|
+
interface GlobalComponents extends TreesComponents {}
|
|
39
|
+
}
|
|
40
|
+
*/
|
|
41
|
+
export interface TreesComponents {
|
|
42
|
+
ActionsDropdown: typeof ActionsDropdown;
|
|
43
|
+
Cards: typeof Cards;
|
|
44
|
+
ContentModal: typeof ContentModal;
|
|
45
|
+
DateFilter: typeof DateFilter;
|
|
46
|
+
DetailList: typeof DetailList;
|
|
47
|
+
DownloadCell: typeof DownloadCell;
|
|
48
|
+
Flash: typeof Flash;
|
|
49
|
+
Modal: typeof Modal;
|
|
50
|
+
SidebarLayout: typeof SidebarLayout;
|
|
51
|
+
Slideover: typeof Slideover;
|
|
52
|
+
StackedLayout: typeof StackedLayout;
|
|
53
|
+
Paginator: typeof Paginator;
|
|
54
|
+
Spinner: typeof Spinner;
|
|
55
|
+
StaticTable: typeof StaticTable;
|
|
56
|
+
Steps: typeof Steps;
|
|
57
|
+
Table: typeof Table;
|
|
58
|
+
Tabs: typeof Tabs;
|
|
59
|
+
Toggle: typeof Toggle;
|
|
60
|
+
BaseInput: typeof BaseInput;
|
|
61
|
+
Checkbox: typeof Checkbox;
|
|
62
|
+
DateRangePicker: typeof DateRangePicker;
|
|
63
|
+
InputHelp: typeof InputHelp;
|
|
64
|
+
InputLabel: typeof InputLabel;
|
|
65
|
+
MultiCheckboxes: typeof MultiCheckboxes;
|
|
66
|
+
Radio: typeof Radio;
|
|
67
|
+
Select: typeof Select;
|
|
68
|
+
TextArea: typeof TextArea;
|
|
69
|
+
YesOrNoRadio: typeof YesOrNoRadio;
|
|
64
70
|
}
|
|
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
|
|
@@ -35,12 +35,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
step?: unknown;
|
|
36
36
|
total?: unknown;
|
|
37
37
|
} & {
|
|
38
|
-
total: number;
|
|
39
|
-
step: number;
|
|
40
38
|
hideActions: boolean;
|
|
41
39
|
hidePrevious: boolean;
|
|
42
40
|
nextText: string;
|
|
43
41
|
previousText: string;
|
|
42
|
+
step: number;
|
|
43
|
+
total: number;
|
|
44
44
|
} & {}> & {
|
|
45
45
|
onNext?: ((...args: any[]) => any) | undefined;
|
|
46
46
|
onPrevious?: ((...args: any[]) => any) | undefined;
|
|
File without changes
|
|
File without changes
|
|
@@ -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;
|
|
File without changes
|
package/dist/trees.es.js
CHANGED
|
@@ -1147,14 +1147,6 @@ const BaseAPI = {
|
|
|
1147
1147
|
return this.makeRequest({ url: path, data, method: "PUT" }, opts);
|
|
1148
1148
|
}
|
|
1149
1149
|
};
|
|
1150
|
-
var table = /* @__PURE__ */ Object.freeze({
|
|
1151
|
-
__proto__: null,
|
|
1152
|
-
[Symbol.toStringTag]: "Module"
|
|
1153
|
-
});
|
|
1154
|
-
var nav = /* @__PURE__ */ Object.freeze({
|
|
1155
|
-
__proto__: null,
|
|
1156
|
-
[Symbol.toStringTag]: "Module"
|
|
1157
|
-
});
|
|
1158
1150
|
function _extends() {
|
|
1159
1151
|
_extends = Object.assign || function(target) {
|
|
1160
1152
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -8396,4 +8388,4 @@ const install = function installTrees(app) {
|
|
|
8396
8388
|
app.component(componentName, component);
|
|
8397
8389
|
});
|
|
8398
8390
|
};
|
|
8399
|
-
export { _sfc_main$r as ActionsDropdown, BaseAPI, _sfc_main$m as BaseInput, _sfc_main$q as Cards, _sfc_main$5 as Checkbox, _sfc_main$p as ContentModal, _sfc_main$k as DateFilter, _sfc_main$l as DateRangePicker, _sfc_main$i as DetailList, _sfc_main$h as DownloadCell, _sfc_main$g as Flash, _sfc_main$n as InputHelp, _sfc_main$o as InputLabel, _sfc_main$f as Modal, _sfc_main$4 as MultiCheckboxes,
|
|
8391
|
+
export { _sfc_main$r as ActionsDropdown, BaseAPI, _sfc_main$m as BaseInput, _sfc_main$q as Cards, _sfc_main$5 as Checkbox, _sfc_main$p as ContentModal, _sfc_main$k as DateFilter, _sfc_main$l as DateRangePicker, _sfc_main$i as DetailList, _sfc_main$h as DownloadCell, _sfc_main$g as Flash, _sfc_main$n as InputHelp, _sfc_main$o as InputLabel, _sfc_main$f as Modal, _sfc_main$4 as MultiCheckboxes, _sfc_main$j as Paginator, _sfc_main$3 as Radio, _sfc_main$2 as Select, _sfc_main$d as SidebarLayout, _sfc_main$c as Slideover, _sfc_main$e as Spinner, _sfc_main$b as StackedLayout, _sfc_main$a as StaticTable, _sfc_main$9 as Steps, _sfc_main$8 as Table, _sfc_main$7 as Tabs, _sfc_main$1 as TextArea, _sfc_main$6 as Toggle, _sfc_main as YesOrNoRadio, install as default };
|