@turquoisehealth/pit-viper 2.135.0 → 2.136.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 (32) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  10. package/pv-components/dist/vue/base/components/base/PvInput/PvInput.vue.d.ts +1 -0
  11. package/pv-components/dist/vue/base/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +24 -0
  12. package/pv-components/dist/vue/base/components/base/PvTree/PvTree.vue.d.ts +3 -0
  13. package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +1 -0
  14. package/pv-components/dist/vue/base/components/base/PvTree/symbols.d.ts +5 -0
  15. package/pv-components/dist/vue/base/components/base/PvTree/useDragAndDrop.d.ts +1 -0
  16. package/pv-components/dist/vue/base/components/base/PvTree/useDraggingState.d.ts +21 -0
  17. package/pv-components/dist/vue/base/pv-components-base.mjs +2687 -2516
  18. package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.vue.d.ts +1 -0
  19. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +24 -0
  20. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +3 -0
  21. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +1 -0
  22. package/pv-components/dist/vue/visualizations/components/base/PvTree/symbols.d.ts +5 -0
  23. package/pv-components/dist/vue/visualizations/components/base/PvTree/useDragAndDrop.d.ts +1 -0
  24. package/pv-components/dist/vue/visualizations/components/base/PvTree/useDraggingState.d.ts +21 -0
  25. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +100 -92
  26. package/pv-components/dist/web/components/pv-input/pv-input.js +15 -13
  27. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1 -1
  28. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1 -1
  29. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +1 -1
  30. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +1 -1
  31. package/pv-components/dist/web/components/pv-tree/pv-tree.js +1898 -1724
  32. package/pv-components/dist/web/pv-components.iife.js +50 -50
