bt-core-app 1.4.350 → 1.4.352

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.
@@ -39697,6 +39697,7 @@ const pV = /* @__PURE__ */ Qe({
39697
39697
  fullscreen: { type: Boolean, default: !1 },
39698
39698
  height: { default: "400px" },
39699
39699
  label: {},
39700
+ lineColor: {},
39700
39701
  width: { default: "100%" },
39701
39702
  modelValue: {},
39702
39703
  openToggle: { type: Boolean },
@@ -39712,7 +39713,7 @@ const pV = /* @__PURE__ */ Qe({
39712
39713
  const f = rt(a);
39713
39714
  if (f != null)
39714
39715
  return f.signaturePad.canvas.width / window.devicePixelRatio;
39715
- }), o = C(() => l.name.value == "dark" ? "white" : "black"), s = C(() => ({
39716
+ }), o = C(() => n.lineColor ?? (l.name.value == "dark" ? "white" : "black")), s = C(() => ({
39716
39717
  dotSize: 0.5,
39717
39718
  penColor: o.value
39718
39719
  }));
@@ -39778,6 +39779,7 @@ const pV = /* @__PURE__ */ Qe({
39778
39779
  props: {
39779
39780
  fullscreen: { type: Boolean, default: !0 },
39780
39781
  hideButton: { type: Boolean, default: !1 },
39782
+ lineColor: {},
39781
39783
  modelValue: {},
39782
39784
  openToggle: { type: Boolean },
39783
39785
  transparent: { type: Boolean, default: !1 },
@@ -39785,7 +39787,7 @@ const pV = /* @__PURE__ */ Qe({
39785
39787
  },
39786
39788
  emits: ["cancel", "change", "close", "open", "update:modelValue"],
39787
39789
  setup(e, { emit: t }) {
39788
- const n = t, a = e, l = C(() => a.fullscreen == !0 ? `height: calc(100vh - ${a.usedHeight}px); width: 100%;` : ""), r = W(), i = W(), o = W(!1), s = W(null), d = yr(), f = C(() => d.name.value == "dark" ? "white" : "black"), c = C(() => ({
39790
+ const n = t, a = e, l = C(() => a.fullscreen == !0 ? `height: calc(100vh - ${a.usedHeight}px); width: 100%;` : ""), r = W(), i = W(), o = W(!1), s = W(null), d = yr(), f = C(() => a.lineColor ?? (d.name.value == "dark" ? "white" : "black")), c = C(() => ({
39789
39791
  penColor: f.value
39790
39792
  }));
39791
39793
  _e(s, (u) => {
@@ -39793,6 +39795,8 @@ const pV = /* @__PURE__ */ Qe({
39793
39795
  const p = JSON.parse(r.value);
39794
39796
  p != null && p.length > 0 && (u == null || u.fromData([{ color: f.value, points: p }]));
39795
39797
  }
39798
+ }), _e(() => a.openToggle, () => {
39799
+ g();
39796
39800
  });
39797
39801
  function v() {
39798
39802
  const u = rt(s);
@@ -39827,7 +39831,6 @@ const pV = /* @__PURE__ */ Qe({
39827
39831
  onClick: Aa(g, ["stop"])
39828
39832
  }, u.$attrs), null, 16)) : Q("", !0),
39829
39833
  y(Ka, {
39830
- opacity: 0.75,
39831
39834
  modelValue: o.value,
39832
39835
  "onUpdate:modelValue": p[0] || (p[0] = (S) => o.value = S),
39833
39836
  "z-index": "1001"
@@ -39845,8 +39848,10 @@ const pV = /* @__PURE__ */ Qe({
39845
39848
  ref: s
39846
39849
  }, null, 8, ["options"]),
39847
39850
  y(QC, {
39851
+ "bg-color": "primary",
39848
39852
  density: "comfortable",
39849
- grow: ""
39853
+ grow: "",
39854
+ name: "sign"
39850
39855
  }, {
39851
39856
  default: F(() => [
39852
39857
  y(Pe, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.350",
3
+ "version": "1.4.352",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {