@p4ulcristian/iris-layout 0.2.0 → 0.2.2

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 (201) hide show
  1. package/dist/cljs-runtime/cljs.core.js +38746 -0
  2. package/dist/cljs-runtime/cljs.core.js.map +1 -0
  3. package/dist/cljs-runtime/cljs.pprint.js +8400 -0
  4. package/dist/cljs-runtime/cljs.pprint.js.map +1 -0
  5. package/dist/cljs-runtime/cljs.stacktrace.js +561 -0
  6. package/dist/cljs-runtime/cljs.stacktrace.js.map +1 -0
  7. package/dist/cljs-runtime/cljs_env.js +1286 -0
  8. package/dist/cljs-runtime/clojure.data.js +295 -0
  9. package/dist/cljs-runtime/clojure.data.js.map +1 -0
  10. package/dist/cljs-runtime/clojure.set.js +382 -0
  11. package/dist/cljs-runtime/clojure.set.js.map +1 -0
  12. package/dist/cljs-runtime/clojure.string.js +480 -0
  13. package/dist/cljs-runtime/clojure.string.js.map +1 -0
  14. package/dist/cljs-runtime/clojure.walk.js +132 -0
  15. package/dist/cljs-runtime/clojure.walk.js.map +1 -0
  16. package/dist/cljs-runtime/devtools.async.js +90 -0
  17. package/dist/cljs-runtime/devtools.async.js.map +1 -0
  18. package/dist/cljs-runtime/devtools.context.js +11 -0
  19. package/dist/cljs-runtime/devtools.context.js.map +1 -0
  20. package/dist/cljs-runtime/devtools.core.js +175 -0
  21. package/dist/cljs-runtime/devtools.core.js.map +1 -0
  22. package/dist/cljs-runtime/devtools.defaults.js +20 -0
  23. package/dist/cljs-runtime/devtools.defaults.js.map +1 -0
  24. package/dist/cljs-runtime/devtools.format.js +631 -0
  25. package/dist/cljs-runtime/devtools.format.js.map +1 -0
  26. package/dist/cljs-runtime/devtools.formatters.budgeting.js +182 -0
  27. package/dist/cljs-runtime/devtools.formatters.budgeting.js.map +1 -0
  28. package/dist/cljs-runtime/devtools.formatters.core.js +220 -0
  29. package/dist/cljs-runtime/devtools.formatters.core.js.map +1 -0
  30. package/dist/cljs-runtime/devtools.formatters.helpers.js +228 -0
  31. package/dist/cljs-runtime/devtools.formatters.helpers.js.map +1 -0
  32. package/dist/cljs-runtime/devtools.formatters.js +261 -0
  33. package/dist/cljs-runtime/devtools.formatters.js.map +1 -0
  34. package/dist/cljs-runtime/devtools.formatters.markup.js +1174 -0
  35. package/dist/cljs-runtime/devtools.formatters.markup.js.map +1 -0
  36. package/dist/cljs-runtime/devtools.formatters.printing.js +313 -0
  37. package/dist/cljs-runtime/devtools.formatters.printing.js.map +1 -0
  38. package/dist/cljs-runtime/devtools.formatters.state.js +325 -0
  39. package/dist/cljs-runtime/devtools.formatters.state.js.map +1 -0
  40. package/dist/cljs-runtime/devtools.formatters.templating.js +666 -0
  41. package/dist/cljs-runtime/devtools.formatters.templating.js.map +1 -0
  42. package/dist/cljs-runtime/devtools.hints.js +193 -0
  43. package/dist/cljs-runtime/devtools.hints.js.map +1 -0
  44. package/dist/cljs-runtime/devtools.munging.js +1058 -0
  45. package/dist/cljs-runtime/devtools.munging.js.map +1 -0
  46. package/dist/cljs-runtime/devtools.prefs.js +87 -0
  47. package/dist/cljs-runtime/devtools.prefs.js.map +1 -0
  48. package/dist/cljs-runtime/devtools.preload.js +11 -0
  49. package/dist/cljs-runtime/devtools.preload.js.map +1 -0
  50. package/dist/cljs-runtime/devtools.protocols.js +98 -0
  51. package/dist/cljs-runtime/devtools.protocols.js.map +1 -0
  52. package/dist/cljs-runtime/devtools.reporter.js +81 -0
  53. package/dist/cljs-runtime/devtools.reporter.js.map +1 -0
  54. package/dist/cljs-runtime/devtools.toolbox.js +141 -0
  55. package/dist/cljs-runtime/devtools.toolbox.js.map +1 -0
  56. package/dist/cljs-runtime/devtools.util.js +517 -0
  57. package/dist/cljs-runtime/devtools.util.js.map +1 -0
  58. package/dist/cljs-runtime/devtools.version.js +9 -0
  59. package/dist/cljs-runtime/devtools.version.js.map +1 -0
  60. package/dist/cljs-runtime/goog.array.array.js +659 -0
  61. package/dist/cljs-runtime/goog.array.array.js.map +9 -0
  62. package/dist/cljs-runtime/goog.asserts.asserts.js +133 -0
  63. package/dist/cljs-runtime/goog.asserts.asserts.js.map +9 -0
  64. package/dist/cljs-runtime/goog.asserts.dom.js +90 -0
  65. package/dist/cljs-runtime/goog.asserts.dom.js.map +9 -0
  66. package/dist/cljs-runtime/goog.async.nexttick.js +93 -0
  67. package/dist/cljs-runtime/goog.async.nexttick.js.map +9 -0
  68. package/dist/cljs-runtime/goog.base.js +1261 -0
  69. package/dist/cljs-runtime/goog.base.js.map +9 -0
  70. package/dist/cljs-runtime/goog.collections.maps.js +82 -0
  71. package/dist/cljs-runtime/goog.collections.maps.js.map +9 -0
  72. package/dist/cljs-runtime/goog.debug.entrypointregistry.js +44 -0
  73. package/dist/cljs-runtime/goog.debug.entrypointregistry.js.map +9 -0
  74. package/dist/cljs-runtime/goog.debug.error.js +30 -0
  75. package/dist/cljs-runtime/goog.debug.error.js.map +9 -0
  76. package/dist/cljs-runtime/goog.dom.asserts.js +40 -0
  77. package/dist/cljs-runtime/goog.dom.asserts.js.map +9 -0
  78. package/dist/cljs-runtime/goog.dom.browserfeature.js +21 -0
  79. package/dist/cljs-runtime/goog.dom.browserfeature.js.map +9 -0
  80. package/dist/cljs-runtime/goog.dom.dom.js +1087 -0
  81. package/dist/cljs-runtime/goog.dom.dom.js.map +9 -0
  82. package/dist/cljs-runtime/goog.dom.element.js +69 -0
  83. package/dist/cljs-runtime/goog.dom.element.js.map +9 -0
  84. package/dist/cljs-runtime/goog.dom.htmlelement.js +7 -0
  85. package/dist/cljs-runtime/goog.dom.htmlelement.js.map +9 -0
  86. package/dist/cljs-runtime/goog.dom.nodetype.js +6 -0
  87. package/dist/cljs-runtime/goog.dom.nodetype.js.map +9 -0
  88. package/dist/cljs-runtime/goog.dom.safe.js +277 -0
  89. package/dist/cljs-runtime/goog.dom.safe.js.map +9 -0
  90. package/dist/cljs-runtime/goog.dom.tagname.js +147 -0
  91. package/dist/cljs-runtime/goog.dom.tagname.js.map +9 -0
  92. package/dist/cljs-runtime/goog.dom.tags.js +10 -0
  93. package/dist/cljs-runtime/goog.dom.tags.js.map +9 -0
  94. package/dist/cljs-runtime/goog.flags.flags.js +12 -0
  95. package/dist/cljs-runtime/goog.flags.flags.js.map +9 -0
  96. package/dist/cljs-runtime/goog.fs.blob.js +38 -0
  97. package/dist/cljs-runtime/goog.fs.blob.js.map +9 -0
  98. package/dist/cljs-runtime/goog.fs.url.js +37 -0
  99. package/dist/cljs-runtime/goog.fs.url.js.map +9 -0
  100. package/dist/cljs-runtime/goog.functions.functions.js +211 -0
  101. package/dist/cljs-runtime/goog.functions.functions.js.map +9 -0
  102. package/dist/cljs-runtime/goog.html.safehtml.js +321 -0
  103. package/dist/cljs-runtime/goog.html.safehtml.js.map +9 -0
  104. package/dist/cljs-runtime/goog.html.safescript.js +65 -0
  105. package/dist/cljs-runtime/goog.html.safescript.js.map +9 -0
  106. package/dist/cljs-runtime/goog.html.safestyle.js +175 -0
  107. package/dist/cljs-runtime/goog.html.safestyle.js.map +9 -0
  108. package/dist/cljs-runtime/goog.html.safestylesheet.js +99 -0
  109. package/dist/cljs-runtime/goog.html.safestylesheet.js.map +9 -0
  110. package/dist/cljs-runtime/goog.html.safeurl.js +231 -0
  111. package/dist/cljs-runtime/goog.html.safeurl.js.map +9 -0
  112. package/dist/cljs-runtime/goog.html.trustedresourceurl.js +123 -0
  113. package/dist/cljs-runtime/goog.html.trustedresourceurl.js.map +9 -0
  114. package/dist/cljs-runtime/goog.html.trustedtypes.js +16 -0
  115. package/dist/cljs-runtime/goog.html.trustedtypes.js.map +9 -0
  116. package/dist/cljs-runtime/goog.html.uncheckedconversions.js +52 -0
  117. package/dist/cljs-runtime/goog.html.uncheckedconversions.js.map +9 -0
  118. package/dist/cljs-runtime/goog.labs.useragent.browser.js +352 -0
  119. package/dist/cljs-runtime/goog.labs.useragent.browser.js.map +9 -0
  120. package/dist/cljs-runtime/goog.labs.useragent.engine.js +73 -0
  121. package/dist/cljs-runtime/goog.labs.useragent.engine.js.map +9 -0
  122. package/dist/cljs-runtime/goog.labs.useragent.highentropy.highentropydata.js +14 -0
  123. package/dist/cljs-runtime/goog.labs.useragent.highentropy.highentropydata.js.map +9 -0
  124. package/dist/cljs-runtime/goog.labs.useragent.highentropy.highentropyvalue.js +74 -0
  125. package/dist/cljs-runtime/goog.labs.useragent.highentropy.highentropyvalue.js.map +9 -0
  126. package/dist/cljs-runtime/goog.labs.useragent.platform.js +147 -0
  127. package/dist/cljs-runtime/goog.labs.useragent.platform.js.map +9 -0
  128. package/dist/cljs-runtime/goog.labs.useragent.useragent.js +21 -0
  129. package/dist/cljs-runtime/goog.labs.useragent.useragent.js.map +9 -0
  130. package/dist/cljs-runtime/goog.labs.useragent.util.js +81 -0
  131. package/dist/cljs-runtime/goog.labs.useragent.util.js.map +9 -0
  132. package/dist/cljs-runtime/goog.math.coordinate.js +97 -0
  133. package/dist/cljs-runtime/goog.math.coordinate.js.map +9 -0
  134. package/dist/cljs-runtime/goog.math.integer.js +445 -0
  135. package/dist/cljs-runtime/goog.math.integer.js.map +9 -0
  136. package/dist/cljs-runtime/goog.math.long.js +437 -0
  137. package/dist/cljs-runtime/goog.math.long.js.map +9 -0
  138. package/dist/cljs-runtime/goog.math.math.js +158 -0
  139. package/dist/cljs-runtime/goog.math.math.js.map +9 -0
  140. package/dist/cljs-runtime/goog.math.size.js +76 -0
  141. package/dist/cljs-runtime/goog.math.size.js.map +9 -0
  142. package/dist/cljs-runtime/goog.object.object.js +284 -0
  143. package/dist/cljs-runtime/goog.object.object.js.map +9 -0
  144. package/dist/cljs-runtime/goog.reflect.reflect.js +32 -0
  145. package/dist/cljs-runtime/goog.reflect.reflect.js.map +9 -0
  146. package/dist/cljs-runtime/goog.string.const.js +35 -0
  147. package/dist/cljs-runtime/goog.string.const.js.map +9 -0
  148. package/dist/cljs-runtime/goog.string.internal.js +119 -0
  149. package/dist/cljs-runtime/goog.string.internal.js.map +9 -0
  150. package/dist/cljs-runtime/goog.string.string.js +462 -0
  151. package/dist/cljs-runtime/goog.string.string.js.map +9 -0
  152. package/dist/cljs-runtime/goog.string.stringbuffer.js +32 -0
  153. package/dist/cljs-runtime/goog.string.stringbuffer.js.map +9 -0
  154. package/dist/cljs-runtime/goog.string.typedstring.js +9 -0
  155. package/dist/cljs-runtime/goog.string.typedstring.js.map +9 -0
  156. package/dist/cljs-runtime/goog.structs.structs.js +199 -0
  157. package/dist/cljs-runtime/goog.structs.structs.js.map +9 -0
  158. package/dist/cljs-runtime/goog.uri.uri.js +628 -0
  159. package/dist/cljs-runtime/goog.uri.uri.js.map +9 -0
  160. package/dist/cljs-runtime/goog.uri.utils.js +326 -0
  161. package/dist/cljs-runtime/goog.uri.utils.js.map +9 -0
  162. package/dist/cljs-runtime/goog.useragent.useragent.js +139 -0
  163. package/dist/cljs-runtime/goog.useragent.useragent.js.map +9 -0
  164. package/dist/cljs-runtime/iris_layout.components.entity_card_group.js +202 -0
  165. package/dist/cljs-runtime/iris_layout.components.entity_card_group.js.map +1 -0
  166. package/dist/cljs-runtime/iris_layout.components.entity_tile.js +295 -0
  167. package/dist/cljs-runtime/iris_layout.components.entity_tile.js.map +1 -0
  168. package/dist/cljs-runtime/iris_layout.components.entity_tile_group.js +33 -0
  169. package/dist/cljs-runtime/iris_layout.components.entity_tile_group.js.map +1 -0
  170. package/dist/cljs-runtime/iris_layout.components.resizer.js +91 -0
  171. package/dist/cljs-runtime/iris_layout.components.resizer.js.map +1 -0
  172. package/dist/cljs-runtime/iris_layout.components.touch_drag.js +399 -0
  173. package/dist/cljs-runtime/iris_layout.components.touch_drag.js.map +1 -0
  174. package/dist/cljs-runtime/iris_layout.core.js +1372 -0
  175. package/dist/cljs-runtime/iris_layout.core.js.map +1 -0
  176. package/dist/cljs-runtime/iris_layout.layout.js +328 -0
  177. package/dist/cljs-runtime/iris_layout.layout.js.map +1 -0
  178. package/dist/cljs-runtime/reagent.core.js +993 -0
  179. package/dist/cljs-runtime/reagent.core.js.map +1 -0
  180. package/dist/cljs-runtime/reagent.debug.js +75 -0
  181. package/dist/cljs-runtime/reagent.debug.js.map +1 -0
  182. package/dist/cljs-runtime/reagent.impl.batching.js +270 -0
  183. package/dist/cljs-runtime/reagent.impl.batching.js.map +1 -0
  184. package/dist/cljs-runtime/reagent.impl.component.js +758 -0
  185. package/dist/cljs-runtime/reagent.impl.component.js.map +1 -0
  186. package/dist/cljs-runtime/reagent.impl.input.js +175 -0
  187. package/dist/cljs-runtime/reagent.impl.input.js.map +1 -0
  188. package/dist/cljs-runtime/reagent.impl.protocols.js +99 -0
  189. package/dist/cljs-runtime/reagent.impl.protocols.js.map +1 -0
  190. package/dist/cljs-runtime/reagent.impl.template.js +660 -0
  191. package/dist/cljs-runtime/reagent.impl.template.js.map +1 -0
  192. package/dist/cljs-runtime/reagent.impl.util.js +748 -0
  193. package/dist/cljs-runtime/reagent.impl.util.js.map +1 -0
  194. package/dist/cljs-runtime/reagent.ratom.js +1668 -0
  195. package/dist/cljs-runtime/reagent.ratom.js.map +1 -0
  196. package/dist/cljs-runtime/shadow.esm.esm_import$react.js +5 -0
  197. package/dist/cljs-runtime/shadow.module.iris-layout.append.js +2 -0
  198. package/dist/cljs-runtime/shadow.module.iris-layout.prepend.js +2 -0
  199. package/dist/iris-layout.js +375 -355
  200. package/dist/styles.css +287 -9
  201. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["reagent/core.cljs"],"mappings":";;;;;;;;;;;AAcA,AAAKA,yBAAUC;AAEf,AAAA;;;;;;;;;;;;;;;;;;8BAAA,sCAAAC,pEAAME;AAAN,AAAA,IAAAD,WAAA,AAAA;AAAA,AAAA,QAAAA;KAAA;AAAA,OAAAC,0DAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,0DAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;KAAA;AAAA,OAAAA,0DAAA,CAAA,UAAA,MAAA,CAAA,UAAA,MAAA,CAAA,UAAA;;;;AAAA,IAAAC,yBAA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__5726__auto__","i__5727__auto__","argseq__5752__auto__","cljs.core/IndexedSeq","seq12518","G__12519","cljs.core/first","cljs.core/next","G__12520","G__12521","self__5711__auto__","type","reagent.core.create_element","props","cljs.core/map?","js/Error","cljs.core.pr_str","js/shadow.esm.esm_import$react.createElement","child","children","cljs.core.apply","G__12524","reagent.core/as-element","form","reagent.impl.protocols/as-element","reagent.impl.template/*current-default-compiler*","compiler","reagent.core/adapt-react-class","c","reagent.impl.template/adapt-react-class","G__12526","reagent.core/reactify-component","reagent.core.reactify_component","reagent.impl.component/reactify-component","G__12528","reagent.core/create-class","spec","reagent.impl.component/create-class","reagent.core/current-component","reagent.impl.component/*current-component*","reagent.core/state-atom","this","reagent.impl.component/reagent-component?","reagent.impl.component/state-atom","reagent.core/state","cljs.core/deref","reagent.core/replace-state","new-state","cljs.core/reset!","reagent.core/set-state","cljs.core.swap_BANG_","cljs.core/merge","G__12530","reagent.core/force-update","reagent.core.force_update","deep","reagent.ratom/flush!","reagent.impl.util/force-update","reagent.impl.batching/flush-after-render","reagent.core/props","reagent.impl.component/get-props","reagent.core/children","reagent.impl.component/get-children","reagent.core/argv","reagent.impl.component/get-argv","G__12535","reagent.core/class-names","seq12532","G__12533","G__12534","class","reagent.impl.util.class_names","class1","class2","others","reagent.impl.util/class-names","G__12540","reagent.core/merge-props","seq12537","G__12538","G__12539","reagent.impl.util.merge_props","defaults","reagent.impl.util/merge-props","reagent.core/flush","reagent.impl.batching/flush","G__12544","reagent.core/atom","seq12542","G__12543","x","reagent.ratom.atom","rest","reagent.ratom/atom","args__5732__auto__","argseq__5733__auto__","reagent.core/track","seq12545","G__12546","f","args","cljs.core/ifn?","reagent.ratom/make-track","reagent.core/track!","seq12547","G__12548","reagent.ratom/make-track!","reagent.core/dispose!","reagent.ratom/dispose!","reagent.core/wrap","seq12549","G__12550","G__12551","value","reset-fn","reagent.ratom/make-wrapper","reagent.core/cursor","src","path","reagent.ratom/cursor","reagent.core/rswap!","seq12553","G__12554","G__12555","a","cljs.core/PROTOCOL_SENTINEL","cljs.core/native-satisfies?","cljs.core/IAtom","or__5002__auto__","p1__12552#","state","s","temp__5806__auto__","sf","G__12557","reagent.core/next-tick","reagent.impl.batching/do-before-flush","reagent.core/after-render","reagent.impl.batching/do-after-render","reagent.core/partial","seq12558","G__12559","reagent.impl.util/make-partial-fn","reagent.core/create-compiler","opts","reagent.impl.template/create-compiler","reagent.core/set-default-compiler!","reagent.impl.template/set-default-compiler!","reagent.impl.template/class-compiler","reagent.core/render","seq12560","self__5712__auto__","cljs.core/seq","_"],"sourcesContent":["(ns reagent.core\n (:require-macros [reagent.core])\n (:refer-clojure :exclude [partial atom flush])\n (:require [react :as react]\n [reagent.impl.template :as tmpl]\n [reagent.impl.component :as comp]\n [reagent.impl.util :as util]\n [reagent.impl.batching :as batch]\n [reagent.impl.protocols :as p]\n [reagent.ratom :as ratom]\n [reagent.debug :as deb :refer-macros [assert-some assert-component\n assert-js-object assert-new-state\n assert-callable]]))\n\n(def is-client util/is-client)\n\n(defn create-element\n \"Create a native React element, by calling React.createElement directly.\n\n That means the second argument must be a javascript object (or nil), and\n that any Reagent hiccup forms must be processed with as-element. For example\n like this:\n\n ```cljs\n (r/create-element \\\"div\\\" #js{:className \\\"foo\\\"}\n \\\"Hi \\\" (r/as-element [:strong \\\"world!\\\"])\n ```\n\n which is equivalent to\n\n ```cljs\n [:div.foo \\\"Hi\\\" [:strong \\\"world!\\\"]]\n ```\"\n ([type]\n (create-element type nil))\n ([type props]\n (assert-js-object props)\n (react/createElement type props))\n ([type props child]\n (assert-js-object props)\n (react/createElement type props child))\n ([type props child & children]\n (assert-js-object props)\n (apply react/createElement type props child children)))\n\n(defn as-element\n \"Turns a vector of Hiccup syntax into a React element. Returns form\n unchanged if it is not a vector.\"\n ([form] (p/as-element tmpl/*current-default-compiler* form))\n ([form compiler] (p/as-element compiler form)))\n\n(defn adapt-react-class\n \"Returns an adapter for a native React class, that may be used\n just like a Reagent component function or class in Hiccup forms.\"\n [c]\n (assert-some c \"Component\")\n (tmpl/adapt-react-class c))\n\n(defn reactify-component\n \"Returns an adapter for a Reagent component, that may be used from\n React, for example in JSX. A single argument, props, is passed to\n the component, converted to a map.\"\n ([c] (reactify-component c tmpl/*current-default-compiler*))\n ([c compiler]\n (assert-some c \"Component\")\n (comp/reactify-component c compiler)))\n\n(defn create-class\n \"Creates JS class based on provided Clojure map, for example:\n\n ```cljs\n {;; Constructor\n :constructor (fn [this props])\n :get-initial-state (fn [this])\n ;; Static methods\n :get-derived-state-from-props (fn [props state] partial-state)\n :get-derived-state-from-error (fn [error] partial-state)\n ;; Methods\n :get-snapshot-before-update (fn [this old-argv new-argv] snapshot)\n :should-component-update (fn [this old-argv new-argv])\n :component-did-mount (fn [this])\n :component-did-update (fn [this old-argv old-state snapshot])\n :component-will-unmount (fn [this])\n :component-did-catch (fn [this error info])\n :reagent-render (fn [args....])\n ;; Or alternatively:\n :render (fn [this])\n ;; Deprecated methods:\n :UNSAFE_component-will-receive-props (fn [this new-argv])\n :UNSAFE_component-will-update (fn [this new-argv new-state])\n :UNSAFE_component-will-mount (fn [this])}\n ```\n\n Everything is optional, except either :reagent-render or :render.\n\n Map keys should use `React.Component` method names (https://reactjs.org/docs/react-component.html),\n and can be provided in snake-case or camelCase.\n\n State can be initialized using constructor, which matches React.Component class,\n or using getInitialState which matches old React createClass function and is\n now implemented by Reagent for compatibility.\n\n State can usually be anything, e.g. Cljs object. But if using getDerivedState\n methods, the state has to be plain JS object as React implementation uses\n Object.assign to merge partial state into the current state.\n\n React built-in static methods or properties are automatically defined as statics.\"\n ([spec]\n (comp/create-class spec tmpl/*current-default-compiler*))\n ([spec compiler]\n (comp/create-class spec compiler)))\n\n\n(defn current-component\n \"Returns the current React component (a.k.a `this`) in a component\n function.\"\n []\n comp/*current-component*)\n\n(defn state-atom\n \"Returns an atom containing a components state.\"\n [this]\n (assert-component this)\n (comp/state-atom this))\n\n(defn state\n \"Returns the state of a component, as set with replace-state or set-state.\n Equivalent to `(deref (r/state-atom this))`\"\n [this]\n (assert-component this)\n (deref (state-atom this)))\n\n(defn replace-state\n \"Set state of a component.\n Equivalent to `(reset! (state-atom this) new-state)`\"\n [this new-state]\n (assert-component this)\n (assert-new-state new-state)\n (reset! (state-atom this) new-state))\n\n(defn set-state\n \"Merge component state with new-state.\n Equivalent to `(swap! (state-atom this) merge new-state)`\"\n [this new-state]\n (assert-component this)\n (assert-new-state new-state)\n (swap! (state-atom this) merge new-state))\n\n(defn force-update\n \"Force a component to re-render immediately.\n\n If the second argument is true, child components will also be\n re-rendered, even is their arguments have not changed.\"\n ([this]\n (force-update this false))\n ([this deep]\n (ratom/flush!)\n (util/force-update this deep)\n (batch/flush-after-render)))\n\n(defn props\n \"Returns the props passed to a component.\"\n [this]\n (assert-component this)\n (comp/get-props this))\n\n(defn children\n \"Returns the children passed to a component.\"\n [this]\n (assert-component this)\n (comp/get-children this))\n\n(defn argv\n \"Returns the entire Hiccup form passed to the component.\"\n [this]\n (assert-component this)\n (comp/get-argv this))\n\n(defn class-names\n \"Function which normalizes and combines class values to a string\n\n Reagent allows classes to be defined as:\n - Strings\n - Named objects (Symbols or Keywords)\n - Collections of previous types\"\n ([])\n ([class] (util/class-names class))\n ([class1 class2] (util/class-names class1 class2))\n ([class1 class2 & others] (apply util/class-names class1 class2 others)))\n\n(defn merge-props\n \"Utility function that merges some maps, handling `:class` and `:style`.\n\n The :class value is always normalized (using `class-names`) even if no\n merging is done.\"\n ([] (util/merge-props))\n ([defaults] (util/merge-props defaults))\n ([defaults props] (util/merge-props defaults props))\n ([defaults props & others] (apply util/merge-props defaults props others)))\n\n(defn flush\n \"Render dirty components immediately.\n\n Note that this may not work in event handlers, since React.js does\n batching of updates there.\"\n []\n (batch/flush))\n\n;; Ratom\n\n(defn atom\n \"Like clojure.core/atom, except that it keeps track of derefs.\n Reagent components that derefs one of these are automatically\n re-rendered.\"\n ([x] (ratom/atom x))\n ([x & rest] (apply ratom/atom x rest)))\n\n(defn track\n \"Takes a function and optional arguments, and returns a derefable\n containing the output of that function. If the function derefs\n Reagent atoms (or track, etc), the value will be updated whenever\n the atom changes.\n\n In other words, `@(track foo bar)` will produce the same result\n as `(foo bar)`, but foo will only be called again when the atoms it\n depends on changes, and will only trigger updates of components when\n its result changes.\n\n track is lazy, i.e the function is only evaluated on deref.\"\n [f & args]\n {:pre [(ifn? f)]}\n (ratom/make-track f args))\n\n(defn track!\n \"An eager version of track. The function passed is called\n immediately, and continues to be called when needed, until stopped\n with dispose!.\"\n [f & args]\n {:pre [(ifn? f)]}\n (ratom/make-track! f args))\n\n(defn dispose!\n \"Stop the result of track! from updating.\"\n [x]\n (ratom/dispose! x))\n\n(defn wrap\n \"Provide a combination of value and callback, that looks like an atom.\n\n The first argument can be any value, that will be returned when the\n result is deref'ed.\n\n The second argument should be a function, that is called with the\n optional extra arguments provided to wrap, and the new value of the\n resulting 'atom'.\n\n Use for example like this:\n\n ```cljs\n (wrap (:foo @state)\n swap! state assoc :foo)\n ```\n\n Probably useful only for passing to child components.\"\n [value reset-fn & args]\n (assert-callable reset-fn)\n (ratom/make-wrapper value reset-fn args))\n\n\n;; RCursor\n\n(defn cursor\n \"Provide a cursor into a Reagent atom.\n\n Behaves like a Reagent atom but focuses updates and derefs to\n the specified path within the wrapped Reagent atom. e.g.,\n\n ```cljs\n (let [c (cursor ra [:nested :content])]\n ... @c ;; equivalent to (get-in @ra [:nested :content])\n ... (reset! c 42) ;; equivalent to (swap! ra assoc-in [:nested :content] 42)\n ... (swap! c inc) ;; equivalence to (swap! ra update-in [:nested :content] inc)\n )\n ```\n\n The first parameter can also be a function, that should look\n something like this:\n\n ```cljs\n (defn set-get\n ([k] (get-in @state k))\n ([k v] (swap! state assoc-in k v)))\n ```\n\n The function will be called with one argument \u2013 the path passed to\n cursor \u2013 when the cursor is deref'ed, and two arguments (path and\n new value) when the cursor is modified.\n\n Given that set-get function, (and that state is a Reagent atom, or\n another cursor) these cursors are equivalent:\n `(cursor state [:foo])` and `(cursor set-get [:foo])`.\n\n Note that a cursor is lazy: its value will not change until it is\n used. This may be noticed with add-watch.\"\n ([src path]\n (ratom/cursor src path)))\n\n\n;; Utilities\n\n(defn rswap!\n \"Swaps the value of a to be `(apply f current-value-of-atom args)`.\n\n rswap! works like swap!, except that recursive calls to rswap! on\n the same atom are allowed \u2013 and it always returns nil.\"\n [^IAtom a f & args]\n {:pre [(satisfies? IAtom a)\n (ifn? f)]}\n (if (.-rswapping a)\n (-> (or (.-rswapfs a)\n (set! (.-rswapfs a) #js []))\n (.push #(apply f % args)))\n (do (set! (.-rswapping a) true)\n (try (swap! a (fn [state]\n (loop [s (apply f state args)]\n (if-some [sf (some-> a .-rswapfs .shift)]\n (recur (sf s))\n s))))\n (finally\n (set! (.-rswapping a) false)))))\n nil)\n\n(defn next-tick\n \"Run f using requestAnimationFrame or equivalent.\n\n f will be called just before components are rendered.\"\n [f]\n (batch/do-before-flush f))\n\n(defn after-render\n \"Run f using requestAnimationFrame or equivalent.\n\n f will be called just after any queued renders in the next animation\n frame (and even if no renders actually occur).\"\n [f]\n (batch/do-after-render f))\n\n(defn partial\n \"Works just like clojure.core/partial, but the result can be compared with =\"\n [f & args]\n (util/make-partial-fn f args))\n\n(defn create-compiler\n \"Creates Compiler object with given `opts`,\n this can be passed to `render`, `as-element` and other functions to control\n how they turn the Reagent-style Hiccup into React components and elements.\"\n [opts]\n (tmpl/create-compiler opts))\n\n(defn set-default-compiler!\n \"Globally sets the Compiler object used by `render`, `as-element` and other\n calls by default, when no `compiler` parameter is provided.\n\n Use `nil` value to restore the original default compiler.\"\n [compiler]\n (tmpl/set-default-compiler! (if (nil? compiler)\n tmpl/class-compiler\n compiler)))\n\n(defn render\n {:deprecated \"0.10.0\"\n :superseded-by \"reagent.dom/render\"}\n [& _]\n (throw (js/Error. \"Reagent.core/render function was moved to reagent.dom namespace in Reagent v1.0.\")))\n"],"x_google_ignoreList":[0]}
