flowrix 1.0.1-beta.122 → 1.0.1-beta.124
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/module.json +1 -1
- package/dist/runtime/composables/Category/useCategoryIndex.js +1 -0
- package/dist/runtime/composables/Footer/useFooter.d.ts +4 -4
- package/dist/runtime/composables/Footer/useFooter.js +12 -8
- package/dist/runtime/composables/Samples/useSamples.d.ts +0 -1
- package/dist/runtime/composables/Samples/useSamples.js +0 -1
- package/dist/runtime/server/api/category/[...slug].js +2 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -18,6 +18,7 @@ export const useCategoryIndex = (props, ProductTypes = []) => {
|
|
|
18
18
|
if (ProductTypes.includes("sample")) {
|
|
19
19
|
query.sample = "true";
|
|
20
20
|
}
|
|
21
|
+
query.ProductTypes = ["custom", "simple", "bundle", "sample"];
|
|
21
22
|
const { data: catData, pending, error, refresh } = useAsyncData(
|
|
22
23
|
`category-${slug}-${JSON.stringify(route.query)}`,
|
|
23
24
|
() => $fetch(`/api/category/${slug}`, { query })
|
|
@@ -4,10 +4,10 @@ export declare const useFooter: () => {
|
|
|
4
4
|
successMessage: import("vue").Ref<string, string>;
|
|
5
5
|
errorMessage: import("vue").Ref<string, string>;
|
|
6
6
|
handleSubmit: () => Promise<void>;
|
|
7
|
-
ContactFooter:
|
|
8
|
-
FooterMenu:
|
|
9
|
-
TopFooter:
|
|
10
|
-
BottomFooter:
|
|
7
|
+
ContactFooter: (new () => import("vue").ComponentPublicInstance) | null;
|
|
8
|
+
FooterMenu: (new () => import("vue").ComponentPublicInstance) | null;
|
|
9
|
+
TopFooter: (new () => import("vue").ComponentPublicInstance) | null;
|
|
10
|
+
BottomFooter: (new () => import("vue").ComponentPublicInstance) | null;
|
|
11
11
|
companyProfile: any;
|
|
12
12
|
getmenu: (location: string) => any;
|
|
13
13
|
NavMenu: any;
|
|
@@ -32,17 +32,21 @@ export const useFooter = () => {
|
|
|
32
32
|
}, 5e3);
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
const
|
|
36
|
-
|
|
35
|
+
const components = import.meta.glob("~/components/Footer/Template01/*.vue");
|
|
36
|
+
function loadComponent(path) {
|
|
37
|
+
return components[path] ? defineAsyncComponent(components[path]) : null;
|
|
38
|
+
}
|
|
39
|
+
const ContactFooter = loadComponent(
|
|
40
|
+
"~/components/Footer/Template01/ContactFooter.vue"
|
|
37
41
|
);
|
|
38
|
-
const FooterMenu =
|
|
39
|
-
|
|
42
|
+
const FooterMenu = loadComponent(
|
|
43
|
+
"~/components/Footer/Template01/FooterMenu.vue"
|
|
40
44
|
);
|
|
41
|
-
const TopFooter =
|
|
42
|
-
|
|
45
|
+
const TopFooter = loadComponent(
|
|
46
|
+
"~/components/Footer/Template01/TopFooter.vue"
|
|
43
47
|
);
|
|
44
|
-
const BottomFooter =
|
|
45
|
-
|
|
48
|
+
const BottomFooter = loadComponent(
|
|
49
|
+
"~/components/Footer/Template01/BottomFooter.vue"
|
|
46
50
|
);
|
|
47
51
|
return {
|
|
48
52
|
email,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export default function (props: any): {
|
|
2
2
|
filters: import("vue").Ref<{}, {}>;
|
|
3
3
|
samplesData: import("vue").ComputedRef<any>;
|
|
4
|
-
innerBanner: new () => import("vue").ComponentPublicInstance;
|
|
5
4
|
SideBar: new () => import("vue").ComponentPublicInstance;
|
|
6
5
|
TopBar: new () => import("vue").ComponentPublicInstance;
|
|
7
6
|
SampleCard: new () => import("vue").ComponentPublicInstance;
|