@sankhyalabs/core-docs 0.0.0-hotfix-ga-KB-4098.0

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 (59) hide show
  1. package/README.md +63 -0
  2. package/classes/ApplicationContext.md +90 -0
  3. package/classes/ArrayUtils.md +99 -0
  4. package/classes/AuthorizedServiceCaller.md +76 -0
  5. package/classes/Change.md +190 -0
  6. package/classes/DataUnit.md +2427 -0
  7. package/classes/DataUnitAction.md +96 -0
  8. package/classes/DataUnitStorage.md +116 -0
  9. package/classes/DateUtils.md +327 -0
  10. package/classes/ElementIDUtils.md +308 -0
  11. package/classes/ErrorException.md +214 -0
  12. package/classes/ErrorTracking.md +62 -0
  13. package/classes/FloatingManager.md +530 -0
  14. package/classes/HttpProvider.md +96 -0
  15. package/classes/JSUtils.md +115 -0
  16. package/classes/MaskFormatter-1.md +347 -0
  17. package/classes/NumberUtils.md +335 -0
  18. package/classes/ObjectUtils.md +160 -0
  19. package/classes/OnboardingUtils.md +126 -0
  20. package/classes/PromiseSync.md +91 -0
  21. package/classes/ReadyUtil.md +115 -0
  22. package/classes/RequestMetadata.md +84 -0
  23. package/classes/SelectionInfo.md +168 -0
  24. package/classes/SkwHttpProvider.md +109 -0
  25. package/classes/StringUtils.md +562 -0
  26. package/classes/TimeFormatter.md +98 -0
  27. package/classes/UserAgentUtils.md +58 -0
  28. package/classes/VersionUtils.md +42 -0
  29. package/classes/WaitingChangeException.md +200 -0
  30. package/classes/WarningException.md +214 -0
  31. package/enums/Action.md +283 -0
  32. package/enums/ChangeOperation.md +52 -0
  33. package/enums/DataType.md +63 -0
  34. package/enums/DependencyType.md +41 -0
  35. package/enums/SelectionMode.md +30 -0
  36. package/enums/SortMode.md +30 -0
  37. package/enums/UserInterface.md +195 -0
  38. package/interfaces/ChildDescriptor.md +41 -0
  39. package/interfaces/ChildLink.md +30 -0
  40. package/interfaces/DUActionInterceptor.md +29 -0
  41. package/interfaces/ExecutionContext.md +58 -0
  42. package/interfaces/FieldDescriptor.md +140 -0
  43. package/interfaces/Filter.md +41 -0
  44. package/interfaces/IElementIDInfo.md +30 -0
  45. package/interfaces/LoadDataRequest.md +101 -0
  46. package/interfaces/LoadDataResponse.md +36 -0
  47. package/interfaces/PageRequest.md +41 -0
  48. package/interfaces/PaginationInfo.md +75 -0
  49. package/interfaces/PromiseSyncCallback.md +39 -0
  50. package/interfaces/QuickFilter.md +41 -0
  51. package/interfaces/Record.md +62 -0
  52. package/interfaces/SavedRecord.md +85 -0
  53. package/interfaces/Sort.md +41 -0
  54. package/interfaces/SortingProvider.md +29 -0
  55. package/interfaces/UnitMetadata.md +52 -0
  56. package/interfaces/WaitingChange.md +41 -0
  57. package/modules/MaskFormatter.md +37 -0
  58. package/modules.md +73 -0
  59. package/package.json +14 -0
