@axdspub/axiom-ui-forms 0.2.9 → 0.3.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 (229) hide show
  1. package/README.md +272 -272
  2. package/library/axiom-ui-forms.d.ts +213 -77
  3. package/library/esm/_virtual/_commonjsHelpers.js +26 -1
  4. package/library/esm/_virtual/_commonjsHelpers.js.map +1 -1
  5. package/library/esm/_virtual/_freeGlobal.js +7 -0
  6. package/library/esm/_virtual/_freeGlobal.js.map +1 -0
  7. package/library/esm/_virtual/get.js +8 -0
  8. package/library/esm/_virtual/get.js.map +1 -0
  9. package/library/esm/_virtual/index10.js +2 -2
  10. package/library/esm/_virtual/index11.js +2 -2
  11. package/library/esm/_virtual/index12.js +2 -6
  12. package/library/esm/_virtual/index12.js.map +1 -1
  13. package/library/esm/_virtual/index13.js +2 -6
  14. package/library/esm/_virtual/index13.js.map +1 -1
  15. package/library/esm/_virtual/index3.js +2 -2
  16. package/library/esm/_virtual/index3.js.map +1 -1
  17. package/library/esm/_virtual/index5.js +2 -2
  18. package/library/esm/_virtual/index6.js +2 -2
  19. package/library/esm/_virtual/index6.js.map +1 -1
  20. package/library/esm/_virtual/index7.js +6 -2
  21. package/library/esm/_virtual/index7.js.map +1 -1
  22. package/library/esm/_virtual/index8.js +6 -2
  23. package/library/esm/_virtual/index8.js.map +1 -1
  24. package/library/esm/_virtual/index9.js +2 -2
  25. package/library/esm/_virtual/set.js +8 -0
  26. package/library/esm/_virtual/set.js.map +1 -0
  27. package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js +1 -1
  28. package/library/esm/node_modules/@axdspub/axiom-ui-utilities/library/index.js.map +1 -1
  29. package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js +23 -1
  30. package/library/esm/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js.map +1 -1
  31. package/library/esm/node_modules/ajv/dist/compile/codegen/index.js +1 -1
  32. package/library/esm/node_modules/ajv/dist/compile/index.js +1 -1
  33. package/library/esm/node_modules/ajv/dist/compile/validate/index.js +1 -1
  34. package/library/esm/node_modules/ajv/dist/vocabularies/applicator/index.js +1 -1
  35. package/library/esm/node_modules/ajv/dist/vocabularies/core/index.js +1 -1
  36. package/library/esm/node_modules/ajv/dist/vocabularies/format/index.js +1 -1
  37. package/library/esm/node_modules/ajv/dist/vocabularies/validation/index.js +1 -1
  38. package/library/esm/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  39. package/library/esm/node_modules/jotai/esm/react.js +135 -0
  40. package/library/esm/node_modules/jotai/esm/react.js.map +1 -0
  41. package/library/esm/node_modules/jotai/esm/vanilla/internals.js +551 -0
  42. package/library/esm/node_modules/jotai/esm/vanilla/internals.js.map +1 -0
  43. package/library/esm/node_modules/jotai/esm/vanilla.js +111 -0
  44. package/library/esm/node_modules/jotai/esm/vanilla.js.map +1 -0
  45. package/library/esm/node_modules/lodash/_Hash.js +49 -0
  46. package/library/esm/node_modules/lodash/_Hash.js.map +1 -0
  47. package/library/esm/node_modules/lodash/_ListCache.js +49 -0
  48. package/library/esm/node_modules/lodash/_ListCache.js.map +1 -0
  49. package/library/esm/node_modules/lodash/_Map.js +21 -0
  50. package/library/esm/node_modules/lodash/_Map.js.map +1 -0
  51. package/library/esm/node_modules/lodash/_MapCache.js +49 -0
  52. package/library/esm/node_modules/lodash/_MapCache.js.map +1 -0
  53. package/library/esm/node_modules/lodash/_Symbol.js +19 -0
  54. package/library/esm/node_modules/lodash/_Symbol.js.map +1 -0
  55. package/library/esm/node_modules/lodash/_arrayMap.js +33 -0
  56. package/library/esm/node_modules/lodash/_arrayMap.js.map +1 -0
  57. package/library/esm/node_modules/lodash/_assignValue.js +42 -0
  58. package/library/esm/node_modules/lodash/_assignValue.js.map +1 -0
  59. package/library/esm/node_modules/lodash/_assocIndexOf.js +34 -0
  60. package/library/esm/node_modules/lodash/_assocIndexOf.js.map +1 -0
  61. package/library/esm/node_modules/lodash/_baseAssignValue.js +38 -0
  62. package/library/esm/node_modules/lodash/_baseAssignValue.js.map +1 -0
  63. package/library/esm/node_modules/lodash/_baseGet.js +38 -0
  64. package/library/esm/node_modules/lodash/_baseGet.js.map +1 -0
  65. package/library/esm/node_modules/lodash/_baseGetTag.js +43 -0
  66. package/library/esm/node_modules/lodash/_baseGetTag.js.map +1 -0
  67. package/library/esm/node_modules/lodash/_baseIsNative.js +63 -0
  68. package/library/esm/node_modules/lodash/_baseIsNative.js.map +1 -0
  69. package/library/esm/node_modules/lodash/_baseSet.js +68 -0
  70. package/library/esm/node_modules/lodash/_baseSet.js.map +1 -0
  71. package/library/esm/node_modules/lodash/_baseToString.js +50 -0
  72. package/library/esm/node_modules/lodash/_baseToString.js.map +1 -0
  73. package/library/esm/node_modules/lodash/_castPath.js +37 -0
  74. package/library/esm/node_modules/lodash/_castPath.js.map +1 -0
  75. package/library/esm/node_modules/lodash/_coreJsData.js +19 -0
  76. package/library/esm/node_modules/lodash/_coreJsData.js.map +1 -0
  77. package/library/esm/node_modules/lodash/_defineProperty.js +24 -0
  78. package/library/esm/node_modules/lodash/_defineProperty.js.map +1 -0
  79. package/library/esm/node_modules/lodash/_freeGlobal.js +7 -0
  80. package/library/esm/node_modules/lodash/_freeGlobal.js.map +1 -0
  81. package/library/esm/node_modules/lodash/_getMapData.js +31 -0
  82. package/library/esm/node_modules/lodash/_getMapData.js.map +1 -0
  83. package/library/esm/node_modules/lodash/_getNative.js +31 -0
  84. package/library/esm/node_modules/lodash/_getNative.js.map +1 -0
  85. package/library/esm/node_modules/lodash/_getRawTag.js +59 -0
  86. package/library/esm/node_modules/lodash/_getRawTag.js.map +1 -0
  87. package/library/esm/node_modules/lodash/_getValue.js +25 -0
  88. package/library/esm/node_modules/lodash/_getValue.js.map +1 -0
  89. package/library/esm/node_modules/lodash/_hashClear.js +28 -0
  90. package/library/esm/node_modules/lodash/_hashClear.js.map +1 -0
  91. package/library/esm/node_modules/lodash/_hashDelete.js +29 -0
  92. package/library/esm/node_modules/lodash/_hashDelete.js.map +1 -0
  93. package/library/esm/node_modules/lodash/_hashGet.js +43 -0
  94. package/library/esm/node_modules/lodash/_hashGet.js.map +1 -0
  95. package/library/esm/node_modules/lodash/_hashHas.js +36 -0
  96. package/library/esm/node_modules/lodash/_hashHas.js.map +1 -0
  97. package/library/esm/node_modules/lodash/_hashSet.js +36 -0
  98. package/library/esm/node_modules/lodash/_hashSet.js.map +1 -0
  99. package/library/esm/node_modules/lodash/_isIndex.js +37 -0
  100. package/library/esm/node_modules/lodash/_isIndex.js.map +1 -0
  101. package/library/esm/node_modules/lodash/_isKey.js +43 -0
  102. package/library/esm/node_modules/lodash/_isKey.js.map +1 -0
  103. package/library/esm/node_modules/lodash/_isKeyable.js +27 -0
  104. package/library/esm/node_modules/lodash/_isKeyable.js.map +1 -0
  105. package/library/esm/node_modules/lodash/_isMasked.js +33 -0
  106. package/library/esm/node_modules/lodash/_isMasked.js.map +1 -0
  107. package/library/esm/node_modules/lodash/_listCacheClear.js +25 -0
  108. package/library/esm/node_modules/lodash/_listCacheClear.js.map +1 -0
  109. package/library/esm/node_modules/lodash/_listCacheDelete.js +48 -0
  110. package/library/esm/node_modules/lodash/_listCacheDelete.js.map +1 -0
  111. package/library/esm/node_modules/lodash/_listCacheGet.js +32 -0
  112. package/library/esm/node_modules/lodash/_listCacheGet.js.map +1 -0
  113. package/library/esm/node_modules/lodash/_listCacheHas.js +29 -0
  114. package/library/esm/node_modules/lodash/_listCacheHas.js.map +1 -0
  115. package/library/esm/node_modules/lodash/_listCacheSet.js +39 -0
  116. package/library/esm/node_modules/lodash/_listCacheSet.js.map +1 -0
  117. package/library/esm/node_modules/lodash/_mapCacheClear.js +36 -0
  118. package/library/esm/node_modules/lodash/_mapCacheClear.js.map +1 -0
  119. package/library/esm/node_modules/lodash/_mapCacheDelete.js +31 -0
  120. package/library/esm/node_modules/lodash/_mapCacheDelete.js.map +1 -0
  121. package/library/esm/node_modules/lodash/_mapCacheGet.js +29 -0
  122. package/library/esm/node_modules/lodash/_mapCacheGet.js.map +1 -0
  123. package/library/esm/node_modules/lodash/_mapCacheHas.js +29 -0
  124. package/library/esm/node_modules/lodash/_mapCacheHas.js.map +1 -0
  125. package/library/esm/node_modules/lodash/_mapCacheSet.js +35 -0
  126. package/library/esm/node_modules/lodash/_mapCacheSet.js.map +1 -0
  127. package/library/esm/node_modules/lodash/_memoizeCapped.js +39 -0
  128. package/library/esm/node_modules/lodash/_memoizeCapped.js.map +1 -0
  129. package/library/esm/node_modules/lodash/_nativeCreate.js +19 -0
  130. package/library/esm/node_modules/lodash/_nativeCreate.js.map +1 -0
  131. package/library/esm/node_modules/lodash/_objectToString.js +34 -0
  132. package/library/esm/node_modules/lodash/_objectToString.js.map +1 -0
  133. package/library/esm/node_modules/lodash/_root.js +22 -0
  134. package/library/esm/node_modules/lodash/_root.js.map +1 -0
  135. package/library/esm/node_modules/lodash/_stringToPath.js +40 -0
  136. package/library/esm/node_modules/lodash/_stringToPath.js.map +1 -0
  137. package/library/esm/node_modules/lodash/_toKey.js +31 -0
  138. package/library/esm/node_modules/lodash/_toKey.js.map +1 -0
  139. package/library/esm/node_modules/lodash/_toSource.js +38 -0
  140. package/library/esm/node_modules/lodash/_toSource.js.map +1 -0
  141. package/library/esm/node_modules/lodash/eq.js +49 -0
  142. package/library/esm/node_modules/lodash/eq.js.map +1 -0
  143. package/library/esm/node_modules/lodash/get.js +46 -0
  144. package/library/esm/node_modules/lodash/get.js.map +1 -0
  145. package/library/esm/node_modules/lodash/isArray.js +38 -0
  146. package/library/esm/node_modules/lodash/isArray.js.map +1 -0
  147. package/library/esm/node_modules/lodash/isFunction.js +51 -0
  148. package/library/esm/node_modules/lodash/isFunction.js.map +1 -0
  149. package/library/esm/node_modules/lodash/isObject.js +43 -0
  150. package/library/esm/node_modules/lodash/isObject.js.map +1 -0
  151. package/library/esm/node_modules/lodash/isObjectLike.js +41 -0
  152. package/library/esm/node_modules/lodash/isObjectLike.js.map +1 -0
  153. package/library/esm/node_modules/lodash/isSymbol.js +43 -0
  154. package/library/esm/node_modules/lodash/isSymbol.js.map +1 -0
  155. package/library/esm/node_modules/lodash/memoize.js +86 -0
  156. package/library/esm/node_modules/lodash/memoize.js.map +1 -0
  157. package/library/esm/node_modules/lodash/set.js +48 -0
  158. package/library/esm/node_modules/lodash/set.js.map +1 -0
  159. package/library/esm/node_modules/lodash/toString.js +41 -0
  160. package/library/esm/node_modules/lodash/toString.js.map +1 -0
  161. package/library/esm/node_modules/react-router/dist/development/chunk-HA7DTUK3.js +1 -1
  162. package/library/esm/node_modules/unified/lib/index.js +1 -1
  163. package/library/esm/src/Form/Components/FieldCreator.js +24 -7
  164. package/library/esm/src/Form/Components/FieldCreator.js.map +1 -1
  165. package/library/esm/src/Form/Components/FieldLabel.js +1 -1
  166. package/library/esm/src/Form/Components/FieldLabel.js.map +1 -1
  167. package/library/esm/src/Form/Components/InlineMarkdown.js.map +1 -1
  168. package/library/esm/src/Form/Components/Inputs/Boolean.js.map +1 -1
  169. package/library/esm/src/Form/Components/Inputs/Constant.js.map +1 -1
  170. package/library/esm/src/Form/Components/Inputs/Date.js.map +1 -1
  171. package/library/esm/src/Form/Components/Inputs/DateTime.js.map +1 -1
  172. package/library/esm/src/Form/Components/Inputs/GeoJSON.js.map +1 -1
  173. package/library/esm/src/Form/Components/Inputs/GeoJSONInputLoader.js.map +1 -1
  174. package/library/esm/src/Form/Components/Inputs/Geometry.js +38 -32
  175. package/library/esm/src/Form/Components/Inputs/Geometry.js.map +1 -1
  176. package/library/esm/src/Form/Components/Inputs/GeometryInputLoader.js +4 -1
  177. package/library/esm/src/Form/Components/Inputs/GeometryInputLoader.js.map +1 -1
  178. package/library/esm/src/Form/Components/Inputs/JSON.js +83 -42
  179. package/library/esm/src/Form/Components/Inputs/JSON.js.map +1 -1
  180. package/library/esm/src/Form/Components/Inputs/JSONInputLoader.js.map +1 -1
  181. package/library/esm/src/Form/Components/Inputs/LongString.js.map +1 -1
  182. package/library/esm/src/Form/Components/Inputs/Number.js +34 -9
  183. package/library/esm/src/Form/Components/Inputs/Number.js.map +1 -1
  184. package/library/esm/src/Form/Components/Inputs/Object.js +7 -2
  185. package/library/esm/src/Form/Components/Inputs/Object.js.map +1 -1
  186. package/library/esm/src/Form/Components/Inputs/OneOfInput.js.map +1 -1
  187. package/library/esm/src/Form/Components/Inputs/RadioGroup.js.map +1 -1
  188. package/library/esm/src/Form/Components/Inputs/SingleSelect.js +2 -1
  189. package/library/esm/src/Form/Components/Inputs/SingleSelect.js.map +1 -1
  190. package/library/esm/src/Form/Components/Inputs/String.js +2 -2
  191. package/library/esm/src/Form/Components/Inputs/String.js.map +1 -1
  192. package/library/esm/src/Form/Components/Inputs/Time.js.map +1 -1
  193. package/library/esm/src/Form/Components/Inputs/index.js +11 -0
  194. package/library/esm/src/Form/Components/Inputs/index.js.map +1 -0
  195. package/library/esm/src/Form/Components/Inputs/inputMap.js.map +1 -1
  196. package/library/esm/src/Form/Creator/FormContextProvider.js.map +1 -1
  197. package/library/esm/src/Form/Creator/FormCreator.js +20 -9
  198. package/library/esm/src/Form/Creator/FormCreator.js.map +1 -1
  199. package/library/esm/src/Form/Creator/FormFields.js.map +1 -1
  200. package/library/esm/src/Form/Creator/FormHeader.js.map +1 -1
  201. package/library/esm/src/Form/Creator/FormSection.js.map +1 -1
  202. package/library/esm/src/Form/Creator/FormSectionContextProvider.js.map +1 -1
  203. package/library/esm/src/Form/Creator/NavElement.js.map +1 -1
  204. package/library/esm/src/Form/Creator/Page.js +40 -7
  205. package/library/esm/src/Form/Creator/Page.js.map +1 -1
  206. package/library/esm/src/Form/Creator/Wizard.js +79 -22
  207. package/library/esm/src/Form/Creator/Wizard.js.map +1 -1
  208. package/library/esm/src/Form/Manage/CopyableJSONOutput.js +3 -3
  209. package/library/esm/src/Form/Manage/CopyableJSONOutput.js.map +1 -1
  210. package/library/esm/src/library.js +11 -13
  211. package/library/esm/src/library.js.map +1 -1
  212. package/library/esm/src/utils/getters.js +135 -0
  213. package/library/esm/src/utils/getters.js.map +1 -0
  214. package/library/esm/src/utils/manipulators.js +171 -0
  215. package/library/esm/src/utils/manipulators.js.map +1 -0
  216. package/library/esm/src/utils/resolveRefs.js +44 -0
  217. package/library/esm/src/utils/resolveRefs.js.map +1 -0
  218. package/library/esm/src/utils/responsive/layoutState.js +18 -0
  219. package/library/esm/src/utils/responsive/layoutState.js.map +1 -0
  220. package/library/esm/src/{Form → utils}/schemaToFormHelpers.js +157 -38
  221. package/library/esm/src/utils/schemaToFormHelpers.js.map +1 -0
  222. package/library/esm/src/utils/validators.js +38 -0
  223. package/library/esm/src/utils/validators.js.map +1 -0
  224. package/package.json +131 -124
  225. package/library/esm/src/Form/helpers.js +0 -162
  226. package/library/esm/src/Form/helpers.js.map +0 -1
  227. package/library/esm/src/Form/resolveRefs.js +0 -26
  228. package/library/esm/src/Form/resolveRefs.js.map +0 -1
  229. package/library/esm/src/Form/schemaToFormHelpers.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { GeoJSON } from 'geojson';
