bt-core-app 1.4.834 → 1.4.836

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 (2) hide show
  1. package/dist/bt-core-app.js +42 -26
  2. package/package.json +1 -1
@@ -14373,22 +14373,23 @@ const Y6 = je({
14373
14373
  },
14374
14374
  setup(e) {
14375
14375
  const t = e;
14376
- function a(i) {
14377
- return n.startTask({
14376
+ function a(o) {
14377
+ return l.startTask({
14378
14378
  ...t,
14379
- ...i
14379
+ ...o
14380
14380
  });
14381
14381
  }
14382
- const n = q_(t.actionName), l = T(() => {
14383
- var i;
14384
- return ((i = n.task.value) == null ? void 0 : i.progress) ?? 0;
14385
- }), r = T(() => {
14386
- var i;
14387
- return n.task.value != null && !((i = n.task.value) != null && i.isFinished);
14382
+ const n = T(() => l.task.value != null && l.task.value.isFinished), l = q_(t.actionName), r = T(() => {
14383
+ var o;
14384
+ return ((o = l.task.value) == null ? void 0 : o.progress) ?? 0;
14385
+ }), i = T(() => {
14386
+ var o;
14387
+ return l.task.value != null && !((o = l.task.value) != null && o.isFinished);
14388
14388
  });
14389
- return (i, o) => he(i.$slots, "default", {
14390
- isLoading: r.value,
14391
- progress: l.value,
14389
+ return (o, s) => he(o.$slots, "default", {
14390
+ isDone: n.value,
14391
+ isLoading: i.value,
14392
+ progress: r.value,
14392
14393
  startTask: a
14393
14394
  });
14394
14395
  }
@@ -16903,6 +16904,19 @@ const Fa = ur("slide-x-transition"), xh = ur("slide-x-reverse-transition"), jn =
16903
16904
  preset: C.preset,
16904
16905
  variant: C.variant
16905
16906
  }, {
16907
+ "blade-label": O(() => [
16908
+ he(C.$slots, "blade-label", {
16909
+ density: C.density,
16910
+ isChanged: _(u).isChanged.value,
16911
+ isEditing: _(u).isEditing.value,
16912
+ item: _(u).asyncItem.value,
16913
+ mode: _(u).mode.value,
16914
+ save: p,
16915
+ size: _(c),
16916
+ refresh: _(u).refresh,
16917
+ ui: _(u)
16918
+ })
16919
+ ]),
16906
16920
  "blade-title-left": O(() => [
16907
16921
  he(C.$slots, "blade-title-left", {
16908
16922
  density: C.density,
@@ -23245,20 +23259,22 @@ const oF = ch("v-alert-title"), sF = ["success", "info", "warning", "error"], uF
23245
23259
  onClick: E[0] || (E[0] = () => h())
23246
23260
  }, null, 8, ["size"])),
23247
23261
  he(V.$slots, "blade-title-left"),
23248
- !V.showOnlyTitleLeft && V.label != null && V.variant != "inline" ? (B(), se(Sh, { key: 2 }, {
23249
- default: O(() => [
23250
- We(Fe(V.label), 1)
23251
- ]),
23252
- _: 1
23253
- })) : !V.showOnlyTitleLeft && V.label != null ? (B(), se(In, { key: 3 }, {
23254
- default: O(() => [
23255
- We(Fe(V.label), 1)
23256
- ]),
23257
- _: 1
23258
- })) : ee("", !0),
23259
- V.showOnlyTitleLeft ? ee("", !0) : he(V.$slots, "blade-title-right", { key: 4 }),
23260
- V.showOnlyTitleLeft ? ee("", !0) : (B(), se(ca, { key: 5 })),
23261
- V.showOnlyTitleLeft ? ee("", !0) : he(V.$slots, "blade-toolbar-right", { key: 6 })
23262
+ he(V.$slots, "blade-label", {}, () => [
23263
+ !V.showOnlyTitleLeft && V.label != null && V.variant != "inline" ? (B(), se(Sh, { key: 0 }, {
23264
+ default: O(() => [
23265
+ We(Fe(V.label), 1)
23266
+ ]),
23267
+ _: 1
23268
+ })) : !V.showOnlyTitleLeft && V.label != null ? (B(), se(In, { key: 1 }, {
23269
+ default: O(() => [
23270
+ We(Fe(V.label), 1)
23271
+ ]),
23272
+ _: 1
23273
+ })) : ee("", !0)
23274
+ ]),
23275
+ V.showOnlyTitleLeft ? ee("", !0) : he(V.$slots, "blade-title-right", { key: 2 }),
23276
+ V.showOnlyTitleLeft ? ee("", !0) : (B(), se(ca, { key: 3 })),
23277
+ V.showOnlyTitleLeft ? ee("", !0) : he(V.$slots, "blade-toolbar-right", { key: 4 })
23262
23278
  ]),
23263
23279
  !k.value && !V.showOnlyTitleLeft ? (B(), se(Ee, {
23264
23280
  icon: "$close",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.834",
3
+ "version": "1.4.836",
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": {