@smartsoft001/models 1.1.82 → 1.1.84
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartsoft001/models",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.84",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@angular/common": "16.1.3",
|
|
6
6
|
"@angular/core": "16.1.3",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"rxjs": "7.8.1"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@smartsoft001/utils": "1.1.
|
|
15
|
+
"@smartsoft001/utils": "1.1.84",
|
|
16
16
|
"util": "0.12.5",
|
|
17
17
|
"tslib": "2.5.3"
|
|
18
18
|
},
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FieldDecorator = exports.Field = void 0;
|
|
4
4
|
require("reflect-metadata");
|
|
5
|
+
const utils_1 = require("@smartsoft001/utils");
|
|
5
6
|
const symbols = require("../../symbols");
|
|
6
7
|
const interfaces_1 = require("../../interfaces");
|
|
7
|
-
const utils_1 = require("@smartsoft001/utils");
|
|
8
8
|
exports.Field = FieldDecorator;
|
|
9
9
|
function FieldDecorator(options) {
|
|
10
10
|
return (target, key) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.decorator.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/models/src/lib/decorators/field/field.decorator.ts"],"names":[],"mappings":";;;AAAA,4BAA0B;AAE1B,yCAAyC;AACzC,iDAA0D;
|
|
1
|
+
{"version":3,"file":"field.decorator.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/models/src/lib/decorators/field/field.decorator.ts"],"names":[],"mappings":";;;AAAA,4BAA0B;AAE1B,+CAAkD;AAElD,yCA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K,sBAAS,CAAC,KAAK,IAAI,CAAC,CAAC,CAAC;wBACrD,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAa,CAAC,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;wBAC5D,CAAC,CAAC,qBAAa,CAAC,YAAY,CAAC,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;gBAC3D,CAAC;gBACD,UAAU,EAAE,IAAI;gBAChB,YAAY,EAAE,IAAI;aACrB,CAAC,CAAC;YAEH,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE;gBACrC,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC;aAC3C;YAED,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;SAClD;QAED,OAAO,CAAC,cAAc,CAAC,OAAO,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;IACvE,CAAC,CAAA;AACL,CAAC;AA9CD,wCA8CC"}
|
package/src/lib/interfaces.js
CHANGED
|
@@ -1,38 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FieldType = void 0;
|
|
4
|
-
var FieldType;
|
|
5
|
-
(function (FieldType) {
|
|
6
|
-
FieldType["address"] = "address";
|
|
7
|
-
FieldType["currency"] = "currency";
|
|
8
|
-
FieldType["date"] = "date";
|
|
9
|
-
FieldType["dateTime"] = "dateTime";
|
|
10
|
-
FieldType["dateWithEdit"] = "dateWithEdit";
|
|
11
|
-
FieldType["email"] = "email";
|
|
12
|
-
FieldType["enum"] = "enum";
|
|
13
|
-
FieldType["file"] = "file";
|
|
14
|
-
FieldType["flag"] = "flag";
|
|
15
|
-
FieldType["int"] = "int";
|
|
16
|
-
FieldType["nip"] = "nip";
|
|
17
|
-
FieldType["object"] = "object";
|
|
18
|
-
FieldType["array"] = "array";
|
|
19
|
-
FieldType["password"] = "password";
|
|
20
|
-
FieldType["radio"] = "radio";
|
|
21
|
-
FieldType["text"] = "text";
|
|
22
|
-
FieldType["strings"] = "strings";
|
|
23
|
-
FieldType["ints"] = "ints";
|
|
24
|
-
FieldType["longText"] = "longText";
|
|
25
|
-
FieldType["color"] = "color";
|
|
26
|
-
FieldType["logo"] = "logo";
|
|
27
|
-
FieldType["check"] = "check";
|
|
28
|
-
FieldType["phoneNumber"] = "phoneNumber";
|
|
29
|
-
FieldType["phoneNumberPl"] = "phoneNumberPl";
|
|
30
|
-
FieldType["pesel"] = "pesel";
|
|
31
|
-
FieldType["pdf"] = "pdf";
|
|
32
|
-
FieldType["video"] = "video";
|
|
33
|
-
FieldType["attachment"] = "attachment";
|
|
34
|
-
FieldType["dateRange"] = "dateRange";
|
|
35
|
-
FieldType["image"] = "image";
|
|
36
|
-
FieldType["float"] = "float";
|
|
37
|
-
})(FieldType || (exports.FieldType = FieldType = {}));
|
|
38
3
|
//# sourceMappingURL=interfaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../libs/shared/models/src/lib/interfaces.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../libs/shared/models/src/lib/interfaces.ts"],"names":[],"mappings":""}
|