@c15t/dev-tools 0.0.1-rc.8 → 0.0.1-rc.9
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/components/error-state.cjs +116 -87
- package/dist/components/error-state.css +28 -25
- package/dist/components/error-state.d.ts +6 -4
- package/dist/components/error-state.js +108 -61
- package/dist/components/header.cjs +73 -54
- package/dist/components/header.css +17 -18
- package/dist/components/header.d.ts +5 -3
- package/dist/components/header.js +45 -28
- package/dist/components/ui/accordion.cjs +100 -64
- package/dist/components/ui/accordion.css +39 -39
- package/dist/components/ui/accordion.d.ts +32 -5
- package/dist/components/ui/accordion.js +70 -36
- package/dist/components/ui/alert.cjs +79 -61
- package/dist/components/ui/alert.css +30 -27
- package/dist/components/ui/alert.d.ts +22 -6
- package/dist/components/ui/alert.js +54 -34
- package/dist/components/ui/badge.cjs +61 -49
- package/dist/components/ui/badge.css +39 -27
- package/dist/components/ui/badge.d.ts +22 -7
- package/dist/components/ui/badge.js +31 -23
- package/dist/components/ui/button.cjs +75 -64
- package/dist/components/ui/button.css +43 -40
- package/dist/components/ui/button.d.ts +24 -8
- package/dist/components/ui/button.js +47 -38
- package/dist/components/ui/card.cjs +91 -65
- package/dist/components/ui/card.css +20 -21
- package/dist/components/ui/card.d.ts +29 -8
- package/dist/components/ui/card.js +76 -35
- package/dist/components/ui/error-state.css +19 -20
- package/dist/components/ui/expandable-tabs.cjs +157 -117
- package/dist/components/ui/expandable-tabs.css +33 -34
- package/dist/components/ui/expandable-tabs.d.ts +20 -13
- package/dist/components/ui/expandable-tabs.js +131 -91
- package/dist/components/ui/logo.cjs +105 -92
- package/dist/components/ui/logo.d.ts +10 -4
- package/dist/components/ui/logo.js +81 -66
- package/dist/components/ui/scroll-area.cjs +84 -54
- package/dist/components/ui/scroll-area.css +24 -25
- package/dist/components/ui/scroll-area.d.ts +17 -3
- package/dist/components/ui/scroll-area.js +62 -28
- package/dist/components/ui/switch.cjs +55 -38
- package/dist/components/ui/switch.css +25 -26
- package/dist/components/ui/switch.d.ts +9 -2
- package/dist/components/ui/switch.js +25 -13
- package/dist/components/ui/tooltip.cjs +59 -41
- package/dist/components/ui/tooltip.css +63 -64
- package/dist/components/ui/tooltip.d.ts +17 -5
- package/dist/components/ui/tooltip.js +32 -16
- package/dist/components/wrapper.cjs +203 -144
- package/dist/components/wrapper.css +48 -49
- package/dist/components/wrapper.d.ts +12 -7
- package/dist/components/wrapper.js +184 -117
- package/dist/dev-tool.cjs +151 -110
- package/dist/dev-tool.d.ts +5 -5
- package/dist/dev-tool.js +106 -69
- package/dist/index.cjs +35 -27
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/libs/utils.cjs +57 -42
- package/dist/libs/utils.d.ts +1 -1
- package/dist/libs/utils.js +5 -3
- package/dist/router/router.cjs +192 -144
- package/dist/router/router.d.ts +5 -3
- package/dist/router/router.js +174 -118
- package/dist/styles/theme.css +36 -37
- package/package.json +3 -2
|
@@ -1,98 +1,127 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
(() => {
|
|
4
|
+
__webpack_require__.d = function (exports1, definition) {
|
|
5
|
+
for (var key in definition)
|
|
6
|
+
if (
|
|
7
|
+
__webpack_require__.o(definition, key) &&
|
|
8
|
+
!__webpack_require__.o(exports1, key)
|
|
9
|
+
)
|
|
10
|
+
Object.defineProperty(exports1, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: definition[key],
|
|
13
|
+
});
|
|
14
|
+
};
|
|
10
15
|
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
(() => {
|
|
17
|
+
__webpack_require__.o = function (obj, prop) {
|
|
18
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
19
|
+
};
|
|
15
20
|
})();
|
|
16
|
-
(()=>{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
(() => {
|
|
22
|
+
__webpack_require__.r = function (exports1) {
|
|
23
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag)
|
|
24
|
+
Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
25
|
+
value: 'Module',
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
28
|
+
value: true,
|
|
29
|
+
});
|
|
30
|
+
};
|
|
25
31
|
})();
|
|
26
32
|
var __webpack_exports__ = {};
|
|
27
33
|
__webpack_require__.r(__webpack_exports__);
|
|
28
34
|
__webpack_require__.d(__webpack_exports__, {
|
|
29
|
-
|
|
35
|
+
ErrorState: () => ErrorState,
|
|
30
36
|
});
|
|
31
|
-
const jsx_runtime_namespaceObject = require(
|
|
32
|
-
const external_lucide_react_namespaceObject = require(
|
|
33
|
-
const react_namespaceObject = require(
|
|
34
|
-
const alert_cjs_namespaceObject = require(
|
|
35
|
-
require(
|
|
37
|
+
const jsx_runtime_namespaceObject = require('react/jsx-runtime');
|
|
38
|
+
const external_lucide_react_namespaceObject = require('lucide-react');
|
|
39
|
+
const react_namespaceObject = require('motion/react');
|
|
40
|
+
const alert_cjs_namespaceObject = require('./ui/alert.cjs');
|
|
41
|
+
require('./error-state.css');
|
|
36
42
|
function ErrorState({ namespace }) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
43
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
44
|
+
react_namespaceObject.motion.div,
|
|
45
|
+
{
|
|
46
|
+
className: 'c15t-devtool-error-container',
|
|
47
|
+
initial: {
|
|
48
|
+
opacity: 0,
|
|
49
|
+
},
|
|
50
|
+
animate: {
|
|
51
|
+
opacity: 1,
|
|
52
|
+
},
|
|
53
|
+
exit: {
|
|
54
|
+
opacity: 0,
|
|
55
|
+
},
|
|
56
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
57
|
+
alert_cjs_namespaceObject.Alert,
|
|
58
|
+
{
|
|
59
|
+
variant: 'destructive',
|
|
60
|
+
className: 'c15t-devtool-error-alert',
|
|
61
|
+
children: [
|
|
62
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
63
|
+
external_lucide_react_namespaceObject.AlertCircle,
|
|
64
|
+
{
|
|
65
|
+
className: 'c15t-devtool-error-icon',
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
69
|
+
alert_cjs_namespaceObject.AlertTitle,
|
|
70
|
+
{
|
|
71
|
+
className: 'c15t-devtool-error-title',
|
|
72
|
+
children: 'SDK Initialization Failed',
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
76
|
+
alert_cjs_namespaceObject.AlertDescription,
|
|
77
|
+
{
|
|
78
|
+
className: 'c15t-devtool-error-description',
|
|
79
|
+
children: [
|
|
80
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)('p', {
|
|
81
|
+
className: 'c15t-devtool-error-message',
|
|
82
|
+
children:
|
|
83
|
+
'The c15t SDK could not be found in the global scope. This usually means either:',
|
|
84
|
+
}),
|
|
85
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)('ul', {
|
|
86
|
+
className: 'c15t-devtool-error-list',
|
|
87
|
+
children: [
|
|
88
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)('li', {
|
|
89
|
+
children:
|
|
90
|
+
'The namespace has been changed from its default value',
|
|
91
|
+
}),
|
|
92
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)('li', {
|
|
93
|
+
children: 'The SDK initialization failed',
|
|
94
|
+
}),
|
|
95
|
+
],
|
|
96
|
+
}),
|
|
97
|
+
namespace &&
|
|
98
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)('p', {
|
|
99
|
+
className: 'c15t-devtool-error-namespace',
|
|
100
|
+
children: [
|
|
101
|
+
'Current namespace:',
|
|
102
|
+
' ',
|
|
103
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
104
|
+
'code',
|
|
105
|
+
{
|
|
106
|
+
className: 'c15t-devtool-error-code',
|
|
107
|
+
children: namespace,
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
],
|
|
111
|
+
}),
|
|
112
|
+
],
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
],
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
}
|
|
119
|
+
);
|
|
93
120
|
}
|
|
94
121
|
var __webpack_export_target__ = exports;
|
|
95
|
-
for(var __webpack_i__ in __webpack_exports__)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
122
|
+
for (var __webpack_i__ in __webpack_exports__)
|
|
123
|
+
__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
124
|
+
if (__webpack_exports__.__esModule)
|
|
125
|
+
Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
126
|
+
value: true,
|
|
127
|
+
});
|
|
@@ -1,51 +1,54 @@
|
|
|
1
1
|
.c15t-devtool-error-container {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
text-align: center;
|
|
3
|
+
border-radius: .5rem;
|
|
4
|
+
margin-top: 1rem;
|
|
5
|
+
margin-bottom: 1rem;
|
|
6
|
+
font-size: 1rem;
|
|
7
|
+
box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.c15t-devtool-error-alert {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
border-top-left-radius: 0;
|
|
12
|
+
border-top-right-radius: 0;
|
|
13
|
+
max-width: 42rem;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.c15t-devtool-error-icon {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
width: 1rem;
|
|
18
|
+
height: 1rem;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.c15t-devtool-error-title {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
font-size: 1.125rem;
|
|
23
|
+
font-weight: 600;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.c15t-devtool-error-description {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
margin-top: .5rem;
|
|
28
|
+
margin-left: -1.75rem;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.c15t-devtool-error-message {
|
|
32
|
-
|
|
32
|
+
margin-bottom: .5rem;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.c15t-devtool-error-list {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
margin-top: .25rem;
|
|
37
|
+
padding-left: 1.5rem;
|
|
38
|
+
list-style-type: disc;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.c15t-devtool-error-namespace {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
margin-top: .75rem;
|
|
43
|
+
font-size: .875rem;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.c15t-devtool-error-code {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
background-color: color-mix(
|
|
48
|
+
in srgb,
|
|
49
|
+
var(--c15t-dev-tools-destructive) 10%,
|
|
50
|
+
transparent
|
|
51
|
+
);
|
|
52
|
+
border-radius: .25rem;
|
|
53
|
+
padding: .125rem .25rem;
|
|
50
54
|
}
|
|
51
|
-
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import './error-state.css';
|
|
2
|
-
export declare function ErrorState({
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
2
|
+
export declare function ErrorState({
|
|
3
|
+
namespace,
|
|
4
|
+
}: {
|
|
5
|
+
namespace: string;
|
|
6
|
+
}): import('react/jsx-runtime').JSX.Element;
|
|
7
|
+
//# sourceMappingURL=error-state.d.ts.map
|
|
@@ -1,64 +1,111 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_motion_react_9decfa63__ from
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__ui_alert_js_c1b3026e__ from
|
|
5
|
-
import
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from 'react/jsx-runtime';
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__ from 'lucide-react';
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_motion_react_9decfa63__ from 'motion/react';
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__ui_alert_js_c1b3026e__ from './ui/alert.js';
|
|
5
|
+
import './error-state.css';
|
|
6
6
|
function ErrorState({ namespace }) {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
7
|
+
return /*#__PURE__*/ (0,
|
|
8
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
9
|
+
__WEBPACK_EXTERNAL_MODULE_motion_react_9decfa63__.motion.div,
|
|
10
|
+
{
|
|
11
|
+
className: 'c15t-devtool-error-container',
|
|
12
|
+
initial: {
|
|
13
|
+
opacity: 0,
|
|
14
|
+
},
|
|
15
|
+
animate: {
|
|
16
|
+
opacity: 1,
|
|
17
|
+
},
|
|
18
|
+
exit: {
|
|
19
|
+
opacity: 0,
|
|
20
|
+
},
|
|
21
|
+
children: /*#__PURE__*/ (0,
|
|
22
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
23
|
+
__WEBPACK_EXTERNAL_MODULE__ui_alert_js_c1b3026e__.Alert,
|
|
24
|
+
{
|
|
25
|
+
variant: 'destructive',
|
|
26
|
+
className: 'c15t-devtool-error-alert',
|
|
27
|
+
children: [
|
|
28
|
+
/*#__PURE__*/ (0,
|
|
29
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
30
|
+
__WEBPACK_EXTERNAL_MODULE_lucide_react_f128bbbb__.AlertCircle,
|
|
31
|
+
{
|
|
32
|
+
className: 'c15t-devtool-error-icon',
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/*#__PURE__*/ (0,
|
|
36
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
37
|
+
__WEBPACK_EXTERNAL_MODULE__ui_alert_js_c1b3026e__.AlertTitle,
|
|
38
|
+
{
|
|
39
|
+
className: 'c15t-devtool-error-title',
|
|
40
|
+
children: 'SDK Initialization Failed',
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/*#__PURE__*/ (0,
|
|
44
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
45
|
+
__WEBPACK_EXTERNAL_MODULE__ui_alert_js_c1b3026e__.AlertDescription,
|
|
46
|
+
{
|
|
47
|
+
className: 'c15t-devtool-error-description',
|
|
48
|
+
children: [
|
|
49
|
+
/*#__PURE__*/ (0,
|
|
50
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
51
|
+
'p',
|
|
52
|
+
{
|
|
53
|
+
className: 'c15t-devtool-error-message',
|
|
54
|
+
children:
|
|
55
|
+
'The c15t SDK could not be found in the global scope. This usually means either:',
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/*#__PURE__*/ (0,
|
|
59
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
60
|
+
'ul',
|
|
61
|
+
{
|
|
62
|
+
className: 'c15t-devtool-error-list',
|
|
63
|
+
children: [
|
|
64
|
+
/*#__PURE__*/ (0,
|
|
65
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
66
|
+
'li',
|
|
67
|
+
{
|
|
68
|
+
children:
|
|
69
|
+
'The namespace has been changed from its default value',
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
/*#__PURE__*/ (0,
|
|
73
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
74
|
+
'li',
|
|
75
|
+
{
|
|
76
|
+
children: 'The SDK initialization failed',
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
],
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
namespace &&
|
|
83
|
+
/*#__PURE__*/ (0,
|
|
84
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(
|
|
85
|
+
'p',
|
|
86
|
+
{
|
|
87
|
+
className: 'c15t-devtool-error-namespace',
|
|
88
|
+
children: [
|
|
89
|
+
'Current namespace:',
|
|
90
|
+
' ',
|
|
91
|
+
/*#__PURE__*/ (0,
|
|
92
|
+
__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(
|
|
93
|
+
'code',
|
|
94
|
+
{
|
|
95
|
+
className: 'c15t-devtool-error-code',
|
|
96
|
+
children: namespace,
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
],
|
|
100
|
+
}
|
|
101
|
+
),
|
|
102
|
+
],
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
],
|
|
106
|
+
}
|
|
107
|
+
),
|
|
108
|
+
}
|
|
109
|
+
);
|
|
63
110
|
}
|
|
64
111
|
export { ErrorState };
|
|
@@ -1,65 +1,84 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
|
-
(()=>{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
(() => {
|
|
4
|
+
__webpack_require__.d = function (exports1, definition) {
|
|
5
|
+
for (var key in definition)
|
|
6
|
+
if (
|
|
7
|
+
__webpack_require__.o(definition, key) &&
|
|
8
|
+
!__webpack_require__.o(exports1, key)
|
|
9
|
+
)
|
|
10
|
+
Object.defineProperty(exports1, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: definition[key],
|
|
13
|
+
});
|
|
14
|
+
};
|
|
10
15
|
})();
|
|
11
|
-
(()=>{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
(() => {
|
|
17
|
+
__webpack_require__.o = function (obj, prop) {
|
|
18
|
+
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
19
|
+
};
|
|
15
20
|
})();
|
|
16
|
-
(()=>{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
(() => {
|
|
22
|
+
__webpack_require__.r = function (exports1) {
|
|
23
|
+
if ('undefined' != typeof Symbol && Symbol.toStringTag)
|
|
24
|
+
Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
25
|
+
value: 'Module',
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
28
|
+
value: true,
|
|
29
|
+
});
|
|
30
|
+
};
|
|
25
31
|
})();
|
|
26
32
|
var __webpack_exports__ = {};
|
|
27
33
|
__webpack_require__.r(__webpack_exports__);
|
|
28
34
|
__webpack_require__.d(__webpack_exports__, {
|
|
29
|
-
|
|
35
|
+
Header: () => Header,
|
|
30
36
|
});
|
|
31
|
-
const jsx_runtime_namespaceObject = require(
|
|
32
|
-
const external_lucide_react_namespaceObject = require(
|
|
33
|
-
const button_cjs_namespaceObject = require(
|
|
34
|
-
require(
|
|
35
|
-
const logo_cjs_namespaceObject = require(
|
|
37
|
+
const jsx_runtime_namespaceObject = require('react/jsx-runtime');
|
|
38
|
+
const external_lucide_react_namespaceObject = require('lucide-react');
|
|
39
|
+
const button_cjs_namespaceObject = require('./ui/button.cjs');
|
|
40
|
+
require('./header.css');
|
|
41
|
+
const logo_cjs_namespaceObject = require('./ui/logo.cjs');
|
|
36
42
|
function Header({ onClose }) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
43
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)('div', {
|
|
44
|
+
className: 'c15t-devtool-header',
|
|
45
|
+
children: [
|
|
46
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)('div', {
|
|
47
|
+
className: 'c15t-devtool-header-title',
|
|
48
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
49
|
+
logo_cjs_namespaceObject.ConsentManagementIcon,
|
|
50
|
+
{
|
|
51
|
+
className: 'c15t-devtool-header-logo',
|
|
52
|
+
}
|
|
53
|
+
),
|
|
54
|
+
}),
|
|
55
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)('div', {
|
|
56
|
+
className: 'c15t-devtool-header-actions',
|
|
57
|
+
children:
|
|
58
|
+
onClose &&
|
|
59
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
60
|
+
button_cjs_namespaceObject.Button,
|
|
61
|
+
{
|
|
62
|
+
variant: 'ghost',
|
|
63
|
+
size: 'icon',
|
|
64
|
+
onClick: onClose,
|
|
65
|
+
'aria-label': 'Close',
|
|
66
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
67
|
+
external_lucide_react_namespaceObject.X,
|
|
68
|
+
{
|
|
69
|
+
className: 'h-4 w-4',
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
}
|
|
73
|
+
),
|
|
74
|
+
}),
|
|
75
|
+
],
|
|
76
|
+
});
|
|
60
77
|
}
|
|
61
78
|
var __webpack_export_target__ = exports;
|
|
62
|
-
for(var __webpack_i__ in __webpack_exports__)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
79
|
+
for (var __webpack_i__ in __webpack_exports__)
|
|
80
|
+
__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
|
|
81
|
+
if (__webpack_exports__.__esModule)
|
|
82
|
+
Object.defineProperty(__webpack_export_target__, '__esModule', {
|
|
83
|
+
value: true,
|
|
84
|
+
});
|