New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uxland-admin/ps-medication-plan

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uxland-admin/ps-medication-plan - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

components/ip-ps-mp/ip-ps-mp-maximized-styles.js

2

components/ip-ps-mp-item/ip-ps-mp-item-styles.js
import { html } from '@polymer/lit-element';
export default html `<style>mwc-fab{--mdc-theme-secondary: #26c5da}mwc-button{--mdc-theme-primary: #26c5da}mwc-checkbox{--mdc-theme-secondary: #26c5da}#app-container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;flex:1;height:100vh}.medication{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;margin-bottom:12px}medication-content{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}medication-info{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}medication-name{font-size:1rem;font-weight:700;color:#37464D}medication-date{font-size:.9286rem;font-weight:600;color:#37464D}medication-dosage{font-size:1rem;font-weight:400;color:#37464D}iron-icon{margin-right:12px;color:#90A4AE;width:16px;height:16px}.chronic{color:#FF5252;margin-left:4px}
export default html `<style>mwc-fab{--mdc-theme-secondary: #00bcd4}mwc-button{--mdc-theme-primary: #26c5da}mwc-checkbox{--mdc-theme-secondary: #26c5da}#app-container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;flex:1;height:100vh}.medication{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;margin-bottom:12px}medication-content{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}medication-info{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}medication-name{font-size:1rem;font-weight:700;color:#37464D}medication-date{font-size:.9286rem;font-weight:500;color:#37464D}medication-dosage{font-size:1rem;font-weight:400;color:#37464D;line-height:1.143rem;text-transform:lowercase}iron-icon{margin-right:12px;color:#90A4AE;width:16px;height:16px}.chronic{color:#FF5252;margin-left:4px}
</style>`;
import { html } from '@polymer/lit-element';
export default html `<style>mwc-fab{--mdc-theme-secondary: #26c5da}mwc-button{--mdc-theme-primary: #26c5da}mwc-checkbox{--mdc-theme-secondary: #26c5da}#app-container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;flex:1;height:100vh}#container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-align:center;-webkit-align-items:center;align-items:center}mwc-checkbox{padding-right:12px}.label{color:#50666a;font-weight:500}
export default html `<style>mwc-fab{--mdc-theme-secondary: #00bcd4}mwc-button{--mdc-theme-primary: #26c5da}mwc-checkbox{--mdc-theme-secondary: #26c5da}#app-container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;flex:1;height:100vh}#container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-align:center;-webkit-align-items:center;align-items:center}mwc-checkbox{padding-right:12px}.label{color:#50666a;font-weight:500}
</style>`;
import * as tslib_1 from "tslib";
import { html, LitElement } from '@polymer/lit-element/lit-element';
import { property, customElement } from "@uxland/uxl-polymer2-ts";
import CSS from './ip-ps-mp-styles';
import CSS from './ip-ps-mp-maximized-styles';
import { template as TEMPLATE } from './ip-ps-mp-template-maximized.js';
import { fetchMedicationPlan } from "../../app/medication-plan-list/fetch-medication-plan";
import { chronicMedicationCount, isFetchingMedicationSelector, medicationPlanView } from "../../app/medication-plan-list/medication-plan-view";

@@ -11,8 +10,2 @@ import { RegionView } from "@uxland/uxl-regions/region-view";

let IpPsMpMaximized = class IpPsMpMaximized extends RegionView(Locale(LitElement)) {
activeChanged(current) {
current && fetchMedicationPlan();
}
get emptyData() {
return !this.isFetching && !this.items;
}
get showContent() {

@@ -19,0 +12,0 @@ return !this.isFetching && this.items && this.items.length > 0;

import { html } from '@polymer/lit-element';
export default html `<style>mwc-fab{--mdc-theme-secondary: #26c5da}mwc-button{--mdc-theme-primary: #26c5da}mwc-checkbox{--mdc-theme-secondary: #26c5da}#app-container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;flex:1;height:100vh}medication-widget{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex:1;-webkit-flex:1;flex:1}no-content-message{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-ms-flex-align:center;-webkit-align-items:center;align-items:center}medication-list{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}uxl-progress-indicator{--uxl-progress-indicator-background-color: white;--uxl-progress-indicator-color: #0288D1}medication-highlights{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-bottom:12px}.highlight{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;flex:0 30%;background-color:#0288d11a;padding:8px;margin-right:16px;border-radius:5px}.highlight-label{text-align:center;font-weight:300}.highlight-value{font-size:2.571rem;color:#01589d}.highlight-value.chronic{color:#FF5252}
export default html `<style>mwc-fab{--mdc-theme-secondary: #00bcd4}mwc-button{--mdc-theme-primary: #26c5da}mwc-checkbox{--mdc-theme-secondary: #26c5da}#app-container{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;flex:1;height:100vh}medication-widget{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-ms-flex:1;-webkit-flex:1;flex:1}no-content-message{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex:1;-webkit-flex:1;flex:1;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-ms-flex-align:center;-webkit-align-items:center;align-items:center}medication-list{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;max-height:calc(50vh - 11vh);overflow-y:auto}medication-list::-webkit-scrollbar-track{background-color:#fff}medication-list::-webkit-scrollbar{width:4px;background-color:#fff}medication-list::-webkit-scrollbar-thumb{background-color:#c7c7c7}uxl-progress-indicator{--uxl-progress-indicator-background-color: white;--uxl-progress-indicator-color: #0288D1}
</style>`;

@@ -9,2 +9,3 @@ import { html } from '@polymer/lit-element/lit-element';

<medication-widget>
${when(props.showContent, () => html `
<medication-highlights>

@@ -26,8 +27,9 @@ <div class="highlight">

<uxl-progress-indicator .active="${props.isFetching}" .text="${props.localize(`${moduleName}.busy`)}">
${when(props.showContent, () => html `${repeat(props.items, medicine => html `<ip-ps-mp-item .medicine="${medicine}"></ip-ps-mp-item>`)}`, () => html `<no-content-message>
<p class="empty">${props.localize(`${moduleName}.empty`)}</p>
</no-content-message>`)}
</uxl-progress-indicator>
</medication-list>
${repeat(props.items, medicine => html `<ip-ps-mp-item .medicine="${medicine}"></ip-ps-mp-item>`)}
</uxl-progress-indicator>
</medication-list>`, () => html `
<no-content-message>
<p class="empty">${props.localize(`${moduleName}.empty`)}</p>
</no-content-message>`)}
</medication-widget>`;
export const template = innerTemplate;

@@ -42,3 +42,3 @@ declare module '@uxland-admin/ps-medication-plan/constants' {

dosage: MedicationDosage;
chronic: boolean;
chronic: string;
}

@@ -92,3 +92,3 @@ export const FETCH_MEDICATION_PLAN: any;

}
declare module '@uxland-admin/ps-medication-plan/components/ip-ps-mp/ip-ps-mp-styles' {
declare module '@uxland-admin/ps-medication-plan/components/ip-ps-mp/ip-ps-mp-maximized-styles' {
const _default: import("lit-html/lib/template-result").TemplateResult;

@@ -131,7 +131,5 @@ export default _default;

export class IpPsMpMaximized extends IpPsMpMaximized_base {
activeChanged(current: boolean): void;
items: MedicationPlanItem[];
isFetching: boolean;
chronicMedicationCount: number;
readonly emptyData: boolean;
readonly showContent: boolean;

@@ -143,2 +141,7 @@ render(): import("lit-html/lib/template-result").TemplateResult;

}
declare module '@uxland-admin/ps-medication-plan/components/ip-ps-mp/ip-ps-mp-styles' {
const _default: import("lit-html/lib/template-result").TemplateResult;
export default _default;
}
declare module '@uxland-admin/ps-medication-plan/components/ip-ps-mp/ip-ps-mp-template' {

@@ -145,0 +148,0 @@ import { TemplateResult } from 'lit-html';

{
"name": "@uxland-admin/ps-medication-plan",
"description": "ICS Process - Patient Summary - Medication Plan",
"version": "1.0.13",
"version": "1.0.14",
"main": "index.js",

@@ -6,0 +6,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc