@sarafapp/iron_core 1.0.58 → 1.0.60
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/IronCore.js +219 -213
- package/dist/IronCore.umd.cjs +4 -4
- package/dist/src/baseForm/BaseRequestBodyFilter.d.ts +4 -0
- package/dist/src/baseForm/FormManager.d.ts +2 -1
- package/dist/src/baseForm/RequestBodyFilter.d.ts +3 -0
- package/dist/src/baseForm/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/IronCore.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import P from "dayjs";
|
|
2
2
|
import { toRaw as We, reactive as it, ref as A, watch as wt, computed as w, onBeforeUnmount as It } from "vue";
|
|
3
|
-
import { JsonConvert as bt, JsonProperty as
|
|
3
|
+
import { JsonConvert as bt, JsonProperty as Y, JsonObject as Ve } from "json2typescript";
|
|
4
4
|
import { defineStore as at } from "pinia";
|
|
5
5
|
var Pe = /* @__PURE__ */ ((t) => (t.BankCard = "####-####-####-####", t.Iban = "##-####-####-####-####-####-##", t))(Pe || {}), re = /* @__PURE__ */ ((t) => (t.FullDate = "YYYY/M/D HH:mm", t.SimpleDate = "YYYY/M/D", t.CompactGregorianDate = "YYYYMMDD", t.ShortJalaliDate = "YYMM", t.JustHour = "HH:mm:ss", t))(re || {});
|
|
6
6
|
const Rt = [
|
|
@@ -496,14 +496,14 @@ function jt() {
|
|
|
496
496
|
}(ye)), ye.exports;
|
|
497
497
|
}
|
|
498
498
|
var Ft = jt();
|
|
499
|
-
const
|
|
499
|
+
const Bt = /* @__PURE__ */ Ce(Ft);
|
|
500
500
|
function he(t, e) {
|
|
501
|
-
return
|
|
501
|
+
return Ut(t) || Yt(t, e) || Ht();
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Ut(t) {
|
|
504
504
|
if (Array.isArray(t)) return t;
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function Yt(t, e) {
|
|
507
507
|
var s = [], r = !0, n = !1, i = void 0;
|
|
508
508
|
try {
|
|
509
509
|
for (var a = t[Symbol.iterator](), l; !(r = (l = a.next()).done) && (s.push(l.value), !(e && s.length === e)); r = !0)
|
|
@@ -608,7 +608,7 @@ var de = {
|
|
|
608
608
|
return h.$C = u, h.isJalali() && h.InitJalali(), h;
|
|
609
609
|
}, r.isJalali = function() {
|
|
610
610
|
return i(this);
|
|
611
|
-
}, s.en.jmonths = "Farvardin_Ordibehesht_Khordaad_Tir_Mordaad_Shahrivar_Mehr_Aabaan_Aazar_Dey_Bahman_Esfand".split("_"), s.locale("fa", Object.assign({},
|
|
611
|
+
}, s.en.jmonths = "Farvardin_Ordibehesht_Khordaad_Tir_Mordaad_Shahrivar_Mehr_Aabaan_Aazar_Dey_Bahman_Esfand".split("_"), s.locale("fa", Object.assign({}, Bt, {}, Xt), !0);
|
|
612
612
|
var J = function(h, p) {
|
|
613
613
|
return s(h, {
|
|
614
614
|
locale: p.$L,
|
|
@@ -777,12 +777,12 @@ const es = {
|
|
|
777
777
|
function ts() {
|
|
778
778
|
P.extend(Qt), P.calendar("jalali"), P.extend(Et), P.extend(Tt), P.extend($t), P.locale(es, {}, !0);
|
|
779
779
|
}
|
|
780
|
-
class
|
|
780
|
+
class Hs {
|
|
781
781
|
constructor(e, s) {
|
|
782
782
|
this.start = e, this.end = s;
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
|
-
class
|
|
785
|
+
class qs {
|
|
786
786
|
constructor(e, s, r) {
|
|
787
787
|
this.maxDate = e, this.minDate = s, this.disabledDates = r;
|
|
788
788
|
}
|
|
@@ -853,7 +853,7 @@ class M {
|
|
|
853
853
|
return P(new Date(e)).subtract(1, "day").format(s);
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
var g = /* @__PURE__ */ ((t) => (t.FetchList = "fetchList", t.AutoRefresh = "autoRefresh", t.FetchItem = "fetchItem", t.FetchLastItems = "fetchLastItems", t.FetchPreviousItems = "fetchPreviousItems", t.Create = "CREATE", t.Update = "UPDATE", t.Delete = "DELETE", t.Search = "SEARCH", t.Sort = "SORT", t.Success = "SUCCESS", t.Error = "ERROR", t.Idle = "IDLE", t))(g || {}), $ = /* @__PURE__ */ ((t) => (t.Width = "width", t.Height = "height", t[t.DefaultWidth = 500] = "DefaultWidth", t[t.DefaultHeight = 350] = "DefaultHeight", t[t.MinimalAvailableSize = 0] = "MinimalAvailableSize", t))($ || {}), L = /* @__PURE__ */ ((t) => (t.ASC = "ASC", t.DESC = "DESC", t))(L || {}), ss = /* @__PURE__ */ ((t) => (t.ASC = "ascend", t.DESC = "descend", t))(ss || {}), $e = /* @__PURE__ */ ((t) => (t.Left = "left", t.Right = "right", t.Center = "center", t))($e || {}), Ne = /* @__PURE__ */ ((t) => (t.Text = "text", t))(Ne || {}), je = /* @__PURE__ */ ((t) => (t.Text = "text", t.ACTION = "action", t.Tag = "tag", t.Iban = "iban", t.BankCard = "bankCard", t.Symbol = "symbol", t.TradeDetail = "tradeDetail", t.SymbolPrice = "symbolPrice", t.TradeSymbol = "tradeSymbol", t.Price = "price", t.DynamicCurrencyPrice = "dynamicCurrencyPrice", t.TradeDate = "tradeDate", t.RequestResponseIdentity = "requestResponseIdentity", t.Image = "image", t))(je || {}), lt = /* @__PURE__ */ ((t) => (t[t.MINIMAL_LOADABLE_HEADER_COUNT = 0] = "MINIMAL_LOADABLE_HEADER_COUNT", t[t.DEFAULT_ITEM_COUNT_PER_PAGE = 20] = "DEFAULT_ITEM_COUNT_PER_PAGE", t.PAGINATION_POSITION = "bottomCenter", t))(lt || {}), Fe = /* @__PURE__ */ ((t) => (t.FontFamily = "IRANSansX", t))(Fe || {}), ne = /* @__PURE__ */ ((t) => (t.Open = "open", t.Close = "close", t))(ne || {}), rs = /* @__PURE__ */ ((t) => (t[t.NotFound = 404] = "NotFound", t[t.Unauthorized = 401] = "Unauthorized", t[t.ServerError = 500] = "ServerError", t))(rs || {}), we = /* @__PURE__ */ ((t) => (t[t.Invalid = 0] = "Invalid", t[t.Valid = 1] = "Valid", t))(we || {}),
|
|
856
|
+
var g = /* @__PURE__ */ ((t) => (t.FetchList = "fetchList", t.AutoRefresh = "autoRefresh", t.FetchItem = "fetchItem", t.FetchLastItems = "fetchLastItems", t.FetchPreviousItems = "fetchPreviousItems", t.Create = "CREATE", t.Update = "UPDATE", t.Delete = "DELETE", t.Search = "SEARCH", t.Sort = "SORT", t.Success = "SUCCESS", t.Error = "ERROR", t.Idle = "IDLE", t))(g || {}), $ = /* @__PURE__ */ ((t) => (t.Width = "width", t.Height = "height", t[t.DefaultWidth = 500] = "DefaultWidth", t[t.DefaultHeight = 350] = "DefaultHeight", t[t.MinimalAvailableSize = 0] = "MinimalAvailableSize", t))($ || {}), L = /* @__PURE__ */ ((t) => (t.ASC = "ASC", t.DESC = "DESC", t))(L || {}), ss = /* @__PURE__ */ ((t) => (t.ASC = "ascend", t.DESC = "descend", t))(ss || {}), $e = /* @__PURE__ */ ((t) => (t.Left = "left", t.Right = "right", t.Center = "center", t))($e || {}), Ne = /* @__PURE__ */ ((t) => (t.Text = "text", t))(Ne || {}), je = /* @__PURE__ */ ((t) => (t.Text = "text", t.ACTION = "action", t.Tag = "tag", t.Iban = "iban", t.BankCard = "bankCard", t.Symbol = "symbol", t.TradeDetail = "tradeDetail", t.SymbolPrice = "symbolPrice", t.TradeSymbol = "tradeSymbol", t.Price = "price", t.DynamicCurrencyPrice = "dynamicCurrencyPrice", t.TradeDate = "tradeDate", t.RequestResponseIdentity = "requestResponseIdentity", t.Image = "image", t))(je || {}), lt = /* @__PURE__ */ ((t) => (t[t.MINIMAL_LOADABLE_HEADER_COUNT = 0] = "MINIMAL_LOADABLE_HEADER_COUNT", t[t.DEFAULT_ITEM_COUNT_PER_PAGE = 20] = "DEFAULT_ITEM_COUNT_PER_PAGE", t.PAGINATION_POSITION = "bottomCenter", t))(lt || {}), Fe = /* @__PURE__ */ ((t) => (t.FontFamily = "IRANSansX", t))(Fe || {}), ne = /* @__PURE__ */ ((t) => (t.Open = "open", t.Close = "close", t))(ne || {}), rs = /* @__PURE__ */ ((t) => (t[t.NotFound = 404] = "NotFound", t[t.Unauthorized = 401] = "Unauthorized", t[t.ServerError = 500] = "ServerError", t))(rs || {}), we = /* @__PURE__ */ ((t) => (t[t.Invalid = 0] = "Invalid", t[t.Valid = 1] = "Valid", t))(we || {}), U = /* @__PURE__ */ ((t) => (t.Theme = "theme", t.AccessList = "accessList", t.Token = "token", t.SSO_ACCESS_LIST = "ssoAccessList", t))(U || {}), Fe = /* @__PURE__ */ ((t) => (t.Light = "light", t.Dark = "dark", t))(Fe || {}), Be = /* @__PURE__ */ ((t) => (t.Dialog = "dialog", t.Drawer = "drawer", t.Module = "module", t.Toast = "toast", t))(Be || {}), ns = /* @__PURE__ */ ((t) => (t.USDT = "USDT", t))(ns || {});
|
|
857
857
|
class Q {
|
|
858
858
|
static getBankImageBaseOnCardInfo(e, s) {
|
|
859
859
|
return e === void 0 ? "/img/banks/shetab.png" : s === "IBAN" ? (e = M.toEnglishDigits(
|
|
@@ -926,7 +926,7 @@ const j = class j {
|
|
|
926
926
|
this.availableAccesses.add(s);
|
|
927
927
|
}
|
|
928
928
|
setAccessListToStorage(e) {
|
|
929
|
-
localStorage.setItem(
|
|
929
|
+
localStorage.setItem(U.AccessList, JSON.stringify(e));
|
|
930
930
|
}
|
|
931
931
|
everyAccess(e) {
|
|
932
932
|
return e.every((s) => this.availableAccesses.has(s));
|
|
@@ -935,10 +935,10 @@ const j = class j {
|
|
|
935
935
|
return e.some((s) => this.availableAccesses.has(s));
|
|
936
936
|
}
|
|
937
937
|
clearAvailableAccesses() {
|
|
938
|
-
this.availableAccesses.clear(), localStorage.removeItem(
|
|
938
|
+
this.availableAccesses.clear(), localStorage.removeItem(U.AccessList);
|
|
939
939
|
}
|
|
940
940
|
initialize() {
|
|
941
|
-
const e = localStorage.getItem(
|
|
941
|
+
const e = localStorage.getItem(U.AccessList);
|
|
942
942
|
e !== null && this.setAvailableAccesses(JSON.parse(e));
|
|
943
943
|
}
|
|
944
944
|
static GetInstance() {
|
|
@@ -958,12 +958,12 @@ class ct {
|
|
|
958
958
|
}, this.accessService = ae.GetInstance();
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
|
-
class
|
|
961
|
+
class zs extends ct {
|
|
962
962
|
hasAccess(e) {
|
|
963
963
|
return this.accessService.everyAccess(e);
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
|
-
class
|
|
966
|
+
class Ws extends ct {
|
|
967
967
|
hasAccess(e) {
|
|
968
968
|
return this.accessService.someAccess(e);
|
|
969
969
|
}
|
|
@@ -981,10 +981,10 @@ const F = class F {
|
|
|
981
981
|
this.setAccessLevelsToStorage(e);
|
|
982
982
|
}
|
|
983
983
|
setAccessLevelsToStorage(e) {
|
|
984
|
-
localStorage.setItem(
|
|
984
|
+
localStorage.setItem(U.SSO_ACCESS_LIST, JSON.stringify(e));
|
|
985
985
|
}
|
|
986
986
|
getAccessLevelsFromStorage() {
|
|
987
|
-
let e = localStorage.getItem(
|
|
987
|
+
let e = localStorage.getItem(U.SSO_ACCESS_LIST);
|
|
988
988
|
return e !== null ? JSON.parse(e) : e;
|
|
989
989
|
}
|
|
990
990
|
getAccessLevelsOfScope(e) {
|
|
@@ -1008,7 +1008,7 @@ const F = class F {
|
|
|
1008
1008
|
return this._accessLevels.has(e);
|
|
1009
1009
|
}
|
|
1010
1010
|
clear() {
|
|
1011
|
-
localStorage.removeItem(
|
|
1011
|
+
localStorage.removeItem(U.SSO_ACCESS_LIST), this._accessLevels = /* @__PURE__ */ new Map();
|
|
1012
1012
|
}
|
|
1013
1013
|
static GetInstance() {
|
|
1014
1014
|
return F._instance || (F._instance = new F()), F._instance;
|
|
@@ -1040,12 +1040,12 @@ class ut {
|
|
|
1040
1040
|
return r.length || (r = Array.from(((n = this._authorizationService.getAccessLevelsOfScope(e)) == null ? void 0 : n.values()) ?? [])), r;
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
|
-
class
|
|
1043
|
+
class Js extends ut {
|
|
1044
1044
|
hasAccess(e, s) {
|
|
1045
1045
|
return this._authorizationService.everyAccess(e, s);
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
|
-
class
|
|
1048
|
+
class Gs extends ut {
|
|
1049
1049
|
hasAccess(e, s) {
|
|
1050
1050
|
return this._authorizationService.someAccess(e, s);
|
|
1051
1051
|
}
|
|
@@ -1055,19 +1055,19 @@ class is {
|
|
|
1055
1055
|
this.value = null, this.initialValue = null, this.name = "", this.isValid = !1, this.isBlurSensitive = !1, this.isRequired = !1, this.isIncludeInRequestBody = !0, this.isChangeSensitive = !1, this.notValidMessage = "", this.isEmptySensitive = !0, this.hasCustomValidationCheck = !1, this.shouldRemoveValidationMessageOnInteract = !1;
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function Ks(t) {
|
|
1059
1059
|
return t === 1;
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function Zs(t, e) {
|
|
1062
1062
|
return t - 1 === e;
|
|
1063
1063
|
}
|
|
1064
1064
|
function as(t) {
|
|
1065
1065
|
return String(t).length === 0 || t === null || t === void 0;
|
|
1066
1066
|
}
|
|
1067
|
-
function
|
|
1067
|
+
function Xs(t) {
|
|
1068
1068
|
t();
|
|
1069
1069
|
}
|
|
1070
|
-
class
|
|
1070
|
+
class Qs {
|
|
1071
1071
|
constructor(e, s) {
|
|
1072
1072
|
this.initialData = null, this.data = new is(), this._validators = [], this._id = Math.random(), this.data.value = s, this.data.name = e, this.shouldRunValidation() && this.runValidation(!0);
|
|
1073
1073
|
}
|
|
@@ -1179,7 +1179,7 @@ class Xs {
|
|
|
1179
1179
|
return this.data.value;
|
|
1180
1180
|
}
|
|
1181
1181
|
}
|
|
1182
|
-
class
|
|
1182
|
+
class er {
|
|
1183
1183
|
constructor(e) {
|
|
1184
1184
|
this._inputControl = e;
|
|
1185
1185
|
}
|
|
@@ -1214,7 +1214,7 @@ class Qs {
|
|
|
1214
1214
|
return this._inputControl;
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
|
-
class
|
|
1217
|
+
class tr {
|
|
1218
1218
|
constructor() {
|
|
1219
1219
|
this.mounted = (e, s) => {
|
|
1220
1220
|
s.value && s.value.getIsBlurSensitive() && (e.addEventListener("click", this.handleFocus.bind(this, s.value)), e.addEventListener(
|
|
@@ -1236,7 +1236,12 @@ class er {
|
|
|
1236
1236
|
e.value || e.getIsEmptySensitive() || e.setNotValidMessage("");
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
class
|
|
1239
|
+
class os {
|
|
1240
|
+
shouldBeInRequestBody(e) {
|
|
1241
|
+
return !0;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
class sr {
|
|
1240
1245
|
constructor() {
|
|
1241
1246
|
this._inputControls = /* @__PURE__ */ new Map(), this._isValid = !1, this._id = Math.random();
|
|
1242
1247
|
}
|
|
@@ -1272,11 +1277,11 @@ class tr {
|
|
|
1272
1277
|
for (const e of this.getInputControlsAsArray())
|
|
1273
1278
|
e.reset();
|
|
1274
1279
|
}
|
|
1275
|
-
createRequestBody() {
|
|
1276
|
-
const
|
|
1277
|
-
for (const
|
|
1278
|
-
|
|
1279
|
-
return
|
|
1280
|
+
createRequestBody(e = new os()) {
|
|
1281
|
+
const s = {};
|
|
1282
|
+
for (const r of this.getInputControlsAsArray())
|
|
1283
|
+
r.getIsIncludeInRequestBody() && e.shouldBeInRequestBody(r.value) && (s[r.getName()] = r.value);
|
|
1284
|
+
return s;
|
|
1280
1285
|
}
|
|
1281
1286
|
setIsValid(e) {
|
|
1282
1287
|
this._isValid = e;
|
|
@@ -1291,7 +1296,7 @@ class tr {
|
|
|
1291
1296
|
return this._id;
|
|
1292
1297
|
}
|
|
1293
1298
|
}
|
|
1294
|
-
function
|
|
1299
|
+
function rr(t, e = !1) {
|
|
1295
1300
|
const s = it(t), r = A(
|
|
1296
1301
|
we.Invalid
|
|
1297
1302
|
);
|
|
@@ -1325,7 +1330,7 @@ class ht {
|
|
|
1325
1330
|
this.timerId && clearInterval(this.timerId);
|
|
1326
1331
|
}
|
|
1327
1332
|
}
|
|
1328
|
-
const dt = "150px", ft = 2,
|
|
1333
|
+
const dt = "150px", ft = 2, nr = {
|
|
1329
1334
|
path: "id",
|
|
1330
1335
|
key: "id",
|
|
1331
1336
|
title: "عملیات",
|
|
@@ -1335,14 +1340,14 @@ const dt = "150px", ft = 2, rr = {
|
|
|
1335
1340
|
align: $e.Center,
|
|
1336
1341
|
headerType: Ne.Text,
|
|
1337
1342
|
accessLevel: null
|
|
1338
|
-
},
|
|
1343
|
+
}, ls = {
|
|
1339
1344
|
width: dt,
|
|
1340
1345
|
align: $e.Center,
|
|
1341
1346
|
headerType: Ne.Text,
|
|
1342
1347
|
cellType: je.Text,
|
|
1343
1348
|
colspan: ft
|
|
1344
1349
|
};
|
|
1345
|
-
class
|
|
1350
|
+
class Ue {
|
|
1346
1351
|
constructor(e, s) {
|
|
1347
1352
|
this.key = e, this.order = s;
|
|
1348
1353
|
}
|
|
@@ -1369,7 +1374,7 @@ class Qe {
|
|
|
1369
1374
|
});
|
|
1370
1375
|
}
|
|
1371
1376
|
}
|
|
1372
|
-
class
|
|
1377
|
+
class ir {
|
|
1373
1378
|
arrayOfObjectSort(e, s, r, n = new Qe()) {
|
|
1374
1379
|
return r === L.ASC ? n.aSort(e, s) : n.bSort(e, s);
|
|
1375
1380
|
}
|
|
@@ -1377,9 +1382,9 @@ class nr {
|
|
|
1377
1382
|
return s === L.ASC ? r.aSort(e) : r.bSort(e);
|
|
1378
1383
|
}
|
|
1379
1384
|
}
|
|
1380
|
-
class
|
|
1385
|
+
class cs {
|
|
1381
1386
|
constructor(e) {
|
|
1382
|
-
this.currentPage = 1, this.currentPageSize = 20, this.currentSortDetail = new
|
|
1387
|
+
this.currentPage = 1, this.currentPageSize = 20, this.currentSortDetail = new Ue(
|
|
1383
1388
|
"id",
|
|
1384
1389
|
L.DESC
|
|
1385
1390
|
), this.loadedRows = [], this.headerSchema = [], this.service = e, this.accessService = ae.GetInstance();
|
|
@@ -1488,7 +1493,7 @@ class C {
|
|
|
1488
1493
|
return this._value;
|
|
1489
1494
|
}
|
|
1490
1495
|
}
|
|
1491
|
-
class
|
|
1496
|
+
class ar extends cs {
|
|
1492
1497
|
constructor(e) {
|
|
1493
1498
|
super(e), this.selectedRows = new C(/* @__PURE__ */ new Map()), this.rowSelect = this.rowSelect.bind(this), this.selectAll = this.selectAll.bind(this), this.isEveryRowSelected = this.isEveryRowSelected.bind(this), this.handlePagination = this.handlePagination.bind(this), this.clearAllSelectedItems = this.clearAllSelectedItems.bind(this), this.getSelectedRows = this.getSelectedRows.bind(this), this.getSelectedRowsAsArray = this.getSelectedRowsAsArray.bind(this), this.getSelectedRowIds = this.getSelectedRowIds.bind(this);
|
|
1494
1499
|
}
|
|
@@ -1527,18 +1532,18 @@ class ir extends ls {
|
|
|
1527
1532
|
return this.selectedRows.getValue();
|
|
1528
1533
|
}
|
|
1529
1534
|
}
|
|
1530
|
-
function
|
|
1535
|
+
function or(t) {
|
|
1531
1536
|
return {
|
|
1532
|
-
...
|
|
1537
|
+
...ls,
|
|
1533
1538
|
...t
|
|
1534
1539
|
};
|
|
1535
1540
|
}
|
|
1536
|
-
function
|
|
1541
|
+
function lr(t) {
|
|
1537
1542
|
return function(s, r) {
|
|
1538
1543
|
s.constructor.prototype.headers || (s.constructor.prototype.headers = []), s.constructor.prototype.headers.push({ path: r, ...t });
|
|
1539
1544
|
};
|
|
1540
1545
|
}
|
|
1541
|
-
function
|
|
1546
|
+
function cr(t) {
|
|
1542
1547
|
return function(s) {
|
|
1543
1548
|
async function r() {
|
|
1544
1549
|
return s.prototype._table = this, s.prototype.headers;
|
|
@@ -1565,22 +1570,22 @@ function lr(t) {
|
|
|
1565
1570
|
t.prototype.loadHeader = r, t.prototype.getActions = n, t.prototype.handleClick = i, t.prototype.onDestroy = a;
|
|
1566
1571
|
};
|
|
1567
1572
|
}
|
|
1568
|
-
function
|
|
1573
|
+
function ur(t) {
|
|
1569
1574
|
return function(s, r, n) {
|
|
1570
1575
|
s.constructor.prototype.actions || (s.constructor.prototype.actions = []), t.handler = n.value, s.constructor.prototype.actions.push(t);
|
|
1571
1576
|
};
|
|
1572
1577
|
}
|
|
1573
|
-
function
|
|
1578
|
+
function hr() {
|
|
1574
1579
|
return function(e, s, r) {
|
|
1575
1580
|
e.constructor.prototype.tableDestroy = r.value;
|
|
1576
1581
|
};
|
|
1577
1582
|
}
|
|
1578
|
-
function
|
|
1583
|
+
function dr() {
|
|
1579
1584
|
return function(e, s, r) {
|
|
1580
1585
|
e.constructor.prototype.rowClick = r.value;
|
|
1581
1586
|
};
|
|
1582
1587
|
}
|
|
1583
|
-
class
|
|
1588
|
+
class fr {
|
|
1584
1589
|
constructor() {
|
|
1585
1590
|
this.observers = [];
|
|
1586
1591
|
}
|
|
@@ -1597,9 +1602,9 @@ class dr {
|
|
|
1597
1602
|
e.update(this);
|
|
1598
1603
|
}
|
|
1599
1604
|
}
|
|
1600
|
-
class
|
|
1605
|
+
class us {
|
|
1601
1606
|
constructor(e) {
|
|
1602
|
-
this.rows = new C([]), this.headerSchema = new C([]), this.currentPage = new C(1), this.currentPageSize = new C(20), this.totalItems = new C(0), this.currentSortDetail = new C(new
|
|
1607
|
+
this.rows = new C([]), this.headerSchema = new C([]), this.currentPage = new C(1), this.currentPageSize = new C(20), this.totalItems = new C(0), this.currentSortDetail = new C(new Ue("id", L.DESC)), this.scrollDetail = new C(null), this.isExpandable = new C(!1), this.tableSource = e, this.accessService = ae.GetInstance();
|
|
1603
1608
|
}
|
|
1604
1609
|
async load() {
|
|
1605
1610
|
this.rows.next(await this.tableSource.loadRows()), this.headerSchema.next(
|
|
@@ -1652,7 +1657,7 @@ class cs {
|
|
|
1652
1657
|
this.tableSource.onTableDestroy();
|
|
1653
1658
|
}
|
|
1654
1659
|
}
|
|
1655
|
-
class
|
|
1660
|
+
class pr extends us {
|
|
1656
1661
|
constructor(e) {
|
|
1657
1662
|
super(e), this.selectedRows = new C(
|
|
1658
1663
|
/* @__PURE__ */ new Map()
|
|
@@ -1685,7 +1690,7 @@ class fr extends cs {
|
|
|
1685
1690
|
return Array.from(this.selectedRows.getValue().keys());
|
|
1686
1691
|
}
|
|
1687
1692
|
}
|
|
1688
|
-
class
|
|
1693
|
+
class vr {
|
|
1689
1694
|
constructor() {
|
|
1690
1695
|
this.setCellComponentRegistry = this.setCellComponentRegistry.bind(this), this.getCellComponentRegistry = this.getCellComponentRegistry.bind(this);
|
|
1691
1696
|
}
|
|
@@ -1696,7 +1701,7 @@ class pr {
|
|
|
1696
1701
|
return this.cellComponentRegistry;
|
|
1697
1702
|
}
|
|
1698
1703
|
}
|
|
1699
|
-
class
|
|
1704
|
+
class gr {
|
|
1700
1705
|
constructor() {
|
|
1701
1706
|
this.registeredComponents = /* @__PURE__ */ new Map();
|
|
1702
1707
|
}
|
|
@@ -1707,12 +1712,12 @@ class vr {
|
|
|
1707
1712
|
return this.registeredComponents;
|
|
1708
1713
|
}
|
|
1709
1714
|
}
|
|
1710
|
-
function
|
|
1715
|
+
function mr(t) {
|
|
1711
1716
|
return function(s, r) {
|
|
1712
1717
|
s.constructor.prototype.headers || (s.constructor.prototype.headers = []), s.constructor.prototype.headers.push({ path: r, ...t });
|
|
1713
1718
|
};
|
|
1714
1719
|
}
|
|
1715
|
-
function
|
|
1720
|
+
function yr(t) {
|
|
1716
1721
|
return function(s) {
|
|
1717
1722
|
async function r() {
|
|
1718
1723
|
return s.prototype.headers || [];
|
|
@@ -1720,7 +1725,7 @@ function mr(t) {
|
|
|
1720
1725
|
t.prototype.loadHeaderSchema = r;
|
|
1721
1726
|
};
|
|
1722
1727
|
}
|
|
1723
|
-
function
|
|
1728
|
+
function hs() {
|
|
1724
1729
|
const t = A(
|
|
1725
1730
|
/* @__PURE__ */ new Map()
|
|
1726
1731
|
), e = A(0), s = A(null), r = w(() => Array.from(t.value.values()));
|
|
@@ -1763,23 +1768,23 @@ function us() {
|
|
|
1763
1768
|
clearCurrentItem: d
|
|
1764
1769
|
};
|
|
1765
1770
|
}
|
|
1766
|
-
class
|
|
1771
|
+
class ds {
|
|
1767
1772
|
constructor() {
|
|
1768
|
-
this.pageNumber = 1, this.itemCount = 20, this.sortDetail = new
|
|
1773
|
+
this.pageNumber = 1, this.itemCount = 20, this.sortDetail = new Ue("id", L.DESC), this.filters = [];
|
|
1769
1774
|
}
|
|
1770
1775
|
}
|
|
1771
|
-
class
|
|
1776
|
+
class Sr {
|
|
1772
1777
|
constructor(e, s) {
|
|
1773
1778
|
this.items = e, this.totalItems = s;
|
|
1774
1779
|
}
|
|
1775
1780
|
}
|
|
1776
|
-
class
|
|
1781
|
+
class wr {
|
|
1777
1782
|
constructor(e, s) {
|
|
1778
1783
|
this.shouldKeepSync = e, this.intervalInMillisecond = s;
|
|
1779
1784
|
}
|
|
1780
1785
|
}
|
|
1781
|
-
const et = new
|
|
1782
|
-
function
|
|
1786
|
+
const et = new ds();
|
|
1787
|
+
function fs() {
|
|
1783
1788
|
const t = A(structuredClone(et));
|
|
1784
1789
|
function e() {
|
|
1785
1790
|
t.value.pageNumber = t.value.pageNumber + 1;
|
|
@@ -1843,7 +1848,7 @@ function ds() {
|
|
|
1843
1848
|
setFiltersBaseOnRequestBody: a
|
|
1844
1849
|
};
|
|
1845
1850
|
}
|
|
1846
|
-
function
|
|
1851
|
+
function ps() {
|
|
1847
1852
|
const t = A(/* @__PURE__ */ new Set()), e = w(() => t.value.has(g.FetchList)), s = w(() => t.value.has(g.FetchItem)), r = w(() => t.value.has(g.FetchLastItems)), n = w(() => t.value.has(g.FetchPreviousItems)), i = w(() => t.value.has(g.Create)), a = w(() => t.value.has(g.Update)), l = w(() => t.value.has(g.Delete)), o = w(() => t.value.has(g.Search)), c = w(() => t.value.has(g.Sort));
|
|
1848
1853
|
function f(v) {
|
|
1849
1854
|
t.value.add(v);
|
|
@@ -1866,8 +1871,8 @@ function fs() {
|
|
|
1866
1871
|
removeStatus: d
|
|
1867
1872
|
};
|
|
1868
1873
|
}
|
|
1869
|
-
function
|
|
1870
|
-
const e =
|
|
1874
|
+
function Ir(t) {
|
|
1875
|
+
const e = hs(), s = fs(), r = ps(), n = new ht({
|
|
1871
1876
|
runAction: async () => d(g.AutoRefresh)
|
|
1872
1877
|
}), i = w(() => {
|
|
1873
1878
|
const u = s.params.value.pageNumber, h = s.params.value.itemCount, p = u * h - h, S = u * h - 1, I = [];
|
|
@@ -1980,7 +1985,7 @@ function wr(t) {
|
|
|
1980
1985
|
currentPageItems: i
|
|
1981
1986
|
};
|
|
1982
1987
|
}
|
|
1983
|
-
function
|
|
1988
|
+
function br(t) {
|
|
1984
1989
|
const e = A(t), s = w(() => ({
|
|
1985
1990
|
getData() {
|
|
1986
1991
|
return {
|
|
@@ -2015,7 +2020,7 @@ function Ir(t) {
|
|
|
2015
2020
|
staticTableService: s
|
|
2016
2021
|
};
|
|
2017
2022
|
}
|
|
2018
|
-
function
|
|
2023
|
+
function Rr() {
|
|
2019
2024
|
const t = A(/* @__PURE__ */ new Map()), e = A(0), s = w(() => e.value), r = w(() => Array.from(t.value.values()));
|
|
2020
2025
|
function n(f) {
|
|
2021
2026
|
e.value = f;
|
|
@@ -2047,7 +2052,7 @@ function br() {
|
|
|
2047
2052
|
getTotalCount: s
|
|
2048
2053
|
};
|
|
2049
2054
|
}
|
|
2050
|
-
function
|
|
2055
|
+
function Dr(t, e = 3e5) {
|
|
2051
2056
|
const s = A(structuredClone(t));
|
|
2052
2057
|
let r = null;
|
|
2053
2058
|
function n() {
|
|
@@ -2065,7 +2070,7 @@ function Rr(t, e = 3e5) {
|
|
|
2065
2070
|
});
|
|
2066
2071
|
return n(), i;
|
|
2067
2072
|
}
|
|
2068
|
-
class
|
|
2073
|
+
class Ar {
|
|
2069
2074
|
constructor(e, s = 500) {
|
|
2070
2075
|
this.timerId = null, this.debounceTimeout = s, this.action = e;
|
|
2071
2076
|
}
|
|
@@ -2078,7 +2083,7 @@ class Dr {
|
|
|
2078
2083
|
this.timerId && clearTimeout(this.timerId);
|
|
2079
2084
|
}
|
|
2080
2085
|
}
|
|
2081
|
-
function
|
|
2086
|
+
function Cr(t) {
|
|
2082
2087
|
return function(e, s, r) {
|
|
2083
2088
|
const n = r.value;
|
|
2084
2089
|
r.value = async function(...i) {
|
|
@@ -2091,7 +2096,7 @@ function Ar(t) {
|
|
|
2091
2096
|
};
|
|
2092
2097
|
};
|
|
2093
2098
|
}
|
|
2094
|
-
function
|
|
2099
|
+
function _r(t) {
|
|
2095
2100
|
return function(e, s, r) {
|
|
2096
2101
|
const n = r.value;
|
|
2097
2102
|
r.value = async function(...i) {
|
|
@@ -2107,7 +2112,7 @@ function Cr(t) {
|
|
|
2107
2112
|
};
|
|
2108
2113
|
};
|
|
2109
2114
|
}
|
|
2110
|
-
class
|
|
2115
|
+
class Mr {
|
|
2111
2116
|
constructor(e, s, r = () => !0, n = () => !0) {
|
|
2112
2117
|
this.successMessageResolver = e, this.failureMessageResolver = s, this.shouldResolveSuccess = r, this.shouldResolveFailure = n;
|
|
2113
2118
|
}
|
|
@@ -2137,7 +2142,7 @@ const _ = class _ {
|
|
|
2137
2142
|
};
|
|
2138
2143
|
_.handlers = /* @__PURE__ */ new Map(), _.instance = null;
|
|
2139
2144
|
let tt = _;
|
|
2140
|
-
class
|
|
2145
|
+
class Er {
|
|
2141
2146
|
constructor(e) {
|
|
2142
2147
|
this.axiosInstance = e;
|
|
2143
2148
|
}
|
|
@@ -2172,7 +2177,7 @@ class Mr {
|
|
|
2172
2177
|
return this.axiosInstance;
|
|
2173
2178
|
}
|
|
2174
2179
|
}
|
|
2175
|
-
class
|
|
2180
|
+
class Or {
|
|
2176
2181
|
constructor(e) {
|
|
2177
2182
|
this.axiosInstance = e;
|
|
2178
2183
|
}
|
|
@@ -2210,7 +2215,7 @@ class Er {
|
|
|
2210
2215
|
);
|
|
2211
2216
|
}
|
|
2212
2217
|
}
|
|
2213
|
-
class
|
|
2218
|
+
class Pr {
|
|
2214
2219
|
constructor() {
|
|
2215
2220
|
this._initializer = [];
|
|
2216
2221
|
}
|
|
@@ -2222,7 +2227,7 @@ class Or {
|
|
|
2222
2227
|
e.initialize();
|
|
2223
2228
|
}
|
|
2224
2229
|
}
|
|
2225
|
-
const
|
|
2230
|
+
const B = class B {
|
|
2226
2231
|
constructor() {
|
|
2227
2232
|
this.jsonConverter = new bt();
|
|
2228
2233
|
}
|
|
@@ -2244,18 +2249,18 @@ const U = class U {
|
|
|
2244
2249
|
throw new Error("Unable to deserialize object");
|
|
2245
2250
|
}
|
|
2246
2251
|
static GetInstance() {
|
|
2247
|
-
return
|
|
2252
|
+
return B.Instance || (B.Instance = new B()), B.Instance;
|
|
2248
2253
|
}
|
|
2249
2254
|
};
|
|
2250
|
-
|
|
2251
|
-
let st =
|
|
2252
|
-
var
|
|
2253
|
-
class
|
|
2255
|
+
B.Instance = null;
|
|
2256
|
+
let st = B;
|
|
2257
|
+
var vs = /* @__PURE__ */ ((t) => (t.Success = "success", t.Failure = "error", t.Info = "info", t.Warning = "warning", t))(vs || {}), pt = /* @__PURE__ */ ((t) => (t.BottomLeft = "bottomLeft", t.TopLeft = "topLeft", t))(pt || {});
|
|
2258
|
+
class Lr {
|
|
2254
2259
|
constructor(e, s, r) {
|
|
2255
2260
|
this.placement = pt.BottomLeft, this.type = e, this.message = s, this.description = r;
|
|
2256
2261
|
}
|
|
2257
2262
|
}
|
|
2258
|
-
const
|
|
2263
|
+
const Tr = at(Be.Dialog, () => {
|
|
2259
2264
|
const t = it({
|
|
2260
2265
|
dialogComponent: null,
|
|
2261
2266
|
width: $.DefaultWidth,
|
|
@@ -2294,7 +2299,7 @@ const Lr = at(Ue.Dialog, () => {
|
|
|
2294
2299
|
isDialogExists: e,
|
|
2295
2300
|
hasDefaultHeader: s
|
|
2296
2301
|
};
|
|
2297
|
-
}),
|
|
2302
|
+
}), xr = at(Be.Drawer, () => {
|
|
2298
2303
|
const t = A(ne.Close), e = w(() => t.value === ne.Open);
|
|
2299
2304
|
function s() {
|
|
2300
2305
|
t.value = ne.Close;
|
|
@@ -2308,7 +2313,7 @@ const Lr = at(Ue.Dialog, () => {
|
|
|
2308
2313
|
isDrawerOpen: e
|
|
2309
2314
|
};
|
|
2310
2315
|
});
|
|
2311
|
-
class
|
|
2316
|
+
class kr {
|
|
2312
2317
|
constructor(e) {
|
|
2313
2318
|
this.mapProcesses = /* @__PURE__ */ new Map(), this.processes = e, this.assignProcessManager();
|
|
2314
2319
|
}
|
|
@@ -2328,7 +2333,7 @@ class xr {
|
|
|
2328
2333
|
await s.execute();
|
|
2329
2334
|
}
|
|
2330
2335
|
}
|
|
2331
|
-
class
|
|
2336
|
+
class Vr {
|
|
2332
2337
|
constructor(e, s) {
|
|
2333
2338
|
this.next = null, this.name = e, this.next = s;
|
|
2334
2339
|
}
|
|
@@ -2336,7 +2341,7 @@ class kr {
|
|
|
2336
2341
|
e.setProcessToMap(this), this.next && this.next.addToManager(e);
|
|
2337
2342
|
}
|
|
2338
2343
|
}
|
|
2339
|
-
class
|
|
2344
|
+
class $r {
|
|
2340
2345
|
constructor() {
|
|
2341
2346
|
this.checkAccessibility = this.checkAccessibility.bind(this), this.isAccessible = this.isAccessible.bind(this), this.getDestinationRouteName = this.getDestinationRouteName.bind(this);
|
|
2342
2347
|
}
|
|
@@ -2362,7 +2367,7 @@ class Vr {
|
|
|
2362
2367
|
return null;
|
|
2363
2368
|
}
|
|
2364
2369
|
}
|
|
2365
|
-
class
|
|
2370
|
+
class Nr {
|
|
2366
2371
|
constructor(e, s, r) {
|
|
2367
2372
|
this.scheduler = new ht({
|
|
2368
2373
|
runAction: async () => {
|
|
@@ -2412,9 +2417,9 @@ class $r {
|
|
|
2412
2417
|
this.scheduler.clearInterval();
|
|
2413
2418
|
}
|
|
2414
2419
|
}
|
|
2415
|
-
class
|
|
2420
|
+
class gs {
|
|
2416
2421
|
}
|
|
2417
|
-
class
|
|
2422
|
+
class jr extends gs {
|
|
2418
2423
|
search(e, s, r) {
|
|
2419
2424
|
const n = [];
|
|
2420
2425
|
e: for (const i of e)
|
|
@@ -2427,7 +2432,7 @@ class Nr extends vs {
|
|
|
2427
2432
|
}
|
|
2428
2433
|
}
|
|
2429
2434
|
var vt = /* @__PURE__ */ ((t) => (t.Hidden = "hidden", t.Visible = "visible", t))(vt || {});
|
|
2430
|
-
class
|
|
2435
|
+
class Fr {
|
|
2431
2436
|
constructor(e) {
|
|
2432
2437
|
this._visibilityControl = e, this.mangeVisibilityEvent();
|
|
2433
2438
|
}
|
|
@@ -2437,10 +2442,10 @@ class jr {
|
|
|
2437
2442
|
});
|
|
2438
2443
|
}
|
|
2439
2444
|
}
|
|
2440
|
-
var
|
|
2441
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
2445
|
+
var ms = Object.defineProperty, ys = Object.getOwnPropertyDescriptor, E = (t, e, s, r) => {
|
|
2446
|
+
for (var n = r > 1 ? void 0 : r ? ys(e, s) : e, i = t.length - 1, a; i >= 0; i--)
|
|
2442
2447
|
(a = t[i]) && (n = (r ? a(e, s, n) : a(n)) || n);
|
|
2443
|
-
return r && n &&
|
|
2448
|
+
return r && n && ms(e, s, n), n;
|
|
2444
2449
|
};
|
|
2445
2450
|
let Re = class {
|
|
2446
2451
|
constructor() {
|
|
@@ -2456,10 +2461,10 @@ let Re = class {
|
|
|
2456
2461
|
}
|
|
2457
2462
|
};
|
|
2458
2463
|
E([
|
|
2459
|
-
|
|
2464
|
+
Y("value", String, !0)
|
|
2460
2465
|
], Re.prototype, "value", 2);
|
|
2461
2466
|
E([
|
|
2462
|
-
|
|
2467
|
+
Y("symbol", String)
|
|
2463
2468
|
], Re.prototype, "symbol", 2);
|
|
2464
2469
|
Re = E([
|
|
2465
2470
|
Ve("Amount")
|
|
@@ -2475,7 +2480,7 @@ let De = class {
|
|
|
2475
2480
|
}
|
|
2476
2481
|
};
|
|
2477
2482
|
E([
|
|
2478
|
-
|
|
2483
|
+
Y("id", Object)
|
|
2479
2484
|
], De.prototype, "id", 2);
|
|
2480
2485
|
De = E([
|
|
2481
2486
|
Ve("BaseModel")
|
|
@@ -2483,21 +2488,21 @@ De = E([
|
|
|
2483
2488
|
let ee = class extends De {
|
|
2484
2489
|
};
|
|
2485
2490
|
E([
|
|
2486
|
-
|
|
2491
|
+
Y("symbol", String)
|
|
2487
2492
|
], ee.prototype, "symbol", 2);
|
|
2488
2493
|
E([
|
|
2489
|
-
|
|
2494
|
+
Y("enName", String)
|
|
2490
2495
|
], ee.prototype, "enName", 2);
|
|
2491
2496
|
E([
|
|
2492
|
-
|
|
2497
|
+
Y("faName", String)
|
|
2493
2498
|
], ee.prototype, "faName", 2);
|
|
2494
2499
|
E([
|
|
2495
|
-
|
|
2500
|
+
Y("image", String)
|
|
2496
2501
|
], ee.prototype, "image", 2);
|
|
2497
2502
|
ee = E([
|
|
2498
2503
|
Ve("MinifiedSymbolModel")
|
|
2499
2504
|
], ee);
|
|
2500
|
-
class
|
|
2505
|
+
class Br {
|
|
2501
2506
|
constructor(e, s) {
|
|
2502
2507
|
this.requestedDate = e, this.executedDate = s;
|
|
2503
2508
|
}
|
|
@@ -2534,7 +2539,7 @@ class Yr {
|
|
|
2534
2539
|
});
|
|
2535
2540
|
}
|
|
2536
2541
|
}
|
|
2537
|
-
class
|
|
2542
|
+
class Hr {
|
|
2538
2543
|
constructor(e, s) {
|
|
2539
2544
|
this.soldSymbol = e, this.buySymbol = s;
|
|
2540
2545
|
}
|
|
@@ -2565,14 +2570,14 @@ var xe = function(t, e) {
|
|
|
2565
2570
|
for (var n in r) r.hasOwnProperty(n) && (s[n] = r[n]);
|
|
2566
2571
|
}, xe(t, e);
|
|
2567
2572
|
};
|
|
2568
|
-
function
|
|
2573
|
+
function Ye(t, e) {
|
|
2569
2574
|
xe(t, e);
|
|
2570
2575
|
function s() {
|
|
2571
2576
|
this.constructor = t;
|
|
2572
2577
|
}
|
|
2573
2578
|
t.prototype = e === null ? Object.create(e) : (s.prototype = e.prototype, new s());
|
|
2574
2579
|
}
|
|
2575
|
-
function
|
|
2580
|
+
function Ss(t, e, s, r) {
|
|
2576
2581
|
function n(i) {
|
|
2577
2582
|
return i instanceof s ? i : new s(function(a) {
|
|
2578
2583
|
a(i);
|
|
@@ -2599,7 +2604,7 @@ function ys(t, e, s, r) {
|
|
|
2599
2604
|
c((r = r.apply(t, [])).next());
|
|
2600
2605
|
});
|
|
2601
2606
|
}
|
|
2602
|
-
function
|
|
2607
|
+
function ws(t, e) {
|
|
2603
2608
|
var s = { label: 0, sent: function() {
|
|
2604
2609
|
if (i[0] & 1) throw i[1];
|
|
2605
2610
|
return i[1];
|
|
@@ -2691,9 +2696,9 @@ function N() {
|
|
|
2691
2696
|
t = t.concat(Ae(arguments[e]));
|
|
2692
2697
|
return t;
|
|
2693
2698
|
}
|
|
2694
|
-
var
|
|
2695
|
-
function
|
|
2696
|
-
var e = Reflect.getMetadata("design:paramtypes", t) || [], s = Reflect.getOwnMetadata(
|
|
2699
|
+
var Is = "injectionTokens";
|
|
2700
|
+
function bs(t) {
|
|
2701
|
+
var e = Reflect.getMetadata("design:paramtypes", t) || [], s = Reflect.getOwnMetadata(Is, t) || {};
|
|
2697
2702
|
return Object.keys(s).forEach(function(r) {
|
|
2698
2703
|
e[+r] = s[r];
|
|
2699
2704
|
}), e;
|
|
@@ -2741,13 +2746,13 @@ var mt = function() {
|
|
|
2741
2746
|
function X(t) {
|
|
2742
2747
|
return typeof t == "string" || typeof t == "symbol";
|
|
2743
2748
|
}
|
|
2744
|
-
function
|
|
2749
|
+
function Rs(t) {
|
|
2745
2750
|
return typeof t == "object" && "token" in t && "multiple" in t;
|
|
2746
2751
|
}
|
|
2747
2752
|
function rt(t) {
|
|
2748
2753
|
return typeof t == "object" && "token" in t && "transform" in t;
|
|
2749
2754
|
}
|
|
2750
|
-
function
|
|
2755
|
+
function Ds(t) {
|
|
2751
2756
|
return typeof t == "function" || t instanceof mt;
|
|
2752
2757
|
}
|
|
2753
2758
|
function Ie(t) {
|
|
@@ -2756,7 +2761,7 @@ function Ie(t) {
|
|
|
2756
2761
|
function be(t) {
|
|
2757
2762
|
return t.useValue != null;
|
|
2758
2763
|
}
|
|
2759
|
-
function
|
|
2764
|
+
function As(t) {
|
|
2760
2765
|
return gt(t) || be(t) || Ie(t) || ke(t);
|
|
2761
2766
|
}
|
|
2762
2767
|
var He = function() {
|
|
@@ -2782,8 +2787,8 @@ var He = function() {
|
|
|
2782
2787
|
}, t.prototype.ensure = function(e) {
|
|
2783
2788
|
this._registryMap.has(e) || this._registryMap.set(e, []);
|
|
2784
2789
|
}, t;
|
|
2785
|
-
}(),
|
|
2786
|
-
|
|
2790
|
+
}(), Cs = function(t) {
|
|
2791
|
+
Ye(e, t);
|
|
2787
2792
|
function e() {
|
|
2788
2793
|
return t !== null && t.apply(this, arguments) || this;
|
|
2789
2794
|
}
|
|
@@ -2794,54 +2799,54 @@ var He = function() {
|
|
|
2794
2799
|
}
|
|
2795
2800
|
return t;
|
|
2796
2801
|
}();
|
|
2797
|
-
function
|
|
2802
|
+
function _s(t, e) {
|
|
2798
2803
|
if (t === null)
|
|
2799
2804
|
return "at position #" + e;
|
|
2800
2805
|
var s = t.split(",")[e].trim();
|
|
2801
2806
|
return '"' + s + '" at position #' + e;
|
|
2802
2807
|
}
|
|
2803
|
-
function
|
|
2808
|
+
function Ms(t, e, s) {
|
|
2804
2809
|
return s === void 0 && (s = " "), N([t], e.message.split(`
|
|
2805
2810
|
`).map(function(r) {
|
|
2806
2811
|
return s + r;
|
|
2807
2812
|
})).join(`
|
|
2808
2813
|
`);
|
|
2809
2814
|
}
|
|
2810
|
-
function
|
|
2811
|
-
var r = Ae(t.toString().match(/constructor\(([\w, ]+)\)/) || [], 2), n = r[1], i = n === void 0 ? null : n, a =
|
|
2812
|
-
return
|
|
2815
|
+
function Es(t, e, s) {
|
|
2816
|
+
var r = Ae(t.toString().match(/constructor\(([\w, ]+)\)/) || [], 2), n = r[1], i = n === void 0 ? null : n, a = _s(i, e);
|
|
2817
|
+
return Ms("Cannot inject the dependency " + a + ' of "' + t.name + '" constructor. Reason:', s);
|
|
2813
2818
|
}
|
|
2814
|
-
function
|
|
2819
|
+
function Os(t) {
|
|
2815
2820
|
if (typeof t.dispose != "function")
|
|
2816
2821
|
return !1;
|
|
2817
2822
|
var e = t.dispose;
|
|
2818
2823
|
return !(e.length > 0);
|
|
2819
2824
|
}
|
|
2820
|
-
var
|
|
2821
|
-
|
|
2825
|
+
var Ps = function(t) {
|
|
2826
|
+
Ye(e, t);
|
|
2822
2827
|
function e() {
|
|
2823
2828
|
return t !== null && t.apply(this, arguments) || this;
|
|
2824
2829
|
}
|
|
2825
2830
|
return e;
|
|
2826
|
-
}(He),
|
|
2827
|
-
|
|
2831
|
+
}(He), Ls = function(t) {
|
|
2832
|
+
Ye(e, t);
|
|
2828
2833
|
function e() {
|
|
2829
2834
|
return t !== null && t.apply(this, arguments) || this;
|
|
2830
2835
|
}
|
|
2831
2836
|
return e;
|
|
2832
|
-
}(He),
|
|
2837
|
+
}(He), Ts = /* @__PURE__ */ function() {
|
|
2833
2838
|
function t() {
|
|
2834
|
-
this.preResolution = new
|
|
2839
|
+
this.preResolution = new Ps(), this.postResolution = new Ls();
|
|
2835
2840
|
}
|
|
2836
2841
|
return t;
|
|
2837
|
-
}(), yt = /* @__PURE__ */ new Map(),
|
|
2842
|
+
}(), yt = /* @__PURE__ */ new Map(), xs = function() {
|
|
2838
2843
|
function t(e) {
|
|
2839
|
-
this.parent = e, this._registry = new
|
|
2844
|
+
this.parent = e, this._registry = new Cs(), this.interceptors = new Ts(), this.disposed = !1, this.disposables = /* @__PURE__ */ new Set();
|
|
2840
2845
|
}
|
|
2841
2846
|
return t.prototype.register = function(e, s, r) {
|
|
2842
2847
|
r === void 0 && (r = { lifecycle: D.Transient }), this.ensureNotDisposed();
|
|
2843
2848
|
var n;
|
|
2844
|
-
if (
|
|
2849
|
+
if (As(s) ? n = s : n = { useClass: s }, Ie(n))
|
|
2845
2850
|
for (var i = [e], a = n; a != null; ) {
|
|
2846
2851
|
var l = a.useToken;
|
|
2847
2852
|
if (i.includes(l))
|
|
@@ -2891,7 +2896,7 @@ var Os = function(t) {
|
|
|
2891
2896
|
var i = this.resolveRegistration(n, s);
|
|
2892
2897
|
return this.executePostResolutionInterceptor(e, i, "Single"), i;
|
|
2893
2898
|
}
|
|
2894
|
-
if (
|
|
2899
|
+
if (Ds(e)) {
|
|
2895
2900
|
var i = this.construct(e, s);
|
|
2896
2901
|
return this.executePostResolutionInterceptor(e, i, "Single"), i;
|
|
2897
2902
|
}
|
|
@@ -3021,9 +3026,9 @@ var Os = function(t) {
|
|
|
3021
3026
|
options: r
|
|
3022
3027
|
});
|
|
3023
3028
|
}, t.prototype.dispose = function() {
|
|
3024
|
-
return
|
|
3029
|
+
return Ss(this, void 0, void 0, function() {
|
|
3025
3030
|
var e;
|
|
3026
|
-
return
|
|
3031
|
+
return ws(this, function(s) {
|
|
3027
3032
|
switch (s.label) {
|
|
3028
3033
|
case 0:
|
|
3029
3034
|
return this.disposed = !0, e = [], this.disposables.forEach(function(r) {
|
|
@@ -3055,36 +3060,36 @@ var Os = function(t) {
|
|
|
3055
3060
|
var a = i.map(r.resolveParams(s, e));
|
|
3056
3061
|
return new (e.bind.apply(e, N([void 0], a)))();
|
|
3057
3062
|
}();
|
|
3058
|
-
return
|
|
3063
|
+
return Os(n) && this.disposables.add(n), n;
|
|
3059
3064
|
}, t.prototype.resolveParams = function(e, s) {
|
|
3060
3065
|
var r = this;
|
|
3061
3066
|
return function(n, i) {
|
|
3062
3067
|
var a, l, o;
|
|
3063
3068
|
try {
|
|
3064
|
-
return
|
|
3069
|
+
return Rs(n) ? rt(n) ? n.multiple ? (a = r.resolve(n.transform)).transform.apply(a, N([r.resolveAll(n.token, new pe(), n.isOptional)], n.transformArgs)) : (l = r.resolve(n.transform)).transform.apply(l, N([r.resolve(n.token, e, n.isOptional)], n.transformArgs)) : n.multiple ? r.resolveAll(n.token, new pe(), n.isOptional) : r.resolve(n.token, e, n.isOptional) : rt(n) ? (o = r.resolve(n.transform, e)).transform.apply(o, N([r.resolve(n.token, e)], n.transformArgs)) : r.resolve(n, e);
|
|
3065
3070
|
} catch (c) {
|
|
3066
|
-
throw new Error(
|
|
3071
|
+
throw new Error(Es(s, i, c));
|
|
3067
3072
|
}
|
|
3068
3073
|
};
|
|
3069
3074
|
}, t.prototype.ensureNotDisposed = function() {
|
|
3070
3075
|
if (this.disposed)
|
|
3071
3076
|
throw new Error("This container has been disposed, you cannot interact with a disposed container");
|
|
3072
3077
|
}, t;
|
|
3073
|
-
}(),
|
|
3074
|
-
function
|
|
3078
|
+
}(), ks = new xs();
|
|
3079
|
+
function Vs(t) {
|
|
3075
3080
|
return function(e) {
|
|
3076
|
-
yt.set(e,
|
|
3081
|
+
yt.set(e, bs(e));
|
|
3077
3082
|
};
|
|
3078
3083
|
}
|
|
3079
|
-
function
|
|
3084
|
+
function $s() {
|
|
3080
3085
|
return function(t) {
|
|
3081
|
-
|
|
3086
|
+
Vs()(t), ks.registerSingleton(t);
|
|
3082
3087
|
};
|
|
3083
3088
|
}
|
|
3084
3089
|
if (typeof Reflect > "u" || !Reflect.getMetadata)
|
|
3085
3090
|
throw new Error(`tsyringe requires a reflect polyfill. Please add 'import "reflect-metadata"' to the top of your entry point.`);
|
|
3086
|
-
var
|
|
3087
|
-
for (var n = r > 1 ? void 0 : r ?
|
|
3091
|
+
var Ns = Object.getOwnPropertyDescriptor, js = (t, e, s, r) => {
|
|
3092
|
+
for (var n = r > 1 ? void 0 : r ? Ns(e, s) : e, i = t.length - 1, a; i >= 0; i--)
|
|
3088
3093
|
(a = t[i]) && (n = a(n) || n);
|
|
3089
3094
|
return n;
|
|
3090
3095
|
};
|
|
@@ -3096,8 +3101,8 @@ let nt = class {
|
|
|
3096
3101
|
window.dispatchEvent(t);
|
|
3097
3102
|
}
|
|
3098
3103
|
};
|
|
3099
|
-
nt =
|
|
3100
|
-
|
|
3104
|
+
nt = js([
|
|
3105
|
+
$s()
|
|
3101
3106
|
], nt);
|
|
3102
3107
|
class qe extends Event {
|
|
3103
3108
|
constructor(e) {
|
|
@@ -3118,7 +3123,7 @@ class qe extends Event {
|
|
|
3118
3123
|
}
|
|
3119
3124
|
}
|
|
3120
3125
|
}
|
|
3121
|
-
function
|
|
3126
|
+
function qr(t, e = !1) {
|
|
3122
3127
|
return function(s, r, n) {
|
|
3123
3128
|
const i = n.value;
|
|
3124
3129
|
n.value = function(a) {
|
|
@@ -3130,7 +3135,7 @@ function Hr(t, e = !1) {
|
|
|
3130
3135
|
window.addEventListener(a, n.value);
|
|
3131
3136
|
};
|
|
3132
3137
|
}
|
|
3133
|
-
class
|
|
3138
|
+
class zr {
|
|
3134
3139
|
constructor(e, s) {
|
|
3135
3140
|
this.type = e, this.data = s;
|
|
3136
3141
|
}
|
|
@@ -3142,7 +3147,7 @@ class qr {
|
|
|
3142
3147
|
}
|
|
3143
3148
|
}
|
|
3144
3149
|
var ie = /* @__PURE__ */ ((t) => (t.CLOSE = "wsClose", t.OPEN = "wsOpen", t.ERROR = "wsError", t.TIMEOUT = "wsTimeout", t))(ie || {});
|
|
3145
|
-
class
|
|
3150
|
+
class Wr {
|
|
3146
3151
|
constructor(e, s) {
|
|
3147
3152
|
this.customEventDispatcher = e, this.webSocket = null, this.retry = 3, this.url = "", this.protocols = [], this.delayTimeInMillieSeconds = 500, this.baseUrl = "", this.intervalId = null, this.onOpen = this.onOpen.bind(this), this.onMessage = this.onMessage.bind(this), this.onError = this.onError.bind(this), this.onClose = this.onClose.bind(this), this.checkHealth = this.checkHealth.bind(this), this.sendPing = this.sendPing.bind(this), this.reconnect = this.reconnect.bind(this), this.fakeWait = this.fakeWait.bind(this), this.isClosing = this.isClosing.bind(this), this.isClosed = this.isClosed.bind(this), this.connect = this.connect.bind(this), this.registerPingPontInterval = this.registerPingPontInterval.bind(this), this.closeConnection = this.closeConnection.bind(this), this.isConnectionOpen = this.isConnectionOpen.bind(this), this.isConnecting = this.isConnecting.bind(this), this.send = this.send.bind(this), this.setBaseUrl = this.setBaseUrl.bind(this), this.setBaseUrl(s);
|
|
3148
3153
|
}
|
|
@@ -3220,117 +3225,118 @@ class zr {
|
|
|
3220
3225
|
}
|
|
3221
3226
|
export {
|
|
3222
3227
|
tt as APIErrorHandlerRegistry,
|
|
3223
|
-
|
|
3228
|
+
fr as AbstractSubject,
|
|
3224
3229
|
ct as AccessControl,
|
|
3225
3230
|
ae as AccessLevel,
|
|
3226
|
-
|
|
3231
|
+
ur as Action,
|
|
3227
3232
|
Re as Amount,
|
|
3228
|
-
|
|
3233
|
+
Er as ApiBuilder,
|
|
3229
3234
|
ne as ApplicationDrawerStatus,
|
|
3230
|
-
|
|
3235
|
+
Pr as ApplicationInitializer,
|
|
3231
3236
|
Fe as ApplicationTheme,
|
|
3232
3237
|
ut as AuthorizationDirective,
|
|
3233
3238
|
Le as AuthorizationService,
|
|
3234
3239
|
De as BaseModel,
|
|
3235
|
-
|
|
3240
|
+
os as BaseRequestBodyFilter,
|
|
3241
|
+
cs as BaseTable,
|
|
3236
3242
|
C as BehaviorSubject,
|
|
3237
3243
|
je as CellType,
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3244
|
+
jr as ClientArraySearch,
|
|
3245
|
+
gs as ClientSearch,
|
|
3246
|
+
lr as Column,
|
|
3241
3247
|
Pe as CommonMaskFormats,
|
|
3242
|
-
|
|
3248
|
+
Nr as CrudService,
|
|
3243
3249
|
nt as CustomEventDispatcher,
|
|
3244
3250
|
Z as DateConverter,
|
|
3245
|
-
|
|
3251
|
+
qs as DateDisabledOptions,
|
|
3246
3252
|
re as DateFormat,
|
|
3247
3253
|
At as DateFormats,
|
|
3248
3254
|
Se as DateTools,
|
|
3249
|
-
|
|
3255
|
+
Ar as DebounceService,
|
|
3250
3256
|
$ as DialogDimensions,
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3257
|
+
zs as EveryAccess,
|
|
3258
|
+
Js as EveryLevelAuthorizationDirective,
|
|
3259
|
+
Mr as Feedback,
|
|
3260
|
+
Sr as FetchListResponse,
|
|
3261
|
+
sr as FormManager,
|
|
3256
3262
|
we as FormValidationStatus,
|
|
3257
3263
|
M as Formatter,
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3264
|
+
mr as GColumn,
|
|
3265
|
+
yr as GTable,
|
|
3266
|
+
Cr as HandleError,
|
|
3267
|
+
_r as HandleFeedback,
|
|
3262
3268
|
Ne as HeaderType,
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3269
|
+
Or as HttpClient,
|
|
3270
|
+
Qs as InputControl,
|
|
3271
|
+
er as InputControlBuilder,
|
|
3266
3272
|
is as InputControlData,
|
|
3267
3273
|
st as JsonMapper,
|
|
3268
3274
|
g as LoadingStatus,
|
|
3269
3275
|
ee as MinifiedSymbolModel,
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
+
qr as OnEvent,
|
|
3277
|
+
ds as Params,
|
|
3278
|
+
Vr as Process,
|
|
3279
|
+
kr as ProcessManager,
|
|
3280
|
+
Hs as RangeValue,
|
|
3281
|
+
$r as RouteGuard,
|
|
3276
3282
|
ht as Scheduler,
|
|
3277
|
-
|
|
3278
|
-
|
|
3283
|
+
ar as SelectableTable,
|
|
3284
|
+
pr as SelectableTableGenerator,
|
|
3279
3285
|
Qe as SimpleSort,
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3286
|
+
Ws as SomeAccess,
|
|
3287
|
+
Gs as SomeLevelsAuthorizationDirective,
|
|
3288
|
+
Ue as SortDetail,
|
|
3283
3289
|
L as SortOrder,
|
|
3284
3290
|
ss as SortOrderTableHeader,
|
|
3285
|
-
|
|
3291
|
+
ir as Sorter,
|
|
3286
3292
|
rs as StatusCode,
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3293
|
+
U as StorageKeys,
|
|
3294
|
+
Be as StoreNames,
|
|
3295
|
+
Hr as SymbolInTrade,
|
|
3290
3296
|
Yr as SymbolPriceInTrade,
|
|
3291
3297
|
ns as Symbols,
|
|
3292
|
-
|
|
3293
|
-
|
|
3298
|
+
wr as SyncDetail,
|
|
3299
|
+
nr as TABLE_ACTION_COLUMN,
|
|
3294
3300
|
ft as TABLE_COLUMN_DEFAULT_COLSPAN,
|
|
3295
|
-
|
|
3301
|
+
ls as TABLE_COLUMN_DEFAULT_VALUES,
|
|
3296
3302
|
dt as TABLE_COLUMN_DEFAULT_WIDTH,
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3303
|
+
cr as Table,
|
|
3304
|
+
gr as TableCellComponentRegistry,
|
|
3305
|
+
vr as TableConfig,
|
|
3300
3306
|
lt as TableConstants,
|
|
3301
|
-
|
|
3302
|
-
|
|
3307
|
+
hr as TableDestroy,
|
|
3308
|
+
us as TableGenerator,
|
|
3303
3309
|
$e as TableHeaderAlign,
|
|
3304
|
-
|
|
3310
|
+
dr as TableRowClick,
|
|
3305
3311
|
pt as ToastLocation,
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3312
|
+
Lr as ToastMessage,
|
|
3313
|
+
vs as ToastType,
|
|
3314
|
+
tr as TouchSensitiveControl,
|
|
3309
3315
|
Ur as TradeAmount,
|
|
3310
|
-
|
|
3316
|
+
Br as TradeDate,
|
|
3311
3317
|
Q as Util,
|
|
3312
|
-
|
|
3318
|
+
Fr as VisibilityManager,
|
|
3313
3319
|
vt as VisibilityState,
|
|
3314
3320
|
qe as WebSocketEvent,
|
|
3315
3321
|
ie as WebSocketEvents,
|
|
3316
|
-
|
|
3317
|
-
|
|
3322
|
+
zr as WebSocketPostMessage,
|
|
3323
|
+
Wr as WebSocketService,
|
|
3318
3324
|
Rt as cards,
|
|
3319
|
-
|
|
3325
|
+
or as generateHeader,
|
|
3320
3326
|
Dt as ibans,
|
|
3321
3327
|
as as isEmpty,
|
|
3322
|
-
|
|
3323
|
-
|
|
3328
|
+
Zs as isLastItem,
|
|
3329
|
+
Ks as isOnlyOneItem,
|
|
3324
3330
|
ts as setupJalaliDate,
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3331
|
+
Xs as setupStore,
|
|
3332
|
+
Rr as useCrud,
|
|
3333
|
+
hs as useData,
|
|
3334
|
+
Tr as useDialogService,
|
|
3335
|
+
xr as useDrawerService,
|
|
3336
|
+
rr as useForm,
|
|
3337
|
+
ps as useLoadingStatus,
|
|
3338
|
+
fs as useParams,
|
|
3339
|
+
Ir as useRepository,
|
|
3340
|
+
Dr as useState,
|
|
3341
|
+
br as useStaticTableService
|
|
3336
3342
|
};
|