bt-core-app 2.2.6 → 2.2.7

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.
@@ -1,5 +1,5 @@
1
- import { createCssTransition as n, createJavascriptTransition as t } from "./createTransition.mjs";
2
- import i from "./expand-transition.mjs";
1
+ import { createCssTransition as n, createJavascriptTransition as i } from "./createTransition.mjs";
2
+ import t from "./expand-transition.mjs";
3
3
  n("fab-transition", "center center", "out-in");
4
4
  n("dialog-bottom-transition");
5
5
  n("dialog-top-transition");
@@ -8,16 +8,15 @@ n("scroll-x-transition");
8
8
  n("scroll-x-reverse-transition");
9
9
  n("scroll-y-transition");
10
10
  n("scroll-y-reverse-transition");
11
- n("slide-x-transition");
12
- n("slide-x-reverse-transition");
13
- const e = n("slide-y-transition");
14
- n("slide-y-reverse-transition");
15
- const l = t("expand-transition", i()), c = t("expand-x-transition", i("", "x"));
16
- t("expand-both-transition", i("", "both"));
11
+ const e = n("slide-x-transition"), l = n("slide-x-reverse-transition"), c = n("slide-y-transition"), d = n("slide-y-reverse-transition"), x = i("expand-transition", t()), p = i("expand-x-transition", t("", "x"));
12
+ i("expand-both-transition", t("", "both"));
17
13
  export {
18
- l as VExpandTransition,
19
- c as VExpandXTransition,
14
+ x as VExpandTransition,
15
+ p as VExpandXTransition,
20
16
  s as VFadeTransition,
21
17
  a as VScaleTransition,
22
- e as VSlideYTransition
18
+ l as VSlideXReverseTransition,
19
+ e as VSlideXTransition,
20
+ d as VSlideYReverseTransition,
21
+ c as VSlideYTransition
23
22
  };
@@ -1,9 +1,10 @@
1
- import { defineComponent as B, ref as m, computed as o, watch as w, resolveComponent as D, renderSlot as F, createVNode as f, unref as v, mergeProps as T, withModifiers as C, withCtx as r, openBlock as d, createBlock as V, normalizeStyle as N, createElementVNode as x, toDisplayString as k, createElementBlock as h } from "vue";
2
- import { useBackgroundTask as L } from "../composables/background-tasks.mjs";
1
+ import { defineComponent as B, ref as f, computed as o, watch as T, renderSlot as _, createVNode as k, unref as r, mergeProps as w, withModifiers as D, withCtx as u, openBlock as d, createBlock as F, normalizeStyle as V, createElementVNode as C, toDisplayString as v, createElementBlock as h } from "vue";
2
+ import { useBackgroundTask as N } from "../composables/background-tasks.mjs";
3
3
  import { pullPropsFrom as S } from "../composables/helpers.mjs";
