@uxland/primary-shell 7.26.3 → 7.26.4
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/{component-BwE91PM-.js → component-OjDyol8O.js} +2 -2
- package/dist/{component-BwE91PM-.js.map → component-OjDyol8O.js.map} +1 -1
- package/dist/{index-CUYlxgix.js → index-uA2lHdFS.js} +28 -28
- package/dist/{index-CUYlxgix.js.map → index-uA2lHdFS.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +37 -37
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as d, k as l, P as p, h as g, r as m, i as v, s as h, a as f, b as u } from "./index-
|
|
1
|
+
import { t as d, k as l, P as p, h as g, r as m, i as v, s as h, a as f, b as u } from "./index-uA2lHdFS.js";
|
|
2
2
|
const x = ".container{background-color:#fff;display:flex;flex-direction:column;min-width:500px;width:90vw;height:90vh;border-radius:var(--dss-radius-sm);overflow:hidden}.content{display:grid;height:100%;min-height:1px;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:16px;padding:16px;overflow-y:auto;max-height:calc(90vh - 120px)}.content>*{border:1px solid var(--color-neutral-200);border-radius:8px;padding:16px;background-color:var(--color-neutral-50);min-height:200px}.footer{display:flex;flex-direction:row;align-items:center;background:#fff;justify-content:end;gap:12px;height:56px;border-top:1px solid var(--color-neutral-100);padding:var(--dss-spacing-sm)}", b = (r) => l`
|
|
3
3
|
<div class="container">
|
|
4
4
|
<!-- <div class="header">
|
|
@@ -44,4 +44,4 @@ i = c([
|
|
|
44
44
|
export {
|
|
45
45
|
i as ImportDataManagerModal
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=component-
|
|
47
|
+
//# sourceMappingURL=component-OjDyol8O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-
|
|
1
|
+
{"version":3,"file":"component-OjDyol8O.js","sources":["../src/api/import-data-manager/component/template.ts","../src/api/import-data-manager/component/component.ts"],"sourcesContent":["import { html } from \"lit\";\nimport { translate } from \"../../../locales\";\nimport { ImportDataManagerModal } from \"./component\";\n\nexport const template = (props: ImportDataManagerModal) => {\n return html`\n <div class=\"container\">\n <!-- <div class=\"header\">\n <div class=\"title\">\n <div>${translate(\"importDataManager.title\")}</div>\n </div> \n </div> -->\n <div class=\"content\" id=\"import-data-region\"></div>\n <div class=\"footer\">\n <dss-button label=\"${translate(\"importDataManager.actions.cancel\")}\" @click=\"${() => {\n props.cancel();\n }}\" size=\"md\" variant=\"secondary\"></dss-button>\n <dss-button label=\"${translate(\"importDataManager.actions.import\")}\" @click=\"${() => {\n props._accept();\n }}\" size=\"md\" variant=\"primary\"></dss-button>\n </div>\n </div>\n `;\n};\n","import { IRegion, region } from \"@uxland/regions\";\nimport { LitElement, css, html, unsafeCSS } from \"lit\";\nimport { customElement } from \"lit/decorators.js\";\nimport styles from \"./styles.css?inline\";\nimport { template } from \"./template\";\nimport { ConfirmationContentProps } from \"../../interaction-service\";\nimport { PrimariaRegionHost, shellApi } from \"../../api\";\n\n@customElement(\"import-data-manager-modal\")\nexport class ImportDataManagerModal\n extends PrimariaRegionHost(LitElement)\n implements ConfirmationContentProps<undefined, undefined>\n{\n data: undefined;\n setResult: (result: undefined) => void;\n setIsValid: (isValid: boolean) => void;\n confirm: () => void;\n cancel: () => void;\n\n @region({ targetId: \"import-data-region\", name: shellApi.regionManager.regions.shell.importData })\n importDataRegion: IRegion | undefined;\n\n render() {\n return html`${template(this)}`;\n }\n\n static styles = css`\n ${unsafeCSS(styles)}\n `;\n\n _accept = () => {\n this.confirm();\n };\n}\n"],"names":["template","props","html","translate","ImportDataManagerModal","PrimariaRegionHost","LitElement","css","unsafeCSS","styles","__decorateClass","region","shellApi","customElement"],"mappings":";gqBAIaA,IAAW,CAACC,MAChBC;AAAAA;AAAAA;AAAAA;AAAAA,iBAIQC,EAAU,yBAAyB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,yBAK5BA,EAAU,kCAAkC,CAAC,aAAa,MAAM;AACjF,EAAAF,EAAM,OAAA;AACR,CAAC;AAAA,2BACoBE,EAAU,kCAAkC,CAAC,aAAa,MAAM;AACnF,EAAAF,EAAM,QAAA;AACR,CAAC;AAAA;AAAA;AAAA;;;;;;ACVA,IAAMG,IAAN,cACGC,EAAmBC,CAAU,EAEvC;AAAA,EAHO,cAAA;AAAA,UAAA,GAAA,SAAA,GAqBL,KAAA,UAAU,MAAM;AACd,WAAK,QAAA;AAAA,IACP;AAAA,EAAA;AAAA,EAVA,SAAS;AACP,WAAOJ,IAAOF,EAAS,IAAI,CAAC;AAAA,EAC9B;AASF;AAxBaI,EAiBJ,SAASG;AAAAA,MACZC,EAAUC,CAAM,CAAC;AAAA;AAPrBC,EAAA;AAAA,EADCC,EAAO,EAAE,UAAU,sBAAsB,MAAMC,EAAS,cAAc,QAAQ,MAAM,WAAA,CAAY;AAAA,GAVtFR,EAWX,WAAA,oBAAA,CAAA;AAXWA,IAANM,EAAA;AAAA,EADNG,EAAc,2BAA2B;AAAA,GAC7BT,CAAA;"}
|
|
@@ -1595,16 +1595,16 @@ let y$g = class {
|
|
|
1595
1595
|
this.adapterRegistry.set(e$U, W);
|
|
1596
1596
|
}
|
|
1597
1597
|
};
|
|
1598
|
-
const p$
|
|
1598
|
+
const p$i = new y$g(), o$11 = "__uxl_regions__", s$H = (J) => (W, X) => {
|
|
1599
1599
|
W.constructor[o$11] = { ...W.constructor[o$11], [X]: J };
|
|
1600
|
-
}, p$
|
|
1600
|
+
}, p$h = (J, W, X) => {
|
|
1601
1601
|
const te = X.getAdapterFactory(W);
|
|
1602
1602
|
return a$v(typeof te == "function", "No region adapter factory found for the host"), te(J, W);
|
|
1603
1603
|
}, h$u = async (J, W, X, te) => {
|
|
1604
1604
|
await W._updatePromise;
|
|
1605
1605
|
const re = W.shadowRoot.querySelector(`#${J.targetId}`);
|
|
1606
1606
|
if (re) {
|
|
1607
|
-
const oe = J.adapterFactory ? J.adapterFactory(J, re) : p$
|
|
1607
|
+
const oe = J.adapterFactory ? J.adapterFactory(J, re) : p$h(J, re, te);
|
|
1608
1608
|
a$v(oe, "No region adapter found for the host");
|
|
1609
1609
|
const ne = J.scoped ? X.createRegionManager() : X, de = new y$h(J.name, ne, re, oe, J);
|
|
1610
1610
|
return ne.add(J.name, de), de;
|
|
@@ -1908,8 +1908,8 @@ u$B[d$r] = !0, u$B.elementProperties = /* @__PURE__ */ new Map(), u$B.elementSty
|
|
|
1908
1908
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1909
1909
|
*/
|
|
1910
1910
|
var t$v;
|
|
1911
|
-
const i$J = window, s$E = i$J.trustedTypes, e$R = s$E ? s$E.createPolicy("lit-html", { createHTML: (J) => J }) : void 0, o$_ = "$lit$", n$I = `lit$${(Math.random() + "").slice(9)}$`, l$C = "?" + n$I, h$s = `<${l$C}>`, r$M = document, u$A = () => r$M.createComment(""), d$q = (J) => J === null || typeof J != "object" && typeof J != "function", c$n = Array.isArray, v$
|
|
1912
|
-
\f\r]`, f$r = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _$i = /-->/g, m$h = />/g, p$
|
|
1911
|
+
const i$J = window, s$E = i$J.trustedTypes, e$R = s$E ? s$E.createPolicy("lit-html", { createHTML: (J) => J }) : void 0, o$_ = "$lit$", n$I = `lit$${(Math.random() + "").slice(9)}$`, l$C = "?" + n$I, h$s = `<${l$C}>`, r$M = document, u$A = () => r$M.createComment(""), d$q = (J) => J === null || typeof J != "object" && typeof J != "function", c$n = Array.isArray, v$k = (J) => c$n(J) || typeof J?.[Symbol.iterator] == "function", a$t = `[
|
|
1912
|
+
\f\r]`, f$r = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _$i = /-->/g, m$h = />/g, p$g = RegExp(`>|${a$t}(?:([^\\s"'>=/]+)(${a$t}*=${a$t}*(?:[^
|
|
1913
1913
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), g$m = /'/g, $$f = /"/g, y$f = /^(?:script|style|textarea|title)$/i, T$7 = Symbol.for("lit-noChange"), A$1 = Symbol.for("lit-nothing"), E$8 = /* @__PURE__ */ new WeakMap(), C$c = r$M.createTreeWalker(r$M, 129, null, !1);
|
|
1914
1914
|
function P$2(J, W) {
|
|
1915
1915
|
if (!Array.isArray(J) || !J.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
@@ -1921,8 +1921,8 @@ const V$2 = (J, W) => {
|
|
|
1921
1921
|
for (let de = 0; de < X; de++) {
|
|
1922
1922
|
const ce = J[de];
|
|
1923
1923
|
let ue, he, pe = -1, fe = 0;
|
|
1924
|
-
for (; fe < ce.length && (ne.lastIndex = fe, he = ne.exec(ce), he !== null); ) fe = ne.lastIndex, ne === f$r ? he[1] === "!--" ? ne = _$i : he[1] !== void 0 ? ne = m$h : he[2] !== void 0 ? (y$f.test(he[2]) && (re = RegExp("</" + he[2], "g")), ne = p$
|
|
1925
|
-
const be = ne === p$
|
|
1924
|
+
for (; fe < ce.length && (ne.lastIndex = fe, he = ne.exec(ce), he !== null); ) fe = ne.lastIndex, ne === f$r ? he[1] === "!--" ? ne = _$i : he[1] !== void 0 ? ne = m$h : he[2] !== void 0 ? (y$f.test(he[2]) && (re = RegExp("</" + he[2], "g")), ne = p$g) : he[3] !== void 0 && (ne = p$g) : ne === p$g ? he[0] === ">" ? (ne = re ?? f$r, pe = -1) : he[1] === void 0 ? pe = -2 : (pe = ne.lastIndex - he[2].length, ue = he[1], ne = he[3] === void 0 ? p$g : he[3] === '"' ? $$f : g$m) : ne === $$f || ne === g$m ? ne = p$g : ne === _$i || ne === m$h ? ne = f$r : (ne = p$g, re = void 0);
|
|
1925
|
+
const be = ne === p$g && J[de + 1].startsWith("/>") ? " " : "";
|
|
1926
1926
|
oe += ne === f$r ? ce + h$s : pe >= 0 ? (te.push(ue), ce.slice(0, pe) + o$_ + ce.slice(pe) + n$I + be) : ce + n$I + (pe === -2 ? (te.push(void 0), de) : be);
|
|
1927
1927
|
}
|
|
1928
1928
|
return [P$2(J, oe + (J[X] || "<?>") + (W === 2 ? "</svg>" : "")), te];
|
|
@@ -2027,7 +2027,7 @@ let M$7 = class {
|
|
|
2027
2027
|
return this._$AB;
|
|
2028
2028
|
}
|
|
2029
2029
|
_$AI(W, X = this) {
|
|
2030
|
-
W = S$f(this, W, X), d$q(W) ? W === A$1 || W == null || W === "" ? (this._$AH !== A$1 && this._$AR(), this._$AH = A$1) : W !== this._$AH && W !== T$7 && this._(W) : W._$litType$ !== void 0 ? this.g(W) : W.nodeType !== void 0 ? this.$(W) : v$
|
|
2030
|
+
W = S$f(this, W, X), d$q(W) ? W === A$1 || W == null || W === "" ? (this._$AH !== A$1 && this._$AR(), this._$AH = A$1) : W !== this._$AH && W !== T$7 && this._(W) : W._$litType$ !== void 0 ? this.g(W) : W.nodeType !== void 0 ? this.$(W) : v$k(W) ? this.T(W) : this._(W);
|
|
2031
2031
|
}
|
|
2032
2032
|
k(W) {
|
|
2033
2033
|
return this._$AA.parentNode.insertBefore(W, this._$AB);
|
|
@@ -2288,7 +2288,7 @@ const u$y = (J) => (W) => pipe(prop(W.key), isNil)(J), q$3 = (J) => (W) => !u$y(
|
|
|
2288
2288
|
}
|
|
2289
2289
|
return te;
|
|
2290
2290
|
});
|
|
2291
|
-
p$
|
|
2291
|
+
p$i.registerDefaultAdapterFactory(f$u);
|
|
2292
2292
|
/**
|
|
2293
2293
|
* @license
|
|
2294
2294
|
* Copyright 2017 Google LLC
|
|
@@ -2376,7 +2376,7 @@ const r$L = (J) => new n$E(typeof J == "string" ? J : J + "", void 0, s$B), i$H
|
|
|
2376
2376
|
* Copyright 2017 Google LLC
|
|
2377
2377
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2378
2378
|
*/
|
|
2379
|
-
const { is: i$G, defineProperty: e$O, getOwnPropertyDescriptor: r$K, getOwnPropertyNames: h$r, getOwnPropertySymbols: o$X, getPrototypeOf: n$D } = Object, a$r = globalThis, c$l = a$r.trustedTypes, l$x = c$l ? c$l.emptyScript : "", p$
|
|
2379
|
+
const { is: i$G, defineProperty: e$O, getOwnPropertyDescriptor: r$K, getOwnPropertyNames: h$r, getOwnPropertySymbols: o$X, getPrototypeOf: n$D } = Object, a$r = globalThis, c$l = a$r.trustedTypes, l$x = c$l ? c$l.emptyScript : "", p$f = a$r.reactiveElementPolyfillSupport, d$o = (J, W) => J, u$x = { toAttribute(J, W) {
|
|
2380
2380
|
switch (W) {
|
|
2381
2381
|
case Boolean:
|
|
2382
2382
|
J = J ? l$x : null;
|
|
@@ -2583,13 +2583,13 @@ let b$o = class extends HTMLElement {
|
|
|
2583
2583
|
firstUpdated(W) {
|
|
2584
2584
|
}
|
|
2585
2585
|
};
|
|
2586
|
-
b$o.elementStyles = [], b$o.shadowRootOptions = { mode: "open" }, b$o[d$o("elementProperties")] = /* @__PURE__ */ new Map(), b$o[d$o("finalized")] = /* @__PURE__ */ new Map(), p$
|
|
2586
|
+
b$o.elementStyles = [], b$o.shadowRootOptions = { mode: "open" }, b$o[d$o("elementProperties")] = /* @__PURE__ */ new Map(), b$o[d$o("finalized")] = /* @__PURE__ */ new Map(), p$f?.({ ReactiveElement: b$o }), (a$r.reactiveElementVersions ??= []).push("2.0.4");
|
|
2587
2587
|
/**
|
|
2588
2588
|
* @license
|
|
2589
2589
|
* Copyright 2017 Google LLC
|
|
2590
2590
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2591
2591
|
*/
|
|
2592
|
-
const n$C = globalThis, c$k = n$C.trustedTypes, h$q = c$k ? c$k.createPolicy("lit-html", { createHTML: (J) => J }) : void 0, f$p = "$lit$", v$
|
|
2592
|
+
const n$C = globalThis, c$k = n$C.trustedTypes, h$q = c$k ? c$k.createPolicy("lit-html", { createHTML: (J) => J }) : void 0, f$p = "$lit$", v$j = `lit$${Math.random().toFixed(9).slice(2)}$`, m$g = "?" + v$j, _$h = `<${m$g}>`, w$5 = document, lt$1 = () => w$5.createComment(""), st = (J) => J === null || typeof J != "object" && typeof J != "function", g$l = Array.isArray, $$e = (J) => g$l(J) || typeof J?.[Symbol.iterator] == "function", x$g = `[
|
|
2593
2593
|
\f\r]`, T$4 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, E$7 = /-->/g, k$9 = />/g, O$2 = RegExp(`>|${x$g}(?:([^\\s"'>=/]+)(${x$g}*=${x$g}*(?:[^
|
|
2594
2594
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), S$d = /'/g, j$2 = /"/g, M$6 = /^(?:script|style|textarea|title)$/i, P$1 = (J) => (W, ...X) => ({ _$litType$: J, strings: W, values: X }), ke$1 = P$1(1), R$3 = Symbol.for("lit-noChange"), D$7 = Symbol.for("lit-nothing"), V$1 = /* @__PURE__ */ new WeakMap(), I$1 = w$5.createTreeWalker(w$5, 129);
|
|
2595
2595
|
function N$1(J, W) {
|
|
@@ -2604,7 +2604,7 @@ const U = (J, W) => {
|
|
|
2604
2604
|
let ue, he, pe = -1, fe = 0;
|
|
2605
2605
|
for (; fe < ce.length && (ne.lastIndex = fe, he = ne.exec(ce), he !== null); ) fe = ne.lastIndex, ne === T$4 ? he[1] === "!--" ? ne = E$7 : he[1] !== void 0 ? ne = k$9 : he[2] !== void 0 ? (M$6.test(he[2]) && (re = RegExp("</" + he[2], "g")), ne = O$2) : he[3] !== void 0 && (ne = O$2) : ne === O$2 ? he[0] === ">" ? (ne = re ?? T$4, pe = -1) : he[1] === void 0 ? pe = -2 : (pe = ne.lastIndex - he[2].length, ue = he[1], ne = he[3] === void 0 ? O$2 : he[3] === '"' ? j$2 : S$d) : ne === j$2 || ne === S$d ? ne = O$2 : ne === E$7 || ne === k$9 ? ne = T$4 : (ne = O$2, re = void 0);
|
|
2606
2606
|
const be = ne === O$2 && J[de + 1].startsWith("/>") ? " " : "";
|
|
2607
|
-
oe += ne === T$4 ? ce + _$h : pe >= 0 ? (te.push(ue), ce.slice(0, pe) + f$p + ce.slice(pe) + v$
|
|
2607
|
+
oe += ne === T$4 ? ce + _$h : pe >= 0 ? (te.push(ue), ce.slice(0, pe) + f$p + ce.slice(pe) + v$j + be) : ce + v$j + (pe === -2 ? de : be);
|
|
2608
2608
|
}
|
|
2609
2609
|
return [N$1(J, oe + (J[X] || "<?>") + (W === 2 ? "</svg>" : W === 3 ? "</math>" : "")), te];
|
|
2610
2610
|
};
|
|
@@ -2621,11 +2621,11 @@ let B$4 = class ki {
|
|
|
2621
2621
|
for (; (re = I$1.nextNode()) !== null && ce.length < de; ) {
|
|
2622
2622
|
if (re.nodeType === 1) {
|
|
2623
2623
|
if (re.hasAttributes()) for (const pe of re.getAttributeNames()) if (pe.endsWith(f$p)) {
|
|
2624
|
-
const fe = he[ne++], be = re.getAttribute(pe).split(v$
|
|
2624
|
+
const fe = he[ne++], be = re.getAttribute(pe).split(v$j), me = /([.?@])?(.*)/.exec(fe);
|
|
2625
2625
|
ce.push({ type: 1, index: oe, name: me[2], strings: be, ctor: me[1] === "." ? Y : me[1] === "?" ? Z : me[1] === "@" ? q$2 : G$1 }), re.removeAttribute(pe);
|
|
2626
|
-
} else pe.startsWith(v$
|
|
2626
|
+
} else pe.startsWith(v$j) && (ce.push({ type: 6, index: oe }), re.removeAttribute(pe));
|
|
2627
2627
|
if (M$6.test(re.tagName)) {
|
|
2628
|
-
const pe = re.textContent.split(v$
|
|
2628
|
+
const pe = re.textContent.split(v$j), fe = pe.length - 1;
|
|
2629
2629
|
if (fe > 0) {
|
|
2630
2630
|
re.textContent = c$k ? c$k.emptyScript : "";
|
|
2631
2631
|
for (let be = 0; be < fe; be++) re.append(pe[be], lt$1()), I$1.nextNode(), ce.push({ type: 2, index: ++oe });
|
|
@@ -2635,7 +2635,7 @@ let B$4 = class ki {
|
|
|
2635
2635
|
} else if (re.nodeType === 8) if (re.data === m$g) ce.push({ type: 2, index: oe });
|
|
2636
2636
|
else {
|
|
2637
2637
|
let pe = -1;
|
|
2638
|
-
for (; (pe = re.data.indexOf(v$
|
|
2638
|
+
for (; (pe = re.data.indexOf(v$j, pe + 1)) !== -1; ) ce.push({ type: 7, index: oe }), pe += v$j.length - 1;
|
|
2639
2639
|
}
|
|
2640
2640
|
oe++;
|
|
2641
2641
|
}
|
|
@@ -2925,7 +2925,7 @@ function o$V(J) {
|
|
|
2925
2925
|
} });
|
|
2926
2926
|
};
|
|
2927
2927
|
}
|
|
2928
|
-
const
|
|
2928
|
+
const d$n = (J) => j$3(J, p$i);
|
|
2929
2929
|
let a$q = class {
|
|
2930
2930
|
constructor() {
|
|
2931
2931
|
this.viewsByRegion = {}, this.regions = {};
|
|
@@ -3006,9 +3006,9 @@ let a$q = class {
|
|
|
3006
3006
|
return super.destroy(), this._viewRegistry.destroy(), this;
|
|
3007
3007
|
}
|
|
3008
3008
|
};
|
|
3009
|
-
const d
|
|
3009
|
+
const y$d = (J) => new h$o(J), l$w = (J) => J.importer(), c$j = async (J, W, X) => {
|
|
3010
3010
|
try {
|
|
3011
|
-
const te = await
|
|
3011
|
+
const te = await l$w(J);
|
|
3012
3012
|
console.debug("imported plugin: ", J.pluginId);
|
|
3013
3013
|
const re = W(J);
|
|
3014
3014
|
return await X(re, te), console.debug("initialized plugin: ", J.pluginId), {
|
|
@@ -3017,14 +3017,14 @@ const d$n = (J) => new h$o(J), c$j = (J) => J.importer(), l$w = async (J, W, X)
|
|
|
3017
3017
|
apiInstance: re
|
|
3018
3018
|
};
|
|
3019
3019
|
} catch (te) {
|
|
3020
|
-
console.error(te);
|
|
3020
|
+
console.error(`Failed to load plugin ${J.pluginId}:`, te);
|
|
3021
3021
|
}
|
|
3022
3022
|
}, u$w = async (J, W) => {
|
|
3023
3023
|
await W.initialize(J);
|
|
3024
|
-
}, w$4 = (J, W) => W.dispose(J),
|
|
3024
|
+
}, w$4 = (J, W) => W.dispose(J), p$e = async (J, W) => {
|
|
3025
3025
|
if (!J?.length) throw new Error("No plugins to bootstrap");
|
|
3026
3026
|
return (await Promise.allSettled(
|
|
3027
|
-
J.map((X) =>
|
|
3027
|
+
J.map((X) => c$j(X, W, u$w))
|
|
3028
3028
|
)).map(
|
|
3029
3029
|
(X) => X.status === "fulfilled" ? X.value : null
|
|
3030
3030
|
);
|
|
@@ -9787,7 +9787,7 @@ class ImportDataManagerImpl {
|
|
|
9787
9787
|
async import(W) {
|
|
9788
9788
|
this.currentImporterId = W, this.selectedItems = {}, this.pluginTexts = {};
|
|
9789
9789
|
try {
|
|
9790
|
-
const { ImportDataManagerModal: X } = await import("./component-
|
|
9790
|
+
const { ImportDataManagerModal: X } = await import("./component-OjDyol8O.js"), { confirmed: te } = await this.interactionService.confirm(
|
|
9791
9791
|
void 0,
|
|
9792
9792
|
{ component: X },
|
|
9793
9793
|
{
|
|
@@ -9845,7 +9845,7 @@ class PrimariaContextManagerImpl {
|
|
|
9845
9845
|
}
|
|
9846
9846
|
}
|
|
9847
9847
|
let contextManager$1;
|
|
9848
|
-
const createContextManager = () => contextManager$1 || (contextManager$1 = new PrimariaContextManagerImpl(), contextManager$1), broker$1 = createBroker(), regionManager = d
|
|
9848
|
+
const createContextManager = () => contextManager$1 || (contextManager$1 = new PrimariaContextManagerImpl(), contextManager$1), broker$1 = createBroker(), regionManager = y$d("primaria"), PrimariaRegionHost = d$n(regionManager), tokenManager = createTokenManager(), userManager = createUserManager(tokenManager), globalStateManager = createGlobalStateManager(broker$1), contextManager = createContextManager(), pluginBusyManager = new PluginBusyManagerImpl(), quickActionBusyManager = new QuickActionBusyManagerImpl(broker$1), interactionService = new ParimariaInteractionServiceImpl(), notificationService = new PrimariaNotificationServiceImpl(), ecapEventManager = createEcapEventManager(), pdfViewerManager = createPdfViewerManager(broker$1, notificationService), importDataManager = new ImportDataManagerImpl(interactionService), primariaApiFactory = (J) => {
|
|
9849
9849
|
const W = createRegionManagerProxy(J, regionManager, broker$1);
|
|
9850
9850
|
return {
|
|
9851
9851
|
pluginInfo: J,
|
|
@@ -16242,7 +16242,7 @@ const internalPlugins = [
|
|
|
16242
16242
|
}
|
|
16243
16243
|
], bootstrapPlugins = async (J, W) => {
|
|
16244
16244
|
const X = internalPlugins.concat(J || []);
|
|
16245
|
-
bootstrappedPlugins = await
|
|
16245
|
+
bootstrappedPlugins = await p$e(X, primariaApiFactory), setTimeout(() => {
|
|
16246
16246
|
handleStartupPlugin(bootstrappedPlugins, W);
|
|
16247
16247
|
}, 500);
|
|
16248
16248
|
}, handleStartupPlugin = (J, W) => {
|
|
@@ -48863,7 +48863,7 @@ const commonNavMenuItems = [
|
|
|
48863
48863
|
}, useInternalViews = () => {
|
|
48864
48864
|
registerMainViews(), shellApi.userManager.isUserRoleAdministrative() ? registerAdministrativeNavMenuViews() : (registerDoctorNavMenuViews(), registerDoctorQuickActionViews());
|
|
48865
48865
|
}, useUI = () => {
|
|
48866
|
-
p$
|
|
48866
|
+
p$i.registerAdapterFactory(
|
|
48867
48867
|
"primaria-content-switcher",
|
|
48868
48868
|
d$t
|
|
48869
48869
|
), useSharedUI(), useComponents(), useInternalViews();
|
|
@@ -48925,4 +48925,4 @@ export {
|
|
|
48925
48925
|
l as x,
|
|
48926
48926
|
PrimariaInteractionService as y
|
|
48927
48927
|
};
|
|
48928
|
-
//# sourceMappingURL=index-
|
|
48928
|
+
//# sourceMappingURL=index-uA2lHdFS.js.map
|