eservices-back-core 2.1.79 → 2.1.80
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/dtos/dto-print-form.d.ts +3 -0
- package/dist/dtos/dto-print-form.d.ts.map +1 -0
- package/dist/dtos/dto-print-form.js +7 -0
- package/dist/dtos/dto-print-form.js.map +1 -0
- package/dist/store/print-form-store.d.ts.map +1 -1
- package/dist/store/print-form-store.js +5 -1
- package/dist/store/print-form-store.js.map +1 -1
- package/dist/types/print-form-type.d.ts +8 -0
- package/dist/types/print-form-type.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dto-print-form.d.ts","sourceRoot":"","sources":["../../src/dtos/dto-print-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAEhE,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,IAAI,EAAE,sBAAsB,GAAG,sBAAsB,CAMzF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
function dtoPrintForm(data) {
|
|
4
|
+
return Object.assign(Object.assign({}, data), { label: data.label || data.templateName });
|
|
5
|
+
}
|
|
6
|
+
exports.default = dtoPrintForm;
|
|
7
|
+
//# sourceMappingURL=dto-print-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dto-print-form.js","sourceRoot":"","sources":["../../src/dtos/dto-print-form.ts"],"names":[],"mappings":";;AAEA,SAAwB,YAAY,CAAC,IAA4B;IAE7D,uCACO,IAAI,KACP,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,YAAY,IACzC;AACL,CAAC;AAND,+BAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-form-store.d.ts","sourceRoot":"","sources":["../../src/store/print-form-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;;;
|
|
1
|
+
{"version":3,"file":"print-form-store.d.ts","sourceRoot":"","sources":["../../src/store/print-form-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;;;iBAO3C,sBAAsB,EAAE;;AAH7C,wBAeI"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const dto_print_form_1 = __importDefault(require("../dtos/dto-print-form"));
|
|
3
7
|
exports.default = (function PrintFormStore() {
|
|
4
8
|
let state = [];
|
|
5
9
|
function set(array) {
|
|
6
|
-
state = array;
|
|
10
|
+
state = array.map(dto_print_form_1.default);
|
|
7
11
|
}
|
|
8
12
|
function get() {
|
|
9
13
|
return state;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-form-store.js","sourceRoot":"","sources":["../../src/store/print-form-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"print-form-store.js","sourceRoot":"","sources":["../../src/store/print-form-store.ts"],"names":[],"mappings":";;;;;AACA,4EAAkD;AAGlD,kBAAe,CAAC,SAAS,cAAc;IACtC,IAAI,KAAK,GAA6B,EAAE,CAAA;IAExC,SAAS,GAAG,CAAC,KAA+B;QAC3C,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,wBAAY,CAAC,CAAC;IACjC,CAAC;IACD,SAAS,GAAG;QACX,OAAO,KAAK,CAAC;IACd,CAAC;IAGD,OAAO;QACN,GAAG;QACH,GAAG;KACH,CAAA;AACF,CAAC,CAAC,EAAE,CAAA"}
|
|
@@ -7,6 +7,14 @@ export interface ITemplateConfiguration {
|
|
|
7
7
|
* @description Название template
|
|
8
8
|
*/
|
|
9
9
|
templateName: string;
|
|
10
|
+
/**
|
|
11
|
+
* @description Тип цели для которой показываются печатные формы
|
|
12
|
+
*/
|
|
13
|
+
templateTarget: "form" | "list";
|
|
14
|
+
/**
|
|
15
|
+
* @description Заголовок/view-метка, которая будет отображаться на frontend.
|
|
16
|
+
*/
|
|
17
|
+
label?: string;
|
|
10
18
|
[k: string]: unknown;
|
|
11
19
|
}
|
|
12
20
|
//# sourceMappingURL=print-form-type.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print-form-type.d.ts","sourceRoot":"","sources":["../../src/types/print-form-type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACpB"}
|
|
1
|
+
{"version":3,"file":"print-form-type.d.ts","sourceRoot":"","sources":["../../src/types/print-form-type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACpB"}
|