@vulcanjs/react-ui 0.6.8-alpha.1 → 0.6.9-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. package/dist/components/VulcanComponents/Consumer.d.ts +0 -0
  2. package/dist/components/VulcanComponents/Consumer.d.ts.map +0 -0
  3. package/dist/components/VulcanComponents/Context.d.ts +0 -0
  4. package/dist/components/VulcanComponents/Context.d.ts.map +0 -0
  5. package/dist/components/VulcanComponents/Dummy.d.ts +0 -0
  6. package/dist/components/VulcanComponents/Dummy.d.ts.map +0 -0
  7. package/dist/components/VulcanComponents/Provider.d.ts +0 -0
  8. package/dist/components/VulcanComponents/Provider.d.ts.map +0 -0
  9. package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts +0 -0
  10. package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts.map +0 -0
  11. package/dist/components/VulcanComponents/index.d.ts +0 -0
  12. package/dist/components/VulcanComponents/index.d.ts.map +0 -0
  13. package/dist/components/VulcanComponents/typings.d.ts +0 -0
  14. package/dist/components/VulcanComponents/typings.d.ts.map +0 -0
  15. package/dist/components/VulcanCurrentUser/Consumer.d.ts +0 -0
  16. package/dist/components/VulcanCurrentUser/Consumer.d.ts.map +0 -0
  17. package/dist/components/VulcanCurrentUser/Context.d.ts +0 -0
  18. package/dist/components/VulcanCurrentUser/Context.d.ts.map +0 -0
  19. package/dist/components/VulcanCurrentUser/Provider.d.ts +0 -0
  20. package/dist/components/VulcanCurrentUser/Provider.d.ts.map +0 -0
  21. package/dist/components/VulcanCurrentUser/index.d.ts +0 -0
  22. package/dist/components/VulcanCurrentUser/index.d.ts.map +0 -0
  23. package/dist/components/core/LoadingButton.d.ts +0 -0
  24. package/dist/components/core/LoadingButton.d.ts.map +0 -0
  25. package/dist/components/core/MutationButton.d.ts +0 -0
  26. package/dist/components/core/MutationButton.d.ts.map +0 -0
  27. package/dist/components/core/index.d.ts +0 -0
  28. package/dist/components/core/index.d.ts.map +0 -0
  29. package/dist/components/core/typings.d.ts +0 -0
  30. package/dist/components/core/typings.d.ts.map +0 -0
  31. package/dist/components/form/core/Form/Form.d.ts +0 -0
  32. package/dist/components/form/core/Form/Form.d.ts.map +0 -0
  33. package/dist/components/form/core/Form/fields.d.ts +0 -0
  34. package/dist/components/form/core/Form/fields.d.ts.map +0 -0
  35. package/dist/components/form/core/Form/index.d.ts +0 -0
  36. package/dist/components/form/core/Form/index.d.ts.map +0 -0
  37. package/dist/components/form/core/Form/typings.d.ts +0 -0
  38. package/dist/components/form/core/Form/typings.d.ts.map +0 -0
  39. package/dist/components/form/core/Form/utils.d.ts +0 -0
  40. package/dist/components/form/core/Form/utils.d.ts.map +0 -0
  41. package/dist/components/form/core/FormContainer.d.ts +0 -0
  42. package/dist/components/form/core/FormContainer.d.ts.map +0 -0
  43. package/dist/components/form/core/FormContext.d.ts +0 -0
  44. package/dist/components/form/core/FormContext.d.ts.map +0 -0
  45. package/dist/components/form/core/index.d.ts +0 -0
  46. package/dist/components/form/core/index.d.ts.map +0 -0
  47. package/dist/components/form/hooks/useBlockTransition/block.d.ts +0 -0
  48. package/dist/components/form/hooks/useBlockTransition/block.d.ts.map +0 -0
  49. package/dist/components/form/hooks/useBlockTransition/useBlockTransition.d.ts +0 -0
  50. package/dist/components/form/hooks/useBlockTransition/useBlockTransition.d.ts.map +0 -0
  51. package/dist/components/form/hooks/useWarnOnUnsaved/index.d.ts +0 -0
  52. package/dist/components/form/hooks/useWarnOnUnsaved/index.d.ts.map +0 -0
  53. package/dist/components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.d.ts +0 -0
  54. package/dist/components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.d.ts.map +0 -0
  55. package/dist/components/form/index.d.ts +1 -1
  56. package/dist/components/form/index.d.ts.map +1 -1
  57. package/dist/components/form/typings.d.ts +2 -0
  58. package/dist/components/form/typings.d.ts.map +1 -1
  59. package/dist/components/form/utils/formFragments.d.ts +0 -0
  60. package/dist/components/form/utils/formFragments.d.ts.map +0 -0
  61. package/dist/components/form/utils/index.d.ts +0 -0
  62. package/dist/components/form/utils/index.d.ts.map +0 -0
  63. package/dist/components/form/utils/path_utils.d.ts +0 -0
  64. package/dist/components/form/utils/path_utils.d.ts.map +0 -0
  65. package/dist/components/form/utils/schema_utils.d.ts +0 -0
  66. package/dist/components/form/utils/schema_utils.d.ts.map +0 -0
  67. package/dist/components/form/utils/ui_utils.d.ts +0 -0
  68. package/dist/components/form/utils/ui_utils.d.ts.map +0 -0
  69. package/dist/components/form/utils/utils.d.ts +0 -0
  70. package/dist/components/form/utils/utils.d.ts.map +0 -0
  71. package/dist/componentsHelpers.d.ts +0 -0
  72. package/dist/componentsHelpers.d.ts.map +0 -0
  73. package/dist/index.d.ts +0 -0
  74. package/dist/index.d.ts.map +0 -0
  75. package/dist/index.js +0 -76
  76. package/dist/index.js.map +1 -1
  77. package/dist/testing/ExpectedErrorBoundary.d.ts +0 -0
  78. package/dist/testing/ExpectedErrorBoundary.d.ts.map +0 -0
  79. package/dist/testing.d.ts +0 -0
  80. package/dist/testing.d.ts.map +0 -0
  81. package/dist/testing.js +0 -0
  82. package/dist/testing.js.map +0 -0
  83. package/package.json +6 -6
  84. package/dist/components/Datatable/Datatable.d.ts +0 -39
  85. package/dist/components/Datatable/DatatableCell.d.ts +0 -26
  86. package/dist/components/Datatable/DatatableContents.d.ts +0 -53
  87. package/dist/components/Datatable/DatatableFilter.d.ts +0 -33
  88. package/dist/components/Datatable/DatatableHeader.d.ts +0 -23
  89. package/dist/components/Datatable/DatatableRow.d.ts +0 -25
  90. package/dist/components/Datatable/DatatableSelect.d.ts +0 -11
  91. package/dist/components/Datatable/DatatableSorter.d.ts +0 -8
  92. package/dist/components/Datatable/DatatableSubmitSelected.d.ts +0 -6
  93. package/dist/components/Datatable/others/DeleteButton.d.ts +0 -13
  94. package/dist/components/Datatable/others/EditButton.d.ts +0 -20
  95. package/dist/components/Datatable/others/NewButton.d.ts +0 -20
  96. package/dist/components/HeadTags.d.ts +0 -13
  97. package/dist/components/LoadingButton.d.ts +0 -11
  98. package/dist/components/MutationButton.d.ts +0 -20
  99. package/dist/components/VulcanComponents/defaultVulcanComponents/cellComponents.d.ts +0 -3
  100. package/dist/components/VulcanComponents/defaultVulcanComponents/coreComponents.d.ts +0 -3
  101. package/dist/components/VulcanComponents/defaultVulcanComponents/datatableComponents.d.ts +0 -3
  102. package/dist/components/VulcanComponents/defaultVulcanComponents/formComponents.d.ts +0 -3
  103. package/dist/components/bootstrap/Dropdown.d.ts +0 -24
  104. package/dist/components/bootstrap/Modal.d.ts +0 -25
  105. package/dist/components/bootstrap/ModalTrigger.d.ts +0 -18
  106. package/dist/components/bootstrap/TooltipTrigger.d.ts +0 -6
  107. package/dist/components/cell/CardItem.d.ts +0 -14
  108. package/dist/components/cell/CardItemArray.d.ts +0 -6
  109. package/dist/components/cell/CardItemDate.d.ts +0 -5
  110. package/dist/components/cell/CardItemDefault.d.ts +0 -5
  111. package/dist/components/cell/CardItemHTML.d.ts +0 -5
  112. package/dist/components/cell/CardItemImage.d.ts +0 -6
  113. package/dist/components/cell/CardItemNumber.d.ts +0 -5
  114. package/dist/components/cell/CardItemObject.d.ts +0 -3
  115. package/dist/components/cell/CardItemRelationHasMany.d.ts +0 -3
  116. package/dist/components/cell/CardItemRelationHasOne.d.ts +0 -3
  117. package/dist/components/cell/CardItemRelationItem.d.ts +0 -15
  118. package/dist/components/cell/CardItemString.d.ts +0 -5
  119. package/dist/components/cell/CardItemURL.d.ts +0 -6
  120. package/dist/components/core/Button.d.ts +0 -4
  121. package/dist/components/core/Loading.d.ts +0 -3
  122. package/dist/components/form/FieldErrors.d.ts +0 -6
  123. package/dist/components/form/Form/Form.d.ts +0 -4
  124. package/dist/components/form/Form/fields.d.ts +0 -22
  125. package/dist/components/form/Form/index.d.ts +0 -3
  126. package/dist/components/form/Form/typings.d.ts +0 -76
  127. package/dist/components/form/Form/utils.d.ts +0 -2
  128. package/dist/components/form/FormComponent.d.ts +0 -31
  129. package/dist/components/form/FormComponentInner.d.ts +0 -32
  130. package/dist/components/form/FormComponentLoader.d.ts +0 -15
  131. package/dist/components/form/FormContainer.d.ts +0 -18
  132. package/dist/components/form/FormContext.d.ts +0 -25
  133. package/dist/components/form/FormElement.d.ts +0 -4
  134. package/dist/components/form/FormError.d.ts +0 -11
  135. package/dist/components/form/FormErrors.d.ts +0 -3
  136. package/dist/components/form/FormGroup.d.ts +0 -30
  137. package/dist/components/form/FormIntl.d.ts +0 -15
  138. package/dist/components/form/FormLayout.d.ts +0 -10
  139. package/dist/components/form/FormNestedArray.d.ts +0 -26
  140. package/dist/components/form/FormNestedArrayLayout.d.ts +0 -18
  141. package/dist/components/form/FormNestedDivider.d.ts +0 -13
  142. package/dist/components/form/FormNestedItem.d.ts +0 -52
  143. package/dist/components/form/FormNestedObject.d.ts +0 -35
  144. package/dist/components/form/FormOptionLabel.d.ts +0 -5
  145. package/dist/components/form/FormSubmit.d.ts +0 -38
  146. package/dist/components/form/core/Button.d.ts +0 -4
  147. package/dist/components/form/core/FormComponent.d.ts +0 -31
  148. package/dist/components/form/core/FormComponentInner.d.ts +0 -32
  149. package/dist/components/form/core/FormComponentLoader.d.ts +0 -15
  150. package/dist/components/form/core/FormGroup.d.ts +0 -30
  151. package/dist/components/form/core/Loading.d.ts +0 -3
  152. package/dist/components/form/elements/FieldErrors.d.ts +0 -5
  153. package/dist/components/form/elements/FormElement.d.ts +0 -4
  154. package/dist/components/form/elements/FormError.d.ts +0 -11
  155. package/dist/components/form/elements/FormErrors.d.ts +0 -3
  156. package/dist/components/form/elements/FormLayout.d.ts +0 -10
  157. package/dist/components/form/elements/FormSubmit.d.ts +0 -38
  158. package/dist/components/form/elements/index.d.ts +0 -7
  159. package/dist/components/form/inputs/AutocompleteMultiple.d.ts +0 -6
  160. package/dist/components/form/inputs/BasicInputs.d.ts +0 -16
  161. package/dist/components/form/inputs/Checkboxgroup.d.ts +0 -9
  162. package/dist/components/form/inputs/FormItem.d.ts +0 -4
  163. package/dist/components/form/inputs/FormOptionLabel.d.ts +0 -7
  164. package/dist/components/form/inputs/RadioGroup.d.ts +0 -4
  165. package/dist/components/form/inputs/SelectInputs.d.ts +0 -5
  166. package/dist/components/form/inputs/consts.d.ts +0 -9
  167. package/dist/components/form/inputs/index.d.ts +0 -8
  168. package/dist/components/form/intl/FormIntl.d.ts +0 -15
  169. package/dist/components/form/modules/formFragments.d.ts +0 -16
  170. package/dist/components/form/modules/path_utils.d.ts +0 -6
  171. package/dist/components/form/modules/schema_utils.d.ts +0 -14
  172. package/dist/components/form/modules/utils.d.ts +0 -17
  173. package/dist/components/form/nested/FormNestedArray.d.ts +0 -26
  174. package/dist/components/form/nested/FormNestedArrayLayout.d.ts +0 -18
  175. package/dist/components/form/nested/FormNestedDivider.d.ts +0 -13
  176. package/dist/components/form/nested/FormNestedItem.d.ts +0 -52
  177. package/dist/components/form/nested/FormNestedObject.d.ts +0 -35
  178. package/dist/components/form/nested/index.d.ts +0 -6
  179. package/dist/components/form/ui_utils.d.ts +0 -3
  180. package/dist/components/form/useBlockTransition/block.d.ts +0 -4
  181. package/dist/components/form/useBlockTransition/useBlockTransition.d.ts +0 -5
  182. package/dist/components/form/useWarnOnUnsaved/index.d.ts +0 -2
  183. package/dist/components/form/useWarnOnUnsaved/useWarnOnUnsaved.d.ts +0 -5
  184. package/dist/decorators/autocomplete.d.ts +0 -8
  185. package/dist/decorators/index.d.ts +0 -4
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,6 @@
1
1
  export * from "./core/FormContext";
