UNPKG

2.68 kBJavaScriptView Raw
1"use strict";
2
3var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4Object.defineProperty(exports, "__esModule", {
5 value: true
6});
7var _exportNames = {
8 FormControlContext: true,
9 formControlClasses: true,
10 useFormControlContext: true
11};
12Object.defineProperty(exports, "FormControlContext", {
13 enumerable: true,
14 get: function () {
15 return _FormControlContext.default;
16 }
17});
18Object.defineProperty(exports, "default", {
19 enumerable: true,
20 get: function () {
21 return _FormControl.default;
22 }
23});
24Object.defineProperty(exports, "formControlClasses", {
25 enumerable: true,
26 get: function () {
27 return _formControlClasses.default;
28 }
29});
30Object.defineProperty(exports, "useFormControlContext", {
31 enumerable: true,
32 get: function () {
33 return _useFormControlContext.default;
34 }
35});
36var _FormControl = _interopRequireDefault(require("./FormControl"));
37var _FormControlContext = _interopRequireDefault(require("./FormControlContext"));
38var _formControlClasses = _interopRequireWildcard(require("./formControlClasses"));
39Object.keys(_formControlClasses).forEach(function (key) {
40 if (key === "default" || key === "__esModule") return;
41 if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
42 if (key in exports && exports[key] === _formControlClasses[key]) return;
43 Object.defineProperty(exports, key, {
44 enumerable: true,
45 get: function () {
46 return _formControlClasses[key];
47 }
48 });
49});
50var _useFormControlContext = _interopRequireDefault(require("./useFormControlContext"));
51function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
52function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
\No newline at end of file