@ciwergrp/nuxid 1.16.4 → 1.16.6

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.d.mts CHANGED
@@ -55,8 +55,13 @@ interface ValidatorOptions {
55
55
  type ValidatorFeatureInput = boolean | Partial<ValidatorOptions> | undefined;
56
56
 
57
57
  interface IconOptionClientBundle {
58
- scan?: boolean;
58
+ scan?: boolean | {
59
+ globInclude?: string[];
60
+ globExclude?: string[];
61
+ };
59
62
  icons?: string[];
63
+ includeCustomCollections?: boolean;
64
+ sizeLimitKb?: number;
60
65
  }
61
66
  interface IconOptionConfig {
62
67
  /**
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ciwergrp/nuxid",
3
3
  "configKey": "nuxid",
4
- "version": "1.16.4",
4
+ "version": "1.16.6",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -23,8 +23,8 @@ export function normalizeValue(value, newValue) {
23
23
  if (typeof value === "boolean") {
24
24
  return value;
25
25
  }
26
- if (typeof value === "number") {
27
- return value.toLocaleString();
26
+ if ((typeof value === "number" || typeof value === "string") && value !== "" && !Number.isNaN(value)) {
27
+ return Number(value).toLocaleString();
28
28
  }
29
29
  if (newValue) {
30
30
  return newValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciwergrp/nuxid",
3
- "version": "1.16.4",
3
+ "version": "1.16.6",
4
4
  "description": "All-in-one essential modules for Nuxt",
5
5
  "repository": {
6
6
  "type": "git",