@turquoisehealth/pit-viper 2.121.0 → 2.122.0
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 +3 -2
- package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvButtonTreeItem.vue.d.ts +8 -2
- package/pv-components/dist/vue/base/components/base/PvTree/PvCheckboxTreeItem.vue.d.ts +8 -2
- package/pv-components/dist/vue/base/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +9 -2
- package/pv-components/dist/vue/base/components/base/PvTree/PvTree.vue.d.ts +7 -2
- package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +9 -2
- package/pv-components/dist/vue/base/components/base/PvTree/PvTreeReorderIcon.vue.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvTree/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvTree/useHoverIcon.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/base/pv-components-base.js +39 -30
- package/pv-components/dist/vue/base/pv-components-base.mjs +9196 -4658
- package/pv-components/dist/vue/base/pv-components-base.umd.js +39 -30
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +26 -17
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +8901 -4461
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +26 -17
- package/pv-components/dist/web/pv-components.iife.js +70 -38
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -491
- package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121834
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +0 -299
- package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47028
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turquoisehealth/pit-viper",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.122.0",
|
|
4
4
|
"description": "Turquoise Health's design system.",
|
|
5
5
|
"main": "README.md",
|
|
6
6
|
"publishConfig": {
|
|
@@ -106,7 +106,8 @@
|
|
|
106
106
|
"markdown-it-anchor": "^8.6.6",
|
|
107
107
|
"markdown-it-attrs": "^4.1.6",
|
|
108
108
|
"npm-run-all": "^4.1.5",
|
|
109
|
-
"sass": "1.77.6"
|
|
109
|
+
"sass": "1.77.6",
|
|
110
|
+
"vuedraggable": "^4.1.0"
|
|
110
111
|
},
|
|
111
112
|
"devDependencies": {
|
|
112
113
|
"@changesets/cli": "^2.29.4",
|
|
@@ -27,8 +27,13 @@ declare function __VLS_template(): {
|
|
|
27
27
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
28
|
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
29
|
"update:modelValue": (value: boolean) => any;
|
|
30
|
+
} & {
|
|
31
|
+
"summary-mouseenter": () => any;
|
|
32
|
+
"summary-mouseleave": () => any;
|
|
30
33
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
34
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
"onSummary-mouseenter"?: (() => any) | undefined;
|
|
36
|
+
"onSummary-mouseleave"?: (() => any) | undefined;
|
|
32
37
|
}>, {
|
|
33
38
|
chevronPosition: ChevronPosition;
|
|
34
39
|
chevronVariant: "vertical" | "horizontal";
|
|
@@ -14,9 +14,15 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: DefineComponent<PvButtonTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
-
"handle-selected": (payload:
|
|
17
|
+
"handle-selected": (payload: {
|
|
18
|
+
option: PvTreeOption;
|
|
19
|
+
event: MouseEvent;
|
|
20
|
+
}) => any;
|
|
18
21
|
}, string, PublicProps, Readonly<PvButtonTreeItemProps> & Readonly<{
|
|
19
|
-
"onHandle-selected"?: ((payload:
|
|
22
|
+
"onHandle-selected"?: ((payload: {
|
|
23
|
+
option: PvTreeOption;
|
|
24
|
+
event: MouseEvent;
|
|
25
|
+
}) => any) | undefined;
|
|
20
26
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
21
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
28
|
export default _default;
|
|
@@ -14,9 +14,15 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: DefineComponent<PvCheckboxTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
-
"handle-selected": (payload:
|
|
17
|
+
"handle-selected": (payload: {
|
|
18
|
+
option: PvTreeOption;
|
|
19
|
+
event: MouseEvent;
|
|
20
|
+
}) => any;
|
|
18
21
|
}, string, PublicProps, Readonly<PvCheckboxTreeItemProps> & Readonly<{
|
|
19
|
-
"onHandle-selected"?: ((payload:
|
|
22
|
+
"onHandle-selected"?: ((payload: {
|
|
23
|
+
option: PvTreeOption;
|
|
24
|
+
event: MouseEvent;
|
|
25
|
+
}) => any) | undefined;
|
|
20
26
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
21
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
28
|
export default _default;
|
|
@@ -5,10 +5,17 @@ interface PvSimpleNestedTreeProps {
|
|
|
5
5
|
settings: PvTreeSettings;
|
|
6
6
|
level: number;
|
|
7
7
|
selectedOptions?: PvTreeOption[];
|
|
8
|
+
isDraggable?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: DefineComponent<PvSimpleNestedTreeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
-
"handle-tree-select": (payload:
|
|
11
|
+
"handle-tree-select": (payload: {
|
|
12
|
+
option: PvTreeOption;
|
|
13
|
+
event: MouseEvent;
|
|
14
|
+
}) => any;
|
|
11
15
|
}, string, PublicProps, Readonly<PvSimpleNestedTreeProps> & Readonly<{
|
|
12
|
-
"onHandle-tree-select"?: ((payload:
|
|
16
|
+
"onHandle-tree-select"?: ((payload: {
|
|
17
|
+
option: PvTreeOption;
|
|
18
|
+
event: MouseEvent;
|
|
19
|
+
}) => any) | undefined;
|
|
13
20
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
21
|
export default _default;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { PvTreeOption, PvTreeSetting, PvTreeSettings } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
interface PvTreeProps {
|
|
4
|
-
options: PvTreeOption[];
|
|
5
4
|
settings: PvTreeSettings;
|
|
6
5
|
defaultSettings?: PvTreeSetting;
|
|
6
|
+
isDraggable?: boolean;
|
|
7
7
|
}
|
|
8
8
|
type __VLS_Props = PvTreeProps;
|
|
9
9
|
type __VLS_PublicProps = {
|
|
10
10
|
"selectedOptions"?: PvTreeOption[];
|
|
11
|
+
"options": PvTreeOption[];
|
|
11
12
|
} & __VLS_Props;
|
|
12
13
|
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
14
|
"update:selectedOptions": (value: PvTreeOption[]) => any;
|
|
15
|
+
"update:options": (value: PvTreeOption[]) => any;
|
|
14
16
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
17
|
"onUpdate:selectedOptions"?: ((value: PvTreeOption[]) => any) | undefined;
|
|
16
|
-
|
|
18
|
+
"onUpdate:options"?: ((value: PvTreeOption[]) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
isDraggable: boolean;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
22
|
export default _default;
|
|
@@ -5,11 +5,18 @@ interface PvTreeItemProps {
|
|
|
5
5
|
selectedOptions?: PvTreeOption[];
|
|
6
6
|
level?: number;
|
|
7
7
|
settings: PvTreeSettings;
|
|
8
|
+
isDraggable?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: DefineComponent<PvTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
-
"handle-tree-select": (payload:
|
|
11
|
+
"handle-tree-select": (payload: {
|
|
12
|
+
option: PvTreeOption;
|
|
13
|
+
event: MouseEvent;
|
|
14
|
+
}) => any;
|
|
11
15
|
}, string, PublicProps, Readonly<PvTreeItemProps> & Readonly<{
|
|
12
|
-
"onHandle-tree-select"?: ((payload:
|
|
16
|
+
"onHandle-tree-select"?: ((payload: {
|
|
17
|
+
option: PvTreeOption;
|
|
18
|
+
event: MouseEvent;
|
|
19
|
+
}) => any) | undefined;
|
|
13
20
|
}>, {
|
|
14
21
|
level: number;
|
|
15
22
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
3
|
+
export default _default;
|
|
@@ -7,6 +7,9 @@ export interface PvTreeSetting {
|
|
|
7
7
|
defaultExpanded?: boolean;
|
|
8
8
|
renderer?: Component;
|
|
9
9
|
accordionRenderer?: Component;
|
|
10
|
+
rendererParams?: {
|
|
11
|
+
onContextMenu?: (event: MouseEvent, option: PvTreeOption) => void;
|
|
12
|
+
};
|
|
10
13
|
}
|
|
11
14
|
export interface PvTreeSettings {
|
|
12
15
|
[key: string]: PvTreeSetting;
|
|
@@ -61,3 +61,4 @@ export type { PvBreadcrumbsOptions } from './PvBreadcrumbs/types';
|
|
|
61
61
|
export type { PvAvatarGroupItem } from './PvAvatarGroup/types';
|
|
62
62
|
export type { MenuOption } from '../../types';
|
|
63
63
|
export type { PvMultiSelectButtonSlotProps } from './PvMultiSelectButton/PvMultiSelectButton.vue';
|
|
64
|
+
export type { PvTreeOption, PvTreeSetting, PvTreeSettings } from './PvTree/types';
|