dochub-sdk 0.1.176 → 0.1.177

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.
@@ -7,7 +7,7 @@ import type { IDocHubEditableComponent, IDocHubPresentationProfile, IDocHubPrese
7
7
 
8
8
  import ajv from 'ajv';
9
9
  import ajv_localize from 'ajv-i18n/localize/ru';
10
- import mustache from 'mustache';
10
+
11
11
 
12
12
  //********************************************
13
13
  // !!!!!!! followURI не задается !!!!!
@@ -160,7 +160,7 @@ export class DocHubDocumentProto extends DocHubComponentProto implements IDocHub
160
160
  }
161
161
  // Транслируем по шаблону
162
162
  if (template) {
163
- result = mustache.render(template.toString(), result);
163
+ result = DocHub.tools.mustache.render(template.toString(), result);
164
164
  }
165
165
  // Вызываем метод обработки полученного контента, если это требуется
166
166
  (template || (this.getType() === DocHubDocumentType.content)) && this.processingContent(result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.176",
3
+ "version": "0.1.177",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",
@@ -25,7 +25,6 @@
25
25
  "dependencies": {
26
26
  "ajv": "8.17.1",
27
27
  "ajv-i18n": "4.2.0",
28
- "axios": "0.21.4",
29
- "mustache": "4.2.0"
28
+ "axios": "0.21.4"
30
29
  }
31
30
  }