2
2
  export * from "./core/Form";
3
3
  export * from "./core/FormContainer";
4
- export type { FormInputProps } from "./typings";
4
+ export type { FormInputProps, FormOption } from "./typings";
5
5
  export * from "./utils";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AAErC,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AAErC,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5D,cAAc,SAAS,CAAC"}
@@ -37,6 +37,8 @@ export declare type FormOption<TField = any> = {
37
37
  label: string;
38
38
  value: TField;
39
39
  checked?: boolean;
40
+ intlId?: string;
41
+ disabled?: boolean;
40
42
  };
41
43
  export interface FormComponentInnerProps extends FormComponentProps {
42
44
  inputType: VulcanCoreInput;
@@ -1 +1 @@
1
- {"version":3,"file":"typings.d.ts","sourceRoot":"","sources":["../../../components/form/typings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,WAAW,kBAAkB,CAAC,MAAM,GAAG,GAAG,CAC9C,SAAQ,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC;IAC/B,QAAQ,EAAE,GAAG,CAAC;IACd,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,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BAAY,iBAAiB,GAAG,cAAc,CAAC,mBAAmB,CAAC,CAAC"}
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
File without changes
package/dist/index.js CHANGED
@@ -34,9 +34,6 @@ var __objRest = (source, exclude) => {
34
34
  }
35
35
  return target;
36
36
  };
37
- var __esm = (fn, res) => function __init() {
38
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
39
- };
40
37
  var __commonJS = (cb, mod) => function __require() {
41
38
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
42
39
  };
@@ -54,16 +51,9 @@ var __copyProps = (to, from, except, desc) => {
54
51
  };
55
52
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
56
53
 
57
- // ../../node_modules/tsup/assets/esm_shims.js
58
- var init_esm_shims = __esm({
59
- "../../node_modules/tsup/assets/esm_shims.js"() {
60
- }
61
- });
62
-
63
54
  // ../../node_modules/tslib/tslib.js
64
55
  var require_tslib = __commonJS({
65
56
  "../../node_modules/tslib/tslib.js"(exports, module) {
66
- init_esm_shims();
67
57
  var __extends2;
68
58
  var __assign2;
69
59
  var __rest2;
@@ -576,27 +566,17 @@ var require_tslib = __commonJS({
576
566
  }
577
567
  });
578
568
 
579
- // index.ts
580
- init_esm_shims();
581
-
582
- // components/core/index.ts
583
- init_esm_shims();
584
-
585
569
  // components/core/LoadingButton.tsx
586
- init_esm_shims();
587
570
  import React4 from "react";
588
571
 
589
572
  // components/VulcanComponents/Consumer.tsx
590
- init_esm_shims();
591
573
  import { deprecate } from "@vulcanjs/utils";
592
574
  import React3, { useContext } from "react";
593
575
 
594
576
  // components/VulcanComponents/Context.ts
595
- init_esm_shims();
596
577
  import React2 from "react";
597
578
 
598
579
  // components/VulcanComponents/Dummy.tsx
599
- init_esm_shims();
600
580
  import React from "react";
601
581
  var Dummy = /* @__PURE__ */ __name(() => /* @__PURE__ */ React.createElement("span", null, "You have not setup VulcanComponentsProvider. Please add following code in your app:", " ", /* @__PURE__ */ React.createElement("code", null, `import { VulcanComponentsProvider } from "@vulcanjs/react-ui"; const YourApp = <VulcanComponentsProvider>{/* your app */}</VulcanComponentsProvider>;}`)), "Dummy");
602
582
 
@@ -694,15 +674,10 @@ var LoadingButton = /* @__PURE__ */ __name((_a) => {
694
674
  }, "LoadingButton");
695
675
 
696
676
  // components/core/MutationButton.tsx
697
- init_esm_shims();
698
677
  import React5, { useState } from "react";
699
678
  import { useMutation } from "@apollo/client";
700
679
 
701
- // ../../node_modules/graphql-tag/lib/index.js
702
- init_esm_shims();
703
-
704
680
  // ../../node_modules/tslib/modules/index.js
705
- init_esm_shims();
706
681
  var import_tslib = __toESM(require_tslib(), 1);
707
682
  var { __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __createBinding, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn } = import_tslib.default;
708
683
 
@@ -911,14 +886,7 @@ var MutationButton = /* @__PURE__ */ __name((props) => {
911
886
  return loadingButton;
912
887
  }, "MutationButton");
913
888
 
914
- // components/core/typings.ts
915
- init_esm_shims();
916
-
917
- // components/form/index.ts
918
- init_esm_shims();
919
-
920
889
  // components/form/core/FormContext.tsx
921
- init_esm_shims();
922
890
  import React6, { useContext as useContext2 } from "react";
923
891
  var FormContext = /* @__PURE__ */ React6.createContext(void 0);
924
892
  var useFormContext = /* @__PURE__ */ __name(() => {
@@ -930,11 +898,7 @@ var useFormContext = /* @__PURE__ */ __name(() => {
930
898
  return formContext;
931
899
  }, "useFormContext");
932
900
 
933
- // components/form/core/Form/index.ts
934
- init_esm_shims();
935
-
936
901
  // components/form/core/Form/Form.tsx
937
- init_esm_shims();
938
902
  import React7, { useEffect as useEffect2, useRef as useRef2, useState as useState2 } from "react";
939
903
  import { runCallbacks, getErrors } from "@vulcanjs/core";
940
904
  import { useIntlContext as useIntlContext2 } from "@vulcanjs/react-i18n";
@@ -968,7 +932,6 @@ __export(schema_utils_exports, {
968
932
  getValidFields: () => getValidFields,
969
933
  schemaProperties: () => schemaProperties
970
934
  });
971
- init_esm_shims();
972
935
  import { canCreateField, canUpdateField } from "@vulcanjs/permissions";
973
936
 
974
937
  // components/form/utils/utils.ts
@@ -983,7 +946,6 @@ __export(utils_exports, {
983
946
  isEmptyValue: () => isEmptyValue,
984
947
  mergeValue: () => mergeValue
985
948
  });
986
- init_esm_shims();
987
949
  import merge from "lodash/merge.js";
988
950
  import find from "lodash/find.js";
989
951
  import isPlainObject from "lodash/isPlainObject.js";
@@ -999,7 +961,6 @@ __export(path_utils_exports, {
999
961
  removePrefix: () => removePrefix,
1000
962
  splitPath: () => splitPath
1001
963
  });
1002
- init_esm_shims();
1003
964
  import toPath from "lodash/toPath.js";
1004
965
  import initial from "lodash/initial.js";
1005
966
  import flow from "lodash/fp/flow.js";
@@ -1264,7 +1225,6 @@ var formProperties = [
1264
1225
  ];
1265
1226
 
1266
1227
  // components/form/core/Form/fields.ts
1267
- init_esm_shims();
1268
1228
  import uniq from "lodash/uniq.js";
1269
1229
  import compact from "lodash/compact.js";
1270
1230
  import get from "lodash/get.js";
@@ -1487,7 +1447,6 @@ var getFieldGroups = /* @__PURE__ */ __name((props, state, context, mutableField
1487
1447
  }, "getFieldGroups");
1488
1448
 
1489
1449
  // components/form/core/Form/utils.ts
1490
- init_esm_shims();
1491
1450
  import find2 from "lodash/find.js";
1492
1451
  import isEqualWith from "lodash/isEqualWith.js";
1493
1452
  var isNotSameDocument = /* @__PURE__ */ __name((initialDocument, changedDocument) => {
@@ -1500,18 +1459,10 @@ var isNotSameDocument = /* @__PURE__ */ __name((initialDocument, changedDocument
1500
1459
  return typeof changedValue !== "undefined";
1501
1460
  }, "isNotSameDocument");
1502
1461
 
1503
- // components/form/hooks/useWarnOnUnsaved/index.ts
1504
- init_esm_shims();
1505
-
1506
- // components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.ts
1507
- init_esm_shims();
1508
-
1509
1462
  // components/form/hooks/useBlockTransition/useBlockTransition.ts
1510
- init_esm_shims();
1511
1463
  import { useEffect, useRef } from "react";
1512
1464
 
1513
1465
  // components/form/hooks/useBlockTransition/block.ts
1514
- init_esm_shims();
1515
1466
  import debug from "debug";
1516
1467
  var debugTransitions = debug("vn:route-transition");
1517
1468
  var BeforeUnloadEventType = "beforeunload";
@@ -2065,11 +2016,7 @@ var Form = /* @__PURE__ */ __name((props) => {
2065
2016
  }, formGroupProps(group)))))));
2066
2017
  }, "Form");
