@zimbra/zimlet-cli 18.6.0 → 18.7.1-master.4853cde.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/.eslintcache +1 -0
- package/dist/commands/create.js +11 -11
- package/dist/commands/package.js +13 -13
- package/dist/entry.js +1 -0
- package/dist/index.js +26 -26
- package/dist/lib/setup.js +2 -1
- package/dist/lib/webpack/transform-config.js +2 -2
- package/dist/shims/@apollo/client/index.js +3 -5
- package/dist/shims/@apollo/client/react/components/index.js +3 -5
- package/dist/shims/@apollo/client/react/hoc/index.js +3 -5
- package/dist/shims/@apollo/client/react/index.js +3 -5
- package/dist/shims/@zimbra-client/blocks/index.js +5 -6
- package/dist/shims/@zimbra-client/browser/index.js +3 -5
- package/dist/shims/@zimbra-client/components/index.js +5 -6
- package/dist/shims/@zimbra-client/constants/index.js +3 -5
- package/dist/shims/@zimbra-client/enhancers/index.js +3 -5
- package/dist/shims/@zimbra-client/errors/index.js +3 -5
- package/dist/shims/@zimbra-client/graphql/index.js +3 -5
- package/dist/shims/@zimbra-client/hooks/graphql/index.js +5 -6
- package/dist/shims/@zimbra-client/hooks/index.js +3 -5
- package/dist/shims/@zimbra-client/platform/index.js +3 -5
- package/dist/shims/@zimbra-client/util/contacts/index.js +3 -5
- package/dist/shims/@zimbra-client/util/index.js +3 -5
- package/dist/shims/@zimbra-client/util/redux/index.js +3 -5
- package/dist/shims/dompurify/index.js +3 -5
- package/dist/shims/moment/index.js +3 -5
- package/dist/shims/preact/compat/index.js +5 -6
- package/dist/shims/preact/hooks/index.js +3 -5
- package/dist/shims/preact/index.js +3 -5
- package/dist/shims/preact/jsx-runtime/index.js +7 -6
- package/dist/shims/preact-context-provider/index.js +3 -5
- package/dist/shims/preact-i18n/index.js +3 -5
- package/dist/shims/preact-markup/index.js +3 -5
- package/dist/shims/preact-pwa-install/index.js +3 -5
- package/dist/shims/preact-render-to-string/index.js +3 -5
- package/dist/shims/preact-router/index.js +3 -5
- package/dist/shims/preact-router/match/index.js +3 -5
- package/dist/shims/react-redux/index.js +3 -5
- package/dist/shims/recompose/index.js +3 -5
- package/dist/shims/redux-actions/index.js +3 -5
- package/dist/util.js +4 -4
- package/dist/zimlet-style-loader.js +1 -1
- package/eslint.config.mjs +38 -0
- package/package-lock.json +2745 -947
- package/package.json +11 -11
- package/.eslintrc.js +0 -15
package/.eslintcache
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"/Users/mitesh.savani/git/zimlet-cli/build-shims.js":"1","/Users/mitesh.savani/git/zimlet-cli/eslint.config.mjs":"2","/Users/mitesh.savani/git/zimlet-cli/examples/dropbox/components/page/index.js":"3","/Users/mitesh.savani/git/zimlet-cli/examples/dropbox/index.js":"4","/Users/mitesh.savani/git/zimlet-cli/src/cli.js":"5","/Users/mitesh.savani/git/zimlet-cli/src/commands/create.js":"6","/Users/mitesh.savani/git/zimlet-cli/src/commands/package.js":"7","/Users/mitesh.savani/git/zimlet-cli/src/entry.js":"8","/Users/mitesh.savani/git/zimlet-cli/src/index.js":"9","/Users/mitesh.savani/git/zimlet-cli/src/lib/async-command.js":"10","/Users/mitesh.savani/git/zimlet-cli/src/lib/setup.js":"11","/Users/mitesh.savani/git/zimlet-cli/src/lib/webpack/transform-config.js":"12","/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/index.js":"13","/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/react/components/index.js":"14","/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/react/hoc/index.js":"15","/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/react/index.js":"16","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/blocks/index.js":"17","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/browser/index.js":"18","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/components/index.js":"19","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/constants/index.js":"20","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/enhancers/index.js":"21","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/errors/index.js":"22","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/graphql/index.js":"23","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/hooks/graphql/index.js":"24","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/hooks/index.js":"25","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/platform/index.js":"26","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/util/contacts/index.js":"27","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/util/index.js":"28","/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/util/redux/index.js":"29","/Users/mitesh.savani/git/zimlet-cli/src/shims/dompurify/index.js":"30","/Users/mitesh.savani/git/zimlet-cli/src/shims/index.js":"31","/Users/mitesh.savani/git/zimlet-cli/src/shims/moment/index.js":"32","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/compat/index.js":"33","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/hooks/index.js":"34","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/index.js":"35","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/jsx-runtime/index.js":"36","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-context-provider/index.js":"37","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-i18n/index.js":"38","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-markup/index.js":"39","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-pwa-install/index.js":"40","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-render-to-string/index.js":"41","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-router/index.js":"42","/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-router/match/index.js":"43","/Users/mitesh.savani/git/zimlet-cli/src/shims/react-redux/index.js":"44","/Users/mitesh.savani/git/zimlet-cli/src/shims/recompose/index.js":"45","/Users/mitesh.savani/git/zimlet-cli/src/shims/redux-actions/index.js":"46","/Users/mitesh.savani/git/zimlet-cli/src/util.js":"47","/Users/mitesh.savani/git/zimlet-cli/src/zimlet-style-loader.js":"48"},{"size":6620,"mtime":1775216278268,"results":"49","hashOfConfig":"50"},{"size":989,"mtime":1775216278268,"results":"51","hashOfConfig":"50"},{"size":1066,"mtime":1775216278269,"results":"52","hashOfConfig":"50"},{"size":1615,"mtime":1775216278269,"results":"53","hashOfConfig":"50"},{"size":1671,"mtime":1775216278273,"results":"54","hashOfConfig":"50"},{"size":7603,"mtime":1775216278273,"results":"55","hashOfConfig":"50"},{"size":5506,"mtime":1775216278274,"results":"56","hashOfConfig":"50"},{"size":1169,"mtime":1775216278274,"results":"57","hashOfConfig":"50"},{"size":9996,"mtime":1775216278275,"results":"58","hashOfConfig":"50"},{"size":410,"mtime":1775216278275,"results":"59","hashOfConfig":"50"},{"size":1724,"mtime":1775216278276,"results":"60","hashOfConfig":"50"},{"size":728,"mtime":1775216278276,"results":"61","hashOfConfig":"50"},{"size":4099,"mtime":1775217183459,"results":"62","hashOfConfig":"63"},{"size":662,"mtime":1775217122743,"results":"64","hashOfConfig":"63"},{"size":737,"mtime":1775217122742,"results":"65","hashOfConfig":"63"},{"size":1155,"mtime":1775216278278,"results":"66","hashOfConfig":"63"},{"size":1820,"mtime":1775217122791,"results":"67","hashOfConfig":"63"},{"size":547,"mtime":1775217122792,"results":"68","hashOfConfig":"63"},{"size":3544,"mtime":1775217122792,"results":"69","hashOfConfig":"63"},{"size":893,"mtime":1775217122792,"results":"70","hashOfConfig":"63"},{"size":897,"mtime":1775217122792,"results":"71","hashOfConfig":"63"},{"size":572,"mtime":1775217122792,"results":"72","hashOfConfig":"63"},{"size":2443,"mtime":1775217122792,"results":"73","hashOfConfig":"63"},{"size":1244,"mtime":1775217122792,"results":"74","hashOfConfig":"63"},{"size":887,"mtime":1775217122792,"results":"75","hashOfConfig":"63"},{"size":598,"mtime":1775217122792,"results":"76","hashOfConfig":"63"},{"size":556,"mtime":1775217122791,"results":"77","hashOfConfig":"63"},{"size":1622,"mtime":1775217122791,"results":"78","hashOfConfig":"63"},{"size":765,"mtime":1775217122791,"results":"79","hashOfConfig":"63"},{"size":543,"mtime":1775217122789,"results":"80","hashOfConfig":"63"},{"size":2173,"mtime":1775216278285,"results":"81","hashOfConfig":"63"},{"size":2274,"mtime":1775217122778,"results":"82","hashOfConfig":"63"},{"size":2680,"mtime":1775217183459,"results":"83","hashOfConfig":"63"},{"size":1003,"mtime":1775217122646,"results":"84","hashOfConfig":"63"},{"size":934,"mtime":1775217122641,"results":"85","hashOfConfig":"63"},{"size":741,"mtime":1775217183460,"results":"86","hashOfConfig":"63"},{"size":611,"mtime":1775217122792,"results":"87","hashOfConfig":"63"},{"size":795,"mtime":1775217122788,"results":"88","hashOfConfig":"63"},{"size":481,"mtime":1775217122791,"results":"89","hashOfConfig":"63"},{"size":441,"mtime":1775217122784,"results":"90","hashOfConfig":"63"},{"size":575,"mtime":1775217122791,"results":"91","hashOfConfig":"63"},{"size":679,"mtime":1775217122647,"results":"92","hashOfConfig":"63"},{"size":504,"mtime":1775217122647,"results":"93","hashOfConfig":"63"},{"size":971,"mtime":1775217122759,"results":"94","hashOfConfig":"63"},{"size":2681,"mtime":1775217122784,"results":"95","hashOfConfig":"63"},{"size":757,"mtime":1775216278289,"results":"96","hashOfConfig":"63"},{"size":1171,"mtime":1775216278289,"results":"97","hashOfConfig":"50"},{"size":747,"mtime":1775216278290,"results":"98","hashOfConfig":"50"},{"filePath":"99","messages":"100","suppressedMessages":"101","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1r4bsfc",{"filePath":"102","messages":"103","suppressedMessages":"104","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"105","messages":"106","suppressedMessages":"107","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"108","messages":"109","suppressedMessages":"110","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"111","messages":"112","suppressedMessages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"114","messages":"115","suppressedMessages":"116","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"117","messages":"118","suppressedMessages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","suppressedMessages":"122","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","suppressedMessages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","suppressedMessages":"128","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"129","messages":"130","suppressedMessages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","suppressedMessages":"134","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","suppressedMessages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1p8qk72",{"filePath":"138","messages":"139","suppressedMessages":"140","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"141","messages":"142","suppressedMessages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","suppressedMessages":"146","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"147","messages":"148","suppressedMessages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","suppressedMessages":"152","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"153","messages":"154","suppressedMessages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","suppressedMessages":"158","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"159","messages":"160","suppressedMessages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","suppressedMessages":"164","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"165","messages":"166","suppressedMessages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","suppressedMessages":"170","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"171","messages":"172","suppressedMessages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","suppressedMessages":"176","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"177","messages":"178","suppressedMessages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","suppressedMessages":"182","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"183","messages":"184","suppressedMessages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","suppressedMessages":"188","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"189","messages":"190","suppressedMessages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","suppressedMessages":"194","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"195","messages":"196","suppressedMessages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","suppressedMessages":"200","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"201","messages":"202","suppressedMessages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","suppressedMessages":"206","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"207","messages":"208","suppressedMessages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","suppressedMessages":"212","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"213","messages":"214","suppressedMessages":"215","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","suppressedMessages":"218","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"219","messages":"220","suppressedMessages":"221","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"222","messages":"223","suppressedMessages":"224","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"225","messages":"226","suppressedMessages":"227","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"228","messages":"229","suppressedMessages":"230","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"231","messages":"232","suppressedMessages":"233","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"234","messages":"235","suppressedMessages":"236","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"237","messages":"238","suppressedMessages":"239","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"240","messages":"241","suppressedMessages":"242","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/mitesh.savani/git/zimlet-cli/build-shims.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/eslint.config.mjs",[],[],"/Users/mitesh.savani/git/zimlet-cli/examples/dropbox/components/page/index.js",[],["243"],"/Users/mitesh.savani/git/zimlet-cli/examples/dropbox/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/cli.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/commands/create.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/commands/package.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/entry.js",[],["244"],"/Users/mitesh.savani/git/zimlet-cli/src/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/lib/async-command.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/lib/setup.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/lib/webpack/transform-config.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/react/components/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/react/hoc/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@apollo/client/react/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/blocks/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/browser/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/components/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/constants/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/enhancers/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/errors/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/graphql/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/hooks/graphql/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/hooks/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/platform/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/util/contacts/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/util/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/@zimbra-client/util/redux/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/dompurify/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/moment/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/compat/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/hooks/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact/jsx-runtime/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-context-provider/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-i18n/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-markup/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-pwa-install/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-render-to-string/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-router/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/preact-router/match/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/react-redux/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/recompose/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/shims/redux-actions/index.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/util.js",[],[],"/Users/mitesh.savani/git/zimlet-cli/src/zimlet-style-loader.js",[],[],{"ruleId":"245","severity":2,"message":"246","line":11,"column":20,"nodeType":"247","messageId":"248","endLine":11,"endColumn":50,"suppressions":"249"},{"ruleId":"250","severity":2,"message":"251","line":7,"column":3,"nodeType":"252","messageId":"253","endLine":7,"endColumn":9,"suppressions":"254"},"no-alert","Unexpected alert.","CallExpression","unexpected",["255"],"no-undef","'zimlet' is not defined.","Identifier","undef",["256"],{"kind":"257","justification":"258"},{"kind":"257","justification":"258"},"directive",""]
|
package/dist/commands/create.js
CHANGED
|
@@ -7,9 +7,9 @@ exports.default = void 0;
|
|
|
7
7
|
var _ora = _interopRequireDefault(require("ora"));
|
|
8
8
|
var _gittar = _interopRequireDefault(require("gittar"));
|
|
9
9
|
var _chalk = require("chalk");
|
|
10
|
-
var
|
|
10
|
+
var _nodeFs = _interopRequireDefault(require("node:fs"));
|
|
11
11
|
var _inquirer = require("inquirer");
|
|
12
|
-
var
|
|
12
|
+
var _nodePath = require("node:path");
|
|
13
13
|
var _validateNpmPackageName = _interopRequireDefault(require("validate-npm-package-name"));
|
|
14
14
|
var _util = require("../util");
|
|
15
15
|
var _setup = require("./../lib/setup");
|
|
@@ -26,7 +26,7 @@ const isMedia = str => RGX.test(str);
|
|
|
26
26
|
const capitalize = str => str.charAt(0).toUpperCase() + str.substring(1);
|
|
27
27
|
const templateDesc = 'Remote template to clone (user/repo#tag)',
|
|
28
28
|
destDesc = 'Directory to create the zimlet',
|
|
29
|
-
nameDesc =
|
|
29
|
+
nameDesc = "The zimlet's name",
|
|
30
30
|
forceDesc = 'Force `dest` directory to created if it already exists; will overwrite!',
|
|
31
31
|
installDesc = 'Install dependencies',
|
|
32
32
|
yarnDesc = 'Install with `yarn` instead of `npm`',
|
|
@@ -90,10 +90,10 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
90
90
|
|
|
91
91
|
//default is a special keyword that will use the predefiend default repo
|
|
92
92
|
if (templateArg === 'default') templateArg = DEFAULT_REPO;
|
|
93
|
-
let cwd = (0,
|
|
94
|
-
destArg = destArg || (0,
|
|
93
|
+
let cwd = (0, _nodePath.resolve)(argv.cwd);
|
|
94
|
+
destArg = destArg || (0, _nodePath.dirname)(cwd);
|
|
95
95
|
let isYarn = argv.yarn && (0, _util.hasCommand)('yarn');
|
|
96
|
-
let target = (0,
|
|
96
|
+
let target = (0, _nodePath.resolve)(cwd, destArg);
|
|
97
97
|
let exists = (0, _util.isDir)(target);
|
|
98
98
|
if (exists && !argv.force) {
|
|
99
99
|
return (0, _util.error)('Refusing to overwrite current directory! Please specify a different destination or use the `--force` flag', 1);
|
|
@@ -169,12 +169,12 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
169
169
|
entry,
|
|
170
170
|
enc = 'utf8';
|
|
171
171
|
for (entry of keeps) {
|
|
172
|
-
buf =
|
|
172
|
+
buf = _nodeFs.default.readFileSync(entry, enc);
|
|
173
173
|
dict.forEach((v, k) => {
|
|
174
174
|
buf = buf.replace(k, v);
|
|
175
175
|
});
|
|
176
176
|
try {
|
|
177
|
-
|
|
177
|
+
_nodeFs.default.writeFileSync(entry, buf, enc);
|
|
178
178
|
} catch (err) {
|
|
179
179
|
return (0, _util.error)(`Couldn't write ${entry}: ${err}`);
|
|
180
180
|
}
|
|
@@ -186,10 +186,10 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
186
186
|
|
|
187
187
|
// Validate user's `package.json` file
|
|
188
188
|
let pkgData,
|
|
189
|
-
pkgFile = (0,
|
|
189
|
+
pkgFile = (0, _nodePath.resolve)(target, 'package.json');
|
|
190
190
|
if (pkgFile) {
|
|
191
191
|
try {
|
|
192
|
-
pkgData = JSON.parse(
|
|
192
|
+
pkgData = JSON.parse(_nodeFs.default.readFileSync(pkgFile));
|
|
193
193
|
} catch (err) {
|
|
194
194
|
return (0, _util.error)(`Could not reach package.json file: ${err}`);
|
|
195
195
|
}
|
|
@@ -207,7 +207,7 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
207
207
|
if (pkgData) {
|
|
208
208
|
// Assume changes were made
|
|
209
209
|
try {
|
|
210
|
-
|
|
210
|
+
_nodeFs.default.writeFileSync(pkgFile, JSON.stringify(pkgData, null, 2));
|
|
211
211
|
} catch (err) {
|
|
212
212
|
return (0, _util.error)(`Unable to write back package.json file: ${err}`);
|
|
213
213
|
}
|
package/dist/commands/package.js
CHANGED
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var _nodeFs = _interopRequireDefault(require("node:fs"));
|
|
8
|
+
var _nodePath = _interopRequireDefault(require("node:path"));
|
|
9
9
|
var _admZip = _interopRequireDefault(require("adm-zip"));
|
|
10
10
|
var _util = require("../util");
|
|
11
11
|
var _asyncCommand = _interopRequireDefault(require("../lib/async-command"));
|
|
@@ -56,8 +56,8 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
56
56
|
async handler(argv) {
|
|
57
57
|
// normalize built files source directory and desination package dir
|
|
58
58
|
let cwd = process.cwd();
|
|
59
|
-
let builddir =
|
|
60
|
-
let dest =
|
|
59
|
+
let builddir = _nodePath.default.resolve(cwd, argv.builddir || 'build');
|
|
60
|
+
let dest = _nodePath.default.resolve(cwd, argv.dest || 'pkg', `${argv.name}.zip`);
|
|
61
61
|
|
|
62
62
|
// Get label and description from src/intl/en_US.json or from argument
|
|
63
63
|
const {
|
|
@@ -73,7 +73,7 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
73
73
|
let zimletXML = `<zimlet name="${argv.name}" version="${argv.pkgVersion}" description="${description}" label="${label}" zimbraXZimletCompatibleSemVer="${argv.zimbraXVersion}">`;
|
|
74
74
|
let files;
|
|
75
75
|
try {
|
|
76
|
-
files =
|
|
76
|
+
files = _nodeFs.default.readdirSync(builddir);
|
|
77
77
|
} catch (err) {
|
|
78
78
|
return (0, _util.error)(`Failed to read ${builddir}: ${err}`, 1);
|
|
79
79
|
}
|
|
@@ -88,7 +88,7 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
88
88
|
});
|
|
89
89
|
zimletXML += '\n</zimlet>';
|
|
90
90
|
try {
|
|
91
|
-
|
|
91
|
+
_nodeFs.default.writeFileSync(_nodePath.default.resolve(builddir, xmlFile), zimletXML);
|
|
92
92
|
} catch (err) {
|
|
93
93
|
return (0, _util.error)(`Failed to write XML file: ${err}`, 1);
|
|
94
94
|
}
|
|
@@ -102,9 +102,9 @@ var _default = exports.default = (0, _asyncCommand.default)({
|
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
function getZimletLabelDescription() {
|
|
105
|
-
const intlDir =
|
|
105
|
+
const intlDir = _nodePath.default.resolve(process.cwd(), 'src', 'intl');
|
|
106
106
|
try {
|
|
107
|
-
const content = JSON.parse(
|
|
107
|
+
const content = JSON.parse(_nodeFs.default.readFileSync(_nodePath.default.resolve(intlDir, 'en_US.json')));
|
|
108
108
|
if (!(content.zimlet?.label && content.zimlet?.description)) {
|
|
109
109
|
throw new Error('label or description not found');
|
|
110
110
|
}
|
|
@@ -126,17 +126,17 @@ function getZimletLabelDescription() {
|
|
|
126
126
|
// As admin console requires properties file to display label and desciption
|
|
127
127
|
function createLocalizationFiles(zimletName, label, description) {
|
|
128
128
|
const cwd = process.cwd();
|
|
129
|
-
const intlDir =
|
|
129
|
+
const intlDir = _nodePath.default.resolve(cwd, 'src', 'intl');
|
|
130
130
|
let intlFiles;
|
|
131
131
|
createPropertyFile(zimletName, label, description);
|
|
132
132
|
try {
|
|
133
|
-
intlFiles =
|
|
133
|
+
intlFiles = _nodeFs.default.readdirSync(intlDir);
|
|
134
134
|
} catch (err) {
|
|
135
135
|
console.error(`Failed to read ${intlDir}: ${err}`, 1);
|
|
136
136
|
}
|
|
137
137
|
intlFiles.filter(file => file.match(/\.json$/) && !file.includes('en_US')).forEach(intl => {
|
|
138
138
|
try {
|
|
139
|
-
const content = JSON.parse(
|
|
139
|
+
const content = JSON.parse(_nodeFs.default.readFileSync(_nodePath.default.resolve(intlDir, intl)));
|
|
140
140
|
const propertiesFileName = `${zimletName}_${intl.replace('.json', '')}`;
|
|
141
141
|
const labelValue = getUnicode(content.zimlet?.label || '');
|
|
142
142
|
const descriptionValue = getUnicode(content.zimlet?.description || '');
|
|
@@ -147,13 +147,13 @@ function createLocalizationFiles(zimletName, label, description) {
|
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
function createPropertyFile(fileName, label, description) {
|
|
150
|
-
const builddir =
|
|
150
|
+
const builddir = _nodePath.default.resolve(process.cwd(), 'build');
|
|
151
151
|
const propertiesFile = `${fileName}.properties`;
|
|
152
152
|
let zimletProperties = '\n';
|
|
153
153
|
zimletProperties += `label = ${label}\n`;
|
|
154
154
|
zimletProperties += `description = ${description}\n`;
|
|
155
155
|
try {
|
|
156
|
-
|
|
156
|
+
_nodeFs.default.writeFileSync(_nodePath.default.resolve(builddir, propertiesFile), zimletProperties);
|
|
157
157
|
} catch (err) {
|
|
158
158
|
return (0, _util.error)(`Failed to write properties file: ${err}`, 1);
|
|
159
159
|
}
|
package/dist/entry.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -6,20 +6,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.configure = configure;
|
|
8
8
|
exports.default = run;
|
|
9
|
-
var
|
|
10
|
-
var
|
|
9
|
+
var _nodeFs = _interopRequireDefault(require("node:fs"));
|
|
10
|
+
var _nodePath = _interopRequireDefault(require("node:path"));
|
|
11
11
|
var _ip = _interopRequireDefault(require("ip"));
|
|
12
12
|
var _chalk = _interopRequireDefault(require("chalk"));
|
|
13
13
|
var _transformConfig = _interopRequireDefault(require("./lib/webpack/transform-config"));
|
|
14
14
|
var _getPort = _interopRequireWildcard(require("get-port"));
|
|
15
15
|
var _webpack = _interopRequireDefault(require("webpack"));
|
|
16
|
-
var _webpackDevServer =
|
|
16
|
+
var _webpackDevServer = require("webpack-dev-server");
|
|
17
17
|
var _progressBarWebpackPlugin = _interopRequireDefault(require("progress-bar-webpack-plugin"));
|
|
18
18
|
var _postcssPresetEnv = _interopRequireDefault(require("postcss-preset-env"));
|
|
19
19
|
var _postcssDiscardComments = _interopRequireDefault(require("postcss-discard-comments"));
|
|
20
20
|
var _util = require("./util");
|
|
21
21
|
var _shims = require("./shims");
|
|
22
|
-
var _copyWebpackPlugin =
|
|
22
|
+
var _copyWebpackPlugin = require("copy-webpack-plugin");
|
|
23
23
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
24
24
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
25
25
|
function run(args, callback) {
|
|
@@ -67,7 +67,7 @@ function run(args, callback) {
|
|
|
67
67
|
config.devServer.port = port;
|
|
68
68
|
}
|
|
69
69
|
(async () => {
|
|
70
|
-
await new _webpackDevServer.
|
|
70
|
+
await new _webpackDevServer.Server(config.devServer, compiler).start();
|
|
71
71
|
})();
|
|
72
72
|
});
|
|
73
73
|
} else {
|
|
@@ -91,7 +91,7 @@ function configure(env) {
|
|
|
91
91
|
context = cwd,
|
|
92
92
|
pkg;
|
|
93
93
|
try {
|
|
94
|
-
pkg = require(
|
|
94
|
+
pkg = require(_nodePath.default.resolve(cwd, 'package.json'));
|
|
95
95
|
} catch (e) {}
|
|
96
96
|
if (!pkg) {
|
|
97
97
|
pkg = {
|
|
@@ -100,22 +100,22 @@ function configure(env) {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// entry point (initial file to load)
|
|
103
|
-
let entry =
|
|
103
|
+
let entry = _nodePath.default.resolve(cwd, pkg.module || pkg['jsnext:main'] || pkg.main);
|
|
104
104
|
if (isDir(entry)) {
|
|
105
|
-
entry =
|
|
105
|
+
entry = _nodePath.default.resolve(entry, 'index.js');
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
// attempt to use ./src dir if present:
|
|
109
|
-
if (isDir(
|
|
110
|
-
context =
|
|
109
|
+
if (isDir(_nodePath.default.resolve(cwd, 'src'))) {
|
|
110
|
+
context = _nodePath.default.resolve(context, 'src');
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
// normalize desination dir
|
|
114
|
-
let dest =
|
|
114
|
+
let dest = _nodePath.default.resolve(cwd, env.dest || 'build');
|
|
115
115
|
|
|
116
116
|
// use absolute paths
|
|
117
|
-
context =
|
|
118
|
-
let componentDirs = [
|
|
117
|
+
context = _nodePath.default.resolve(context);
|
|
118
|
+
let componentDirs = [_nodePath.default.resolve(context, 'components'), _nodePath.default.resolve(context, 'screens'), _nodePath.default.resolve(context, 'pages')];
|
|
119
119
|
let cssLoaderOptions = {
|
|
120
120
|
sourceMap: watch && !PROD
|
|
121
121
|
};
|
|
@@ -140,7 +140,7 @@ function configure(env) {
|
|
|
140
140
|
let webpackConfig = {
|
|
141
141
|
mode: PROD ? 'production' : 'development',
|
|
142
142
|
context,
|
|
143
|
-
entry:
|
|
143
|
+
entry: _nodePath.default.resolve(__dirname, 'entry.js'),
|
|
144
144
|
output: {
|
|
145
145
|
path: dest,
|
|
146
146
|
filename: `index.js`,
|
|
@@ -153,7 +153,7 @@ function configure(env) {
|
|
|
153
153
|
resolve: {
|
|
154
154
|
extensions: ['.mjs', '.jsx', '.js', '.json', '.css', '.less'],
|
|
155
155
|
mainFields: ['browser', 'module', 'jsnext:main', 'main'],
|
|
156
|
-
modules: [
|
|
156
|
+
modules: [_nodePath.default.resolve(cwd, 'node_modules'), 'node_modules'],
|
|
157
157
|
alias: {
|
|
158
158
|
..._shims.SHIMMED_MODULES.reduce((shimAliases, name) => {
|
|
159
159
|
if (Array.isArray(name)) {
|
|
@@ -165,12 +165,12 @@ function configure(env) {
|
|
|
165
165
|
}, {}),
|
|
166
166
|
react: (0, _shims.getShimPath)('preact/compat'),
|
|
167
167
|
'react-dom': (0, _shims.getShimPath)('preact/compat'),
|
|
168
|
-
style:
|
|
169
|
-
'zimlet-cli-entrypoint':
|
|
168
|
+
style: _nodePath.default.resolve(context, 'style'),
|
|
169
|
+
'zimlet-cli-entrypoint': _nodePath.default.resolve(context, entry)
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
resolveLoader: {
|
|
173
|
-
modules: [
|
|
173
|
+
modules: [_nodePath.default.resolve(__dirname, 'loaders'), _nodePath.default.resolve(__dirname, '..', 'node_modules'), _nodePath.default.resolve(cwd, 'node_modules')]
|
|
174
174
|
},
|
|
175
175
|
module: {
|
|
176
176
|
rules: [{
|
|
@@ -200,7 +200,7 @@ function configure(env) {
|
|
|
200
200
|
// include: /(^|\/)src\/(?:components|screens)\//,
|
|
201
201
|
include: componentDirs,
|
|
202
202
|
use: [{
|
|
203
|
-
loader:
|
|
203
|
+
loader: _nodePath.default.resolve(__dirname, 'zimlet-style-loader.js')
|
|
204
204
|
}, {
|
|
205
205
|
loader: 'css-loader',
|
|
206
206
|
options: {
|
|
@@ -222,7 +222,7 @@ function configure(env) {
|
|
|
222
222
|
// exclude: /(^|\/)src\/(?:components|screens)\//,
|
|
223
223
|
exclude: componentDirs,
|
|
224
224
|
use: [{
|
|
225
|
-
loader:
|
|
225
|
+
loader: _nodePath.default.resolve(__dirname, 'zimlet-style-loader.js')
|
|
226
226
|
}, {
|
|
227
227
|
loader: 'css-loader',
|
|
228
228
|
options: cssLoaderOptions
|
|
@@ -251,10 +251,10 @@ function configure(env) {
|
|
|
251
251
|
summary: false
|
|
252
252
|
}), new _webpack.default.DefinePlugin({
|
|
253
253
|
'process.env.NODE_ENV': JSON.stringify(PROD ? 'production' : 'development')
|
|
254
|
-
}), isFile(
|
|
254
|
+
}), isFile(_nodePath.default.resolve(cwd, 'config_template.xml')) && new _copyWebpackPlugin.CopyWebpackPlugin({
|
|
255
255
|
patterns: [{
|
|
256
|
-
from:
|
|
257
|
-
to:
|
|
256
|
+
from: _nodePath.default.join(cwd, 'config_template.xml'),
|
|
257
|
+
to: _nodePath.default.join(dest, 'config_template.xml')
|
|
258
258
|
}]
|
|
259
259
|
})).filter(Boolean),
|
|
260
260
|
stats: 'errors-only',
|
|
@@ -262,7 +262,7 @@ function configure(env) {
|
|
|
262
262
|
|
|
263
263
|
...(watch && {
|
|
264
264
|
watchOptions: {
|
|
265
|
-
ignored: ['build', dest,
|
|
265
|
+
ignored: ['build', dest, _nodePath.default.resolve(cwd, 'node_modules')]
|
|
266
266
|
},
|
|
267
267
|
devtool: 'inline-source-map',
|
|
268
268
|
devServer: {
|
|
@@ -296,11 +296,11 @@ function configure(env) {
|
|
|
296
296
|
}
|
|
297
297
|
function isDir(filepath) {
|
|
298
298
|
try {
|
|
299
|
-
return !!
|
|
299
|
+
return !!_nodeFs.default.statSync(filepath).isDirectory();
|
|
300
300
|
} catch (err) {}
|
|
301
301
|
}
|
|
302
302
|
function isFile(filepath) {
|
|
303
303
|
try {
|
|
304
|
-
return !!
|
|
304
|
+
return !!_nodeFs.default.statSync(filepath).isFile();
|
|
305
305
|
} catch (err) {}
|
|
306
306
|
}
|
package/dist/lib/setup.js
CHANGED
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = transformConfig;
|
|
7
|
-
var
|
|
7
|
+
var _nodePath = _interopRequireDefault(require("node:path"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
const defaultConfig = './zimlet.config.js';
|
|
10
10
|
function transformConfig(env, config) {
|
|
11
|
-
let transformerPath =
|
|
11
|
+
let transformerPath = _nodePath.default.resolve(env.cwd, env.config || defaultConfig);
|
|
12
12
|
try {
|
|
13
13
|
require.resolve(transformerPath);
|
|
14
14
|
} catch (err) {
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useSuspenseQuery = exports.useSuspenseFragment = exports.useSubscription = exports.useReadQuery = exports.useReactiveVar = exports.useQueryRefHandlers = exports.useQuery = exports.useMutation = exports.useLoadableQuery = exports.useLazyQuery = exports.useFragment = exports.useBackgroundQuery = exports.useApolloClient = exports.toPromise = exports.throwServerError = exports.split = exports.skipToken = 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.isNetworkRequestSettled = 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.createQueryPreloader = exports.createHttpLink = exports.concat = exports.checkFetcher = exports.ObservableQuery = exports.Observable = exports.NetworkStatus = exports.MissingFieldError = exports.InMemoryCache = exports.HttpLink = exports.DocumentType = exports.DocumentTransform = exports.Cache = exports.ApolloProvider = exports.ApolloLink = exports.ApolloError = exports.ApolloConsumer = exports.ApolloClient = exports.ApolloCache = void 0;
|
|
7
7
|
var _ = require("../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@apollo/client" in the webpack config.
|
|
9
|
-
* When components import '@apollo/client', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@apollo/client', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client'], '@apollo/client');
|
|
16
14
|
const NetworkStatus = exports.NetworkStatus = wrap('NetworkStatus');
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = exports.Subscription = exports.Query = exports.Mutation = void 0;
|
|
7
7
|
var _ = require("../../../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@apollo/client/react/components" in the webpack config.
|
|
9
|
-
* When components import '@apollo/client/react/components', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@apollo/client/react/components', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client/react/components'], '@apollo/client/react/components');
|
|
16
14
|
const Mutation = exports.Mutation = wrap('Mutation');
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.withSubscription = exports.withQuery = exports.withMutation = exports.withApollo = exports.graphql = exports.default = void 0;
|
|
7
7
|
var _ = require("../../../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@apollo/client/react/hoc" in the webpack config.
|
|
9
|
-
* When components import '@apollo/client/react/hoc', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@apollo/client/react/hoc', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client/react/hoc'], '@apollo/client/react/hoc');
|
|
16
14
|
const graphql = exports.graphql = wrap('graphql');
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
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
|
var _ = require("../../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@apollo/client/react" in the webpack config.
|
|
9
|
-
* When components import '@apollo/client/react', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@apollo/client/react', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@apollo/client/react'], '@apollo/client/react');
|
|
16
14
|
const useApolloClient = exports.useApolloClient = wrap('useApolloClient');
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = exports.Tooltip = exports.Tabs = exports.Tab = exports.TAG_COLORS = exports.StyledChoiceInput = 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.ColorPicker = exports.CloseOnClickOrKeydown = exports.ClickOutsideDetector = exports.ChoiceInput = exports.Card = exports.COLORS = exports.Button = exports.AnimatedButton = exports.AffixBottom = void 0;
|
|
6
|
+
exports.default = exports.WarningBanner = exports.Tooltip = exports.Tabs = exports.Tab = exports.TAG_COLORS = exports.StyledChoiceInput = 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.ColorPicker = exports.CloseOnClickOrKeydown = exports.ClickOutsideDetector = exports.ChoiceInput = exports.Card = exports.COLORS = exports.Button = exports.AnimatedButton = exports.AffixBottom = void 0;
|
|
7
7
|
var _ = require("../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@zimbra-client/blocks" in the webpack config.
|
|
9
|
-
* When components import '@zimbra-client/blocks', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@zimbra-client/blocks', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/blocks'], '@zimbra-client/blocks');
|
|
16
14
|
const Dialog = exports.Dialog = wrap('Dialog');
|
|
@@ -42,4 +40,5 @@ const TAG_COLORS = exports.TAG_COLORS = wrap('TAG_COLORS');
|
|
|
42
40
|
const LoaderBar = exports.LoaderBar = wrap('LoaderBar');
|
|
43
41
|
const AnimatedButton = exports.AnimatedButton = wrap('AnimatedButton');
|
|
44
42
|
const ProgressButton = exports.ProgressButton = wrap('ProgressButton');
|
|
43
|
+
const WarningBanner = exports.WarningBanner = wrap('WarningBanner');
|
|
45
44
|
var _default = exports.default = global.shims['@zimbra-client/blocks'];
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.openExternalBrowser = exports.default = void 0;
|
|
7
7
|
var _ = require("../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@zimbra-client/browser" in the webpack config.
|
|
9
|
-
* When components import '@zimbra-client/browser', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@zimbra-client/browser', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/browser'], '@zimbra-client/browser');
|
|
16
14
|
const openExternalBrowser = exports.openExternalBrowser = wrap('openExternalBrowser');
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = exports.ZimletSlot = exports.ToolbarButton = exports.TinyMceComposer = exports.TextInput = exports.TextArea = exports.SmartList = exports.SignatureBox = exports.Sidebar = exports.Select = exports.SMIMEOperationDropDown = exports.ResponsiveModal = exports.Picker = exports.PdfjsViewer = exports.NestedActionMenuItem = exports.NakedButton = exports.ModalDrawerToolbar = exports.ModalDrawer = exports.ModalDialog = exports.MenuItem = exports.MailSidebar = exports.InfiniteScroll = exports.HelpTooltip = exports.HelpButton = exports.GenericMobileUIToolbar = exports.GenericMobileUISidebar = exports.FormGroup = exports.FolderListLight = exports.FolderListGroup = exports.FolderList = exports.ErrorAlert = exports.DropDownWrapper = exports.DraggableCard = exports.DeleteWrapper = exports.DateInput = exports.CustomTimePicker = exports.ContextMenu = exports.ContactList = exports.ContactHoverCardWrapper = exports.ContactEditor = exports.ConfirmModalDialog = exports.CollapsedSubmenu = exports.CloseButton = exports.ClientLogo = exports.CertificateModal = exports.CaptureBeforeUnload = exports.CalendarOptionItem = exports.BackArrow = exports.Avatar = exports.AttachmentItem = exports.AppointmentEdit = exports.AlignedLabel = exports.AddressField = exports.AddMore = exports.ActionMenuMoveFolder = exports.ActionMenuItem = exports.ActionMenuGroup = exports.ActionMenu = exports.ActionButton = void 0;
|
|
6
|
+
exports.default = exports.ZimletSlot = exports.ToolbarButton = exports.TinyMceComposer = exports.TextInput = exports.TextArea = exports.SmartList = exports.SignatureBox = exports.Sidebar = exports.Select = exports.SMIMEOperationDropDown = exports.ResponsiveModal = exports.Picker = exports.PdfjsViewer = exports.NestedActionMenuItem = exports.NakedButton = exports.ModalDrawerToolbar = exports.ModalDrawer = exports.ModalDialog = exports.MenuItem = exports.MailSidebar = exports.InfoBar = exports.InfiniteScroll = exports.HelpTooltip = exports.HelpButton = exports.GenericMobileUIToolbar = exports.GenericMobileUISidebar = exports.FormGroup = exports.FolderListLight = exports.FolderListGroup = exports.FolderList = exports.ErrorAlert = exports.DropDownWrapper = exports.DraggableCard = exports.DeleteWrapper = exports.DateInput = exports.CustomTimePicker = exports.ContextMenu = exports.ContactList = exports.ContactHoverCardWrapper = exports.ContactEditor = exports.ConfirmModalDialog = exports.CollapsedSubmenu = exports.CloseButton = exports.ClientLogo = exports.CertificateModal = exports.CaptureBeforeUnload = exports.CalendarOptionItem = exports.BackArrow = exports.Avatar = exports.AttachmentItem = exports.AppointmentEdit = exports.AlignedLabel = exports.AddressField = exports.AddMore = exports.ActionMenuMoveFolder = exports.ActionMenuItem = exports.ActionMenuGroup = exports.ActionMenu = exports.ActionButton = void 0;
|
|
7
7
|
var _ = require("../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@zimbra-client/components" in the webpack config.
|
|
9
|
-
* When components import '@zimbra-client/components', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@zimbra-client/components', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/components'], '@zimbra-client/components');
|
|
16
14
|
const MenuItem = exports.MenuItem = wrap('MenuItem');
|
|
@@ -71,4 +69,5 @@ const CustomTimePicker = exports.CustomTimePicker = wrap('CustomTimePicker');
|
|
|
71
69
|
const ClientLogo = exports.ClientLogo = wrap('ClientLogo');
|
|
72
70
|
const CloseButton = exports.CloseButton = wrap('CloseButton');
|
|
73
71
|
const FolderListGroup = exports.FolderListGroup = wrap('FolderListGroup');
|
|
72
|
+
const InfoBar = exports.InfoBar = wrap('InfoBar');
|
|
74
73
|
var _default = exports.default = global.shims['@zimbra-client/components'];
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.supportedMimes = exports.default = exports.ZIMBRA_ZIMLET_EVENTS = exports.USER_FOLDER_IDS = exports.PARTICIPATION_STATUS = exports.FLAGS = exports.EMAIL_SEPARATOR_TAG_ID = exports.ATTENDEE_ROLE = void 0;
|
|
7
7
|
var _ = require("../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@zimbra-client/constants" in the webpack config.
|
|
9
|
-
* When components import '@zimbra-client/constants', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@zimbra-client/constants', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/constants'], '@zimbra-client/constants');
|
|
16
14
|
const ATTENDEE_ROLE = exports.ATTENDEE_ROLE = wrap('ATTENDEE_ROLE');
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.withZimletIntlWrapper = exports.withTracking = exports.withTabManager = exports.withMediaQuery = exports.withIntlWrapper = exports.withIntlConsumer = exports.default = exports.clientConfiguration = void 0;
|
|
7
7
|
var _ = require("../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@zimbra-client/enhancers" in the webpack config.
|
|
9
|
-
* When components import '@zimbra-client/enhancers', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@zimbra-client/enhancers', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/enhancers'], '@zimbra-client/enhancers');
|
|
16
14
|
const withMediaQuery = exports.withMediaQuery = wrap('withMediaQuery');
|
|
@@ -6,11 +6,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.faultCode = exports.errorMessage = exports.default = void 0;
|
|
7
7
|
var _ = require("../../");
|
|
8
8
|
/** This file is an auto-generated shim, aliased in for "@zimbra-client/errors" in the webpack config.
|
|
9
|
-
* When components import '@zimbra-client/errors', we want to give them back the copy
|
|
10
|
-
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
/* eslint-disable camelcase, dot-notation */
|
|
9
|
+
* When components import '@zimbra-client/errors', we want to give them back the copy
|
|
10
|
+
* Zimbra passed down when it called the factory provided to zimlet().
|
|
11
|
+
*/
|
|
14
12
|
|
|
15
13
|
const wrap = _.warnOnMissingExport.bind(null, global.shims['@zimbra-client/errors'], '@zimbra-client/errors');
|
|
16
14
|
const errorMessage = exports.errorMessage = wrap('errorMessage');
|