bt-core-app 2.2.44 → 2.2.45
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.
- package/dist/components/BT-Blade-Item.vue.d.ts +12 -12
- package/dist/components/BT-Blade-Items.vue.d.ts +13 -13
- package/dist/components/BT-Blade-Steps.vue.d.ts +9 -9
- package/dist/components/BT-Camera-Overlay.vue.d.ts +2 -2
- package/dist/components/BT-Drag-Counter.vue.d.ts +2 -2
- package/dist/components/BT-Firebase-Notification.vue.mjs +1 -1
- package/dist/components/BT-Firebase-Notification.vue2.mjs +33 -24
- package/dist/components/BT-Nav-Sidebar.vue.mjs +5 -5
- package/dist/components/BT-Signature-Overlay.vue.d.ts +2 -2
- package/dist/components/BT-Signature.vue.d.ts +1 -1
- package/dist/components/BT-Square-Check.vue.d.ts +1 -1
- package/dist/composables/auth.d.ts +3 -0
- package/dist/composables/auth.mjs +154 -150
- package/dist/composables/firebase.d.ts +1 -1
- package/dist/composables/firebase.mjs +59 -59
- package/dist/core2.mjs +85 -83
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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
|
|
2
|
-
import { useFirebase as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
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
|
-
},
|
|
17
|
+
}, G = /* @__PURE__ */ k({
|
|
9
18
|
__name: "BT-Firebase-Notification",
|
|
10
|
-
setup(
|
|
11
|
-
const {
|
|
12
|
-
async function
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
33
|
+
r.value = !1;
|
|
25
34
|
}
|
|
26
35
|
}
|
|
27
|
-
function
|
|
36
|
+
function y() {
|
|
28
37
|
l.value = !0;
|
|
29
38
|
}
|
|
30
|
-
return (t, e) =>
|
|
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] =
|
|
40
|
-
e[1] || (e[1] =
|
|
41
|
-
u.value ? (
|
|
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 ?
|
|
53
|
+
u.value ? a("", !0) : (n(), m(s(g), {
|
|
45
54
|
key: 0,
|
|
46
55
|
color: "white",
|
|
47
56
|
variant: "flat",
|
|
48
|
-
loading:
|
|
49
|
-
onClick:
|
|
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
|
-
|
|
65
|
+
B(s(g), {
|
|
57
66
|
variant: "text",
|
|
58
67
|
color: "white",
|
|
59
|
-
onClick:
|
|
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
|
-
})) :
|
|
77
|
+
})) : a("", !0);
|
|
69
78
|
}
|
|
70
79
|
});
|
|
71
80
|
export {
|
|
72
|
-
|
|
81
|
+
G as default
|
|
73
82
|
};
|
|
@@ -6,8 +6,8 @@ import { VNavigationDrawer as g } from "../bt-core/core/node_modules/vuetify/lib
|
|
|
6
6
|
import { VListGroup as z } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs";
|
|
7
7
|
import { VList as f } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
8
8
|
import { VListItem as s } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
|
|
9
|
-
import { VAvatar as
|
|
10
|
-
import { VImg as
|
|
9
|
+
import { VAvatar as A } from "../bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs";
|
|
10
|
+
import { VImg as D } from "../bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs";
|
|
11
11
|
import { VRow as G } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VRow.mjs";
|
|
12
12
|
import { VBtn as M } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
13
13
|
import { VIcon as P } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
|
|
@@ -18,7 +18,7 @@ const W = /* @__PURE__ */ _({
|
|
|
18
18
|
title: {}
|
|
19
19
|
},
|
|
20
20
|
setup(T) {
|
|
21
|
-
const { state: m, toggleDrawerStick: k } = b(), { isLoggedIn: y,
|
|
21
|
+
const { state: m, toggleDrawerStick: k } = b(), { isLoggedIn: y, logoutAsync: v } = L(), w = B();
|
|
22
22
|
return (i, p) => (r(), n(e(g), {
|
|
23
23
|
"disabled-resize-watcher": "",
|
|
24
24
|
"expand-on-hover": "",
|
|
@@ -55,9 +55,9 @@ const W = /* @__PURE__ */ _({
|
|
|
55
55
|
title: i.title
|
|
56
56
|
}, {
|
|
57
57
|
prepend: t(() => [
|
|
58
|
-
l(e(
|
|
58
|
+
l(e(A), { size: "36" }, {
|
|
59
59
|
default: t(() => [
|
|
60
|
-
l(e(
|
|
60
|
+
l(e(D), { src: i.iconSrc }, null, 8, ["src"])
|
|
61
61
|
]),
|
|
62
62
|
_: 1
|
|
63
63
|
})
|
|
@@ -16,9 +16,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
16
16
|
transparent: boolean;
|
|
17
17
|
usedHeight: number;
|
|
18
18
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
close: (...args: any[]) => void;
|
|
20
19
|
cancel: (...args: any[]) => void;
|
|
21
20
|
change: (...args: any[]) => void;
|
|
21
|
+
close: (...args: any[]) => void;
|
|
22
22
|
open: (...args: any[]) => void;
|
|
23
23
|
"update:modelValue": (...args: any[]) => void;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SignProps>, {
|
|
@@ -27,9 +27,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
27
27
|
transparent: boolean;
|
|
28
28
|
usedHeight: number;
|
|
29
29
|
}>>> & Readonly<{
|
|
30
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
31
30
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
32
31
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
35
|
}>, {
|
|
@@ -32,8 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
32
32
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
}>, {
|
|
35
|
-
width: string;
|
|
36
35
|
height: string;
|
|
36
|
+
width: string;
|
|
37
37
|
color: string;
|
|
38
38
|
fullscreen: boolean;
|
|
39
39
|
usedHeight: number;
|
|
@@ -61,8 +61,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<im
|
|
|
61
61
|
}>>> & Readonly<{
|
|
62
62
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
|
-
width: string;
|
|
65
64
|
height: string;
|
|
65
|
+
width: string;
|
|
66
66
|
ripple: boolean;
|
|
67
67
|
iconSize: string;
|
|
68
68
|
falseIcon: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BTFirebase } from './firebase.ts';
|
|
1
2
|
import { PermissionGroup } from './navigation.ts';
|
|
2
3
|
import { Ref, ComputedRef } from 'vue';
|
|
3
4
|
import { Router } from 'vue-router';
|
|
@@ -33,6 +34,7 @@ export interface CreateAuthOptions {
|
|
|
33
34
|
defaultTimeZone?: string;
|
|
34
35
|
/**expiry token date format. Defaults to 'd/MM/yyyy h:mm:ss a' */
|
|
35
36
|
expiryTokenFormat?: string;
|
|
37
|
+
firebase?: BTFirebase;
|
|
36
38
|
/**OVERRIDES CORE DEFAULT. retrieve the auth item */
|
|
37
39
|
getAuthItem?: (navName?: string | AuthItem) => AuthItem | null;
|
|
38
40
|
/**OVERRIDES DEFAULT. the url to start the OAuth 2.0 process */
|
|
@@ -81,6 +83,7 @@ export interface BTAuth {
|
|
|
81
83
|
isLoggedIn: ComputedRef<boolean>;
|
|
82
84
|
login: (redirectPath?: string, query?: any) => void;
|
|
83
85
|
logout: (navNameRedirect?: string) => void;
|
|
86
|
+
logoutAsync: (navNameRedirect?: string) => Promise<void>;
|
|
84
87
|
refreshTokenExpired: () => boolean;
|
|
85
88
|
resetAuthState: () => void;
|
|
86
89
|
setAuth: (jwtToken?: string) => void;
|