@turquoisehealth/pit-viper 2.97.1-dev.0 → 2.98.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-v2-scoped.css +0 -19
- package/_site/assets/css/pit-viper-v2.css +0 -21
- package/_site/assets/css/pit-viper.css +0 -21
- package/package.json +11 -38
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +4 -3
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectMenuItem.vue.d.ts +19 -0
- package/pv-components/dist/vue/base/components/base/PvSelectButton/mocks.d.ts +8 -0
- package/pv-components/dist/vue/base/pv-components-base.js +1546 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +6345 -4046
- package/pv-components/dist/vue/base/pv-components-base.umd.js +1546 -0
- package/pv-components/dist/vue/base/types.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +5918 -3342
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
- package/pv-components/dist/vue/visualizations/types.d.ts +1 -0
- package/pv-components/dist/web/pv-components.iife.js +28 -28
- package/pv-components/dist/stats/vue/base/stats.html +0 -4949
- package/pv-components/dist/stats/vue/visualizations/stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-accordion-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-action-bar-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-avatar-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-banner-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-label-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-date-time-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-drawer-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-icon-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-modal-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-pagination-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-pill-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-rating-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-release-badge-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-search-input-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-select-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-selectable-card-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-side-panel-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-spinner-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-sprite-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-switch-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tabs-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tag-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-text-area-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toast-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +0 -4949
- package/pv-components/dist/stats/web/pv-widget-stats.html +0 -4949
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +0 -20
- package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +0 -20
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +0 -20
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +0 -20
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +0 -20
- package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +0 -20
- package/pv-components/dist/web/components/pv-button/pv-button.js +0 -20
- package/pv-components/dist/web/components/pv-card/pv-card.js +0 -20
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +0 -20
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +0 -20
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +0 -20
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +0 -20
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +0 -20
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +0 -1509
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +0 -20
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +0 -20
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +0 -25
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +0 -20
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +0 -20
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +0 -20
- package/pv-components/dist/web/components/pv-input/pv-input.js +0 -20
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +0 -20
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +0 -20
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +0 -25
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +0 -20
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +0 -20
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +0 -25
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +0 -20
- package/pv-components/dist/web/components/pv-rating/pv-rating.js +0 -20
- package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +0 -20
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +0 -20
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +0 -20
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +0 -25
- package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +0 -20
- package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +0 -20
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +0 -214
- package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +0 -20
- package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +0 -20
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +0 -20
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +0 -20
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +0 -20
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +0 -20
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +0 -20
- package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +0 -20
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +0 -20
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +0 -20
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +0 -163
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +0 -20
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +0 -163
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +0 -20
|
@@ -3304,29 +3304,10 @@
|
|
|
3304
3304
|
line-height: 1.33333333;
|
|
3305
3305
|
font-weight: 500;
|
|
3306
3306
|
}
|
|
3307
|
-
.pv-v2 .pv-action-bar-container > ::slotted(*) {
|
|
3308
|
-
display: flex;
|
|
3309
|
-
align-items: center;
|
|
3310
|
-
white-space: nowrap;
|
|
3311
|
-
justify-content: unset;
|
|
3312
|
-
gap: 0.5rem;
|
|
3313
|
-
background-color: #242626;
|
|
3314
|
-
color: #FFFFFF;
|
|
3315
|
-
padding: 0.5rem 0.75rem;
|
|
3316
|
-
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
|
|
3317
|
-
border-radius: 8px;
|
|
3318
|
-
font-size: 0.75rem;
|
|
3319
|
-
line-height: 1.33333333;
|
|
3320
|
-
font-weight: 500;
|
|
3321
|
-
}
|
|
3322
3307
|
.pv-v2 .pv-action-bar-container[data-style=white] > div {
|
|
3323
3308
|
background-color: #FFFFFF;
|
|
3324
3309
|
color: #121313;
|
|
3325
3310
|
}
|
|
3326
|
-
.pv-v2 .pv-action-bar-container[data-style=white] > ::slotted(*) {
|
|
3327
|
-
background-color: #FFFFFF;
|
|
3328
|
-
color: #121313;
|
|
3329
|
-
}
|
|
3330
3311
|
.pv-v2 .pv-card {
|
|
3331
3312
|
position: relative;
|
|
3332
3313
|
border: 1px solid var(--card-border-color, #E3E7EA);
|
|
@@ -3578,32 +3578,11 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
|
|
|
3578
3578
|
font-weight: 500;
|
|
3579
3579
|
}
|
|
3580
3580
|
|
|
3581
|
-
.pv-action-bar-container > ::slotted(*) {
|
|
3582
|
-
display: flex;
|
|
3583
|
-
align-items: center;
|
|
3584
|
-
white-space: nowrap;
|
|
3585
|
-
justify-content: unset;
|
|
3586
|
-
gap: 0.5rem;
|
|
3587
|
-
background-color: #242626;
|
|
3588
|
-
color: #FFFFFF;
|
|
3589
|
-
padding: 0.5rem 0.75rem;
|
|
3590
|
-
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
|
|
3591
|
-
border-radius: 8px;
|
|
3592
|
-
font-size: 0.75rem;
|
|
3593
|
-
line-height: 1.33333333;
|
|
3594
|
-
font-weight: 500;
|
|
3595
|
-
}
|
|
3596
|
-
|
|
3597
3581
|
.pv-action-bar-container[data-style=white] > div {
|
|
3598
3582
|
background-color: #FFFFFF;
|
|
3599
3583
|
color: #121313;
|
|
3600
3584
|
}
|
|
3601
3585
|
|
|
3602
|
-
.pv-action-bar-container[data-style=white] > ::slotted(*) {
|
|
3603
|
-
background-color: #FFFFFF;
|
|
3604
|
-
color: #121313;
|
|
3605
|
-
}
|
|
3606
|
-
|
|
3607
3586
|
.pv-card {
|
|
3608
3587
|
position: relative;
|
|
3609
3588
|
border: 1px solid var(--card-border-color, #E3E7EA);
|
|
@@ -3583,32 +3583,11 @@ pv-dropdown-auto-close.pv-dropdown > [class*=pv-button][data-dropdown] {
|
|
|
3583
3583
|
font-weight: 500;
|
|
3584
3584
|
}
|
|
3585
3585
|
|
|
3586
|
-
.pv-action-bar-container > ::slotted(*) {
|
|
3587
|
-
display: flex;
|
|
3588
|
-
align-items: center;
|
|
3589
|
-
white-space: nowrap;
|
|
3590
|
-
justify-content: space-between;
|
|
3591
|
-
gap: 0.5rem;
|
|
3592
|
-
background-color: #02363D;
|
|
3593
|
-
color: #FFFFFF;
|
|
3594
|
-
padding: 0;
|
|
3595
|
-
box-shadow: 0 8px 32px rgba(2, 54, 61, 0.24);
|
|
3596
|
-
border-radius: 4px;
|
|
3597
|
-
font-size: 1.125rem;
|
|
3598
|
-
line-height: 1.55555555;
|
|
3599
|
-
font-weight: 500;
|
|
3600
|
-
}
|
|
3601
|
-
|
|
3602
3586
|
.pv-action-bar-container[data-style=white] > div {
|
|
3603
3587
|
background-color: #02363D;
|
|
3604
3588
|
color: #02363D;
|
|
3605
3589
|
}
|
|
3606
3590
|
|
|
3607
|
-
.pv-action-bar-container[data-style=white] > ::slotted(*) {
|
|
3608
|
-
background-color: #02363D;
|
|
3609
|
-
color: #02363D;
|
|
3610
|
-
}
|
|
3611
|
-
|
|
3612
3591
|
.pv-card {
|
|
3613
3592
|
position: relative;
|
|
3614
3593
|
border: 1px solid var(--card-border-color, #DCDFE4);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turquoisehealth/pit-viper",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.98.1-dev.0",
|
|
4
4
|
"description": "Turquoise Health's design system.",
|
|
5
5
|
"main": "README.md",
|
|
6
6
|
"publishConfig": {
|
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
"types": "./pv-components/dist/vue/visualizations/components/visualizations/index.d.ts",
|
|
35
35
|
"import": "./pv-components/dist/vue/visualizations/pv-components-visualizations.mjs",
|
|
36
36
|
"require": "./pv-components/dist/vue/visualizations/pv-components-visualizations.js"
|
|
37
|
+
},
|
|
38
|
+
"./web_components": {
|
|
39
|
+
"types": "./pv-components/dist/src/web-components.d.ts",
|
|
40
|
+
"default": "./pv-components/dist/web/pv-components.iife.js"
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
43
|
"scripts": {
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"prepublishOnly": "npm install && npm run test && npm run build",
|
|
47
51
|
"start": "npm-run-all build:sass --parallel watch:*",
|
|
48
52
|
"build": "npm-run-all build:*",
|
|
53
|
+
"postbuild": "eleventy --quiet",
|
|
49
54
|
"prepare": "husky",
|
|
50
55
|
"test": "npm run test --workspace=pv-components",
|
|
51
56
|
"create_pr": "tsx ./scripts/createPR.ts",
|
|
@@ -66,37 +71,13 @@
|
|
|
66
71
|
},
|
|
67
72
|
"homepage": "https://github.com/turquoisehealth/pit-viper/",
|
|
68
73
|
"peerDependencies": {
|
|
69
|
-
"@floating-ui/vue": "^1.1.9",
|
|
70
|
-
"@primeuix/themes": "^1.1.1",
|
|
71
|
-
"@vueuse/components": "^13.0.0",
|
|
72
|
-
"@vueuse/core": "^13.0.0",
|
|
73
|
-
"@vueuse/integrations": "^13.1.0",
|
|
74
74
|
"ag-charts-enterprise": "^12.1.0",
|
|
75
75
|
"ag-charts-vue3": "^12.1.0",
|
|
76
76
|
"ag-grid-community": "^33.2.1",
|
|
77
77
|
"ag-grid-enterprise": "^33.2.1",
|
|
78
|
-
"ag-grid-vue3": "^33.2.1"
|
|
79
|
-
"papaparse": "^5.5.2",
|
|
80
|
-
"primevue": "^4.3.5",
|
|
81
|
-
"sortablejs": "^1.15.6",
|
|
82
|
-
"vue": "^3.5.13"
|
|
78
|
+
"ag-grid-vue3": "^33.2.1"
|
|
83
79
|
},
|
|
84
80
|
"peerDependenciesMeta": {
|
|
85
|
-
"@floating-ui/vue": {
|
|
86
|
-
"optional": false
|
|
87
|
-
},
|
|
88
|
-
"@primeuix/themes": {
|
|
89
|
-
"optional": false
|
|
90
|
-
},
|
|
91
|
-
"@vueuse/components": {
|
|
92
|
-
"optional": false
|
|
93
|
-
},
|
|
94
|
-
"@vueuse/core": {
|
|
95
|
-
"optional": false
|
|
96
|
-
},
|
|
97
|
-
"@vueuse/integrations": {
|
|
98
|
-
"optional": false
|
|
99
|
-
},
|
|
100
81
|
"ag-charts-enterprise": {
|
|
101
82
|
"optional": true
|
|
102
83
|
},
|
|
@@ -111,18 +92,6 @@
|
|
|
111
92
|
},
|
|
112
93
|
"ag-grid-vue3": {
|
|
113
94
|
"optional": true
|
|
114
|
-
},
|
|
115
|
-
"papaparse": {
|
|
116
|
-
"optional": false
|
|
117
|
-
},
|
|
118
|
-
"primevue": {
|
|
119
|
-
"optional": false
|
|
120
|
-
},
|
|
121
|
-
"sortablejs": {
|
|
122
|
-
"optional": false
|
|
123
|
-
},
|
|
124
|
-
"vue": {
|
|
125
|
-
"optional": false
|
|
126
95
|
}
|
|
127
96
|
},
|
|
128
97
|
"dependencies": {
|
|
@@ -141,6 +110,10 @@
|
|
|
141
110
|
},
|
|
142
111
|
"devDependencies": {
|
|
143
112
|
"@changesets/cli": "^2.29.4",
|
|
113
|
+
"@vue/eslint-config-prettier": "^10.1.0",
|
|
114
|
+
"@vue/eslint-config-typescript": "^14.3.0",
|
|
115
|
+
"chokidar-cli": "^3.0.0",
|
|
116
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
144
117
|
"pagefind": "^1.3.0",
|
|
145
118
|
"tsx": "^4.0.0"
|
|
146
119
|
}
|
package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface PvMenuCheckboxItem {
|
|
|
13
13
|
renderer?: Component;
|
|
14
14
|
rendererProps?: any;
|
|
15
15
|
classList?: string[];
|
|
16
|
+
children?: PvMenuCheckboxItem[];
|
|
16
17
|
}
|
|
17
18
|
declare const _default: DefineComponent<PvMenuCheckboxItem, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
19
|
"handle-selected": () => any;
|
|
@@ -20,6 +20,7 @@ export interface PvMenuItemProps {
|
|
|
20
20
|
rendererProps?: any;
|
|
21
21
|
classList?: string[];
|
|
22
22
|
searchText?: string;
|
|
23
|
+
children?: PvMenuItemProps[];
|
|
23
24
|
}
|
|
24
25
|
declare const _default: DefineComponent<PvMenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
25
26
|
"handle-selected": () => any;
|
|
@@ -8,6 +8,7 @@ export interface PvMenuRadioItem {
|
|
|
8
8
|
/** Variant of the counter badge which appears on the menu item */
|
|
9
9
|
counterBadgeVariant?: PvCounterBadgeVariant;
|
|
10
10
|
value?: boolean;
|
|
11
|
+
children?: PvMenuRadioItem[];
|
|
11
12
|
}
|
|
12
13
|
declare const _default: DefineComponent<PvMenuRadioItem, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
14
|
"handle-selected": () => any;
|
package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface PvMultiSelectButtonProps {
|
|
|
31
31
|
searchPlaceholder?: string;
|
|
32
32
|
overlayTrigger?: boolean;
|
|
33
33
|
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
34
|
-
options
|
|
34
|
+
options: MenuOption[];
|
|
35
35
|
useTeleport?: boolean;
|
|
36
36
|
}
|
|
37
37
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
@@ -58,6 +58,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
58
58
|
showClear: boolean;
|
|
59
59
|
useTeleport: boolean;
|
|
60
60
|
teleportLocation: string;
|
|
61
|
+
options: MenuOption[];
|
|
61
62
|
counterPosition: "left" | "right" | "none";
|
|
62
63
|
showDropdown: boolean;
|
|
63
64
|
optionsVariant: Exclude<MenuOptionsVariant, "radio">;
|
|
@@ -292,7 +293,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
292
293
|
searchPlaceholder?: string;
|
|
293
294
|
overlayTrigger?: boolean;
|
|
294
295
|
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
295
|
-
options
|
|
296
|
+
options: MenuOption[];
|
|
296
297
|
useTeleport?: boolean;
|
|
297
298
|
"onDropdown-open"?: (() => any) | undefined;
|
|
298
299
|
"onDropdown-closed"?: (() => any) | undefined;
|
|
@@ -335,7 +336,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
|
335
336
|
searchPlaceholder?: string;
|
|
336
337
|
overlayTrigger?: boolean;
|
|
337
338
|
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
338
|
-
options
|
|
339
|
+
options: MenuOption[];
|
|
339
340
|
useTeleport?: boolean;
|
|
340
341
|
"onDropdown-open"?: (() => any) | undefined;
|
|
341
342
|
"onDropdown-closed"?: (() => any) | undefined;
|
|
@@ -22,7 +22,7 @@ export interface PvSelectButton {
|
|
|
22
22
|
showSearchInput?: boolean;
|
|
23
23
|
searchPlaceholder?: string;
|
|
24
24
|
optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
|
|
25
|
-
options
|
|
25
|
+
options: MenuOption[];
|
|
26
26
|
useTeleport?: boolean;
|
|
27
27
|
allowDeselect?: boolean;
|
|
28
28
|
counterPosition?: "left" | "right";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PvCounterBadgeVariant } from '../PvCounterBadge/types';
|
|
2
|
+
import { MenuOption, MenuOptionsVariant } from '../../../types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
interface PvMenuSelectMenuItem {
|
|
5
|
+
optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
|
|
6
|
+
option: MenuOption;
|
|
7
|
+
counterBadgeVariant?: PvCounterBadgeVariant;
|
|
8
|
+
selectedItem?: MenuOption;
|
|
9
|
+
level?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: DefineComponent<PvMenuSelectMenuItem, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
"handle-select-item": (payload: MenuOption) => any;
|
|
13
|
+
}, string, PublicProps, Readonly<PvMenuSelectMenuItem> & Readonly<{
|
|
14
|
+
"onHandle-select-item"?: ((payload: MenuOption) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
optionsVariant: Exclude<MenuOptionsVariant, "checkbox">;
|
|
17
|
+
level: number;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|