admins-components 5.0.19 → 5.0.21
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/admins-components.cjs +3 -3
- package/dist/admins-components.js +99 -82
- package/package.json +1 -1
|
@@ -1969,29 +1969,29 @@ function ZAt(l, u, _) {
|
|
|
1969
1969
|
g += `${T}=${D}`;
|
|
1970
1970
|
})), g;
|
|
1971
1971
|
}
|
|
1972
|
-
const
|
|
1972
|
+
const tir = (l) => {
|
|
1973
1973
|
if (l == "NaN-NaN-NaN" || !l) return null;
|
|
1974
1974
|
const u = new Date(Date.parse(l));
|
|
1975
1975
|
return `${u.getFullYear()}-${(u.getMonth() + 1).toString().padStart(2, "0")}-${u.getDate().toString().padStart(2, "0")}`;
|
|
1976
|
-
},
|
|
1976
|
+
}, rir = (l) => {
|
|
1977
1977
|
if (!l) return "-";
|
|
1978
1978
|
const u = new Date(Date.parse(l));
|
|
1979
1979
|
return `${u.getFullYear()}-${(u.getMonth() + 1).toString().padStart(2, "0")}-${u.getDate().toString().padStart(2, "0")} ${u.getHours()}:${u.getMinutes()}`;
|
|
1980
|
-
},
|
|
1980
|
+
}, nir = (l) => {
|
|
1981
1981
|
if (!l) return "-";
|
|
1982
1982
|
const u = new Date(Date.parse(l));
|
|
1983
1983
|
return `${u.getFullYear()}-${(u.getMonth() + 1).toString().padStart(2, "0")}-${u.getDate().toString().padStart(2, "0")} ${u.getHours()}:${u.getMinutes()}`;
|
|
1984
|
-
},
|
|
1984
|
+
}, iir = (l) => {
|
|
1985
1985
|
if (!l) return "-";
|
|
1986
1986
|
const u = new Date(Date.parse(l));
|
|
1987
1987
|
return `${u.getFullYear()}-${(u.getMonth() + 1).toString().padStart(2, "0")}-${u.getDate().toString().padStart(2, "0")}`;
|
|
1988
|
-
},
|
|
1988
|
+
}, air = (l) => {
|
|
1989
1989
|
const u = new Date(Date.parse(l)), _ = u.getUTCFullYear(), g = String(u.getUTCMonth() + 1).padStart(2, "0"), T = String(u.getUTCDate()).padStart(2, "0"), D = String(u.getUTCHours()).padStart(2, "0"), I = String(u.getUTCMinutes()).padStart(2, "0"), B = String(u.getUTCSeconds()).padStart(2, "0");
|
|
1990
1990
|
return `${_}-${g}-${T}T${D}:${I}:${B}Z`;
|
|
1991
|
-
},
|
|
1991
|
+
}, sir = (l) => {
|
|
1992
1992
|
const u = new Date(Date.parse(l)), _ = u.getUTCFullYear(), g = String(u.getUTCMonth() + 1).padStart(2, "0"), T = String(u.getUTCDate()).padStart(2, "0");
|
|
1993
1993
|
return `${_}-${g}-${T}`;
|
|
1994
|
-
},
|
|
1994
|
+
}, oir = (l) => {
|
|
1995
1995
|
const u = new Date(Date.parse(l)), _ = u.getFullYear(), g = String(u.getMonth() + 1).padStart(2, "0"), T = String(u.getDate()).padStart(2, "0");
|
|
1996
1996
|
return `${_}-${g}-${T}`;
|
|
1997
1997
|
}, e4t = (l) => {
|
|
@@ -2092,7 +2092,7 @@ class r4t {
|
|
|
2092
2092
|
);
|
|
2093
2093
|
}
|
|
2094
2094
|
}
|
|
2095
|
-
const
|
|
2095
|
+
const cir = (l, u = 500) => {
|
|
2096
2096
|
let _;
|
|
2097
2097
|
return () => {
|
|
2098
2098
|
clearTimeout(_), _ = setTimeout(() => {
|
|
@@ -2100,7 +2100,7 @@ const oir = (l, u = 500) => {
|
|
|
2100
2100
|
}, u);
|
|
2101
2101
|
};
|
|
2102
2102
|
};
|
|
2103
|
-
function
|
|
2103
|
+
function lir(l) {
|
|
2104
2104
|
return new n4t(l);
|
|
2105
2105
|
}
|
|
2106
2106
|
class n4t {
|
|
@@ -2531,19 +2531,19 @@ const i4t = { class: "d-flex flex-column w-100 gap-2" }, a4t = { class: "d-flex
|
|
|
2531
2531
|
key: 1,
|
|
2532
2532
|
class: "d-flex flex-row input-group align-items-center"
|
|
2533
2533
|
};
|
|
2534
|
-
class
|
|
2534
|
+
class uir {
|
|
2535
2535
|
constructor(u, _, g) {
|
|
2536
2536
|
Ph(this, "type");
|
|
2537
2537
|
this.key = u, this.placeholder = _, this.filtered = g, this.type = "text";
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
|
-
class
|
|
2540
|
+
class fir {
|
|
2541
2541
|
constructor(u, _, g, T, D, I, B) {
|
|
2542
2542
|
Ph(this, "type");
|
|
2543
2543
|
this.key = u, this.label = _, this.options = g, this.filterevent = T, this.onfiltered = D, this.filtered = I, this.selected = B, this.type = "dropdown";
|
|
2544
2544
|
}
|
|
2545
2545
|
}
|
|
2546
|
-
class
|
|
2546
|
+
class _ir {
|
|
2547
2547
|
constructor(u, _, g, T, D) {
|
|
2548
2548
|
Ph(this, "type");
|
|
2549
2549
|
this.key = u, this.label = _, this.filtered = g, this.defFrom = T, this.defTil = D, this.type = "date";
|
|
@@ -5499,22 +5499,22 @@ ch.getAdapter = uVe.getAdapter;
|
|
|
5499
5499
|
ch.HttpStatusCode = VTe;
|
|
5500
5500
|
ch.default = ch;
|
|
5501
5501
|
const {
|
|
5502
|
-
Axios:
|
|
5503
|
-
AxiosError:
|
|
5504
|
-
CanceledError:
|
|
5505
|
-
isCancel:
|
|
5506
|
-
CancelToken:
|
|
5507
|
-
VERSION:
|
|
5508
|
-
all:
|
|
5509
|
-
Cancel:
|
|
5510
|
-
isAxiosError:
|
|
5511
|
-
spread:
|
|
5512
|
-
toFormData:
|
|
5513
|
-
AxiosHeaders:
|
|
5514
|
-
HttpStatusCode:
|
|
5515
|
-
formToJSON:
|
|
5516
|
-
getAdapter:
|
|
5517
|
-
mergeConfig:
|
|
5502
|
+
Axios: mir,
|
|
5503
|
+
AxiosError: gir,
|
|
5504
|
+
CanceledError: hir,
|
|
5505
|
+
isCancel: vir,
|
|
5506
|
+
CancelToken: yir,
|
|
5507
|
+
VERSION: bir,
|
|
5508
|
+
all: Sir,
|
|
5509
|
+
Cancel: Tir,
|
|
5510
|
+
isAxiosError: xir,
|
|
5511
|
+
spread: kir,
|
|
5512
|
+
toFormData: Cir,
|
|
5513
|
+
AxiosHeaders: Eir,
|
|
5514
|
+
HttpStatusCode: wir,
|
|
5515
|
+
formToJSON: Dir,
|
|
5516
|
+
getAdapter: Air,
|
|
5517
|
+
mergeConfig: Pir
|
|
5518
5518
|
} = ch;
|
|
5519
5519
|
//! moment.js
|
|
5520
5520
|
//! version : 2.30.1
|
|
@@ -33705,7 +33705,7 @@ JYe(void 0, Zn({}, Urr), Zn({}, AQt), {
|
|
|
33705
33705
|
moment: xo
|
|
33706
33706
|
});
|
|
33707
33707
|
let dA;
|
|
33708
|
-
function
|
|
33708
|
+
function Iir(l) {
|
|
33709
33709
|
return dA = l, dA;
|
|
33710
33710
|
}
|
|
33711
33711
|
const Wrr = LA({
|
|
@@ -33854,13 +33854,13 @@ function enr(l, u, _, g, T, D) {
|
|
|
33854
33854
|
}))
|
|
33855
33855
|
]), 1024);
|
|
33856
33856
|
}
|
|
33857
|
-
const
|
|
33857
|
+
const Nir = /* @__PURE__ */ DC(Wrr, [["render", enr]]);
|
|
33858
33858
|
let qne;
|
|
33859
|
-
function
|
|
33859
|
+
function Oir(l) {
|
|
33860
33860
|
qne = l;
|
|
33861
33861
|
}
|
|
33862
33862
|
let vA;
|
|
33863
|
-
function
|
|
33863
|
+
function Fir(l) {
|
|
33864
33864
|
return vA = l, l;
|
|
33865
33865
|
}
|
|
33866
33866
|
const tnr = LA({
|
|
@@ -34052,7 +34052,7 @@ function vnr(l, u, _, g, T, D) {
|
|
|
34052
34052
|
}))
|
|
34053
34053
|
]), 1024);
|
|
34054
34054
|
}
|
|
34055
|
-
const
|
|
34055
|
+
const Mir = /* @__PURE__ */ DC(tnr, [["render", vnr]]), ynr = LA({
|
|
34056
34056
|
name: "ImagePickerElement",
|
|
34057
34057
|
components: { ImagePickerComponent: Vq },
|
|
34058
34058
|
setup(l, u) {
|
|
@@ -34103,7 +34103,7 @@ function bnr(l, u, _, g, T, D) {
|
|
|
34103
34103
|
}))
|
|
34104
34104
|
]), 1024);
|
|
34105
34105
|
}
|
|
34106
|
-
const
|
|
34106
|
+
const Lir = /* @__PURE__ */ DC(ynr, [["render", bnr]]), Snr = LA({
|
|
34107
34107
|
name: "ImagePickerDetailsElement",
|
|
34108
34108
|
components: { ImagePickerComponent: Vq },
|
|
34109
34109
|
setup(l, u) {
|
|
@@ -34155,9 +34155,9 @@ function Tnr(l, u, _, g, T, D) {
|
|
|
34155
34155
|
}))
|
|
34156
34156
|
]), 1024);
|
|
34157
34157
|
}
|
|
34158
|
-
const
|
|
34158
|
+
const Rir = /* @__PURE__ */ DC(Snr, [["render", Tnr]]);
|
|
34159
34159
|
let vxe;
|
|
34160
|
-
function
|
|
34160
|
+
function jir(l) {
|
|
34161
34161
|
return vxe = l, vxe;
|
|
34162
34162
|
}
|
|
34163
34163
|
const xnr = LA({
|
|
@@ -34201,9 +34201,9 @@ function knr(l, u, _, g, T, D) {
|
|
|
34201
34201
|
}))
|
|
34202
34202
|
]), 1024);
|
|
34203
34203
|
}
|
|
34204
|
-
const
|
|
34204
|
+
const Bir = /* @__PURE__ */ DC(xnr, [["render", knr]]);
|
|
34205
34205
|
let yxe;
|
|
34206
|
-
function
|
|
34206
|
+
function $ir(l) {
|
|
34207
34207
|
return yxe = l, yxe;
|
|
34208
34208
|
}
|
|
34209
34209
|
const Cnr = LA({
|
|
@@ -34245,7 +34245,7 @@ function Enr(l, u, _, g, T, D) {
|
|
|
34245
34245
|
}))
|
|
34246
34246
|
]), 1024);
|
|
34247
34247
|
}
|
|
34248
|
-
const
|
|
34248
|
+
const Jir = /* @__PURE__ */ DC(Cnr, [["render", Enr]]), wnr = LA({
|
|
34249
34249
|
name: "DateTimePickerElement",
|
|
34250
34250
|
setup(l, u) {
|
|
34251
34251
|
hb().appContext && !hb().appContext.components.DateTimePicker && (hb().appContext.components.DateTimePicker = JTe);
|
|
@@ -34288,9 +34288,9 @@ function Dnr(l, u, _, g, T, D) {
|
|
|
34288
34288
|
}))
|
|
34289
34289
|
]), 1024);
|
|
34290
34290
|
}
|
|
34291
|
-
const
|
|
34291
|
+
const zir = /* @__PURE__ */ DC(wnr, [["render", Dnr]]);
|
|
34292
34292
|
let die;
|
|
34293
|
-
function
|
|
34293
|
+
function Uir(l) {
|
|
34294
34294
|
return die = l, die;
|
|
34295
34295
|
}
|
|
34296
34296
|
var xWe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -51525,7 +51525,7 @@ ${Nt.join(`
|
|
|
51525
51525
|
const t = Y_(e);
|
|
51526
51526
|
return 3 <= t && t <= 99 || uF(e) || fF(e);
|
|
51527
51527
|
}
|
|
51528
|
-
function
|
|
51528
|
+
function Knr(e) {
|
|
51529
51529
|
return e;
|
|
51530
51530
|
}
|
|
51531
51531
|
var __ = {
|
|
@@ -193407,9 +193407,9 @@ function Jnr(l, u, _, g, T, D) {
|
|
|
193407
193407
|
}))
|
|
193408
193408
|
]), 1024);
|
|
193409
193409
|
}
|
|
193410
|
-
const
|
|
193410
|
+
const qir = /* @__PURE__ */ DC(Onr, [["render", Jnr]]);
|
|
193411
193411
|
let mie;
|
|
193412
|
-
const
|
|
193412
|
+
const Wir = (l) => (mie = l, mie), znr = LA({
|
|
193413
193413
|
name: "GalleryImageSelectorElement",
|
|
193414
193414
|
setup(l, u) {
|
|
193415
193415
|
const { value: _ } = u.element, g = Kr([]), T = (W) => {
|
|
@@ -193498,15 +193498,15 @@ function Gnr(l, u, _, g, T, D) {
|
|
|
193498
193498
|
}))
|
|
193499
193499
|
]), 1024);
|
|
193500
193500
|
}
|
|
193501
|
-
const
|
|
193502
|
-
function
|
|
193501
|
+
const Vir = /* @__PURE__ */ DC(znr, [["render", Gnr]]);
|
|
193502
|
+
function Hir(l) {
|
|
193503
193503
|
window.dispatchEvent(
|
|
193504
193504
|
new CustomEvent("toast-notification-message", {
|
|
193505
193505
|
detail: l
|
|
193506
193506
|
})
|
|
193507
193507
|
);
|
|
193508
193508
|
}
|
|
193509
|
-
function
|
|
193509
|
+
function Gir(l, u, _, g) {
|
|
193510
193510
|
Ynr(u, _).then((T) => {
|
|
193511
193511
|
l.use(LAt, {
|
|
193512
193512
|
config: {
|
|
@@ -193515,9 +193515,12 @@ function Hir(l, u, _, g) {
|
|
|
193515
193515
|
clientId: g
|
|
193516
193516
|
},
|
|
193517
193517
|
init: {
|
|
193518
|
-
onLoad: "
|
|
193518
|
+
onLoad: "check-sso",
|
|
193519
193519
|
checkLoginIframe: !!T.silentSsoCheckUrl,
|
|
193520
193520
|
silentCheckSsoRedirectUri: T.silentSsoCheckUrl
|
|
193521
|
+
},
|
|
193522
|
+
onReady(D) {
|
|
193523
|
+
Xnr(D);
|
|
193521
193524
|
}
|
|
193522
193525
|
});
|
|
193523
193526
|
});
|
|
@@ -193532,7 +193535,21 @@ async function Ynr(l, u) {
|
|
|
193532
193535
|
}, _.getKeycloakConfig.execute();
|
|
193533
193536
|
});
|
|
193534
193537
|
}
|
|
193535
|
-
|
|
193538
|
+
function Xnr(l) {
|
|
193539
|
+
const u = l.createLoginUrl(), _ = 600, g = 700, T = window.screen.width / 2 - _ / 2, D = window.screen.height / 2 - g / 2, I = window.open(
|
|
193540
|
+
u,
|
|
193541
|
+
"KeycloakLoginPopup",
|
|
193542
|
+
`width=${_},height=${g},top=${D},left=${T},resizable=yes,scrollbars=yes`
|
|
193543
|
+
);
|
|
193544
|
+
if (!I) {
|
|
193545
|
+
alert("Popup blocked! Please allow popups for this site.");
|
|
193546
|
+
return;
|
|
193547
|
+
}
|
|
193548
|
+
const B = setInterval(() => {
|
|
193549
|
+
I.closed && clearInterval(B);
|
|
193550
|
+
}, 500);
|
|
193551
|
+
}
|
|
193552
|
+
const Qnr = {
|
|
193536
193553
|
CheckBox: Vne,
|
|
193537
193554
|
CheckBoxList: rAt,
|
|
193538
193555
|
DropDown: Wq,
|
|
@@ -193556,46 +193573,46 @@ const Xnr = {
|
|
|
193556
193573
|
ToastWrapper: FPt,
|
|
193557
193574
|
CalendarComponent: MWe,
|
|
193558
193575
|
HeaderComponent: JPt
|
|
193559
|
-
},
|
|
193576
|
+
}, Yir = {
|
|
193560
193577
|
install(l) {
|
|
193561
|
-
Object.entries(
|
|
193578
|
+
Object.entries(Qnr).forEach(([u, _]) => {
|
|
193562
193579
|
l.component(u, _);
|
|
193563
193580
|
});
|
|
193564
193581
|
}
|
|
193565
193582
|
};
|
|
193566
193583
|
export {
|
|
193567
193584
|
n4t as ArticleEditorService,
|
|
193568
|
-
|
|
193569
|
-
|
|
193585
|
+
Nir as ArticleOfferElement,
|
|
193586
|
+
Mir as ArticlePickerElement,
|
|
193570
193587
|
MWe as CalendarComponent,
|
|
193571
193588
|
Vne as CheckBox,
|
|
193572
193589
|
rAt as CheckBoxList,
|
|
193573
193590
|
r4t as ConfigService,
|
|
193574
|
-
|
|
193591
|
+
zir as DateTimePickerElement,
|
|
193575
193592
|
Wq as DropDown,
|
|
193576
193593
|
CAt as DropDownButton,
|
|
193577
193594
|
PWe as DropDownCallBack,
|
|
193578
193595
|
Cxe as DropDownMenu,
|
|
193579
193596
|
UWe as ExternalArticleOfferComponent,
|
|
193580
|
-
|
|
193597
|
+
Jir as ExternalArticleOfferElement,
|
|
193581
193598
|
o7 as FetchDetails,
|
|
193582
193599
|
Exe as FetchError,
|
|
193583
193600
|
IWe as FilterCompact,
|
|
193584
193601
|
LWe as FilterControl,
|
|
193585
|
-
|
|
193586
|
-
|
|
193587
|
-
|
|
193588
|
-
|
|
193602
|
+
_ir as FilterDate,
|
|
193603
|
+
fir as FilterDropDown,
|
|
193604
|
+
uir as FilterText,
|
|
193605
|
+
Vir as GalleryImageSelectorElement,
|
|
193589
193606
|
JPt as HeaderComponent,
|
|
193590
193607
|
iL as IconButton,
|
|
193591
193608
|
Vq as ImagePickerComponent,
|
|
193592
|
-
|
|
193593
|
-
|
|
193609
|
+
Rir as ImagePickerDetailsElement,
|
|
193610
|
+
Lir as ImagePickerElement,
|
|
193594
193611
|
zWe as InternalArticleOfferComponent,
|
|
193595
|
-
|
|
193612
|
+
Bir as InternalArticleOfferElement,
|
|
193596
193613
|
mA as Methods,
|
|
193597
193614
|
RWe as PaginatorControl,
|
|
193598
|
-
|
|
193615
|
+
qir as PartnerPickerElement,
|
|
193599
193616
|
jWe as RadioButton,
|
|
193600
193617
|
z4t as RadioButtonGroup,
|
|
193601
193618
|
BWe as SpinningProgress,
|
|
@@ -193607,33 +193624,33 @@ export {
|
|
|
193607
193624
|
FPt as ToastWrapper,
|
|
193608
193625
|
dA as aoeConfig,
|
|
193609
193626
|
qne as apeConfig,
|
|
193610
|
-
|
|
193611
|
-
|
|
193612
|
-
|
|
193613
|
-
|
|
193614
|
-
|
|
193615
|
-
|
|
193616
|
-
|
|
193617
|
-
|
|
193618
|
-
|
|
193627
|
+
Iir as configureArticleOfferElement,
|
|
193628
|
+
Oir as configureArticlePickerElement,
|
|
193629
|
+
$ir as configureExternalArticleOfferElement,
|
|
193630
|
+
Wir as configureGalleryImageSelectorElement,
|
|
193631
|
+
Fir as configureImagePickerElement,
|
|
193632
|
+
jir as configureInternalArticleOfferElement,
|
|
193633
|
+
Uir as configurePartnerPickerElement,
|
|
193634
|
+
cir as debounce,
|
|
193635
|
+
Yir as default,
|
|
193619
193636
|
yxe as eaoeConfig,
|
|
193620
193637
|
mie as gisConfig,
|
|
193621
193638
|
vxe as iaoeConfig,
|
|
193622
193639
|
c7 as initRequest,
|
|
193623
193640
|
vA as ipeConfig,
|
|
193624
|
-
|
|
193625
|
-
|
|
193626
|
-
|
|
193641
|
+
oir as localDateTimeToDate,
|
|
193642
|
+
air as localDateTimeToUTC,
|
|
193643
|
+
sir as localDateTimeToUTCDate,
|
|
193627
193644
|
Gne as localToDateStr,
|
|
193628
193645
|
e4t as localToStr,
|
|
193629
193646
|
$Te as localToUtcStr,
|
|
193630
193647
|
die as ppeconfig,
|
|
193631
|
-
|
|
193632
|
-
|
|
193633
|
-
|
|
193634
|
-
|
|
193635
|
-
|
|
193636
|
-
|
|
193637
|
-
|
|
193648
|
+
Hir as sendMsgToToast,
|
|
193649
|
+
tir as toDateString,
|
|
193650
|
+
iir as toDateStringFromUtc,
|
|
193651
|
+
rir as toDateTimeString,
|
|
193652
|
+
nir as toDateTimeStringFromUtc,
|
|
193653
|
+
Gir as useAdminKeycloak,
|
|
193654
|
+
lir as useArticleEditorService,
|
|
193638
193655
|
t4t as useConfigService
|
|
193639
193656
|
};
|