@licklist/design 0.78.9 → 0.78.10
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/CustomAlertTypes/AlertBox.d.ts +22 -0
- package/dist/CustomAlertTypes/AlertBox.d.ts.map +1 -0
- package/dist/CustomAlertTypes/AlertRender.d.ts +21 -0
- package/dist/CustomAlertTypes/AlertRender.d.ts.map +1 -0
- package/dist/CustomAlertTypes/alertThemes.d.ts +41 -0
- package/dist/CustomAlertTypes/alertThemes.d.ts.map +1 -0
- package/dist/CustomAlertTypes/utils/textWrapperUtils.d.ts +8 -0
- package/dist/CustomAlertTypes/utils/textWrapperUtils.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/CustomAlertTypes/AlertBox.tsx +87 -0
- package/src/CustomAlertTypes/AlertRender.ts +283 -0
- package/src/CustomAlertTypes/alertThemes.ts +72 -0
- package/src/CustomAlertTypes/utils/textWrapperUtils.ts +26 -0
- package/yarn.lock +129 -119
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { alertThemes } from "./alertThemes";
|
|
2
|
+
export interface AlertConfig {
|
|
3
|
+
type: keyof typeof alertThemes;
|
|
4
|
+
title?: string;
|
|
5
|
+
subTitle?: string;
|
|
6
|
+
message?: string | string[];
|
|
7
|
+
description?: string;
|
|
8
|
+
actionText?: string;
|
|
9
|
+
secondaryActionText?: string;
|
|
10
|
+
onAction?: (() => void) | null;
|
|
11
|
+
onSecondaryAction?: (() => void) | null;
|
|
12
|
+
timeout?: number;
|
|
13
|
+
closable?: boolean;
|
|
14
|
+
titleColor?: string;
|
|
15
|
+
subTitleColor?: string;
|
|
16
|
+
showArrow?: boolean;
|
|
17
|
+
showSecondaryArrow?: boolean;
|
|
18
|
+
alignActionsRight?: boolean;
|
|
19
|
+
mount?: "container" | "global";
|
|
20
|
+
}
|
|
21
|
+
export declare function showAlert(config: AlertConfig): void;
|
|
22
|
+
//# sourceMappingURL=AlertBox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertBox.d.ts","sourceRoot":"","sources":["../../src/CustomAlertTypes/AlertBox.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,OAAO,WAAW,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IAC/B,iBAAiB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CAAC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;CAChC;AAqDD,wBAAgB,SAAS,CAAC,MAAM,EAAE,WAAW,QAW5C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AlertConfig } from './AlertBox';
|
|
3
|
+
export declare class AlertRenderer {
|
|
4
|
+
static createAlert(config: AlertConfig, onClose: () => void): React.DetailedReactHTMLElement<{
|
|
5
|
+
style: {
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
border: string;
|
|
8
|
+
borderRadius: string;
|
|
9
|
+
padding: string;
|
|
10
|
+
width: string;
|
|
11
|
+
maxWidth: string;
|
|
12
|
+
margin: string;
|
|
13
|
+
pointerEvents: "auto";
|
|
14
|
+
fontFamily: string;
|
|
15
|
+
position: "relative";
|
|
16
|
+
overflow: "hidden";
|
|
17
|
+
boxSizing: "border-box";
|
|
18
|
+
};
|
|
19
|
+
}, HTMLElement>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=AlertRender.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertRender.d.ts","sourceRoot":"","sources":["../../src/CustomAlertTypes/AlertRender.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AACxC,qBAAa,aAAa;IACxB,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,IAAI;;;;;;;;;;;;;;;;CAoR5D"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const ErrorIcon: () => React.ReactSVGElement;
|
|
3
|
+
export declare const SuccessIcon: () => React.ReactSVGElement;
|
|
4
|
+
export declare const InfoIcon: () => React.ReactSVGElement;
|
|
5
|
+
export declare const WarningIcon: () => React.ReactSVGElement;
|
|
6
|
+
export declare const commonStyle: {
|
|
7
|
+
fontFamily: string;
|
|
8
|
+
color: string;
|
|
9
|
+
borderRad: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const alertThemes: {
|
|
12
|
+
error: {
|
|
13
|
+
bg: string;
|
|
14
|
+
border: string;
|
|
15
|
+
icon: string;
|
|
16
|
+
IconComponent: () => React.ReactSVGElement;
|
|
17
|
+
defaultTitle: string;
|
|
18
|
+
};
|
|
19
|
+
success: {
|
|
20
|
+
bg: string;
|
|
21
|
+
border: string;
|
|
22
|
+
icon: string;
|
|
23
|
+
IconComponent: () => React.ReactSVGElement;
|
|
24
|
+
defaultTitle: string;
|
|
25
|
+
};
|
|
26
|
+
warning: {
|
|
27
|
+
bg: string;
|
|
28
|
+
border: string;
|
|
29
|
+
icon: string;
|
|
30
|
+
IconComponent: () => React.ReactSVGElement;
|
|
31
|
+
defaultTitle: string;
|
|
32
|
+
};
|
|
33
|
+
info: {
|
|
34
|
+
bg: string;
|
|
35
|
+
border: string;
|
|
36
|
+
icon: string;
|
|
37
|
+
IconComponent: () => React.ReactSVGElement;
|
|
38
|
+
defaultTitle: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=alertThemes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alertThemes.d.ts","sourceRoot":"","sources":["../../src/CustomAlertTypes/alertThemes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA8B1B,eAAO,MAAM,SAAS,6BAA0C,CAAC;AACjE,eAAO,MAAM,WAAW,6BAA4C,CAAC;AACrE,eAAO,MAAM,QAAQ,6BAAyC,CAAC;AAC/D,eAAO,MAAM,WAAW,6BAA4C,CAAC;AAErE,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAGD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BvB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wraps text into multiple lines by word count limit.
|
|
3
|
+
* @param text - The input string
|
|
4
|
+
* @param limit - Max characters per line
|
|
5
|
+
* @returns Wrapped text as a single string with newlines
|
|
6
|
+
*/
|
|
7
|
+
export declare function wrapText(text: string, limit: number): string;
|
|
8
|
+
//# sourceMappingURL=textWrapperUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textWrapperUtils.d.ts","sourceRoot":"","sources":["../../../src/CustomAlertTypes/utils/textWrapperUtils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAmB5D"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { createRoot } from "react-dom/client";
|
|
2
|
+
import { AlertRenderer } from './AlertRender';
|
|
3
|
+
import { alertThemes } from "./alertThemes";
|
|
4
|
+
|
|
5
|
+
export interface AlertConfig {
|
|
6
|
+
type: keyof typeof alertThemes;
|
|
7
|
+
title?: string;
|
|
8
|
+
subTitle?: string;
|
|
9
|
+
message?: string | string[];
|
|
10
|
+
description?: string;
|
|
11
|
+
actionText?: string;
|
|
12
|
+
secondaryActionText?: string;
|
|
13
|
+
onAction?: (() => void) | null;
|
|
14
|
+
onSecondaryAction?: (() => void) | null;
|
|
15
|
+
timeout?: number;
|
|
16
|
+
closable?: boolean;
|
|
17
|
+
titleColor?: string;
|
|
18
|
+
subTitleColor?: string;
|
|
19
|
+
showArrow?: boolean;
|
|
20
|
+
showSecondaryArrow?: boolean;
|
|
21
|
+
alignActionsRight?: boolean;
|
|
22
|
+
mount?: "container" | "global";
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
let container: HTMLDivElement | null = null;
|
|
26
|
+
let root: any = null;
|
|
27
|
+
|
|
28
|
+
function createContainer(mount: "container" | "global" = "global") {
|
|
29
|
+
if (container) return container;
|
|
30
|
+
container = document.createElement("div");
|
|
31
|
+
root = createRoot(container);
|
|
32
|
+
|
|
33
|
+
if (mount === "container") {
|
|
34
|
+
const containerFluid = document.querySelector(
|
|
35
|
+
".container-fluid"
|
|
36
|
+
) as HTMLDivElement | null;
|
|
37
|
+
|
|
38
|
+
if (containerFluid) {
|
|
39
|
+
container.style.cssText = `
|
|
40
|
+
width: 100%;
|
|
41
|
+
margin-bottom: 1rem;
|
|
42
|
+
pointer-events: auto;
|
|
43
|
+
`;
|
|
44
|
+
containerFluid.insertBefore(container, containerFluid.firstChild);
|
|
45
|
+
} else {
|
|
46
|
+
document.body.appendChild(container);
|
|
47
|
+
}
|
|
48
|
+
} else {
|
|
49
|
+
container.style.cssText = `
|
|
50
|
+
position: fixed;
|
|
51
|
+
top: 0;
|
|
52
|
+
left: 0;
|
|
53
|
+
right: 0;
|
|
54
|
+
z-index: 9999;
|
|
55
|
+
pointer-events: none;
|
|
56
|
+
`;
|
|
57
|
+
document.body.appendChild(container);
|
|
58
|
+
}
|
|
59
|
+
injectShrinkBarAnimation();
|
|
60
|
+
return container;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function injectShrinkBarAnimation() {
|
|
64
|
+
if (document.getElementById('shrinkBar-style')) return;
|
|
65
|
+
const style = document.createElement('style');
|
|
66
|
+
style.id = 'shrinkBar-style';
|
|
67
|
+
style.textContent = `
|
|
68
|
+
@keyframes shrinkBar {
|
|
69
|
+
from { width: 100%; }
|
|
70
|
+
to { width: 0%; }
|
|
71
|
+
}
|
|
72
|
+
`;
|
|
73
|
+
document.head.appendChild(style);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function showAlert(config: AlertConfig) {
|
|
77
|
+
createContainer(config.mount || "global");
|
|
78
|
+
const removeAlert = () => {
|
|
79
|
+
if (root) root.render(null);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
if (config.timeout && config.timeout > 0) {
|
|
83
|
+
setTimeout(removeAlert, config.timeout);
|
|
84
|
+
}
|
|
85
|
+
const alertBox = AlertRenderer.createAlert(config, removeAlert);
|
|
86
|
+
root.render(alertBox);
|
|
87
|
+
}
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { MdClose, MdArrowForward } from "react-icons/md";
|
|
3
|
+
import { alertThemes, commonStyle } from "./alertThemes";
|
|
4
|
+
import { wrapText } from "./utils/textWrapperUtils";
|
|
5
|
+
import { AlertConfig } from './AlertBox'
|
|
6
|
+
export class AlertRenderer {
|
|
7
|
+
static createAlert(config: AlertConfig, onClose: () => void) {
|
|
8
|
+
const theme = alertThemes[config.type];
|
|
9
|
+
|
|
10
|
+
return React.createElement(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
style: {
|
|
14
|
+
backgroundColor: theme.bg,
|
|
15
|
+
border: theme.border,
|
|
16
|
+
borderRadius: commonStyle.borderRad,
|
|
17
|
+
padding: "16px 20px 0",
|
|
18
|
+
width: "100%",
|
|
19
|
+
maxWidth: "100%",
|
|
20
|
+
margin: "0 auto",
|
|
21
|
+
pointerEvents: "auto",
|
|
22
|
+
fontFamily: commonStyle.fontFamily,
|
|
23
|
+
position: "relative",
|
|
24
|
+
overflow: "hidden",
|
|
25
|
+
boxSizing: "border-box",
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
// HEADER ROW (icon + title + close button)
|
|
30
|
+
React.createElement(
|
|
31
|
+
"div",
|
|
32
|
+
{
|
|
33
|
+
style: {
|
|
34
|
+
display: "grid",
|
|
35
|
+
gridTemplateColumns: "20px 1fr auto", // icon | title | X
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
columnGap: "12px",
|
|
38
|
+
marginBottom: "4px",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
// Icon
|
|
43
|
+
React.createElement(theme.IconComponent, {
|
|
44
|
+
size: 20,
|
|
45
|
+
style: {
|
|
46
|
+
color: theme.icon,
|
|
47
|
+
gridColumn: "1 / 2",
|
|
48
|
+
gridRow: "1 / 2",
|
|
49
|
+
},
|
|
50
|
+
}),
|
|
51
|
+
|
|
52
|
+
// Title
|
|
53
|
+
React.createElement(
|
|
54
|
+
"h4",
|
|
55
|
+
{
|
|
56
|
+
style: {
|
|
57
|
+
gridColumn: "2 / 3",
|
|
58
|
+
gridRow: "1 / 2",
|
|
59
|
+
alignSelf: "center",
|
|
60
|
+
fontFamily: commonStyle.fontFamily,
|
|
61
|
+
fontSize: "16px",
|
|
62
|
+
fontWeight: 600,
|
|
63
|
+
lineHeight: "18px",
|
|
64
|
+
color: config.titleColor || commonStyle.fontFamily,
|
|
65
|
+
margin: 0,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
config.title || theme.defaultTitle
|
|
69
|
+
),
|
|
70
|
+
|
|
71
|
+
// Close Button
|
|
72
|
+
config.closable !== true &&
|
|
73
|
+
React.createElement(
|
|
74
|
+
"button",
|
|
75
|
+
{
|
|
76
|
+
style: {
|
|
77
|
+
gridColumn: "3 / 4",
|
|
78
|
+
gridRow: "1 / 2",
|
|
79
|
+
background: "none",
|
|
80
|
+
border: "none",
|
|
81
|
+
color: config.type === "info" ? "#1E3A8A" : theme.icon,
|
|
82
|
+
cursor: "pointer",
|
|
83
|
+
padding: 0,
|
|
84
|
+
lineHeight: 1,
|
|
85
|
+
display: "flex",
|
|
86
|
+
alignItems: "center",
|
|
87
|
+
},
|
|
88
|
+
onClick: onClose,
|
|
89
|
+
},
|
|
90
|
+
React.createElement(MdClose, { size: 20 })
|
|
91
|
+
)
|
|
92
|
+
),
|
|
93
|
+
|
|
94
|
+
// BODY (Subtitle, Message, Description, Actions)
|
|
95
|
+
React.createElement(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
style: {
|
|
99
|
+
marginLeft: "32px", // aligns with title, not icon
|
|
100
|
+
marginBottom:
|
|
101
|
+
!config.message && !config.description && !config.actionText
|
|
102
|
+
? "12px"
|
|
103
|
+
: "0",
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
// Subtitle
|
|
108
|
+
config.subTitle &&
|
|
109
|
+
React.createElement(
|
|
110
|
+
"span",
|
|
111
|
+
{
|
|
112
|
+
style: {
|
|
113
|
+
fontFamily: "Geist, system-ui, sans-serif",
|
|
114
|
+
fontSize: "16px",
|
|
115
|
+
fontWeight: 600,
|
|
116
|
+
lineHeight: "18px",
|
|
117
|
+
color: config.subTitleColor || commonStyle.color,
|
|
118
|
+
display: "block",
|
|
119
|
+
marginBottom: "4px",
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
config.subTitle
|
|
123
|
+
),
|
|
124
|
+
|
|
125
|
+
// Message
|
|
126
|
+
config.message &&
|
|
127
|
+
(Array.isArray(config.message)
|
|
128
|
+
? React.createElement(
|
|
129
|
+
"ul",
|
|
130
|
+
{
|
|
131
|
+
style: {
|
|
132
|
+
margin: "0 0 8px 0",
|
|
133
|
+
paddingLeft: "20px",
|
|
134
|
+
fontFamily: commonStyle.fontFamily,
|
|
135
|
+
fontSize: "15px",
|
|
136
|
+
fontWeight: 400,
|
|
137
|
+
lineHeight: "20px",
|
|
138
|
+
color: commonStyle.color,
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
config.message.map((line, idx) =>
|
|
142
|
+
React.createElement(
|
|
143
|
+
"li",
|
|
144
|
+
{
|
|
145
|
+
key: idx,
|
|
146
|
+
style: {
|
|
147
|
+
fontSize: "15px",
|
|
148
|
+
fontWeight: 400,
|
|
149
|
+
lineHeight: "20px",
|
|
150
|
+
fontFamily: "Geist, system-ui, sans-serif",
|
|
151
|
+
color: commonStyle.color,
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
line
|
|
155
|
+
)
|
|
156
|
+
)
|
|
157
|
+
)
|
|
158
|
+
: React.createElement(
|
|
159
|
+
"p",
|
|
160
|
+
{
|
|
161
|
+
style: {
|
|
162
|
+
fontFamily: commonStyle.fontFamily,
|
|
163
|
+
fontSize: "15px",
|
|
164
|
+
fontWeight: 400,
|
|
165
|
+
lineHeight: "20px",
|
|
166
|
+
color: commonStyle.color,
|
|
167
|
+
margin: "0 0 8px 0",
|
|
168
|
+
},
|
|
169
|
+
},
|
|
170
|
+
config.message
|
|
171
|
+
)),
|
|
172
|
+
|
|
173
|
+
// Description
|
|
174
|
+
config.description &&
|
|
175
|
+
React.createElement(
|
|
176
|
+
"p",
|
|
177
|
+
{
|
|
178
|
+
style: {
|
|
179
|
+
fontFamily: commonStyle.fontFamily,
|
|
180
|
+
fontSize: "15px",
|
|
181
|
+
fontWeight: 400,
|
|
182
|
+
lineHeight: "20px",
|
|
183
|
+
color: commonStyle.color,
|
|
184
|
+
margin: "0 0 12px 0",
|
|
185
|
+
whiteSpace: "pre-line",
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
wrapText(config.description, 150)
|
|
189
|
+
),
|
|
190
|
+
|
|
191
|
+
// Actions
|
|
192
|
+
(config.actionText || config.secondaryActionText) &&
|
|
193
|
+
React.createElement(
|
|
194
|
+
"div",
|
|
195
|
+
{
|
|
196
|
+
style: {
|
|
197
|
+
display: "flex",
|
|
198
|
+
flexDirection: "row",
|
|
199
|
+
gap: "16px",
|
|
200
|
+
marginTop: "6px",
|
|
201
|
+
justifyContent: config.alignActionsRight
|
|
202
|
+
? "flex-end"
|
|
203
|
+
: "flex-start",
|
|
204
|
+
marginBottom: "8px",
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
|
|
208
|
+
// Primary Action
|
|
209
|
+
config.actionText &&
|
|
210
|
+
React.createElement(
|
|
211
|
+
"button",
|
|
212
|
+
{
|
|
213
|
+
style: {
|
|
214
|
+
fontFamily: commonStyle.fontFamily,
|
|
215
|
+
fontSize: "15px",
|
|
216
|
+
fontWeight: 600,
|
|
217
|
+
lineHeight: "20px",
|
|
218
|
+
color: commonStyle.color,
|
|
219
|
+
background: "none",
|
|
220
|
+
border: "none",
|
|
221
|
+
padding: 0,
|
|
222
|
+
cursor: "pointer",
|
|
223
|
+
display: "flex",
|
|
224
|
+
alignItems: "center",
|
|
225
|
+
gap: "4px",
|
|
226
|
+
},
|
|
227
|
+
onClick: () => {
|
|
228
|
+
if (config.onAction) config.onAction();
|
|
229
|
+
onClose();
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
config.actionText,
|
|
233
|
+
config.showArrow &&
|
|
234
|
+
React.createElement(MdArrowForward, { size: 16 })
|
|
235
|
+
),
|
|
236
|
+
|
|
237
|
+
// Secondary Action
|
|
238
|
+
config.secondaryActionText &&
|
|
239
|
+
React.createElement(
|
|
240
|
+
"button",
|
|
241
|
+
{
|
|
242
|
+
style: {
|
|
243
|
+
fontFamily: commonStyle.fontFamily,
|
|
244
|
+
fontSize: "15px",
|
|
245
|
+
fontWeight: 600,
|
|
246
|
+
lineHeight: "20px",
|
|
247
|
+
color: commonStyle.color,
|
|
248
|
+
background: "none",
|
|
249
|
+
border: "none",
|
|
250
|
+
padding: 0,
|
|
251
|
+
cursor: "pointer",
|
|
252
|
+
display: "flex",
|
|
253
|
+
alignItems: "center",
|
|
254
|
+
gap: "4px",
|
|
255
|
+
},
|
|
256
|
+
onClick: () => {
|
|
257
|
+
if (config.onSecondaryAction) config.onSecondaryAction();
|
|
258
|
+
onClose();
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
config.secondaryActionText,
|
|
262
|
+
config.showSecondaryArrow &&
|
|
263
|
+
React.createElement(MdArrowForward, { size: 16 })
|
|
264
|
+
)
|
|
265
|
+
)
|
|
266
|
+
),
|
|
267
|
+
|
|
268
|
+
// Progress Bar
|
|
269
|
+
config.timeout &&
|
|
270
|
+
React.createElement("div", {
|
|
271
|
+
style: {
|
|
272
|
+
position: "absolute",
|
|
273
|
+
bottom: 0,
|
|
274
|
+
left: 0,
|
|
275
|
+
height: "4px",
|
|
276
|
+
backgroundColor: theme.icon,
|
|
277
|
+
width: "100%",
|
|
278
|
+
animation: `shrinkBar ${config.timeout}ms linear forwards`,
|
|
279
|
+
},
|
|
280
|
+
})
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
// Factory for simple SVG icon components
|
|
4
|
+
function createSvgIcon(pathD: string, fillColor: string) {
|
|
5
|
+
return () =>
|
|
6
|
+
React.createElement(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: 32,
|
|
11
|
+
height: 32,
|
|
12
|
+
viewBox: "0 0 32 32",
|
|
13
|
+
},
|
|
14
|
+
React.createElement("path", { d: pathD, fill: fillColor })
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// Each icon path (different geometry and colors)
|
|
19
|
+
const iconInfoPath =
|
|
20
|
+
'M16 7C20.9706 7 25 11.0294 25 16C25 20.9706 20.9706 25 16 25C11.0294 25 7 20.9706 7 16C7 11.0294 11.0294 7 16 7ZM16 14C15.4477 14 15 14.4477 15 15V20C15 20.5523 15.4477 21 16 21C16.5523 21 17 20.5523 17 20V15C17 14.4477 16.5523 14 16 14ZM16 11C15.4477 11 15 11.4477 15 12C15 12.5523 15.4477 13 16 13C16.5523 13 17 12.5523 17 12C17 11.4477 16.5523 11 16 11Z';
|
|
21
|
+
|
|
22
|
+
const warningIconPath =
|
|
23
|
+
'M15.3496 8.46973C15.7414 7.84329 16.6543 7.84314 17.0459 8.46973L25.2412 21.583C25.6574 22.249 25.1788 23.113 24.3936 23.1133H8.00195C7.21654 23.1133 6.73711 22.249 7.15332 21.583L15.3496 8.46973ZM16.1973 19.1133C15.6451 19.1134 15.1973 19.5611 15.1973 20.1133C15.1973 20.6654 15.6451 21.1132 16.1973 21.1133C16.7495 21.1133 17.1972 20.6655 17.1973 20.1133C17.1973 19.561 16.7496 19.1133 16.1973 19.1133ZM15.1973 18.1133H17.1973V13.1133H15.1973V18.1133Z';
|
|
24
|
+
|
|
25
|
+
const errorIconPath =
|
|
26
|
+
'M16.1975 7C21.1681 7 25.1975 11.0294 25.1975 16C25.1975 20.9706 21.1681 25 16.1975 25C11.2269 25 7.19751 20.9706 7.19751 16C7.19751 11.0294 11.2269 7 16.1975 7ZM16.1975 14.5859L13.3694 11.7578L11.9553 13.1719L14.7834 16L11.9553 18.8281L13.3694 20.2422L16.1975 17.4141L19.0256 20.2422L20.4397 18.8281L17.6116 16L20.4397 13.1719L19.0256 11.7578L16.1975 14.5859Z';
|
|
27
|
+
|
|
28
|
+
const successIconPath =
|
|
29
|
+
'M16 7C20.9706 7 25 11.0294 25 16C25 20.9706 20.9706 25 16 25C11.0294 25 7 20.9706 7 16C7 11.0294 11.0294 7 16 7ZM14.4463 17.6055L12.7217 15.8076L11.2783 17.1924L14.3525 20.3945L21.6729 13.7402L20.3271 12.2598L14.4463 17.6055Z';
|
|
30
|
+
// Specific icons with unique fills
|
|
31
|
+
export const ErrorIcon = createSvgIcon(errorIconPath, "#E0423A"); // red
|
|
32
|
+
export const SuccessIcon = createSvgIcon(successIconPath, "#52C22B"); // green
|
|
33
|
+
export const InfoIcon = createSvgIcon(iconInfoPath, "#0E8CE2"); // blue
|
|
34
|
+
export const WarningIcon = createSvgIcon(warningIconPath, "#E2A50C"); // yellow
|
|
35
|
+
|
|
36
|
+
export const commonStyle = {
|
|
37
|
+
fontFamily: 'Geist, system-ui, sans-serif',
|
|
38
|
+
color: '#14215A',
|
|
39
|
+
borderRad: '8px',
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
export const alertThemes = {
|
|
44
|
+
error: {
|
|
45
|
+
bg: "#FCECEB",
|
|
46
|
+
border: "2px solid #F5C4C2",
|
|
47
|
+
icon: "#E0423A",
|
|
48
|
+
IconComponent: ErrorIcon,
|
|
49
|
+
defaultTitle: "Error!",
|
|
50
|
+
},
|
|
51
|
+
success: {
|
|
52
|
+
bg: "#EEF9EA",
|
|
53
|
+
border: "2px solid #C9ECBD",
|
|
54
|
+
icon: "#52C22B",
|
|
55
|
+
IconComponent: SuccessIcon,
|
|
56
|
+
defaultTitle: "Success!",
|
|
57
|
+
},
|
|
58
|
+
warning: {
|
|
59
|
+
bg: "#FCF6E7",
|
|
60
|
+
border: "2px solid #F2D68F",
|
|
61
|
+
icon: "#E2A50C",
|
|
62
|
+
IconComponent: WarningIcon,
|
|
63
|
+
defaultTitle: "Warning!",
|
|
64
|
+
},
|
|
65
|
+
info: {
|
|
66
|
+
bg: "#E7F4FC",
|
|
67
|
+
border: "2px solid #B4DBF6",
|
|
68
|
+
icon: "#0E8CE2",
|
|
69
|
+
IconComponent: InfoIcon,
|
|
70
|
+
defaultTitle: "Info",
|
|
71
|
+
},
|
|
72
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wraps text into multiple lines by word count limit.
|
|
3
|
+
* @param text - The input string
|
|
4
|
+
* @param limit - Max characters per line
|
|
5
|
+
* @returns Wrapped text as a single string with newlines
|
|
6
|
+
*/
|
|
7
|
+
export function wrapText(text: string, limit: number): string {
|
|
8
|
+
const words = text.split(' ');
|
|
9
|
+
let lines: string[] = [];
|
|
10
|
+
let currentLine = '';
|
|
11
|
+
|
|
12
|
+
words.forEach((word) => {
|
|
13
|
+
if ((currentLine + word).length >= limit) {
|
|
14
|
+
lines.push(currentLine.trim());
|
|
15
|
+
currentLine = word + ' ';
|
|
16
|
+
} else {
|
|
17
|
+
currentLine += word + ' ';
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
if (currentLine.trim() !== '') {
|
|
22
|
+
lines.push(currentLine.trim());
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
return lines.join('\n');
|
|
26
|
+
}
|
package/yarn.lock
CHANGED
|
@@ -3280,142 +3280,149 @@ __metadata:
|
|
|
3280
3280
|
languageName: node
|
|
3281
3281
|
linkType: hard
|
|
3282
3282
|
|
|
3283
|
-
"@rollup/rollup-android-arm-eabi@npm:4.
|
|
3284
|
-
version: 4.
|
|
3285
|
-
resolution: "@rollup/rollup-android-arm-eabi@npm:4.
|
|
3283
|
+
"@rollup/rollup-android-arm-eabi@npm:4.50.0":
|
|
3284
|
+
version: 4.50.0
|
|
3285
|
+
resolution: "@rollup/rollup-android-arm-eabi@npm:4.50.0"
|
|
3286
3286
|
conditions: os=android & cpu=arm
|
|
3287
3287
|
languageName: node
|
|
3288
3288
|
linkType: hard
|
|
3289
3289
|
|
|
3290
|
-
"@rollup/rollup-android-arm64@npm:4.
|
|
3291
|
-
version: 4.
|
|
3292
|
-
resolution: "@rollup/rollup-android-arm64@npm:4.
|
|
3290
|
+
"@rollup/rollup-android-arm64@npm:4.50.0":
|
|
3291
|
+
version: 4.50.0
|
|
3292
|
+
resolution: "@rollup/rollup-android-arm64@npm:4.50.0"
|
|
3293
3293
|
conditions: os=android & cpu=arm64
|
|
3294
3294
|
languageName: node
|
|
3295
3295
|
linkType: hard
|
|
3296
3296
|
|
|
3297
|
-
"@rollup/rollup-darwin-arm64@npm:4.
|
|
3298
|
-
version: 4.
|
|
3299
|
-
resolution: "@rollup/rollup-darwin-arm64@npm:4.
|
|
3297
|
+
"@rollup/rollup-darwin-arm64@npm:4.50.0":
|
|
3298
|
+
version: 4.50.0
|
|
3299
|
+
resolution: "@rollup/rollup-darwin-arm64@npm:4.50.0"
|
|
3300
3300
|
conditions: os=darwin & cpu=arm64
|
|
3301
3301
|
languageName: node
|
|
3302
3302
|
linkType: hard
|
|
3303
3303
|
|
|
3304
|
-
"@rollup/rollup-darwin-x64@npm:4.
|
|
3305
|
-
version: 4.
|
|
3306
|
-
resolution: "@rollup/rollup-darwin-x64@npm:4.
|
|
3304
|
+
"@rollup/rollup-darwin-x64@npm:4.50.0":
|
|
3305
|
+
version: 4.50.0
|
|
3306
|
+
resolution: "@rollup/rollup-darwin-x64@npm:4.50.0"
|
|
3307
3307
|
conditions: os=darwin & cpu=x64
|
|
3308
3308
|
languageName: node
|
|
3309
3309
|
linkType: hard
|
|
3310
3310
|
|
|
3311
|
-
"@rollup/rollup-freebsd-arm64@npm:4.
|
|
3312
|
-
version: 4.
|
|
3313
|
-
resolution: "@rollup/rollup-freebsd-arm64@npm:4.
|
|
3311
|
+
"@rollup/rollup-freebsd-arm64@npm:4.50.0":
|
|
3312
|
+
version: 4.50.0
|
|
3313
|
+
resolution: "@rollup/rollup-freebsd-arm64@npm:4.50.0"
|
|
3314
3314
|
conditions: os=freebsd & cpu=arm64
|
|
3315
3315
|
languageName: node
|
|
3316
3316
|
linkType: hard
|
|
3317
3317
|
|
|
3318
|
-
"@rollup/rollup-freebsd-x64@npm:4.
|
|
3319
|
-
version: 4.
|
|
3320
|
-
resolution: "@rollup/rollup-freebsd-x64@npm:4.
|
|
3318
|
+
"@rollup/rollup-freebsd-x64@npm:4.50.0":
|
|
3319
|
+
version: 4.50.0
|
|
3320
|
+
resolution: "@rollup/rollup-freebsd-x64@npm:4.50.0"
|
|
3321
3321
|
conditions: os=freebsd & cpu=x64
|
|
3322
3322
|
languageName: node
|
|
3323
3323
|
linkType: hard
|
|
3324
3324
|
|
|
3325
|
-
"@rollup/rollup-linux-arm-gnueabihf@npm:4.
|
|
3326
|
-
version: 4.
|
|
3327
|
-
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.
|
|
3325
|
+
"@rollup/rollup-linux-arm-gnueabihf@npm:4.50.0":
|
|
3326
|
+
version: 4.50.0
|
|
3327
|
+
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.50.0"
|
|
3328
3328
|
conditions: os=linux & cpu=arm & libc=glibc
|
|
3329
3329
|
languageName: node
|
|
3330
3330
|
linkType: hard
|
|
3331
3331
|
|
|
3332
|
-
"@rollup/rollup-linux-arm-musleabihf@npm:4.
|
|
3333
|
-
version: 4.
|
|
3334
|
-
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.
|
|
3332
|
+
"@rollup/rollup-linux-arm-musleabihf@npm:4.50.0":
|
|
3333
|
+
version: 4.50.0
|
|
3334
|
+
resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.50.0"
|
|
3335
3335
|
conditions: os=linux & cpu=arm & libc=musl
|
|
3336
3336
|
languageName: node
|
|
3337
3337
|
linkType: hard
|
|
3338
3338
|
|
|
3339
|
-
"@rollup/rollup-linux-arm64-gnu@npm:4.
|
|
3340
|
-
version: 4.
|
|
3341
|
-
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.
|
|
3339
|
+
"@rollup/rollup-linux-arm64-gnu@npm:4.50.0":
|
|
3340
|
+
version: 4.50.0
|
|
3341
|
+
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.50.0"
|
|
3342
3342
|
conditions: os=linux & cpu=arm64 & libc=glibc
|
|
3343
3343
|
languageName: node
|
|
3344
3344
|
linkType: hard
|
|
3345
3345
|
|
|
3346
|
-
"@rollup/rollup-linux-arm64-musl@npm:4.
|
|
3347
|
-
version: 4.
|
|
3348
|
-
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.
|
|
3346
|
+
"@rollup/rollup-linux-arm64-musl@npm:4.50.0":
|
|
3347
|
+
version: 4.50.0
|
|
3348
|
+
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.50.0"
|
|
3349
3349
|
conditions: os=linux & cpu=arm64 & libc=musl
|
|
3350
3350
|
languageName: node
|
|
3351
3351
|
linkType: hard
|
|
3352
3352
|
|
|
3353
|
-
"@rollup/rollup-linux-loongarch64-gnu@npm:4.
|
|
3354
|
-
version: 4.
|
|
3355
|
-
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.
|
|
3353
|
+
"@rollup/rollup-linux-loongarch64-gnu@npm:4.50.0":
|
|
3354
|
+
version: 4.50.0
|
|
3355
|
+
resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.50.0"
|
|
3356
3356
|
conditions: os=linux & cpu=loong64 & libc=glibc
|
|
3357
3357
|
languageName: node
|
|
3358
3358
|
linkType: hard
|
|
3359
3359
|
|
|
3360
|
-
"@rollup/rollup-linux-ppc64-gnu@npm:4.
|
|
3361
|
-
version: 4.
|
|
3362
|
-
resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.
|
|
3360
|
+
"@rollup/rollup-linux-ppc64-gnu@npm:4.50.0":
|
|
3361
|
+
version: 4.50.0
|
|
3362
|
+
resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.50.0"
|
|
3363
3363
|
conditions: os=linux & cpu=ppc64 & libc=glibc
|
|
3364
3364
|
languageName: node
|
|
3365
3365
|
linkType: hard
|
|
3366
3366
|
|
|
3367
|
-
"@rollup/rollup-linux-riscv64-gnu@npm:4.
|
|
3368
|
-
version: 4.
|
|
3369
|
-
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.
|
|
3367
|
+
"@rollup/rollup-linux-riscv64-gnu@npm:4.50.0":
|
|
3368
|
+
version: 4.50.0
|
|
3369
|
+
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.50.0"
|
|
3370
3370
|
conditions: os=linux & cpu=riscv64 & libc=glibc
|
|
3371
3371
|
languageName: node
|
|
3372
3372
|
linkType: hard
|
|
3373
3373
|
|
|
3374
|
-
"@rollup/rollup-linux-riscv64-musl@npm:4.
|
|
3375
|
-
version: 4.
|
|
3376
|
-
resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.
|
|
3374
|
+
"@rollup/rollup-linux-riscv64-musl@npm:4.50.0":
|
|
3375
|
+
version: 4.50.0
|
|
3376
|
+
resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.50.0"
|
|
3377
3377
|
conditions: os=linux & cpu=riscv64 & libc=musl
|
|
3378
3378
|
languageName: node
|
|
3379
3379
|
linkType: hard
|
|
3380
3380
|
|
|
3381
|
-
"@rollup/rollup-linux-s390x-gnu@npm:4.
|
|
3382
|
-
version: 4.
|
|
3383
|
-
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.
|
|
3381
|
+
"@rollup/rollup-linux-s390x-gnu@npm:4.50.0":
|
|
3382
|
+
version: 4.50.0
|
|
3383
|
+
resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.50.0"
|
|
3384
3384
|
conditions: os=linux & cpu=s390x & libc=glibc
|
|
3385
3385
|
languageName: node
|
|
3386
3386
|
linkType: hard
|
|
3387
3387
|
|
|
3388
|
-
"@rollup/rollup-linux-x64-gnu@npm:4.
|
|
3389
|
-
version: 4.
|
|
3390
|
-
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.
|
|
3388
|
+
"@rollup/rollup-linux-x64-gnu@npm:4.50.0":
|
|
3389
|
+
version: 4.50.0
|
|
3390
|
+
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.50.0"
|
|
3391
3391
|
conditions: os=linux & cpu=x64 & libc=glibc
|
|
3392
3392
|
languageName: node
|
|
3393
3393
|
linkType: hard
|
|
3394
3394
|
|
|
3395
|
-
"@rollup/rollup-linux-x64-musl@npm:4.
|
|
3396
|
-
version: 4.
|
|
3397
|
-
resolution: "@rollup/rollup-linux-x64-musl@npm:4.
|
|
3395
|
+
"@rollup/rollup-linux-x64-musl@npm:4.50.0":
|
|
3396
|
+
version: 4.50.0
|
|
3397
|
+
resolution: "@rollup/rollup-linux-x64-musl@npm:4.50.0"
|
|
3398
3398
|
conditions: os=linux & cpu=x64 & libc=musl
|
|
3399
3399
|
languageName: node
|
|
3400
3400
|
linkType: hard
|
|
3401
3401
|
|
|
3402
|
-
"@rollup/rollup-
|
|
3403
|
-
version: 4.
|
|
3404
|
-
resolution: "@rollup/rollup-
|
|
3402
|
+
"@rollup/rollup-openharmony-arm64@npm:4.50.0":
|
|
3403
|
+
version: 4.50.0
|
|
3404
|
+
resolution: "@rollup/rollup-openharmony-arm64@npm:4.50.0"
|
|
3405
|
+
conditions: os=openharmony & cpu=arm64
|
|
3406
|
+
languageName: node
|
|
3407
|
+
linkType: hard
|
|
3408
|
+
|
|
3409
|
+
"@rollup/rollup-win32-arm64-msvc@npm:4.50.0":
|
|
3410
|
+
version: 4.50.0
|
|
3411
|
+
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.50.0"
|
|
3405
3412
|
conditions: os=win32 & cpu=arm64
|
|
3406
3413
|
languageName: node
|
|
3407
3414
|
linkType: hard
|
|
3408
3415
|
|
|
3409
|
-
"@rollup/rollup-win32-ia32-msvc@npm:4.
|
|
3410
|
-
version: 4.
|
|
3411
|
-
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.
|
|
3416
|
+
"@rollup/rollup-win32-ia32-msvc@npm:4.50.0":
|
|
3417
|
+
version: 4.50.0
|
|
3418
|
+
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.50.0"
|
|
3412
3419
|
conditions: os=win32 & cpu=ia32
|
|
3413
3420
|
languageName: node
|
|
3414
3421
|
linkType: hard
|
|
3415
3422
|
|
|
3416
|
-
"@rollup/rollup-win32-x64-msvc@npm:4.
|
|
3417
|
-
version: 4.
|
|
3418
|
-
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.
|
|
3423
|
+
"@rollup/rollup-win32-x64-msvc@npm:4.50.0":
|
|
3424
|
+
version: 4.50.0
|
|
3425
|
+
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.50.0"
|
|
3419
3426
|
conditions: os=win32 & cpu=x64
|
|
3420
3427
|
languageName: node
|
|
3421
3428
|
linkType: hard
|
|
@@ -6201,26 +6208,26 @@ __metadata:
|
|
|
6201
6208
|
languageName: node
|
|
6202
6209
|
linkType: hard
|
|
6203
6210
|
|
|
6204
|
-
"@vue/compiler-core@npm:3.5.
|
|
6205
|
-
version: 3.5.
|
|
6206
|
-
resolution: "@vue/compiler-core@npm:3.5.
|
|
6211
|
+
"@vue/compiler-core@npm:3.5.21":
|
|
6212
|
+
version: 3.5.21
|
|
6213
|
+
resolution: "@vue/compiler-core@npm:3.5.21"
|
|
6207
6214
|
dependencies:
|
|
6208
6215
|
"@babel/parser": "npm:^7.28.3"
|
|
6209
|
-
"@vue/shared": "npm:3.5.
|
|
6216
|
+
"@vue/shared": "npm:3.5.21"
|
|
6210
6217
|
entities: "npm:^4.5.0"
|
|
6211
6218
|
estree-walker: "npm:^2.0.2"
|
|
6212
6219
|
source-map-js: "npm:^1.2.1"
|
|
6213
|
-
checksum: 10c0/
|
|
6220
|
+
checksum: 10c0/b8fa1003551815a27381fb242cf4e52cbb22571009506be91264e288a6b69c24a9d31f8aa76087fffce44d56a71f742953c765d32e55c5b4defd97be904b45b1
|
|
6214
6221
|
languageName: node
|
|
6215
6222
|
linkType: hard
|
|
6216
6223
|
|
|
6217
6224
|
"@vue/compiler-dom@npm:^3.4.0":
|
|
6218
|
-
version: 3.5.
|
|
6219
|
-
resolution: "@vue/compiler-dom@npm:3.5.
|
|
6225
|
+
version: 3.5.21
|
|
6226
|
+
resolution: "@vue/compiler-dom@npm:3.5.21"
|
|
6220
6227
|
dependencies:
|
|
6221
|
-
"@vue/compiler-core": "npm:3.5.
|
|
6222
|
-
"@vue/shared": "npm:3.5.
|
|
6223
|
-
checksum: 10c0/
|
|
6228
|
+
"@vue/compiler-core": "npm:3.5.21"
|
|
6229
|
+
"@vue/shared": "npm:3.5.21"
|
|
6230
|
+
checksum: 10c0/84c5eb1a99f2c73dfc5596bce3ce3672b30712393b4399e5906d391939e85c0e0c756e344e8d8fdd4b853186fd9ae64786927ecf8b76e12ad47b783c92bcbe55
|
|
6224
6231
|
languageName: node
|
|
6225
6232
|
linkType: hard
|
|
6226
6233
|
|
|
@@ -6255,10 +6262,10 @@ __metadata:
|
|
|
6255
6262
|
languageName: node
|
|
6256
6263
|
linkType: hard
|
|
6257
6264
|
|
|
6258
|
-
"@vue/shared@npm:3.5.
|
|
6259
|
-
version: 3.5.
|
|
6260
|
-
resolution: "@vue/shared@npm:3.5.
|
|
6261
|
-
checksum: 10c0/
|
|
6265
|
+
"@vue/shared@npm:3.5.21, @vue/shared@npm:^3.4.0":
|
|
6266
|
+
version: 3.5.21
|
|
6267
|
+
resolution: "@vue/shared@npm:3.5.21"
|
|
6268
|
+
checksum: 10c0/fbaf2e973d232ccd6d9afd3440510e2436c5e918f6634eb3e0f95d148041f7b9347bcb349db6265f2ee92e5ffd0e6751bdc649698c52f9179b45d93f68473706
|
|
6262
6269
|
languageName: node
|
|
6263
6270
|
linkType: hard
|
|
6264
6271
|
|
|
@@ -6550,7 +6557,7 @@ __metadata:
|
|
|
6550
6557
|
languageName: node
|
|
6551
6558
|
linkType: hard
|
|
6552
6559
|
|
|
6553
|
-
"acorn@npm:^8.
|
|
6560
|
+
"acorn@npm:^8.15.0, acorn@npm:^8.5.0":
|
|
6554
6561
|
version: 8.15.0
|
|
6555
6562
|
resolution: "acorn@npm:8.15.0"
|
|
6556
6563
|
bin:
|
|
@@ -7782,16 +7789,16 @@ __metadata:
|
|
|
7782
7789
|
linkType: hard
|
|
7783
7790
|
|
|
7784
7791
|
"browserslist@npm:^4.0.0, browserslist@npm:^4.12.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0, browserslist@npm:^4.25.1, browserslist@npm:^4.25.3":
|
|
7785
|
-
version: 4.25.
|
|
7786
|
-
resolution: "browserslist@npm:4.25.
|
|
7792
|
+
version: 4.25.4
|
|
7793
|
+
resolution: "browserslist@npm:4.25.4"
|
|
7787
7794
|
dependencies:
|
|
7788
|
-
caniuse-lite: "npm:^1.0.
|
|
7789
|
-
electron-to-chromium: "npm:^1.5.
|
|
7795
|
+
caniuse-lite: "npm:^1.0.30001737"
|
|
7796
|
+
electron-to-chromium: "npm:^1.5.211"
|
|
7790
7797
|
node-releases: "npm:^2.0.19"
|
|
7791
7798
|
update-browserslist-db: "npm:^1.1.3"
|
|
7792
7799
|
bin:
|
|
7793
7800
|
browserslist: cli.js
|
|
7794
|
-
checksum: 10c0/
|
|
7801
|
+
checksum: 10c0/2b105948990dc2fc0bc2536b4889aadfa15d637e1d857a121611a704cdf539a68f575a391f6bf8b7ff19db36cee1b7834565571f35a7ea691051d2e7fb4f2eb1
|
|
7795
7802
|
languageName: node
|
|
7796
7803
|
linkType: hard
|
|
7797
7804
|
|
|
@@ -8049,10 +8056,10 @@ __metadata:
|
|
|
8049
8056
|
languageName: node
|
|
8050
8057
|
linkType: hard
|
|
8051
8058
|
|
|
8052
|
-
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.
|
|
8053
|
-
version: 1.0.
|
|
8054
|
-
resolution: "caniuse-lite@npm:1.0.
|
|
8055
|
-
checksum: 10c0/
|
|
8059
|
+
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001109, caniuse-lite@npm:^1.0.30001125, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001737":
|
|
8060
|
+
version: 1.0.30001739
|
|
8061
|
+
resolution: "caniuse-lite@npm:1.0.30001739"
|
|
8062
|
+
checksum: 10c0/a61ca5a53c428769059421a23311a7a812bdb6586e34dcad6189bd61bcdea58ffe2fe7f3c22a829e8978eba5316b6599aee88b9ea23677d8d5298865df4f4ad8
|
|
8056
8063
|
languageName: node
|
|
8057
8064
|
linkType: hard
|
|
8058
8065
|
|
|
@@ -9874,10 +9881,10 @@ __metadata:
|
|
|
9874
9881
|
languageName: node
|
|
9875
9882
|
linkType: hard
|
|
9876
9883
|
|
|
9877
|
-
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.
|
|
9878
|
-
version: 1.5.
|
|
9879
|
-
resolution: "electron-to-chromium@npm:1.5.
|
|
9880
|
-
checksum: 10c0/
|
|
9884
|
+
"electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.211":
|
|
9885
|
+
version: 1.5.213
|
|
9886
|
+
resolution: "electron-to-chromium@npm:1.5.213"
|
|
9887
|
+
checksum: 10c0/8c8703ea1764984f3953b9bc639c69bb4a5f5246b045c3b78d3724a3f0bffa62174bc7696a4356c0db4a7039bf1ad92901450785ce9dc45afbf401b0b834e91d
|
|
9881
9888
|
languageName: node
|
|
9882
9889
|
linkType: hard
|
|
9883
9890
|
|
|
@@ -13814,9 +13821,9 @@ __metadata:
|
|
|
13814
13821
|
linkType: hard
|
|
13815
13822
|
|
|
13816
13823
|
"libphonenumber-js@npm:^1.9.11":
|
|
13817
|
-
version: 1.12.
|
|
13818
|
-
resolution: "libphonenumber-js@npm:1.12.
|
|
13819
|
-
checksum: 10c0/
|
|
13824
|
+
version: 1.12.15
|
|
13825
|
+
resolution: "libphonenumber-js@npm:1.12.15"
|
|
13826
|
+
checksum: 10c0/d715c938f3e9a331b35f0dd93f5c194f7b19321b9e190b05ca76fab88df5c851936752f4354bea812df5d1d4f432a9133dc2c7199e444c7dbf89bb5b9cc75c3a
|
|
13820
13827
|
languageName: node
|
|
13821
13828
|
linkType: hard
|
|
13822
13829
|
|
|
@@ -18891,29 +18898,30 @@ __metadata:
|
|
|
18891
18898
|
linkType: hard
|
|
18892
18899
|
|
|
18893
18900
|
"rollup@npm:^4.13.0":
|
|
18894
|
-
version: 4.
|
|
18895
|
-
resolution: "rollup@npm:4.
|
|
18896
|
-
dependencies:
|
|
18897
|
-
"@rollup/rollup-android-arm-eabi": "npm:4.
|
|
18898
|
-
"@rollup/rollup-android-arm64": "npm:4.
|
|
18899
|
-
"@rollup/rollup-darwin-arm64": "npm:4.
|
|
18900
|
-
"@rollup/rollup-darwin-x64": "npm:4.
|
|
18901
|
-
"@rollup/rollup-freebsd-arm64": "npm:4.
|
|
18902
|
-
"@rollup/rollup-freebsd-x64": "npm:4.
|
|
18903
|
-
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.
|
|
18904
|
-
"@rollup/rollup-linux-arm-musleabihf": "npm:4.
|
|
18905
|
-
"@rollup/rollup-linux-arm64-gnu": "npm:4.
|
|
18906
|
-
"@rollup/rollup-linux-arm64-musl": "npm:4.
|
|
18907
|
-
"@rollup/rollup-linux-loongarch64-gnu": "npm:4.
|
|
18908
|
-
"@rollup/rollup-linux-ppc64-gnu": "npm:4.
|
|
18909
|
-
"@rollup/rollup-linux-riscv64-gnu": "npm:4.
|
|
18910
|
-
"@rollup/rollup-linux-riscv64-musl": "npm:4.
|
|
18911
|
-
"@rollup/rollup-linux-s390x-gnu": "npm:4.
|
|
18912
|
-
"@rollup/rollup-linux-x64-gnu": "npm:4.
|
|
18913
|
-
"@rollup/rollup-linux-x64-musl": "npm:4.
|
|
18914
|
-
"@rollup/rollup-
|
|
18915
|
-
"@rollup/rollup-win32-
|
|
18916
|
-
"@rollup/rollup-win32-
|
|
18901
|
+
version: 4.50.0
|
|
18902
|
+
resolution: "rollup@npm:4.50.0"
|
|
18903
|
+
dependencies:
|
|
18904
|
+
"@rollup/rollup-android-arm-eabi": "npm:4.50.0"
|
|
18905
|
+
"@rollup/rollup-android-arm64": "npm:4.50.0"
|
|
18906
|
+
"@rollup/rollup-darwin-arm64": "npm:4.50.0"
|
|
18907
|
+
"@rollup/rollup-darwin-x64": "npm:4.50.0"
|
|
18908
|
+
"@rollup/rollup-freebsd-arm64": "npm:4.50.0"
|
|
18909
|
+
"@rollup/rollup-freebsd-x64": "npm:4.50.0"
|
|
18910
|
+
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.50.0"
|
|
18911
|
+
"@rollup/rollup-linux-arm-musleabihf": "npm:4.50.0"
|
|
18912
|
+
"@rollup/rollup-linux-arm64-gnu": "npm:4.50.0"
|
|
18913
|
+
"@rollup/rollup-linux-arm64-musl": "npm:4.50.0"
|
|
18914
|
+
"@rollup/rollup-linux-loongarch64-gnu": "npm:4.50.0"
|
|
18915
|
+
"@rollup/rollup-linux-ppc64-gnu": "npm:4.50.0"
|
|
18916
|
+
"@rollup/rollup-linux-riscv64-gnu": "npm:4.50.0"
|
|
18917
|
+
"@rollup/rollup-linux-riscv64-musl": "npm:4.50.0"
|
|
18918
|
+
"@rollup/rollup-linux-s390x-gnu": "npm:4.50.0"
|
|
18919
|
+
"@rollup/rollup-linux-x64-gnu": "npm:4.50.0"
|
|
18920
|
+
"@rollup/rollup-linux-x64-musl": "npm:4.50.0"
|
|
18921
|
+
"@rollup/rollup-openharmony-arm64": "npm:4.50.0"
|
|
18922
|
+
"@rollup/rollup-win32-arm64-msvc": "npm:4.50.0"
|
|
18923
|
+
"@rollup/rollup-win32-ia32-msvc": "npm:4.50.0"
|
|
18924
|
+
"@rollup/rollup-win32-x64-msvc": "npm:4.50.0"
|
|
18917
18925
|
"@types/estree": "npm:1.0.8"
|
|
18918
18926
|
fsevents: "npm:~2.3.2"
|
|
18919
18927
|
dependenciesMeta:
|
|
@@ -18951,6 +18959,8 @@ __metadata:
|
|
|
18951
18959
|
optional: true
|
|
18952
18960
|
"@rollup/rollup-linux-x64-musl":
|
|
18953
18961
|
optional: true
|
|
18962
|
+
"@rollup/rollup-openharmony-arm64":
|
|
18963
|
+
optional: true
|
|
18954
18964
|
"@rollup/rollup-win32-arm64-msvc":
|
|
18955
18965
|
optional: true
|
|
18956
18966
|
"@rollup/rollup-win32-ia32-msvc":
|
|
@@ -18961,7 +18971,7 @@ __metadata:
|
|
|
18961
18971
|
optional: true
|
|
18962
18972
|
bin:
|
|
18963
18973
|
rollup: dist/bin/rollup
|
|
18964
|
-
checksum: 10c0/
|
|
18974
|
+
checksum: 10c0/8a9aa0885b61ee08315cdc097fb9f97b626a0992546a6857d7668f4690a7344d8497fa7504e4dba03acefc77f03d90fec3c11bfa80777177e76ea5d8c18ddc97
|
|
18965
18975
|
languageName: node
|
|
18966
18976
|
linkType: hard
|
|
18967
18977
|
|
|
@@ -20558,16 +20568,16 @@ __metadata:
|
|
|
20558
20568
|
linkType: hard
|
|
20559
20569
|
|
|
20560
20570
|
"terser@npm:^5.3.4":
|
|
20561
|
-
version: 5.
|
|
20562
|
-
resolution: "terser@npm:5.
|
|
20571
|
+
version: 5.44.0
|
|
20572
|
+
resolution: "terser@npm:5.44.0"
|
|
20563
20573
|
dependencies:
|
|
20564
20574
|
"@jridgewell/source-map": "npm:^0.3.3"
|
|
20565
|
-
acorn: "npm:^8.
|
|
20575
|
+
acorn: "npm:^8.15.0"
|
|
20566
20576
|
commander: "npm:^2.20.0"
|
|
20567
20577
|
source-map-support: "npm:~0.5.20"
|
|
20568
20578
|
bin:
|
|
20569
20579
|
terser: bin/terser
|
|
20570
|
-
checksum: 10c0/
|
|
20580
|
+
checksum: 10c0/f2838dc65ac2ac6a31c7233065364080de73cc363ecb8fe723a54f663b2fa9429abf08bc3920a6bea85c5c7c29908ffcf822baf1572574f8d3859a009bbf2327
|
|
20571
20581
|
languageName: node
|
|
20572
20582
|
linkType: hard
|
|
20573
20583
|
|