@turquoisehealth/pit-viper 2.233.0 → 2.234.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.
Files changed (24) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -1
  2. package/_site/assets/css/pit-viper-consumer.css +1 -1
  3. package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
  4. package/_site/assets/css/pit-viper-v2.css +1 -1
  5. package/_site/assets/css/pit-viper.css +1 -1
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
  11. package/pv-components/dist/vue/ai/components/base/PvModal/PvModal.vue.d.ts +3 -0
  12. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.vue.d.ts +3 -0
  13. package/pv-components/dist/vue/base/pv-components-base.mjs +14 -16
  14. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  15. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.vue.d.ts +3 -0
  16. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +7 -0
  17. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +6 -0
  18. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +14 -0
  19. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +334 -312
  20. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  21. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +17 -16
  22. package/pv-components/dist/web/components/pv-modal/pv-modal.js +484 -483
  23. package/pv-components/dist/web/pv-components.iife.js +1 -1
  24. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -220,7 +220,11 @@ var ye = [
220
220
  type: Boolean,
221
221
  default: !1
222
222
  },
223
- hideHeader: { type: Boolean }
223
+ hideHeader: { type: Boolean },
224
+ position: {
225
+ default: "center",
226
+ type: String
227
+ }
224
228
  }, {
225
229
  modelValue: {
226
230
  type: Boolean,
@@ -230,25 +234,22 @@ var ye = [
230
234
  }),
231
235
  emits: ["update:modelValue"],
232
236
  setup(e) {
233
- let t = e, n = z("dialog"), r = ie(e, "modelValue");
234
- H(() => r.value, () => {
235
- r.value ? n.value?.showModal() : n.value?.close();
237
+ let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = z("dialog"), c = ie(e, "modelValue");
238
+ H(() => c.value, () => {
239
+ c.value ? i.value?.showModal() : i.value?.close();
236
240
  });
237
- let i = () => {
238
- r.value = !1;
239
- }, c = (e) => {
240
- !t.disableCloseOnClickOutside && e.target === n.value && i();
241
+ let l = () => {
242
+ c.value = !1;
243
+ }, u = (e) => {
244
+ !t.disableCloseOnClickOutside && e.target === i.value && l();
241
245
  };
242
- return (t, n) => (O(), o("dialog", {
246
+ return (t, r) => (O(), o("dialog", {
243
247
  class: "pv-modal-sm",
244
248
  ref: "dialog",
245
- style: {
246
- "--top": "40%",
247
- position: "absolute"
248
- },
249
- onClose: i,
250
- onClick: c
251
- }, [s("div", De, [e.hideHeader ? a("v-if", !0) : (O(), o("div", Oe, [s("span", ke, I(e.header), 1), e.subheader ? (O(), o("span", Ae, I(e.subheader), 1)) : a("v-if", !0)])), M(t.$slots, "body")]), e.hideFooter ? a("v-if", !0) : (O(), o("div", je, [M(t.$slots, "footer")]))], 544));
249
+ style: S(n.value),
250
+ onClose: l,
251
+ onClick: u
252
+ }, [s("div", De, [e.hideHeader ? a("v-if", !0) : (O(), o("div", Oe, [s("span", ke, I(e.header), 1), e.subheader ? (O(), o("span", Ae, I(e.subheader), 1)) : a("v-if", !0)])), M(t.$slots, "body")]), e.hideFooter ? a("v-if", !0) : (O(), o("div", je, [M(t.$slots, "footer")]))], 36));
252
253
  }
253
254
  });
254
255
  //#endregion