@crystaltech/hsms-shared-ui 0.7.28 → 0.8.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/components/queue/QueueDisplayAdmin.d.ts +16 -0
- package/dist/components/queue/QueueDisplayScreen.d.ts +21 -0
- package/dist/components/queue/QueueGuide.d.ts +15 -0
- package/dist/components/queue/QueueLineAdmin.d.ts +14 -0
- package/dist/components/queue/QueueManagement.d.ts +25 -0
- package/dist/components/queue/QueueOperatorPanel.d.ts +21 -0
- package/dist/components/queue/QueueReportsPanel.d.ts +6 -0
- package/dist/components/queue/RulePickers.d.ts +15 -0
- package/dist/components/queue/hospitalBrand.d.ts +17 -0
- package/dist/components/queue/hospitalInfo.d.ts +6 -0
- package/dist/components/queue/queueClient.d.ts +65 -0
- package/dist/components/queue/queueLogic.d.ts +63 -0
- package/dist/components/queue/queueVoice.d.ts +19 -0
- package/dist/components/queue/ruleOptions.d.ts +18 -0
- package/dist/components/queue/types.d.ts +213 -0
- package/dist/components/queue/useConfirm.d.ts +13 -0
- package/dist/components/queue/useQueueStream.d.ts +24 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.es.js +14775 -12693
- package/dist/index.js +102 -92
- package/dist/sw.js +1 -1
- package/dist/theme/fontFamily.d.ts +16 -0
- package/package.json +2 -1
package/dist/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let e,s={};const i=(i,r)=>(i=new URL(i+".js",r).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(r,n)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let
|
|
1
|
+
if(!self.define){let e,s={};const i=(i,r)=>(i=new URL(i+".js",r).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(r,n)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let f={};const t=e=>i(e,o),c={module:{uri:o},exports:f,require:t};s[o]=Promise.all(r.map(e=>c[e]||t(e))).then(e=>(n(...e),f))}}define(["./workbox-3105ea8d"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"preMountSplash.js",revision:"46986fe18311b1852bd4ebf684726bab"},{url:"preMountSplash.es.js",revision:"f363010fb7eaab98ab53522f58febacb"},{url:"index.js",revision:"3bf8738b71981c6f25cb846112cd868f"},{url:"index.es.js",revision:"cf98c31aa191c4bf425d1adb4aa0688a"},{url:"hsms-shared-ui.css",revision:"7f5aef0a9303b4cde437120fbb05ea5b"},{url:"Loader-D1FpX_bV.js",revision:"c37d04f117789f8752c3fc903951c281"},{url:"manifest.webmanifest",revision:"e6d4972ea70a2ecb105e17f18dad67f9"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const FONT_FALLBACK_CHAIN: string[];
|
|
2
|
+
/**
|
|
3
|
+
* The family (or comma-separated list) the theme names, followed by the
|
|
4
|
+
* sans-serif fallback chain. The chosen families always come first, so a list
|
|
5
|
+
* that deliberately ends in "serif" still gets serif; families already named
|
|
6
|
+
* are not repeated.
|
|
7
|
+
*/
|
|
8
|
+
export declare const withFontFallback: (fontFamily?: string | null) => string;
|
|
9
|
+
/**
|
|
10
|
+
* Typography options with the fallback chain on the base family and on any
|
|
11
|
+
* variant (h1, body2, button, ...) that names a family of its own. Pass the
|
|
12
|
+
* result as createTheme's *first* argument so every variant inherits it.
|
|
13
|
+
*/
|
|
14
|
+
export declare const withTypographyFontFallback: <T extends Record<string, any>>(typography: T) => T & {
|
|
15
|
+
fontFamily: string;
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaltech/hsms-shared-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"dev": "vite",
|
|
32
32
|
"build": "tsc && vite build && vite build -c vite.iife.config.ts",
|
|
33
33
|
"lint": "eslint .",
|
|
34
|
+
"test": "node --test 'test/*.test.ts'",
|
|
34
35
|
"prepare": "npm run build"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|