@zimbra/zimlet-cli 12.13.0 → 14.2.0
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/.browserslistrc +1 -0
- package/dist/cli.js +11 -17
- package/dist/commands/create.js +206 -324
- package/dist/commands/package.js +144 -93
- package/dist/entry.js +14 -12
- package/dist/index.js +89 -114
- package/dist/lib/async-command.js +8 -14
- package/dist/lib/setup.js +55 -133
- package/dist/lib/webpack/transform-config.js +8 -8
- package/dist/shims/@apollo/client/index.js +92 -82
- package/dist/shims/@apollo/client/react/components/index.js +6 -6
- package/dist/shims/@apollo/client/react/hoc/index.js +8 -8
- package/dist/shims/@apollo/client/react/index.js +16 -16
- package/dist/shims/@zimbra-client/blocks/index.js +28 -28
- package/dist/shims/@zimbra-client/browser/index.js +4 -4
- package/dist/shims/@zimbra-client/components/index.js +53 -51
- package/dist/shims/@zimbra-client/constants/index.js +7 -7
- package/dist/shims/@zimbra-client/enhancers/index.js +10 -10
- package/dist/shims/@zimbra-client/errors/index.js +5 -5
- package/dist/shims/@zimbra-client/graphql/index.js +29 -29
- package/dist/shims/@zimbra-client/hooks/graphql/index.js +8 -8
- package/dist/shims/@zimbra-client/hooks/index.js +8 -8
- package/dist/shims/@zimbra-client/platform/index.js +5 -5
- package/dist/shims/@zimbra-client/util/contacts/index.js +4 -4
- package/dist/shims/@zimbra-client/util/index.js +15 -13
- package/dist/shims/@zimbra-client/util/redux/index.js +8 -8
- package/dist/shims/clipboard-polyfill/index.js +4 -4
- package/dist/shims/index.js +2 -2
- package/dist/shims/moment/index.js +43 -43
- package/dist/shims/preact/compat/index.js +40 -52
- package/dist/shims/preact/hooks/index.js +14 -14
- package/dist/shims/preact/index.js +15 -15
- package/dist/shims/preact-context-provider/index.js +6 -6
- package/dist/shims/preact-i18n/index.js +12 -12
- package/dist/shims/preact-pwa-install/index.js +3 -3
- package/dist/shims/preact-render-to-string/index.js +5 -5
- package/dist/shims/preact-router/index.js +9 -9
- package/dist/shims/preact-router/match/index.js +4 -4
- package/dist/shims/react-redux/index.js +16 -16
- package/dist/shims/recompose/index.js +46 -46
- package/dist/shims/redux-actions/index.js +9 -9
- package/dist/util.js +11 -11
- package/dist/zimlet-style-loader.js +8 -4
- package/package-lock.json +6400 -6926
- package/package.json +41 -44
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = transformConfig;
|
|
7
7
|
|
|
8
8
|
var _path = _interopRequireDefault(require("path"));
|
|
9
9
|
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
const defaultConfig = './zimlet.config.js';
|
|
13
13
|
|
|
14
14
|
function transformConfig(env, config) {
|
|
15
|
-
|
|
15
|
+
let transformerPath = _path.default.resolve(env.cwd, env.config || defaultConfig);
|
|
16
16
|
|
|
17
17
|
try {
|
|
18
18
|
require.resolve(transformerPath);
|
|
19
19
|
} catch (err) {
|
|
20
20
|
if (env.config && env.config !== defaultConfig) {
|
|
21
|
-
console.warn(
|
|
21
|
+
console.warn(`zimlet-cli config could not be loaded!\nFile ${env.config} not found.`);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
return;
|
|
@@ -28,14 +28,14 @@ function transformConfig(env, config) {
|
|
|
28
28
|
presets: [require.resolve('@babel/preset-env')]
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
const m = require(transformerPath);
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
const transformer = m && m.default || m;
|
|
34
34
|
|
|
35
35
|
try {
|
|
36
36
|
transformer(config, Object.assign({}, env));
|
|
37
37
|
} catch (err) {
|
|
38
|
-
console.error(
|
|
38
|
+
console.error(`Error at ${transformerPath}: \n` + err);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.useSubscription = exports.useReactiveVar = exports.useQuery = exports.useMutation = exports.useLazyQuery = exports.useApolloClient = exports.toPromise = exports.throwServerError = exports.split = exports.setLogVerbosity = exports.serializeFetchParameter = exports.selectURI = exports.selectHttpOptionsAndBodyInternal = exports.selectHttpOptionsAndBody = exports.rewriteURIForGET = exports.resetCaches = exports.resetApolloContext = exports.parser = exports.parseAndCheckHttpResponse = exports.operationName = exports.mergeOptions = exports.makeVar = exports.makeReference = exports.isReference = exports.isApolloError = exports.gql = exports.getApolloContext = exports.fromPromise = exports.fromError = exports.from = exports.fallbackHttpConfig = exports.execute = exports.enableExperimentalFragmentVariables = exports.empty = exports.disableFragmentWarnings = exports.disableExperimentalFragmentVariables = exports.defaultPrinter = exports.defaultDataIdFromObject = exports.default = exports.createSignalIfSupported = exports.createHttpLink = exports.concat = exports.checkFetcher = exports.applyNextFetchPolicy = exports.ObservableQuery = exports.Observable = exports.NetworkStatus = exports.MissingFieldError = exports.InMemoryCache = exports.HttpLink = exports.DocumentType = exports.Cache = exports.ApolloProvider = exports.ApolloLink = exports.ApolloError = exports.ApolloConsumer = exports.ApolloClient = exports.ApolloCache = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../");
|
|
9
9
|
|
|
@@ -13,111 +13,121 @@ var _ = require("../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client'], '@apollo/client');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const NetworkStatus = wrap('NetworkStatus');
|
|
19
19
|
exports.NetworkStatus = NetworkStatus;
|
|
20
|
-
|
|
21
|
-
exports.ApolloLink = ApolloLink;
|
|
22
|
-
var concat = wrap('concat');
|
|
23
|
-
exports.concat = concat;
|
|
24
|
-
var empty = wrap('empty');
|
|
25
|
-
exports.empty = empty;
|
|
26
|
-
var execute = wrap('execute');
|
|
27
|
-
exports.execute = execute;
|
|
28
|
-
var from = wrap('from');
|
|
29
|
-
exports.from = from;
|
|
30
|
-
var split = wrap('split');
|
|
31
|
-
exports.split = split;
|
|
32
|
-
var HttpLink = wrap('HttpLink');
|
|
33
|
-
exports.HttpLink = HttpLink;
|
|
34
|
-
var checkFetcher = wrap('checkFetcher');
|
|
35
|
-
exports.checkFetcher = checkFetcher;
|
|
36
|
-
var createHttpLink = wrap('createHttpLink');
|
|
37
|
-
exports.createHttpLink = createHttpLink;
|
|
38
|
-
var createSignalIfSupported = wrap('createSignalIfSupported');
|
|
39
|
-
exports.createSignalIfSupported = createSignalIfSupported;
|
|
40
|
-
var fallbackHttpConfig = wrap('fallbackHttpConfig');
|
|
41
|
-
exports.fallbackHttpConfig = fallbackHttpConfig;
|
|
42
|
-
var parseAndCheckHttpResponse = wrap('parseAndCheckHttpResponse');
|
|
43
|
-
exports.parseAndCheckHttpResponse = parseAndCheckHttpResponse;
|
|
44
|
-
var rewriteURIForGET = wrap('rewriteURIForGET');
|
|
45
|
-
exports.rewriteURIForGET = rewriteURIForGET;
|
|
46
|
-
var selectHttpOptionsAndBody = wrap('selectHttpOptionsAndBody');
|
|
47
|
-
exports.selectHttpOptionsAndBody = selectHttpOptionsAndBody;
|
|
48
|
-
var selectURI = wrap('selectURI');
|
|
49
|
-
exports.selectURI = selectURI;
|
|
50
|
-
var serializeFetchParameter = wrap('serializeFetchParameter');
|
|
51
|
-
exports.serializeFetchParameter = serializeFetchParameter;
|
|
52
|
-
var Observable = wrap('Observable');
|
|
20
|
+
const Observable = wrap('Observable');
|
|
53
21
|
exports.Observable = Observable;
|
|
54
|
-
|
|
22
|
+
const isReference = wrap('isReference');
|
|
55
23
|
exports.isReference = isReference;
|
|
56
|
-
|
|
24
|
+
const makeReference = wrap('makeReference');
|
|
57
25
|
exports.makeReference = makeReference;
|
|
58
|
-
|
|
59
|
-
exports.ApolloError = ApolloError;
|
|
60
|
-
var isApolloError = wrap('isApolloError');
|
|
61
|
-
exports.isApolloError = isApolloError;
|
|
62
|
-
var ApolloCache = wrap('ApolloCache');
|
|
26
|
+
const ApolloCache = wrap('ApolloCache');
|
|
63
27
|
exports.ApolloCache = ApolloCache;
|
|
64
|
-
|
|
28
|
+
const Cache = wrap('Cache');
|
|
65
29
|
exports.Cache = Cache;
|
|
66
|
-
|
|
30
|
+
const InMemoryCache = wrap('InMemoryCache');
|
|
67
31
|
exports.InMemoryCache = InMemoryCache;
|
|
68
|
-
|
|
32
|
+
const MissingFieldError = wrap('MissingFieldError');
|
|
69
33
|
exports.MissingFieldError = MissingFieldError;
|
|
70
|
-
|
|
34
|
+
const defaultDataIdFromObject = wrap('defaultDataIdFromObject');
|
|
71
35
|
exports.defaultDataIdFromObject = defaultDataIdFromObject;
|
|
72
|
-
|
|
36
|
+
const makeVar = wrap('makeVar');
|
|
73
37
|
exports.makeVar = makeVar;
|
|
74
|
-
|
|
38
|
+
const ApolloError = wrap('ApolloError');
|
|
39
|
+
exports.ApolloError = ApolloError;
|
|
40
|
+
const isApolloError = wrap('isApolloError');
|
|
41
|
+
exports.isApolloError = isApolloError;
|
|
42
|
+
const fromError = wrap('fromError');
|
|
75
43
|
exports.fromError = fromError;
|
|
76
|
-
|
|
44
|
+
const fromPromise = wrap('fromPromise');
|
|
77
45
|
exports.fromPromise = fromPromise;
|
|
78
|
-
|
|
46
|
+
const throwServerError = wrap('throwServerError');
|
|
79
47
|
exports.throwServerError = throwServerError;
|
|
80
|
-
|
|
48
|
+
const toPromise = wrap('toPromise');
|
|
81
49
|
exports.toPromise = toPromise;
|
|
82
|
-
|
|
83
|
-
exports.
|
|
84
|
-
|
|
85
|
-
exports.ApolloClient = ApolloClient;
|
|
86
|
-
var ObservableQuery = wrap('ObservableQuery');
|
|
87
|
-
exports.ObservableQuery = ObservableQuery;
|
|
88
|
-
var disableExperimentalFragmentVariables = wrap('disableExperimentalFragmentVariables');
|
|
50
|
+
const setLogVerbosity = wrap('setLogVerbosity');
|
|
51
|
+
exports.setLogVerbosity = setLogVerbosity;
|
|
52
|
+
const disableExperimentalFragmentVariables = wrap('disableExperimentalFragmentVariables');
|
|
89
53
|
exports.disableExperimentalFragmentVariables = disableExperimentalFragmentVariables;
|
|
90
|
-
|
|
54
|
+
const disableFragmentWarnings = wrap('disableFragmentWarnings');
|
|
91
55
|
exports.disableFragmentWarnings = disableFragmentWarnings;
|
|
92
|
-
|
|
56
|
+
const enableExperimentalFragmentVariables = wrap('enableExperimentalFragmentVariables');
|
|
93
57
|
exports.enableExperimentalFragmentVariables = enableExperimentalFragmentVariables;
|
|
94
|
-
|
|
58
|
+
const gql = wrap('gql');
|
|
59
|
+
exports.gql = gql;
|
|
60
|
+
const resetCaches = wrap('resetCaches');
|
|
95
61
|
exports.resetCaches = resetCaches;
|
|
96
|
-
|
|
97
|
-
exports.
|
|
98
|
-
|
|
99
|
-
exports.
|
|
100
|
-
|
|
101
|
-
exports.
|
|
102
|
-
|
|
103
|
-
exports.
|
|
104
|
-
|
|
105
|
-
exports.
|
|
106
|
-
|
|
107
|
-
exports.
|
|
108
|
-
|
|
62
|
+
const ApolloClient = wrap('ApolloClient');
|
|
63
|
+
exports.ApolloClient = ApolloClient;
|
|
64
|
+
const ObservableQuery = wrap('ObservableQuery');
|
|
65
|
+
exports.ObservableQuery = ObservableQuery;
|
|
66
|
+
const applyNextFetchPolicy = wrap('applyNextFetchPolicy');
|
|
67
|
+
exports.applyNextFetchPolicy = applyNextFetchPolicy;
|
|
68
|
+
const mergeOptions = wrap('mergeOptions');
|
|
69
|
+
exports.mergeOptions = mergeOptions;
|
|
70
|
+
const ApolloLink = wrap('ApolloLink');
|
|
71
|
+
exports.ApolloLink = ApolloLink;
|
|
72
|
+
const concat = wrap('concat');
|
|
73
|
+
exports.concat = concat;
|
|
74
|
+
const empty = wrap('empty');
|
|
75
|
+
exports.empty = empty;
|
|
76
|
+
const execute = wrap('execute');
|
|
77
|
+
exports.execute = execute;
|
|
78
|
+
const from = wrap('from');
|
|
79
|
+
exports.from = from;
|
|
80
|
+
const split = wrap('split');
|
|
81
|
+
exports.split = split;
|
|
82
|
+
const HttpLink = wrap('HttpLink');
|
|
83
|
+
exports.HttpLink = HttpLink;
|
|
84
|
+
const checkFetcher = wrap('checkFetcher');
|
|
85
|
+
exports.checkFetcher = checkFetcher;
|
|
86
|
+
const createHttpLink = wrap('createHttpLink');
|
|
87
|
+
exports.createHttpLink = createHttpLink;
|
|
88
|
+
const createSignalIfSupported = wrap('createSignalIfSupported');
|
|
89
|
+
exports.createSignalIfSupported = createSignalIfSupported;
|
|
90
|
+
const defaultPrinter = wrap('defaultPrinter');
|
|
91
|
+
exports.defaultPrinter = defaultPrinter;
|
|
92
|
+
const fallbackHttpConfig = wrap('fallbackHttpConfig');
|
|
93
|
+
exports.fallbackHttpConfig = fallbackHttpConfig;
|
|
94
|
+
const parseAndCheckHttpResponse = wrap('parseAndCheckHttpResponse');
|
|
95
|
+
exports.parseAndCheckHttpResponse = parseAndCheckHttpResponse;
|
|
96
|
+
const rewriteURIForGET = wrap('rewriteURIForGET');
|
|
97
|
+
exports.rewriteURIForGET = rewriteURIForGET;
|
|
98
|
+
const selectHttpOptionsAndBody = wrap('selectHttpOptionsAndBody');
|
|
99
|
+
exports.selectHttpOptionsAndBody = selectHttpOptionsAndBody;
|
|
100
|
+
const selectHttpOptionsAndBodyInternal = wrap('selectHttpOptionsAndBodyInternal');
|
|
101
|
+
exports.selectHttpOptionsAndBodyInternal = selectHttpOptionsAndBodyInternal;
|
|
102
|
+
const selectURI = wrap('selectURI');
|
|
103
|
+
exports.selectURI = selectURI;
|
|
104
|
+
const serializeFetchParameter = wrap('serializeFetchParameter');
|
|
105
|
+
exports.serializeFetchParameter = serializeFetchParameter;
|
|
106
|
+
const ApolloConsumer = wrap('ApolloConsumer');
|
|
109
107
|
exports.ApolloConsumer = ApolloConsumer;
|
|
110
|
-
|
|
108
|
+
const ApolloProvider = wrap('ApolloProvider');
|
|
111
109
|
exports.ApolloProvider = ApolloProvider;
|
|
112
|
-
|
|
110
|
+
const getApolloContext = wrap('getApolloContext');
|
|
113
111
|
exports.getApolloContext = getApolloContext;
|
|
114
|
-
|
|
112
|
+
const resetApolloContext = wrap('resetApolloContext');
|
|
115
113
|
exports.resetApolloContext = resetApolloContext;
|
|
116
|
-
|
|
114
|
+
const DocumentType = wrap('DocumentType');
|
|
117
115
|
exports.DocumentType = DocumentType;
|
|
118
|
-
|
|
116
|
+
const operationName = wrap('operationName');
|
|
119
117
|
exports.operationName = operationName;
|
|
120
|
-
|
|
118
|
+
const parser = wrap('parser');
|
|
121
119
|
exports.parser = parser;
|
|
120
|
+
const useApolloClient = wrap('useApolloClient');
|
|
121
|
+
exports.useApolloClient = useApolloClient;
|
|
122
|
+
const useLazyQuery = wrap('useLazyQuery');
|
|
123
|
+
exports.useLazyQuery = useLazyQuery;
|
|
124
|
+
const useMutation = wrap('useMutation');
|
|
125
|
+
exports.useMutation = useMutation;
|
|
126
|
+
const useQuery = wrap('useQuery');
|
|
127
|
+
exports.useQuery = useQuery;
|
|
128
|
+
const useReactiveVar = wrap('useReactiveVar');
|
|
129
|
+
exports.useReactiveVar = useReactiveVar;
|
|
130
|
+
const useSubscription = wrap('useSubscription');
|
|
131
|
+
exports.useSubscription = useSubscription;
|
|
122
132
|
var _default = global.shims['@apollo/client'];
|
|
123
|
-
exports
|
|
133
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = exports.Subscription = exports.Query = exports.Mutation = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../../../");
|
|
9
9
|
|
|
@@ -13,13 +13,13 @@ var _ = require("../../../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client/react/components'], '@apollo/client/react/components');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const Mutation = wrap('Mutation');
|
|
19
19
|
exports.Mutation = Mutation;
|
|
20
|
-
|
|
20
|
+
const Query = wrap('Query');
|
|
21
21
|
exports.Query = Query;
|
|
22
|
-
|
|
22
|
+
const Subscription = wrap('Subscription');
|
|
23
23
|
exports.Subscription = Subscription;
|
|
24
24
|
var _default = global.shims['@apollo/client/react/components'];
|
|
25
|
-
exports
|
|
25
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.withSubscription = exports.withQuery = exports.withMutation = exports.withApollo = exports.graphql = exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../../../");
|
|
9
9
|
|
|
@@ -13,17 +13,17 @@ var _ = require("../../../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client/react/hoc'], '@apollo/client/react/hoc');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const graphql = wrap('graphql');
|
|
19
19
|
exports.graphql = graphql;
|
|
20
|
-
|
|
20
|
+
const withApollo = wrap('withApollo');
|
|
21
21
|
exports.withApollo = withApollo;
|
|
22
|
-
|
|
22
|
+
const withMutation = wrap('withMutation');
|
|
23
23
|
exports.withMutation = withMutation;
|
|
24
|
-
|
|
24
|
+
const withQuery = wrap('withQuery');
|
|
25
25
|
exports.withQuery = withQuery;
|
|
26
|
-
|
|
26
|
+
const withSubscription = wrap('withSubscription');
|
|
27
27
|
exports.withSubscription = withSubscription;
|
|
28
28
|
var _default = global.shims['@apollo/client/react/hoc'];
|
|
29
|
-
exports
|
|
29
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.useSubscription = exports.useReactiveVar = exports.useQuery = exports.useMutation = exports.useLazyQuery = exports.useApolloClient = exports.resetApolloContext = exports.parser = exports.operationName = exports.getApolloContext = exports.default = exports.DocumentType = exports.ApolloProvider = exports.ApolloConsumer = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../../");
|
|
9
9
|
|
|
@@ -13,33 +13,33 @@ var _ = require("../../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client/react'], '@apollo/client/react');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const useApolloClient = wrap('useApolloClient');
|
|
19
19
|
exports.useApolloClient = useApolloClient;
|
|
20
|
-
|
|
20
|
+
const useLazyQuery = wrap('useLazyQuery');
|
|
21
21
|
exports.useLazyQuery = useLazyQuery;
|
|
22
|
-
|
|
22
|
+
const useMutation = wrap('useMutation');
|
|
23
23
|
exports.useMutation = useMutation;
|
|
24
|
-
|
|
24
|
+
const useQuery = wrap('useQuery');
|
|
25
25
|
exports.useQuery = useQuery;
|
|
26
|
-
|
|
26
|
+
const useReactiveVar = wrap('useReactiveVar');
|
|
27
27
|
exports.useReactiveVar = useReactiveVar;
|
|
28
|
-
|
|
28
|
+
const useSubscription = wrap('useSubscription');
|
|
29
29
|
exports.useSubscription = useSubscription;
|
|
30
|
-
|
|
30
|
+
const ApolloConsumer = wrap('ApolloConsumer');
|
|
31
31
|
exports.ApolloConsumer = ApolloConsumer;
|
|
32
|
-
|
|
32
|
+
const ApolloProvider = wrap('ApolloProvider');
|
|
33
33
|
exports.ApolloProvider = ApolloProvider;
|
|
34
|
-
|
|
34
|
+
const getApolloContext = wrap('getApolloContext');
|
|
35
35
|
exports.getApolloContext = getApolloContext;
|
|
36
|
-
|
|
36
|
+
const resetApolloContext = wrap('resetApolloContext');
|
|
37
37
|
exports.resetApolloContext = resetApolloContext;
|
|
38
|
-
|
|
38
|
+
const DocumentType = wrap('DocumentType');
|
|
39
39
|
exports.DocumentType = DocumentType;
|
|
40
|
-
|
|
40
|
+
const operationName = wrap('operationName');
|
|
41
41
|
exports.operationName = operationName;
|
|
42
|
-
|
|
42
|
+
const parser = wrap('parser');
|
|
43
43
|
exports.parser = parser;
|
|
44
44
|
var _default = global.shims['@apollo/client/react'];
|
|
45
|
-
exports
|
|
45
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.default = exports.Tooltip = exports.Tabs = exports.Tab = exports.Spinner = exports.Select = exports.Scrim = exports.ProgressButton = exports.Popover = exports.Option = exports.ModalDialog = exports.LoaderBar = exports.Label = exports.KeyCodes = exports.Icon = exports.FontAwesome = exports.FixedDialog = exports.Dialog = exports.ContainerSize = exports.CloseOnClickOrKeydown = exports.ClickOutsideDetector = exports.ChoiceInput = exports.Card = exports.Button = exports.AnimatedButton = exports.AffixBottom = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../");
|
|
9
9
|
|
|
@@ -13,57 +13,57 @@ var _ = require("../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/blocks'], '@zimbra-client/blocks');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const Dialog = wrap('Dialog');
|
|
19
19
|
exports.Dialog = Dialog;
|
|
20
|
-
|
|
20
|
+
const FixedDialog = wrap('FixedDialog');
|
|
21
21
|
exports.FixedDialog = FixedDialog;
|
|
22
|
-
|
|
22
|
+
const ModalDialog = wrap('ModalDialog');
|
|
23
23
|
exports.ModalDialog = ModalDialog;
|
|
24
|
-
|
|
24
|
+
const Button = wrap('Button');
|
|
25
25
|
exports.Button = Button;
|
|
26
|
-
|
|
26
|
+
const Select = wrap('Select');
|
|
27
27
|
exports.Select = Select;
|
|
28
|
-
|
|
28
|
+
const Option = wrap('Option');
|
|
29
29
|
exports.Option = Option;
|
|
30
|
-
|
|
30
|
+
const Tabs = wrap('Tabs');
|
|
31
31
|
exports.Tabs = Tabs;
|
|
32
|
-
|
|
32
|
+
const Tab = wrap('Tab');
|
|
33
33
|
exports.Tab = Tab;
|
|
34
|
-
|
|
34
|
+
const Icon = wrap('Icon');
|
|
35
35
|
exports.Icon = Icon;
|
|
36
|
-
|
|
36
|
+
const FontAwesome = wrap('FontAwesome');
|
|
37
37
|
exports.FontAwesome = FontAwesome;
|
|
38
|
-
|
|
38
|
+
const Spinner = wrap('Spinner');
|
|
39
39
|
exports.Spinner = Spinner;
|
|
40
|
-
|
|
40
|
+
const ClickOutsideDetector = wrap('ClickOutsideDetector');
|
|
41
41
|
exports.ClickOutsideDetector = ClickOutsideDetector;
|
|
42
|
-
|
|
42
|
+
const CloseOnClickOrKeydown = wrap('CloseOnClickOrKeydown');
|
|
43
43
|
exports.CloseOnClickOrKeydown = CloseOnClickOrKeydown;
|
|
44
|
-
|
|
44
|
+
const ContainerSize = wrap('ContainerSize');
|
|
45
45
|
exports.ContainerSize = ContainerSize;
|
|
46
|
-
|
|
46
|
+
const Popover = wrap('Popover');
|
|
47
47
|
exports.Popover = Popover;
|
|
48
|
-
|
|
48
|
+
const Tooltip = wrap('Tooltip');
|
|
49
49
|
exports.Tooltip = Tooltip;
|
|
50
|
-
|
|
50
|
+
const Scrim = wrap('Scrim');
|
|
51
51
|
exports.Scrim = Scrim;
|
|
52
|
-
|
|
52
|
+
const Card = wrap('Card');
|
|
53
53
|
exports.Card = Card;
|
|
54
|
-
|
|
54
|
+
const AffixBottom = wrap('AffixBottom');
|
|
55
55
|
exports.AffixBottom = AffixBottom;
|
|
56
|
-
|
|
56
|
+
const KeyCodes = wrap('KeyCodes');
|
|
57
57
|
exports.KeyCodes = KeyCodes;
|
|
58
|
-
|
|
58
|
+
const Label = wrap('Label');
|
|
59
59
|
exports.Label = Label;
|
|
60
|
-
|
|
60
|
+
const ChoiceInput = wrap('ChoiceInput');
|
|
61
61
|
exports.ChoiceInput = ChoiceInput;
|
|
62
|
-
|
|
62
|
+
const LoaderBar = wrap('LoaderBar');
|
|
63
63
|
exports.LoaderBar = LoaderBar;
|
|
64
|
-
|
|
64
|
+
const AnimatedButton = wrap('AnimatedButton');
|
|
65
65
|
exports.AnimatedButton = AnimatedButton;
|
|
66
|
-
|
|
66
|
+
const ProgressButton = wrap('ProgressButton');
|
|
67
67
|
exports.ProgressButton = ProgressButton;
|
|
68
68
|
var _default = global.shims['@zimbra-client/blocks'];
|
|
69
|
-
exports
|
|
69
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.openExternalBrowser = exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../");
|
|
9
9
|
|
|
@@ -13,9 +13,9 @@ var _ = require("../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/browser'], '@zimbra-client/browser');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const openExternalBrowser = wrap('openExternalBrowser');
|
|
19
19
|
exports.openExternalBrowser = openExternalBrowser;
|
|
20
20
|
var _default = global.shims['@zimbra-client/browser'];
|
|
21
|
-
exports
|
|
21
|
+
exports.default = _default;
|