@ethereal-nexus/core 1.2.0 → 1.5.0

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.
Files changed (115) hide show
  1. package/dist/index.js +37 -22
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +37 -22
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/schema/calendar/calendar.d.mts +1 -0
  6. package/dist/schema/calendar/calendar.d.ts +1 -0
  7. package/dist/schema/calendar/calendar.js +3 -2
  8. package/dist/schema/calendar/calendar.js.map +1 -1
  9. package/dist/schema/calendar/calendar.mjs +3 -2
  10. package/dist/schema/calendar/calendar.mjs.map +1 -1
  11. package/dist/schema/calendar/index.js +3 -2
  12. package/dist/schema/calendar/index.js.map +1 -1
  13. package/dist/schema/calendar/index.mjs +3 -2
  14. package/dist/schema/calendar/index.mjs.map +1 -1
  15. package/dist/schema/checkbox/checkbox.d.mts +1 -0
  16. package/dist/schema/checkbox/checkbox.d.ts +1 -0
  17. package/dist/schema/checkbox/checkbox.js +3 -2
  18. package/dist/schema/checkbox/checkbox.js.map +1 -1
  19. package/dist/schema/checkbox/checkbox.mjs +3 -2
  20. package/dist/schema/checkbox/checkbox.mjs.map +1 -1
  21. package/dist/schema/checkbox/index.js +3 -2
  22. package/dist/schema/checkbox/index.js.map +1 -1
  23. package/dist/schema/checkbox/index.mjs +3 -2
  24. package/dist/schema/checkbox/index.mjs.map +1 -1
  25. package/dist/schema/datamodel/datamodel.d.mts +1 -0
  26. package/dist/schema/datamodel/datamodel.d.ts +1 -0
  27. package/dist/schema/datamodel/datamodel.js +3 -2
  28. package/dist/schema/datamodel/datamodel.js.map +1 -1
  29. package/dist/schema/datamodel/datamodel.mjs +3 -2
  30. package/dist/schema/datamodel/datamodel.mjs.map +1 -1
  31. package/dist/schema/datamodel/index.js +3 -2
  32. package/dist/schema/datamodel/index.js.map +1 -1
  33. package/dist/schema/datamodel/index.mjs +3 -2
  34. package/dist/schema/datamodel/index.mjs.map +1 -1
  35. package/dist/schema/datasource/datasource.d.mts +2 -0
  36. package/dist/schema/datasource/datasource.d.ts +2 -0
  37. package/dist/schema/datasource/datasource.js +4 -2
  38. package/dist/schema/datasource/datasource.js.map +1 -1
  39. package/dist/schema/datasource/datasource.mjs +4 -2
  40. package/dist/schema/datasource/datasource.mjs.map +1 -1
  41. package/dist/schema/datasource/index.js +4 -2
  42. package/dist/schema/datasource/index.js.map +1 -1
  43. package/dist/schema/datasource/index.mjs +4 -2
  44. package/dist/schema/datasource/index.mjs.map +1 -1
  45. package/dist/schema/image/image.d.mts +7 -1
  46. package/dist/schema/image/image.d.ts +7 -1
  47. package/dist/schema/image/image.js +4 -3
  48. package/dist/schema/image/image.js.map +1 -1
  49. package/dist/schema/image/image.mjs +4 -3
  50. package/dist/schema/image/image.mjs.map +1 -1
  51. package/dist/schema/image/index.js +4 -3
  52. package/dist/schema/image/index.js.map +1 -1
  53. package/dist/schema/image/index.mjs +4 -3
  54. package/dist/schema/image/index.mjs.map +1 -1
  55. package/dist/schema/multifield/index.js +2 -1
  56. package/dist/schema/multifield/index.js.map +1 -1
  57. package/dist/schema/multifield/index.mjs +2 -1
  58. package/dist/schema/multifield/index.mjs.map +1 -1
  59. package/dist/schema/multifield/multifield.d.mts +2 -1
  60. package/dist/schema/multifield/multifield.d.ts +2 -1
  61. package/dist/schema/multifield/multifield.js +2 -1
  62. package/dist/schema/multifield/multifield.js.map +1 -1
  63. package/dist/schema/multifield/multifield.mjs +2 -1
  64. package/dist/schema/multifield/multifield.mjs.map +1 -1
  65. package/dist/schema/navigation/index.js +3 -2
  66. package/dist/schema/navigation/index.js.map +1 -1
  67. package/dist/schema/navigation/index.mjs +3 -2
  68. package/dist/schema/navigation/index.mjs.map +1 -1
  69. package/dist/schema/navigation/navigation.d.mts +1 -0
  70. package/dist/schema/navigation/navigation.d.ts +1 -0
  71. package/dist/schema/navigation/navigation.js +3 -2
  72. package/dist/schema/navigation/navigation.js.map +1 -1
  73. package/dist/schema/navigation/navigation.mjs +3 -2
  74. package/dist/schema/navigation/navigation.mjs.map +1 -1
  75. package/dist/schema/pathbrowser/index.js +3 -2
  76. package/dist/schema/pathbrowser/index.js.map +1 -1
  77. package/dist/schema/pathbrowser/index.mjs +3 -2
  78. package/dist/schema/pathbrowser/index.mjs.map +1 -1
  79. package/dist/schema/pathbrowser/pathbrowser.d.mts +1 -0
  80. package/dist/schema/pathbrowser/pathbrowser.d.ts +1 -0
  81. package/dist/schema/pathbrowser/pathbrowser.js +3 -2
  82. package/dist/schema/pathbrowser/pathbrowser.js.map +1 -1
  83. package/dist/schema/pathbrowser/pathbrowser.mjs +3 -2
  84. package/dist/schema/pathbrowser/pathbrowser.mjs.map +1 -1
  85. package/dist/schema/rte/index.js +3 -2
  86. package/dist/schema/rte/index.js.map +1 -1
  87. package/dist/schema/rte/index.mjs +3 -2
  88. package/dist/schema/rte/index.mjs.map +1 -1
  89. package/dist/schema/rte/rte.d.mts +1 -0
  90. package/dist/schema/rte/rte.d.ts +1 -0
  91. package/dist/schema/rte/rte.js +3 -2
  92. package/dist/schema/rte/rte.js.map +1 -1
  93. package/dist/schema/rte/rte.mjs +3 -2
  94. package/dist/schema/rte/rte.mjs.map +1 -1
  95. package/dist/schema/select/index.js +6 -2
  96. package/dist/schema/select/index.js.map +1 -1
  97. package/dist/schema/select/index.mjs +6 -2
  98. package/dist/schema/select/index.mjs.map +1 -1
  99. package/dist/schema/select/select.d.mts +4 -3
  100. package/dist/schema/select/select.d.ts +4 -3
  101. package/dist/schema/select/select.js +6 -2
  102. package/dist/schema/select/select.js.map +1 -1
  103. package/dist/schema/select/select.mjs +6 -2
  104. package/dist/schema/select/select.mjs.map +1 -1
  105. package/dist/schema/text/index.js +3 -2
  106. package/dist/schema/text/index.js.map +1 -1
  107. package/dist/schema/text/index.mjs +3 -2
  108. package/dist/schema/text/index.mjs.map +1 -1
  109. package/dist/schema/text/text.d.mts +1 -0
  110. package/dist/schema/text/text.d.ts +1 -0
  111. package/dist/schema/text/text.js +3 -2
  112. package/dist/schema/text/text.js.map +1 -1
  113. package/dist/schema/text/text.mjs +3 -2
  114. package/dist/schema/text/text.mjs.map +1 -1
  115. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  // src/schema/pathbrowser/pathbrowser.ts
