orc-shared 5.10.1-dev.7 → 5.10.1-dev.9
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/Authenticate.js +41 -17
- package/dist/components/ErrorPlaceholder.js +8 -24
- package/dist/components/{Icon.js → Form/Inputs/MultiSelector.js} +33 -20
- package/dist/components/Form/Inputs/index.js +1 -1
- package/dist/components/LoadingIcon.js +6 -16
- package/dist/components/MaterialUI/Inputs/Select.js +10 -0
- package/dist/components/MaterialUI/Inputs/SelectProps.js +3 -1
- package/dist/components/MaterialUI/Navigation/DropDownMenu.js +2 -4
- package/dist/components/Provision.js +30 -13
- package/dist/components/Routing/SegmentPage.js +115 -56
- package/dist/components/Scope/ScopeNode.js +68 -45
- package/dist/components/Sidepanel.js +57 -23
- package/dist/components/Spritesheet.js +33 -17
- package/dist/components/Text.js +1 -60
- package/dist/components/Treeview/Branch.js +82 -20
- package/dist/components/Treeview/Label.js +108 -31
- package/dist/components/Treeview/Leaf.js +56 -12
- package/dist/components/Treeview/Node.js +22 -9
- package/dist/components/Treeview/index.js +7 -1
- package/dist/components/Treeview/settings.js +7 -5
- package/dist/utils/index.js +0 -4
- package/dist/utils/testUtils.js +1 -12
- package/package.json +1 -1
- package/src/components/ApplicationModuleLoader.test.js +14 -27
- package/src/components/Authenticate.js +29 -21
- package/src/components/Authenticate.test.js +18 -27
- package/src/components/ErrorPlaceholder.js +4 -21
- package/src/components/ErrorPlaceholder.test.js +7 -14
- package/src/components/Form/InputField.test.js +2 -1
- package/src/components/Form/Inputs/MultiSelector.js +23 -0
- package/src/components/Form/Inputs/MultiSelector.test.js +112 -0
- package/src/components/Form/Inputs/index.js +1 -1
- package/src/components/Loader.test.js +21 -33
- package/src/components/LoadingIcon.js +2 -15
- package/src/components/LoadingIcon.test.js +2 -20
- package/src/components/MaterialUI/DataDisplay/Table.test.js +1 -1
- package/src/components/MaterialUI/Inputs/Select.js +7 -0
- package/src/components/MaterialUI/Inputs/Select.test.js +45 -0
- package/src/components/MaterialUI/Inputs/SelectProps.js +2 -0
- package/src/components/MaterialUI/Inputs/SelectProps.test.js +2 -0
- package/src/components/MaterialUI/Navigation/DropDownMenu.js +2 -2
- package/src/components/MaterialUI/Navigation/DropDownMenu.test.js +5 -6
- package/src/components/Navigation/Navigation.test.js +0 -5
- package/src/components/Navigation/useNavigationState.test.js +79 -222
- package/src/components/Provision.js +36 -42
- package/src/components/Provision.test.js +10 -26
- package/src/components/Routing/SegmentPage.js +68 -52
- package/src/components/Routing/SegmentPage.test.js +4 -12
- package/src/components/Scope/ScopeNode.js +61 -54
- package/src/components/Scope/ScopeNode.test.js +61 -154
- package/src/components/ScopeExtendedConfigurationLoader.test.js +1 -4
- package/src/components/Sidepanel.js +38 -32
- package/src/components/Sidepanel.test.js +49 -27
- package/src/components/Spritesheet.js +23 -21
- package/src/components/Spritesheet.test.js +10 -10
- package/src/components/Text.js +0 -49
- package/src/components/Treeview/Branch.js +63 -45
- package/src/components/Treeview/Branch.test.js +21 -24
- package/src/components/Treeview/Label.js +66 -52
- package/src/components/Treeview/Label.test.js +42 -60
- package/src/components/Treeview/Leaf.js +41 -22
- package/src/components/Treeview/Leaf.test.js +15 -10
- package/src/components/Treeview/Node.js +16 -9
- package/src/components/Treeview/Node.test.js +269 -200
- package/src/components/Treeview/Treeview.test.js +248 -248
- package/src/components/Treeview/index.js +6 -0
- package/src/components/Treeview/settings.js +7 -6
- package/src/utils/index.js +0 -4
- package/src/utils/testUtils.js +0 -10
- package/src/utils/testUtils.test.js +0 -68
- package/dist/components/Button.js +0 -70
- package/dist/components/Checkbox.js +0 -103
- package/dist/components/IconButton.js +0 -80
- package/dist/components/Input.js +0 -101
- package/dist/components/Modal/Background.js +0 -55
- package/dist/components/Modal/Dialog.js +0 -75
- package/dist/components/Modal/Wrapper.js +0 -69
- package/dist/components/Modal/index.js +0 -86
- package/dist/components/MultiSelector.js +0 -187
- package/dist/components/Navigation/Bar.js +0 -293
- package/dist/components/Navigation/Tab.js +0 -182
- package/dist/components/Placeholder.js +0 -114
- package/dist/components/Scope/Selector.js +0 -123
- package/dist/components/Selector.js +0 -185
- package/dist/components/Switch.js +0 -128
- package/dist/components/Toolbar.js +0 -227
- package/dist/components/Tooltip.js +0 -66
- package/dist/getTheme.js +0 -153
- package/dist/getThemeOverrides.js +0 -93
- package/dist/hocs/withAuthentication.js +0 -72
- package/dist/utils/styledPropFuncs.js +0 -88
- package/src/components/Button.js +0 -90
- package/src/components/Button.test.js +0 -49
- package/src/components/Checkbox.js +0 -63
- package/src/components/Checkbox.test.js +0 -122
- package/src/components/Icon.js +0 -18
- package/src/components/IconButton.js +0 -30
- package/src/components/IconButton.test.js +0 -61
- package/src/components/Input.js +0 -35
- package/src/components/Input.test.js +0 -34
- package/src/components/Modal/Background.js +0 -10
- package/src/components/Modal/Dialog.js +0 -27
- package/src/components/Modal/Dialog.test.js +0 -20
- package/src/components/Modal/Modal.test.js +0 -52
- package/src/components/Modal/Wrapper.js +0 -32
- package/src/components/Modal/Wrapper.test.js +0 -55
- package/src/components/Modal/index.js +0 -22
- package/src/components/MultiSelector.js +0 -104
- package/src/components/MultiSelector.test.js +0 -348
- package/src/components/Navigation/Bar.js +0 -212
- package/src/components/Navigation/Bar.test.js +0 -552
- package/src/components/Navigation/Tab.js +0 -156
- package/src/components/Navigation/Tab.test.js +0 -404
- package/src/components/Placeholder.js +0 -61
- package/src/components/Placeholder.test.js +0 -106
- package/src/components/Scope/Selector.js +0 -70
- package/src/components/Scope/Selector.test.js +0 -138
- package/src/components/Selector.js +0 -191
- package/src/components/Selector.test.js +0 -157
- package/src/components/Switch.js +0 -112
- package/src/components/Switch.test.js +0 -130
- package/src/components/Text.test.js +0 -132
- package/src/components/Toolbar.js +0 -178
- package/src/components/Toolbar.test.js +0 -478
- package/src/components/Tooltip.js +0 -51
- package/src/components/Tooltip.test.js +0 -21
- package/src/getTheme.js +0 -98
- package/src/getTheme.test.js +0 -92
- package/src/getThemeOverrides.js +0 -27
- package/src/hocs/withAuthentication.js +0 -18
- package/src/hocs/withAuthentication.test.js +0 -120
- package/src/utils/styledPropFuncs.js +0 -20
- package/src/utils/styledPropFuncs.test.js +0 -166
|
@@ -18,6 +18,9 @@ export const Treeview = ({
|
|
|
18
18
|
openAll,
|
|
19
19
|
name,
|
|
20
20
|
defaultNodeState = {},
|
|
21
|
+
labelClassName,
|
|
22
|
+
leafClassName,
|
|
23
|
+
branchClassName,
|
|
21
24
|
...otherProps
|
|
22
25
|
}) => {
|
|
23
26
|
const [viewState, updateViewState] = useViewState(name);
|
|
@@ -34,6 +37,9 @@ export const Treeview = ({
|
|
|
34
37
|
selectedNodeId,
|
|
35
38
|
nodeState,
|
|
36
39
|
updateNodeState,
|
|
40
|
+
labelClassName,
|
|
41
|
+
leafClassName,
|
|
42
|
+
branchClassName,
|
|
37
43
|
otherProps,
|
|
38
44
|
}}
|
|
39
45
|
>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export const branchLength =
|
|
6
|
-
|
|
1
|
+
// in px
|
|
2
|
+
// How far from parent left edge to vertical branch under it
|
|
3
|
+
export const branchIndent = 14;
|
|
4
|
+
// How far from vertical branch to children's left edge
|
|
5
|
+
export const branchLength = 15;
|
|
6
|
+
// How far up from bottom edge of node should horizontal branch sit
|
|
7
|
+
export const branchHeight = 20;
|
package/src/utils/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import safeGet from "./safeGet";
|
|
2
|
-
import { getThemeProp, ifFlag, switchEnum } from "./styledPropFuncs";
|
|
3
2
|
import unwrapImmutable from "./unwrapImmutable";
|
|
4
3
|
import logPass from "./logPass";
|
|
5
4
|
import normalizeForSearch from "./normalizeForSearch";
|
|
@@ -18,8 +17,6 @@ export {
|
|
|
18
17
|
debounce,
|
|
19
18
|
flatten,
|
|
20
19
|
flattenObj,
|
|
21
|
-
getThemeProp,
|
|
22
|
-
ifFlag,
|
|
23
20
|
insertIcons,
|
|
24
21
|
loadConfig,
|
|
25
22
|
logPass,
|
|
@@ -30,6 +27,5 @@ export {
|
|
|
30
27
|
setTranslationWithFallbackValue,
|
|
31
28
|
setTranslationWithFallbackField,
|
|
32
29
|
stripKey,
|
|
33
|
-
switchEnum,
|
|
34
30
|
unwrapImmutable,
|
|
35
31
|
};
|
package/src/utils/testUtils.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { isStyledComponent } from "styled-components";
|
|
3
2
|
import { mount } from "unexpected-reaction";
|
|
4
3
|
import { Ignore } from "unexpected-reaction";
|
|
5
4
|
import createThemes from "./../components/MaterialUI/muiThemes";
|
|
@@ -56,15 +55,6 @@ export const getClassSelector = (elm, index, container) => {
|
|
|
56
55
|
}
|
|
57
56
|
};
|
|
58
57
|
|
|
59
|
-
export const getStyledClassSelector = elm => {
|
|
60
|
-
const component = elm.type || elm;
|
|
61
|
-
if (!isStyledComponent(component)) {
|
|
62
|
-
throw new Error("<" + (component.name || component) + " /> is not a styled component");
|
|
63
|
-
}
|
|
64
|
-
// Styled component toString() function returns a stable class name
|
|
65
|
-
return component.toString();
|
|
66
|
-
};
|
|
67
|
-
|
|
68
58
|
export const firstItemComparator = (a, b) => (a[0] > b[0] ? 1 : a[0] < b[0] ? -1 : 0);
|
|
69
59
|
|
|
70
60
|
export const PropStruct = React.forwardRef((props, ref) => (
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import styled from "styled-components";
|
|
3
2
|
import { defineMessages } from "react-intl";
|
|
4
3
|
import {
|
|
5
4
|
getElmClasses,
|
|
6
5
|
getClassName,
|
|
7
|
-
getStyledClassSelector,
|
|
8
6
|
getClassSelector,
|
|
9
7
|
PropStruct,
|
|
10
8
|
firstItemComparator,
|
|
@@ -28,13 +26,6 @@ class TestComp2 extends React.Component {
|
|
|
28
26
|
}
|
|
29
27
|
|
|
30
28
|
describe("class name helpers", () => {
|
|
31
|
-
const TestStyled = styled.div`
|
|
32
|
-
color: red;
|
|
33
|
-
`;
|
|
34
|
-
const DerivedTestStyled = styled(TestStyled)`
|
|
35
|
-
color: blue;
|
|
36
|
-
`;
|
|
37
|
-
|
|
38
29
|
spyOnConsole(["error"]);
|
|
39
30
|
|
|
40
31
|
describe("getElmClasses", () => {
|
|
@@ -44,16 +35,6 @@ describe("class name helpers", () => {
|
|
|
44
35
|
it("works with svg elements", () =>
|
|
45
36
|
expect(getElmClasses, "when called with", [<svg className="foo bar" />], "to equal", ["foo", "bar"]));
|
|
46
37
|
|
|
47
|
-
it("works with styled components", () =>
|
|
48
|
-
expect(
|
|
49
|
-
getElmClasses,
|
|
50
|
-
"when called with",
|
|
51
|
-
[<TestStyled />],
|
|
52
|
-
"to have an item satisfying",
|
|
53
|
-
"to match",
|
|
54
|
-
/__TestStyled-/,
|
|
55
|
-
));
|
|
56
|
-
|
|
57
38
|
it("throws an error if no class found on DOM element", () =>
|
|
58
39
|
expect(
|
|
59
40
|
() => expect(getElmClasses, "when called with", [<div />]),
|
|
@@ -94,9 +75,6 @@ describe("class name helpers", () => {
|
|
|
94
75
|
it("works with svg elements", () =>
|
|
95
76
|
expect(getClassName, "when called with", [<svg className="foo bar" />], "to equal", "foo"));
|
|
96
77
|
|
|
97
|
-
it("works with styled components", () =>
|
|
98
|
-
expect(getClassName, "when called with", [<TestStyled />], "to match", /__TestStyled-/));
|
|
99
|
-
|
|
100
78
|
it("can use a custom container element type", () => {
|
|
101
79
|
expect(getClassName(<td className="foo bar" />, 0, "tr"), "to equal", "foo");
|
|
102
80
|
expect(console.error, "was not called");
|
|
@@ -116,9 +94,6 @@ describe("class name helpers", () => {
|
|
|
116
94
|
it("works with svg elements", () =>
|
|
117
95
|
expect(getClassSelector, "when called with", [<svg className="foo bar" />], "to equal", ".foo"));
|
|
118
96
|
|
|
119
|
-
it("works with styled components", () =>
|
|
120
|
-
expect(getClassSelector, "when called with", [<TestStyled />], "to match", /^\.\S*__TestStyled-/));
|
|
121
|
-
|
|
122
97
|
it("can make a selector targeting all classes", () =>
|
|
123
98
|
expect(getClassSelector, "when called with", [<TestComp className="foo bar" />, -1], "to equal", ".foo.bar"));
|
|
124
99
|
|
|
@@ -127,49 +102,6 @@ describe("class name helpers", () => {
|
|
|
127
102
|
expect(console.error, "was not called");
|
|
128
103
|
});
|
|
129
104
|
});
|
|
130
|
-
|
|
131
|
-
describe("getStyledClassSelector", () => {
|
|
132
|
-
it("creates a selector for a styled component", () =>
|
|
133
|
-
expect(
|
|
134
|
-
getStyledClassSelector,
|
|
135
|
-
"when called with",
|
|
136
|
-
[<TestStyled />],
|
|
137
|
-
"to match",
|
|
138
|
-
/.*__TestStyled-sc-[0-9a-zA-Z]{6}-[0-9]/,
|
|
139
|
-
));
|
|
140
|
-
|
|
141
|
-
it("can use the component function without rendering", () =>
|
|
142
|
-
expect(
|
|
143
|
-
getStyledClassSelector,
|
|
144
|
-
"when called with",
|
|
145
|
-
[TestStyled],
|
|
146
|
-
"to match",
|
|
147
|
-
/.*__TestStyled-sc-[0-9a-zA-Z]{6}-[0-9]/,
|
|
148
|
-
));
|
|
149
|
-
|
|
150
|
-
it("finds the most specific class name", () =>
|
|
151
|
-
expect(
|
|
152
|
-
getStyledClassSelector,
|
|
153
|
-
"when called with",
|
|
154
|
-
[<DerivedTestStyled />],
|
|
155
|
-
"to match",
|
|
156
|
-
/.*__DerivedTestStyled-sc-[0-9a-zA-Z]{6}-[0-9]/,
|
|
157
|
-
));
|
|
158
|
-
|
|
159
|
-
it("throws an error if not given a non-styled component", () =>
|
|
160
|
-
expect(
|
|
161
|
-
() => expect(getStyledClassSelector, "when called with", [<TestComp />]),
|
|
162
|
-
"to throw",
|
|
163
|
-
"<TestComp /> is not a styled component",
|
|
164
|
-
));
|
|
165
|
-
|
|
166
|
-
it("throws an error if not given a DOM primitive", () =>
|
|
167
|
-
expect(
|
|
168
|
-
() => expect(getStyledClassSelector, "when called with", [<div />]),
|
|
169
|
-
"to throw",
|
|
170
|
-
"<div /> is not a styled component",
|
|
171
|
-
));
|
|
172
|
-
});
|
|
173
105
|
});
|
|
174
106
|
|
|
175
107
|
describe("PropStruct", () => {
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = void 0;
|
|
5
|
-
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
6
|
-
var _utils = require("../utils");
|
|
7
|
-
var _polished = require("polished");
|
|
8
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
9
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
10
|
-
(function () {
|
|
11
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
12
|
-
enterModule && enterModule(module);
|
|
13
|
-
})();
|
|
14
|
-
(function () {
|
|
15
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
16
|
-
enterModule && enterModule(module);
|
|
17
|
-
})();
|
|
18
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
19
|
-
return a;
|
|
20
|
-
};
|
|
21
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
var borderColor = function borderColor(base) {
|
|
25
|
-
return (0, _utils.ifFlag)("primary", (0, _utils.getThemeProp)(["colors", "application", "base"], base), base);
|
|
26
|
-
};
|
|
27
|
-
var background = (0, _utils.ifFlag)("primary", (0, _utils.ifFlag)("active", (0, _styledComponents.css)(["color:#fff;background-image:linear-gradient( ", ",", " );&:enabled:active{background-image:none;background-color:#fff;color:", ";}"], (0, _utils.getThemeProp)(["colors", "application", "base"], "#333", function (color) {
|
|
28
|
-
return (0, _polished.tint)(0.05, color);
|
|
29
|
-
}), (0, _utils.getThemeProp)(["colors", "application", "base"], "#333"), (0, _utils.getThemeProp)(["colors", "application", "base"], "#333")), (0, _styledComponents.css)(["color:", ";background-image:none;background-color:#fff;&:enabled:active{color:#fff;background-image:linear-gradient( ", ",", " );}"], (0, _utils.getThemeProp)(["colors", "application", "base"], "#333"), (0, _utils.getThemeProp)(["colors", "application", "base"], "#333", function (color) {
|
|
30
|
-
return (0, _polished.tint)(0.05, color);
|
|
31
|
-
}), (0, _utils.getThemeProp)(["colors", "application", "base"], "#333"))), (0, _utils.ifFlag)("active", (0, _styledComponents.css)(["background-image:none;background-color:", ";&:enabled:active{background-color:#f7f7f7;}"], (0, _utils.getThemeProp)(["colors", "bgLight"], "#efefef")), (0, _styledComponents.css)(["background-image:none;background-color:#f7f7f7;&:enabled:active{background-color:", ";}"], (0, _utils.getThemeProp)(["colors", "bgLight"], "#efefef"))));
|
|
32
|
-
var Button = _styledComponents.default.button.withConfig({
|
|
33
|
-
displayName: "Button",
|
|
34
|
-
componentId: "sc-1rffh1n-0"
|
|
35
|
-
})(["display:inline-block;margin:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;white-space:nowrap;padding:6px 10px;font-size:13px;line-height:1.42857;border-radius:4px;user-select:none;height:30px;border:1px solid ", ";outline:none;font-family:", ";text-transform:uppercase;min-width:50px;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);", ";&:enabled:active,&:enabled:focus,&:enabled:hover{border-color:", ";box-shadow:0 0 4px #4fa1f0;outline:none;}&:disabled{opacity:0.6;cursor:default;}"], borderColor((0, _utils.getThemeProp)(["colors", "borderLight"], "#cccccc")), (0, _utils.getThemeProp)(["fonts", "header"], "sans-serif"), background, borderColor("#4fa1f0"));
|
|
36
|
-
var _default = Button;
|
|
37
|
-
var _default2 = _default;
|
|
38
|
-
var _default3 = exports.default = _default2;
|
|
39
|
-
;
|
|
40
|
-
(function () {
|
|
41
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
42
|
-
if (!reactHotLoader) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
reactHotLoader.register(borderColor, "borderColor", "/home/vsts/work/1/s/src/components/Button.js");
|
|
46
|
-
reactHotLoader.register(background, "background", "/home/vsts/work/1/s/src/components/Button.js");
|
|
47
|
-
reactHotLoader.register(Button, "Button", "/home/vsts/work/1/s/src/components/Button.js");
|
|
48
|
-
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/Button.js");
|
|
49
|
-
})();
|
|
50
|
-
;
|
|
51
|
-
(function () {
|
|
52
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
53
|
-
leaveModule && leaveModule(module);
|
|
54
|
-
})();
|
|
55
|
-
;
|
|
56
|
-
(function () {
|
|
57
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
58
|
-
if (!reactHotLoader) {
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
reactHotLoader.register(borderColor, "borderColor", "/home/vsts/work/1/s/src/components/Button.js");
|
|
62
|
-
reactHotLoader.register(background, "background", "/home/vsts/work/1/s/src/components/Button.js");
|
|
63
|
-
reactHotLoader.register(Button, "Button", "/home/vsts/work/1/s/src/components/Button.js");
|
|
64
|
-
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/Button.js");
|
|
65
|
-
})();
|
|
66
|
-
;
|
|
67
|
-
(function () {
|
|
68
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
69
|
-
leaveModule && leaveModule(module);
|
|
70
|
-
})();
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = exports.Wrapper = exports.Cover = exports.ContainedInput = exports.Checkbox = void 0;
|
|
5
|
-
var _react = _interopRequireDefault(require("react"));
|
|
6
|
-
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
7
|
-
var _utils = require("../utils");
|
|
8
|
-
var _polished = require("polished");
|
|
9
|
-
var _withId = _interopRequireDefault(require("../hocs/withId"));
|
|
10
|
-
var _excluded = ["value", "className", "id"];
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
-
(function () {
|
|
15
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
16
|
-
enterModule && enterModule(module);
|
|
17
|
-
})();
|
|
18
|
-
(function () {
|
|
19
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
20
|
-
enterModule && enterModule(module);
|
|
21
|
-
})();
|
|
22
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
23
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
24
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
25
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
26
|
-
return a;
|
|
27
|
-
};
|
|
28
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
29
|
-
return a;
|
|
30
|
-
};
|
|
31
|
-
var Wrapper = exports.Wrapper = _styledComponents.default.label.withConfig({
|
|
32
|
-
displayName: "Checkbox__Wrapper",
|
|
33
|
-
componentId: "sc-l110sd-0"
|
|
34
|
-
})(["padding:10px 15px;margin:-10px -15px;"]);
|
|
35
|
-
var ContainedInput = exports.ContainedInput = _styledComponents.default.input.attrs(function () {
|
|
36
|
-
return {
|
|
37
|
-
type: "checkbox"
|
|
38
|
-
};
|
|
39
|
-
}).withConfig({
|
|
40
|
-
displayName: "Checkbox__ContainedInput",
|
|
41
|
-
componentId: "sc-l110sd-1"
|
|
42
|
-
})(["position:absolute;opacity:0;z-index:10;margin:0;"]);
|
|
43
|
-
var Cover = exports.Cover = _styledComponents.default.label.withConfig({
|
|
44
|
-
displayName: "Checkbox__Cover",
|
|
45
|
-
componentId: "sc-l110sd-2"
|
|
46
|
-
})(["display:inline-block;position:relative;height:14px;width:14px;border:1px solid ", ";border-radius:3px;", ":active + &,", ":focus + &{box-shadow:0px 0px 1px 0px ", ";border-color:", ";}", ";"], (0, _utils.getThemeProp)(["colors", "borderLight"], "#cccccc"), ContainedInput, ContainedInput, (0, _utils.getThemeProp)(["colors", "application", "base"], "#777", function (color) {
|
|
47
|
-
return (0, _polished.tint)(0.05, color);
|
|
48
|
-
}), (0, _utils.getThemeProp)(["colors", "application", "base"], "#777"), (0, _utils.ifFlag)("value", (0, _styledComponents.css)(["background-color:", ";&::after{content:\"\u2714\";font-size:12px;line-height:1;position:absolute;top:1px;left:0;right:0;bottom:0;color:white;text-align:center;}"], (0, _utils.getThemeProp)(["colors", "application", "base"], "#777", function (color) {
|
|
49
|
-
return (0, _polished.tint)(0.05, color);
|
|
50
|
-
})), (0, _styledComponents.css)(["background-color:white;"])));
|
|
51
|
-
var Checkbox = exports.Checkbox = function Checkbox(_ref) {
|
|
52
|
-
var value = _ref.value,
|
|
53
|
-
className = _ref.className,
|
|
54
|
-
id = _ref.id,
|
|
55
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
56
|
-
return /*#__PURE__*/_react.default.createElement(Wrapper, {
|
|
57
|
-
className: className,
|
|
58
|
-
htmlFor: id
|
|
59
|
-
}, /*#__PURE__*/_react.default.createElement(ContainedInput, _extends({
|
|
60
|
-
value: value,
|
|
61
|
-
id: id
|
|
62
|
-
}, otherProps)), /*#__PURE__*/_react.default.createElement(Cover, {
|
|
63
|
-
value: value,
|
|
64
|
-
htmlFor: id
|
|
65
|
-
}));
|
|
66
|
-
};
|
|
67
|
-
var _default = (0, _withId.default)("checkbox")(Checkbox);
|
|
68
|
-
var _default2 = _default;
|
|
69
|
-
var _default3 = exports.default = _default2;
|
|
70
|
-
;
|
|
71
|
-
(function () {
|
|
72
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
73
|
-
if (!reactHotLoader) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
reactHotLoader.register(Wrapper, "Wrapper", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
77
|
-
reactHotLoader.register(ContainedInput, "ContainedInput", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
78
|
-
reactHotLoader.register(Cover, "Cover", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
79
|
-
reactHotLoader.register(Checkbox, "Checkbox", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
80
|
-
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
81
|
-
})();
|
|
82
|
-
;
|
|
83
|
-
(function () {
|
|
84
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
85
|
-
leaveModule && leaveModule(module);
|
|
86
|
-
})();
|
|
87
|
-
;
|
|
88
|
-
(function () {
|
|
89
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
90
|
-
if (!reactHotLoader) {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
reactHotLoader.register(Wrapper, "Wrapper", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
94
|
-
reactHotLoader.register(ContainedInput, "ContainedInput", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
95
|
-
reactHotLoader.register(Cover, "Cover", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
96
|
-
reactHotLoader.register(Checkbox, "Checkbox", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
97
|
-
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/Checkbox.js");
|
|
98
|
-
})();
|
|
99
|
-
;
|
|
100
|
-
(function () {
|
|
101
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
102
|
-
leaveModule && leaveModule(module);
|
|
103
|
-
})();
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = exports.ButtonText = exports.ButtonIcon = void 0;
|
|
5
|
-
var _react = _interopRequireDefault(require("react"));
|
|
6
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
7
|
-
var _Button = _interopRequireDefault(require("./Button"));
|
|
8
|
-
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
9
|
-
var _Text = _interopRequireDefault(require("./Text"));
|
|
10
|
-
var _excluded = ["icon", "label"];
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
(function () {
|
|
13
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
14
|
-
enterModule && enterModule(module);
|
|
15
|
-
})();
|
|
16
|
-
(function () {
|
|
17
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
18
|
-
enterModule && enterModule(module);
|
|
19
|
-
})();
|
|
20
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
21
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
22
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
23
|
-
return a;
|
|
24
|
-
};
|
|
25
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
26
|
-
return a;
|
|
27
|
-
};
|
|
28
|
-
var ButtonIcon = exports.ButtonIcon = (0, _styledComponents.default)(_Icon.default).withConfig({
|
|
29
|
-
displayName: "IconButton__ButtonIcon",
|
|
30
|
-
componentId: "sc-xsbiws-0"
|
|
31
|
-
})(["font-size:1.23em;margin:-3px -2px;"]);
|
|
32
|
-
var ButtonText = exports.ButtonText = _styledComponents.default.span.withConfig({
|
|
33
|
-
displayName: "IconButton__ButtonText",
|
|
34
|
-
componentId: "sc-xsbiws-1"
|
|
35
|
-
})(["", " + &{margin-left:12px;vertical-align:top;}"], ButtonIcon);
|
|
36
|
-
var IconButton = function IconButton(_ref) {
|
|
37
|
-
var icon = _ref.icon,
|
|
38
|
-
label = _ref.label,
|
|
39
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
40
|
-
return /*#__PURE__*/_react.default.createElement(_Button.default, props, icon ? /*#__PURE__*/_react.default.createElement(ButtonIcon, {
|
|
41
|
-
id: icon
|
|
42
|
-
}) : null, label ? /*#__PURE__*/_react.default.createElement(ButtonText, null, /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
43
|
-
message: label
|
|
44
|
-
})) : null);
|
|
45
|
-
};
|
|
46
|
-
var _default = IconButton;
|
|
47
|
-
var _default2 = _default;
|
|
48
|
-
var _default3 = exports.default = _default2;
|
|
49
|
-
;
|
|
50
|
-
(function () {
|
|
51
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
52
|
-
if (!reactHotLoader) {
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
reactHotLoader.register(ButtonIcon, "ButtonIcon", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
56
|
-
reactHotLoader.register(ButtonText, "ButtonText", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
57
|
-
reactHotLoader.register(IconButton, "IconButton", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
58
|
-
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
59
|
-
})();
|
|
60
|
-
;
|
|
61
|
-
(function () {
|
|
62
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
63
|
-
leaveModule && leaveModule(module);
|
|
64
|
-
})();
|
|
65
|
-
;
|
|
66
|
-
(function () {
|
|
67
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
68
|
-
if (!reactHotLoader) {
|
|
69
|
-
return;
|
|
70
|
-
}
|
|
71
|
-
reactHotLoader.register(ButtonIcon, "ButtonIcon", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
72
|
-
reactHotLoader.register(ButtonText, "ButtonText", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
73
|
-
reactHotLoader.register(IconButton, "IconButton", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
74
|
-
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/IconButton.js");
|
|
75
|
-
})();
|
|
76
|
-
;
|
|
77
|
-
(function () {
|
|
78
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
79
|
-
leaveModule && leaveModule(module);
|
|
80
|
-
})();
|
package/dist/components/Input.js
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = exports.InputComponent = void 0;
|
|
5
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
6
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
7
|
-
var _reactIntl = require("react-intl");
|
|
8
|
-
var _utils = require("../utils");
|
|
9
|
-
var _excluded = ["placeholder"];
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
13
|
-
(function () {
|
|
14
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
15
|
-
enterModule && enterModule(module);
|
|
16
|
-
})();
|
|
17
|
-
(function () {
|
|
18
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
19
|
-
enterModule && enterModule(module);
|
|
20
|
-
})();
|
|
21
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
22
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
23
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
24
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
25
|
-
return a;
|
|
26
|
-
};
|
|
27
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
28
|
-
return a;
|
|
29
|
-
};
|
|
30
|
-
var defaultFormatMessage = function defaultFormatMessage(message) {
|
|
31
|
-
throw new Error("Attempting to translate message " + message.id + " outside of Intl context");
|
|
32
|
-
};
|
|
33
|
-
var maybeTranslate = function maybeTranslate(formatMessage, message) {
|
|
34
|
-
if (formatMessage === void 0) {
|
|
35
|
-
formatMessage = defaultFormatMessage;
|
|
36
|
-
}
|
|
37
|
-
return message && message.id ? formatMessage(message) : message;
|
|
38
|
-
};
|
|
39
|
-
var useIntlSoft = function useIntlSoft() {
|
|
40
|
-
return (0, _react.useContext)(_reactIntl.IntlContext) || {};
|
|
41
|
-
};
|
|
42
|
-
__signature__(useIntlSoft, "useContext{}");
|
|
43
|
-
__signature__(useIntlSoft, "useContext{}");
|
|
44
|
-
var InputComponent = exports.InputComponent = _styledComponents.default.input.withConfig({
|
|
45
|
-
displayName: "Input__InputComponent",
|
|
46
|
-
componentId: "sc-19q5ujg-0"
|
|
47
|
-
})(["font-family:", ";box-sizing:border-box;flex:0 0 auto;height:30px;padding:5px 10px;border:1px solid ", ";border-radius:5px;&:focus{border-color:#4fa1f0;box-shadow:0 0 4px #4fa1f0;outline:none;}"], (0, _utils.getThemeProp)(["fonts", "base"], "sans-serif"), (0, _utils.getThemeProp)(["colors", "borderLight"], "#cccccc"));
|
|
48
|
-
var Input = function Input(_ref) {
|
|
49
|
-
var placeholder = _ref.placeholder,
|
|
50
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
51
|
-
var _useIntlSoft = useIntlSoft(),
|
|
52
|
-
formatMessage = _useIntlSoft.formatMessage;
|
|
53
|
-
return /*#__PURE__*/_react.default.createElement(InputComponent, _extends({}, props, {
|
|
54
|
-
placeholder: maybeTranslate(formatMessage, placeholder)
|
|
55
|
-
}));
|
|
56
|
-
};
|
|
57
|
-
__signature__(Input, "useIntlSoft{{ formatMessage }}", function () {
|
|
58
|
-
return [useIntlSoft];
|
|
59
|
-
});
|
|
60
|
-
__signature__(Input, "useIntlSoft{{ formatMessage }}", function () {
|
|
61
|
-
return [useIntlSoft];
|
|
62
|
-
});
|
|
63
|
-
var _default = Input;
|
|
64
|
-
var _default2 = _default;
|
|
65
|
-
var _default3 = exports.default = _default2;
|
|
66
|
-
;
|
|
67
|
-
(function () {
|
|
68
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
69
|
-
if (!reactHotLoader) {
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
reactHotLoader.register(defaultFormatMessage, "defaultFormatMessage", "/home/vsts/work/1/s/src/components/Input.js");
|
|
73
|
-
reactHotLoader.register(maybeTranslate, "maybeTranslate", "/home/vsts/work/1/s/src/components/Input.js");
|
|
74
|
-
reactHotLoader.register(useIntlSoft, "useIntlSoft", "/home/vsts/work/1/s/src/components/Input.js");
|
|
75
|
-
reactHotLoader.register(InputComponent, "InputComponent", "/home/vsts/work/1/s/src/components/Input.js");
|
|
76
|
-
reactHotLoader.register(Input, "Input", "/home/vsts/work/1/s/src/components/Input.js");
|
|
77
|
-
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/Input.js");
|
|
78
|
-
})();
|
|
79
|
-
;
|
|
80
|
-
(function () {
|
|
81
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
82
|
-
leaveModule && leaveModule(module);
|
|
83
|
-
})();
|
|
84
|
-
;
|
|
85
|
-
(function () {
|
|
86
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
87
|
-
if (!reactHotLoader) {
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
reactHotLoader.register(defaultFormatMessage, "defaultFormatMessage", "/home/vsts/work/1/s/src/components/Input.js");
|
|
91
|
-
reactHotLoader.register(maybeTranslate, "maybeTranslate", "/home/vsts/work/1/s/src/components/Input.js");
|
|
92
|
-
reactHotLoader.register(useIntlSoft, "useIntlSoft", "/home/vsts/work/1/s/src/components/Input.js");
|
|
93
|
-
reactHotLoader.register(InputComponent, "InputComponent", "/home/vsts/work/1/s/src/components/Input.js");
|
|
94
|
-
reactHotLoader.register(Input, "Input", "/home/vsts/work/1/s/src/components/Input.js");
|
|
95
|
-
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/Input.js");
|
|
96
|
-
})();
|
|
97
|
-
;
|
|
98
|
-
(function () {
|
|
99
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
100
|
-
leaveModule && leaveModule(module);
|
|
101
|
-
})();
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.default = void 0;
|
|
5
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
6
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
|
-
(function () {
|
|
8
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
9
|
-
enterModule && enterModule(module);
|
|
10
|
-
})();
|
|
11
|
-
(function () {
|
|
12
|
-
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
13
|
-
enterModule && enterModule(module);
|
|
14
|
-
})();
|
|
15
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
16
|
-
return a;
|
|
17
|
-
};
|
|
18
|
-
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
19
|
-
return a;
|
|
20
|
-
};
|
|
21
|
-
var Background = _styledComponents.default.div.withConfig({
|
|
22
|
-
displayName: "Background",
|
|
23
|
-
componentId: "sc-vgfi8m-0"
|
|
24
|
-
})(["position:absolute;background-color:rgba(127,127,127,0.5);height:100%;width:100%;"]);
|
|
25
|
-
var _default = Background;
|
|
26
|
-
var _default2 = _default;
|
|
27
|
-
var _default3 = exports.default = _default2;
|
|
28
|
-
;
|
|
29
|
-
(function () {
|
|
30
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
31
|
-
if (!reactHotLoader) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
reactHotLoader.register(Background, "Background", "/home/vsts/work/1/s/src/components/Modal/Background.js");
|
|
35
|
-
reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/Modal/Background.js");
|
|
36
|
-
})();
|
|
37
|
-
;
|
|
38
|
-
(function () {
|
|
39
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
40
|
-
leaveModule && leaveModule(module);
|
|
41
|
-
})();
|
|
42
|
-
;
|
|
43
|
-
(function () {
|
|
44
|
-
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
45
|
-
if (!reactHotLoader) {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
reactHotLoader.register(Background, "Background", "/home/vsts/work/1/s/src/components/Modal/Background.js");
|
|
49
|
-
reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/Modal/Background.js");
|
|
50
|
-
})();
|
|
51
|
-
;
|
|
52
|
-
(function () {
|
|
53
|
-
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
54
|
-
leaveModule && leaveModule(module);
|
|
55
|
-
})();
|