@bigbinary/neeto-molecules 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CustomDomain.cjs.js +1215 -208
- package/dist/CustomDomain.cjs.js.map +1 -1
- package/dist/CustomDomain.js +1203 -196
- package/dist/CustomDomain.js.map +1 -1
- package/dist/IpRestriction.cjs.js +311 -68
- package/dist/IpRestriction.cjs.js.map +1 -1
- package/dist/IpRestriction.js +315 -72
- package/dist/IpRestriction.js.map +1 -1
- package/dist/NeetoWidget.cjs.js +9117 -92707
- package/dist/NeetoWidget.cjs.js.map +1 -1
- package/dist/NeetoWidget.js +9122 -92712
- package/dist/NeetoWidget.js.map +1 -1
- package/package.json +2 -2
- package/src/translations/en.json +6 -2
- package/types/MenuBar.d.ts +1 -1
- package/types/ShareViaEmail.d.ts +2 -2
package/dist/CustomDomain.cjs.js
CHANGED
|
@@ -4,10 +4,12 @@ var React = require('react');
|
|
|
4
4
|
var pure = require('@bigbinary/neeto-commons-frontend/pure');
|
|
5
5
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
6
6
|
var neetoui = require('@bigbinary/neetoui');
|
|
7
|
-
var layouts = require('@bigbinary/neetoui/layouts');
|
|
8
7
|
var reactI18next = require('react-i18next');
|
|
9
|
-
var formik = require('formik');
|
|
10
8
|
var neetoIcons = require('@bigbinary/neeto-icons');
|
|
9
|
+
var ramda = require('ramda');
|
|
10
|
+
var reactRouterDom = require('react-router-dom');
|
|
11
|
+
var logos = require('@bigbinary/neeto-icons/logos');
|
|
12
|
+
var formik = require('formik');
|
|
11
13
|
var formik$1 = require('@bigbinary/neetoui/formik');
|
|
12
14
|
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
13
15
|
var i18next = require('i18next');
|
|
@@ -85,29 +87,1095 @@ function _iterableToArrayLimit(arr, i) {
|
|
|
85
87
|
return _arr;
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
|
-
|
|
89
|
-
function _arrayLikeToArray(arr, len) {
|
|
90
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
91
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
92
|
-
return arr2;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
96
|
-
if (!o) return;
|
|
97
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
98
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
99
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
100
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
101
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function _nonIterableRest() {
|
|
105
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
function _slicedToArray(arr, i) {
|
|
109
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
110
|
-
}
|
|
90
|
+
|
|
91
|
+
function _arrayLikeToArray(arr, len) {
|
|
92
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
93
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
94
|
+
return arr2;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
98
|
+
if (!o) return;
|
|
99
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
100
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
101
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
102
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
103
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
function _nonIterableRest() {
|
|
107
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function _slicedToArray(arr, i) {
|
|
111
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
var classnames$1 = {exports: {}};
|
|
115
|
+
|
|
116
|
+
/*!
|
|
117
|
+
Copyright (c) 2018 Jed Watson.
|
|
118
|
+
Licensed under the MIT License (MIT), see
|
|
119
|
+
http://jedwatson.github.io/classnames
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
(function (module) {
|
|
123
|
+
/* global define */
|
|
124
|
+
|
|
125
|
+
(function () {
|
|
126
|
+
|
|
127
|
+
var hasOwn = {}.hasOwnProperty;
|
|
128
|
+
|
|
129
|
+
function classNames() {
|
|
130
|
+
var classes = [];
|
|
131
|
+
|
|
132
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
133
|
+
var arg = arguments[i];
|
|
134
|
+
if (!arg) continue;
|
|
135
|
+
|
|
136
|
+
var argType = typeof arg;
|
|
137
|
+
|
|
138
|
+
if (argType === 'string' || argType === 'number') {
|
|
139
|
+
classes.push(arg);
|
|
140
|
+
} else if (Array.isArray(arg)) {
|
|
141
|
+
if (arg.length) {
|
|
142
|
+
var inner = classNames.apply(null, arg);
|
|
143
|
+
if (inner) {
|
|
144
|
+
classes.push(inner);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
} else if (argType === 'object') {
|
|
148
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
149
|
+
classes.push(arg.toString());
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
for (var key in arg) {
|
|
154
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
155
|
+
classes.push(key);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
return classes.join(' ');
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
if (module.exports) {
|
|
165
|
+
classNames.default = classNames;
|
|
166
|
+
module.exports = classNames;
|
|
167
|
+
} else {
|
|
168
|
+
window.classNames = classNames;
|
|
169
|
+
}
|
|
170
|
+
}());
|
|
171
|
+
} (classnames$1));
|
|
172
|
+
|
|
173
|
+
var classnames = classnames$1.exports;
|
|
174
|
+
|
|
175
|
+
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
176
|
+
|
|
177
|
+
var css$3 = ".neeto-molecules-container{align-items:flex-start;display:flex;flex-direction:column;flex-grow:1;height:100vh;justify-content:flex-start;overflow-y:auto;padding:0 24px}.neeto-molecules-container--header-fixed{padding:0}.neeto-molecules-container--header-fixed>.neeto-molecules-header,.neeto-molecules-container--header-fixed>.neeto-molecules-scrollable,.neeto-molecules-container--header-fixed>.neeto-molecules-subheader{padding-left:24px;padding-right:24px}";
|
|
178
|
+
n(css$3,{});
|
|
179
|
+
|
|
180
|
+
function cov_1wwtrbg59n() {
|
|
181
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Container/index.jsx";
|
|
182
|
+
var hash = "c1b0310c50315373c62b26d910f4b47136a53d3d";
|
|
183
|
+
var global = new Function("return this")();
|
|
184
|
+
var gcv = "__coverage__";
|
|
185
|
+
var coverageData = {
|
|
186
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Container/index.jsx",
|
|
187
|
+
statementMap: {
|
|
188
|
+
"0": {
|
|
189
|
+
start: {
|
|
190
|
+
line: 7,
|
|
191
|
+
column: 18
|
|
192
|
+
},
|
|
193
|
+
end: {
|
|
194
|
+
line: 16,
|
|
195
|
+
column: 2
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"1": {
|
|
199
|
+
start: {
|
|
200
|
+
line: 8,
|
|
201
|
+
column: 2
|
|
202
|
+
},
|
|
203
|
+
end: {
|
|
204
|
+
line: 15,
|
|
205
|
+
column: 8
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"2": {
|
|
209
|
+
start: {
|
|
210
|
+
line: 18,
|
|
211
|
+
column: 0
|
|
212
|
+
},
|
|
213
|
+
end: {
|
|
214
|
+
line: 18,
|
|
215
|
+
column: 36
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
fnMap: {
|
|
220
|
+
"0": {
|
|
221
|
+
name: "(anonymous_0)",
|
|
222
|
+
decl: {
|
|
223
|
+
start: {
|
|
224
|
+
line: 7,
|
|
225
|
+
column: 29
|
|
226
|
+
},
|
|
227
|
+
end: {
|
|
228
|
+
line: 7,
|
|
229
|
+
column: 30
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
loc: {
|
|
233
|
+
start: {
|
|
234
|
+
line: 8,
|
|
235
|
+
column: 2
|
|
236
|
+
},
|
|
237
|
+
end: {
|
|
238
|
+
line: 15,
|
|
239
|
+
column: 8
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
line: 8
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
branchMap: {
|
|
246
|
+
"0": {
|
|
247
|
+
loc: {
|
|
248
|
+
start: {
|
|
249
|
+
line: 7,
|
|
250
|
+
column: 32
|
|
251
|
+
},
|
|
252
|
+
end: {
|
|
253
|
+
line: 7,
|
|
254
|
+
column: 53
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
type: "default-arg",
|
|
258
|
+
locations: [{
|
|
259
|
+
start: {
|
|
260
|
+
line: 7,
|
|
261
|
+
column: 48
|
|
262
|
+
},
|
|
263
|
+
end: {
|
|
264
|
+
line: 7,
|
|
265
|
+
column: 53
|
|
266
|
+
}
|
|
267
|
+
}],
|
|
268
|
+
line: 7
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
s: {
|
|
272
|
+
"0": 0,
|
|
273
|
+
"1": 0,
|
|
274
|
+
"2": 0
|
|
275
|
+
},
|
|
276
|
+
f: {
|
|
277
|
+
"0": 0
|
|
278
|
+
},
|
|
279
|
+
b: {
|
|
280
|
+
"0": [0]
|
|
281
|
+
},
|
|
282
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
283
|
+
hash: "c1b0310c50315373c62b26d910f4b47136a53d3d"
|
|
284
|
+
};
|
|
285
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
286
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
287
|
+
coverage[path] = coverageData;
|
|
288
|
+
}
|
|
289
|
+
var actualCoverage = coverage[path];
|
|
290
|
+
{
|
|
291
|
+
// @ts-ignore
|
|
292
|
+
cov_1wwtrbg59n = function () {
|
|
293
|
+
return actualCoverage;
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
return actualCoverage;
|
|
297
|
+
}
|
|
298
|
+
cov_1wwtrbg59n();
|
|
299
|
+
var Container = (cov_1wwtrbg59n().s[0]++, /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
300
|
+
var _ref$isHeaderFixed = _ref.isHeaderFixed,
|
|
301
|
+
isHeaderFixed = _ref$isHeaderFixed === void 0 ? (cov_1wwtrbg59n().b[0][0]++, false) : _ref$isHeaderFixed,
|
|
302
|
+
children = _ref.children;
|
|
303
|
+
cov_1wwtrbg59n().f[0]++;
|
|
304
|
+
cov_1wwtrbg59n().s[1]++;
|
|
305
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
306
|
+
ref: ref,
|
|
307
|
+
className: classnames("neeto-molecules-container", {
|
|
308
|
+
"neeto-molecules-container--header-fixed": isHeaderFixed
|
|
309
|
+
})
|
|
310
|
+
}, children);
|
|
311
|
+
}));
|
|
312
|
+
cov_1wwtrbg59n().s[2]++;
|
|
313
|
+
Container.displayName = "Container";
|
|
314
|
+
|
|
315
|
+
var css$2 = ".neeto-molecules-header{align-items:center;background:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;min-height:var(--neeto-ui-main-header-height);padding:24px 0;width:100%}.neeto-molecules-header--has-breadcrumbs{min-height:var(--neeto-ui-main-header-with-breadcrumbs-height)}.neeto-molecules-header .neeto-molecules-header__toggle-menubar-btn{margin-right:8px}.neeto-molecules-header .neeto-molecules-header__left{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.neeto-molecules-header .neeto-molecules-header__left-data-wrap{display:flex;flex-wrap:wrap}.neeto-molecules-header .neeto-molecules-header__page-title{display:block;width:100%}.neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{display:flex}.neeto-molecules-header .neeto-molecules-header__breadcrumb{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;line-height:1}.neeto-molecules-header .neeto-molecules-header__breadcrumb a{text-decoration:none;transition:all .3s ease-in-out}.neeto-molecules-header .neeto-molecules-header__breadcrumb-separator{margin:0 4px}.neeto-molecules-header .neeto-molecules-header__right{align-items:center;display:flex;flex-direction:row;justify-content:flex-end}";
|
|
316
|
+
n(css$2,{});
|
|
317
|
+
|
|
318
|
+
function cov_2jdv1wna26() {
|
|
319
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/Breadcrumbs.jsx";
|
|
320
|
+
var hash = "31c5f512542a62a23e3fc8e550878db0e1cd2a44";
|
|
321
|
+
var global = new Function("return this")();
|
|
322
|
+
var gcv = "__coverage__";
|
|
323
|
+
var coverageData = {
|
|
324
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/Breadcrumbs.jsx",
|
|
325
|
+
statementMap: {
|
|
326
|
+
"0": {
|
|
327
|
+
start: {
|
|
328
|
+
line: 9,
|
|
329
|
+
column: 20
|
|
330
|
+
},
|
|
331
|
+
end: {
|
|
332
|
+
line: 32,
|
|
333
|
+
column: 1
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"1": {
|
|
337
|
+
start: {
|
|
338
|
+
line: 10,
|
|
339
|
+
column: 2
|
|
340
|
+
},
|
|
341
|
+
end: {
|
|
342
|
+
line: 31,
|
|
343
|
+
column: 8
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"2": {
|
|
347
|
+
start: {
|
|
348
|
+
line: 12,
|
|
349
|
+
column: 6
|
|
350
|
+
},
|
|
351
|
+
end: {
|
|
352
|
+
line: 29,
|
|
353
|
+
column: 12
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
fnMap: {
|
|
358
|
+
"0": {
|
|
359
|
+
name: "(anonymous_0)",
|
|
360
|
+
decl: {
|
|
361
|
+
start: {
|
|
362
|
+
line: 9,
|
|
363
|
+
column: 20
|
|
364
|
+
},
|
|
365
|
+
end: {
|
|
366
|
+
line: 9,
|
|
367
|
+
column: 21
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
loc: {
|
|
371
|
+
start: {
|
|
372
|
+
line: 10,
|
|
373
|
+
column: 2
|
|
374
|
+
},
|
|
375
|
+
end: {
|
|
376
|
+
line: 31,
|
|
377
|
+
column: 8
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
line: 10
|
|
381
|
+
},
|
|
382
|
+
"1": {
|
|
383
|
+
name: "(anonymous_1)",
|
|
384
|
+
decl: {
|
|
385
|
+
start: {
|
|
386
|
+
line: 11,
|
|
387
|
+
column: 21
|
|
388
|
+
},
|
|
389
|
+
end: {
|
|
390
|
+
line: 11,
|
|
391
|
+
column: 22
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
loc: {
|
|
395
|
+
start: {
|
|
396
|
+
line: 12,
|
|
397
|
+
column: 6
|
|
398
|
+
},
|
|
399
|
+
end: {
|
|
400
|
+
line: 29,
|
|
401
|
+
column: 12
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
line: 12
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
branchMap: {},
|
|
408
|
+
s: {
|
|
409
|
+
"0": 0,
|
|
410
|
+
"1": 0,
|
|
411
|
+
"2": 0
|
|
412
|
+
},
|
|
413
|
+
f: {
|
|
414
|
+
"0": 0,
|
|
415
|
+
"1": 0
|
|
416
|
+
},
|
|
417
|
+
b: {},
|
|
418
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
419
|
+
hash: "31c5f512542a62a23e3fc8e550878db0e1cd2a44"
|
|
420
|
+
};
|
|
421
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
422
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
423
|
+
coverage[path] = coverageData;
|
|
424
|
+
}
|
|
425
|
+
var actualCoverage = coverage[path];
|
|
426
|
+
{
|
|
427
|
+
// @ts-ignore
|
|
428
|
+
cov_2jdv1wna26 = function () {
|
|
429
|
+
return actualCoverage;
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
return actualCoverage;
|
|
433
|
+
}
|
|
434
|
+
cov_2jdv1wna26();
|
|
435
|
+
cov_2jdv1wna26().s[0]++;
|
|
436
|
+
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
437
|
+
var breadcrumbs = _ref.breadcrumbs;
|
|
438
|
+
cov_2jdv1wna26().f[0]++;
|
|
439
|
+
cov_2jdv1wna26().s[1]++;
|
|
440
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
441
|
+
className: "neeto-molecules-header__breadcrumbs-wrap"
|
|
442
|
+
}, breadcrumbs.map(function (_ref2, index) {
|
|
443
|
+
var text = _ref2.text,
|
|
444
|
+
link = _ref2.link;
|
|
445
|
+
cov_2jdv1wna26().f[1]++;
|
|
446
|
+
cov_2jdv1wna26().s[2]++;
|
|
447
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
448
|
+
className: "neeto-molecules-header__breadcrumb",
|
|
449
|
+
key: index
|
|
450
|
+
}, /*#__PURE__*/React__default["default"].createElement(reactRouterDom.Link, {
|
|
451
|
+
to: link
|
|
452
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
453
|
+
className: "neeto-molecules-text-gray-700 hover:neeto-ui-text-gray-800 neeto-molecules-header__breadcrumb-link",
|
|
454
|
+
component: "span",
|
|
455
|
+
"data-cy": text,
|
|
456
|
+
"data-test-id": text,
|
|
457
|
+
style: "body2",
|
|
458
|
+
weight: "normal"
|
|
459
|
+
}, text)), /*#__PURE__*/React__default["default"].createElement(neetoIcons.Right, {
|
|
460
|
+
className: "neeto-molecules-header__breadcrumb-separator neeto-ui-text-gray-400",
|
|
461
|
+
size: 16
|
|
462
|
+
}));
|
|
463
|
+
}));
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
function cov_14lmkczjok() {
|
|
467
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/index.jsx";
|
|
468
|
+
var hash = "5942842597a7b0320330d704f35fd6318ddbbd60";
|
|
469
|
+
var global = new Function("return this")();
|
|
470
|
+
var gcv = "__coverage__";
|
|
471
|
+
var coverageData = {
|
|
472
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/index.jsx",
|
|
473
|
+
statementMap: {
|
|
474
|
+
"0": {
|
|
475
|
+
start: {
|
|
476
|
+
line: 11,
|
|
477
|
+
column: 15
|
|
478
|
+
},
|
|
479
|
+
end: {
|
|
480
|
+
line: 72,
|
|
481
|
+
column: 1
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"1": {
|
|
485
|
+
start: {
|
|
486
|
+
line: 19,
|
|
487
|
+
column: 20
|
|
488
|
+
},
|
|
489
|
+
end: {
|
|
490
|
+
line: 19,
|
|
491
|
+
column: 32
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"2": {
|
|
495
|
+
start: {
|
|
496
|
+
line: 21,
|
|
497
|
+
column: 2
|
|
498
|
+
},
|
|
499
|
+
end: {
|
|
500
|
+
line: 71,
|
|
501
|
+
column: 4
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
},
|
|
505
|
+
fnMap: {
|
|
506
|
+
"0": {
|
|
507
|
+
name: "(anonymous_0)",
|
|
508
|
+
decl: {
|
|
509
|
+
start: {
|
|
510
|
+
line: 11,
|
|
511
|
+
column: 15
|
|
512
|
+
},
|
|
513
|
+
end: {
|
|
514
|
+
line: 11,
|
|
515
|
+
column: 16
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
loc: {
|
|
519
|
+
start: {
|
|
520
|
+
line: 18,
|
|
521
|
+
column: 6
|
|
522
|
+
},
|
|
523
|
+
end: {
|
|
524
|
+
line: 72,
|
|
525
|
+
column: 1
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
line: 18
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
branchMap: {
|
|
532
|
+
"0": {
|
|
533
|
+
loc: {
|
|
534
|
+
start: {
|
|
535
|
+
line: 15,
|
|
536
|
+
column: 2
|
|
537
|
+
},
|
|
538
|
+
end: {
|
|
539
|
+
line: 15,
|
|
540
|
+
column: 16
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
type: "default-arg",
|
|
544
|
+
locations: [{
|
|
545
|
+
start: {
|
|
546
|
+
line: 15,
|
|
547
|
+
column: 14
|
|
548
|
+
},
|
|
549
|
+
end: {
|
|
550
|
+
line: 15,
|
|
551
|
+
column: 16
|
|
552
|
+
}
|
|
553
|
+
}],
|
|
554
|
+
line: 15
|
|
555
|
+
},
|
|
556
|
+
"1": {
|
|
557
|
+
loc: {
|
|
558
|
+
start: {
|
|
559
|
+
line: 17,
|
|
560
|
+
column: 2
|
|
561
|
+
},
|
|
562
|
+
end: {
|
|
563
|
+
line: 17,
|
|
564
|
+
column: 18
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
type: "default-arg",
|
|
568
|
+
locations: [{
|
|
569
|
+
start: {
|
|
570
|
+
line: 17,
|
|
571
|
+
column: 16
|
|
572
|
+
},
|
|
573
|
+
end: {
|
|
574
|
+
line: 17,
|
|
575
|
+
column: 18
|
|
576
|
+
}
|
|
577
|
+
}],
|
|
578
|
+
line: 17
|
|
579
|
+
},
|
|
580
|
+
"2": {
|
|
581
|
+
loc: {
|
|
582
|
+
start: {
|
|
583
|
+
line: 30,
|
|
584
|
+
column: 9
|
|
585
|
+
},
|
|
586
|
+
end: {
|
|
587
|
+
line: 39,
|
|
588
|
+
column: 9
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
type: "binary-expr",
|
|
592
|
+
locations: [{
|
|
593
|
+
start: {
|
|
594
|
+
line: 30,
|
|
595
|
+
column: 9
|
|
596
|
+
},
|
|
597
|
+
end: {
|
|
598
|
+
line: 30,
|
|
599
|
+
column: 22
|
|
600
|
+
}
|
|
601
|
+
}, {
|
|
602
|
+
start: {
|
|
603
|
+
line: 31,
|
|
604
|
+
column: 10
|
|
605
|
+
},
|
|
606
|
+
end: {
|
|
607
|
+
line: 38,
|
|
608
|
+
column: 12
|
|
609
|
+
}
|
|
610
|
+
}],
|
|
611
|
+
line: 30
|
|
612
|
+
},
|
|
613
|
+
"3": {
|
|
614
|
+
loc: {
|
|
615
|
+
start: {
|
|
616
|
+
line: 41,
|
|
617
|
+
column: 11
|
|
618
|
+
},
|
|
619
|
+
end: {
|
|
620
|
+
line: 41,
|
|
621
|
+
column: 67
|
|
622
|
+
}
|
|
623
|
+
},
|
|
624
|
+
type: "binary-expr",
|
|
625
|
+
locations: [{
|
|
626
|
+
start: {
|
|
627
|
+
line: 41,
|
|
628
|
+
column: 11
|
|
629
|
+
},
|
|
630
|
+
end: {
|
|
631
|
+
line: 41,
|
|
632
|
+
column: 22
|
|
633
|
+
}
|
|
634
|
+
}, {
|
|
635
|
+
start: {
|
|
636
|
+
line: 41,
|
|
637
|
+
column: 26
|
|
638
|
+
},
|
|
639
|
+
end: {
|
|
640
|
+
line: 41,
|
|
641
|
+
column: 67
|
|
642
|
+
}
|
|
643
|
+
}],
|
|
644
|
+
line: 41
|
|
645
|
+
},
|
|
646
|
+
"4": {
|
|
647
|
+
loc: {
|
|
648
|
+
start: {
|
|
649
|
+
line: 55,
|
|
650
|
+
column: 9
|
|
651
|
+
},
|
|
652
|
+
end: {
|
|
653
|
+
line: 67,
|
|
654
|
+
column: 9
|
|
655
|
+
}
|
|
656
|
+
},
|
|
657
|
+
type: "binary-expr",
|
|
658
|
+
locations: [{
|
|
659
|
+
start: {
|
|
660
|
+
line: 55,
|
|
661
|
+
column: 9
|
|
662
|
+
},
|
|
663
|
+
end: {
|
|
664
|
+
line: 55,
|
|
665
|
+
column: 20
|
|
666
|
+
}
|
|
667
|
+
}, {
|
|
668
|
+
start: {
|
|
669
|
+
line: 56,
|
|
670
|
+
column: 10
|
|
671
|
+
},
|
|
672
|
+
end: {
|
|
673
|
+
line: 66,
|
|
674
|
+
column: 12
|
|
675
|
+
}
|
|
676
|
+
}],
|
|
677
|
+
line: 55
|
|
678
|
+
}
|
|
679
|
+
},
|
|
680
|
+
s: {
|
|
681
|
+
"0": 0,
|
|
682
|
+
"1": 0,
|
|
683
|
+
"2": 0
|
|
684
|
+
},
|
|
685
|
+
f: {
|
|
686
|
+
"0": 0
|
|
687
|
+
},
|
|
688
|
+
b: {
|
|
689
|
+
"0": [0],
|
|
690
|
+
"1": [0],
|
|
691
|
+
"2": [0, 0],
|
|
692
|
+
"3": [0, 0],
|
|
693
|
+
"4": [0, 0]
|
|
694
|
+
},
|
|
695
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
696
|
+
hash: "5942842597a7b0320330d704f35fd6318ddbbd60"
|
|
697
|
+
};
|
|
698
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
699
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
700
|
+
coverage[path] = coverageData;
|
|
701
|
+
}
|
|
702
|
+
var actualCoverage = coverage[path];
|
|
703
|
+
{
|
|
704
|
+
// @ts-ignore
|
|
705
|
+
cov_14lmkczjok = function () {
|
|
706
|
+
return actualCoverage;
|
|
707
|
+
};
|
|
708
|
+
}
|
|
709
|
+
return actualCoverage;
|
|
710
|
+
}
|
|
711
|
+
cov_14lmkczjok();
|
|
712
|
+
cov_14lmkczjok().s[0]++;
|
|
713
|
+
var Header = function Header(_ref) {
|
|
714
|
+
var title = _ref.title,
|
|
715
|
+
menuBarToggle = _ref.menuBarToggle,
|
|
716
|
+
searchProps = _ref.searchProps,
|
|
717
|
+
_ref$className = _ref.className,
|
|
718
|
+
className = _ref$className === void 0 ? (cov_14lmkczjok().b[0][0]++, "") : _ref$className,
|
|
719
|
+
actionBlock = _ref.actionBlock,
|
|
720
|
+
_ref$breadcrumbs = _ref.breadcrumbs,
|
|
721
|
+
breadcrumbs = _ref$breadcrumbs === void 0 ? (cov_14lmkczjok().b[1][0]++, []) : _ref$breadcrumbs;
|
|
722
|
+
cov_14lmkczjok().f[0]++;
|
|
723
|
+
var searchRef = (cov_14lmkczjok().s[1]++, React.useRef(null));
|
|
724
|
+
cov_14lmkczjok().s[2]++;
|
|
725
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
726
|
+
className: classnames(["neeto-molecules-header", {
|
|
727
|
+
"neeto-molecules-header--has-breadcrumbs": !ramda.isEmpty(breadcrumbs)
|
|
728
|
+
}, className])
|
|
729
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
730
|
+
className: "neeto-molecules-header__left"
|
|
731
|
+
}, (cov_14lmkczjok().b[2][0]++, menuBarToggle) && (cov_14lmkczjok().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
732
|
+
"aria-label": "Toggle Menubar",
|
|
733
|
+
className: "neeto-molecules-header__toggle-menubar-btn",
|
|
734
|
+
"data-cy": "menubar-toggle-button",
|
|
735
|
+
icon: neetoIcons.HamburgerMenu,
|
|
736
|
+
style: "text",
|
|
737
|
+
onClick: menuBarToggle
|
|
738
|
+
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
739
|
+
className: "neeto-molecules-header__left-data-wrap"
|
|
740
|
+
}, (cov_14lmkczjok().b[3][0]++, breadcrumbs) && (cov_14lmkczjok().b[3][1]++, /*#__PURE__*/React__default["default"].createElement(Breadcrumbs, {
|
|
741
|
+
breadcrumbs: breadcrumbs
|
|
742
|
+
})), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
743
|
+
className: "neeto-molecules-header__page-title",
|
|
744
|
+
"data-cy": "main-header",
|
|
745
|
+
"data-test-id": "main-header",
|
|
746
|
+
lineHeight: "tight",
|
|
747
|
+
style: "h2",
|
|
748
|
+
weight: "semibold"
|
|
749
|
+
}, title))), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
750
|
+
className: "neeto-ui-gap-3 neeto-molecules-header__right"
|
|
751
|
+
}, (cov_14lmkczjok().b[4][0]++, searchProps) && (cov_14lmkczjok().b[4][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends({
|
|
752
|
+
placeholder: "Search",
|
|
753
|
+
prefix: /*#__PURE__*/React__default["default"].createElement(neetoIcons.Search, null),
|
|
754
|
+
ref: searchRef,
|
|
755
|
+
type: "search",
|
|
756
|
+
className: classnames(["neeto-molecules-header__search-input", searchProps.className])
|
|
757
|
+
}, searchProps))), actionBlock));
|
|
758
|
+
};
|
|
759
|
+
|
|
760
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
761
|
+
if (source == null) return {};
|
|
762
|
+
var target = {};
|
|
763
|
+
var sourceKeys = Object.keys(source);
|
|
764
|
+
var key, i;
|
|
765
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
766
|
+
key = sourceKeys[i];
|
|
767
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
768
|
+
target[key] = source[key];
|
|
769
|
+
}
|
|
770
|
+
return target;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
function _objectWithoutProperties(source, excluded) {
|
|
774
|
+
if (source == null) return {};
|
|
775
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
776
|
+
var key, i;
|
|
777
|
+
if (Object.getOwnPropertySymbols) {
|
|
778
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
779
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
780
|
+
key = sourceSymbolKeys[i];
|
|
781
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
782
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
783
|
+
target[key] = source[key];
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
return target;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
var css$1 = ".neeto-molecules-pageloader__wrapper{height:100%;position:relative;width:100%}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader{height:100%;left:0;position:absolute;top:0;width:100%}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader__content{height:66px;margin-bottom:16px;overflow:hidden;padding:8px;position:relative;width:66px}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader__text{color:rgb(var(--neeto-ui-gray-800));font-size:1.25rem;line-height:1.75rem;margin-bottom:4rem;text-align:center}.neeto-molecules-pageloader__spinner{display:flex;gap:2px;height:25px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.neeto-molecules-pageloader__spinner>div{animation:neeto-ui-stretch-delay 1.2s ease-in-out infinite;background-color:#fff;border-radius:2px;display:inline-flex;height:100%;width:2px}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect2{animation-delay:-1.1s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect3{animation-delay:-1s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect4{animation-delay:-.9s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect5{animation-delay:-.8s}@keyframes neeto-ui-stretch-delay{0%,40%,to{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}";
|
|
790
|
+
n(css$1,{});
|
|
791
|
+
|
|
792
|
+
var _excluded = ["text"];
|
|
793
|
+
function cov_1rnptrlqih() {
|
|
794
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/PageLoader/index.jsx";
|
|
795
|
+
var hash = "40cda882f932d7a0fcac6bc5ec150d93c0420b62";
|
|
796
|
+
var global = new Function("return this")();
|
|
797
|
+
var gcv = "__coverage__";
|
|
798
|
+
var coverageData = {
|
|
799
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/PageLoader/index.jsx",
|
|
800
|
+
statementMap: {
|
|
801
|
+
"0": {
|
|
802
|
+
start: {
|
|
803
|
+
line: 9,
|
|
804
|
+
column: 19
|
|
805
|
+
},
|
|
806
|
+
end: {
|
|
807
|
+
line: 29,
|
|
808
|
+
column: 1
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
"1": {
|
|
812
|
+
start: {
|
|
813
|
+
line: 10,
|
|
814
|
+
column: 2
|
|
815
|
+
},
|
|
816
|
+
end: {
|
|
817
|
+
line: 28,
|
|
818
|
+
column: 8
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
"2": {
|
|
822
|
+
start: {
|
|
823
|
+
line: 31,
|
|
824
|
+
column: 0
|
|
825
|
+
},
|
|
826
|
+
end: {
|
|
827
|
+
line: 36,
|
|
828
|
+
column: 2
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
fnMap: {
|
|
833
|
+
"0": {
|
|
834
|
+
name: "(anonymous_0)",
|
|
835
|
+
decl: {
|
|
836
|
+
start: {
|
|
837
|
+
line: 9,
|
|
838
|
+
column: 19
|
|
839
|
+
},
|
|
840
|
+
end: {
|
|
841
|
+
line: 9,
|
|
842
|
+
column: 20
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
loc: {
|
|
846
|
+
start: {
|
|
847
|
+
line: 10,
|
|
848
|
+
column: 2
|
|
849
|
+
},
|
|
850
|
+
end: {
|
|
851
|
+
line: 28,
|
|
852
|
+
column: 8
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
line: 10
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
branchMap: {
|
|
859
|
+
"0": {
|
|
860
|
+
loc: {
|
|
861
|
+
start: {
|
|
862
|
+
line: 9,
|
|
863
|
+
column: 22
|
|
864
|
+
},
|
|
865
|
+
end: {
|
|
866
|
+
line: 9,
|
|
867
|
+
column: 31
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
type: "default-arg",
|
|
871
|
+
locations: [{
|
|
872
|
+
start: {
|
|
873
|
+
line: 9,
|
|
874
|
+
column: 29
|
|
875
|
+
},
|
|
876
|
+
end: {
|
|
877
|
+
line: 9,
|
|
878
|
+
column: 31
|
|
879
|
+
}
|
|
880
|
+
}],
|
|
881
|
+
line: 9
|
|
882
|
+
},
|
|
883
|
+
"1": {
|
|
884
|
+
loc: {
|
|
885
|
+
start: {
|
|
886
|
+
line: 22,
|
|
887
|
+
column: 7
|
|
888
|
+
},
|
|
889
|
+
end: {
|
|
890
|
+
line: 26,
|
|
891
|
+
column: 7
|
|
892
|
+
}
|
|
893
|
+
},
|
|
894
|
+
type: "binary-expr",
|
|
895
|
+
locations: [{
|
|
896
|
+
start: {
|
|
897
|
+
line: 22,
|
|
898
|
+
column: 7
|
|
899
|
+
},
|
|
900
|
+
end: {
|
|
901
|
+
line: 22,
|
|
902
|
+
column: 11
|
|
903
|
+
}
|
|
904
|
+
}, {
|
|
905
|
+
start: {
|
|
906
|
+
line: 23,
|
|
907
|
+
column: 8
|
|
908
|
+
},
|
|
909
|
+
end: {
|
|
910
|
+
line: 25,
|
|
911
|
+
column: 21
|
|
912
|
+
}
|
|
913
|
+
}],
|
|
914
|
+
line: 22
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
s: {
|
|
918
|
+
"0": 0,
|
|
919
|
+
"1": 0,
|
|
920
|
+
"2": 0
|
|
921
|
+
},
|
|
922
|
+
f: {
|
|
923
|
+
"0": 0
|
|
924
|
+
},
|
|
925
|
+
b: {
|
|
926
|
+
"0": [0],
|
|
927
|
+
"1": [0, 0]
|
|
928
|
+
},
|
|
929
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
930
|
+
hash: "40cda882f932d7a0fcac6bc5ec150d93c0420b62"
|
|
931
|
+
};
|
|
932
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
933
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
934
|
+
coverage[path] = coverageData;
|
|
935
|
+
}
|
|
936
|
+
var actualCoverage = coverage[path];
|
|
937
|
+
{
|
|
938
|
+
// @ts-ignore
|
|
939
|
+
cov_1rnptrlqih = function () {
|
|
940
|
+
return actualCoverage;
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
return actualCoverage;
|
|
944
|
+
}
|
|
945
|
+
cov_1rnptrlqih();
|
|
946
|
+
cov_1rnptrlqih().s[0]++;
|
|
947
|
+
var PageLoader = function PageLoader(_ref) {
|
|
948
|
+
var _ref$text = _ref.text,
|
|
949
|
+
text = _ref$text === void 0 ? (cov_1rnptrlqih().b[0][0]++, "") : _ref$text,
|
|
950
|
+
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
951
|
+
cov_1rnptrlqih().f[0]++;
|
|
952
|
+
cov_1rnptrlqih().s[1]++;
|
|
953
|
+
return /*#__PURE__*/React__default["default"].createElement("div", _extends({
|
|
954
|
+
className: "neeto-molecules-pageloader__wrapper"
|
|
955
|
+
}, otherProps), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
956
|
+
className: "neeto-molecules-pageloader neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-justify-center"
|
|
957
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
958
|
+
className: "neeto-molecules-pageloader__content neeto-ui-flex neeto-ui-flex-shrink-0 neeto-ui-items-center neeto-ui-justify-center"
|
|
959
|
+
}, /*#__PURE__*/React__default["default"].createElement(logos.Neeto, {
|
|
960
|
+
className: "neeto-molecules-pageloader__logo",
|
|
961
|
+
size: 50
|
|
962
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
963
|
+
className: "neeto-molecules-pageloader__spinner"
|
|
964
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
965
|
+
className: "neeto-molecules-pageloader__rect1"
|
|
966
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
967
|
+
className: "neeto-molecules-pageloader__rect2"
|
|
968
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
969
|
+
className: "neeto-molecules-pageloader__rect3"
|
|
970
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
971
|
+
className: "neeto-molecules-pageloader__rect4"
|
|
972
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
973
|
+
className: "neeto-molecules-pageloader__rect5"
|
|
974
|
+
}))), (cov_1rnptrlqih().b[1][0]++, text) && (cov_1rnptrlqih().b[1][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
975
|
+
style: "h5",
|
|
976
|
+
weight: "semibold"
|
|
977
|
+
}, text))));
|
|
978
|
+
};
|
|
979
|
+
cov_1rnptrlqih().s[2]++;
|
|
980
|
+
|
|
981
|
+
var css = ".neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--neeto-ui-sub-header-bottom-margin);min-height:var(--neeto-ui-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}";
|
|
982
|
+
n(css,{});
|
|
983
|
+
|
|
984
|
+
function cov_mkycqaehe() {
|
|
985
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx";
|
|
986
|
+
var hash = "add11ac729f682ff4016960d57fa604d2fbbbcaa";
|
|
987
|
+
var global = new Function("return this")();
|
|
988
|
+
var gcv = "__coverage__";
|
|
989
|
+
var coverageData = {
|
|
990
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx",
|
|
991
|
+
statementMap: {
|
|
992
|
+
"0": {
|
|
993
|
+
start: {
|
|
994
|
+
line: 7,
|
|
995
|
+
column: 18
|
|
996
|
+
},
|
|
997
|
+
end: {
|
|
998
|
+
line: 21,
|
|
999
|
+
column: 1
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
"1": {
|
|
1003
|
+
start: {
|
|
1004
|
+
line: 8,
|
|
1005
|
+
column: 2
|
|
1006
|
+
},
|
|
1007
|
+
end: {
|
|
1008
|
+
line: 20,
|
|
1009
|
+
column: 8
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
fnMap: {
|
|
1014
|
+
"0": {
|
|
1015
|
+
name: "(anonymous_0)",
|
|
1016
|
+
decl: {
|
|
1017
|
+
start: {
|
|
1018
|
+
line: 7,
|
|
1019
|
+
column: 18
|
|
1020
|
+
},
|
|
1021
|
+
end: {
|
|
1022
|
+
line: 7,
|
|
1023
|
+
column: 19
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
loc: {
|
|
1027
|
+
start: {
|
|
1028
|
+
line: 8,
|
|
1029
|
+
column: 2
|
|
1030
|
+
},
|
|
1031
|
+
end: {
|
|
1032
|
+
line: 20,
|
|
1033
|
+
column: 8
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
line: 8
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
branchMap: {
|
|
1040
|
+
"0": {
|
|
1041
|
+
loc: {
|
|
1042
|
+
start: {
|
|
1043
|
+
line: 7,
|
|
1044
|
+
column: 21
|
|
1045
|
+
},
|
|
1046
|
+
end: {
|
|
1047
|
+
line: 7,
|
|
1048
|
+
column: 35
|
|
1049
|
+
}
|
|
1050
|
+
},
|
|
1051
|
+
type: "default-arg",
|
|
1052
|
+
locations: [{
|
|
1053
|
+
start: {
|
|
1054
|
+
line: 7,
|
|
1055
|
+
column: 33
|
|
1056
|
+
},
|
|
1057
|
+
end: {
|
|
1058
|
+
line: 7,
|
|
1059
|
+
column: 35
|
|
1060
|
+
}
|
|
1061
|
+
}],
|
|
1062
|
+
line: 7
|
|
1063
|
+
},
|
|
1064
|
+
"1": {
|
|
1065
|
+
loc: {
|
|
1066
|
+
start: {
|
|
1067
|
+
line: 13,
|
|
1068
|
+
column: 7
|
|
1069
|
+
},
|
|
1070
|
+
end: {
|
|
1071
|
+
line: 15,
|
|
1072
|
+
column: 7
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
type: "binary-expr",
|
|
1076
|
+
locations: [{
|
|
1077
|
+
start: {
|
|
1078
|
+
line: 13,
|
|
1079
|
+
column: 7
|
|
1080
|
+
},
|
|
1081
|
+
end: {
|
|
1082
|
+
line: 13,
|
|
1083
|
+
column: 22
|
|
1084
|
+
}
|
|
1085
|
+
}, {
|
|
1086
|
+
start: {
|
|
1087
|
+
line: 14,
|
|
1088
|
+
column: 8
|
|
1089
|
+
},
|
|
1090
|
+
end: {
|
|
1091
|
+
line: 14,
|
|
1092
|
+
column: 80
|
|
1093
|
+
}
|
|
1094
|
+
}],
|
|
1095
|
+
line: 13
|
|
1096
|
+
},
|
|
1097
|
+
"2": {
|
|
1098
|
+
loc: {
|
|
1099
|
+
start: {
|
|
1100
|
+
line: 17,
|
|
1101
|
+
column: 5
|
|
1102
|
+
},
|
|
1103
|
+
end: {
|
|
1104
|
+
line: 19,
|
|
1105
|
+
column: 5
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
type: "binary-expr",
|
|
1109
|
+
locations: [{
|
|
1110
|
+
start: {
|
|
1111
|
+
line: 17,
|
|
1112
|
+
column: 5
|
|
1113
|
+
},
|
|
1114
|
+
end: {
|
|
1115
|
+
line: 17,
|
|
1116
|
+
column: 21
|
|
1117
|
+
}
|
|
1118
|
+
}, {
|
|
1119
|
+
start: {
|
|
1120
|
+
line: 18,
|
|
1121
|
+
column: 6
|
|
1122
|
+
},
|
|
1123
|
+
end: {
|
|
1124
|
+
line: 18,
|
|
1125
|
+
column: 80
|
|
1126
|
+
}
|
|
1127
|
+
}],
|
|
1128
|
+
line: 17
|
|
1129
|
+
}
|
|
1130
|
+
},
|
|
1131
|
+
s: {
|
|
1132
|
+
"0": 0,
|
|
1133
|
+
"1": 0
|
|
1134
|
+
},
|
|
1135
|
+
f: {
|
|
1136
|
+
"0": 0
|
|
1137
|
+
},
|
|
1138
|
+
b: {
|
|
1139
|
+
"0": [0],
|
|
1140
|
+
"1": [0, 0],
|
|
1141
|
+
"2": [0, 0]
|
|
1142
|
+
},
|
|
1143
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
1144
|
+
hash: "add11ac729f682ff4016960d57fa604d2fbbbcaa"
|
|
1145
|
+
};
|
|
1146
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
1147
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
1148
|
+
coverage[path] = coverageData;
|
|
1149
|
+
}
|
|
1150
|
+
var actualCoverage = coverage[path];
|
|
1151
|
+
{
|
|
1152
|
+
// @ts-ignore
|
|
1153
|
+
cov_mkycqaehe = function () {
|
|
1154
|
+
return actualCoverage;
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
return actualCoverage;
|
|
1158
|
+
}
|
|
1159
|
+
cov_mkycqaehe();
|
|
1160
|
+
cov_mkycqaehe().s[0]++;
|
|
1161
|
+
var SubHeader = function SubHeader(_ref) {
|
|
1162
|
+
var _ref$className = _ref.className,
|
|
1163
|
+
className = _ref$className === void 0 ? (cov_mkycqaehe().b[0][0]++, "") : _ref$className,
|
|
1164
|
+
leftActionBlock = _ref.leftActionBlock,
|
|
1165
|
+
rightActionBlock = _ref.rightActionBlock;
|
|
1166
|
+
cov_mkycqaehe().f[0]++;
|
|
1167
|
+
cov_mkycqaehe().s[1]++;
|
|
1168
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1169
|
+
className: classnames(["neeto-molecules-subheader", className]),
|
|
1170
|
+
"data-testid": "subheader"
|
|
1171
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1172
|
+
className: "neeto-molecules-subheader__left-wrapper"
|
|
1173
|
+
}, (cov_mkycqaehe().b[1][0]++, leftActionBlock) && (cov_mkycqaehe().b[1][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1174
|
+
className: "neeto-molecules-subheader__left"
|
|
1175
|
+
}, leftActionBlock))), (cov_mkycqaehe().b[2][0]++, rightActionBlock) && (cov_mkycqaehe().b[2][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1176
|
+
className: "neeto-molecules-subheader__right"
|
|
1177
|
+
}, rightActionBlock)));
|
|
1178
|
+
};
|
|
111
1179
|
|
|
112
1180
|
function cov_222iv29ng9() {
|
|
113
1181
|
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/constants.js";
|
|
@@ -249,67 +1317,6 @@ var INITIAL_VALUES = (cov_1uqwnv9h7p().s[1]++, {
|
|
|
249
1317
|
hostname: ""
|
|
250
1318
|
});
|
|
251
1319
|
|
|
252
|
-
var classnames$1 = {exports: {}};
|
|
253
|
-
|
|
254
|
-
/*!
|
|
255
|
-
Copyright (c) 2018 Jed Watson.
|
|
256
|
-
Licensed under the MIT License (MIT), see
|
|
257
|
-
http://jedwatson.github.io/classnames
|
|
258
|
-
*/
|
|
259
|
-
|
|
260
|
-
(function (module) {
|
|
261
|
-
/* global define */
|
|
262
|
-
|
|
263
|
-
(function () {
|
|
264
|
-
|
|
265
|
-
var hasOwn = {}.hasOwnProperty;
|
|
266
|
-
|
|
267
|
-
function classNames() {
|
|
268
|
-
var classes = [];
|
|
269
|
-
|
|
270
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
271
|
-
var arg = arguments[i];
|
|
272
|
-
if (!arg) continue;
|
|
273
|
-
|
|
274
|
-
var argType = typeof arg;
|
|
275
|
-
|
|
276
|
-
if (argType === 'string' || argType === 'number') {
|
|
277
|
-
classes.push(arg);
|
|
278
|
-
} else if (Array.isArray(arg)) {
|
|
279
|
-
if (arg.length) {
|
|
280
|
-
var inner = classNames.apply(null, arg);
|
|
281
|
-
if (inner) {
|
|
282
|
-
classes.push(inner);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
} else if (argType === 'object') {
|
|
286
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
287
|
-
classes.push(arg.toString());
|
|
288
|
-
continue;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
for (var key in arg) {
|
|
292
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
293
|
-
classes.push(key);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
return classes.join(' ');
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
if (module.exports) {
|
|
303
|
-
classNames.default = classNames;
|
|
304
|
-
module.exports = classNames;
|
|
305
|
-
} else {
|
|
306
|
-
window.classNames = classNames;
|
|
307
|
-
}
|
|
308
|
-
}());
|
|
309
|
-
} (classnames$1));
|
|
310
|
-
|
|
311
|
-
var classnames = classnames$1.exports;
|
|
312
|
-
|
|
313
1320
|
function cov_17zuzxiyk0() {
|
|
314
1321
|
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/Manage/TagBlock.jsx";
|
|
315
1322
|
var hash = "914115c544ec8eaca6932fcb4bfc26ee13200ce8";
|
|
@@ -4307,7 +5314,7 @@ var Manage = function Manage(_ref) {
|
|
|
4307
5314
|
|
|
4308
5315
|
function cov_24yn1i4hss() {
|
|
4309
5316
|
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/index.jsx";
|
|
4310
|
-
var hash = "
|
|
5317
|
+
var hash = "5caef41e1d8996e19c7466d523b463232b464d80";
|
|
4311
5318
|
var global = new Function("return this")();
|
|
4312
5319
|
var gcv = "__coverage__";
|
|
4313
5320
|
var coverageData = {
|
|
@@ -4315,231 +5322,231 @@ function cov_24yn1i4hss() {
|
|
|
4315
5322
|
statementMap: {
|
|
4316
5323
|
"0": {
|
|
4317
5324
|
start: {
|
|
4318
|
-
line:
|
|
5325
|
+
line: 21,
|
|
4319
5326
|
column: 21
|
|
4320
5327
|
},
|
|
4321
5328
|
end: {
|
|
4322
|
-
line:
|
|
5329
|
+
line: 137,
|
|
4323
5330
|
column: 1
|
|
4324
5331
|
}
|
|
4325
5332
|
},
|
|
4326
5333
|
"1": {
|
|
4327
5334
|
start: {
|
|
4328
|
-
line:
|
|
5335
|
+
line: 22,
|
|
4329
5336
|
column: 38
|
|
4330
5337
|
},
|
|
4331
5338
|
end: {
|
|
4332
|
-
line:
|
|
5339
|
+
line: 22,
|
|
4333
5340
|
column: 50
|
|
4334
5341
|
}
|
|
4335
5342
|
},
|
|
4336
5343
|
"2": {
|
|
4337
5344
|
start: {
|
|
4338
|
-
line:
|
|
5345
|
+
line: 23,
|
|
4339
5346
|
column: 38
|
|
4340
5347
|
},
|
|
4341
5348
|
end: {
|
|
4342
|
-
line:
|
|
5349
|
+
line: 23,
|
|
4343
5350
|
column: 53
|
|
4344
5351
|
}
|
|
4345
5352
|
},
|
|
4346
5353
|
"3": {
|
|
4347
5354
|
start: {
|
|
4348
|
-
line:
|
|
5355
|
+
line: 24,
|
|
4349
5356
|
column: 42
|
|
4350
5357
|
},
|
|
4351
5358
|
end: {
|
|
4352
|
-
line:
|
|
5359
|
+
line: 24,
|
|
4353
5360
|
column: 56
|
|
4354
5361
|
}
|
|
4355
5362
|
},
|
|
4356
5363
|
"4": {
|
|
4357
5364
|
start: {
|
|
4358
|
-
line:
|
|
5365
|
+
line: 25,
|
|
4359
5366
|
column: 40
|
|
4360
5367
|
},
|
|
4361
5368
|
end: {
|
|
4362
|
-
line:
|
|
5369
|
+
line: 25,
|
|
4363
5370
|
column: 55
|
|
4364
5371
|
}
|
|
4365
5372
|
},
|
|
4366
5373
|
"5": {
|
|
4367
5374
|
start: {
|
|
4368
|
-
line:
|
|
5375
|
+
line: 26,
|
|
4369
5376
|
column: 16
|
|
4370
5377
|
},
|
|
4371
5378
|
end: {
|
|
4372
|
-
line:
|
|
5379
|
+
line: 26,
|
|
4373
5380
|
column: 32
|
|
4374
5381
|
}
|
|
4375
5382
|
},
|
|
4376
5383
|
"6": {
|
|
4377
5384
|
start: {
|
|
4378
|
-
line:
|
|
5385
|
+
line: 27,
|
|
4379
5386
|
column: 30
|
|
4380
5387
|
},
|
|
4381
5388
|
end: {
|
|
4382
|
-
line:
|
|
5389
|
+
line: 27,
|
|
4383
5390
|
column: 58
|
|
4384
5391
|
}
|
|
4385
5392
|
},
|
|
4386
5393
|
"7": {
|
|
4387
5394
|
start: {
|
|
4388
|
-
line:
|
|
5395
|
+
line: 29,
|
|
4389
5396
|
column: 36
|
|
4390
5397
|
},
|
|
4391
5398
|
end: {
|
|
4392
|
-
line:
|
|
5399
|
+
line: 31,
|
|
4393
5400
|
column: 4
|
|
4394
5401
|
}
|
|
4395
5402
|
},
|
|
4396
5403
|
"8": {
|
|
4397
5404
|
start: {
|
|
4398
|
-
line:
|
|
5405
|
+
line: 34,
|
|
4399
5406
|
column: 4
|
|
4400
5407
|
},
|
|
4401
5408
|
end: {
|
|
4402
|
-
line:
|
|
5409
|
+
line: 36,
|
|
4403
5410
|
column: 6
|
|
4404
5411
|
}
|
|
4405
5412
|
},
|
|
4406
5413
|
"9": {
|
|
4407
5414
|
start: {
|
|
4408
|
-
line:
|
|
5415
|
+
line: 35,
|
|
4409
5416
|
column: 23
|
|
4410
5417
|
},
|
|
4411
5418
|
end: {
|
|
4412
|
-
line:
|
|
5419
|
+
line: 35,
|
|
4413
5420
|
column: 44
|
|
4414
5421
|
}
|
|
4415
5422
|
},
|
|
4416
5423
|
"10": {
|
|
4417
5424
|
start: {
|
|
4418
|
-
line:
|
|
5425
|
+
line: 38,
|
|
4419
5426
|
column: 27
|
|
4420
5427
|
},
|
|
4421
5428
|
end: {
|
|
4422
|
-
line:
|
|
5429
|
+
line: 41,
|
|
4423
5430
|
column: 3
|
|
4424
5431
|
}
|
|
4425
5432
|
},
|
|
4426
5433
|
"11": {
|
|
4427
5434
|
start: {
|
|
4428
|
-
line:
|
|
5435
|
+
line: 39,
|
|
4429
5436
|
column: 4
|
|
4430
5437
|
},
|
|
4431
5438
|
end: {
|
|
4432
|
-
line:
|
|
5439
|
+
line: 39,
|
|
4433
5440
|
column: 34
|
|
4434
5441
|
}
|
|
4435
5442
|
},
|
|
4436
5443
|
"12": {
|
|
4437
5444
|
start: {
|
|
4438
|
-
line:
|
|
5445
|
+
line: 40,
|
|
4439
5446
|
column: 4
|
|
4440
5447
|
},
|
|
4441
5448
|
end: {
|
|
4442
|
-
line:
|
|
5449
|
+
line: 40,
|
|
4443
5450
|
column: 24
|
|
4444
5451
|
}
|
|
4445
5452
|
},
|
|
4446
5453
|
"13": {
|
|
4447
5454
|
start: {
|
|
4448
|
-
line:
|
|
5455
|
+
line: 43,
|
|
4449
5456
|
column: 28
|
|
4450
5457
|
},
|
|
4451
5458
|
end: {
|
|
4452
|
-
line:
|
|
5459
|
+
line: 46,
|
|
4453
5460
|
column: 3
|
|
4454
5461
|
}
|
|
4455
5462
|
},
|
|
4456
5463
|
"14": {
|
|
4457
5464
|
start: {
|
|
4458
|
-
line:
|
|
5465
|
+
line: 44,
|
|
4459
5466
|
column: 4
|
|
4460
5467
|
},
|
|
4461
5468
|
end: {
|
|
4462
|
-
line:
|
|
5469
|
+
line: 44,
|
|
4463
5470
|
column: 34
|
|
4464
5471
|
}
|
|
4465
5472
|
},
|
|
4466
5473
|
"15": {
|
|
4467
5474
|
start: {
|
|
4468
|
-
line:
|
|
5475
|
+
line: 45,
|
|
4469
5476
|
column: 4
|
|
4470
5477
|
},
|
|
4471
5478
|
end: {
|
|
4472
|
-
line:
|
|
5479
|
+
line: 45,
|
|
4473
5480
|
column: 25
|
|
4474
5481
|
}
|
|
4475
5482
|
},
|
|
4476
5483
|
"16": {
|
|
4477
5484
|
start: {
|
|
4478
|
-
line:
|
|
5485
|
+
line: 48,
|
|
4479
5486
|
column: 2
|
|
4480
5487
|
},
|
|
4481
5488
|
end: {
|
|
4482
|
-
line:
|
|
5489
|
+
line: 136,
|
|
4483
5490
|
column: 4
|
|
4484
5491
|
}
|
|
4485
5492
|
},
|
|
4486
5493
|
"17": {
|
|
4487
5494
|
start: {
|
|
4488
|
-
line:
|
|
5495
|
+
line: 56,
|
|
4489
5496
|
column: 29
|
|
4490
5497
|
},
|
|
4491
5498
|
end: {
|
|
4492
|
-
line:
|
|
5499
|
+
line: 56,
|
|
4493
5500
|
column: 51
|
|
4494
5501
|
}
|
|
4495
5502
|
},
|
|
4496
5503
|
"18": {
|
|
4497
5504
|
start: {
|
|
4498
|
-
line:
|
|
5505
|
+
line: 61,
|
|
4499
5506
|
column: 27
|
|
4500
5507
|
},
|
|
4501
5508
|
end: {
|
|
4502
|
-
line:
|
|
5509
|
+
line: 61,
|
|
4503
5510
|
column: 56
|
|
4504
5511
|
}
|
|
4505
5512
|
},
|
|
4506
5513
|
"19": {
|
|
4507
5514
|
start: {
|
|
4508
|
-
line:
|
|
5515
|
+
line: 108,
|
|
4509
5516
|
column: 33
|
|
4510
5517
|
},
|
|
4511
5518
|
end: {
|
|
4512
|
-
line:
|
|
5519
|
+
line: 108,
|
|
4513
5520
|
column: 55
|
|
4514
5521
|
}
|
|
4515
5522
|
},
|
|
4516
5523
|
"20": {
|
|
4517
5524
|
start: {
|
|
4518
|
-
line:
|
|
5525
|
+
line: 118,
|
|
4519
5526
|
column: 23
|
|
4520
5527
|
},
|
|
4521
5528
|
end: {
|
|
4522
|
-
line:
|
|
5529
|
+
line: 118,
|
|
4523
5530
|
column: 43
|
|
4524
5531
|
}
|
|
4525
5532
|
},
|
|
4526
5533
|
"21": {
|
|
4527
5534
|
start: {
|
|
4528
|
-
line:
|
|
5535
|
+
line: 132,
|
|
4529
5536
|
column: 23
|
|
4530
5537
|
},
|
|
4531
5538
|
end: {
|
|
4532
|
-
line:
|
|
5539
|
+
line: 132,
|
|
4533
5540
|
column: 44
|
|
4534
5541
|
}
|
|
4535
5542
|
},
|
|
4536
5543
|
"22": {
|
|
4537
5544
|
start: {
|
|
4538
|
-
line:
|
|
5545
|
+
line: 133,
|
|
4539
5546
|
column: 24
|
|
4540
5547
|
},
|
|
4541
5548
|
end: {
|
|
4542
|
-
line:
|
|
5549
|
+
line: 133,
|
|
4543
5550
|
column: 60
|
|
4544
5551
|
}
|
|
4545
5552
|
}
|
|
@@ -4549,342 +5556,342 @@ function cov_24yn1i4hss() {
|
|
|
4549
5556
|
name: "(anonymous_0)",
|
|
4550
5557
|
decl: {
|
|
4551
5558
|
start: {
|
|
4552
|
-
line:
|
|
5559
|
+
line: 21,
|
|
4553
5560
|
column: 21
|
|
4554
5561
|
},
|
|
4555
5562
|
end: {
|
|
4556
|
-
line:
|
|
5563
|
+
line: 21,
|
|
4557
5564
|
column: 22
|
|
4558
5565
|
}
|
|
4559
5566
|
},
|
|
4560
5567
|
loc: {
|
|
4561
5568
|
start: {
|
|
4562
|
-
line:
|
|
5569
|
+
line: 21,
|
|
4563
5570
|
column: 42
|
|
4564
5571
|
},
|
|
4565
5572
|
end: {
|
|
4566
|
-
line:
|
|
5573
|
+
line: 137,
|
|
4567
5574
|
column: 1
|
|
4568
5575
|
}
|
|
4569
5576
|
},
|
|
4570
|
-
line:
|
|
5577
|
+
line: 21
|
|
4571
5578
|
},
|
|
4572
5579
|
"1": {
|
|
4573
5580
|
name: "(anonymous_1)",
|
|
4574
5581
|
decl: {
|
|
4575
5582
|
start: {
|
|
4576
|
-
line:
|
|
5583
|
+
line: 35,
|
|
4577
5584
|
column: 17
|
|
4578
5585
|
},
|
|
4579
5586
|
end: {
|
|
4580
|
-
line:
|
|
5587
|
+
line: 35,
|
|
4581
5588
|
column: 18
|
|
4582
5589
|
}
|
|
4583
5590
|
},
|
|
4584
5591
|
loc: {
|
|
4585
5592
|
start: {
|
|
4586
|
-
line:
|
|
5593
|
+
line: 35,
|
|
4587
5594
|
column: 23
|
|
4588
5595
|
},
|
|
4589
5596
|
end: {
|
|
4590
|
-
line:
|
|
5597
|
+
line: 35,
|
|
4591
5598
|
column: 44
|
|
4592
5599
|
}
|
|
4593
5600
|
},
|
|
4594
|
-
line:
|
|
5601
|
+
line: 35
|
|
4595
5602
|
},
|
|
4596
5603
|
"2": {
|
|
4597
5604
|
name: "(anonymous_2)",
|
|
4598
5605
|
decl: {
|
|
4599
5606
|
start: {
|
|
4600
|
-
line:
|
|
5607
|
+
line: 38,
|
|
4601
5608
|
column: 27
|
|
4602
5609
|
},
|
|
4603
5610
|
end: {
|
|
4604
|
-
line:
|
|
5611
|
+
line: 38,
|
|
4605
5612
|
column: 28
|
|
4606
5613
|
}
|
|
4607
5614
|
},
|
|
4608
5615
|
loc: {
|
|
4609
5616
|
start: {
|
|
4610
|
-
line:
|
|
5617
|
+
line: 38,
|
|
4611
5618
|
column: 43
|
|
4612
5619
|
},
|
|
4613
5620
|
end: {
|
|
4614
|
-
line:
|
|
5621
|
+
line: 41,
|
|
4615
5622
|
column: 3
|
|
4616
5623
|
}
|
|
4617
5624
|
},
|
|
4618
|
-
line:
|
|
5625
|
+
line: 38
|
|
4619
5626
|
},
|
|
4620
5627
|
"3": {
|
|
4621
5628
|
name: "(anonymous_3)",
|
|
4622
5629
|
decl: {
|
|
4623
5630
|
start: {
|
|
4624
|
-
line:
|
|
5631
|
+
line: 43,
|
|
4625
5632
|
column: 28
|
|
4626
5633
|
},
|
|
4627
5634
|
end: {
|
|
4628
|
-
line:
|
|
5635
|
+
line: 43,
|
|
4629
5636
|
column: 29
|
|
4630
5637
|
}
|
|
4631
5638
|
},
|
|
4632
5639
|
loc: {
|
|
4633
5640
|
start: {
|
|
4634
|
-
line:
|
|
5641
|
+
line: 43,
|
|
4635
5642
|
column: 44
|
|
4636
5643
|
},
|
|
4637
5644
|
end: {
|
|
4638
|
-
line:
|
|
5645
|
+
line: 46,
|
|
4639
5646
|
column: 3
|
|
4640
5647
|
}
|
|
4641
5648
|
},
|
|
4642
|
-
line:
|
|
5649
|
+
line: 43
|
|
4643
5650
|
},
|
|
4644
5651
|
"4": {
|
|
4645
5652
|
name: "(anonymous_4)",
|
|
4646
5653
|
decl: {
|
|
4647
5654
|
start: {
|
|
4648
|
-
line:
|
|
5655
|
+
line: 56,
|
|
4649
5656
|
column: 23
|
|
4650
5657
|
},
|
|
4651
5658
|
end: {
|
|
4652
|
-
line:
|
|
5659
|
+
line: 56,
|
|
4653
5660
|
column: 24
|
|
4654
5661
|
}
|
|
4655
5662
|
},
|
|
4656
5663
|
loc: {
|
|
4657
5664
|
start: {
|
|
4658
|
-
line:
|
|
5665
|
+
line: 56,
|
|
4659
5666
|
column: 29
|
|
4660
5667
|
},
|
|
4661
5668
|
end: {
|
|
4662
|
-
line:
|
|
5669
|
+
line: 56,
|
|
4663
5670
|
column: 51
|
|
4664
5671
|
}
|
|
4665
5672
|
},
|
|
4666
|
-
line:
|
|
5673
|
+
line: 56
|
|
4667
5674
|
},
|
|
4668
5675
|
"5": {
|
|
4669
5676
|
name: "(anonymous_5)",
|
|
4670
5677
|
decl: {
|
|
4671
5678
|
start: {
|
|
4672
|
-
line:
|
|
5679
|
+
line: 61,
|
|
4673
5680
|
column: 22
|
|
4674
5681
|
},
|
|
4675
5682
|
end: {
|
|
4676
|
-
line:
|
|
5683
|
+
line: 61,
|
|
4677
5684
|
column: 23
|
|
4678
5685
|
}
|
|
4679
5686
|
},
|
|
4680
5687
|
loc: {
|
|
4681
5688
|
start: {
|
|
4682
|
-
line:
|
|
5689
|
+
line: 61,
|
|
4683
5690
|
column: 27
|
|
4684
5691
|
},
|
|
4685
5692
|
end: {
|
|
4686
|
-
line:
|
|
5693
|
+
line: 61,
|
|
4687
5694
|
column: 56
|
|
4688
5695
|
}
|
|
4689
5696
|
},
|
|
4690
|
-
line:
|
|
5697
|
+
line: 61
|
|
4691
5698
|
},
|
|
4692
5699
|
"6": {
|
|
4693
5700
|
name: "(anonymous_6)",
|
|
4694
5701
|
decl: {
|
|
4695
5702
|
start: {
|
|
4696
|
-
line:
|
|
5703
|
+
line: 108,
|
|
4697
5704
|
column: 27
|
|
4698
5705
|
},
|
|
4699
5706
|
end: {
|
|
4700
|
-
line:
|
|
5707
|
+
line: 108,
|
|
4701
5708
|
column: 28
|
|
4702
5709
|
}
|
|
4703
5710
|
},
|
|
4704
5711
|
loc: {
|
|
4705
5712
|
start: {
|
|
4706
|
-
line:
|
|
5713
|
+
line: 108,
|
|
4707
5714
|
column: 33
|
|
4708
5715
|
},
|
|
4709
5716
|
end: {
|
|
4710
|
-
line:
|
|
5717
|
+
line: 108,
|
|
4711
5718
|
column: 55
|
|
4712
5719
|
}
|
|
4713
5720
|
},
|
|
4714
|
-
line:
|
|
5721
|
+
line: 108
|
|
4715
5722
|
},
|
|
4716
5723
|
"7": {
|
|
4717
5724
|
name: "(anonymous_7)",
|
|
4718
5725
|
decl: {
|
|
4719
5726
|
start: {
|
|
4720
|
-
line:
|
|
5727
|
+
line: 118,
|
|
4721
5728
|
column: 17
|
|
4722
5729
|
},
|
|
4723
5730
|
end: {
|
|
4724
|
-
line:
|
|
5731
|
+
line: 118,
|
|
4725
5732
|
column: 18
|
|
4726
5733
|
}
|
|
4727
5734
|
},
|
|
4728
5735
|
loc: {
|
|
4729
5736
|
start: {
|
|
4730
|
-
line:
|
|
5737
|
+
line: 118,
|
|
4731
5738
|
column: 23
|
|
4732
5739
|
},
|
|
4733
5740
|
end: {
|
|
4734
|
-
line:
|
|
5741
|
+
line: 118,
|
|
4735
5742
|
column: 43
|
|
4736
5743
|
}
|
|
4737
5744
|
},
|
|
4738
|
-
line:
|
|
5745
|
+
line: 118
|
|
4739
5746
|
},
|
|
4740
5747
|
"8": {
|
|
4741
5748
|
name: "(anonymous_8)",
|
|
4742
5749
|
decl: {
|
|
4743
5750
|
start: {
|
|
4744
|
-
line:
|
|
5751
|
+
line: 132,
|
|
4745
5752
|
column: 17
|
|
4746
5753
|
},
|
|
4747
5754
|
end: {
|
|
4748
|
-
line:
|
|
5755
|
+
line: 132,
|
|
4749
5756
|
column: 18
|
|
4750
5757
|
}
|
|
4751
5758
|
},
|
|
4752
5759
|
loc: {
|
|
4753
5760
|
start: {
|
|
4754
|
-
line:
|
|
5761
|
+
line: 132,
|
|
4755
5762
|
column: 23
|
|
4756
5763
|
},
|
|
4757
5764
|
end: {
|
|
4758
|
-
line:
|
|
5765
|
+
line: 132,
|
|
4759
5766
|
column: 44
|
|
4760
5767
|
}
|
|
4761
5768
|
},
|
|
4762
|
-
line:
|
|
5769
|
+
line: 132
|
|
4763
5770
|
},
|
|
4764
5771
|
"9": {
|
|
4765
5772
|
name: "(anonymous_9)",
|
|
4766
5773
|
decl: {
|
|
4767
5774
|
start: {
|
|
4768
|
-
line:
|
|
5775
|
+
line: 133,
|
|
4769
5776
|
column: 18
|
|
4770
5777
|
},
|
|
4771
5778
|
end: {
|
|
4772
|
-
line:
|
|
5779
|
+
line: 133,
|
|
4773
5780
|
column: 19
|
|
4774
5781
|
}
|
|
4775
5782
|
},
|
|
4776
5783
|
loc: {
|
|
4777
5784
|
start: {
|
|
4778
|
-
line:
|
|
5785
|
+
line: 133,
|
|
4779
5786
|
column: 24
|
|
4780
5787
|
},
|
|
4781
5788
|
end: {
|
|
4782
|
-
line:
|
|
5789
|
+
line: 133,
|
|
4783
5790
|
column: 60
|
|
4784
5791
|
}
|
|
4785
5792
|
},
|
|
4786
|
-
line:
|
|
5793
|
+
line: 133
|
|
4787
5794
|
}
|
|
4788
5795
|
},
|
|
4789
5796
|
branchMap: {
|
|
4790
5797
|
"0": {
|
|
4791
5798
|
loc: {
|
|
4792
5799
|
start: {
|
|
4793
|
-
line:
|
|
5800
|
+
line: 70,
|
|
4794
5801
|
column: 9
|
|
4795
5802
|
},
|
|
4796
5803
|
end: {
|
|
4797
|
-
line:
|
|
5804
|
+
line: 74,
|
|
4798
5805
|
column: 9
|
|
4799
5806
|
}
|
|
4800
5807
|
},
|
|
4801
5808
|
type: "binary-expr",
|
|
4802
5809
|
locations: [{
|
|
4803
5810
|
start: {
|
|
4804
|
-
line:
|
|
5811
|
+
line: 70,
|
|
4805
5812
|
column: 9
|
|
4806
5813
|
},
|
|
4807
5814
|
end: {
|
|
4808
|
-
line:
|
|
5815
|
+
line: 70,
|
|
4809
5816
|
column: 18
|
|
4810
5817
|
}
|
|
4811
5818
|
}, {
|
|
4812
5819
|
start: {
|
|
4813
|
-
line:
|
|
5820
|
+
line: 71,
|
|
4814
5821
|
column: 10
|
|
4815
5822
|
},
|
|
4816
5823
|
end: {
|
|
4817
|
-
line:
|
|
5824
|
+
line: 73,
|
|
4818
5825
|
column: 16
|
|
4819
5826
|
}
|
|
4820
5827
|
}],
|
|
4821
|
-
line:
|
|
5828
|
+
line: 70
|
|
4822
5829
|
},
|
|
4823
5830
|
"1": {
|
|
4824
5831
|
loc: {
|
|
4825
5832
|
start: {
|
|
4826
|
-
line:
|
|
5833
|
+
line: 75,
|
|
4827
5834
|
column: 9
|
|
4828
5835
|
},
|
|
4829
5836
|
end: {
|
|
4830
|
-
line:
|
|
5837
|
+
line: 112,
|
|
4831
5838
|
column: 12
|
|
4832
5839
|
}
|
|
4833
5840
|
},
|
|
4834
5841
|
type: "binary-expr",
|
|
4835
5842
|
locations: [{
|
|
4836
5843
|
start: {
|
|
4837
|
-
line:
|
|
5844
|
+
line: 75,
|
|
4838
5845
|
column: 9
|
|
4839
5846
|
},
|
|
4840
5847
|
end: {
|
|
4841
|
-
line:
|
|
5848
|
+
line: 75,
|
|
4842
5849
|
column: 19
|
|
4843
5850
|
}
|
|
4844
5851
|
}, {
|
|
4845
5852
|
start: {
|
|
4846
|
-
line:
|
|
5853
|
+
line: 76,
|
|
4847
5854
|
column: 11
|
|
4848
5855
|
},
|
|
4849
5856
|
end: {
|
|
4850
|
-
line:
|
|
5857
|
+
line: 112,
|
|
4851
5858
|
column: 11
|
|
4852
5859
|
}
|
|
4853
5860
|
}],
|
|
4854
|
-
line:
|
|
5861
|
+
line: 75
|
|
4855
5862
|
},
|
|
4856
5863
|
"2": {
|
|
4857
5864
|
loc: {
|
|
4858
5865
|
start: {
|
|
4859
|
-
line:
|
|
5866
|
+
line: 76,
|
|
4860
5867
|
column: 11
|
|
4861
5868
|
},
|
|
4862
5869
|
end: {
|
|
4863
|
-
line:
|
|
5870
|
+
line: 112,
|
|
4864
5871
|
column: 11
|
|
4865
5872
|
}
|
|
4866
5873
|
},
|
|
4867
5874
|
type: "cond-expr",
|
|
4868
5875
|
locations: [{
|
|
4869
5876
|
start: {
|
|
4870
|
-
line:
|
|
5877
|
+
line: 77,
|
|
4871
5878
|
column: 12
|
|
4872
5879
|
},
|
|
4873
5880
|
end: {
|
|
4874
|
-
line:
|
|
5881
|
+
line: 101,
|
|
4875
5882
|
column: 18
|
|
4876
5883
|
}
|
|
4877
5884
|
}, {
|
|
4878
5885
|
start: {
|
|
4879
|
-
line:
|
|
5886
|
+
line: 103,
|
|
4880
5887
|
column: 12
|
|
4881
5888
|
},
|
|
4882
5889
|
end: {
|
|
4883
|
-
line:
|
|
5890
|
+
line: 111,
|
|
4884
5891
|
column: 18
|
|
4885
5892
|
}
|
|
4886
5893
|
}],
|
|
4887
|
-
line:
|
|
5894
|
+
line: 76
|
|
4888
5895
|
}
|
|
4889
5896
|
},
|
|
4890
5897
|
s: {
|
|
@@ -4930,7 +5937,7 @@ function cov_24yn1i4hss() {
|
|
|
4930
5937
|
"2": [0, 0]
|
|
4931
5938
|
},
|
|
4932
5939
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
4933
|
-
hash: "
|
|
5940
|
+
hash: "5caef41e1d8996e19c7466d523b463232b464d80"
|
|
4934
5941
|
};
|
|
4935
5942
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
4936
5943
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -5001,7 +6008,7 @@ var CustomDomain = function CustomDomain(_ref) {
|
|
|
5001
6008
|
setIsAlertOpen(true);
|
|
5002
6009
|
};
|
|
5003
6010
|
cov_24yn1i4hss().s[16]++;
|
|
5004
|
-
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(
|
|
6011
|
+
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Container, null, /*#__PURE__*/React__default["default"].createElement(Header, _extends({
|
|
5005
6012
|
actionBlock: /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
5006
6013
|
"data-cy": "add-new-custom-domain-button",
|
|
5007
6014
|
label: t("neetoMolecules.customDomain.addNew"),
|
|
@@ -5026,9 +6033,9 @@ var CustomDomain = function CustomDomain(_ref) {
|
|
|
5026
6033
|
})
|
|
5027
6034
|
}, headerProps)), (cov_24yn1i4hss().b[0][0]++, isLoading) && (cov_24yn1i4hss().b[0][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5028
6035
|
className: "h-screen w-full"
|
|
5029
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
6036
|
+
}, /*#__PURE__*/React__default["default"].createElement(PageLoader, null))), (cov_24yn1i4hss().b[1][0]++, !isLoading) && (cov_24yn1i4hss().b[1][1]++, pure.isNotEmpty(data === null || data === void 0 ? void 0 : data.customDomains) ? (cov_24yn1i4hss().b[2][0]++, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5030
6037
|
className: "w-full flex-grow"
|
|
5031
|
-
}, /*#__PURE__*/React__default["default"].createElement(
|
|
6038
|
+
}, /*#__PURE__*/React__default["default"].createElement(SubHeader, {
|
|
5032
6039
|
leftActionBlock: /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
5033
6040
|
className: "neeto-ui-gray-800 font-semibold",
|
|
5034
6041
|
component: "h4"
|