2
2
  function pathbrowser(input) {
3
- const { placeholder, label, tooltip, required } = input;
3
+ const { placeholder, label, tooltip, required, defaultValue } = input;
4
4
  return {
5
5
  type: "pathbrowser",
6
6
  _parse() {
@@ -9,7 +9,8 @@ function pathbrowser(input) {
9
9
  label,
10
10
  placeholder,
11
11
  tooltip,
12
- required
12
+ required,
13
+ defaultValue
13
14
  };
14
15
  },
15
16
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/pathbrowser/pathbrowser.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'pathbrowser';\n}\n\ninterface PathBrowserInput extends BaseFieldInput {\n placeholder: string;\n}\n\nexport function pathbrowser(input: PathBrowserInput): PathBrowserSchema {\n const {placeholder, label, tooltip, required} = input;\n\n return {\n type: 'pathbrowser',\n _parse() {\n return {\n type: 'pathbrowser',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAaO,SAAS,YAAY,OAA4C;AACtE,QAAM,EAAC,aAAa,OAAO,SAAS,SAAQ,IAAI;AAEhD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/pathbrowser/pathbrowser.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'pathbrowser';\n}\n\ninterface PathBrowserInput extends BaseFieldInput {\n placeholder: string;\n defaultValue?: string;\n}\n\nexport function pathbrowser(input: PathBrowserInput): PathBrowserSchema {\n const {placeholder, label, tooltip, required, defaultValue} = input;\n\n return {\n type: 'pathbrowser',\n _parse() {\n return {\n type: 'pathbrowser',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAcO,SAAS,YAAY,OAA4C;AACtE,QAAM,EAAC,aAAa,OAAO,SAAS,UAAU,aAAY,IAAI;AAE9D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -10,6 +10,7 @@ interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<
10
10
  }
11
11
  interface PathBrowserInput extends BaseFieldInput {
12
12
  placeholder: string;
13
+ defaultValue?: string;
13
14
  }
14
15
  declare function pathbrowser(input: PathBrowserInput): PathBrowserSchema;
15
16
 
@@ -10,6 +10,7 @@ interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<
10
10
  }
11
11
  interface PathBrowserInput extends BaseFieldInput {
12
12
  placeholder: string;
13
+ defaultValue?: string;
13
14
  }
14
15
  declare function pathbrowser(input: PathBrowserInput): PathBrowserSchema;
15
16
 
@@ -24,7 +24,7 @@ __export(pathbrowser_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(pathbrowser_exports);
26
26
  function pathbrowser(input) {
27
- const { placeholder, label, tooltip, required } = input;
27
+ const { placeholder, label, tooltip, required, defaultValue } = input;
28
28
  return {
29
29
  type: "pathbrowser",
30
30
  _parse() {
@@ -33,7 +33,8 @@ function pathbrowser(input) {
33
33
  label,
34
34
  placeholder,
35
35
  tooltip,
36
- required
36
+ required,
37
+ defaultValue
37
38
  };
38
39
  },
39
40
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/pathbrowser/pathbrowser.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'pathbrowser';\n}\n\ninterface PathBrowserInput extends BaseFieldInput {\n placeholder: string;\n}\n\nexport function pathbrowser(input: PathBrowserInput): PathBrowserSchema {\n const {placeholder, label, tooltip, required} = input;\n\n return {\n type: 'pathbrowser',\n _parse() {\n return {\n type: 'pathbrowser',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaO,SAAS,YAAY,OAA4C;AACtE,QAAM,EAAC,aAAa,OAAO,SAAS,SAAQ,IAAI;AAEhD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/pathbrowser/pathbrowser.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'pathbrowser';\n}\n\ninterface PathBrowserInput extends BaseFieldInput {\n placeholder: string;\n defaultValue?: string;\n}\n\nexport function pathbrowser(input: PathBrowserInput): PathBrowserSchema {\n const {placeholder, label, tooltip, required, defaultValue} = input;\n\n return {\n type: 'pathbrowser',\n _parse() {\n return {\n type: 'pathbrowser',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAAS,YAAY,OAA4C;AACtE,QAAM,EAAC,aAAa,OAAO,SAAS,UAAU,aAAY,IAAI;AAE9D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  // src/schema/pathbrowser/pathbrowser.ts
2
2
  function pathbrowser(input) {
3
- const { placeholder, label, tooltip, required } = input;
3
+ const { placeholder, label, tooltip, required, defaultValue } = input;
4
4
  return {
5
5
  type: "pathbrowser",
6
6
  _parse() {
@@ -9,7 +9,8 @@ function pathbrowser(input) {
9
9
  label,
10
10
  placeholder,
11
11
  tooltip,
12
- required
12
+ required,
13
+ defaultValue
13
14
  };
14
15
  },
15
16
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/pathbrowser/pathbrowser.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'pathbrowser';\n}\n\ninterface PathBrowserInput extends BaseFieldInput {\n placeholder: string;\n}\n\nexport function pathbrowser(input: PathBrowserInput): PathBrowserSchema {\n const {placeholder, label, tooltip, required} = input;\n\n return {\n type: 'pathbrowser',\n _parse() {\n return {\n type: 'pathbrowser',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAaO,SAAS,YAAY,OAA4C;AACtE,QAAM,EAAC,aAAa,OAAO,SAAS,SAAQ,IAAI;AAEhD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/pathbrowser/pathbrowser.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface PathBrowserSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'pathbrowser';\n}\n\ninterface PathBrowserInput extends BaseFieldInput {\n placeholder: string;\n defaultValue?: string;\n}\n\nexport function pathbrowser(input: PathBrowserInput): PathBrowserSchema {\n const {placeholder, label, tooltip, required, defaultValue} = input;\n\n return {\n type: 'pathbrowser',\n _parse() {\n return {\n type: 'pathbrowser',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAcO,SAAS,YAAY,OAA4C;AACtE,QAAM,EAAC,aAAa,OAAO,SAAS,UAAU,aAAY,IAAI;AAE9D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(rte_exports);
26
26
 
27
27
  // src/schema/rte/rte.ts
28
28
  function rte(input) {
29
- const { placeholder, label, tooltip, required } = input;
29
+ const { placeholder, label, tooltip, required, defaultValue } = input;
30
30
  return {
31
31
  type: "richtexteditor",
32
32
  _parse() {
@@ -35,7 +35,8 @@ function rte(input) {
35
35
  label,
36
36
  placeholder,
37
37
  tooltip,
38
- required
38
+ required,
39
+ defaultValue
39
40
  };
40
41
  },
41
42
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/rte/index.ts","../../../src/schema/rte/rte.ts"],"sourcesContent":["export * from './rte'","import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACaO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,SAAQ,IAAI;AAEhD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/rte/index.ts","../../../src/schema/rte/rte.ts"],"sourcesContent":["export * from './rte'","import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required, defaultValue} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACcO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,UAAU,aAAY,IAAI;AAE9D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  // src/schema/rte/rte.ts
2
2
  function rte(input) {
3
- const { placeholder, label, tooltip, required } = input;
3
+ const { placeholder, label, tooltip, required, defaultValue } = input;
4
4
  return {
5
5
  type: "richtexteditor",
6
6
  _parse() {
@@ -9,7 +9,8 @@ function rte(input) {
9
9
  label,
10
10
  placeholder,
11
11
  tooltip,
12
- required
12
+ required,
13
+ defaultValue
13
14
  };
14
15
  },
15
16
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/rte/rte.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAaO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,SAAQ,IAAI;AAEhD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/rte/rte.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required, defaultValue} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAcO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,UAAU,aAAY,IAAI;AAE9D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -10,6 +10,7 @@ interface RichTextEditorSchema<TOutput extends string = string> extends BaseSche
10
10
  }
11
11
  interface RichTextEditorInput extends BaseFieldInput {
12
12
  placeholder?: string;
13
+ defaultValue?: string;
13
14
  }
14
15
  declare function rte(input: RichTextEditorInput): RichTextEditorSchema;
15
16
 
@@ -10,6 +10,7 @@ interface RichTextEditorSchema<TOutput extends string = string> extends BaseSche
10
10
  }
11
11
  interface RichTextEditorInput extends BaseFieldInput {
12
12
  placeholder?: string;
13
+ defaultValue?: string;
13
14
  }
14
15
  declare function rte(input: RichTextEditorInput): RichTextEditorSchema;
15
16
 
@@ -24,7 +24,7 @@ __export(rte_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(rte_exports);
26
26
  function rte(input) {
27
- const { placeholder, label, tooltip, required } = input;
27
+ const { placeholder, label, tooltip, required, defaultValue } = input;
28
28
  return {
29
29
  type: "richtexteditor",
30
30
  _parse() {
@@ -33,7 +33,8 @@ function rte(input) {
33
33
  label,
34
34
  placeholder,
35
35
  tooltip,
36
- required
36
+ required,
37
+ defaultValue
37
38
  };
38
39
  },
39
40
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/rte/rte.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,SAAQ,IAAI;AAEhD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/rte/rte.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required, defaultValue} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,UAAU,aAAY,IAAI;AAE9D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  // src/schema/rte/rte.ts
2
2
  function rte(input) {
3
- const { placeholder, label, tooltip, required } = input;
3
+ const { placeholder, label, tooltip, required, defaultValue } = input;
4
4
  return {
5
5
  type: "richtexteditor",
6
6
  _parse() {
@@ -9,7 +9,8 @@ function rte(input) {
9
9
  label,
10
10
  placeholder,
11
11
  tooltip,
12
- required
12
+ required,
13
+ defaultValue
13
14
  };
14
15
  },
15
16
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/rte/rte.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAaO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,SAAQ,IAAI;AAEhD,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/rte/rte.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface RichTextEditorSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'richtexteditor';\n}\n\ninterface RichTextEditorInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function rte(input: RichTextEditorInput): RichTextEditorSchema {\n const {placeholder, label, tooltip, required, defaultValue} = input;\n\n return {\n type: 'richtexteditor',\n _parse() {\n return {\n type: 'richtexteditor',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAcO,SAAS,IAAI,OAAkD;AACpE,QAAM,EAAC,aAAa,OAAO,SAAS,UAAU,aAAY,IAAI;AAE9D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -26,7 +26,10 @@ module.exports = __toCommonJS(select_exports);
26
26
 
27
27
  // src/schema/select/select.ts
28
28
  function select(input) {
29
- const { label, values, tooltip, placeholder, multiple = false, required } = input;
29
+ const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;
30
+ if (!multiple && Array.isArray(defaultValue)) {
31
+ throw new Error("defaultValue should be a string when multiple is false");
32
+ }
30
33
  return {
31
34
  type: "select",
32
35
  _parse() {
@@ -37,7 +40,8 @@ function select(input) {
37
40
  values,
38
41
  tooltip,
39
42
  placeholder,
40
- required
43
+ required,
44
+ defaultValue
41
45
  };
42
46
  },
43
47
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/select/index.ts","../../../src/schema/select/select.ts"],"sourcesContent":["export * from './select'","import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple\n}\n\ninterface SelectInput extends BaseFieldInput {\n placeholder?: string;\n multiple?: boolean;\n values: {\n value: string;\n label: string;\n }[];\n}\n\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput, TMultiple extends boolean= T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>{\n const { label, values, tooltip, placeholder, multiple = false, required } = input;\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;AC0BO,SAAS,OAA0G,OAAiE;AACzL,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,SAAS,IAAI;AAE5E,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/select/index.ts","../../../src/schema/select/select.ts"],"sourcesContent":["export * from './select'","import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple;\n}\n\ninterface SelectInput<TMultiple extends boolean = false> extends BaseFieldInput {\n placeholder?: string;\n multiple?: TMultiple;\n values: {\n value: string;\n label: string;\n }[];\n defaultValue?: TMultiple extends true ? string[] : string;\n}\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput<TMultiple>, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple> {\n const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;\n\n if (!multiple && Array.isArray(defaultValue)) {\n throw new Error('defaultValue should be a string when multiple is false');\n }\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required,\n defaultValue\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;AC0BO,SAAS,OAAsH,OAAkE;AACtM,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,UAAU,aAAa,IAAI;AAE1F,MAAI,CAAC,YAAY,MAAM,QAAQ,YAAY,GAAG;AAC5C,UAAM,IAAI,MAAM,wDAAwD;AAAA,EAC1E;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
@@ -1,6 +1,9 @@
1
1
  // src/schema/select/select.ts
2
2
  function select(input) {
3
- const { label, values, tooltip, placeholder, multiple = false, required } = input;
3
+ const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;
4
+ if (!multiple && Array.isArray(defaultValue)) {
5
+ throw new Error("defaultValue should be a string when multiple is false");
6
+ }
4
7
  return {
5
8
  type: "select",
6
9
  _parse() {
@@ -11,7 +14,8 @@ function select(input) {
11
14
  values,
12
15
  tooltip,
13
16
  placeholder,
14
- required
17
+ required,
18
+ defaultValue
15
19
  };
16
20
  },
17
21
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/select/select.ts"],"sourcesContent":["import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple\n}\n\ninterface SelectInput extends BaseFieldInput {\n placeholder?: string;\n multiple?: boolean;\n values: {\n value: string;\n label: string;\n }[];\n}\n\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput, TMultiple extends boolean= T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>{\n const { label, values, tooltip, placeholder, multiple = false, required } = input;\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}\n"],"mappings":";AA0BO,SAAS,OAA0G,OAAiE;AACzL,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,SAAS,IAAI;AAE5E,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/select/select.ts"],"sourcesContent":["import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple;\n}\n\ninterface SelectInput<TMultiple extends boolean = false> extends BaseFieldInput {\n placeholder?: string;\n multiple?: TMultiple;\n values: {\n value: string;\n label: string;\n }[];\n defaultValue?: TMultiple extends true ? string[] : string;\n}\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput<TMultiple>, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple> {\n const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;\n\n if (!multiple && Array.isArray(defaultValue)) {\n throw new Error('defaultValue should be a string when multiple is false');\n }\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required,\n defaultValue\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}"],"mappings":";AA0BO,SAAS,OAAsH,OAAkE;AACtM,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,UAAU,aAAa,IAAI;AAE1F,MAAI,CAAC,YAAY,MAAM,QAAQ,YAAY,GAAG;AAC5C,UAAM,IAAI,MAAM,wDAAwD;AAAA,EAC1E;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
@@ -12,19 +12,20 @@ interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<
12
12
  type: 'select';
13
13
  multiple: TMultiple;
14
14
  }
15
- interface SelectInput extends BaseFieldInput {
15
+ interface SelectInput<TMultiple extends boolean = false> extends BaseFieldInput {
16
16
  placeholder?: string;
17
- multiple?: boolean;
17
+ multiple?: TMultiple;
18
18
  values: {
19
19
  value: string;
20
20
  label: string;
21
21
  }[];
22
+ defaultValue?: TMultiple extends true ? string[] : string;
22
23
  }
23
24
  type ValuesType<T extends {
24
25
  values: readonly {
25
26
  value: string;
26
27
  }[];
27
28
  }> = T['values'][number]['value'];
28
- declare function select<const T extends SelectInput, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>;
29
+ declare function select<const T extends SelectInput<TMultiple>, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>;
29
30
 
30
31
  export { type SelectSchema, select };
@@ -12,19 +12,20 @@ interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<
12
12
  type: 'select';
13
13
  multiple: TMultiple;
14
14
  }
15
- interface SelectInput extends BaseFieldInput {
15
+ interface SelectInput<TMultiple extends boolean = false> extends BaseFieldInput {
16
16
  placeholder?: string;
17
- multiple?: boolean;
17
+ multiple?: TMultiple;
18
18
  values: {
19
19
  value: string;
20
20
  label: string;
21
21
  }[];
22
+ defaultValue?: TMultiple extends true ? string[] : string;
22
23
  }
23
24
  type ValuesType<T extends {
24
25
  values: readonly {
25
26
  value: string;
26
27
  }[];
27
28
  }> = T['values'][number]['value'];
28
- declare function select<const T extends SelectInput, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>;
29
+ declare function select<const T extends SelectInput<TMultiple>, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>;
29
30
 
30
31
  export { type SelectSchema, select };
@@ -24,7 +24,10 @@ __export(select_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(select_exports);
26
26
  function select(input) {
27
- const { label, values, tooltip, placeholder, multiple = false, required } = input;
27
+ const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;
28
+ if (!multiple && Array.isArray(defaultValue)) {
29
+ throw new Error("defaultValue should be a string when multiple is false");
30
+ }
28
31
  return {
29
32
  type: "select",
30
33
  _parse() {
@@ -35,7 +38,8 @@ function select(input) {
35
38
  values,
36
39
  tooltip,
37
40
  placeholder,
38
- required
41
+ required,
42
+ defaultValue
39
43
  };
40
44
  },
41
45
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/select/select.ts"],"sourcesContent":["import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple\n}\n\ninterface SelectInput extends BaseFieldInput {\n placeholder?: string;\n multiple?: boolean;\n values: {\n value: string;\n label: string;\n }[];\n}\n\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput, TMultiple extends boolean= T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>{\n const { label, values, tooltip, placeholder, multiple = false, required } = input;\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BO,SAAS,OAA0G,OAAiE;AACzL,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,SAAS,IAAI;AAE5E,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/select/select.ts"],"sourcesContent":["import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple;\n}\n\ninterface SelectInput<TMultiple extends boolean = false> extends BaseFieldInput {\n placeholder?: string;\n multiple?: TMultiple;\n values: {\n value: string;\n label: string;\n }[];\n defaultValue?: TMultiple extends true ? string[] : string;\n}\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput<TMultiple>, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple> {\n const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;\n\n if (!multiple && Array.isArray(defaultValue)) {\n throw new Error('defaultValue should be a string when multiple is false');\n }\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required,\n defaultValue\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BO,SAAS,OAAsH,OAAkE;AACtM,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,UAAU,aAAa,IAAI;AAE1F,MAAI,CAAC,YAAY,MAAM,QAAQ,YAAY,GAAG;AAC5C,UAAM,IAAI,MAAM,wDAAwD;AAAA,EAC1E;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
@@ -1,6 +1,9 @@
1
1
  // src/schema/select/select.ts
2
2
  function select(input) {
3
- const { label, values, tooltip, placeholder, multiple = false, required } = input;
3
+ const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;
4
+ if (!multiple && Array.isArray(defaultValue)) {
5
+ throw new Error("defaultValue should be a string when multiple is false");
6
+ }
4
7
  return {
5
8
  type: "select",
6
9
  _parse() {
@@ -11,7 +14,8 @@ function select(input) {
11
14
  values,
12
15
  tooltip,
13
16
  placeholder,
14
- required
17
+ required,
18
+ defaultValue
15
19
  };
16
20
  },
17
21
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/select/select.ts"],"sourcesContent":["import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple\n}\n\ninterface SelectInput extends BaseFieldInput {\n placeholder?: string;\n multiple?: boolean;\n values: {\n value: string;\n label: string;\n }[];\n}\n\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput, TMultiple extends boolean= T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple>{\n const { label, values, tooltip, placeholder, multiple = false, required } = input;\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}\n"],"mappings":";AA0BO,SAAS,OAA0G,OAAiE;AACzL,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,SAAS,IAAI;AAE5E,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/select/select.ts"],"sourcesContent":["import { BaseFieldInput, BaseSchema } from '../../types';\n\ntype ReadonlyObject<T> = {\n readonly [K in keyof T]: T[K];\n};\n\nexport interface SelectSchema<T, TMultiple extends boolean = false> extends BaseSchema<TMultiple extends true ? T[] : T> {\n /**\n * The schema type.\n */\n type: 'select';\n multiple: TMultiple;\n}\n\ninterface SelectInput<TMultiple extends boolean = false> extends BaseFieldInput {\n placeholder?: string;\n multiple?: TMultiple;\n values: {\n value: string;\n label: string;\n }[];\n defaultValue?: TMultiple extends true ? string[] : string;\n}\n\ntype ValuesType<T extends { values: readonly { value: string }[] }> = T['values'][number]['value'];\n\nexport function select<const T extends SelectInput<TMultiple>, TMultiple extends boolean = T['multiple'] extends true ? true : false>(input: T): SelectSchema<ValuesType<ReadonlyObject<T>>, TMultiple> {\n const { label, values, tooltip, placeholder, multiple = false, required, defaultValue } = input;\n\n if (!multiple && Array.isArray(defaultValue)) {\n throw new Error('defaultValue should be a string when multiple is false');\n }\n\n return {\n type: 'select',\n _parse() {\n return {\n type: 'select',\n label,\n multiple,\n values,\n tooltip,\n placeholder,\n required,\n defaultValue\n };\n },\n _primitive() {\n return multiple ? 'json' : 'string';\n },\n ...input,\n multiple: multiple as TMultiple,\n };\n}"],"mappings":";AA0BO,SAAS,OAAsH,OAAkE;AACtM,QAAM,EAAE,OAAO,QAAQ,SAAS,aAAa,WAAW,OAAO,UAAU,aAAa,IAAI;AAE1F,MAAI,CAAC,YAAY,MAAM,QAAQ,YAAY,GAAG;AAC5C,UAAM,IAAI,MAAM,wDAAwD;AAAA,EAC1E;AAEA,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO,WAAW,SAAS;AAAA,IAC7B;AAAA,IACA,GAAG;AAAA,IACH;AAAA,EACF;AACF;","names":[]}
@@ -26,7 +26,7 @@ module.exports = __toCommonJS(text_exports);
26
26
 
27
27
  // src/schema/text/text.ts
28
28
  function text(input) {
29
- const { placeholder, label, tooltip, required } = input;
29
+ const { placeholder, label, tooltip, required, defaultValue } = input;
30
30
  return {
31
31
  type: "textfield",
32
32
  _parse() {
@@ -35,7 +35,8 @@ function text(input) {
35
35
  label,
36
36
  placeholder,
37
37
  tooltip,
38
- required
38
+ required,
39
+ defaultValue
39
40
  };
40
41
  },
41
42
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/text/index.ts","../../../src/schema/text/text.ts"],"sourcesContent":["export * from './text'","import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACaO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,SAAQ,IAAI;AAE/C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/text/index.ts","../../../src/schema/text/text.ts"],"sourcesContent":["export * from './text'","import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required, defaultValue} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACcO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,UAAU,aAAY,IAAI;AAE7D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  // src/schema/text/text.ts
2
2
  function text(input) {
3
- const { placeholder, label, tooltip, required } = input;
3
+ const { placeholder, label, tooltip, required, defaultValue } = input;
4
4
  return {
5
5
  type: "textfield",
6
6
  _parse() {
@@ -9,7 +9,8 @@ function text(input) {
9
9
  label,
10
10
  placeholder,
11
11
  tooltip,
12
- required
12
+ required,
13
+ defaultValue
13
14
  };
14
15
  },
15
16
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/text/text.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAaO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,SAAQ,IAAI;AAE/C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/text/text.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required, defaultValue} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAcO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,UAAU,aAAY,IAAI;AAE7D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -10,6 +10,7 @@ interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput
10
10
  }
11
11
  interface TextInput extends BaseFieldInput {
12
12
  placeholder?: string;
13
+ defaultValue?: string;
13
14
  }
14
15
  declare function text(input: TextInput): TextSchema;
15
16
 
@@ -10,6 +10,7 @@ interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput
10
10
  }
11
11
  interface TextInput extends BaseFieldInput {
12
12
  placeholder?: string;
13
+ defaultValue?: string;
13
14
  }
14
15
  declare function text(input: TextInput): TextSchema;
15
16
 
@@ -24,7 +24,7 @@ __export(text_exports, {
24
24
  });
25
25
  module.exports = __toCommonJS(text_exports);
26
26
  function text(input) {
27
- const { placeholder, label, tooltip, required } = input;
27
+ const { placeholder, label, tooltip, required, defaultValue } = input;
28
28
  return {
29
29
  type: "textfield",
30
30
  _parse() {
@@ -33,7 +33,8 @@ function text(input) {
33
33
  label,
34
34
  placeholder,
35
35
  tooltip,
36
- required
36
+ required,
37
+ defaultValue
37
38
  };
38
39
  },
39
40
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/text/text.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,SAAQ,IAAI;AAE/C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/text/text.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required, defaultValue} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAcO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,UAAU,aAAY,IAAI;AAE7D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  // src/schema/text/text.ts
2
2
  function text(input) {
3
- const { placeholder, label, tooltip, required } = input;
3
+ const { placeholder, label, tooltip, required, defaultValue } = input;
4
4
  return {
5
5
  type: "textfield",
6
6
  _parse() {
@@ -9,7 +9,8 @@ function text(input) {
9
9
  label,
10
10
  placeholder,
11
11
  tooltip,
12
- required
12
+ required,
13
+ defaultValue
13
14
  };
14
15
  },
15
16
  _primitive() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/schema/text/text.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAaO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,SAAQ,IAAI;AAE/C,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/schema/text/text.ts"],"sourcesContent":["import { BaseFieldInput, type BaseSchema } from '../../types';\n\nexport interface TextSchema<TOutput extends string = string> extends BaseSchema<TOutput> {\n /**\n * The schema type.\n */\n type: 'textfield';\n}\n\ninterface TextInput extends BaseFieldInput {\n placeholder?: string;\n defaultValue?: string;\n}\n\nexport function text(input: TextInput): TextSchema {\n const {placeholder, label,tooltip, required, defaultValue} = input;\n\n return {\n type: 'textfield',\n _parse() {\n return {\n type: 'textfield',\n label,\n placeholder,\n tooltip,\n required,\n defaultValue\n }\n },\n _primitive() {\n return 'string'\n },\n ...input,\n }\n}"],"mappings":";AAcO,SAAS,KAAK,OAA8B;AACjD,QAAM,EAAC,aAAa,OAAM,SAAS,UAAU,aAAY,IAAI;AAE7D,SAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AACP,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,aAAa;AACX,aAAO;AAAA,IACT;AAAA,IACA,GAAG;AAAA,EACL;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethereal-nexus/core",
3
- "version": "1.2.0",
3
+ "version": "1.5.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",