gina 0.1.6-alpha.33 → 0.1.6-alpha.35

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 (300) hide show
  1. package/framework/v0.1.6-alpha.35/VERSION +1 -0
  2. package/framework/v0.1.6-alpha.35/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +1 -0
  3. package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/dist/vendor/gina/js/gina.js +11 -4
  4. package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/dist/vendor/gina/js/gina.min.js +14 -14
  5. package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/dist/vendor/gina/js/gina.min.js.map +4 -4
  6. package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.map +2 -2
  7. package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/routing/src/main.js +11 -4
  8. package/package.json +2 -2
  9. package/framework/v0.1.6-alpha.33/VERSION +0 -1
  10. package/framework/v0.1.6-alpha.33/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +0 -1
  11. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/AUTHORS +0 -0
  12. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/LICENSE +0 -0
  13. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/html/nolayout.html +0 -0
  14. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/html/static.html +0 -0
  15. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/img/android-chrome-192x192.png +0 -0
  16. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/img/android-chrome-512x512.png +0 -0
  17. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/img/apple-touch-icon.png +0 -0
  18. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/img/favicon-16x16.png +0 -0
  19. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/img/favicon-32x32.png +0 -0
  20. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/img/favicon.ico +0 -0
  21. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/README.md +0 -0
  22. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  23. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +0 -0
  24. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  25. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/asset/plugin/uuid.json +0 -0
  26. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/config.js +0 -0
  27. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/index.js +0 -0
  28. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/connector.js +0 -0
  29. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/connector.v2.js +0 -0
  30. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  31. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  32. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/n1ql.js +0 -0
  33. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/session-store.js +0 -0
  34. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
  35. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  36. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  37. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/controller/controller.framework.js +0 -0
  38. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/controller/controller.js +0 -0
  39. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/controller/index.js +0 -0
  40. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/.travis.yml +0 -0
  41. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/LICENSE +0 -0
  42. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/README.md +0 -0
  43. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/deps/encoding/encoding-indexes.js +0 -0
  44. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/deps/encoding/encoding.js +0 -0
  45. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/lib/main.js +0 -0
  46. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/lib/types/multipart.js +0 -0
  47. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/lib/types/urlencoded.js +0 -0
  48. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/lib/utils.js +0 -0
  49. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/busboy/package.json +0 -0
  50. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
  51. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/dev/index.js +0 -0
  52. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/dev/lib/class.js +0 -0
  53. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/dev/lib/factory.js +0 -0
  54. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/dev/lib/tools.js +0 -0
  55. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/gna.js +0 -0
  56. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/README.md +0 -0
  57. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/currency.json +0 -0
  58. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/dist/language/en.json +0 -0
  59. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/dist/language/fr.json +0 -0
  60. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/dist/region/en.json +0 -0
  61. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/dist/region/fr.json +0 -0
  62. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/index.js +0 -0
  63. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/src/make.js +0 -0
  64. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/src/resources/currency.csv +0 -0
  65. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/src/resources/region.csv +0 -0
  66. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/locales/src/resources/region.mapping.json +0 -0
  67. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/mime.types +0 -0
  68. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/model/entity.js +0 -0
  69. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/model/index.js +0 -0
  70. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/model/template/entityFactory.js +0 -0
  71. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/model/template/index.js +0 -0
  72. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/README.md +0 -0
  73. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/index.js +0 -0
  74. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/file/README.md +0 -0
  75. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/file/build.json +0 -0
  76. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/file/package.json +0 -0
  77. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/intl/README.md +0 -0
  78. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/intl/build.json +0 -0
  79. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/intl/package.json +0 -0
  80. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/intl/src/main.js +0 -0
  81. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/storage/README.md +0 -0
  82. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/storage/build.json +0 -0
  83. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/storage/package.json +0 -0
  84. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/storage/src/main.js +0 -0
  85. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/validator/README.md +0 -0
  86. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/validator/build.json +0 -0
  87. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/validator/package.json +0 -0
  88. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/validator/src/form-validator.js +0 -0
  89. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/plugins/lib/validator/src/main.js +0 -0
  90. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/router.js +0 -0
  91. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/server.express.js +0 -0
  92. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/server.isaac.js +0 -0
  93. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/server.js +0 -0
  94. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/status.codes +0 -0
  95. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/_gitignore +0 -0
  96. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/config/app.json +0 -0
  97. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/config/routing.json +0 -0
  98. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/config/settings.json +0 -0
  99. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  100. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/config/templates.json +0 -0
  101. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  102. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  103. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  104. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle/index.js +0 -0
  105. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  106. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  107. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  108. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  109. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  110. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_public/readme.md +0 -0
  111. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  112. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  113. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  114. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  115. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  116. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/command/gina.bat.tpl +0 -0
  117. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/command/gina.tpl +0 -0
  118. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/conf/env.json +0 -0
  119. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/conf/manifest.json +0 -0
  120. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/conf/package.json +0 -0
  121. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/conf/settings.json +0 -0
  122. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/conf/statics.json +0 -0
  123. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/conf/templates.json +0 -0
  124. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/error/client/json/401.json +0 -0
  125. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/error/client/json/403.json +0 -0
  126. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/error/client/json/404.json +0 -0
  127. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/error/server/html/50x.html +0 -0
  128. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/error/server/json/500.json +0 -0
  129. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/error/server/json/503.json +0 -0
  130. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/core/template/extensions/logger/config.json +0 -0
  131. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/console.js +0 -0
  132. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/context.js +0 -0
  133. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/data/LICENSE +0 -0
  134. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/data/README.md +0 -0
  135. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/data/package.json +0 -0
  136. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/data/src/main.js +0 -0
  137. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/dateFormat.js +0 -0
  138. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/index.js +0 -0
  139. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/json/LICENSE +0 -0
  140. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/json/README.md +0 -0
  141. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/json/package.json +0 -0
  142. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/json/src/main.js +0 -0
  143. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/path.js +0 -0
  144. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/plugins/README.md +0 -0
  145. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/plugins/package.json +0 -0
  146. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/plugins/src/api-error.js +0 -0
  147. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/plugins/src/main.js +0 -0
  148. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/prototypes.js +0 -0
  149. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/task.js +0 -0
  150. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/helpers/text.js +0 -0
  151. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/archiver/README.md +0 -0
  152. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/archiver/build.json +0 -0
  153. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/archiver/package.json +0 -0
  154. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/archiver/src/dep/jszip.min.js +0 -0
  155. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/archiver/src/main.js +0 -0
  156. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/aliases.json +0 -0
  157. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/add.js +0 -0
  158. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/arguments.json +0 -0
  159. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/copy.js +0 -0
  160. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/cp.js +0 -0
  161. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/help.js +0 -0
  162. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/help.txt +0 -0
  163. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/list.js +0 -0
  164. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/remove.js +0 -0
  165. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/rename.js +0 -0
  166. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/restart.js +0 -0
  167. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/rm.js +0 -0
  168. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/start.js +0 -0
  169. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/status.js +0 -0
  170. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/bundle/stop.js +0 -0
  171. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/add.js +0 -0
  172. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/get.js +0 -0
  173. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/help.js +0 -0
  174. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/help.txt +0 -0
  175. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/link-dev.js +0 -0
  176. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/list.js +0 -0
  177. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/remove.js +0 -0
  178. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/rm.js +0 -0
  179. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/set.js +0 -0
  180. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/unset.js +0 -0
  181. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/env/use.js +0 -0
  182. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/build.js +0 -0
  183. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/dot.js +0 -0
  184. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/get.js +0 -0
  185. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/help.js +0 -0
  186. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/help.txt +0 -0
  187. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/init.js +0 -0
  188. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/link-node-modules.js +0 -0
  189. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/link.js +0 -0
  190. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/msg.json +0 -0
  191. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/open.js +0 -0
  192. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/restart.js +0 -0
  193. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/set.js +0 -0
  194. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/start.js +0 -0
  195. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/status.js +0 -0
  196. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/stop.js +0 -0
  197. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/tail.js +0 -0
  198. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/update.js +0 -0
  199. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/framework/version.js +0 -0
  200. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/gina-dev.1.md +0 -0
  201. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/gina-framework.1.md +0 -0
  202. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/gina.1.md +0 -0
  203. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/helper.js +0 -0
  204. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/index.js +0 -0
  205. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/msg.json +0 -0
  206. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/port/help.js +0 -0
  207. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/port/help.txt +0 -0
  208. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/port/inc/scan.js +0 -0
  209. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/port/list.js +0 -0
  210. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/port/reset.js +0 -0
  211. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/port/set.js +0 -0
  212. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/add.js +0 -0
  213. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/arguments.json +0 -0
  214. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/build.js +0 -0
  215. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/help.js +0 -0
  216. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/help.txt +0 -0
  217. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/import.js +0 -0
  218. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/list.js +0 -0
  219. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/move.js +0 -0
  220. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/remove.js +0 -0
  221. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/rename.js +0 -0
  222. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/restart.js +0 -0
  223. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/rm.js +0 -0
  224. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/start.js +0 -0
  225. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/status.js +0 -0
  226. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/project/stop.js +0 -0
  227. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/protocol/help.js +0 -0
  228. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/protocol/help.txt +0 -0
  229. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/protocol/list.js +0 -0
  230. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/protocol/set.js +0 -0
  231. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/add.js +0 -0
  232. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/help.js +0 -0
  233. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/help.txt +0 -0
  234. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/link-local.js +0 -0
  235. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/link-production.js +0 -0
  236. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/list.js +0 -0
  237. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/remove.js +0 -0
  238. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/rm.js +0 -0
  239. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/scope/use.js +0 -0
  240. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cmd/view/add.js +0 -0
  241. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/collection/README.md +0 -0
  242. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/collection/build.json +0 -0
  243. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/collection/package.json +0 -0
  244. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/collection/src/main.js +0 -0
  245. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/config.js +0 -0
  246. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cron/README.md +0 -0
  247. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cron/package.json +0 -0
  248. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/cron/src/main.js +0 -0
  249. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/domain/LICENSE +0 -0
  250. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/domain/README.md +0 -0
  251. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/domain/dist/public_suffix_list.dat +0 -0
  252. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/domain/exemples/backend.js +0 -0
  253. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/domain/exemples/frontend.html +0 -0
  254. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/domain/package.json +0 -0
  255. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/domain/src/main.js +0 -0
  256. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/generator/index.js +0 -0
  257. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/index.js +0 -0
  258. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/LICENSE +0 -0
  259. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/README.md +0 -0
  260. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/example/inheriting_eventemitter.js +0 -0
  261. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/example/protected_inheritance.js +0 -0
  262. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/example/simple_inheritance.js +0 -0
  263. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/example/super_attribute_overridden_by_child_on_init.js +0 -0
  264. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/package.json +0 -0
  265. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/inherits/src/main.js +0 -0
  266. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/README.md +0 -0
  267. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/package.json +0 -0
  268. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/containers/default/index.js +0 -0
  269. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/containers/file/index.js +0 -0
  270. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
  271. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
  272. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/containers/mq/index.js +0 -0
  273. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/containers/mq/listener.js +0 -0
  274. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/containers/mq/speaker.js +0 -0
  275. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/helper.js +0 -0
  276. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/logger/src/main.js +0 -0
  277. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/math/index.js +0 -0
  278. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/merge/README.md +0 -0
  279. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/merge/example/merge.js +0 -0
  280. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/merge/example/merge_2_literal objects.js +0 -0
  281. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/merge/example/merge_and_preserve_first.js +0 -0
  282. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/merge/package.json +0 -0
  283. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/merge/src/main.js +0 -0
  284. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/model.js +0 -0
  285. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/proc.js +0 -0
  286. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/routing/README.md +0 -0
  287. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/routing/build.json +0 -0
  288. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/routing/package.json +0 -0
  289. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/session-store.js +0 -0
  290. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/shell.js +0 -0
  291. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/swig-filters/README.md +0 -0
  292. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/swig-filters/package.json +0 -0
  293. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/swig-filters/src/main.js +0 -0
  294. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/url/README.md +0 -0
  295. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/url/index.js +0 -0
  296. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/url/mocks.json +0 -0
  297. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/url/routing.json +0 -0
  298. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/url/test.js +0 -0
  299. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/lib/validator.js +0 -0
  300. /package/framework/{v0.1.6-alpha.33 → v0.1.6-alpha.35}/package.json +0 -0
