@symbo.ls/datepicker 0.4.1 → 0.5.9

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 (204) hide show
  1. package/package.json +7 -2
  2. package/packages/react/index.js +7 -0
  3. package/packages/react/node_modules/.yarn-integrity +105 -0
  4. package/packages/react/node_modules/@domql/cache/LICENSE +21 -0
  5. package/packages/react/node_modules/@domql/cache/index.js +0 -0
  6. package/packages/react/node_modules/@domql/cache/package.json +10 -0
  7. package/packages/react/node_modules/@domql/cookie/LICENSE +21 -0
  8. package/packages/react/node_modules/@domql/cookie/index.js +22 -0
  9. package/packages/react/node_modules/@domql/cookie/package.json +10 -0
  10. package/packages/react/node_modules/@domql/define/LICENSE +21 -0
  11. package/packages/react/node_modules/@domql/define/index.js +14 -0
  12. package/packages/react/node_modules/@domql/define/package.json +11 -0
  13. package/packages/react/node_modules/@domql/domql/LICENSE +21 -0
  14. package/packages/react/node_modules/@domql/domql/dist/index.js +93 -0
  15. package/packages/react/node_modules/@domql/domql/dist/index.js.map +1 -0
  16. package/packages/react/node_modules/@domql/domql/package.json +33 -0
  17. package/packages/react/node_modules/@domql/element/LICENSE +21 -0
  18. package/packages/react/node_modules/@domql/element/package.json +20 -0
  19. package/packages/react/node_modules/@domql/element/src/assign.js +22 -0
  20. package/packages/react/node_modules/@domql/element/src/create.js +125 -0
  21. package/packages/react/node_modules/@domql/element/src/index.js +8 -0
  22. package/packages/react/node_modules/@domql/element/src/iterate.js +80 -0
  23. package/packages/react/node_modules/@domql/element/src/methods.js +96 -0
  24. package/packages/react/node_modules/@domql/element/src/set.js +44 -0
  25. package/packages/react/node_modules/@domql/element/src/update.js +100 -0
  26. package/packages/react/node_modules/@domql/event/LICENSE +21 -0
  27. package/packages/react/node_modules/@domql/event/package.json +14 -0
  28. package/packages/react/node_modules/@domql/event/src/can.js +10 -0
  29. package/packages/react/node_modules/@domql/event/src/index.js +11 -0
  30. package/packages/react/node_modules/@domql/event/src/is.js +13 -0
  31. package/packages/react/node_modules/@domql/event/src/on.js +33 -0
  32. package/packages/react/node_modules/@domql/event/src/store.js +6 -0
  33. package/packages/react/node_modules/@domql/event/src/wrappers.js +14 -0
  34. package/packages/react/node_modules/@domql/event/yarn-error.log +44 -0
  35. package/packages/react/node_modules/@domql/id/LICENSE +21 -0
  36. package/packages/react/node_modules/@domql/id/index.js +12 -0
  37. package/packages/react/node_modules/@domql/id/package.json +10 -0
  38. package/packages/react/node_modules/@domql/mixins/LICENSE +21 -0
  39. package/packages/react/node_modules/@domql/mixins/package.json +12 -0
  40. package/packages/react/node_modules/@domql/mixins/src/attr.js +19 -0
  41. package/packages/react/node_modules/@domql/mixins/src/classList.js +37 -0
  42. package/packages/react/node_modules/@domql/mixins/src/content.js +17 -0
  43. package/packages/react/node_modules/@domql/mixins/src/data.js +21 -0
  44. package/packages/react/node_modules/@domql/mixins/src/html.js +17 -0
  45. package/packages/react/node_modules/@domql/mixins/src/index.js +11 -0
  46. package/packages/react/node_modules/@domql/mixins/src/registry.js +55 -0
  47. package/packages/react/node_modules/@domql/mixins/src/state.js +16 -0
  48. package/packages/react/node_modules/@domql/mixins/src/style.js +14 -0
  49. package/packages/react/node_modules/@domql/mixins/src/text.js +19 -0
  50. package/packages/react/node_modules/@domql/node/LICENSE +21 -0
  51. package/packages/react/node_modules/@domql/node/package.json +18 -0
  52. package/packages/react/node_modules/@domql/node/src/cache.js +53 -0
  53. package/packages/react/node_modules/@domql/node/src/create.js +86 -0
  54. package/packages/react/node_modules/@domql/node/src/index.js +5 -0
  55. package/packages/react/node_modules/@domql/node/src/registry.js +139 -0
  56. package/packages/react/node_modules/@domql/node/yarn-error.log +166 -0
  57. package/packages/react/node_modules/@domql/parse/LICENSE +21 -0
  58. package/packages/react/node_modules/@domql/parse/index.js +16 -0
  59. package/packages/react/node_modules/@domql/parse/package.json +10 -0
  60. package/packages/react/node_modules/@domql/props/LICENSE +21 -0
  61. package/packages/react/node_modules/@domql/props/package.json +10 -0
  62. package/packages/react/node_modules/@domql/props/src/index.js +62 -0
  63. package/packages/react/node_modules/@domql/proto/LICENSE +21 -0
  64. package/packages/react/node_modules/@domql/proto/index.js +66 -0
  65. package/packages/react/node_modules/@domql/proto/package.json +10 -0
  66. package/packages/react/node_modules/@domql/react-transformer/LICENSE +21 -0
  67. package/packages/react/node_modules/@domql/react-transformer/dist/index.js +62 -0
  68. package/packages/react/node_modules/@domql/react-transformer/dist/index.js.map +1 -0
  69. package/packages/react/node_modules/@domql/react-transformer/package.json +17 -0
  70. package/packages/react/node_modules/@domql/report/LICENSE +21 -0
  71. package/packages/react/node_modules/@domql/report/index.js +62 -0
  72. package/packages/react/node_modules/@domql/report/package.json +7 -0
  73. package/packages/react/node_modules/@domql/state/LICENSE +21 -0
  74. package/packages/react/node_modules/@domql/state/package.json +11 -0
  75. package/packages/react/node_modules/@domql/state/src/index.js +51 -0
  76. package/packages/react/node_modules/@domql/tree/LICENSE +21 -0
  77. package/packages/react/node_modules/@domql/tree/index.js +6 -0
  78. package/packages/react/node_modules/@domql/tree/package.json +10 -0
  79. package/packages/react/node_modules/@domql/tree/root.js +8 -0
  80. package/packages/react/node_modules/@domql/utils/LICENSE +21 -0
  81. package/packages/react/node_modules/@domql/utils/package.json +13 -0
  82. package/packages/react/node_modules/@domql/utils/src/index.js +5 -0
  83. package/packages/react/node_modules/@domql/utils/src/node.js +10 -0
  84. package/packages/react/node_modules/@domql/utils/src/object.js +193 -0
  85. package/packages/react/node_modules/@domql/utils/src/protoUtils.js +119 -0
  86. package/packages/react/node_modules/@symbo.ls/block/package.json +7 -0
  87. package/packages/react/node_modules/@symbo.ls/block/packages/react/index.js +1 -0
  88. package/packages/react/node_modules/@symbo.ls/block/packages/react/package.json +7 -0
  89. package/packages/react/node_modules/@symbo.ls/block/src/index.js +90 -0
  90. package/packages/react/node_modules/@symbo.ls/block/src/style.js +5 -0
  91. package/packages/react/node_modules/@symbo.ls/datepicker/package.json +12 -0
  92. package/packages/react/node_modules/@symbo.ls/datepicker/packages/react/index.js +1 -0
  93. package/packages/react/node_modules/@symbo.ls/datepicker/packages/react/package.json +7 -0
  94. package/packages/react/node_modules/@symbo.ls/datepicker/src/index.js +115 -0
  95. package/packages/react/node_modules/@symbo.ls/datepicker/src/style.js +100 -0
  96. package/packages/react/node_modules/@symbo.ls/icon/package.json +10 -0
  97. package/packages/react/node_modules/@symbo.ls/icon/packages/react/index.js +1 -0
  98. package/packages/react/node_modules/@symbo.ls/icon/packages/react/package.json +7 -0
  99. package/packages/react/node_modules/@symbo.ls/icon/src/index.js +14 -0
  100. package/packages/react/node_modules/@symbo.ls/icon/src/style.js +8 -0
  101. package/packages/react/node_modules/@symbo.ls/shape/package.json +7 -0
  102. package/packages/react/node_modules/@symbo.ls/shape/packages/react/index.js +1 -0
  103. package/packages/react/node_modules/@symbo.ls/shape/packages/react/package.json +7 -0
  104. package/packages/react/node_modules/@symbo.ls/shape/src/index.js +43 -0
  105. package/packages/react/node_modules/@symbo.ls/shape/src/style.js +102 -0
  106. package/packages/react/node_modules/@symbo.ls/svg/package.json +7 -0
  107. package/packages/react/node_modules/@symbo.ls/svg/packages/react/index.js +1 -0
  108. package/packages/react/node_modules/@symbo.ls/svg/packages/react/package.json +7 -0
  109. package/packages/react/node_modules/@symbo.ls/svg/src/index.js +14 -0
  110. package/packages/react/node_modules/js-tokens/CHANGELOG.md +151 -0
  111. package/packages/react/node_modules/js-tokens/LICENSE +21 -0
  112. package/packages/react/node_modules/js-tokens/README.md +240 -0
  113. package/packages/react/node_modules/js-tokens/index.js +23 -0
  114. package/packages/react/node_modules/js-tokens/package.json +30 -0
  115. package/packages/react/node_modules/loose-envify/LICENSE +21 -0
  116. package/packages/react/node_modules/loose-envify/README.md +45 -0
  117. package/packages/react/node_modules/loose-envify/cli.js +16 -0
  118. package/packages/react/node_modules/loose-envify/custom.js +4 -0
  119. package/packages/react/node_modules/loose-envify/index.js +3 -0
  120. package/packages/react/node_modules/loose-envify/loose-envify.js +36 -0
  121. package/packages/react/node_modules/loose-envify/package.json +36 -0
  122. package/packages/react/node_modules/loose-envify/replace.js +65 -0
  123. package/packages/react/node_modules/object-assign/index.js +90 -0
  124. package/packages/react/node_modules/object-assign/license +21 -0
  125. package/packages/react/node_modules/object-assign/package.json +42 -0
  126. package/packages/react/node_modules/object-assign/readme.md +61 -0
  127. package/packages/react/node_modules/react/LICENSE +21 -0
  128. package/packages/react/node_modules/react/README.md +13 -0
  129. package/packages/react/node_modules/react/build-info.json +8 -0
  130. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1203 -0
  131. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +9 -0
  132. package/packages/react/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +9 -0
  133. package/packages/react/node_modules/react/cjs/react-jsx-runtime.development.js +1221 -0
  134. package/packages/react/node_modules/react/cjs/react-jsx-runtime.production.min.js +10 -0
  135. package/packages/react/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +10 -0
  136. package/packages/react/node_modules/react/cjs/react.development.js +2333 -0
  137. package/packages/react/node_modules/react/cjs/react.production.min.js +23 -0
  138. package/packages/react/node_modules/react/index.js +7 -0
  139. package/packages/react/node_modules/react/jsx-dev-runtime.js +7 -0
  140. package/packages/react/node_modules/react/jsx-runtime.js +7 -0
  141. package/packages/react/node_modules/react/package.json +39 -0
  142. package/packages/react/node_modules/react/umd/react.development.js +3357 -0
  143. package/packages/react/node_modules/react/umd/react.production.min.js +31 -0
  144. package/packages/react/node_modules/react/umd/react.profiling.min.js +36 -0
  145. package/packages/react/node_modules/react-dom/LICENSE +21 -0
  146. package/packages/react/node_modules/react-dom/README.md +54 -0
  147. package/packages/react/node_modules/react-dom/build-info.json +8 -0
  148. package/packages/react/node_modules/react-dom/cjs/react-dom-server.browser.development.js +4342 -0
  149. package/packages/react/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +51 -0
  150. package/packages/react/node_modules/react-dom/cjs/react-dom-server.node.development.js +4383 -0
  151. package/packages/react/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +52 -0
  152. package/packages/react/node_modules/react-dom/cjs/react-dom-test-utils.development.js +2118 -0
  153. package/packages/react/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +43 -0
  154. package/packages/react/node_modules/react-dom/cjs/react-dom.development.js +26262 -0
  155. package/packages/react/node_modules/react-dom/cjs/react-dom.production.min.js +297 -0
  156. package/packages/react/node_modules/react-dom/cjs/react-dom.profiling.min.js +310 -0
  157. package/packages/react/node_modules/react-dom/index.js +38 -0
  158. package/packages/react/node_modules/react-dom/package.json +49 -0
  159. package/packages/react/node_modules/react-dom/profiling.js +38 -0
  160. package/packages/react/node_modules/react-dom/server.browser.js +7 -0
  161. package/packages/react/node_modules/react-dom/server.js +3 -0
  162. package/packages/react/node_modules/react-dom/server.node.js +7 -0
  163. package/packages/react/node_modules/react-dom/test-utils.js +7 -0
  164. package/packages/react/node_modules/react-dom/umd/react-dom-server.browser.development.js +4341 -0
  165. package/packages/react/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +46 -0
  166. package/packages/react/node_modules/react-dom/umd/react-dom-test-utils.development.js +2136 -0
  167. package/packages/react/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +35 -0
  168. package/packages/react/node_modules/react-dom/umd/react-dom.development.js +26292 -0
  169. package/packages/react/node_modules/react-dom/umd/react-dom.production.min.js +245 -0
  170. package/packages/react/node_modules/react-dom/umd/react-dom.profiling.min.js +252 -0
  171. package/packages/react/node_modules/regenerator-runtime/LICENSE +21 -0
  172. package/packages/react/node_modules/regenerator-runtime/README.md +31 -0
  173. package/packages/react/node_modules/regenerator-runtime/package.json +19 -0
  174. package/packages/react/node_modules/regenerator-runtime/path.js +11 -0
  175. package/packages/react/node_modules/regenerator-runtime/runtime.js +754 -0
  176. package/packages/react/node_modules/scheduler/LICENSE +21 -0
  177. package/packages/react/node_modules/scheduler/README.md +9 -0
  178. package/packages/react/node_modules/scheduler/build-info.json +8 -0
  179. package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.development.js +347 -0
  180. package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +9 -0
  181. package/packages/react/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +16 -0
  182. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +665 -0
  183. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +19 -0
  184. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +206 -0
  185. package/packages/react/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +13 -0
  186. package/packages/react/node_modules/scheduler/cjs/scheduler.development.js +646 -0
  187. package/packages/react/node_modules/scheduler/cjs/scheduler.production.min.js +20 -0
  188. package/packages/react/node_modules/scheduler/index.js +7 -0
  189. package/packages/react/node_modules/scheduler/package.json +40 -0
  190. package/packages/react/node_modules/scheduler/tracing-profiling.js +7 -0
  191. package/packages/react/node_modules/scheduler/tracing.js +7 -0
  192. package/packages/react/node_modules/scheduler/umd/scheduler-tracing.development.js +80 -0
  193. package/packages/react/node_modules/scheduler/umd/scheduler-tracing.production.min.js +80 -0
  194. package/packages/react/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +80 -0
  195. package/packages/react/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +664 -0
  196. package/packages/react/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +18 -0
  197. package/packages/react/node_modules/scheduler/umd/scheduler.development.js +152 -0
  198. package/packages/react/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
  199. package/packages/react/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
  200. package/packages/react/node_modules/scheduler/unstable_mock.js +7 -0
  201. package/packages/react/node_modules/scheduler/unstable_post_task.js +7 -0
  202. package/packages/react/package.json +6 -2
  203. package/packages/react/yarn.lock +229 -0
  204. package/src/index.js +3 -3
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Facebook, Inc. and its affiliates.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,9 @@
1
+ # `scheduler`
2
+
3
+ This is a package for cooperative scheduling in a browser environment. It is currently used internally by React, but we plan to make it more generic.
4
+
5
+ The public API for this package is not yet finalized.
6
+
7
+ ### Thanks
8
+
9
+ The React team thanks [Anton Podviaznikov](https://podviaznikov.com/) for donating the `scheduler` package name.
@@ -0,0 +1,8 @@
1
+ {
2
+ "branch": "pull/21051",
3
+ "buildNumber": "287151",
4
+ "checksum": "94f5c65",
5
+ "commit": "12adaffef",
6
+ "environment": "ci",
7
+ "reactVersion": "17.0.0-12adaffef"
8
+ }
@@ -0,0 +1,347 @@
1
+ /** @license React v0.20.2
2
+ * scheduler-tracing.development.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ 'use strict';
11
+
12
+ if (process.env.NODE_ENV !== "production") {
13
+ (function() {
14
+ 'use strict';
15
+
16
+ var DEFAULT_THREAD_ID = 0; // Counters used to generate unique IDs.
17
+
18
+ var interactionIDCounter = 0;
19
+ var threadIDCounter = 0; // Set of currently traced interactions.
20
+ // Interactions "stack"–
21
+ // Meaning that newly traced interactions are appended to the previously active set.
22
+ // When an interaction goes out of scope, the previous set (if any) is restored.
23
+
24
+ exports.__interactionsRef = null; // Listener(s) to notify when interactions begin and end.
25
+
26
+ exports.__subscriberRef = null;
27
+
28
+ {
29
+ exports.__interactionsRef = {
30
+ current: new Set()
31
+ };
32
+ exports.__subscriberRef = {
33
+ current: null
34
+ };
35
+ }
36
+ function unstable_clear(callback) {
37
+
38
+ var prevInteractions = exports.__interactionsRef.current;
39
+ exports.__interactionsRef.current = new Set();
40
+
41
+ try {
42
+ return callback();
43
+ } finally {
44
+ exports.__interactionsRef.current = prevInteractions;
45
+ }
46
+ }
47
+ function unstable_getCurrent() {
48
+ {
49
+ return exports.__interactionsRef.current;
50
+ }
51
+ }
52
+ function unstable_getThreadID() {
53
+ return ++threadIDCounter;
54
+ }
55
+ function unstable_trace(name, timestamp, callback) {
56
+ var threadID = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_THREAD_ID;
57
+
58
+ var interaction = {
59
+ __count: 1,
60
+ id: interactionIDCounter++,
61
+ name: name,
62
+ timestamp: timestamp
63
+ };
64
+ var prevInteractions = exports.__interactionsRef.current; // Traced interactions should stack/accumulate.
65
+ // To do that, clone the current interactions.
66
+ // The previous set will be restored upon completion.
67
+
68
+ var interactions = new Set(prevInteractions);
69
+ interactions.add(interaction);
70
+ exports.__interactionsRef.current = interactions;
71
+ var subscriber = exports.__subscriberRef.current;
72
+ var returnValue;
73
+
74
+ try {
75
+ if (subscriber !== null) {
76
+ subscriber.onInteractionTraced(interaction);
77
+ }
78
+ } finally {
79
+ try {
80
+ if (subscriber !== null) {
81
+ subscriber.onWorkStarted(interactions, threadID);
82
+ }
83
+ } finally {
84
+ try {
85
+ returnValue = callback();
86
+ } finally {
87
+ exports.__interactionsRef.current = prevInteractions;
88
+
89
+ try {
90
+ if (subscriber !== null) {
91
+ subscriber.onWorkStopped(interactions, threadID);
92
+ }
93
+ } finally {
94
+ interaction.__count--; // If no async work was scheduled for this interaction,
95
+ // Notify subscribers that it's completed.
96
+
97
+ if (subscriber !== null && interaction.__count === 0) {
98
+ subscriber.onInteractionScheduledWorkCompleted(interaction);
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+
105
+ return returnValue;
106
+ }
107
+ function unstable_wrap(callback) {
108
+ var threadID = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_THREAD_ID;
109
+
110
+ var wrappedInteractions = exports.__interactionsRef.current;
111
+ var subscriber = exports.__subscriberRef.current;
112
+
113
+ if (subscriber !== null) {
114
+ subscriber.onWorkScheduled(wrappedInteractions, threadID);
115
+ } // Update the pending async work count for the current interactions.
116
+ // Update after calling subscribers in case of error.
117
+
118
+
119
+ wrappedInteractions.forEach(function (interaction) {
120
+ interaction.__count++;
121
+ });
122
+ var hasRun = false;
123
+
124
+ function wrapped() {
125
+ var prevInteractions = exports.__interactionsRef.current;
126
+ exports.__interactionsRef.current = wrappedInteractions;
127
+ subscriber = exports.__subscriberRef.current;
128
+
129
+ try {
130
+ var returnValue;
131
+
132
+ try {
133
+ if (subscriber !== null) {
134
+ subscriber.onWorkStarted(wrappedInteractions, threadID);
135
+ }
136
+ } finally {
137
+ try {
138
+ returnValue = callback.apply(undefined, arguments);
139
+ } finally {
140
+ exports.__interactionsRef.current = prevInteractions;
141
+
142
+ if (subscriber !== null) {
143
+ subscriber.onWorkStopped(wrappedInteractions, threadID);
144
+ }
145
+ }
146
+ }
147
+
148
+ return returnValue;
149
+ } finally {
150
+ if (!hasRun) {
151
+ // We only expect a wrapped function to be executed once,
152
+ // But in the event that it's executed more than once–
153
+ // Only decrement the outstanding interaction counts once.
154
+ hasRun = true; // Update pending async counts for all wrapped interactions.
155
+ // If this was the last scheduled async work for any of them,
156
+ // Mark them as completed.
157
+
158
+ wrappedInteractions.forEach(function (interaction) {
159
+ interaction.__count--;
160
+
161
+ if (subscriber !== null && interaction.__count === 0) {
162
+ subscriber.onInteractionScheduledWorkCompleted(interaction);
163
+ }
164
+ });
165
+ }
166
+ }
167
+ }
168
+
169
+ wrapped.cancel = function cancel() {
170
+ subscriber = exports.__subscriberRef.current;
171
+
172
+ try {
173
+ if (subscriber !== null) {
174
+ subscriber.onWorkCanceled(wrappedInteractions, threadID);
175
+ }
176
+ } finally {
177
+ // Update pending async counts for all wrapped interactions.
178
+ // If this was the last scheduled async work for any of them,
179
+ // Mark them as completed.
180
+ wrappedInteractions.forEach(function (interaction) {
181
+ interaction.__count--;
182
+
183
+ if (subscriber && interaction.__count === 0) {
184
+ subscriber.onInteractionScheduledWorkCompleted(interaction);
185
+ }
186
+ });
187
+ }
188
+ };
189
+
190
+ return wrapped;
191
+ }
192
+
193
+ var subscribers = null;
194
+
195
+ {
196
+ subscribers = new Set();
197
+ }
198
+
199
+ function unstable_subscribe(subscriber) {
200
+ {
201
+ subscribers.add(subscriber);
202
+
203
+ if (subscribers.size === 1) {
204
+ exports.__subscriberRef.current = {
205
+ onInteractionScheduledWorkCompleted: onInteractionScheduledWorkCompleted,
206
+ onInteractionTraced: onInteractionTraced,
207
+ onWorkCanceled: onWorkCanceled,
208
+ onWorkScheduled: onWorkScheduled,
209
+ onWorkStarted: onWorkStarted,
210
+ onWorkStopped: onWorkStopped
211
+ };
212
+ }
213
+ }
214
+ }
215
+ function unstable_unsubscribe(subscriber) {
216
+ {
217
+ subscribers.delete(subscriber);
218
+
219
+ if (subscribers.size === 0) {
220
+ exports.__subscriberRef.current = null;
221
+ }
222
+ }
223
+ }
224
+
225
+ function onInteractionTraced(interaction) {
226
+ var didCatchError = false;
227
+ var caughtError = null;
228
+ subscribers.forEach(function (subscriber) {
229
+ try {
230
+ subscriber.onInteractionTraced(interaction);
231
+ } catch (error) {
232
+ if (!didCatchError) {
233
+ didCatchError = true;
234
+ caughtError = error;
235
+ }
236
+ }
237
+ });
238
+
239
+ if (didCatchError) {
240
+ throw caughtError;
241
+ }
242
+ }
243
+
244
+ function onInteractionScheduledWorkCompleted(interaction) {
245
+ var didCatchError = false;
246
+ var caughtError = null;
247
+ subscribers.forEach(function (subscriber) {
248
+ try {
249
+ subscriber.onInteractionScheduledWorkCompleted(interaction);
250
+ } catch (error) {
251
+ if (!didCatchError) {
252
+ didCatchError = true;
253
+ caughtError = error;
254
+ }
255
+ }
256
+ });
257
+
258
+ if (didCatchError) {
259
+ throw caughtError;
260
+ }
261
+ }
262
+
263
+ function onWorkScheduled(interactions, threadID) {
264
+ var didCatchError = false;
265
+ var caughtError = null;
266
+ subscribers.forEach(function (subscriber) {
267
+ try {
268
+ subscriber.onWorkScheduled(interactions, threadID);
269
+ } catch (error) {
270
+ if (!didCatchError) {
271
+ didCatchError = true;
272
+ caughtError = error;
273
+ }
274
+ }
275
+ });
276
+
277
+ if (didCatchError) {
278
+ throw caughtError;
279
+ }
280
+ }
281
+
282
+ function onWorkStarted(interactions, threadID) {
283
+ var didCatchError = false;
284
+ var caughtError = null;
285
+ subscribers.forEach(function (subscriber) {
286
+ try {
287
+ subscriber.onWorkStarted(interactions, threadID);
288
+ } catch (error) {
289
+ if (!didCatchError) {
290
+ didCatchError = true;
291
+ caughtError = error;
292
+ }
293
+ }
294
+ });
295
+
296
+ if (didCatchError) {
297
+ throw caughtError;
298
+ }
299
+ }
300
+
301
+ function onWorkStopped(interactions, threadID) {
302
+ var didCatchError = false;
303
+ var caughtError = null;
304
+ subscribers.forEach(function (subscriber) {
305
+ try {
306
+ subscriber.onWorkStopped(interactions, threadID);
307
+ } catch (error) {
308
+ if (!didCatchError) {
309
+ didCatchError = true;
310
+ caughtError = error;
311
+ }
312
+ }
313
+ });
314
+
315
+ if (didCatchError) {
316
+ throw caughtError;
317
+ }
318
+ }
319
+
320
+ function onWorkCanceled(interactions, threadID) {
321
+ var didCatchError = false;
322
+ var caughtError = null;
323
+ subscribers.forEach(function (subscriber) {
324
+ try {
325
+ subscriber.onWorkCanceled(interactions, threadID);
326
+ } catch (error) {
327
+ if (!didCatchError) {
328
+ didCatchError = true;
329
+ caughtError = error;
330
+ }
331
+ }
332
+ });
333
+
334
+ if (didCatchError) {
335
+ throw caughtError;
336
+ }
337
+ }
338
+
339
+ exports.unstable_clear = unstable_clear;
340
+ exports.unstable_getCurrent = unstable_getCurrent;
341
+ exports.unstable_getThreadID = unstable_getThreadID;
342
+ exports.unstable_subscribe = unstable_subscribe;
343
+ exports.unstable_trace = unstable_trace;
344
+ exports.unstable_unsubscribe = unstable_unsubscribe;
345
+ exports.unstable_wrap = unstable_wrap;
346
+ })();
347
+ }
@@ -0,0 +1,9 @@
1
+ /** @license React v0.20.2
2
+ * scheduler-tracing.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ 'use strict';var b=0;exports.__interactionsRef=null;exports.__subscriberRef=null;exports.unstable_clear=function(a){return a()};exports.unstable_getCurrent=function(){return null};exports.unstable_getThreadID=function(){return++b};exports.unstable_subscribe=function(){};exports.unstable_trace=function(a,d,c){return c()};exports.unstable_unsubscribe=function(){};exports.unstable_wrap=function(a){return a};
@@ -0,0 +1,16 @@
1
+ /** @license React v0.20.2
2
+ * scheduler-tracing.profiling.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ 'use strict';var g=0,l=0;exports.__interactionsRef=null;exports.__subscriberRef=null;exports.__interactionsRef={current:new Set};exports.__subscriberRef={current:null};var m=null;m=new Set;function n(e){var d=!1,a=null;m.forEach(function(c){try{c.onInteractionTraced(e)}catch(b){d||(d=!0,a=b)}});if(d)throw a;}function p(e){var d=!1,a=null;m.forEach(function(c){try{c.onInteractionScheduledWorkCompleted(e)}catch(b){d||(d=!0,a=b)}});if(d)throw a;}
10
+ function q(e,d){var a=!1,c=null;m.forEach(function(b){try{b.onWorkScheduled(e,d)}catch(f){a||(a=!0,c=f)}});if(a)throw c;}function r(e,d){var a=!1,c=null;m.forEach(function(b){try{b.onWorkStarted(e,d)}catch(f){a||(a=!0,c=f)}});if(a)throw c;}function t(e,d){var a=!1,c=null;m.forEach(function(b){try{b.onWorkStopped(e,d)}catch(f){a||(a=!0,c=f)}});if(a)throw c;}function u(e,d){var a=!1,c=null;m.forEach(function(b){try{b.onWorkCanceled(e,d)}catch(f){a||(a=!0,c=f)}});if(a)throw c;}
11
+ exports.unstable_clear=function(e){var d=exports.__interactionsRef.current;exports.__interactionsRef.current=new Set;try{return e()}finally{exports.__interactionsRef.current=d}};exports.unstable_getCurrent=function(){return exports.__interactionsRef.current};exports.unstable_getThreadID=function(){return++l};
12
+ exports.unstable_subscribe=function(e){m.add(e);1===m.size&&(exports.__subscriberRef.current={onInteractionScheduledWorkCompleted:p,onInteractionTraced:n,onWorkCanceled:u,onWorkScheduled:q,onWorkStarted:r,onWorkStopped:t})};
13
+ exports.unstable_trace=function(e,d,a){var c=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,b={__count:1,id:g++,name:e,timestamp:d},f=exports.__interactionsRef.current,k=new Set(f);k.add(b);exports.__interactionsRef.current=k;var h=exports.__subscriberRef.current;try{if(null!==h)h.onInteractionTraced(b)}finally{try{if(null!==h)h.onWorkStarted(k,c)}finally{try{var v=a()}finally{exports.__interactionsRef.current=f;try{if(null!==h)h.onWorkStopped(k,c)}finally{if(b.__count--,null!==h&&0===b.__count)h.onInteractionScheduledWorkCompleted(b)}}}}return v};
14
+ exports.unstable_unsubscribe=function(e){m.delete(e);0===m.size&&(exports.__subscriberRef.current=null)};
15
+ exports.unstable_wrap=function(e){function d(){var d=exports.__interactionsRef.current;exports.__interactionsRef.current=c;b=exports.__subscriberRef.current;try{try{if(null!==b)b.onWorkStarted(c,a)}finally{try{var h=e.apply(void 0,arguments)}finally{if(exports.__interactionsRef.current=d,null!==b)b.onWorkStopped(c,a)}}return h}finally{f||(f=!0,c.forEach(function(a){a.__count--;if(null!==b&&0===a.__count)b.onInteractionScheduledWorkCompleted(a)}))}}var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:
16
+ 0,c=exports.__interactionsRef.current,b=exports.__subscriberRef.current;if(null!==b)b.onWorkScheduled(c,a);c.forEach(function(a){a.__count++});var f=!1;d.cancel=function(){b=exports.__subscriberRef.current;try{if(null!==b)b.onWorkCanceled(c,a)}finally{c.forEach(function(a){a.__count--;if(b&&0===a.__count)b.onInteractionScheduledWorkCompleted(a)})}};return d};