@zimbra/zimlet-cli 12.11.0 → 13.0.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 +62 -90
- 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 -49
- package/dist/shims/@zimbra-client/constants/index.js +7 -7
- package/dist/shims/@zimbra-client/enhancers/index.js +11 -9
- package/dist/shims/@zimbra-client/errors/index.js +5 -5
- package/dist/shims/@zimbra-client/graphql/index.js +32 -26
- package/dist/shims/@zimbra-client/hooks/graphql/index.js +8 -8
- package/dist/shims/@zimbra-client/hooks/index.js +10 -6
- 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 -11
- 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 +5460 -5944
- package/package.json +44 -47
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.zimletEventEmitter = exports.smimeHandler = exports.setDataTransferJSON = exports.pruneEmpty = exports.isServerSMIMEFeatureAvailable = exports.getDataTransferJSON = exports.default = exports.callWith = exports.breakpoints = exports.array = exports.PageVisibility = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../");
|
|
9
9
|
|
|
@@ -13,23 +13,27 @@ var _ = require("../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/util'], '@zimbra-client/util');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const array = wrap('array');
|
|
19
19
|
exports.array = array;
|
|
20
|
-
|
|
20
|
+
const getDataTransferJSON = wrap('getDataTransferJSON');
|
|
21
21
|
exports.getDataTransferJSON = getDataTransferJSON;
|
|
22
|
-
|
|
22
|
+
const setDataTransferJSON = wrap('setDataTransferJSON');
|
|
23
23
|
exports.setDataTransferJSON = setDataTransferJSON;
|
|
24
|
-
|
|
24
|
+
const breakpoints = wrap('breakpoints');
|
|
25
25
|
exports.breakpoints = breakpoints;
|
|
26
|
-
|
|
26
|
+
const callWith = wrap('callWith');
|
|
27
27
|
exports.callWith = callWith;
|
|
28
|
-
|
|
28
|
+
const pruneEmpty = wrap('pruneEmpty');
|
|
29
29
|
exports.pruneEmpty = pruneEmpty;
|
|
30
|
-
|
|
30
|
+
const PageVisibility = wrap('PageVisibility');
|
|
31
31
|
exports.PageVisibility = PageVisibility;
|
|
32
|
-
|
|
32
|
+
const zimletEventEmitter = wrap('zimletEventEmitter');
|
|
33
33
|
exports.zimletEventEmitter = zimletEventEmitter;
|
|
34
|
+
const smimeHandler = wrap('smimeHandler');
|
|
35
|
+
exports.smimeHandler = smimeHandler;
|
|
36
|
+
const isServerSMIMEFeatureAvailable = wrap('isServerSMIMEFeatureAvailable');
|
|
37
|
+
exports.isServerSMIMEFeatureAvailable = isServerSMIMEFeatureAvailable;
|
|
34
38
|
var _default = global.shims['@zimbra-client/util'];
|
|
35
|
-
exports
|
|
39
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.rejectedAction = exports.pendingAction = exports.paginate = exports.fulfilledAction = exports.default = exports.createAsyncAction = 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['@zimbra-client/util/redux'], '@zimbra-client/util/redux');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const paginate = wrap('paginate');
|
|
19
19
|
exports.paginate = paginate;
|
|
20
|
-
|
|
20
|
+
const createAsyncAction = wrap('createAsyncAction');
|
|
21
21
|
exports.createAsyncAction = createAsyncAction;
|
|
22
|
-
|
|
22
|
+
const pendingAction = wrap('pendingAction');
|
|
23
23
|
exports.pendingAction = pendingAction;
|
|
24
|
-
|
|
24
|
+
const fulfilledAction = wrap('fulfilledAction');
|
|
25
25
|
exports.fulfilledAction = fulfilledAction;
|
|
26
|
-
|
|
26
|
+
const rejectedAction = wrap('rejectedAction');
|
|
27
27
|
exports.rejectedAction = rejectedAction;
|
|
28
28
|
var _default = global.shims['@zimbra-client/util/redux'];
|
|
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.writeText = 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['clipboard-polyfill'], 'clipboard-polyfill');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const writeText = wrap('writeText');
|
|
19
19
|
exports.writeText = writeText;
|
|
20
20
|
var _default = global.shims['clipboard-polyfill'];
|
|
21
|
-
exports
|
|
21
|
+
exports.default = _default;
|
package/dist/shims/index.js
CHANGED
|
@@ -20,7 +20,7 @@ exports.SHIMMED_MODULES = [['preact', 'compat', 'hooks'], ['preact-router', 'mat
|
|
|
20
20
|
'@zimbra-client/blocks', '@zimbra-client/components', '@zimbra-client/browser', '@zimbra-client/platform', '@zimbra-client/errors', '@zimbra-client/graphql', '@zimbra-client/enhancers', '@zimbra-client/constants', ['@zimbra-client/hooks', 'graphql']];
|
|
21
21
|
|
|
22
22
|
exports.getShimPath = function (module) {
|
|
23
|
-
return require.resolve(
|
|
23
|
+
return require.resolve(`./${module}`).replace(/index\.js$/, '');
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* Modify the shimmed module function to throw a meaningful error message
|
|
@@ -33,6 +33,6 @@ exports.getShimPath = function (module) {
|
|
|
33
33
|
|
|
34
34
|
exports.warnOnMissingExport = function (m, moduleName, namedExport) {
|
|
35
35
|
return m && typeof m[namedExport] !== 'undefined' ? m[namedExport] : function () {
|
|
36
|
-
throw new Error(
|
|
36
|
+
throw new Error(`[ZimletCli]: Export ${moduleName}.${namedExport} was not found in the ${moduleName} instance passed down from ZimbraX.`);
|
|
37
37
|
};
|
|
38
38
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.weekdaysShort = exports.weekdaysMin = exports.weekdays = exports.version = exports.utc = exports.updateOffset = exports.updateLocale = exports.unix = exports.suppressDeprecationWarnings = exports.relativeTimeThreshold = exports.relativeTimeRounding = exports.parseZone = exports.parseTwoDigitYear = exports.now = exports.normalizeUnits = exports.monthsShort = exports.months = exports.momentProperties = exports.min = exports.max = exports.locales = exports.localeData = exports.locale = exports.langData = exports.lang = exports.isMoment = exports.isDuration = exports.isDate = exports.invalid = exports.fn = exports.duration = exports.deprecationHandler = exports.defineLocale = exports.defaultFormatUtc = exports.defaultFormat = exports.default = exports.createFromInputFallback = exports.calendarFormat = exports.RFC_2822 = exports.ISO_8601 = exports.HTML5_FMT = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../");
|
|
9
9
|
|
|
@@ -13,87 +13,87 @@ var _ = require("../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['moment'], 'moment');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const momentProperties = wrap('momentProperties');
|
|
19
19
|
exports.momentProperties = momentProperties;
|
|
20
|
-
|
|
20
|
+
const suppressDeprecationWarnings = wrap('suppressDeprecationWarnings');
|
|
21
21
|
exports.suppressDeprecationWarnings = suppressDeprecationWarnings;
|
|
22
|
-
|
|
22
|
+
const deprecationHandler = wrap('deprecationHandler');
|
|
23
23
|
exports.deprecationHandler = deprecationHandler;
|
|
24
|
-
|
|
24
|
+
const parseTwoDigitYear = wrap('parseTwoDigitYear');
|
|
25
25
|
exports.parseTwoDigitYear = parseTwoDigitYear;
|
|
26
|
-
|
|
26
|
+
const createFromInputFallback = wrap('createFromInputFallback');
|
|
27
27
|
exports.createFromInputFallback = createFromInputFallback;
|
|
28
|
-
|
|
28
|
+
const ISO_8601 = wrap('ISO_8601');
|
|
29
29
|
exports.ISO_8601 = ISO_8601;
|
|
30
|
-
|
|
30
|
+
const RFC_2822 = wrap('RFC_2822');
|
|
31
31
|
exports.RFC_2822 = RFC_2822;
|
|
32
|
-
|
|
32
|
+
const updateOffset = wrap('updateOffset');
|
|
33
33
|
exports.updateOffset = updateOffset;
|
|
34
|
-
|
|
34
|
+
const defaultFormat = wrap('defaultFormat');
|
|
35
35
|
exports.defaultFormat = defaultFormat;
|
|
36
|
-
|
|
36
|
+
const defaultFormatUtc = wrap('defaultFormatUtc');
|
|
37
37
|
exports.defaultFormatUtc = defaultFormatUtc;
|
|
38
|
-
|
|
38
|
+
const lang = wrap('lang');
|
|
39
39
|
exports.lang = lang;
|
|
40
|
-
|
|
40
|
+
const langData = wrap('langData');
|
|
41
41
|
exports.langData = langData;
|
|
42
|
-
|
|
42
|
+
const version = wrap('version');
|
|
43
43
|
exports.version = version;
|
|
44
|
-
|
|
44
|
+
const fn = wrap('fn');
|
|
45
45
|
exports.fn = fn;
|
|
46
|
-
|
|
46
|
+
const min = wrap('min');
|
|
47
47
|
exports.min = min;
|
|
48
|
-
|
|
48
|
+
const max = wrap('max');
|
|
49
49
|
exports.max = max;
|
|
50
|
-
|
|
50
|
+
const now = wrap('now');
|
|
51
51
|
exports.now = now;
|
|
52
|
-
|
|
52
|
+
const utc = wrap('utc');
|
|
53
53
|
exports.utc = utc;
|
|
54
|
-
|
|
54
|
+
const unix = wrap('unix');
|
|
55
55
|
exports.unix = unix;
|
|
56
|
-
|
|
56
|
+
const months = wrap('months');
|
|
57
57
|
exports.months = months;
|
|
58
|
-
|
|
58
|
+
const isDate = wrap('isDate');
|
|
59
59
|
exports.isDate = isDate;
|
|
60
|
-
|
|
60
|
+
const locale = wrap('locale');
|
|
61
61
|
exports.locale = locale;
|
|
62
|
-
|
|
62
|
+
const invalid = wrap('invalid');
|
|
63
63
|
exports.invalid = invalid;
|
|
64
|
-
|
|
64
|
+
const duration = wrap('duration');
|
|
65
65
|
exports.duration = duration;
|
|
66
|
-
|
|
66
|
+
const isMoment = wrap('isMoment');
|
|
67
67
|
exports.isMoment = isMoment;
|
|
68
|
-
|
|
68
|
+
const weekdays = wrap('weekdays');
|
|
69
69
|
exports.weekdays = weekdays;
|
|
70
|
-
|
|
70
|
+
const parseZone = wrap('parseZone');
|
|
71
71
|
exports.parseZone = parseZone;
|
|
72
|
-
|
|
72
|
+
const localeData = wrap('localeData');
|
|
73
73
|
exports.localeData = localeData;
|
|
74
|
-
|
|
74
|
+
const isDuration = wrap('isDuration');
|
|
75
75
|
exports.isDuration = isDuration;
|
|
76
|
-
|
|
76
|
+
const monthsShort = wrap('monthsShort');
|
|
77
77
|
exports.monthsShort = monthsShort;
|
|
78
|
-
|
|
78
|
+
const weekdaysMin = wrap('weekdaysMin');
|
|
79
79
|
exports.weekdaysMin = weekdaysMin;
|
|
80
|
-
|
|
80
|
+
const defineLocale = wrap('defineLocale');
|
|
81
81
|
exports.defineLocale = defineLocale;
|
|
82
|
-
|
|
82
|
+
const updateLocale = wrap('updateLocale');
|
|
83
83
|
exports.updateLocale = updateLocale;
|
|
84
|
-
|
|
84
|
+
const locales = wrap('locales');
|
|
85
85
|
exports.locales = locales;
|
|
86
|
-
|
|
86
|
+
const weekdaysShort = wrap('weekdaysShort');
|
|
87
87
|
exports.weekdaysShort = weekdaysShort;
|
|
88
|
-
|
|
88
|
+
const normalizeUnits = wrap('normalizeUnits');
|
|
89
89
|
exports.normalizeUnits = normalizeUnits;
|
|
90
|
-
|
|
90
|
+
const relativeTimeRounding = wrap('relativeTimeRounding');
|
|
91
91
|
exports.relativeTimeRounding = relativeTimeRounding;
|
|
92
|
-
|
|
92
|
+
const relativeTimeThreshold = wrap('relativeTimeThreshold');
|
|
93
93
|
exports.relativeTimeThreshold = relativeTimeThreshold;
|
|
94
|
-
|
|
94
|
+
const calendarFormat = wrap('calendarFormat');
|
|
95
95
|
exports.calendarFormat = calendarFormat;
|
|
96
|
-
|
|
96
|
+
const HTML5_FMT = wrap('HTML5_FMT');
|
|
97
97
|
exports.HTML5_FMT = HTML5_FMT;
|
|
98
98
|
var _default = global.shims['moment'];
|
|
99
|
-
exports
|
|
99
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.version = exports.useState = exports.useRef = exports.useReducer = exports.useMemo = exports.useLayoutEffect = exports.useImperativeHandle = exports.useErrorBoundary = exports.useEffect = exports.useDebugValue = exports.useContext = exports.useCallback = exports.unstable_batchedUpdates = exports.unmountComponentAtNode = exports.render = exports.memo = exports.lazy = exports.isValidElement = exports.hydrate = exports.forwardRef = exports.flushSync = exports.findDOMNode = exports.default = exports.createRef = exports.createPortal = exports.createFactory = exports.createElement = exports.createContext = exports.cloneElement = exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = exports.SuspenseList = exports.Suspense = exports.StrictMode = exports.PureComponent = exports.Fragment = exports.Component = exports.Children = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../");
|
|
9
9
|
|
|
@@ -13,95 +13,83 @@ var _ = require("../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['preact/compat'], 'preact/compat');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const useState = wrap('useState');
|
|
19
19
|
exports.useState = useState;
|
|
20
|
-
|
|
20
|
+
const useReducer = wrap('useReducer');
|
|
21
21
|
exports.useReducer = useReducer;
|
|
22
|
-
|
|
22
|
+
const useEffect = wrap('useEffect');
|
|
23
23
|
exports.useEffect = useEffect;
|
|
24
|
-
|
|
24
|
+
const useLayoutEffect = wrap('useLayoutEffect');
|
|
25
25
|
exports.useLayoutEffect = useLayoutEffect;
|
|
26
|
-
|
|
26
|
+
const useRef = wrap('useRef');
|
|
27
27
|
exports.useRef = useRef;
|
|
28
|
-
|
|
28
|
+
const useImperativeHandle = wrap('useImperativeHandle');
|
|
29
29
|
exports.useImperativeHandle = useImperativeHandle;
|
|
30
|
-
|
|
30
|
+
const useMemo = wrap('useMemo');
|
|
31
31
|
exports.useMemo = useMemo;
|
|
32
|
-
|
|
32
|
+
const useCallback = wrap('useCallback');
|
|
33
33
|
exports.useCallback = useCallback;
|
|
34
|
-
|
|
34
|
+
const useContext = wrap('useContext');
|
|
35
35
|
exports.useContext = useContext;
|
|
36
|
-
|
|
36
|
+
const useDebugValue = wrap('useDebugValue');
|
|
37
37
|
exports.useDebugValue = useDebugValue;
|
|
38
|
-
|
|
38
|
+
const useErrorBoundary = wrap('useErrorBoundary');
|
|
39
39
|
exports.useErrorBoundary = useErrorBoundary;
|
|
40
|
-
|
|
40
|
+
const createElement = wrap('createElement');
|
|
41
41
|
exports.createElement = createElement;
|
|
42
|
-
|
|
42
|
+
const createContext = wrap('createContext');
|
|
43
43
|
exports.createContext = createContext;
|
|
44
|
-
|
|
44
|
+
const createRef = wrap('createRef');
|
|
45
45
|
exports.createRef = createRef;
|
|
46
|
-
|
|
46
|
+
const Fragment = wrap('Fragment');
|
|
47
47
|
exports.Fragment = Fragment;
|
|
48
|
-
|
|
48
|
+
const Component = wrap('Component');
|
|
49
49
|
exports.Component = Component;
|
|
50
|
-
|
|
50
|
+
const version = wrap('version');
|
|
51
51
|
exports.version = version;
|
|
52
|
-
|
|
52
|
+
const Children = wrap('Children');
|
|
53
53
|
exports.Children = Children;
|
|
54
|
-
|
|
54
|
+
const render = wrap('render');
|
|
55
55
|
exports.render = render;
|
|
56
|
-
|
|
56
|
+
const hydrate = wrap('hydrate');
|
|
57
57
|
exports.hydrate = hydrate;
|
|
58
|
-
|
|
58
|
+
const unmountComponentAtNode = wrap('unmountComponentAtNode');
|
|
59
59
|
exports.unmountComponentAtNode = unmountComponentAtNode;
|
|
60
|
-
|
|
60
|
+
const createPortal = wrap('createPortal');
|
|
61
61
|
exports.createPortal = createPortal;
|
|
62
|
-
|
|
62
|
+
const createFactory = wrap('createFactory');
|
|
63
63
|
exports.createFactory = createFactory;
|
|
64
|
-
|
|
64
|
+
const cloneElement = wrap('cloneElement');
|
|
65
65
|
exports.cloneElement = cloneElement;
|
|
66
|
-
|
|
66
|
+
const isValidElement = wrap('isValidElement');
|
|
67
67
|
exports.isValidElement = isValidElement;
|
|
68
|
-
|
|
68
|
+
const findDOMNode = wrap('findDOMNode');
|
|
69
69
|
exports.findDOMNode = findDOMNode;
|
|
70
|
-
|
|
70
|
+
const PureComponent = wrap('PureComponent');
|
|
71
71
|
exports.PureComponent = PureComponent;
|
|
72
|
-
|
|
72
|
+
const memo = wrap('memo');
|
|
73
73
|
exports.memo = memo;
|
|
74
|
-
|
|
74
|
+
const forwardRef = wrap('forwardRef');
|
|
75
75
|
exports.forwardRef = forwardRef;
|
|
76
|
-
|
|
76
|
+
const flushSync = wrap('flushSync');
|
|
77
|
+
exports.flushSync = flushSync;
|
|
78
|
+
const unstable_batchedUpdates = wrap('unstable_batchedUpdates');
|
|
77
79
|
exports.unstable_batchedUpdates = unstable_batchedUpdates;
|
|
78
|
-
|
|
80
|
+
const StrictMode = wrap('StrictMode');
|
|
79
81
|
exports.StrictMode = StrictMode;
|
|
80
|
-
|
|
82
|
+
const Suspense = wrap('Suspense');
|
|
81
83
|
exports.Suspense = Suspense;
|
|
82
|
-
|
|
84
|
+
const SuspenseList = wrap('SuspenseList');
|
|
83
85
|
exports.SuspenseList = SuspenseList;
|
|
84
|
-
|
|
86
|
+
const lazy = wrap('lazy');
|
|
85
87
|
exports.lazy = lazy;
|
|
86
88
|
|
|
87
|
-
|
|
89
|
+
const __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = wrap('__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED');
|
|
88
90
|
|
|
89
91
|
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
90
92
|
|
|
91
93
|
var _default = wrap('default');
|
|
92
94
|
|
|
93
|
-
exports
|
|
94
|
-
var unstable_ImmediatePriority = wrap('unstable_ImmediatePriority');
|
|
95
|
-
exports.unstable_ImmediatePriority = unstable_ImmediatePriority;
|
|
96
|
-
var unstable_UserBlockingPriority = wrap('unstable_UserBlockingPriority');
|
|
97
|
-
exports.unstable_UserBlockingPriority = unstable_UserBlockingPriority;
|
|
98
|
-
var unstable_NormalPriority = wrap('unstable_NormalPriority');
|
|
99
|
-
exports.unstable_NormalPriority = unstable_NormalPriority;
|
|
100
|
-
var unstable_LowPriority = wrap('unstable_LowPriority');
|
|
101
|
-
exports.unstable_LowPriority = unstable_LowPriority;
|
|
102
|
-
var unstable_IdlePriority = wrap('unstable_IdlePriority');
|
|
103
|
-
exports.unstable_IdlePriority = unstable_IdlePriority;
|
|
104
|
-
var unstable_runWithPriority = wrap('unstable_runWithPriority');
|
|
105
|
-
exports.unstable_runWithPriority = unstable_runWithPriority;
|
|
106
|
-
var unstable_now = wrap('unstable_now');
|
|
107
|
-
exports.unstable_now = unstable_now;
|
|
95
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.useState = exports.useRef = exports.useReducer = exports.useMemo = exports.useLayoutEffect = exports.useImperativeHandle = exports.useErrorBoundary = exports.useEffect = exports.useDebugValue = exports.useContext = exports.useCallback = exports.default = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../../");
|
|
9
9
|
|
|
@@ -13,29 +13,29 @@ var _ = require("../../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['preact/hooks'], 'preact/hooks');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const useState = wrap('useState');
|
|
19
19
|
exports.useState = useState;
|
|
20
|
-
|
|
20
|
+
const useReducer = wrap('useReducer');
|
|
21
21
|
exports.useReducer = useReducer;
|
|
22
|
-
|
|
22
|
+
const useEffect = wrap('useEffect');
|
|
23
23
|
exports.useEffect = useEffect;
|
|
24
|
-
|
|
24
|
+
const useLayoutEffect = wrap('useLayoutEffect');
|
|
25
25
|
exports.useLayoutEffect = useLayoutEffect;
|
|
26
|
-
|
|
26
|
+
const useRef = wrap('useRef');
|
|
27
27
|
exports.useRef = useRef;
|
|
28
|
-
|
|
28
|
+
const useImperativeHandle = wrap('useImperativeHandle');
|
|
29
29
|
exports.useImperativeHandle = useImperativeHandle;
|
|
30
|
-
|
|
30
|
+
const useMemo = wrap('useMemo');
|
|
31
31
|
exports.useMemo = useMemo;
|
|
32
|
-
|
|
32
|
+
const useCallback = wrap('useCallback');
|
|
33
33
|
exports.useCallback = useCallback;
|
|
34
|
-
|
|
34
|
+
const useContext = wrap('useContext');
|
|
35
35
|
exports.useContext = useContext;
|
|
36
|
-
|
|
36
|
+
const useDebugValue = wrap('useDebugValue');
|
|
37
37
|
exports.useDebugValue = useDebugValue;
|
|
38
|
-
|
|
38
|
+
const useErrorBoundary = wrap('useErrorBoundary');
|
|
39
39
|
exports.useErrorBoundary = useErrorBoundary;
|
|
40
40
|
var _default = global.shims['preact/hooks'];
|
|
41
|
-
exports
|
|
41
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports.toChildArray = exports.render = exports.options = exports.isValidElement = exports.hydrate = exports.h = exports.default = exports.createRef = exports.createElement = exports.createContext = exports.cloneElement = exports.Fragment = exports.Component = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../");
|
|
9
9
|
|
|
@@ -13,31 +13,31 @@ var _ = require("../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['preact'], 'preact');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const render = wrap('render');
|
|
19
19
|
exports.render = render;
|
|
20
|
-
|
|
20
|
+
const hydrate = wrap('hydrate');
|
|
21
21
|
exports.hydrate = hydrate;
|
|
22
|
-
|
|
22
|
+
const createElement = wrap('createElement');
|
|
23
23
|
exports.createElement = createElement;
|
|
24
|
-
|
|
24
|
+
const h = wrap('h');
|
|
25
25
|
exports.h = h;
|
|
26
|
-
|
|
26
|
+
const Fragment = wrap('Fragment');
|
|
27
27
|
exports.Fragment = Fragment;
|
|
28
|
-
|
|
28
|
+
const createRef = wrap('createRef');
|
|
29
29
|
exports.createRef = createRef;
|
|
30
|
-
|
|
30
|
+
const isValidElement = wrap('isValidElement');
|
|
31
31
|
exports.isValidElement = isValidElement;
|
|
32
|
-
|
|
32
|
+
const Component = wrap('Component');
|
|
33
33
|
exports.Component = Component;
|
|
34
|
-
|
|
34
|
+
const cloneElement = wrap('cloneElement');
|
|
35
35
|
exports.cloneElement = cloneElement;
|
|
36
|
-
|
|
36
|
+
const createContext = wrap('createContext');
|
|
37
37
|
exports.createContext = createContext;
|
|
38
|
-
|
|
38
|
+
const toChildArray = wrap('toChildArray');
|
|
39
39
|
exports.toChildArray = toChildArray;
|
|
40
|
-
|
|
40
|
+
const options = wrap('options');
|
|
41
41
|
exports.options = options;
|
|
42
42
|
var _default = global.shims['preact'];
|
|
43
|
-
exports
|
|
43
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.provide = exports.mergingProvide = exports
|
|
6
|
+
exports.provide = exports.mergingProvide = exports.default = exports.MergingProvider = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../");
|
|
9
9
|
|
|
@@ -13,15 +13,15 @@ var _ = require("../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['preact-context-provider'], 'preact-context-provider');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const MergingProvider = wrap('MergingProvider');
|
|
19
19
|
exports.MergingProvider = MergingProvider;
|
|
20
20
|
|
|
21
21
|
var _default = wrap('default');
|
|
22
22
|
|
|
23
|
-
exports
|
|
24
|
-
|
|
23
|
+
exports.default = _default;
|
|
24
|
+
const mergingProvide = wrap('mergingProvide');
|
|
25
25
|
exports.mergingProvide = mergingProvide;
|
|
26
|
-
|
|
26
|
+
const provide = wrap('provide');
|
|
27
27
|
exports.provide = provide;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.withText = exports.useText = exports.translate = exports.intl = exports
|
|
6
|
+
exports.withText = exports.useText = exports.translate = exports.intl = exports.default = exports.Text = exports.MarkupText = exports.Localizer = exports.IntlProvider = exports.IntlContext = void 0;
|
|
7
7
|
|
|
8
8
|
var _ = require("../");
|
|
9
9
|
|
|
@@ -13,27 +13,27 @@ var _ = require("../");
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
/* eslint-disable camelcase, dot-notation */
|
|
16
|
-
|
|
16
|
+
const wrap = _.warnOnMissingExport.bind(null, global.shims['preact-i18n'], 'preact-i18n');
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
const IntlContext = wrap('IntlContext');
|
|
19
19
|
exports.IntlContext = IntlContext;
|
|
20
|
-
|
|
20
|
+
const IntlProvider = wrap('IntlProvider');
|
|
21
21
|
exports.IntlProvider = IntlProvider;
|
|
22
|
-
|
|
22
|
+
const Localizer = wrap('Localizer');
|
|
23
23
|
exports.Localizer = Localizer;
|
|
24
|
-
|
|
24
|
+
const MarkupText = wrap('MarkupText');
|
|
25
25
|
exports.MarkupText = MarkupText;
|
|
26
|
-
|
|
26
|
+
const Text = wrap('Text');
|
|
27
27
|
exports.Text = Text;
|
|
28
28
|
|
|
29
29
|
var _default = wrap('default');
|
|
30
30
|
|
|
31
|
-
exports
|
|
32
|
-
|
|
31
|
+
exports.default = _default;
|
|
32
|
+
const intl = wrap('intl');
|
|
33
33
|
exports.intl = intl;
|
|
34
|
-
|
|
34
|
+
const translate = wrap('translate');
|
|
35
35
|
exports.translate = translate;
|
|
36
|
-
|
|
36
|
+
const useText = wrap('useText');
|
|
37
37
|
exports.useText = useText;
|
|
38
|
-
|
|
38
|
+
const withText = wrap('withText');
|
|
39
39
|
exports.withText = withText;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
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['preact-pwa-install'], 'preact-pwa-install');
|
|
17
17
|
|
|
18
18
|
var _default = wrap('default');
|
|
19
19
|
|
|
20
|
-
exports
|
|
20
|
+
exports.default = _default;
|
|
21
21
|
module.exports = exports.default;
|