@zeppos/zeus-cli 1.3.0-beta.9 → 1.3.1

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 (822) hide show
  1. package/bin/main.js +1 -1
  2. package/modules/bridge.js +2 -2
  3. package/modules/build.js +3 -3
  4. package/modules/create.js +41 -13
  5. package/modules/help.js +1 -1
  6. package/modules/run.js +1 -1
  7. package/package.json +2 -2
  8. package/private-modules/zeppos-app-utils/dist/api/index.js +1 -1
  9. package/private-modules/zeppos-app-utils/dist/config/device-server.js +7 -2
  10. package/private-modules/zeppos-app-utils/dist/config/device.js +13 -8
  11. package/private-modules/zeppos-app-utils/dist/modules/build.js +4 -4
  12. package/private-modules/zeppos-app-utils/dist/modules/config.js +1 -1
  13. package/private-modules/zeppos-app-utils/dist/modules/create/index.js +71 -65
  14. package/private-modules/zeppos-app-utils/dist/modules/create/local-app.js +29 -29
  15. package/private-modules/zeppos-app-utils/dist/modules/create/yeoman-app.js +1 -1
  16. package/private-modules/zeppos-app-utils/dist/modules/login.js +1 -1
  17. package/private-modules/zeppos-app-utils/dist/modules/status.js +1 -1
  18. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/app/hello-world/app.json +59 -0
  19. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/app/hello-world/app.json +59 -0
  20. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/app/todo-list/app.json +63 -0
  21. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/_package.json +14 -0
  22. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/app.js +26 -0
  23. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/app.json +93 -0
  24. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/consume.png +0 -0
  25. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/beer.png +0 -0
  26. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/cake.png +0 -0
  27. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/chocolate.png +0 -0
  28. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/coffee.png +0 -0
  29. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/cookies.png +0 -0
  30. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/ham.png +0 -0
  31. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/hamburger.png +0 -0
  32. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/ice cream.png +0 -0
  33. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/pizza.png +0 -0
  34. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/food/sausage.png +0 -0
  35. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/icon.png +0 -0
  36. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/multiply.png +0 -0
  37. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/selected.png +0 -0
  38. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3/unselected.png +0 -0
  39. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/consume.png +0 -0
  40. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/beer.png +0 -0
  41. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/cake.png +0 -0
  42. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/chocolate.png +0 -0
  43. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/coffee.png +0 -0
  44. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/cookies.png +0 -0
  45. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/ham.png +0 -0
  46. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/hamburger.png +0 -0
  47. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/ice cream.png +0 -0
  48. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/pizza.png +0 -0
  49. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/food/sausage.png +0 -0
  50. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/multiply.png +0 -0
  51. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/selected.png +0 -0
  52. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/assets/gtr-3-pro/unselected.png +0 -0
  53. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/jsconfig.json +14 -0
  54. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/page/gtr-3/food-list.js +114 -0
  55. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/page/gtr-3/index.js +124 -0
  56. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/page/gts-3/food-list.js +109 -0
  57. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/page/gts-3/index.js +122 -0
  58. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/utils/constants.js +53 -0
  59. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/utils/storage.js +44 -0
  60. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/utils/styles-gts-3.js +139 -0
  61. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/calories/utils/styles.js +140 -0
  62. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/empty/_package.json +14 -0
  63. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/empty/jsconfig.json +14 -0
  64. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/_package.json +14 -0
  65. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/app-side/index.js +71 -0
  66. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/app.js +20 -0
  67. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/app.json +84 -0
  68. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/jsconfig.json +14 -0
  69. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/pages/index.js +53 -0
  70. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/shared/data.js +63 -0
  71. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/shared/device-polyfill.js +4 -0
  72. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/shared/event.js +42 -0
  73. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/shared/fs.js +143 -0
  74. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/shared/message.js +898 -0
  75. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/shared/promise.js +352 -0
  76. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/utils/config/constants.js +2 -0
  77. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/fetch-api/utils/config/device.js +2 -0
  78. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/_package.json +14 -0
  79. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/app.js +10 -0
  80. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/app.json +94 -0
  81. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/jsconfig.json +14 -0
  82. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gtr3/home/index.page.js +18 -0
  83. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gtr3/home/index.page.json +1 -0
  84. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gtr3/home/index.style.js +16 -0
  85. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gtr3-pro/home/index.page.js +18 -0
  86. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gtr3-pro/home/index.style.js +16 -0
  87. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gts3/home/index.page.js +19 -0
  88. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gts3/home/index.page.json +1 -0
  89. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/page/gts3/home/index.style.js +16 -0
  90. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/hello-world/utils/index.js +3 -0
  91. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/.prettierrc.js +6 -0
  92. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/_package.json +14 -0
  93. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/app-side/index.js +45 -0
  94. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/app.js +27 -0
  95. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/app.json +113 -0
  96. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/assets/gtr-3/icon.png +0 -0
  97. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/jsconfig.json +14 -0
  98. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/page/gtr-3/home/index.page.js +150 -0
  99. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/page/gtr-3/home/index.page.json +1 -0
  100. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/page/gtr-3/home/index.style.js +89 -0
  101. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/page/i18n/en-US.po +9 -0
  102. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/setting/index.js +143 -0
  103. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/buffer.js +11 -0
  104. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/data.js +67 -0
  105. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/device-polyfill.js +4 -0
  106. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/fs.js +134 -0
  107. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/global.js +16 -0
  108. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/js-module.js +27 -0
  109. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/logger.js +7 -0
  110. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/message.js +1250 -0
  111. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/promise.js +352 -0
  112. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/shared/setTimeout.js +59 -0
  113. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/utils/fs.js +15 -0
  114. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/app/todo-list/utils/index.js +38 -0
  115. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/watchface/empty/app.json +50 -0
  116. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/watchface/timer/shared/buffer.js +11 -0
  117. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/watchface/timer/shared/global.js +17 -0
  118. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/watchface/timer/shared/js-module.js +27 -0
  119. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/watchface/timer/shared/logger.js +21 -0
  120. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/watchface/timer/shared/setTimeout.js +59 -0
  121. package/private-modules/zeppos-app-utils/dist/public/template/os1.0/watchface/timer/watchface/round/index.js +437 -0
  122. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/_package.json +14 -0
  123. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/app.js +27 -0
  124. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/app.json +53 -0
  125. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/assets/gts/icon.png +0 -0
  126. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/jsconfig.json +14 -0
  127. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/page/gts/food-list.js +113 -0
  128. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/page/gts/index.js +126 -0
  129. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/page/i18n/en-US.po +42 -0
  130. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/page/i18n/zh-CN.po +42 -0
  131. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/utils/constants.js +54 -0
  132. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/utils/storage.js +40 -0
  133. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/utils/styles-gts-3.js +141 -0
  134. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/utils/styles.js +142 -0
  135. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/empty/app.js +10 -0
  136. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/empty/jsconfig.json +14 -0
  137. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/_package.json +14 -0
  138. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/app-side/i18n/en-US.po +2 -0
  139. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/app-side/index.js +71 -0
  140. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/app.js +28 -0
  141. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/app.json +60 -0
  142. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/assets/common/icon.png +0 -0
  143. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/jsconfig.json +14 -0
  144. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/pages/index.js +56 -0
  145. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/shared/defer.js +35 -0
  146. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/utils/config/constants.js +2 -0
  147. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/utils/config/device.js +2 -0
  148. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/_package.json +14 -0
  149. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/app-side/index.js +11 -0
  150. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/app.js +10 -0
  151. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/app.json +84 -0
  152. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/jsconfig.json +14 -0
  153. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gtr/home/index.page.js +20 -0
  154. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gtr/home/index.page.json +1 -0
  155. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gtr/home/index.style.js +18 -0
  156. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gts/home/index.page.js +21 -0
  157. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gts/home/index.page.json +1 -0
  158. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gts/home/index.style.js +17 -0
  159. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/i18n/en-US.po +3 -0
  160. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/setting/index.js +5 -0
  161. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/utils/index.js +3 -0
  162. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/_package.json +14 -0
  163. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/app.js +13 -0
  164. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/app.json +81 -0
  165. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/false.png +0 -0
  166. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/icon.png +0 -0
  167. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/true.png +0 -0
  168. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/config/constants.js +2 -0
  169. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/config/device.js +3 -0
  170. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/config/tree.js +34 -0
  171. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/global.d.ts +1 -0
  172. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/jsconfig.json +9 -0
  173. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/i18n/en-US.po +2 -0
  174. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/index.js +77 -0
  175. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/blood_oxygen.js +62 -0
  176. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/calorie.js +42 -0
  177. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/distance.js +42 -0
  178. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/fat_burning.js +42 -0
  179. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/heart_rate.js +96 -0
  180. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/pai.js +62 -0
  181. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/sleep.js +42 -0
  182. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/stand.js +42 -0
  183. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/step.js +42 -0
  184. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/stress.js +75 -0
  185. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/UI/ButtonList.js +47 -0
  186. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/UI/EmptySpace.js +25 -0
  187. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/UI/TextByLine.js +30 -0
  188. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/UI/Title.js +25 -0
  189. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/log.js +3 -0
  190. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/styles.js +32 -0
  191. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/template/PageAdvanced.js +36 -0
  192. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/test.js +30 -0
  193. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/utils.js +42 -0
  194. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/.prettierrc.js +6 -0
  195. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/_package.json +14 -0
  196. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/app-side/index.js +45 -0
  197. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/app.js +25 -0
  198. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/app.json +56 -0
  199. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/assets/gts/icon.png +0 -0
  200. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/jsconfig.json +14 -0
  201. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/page/home/index.page.js +155 -0
  202. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/page/home/index.page.json +1 -0
  203. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/page/home/index.style.js +92 -0
  204. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/page/i18n/en-US.po +9 -0
  205. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/setting/i18n/en-US.po +5 -0
  206. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/setting/index.js +143 -0
  207. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/shared/defer.js +35 -0
  208. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/shared/es6-promise.js +1178 -0
  209. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/shared/event.js +42 -0
  210. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/shared/message-side.js +1190 -0
  211. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/shared/message.js +1196 -0
  212. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/utils/constants.js +3 -0
  213. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/utils/fs.js +34 -0
  214. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/utils/index.js +38 -0
  215. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/watchface/empty/app.js +10 -0
  216. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/watchface/empty/app.json +52 -0
  217. package/private-modules/zeppos-app-utils/dist/public/template/os2.0/watchface/empty/assets/default/icon.png +0 -0
  218. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/_package.json +17 -0
  219. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/app.js +27 -0
  220. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/app.json +52 -0
  221. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/consume.png +0 -0
  222. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/beer.png +0 -0
  223. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/cake.png +0 -0
  224. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/chocolate.png +0 -0
  225. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/coffee.png +0 -0
  226. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/cookies.png +0 -0
  227. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/ham.png +0 -0
  228. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/hamburger.png +0 -0
  229. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/ice cream.png +0 -0
  230. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/pizza.png +0 -0
  231. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/food/sausage.png +0 -0
  232. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/icon.png +0 -0
  233. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/multiply.png +0 -0
  234. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/selected.png +0 -0
  235. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/unselected.png +0 -0
  236. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/consume.png +0 -0
  237. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/beer.png +0 -0
  238. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/cake.png +0 -0
  239. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/chocolate.png +0 -0
  240. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/coffee.png +0 -0
  241. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/cookies.png +0 -0
  242. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/ham.png +0 -0
  243. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/hamburger.png +0 -0
  244. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/ice cream.png +0 -0
  245. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/pizza.png +0 -0
  246. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/food/sausage.png +0 -0
  247. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/icon.png +0 -0
  248. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/multiply.png +0 -0
  249. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/selected.png +0 -0
  250. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/unselected.png +0 -0
  251. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/global.d.ts +1 -0
  252. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/jsconfig.json +9 -0
  253. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/gt/food-list.js +107 -0
  254. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/gt/food-list.r.layout.js +48 -0
  255. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/gt/food-list.s.layout.js +33 -0
  256. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/gt/index.js +127 -0
  257. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/gt/index.r.layout.js +110 -0
  258. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/gt/index.s.layout.js +98 -0
  259. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/i18n/en-US.po +42 -0
  260. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/page/i18n/zh-CN.po +42 -0
  261. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/utils/constants.js +62 -0
  262. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/utils/storage.js +40 -0
  263. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/_package.json +17 -0
  264. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/app-side/fetch-module.js +19 -0
  265. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/app-side/file-download-module.js +54 -0
  266. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/app-side/file-transfer-module.js +20 -0
  267. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/app-side/image-convert-module.js +18 -0
  268. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/app-side/index.js +61 -0
  269. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/app.js +19 -0
  270. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/app.json +48 -0
  271. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/download.png +0 -0
  272. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/icon.png +0 -0
  273. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_0.png +0 -0
  274. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_1.png +0 -0
  275. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_10.png +0 -0
  276. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_11.png +0 -0
  277. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_12.png +0 -0
  278. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_13.png +0 -0
  279. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_14.png +0 -0
  280. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_15.png +0 -0
  281. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_16.png +0 -0
  282. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_17.png +0 -0
  283. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_18.png +0 -0
  284. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_19.png +0 -0
  285. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_2.png +0 -0
  286. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_20.png +0 -0
  287. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_21.png +0 -0
  288. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_22.png +0 -0
  289. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_23.png +0 -0
  290. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_24.png +0 -0
  291. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_25.png +0 -0
  292. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_26.png +0 -0
  293. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_27.png +0 -0
  294. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_28.png +0 -0
  295. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_29.png +0 -0
  296. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_3.png +0 -0
  297. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_30.png +0 -0
  298. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_31.png +0 -0
  299. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_32.png +0 -0
  300. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_33.png +0 -0
  301. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_34.png +0 -0
  302. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_35.png +0 -0
  303. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_36.png +0 -0
  304. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_37.png +0 -0
  305. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_38.png +0 -0
  306. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_39.png +0 -0
  307. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_4.png +0 -0
  308. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_40.png +0 -0
  309. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_41.png +0 -0
  310. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_42.png +0 -0
  311. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_43.png +0 -0
  312. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_44.png +0 -0
  313. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_45.png +0 -0
  314. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_46.png +0 -0
  315. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_47.png +0 -0
  316. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_48.png +0 -0
  317. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_49.png +0 -0
  318. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_5.png +0 -0
  319. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_50.png +0 -0
  320. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_51.png +0 -0
  321. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_52.png +0 -0
  322. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_53.png +0 -0
  323. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_6.png +0 -0
  324. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_7.png +0 -0
  325. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_8.png +0 -0
  326. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/loading-ani/ani_9.png +0 -0
  327. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/transfer.png +0 -0
  328. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/watch.png +0 -0
  329. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/components/mask/index.js +13 -0
  330. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/components/pressed-btn/index.js +29 -0
  331. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/global.d.ts +1 -0
  332. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/jsconfig.json +9 -0
  333. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/page/i18n/en-US.po +21 -0
  334. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/page/index.js +116 -0
  335. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/page/index.r.layout.js +46 -0
  336. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/utils/constants.js +9 -0
  337. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/utils/index.js +4 -0
  338. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/_package.json +14 -0
  339. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/app-service/index.js +8 -0
  340. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/app-side/i18n/en-US.po +2 -0
  341. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/app-side/index.js +13 -0
  342. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/app.js +10 -0
  343. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/app.json +63 -0
  344. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/assets/gt.b/icon.png +0 -0
  345. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/assets/gt.r/icon.png +0 -0
  346. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/assets/gt.s/icon.png +0 -0
  347. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/global.d.ts +1 -0
  348. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/jsconfig.json +9 -0
  349. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/page/i18n/en-US.po +2 -0
  350. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/page/index.b.layout.js +6 -0
  351. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/page/index.js +7 -0
  352. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/page/index.r.layout.js +6 -0
  353. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/page/index.s.layout.js +6 -0
  354. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/setting/i18n/en-US.po +2 -0
  355. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/setting/index.js +7 -0
  356. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/_package.json +17 -0
  357. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/app-side/i18n/en-US.po +2 -0
  358. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/app-side/index.js +84 -0
  359. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/app.js +14 -0
  360. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/app.json +51 -0
  361. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/assets/common.r/icon.png +0 -0
  362. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/assets/common.s/icon.png +0 -0
  363. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/global.d.ts +1 -0
  364. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/jsconfig.json +9 -0
  365. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/page/i18n/en-US.po +2 -0
  366. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/page/index.js +45 -0
  367. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/page/index.r.layout.js +32 -0
  368. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/page/index.s.layout.js +32 -0
  369. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/utils/config/constants.js +2 -0
  370. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/utils/config/device.js +2 -0
  371. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/_package.json +17 -0
  372. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/app.js +10 -0
  373. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/app.json +48 -0
  374. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/assets/gt.r/icon.png +0 -0
  375. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/assets/gt.s/icon.png +0 -0
  376. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/global.d.ts +1 -0
  377. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/jsconfig.json +9 -0
  378. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/page/gt/home/index.page.js +17 -0
  379. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/page/gt/home/index.page.r.layout.js +19 -0
  380. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/page/gt/home/index.page.s.layout.js +19 -0
  381. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/page/i18n/en-US.po +3 -0
  382. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/utils/index.js +3 -0
  383. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/_package.json +17 -0
  384. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/app-service/delay.js +25 -0
  385. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/app-service/index.js +20 -0
  386. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/app.js +10 -0
  387. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/app.json +52 -0
  388. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/assets/gt.r/icon.png +0 -0
  389. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/global.d.ts +1 -0
  390. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/jsconfig.json +9 -0
  391. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/page/i18n/en-US.po +8 -0
  392. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/page/index.js +26 -0
  393. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/page/index.r.layout.js +15 -0
  394. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/utils/constants.js +9 -0
  395. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/.prettierrc.js +6 -0
  396. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/_package.json +17 -0
  397. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/app-side/index.js +47 -0
  398. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/app.js +17 -0
  399. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/app.json +55 -0
  400. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.r/add.png +0 -0
  401. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.r/delete.png +0 -0
  402. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.r/icon.png +0 -0
  403. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.s/add.png +0 -0
  404. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.s/delete.png +0 -0
  405. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.s/icon.png +0 -0
  406. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/global.d.ts +1 -0
  407. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/jsconfig.json +9 -0
  408. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/page/home/index.page.js +177 -0
  409. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/page/home/index.page.r.layout.js +112 -0
  410. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/page/home/index.page.s.layout.js +112 -0
  411. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/page/i18n/en-US.po +21 -0
  412. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/setting/i18n/en-US.po +5 -0
  413. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/setting/index.js +143 -0
  414. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/utils/constants.js +3 -0
  415. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/utils/fs.js +34 -0
  416. package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/utils/index.js +38 -0
  417. package/private-modules/zeppos-app-utils/dist/tools/index.js +1 -1
  418. package/private-modules/zeppos-app-utils/package.json +4 -3
  419. package/utils/pre-check.js +1 -1
  420. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/hello-world/app.json +0 -66
  421. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/calories/page/gts/food-list.js +0 -113
  422. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/calories/page/gts/index.js +0 -126
  423. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/fetch-api/pages/index.js +0 -55
  424. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/hello-world/app.json +0 -66
  425. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/hello-world/page/gtr/home/index.page.js +0 -20
  426. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/hello-world/page/gtr/home/index.page.json +0 -1
  427. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/hello-world/page/gtr/home/index.style.js +0 -18
  428. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/hello-world/page/gts/home/index.page.js +0 -21
  429. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/hello-world/page/gts/home/index.page.json +0 -1
  430. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/hello-world/page/gts/home/index.style.js +0 -17
  431. package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/todo-list/app.json +0 -70
  432. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/app-side/index.js +0 -11
  433. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/app.js +0 -10
  434. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/app.json +0 -172
  435. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gtr3/home/index.page.js +0 -18
  436. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gtr3/home/index.page.json +0 -1
  437. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gtr3/home/index.style.js +0 -15
  438. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gtr3-pro/home/index.page.js +0 -18
  439. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gtr3-pro/home/index.page.json +0 -1
  440. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gtr3-pro/home/index.style.js +0 -15
  441. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gts3/home/index.page.js +0 -19
  442. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gts3/home/index.page.json +0 -1
  443. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/gts3/home/index.style.js +0 -15
  444. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/page/i18n/en-US.po +0 -3
  445. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/setting/index.js +0 -5
  446. package/private-modules/zeppos-app-utils/dist/public/template/v1/hello-world/utils/index.js +0 -3
  447. package/private-modules/zeppos-app-utils/dist/public/template/v1/timer/watchface/round/index.js +0 -438
  448. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/app.js +0 -28
  449. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/app.json +0 -56
  450. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/page/gts/food-list.js +0 -113
  451. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/page/gts/index.js +0 -126
  452. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/utils/constants.js +0 -54
  453. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/utils/storage.js +0 -42
  454. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/utils/styles-gts-3.js +0 -141
  455. package/private-modules/zeppos-app-utils/dist/public/template/v2/calories/utils/styles.js +0 -142
  456. package/private-modules/zeppos-app-utils/dist/public/template/v2/fetch-api/app-side/index.js +0 -57
  457. package/private-modules/zeppos-app-utils/dist/public/template/v2/fetch-api/app.js +0 -23
  458. package/private-modules/zeppos-app-utils/dist/public/template/v2/fetch-api/app.json +0 -65
  459. package/private-modules/zeppos-app-utils/dist/public/template/v2/fetch-api/pages/index.js +0 -55
  460. package/private-modules/zeppos-app-utils/dist/public/template/v2/fetch-api/utils/config/constants.js +0 -2
  461. package/private-modules/zeppos-app-utils/dist/public/template/v2/fetch-api/utils/config/device.js +0 -2
  462. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/app-side/index.js +0 -11
  463. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/app.js +0 -10
  464. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/app.json +0 -101
  465. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/assets/gtr/icon.png +0 -0
  466. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/assets/gts/icon.png +0 -0
  467. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/page/gtr/home/index.page.js +0 -20
  468. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/page/gtr/home/index.page.json +0 -1
  469. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/page/gtr/home/index.style.js +0 -18
  470. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/page/gts/home/index.page.js +0 -21
  471. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/page/gts/home/index.page.json +0 -1
  472. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/page/gts/home/index.style.js +0 -17
  473. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/setting/i18n/en-US.po +0 -2
  474. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/setting/index.js +0 -5
  475. package/private-modules/zeppos-app-utils/dist/public/template/v2/hello-world/utils/index.js +0 -3
  476. package/private-modules/zeppos-app-utils/dist/public/template/v2/jsconfig.json +0 -14
  477. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/.prettierrc.js +0 -6
  478. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/app-side/index.js +0 -48
  479. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/app.js +0 -25
  480. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/app.json +0 -75
  481. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/page/home/index.page.js +0 -155
  482. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/page/home/index.style.js +0 -93
  483. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/page/i18n/en-US.po +0 -8
  484. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/setting/index.js +0 -145
  485. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/shared/es6-promise.js +0 -1149
  486. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/shared/message-side.js +0 -1145
  487. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/shared/message.js +0 -1151
  488. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/utils/fs.js +0 -38
  489. package/private-modules/zeppos-app-utils/dist/public/template/v2/todo-list/utils/index.js +0 -38
  490. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{_package.json → app/_package.json} +0 -0
  491. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/app-side/i18n/en-US.po +0 -0
  492. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/app-side/index.js +0 -0
  493. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/app.js +0 -0
  494. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/app.json +0 -0
  495. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/assets/default/icon.png +0 -0
  496. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/page/i18n/en-US.po +0 -0
  497. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/page/index.js +0 -0
  498. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/setting/i18n/en-US.po +0 -0
  499. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/setting/index.js +0 -0
  500. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{empty → app/empty}/watchface/index.js +0 -0
  501. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/app-side/index.js +0 -0
  502. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/app.js +0 -0
  503. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/assets/gtr3/icon.png +0 -0
  504. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/assets/gtr3/image/logo.png +0 -0
  505. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/assets/gtr3-pro/icon.png +0 -0
  506. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/assets/gtr3-pro/image/logo.png +0 -0
  507. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/assets/gts3/icon.png +0 -0
  508. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/assets/gts3/image/logo.png +0 -0
  509. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gtr3/home/index.page.js +0 -0
  510. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gtr3/home/index.page.json +0 -0
  511. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gtr3/home/index.style.js +0 -0
  512. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gtr3-pro/home/index.page.js +0 -0
  513. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gtr3-pro/home/index.page.json +0 -0
  514. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gtr3-pro/home/index.style.js +0 -0
  515. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gts3/home/index.page.js +0 -0
  516. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gts3/home/index.page.json +0 -0
  517. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/gts3/home/index.style.js +0 -0
  518. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/page/i18n/en-US.po +0 -0
  519. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/setting/i18n/en-US.po +0 -0
  520. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/setting/index.js +0 -0
  521. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{hello-world → app/hello-world}/utils/index.js +0 -0
  522. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{jsconfig.json → app/jsconfig.json} +0 -0
  523. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → config-version-v3/v1/watchface}/_package.json +0 -0
  524. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/{v2 → v1/watchface}/jsconfig.json +0 -0
  525. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/app.js +0 -0
  526. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/app.json +0 -0
  527. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bg/bg.png +0 -0
  528. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/0.png +0 -0
  529. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/1.png +0 -0
  530. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/2.png +0 -0
  531. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/3.png +0 -0
  532. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/4.png +0 -0
  533. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/5.png +0 -0
  534. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/6.png +0 -0
  535. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/7.png +0 -0
  536. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/8.png +0 -0
  537. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/9.png +0 -0
  538. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/bigNum/sp.png +0 -0
  539. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/btn/back.png +0 -0
  540. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/btn/lv.png +0 -0
  541. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/btn/red.png +0 -0
  542. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/bg.png +0 -0
  543. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/bottom.png +0 -0
  544. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/center.png +0 -0
  545. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/h.png +0 -0
  546. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/left.png +0 -0
  547. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/m.png +0 -0
  548. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/right.png +0 -0
  549. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/point/s.png +0 -0
  550. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/preview.png +0 -0
  551. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/second/second.png +0 -0
  552. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/0.png +0 -0
  553. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/1.png +0 -0
  554. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/2.png +0 -0
  555. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/3.png +0 -0
  556. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/4.png +0 -0
  557. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/5.png +0 -0
  558. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/6.png +0 -0
  559. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/7.png +0 -0
  560. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/8.png +0 -0
  561. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/9.png +0 -0
  562. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/d.png +0 -0
  563. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/smallNum/n.png +0 -0
  564. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_ch/1.png +0 -0
  565. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_ch/2.png +0 -0
  566. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_ch/3.png +0 -0
  567. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_ch/4.png +0 -0
  568. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_ch/5.png +0 -0
  569. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_ch/6.png +0 -0
  570. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_ch/7.png +0 -0
  571. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_en/1.png +0 -0
  572. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_en/2.png +0 -0
  573. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_en/3.png +0 -0
  574. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_en/4.png +0 -0
  575. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_en/5.png +0 -0
  576. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_en/6.png +0 -0
  577. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/assets/gtr-3-pro/images/week_en/7.png +0 -0
  578. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/shared/buffer.js +0 -0
  579. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/shared/device-polyfill.js +0 -0
  580. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/shared/global.js +0 -0
  581. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/shared/js-module.js +0 -0
  582. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/shared/logger.js +0 -0
  583. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/shared/setTimeout.js +0 -0
  584. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/watchface/gtr-3-pro/index.js +0 -0
  585. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v1/{timer → watchface/timer}/watchface/round/index.js +0 -0
  586. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{_package.json → app/_package.json} +0 -0
  587. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/app.js +0 -0
  588. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/app.json +0 -0
  589. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/consume.png +0 -0
  590. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/beer.png +0 -0
  591. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/cake.png +0 -0
  592. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/chocolate.png +0 -0
  593. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/coffee.png +0 -0
  594. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/cookies.png +0 -0
  595. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/ham.png +0 -0
  596. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/hamburger.png +0 -0
  597. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/ice cream.png +0 -0
  598. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/pizza.png +0 -0
  599. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/food/sausage.png +0 -0
  600. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/icon.png +0 -0
  601. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/multiply.png +0 -0
  602. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/selected.png +0 -0
  603. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/assets/gt.s/unselected.png +0 -0
  604. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/page/gt/food-list.js +0 -0
  605. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/page/gt/index.js +0 -0
  606. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/page/i18n/en-US.po +0 -0
  607. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/page/i18n/zh-CN.po +0 -0
  608. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/utils/constants.js +0 -0
  609. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/utils/storage.js +0 -0
  610. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/utils/styles-gts-3.js +0 -0
  611. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{calories → app/calories}/utils/styles.js +0 -0
  612. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/app-side/i18n/en-US.po +0 -0
  613. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/app-side/index.js +0 -0
  614. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/app.js +0 -0
  615. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/app.json +0 -0
  616. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/assets/default/icon.png +0 -0
  617. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/page/i18n/en-US.po +0 -0
  618. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/page/index.js +0 -0
  619. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/setting/i18n/en-US.po +0 -0
  620. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/setting/index.js +0 -0
  621. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{empty → app/empty}/watchface/index.js +0 -0
  622. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/app-side/i18n/en-US.po +0 -0
  623. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/app-side/index.js +0 -0
  624. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/app.js +0 -0
  625. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/app.json +0 -0
  626. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/assets/common.r/icon.png +0 -0
  627. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/assets/common.s/icon.png +0 -0
  628. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/page/i18n/en-US.po +0 -0
  629. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/page/index.js +0 -0
  630. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/shared/data.js +0 -0
  631. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/shared/defer.js +0 -0
  632. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/shared/device-polyfill.js +0 -0
  633. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/shared/es6-promise.js +0 -0
  634. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/shared/event.js +0 -0
  635. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/shared/message-side.js +0 -0
  636. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/shared/message.js +0 -0
  637. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/utils/config/constants.js +0 -0
  638. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{fetch-api → app/fetch-api}/utils/config/device.js +0 -0
  639. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/app-side/index.js +0 -0
  640. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/app.js +0 -0
  641. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/assets/gt.r/icon.png +0 -0
  642. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/assets/gt.r/image/logo.png +0 -0
  643. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/assets/gt.s/icon.png +0 -0
  644. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/assets/gt.s/image/logo.png +0 -0
  645. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/page/gt/home/index.page.js +0 -0
  646. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/page/gt/home/index.page.json +0 -0
  647. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/page/gt/home/index.page.r.layout.js +0 -0
  648. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/page/gt/home/index.page.s.layout.js +0 -0
  649. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/page/gt/home/index.style.js +0 -0
  650. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/page/i18n/en-US.po +0 -0
  651. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/setting/i18n/en-US.po +0 -0
  652. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/setting/index.js +0 -0
  653. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{hello-world → app/hello-world}/utils/index.js +0 -0
  654. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → config-version-v3/v2/app}/jsconfig.json +0 -0
  655. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/.prettierrc.js +0 -0
  656. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/app-side/index.js +0 -0
  657. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/app.js +0 -0
  658. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/assets/gt.s/icon.png +0 -0
  659. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/page/home/index.page.js +0 -0
  660. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/page/home/index.page.json +0 -0
  661. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/page/home/index.style.js +0 -0
  662. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/page/i18n/en-US.po +0 -0
  663. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/setting/i18n/en-US.po +0 -0
  664. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/setting/index.js +0 -0
  665. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/shared/data.js +0 -0
  666. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/shared/defer.js +0 -0
  667. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/shared/device-polyfill.js +0 -0
  668. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/shared/es6-promise.js +0 -0
  669. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/shared/event.js +0 -0
  670. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/shared/message-side.js +0 -0
  671. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/shared/message.js +0 -0
  672. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/utils/constants.js +0 -0
  673. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/utils/fs.js +0 -0
  674. /package/private-modules/zeppos-app-utils/dist/public/template/config-version-v3/v2/{todo-list → app/todo-list}/utils/index.js +0 -0
  675. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gtr-3-pro}/icon.png +0 -0
  676. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/consume.png +0 -0
  677. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/beer.png +0 -0
  678. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/cake.png +0 -0
  679. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/chocolate.png +0 -0
  680. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/coffee.png +0 -0
  681. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/cookies.png +0 -0
  682. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/ham.png +0 -0
  683. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/hamburger.png +0 -0
  684. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/ice cream.png +0 -0
  685. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/pizza.png +0 -0
  686. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/food/sausage.png +0 -0
  687. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/icon.png +0 -0
  688. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/multiply.png +0 -0
  689. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/selected.png +0 -0
  690. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/calories/assets/gts → os1.0/app/calories/assets/gts-3}/unselected.png +0 -0
  691. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/app}/calories/page/i18n/en-US.po +0 -0
  692. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/app}/calories/page/i18n/zh-CN.po +0 -0
  693. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/app}/empty/app-side/i18n/en-US.po +0 -0
  694. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/app}/empty/app-side/index.js +0 -0
  695. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/app}/empty/app.js +0 -0
  696. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/app}/empty/app.json +0 -0
  697. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/fetch-api/assets/common → os1.0/app/empty/assets/default}/icon.png +0 -0
  698. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/fetch-api/pages → os1.0/app/empty/page}/i18n/en-US.po +0 -0
  699. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/app}/empty/page/index.js +0 -0
  700. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/app}/empty/setting/i18n/en-US.po +0 -0
  701. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/app}/empty/setting/index.js +0 -0
  702. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/empty → os1.0/app/fetch-api}/app-side/i18n/en-US.po +0 -0
  703. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/empty/assets/default → os1.0/app/fetch-api/assets/common}/icon.png +0 -0
  704. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/empty/page → os1.0/app/fetch-api/pages}/i18n/en-US.po +0 -0
  705. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/timer → os1.0/app/fetch-api}/shared/buffer.js +0 -0
  706. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/app}/fetch-api/shared/defer.js +0 -0
  707. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/timer → os1.0/app/fetch-api}/shared/global.js +0 -0
  708. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/timer → os1.0/app/fetch-api}/shared/js-module.js +0 -0
  709. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/timer → os1.0/app/fetch-api}/shared/logger.js +0 -0
  710. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/timer → os1.0/app/fetch-api}/shared/setTimeout.js +0 -0
  711. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/hello-world/assets/gts → os1.0/app/hello-world/assets/gtr3}/icon.png +0 -0
  712. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/hello-world/assets/gts → os1.0/app/hello-world/assets/gtr3}/image/logo.png +0 -0
  713. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/hello-world/assets/gtr → os1.0/app/hello-world/assets/gtr3-pro}/icon.png +0 -0
  714. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/hello-world/assets/gtr → os1.0/app/hello-world/assets/gtr3-pro}/image/logo.png +0 -0
  715. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/hello-world/assets/gtr3-pro → os1.0/app/hello-world/assets/gts3}/icon.png +0 -0
  716. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/hello-world/assets/gtr3-pro → os1.0/app/hello-world/assets/gts3}/image/logo.png +0 -0
  717. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/todo-list/page → os1.0/app/hello-world/page/gtr3-pro}/home/index.page.json +0 -0
  718. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/app}/hello-world/page/i18n/en-US.po +0 -0
  719. /package/private-modules/zeppos-app-utils/dist/public/template/{config-version-v3/v2/todo-list/assets/gts → os1.0/app/todo-list/assets/gtr-3-pro}/icon.png +0 -0
  720. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/todo-list/assets/gts → os1.0/app/todo-list/assets/gts-3}/icon.png +0 -0
  721. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/app}/todo-list/setting/i18n/en-US.po +0 -0
  722. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/app}/todo-list/shared/defer.js +0 -0
  723. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/fetch-api → os1.0/app/todo-list}/shared/event.js +0 -0
  724. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/app}/todo-list/utils/constants.js +0 -0
  725. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/watchface}/empty/app.js +0 -0
  726. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os1.0/watchface}/empty/assets/default/icon.png +0 -0
  727. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/empty/watchface/index.js +0 -0
  728. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/app.js +0 -0
  729. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/app.json +0 -0
  730. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bg/bg.png +0 -0
  731. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/0.png +0 -0
  732. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/1.png +0 -0
  733. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/2.png +0 -0
  734. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/3.png +0 -0
  735. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/4.png +0 -0
  736. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/5.png +0 -0
  737. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/6.png +0 -0
  738. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/7.png +0 -0
  739. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/8.png +0 -0
  740. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/9.png +0 -0
  741. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/bigNum/sp.png +0 -0
  742. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/btn/back.png +0 -0
  743. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/btn/lv.png +0 -0
  744. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/btn/red.png +0 -0
  745. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/bg.png +0 -0
  746. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/bottom.png +0 -0
  747. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/center.png +0 -0
  748. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/h.png +0 -0
  749. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/left.png +0 -0
  750. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/m.png +0 -0
  751. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/right.png +0 -0
  752. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/point/s.png +0 -0
  753. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/preview.png +0 -0
  754. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/second/second.png +0 -0
  755. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/0.png +0 -0
  756. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/1.png +0 -0
  757. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/2.png +0 -0
  758. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/3.png +0 -0
  759. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/4.png +0 -0
  760. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/5.png +0 -0
  761. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/6.png +0 -0
  762. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/7.png +0 -0
  763. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/8.png +0 -0
  764. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/9.png +0 -0
  765. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/d.png +0 -0
  766. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/smallNum/n.png +0 -0
  767. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_ch/1.png +0 -0
  768. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_ch/2.png +0 -0
  769. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_ch/3.png +0 -0
  770. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_ch/4.png +0 -0
  771. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_ch/5.png +0 -0
  772. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_ch/6.png +0 -0
  773. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_ch/7.png +0 -0
  774. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_en/1.png +0 -0
  775. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_en/2.png +0 -0
  776. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_en/3.png +0 -0
  777. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_en/4.png +0 -0
  778. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_en/5.png +0 -0
  779. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_en/6.png +0 -0
  780. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/assets/gtr-3-pro/images/week_en/7.png +0 -0
  781. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/shared/device-polyfill.js +0 -0
  782. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os1.0/watchface}/timer/watchface/gtr-3-pro/index.js +0 -0
  783. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/consume.png +0 -0
  784. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/beer.png +0 -0
  785. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/cake.png +0 -0
  786. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/chocolate.png +0 -0
  787. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/coffee.png +0 -0
  788. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/cookies.png +0 -0
  789. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/ham.png +0 -0
  790. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/hamburger.png +0 -0
  791. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/ice cream.png +0 -0
  792. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/pizza.png +0 -0
  793. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/food/sausage.png +0 -0
  794. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/multiply.png +0 -0
  795. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/selected.png +0 -0
  796. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/calories/assets/gts/unselected.png +0 -0
  797. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app/empty}/_package.json +0 -0
  798. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/empty/setting → os2.0/app/empty/app-side}/i18n/en-US.po +0 -0
  799. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/empty/app-side/index.js +0 -0
  800. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/empty/app.json +0 -0
  801. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/fetch-api/assets/common → os2.0/app/empty/assets/default}/icon.png +0 -0
  802. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/empty/page/i18n/en-US.po +0 -0
  803. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/empty/page/index.js +0 -0
  804. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/fetch-api/app-side → os2.0/app/empty/setting}/i18n/en-US.po +0 -0
  805. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/empty/setting/index.js +0 -0
  806. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/fetch-api/pages/i18n/en-US.po +0 -0
  807. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/fetch-api/shared/data.js +0 -0
  808. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/fetch-api/shared/device-polyfill.js +0 -0
  809. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/fetch-api/shared/es6-promise.js +0 -0
  810. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/todo-list → os2.0/app/fetch-api}/shared/event.js +0 -0
  811. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/fetch-api/shared/message-side.js +0 -0
  812. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/fetch-api/shared/message.js +0 -0
  813. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/hello-world/assets/gtr3 → os2.0/app/hello-world/assets/gtr}/icon.png +0 -0
  814. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/hello-world/assets/gtr3 → os2.0/app/hello-world/assets/gtr}/image/logo.png +0 -0
  815. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/hello-world/assets/gts3 → os2.0/app/hello-world/assets/gts}/icon.png +0 -0
  816. /package/private-modules/zeppos-app-utils/dist/public/template/{v1/hello-world/assets/gts3 → os2.0/app/hello-world/assets/gts}/image/logo.png +0 -0
  817. /package/private-modules/zeppos-app-utils/dist/public/template/{v1 → os2.0/app}/hello-world/setting/i18n/en-US.po +0 -0
  818. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/todo-list/shared/data.js +0 -0
  819. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/app}/todo-list/shared/device-polyfill.js +0 -0
  820. /package/private-modules/zeppos-app-utils/dist/public/template/{v2 → os2.0/watchface}/empty/watchface/index.js +0 -0
  821. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/hello-world/assets/gtr → os3.0/app/hello-world/assets/gt.r}/image/logo.png +0 -0
  822. /package/private-modules/zeppos-app-utils/dist/public/template/{v2/hello-world/assets/gts → os3.0/app/hello-world/assets/gt.s}/image/logo.png +0 -0
