@sankhyalabs/core-docs 5.20.0-dev.5 → 5.20.0-dev.6

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.
Files changed (78) hide show
  1. package/README.md +3 -1
  2. package/classes/ApplicationContext.md +31 -32
  3. package/classes/ArrayUtils.md +95 -83
  4. package/classes/AuthorizedServiceCaller.md +25 -34
  5. package/classes/Change.md +59 -74
  6. package/classes/DataUnit.md +1017 -1091
  7. package/classes/DataUnitAction.md +25 -42
  8. package/classes/DataUnitStorage.md +40 -43
  9. package/classes/DateUtils.md +133 -126
  10. package/classes/ElementIDUtils.md +123 -122
  11. package/classes/ErrorException.md +67 -88
  12. package/classes/ErrorTracking.md +20 -23
  13. package/classes/FieldComparator.md +35 -39
  14. package/classes/FloatingManager.md +195 -198
  15. package/classes/HTMLBuilder.md +14 -20
  16. package/classes/HttpProvider.md +45 -41
  17. package/classes/IDBRepository.md +179 -196
  18. package/classes/JSUtils.md +65 -66
  19. package/classes/KeyboardManager.md +95 -87
  20. package/classes/{MaskFormatter-1.md → MaskFormatter.md} +81 -120
  21. package/classes/NumberUtils.md +163 -152
  22. package/classes/ObjectUtils.md +66 -71
  23. package/classes/OnboardingUtils.md +36 -51
  24. package/classes/PromiseSync.md +25 -42
  25. package/classes/ReadyUtil.md +31 -41
  26. package/classes/RequestMetadata.md +29 -30
  27. package/classes/SearchUtils.md +18 -20
  28. package/classes/SelectionInfo.md +59 -74
  29. package/classes/SkwHttpProvider.md +33 -45
  30. package/classes/StringUtils.md +297 -322
  31. package/classes/TimeFormatter.md +43 -44
  32. package/classes/UserAgentUtils.md +17 -20
  33. package/classes/VersionUtils.md +15 -18
  34. package/classes/WaitingChangeException.md +63 -84
  35. package/classes/WarningException.md +67 -88
  36. package/enumerations/Action.md +297 -0
  37. package/enumerations/ChangeOperation.md +47 -0
  38. package/enumerations/DataType.md +57 -0
  39. package/enumerations/DependencyType.md +37 -0
  40. package/enumerations/SelectionMode.md +27 -0
  41. package/enumerations/SortMode.md +27 -0
  42. package/enumerations/UserInterface.md +177 -0
  43. package/functions/defaultDataLoader.md +25 -0
  44. package/{modules.md → globals.md} +17 -39
  45. package/interfaces/ChildDescriptor.md +12 -16
  46. package/interfaces/ChildLink.md +9 -12
  47. package/interfaces/DUActionInterceptor.md +10 -14
  48. package/interfaces/ExecutionContext.md +17 -32
  49. package/interfaces/FieldDescriptor.md +52 -66
  50. package/interfaces/Filter.md +13 -17
  51. package/interfaces/IElementIDInfo.md +11 -14
  52. package/interfaces/ILoadResult.md +11 -16
  53. package/interfaces/IRepository.md +88 -93
  54. package/interfaces/IRepositoryIndex.md +23 -30
  55. package/interfaces/LoadDataRequest.md +36 -45
  56. package/interfaces/LoadDataResponse.md +11 -14
  57. package/interfaces/PageRequest.md +16 -20
  58. package/interfaces/PaginationInfo.md +24 -31
  59. package/interfaces/PromiseSyncCallback.md +13 -17
  60. package/interfaces/QuickFilter.md +17 -21
  61. package/interfaces/Record.md +26 -33
  62. package/interfaces/SavedRecord.md +33 -41
  63. package/interfaces/Sort.md +12 -16
  64. package/interfaces/SortingProvider.md +10 -13
  65. package/interfaces/UnitMetadata.md +16 -21
  66. package/interfaces/WaitingChange.md +16 -20
  67. package/namespaces/MaskFormatter/README.md +17 -0
  68. package/namespaces/MaskFormatter/type-aliases/MaskCharacter.md +13 -0
  69. package/namespaces/MaskFormatter/variables/MaskCharacter.md +13 -0
  70. package/package.json +1 -1
  71. package/enums/Action.md +0 -305
  72. package/enums/ChangeOperation.md +0 -52
  73. package/enums/DataType.md +0 -63
  74. package/enums/DependencyType.md +0 -41
  75. package/enums/SelectionMode.md +0 -30
  76. package/enums/SortMode.md +0 -30
  77. package/enums/UserInterface.md +0 -195
  78. package/modules/MaskFormatter.md +0 -37
