@riab/vendor-due-diligence 0.5.16-beta → 0.5.17-beta
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/vendor-due-diligence.js +147 -146
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ var un = (t, e) => {
|
|
|
24
24
|
e.indexOf(n) < 0 && Ls.call(t, n) && (i[n] = t[n]);
|
|
25
25
|
return i;
|
|
26
26
|
};
|
|
27
|
-
var
|
|
27
|
+
var Ne = (t, e, i) => Na(Oa(t), i, e);
|
|
28
28
|
var A = (t, e, i) => new Promise((n, s) => {
|
|
29
29
|
var o = (l) => {
|
|
30
30
|
try {
|
|
@@ -1224,7 +1224,7 @@ function ml(t, e = 40) {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
return "";
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1227
|
+
function ke(t) {
|
|
1228
1228
|
return Pn(t, /* @__PURE__ */ new Map());
|
|
1229
1229
|
}
|
|
1230
1230
|
function Pn(t, e) {
|
|
@@ -1795,14 +1795,14 @@ function Xl(t) {
|
|
|
1795
1795
|
function ec(t) {
|
|
1796
1796
|
return Xl(JSON.stringify(t));
|
|
1797
1797
|
}
|
|
1798
|
-
var
|
|
1798
|
+
var $e;
|
|
1799
1799
|
(function(t) {
|
|
1800
1800
|
t[t.PENDING = 0] = "PENDING";
|
|
1801
1801
|
const i = 1;
|
|
1802
1802
|
t[t.RESOLVED = i] = "RESOLVED";
|
|
1803
1803
|
const n = 2;
|
|
1804
1804
|
t[t.REJECTED = n] = "REJECTED";
|
|
1805
|
-
})(
|
|
1805
|
+
})($e || ($e = {}));
|
|
1806
1806
|
function Mt(t) {
|
|
1807
1807
|
return new X((e) => {
|
|
1808
1808
|
e(t);
|
|
@@ -1815,7 +1815,7 @@ function ds(t) {
|
|
|
1815
1815
|
}
|
|
1816
1816
|
class X {
|
|
1817
1817
|
constructor(e) {
|
|
1818
|
-
X.prototype.__init.call(this), X.prototype.__init2.call(this), X.prototype.__init3.call(this), X.prototype.__init4.call(this), this._state =
|
|
1818
|
+
X.prototype.__init.call(this), X.prototype.__init2.call(this), X.prototype.__init3.call(this), X.prototype.__init4.call(this), this._state = $e.PENDING, this._handlers = [];
|
|
1819
1819
|
try {
|
|
1820
1820
|
e(this._resolve, this._reject);
|
|
1821
1821
|
} catch (i) {
|
|
@@ -1877,19 +1877,19 @@ class X {
|
|
|
1877
1877
|
/** JSDoc */
|
|
1878
1878
|
__init() {
|
|
1879
1879
|
this._resolve = (e) => {
|
|
1880
|
-
this._setResult(
|
|
1880
|
+
this._setResult($e.RESOLVED, e);
|
|
1881
1881
|
};
|
|
1882
1882
|
}
|
|
1883
1883
|
/** JSDoc */
|
|
1884
1884
|
__init2() {
|
|
1885
1885
|
this._reject = (e) => {
|
|
1886
|
-
this._setResult(
|
|
1886
|
+
this._setResult($e.REJECTED, e);
|
|
1887
1887
|
};
|
|
1888
1888
|
}
|
|
1889
1889
|
/** JSDoc */
|
|
1890
1890
|
__init3() {
|
|
1891
1891
|
this._setResult = (e, i) => {
|
|
1892
|
-
if (this._state ===
|
|
1892
|
+
if (this._state === $e.PENDING) {
|
|
1893
1893
|
if (tn(i)) {
|
|
1894
1894
|
i.then(this._resolve, this._reject);
|
|
1895
1895
|
return;
|
|
@@ -1901,11 +1901,11 @@ class X {
|
|
|
1901
1901
|
/** JSDoc */
|
|
1902
1902
|
__init4() {
|
|
1903
1903
|
this._executeHandlers = () => {
|
|
1904
|
-
if (this._state ===
|
|
1904
|
+
if (this._state === $e.PENDING)
|
|
1905
1905
|
return;
|
|
1906
1906
|
const e = this._handlers.slice();
|
|
1907
1907
|
this._handlers = [], e.forEach((i) => {
|
|
1908
|
-
i[0] || (this._state ===
|
|
1908
|
+
i[0] || (this._state === $e.RESOLVED && i[1](this._value), this._state === $e.REJECTED && i[2](this._value), i[0] = !0);
|
|
1909
1909
|
});
|
|
1910
1910
|
};
|
|
1911
1911
|
}
|
|
@@ -2042,7 +2042,7 @@ function ac(t) {
|
|
|
2042
2042
|
function lc(t, e) {
|
|
2043
2043
|
const i = typeof t.data == "string" ? Bn(t.data, e) : t.data;
|
|
2044
2044
|
return [
|
|
2045
|
-
|
|
2045
|
+
ke({
|
|
2046
2046
|
type: "attachment",
|
|
2047
2047
|
length: i.length,
|
|
2048
2048
|
filename: t.filename,
|
|
@@ -2083,7 +2083,7 @@ function dc(t, e, i, n) {
|
|
|
2083
2083
|
event_id: t.event_id,
|
|
2084
2084
|
sent_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
2085
2085
|
}, e && { sdk: e }), !!i && n && { dsn: vi(n) }), s && {
|
|
2086
|
-
trace:
|
|
2086
|
+
trace: ke(u({}, s))
|
|
2087
2087
|
});
|
|
2088
2088
|
}
|
|
2089
2089
|
function gc(t, e, i) {
|
|
@@ -2173,7 +2173,7 @@ function fc(t, e) {
|
|
|
2173
2173
|
e ? i = { status: e } : t.status === "ok" && (i = { status: "exited" }), Pt(t, i);
|
|
2174
2174
|
}
|
|
2175
2175
|
function vc(t) {
|
|
2176
|
-
return
|
|
2176
|
+
return ke({
|
|
2177
2177
|
sid: `${t.sid}`,
|
|
2178
2178
|
init: t.init,
|
|
2179
2179
|
// Make sure that sec is converted to ms for date constructor
|
|
@@ -2195,7 +2195,7 @@ function vc(t) {
|
|
|
2195
2195
|
const _c = 1;
|
|
2196
2196
|
function bc(t) {
|
|
2197
2197
|
const { spanId: e, traceId: i } = t.spanContext(), { data: n, op: s, parent_span_id: o, status: r, tags: a, origin: l } = hi(t);
|
|
2198
|
-
return
|
|
2198
|
+
return ke({
|
|
2199
2199
|
data: n,
|
|
2200
2200
|
op: s,
|
|
2201
2201
|
parent_span_id: o,
|
|
@@ -2355,31 +2355,31 @@ function Lc(t) {
|
|
|
2355
2355
|
return Object.keys(t).some((e) => kc.includes(e));
|
|
2356
2356
|
}
|
|
2357
2357
|
function ho(t, e) {
|
|
2358
|
-
return
|
|
2358
|
+
return Ee().captureException(t, Nc(e));
|
|
2359
2359
|
}
|
|
2360
2360
|
function xr(t, e) {
|
|
2361
|
-
return
|
|
2361
|
+
return Ee().captureEvent(t, e);
|
|
2362
2362
|
}
|
|
2363
2363
|
function ht(t, e) {
|
|
2364
|
-
|
|
2364
|
+
Ee().addBreadcrumb(t, e);
|
|
2365
2365
|
}
|
|
2366
2366
|
function po(t, e) {
|
|
2367
|
-
|
|
2367
|
+
Ee().setTag(t, e);
|
|
2368
2368
|
}
|
|
2369
2369
|
function zn(t) {
|
|
2370
|
-
|
|
2370
|
+
Ee().setUser(t);
|
|
2371
2371
|
}
|
|
2372
2372
|
function pe() {
|
|
2373
|
-
return
|
|
2373
|
+
return Ee().getClient();
|
|
2374
2374
|
}
|
|
2375
2375
|
function Mc() {
|
|
2376
|
-
return
|
|
2376
|
+
return Ee().getScope();
|
|
2377
2377
|
}
|
|
2378
2378
|
function Tr(t) {
|
|
2379
2379
|
return t.transaction;
|
|
2380
2380
|
}
|
|
2381
2381
|
function Rr(t, e, i) {
|
|
2382
|
-
const n = e.getOptions(), { publicKey: s } = e.getDsn() || {}, { segment: o } = i && i.getUser() || {}, r =
|
|
2382
|
+
const n = e.getOptions(), { publicKey: s } = e.getDsn() || {}, { segment: o } = i && i.getUser() || {}, r = ke({
|
|
2383
2383
|
environment: n.environment || gs,
|
|
2384
2384
|
release: n.release,
|
|
2385
2385
|
user_segment: o,
|
|
@@ -2442,13 +2442,13 @@ function Vc(t, e) {
|
|
|
2442
2442
|
level: r,
|
|
2443
2443
|
// eslint-disable-next-line deprecation/deprecation
|
|
2444
2444
|
transactionName: a
|
|
2445
|
-
} = e, l =
|
|
2445
|
+
} = e, l = ke(i);
|
|
2446
2446
|
l && Object.keys(l).length && (t.extra = u(u({}, l), t.extra));
|
|
2447
|
-
const c =
|
|
2447
|
+
const c = ke(n);
|
|
2448
2448
|
c && Object.keys(c).length && (t.tags = u(u({}, c), t.tags));
|
|
2449
|
-
const h =
|
|
2449
|
+
const h = ke(s);
|
|
2450
2450
|
h && Object.keys(h).length && (t.user = u(u({}, h), t.user));
|
|
2451
|
-
const p =
|
|
2451
|
+
const p = ke(o);
|
|
2452
2452
|
p && Object.keys(p).length && (t.contexts = u(u({}, p), t.contexts)), r && (t.level = r), a && (t.transaction = a);
|
|
2453
2453
|
}
|
|
2454
2454
|
function Uc(t, e) {
|
|
@@ -3259,7 +3259,7 @@ function Co(t) {
|
|
|
3259
3259
|
const e = nn(), i = Wn(e);
|
|
3260
3260
|
return $r(e, t), i;
|
|
3261
3261
|
}
|
|
3262
|
-
function
|
|
3262
|
+
function Ee() {
|
|
3263
3263
|
const t = nn();
|
|
3264
3264
|
if (t.__SENTRY__ && t.__SENTRY__.acs) {
|
|
3265
3265
|
const e = t.__SENTRY__.acs.getCurrentHub();
|
|
@@ -3269,7 +3269,7 @@ function ye() {
|
|
|
3269
3269
|
return Wc(t);
|
|
3270
3270
|
}
|
|
3271
3271
|
function Gc() {
|
|
3272
|
-
return
|
|
3272
|
+
return Ee().getIsolationScope();
|
|
3273
3273
|
}
|
|
3274
3274
|
function Wc(t = nn()) {
|
|
3275
3275
|
return (!Zc(t) || // eslint-disable-next-line deprecation/deprecation
|
|
@@ -3335,7 +3335,7 @@ function fo(t, e) {
|
|
|
3335
3335
|
}
|
|
3336
3336
|
function kr(t, e, i) {
|
|
3337
3337
|
if (!i[e.name]) {
|
|
3338
|
-
if (i[e.name] = e, mo.indexOf(e.name) === -1 && (e.setupOnce(Cc,
|
|
3338
|
+
if (i[e.name] = e, mo.indexOf(e.name) === -1 && (e.setupOnce(Cc, Ee), mo.push(e.name)), e.setup && typeof e.setup == "function" && e.setup(t), t.on && typeof e.preprocessEvent == "function") {
|
|
3339
3339
|
const n = e.preprocessEvent.bind(e);
|
|
3340
3340
|
t.on("preprocessEvent", (s, o) => n(s, o, t));
|
|
3341
3341
|
}
|
|
@@ -4594,7 +4594,7 @@ const fg = (t, e) => {
|
|
|
4594
4594
|
return o instanceof Zr && (n.fingerprint = ["{{ default }}", String(o.message)]), n;
|
|
4595
4595
|
}
|
|
4596
4596
|
});
|
|
4597
|
-
|
|
4597
|
+
Ee().bindClient(i), zn({ user: e });
|
|
4598
4598
|
}
|
|
4599
4599
|
}, vg = {
|
|
4600
4600
|
local: "http://localhost/mrc_api/public/api",
|
|
@@ -5811,7 +5811,7 @@ let Fe = class t extends E {
|
|
|
5811
5811
|
}
|
|
5812
5812
|
connectedCallback() {
|
|
5813
5813
|
return A(this, null, function* () {
|
|
5814
|
-
|
|
5814
|
+
Ne(t.prototype, this, "connectedCallback").call(this);
|
|
5815
5815
|
});
|
|
5816
5816
|
}
|
|
5817
5817
|
disconnectedCallback() {
|
|
@@ -5861,7 +5861,7 @@ const Iu = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMj
|
|
|
5861
5861
|
}, mu = {
|
|
5862
5862
|
"check2-circle": Iu,
|
|
5863
5863
|
"exclamation-octagon": Cu
|
|
5864
|
-
},
|
|
5864
|
+
}, _e = (t) => new Intl.DateTimeFormat("en-US", {
|
|
5865
5865
|
year: "numeric",
|
|
5866
5866
|
month: "2-digit",
|
|
5867
5867
|
day: "2-digit",
|
|
@@ -6981,7 +6981,7 @@ var Wu = Object.defineProperty, Zu = Object.getOwnPropertyDescriptor, Ke = (t, e
|
|
|
6981
6981
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
6982
6982
|
return n && s && Wu(e, i, s), s;
|
|
6983
6983
|
};
|
|
6984
|
-
let
|
|
6984
|
+
let be = class extends E {
|
|
6985
6985
|
constructor() {
|
|
6986
6986
|
super(), this.isLoading = !1, this.options = [], this.show = !1, this.forceShow = !1, this.search = "", this.placeholder = "", document.addEventListener("close-add-vendor-dialog", () => {
|
|
6987
6987
|
this.emptySearch();
|
|
@@ -7012,31 +7012,31 @@ let _e = class extends E {
|
|
|
7012
7012
|
)}</ul>` : null} ${this.search !== "" && t.length < 1 ? g`<p>No results found matching "${this.search}". Please select <strong>Other</strong> to request a new vendor.</p>` : null}</section>`;
|
|
7013
7013
|
}
|
|
7014
7014
|
};
|
|
7015
|
-
|
|
7015
|
+
be.styles = [zu];
|
|
7016
7016
|
Ke([
|
|
7017
7017
|
d({ attribute: !1 })
|
|
7018
|
-
],
|
|
7018
|
+
], be.prototype, "isLoading", 2);
|
|
7019
7019
|
Ke([
|
|
7020
7020
|
d()
|
|
7021
|
-
],
|
|
7021
|
+
], be.prototype, "options", 2);
|
|
7022
7022
|
Ke([
|
|
7023
7023
|
d()
|
|
7024
|
-
],
|
|
7024
|
+
], be.prototype, "show", 2);
|
|
7025
7025
|
Ke([
|
|
7026
7026
|
d()
|
|
7027
|
-
],
|
|
7027
|
+
], be.prototype, "forceShow", 2);
|
|
7028
7028
|
Ke([
|
|
7029
7029
|
d()
|
|
7030
|
-
],
|
|
7030
|
+
], be.prototype, "search", 2);
|
|
7031
7031
|
Ke([
|
|
7032
7032
|
d()
|
|
7033
|
-
],
|
|
7033
|
+
], be.prototype, "placeholder", 2);
|
|
7034
7034
|
Ke([
|
|
7035
7035
|
x("#searchInput")
|
|
7036
|
-
],
|
|
7037
|
-
|
|
7036
|
+
], be.prototype, "_searchInput", 2);
|
|
7037
|
+
be = Ke([
|
|
7038
7038
|
w("cpm-select-search")
|
|
7039
|
-
],
|
|
7039
|
+
], be);
|
|
7040
7040
|
var qu = Object.defineProperty, Ju = Object.getOwnPropertyDescriptor, ce = (t, e, i, n) => {
|
|
7041
7041
|
for (var s = n > 1 ? void 0 : n ? Ju(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
7042
7042
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
@@ -7063,7 +7063,7 @@ let G = class t extends E {
|
|
|
7063
7063
|
}
|
|
7064
7064
|
connectedCallback() {
|
|
7065
7065
|
return A(this, null, function* () {
|
|
7066
|
-
|
|
7066
|
+
Ne(t.prototype, this, "connectedCallback").call(this);
|
|
7067
7067
|
});
|
|
7068
7068
|
}
|
|
7069
7069
|
handleChange(e) {
|
|
@@ -7683,7 +7683,7 @@ function Ot(t) {
|
|
|
7683
7683
|
}))
|
|
7684
7684
|
);
|
|
7685
7685
|
}
|
|
7686
|
-
var
|
|
7686
|
+
var we = class extends Ve {
|
|
7687
7687
|
constructor() {
|
|
7688
7688
|
super(...arguments), this.hasSlotController = new ws(this, "footer"), this.localize = new Ts(this), this.modal = new lh(this), this.open = !1, this.label = "", this.noHeader = !1, this.handleDocumentKeyDown = (t) => {
|
|
7689
7689
|
t.key === "Escape" && this.modal.isActive() && this.open && (t.stopPropagation(), this.requestClose("keyboard"));
|
|
@@ -7765,31 +7765,31 @@ var Ee = class extends Ve {
|
|
|
7765
7765
|
})}"><div part="overlay" class="dialog__overlay" @click="${() => this.requestClose("overlay")}" tabindex="-1"></div><div part="panel" class="dialog__panel" role="dialog" aria-modal="true" aria-hidden="${this.open ? "false" : "true"}" aria-label="${T(this.noHeader ? this.label : void 0)}" aria-labelledby="${T(this.noHeader ? void 0 : "title")}" tabindex="-1">${this.noHeader ? "" : ee`<header part="header" class="dialog__header"><h2 part="title" class="dialog__title" id="title"><slot name="label">${this.label.length > 0 ? this.label : String.fromCharCode(65279)}</slot></h2><div part="header-actions" class="dialog__header-actions"><slot name="header-actions"></slot><sl-icon-button part="close-button" exportparts="base:close-button__base" class="dialog__close" name="x-lg" label="${this.localize.term("close")}" library="system" @click="${() => this.requestClose("close-button")}"></sl-icon-button></div></header>`} ${""}<div part="body" class="dialog__body" tabindex="-1"><slot></slot></div><footer part="footer" class="dialog__footer"><slot name="footer"></slot></footer></div></div>`;
|
|
7766
7766
|
}
|
|
7767
7767
|
};
|
|
7768
|
-
|
|
7769
|
-
|
|
7768
|
+
we.styles = [yi, gh];
|
|
7769
|
+
we.dependencies = {
|
|
7770
7770
|
"sl-icon-button": Z
|
|
7771
7771
|
};
|
|
7772
7772
|
C([
|
|
7773
7773
|
bt(".dialog")
|
|
7774
|
-
],
|
|
7774
|
+
], we.prototype, "dialog", 2);
|
|
7775
7775
|
C([
|
|
7776
7776
|
bt(".dialog__panel")
|
|
7777
|
-
],
|
|
7777
|
+
], we.prototype, "panel", 2);
|
|
7778
7778
|
C([
|
|
7779
7779
|
bt(".dialog__overlay")
|
|
7780
|
-
],
|
|
7780
|
+
], we.prototype, "overlay", 2);
|
|
7781
7781
|
C([
|
|
7782
7782
|
v({ type: Boolean, reflect: !0 })
|
|
7783
|
-
],
|
|
7783
|
+
], we.prototype, "open", 2);
|
|
7784
7784
|
C([
|
|
7785
7785
|
v({ reflect: !0 })
|
|
7786
|
-
],
|
|
7786
|
+
], we.prototype, "label", 2);
|
|
7787
7787
|
C([
|
|
7788
7788
|
v({ attribute: "no-header", type: Boolean, reflect: !0 })
|
|
7789
|
-
],
|
|
7789
|
+
], we.prototype, "noHeader", 2);
|
|
7790
7790
|
C([
|
|
7791
7791
|
qe("open", { waitUntilFirstUpdate: !0 })
|
|
7792
|
-
],
|
|
7792
|
+
], we.prototype, "handleOpenChange", 1);
|
|
7793
7793
|
wt("dialog.show", {
|
|
7794
7794
|
keyframes: [
|
|
7795
7795
|
{ opacity: 0, scale: 0.8 },
|
|
@@ -7816,7 +7816,7 @@ wt("dialog.overlay.hide", {
|
|
|
7816
7816
|
keyframes: [{ opacity: 1 }, { opacity: 0 }],
|
|
7817
7817
|
options: { duration: 250 }
|
|
7818
7818
|
});
|
|
7819
|
-
|
|
7819
|
+
we.define("sl-dialog");
|
|
7820
7820
|
var fh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor, Wt = (t, e, i, n) => {
|
|
7821
7821
|
for (var s = n > 1 ? void 0 : n ? vh(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
7822
7822
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
@@ -7860,7 +7860,7 @@ Ge = Wt([
|
|
|
7860
7860
|
w("cpm-modal")
|
|
7861
7861
|
], Ge);
|
|
7862
7862
|
const _h = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANLSURBVHgBzZnNchJBEMe7JznLbgipysFU8gKG+ALBu6Xxpp70pJ5iLuotcPDzEnwCyRNELe+uL2ARX0AKD1YJuKTMLTBj97BLbch+7wb4VS0DOzPLn56v7gYhJR3brggQm0qqCiKUFYABo4vp09UCBS0F6hgEWCXTtCAFmKSxbduGBLGrlHrqERML+gEtVGgtCFkzTbMVt18sgY6wfUdYdhQ24gqNFNizT9hiVUhosSi0RVFUl80rh2HtMELcQW5WCxKgsF4sFvYC6/1u8pAOFR7R2wpMh+YCqhs05P3JCuHXeqDwK0xPHFN2DHKBCwJ5WMmsZZg+lV7v5GDy5rkh/tO1HwiBH2CGSKX2Vopm3f08Fkjzbp2Hlm6sw2zp03zccOfjeIjPhlDNKm6rfE1fGTGkFPvuB21Bth5N0p+QkeWl0VbZ/duHrJAVTbaitiBbD+aMgQS9/2qBKHAb5gxE3OVSsFcyBwvDD6PTYY9JTnVDToQSUBYIuAlzCvmZZEFMN7zultJutwPbcF2WrYfEbfIiWYcU8P70iwTcvnXTV2TbqeM2ibxiD+yls8BUft7Hz19gbW3NV6RXHLfhtikxkDZVBSlhITuOuKuOWMZ974rjMi0s0IYM3rJXpJc8xBF9WsUQ61wKmux+QsLEJVw0Lez2+kc0i3eiWkads64lmTDLJTmvKWT9tChBfaPlHCkwChb0vfkDckVBU6CEJswrEixRKumIP7t/lDMclrI27c1QaPk+qkOhUNBl2MkRhdvXfVYY5M1YXC7qFwH1oYL9sA6PHj+Bd2/fwPXsHjPcvXc/ss0ZyBqX2oLsuUZZ8dnzF1pknF8fBPfl57x89Tq8IWJj1UmLeIMmw3H7c01xJIXn3oCCeFfgOGhiK1LIV4MZw/maVU9S6VzgzvFonAVzWfB3TyaTfD0h2uWnnfrgoW2Wloytyfu+uRkK+e5QMc0N3DqleedXEepLdnp23Y2uLgse1lLRDEzxibDO3FFK9ZBXFuQPL8q9MHFMqEBmZdls8LKnhx1CTrDV/lH+xZskCiJRuPCbUiQLknI4iNspYml9GJzSqbXhk6jMRaAXDqrJ/hUdto4iQ77Gf0OgFgRNylpYciCPHackMf8BSLd3MTlxOZYAAAAASUVORK5CYII=";
|
|
7863
|
-
var bh = Object.defineProperty, yh = Object.getOwnPropertyDescriptor,
|
|
7863
|
+
var bh = Object.defineProperty, yh = Object.getOwnPropertyDescriptor, Se = (t, e, i, n) => {
|
|
7864
7864
|
for (var s = n > 1 ? void 0 : n ? yh(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
7865
7865
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
7866
7866
|
return n && s && bh(e, i, s), s;
|
|
@@ -7946,43 +7946,43 @@ let ie = class extends E {
|
|
|
7946
7946
|
}
|
|
7947
7947
|
render() {
|
|
7948
7948
|
var t, e, i, n, s, o;
|
|
7949
|
-
return this.createViewer(), g`<section><h1>${(t = this.document) == null ? void 0 : t.name}</h1><div class="download-section"><div class="download-btn"><a href="${this.downloadUrl}" target="_blank"><img src="${_h}" class="page-back-button-icon"></a></div></div><div id="documentViewer"></div><iframe id="documentIframe" .style="display: ${this.url && !this.isTxtFile(this.url) ? "block" : "none"}"></iframe>${(e = this.document) != null && e.dt_reviewed ? null : g`<div><textarea class="form-control" @change="${(r) => this.note = r.target.value}"></textarea></div>`} ${(i = this.document) != null && i.note && ((n = this.document) == null ? void 0 : n.note) !== "" ? g`<div class="document-review-note"><p><strong>Review Note:</strong></p><p></p><p>${(s = this.document) == null ? void 0 : s.note}</p></div>` : null}<div class="actions-wrapper">${this.type !== "vendor" ? g`<div class="button--clear remove-doc-btn" @click="${this.removeDoc}">${this.isLoading ? g`<page-spinner customStyle="width:15px;height:15px;"></page-spinner>` : "Remove"}</div>` : ""} ${(o = this.document) != null && o.dt_reviewed ? g`<span>Last Review: ${
|
|
7949
|
+
return this.createViewer(), g`<section><h1>${(t = this.document) == null ? void 0 : t.name}</h1><div class="download-section"><div class="download-btn"><a href="${this.downloadUrl}" target="_blank"><img src="${_h}" class="page-back-button-icon"></a></div></div><div id="documentViewer"></div><iframe id="documentIframe" .style="display: ${this.url && !this.isTxtFile(this.url) ? "block" : "none"}"></iframe>${(e = this.document) != null && e.dt_reviewed ? null : g`<div><textarea class="form-control" @change="${(r) => this.note = r.target.value}"></textarea></div>`} ${(i = this.document) != null && i.note && ((n = this.document) == null ? void 0 : n.note) !== "" ? g`<div class="document-review-note"><p><strong>Review Note:</strong></p><p></p><p>${(s = this.document) == null ? void 0 : s.note}</p></div>` : null}<div class="actions-wrapper">${this.type !== "vendor" ? g`<div class="button--clear remove-doc-btn" @click="${this.removeDoc}">${this.isLoading ? g`<page-spinner customStyle="width:15px;height:15px;"></page-spinner>` : "Remove"}</div>` : ""} ${(o = this.document) != null && o.dt_reviewed ? g`<span>Last Review: ${_e(this.document.dt_reviewed)}</span>` : g`<a href="${this.downloadUrl}" class="button--primary mark-reviewed-btn" target="_blank" @click="${this.markAsReviewed}">${this.isLoading ? g`<page-spinner customStyle="width:15px;height:15px;"></page-spinner>` : "Mark as Review"}</a>`}</div></section>`;
|
|
7950
7950
|
}
|
|
7951
7951
|
};
|
|
7952
7952
|
ie.styles = [
|
|
7953
7953
|
O,
|
|
7954
7954
|
R`object{width:100%;height:500px}textarea{width:100%;min-width:100%;max-width:100%;height:150px;margin:20px 0}.document-review-note{margin:15px 0}.document-review-note p{margin:0}.download-doc-btn{margin-right:15px}.mark-reviewed-btn{display:inline-block}.dv-buttons-wrapper{margin-top:15px;padding-bottom:15px}.no-preview{width:100%;height:300px;border:1px solid #b5b5b5;border-radius:5px;position:relative}.no-preview p{text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;font-size:30px;color:#b5b5b5}.download-section{display:flex;justify-content:end;padding-bottom:10px}.actions-wrapper{padding-bottom:20px}iframe{width:100%;min-height:500px}`
|
|
7955
7955
|
];
|
|
7956
|
-
|
|
7956
|
+
Se([
|
|
7957
7957
|
d()
|
|
7958
7958
|
], ie.prototype, "document", 2);
|
|
7959
|
-
|
|
7959
|
+
Se([
|
|
7960
7960
|
d()
|
|
7961
7961
|
], ie.prototype, "url", 2);
|
|
7962
|
-
|
|
7962
|
+
Se([
|
|
7963
7963
|
d()
|
|
7964
7964
|
], ie.prototype, "downloadUrl", 2);
|
|
7965
|
-
|
|
7965
|
+
Se([
|
|
7966
7966
|
d()
|
|
7967
7967
|
], ie.prototype, "type", 2);
|
|
7968
|
-
|
|
7968
|
+
Se([
|
|
7969
7969
|
d()
|
|
7970
7970
|
], ie.prototype, "isLoading", 2);
|
|
7971
|
-
|
|
7971
|
+
Se([
|
|
7972
7972
|
m({ context: U }),
|
|
7973
7973
|
d()
|
|
7974
7974
|
], ie.prototype, "currentVendor", 2);
|
|
7975
|
-
|
|
7975
|
+
Se([
|
|
7976
7976
|
m({ context: N }),
|
|
7977
7977
|
d()
|
|
7978
7978
|
], ie.prototype, "api", 2);
|
|
7979
|
-
|
|
7979
|
+
Se([
|
|
7980
7980
|
x("#documentViewer")
|
|
7981
7981
|
], ie.prototype, "_documentViewer", 2);
|
|
7982
|
-
|
|
7982
|
+
Se([
|
|
7983
7983
|
x("#documentIframe")
|
|
7984
7984
|
], ie.prototype, "_documentIframe", 2);
|
|
7985
|
-
ie =
|
|
7985
|
+
ie = Se([
|
|
7986
7986
|
w("view-document")
|
|
7987
7987
|
], ie);
|
|
7988
7988
|
var Eh = _t`:host{display:contents;margin:0}.alert{position:relative;display:flex;align-items:stretch;background-color:var(--sl-panel-background-color);border:solid var(--sl-panel-border-width) var(--sl-panel-border-color);border-top-width:calc(var(--sl-panel-border-width) * 3);border-radius:var(--sl-border-radius-medium);font-family:var(--sl-font-sans);font-size:var(--sl-font-size-small);font-weight:var(--sl-font-weight-normal);line-height:1.6;color:var(--sl-color-neutral-700);margin:inherit;overflow:hidden}.alert:not(.alert--closable) .alert__close-button,.alert:not(.alert--has-icon) .alert__icon{display:none}.alert__icon{flex:0 0 auto;display:flex;align-items:center;font-size:var(--sl-font-size-large);padding-inline-start:var(--sl-spacing-large)}.alert--has-countdown{border-bottom:none}.alert--primary{border-top-color:var(--sl-color-primary-600)}.alert--primary .alert__icon{color:var(--sl-color-primary-600)}.alert--success{border-top-color:var(--sl-color-success-600)}.alert--success .alert__icon{color:var(--sl-color-success-600)}.alert--neutral{border-top-color:var(--sl-color-neutral-600)}.alert--neutral .alert__icon{color:var(--sl-color-neutral-600)}.alert--warning{border-top-color:var(--sl-color-warning-600)}.alert--warning .alert__icon{color:var(--sl-color-warning-600)}.alert--danger{border-top-color:var(--sl-color-danger-600)}.alert--danger .alert__icon{color:var(--sl-color-danger-600)}.alert__message{flex:1 1 auto;display:block;padding:var(--sl-spacing-large);overflow:hidden}.alert__close-button{flex:0 0 auto;display:flex;align-items:center;font-size:var(--sl-font-size-medium);margin-inline-end:var(--sl-spacing-medium);align-self:center}.alert__countdown{position:absolute;bottom:0;left:0;width:100%;height:calc(var(--sl-panel-border-width) * 3);background-color:var(--sl-panel-border-color);display:flex}.alert__countdown--ltr{justify-content:flex-end}.alert__countdown .alert__countdown-elapsed{height:100%;width:0}.alert--primary .alert__countdown-elapsed{background-color:var(--sl-color-primary-600)}.alert--success .alert__countdown-elapsed{background-color:var(--sl-color-success-600)}.alert--neutral .alert__countdown-elapsed{background-color:var(--sl-color-neutral-600)}.alert--warning .alert__countdown-elapsed{background-color:var(--sl-color-warning-600)}.alert--danger .alert__countdown-elapsed{background-color:var(--sl-color-danger-600)}.alert__timer{display:none}`, Q = class it extends Ve {
|
|
@@ -8206,7 +8206,7 @@ Zt([
|
|
|
8206
8206
|
We = Zt([
|
|
8207
8207
|
w("cpm-multi-select")
|
|
8208
8208
|
], We);
|
|
8209
|
-
var Th = Object.defineProperty, Rh = Object.getOwnPropertyDescriptor,
|
|
8209
|
+
var Th = Object.defineProperty, Rh = Object.getOwnPropertyDescriptor, xe = (t, e, i, n) => {
|
|
8210
8210
|
for (var s = n > 1 ? void 0 : n ? Rh(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
8211
8211
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
8212
8212
|
return n && s && Th(e, i, s), s;
|
|
@@ -8309,37 +8309,37 @@ let ne = class extends E {
|
|
|
8309
8309
|
}
|
|
8310
8310
|
};
|
|
8311
8311
|
ne.styles = [O, Ds];
|
|
8312
|
-
|
|
8312
|
+
xe([
|
|
8313
8313
|
d()
|
|
8314
8314
|
], ne.prototype, "isLoading", 2);
|
|
8315
|
-
|
|
8315
|
+
xe([
|
|
8316
8316
|
m({ context: U, subscribe: !0 }),
|
|
8317
8317
|
d()
|
|
8318
8318
|
], ne.prototype, "currentVendor", 2);
|
|
8319
|
-
|
|
8319
|
+
xe([
|
|
8320
8320
|
m({ context: Je, subscribe: !0 }),
|
|
8321
8321
|
d()
|
|
8322
8322
|
], ne.prototype, "vendorData", 2);
|
|
8323
|
-
|
|
8323
|
+
xe([
|
|
8324
8324
|
d()
|
|
8325
8325
|
], ne.prototype, "files", 2);
|
|
8326
|
-
|
|
8326
|
+
xe([
|
|
8327
8327
|
m({ context: N }),
|
|
8328
8328
|
d()
|
|
8329
8329
|
], ne.prototype, "api", 2);
|
|
8330
|
-
|
|
8330
|
+
xe([
|
|
8331
8331
|
d()
|
|
8332
8332
|
], ne.prototype, "activeFileName", 2);
|
|
8333
|
-
|
|
8333
|
+
xe([
|
|
8334
8334
|
d()
|
|
8335
8335
|
], ne.prototype, "activeDescription", 2);
|
|
8336
|
-
|
|
8336
|
+
xe([
|
|
8337
8337
|
x("#files")
|
|
8338
8338
|
], ne.prototype, "_files", 2);
|
|
8339
|
-
|
|
8339
|
+
xe([
|
|
8340
8340
|
x("#otherDocumentCategory")
|
|
8341
8341
|
], ne.prototype, "_otherDocumentCategory", 2);
|
|
8342
|
-
ne =
|
|
8342
|
+
ne = xe([
|
|
8343
8343
|
w("vendor-documents-upload")
|
|
8344
8344
|
], ne);
|
|
8345
8345
|
var Dh = Object.defineProperty, Oh = Object.getOwnPropertyDescriptor, wi = (t, e, i, n) => {
|
|
@@ -8384,7 +8384,7 @@ wi([
|
|
|
8384
8384
|
It = wi([
|
|
8385
8385
|
w("other-document-category")
|
|
8386
8386
|
], It);
|
|
8387
|
-
var Nh = Object.defineProperty, $h = Object.getOwnPropertyDescriptor,
|
|
8387
|
+
var Nh = Object.defineProperty, $h = Object.getOwnPropertyDescriptor, Te = (t, e, i, n) => {
|
|
8388
8388
|
for (var s = n > 1 ? void 0 : n ? $h(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
8389
8389
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
8390
8390
|
return n && s && Nh(e, i, s), s;
|
|
@@ -8491,37 +8491,37 @@ let se = class extends E {
|
|
|
8491
8491
|
}
|
|
8492
8492
|
};
|
|
8493
8493
|
se.styles = [O, Ds];
|
|
8494
|
-
|
|
8494
|
+
Te([
|
|
8495
8495
|
d()
|
|
8496
8496
|
], se.prototype, "isLoading", 2);
|
|
8497
|
-
|
|
8497
|
+
Te([
|
|
8498
8498
|
m({ context: U, subscribe: !0 }),
|
|
8499
8499
|
d()
|
|
8500
8500
|
], se.prototype, "currentVendor", 2);
|
|
8501
|
-
|
|
8501
|
+
Te([
|
|
8502
8502
|
m({ context: Je, subscribe: !0 }),
|
|
8503
8503
|
d()
|
|
8504
8504
|
], se.prototype, "vendorData", 2);
|
|
8505
|
-
|
|
8505
|
+
Te([
|
|
8506
8506
|
d()
|
|
8507
8507
|
], se.prototype, "files", 2);
|
|
8508
|
-
|
|
8508
|
+
Te([
|
|
8509
8509
|
m({ context: N }),
|
|
8510
8510
|
d()
|
|
8511
8511
|
], se.prototype, "api", 2);
|
|
8512
|
-
|
|
8512
|
+
Te([
|
|
8513
8513
|
d()
|
|
8514
8514
|
], se.prototype, "activeFileName", 2);
|
|
8515
|
-
|
|
8515
|
+
Te([
|
|
8516
8516
|
d()
|
|
8517
8517
|
], se.prototype, "activeDescription", 2);
|
|
8518
|
-
|
|
8518
|
+
Te([
|
|
8519
8519
|
x("#files")
|
|
8520
8520
|
], se.prototype, "_files", 2);
|
|
8521
|
-
|
|
8521
|
+
Te([
|
|
8522
8522
|
x("#otherDocumentCategory")
|
|
8523
8523
|
], se.prototype, "_otherDocumentCategory", 2);
|
|
8524
|
-
se =
|
|
8524
|
+
se = Te([
|
|
8525
8525
|
w("other-vendor-documents-upload")
|
|
8526
8526
|
], se);
|
|
8527
8527
|
var kh = Object.defineProperty, Lh = Object.getOwnPropertyDescriptor, ln = (t, e, i, n) => {
|
|
@@ -8621,7 +8621,7 @@ let M = class t extends E {
|
|
|
8621
8621
|
}
|
|
8622
8622
|
connectedCallback() {
|
|
8623
8623
|
return A(this, null, function* () {
|
|
8624
|
-
|
|
8624
|
+
Ne(t.prototype, this, "connectedCallback").call(this), this.isLoading = !0, yield Promise.all([
|
|
8625
8625
|
this.getVendorDocuments(),
|
|
8626
8626
|
this.getOtherVendorDocuments(),
|
|
8627
8627
|
this.getUnknownVendorDocuments()
|
|
@@ -8814,7 +8814,7 @@ let M = class t extends E {
|
|
|
8814
8814
|
s = g`<a href="${this.getUnknownVendorDocumentDownloadURL(i)}" target="_blank"><sl-icon src="${Pi}" class="download-icon"></sl-icon></a>`, n = g`<a @click="${() => this.markReviewedUnknownVendorDocument(i.id, i.name, i.unknown_vendor_id)}" href="javascript:void(0)">Mark As Reviewed</a>`;
|
|
8815
8815
|
break;
|
|
8816
8816
|
}
|
|
8817
|
-
return g`<tr><td><span class="document-name" @click="${() => this.openDocument(i, i.type)}">${i.name}</span></td><td>${i.firm_name}</td><td>${i.categories}</td><td>${i.dt_reviewed ? "Reviewed" : n}</td><td>${i.dt_reviewed ?
|
|
8817
|
+
return g`<tr><td><span class="document-name" @click="${() => this.openDocument(i, i.type)}">${i.name}</span></td><td>${i.firm_name}</td><td>${i.categories}</td><td>${i.dt_reviewed ? "Reviewed" : n}</td><td>${i.dt_reviewed ? _e(i.dt_reviewed) : null}</td><td>${s}</td></tr>`;
|
|
8818
8818
|
})}</tbody></table>${this.isLoading ? g`<page-spinner class="vendor-docs-spinner"></page-spinner>` : null}<cpm-modal id="viewDocumentDialog"><view-document .document="${this.activeDocument}" .url="${this.documentUrl}" .downloadUrl="${this.downloadUrl}" .type="${this.activeDocumentType}" slot="content"></view-document></cpm-modal><cpm-modal id="documentsUploadDialog"><documents-upload slot="content"></documents-upload></cpm-modal></div>`;
|
|
8819
8819
|
}
|
|
8820
8820
|
};
|
|
@@ -8962,7 +8962,7 @@ jt = cn([
|
|
|
8962
8962
|
w("remove-vendor-popup")
|
|
8963
8963
|
], jt);
|
|
8964
8964
|
const Wh = R`textarea{min-height:150px;min-width:100%;max-width:100%}.upload-files #files{visibility:hidden;position:absolute}.edit-vendor-wrapper .files-list{margin-top:40px}.edit-vendor-wrapper .upload-files{text-align:left}.edit-vendor-wrapper .submit-btn{display:inline-block;margin-left:10px}.file-name a{color:#000}`;
|
|
8965
|
-
var Zh = Object.defineProperty, qh = Object.getOwnPropertyDescriptor,
|
|
8965
|
+
var Zh = Object.defineProperty, qh = Object.getOwnPropertyDescriptor, Re = (t, e, i, n) => {
|
|
8966
8966
|
for (var s = n > 1 ? void 0 : n ? qh(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
8967
8967
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
8968
8968
|
return n && s && Zh(e, i, s), s;
|
|
@@ -9061,38 +9061,38 @@ let oe = class extends E {
|
|
|
9061
9061
|
}
|
|
9062
9062
|
};
|
|
9063
9063
|
oe.styles = [O, Wh, Ds];
|
|
9064
|
-
|
|
9064
|
+
Re([
|
|
9065
9065
|
d()
|
|
9066
9066
|
], oe.prototype, "files", 2);
|
|
9067
|
-
|
|
9067
|
+
Re([
|
|
9068
9068
|
m({ context: Je, subscribe: !0 }),
|
|
9069
9069
|
d()
|
|
9070
9070
|
], oe.prototype, "vendorData", 2);
|
|
9071
|
-
|
|
9071
|
+
Re([
|
|
9072
9072
|
m({ context: le }),
|
|
9073
9073
|
d()
|
|
9074
9074
|
], oe.prototype, "environment", 2);
|
|
9075
|
-
|
|
9075
|
+
Re([
|
|
9076
9076
|
m({ context: N }),
|
|
9077
9077
|
d()
|
|
9078
9078
|
], oe.prototype, "api", 2);
|
|
9079
|
-
|
|
9079
|
+
Re([
|
|
9080
9080
|
m({ context: U, subscribe: !0 }),
|
|
9081
9081
|
d()
|
|
9082
9082
|
], oe.prototype, "currentVendor", 2);
|
|
9083
|
-
|
|
9083
|
+
Re([
|
|
9084
9084
|
d()
|
|
9085
9085
|
], oe.prototype, "isLoading", 2);
|
|
9086
|
-
|
|
9086
|
+
Re([
|
|
9087
9087
|
d()
|
|
9088
9088
|
], oe.prototype, "description", 2);
|
|
9089
|
-
|
|
9089
|
+
Re([
|
|
9090
9090
|
d()
|
|
9091
9091
|
], oe.prototype, "category_id", 2);
|
|
9092
|
-
|
|
9092
|
+
Re([
|
|
9093
9093
|
x("#files")
|
|
9094
9094
|
], oe.prototype, "_files", 2);
|
|
9095
|
-
oe =
|
|
9095
|
+
oe = Re([
|
|
9096
9096
|
w("edit-vendor")
|
|
9097
9097
|
], oe);
|
|
9098
9098
|
const Jh = R`.back-btn{color:#0051ca;text-decoration:none}.actions-wrapper button{display:inline-block;margin-right:10px}.page-row{margin:15px 0}.d-block{display:block}.page-9{text-align:center}.page-9 h3,.page-9 p{margin:0}.page-9 img{width:50px;height:50px}`, Sa = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hlY2siIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZmlsbD0iZ3JlZW4iIGQ9Ik0xMC45NyA0Ljk3YS43NS43NSAwIDAgMSAxLjA3IDEuMDVsLTMuOTkgNC45OWEuNzUuNzUgMCAwIDEtMS4wOC4wMkw0LjMyNCA4LjM4NGEuNzUuNzUgMCAxIDEgMS4wNi0xLjA2bDIuMDk0IDIuMDkzIDMuNDczLTQuNDI1YS4yNjcuMjY3IDAgMCAxIC4wMi0uMDIyeiIvPgo8L3N2Zz4=";
|
|
@@ -9138,7 +9138,7 @@ let q = class t extends E {
|
|
|
9138
9138
|
}
|
|
9139
9139
|
connectedCallback() {
|
|
9140
9140
|
return A(this, null, function* () {
|
|
9141
|
-
|
|
9141
|
+
Ne(t.prototype, this, "connectedCallback").call(this), this.setRAItem(), this.setPDF(), this.updateField("vendor_name", this.currentVendor.vendor_name), this.riskAssessmentItem.review_period || this.updateField("review_period", _e(/* @__PURE__ */ new Date()));
|
|
9142
9142
|
});
|
|
9143
9143
|
}
|
|
9144
9144
|
setPDF() {
|
|
@@ -9200,8 +9200,8 @@ let q = class t extends E {
|
|
|
9200
9200
|
composed: !0,
|
|
9201
9201
|
detail: {
|
|
9202
9202
|
currentVendor: _(u({}, this.currentVendor), {
|
|
9203
|
-
ra_submitted:
|
|
9204
|
-
latest_submit:
|
|
9203
|
+
ra_submitted: _e(/* @__PURE__ */ new Date()),
|
|
9204
|
+
latest_submit: _e(/* @__PURE__ */ new Date())
|
|
9205
9205
|
})
|
|
9206
9206
|
}
|
|
9207
9207
|
}, a = new CustomEvent("vendor-edit", r);
|
|
@@ -9221,7 +9221,7 @@ let q = class t extends E {
|
|
|
9221
9221
|
vendor_name: e,
|
|
9222
9222
|
review_period: i
|
|
9223
9223
|
} = this.riskAssessmentItem;
|
|
9224
|
-
return g`<div class="page page-1"><div class="page-row"><label for="#vendor_name">Vendor Name:</label> <input type="text" id="vendor_name" .value="${e}" class="form-control" disabled="disabled"></div><div class="page-row"><label for="#review_period">Date Completed:</label> <input type="text" id="review_period" .value="${
|
|
9224
|
+
return g`<div class="page page-1"><div class="page-row"><label for="#vendor_name">Vendor Name:</label> <input type="text" id="vendor_name" .value="${e}" class="form-control" disabled="disabled"></div><div class="page-row"><label for="#review_period">Date Completed:</label> <input type="text" id="review_period" .value="${_e(/* @__PURE__ */ new Date())}" class="form-control" disabled="disabled"></div></div>`;
|
|
9225
9225
|
}
|
|
9226
9226
|
page_2() {
|
|
9227
9227
|
const {
|
|
@@ -9359,14 +9359,14 @@ let J = class t extends E {
|
|
|
9359
9359
|
), de(this, "vendor-edit", {
|
|
9360
9360
|
currentVendor: _(u({}, this.currentVendor), {
|
|
9361
9361
|
ra_exists: 1,
|
|
9362
|
-
ra_submitted:
|
|
9363
|
-
latest_submit:
|
|
9362
|
+
ra_submitted: _e(/* @__PURE__ */ new Date()),
|
|
9363
|
+
latest_submit: _e(/* @__PURE__ */ new Date())
|
|
9364
9364
|
})
|
|
9365
9365
|
}), this.showRiskAssessmentPage();
|
|
9366
9366
|
}
|
|
9367
9367
|
connectedCallback() {
|
|
9368
9368
|
return A(this, null, function* () {
|
|
9369
|
-
|
|
9369
|
+
Ne(t.prototype, this, "connectedCallback").call(this);
|
|
9370
9370
|
});
|
|
9371
9371
|
}
|
|
9372
9372
|
showPopup(e, i = !0) {
|
|
@@ -9606,7 +9606,7 @@ Si([
|
|
|
9606
9606
|
Ct = Si([
|
|
9607
9607
|
w("update-tier")
|
|
9608
9608
|
], Ct);
|
|
9609
|
-
var lp = Object.defineProperty, cp = Object.getOwnPropertyDescriptor,
|
|
9609
|
+
var lp = Object.defineProperty, cp = Object.getOwnPropertyDescriptor, De = (t, e, i, n) => {
|
|
9610
9610
|
for (var s = n > 1 ? void 0 : n ? cp(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
9611
9611
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
9612
9612
|
return n && s && lp(e, i, s), s;
|
|
@@ -9634,7 +9634,7 @@ let re = class t extends E {
|
|
|
9634
9634
|
}
|
|
9635
9635
|
connectedCallback() {
|
|
9636
9636
|
return A(this, null, function* () {
|
|
9637
|
-
if (
|
|
9637
|
+
if (Ne(t.prototype, this, "connectedCallback").call(this), !this.currentVendor.vendor_account_id && !this.currentVendor.request_vendor_id) {
|
|
9638
9638
|
this.isLoading = !1;
|
|
9639
9639
|
return;
|
|
9640
9640
|
}
|
|
@@ -9679,38 +9679,38 @@ let re = class t extends E {
|
|
|
9679
9679
|
}
|
|
9680
9680
|
};
|
|
9681
9681
|
re.styles = [O, F];
|
|
9682
|
-
|
|
9682
|
+
De([
|
|
9683
9683
|
m({ context: le }),
|
|
9684
9684
|
d()
|
|
9685
9685
|
], re.prototype, "environment", 2);
|
|
9686
|
-
|
|
9686
|
+
De([
|
|
9687
9687
|
d()
|
|
9688
9688
|
], re.prototype, "user", 2);
|
|
9689
|
-
|
|
9689
|
+
De([
|
|
9690
9690
|
m({ context: N }),
|
|
9691
9691
|
d()
|
|
9692
9692
|
], re.prototype, "api", 2);
|
|
9693
|
-
|
|
9693
|
+
De([
|
|
9694
9694
|
d()
|
|
9695
9695
|
], re.prototype, "error", 2);
|
|
9696
|
-
|
|
9696
|
+
De([
|
|
9697
9697
|
m({ context: U, subscribe: !0 }),
|
|
9698
9698
|
d()
|
|
9699
9699
|
], re.prototype, "currentVendor", 2);
|
|
9700
|
-
|
|
9700
|
+
De([
|
|
9701
9701
|
K({ context: Je }),
|
|
9702
9702
|
d()
|
|
9703
9703
|
], re.prototype, "vendorData", 2);
|
|
9704
|
-
|
|
9704
|
+
De([
|
|
9705
9705
|
d()
|
|
9706
9706
|
], re.prototype, "isLoading", 2);
|
|
9707
|
-
|
|
9707
|
+
De([
|
|
9708
9708
|
x("#inviteVendorDialog")
|
|
9709
9709
|
], re.prototype, "_inviteVendorDialog", 2);
|
|
9710
|
-
|
|
9710
|
+
De([
|
|
9711
9711
|
x("#updateTierModal")
|
|
9712
9712
|
], re.prototype, "_updateTierModal", 2);
|
|
9713
|
-
re =
|
|
9713
|
+
re = De([
|
|
9714
9714
|
w("vendor-page")
|
|
9715
9715
|
], re);
|
|
9716
9716
|
const dp = R`.risk-assessment-wrapper h2{font-size:24px;font-weight:500}.risk-assessment-wrapper>h2{border-bottom:4px solid #0000001F;padding-bottom:10px}.ra-content-wrapper{display:grid;grid-template-columns:auto 400px;grid-gap:60px}.ra-contents{border-top-left-radius:20px;border-bottom-left-radius:20px;box-shadow:0 4px 20px 0 #68707D40;padding:20px 15px}.ra-contents ul{padding-left:18px;margin:0}.ra-contents ul li{cursor:pointer;color:#91a0a5;font-size:14px;font-weight:600;margin:10px 0}ul .ra-arrow-button sl-icon{margin-left:5px;font-size:20px}.active{color:#1168e9!important}.ra-risk-item h2{border-bottom:2px solid #0000001F}.ra-contents-buttons{margin:30px 0;display:flex;justify-content:space-evenly;background:#edf4fd;padding:15px}.ra-contents-buttons a{cursor:pointer;font-size:14px;font-weight:500;letter-spacing:1.5px}.ra-contents-buttons a:hover{color:#1168e9}.ra-arrow-button{display:flex;align-items:center}.arrow-left sl-icon{margin-right:10px}.arrow-right sl-icon{margin-left:10px}.ra-submit-buttons{margin-top:40px;display:flex;justify-content:center;gap:10px}`, gp = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2FyZXQtcmlnaHQtZmlsbCIgdmlld0JveD0iMCAwIDE2IDE2Ij4NCiAgPHBhdGggZD0ibTEyLjE0IDguNzUzLTUuNDgyIDQuNzk2Yy0uNjQ2LjU2Ni0xLjY1OC4xMDYtMS42NTgtLjc1M1YzLjIwNGExIDEgMCAwIDEgMS42NTktLjc1M2w1LjQ4IDQuNzk2YTEgMSAwIDAgMSAwIDEuNTA2eiIvPg0KPC9zdmc+", up = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2FyZXQtbGVmdC1maWxsIiB2aWV3Qm94PSIwIDAgMTYgMTYiPg0KICA8cGF0aCBkPSJtMy44NiA4Ljc1MyA1LjQ4MiA0Ljc5NmMuNjQ2LjU2NiAxLjY1OC4xMDYgMS42NTgtLjc1M1YzLjIwNGExIDEgMCAwIDAtMS42NTktLjc1M2wtNS40OCA0Ljc5NmExIDEgMCAwIDAgMCAxLjUwNnoiLz4NCjwvc3ZnPg==", qo = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0iY3VycmVudENvbG9yIiBjbGFzcz0iYmkgYmktY2hlY2stbGciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHBhdGggZD0iTTEyLjczNiAzLjk3YS43MzMuNzMzIDAgMCAxIDEuMDQ3IDBjLjI4Ni4yODkuMjkuNzU2LjAxIDEuMDVMNy44OCAxMi4wMWEuNzMzLjczMyAwIDAgMS0xLjA2NS4wMkwzLjIxNyA4LjM4NGEuNzU3Ljc1NyAwIDAgMSAwLTEuMDYuNzMzLjczMyAwIDAgMSAxLjA0NyAwbDMuMDUyIDMuMDkzIDUuNC02LjQyNWEuMjQ3LjI0NyAwIDAgMSAuMDItLjAyMloiLz4KPC9zdmc+";
|
|
@@ -9794,7 +9794,7 @@ var wp = Object.defineProperty, Sp = Object.getOwnPropertyDescriptor, Qe = (t, e
|
|
|
9794
9794
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
9795
9795
|
return n && s && wp(e, i, s), s;
|
|
9796
9796
|
};
|
|
9797
|
-
let
|
|
9797
|
+
let ye = class extends E {
|
|
9798
9798
|
constructor() {
|
|
9799
9799
|
super(), this.data = {}, this.template = "", this.riskSections = [], this.boundFormSubmit = this.formSubmit.bind(this);
|
|
9800
9800
|
}
|
|
@@ -9847,32 +9847,32 @@ let be = class extends E {
|
|
|
9847
9847
|
return g`<div class="form-build-wrapper">${this.buildForm()}</div>`;
|
|
9848
9848
|
}
|
|
9849
9849
|
};
|
|
9850
|
-
|
|
9850
|
+
ye.styles = [F, O, Cp];
|
|
9851
9851
|
Qe([
|
|
9852
9852
|
m({ context: N }),
|
|
9853
9853
|
d()
|
|
9854
|
-
],
|
|
9854
|
+
], ye.prototype, "api", 2);
|
|
9855
9855
|
Qe([
|
|
9856
9856
|
d()
|
|
9857
|
-
],
|
|
9857
|
+
], ye.prototype, "data", 2);
|
|
9858
9858
|
Qe([
|
|
9859
9859
|
d()
|
|
9860
|
-
],
|
|
9860
|
+
], ye.prototype, "parts", 2);
|
|
9861
9861
|
Qe([
|
|
9862
9862
|
d()
|
|
9863
|
-
],
|
|
9863
|
+
], ye.prototype, "id", 2);
|
|
9864
9864
|
Qe([
|
|
9865
9865
|
d()
|
|
9866
|
-
],
|
|
9866
|
+
], ye.prototype, "action", 2);
|
|
9867
9867
|
Qe([
|
|
9868
9868
|
d()
|
|
9869
|
-
],
|
|
9869
|
+
], ye.prototype, "splitSections", 2);
|
|
9870
9870
|
Qe([
|
|
9871
9871
|
x("#raForm")
|
|
9872
|
-
],
|
|
9873
|
-
|
|
9872
|
+
], ye.prototype, "_form", 2);
|
|
9873
|
+
ye = Qe([
|
|
9874
9874
|
w("form-builder")
|
|
9875
|
-
],
|
|
9875
|
+
], ye);
|
|
9876
9876
|
var xp = Object.defineProperty, Tp = Object.getOwnPropertyDescriptor, xa = (t, e, i, n) => {
|
|
9877
9877
|
for (var s = n > 1 ? void 0 : n ? Tp(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
9878
9878
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
@@ -9973,7 +9973,7 @@ xi([
|
|
|
9973
9973
|
mt = xi([
|
|
9974
9974
|
w("update-tier-v2")
|
|
9975
9975
|
], mt);
|
|
9976
|
-
var Op = Object.defineProperty, Np = Object.getOwnPropertyDescriptor,
|
|
9976
|
+
var Op = Object.defineProperty, Np = Object.getOwnPropertyDescriptor, Oe = (t, e, i, n) => {
|
|
9977
9977
|
for (var s = n > 1 ? void 0 : n ? Np(e, i) : e, o = t.length - 1, r; o >= 0; o--)
|
|
9978
9978
|
(r = t[o]) && (s = (n ? r(e, i, s) : r(s)) || s);
|
|
9979
9979
|
return n && s && Op(e, i, s), s;
|
|
@@ -9999,7 +9999,8 @@ let ae = class t extends E {
|
|
|
9999
9999
|
de(this, "vendor-edit", {
|
|
10000
10000
|
currentVendor: _(u({}, this.currentVendor), {
|
|
10001
10001
|
ra_exists: 1,
|
|
10002
|
-
ra_submitted: this.isSubmit ?
|
|
10002
|
+
ra_submitted: this.isSubmit ? _e(/* @__PURE__ */ new Date()) : null,
|
|
10003
|
+
latest_submit: this.isSubmit ? _e(/* @__PURE__ */ new Date()) : null
|
|
10003
10004
|
})
|
|
10004
10005
|
});
|
|
10005
10006
|
const s = `/custom_blocks/submit_custom_blocks_data/${this.block_id}/${this.year}/${this.isSubmit ? "submit" : "save"}`;
|
|
@@ -10023,7 +10024,7 @@ let ae = class t extends E {
|
|
|
10023
10024
|
connectedCallback() {
|
|
10024
10025
|
return A(this, null, function* () {
|
|
10025
10026
|
var o;
|
|
10026
|
-
|
|
10027
|
+
Ne(t.prototype, this, "connectedCallback").call(this), this.isLoading = !0;
|
|
10027
10028
|
const e = this.currentVendor.vendor_type === "partnered" ? this.currentVendor.vendor_account_id : this.currentVendor.request_vendor_id, i = yield this.api.executeRequest(
|
|
10028
10029
|
`/vendor_due_diligence/get_recent_form_response_id/${e}/${this.currentVendor.vendor_type}`,
|
|
10029
10030
|
"GET"
|
|
@@ -10145,36 +10146,36 @@ let ae = class t extends E {
|
|
|
10145
10146
|
}
|
|
10146
10147
|
};
|
|
10147
10148
|
ae.styles = [F, O, dp];
|
|
10148
|
-
|
|
10149
|
+
Oe([
|
|
10149
10150
|
m({ context: N }),
|
|
10150
10151
|
d()
|
|
10151
10152
|
], ae.prototype, "api", 2);
|
|
10152
|
-
|
|
10153
|
+
Oe([
|
|
10153
10154
|
d()
|
|
10154
10155
|
], ae.prototype, "parts", 2);
|
|
10155
|
-
|
|
10156
|
+
Oe([
|
|
10156
10157
|
d()
|
|
10157
10158
|
], ae.prototype, "riskSections", 2);
|
|
10158
|
-
|
|
10159
|
+
Oe([
|
|
10159
10160
|
d()
|
|
10160
10161
|
], ae.prototype, "activeSectionId", 2);
|
|
10161
|
-
|
|
10162
|
+
Oe([
|
|
10162
10163
|
m({ context: U, subscribe: !0 }),
|
|
10163
10164
|
d()
|
|
10164
10165
|
], ae.prototype, "currentVendor", 2);
|
|
10165
|
-
|
|
10166
|
+
Oe([
|
|
10166
10167
|
x("#raForm")
|
|
10167
10168
|
], ae.prototype, "_form", 2);
|
|
10168
|
-
|
|
10169
|
+
Oe([
|
|
10169
10170
|
x("#updateTierModal")
|
|
10170
10171
|
], ae.prototype, "_updateTierModal", 2);
|
|
10171
|
-
|
|
10172
|
+
Oe([
|
|
10172
10173
|
x("#riskAssessmentPopup")
|
|
10173
10174
|
], ae.prototype, "_riskAssessmentPopup", 2);
|
|
10174
|
-
|
|
10175
|
+
Oe([
|
|
10175
10176
|
d()
|
|
10176
10177
|
], ae.prototype, "submitLoading", 2);
|
|
10177
|
-
ae =
|
|
10178
|
+
ae = Oe([
|
|
10178
10179
|
w("vdd-risk-assessment-page")
|
|
10179
10180
|
], ae);
|
|
10180
10181
|
var $p = Object.defineProperty, kp = Object.getOwnPropertyDescriptor, j = (t, e, i, n) => {
|
|
@@ -10230,7 +10231,7 @@ let P = class t extends E {
|
|
|
10230
10231
|
connectedCallback() {
|
|
10231
10232
|
return A(this, null, function* () {
|
|
10232
10233
|
var e;
|
|
10233
|
-
|
|
10234
|
+
Ne(t.prototype, this, "connectedCallback").call(this);
|
|
10234
10235
|
try {
|
|
10235
10236
|
const i = (e = this.environment) == null ? void 0 : e.trim().toLowerCase();
|
|
10236
10237
|
this.api = new yg(i, this.user), fg(i, this.user);
|