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
|
@@ -1,264 +0,0 @@
|
|
|
1
|
-
import K from "react";
|
|
2
|
-
var v = { exports: {} }, m = {};
|
|
3
|
-
var I;
|
|
4
|
-
function ee() {
|
|
5
|
-
if (I) return m;
|
|
6
|
-
I = 1;
|
|
7
|
-
var l = /* @__PURE__ */ Symbol.for("react.transitional.element"), E = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
8
|
-
function c(i, o, s) {
|
|
9
|
-
var f = null;
|
|
10
|
-
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
11
|
-
s = {};
|
|
12
|
-
for (var d in o)
|
|
13
|
-
d !== "key" && (s[d] = o[d]);
|
|
14
|
-
} else s = o;
|
|
15
|
-
return o = s.ref, {
|
|
16
|
-
$$typeof: l,
|
|
17
|
-
type: i,
|
|
18
|
-
key: f,
|
|
19
|
-
ref: o !== void 0 ? o : null,
|
|
20
|
-
props: s
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
return m.Fragment = E, m.jsx = c, m.jsxs = c, m;
|
|
24
|
-
}
|
|
25
|
-
var _ = {};
|
|
26
|
-
var $;
|
|
27
|
-
function re() {
|
|
28
|
-
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
-
function l(e) {
|
|
30
|
-
if (e == null) return null;
|
|
31
|
-
if (typeof e == "function")
|
|
32
|
-
return e.$$typeof === H ? null : e.displayName || e.name || null;
|
|
33
|
-
if (typeof e == "string") return e;
|
|
34
|
-
switch (e) {
|
|
35
|
-
case p:
|
|
36
|
-
return "Fragment";
|
|
37
|
-
case U:
|
|
38
|
-
return "Profiler";
|
|
39
|
-
case W:
|
|
40
|
-
return "StrictMode";
|
|
41
|
-
case z:
|
|
42
|
-
return "Suspense";
|
|
43
|
-
case G:
|
|
44
|
-
return "SuspenseList";
|
|
45
|
-
case B:
|
|
46
|
-
return "Activity";
|
|
47
|
-
}
|
|
48
|
-
if (typeof e == "object")
|
|
49
|
-
switch (typeof e.tag == "number" && console.error(
|
|
50
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
-
), e.$$typeof) {
|
|
52
|
-
case M:
|
|
53
|
-
return "Portal";
|
|
54
|
-
case V:
|
|
55
|
-
return e.displayName || "Context";
|
|
56
|
-
case J:
|
|
57
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
-
case q:
|
|
59
|
-
var r = e.render;
|
|
60
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
61
|
-
case X:
|
|
62
|
-
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
63
|
-
case T:
|
|
64
|
-
r = e._payload, e = e._init;
|
|
65
|
-
try {
|
|
66
|
-
return l(e(r));
|
|
67
|
-
} catch {
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return null;
|
|
71
|
-
}
|
|
72
|
-
function E(e) {
|
|
73
|
-
return "" + e;
|
|
74
|
-
}
|
|
75
|
-
function c(e) {
|
|
76
|
-
try {
|
|
77
|
-
E(e);
|
|
78
|
-
var r = !1;
|
|
79
|
-
} catch {
|
|
80
|
-
r = !0;
|
|
81
|
-
}
|
|
82
|
-
if (r) {
|
|
83
|
-
r = console;
|
|
84
|
-
var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
85
|
-
return t.call(
|
|
86
|
-
r,
|
|
87
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
-
n
|
|
89
|
-
), E(e);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
function i(e) {
|
|
93
|
-
if (e === p) return "<>";
|
|
94
|
-
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
95
|
-
return "<...>";
|
|
96
|
-
try {
|
|
97
|
-
var r = l(e);
|
|
98
|
-
return r ? "<" + r + ">" : "<...>";
|
|
99
|
-
} catch {
|
|
100
|
-
return "<...>";
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
function o() {
|
|
104
|
-
var e = k.A;
|
|
105
|
-
return e === null ? null : e.getOwner();
|
|
106
|
-
}
|
|
107
|
-
function s() {
|
|
108
|
-
return Error("react-stack-top-frame");
|
|
109
|
-
}
|
|
110
|
-
function f(e) {
|
|
111
|
-
if (x.call(e, "key")) {
|
|
112
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
113
|
-
if (r && r.isReactWarning) return !1;
|
|
114
|
-
}
|
|
115
|
-
return e.key !== void 0;
|
|
116
|
-
}
|
|
117
|
-
function d(e, r) {
|
|
118
|
-
function t() {
|
|
119
|
-
g || (g = !0, console.error(
|
|
120
|
-
"%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)",
|
|
121
|
-
r
|
|
122
|
-
));
|
|
123
|
-
}
|
|
124
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
125
|
-
get: t,
|
|
126
|
-
configurable: !0
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
function D() {
|
|
130
|
-
var e = l(this.type);
|
|
131
|
-
return h[e] || (h[e] = !0, console.error(
|
|
132
|
-
"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."
|
|
133
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
|
-
}
|
|
135
|
-
function L(e, r, t, n, b, A) {
|
|
136
|
-
var a = t.ref;
|
|
137
|
-
return e = {
|
|
138
|
-
$$typeof: j,
|
|
139
|
-
type: e,
|
|
140
|
-
key: r,
|
|
141
|
-
props: t,
|
|
142
|
-
_owner: n
|
|
143
|
-
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
|
-
enumerable: !1,
|
|
145
|
-
get: D
|
|
146
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
147
|
-
configurable: !1,
|
|
148
|
-
enumerable: !1,
|
|
149
|
-
writable: !0,
|
|
150
|
-
value: 0
|
|
151
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
152
|
-
configurable: !1,
|
|
153
|
-
enumerable: !1,
|
|
154
|
-
writable: !0,
|
|
155
|
-
value: null
|
|
156
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
157
|
-
configurable: !1,
|
|
158
|
-
enumerable: !1,
|
|
159
|
-
writable: !0,
|
|
160
|
-
value: b
|
|
161
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
162
|
-
configurable: !1,
|
|
163
|
-
enumerable: !1,
|
|
164
|
-
writable: !0,
|
|
165
|
-
value: A
|
|
166
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
|
-
}
|
|
168
|
-
function P(e, r, t, n, b, A) {
|
|
169
|
-
var a = r.children;
|
|
170
|
-
if (a !== void 0)
|
|
171
|
-
if (n)
|
|
172
|
-
if (Z(a)) {
|
|
173
|
-
for (n = 0; n < a.length; n++)
|
|
174
|
-
w(a[n]);
|
|
175
|
-
Object.freeze && Object.freeze(a);
|
|
176
|
-
} else
|
|
177
|
-
console.error(
|
|
178
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
-
);
|
|
180
|
-
else w(a);
|
|
181
|
-
if (x.call(r, "key")) {
|
|
182
|
-
a = l(e);
|
|
183
|
-
var u = Object.keys(r).filter(function(Q) {
|
|
184
|
-
return Q !== "key";
|
|
185
|
-
});
|
|
186
|
-
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
188
|
-
let props = %s;
|
|
189
|
-
<%s {...props} />
|
|
190
|
-
React keys must be passed directly to JSX without using spread:
|
|
191
|
-
let props = %s;
|
|
192
|
-
<%s key={someKey} {...props} />`,
|
|
193
|
-
n,
|
|
194
|
-
a,
|
|
195
|
-
u,
|
|
196
|
-
a
|
|
197
|
-
), Y[a + n] = !0);
|
|
198
|
-
}
|
|
199
|
-
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
200
|
-
t = {};
|
|
201
|
-
for (var S in r)
|
|
202
|
-
S !== "key" && (t[S] = r[S]);
|
|
203
|
-
} else t = r;
|
|
204
|
-
return a && d(
|
|
205
|
-
t,
|
|
206
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
-
), L(
|
|
208
|
-
e,
|
|
209
|
-
a,
|
|
210
|
-
t,
|
|
211
|
-
o(),
|
|
212
|
-
b,
|
|
213
|
-
A
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
function w(e) {
|
|
217
|
-
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
-
}
|
|
219
|
-
function y(e) {
|
|
220
|
-
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
221
|
-
}
|
|
222
|
-
var R = K, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
223
|
-
return null;
|
|
224
|
-
};
|
|
225
|
-
R = {
|
|
226
|
-
react_stack_bottom_frame: function(e) {
|
|
227
|
-
return e();
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
var g, h = {}, N = R.react_stack_bottom_frame.bind(
|
|
231
|
-
R,
|
|
232
|
-
s
|
|
233
|
-
)(), C = O(i(s)), Y = {};
|
|
234
|
-
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
235
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
236
|
-
return P(
|
|
237
|
-
e,
|
|
238
|
-
r,
|
|
239
|
-
t,
|
|
240
|
-
!1,
|
|
241
|
-
n ? Error("react-stack-top-frame") : N,
|
|
242
|
-
n ? O(i(e)) : C
|
|
243
|
-
);
|
|
244
|
-
}, _.jsxs = function(e, r, t) {
|
|
245
|
-
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
246
|
-
return P(
|
|
247
|
-
e,
|
|
248
|
-
r,
|
|
249
|
-
t,
|
|
250
|
-
!0,
|
|
251
|
-
n ? Error("react-stack-top-frame") : N,
|
|
252
|
-
n ? O(i(e)) : C
|
|
253
|
-
);
|
|
254
|
-
};
|
|
255
|
-
})()), _;
|
|
256
|
-
}
|
|
257
|
-
var F;
|
|
258
|
-
function te() {
|
|
259
|
-
return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = ee() : v.exports = re()), v.exports;
|
|
260
|
-
}
|
|
261
|
-
var ae = te();
|
|
262
|
-
export {
|
|
263
|
-
ae as j
|
|
264
|
-
};
|
package/dist/landing.page.d.ts
DELETED
package/dist/landing.page.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./jsx-runtime-nZSsnGb7.js"),y=require("react"),b=require("./header-BLuHRYED.js"),j=require("./Container-DRUrQLPe.js"),i=require("./Paper-B1BWzC32.js"),v=require("./button-XEz-DvWZ.js"),a=require("./Typography-DjYh_lcA.js"),z=require("./CardContent-C3iE4rdC.js"),h=require("./link-button-yZmEF1A6.js"),T=require("./constants-CYWfA_it.js");function S(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(s,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return s.default=t,Object.freeze(s)}const m=S(y);function w(t,s,n,r,x){const[o,p]=m.useState(()=>x&&n?n(t).matches:r?r(t).matches:s);return v.useEnhancedEffect(()=>{if(!n)return;const u=n(t),d=()=>{p(u.matches)};return d(),u.addEventListener("change",d),()=>{u.removeEventListener("change",d)}},[t,n]),o}const A={...m},E=A.useSyncExternalStore;function I(t,s,n,r,x){const o=m.useCallback(()=>s,[s]),p=m.useMemo(()=>{if(x&&n)return()=>n(t).matches;if(r!==null){const{matches:l}=r(t);return()=>l}return o},[o,t,r,x,n]),[u,d]=m.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const l=n(t);return[()=>l.matches,c=>(l.addEventListener("change",c),()=>{l.removeEventListener("change",c)})]},[o,n,t]);return E(d,u,p)}function R(t={}){const{themeId:s}=t;return function(r,x={}){let o=i.useTheme();o&&s&&(o=o[s]||o);const p=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:d=p?window.matchMedia:null,ssrMatchMedia:g=null,noSsr:l=!1}=i.getThemeProps({name:"MuiUseMediaQuery",props:x,theme:o});process.env.NODE_ENV!=="production"&&typeof r=="function"&&o===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
|
|
2
|
-
`));let c=typeof r=="function"?r(o):r;c=c.replace(/^@media( ?)/m,""),c.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
|
|
3
|
-
`));const f=(E!==void 0?I:w)(c,u,d,g,l);return process.env.NODE_ENV!=="production"&&m.useDebugValue({query:c,match:f}),f}}R();const C=R({themeId:j.THEME_ID}),M=({navigate:t})=>{const s=i.useTheme$1(),n=C(s.breakpoints.down("md")),r=()=>{t("/signup")};return e.jsxRuntimeExports.jsx(i.Box,{display:"flex",flexDirection:"column",minHeight:"91.5vh",height:"auto",children:e.jsxRuntimeExports.jsx(j.Container,{style:{flex:"1",display:"flex",alignItems:"center"},children:e.jsxRuntimeExports.jsxs(i.Grid,{container:!0,alignItems:"center",children:[e.jsxRuntimeExports.jsx(i.Grid,{size:{xs:12,md:5},className:"mt-4",children:e.jsxRuntimeExports.jsxs(i.Box,{children:[e.jsxRuntimeExports.jsx("div",{className:"landing-info-header",children:"Trading platform with cutting-edge GTT capabilities."}),e.jsxRuntimeExports.jsx("div",{className:"landing-info-sub-header mt-4",children:"Experience the future of trading with GTT. Elevate your strategies with DheQuest's superior service. The future is here—trade smarter today."}),e.jsxRuntimeExports.jsx("button",{className:"landing-info-button mt-4",onClick:r,children:"Sign Up"})]})}),e.jsxRuntimeExports.jsx(i.Grid,{size:{xs:12,md:7},className:"mt-4",children:e.jsxRuntimeExports.jsx(i.Box,{display:"flex",justifyContent:n?"center":"end",children:e.jsxRuntimeExports.jsx("img",{className:"title-image-demo",alt:"...",src:v.IMAGE_LINKS.WALLPAPER})})})]})})})},k=a.createSvgIcon([e.jsxRuntimeExports.jsx("circle",{cx:"12",cy:"12",r:"3.2"},"0"),e.jsxRuntimeExports.jsx("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"},"1")],"CameraAlt"),H=a.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M22 5v2h-3v3h-2V7h-3V5h3V2h2v3zm-3 14H5V5h6V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6h-2zm-4-6v4h2v-4zm-4 4h2V9h-2zm-2 0v-6H7v6z"}),"Addchart"),P=a.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"}),"BarChart"),B=a.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"}),"Timeline"),L=a.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"}),"CalendarMonth"),_=a.createSvgIcon(e.jsxRuntimeExports.jsx("path",{d:"M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"}),"AccountBalance"),N=[{title:"Advanced Order Types",description:"Execute your trades with precision using a variety of advanced order types, including limit orders, stop-loss orders, take-profit orders, and more.",icon:e.jsxRuntimeExports.jsx(k,{sx:{fontSize:"3.5rem"}})},{title:"Real-time Market Depth",description:"Gain valuable insights into market liquidity and order flow with real-time market depth data. See the current buy and sell order.",icon:e.jsxRuntimeExports.jsx(H,{sx:{fontSize:"3.5rem"}})},{title:"Margin Trading and Leverage",description:"Amplify your trading power with margin trading and leverage. Access greater capital and potentially increase your profits.",icon:e.jsxRuntimeExports.jsx(P,{sx:{fontSize:"3.5rem"}})},{title:"Portfolio Analytics",description:"Analyze your trading performance with detailed portfolio analytics. improvement and optimize your trading strategies.",icon:e.jsxRuntimeExports.jsx(B,{sx:{fontSize:"3.5rem"}})},{title:"Alerts and Notifications",description:"Stay informed about critical market events with customizable alerts and notifications. important events to react quickly to market changes.",icon:e.jsxRuntimeExports.jsx(L,{sx:{fontSize:"3.5rem"}})},{title:"API Access",description:"Integrate our platform with your own trading tools and applications using our powerful API. Develop custom trading strategies.",icon:e.jsxRuntimeExports.jsx(_,{sx:{fontSize:"3.5rem"}})}],V=()=>e.jsxRuntimeExports.jsxs(i.Box,{sx:{padding:6,backgroundColor:"#f9f9f9"},children:[e.jsxRuntimeExports.jsxs(j.Container,{children:[e.jsxRuntimeExports.jsx(a.Typography,{variant:"h4",align:"center",gutterBottom:!0,mb:4,sx:{fontWeight:"bold"},children:"Key Features"}),e.jsxRuntimeExports.jsx(a.Typography,{variant:"body2",align:"center",gutterBottom:!0,mb:4,sx:{lineHeight:"40px "},children:"Automate your trading strategies with our robust algorithmic trading capabilities. Develop, backtest, and deploy custom trading bots to execute trades based on predefined rules and parameters, allowing you to capitalize on market opportunities 24/7."})]}),e.jsxRuntimeExports.jsx(i.Grid,{container:!0,spacing:6,marginBottom:4,paddingTop:4,children:N.map((t,s)=>e.jsxRuntimeExports.jsx(i.Grid,{size:{xs:12,sm:6,md:4},textAlign:"center",children:e.jsxRuntimeExports.jsxs(z.CardContent,{children:[t.icon,e.jsxRuntimeExports.jsx(a.Typography,{variant:"h6",sx:{fontWeight:"bold"},gutterBottom:!0,children:t.title}),e.jsxRuntimeExports.jsx(a.Typography,{variant:"body2",gutterBottom:!0,sx:{lineHeight:"40px "},children:t.description})]})},s))})]}),D=({navigate:t})=>{const s=n=>{n&&t(`/${n}`)};return e.jsxRuntimeExports.jsxs(i.Box,{sx:{textAlign:"center",padding:4,backgroundColor:"#f9f9f9"},children:[e.jsxRuntimeExports.jsxs(a.Typography,{variant:"body2",gutterBottom:!0,children:[e.jsxRuntimeExports.jsx(h.link_button_default,{name:"privacy-policy",text:"Privacy Policy",onClick:s})," | ",e.jsxRuntimeExports.jsx(h.link_button_default,{name:"terms-and-conditions",text:"Terms and Conditions",onClick:s})," | ",e.jsxRuntimeExports.jsx(h.link_button_default,{name:"cookie-policy",text:"Cookie Policy",onClick:s})," "]}),e.jsxRuntimeExports.jsxs(a.Typography,{variant:"body2",color:"textSecondary",children:["© ",new Date().getFullYear()," SSPART Enterprise Pvt Ltd. All rights reserved."]}),e.jsxRuntimeExports.jsx(i.Box,{sx:{marginTop:2},children:e.jsxRuntimeExports.jsx(h.link_button_default,{name:"contact-us",text:"Contact Us",className:"wrapped-btn outlined-btn",onClick:s})})]})},G=({navigate:t})=>(y.useEffect(()=>{document.title=T.TITLES.LANDING_PAGE_TITLE},[]),e.jsxRuntimeExports.jsxs(i.Box,{sx:{width:"100%"},children:[e.jsxRuntimeExports.jsx(b.Header,{navigate:t}),e.jsxRuntimeExports.jsx(M,{navigate:t}),e.jsxRuntimeExports.jsx(V,{}),e.jsxRuntimeExports.jsx(D,{navigate:t})]}));module.exports=G;
|
package/dist/landing.page.mjs
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-tc70JA_2.mjs";
|
|
2
|
-
import * as h from "react";
|
|
3
|
-
import { useEffect as T } from "react";
|
|
4
|
-
import { H as w } from "./header-DZeF4MvE.mjs";
|
|
5
|
-
import { T as E, C as j } from "./Container-CHiQwwon.mjs";
|
|
6
|
-
import { u as A, g as S, a as M, B as l, G as x } from "./Paper-px0ZrIl-.mjs";
|
|
7
|
-
import { u as C, I } from "./button-BTe1MJmo.mjs";
|
|
8
|
-
import { c as p, T as u } from "./Typography-dhPvE-yk.mjs";
|
|
9
|
-
import { C as H } from "./CardContent-CX83Iz5u.mjs";
|
|
10
|
-
import { l as g } from "./link-button-BkYJm52P.mjs";
|
|
11
|
-
import { T as k } from "./constants-bixGJi69.mjs";
|
|
12
|
-
function L(t, i, n, s, m) {
|
|
13
|
-
const [r, f] = h.useState(() => m && n ? n(t).matches : s ? s(t).matches : i);
|
|
14
|
-
return C(() => {
|
|
15
|
-
if (!n)
|
|
16
|
-
return;
|
|
17
|
-
const a = n(t), c = () => {
|
|
18
|
-
f(a.matches);
|
|
19
|
-
};
|
|
20
|
-
return c(), a.addEventListener("change", c), () => {
|
|
21
|
-
a.removeEventListener("change", c);
|
|
22
|
-
};
|
|
23
|
-
}, [t, n]), r;
|
|
24
|
-
}
|
|
25
|
-
const N = {
|
|
26
|
-
...h
|
|
27
|
-
}, b = N.useSyncExternalStore;
|
|
28
|
-
function P(t, i, n, s, m) {
|
|
29
|
-
const r = h.useCallback(() => i, [i]), f = h.useMemo(() => {
|
|
30
|
-
if (m && n)
|
|
31
|
-
return () => n(t).matches;
|
|
32
|
-
if (s !== null) {
|
|
33
|
-
const {
|
|
34
|
-
matches: d
|
|
35
|
-
} = s(t);
|
|
36
|
-
return () => d;
|
|
37
|
-
}
|
|
38
|
-
return r;
|
|
39
|
-
}, [r, t, s, m, n]), [a, c] = h.useMemo(() => {
|
|
40
|
-
if (n === null)
|
|
41
|
-
return [r, () => () => {
|
|
42
|
-
}];
|
|
43
|
-
const d = n(t);
|
|
44
|
-
return [() => d.matches, (o) => (d.addEventListener("change", o), () => {
|
|
45
|
-
d.removeEventListener("change", o);
|
|
46
|
-
})];
|
|
47
|
-
}, [r, n, t]);
|
|
48
|
-
return b(c, a, f);
|
|
49
|
-
}
|
|
50
|
-
function z(t = {}) {
|
|
51
|
-
const {
|
|
52
|
-
themeId: i
|
|
53
|
-
} = t;
|
|
54
|
-
return function(s, m = {}) {
|
|
55
|
-
let r = A();
|
|
56
|
-
r && i && (r = r[i] || r);
|
|
57
|
-
const f = typeof window < "u" && typeof window.matchMedia < "u", {
|
|
58
|
-
defaultMatches: a = !1,
|
|
59
|
-
matchMedia: c = f ? window.matchMedia : null,
|
|
60
|
-
ssrMatchMedia: v = null,
|
|
61
|
-
noSsr: d = !1
|
|
62
|
-
} = S({
|
|
63
|
-
name: "MuiUseMediaQuery",
|
|
64
|
-
props: m,
|
|
65
|
-
theme: r
|
|
66
|
-
});
|
|
67
|
-
process.env.NODE_ENV !== "production" && typeof s == "function" && r === null && console.error(["MUI: The `query` argument provided is invalid.", "You are providing a function without a theme in the context.", "One of the parent elements needs to use a ThemeProvider."].join(`
|
|
68
|
-
`));
|
|
69
|
-
let o = typeof s == "function" ? s(r) : s;
|
|
70
|
-
o = o.replace(/^@media( ?)/m, ""), o.includes("print") && console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.", "Using the print media query to modify print styles can lead to unexpected results.", "Consider using the `displayPrint` field in the `sx` prop instead.", "More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
|
|
71
|
-
`));
|
|
72
|
-
const y = (b !== void 0 ? P : L)(o, a, c, v, d);
|
|
73
|
-
return process.env.NODE_ENV !== "production" && h.useDebugValue({
|
|
74
|
-
query: o,
|
|
75
|
-
match: y
|
|
76
|
-
}), y;
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
z();
|
|
80
|
-
const V = z({
|
|
81
|
-
themeId: E
|
|
82
|
-
}), B = ({ navigate: t }) => {
|
|
83
|
-
const i = M(), n = V(i.breakpoints.down("md")), s = () => {
|
|
84
|
-
t("/signup");
|
|
85
|
-
};
|
|
86
|
-
return /* @__PURE__ */ e.jsx(l, { display: "flex", flexDirection: "column", minHeight: "91.5vh", height: "auto", children: /* @__PURE__ */ e.jsx(j, { style: { flex: "1", display: "flex", alignItems: "center" }, children: /* @__PURE__ */ e.jsxs(x, { container: !0, alignItems: "center", children: [
|
|
87
|
-
/* @__PURE__ */ e.jsx(x, { size: { xs: 12, md: 5 }, className: "mt-4", children: /* @__PURE__ */ e.jsxs(l, { children: [
|
|
88
|
-
/* @__PURE__ */ e.jsx("div", { className: "landing-info-header", children: "Trading platform with cutting-edge GTT capabilities." }),
|
|
89
|
-
/* @__PURE__ */ e.jsx("div", { className: "landing-info-sub-header mt-4", children: "Experience the future of trading with GTT. Elevate your strategies with DheQuest's superior service. The future is here—trade smarter today." }),
|
|
90
|
-
/* @__PURE__ */ e.jsx("button", { className: "landing-info-button mt-4", onClick: s, children: "Sign Up" })
|
|
91
|
-
] }) }),
|
|
92
|
-
/* @__PURE__ */ e.jsx(x, { size: { xs: 12, md: 7 }, className: "mt-4", children: /* @__PURE__ */ e.jsx(l, { display: "flex", justifyContent: n ? "center" : "end", children: /* @__PURE__ */ e.jsx("img", { className: "title-image-demo", alt: "...", src: I.WALLPAPER }) }) })
|
|
93
|
-
] }) }) });
|
|
94
|
-
}, D = p([/* @__PURE__ */ e.jsx("circle", {
|
|
95
|
-
cx: "12",
|
|
96
|
-
cy: "12",
|
|
97
|
-
r: "3.2"
|
|
98
|
-
}, "0"), /* @__PURE__ */ e.jsx("path", {
|
|
99
|
-
d: "M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"
|
|
100
|
-
}, "1")], "CameraAlt"), Q = p(/* @__PURE__ */ e.jsx("path", {
|
|
101
|
-
d: "M22 5v2h-3v3h-2V7h-3V5h3V2h2v3zm-3 14H5V5h6V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-6h-2zm-4-6v4h2v-4zm-4 4h2V9h-2zm-2 0v-6H7v6z"
|
|
102
|
-
}), "Addchart"), U = p(/* @__PURE__ */ e.jsx("path", {
|
|
103
|
-
d: "M4 9h4v11H4zm12 4h4v7h-4zm-6-9h4v16h-4z"
|
|
104
|
-
}), "BarChart"), _ = p(/* @__PURE__ */ e.jsx("path", {
|
|
105
|
-
d: "M23 8c0 1.1-.9 2-2 2-.18 0-.35-.02-.51-.07l-3.56 3.55c.05.16.07.34.07.52 0 1.1-.9 2-2 2s-2-.9-2-2c0-.18.02-.36.07-.52l-2.55-2.55c-.16.05-.34.07-.52.07s-.36-.02-.52-.07l-4.55 4.56c.05.16.07.33.07.51 0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2c.18 0 .35.02.51.07l4.56-4.55C8.02 9.36 8 9.18 8 9c0-1.1.9-2 2-2s2 .9 2 2c0 .18-.02.36-.07.52l2.55 2.55c.16-.05.34-.07.52-.07s.36.02.52.07l3.55-3.56C19.02 8.35 19 8.18 19 8c0-1.1.9-2 2-2s2 .9 2 2"
|
|
106
|
-
}), "Timeline"), G = p(/* @__PURE__ */ e.jsx("path", {
|
|
107
|
-
d: "M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 16H5V10h14zM9 14H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2zm-8 4H7v-2h2zm4 0h-2v-2h2zm4 0h-2v-2h2z"
|
|
108
|
-
}), "CalendarMonth"), R = p(/* @__PURE__ */ e.jsx("path", {
|
|
109
|
-
d: "M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"
|
|
110
|
-
}), "AccountBalance"), F = [
|
|
111
|
-
{
|
|
112
|
-
title: "Advanced Order Types",
|
|
113
|
-
description: "Execute your trades with precision using a variety of advanced order types, including limit orders, stop-loss orders, take-profit orders, and more.",
|
|
114
|
-
icon: /* @__PURE__ */ e.jsx(D, { sx: { fontSize: "3.5rem" } })
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
title: "Real-time Market Depth",
|
|
118
|
-
description: "Gain valuable insights into market liquidity and order flow with real-time market depth data. See the current buy and sell order.",
|
|
119
|
-
icon: /* @__PURE__ */ e.jsx(Q, { sx: { fontSize: "3.5rem" } })
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
title: "Margin Trading and Leverage",
|
|
123
|
-
description: "Amplify your trading power with margin trading and leverage. Access greater capital and potentially increase your profits.",
|
|
124
|
-
icon: /* @__PURE__ */ e.jsx(U, { sx: { fontSize: "3.5rem" } })
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
title: "Portfolio Analytics",
|
|
128
|
-
description: "Analyze your trading performance with detailed portfolio analytics. improvement and optimize your trading strategies.",
|
|
129
|
-
icon: /* @__PURE__ */ e.jsx(_, { sx: { fontSize: "3.5rem" } })
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
title: "Alerts and Notifications",
|
|
133
|
-
description: "Stay informed about critical market events with customizable alerts and notifications. important events to react quickly to market changes.",
|
|
134
|
-
icon: /* @__PURE__ */ e.jsx(G, { sx: { fontSize: "3.5rem" } })
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
title: "API Access",
|
|
138
|
-
description: "Integrate our platform with your own trading tools and applications using our powerful API. Develop custom trading strategies.",
|
|
139
|
-
icon: /* @__PURE__ */ e.jsx(R, { sx: { fontSize: "3.5rem" } })
|
|
140
|
-
}
|
|
141
|
-
], O = () => /* @__PURE__ */ e.jsxs(l, { sx: { padding: 6, backgroundColor: "#f9f9f9" }, children: [
|
|
142
|
-
/* @__PURE__ */ e.jsxs(j, { children: [
|
|
143
|
-
/* @__PURE__ */ e.jsx(u, { variant: "h4", align: "center", gutterBottom: !0, mb: 4, sx: { fontWeight: "bold" }, children: "Key Features" }),
|
|
144
|
-
/* @__PURE__ */ e.jsx(u, { variant: "body2", align: "center", gutterBottom: !0, mb: 4, sx: { lineHeight: "40px " }, children: "Automate your trading strategies with our robust algorithmic trading capabilities. Develop, backtest, and deploy custom trading bots to execute trades based on predefined rules and parameters, allowing you to capitalize on market opportunities 24/7." })
|
|
145
|
-
] }),
|
|
146
|
-
/* @__PURE__ */ e.jsx(x, { container: !0, spacing: 6, marginBottom: 4, paddingTop: 4, children: F.map((t, i) => /* @__PURE__ */ e.jsx(x, { size: { xs: 12, sm: 6, md: 4 }, textAlign: "center", children: /* @__PURE__ */ e.jsxs(H, { children: [
|
|
147
|
-
t.icon,
|
|
148
|
-
/* @__PURE__ */ e.jsx(u, { variant: "h6", sx: { fontWeight: "bold" }, gutterBottom: !0, children: t.title }),
|
|
149
|
-
/* @__PURE__ */ e.jsx(u, { variant: "body2", gutterBottom: !0, sx: { lineHeight: "40px " }, children: t.description })
|
|
150
|
-
] }) }, i)) })
|
|
151
|
-
] }), W = ({ navigate: t }) => {
|
|
152
|
-
const i = (n) => {
|
|
153
|
-
n && t(`/${n}`);
|
|
154
|
-
};
|
|
155
|
-
return /* @__PURE__ */ e.jsxs(l, { sx: { textAlign: "center", padding: 4, backgroundColor: "#f9f9f9" }, children: [
|
|
156
|
-
/* @__PURE__ */ e.jsxs(u, { variant: "body2", gutterBottom: !0, children: [
|
|
157
|
-
/* @__PURE__ */ e.jsx(g, { name: "privacy-policy", text: "Privacy Policy", onClick: i }),
|
|
158
|
-
" | ",
|
|
159
|
-
/* @__PURE__ */ e.jsx(g, { name: "terms-and-conditions", text: "Terms and Conditions", onClick: i }),
|
|
160
|
-
" | ",
|
|
161
|
-
/* @__PURE__ */ e.jsx(g, { name: "cookie-policy", text: "Cookie Policy", onClick: i }),
|
|
162
|
-
" "
|
|
163
|
-
] }),
|
|
164
|
-
/* @__PURE__ */ e.jsxs(u, { variant: "body2", color: "textSecondary", children: [
|
|
165
|
-
"© ",
|
|
166
|
-
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
167
|
-
" SSPART Enterprise Pvt Ltd. All rights reserved."
|
|
168
|
-
] }),
|
|
169
|
-
/* @__PURE__ */ e.jsx(l, { sx: { marginTop: 2 }, children: /* @__PURE__ */ e.jsx(g, { name: "contact-us", text: "Contact Us", className: "wrapped-btn outlined-btn", onClick: i }) })
|
|
170
|
-
] });
|
|
171
|
-
}, re = ({ navigate: t }) => (T(() => {
|
|
172
|
-
document.title = k.LANDING_PAGE_TITLE;
|
|
173
|
-
}, []), /* @__PURE__ */ e.jsxs(l, { sx: { width: "100%" }, children: [
|
|
174
|
-
/* @__PURE__ */ e.jsx(w, { navigate: t }),
|
|
175
|
-
/* @__PURE__ */ e.jsx(B, { navigate: t }),
|
|
176
|
-
/* @__PURE__ */ e.jsx(O, {}),
|
|
177
|
-
/* @__PURE__ */ e.jsx(W, { navigate: t })
|
|
178
|
-
] }));
|
|
179
|
-
export {
|
|
180
|
-
re as default
|
|
181
|
-
};
|
package/dist/layout.page.d.ts
DELETED
package/dist/layout.page.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./jsx-runtime-nZSsnGb7.js"),o=require("react"),m=require("./constants-CYWfA_it.js");var a=({maxWidth:t,ShortElement:s,LongElement:n})=>{const[r,u]=o.useState(window.innerWidth>t);return o.useEffect(()=>{const x=window.matchMedia(`(min-width: ${t}px)`),i=j=>{u(j.matches)};return x.addEventListener("change",i),()=>{x.removeEventListener("change",i)}},[t]),e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{children:r?n:s})},E=a;const c=({children:t,Header:s,Footer:n,username:r})=>e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsxs("div",{children:[e.jsxRuntimeExports.jsx(E,{maxWidth:m.ON_RESIZE,ShortElement:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{}),LongElement:e.jsxRuntimeExports.jsx(s,{username:r})}),t]}),e.jsxRuntimeExports.jsx(E,{maxWidth:m.ON_RESIZE,ShortElement:e.jsxRuntimeExports.jsx(n,{}),LongElement:e.jsxRuntimeExports.jsx(e.jsxRuntimeExports.Fragment,{})})]});module.exports=c;
|
package/dist/layout.page.mjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-tc70JA_2.mjs";
|
|
2
|
-
import { useState as l, useEffect as x } from "react";
|
|
3
|
-
import { O as o } from "./constants-bixGJi69.mjs";
|
|
4
|
-
var E = ({ maxWidth: t, ShortElement: n, LongElement: r }) => {
|
|
5
|
-
const [s, d] = l(window.innerWidth > t);
|
|
6
|
-
return x(() => {
|
|
7
|
-
const m = window.matchMedia(`(min-width: ${t}px)`), i = (h) => {
|
|
8
|
-
d(h.matches);
|
|
9
|
-
};
|
|
10
|
-
return m.addEventListener("change", i), () => {
|
|
11
|
-
m.removeEventListener("change", i);
|
|
12
|
-
};
|
|
13
|
-
}, [t]), /* @__PURE__ */ e.jsx(e.Fragment, { children: s ? r : n });
|
|
14
|
-
}, a = E;
|
|
15
|
-
const g = ({ children: t, Header: n, Footer: r, username: s }) => /* @__PURE__ */ e.jsxs("div", { children: [
|
|
16
|
-
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
17
|
-
/* @__PURE__ */ e.jsx(a, { maxWidth: o, ShortElement: /* @__PURE__ */ e.jsx(e.Fragment, {}), LongElement: /* @__PURE__ */ e.jsx(n, { username: s }) }),
|
|
18
|
-
t
|
|
19
|
-
] }),
|
|
20
|
-
/* @__PURE__ */ e.jsx(a, { maxWidth: o, ShortElement: /* @__PURE__ */ e.jsx(r, {}), LongElement: /* @__PURE__ */ e.jsx(e.Fragment, {}) })
|
|
21
|
-
] });
|
|
22
|
-
export {
|
|
23
|
-
g as default
|
|
24
|
-
};
|
package/dist/library/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { auth, planAuth, configService } from 'sspart-fe-lib';
|
|
2
|
-
export { default as LogoutErrorPage } from '../pages/logout-error.page';
|
|
3
|
-
export { default as ErrorPage } from '../pages/error.page';
|
|
4
|
-
export { default as LandingPage } from '../pages/landing.page';
|
|
5
|
-
export { default as LayoutPage } from '../pages/layout.page';
|
|
6
|
-
export { default as SignInPage } from '../pages/signin.page';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { useMemo as d, useCallback as c } from "react";
|
|
2
|
-
import { j as p } from "./jsx-runtime-tc70JA_2.mjs";
|
|
3
|
-
function u(o, { insertAt: t } = {}) {
|
|
4
|
-
if (typeof document > "u") return;
|
|
5
|
-
const n = document.head || document.getElementsByTagName("head")[0], e = document.createElement("style");
|
|
6
|
-
e.type = "text/css", t === "top" && n.firstChild ? n.insertBefore(e, n.firstChild) : n.appendChild(e), e.styleSheet ? e.styleSheet.cssText = o : e.appendChild(document.createTextNode(o));
|
|
7
|
-
}
|
|
8
|
-
u(`.btn-link-p {
|
|
9
|
-
background: none;
|
|
10
|
-
border: none;
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
transition: all 0.2s ease-in-out;
|
|
14
|
-
color: var(--primary-color) !important;
|
|
15
|
-
padding: 0;
|
|
16
|
-
font-family: inherit;
|
|
17
|
-
font-size: inherit;
|
|
18
|
-
}
|
|
19
|
-
.btn-link-p:hover {
|
|
20
|
-
color: var(--text-color) !important;
|
|
21
|
-
}
|
|
22
|
-
.btn-link-p:disabled {
|
|
23
|
-
cursor: not-allowed;
|
|
24
|
-
color: var(--disabled-color);
|
|
25
|
-
}
|
|
26
|
-
`);
|
|
27
|
-
var m = ({ id: o, name: t, text: n, className: e = "", disabled: i = !1, onClick: r, children: l }) => {
|
|
28
|
-
const s = d(() => `btn-link-p noselect ${e || ""}`, [e]), a = c(
|
|
29
|
-
(f) => {
|
|
30
|
-
r && r(t);
|
|
31
|
-
},
|
|
32
|
-
[t, r]
|
|
33
|
-
);
|
|
34
|
-
return /* @__PURE__ */ p.jsxs(
|
|
35
|
-
"button",
|
|
36
|
-
{
|
|
37
|
-
id: o,
|
|
38
|
-
name: t,
|
|
39
|
-
disabled: i,
|
|
40
|
-
className: s,
|
|
41
|
-
type: "button",
|
|
42
|
-
onClick: a,
|
|
43
|
-
children: [
|
|
44
|
-
n,
|
|
45
|
-
l
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
}, y = m;
|
|
50
|
-
export {
|
|
51
|
-
y as l
|
|
52
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("react"),c=require("./jsx-runtime-nZSsnGb7.js");function u(o,{insertAt:t}={}){if(typeof document>"u")return;const n=document.head||document.getElementsByTagName("head")[0],e=document.createElement("style");e.type="text/css",t==="top"&&n.firstChild?n.insertBefore(e,n.firstChild):n.appendChild(e),e.styleSheet?e.styleSheet.cssText=o:e.appendChild(document.createTextNode(o))}u(`.btn-link-p {
|
|
2
|
-
background: none;
|
|
3
|
-
border: none;
|
|
4
|
-
text-decoration: none;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
transition: all 0.2s ease-in-out;
|
|
7
|
-
color: var(--primary-color) !important;
|
|
8
|
-
padding: 0;
|
|
9
|
-
font-family: inherit;
|
|
10
|
-
font-size: inherit;
|
|
11
|
-
}
|
|
12
|
-
.btn-link-p:hover {
|
|
13
|
-
color: var(--text-color) !important;
|
|
14
|
-
}
|
|
15
|
-
.btn-link-p:disabled {
|
|
16
|
-
cursor: not-allowed;
|
|
17
|
-
color: var(--disabled-color);
|
|
18
|
-
}
|
|
19
|
-
`);var p=({id:o,name:t,text:n,className:e="",disabled:l=!1,onClick:i,children:s})=>{const a=r.useMemo(()=>`btn-link-p noselect ${e||""}`,[e]),d=r.useCallback(m=>{i&&i(t)},[t,i]);return c.jsxRuntimeExports.jsxs("button",{id:o,name:t,disabled:l,className:a,type:"button",onClick:d,children:[n,s]})},f=p;exports.link_button_default=f;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./jsx-runtime-nZSsnGb7.js"),n=require("./error-C-Fm8lre.js"),i=require("./index-CCRuOAqd.js"),r=require("./Paper-B1BWzC32.js"),s=require("./button-XEz-DvWZ.js"),o=require("./header-BLuHRYED.js");var x={position:"fixed",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999},u={fontWeight:600,fontSize:"16px",textAlign:"center"},a=({path:e})=>t.jsxRuntimeExports.jsx(r.Grid,{container:!0,spacing:0,direction:"row",alignItems:"center",justifyContent:"center",sx:x,children:t.jsxRuntimeExports.jsxs("div",{style:u,children:[t.jsxRuntimeExports.jsx("div",{children:t.jsxRuntimeExports.jsx("img",{alt:"Company Logo",src:e})}),t.jsxRuntimeExports.jsx("div",{children:"Loading..."})]})}),c=a;const d=()=>t.jsxRuntimeExports.jsx(c,{path:s.IMAGE_LINKS.SMALL_ICON}),j=({navigate:e})=>i.authentication_default.isAuthenticated()?t.jsxRuntimeExports.jsx(d,{}):t.jsxRuntimeExports.jsxs(r.Box,{sx:{width:"100%"},children:[t.jsxRuntimeExports.jsx(o.Header,{navigate:e}),t.jsxRuntimeExports.jsx(n.Error,{})]});module.exports=j;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-tc70JA_2.mjs";
|
|
2
|
-
import { E as e } from "./error-B0u1MssC.mjs";
|
|
3
|
-
import { a as i } from "./index-gUmyoYAp.mjs";
|
|
4
|
-
import { G as n, B as o } from "./Paper-px0ZrIl-.mjs";
|
|
5
|
-
import { I as s } from "./button-BTe1MJmo.mjs";
|
|
6
|
-
import { H as a } from "./header-DZeF4MvE.mjs";
|
|
7
|
-
var d = {
|
|
8
|
-
position: "fixed",
|
|
9
|
-
top: 0,
|
|
10
|
-
left: 0,
|
|
11
|
-
width: "100%",
|
|
12
|
-
height: "100%",
|
|
13
|
-
display: "flex",
|
|
14
|
-
alignItems: "center",
|
|
15
|
-
justifyContent: "center",
|
|
16
|
-
zIndex: 9999
|
|
17
|
-
}, x = {
|
|
18
|
-
fontWeight: 600,
|
|
19
|
-
fontSize: "16px",
|
|
20
|
-
textAlign: "center"
|
|
21
|
-
}, c = ({ path: r }) => /* @__PURE__ */ t.jsx(n, { container: !0, spacing: 0, direction: "row", alignItems: "center", justifyContent: "center", sx: d, children: /* @__PURE__ */ t.jsxs("div", { style: x, children: [
|
|
22
|
-
/* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx("img", { alt: "Company Logo", src: r }) }),
|
|
23
|
-
/* @__PURE__ */ t.jsx("div", { children: "Loading..." })
|
|
24
|
-
] }) }), m = c;
|
|
25
|
-
const f = () => /* @__PURE__ */ t.jsx(m, { path: s.SMALL_ICON }), h = ({ navigate: r }) => i.isAuthenticated() ? /* @__PURE__ */ t.jsx(f, {}) : /* @__PURE__ */ t.jsxs(o, { sx: { width: "100%" }, children: [
|
|
26
|
-
/* @__PURE__ */ t.jsx(a, { navigate: r }),
|
|
27
|
-
/* @__PURE__ */ t.jsx(e, {})
|
|
28
|
-
] });
|
|
29
|
-
export {
|
|
30
|
-
h as default
|
|
31
|
-
};
|
package/dist/manifest.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "React App",
|
|
3
|
-
"name": "Create React App Sample",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"start_url": ".",
|
|
12
|
-
"display": "standalone",
|
|
13
|
-
"theme_color": "#000000",
|
|
14
|
-
"background_color": "#ffffff"
|
|
15
|
-
}
|