@sankhyalabs/core 5.20.0-dev.74 → 5.20.0-dev.75

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.
@@ -74,7 +74,7 @@ src/dataunit/metadata/UnitMetadata.ts:82
74
74
 
75
75
  #### Source
76
76
 
77
- src/dataunit/metadata/UnitMetadata.ts:98
77
+ src/dataunit/metadata/UnitMetadata.ts:99
78
78
 
79
79
  ***
80
80
 
@@ -104,7 +104,7 @@ src/dataunit/metadata/UnitMetadata.ts:92
104
104
 
105
105
  #### Source
106
106
 
107
- src/dataunit/metadata/UnitMetadata.ts:97
107
+ src/dataunit/metadata/UnitMetadata.ts:98
108
108
 
109
109
  ***
110
110
 
@@ -114,7 +114,7 @@ src/dataunit/metadata/UnitMetadata.ts:97
114
114
 
115
115
  #### Source
116
116
 
117
- src/dataunit/metadata/UnitMetadata.ts:96
117
+ src/dataunit/metadata/UnitMetadata.ts:97
118
118
 
119
119
  ***
120
120
 
@@ -134,7 +134,7 @@ src/dataunit/metadata/UnitMetadata.ts:90
134
134
 
135
135
  #### Source
136
136
 
137
- src/dataunit/metadata/UnitMetadata.ts:95
137
+ src/dataunit/metadata/UnitMetadata.ts:96
138
138
 
139
139
  ***
140
140
 
@@ -148,13 +148,23 @@ src/dataunit/metadata/UnitMetadata.ts:93
148
148
 
149
149
  ***
150
150
 
151
+ ### SEARCHPLUS
152
+
153
+ > **SEARCHPLUS**: `"SEARCHPLUS"`
154
+
155
+ #### Source
156
+
157
+ src/dataunit/metadata/UnitMetadata.ts:94
158
+
159
+ ***
160
+
151
161
  ### SHORTTEXT
152
162
 
153
163
  > **SHORTTEXT**: `"SHORTTEXT"`
154
164
 
155
165
  #### Source
156
166
 
157
- src/dataunit/metadata/UnitMetadata.ts:94
167
+ src/dataunit/metadata/UnitMetadata.ts:95
158
168
 
159
169
  ***
160
170
 
@@ -64,6 +64,9 @@ const getSearchFormat = (value, descriptor) => {
64
64
  if (descriptor.userInterface === UserInterface.SEARCH) {
65
65
  return label ? `${codeValue} - ${label}` : codeValue;
66
66
  }
67
+ if (descriptor.userInterface === UserInterface.SEARCHPLUS) {
68
+ return codeValue;
69
+ }
67
70
  return label ? label : codeValue;
68
71
  };
