@sankhyalabs/core-docs 2.3.0 → 2.3.1-SKA-61927.3

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 (49) hide show
  1. package/package.json +1 -1
  2. package/README.md +0 -57
  3. package/classes/ApplicationContext.md +0 -76
  4. package/classes/ArrayUtils.md +0 -89
  5. package/classes/AuthorizedServiceCaller.md +0 -76
  6. package/classes/Change.md +0 -168
  7. package/classes/DataUnit.md +0 -1394
  8. package/classes/DataUnitAction.md +0 -96
  9. package/classes/DateUtils.md +0 -190
  10. package/classes/ElementIDUtils.md +0 -222
  11. package/classes/ErrorException.md +0 -204
  12. package/classes/ErrorTracking.md +0 -54
  13. package/classes/FloatingManager.md +0 -384
  14. package/classes/HttpProvider.md +0 -96
  15. package/classes/MaskFormatter-1.md +0 -336
  16. package/classes/NumberUtils.md +0 -188
  17. package/classes/ObjectUtils.md +0 -81
  18. package/classes/ReadyUtil.md +0 -103
  19. package/classes/RequestMetadata.md +0 -84
  20. package/classes/SkwHttpProvider.md +0 -109
  21. package/classes/StringUtils.md +0 -315
  22. package/classes/TimeFormatter.md +0 -98
  23. package/classes/UserAgentUtils.md +0 -48
  24. package/classes/WaitingChangeException.md +0 -192
  25. package/classes/WarningException.md +0 -204
  26. package/enums/Action.md +0 -250
  27. package/enums/ChangeOperation.md +0 -52
  28. package/enums/DataType.md +0 -63
  29. package/enums/DependencyType.md +0 -41
  30. package/enums/SortMode.md +0 -30
  31. package/enums/UserInterface.md +0 -195
  32. package/interfaces/DUActionInterceptor.md +0 -29
  33. package/interfaces/ExecutionContext.md +0 -58
  34. package/interfaces/FieldDescriptor.md +0 -129
  35. package/interfaces/Filter.md +0 -41
  36. package/interfaces/IElementIDInfo.md +0 -30
  37. package/interfaces/LoadDataRequest.md +0 -63
  38. package/interfaces/LoadDataResponse.md +0 -30
  39. package/interfaces/PageRequest.md +0 -41
  40. package/interfaces/PaginationInfo.md +0 -63
  41. package/interfaces/QuickFilter.md +0 -30
  42. package/interfaces/Record.md +0 -40
  43. package/interfaces/SavedRecord.md +0 -55
  44. package/interfaces/Sort.md +0 -41
  45. package/interfaces/SortingProvider.md +0 -29
  46. package/interfaces/UnitMetadata.md +0 -41
  47. package/interfaces/WaitingChange.md +0 -41
  48. package/modules/MaskFormatter.md +0 -37
  49. package/modules.md +0 -63
