@turquoisehealth/pit-viper 2.244.1 → 2.244.3
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-a11y.css +470 -23
- package/_site/assets/css/pit-viper-consumer.css +120 -11
- package/_site/assets/css/pit-viper-v2-scoped.css +114 -11
- package/_site/assets/css/pit-viper-v2.css +120 -11
- package/_site/assets/css/pit-viper.css +120 -11
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvGhostInput/PvGhostInput.vue.d.ts +6 -2
- package/pv-components/dist/vue/ai/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/ai/components/base/PvStepper/types.d.ts +16 -0
- package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvTabs/types.d.ts +10 -2
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +6 -4
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +6 -2
- package/pv-components/dist/vue/base/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/base/components/base/PvStepper/types.d.ts +16 -0
- package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +10 -2
- package/pv-components/dist/vue/base/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +1548 -1383
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +6 -2
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/PvStepper.vue.d.ts +3 -5
- package/pv-components/dist/vue/visualizations/components/base/PvStepper/types.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +10 -2
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +15 -10
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +6 -4
- package/pv-components/dist/web/components/pv-button/pv-button.js +5 -3
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +6 -4
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +5 -3
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +5 -3
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +6 -4
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +5 -3
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +6 -4
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +6 -4
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +19 -8
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +5 -3
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +6 -4
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +6 -4
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +6 -4
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +6 -4
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +6 -4
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +6 -4
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +5 -3
- package/pv-components/dist/web/components/pv-question/pv-question.js +6 -4
- package/pv-components/dist/web/components/pv-range/pv-range.js +5 -3
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +6 -4
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +5 -3
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +5 -3
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +6 -4
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +6 -4
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +658 -490
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2041 -551
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +5 -3
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +5 -3
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +6 -4
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +533 -521
- package/pv-components/dist/web/pv-components.iife.js +14 -14
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -11,6 +11,8 @@ export interface PvCounterBadgeProps {
|
|
|
11
11
|
value?: number;
|
|
12
12
|
/** Visual style variant */
|
|
13
13
|
variant?: PvCounterBadgeVariant;
|
|
14
|
+
/** Fully rounded */
|
|
15
|
+
rounded?: boolean;
|
|
14
16
|
}
|
|
15
17
|
declare const _default: DefineComponent<PvCounterBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCounterBadgeProps> & Readonly<{}>, {
|
|
16
18
|
size: PvCounterBadgeSize;
|
|
@@ -11,6 +11,10 @@ interface PvGhostInputProps {
|
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
/** When true, displays an edit (pencil) icon button beside the input that focuses it on click. */
|
|
13
13
|
showEditIcon?: boolean;
|
|
14
|
+
/** When true, applies invalid/error border styling. */
|
|
15
|
+
error?: boolean;
|
|
16
|
+
/** When true, focuses the input as soon as it mounts. */
|
|
17
|
+
autofocus?: boolean;
|
|
14
18
|
}
|
|
15
19
|
type __VLS_Props = PvGhostInputProps;
|
|
16
20
|
type __VLS_PublicProps = {
|
|
@@ -24,7 +28,7 @@ declare function __VLS_template(): {
|
|
|
24
28
|
refs: {
|
|
25
29
|
inputRef: HTMLInputElement;
|
|
26
30
|
};
|
|
27
|
-
rootEl:
|
|
31
|
+
rootEl: any;
|
|
28
32
|
};
|
|
29
33
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
34
|
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -35,7 +39,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
|
|
|
35
39
|
variant: PvGhostInputVariant;
|
|
36
40
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
37
41
|
inputRef: HTMLInputElement;
|
|
38
|
-
},
|
|
42
|
+
}, any>;
|
|
39
43
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
40
44
|
export default _default;
|
|
41
45
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
+
import { StepperProps, PvStepperVariant } from './types.ts';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
interface StepperProps {
|
|
3
|
-
count?: number;
|
|
4
|
-
active?: number;
|
|
5
|
-
clickable?: boolean;
|
|
6
|
-
}
|
|
7
3
|
declare const _default: DefineComponent<StepperProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
8
4
|
"update:active": (index: number) => any;
|
|
9
5
|
}, string, PublicProps, Readonly<StepperProps> & Readonly<{
|
|
10
6
|
"onUpdate:active"?: ((index: number) => any) | undefined;
|
|
11
7
|
}>, {
|
|
8
|
+
variant: PvStepperVariant;
|
|
12
9
|
active: number;
|
|
13
10
|
count: number;
|
|
14
11
|
clickable: boolean;
|
|
12
|
+
showCounter: boolean;
|
|
15
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
14
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type PvStepperItemVariant = "current" | "success" | "next" | "error";
|
|
2
|
+
export type PvStepperVariant = "dots" | "buttons" | "progress";
|
|
3
|
+
export interface PvStepperItem {
|
|
4
|
+
/** Text shown for the step. Rendered by the "buttons" and "progress" variants. */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Variant for the step. Only rendered by the "progress" variant */
|
|
7
|
+
variant?: PvStepperItemVariant;
|
|
8
|
+
}
|
|
9
|
+
export interface StepperProps {
|
|
10
|
+
variant?: PvStepperVariant;
|
|
11
|
+
count?: number;
|
|
12
|
+
items?: PvStepperItem[];
|
|
13
|
+
active?: number;
|
|
14
|
+
clickable?: boolean;
|
|
15
|
+
showCounter?: boolean;
|
|
16
|
+
}
|
|
@@ -13,9 +13,13 @@ type __VLS_PublicProps = {
|
|
|
13
13
|
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
14
|
"update:modelValue": (value: string) => any;
|
|
15
15
|
"add-button-click": (value: string) => any;
|
|
16
|
+
"handle-input-submit": (value: string, text: string) => any;
|
|
17
|
+
"option-click": (tabValue: string, optionValue: string) => any;
|
|
16
18
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
19
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
20
|
"onAdd-button-click"?: ((value: string) => any) | undefined;
|
|
21
|
+
"onHandle-input-submit"?: ((value: string, text: string) => any) | undefined;
|
|
22
|
+
"onOption-click"?: ((tabValue: string, optionValue: string) => any) | undefined;
|
|
19
23
|
}>, {
|
|
20
24
|
size: TabSize;
|
|
21
25
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { PvSize } from '../baseProps';
|
|
2
2
|
export type TabSize = Extract<PvSize, "lg" | "xl">;
|
|
3
|
-
export type TabType = "addButton";
|
|
3
|
+
export type TabType = "addButton" | "input";
|
|
4
|
+
export interface TabOption {
|
|
5
|
+
/** Display text for the option */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Identifier emitted via "option-click" when this option is chosen; "delete" renders in critical (red) styling */
|
|
8
|
+
value: string;
|
|
9
|
+
}
|
|
4
10
|
export interface Tab {
|
|
5
11
|
/** Optional counter badge value displayed on the tab */
|
|
6
12
|
counter?: number;
|
|
@@ -10,6 +16,8 @@ export interface Tab {
|
|
|
10
16
|
icon?: string;
|
|
11
17
|
/** Optional stable identifier used for selection; falls back to label */
|
|
12
18
|
value?: string;
|
|
13
|
-
/** Optional type; performs some associated action (e.g. "addButton") instead of updating the model */
|
|
19
|
+
/** Optional type; performs some associated action (e.g. "addButton", "input") instead of updating the model */
|
|
14
20
|
type?: TabType;
|
|
21
|
+
/** Options shown in the tab's "..." popover; a "delete" option renders in critical (red) styling */
|
|
22
|
+
options?: TabOption[];
|
|
15
23
|
}
|
|
@@ -9,6 +9,14 @@ interface PvTreeProps {
|
|
|
9
9
|
isDraggable?: boolean;
|
|
10
10
|
/** Disable click-to-select behavior on tree items */
|
|
11
11
|
disableSelection?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* node_ids to force open, e.g. so a selection made from OUTSIDE the tree (a linked canvas or
|
|
14
|
+
* minimap) can reveal a row nested inside collapsed accordions without the caller reaching into
|
|
15
|
+
* the DOM. One-way only: an id here forces that row's accordion open, but removing it later does
|
|
16
|
+
* NOT close a row the reviewer may have opened themselves -- each row's own `accordionOpen` stays
|
|
17
|
+
* the source of truth otherwise, uncontrolled as before.
|
|
18
|
+
*/
|
|
19
|
+
openNodeIds?: Array<string | number>;
|
|
12
20
|
}
|
|
13
21
|
type __VLS_Props = PvTreeProps;
|
|
14
22
|
type __VLS_PublicProps = {
|
|
@@ -16,6 +16,8 @@ interface PvTreeItemProps {
|
|
|
16
16
|
index?: number;
|
|
17
17
|
/** Total number of siblings, used to determine if this is the last one */
|
|
18
18
|
totalSiblings?: number;
|
|
19
|
+
/** node_ids to force open; see PvTree's own doc comment on this prop. */
|
|
20
|
+
openNodeIds?: Array<string | number>;
|
|
19
21
|
}
|
|
20
22
|
declare const _default: DefineComponent<PvTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
21
23
|
"handle-tree-select": (payload: {
|
|
@@ -100,5 +100,6 @@ export type { ContextCardItem, ContextCardVariants, ProviderContextCard, PayerCo
|
|
|
100
100
|
export type { ContextLabelClickPayload } from './PvContext/config';
|
|
101
101
|
export type { ShowContextPayload, ContextEntityField, ContextEntityFieldValue, ContextFeedbackPayload, PvContextSurfaceContext, } from './PvContext/config';
|
|
102
102
|
export { PvContextSurfaceKey } from './PvContext/config';
|
|
103
|
+
export type { PvStepperItemVariant, PvStepperVariant } from './PvStepper/types';
|
|
103
104
|
export { RumContextKey, useRumContext, addRumAction, deferRumTask } from '../../functions/rum';
|
|
104
105
|
export type { PvRumContext } from '../../functions/rum';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-question[data-v-f0a8e7cc]{--card-radius:.75rem;box-shadow:0 4px 16px #00000029}.pv-question__listbox[data-v-f0a8e7cc]:focus-visible{outline:2px solid var(--color-border-accent,#36c5ba);outline-offset:2px;border-radius:.5rem}.pv-question__option[data-v-f0a8e7cc],.pv-question__chat[data-v-f0a8e7cc]{cursor:pointer;min-width:0}.pv-question__option[data-active][data-v-f0a8e7cc],.pv-question__chat[data-active][data-v-f0a8e7cc]{background-color:var(--card-hover-background-color,#e8f2f4)}.pv-question__option[data-v-f0a8e7cc]:active,.pv-question__chat[data-v-f0a8e7cc]:active{background-color:var(--card-pressed-background-color,#c7d8db)}.pv-question__chevron[data-v-f0a8e7cc]{visibility:hidden;margin-inline-start:auto}.pv-question__option[data-active] .pv-question__chevron[data-v-f0a8e7cc],.pv-question__chat[data-active] .pv-question__chevron[data-v-f0a8e7cc]{visibility:visible}.pv-question__check[data-v-f0a8e7cc]{margin-inline-start:auto}.pv-question__option[aria-selected=true] .pv-question__chevron[data-v-f0a8e7cc]{display:none}.pv-question__chat-badge[data-v-f0a8e7cc]{--flex-gap:0;background-color:var(--badge-tertiary-background-color,#e0e5e4);flex:0 0 1rem;justify-content:center;height:1rem}.pv-question__chat-input[data-v-f0a8e7cc] .pv-input-text{min-width:0}.pv-confirmation__actions[data-v-c200deca]{--flex-justify:flex-end}.pv-prompt-input[data-v-155361b4]{--flex-align:stretch;cursor:text;transition-property:border-color,box-shadow;transition-duration:.125s}.pv-prompt-input[data-v-155361b4]:hover{border-color:var(--text-input-hover-border-color,#d2d8dc);box-shadow:0 .25px 3px #0003}.pv-prompt-input[data-v-155361b4]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}.pv-prompt-input__textarea[data-v-155361b4]{--flex-align:stretch;width:100%}.pv-prompt-input__textarea[data-v-155361b4] textarea{field-sizing:content;max-height:var(--prompt-input-max-height);resize:none;background-color:#0000;border:0;width:100%;min-width:0;padding:0;overflow-y:auto}.pv-prompt-input__textarea[data-v-155361b4] textarea:focus,.pv-prompt-input__textarea[data-v-155361b4] textarea:focus-visible{outline:none}.pv-prompt-input__footer[data-v-155361b4]{--flex-justify:space-between}.pv-prompt-input__actions[data-v-155361b4]{min-width:0}summary[data-v-a64056ef]{background-image:none;padding-right:2px}.pv-step-aside[data-v-d63b7536]{white-space:pre-line}.pv-step-enter-active[data-v-d63b7536]{transition-property:opacity,transform;transition-duration:.32s;transition-timing-function:ease}.pv-step-enter-from[data-v-d63b7536]{opacity:0;transform:translateY(6px)}.pv-reasoning[data-v-a9703804]{--accordion-background-color:var(--reasoning-background-color,transparent);--accordion-summary-background-color:var(--reasoning-trigger-background-color,transparent);--accordion-arrow-right-summary-padding:var(--reasoning-trigger-padding,.25rem 2px .25rem .125rem);--accordion-content-padding:0}.pv-reasoning__trigger .pv-shimmer[data-v-a9703804]{--shimmer-rgb:var(--reasoning-shimmer-rgb,247, 248, 248)}.pv-reasoning__standalone[data-v-a9703804]{padding:var(--reasoning-trigger-padding,.25rem 2px .25rem .125rem);margin-inline-start:calc(1rem + var(--flex-gap,.5rem))}.pv-reasoning__content[data-v-a9703804]{padding-block:var(--reasoning-content-gap,1rem) .5rem;white-space:pre-wrap;padding-inline-start:var(--reasoning-content-indent,calc(.125rem + 2rem + 1rem - (var(--step-list-marker-size,9px) / 2)))}.pv-reasoning__content[data-v-a9703804] :where(ol,ul,dl,table,figure){white-space:normal}.pv-tool__disclosure-content[data-v-a5e28b1a]{padding:0 12px 12px}.pv-tool__heading[data-v-a5e28b1a]{min-width:0}.pv-tool__content[data-v-a5e28b1a]{padding-top:12px}pre[data-v-a5e28b1a]{white-space:pre-wrap;word-break:break-word;max-width:100%;margin:0;overflow-x:auto}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import { Comment as e, Fragment as t, Text as n, TransitionGroup as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onBeforeUpdate as y, onMounted as b, onScopeDispose as x, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, unref as D, useId as O, useModel as k, useSlots as A, useTemplateRef as j, vModelDynamic as M, vModelText as N, watch as P, withCtx as F, withDirectives as I, withKeys as ee, withModifiers as L } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/base/PvSpinner/PvSpinner.vue
|
|
@@ -71,7 +71,8 @@ var te = [
|
|
|
71
71
|
prefix: { default: "" },
|
|
72
72
|
size: { default: "sm" },
|
|
73
73
|
value: {},
|
|
74
|
-
variant: { default: "primary" }
|
|
74
|
+
variant: { default: "primary" },
|
|
75
|
+
rounded: { type: Boolean }
|
|
75
76
|
},
|
|
76
77
|
setup(e) {
|
|
77
78
|
let t = e, n = i(() => t.maxValue && t.value && t.value > t.maxValue ? `${t.maxValue}+` : t.value == null ? "-" : `${t.prefix}${t.value}`), r = i(() => ({
|
|
@@ -82,7 +83,8 @@ var te = [
|
|
|
82
83
|
"pv-badge-secondary": t.variant == "secondary",
|
|
83
84
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
84
85
|
"pv-text-tertiary": t.variant == "ghost" || t.variant == "tertiary",
|
|
85
|
-
"pv-surface": t.variant == "ghost"
|
|
86
|
+
"pv-surface": t.variant == "ghost",
|
|
87
|
+
"pv-rounded": t.rounded
|
|
86
88
|
}));
|
|
87
89
|
return (e, t) => (S(), s("div", {
|
|
88
90
|
class: g(r.value),
|
|
@@ -93,7 +95,7 @@ var te = [
|
|
|
93
95
|
let n = e.__vccOpts || e;
|
|
94
96
|
for (let [e, r] of t) n[e] = r;
|
|
95
97
|
return n;
|
|
96
|
-
}, G = /* @__PURE__ */ W(re, [["__scopeId", "data-v-
|
|
98
|
+
}, G = /* @__PURE__ */ W(re, [["__scopeId", "data-v-c578e86e"]]), ie = ["disabled", "aria-label"], ae = {
|
|
97
99
|
key: 2,
|
|
98
100
|
"data-testid": "pv-button-label"
|
|
99
101
|
}, K = /* @__PURE__ */ d({
|