@turquoisehealth/pit-viper 2.82.4-dev.0 → 2.83.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 +0 -1
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +12 -31
- package/pv-components/dist/vue/base/pv-components-base.d.ts +2074 -0
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +491 -0
- package/pv-components/dist/vue/charts/pv-components-charts.js +259 -0
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +121834 -0
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +259 -0
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +299 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +223 -0
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +47028 -0
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +223 -0
- package/pv-components/dist/web/index.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +0 -28
- package/pv-components/dist/vue/base/components/base/PvAccordion/types.d.ts +0 -5
- package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.vue.d.ts +0 -24
- package/pv-components/dist/vue/base/components/base/PvActionBar/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.vue.d.ts +0 -13
- package/pv-components/dist/vue/base/components/base/PvAiButton/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +0 -11
- package/pv-components/dist/vue/base/components/base/PvAvatar/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +0 -8
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +0 -5
- package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.vue.d.ts +0 -29
- package/pv-components/dist/vue/base/components/base/PvBanner/types.d.ts +0 -11
- package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +0 -7
- package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/types.d.ts +0 -4
- package/pv-components/dist/vue/base/components/base/PvButton/PvButton.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvButton/PvButton.vue.d.ts +0 -20
- package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvCard/PvCard.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvCard/PvCard.vue.d.ts +0 -27
- package/pv-components/dist/vue/base/components/base/PvCard/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +0 -17
- package/pv-components/dist/vue/base/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +0 -11
- package/pv-components/dist/vue/base/components/base/PvCompanyLabel/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +0 -15
- package/pv-components/dist/vue/base/components/base/PvCompanyLogo/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +0 -27
- package/pv-components/dist/vue/base/components/base/PvComponentsConfig/primeVue.config.d.ts +0 -14
- package/pv-components/dist/vue/base/components/base/PvComponentsConfig/usePvComponents.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +0 -16
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +0 -115
- package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.vue.d.ts +0 -14
- package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.d.ts +0 -9
- package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +0 -34
- package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +0 -117
- package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +0 -30
- package/pv-components/dist/vue/base/components/base/PvExpandableContent/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +0 -39
- package/pv-components/dist/vue/base/components/base/PvGhostInput/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvIcon/PvIcon.vue.d.ts +0 -10
- package/pv-components/dist/vue/base/components/base/PvInput/PvInput.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvInput/PvInput.vue.d.ts +0 -40
- package/pv-components/dist/vue/base/components/base/PvInput/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.vue.d.ts +0 -22
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.vue.d.ts +0 -183
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +0 -12
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +0 -18
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +0 -25
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +0 -13
- package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.d.ts +0 -66
- package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvModal/PvModal.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvModal/PvModal.vue.d.ts +0 -28
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -361
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +0 -15
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/mocks.d.ts +0 -15
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.vue.d.ts +0 -21
- package/pv-components/dist/vue/base/components/base/PvPagination/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.d.ts +0 -12
- package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvPill/PvPill.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvPill/PvPill.vue.d.ts +0 -31
- package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +0 -4
- package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +0 -31
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +0 -44
- package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvRating/PvRating.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvRating/PvRating.vue.d.ts +0 -12
- package/pv-components/dist/vue/base/components/base/PvRating/types.d.ts +0 -4
- package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +0 -8
- package/pv-components/dist/vue/base/components/base/PvReleaseBadge/types.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +0 -26
- package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +0 -19
- package/pv-components/dist/vue/base/components/base/PvSegmentedControl/types.d.ts +0 -8
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +0 -228
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +0 -33
- package/pv-components/dist/vue/base/components/base/PvSelectButton/mocks.d.ts +0 -13
- package/pv-components/dist/vue/base/components/base/PvSelectButton/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +0 -25
- package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.vue.d.ts +0 -11
- package/pv-components/dist/vue/base/components/base/PvSkeleton/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.vue.d.ts +0 -11
- package/pv-components/dist/vue/base/components/base/PvSpinner/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvSprite/PvSprite.vue.d.ts +0 -9
- package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +0 -31
- package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +0 -22
- package/pv-components/dist/vue/base/components/base/PvSwitch/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvTabList/PvTabList.vue.d.ts +0 -12
- package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +0 -18
- package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +0 -7
- package/pv-components/dist/vue/base/components/base/PvTag/PvTag.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvTag/PvTag.vue.d.ts +0 -41
- package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.vue.d.ts +0 -40
- package/pv-components/dist/vue/base/components/base/PvTextArea/types.d.ts +0 -2
- package/pv-components/dist/vue/base/components/base/PvToast/PvToast.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvToast/PvToast.vue.d.ts +0 -30
- package/pv-components/dist/vue/base/components/base/PvToast/types.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.vue.d.ts +0 -29
- package/pv-components/dist/vue/base/components/base/PvToggleButton/types.d.ts +0 -3
- package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +0 -34
- package/pv-components/dist/vue/base/components/base/PvTooltip/types.d.ts +0 -4
- package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.vue.d.ts +0 -18
- package/pv-components/dist/vue/base/components/base/baseProps.d.ts +0 -15
- package/pv-components/dist/vue/base/components/base/index.d.ts +0 -54
- package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +0 -1
- package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +0 -24
- package/pv-components/dist/vue/base/types.d.ts +0 -40
- package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +0 -5
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +0 -176
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +0 -11871
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +0 -176
- package/pv-components/dist/vue/visualizations/types.d.ts +0 -40
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
export interface ModalProps {
|
|
3
|
-
header: string;
|
|
4
|
-
subheader?: string;
|
|
5
|
-
closeOnClickOutside?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
8
|
-
modelValue: boolean;
|
|
9
|
-
} & ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (value: boolean) => any;
|
|
11
|
-
}, string, PublicProps, Readonly<{
|
|
12
|
-
modelValue: boolean;
|
|
13
|
-
} & ModalProps> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
}>, {
|
|
16
|
-
closeOnClickOutside: boolean;
|
|
17
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
18
|
-
dialog: HTMLDialogElement;
|
|
19
|
-
}, HTMLDialogElement>, {
|
|
20
|
-
body?(_: {}): any;
|
|
21
|
-
footer?(_: {}): any;
|
|
22
|
-
}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@testing-library/jest-dom";
|
package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts
DELETED
|
@@ -1,361 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, VNodeRef, VNode } from 'vue';
|
|
2
|
-
import { PvSelectButtonSize, PvSelectButtonVariant } from './types';
|
|
3
|
-
import { MenuOption, MenuOptionsVariant } from '../../../types.ts';
|
|
4
|
-
import { PvSelectButtonTrigger } from '../PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
|
|
5
|
-
import { PvPopoverProps } from '../PvPopover/PvPopover.vue';
|
|
6
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
7
|
-
import { PvSelectMenu } from '../PvMenu/PvMenu.vue';
|
|
8
|
-
import { PvSearchInputProps } from '../PvSearchInput/PvSearchInput.vue';
|
|
9
|
-
export interface PvMultiSelectButtonSlotProps {
|
|
10
|
-
searchInput: string;
|
|
11
|
-
}
|
|
12
|
-
export interface PvMultiSelectButtonProps {
|
|
13
|
-
groupings?: string[];
|
|
14
|
-
defaultOpen?: boolean;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
teleportLocation?: string;
|
|
17
|
-
isLoading?: boolean;
|
|
18
|
-
variant?: PvSelectButtonVariant;
|
|
19
|
-
size?: PvSelectButtonSize;
|
|
20
|
-
alignment?: "top" | "right" | "top right" | undefined;
|
|
21
|
-
popoverCssProperties?: CSSProperties;
|
|
22
|
-
prefixLabel?: string;
|
|
23
|
-
label?: string;
|
|
24
|
-
icon?: string;
|
|
25
|
-
counterPosition?: "left" | "right" | "none";
|
|
26
|
-
companyLogo?: string;
|
|
27
|
-
showClear?: boolean;
|
|
28
|
-
showDropdown?: boolean;
|
|
29
|
-
showMenuAction?: boolean;
|
|
30
|
-
showSearchInput?: boolean;
|
|
31
|
-
overlayTrigger?: boolean;
|
|
32
|
-
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
33
|
-
options: MenuOption[];
|
|
34
|
-
useTeleport?: boolean;
|
|
35
|
-
}
|
|
36
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
37
|
-
modelValue?: MenuOption[];
|
|
38
|
-
searchInput?: string;
|
|
39
|
-
} & PvMultiSelectButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
|
-
"update:modelValue": (value: MenuOption[]) => any;
|
|
41
|
-
"update:searchInput": (value: string) => any;
|
|
42
|
-
} & {
|
|
43
|
-
"dropdown-open": () => any;
|
|
44
|
-
"dropdown-closed": () => any;
|
|
45
|
-
}, string, PublicProps, Readonly<{
|
|
46
|
-
modelValue?: MenuOption[];
|
|
47
|
-
searchInput?: string;
|
|
48
|
-
} & PvMultiSelectButtonProps> & Readonly<{
|
|
49
|
-
"onDropdown-open"?: (() => any) | undefined;
|
|
50
|
-
"onDropdown-closed"?: (() => any) | undefined;
|
|
51
|
-
"onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
|
|
52
|
-
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
53
|
-
}>, {
|
|
54
|
-
size: PvSelectButtonSize;
|
|
55
|
-
label: string;
|
|
56
|
-
variant: PvSelectButtonVariant;
|
|
57
|
-
showClear: boolean;
|
|
58
|
-
useTeleport: boolean;
|
|
59
|
-
teleportLocation: string;
|
|
60
|
-
options: MenuOption[];
|
|
61
|
-
counterPosition: "left" | "right" | "none";
|
|
62
|
-
showDropdown: boolean;
|
|
63
|
-
optionsVariant: Exclude<MenuOptionsVariant, "radio">;
|
|
64
|
-
showMenuAction: boolean;
|
|
65
|
-
showSearchInput: boolean;
|
|
66
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
67
|
-
'select-button-trigger-ref': CreateComponentPublicInstanceWithMixins<Readonly< PvSelectButtonTrigger> & Readonly<{
|
|
68
|
-
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
69
|
-
"onHandle-clear"?: (() => any) | undefined;
|
|
70
|
-
}>, {
|
|
71
|
-
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
72
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
73
|
-
"handle-toggle-dropdown": () => any;
|
|
74
|
-
"handle-clear": () => any;
|
|
75
|
-
}, PublicProps, {
|
|
76
|
-
size: PvSelectButtonSize;
|
|
77
|
-
variant: PvSelectButtonVariant;
|
|
78
|
-
showDropdown: boolean;
|
|
79
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
80
|
-
triggerRef: HTMLButtonElement;
|
|
81
|
-
}, HTMLButtonElement, ComponentProvideOptions, {
|
|
82
|
-
P: {};
|
|
83
|
-
B: {};
|
|
84
|
-
D: {};
|
|
85
|
-
C: {};
|
|
86
|
-
M: {};
|
|
87
|
-
Defaults: {};
|
|
88
|
-
}, Readonly< PvSelectButtonTrigger> & Readonly<{
|
|
89
|
-
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
90
|
-
"onHandle-clear"?: (() => any) | undefined;
|
|
91
|
-
}>, {
|
|
92
|
-
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
93
|
-
}, {}, {}, {}, {
|
|
94
|
-
size: PvSelectButtonSize;
|
|
95
|
-
variant: PvSelectButtonVariant;
|
|
96
|
-
showDropdown: boolean;
|
|
97
|
-
}> | null;
|
|
98
|
-
'select-menu-ref': ({
|
|
99
|
-
$: ComponentInternalInstance;
|
|
100
|
-
$data: {};
|
|
101
|
-
$props: {
|
|
102
|
-
readonly teleportLocation?: string | undefined;
|
|
103
|
-
readonly open: boolean;
|
|
104
|
-
readonly popoverPositionStyle?: CSSProperties | undefined;
|
|
105
|
-
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
106
|
-
readonly useTeleport?: boolean | undefined;
|
|
107
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
108
|
-
$attrs: {
|
|
109
|
-
[x: string]: unknown;
|
|
110
|
-
};
|
|
111
|
-
$refs: {
|
|
112
|
-
[x: string]: unknown;
|
|
113
|
-
} & {
|
|
114
|
-
popoverRef: ({
|
|
115
|
-
$: ComponentInternalInstance;
|
|
116
|
-
$data: {};
|
|
117
|
-
$props: {
|
|
118
|
-
readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
|
|
119
|
-
readonly cssCustomProperties?: CSSProperties | undefined;
|
|
120
|
-
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
121
|
-
readonly isList?: boolean | undefined;
|
|
122
|
-
readonly isSortable?: boolean | undefined;
|
|
123
|
-
readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
124
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
125
|
-
$attrs: {
|
|
126
|
-
[x: string]: unknown;
|
|
127
|
-
};
|
|
128
|
-
$refs: {
|
|
129
|
-
[x: string]: unknown;
|
|
130
|
-
} & {
|
|
131
|
-
popoverRoot: HTMLDivElement;
|
|
132
|
-
popoverList: HTMLUListElement;
|
|
133
|
-
};
|
|
134
|
-
$slots: Readonly<{
|
|
135
|
-
[name: string]: Slot<any> | undefined;
|
|
136
|
-
}>;
|
|
137
|
-
$root: ComponentPublicInstance | null;
|
|
138
|
-
$parent: ComponentPublicInstance | null;
|
|
139
|
-
$host: Element | null;
|
|
140
|
-
$emit: (event: "list-order-updated", value: string[]) => void;
|
|
141
|
-
$el: HTMLDivElement;
|
|
142
|
-
$options: ComponentOptionsBase<Readonly< PvPopoverProps> & Readonly<{
|
|
143
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
144
|
-
}>, {
|
|
145
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
146
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
147
|
-
"list-order-updated": (value: string[]) => any;
|
|
148
|
-
}, string, {
|
|
149
|
-
alignment: "top" | "right" | "top right";
|
|
150
|
-
cssCustomProperties: CSSProperties;
|
|
151
|
-
isList: boolean;
|
|
152
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
153
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
154
|
-
created?: (() => void) | (() => void)[];
|
|
155
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
156
|
-
mounted?: (() => void) | (() => void)[];
|
|
157
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
158
|
-
updated?: (() => void) | (() => void)[];
|
|
159
|
-
activated?: (() => void) | (() => void)[];
|
|
160
|
-
deactivated?: (() => void) | (() => void)[];
|
|
161
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
162
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
163
|
-
destroyed?: (() => void) | (() => void)[];
|
|
164
|
-
unmounted?: (() => void) | (() => void)[];
|
|
165
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
166
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
167
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
168
|
-
};
|
|
169
|
-
$forceUpdate: () => void;
|
|
170
|
-
$nextTick: typeof nextTick;
|
|
171
|
-
$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;
|
|
172
|
-
} & Readonly<{
|
|
173
|
-
alignment: "top" | "right" | "top right";
|
|
174
|
-
cssCustomProperties: CSSProperties;
|
|
175
|
-
isList: boolean;
|
|
176
|
-
}> & Omit<Readonly< PvPopoverProps> & Readonly<{
|
|
177
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
178
|
-
}>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef<{
|
|
179
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
180
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
181
|
-
$slots: {
|
|
182
|
-
default?(_: {}): any;
|
|
183
|
-
default?(_: {}): any;
|
|
184
|
-
};
|
|
185
|
-
}) | null;
|
|
186
|
-
};
|
|
187
|
-
$slots: Readonly<{
|
|
188
|
-
[name: string]: Slot<any> | undefined;
|
|
189
|
-
}>;
|
|
190
|
-
$root: ComponentPublicInstance | null;
|
|
191
|
-
$parent: ComponentPublicInstance | null;
|
|
192
|
-
$host: Element | null;
|
|
193
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
194
|
-
$el: any;
|
|
195
|
-
$options: ComponentOptionsBase<Readonly< PvSelectMenu> & Readonly<{}>, {
|
|
196
|
-
popoverRef: Ref<{
|
|
197
|
-
popoverRoot: HTMLElement | null;
|
|
198
|
-
} | null, {
|
|
199
|
-
popoverRoot: HTMLElement | null;
|
|
200
|
-
} | {
|
|
201
|
-
popoverRoot: HTMLElement | null;
|
|
202
|
-
} | null>;
|
|
203
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
204
|
-
useTeleport: boolean;
|
|
205
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
206
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
207
|
-
created?: (() => void) | (() => void)[];
|
|
208
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
209
|
-
mounted?: (() => void) | (() => void)[];
|
|
210
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
211
|
-
updated?: (() => void) | (() => void)[];
|
|
212
|
-
activated?: (() => void) | (() => void)[];
|
|
213
|
-
deactivated?: (() => void) | (() => void)[];
|
|
214
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
215
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
216
|
-
destroyed?: (() => void) | (() => void)[];
|
|
217
|
-
unmounted?: (() => void) | (() => void)[];
|
|
218
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
219
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
220
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
221
|
-
};
|
|
222
|
-
$forceUpdate: () => void;
|
|
223
|
-
$nextTick: typeof nextTick;
|
|
224
|
-
$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;
|
|
225
|
-
} & Readonly<{
|
|
226
|
-
useTeleport: boolean;
|
|
227
|
-
}> & Omit<Readonly< PvSelectMenu> & Readonly<{}>, "useTeleport" | "popoverRef"> & ShallowUnwrapRef<{
|
|
228
|
-
popoverRef: Ref<{
|
|
229
|
-
popoverRoot: HTMLElement | null;
|
|
230
|
-
} | null, {
|
|
231
|
-
popoverRoot: HTMLElement | null;
|
|
232
|
-
} | {
|
|
233
|
-
popoverRoot: HTMLElement | null;
|
|
234
|
-
} | null>;
|
|
235
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
236
|
-
$slots: {
|
|
237
|
-
default?(_: {}): any;
|
|
238
|
-
};
|
|
239
|
-
}) | null;
|
|
240
|
-
searchInputRef: CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
241
|
-
modelValue?: string;
|
|
242
|
-
} & PvSearchInputProps> & Readonly<{
|
|
243
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
244
|
-
}>, {
|
|
245
|
-
input: Readonly< ShallowRef<HTMLInputElement | null>>;
|
|
246
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
247
|
-
"update:modelValue": (value: string) => any;
|
|
248
|
-
}, PublicProps, {
|
|
249
|
-
disabled: boolean;
|
|
250
|
-
placeholder: string;
|
|
251
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
252
|
-
'search-input': HTMLInputElement;
|
|
253
|
-
}, HTMLDivElement, ComponentProvideOptions, {
|
|
254
|
-
P: {};
|
|
255
|
-
B: {};
|
|
256
|
-
D: {};
|
|
257
|
-
C: {};
|
|
258
|
-
M: {};
|
|
259
|
-
Defaults: {};
|
|
260
|
-
}, Readonly<{
|
|
261
|
-
modelValue?: string;
|
|
262
|
-
} & PvSearchInputProps> & Readonly<{
|
|
263
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
264
|
-
}>, {
|
|
265
|
-
input: Readonly< ShallowRef<HTMLInputElement | null>>;
|
|
266
|
-
}, {}, {}, {}, {
|
|
267
|
-
disabled: boolean;
|
|
268
|
-
placeholder: string;
|
|
269
|
-
}> | null;
|
|
270
|
-
}, HTMLDivElement>, Partial<Record<string, (_: {}) => any>> & {
|
|
271
|
-
'no-results'?(_: {
|
|
272
|
-
modelValue?: MenuOption[];
|
|
273
|
-
searchInput?: string;
|
|
274
|
-
groupings?: string[];
|
|
275
|
-
defaultOpen?: boolean;
|
|
276
|
-
disabled?: boolean;
|
|
277
|
-
teleportLocation?: string;
|
|
278
|
-
isLoading?: boolean;
|
|
279
|
-
variant?: PvSelectButtonVariant;
|
|
280
|
-
size?: PvSelectButtonSize;
|
|
281
|
-
alignment?: "top" | "right" | "top right" | undefined;
|
|
282
|
-
popoverCssProperties?: CSSProperties;
|
|
283
|
-
prefixLabel?: string;
|
|
284
|
-
label?: string;
|
|
285
|
-
icon?: string;
|
|
286
|
-
counterPosition?: "left" | "right" | "none";
|
|
287
|
-
companyLogo?: string;
|
|
288
|
-
showClear?: boolean;
|
|
289
|
-
showDropdown?: boolean;
|
|
290
|
-
showMenuAction?: boolean;
|
|
291
|
-
showSearchInput?: boolean;
|
|
292
|
-
overlayTrigger?: boolean;
|
|
293
|
-
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
294
|
-
options: MenuOption[];
|
|
295
|
-
useTeleport?: boolean;
|
|
296
|
-
"onDropdown-open"?: (() => any) | undefined;
|
|
297
|
-
"onDropdown-closed"?: (() => any) | undefined;
|
|
298
|
-
"onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
|
|
299
|
-
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
300
|
-
key?: PropertyKey;
|
|
301
|
-
ref?: VNodeRef;
|
|
302
|
-
ref_for?: boolean;
|
|
303
|
-
ref_key?: string;
|
|
304
|
-
onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
305
|
-
onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
306
|
-
onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
|
|
307
|
-
onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
|
|
308
|
-
onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
309
|
-
onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
310
|
-
class?: unknown;
|
|
311
|
-
style?: unknown;
|
|
312
|
-
}): any;
|
|
313
|
-
footer?(_: {
|
|
314
|
-
modelValue?: MenuOption[];
|
|
315
|
-
searchInput?: string;
|
|
316
|
-
groupings?: string[];
|
|
317
|
-
defaultOpen?: boolean;
|
|
318
|
-
disabled?: boolean;
|
|
319
|
-
teleportLocation?: string;
|
|
320
|
-
isLoading?: boolean;
|
|
321
|
-
variant?: PvSelectButtonVariant;
|
|
322
|
-
size?: PvSelectButtonSize;
|
|
323
|
-
alignment?: "top" | "right" | "top right" | undefined;
|
|
324
|
-
popoverCssProperties?: CSSProperties;
|
|
325
|
-
prefixLabel?: string;
|
|
326
|
-
label?: string;
|
|
327
|
-
icon?: string;
|
|
328
|
-
counterPosition?: "left" | "right" | "none";
|
|
329
|
-
companyLogo?: string;
|
|
330
|
-
showClear?: boolean;
|
|
331
|
-
showDropdown?: boolean;
|
|
332
|
-
showMenuAction?: boolean;
|
|
333
|
-
showSearchInput?: boolean;
|
|
334
|
-
overlayTrigger?: boolean;
|
|
335
|
-
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
336
|
-
options: MenuOption[];
|
|
337
|
-
useTeleport?: boolean;
|
|
338
|
-
"onDropdown-open"?: (() => any) | undefined;
|
|
339
|
-
"onDropdown-closed"?: (() => any) | undefined;
|
|
340
|
-
"onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
|
|
341
|
-
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
342
|
-
key?: PropertyKey;
|
|
343
|
-
ref?: VNodeRef;
|
|
344
|
-
ref_for?: boolean;
|
|
345
|
-
ref_key?: string;
|
|
346
|
-
onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
347
|
-
onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
348
|
-
onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
|
|
349
|
-
onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
|
|
350
|
-
onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
351
|
-
onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
|
|
352
|
-
class?: unknown;
|
|
353
|
-
style?: unknown;
|
|
354
|
-
}): any;
|
|
355
|
-
}>;
|
|
356
|
-
export default _default;
|
|
357
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
358
|
-
new (): {
|
|
359
|
-
$slots: S;
|
|
360
|
-
};
|
|
361
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MenuOption, MenuOptionsVariant } from '../../../types.ts';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface PvMenuSelectMenuItem {
|
|
4
|
-
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
5
|
-
selected: boolean;
|
|
6
|
-
option: MenuOption;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: DefineComponent<PvMenuSelectMenuItem, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
9
|
-
"handle-select-item": (payload: MenuOption) => any;
|
|
10
|
-
}, string, PublicProps, Readonly<PvMenuSelectMenuItem> & Readonly<{
|
|
11
|
-
"onHandle-select-item"?: ((payload: MenuOption) => any) | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
optionsVariant: Exclude<MenuOptionsVariant, "radio">;
|
|
14
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLAnchorElement | HTMLLabelElement>;
|
|
15
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { MenuOption } from '../../../types';
|
|
2
|
-
export declare const simpleOptions: {
|
|
3
|
-
id: string;
|
|
4
|
-
text: string;
|
|
5
|
-
}[];
|
|
6
|
-
export declare const companyOption: {
|
|
7
|
-
id: string;
|
|
8
|
-
text: string;
|
|
9
|
-
companyName: string;
|
|
10
|
-
}[];
|
|
11
|
-
export declare const checkboxOptions: {
|
|
12
|
-
id: string;
|
|
13
|
-
text: string;
|
|
14
|
-
}[];
|
|
15
|
-
export declare const checkboxOptionsWithGroups: MenuOption[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@testing-library/jest-dom";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PvPaginationSize, PvPaginationVariant } from './types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface PvPaginationProps {
|
|
4
|
-
size?: PvPaginationSize;
|
|
5
|
-
maxPages: number;
|
|
6
|
-
maxNumberToShow?: number;
|
|
7
|
-
variant?: PvPaginationVariant;
|
|
8
|
-
}
|
|
9
|
-
type __VLS_Props = PvPaginationProps;
|
|
10
|
-
type __VLS_PublicProps = {
|
|
11
|
-
modelValue: number;
|
|
12
|
-
} & __VLS_Props;
|
|
13
|
-
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (value: number) => any;
|
|
15
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
size: PvPaginationSize;
|
|
19
|
-
variant: PvPaginationVariant;
|
|
20
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLOListElement>;
|
|
21
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PvPaginationVariant } from './types';
|
|
2
|
-
export declare const usePagination: ({ variant, }?: {
|
|
3
|
-
variant?: PvPaginationVariant;
|
|
4
|
-
}) => {
|
|
5
|
-
getPaginations: ({ currentPage, pages, }: {
|
|
6
|
-
currentPage: number;
|
|
7
|
-
pages: number;
|
|
8
|
-
}) => {
|
|
9
|
-
page: number;
|
|
10
|
-
label: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@testing-library/jest-dom/vitest";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { PillSize, PillVariant, PillDotVariant } from './types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
export interface PvPillProps {
|
|
4
|
-
/**
|
|
5
|
-
* @default 'Medium'
|
|
6
|
-
* Tag size
|
|
7
|
-
*/
|
|
8
|
-
size?: PillSize;
|
|
9
|
-
/**
|
|
10
|
-
* @default 'Tertiary'
|
|
11
|
-
* Tag Variant
|
|
12
|
-
*/
|
|
13
|
-
variant?: PillVariant;
|
|
14
|
-
/**
|
|
15
|
-
* Tag Icon
|
|
16
|
-
*/
|
|
17
|
-
icon?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Dot Variant
|
|
20
|
-
*/
|
|
21
|
-
dotVariant?: PillDotVariant;
|
|
22
|
-
/**
|
|
23
|
-
* Tag Label
|
|
24
|
-
*/
|
|
25
|
-
label: string;
|
|
26
|
-
}
|
|
27
|
-
declare const _default: DefineComponent<PvPillProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvPillProps> & Readonly<{}>, {
|
|
28
|
-
size: PillSize;
|
|
29
|
-
variant: PillVariant;
|
|
30
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { PvColorVariants, PvSize } from '../baseProps.ts';
|
|
2
|
-
export type PillSize = Extract<PvSize, "md" | "lg" | "sm">;
|
|
3
|
-
export type PillVariant = Extract<PvColorVariants, "default" | "success" | "warning" | "critical" | "highlight">;
|
|
4
|
-
export type PillDotVariant = "green" | "orange" | "yellow" | "red";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } 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_WithTemplateSlots< DefineComponent<PvPopoverProps, {
|
|
10
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
11
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
-
"list-order-updated": (value: string[]) => any;
|
|
13
|
-
}, string, 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, ComponentProvideOptions, false, {
|
|
20
|
-
popoverRoot: HTMLDivElement;
|
|
21
|
-
popoverList: HTMLUListElement;
|
|
22
|
-
}, HTMLDivElement>, {
|
|
23
|
-
default?(_: {}): any;
|
|
24
|
-
default?(_: {}): any;
|
|
25
|
-
}>;
|
|
26
|
-
export default _default;
|
|
27
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
-
new (): {
|
|
29
|
-
$slots: S;
|
|
30
|
-
};
|
|
31
|
-
};
|
package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { MenuOption } from '../../../types.ts';
|
|
2
|
-
export type QueryBuilderProcessor = "full" | "field-only";
|
|
3
|
-
export interface QueryBuilderOutput {
|
|
4
|
-
queryTerms: QueryTerm[];
|
|
5
|
-
freeTextTerms?: string[];
|
|
6
|
-
}
|
|
7
|
-
export interface QueryTerm {
|
|
8
|
-
queryField?: string;
|
|
9
|
-
queryDisplayField?: string;
|
|
10
|
-
exactMatch?: boolean;
|
|
11
|
-
queryText?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface QueryBuilderSuggestionMenuOption extends MenuOption {
|
|
14
|
-
queryTerm?: QueryTerm;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* The filter model is structured as follows:
|
|
18
|
-
* For single conditions
|
|
19
|
-
* {
|
|
20
|
-
* [field]: {
|
|
21
|
-
* filterType: "text",
|
|
22
|
-
* type: "equals" | "contains",
|
|
23
|
-
* filter: string,
|
|
24
|
-
* },
|
|
25
|
-
* }
|
|
26
|
-
* For multiple conditions on the same field, it will be structured as:
|
|
27
|
-
* {
|
|
28
|
-
* [field]: {
|
|
29
|
-
* filterType: "text",
|
|
30
|
-
* operator: 'OR',
|
|
31
|
-
* conditions: [
|
|
32
|
-
* {
|
|
33
|
-
* type: "equals" | "contains",
|
|
34
|
-
* filter: string,
|
|
35
|
-
* }
|
|
36
|
-
* ]
|
|
37
|
-
* },
|
|
38
|
-
* }
|
|
39
|
-
*/
|
|
40
|
-
export declare const useQueryBuilder: () => {
|
|
41
|
-
addQueryOption: (query: QueryBuilderOutput | null, option: QueryBuilderSuggestionMenuOption) => QueryBuilderOutput | null;
|
|
42
|
-
containsQueryOption: (query: QueryBuilderOutput | null, option: QueryBuilderSuggestionMenuOption) => boolean;
|
|
43
|
-
removeQueryOption: (query: QueryBuilderOutput | null, option: QueryBuilderSuggestionMenuOption) => QueryBuilderOutput | null;
|
|
44
|
-
};
|
package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@testing-library/jest-dom";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PvRatingVariant, PvRatingSize } from './types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface PvRatingProps {
|
|
4
|
-
variant?: PvRatingVariant;
|
|
5
|
-
value: number;
|
|
6
|
-
size?: PvRatingSize;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: DefineComponent<PvRatingProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvRatingProps> & Readonly<{}>, {
|
|
9
|
-
size: PvRatingSize;
|
|
10
|
-
variant: PvRatingVariant;
|
|
11
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@testing-library/jest-dom/vitest";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PvReleaseBadgeVariant } from './types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface PvBadgeProps {
|
|
4
|
-
variant: PvReleaseBadgeVariant;
|
|
5
|
-
inverse?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: DefineComponent<PvBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type PvReleaseBadgeVariant = "release-alpha" | "release-beta";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "@testing-library/jest-dom/vitest";
|