nuxt-glorious 0.8.9 → 1.0.0-1

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/README.md CHANGED
@@ -4,11 +4,14 @@ glorious is module for nuxt 3 for fast make project
4
4
 
5
5
  ## Features
6
6
 
7
+ - Free and [open source](https://github.com/sajadhzj/nuxt-glorious).
8
+ - Ready components.
9
+ - Advanced data fetching
10
+ - handle seo
7
11
  - authenticates
8
- - amazing fetch
9
- - components
10
- - seo
11
-
12
+ - error handling
13
+ - handel loading
14
+ [📖  Read more](https://nuxt-glorious.unibas.ir/)
12
15
  ## Quick Setup
13
16
 
14
17
  Install the module to your Nuxt application with one command:
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "glorious",
3
3
  "configKey": "glorious",
4
- "version": "0.8.9"
4
+ "version": "1.0.0-1"
5
5
  }
@@ -119,5 +119,5 @@ watch(
119
119
  </template>
120
120
 
121
121
  <style scoped>
122
- .glorious-wizard{@apply md:w-full w-max}.glorious-wizard-desktop{@apply md:flex hidden flex-wrap gap-[3%] w-full justify-center}.glorious-wizard-desktop div{@apply flex flex-col items-center}.glorious-wizard-desktop>div>div.circle{@apply rounded-full border border-blue-200 w-12 h-12 flex justify-center items-center}.glorious-wizard-desktop>div>div.circle.checked{@apply border-green-500 bg-green-500}.glorious-wizard-mobile{@apply w-max flex flex-col items-center}.glorious-wizard-mobile>span{@apply text-gray-500 text-[12px]}.circular-progress{align-items:center;border-radius:50%;display:flex;justify-content:center}.circular-progress p,.circular-progress>div{@apply z-[25] text-gray-500}.inner-circle{background-color:#fff;border-radius:50%;position:absolute}.inner-circle.checked{@apply bg-green-500}.percentage{font-size:1rem;position:relative}
122
+ .glorious-wizard{@apply md:w-full w-max}.glorious-wizard-desktop{@apply md:flex hidden flex-wrap gap-[3%] w-full justify-center}.glorious-wizard-desktop div{@apply flex flex-col items-center}.glorious-wizard-desktop>div>div.circle{@apply rounded-full border border-blue-200 w-12 h-12 flex justify-center items-center}.glorious-wizard-desktop>div>div.circle.checked{@apply border-green-500 bg-green-500}.glorious-wizard-mobile{@apply w-max md:hidden flex flex-col items-center}.glorious-wizard-mobile>span{@apply text-gray-500 text-[12px]}.circular-progress{align-items:center;border-radius:50%;display:flex;justify-content:center}.circular-progress p,.circular-progress>div{@apply z-[25] text-gray-500}.inner-circle{background-color:#fff;border-radius:50%;position:absolute}.inner-circle.checked{@apply bg-green-500}.percentage{font-size:1rem;position:relative}
123
123
  </style>
@@ -88,12 +88,12 @@ function computeAuth() {
88
88
  return header;
89
89
  }
90
90
  function computeFormData(options) {
91
- console.log(options.body);
92
91
  const form = new FormData();
93
92
  Object.entries(options.body).forEach((item) => {
93
+ console.log(item[1]);
94
94
  if (item[1] === null)
95
95
  return;
96
- if (typeof item[1] === "object" && typeof item[1].lastModifiedDate === "undefined")
96
+ if (typeof item[1] === "object" && typeof item[1].lastModifiedDate === "undefined" && (typeof item[1].type === "undefined" && typeof item[1].size === "undefined"))
97
97
  Object.entries(item[1]).forEach((nestedItem, index) => {
98
98
  form.append(`${item[0]}[${index}]`, nestedItem[1]);
99
99
  });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.9",
2
+ "version": "1.0.0-1",
3
3
  "name": "nuxt-glorious",
4
4
  "description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
5
5
  "repository": "sajadhzj/nuxt-glorious",