@turquoisehealth/pit-viper 2.83.0 → 2.85.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/js/pit-viper.js +1 -0
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +31 -12
- package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +28 -0
- package/pv-components/dist/vue/base/components/base/PvAccordion/types.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.vue.d.ts +24 -0
- package/pv-components/dist/vue/base/components/base/PvActionBar/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.vue.d.ts +13 -0
- package/pv-components/dist/vue/base/components/base/PvAiButton/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +11 -0
- package/pv-components/dist/vue/base/components/base/PvAvatar/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.vue.d.ts +29 -0
- package/pv-components/dist/vue/base/components/base/PvBanner/types.d.ts +11 -0
- package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +7 -0
- package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/types.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvButton/PvButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvButton/PvButton.vue.d.ts +20 -0
- package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvCard/PvCard.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvCard/PvCard.vue.d.ts +27 -0
- package/pv-components/dist/vue/base/components/base/PvCard/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +17 -0
- package/pv-components/dist/vue/base/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +11 -0
- package/pv-components/dist/vue/base/components/base/PvCompanyLabel/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +27 -0
- package/pv-components/dist/vue/base/components/base/PvComponentsConfig/primeVue.config.d.ts +14 -0
- package/pv-components/dist/vue/base/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +16 -0
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +115 -0
- package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.vue.d.ts +14 -0
- package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.d.ts +9 -0
- package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +34 -0
- package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +117 -0
- package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +30 -0
- package/pv-components/dist/vue/base/components/base/PvExpandableContent/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +39 -0
- package/pv-components/dist/vue/base/components/base/PvGhostInput/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvIcon/PvIcon.vue.d.ts +10 -0
- package/pv-components/dist/vue/base/components/base/PvInput/PvInput.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvInput/PvInput.vue.d.ts +40 -0
- package/pv-components/dist/vue/base/components/base/PvInput/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.vue.d.ts +22 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.vue.d.ts +183 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +12 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +18 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +25 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +13 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.d.ts +66 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvModal/PvModal.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvModal/PvModal.vue.d.ts +28 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +361 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.vue.d.ts +21 -0
- package/pv-components/dist/vue/base/components/base/PvPagination/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.d.ts +12 -0
- package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvPill/PvPill.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvPill/PvPill.vue.d.ts +31 -0
- package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +31 -0
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvRating/PvRating.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvRating/PvRating.vue.d.ts +12 -0
- package/pv-components/dist/vue/base/components/base/PvRating/types.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvReleaseBadge/types.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +26 -0
- package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
- package/pv-components/dist/vue/base/components/base/PvSegmentedControl/types.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +228 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +33 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/mocks.d.ts +13 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +25 -0
- package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.vue.d.ts +11 -0
- package/pv-components/dist/vue/base/components/base/PvSkeleton/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.vue.d.ts +11 -0
- package/pv-components/dist/vue/base/components/base/PvSpinner/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvSprite/PvSprite.vue.d.ts +9 -0
- package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +31 -0
- package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +22 -0
- package/pv-components/dist/vue/base/components/base/PvSwitch/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvTabList/PvTabList.vue.d.ts +12 -0
- package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +18 -0
- package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +7 -0
- package/pv-components/dist/vue/base/components/base/PvTag/PvTag.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTag/PvTag.vue.d.ts +41 -0
- package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.vue.d.ts +40 -0
- package/pv-components/dist/vue/base/components/base/PvTextArea/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvToast/PvToast.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvToast/PvToast.vue.d.ts +30 -0
- package/pv-components/dist/vue/base/components/base/PvToast/types.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.vue.d.ts +29 -0
- package/pv-components/dist/vue/base/components/base/PvToggleButton/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +34 -0
- package/pv-components/dist/vue/base/components/base/PvTooltip/types.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.vue.d.ts +18 -0
- package/pv-components/dist/vue/base/components/base/baseProps.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +54 -0
- package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
- package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +24 -0
- package/pv-components/dist/vue/base/types.d.ts +40 -0
- package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +11871 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
- package/pv-components/dist/vue/visualizations/types.d.ts +40 -0
- package/pv-components/dist/vue/base/pv-components-base.d.ts +0 -2074
- 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/pv-components/dist/web/index.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PvAvatarGroupItem } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvAvatarGroupProps {
|
|
4
|
+
items: PvAvatarGroupItem[];
|
|
5
|
+
maxDisplayed: number;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: DefineComponent<PvAvatarGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { BannerOrientations, BannerVariants } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvBannerProps {
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
variant?: BannerVariants;
|
|
7
|
+
orientation?: BannerOrientations;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
left?(_: {}): any;
|
|
13
|
+
action?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: DefineComponent<PvBannerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBannerProps> & Readonly<{}>, {
|
|
20
|
+
variant: BannerVariants;
|
|
21
|
+
orientation: BannerOrientations;
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum BannerOrientationsEnum {
|
|
2
|
+
Vertical = "Vertical",
|
|
3
|
+
Horizontal = "Horizontal"
|
|
4
|
+
}
|
|
5
|
+
export declare enum BannerVariantsEnum {
|
|
6
|
+
Primary = "Primary",
|
|
7
|
+
Secondary = "Secondary",
|
|
8
|
+
Tertiary = "Tertiary"
|
|
9
|
+
}
|
|
10
|
+
export type BannerOrientations = `${BannerOrientationsEnum}`;
|
|
11
|
+
export type BannerVariants = `${BannerVariantsEnum}`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PvBreadcrumbsOptions } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvBreadcrumbsProps {
|
|
4
|
+
options: PvBreadcrumbsOptions[];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: DefineComponent<PvBreadcrumbsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PvButtonSize, PvButtonVariant } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type PvButtonProps = {
|
|
4
|
+
variant?: PvButtonVariant;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
size?: PvButtonSize;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
label?: string;
|
|
9
|
+
leftIcon?: string;
|
|
10
|
+
rightIcon?: string;
|
|
11
|
+
inverse?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: DefineComponent<PvButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvButtonProps> & Readonly<{}>, {
|
|
14
|
+
size: PvButtonSize;
|
|
15
|
+
variant: PvButtonVariant;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
inverse: boolean;
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PvCardVariant } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvCardProps {
|
|
4
|
+
href?: string;
|
|
5
|
+
variant?: PvCardVariant;
|
|
6
|
+
interactive?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: DefineComponent<PvCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCardProps> & Readonly<{}>, {
|
|
18
|
+
variant: PvCardVariant;
|
|
19
|
+
interactive: boolean;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface PvCheckboxProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
indeterminate?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = PvCheckboxProps;
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
modelValue?: boolean;
|
|
9
|
+
} & __VLS_Props;
|
|
10
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: boolean) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
15
|
+
'checkbox-ref': HTMLInputElement;
|
|
16
|
+
}, HTMLInputElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PvCompanyLabelSize } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvCompanyLabelProps {
|
|
4
|
+
size?: PvCompanyLabelSize;
|
|
5
|
+
logo?: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: DefineComponent<PvCompanyLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCompanyLabelProps> & Readonly<{}>, {
|
|
9
|
+
size: PvCompanyLabelSize;
|
|
10
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PvCompanyLogoSize } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type PvCompanyLogoProps = {
|
|
4
|
+
basePath?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
size?: PvCompanyLogoSize;
|
|
7
|
+
srcPathOverride?: string;
|
|
8
|
+
toCamelCase?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: DefineComponent<PvCompanyLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCompanyLogoProps> & Readonly<{}>, {
|
|
11
|
+
size: PvCompanyLogoSize;
|
|
12
|
+
basePath: string;
|
|
13
|
+
toCamelCase: boolean;
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { TagSize } from '../PvTag/types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvCompanyTag {
|
|
4
|
+
/**
|
|
5
|
+
* Company name. Displayed on the left
|
|
6
|
+
*/
|
|
7
|
+
companyName: string;
|
|
8
|
+
/**
|
|
9
|
+
* Size
|
|
10
|
+
*/
|
|
11
|
+
size?: TagSize;
|
|
12
|
+
/**
|
|
13
|
+
* Show clear left icon
|
|
14
|
+
*/
|
|
15
|
+
showClear?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: DefineComponent<PvCompanyTag, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
"handle-close": (companyName: string) => any;
|
|
19
|
+
"handle-click": (companyName: string) => any;
|
|
20
|
+
}, string, PublicProps, Readonly<PvCompanyTag> & Readonly<{
|
|
21
|
+
"onHandle-close"?: ((companyName: string) => any) | undefined;
|
|
22
|
+
"onHandle-click"?: ((companyName: string) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
size: TagSize;
|
|
25
|
+
showClear: boolean;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Preset } from '@primeuix/themes/types';
|
|
2
|
+
import { AuraBaseDesignTokens } from '@primeuix/themes/aura/base';
|
|
3
|
+
export declare const PvComponentsConfig: {
|
|
4
|
+
theme: {
|
|
5
|
+
preset: Preset<AuraBaseDesignTokens>;
|
|
6
|
+
options: {
|
|
7
|
+
darkModeSelector: string;
|
|
8
|
+
cssLayer: {
|
|
9
|
+
name: string;
|
|
10
|
+
order: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PvCounterBadgeSize, PvCounterBadgeVariant } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvCounterBadgeProps {
|
|
4
|
+
value?: number;
|
|
5
|
+
prefix?: string;
|
|
6
|
+
variant?: PvCounterBadgeVariant;
|
|
7
|
+
size?: PvCounterBadgeSize;
|
|
8
|
+
maxValue?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: DefineComponent<PvCounterBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCounterBadgeProps> & Readonly<{}>, {
|
|
11
|
+
size: PvCounterBadgeSize;
|
|
12
|
+
variant: PvCounterBadgeVariant;
|
|
13
|
+
prefix: string;
|
|
14
|
+
maxValue: number;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
export interface PvDatePickerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Defines the quantity of the selection.
|
|
5
|
+
* @defaultValue single
|
|
6
|
+
*/
|
|
7
|
+
selectionMode?: "single" | "multiple" | "range" | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Format of the date. Defaults to PrimeVue Locale configuration.
|
|
10
|
+
*/
|
|
11
|
+
dateFormat?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* When enabled, displays the datepicker as inline instead of an overlay.
|
|
14
|
+
* @defaultValue false
|
|
15
|
+
*/
|
|
16
|
+
inline?: boolean | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true.
|
|
19
|
+
* @defaultValue false
|
|
20
|
+
*/
|
|
21
|
+
selectOtherMonths?: boolean | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Number of months to display.
|
|
24
|
+
* @defaultValue 1
|
|
25
|
+
*/
|
|
26
|
+
numberOfMonths?: number | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Type of view to display.
|
|
29
|
+
* @defaultValue date
|
|
30
|
+
*/
|
|
31
|
+
view?: "date" | "month" | "year" | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The minimum selectable date.
|
|
34
|
+
*/
|
|
35
|
+
minDate?: Date | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* The maximum selectable date.
|
|
38
|
+
*/
|
|
39
|
+
maxDate?: Date | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* When enabled, displays a button with icon next to input.
|
|
42
|
+
* @defaultValue false
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
* Array with dates to disable.
|
|
46
|
+
*/
|
|
47
|
+
disabledDates?: Date[] | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Array with disabled weekday numbers.
|
|
50
|
+
*/
|
|
51
|
+
disabledDays?: number[] | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Maximum number of selectable dates in multiple mode.
|
|
54
|
+
*/
|
|
55
|
+
maxDateCount?: number | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Whether to display today and clear buttons at the footer.
|
|
58
|
+
* @defaultValue false
|
|
59
|
+
*/
|
|
60
|
+
showButtonBar?: boolean | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* When enabled, datepicker will show week numbers.
|
|
63
|
+
* @defaultValue false
|
|
64
|
+
*/
|
|
65
|
+
showWeek?: boolean | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Whether to allow entering the date manually via typing.
|
|
68
|
+
* @defaultValue true
|
|
69
|
+
*/
|
|
70
|
+
manualInput?: boolean | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* When present, it specifies that the component should be disabled.
|
|
73
|
+
* @defaultValue false
|
|
74
|
+
*/
|
|
75
|
+
disabled?: boolean | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* When present, it specifies that the component should have invalid state style.
|
|
78
|
+
* @defaultValue false
|
|
79
|
+
*/
|
|
80
|
+
invalid?: boolean | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* When present, it specifies that an input field is read-only.
|
|
83
|
+
* @defaultValue false
|
|
84
|
+
*/
|
|
85
|
+
readonly?: boolean | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Placeholder text for the input.
|
|
88
|
+
*/
|
|
89
|
+
placeholder?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* When enabled, displays a button with icon next to input.
|
|
92
|
+
* @defaultValue false
|
|
93
|
+
*/
|
|
94
|
+
showIcon?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* When input should take 100% width
|
|
97
|
+
*/
|
|
98
|
+
fullWidth?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* A valid query selector or an HTMLElement to specify where the overlay gets attached.
|
|
101
|
+
*/
|
|
102
|
+
appendTo?: "body" | "self" | undefined;
|
|
103
|
+
}
|
|
104
|
+
type __VLS_Props = PvDatePickerProps;
|
|
105
|
+
type __VLS_PublicProps = {
|
|
106
|
+
modelValue: Date;
|
|
107
|
+
} & __VLS_Props;
|
|
108
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
109
|
+
"update:modelValue": (value: Date) => any;
|
|
110
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
111
|
+
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
112
|
+
}>, {
|
|
113
|
+
appendTo: "body" | "self";
|
|
114
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
115
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PvSize } from '../baseProps';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type DateTimeSize = Extract<PvSize, "xs" | "sm">;
|
|
4
|
+
interface PvDateTimeProps {
|
|
5
|
+
variants?: "condensed" | "time";
|
|
6
|
+
timezone?: string;
|
|
7
|
+
date: Date;
|
|
8
|
+
size?: DateTimeSize;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: DefineComponent<PvDateTimeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvDateTimeProps> & Readonly<{}>, {
|
|
11
|
+
size: DateTimeSize;
|
|
12
|
+
variants: "condensed" | "time";
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PvSearchInputProps } from '../PvSearchInput/PvSearchInput.vue';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvDrawer {
|
|
4
|
+
header: string;
|
|
5
|
+
subheader?: string;
|
|
6
|
+
showSearchbar?: boolean;
|
|
7
|
+
closeOnClickOutside?: boolean;
|
|
8
|
+
searchInputProps?: PvSearchInputProps;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
11
|
+
searchInput?: string;
|
|
12
|
+
modelValue: boolean;
|
|
13
|
+
} & PvDrawer, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: boolean) => any;
|
|
15
|
+
"update:searchInput": (value: string) => any;
|
|
16
|
+
}, string, PublicProps, Readonly<{
|
|
17
|
+
searchInput?: string;
|
|
18
|
+
modelValue: boolean;
|
|
19
|
+
} & PvDrawer> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
closeOnClickOutside: boolean;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
25
|
+
sidePanel: HTMLDivElement;
|
|
26
|
+
}, HTMLDivElement>, {
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { nextTick, CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
+
import { PvPopoverProps } from '../PvPopover/PvPopover.vue';
|
|
3
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
4
|
+
export interface PvDropdownProps {
|
|
5
|
+
defaultOpen?: boolean;
|
|
6
|
+
popoverCssProperties?: CSSProperties;
|
|
7
|
+
alignment?: "top" | "right" | "top right" | undefined;
|
|
8
|
+
isList?: boolean;
|
|
9
|
+
isSortable?: boolean;
|
|
10
|
+
icon?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
useTeleport?: boolean;
|
|
14
|
+
teleportLocation?: string;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps, {
|
|
17
|
+
closeDropdown: () => void;
|
|
18
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
19
|
+
"list-order-updated": (value: string[]) => any;
|
|
20
|
+
"dropdown-open": () => any;
|
|
21
|
+
"dropdown-closed": () => any;
|
|
22
|
+
}, string, PublicProps, Readonly<PvDropdownProps> & Readonly<{
|
|
23
|
+
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
24
|
+
"onDropdown-open"?: (() => any) | undefined;
|
|
25
|
+
"onDropdown-closed"?: (() => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
alignment: "top" | "right" | "top right";
|
|
29
|
+
isList: boolean;
|
|
30
|
+
defaultOpen: boolean;
|
|
31
|
+
isLoading: boolean;
|
|
32
|
+
useTeleport: boolean;
|
|
33
|
+
teleportLocation: string;
|
|
34
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
35
|
+
triggerRef: HTMLButtonElement;
|
|
36
|
+
popoverRef: ({
|
|
37
|
+
$: ComponentInternalInstance;
|
|
38
|
+
$data: {};
|
|
39
|
+
$props: {
|
|
40
|
+
readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
|
|
41
|
+
readonly cssCustomProperties?: CSSProperties | undefined;
|
|
42
|
+
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
43
|
+
readonly isList?: boolean | undefined;
|
|
44
|
+
readonly isSortable?: boolean | undefined;
|
|
45
|
+
readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
46
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
47
|
+
$attrs: {
|
|
48
|
+
[x: string]: unknown;
|
|
49
|
+
};
|
|
50
|
+
$refs: {
|
|
51
|
+
[x: string]: unknown;
|
|
52
|
+
} & {
|
|
53
|
+
popoverRoot: HTMLDivElement;
|
|
54
|
+
popoverList: HTMLUListElement;
|
|
55
|
+
};
|
|
56
|
+
$slots: Readonly<{
|
|
57
|
+
[name: string]: Slot<any> | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
$root: ComponentPublicInstance | null;
|
|
60
|
+
$parent: ComponentPublicInstance | null;
|
|
61
|
+
$host: Element | null;
|
|
62
|
+
$emit: (event: "list-order-updated", value: string[]) => void;
|
|
63
|
+
$el: HTMLDivElement;
|
|
64
|
+
$options: ComponentOptionsBase<Readonly< PvPopoverProps> & Readonly<{
|
|
65
|
+
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
68
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
69
|
+
"list-order-updated": (value: string[]) => any;
|
|
70
|
+
}, string, {
|
|
71
|
+
alignment: "top" | "right" | "top right";
|
|
72
|
+
cssCustomProperties: CSSProperties;
|
|
73
|
+
isList: boolean;
|
|
74
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
75
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
76
|
+
created?: (() => void) | (() => void)[];
|
|
77
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
78
|
+
mounted?: (() => void) | (() => void)[];
|
|
79
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
80
|
+
updated?: (() => void) | (() => void)[];
|
|
81
|
+
activated?: (() => void) | (() => void)[];
|
|
82
|
+
deactivated?: (() => void) | (() => void)[];
|
|
83
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
84
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
85
|
+
destroyed?: (() => void) | (() => void)[];
|
|
86
|
+
unmounted?: (() => void) | (() => void)[];
|
|
87
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
88
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
89
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
90
|
+
};
|
|
91
|
+
$forceUpdate: () => void;
|
|
92
|
+
$nextTick: typeof nextTick;
|
|
93
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
94
|
+
} & Readonly<{
|
|
95
|
+
alignment: "top" | "right" | "top right";
|
|
96
|
+
cssCustomProperties: CSSProperties;
|
|
97
|
+
isList: boolean;
|
|
98
|
+
}> & Omit<Readonly< PvPopoverProps> & Readonly<{
|
|
99
|
+
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
100
|
+
}>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef<{
|
|
101
|
+
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
102
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
103
|
+
$slots: {
|
|
104
|
+
default?(_: {}): any;
|
|
105
|
+
default?(_: {}): any;
|
|
106
|
+
};
|
|
107
|
+
}) | null;
|
|
108
|
+
}, HTMLDivElement>, {
|
|
109
|
+
trigger?(_: {}): any;
|
|
110
|
+
default?(_: {}): any;
|
|
111
|
+
}>;
|
|
112
|
+
export default _default;
|
|
113
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
114
|
+
new (): {
|
|
115
|
+
$slots: S;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PvExpandableContentSizes, PvExpandableContentVariants } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
lines?: number;
|
|
5
|
+
size?: PvExpandableContentSizes;
|
|
6
|
+
variant?: PvExpandableContentVariants;
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
size: PvExpandableContentSizes;
|
|
20
|
+
variant: PvExpandableContentVariants;
|
|
21
|
+
defaultOpen: boolean;
|
|
22
|
+
lines: number;
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|