@@ -1,21 +1,22 @@
1
- import { defineComponent as w, mergeModels as E, useModel as S, createElementBlock as h, openBlock as m, Fragment as C, createCommentVNode as v, withDirectives as A, renderSlot as P, createElementVNode as I, normalizeClass as y, vModelDynamic as k, toDisplayString as j, defineCustomElement as O } from "vue";
2
- const $ = ["for"], N = ["disabled", "type", "placeholder", "id", "data-invalid"], x = /* @__PURE__ */ w({
1
+ import { defineComponent as w, mergeModels as S, useModel as E, createElementBlock as h, openBlock as m, Fragment as C, createCommentVNode as v, withDirectives as A, renderSlot as P, createElementVNode as I, normalizeClass as y, vModelDynamic as k, toDisplayString as j, defineCustomElement as O } from "vue";
2
+ const $ = ["for"], N = ["disabled", "type", "placeholder", "id", "data-invalid", "step"], x = /* @__PURE__ */ w({
3
3
  __name: "PvInput",
4
- props: /* @__PURE__ */ E({
4
+ props: /* @__PURE__ */ S({
5
5
  error: { type: Boolean },
6
6
  disabled: { type: Boolean },
7
7
  placeholder: { type: String },
8
8
  type: { default: "text", type: String },
9
9
  id: { default: Math.random().toString(), type: String },
10
10
  lowerLabel: { type: String },
11
- variant: { default: "white", type: String }
11
+ variant: { default: "white", type: String },
12
+ step: { type: String }
12
13
  }, {
13
14
  modelValue: {},
14
15
  modelModifiers: {}
15
16
  }),
16
17
  emits: ["update:modelValue"],
17
18
  setup(e) {
18
- const t = S(e, "modelValue");
19
+ const t = E(e, "modelValue");
19
20
  return (n, r) => (m(), h(
20
21
  C,
21
22
  null,
@@ -42,7 +43,8 @@ const $ = ["for"], N = ["disabled", "type", "placeholder", "id", "data-invalid"]
42
43
  type: e.type,
43
44
  placeholder: e.placeholder,
44
45
  id: e.id,
45
- "data-invalid": e.error ? !0 : void 0
46
+ "data-invalid": e.error ? !0 : void 0,
47
+ step: e.step
46
48
  }, null, 10, N), [
47
49
  [k, t.value]
48
50
  ]),
@@ -107,7 +109,7 @@ function R(e, t) {
107
109
  const n = Number(t);
108
110
  return isNaN(n) && console.warn(`Invalid number attribute value for "${e}": "${t}". Expected a valid number.`), n;
109
111
  }
110
- function _(e) {
112
+ function J(e) {
111
113
  const t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), d = (e.__vccOpts || e).props;
112
114
  return d && typeof d == "object" && Object.entries(d).forEach(([p, o]) => {
113
115
  o === Boolean || o && o.type === Boolean ? t.add(p) : o === Number || o && o.type === Number ? n.add(p) : (o === Object || o === Array || o && (o.type === Object || o.type === Array)) && r.add(p);
@@ -122,11 +124,11 @@ function g(e, t) {
122
124
  ), null;
123
125
  }
124
126
  }
125
- function J(e) {
127
+ function U(e) {
126
128
  const t = e.__name || e.name;
127
129
  if (!t)
128
130
  throw new Error("Component must have a __name or name property");
129
- const n = O(e, L(t)), { booleanProps: r, numberProps: a, jsonProps: d } = _(e);
131
+ const n = O(e, L(t)), { booleanProps: r, numberProps: a, jsonProps: d } = J(e);
130
132
  class p extends n {
131
133
  _hiddenInput = null;
132
134
  constructor() {
@@ -178,14 +180,14 @@ function J(e) {
178
180
  }
179
181
  return p;
180
182
  }
181
- function U(e) {
183
+ function W(e) {
182
184
  return e.replace(/([A-Z])/g, "-$1").toLowerCase().replace(/^-/, "");
183
185
  }
184
- function W(e) {
186
+ function _(e) {
185
187
  const t = e.__name || e.name;
186
188
  if (!t)
187
189
  throw new Error("Component must have a __name or name property");
188
- const n = U(t), r = J(e);
190
+ const n = W(t), r = U(e);
189
191
  customElements.get(n) || customElements.define(n, r);
190
192
  }
191
- W(x);
193
+ _(x);
@@ -3424,7 +3424,7 @@ const kc = /* @__PURE__ */ Pt($c);
3424
3424
  hn.extend(kc);
3425
3425
  hn.extend(vc);
3426
3426
  hn.extend(Sc);
3427
- const Oc = ["for"], Ec = ["disabled", "type", "placeholder", "id", "data-invalid"];
3427
+ const Oc = ["for"], Ec = ["disabled", "type", "placeholder", "id", "data-invalid", "step"];
3428
3428
  Math.random().toString();
3429
3429
  const Bc = ["for"], Tc = { key: 0 }, Rc = ["disabled", "id"];
3430
3430
  Math.random().toString();
@@ -3561,7 +3561,7 @@ const pc = ["data-style"], mc = ["src"], hc = /* @__PURE__ */ De({
3561
3561
  );
3562
3562
  };
3563
3563
  }
3564
- }), Ac = ".pv-menu-item-disabled[data-v-9c8b69cd]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-9c8b69cd]{cursor:pointer}", Lc = /* @__PURE__ */ Ho(Ic, [["styles", [Ac]], ["__scopeId", "data-v-9c8b69cd"]]), Mc = ["for"], jc = ["disabled", "type", "placeholder", "id", "data-invalid"];
3564
+ }), Ac = ".pv-menu-item-disabled[data-v-9c8b69cd]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-9c8b69cd]{cursor:pointer}", Lc = /* @__PURE__ */ Ho(Ic, [["styles", [Ac]], ["__scopeId", "data-v-9c8b69cd"]]), Mc = ["for"], jc = ["disabled", "type", "placeholder", "id", "data-invalid", "step"];
3565
3565
  Math.random().toString();
3566
3566
  const Nc = ["for"], zc = { key: 0 }, Fc = ["disabled", "id"];
3567
3567
  Math.random().toString();
@@ -2856,7 +2856,7 @@ const Cs = /* @__PURE__ */ Er({
2856
2856
  /* FULL_PROPS, DYNAMIC_SLOTS */
2857
2857
  ));
2858
2858
  }
2859
- }), Ss = ["for"], ws = ["disabled", "type", "placeholder", "id", "data-invalid"];
2859
+ }), Ss = ["for"], ws = ["disabled", "type", "placeholder", "id", "data-invalid", "step"];
2860
2860
  Math.random().toString();
2861
2861
  const $s = ["for"], ks = { key: 0 }, Os = ["disabled", "id"];
2862
2862
  Math.random().toString();
@@ -2788,7 +2788,7 @@ const ys = /* @__PURE__ */ yt(bs);
2788
2788
  on.extend(ys);
2789
2789
  on.extend(us);
2790
2790
  on.extend(ms);
2791
- const xs = ["for"], Cs = ["disabled", "type", "placeholder", "id", "data-invalid"];
2791
+ const xs = ["for"], Cs = ["disabled", "type", "placeholder", "id", "data-invalid", "step"];
2792
2792
  Math.random().toString();
2793
2793
  const Ss = ["for"], ws = { key: 0 }, $s = ["disabled", "id"];
2794
2794
  Math.random().toString();