kiss-for-react 1.0.3 → 2.0.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 (155) hide show
  1. package/README.md +699 -156
  2. package/lib/cjs/ClassPersistor.js +177 -112
  3. package/lib/cjs/Esserializer/DeserializationOptions.js +4 -4
  4. package/lib/cjs/Esserializer/SerializeOptions.js +4 -4
  5. package/lib/cjs/Esserializer/builtins.js +258 -0
  6. package/lib/cjs/Esserializer/constant.js +39 -131
  7. package/lib/cjs/Esserializer/deserializer.js +226 -313
  8. package/lib/cjs/Esserializer/general.js +91 -39
  9. package/lib/cjs/Esserializer/index.js +47 -43
  10. package/lib/cjs/Esserializer/serializer.js +168 -133
  11. package/lib/cjs/Evt.js +132 -0
  12. package/lib/cjs/Hooks.js +1472 -969
  13. package/lib/cjs/KissAction.js +4635 -1333
  14. package/lib/cjs/LoadPages.js +336 -0
  15. package/lib/cjs/Persistor.js +189 -120
  16. package/lib/cjs/ProcessPersistence.js +579 -262
  17. package/lib/cjs/Store.js +4278 -1534
  18. package/lib/cjs/StoreException.js +162 -75
  19. package/lib/cjs/StoreProvider.js +88 -0
  20. package/lib/cjs/UserException.js +212 -218
  21. package/lib/cjs/Wait.js +309 -309
  22. package/lib/cjs/index.js +69 -42
  23. package/lib/cjs/server.js +54 -0
  24. package/lib/cjs/types/ClassPersistor.d.ts +143 -112
  25. package/lib/cjs/types/ClassPersistor.d.ts.map +1 -1
  26. package/lib/cjs/types/Esserializer/DeserializationOptions.d.ts +13 -6
  27. package/lib/cjs/types/Esserializer/DeserializationOptions.d.ts.map +1 -1
  28. package/lib/cjs/types/Esserializer/SerializeOptions.d.ts +11 -5
  29. package/lib/cjs/types/Esserializer/SerializeOptions.d.ts.map +1 -1
  30. package/lib/cjs/types/Esserializer/builtins.d.ts +36 -0
  31. package/lib/cjs/types/Esserializer/builtins.d.ts.map +1 -0
  32. package/lib/cjs/types/Esserializer/constant.d.ts +25 -49
  33. package/lib/cjs/types/Esserializer/constant.d.ts.map +1 -1
  34. package/lib/cjs/types/Esserializer/deserializer.d.ts +27 -17
  35. package/lib/cjs/types/Esserializer/deserializer.d.ts.map +1 -1
  36. package/lib/cjs/types/Esserializer/general.d.ts +28 -4
  37. package/lib/cjs/types/Esserializer/general.d.ts.map +1 -1
  38. package/lib/cjs/types/Esserializer/index.d.ts +33 -29
  39. package/lib/cjs/types/Esserializer/index.d.ts.map +1 -1
  40. package/lib/cjs/types/Esserializer/serializer.d.ts +14 -3
  41. package/lib/cjs/types/Esserializer/serializer.d.ts.map +1 -1
  42. package/lib/cjs/types/Evt.d.ts +124 -0
  43. package/lib/cjs/types/Evt.d.ts.map +1 -0
  44. package/lib/cjs/types/Hooks.d.ts +1174 -837
  45. package/lib/cjs/types/Hooks.d.ts.map +1 -1
  46. package/lib/cjs/types/KissAction.d.ts +5199 -1398
  47. package/lib/cjs/types/KissAction.d.ts.map +1 -1
  48. package/lib/cjs/types/LoadPages.d.ts +287 -0
  49. package/lib/cjs/types/LoadPages.d.ts.map +1 -0
  50. package/lib/cjs/types/Persistor.d.ts +187 -118
  51. package/lib/cjs/types/Persistor.d.ts.map +1 -1
  52. package/lib/cjs/types/ProcessPersistence.d.ts +197 -99
  53. package/lib/cjs/types/ProcessPersistence.d.ts.map +1 -1
  54. package/lib/cjs/types/Store.d.ts +2253 -1042
  55. package/lib/cjs/types/Store.d.ts.map +1 -1
  56. package/lib/cjs/types/StoreException.d.ts +97 -28
  57. package/lib/cjs/types/StoreException.d.ts.map +1 -1
  58. package/lib/cjs/types/StoreProvider.d.ts +80 -0
  59. package/lib/cjs/types/StoreProvider.d.ts.map +1 -0
  60. package/lib/cjs/types/UserException.d.ts +178 -169
  61. package/lib/cjs/types/UserException.d.ts.map +1 -1
  62. package/lib/cjs/types/index.d.ts +12 -9
  63. package/lib/cjs/types/index.d.ts.map +1 -1
  64. package/lib/cjs/types/server.d.ts +12 -0
  65. package/lib/cjs/types/server.d.ts.map +1 -0
  66. package/lib/cjs/types/utils.d.ts +15 -1
  67. package/lib/cjs/types/utils.d.ts.map +1 -1
  68. package/lib/cjs/utils.js +45 -7
  69. package/lib/esm/ClassPersistor.mjs +177 -0
  70. package/lib/esm/Esserializer/{DeserializationOptions.js → DeserializationOptions.mjs} +3 -3
  71. package/lib/esm/Esserializer/{SerializeOptions.js → SerializeOptions.mjs} +3 -3
  72. package/lib/esm/Esserializer/builtins.mjs +254 -0
  73. package/lib/esm/Esserializer/constant.mjs +28 -0
  74. package/lib/esm/Esserializer/deserializer.mjs +221 -0
  75. package/lib/esm/Esserializer/general.mjs +81 -0
  76. package/lib/esm/Esserializer/index.mjs +43 -0
  77. package/lib/esm/Esserializer/serializer.mjs +164 -0
  78. package/lib/esm/Evt.mjs +151 -0
  79. package/lib/esm/Hooks.mjs +1446 -0
  80. package/lib/esm/KissAction.mjs +4689 -0
  81. package/lib/esm/LoadPages.mjs +340 -0
  82. package/lib/esm/Persistor.mjs +180 -0
  83. package/lib/esm/ProcessPersistence.mjs +581 -0
  84. package/lib/esm/Store.mjs +4400 -0
  85. package/lib/esm/StoreException.mjs +153 -0
  86. package/lib/esm/StoreProvider.mjs +80 -0
  87. package/lib/esm/{UserException.js → UserException.mjs} +240 -246
  88. package/lib/esm/{Wait.js → Wait.mjs} +309 -309
  89. package/lib/esm/index.mjs +12 -9
  90. package/lib/esm/server.mjs +23 -0
  91. package/lib/esm/types/ClassPersistor.d.ts +143 -112
  92. package/lib/esm/types/ClassPersistor.d.ts.map +1 -1
  93. package/lib/esm/types/Esserializer/DeserializationOptions.d.ts +13 -6
  94. package/lib/esm/types/Esserializer/DeserializationOptions.d.ts.map +1 -1
  95. package/lib/esm/types/Esserializer/SerializeOptions.d.ts +11 -5
  96. package/lib/esm/types/Esserializer/SerializeOptions.d.ts.map +1 -1
  97. package/lib/esm/types/Esserializer/builtins.d.ts +36 -0
  98. package/lib/esm/types/Esserializer/builtins.d.ts.map +1 -0
  99. package/lib/esm/types/Esserializer/constant.d.ts +25 -49
  100. package/lib/esm/types/Esserializer/constant.d.ts.map +1 -1
  101. package/lib/esm/types/Esserializer/deserializer.d.ts +27 -17
  102. package/lib/esm/types/Esserializer/deserializer.d.ts.map +1 -1
  103. package/lib/esm/types/Esserializer/general.d.ts +28 -4
  104. package/lib/esm/types/Esserializer/general.d.ts.map +1 -1
  105. package/lib/esm/types/Esserializer/index.d.ts +33 -29
  106. package/lib/esm/types/Esserializer/index.d.ts.map +1 -1
  107. package/lib/esm/types/Esserializer/serializer.d.ts +14 -3
  108. package/lib/esm/types/Esserializer/serializer.d.ts.map +1 -1
  109. package/lib/esm/types/Evt.d.ts +124 -0
  110. package/lib/esm/types/Evt.d.ts.map +1 -0
  111. package/lib/esm/types/Hooks.d.ts +1174 -837
  112. package/lib/esm/types/Hooks.d.ts.map +1 -1
  113. package/lib/esm/types/KissAction.d.ts +5199 -1398
  114. package/lib/esm/types/KissAction.d.ts.map +1 -1
  115. package/lib/esm/types/LoadPages.d.ts +287 -0
  116. package/lib/esm/types/LoadPages.d.ts.map +1 -0
  117. package/lib/esm/types/Persistor.d.ts +187 -118
  118. package/lib/esm/types/Persistor.d.ts.map +1 -1
  119. package/lib/esm/types/ProcessPersistence.d.ts +197 -99
  120. package/lib/esm/types/ProcessPersistence.d.ts.map +1 -1
  121. package/lib/esm/types/Store.d.ts +2253 -1042
  122. package/lib/esm/types/Store.d.ts.map +1 -1
  123. package/lib/esm/types/StoreException.d.ts +97 -28
  124. package/lib/esm/types/StoreException.d.ts.map +1 -1
  125. package/lib/esm/types/StoreProvider.d.ts +80 -0
  126. package/lib/esm/types/StoreProvider.d.ts.map +1 -0
  127. package/lib/esm/types/UserException.d.ts +178 -169
  128. package/lib/esm/types/UserException.d.ts.map +1 -1
  129. package/lib/esm/types/index.d.ts +12 -9
  130. package/lib/esm/types/index.d.ts.map +1 -1
  131. package/lib/esm/types/server.d.ts +12 -0
  132. package/lib/esm/types/server.d.ts.map +1 -0
  133. package/lib/esm/types/utils.d.ts +15 -1
  134. package/lib/esm/types/utils.d.ts.map +1 -1
  135. package/lib/esm/utils.mjs +38 -0
  136. package/package.json +55 -31
  137. package/lib/cjs/UnmodifiableSetView.js +0 -53
  138. package/lib/cjs/types/UnmodifiableSetView.d.ts +0 -24
  139. package/lib/cjs/types/UnmodifiableSetView.d.ts.map +0 -1
  140. package/lib/esm/ClassPersistor.js +0 -112
  141. package/lib/esm/Esserializer/constant.js +0 -81
  142. package/lib/esm/Esserializer/deserializer.js +0 -307
  143. package/lib/esm/Esserializer/general.js +0 -34
  144. package/lib/esm/Esserializer/index.js +0 -39
  145. package/lib/esm/Esserializer/serializer.js +0 -130
  146. package/lib/esm/Hooks.js +0 -955
  147. package/lib/esm/KissAction.js +0 -1459
  148. package/lib/esm/Persistor.js +0 -113
  149. package/lib/esm/ProcessPersistence.js +0 -262
  150. package/lib/esm/Store.js +0 -1606
  151. package/lib/esm/StoreException.js +0 -69
  152. package/lib/esm/UnmodifiableSetView.js +0 -50
  153. package/lib/esm/types/UnmodifiableSetView.d.ts +0 -24
  154. package/lib/esm/types/UnmodifiableSetView.d.ts.map +0 -1
  155. package/lib/esm/utils.js +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"Store.d.ts","sourceRoot":"","sources":["../../../src/Store.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkC,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EACL,YAAY,EAGZ,UAAU,EAGX,MAAM,cAAc,CAAC;AAKtB,UAAU,iBAAiB,CAAC,EAAE;IAE5B;;OAEG;IACH,YAAY,EAAE,EAAE,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,IAAI,KAAK,IAAI,C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are of type StoreException.
3
- */
4
- export declare class StoreException extends Error {
5
- constructor(message: string);
6
- }
7
- export declare class TimeoutException extends Error {
8
- /**
9
- * The global default timeout for the wait functions (like `waitCondition` etc.) is 10 minutes.
10
- * This value is not final and can be modified.
11
- * To disable the timeout, modify this to a large value, like 300000000000 (almost 10 years).
12
- */
13
- static defaultTimeoutMillis: number;
14
- constructor(message?: string);
15
- }
16
- export declare class ExceptionUtils {
17
- /**
18
- Cuts the stack trace at the given string, to avoid showing internal Kiss lines,
19
- which are not interesting to the user.
20
-
21
- IMPORTANT: This should only be called during development. V8 only computes it if someone
22
- actually reads the property, which improves performance dramatically for handable errors.
23
- When you use this, you'll pay the cost even if your caller doesn't need the stack.
24
-
25
- The given text will be found at the start of the line, like this: ` at ${text} `
26
- */
27
- static sanitizedStackTrace<T extends Error>(error: T, text: string): T;
28
- }
1
+ /**
2
+ All exceptions thrown by Kiss are of type StoreException.
3
+ */
4
+ export declare class StoreException extends Error {
5
+ constructor(message: string);
6
+ }
7
+ /**
8
+ * If an action throws an `AbortDispatchException` from its `before` or `reduce` methods, the
9
+ * action aborts immediately, silently. Note the `after` method still runs, as usual.
10
+ *
11
+ * This is similar to throwing a `UserException`, but without showing any errors to the user,
12
+ * and without the action counting as failed:
13
+ *
14
+ * - The action status has `isDispatchAborted: true`, and the exception as its `originalError`.
15
+ * So `status.isCompletedOk` is `false`.
16
+ * - Like any other error, the exception is first given to the action's `wrapError`, and then to
17
+ * the `errorObserver`. They may return it unaltered (the default), turn it into another error,
18
+ * or swallow it by returning `null`. And if they return an `AbortDispatchException` for some
19
+ * other error, the action is aborted in the same way.
20
+ * - The action is not added to the failed actions, so `isFailed` is `false` for it.
21
+ * - It's never thrown by `dispatch`, and `dispatchAndWait` resolves with the action status,
22
+ * instead of rejecting.
23
+ * - It's not retried, if the action uses `retry`.
24
+ *
25
+ * You can use it in the `before` method to abort the action before the `reduce` method runs,
26
+ * after some ASYNC check. This is different from `abortDispatch()`, which must decide
27
+ * synchronously. For example:
28
+ *
29
+ * ```ts
30
+ * class LoadProfile extends KissAction<State> {
31
+ *
32
+ * async before() {
33
+ * if (await isProfileCached()) throw new AbortDispatchException();
34
+ * }
35
+ *
36
+ * async reduce() { ... }
37
+ * }
38
+ * ```
39
+ *
40
+ * Note Kiss itself also aborts actions with an `AbortDispatchException`: an `ignoreOld` action
41
+ * that became old, a `sequential` action discarded from its queue, an action with
42
+ * `checkInternet = { abort: true }` when there is no internet, and an action that stopped
43
+ * retrying. These are NOT given to `wrapError` or the `errorObserver`, since they didn't come
44
+ * from your code. So a `wrapError` that turns all errors into a `UserException` doesn't show
45
+ * them to the user.
46
+ *
47
+ * See also:
48
+ * - `abortDispatch()`, which is a way to abort the dispatch synchronously, before the action
49
+ * runs.
50
+ */
51
+ export declare class AbortDispatchException extends Error {
52
+ constructor(message?: string);
53
+ }
54
+ /**
55
+ * For Kiss internal use only.
56
+ * Creates an `AbortDispatchException` for an action that Kiss itself aborts. It's not given to
57
+ * the action's `wrapError` or to the `errorObserver`.
58
+ */
59
+ export declare function kissAbort(message: string): AbortDispatchException;
60
+ /**
61
+ * For Kiss internal use only.
62
+ * Returns true if the error is an `AbortDispatchException` created by `kissAbort`.
63
+ */
64
+ export declare function isKissAbort(error: any): boolean;
65
+ export declare class TimeoutException extends Error {
66
+ /**
67
+ * The default timeout of the wait functions that are meant for tests only, like
68
+ * `waitActionCondition`, `waitAllActions`, `waitActionType`, `waitAllActionTypes` and
69
+ * `waitAnyActionTypeFinishes`. It's 3 seconds, which is shorter than the default test timeout
70
+ * of Jest and Vitest (5 seconds). This way, a wait that never completes fails the test with
71
+ * a clear `TimeoutException`, instead of the test runner's generic timeout error.
72
+ *
73
+ * You can change it globally, for example to 10 seconds, if your tests are slower:
74
+ *
75
+ * ```ts
76
+ * TimeoutException.defaultTimeoutMillis = 10_000;
77
+ * ```
78
+ *
79
+ * Note `waitCondition` and `dispatchWhen` have no default, since you may also use them in
80
+ * production. You must always give them a `timeoutMillis`.
81
+ */
82
+ static defaultTimeoutMillis: number;
83
+ constructor(message?: string);
84
+ }
85
+ export declare class ExceptionUtils {
86
+ /**
87
+ Cuts the stack trace at the given string, to avoid showing internal Kiss lines,
88
+ which are not interesting to the user.
89
+
90
+ IMPORTANT: This should only be called during development. V8 only computes it if someone
91
+ actually reads the property, which improves performance dramatically for handable errors.
92
+ When you use this, you'll pay the cost even if your caller doesn't need the stack.
93
+
94
+ The given text will be found at the start of the line, like this: ` at ${text} `
95
+ */
96
+ static sanitizedStackTrace<T extends Error>(error: T, text: string): T;
97
+ }
29
98
  //# sourceMappingURL=StoreException.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StoreException.d.ts","sourceRoot":"","sources":["../../../src/StoreException.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK;gBAC3B,OAAO,EAAE,MAAM;CAU5B;AAGD,qBAAa,gBAAiB,SAAQ,KAAK;IAEzC;;;;OAIG;IACH,OAAc,oBAAoB,SAAkB;gBAExC,OAAO,CAAC,EAAE,MAAM;CAU7B;AAED,qBAAa,cAAc;IAEzB;;;;;;;;;OASG;IACH,MAAM,CAAC,mBAAmB,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;CAiCvE"}
1
+ {"version":3,"file":"StoreException.d.ts","sourceRoot":"","sources":["../../../src/StoreException.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,cAAe,SAAQ,KAAK;gBAC3B,OAAO,EAAE,MAAM;CAU5B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;gBACnC,OAAO,GAAE,MAA4B;CAUlD;AAKD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,sBAAsB,CAIjE;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAE/C;AAED,qBAAa,gBAAiB,SAAQ,KAAK;IAEzC;;;;;;;;;;;;;;;OAeG;IACH,OAAc,oBAAoB,SAAQ;gBAE9B,OAAO,CAAC,EAAE,MAAM;CAU7B;AAED,qBAAa,cAAc;IAEzB;;;;;;;;;OASG;IACH,MAAM,CAAC,mBAAmB,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC;CAiCvE"}
@@ -0,0 +1,80 @@
1
+ import React from 'react';
2
+ import { Store } from './Store';
3
+ export interface StoreProviderProps<St> {
4
+ /**
5
+ * The store the components below get from the hooks. If it changes, the components switch to
6
+ * the new store: they stop listening to the old one, read the new one right away, and the
7
+ * `useStoreEffect` callbacks run `onUnmount` for the old store and `onMount` for the new one.
8
+ */
9
+ store: Store<St>;
10
+ /**
11
+ * The state the server HTML was rendered from, for server-side rendering and hydration.
12
+ * On the server, it's the state to render. On the client, it's the state the HTML shows, which
13
+ * React needs to hydrate without mismatches, even if the live store already changed. After
14
+ * hydration, the components catch up with the live state. If not given, it's the
15
+ * `initialState` the store was created with, which is right when:
16
+ * - On the server, you put the data in the `initialState`, instead of dispatching actions
17
+ * before rendering. If you dispatch before rendering, pass `serverState={store.state}`.
18
+ * - On the client, you create the store with the state transferred from the server. If you
19
+ * create it with some other state, pass the transferred state here.
20
+ * It's only read while hydrating, so a later change is ignored. It should be a stable value.
21
+ *
22
+ * On the server and while hydrating, `useIsWaiting` and `useIsFailed` are false,
23
+ * `useExceptionFor` is null, and `useIsStoreReady` is true: the server HTML never shows an
24
+ * action in progress, a failed action, or a store that is not ready. After hydration, these
25
+ * hooks catch up with the live store too. So, on the server, wait for your actions to finish
26
+ * (and for `store.ready()`, if the server store has a persistor) before rendering.
27
+ */
28
+ serverState?: St;
29
+ children: React.ReactNode;
30
+ }
31
+ export interface StoreContextType<St> {
32
+ store: Store<St> | null;
33
+ /** Returns the `serverState` of the provider (or the store's `initialState`). See `StoreProviderProps`. */
34
+ getServerState: () => St;
35
+ }
36
+ export declare const StoreContext: React.Context<StoreContextType<any>>;
37
+ export declare function StoreProvider<St>(props: StoreProviderProps<St>): React.ReactElement;
38
+ export interface StoreSliceProps {
39
+ /**
40
+ * The slice of state the server loaded for this route: a plain, serializable object (in
41
+ * Next.js, it's a prop a server component gives to this client component). It's merged into
42
+ * the store state once, when the component mounts; to merge it again, remount the component
43
+ * with a new `key`. A later change of this prop, without a new key, is ignored.
44
+ */
45
+ state: object;
46
+ children?: React.ReactNode;
47
+ }
48
+ /**
49
+ * Merges the state the server loaded for a route into the store, in a server-rendered app with
50
+ * several routes (see "Server-side rendering" in the README). The store lives above the routes
51
+ * (the root layout in the Next.js app router, `_app.tsx` in the pages router), and each route's
52
+ * server code loads its own data. Render the route's content inside a `StoreSlice` with that
53
+ * data, in the Next.js app router:
54
+ *
55
+ * ```tsx
56
+ * // app/users/[id]/page.tsx, a server component.
57
+ * export default async function UserPage({ params }) {
58
+ * const user = await loadUser((await params).id);
59
+ * return <StoreSlice state={{ user }} key={user.id}><UserView /></StoreSlice>;
60
+ * }
61
+ * ```
62
+ *
63
+ * What it does:
64
+ * - On the server, it merges the slice into the request's store, and the components inside it
65
+ * render the merged state, so the HTML shows the route's data.
66
+ * - On the client, while hydrating, the components inside it hydrate against the same merged
67
+ * server state (no mismatch, even if the live store already differs), and the slice is merged
68
+ * into the live store before they render, so nothing changes under them after hydration.
69
+ * - On client-side navigation, the slice is merged into the live store before the children
70
+ * render, so the first render of the route already shows its data: no empty or stale frame.
71
+ * The other components (the layout) see the change right after the commit.
72
+ *
73
+ * The merge is `store.mergeServerState(slice)`: the `mergeServerState` option of `createStore`,
74
+ * or a shallow merge for plain-object states. The slice is merged once per mount: use `key`
75
+ * (the entity id, for example) to merge again when the route's data changes. If the store is
76
+ * not ready yet (a persistor still reading), the slice is merged again into the persisted
77
+ * state when it arrives.
78
+ */
79
+ export declare function StoreSlice(props: StoreSliceProps): React.ReactElement;
80
+ //# sourceMappingURL=StoreProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreProvider.d.ts","sourceRoot":"","sources":["../../../src/StoreProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAkBhC,MAAM,WAAW,kBAAkB,CAAC,EAAE;IACpC;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;IAEjB;;;;;;;;;;;;;;;;;OAiBG;IACH,WAAW,CAAC,EAAE,EAAE,CAAC;IAEjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,MAAM,WAAW,gBAAgB,CAAC,EAAE;IAClC,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IAExB,2GAA2G;IAC3G,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B;AAOD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAED,CAAC;AAE9D,wBAAgB,aAAa,CAAC,EAAE,EAAE,KAAK,EAAE,kBAAkB,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,YAAY,CASnF;AAED,MAAM,WAAW,eAAe;IAC9B;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CA+BrE"}
@@ -1,170 +1,179 @@
1
- /**
2
- * This exception is meant to represent a user input error, and not a bug or
3
- * a system error. It must not be logged as an error, but instead shown to the
4
- * user. When dispatched inside a reducer, a dialog will be shown to the user,
5
- * with the given message.
6
- *
7
- * Usage:
8
- *
9
- * ```ts
10
- * // Throws an exception with the given message.
11
- * throw new UserException('The item already exists');
12
- *
13
- * // Throws an exception with the given message and title.
14
- * throw new UserException('The item already exists', { title: 'Could not add' });
15
- * ```
16
- *
17
- * You can also define a hardCause for the exception:
18
- * ```ts
19
- * // Throws an exception with the given message.
20
- * throw new UserException('The item already exists', {hardCause: someError}});
21
- * ```
22
- *
23
- * The user exception is immutable. But you can use some methods to create a modified copy:
24
- * - withTitle
25
- * - withMessage
26
- * - withHardCause
27
- * - withDialog
28
- * - withErrorText
29
- * - addProps
30
- * - addCallbacks
31
- */
32
- export declare class UserException extends Error {
33
- /**
34
- * The title of the dialog that shows the message.
35
- */
36
- readonly title: string;
37
- /**
38
- * The original error that caused the user exception. For example, when validating
39
- * some user input, if you get a ValidationError, that's the hardCause.
40
- * Then: `throw new UserException('Invalid number').withHardCause(validationError)`.
41
- */
42
- readonly hardCause: any;
43
- /**
44
- * If `true`, throwing the exception will show a dialog or similar UI.
45
- * If `false` you can still show the error in a different way, usually showing `errorText`
46
- * in the UI element that is responsible for the error.
47
- */
48
- readonly ifOpenDialog: boolean;
49
- /**
50
- * Some text to be displayed in the UI element that is responsible for the error.
51
- * For example, a text field could show this as red text, below it.
52
- * When building your widgets, you can get the `errorText` from the failed action:
53
- * `errorText = store.exceptionFor(MyAction).errorText`.
54
- */
55
- readonly errorText: string | null;
56
- /**
57
- * Callback to be called after the user views the error, and taps OK in the dialog.
58
- */
59
- readonly onOk?: () => void;
60
- /**
61
- * Callback to be called after the user views the error, and taps CANCEL in the dialog.
62
- */
63
- readonly onCancel?: () => void;
64
- private readonly _props;
65
- constructor(message: string, { title, hardCause, ifOpenDialog, errorText, onOk, onCancel, props }?: {
66
- title?: string;
67
- hardCause?: any;
68
- ifOpenDialog?: boolean;
69
- errorText?: string | null;
70
- onOk?: () => void;
71
- onCancel?: () => void;
72
- props?: {
73
- [key: string]: any;
74
- };
75
- });
76
- /**
77
- * Returns a copy of the props object.
78
- * You can add properties to the user exception by using `addProps`.
79
- */
80
- get props(): {
81
- [key: string]: any;
82
- };
83
- /**
84
- Adds a title to the exception.
85
-
86
- Usage:
87
-
88
- ```ts
89
- // Throws an exception with the given message and title.
90
- throw new UserException('The item already exists').withTitle('Could not add');
91
- ```
92
- */
93
- withTitle(title: string): UserException;
94
- /**
95
- Adds a message to the exception.
96
-
97
- Usage:
98
-
99
- ```ts
100
- // Throws an exception with the given message and title.
101
- throw new UserException('The item already exists').withTitle('Could not add');
102
- ```
103
- */
104
- withMessage(message: string): UserException;
105
- /**
106
- * Adds a hardCause to the exception.
107
- *
108
- * Usage:
109
- *
110
- * ```ts
111
- * throw new UserException('The item already exists').withCause(someError);
112
- * ```
113
- */
114
- withHardCause(hardCause: any): UserException;
115
- /**
116
- * If `true`, throwing the exception will show a dialog or similar UI.
117
- * If `false` you can still show the error in a different way, usually showing `errorText`
118
- * in the UI element that is responsible for the error.
119
- *
120
- * Usage:
121
- *
122
- * ```ts
123
- * throw new UserException('The item already exists').withDialog(false);
124
- * ```
125
- *
126
- */
127
- withDialog(ifOpenDialog: boolean): UserException;
128
- /**
129
- * This exception should NOT open a dialog.
130
- * Still, the error may be shown in a different way, usually showing [errorText]
131
- * somewhere in the UI.
132
- * This is the same as doing: `.withDialog(false)`.
133
- */
134
- get noDialog(): UserException;
135
- /**
136
- * Adds some text to be displayed in the UI element that is responsible for the error.
137
- * For example, a text field could show this as red text, below it.
138
- *
139
- * When building your widgets, you can get the `errorText` from the failed action:
140
- * `errorText = store.exceptionFor(MyAction).errorText`.
141
- *
142
- * Usage:
143
- *
144
- * ```ts
145
- * throw new UserException('The item already exists').withDialog(false);
146
- * ```
147
- *
148
- */
149
- withErrorText(errorText: string | null): UserException;
150
- /**
151
- * Adds `moreProps` to the properties of the `UserException`.
152
- * If the exception already had `props`, the new `moreProps` will be merged with those.
153
- */
154
- addProps(moreProps?: {
155
- [key: string]: any;
156
- }): UserException;
157
- /**
158
- * Adds callbacks to the `UserException`.
159
- *
160
- * This method is used to add `onOk` and `onCancel` callbacks to the `UserException`.
161
- *
162
- * The `onOk` callback will be called when the user taps OK in the error dialog.
163
- * The `onCancel` callback will be called when the user taps CANCEL in the error dialog.
164
- *
165
- * If the exception already had callbacks, the new callbacks will be merged with the old ones,
166
- * and the old callbacks will be called before the new ones.
167
- */
168
- addCallbacks(onOk?: () => void, onCancel?: () => void): UserException;
169
- }
1
+ /**
2
+ * This exception is meant to represent a user input error, and not a bug or
3
+ * a system error. It must not be logged as an error, but instead shown to the
4
+ * user. When dispatched inside a reducer, a dialog will be shown to the user,
5
+ * with the given message.
6
+ *
7
+ * Usage:
8
+ *
9
+ * ```ts
10
+ * // Throws an exception with the given message.
11
+ * throw new UserException('The item already exists');
12
+ *
13
+ * // Throws an exception with the given message and title.
14
+ * throw new UserException('The item already exists', { title: 'Could not add' });
15
+ * ```
16
+ *
17
+ * You can also define a hardCause for the exception:
18
+ * ```ts
19
+ * // Throws an exception with the given message.
20
+ * throw new UserException('The item already exists', {hardCause: someError});
21
+ * ```
22
+ *
23
+ * The user exception is immutable. But you can use some methods to create a modified copy:
24
+ * - withTitle
25
+ * - withMessage
26
+ * - withHardCause
27
+ * - withDialog
28
+ * - withErrorText
29
+ * - addProps
30
+ * - addCallbacks
31
+ */
32
+ export declare class UserException extends Error {
33
+ /**
34
+ * The title of the dialog that shows the message.
35
+ */
36
+ readonly title: string;
37
+ /**
38
+ * The original error that caused the user exception. For example, when validating
39
+ * some user input, if you get a ValidationError, that's the hardCause.
40
+ * Then: `throw new UserException('Invalid number').withHardCause(validationError)`.
41
+ */
42
+ readonly hardCause: any;
43
+ /**
44
+ * If `true`, throwing the exception will show a dialog or similar UI.
45
+ * If `false` you can still show the error in a different way, usually showing `errorText`
46
+ * in the UI element that is responsible for the error.
47
+ */
48
+ readonly ifOpenDialog: boolean;
49
+ /**
50
+ * Some text to be displayed in the UI element that is responsible for the error.
51
+ * For example, a text field could show this as red text, below it.
52
+ * When building your widgets, you can get the `errorText` from the failed action:
53
+ * `errorText = store.exceptionFor(MyAction)?.errorText`.
54
+ */
55
+ readonly errorText: string | null;
56
+ /**
57
+ * Callback to be called after the user views the error, and taps OK in the dialog.
58
+ */
59
+ readonly onOk?: () => void;
60
+ /**
61
+ * Callback to be called after the user views the error, and taps CANCEL in the dialog.
62
+ */
63
+ readonly onCancel?: () => void;
64
+ private readonly _props;
65
+ constructor(message: string, { title, hardCause, ifOpenDialog, errorText, onOk, onCancel, props }?: {
66
+ title?: string;
67
+ hardCause?: any;
68
+ ifOpenDialog?: boolean;
69
+ errorText?: string | null;
70
+ onOk?: () => void;
71
+ onCancel?: () => void;
72
+ props?: {
73
+ [key: string]: any;
74
+ };
75
+ });
76
+ /**
77
+ * Returns a copy of the props object.
78
+ * You can add properties to the user exception by using `addProps`.
79
+ */
80
+ get props(): {
81
+ [key: string]: any;
82
+ };
83
+ /**
84
+ Adds a title to the exception.
85
+
86
+ Usage:
87
+
88
+ ```ts
89
+ // Throws an exception with the given message and title.
90
+ throw new UserException('The item already exists').withTitle('Could not add');
91
+ ```
92
+ */
93
+ withTitle(title: string): this;
94
+ /**
95
+ Adds a message to the exception.
96
+
97
+ Usage:
98
+
99
+ ```ts
100
+ // Throws an exception with the given message and title.
101
+ throw new UserException('The item already exists').withTitle('Could not add');
102
+ ```
103
+ */
104
+ withMessage(message: string): this;
105
+ /**
106
+ * Adds a hardCause to the exception.
107
+ *
108
+ * Usage:
109
+ *
110
+ * ```ts
111
+ * throw new UserException('The item already exists').withHardCause(someError);
112
+ * ```
113
+ */
114
+ withHardCause(hardCause: any): this;
115
+ /**
116
+ * If `true`, throwing the exception will show a dialog or similar UI.
117
+ * If `false` you can still show the error in a different way, usually showing `errorText`
118
+ * in the UI element that is responsible for the error.
119
+ *
120
+ * Usage:
121
+ *
122
+ * ```ts
123
+ * throw new UserException('The item already exists').withDialog(false);
124
+ * ```
125
+ *
126
+ */
127
+ withDialog(ifOpenDialog: boolean): this;
128
+ /**
129
+ * This exception should NOT open a dialog.
130
+ * Still, the error may be shown in a different way, usually showing [errorText]
131
+ * somewhere in the UI.
132
+ * This is the same as doing: `.withDialog(false)`.
133
+ */
134
+ get noDialog(): this;
135
+ /**
136
+ * Adds some text to be displayed in the UI element that is responsible for the error.
137
+ * For example, a text field could show this as red text, below it.
138
+ *
139
+ * When building your widgets, you can get the `errorText` from the failed action:
140
+ * `errorText = store.exceptionFor(MyAction)?.errorText`.
141
+ *
142
+ * Usage:
143
+ *
144
+ * ```ts
145
+ * throw new UserException('The item already exists').withDialog(false);
146
+ * ```
147
+ *
148
+ */
149
+ withErrorText(errorText: string | null): this;
150
+ /**
151
+ * Adds `moreProps` to the properties of the `UserException`.
152
+ * If the exception already had `props`, the new `moreProps` will be merged with those.
153
+ */
154
+ addProps(moreProps?: {
155
+ [key: string]: any;
156
+ }): this;
157
+ /**
158
+ * Adds callbacks to the `UserException`.
159
+ *
160
+ * This method is used to add `onOk` and `onCancel` callbacks to the `UserException`.
161
+ *
162
+ * The `onOk` callback will be called when the user taps OK in the error dialog.
163
+ * The `onCancel` callback will be called when the user taps CANCEL in the error dialog.
164
+ *
165
+ * If the exception already had callbacks, the new callbacks will be merged with the old ones,
166
+ * and the old callbacks will be called before the new ones.
167
+ */
168
+ addCallbacks(onOk?: () => void, onCancel?: () => void): this;
169
+ /**
170
+ * Returns a new exception with the same fields as this one,
171
+ * except for the ones given in `changes`.
172
+ *
173
+ * The copy has the same prototype as this exception, so it keeps its subclass, and the
174
+ * fields of the subclass. The constructor of the subclass is not called, since it may
175
+ * take different parameters.
176
+ */
177
+ private copy;
178
+ }
170
179
  //# sourceMappingURL=UserException.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserException.d.ts","sourceRoot":"","sources":["../../../src/UserException.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAEtC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,QA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