69
72
  const getOptionFormat = (value, descriptor) => {
@@ -1 +1 @@
1
- {"version":3,"file":"PrettyFormatter.js","sourceRoot":"","sources":["../../../src/dataunit/formatting/PrettyFormatter.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAmB,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE7E,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAU,EAAE,UAA4B,EAAE,EAAE;IAC1E,IAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,aAAa,MAAK,aAAa,CAAC,IAAI,EAAC;QAChD,OAAO,aAAa,CAAC,KAAK,CAAC,CAAC;KAC/B;IAED,IAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,MAAK,QAAQ,CAAC,MAAM,EAAC;QACxC,IAAG,KAAK,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,EAAC;YACtC,OAAO,eAAe,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;SAC7C;QAED,IAAG,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;YAAE,OAAQ,EAAE,CAAC;QAErD,OAAO,KAAK,CAAC,QAAQ,EAAE,CAAC;KAC3B;IAED,IAAG,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,a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IAAI,CAAC,KAAK,EAAC;QAC3B,OAAO;KACV;IAED,IAAG,IAAI,KAAK,SAAS,EAAC;QAClB,OAAO,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC;KACnG;IAED,IAAG,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,aAAa,EAAE,IAAI,CAAC,EAAC;QAChD,OAAO,aAAa,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;KAC5C;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAA;AAED,MAAM,aAAa,GAAG,CAAC,KAAU,EAAE,EAAE;IACjC,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAE/C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAE7C,OAAO,GAAG,KAAK,CAAC,MAAM,WAAW,CAAC;AACtC,CAAC,CAAA"}
@@ -78,6 +78,7 @@ export declare enum UserInterface {
78
78
  DECIMALNUMBER = "DECIMALNUMBER",
79
79
  INTEGERNUMBER = "INTEGERNUMBER",
80
80
  SEARCH = "SEARCH",
81
+ SEARCHPLUS = "SEARCHPLUS",
81
82
  SHORTTEXT = "SHORTTEXT",
82
83
  PASSWORD = "PASSWORD",
83
84
  MASKEDTEXT = "MASKEDTEXT",
@@ -23,6 +23,7 @@ export var UserInterface;
23
23
  UserInterface["DECIMALNUMBER"] = "DECIMALNUMBER";
24
24
  UserInterface["INTEGERNUMBER"] = "INTEGERNUMBER";
25
25
  UserInterface["SEARCH"] = "SEARCH";
26
+ UserInterface["SEARCHPLUS"] = "SEARCHPLUS";
26
27
  UserInterface["SHORTTEXT"] = "SHORTTEXT";
27
28
  UserInterface["PASSWORD"] = "PASSWORD";
28
29
  UserInterface["MASKEDTEXT"] = "MASKEDTEXT";
@@ -1 +1 @@
1
- {"version":3,"file":"UnitMetadata.js","sourceRoot":"","sources":["../../../src/dataunit/metadata/UnitMetadata.ts"],"names":[],"mappings":"AAqEA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,yBAAa,CAAA;AACjB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAED,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,yCAAuB,CAAA;IACvB,6CAA2B,CAAA;IAC3B,4CAA0B,CAAA;AAC9B,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED,MAAM,CAAN,IAAY,aAkBX;AAlBD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,kDAAiC,CAAA;IACjC,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;AACjB,CAAC,EAlBW,aAAa,KAAb,aAAa,QAkBxB;AAED,MAAM,CAAN,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IACzB,mEAA8C,CAAA;AAClD,CAAC,EAFW,iBAAiB,KAAjB,iBAAiB,QAE5B"}
1
+ {"version":3,"file":"UnitMetadata.js","sourceRoot":"","sources":["../../../src/dataunit/metadata/UnitMetadata.ts"],"names":[],"mappings":"AAqEA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,uBAAW,CAAA;IACX,yBAAa,CAAA;AACjB,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB;AAED,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACtB,yCAAuB,CAAA;IACvB,6CAA2B,CAAA;IAC3B,4CAA0B,CAAA;AAC9B,CAAC,EAJW,cAAc,KAAd,cAAc,QAIzB;AAED,MAAM,CAAN,IAAY,aAmBX;AAnBD,WAAY,aAAa;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,kDAAiC,CAAA;IACjC,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,kCAAiB,CAAA;IACjB,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;AACjB,CAAC,EAnBW,aAAa,KAAb,aAAa,QAmBxB;AAED,MAAM,CAAN,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IACzB,mEAA8C,CAAA;AAClD,CAAC,EAFW,iBAAiB,KAAjB,iBAAiB,QAE5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/core",
3
- "version": "5.20.0-dev.74",
3
+ "version": "5.20.0-dev.75",
4
4
  "description": "Modulo core JavaScript da Sankhya.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,215 +1,215 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <unitTest version="1">
3
- <file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
4
- <testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="6"/>
5
- <testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="0"/>
6
- <testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="1"/>
7
- <testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="1"/>
8
- <testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="1"/>
9
- <testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="1"/>
10
- <testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="0"/>
11
- <testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="1"/>
12
- <testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="0"/>
13
- <testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="1"/>
14
- <testCase name="ObjectUtils should get an object value based on its path" duration="77"/>
15
- <testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
16
- <testCase name="ObjectUtils should return undefined if the path doesn&apos;t exist in the object" duration="1"/>
17
- </file>
18
3
  <file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaModel.spec.ts">
19
- <testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="181"/>
4
+ <testCase name="StringUtils it should return the undefined and [] to Criteria Props through new class with empty constructor" duration="7"/>
20
5
  <testCase name="StringUtils it should modify &quot;expressions&quot; and &quot;parameters&quot; properties through Setters methods" duration="1"/>
21
- <testCase name="StringUtils it should return &quot;expression&quot; and &quot;parameters&quot; setted through constructor method" duration="1"/>
6
+ <testCase name="StringUtils it should return &quot;expression&quot; and &quot;parameters&quot; setted through constructor method" duration="0"/>
22
7
  <testCase name="StringUtils it should return a Criteria class with &quot;expression&quot; and &quot;parameters&quot; as needed setted through &quot;append&quot; method" duration="1"/>
23
- <testCase name="StringUtils it should return a Criteria class with &quot;Criteria class&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;append&quot; method" duration="2"/>
8
+ <testCase name="StringUtils it should return a Criteria class with &quot;Criteria class&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;append&quot; method" duration="292"/>
24
9
  <testCase name="StringUtils it should return undefined as &quot;expression&quot; and &quot;[]&quot; as parameters as we use an empty criteria as first entry in the constructor" duration="1"/>
25
- <testCase name="StringUtils it should return a Criteria class with &quot;Expression&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;OR&quot; method" duration="94"/>
10
+ <testCase name="StringUtils it should return a Criteria class with &quot;Expression&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;OR&quot; method" duration="1"/>
26
11
  <testCase name="StringUtils it should return a Criteria class with &quot;Criteria class&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;OR&quot; method" duration="1"/>
27
12
  <testCase name="StringUtils it should return a Criteria class with &quot;Criteria class&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;OR&quot; method" duration="1"/>
28
- <testCase name="StringUtils it should return a Criteria class with &quot;Expression&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;AND&quot; method" duration="3"/>
13
+ <testCase name="StringUtils it should return a Criteria class with &quot;Expression&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;AND&quot; method" duration="86"/>
29
14
  <testCase name="StringUtils it should return a Criteria class with &quot;Criteria class&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;AND&quot; method" duration="1"/>
30
15
  <testCase name="StringUtils it should return a Criteria class with &quot;Criteria class&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;AND&quot; method" duration="1"/>
31
16
  <testCase name="StringUtils it should return a toJSON object with &quot;Criteria class&quot; and &quot;parameters&quot; concatenaded as needed setted through &quot;AND&quot; method" duration="1"/>
32
17
  <testCase name="StringUtils it should return a toJSON object with through empty constructor" duration="1"/>
33
18
  </file>
34
- <file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
35
- <testCase name="HttpProvider Metodo GET" duration="0"/>
36
- </file>
37
- <file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
38
- <testCase name="OverflowWatcher should initialize with provided parameters" duration="10"/>
39
- <testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="3"/>
40
- <testCase name="OverflowWatcher Should call callback on forceUpdate" duration="315"/>
41
- <testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="96"/>
42
- <testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="92"/>
43
- <testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="7"/>
44
- <testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="3"/>
45
- <testCase name="OverflowWatcher should ignore elements that can not overflow" duration="201"/>
46
- <testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
47
- </file>
48
- <file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
49
- <testCase name="HttpProvider Metodo POST" duration="1"/>
50
- </file>
51
19
  <file path="/builds/dti/design-system/sankhyacore/test/util/MaskFormatter.spec.ts">
52
- <testCase name="Mask Formatter mask:CPF complete valid" duration="92"/>
20
+ <testCase name="Mask Formatter mask:CPF complete valid" duration="85"/>
53
21
  <testCase name="Mask Formatter mask:CPF complete valid literals" duration="1"/>
54
22
  <testCase name="Mask Formatter mask:CPF incomplete valid" duration="1"/>
55
- <testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="1"/>
23
+ <testCase name="Mask Formatter mask:CPF incomplete valid placeholder" duration="2"/>
56
24
  <testCase name="Mask Formatter mask:CPF too long valid" duration="1"/>
57
- <testCase name="Mask Formatter mask:CPF invalid for string" duration="140"/>
58
- <testCase name="Mask Formatter mask:CPF invalid for being too long" duration="0"/>
25
+ <testCase name="Mask Formatter mask:CPF invalid for string" duration="113"/>
26
+ <testCase name="Mask Formatter mask:CPF invalid for being too long" duration="1"/>
59
27
  <testCase name="Mask Formatter mask:Licence plate valid uppercase" duration="1"/>
60
28
  <testCase name="Mask Formatter mask:Licence plate valid lowercase" duration="1"/>
61
- <testCase name="Mask Formatter mask:Licence plate invalid" duration="57"/>
29
+ <testCase name="Mask Formatter mask:Licence plate invalid" duration="3"/>
62
30
  <testCase name="Mask Formatter mask:Licence plate invalid for being too short" duration="1"/>
63
31
  <testCase name="Mask Formatter mask:Licence plate invalid for being too short with placeholder" duration="0"/>
64
- <testCase name="Mask Formatter mask:Licence plate invalid" duration="2"/>
32
+ <testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
65
33
  <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
66
- <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
34
+ <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
67
35
  <testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
68
- <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
69
- <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
70
- <testCase name="Mask Formatter mask:Licence plate invalid" duration="2"/>
71
- <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="0"/>
36
+ <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
72
37
  <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="1"/>
73
38
  <testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
39
+ <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask" duration="1"/>
40
+ <testCase name="Mask Formatter mask:Licence plate with AlphaNumerical Mask with placeholder" duration="0"/>
41
+ <testCase name="Mask Formatter mask:Licence plate invalid" duration="1"/>
74
42
  </file>
75
- <file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
76
- <testCase name="StringUtils valor vazio" duration="107"/>
77
- <testCase name="StringUtils valor em branco" duration="10"/>
78
- <testCase name="StringUtils valor null" duration="0"/>
79
- <testCase name="StringUtils valor undefined" duration="0"/>
80
- <testCase name="StringUtils valor 0" duration="0"/>
81
- <testCase name="StringUtils com valor" duration="1"/>
82
- <testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="1"/>
83
- <testCase name="StringUtils should return the original value when called with an object without a toString method" duration="83"/>
84
- <testCase name="StringUtils should return the original value when called with undefined" duration="1"/>
43
+ <file path="/builds/dti/design-system/sankhyacore/test/util/OverflowWatcher.spec.ts">
44
+ <testCase name="OverflowWatcher should initialize with provided parameters" duration="81"/>
45
+ <testCase name="OverflowWatcher should disconect ResizeObserver when destroy is called" duration="2"/>
46
+ <testCase name="OverflowWatcher Should call callback on forceUpdate" duration="298"/>
47
+ <testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan" duration="16"/>
48
+ <testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan when notOverFlow is empty" duration="105"/>
49
+ <testCase name="OverflowWatcher Should call callback on forceUpdate with childSpan considering overflowed elements" duration="9"/>
50
+ <testCase name="OverflowWatcher Should call callback on forceUpdate with empty list" duration="3"/>
51
+ <testCase name="OverflowWatcher should ignore elements that can not overflow" duration="19"/>
52
+ <testCase name="OverflowWatcher Should not call callback on forceUpdate" duration="1"/>
53
+ </file>
54
+ <file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/utils/dataUnitLoaderUtils.spec.ts">
55
+ <testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="7"/>
56
+ <testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="1"/>
57
+ <testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="4"/>
58
+ <testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="1"/>
59
+ <testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="0"/>
60
+ <testCase name="Utility Functions buildPaginationInfo function should handle case when currentPageLength is less than totalRecordsLength and lastPage" duration="1"/>
61
+ <testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="2"/>
62
+ <testCase name="Utility Functions applySorting function should sort records based on provided sorting criteria" duration="1"/>
85
63
  </file>
86
64
  <file path="/builds/dti/design-system/sankhyacore/test/util/NumberUtils.spec.ts">
87
- <testCase name="StringUtils stringToNumber" duration="183"/>
88
- <testCase name="StringUtils format" duration="315"/>
65
+ <testCase name="StringUtils stringToNumber" duration="100"/>
66
+ <testCase name="StringUtils format" duration="188"/>
67
+ <testCase name="StringUtils format without formatnumber parameter" duration="1"/>
89
68
  <testCase name="StringUtils format without formatnumber parameter" duration="1"/>
90
- <testCase name="StringUtils format without formatnumber parameter" duration="2"/>
91
- <testCase name="StringUtils format round number" duration="1"/>
69
+ <testCase name="StringUtils format round number" duration="2"/>
92
70
  </file>
93
- <file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
94
- <testCase name="StringUtils it should return the correct values of &quot;value&quot; and &quot;type&quot; through the getters methods initial setted by the constructor" duration="1"/>
95
- <testCase name="StringUtils it should return the correct values of &quot;value&quot; and &quot;type&quot; through the getters methods initial setted by the setters methods" duration="4"/>
96
- <testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="1"/>
71
+ <file path="/builds/dti/design-system/sankhyacore/test/util/StringUtils.spec.ts">
72
+ <testCase name="StringUtils valor vazio" duration="1"/>
73
+ <testCase name="StringUtils valor em branco" duration="0"/>
74
+ <testCase name="StringUtils valor null" duration="1"/>
75
+ <testCase name="StringUtils valor undefined" duration="0"/>
76
+ <testCase name="StringUtils valor 0" duration="1"/>
77
+ <testCase name="StringUtils com valor" duration="0"/>
78
+ <testCase name="StringUtils substitui vogais com acento por vogais sem acento" duration="74"/>
79
+ <testCase name="StringUtils should return the original value when called with an object without a toString method" duration="2"/>
80
+ <testCase name="StringUtils should return the original value when called with undefined" duration="1"/>
81
+ </file>
82
+ <file path="/builds/dti/design-system/sankhyacore/src/utils/test/objectUtils.spec.ts">
83
+ <testCase name="ObjectUtils hasEquivalentValues should return true if both objects have the same property value" duration="1"/>
84
+ <testCase name="ObjectUtils hasEquivalentValues should return false if both objects have different property values" duration="0"/>
85
+ <testCase name="ObjectUtils hasEquivalentValues should return true if both objects are equivalent with custom property to compare" duration="0"/>
86
+ <testCase name="ObjectUtils hasEquivalentValues should return false if both objects are not equivalent with custom property to compare" duration="0"/>
87
+ <testCase name="ObjectUtils hasEquivalentValues should return false if one object does not have the property" duration="0"/>
88
+ <testCase name="ObjectUtils hasEquivalentValues should return true if comparing primitive values directly" duration="1"/>
89
+ <testCase name="ObjectUtils hasEquivalentValues should return false if comparing different primitive values" duration="0"/>
90
+ <testCase name="ObjectUtils hasEquivalentValues should return true when comparing object with a null value" duration="0"/>
91
+ <testCase name="ObjectUtils hasEquivalentValues should return false when comparing object with null and non-null value" duration="1"/>
92
+ <testCase name="ObjectUtils hasEquivalentValues should return true when comparing non-object values that are equal" duration="0"/>
93
+ <testCase name="ObjectUtils should get an object value based on its path" duration="1"/>
94
+ <testCase name="ObjectUtils should get an object value based on its path" duration="0"/>
95
+ <testCase name="ObjectUtils should return undefined if the path doesn&apos;t exist in the object" duration="1"/>
97
96
  </file>
98
97
  <file path="/builds/dti/design-system/sankhyacore/test/util/ColumnFilterManager.spec.ts">
99
- <testCase name="ColumnFilterManager getColumnFilters should return an empty map if filters are undefined or empty" duration="12"/>
100
- <testCase name="ColumnFilterManager getColumnFilters should return a map of filters matching the pattern and not the provided fieldName" duration="0"/>
98
+ <testCase name="ColumnFilterManager getColumnFilters should return an empty map if filters are undefined or empty" duration="2"/>
99
+ <testCase name="ColumnFilterManager getColumnFilters should return a map of filters matching the pattern and not the provided fieldName" duration="1"/>
101
100
  <testCase name="ColumnFilterManager getFilterFunction should return undefined if no filters are provided" duration="1"/>
102
- <testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="3"/>
103
- <testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records and return false" duration="1"/>
104
- <testCase name="ColumnFilterManager compileDistinct should return an array of distinct field values formatted correctly" duration="2"/>
105
- <testCase name="ColumnFilterManager compileDistinct should filter records if a load request is present" duration="2"/>
101
+ <testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records based on filters" duration="2"/>
102
+ <testCase name="ColumnFilterManager getFilterFunction should return a function that evaluates records and return false" duration="7"/>
103
+ <testCase name="ColumnFilterManager compileDistinct should return an array of distinct field values formatted correctly" duration="1"/>
104
+ <testCase name="ColumnFilterManager compileDistinct should filter records if a load request is present" duration="1"/>
106
105
  </file>
107
- <file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/utils/dataUnitLoaderUtils.spec.ts">
108
- <testCase name="Utility Functions applyFilter should return the original records if no filters are provided" duration="16"/>
109
- <testCase name="Utility Functions applyFilter should filter records based on provided filters" duration="1"/>
110
- <testCase name="Utility Functions buildPaginationInfo function should return correct pagination info with default values" duration="1"/>
111
- <testCase name="Utility Functions buildPaginationInfo function should redosLenth as same size as recordsPerPage" duration="4"/>
112
- <testCase name="Utility Functions buildPaginationInfo function should handle case when totalRecordsLength and offset 0" duration="1"/>
113
- <testCase name="Utility Functions buildPaginationInfo function should handle case when currentPageLength is less than totalRecordsLength and lastPage" duration="1"/>
114
- <testCase name="Utility Functions applySorting function should return the original records if no sorting is provided" duration="1"/>
115
- <testCase name="Utility Functions applySorting function should sort records based on provided sorting criteria" duration="2"/>
106
+ <file path="/builds/dti/design-system/sankhyacore/test/http/HttpProvider.spec.ts">
107
+ <testCase name="HttpProvider Metodo GET" duration="0"/>
116
108
  </file>
117
- <file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
118
- <testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="3"/>
119
- <testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="1"/>
120
- <testCase name="TimeFormatter Case: validateTime" duration="1"/>
109
+ <file path="/builds/dti/design-system/sankhyacore/test/http/SkwHttpProvider.ts.spec.ts">
110
+ <testCase name="HttpProvider Metodo POST" duration="1"/>
111
+ </file>
112
+ <file path="/builds/dti/design-system/sankhyacore/test/util/CriteriaParameter.spec.ts">
113
+ <testCase name="StringUtils it should return the correct values of &quot;value&quot; and &quot;type&quot; through the getters methods initial setted by the constructor" duration="1"/>
114
+ <testCase name="StringUtils it should return the correct values of &quot;value&quot; and &quot;type&quot; through the getters methods initial setted by the setters methods" duration="1"/>
115
+ <testCase name="StringUtils it should return the correct JSON/Object value through the buildParam method" duration="1"/>
121
116
  </file>
122
117
  <file path="/builds/dti/design-system/sankhyacore/src/dataunit/state/slice/test/RecordsSlice.spec.ts">
123
118
  <testCase name="RecordsSlice should return newlines at the end" duration="2"/>
124
119
  </file>
120
+ <file path="/builds/dti/design-system/sankhyacore/test/util/TimeFormatter.spec.ts">
121
+ <testCase name="TimeFormatter Case: input string unformated with showSeconds" duration="2"/>
122
+ <testCase name="TimeFormatter Case: input string unformated without showSeconds" duration="78"/>
123
+ <testCase name="TimeFormatter Case: validateTime" duration="1"/>
124
+ </file>
125
125
  <file path="/builds/dti/design-system/sankhyacore/test/util/DataUnitStorage.spec.ts">
126
- <testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="7"/>
127
- <testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="1"/>
128
- <testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="1"/>
126
+ <testCase name="DataUnitStorage put should store a DataUnit instance in the DataUnitStorage" duration="4"/>
127
+ <testCase name="DataUnitStorage get should return the stored DataUnit instance from the DataUnitStorage" duration="0"/>
128
+ <testCase name="DataUnitStorage get should return undefined if the DataUnit instance is not found in the DataUnitStorage" duration="0"/>
129
129
  <testCase name="DataUnitStorage remove should remove the specified DataUnit instance from the DataUnitStorage" duration="1"/>
130
130
  <testCase name="DataUnitStorage remove should remove the DataUnit instance with the specified name from the DataUnitStorage" duration="1"/>
131
- <testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="66"/>
131
+ <testCase name="DataUnitStorage remove should not remove any DataUnit instance if the specified DataUnit instance or name is not found in the DataUnitStorage" duration="1"/>
132
132
  </file>
133
133
  <file path="/builds/dti/design-system/sankhyacore/test/util/ElementIDUtils.spec.ts">
134
134
  <testCase name="addIDInfo 1 - should add data-element-id with valid id &quot;movFinanceira_snkApplication&quot;" duration="90"/>
135
135
  <testCase name="addIDInfo 2 - should add data-element-id with valid id &quot;brComSankhyaFinCadMovimentacaofinanceira_snkApplication&quot;" duration="2"/>
136
- <testCase name="addIDInfo 3 - should add data-element-id with valid id &quot;movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira&quot;" duration="1"/>
137
- <testCase name="addIDInfo 4 - should add data-element-id with valid id &quot;meuID2_snkApplication&quot;" duration="1"/>
138
- <testCase name="addIDInfo 5 - should add data-element-id with valid id &quot;movFinanceira_snkApplication&quot;" duration="1"/>
136
+ <testCase name="addIDInfo 3 - should add data-element-id with valid id &quot;movFinanceira_br.com.sankhya.fin.cad.movimentacaoFinanceira&quot;" duration="2"/>
137
+ <testCase name="addIDInfo 4 - should add data-element-id with valid id &quot;meuID2_snkApplication&quot;" duration="2"/>
138
+ <testCase name="addIDInfo 5 - should add data-element-id with valid id &quot;movFinanceira_snkApplication&quot;" duration="2"/>
139
139
  <testCase name="addIDInfo 6 - should add data-element-id with valid id &quot;movFinanceira_snkApplication&quot;" duration="2"/>
140
- <testCase name="addIDInfo 7 - should add data-element-id with valid id &quot;componenteNameTest_snkApplication&quot;" duration="3"/>
141
- <testCase name="addIDInfo 8 - should add data-element-id with valid id &quot;componentLabel_snkApplication&quot;" duration="2"/>
142
- <testCase name="addIDInfo 9 - should add data-element-id with valid id &quot;dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira&quot;" duration="1"/>
143
- <testCase name="addIDInfo 10 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira&quot;" duration="70"/>
144
- <testCase name="addIDInfo 11 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira&quot;" duration="1"/>
140
+ <testCase name="addIDInfo 7 - should add data-element-id with valid id &quot;componenteNameTest_snkApplication&quot;" duration="1"/>
141
+ <testCase name="addIDInfo 8 - should add data-element-id with valid id &quot;componentLabel_snkApplication&quot;" duration="1"/>
142
+ <testCase name="addIDInfo 9 - should add data-element-id with valid id &quot;dataunitFinanceiro_br.com.sankhya.fin.cad.movimentacaoFinanceira&quot;" duration="2"/>
143
+ <testCase name="addIDInfo 10 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIDTeste_br.com.sankhya.fin.cad.movimentacaoFinanceira&quot;" duration="2"/>
144
+ <testCase name="addIDInfo 11 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira&quot;" duration="2"/>
145
145
  <testCase name="addIDInfo 12 - should add data-element-id with valid id &quot;dataunitFinanceiro_movFinanceira_movimentacaoFinanceira&quot;" duration="1"/>
146
146
  <testCase name="addIDInfo 13 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIDTeste_movimentacaoFinanceira&quot;" duration="1"/>
147
- <testCase name="addIDInfo 14 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira&quot;" duration="2"/>
147
+ <testCase name="addIDInfo 14 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIdTeste_movimentacaoFinanceira&quot;" duration="3"/>
148
148
  <testCase name="addIDInfo 15 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIdTeste_snkApplication&quot;" duration="1"/>
149
149
  <testCase name="addIDInfo 16 - should add data-element-id with valid id &quot;dataunitFinanceiro_meuIdTeste_snkApplication&quot;" duration="1"/>
150
150
  <testCase name="addIDInfo 17 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="1"/>
151
- <testCase name="addIDInfo 18 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="1"/>
151
+ <testCase name="addIDInfo 18 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="3"/>
152
152
  <testCase name="addIDInfo 19 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="1"/>
153
- <testCase name="addIDInfo 20 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="1"/>
154
- <testCase name="addIDInfo 21 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="4"/>
155
- <testCase name="addIDInfo 22 - should add data-element-id with valid id &quot;bancoObrigatorio_movimentacaoFinanceira&quot;" duration="2"/>
153
+ <testCase name="addIDInfo 20 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="3"/>
154
+ <testCase name="addIDInfo 21 - should add data-element-id with valid id &quot;movFinanceira_movimentacaoFinanceira&quot;" duration="1"/>
155
+ <testCase name="addIDInfo 22 - should add data-element-id with valid id &quot;bancoObrigatorio_movimentacaoFinanceira&quot;" duration="1"/>
156
156
  </file>
157
157
  <file path="/builds/dti/design-system/sankhyacore/src/dataunit/test/DataUnit.spec.ts">
158
- <testCase name="DataUnit should return false when not waiting to reload" duration="2"/>
158
+ <testCase name="DataUnit should return false when not waiting to reload" duration="3"/>
159
159
  <testCase name="DataUnit should set waitingToReload to true" duration="0"/>
160
160
  <testCase name="DataUnit should set waitingToReload to false" duration="1"/>
161
161
  <testCase name="DataUnit should dispatch SAVING_CANCELED action with correct fields and recordId" duration="1"/>
162
162
  </file>
163
- <file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/dataUnitInMemoryLoader.spec.ts">
164
- <testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="77"/>
165
- <testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="3"/>
166
- <testCase name="DataUnitInMemoryLoader - loadData should not be called load data when auto load is false" duration="1"/>
167
- <testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="1"/>
168
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if descriptor is undefined" duration="1"/>
169
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if dataType is TEXT" duration="1"/>
170
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to boolean when dataType is BOOLEAN" duration="0"/>
171
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="1"/>
172
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should parse JSON when dataType is OBJECT" duration="1"/>
173
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is ISO" duration="1"/>
174
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="1"/>
175
- <testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="1"/>
176
- <testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="1"/>
177
- <testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="1"/>
178
- <testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="1"/>
179
- <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should build initial records and convert field values based on metadata" duration="2"/>
180
- <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should generate unique IDs for records without &quot;__record__id__&quot;" duration="4"/>
181
- <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should leave fields untouched if no matching metadata exists" duration="4"/>
182
- <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="2"/>
183
- </file>
184
163
  <file path="/builds/dti/design-system/sankhyacore/test/dataunit/formatting/PrettyFormatter.spec.ts">
185
- <testCase name="getFormattedValue should return empty string when value is null" duration="5"/>
164
+ <testCase name="getFormattedValue should return empty string when value is null" duration="57"/>
186
165
  <testCase name="getFormattedValue should return empty string when value is not an array" duration="1"/>
187
166
  <testCase name="getFormattedValue should return empty string when value is an empty array" duration="0"/>
188
- <testCase name="getFormattedValue should return file name when value is an array with one file object" duration="1"/>
167
+ <testCase name="getFormattedValue should return file name when value is an array with one file object" duration="0"/>
189
168
  <testCase name="getFormattedValue should return file count when value is an array with multiple file objects" duration="0"/>
190
- <testCase name="getFormattedValue should return empty string for undefined file" duration="1"/>
169
+ <testCase name="getFormattedValue should return empty string for undefined file" duration="0"/>
191
170
  <testCase name="getFormattedValue should handle OBJECT type with value field" duration="0"/>
192
- <testCase name="getFormattedValue should return empty string when value is undefined" duration="1"/>
193
- <testCase name="getFormattedValue should return value as string when value is not an object" duration="0"/>
194
- <testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="1"/>
195
- <testCase name="getFormattedValue should handle BOOLEAN type" duration="56"/>
196
- <testCase name="getFormattedValue should format numbers correctly" duration="20"/>
197
- <testCase name="getFormattedValue should format dates correctly" duration="11"/>
198
- <testCase name="getFormattedValue should format times correctly" duration="1"/>
171
+ <testCase name="getFormattedValue should return empty string when value is undefined" duration="0"/>
172
+ <testCase name="getFormattedValue should return value as string when value is not an object" duration="1"/>
173
+ <testCase name="getFormattedValue should return value.toString() when value is an object without value property" duration="0"/>
174
+ <testCase name="getFormattedValue should handle BOOLEAN type" duration="3"/>
175
+ <testCase name="getFormattedValue should format numbers correctly" duration="10"/>
176
+ <testCase name="getFormattedValue should format dates correctly" duration="5"/>
177
+ <testCase name="getFormattedValue should format times correctly" duration="0"/>
199
178
  <testCase name="getFormattedValue should format datetime correctly" duration="0"/>
200
- <testCase name="getFormattedValue should call toString with correct parameters" duration="0"/>
201
- <testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="1"/>
179
+ <testCase name="getFormattedValue should call toString with correct parameters" duration="1"/>
180
+ <testCase name="getFormattedValue should handle undefined descriptor gracefully" duration="0"/>
202
181
  <testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and matching option" duration="1"/>
203
182
  <testCase name="getFormattedValue should return value with OPTIONSELECTOR and no matching option" duration="0"/>
204
- <testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="0"/>
205
- <testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="1"/>
183
+ <testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and value as object" duration="1"/>
184
+ <testCase name="getFormattedValue should return empty string with OPTIONSELECTOR and value as null" duration="0"/>
206
185
  <testCase name="getFormattedValue should format value correctly with OPTIONSELECTOR and options as JSON string" duration="0"/>
207
- <testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="1"/>
208
- <testCase name="getFormattedValue should format masked values correctly" duration="8"/>
186
+ <testCase name="getFormattedValue should return value with OPTIONSELECTOR and options as empty array" duration="0"/>
187
+ <testCase name="getFormattedValue should format masked values correctly" duration="1"/>
209
188
  </file>
210
189
  <file path="/builds/dti/design-system/sankhyacore/test/util/ElementUtils.spec.ts">
211
- <testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="42"/>
212
- <testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="4"/>
213
- <testCase name="calcMarginSize should threat values defined as zero" duration="41"/>
190
+ <testCase name="calcMarginSize should calculate correctly the size of horizontal margin" duration="78"/>
191
+ <testCase name="calcMarginSize should calculate correctly the size of vertical margin" duration="2"/>
192
+ <testCase name="calcMarginSize should threat values defined as zero" duration="4"/>
193
+ </file>
194
+ <file path="/builds/dti/design-system/sankhyacore/test/dataunit/loader/dataUnitInMemoryLoader.spec.ts">
195
+ <testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is true" duration="63"/>
196
+ <testCase name="DataUnitInMemoryLoader - loadData should be called load data when auto load is undefined" duration="2"/>
197
+ <testCase name="DataUnitInMemoryLoader - loadData should not be called load data when auto load is false" duration="1"/>
198
+ <testCase name="DataUnitInMemoryLoader - loadData should be called load data when config is undefined" duration="1"/>
199
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if descriptor is undefined" duration="1"/>
200
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if dataType is TEXT" duration="1"/>
201
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to boolean when dataType is BOOLEAN" duration="1"/>
202
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to number when dataType is NUMBER" duration="0"/>
203
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should parse JSON when dataType is OBJECT" duration="1"/>
204
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is ISO" duration="0"/>
205
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should convert to date when dataType is DATE and format is not ISO" duration="0"/>
206
+ <testCase name="DataUnitInMemoryLoader - getConvertedValue should return the original string if no dataType matches" duration="1"/>
207
+ <testCase name="DataUnitInMemoryLoader - removeLoader should resolve with the provided record IDs" duration="1"/>
208
+ <testCase name="DataUnitInMemoryLoader - removeLoader should handle empty record ID array" duration="1"/>
209
+ <testCase name="DataUnitInMemoryLoader - removeLoader should resolve the promise" duration="1"/>
210
+ <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should build initial records and convert field values based on metadata" duration="3"/>
211
+ <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should generate unique IDs for records without &quot;__record__id__&quot;" duration="2"/>
212
+ <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should leave fields untouched if no matching metadata exists" duration="2"/>
213
+ <testCase name="DataUnitInMemoryLoader - buildInitialRecords (indiretamente via set records) should skip conversion for non-string field values" duration="2"/>
214
214
  </file>
215
215
  </unitTest>
@@ -77,6 +77,10 @@ const getSearchFormat = (value: any, descriptor: FieldDescriptor) => {
77
77
  return label ? `${codeValue} - ${label}` : codeValue;
78
78
  }
79
79
 
80
+ if(descriptor.userInterface === UserInterface.SEARCHPLUS){
81
+ return codeValue;
82
+ }
83
+
80
84
  return label ? label : codeValue;
81
85
  }
82
86
 
@@ -91,6 +91,7 @@ export enum UserInterface {
91
91
  DECIMALNUMBER = "DECIMALNUMBER",
92
92
  INTEGERNUMBER = "INTEGERNUMBER",
93
93
  SEARCH = "SEARCH",
94
+ SEARCHPLUS = "SEARCHPLUS",
94
95
  SHORTTEXT = "SHORTTEXT",
95
96
  PASSWORD = "PASSWORD",
96
97
  MASKEDTEXT = "MASKEDTEXT",