2067
2018
 
2068
- // components/form/core/Form/typings.ts
2069
- init_esm_shims();
2070
-
2071
2019
  // components/form/core/FormContainer.tsx
2072
- init_esm_shims();
2073
2020
  import React10 from "react";
2074
2021
 
2075
2022
  // components/form/utils/formFragments.ts
@@ -2077,7 +2024,6 @@ var formFragments_exports = {};
2077
2024
  __export(formFragments_exports, {
2078
2025
  default: () => formFragments_default
2079
2026
  });
2080
- init_esm_shims();
2081
2027
  import _uniq from "lodash/uniq.js";
2082
2028
  import _intersection from "lodash/intersection.js";
2083
2029
  import { getCreateableFields, getUpdateableFields, getFragmentFieldNames } from "@vulcanjs/schema";
@@ -2224,15 +2170,10 @@ import { capitalize as capitalize3 } from "@vulcanjs/utils";
2224
2170
  import { useSingle, useCreate, useUpdate, useDelete } from "@vulcanjs/react-hooks";
2225
2171
  import { debugVulcan } from "@vulcanjs/utils";
2226
2172
 
2227
- // components/VulcanCurrentUser/index.ts
2228
- init_esm_shims();
2229
-
2230
2173
  // components/VulcanCurrentUser/Consumer.tsx
