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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "flowrix",
3
3
  "configKey": "flowrix",
4
- "version": "1.0.1-beta.122",
4
+ "version": "1.0.1-beta.124",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -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: any;
8
- FooterMenu: any;
9
- TopFooter: any;
10
- BottomFooter: any;
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 ContactFooter = defineAsyncComponent(
36
- () => import("~/components/Footer/Template01/ContactFooter.vue")
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 = defineAsyncComponent(
39
- () => import("~/components/Footer/Template01/FooterMenu.vue")
42
+ const FooterMenu = loadComponent(
43
+ "~/components/Footer/Template01/FooterMenu.vue"
40
44
  );
41
- const TopFooter = defineAsyncComponent(
42
- () => import("~/components/Footer/Template01/TopFooter.vue")
45
+ const TopFooter = loadComponent(
46
+ "~/components/Footer/Template01/TopFooter.vue"
43
47
  );
44
- const BottomFooter = defineAsyncComponent(
45
- () => import("~/components/Footer/Template01/BottomFooter.vue")
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;
@@ -31,7 +31,6 @@ export default function(props) {
31
31
  filters,
32
32
  samplesData,
33
33
  // updateFilters,
34
- innerBanner,
35
34
  SideBar,
36
35
  TopBar,
37
36
  SampleCard,
@@ -39,7 +39,8 @@ export default defineEventHandler(async (event) => {
39
39
  };
40
40
  query = {
41
41
  ...query,
42
- "withchildren": "true"
42
+ "withchildren": "true",
43
+ "scope[withchildren]": "true"
43
44
  };
44
45
  const options = {
45
46
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowrix",
3
- "version": "1.0.1-beta.122",
3
+ "version": "1.0.1-beta.124",
4
4
  "description": "Plug-and-play Nuxt eCommerce cart powered by FLOWRiX. Subscription required.",
5
5
  "license": "MIT",
6
6
  "type": "module",