funuicss 1.10.8 → 1.10.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/css/fun.css +2 -0
- package/js/Fun.d.ts +17 -17
- package/js/Fun.js +33 -43
- package/js/Fun.tsx +186 -205
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/ui/button/Button.d.ts +4 -3
- package/ui/button/Button.js +3 -25
- package/ui/button/Button.tsx +7 -4
- package/ui/page/NotFound.d.ts +9 -0
- package/ui/page/NotFound.js +50 -0
- package/ui/page/NotFound.tsx +62 -0
- package/ui/page/UnAuthorized.d.ts +9 -0
- package/ui/page/UnAuthorized.js +50 -0
- package/ui/page/UnAuthorized.tsx +62 -0
package/css/fun.css
CHANGED
package/js/Fun.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
export declare const FunHide: {
|
|
2
|
-
hide: (selector
|
|
3
|
-
show: (selector
|
|
4
|
-
toggle: (selector
|
|
2
|
+
hide: (selector?: string) => void;
|
|
3
|
+
show: (selector?: string) => void;
|
|
4
|
+
toggle: (selector?: string) => void;
|
|
5
5
|
};
|
|
6
6
|
export declare const FunGet: {
|
|
7
|
-
text: (selector
|
|
8
|
-
html: (selector
|
|
9
|
-
val: (selector
|
|
7
|
+
text: (selector?: string, data?: string) => string;
|
|
8
|
+
html: (selector?: string, data?: string) => string;
|
|
9
|
+
val: (selector?: string, data?: string) => string;
|
|
10
10
|
};
|
|
11
11
|
export declare const FunStyle: {
|
|
12
|
-
css: (selector
|
|
12
|
+
css: (selector?: string, css?: {}) => void;
|
|
13
13
|
};
|
|
14
14
|
export declare const FunEvent: {
|
|
15
|
-
event: (selector
|
|
15
|
+
event: (selector?: string, eventType?: string, callBack?: EventListenerOrEventListenerObject | null) => void;
|
|
16
16
|
};
|
|
17
17
|
export declare const FunClass: {
|
|
18
|
-
add: (selector
|
|
19
|
-
remove: (selector
|
|
18
|
+
add: (selector?: string, newClass?: string) => void;
|
|
19
|
+
remove: (selector?: string, newClass?: string) => void;
|
|
20
20
|
};
|
|
21
21
|
export declare const FunAdd: {
|
|
22
|
-
append: (selector
|
|
23
|
-
prepend: (selector
|
|
22
|
+
append: (selector?: string, child?: Node | null) => void;
|
|
23
|
+
prepend: (selector?: string, child?: Node | null) => void;
|
|
24
24
|
};
|
|
25
25
|
export declare const FunRequest: {
|
|
26
|
-
get: (url:
|
|
27
|
-
post: (url:
|
|
28
|
-
patch: (url:
|
|
29
|
-
delete: (url:
|
|
26
|
+
get: (url: string, headers?: HeadersInit) => Promise<unknown>;
|
|
27
|
+
post: (url: string, body?: any, headers?: HeadersInit) => Promise<unknown>;
|
|
28
|
+
patch: (url: string, body?: any, headers?: HeadersInit) => Promise<unknown>;
|
|
29
|
+
delete: (url: string, headers?: HeadersInit) => Promise<unknown>;
|
|
30
30
|
};
|
|
31
31
|
export declare const FunQuery: {
|
|
32
|
-
query: (data: any, fields
|
|
32
|
+
query: (data: any, fields?: {}) => Promise<unknown>;
|
|
33
33
|
};
|
package/js/Fun.js
CHANGED
|
@@ -15,39 +15,40 @@ exports.FunQuery = exports.FunRequest = exports.FunAdd = exports.FunClass = expo
|
|
|
15
15
|
exports.FunHide = {
|
|
16
16
|
hide: function (selector) {
|
|
17
17
|
var element = document.querySelector(selector);
|
|
18
|
-
element
|
|
18
|
+
if (element) {
|
|
19
|
+
element.style.display = "none";
|
|
20
|
+
}
|
|
19
21
|
},
|
|
20
22
|
show: function (selector) {
|
|
21
23
|
var element = document.querySelector(selector);
|
|
22
|
-
element
|
|
24
|
+
if (element) {
|
|
25
|
+
element.style.display = "inline-block";
|
|
26
|
+
}
|
|
23
27
|
},
|
|
24
28
|
toggle: function (selector) {
|
|
25
29
|
var element = document.querySelector(selector);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
element.style.display = "inline-block";
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
element.style.display = "none";
|
|
30
|
+
if (element) {
|
|
31
|
+
var style = element.style.display;
|
|
32
|
+
element.style.display = style === "none" ? "inline-block" : "none";
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
};
|
|
35
36
|
exports.FunGet = {
|
|
36
37
|
text: function (selector, data) {
|
|
37
38
|
var element = document.querySelector(selector);
|
|
38
|
-
if (
|
|
39
|
+
if (element) {
|
|
39
40
|
var text = element.textContent;
|
|
40
41
|
if (data) {
|
|
41
42
|
element.textContent = data;
|
|
42
43
|
}
|
|
43
44
|
else {
|
|
44
|
-
return text ? text :
|
|
45
|
+
return text ? text : "";
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
},
|
|
48
49
|
html: function (selector, data) {
|
|
49
50
|
var element = document.querySelector(selector);
|
|
50
|
-
if (
|
|
51
|
+
if (element) {
|
|
51
52
|
var text = element.innerHTML;
|
|
52
53
|
if (data) {
|
|
53
54
|
element.innerHTML = data;
|
|
@@ -59,7 +60,7 @@ exports.FunGet = {
|
|
|
59
60
|
},
|
|
60
61
|
val: function (selector, data) {
|
|
61
62
|
var element = document.querySelector(selector);
|
|
62
|
-
if (
|
|
63
|
+
if (element) {
|
|
63
64
|
var text = element.value;
|
|
64
65
|
if (data) {
|
|
65
66
|
element.value = data;
|
|
@@ -68,55 +69,51 @@ exports.FunGet = {
|
|
|
68
69
|
return text;
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
|
-
}
|
|
72
|
+
},
|
|
72
73
|
};
|
|
73
74
|
exports.FunStyle = {
|
|
74
75
|
css: function (selector, css) {
|
|
75
|
-
// Get the element you want to style
|
|
76
76
|
var element = document.querySelector(selector);
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
77
|
+
if (element) {
|
|
78
|
+
Object.assign(element.style, css);
|
|
79
|
+
}
|
|
80
|
+
},
|
|
82
81
|
};
|
|
83
82
|
exports.FunEvent = {
|
|
84
83
|
event: function (selector, eventType, callBack) {
|
|
85
84
|
var element = document.querySelector(selector);
|
|
86
|
-
if (
|
|
87
|
-
|
|
88
|
-
document.querySelector(selector).addEventListener(eventType, callBack);
|
|
89
|
-
}
|
|
85
|
+
if (element && eventType && callBack) {
|
|
86
|
+
element.addEventListener(eventType, callBack);
|
|
90
87
|
}
|
|
91
|
-
}
|
|
88
|
+
},
|
|
92
89
|
};
|
|
93
90
|
exports.FunClass = {
|
|
94
91
|
add: function (selector, newClass) {
|
|
95
92
|
var element = document.querySelector(selector);
|
|
96
|
-
if (
|
|
93
|
+
if (element && newClass) {
|
|
97
94
|
element.classList.add(newClass);
|
|
98
95
|
}
|
|
99
96
|
},
|
|
100
97
|
remove: function (selector, newClass) {
|
|
101
98
|
var element = document.querySelector(selector);
|
|
102
|
-
if (
|
|
99
|
+
if (element && newClass) {
|
|
103
100
|
element.classList.remove(newClass);
|
|
104
101
|
}
|
|
105
|
-
}
|
|
102
|
+
},
|
|
106
103
|
};
|
|
107
104
|
exports.FunAdd = {
|
|
108
105
|
append: function (selector, child) {
|
|
109
106
|
var element = document.querySelector(selector);
|
|
110
|
-
if (
|
|
107
|
+
if (element && child) {
|
|
111
108
|
element.append(child);
|
|
112
109
|
}
|
|
113
110
|
},
|
|
114
111
|
prepend: function (selector, child) {
|
|
115
112
|
var element = document.querySelector(selector);
|
|
116
|
-
if (
|
|
113
|
+
if (element && child) {
|
|
117
114
|
element.prepend(child);
|
|
118
115
|
}
|
|
119
|
-
}
|
|
116
|
+
},
|
|
120
117
|
};
|
|
121
118
|
exports.FunRequest = {
|
|
122
119
|
get: function (url, headers) {
|
|
@@ -124,11 +121,9 @@ exports.FunRequest = {
|
|
|
124
121
|
fetch(url, headers ? { headers: headers } : {})
|
|
125
122
|
.then(function (response) { return response.json(); })
|
|
126
123
|
.then(function (data) {
|
|
127
|
-
// Handle the received data
|
|
128
124
|
resolve(data);
|
|
129
125
|
})
|
|
130
126
|
.catch(function (error) {
|
|
131
|
-
// Handle any errors that occur during the request
|
|
132
127
|
reject(error);
|
|
133
128
|
});
|
|
134
129
|
});
|
|
@@ -138,15 +133,13 @@ exports.FunRequest = {
|
|
|
138
133
|
fetch(url, {
|
|
139
134
|
method: 'POST',
|
|
140
135
|
headers: headers ? __assign(__assign({}, headers), { 'Content-Type': 'application/json' }) : { 'Content-Type': 'application/json' },
|
|
141
|
-
body: JSON.stringify(body)
|
|
136
|
+
body: JSON.stringify(body),
|
|
142
137
|
})
|
|
143
138
|
.then(function (response) { return response.json(); })
|
|
144
139
|
.then(function (data) {
|
|
145
|
-
// Handle the received data
|
|
146
140
|
resolve(data);
|
|
147
141
|
})
|
|
148
142
|
.catch(function (error) {
|
|
149
|
-
// Handle any errors that occur during the request
|
|
150
143
|
reject(error);
|
|
151
144
|
});
|
|
152
145
|
});
|
|
@@ -156,15 +149,13 @@ exports.FunRequest = {
|
|
|
156
149
|
fetch(url, {
|
|
157
150
|
method: 'PATCH',
|
|
158
151
|
headers: headers ? __assign(__assign({}, headers), { 'Content-Type': 'application/json' }) : { 'Content-Type': 'application/json' },
|
|
159
|
-
body: JSON.stringify(body)
|
|
152
|
+
body: JSON.stringify(body),
|
|
160
153
|
})
|
|
161
154
|
.then(function (response) { return response.json(); })
|
|
162
155
|
.then(function (data) {
|
|
163
|
-
// Handle the received data
|
|
164
156
|
resolve(data);
|
|
165
157
|
})
|
|
166
158
|
.catch(function (error) {
|
|
167
|
-
// Handle any errors that occur during the request
|
|
168
159
|
reject(error);
|
|
169
160
|
});
|
|
170
161
|
});
|
|
@@ -173,22 +164,21 @@ exports.FunRequest = {
|
|
|
173
164
|
return new Promise(function (resolve, reject) {
|
|
174
165
|
fetch(url, {
|
|
175
166
|
method: 'DELETE',
|
|
176
|
-
headers: headers ? headers : {}
|
|
167
|
+
headers: headers ? headers : {},
|
|
177
168
|
})
|
|
178
169
|
.then(function (response) {
|
|
179
170
|
if (response.ok) {
|
|
180
|
-
resolve("");
|
|
171
|
+
resolve("");
|
|
181
172
|
}
|
|
182
173
|
else {
|
|
183
174
|
reject("Error: ".concat(response.status, " ").concat(response.statusText));
|
|
184
175
|
}
|
|
185
176
|
})
|
|
186
177
|
.catch(function (error) {
|
|
187
|
-
// Handle any errors that occur during the request
|
|
188
178
|
reject(error);
|
|
189
179
|
});
|
|
190
180
|
});
|
|
191
|
-
}
|
|
181
|
+
},
|
|
192
182
|
};
|
|
193
183
|
exports.FunQuery = {
|
|
194
184
|
query: function (data, fields) {
|
|
@@ -220,5 +210,5 @@ exports.FunQuery = {
|
|
|
220
210
|
return true;
|
|
221
211
|
}
|
|
222
212
|
});
|
|
223
|
-
}
|
|
213
|
+
},
|
|
224
214
|
};
|
package/js/Fun.tsx
CHANGED
|
@@ -1,225 +1,206 @@
|
|
|
1
1
|
export const FunHide = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
2
|
+
hide: (selector?: string) => {
|
|
3
|
+
var element: HTMLElement | null = document.querySelector(selector);
|
|
4
|
+
if (element) {
|
|
5
|
+
element.style.display = "none";
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
show: (selector?: string) => {
|
|
9
|
+
var element: HTMLElement | null = document.querySelector(selector);
|
|
10
|
+
if (element) {
|
|
11
|
+
element.style.display = "inline-block";
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
toggle: (selector?: string) => {
|
|
15
|
+
var element: HTMLElement | null = document.querySelector(selector);
|
|
16
|
+
if (element) {
|
|
17
|
+
var style = element.style.display;
|
|
18
|
+
element.style.display = style === "none" ? "inline-block" : "none";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
24
22
|
|
|
25
23
|
export const FunGet = {
|
|
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
|
-
|
|
63
|
-
export const FunStyle = {
|
|
64
|
-
css: (selector , css)=>{
|
|
65
|
-
// Get the element you want to style
|
|
66
|
-
const element = document.querySelector(selector);
|
|
67
|
-
|
|
68
|
-
// Define multiple styles using JavaScript objects
|
|
69
|
-
const styles = css
|
|
70
|
-
|
|
71
|
-
// Apply the styles to the element
|
|
72
|
-
Object.assign(element.style, styles);
|
|
24
|
+
text: (selector?: string, data?: string) => {
|
|
25
|
+
var element: HTMLElement | null = document.querySelector(selector);
|
|
26
|
+
if (element) {
|
|
27
|
+
var text = element.textContent;
|
|
28
|
+
if (data) {
|
|
29
|
+
element.textContent = data;
|
|
30
|
+
} else {
|
|
31
|
+
return text ? text : "";
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
html: (selector?: string, data?: string) => {
|
|
36
|
+
var element: HTMLElement | null = document.querySelector(selector);
|
|
37
|
+
if (element) {
|
|
38
|
+
var text = element.innerHTML;
|
|
39
|
+
if (data) {
|
|
40
|
+
element.innerHTML = data;
|
|
41
|
+
} else {
|
|
42
|
+
return text ? text : "";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
val: (selector?: string, data?: string) => {
|
|
47
|
+
var element: HTMLInputElement | null = document.querySelector(selector);
|
|
48
|
+
if (element) {
|
|
49
|
+
var text = element.value;
|
|
50
|
+
if (data) {
|
|
51
|
+
element.value = data;
|
|
52
|
+
} else {
|
|
53
|
+
return text;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
73
58
|
|
|
74
|
-
|
|
75
|
-
|
|
59
|
+
export const FunStyle = {
|
|
60
|
+
css: (selector?: string, css?: {}) => {
|
|
61
|
+
const element: HTMLElement | null = document.querySelector(selector);
|
|
62
|
+
if (element) {
|
|
63
|
+
Object.assign(element.style, css);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
76
67
|
|
|
77
68
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
export const FunClass = {
|
|
89
|
-
add : (selector , newClass) =>{
|
|
90
|
-
const element = document.querySelector(selector);
|
|
91
|
-
if(typeof(element) != 'undefined' && element != null && newClass){
|
|
92
|
-
element.classList.add(newClass);
|
|
93
|
-
}
|
|
94
|
-
},
|
|
95
|
-
remove : (selector , newClass) =>{
|
|
96
|
-
const element = document.querySelector(selector);
|
|
97
|
-
if(typeof(element) != 'undefined' && element != null && newClass){
|
|
98
|
-
element.classList.remove(newClass);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
69
|
+
export const FunEvent = {
|
|
70
|
+
event: (selector?: string, eventType?: string, callBack?: EventListenerOrEventListenerObject | null) => {
|
|
71
|
+
const element = document.querySelector(selector);
|
|
72
|
+
if (element && eventType && callBack) {
|
|
73
|
+
element.addEventListener(eventType, callBack);
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
};
|
|
102
77
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
78
|
+
export const FunClass = {
|
|
79
|
+
add: (selector?: string, newClass?: string) => {
|
|
80
|
+
const element = document.querySelector(selector);
|
|
81
|
+
if (element && newClass) {
|
|
82
|
+
element.classList.add(newClass);
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
remove: (selector?: string, newClass?: string) => {
|
|
86
|
+
const element = document.querySelector(selector);
|
|
87
|
+
if (element && newClass) {
|
|
88
|
+
element.classList.remove(newClass);
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
};
|
|
117
92
|
|
|
93
|
+
export const FunAdd = {
|
|
94
|
+
append: (selector?: string, child?: Node | null) => {
|
|
95
|
+
const element = document.querySelector(selector);
|
|
96
|
+
if (element && child) {
|
|
97
|
+
element.append(child);
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
prepend: (selector?: string, child?: Node | null) => {
|
|
101
|
+
const element = document.querySelector(selector);
|
|
102
|
+
if (element && child) {
|
|
103
|
+
element.prepend(child);
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
};
|
|
118
107
|
|
|
119
|
-
|
|
120
|
-
|
|
108
|
+
export const FunRequest = {
|
|
109
|
+
get: (url: string, headers?: HeadersInit) => {
|
|
121
110
|
return new Promise((resolve, reject) => {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
reject(error);
|
|
131
|
-
});
|
|
111
|
+
fetch(url, headers ? { headers: headers } : {})
|
|
112
|
+
.then((response) => response.json())
|
|
113
|
+
.then((data) => {
|
|
114
|
+
resolve(data);
|
|
115
|
+
})
|
|
116
|
+
.catch((error) => {
|
|
117
|
+
reject(error);
|
|
118
|
+
});
|
|
132
119
|
});
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
120
|
+
},
|
|
121
|
+
post: (url: string, body?: any, headers?: HeadersInit) => {
|
|
122
|
+
return new Promise((resolve, reject) => {
|
|
136
123
|
fetch(url, {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
124
|
+
method: 'POST',
|
|
125
|
+
headers: headers ? { ...headers, 'Content-Type': 'application/json' } : { 'Content-Type': 'application/json' },
|
|
126
|
+
body: JSON.stringify(body),
|
|
140
127
|
})
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
patch: (url, body, headers) => {
|
|
153
|
-
return new Promise((resolve, reject) => {
|
|
128
|
+
.then((response) => response.json())
|
|
129
|
+
.then((data) => {
|
|
130
|
+
resolve(data);
|
|
131
|
+
})
|
|
132
|
+
.catch((error) => {
|
|
133
|
+
reject(error);
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
},
|
|
137
|
+
patch: (url: string, body?: any, headers?: HeadersInit) => {
|
|
138
|
+
return new Promise((resolve, reject) => {
|
|
154
139
|
fetch(url, {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
140
|
+
method: 'PATCH',
|
|
141
|
+
headers: headers ? { ...headers, 'Content-Type': 'application/json' } : { 'Content-Type': 'application/json' },
|
|
142
|
+
body: JSON.stringify(body),
|
|
158
143
|
})
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
delete: (url, headers) => {
|
|
172
|
-
return new Promise((resolve, reject) => {
|
|
144
|
+
.then((response) => response.json())
|
|
145
|
+
.then((data) => {
|
|
146
|
+
resolve(data);
|
|
147
|
+
})
|
|
148
|
+
.catch((error) => {
|
|
149
|
+
reject(error);
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
},
|
|
153
|
+
|
|
154
|
+
delete: (url: string, headers?: HeadersInit) => {
|
|
155
|
+
return new Promise((resolve, reject) => {
|
|
173
156
|
fetch(url, {
|
|
174
|
-
|
|
175
|
-
|
|
157
|
+
method: 'DELETE',
|
|
158
|
+
headers: headers ? headers : {},
|
|
176
159
|
})
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
160
|
+
.then((response) => {
|
|
161
|
+
if (response.ok) {
|
|
162
|
+
resolve("");
|
|
163
|
+
} else {
|
|
164
|
+
reject(`Error: ${response.status} ${response.statusText}`);
|
|
165
|
+
}
|
|
166
|
+
})
|
|
167
|
+
.catch((error) => {
|
|
168
|
+
reject(error);
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
};
|
|
173
|
+
|
|
192
174
|
export const FunQuery = {
|
|
193
|
-
query: (data , fields)=>{
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
175
|
+
query: (data: any, fields?: {}) => {
|
|
176
|
+
return new Promise((resolve, reject) => {
|
|
177
|
+
if (Array.isArray(data)) {
|
|
178
|
+
resolve(data.filter((item) => applyFilter(item, fields)));
|
|
179
|
+
} else if (typeof data === 'object') {
|
|
180
|
+
const filteredData = {};
|
|
181
|
+
for (let key in data) {
|
|
182
|
+
if (applyFilter(data[key], fields)) {
|
|
183
|
+
filteredData[key] = data[key];
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
resolve(filteredData);
|
|
187
|
+
} else {
|
|
188
|
+
reject('Invalid data type. Expected an array or object.');
|
|
203
189
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
190
|
+
|
|
191
|
+
function applyFilter(item: any, fields: {}) {
|
|
192
|
+
if (typeof fields !== 'object') {
|
|
193
|
+
reject('Invalid filter criteria. Expected an object.');
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
for (let key in fields) {
|
|
197
|
+
if (item[key] !== fields[key]) {
|
|
198
|
+
return false;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
return true;
|
|
217
203
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
})
|
|
224
|
-
}
|
|
225
|
-
}
|
|
204
|
+
});
|
|
205
|
+
},
|
|
206
|
+
};
|
package/package.json
CHANGED
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["./node_modules/typescript/lib/lib.d.ts","./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./assets/colors/colors.tsx","./js/fun.tsx","./ui/alert/alert.tsx","./ui/appbar/appbar.tsx","./ui/avatar/avatar.tsx","./ui/blob/blob.tsx","./ui/breadcrumb/breadcrumb.tsx","./ui/button/button.tsx","./ui/card/cardheader.tsx","./ui/card/cardbody.tsx","./ui/card/cardfooter.tsx","./ui/card/card.tsx","./ui/card/cardfab.tsx","./ui/container/container.tsx","./ui/div/div.tsx","./ui/drop/action.tsx","./ui/drop/down.tsx","./ui/drop/item.tsx","./ui/drop/menu.tsx","./ui/drop/up.tsx","./ui/grid/col.tsx","./ui/grid/grid.tsx","./ui/icon/icon.tsx","./ui/input/iconic.tsx","./ui/input/input.tsx","./ui/list/item.tsx","./ui/list/list.tsx","./ui/loader/loader.tsx","./ui/modal/action.tsx","./ui/modal/close.tsx","./ui/modal/content.tsx","./ui/modal/header.tsx","./ui/modal/modal.tsx","./ui/notification/content.tsx","./ui/notification/footer.tsx","./ui/notification/header.tsx","./ui/notification/notification.tsx","./ui/progress/bar.tsx","./ui/snackbar/snackbar.tsx","./ui/specials/circle.tsx","./ui/specials/hr.tsx","./ui/specials/rowflex.tsx","./ui/table/body.tsx","./ui/table/data.tsx","./ui/table/head.tsx","./ui/table/row.tsx","./ui/table/table.tsx","./ui/text/text.tsx","./ui/theme/dark.tsx","./ui/tooltip/tip.tsx","./ui/tooltip/tooltip.tsx","./node_modules/@types/eslint/helpers.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/eslint/index.d.ts","./node_modules/@types/eslint-scope/index.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/dom-events.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/globals.global.d.ts","./node_modules/@types/node/index.d.ts","../node_modules/@types/react/index.d.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"d170f168d3a216d06f519524f6020591224cf3405078a1d5ff2a4e21ed165fa2","signature":"81c7f9d1bc6c9766c8e391912094178b5412793dee104da070c24a9ac3551d06"},{"version":"b25a9ebf6a343947b889d30bf7efdd2c7e8387ea5bb96764dccd65d7cc24d7b6","signature":"e0cbdaced0f086ffe88b0bb3e01c45ce376253d8cb9f5eb30d0669aff0ed23ee"},{"version":"297e55adb0640f955fab29c960f5eec8fa5d801a17fd2fa631f6a155eb684e28","signature":"f6e7e471207d8e6bd90842058f877cfa4e44f5704163463e3bf20915a3396b99"},{"version":"f26b08622febef0686017e843a4eeafb78356487bebb4f1df06d2581ef40f127","signature":"1b6419287688fd3fe873427ac65232dd4a7e589caa8a88eb45558f8f9e907aa7"},{"version":"f8ded35cc92731ebe94abe800a3d765f3bde6571bdfb3ee10a3d7160f5213418","signature":"4406416cdb544ccb5d8d9fe039af702d2f9bf75ff5cf376c48eed0ec582c54d9"},{"version":"a84e1dbeddedefb5881bd709d3e06994fd89d100745280ad34e67cb2c159bed6","signature":"54ace37138cccdc06e559f42e91a3085923f51a51443c530fe71fc8e6563b5ca"},{"version":"0d25014bb999492966409794aebcb2e829823a86841c32cdad1368500fde3158","signature":"ab426d4f066e715eb129fd0b732dd7a2debc0bf83dc20f40cfa57876d2ffcad9"},{"version":"91758eaf8b94b9a8c28f99ae41542c19d05cd1fdbd701ec07e59633c1c6f1b12","signature":"579f1159b9251b3305502488018e8a11dc3200d4aea3dbea671ec10abfb1636d"},{"version":"ab6a897632cb34bd34596fcb7aa79d0926cab286083b9f90278023adf2305868","signature":"a90187cbe3f2cdffb81eac1830bcda17febc1cbf84360dd3dc0096797ee518cf"},{"version":"c3414a364283f51175889525370e830edb58aaa9dd5b005e1f50a237a1798911","signature":"25ba3b58a79812e01770cfc32c0f4712d74bdebefc6365941a0333e8204f9db0"},{"version":"087ab9bfc91b6bfca857c46cf578579548307c6a083812a63149334bc7224b90","signature":"924f2cb9adfd5435451e6e4ce843bc8534eb9c49e30c15d7aead836db6aa59e2"},{"version":"dffe7689b4ba1f86d96e59d652c1c6f4747fb4d8b57d2d6457a18c63564a66d7","signature":"e5ab4819a9abf40fdd9cb56fd2634dd20dd0858e999649b54032cb9c4d69d364"},{"version":"2356612f2a925b35264d2dd4b0081ca4720926b8f37031e62c5e209ebf6876df","signature":"2daca6c1c884c6bc3dd974353e2b84579601e4d8341a3d9f477e16e3db67f576"},{"version":"df38f022686cdb9a63a03bc016e2963bf443f0c3859481972e760792f9ebcc70","signature":"04efa92f56db84f99d1b6286ef87cd3a2516bd20e704b5c487d78d144eeeeb36"},{"version":"8d5b6ef4e309526de84a0e9242e2e878474364bdd17db63ac0f50dc61fe67dbc","signature":"b0592da080cfe74190cdf06b6ea65995339243ef0bde03ef7fbbd3f66427093c"},{"version":"5a6d6f4926a7abadbe42b97029956df3f89d0eb05346bd7e6548e40396274f60","signature":"3b469f77bf006cd13d2e440f99de248a285cc961308285d8e94393e828a07d0b"},{"version":"f735db73599cf69c9c8dfe00cf34ecf50ab4b6bc698f20db083abdbe0aee6fc5","signature":"7746797f7528bba431aecb4d67ada443ed128a872cbddbecf4692b408459aee4"},{"version":"170003de3ce043a1cd5edc05f01e5c236c3fbe6bf9b22d6be325bb8454b55263","signature":"2944057d492d7ba1e8b97021fa8fbace7358b0b123c1e2bd2cb25223c21ff26e"},{"version":"e91f769120a1f25d349e02625619485e405f86e0829ef9cd87d3d8aac101f266","signature":"eef1d8fbf875ee50b0e513c3d456fd4446939be9eab08d13f9f947e182c9fc3a"},{"version":"cc9ea4c65427ff76aa73f16f0906374a1cdc87d34b341c3b273660e25e0c8cc2","signature":"43c001e00ec1d30e34b96c1e42713d69d963d02f5d768cf76120bb442e71a31b"},{"version":"297ba59becb8904f91e7242c617c3768b791d4c4e4faa3669c60362173916822","signature":"44cf2a8d6e66a400ed585b9dc061c1e5f9aed6c0f206afbfa43af2cfb923610c"},{"version":"6e152b10b5ae3f4208c3c8a1c81f8787f9185f36f519cfc9ce1db4423553bafc","signature":"5d4ac859a30b12cc676104f55c404a2bb642b13a562aeb6154148fe743edf49c"},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",{"version":"98e7db31c0d0d46ac325c47e689a0b2a3e1531957fda83c1f71c9585ec8a7751","signature":"2acbf5e451ce9b604eda5a4e8a1b78ea648c16080f89a4598ff23dfad4e1aea8"},{"version":"46c4e2aff0588d6f923a37d473aa6199574cc47e94c8418d3c3930163a55bca9","signature":"f54ba4fadb676681f60a6c1a7da8df3f5f95c4adc45d0093a8bbf64073e16eca"},{"version":"cc2fff30224982decf2a494f8ece564c0f3576b1fd496ea4780b514bfd05741c","signature":"717ea48fb6eb38af205d7bc828165684f357e9f78b6c238d9950782e2052cf4c"},{"version":"48bc04f9a77152ff9c24343474967418766f5637dbdd8b1de80480d3547e2e88","signature":"7aabe9f0152f8c9155d5cd334b68a3ec410ff10aa94f9b419a0ec49c87b11088"},{"version":"040d402f456f54d20e894140a236abf9b5d2394f0b3332b22584389e94e90004","signature":"067b2ac73dcdd84cd9f25e07cafe0806c83e5551b519b6050647bb6a0d7b8d0b"},{"version":"8da7acbd41ed8a56de86d4acb9021f9ff1a6a900c2118622335bc798ced135af","signature":"b1915b06f170cf6d45476355c05b813879977193b516ab9619d957b06cc3f818"},{"version":"3ccaf410a48790c92de678da60cfc71d9a97de7ade4d0ee52d2cffc5face92be","signature":"ddd7efd2169b8bcda44083cea1aa22a3293f8a7c332978c4b09e36fc2d4afca6"},{"version":"890e230c7ea42de284f046c89dc08255eb13fc9fbb9905549ebe2fc1a761ff95","signature":"197f95e39436032447bb4b086472854d3007db9abdd972632f77be2fabaf4218"},{"version":"b860f0ea11eabfa512d44ffd4b032db9d2083e23c634e4452f0b0cc65bbe1069","signature":"f3eabfb2ffe68224ac7d353809c8347039abac12d3255e11f5374ff6bbaefa1e"},{"version":"c8ce2f479d7d589f68e94ec5d3d2ca77db3d899d92e0702cab8346a68ef6888b","signature":"bec1747a12ed89ce51a212f735e51864676eefea98316db793f9f13aa6f6cac9"},{"version":"49470c18f7c0401623f80044c7829ed12a5b8c2f74c6c569af2441dcd221213b","signature":"fb82a4793d6fbc1491a6ef5e75fc762816200c7c37893a6d39a11a3ea375cf27"},{"version":"61dcab0470c66a00e33832b23394e778c953376c65ceff48d0d2023673aee27f","signature":"9f48761253a1ce13ab10b1d963abe73bf658d18b61a1438cbca4ea5efdb6854d"},{"version":"3663656e7fa307298338e86096f48ba16c93d295162dfe1fe311d7c2b563aedc","signature":"7b8143505ac19e7ec7fd12aed68fe1d7f57667fe15b7ce09cd38c28e90002d7b"},{"version":"9081c24c6e19e7fd1c4923de52c10f7d88406a1a975482f1c5b1d81fe2e15ddb","signature":"506c80f34dc4142ff9e1198cdafbf9a0d133959b5f9a2162fe1eb5702e3e8a7f"},{"version":"d9fabe10de55cc322e7ddbbb052cf0c80da2b088798d955df95ee696bf150aaf","signature":"7a20f07e0325a1027103362c6d8867045e29ba2230fdd69f5f889f67365610fa"},{"version":"e1038c7e282137cf1260527320844e2dd1f2c58142f03b511dde821c44f9c816","signature":"53ac41382a75ae19440d336f188c122ff833263935ed8ab52e0dad9e3edccab9"},{"version":"fc30baf4b252df526a16b47d7e9c98c2b76bf9bfb0e2e2d11c537a4c0e1bb04a","signature":"8fc826ac7302f3ee0cf951aa553c43d1b2ec4f0814bace2c0f7579ffdf800c97"},{"version":"d353d26514d78be70c6df16ffd9a0f47a2909ddd8dd129baf07c361ccc8b916d","signature":"e566856e020d19390b767c2793f282bd80f1deafc9a5a991b92d2612336aedb6"},{"version":"891817e2188b5b3546a450d0215386c463c8b3616baa6240e6c1b0931c0bd1db","signature":"aa7378e192e62fd4fa39f7453ea4b055a2ad4a26e790d039e0e634f4b2a5381f"},{"version":"5c2510903ca949b6f8fe1646dfe96b3ba4d2ee69b60c2e64aba955b2af67e79a","signature":"4af43811ef989aa65942b80016a99f97d100bf2ba511fd0ed9ad954289aaedf7"},{"version":"67c3f1d65cf49e2f4607217313f52d8d51912e74bec57f18bdf124e493d7933b","signature":"c9f5c48de59ade55ab51eb0dc4eb324b6db2f9d0cbc0a73ece28d5c86ebac8e5"},{"version":"31d5cb8742098db821378aba36256e12cb81aa1091f3239da0ea252c4d0899c8","signature":"4b66f9350df1b3fc5c7dbcbc71ad302cc9dc27b0ce3e8bfabb6b0a3a2968b911"},{"version":"11a511686a2391c5c0e89b02a97cd1e913b4502bf4160eafcb803007f4b3be7c","signature":"1799f139aa52fbfc69f8ddf1ae9a8193926faf3262ec510a283f56ac5b74b50d"},{"version":"4d14e46970f24b2909e440007ff572f28ca21c3f4b0ed874870b9078a747076d","signature":"8aa255595fb57ee5f90ad70581d63a3c21de6005d07e0fcd285dc8548c29b727"},{"version":"c2f0b58c3d50db8657c2fc12ef216244dd8850ae750bd0c73d22da882ef87bdd","signature":"26af728255d4ec3ae236c85308676a471453d3d03e313b0a76cc00f529af13f2"},{"version":"c6d1fdc30e947aadaace82fedda54aea4370ef914d699b5fca2ff095c18c764a","signature":"935093d8de83f19b515b3eb7c4daadecbfa23c34a1202c9da02a291376e8544b"},{"version":"062ca126129bbe12597f46c76d6c9102f52c9d8abfc1ca1da3639aaaa83ff206","signature":"c1fcd97199a25ec618aea6d605c13f8e7bfbc7ed090033987c3e6d46b86b238b"},{"version":"ce81aa3c18a7a069d1cd2c26408adef2327b9f4210604dc784466bc23a7861cf","signature":"8eb74b76ac3072eba04558d5d5a25bc1729c952a968da1a66a1d47650850b914"},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"bee89e1eb6425eb49894f3f25e4562dc2564e84e5aa7610b7e13d8ecddf8f5db","dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b","facc7572c3330810ff4728113a324790679d4ed41fbd9e371028f08f1cad29f3","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"d32f90e6cf32e99c86009b5f79fa50bc750fe54e17137d9bb029c377a2822ee2","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"c81c51f43e343b6d89114b17341fb9d381c4ccbb25e0ee77532376052c801ba7","affectsGlobalScope":true},"3dd49afd822c82b63b3905a13e22240f34cf367aea4f4dd0e6564f4bddcb8370","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f302f3a47d7758f67f2afc753b9375d6504dde05d2e6ecdb1df50abbb131fc89","93db4c949a785a3dbef7f5e08523be538e468c580dd276178b818e761b3b68cd","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"6e335a70826a634c5a1a1fa36a2dacbf3712ef2be7a517540ae1de8a1e8ea4f6","affectsGlobalScope":true},"576115ea69691c96f8f2b9fcfde5d0fb9b5f047dfa7dec242ebc08694c3b3190","df8529626079d6f9d5d3cd7b6fb7db9cda5a3118d383d8cd46c52aadb59593e7","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","3122a3f1136508a27a229e0e4e2848299028300ffa11d0cdfe99df90c492fe20","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","d0cc270398605df704892142947b7b90e7b0ae354523dd2e1ae9a185a06440e7",{"version":"0066ebbd0f4ef9656983a2017969afa6460879e894ebaf6f2969631ad9b5b430","affectsGlobalScope":true},"fe6dba0e8c69f2b244e3da38e53dd2cc9e51b2543e647e805396af73006613f7","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"5810080a0da989a944d3b691b7b479a4a13c75947fb538abb8070710baa5ccee","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","8904e5b670bbfc712dda607853de9227206e7dad93ac97109fe30875c5f12b78","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270",{"version":"99822adc2defda34dc1b28b727577ec7c098d878d713157dbe90d212c6bf5e58","affectsGlobalScope":true},{"version":"8a985c7d30aea82342d5017730b546bb2b734fe37a2684ca55d4734deb019d58","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","5bc85813bfcb6907cc3a960fec8734a29d7884e0e372515147720c5991b8bc22","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"4d06f3abc2a6aae86f1be39e397372f74fb6e7964f594d645926b4a3419cc15d","affectsGlobalScope":true},{"version":"0e08c360c9b5961ecb0537b703e253842b3ded53151ee07024148219b61a8baf","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","5ba5b760345053acdf5beb1a9048ff43a51373f3d87849963779c1711ea7cbcc","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"4905d61a3e1e9b12e12dbf8660fc8d2f085734da6da8d725f395bf41a04853d6"],"root":[[49,99]],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"jsx":2,"module":1,"target":1},"fileIdsList":[[151],[101,103,151],[100,101,102,151],[105,151],[108,151],[109,114,142,151],[110,121,122,129,139,150,151],[110,111,121,129,151],[112,151],[113,114,122,130,151],[114,139,147,151],[115,117,121,129,151],[116,151],[117,118,151],[121,151],[119,121,151],[121,122,123,139,150,151],[121,122,123,136,139,142,151],[151,155],[117,121,124,129,139,150,151],[121,122,124,125,129,139,147,150,151],[124,126,139,147,150,151],[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157],[121,127,151],[128,150,151,155],[117,121,129,139,151],[130,151],[131,151],[108,132,151],[133,149,151,155],[134,151],[135,151],[121,136,137,151],[136,138,151,153],[109,121,139,140,141,142,151],[109,139,141,151],[139,140,151],[142,151],[143,151],[108,139,151],[121,145,146,151],[145,146,151],[114,129,139,147,151],[148,151],[129,149,151],[109,124,135,150,151],[114,151],[139,151,152],[128,151,153],[151,154],[109,114,121,123,132,139,150,151,153,155],[139,151,156],[49,151],[57,58,59,151],[56,151],[77,78,79,80,151],[82,83,84,151],[91,93,151],[159]],"referencedMap":[[49,1],[50,1],[104,2],[100,1],[103,3],[101,1],[102,1],[105,4],[106,4],[108,5],[109,6],[110,7],[111,8],[112,9],[113,10],[114,11],[115,12],[116,13],[117,14],[118,14],[120,15],[119,16],[121,15],[122,17],[123,18],[107,19],[157,1],[124,20],[125,21],[126,22],[158,23],[127,24],[128,25],[129,26],[130,27],[131,28],[132,29],[133,30],[134,31],[135,32],[136,33],[137,33],[138,34],[139,35],[141,36],[140,37],[142,38],[143,39],[144,40],[145,41],[146,42],[147,43],[148,44],[149,45],[150,46],[151,47],[152,48],[153,49],[154,50],[155,51],[156,52],[1,1],[47,1],[48,1],[9,1],[13,1],[12,1],[3,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[4,1],[5,1],[22,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[37,1],[34,1],[35,1],[36,1],[38,1],[8,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[2,1],[46,1],[11,1],[10,1],[51,1],[52,1],[53,1],[54,1],[55,1],[56,53],[60,54],[58,1],[61,1],[59,1],[57,1],[62,1],[63,1],[64,1],[65,1],[66,1],[67,1],[68,1],[69,1],[70,1],[71,1],[72,1],[73,55],[74,1],[75,1],[76,1],[77,1],[78,1],[79,1],[80,1],[81,56],[82,1],[83,1],[84,1],[85,57],[86,1],[87,1],[88,1],[89,1],[90,1],[91,1],[92,1],[93,1],[94,1],[95,58],[96,1],[97,1],[98,1],[99,1]],"exportedModulesMap":[[104,2],[100,1],[103,3],[101,1],[102,1],[105,4],[106,4],[108,5],[109,6],[110,7],[111,8],[112,9],[113,10],[114,11],[115,12],[116,13],[117,14],[118,14],[120,15],[119,16],[121,15],[122,17],[123,18],[107,19],[157,1],[124,20],[125,21],[126,22],[158,23],[127,24],[128,25],[129,26],[130,27],[131,28],[132,29],[133,30],[134,31],[135,32],[136,33],[137,33],[138,34],[139,35],[141,36],[140,37],[142,38],[143,39],[144,40],[145,41],[146,42],[147,43],[148,44],[149,45],[150,46],[151,47],[152,48],[153,49],[154,50],[155,51],[156,52],[1,1],[47,1],[48,1],[9,1],[13,1],[12,1],[3,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[4,1],[5,1],[22,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[37,1],[34,1],[35,1],[36,1],[38,1],[8,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[2,1],[46,1],[11,1],[10,1],[54,59],[62,59],[87,59]],"semanticDiagnosticsPerFile":[49,50,104,100,103,101,102,105,106,108,109,110,111,112,113,114,115,116,117,118,120,119,121,122,123,107,157,124,125,126,158,127,128,129,130,131,132,133,134,135,136,137,138,139,141,140,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,1,47,48,9,13,12,3,14,15,16,17,18,19,20,21,4,5,22,26,23,24,25,27,28,29,6,30,31,32,33,7,37,34,35,36,38,8,39,44,45,40,41,42,43,2,46,11,10,51,52,53,54,55,56,60,58,61,59,57,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,93,94,95,96,97,98,99],"latestChangedDtsFile":"./ui/list/List.d.ts"},"version":"5.2.2"}
|
|
1
|
+
{"program":{"fileNames":["./node_modules/typescript/lib/lib.d.ts","./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./assets/colors/colors.tsx","./js/fun.tsx","./ui/alert/alert.tsx","./ui/appbar/appbar.tsx","./ui/avatar/avatar.tsx","./ui/blob/blob.tsx","./ui/breadcrumb/breadcrumb.tsx","./ui/button/button.tsx","./ui/card/cardheader.tsx","./ui/card/cardbody.tsx","./ui/card/cardfooter.tsx","./ui/card/card.tsx","./ui/card/cardfab.tsx","./ui/container/container.tsx","./ui/div/div.tsx","./ui/drop/action.tsx","./ui/drop/down.tsx","./ui/drop/item.tsx","./ui/drop/menu.tsx","./ui/drop/up.tsx","./ui/grid/col.tsx","./ui/grid/grid.tsx","./ui/icon/icon.tsx","./ui/input/iconic.tsx","./ui/input/input.tsx","./ui/list/item.tsx","./ui/list/list.tsx","./ui/loader/loader.tsx","./ui/modal/action.tsx","./ui/modal/close.tsx","./ui/modal/content.tsx","./ui/modal/header.tsx","./ui/modal/modal.tsx","./ui/notification/content.tsx","./ui/notification/footer.tsx","./ui/notification/header.tsx","./ui/notification/notification.tsx","./ui/page/notfound.tsx","./ui/page/unauthorized.tsx","./ui/progress/bar.tsx","./ui/snackbar/snackbar.tsx","./ui/specials/circle.tsx","./ui/specials/hr.tsx","./ui/specials/rowflex.tsx","./ui/table/body.tsx","./ui/table/data.tsx","./ui/table/head.tsx","./ui/table/row.tsx","./ui/table/table.tsx","./ui/text/text.tsx","./ui/theme/dark.tsx","./ui/tooltip/tip.tsx","./ui/tooltip/tooltip.tsx","./node_modules/@types/eslint/helpers.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/eslint/index.d.ts","./node_modules/@types/eslint-scope/index.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/dom-events.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/globals.global.d.ts","./node_modules/@types/node/index.d.ts","../node_modules/@types/react/index.d.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"2ac9cdcfb8f8875c18d14ec5796a8b029c426f73ad6dc3ffb580c228b58d1c44","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"0075fa5ceda385bcdf3488e37786b5a33be730e8bc4aa3cf1e78c63891752ce8","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"09226e53d1cfda217317074a97724da3e71e2c545e18774484b61562afc53cd2","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"8b41361862022eb72fcc8a7f34680ac842aca802cf4bc1f915e8c620c9ce4331","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"f35a831e4f0fe3b3697f4a0fe0e3caa7624c92b78afbecaf142c0f93abfaf379","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"d170f168d3a216d06f519524f6020591224cf3405078a1d5ff2a4e21ed165fa2","signature":"81c7f9d1bc6c9766c8e391912094178b5412793dee104da070c24a9ac3551d06"},{"version":"34be7c14e089d2efaa97fb7840e2fda273d2418329fd474ff3848403e4ea08da","signature":"54dfb6e4237fb8aa06b81cba1891ae3bdfd0160d69434b7c6ddbe41f6b1b0285"},{"version":"297e55adb0640f955fab29c960f5eec8fa5d801a17fd2fa631f6a155eb684e28","signature":"f6e7e471207d8e6bd90842058f877cfa4e44f5704163463e3bf20915a3396b99"},{"version":"f26b08622febef0686017e843a4eeafb78356487bebb4f1df06d2581ef40f127","signature":"1b6419287688fd3fe873427ac65232dd4a7e589caa8a88eb45558f8f9e907aa7"},{"version":"f8ded35cc92731ebe94abe800a3d765f3bde6571bdfb3ee10a3d7160f5213418","signature":"4406416cdb544ccb5d8d9fe039af702d2f9bf75ff5cf376c48eed0ec582c54d9"},{"version":"a84e1dbeddedefb5881bd709d3e06994fd89d100745280ad34e67cb2c159bed6","signature":"54ace37138cccdc06e559f42e91a3085923f51a51443c530fe71fc8e6563b5ca"},{"version":"0d25014bb999492966409794aebcb2e829823a86841c32cdad1368500fde3158","signature":"ab426d4f066e715eb129fd0b732dd7a2debc0bf83dc20f40cfa57876d2ffcad9"},{"version":"a757acbffbb1285b8f3a9fb530581c75ba86fa4b19de01efa507be079f52ea97","signature":"9ed9f98cb4437d6a91ca87fabbe37a04fb9bb84ae37009e952ed20238b87f29c"},{"version":"ab6a897632cb34bd34596fcb7aa79d0926cab286083b9f90278023adf2305868","signature":"a90187cbe3f2cdffb81eac1830bcda17febc1cbf84360dd3dc0096797ee518cf"},{"version":"c3414a364283f51175889525370e830edb58aaa9dd5b005e1f50a237a1798911","signature":"25ba3b58a79812e01770cfc32c0f4712d74bdebefc6365941a0333e8204f9db0"},{"version":"087ab9bfc91b6bfca857c46cf578579548307c6a083812a63149334bc7224b90","signature":"924f2cb9adfd5435451e6e4ce843bc8534eb9c49e30c15d7aead836db6aa59e2"},{"version":"dffe7689b4ba1f86d96e59d652c1c6f4747fb4d8b57d2d6457a18c63564a66d7","signature":"e5ab4819a9abf40fdd9cb56fd2634dd20dd0858e999649b54032cb9c4d69d364"},{"version":"2356612f2a925b35264d2dd4b0081ca4720926b8f37031e62c5e209ebf6876df","signature":"2daca6c1c884c6bc3dd974353e2b84579601e4d8341a3d9f477e16e3db67f576"},{"version":"df38f022686cdb9a63a03bc016e2963bf443f0c3859481972e760792f9ebcc70","signature":"04efa92f56db84f99d1b6286ef87cd3a2516bd20e704b5c487d78d144eeeeb36"},{"version":"8d5b6ef4e309526de84a0e9242e2e878474364bdd17db63ac0f50dc61fe67dbc","signature":"b0592da080cfe74190cdf06b6ea65995339243ef0bde03ef7fbbd3f66427093c"},{"version":"5a6d6f4926a7abadbe42b97029956df3f89d0eb05346bd7e6548e40396274f60","signature":"3b469f77bf006cd13d2e440f99de248a285cc961308285d8e94393e828a07d0b"},{"version":"f735db73599cf69c9c8dfe00cf34ecf50ab4b6bc698f20db083abdbe0aee6fc5","signature":"7746797f7528bba431aecb4d67ada443ed128a872cbddbecf4692b408459aee4"},{"version":"170003de3ce043a1cd5edc05f01e5c236c3fbe6bf9b22d6be325bb8454b55263","signature":"2944057d492d7ba1e8b97021fa8fbace7358b0b123c1e2bd2cb25223c21ff26e"},{"version":"e91f769120a1f25d349e02625619485e405f86e0829ef9cd87d3d8aac101f266","signature":"eef1d8fbf875ee50b0e513c3d456fd4446939be9eab08d13f9f947e182c9fc3a"},{"version":"cc9ea4c65427ff76aa73f16f0906374a1cdc87d34b341c3b273660e25e0c8cc2","signature":"43c001e00ec1d30e34b96c1e42713d69d963d02f5d768cf76120bb442e71a31b"},{"version":"297ba59becb8904f91e7242c617c3768b791d4c4e4faa3669c60362173916822","signature":"44cf2a8d6e66a400ed585b9dc061c1e5f9aed6c0f206afbfa43af2cfb923610c"},{"version":"6e152b10b5ae3f4208c3c8a1c81f8787f9185f36f519cfc9ce1db4423553bafc","signature":"5d4ac859a30b12cc676104f55c404a2bb642b13a562aeb6154148fe743edf49c"},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",{"version":"98e7db31c0d0d46ac325c47e689a0b2a3e1531957fda83c1f71c9585ec8a7751","signature":"2acbf5e451ce9b604eda5a4e8a1b78ea648c16080f89a4598ff23dfad4e1aea8"},{"version":"46c4e2aff0588d6f923a37d473aa6199574cc47e94c8418d3c3930163a55bca9","signature":"f54ba4fadb676681f60a6c1a7da8df3f5f95c4adc45d0093a8bbf64073e16eca"},{"version":"cc2fff30224982decf2a494f8ece564c0f3576b1fd496ea4780b514bfd05741c","signature":"717ea48fb6eb38af205d7bc828165684f357e9f78b6c238d9950782e2052cf4c"},{"version":"48bc04f9a77152ff9c24343474967418766f5637dbdd8b1de80480d3547e2e88","signature":"7aabe9f0152f8c9155d5cd334b68a3ec410ff10aa94f9b419a0ec49c87b11088"},{"version":"040d402f456f54d20e894140a236abf9b5d2394f0b3332b22584389e94e90004","signature":"067b2ac73dcdd84cd9f25e07cafe0806c83e5551b519b6050647bb6a0d7b8d0b"},{"version":"8da7acbd41ed8a56de86d4acb9021f9ff1a6a900c2118622335bc798ced135af","signature":"b1915b06f170cf6d45476355c05b813879977193b516ab9619d957b06cc3f818"},{"version":"3ccaf410a48790c92de678da60cfc71d9a97de7ade4d0ee52d2cffc5face92be","signature":"ddd7efd2169b8bcda44083cea1aa22a3293f8a7c332978c4b09e36fc2d4afca6"},{"version":"890e230c7ea42de284f046c89dc08255eb13fc9fbb9905549ebe2fc1a761ff95","signature":"197f95e39436032447bb4b086472854d3007db9abdd972632f77be2fabaf4218"},{"version":"b860f0ea11eabfa512d44ffd4b032db9d2083e23c634e4452f0b0cc65bbe1069","signature":"f3eabfb2ffe68224ac7d353809c8347039abac12d3255e11f5374ff6bbaefa1e"},{"version":"c8ce2f479d7d589f68e94ec5d3d2ca77db3d899d92e0702cab8346a68ef6888b","signature":"bec1747a12ed89ce51a212f735e51864676eefea98316db793f9f13aa6f6cac9"},{"version":"49470c18f7c0401623f80044c7829ed12a5b8c2f74c6c569af2441dcd221213b","signature":"fb82a4793d6fbc1491a6ef5e75fc762816200c7c37893a6d39a11a3ea375cf27"},{"version":"61dcab0470c66a00e33832b23394e778c953376c65ceff48d0d2023673aee27f","signature":"9f48761253a1ce13ab10b1d963abe73bf658d18b61a1438cbca4ea5efdb6854d"},{"version":"3663656e7fa307298338e86096f48ba16c93d295162dfe1fe311d7c2b563aedc","signature":"7b8143505ac19e7ec7fd12aed68fe1d7f57667fe15b7ce09cd38c28e90002d7b"},{"version":"9081c24c6e19e7fd1c4923de52c10f7d88406a1a975482f1c5b1d81fe2e15ddb","signature":"506c80f34dc4142ff9e1198cdafbf9a0d133959b5f9a2162fe1eb5702e3e8a7f"},{"version":"50797fc46e2231095565287169fbf0324d2d529455dc28461f20b922d27ee31b","signature":"015f3a0c2f3075b09c64f71102556ae212f22d9039c380440776ff706e981ec8"},{"version":"d350531607ab8b5ee90b07c752d63a0460a0cd78882cea91e86af7f8d79b4e2c","signature":"73a5fc8797b957dfa7f86852336df6bfd71e5e0498bfb336b2e5c12c44658de8"},{"version":"d9fabe10de55cc322e7ddbbb052cf0c80da2b088798d955df95ee696bf150aaf","signature":"7a20f07e0325a1027103362c6d8867045e29ba2230fdd69f5f889f67365610fa"},{"version":"e1038c7e282137cf1260527320844e2dd1f2c58142f03b511dde821c44f9c816","signature":"53ac41382a75ae19440d336f188c122ff833263935ed8ab52e0dad9e3edccab9"},{"version":"fc30baf4b252df526a16b47d7e9c98c2b76bf9bfb0e2e2d11c537a4c0e1bb04a","signature":"8fc826ac7302f3ee0cf951aa553c43d1b2ec4f0814bace2c0f7579ffdf800c97"},{"version":"d353d26514d78be70c6df16ffd9a0f47a2909ddd8dd129baf07c361ccc8b916d","signature":"e566856e020d19390b767c2793f282bd80f1deafc9a5a991b92d2612336aedb6"},{"version":"891817e2188b5b3546a450d0215386c463c8b3616baa6240e6c1b0931c0bd1db","signature":"aa7378e192e62fd4fa39f7453ea4b055a2ad4a26e790d039e0e634f4b2a5381f"},{"version":"5c2510903ca949b6f8fe1646dfe96b3ba4d2ee69b60c2e64aba955b2af67e79a","signature":"4af43811ef989aa65942b80016a99f97d100bf2ba511fd0ed9ad954289aaedf7"},{"version":"67c3f1d65cf49e2f4607217313f52d8d51912e74bec57f18bdf124e493d7933b","signature":"c9f5c48de59ade55ab51eb0dc4eb324b6db2f9d0cbc0a73ece28d5c86ebac8e5"},{"version":"31d5cb8742098db821378aba36256e12cb81aa1091f3239da0ea252c4d0899c8","signature":"4b66f9350df1b3fc5c7dbcbc71ad302cc9dc27b0ce3e8bfabb6b0a3a2968b911"},{"version":"11a511686a2391c5c0e89b02a97cd1e913b4502bf4160eafcb803007f4b3be7c","signature":"1799f139aa52fbfc69f8ddf1ae9a8193926faf3262ec510a283f56ac5b74b50d"},{"version":"4d14e46970f24b2909e440007ff572f28ca21c3f4b0ed874870b9078a747076d","signature":"8aa255595fb57ee5f90ad70581d63a3c21de6005d07e0fcd285dc8548c29b727"},{"version":"c2f0b58c3d50db8657c2fc12ef216244dd8850ae750bd0c73d22da882ef87bdd","signature":"26af728255d4ec3ae236c85308676a471453d3d03e313b0a76cc00f529af13f2"},{"version":"c6d1fdc30e947aadaace82fedda54aea4370ef914d699b5fca2ff095c18c764a","signature":"935093d8de83f19b515b3eb7c4daadecbfa23c34a1202c9da02a291376e8544b"},{"version":"062ca126129bbe12597f46c76d6c9102f52c9d8abfc1ca1da3639aaaa83ff206","signature":"c1fcd97199a25ec618aea6d605c13f8e7bfbc7ed090033987c3e6d46b86b238b"},{"version":"ce81aa3c18a7a069d1cd2c26408adef2327b9f4210604dc784466bc23a7861cf","signature":"8eb74b76ac3072eba04558d5d5a25bc1729c952a968da1a66a1d47650850b914"},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"bee89e1eb6425eb49894f3f25e4562dc2564e84e5aa7610b7e13d8ecddf8f5db","dca41e86e89dfb2e85e6935260250f02eb6683b86c2fa16bec729ddd1bcd9b4b","facc7572c3330810ff4728113a324790679d4ed41fbd9e371028f08f1cad29f3","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","587f13f1e8157bd8cec0adda0de4ef558bb8573daa9d518d1e2af38e87ecc91f","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"d32f90e6cf32e99c86009b5f79fa50bc750fe54e17137d9bb029c377a2822ee2","affectsGlobalScope":true},"7a435e0c814f58f23e9a0979045ec0ef5909aac95a70986e8bcce30c27dff228",{"version":"c81c51f43e343b6d89114b17341fb9d381c4ccbb25e0ee77532376052c801ba7","affectsGlobalScope":true},"3dd49afd822c82b63b3905a13e22240f34cf367aea4f4dd0e6564f4bddcb8370","57135ce61976a8b1dadd01bb412406d1805b90db6e8ecb726d0d78e0b5f76050",{"version":"49479e21a040c0177d1b1bc05a124c0383df7a08a0726ad4d9457619642e875a","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f302f3a47d7758f67f2afc753b9375d6504dde05d2e6ecdb1df50abbb131fc89","93db4c949a785a3dbef7f5e08523be538e468c580dd276178b818e761b3b68cd","5b1c0a23f464f894e7c2b2b6c56df7b9afa60ed48c5345f8618d389a636b2108","be2b092f2765222757c6441b86c53a5ea8dfed47bbc43eab4c5fe37942c866b3","8e6b05abc98adba15e1ac78e137c64576c74002e301d682e66feb77a23907ab8","1ca735bb3d407b2af4fbee7665f3a0a83be52168c728cc209755060ba7ed67bd",{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true},{"version":"6e335a70826a634c5a1a1fa36a2dacbf3712ef2be7a517540ae1de8a1e8ea4f6","affectsGlobalScope":true},"576115ea69691c96f8f2b9fcfde5d0fb9b5f047dfa7dec242ebc08694c3b3190","df8529626079d6f9d5d3cd7b6fb7db9cda5a3118d383d8cd46c52aadb59593e7","55709608060f77965c270ac10ac646286589f1bd1cb174fff1778a2dd9a7ef31","3122a3f1136508a27a229e0e4e2848299028300ffa11d0cdfe99df90c492fe20","42b40e40f2a358cda332456214fad311e1806a6abf3cebaaac72496e07556642","d0cc270398605df704892142947b7b90e7b0ae354523dd2e1ae9a185a06440e7",{"version":"0066ebbd0f4ef9656983a2017969afa6460879e894ebaf6f2969631ad9b5b430","affectsGlobalScope":true},"fe6dba0e8c69f2b244e3da38e53dd2cc9e51b2543e647e805396af73006613f7","5e2b91328a540a0933ab5c2203f4358918e6f0fe7505d22840a891a6117735f1","3abc3512fa04aa0230f59ea1019311fd8667bd935d28306311dccc8b17e79d5d",{"version":"5810080a0da989a944d3b691b7b479a4a13c75947fb538abb8070710baa5ccee","affectsGlobalScope":true},{"version":"19da7150ca062323b1db6311a6ef058c9b0a39cc64d836b5e9b75d301869653b","affectsGlobalScope":true},"1349077576abb41f0e9c78ec30762ff75b710208aff77f5fdcc6a8c8ce6289dd","e2ce82603102b5c0563f59fb40314cc1ff95a4d521a66ad14146e130ea80d89c","a3e0395220255a350aa9c6d56f882bfcb5b85c19fddf5419ec822cf22246a26d","c27b01e8ddff5cd280711af5e13aecd9a3228d1c256ea797dd64f8fdec5f7df5","898840e876dfd21843db9f2aa6ae38ba2eab550eb780ff62b894b9fbfebfae6b","8904e5b670bbfc712dda607853de9227206e7dad93ac97109fe30875c5f12b78","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","785e5be57d4f20f290a20e7b0c6263f6c57fd6e51283050756cef07d6d651c68","44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","164deb2409ac5f4da3cd139dbcee7f7d66753d90363a4d7e2db8d8874f272270",{"version":"99822adc2defda34dc1b28b727577ec7c098d878d713157dbe90d212c6bf5e58","affectsGlobalScope":true},{"version":"8a985c7d30aea82342d5017730b546bb2b734fe37a2684ca55d4734deb019d58","affectsGlobalScope":true},"ad08154d9602429522cac965a715fde27d421d69b24756c5d291877dda75353e","5bc85813bfcb6907cc3a960fec8734a29d7884e0e372515147720c5991b8bc22","812b25f798033c202baedf386a1ccc41f9191b122f089bffd10fdccce99fba11","993325544790073f77e945bee046d53988c0bc3ac5695c9cf8098166feb82661",{"version":"4d06f3abc2a6aae86f1be39e397372f74fb6e7964f594d645926b4a3419cc15d","affectsGlobalScope":true},{"version":"0e08c360c9b5961ecb0537b703e253842b3ded53151ee07024148219b61a8baf","affectsGlobalScope":true},"2ce2210032ccaff7710e2abf6a722e62c54960458e73e356b6a365c93ab6ca66","5ba5b760345053acdf5beb1a9048ff43a51373f3d87849963779c1711ea7cbcc","16a3080e885ed52d4017c902227a8d0d8daf723d062bec9e45627c6fdcd6699b",{"version":"0bd9543cd8fc0959c76fb8f4f5a26626c2ed62ef4be98fd857bce268066db0a2","affectsGlobalScope":true},"1ca6858a0cbcd74d7db72d7b14c5360a928d1d16748a55ecfa6bfaff8b83071b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"4905d61a3e1e9b12e12dbf8660fc8d2f085734da6da8d725f395bf41a04853d6"],"root":[[49,101]],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"jsx":2,"module":1,"target":1},"fileIdsList":[[153],[103,105,153],[102,103,104,153],[107,153],[110,153],[111,116,144,153],[112,123,124,131,141,152,153],[112,113,123,131,153],[114,153],[115,116,124,132,153],[116,141,149,153],[117,119,123,131,153],[118,153],[119,120,153],[123,153],[121,123,153],[123,124,125,141,152,153],[123,124,125,138,141,144,153],[153,157],[119,123,126,131,141,152,153],[123,124,126,127,131,141,149,152,153],[126,128,141,149,152,153],[107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159],[123,129,153],[130,152,153,157],[119,123,131,141,153],[132,153],[133,153],[110,134,153],[135,151,153,157],[136,153],[137,153],[123,138,139,153],[138,140,153,155],[111,123,141,142,143,144,153],[111,141,143,153],[141,142,153],[144,153],[145,153],[110,141,153],[123,147,148,153],[147,148,153],[116,131,141,149,153],[150,153],[131,151,153],[111,126,137,152,153],[116,153],[141,153,154],[130,153,155],[153,156],[111,116,123,125,134,141,152,153,155,157],[141,153,158],[49,153],[57,58,59,153],[56,153],[77,78,79,80,153],[82,83,84,153],[93,95,153],[161]],"referencedMap":[[49,1],[50,1],[106,2],[102,1],[105,3],[103,1],[104,1],[107,4],[108,4],[110,5],[111,6],[112,7],[113,8],[114,9],[115,10],[116,11],[117,12],[118,13],[119,14],[120,14],[122,15],[121,16],[123,15],[124,17],[125,18],[109,19],[159,1],[126,20],[127,21],[128,22],[160,23],[129,24],[130,25],[131,26],[132,27],[133,28],[134,29],[135,30],[136,31],[137,32],[138,33],[139,33],[140,34],[141,35],[143,36],[142,37],[144,38],[145,39],[146,40],[147,41],[148,42],[149,43],[150,44],[151,45],[152,46],[153,47],[154,48],[155,49],[156,50],[157,51],[158,52],[1,1],[47,1],[48,1],[9,1],[13,1],[12,1],[3,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[4,1],[5,1],[22,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[37,1],[34,1],[35,1],[36,1],[38,1],[8,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[2,1],[46,1],[11,1],[10,1],[51,1],[52,1],[53,1],[54,1],[55,1],[56,53],[60,54],[58,1],[61,1],[59,1],[57,1],[62,1],[63,1],[64,1],[65,1],[66,1],[67,1],[68,1],[69,1],[70,1],[71,1],[72,1],[73,55],[74,1],[75,1],[76,1],[77,1],[78,1],[79,1],[80,1],[81,56],[82,1],[83,1],[84,1],[85,57],[86,55],[87,55],[88,1],[89,1],[90,1],[91,1],[92,1],[93,1],[94,1],[95,1],[96,1],[97,58],[98,1],[99,1],[100,1],[101,1]],"exportedModulesMap":[[106,2],[102,1],[105,3],[103,1],[104,1],[107,4],[108,4],[110,5],[111,6],[112,7],[113,8],[114,9],[115,10],[116,11],[117,12],[118,13],[119,14],[120,14],[122,15],[121,16],[123,15],[124,17],[125,18],[109,19],[159,1],[126,20],[127,21],[128,22],[160,23],[129,24],[130,25],[131,26],[132,27],[133,28],[134,29],[135,30],[136,31],[137,32],[138,33],[139,33],[140,34],[141,35],[143,36],[142,37],[144,38],[145,39],[146,40],[147,41],[148,42],[149,43],[150,44],[151,45],[152,46],[153,47],[154,48],[155,49],[156,50],[157,51],[158,52],[1,1],[47,1],[48,1],[9,1],[13,1],[12,1],[3,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[21,1],[4,1],[5,1],[22,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[6,1],[30,1],[31,1],[32,1],[33,1],[7,1],[37,1],[34,1],[35,1],[36,1],[38,1],[8,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[2,1],[46,1],[11,1],[10,1],[54,59],[62,59],[89,59]],"semanticDiagnosticsPerFile":[49,50,106,102,105,103,104,107,108,110,111,112,113,114,115,116,117,118,119,120,122,121,123,124,125,109,159,126,127,128,160,129,130,131,132,133,134,135,136,137,138,139,140,141,143,142,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,1,47,48,9,13,12,3,14,15,16,17,18,19,20,21,4,5,22,26,23,24,25,27,28,29,6,30,31,32,33,7,37,34,35,36,38,8,39,44,45,40,41,42,43,2,46,11,10,51,52,53,54,55,56,60,58,61,59,57,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,93,94,95,96,97,98,99,100,101],"latestChangedDtsFile":"./ui/button/Button.d.ts"},"version":"5.2.2"}
|
package/ui/button/Button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode,
|
|
1
|
+
import { ReactNode, MouseEvent } from 'react';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
interface ButtonProps
|
|
3
|
+
interface ButtonProps {
|
|
4
4
|
color?: string;
|
|
5
5
|
bg?: string;
|
|
6
6
|
funcss?: string;
|
|
@@ -31,6 +31,7 @@ interface ButtonProps extends HTMLProps<HTMLButtonElement> {
|
|
|
31
31
|
isLoading?: boolean;
|
|
32
32
|
status?: 'success' | 'warning' | 'info' | 'danger';
|
|
33
33
|
children?: React.ReactNode;
|
|
34
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
34
35
|
}
|
|
35
|
-
export default function Button({ color, bg, funcss, startIcon, endIcon, text, rounded, raised, height, width, float, hoverUp, fullWidth, outlined, small, smaller, big, bigger, jumbo, flat, hoverNone, fillAnimation, fillDirection, fillTextColor, outlineSize, disabled, isLoading, status, children,
|
|
36
|
+
export default function Button({ color, bg, funcss, startIcon, endIcon, text, rounded, raised, height, width, float, hoverUp, fullWidth, outlined, small, smaller, big, bigger, jumbo, flat, hoverNone, fillAnimation, fillDirection, fillTextColor, outlineSize, disabled, isLoading, status, children, onClick, }: ButtonProps): any;
|
|
36
37
|
export {};
|
package/ui/button/Button.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
3
|
if (k2 === undefined) k2 = k;
|
|
15
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -33,23 +22,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
33
22
|
__setModuleDefault(result, mod);
|
|
34
23
|
return result;
|
|
35
24
|
};
|
|
36
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
-
var t = {};
|
|
38
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
-
t[p] = s[p];
|
|
40
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
-
t[p[i]] = s[p[i]];
|
|
44
|
-
}
|
|
45
|
-
return t;
|
|
46
|
-
};
|
|
47
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
26
|
var React = __importStar(require("react"));
|
|
49
27
|
var colors_1 = require("../../assets/colors/colors");
|
|
50
28
|
var pi_1 = require("react-icons/pi");
|
|
51
29
|
function Button(_a) {
|
|
52
|
-
var color = _a.color, bg = _a.bg, funcss = _a.funcss, startIcon = _a.startIcon, endIcon = _a.endIcon, text = _a.text, rounded = _a.rounded, raised = _a.raised, height = _a.height, width = _a.width, float = _a.float, hoverUp = _a.hoverUp, fullWidth = _a.fullWidth, outlined = _a.outlined, small = _a.small, smaller = _a.smaller, big = _a.big, bigger = _a.bigger, jumbo = _a.jumbo, flat = _a.flat, hoverNone = _a.hoverNone, fillAnimation = _a.fillAnimation, fillDirection = _a.fillDirection, fillTextColor = _a.fillTextColor, outlineSize = _a.outlineSize, disabled = _a.disabled, isLoading = _a.isLoading, status = _a.status, children = _a.children,
|
|
30
|
+
var color = _a.color, bg = _a.bg, funcss = _a.funcss, startIcon = _a.startIcon, endIcon = _a.endIcon, text = _a.text, rounded = _a.rounded, raised = _a.raised, height = _a.height, width = _a.width, float = _a.float, hoverUp = _a.hoverUp, fullWidth = _a.fullWidth, outlined = _a.outlined, small = _a.small, smaller = _a.smaller, big = _a.big, bigger = _a.bigger, jumbo = _a.jumbo, flat = _a.flat, hoverNone = _a.hoverNone, fillAnimation = _a.fillAnimation, fillDirection = _a.fillDirection, fillTextColor = _a.fillTextColor, outlineSize = _a.outlineSize, disabled = _a.disabled, isLoading = _a.isLoading, status = _a.status, children = _a.children, onClick = _a.onClick;
|
|
53
31
|
var classNames = [
|
|
54
32
|
'button',
|
|
55
33
|
"text-".concat(color),
|
|
@@ -68,8 +46,8 @@ function Button(_a) {
|
|
|
68
46
|
outlined ? "outlined text-".concat(color ? color : bg) : bg || '',
|
|
69
47
|
"".concat(fillAnimation ? "".concat(fillTextColor ? "hover-text-".concat(fillTextColor) : '', " button-fill fill-").concat(fillDirection ? fillDirection : 'left') : '')
|
|
70
48
|
].join(' ');
|
|
71
|
-
return (React.createElement("span",
|
|
72
|
-
React.createElement("button", { disabled: disabled ? disabled : false, className: "".concat(classNames, " ").concat(startIcon || endIcon ? 'iconic' : ''), style: {
|
|
49
|
+
return (React.createElement("span", null,
|
|
50
|
+
React.createElement("button", { onClick: onClick, disabled: disabled ? disabled : false, className: "".concat(classNames, " ").concat(startIcon || endIcon ? 'iconic' : ''), style: {
|
|
73
51
|
height: height || '',
|
|
74
52
|
width: fullWidth ? '100%' : width || '',
|
|
75
53
|
borderRadius: flat ? '0rem' : '',
|
package/ui/button/Button.tsx
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { colors } from '../../assets/colors/colors';
|
|
4
4
|
import { PiInfo , PiCheck , PiWarning , PiX , PiSpinner } from "react-icons/pi";
|
|
5
5
|
|
|
6
|
-
interface ButtonProps
|
|
6
|
+
interface ButtonProps {
|
|
7
7
|
color?: string;
|
|
8
8
|
bg?: string;
|
|
9
9
|
funcss?: string;
|
|
@@ -33,7 +33,8 @@ interface ButtonProps extends HTMLProps<HTMLButtonElement> {
|
|
|
33
33
|
disabled?:boolean ,
|
|
34
34
|
isLoading?:boolean ,
|
|
35
35
|
status?: 'success' | 'warning' | 'info' | 'danger'
|
|
36
|
-
children?:React.ReactNode
|
|
36
|
+
children?:React.ReactNode,
|
|
37
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export default function Button({
|
|
@@ -66,7 +67,7 @@ export default function Button({
|
|
|
66
67
|
isLoading,
|
|
67
68
|
status,
|
|
68
69
|
children,
|
|
69
|
-
|
|
70
|
+
onClick ,
|
|
70
71
|
}: ButtonProps) {
|
|
71
72
|
const classNames = [
|
|
72
73
|
'button',
|
|
@@ -90,8 +91,9 @@ export default function Button({
|
|
|
90
91
|
|
|
91
92
|
|
|
92
93
|
return (
|
|
93
|
-
<span
|
|
94
|
+
<span >
|
|
94
95
|
<button
|
|
96
|
+
onClick={onClick}
|
|
95
97
|
disabled={disabled ? disabled : false}
|
|
96
98
|
className={`${classNames} ${startIcon || endIcon ? 'iconic' : ''}`}
|
|
97
99
|
style={{
|
|
@@ -101,6 +103,7 @@ export default function Button({
|
|
|
101
103
|
border:`${outlined ? `${outlineSize ? `${outlineSize}rem solid ${colors[`${bg}`]}` : `0.12rem solid ${colors[bg]}`}` :'' } `
|
|
102
104
|
}}
|
|
103
105
|
>
|
|
106
|
+
|
|
104
107
|
{
|
|
105
108
|
isLoading &&
|
|
106
109
|
<span className='rotate btn_left_icon'>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface NotFoundProps {
|
|
3
|
+
header?: React.ReactNode;
|
|
4
|
+
code?: number;
|
|
5
|
+
content?: React.ReactNode;
|
|
6
|
+
action?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export default function NotFound({ header, code, content, action }: NotFoundProps): any;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
var React = __importStar(require("react"));
|
|
30
|
+
var Button_1 = __importDefault(require("../button/Button"));
|
|
31
|
+
var pi_1 = require("react-icons/pi");
|
|
32
|
+
function NotFound(_a) {
|
|
33
|
+
var header = _a.header, code = _a.code, content = _a.content, action = _a.action;
|
|
34
|
+
return (React.createElement("div", null,
|
|
35
|
+
React.createElement("div", null,
|
|
36
|
+
React.createElement("div", { className: "central", style: { minHeight: "100vh", width: "100%", padding: "4rem 0px" } },
|
|
37
|
+
React.createElement("div", { className: "text-center width-600-max" },
|
|
38
|
+
code ?
|
|
39
|
+
code :
|
|
40
|
+
React.createElement("div", { className: "h2 text-warning round-edge" }, "404"),
|
|
41
|
+
React.createElement("div", { style: { margin: "1.4rem 0px" } }, header ? header
|
|
42
|
+
:
|
|
43
|
+
React.createElement("div", { className: "text-bigger text-dark300", style: { display: "block", transition: "all 0.2s linear 0s" } }, "Page Not Found")),
|
|
44
|
+
content ? content :
|
|
45
|
+
React.createElement("div", { className: "article" }, "Sorry, we couldn't find the page you're looking for."),
|
|
46
|
+
React.createElement("div", { style: { margin: "2rem 0px" } }, action ? action :
|
|
47
|
+
React.createElement("div", { className: "row-flex gap", style: { justifyContent: "center", gap: "0.4rem" } },
|
|
48
|
+
React.createElement(Button_1.default, { raised: true, startIcon: React.createElement(pi_1.PiHouse, null), bg: 'primary800', onClick: function () { return window.location.assign("/"); } }, "Back To Home"))))))));
|
|
49
|
+
}
|
|
50
|
+
exports.default = NotFound;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Button from '../button/Button';
|
|
3
|
+
import {PiHouse} from 'react-icons/pi'
|
|
4
|
+
|
|
5
|
+
interface NotFoundProps {
|
|
6
|
+
header?:React.ReactNode
|
|
7
|
+
code?:number
|
|
8
|
+
content?:React.ReactNode
|
|
9
|
+
action?:React.ReactNode
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default function NotFound(
|
|
13
|
+
{
|
|
14
|
+
header ,
|
|
15
|
+
code ,
|
|
16
|
+
content ,
|
|
17
|
+
action
|
|
18
|
+
}:NotFoundProps
|
|
19
|
+
) {
|
|
20
|
+
return (
|
|
21
|
+
<div>
|
|
22
|
+
<div>
|
|
23
|
+
<div className="central" style={{ minHeight: "100vh", width: "100%", padding: "4rem 0px" }}>
|
|
24
|
+
<div className="text-center width-600-max">
|
|
25
|
+
{
|
|
26
|
+
code ?
|
|
27
|
+
code :
|
|
28
|
+
<div className="h2 text-warning round-edge">
|
|
29
|
+
404
|
|
30
|
+
</div>
|
|
31
|
+
}
|
|
32
|
+
<div style={{ margin: "1.4rem 0px" }}>
|
|
33
|
+
{
|
|
34
|
+
header ? header
|
|
35
|
+
:
|
|
36
|
+
<div className="text-bigger text-dark300" style={{ display: "block", transition: "all 0.2s linear 0s" }}>
|
|
37
|
+
Page Not Found
|
|
38
|
+
</div>
|
|
39
|
+
}
|
|
40
|
+
</div>
|
|
41
|
+
{
|
|
42
|
+
content ? content :
|
|
43
|
+
<div className="article">
|
|
44
|
+
Sorry, we couldn't find the page you're looking for.
|
|
45
|
+
</div>
|
|
46
|
+
}
|
|
47
|
+
<div style={{ margin: "2rem 0px" }}>
|
|
48
|
+
{
|
|
49
|
+
action ? action :
|
|
50
|
+
<div className="row-flex gap" style={{ justifyContent: "center", gap: "0.4rem" }}>
|
|
51
|
+
<Button raised startIcon={<PiHouse />} bg='primary800' onClick={() => window.location.assign("/")}>
|
|
52
|
+
Back To Home
|
|
53
|
+
</Button>
|
|
54
|
+
</div>
|
|
55
|
+
}
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
);
|
|
62
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface UnAuthorizedProps {
|
|
3
|
+
header?: React.ReactNode;
|
|
4
|
+
code?: number;
|
|
5
|
+
content?: React.ReactNode;
|
|
6
|
+
action?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export default function UnAuthorized({ header, code, content, action }: UnAuthorizedProps): any;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
var React = __importStar(require("react"));
|
|
30
|
+
var Button_1 = __importDefault(require("../button/Button"));
|
|
31
|
+
var pi_1 = require("react-icons/pi");
|
|
32
|
+
function UnAuthorized(_a) {
|
|
33
|
+
var header = _a.header, code = _a.code, content = _a.content, action = _a.action;
|
|
34
|
+
return (React.createElement("div", null,
|
|
35
|
+
React.createElement("div", null,
|
|
36
|
+
React.createElement("div", { className: "central", style: { minHeight: "100vh", width: "100%", padding: "4rem 0px" } },
|
|
37
|
+
React.createElement("div", { className: "text-center width-600-max" },
|
|
38
|
+
code ?
|
|
39
|
+
code :
|
|
40
|
+
React.createElement("div", { className: "h2 text-warning round-edge" }, "401"),
|
|
41
|
+
React.createElement("div", { style: { margin: "1.4rem 0px" } }, header ? header
|
|
42
|
+
:
|
|
43
|
+
React.createElement("div", { className: "text-bigger text-dark300", style: { display: "block", transition: "all 0.2s linear 0s" } }, "Unauthorized Access")),
|
|
44
|
+
content ? content :
|
|
45
|
+
React.createElement("div", { className: "article" }, "Sorry! You do not have access to this resource."),
|
|
46
|
+
React.createElement("div", { style: { margin: "2rem 0px" } }, action ? action :
|
|
47
|
+
React.createElement("div", { className: "row-flex gap", style: { justifyContent: "center", gap: "0.4rem" } },
|
|
48
|
+
React.createElement(Button_1.default, { raised: true, startIcon: React.createElement(pi_1.PiHouse, null), bg: 'primary800', onClick: function () { return window.location.assign("/"); } }, "Back To Home"))))))));
|
|
49
|
+
}
|
|
50
|
+
exports.default = UnAuthorized;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import Button from '../button/Button';
|
|
3
|
+
import {PiHouse} from 'react-icons/pi'
|
|
4
|
+
|
|
5
|
+
interface UnAuthorizedProps {
|
|
6
|
+
header?:React.ReactNode
|
|
7
|
+
code?:number
|
|
8
|
+
content?:React.ReactNode
|
|
9
|
+
action?:React.ReactNode
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default function UnAuthorized(
|
|
13
|
+
{
|
|
14
|
+
header ,
|
|
15
|
+
code ,
|
|
16
|
+
content ,
|
|
17
|
+
action
|
|
18
|
+
}:UnAuthorizedProps
|
|
19
|
+
) {
|
|
20
|
+
return (
|
|
21
|
+
<div>
|
|
22
|
+
<div>
|
|
23
|
+
<div className="central" style={{ minHeight: "100vh", width: "100%", padding: "4rem 0px" }}>
|
|
24
|
+
<div className="text-center width-600-max">
|
|
25
|
+
{
|
|
26
|
+
code ?
|
|
27
|
+
code :
|
|
28
|
+
<div className="h2 text-warning round-edge">
|
|
29
|
+
401
|
|
30
|
+
</div>
|
|
31
|
+
}
|
|
32
|
+
<div style={{ margin: "1.4rem 0px" }}>
|
|
33
|
+
{
|
|
34
|
+
header ? header
|
|
35
|
+
:
|
|
36
|
+
<div className="text-bigger text-dark300" style={{ display: "block", transition: "all 0.2s linear 0s" }}>
|
|
37
|
+
Unauthorized Access
|
|
38
|
+
</div>
|
|
39
|
+
}
|
|
40
|
+
</div>
|
|
41
|
+
{
|
|
42
|
+
content ? content :
|
|
43
|
+
<div className="article">
|
|
44
|
+
Sorry! You do not have access to this resource.
|
|
45
|
+
</div>
|
|
46
|
+
}
|
|
47
|
+
<div style={{ margin: "2rem 0px" }}>
|
|
48
|
+
{
|
|
49
|
+
action ? action :
|
|
50
|
+
<div className="row-flex gap" style={{ justifyContent: "center", gap: "0.4rem" }}>
|
|
51
|
+
<Button raised startIcon={<PiHouse />} bg='primary800' onClick={() => window.location.assign("/")}>
|
|
52
|
+
Back To Home
|
|
53
|
+
</Button>
|
|
54
|
+
</div>
|
|
55
|
+
}
|
|
56
|
+
</div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
);
|
|
62
|
+
}
|