4
- import { VBtn as I } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
5
- import { VProgressLinear as P } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs";
6
- const U = { key: 1 }, $ = { key: 2 }, q = /* @__PURE__ */ B({
4
+ import { VBtn as x } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
5
+ import { VSlideYTransition as L } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
6
+ import { VProgressLinear as I } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs";
7
+ const P = { key: 1 }, U = { key: 2 }, Y = /* @__PURE__ */ B({
7
8
  __name: "BT-Background-Task",
8
9
  props: {
9
10
  actionName: {},
@@ -21,7 +22,7 @@ const U = { key: 1 }, $ = { key: 2 }, q = /* @__PURE__ */ B({
21
22
  text: { default: "Run Now" }
22
23
  },
23
24
  setup(y) {
24
- const a = y, l = m(!1), n = m(!1), g = o(() => `min-width: ${a.minWidth}`), u = o(() => l.value || t.task.value != null && t.task.value.isFinished), t = L(a.actionName), p = o(() => {
25
+ const a = y, l = f(!1), n = f(!1), g = o(() => `min-width: ${a.minWidth}`), p = o(() => l.value || t.task.value != null && t.task.value.isFinished), t = N(a.actionName), m = o(() => {
25
26
  var e;
26
27
  return ((e = t.task.value) == null ? void 0 : e.progress) ?? 0;
27
28
  }), s = o(() => {
@@ -44,48 +45,45 @@ const U = { key: 1 }, $ = { key: 2 }, q = /* @__PURE__ */ B({
44
45
  refresh: a.refresh
45
46
  }, e, [], "all-obj2-props"));
46
47
  }
47
- return w(s, (e) => {
48
+ return T(s, (e) => {
48
49
  e ? i = !0 : i && (a.onFinish != null && a.onFinish(), i = !1);
49
- }), (e, E) => {
50
- const _ = D("v-slide-y-transition");
51
- return F(e.$slots, "default", {
52
- isDone: u.value,
53
- isLoading: s.value,
54
- progress: p.value,
55
- startTask: c
56
- }, () => [
57
- f(v(I), T({
58
- block: e.block,
59
- onClick: C(c, ["stop"]),
60
- class: e.btnClass,
61
- disabled: s.value
62
- }, e.$attrs), {
63
- default: r(() => [
64
- f(_, { "hide-on-leave": "" }, {
65
- default: r(() => [
66
- s.value ? (d(), V(v(P), {
67
- key: 0,
68
- color: "primary",
69
- height: "25",
70
- indeterminate: "",
71
- modelValue: p.value,
72
- style: N(g.value)
73
- }, {
74
- default: r(({ value: b }) => [
75
- x("strong", null, "Running: " + k(Math.ceil(b)) + "%", 1)
76
- ]),
77
- _: 1
78
- }, 8, ["modelValue", "style"])) : u.value ? (d(), h("span", U, "Finished")) : (d(), h("span", $, k(e.text), 1))
79
- ]),
80
- _: 1
81
- })
82
- ]),
83
- _: 1
84
- }, 16, ["block", "class", "disabled"])
85
- ]);
86
- };
50
+ }), (e, $) => _(e.$slots, "default", {
51
+ isDone: p.value,
52
+ isLoading: s.value,
53
+ progress: m.value,
54
+ startTask: c
55
+ }, () => [
56
+ k(r(x), w({
57
+ block: e.block,
58
+ onClick: D(c, ["stop"]),
59
+ class: e.btnClass,
60
+ disabled: s.value
61
+ }, e.$attrs), {
62
+ default: u(() => [
63
+ k(r(L), { "hide-on-leave": "" }, {
64
+ default: u(() => [
65
+ s.value ? (d(), F(r(I), {
66
+ key: 0,
67
+ color: "primary",
68
+ height: "25",
69
+ indeterminate: "",
70
+ modelValue: m.value,
71
+ style: V(g.value)
72
+ }, {
73
+ default: u(({ value: b }) => [
74
+ C("strong", null, "Running: " + v(Math.ceil(b)) + "%", 1)
75
+ ]),
76
+ _: 1
77
+ }, 8, ["modelValue", "style"])) : p.value ? (d(), h("span", P, "Finished")) : (d(), h("span", U, v(e.text), 1))
78
+ ]),
79
+ _: 1
80
+ })
81
+ ]),
82
+ _: 1
83
+ }, 16, ["block", "class", "disabled"])
84
+ ]);
87
85
  }
88
86
  });
89
87
  export {
90
- q as default
88
+ Y as default
91
89
  };
@@ -1,19 +1,20 @@
1
- import { defineComponent as q, ref as I, inject as K, provide as W, computed as g, resolveComponent as z, openBlock as r, createBlock as v, unref as e, withCtx as o, renderSlot as u, createVNode as y, createElementVNode as J, createElementBlock as w, mergeProps as Q, createCommentVNode as m, normalizeStyle as b, normalizeClass as S, withModifiers as X, createTextVNode as A } from "vue";
1
+ import { defineComponent as F, ref as k, inject as O, provide as j, computed as g, resolveComponent as q, openBlock as r, createBlock as v, unref as e, withCtx as o, renderSlot as u, createVNode as y, createElementVNode as K, createElementBlock as I, mergeProps as W, createCommentVNode as m, normalizeStyle as b, normalizeClass as S, withModifiers as X, createTextVNode as w } from "vue";
2
2
  import { useItem as Y } from "../composables/item.mjs";
3
- import { useAuth as Z } from "../composables/auth.mjs";
4
- import { useNavigation as x } from "../composables/navigation.mjs";
5
- import { usePresets as _ } from "../composables/presets.mjs";
6
- import { useHeights as ee } from "../composables/heights.mjs";
7
- import { VMenu as te } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
8
- import { VList as ae } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
9
- import { VCard as se } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
10
- import { VCardText as ie } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs";
11
- import { VForm as ne } from "../bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs";
12
- import { VCardActions as oe } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs";
13
- import { VSpacer as le } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
3
+ import { useAuth as J } from "../composables/auth.mjs";
4
+ import { useNavigation as Q } from "../composables/navigation.mjs";
5
+ import { usePresets as Z } from "../composables/presets.mjs";
6
+ import { useHeights as x } from "../composables/heights.mjs";
7
+ import { VMenu as _ } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
8
+ import { VList as ee } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
9
+ import { VCard as te } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs";
10
+ import { VCardText as ae } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs";
11
+ import { VForm as ie } from "../bt-core/core/node_modules/vuetify/lib/components/VForm/VForm.mjs";
12
+ import { VCardActions as se } from "../bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs";
13
+ import { VSpacer as ne } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VSpacer.mjs";
14
+ import { VSlideYTransition as oe, VSlideXTransition as le } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
14
15
  import { VBtn as f } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
15
- import { VIcon as R } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
16
- const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
16
+ import { VIcon as A } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
17
+ const re = { key: "0" }, de = { key: "0.5" }, ke = /* @__PURE__ */ F({
17
18
  __name: "BT-Blade-Item",
18
19
  props: {
19
20
  actualHeight: {},
@@ -103,33 +104,33 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
103
104
  variant: { default: "page" }
104
105
  },
105
106
  emits: ["fetched", "saved"],
106
- setup(T, { emit: V }) {
107
- const N = V, i = T, p = _(i.preset), B = I(), { findSingleDisplay: D } = x(), E = Z(), k = ee(), n = K("size", () => I("small"), !0), t = Y(
108
- i,
109
- N
107
+ setup(R, { emit: T }) {
108
+ const V = T, s = R, p = Z(s.preset), B = k(), { findSingleDisplay: N } = Q(), E = J(), z = x(), n = O("size", () => k("small"), !0), t = Y(
109
+ s,
110
+ V
110
111
  );
111
- W("isEditing", t.isEditing);
112
- const H = g(() => (p.canEdit ?? i.canEdit) && t.mode.value != "new"), M = g(() => p.canDelete ?? i.canDelete), U = g(() => p.canRestore ?? i.canRestore), h = g(() => !!i.overrideSave || !!(p.canSave ?? i.canSave) && t.isSaveable.value && (t.isChanged.value || t.mode.value == "new")), G = g(() => p.hideRefresh ?? i.hideRefresh), L = g(() => i.label ?? (i.getLabel != null ? i.getLabel(t.asyncItem.value) : void 0) ?? D(i.nav ?? "")), P = g(() => !!i.transparent || i.opacity != null), c = g(() => {
112
+ j("isEditing", t.isEditing);
113
+ const D = g(() => (p.canEdit ?? s.canEdit) && t.mode.value != "new"), H = g(() => p.canDelete ?? s.canDelete), M = g(() => p.canRestore ?? s.canRestore), h = g(() => !!s.overrideSave || !!(p.canSave ?? s.canSave) && t.isSaveable.value && (t.isChanged.value || t.mode.value == "new")), U = g(() => p.hideRefresh ?? s.hideRefresh), G = g(() => s.label ?? (s.getLabel != null ? s.getLabel(t.asyncItem.value) : void 0) ?? N(s.nav ?? "")), L = g(() => !!s.transparent || s.opacity != null), c = g(() => {
113
114
  let a = "";
114
- if (i.actualHeight != null)
115
- return `${a} ${i.heightStrat == "upto" ? "max-height" : "height"}: calc(${i.actualHeight})`;
116
- if (i.actualUsedHeight != null)
117
- return `${a} ${i.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${k.getUsedHeight(i.actualUsedHeight)}px);`;
115
+ if (s.actualHeight != null)
116
+ return `${a} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(${s.actualHeight})`;
117
+ if (s.actualUsedHeight != null)
118
+ return `${a} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${z.getUsedHeight(s.actualUsedHeight)}px);`;
118
119
  {
119
- let s = 48;
120
- return i.bordered ? s += 26 : i.variant == "page" && (s += 16), (i.hideToolbar == !0 || i.variant == "pure") && (s -= 48), `${a} ${i.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${k.getUsedHeight(s)}px)`;
120
+ let i = 48;
121
+ return s.bordered ? i += 26 : s.variant == "page" && (i += 16), (s.hideToolbar == !0 || s.variant == "pure") && (i -= 48), `${a} ${s.heightStrat == "upto" ? "max-height" : "height"}: calc(100vh - ${z.getUsedHeight(i)}px)`;
121
122
  }
122
123
  });
123
- async function l(a, s) {
124
+ async function l(a, i) {
124
125
  if (B.value != null) {
125
126
  const { valid: $ } = await B.value.validate();
126
- $ && await t.saveItem(t.asyncItem.value, { navBack: a, stayEditing: s, updateUrl: !0 });
127
+ $ && await t.saveItem(t.asyncItem.value, { navBack: a, stayEditing: i, updateUrl: !0 });
127
128
  } else
128
- await t.saveItem(t.asyncItem.value, { navBack: a, stayEditing: s, updateUrl: !0 });
129
+ await t.saveItem(t.asyncItem.value, { navBack: a, stayEditing: i, updateUrl: !0 });
129
130
  }
130
- return (a, s) => {
131
- const $ = z("v-slide-y-transition"), F = z("v-slide-x-transition"), O = z("bt-blade");
132
- return r(), v(O, {
131
+ return (a, i) => {
132
+ const $ = q("bt-blade");
133
+ return r(), v($, {
133
134
  bladeBasic: "",
134
135
  bladeName: a.bladeName,
135
136
  bladeStartShowing: a.bladeStartShowing,
@@ -139,7 +140,7 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
139
140
  flat: a.flat,
140
141
  hideSubtoolbar: "",
141
142
  hideToolbar: a.hideToolbar,
142
- label: L.value,
143
+ label: G.value,
143
144
  loadingMsg: e(t).loadingMsg.value,
144
145
  opacity: a.opacity,
145
146
  preset: a.preset,
@@ -189,12 +190,12 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
189
190
  })
190
191
  ]),
191
192
  "blade-toolbar-right": o(() => [
192
- y($, {
193
+ y(e(oe), {
193
194
  group: "",
194
195
  "hide-on-leave": ""
195
196
  }, {
196
197
  default: o(() => [
197
- J("div", re, [
198
+ K("div", re, [
198
199
  u(a.$slots, "toolbar-right", {
199
200
  density: a.density,
200
201
  isChanged: e(t).isChanged.value,
@@ -206,21 +207,21 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
206
207
  ui: e(t)
207
208
  })
208
209
  ]),
209
- a.showSettings ? (r(), w("div", de, [
210
- a.showSettings ? (r(), v(e(te), {
210
+ a.showSettings ? (r(), I("div", de, [
211
+ a.showSettings ? (r(), v(e(_), {
211
212
  "close-on-content-click": !1,
212
213
  density: a.density,
213
214
  key: "1"
214
215
  }, {
215
216
  activator: o(({ props: d }) => [
216
- y(e(f), Q({
217
+ y(e(f), W({
217
218
  icon: "$cog",
218
219
  key: "2",
219
220
  size: e(n)
220
221
  }, d, { variant: "text" }), null, 16, ["size"])
221
222
  ]),
222
223
  default: o(() => [
223
- y(e(ae), {
224
+ y(e(ee), {
224
225
  density: a.density,
225
226
  "min-width": "300"
226
227
  }, {
@@ -243,22 +244,22 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
243
244
  }, 8, ["density"])) : m("", !0)
244
245
  ])) : m("", !0),
245
246
  h.value && !a.hideTopSave ? (r(), v(e(f), {
246
- onClick: s[0] || (s[0] = (d) => l(!!a.alwaysClose)),
247
+ onClick: i[0] || (i[0] = (d) => l(!!a.alwaysClose)),
247
248
  icon: "$content-save",
248
249
  size: e(n),
249
250
  title: "Save",
250
251
  key: "3",
251
252
  variant: "text"
252
253
  }, null, 8, ["size"])) : m("", !0),
253
- G.value ? m("", !0) : (r(), v(e(f), {
254
+ U.value ? m("", !0) : (r(), v(e(f), {
254
255
  icon: "$refresh",
255
- onClick: s[1] || (s[1] = (d) => e(t).runRefresh({ deepRefresh: !0 })),
256
+ onClick: i[1] || (i[1] = (d) => e(t).runRefresh({ deepRefresh: !0 })),
256
257
  size: e(n),
257
258
  title: "Refresh",
258
259
  key: "4",
259
260
  variant: "text"
260
261
  }, null, 8, ["size"])),
261
- !a.alwaysEditing && !h.value && H.value && e(t).isEditable.value ? (r(), v(e(f), {
262
+ !a.alwaysEditing && !h.value && D.value && e(t).isEditable.value ? (r(), v(e(f), {
262
263
  loading: e(t).isChangingMode.value,
263
264
  icon: e(t).mode.value == "edit" ? "$pencil-off" : "$pencil",
264
265
  onClick: e(t).toggleMode,
@@ -268,18 +269,18 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
268
269
  key: "5",
269
270
  variant: "text"
270
271
  }, null, 8, ["loading", "icon", "onClick", "size", "disabled"])) : m("", !0),
271
- M.value && e(t).isDeletable.value ? (r(), v(e(f), {
272
+ H.value && e(t).isDeletable.value ? (r(), v(e(f), {
272
273
  icon: "$delete",
273
- onClick: s[2] || (s[2] = (d) => e(t).deleteItem(e(t).asyncItem.value)),
274
+ onClick: i[2] || (i[2] = (d) => e(t).deleteItem(e(t).asyncItem.value)),
274
275
  size: e(n),
275
276
  disabled: !e(E).canEdit(a.nav),
276
277
  title: "Delete",
277
278
  key: "6",
278
279
  variant: "text"
279
280
  }, null, 8, ["size", "disabled"])) : m("", !0),
280
- U.value && e(t).isRestorable.value ? (r(), v(e(f), {
281
+ M.value && e(t).isRestorable.value ? (r(), v(e(f), {
281
282
  icon: "$eraser-variant",
282
- onClick: s[3] || (s[3] = (d) => e(t).restoreItem(e(t).asyncItem.value)),
283
+ onClick: i[3] || (i[3] = (d) => e(t).restoreItem(e(t).asyncItem.value)),
283
284
  size: e(n),
284
285
  disabled: !e(E).canEdit(a.nav),
285
286
  title: "Restore",
@@ -316,7 +317,7 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
316
317
  size: e(n),
317
318
  ui: e(t)
318
319
  }),
319
- e(t).asyncItem.value == null && !e(t).isLoading.value ? (r(), w("div", {
320
+ e(t).asyncItem.value == null && !e(t).isLoading.value ? (r(), I("div", {
320
321
  key: 0,
321
322
  class: S(["overflow-y-auto", {}]),
322
323
  style: b(c.value)
@@ -334,19 +335,19 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
334
335
  style: b(c.value),
335
336
  ui: e(t)
336
337
  })
337
- ], 4)) : e(t).asyncItem.value != null ? (r(), v(e(se), {
338
+ ], 4)) : e(t).asyncItem.value != null ? (r(), v(e(te), {
338
339
  key: 1,
339
- class: S(["overflow-y-auto", P.value ? "transparent" : ""]),
340
+ class: S(["overflow-y-auto", L.value ? "transparent" : ""]),
340
341
  flat: a.flat,
341
342
  style: b(c.value)
342
343
  }, {
343
344
  default: o(() => [
344
- y(e(ie), { class: "pa-0" }, {
345
+ y(e(ae), { class: "pa-0" }, {
345
346
  default: o(() => [
346
- y(e(ne), {
347
+ y(e(ie), {
347
348
  ref_key: "form",
348
349
  ref: B,
349
- onSubmit: s[4] || (s[4] = X(() => {
350
+ onSubmit: i[4] || (i[4] = X(() => {
350
351
  }, ["prevent"]))
351
352
  }, {
352
353
  default: o(() => [
@@ -370,7 +371,7 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
370
371
  ]),
371
372
  _: 2
372
373
  }, 1024),
373
- h.value && !a.hideBottomSave ? (r(), v(e(oe), { key: 0 }, {
374
+ h.value && !a.hideBottomSave ? (r(), v(e(se), { key: 0 }, {
374
375
  default: o(() => [
375
376
  u(a.$slots, "bottom-left", {
376
377
  bladeData: C,
@@ -385,38 +386,38 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
385
386
  size: e(n),
386
387
  ui: e(t)
387
388
  }),
388
- y(e(le)),
389
- y(F, { group: "" }, {
389
+ y(e(ne)),
390
+ y(e(le), { group: "" }, {
390
391
  default: o(() => [
391
392
  !a.alwaysClose && h.value ? (r(), v(e(f), {
392
393
  key: 0,
393
- onClick: s[5] || (s[5] = (j) => l(!1)),
394
+ onClick: i[5] || (i[5] = (P) => l(!1)),
394
395
  size: e(n),
395
396
  class: S(e(t).isMobile.value ? "ma-0" : "mr-4")
396
397
  }, {
397
398
  default: o(() => [
398
- y(e(R), {
399
+ y(e(A), {
399
400
  size: e(n),
400
401
  start: "",
401
402
  icon: "$content-save"
402
403
  }, null, 8, ["size"]),
403
- s[7] || (s[7] = A("Save "))
404
+ i[7] || (i[7] = w("Save "))
404
405
  ]),
405
406
  _: 2
406
407
  }, 1032, ["size", "class"])) : m("", !0),
407
408
  (a.canClose || a.alwaysClose) && h.value ? (r(), v(e(f), {
408
409
  key: 1,
409
- onClick: s[6] || (s[6] = (j) => l(!0)),
410
+ onClick: i[6] || (i[6] = (P) => l(!0)),
410
411
  size: e(n),
411
412
  class: S(e(t).isMobile.value ? "ma-0" : "mr-4")
412
413
  }, {
413
414
  default: o(() => [
414
- y(e(R), {
415
+ y(e(A), {
415
416
  size: e(n),
416
417
  start: "",
417
418
  icon: "$content-save"
418
419
  }, null, 8, ["size"]),
419
- s[8] || (s[8] = A("Save/Close "))
420
+ i[8] || (i[8] = w("Save/Close "))
420
421
  ]),
421
422
  _: 2
422
423
  }, 1032, ["size", "class"])) : m("", !0)
@@ -446,5 +447,5 @@ const re = { key: "0" }, de = { key: "0.5" }, ze = /* @__PURE__ */ q({
446
447
  }
447
448
  });
448
449
  export {
449
- ze as default
450
+ ke as default
450
451
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./BT-Blade-Items.vue2.mjs";
2
2
  import "./BT-Blade-Items.vue3.mjs";
3
3
  import t from "../_virtual/_plugin-vue_export-helper.mjs";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f896f89f"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-216fb448"]]);
5
5
  export {
6
- a as default
6
+ e as default
7
7
  };