@uxland/primary-shell 7.10.0 → 7.11.0
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-U4paEq5h.js → component-DnzxDlBH.js} +2 -2
- package/dist/{component-U4paEq5h.js.map → component-DnzxDlBH.js.map} +1 -1
- package/dist/{index-rzAClqiP.js → index-OmsP_dgZ.js} +14 -3
- package/dist/index-OmsP_dgZ.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/UI/internal-views/doctor-quick-action-menu.d.ts +1 -0
- package/package.json +1 -1
- package/src/UI/internal-views/doctor-quick-action-menu.ts +16 -0
- package/src/UI/internal-views/handle-views.ts +5 -3
- package/dist/index-rzAClqiP.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as d, k as c, P as p, h as m, r as g, i as v, s as f, a as u } from "./index-
|
|
1
|
+
import { t as d, k as c, P as p, h as m, r as g, i as v, s as f, a as u } from "./index-OmsP_dgZ.js";
|
|
2
2
|
const h = ".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)}", x = (t) => c`
|
|
3
3
|
<div class="container">
|
|
4
4
|
<!-- <div class="header">
|
|
@@ -44,4 +44,4 @@ i = l([
|
|
|
44
44
|
export {
|
|
45
45
|
i as ImportDataManagerModal
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=component-
|
|
47
|
+
//# sourceMappingURL=component-DnzxDlBH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-
|
|
1
|
+
{"version":3,"file":"component-DnzxDlBH.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","\nimport { 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 } from \"../../api\";\n\n@customElement(\"import-data-manager-modal\")\nexport class ImportDataManagerModal\n extends PrimariaRegionHost(LitElement) 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: \"import-data-region\" })\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","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;;;;;;ACTA,IAAMG,IAAN,cACGC,EAAmBC,CAAU,EACvC;AAAA,EAFO,cAAA;AAAA,UAAA,GAAA,SAAA,GAoBL,KAAA,UAAU,MAAM;AACd,WAAK,QAAA;AAAA,IACP;AAAA,EAAA;AAAA,EAVA,SAAS;AACP,WAAOJ,IAAOF,EAAS,IAAI,CAAC;AAAA,EAC9B;AASF;AAvBaI,EAgBJ,SAASG;AAAAA,MACZC,EAAUC,CAAM,CAAC;AAAA;AAPrBC,EAAA;AAAA,EADCC,EAAO,EAAE,UAAU,sBAAsB,MAAM,sBAAsB;AAAA,GAT3DP,EAUX,WAAA,oBAAA,CAAA;AAVWA,IAANM,EAAA;AAAA,EADNE,EAAc,2BAA2B;AAAA,GAC7BR,CAAA;"}
|
|
@@ -9681,7 +9681,7 @@ class ImportDataManagerImpl {
|
|
|
9681
9681
|
async import(J) {
|
|
9682
9682
|
this.currentImporterId = J, this.selectedItems = {}, this.pluginTexts = {};
|
|
9683
9683
|
try {
|
|
9684
|
-
const { ImportDataManagerModal: X } = await import("./component-
|
|
9684
|
+
const { ImportDataManagerModal: X } = await import("./component-DnzxDlBH.js"), { confirmed: re } = await this.interactionService.confirm(
|
|
9685
9685
|
void 0,
|
|
9686
9686
|
{ component: X },
|
|
9687
9687
|
{
|
|
@@ -45547,10 +45547,21 @@ const commonNavMenuItems = [
|
|
|
45547
45547
|
});
|
|
45548
45548
|
}, registerDoctorNavMenuViews = () => {
|
|
45549
45549
|
registerCommunicationNavMenu(), registerDoctorCommunicationMenuActions(), registerNavMenuViews(doctorNavMenuItems);
|
|
45550
|
+
}, registerDoctorQuickActionViews = () => {
|
|
45551
|
+
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.quickActions, {
|
|
45552
|
+
id: "dates",
|
|
45553
|
+
sortHint: "0001",
|
|
45554
|
+
factory: () => {
|
|
45555
|
+
const te = new QuickActionItem("", "Cita", () => {
|
|
45556
|
+
navigateToEcapWithoutClosingWithCip("CREAR_VISITA");
|
|
45557
|
+
});
|
|
45558
|
+
return Promise.resolve(te);
|
|
45559
|
+
}
|
|
45560
|
+
});
|
|
45550
45561
|
}, registerMainViews = () => {
|
|
45551
45562
|
registerPDFVisorMainView();
|
|
45552
45563
|
}, useInternalViews = () => {
|
|
45553
|
-
registerMainViews(), shellApi.userManager.isUserRoleAdministrative() ? registerAdministrativeNavMenuViews() : registerDoctorNavMenuViews();
|
|
45564
|
+
registerMainViews(), shellApi.userManager.isUserRoleAdministrative() ? registerAdministrativeNavMenuViews() : (registerDoctorNavMenuViews(), registerDoctorQuickActionViews());
|
|
45554
45565
|
}, useUI = () => {
|
|
45555
45566
|
p$g.registerAdapterFactory(
|
|
45556
45567
|
"primaria-content-switcher",
|
|
@@ -45612,4 +45623,4 @@ export {
|
|
|
45612
45623
|
h as v,
|
|
45613
45624
|
PrimariaInteractionService as w
|
|
45614
45625
|
};
|
|
45615
|
-
//# sourceMappingURL=index-
|
|
45626
|
+
//# sourceMappingURL=index-OmsP_dgZ.js.map
|