x25 17.4.41 → 17.4.43
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/Account/Load.d.ts +17 -17
- package/Account/Load.js +45 -45
- package/Account/Load.js.map +1 -1
- package/Account/actions.d.ts +20 -11
- package/Account/actions.js +103 -103
- package/Account/index.d.ts +3 -3
- package/Account/index.js +34 -34
- package/Account/reducer.d.ts +28 -26
- package/Account/reducer.js +82 -82
- package/Account/reducer.js.map +1 -1
- package/Async/InitModule.d.ts +8 -8
- package/Async/InitModule.js +59 -59
- package/Async/InitModule.js.map +1 -1
- package/Async/RouteLoading.d.ts +9 -9
- package/Async/RouteLoading.js +56 -56
- package/Async/RouteLoading.js.map +1 -1
- package/Async/SimulatedException.d.ts +6 -6
- package/Async/SimulatedException.js +37 -37
- package/Async/SimulatedException.js.map +1 -1
- package/Async/helpers.d.ts +6 -6
- package/Async/helpers.js +63 -63
- package/Async/helpers.js.map +1 -1
- package/Async/index.d.ts +6 -5
- package/Async/index.js +94 -94
- package/Async/types.d.ts +26 -26
- package/Async/types.js +2 -2
- package/Async/util.d.ts +2 -2
- package/Async/util.js +102 -102
- package/Async/util.js.map +1 -1
- package/Inputs/Business/BankAccount.d.ts +11 -11
- package/Inputs/Business/BankAccount.js +31 -31
- package/Inputs/Business/BankName.d.ts +11 -11
- package/Inputs/Business/BankName.js +31 -31
- package/Inputs/Business/Email.d.ts +4 -4
- package/Inputs/Business/Email.js +25 -25
- package/Inputs/Business/Phone.d.ts +4 -4
- package/Inputs/Business/Phone.js +25 -25
- package/Inputs/Business/index.d.ts +5 -5
- package/Inputs/Business/index.js +14 -14
- package/Inputs/CaptchaBox.d.ts +17 -17
- package/Inputs/CaptchaBox.js +43 -43
- package/Inputs/CaptchaBox.js.map +1 -1
- package/Inputs/DateInput.d.ts +21 -21
- package/Inputs/DateInput.js +63 -63
- package/Inputs/DateInput.js.map +1 -1
- package/Inputs/DateTemplate.d.ts +24 -24
- package/Inputs/DateTemplate.js +67 -67
- package/Inputs/DateTemplate.js.map +1 -1
- package/Inputs/DelayInputChange.d.ts +15 -15
- package/Inputs/DelayInputChange.js +79 -79
- package/Inputs/DelayInputChange.js.map +1 -1
- package/Inputs/FocusTemplate.d.ts +19 -19
- package/Inputs/FocusTemplate.js +52 -52
- package/Inputs/InputTemplate.d.ts +23 -23
- package/Inputs/InputTemplate.js +31 -31
- package/Inputs/LabelTemplate.d.ts +14 -14
- package/Inputs/LabelTemplate.js +28 -28
- package/Inputs/NumericInput.d.ts +28 -28
- package/Inputs/NumericInput.js +44 -44
- package/Inputs/NumericInput.js.map +1 -1
- package/Inputs/NumericTemplate.d.ts +32 -32
- package/Inputs/NumericTemplate.js +42 -42
- package/Inputs/NumericTemplate.js.map +1 -1
- package/Inputs/Selects/Custom.d.ts +23 -23
- package/Inputs/Selects/Custom.js +27 -27
- package/Inputs/Selects/Simple.d.ts +21 -21
- package/Inputs/Selects/Simple.js +35 -35
- package/Inputs/Selects/index.d.ts +5 -5
- package/Inputs/Selects/index.js +27 -27
- package/Inputs/SimpleInput.d.ts +19 -19
- package/Inputs/SimpleInput.js +26 -26
- package/Inputs/SimpleTextarea.d.ts +19 -19
- package/Inputs/SimpleTextarea.js +24 -24
- package/Inputs/TextareaTemplate.d.ts +20 -20
- package/Inputs/TextareaTemplate.js +31 -31
- package/Inputs/common.d.ts +1 -1
- package/Inputs/common.js +26 -26
- package/Inputs/common.js.map +1 -1
- package/Inputs/index.d.ts +14 -14
- package/Inputs/index.js +30 -30
- package/Loader/LoaderRender.d.ts +17 -17
- package/Loader/LoaderRender.js +85 -85
- package/Loader/LoaderRender.js.map +1 -1
- package/Loader/index.d.ts +80 -670
- package/Loader/index.js +143 -143
- package/Loader/index.js.map +1 -1
- package/Messages/CenterLoading.d.ts +6 -6
- package/Messages/CenterLoading.js +39 -39
- package/Messages/Error.d.ts +10 -10
- package/Messages/Error.js +39 -39
- package/Messages/Loading.d.ts +8 -8
- package/Messages/Loading.js +29 -29
- package/Messages/Loading.js.map +1 -1
- package/Messages/index.d.ts +2 -2
- package/Messages/index.js +18 -18
- package/Modal/ConfirmationModal.d.ts +4 -4
- package/Modal/ConfirmationModal.js +90 -90
- package/Modal/ConfirmationModal.js.map +1 -1
- package/Modal/ModalWindow.d.ts +4 -4
- package/Modal/ModalWindow.js +120 -120
- package/Modal/ModalWindow.js.map +1 -1
- package/Modal/Root.d.ts +15 -15
- package/Modal/Root.js +62 -62
- package/Modal/Root.js.map +1 -1
- package/Modal/actions.d.ts +2 -2
- package/Modal/actions.js +9 -9
- package/Modal/getComponent.d.ts +2 -2
- package/Modal/getComponent.js +21 -21
- package/Modal/getComponent.js.map +1 -1
- package/Modal/index.d.ts +4 -4
- package/Modal/index.js +12 -12
- package/Modal/reducer.d.ts +7 -7
- package/Modal/reducer.js +54 -54
- package/Modal/reducer.js.map +1 -1
- package/Modal/types.d.ts +43 -43
- package/Modal/types.js +2 -2
- package/Modal/util.d.ts +2 -2
- package/Modal/util.js +19 -19
- package/UI/Collapse.d.ts +8 -8
- package/UI/Collapse.js +70 -70
- package/UI/Collapse.js.map +1 -1
- package/UI/LoadImages.d.ts +6 -6
- package/UI/LoadImages.js +60 -60
- package/UI/LoadImages.js.map +1 -1
- package/UI/NewFeature.d.ts +6 -6
- package/UI/NewFeature.js +10 -10
- package/UI/Things.d.ts +3 -3
- package/UI/Things.js +22 -22
- package/actions.d.ts +13 -13
- package/actions.js +50 -50
- package/config.d.ts +2 -2
- package/config.js +14 -14
- package/config.js.map +1 -1
- package/index.d.ts +2 -2
- package/index.js +8 -8
- package/package.json +42 -48
- package/reducer/captchas.d.ts +6 -6
- package/reducer/captchas.js +48 -48
- package/reducer/captchas.js.map +1 -1
- package/reducer/index.d.ts +33 -31
- package/reducer/index.js +52 -52
- package/reducer/module.d.ts +6 -6
- package/reducer/module.js +46 -46
- package/reducer/module.js.map +1 -1
- package/types.d.ts +21 -21
- package/types.js +2 -2
- package/utility/breakpoint.d.ts +12 -12
- package/utility/breakpoint.js +84 -84
- package/utility/breakpoint.js.map +1 -1
- package/utility/calendar.d.ts +15 -15
- package/utility/calendar.js +32 -32
- package/utility/date.d.ts +13 -13
- package/utility/date.js +67 -67
- package/utility/date.js.map +1 -1
- package/utility/dev/ErrorBoundary.d.ts +22 -22
- package/utility/dev/ErrorBoundary.js +76 -76
- package/utility/dev/ErrorBoundary.js.map +1 -1
- package/utility/dev/TheError.d.ts +11 -11
- package/utility/dev/TheError.js +37 -37
- package/utility/dev/TheError.js.map +1 -1
- package/utility/dev/index.d.ts +2 -2
- package/utility/dev/index.js +105 -105
- package/utility/dev/index.js.map +1 -1
- package/utility/dev/types.d.ts +8 -8
- package/utility/dev/types.js +2 -2
- package/utility/hooks.d.ts +7 -7
- package/utility/hooks.js +22 -22
- package/utility/hooks.js.map +1 -1
- package/utility/index.d.ts +13 -14
- package/utility/index.js +35 -36
- package/utility/index.js.map +1 -1
- package/utility/languages/english.d.ts +109 -109
- package/utility/languages/english.js +115 -115
- package/utility/languages/ro.d.ts +108 -108
- package/utility/languages/ro.js +116 -116
- package/utility/normalize.d.ts +21 -21
- package/utility/normalize.js +70 -70
- package/utility/normalize.js.map +1 -1
- package/utility/{strings-test.d.ts → normalize.test.d.ts} +1 -1
- package/utility/{normalize-test.js → normalize.test.js} +65 -68
- package/utility/normalize.test.js.map +1 -0
- package/utility/numbers.d.ts +4 -4
- package/utility/numbers.js +36 -36
- package/utility/numbers.js.map +1 -1
- package/utility/numeric.d.ts +5 -5
- package/utility/numeric.js +58 -58
- package/utility/numeric.js.map +1 -1
- package/utility/others.d.ts +9 -9
- package/utility/others.js +24 -24
- package/utility/others.js.map +1 -1
- package/utility/strings.d.ts +5 -5
- package/utility/strings.js +39 -39
- package/utility/strings.js.map +1 -1
- package/utility/{validation/validate/email-test.d.ts → strings.test.d.ts} +1 -1
- package/utility/{strings-test.js → strings.test.js} +122 -121
- package/utility/strings.test.js.map +1 -0
- package/utility/validation/common.d.ts +2 -2
- package/utility/validation/common.js +119 -119
- package/utility/validation/common.js.map +1 -1
- package/utility/validation/index.d.ts +5 -5
- package/utility/validation/index.js +34 -34
- package/utility/validation/index.js.map +1 -1
- package/utility/validation/specific.d.ts +1 -1
- package/utility/validation/specific.js +15 -15
- package/utility/validation/types.d.ts +42 -42
- package/utility/validation/types.js +2 -2
- package/utility/validation/validate/date.d.ts +2 -2
- package/utility/validation/validate/date.js +43 -43
- package/utility/validation/validate/date.js.map +1 -1
- package/utility/validation/validate/email.d.ts +1 -1
- package/utility/validation/validate/email.js +8 -8
- package/utility/{normalize-test.d.ts → validation/validate/email.test.d.ts} +1 -1
- package/utility/validation/validate/email.test.js +26 -0
- package/utility/validation/validate/email.test.js.map +1 -0
- package/utility/validation/validate/index.d.ts +2 -2
- package/utility/validation/validate/index.js +18 -18
- package/utility/words.d.ts +117 -117
- package/utility/words.js +72 -72
- package/utility/words.js.map +1 -1
- package/utility/mql.d.ts +0 -1
- package/utility/mql.js +0 -5
- package/utility/mql.js.map +0 -1
- package/utility/normalize-test.js.map +0 -1
- package/utility/strings-test.js.map +0 -1
- package/utility/validation/validate/email-test.js +0 -25
- package/utility/validation/validate/email-test.js.map +0 -1
package/Account/Load.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
readonly appName: string;
|
|
4
|
-
readonly isFetching: boolean;
|
|
5
|
-
readonly hasError: boolean;
|
|
6
|
-
readonly data: any;
|
|
7
|
-
readonly children: any;
|
|
8
|
-
readonly shouldFetch: any;
|
|
9
|
-
readonly fetchInitialInformation: () => void;
|
|
10
|
-
};
|
|
11
|
-
declare const _default: import("react-redux").ConnectedComponent<(props: PropTypes) => any, {
|
|
12
|
-
readonly children: any;
|
|
13
|
-
appName: string;
|
|
14
|
-
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
|
15
|
-
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
|
16
|
-
}>;
|
|
17
|
-
export default _default;
|
|
1
|
+
import React from "react";
|
|
2
|
+
type PropTypes = {
|
|
3
|
+
readonly appName: string;
|
|
4
|
+
readonly isFetching: boolean;
|
|
5
|
+
readonly hasError: boolean;
|
|
6
|
+
readonly data: any;
|
|
7
|
+
readonly children: any;
|
|
8
|
+
readonly shouldFetch: any;
|
|
9
|
+
readonly fetchInitialInformation: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("react-redux").ConnectedComponent<(props: PropTypes) => any, {
|
|
12
|
+
readonly children: any;
|
|
13
|
+
appName: string;
|
|
14
|
+
context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
|
|
15
|
+
store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
export default _default;
|
package/Account/Load.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var react_1 = __importDefault(require("react"));
|
|
7
|
-
var react_redux_1 = require("react-redux");
|
|
8
|
-
var Messages_1 = require("../Messages");
|
|
9
|
-
var utility_1 = require("../utility");
|
|
10
|
-
var actions_1 = require("./actions");
|
|
11
|
-
var reducer_1 = require("./reducer");
|
|
12
|
-
var mapStateToProps = function (state) { return ({
|
|
13
|
-
data: reducer_1.selectors.getCurrentAccount(state),
|
|
14
|
-
hasError: reducer_1.selectors.getCurrentAccountHasError(state),
|
|
15
|
-
fetched: reducer_1.selectors.getCurrentAccountIsFetched(state),
|
|
16
|
-
isFetching: reducer_1.selectors.getCurrentAccountIsFetching(state),
|
|
17
|
-
shouldFetch: reducer_1.selectors.getCurrentAccountShouldFetch(state),
|
|
18
|
-
}); }, mapDispatchToProps = function (dispatch, _a) {
|
|
19
|
-
var appName = _a.appName;
|
|
20
|
-
return ({
|
|
21
|
-
fetchInitialInformation: function () {
|
|
22
|
-
setTimeout(function () {
|
|
23
|
-
dispatch((0, actions_1.fetchInitialInformation)(appName));
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
}, LoadAccount = function (props) {
|
|
28
|
-
var children = props.children, data = props.data, isFetching = props.isFetching, shouldFetch = props.shouldFetch, hasError = props.hasError, fetchInitialInformation = props.fetchInitialInformation;
|
|
29
|
-
react_1.default.useEffect(function () {
|
|
30
|
-
if (shouldFetch) {
|
|
31
|
-
fetchInitialInformation();
|
|
32
|
-
}
|
|
33
|
-
}, [shouldFetch, isFetching, hasError]);
|
|
34
|
-
if (isFetching) {
|
|
35
|
-
return react_1.default.createElement(Messages_1.LoadingMessage, { message: utility_1.words.PleaseWait });
|
|
36
|
-
}
|
|
37
|
-
if (hasError) {
|
|
38
|
-
return react_1.default.createElement(Messages_1.LargeErrorMessage, { message: utility_1.words.ThereWasAProblem, onRetry: fetchInitialInformation });
|
|
39
|
-
}
|
|
40
|
-
if (data.size === 0) {
|
|
41
|
-
return null;
|
|
42
|
-
}
|
|
43
|
-
return children;
|
|
44
|
-
};
|
|
45
|
-
exports.default = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(LoadAccount);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var react_redux_1 = require("react-redux");
|
|
8
|
+
var Messages_1 = require("../Messages");
|
|
9
|
+
var utility_1 = require("../utility");
|
|
10
|
+
var actions_1 = require("./actions");
|
|
11
|
+
var reducer_1 = require("./reducer");
|
|
12
|
+
var mapStateToProps = function (state) { return ({
|
|
13
|
+
data: reducer_1.selectors.getCurrentAccount(state),
|
|
14
|
+
hasError: reducer_1.selectors.getCurrentAccountHasError(state),
|
|
15
|
+
fetched: reducer_1.selectors.getCurrentAccountIsFetched(state),
|
|
16
|
+
isFetching: reducer_1.selectors.getCurrentAccountIsFetching(state),
|
|
17
|
+
shouldFetch: reducer_1.selectors.getCurrentAccountShouldFetch(state),
|
|
18
|
+
}); }, mapDispatchToProps = function (dispatch, _a) {
|
|
19
|
+
var appName = _a.appName;
|
|
20
|
+
return ({
|
|
21
|
+
fetchInitialInformation: function () {
|
|
22
|
+
setTimeout(function () {
|
|
23
|
+
dispatch((0, actions_1.fetchInitialInformation)(appName));
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
}, LoadAccount = function (props) {
|
|
28
|
+
var children = props.children, data = props.data, isFetching = props.isFetching, shouldFetch = props.shouldFetch, hasError = props.hasError, fetchInitialInformation = props.fetchInitialInformation;
|
|
29
|
+
react_1.default.useEffect(function () {
|
|
30
|
+
if (shouldFetch) {
|
|
31
|
+
fetchInitialInformation();
|
|
32
|
+
}
|
|
33
|
+
}, [shouldFetch, isFetching, hasError]);
|
|
34
|
+
if (isFetching) {
|
|
35
|
+
return react_1.default.createElement(Messages_1.LoadingMessage, { message: utility_1.words.PleaseWait });
|
|
36
|
+
}
|
|
37
|
+
if (hasError) {
|
|
38
|
+
return react_1.default.createElement(Messages_1.LargeErrorMessage, { message: utility_1.words.ThereWasAProblem, onRetry: fetchInitialInformation });
|
|
39
|
+
}
|
|
40
|
+
if (data.size === 0) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return children;
|
|
44
|
+
};
|
|
45
|
+
exports.default = (0, react_redux_1.connect)(mapStateToProps, mapDispatchToProps)(LoadAccount);
|
|
46
46
|
//# sourceMappingURL=Load.js.map
|
package/Account/Load.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Load.js","sourceRoot":"","sources":["../../src/Account/Load.tsx"],"names":[],"mappings":";;;;;AAAA,gDAA0B;AAC1B,2CAAsC;AACtC,wCAAgE;AAChE,sCAAmC;AACnC,qCAAqF;AACrF,qCAAsC;AAatC,IAAM,eAAe,GAAG,UAAC,KAAY,IAAK,OAAA,CAAC;IACvC,IAAI,EAAU,mBAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC;IAChD,QAAQ,EAAM,mBAAS,CAAC,yBAAyB,CAAC,KAAK,CAAC;IACxD,OAAO,EAAO,mBAAS,CAAC,0BAA0B,CAAC,KAAK,CAAC;IACzD,UAAU,EAAI,mBAAS,CAAC,2BAA2B,CAAC,KAAK,CAAC;IAC1D,WAAW,EAAG,mBAAS,CAAC,4BAA4B,CAAC,KAAK,CAAC;CAC5D,CAAC,EANsC,CAMtC,EACF,kBAAkB,GAAG,UAAC,QAAkB,EAAE,EAElB;QADtB,OAAO,aAAA;IACoB,OAAA,CAAC;QAC5B,uBAAuB;YACrB,UAAU,CAAC;gBACT,QAAQ,CAAC,IAAA,iCAA6B,EAAC,OAAO,CAAC,CAAC,CAAC;YACnD,CAAC,CAAC,CAAC;QACL,CAAC;KAEF,CAAC;AAP2B,CAO3B,EAEF,WAAW,GAAG,UAAC,KAAgB;IACrB,IAAA,QAAQ,GAAuE,KAAK,SAA5E,EAAE,IAAI,GAAiE,KAAK,KAAtE,EAAE,UAAU,GAAqD,KAAK,WAA1D,EAAE,WAAW,GAAwC,KAAK,YAA7C,EAAE,QAAQ,GAA8B,KAAK,SAAnC,EAAE,uBAAuB,GAAK,KAAK,wBAAV,CAAW;IAE7F,eAAK,CAAC,SAAS,CAAC;QACd,IAAI,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"Load.js","sourceRoot":"","sources":["../../src/Account/Load.tsx"],"names":[],"mappings":";;;;;AAAA,gDAA0B;AAC1B,2CAAsC;AACtC,wCAAgE;AAChE,sCAAmC;AACnC,qCAAqF;AACrF,qCAAsC;AAatC,IAAM,eAAe,GAAG,UAAC,KAAY,IAAK,OAAA,CAAC;IACvC,IAAI,EAAU,mBAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC;IAChD,QAAQ,EAAM,mBAAS,CAAC,yBAAyB,CAAC,KAAK,CAAC;IACxD,OAAO,EAAO,mBAAS,CAAC,0BAA0B,CAAC,KAAK,CAAC;IACzD,UAAU,EAAI,mBAAS,CAAC,2BAA2B,CAAC,KAAK,CAAC;IAC1D,WAAW,EAAG,mBAAS,CAAC,4BAA4B,CAAC,KAAK,CAAC;CAC5D,CAAC,EANsC,CAMtC,EACF,kBAAkB,GAAG,UAAC,QAAkB,EAAE,EAElB;QADtB,OAAO,aAAA;IACoB,OAAA,CAAC;QAC5B,uBAAuB;YACrB,UAAU,CAAC;gBACT,QAAQ,CAAC,IAAA,iCAA6B,EAAC,OAAO,CAAC,CAAC,CAAC;YACnD,CAAC,CAAC,CAAC;QACL,CAAC;KAEF,CAAC;AAP2B,CAO3B,EAEF,WAAW,GAAG,UAAC,KAAgB;IACrB,IAAA,QAAQ,GAAuE,KAAK,SAA5E,EAAE,IAAI,GAAiE,KAAK,KAAtE,EAAE,UAAU,GAAqD,KAAK,WAA1D,EAAE,WAAW,GAAwC,KAAK,YAA7C,EAAE,QAAQ,GAA8B,KAAK,SAAnC,EAAE,uBAAuB,GAAK,KAAK,wBAAV,CAAW;IAE7F,eAAK,CAAC,SAAS,CAAC;QACd,IAAI,WAAW,EAAE,CAAC;YAChB,uBAAuB,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;IAExC,IAAI,UAAU,EAAE,CAAC;QACf,OAAO,8BAAC,yBAAc,IAAC,OAAO,EAAE,eAAK,CAAC,UAAU,GAAI,CAAC;IACvD,CAAC;IAED,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,8BAAC,4BAAiB,IAAC,OAAO,EAAE,eAAK,CAAC,gBAAgB,EAAE,OAAO,EAAE,uBAAuB,GAAI,CAAC;IAClG,CAAC;IAED,IAAI,IAAI,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;QACpB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAEJ,kBAAe,IAAA,qBAAO,EAAC,eAAe,EAAE,kBAAkB,CAAC,CAAC,WAAW,CAAC,CAAC"}
|
package/Account/actions.d.ts
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import * as Immutable from "immutable";
|
|
2
|
-
export declare const fetchInitialInformation: import("@reduxjs/toolkit").AsyncThunk<{
|
|
3
|
-
Account:
|
|
4
|
-
IsConnected: any;
|
|
5
|
-
Error: string;
|
|
6
|
-
Counties: Immutable.Map<string, any> | Immutable.List<unknown>;
|
|
7
|
-
Companies: Immutable.Map<string, any> | Immutable.List<unknown>;
|
|
8
|
-
}, string, {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as Immutable from "immutable";
|
|
2
|
+
export declare const fetchInitialInformation: import("@reduxjs/toolkit").AsyncThunk<{
|
|
3
|
+
Account: any;
|
|
4
|
+
IsConnected: any;
|
|
5
|
+
Error: string;
|
|
6
|
+
Counties: Immutable.Map<string, any> | Immutable.List<unknown>;
|
|
7
|
+
Companies: Immutable.Map<string, any> | Immutable.List<unknown>;
|
|
8
|
+
}, string, {
|
|
9
|
+
state?: unknown;
|
|
10
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
11
|
+
extra?: unknown;
|
|
12
|
+
rejectValue?: unknown;
|
|
13
|
+
serializedErrorType?: unknown;
|
|
14
|
+
pendingMeta?: unknown;
|
|
15
|
+
fulfilledMeta?: unknown;
|
|
16
|
+
rejectedMeta?: unknown;
|
|
17
|
+
}>, modifyCurrentAccountData: (newAccountDataToMerge: Immutable.Map<string, any>) => {
|
|
18
|
+
type: string;
|
|
19
|
+
payload: Immutable.Map<string, any>;
|
|
20
|
+
};
|
package/Account/actions.js
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
35
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
36
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
37
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38
|
-
function step(op) {
|
|
39
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
40
|
-
while (_) try {
|
|
41
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
42
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
43
|
-
switch (op[0]) {
|
|
44
|
-
case 0: case 1: t = op; break;
|
|
45
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
46
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
47
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
48
|
-
default:
|
|
49
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
50
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
51
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
52
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
53
|
-
if (t[2]) _.ops.pop();
|
|
54
|
-
_.trys.pop(); continue;
|
|
55
|
-
}
|
|
56
|
-
op = body.call(thisArg, _);
|
|
57
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
58
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
62
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
63
|
-
};
|
|
64
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65
|
-
exports.modifyCurrentAccountData = exports.fetchInitialInformation = void 0;
|
|
66
|
-
var superagent_1 = __importDefault(require("superagent"));
|
|
67
|
-
var Immutable = __importStar(require("immutable"));
|
|
68
|
-
var toolkit_1 = require("@reduxjs/toolkit");
|
|
69
|
-
var utility_1 = require("../utility");
|
|
70
|
-
var normalizeInitialInformation = function (info) {
|
|
71
|
-
var Account = info.Account, IsConnected = info.IsConnected, Counties = info.Counties, Companies = info.Companies;
|
|
72
|
-
return {
|
|
73
|
-
Account: Immutable.fromJS(Account || {}),
|
|
74
|
-
IsConnected: IsConnected,
|
|
75
|
-
Error: IsConnected ? utility_1.noError : "Not connected",
|
|
76
|
-
Counties: (typeof Counties === "undefined"
|
|
77
|
-
? Immutable.List()
|
|
78
|
-
: (0, utility_1.normalizeArrayByField)(Counties, "Short").entities),
|
|
79
|
-
Companies: (typeof Companies === "undefined"
|
|
80
|
-
? Immutable.List()
|
|
81
|
-
: (0, utility_1.normalizeArray)(Companies).entities),
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
var modifyCurrentAccountData = function (newAccountDataToMerge) { return ({
|
|
85
|
-
type: "account/MODIFY_DATA",
|
|
86
|
-
payload: newAccountDataToMerge,
|
|
87
|
-
}); };
|
|
88
|
-
exports.fetchInitialInformation = (0, toolkit_1.createAsyncThunk)("account/FETCH_INITIAL_INFORMATION", function (app) { return __awaiter(void 0, void 0, void 0, function () {
|
|
89
|
-
var response;
|
|
90
|
-
return __generator(this, function (_a) {
|
|
91
|
-
switch (_a.label) {
|
|
92
|
-
case 0: return [4 /*yield*/, superagent_1.default.
|
|
93
|
-
get("/api/extern/get-initial-information").
|
|
94
|
-
type("form").
|
|
95
|
-
query({
|
|
96
|
-
app: app,
|
|
97
|
-
})];
|
|
98
|
-
case 1:
|
|
99
|
-
response = _a.sent();
|
|
100
|
-
return [2 /*return*/, normalizeInitialInformation((response === null || response === void 0 ? void 0 : response.body) || {})];
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
}); }), exports.modifyCurrentAccountData = modifyCurrentAccountData;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
35
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
36
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
37
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38
|
+
function step(op) {
|
|
39
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
40
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
41
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
42
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
43
|
+
switch (op[0]) {
|
|
44
|
+
case 0: case 1: t = op; break;
|
|
45
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
46
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
47
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
48
|
+
default:
|
|
49
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
50
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
51
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
52
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
53
|
+
if (t[2]) _.ops.pop();
|
|
54
|
+
_.trys.pop(); continue;
|
|
55
|
+
}
|
|
56
|
+
op = body.call(thisArg, _);
|
|
57
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
58
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
62
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
63
|
+
};
|
|
64
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
65
|
+
exports.modifyCurrentAccountData = exports.fetchInitialInformation = void 0;
|
|
66
|
+
var superagent_1 = __importDefault(require("superagent"));
|
|
67
|
+
var Immutable = __importStar(require("immutable"));
|
|
68
|
+
var toolkit_1 = require("@reduxjs/toolkit");
|
|
69
|
+
var utility_1 = require("../utility");
|
|
70
|
+
var normalizeInitialInformation = function (info) {
|
|
71
|
+
var Account = info.Account, IsConnected = info.IsConnected, Counties = info.Counties, Companies = info.Companies;
|
|
72
|
+
return {
|
|
73
|
+
Account: Immutable.fromJS(Account || {}),
|
|
74
|
+
IsConnected: IsConnected,
|
|
75
|
+
Error: IsConnected ? utility_1.noError : "Not connected",
|
|
76
|
+
Counties: (typeof Counties === "undefined"
|
|
77
|
+
? Immutable.List()
|
|
78
|
+
: (0, utility_1.normalizeArrayByField)(Counties, "Short").entities),
|
|
79
|
+
Companies: (typeof Companies === "undefined"
|
|
80
|
+
? Immutable.List()
|
|
81
|
+
: (0, utility_1.normalizeArray)(Companies).entities),
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
var modifyCurrentAccountData = function (newAccountDataToMerge) { return ({
|
|
85
|
+
type: "account/MODIFY_DATA",
|
|
86
|
+
payload: newAccountDataToMerge,
|
|
87
|
+
}); };
|
|
88
|
+
exports.fetchInitialInformation = (0, toolkit_1.createAsyncThunk)("account/FETCH_INITIAL_INFORMATION", function (app) { return __awaiter(void 0, void 0, void 0, function () {
|
|
89
|
+
var response;
|
|
90
|
+
return __generator(this, function (_a) {
|
|
91
|
+
switch (_a.label) {
|
|
92
|
+
case 0: return [4 /*yield*/, superagent_1.default.
|
|
93
|
+
get("/api/extern/get-initial-information").
|
|
94
|
+
type("form").
|
|
95
|
+
query({
|
|
96
|
+
app: app,
|
|
97
|
+
})];
|
|
98
|
+
case 1:
|
|
99
|
+
response = _a.sent();
|
|
100
|
+
return [2 /*return*/, normalizeInitialInformation((response === null || response === void 0 ? void 0 : response.body) || {})];
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}); }), exports.modifyCurrentAccountData = modifyCurrentAccountData;
|
|
104
104
|
//# sourceMappingURL=actions.js.map
|
package/Account/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import accountReducer, { selectors as accountSelectors } from "./reducer";
|
|
2
|
-
import LoadAccount from "./Load";
|
|
3
|
-
export { accountSelectors, accountReducer, LoadAccount };
|
|
1
|
+
import accountReducer, { selectors as accountSelectors } from "./reducer";
|
|
2
|
+
import LoadAccount from "./Load";
|
|
3
|
+
export { accountSelectors, accountReducer, LoadAccount };
|
package/Account/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.LoadAccount = exports.accountReducer = exports.accountSelectors = void 0;
|
|
30
|
-
var reducer_1 = __importStar(require("./reducer"));
|
|
31
|
-
exports.accountReducer = reducer_1.default;
|
|
32
|
-
Object.defineProperty(exports, "accountSelectors", { enumerable: true, get: function () { return reducer_1.selectors; } });
|
|
33
|
-
var Load_1 = __importDefault(require("./Load"));
|
|
34
|
-
exports.LoadAccount = Load_1.default;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.LoadAccount = exports.accountReducer = exports.accountSelectors = void 0;
|
|
30
|
+
var reducer_1 = __importStar(require("./reducer"));
|
|
31
|
+
exports.accountReducer = reducer_1.default;
|
|
32
|
+
Object.defineProperty(exports, "accountSelectors", { enumerable: true, get: function () { return reducer_1.selectors; } });
|
|
33
|
+
var Load_1 = __importDefault(require("./Load"));
|
|
34
|
+
exports.LoadAccount = Load_1.default;
|
|
35
35
|
//# sourceMappingURL=index.js.map
|
package/Account/reducer.d.ts
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import type { Action, State } from "src/types";
|
|
2
|
-
declare const reducer: (state: any, action: Action) => any;
|
|
3
|
-
export declare const selectors: {
|
|
4
|
-
getCurrentAccountCompanies: (state: State) => any;
|
|
5
|
-
getCurrentAccount: (state: State) => any;
|
|
6
|
-
getCurrentAccountIsFetching: (state: State) => any;
|
|
7
|
-
getCurrentAccountShouldFetch: ((state:
|
|
8
|
-
clearCache: () => void;
|
|
9
|
-
}> & {
|
|
10
|
-
clearCache: () => void;
|
|
11
|
-
};
|
|
12
|
-
getCurrentAccountIsFetched: ((state:
|
|
13
|
-
clearCache: () => void;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
clearCache: () => void;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
clearCache: () => void;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import type { Action, State } from "src/types";
|
|
2
|
+
declare const reducer: (state: any, action: Action) => any;
|
|
3
|
+
export declare const selectors: {
|
|
4
|
+
getCurrentAccountCompanies: (state: State) => any;
|
|
5
|
+
getCurrentAccount: (state: State) => any;
|
|
6
|
+
getCurrentAccountIsFetching: (state: State) => any;
|
|
7
|
+
getCurrentAccountShouldFetch: ((state: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: any, args_1: any, args_2: any) => boolean, {
|
|
8
|
+
clearCache: () => void;
|
|
9
|
+
}> & {
|
|
10
|
+
clearCache: () => void;
|
|
11
|
+
};
|
|
12
|
+
getCurrentAccountIsFetched: ((state: any) => any) & import("reselect").OutputSelectorFields<(args_0: any, args_1: any, args_2: any) => any, {
|
|
13
|
+
clearCache: () => void;
|
|
14
|
+
}> & {
|
|
15
|
+
clearCache: () => void;
|
|
16
|
+
};
|
|
17
|
+
getCurrentAccountHasError: ((state: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: any) => boolean, {
|
|
18
|
+
clearCache: () => void;
|
|
19
|
+
}> & {
|
|
20
|
+
clearCache: () => void;
|
|
21
|
+
};
|
|
22
|
+
getIsCurrentAccountAdministrator: ((state: any) => boolean) & import("reselect").OutputSelectorFields<(args_0: any) => boolean, {
|
|
23
|
+
clearCache: () => void;
|
|
24
|
+
}> & {
|
|
25
|
+
clearCache: () => void;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default reducer;
|