@vulcanjs/react-ui 0.6.8-alpha.2 → 0.6.9-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/VulcanComponents/Consumer.d.ts +0 -0
- package/dist/components/VulcanComponents/Consumer.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Context.d.ts +0 -0
- package/dist/components/VulcanComponents/Context.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Dummy.d.ts +0 -0
- package/dist/components/VulcanComponents/Dummy.d.ts.map +0 -0
- package/dist/components/VulcanComponents/Provider.d.ts +0 -0
- package/dist/components/VulcanComponents/Provider.d.ts.map +0 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts +0 -0
- package/dist/components/VulcanComponents/defaultVulcanComponents/index.d.ts.map +0 -0
- package/dist/components/VulcanComponents/index.d.ts +0 -0
- package/dist/components/VulcanComponents/index.d.ts.map +0 -0
- package/dist/components/VulcanComponents/typings.d.ts +0 -0
- package/dist/components/VulcanComponents/typings.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Consumer.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/Consumer.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Context.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/Context.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/Provider.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/Provider.d.ts.map +0 -0
- package/dist/components/VulcanCurrentUser/index.d.ts +0 -0
- package/dist/components/VulcanCurrentUser/index.d.ts.map +0 -0
- package/dist/components/core/LoadingButton.d.ts +0 -0
- package/dist/components/core/LoadingButton.d.ts.map +0 -0
- package/dist/components/core/MutationButton.d.ts +0 -0
- package/dist/components/core/MutationButton.d.ts.map +0 -0
- package/dist/components/core/index.d.ts +0 -0
- package/dist/components/core/index.d.ts.map +0 -0
- package/dist/components/core/typings.d.ts +0 -0
- package/dist/components/core/typings.d.ts.map +0 -0
- package/dist/components/form/core/Form/Form.d.ts +0 -0
- package/dist/components/form/core/Form/Form.d.ts.map +0 -0
- package/dist/components/form/core/Form/fields.d.ts +0 -0
- package/dist/components/form/core/Form/fields.d.ts.map +0 -0
- package/dist/components/form/core/Form/index.d.ts +0 -0
- package/dist/components/form/core/Form/index.d.ts.map +0 -0
- package/dist/components/form/core/Form/typings.d.ts +0 -0
- package/dist/components/form/core/Form/typings.d.ts.map +0 -0
- package/dist/components/form/core/Form/utils.d.ts +0 -0
- package/dist/components/form/core/Form/utils.d.ts.map +0 -0
- package/dist/components/form/core/FormContainer.d.ts +0 -0
- package/dist/components/form/core/FormContainer.d.ts.map +0 -0
- package/dist/components/form/core/FormContext.d.ts +0 -0
- package/dist/components/form/core/FormContext.d.ts.map +0 -0
- package/dist/components/form/core/index.d.ts +0 -0
- package/dist/components/form/core/index.d.ts.map +0 -0
- package/dist/components/form/hooks/useBlockTransition/block.d.ts +0 -0
- package/dist/components/form/hooks/useBlockTransition/block.d.ts.map +0 -0
- package/dist/components/form/hooks/useBlockTransition/useBlockTransition.d.ts +0 -0
- package/dist/components/form/hooks/useBlockTransition/useBlockTransition.d.ts.map +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/index.d.ts +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/index.d.ts.map +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.d.ts +0 -0
- package/dist/components/form/hooks/useWarnOnUnsaved/useWarnOnUnsaved.d.ts.map +0 -0
- package/dist/components/form/index.d.ts +0 -0
- package/dist/components/form/index.d.ts.map +0 -0
- package/dist/components/form/typings.d.ts +0 -0
- package/dist/components/form/typings.d.ts.map +0 -0
- package/dist/components/form/utils/formFragments.d.ts +0 -0
- package/dist/components/form/utils/formFragments.d.ts.map +0 -0
- package/dist/components/form/utils/index.d.ts +0 -0
- package/dist/components/form/utils/index.d.ts.map +0 -0
- package/dist/components/form/utils/path_utils.d.ts +0 -0
- package/dist/components/form/utils/path_utils.d.ts.map +0 -0
- package/dist/components/form/utils/schema_utils.d.ts +0 -0
- package/dist/components/form/utils/schema_utils.d.ts.map +0 -0
- package/dist/components/form/utils/ui_utils.d.ts +0 -0
- package/dist/components/form/utils/ui_utils.d.ts.map +0 -0
- package/dist/components/form/utils/utils.d.ts +0 -0
- package/dist/components/form/utils/utils.d.ts.map +0 -0
- package/dist/componentsHelpers.d.ts +0 -0
- package/dist/componentsHelpers.d.ts.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +0 -76
- package/dist/index.js.map +1 -1
- package/dist/testing/ExpectedErrorBoundary.d.ts +0 -0
- package/dist/testing/ExpectedErrorBoundary.d.ts.map +0 -0
- package/dist/testing.d.ts +0 -0
- package/dist/testing.d.ts.map +0 -0
- package/dist/testing.js +0 -0
- package/dist/testing.js.map +0 -0
- package/package.json +6 -6
- package/dist/components/Datatable/Datatable.d.ts +0 -39
- package/dist/components/Datatable/DatatableCell.d.ts +0 -26
- package/dist/components/Datatable/DatatableContents.d.ts +0 -53
- package/dist/components/Datatable/DatatableFilter.d.ts +0 -33
- package/dist/components/Datatable/DatatableHeader.d.ts +0 -23
- package/dist/components/Datatable/DatatableRow.d.ts +0 -25
- package/dist/components/Datatable/DatatableSelect.d.ts +0 -11
- package/dist/components/Datatable/DatatableSorter.d.ts +0 -8
- package/dist/components/Datatable/DatatableSubmitSelected.d.ts +0 -6
- package/dist/components/Datatable/others/DeleteButton.d.ts +0 -13
- package/dist/components/Datatable/others/EditButton.d.ts +0 -20
- package/dist/components/Datatable/others/NewButton.d.ts +0 -20
- package/dist/components/HeadTags.d.ts +0 -13
- package/dist/components/LoadingButton.d.ts +0 -11
- package/dist/components/MutationButton.d.ts +0 -20
- package/dist/components/VulcanComponents/defaultVulcanComponents/cellComponents.d.ts +0 -3
- package/dist/components/VulcanComponents/defaultVulcanComponents/coreComponents.d.ts +0 -3
- package/dist/components/VulcanComponents/defaultVulcanComponents/datatableComponents.d.ts +0 -3
- package/dist/components/VulcanComponents/defaultVulcanComponents/formComponents.d.ts +0 -3
- package/dist/components/bootstrap/Dropdown.d.ts +0 -24
- package/dist/components/bootstrap/Modal.d.ts +0 -25
- package/dist/components/bootstrap/ModalTrigger.d.ts +0 -18
- package/dist/components/bootstrap/TooltipTrigger.d.ts +0 -6
- package/dist/components/cell/CardItem.d.ts +0 -14
- package/dist/components/cell/CardItemArray.d.ts +0 -6
- package/dist/components/cell/CardItemDate.d.ts +0 -5
- package/dist/components/cell/CardItemDefault.d.ts +0 -5
- package/dist/components/cell/CardItemHTML.d.ts +0 -5
- package/dist/components/cell/CardItemImage.d.ts +0 -6
- package/dist/components/cell/CardItemNumber.d.ts +0 -5
- package/dist/components/cell/CardItemObject.d.ts +0 -3
- package/dist/components/cell/CardItemRelationHasMany.d.ts +0 -3
- package/dist/components/cell/CardItemRelationHasOne.d.ts +0 -3
- package/dist/components/cell/CardItemRelationItem.d.ts +0 -15
- package/dist/components/cell/CardItemString.d.ts +0 -5
- package/dist/components/cell/CardItemURL.d.ts +0 -6
- package/dist/components/core/Button.d.ts +0 -4
- package/dist/components/core/Loading.d.ts +0 -3
- package/dist/components/form/FieldErrors.d.ts +0 -6
- package/dist/components/form/Form/Form.d.ts +0 -4
- package/dist/components/form/Form/fields.d.ts +0 -22
- package/dist/components/form/Form/index.d.ts +0 -3
- package/dist/components/form/Form/typings.d.ts +0 -76
- package/dist/components/form/Form/utils.d.ts +0 -2
- package/dist/components/form/FormComponent.d.ts +0 -31
- package/dist/components/form/FormComponentInner.d.ts +0 -32
- package/dist/components/form/FormComponentLoader.d.ts +0 -15
- package/dist/components/form/FormContainer.d.ts +0 -18
- package/dist/components/form/FormContext.d.ts +0 -25
- package/dist/components/form/FormElement.d.ts +0 -4
- package/dist/components/form/FormError.d.ts +0 -11
- package/dist/components/form/FormErrors.d.ts +0 -3
- package/dist/components/form/FormGroup.d.ts +0 -30
- package/dist/components/form/FormIntl.d.ts +0 -15
- package/dist/components/form/FormLayout.d.ts +0 -10
- package/dist/components/form/FormNestedArray.d.ts +0 -26
- package/dist/components/form/FormNestedArrayLayout.d.ts +0 -18
- package/dist/components/form/FormNestedDivider.d.ts +0 -13
- package/dist/components/form/FormNestedItem.d.ts +0 -52
- package/dist/components/form/FormNestedObject.d.ts +0 -35
- package/dist/components/form/FormOptionLabel.d.ts +0 -5
- package/dist/components/form/FormSubmit.d.ts +0 -38
- package/dist/components/form/core/Button.d.ts +0 -4
- package/dist/components/form/core/FormComponent.d.ts +0 -31
- package/dist/components/form/core/FormComponentInner.d.ts +0 -32
- package/dist/components/form/core/FormComponentLoader.d.ts +0 -15
- package/dist/components/form/core/FormGroup.d.ts +0 -30
- package/dist/components/form/core/Loading.d.ts +0 -3
- package/dist/components/form/elements/FieldErrors.d.ts +0 -5
- package/dist/components/form/elements/FormElement.d.ts +0 -4
- package/dist/components/form/elements/FormError.d.ts +0 -11
- package/dist/components/form/elements/FormErrors.d.ts +0 -3
- package/dist/components/form/elements/FormLayout.d.ts +0 -10
- package/dist/components/form/elements/FormSubmit.d.ts +0 -38
- package/dist/components/form/elements/index.d.ts +0 -7
- package/dist/components/form/inputs/AutocompleteMultiple.d.ts +0 -6
- package/dist/components/form/inputs/BasicInputs.d.ts +0 -16
- package/dist/components/form/inputs/Checkboxgroup.d.ts +0 -9
- package/dist/components/form/inputs/FormItem.d.ts +0 -4
- package/dist/components/form/inputs/FormOptionLabel.d.ts +0 -7
- package/dist/components/form/inputs/RadioGroup.d.ts +0 -4
- package/dist/components/form/inputs/SelectInputs.d.ts +0 -5
- package/dist/components/form/inputs/consts.d.ts +0 -9
- package/dist/components/form/inputs/index.d.ts +0 -8
- package/dist/components/form/intl/FormIntl.d.ts +0 -15
- package/dist/components/form/modules/formFragments.d.ts +0 -16
- package/dist/components/form/modules/path_utils.d.ts +0 -6
- package/dist/components/form/modules/schema_utils.d.ts +0 -14
- package/dist/components/form/modules/utils.d.ts +0 -17
- package/dist/components/form/nested/FormNestedArray.d.ts +0 -26
- package/dist/components/form/nested/FormNestedArrayLayout.d.ts +0 -18
- package/dist/components/form/nested/FormNestedDivider.d.ts +0 -13
- package/dist/components/form/nested/FormNestedItem.d.ts +0 -52
- package/dist/components/form/nested/FormNestedObject.d.ts +0 -35
- package/dist/components/form/nested/index.d.ts +0 -6
- package/dist/components/form/ui_utils.d.ts +0 -3
- package/dist/components/form/useBlockTransition/block.d.ts +0 -4
- package/dist/components/form/useBlockTransition/useBlockTransition.d.ts +0 -5
- package/dist/components/form/useWarnOnUnsaved/index.d.ts +0 -2
- package/dist/components/form/useWarnOnUnsaved/useWarnOnUnsaved.d.ts +0 -5
- package/dist/decorators/autocomplete.d.ts +0 -8
- 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
|
|
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
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.d.ts.map
CHANGED
|
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) {
|