@@ -0,0 +1,75 @@
1
+ import "./cljs_env.js";
2
+ import "./cljs.core.js";
3
+ goog.provide('reagent.debug');
4
+ reagent.debug.has_console = (typeof console !== 'undefined');
5
+ reagent.debug.tracking = false;
6
+ if((typeof reagent !== 'undefined') && (typeof reagent.debug !== 'undefined') && (typeof reagent.debug.warnings !== 'undefined')){
7
+ } else {
8
+ reagent.debug.warnings = cljs.core.atom.cljs$core$IFn$_invoke$arity$1(null);
9
+ }
10
+ if((typeof reagent !== 'undefined') && (typeof reagent.debug !== 'undefined') && (typeof reagent.debug.track_console !== 'undefined')){
11
+ } else {
12
+ reagent.debug.track_console = (function (){var o = ({});
13
+ (o.warn = (function() {
14
+ var G__10993__delegate = function (args){
15
+ return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(reagent.debug.warnings,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"warn","warn",-436710552)], null),cljs.core.conj,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,args)], 0));
16
+ };
17
+ var G__10993 = function (var_args){
18
+ var args = null;
19
+ if (arguments.length > 0) {
20
+ var G__10994__i = 0, G__10994__a = new Array(arguments.length - 0);
21
+ while (G__10994__i < G__10994__a.length) {G__10994__a[G__10994__i] = arguments[G__10994__i + 0]; ++G__10994__i;}
22
+ args = new cljs.core.IndexedSeq(G__10994__a,0,null);
23
+ }
24
+ return G__10993__delegate.call(this,args);};
25
+ G__10993.cljs$lang$maxFixedArity = 0;
26
+ G__10993.cljs$lang$applyTo = (function (arglist__10995){
27
+ var args = cljs.core.seq(arglist__10995);
28
+ return G__10993__delegate(args);
29
+ });
30
+ G__10993.cljs$core$IFn$_invoke$arity$variadic = G__10993__delegate;
31
+ return G__10993;
32
+ })()
33
+ );
34
+
35
+ (o.error = (function() {
36
+ var G__10996__delegate = function (args){
37
+ return cljs.core.swap_BANG_.cljs$core$IFn$_invoke$arity$variadic(reagent.debug.warnings,cljs.core.update_in,new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [new cljs.core.Keyword(null,"error","error",-978969032)], null),cljs.core.conj,cljs.core.prim_seq.cljs$core$IFn$_invoke$arity$2([cljs.core.apply.cljs$core$IFn$_invoke$arity$2(cljs.core.str,args)], 0));
38
+ };
39
+ var G__10996 = function (var_args){
40
+ var args = null;
41
+ if (arguments.length > 0) {
42
+ var G__10997__i = 0, G__10997__a = new Array(arguments.length - 0);
43
+ while (G__10997__i < G__10997__a.length) {G__10997__a[G__10997__i] = arguments[G__10997__i + 0]; ++G__10997__i;}
44
+ args = new cljs.core.IndexedSeq(G__10997__a,0,null);
45
+ }
46
+ return G__10996__delegate.call(this,args);};
47
+ G__10996.cljs$lang$maxFixedArity = 0;
48
+ G__10996.cljs$lang$applyTo = (function (arglist__10998){
49
+ var args = cljs.core.seq(arglist__10998);
50
+ return G__10996__delegate(args);
51
+ });
52
+ G__10996.cljs$core$IFn$_invoke$arity$variadic = G__10996__delegate;
53
+ return G__10996;
54
+ })()
55
+ );
56
+
57
+ return o;
58
+ })();
59
+ }
60
+ reagent.debug.track_warnings = (function reagent$debug$track_warnings(f){
61
+ (reagent.debug.tracking = true);
62
+
63
+ cljs.core.reset_BANG_(reagent.debug.warnings,null);
64
+
65
+ (f.cljs$core$IFn$_invoke$arity$0 ? f.cljs$core$IFn$_invoke$arity$0() : f.call(null));
66
+
67
+ var warns = cljs.core.deref(reagent.debug.warnings);
68
+ cljs.core.reset_BANG_(reagent.debug.warnings,null);
69
+
70
+ (reagent.debug.tracking = false);
71
+
72
+ return warns;
73
+ });
74
+
75
+ //# sourceMappingURL=reagent.debug.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["reagent/debug.cljs"],"mappings":";;;AAGA,AAAaA,4BAAY,QAAAC;AAEzB,yBAAA,zBAAcC;AAEd,GAAA,QAAAC,oCAAAC,0CAAAC;AAAA;AAAA,AAAA,AAASC,yBAAS,6CAAA,7CAACC;;AAEnB,GAAA,QAAAJ,oCAAAC,0CAAAI;AAAA;AAAA,AAAA,AAASC,8BACP,qBAAA,JAAMC;AAAN,AACE,CAAM,AAAQA,SACR;mCAAOC;AAAP,AACE,4GAAA,mFAAA,xLAACC,0DAAMN,uBAASO,oKAAkBC,iEAAK,AAACC,8CAAMC,cAAIL;;;IAD7CA;;;;EAAAA;;oCAAAA;;;IAAAA;0BAAAA;;;;;;;AAEb,CAAM,AAASD,UACT;mCAAOC;AAAP,AACE,4GAAA,mFAAA,xLAACC,0DAAMN,uBAASO,sKAAmBC,iEAAK,AAACC,8CAAMC,cAAIL;;;IAD9CA;;;;EAAAA;;oCAAAA;;;IAAAA;0BAAAA;;;;;;;AAEbD;;;AAEJ,+BAAA,/BAAMO,sEAAgBC;AAAtB,AACE,0BAAA,zBAAMhB;;AACN,6CAAA,7CAACiB,sBAAOb;;AACR,CAACY,kCAAAA,oCAAAA;;AACD,YAAA,AAAAE,RAAMC,wBAAOf;AAAb,AACE,6CAAA,7CAACa,sBAAOb;;AACR,0BAAA,zBAAMJ;;AACNmB","names":["reagent.debug/has-console","js/console","reagent.debug/tracking","js/reagent","js/reagent.debug","js/reagent.debug.warnings","reagent.debug/warnings","cljs.core.atom","js/reagent.debug.track-console","reagent.debug/track-console","o","args","cljs.core.swap_BANG_","cljs.core/update-in","cljs.core/conj","cljs.core.apply","cljs.core/str","reagent.debug/track-warnings","f","cljs.core/reset!","cljs.core/deref","warns"],"sourcesContent":["(ns reagent.debug\n (:require-macros [reagent.debug]))\n\n(def ^:const has-console (exists? js/console))\n\n(def ^boolean tracking false)\n\n(defonce warnings (atom nil))\n\n(defonce track-console\n (let [o #js {}]\n (set! (.-warn o)\n (fn [& args]\n (swap! warnings update-in [:warn] conj (apply str args))))\n (set! (.-error o)\n (fn [& args]\n (swap! warnings update-in [:error] conj (apply str args))))\n o))\n\n(defn track-warnings [f]\n (set! tracking true)\n (reset! warnings nil)\n (f)\n (let [warns @warnings]\n (reset! warnings nil)\n (set! tracking false)\n warns))\n"],"x_google_ignoreList":[0]}
@@ -0,0 +1,270 @@
1
+ import "./cljs_env.js";
2
+ import "./cljs.core.js";
3
+ import "./reagent.debug.js";
4
+ import "./reagent.impl.util.js";
5
+ goog.provide('reagent.impl.batching');
6
+ if((typeof reagent !== 'undefined') && (typeof reagent.impl !== 'undefined') && (typeof reagent.impl.batching !== 'undefined') && (typeof reagent.impl.batching.mount_count !== 'undefined')){
7
+ } else {
8
+ reagent.impl.batching.mount_count = (0);
9
+ }
10
+ reagent.impl.batching.next_mount_count = (function reagent$impl$batching$next_mount_count(){
11
+ return (reagent.impl.batching.mount_count = (reagent.impl.batching.mount_count + (1)));
12
+ });
13
+ reagent.impl.batching.fake_raf = (function reagent$impl$batching$fake_raf(f){
14
+ return setTimeout(f,(16));
15
+ });
16
+ reagent.impl.batching.next_tick = (((!(reagent.impl.util.is_client)))?reagent.impl.batching.fake_raf:(function (){var w = window;
17
+ return (function (){var or__5002__auto__ = w.requestAnimationFrame;
18
+ if(cljs.core.truth_(or__5002__auto__)){
19
+ return or__5002__auto__;
20
+ } else {
21
+ var or__5002__auto____$1 = w.webkitRequestAnimationFrame;
22
+ if(cljs.core.truth_(or__5002__auto____$1)){
23
+ return or__5002__auto____$1;
24
+ } else {
25
+ var or__5002__auto____$2 = w.mozRequestAnimationFrame;
26
+ if(cljs.core.truth_(or__5002__auto____$2)){
27
+ return or__5002__auto____$2;
28
+ } else {
29
+ var or__5002__auto____$3 = w.msRequestAnimationFrame;
30
+ if(cljs.core.truth_(or__5002__auto____$3)){
31
+ return or__5002__auto____$3;
32
+ } else {
33
+ return reagent.impl.batching.fake_raf;
34
+ }
35
+ }
36
+ }
37
+ }
38
+ })().bind(w);
39
+ })());
40
+ reagent.impl.batching.compare_mount_order = (function reagent$impl$batching$compare_mount_order(c1,c2){
41
+ return (c1.cljsMountOrder - c2.cljsMountOrder);
42
+ });
43
+ reagent.impl.batching.run_queue = (function reagent$impl$batching$run_queue(a){
44
+ a.sort(reagent.impl.batching.compare_mount_order);
45
+
46
+ var n__5593__auto__ = a.length;
47
+ var i = (0);
48
+ while(true){
49
+ if((i < n__5593__auto__)){
50
+ var c_11483 = (a[i]);
51
+ if(c_11483.cljsIsDirty === true){
52
+ c_11483.forceUpdate();
53
+ } else {
54
+ }
55
+
56
+ var G__11484 = (i + (1));
57
+ i = G__11484;
58
+ continue;
59
+ } else {
60
+ return null;
61
+ }
62
+ break;
63
+ }
64
+ });
65
+ if((typeof reagent !== 'undefined') && (typeof reagent.impl !== 'undefined') && (typeof reagent.impl.batching !== 'undefined') && (typeof reagent.impl.batching.ratom_flush !== 'undefined')){
66
+ } else {
67
+ reagent.impl.batching.ratom_flush = (function reagent$impl$batching$ratom_flush(){
68
+ return null;
69
+ });
70
+ }
71
+ reagent.impl.batching.run_funs = (function reagent$impl$batching$run_funs(fs){
72
+ var n__5593__auto__ = fs.length;
73
+ var i = (0);
74
+ while(true){
75
+ if((i < n__5593__auto__)){
76
+ var fexpr__11428_11486 = (fs[i]);
77
+ (fexpr__11428_11486.cljs$core$IFn$_invoke$arity$0 ? fexpr__11428_11486.cljs$core$IFn$_invoke$arity$0() : fexpr__11428_11486.call(null));
78
+
79
+ var G__11487 = (i + (1));
80
+ i = G__11487;
81
+ continue;
82
+ } else {
83
+ return null;
84
+ }
85
+ break;
86
+ }
87
+ });
88
+ reagent.impl.batching.enqueue = (function reagent$impl$batching$enqueue(queue,fs,f){
89
+ if(cljs.core.truth_(f)){
90
+ } else {
91
+ throw (new Error(["Assert failed: ",["Enqueued function"," must not be nil"].join(''),"\n","f"].join('')));
92
+ }
93
+
94
+ fs.push(f);
95
+
96
+ return queue.schedule();
97
+ });
98
+
99
+ /**
100
+ * @constructor
101
+ */
102
+ reagent.impl.batching.RenderQueue = (function (scheduled_QMARK_){
103
+ this.scheduled_QMARK_ = scheduled_QMARK_;
104
+ });
105
+ (reagent.impl.batching.RenderQueue.prototype.flush_after_render = (function (){
106
+ var self__ = this;
107
+ var this$ = this;
108
+ var temp__5808__auto__ = this$.afterRender;
109
+ if((temp__5808__auto__ == null)){
110
+ return null;
111
+ } else {
112
+ var fs = temp__5808__auto__;
113
+ (this$.afterRender = null);
114
+
115
+ return reagent.impl.batching.run_funs(fs);
116
+ }
117
+ }));
118
+
119
+ (reagent.impl.batching.RenderQueue.prototype.queue_render = (function (c){
120
+ var self__ = this;
121
+ var this$ = this;
122
+ if((this$.componentQueue == null)){
123
+ (this$.componentQueue = []);
124
+ } else {
125
+ }
126
+
127
+ return reagent.impl.batching.enqueue(this$,this$.componentQueue,c);
128
+ }));
129
+
130
+ (reagent.impl.batching.RenderQueue.prototype.schedule = (function (){
131
+ var self__ = this;
132
+ var this$ = this;
133
+ if(self__.scheduled_QMARK_){
134
+ return null;
135
+ } else {
136
+ (self__.scheduled_QMARK_ = true);
137
+
138
+ var G__11434 = (function (){
139
+ return this$.run_queues();
140
+ });
141
+ return (reagent.impl.batching.next_tick.cljs$core$IFn$_invoke$arity$1 ? reagent.impl.batching.next_tick.cljs$core$IFn$_invoke$arity$1(G__11434) : reagent.impl.batching.next_tick.call(null,G__11434));
142
+ }
143
+ }));
144
+
145
+ (reagent.impl.batching.RenderQueue.prototype.flush_before_flush = (function (){
146
+ var self__ = this;
147
+ var this$ = this;
148
+ var temp__5808__auto__ = this$.beforeFlush;
149
+ if((temp__5808__auto__ == null)){
150
+ return null;
151
+ } else {
152
+ var fs = temp__5808__auto__;
153
+ (this$.beforeFlush = null);
154
+
155
+ return reagent.impl.batching.run_funs(fs);
156
+ }
157
+ }));
158
+
159
+ (reagent.impl.batching.RenderQueue.prototype.flush_queues = (function (){
160
+ var self__ = this;
161
+ var this$ = this;
162
+ this$.flush_before_flush();
163
+
164
+ reagent.impl.batching.ratom_flush();
165
+
166
+ this$.flush_render();
167
+
168
+ return this$.flush_after_render();
169
+ }));
170
+
171
+ (reagent.impl.batching.RenderQueue.prototype.run_queues = (function (){
172
+ var self__ = this;
173
+ var this$ = this;
174
+ (self__.scheduled_QMARK_ = false);
175
+
176
+ return this$.flush_queues();
177
+ }));
178
+
179
+ (reagent.impl.batching.RenderQueue.prototype.add_before_flush = (function (f){
180
+ var self__ = this;
181
+ var this$ = this;
182
+ if((this$.beforeFlush == null)){
183
+ (this$.beforeFlush = []);
184
+ } else {
185
+ }
186
+
187
+ return reagent.impl.batching.enqueue(this$,this$.beforeFlush,f);
188
+ }));
189
+
190
+ (reagent.impl.batching.RenderQueue.prototype.add_after_render = (function (f){
191
+ var self__ = this;
192
+ var this$ = this;
193
+ if((this$.afterRender == null)){
194
+ (this$.afterRender = []);
195
+ } else {
196
+ }
197
+
198
+ return reagent.impl.batching.enqueue(this$,this$.afterRender,f);
199
+ }));
200
+
201
+ (reagent.impl.batching.RenderQueue.prototype.flush_render = (function (){
202
+ var self__ = this;
203
+ var this$ = this;
204
+ var temp__5808__auto__ = this$.componentQueue;
205
+ if((temp__5808__auto__ == null)){
206
+ return null;
207
+ } else {
208
+ var fs = temp__5808__auto__;
209
+ (this$.componentQueue = null);
210
+
211
+ return reagent.impl.batching.run_queue(fs);
212
+ }
213
+ }));
214
+
215
+ (reagent.impl.batching.RenderQueue.getBasis = (function (){
216
+ return new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [cljs.core.with_meta(new cljs.core.Symbol(null,"scheduled?","scheduled?",579986609,null),new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null,"tag","tag",-1290361223),new cljs.core.Symbol(null,"boolean","boolean",-278886877,null),new cljs.core.Keyword(null,"mutable","mutable",875778266),true], null))], null);
217
+ }));
218
+
219
+ (reagent.impl.batching.RenderQueue.cljs$lang$type = true);
220
+
221
+ (reagent.impl.batching.RenderQueue.cljs$lang$ctorStr = "reagent.impl.batching/RenderQueue");
222
+
223
+ (reagent.impl.batching.RenderQueue.cljs$lang$ctorPrWriter = (function (this__5287__auto__,writer__5288__auto__,opt__5289__auto__){
224
+ return cljs.core._write(writer__5288__auto__,"reagent.impl.batching/RenderQueue");
225
+ }));
226
+
227
+ /**
228
+ * Positional factory function for reagent.impl.batching/RenderQueue.
229
+ */
230
+ reagent.impl.batching.__GT_RenderQueue = (function reagent$impl$batching$__GT_RenderQueue(scheduled_QMARK_){
231
+ return (new reagent.impl.batching.RenderQueue(scheduled_QMARK_));
232
+ });
233
+
234
+ if((typeof reagent !== 'undefined') && (typeof reagent.impl !== 'undefined') && (typeof reagent.impl.batching !== 'undefined') && (typeof reagent.impl.batching.render_queue !== 'undefined')){
235
+ } else {
236
+ reagent.impl.batching.render_queue = reagent.impl.batching.__GT_RenderQueue(false);
237
+ }
238
+ reagent.impl.batching.flush = (function reagent$impl$batching$flush(){
239
+ return reagent.impl.batching.render_queue.flush_queues();
240
+ });
241
+ reagent.impl.batching.flush_after_render = (function reagent$impl$batching$flush_after_render(){
242
+ return reagent.impl.batching.render_queue.flush_after_render();
243
+ });
244
+ reagent.impl.batching.queue_render = (function reagent$impl$batching$queue_render(c){
245
+ if(cljs.core.truth_(c.cljsIsDirty)){
246
+ return null;
247
+ } else {
248
+ (c.cljsIsDirty = true);
249
+
250
+ return reagent.impl.batching.render_queue.queue_render(c);
251
+ }
252
+ });
253
+ reagent.impl.batching.mark_rendered = (function reagent$impl$batching$mark_rendered(c){
254
+ return (c.cljsIsDirty = false);
255
+ });
256
+ reagent.impl.batching.do_before_flush = (function reagent$impl$batching$do_before_flush(f){
257
+ return reagent.impl.batching.render_queue.add_before_flush(f);
258
+ });
259
+ reagent.impl.batching.do_after_render = (function reagent$impl$batching$do_after_render(f){
260
+ return reagent.impl.batching.render_queue.add_after_render(f);
261
+ });
262
+ reagent.impl.batching.schedule = (function reagent$impl$batching$schedule(){
263
+ if(reagent.impl.batching.render_queue.scheduled_QMARK_ === false){
264
+ return reagent.impl.batching.render_queue.schedule();
265
+ } else {
266
+ return null;
267
+ }
268
+ });
269
+
270
+ //# sourceMappingURL=reagent.impl.batching.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["reagent/impl/batching.clj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B;;AAAA,AACE,iBAAA,hBAAM,AAAeA;;AACrB,OAAeoB,gDAAapB;;;AAEhC,sCAAA,tCAAMwB,oFAAoBxB;AAA1B,AACE,wBAAA,hBAAM,AAAeA;;AAEvB,wCAAA,xCAAMyB,wFAAiBvC;AAAvB,AACE,OAAmBkC,oDAAalC;;AAElC,wCAAA,xCAAMwC,wFAAiBxC;AAAvB,AACE,OAAmBkC,oDAAalC;;AAElC,iCAAA,jCAAMyC;AAAN,AACE,GAAM,AAAQ,AAAcP;AAA5B,AACE,OAAWA;;AADb","names":["js/reagent","js/reagent.impl","js/reagent.impl.batching","js/reagent.impl.batching.mount-count","reagent.impl.batching/mount-count","reagent.impl.batching/next-mount-count","reagent.impl.batching/fake-raf","f","js/setTimeout","reagent.impl.batching/next-tick","reagent.impl.util/is-client","w","js/window","or__5002__auto__","reagent.impl.batching/compare-mount-order","c1","c2","reagent.impl.batching/run-queue","a","n__5593__auto__","i","c","js/reagent.impl.batching.ratom-flush","reagent.impl.batching/ratom-flush","reagent.impl.batching/run-funs","fs","fexpr__11428","reagent.impl.batching/enqueue","queue","js/Error","this__5287__auto__","writer__5288__auto__","opt__5289__auto__","cljs.core/-write","reagent.impl.batching/RenderQueue","reagent.impl.batching/->RenderQueue","scheduled?","this","G__11434","temp__5808__auto__","js/reagent.impl.batching.render-queue","reagent.impl.batching/render-queue","reagent.impl.batching/flush","reagent.impl.batching/flush-after-render","reagent.impl.batching/queue-render","reagent.impl.batching/mark-rendered","reagent.impl.batching/do-before-flush","reagent.impl.batching/do-after-render","reagent.impl.batching/schedule"],"sourcesContent":["(ns reagent.impl.batching\n (:refer-clojure :exclude [flush])\n (:require [reagent.debug :refer-macros [assert-some]]\n [reagent.impl.util :refer [is-client]]))\n\n;;; Update batching\n\n(defonce mount-count 0)\n\n(defn next-mount-count []\n (set! mount-count (inc mount-count)))\n\n(defn fake-raf [f]\n (js/setTimeout f 16))\n\n(def next-tick\n (if-not is-client\n fake-raf\n (let [w js/window]\n (.bind (or (.-requestAnimationFrame w)\n (.-webkitRequestAnimationFrame w)\n (.-mozRequestAnimationFrame w)\n (.-msRequestAnimationFrame w)\n fake-raf)\n w))))\n\n(defn compare-mount-order\n [^clj c1 ^clj c2]\n (- (.-cljsMountOrder c1)\n (.-cljsMountOrder c2)))\n\n(defn run-queue [a]\n ;; sort components by mount order, to make sure parents\n ;; are rendered before children\n (.sort a compare-mount-order)\n (dotimes [i (alength a)]\n (let [^js/React.Component c (aget a i)]\n (when (true? (.-cljsIsDirty c))\n (.forceUpdate c)))))\n\n\n;; Set from ratom.cljs\n(defonce ratom-flush (fn []))\n\n(defn run-funs [fs]\n (dotimes [i (alength fs)]\n ((aget fs i))))\n\n(defn enqueue [^clj queue fs f]\n (assert-some f \"Enqueued function\")\n (.push fs f)\n (.schedule queue))\n\n(deftype RenderQueue [^:mutable ^boolean scheduled?]\n Object\n (schedule [this]\n (when-not scheduled?\n (set! scheduled? true)\n (next-tick #(.run-queues this))))\n\n (queue-render [this c]\n (when (nil? (.-componentQueue this))\n (set! (.-componentQueue this) #js []))\n (enqueue this (.-componentQueue this) c))\n\n (add-before-flush [this f]\n (when (nil? (.-beforeFlush this))\n (set! (.-beforeFlush this) #js []))\n (enqueue this (.-beforeFlush this) f))\n\n (add-after-render [this f]\n (when (nil? (.-afterRender this))\n (set! (.-afterRender this) #js []))\n (enqueue this (.-afterRender this) f))\n\n (run-queues [this]\n (set! scheduled? false)\n (.flush-queues this))\n\n (flush-before-flush [this]\n (when-some [fs (.-beforeFlush this)]\n (set! (.-beforeFlush this) nil)\n (run-funs fs)))\n\n (flush-render [this]\n (when-some [fs (.-componentQueue this)]\n (set! (.-componentQueue this) nil)\n (run-queue fs)))\n\n (flush-after-render [this]\n (when-some [fs (.-afterRender this)]\n (set! (.-afterRender this) nil)\n (run-funs fs)))\n\n (flush-queues [this]\n (.flush-before-flush this)\n (ratom-flush)\n (.flush-render this)\n (.flush-after-render this)))\n\n(defonce render-queue (->RenderQueue false))\n\n(defn flush []\n (.flush-queues render-queue))\n\n(defn flush-after-render []\n (.flush-after-render render-queue))\n\n(defn queue-render [^clj c]\n (when-not (.-cljsIsDirty c)\n (set! (.-cljsIsDirty c) true)\n (.queue-render render-queue c)))\n\n(defn mark-rendered [^clj c]\n (set! (.-cljsIsDirty c) false))\n\n(defn do-before-flush [f]\n (.add-before-flush render-queue f))\n\n(defn do-after-render [f]\n (.add-after-render render-queue f))\n\n(defn schedule []\n (when (false? (.-scheduled? render-queue))\n (.schedule render-queue)))\n"],"x_google_ignoreList":[0]}