2
2
  import { JSONSchema6, JSONSchema6Type, JSONSchema6Definition } from 'json-schema';
3
- import React$1, { ReactElement } from 'react';
3
+ import React$1, { ReactNode, ReactElement } from 'react';
4
4
 
5
5
  interface IValueTypes {
6
6
  text: string;
@@ -18,13 +18,14 @@ interface ICompositeValueType {
18
18
  [key: string]: IValueType | IValueType[] | undefined;
19
19
  }
20
20
  type IValueType = undefined | null | ValueOf<IValueTypes>;
21
- type IFormField = ITextField | IConstantField | INumberField | ILongTextField | IJSONField | ISelectField | IRadioField | ICheckboxField | IDateField | ITimeField | IDateTimeField | IBooleanField | IObjectField | IObjectListField | IOneOfField | IGeoJSONField | IGeometryField | IFormFieldSection | ICustomFIeld;
21
+ type IFormField = ITextField | IConstantField | INumberField | ILongTextField | IJSONField | ISelectField | IRadioField | ICheckboxField | IDateField | ITimeField | IDateTimeField | IBooleanField | IObjectField | IObjectListField | IOneOfField | IGeoJSONField | IGeometryField | IFormFieldSection | ICustomField;
22
22
  type IFormFieldType = 'text' | 'long_text' | 'number' | 'json' | 'select' | 'radio' | 'checkbox' | 'date' | 'time' | 'datetime' | 'boolean' | 'object' | 'objectList' | 'oneOf' | 'geojson' | 'geometry' | `custom:${string}`;
23
23
  type ISectionFormFieldType = 'section' | 'page';
24
24
  interface IFieldConditions {
25
25
  dependsOn: string | string[];
26
26
  value: string | number | boolean;
27
27
  }
28
+ type IFieldConstraints = Record<string, unknown>;
28
29
  interface IFormFieldRoot {
29
30
  id: string;
30
31
  type: string;
@@ -36,8 +37,10 @@ interface IFormFieldRoot {
36
37
  fullPath?: string[];
37
38
  destPath?: string;
38
39
  level?: number;
40
+ index?: number;
39
41
  defaultValue?: IValueType | IValueType[];
40
42
  conditions?: IFieldConditions;
43
+ constraints?: IFieldConstraints;
41
44
  settings?: Record<string, unknown>;
42
45
  }
43
46
  interface IConstantField extends IFormFieldRoot {
@@ -51,6 +54,8 @@ interface INumberValueInput extends IFormFieldRoot {
51
54
  };
52
55
  settings?: {
53
56
  step?: number;
57
+ canBeNull?: boolean;
58
+ nonNullDefaultValue?: number;
54
59
  };
55
60
  }
56
61
  interface INumberField extends INumberValueInput {
@@ -67,8 +72,12 @@ interface ILongTextField extends IStringValueInput {
67
72
  }
68
73
  interface IJSONField extends IFormFieldRoot {
69
74
  type: 'json';
75
+ settings?: {
76
+ exportAsString?: boolean;
77
+ allowEmpty?: boolean;
78
+ };
70
79
  }
71
- interface ICustomFIeld extends IFormFieldRoot {
80
+ interface ICustomField extends IFormFieldRoot {
72
81
  type: `custom:${string}`;
73
82
  }
74
83
  interface ISelectOption {
@@ -105,7 +114,7 @@ interface ICheckboxField extends IMultiSelectableInput {
105
114
  interface IBooleanField extends IFormFieldRoot {
106
115
  type: 'boolean';
107
116
  }
108
- interface IDateFieldConstraints {
117
+ interface IDateFieldConstraints extends IFieldConstraints {
109
118
  minDate?: string;
110
119
  maxDate?: string;
111
120
  }
@@ -113,7 +122,7 @@ interface IDateField extends IFormFieldRoot {
113
122
  type: 'date';
114
123
  constraints?: IDateFieldConstraints;
115
124
  }
116
- interface ITimeFieldConstraints {
125
+ interface ITimeFieldConstraints extends IFieldConstraints {
117
126
  minTime?: string;
118
127
  maxTime?: string;
119
128
  }
@@ -121,7 +130,7 @@ interface ITimeField extends IFormFieldRoot {
121
130
  type: 'time';
122
131
  constraints?: ITimeFieldConstraints;
123
132
  }
124
- interface IDateTimeConstraints {
133
+ interface IDateTimeConstraints extends IFieldConstraints {
125
134
  minDateTime?: string;
126
135
  maxDateTime?: string;
127
136
  }
@@ -133,21 +142,28 @@ interface IContainerField extends IFormFieldRoot {
133
142
  skip_path?: boolean;
134
143
  fields: IFormField[];
135
144
  layout?: 'horizontal' | 'vertical' | 'grid2' | 'grid3' | 'grid4';
145
+ multiple?: boolean;
136
146
  }
137
- interface IObjectField extends IContainerField {
147
+ type EnforceContainerFieldConstraints<T extends IContainerField> = T extends {
148
+ skip_path: true;
149
+ } ? T & {
150
+ multiple: false;
151
+ } : T;
152
+ type IValidContainerField = EnforceContainerFieldConstraints<IContainerField>;
153
+ interface IObjectField extends IValidContainerField {
138
154
  type: 'object';
139
155
  }
140
- interface IObjectListField extends IContainerField {
156
+ interface IObjectListField extends IValidContainerField {
141
157
  type: 'objectList';
142
158
  }
143
- interface IOneOfField extends IContainerField {
159
+ interface IOneOfField extends IValidContainerField {
144
160
  type: 'oneOf';
145
161
  discriminator?: {
146
162
  mapping?: Record<string, string>;
147
163
  propertyName?: string;
148
164
  };
149
165
  }
150
- interface IFormFieldSection extends IContainerField {
166
+ interface IFormFieldSection extends IValidContainerField {
151
167
  type: 'section' | 'page';
152
168
  }
153
169
  interface IFormFieldPage extends IFormFieldSection {
@@ -162,23 +178,37 @@ interface IGeometryField extends IFormFieldRoot {
162
178
  type: 'geometry';
163
179
  exclude_types?: string[];
164
180
  include_types?: string[];
181
+ settings?: {
182
+ drawEnabled?: boolean;
183
+ drawPolygonEnabled?: boolean;
184
+ drawPathEnabled?: boolean;
185
+ drawPointEnabled?: boolean;
186
+ showCoordinateInput?: boolean;
187
+ height?: string;
188
+ defaultCenter?: {
189
+ lat: number;
190
+ lon: number;
191
+ zoom: number;
192
+ };
193
+ };
165
194
  }
166
195
  interface IFormSection {
167
196
  id: string;
168
197
  label?: string;
169
198
  description?: string;
199
+ order?: number;
170
200
  fields?: IFormField[];
171
201
  pages?: IPage[];
172
202
  wizard_steps?: IWizardStep[];
173
203
  }
174
- interface IPage extends Omit<IForm, 'pages'> {
175
- id: string;
176
- label: string;
177
- description?: string;
178
- fields: IFormField[];
204
+ interface IPage extends Omit<IFormSection, 'pages'> {
179
205
  }
180
- interface IWizardStep extends Omit<IForm, 'wizard_steps'> {
181
- order: number;
206
+ interface IWizardStep extends Omit<IFormSection, 'wizard_steps'> {
207
+ }
208
+ interface IFormSettings {
209
+ url_navigable?: boolean;
210
+ class_name?: string;
211
+ show_progress?: boolean;
182
212
  }
183
213
  interface IForm {
184
214
  id: string;
@@ -188,20 +218,20 @@ interface IForm {
188
218
  fields?: IFormField[];
189
219
  pages?: IPage[];
190
220
  wizard_steps?: IWizardStep[];
191
- settings?: {
192
- url_navigable?: boolean;
193
- class_name?: string;
194
- show_progress?: boolean;
195
- };
221
+ settings?: IFormSettings;
196
222
  }
197
223
  type IFormFieldOverride = Partial<IFormField> & {
198
224
  prop: string;
225
+ } | IObjectFormFieldOverride;
226
+ type IObjectFormFieldOverride = Omit<Partial<IObjectField>, 'fields'> & {
227
+ fields?: IFormFieldOverride[];
228
+ prop: string;
199
229
  };
200
- interface IFormSectionOverride extends IFormOverride {
230
+ interface IFormSectionOverride extends Omit<IFormOverride, 'settings'> {
201
231
  }
202
- interface IPageOverride extends Omit<IFormOverride, 'pages'> {
232
+ interface IPageOverride extends Omit<IFormSectionOverride, 'pages'> {
203
233
  }
204
- interface IWizardStepOverride extends Omit<IFormOverride, 'wizard_steps'> {
234
+ interface IWizardStepOverride extends Omit<IFormSectionOverride, 'wizard_steps'> {
205
235
  }
206
236
  interface IFormOverride {
207
237
  id?: string;
@@ -210,6 +240,7 @@ interface IFormOverride {
210
240
  pages?: IPageOverride[];
211
241
  wizard_steps?: IWizardStepOverride[];
212
242
  fields?: IFormFieldOverride[];
243
+ settings?: IFormSettings;
213
244
  }
214
245
  interface IFormWithPages {
215
246
  id: string;
@@ -221,7 +252,9 @@ interface IFormFieldProps {
221
252
  field: IFormField;
222
253
  onChange?: IValueChangeFn;
223
254
  }
224
- type IFormValues = Record<string, IValueType | IValueType[]>;
255
+ interface IFormValues {
256
+ [key: string]: IValueType | IValueType[] | undefined | IFormValues;
257
+ }
225
258
  type IFormValueState = [IFormValues, (v: IFormValues) => void];
226
259
  type IFormInputComponent = React.FC<IFormFieldProps>;
227
260
  type IValueChangeFn = (v: IValueType | IValueType[] | undefined) => void;
@@ -232,10 +265,109 @@ interface IFieldInputProps {
232
265
  className?: string;
233
266
  }
234
267
 
268
+ /**
269
+ * Returns the JSON path for a given field
270
+ *
271
+ * @param field - The field to get the JSON path for
272
+ * @param index - The index of the field in the array (optional)
273
+ * @returns The JSON path for the given field
274
+ */
275
+ declare const makeJsonPath: (field: IFormField, index?: number) => string | undefined;
276
+ /**
277
+ * Returns the child fields of a given field
278
+ *
279
+ * @param field - The field to get the child fields from
280
+ * @returns The child fields of the given field
281
+ */
282
+ declare const getChildFields: (field: {
283
+ id: string;
284
+ fields?: IFormField[];
285
+ }) => IFormField[];
286
+ /**
287
+ * Recursively gets all fields from a given array of fields
288
+ *
289
+ * @param fields - The array of fields to get the fields from
290
+ * @returns An array of all fields
291
+ */
292
+ declare const getFields: (fields?: Array<{
293
+ id: string;
294
+ fields?: IFormField[];
295
+ }>) => IFormField[];
296
+ /**
297
+ * Wrapper for lodash `get` function to get the value from a given path in the form values
298
+ *
299
+ * @param path - The path to get the value from
300
+ * @param formValues - The form values to get the value from
301
+ * @returns The value from the given path in the form values or undefined
302
+ */
303
+ declare function getValueFromPath(path: string, formValues: IFormValues): IValueType | IValueType[] | undefined;
304
+ /**
305
+ * Returns the value of a given field from the form values
306
+ *
307
+ * @param field - The field to get the value from
308
+ * @param formValues - The form values to get the value from
309
+ * @param index - The index of the field in the array (optional). If undefined, the last value will be returned as an array if it is one
310
+ * @returns The value of the given field from the form values or undefined
311
+ */
312
+ declare function getFieldValue(field: IFormField, formValues: IFormValues, index?: number): IValueType | IValueType[] | undefined;
313
+ /**
314
+ * Returns the path of a given field. Used for writing to form values
315
+ *
316
+ * @param field - The field to get the path from
317
+ * @returns The path of the given field or the id of the field if no path is defined
318
+ */
319
+ declare function getPathFromField(field: IFormField): string | undefined;
320
+ /**
321
+ * Returns all fields and child from a given form section. A form can be a form section or a wizard step or a page. This will recursively find child fields in pages, wizard steps and object fields
322
+ *
323
+ * @param formSection - The form section to get the fields from
324
+ * @returns An array of fields from the given form section
325
+ */
326
+ declare function getFieldsFromFormSection(formSection: IFormSection): IFormField[];
327
+
328
+ declare const getters_getChildFields: typeof getChildFields;
329
+ declare const getters_getFieldValue: typeof getFieldValue;
330
+ declare const getters_getFields: typeof getFields;
331
+ declare const getters_getFieldsFromFormSection: typeof getFieldsFromFormSection;
332
+ declare const getters_getPathFromField: typeof getPathFromField;
333
+ declare const getters_getValueFromPath: typeof getValueFromPath;
334
+ declare const getters_makeJsonPath: typeof makeJsonPath;
335
+ declare namespace getters {
336
+ export { getters_getChildFields as getChildFields, getters_getFieldValue as getFieldValue, getters_getFields as getFields, getters_getFieldsFromFormSection as getFieldsFromFormSection, getters_getPathFromField as getPathFromField, getters_getValueFromPath as getValueFromPath, getters_makeJsonPath as makeJsonPath };
337
+ }
338
+
339
+ declare const addFieldPath: (field: IFormField, parentPath?: IFormField[]) => IFormField;
340
+ declare function copyAndAddPathToFields(formOrContainer: IFormSection | IForm): IForm;
341
+ declare function copyAndRemovePathFromFields(formOrContainer: IFormSection | IForm): IForm;
342
+ declare function cleanUnusedDependenciesFromFormValues(form: IForm, formValues: IFormValues): IFormValues;
343
+ declare function updateFormValuesWithFieldValueInPlace(field: IFormField, newValue: IValueType | IValueType[], formValues: IFormValues): void;
344
+ declare function updateFormValuesWithFieldValue(field: IFormField, newValue: IValueType | IValueType[], formValues: IFormValues): IFormValues;
345
+ declare function cleanAndUpdateFormValuesWithFieldValue({ field, form, value, formValues }: {
346
+ field: IFormField;
347
+ form: IForm;
348
+ value: IValueType | IValueType[];
349
+ formValues: IFormValues;
350
+ }): IFormValues;
351
+ declare const assignDefaultValuesToFormValues: (form: IForm, formValues: IFormValues) => IFormValues;
352
+ declare const createOneOfMultipleField: (field: IFormField, index: number) => IFormField;
353
+
354
+ declare const manipulators_addFieldPath: typeof addFieldPath;
355
+ declare const manipulators_assignDefaultValuesToFormValues: typeof assignDefaultValuesToFormValues;
356
+ declare const manipulators_cleanAndUpdateFormValuesWithFieldValue: typeof cleanAndUpdateFormValuesWithFieldValue;
357
+ declare const manipulators_cleanUnusedDependenciesFromFormValues: typeof cleanUnusedDependenciesFromFormValues;
358
+ declare const manipulators_copyAndAddPathToFields: typeof copyAndAddPathToFields;
359
+ declare const manipulators_copyAndRemovePathFromFields: typeof copyAndRemovePathFromFields;
360
+ declare const manipulators_createOneOfMultipleField: typeof createOneOfMultipleField;
361
+ declare const manipulators_updateFormValuesWithFieldValue: typeof updateFormValuesWithFieldValue;
362
+ declare const manipulators_updateFormValuesWithFieldValueInPlace: typeof updateFormValuesWithFieldValueInPlace;
363
+ declare namespace manipulators {
364
+ export { manipulators_addFieldPath as addFieldPath, manipulators_assignDefaultValuesToFormValues as assignDefaultValuesToFormValues, manipulators_cleanAndUpdateFormValuesWithFieldValue as cleanAndUpdateFormValuesWithFieldValue, manipulators_cleanUnusedDependenciesFromFormValues as cleanUnusedDependenciesFromFormValues, manipulators_copyAndAddPathToFields as copyAndAddPathToFields, manipulators_copyAndRemovePathFromFields as copyAndRemovePathFromFields, manipulators_createOneOfMultipleField as createOneOfMultipleField, manipulators_updateFormValuesWithFieldValue as updateFormValuesWithFieldValue, manipulators_updateFormValuesWithFieldValueInPlace as updateFormValuesWithFieldValueInPlace };
365
+ }
366
+
235
367
  interface IFormCreatorProps {
236
368
  form: IForm;
237
369
  schema?: JSONSchema6;
238
- formValueState: [IFormValues, (v: IFormValues) => void];
370
+ formValueState?: [IFormValues, (v: IFormValues) => void];
239
371
  note?: string;
240
372
  error?: string;
241
373
  onChange?: IValueChangeFn;
@@ -243,8 +375,10 @@ interface IFormCreatorProps {
243
375
  defaultClassName?: string;
244
376
  urlNavigable?: boolean;
245
377
  inputOverrides?: Record<string, React$1.FC<IFieldInputProps>>;
378
+ header?: ReactNode;
379
+ footer?: ReactNode;
246
380
  }
247
- declare const FormCreator: ({ form, formValueState, note, error, onChange, className, defaultClassName, urlNavigable, inputOverrides, schema }: IFormCreatorProps) => ReactElement;
381
+ declare const FormCreator: ({ form, formValueState, note, error, onChange, className, defaultClassName, urlNavigable, inputOverrides, schema, footer, header }: IFormCreatorProps) => ReactElement;
248
382
  type IFormSectionStatus = Record<string, {
249
383
  completed: number;
250
384
  total: number;
@@ -253,27 +387,51 @@ type IFormSectionStatus = Record<string, {
253
387
  valid: boolean;
254
388
  }>;
255
389
 
256
- declare const getChildFields: (field: {
257
- id: string;
258
- fields?: IFormField[];
259
- }) => IFormField[];
260
- declare const addFieldPath: (field: IFormField, parentPath?: IFormField[]) => IFormField;
261
- declare const getUniqueFormFields: (form: IForm) => IFormField[];
262
- declare const getFields: (fields?: Array<{
263
- id: string;
264
- fields?: IFormField[];
265
- }>) => IFormField[];
266
- declare function copyAndAddPathToFields(formOrContainer: IForm): IForm;
267
- declare function getFieldValue(field: IFormField, formValues: IFormValues): IValueType | IValueType[] | undefined;
268
- declare function getPathFromField(field: IFormField): string;
269
390
  declare const checkCondition: (field: IFormField, formValues: IFormValues) => boolean;
270
- declare function getFieldsFromFormSection(formSection: IFormSection): IFormField[];
271
- declare function cleanUnusedDependenciesFromFormValues(form: IForm, formValues: IFormValues): IFormValues;
272
- declare function updateFormValuesWithFieldValueInPlace(field: IFormField, newValue: IValueType | IValueType[], formValues: IFormValues): void;
273
- declare function updateFormValuesWithFieldValue(field: IFormField, newValue: IValueType | IValueType[], formValues: IFormValues): IFormValues;
274
- declare const makeJsonPath: (field: IFormField, index?: number) => string;
275
391
  declare const calculateSectionStatus: (sections: IFormSection[], formValueState: IFormValueState) => IFormSectionStatus;
276
- declare const assignDefaultValuesToFormValues: (form: IForm, formValues: IFormValues) => IFormValues;
392
+
393
+ declare const validators_calculateSectionStatus: typeof calculateSectionStatus;
394
+ declare const validators_checkCondition: typeof checkCondition;
395
+ declare namespace validators {
396
+ export { validators_calculateSectionStatus as calculateSectionStatus, validators_checkCondition as checkCondition };
397
+ }
398
+
399
+ declare const validateSchema: (schemaOb: unknown, version?: number) => {
400
+ schema?: JSONSchema6;
401
+ error?: string;
402
+ unrefed?: JSONSchema6;
403
+ };
404
+ declare const validateAgainstSchema: (schema: JSONSchema6, formValues: IFormValues) => string[] | undefined;
405
+ declare const getValueFromSchema: (schema: JSONSchema6Type | JSONSchema6Definition | undefined) => string | number | boolean | undefined;
406
+ declare const getLabelFromSchema: (schema: JSONSchema6Type | JSONSchema6Definition | undefined) => string | undefined;
407
+ declare function mergeObjects<T extends Record<string, any>>(objects: T[]): T;
408
+ declare const overridesAndSchemaToFormObject: ({ formOverrides, formFieldOverrides, schema }: {
409
+ formOverrides?: IFormOverride[];
410
+ formFieldOverrides?: IFormFieldOverride[][];
411
+ schema: JSONSchema6;
412
+ }) => IForm;
413
+ declare const schemaToFormObject: (schema: JSONSchema6) => IForm;
414
+ declare const buildFieldMapFromForm: (form: IForm) => Record<string, IFormField>;
415
+ declare const getSchemaPaths: (schema: any, prefix?: string) => string[];
416
+ declare const getSchemaPathDescriptors: (schema: any, prefix?: string) => Array<{
417
+ path: string;
418
+ type: string;
419
+ required: boolean;
420
+ }>;
421
+
422
+ declare const schemaToFormHelpers_buildFieldMapFromForm: typeof buildFieldMapFromForm;
423
+ declare const schemaToFormHelpers_getLabelFromSchema: typeof getLabelFromSchema;
424
+ declare const schemaToFormHelpers_getSchemaPathDescriptors: typeof getSchemaPathDescriptors;
425
+ declare const schemaToFormHelpers_getSchemaPaths: typeof getSchemaPaths;
426
+ declare const schemaToFormHelpers_getValueFromSchema: typeof getValueFromSchema;
427
+ declare const schemaToFormHelpers_mergeObjects: typeof mergeObjects;
428
+ declare const schemaToFormHelpers_overridesAndSchemaToFormObject: typeof overridesAndSchemaToFormObject;
429
+ declare const schemaToFormHelpers_schemaToFormObject: typeof schemaToFormObject;
430
+ declare const schemaToFormHelpers_validateAgainstSchema: typeof validateAgainstSchema;
431
+ declare const schemaToFormHelpers_validateSchema: typeof validateSchema;
432
+ declare namespace schemaToFormHelpers {
433
+ export { schemaToFormHelpers_buildFieldMapFromForm as buildFieldMapFromForm, schemaToFormHelpers_getLabelFromSchema as getLabelFromSchema, schemaToFormHelpers_getSchemaPathDescriptors as getSchemaPathDescriptors, schemaToFormHelpers_getSchemaPaths as getSchemaPaths, schemaToFormHelpers_getValueFromSchema as getValueFromSchema, schemaToFormHelpers_mergeObjects as mergeObjects, schemaToFormHelpers_overridesAndSchemaToFormObject as overridesAndSchemaToFormObject, schemaToFormHelpers_schemaToFormObject as schemaToFormObject, schemaToFormHelpers_validateAgainstSchema as validateAgainstSchema, schemaToFormHelpers_validateSchema as validateSchema };
434
+ }
277
435
 
278
436
  interface IFieldCreator {
279
437
  field: IFormField;
@@ -304,35 +462,13 @@ declare const DateInput: ({ field, onChange, value }: IFieldInputProps) => React
304
462
 
305
463
  declare const TimeInput: ({ field, onChange, value }: IFieldInputProps) => ReactElement;
306
464
 
307
- declare const validateSchema: (schemaOb: unknown, version?: number) => {
308
- schema?: JSONSchema6;
309
- error?: string;
310
- unrefed?: JSONSchema6;
311
- };
312
- declare const validateAgainstSchema: (schema: JSONSchema6, formValues: IFormValues) => string[] | undefined;
313
- declare const getValueFromSchema: (schema: JSONSchema6Type | JSONSchema6Definition | undefined) => string | number | boolean | undefined;
314
- declare const getLabelFromSchema: (schema: JSONSchema6Type | JSONSchema6Definition | undefined) => string | undefined;
315
- declare function mergeObjects<T extends Record<string, any>>(objects: T[]): T;
316
- declare const overridesAndSchemaToFormObject: ({ formOverrides, formFieldOverrides, schema }: {
317
- formOverrides?: IFormOverride[];
318
- formFieldOverrides?: IFormFieldOverride[][];
319
- schema: JSONSchema6;
320
- }) => IForm;
321
- declare const schemaToFormObject: (schema: JSONSchema6) => IForm;
322
- declare const buildFormObject: (form: IForm) => Record<string, IFormField>;
323
- declare const getSchemaPaths: (schema: any, prefix?: string) => string[];
324
-
325
- declare const schemaToFormHelpers_buildFormObject: typeof buildFormObject;
326
- declare const schemaToFormHelpers_getLabelFromSchema: typeof getLabelFromSchema;
327
- declare const schemaToFormHelpers_getSchemaPaths: typeof getSchemaPaths;
328
- declare const schemaToFormHelpers_getValueFromSchema: typeof getValueFromSchema;
329
- declare const schemaToFormHelpers_mergeObjects: typeof mergeObjects;
330
- declare const schemaToFormHelpers_overridesAndSchemaToFormObject: typeof overridesAndSchemaToFormObject;
331
- declare const schemaToFormHelpers_schemaToFormObject: typeof schemaToFormObject;
332
- declare const schemaToFormHelpers_validateAgainstSchema: typeof validateAgainstSchema;
333
- declare const schemaToFormHelpers_validateSchema: typeof validateSchema;
334
- declare namespace schemaToFormHelpers {
335
- export { schemaToFormHelpers_buildFormObject as buildFormObject, schemaToFormHelpers_getLabelFromSchema as getLabelFromSchema, schemaToFormHelpers_getSchemaPaths as getSchemaPaths, schemaToFormHelpers_getValueFromSchema as getValueFromSchema, schemaToFormHelpers_mergeObjects as mergeObjects, schemaToFormHelpers_overridesAndSchemaToFormObject as overridesAndSchemaToFormObject, schemaToFormHelpers_schemaToFormObject as schemaToFormObject, schemaToFormHelpers_validateAgainstSchema as validateAgainstSchema, schemaToFormHelpers_validateSchema as validateSchema };
465
+ declare const index_BooleanInput: typeof BooleanInput;
466
+ declare const index_DateInput: typeof DateInput;
467
+ declare const index_DateTimeInput: typeof DateTimeInput;
468
+ declare const index_NumberInput: typeof NumberInput;
469
+ declare const index_TimeInput: typeof TimeInput;
470
+ declare namespace index {
471
+ export { index_BooleanInput as BooleanInput, index_DateInput as DateInput, index_DateTimeInput as DateTimeInput, GeoJSONInputLoader as GeoJSONInput, JSONInputLoader as JSONInput, LongStringInput as LongTextInput, index_NumberInput as NumberInput, SingleSelectInput as SelectInput, StringInput as TextInput, index_TimeInput as TimeInput };
336
472
  }
337
473
 
338
- export { BooleanInput, DateInput, DateTimeInput, FieldCreator, FormCreator, GeoJSONInputLoader as GeoJSONInput, type IBooleanField, type ICheckboxField, type ICompositeValueType, type IConstantField, type IFieldInputProps, type IForm, type IFormField, type IFormFieldOverride, type IFormFieldPage, type IFormFieldProps, type IFormFieldSection, type IFormFieldType, type IFormInputComponent, type IFormOverride, type IFormSection, type IFormSectionOverride, type IFormValueState, type IFormValues, type IFormWithPages, type INumberField, type IObjectField, type IObjectListField, type IOneOfField, type IPage, type IRadioField, type ISectionFormFieldType, type ISelectField, type IValueChangeFn, type IValueType, type IWizardStep, JSONInputLoader as JSONInput, LongStringInput as LongTextInput, NumberInput, SingleSelectInput as SelectInput, StringInput as TextInput, TimeInput, addFieldPath, assignDefaultValuesToFormValues, calculateSectionStatus, checkCondition, cleanUnusedDependenciesFromFormValues, copyAndAddPathToFields, getChildFields, getFieldValue, getFields, getFieldsFromFormSection, getPathFromField, getUniqueFormFields, makeJsonPath, schemaToFormHelpers as schemToFormHelpers, updateFormValuesWithFieldValue, updateFormValuesWithFieldValueInPlace };
474
+ export { FieldCreator, FormCreator, type IBooleanField, type ICheckboxField, type ICompositeValueType, type IConstantField, type IFieldInputProps, type IForm, type IFormField, type IFormFieldOverride, type IFormFieldPage, type IFormFieldProps, type IFormFieldSection, type IFormFieldType, type IFormInputComponent, type IFormOverride, type IFormSection, type IFormSectionOverride, type IFormSettings, type IFormValueState, type IFormValues, type IFormWithPages, type IGeoJSONField, type IGeometryField, type IJSONField, type INumberField, type IObjectField, type IObjectFormFieldOverride, type IObjectListField, type IOneOfField, type IPage, type IRadioField, type ISectionFormFieldType, type ISelectField, type IValidContainerField, type IValueChangeFn, type IValueType, type IWizardStep, index as Inputs, getters, manipulators, schemaToFormHelpers as schemToFormHelpers, schemaToFormHelpers as schemaToFormUtils, validators };
@@ -2,5 +2,30 @@ function getDefaultExportFromCjs (x) {
2
2
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
3
3
  }
4
4
 
5
- export { getDefaultExportFromCjs };
5
+ function getAugmentedNamespace(n) {
6
+ if (n.__esModule) return n;
7
+ var f = n.default;
8
+ if (typeof f == "function") {
9
+ var a = function a () {
10
+ if (this instanceof a) {
11
+ return Reflect.construct(f, arguments, this.constructor);
12
+ }
13
+ return f.apply(this, arguments);
14
+ };
15
+ a.prototype = f.prototype;
16
+ } else a = {};
17
+ Object.defineProperty(a, '__esModule', {value: true});
18
+ Object.keys(n).forEach(function (k) {
19
+ var d = Object.getOwnPropertyDescriptor(n, k);
20
+ Object.defineProperty(a, k, d.get ? d : {
21
+ enumerable: true,
22
+ get: function () {
23
+ return n[k];
24
+ }
25
+ });
26
+ });
27
+ return a;
28
+ }
29
+
30
+ export { getAugmentedNamespace, getDefaultExportFromCjs };
6
31
  //# sourceMappingURL=_commonjsHelpers.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,7 @@
1
+ import { getAugmentedNamespace } from './_commonjsHelpers.js';
2
+ import * as _freeGlobal from '../node_modules/lodash/_freeGlobal.js';
3
+
4
+ var require$$0 = /*@__PURE__*/getAugmentedNamespace(_freeGlobal);
5
+
6
+ export { require$$0 as default };
7
+ //# sourceMappingURL=_freeGlobal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_freeGlobal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,8 @@
1
+ import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
+ import { __require as requireGet } from '../node_modules/lodash/get.js';
3
+
4
+ var getExports = requireGet();
5
+ var get = /*@__PURE__*/getDefaultExportFromCjs(getExports);
6
+
7
+ export { get as default };
8
+ //# sourceMappingURL=get.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,4 +1,4 @@
1
- var validation = {};
1
+ var core = {};
2
2
 
3
- export { validation as __exports };
3
+ export { core as __exports };
4
4
  //# sourceMappingURL=index10.js.map
@@ -1,4 +1,4 @@
1
- var applicator = {};
1
+ var validation = {};
2
2
 
3
- export { applicator as __exports };
3
+ export { validation as __exports };
4
4
  //# sourceMappingURL=index11.js.map
@@ -1,8 +1,4 @@
1
- import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
- import { __require as requireCjs } from '../node_modules/style-to-js/cjs/index.js';
1
+ var applicator = {};
3
2
 
4
- var cjsExports = requireCjs();
5
- var styleToJs = /*@__PURE__*/getDefaultExportFromCjs(cjsExports);
6
-
7
- export { styleToJs as default };
3
+ export { applicator as __exports };
8
4
  //# sourceMappingURL=index12.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index12.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index12.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,8 +1,4 @@
1
- import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
- import { __require as requireExtend } from '../node_modules/extend/index.js';
1
+ var format = {};
3
2
 
4
- var extendExports = requireExtend();
5
- var extend = /*@__PURE__*/getDefaultExportFromCjs(extendExports);
6
-
7
- export { extend as default };
3
+ export { format as __exports };
8
4
  //# sourceMappingURL=index13.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index13.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index13.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,4 +1,4 @@
1
- var validate = {};
1
+ import { __require as requireDist } from '../node_modules/react-router/node_modules/cookie/dist/index.js';
2
2
 
3
- export { validate as __exports };
3
+ requireDist();
4
4
  //# sourceMappingURL=index3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,4 +1,4 @@
1
- var codegen = {};
1
+ var validate = {};
2
2
 
3
- export { codegen as __exports };
3
+ export { validate as __exports };
4
4
  //# sourceMappingURL=index5.js.map
@@ -1,4 +1,4 @@
1
- import { __require as requireDist } from '../node_modules/react-router/node_modules/cookie/dist/index.js';
1
+ var codegen = {};
2
2
 
3
- requireDist();
3
+ export { codegen as __exports };
4
4
  //# sourceMappingURL=index6.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,4 +1,8 @@
1
- var compile = {};
1
+ import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
+ import { __require as requireExtend } from '../node_modules/extend/index.js';
2
3
 
3
- export { compile as __exports };
4
+ var extendExports = requireExtend();
5
+ var extend = /*@__PURE__*/getDefaultExportFromCjs(extendExports);
6
+
7
+ export { extend as default };
4
8
  //# sourceMappingURL=index7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,4 +1,8 @@
1
- var core = {};
1
+ import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
+ import { __require as requireCjs } from '../node_modules/style-to-js/cjs/index.js';
2
3
 
3
- export { core as __exports };
4
+ var cjsExports = requireCjs();
5
+ var styleToJs = /*@__PURE__*/getDefaultExportFromCjs(cjsExports);
6
+
7
+ export { styleToJs as default };
4
8
  //# sourceMappingURL=index8.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,4 +1,4 @@
1
- var format = {};
1
+ var compile = {};
2
2
 
3
- export { format as __exports };
3
+ export { compile as __exports };
4
4
  //# sourceMappingURL=index9.js.map
@@ -0,0 +1,8 @@
1
+ import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
2
+ import { __require as requireSet } from '../node_modules/lodash/set.js';
3
+
4
+ var setExports = requireSet();
5
+ var set = /*@__PURE__*/getDefaultExportFromCjs(setExports);
6
+
7
+ export { set as default };
8
+ //# sourceMappingURL=set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}