@cratis/arc.react 18.5.0 → 18.7.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 (137) hide show
  1. package/commands/for_CommandScopeImplementation/FakeCommand.ts +25 -26
  2. package/commands/for_CommandScopeImplementation/when_property_changes_on_added_command.ts +2 -2
  3. package/dist/cjs/commands/for_CommandScopeImplementation/FakeCommand.d.ts +23 -0
  4. package/dist/cjs/commands/for_CommandScopeImplementation/FakeCommand.d.ts.map +1 -0
  5. package/dist/cjs/commands/for_CommandScopeImplementation/when_executing_with_three_commands_were_two_having_changes.d.ts +2 -0
  6. package/dist/cjs/commands/for_CommandScopeImplementation/when_executing_with_three_commands_were_two_having_changes.d.ts.map +1 -0
  7. package/dist/cjs/commands/for_CommandScopeImplementation/when_none_of_the_added_commands_has_changes.d.ts +2 -0
  8. package/dist/cjs/commands/for_CommandScopeImplementation/when_none_of_the_added_commands_has_changes.d.ts.map +1 -0
  9. package/dist/cjs/commands/for_CommandScopeImplementation/when_one_of_the_added_commands_has_changes.d.ts +2 -0
  10. package/dist/cjs/commands/for_CommandScopeImplementation/when_one_of_the_added_commands_has_changes.d.ts.map +1 -0
  11. package/dist/cjs/commands/for_CommandScopeImplementation/when_property_changes_on_added_command.d.ts +2 -0
  12. package/dist/cjs/commands/for_CommandScopeImplementation/when_property_changes_on_added_command.d.ts.map +1 -0
  13. package/dist/cjs/commands/for_CommandScopeImplementation/when_reverting_with_three_commands_were_two_having_changes.d.ts +2 -0
  14. package/dist/cjs/commands/for_CommandScopeImplementation/when_reverting_with_three_commands_were_two_having_changes.d.ts.map +1 -0
  15. package/dist/cjs/commands/for_CommandScopeImplementation/when_there_are_no_commands.d.ts +2 -0
  16. package/dist/cjs/commands/for_CommandScopeImplementation/when_there_are_no_commands.d.ts.map +1 -0
  17. package/dist/cjs/commands/for_useCommand/FakeCommand.d.ts +17 -0
  18. package/dist/cjs/commands/for_useCommand/FakeCommand.d.ts.map +1 -0
  19. package/dist/cjs/commands/for_useCommand/when_creating_instance.d.ts +2 -0
  20. package/dist/cjs/commands/for_useCommand/when_creating_instance.d.ts.map +1 -0
  21. package/dist/cjs/commands/for_useCommand/when_creating_instance_with_initial_values.d.ts +2 -0
  22. package/dist/cjs/commands/for_useCommand/when_creating_instance_with_initial_values.d.ts.map +1 -0
  23. package/dist/cjs/commands/for_useCommand/when_creating_instance_without_optional_context_values.d.ts +2 -0
  24. package/dist/cjs/commands/for_useCommand/when_creating_instance_without_optional_context_values.d.ts.map +1 -0
  25. package/dist/cjs/identity/for_IdentityProvider/when_refreshing_identity.d.ts +2 -0
  26. package/dist/cjs/identity/for_IdentityProvider/when_refreshing_identity.d.ts.map +1 -0
  27. package/dist/cjs/queries/for_useObservableQuery/FakeObservableQuery.d.ts +19 -0
  28. package/dist/cjs/queries/for_useObservableQuery/FakeObservableQuery.d.ts.map +1 -0
  29. package/dist/cjs/queries/for_useObservableQuery/when_creating_instance.d.ts +2 -0
  30. package/dist/cjs/queries/for_useObservableQuery/when_creating_instance.d.ts.map +1 -0
  31. package/dist/cjs/queries/for_useQuery/FakeQuery.d.ts +14 -0
  32. package/dist/cjs/queries/for_useQuery/FakeQuery.d.ts.map +1 -0
  33. package/dist/cjs/queries/for_useQuery/when_creating_instance.d.ts +2 -0
  34. package/dist/cjs/queries/for_useQuery/when_creating_instance.d.ts.map +1 -0
  35. package/dist/cjs/queries/for_useQuery/when_creating_instance_with_sorting.d.ts +2 -0
  36. package/dist/cjs/queries/for_useQuery/when_creating_instance_with_sorting.d.ts.map +1 -0
  37. package/dist/cjs/queries/for_useQuery/when_creating_instance_without_optional_context_values.d.ts +2 -0
  38. package/dist/cjs/queries/for_useQuery/when_creating_instance_without_optional_context_values.d.ts.map +1 -0
  39. package/dist/cjs/queries/for_useQueryWithPaging/when_creating_instance_with_paging.d.ts +2 -0
  40. package/dist/cjs/queries/for_useQueryWithPaging/when_creating_instance_with_paging.d.ts.map +1 -0
  41. package/dist/esm/commands/for_CommandScopeImplementation/FakeCommand.d.ts +23 -0
  42. package/dist/esm/commands/for_CommandScopeImplementation/FakeCommand.d.ts.map +1 -0
  43. package/dist/esm/commands/for_CommandScopeImplementation/FakeCommand.js +49 -0
  44. package/dist/esm/commands/for_CommandScopeImplementation/FakeCommand.js.map +1 -0
  45. package/dist/esm/commands/for_CommandScopeImplementation/when_executing_with_three_commands_were_two_having_changes.d.ts +2 -0
  46. package/dist/esm/commands/for_CommandScopeImplementation/when_executing_with_three_commands_were_two_having_changes.d.ts.map +1 -0
  47. package/dist/esm/commands/for_CommandScopeImplementation/when_executing_with_three_commands_were_two_having_changes.js +17 -0
  48. package/dist/esm/commands/for_CommandScopeImplementation/when_executing_with_three_commands_were_two_having_changes.js.map +1 -0
  49. package/dist/esm/commands/for_CommandScopeImplementation/when_none_of_the_added_commands_has_changes.d.ts +2 -0
  50. package/dist/esm/commands/for_CommandScopeImplementation/when_none_of_the_added_commands_has_changes.d.ts.map +1 -0
  51. package/dist/esm/commands/for_CommandScopeImplementation/when_none_of_the_added_commands_has_changes.js +13 -0
  52. package/dist/esm/commands/for_CommandScopeImplementation/when_none_of_the_added_commands_has_changes.js.map +1 -0
  53. package/dist/esm/commands/for_CommandScopeImplementation/when_one_of_the_added_commands_has_changes.d.ts +2 -0
  54. package/dist/esm/commands/for_CommandScopeImplementation/when_one_of_the_added_commands_has_changes.d.ts.map +1 -0
  55. package/dist/esm/commands/for_CommandScopeImplementation/when_one_of_the_added_commands_has_changes.js +13 -0
  56. package/dist/esm/commands/for_CommandScopeImplementation/when_one_of_the_added_commands_has_changes.js.map +1 -0
  57. package/dist/esm/commands/for_CommandScopeImplementation/when_property_changes_on_added_command.d.ts +2 -0
  58. package/dist/esm/commands/for_CommandScopeImplementation/when_property_changes_on_added_command.d.ts.map +1 -0
  59. package/dist/esm/commands/for_CommandScopeImplementation/when_property_changes_on_added_command.js +18 -0
  60. package/dist/esm/commands/for_CommandScopeImplementation/when_property_changes_on_added_command.js.map +1 -0
  61. package/dist/esm/commands/for_CommandScopeImplementation/when_reverting_with_three_commands_were_two_having_changes.d.ts +2 -0
  62. package/dist/esm/commands/for_CommandScopeImplementation/when_reverting_with_three_commands_were_two_having_changes.d.ts.map +1 -0
  63. package/dist/esm/commands/for_CommandScopeImplementation/when_reverting_with_three_commands_were_two_having_changes.js +17 -0
  64. package/dist/esm/commands/for_CommandScopeImplementation/when_reverting_with_three_commands_were_two_having_changes.js.map +1 -0
  65. package/dist/esm/commands/for_CommandScopeImplementation/when_there_are_no_commands.d.ts +2 -0
  66. package/dist/esm/commands/for_CommandScopeImplementation/when_there_are_no_commands.d.ts.map +1 -0
  67. package/dist/esm/commands/for_CommandScopeImplementation/when_there_are_no_commands.js +6 -0
  68. package/dist/esm/commands/for_CommandScopeImplementation/when_there_are_no_commands.js.map +1 -0
  69. package/dist/esm/commands/for_useCommand/FakeCommand.d.ts +17 -0
  70. package/dist/esm/commands/for_useCommand/FakeCommand.d.ts.map +1 -0
  71. package/dist/esm/commands/for_useCommand/FakeCommand.js +18 -0
  72. package/dist/esm/commands/for_useCommand/FakeCommand.js.map +1 -0
  73. package/dist/esm/commands/for_useCommand/when_creating_instance.d.ts +2 -0
  74. package/dist/esm/commands/for_useCommand/when_creating_instance.d.ts.map +1 -0
  75. package/dist/esm/commands/for_useCommand/when_creating_instance.js +28 -0
  76. package/dist/esm/commands/for_useCommand/when_creating_instance.js.map +1 -0
  77. package/dist/esm/commands/for_useCommand/when_creating_instance_with_initial_values.d.ts +2 -0
  78. package/dist/esm/commands/for_useCommand/when_creating_instance_with_initial_values.d.ts.map +1 -0
  79. package/dist/esm/commands/for_useCommand/when_creating_instance_with_initial_values.js +24 -0
  80. package/dist/esm/commands/for_useCommand/when_creating_instance_with_initial_values.js.map +1 -0
  81. package/dist/esm/commands/for_useCommand/when_creating_instance_without_optional_context_values.d.ts +2 -0
  82. package/dist/esm/commands/for_useCommand/when_creating_instance_without_optional_context_values.d.ts.map +1 -0
  83. package/dist/esm/commands/for_useCommand/when_creating_instance_without_optional_context_values.js +24 -0
  84. package/dist/esm/commands/for_useCommand/when_creating_instance_without_optional_context_values.js.map +1 -0
  85. package/dist/esm/for_Bindings/given/bindings_context.d.ts +4 -0
  86. package/dist/esm/for_Bindings/given/bindings_context.d.ts.map +1 -0
  87. package/dist/esm/for_Bindings/given/bindings_context.js +5 -0
  88. package/dist/esm/for_Bindings/given/bindings_context.js.map +1 -0
  89. package/dist/esm/for_Bindings/when_initializing_bindings.d.ts +2 -0
  90. package/dist/esm/for_Bindings/when_initializing_bindings.d.ts.map +1 -0
  91. package/dist/esm/for_Bindings/when_initializing_bindings.js +24 -0
  92. package/dist/esm/for_Bindings/when_initializing_bindings.js.map +1 -0
  93. package/dist/esm/for_Bindings/when_initializing_bindings_without_optional_parameters.d.ts +2 -0
  94. package/dist/esm/for_Bindings/when_initializing_bindings_without_optional_parameters.d.ts.map +1 -0
  95. package/dist/esm/for_Bindings/when_initializing_bindings_without_optional_parameters.js +24 -0
  96. package/dist/esm/for_Bindings/when_initializing_bindings_without_optional_parameters.js.map +1 -0
  97. package/dist/esm/identity/for_IdentityProvider/when_refreshing_identity.d.ts +2 -0
  98. package/dist/esm/identity/for_IdentityProvider/when_refreshing_identity.d.ts.map +1 -0
  99. package/dist/esm/identity/for_IdentityProvider/when_refreshing_identity.js +47 -0
  100. package/dist/esm/identity/for_IdentityProvider/when_refreshing_identity.js.map +1 -0
  101. package/dist/esm/queries/for_useObservableQuery/FakeObservableQuery.d.ts +19 -0
  102. package/dist/esm/queries/for_useObservableQuery/FakeObservableQuery.d.ts.map +1 -0
  103. package/dist/esm/queries/for_useObservableQuery/FakeObservableQuery.js +25 -0
  104. package/dist/esm/queries/for_useObservableQuery/FakeObservableQuery.js.map +1 -0
  105. package/dist/esm/queries/for_useObservableQuery/when_creating_instance.d.ts +2 -0
  106. package/dist/esm/queries/for_useObservableQuery/when_creating_instance.d.ts.map +1 -0
  107. package/dist/esm/queries/for_useObservableQuery/when_creating_instance.js +66 -0
  108. package/dist/esm/queries/for_useObservableQuery/when_creating_instance.js.map +1 -0
  109. package/dist/esm/queries/for_useQuery/FakeQuery.d.ts +14 -0
  110. package/dist/esm/queries/for_useQuery/FakeQuery.d.ts.map +1 -0
  111. package/dist/esm/queries/for_useQuery/FakeQuery.js +13 -0
  112. package/dist/esm/queries/for_useQuery/FakeQuery.js.map +1 -0
  113. package/dist/esm/queries/for_useQuery/when_creating_instance.d.ts +2 -0
  114. package/dist/esm/queries/for_useQuery/when_creating_instance.d.ts.map +1 -0
  115. package/dist/esm/queries/for_useQuery/when_creating_instance.js +48 -0
  116. package/dist/esm/queries/for_useQuery/when_creating_instance.js.map +1 -0
  117. package/dist/esm/queries/for_useQuery/when_creating_instance_with_sorting.d.ts +2 -0
  118. package/dist/esm/queries/for_useQuery/when_creating_instance_with_sorting.d.ts.map +1 -0
  119. package/dist/esm/queries/for_useQuery/when_creating_instance_with_sorting.js +40 -0
  120. package/dist/esm/queries/for_useQuery/when_creating_instance_with_sorting.js.map +1 -0
  121. package/dist/esm/queries/for_useQuery/when_creating_instance_without_optional_context_values.d.ts +2 -0
  122. package/dist/esm/queries/for_useQuery/when_creating_instance_without_optional_context_values.d.ts.map +1 -0
  123. package/dist/esm/queries/for_useQuery/when_creating_instance_without_optional_context_values.js +44 -0
  124. package/dist/esm/queries/for_useQuery/when_creating_instance_without_optional_context_values.js.map +1 -0
  125. package/dist/esm/queries/for_useQueryWithPaging/when_creating_instance_with_paging.d.ts +2 -0
  126. package/dist/esm/queries/for_useQueryWithPaging/when_creating_instance_with_paging.d.ts.map +1 -0
  127. package/dist/esm/queries/for_useQueryWithPaging/when_creating_instance_with_paging.js +51 -0
  128. package/dist/esm/queries/for_useQueryWithPaging/when_creating_instance_with_paging.js.map +1 -0
  129. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  130. package/global.d.ts +11 -0
  131. package/identity/for_IdentityProvider/when_refreshing_identity.ts +4 -3
  132. package/package.json +2 -2
  133. package/queries/for_useObservableQuery/when_creating_instance.ts +2 -2
  134. package/queries/for_useQuery/when_creating_instance.ts +6 -2
  135. package/queries/for_useQuery/when_creating_instance_with_sorting.ts +6 -4
  136. package/queries/for_useQuery/when_creating_instance_without_optional_context_values.ts +6 -2
  137. package/queries/for_useQueryWithPaging/when_creating_instance_with_paging.ts +6 -2
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+ import { useQuery } from '../useQuery';
4
+ import { FakeQuery } from './FakeQuery';
5
+ import { ArcContext } from '../../ArcContext';
6
+ import { createFetchHelper } from '@cratis/arc/helpers/fetchHelper';
7
+ describe('when creating instance without optional context values', () => {
8
+ let fetchStub;
9
+ let fetchHelper;
10
+ let queryInstance = null;
11
+ const captureInstance = (instance) => {
12
+ queryInstance = instance;
13
+ };
14
+ beforeEach(() => {
15
+ fetchHelper = createFetchHelper();
16
+ fetchStub = fetchHelper.stubFetch();
17
+ fetchStub.resolves({
18
+ json: async () => ({ data: [], isSuccess: true, isAuthorized: true, isValid: true, hasExceptions: false, validationResults: [], exceptionMessages: [], exceptionStackTrace: '' })
19
+ });
20
+ });
21
+ afterEach(() => {
22
+ fetchHelper.restore();
23
+ });
24
+ const config = {
25
+ microservice: 'test-microservice'
26
+ };
27
+ class SpyQuery extends FakeQuery {
28
+ constructor() {
29
+ super();
30
+ captureInstance(this);
31
+ }
32
+ }
33
+ render(React.createElement(ArcContext.Provider, { value: config }, React.createElement(() => {
34
+ useQuery(SpyQuery);
35
+ return React.createElement('div', null, 'Test');
36
+ })));
37
+ it('should set api base path to empty string', () => (queryInstance._apiBasePath).should.equal(''));
38
+ it('should set origin to empty string', () => (queryInstance._origin).should.equal(''));
39
+ it('should set http headers callback to return empty object', () => {
40
+ const headers = queryInstance._httpHeadersCallback();
41
+ headers.should.deep.equal({});
42
+ });
43
+ });
44
+ //# sourceMappingURL=when_creating_instance_without_optional_context_values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"when_creating_instance_without_optional_context_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Q,SAAS;QAC5B;YACI,KAAK,EAAE,CAAC;YACR,eAAe,CAAC,IAAI,CAAC,CAAC;QAC1B,CAAC;KACJ;IAED,MAAM,CACF,KAAK,CAAC,aAAa,CACf,UAAU,CAAC,QAAQ,EACnB,EAAE,KAAK,EAAE,MAAM,EAAE,EACjB,KAAK,CAAC,aAAa,CAAC,GAAG,EAAE;QACrB,QAAQ,CAAC,QAAQ,CAAC,CAAC;QACnB,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC,CAAC,CACL,CACJ,CAAC;IAEF,EAAE,CAAC,0CAA0C,EAAE,GAAG,EAAE,CAAC,CAAE,aAAqB,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7G,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE,CAAC,CAAE,aAAqB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IACjG,EAAE,CAAC,yDAAyD,EAAE,GAAG,EAAE;QAC/D,MAAM,OAAO,GAAI,aAAqB,CAAC,oBAAoB,EAAE,CAAC;QAC9D,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=when_creating_instance_with_paging.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"when_creating_instance_with_paging.d.ts","sourceRoot":"","sources":["../../../../queries/for_useQueryWithPaging/when_creating_instance_with_paging.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+ import { render } from '@testing-library/react';
3
+ import { useQueryWithPaging } from '../useQuery';
4
+ import { FakeQuery } from '../for_useQuery/FakeQuery';
5
+ import { ArcContext } from '../../ArcContext';
6
+ import { Paging } from '@cratis/arc/queries';
7
+ import { createFetchHelper } from '@cratis/arc/helpers/fetchHelper';
8
+ describe('when creating instance with paging', () => {
9
+ let fetchStub;
10
+ let fetchHelper;
11
+ let queryInstance = null;
12
+ const captureInstance = (instance) => {
13
+ queryInstance = instance;
14
+ };
15
+ beforeEach(() => {
16
+ fetchHelper = createFetchHelper();
17
+ fetchStub = fetchHelper.stubFetch();
18
+ fetchStub.resolves({
19
+ json: async () => ({ data: [], isSuccess: true, isAuthorized: true, isValid: true, hasExceptions: false, validationResults: [], exceptionMessages: [], exceptionStackTrace: '' })
20
+ });
21
+ });
22
+ afterEach(() => {
23
+ fetchHelper.restore();
24
+ });
25
+ const config = {
26
+ microservice: 'test-microservice',
27
+ apiBasePath: '/api',
28
+ origin: 'https://example.com',
29
+ httpHeadersCallback: () => ({ 'X-Custom-Header': 'custom-value' })
30
+ };
31
+ const paging = new Paging(1, 10);
32
+ class SpyQuery extends FakeQuery {
33
+ constructor() {
34
+ super();
35
+ captureInstance(this);
36
+ }
37
+ }
38
+ render(React.createElement(ArcContext.Provider, { value: config }, React.createElement(() => {
39
+ useQueryWithPaging(SpyQuery, paging);
40
+ return React.createElement('div', null, 'Test');
41
+ })));
42
+ it('should set paging on the query', () => queryInstance.paging.should.equal(paging));
43
+ it('should set microservice from context', () => (queryInstance._microservice).should.equal('test-microservice'));
44
+ it('should set api base path from context', () => (queryInstance._apiBasePath).should.equal('/api'));
45
+ it('should set origin from context', () => (queryInstance._origin).should.equal('https://example.com'));
46
+ it('should set http headers callback from context', () => {
47
+ const headers = queryInstance._httpHeadersCallback();
48
+ headers.should.deep.equal({ 'X-Custom-Header': 'custom-value' });
49
+ });
50
+ });
51
+ //# sourceMappingURL=when_creating_instance_with_paging.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"when_creating_instance_with_paging.js","sourceRoot":"","sources":["../../../../queries/for_useQueryWithPaging/when_creating_instance_with_paging.ts"],"names":[],"mappings":"AAGA,OAAO,KA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