@uxland/primary-shell 7.38.3 → 7.38.5
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-CbmKzb7Q.js → component-BVxZwqoc.js} +2 -2
- package/dist/{component-CbmKzb7Q.js.map → component-BVxZwqoc.js.map} +1 -1
- package/dist/{index-C4OkWbYs.js → index-iNJRh1Zz.js} +20 -11
- package/dist/{index-C4OkWbYs.js.map → index-iNJRh1Zz.js.map} +1 -1
- package/dist/index.js +13 -12
- package/dist/index.umd.cjs +3 -3
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/api/broker/broker-events.d.ts +3 -0
- package/dist/primary/shell/src/api/region-manager/region-manager.d.ts +2 -1
- package/dist/primary/shell/src/api/region-manager/regions.d.ts +6 -1
- package/package.json +1 -1
- package/src/api/broker/broker-events.ts +3 -0
- package/src/api/region-manager/region-manager.ts +3 -1
- package/src/api/region-manager/regions.ts +7 -1
|
@@ -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-iNJRh1Zz.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-BVxZwqoc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-
|
|
1
|
+
{"version":3,"file":"component-BVxZwqoc.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;"}
|
|
@@ -3389,6 +3389,9 @@ const BROKER_EVENTS = {
|
|
|
3389
3389
|
quickActionBusyChanged: "quickActionBusyChanged",
|
|
3390
3390
|
scrollToNavItemRequested: "scrollToNavItemRequested",
|
|
3391
3391
|
scrollToNavItemCompleted: "scrollToNavItemCompleted"
|
|
3392
|
+
},
|
|
3393
|
+
administrativeManagement: {
|
|
3394
|
+
tabSelected: "administrative_management_tab_selected"
|
|
3392
3395
|
}
|
|
3393
3396
|
}, disposableFactory = (X) => ({
|
|
3394
3397
|
dispose: () => {
|
|
@@ -9550,13 +9553,18 @@ const shellRegions = {
|
|
|
9550
9553
|
content: "clinical-monitoring-content-widgets-region"
|
|
9551
9554
|
}, activityHistoryRegions = {
|
|
9552
9555
|
customFilters: "clinical-monitoring-activity-history-filters-region"
|
|
9556
|
+
}, administrativeManagementRegions = {
|
|
9557
|
+
widgets: "administrative-management-widgets-region",
|
|
9558
|
+
tabs: "administrative-management-tabs-region",
|
|
9559
|
+
detail: "administrative-management-detail-region"
|
|
9553
9560
|
};
|
|
9554
9561
|
class RegionManagerProxy {
|
|
9555
9562
|
constructor(W, J, te) {
|
|
9556
9563
|
this.pluginInfo = W, this.regionManager = J, this.broker = te, this.regions = {
|
|
9557
9564
|
shell: shellRegions,
|
|
9558
9565
|
clinicalMonitoring: clinicalMonitoringRegions,
|
|
9559
|
-
activityHistory: activityHistoryRegions
|
|
9566
|
+
activityHistory: activityHistoryRegions,
|
|
9567
|
+
administrativeManagement: administrativeManagementRegions
|
|
9560
9568
|
};
|
|
9561
9569
|
}
|
|
9562
9570
|
/**
|
|
@@ -9725,7 +9733,7 @@ class ImportDataManagerImpl {
|
|
|
9725
9733
|
async import(W) {
|
|
9726
9734
|
this.currentImporterId = W, this.selectedItems = {}, this.pluginTexts = {};
|
|
9727
9735
|
try {
|
|
9728
|
-
const { ImportDataManagerModal: J } = await import("./component-
|
|
9736
|
+
const { ImportDataManagerModal: J } = await import("./component-BVxZwqoc.js"), { confirmed: te } = await this.interactionService.confirm(
|
|
9729
9737
|
void 0,
|
|
9730
9738
|
{ component: J },
|
|
9731
9739
|
{
|
|
@@ -51932,6 +51940,7 @@ if (typeof document < "u") {
|
|
|
51932
51940
|
` + dssCSS, document.head.appendChild(X);
|
|
51933
51941
|
}
|
|
51934
51942
|
export {
|
|
51943
|
+
PrimariaInteractionService as A,
|
|
51935
51944
|
EcapEventManager as E,
|
|
51936
51945
|
PrimariaRegionHost as P,
|
|
51937
51946
|
QuickActionItem as Q,
|
|
@@ -51951,15 +51960,15 @@ export {
|
|
|
51951
51960
|
shellRegions as n,
|
|
51952
51961
|
clinicalMonitoringRegions as o,
|
|
51953
51962
|
activityHistoryRegions as p,
|
|
51954
|
-
|
|
51963
|
+
administrativeManagementRegions as q,
|
|
51955
51964
|
r$L as r,
|
|
51956
51965
|
s$L as s,
|
|
51957
51966
|
translate$1 as t,
|
|
51958
|
-
|
|
51959
|
-
|
|
51960
|
-
|
|
51961
|
-
|
|
51962
|
-
|
|
51963
|
-
|
|
51964
|
-
};
|
|
51965
|
-
//# sourceMappingURL=index-
|
|
51967
|
+
bootstrapPlugins as u,
|
|
51968
|
+
handleStartupPlugin as v,
|
|
51969
|
+
disposePlugins as w,
|
|
51970
|
+
primariaApiFactory as x,
|
|
51971
|
+
PrimariaContentSwitcher as y,
|
|
51972
|
+
l as z
|
|
51973
|
+
};
|
|
51974
|
+
//# sourceMappingURL=index-iNJRh1Zz.js.map
|