@@ -1,96 +0,0 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / DataUnitAction
2
-
3
- # Class: DataUnitAction
4
-
5
- ## Implements
6
-
7
- - `StateAction`
8
-
9
- ## Table of contents
10
-
11
- ### Constructors
12
-
13
- - [constructor](DataUnitAction.md#constructor)
14
-
15
- ### Properties
16
-
17
- - [\_payload](DataUnitAction.md#_payload)
18
- - [\_type](DataUnitAction.md#_type)
19
-
20
- ### Accessors
21
-
22
- - [payload](DataUnitAction.md#payload)
23
- - [type](DataUnitAction.md#type)
24
-
25
- ## Constructors
26
-
27
- ### constructor
28
-
29
- • **new DataUnitAction**(`type`, `payload?`)
30
-
31
- #### Parameters
32
-
33
- | Name | Type |
34
- | :------ | :------ |
35
- | `type` | [`Action`](../enums/Action.md) |
36
- | `payload?` | `any` |
37
-
38
- #### Defined in
39
-
40
- src/dataunit/state/action/DataUnitAction.ts:9
41
-
42
- ## Properties
43
-
44
- ### \_payload
45
-
46
- • `Private` **\_payload**: `any`
47
-
48
- #### Defined in
49
-
50
- src/dataunit/state/action/DataUnitAction.ts:7
51
-
52
- ___
53
-
54
- ### \_type
55
-
56
- • `Private` **\_type**: [`Action`](../enums/Action.md)
57
-
58
- #### Defined in
59
-
60
- src/dataunit/state/action/DataUnitAction.ts:6
61
-
62
- ## Accessors
63
-
64
- ### payload
65
-
66
- • `get` **payload**(): `any`
67
-
68
- #### Returns
69
-
70
- `any`
71
-
72
- #### Implementation of
73
-
74
- StateAction.payload
75
-
76
- #### Defined in
77
-
78
- src/dataunit/state/action/DataUnitAction.ts:18
79
-
80
- ___
81
-
82
- ### type
83
-
84
- • `get` **type**(): [`Action`](../enums/Action.md)
85
-
86
- #### Returns
87
-
88
- [`Action`](../enums/Action.md)
89
-
90
- #### Implementation of
91
-
92
- StateAction.type
93
-
94
- #### Defined in
95
-
96
- src/dataunit/state/action/DataUnitAction.ts:14
@@ -1,190 +0,0 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / DateUtils
2
-
3
- # Class: DateUtils
4
-
5
- ## Table of contents
6
-
7
- ### Constructors
8
-
9
- - [constructor](DateUtils.md#constructor)
10
-
11
- ### Methods
12
-
13
- - [adjustDLST](DateUtils.md#adjustdlst)
14
- - [clearTime](DateUtils.md#cleartime)
15
- - [formatRfc3339](DateUtils.md#formatrfc3339)
16
- - [getToday](DateUtils.md#gettoday)
17
- - [pad](DateUtils.md#pad)
18
- - [strToDate](DateUtils.md#strtodate)
19
- - [timezoneOffset](DateUtils.md#timezoneoffset)
20
- - [validateDate](DateUtils.md#validatedate)
21
-
22
- ## Constructors
23
-
24
- ### constructor
25
-
26
- • **new DateUtils**()
27
-
28
- ## Methods
29
-
30
- ### adjustDLST
31
-
32
- ▸ `Static` `Private` **adjustDLST**(`date`): `Date`
33
-
34
- #### Parameters
35
-
36
- | Name | Type |
37
- | :------ | :------ |
38
- | `date` | `Date` |
39
-
40
- #### Returns
41
-
42
- `Date`
43
-
44
- #### Defined in
45
-
46
- src/utils/DateUtils.ts:60
47
-
48
- ___
49
-
50
- ### clearTime
51
-
52
- ▸ `Static` **clearTime**(`date`, `adjustDayLightSavingTime?`): `Date`
53
-
54
- #### Parameters
55
-
56
- | Name | Type | Default value |
57
- | :------ | :------ | :------ |
58
- | `date` | `Date` | `undefined` |
59
- | `adjustDayLightSavingTime` | `boolean` | `true` |
60
-
61
- #### Returns
62
-
63
- `Date`
64
-
65
- #### Defined in
66
-
67
- src/utils/DateUtils.ts:3
68
-
69
- ___
70
-
71
- ### formatRfc3339
72
-
73
- ▸ `Static` **formatRfc3339**(`date`): `string`
74
-
75
- #### Parameters
76
-
77
- | Name | Type |
78
- | :------ | :------ |
79
- | `date` | `Date` |
80
-
81
- #### Returns
82
-
83
- `string`
84
-
85
- #### Defined in
86
-
87
- src/utils/DateUtils.ts:87
88
-
89
- ___
90
-
91
- ### getToday
92
-
93
- ▸ `Static` **getToday**(`withTime?`): `Date`
94
-
95
- #### Parameters
96
-
97
- | Name | Type | Default value |
98
- | :------ | :------ | :------ |
99
- | `withTime` | `boolean` | `false` |
100
-
101
- #### Returns
102
-
103
- `Date`
104
-
105
- #### Defined in
106
-
107
- src/utils/DateUtils.ts:44
108
-
109
- ___
110
-
111
- ### pad
112
-
113
- ▸ `Static` `Private` **pad**(`n`): `string` \| `Number`
114
-
115
- #### Parameters
116
-
117
- | Name | Type |
118
- | :------ | :------ |
119
- | `n` | `Number` |
120
-
121
- #### Returns
122
-
123
- `string` \| `Number`
124
-
125
- #### Defined in
126
-
127
- src/utils/DateUtils.ts:70
128
-
129
- ___
130
-
131
- ### strToDate
132
-
133
- ▸ `Static` **strToDate**(`strValue`, `adjustDayLightSavingTime?`, `monthYearMode?`): `undefined` \| `Date`
134
-
135
- #### Parameters
136
-
137
- | Name | Type | Default value |
138
- | :------ | :------ | :------ |
139
- | `strValue` | `string` | `undefined` |
140
- | `adjustDayLightSavingTime` | `boolean` | `true` |
141
- | `monthYearMode` | `boolean` | `false` |
142
-
143
- #### Returns
144
-
145
- `undefined` \| `Date`
146
-
147
- #### Defined in
148
-
149
- src/utils/DateUtils.ts:8
150
-
151
- ___
152
-
153
- ### timezoneOffset
154
-
155
- ▸ `Static` `Private` **timezoneOffset**(`offset`): `string`
156
-
157
- #### Parameters
158
-
159
- | Name | Type |
160
- | :------ | :------ |
161
- | `offset` | `number` |
162
-
163
- #### Returns
164
-
165
- `string`
166
-
167
- #### Defined in
168
-
169
- src/utils/DateUtils.ts:74
170
-
171
- ___
172
-
173
- ### validateDate
174
-
175
- ▸ `Static` **validateDate**(`value`, `hasTime?`): `undefined` \| `Date`
176
-
177
- #### Parameters
178
-
179
- | Name | Type | Default value |
180
- | :------ | :------ | :------ |
181
- | `value` | `Date` | `undefined` |
182
- | `hasTime` | `boolean` | `false` |
183
-
184
- #### Returns
185
-
186
- `undefined` \| `Date`
187
-
188
- #### Defined in
189
-
190
- src/utils/DateUtils.ts:54
@@ -1,222 +0,0 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ElementIDUtils
2
-
3
- # Class: ElementIDUtils
4
-
5
- ## Table of contents
6
-
7
- ### Constructors
8
-
9
- - [constructor](ElementIDUtils.md#constructor)
10
-
11
- ### Properties
12
-
13
- - [DATA\_ELEMENT\_ID\_ATTRIBUTE\_NAME](ElementIDUtils.md#data_element_id_attribute_name)
14
- - [INTERNAL\_INPUT\_NAME](ElementIDUtils.md#internal_input_name)
15
-
16
- ### Methods
17
-
18
- - [addIDInfo](ElementIDUtils.md#addidinfo)
19
- - [addIDInfoIfNotExists](ElementIDUtils.md#addidinfoifnotexists)
20
- - [addPrefix](ElementIDUtils.md#addprefix)
21
- - [addSuffix](ElementIDUtils.md#addsuffix)
22
- - [formatDescription](ElementIDUtils.md#formatdescription)
23
- - [getAttributeValid](ElementIDUtils.md#getattributevalid)
24
- - [getDataElementID](ElementIDUtils.md#getdataelementid)
25
- - [getInternalIDInfo](ElementIDUtils.md#getinternalidinfo)
26
-
27
- ## Constructors
28
-
29
- ### constructor
30
-
31
- • **new ElementIDUtils**()
32
-
33
- ## Properties
34
-
35
- ### DATA\_ELEMENT\_ID\_ATTRIBUTE\_NAME
36
-
37
- ▪ `Static` **DATA\_ELEMENT\_ID\_ATTRIBUTE\_NAME**: `string` = `"data-element-id"`
38
-
39
- #### Defined in
40
-
41
- src/utils/ElementIDUtils.ts:12
42
-
43
- ___
44
-
45
- ### INTERNAL\_INPUT\_NAME
46
-
47
- ▪ `Static` **INTERNAL\_INPUT\_NAME**: `string` = `"internal"`
48
-
49
- #### Defined in
50
-
51
- src/utils/ElementIDUtils.ts:13
52
-
53
- ## Methods
54
-
55
- ### addIDInfo
56
-
57
- ▸ `Static` **addIDInfo**(`element`, `suffix?`, `iDInfo?`): `string`
58
-
59
- #### Parameters
60
-
61
- | Name | Type |
62
- | :------ | :------ |
63
- | `element` | `HTMLElement` |
64
- | `suffix?` | `string` |
65
- | `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
66
-
67
- #### Returns
68
-
69
- `string`
70
-
71
- #### Defined in
72
-
73
- src/utils/ElementIDUtils.ts:15
74
-
75
- ___
76
-
77
- ### addIDInfoIfNotExists
78
-
79
- ▸ `Static` **addIDInfoIfNotExists**(`element`, `suffix?`, `iDInfo?`): `string`
80
-
81
- #### Parameters
82
-
83
- | Name | Type |
84
- | :------ | :------ |
85
- | `element` | `HTMLElement` |
86
- | `suffix?` | `string` |
87
- | `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
88
-
89
- #### Returns
90
-
91
- `string`
92
-
93
- #### Defined in
94
-
95
- src/utils/ElementIDUtils.ts:24
96
-
97
- ___
98
-
99
- ### addPrefix
100
-
101
- ▸ `Static` `Private` **addPrefix**(`iDInfo`, `dataElementID`): `string`
102
-
103
- #### Parameters
104
-
105
- | Name | Type |
106
- | :------ | :------ |
107
- | `iDInfo` | `undefined` \| [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
108
- | `dataElementID` | `string` |
109
-
110
- #### Returns
111
-
112
- `string`
113
-
114
- #### Defined in
115
-
116
- src/utils/ElementIDUtils.ts:88
117
-
118
- ___
119
-
120
- ### addSuffix
121
-
122
- ▸ `Static` `Private` **addSuffix**(`dataElementID`, `suffix`, `element`): `string`
123
-
124
- #### Parameters
125
-
126
- | Name | Type |
127
- | :------ | :------ |
128
- | `dataElementID` | ``null`` \| `string` |
129
- | `suffix` | `undefined` \| `string` |
130
- | `element` | `HTMLElement` |
131
-
132
- #### Returns
133
-
134
- `string`
135
-
136
- #### Defined in
137
-
138
- src/utils/ElementIDUtils.ts:78
139
-
140
- ___
141
-
142
- ### formatDescription
143
-
144
- ▸ `Static` `Private` **formatDescription**(`value`): `string`
145
-
146
- #### Parameters
147
-
148
- | Name | Type |
149
- | :------ | :------ |
150
- | `value` | ``null`` \| `string` |
151
-
152
- #### Returns
153
-
154
- `string`
155
-
156
- #### Defined in
157
-
158
- src/utils/ElementIDUtils.ts:98
159
-
160
- ___
161
-
162
- ### getAttributeValid
163
-
164
- ▸ `Static` `Private` **getAttributeValid**(`element`, `iDInfo?`): ``null`` \| `string`
165
-
166
- #### Parameters
167
-
168
- | Name | Type |
169
- | :------ | :------ |
170
- | `element` | `HTMLElement` |
171
- | `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
172
-
173
- #### Returns
174
-
175
- ``null`` \| `string`
176
-
177
- #### Defined in
178
-
179
- src/utils/ElementIDUtils.ts:55
180
-
181
- ___
182
-
183
- ### getDataElementID
184
-
185
- ▸ `Static` `Private` **getDataElementID**(`element`, `suffix?`, `iDInfo?`): `string`
186
-
187
- #### Parameters
188
-
189
- | Name | Type |
190
- | :------ | :------ |
191
- | `element` | `HTMLElement` |
192
- | `suffix?` | `string` |
193
- | `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
194
-
195
- #### Returns
196
-
197
- `string`
198
-
199
- #### Defined in
200
-
201
- src/utils/ElementIDUtils.ts:39
202
-
203
- ___
204
-
205
- ### getInternalIDInfo
206
-
207
- ▸ `Static` **getInternalIDInfo**(`originalID`, `sufix`): `string`
208
-
209
- #### Parameters
210
-
211
- | Name | Type |
212
- | :------ | :------ |
213
- | `originalID` | `string` |
214
- | `sufix` | `string` |
215
-
216
- #### Returns
217
-
218
- `string`
219
-
220
- #### Defined in
221
-
222
- src/utils/ElementIDUtils.ts:35
@@ -1,204 +0,0 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ErrorException
2
-
3
- # Class: ErrorException
4
-
5
- ## Hierarchy
6
-
7
- - `Error`
8
-
9
- ↳ **`ErrorException`**
10
-
11
- ## Table of contents
12
-
13
- ### Constructors
14
-
15
- - [constructor](ErrorException.md#constructor)
16
-
17
- ### Properties
18
-
19
- - [cause](ErrorException.md#cause)
20
- - [errorCode](ErrorException.md#errorcode)
21
- - [message](ErrorException.md#message)
22
- - [name](ErrorException.md#name)
23
- - [stack](ErrorException.md#stack)
24
- - [title](ErrorException.md#title)
25
- - [prepareStackTrace](ErrorException.md#preparestacktrace)
26
- - [stackTraceLimit](ErrorException.md#stacktracelimit)
27
-
28
- ### Methods
29
-
30
- - [captureStackTrace](ErrorException.md#capturestacktrace)
31
-
32
- ## Constructors
33
-
34
- ### constructor
35
-
36
- • **new ErrorException**(`title`, `message`, `errorCode?`)
37
-
38
- #### Parameters
39
-
40
- | Name | Type | Default value |
41
- | :------ | :------ | :------ |
42
- | `title` | `string` | `undefined` |
43
- | `message` | `string` | `undefined` |
44
- | `errorCode` | `string` | `""` |
45
-
46
- #### Overrides
47
-
48
- Error.constructor
49
-
50
- #### Defined in
51
-
52
- src/exceptions/ErrorException.ts:7
53
-
54
- ## Properties
55
-
56
- ### cause
57
-
58
- • `Optional` **cause**: `unknown`
59
-
60
- #### Inherited from
61
-
62
- Error.cause
63
-
64
- #### Defined in
65
-
66
- node_modules/typescript/lib/lib.es2022.error.d.ts:26
67
-
68
- ___
69
-
70
- ### errorCode
71
-
72
- • **errorCode**: `string`
73
-
74
- #### Defined in
75
-
76
- src/exceptions/ErrorException.ts:5
77
-
78
- ___
79
-
80
- ### message
81
-
82
- • **message**: `string`
83
-
84
- #### Overrides
85
-
86
- Error.message
87
-
88
- #### Defined in
89
-
90
- src/exceptions/ErrorException.ts:4
91
-
92
- ___
93
-
94
- ### name
95
-
96
- • **name**: `string`
97
-
98
- #### Inherited from
99
-
100
- Error.name
101
-
102
- #### Defined in
103
-
104
- node_modules/typescript/lib/lib.es5.d.ts:1053
105
-
106
- ___
107
-
108
- ### stack
109
-
110
- • `Optional` **stack**: `string`
111
-
112
- #### Inherited from
113
-
114
- Error.stack
115
-
116
- #### Defined in
117
-
118
- node_modules/typescript/lib/lib.es5.d.ts:1055
119
-
120
- ___
121
-
122
- ### title
123
-
124
- • **title**: `string`
125
-
126
- #### Defined in
127
-
128
- src/exceptions/ErrorException.ts:3
129
-
130
- ___
131
-
132
- ### prepareStackTrace
133
-
134
- ▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
135
-
136
- #### Type declaration
137
-
138
- ▸ (`err`, `stackTraces`): `any`
139
-
140
- Optional override for formatting stack traces
141
-
142
- **`See`**
143
-
144
- https://v8.dev/docs/stack-trace-api#customizing-stack-traces
145
-
146
- ##### Parameters
147
-
148
- | Name | Type |
149
- | :------ | :------ |
150
- | `err` | `Error` |
151
- | `stackTraces` | `CallSite`[] |
152
-
153
- ##### Returns
154
-
155
- `any`
156
-
157
- #### Inherited from
158
-
159
- Error.prepareStackTrace
160
-
161
- #### Defined in
162
-
163
- node_modules/@types/node/globals.d.ts:11
164
-
165
- ___
166
-
167
- ### stackTraceLimit
168
-
169
- ▪ `Static` **stackTraceLimit**: `number`
170
-
171
- #### Inherited from
172
-
173
- Error.stackTraceLimit
174
-
175
- #### Defined in
176
-
177
- node_modules/@types/node/globals.d.ts:13
178
-
179
- ## Methods
180
-
181
- ### captureStackTrace
182
-
183
- ▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
184
-
185
- Create .stack property on a target object
186
-
187
- #### Parameters
188
-
189
- | Name | Type |
190
- | :------ | :------ |
191
- | `targetObject` | `object` |
192
- | `constructorOpt?` | `Function` |
193
-
194
- #### Returns
195
-
196
- `void`
197
-
198
- #### Inherited from
199
-
200
- Error.captureStackTrace
201
-
202
- #### Defined in
203
-
204
- node_modules/@types/node/globals.d.ts:4