@sankhyalabs/core 5.20.0-dev.1 → 5.20.0-dev.10

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 (129) hide show
  1. package/.docs/README.md +3 -1
  2. package/.docs/classes/ApplicationContext.md +31 -32
  3. package/.docs/classes/ArrayUtils.md +95 -83
  4. package/.docs/classes/AuthorizedServiceCaller.md +25 -34
  5. package/.docs/classes/Change.md +59 -74
  6. package/.docs/classes/DataUnit.md +1025 -1078
  7. package/.docs/classes/DataUnitAction.md +25 -42
  8. package/.docs/classes/DataUnitStorage.md +40 -43
  9. package/.docs/classes/DateUtils.md +133 -126
  10. package/.docs/classes/ElementIDUtils.md +123 -122
  11. package/.docs/classes/ErrorException.md +67 -88
  12. package/.docs/classes/ErrorTracking.md +20 -23
  13. package/.docs/classes/FieldComparator.md +35 -39
  14. package/.docs/classes/FloatingManager.md +195 -198
  15. package/.docs/classes/HTMLBuilder.md +14 -20
  16. package/.docs/classes/HttpProvider.md +45 -41
  17. package/.docs/classes/IDBRepository.md +179 -196
  18. package/.docs/classes/JSUtils.md +65 -66
  19. package/.docs/classes/KeyboardManager.md +95 -87
  20. package/.docs/classes/{MaskFormatter-1.md → MaskFormatter.md} +81 -120
  21. package/.docs/classes/NumberUtils.md +163 -152
  22. package/.docs/classes/ObjectUtils.md +66 -71
  23. package/.docs/classes/OnboardingUtils.md +36 -51
  24. package/.docs/classes/OverflowWatcher.md +269 -0
  25. package/.docs/classes/PromiseSync.md +25 -42
  26. package/.docs/classes/ReadyUtil.md +31 -41
  27. package/.docs/classes/RequestMetadata.md +29 -30
  28. package/.docs/classes/SearchUtils.md +18 -20
  29. package/.docs/classes/SelectionInfo.md +59 -74
  30. package/.docs/classes/SkwHttpProvider.md +33 -45
  31. package/.docs/classes/StringUtils.md +297 -322
  32. package/.docs/classes/TimeFormatter.md +43 -44
  33. package/.docs/classes/UserAgentUtils.md +17 -20
  34. package/.docs/classes/VersionUtils.md +15 -18
  35. package/.docs/classes/WaitingChangeException.md +63 -84
  36. package/.docs/classes/WarningException.md +67 -88
  37. package/.docs/enumerations/Action.md +297 -0
  38. package/.docs/enumerations/ChangeOperation.md +47 -0
  39. package/.docs/enumerations/DataType.md +57 -0
  40. package/.docs/enumerations/DependencyType.md +37 -0
  41. package/.docs/enumerations/OverflowDirection.md +29 -0
  42. package/.docs/enumerations/SelectionMode.md +27 -0
  43. package/.docs/enumerations/SortMode.md +27 -0
  44. package/.docs/enumerations/UserInterface.md +177 -0
  45. package/.docs/functions/defaultDataLoader.md +25 -0
  46. package/.docs/{modules.md → globals.md} +21 -37
  47. package/.docs/interfaces/ChildDescriptor.md +12 -16
  48. package/.docs/interfaces/ChildLink.md +9 -12
  49. package/.docs/interfaces/DUActionInterceptor.md +10 -14
  50. package/.docs/interfaces/ExecutionContext.md +17 -32
  51. package/.docs/interfaces/FieldDescriptor.md +52 -66
  52. package/.docs/interfaces/Filter.md +13 -17
  53. package/.docs/interfaces/IElementIDInfo.md +11 -14
  54. package/.docs/interfaces/ILoadResult.md +11 -16
  55. package/.docs/interfaces/IRepository.md +88 -93
  56. package/.docs/interfaces/IRepositoryIndex.md +23 -30
  57. package/.docs/interfaces/LoadDataRequest.md +36 -45
  58. package/.docs/interfaces/LoadDataResponse.md +11 -14
  59. package/.docs/interfaces/PageRequest.md +16 -20
  60. package/.docs/interfaces/PaginationInfo.md +24 -31
  61. package/.docs/interfaces/PromiseSyncCallback.md +13 -17
  62. package/.docs/interfaces/QuickFilter.md +17 -21
  63. package/.docs/interfaces/Record.md +26 -33
  64. package/.docs/interfaces/SavedRecord.md +33 -41
  65. package/.docs/interfaces/Sort.md +12 -16
  66. package/.docs/interfaces/SortingProvider.md +10 -13
  67. package/.docs/interfaces/UnitMetadata.md +16 -21
  68. package/.docs/interfaces/WaitingChange.md +16 -20
  69. package/.docs/namespaces/MaskFormatter/README.md +17 -0
  70. package/.docs/namespaces/MaskFormatter/type-aliases/MaskCharacter.md +13 -0
  71. package/.docs/namespaces/MaskFormatter/variables/MaskCharacter.md +13 -0
  72. package/.docs/type-aliases/OnOverflowCallBack.md +25 -0
  73. package/.releaserc +10 -10
  74. package/dist/dataunit/DataUnit.d.ts +23 -1
  75. package/dist/dataunit/DataUnit.js +47 -7
  76. package/dist/dataunit/DataUnit.js.map +1 -1
  77. package/dist/dataunit/formatting/PrettyFormatter.js +3 -1
  78. package/dist/dataunit/formatting/PrettyFormatter.js.map +1 -1
  79. package/dist/dataunit/metadata/DataType.js +10 -1
  80. package/dist/dataunit/metadata/DataType.js.map +1 -1
  81. package/dist/dataunit/state/action/DataUnitAction.d.ts +3 -1
  82. package/dist/dataunit/state/action/DataUnitAction.js +2 -0
  83. package/dist/dataunit/state/action/DataUnitAction.js.map +1 -1
  84. package/dist/dataunit/state/slice/ChangesSlice.js +12 -11
  85. package/dist/dataunit/state/slice/ChangesSlice.js.map +1 -1
  86. package/dist/dataunit/state/slice/InvalidFieldsSlice.js +2 -0
  87. package/dist/dataunit/state/slice/InvalidFieldsSlice.js.map +1 -1
  88. package/dist/dataunit/state/slice/LoadingProperties.d.ts +9 -0
  89. package/dist/dataunit/state/slice/LoadingProperties.js +31 -0
  90. package/dist/dataunit/state/slice/LoadingProperties.js.map +1 -0
  91. package/dist/dataunit/state/slice/SelectionSlice.js +3 -2
  92. package/dist/dataunit/state/slice/SelectionSlice.js.map +1 -1
  93. package/dist/index.d.ts +2 -1
  94. package/dist/index.js +2 -1
  95. package/dist/index.js.map +1 -1
  96. package/dist/utils/OverflowWatcher/index.d.ts +31 -0
  97. package/dist/utils/OverflowWatcher/index.js +107 -0
  98. package/dist/utils/OverflowWatcher/index.js.map +1 -0
  99. package/dist/utils/OverflowWatcher/types/overflow-callback.d.ts +6 -0
  100. package/dist/utils/OverflowWatcher/types/overflow-callback.js +2 -0
  101. package/dist/utils/OverflowWatcher/types/overflow-callback.js.map +1 -0
  102. package/dist/utils/OverflowWatcher/types/overflow-direction.d.ts +7 -0
  103. package/dist/utils/OverflowWatcher/types/overflow-direction.js +9 -0
  104. package/dist/utils/OverflowWatcher/types/overflow-direction.js.map +1 -0
  105. package/jest.config.ts +1 -1
  106. package/package.json +11 -4
  107. package/sonar-project.properties +7 -0
  108. package/src/dataunit/DataUnit.ts +54 -6
  109. package/src/dataunit/formatting/PrettyFormatter.ts +3 -1
  110. package/src/dataunit/metadata/DataType.ts +10 -1
  111. package/src/dataunit/state/action/DataUnitAction.ts +3 -1
  112. package/src/dataunit/state/slice/ChangesSlice.ts +15 -14
  113. package/src/dataunit/state/slice/InvalidFieldsSlice.ts +2 -0
  114. package/src/dataunit/state/slice/LoadingProperties.ts +37 -0
  115. package/src/dataunit/state/slice/SelectionSlice.ts +3 -2
  116. package/src/index.ts +4 -0
  117. package/src/utils/OverflowWatcher/index.ts +151 -0
  118. package/src/utils/OverflowWatcher/types/overflow-callback.ts +6 -0
  119. package/src/utils/OverflowWatcher/types/overflow-direction.ts +7 -0
  120. package/test/util/OverflowWatcher.spec.ts +118 -0
  121. package/.docs/.nojekyll +0 -1
  122. package/.docs/enums/Action.md +0 -305
  123. package/.docs/enums/ChangeOperation.md +0 -52
  124. package/.docs/enums/DataType.md +0 -63
  125. package/.docs/enums/DependencyType.md +0 -41
  126. package/.docs/enums/SelectionMode.md +0 -30
  127. package/.docs/enums/SortMode.md +0 -30
  128. package/.docs/enums/UserInterface.md +0 -195
  129. package/.docs/modules/MaskFormatter.md +0 -37