@@ -0,0 +1,1178 @@
1
+ /*!
2
+ * @overview es6-promise - a tiny implementation of Promises/A+.
3
+ * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
4
+ * @license Licensed under MIT license
5
+ * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
6
+ * @version v4.2.8+1e68dce6
7
+ */
8
+
9
+ ;(function (global, factory) {
10
+ global.ES6Promise = factory()
11
+ })(globalThis, function () {
12
+ 'use strict'
13
+
14
+ function objectOrFunction(x) {
15
+ var type = typeof x
16
+ return x !== null && (type === 'object' || type === 'function')
17
+ }
18
+
19
+ function isFunction(x) {
20
+ return typeof x === 'function'
21
+ }
22
+
23
+ var _isArray = void 0
24
+ if (Array.isArray) {
25
+ _isArray = Array.isArray
26
+ } else {
27
+ _isArray = function (x) {
28
+ return Object.prototype.toString.call(x) === '[object Array]'
29
+ }
30
+ }
31
+
32
+ var isArray = _isArray
33
+
34
+ var len = 0
35
+ var vertxNext = void 0
36
+ var customSchedulerFn = void 0
37
+
38
+ var asap = function asap(callback, arg) {
39
+ queue[len] = callback
40
+ queue[len + 1] = arg
41
+ len += 2
42
+ if (len === 2) {
43
+ // If len is 2, that means that we need to schedule an async flush.
44
+ // If additional callbacks are queued before the queue is flushed, they
45
+ // will be processed by this flush that we are scheduling.
46
+ if (customSchedulerFn) {
47
+ customSchedulerFn(flush)
48
+ } else {
49
+ scheduleFlush()
50
+ }
51
+ }
52
+ }
53
+
54
+ function setScheduler(scheduleFn) {
55
+ customSchedulerFn = scheduleFn
56
+ }
57
+
58
+ function setAsap(asapFn) {
59
+ asap = asapFn
60
+ }
61
+
62
+ var browserWindow = typeof window !== 'undefined' ? window : undefined
63
+ var browserGlobal = browserWindow || {}
64
+ var BrowserMutationObserver =
65
+ browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver
66
+ var isNode =
67
+ typeof self === 'undefined' &&
68
+ typeof process !== 'undefined' &&
69
+ {}.toString.call(process) === '[object process]'
70
+
71
+ // test for web worker but not in IE10
72
+ var isWorker =
73
+ typeof Uint8ClampedArray !== 'undefined' &&
74
+ typeof importScripts !== 'undefined' &&
75
+ typeof MessageChannel !== 'undefined'
76
+
77
+ // node
78
+ function useNextTick() {
79
+ // node version 0.10.x displays a deprecation warning when nextTick is used recursively
80
+ // see https://github.com/cujojs/when/issues/410 for details
81
+ return function () {
82
+ return process.nextTick(flush)
83
+ }
84
+ }
85
+
86
+ // vertx
87
+ function useVertxTimer() {
88
+ if (typeof vertxNext !== 'undefined') {
89
+ return function () {
90
+ vertxNext(flush)
91
+ }
92
+ }
93
+
94
+ return useSetTimeout()
95
+ }
96
+
97
+ function useMutationObserver() {
98
+ var iterations = 0
99
+ var observer = new BrowserMutationObserver(flush)
100
+ var node = document.createTextNode('')
101
+ observer.observe(node, { characterData: true })
102
+
103
+ return function () {
104
+ node.data = iterations = ++iterations % 2
105
+ }
106
+ }
107
+
108
+ // web worker
109
+ function useMessageChannel() {
110
+ var channel = new MessageChannel()
111
+ channel.port1.onmessage = flush
112
+ return function () {
113
+ return channel.port2.postMessage(0)
114
+ }
115
+ }
116
+
117
+ function useSetTimeout() {
118
+ // Store setTimeout reference so es6-promise will be unaffected by
119
+ // other code modifying setTimeout (like sinon.useFakeTimers())
120
+ var globalSetTimeout = setTimeout
121
+ return function () {
122
+ return globalSetTimeout(flush, 1)
123
+ }
124
+ }
125
+
126
+ var queue = new Array(1000)
127
+ function flush() {
128
+ for (var i = 0; i < len; i += 2) {
129
+ var callback = queue[i]
130
+ var arg = queue[i + 1]
131
+
132
+ callback(arg)
133
+
134
+ queue[i] = undefined
135
+ queue[i + 1] = undefined
136
+ }
137
+
138
+ len = 0
139
+ }
140
+
141
+ function attemptVertx() {
142
+ try {
143
+ var vertx = Function('return this')().require('vertx')
144
+ vertxNext = vertx.runOnLoop || vertx.runOnContext
145
+ return useVertxTimer()
146
+ } catch (e) {
147
+ return useSetTimeout()
148
+ }
149
+ }
150
+
151
+ var scheduleFlush = void 0
152
+ // Decide what async method to use to triggering processing of queued callbacks:
153
+ if (isNode) {
154
+ scheduleFlush = useNextTick()
155
+ } else if (BrowserMutationObserver) {
156
+ scheduleFlush = useMutationObserver()
157
+ } else if (isWorker) {
158
+ scheduleFlush = useMessageChannel()
159
+ } else if (browserWindow === undefined && typeof require === 'function') {
160
+ scheduleFlush = attemptVertx()
161
+ } else {
162
+ scheduleFlush = useSetTimeout()
163
+ }
164
+
165
+ function then(onFulfillment, onRejection) {
166
+ var parent = this
167
+
168
+ var child = new this.constructor(noop)
169
+
170
+ if (child[PROMISE_ID] === undefined) {
171
+ makePromise(child)
172
+ }
173
+
174
+ var _state = parent._state
175
+
176
+ if (_state) {
177
+ var callback = arguments[_state - 1]
178
+ asap(function () {
179
+ return invokeCallback(_state, child, callback, parent._result)
180
+ })
181
+ } else {
182
+ subscribe(parent, child, onFulfillment, onRejection)
183
+ }
184
+
185
+ return child
186
+ }
187
+
188
+ /**
189
+ `Promise.resolve` returns a promise that will become resolved with the
190
+ passed `value`. It is shorthand for the following:
191
+
192
+ ```javascript
193
+ let promise = new Promise(function(resolve, reject){
194
+ resolve(1);
195
+ });
196
+
197
+ promise.then(function(value){
198
+ // value === 1
199
+ });
200
+ ```
201
+
202
+ Instead of writing the above, your code now simply becomes the following:
203
+
204
+ ```javascript
205
+ let promise = Promise.resolve(1);
206
+
207
+ promise.then(function(value){
208
+ // value === 1
209
+ });
210
+ ```
211
+
212
+ @method resolve
213
+ @static
214
+ @param {Any} value value that the returned promise will be resolved with
215
+ Useful for tooling.
216
+ @return {Promise} a promise that will become fulfilled with the given
217
+ `value`
218
+ */
219
+ function resolve$1(object) {
220
+ /*jshint validthis:true */
221
+ var Constructor = this
222
+
223
+ if (object && typeof object === 'object' && object.constructor === Constructor) {
224
+ return object
225
+ }
226
+
227
+ var promise = new Constructor(noop)
228
+ resolve(promise, object)
229
+ return promise
230
+ }
231
+
232
+ var PROMISE_ID = Math.random().toString(36).substring(2)
233
+
234
+ function noop() {}
235
+
236
+ var PENDING = void 0
237
+ var FULFILLED = 1
238
+ var REJECTED = 2
239
+
240
+ function selfFulfillment() {
241
+ return new TypeError('You cannot resolve a promise with itself')
242
+ }
243
+
244
+ function cannotReturnOwn() {
245
+ return new TypeError('A promises callback cannot return that same promise.')
246
+ }
247
+
248
+ function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {
249
+ try {
250
+ then$$1.call(value, fulfillmentHandler, rejectionHandler)
251
+ } catch (e) {
252
+ return e
253
+ }
254
+ }
255
+
256
+ function handleForeignThenable(promise, thenable, then$$1) {
257
+ asap(function (promise) {
258
+ var sealed = false
259
+ var error = tryThen(
260
+ then$$1,
261
+ thenable,
262
+ function (value) {
263
+ if (sealed) {
264
+ return
265
+ }
266
+ sealed = true
267
+ if (thenable !== value) {
268
+ resolve(promise, value)
269
+ } else {
270
+ fulfill(promise, value)
271
+ }
272
+ },
273
+ function (reason) {
274
+ if (sealed) {
275
+ return
276
+ }
277
+ sealed = true
278
+
279
+ reject(promise, reason)
280
+ },
281
+ 'Settle: ' + (promise._label || ' unknown promise')
282
+ )
283
+
284
+ if (!sealed && error) {
285
+ sealed = true
286
+ reject(promise, error)
287
+ }
288
+ }, promise)
289
+ }
290
+
291
+ function handleOwnThenable(promise, thenable) {
292
+ if (thenable._state === FULFILLED) {
293
+ fulfill(promise, thenable._result)
294
+ } else if (thenable._state === REJECTED) {
295
+ reject(promise, thenable._result)
296
+ } else {
297
+ subscribe(
298
+ thenable,
299
+ undefined,
300
+ function (value) {
301
+ return resolve(promise, value)
302
+ },
303
+ function (reason) {
304
+ return reject(promise, reason)
305
+ }
306
+ )
307
+ }
308
+ }
309
+
310
+ function handleMaybeThenable(promise, maybeThenable, then$$1) {
311
+ if (
312
+ maybeThenable.constructor === promise.constructor &&
313
+ then$$1 === then &&
314
+ maybeThenable.constructor.resolve === resolve$1
315
+ ) {
316
+ handleOwnThenable(promise, maybeThenable)
317
+ } else {
318
+ if (then$$1 === undefined) {
319
+ fulfill(promise, maybeThenable)
320
+ } else if (isFunction(then$$1)) {
321
+ handleForeignThenable(promise, maybeThenable, then$$1)
322
+ } else {
323
+ fulfill(promise, maybeThenable)
324
+ }
325
+ }
326
+ }
327
+
328
+ function resolve(promise, value) {
329
+ if (promise === value) {
330
+ reject(promise, selfFulfillment())
331
+ } else if (objectOrFunction(value)) {
332
+ var then$$1 = void 0
333
+ try {
334
+ then$$1 = value.then
335
+ } catch (error) {
336
+ reject(promise, error)
337
+ return
338
+ }
339
+ handleMaybeThenable(promise, value, then$$1)
340
+ } else {
341
+ fulfill(promise, value)
342
+ }
343
+ }
344
+
345
+ function publishRejection(promise) {
346
+ if (promise._onerror) {
347
+ promise._onerror(promise._result)
348
+ }
349
+
350
+ publish(promise)
351
+ }
352
+
353
+ function fulfill(promise, value) {
354
+ if (promise._state !== PENDING) {
355
+ return
356
+ }
357
+
358
+ promise._result = value
359
+ promise._state = FULFILLED
360
+
361
+ if (promise._subscribers.length !== 0) {
362
+ asap(publish, promise)
363
+ }
364
+ }
365
+
366
+ function reject(promise, reason) {
367
+ if (promise._state !== PENDING) {
368
+ return
369
+ }
370
+ promise._state = REJECTED
371
+ promise._result = reason
372
+
373
+ asap(publishRejection, promise)
374
+ }
375
+
376
+ function subscribe(parent, child, onFulfillment, onRejection) {
377
+ var _subscribers = parent._subscribers
378
+ var length = _subscribers.length
379
+
380
+ parent._onerror = null
381
+
382
+ _subscribers[length] = child
383
+ _subscribers[length + FULFILLED] = onFulfillment
384
+ _subscribers[length + REJECTED] = onRejection
385
+
386
+ if (length === 0 && parent._state) {
387
+ asap(publish, parent)
388
+ }
389
+ }
390
+
391
+ function publish(promise) {
392
+ var subscribers = promise._subscribers
393
+ var settled = promise._state
394
+
395
+ if (subscribers.length === 0) {
396
+ return
397
+ }
398
+
399
+ var child = void 0,
400
+ callback = void 0,
401
+ detail = promise._result
402
+
403
+ for (var i = 0; i < subscribers.length; i += 3) {
404
+ child = subscribers[i]
405
+ callback = subscribers[i + settled]
406
+
407
+ if (child) {
408
+ invokeCallback(settled, child, callback, detail)
409
+ } else {
410
+ callback(detail)
411
+ }
412
+ }
413
+
414
+ promise._subscribers.length = 0
415
+ }
416
+
417
+ function invokeCallback(settled, promise, callback, detail) {
418
+ var hasCallback = isFunction(callback),
419
+ value = void 0,
420
+ error = void 0,
421
+ succeeded = true
422
+
423
+ if (hasCallback) {
424
+ try {
425
+ value = callback(detail)
426
+ } catch (e) {
427
+ succeeded = false
428
+ error = e
429
+ }
430
+
431
+ if (promise === value) {
432
+ reject(promise, cannotReturnOwn())
433
+ return
434
+ }
435
+ } else {
436
+ value = detail
437
+ }
438
+
439
+ if (promise._state !== PENDING) {
440
+ // noop
441
+ } else if (hasCallback && succeeded) {
442
+ resolve(promise, value)
443
+ } else if (succeeded === false) {
444
+ reject(promise, error)
445
+ } else if (settled === FULFILLED) {
446
+ fulfill(promise, value)
447
+ } else if (settled === REJECTED) {
448
+ reject(promise, value)
449
+ }
450
+ }
451
+
452
+ function initializePromise(promise, resolver) {
453
+ try {
454
+ resolver(
455
+ function resolvePromise(value) {
456
+ resolve(promise, value)
457
+ },
458
+ function rejectPromise(reason) {
459
+ reject(promise, reason)
460
+ }
461
+ )
462
+ } catch (e) {
463
+ reject(promise, e)
464
+ }
465
+ }
466
+
467
+ var id = 0
468
+ function nextId() {
469
+ return id++
470
+ }
471
+
472
+ function makePromise(promise) {
473
+ promise[PROMISE_ID] = id++
474
+ promise._state = undefined
475
+ promise._result = undefined
476
+ promise._subscribers = []
477
+ }
478
+
479
+ function validationError() {
480
+ return new Error('Array Methods must be provided an Array')
481
+ }
482
+
483
+ var Enumerator = (function () {
484
+ function Enumerator(Constructor, input) {
485
+ this._instanceConstructor = Constructor
486
+ this.promise = new Constructor(noop)
487
+
488
+ if (!this.promise[PROMISE_ID]) {
489
+ makePromise(this.promise)
490
+ }
491
+
492
+ if (isArray(input)) {
493
+ this.length = input.length
494
+ this._remaining = input.length
495
+
496
+ this._result = new Array(this.length)
497
+
498
+ if (this.length === 0) {
499
+ fulfill(this.promise, this._result)
500
+ } else {
501
+ this.length = this.length || 0
502
+ this._enumerate(input)
503
+ if (this._remaining === 0) {
504
+ fulfill(this.promise, this._result)
505
+ }
506
+ }
507
+ } else {
508
+ reject(this.promise, validationError())
509
+ }
510
+ }
511
+
512
+ Enumerator.prototype._enumerate = function _enumerate(input) {
513
+ for (var i = 0; this._state === PENDING && i < input.length; i++) {
514
+ this._eachEntry(input[i], i)
515
+ }
516
+ }
517
+
518
+ Enumerator.prototype._eachEntry = function _eachEntry(entry, i) {
519
+ var c = this._instanceConstructor
520
+ var resolve$$1 = c.resolve
521
+
522
+ if (resolve$$1 === resolve$1) {
523
+ var _then = void 0
524
+ var error = void 0
525
+ var didError = false
526
+ try {
527
+ _then = entry.then
528
+ } catch (e) {
529
+ didError = true
530
+ error = e
531
+ }
532
+
533
+ if (_then === then && entry._state !== PENDING) {
534
+ this._settledAt(entry._state, i, entry._result)
535
+ } else if (typeof _then !== 'function') {
536
+ this._remaining--
537
+ this._result[i] = entry
538
+ } else if (c === Promise$1) {
539
+ var promise = new c(noop)
540
+ if (didError) {
541
+ reject(promise, error)
542
+ } else {
543
+ handleMaybeThenable(promise, entry, _then)
544
+ }
545
+ this._willSettleAt(promise, i)
546
+ } else {
547
+ this._willSettleAt(
548
+ new c(function (resolve$$1) {
549
+ return resolve$$1(entry)
550
+ }),
551
+ i
552
+ )
553
+ }
554
+ } else {
555
+ this._willSettleAt(resolve$$1(entry), i)
556
+ }
557
+ }
558
+
559
+ Enumerator.prototype._settledAt = function _settledAt(state, i, value) {
560
+ var promise = this.promise
561
+
562
+ if (promise._state === PENDING) {
563
+ this._remaining--
564
+
565
+ if (state === REJECTED) {
566
+ reject(promise, value)
567
+ } else {
568
+ this._result[i] = value
569
+ }
570
+ }
571
+
572
+ if (this._remaining === 0) {
573
+ fulfill(promise, this._result)
574
+ }
575
+ }
576
+
577
+ Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) {
578
+ var enumerator = this
579
+
580
+ subscribe(
581
+ promise,
582
+ undefined,
583
+ function (value) {
584
+ return enumerator._settledAt(FULFILLED, i, value)
585
+ },
586
+ function (reason) {
587
+ return enumerator._settledAt(REJECTED, i, reason)
588
+ }
589
+ )
590
+ }
591
+
592
+ return Enumerator
593
+ })()
594
+
595
+ /**
596
+ `Promise.all` accepts an array of promises, and returns a new promise which
597
+ is fulfilled with an array of fulfillment values for the passed promises, or
598
+ rejected with the reason of the first passed promise to be rejected. It casts all
599
+ elements of the passed iterable to promises as it runs this algorithm.
600
+
601
+ Example:
602
+
603
+ ```javascript
604
+ let promise1 = resolve(1);
605
+ let promise2 = resolve(2);
606
+ let promise3 = resolve(3);
607
+ let promises = [ promise1, promise2, promise3 ];
608
+
609
+ Promise.all(promises).then(function(array){
610
+ // The array here would be [ 1, 2, 3 ];
611
+ });
612
+ ```
613
+
614
+ If any of the `promises` given to `all` are rejected, the first promise
615
+ that is rejected will be given as an argument to the returned promises's
616
+ rejection handler. For example:
617
+
618
+ Example:
619
+
620
+ ```javascript
621
+ let promise1 = resolve(1);
622
+ let promise2 = reject(new Error("2"));
623
+ let promise3 = reject(new Error("3"));
624
+ let promises = [ promise1, promise2, promise3 ];
625
+
626
+ Promise.all(promises).then(function(array){
627
+ // Code here never runs because there are rejected promises!
628
+ }, function(error) {
629
+ // error.message === "2"
630
+ });
631
+ ```
632
+
633
+ @method all
634
+ @static
635
+ @param {Array} entries array of promises
636
+ @param {String} label optional string for labeling the promise.
637
+ Useful for tooling.
638
+ @return {Promise} promise that is fulfilled when all `promises` have been
639
+ fulfilled, or rejected if any of them become rejected.
640
+ @static
641
+ */
642
+ function all(entries) {
643
+ return new Enumerator(this, entries).promise
644
+ }
645
+
646
+ /**
647
+ `Promise.race` returns a new promise which is settled in the same way as the
648
+ first passed promise to settle.
649
+
650
+ Example:
651
+
652
+ ```javascript
653
+ let promise1 = new Promise(function(resolve, reject){
654
+ setTimeout(function(){
655
+ resolve('promise 1');
656
+ }, 200);
657
+ });
658
+
659
+ let promise2 = new Promise(function(resolve, reject){
660
+ setTimeout(function(){
661
+ resolve('promise 2');
662
+ }, 100);
663
+ });
664
+
665
+ Promise.race([promise1, promise2]).then(function(result){
666
+ // result === 'promise 2' because it was resolved before promise1
667
+ // was resolved.
668
+ });
669
+ ```
670
+
671
+ `Promise.race` is deterministic in that only the state of the first
672
+ settled promise matters. For example, even if other promises given to the
673
+ `promises` array argument are resolved, but the first settled promise has
674
+ become rejected before the other promises became fulfilled, the returned
675
+ promise will become rejected:
676
+
677
+ ```javascript
678
+ let promise1 = new Promise(function(resolve, reject){
679
+ setTimeout(function(){
680
+ resolve('promise 1');
681
+ }, 200);
682
+ });
683
+
684
+ let promise2 = new Promise(function(resolve, reject){
685
+ setTimeout(function(){
686
+ reject(new Error('promise 2'));
687
+ }, 100);
688
+ });
689
+
690
+ Promise.race([promise1, promise2]).then(function(result){
691
+ // Code here never runs
692
+ }, function(reason){
693
+ // reason.message === 'promise 2' because promise 2 became rejected before
694
+ // promise 1 became fulfilled
695
+ });
696
+ ```
697
+
698
+ An example real-world use case is implementing timeouts:
699
+
700
+ ```javascript
701
+ Promise.race([ajax('foo.json'), timeout(5000)])
702
+ ```
703
+
704
+ @method race
705
+ @static
706
+ @param {Array} promises array of promises to observe
707
+ Useful for tooling.
708
+ @return {Promise} a promise which settles in the same way as the first passed
709
+ promise to settle.
710
+ */
711
+ function race(entries) {
712
+ /*jshint validthis:true */
713
+ var Constructor = this
714
+
715
+ if (!isArray(entries)) {
716
+ return new Constructor(function (_, reject) {
717
+ return reject(new TypeError('You must pass an array to race.'))
718
+ })
719
+ } else {
720
+ return new Constructor(function (resolve, reject) {
721
+ var length = entries.length
722
+ for (var i = 0; i < length; i++) {
723
+ Constructor.resolve(entries[i]).then(resolve, reject)
724
+ }
725
+ })
726
+ }
727
+ }
728
+
729
+ /**
730
+ `Promise.reject` returns a promise rejected with the passed `reason`.
731
+ It is shorthand for the following:
732
+
733
+ ```javascript
734
+ let promise = new Promise(function(resolve, reject){
735
+ reject(new Error('WHOOPS'));
736
+ });
737
+
738
+ promise.then(function(value){
739
+ // Code here doesn't run because the promise is rejected!
740
+ }, function(reason){
741
+ // reason.message === 'WHOOPS'
742
+ });
743
+ ```
744
+
745
+ Instead of writing the above, your code now simply becomes the following:
746
+
747
+ ```javascript
748
+ let promise = Promise.reject(new Error('WHOOPS'));
749
+
750
+ promise.then(function(value){
751
+ // Code here doesn't run because the promise is rejected!
752
+ }, function(reason){
753
+ // reason.message === 'WHOOPS'
754
+ });
755
+ ```
756
+
757
+ @method reject
758
+ @static
759
+ @param {Any} reason value that the returned promise will be rejected with.
760
+ Useful for tooling.
761
+ @return {Promise} a promise rejected with the given `reason`.
762
+ */
763
+ function reject$1(reason) {
764
+ /*jshint validthis:true */
765
+ var Constructor = this
766
+ var promise = new Constructor(noop)
767
+ reject(promise, reason)
768
+ return promise
769
+ }
770
+
771
+ function needsResolver() {
772
+ throw new TypeError(
773
+ 'You must pass a resolver function as the first argument to the promise constructor'
774
+ )
775
+ }
776
+
777
+ function needsNew() {
778
+ throw new TypeError(
779
+ "Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."
780
+ )
781
+ }
782
+
783
+ /**
784
+ Promise objects represent the eventual result of an asynchronous operation. The
785
+ primary way of interacting with a promise is through its `then` method, which
786
+ registers callbacks to receive either a promise's eventual value or the reason
787
+ why the promise cannot be fulfilled.
788
+
789
+ Terminology
790
+ -----------
791
+
792
+ - `promise` is an object or function with a `then` method whose behavior conforms to this specification.
793
+ - `thenable` is an object or function that defines a `then` method.
794
+ - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).
795
+ - `exception` is a value that is thrown using the throw statement.
796
+ - `reason` is a value that indicates why a promise was rejected.
797
+ - `settled` the final resting state of a promise, fulfilled or rejected.
798
+
799
+ A promise can be in one of three states: pending, fulfilled, or rejected.
800
+
801
+ Promises that are fulfilled have a fulfillment value and are in the fulfilled
802
+ state. Promises that are rejected have a rejection reason and are in the
803
+ rejected state. A fulfillment value is never a thenable.
804
+
805
+ Promises can also be said to *resolve* a value. If this value is also a
806
+ promise, then the original promise's settled state will match the value's
807
+ settled state. So a promise that *resolves* a promise that rejects will
808
+ itself reject, and a promise that *resolves* a promise that fulfills will
809
+ itself fulfill.
810
+
811
+
812
+ Basic Usage:
813
+ ------------
814
+
815
+ ```js
816
+ let promise = new Promise(function(resolve, reject) {
817
+ // on success
818
+ resolve(value);
819
+
820
+ // on failure
821
+ reject(reason);
822
+ });
823
+
824
+ promise.then(function(value) {
825
+ // on fulfillment
826
+ }, function(reason) {
827
+ // on rejection
828
+ });
829
+ ```
830
+
831
+ Advanced Usage:
832
+ ---------------
833
+
834
+ Promises shine when abstracting away asynchronous interactions such as
835
+ `XMLHttpRequest`s.
836
+
837
+ ```js
838
+ function getJSON(url) {
839
+ return new Promise(function(resolve, reject){
840
+ let xhr = new XMLHttpRequest();
841
+
842
+ xhr.open('GET', url);
843
+ xhr.onreadystatechange = handler;
844
+ xhr.responseType = 'json';
845
+ xhr.setRequestHeader('Accept', 'application/json');
846
+ xhr.send();
847
+
848
+ function handler() {
849
+ if (this.readyState === this.DONE) {
850
+ if (this.status === 200) {
851
+ resolve(this.response);
852
+ } else {
853
+ reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));
854
+ }
855
+ }
856
+ };
857
+ });
858
+ }
859
+
860
+ getJSON('/posts.json').then(function(json) {
861
+ // on fulfillment
862
+ }, function(reason) {
863
+ // on rejection
864
+ });
865
+ ```
866
+
867
+ Unlike callbacks, promises are great composable primitives.
868
+
869
+ ```js
870
+ Promise.all([
871
+ getJSON('/posts'),
872
+ getJSON('/comments')
873
+ ]).then(function(values){
874
+ values[0] // => postsJSON
875
+ values[1] // => commentsJSON
876
+
877
+ return values;
878
+ });
879
+ ```
880
+
881
+ @class Promise
882
+ @param {Function} resolver
883
+ Useful for tooling.
884
+ @constructor
885
+ */
886
+
887
+ var Promise$1 = (function () {
888
+ function Promise(resolver) {
889
+ this[PROMISE_ID] = nextId()
890
+ this._result = this._state = undefined
891
+ this._subscribers = []
892
+
893
+ if (noop !== resolver) {
894
+ typeof resolver !== 'function' && needsResolver()
895
+ this instanceof Promise ? initializePromise(this, resolver) : needsNew()
896
+ }
897
+ }
898
+
899
+ /**
900
+ The primary way of interacting with a promise is through its `then` method,
901
+ which registers callbacks to receive either a promise's eventual value or the
902
+ reason why the promise cannot be fulfilled.
903
+ ```js
904
+ findUser().then(function(user){
905
+ // user is available
906
+ }, function(reason){
907
+ // user is unavailable, and you are given the reason why
908
+ });
909
+ ```
910
+ Chaining
911
+ --------
912
+ The return value of `then` is itself a promise. This second, 'downstream'
913
+ promise is resolved with the return value of the first promise's fulfillment
914
+ or rejection handler, or rejected if the handler throws an exception.
915
+ ```js
916
+ findUser().then(function (user) {
917
+ return user.name;
918
+ }, function (reason) {
919
+ return 'default name';
920
+ }).then(function (userName) {
921
+ // If `findUser` fulfilled, `userName` will be the user's name, otherwise it
922
+ // will be `'default name'`
923
+ });
924
+ findUser().then(function (user) {
925
+ throw new Error('Found user, but still unhappy');
926
+ }, function (reason) {
927
+ throw new Error('`findUser` rejected and we're unhappy');
928
+ }).then(function (value) {
929
+ // never reached
930
+ }, function (reason) {
931
+ // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.
932
+ // If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.
933
+ });
934
+ ```
935
+ If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.
936
+ ```js
937
+ findUser().then(function (user) {
938
+ throw new PedagogicalException('Upstream error');
939
+ }).then(function (value) {
940
+ // never reached
941
+ }).then(function (value) {
942
+ // never reached
943
+ }, function (reason) {
944
+ // The `PedgagocialException` is propagated all the way down to here
945
+ });
946
+ ```
947
+ Assimilation
948
+ ------------
949
+ Sometimes the value you want to propagate to a downstream promise can only be
950
+ retrieved asynchronously. This can be achieved by returning a promise in the
951
+ fulfillment or rejection handler. The downstream promise will then be pending
952
+ until the returned promise is settled. This is called *assimilation*.
953
+ ```js
954
+ findUser().then(function (user) {
955
+ return findCommentsByAuthor(user);
956
+ }).then(function (comments) {
957
+ // The user's comments are now available
958
+ });
959
+ ```
960
+ If the assimliated promise rejects, then the downstream promise will also reject.
961
+ ```js
962
+ findUser().then(function (user) {
963
+ return findCommentsByAuthor(user);
964
+ }).then(function (comments) {
965
+ // If `findCommentsByAuthor` fulfills, we'll have the value here
966
+ }, function (reason) {
967
+ // If `findCommentsByAuthor` rejects, we'll have the reason here
968
+ });
969
+ ```
970
+ Simple Example
971
+ --------------
972
+ Synchronous Example
973
+ ```javascript
974
+ let result;
975
+ try {
976
+ result = findResult();
977
+ // success
978
+ } catch(reason) {
979
+ // failure
980
+ }
981
+ ```
982
+ Errback Example
983
+ ```js
984
+ findResult(function(result, err){
985
+ if (err) {
986
+ // failure
987
+ } else {
988
+ // success
989
+ }
990
+ });
991
+ ```
992
+ Promise Example;
993
+ ```javascript
994
+ findResult().then(function(result){
995
+ // success
996
+ }, function(reason){
997
+ // failure
998
+ });
999
+ ```
1000
+ Advanced Example
1001
+ --------------
1002
+ Synchronous Example
1003
+ ```javascript
1004
+ let author, books;
1005
+ try {
1006
+ author = findAuthor();
1007
+ books = findBooksByAuthor(author);
1008
+ // success
1009
+ } catch(reason) {
1010
+ // failure
1011
+ }
1012
+ ```
1013
+ Errback Example
1014
+ ```js
1015
+ function foundBooks(books) {
1016
+ }
1017
+ function failure(reason) {
1018
+ }
1019
+ findAuthor(function(author, err){
1020
+ if (err) {
1021
+ failure(err);
1022
+ // failure
1023
+ } else {
1024
+ try {
1025
+ findBoooksByAuthor(author, function(books, err) {
1026
+ if (err) {
1027
+ failure(err);
1028
+ } else {
1029
+ try {
1030
+ foundBooks(books);
1031
+ } catch(reason) {
1032
+ failure(reason);
1033
+ }
1034
+ }
1035
+ });
1036
+ } catch(error) {
1037
+ failure(err);
1038
+ }
1039
+ // success
1040
+ }
1041
+ });
1042
+ ```
1043
+ Promise Example;
1044
+ ```javascript
1045
+ findAuthor().
1046
+ then(findBooksByAuthor).
1047
+ then(function(books){
1048
+ // found books
1049
+ }).catch(function(reason){
1050
+ // something went wrong
1051
+ });
1052
+ ```
1053
+ @method then
1054
+ @param {Function} onFulfilled
1055
+ @param {Function} onRejected
1056
+ Useful for tooling.
1057
+ @return {Promise}
1058
+ */
1059
+
1060
+ /**
1061
+ `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same
1062
+ as the catch block of a try/catch statement.
1063
+ ```js
1064
+ function findAuthor(){
1065
+ throw new Error('couldn't find that author');
1066
+ }
1067
+ // synchronous
1068
+ try {
1069
+ findAuthor();
1070
+ } catch(reason) {
1071
+ // something went wrong
1072
+ }
1073
+ // async with promises
1074
+ findAuthor().catch(function(reason){
1075
+ // something went wrong
1076
+ });
1077
+ ```
1078
+ @method catch
1079
+ @param {Function} onRejection
1080
+ Useful for tooling.
1081
+ @return {Promise}
1082
+ */
1083
+
1084
+ Promise.prototype.catch = function _catch(onRejection) {
1085
+ return this.then(null, onRejection)
1086
+ }
1087
+
1088
+ /**
1089
+ `finally` will be invoked regardless of the promise's fate just as native
1090
+ try/catch/finally behaves
1091
+
1092
+ Synchronous example:
1093
+
1094
+ ```js
1095
+ findAuthor() {
1096
+ if (Math.random() > 0.5) {
1097
+ throw new Error();
1098
+ }
1099
+ return new Author();
1100
+ }
1101
+
1102
+ try {
1103
+ return findAuthor(); // succeed or fail
1104
+ } catch(error) {
1105
+ return findOtherAuther();
1106
+ } finally {
1107
+ // always runs
1108
+ // doesn't affect the return value
1109
+ }
1110
+ ```
1111
+
1112
+ Asynchronous example:
1113
+
1114
+ ```js
1115
+ findAuthor().catch(function(reason){
1116
+ return findOtherAuther();
1117
+ }).finally(function(){
1118
+ // author was either found, or not
1119
+ });
1120
+ ```
1121
+
1122
+ @method finally
1123
+ @param {Function} callback
1124
+ @return {Promise}
1125
+ */
1126
+
1127
+ Promise.prototype.finally = function _finally(callback) {
1128
+ var promise = this
1129
+ var constructor = promise.constructor
1130
+
1131
+ if (isFunction(callback)) {
1132
+ return promise.then(
1133
+ function (value) {
1134
+ return constructor.resolve(callback()).then(function () {
1135
+ return value
1136
+ })
1137
+ },
1138
+ function (reason) {
1139
+ return constructor.resolve(callback()).then(function () {
1140
+ throw reason
1141
+ })
1142
+ }
1143
+ )
1144
+ }
1145
+
1146
+ return promise.then(callback, callback)
1147
+ }
1148
+
1149
+ return Promise
1150
+ })()
1151
+
1152
+ Promise$1.prototype.then = then
1153
+ Promise$1.all = all
1154
+ Promise$1.race = race
1155
+ Promise$1.resolve = resolve$1
1156
+ Promise$1.reject = reject$1
1157
+ Promise$1._setScheduler = setScheduler
1158
+ Promise$1._setAsap = setAsap
1159
+ Promise$1._asap = asap
1160
+ Promise$1.debug = function _debug() {
1161
+ return '[object ES6Promise]'
1162
+ }
1163
+
1164
+ /*global self*/
1165
+ function polyfill() {
1166
+ var local = globalThis
1167
+
1168
+ local.Promise = Promise$1
1169
+ }
1170
+
1171
+ // Strange compat..
1172
+ Promise$1.polyfill = polyfill
1173
+ Promise$1.Promise = Promise$1
1174
+
1175
+ return Promise$1
1176
+ })
1177
+
1178
+ //# sourceMappingURL=es6-promise.map