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

Sign up to get free protection for your applications and to get access to all the features.
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,60 +1,50 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / TimeFormatter
1
+ [**@sankhyalabs/core**](../README.md) **Docs**
2
2
 
3
- # Class: TimeFormatter
4
-
5
- `TimeFormatter`: Utilizado para formatar horas.
6
-
7
- ## Table of contents
3
+ ***
8
4
 
9
- ### Constructors
5
+ [@sankhyalabs/core](../globals.md) / TimeFormatter
10
6
 
11
- - [constructor](TimeFormatter.md#constructor)
12
-
13
- ### Properties
7
+ # Class: TimeFormatter
14
8
 
15
- - [\_maskFormatter](TimeFormatter.md#_maskformatter)
9
+ `TimeFormatter`: Utilizado para formatar horas.
16
10
 
17
- ### Methods
11
+ ## Constructors
18
12
 
19
- - [prepareValue](TimeFormatter.md#preparevalue)
20
- - [validateTime](TimeFormatter.md#validatetime)
13
+ ### new TimeFormatter()
21
14
 
22
- ## Constructors
15
+ > **new TimeFormatter**(): [`TimeFormatter`](TimeFormatter.md)
23
16
 
24
- ### constructor
17
+ #### Returns
25
18
 
26
- • **new TimeFormatter**()
19
+ [`TimeFormatter`](TimeFormatter.md)
27
20
 
28
21
  ## Properties
29
22
 
30
23
  ### \_maskFormatter
31
24
 
32
- `Static` **\_maskFormatter**: [`MaskFormatter`](MaskFormatter-1.md)
25
+ > `static` **\_maskFormatter**: [`MaskFormatter`](MaskFormatter.md)
33
26
 
34
- #### Defined in
27
+ #### Source
35
28
 
36
29
  src/utils/TimeFormatter.ts:8
37
30
 
38
31
  ## Methods
39
32
 
40
- ### prepareValue
33
+ ### prepareValue()
41
34
 
42
- `Static` **prepareValue**(`value`, `showSeconds`): `string`
35
+ > `static` **prepareValue**(`value`, `showSeconds`): `string`
43
36
 
44
37
  Converte um texto para o formato de hora.
45
38
 
46
- **`Exemples`**
39
+ #### Parameters
47
40
 
48
- @"1012" | "10:12"
49
- @"10:12" | "10:12:00"
50
- @"100112" | "10:01:12"
41
+ • **value**: `string`
51
42
 
52
- #### Parameters
43
+ Texto não formatado.
44
+
45
+ • **showSeconds**: `boolean`
53
46
 
54
- | Name | Type | Description |
55
- | :------ | :------ | :------ |
56
- | `value` | `string` | Texto não formatado. |
57
- | `showSeconds` | `boolean` | Se será validado os segundos. |
47
+ Se será validado os segundos.
58
48
 
59
49
  #### Returns
60
50
 
@@ -62,30 +52,33 @@ Converte um texto para o formato de hora.
62
52
 
63
53
  - Texto em formato de hora.
64
54
 
65
- #### Defined in
55
+ #### Exemples
56
+
57
+ @"1012" | "10:12"
58
+ @"10:12" | "10:12:00"
59
+ @"100112" | "10:01:12"
60
+
61
+ #### Source
66
62
 
67
63
  src/utils/TimeFormatter.ts:22
68
64
 
69
- ___
65
+ ***
70
66
 
71
- ### validateTime
67
+ ### validateTime()
72
68
 
73
- `Static` **validateTime**(`value`, `showSeconds`): `boolean`
69
+ > `static` **validateTime**(`value`, `showSeconds`): `boolean`
74
70
 
75
71
  Retorna se o texto está no formato de hora.
76
72
 
77
- **`Exemples`**
73
+ #### Parameters
78
74
 
79
- @"1012" | true
80
- @"14e4" | false
81
- @"2624" | false
75
+ • **value**: `string`
82
76
 
83
- #### Parameters
77
+ Texto a ser validado.
84
78
 
85
- | Name | Type | Description |
86
- | :------ | :------ | :------ |
87
- | `value` | `string` | Texto a ser validado. |
88
- | `showSeconds` | `boolean` | Se será validado os segundos. |
79
+ **showSeconds**: `boolean`
80
+
81
+ Se será validado os segundos.
89
82
 
90
83
  #### Returns
91
84
 
@@ -93,6 +86,12 @@ Retorna se o texto está no formato de hora.
93
86
 
94
87
  - Verdadeiro para valores no formato de hora e False para formatos diferentes.
95
88
 
96
- #### Defined in
89
+ #### Exemples
90
+
91
+ @"1012" | true
92
+ @"14e4" | false
93
+ @"2624" | false
94
+
95
+ #### Source
97
96
 
98
97
  src/utils/TimeFormatter.ts:64
@@ -1,31 +1,28 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / UserAgentUtils
1
+ [**@sankhyalabs/core**](../README.md) **Docs**
2
2
 
3
- # Class: UserAgentUtils
4
-
5
- `UserAgentUtils`: Utilitario para tratativas relacionadas ao navegador.
3
+ ***
6
4
 
7
- ## Table of contents
5
+ [@sankhyalabs/core](../globals.md) / UserAgentUtils
8
6
 
9
- ### Constructors
7
+ # Class: UserAgentUtils
10
8
 
11
- - [constructor](UserAgentUtils.md#constructor)
9
+ `UserAgentUtils`: Utilitario para tratativas relacionadas ao navegador.
12
10
 
13
- ### Methods
11
+ ## Constructors
14
12
 
15
- - [getBrowserInfo](UserAgentUtils.md#getbrowserinfo)
16
- - [isFirefox](UserAgentUtils.md#isfirefox)
13
+ ### new UserAgentUtils()
17
14
 
18
- ## Constructors
15
+ > **new UserAgentUtils**(): [`UserAgentUtils`](UserAgentUtils.md)
19
16
 
20
- ### constructor
17
+ #### Returns
21
18
 
22
- • **new UserAgentUtils**()
19
+ [`UserAgentUtils`](UserAgentUtils.md)
23
20
 
24
21
  ## Methods
25
22
 
26
- ### getBrowserInfo
23
+ ### getBrowserInfo()
27
24
 
28
- `Static` **getBrowserInfo**(): `any`
25
+ > `static` **getBrowserInfo**(): `any`
29
26
 
30
27
  Obtém nome e versão do navegador que está sendo utilizado.
31
28
 
@@ -35,15 +32,15 @@ Obtém nome e versão do navegador que está sendo utilizado.
35
32
 
36
33
  Objeto com o nome e versão do navegador.
37
34
 
38
- #### Defined in
35
+ #### Source
39
36
 
40
37
  src/utils/UserAgentUtils/index.ts:22
41
38
 
42
- ___
39
+ ***
43
40
 
44
- ### isFirefox
41
+ ### isFirefox()
45
42
 
46
- `Static` **isFirefox**(): `boolean`
43
+ > `static` **isFirefox**(): `boolean`
47
44
 
48
45
  Obtém se o navegador do usuário é o firefox.
49
46
 
@@ -53,6 +50,6 @@ Obtém se o navegador do usuário é o firefox.
53
50
 
54
51
  Verdadeiro se o navegador do usuário for o firefox.
55
52
 
56
- #### Defined in
53
+ #### Source
57
54
 
58
55
  src/utils/UserAgentUtils/index.ts:13
@@ -1,42 +1,39 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / VersionUtils
1
+ [**@sankhyalabs/core**](../README.md) **Docs**
2
2
 
3
- # Class: VersionUtils
3
+ ***
4
4
 
5
- ## Table of contents
5
+ [@sankhyalabs/core](../globals.md) / VersionUtils
6
6
 
7
- ### Constructors
7
+ # Class: VersionUtils
8
8
 
9
- - [constructor](VersionUtils.md#constructor)
9
+ ## Constructors
10
10
 
11
- ### Methods
11
+ ### new VersionUtils()
12
12
 
13
- - [isRequiredVersion](VersionUtils.md#isrequiredversion)
13
+ > **new VersionUtils**(): [`VersionUtils`](VersionUtils.md)
14
14
 
15
- ## Constructors
16
-
17
- ### constructor
15
+ #### Returns
18
16
 
19
- • **new VersionUtils**()
17
+ [`VersionUtils`](VersionUtils.md)
20
18
 
21
19
  ## Methods
22
20
 
23
- ### isRequiredVersion
21
+ ### isRequiredVersion()
24
22
 
25
- `Static` **isRequiredVersion**(`currentVersion`, `requiredVersion`): `boolean`
23
+ > `static` **isRequiredVersion**(`currentVersion`, `requiredVersion`): `boolean`
26
24
 
27
25
  Verifica se a versão do backend (SankhyaOM) é maior ou igual a uma determinada versão.
28
26
 
29
27
  #### Parameters
30
28
 
31
- | Name | Type |
32
- | :------ | :------ |
33
- | `currentVersion` | `string` |
34
- | `requiredVersion` | `string` |
29
+ **currentVersion**: `string`
30
+
31
+ **requiredVersion**: `string`
35
32
 
36
33
  #### Returns
37
34
 
38
35
  `boolean`
39
36
 
40
- #### Defined in
37
+ #### Source
41
38
 
42
39
  src/utils/VersionUtils.ts:8
@@ -1,191 +1,170 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / WaitingChangeException
1
+ [**@sankhyalabs/core**](../README.md) **Docs**
2
+
3
+ ***
4
+
5
+ [@sankhyalabs/core](../globals.md) / WaitingChangeException
2
6
 
3
7
  # Class: WaitingChangeException
4
8
 
5
9
  `WaitingChangeException`: Exceção lançada quando um campo está pendente de finalizar a alteração antes de executar uma ação.
6
10
 
7
- ## Hierarchy
11
+ ## Extends
8
12
 
9
13
  - `Error`
10
14
 
11
- **`WaitingChangeException`**
12
-
13
- ## Table of contents
14
-
15
- ### Constructors
16
-
17
- - [constructor](WaitingChangeException.md#constructor)
18
-
19
- ### Properties
20
-
21
- - [cause](WaitingChangeException.md#cause)
22
- - [message](WaitingChangeException.md#message)
23
- - [name](WaitingChangeException.md#name)
24
- - [stack](WaitingChangeException.md#stack)
25
- - [title](WaitingChangeException.md#title)
26
- - [prepareStackTrace](WaitingChangeException.md#preparestacktrace)
27
- - [stackTraceLimit](WaitingChangeException.md#stacktracelimit)
15
+ ## Constructors
28
16
 
29
- ### Methods
17
+ ### new WaitingChangeException()
30
18
 
31
- - [captureStackTrace](WaitingChangeException.md#capturestacktrace)
19
+ > **new WaitingChangeException**(`title`, `message`): [`WaitingChangeException`](WaitingChangeException.md)
32
20
 
33
- ## Constructors
21
+ #### Parameters
34
22
 
35
- ### constructor
23
+ **title**: `string`
36
24
 
37
- • **new WaitingChangeException**(`title`, `message`)
25
+ • **message**: `string`
38
26
 
39
- #### Parameters
27
+ #### Returns
40
28
 
41
- | Name | Type |
42
- | :------ | :------ |
43
- | `title` | `string` |
44
- | `message` | `string` |
29
+ [`WaitingChangeException`](WaitingChangeException.md)
45
30
 
46
31
  #### Overrides
47
32
 
48
- Error.constructor
33
+ `Error.constructor`
49
34
 
50
- #### Defined in
35
+ #### Source
51
36
 
52
37
  src/exceptions/WaitingChangeException.ts:15
53
38
 
54
39
  ## Properties
55
40
 
56
- ### cause
41
+ ### cause?
57
42
 
58
- `Optional` **cause**: `unknown`
43
+ > `optional` **cause**: `unknown`
59
44
 
60
45
  #### Inherited from
61
46
 
62
- Error.cause
47
+ `Error.cause`
63
48
 
64
- #### Defined in
49
+ #### Source
65
50
 
66
- node_modules/typescript/lib/lib.es2022.error.d.ts:26
51
+ node\_modules/typescript/lib/lib.es2022.error.d.ts:26
67
52
 
68
- ___
53
+ ***
69
54
 
70
55
  ### message
71
56
 
72
- **message**: `string`
57
+ > **message**: `string`
73
58
 
74
59
  Descrição do erro.
75
60
 
76
61
  #### Overrides
77
62
 
78
- Error.message
63
+ `Error.message`
79
64
 
80
- #### Defined in
65
+ #### Source
81
66
 
82
67
  src/exceptions/WaitingChangeException.ts:13
83
68
 
84
- ___
69
+ ***
85
70
 
86
71
  ### name
87
72
 
88
- **name**: `string`
73
+ > **name**: `string`
89
74
 
90
75
  Nome da exceção.
91
76
 
92
77
  #### Overrides
93
78
 
94
- Error.name
79
+ `Error.name`
95
80
 
96
- #### Defined in
81
+ #### Source
97
82
 
98
83
  src/exceptions/WaitingChangeException.ts:7
99
84
 
100
- ___
85
+ ***
101
86
 
102
- ### stack
87
+ ### stack?
103
88
 
104
- `Optional` **stack**: `string`
89
+ > `optional` **stack**: `string`
105
90
 
106
91
  #### Inherited from
107
92
 
108
- Error.stack
93
+ `Error.stack`
109
94
 
110
- #### Defined in
95
+ #### Source
111
96
 
112
- node_modules/typescript/lib/lib.es5.d.ts:1055
97
+ node\_modules/typescript/lib/lib.es5.d.ts:1055
113
98
 
114
- ___
99
+ ***
115
100
 
116
101
  ### title
117
102
 
118
- **title**: `string`
103
+ > **title**: `string`
119
104
 
120
105
  Titulo do erro.
121
106
 
122
- #### Defined in
107
+ #### Source
123
108
 
124
109
  src/exceptions/WaitingChangeException.ts:10
125
110
 
126
- ___
127
-
128
- ### prepareStackTrace
111
+ ***
129
112
 
130
- `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
113
+ ### prepareStackTrace()?
131
114
 
132
- #### Type declaration
133
-
134
- ▸ (`err`, `stackTraces`): `any`
115
+ > `static` `optional` **prepareStackTrace**: (`err`, `stackTraces`) => `any`
135
116
 
136
117
  Optional override for formatting stack traces
137
118
 
138
- **`See`**
119
+ #### See
139
120
 
140
121
  https://v8.dev/docs/stack-trace-api#customizing-stack-traces
141
122
 
142
- ##### Parameters
123
+ #### Parameters
143
124
 
144
- | Name | Type |
145
- | :------ | :------ |
146
- | `err` | `Error` |
147
- | `stackTraces` | `CallSite`[] |
125
+ **err**: `Error`
148
126
 
149
- ##### Returns
127
+ **stackTraces**: `CallSite`[]
128
+
129
+ #### Returns
150
130
 
151
131
  `any`
152
132
 
153
133
  #### Inherited from
154
134
 
155
- Error.prepareStackTrace
135
+ `Error.prepareStackTrace`
156
136
 
157
- #### Defined in
137
+ #### Source
158
138
 
159
- node_modules/@types/node/globals.d.ts:11
139
+ node\_modules/@types/node/globals.d.ts:27
160
140
 
161
- ___
141
+ ***
162
142
 
163
143
  ### stackTraceLimit
164
144
 
165
- `Static` **stackTraceLimit**: `number`
145
+ > `static` **stackTraceLimit**: `number`
166
146
 
167
147
  #### Inherited from
168
148
 
169
- Error.stackTraceLimit
149
+ `Error.stackTraceLimit`
170
150
 
171
- #### Defined in
151
+ #### Source
172
152
 
173
- node_modules/@types/node/globals.d.ts:13
153
+ node\_modules/@types/node/globals.d.ts:29
174
154
 
175
155
  ## Methods
176
156
 
177
- ### captureStackTrace
157
+ ### captureStackTrace()
178
158
 
179
- `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
159
+ > `static` **captureStackTrace**(`targetObject`, `constructorOpt`?): `void`
180
160
 
181
161
  Create .stack property on a target object
182
162
 
183
163
  #### Parameters
184
164
 
185
- | Name | Type |
186
- | :------ | :------ |
187
- | `targetObject` | `object` |
188
- | `constructorOpt?` | `Function` |
165
+ **targetObject**: `object`
166
+
167
+ **constructorOpt?**: `Function`
189
168
 
190
169
  #### Returns
191
170
 
@@ -193,8 +172,8 @@ Create .stack property on a target object
193
172
 
194
173
  #### Inherited from
195
174
 
196
- Error.captureStackTrace
175
+ `Error.captureStackTrace`
197
176
 
198
- #### Defined in
177
+ #### Source
199
178
 
200
- node_modules/@types/node/globals.d.ts:4
179
+ node\_modules/@types/node/globals.d.ts:20