@turquoisehealth/pit-viper 2.258.1 → 2.259.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-a11y-v3.css +11 -0
- package/_site/assets/css/pit-viper-a11y.css +11 -0
- package/_site/assets/css/pit-viper-consumer.css +11 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +9 -0
- package/_site/assets/css/pit-viper-v2.css +11 -0
- package/_site/assets/css/pit-viper-v3.css +11 -0
- package/_site/assets/css/pit-viper.css +11 -0
- 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-action-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-empty-error-state-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-empty-state-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-header-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-icon-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-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-pill-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-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tag-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-toggle-group-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/PvPill/types.d.ts +1 -1
- package/pv-components/dist/vue/ai/components/base/PvTag/types.d.ts +1 -1
- package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +1 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +23 -16
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +14 -8
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +1 -0
- package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +1 -0
- package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +1 -0
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +1 -0
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +1 -0
- package/pv-components/dist/web/components/pv-button/pv-button.js +1 -0
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +1 -0
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +1 -0
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +1 -0
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +1 -0
- package/pv-components/dist/web/components/pv-empty-error-state/pv-empty-error-state.js +1 -0
- package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +1 -0
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +1 -0
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +1 -0
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1 -0
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +14 -8
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +1 -0
- package/pv-components/dist/web/components/pv-header/pv-header.js +1 -0
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +1 -0
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +1 -0
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +1 -0
- package/pv-components/dist/web/components/pv-input/pv-input.js +1 -0
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +1 -0
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +1 -0
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1 -0
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +1 -0
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +9 -7
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +1 -0
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +14 -8
- package/pv-components/dist/web/components/pv-question/pv-question.js +1 -0
- package/pv-components/dist/web/components/pv-range/pv-range.js +1 -0
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +1 -0
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +1 -0
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1 -0
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +1 -0
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +1 -0
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +1 -0
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +1 -0
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +1 -0
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +1 -0
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +1 -0
- package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +1 -0
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1 -0
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +14 -8
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +1 -0
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +1 -0
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +1 -0
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +1 -0
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +1 -0
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PvColorVariants, PvSize } from '../baseProps';
|
|
2
|
-
export type PillSize = Extract<PvSize, "md" | "lg" | "sm">;
|
|
2
|
+
export type PillSize = Extract<PvSize, "md" | "lg" | "sm" | "xl">;
|
|
3
3
|
export type PillVariant = Extract<PvColorVariants, "default" | "success" | "warning" | "critical" | "highlight"> | "purple" | "blue";
|
|
4
4
|
export type PillDotVariant = "green" | "orange" | "yellow" | "red" | "purple" | "blue" | "grey";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PvSize, PvVariants } from '../baseProps';
|
|
2
|
-
export type TagSize = Extract<PvSize, "sm" | "md" | "lg">;
|
|
2
|
+
export type TagSize = Extract<PvSize, "sm" | "md" | "lg" | "xl">;
|
|
3
3
|
export type TagVariant = Extract<PvVariants, "primary" | "secondary" | "tertiary" | "transparent">;
|
|
@@ -13,6 +13,6 @@ export type PvTextInputColors = (typeof PvTextInputColors)[number];
|
|
|
13
13
|
export declare const PvOrientations: readonly ["vertical", "horizontal"];
|
|
14
14
|
export type PvOrientations = (typeof PvOrientations)[number];
|
|
15
15
|
export declare const sizeMap: Record<PvSize, string>;
|
|
16
|
-
export declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
|
|
16
|
+
export declare const PvIconSizes: readonly [undefined, 10, 12, 16, 20, 24, 32, 64];
|
|
17
17
|
export type PvIconSize = (typeof PvIconSizes)[number];
|
|
18
18
|
export type PvAlignmentPositions = "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right" | "right-top" | "right-bottom";
|
|
@@ -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-3def68cb]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-3def68cb]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-3def68cb]{border-radius:50%}[class*=pv-status]{&[data-v-
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-3def68cb]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-3def68cb]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-3def68cb]{border-radius:50%}[class*=pv-status]{&[data-v-e4edde71]:before,&[data-v-e4edde71]:after{margin-inline-end:0}}.pv-popover-list[data-v-fe6e9c6a]{font-size:14px}.pv-popover-pinned-sections[data-v-fe6e9c6a]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-fe6e9c6a]{overflow-y:auto}.pv-select[data-v-a13ab0e8]{padding-top:4px;padding-bottom:4px}summary[data-v-dfa0b416]{background-image:none;padding-right:2px}.pv-input-search[data-v-9e0c84d9]{display:block}.pv-select-button-trigger-content[data-v-da9865ad]{min-width:0}.pv-select-button-trigger[data-v-da9865ad]{height:1.5rem;padding-block:0}.pv-select-button-trigger.pv-button-large[data-v-da9865ad]{height:2rem}.pv-select-button-trigger-label[data-v-da9865ad]{flex:auto;min-width:0}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-popover[data-v-951d1d02]{z-index:50}.pv-popover-list>li[data-v-951d1d02]:last-child>.pv-label{margin-block-end:0}[data-v-951d1d02] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.dots-button[data-v-92e78cd3]{background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-insight-button[data-v-c1185c07]{position:absolute;top:.5rem;right:.5rem}.expandable-content[data-v-fc5fc7e0]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-fc5fc7e0]{transition:max-height .3s ease-in-out}.pv-filter-panel-option-row[data-v-b85834dc]{--flex-align:center;--flex-gap:.5rem;cursor:pointer;min-width:0;padding-left:calc(var(--pv-filter-panel-option-row-depth) * 1.25rem)}.pv-filter-panel-option-row-content[data-v-b85834dc]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-b85834dc]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-b85834dc]{--lines:1}.pv-filter-panel-option-row-right[data-v-b85834dc]{text-align:right;flex:none}.pv-filter-panel-option-row-focus-action[data-v-b85834dc]{opacity:0;pointer-events:none}.pv-filter-panel-option-row:hover .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row:focus-within .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row-focus-action-always-visible[data-v-b85834dc]{opacity:1;pointer-events:auto}summary[data-v-347ad16b]{background-image:none;padding-right:2px}[data-v-347ad16b] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-347ad16b]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-347ad16b]{margin-left:auto;display:inline-flex}.pv-filter-modal-rail[data-v-fb919d6a]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-fb919d6a]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-fb919d6a]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-fb919d6a]{margin-top:auto;padding-top:.5rem}.pv-hover-action-menu[data-v-c4eb41f2]{position:relative}.pv-hover-action-menu__actions[data-v-c4eb41f2]{z-index:1;display:none;position:absolute}.pv-hover-action-menu:hover>.pv-hover-action-menu__actions[data-v-c4eb41f2],.pv-hover-action-menu:focus-within>.pv-hover-action-menu__actions[data-v-c4eb41f2]{display:flex}.pv-hover-action-menu--top-right>.pv-hover-action-menu__actions[data-v-c4eb41f2]{top:var(--pv-hover-action-menu-offset-block,8px);right:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--top-left>.pv-hover-action-menu__actions[data-v-c4eb41f2]{top:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--bottom-right>.pv-hover-action-menu__actions[data-v-c4eb41f2]{right:var(--pv-hover-action-menu-offset-inline,8px);bottom:var(--pv-hover-action-menu-offset-block,8px)}.pv-hover-action-menu--bottom-left>.pv-hover-action-menu__actions[data-v-c4eb41f2]{bottom:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu__button[data-v-c4eb41f2] .pv-icon{margin:0}.pv-hover-action-menu__button[data-v-c4eb41f2],.pv-hover-action-menu__button[data-v-c4eb41f2] button{opacity:.7}.pv-hover-action-menu__button[data-v-c4eb41f2]:hover:not(:disabled),.pv-hover-action-menu__button[data-v-c4eb41f2] button:hover:not(:disabled){opacity:1}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
|
|
3
3
|
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, getCurrentScope as p, guardReactiveProps as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as D, onUpdated as O, openBlock as k, provide as A, ref as j, renderList as M, renderSlot as N, resolveComponent as P, resolveDynamicComponent as F, shallowReactive as I, shallowRef as L, toDisplayString as R, toHandlers as z, toValue as B, unref as V, useAttrs as ee, useId as te, useModel as H, useSlots as ne, useTemplateRef as U, vModelCheckbox as W, vModelDynamic as re, vModelRadio as ie, vModelText as ae, vShow as oe, watch as G, watchEffect as se, withCtx as K, withDirectives as q, withKeys as ce, withModifiers as J } from "vue";
|
|
4
4
|
import { onClickOutside as Y, onKeyStroke as le, useDebounceFn as ue, useElementBounding as de, useElementHover as fe, useElementSize as X, useMutationObserver as Z, useResizeObserver as pe, useToggle as me, useWindowSize as he, watchDebounced as ge } from "@vueuse/core";
|
|
@@ -79,6 +79,7 @@ var We = {
|
|
|
79
79
|
void 0,
|
|
80
80
|
10,
|
|
81
81
|
12,
|
|
82
|
+
16,
|
|
82
83
|
20,
|
|
83
84
|
24,
|
|
84
85
|
32,
|
|
@@ -1758,10 +1759,11 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1758
1759
|
let t = e, n = r(() => {
|
|
1759
1760
|
switch (t.size) {
|
|
1760
1761
|
case "lg": return "pv-tag-lg";
|
|
1762
|
+
case "xl": return "pv-tag-xl";
|
|
1761
1763
|
case "sm": return "pv-tag-sm";
|
|
1762
1764
|
default: return "";
|
|
1763
1765
|
}
|
|
1764
|
-
}), c = r(() => {
|
|
1766
|
+
}), c = r(() => t.size === "xl" ? 16 : 12), l = r(() => {
|
|
1765
1767
|
switch (t.variant) {
|
|
1766
1768
|
case "primary": return "pv-tag-primary";
|
|
1767
1769
|
case "secondary": return "pv-tag-secondary";
|
|
@@ -1769,7 +1771,7 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1769
1771
|
case "transparent": return "pv-tag-tertiary";
|
|
1770
1772
|
default: return "";
|
|
1771
1773
|
}
|
|
1772
|
-
}),
|
|
1774
|
+
}), u = r(() => {
|
|
1773
1775
|
let e = {
|
|
1774
1776
|
"max-width": "100%",
|
|
1775
1777
|
"--flex-gap": "4px"
|
|
@@ -1778,12 +1780,12 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1778
1780
|
});
|
|
1779
1781
|
return (t, r) => (k(), o("button", {
|
|
1780
1782
|
class: b([
|
|
1781
|
-
|
|
1783
|
+
l.value,
|
|
1782
1784
|
n.value,
|
|
1783
1785
|
"pv-flex"
|
|
1784
1786
|
]),
|
|
1785
1787
|
onClick: r[1] ||= (n) => t.$emit("handle-click", e.label),
|
|
1786
|
-
style: S(
|
|
1788
|
+
style: S(u.value),
|
|
1787
1789
|
"data-testid": "pv-tag",
|
|
1788
1790
|
"data-style": e.rounded ? "rounded" : void 0
|
|
1789
1791
|
}, [
|
|
@@ -1792,17 +1794,21 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1792
1794
|
"data-testid": "pv-tag-icon",
|
|
1793
1795
|
class: b(e.iconClasses),
|
|
1794
1796
|
name: e.icon,
|
|
1795
|
-
size:
|
|
1796
|
-
}, null, 8, [
|
|
1797
|
+
size: c.value
|
|
1798
|
+
}, null, 8, [
|
|
1799
|
+
"class",
|
|
1800
|
+
"name",
|
|
1801
|
+
"size"
|
|
1802
|
+
])) : a("", !0),
|
|
1797
1803
|
s("span", { class: b(["pv-truncate", { "pv-underline-dotted": e.spine }]) }, R(e.label), 3),
|
|
1798
1804
|
e.showClear ? (k(), i(Q, {
|
|
1799
1805
|
key: 1,
|
|
1800
1806
|
"data-testid": "pv-tag-close-icon",
|
|
1801
|
-
size:
|
|
1807
|
+
size: c.value,
|
|
1802
1808
|
name: "close",
|
|
1803
1809
|
"data-dd-action-name": e.rumRemoveActionName,
|
|
1804
1810
|
onClick: r[0] ||= J((n) => t.$emit("handle-close", e.label), ["stop"])
|
|
1805
|
-
}, null, 8, ["data-dd-action-name"])) : a("", !0)
|
|
1811
|
+
}, null, 8, ["size", "data-dd-action-name"])) : a("", !0)
|
|
1806
1812
|
], 14, Er));
|
|
1807
1813
|
}
|
|
1808
1814
|
}), Or = /* @__PURE__ */ Je(/* @__PURE__ */ d({
|
|
@@ -1819,10 +1825,11 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1819
1825
|
let t = e, n = r(() => {
|
|
1820
1826
|
switch (t.size) {
|
|
1821
1827
|
case "lg": return "pv-tag-lg";
|
|
1828
|
+
case "xl": return "pv-tag-xl";
|
|
1822
1829
|
case "sm": return "pv-tag-sm";
|
|
1823
1830
|
default: return "";
|
|
1824
1831
|
}
|
|
1825
|
-
}), c = r(() => {
|
|
1832
|
+
}), c = r(() => t.size === "xl" ? 16 : 12), l = r(() => {
|
|
1826
1833
|
if (t.dotVariant) return "pv-tag-tertiary";
|
|
1827
1834
|
switch (t.variant) {
|
|
1828
1835
|
case "default": return "pv-tag-tertiary";
|
|
@@ -1834,7 +1841,7 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1834
1841
|
case "blue": return "pv-tag-blue";
|
|
1835
1842
|
default: return "pv-tag-tertiary";
|
|
1836
1843
|
}
|
|
1837
|
-
}),
|
|
1844
|
+
}), u = r(() => {
|
|
1838
1845
|
let e = {
|
|
1839
1846
|
width: "fit-content",
|
|
1840
1847
|
"--flex-gap": "4px"
|
|
@@ -1843,13 +1850,13 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1843
1850
|
});
|
|
1844
1851
|
return (t, r) => (k(), o("div", {
|
|
1845
1852
|
class: b([
|
|
1846
|
-
|
|
1853
|
+
l.value,
|
|
1847
1854
|
n.value,
|
|
1848
1855
|
"pv-flex"
|
|
1849
1856
|
]),
|
|
1850
1857
|
onClick: r[0] ||= (n) => t.$emit("handle-click", e.label),
|
|
1851
1858
|
"data-style": "rounded",
|
|
1852
|
-
style: S(
|
|
1859
|
+
style: S(u.value)
|
|
1853
1860
|
}, [
|
|
1854
1861
|
e.dotVariant ? (k(), o("span", {
|
|
1855
1862
|
key: 0,
|
|
@@ -1859,12 +1866,12 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1859
1866
|
e.icon ? (k(), i(Q, {
|
|
1860
1867
|
key: 1,
|
|
1861
1868
|
name: e.icon,
|
|
1862
|
-
size:
|
|
1863
|
-
}, null, 8, ["name"])) : a("", !0),
|
|
1869
|
+
size: c.value
|
|
1870
|
+
}, null, 8, ["name", "size"])) : a("", !0),
|
|
1864
1871
|
s("span", null, R(e.label), 1)
|
|
1865
1872
|
], 6));
|
|
1866
1873
|
}
|
|
1867
|
-
}), [["__scopeId", "data-v-
|
|
1874
|
+
}), [["__scopeId", "data-v-e4edde71"]]), kr = ["data-align"], Ar = ["id", "role"], jr = /* @__PURE__ */ Je(/* @__PURE__ */ d({
|
|
1868
1875
|
__name: "PvPopover",
|
|
1869
1876
|
props: {
|
|
1870
1877
|
alignment: { default: void 0 },
|