@@ -1,205 +1,184 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ErrorException
1
+ [**@sankhyalabs/core**](../README.md) **Docs**
2
+
3
+ ***
4
+
5
+ [@sankhyalabs/core](../globals.md) / ErrorException
2
6
 
3
7
  # Class: ErrorException
4
8
 
5
9
  `ErrorException`: Exceção lançada quando ocorre um erro.
6
10
 
7
- ## Hierarchy
11
+ ## Extends
8
12
 
9
13
  - `Error`
10
14
 
11
- **`ErrorException`**
12
-
13
- ## Table of contents
14
-
15
- ### Constructors
16
-
17
- - [constructor](ErrorException.md#constructor)
18
-
19
- ### Properties
15
+ ## Constructors
20
16
 
21
- - [cause](ErrorException.md#cause)
22
- - [errorCode](ErrorException.md#errorcode)
23
- - [message](ErrorException.md#message)
24
- - [name](ErrorException.md#name)
25
- - [stack](ErrorException.md#stack)
26
- - [title](ErrorException.md#title)
27
- - [prepareStackTrace](ErrorException.md#preparestacktrace)
28
- - [stackTraceLimit](ErrorException.md#stacktracelimit)
17
+ ### new ErrorException()
29
18
 
30
- ### Methods
19
+ > **new ErrorException**(`title`, `message`, `errorCode`): [`ErrorException`](ErrorException.md)
31
20
 
32
- - [captureStackTrace](ErrorException.md#capturestacktrace)
21
+ #### Parameters
33
22
 
34
- ## Constructors
23
+ **title**: `string`
35
24
 
36
- ### constructor
25
+ **message**: `string`
37
26
 
38
- • **new ErrorException**(`title`, `message`, `errorCode?`)
27
+ • **errorCode**: `string`= `""`
39
28
 
40
- #### Parameters
29
+ #### Returns
41
30
 
42
- | Name | Type | Default value |
43
- | :------ | :------ | :------ |
44
- | `title` | `string` | `undefined` |
45
- | `message` | `string` | `undefined` |
46
- | `errorCode` | `string` | `""` |
31
+ [`ErrorException`](ErrorException.md)
47
32
 
48
33
  #### Overrides
49
34
 
50
- Error.constructor
35
+ `Error.constructor`
51
36
 
52
- #### Defined in
37
+ #### Source
53
38
 
54
39
  src/exceptions/ErrorException.ts:18
55
40
 
56
41
  ## Properties
57
42
 
58
- ### cause
43
+ ### cause?
59
44
 
60
- `Optional` **cause**: `unknown`
45
+ > `optional` **cause**: `unknown`
61
46
 
62
47
  #### Inherited from
63
48
 
64
- Error.cause
49
+ `Error.cause`
65
50
 
66
- #### Defined in
51
+ #### Source
67
52
 
68
- node_modules/typescript/lib/lib.es2022.error.d.ts:26
53
+ node\_modules/typescript/lib/lib.es2022.error.d.ts:26
69
54
 
70
- ___
55
+ ***
71
56
 
72
57
  ### errorCode
73
58
 
74
- **errorCode**: `string`
59
+ > **errorCode**: `string`
75
60
 
76
61
  Código do erro, indica o erro disparado pelo backend.
77
62
 
78
- #### Defined in
63
+ #### Source
79
64
 
80
65
  src/exceptions/ErrorException.ts:16
81
66
 
82
- ___
67
+ ***
83
68
 
84
69
  ### message
85
70
 
86
- **message**: `string`
71
+ > **message**: `string`
87
72
 
88
73
  Descrição do erro.
89
74
 
90
75
  #### Overrides
91
76
 
92
- Error.message
77
+ `Error.message`
93
78
 
94
- #### Defined in
79
+ #### Source
95
80
 
96
81
  src/exceptions/ErrorException.ts:13
97
82
 
98
- ___
83
+ ***
99
84
 
100
85
  ### name
101
86
 
102
- **name**: `string`
87
+ > **name**: `string`
103
88
 
104
89
  Nome da exceção.
105
90
 
106
91
  #### Overrides
107
92
 
108
- Error.name
93
+ `Error.name`
109
94
 
110
- #### Defined in
95
+ #### Source
111
96
 
112
97
  src/exceptions/ErrorException.ts:7
113
98
 
114
- ___
99
+ ***
115
100
 
116
- ### stack
101
+ ### stack?
117
102
 
118
- `Optional` **stack**: `string`
103
+ > `optional` **stack**: `string`
119
104
 
120
105
  #### Inherited from
121
106
 
122
- Error.stack
107
+ `Error.stack`
123
108
 
124
- #### Defined in
109
+ #### Source
125
110
 
126
- node_modules/typescript/lib/lib.es5.d.ts:1055
111
+ node\_modules/typescript/lib/lib.es5.d.ts:1055
127
112
 
128
- ___
113
+ ***
129
114
 
130
115
  ### title
131
116
 
132
- **title**: `string`
117
+ > **title**: `string`
133
118
 
134
119
  Titulo do erro.
135
120
 
136
- #### Defined in
121
+ #### Source
137
122
 
138
123
  src/exceptions/ErrorException.ts:10
139
124
 
140
- ___
141
-
142
- ### prepareStackTrace
125
+ ***
143
126
 
144
- `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
127
+ ### prepareStackTrace()?
145
128
 
146
- #### Type declaration
147
-
148
- ▸ (`err`, `stackTraces`): `any`
129
+ > `static` `optional` **prepareStackTrace**: (`err`, `stackTraces`) => `any`
149
130
 
150
131
  Optional override for formatting stack traces
151
132
 
152
- **`See`**
133
+ #### See
153
134
 
154
135
  https://v8.dev/docs/stack-trace-api#customizing-stack-traces
155
136
 
156
- ##### Parameters
137
+ #### Parameters
157
138
 
158
- | Name | Type |
159
- | :------ | :------ |
160
- | `err` | `Error` |
161
- | `stackTraces` | `CallSite`[] |
139
+ **err**: `Error`
162
140
 
163
- ##### Returns
141
+ **stackTraces**: `CallSite`[]
142
+
143
+ #### Returns
164
144
 
165
145
  `any`
166
146
 
167
147
  #### Inherited from
168
148
 
169
- Error.prepareStackTrace
149
+ `Error.prepareStackTrace`
170
150
 
171
- #### Defined in
151
+ #### Source
172
152
 
173
- node_modules/@types/node/globals.d.ts:11
153
+ node\_modules/@types/node/globals.d.ts:27
174
154
 
175
- ___
155
+ ***
176
156
 
177
157
  ### stackTraceLimit
178
158
 
179
- `Static` **stackTraceLimit**: `number`
159
+ > `static` **stackTraceLimit**: `number`
180
160
 
181
161
  #### Inherited from
182
162
 
183
- Error.stackTraceLimit
163
+ `Error.stackTraceLimit`
184
164
 
185
- #### Defined in
165
+ #### Source
186
166
 
187
- node_modules/@types/node/globals.d.ts:13
167
+ node\_modules/@types/node/globals.d.ts:29
188
168
 
189
169
  ## Methods
190
170
 
191
- ### captureStackTrace
171
+ ### captureStackTrace()
192
172
 
193
- `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
173
+ > `static` **captureStackTrace**(`targetObject`, `constructorOpt`?): `void`
194
174
 
195
175
  Create .stack property on a target object
196
176
 
197
177
  #### Parameters
198
178
 
199
- | Name | Type |
200
- | :------ | :------ |
201
- | `targetObject` | `object` |
202
- | `constructorOpt?` | `Function` |
179
+ **targetObject**: `object`
180
+
181
+ **constructorOpt?**: `Function`
203
182
 
204
183
  #### Returns
205
184
 
@@ -207,8 +186,8 @@ Create .stack property on a target object
207
186
 
208
187
  #### Inherited from
209
188
 
210
- Error.captureStackTrace
189
+ `Error.captureStackTrace`
211
190
 
212
- #### Defined in
191
+ #### Source
213
192
 
214
- node_modules/@types/node/globals.d.ts:4
193
+ node\_modules/@types/node/globals.d.ts:20
@@ -1,31 +1,28 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ErrorTracking
1
+ [**@sankhyalabs/core**](../README.md) **Docs**
2
2
 
3
- # Class: ErrorTracking
4
-
5
- `ErrorTracking`: Handler para processar exceptions lançadas.
3
+ ***
6
4
 
7
- ## Table of contents
5
+ [@sankhyalabs/core](../globals.md) / ErrorTracking
8
6
 
9
- ### Constructors
7
+ # Class: ErrorTracking
10
8
 
11
- - [constructor](ErrorTracking.md#constructor)
9
+ `ErrorTracking`: Handler para processar exceptions lançadas.
12
10
 
13
- ### Methods
11
+ ## Constructors
14
12
 
15
- - [init](ErrorTracking.md#init)
16
- - [isInternalException](ErrorTracking.md#isinternalexception)
13
+ ### new ErrorTracking()
17
14
 
18
- ## Constructors
15
+ > **new ErrorTracking**(): [`ErrorTracking`](ErrorTracking.md)
19
16
 
20
- ### constructor
17
+ #### Returns
21
18
 
22
- • **new ErrorTracking**()
19
+ [`ErrorTracking`](ErrorTracking.md)
23
20
 
24
21
  ## Methods
25
22
 
26
- ### init
23
+ ### init()
27
24
 
28
- `Static` **init**(): `void`
25
+ > `static` **init**(): `void`
29
26
 
30
27
  Inicializa o Rollbar, utilizado para rastreio de erros e análise de logs.
31
28
 
@@ -33,23 +30,23 @@ Inicializa o Rollbar, utilizado para rastreio de erros e análise de logs.
33
30
 
34
31
  `void`
35
32
 
36
- #### Defined in
33
+ #### Source
37
34
 
38
35
  src/traking/ErrorTraking.ts:16
39
36
 
40
- ___
37
+ ***
41
38
 
42
- ### isInternalException
39
+ ### isInternalException()
43
40
 
44
- `Static` `Private` **isInternalException**(`error`): `boolean`
41
+ > `static` `private` **isInternalException**(`error`): `boolean`
45
42
 
46
43
  Retorna se o erro é uma exceção interna na aplicação.
47
44
 
48
45
  #### Parameters
49
46
 
50
- | Name | Type | Description |
51
- | :------ | :------ | :------ |
52
- | `error` | `any` | Erro que será identificado como exceção interna ou não. |
47
+ **error**: `any`
48
+
49
+ Erro que será identificado como exceção interna ou não.
53
50
 
54
51
  #### Returns
55
52
 
@@ -57,6 +54,6 @@ Retorna se o erro é uma exceção interna na aplicação.
57
54
 
58
55
  - Verdadeiro caso seja uma exceção interna.
59
56
 
60
- #### Defined in
57
+ #### Source
61
58
 
62
59
  src/traking/ErrorTraking.ts:34
@@ -1,87 +1,83 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / FieldComparator
1
+ [**@sankhyalabs/core**](../README.md) **Docs**
2
2
 
3
- # Class: FieldComparator
4
-
5
- ## Table of contents
3
+ ***
6
4
 
7
- ### Constructors
5
+ [@sankhyalabs/core](../globals.md) / FieldComparator
8
6
 
9
- - [constructor](FieldComparator.md#constructor)
7
+ # Class: FieldComparator
10
8
 
11
- ### Methods
9
+ ## Constructors
12
10
 
13
- - [compare](FieldComparator.md#compare)
14
- - [compareUndefined](FieldComparator.md#compareundefined)
15
- - [compareValues](FieldComparator.md#comparevalues)
11
+ ### new FieldComparator()
16
12
 
17
- ## Constructors
13
+ > **new FieldComparator**(): [`FieldComparator`](FieldComparator.md)
18
14
 
19
- ### constructor
15
+ #### Returns
20
16
 
21
- • **new FieldComparator**()
17
+ [`FieldComparator`](FieldComparator.md)
22
18
 
23
19
  ## Methods
24
20
 
25
- ### compare
21
+ ### compare()
26
22
 
27
- `Static` **compare**(`field`, `recordA`, `recordB`, `asc?`): `number`
23
+ > `static` **compare**(`field`, `recordA`, `recordB`, `asc`): `number`
28
24
 
29
25
  #### Parameters
30
26
 
31
- | Name | Type | Default value |
32
- | :------ | :------ | :------ |
33
- | `field` | [`FieldDescriptor`](../interfaces/FieldDescriptor.md) | `undefined` |
34
- | `recordA` | [`Record`](../interfaces/Record.md) | `undefined` |
35
- | `recordB` | [`Record`](../interfaces/Record.md) | `undefined` |
36
- | `asc` | `boolean` | `true` |
27
+ **field**: [`FieldDescriptor`](../interfaces/FieldDescriptor.md)
28
+
29
+ **recordA**: [`Record`](../interfaces/Record.md)
30
+
31
+ **recordB**: [`Record`](../interfaces/Record.md)
32
+
33
+ • **asc**: `boolean`= `true`
37
34
 
38
35
  #### Returns
39
36
 
40
37
  `number`
41
38
 
42
- #### Defined in
39
+ #### Source
43
40
 
44
41
  src/dataunit/sorting/FieldComparator.ts:7
45
42
 
46
- ___
43
+ ***
47
44
 
48
- ### compareUndefined
45
+ ### compareUndefined()
49
46
 
50
- `Static` **compareUndefined**(`isUndefinedA`, `isUndefinedB`): `undefined` \| `number`
47
+ > `static` **compareUndefined**(`isUndefinedA`, `isUndefinedB`): `undefined` \| `number`
51
48
 
52
49
  #### Parameters
53
50
 
54
- | Name | Type |
55
- | :------ | :------ |
56
- | `isUndefinedA` | `boolean` |
57
- | `isUndefinedB` | `boolean` |
51
+ **isUndefinedA**: `boolean`
52
+
53
+ **isUndefinedB**: `boolean`
58
54
 
59
55
  #### Returns
60
56
 
61
57
  `undefined` \| `number`
62
58
 
63
- #### Defined in
59
+ #### Source
64
60
 
65
61
  src/dataunit/sorting/FieldComparator.ts:26
66
62
 
67
- ___
63
+ ***
68
64
 
69
- ### compareValues
65
+ ### compareValues()
70
66
 
71
- `Static` **compareValues**(`descriptor`, `valueA`, `valueB`): `number`
67
+ > `static` **compareValues**(`descriptor`, `valueA`, `valueB`): `number`
72
68
 
73
69
  #### Parameters
74
70
 
75
- | Name | Type |
76
- | :------ | :------ |
77
- | `descriptor` | [`FieldDescriptor`](../interfaces/FieldDescriptor.md) |
78
- | `valueA` | `any` |
79
- | `valueB` | `any` |
71
+ **descriptor**: [`FieldDescriptor`](../interfaces/FieldDescriptor.md)
72
+
73
+ **valueA**: `any`
74
+
75
+ **valueB**: `any`
80
76
 
81
77
  #### Returns
82
78
 
83
79
  `number`
84
80
 
85
- #### Defined in
81
+ #### Source
86
82
 
87
83
  src/dataunit/sorting/FieldComparator.ts:16