@smartsoft001/models 1.1.84 → 1.1.88

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.84",
3
+ "version": "1.1.88",
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.84",
15
+ "@smartsoft001/utils": "1.1.88",
16
16
  "util": "0.12.5",
17
17
  "tslib": "2.5.3"
18
18
  },
@@ -1,5 +1,5 @@
1
1
  import { Observable } from "rxjs";
2
- export declare enum FieldType {
2
+ export declare enum FieldTypeDef {
3
3
  address = "address",
4
4
  currency = "currency",
5
5
  date = "date",
@@ -32,12 +32,13 @@ export declare enum FieldType {
32
32
  image = "image",
33
33
  float = "float"
34
34
  }
35
+ export declare const FieldType: typeof FieldTypeDef;
35
36
  export interface ISpecification {
36
37
  criteria: any;
37
38
  }
38
39
  export interface IModelFilter {
39
40
  label?: string;
40
- fieldType?: FieldType;
41
+ fieldType?: FieldTypeDef;
41
42
  key: string;
42
43
  type: '=' | '!=' | '>=' | '<=' | '<' | '>' | '~=';
43
44
  possibilities$?: Observable<{
@@ -55,7 +56,7 @@ export interface IModelMetadata {
55
56
  filters?: Array<IModelFilter>;
56
57
  }
57
58
  export interface IFieldMetadata extends IFieldModifyMetadata {
58
- type?: FieldType;
59
+ type?: FieldTypeDef;
59
60
  classType?: any;
60
61
  possibilities?: Array<any> | any;
61
62
  }
@@ -1,3 +1,39 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FieldType = exports.FieldTypeDef = void 0;
4
+ var FieldTypeDef;
5
+ (function (FieldTypeDef) {
6
+ FieldTypeDef["address"] = "address";
7
+ FieldTypeDef["currency"] = "currency";
8
+ FieldTypeDef["date"] = "date";
9
+ FieldTypeDef["dateTime"] = "dateTime";
10
+ FieldTypeDef["dateWithEdit"] = "dateWithEdit";
11
+ FieldTypeDef["email"] = "email";
12
+ FieldTypeDef["enum"] = "enum";
13
+ FieldTypeDef["file"] = "file";
14
+ FieldTypeDef["flag"] = "flag";
15
+ FieldTypeDef["int"] = "int";
16
+ FieldTypeDef["nip"] = "nip";
17
+ FieldTypeDef["object"] = "object";
18
+ FieldTypeDef["array"] = "array";
19
+ FieldTypeDef["password"] = "password";
20
+ FieldTypeDef["radio"] = "radio";
21
+ FieldTypeDef["text"] = "text";
22
+ FieldTypeDef["strings"] = "strings";
23
+ FieldTypeDef["ints"] = "ints";
24
+ FieldTypeDef["longText"] = "longText";
25
+ FieldTypeDef["color"] = "color";
26
+ FieldTypeDef["logo"] = "logo";
27
+ FieldTypeDef["check"] = "check";
28
+ FieldTypeDef["phoneNumber"] = "phoneNumber";
29
+ FieldTypeDef["phoneNumberPl"] = "phoneNumberPl";
30
+ FieldTypeDef["pesel"] = "pesel";
31
+ FieldTypeDef["pdf"] = "pdf";
32
+ FieldTypeDef["video"] = "video";
33
+ FieldTypeDef["attachment"] = "attachment";
34
+ FieldTypeDef["dateRange"] = "dateRange";
35
+ FieldTypeDef["image"] = "image";
36
+ FieldTypeDef["float"] = "float";
37
+ })(FieldTypeDef || (exports.FieldTypeDef = FieldTypeDef = {}));
38
+ exports.FieldType = FieldTypeDef;
3
39
  //# 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":";;;AAEA,IAAY,YAgCX;AAhCD,WAAY,YAAY;IACpB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;IACrB,6BAAa,CAAA;IACb,qCAAqB,CAAA;IACrB,6CAA6B,CAAA;IAC7B,+BAAe,CAAA;IACf,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,2BAAW,CAAA;IACX,iCAAiB,CAAA;IACjB,+BAAe,CAAA;IACf,qCAAqB,CAAA;IACrB,+BAAe,CAAA;IACf,6BAAa,CAAA;IACb,mCAAmB,CAAA;IACnB,6BAAa,CAAA;IACb,qCAAqB,CAAA;IACrB,+BAAe,CAAA;IACf,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,2CAA2B,CAAA;IAC3B,+CAA+B,CAAA;IAC/B,+BAAe,CAAA;IACf,2BAAW,CAAA;IACX,+BAAe,CAAA;IACf,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,+BAAe,CAAA;IACf,+BAAe,CAAA;AACnB,CAAC,EAhCW,YAAY,4BAAZ,YAAY,QAgCvB;AACY,QAAA,SAAS,GAAwB,YAAY,CAAC"}