@@ -0,0 +1,151 @@
1
+ import { JSUtils } from "../JSUtils.js";
2
+ import { OverflowDirection } from "./types/overflow-direction.js"
3
+ import { OnOverflowCallBack } from "./types/overflow-callback.js"
4
+
5
+ export * from "./types/overflow-direction.js";
6
+ export * from "./types/overflow-callback.js";
7
+
8
+ export default class OverflowWatcher {
9
+ private _onResize:OnOverflowCallBack;
10
+ private _resizeObserver:ResizeObserver;
11
+ private _lastContentRect:DOMRectReadOnly|undefined = undefined;
12
+ private _scrollDirection = OverflowDirection.HORIZONTAL;
13
+ private _propSize:string;
14
+ private _hiddenItems:Element[] = [];
15
+ private _deltaSize:number;
16
+
17
+ /**
18
+ * Cria uma instancia do OverflowWatcher
19
+ *
20
+ * @param element - Elemento HTML que o overflow será observado.
21
+ * @param callback - Função que sera chamada quando ocorrer overflow no elemento.
22
+ * @param overFlowDirection - Indica direção que o overflow será monitorado.
23
+ * @param deltaSize - Variação de tamanho que será considerada como overflow.
24
+ */
25
+ constructor(element:HTMLElement,
26
+ callback:OnOverflowCallBack,
27
+ overFlowDirection:OverflowDirection = OverflowDirection.HORIZONTAL,
28
+ deltaSize:number = 10){
29
+ this._onResize = callback;
30
+ this._scrollDirection = overFlowDirection;
31
+ this._resizeObserver = new ResizeObserver(JSUtils.debounce((entries: ResizeObserverEntry[]) => this.handleResize(entries), 200));
32
+ this._resizeObserver.observe(element);
33
+ this._propSize = this.getPropSizeByDirection();
34
+ this._deltaSize = deltaSize;
35
+ }
36
+
37
+ public destroy(){
38
+ this._resizeObserver.disconnect();
39
+ }
40
+
41
+ private handleResize(entries: ResizeObserverEntry[]){
42
+
43
+ if(!entries || entries.length === 0){
44
+ return;
45
+ }
46
+
47
+ const resizeItem = entries[0];
48
+ const contentRect:any = resizeItem.contentRect;
49
+
50
+ if(this.isChangedSize(contentRect)){
51
+ const children:Element[] = Array.from(resizeItem.target.children);
52
+ this.proccessElements(contentRect[this._propSize], children);
53
+ this._lastContentRect = contentRect;
54
+ }
55
+ }
56
+
57
+ private isChangedSize(newContentRect:DOMRectReadOnly):boolean{
58
+ if(this._lastContentRect == undefined){
59
+ return true;
60
+ }
61
+ return Math.abs((newContentRect as any)[this._propSize] - (this._lastContentRect as any)[this._propSize]) >= this._deltaSize;
62
+ }
63
+
64
+
65
+ private getPropSizeByDirection():string{
66
+ if(OverflowDirection.HORIZONTAL === this._scrollDirection){
67
+ return "width"
68
+ }
69
+
70
+ return "height";
71
+ }
72
+
73
+ private proccessElements(elementSize:number, children:Element[]){
74
+
75
+ if(children.length === 0){
76
+ return;
77
+ }
78
+
79
+ const childrenSize = this.calcChildrenSize(children);
80
+
81
+ let diff = Number((elementSize - childrenSize).toFixed(4));
82
+
83
+ if(diff > 0){
84
+ this.proccessElementsWithoutOverFlow(diff);
85
+ return;
86
+ }
87
+
88
+ this.proccessElementsOverFlow(children, diff);
89
+ }
90
+
91
+ private proccessElementsWithoutOverFlow(diff:number){
92
+ this._hiddenItems.forEach((item:any) => {
93
+
94
+ if(item.getBoundingClientRect().width < diff){
95
+ this._hiddenItems.pop();
96
+ }
97
+
98
+ });
99
+
100
+ this._onResize(this._hiddenItems);
101
+ }
102
+
103
+ private proccessElementsOverFlow(children:Element[], diff:number){
104
+ const elementsOverflow = [];
105
+ let sumRemovedItems = 0;
106
+
107
+ while(elementsOverflow.length < children.length && sumRemovedItems < (diff * -1) ) {
108
+ const itemToRemove = children.pop();
109
+
110
+ if(itemToRemove != undefined && (itemToRemove as any).style.display === 'none'){
111
+ continue;
112
+ }
113
+
114
+ if(itemToRemove != undefined){
115
+ elementsOverflow.push(itemToRemove);
116
+ sumRemovedItems += (itemToRemove.getBoundingClientRect() as any)[this._propSize];
117
+ }
118
+ }
119
+
120
+
121
+ this._hiddenItems = elementsOverflow;
122
+ this._onResize(elementsOverflow);
123
+
124
+ }
125
+
126
+ private calcChildrenSize(children:Element[]):number{
127
+ let sumChildren = 0;
128
+
129
+ Array.from(children).forEach(el => {
130
+ sumChildren += (el.getBoundingClientRect() as any)[this._propSize];
131
+ sumChildren += this.calcMarginSize(el);
132
+ });
133
+
134
+ if(sumChildren > 0){
135
+ sumChildren += this._deltaSize;
136
+ }
137
+
138
+ return sumChildren;
139
+ }
140
+
141
+ private calcMarginSize(el:Element){
142
+ const computedStyle = getComputedStyle(el);
143
+
144
+ if(OverflowDirection.HORIZONTAL === this._scrollDirection){
145
+ return (parseInt(computedStyle.marginLeft || '0') + parseInt(computedStyle.marginRight || '0'));
146
+ }
147
+
148
+ return (parseInt(computedStyle.marginTop || '0') + parseInt(computedStyle.marginBottom || '0'));
149
+ }
150
+
151
+ }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Callback que será chamado quando o overflow de um elemento for alterado.
3
+ *
4
+ * @param elementsOverFlow - Conjunto de elementos filhos que estão causando overflow no elemento pai.
5
+ */
6
+ export type OnOverflowCallBack = (elementsOverFlow:Array<Element>) => void;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Define em qual direção o overflow será observado
3
+ */
4
+ export enum OverflowDirection {
5
+ 'VERTICAL',
6
+ 'HORIZONTAL'
7
+ }
@@ -0,0 +1,118 @@
1
+ import OverFlowWatcher, { OnOverflowCallBack, OverflowDirection } from '../../src/utils/OverflowWatcher';
2
+
3
+ describe('OverflowWatcher', function () {
4
+
5
+ let element: HTMLElement;
6
+ let callbackHorizontalDirection: OnOverflowCallBack;
7
+ let watcherHorizontalDirection: OverFlowWatcher;
8
+ let callbackVerticalDirection: OnOverflowCallBack;
9
+ let watcherVerticallDirection: OverFlowWatcher;
10
+ let child1:HTMLDivElement;
11
+ let child2:HTMLDivElement;
12
+
13
+ beforeEach(() => {
14
+
15
+ global.ResizeObserver = jest.fn().mockImplementation(() => ({
16
+ observe: jest.fn(),
17
+ unobserve: jest.fn(),
18
+ disconnect: jest.fn(),
19
+ }))
20
+
21
+ element = document.createElement('div');
22
+
23
+ //Horizontal
24
+ callbackHorizontalDirection = jest.fn();
25
+ watcherHorizontalDirection = new OverFlowWatcher(element, callbackHorizontalDirection);
26
+
27
+
28
+ //Vertical
29
+ callbackVerticalDirection = jest.fn();
30
+ watcherVerticallDirection = new OverFlowWatcher(element, callbackVerticalDirection, OverflowDirection.VERTICAL);
31
+
32
+ child1 = document.createElement('div');
33
+ child2 = document.createElement('div');
34
+
35
+ child1.style.width = '50px';
36
+ child2.style.width = '100px';
37
+ child1.style.height = '50px';
38
+ child2.style.height = '100px';
39
+
40
+ //TODO: No futuro utilizar JSDOM para não precisar fazer mock dessas coisas
41
+ child1['getBoundingClientRect'] = () => {
42
+ return {
43
+ width: 50,
44
+ height: 50,
45
+ } as DOMRect;
46
+ }
47
+
48
+ child2['getBoundingClientRect'] = () => {
49
+ return {
50
+ width: 100,
51
+ height: 100,
52
+ } as DOMRect;
53
+ }
54
+
55
+ element.appendChild(child1);
56
+ element.appendChild(child2);
57
+ });
58
+
59
+ afterEach(() => {
60
+ watcherHorizontalDirection.destroy();
61
+ watcherVerticallDirection.destroy();
62
+ });
63
+
64
+ test('constructor initializes properties correctly', () => {
65
+ expect(watcherHorizontalDirection['_onResize']).toBe(callbackHorizontalDirection);
66
+ expect(watcherHorizontalDirection['_scrollDirection']).toBe(OverflowDirection.HORIZONTAL);
67
+ expect(watcherHorizontalDirection['_deltaSize']).toBe(10);
68
+ });
69
+
70
+ test('handleResize horizontal calls callback with hidden items', () => {
71
+ const entries: any[] = [{
72
+ contentRect: {
73
+ width: 120
74
+ },
75
+ target: element
76
+ }];
77
+
78
+ watcherHorizontalDirection['handleResize'](entries);
79
+
80
+ expect(callbackHorizontalDirection).toHaveBeenCalledWith([child2]);
81
+
82
+ entries[0].contentRect.width = 100;
83
+ watcherHorizontalDirection['handleResize'](entries);
84
+
85
+ expect(callbackHorizontalDirection).toHaveBeenCalledWith([child2]);
86
+ });
87
+
88
+ test('handleResize vertical calls callback with hidden items', () => {
89
+ const entries: any[] = [{
90
+ contentRect: {
91
+ height: 120
92
+ },
93
+ target: element
94
+ }];
95
+
96
+ watcherVerticallDirection['handleResize'](entries);
97
+
98
+ expect(callbackVerticalDirection).toHaveBeenCalledWith([child2]);
99
+ });
100
+
101
+ test('isChangedSize returns true if no previous size', () => {
102
+ const newContentRect: DOMRectReadOnly = { width: 100 } as DOMRectReadOnly;
103
+ watcherHorizontalDirection['_lastContentRect'] = undefined;
104
+
105
+ const result = watcherHorizontalDirection['isChangedSize'](newContentRect);
106
+
107
+ expect(result).toBe(true);
108
+ });
109
+
110
+ test('prevent resize without entries', () => {
111
+ const entries: any[] = [];
112
+
113
+ watcherHorizontalDirection['handleResize'](entries);
114
+
115
+ expect(callbackHorizontalDirection).toHaveBeenCalledTimes(0);
116
+ });
117
+
118
+ });
package/.docs/.nojekyll DELETED
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -1,305 +0,0 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / Action
2
-
3
- # Enumeration: Action
4
-
5
- ## Table of contents
6
-
7
- ### Enumeration Members
8
-
9
- - [CHANGE\_REDONE](Action.md#change_redone)
10
- - [CHANGE\_UNDONE](Action.md#change_undone)
11
- - [CHANGING\_DATA](Action.md#changing_data)
12
- - [CHILD\_CHANGED](Action.md#child_changed)
13
- - [DATA\_CHANGED](Action.md#data_changed)
14
- - [DATA\_LOADED](Action.md#data_loaded)
15
- - [DATA\_RESOLVED](Action.md#data_resolved)
16
- - [DATA\_SAVED](Action.md#data_saved)
17
- - [EDITION\_CANCELED](Action.md#edition_canceled)
18
- - [FIELD\_INVALIDATED](Action.md#field_invalidated)
19
- - [INVALIDATE\_CLEAN](Action.md#invalidate_clean)
20
- - [LOADING\_DATA](Action.md#loading_data)
21
- - [LOADING\_METADATA](Action.md#loading_metadata)
22
- - [LOADING\_RECORD](Action.md#loading_record)
23
- - [METADATA\_LOADED](Action.md#metadata_loaded)
24
- - [NEXT\_SELECTED](Action.md#next_selected)
25
- - [PAGINATION\_UPDATED](Action.md#pagination_updated)
26
- - [PREVIOUS\_SELECTED](Action.md#previous_selected)
27
- - [RECORDS\_ADDED](Action.md#records_added)
28
- - [RECORDS\_COPIED](Action.md#records_copied)
29
- - [RECORDS\_REMOVED](Action.md#records_removed)
30
- - [RECORD\_LOADED](Action.md#record_loaded)
31
- - [REMOVING\_RECORDS](Action.md#removing_records)
32
- - [SAVING\_DATA](Action.md#saving_data)
33
- - [SELECTION\_CHANGED](Action.md#selection_changed)
34
- - [STATE\_CHANGED](Action.md#state_changed)
35
- - [WAITING\_CHANGE\_CANCELED](Action.md#waiting_change_canceled)
36
-
37
- ## Enumeration Members
38
-
39
- ### CHANGE\_REDONE
40
-
41
- • **CHANGE\_REDONE** = ``"changeRedone"``
42
-
43
- #### Defined in
44
-
45
- src/dataunit/state/action/DataUnitAction.ts:52
46
-
47
- ___
48
-
49
- ### CHANGE\_UNDONE
50
-
51
- • **CHANGE\_UNDONE** = ``"changeUndone"``
52
-
53
- #### Defined in
54
-
55
- src/dataunit/state/action/DataUnitAction.ts:51
56
-
57
- ___
58
-
59
- ### CHANGING\_DATA
60
-
61
- • **CHANGING\_DATA** = ``"changingData"``
62
-
63
- #### Defined in
64
-
65
- src/dataunit/state/action/DataUnitAction.ts:45
66
-
67
- ___
68
-
69
- ### CHILD\_CHANGED
70
-
71
- • **CHILD\_CHANGED** = ``"childChanged"``
72
-
73
- #### Defined in
74
-
75
- src/dataunit/state/action/DataUnitAction.ts:63
76
-
77
- ___
78
-
79
- ### DATA\_CHANGED
80
-
81
- • **DATA\_CHANGED** = ``"dataChanged"``
82
-
83
- #### Defined in
84
-
85
- src/dataunit/state/action/DataUnitAction.ts:47
86
-
87
- ___
88
-
89
- ### DATA\_LOADED
90
-
91
- • **DATA\_LOADED** = ``"dataLoaded"``
92
-
93
- #### Defined in
94
-
95
- src/dataunit/state/action/DataUnitAction.ts:33
96
-
97
- ___
98
-
99
- ### DATA\_RESOLVED
100
-
101
- • **DATA\_RESOLVED** = ``"dataResolved"``
102
-
103
- #### Defined in
104
-
105
- src/dataunit/state/action/DataUnitAction.ts:48
106
-
107
- ___
108
-
109
- ### DATA\_SAVED
110
-
111
- • **DATA\_SAVED** = ``"dataSaved"``
112
-
113
- #### Defined in
114
-
115
- src/dataunit/state/action/DataUnitAction.ts:37
116
-
117
- ___
118
-
119
- ### EDITION\_CANCELED
120
-
121
- • **EDITION\_CANCELED** = ``"editionCanceled"``
122
-
123
- #### Defined in
124
-
125
- src/dataunit/state/action/DataUnitAction.ts:50
126
-
127
- ___
128
-
129
- ### FIELD\_INVALIDATED
130
-
131
- • **FIELD\_INVALIDATED** = ``"fieldInvalidated"``
132
-
133
- #### Defined in
134
-
135
- src/dataunit/state/action/DataUnitAction.ts:65
136
-
137
- ___
138
-
139
- ### INVALIDATE\_CLEAN
140
-
141
- • **INVALIDATE\_CLEAN** = ``"invalidateClean"``
142
-
143
- #### Defined in
144
-
145
- src/dataunit/state/action/DataUnitAction.ts:66
146
-
147
- ___
148
-
149
- ### LOADING\_DATA
150
-
151
- • **LOADING\_DATA** = ``"loadingData"``
152
-
153
- #### Defined in
154
-
155
- src/dataunit/state/action/DataUnitAction.ts:32
156
-
157
- ___
158
-
159
- ### LOADING\_METADATA
160
-
161
- • **LOADING\_METADATA** = ``"loadingMetadata"``
162
-
163
- #### Defined in
164
-
165
- src/dataunit/state/action/DataUnitAction.ts:29
166
-
167
- ___
168
-
169
- ### LOADING\_RECORD
170
-
171
- • **LOADING\_RECORD** = ``"loadingRecord"``
172
-
173
- #### Defined in
174
-
175
- src/dataunit/state/action/DataUnitAction.ts:60
176
-
177
- ___
178
-
179
- ### METADATA\_LOADED
180
-
181
- • **METADATA\_LOADED** = ``"metadataLoaded"``
182
-
183
- #### Defined in
184
-
185
- src/dataunit/state/action/DataUnitAction.ts:30
186
-
187
- ___
188
-
189
- ### NEXT\_SELECTED
190
-
191
- • **NEXT\_SELECTED** = ``"nextSelected"``
192
-
193
- #### Defined in
194
-
195
- src/dataunit/state/action/DataUnitAction.ts:55
196
-
197
- ___
198
-
199
- ### PAGINATION\_UPDATED
200
-
201
- • **PAGINATION\_UPDATED** = ``"paginationUpdated"``
202
-
203
- #### Defined in
204
-
205
- src/dataunit/state/action/DataUnitAction.ts:34
206
-
207
- ___
208
-
209
- ### PREVIOUS\_SELECTED
210
-
211
- • **PREVIOUS\_SELECTED** = ``"previousSelected"``
212
-
213
- #### Defined in
214
-
215
- src/dataunit/state/action/DataUnitAction.ts:56
216
-
217
- ___
218
-
219
- ### RECORDS\_ADDED
220
-
221
- • **RECORDS\_ADDED** = ``"recordsAdded"``
222
-
223
- #### Defined in
224
-
225
- src/dataunit/state/action/DataUnitAction.ts:42
226
-
227
- ___
228
-
229
- ### RECORDS\_COPIED
230
-
231
- • **RECORDS\_COPIED** = ``"recordsCopied"``
232
-
233
- #### Defined in
234
-
235
- src/dataunit/state/action/DataUnitAction.ts:43
236
-
237
- ___
238
-
239
- ### RECORDS\_REMOVED
240
-
241
- • **RECORDS\_REMOVED** = ``"recordsRemoved"``
242
-
243
- #### Defined in
244
-
245
- src/dataunit/state/action/DataUnitAction.ts:40
246
-
247
- ___
248
-
249
- ### RECORD\_LOADED
250
-
251
- • **RECORD\_LOADED** = ``"recordLoaded"``
252
-
253
- #### Defined in
254
-
255
- src/dataunit/state/action/DataUnitAction.ts:61
256
-
257
- ___
258
-
259
- ### REMOVING\_RECORDS
260
-
261
- • **REMOVING\_RECORDS** = ``"removingRecords"``
262
-
263
- #### Defined in
264
-
265
- src/dataunit/state/action/DataUnitAction.ts:39
266
-
267
- ___
268
-
269
- ### SAVING\_DATA
270
-
271
- • **SAVING\_DATA** = ``"savingData"``
272
-
273
- #### Defined in
274
-
275
- src/dataunit/state/action/DataUnitAction.ts:36
276
-
277
- ___
278
-
279
- ### SELECTION\_CHANGED
280
-
281
- • **SELECTION\_CHANGED** = ``"selectionChanged"``
282
-
283
- #### Defined in
284
-
285
- src/dataunit/state/action/DataUnitAction.ts:54
286
-
287
- ___
288
-
289
- ### STATE\_CHANGED
290
-
291
- • **STATE\_CHANGED** = ``"stateChanged"``
292
-
293
- #### Defined in
294
-
295
- src/dataunit/state/action/DataUnitAction.ts:58
296
-
297
- ___
298
-
299
- ### WAITING\_CHANGE\_CANCELED
300
-
301
- • **WAITING\_CHANGE\_CANCELED** = ``"waitingChangeCanceled"``
302
-
303
- #### Defined in
304
-
305
- src/dataunit/state/action/DataUnitAction.ts:46
@@ -1,52 +0,0 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ChangeOperation
2
-
3
- # Enumeration: ChangeOperation
4
-
5
- ## Table of contents
6
-
7
- ### Enumeration Members
8
-
9
- - [COPY](ChangeOperation.md#copy)
10
- - [DELETE](ChangeOperation.md#delete)
11
- - [INSERT](ChangeOperation.md#insert)
12
- - [UPDATE](ChangeOperation.md#update)
13
-
14
- ## Enumeration Members
15
-
16
- ### COPY
17
-
18
- • **COPY** = ``"COPY"``
19
-
20
- #### Defined in
21
-
22
- src/dataunit/DataUnit.ts:1747
23
-
24
- ___
25
-
26
- ### DELETE
27
-
28
- • **DELETE** = ``"DELETE"``
29
-
30
- #### Defined in
31
-
32
- src/dataunit/DataUnit.ts:1749
33
-
34
- ___
35
-
36
- ### INSERT
37
-
38
- • **INSERT** = ``"INSERT"``
39
-
40
- #### Defined in
41
-
42
- src/dataunit/DataUnit.ts:1746
43
-
44
- ___
45
-
46
- ### UPDATE
47
-
48
- • **UPDATE** = ``"UPDATE"``
49
-
50
- #### Defined in
51
-
52
- src/dataunit/DataUnit.ts:1748
@@ -1,63 +0,0 @@
1
- [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / DataType
2
-
3
- # Enumeration: DataType
4
-
5
- ## Table of contents
6
-
7
- ### Enumeration Members
8
-
9
- - [BOOLEAN](DataType.md#boolean)
10
- - [DATE](DataType.md#date)
11
- - [NUMBER](DataType.md#number)
12
- - [OBJECT](DataType.md#object)
13
- - [TEXT](DataType.md#text)
14
-
15
- ## Enumeration Members
16
-
17
- ### BOOLEAN
18
-
19
- • **BOOLEAN** = ``"BOOLEAN"``
20
-
21
- #### Defined in
22
-
23
- src/dataunit/metadata/DataType.ts:12
24
-
25
- ___
26
-
27
- ### DATE
28
-
29
- • **DATE** = ``"DATE"``
30
-
31
- #### Defined in
32
-
33
- src/dataunit/metadata/DataType.ts:10
34
-
35
- ___
36
-
37
- ### NUMBER
38
-
39
- • **NUMBER** = ``"NUMBER"``
40
-
41
- #### Defined in
42
-
43
- src/dataunit/metadata/DataType.ts:9
44
-
45
- ___
46
-
47
- ### OBJECT
48
-
49
- • **OBJECT** = ``"OBJECT"``
50
-
51
- #### Defined in
52
-
53
- src/dataunit/metadata/DataType.ts:13
54
-
55
- ___
56
-
57
- ### TEXT
58
-
59
- • **TEXT** = ``"TEXT"``
60
-
61
- #### Defined in
62
-
63
- src/dataunit/metadata/DataType.ts:11