@@ -0,0 +1,41 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / Filter
2
+
3
+ # Interface: Filter
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [expression](Filter.md#expression)
10
+ - [name](Filter.md#name)
11
+ - [params](Filter.md#params)
12
+
13
+ ## Properties
14
+
15
+ ### expression
16
+
17
+ • **expression**: `string`
18
+
19
+ #### Defined in
20
+
21
+ src/dataunit/metadata/UnitMetadata.ts:44
22
+
23
+ ___
24
+
25
+ ### name
26
+
27
+ • **name**: `string`
28
+
29
+ #### Defined in
30
+
31
+ src/dataunit/metadata/UnitMetadata.ts:43
32
+
33
+ ___
34
+
35
+ ### params
36
+
37
+ • `Optional` **params**: `FilterParam`[]
38
+
39
+ #### Defined in
40
+
41
+ src/dataunit/metadata/UnitMetadata.ts:45
@@ -0,0 +1,30 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / IElementIDInfo
2
+
3
+ # Interface: IElementIDInfo
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [dataUnit](IElementIDInfo.md#dataunit)
10
+ - [id](IElementIDInfo.md#id)
11
+
12
+ ## Properties
13
+
14
+ ### dataUnit
15
+
16
+ • `Optional` **dataUnit**: [`DataUnit`](../classes/DataUnit.md)
17
+
18
+ #### Defined in
19
+
20
+ src/utils/ElementIDUtils.ts:7
21
+
22
+ ___
23
+
24
+ ### id
25
+
26
+ • `Optional` **id**: `string`
27
+
28
+ #### Defined in
29
+
30
+ src/utils/ElementIDUtils.ts:6
@@ -0,0 +1,101 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / LoadDataRequest
2
+
3
+ # Interface: LoadDataRequest
4
+
5
+ Atributos enviados na requisição de carregamento dos registros
6
+
7
+ ## Table of contents
8
+
9
+ ### Properties
10
+
11
+ - [filters](LoadDataRequest.md#filters)
12
+ - [keepSelection](LoadDataRequest.md#keepselection)
13
+ - [limit](LoadDataRequest.md#limit)
14
+ - [offset](LoadDataRequest.md#offset)
15
+ - [parentRecordId](LoadDataRequest.md#parentrecordid)
16
+ - [quickFilter](LoadDataRequest.md#quickfilter)
17
+ - [sort](LoadDataRequest.md#sort)
18
+
19
+ ## Properties
20
+
21
+ ### filters
22
+
23
+ • `Optional` **filters**: [`Filter`](Filter.md)[]
24
+
25
+ Filtros
26
+
27
+ #### Defined in
28
+
29
+ src/dataunit/loading/LoadDataRequest.ts:16
30
+
31
+ ___
32
+
33
+ ### keepSelection
34
+
35
+ • `Optional` **keepSelection**: `boolean`
36
+
37
+ Na navegação de páginas devemos manter a seleção
38
+
39
+ #### Defined in
40
+
41
+ src/dataunit/loading/LoadDataRequest.ts:25
42
+
43
+ ___
44
+
45
+ ### limit
46
+
47
+ • `Optional` **limit**: `number`
48
+
49
+ Quantidade de registros que será retornado
50
+
51
+ #### Defined in
52
+
53
+ src/dataunit/loading/LoadDataRequest.ts:10
54
+
55
+ ___
56
+
57
+ ### offset
58
+
59
+ • `Optional` **offset**: `number`
60
+
61
+ Indice inicial dos registros que será retornado
62
+
63
+ #### Defined in
64
+
65
+ src/dataunit/loading/LoadDataRequest.ts:7
66
+
67
+ ___
68
+
69
+ ### parentRecordId
70
+
71
+ • `Optional` **parentRecordId**: `string`
72
+
73
+ Info parent
74
+
75
+ #### Defined in
76
+
77
+ src/dataunit/loading/LoadDataRequest.ts:22
78
+
79
+ ___
80
+
81
+ ### quickFilter
82
+
83
+ • `Optional` **quickFilter**: [`QuickFilter`](QuickFilter.md)
84
+
85
+ Filtro rápido
86
+
87
+ #### Defined in
88
+
89
+ src/dataunit/loading/LoadDataRequest.ts:13
90
+
91
+ ___
92
+
93
+ ### sort
94
+
95
+ • `Optional` **sort**: [`Sort`](Sort.md)[]
96
+
97
+ Ordenação dos resultados
98
+
99
+ #### Defined in
100
+
101
+ src/dataunit/loading/LoadDataRequest.ts:19
@@ -0,0 +1,36 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / LoadDataResponse
2
+
3
+ # Interface: LoadDataResponse
4
+
5
+ Retorno dos registros da requisição de carregamento de dados
6
+
7
+ ## Table of contents
8
+
9
+ ### Properties
10
+
11
+ - [paginationInfo](LoadDataResponse.md#paginationinfo)
12
+ - [records](LoadDataResponse.md#records)
13
+
14
+ ## Properties
15
+
16
+ ### paginationInfo
17
+
18
+ • `Optional` **paginationInfo**: [`PaginationInfo`](PaginationInfo.md)
19
+
20
+ Informações da paginação
21
+
22
+ #### Defined in
23
+
24
+ src/dataunit/loading/LoadDataResponse.ts:10
25
+
26
+ ___
27
+
28
+ ### records
29
+
30
+ • **records**: [`Record`](Record.md)[]
31
+
32
+ Registros retornados na requisição
33
+
34
+ #### Defined in
35
+
36
+ src/dataunit/loading/LoadDataResponse.ts:7
@@ -0,0 +1,41 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / PageRequest
2
+
3
+ # Interface: PageRequest
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [limit](PageRequest.md#limit)
10
+ - [offset](PageRequest.md#offset)
11
+ - [quickFilter](PageRequest.md#quickfilter)
12
+
13
+ ## Properties
14
+
15
+ ### limit
16
+
17
+ • **limit**: `number`
18
+
19
+ #### Defined in
20
+
21
+ src/dataunit/DataUnit.ts:1737
22
+
23
+ ___
24
+
25
+ ### offset
26
+
27
+ • **offset**: `number`
28
+
29
+ #### Defined in
30
+
31
+ src/dataunit/DataUnit.ts:1738
32
+
33
+ ___
34
+
35
+ ### quickFilter
36
+
37
+ • `Optional` **quickFilter**: [`QuickFilter`](QuickFilter.md)
38
+
39
+ #### Defined in
40
+
41
+ src/dataunit/DataUnit.ts:1739
@@ -0,0 +1,75 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / PaginationInfo
2
+
3
+ # Interface: PaginationInfo
4
+
5
+ Informações da paginação retornada na requisição de carregamento de registros
6
+
7
+ ## Table of contents
8
+
9
+ ### Properties
10
+
11
+ - [currentPage](PaginationInfo.md#currentpage)
12
+ - [firstRecord](PaginationInfo.md#firstrecord)
13
+ - [hasMore](PaginationInfo.md#hasmore)
14
+ - [lastRecord](PaginationInfo.md#lastrecord)
15
+ - [total](PaginationInfo.md#total)
16
+
17
+ ## Properties
18
+
19
+ ### currentPage
20
+
21
+ • **currentPage**: `number`
22
+
23
+ Página atual
24
+
25
+ #### Defined in
26
+
27
+ src/dataunit/loading/PaginationInfo.ts:5
28
+
29
+ ___
30
+
31
+ ### firstRecord
32
+
33
+ • **firstRecord**: `number`
34
+
35
+ Indice do primeiro registro na página
36
+
37
+ #### Defined in
38
+
39
+ src/dataunit/loading/PaginationInfo.ts:8
40
+
41
+ ___
42
+
43
+ ### hasMore
44
+
45
+ • **hasMore**: `boolean`
46
+
47
+ Se ainda existem mais registros além dos exibidos na página
48
+
49
+ #### Defined in
50
+
51
+ src/dataunit/loading/PaginationInfo.ts:17
52
+
53
+ ___
54
+
55
+ ### lastRecord
56
+
57
+ • **lastRecord**: `number`
58
+
59
+ Indice do último registro na página
60
+
61
+ #### Defined in
62
+
63
+ src/dataunit/loading/PaginationInfo.ts:11
64
+
65
+ ___
66
+
67
+ ### total
68
+
69
+ • **total**: `number`
70
+
71
+ Quantidade total de registros
72
+
73
+ #### Defined in
74
+
75
+ src/dataunit/loading/PaginationInfo.ts:14
@@ -0,0 +1,39 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / PromiseSyncCallback
2
+
3
+ # Interface: PromiseSyncCallback<T\>
4
+
5
+ Representa o callback de um sincronizador `PromiseSync<T>`.
6
+
7
+ ## Type parameters
8
+
9
+ | Name |
10
+ | :------ |
11
+ | `T` |
12
+
13
+ ## Table of contents
14
+
15
+ ### Methods
16
+
17
+ - [resolve](PromiseSyncCallback.md#resolve)
18
+
19
+ ## Methods
20
+
21
+ ### resolve
22
+
23
+ ▸ **resolve**(`result`): `void`
24
+
25
+ Será chamado sempre que todas as promessas adicionadas finalizarem.
26
+
27
+ #### Parameters
28
+
29
+ | Name | Type | Description |
30
+ | :------ | :------ | :------ |
31
+ | `result` | `PromiseSettledResult`<`Awaited`<`T`\>\>[] | A lista com o resultado de todas as promises aguardadas. |
32
+
33
+ #### Returns
34
+
35
+ `void`
36
+
37
+ #### Defined in
38
+
39
+ src/async/PromiseSync.ts:48
@@ -0,0 +1,41 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / QuickFilter
2
+
3
+ # Interface: QuickFilter
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [fields](QuickFilter.md#fields)
10
+ - [filter](QuickFilter.md#filter)
11
+ - [term](QuickFilter.md#term)
12
+
13
+ ## Properties
14
+
15
+ ### fields
16
+
17
+ • `Optional` **fields**: `string`[]
18
+
19
+ #### Defined in
20
+
21
+ src/dataunit/DataUnit.ts:1744
22
+
23
+ ___
24
+
25
+ ### filter
26
+
27
+ • `Optional` **filter**: [`Filter`](Filter.md)
28
+
29
+ #### Defined in
30
+
31
+ src/dataunit/DataUnit.ts:1745
32
+
33
+ ___
34
+
35
+ ### term
36
+
37
+ • **term**: `string`
38
+
39
+ #### Defined in
40
+
41
+ src/dataunit/DataUnit.ts:1743
@@ -0,0 +1,62 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / Record
2
+
3
+ # Interface: Record
4
+
5
+ ## Hierarchy
6
+
7
+ - **`Record`**
8
+
9
+ ↳ [`SavedRecord`](SavedRecord.md)
10
+
11
+ ## Indexable
12
+
13
+ ▪ [key: `string`]: `any`
14
+
15
+ ## Table of contents
16
+
17
+ ### Properties
18
+
19
+ - [\_\_owner\_\_dataunit\_\_name\_\_](Record.md#__owner__dataunit__name__)
20
+ - [\_\_parent\_\_record\_\_id\_\_](Record.md#__parent__record__id__)
21
+ - [\_\_record\_\_id\_\_](Record.md#__record__id__)
22
+ - [\_\_record\_\_label\_\_](Record.md#__record__label__)
23
+
24
+ ## Properties
25
+
26
+ ### \_\_owner\_\_dataunit\_\_name\_\_
27
+
28
+ • `Optional` **\_\_owner\_\_dataunit\_\_name\_\_**: `string`
29
+
30
+ #### Defined in
31
+
32
+ src/dataunit/DataUnit.ts:1637
33
+
34
+ ___
35
+
36
+ ### \_\_parent\_\_record\_\_id\_\_
37
+
38
+ • `Optional` **\_\_parent\_\_record\_\_id\_\_**: `string`
39
+
40
+ #### Defined in
41
+
42
+ src/dataunit/DataUnit.ts:1636
43
+
44
+ ___
45
+
46
+ ### \_\_record\_\_id\_\_
47
+
48
+ • **\_\_record\_\_id\_\_**: `string`
49
+
50
+ #### Defined in
51
+
52
+ src/dataunit/DataUnit.ts:1634
53
+
54
+ ___
55
+
56
+ ### \_\_record\_\_label\_\_
57
+
58
+ • `Optional` **\_\_record\_\_label\_\_**: `string`
59
+
60
+ #### Defined in
61
+
62
+ src/dataunit/DataUnit.ts:1635
@@ -0,0 +1,85 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / SavedRecord
2
+
3
+ # Interface: SavedRecord
4
+
5
+ ## Hierarchy
6
+
7
+ - [`Record`](Record.md)
8
+
9
+ ↳ **`SavedRecord`**
10
+
11
+ ## Table of contents
12
+
13
+ ### Properties
14
+
15
+ - [\_\_old\_\_id\_\_](SavedRecord.md#__old__id__)
16
+ - [\_\_owner\_\_dataunit\_\_name\_\_](SavedRecord.md#__owner__dataunit__name__)
17
+ - [\_\_parent\_\_record\_\_id\_\_](SavedRecord.md#__parent__record__id__)
18
+ - [\_\_record\_\_id\_\_](SavedRecord.md#__record__id__)
19
+ - [\_\_record\_\_label\_\_](SavedRecord.md#__record__label__)
20
+
21
+ ## Properties
22
+
23
+ ### \_\_old\_\_id\_\_
24
+
25
+ • `Optional` **\_\_old\_\_id\_\_**: `string`
26
+
27
+ #### Defined in
28
+
29
+ src/dataunit/DataUnit.ts:1642
30
+
31
+ ___
32
+
33
+ ### \_\_owner\_\_dataunit\_\_name\_\_
34
+
35
+ • `Optional` **\_\_owner\_\_dataunit\_\_name\_\_**: `string`
36
+
37
+ #### Inherited from
38
+
39
+ [Record](Record.md).[__owner__dataunit__name__](Record.md#__owner__dataunit__name__)
40
+
41
+ #### Defined in
42
+
43
+ src/dataunit/DataUnit.ts:1637
44
+
45
+ ___
46
+
47
+ ### \_\_parent\_\_record\_\_id\_\_
48
+
49
+ • `Optional` **\_\_parent\_\_record\_\_id\_\_**: `string`
50
+
51
+ #### Inherited from
52
+
53
+ [Record](Record.md).[__parent__record__id__](Record.md#__parent__record__id__)
54
+
55
+ #### Defined in
56
+
57
+ src/dataunit/DataUnit.ts:1636
58
+
59
+ ___
60
+
61
+ ### \_\_record\_\_id\_\_
62
+
63
+ • **\_\_record\_\_id\_\_**: `string`
64
+
65
+ #### Inherited from
66
+
67
+ [Record](Record.md).[__record__id__](Record.md#__record__id__)
68
+
69
+ #### Defined in
70
+
71
+ src/dataunit/DataUnit.ts:1634
72
+
73
+ ___
74
+
75
+ ### \_\_record\_\_label\_\_
76
+
77
+ • `Optional` **\_\_record\_\_label\_\_**: `string`
78
+
79
+ #### Inherited from
80
+
81
+ [Record](Record.md).[__record__label__](Record.md#__record__label__)
82
+
83
+ #### Defined in
84
+
85
+ src/dataunit/DataUnit.ts:1635
@@ -0,0 +1,41 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / Sort
2
+
3
+ # Interface: Sort
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [dataType](Sort.md#datatype)
10
+ - [field](Sort.md#field)
11
+ - [mode](Sort.md#mode)
12
+
13
+ ## Properties
14
+
15
+ ### dataType
16
+
17
+ • **dataType**: [`DataType`](../enums/DataType.md)
18
+
19
+ #### Defined in
20
+
21
+ src/dataunit/metadata/UnitMetadata.ts:57
22
+
23
+ ___
24
+
25
+ ### field
26
+
27
+ • **field**: `string`
28
+
29
+ #### Defined in
30
+
31
+ src/dataunit/metadata/UnitMetadata.ts:55
32
+
33
+ ___
34
+
35
+ ### mode
36
+
37
+ • **mode**: [`SortMode`](../enums/SortMode.md)
38
+
39
+ #### Defined in
40
+
41
+ src/dataunit/metadata/UnitMetadata.ts:56
@@ -0,0 +1,29 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / SortingProvider
2
+
3
+ # Interface: SortingProvider
4
+
5
+ ## Table of contents
6
+
7
+ ### Methods
8
+
9
+ - [getSort](SortingProvider.md#getsort)
10
+
11
+ ## Methods
12
+
13
+ ### getSort
14
+
15
+ ▸ **getSort**(`dataUnit`): `undefined` \| [`Sort`](Sort.md)[]
16
+
17
+ #### Parameters
18
+
19
+ | Name | Type |
20
+ | :------ | :------ |
21
+ | `dataUnit` | `string` |
22
+
23
+ #### Returns
24
+
25
+ `undefined` \| [`Sort`](Sort.md)[]
26
+
27
+ #### Defined in
28
+
29
+ src/dataunit/metadata/UnitMetadata.ts:66
@@ -0,0 +1,52 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / UnitMetadata
2
+
3
+ # Interface: UnitMetadata
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [children](UnitMetadata.md#children)
10
+ - [fields](UnitMetadata.md#fields)
11
+ - [label](UnitMetadata.md#label)
12
+ - [name](UnitMetadata.md#name)
13
+
14
+ ## Properties
15
+
16
+ ### children
17
+
18
+ • `Optional` **children**: [`ChildDescriptor`](ChildDescriptor.md)[]
19
+
20
+ #### Defined in
21
+
22
+ src/dataunit/metadata/UnitMetadata.ts:7
23
+
24
+ ___
25
+
26
+ ### fields
27
+
28
+ • **fields**: [`FieldDescriptor`](FieldDescriptor.md)[]
29
+
30
+ #### Defined in
31
+
32
+ src/dataunit/metadata/UnitMetadata.ts:6
33
+
34
+ ___
35
+
36
+ ### label
37
+
38
+ • **label**: `string`
39
+
40
+ #### Defined in
41
+
42
+ src/dataunit/metadata/UnitMetadata.ts:5
43
+
44
+ ___
45
+
46
+ ### name
47
+
48
+ • **name**: `string`
49
+
50
+ #### Defined in
51
+
52
+ src/dataunit/metadata/UnitMetadata.ts:4