@turquoisehealth/pit-viper 2.50.0 → 2.52.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/_site/assets/css/pit-viper-v2-scoped.css +31 -7
- package/_site/assets/css/pit-viper-v2.css +31 -7
- package/_site/assets/css/pit-viper.css +31 -7
- package/package.json +1 -1
- package/pv-components/dist/stats-vue_base.html +4949 -0
- package/pv-components/dist/stats-vue_charts.html +4949 -0
- package/pv-components/dist/stats-vue_tables.html +4949 -0
- package/pv-components/dist/stats-web.html +4949 -0
- package/pv-components/dist/types/base/PvAccordion/PvAccordion.vue.d.ts +22 -0
- package/pv-components/dist/types/base/PvAccordion/types.d.ts +5 -0
- package/pv-components/dist/types/base/PvBanner/PvBanner.vue.d.ts +22 -0
- package/pv-components/dist/types/base/PvBanner/types.d.ts +11 -0
- package/pv-components/dist/types/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +6 -0
- package/pv-components/dist/types/base/PvBreadcrumbs/types.d.ts +4 -0
- package/pv-components/dist/types/base/PvButton/PvButton.vue.d.ts +24 -0
- package/pv-components/dist/types/base/PvButton/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvCard/PvCard.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvCard/PvCard.vue.d.ts +15 -0
- package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
- package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.vue.d.ts +26 -0
- package/pv-components/dist/types/base/PvCounterBadge/PvCounterBadge.vue.d.ts +15 -0
- package/pv-components/dist/types/base/PvCounterBadge/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.vue.d.ts +114 -0
- package/pv-components/dist/types/base/PvDateTime/PvDateTime.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDateTime/PvDateTime.vue.d.ts +13 -0
- package/pv-components/dist/types/base/PvDateTime/useDateTime.d.ts +9 -0
- package/pv-components/dist/types/base/PvDrawer/PvDrawer.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDrawer/PvDrawer.vue.d.ts +31 -0
- package/pv-components/dist/types/base/PvDropdown/PvDropdown.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDropdown/PvDropdown.vue.d.ts +42 -0
- package/pv-components/dist/types/base/PvDropdown/useDropdownMenuPosition.d.ts +59 -0
- package/pv-components/dist/types/base/PvIcon/PvIcon.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvIcon/PvIcon.vue.d.ts +10 -0
- package/pv-components/dist/types/base/PvModal/PvModal.vue.d.ts +26 -0
- package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.vue.d.ts +12 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +54 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButtonTrigger.vue.d.ts +28 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenu.vue.d.ts +30 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenuControlPanel.vue.d.ts +8 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuCheckboxItem.vue.d.ts +11 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuItem.vue.d.ts +12 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuRadioItem.vue.d.ts +11 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/mocks.d.ts +13 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/types.d.ts +17 -0
- package/pv-components/dist/types/base/PvPill/PvPill.vue.d.ts +30 -0
- package/pv-components/dist/types/base/PvPill/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvPopover/PvPopover.vue.d.ts +29 -0
- package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +5 -0
- package/pv-components/dist/types/base/PvSearchInput/PvSearchInput.vue.d.ts +18 -0
- package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
- package/pv-components/dist/types/base/PvSelect/PvSelect.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvSelect/PvSelect.vue.d.ts +22 -0
- package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +28 -0
- package/pv-components/dist/types/base/PvTabList/PvTabList.vue.d.ts +11 -0
- package/pv-components/dist/types/base/PvTabs/PvTabs.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvTabs/PvTabs.vue.d.ts +17 -0
- package/pv-components/dist/types/base/PvTabs/types.d.ts +7 -0
- package/pv-components/dist/types/base/PvTag/PvTag.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvTag/PvTag.vue.d.ts +40 -0
- package/pv-components/dist/types/base/PvTag/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvToggle/PvToggle.vue.d.ts +35 -0
- package/pv-components/dist/types/base/PvTooltip/PvTooltip.vue.d.ts +24 -0
- package/pv-components/dist/types/base/PvTooltip/types.d.ts +2 -0
- package/pv-components/dist/types/base/baseProps.d.ts +7 -0
- package/pv-components/dist/types/base/index.d.ts +29 -0
- package/pv-components/dist/vue/base/pv-components-base.d.ts +100 -285
- package/pv-components/dist/vue/base/pv-components-base.js +24 -24
- package/pv-components/dist/vue/base/pv-components-base.mjs +4541 -4216
- package/pv-components/dist/vue/base/pv-components-base.umd.js +1452 -0
- package/pv-components/dist/vue/charts/pv-components-charts.js +198 -55
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +34585 -33232
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +253 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +186 -43
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +16243 -15293
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +222 -0
- package/pv-components/dist/web/pv-components.iife.js +20 -20
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CSSProperties } from "vue";
|
|
2
|
+
export interface PvSelectMenu {
|
|
3
|
+
teleportLocation: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
popoverPositionStyle?: CSSProperties;
|
|
6
|
+
cssCustomListProperties?: CSSProperties;
|
|
7
|
+
useTeleport?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_10: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_10) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<PvSelectMenu, {
|
|
14
|
+
popoverRef: import("vue").Ref<{
|
|
15
|
+
popoverRoot: HTMLElement | null;
|
|
16
|
+
} | null, {
|
|
17
|
+
popoverRoot: HTMLElement | null;
|
|
18
|
+
} | {
|
|
19
|
+
popoverRoot: HTMLElement | null;
|
|
20
|
+
} | null>;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvSelectMenu> & Readonly<{}>, {
|
|
22
|
+
useTeleport: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
|
+
"handle-select-all": () => any;
|
|
3
|
+
"handle-clear-all": () => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
5
|
+
"onHandle-select-all"?: (() => any) | undefined;
|
|
6
|
+
"onHandle-clear-all"?: (() => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface PvMenuCheckboxItem {
|
|
2
|
+
text: string;
|
|
3
|
+
secondaryText?: string | number;
|
|
4
|
+
value?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<PvMenuCheckboxItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"handle-selected": () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<PvMenuCheckboxItem> & Readonly<{
|
|
9
|
+
"onHandle-selected"?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface PvMenuItem {
|
|
2
|
+
text: string;
|
|
3
|
+
secondaryText?: string | number;
|
|
4
|
+
icon?: string;
|
|
5
|
+
companyName?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<PvMenuItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
"handle-selected": () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<PvMenuItem> & Readonly<{
|
|
10
|
+
"onHandle-selected"?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface PvMenuRadioItem {
|
|
2
|
+
text: string;
|
|
3
|
+
secondaryText?: string | number;
|
|
4
|
+
value?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<PvMenuRadioItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"handle-selected": () => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<PvMenuRadioItem> & Readonly<{
|
|
9
|
+
"onHandle-selected"?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const simpleOptions: {
|
|
2
|
+
id: string;
|
|
3
|
+
text: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const companyOption: {
|
|
6
|
+
id: string;
|
|
7
|
+
text: string;
|
|
8
|
+
companyName: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const checkboxOptions: {
|
|
11
|
+
id: string;
|
|
12
|
+
text: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PvSize, PvVariants } from "../baseProps";
|
|
2
|
+
export type PvSelectButtonVariant = Extract<PvVariants, "secondary" | "ghost">;
|
|
3
|
+
export type PvSelectButtonSize = Extract<PvSize, "lg" | "xl">;
|
|
4
|
+
export interface MenuOption {
|
|
5
|
+
id: string;
|
|
6
|
+
text: string;
|
|
7
|
+
secondaryText?: string | number;
|
|
8
|
+
icon?: string;
|
|
9
|
+
companyName?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare enum MenuItemType {
|
|
12
|
+
simple = "simple",
|
|
13
|
+
checkbox = "checkbox",
|
|
14
|
+
company = "company",
|
|
15
|
+
icon = "icon"
|
|
16
|
+
}
|
|
17
|
+
export type MenuOptionsVariant = `${MenuItemType}`;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PillSize, PillVariant } from "./types";
|
|
2
|
+
export interface PvPillProps {
|
|
3
|
+
/**
|
|
4
|
+
* @default 'Medium'
|
|
5
|
+
* Tag size
|
|
6
|
+
*/
|
|
7
|
+
size?: PillSize;
|
|
8
|
+
/**
|
|
9
|
+
* @default 'Tertiary'
|
|
10
|
+
* Tag Variant
|
|
11
|
+
*/
|
|
12
|
+
variant?: PillVariant;
|
|
13
|
+
/**
|
|
14
|
+
* Tag Icon
|
|
15
|
+
*/
|
|
16
|
+
icon?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Display Dot Instead of Background
|
|
19
|
+
*/
|
|
20
|
+
showDot?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Tag Label
|
|
23
|
+
*/
|
|
24
|
+
label: string;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import("vue").DefineComponent<PvPillProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvPillProps> & Readonly<{}>, {
|
|
27
|
+
size: PillSize;
|
|
28
|
+
variant: PillVariant;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CSSProperties } from "vue";
|
|
2
|
+
export interface PvPopoverProps {
|
|
3
|
+
alignment?: "top" | "right" | "top right" | undefined;
|
|
4
|
+
cssCustomProperties?: CSSProperties;
|
|
5
|
+
cssCustomListProperties?: CSSProperties;
|
|
6
|
+
isList?: boolean;
|
|
7
|
+
isSortable?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PvPopoverProps, {
|
|
10
|
+
popoverRoot: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
+
"list-order-updated": (value: string[]) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<PvPopoverProps> & Readonly<{
|
|
14
|
+
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
alignment: "top" | "right" | "top right";
|
|
17
|
+
cssCustomProperties: CSSProperties;
|
|
18
|
+
isList: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
|
+
default?: (props: {}) => any;
|
|
21
|
+
} & {
|
|
22
|
+
default?: (props: {}) => any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
interface PvBadgeProps {
|
|
2
|
+
variant: "release-alpha" | "release-beta";
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<PvBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface PvSearchInputProps {
|
|
2
|
+
placeholder?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
displayShortcut?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = PvSearchInputProps;
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
8
|
+
modelValue: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
placeholder: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface PvSegmentedControlBaseProps {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
large?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface PvSegmentedControlIconOnlyProps extends PvSegmentedControlBaseProps {
|
|
6
|
+
options: OptionWithIcon[];
|
|
7
|
+
iconOnly: true;
|
|
8
|
+
}
|
|
9
|
+
export interface PvSegmentedControlWithTextLabelProps extends PvSegmentedControlBaseProps {
|
|
10
|
+
options: Option[];
|
|
11
|
+
iconOnly?: false;
|
|
12
|
+
}
|
|
13
|
+
import { Option, OptionWithIcon } from "@/types";
|
|
14
|
+
declare const _default: import("vue").DefineComponent<PvSegmentedControlIconOnlyProps | PvSegmentedControlWithTextLabelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<PvSegmentedControlIconOnlyProps | PvSegmentedControlWithTextLabelProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Option, OptionWithIcon } from "@/types";
|
|
2
|
+
import { CSSProperties } from "vue";
|
|
3
|
+
export interface PvSelectProps {
|
|
4
|
+
options: Option[] | OptionWithIcon[];
|
|
5
|
+
defaultText?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
triggerCssProperties?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = PvSelectProps;
|
|
10
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
options: Option[] | OptionWithIcon[];
|
|
20
|
+
defaultText: string;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TagSize } from "@/components/base/PvTag/types";
|
|
2
|
+
export interface PvSuggestionTag {
|
|
3
|
+
/**
|
|
4
|
+
* @default 'Medium'
|
|
5
|
+
* Tag Size
|
|
6
|
+
*/
|
|
7
|
+
size?: TagSize;
|
|
8
|
+
/**
|
|
9
|
+
* Tag Label
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Show left Icon
|
|
14
|
+
*/
|
|
15
|
+
showIcon?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Show rounded state
|
|
18
|
+
*/
|
|
19
|
+
rounded?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import("vue").DefineComponent<PvSuggestionTag, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
22
|
+
"handle-click": (label: string) => any;
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<PvSuggestionTag> & Readonly<{
|
|
24
|
+
"onHandle-click"?: ((label: string) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
size: TagSize;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Option } from "@/types";
|
|
2
|
+
export interface PvTabListBaseProps {
|
|
3
|
+
modelValue: string;
|
|
4
|
+
options: Option[];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<PvTabListBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<PvTabListBaseProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tab, TabSize } from "./types";
|
|
2
|
+
interface PvTabsProps {
|
|
3
|
+
tabs: Tab[];
|
|
4
|
+
size?: TabSize;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = PvTabsProps;
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
8
|
+
modelValue: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
size: TabSize;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TagSize, TagVariant } from "./types";
|
|
2
|
+
export interface PvTagProps {
|
|
3
|
+
/**
|
|
4
|
+
* @default 'Medium'
|
|
5
|
+
* Tag size
|
|
6
|
+
*/
|
|
7
|
+
size?: TagSize;
|
|
8
|
+
/**
|
|
9
|
+
* @default 'Tertiary'
|
|
10
|
+
* Tag Variant
|
|
11
|
+
*/
|
|
12
|
+
variant?: TagVariant;
|
|
13
|
+
/**
|
|
14
|
+
* Tag Icon
|
|
15
|
+
*/
|
|
16
|
+
icon?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Tag Label
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
/**
|
|
22
|
+
* Show left clear icon
|
|
23
|
+
*/
|
|
24
|
+
showClear?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Show rounded state
|
|
27
|
+
*/
|
|
28
|
+
rounded?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: import("vue").DefineComponent<PvTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
+
"handle-close": (payload: string) => any;
|
|
32
|
+
"handle-click": (payload: string) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<PvTagProps> & Readonly<{
|
|
34
|
+
"onHandle-close"?: ((payload: string) => any) | undefined;
|
|
35
|
+
"onHandle-click"?: ((payload: string) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
size: TagSize;
|
|
38
|
+
variant: TagVariant;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type PvToggleVariant = (typeof PvToggleVariants)[number];
|
|
2
|
+
export declare const PvToggleVariants: readonly ["secondary", "tertiary", "icon"];
|
|
3
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
4
|
+
id?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
inputType?: "checkbox" | "radio";
|
|
8
|
+
round?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
variant?: PvToggleVariant;
|
|
11
|
+
} & {
|
|
12
|
+
modelValue?: boolean;
|
|
13
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: boolean | undefined) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
16
|
+
id?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
value?: string;
|
|
19
|
+
inputType?: "checkbox" | "radio";
|
|
20
|
+
round?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
variant?: PvToggleVariant;
|
|
23
|
+
} & {
|
|
24
|
+
modelValue?: boolean;
|
|
25
|
+
}> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
28
|
+
default?: (props: {}) => any;
|
|
29
|
+
}>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PvTooltipPositions, PvTooltipVariants } from "./types";
|
|
2
|
+
interface PvTooltipProps {
|
|
3
|
+
variant?: PvTooltipVariants;
|
|
4
|
+
tooltipPosition?: PvTooltipPositions;
|
|
5
|
+
ariaLabelledBy?: string;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
label?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'tooltip-content'?: (props: typeof __VLS_3) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<PvTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvTooltipProps> & Readonly<{}>, {
|
|
14
|
+
variant: PvTooltipVariants;
|
|
15
|
+
tooltipPosition: PvTooltipPositions;
|
|
16
|
+
ariaLabelledBy: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const PvSizes: readonly ["xs", "sm", "md", "lg", "xl", "2x"];
|
|
2
|
+
export type PvSize = (typeof PvSizes)[number];
|
|
3
|
+
export declare const PvVariants: readonly ["primary", "secondary", "tertiary", "ghost", "destructive"];
|
|
4
|
+
export type PvVariants = (typeof PvVariants)[number];
|
|
5
|
+
export declare const PvColorVariants: readonly ["default", "success", "warning", "critical", "highlight"];
|
|
6
|
+
export type PvColorVariants = (typeof PvColorVariants)[number];
|
|
7
|
+
export declare const sizeMap: Record<PvSize, string>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { default as PvButton } from "@/components/base/PvButton/PvButton.vue";
|
|
2
|
+
export { default as PvCounterBadge } from "@/components/base/PvCounterBadge/PvCounterBadge.vue";
|
|
3
|
+
export { default as PvReleaseBadge } from "@/components/base/PvReleaseBadge/PvReleaseBadge.vue";
|
|
4
|
+
export { default as PvTag } from "@/components/base/PvTag/PvTag.vue";
|
|
5
|
+
export { default as PvPill } from "@/components/base/PvPill/PvPill.vue";
|
|
6
|
+
export { default as PvDropdown } from "@/components/base/PvDropdown/PvDropdown.vue";
|
|
7
|
+
export { default as PvIcon } from "@/components/base/PvIcon/PvIcon.vue";
|
|
8
|
+
export { default as PvPopover } from "@/components/base/PvPopover/PvPopover.vue";
|
|
9
|
+
export { default as PvSegmentedControl } from "@/components/base/PvSegmentedControl/PvSegmentedControl.vue";
|
|
10
|
+
export { default as PvTabList } from "@/components/base/PvTabList/PvTabList.vue";
|
|
11
|
+
export { default as PvSelect } from "@/components/base/PvSelect/PvSelect.vue";
|
|
12
|
+
export { default as PvCompanyLogo } from "@/components/base/PvCompanyLogo/PvCompanyLogo.vue";
|
|
13
|
+
export { default as PvToggle } from "@/components/base/PvToggle/PvToggle.vue";
|
|
14
|
+
export { default as PvModal } from "@/components/base/PvModal/PvModal.vue";
|
|
15
|
+
export { default as PvBanner } from "@/components/base/PvBanner/PvBanner.vue";
|
|
16
|
+
export { default as PvCompanyTag } from "@/components/base/PvCompanyTag/PvCompanyTag.vue";
|
|
17
|
+
export { default as PvSuggestionTag } from "@/components/base/PvSuggestionTag/PvSuggestionTag.vue";
|
|
18
|
+
export { default as PvAccordion } from "@/components/base/PvAccordion/PvAccordion.vue";
|
|
19
|
+
export { default as PvSearchInput } from "@/components/base/PvSearchInput/PvSearchInput.vue";
|
|
20
|
+
export { default as PvDatePicker } from "@/components/base/PvDatePicker/PvDatePicker.vue";
|
|
21
|
+
export { default as PvDateTime } from "@/components/base/PvDateTime/PvDateTime.vue";
|
|
22
|
+
export { default as PvDrawer } from "@/components/base/PvDrawer/PvDrawer.vue";
|
|
23
|
+
export { default as PvTooltip } from "@/components/base/PvTooltip/PvTooltip.vue";
|
|
24
|
+
export { default as PvTabs } from "@/components/base/PvTabs/PvTabs.vue";
|
|
25
|
+
export { default as PvBreadcrumbs } from "@/components/base/PvBreadcrumbs/PvBreadcrumbs.vue";
|
|
26
|
+
export { default as PvMultiSelectButton } from "@/components/base/PvMultiSelectButton/PvMultiSelectButton.vue";
|
|
27
|
+
export { useDateTime } from "@/components/base/PvDateTime/useDateTime";
|
|
28
|
+
export type { Tab } from "@/components/base/PvTabs/types";
|
|
29
|
+
export type { PvBreadcrumbsOptions } from "@/components/base/PvBreadcrumbs/types";
|