@uxland-admin/ip-patient-header
Advanced tools
Comparing version 1.1.10 to 2.0.0
@@ -1,3 +0,3 @@ | ||
import { html } from '@polymer/lit-element'; | ||
import { html } from 'lit-element'; | ||
export default html `<custom-style><style>#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}.patient-header-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;color:#fff}.username{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;padding-right:12px}.username div{margin-right:6px}.userData{font-weight:300;line-height:1rem;font-size:.8571rem;margin-left:6px;text-transform:uppercase;opacity:.67;white-space:nowrap}p{margin:0}.sanize{display:block;display:-webkit-box;height:calc(1rem*1.143rem*1);margin:0 auto;font-size:1rem;line-height:1.143rem;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-all;text-transform:capitalize} | ||
</style></custom-style>`; |
import * as tslib_1 from "tslib"; | ||
import { html, LitElement } from "@polymer/lit-element"; | ||
import { customElement, property } from "@uxland/uxl-polymer2-ts"; | ||
import { Locale } from '@uxland/uxl-prism/mixins/localization'; | ||
import { RegionView } from "@uxland/uxl-regions/region-view"; | ||
import { Locale } from '@uxland/uxl-prism/mixins/localization'; | ||
import { LitElement, html } from "@polymer/lit-element"; | ||
import { differenceInDays, differenceInMonths, differenceInYears } from 'date-fns'; | ||
import { fetchPatientHeader } from "../../app/patient-header/fetch-patient-header"; | ||
import { patientHeaderView } from "../../app/patient-header/patient-header-view"; | ||
import { differenceInYears, differenceInMonths, differenceInDays } from 'date-fns'; | ||
import CSS from "./ip-ph-styles"; | ||
import { moduleName } from "../../constants"; | ||
import * as styles from "./ip-ph-styles.scss"; | ||
import { template as TEMPLATE } from "./ip-ph-template"; | ||
import { moduleName } from "../../constants"; | ||
let IpPh = class IpPh extends RegionView(Locale(LitElement)) { | ||
@@ -17,3 +17,3 @@ activeChanged(current) { | ||
render() { | ||
return html `${CSS} ${TEMPLATE(this)}`; | ||
return html `<custom-style><style>${styles}</style></custom-style> ${TEMPLATE(this)}`; | ||
} | ||
@@ -20,0 +20,0 @@ computeRelativeTime() { |
@@ -80,7 +80,2 @@ declare module '@uxland-admin/ip-patient-header/constants' { | ||
} | ||
declare module '@uxland-admin/ip-patient-header/components/ip-ph/ip-ph-styles' { | ||
const _default: import("lit-html").TemplateResult; | ||
export default _default; | ||
} | ||
declare module '@uxland-admin/ip-patient-header/components/ip-ph/ip-ph-template' { | ||
@@ -109,1 +104,6 @@ import { TemplateResult } from 'lit-html'; | ||
} | ||
declare module '@uxland-admin/ip-patient-header/components/ip-ph/ip-ph-styles' { | ||
const _default: any; | ||
export default _default; | ||
} |
{ | ||
"name": "@uxland-admin/ip-patient-header", | ||
"description": "ICS Process - Patient Header", | ||
"version": "1.1.10", | ||
"version": "2.0.0", | ||
"main": "index.js", | ||
@@ -18,18 +18,44 @@ "repository": { | ||
"devDependencies": { | ||
"@babel/core": "^7.2.2", | ||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | ||
"@babel/plugin-syntax-object-rest-spread": "^7.2.0", | ||
"@babel/preset-env": "^7.2.3", | ||
"@types/chai": "^4.1.6", | ||
"@types/mocha": "^5.2.5", | ||
"@uxland-admin/ics-process": "^1.1.40", | ||
"@uxland-admin/ics-process": "^1.1.49", | ||
"@webcomponents/custom-elements": "^1.2.0", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"chai": "^4.2.0", | ||
"clean-webpack-plugin": "^1.0.0", | ||
"copy-webpack-plugin": "^4.6.0", | ||
"css-loader": "^1.0.1", | ||
"dts-generator": "^2.1.0", | ||
"ejs-loader": "0.3.1", | ||
"guid-typescript": "^1.0.9", | ||
"gulp": "^4.0.0", | ||
"gulp-run": "^1.7.1", | ||
"handlebars-loader": "^1.7.1", | ||
"html-webpack-exclude-assets-plugin": "0.0.7", | ||
"html-webpack-plugin": "^3.2.0", | ||
"mini-css-extract-plugin": "^0.5.0", | ||
"mocha": "^5.2.0", | ||
"node-sass": "^4.11.0", | ||
"require-dir": "^0.3.2", | ||
"rimraf": "^2.6.3", | ||
"typescript": "^3.1.6" | ||
"sass": "^1.16.1", | ||
"sass-loader": "^7.1.0", | ||
"script-ext-html-webpack-plugin": "^2.1.3", | ||
"style-loader": "^0.23.1", | ||
"text-loader": "0.0.1", | ||
"to-string-loader": "^1.1.5", | ||
"ts-loader": "^5.3.3", | ||
"typescript": "^3.1.6", | ||
"typings-for-css-modules-loader": "^1.7.0", | ||
"webpack": "4.28.4", | ||
"webpack-cli": "^3.2.1", | ||
"webpack-dev-server": "^3.1.14", | ||
"workbox-webpack-plugin": "^3.6.3" | ||
}, | ||
"scripts": { | ||
"deps:delete": "rimraf node_modules/ package-lock.json", | ||
"deps:delete": "npx rimraf node_modules/ package-lock.json", | ||
"deps:install": "npm install", | ||
@@ -47,4 +73,18 @@ "deps:refresh": "npm run deps:delete && npm run deps:install", | ||
"enable-sass-watcher": "sass-render ./src/**/*.scss -w --suffix .js -t node_modules/@uxland-admin/ics-process/src/ics-sass-template.js", | ||
"compile-sass": "sass-render ./src/**/*.scss --suffix .ts -t node_modules/@uxland-admin/ics-process/src/ics-sass-template.js" | ||
"compile-sass": "sass-render ./src/**/*.scss --suffix .ts -t node_modules/@uxland-admin/ics-process/src/ics-sass-template.js", | ||
"polymer:serve": "polymer serve", | ||
"webpack:build": "webpack --progress", | ||
"webpack:build:prod": "webpack --env.NODE_ENV=production --optimize-minimize --progress", | ||
"webpack:build:dev": "webpack-dev-server --hot --inline --progress", | ||
"delete:transpiledjs": "npx rimraf src/**/*.js src/**/*.js.map demo/index.js demo/index.js.map" | ||
}, | ||
"dependencies": { | ||
"@types/node": "^10.12.18" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"release": { | ||
"branch": "master" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
23798
16
462
1
39
+ Added@types/node@^10.12.18
+ Added@types/node@10.17.60(transitive)