2231
- init_esm_shims();
2232
2174
  import { useContext as useContext3 } from "react";
2233
2175
 
2234
2176
  // components/VulcanCurrentUser/Context.ts
2235
- init_esm_shims();
2236
2177
  import React8 from "react";
2237
2178
  var VulcanCurrentUserContext = React8.createContext({
2238
2179
  currentUser: null,
@@ -2244,7 +2185,6 @@ var VulcanCurrentUserConsumer = VulcanCurrentUserContext.Consumer;
2244
2185
  var useVulcanCurrentUser = /* @__PURE__ */ __name(() => useContext3(VulcanCurrentUserContext), "useVulcanCurrentUser");
2245
2186
 
2246
2187
  // components/VulcanCurrentUser/Provider.tsx
2247
- init_esm_shims();
2248
2188
  import React9 from "react";
2249
2189
  function _extends5() {
2250
2190
  _extends5 = Object.assign || function(target) {
@@ -2421,16 +2361,12 @@ var FormContainer = /* @__PURE__ */ __name((props) => {
2421
2361
  }, "FormContainer");
2422
2362
  var SmartForm = FormContainer;
2423
2363
 
2424
- // components/form/utils/index.ts
2425
- init_esm_shims();
2426
-
2427
2364
  // components/form/utils/ui_utils.ts
2428
2365
  var ui_utils_exports = {};
2429
2366
  __export(ui_utils_exports, {
2430
2367
  getHtmlInputProps: () => getHtmlInputProps,
2431
2368
  whitelistInputProps: () => whitelistInputProps
2432
2369
  });
2433
- init_esm_shims();
2434
2370
  import pick3 from "lodash/pick.js";
2435
2371
  var getHtmlInputProps = /* @__PURE__ */ __name((props) => {
2436
2372
  const { name, path, options, label, onChange, onBlur, value, disabled } = props;
@@ -2469,11 +2405,7 @@ var whitelistInputProps = /* @__PURE__ */ __name((props) => {
2469
2405
  });
2470
2406
  }, "whitelistInputProps");
2471
2407
 
2472
- // components/VulcanComponents/index.ts
2473
- init_esm_shims();
2474
-
2475
2408
  // components/VulcanComponents/Provider.tsx
2476
- init_esm_shims();
2477
2409
  import React11 from "react";
2478
2410
  import { debugVulcan as debugVulcan2 } from "@vulcanjs/utils";
2479
2411
  function _extends7() {
@@ -2514,15 +2446,8 @@ var VulcanComponentsProvider = /* @__PURE__ */ __name((_a) => {
2514
2446
  }, "VulcanComponentsProvider");
2515
2447
 
2516
2448
  // components/VulcanComponents/typings.ts
2517
- init_esm_shims();
2518
2449
  import React12 from "react";
2519
2450
 
2520
- // components/VulcanComponents/defaultVulcanComponents/index.ts
2521
- init_esm_shims();
2522
-
2523
- // components/form/core/index.ts
2524
- init_esm_shims();
2525
-
2526
2451
  // components/VulcanComponents/defaultVulcanComponents/index.ts
2527
2452
  var defaultFormComponents = {
2528
2453
  Form,
@@ -2536,7 +2461,6 @@ var defaultCoreComponents = {
2536
2461
  };
2537
2462
 
2538
2463
  // componentsHelpers.tsx
2539
- init_esm_shims();
2540
2464
  import React13 from "react";
2541
2465
  function _extends8() {
2542
2466
  _extends8 = Object.assign || function(target) {