@@ -0,0 +1 @@
1
+ 0.1.6-alpha.35
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"/usr/local/lib/node_modules/gina/framework/v0.1.6-alpha.35/core/asset/plugin/dist/vendor/gina/css/gina.min.css","sourcesContent":[]}
@@ -8621,8 +8621,8 @@ function Routing() {
8621
8621
 
8622
8622
  route.isProxyHost = isProxyHost;
8623
8623
  if (isProxyHost) {
8624
- route.hostname = (isGFFCtx) ? window.location.protocol +'//'+ window.gina.config.hostname : (process.gina.PROXY_HOSTNAME||config.envConf._proxyHostname);
8625
- route.host = route.hostname.replace(/^(https|http)\:\/\//, '');
8624
+ route.proxy_hostname = (isGFFCtx) ? window.location.protocol +'//'+ window.gina.config.hostname : (process.gina.PROXY_HOSTNAME||config.envConf._proxyHostname);
8625
+ route.proxy_host = route.proxy_hostname.replace(/^(https|http)\:\/\//, '');
8626
8626
  }
8627
8627
 
8628
8628
  if ( /\,/.test(route.url) ) {
@@ -8694,9 +8694,12 @@ function Routing() {
8694
8694
  }
8695
8695
 
8696
8696
  var wroot = this.webroot || urlProps.webroot
8697
- , hostname = this.hostname || urlProps.hostname
8698
- , path = this.url
8697
+ , hostname = ''+this.hostname || ''+urlProps.hostname
8698
+ , path = ''+this.url
8699
8699
  ;
8700
+ if (this.isProxyHost) {
8701
+ hostname = ''+this.proxy_hostname;
8702
+ }
8700
8703
 
8701
8704
  this.url = (
8702
8705
  typeof(ignoreWebRoot) != 'undefined'
@@ -8739,6 +8742,10 @@ function Routing() {
8739
8742
  , url = ( typeof(ignoreWebRoot) != 'undefined' && ignoreWebRoot == true ) ? path.replace(wroot, '/') : this.url || _this.url
8740
8743
  ;
8741
8744
 
8745
+ if ( /^\//.test(url) ) {
8746
+ url = hostname + url;
8747
+ }
8748
+
8742
8749
  var scheme = ( /^https/.test(hostname) ) ? 'https' : 'http';
8743
8750
 
8744
8751
  if (isGFFCtx) {
@@ -398,20 +398,20 @@ G=z.substr(0,z.length),/^\//.test(M)?(D=M.match(/\/(.*)\//).pop(),l=M.replace('/
398
398
  if('undefined'!=typeof G&&'undefined'!=typeof G[M]){var A=new RegExp('(:'+M+'/|:'+M+'$)','g');'undefined'!=typeof r.param.path&&/:/.test(r.param.path)&&(r.param.path=r.param.path.replace(A,G[M]));'undefined'!=typeof r.param.title&&/:/.test(r.param.title)&&(r.param.title=r.param.title.replace(A,G[M]));'undefined'!=typeof r.param.namespace&&/:/.test(r.param.namespace)&&(r.param.namespace=r.param.namespace.replace(A,G[M]));'undefined'!=typeof r.param.file&&/:/.test(r.param.file)&&(Q.variable=G[M],r.param.file=
399
399
  r.param.file.replace(A,Q));if(/,/.test(r.url)){w=r.url.split(/,/g);var D=0;for(va=w.length;D<va;++D)Q.variable=G[M],w[D]=w[D].replace(A,Q);r.url=w.join(',')}else Q.variable=G[M],r.url=r.url.replace(A,Q)}}if(w){D=0;va=w.length;Aa=Aa.split(/,/g);var l=0;for(r.urlIndex=0;D<va;++D)if(w=0,A=Aa[0].match(/:[-_a-z0-9]+/ig)){O=0;for(M=A.length;O<M;O++){var y=A[O].substr(1);'undefined'!=typeof G[y]&&G[y]&&w++}w>l&&(l=w,r.urlIndex=D)}}return r};P.getRoute=function(r,G,w){var va=null,Aa=!1;B?(window.location.port||
400
400
  window.location.hostname!=window.gina.config.hostname.replace(/^(https|http|wss|ws):\/\//,'').replace(/:\d+$/,'')||(Aa=!0,window.gina.config.hostname=window.gina.config.hostname.replace(/^(https|http|wss|ws):\/\//,'').replace(/:\d+$/,'')),va=window.gina.config):(va=getContext('gina').config,'undefined'!=typeof getContext('argvFilename')&&(va.getRouting=getContext('gina').Config.instance.getRouting),Aa=getContext('isProxyHost'));var O=va.env||GINA_ENV,M=null,A=va.bundle;/@/.test(r)||'undefined'==typeof A||
401
- null==A||(r=r.toLowerCase(),r+='@'+A);if(/@/.test(r)){var D=r.replace(/(.*):\/\//,'').split(/@/);A=D[1];/\/(.*)$/.test(r)&&(M=r.replace(/(.*):\/\//,'').split(/\/(.*)$/)[1],A=A.replace(/\/(.*)$/,''),O=M||O);r=D[0].toLowerCase()+'@'+A}A=va.getRouting(A,O);if('undefined'==typeof A[r])throw Error('[ RoutingHelper::getRouting(rule, params) ] : `'+r+'` not found !');M=JSON.clone(A[r]);D=null;M=S(M,G);if(M.isProxyHost=Aa)M.hostname=B?window.location.protocol+'//'+window.gina.config.hostname:process.gina.PROXY_HOSTNAME||
402
- va.envConf._proxyHostname,M.host=M.hostname.replace(/^(https|http):\/\//,'');/,/.test(M.url)&&('undefined'!=typeof M.urlIndex&&(w=M.urlIndex,delete M.urlIndex),w='undefined'!=typeof w?w:0,M.url=M.url.split(/,/g)[w]);/\/$/.test(M.url)&&'/'!=M.url&&(M.url=M.url.substr(0,M.url.length-1));if(/GET/i.test(M.method)&&'undefined'!=typeof G){w='?';va=A[r].url;Aa=[];A=0;for(let l in M.param)-1<P.reservedParams.indexOf(l)||(new RegExp(M.param[l])).test(va)||'undefined'==typeof G[l]||(w+=l+'='+encodeRFC5987ValueChars(G[l])+
403
- '&',Aa[A]=G[l],++A);for(let l in G)-1<P.reservedParams.indexOf(l)||'undefined'!=typeof M.requirements[l]||-1<Aa.indexOf(l)||(w='object'==typeof G[l]?w+(l+'='+encodeRFC5987ValueChars(JSON.stringify(G[l]))+'&'):w+(l+'='+G[l]+'&'));A=Aa=va=null;1<w.length&&(w=w.substring(0,w.length-1),M.url+=w);w=null}M.toUrl=function(l){var y=null;/^redirect$/i.test(this.param.control)&&(y=P.getUrlProps(this.bundle,O||GINA_ENV));var z=this.webroot||y.webroot;y=this.hostname||y.hostname;var F=this.url;this.url='undefined'!=
404
- typeof l&&/^true$/i.test(l)?F.replace(new RegExp('^'+z),'/'):F.replace(new RegExp('^('+z+'|/$)'),z);return y+this.url};M.request=function(l,y){var z=null,F=null;'function'==typeof arguments[arguments.length-1]&&(z=arguments[arguments.length-1]);'object'==typeof arguments[2]&&(F=arguments[2]);var u=this.webroot||F.webroot,v=this.hostname||F.hostname;F='undefined'!=typeof l&&1==l?path.replace(u,'/'):this.url||F.url;v=/^https/.test(v)?'https':'http';B?window.open(F,'undefined'!=typeof y&&'undefined'!=
405
- typeof y.target?y.target:'_self'):('undefined'==typeof y.agent&&(y.agent=!1),v=require(''+v),u=function(H){var J='',T=!1;H.on('data',function(qa){J+=qa});H.on('error',function(qa){T='Failed to get mail content';qa&&'undefined'!=typeof qa.stack?T+=qa.stack:'string'==typeof qa&&(T+='\n'+qa)});H.on('end',function(){if(/^\{/.test(J))try{J=JSON.parse(J),'undefined'!=typeof J.error&&(T=JSON.clone(J),J=null)}catch(qa){T=qa}T?z(T):z(!1,J)})},z?v.get(F,y,u):v.get(F,y))};!/:/.test(M.url)||/:d+\//.test(M.url)||
406
- /:\/\//.test(M.url)||(G=M.url.match(/(:(.*)\/|:(.*)$)/g).map(function(l){return l.replace(/\//g,'')}).join(', '),D='[ RoutingHelper::getRoute(rule[, bundle, method]) ] : route [ %r ] param placeholder not defined: `'+M.url+'` !\n Check your route description to compare requirements against param variables [ '+G+']',D=D.replace(/%r/,r),r=Error(D),console.warn(r),D=r=G=null);return M};P.getRouteByUrl=function(r,G,w,va,Aa){2==arguments.length&&'undefined'!=typeof arguments[1]&&arguments[1]&&-1<P.allowedMethods.indexOf(arguments[1].toLowerCase())&&
407
- (w=arguments[1],G=void 0);var O=null,M=null,A=null,D=null,l=null,y=null;if(/#/.test(r)&&1<r.length){var z=r.split(/#/);r=z[0];l='#'+z[1];z=null}1==arguments.length&&'undefined'!=typeof arguments[0]&&(/^(https|http)/i.test(r)||/^\//.test(r)||(r='/'+r),O='/'+r.split(/\//g)[1],B&&(D=gina.config.reverseRouting,A=gina.config.routing),'undefined'!=typeof D[O]&&(z=A[D[O]],G=z.bundle,O=z.webroot,y=z.hostname,z=null));Aa='boolean'!=typeof arguments[arguments.length-1]?!1:arguments[arguments.length-1];var F=
408
- !1,u=null,v=null,H=u=v=null;z='undefined'!=typeof w?!0:!1;B?(u=window.gina.config,G='undefined'!=typeof G?G:u.bundle,v=u.env,A=A||u.getRouting(G),D=D||u.reverseRouting,isXMLRequest='undefined'!=typeof isXMLRequest?isXMLRequest:!1,y=y||u.hostname,O=O||u.webroot,va={routing:{},method:w,params:{},url:r},G&&(va.bundle=G)):(u=getContext('gina').config,G='undefined'!=typeof G?G:u.bundle,v=u.env,A=u.getRouting(G),y=u.envConf[G][v].hostname,O=u.envConf[G][v].server.webroot,va||={routing:{},isXMLRequest:!1,
409
- method:'undefined'!=typeof w?w.toLowerCase():'get',params:{},url:r},Aa&&(va.method=w),isXMLRequest=va.isXMLRequest||!1);v=r.replace(new RegExp('^('+y+'|'+y.replace(/:\d+/,'')+')'),'');'undefined'==typeof va.routing.path&&(va.routing.path=decodeURI(v));w='undefined'!=typeof w?w.toLowerCase():'get';z&&(va.originalMethod=va.method,va.method=w,va.routing.path=decodeURI(v));va.method||(va.method=w);u={};O=new RegExp(w,'i');D=null;var J;for(J in A){if('undefined'==typeof A[J].param)break;if(A[J].bundle==
410
- G&&(D=A[J].method,/,/.test(D)&&O.test(D)&&(D=va.method),'undefined'==typeof A[J].method||O.test(D))){u={method:D,requirements:A[J].requirements,namespace:A[J].namespace||void 0,url:decodeURI(v),rule:A[J].originalRule||J,param:A[J].param,middleware:JSON.clone(A[J].middleware),bundle:A[J].bundle,isXMLRequest};try{if(H=P.compareUrls(u,A[J].url,va),H.past){M=JSON.clone(A[J]);M.name=J;F=!0;H={};break}}catch(T){throw Error('Route [ '+J+' ] needs your attention.\n'+T.stack);}}}if(F)return/\/$/.test(r)&&
411
- '/'!=r&&(r=r.substr(0,r.length-1)),l&&(r+=l),M.url=r,M.toUrl=function(T){var qa=this.webroot,Fa=this.hostname,W=this.url;this.url='undefined'!=typeof T&&1==T?W.replace(qa,'/'):W;return Fa+this.url},M;if(B){l=!1;if('#'==r&&/GET/i.test(w)&&z||/^404:/.test(r))r=location.pathname,l=!0;'undefined'==typeof P.notFound&&(P.notFound={});A=null;M='[ RoutingHelper::getRouteByUrl(rule[, bundle, method]) ] : route [ %r ] is called but not found inside your view: `'+r+'` !';if((A=(A=gina.hasPopinHandler&&gina.popinIsBinded?
412
- gina.popin.getActivePopin().target.innerHTML.match(/404:\[\w+\][a-z 0-9-_@]+/):document.body.innerHTML.match(/404:\[\w+\][a-z 0-9-_@]+/))&&0<A.length?A[0]:null)&&z&&l)return l=A.match(/\[\w+\]/)[0],A=A.replace('404:'+l,l.replace(/\[|\]/g,'')+'::'),M=M.replace(/%r/,A.replace(/404:\s+/,'')),'undefined'==typeof P.notFound[A]?P.notFound[A]={count:1,message:M}:z&&'undefined'!=typeof P.notFound[A]&&++P.notFound[A].count,!1;if((l=gina.config.reverseRouting[r]||null)&&'undefined'!=typeof l&&l.split(/@(.+)$/)[1]==
413
- G)return A=l,'undefined'==typeof P.notFound[A]?(M=M.replace(/%r/,w.toUpperCase()+'::'+l),P.notFound[A]={count:1,message:M}):z&&'undefined'!=typeof P.notFound[A]&&++P.notFound[A].count,!1;A=P.compareUrls(u,r,va)||null;A.past&&z&&(A=w.toUpperCase()+'::'+A.request.routing.rule,'undefined'==typeof P.notFound[A]?M=M.replace(/%r/,A):++P.notFound[A].count);return!1}console.warn(Error('[ RoutingHelper::getRouteByUrl(rule[, bundle, method, request]) ] : route not found for url: `'+r+'` !').stack);return!1};
414
- return P}'undefined'!==typeof module&&module.exports?module.exports=Routing():'function'===typeof define&&define.amd&&define('lib/routing',['require','lib/form-validator','lib/merge'],function(){return Routing()});
401
+ null==A||(r=r.toLowerCase(),r+='@'+A);if(/@/.test(r)){var D=r.replace(/(.*):\/\//,'').split(/@/);A=D[1];/\/(.*)$/.test(r)&&(M=r.replace(/(.*):\/\//,'').split(/\/(.*)$/)[1],A=A.replace(/\/(.*)$/,''),O=M||O);r=D[0].toLowerCase()+'@'+A}A=va.getRouting(A,O);if('undefined'==typeof A[r])throw Error('[ RoutingHelper::getRouting(rule, params) ] : `'+r+'` not found !');M=JSON.clone(A[r]);D=null;M=S(M,G);if(M.isProxyHost=Aa)M.proxy_hostname=B?window.location.protocol+'//'+window.gina.config.hostname:process.gina.PROXY_HOSTNAME||
402
+ va.envConf._proxyHostname,M.proxy_host=M.proxy_hostname.replace(/^(https|http):\/\//,'');/,/.test(M.url)&&('undefined'!=typeof M.urlIndex&&(w=M.urlIndex,delete M.urlIndex),w='undefined'!=typeof w?w:0,M.url=M.url.split(/,/g)[w]);/\/$/.test(M.url)&&'/'!=M.url&&(M.url=M.url.substr(0,M.url.length-1));if(/GET/i.test(M.method)&&'undefined'!=typeof G){w='?';va=A[r].url;Aa=[];A=0;for(let l in M.param)-1<P.reservedParams.indexOf(l)||(new RegExp(M.param[l])).test(va)||'undefined'==typeof G[l]||(w+=l+'='+encodeRFC5987ValueChars(G[l])+
403
+ '&',Aa[A]=G[l],++A);for(let l in G)-1<P.reservedParams.indexOf(l)||'undefined'!=typeof M.requirements[l]||-1<Aa.indexOf(l)||(w='object'==typeof G[l]?w+(l+'='+encodeRFC5987ValueChars(JSON.stringify(G[l]))+'&'):w+(l+'='+G[l]+'&'));A=Aa=va=null;1<w.length&&(w=w.substring(0,w.length-1),M.url+=w);w=null}M.toUrl=function(l){var y=null;/^redirect$/i.test(this.param.control)&&(y=P.getUrlProps(this.bundle,O||GINA_ENV));var z=this.webroot||y.webroot;y=''+this.hostname||''+y.hostname;var F=''+this.url;this.isProxyHost&&
404
+ (y=''+this.proxy_hostname);this.url='undefined'!=typeof l&&/^true$/i.test(l)?F.replace(new RegExp('^'+z),'/'):F.replace(new RegExp('^('+z+'|/$)'),z);return y+this.url};M.request=function(l,y){var z=null,F=null;'function'==typeof arguments[arguments.length-1]&&(z=arguments[arguments.length-1]);'object'==typeof arguments[2]&&(F=arguments[2]);var u=this.webroot||F.webroot,v=this.hostname||F.hostname;F='undefined'!=typeof l&&1==l?path.replace(u,'/'):this.url||F.url;/^\//.test(F)&&(F=v+F);v=/^https/.test(v)?
405
+ 'https':'http';B?window.open(F,'undefined'!=typeof y&&'undefined'!=typeof y.target?y.target:'_self'):('undefined'==typeof y.agent&&(y.agent=!1),v=require(''+v),u=function(H){var J='',T=!1;H.on('data',function(qa){J+=qa});H.on('error',function(qa){T='Failed to get mail content';qa&&'undefined'!=typeof qa.stack?T+=qa.stack:'string'==typeof qa&&(T+='\n'+qa)});H.on('end',function(){if(/^\{/.test(J))try{J=JSON.parse(J),'undefined'!=typeof J.error&&(T=JSON.clone(J),J=null)}catch(qa){T=qa}T?z(T):z(!1,J)})},
406
+ z?v.get(F,y,u):v.get(F,y))};!/:/.test(M.url)||/:d+\//.test(M.url)||/:\/\//.test(M.url)||(G=M.url.match(/(:(.*)\/|:(.*)$)/g).map(function(l){return l.replace(/\//g,'')}).join(', '),D='[ RoutingHelper::getRoute(rule[, bundle, method]) ] : route [ %r ] param placeholder not defined: `'+M.url+'` !\n Check your route description to compare requirements against param variables [ '+G+']',D=D.replace(/%r/,r),r=Error(D),console.warn(r),D=r=G=null);return M};P.getRouteByUrl=function(r,G,w,va,Aa){2==arguments.length&&
407
+ 'undefined'!=typeof arguments[1]&&arguments[1]&&-1<P.allowedMethods.indexOf(arguments[1].toLowerCase())&&(w=arguments[1],G=void 0);var O=null,M=null,A=null,D=null,l=null,y=null;if(/#/.test(r)&&1<r.length){var z=r.split(/#/);r=z[0];l='#'+z[1];z=null}1==arguments.length&&'undefined'!=typeof arguments[0]&&(/^(https|http)/i.test(r)||/^\//.test(r)||(r='/'+r),O='/'+r.split(/\//g)[1],B&&(D=gina.config.reverseRouting,A=gina.config.routing),'undefined'!=typeof D[O]&&(z=A[D[O]],G=z.bundle,O=z.webroot,y=z.hostname,
408
+ z=null));Aa='boolean'!=typeof arguments[arguments.length-1]?!1:arguments[arguments.length-1];var F=!1,u=null,v=null,H=u=v=null;z='undefined'!=typeof w?!0:!1;B?(u=window.gina.config,G='undefined'!=typeof G?G:u.bundle,v=u.env,A=A||u.getRouting(G),D=D||u.reverseRouting,isXMLRequest='undefined'!=typeof isXMLRequest?isXMLRequest:!1,y=y||u.hostname,O=O||u.webroot,va={routing:{},method:w,params:{},url:r},G&&(va.bundle=G)):(u=getContext('gina').config,G='undefined'!=typeof G?G:u.bundle,v=u.env,A=u.getRouting(G),
409
+ y=u.envConf[G][v].hostname,O=u.envConf[G][v].server.webroot,va||={routing:{},isXMLRequest:!1,method:'undefined'!=typeof w?w.toLowerCase():'get',params:{},url:r},Aa&&(va.method=w),isXMLRequest=va.isXMLRequest||!1);v=r.replace(new RegExp('^('+y+'|'+y.replace(/:\d+/,'')+')'),'');'undefined'==typeof va.routing.path&&(va.routing.path=decodeURI(v));w='undefined'!=typeof w?w.toLowerCase():'get';z&&(va.originalMethod=va.method,va.method=w,va.routing.path=decodeURI(v));va.method||(va.method=w);u={};O=new RegExp(w,
410
+ 'i');D=null;var J;for(J in A){if('undefined'==typeof A[J].param)break;if(A[J].bundle==G&&(D=A[J].method,/,/.test(D)&&O.test(D)&&(D=va.method),'undefined'==typeof A[J].method||O.test(D))){u={method:D,requirements:A[J].requirements,namespace:A[J].namespace||void 0,url:decodeURI(v),rule:A[J].originalRule||J,param:A[J].param,middleware:JSON.clone(A[J].middleware),bundle:A[J].bundle,isXMLRequest};try{if(H=P.compareUrls(u,A[J].url,va),H.past){M=JSON.clone(A[J]);M.name=J;F=!0;H={};break}}catch(T){throw Error('Route [ '+
411
+ J+' ] needs your attention.\n'+T.stack);}}}if(F)return/\/$/.test(r)&&'/'!=r&&(r=r.substr(0,r.length-1)),l&&(r+=l),M.url=r,M.toUrl=function(T){var qa=this.webroot,Fa=this.hostname,W=this.url;this.url='undefined'!=typeof T&&1==T?W.replace(qa,'/'):W;return Fa+this.url},M;if(B){l=!1;if('#'==r&&/GET/i.test(w)&&z||/^404:/.test(r))r=location.pathname,l=!0;'undefined'==typeof P.notFound&&(P.notFound={});A=null;M='[ RoutingHelper::getRouteByUrl(rule[, bundle, method]) ] : route [ %r ] is called but not found inside your view: `'+
412
+ r+'` !';if((A=(A=gina.hasPopinHandler&&gina.popinIsBinded?gina.popin.getActivePopin().target.innerHTML.match(/404:\[\w+\][a-z 0-9-_@]+/):document.body.innerHTML.match(/404:\[\w+\][a-z 0-9-_@]+/))&&0<A.length?A[0]:null)&&z&&l)return l=A.match(/\[\w+\]/)[0],A=A.replace('404:'+l,l.replace(/\[|\]/g,'')+'::'),M=M.replace(/%r/,A.replace(/404:\s+/,'')),'undefined'==typeof P.notFound[A]?P.notFound[A]={count:1,message:M}:z&&'undefined'!=typeof P.notFound[A]&&++P.notFound[A].count,!1;if((l=gina.config.reverseRouting[r]||
413
+ null)&&'undefined'!=typeof l&&l.split(/@(.+)$/)[1]==G)return A=l,'undefined'==typeof P.notFound[A]?(M=M.replace(/%r/,w.toUpperCase()+'::'+l),P.notFound[A]={count:1,message:M}):z&&'undefined'!=typeof P.notFound[A]&&++P.notFound[A].count,!1;A=P.compareUrls(u,r,va)||null;A.past&&z&&(A=w.toUpperCase()+'::'+A.request.routing.rule,'undefined'==typeof P.notFound[A]?M=M.replace(/%r/,A):++P.notFound[A].count);return!1}console.warn(Error('[ RoutingHelper::getRouteByUrl(rule[, bundle, method, request]) ] : route not found for url: `'+
414
+ r+'` !').stack);return!1};return P}'undefined'!==typeof module&&module.exports?module.exports=Routing():'function'===typeof define&&define.amd&&define('lib/routing',['require','lib/form-validator','lib/merge'],function(){return Routing()});
415
415
  function StoragePlugin(B){function P(M){G=JSON.parse(S.getItem(this.bucket));'undefined'==typeof G[M]&&(G[M]=[],S.setItem(this.bucket,JSON.stringify(G)),G=JSON.parse(S.getItem(this.bucket)));r[M]={_collection:M,_bucket:this.bucket};r[M]=ma(r[M],Aa);return r[M]}function V(M){if('object'!==typeof M)throw Error('filter must be an object');var A=G[this._collection],D=M.count(),l=0,y=null;if(0==D)return null;for(var z in A)for(var F in M){var u='boolean'!=typeof M[F]?M[F].toLocaleLowerCase():M[F];M[F]&&
416
416
  -1<w.indexOf(u)&&'not null'==u&&'undefined'!=typeof A[z][F]&&'object'!==typeof A[z][F]&&A[z][F]===M[F]&&'null'!=A[z][F]&&'undefined'!=A[z][F]?0>y.indexOf(A[z][F])&&(++l,l===D&&(y=A[z],y._index=z,y._collection=this._collection,y._bucket=this._bucket)):'undefined'!=typeof A[z][F]&&'object'!==typeof A[z][F]&&A[z][F]===M[F]&&(++l,l===D&&(y=A[z],y._index=z,y._collection=this._collection,y._bucket=this._bucket,y._filter=M))}y&&(y.save=O);return y}var ma=ma||require('lib/merge');P=P||require('lib/collection');
417
417
  var U=U||require('vendor/uuid'),N=N||require('helpers/dateFormat'),ba={bucket:'default'},Q={},S=null,r={},G={},w=['not null'],va={bucket:void 0,drop:function(){S.removeItem(ba.bucket);Q=null;for(var M in this)delete this[M];return Q},Collection:P},Aa={insert:function(M){M._id=U.v1();M._createdAt=(new Date).format('isoDateTime');M._updatedAt=(new Date).format('isoDateTime');G[this._collection][G[this._collection].length]=M;S.setItem(this._bucket,JSON.stringify(G))},find:function(M,A){if(!M)return G[this._collection];