bt-core-app 2.2.44 → 2.2.46

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { defineComponent as a, computed as l, openBlock as i, createBlock as s, unref as o, withCtx as u, createVNode as m } from "vue";
2
+ import { useAuthActions as c } from "../composables/auth-actions.mjs";
3
+ import { VOverlay as p } from "../bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs";
4
+ import { VProgressCircular as d } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs";
5
+ const y = /* @__PURE__ */ a({
6
+ __name: "BT-Auth-Loader",
7
+ setup(f) {
8
+ const { actionLoadingMsg: r } = c(), e = l(() => r.value != null);
9
+ return (_, t) => (i(), s(o(p), {
10
+ modelValue: e.value,
11
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => e.value = n),
12
+ class: "align-center justify-center text-center overlay",
13
+ persistent: ""
14
+ }, {
15
+ default: u(() => [
16
+ m(o(d), {
17
+ color: "primary",
18
+ indeterminate: "",
19
+ size: "64"
20
+ })
21
+ ]),
22
+ _: 1
23
+ }, 8, ["modelValue"]));
24
+ }
25
+ });
26
+ export {
27
+ y as default
28
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./BT-Auth-Loader.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -66,8 +66,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
66
66
  onSaved?: ((item: any, isNew?: boolean | undefined) => any) | undefined;
67
67
  }>, {
68
68
  flat: boolean;
69
- eager: boolean;
70
69
  variant: import("../composables/blade.ts").BladeVariant;
70
+ eager: boolean;
71
71
  density: BladeDensity;
72
72
  useBladeSrc: boolean;
73
73
  useRouteSrc: boolean;
@@ -97,7 +97,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
97
97
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
98
98
  isMobile: import('vue').Ref<boolean, boolean>;
99
99
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
100
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
100
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
101
101
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
102
102
  asyncItem: import('vue').Ref<any, any>;
103
103
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -139,7 +139,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
139
139
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
140
140
  isMobile: import('vue').Ref<boolean, boolean>;
141
141
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
142
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
142
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
143
143
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
144
144
  asyncItem: import('vue').Ref<any, any>;
145
145
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -173,7 +173,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
173
173
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
174
174
  isMobile: import('vue').Ref<boolean, boolean>;
175
175
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
176
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
176
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
177
177
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
178
178
  asyncItem: import('vue').Ref<any, any>;
179
179
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -215,7 +215,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
215
215
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
216
216
  isMobile: import('vue').Ref<boolean, boolean>;
217
217
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
218
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
218
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
219
219
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
220
220
  asyncItem: import('vue').Ref<any, any>;
221
221
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
256
256
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
257
257
  isMobile: import('vue').Ref<boolean, boolean>;
258
258
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
259
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
259
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
260
260
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
261
261
  asyncItem: import('vue').Ref<any, any>;
262
262
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -297,7 +297,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
297
297
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
298
298
  isMobile: import('vue').Ref<boolean, boolean>;
299
299
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
300
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
300
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
301
301
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
302
302
  asyncItem: import('vue').Ref<any, any>;
303
303
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -341,7 +341,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
341
341
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
342
342
  isMobile: import('vue').Ref<boolean, boolean>;
343
343
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
344
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
344
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
345
345
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
346
346
  asyncItem: import('vue').Ref<any, any>;
347
347
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -384,7 +384,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
384
384
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
385
385
  isMobile: import('vue').Ref<boolean, boolean>;
386
386
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
387
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
387
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
388
388
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
389
389
  asyncItem: import('vue').Ref<any, any>;
390
390
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -428,7 +428,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
428
428
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
429
429
  isMobile: import('vue').Ref<boolean, boolean>;
430
430
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
431
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
431
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
432
432
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
433
433
  asyncItem: import('vue').Ref<any, any>;
434
434
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -473,7 +473,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
473
473
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
474
474
  isMobile: import('vue').Ref<boolean, boolean>;
475
475
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
476
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
476
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
477
477
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
478
478
  asyncItem: import('vue').Ref<any, any>;
479
479
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -517,7 +517,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
517
517
  closeBladeAsync: (options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>;
518
518
  isMobile: import('vue').Ref<boolean, boolean>;
519
519
  isShowing: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean>;
520
- updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void;
520
+ updateBlade: (data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void;
521
521
  variant: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant>;
522
522
  asyncItem: import('vue').Ref<any, any>;
523
523
  isChangingMode: import('vue').Ref<boolean, boolean>;
@@ -123,8 +123,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
123
123
  "onUpdate:selected"?: ((value: any) => any) | undefined;
124
124
  }>, {
125
125
  size: string | number;
126
- eager: boolean;
127
126
  variant: import("../composables/blade.ts").BladeVariant;
127
+ eager: boolean;
128
128
  density: BladeDensity;
129
129
  ripple: boolean;
130
130
  activeClass: string;
@@ -226,7 +226,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
226
226
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
227
227
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
228
228
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
229
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
229
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
230
230
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
231
231
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
232
232
  applyFilters: () => Promise<void>;
@@ -397,7 +397,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
397
397
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
398
398
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
399
399
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
400
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
400
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
401
401
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
402
402
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
403
403
  applyFilters: () => Promise<void>;
@@ -568,7 +568,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
568
568
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
569
569
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
570
570
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
571
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
571
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
572
572
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
573
573
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
574
574
  applyFilters: () => Promise<void>;
@@ -740,7 +740,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
740
740
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
741
741
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
742
742
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
743
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
743
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
744
744
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
745
745
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
746
746
  applyFilters: () => Promise<void>;
@@ -915,7 +915,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
915
915
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
916
916
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
917
917
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
918
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
918
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
919
919
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
920
920
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
921
921
  applyFilters: () => Promise<void>;
@@ -1086,7 +1086,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1086
1086
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1087
1087
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1088
1088
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1089
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1089
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1090
1090
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1091
1091
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1092
1092
  applyFilters: () => Promise<void>;
@@ -1259,7 +1259,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1259
1259
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1260
1260
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1261
1261
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1262
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1262
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1263
1263
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1264
1264
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1265
1265
  applyFilters: () => Promise<void>;
@@ -1444,7 +1444,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1444
1444
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1445
1445
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1446
1446
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1447
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1447
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1448
1448
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1449
1449
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1450
1450
  applyFilters: () => Promise<void>;
@@ -1622,7 +1622,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1622
1622
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1623
1623
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1624
1624
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1625
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1625
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1626
1626
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1627
1627
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1628
1628
  applyFilters: () => Promise<void>;
@@ -1793,7 +1793,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1793
1793
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1794
1794
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1795
1795
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1796
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1796
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1797
1797
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1798
1798
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1799
1799
  applyFilters: () => Promise<void>;
@@ -1974,7 +1974,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1974
1974
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1975
1975
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1976
1976
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1977
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1977
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1978
1978
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1979
1979
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1980
1980
  applyFilters: () => Promise<void>;
@@ -2165,7 +2165,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
2165
2165
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
2166
2166
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
2167
2167
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
2168
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
2168
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
2169
2169
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
2170
2170
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
2171
2171
  applyFilters: () => Promise<void>;
@@ -139,8 +139,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
139
139
  onSaved?: ((item: any, isNew?: boolean | undefined) => any) | undefined;
140
140
  }>, {
141
141
  size: string | number;
142
- eager: boolean;
143
142
  variant: import("../composables/blade.ts").BladeVariant;
143
+ eager: boolean;
144
144
  density: BladeDensity;
145
145
  ripple: boolean;
146
146
  activeClass: string;
@@ -216,7 +216,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
216
216
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
217
217
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
218
218
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
219
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
219
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
220
220
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
221
221
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
222
222
  applyFilters: () => Promise<void>;
@@ -396,7 +396,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
396
396
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
397
397
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
398
398
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
399
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
399
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
400
400
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
401
401
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
402
402
  applyFilters: () => Promise<void>;
@@ -577,7 +577,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
577
577
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
578
578
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
579
579
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
580
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
580
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
581
581
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
582
582
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
583
583
  applyFilters: () => Promise<void>;
@@ -753,7 +753,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
753
753
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
754
754
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
755
755
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
756
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
756
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
757
757
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
758
758
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
759
759
  applyFilters: () => Promise<void>;
@@ -924,7 +924,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
924
924
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
925
925
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
926
926
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
927
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
927
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
928
928
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
929
929
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
930
930
  applyFilters: () => Promise<void>;
@@ -1096,7 +1096,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1096
1096
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1097
1097
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1098
1098
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1099
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1099
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1100
1100
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1101
1101
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1102
1102
  applyFilters: () => Promise<void>;
@@ -1337,7 +1337,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1337
1337
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1338
1338
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1339
1339
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1340
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1340
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1341
1341
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1342
1342
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1343
1343
  applyFilters: () => Promise<void>;
@@ -1551,7 +1551,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
1551
1551
  closeBladeAsync?: ((options?: import('../composables/blade.ts').CloseBladeOptions | undefined) => Promise<void>) | undefined;
1552
1552
  isMobile?: import('vue').Ref<boolean, boolean> | undefined;
1553
1553
  isShowing?: import('vue').ComputedRef<(bladeName?: string | undefined) => boolean> | undefined;
1554
- updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index.ts").GetOptions<any, any>>) => void) | undefined;
1554
+ updateBlade?: ((data: import('../composables/blade.ts').UpdateBladeData<import("@/index-composables.ts").GetOptions<any, any>>) => void) | undefined;
1555
1555
  variant?: import('vue').Ref<import("../composables/blade.ts").BladeVariant, import("../composables/blade.ts").BladeVariant> | undefined;
1556
1556
  add: (variant: import('../composables/blade.ts').BladeVariant) => void;
1557
1557
  applyFilters: () => Promise<void>;
@@ -10,9 +10,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
10
10
  hideButton: boolean;
11
11
  usedHeight: number;
12
12
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- close: (...args: any[]) => void;
14
13
  cancel: (...args: any[]) => void;
15
14
  change: (...args: any[]) => void;
15
+ close: (...args: any[]) => void;
16
16
  open: (...args: any[]) => void;
17
17
  "update:modelValue": (...args: any[]) => void;
18
18
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CameraProps>, {
@@ -20,9 +20,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
20
20
  hideButton: boolean;
21
21
  usedHeight: number;
22
22
  }>>> & Readonly<{
23
- onClose?: ((...args: any[]) => any) | undefined;
24
23
  onCancel?: ((...args: any[]) => any) | undefined;
25
24
  onChange?: ((...args: any[]) => any) | undefined;
25
+ onClose?: ((...args: any[]) => any) | undefined;
26
26
  onOpen?: ((...args: any[]) => any) | undefined;
27
27
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
28
28
  }>, {
@@ -44,8 +44,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
44
44
  useMaxer: boolean;
45
45
  useModelValue: boolean;
46
46
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- click: (...args: any[]) => void;
48
47
  change: (...args: any[]) => void;
48
+ click: (...args: any[]) => void;
49
49
  "update:modelValue": (...args: any[]) => void;
50
50
  dragging: (...args: any[]) => void;
51
51
  startDragging: (...args: any[]) => void;
@@ -63,8 +63,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
63
63
  useMaxer: boolean;
64
64
  useModelValue: boolean;
65
65
  }>>> & Readonly<{
66
- onClick?: ((...args: any[]) => any) | undefined;
67
66
  onChange?: ((...args: any[]) => any) | undefined;
67
+ onClick?: ((...args: any[]) => any) | undefined;
68
68
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
69
69
  onDragging?: ((...args: any[]) => any) | undefined;
70
70
  onStartDragging?: ((...args: any[]) => any) | undefined;
@@ -1,7 +1,7 @@
1
1
  import o from "./BT-Firebase-Notification.vue2.mjs";
2
2
  import "./BT-Firebase-Notification.vue3.mjs";
3
3
  import t from "../_virtual/_plugin-vue_export-helper.mjs";
4
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-96646d9d"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-a91a9189"]]);
5
5
  export {
6
6
  e as default
7
7
  };
@@ -1,33 +1,42 @@
1
- import { defineComponent as y, ref as d, computed as c, openBlock as r, createBlock as f, unref as a, withCtx as o, createElementVNode as m, createElementBlock as k, createCommentVNode as s, createTextVNode as p, createVNode as x } from "vue";
2
- import { useFirebase as B } from "../composables/firebase.mjs";
3
- import { VBanner as V } from "../bt-core/core/node_modules/vuetify/lib/components/VBanner/VBanner.mjs";
4
- import { VBtn as v } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
5
- const C = {
1
+ import { defineComponent as k, ref as d, computed as f, openBlock as n, createBlock as m, unref as s, withCtx as o, createElementVNode as c, createElementBlock as x, createCommentVNode as a, createTextVNode as p, createVNode as B } from "vue";
2
+ import { useFirebase as V } from "../composables/firebase.mjs";
3
+ import "pinia";
4
+ import "../bt-core/core/node_modules/thenby/thenBy.module.mjs";
5
+ import "../composables/forage.mjs";
6
+ import "vue-router";
7
+ import "@vueuse/core";
8
+ import { useAuth as h } from "../composables/auth.mjs";
9
+ import "../composables/blade.mjs";
10
+ import "../bt-core/core/node_modules/@datasert/cronjs-matcher/dist/index.mjs";
11
+ import "../composables/pwa.mjs";
12
+ import { VBanner as C } from "../bt-core/core/node_modules/vuetify/lib/components/VBanner/VBanner.mjs";
13
+ import { VBtn as g } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
14
+ const _ = {
6
15
  key: 0,
7
16
  class: "text-error text-caption mt-1"
8
- }, P = /* @__PURE__ */ y({
17
+ }, G = /* @__PURE__ */ k({
9
18
  __name: "BT-Firebase-Notification",
10
- setup(_) {
11
- const { initiate: g, permission: i } = B(), n = d(!1), l = d(!1), w = c(() => !(l.value || i.value === "granted")), u = c(() => i.value === "denied");
12
- async function b() {
19
+ setup(E) {
20
+ const { register: v, permission: i } = V(), { isLoggedIn: w } = h(), r = d(!1), l = d(!1), b = f(() => !(!w.value || l.value || i.value === "granted")), u = f(() => i.value === "denied");
21
+ async function N() {
13
22
  if (!("Notification" in window)) {
14
23
  alert("This browser does not support desktop notifications.");
15
24
  return;
16
25
  }
17
- n.value = !0;
26
+ r.value = !0;
18
27
  try {
19
28
  const t = await Notification.requestPermission();
20
- i.value = t, t === "granted" ? (console.log("Notification permission granted."), await g()) : console.log("Notification permission denied.");
29
+ i.value = t, t === "granted" ? (console.log("Notification permission granted."), await v()) : console.log("Notification permission denied.");
21
30
  } catch (t) {
22
31
  console.error("Error requesting notification permission:", t);
23
32
  } finally {
24
- n.value = !1;
33
+ r.value = !1;
25
34
  }
26
35
  }
27
- function N() {
36
+ function y() {
28
37
  l.value = !0;
29
38
  }
30
- return (t, e) => w.value ? (r(), f(a(V), {
39
+ return (t, e) => b.value ? (n(), m(s(C), {
31
40
  key: 0,
32
41
  class: "floating-banner elevation-4 rounded-lg mx-auto",
33
42
  color: "surface",
@@ -36,27 +45,27 @@ const C = {
36
45
  lines: "two"
37
46
  }, {
38
47
  text: o(() => [
39
- e[0] || (e[0] = m("div", { class: "font-weight-bold" }, "Enable Notifications", -1)),
40
- e[1] || (e[1] = m("div", null, "Stay updated with the latest alerts and updates.", -1)),
41
- u.value ? (r(), k("div", C, " Notifications are blocked in your browser settings. Please enable them manually in your browser address bar. ")) : s("", !0)
48
+ e[0] || (e[0] = c("div", { class: "font-weight-bold" }, "Enable Notifications", -1)),
49
+ e[1] || (e[1] = c("div", null, "Stay updated with the latest alerts and updates.", -1)),
50
+ u.value ? (n(), x("div", _, " Notifications are blocked in your browser settings. Please enable them manually in your browser address bar. ")) : a("", !0)
42
51
  ]),
43
52
  actions: o(() => [
44
- u.value ? s("", !0) : (r(), f(a(v), {
53
+ u.value ? a("", !0) : (n(), m(s(g), {
45
54
  key: 0,
46
55
  color: "white",
47
56
  variant: "flat",
48
- loading: n.value,
49
- onClick: b
57
+ loading: r.value,
58
+ onClick: N
50
59
  }, {
51
60
  default: o(() => e[2] || (e[2] = [
52
61
  p(" Turn On ")
53
62
  ])),
54
63
  _: 1
55
64
  }, 8, ["loading"])),
56
- x(a(v), {
65
+ B(s(g), {
57
66
  variant: "text",
58
67
  color: "white",
59
- onClick: N
68
+ onClick: y
60
69
  }, {
61
70
  default: o(() => e[3] || (e[3] = [
62
71
  p(" Not Now ")
@@ -65,9 +74,9 @@ const C = {
65
74
  })
66
75
  ]),
67
76
  _: 1
68
- })) : s("", !0);
77
+ })) : a("", !0);
69
78
  }
70
79
  });
71
80
  export {
72
- P as default
81
+ G as default
73
82
  };