dq-cus-lib 1.0.13 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +181 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +29 -6
- package/dist/index.js +365 -1
- package/dist/index.js.map +1 -0
- package/package.json +15 -40
- package/dist/Card-Bfg8P2ba.mjs +0 -70
- package/dist/Card-DZoz07x1.js +0 -1
- package/dist/CardContent-C3iE4rdC.js +0 -1
- package/dist/CardContent-CX83Iz5u.mjs +0 -73
- package/dist/Container-CHiQwwon.mjs +0 -3470
- package/dist/Container-DRUrQLPe.js +0 -34
- package/dist/Paper-B1BWzC32.js +0 -3
- package/dist/Paper-px0ZrIl-.mjs +0 -725
- package/dist/Typography-DjYh_lcA.js +0 -1
- package/dist/Typography-dhPvE-yk.mjs +0 -524
- package/dist/button-BTe1MJmo.mjs +0 -2052
- package/dist/button-XEz-DvWZ.js +0 -132
- package/dist/components/common/loading.d.ts +0 -2
- package/dist/components/common/login-image.d.ts +0 -6
- package/dist/components/error.page/error.d.ts +0 -2
- package/dist/components/landing.page/constants.d.ts +0 -5
- package/dist/components/landing.page/features.d.ts +0 -3
- package/dist/components/landing.page/footer.d.ts +0 -7
- package/dist/components/landing.page/header.d.ts +0 -7
- package/dist/components/landing.page/hero.d.ts +0 -7
- package/dist/components/layout.page/api-calls.d.ts +0 -2
- package/dist/components/layout.page/constants.d.ts +0 -9
- package/dist/components/layout.page/footer.d.ts +0 -2
- package/dist/components/layout.page/header.d.ts +0 -5
- package/dist/components/signin.page/api-calls.d.ts +0 -1
- package/dist/components/signin.page/business-rules.d.ts +0 -1
- package/dist/components/signin.page/footer-links.d.ts +0 -10
- package/dist/components/signin.page/sign-in.d.ts +0 -6
- package/dist/components/user.page/card.d.ts +0 -12
- package/dist/components/user.page/constants.d.ts +0 -16
- package/dist/components/user.page/navigator-icon.d.ts +0 -8
- package/dist/components/user.page/navigator-link.d.ts +0 -8
- package/dist/constants-CYWfA_it.js +0 -1
- package/dist/constants-bixGJi69.mjs +0 -10
- package/dist/dashboard.page.d.ts +0 -4
- package/dist/dashboard.page.js +0 -1
- package/dist/dashboard.page.mjs +0 -52
- package/dist/dq-cus-lib.css +0 -1
- package/dist/error-B0u1MssC.mjs +0 -17
- package/dist/error-C-Fm8lre.js +0 -1
- package/dist/error.page.d.ts +0 -4
- package/dist/error.page.js +0 -1
- package/dist/error.page.mjs +0 -10
- package/dist/favicon.ico +0 -0
- package/dist/header-BLuHRYED.js +0 -1
- package/dist/header-DZeF4MvE.mjs +0 -353
- package/dist/index-CCRuOAqd.js +0 -292
- package/dist/index-gUmyoYAp.mjs +0 -477
- package/dist/index.mjs +0 -16
- package/dist/jsx-runtime-nZSsnGb7.js +0 -6
- package/dist/jsx-runtime-tc70JA_2.mjs +0 -264
- package/dist/landing.page.d.ts +0 -4
- package/dist/landing.page.js +0 -3
- package/dist/landing.page.mjs +0 -181
- package/dist/layout.page.d.ts +0 -4
- package/dist/layout.page.js +0 -1
- package/dist/layout.page.mjs +0 -24
- package/dist/library/index.d.ts +0 -6
- package/dist/link-button-BkYJm52P.mjs +0 -52
- package/dist/link-button-yZmEF1A6.js +0 -19
- package/dist/logout-error.page.d.ts +0 -4
- package/dist/logout-error.page.js +0 -1
- package/dist/logout-error.page.mjs +0 -31
- package/dist/manifest.json +0 -15
- package/dist/pages/dashboard.page.d.ts +0 -2
- package/dist/pages/error.page.d.ts +0 -2
- package/dist/pages/landing.page.d.ts +0 -7
- package/dist/pages/layout.page.d.ts +0 -8
- package/dist/pages/logout-error.page.d.ts +0 -6
- package/dist/pages/signin.page.d.ts +0 -6
- package/dist/pages/wrappers/auth.wrapper.d.ts +0 -8
- package/dist/pages/wrappers/common-page.wrapper.d.ts +0 -2
- package/dist/pages/wrappers/link.navigator.d.ts +0 -8
- package/dist/pages/wrappers/non-auth.wrapper.d.ts +0 -6
- package/dist/resources/constants.d.ts +0 -7
- package/dist/resources/images.d.ts +0 -6
- package/dist/resources/routes.d.ts +0 -9
- package/dist/resources/status.d.ts +0 -4
- package/dist/signin.page.d.ts +0 -4
- package/dist/signin.page.js +0 -17
- package/dist/signin.page.mjs +0 -9761
package/dist/index-gUmyoYAp.mjs
DELETED
|
@@ -1,477 +0,0 @@
|
|
|
1
|
-
function A(a, { insertAt: n } = {}) {
|
|
2
|
-
if (typeof document > "u") return;
|
|
3
|
-
const t = document.head || document.getElementsByTagName("head")[0], e = document.createElement("style");
|
|
4
|
-
e.type = "text/css", n === "top" && t.firstChild ? t.insertBefore(e, t.firstChild) : t.appendChild(e), e.styleSheet ? e.styleSheet.cssText = a : e.appendChild(document.createTextNode(a));
|
|
5
|
-
}
|
|
6
|
-
A(`:focus {
|
|
7
|
-
outline: none !important;
|
|
8
|
-
}
|
|
9
|
-
body {
|
|
10
|
-
color: var(--text-color) !important;
|
|
11
|
-
margin: 0;
|
|
12
|
-
background-color: var(--background-color);
|
|
13
|
-
font-family:
|
|
14
|
-
"Inter",
|
|
15
|
-
"-apple-system",
|
|
16
|
-
"BlinkMacSystemFont",
|
|
17
|
-
"Segoe UI",
|
|
18
|
-
"Roboto",
|
|
19
|
-
"Helvetica",
|
|
20
|
-
"Arial",
|
|
21
|
-
"PT Serif",
|
|
22
|
-
"Seravek",
|
|
23
|
-
"YuGothic",
|
|
24
|
-
"Apple SD Gothic Neo",
|
|
25
|
-
"Oxygen",
|
|
26
|
-
"Ubuntu",
|
|
27
|
-
"Cantarell",
|
|
28
|
-
"Fira Sans",
|
|
29
|
-
"Droid Sans",
|
|
30
|
-
sans-serif;
|
|
31
|
-
-webkit-font-smoothing: antialiased;
|
|
32
|
-
-moz-osx-font-smoothing: grayscale;
|
|
33
|
-
}
|
|
34
|
-
@media (max-width: 900px) {
|
|
35
|
-
body {
|
|
36
|
-
background-color: var(--neutral-color);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
@media (min-width: 900px) {
|
|
40
|
-
body {
|
|
41
|
-
background-color: var(--background-color);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
a {
|
|
45
|
-
text-decoration: none;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
transition: all 0.2s ease-in-out;
|
|
48
|
-
color: var(--primary-color);
|
|
49
|
-
}
|
|
50
|
-
a:hover {
|
|
51
|
-
color: var(--text-color);
|
|
52
|
-
}
|
|
53
|
-
.noselect {
|
|
54
|
-
-webkit-touch-callout: none;
|
|
55
|
-
-webkit-user-select: none;
|
|
56
|
-
-khtml-user-select: none;
|
|
57
|
-
-moz-user-select: none;
|
|
58
|
-
-ms-user-select: none;
|
|
59
|
-
user-select: none;
|
|
60
|
-
}
|
|
61
|
-
.m-1 {
|
|
62
|
-
margin-left: 4px;
|
|
63
|
-
margin-right: 4px;
|
|
64
|
-
margin-top: 4px;
|
|
65
|
-
margin-bottom: 4px;
|
|
66
|
-
}
|
|
67
|
-
.m-2 {
|
|
68
|
-
margin-left: 8px;
|
|
69
|
-
margin-right: 8px;
|
|
70
|
-
margin-top: 8px;
|
|
71
|
-
margin-bottom: 8px;
|
|
72
|
-
}
|
|
73
|
-
.m-3 {
|
|
74
|
-
margin-left: 12px;
|
|
75
|
-
margin-right: 12px;
|
|
76
|
-
margin-top: 12px;
|
|
77
|
-
margin-bottom: 12px;
|
|
78
|
-
}
|
|
79
|
-
.m-4 {
|
|
80
|
-
margin-left: 16px;
|
|
81
|
-
margin-right: 16px;
|
|
82
|
-
margin-top: 16px;
|
|
83
|
-
margin-bottom: 16px;
|
|
84
|
-
}
|
|
85
|
-
.mx-1 {
|
|
86
|
-
margin-left: 4px;
|
|
87
|
-
margin-right: 4px;
|
|
88
|
-
}
|
|
89
|
-
.mx-2 {
|
|
90
|
-
margin-left: 8px;
|
|
91
|
-
margin-right: 8px;
|
|
92
|
-
}
|
|
93
|
-
.mx-3 {
|
|
94
|
-
margin-left: 12px;
|
|
95
|
-
margin-right: 12px;
|
|
96
|
-
}
|
|
97
|
-
.mx-4 {
|
|
98
|
-
margin-left: 16px;
|
|
99
|
-
margin-right: 16px;
|
|
100
|
-
}
|
|
101
|
-
.my-1 {
|
|
102
|
-
margin-top: 4px;
|
|
103
|
-
margin-bottom: 4px;
|
|
104
|
-
}
|
|
105
|
-
.my-2 {
|
|
106
|
-
margin-top: 8px;
|
|
107
|
-
margin-bottom: 8px;
|
|
108
|
-
}
|
|
109
|
-
.my-3 {
|
|
110
|
-
margin-top: 12px;
|
|
111
|
-
margin-bottom: 12px;
|
|
112
|
-
}
|
|
113
|
-
.my-4 {
|
|
114
|
-
margin-top: 16px;
|
|
115
|
-
margin-bottom: 16px;
|
|
116
|
-
}
|
|
117
|
-
.mt-1 {
|
|
118
|
-
margin-top: 4px;
|
|
119
|
-
}
|
|
120
|
-
.mt-2 {
|
|
121
|
-
margin-top: 8px;
|
|
122
|
-
}
|
|
123
|
-
.mt-3 {
|
|
124
|
-
margin-top: 12px;
|
|
125
|
-
}
|
|
126
|
-
.mt-4 {
|
|
127
|
-
margin-top: 16px;
|
|
128
|
-
}
|
|
129
|
-
.mt-auto {
|
|
130
|
-
margin-top: auto;
|
|
131
|
-
}
|
|
132
|
-
.mb-1 {
|
|
133
|
-
margin-bottom: 4px;
|
|
134
|
-
}
|
|
135
|
-
.mb-2 {
|
|
136
|
-
margin-bottom: 8px;
|
|
137
|
-
}
|
|
138
|
-
.mb-3 {
|
|
139
|
-
margin-bottom: 12px;
|
|
140
|
-
}
|
|
141
|
-
.mb-4 {
|
|
142
|
-
margin-bottom: 16px;
|
|
143
|
-
}
|
|
144
|
-
.ms-1 {
|
|
145
|
-
margin-left: 4px;
|
|
146
|
-
}
|
|
147
|
-
.ms-2 {
|
|
148
|
-
margin-left: 8px;
|
|
149
|
-
}
|
|
150
|
-
.ms-3 {
|
|
151
|
-
margin-left: 12px;
|
|
152
|
-
}
|
|
153
|
-
.ms-4 {
|
|
154
|
-
margin-left: 16px;
|
|
155
|
-
}
|
|
156
|
-
.me-1 {
|
|
157
|
-
margin-right: 4px;
|
|
158
|
-
}
|
|
159
|
-
.me-2 {
|
|
160
|
-
margin-right: 8px;
|
|
161
|
-
}
|
|
162
|
-
.me-3 {
|
|
163
|
-
margin-right: 12px;
|
|
164
|
-
}
|
|
165
|
-
.me-4 {
|
|
166
|
-
margin-right: 16px;
|
|
167
|
-
}
|
|
168
|
-
.p-1 {
|
|
169
|
-
padding-left: 4px;
|
|
170
|
-
padding-right: 4px;
|
|
171
|
-
padding-top: 4px;
|
|
172
|
-
padding-bottom: 4px;
|
|
173
|
-
}
|
|
174
|
-
.p-2 {
|
|
175
|
-
padding-left: 8px;
|
|
176
|
-
padding-right: 8px;
|
|
177
|
-
padding-top: 8px;
|
|
178
|
-
padding-bottom: 8px;
|
|
179
|
-
}
|
|
180
|
-
.p-3 {
|
|
181
|
-
padding-left: 12px;
|
|
182
|
-
padding-right: 12px;
|
|
183
|
-
padding-top: 12px;
|
|
184
|
-
padding-bottom: 12px;
|
|
185
|
-
}
|
|
186
|
-
.p-4 {
|
|
187
|
-
padding-left: 16px;
|
|
188
|
-
padding-right: 16px;
|
|
189
|
-
padding-top: 16px;
|
|
190
|
-
padding-bottom: 16px;
|
|
191
|
-
}
|
|
192
|
-
.px-1 {
|
|
193
|
-
padding-left: 4px;
|
|
194
|
-
padding-right: 4px;
|
|
195
|
-
}
|
|
196
|
-
.px-2 {
|
|
197
|
-
padding-left: 8px;
|
|
198
|
-
padding-right: 8px;
|
|
199
|
-
}
|
|
200
|
-
.px-3 {
|
|
201
|
-
padding-left: 12px;
|
|
202
|
-
padding-right: 12px;
|
|
203
|
-
}
|
|
204
|
-
.px-4 {
|
|
205
|
-
padding-left: 16px;
|
|
206
|
-
padding-right: 16px;
|
|
207
|
-
}
|
|
208
|
-
.py-1 {
|
|
209
|
-
padding-top: 4px;
|
|
210
|
-
padding-bottom: 4px;
|
|
211
|
-
}
|
|
212
|
-
.py-2 {
|
|
213
|
-
padding-top: 8px;
|
|
214
|
-
padding-bottom: 8px;
|
|
215
|
-
}
|
|
216
|
-
.py-3 {
|
|
217
|
-
padding-top: 12px;
|
|
218
|
-
padding-bottom: 12px;
|
|
219
|
-
}
|
|
220
|
-
.py-4 {
|
|
221
|
-
padding-top: 16px;
|
|
222
|
-
padding-bottom: 16px;
|
|
223
|
-
}
|
|
224
|
-
.pt-1 {
|
|
225
|
-
padding-top: 4px;
|
|
226
|
-
}
|
|
227
|
-
.pt-2 {
|
|
228
|
-
padding-top: 8px;
|
|
229
|
-
}
|
|
230
|
-
.pt-3 {
|
|
231
|
-
padding-top: 12px;
|
|
232
|
-
}
|
|
233
|
-
.pt-4 {
|
|
234
|
-
padding-top: 16px;
|
|
235
|
-
}
|
|
236
|
-
.pb-1 {
|
|
237
|
-
padding-bottom: 4px;
|
|
238
|
-
}
|
|
239
|
-
.pb-2 {
|
|
240
|
-
padding-bottom: 8px;
|
|
241
|
-
}
|
|
242
|
-
.pb-3 {
|
|
243
|
-
padding-bottom: 12px;
|
|
244
|
-
}
|
|
245
|
-
.pb-4 {
|
|
246
|
-
padding-bottom: 16px;
|
|
247
|
-
}
|
|
248
|
-
.ps-1 {
|
|
249
|
-
padding-left: 4px;
|
|
250
|
-
}
|
|
251
|
-
.ps-2 {
|
|
252
|
-
padding-left: 8px;
|
|
253
|
-
}
|
|
254
|
-
.ps-3 {
|
|
255
|
-
padding-left: 12px;
|
|
256
|
-
}
|
|
257
|
-
.ps-4 {
|
|
258
|
-
padding-left: 16px;
|
|
259
|
-
}
|
|
260
|
-
.pe-1 {
|
|
261
|
-
padding-right: 4px;
|
|
262
|
-
}
|
|
263
|
-
.pe-2 {
|
|
264
|
-
padding-right: 8px;
|
|
265
|
-
}
|
|
266
|
-
.pe-3 {
|
|
267
|
-
padding-right: 12px;
|
|
268
|
-
}
|
|
269
|
-
.pe-4 {
|
|
270
|
-
padding-right: 16px;
|
|
271
|
-
}
|
|
272
|
-
.modal-content {
|
|
273
|
-
background-color: var(--neutral-color) !important;
|
|
274
|
-
}
|
|
275
|
-
.cloud-modal-header {
|
|
276
|
-
padding-left: 10px;
|
|
277
|
-
padding-right: 10px;
|
|
278
|
-
padding-top: 5px;
|
|
279
|
-
padding-bottom: 5px;
|
|
280
|
-
font-weight: 800 !important;
|
|
281
|
-
border-bottom: 1px solid #dee2e6;
|
|
282
|
-
position: -webkit-sticky;
|
|
283
|
-
position: sticky;
|
|
284
|
-
top: 0;
|
|
285
|
-
background-color: var(--neutral-color);
|
|
286
|
-
z-index: 3;
|
|
287
|
-
display: flex;
|
|
288
|
-
align-items: center;
|
|
289
|
-
}
|
|
290
|
-
.modal-body {
|
|
291
|
-
position: relative;
|
|
292
|
-
-webkit-box-flex: 1;
|
|
293
|
-
-ms-flex: 1 1 auto;
|
|
294
|
-
flex: 1 1 auto;
|
|
295
|
-
padding: 1rem;
|
|
296
|
-
}
|
|
297
|
-
`);
|
|
298
|
-
var o = {
|
|
299
|
-
PAGE_SPINNER: "pagespinner",
|
|
300
|
-
DISPLAY_ALERT: "displayalert",
|
|
301
|
-
DISPLAY_SNACKBAR: "displaysnackbar"
|
|
302
|
-
}, f = {
|
|
303
|
-
ERROR: "error"
|
|
304
|
-
}, I = {
|
|
305
|
-
SUCCESS: "Success",
|
|
306
|
-
FAILURE: "Failure"
|
|
307
|
-
}, E = class S {
|
|
308
|
-
static instance = null;
|
|
309
|
-
observers = {};
|
|
310
|
-
instanceId;
|
|
311
|
-
constructor() {
|
|
312
|
-
this.instanceId = Math.random();
|
|
313
|
-
}
|
|
314
|
-
static getInstance() {
|
|
315
|
-
return this.instance || (this.instance = new S()), this.instance;
|
|
316
|
-
}
|
|
317
|
-
postNotification(n, t) {
|
|
318
|
-
const e = this.observers[n];
|
|
319
|
-
if (e)
|
|
320
|
-
for (const i of e)
|
|
321
|
-
i.callBack(t);
|
|
322
|
-
}
|
|
323
|
-
removeObserver(n, t) {
|
|
324
|
-
const e = this.observers[t];
|
|
325
|
-
e && (this.observers[t] = e.filter((i) => i.observer !== n));
|
|
326
|
-
}
|
|
327
|
-
addObserver(n, t, e) {
|
|
328
|
-
this.observers[n] || (this.observers[n] = []), this.observers[n].push({ observer: t, callBack: e });
|
|
329
|
-
}
|
|
330
|
-
}, r = E.getInstance(), D = (a, n, t) => {
|
|
331
|
-
r.postNotification(o.PAGE_SPINNER, !1), r.postNotification(o.DISPLAY_ALERT, { alert: {
|
|
332
|
-
alertType: a,
|
|
333
|
-
alertText: n
|
|
334
|
-
}, id: t });
|
|
335
|
-
}, P = (a) => {
|
|
336
|
-
r.postNotification(o.PAGE_SPINNER, !1), r.postNotification(o.DISPLAY_ALERT, { alert: void 0, id: a });
|
|
337
|
-
}, R = (a, n) => {
|
|
338
|
-
r.postNotification(o.PAGE_SPINNER, !1), r.postNotification(o.DISPLAY_SNACKBAR, { alert: {
|
|
339
|
-
alertType: a,
|
|
340
|
-
alertText: n
|
|
341
|
-
} });
|
|
342
|
-
}, x = {
|
|
343
|
-
UNKNOWN: "Something went wrong, please try again later",
|
|
344
|
-
FORBIDDEN: "User is not authorized to perform this action"
|
|
345
|
-
}, C = class p {
|
|
346
|
-
static instance = null;
|
|
347
|
-
authenticated;
|
|
348
|
-
constructor() {
|
|
349
|
-
this.authenticated = !1;
|
|
350
|
-
}
|
|
351
|
-
static getInstance() {
|
|
352
|
-
return p.instance || (p.instance = new p()), p.instance;
|
|
353
|
-
}
|
|
354
|
-
isAuthenticated() {
|
|
355
|
-
return this.authenticated;
|
|
356
|
-
}
|
|
357
|
-
authenticate(n) {
|
|
358
|
-
this.authenticated = !0, n();
|
|
359
|
-
}
|
|
360
|
-
signout(n) {
|
|
361
|
-
this.authenticated = !1, n();
|
|
362
|
-
}
|
|
363
|
-
}, T = C.getInstance(), V = (a, n) => {
|
|
364
|
-
const t = encodeURIComponent(a), e = encodeURIComponent(n);
|
|
365
|
-
localStorage.setItem(t, e);
|
|
366
|
-
}, v = (a) => {
|
|
367
|
-
const n = encodeURIComponent(a);
|
|
368
|
-
localStorage.removeItem(n);
|
|
369
|
-
}, w = class s {
|
|
370
|
-
static instance = null;
|
|
371
|
-
purchasePlan;
|
|
372
|
-
navigate = null;
|
|
373
|
-
constructor() {
|
|
374
|
-
this.purchasePlan = this.getDefaultPlan();
|
|
375
|
-
}
|
|
376
|
-
static getInstance() {
|
|
377
|
-
return s.instance || (s.instance = new s()), s.instance;
|
|
378
|
-
}
|
|
379
|
-
setData(n) {
|
|
380
|
-
this.purchasePlan = { ...this.purchasePlan, ...n };
|
|
381
|
-
}
|
|
382
|
-
getData() {
|
|
383
|
-
return this.purchasePlan;
|
|
384
|
-
}
|
|
385
|
-
clearAll() {
|
|
386
|
-
this.purchasePlan = this.getDefaultPlan();
|
|
387
|
-
}
|
|
388
|
-
setNavigate(n) {
|
|
389
|
-
this.navigate = n;
|
|
390
|
-
}
|
|
391
|
-
goToNavigate(n) {
|
|
392
|
-
this.navigate && this.navigate(n);
|
|
393
|
-
}
|
|
394
|
-
getDefaultPlan() {
|
|
395
|
-
return {};
|
|
396
|
-
}
|
|
397
|
-
}, k = w.getInstance(), O = async (a) => (a === x.FORBIDDEN && (v("username"), v("fullname"), T.signout(U)), a), U = () => {
|
|
398
|
-
k.goToNavigate("/signin");
|
|
399
|
-
}, _ = { "Content-Type": "application/json" }, L = async (a) => {
|
|
400
|
-
const n = await a.text();
|
|
401
|
-
return n ? JSON.parse(n) : null;
|
|
402
|
-
}, B = async ({
|
|
403
|
-
apipath: a,
|
|
404
|
-
method: n,
|
|
405
|
-
body: t,
|
|
406
|
-
id: e,
|
|
407
|
-
isFormData: i = !1,
|
|
408
|
-
spinner: g = !0,
|
|
409
|
-
mute: d = !1,
|
|
410
|
-
showSnackBar: h = !1
|
|
411
|
-
}) => {
|
|
412
|
-
const y = i ? {} : _;
|
|
413
|
-
g && r.postNotification(o.PAGE_SPINNER, !0);
|
|
414
|
-
try {
|
|
415
|
-
const u = await fetch(a, {
|
|
416
|
-
method: n,
|
|
417
|
-
headers: y,
|
|
418
|
-
credentials: "include",
|
|
419
|
-
body: t ? i ? t : JSON.stringify(t) : void 0
|
|
420
|
-
}), m = await L(u);
|
|
421
|
-
if (m && m.status === I.SUCCESS)
|
|
422
|
-
return d || P(e), m.output;
|
|
423
|
-
if (!d) {
|
|
424
|
-
const N = await O(m.code || x.UNKNOWN);
|
|
425
|
-
b(d, h, N, e);
|
|
426
|
-
}
|
|
427
|
-
} catch {
|
|
428
|
-
b(d, h, x.UNKNOWN, e);
|
|
429
|
-
return;
|
|
430
|
-
} finally {
|
|
431
|
-
g && r.postNotification(o.PAGE_SPINNER, !1);
|
|
432
|
-
}
|
|
433
|
-
}, b = (a, n, t, e) => {
|
|
434
|
-
a || (n ? R(f.ERROR, t) : D(f.ERROR, t, e));
|
|
435
|
-
}, G = (a = {}) => async (n, t, e, i, g) => B({ ...a, apipath: n, method: t, body: e, id: i, isFormData: g }), F = G({}), M = (a, n, t) => F(a, "POST", n, t), K = class c {
|
|
436
|
-
static instance = null;
|
|
437
|
-
configData = {};
|
|
438
|
-
constructor() {
|
|
439
|
-
}
|
|
440
|
-
static getInstance() {
|
|
441
|
-
return c.instance || (c.instance = new c()), c.instance;
|
|
442
|
-
}
|
|
443
|
-
setData(n) {
|
|
444
|
-
this.configData = { ...n };
|
|
445
|
-
}
|
|
446
|
-
getData() {
|
|
447
|
-
return this.configData;
|
|
448
|
-
}
|
|
449
|
-
resetData() {
|
|
450
|
-
this.configData = {};
|
|
451
|
-
}
|
|
452
|
-
}, z = K.getInstance(), Y = class l {
|
|
453
|
-
static instance = null;
|
|
454
|
-
alertData = {};
|
|
455
|
-
constructor() {
|
|
456
|
-
}
|
|
457
|
-
static getInstance() {
|
|
458
|
-
return l.instance || (l.instance = new l()), l.instance;
|
|
459
|
-
}
|
|
460
|
-
setData(n) {
|
|
461
|
-
this.alertData = { ...n };
|
|
462
|
-
}
|
|
463
|
-
getData() {
|
|
464
|
-
return this.alertData;
|
|
465
|
-
}
|
|
466
|
-
resetData() {
|
|
467
|
-
this.alertData = {};
|
|
468
|
-
}
|
|
469
|
-
}, j = Y.getInstance();
|
|
470
|
-
export {
|
|
471
|
-
T as a,
|
|
472
|
-
M as b,
|
|
473
|
-
z as c,
|
|
474
|
-
j as d,
|
|
475
|
-
k as p,
|
|
476
|
-
V as s
|
|
477
|
-
};
|
package/dist/index.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { a as e, c as o, p as t } from "./index-gUmyoYAp.mjs";
|
|
2
|
-
import { default as g } from "./logout-error.page.mjs";
|
|
3
|
-
import { default as p } from "./error.page.mjs";
|
|
4
|
-
import { default as d } from "./landing.page.mjs";
|
|
5
|
-
import { default as m } from "./layout.page.mjs";
|
|
6
|
-
import { default as x } from "./signin.page.mjs";
|
|
7
|
-
export {
|
|
8
|
-
p as ErrorPage,
|
|
9
|
-
d as LandingPage,
|
|
10
|
-
m as LayoutPage,
|
|
11
|
-
g as LogoutErrorPage,
|
|
12
|
-
x as SignInPage,
|
|
13
|
-
e as auth,
|
|
14
|
-
o as configService,
|
|
15
|
-
t as planAuth
|
|
16
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const K=require("react");var v={exports:{}},m={};var $;function ee(){if($)return m;$=1;var u=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function c(i,o,s){var f=null;if(s!==void 0&&(f=""+s),o.key!==void 0&&(f=""+o.key),"key"in o){s={};for(var d in o)d!=="key"&&(s[d]=o[d])}else s=o;return o=s.ref,{$$typeof:u,type:i,key:f,ref:o!==void 0?o:null,props:s}}return m.Fragment=_,m.jsx=c,m.jsxs=c,m}var E={};var I;function re(){return I||(I=1,process.env.NODE_ENV!=="production"&&(function(){function u(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===H?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case p:return"Fragment";case U:return"Profiler";case W:return"StrictMode";case z:return"Suspense";case G:return"SuspenseList";case B:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case M:return"Portal";case J:return e.displayName||"Context";case q:return(e._context.displayName||"Context")+".Consumer";case V:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return r=e.displayName||null,r!==null?r:u(e.type)||"Memo";case T:r=e._payload,e=e._init;try{return u(e(r))}catch{}}return null}function _(e){return""+e}function c(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function i(e){if(e===p)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===T)return"<...>";try{var r=u(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function o(){var e=k.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function f(e){if(j.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function d(e,r){function t(){g||(g=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function D(){var e=u(this.type);return h[e]||(h[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function L(e,r,t,n,b,A){var a=t.ref;return e={$$typeof:y,type:e,key:r,props:t,_owner:n},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:D}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function P(e,r,t,n,b,A){var a=r.children;if(a!==void 0)if(n)if(Z(a)){for(n=0;n<a.length;n++)w(a[n]);Object.freeze&&Object.freeze(a)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else w(a);if(j.call(r,"key")){a=u(e);var l=Object.keys(r).filter(function(Q){return Q!=="key"});n=0<l.length?"{key: someKey, "+l.join(": ..., ")+": ...}":"{key: someKey}",Y[a+n]||(l=0<l.length?"{"+l.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
2
|
-
let props = %s;
|
|
3
|
-
<%s {...props} />
|
|
4
|
-
React keys must be passed directly to JSX without using spread:
|
|
5
|
-
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,n,a,l,a),Y[a+n]=!0)}if(a=null,t!==void 0&&(c(t),a=""+t),f(r)&&(c(r.key),a=""+r.key),"key"in r){t={};for(var S in r)S!=="key"&&(t[S]=r[S])}else t=r;return a&&d(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),L(e,a,t,o(),b,A)}function w(e){x(e)?e._store&&(e._store.validated=1):typeof e=="object"&&e!==null&&e.$$typeof===T&&(e._payload.status==="fulfilled"?x(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}var R=K,y=Symbol.for("react.transitional.element"),M=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),J=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),H=Symbol.for("react.client.reference"),k=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=Object.prototype.hasOwnProperty,Z=Array.isArray,O=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var g,h={},N=R.react_stack_bottom_frame.bind(R,s)(),C=O(i(s)),Y={};E.Fragment=p,E.jsx=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return P(e,r,t,!1,n?Error("react-stack-top-frame"):N,n?O(i(e)):C)},E.jsxs=function(e,r,t){var n=1e4>k.recentlyCreatedOwnerStacks++;return P(e,r,t,!0,n?Error("react-stack-top-frame"):N,n?O(i(e)):C)}})()),E}var F;function te(){return F||(F=1,process.env.NODE_ENV==="production"?v.exports=ee():v.exports=re()),v.exports}var ne=te();exports.jsxRuntimeExports=ne;
|