@aitmed/aitmed-document-template 1.83.0 → 1.85.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.
@@ -1,6 +1,7 @@
1
1
  declare enum aitmedTemplateRole {
2
2
  provider = "provider",
3
3
  patient = "patient",
4
- attorney = "attorney"
4
+ attorney = "attorney",
5
+ facility = "facility"
5
6
  }
6
7
  export default aitmedTemplateRole;
@@ -0,0 +1,13 @@
1
+ declare const textSharpSplitChar = "|-|";
2
+ declare const textSharpRegStr = "#[\\w*]+\\|\\-\\|((?!\\|\\-\\|).)+\\|\\-\\|((?!\\|\\-\\|).)+\\|\\-\\|";
3
+ declare const textSharpGetReg: RegExp;
4
+ declare const textSharpSplitRegG: RegExp;
5
+ declare const textSharpSplitReg: RegExp;
6
+ declare const textSharpReg: RegExp;
7
+ declare const choiceSharpReg: RegExp;
8
+ declare const choiceSharpRegStr = "#[\\w *\\&]+\\|\\-\\|((?!\\|\\-\\|).)+\\|\\-\\|";
9
+ declare const choiceSharpGetReg: RegExp;
10
+ declare const choiceArrayStr = "\\|\\-\\|(((?!\\|\\-\\|).)*\\|\\-\\|[a-z]*\\|\\-\\|)+";
11
+ declare const choiceArrayStrReg: RegExp;
12
+ declare const doubleSplit: RegExp;
13
+ export { textSharpSplitChar, textSharpRegStr, textSharpGetReg, textSharpSplitRegG, textSharpSplitReg, textSharpReg, choiceSharpReg, choiceSharpRegStr, choiceSharpGetReg, choiceArrayStr, choiceArrayStrReg, doubleSplit, };
@@ -1,5 +1,16 @@
1
- declare const getBase64ByBaseData: ({ type, data }: {
1
+ declare const getBase64ByBaseData: ({ type, data, }: {
2
2
  type: string;
3
3
  data: string;
4
4
  }) => string;
5
- export { getBase64ByBaseData };
5
+ declare const parseDocumentTemplateData: ({ json }: {
6
+ json: Object;
7
+ }) => {
8
+ data: {
9
+ DataAndTime: {
10
+ flag: string;
11
+ value: string;
12
+ };
13
+ };
14
+ required: never[];
15
+ };
16
+ export { getBase64ByBaseData, parseDocumentTemplateData };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aitmed/aitmed-document-template",
3
- "version": "1.83.0",
3
+ "version": "1.85.0",
4
4
  "main": "./dist/my-component-library.umd.js",
5
5
  "module": "./dist/my-component-library.es.js",
6
6
  "types": "./dist/index.d.ts",