gina 0.7.5 → 0.7.6

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 (631) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +50 -53
  3. package/ROADMAP.md +1 -0
  4. package/framework/v0.7.6/VERSION +1 -0
  5. package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.js +243 -39
  6. package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js +748 -0
  7. package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  8. package/framework/v0.7.6/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  9. package/framework/{v0.7.5 → v0.7.6}/core/config.js +1 -1
  10. package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.v4.js +1 -2
  11. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.js +359 -79
  12. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-json.js +16 -0
  13. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-nunjucks-async.js +46 -8
  14. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-nunjucks.js +61 -23
  15. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-swig-async.js +45 -7
  16. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-swig.js +21 -38
  17. package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-v1.js +17 -38
  18. package/framework/v0.7.6/core/controller/render-data.js +344 -0
  19. package/framework/v0.7.6/core/controller/render-session.js +130 -0
  20. package/framework/{v0.7.5 → v0.7.6}/core/gna.js +2 -2
  21. package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/src/main.js +138 -31
  22. package/framework/{v0.7.5 → v0.7.6}/core/router.js +6 -0
  23. package/framework/{v0.7.5 → v0.7.6}/core/server.js +111 -11
  24. package/framework/{v0.7.5 → v0.7.6}/lib/routing/src/main.js +30 -0
  25. package/framework/{v0.7.5 → v0.7.6}/package.json +2 -2
  26. package/gna.js +4 -4
  27. package/llms.txt +27 -16
  28. package/package.json +5 -5
  29. package/framework/v0.7.5/VERSION +0 -1
  30. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js +0 -744
  31. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.br +0 -0
  32. package/framework/v0.7.5/core/asset/plugin/dist/vendor/gina/js/gina.min.js.gz +0 -0
  33. /package/framework/{v0.7.5 → v0.7.6}/AUTHORS +0 -0
  34. /package/framework/{v0.7.5 → v0.7.6}/LICENSE +0 -0
  35. /package/framework/{v0.7.5 → v0.7.6}/core/asset/html/nolayout.html +0 -0
  36. /package/framework/{v0.7.5 → v0.7.6}/core/asset/html/static.html +0 -0
  37. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/android-chrome-192x192.png +0 -0
  38. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/android-chrome-512x512.png +0 -0
  39. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/apple-touch-icon.png +0 -0
  40. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon-16x16.png +0 -0
  41. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon-32x32.png +0 -0
  42. /package/framework/{v0.7.5 → v0.7.6}/core/asset/img/favicon.ico +0 -0
  43. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/README.md +0 -0
  44. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.css +0 -0
  45. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/beemaster.js +0 -0
  46. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/beemaster/index.html +0 -0
  47. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  48. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.br +0 -0
  49. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.gz +0 -0
  50. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html +0 -0
  51. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.br +0 -0
  52. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/html/statusbar.html.gz +0 -0
  53. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/have_heart_one-webfont.woff2 +0 -0
  54. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/index.html +0 -0
  55. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/inspector.css +0 -0
  56. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/inspector.js +0 -0
  57. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/inspector/logo.svg +0 -0
  58. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  59. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.br +0 -0
  60. /package/framework/{v0.7.5 → v0.7.6}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.gz +0 -0
  61. /package/framework/{v0.7.5 → v0.7.6}/core/config.requirements-anchor.js +0 -0
  62. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/ai/index.js +0 -0
  63. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/ai/lib/connector.js +0 -0
  64. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/index.js +0 -0
  65. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.js +0 -0
  66. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  67. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  68. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/n1ql.js +0 -0
  69. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.js +0 -0
  70. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  71. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/couchbase/lib/storage-store.js +0 -0
  72. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/duckdb/index.js +0 -0
  73. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/duckdb/lib/connector.js +0 -0
  74. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/index.js +0 -0
  75. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/connector.js +0 -0
  76. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/job-store.js +0 -0
  77. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/pipeline-loader.js +0 -0
  78. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mongodb/lib/session-store.js +0 -0
  79. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mysql/index.js +0 -0
  80. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/mysql/lib/connector.js +0 -0
  81. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/param-redact.js +0 -0
  82. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/postgresql/index.js +0 -0
  83. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/postgresql/lib/connector.js +0 -0
  84. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/index.js +0 -0
  85. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/connector.js +0 -0
  86. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/job-store.js +0 -0
  87. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/kv-store.js +0 -0
  88. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/render-cache-store.js +0 -0
  89. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/redis/lib/session-store.js +0 -0
  90. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/index.js +0 -0
  91. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/lib/connector.js +0 -0
  92. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/scylladb/lib/session-store.js +0 -0
  93. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/settle-once.js +0 -0
  94. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sql-parser.js +0 -0
  95. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/index.js +0 -0
  96. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/connector.js +0 -0
  97. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/job-store.js +0 -0
  98. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/kv-store.js +0 -0
  99. /package/framework/{v0.7.5 → v0.7.6}/core/connectors/sqlite/lib/session-store.js +0 -0
  100. /package/framework/{v0.7.5 → v0.7.6}/core/content.encoding +0 -0
  101. /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.framework.js +0 -0
  102. /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-stream.js +0 -0
  103. /package/framework/{v0.7.5 → v0.7.6}/core/controller/controller.render-xml.js +0 -0
  104. /package/framework/{v0.7.5 → v0.7.6}/core/controller/index.js +0 -0
  105. /package/framework/{v0.7.5 → v0.7.6}/core/controller/inline-script.js +0 -0
  106. /package/framework/{v0.7.5 → v0.7.6}/core/controller/inspector-window-emit.js +0 -0
  107. /package/framework/{v0.7.5 → v0.7.6}/core/controller/preload-hints.js +0 -0
  108. /package/framework/{v0.7.5 → v0.7.6}/core/controller/release-banner.js +0 -0
  109. /package/framework/{v0.7.5 → v0.7.6}/core/dev/index.js +0 -0
  110. /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/class.js +0 -0
  111. /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/factory.js +0 -0
  112. /package/framework/{v0.7.5 → v0.7.6}/core/dev/lib/tools.js +0 -0
  113. /package/framework/{v0.7.5 → v0.7.6}/core/locales/README.md +0 -0
  114. /package/framework/{v0.7.5 → v0.7.6}/core/locales/currency.json +0 -0
  115. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/language/en.json +0 -0
  116. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/language/fr.json +0 -0
  117. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/region/en.json +0 -0
  118. /package/framework/{v0.7.5 → v0.7.6}/core/locales/dist/region/fr.json +0 -0
  119. /package/framework/{v0.7.5 → v0.7.6}/core/locales/index.js +0 -0
  120. /package/framework/{v0.7.5 → v0.7.6}/core/mime.types +0 -0
  121. /package/framework/{v0.7.5 → v0.7.6}/core/model/entity.js +0 -0
  122. /package/framework/{v0.7.5 → v0.7.6}/core/model/index.js +0 -0
  123. /package/framework/{v0.7.5 → v0.7.6}/core/model/template/entityFactory.js +0 -0
  124. /package/framework/{v0.7.5 → v0.7.6}/core/model/template/index.js +0 -0
  125. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/README.md +0 -0
  126. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/index.js +0 -0
  127. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/README.md +0 -0
  128. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/package.json +0 -0
  129. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/csrf/src/main.js +0 -0
  130. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/README.md +0 -0
  131. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/README.md +0 -0
  132. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/package.json +0 -0
  133. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coep/src/main.js +0 -0
  134. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/README.md +0 -0
  135. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/package.json +0 -0
  136. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/coop/src/main.js +0 -0
  137. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/README.md +0 -0
  138. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/package.json +0 -0
  139. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/corp/src/main.js +0 -0
  140. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/README.md +0 -0
  141. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/package.json +0 -0
  142. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/csp/src/main.js +0 -0
  143. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/README.md +0 -0
  144. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/package.json +0 -0
  145. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hide-powered-by/src/main.js +0 -0
  146. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/README.md +0 -0
  147. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/package.json +0 -0
  148. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/hsts/src/main.js +0 -0
  149. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/README.md +0 -0
  150. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/package.json +0 -0
  151. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/origin-agent-cluster/src/main.js +0 -0
  152. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/package.json +0 -0
  153. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/README.md +0 -0
  154. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/package.json +0 -0
  155. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/referrer-policy/src/main.js +0 -0
  156. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/src/main.js +0 -0
  157. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/README.md +0 -0
  158. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/package.json +0 -0
  159. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-content-type-options/src/main.js +0 -0
  160. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/README.md +0 -0
  161. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/package.json +0 -0
  162. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-dns-prefetch-control/src/main.js +0 -0
  163. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/README.md +0 -0
  164. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/package.json +0 -0
  165. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-download-options/src/main.js +0 -0
  166. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/README.md +0 -0
  167. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/package.json +0 -0
  168. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-frame-options/src/main.js +0 -0
  169. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/README.md +0 -0
  170. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/package.json +0 -0
  171. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-permitted-cross-domain-policies/src/main.js +0 -0
  172. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/README.md +0 -0
  173. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/package.json +0 -0
  174. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/security-headers/x-xss-protection/src/main.js +0 -0
  175. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/README.md +0 -0
  176. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/package.json +0 -0
  177. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/session/src/main.js +0 -0
  178. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/README.md +0 -0
  179. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/build.json +0 -0
  180. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/package.json +0 -0
  181. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/storage/src/main.js +0 -0
  182. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/README.md +0 -0
  183. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/build.json +0 -0
  184. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/package.json +0 -0
  185. /package/framework/{v0.7.5 → v0.7.6}/core/plugins/lib/validator/src/form-validator.js +0 -0
  186. /package/framework/{v0.7.5 → v0.7.6}/core/server.express.js +0 -0
  187. /package/framework/{v0.7.5 → v0.7.6}/core/server.isaac.js +0 -0
  188. /package/framework/{v0.7.5 → v0.7.6}/core/server.isaac.rapid-reset.js +0 -0
  189. /package/framework/{v0.7.5 → v0.7.6}/core/server.route-candidates.js +0 -0
  190. /package/framework/{v0.7.5 → v0.7.6}/core/status.codes +0 -0
  191. /package/framework/{v0.7.5 → v0.7.6}/core/template/_gitignore +0 -0
  192. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/app.json +0 -0
  193. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/connectors.json +0 -0
  194. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/routing.json +0 -0
  195. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/settings.json +0 -0
  196. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  197. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/templates.json +0 -0
  198. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/config/watchers.json +0 -0
  199. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  200. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  201. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  202. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/index.js +0 -0
  203. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle/locales/en.json +0 -0
  204. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  205. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  206. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/home.css +0 -0
  207. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  208. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  209. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/js/components/x-checklist.js +0 -0
  210. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  211. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/manifest.webmanifest +0 -0
  212. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/readme.md +0 -0
  213. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_public/sw.js +0 -0
  214. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  215. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  216. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  217. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  218. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/includes/x-checklist.html +0 -0
  219. /package/framework/{v0.7.5 → v0.7.6}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  220. /package/framework/{v0.7.5 → v0.7.6}/core/template/command/gina.bat.tpl +0 -0
  221. /package/framework/{v0.7.5 → v0.7.6}/core/template/command/gina.tpl +0 -0
  222. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/env.json +0 -0
  223. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/manifest.json +0 -0
  224. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/package.json +0 -0
  225. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/settings.json +0 -0
  226. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/statics.json +0 -0
  227. /package/framework/{v0.7.5 → v0.7.6}/core/template/conf/templates.json +0 -0
  228. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/401.json +0 -0
  229. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/403.json +0 -0
  230. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/client/json/404.json +0 -0
  231. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/html/50x.html +0 -0
  232. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/json/500.json +0 -0
  233. /package/framework/{v0.7.5 → v0.7.6}/core/template/error/server/json/503.json +0 -0
  234. /package/framework/{v0.7.5 → v0.7.6}/core/template/extensions/logger/config.json +0 -0
  235. /package/framework/{v0.7.5 → v0.7.6}/helpers/console.js +0 -0
  236. /package/framework/{v0.7.5 → v0.7.6}/helpers/context.js +0 -0
  237. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/LICENSE +0 -0
  238. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/README.md +0 -0
  239. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/package.json +0 -0
  240. /package/framework/{v0.7.5 → v0.7.6}/helpers/data/src/main.js +0 -0
  241. /package/framework/{v0.7.5 → v0.7.6}/helpers/dateFormat.js +0 -0
  242. /package/framework/{v0.7.5 → v0.7.6}/helpers/index.js +0 -0
  243. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/LICENSE +0 -0
  244. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/README.md +0 -0
  245. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/package.json +0 -0
  246. /package/framework/{v0.7.5 → v0.7.6}/helpers/json/src/main.js +0 -0
  247. /package/framework/{v0.7.5 → v0.7.6}/helpers/path.js +0 -0
  248. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/README.md +0 -0
  249. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/package.json +0 -0
  250. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/src/api-error.js +0 -0
  251. /package/framework/{v0.7.5 → v0.7.6}/helpers/plugins/src/main.js +0 -0
  252. /package/framework/{v0.7.5 → v0.7.6}/helpers/prototypes.js +0 -0
  253. /package/framework/{v0.7.5 → v0.7.6}/helpers/task.js +0 -0
  254. /package/framework/{v0.7.5 → v0.7.6}/helpers/text.js +0 -0
  255. /package/framework/{v0.7.5 → v0.7.6}/lib/admin/package.json +0 -0
  256. /package/framework/{v0.7.5 → v0.7.6}/lib/admin/src/main.js +0 -0
  257. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/README.md +0 -0
  258. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/build.json +0 -0
  259. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/package.json +0 -0
  260. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/src/dep/jszip.min.js +0 -0
  261. /package/framework/{v0.7.5 → v0.7.6}/lib/archiver/src/main.js +0 -0
  262. /package/framework/{v0.7.5 → v0.7.6}/lib/async/package.json +0 -0
  263. /package/framework/{v0.7.5 → v0.7.6}/lib/async/src/main.js +0 -0
  264. /package/framework/{v0.7.5 → v0.7.6}/lib/audit/package.json +0 -0
  265. /package/framework/{v0.7.5 → v0.7.6}/lib/audit/src/main.js +0 -0
  266. /package/framework/{v0.7.5 → v0.7.6}/lib/audit-store.js +0 -0
  267. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/package.json +0 -0
  268. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/lockout.js +0 -0
  269. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/main.js +0 -0
  270. /package/framework/{v0.7.5 → v0.7.6}/lib/authn/src/totp.js +0 -0
  271. /package/framework/{v0.7.5 → v0.7.6}/lib/authz-gate/package.json +0 -0
  272. /package/framework/{v0.7.5 → v0.7.6}/lib/authz-gate/src/main.js +0 -0
  273. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/README.md +0 -0
  274. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/build.json +0 -0
  275. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/package.json +0 -0
  276. /package/framework/{v0.7.5 → v0.7.6}/lib/cache/src/main.js +0 -0
  277. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/aliases.json +0 -0
  278. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/arguments.json +0 -0
  279. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/help.txt +0 -0
  280. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/audit/verify.js +0 -0
  281. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/add.js +0 -0
  282. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/arguments.json +0 -0
  283. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/build.js +0 -0
  284. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/copy.js +0 -0
  285. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/cp.js +0 -0
  286. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/help.js +0 -0
  287. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/help.txt +0 -0
  288. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/boot-lines.js +0 -0
  289. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/name-rewrite.js +0 -0
  290. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/name.js +0 -0
  291. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/inc/start-status.js +0 -0
  292. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/list.js +0 -0
  293. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/man.js +0 -0
  294. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/mcp-start.js +0 -0
  295. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/mcp.js +0 -0
  296. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/oas.js +0 -0
  297. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/openapi.js +0 -0
  298. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/remove.js +0 -0
  299. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/rename.js +0 -0
  300. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/restart.js +0 -0
  301. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/rm.js +0 -0
  302. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/start.js +0 -0
  303. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/status.js +0 -0
  304. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/stop.js +0 -0
  305. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/bundle/types.js +0 -0
  306. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/arguments.json +0 -0
  307. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/clear.js +0 -0
  308. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/help.txt +0 -0
  309. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/cache/stats.js +0 -0
  310. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/add.js +0 -0
  311. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/arguments.json +0 -0
  312. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/help.js +0 -0
  313. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/help.txt +0 -0
  314. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/infer.js +0 -0
  315. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/list.js +0 -0
  316. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/migrate.js +0 -0
  317. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/models.js +0 -0
  318. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/remove.js +0 -0
  319. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/rm.js +0 -0
  320. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/connector/test.js +0 -0
  321. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/arguments.json +0 -0
  322. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/help.js +0 -0
  323. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/help.txt +0 -0
  324. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/man.js +0 -0
  325. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/ps.js +0 -0
  326. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/container/stop.js +0 -0
  327. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/add.js +0 -0
  328. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/arguments.json +0 -0
  329. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/help.txt +0 -0
  330. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/args.js +0 -0
  331. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/namespace.js +0 -0
  332. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/reference-rewrite.js +0 -0
  333. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/reference-scan.js +0 -0
  334. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/inc/scaffold.js +0 -0
  335. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/remove.js +0 -0
  336. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/rename.js +0 -0
  337. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/controller/rm.js +0 -0
  338. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/add.js +0 -0
  339. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/get.js +0 -0
  340. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/help.js +0 -0
  341. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/help.txt +0 -0
  342. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/inc/name.js +0 -0
  343. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/link-dev.js +0 -0
  344. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/list.js +0 -0
  345. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/remove.js +0 -0
  346. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/rm.js +0 -0
  347. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/set.js +0 -0
  348. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/unset.js +0 -0
  349. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/env/use.js +0 -0
  350. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/add.js +0 -0
  351. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/arguments.json +0 -0
  352. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/build.js +0 -0
  353. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/dot.js +0 -0
  354. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/get.js +0 -0
  355. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/help.js +0 -0
  356. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/help.txt +0 -0
  357. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/child-failure.js +0 -0
  358. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/listen-error.js +0 -0
  359. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/inc/ps-titles.js +0 -0
  360. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/init.js +0 -0
  361. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/link-node-modules.js +0 -0
  362. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/link.js +0 -0
  363. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/list.js +0 -0
  364. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/man.js +0 -0
  365. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/msg.json +0 -0
  366. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/open.js +0 -0
  367. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/remove.js +0 -0
  368. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/reset.js +0 -0
  369. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/restart.js +0 -0
  370. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/set.js +0 -0
  371. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/start.js +0 -0
  372. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/status.js +0 -0
  373. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/stop.js +0 -0
  374. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/tail.js +0 -0
  375. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/update.js +0 -0
  376. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/framework/version.js +0 -0
  377. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina-dev.1.md +0 -0
  378. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina-framework.1.md +0 -0
  379. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/gina.1.md +0 -0
  380. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/helper.js +0 -0
  381. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/add.js +0 -0
  382. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/arguments.json +0 -0
  383. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/export.js +0 -0
  384. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/help.js +0 -0
  385. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/help.txt +0 -0
  386. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/import.js +0 -0
  387. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/i18n/scan.js +0 -0
  388. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/_host.js +0 -0
  389. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/arguments.json +0 -0
  390. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/build.js +0 -0
  391. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/help.js +0 -0
  392. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/help.txt +0 -0
  393. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/list.js +0 -0
  394. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/man.js +0 -0
  395. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/rm.js +0 -0
  396. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/image/run.js +0 -0
  397. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/index.js +0 -0
  398. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/help.js +0 -0
  399. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/help.txt +0 -0
  400. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/inspector/open.js +0 -0
  401. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/man-render.js +0 -0
  402. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/arguments.json +0 -0
  403. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/help.js +0 -0
  404. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/help.txt +0 -0
  405. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/kill.js +0 -0
  406. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/minion/list.js +0 -0
  407. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/msg.json +0 -0
  408. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/help.js +0 -0
  409. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/help.txt +0 -0
  410. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/inc/scan.js +0 -0
  411. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/list.js +0 -0
  412. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/reset.js +0 -0
  413. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/port/set.js +0 -0
  414. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/add.js +0 -0
  415. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/arguments.json +0 -0
  416. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/backup.js +0 -0
  417. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/build.js +0 -0
  418. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/help.js +0 -0
  419. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/help.txt +0 -0
  420. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/import.js +0 -0
  421. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/inc/name.js +0 -0
  422. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/list.js +0 -0
  423. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/man.js +0 -0
  424. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/move.js +0 -0
  425. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/remove.js +0 -0
  426. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/rename.js +0 -0
  427. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/restart.js +0 -0
  428. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/restore.js +0 -0
  429. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/rm.js +0 -0
  430. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/start.js +0 -0
  431. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/status.js +0 -0
  432. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/project/stop.js +0 -0
  433. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/arguments.json +0 -0
  434. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/help.js +0 -0
  435. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/help.txt +0 -0
  436. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/list.js +0 -0
  437. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/remove.js +0 -0
  438. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/protocol/set.js +0 -0
  439. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/add.js +0 -0
  440. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/help.js +0 -0
  441. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/help.txt +0 -0
  442. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/inc/name.js +0 -0
  443. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/link-local.js +0 -0
  444. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/link-production.js +0 -0
  445. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/list.js +0 -0
  446. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/remove.js +0 -0
  447. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/rm.js +0 -0
  448. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/scope/use.js +0 -0
  449. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/arguments.json +0 -0
  450. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/check.js +0 -0
  451. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/help.js +0 -0
  452. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/help.txt +0 -0
  453. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/secrets/scan.js +0 -0
  454. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/help.js +0 -0
  455. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/help.txt +0 -0
  456. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/list.js +0 -0
  457. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/man.js +0 -0
  458. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/service/start.js +0 -0
  459. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/arguments.json +0 -0
  460. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/gc.js +0 -0
  461. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/help.txt +0 -0
  462. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/stats.js +0 -0
  463. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/storage/verify.js +0 -0
  464. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd/view/add.js +0 -0
  465. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd-status-format/package.json +0 -0
  466. /package/framework/{v0.7.5 → v0.7.6}/lib/cmd-status-format/src/main.js +0 -0
  467. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/README.md +0 -0
  468. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/build.json +0 -0
  469. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/package.json +0 -0
  470. /package/framework/{v0.7.5 → v0.7.6}/lib/collection/src/main.js +0 -0
  471. /package/framework/{v0.7.5 → v0.7.6}/lib/conf-view/package.json +0 -0
  472. /package/framework/{v0.7.5 → v0.7.6}/lib/conf-view/src/main.js +0 -0
  473. /package/framework/{v0.7.5 → v0.7.6}/lib/config.js +0 -0
  474. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-config/package.json +0 -0
  475. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-config/src/main.js +0 -0
  476. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-error/package.json +0 -0
  477. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-error/src/main.js +0 -0
  478. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-registry/package.json +0 -0
  479. /package/framework/{v0.7.5 → v0.7.6}/lib/connector-registry/src/main.js +0 -0
  480. /package/framework/{v0.7.5 → v0.7.6}/lib/cron/README.md +0 -0
  481. /package/framework/{v0.7.5 → v0.7.6}/lib/cron/package.json +0 -0
  482. /package/framework/{v0.7.5 → v0.7.6}/lib/cron/src/main.js +0 -0
  483. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/LICENSE +0 -0
  484. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/README.md +0 -0
  485. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/package.json +0 -0
  486. /package/framework/{v0.7.5 → v0.7.6}/lib/domain/src/main.js +0 -0
  487. /package/framework/{v0.7.5 → v0.7.6}/lib/dto/package.json +0 -0
  488. /package/framework/{v0.7.5 → v0.7.6}/lib/dto/src/main.js +0 -0
  489. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-pipe/package.json +0 -0
  490. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-pipe/src/main.js +0 -0
  491. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-types/package.json +0 -0
  492. /package/framework/{v0.7.5 → v0.7.6}/lib/dto-types/src/main.js +0 -0
  493. /package/framework/{v0.7.5 → v0.7.6}/lib/duration/package.json +0 -0
  494. /package/framework/{v0.7.5 → v0.7.6}/lib/duration/src/main.js +0 -0
  495. /package/framework/{v0.7.5 → v0.7.6}/lib/error-ref/package.json +0 -0
  496. /package/framework/{v0.7.5 → v0.7.6}/lib/error-ref/src/main.js +0 -0
  497. /package/framework/{v0.7.5 → v0.7.6}/lib/generator/index.js +0 -0
  498. /package/framework/{v0.7.5 → v0.7.6}/lib/i18n/package.json +0 -0
  499. /package/framework/{v0.7.5 → v0.7.6}/lib/i18n/src/main.js +0 -0
  500. /package/framework/{v0.7.5 → v0.7.6}/lib/idempotency/package.json +0 -0
  501. /package/framework/{v0.7.5 → v0.7.6}/lib/idempotency/src/main.js +0 -0
  502. /package/framework/{v0.7.5 → v0.7.6}/lib/image-build/package.json +0 -0
  503. /package/framework/{v0.7.5 → v0.7.6}/lib/image-build/src/main.js +0 -0
  504. /package/framework/{v0.7.5 → v0.7.6}/lib/index.js +0 -0
  505. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/LICENSE +0 -0
  506. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/README.md +0 -0
  507. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/package.json +0 -0
  508. /package/framework/{v0.7.5 → v0.7.6}/lib/inherits/src/main.js +0 -0
  509. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-events/package.json +0 -0
  510. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-events/src/main.js +0 -0
  511. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-redact/package.json +0 -0
  512. /package/framework/{v0.7.5 → v0.7.6}/lib/inspector-redact/src/main.js +0 -0
  513. /package/framework/{v0.7.5 → v0.7.6}/lib/instrument/package.json +0 -0
  514. /package/framework/{v0.7.5 → v0.7.6}/lib/instrument/src/main.js +0 -0
  515. /package/framework/{v0.7.5 → v0.7.6}/lib/job/package.json +0 -0
  516. /package/framework/{v0.7.5 → v0.7.6}/lib/job/src/main.js +0 -0
  517. /package/framework/{v0.7.5 → v0.7.6}/lib/job-store.js +0 -0
  518. /package/framework/{v0.7.5 → v0.7.6}/lib/json-config-header/package.json +0 -0
  519. /package/framework/{v0.7.5 → v0.7.6}/lib/json-config-header/src/main.js +0 -0
  520. /package/framework/{v0.7.5 → v0.7.6}/lib/kv/package.json +0 -0
  521. /package/framework/{v0.7.5 → v0.7.6}/lib/kv/src/main.js +0 -0
  522. /package/framework/{v0.7.5 → v0.7.6}/lib/kv-store.js +0 -0
  523. /package/framework/{v0.7.5 → v0.7.6}/lib/lane/package.json +0 -0
  524. /package/framework/{v0.7.5 → v0.7.6}/lib/lane/src/main.js +0 -0
  525. /package/framework/{v0.7.5 → v0.7.6}/lib/loading-state/package.json +0 -0
  526. /package/framework/{v0.7.5 → v0.7.6}/lib/loading-state/src/main.js +0 -0
  527. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/README.md +0 -0
  528. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/package.json +0 -0
  529. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/default/index.js +0 -0
  530. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/file/index.js +0 -0
  531. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/index.js +0 -0
  532. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/listener.js +0 -0
  533. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/containers/mq/speaker.js +0 -0
  534. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/helper.js +0 -0
  535. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/main.js +0 -0
  536. /package/framework/{v0.7.5 → v0.7.6}/lib/logger/src/redact.js +0 -0
  537. /package/framework/{v0.7.5 → v0.7.6}/lib/maintenance/package.json +0 -0
  538. /package/framework/{v0.7.5 → v0.7.6}/lib/maintenance/src/main.js +0 -0
  539. /package/framework/{v0.7.5 → v0.7.6}/lib/math/index.js +0 -0
  540. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-dispatch/package.json +0 -0
  541. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-dispatch/src/main.js +0 -0
  542. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-http/package.json +0 -0
  543. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-http/src/main.js +0 -0
  544. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-server/package.json +0 -0
  545. /package/framework/{v0.7.5 → v0.7.6}/lib/mcp-server/src/main.js +0 -0
  546. /package/framework/{v0.7.5 → v0.7.6}/lib/merge/README.md +0 -0
  547. /package/framework/{v0.7.5 → v0.7.6}/lib/merge/package.json +0 -0
  548. /package/framework/{v0.7.5 → v0.7.6}/lib/merge/src/main.js +0 -0
  549. /package/framework/{v0.7.5 → v0.7.6}/lib/message-validator/package.json +0 -0
  550. /package/framework/{v0.7.5 → v0.7.6}/lib/message-validator/src/main.js +0 -0
  551. /package/framework/{v0.7.5 → v0.7.6}/lib/metrics/package.json +0 -0
  552. /package/framework/{v0.7.5 → v0.7.6}/lib/metrics/src/main.js +0 -0
  553. /package/framework/{v0.7.5 → v0.7.6}/lib/model.js +0 -0
  554. /package/framework/{v0.7.5 → v0.7.6}/lib/money/package.json +0 -0
  555. /package/framework/{v0.7.5 → v0.7.6}/lib/money/src/main.js +0 -0
  556. /package/framework/{v0.7.5 → v0.7.6}/lib/multipart/package.json +0 -0
  557. /package/framework/{v0.7.5 → v0.7.6}/lib/multipart/src/main.js +0 -0
  558. /package/framework/{v0.7.5 → v0.7.6}/lib/net-locality/package.json +0 -0
  559. /package/framework/{v0.7.5 → v0.7.6}/lib/net-locality/src/main.js +0 -0
  560. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/README.md +0 -0
  561. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/package.json +0 -0
  562. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-filters/src/main.js +0 -0
  563. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-resolver/package.json +0 -0
  564. /package/framework/{v0.7.5 → v0.7.6}/lib/nunjucks-resolver/src/main.js +0 -0
  565. /package/framework/{v0.7.5 → v0.7.6}/lib/priority/package.json +0 -0
  566. /package/framework/{v0.7.5 → v0.7.6}/lib/priority/src/main.js +0 -0
  567. /package/framework/{v0.7.5 → v0.7.6}/lib/proc.js +0 -0
  568. /package/framework/{v0.7.5 → v0.7.6}/lib/push/package.json +0 -0
  569. /package/framework/{v0.7.5 → v0.7.6}/lib/push/src/main.js +0 -0
  570. /package/framework/{v0.7.5 → v0.7.6}/lib/rate-limit/package.json +0 -0
  571. /package/framework/{v0.7.5 → v0.7.6}/lib/rate-limit/src/main.js +0 -0
  572. /package/framework/{v0.7.5 → v0.7.6}/lib/release-watch/package.json +0 -0
  573. /package/framework/{v0.7.5 → v0.7.6}/lib/release-watch/src/main.js +0 -0
  574. /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache/package.json +0 -0
  575. /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache/src/main.js +0 -0
  576. /package/framework/{v0.7.5 → v0.7.6}/lib/render-cache-store.js +0 -0
  577. /package/framework/{v0.7.5 → v0.7.6}/lib/routing/README.md +0 -0
  578. /package/framework/{v0.7.5 → v0.7.6}/lib/routing/build.json +0 -0
  579. /package/framework/{v0.7.5 → v0.7.6}/lib/routing/package.json +0 -0
  580. /package/framework/{v0.7.5 → v0.7.6}/lib/routing-introspect/package.json +0 -0
  581. /package/framework/{v0.7.5 → v0.7.6}/lib/routing-introspect/src/main.js +0 -0
  582. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/package.json +0 -0
  583. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/env.js +0 -0
  584. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/exec.js +0 -0
  585. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/backends/file.js +0 -0
  586. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/declaration.js +0 -0
  587. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/env-file.js +0 -0
  588. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/main.js +0 -0
  589. /package/framework/{v0.7.5 → v0.7.6}/lib/secrets/src/sources.js +0 -0
  590. /package/framework/{v0.7.5 → v0.7.6}/lib/security-headers-emitter/package.json +0 -0
  591. /package/framework/{v0.7.5 → v0.7.6}/lib/security-headers-emitter/src/main.js +0 -0
  592. /package/framework/{v0.7.5 → v0.7.6}/lib/session-lifetime/package.json +0 -0
  593. /package/framework/{v0.7.5 → v0.7.6}/lib/session-lifetime/src/main.js +0 -0
  594. /package/framework/{v0.7.5 → v0.7.6}/lib/session-store.js +0 -0
  595. /package/framework/{v0.7.5 → v0.7.6}/lib/shell.js +0 -0
  596. /package/framework/{v0.7.5 → v0.7.6}/lib/sqlite-driver.js +0 -0
  597. /package/framework/{v0.7.5 → v0.7.6}/lib/sri/package.json +0 -0
  598. /package/framework/{v0.7.5 → v0.7.6}/lib/sri/src/main.js +0 -0
  599. /package/framework/{v0.7.5 → v0.7.6}/lib/state.js +0 -0
  600. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/package.json +0 -0
  601. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local-cas.js +0 -0
  602. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local-stream.js +0 -0
  603. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/local.js +0 -0
  604. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/main.js +0 -0
  605. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/meta-store.js +0 -0
  606. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/s3.js +0 -0
  607. /package/framework/{v0.7.5 → v0.7.6}/lib/storage/src/util.js +0 -0
  608. /package/framework/{v0.7.5 → v0.7.6}/lib/storage-store.js +0 -0
  609. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/README.md +0 -0
  610. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/package.json +0 -0
  611. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-filters/src/main.js +0 -0
  612. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-resolver/package.json +0 -0
  613. /package/framework/{v0.7.5 → v0.7.6}/lib/swig-resolver/src/main.js +0 -0
  614. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/package.json +0 -0
  615. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/loaders/http.js +0 -0
  616. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/loaders/memory.js +0 -0
  617. /package/framework/{v0.7.5 → v0.7.6}/lib/template-loaders/src/main.js +0 -0
  618. /package/framework/{v0.7.5 → v0.7.6}/lib/url/README.md +0 -0
  619. /package/framework/{v0.7.5 → v0.7.6}/lib/url/index.js +0 -0
  620. /package/framework/{v0.7.5 → v0.7.6}/lib/url/routing.json +0 -0
  621. /package/framework/{v0.7.5 → v0.7.6}/lib/uuid/package.json +0 -0
  622. /package/framework/{v0.7.5 → v0.7.6}/lib/uuid/src/main.js +0 -0
  623. /package/framework/{v0.7.5 → v0.7.6}/lib/validator.js +0 -0
  624. /package/framework/{v0.7.5 → v0.7.6}/lib/watcher/package.json +0 -0
  625. /package/framework/{v0.7.5 → v0.7.6}/lib/watcher/src/main.js +0 -0
  626. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-framing/package.json +0 -0
  627. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-framing/src/main.js +0 -0
  628. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-query/package.json +0 -0
  629. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-query/src/main.js +0 -0
  630. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-session/package.json +0 -0
  631. /package/framework/{v0.7.5 → v0.7.6}/lib/ws-session/src/main.js +0 -0
@@ -6896,6 +6896,12 @@ function Routing() {
6896
6896
  /**
6897
6897
  * Parse routing for mathcing url
6898
6898
  *
6899
+ * A DELETE rule that declares `requirements` is matched here, by the DELETE branch, rather
6900
+ * than by `fitsWithRequirements`: each placeholder's regex is tested against its URL segment
6901
+ * — a placeholder without a requirement accepts any non-empty segment (#B956) — and a matched
6902
+ * value is written to `request[method]` and, for a placeholder the rule binds in `param`, to
6903
+ * `request.params` (#B955).
6904
+ *
6899
6905
  * @param {object} params - `params` is the same `request.routing` that can be retried in controller with: req.routing
6900
6906
  * @param {string} url
6901
6907
  * @param {object} request
@@ -6904,6 +6910,9 @@ function Routing() {
6904
6910
  *
6905
6911
  * @returns {object} foundRoute
6906
6912
  *
6913
+ * @example
6914
+ * // rule: { url: '/items/:id', method: 'DELETE', requirements: { id: '/^[0-9]+$/' }, param: { id: ':id' } }
6915
+ * // DELETE /items/42 => request.delete.id === '42' and request.params.id === '42'
6907
6916
  * */
6908
6917
  var parseRouting = async function(params, url, request, response, next) {
6909
6918
 
@@ -6968,6 +6977,19 @@ function Routing() {
6968
6977
  // #B650 — a requirement counts only when the rule declares it itself.
6969
6978
  // was: if ( typeof(params.requirements[_key]) == 'undefined' ) {
6970
6979
  if ( !hasOwn(params.requirements, _key) || typeof(params.requirements[_key]) == 'undefined' ) {
6980
+ // #B956 — a placeholder the rule declares no requirement for accepts any
6981
+ // non-empty segment and scores, as fitsWithRequirements does on the GET
6982
+ // path. It was skipped unscored, so a DELETE rule whose requirements cover
6983
+ // only some of its placeholders never reached maxLen: it answered 404 on
6984
+ // every request. A static segment that differs from the URL's is still
6985
+ // skipped unscored (the `/^:/` test), so such a rule still does not match.
6986
+ if ( /^:/.test(uRo[p]) && uRe[p] ) {
6987
+ ++score;
6988
+ request[method][_key] = uRe[p];
6989
+ if ( hasOwn(params.param, _key) && typeof(request.params) != 'undefined' ) {
6990
+ request.params[_key] = uRe[p];
6991
+ }
6992
+ }
6971
6993
  continue;
6972
6994
  }
6973
6995
  let condition = params.requirements[_key];
@@ -6997,6 +7019,14 @@ function Routing() {
6997
7019
  ) {
6998
7020
  ++score;
6999
7021
  request[method][uRo[p].substring(1)] = uRe[p];
7022
+ // #B955 — the matched URL value reaches `request.params` too, as the GET
7023
+ // path's `fitsWithRequirements` writes it, for a placeholder the rule binds
7024
+ // in `param` (the same gate as there). This branch wrote `request[method]`
7025
+ // alone, so `req.params.<key>` stayed unset on a DELETE route whose regex
7026
+ // requirements cover its placeholders.
7027
+ if ( hasOwn(params.param, _key) && typeof(request.params) != 'undefined' ) {
7028
+ request.params[_key] = uRe[p];
7029
+ }
7000
7030
  }
7001
7031
  }
7002
7032
  hasAlreadyBeenScored = true;
@@ -18715,6 +18745,32 @@ function ValidatorPlugin(rules, data, formId, culture) {
18715
18745
  wait.replay();
18716
18746
  };
18717
18747
 
18748
+ /**
18749
+ * onUpload — settles a staged upload: the virtual upload form's request answered (`status`
18750
+ * 'success') or failed ('error', a transport failure included). It finalizes the progress
18751
+ * indicator and the dropzone, and notes the settle for a submit that waits on it (#B726).
18752
+ * On a success the selection takes the file input over (#B960): the preview container is
18753
+ * emptied, the delete links of the stored entries the selection replaces go (#B150), its files
18754
+ * become the entries the reset and delete links act on (`customFiles`, from `pendingFiles`),
18755
+ * the hidden fields are built (see buildUploadHiddenFields) and filled from the answer, each key
18756
+ * it carries replacing its field's value (`name` included, #B962), and the previews and reset
18757
+ * links are rendered. On a failure the error is shown or announced, and only the pending
18758
+ * selection is dropped: the previews, the controls, the entries and the hidden fields stay as
18759
+ * they were.
18760
+ *
18761
+ * @inner
18762
+ * @private
18763
+ * @param {object} gina - the gina client instance
18764
+ * @param {HTMLFormElement} $target - the virtual upload form, carrying `uploadProperties`
18765
+ * @param {string} status - 'success', or 'error' for every failure path
18766
+ * @param {string} id - the virtual upload form's id
18767
+ * @param {object} data - the staging answer (`files`), or the failure (`message` / `error`)
18768
+ * @returns {void}
18769
+ * @throws {Error} when `$target` carries no `uploadProperties`
18770
+ *
18771
+ * @example
18772
+ * onUpload(gina, $uploadForm, 'error', $uploadForm.id, { status: 500, error: 'staging refused' }); // the page stays as it was
18773
+ */
18718
18774
  var onUpload = function(gina, $target, status, id, data) {
18719
18775
 
18720
18776
  var uploadProperties = $target.uploadProperties || null;
@@ -18753,11 +18809,11 @@ function ValidatorPlugin(rules, data, formId, culture) {
18753
18809
  , files = data.files || []
18754
18810
  , $error = null
18755
18811
  ;
18756
- // reset previewContainer
18812
+ // the preview container; a success empties it, a failure leaves it as it was (#B960)
18757
18813
  if ( uploadProperties.hasPreviewContainer ) {
18758
18814
  $previewContainer = document.getElementById(uploadProperties.previewContainer.id);
18759
- if ($previewContainer)
18760
- $previewContainer.innerHTML = '';
18815
+ // was: if ($previewContainer)
18816
+ // was: $previewContainer.innerHTML = '';
18761
18817
  }
18762
18818
 
18763
18819
  if (uploadProperties.errorField) {
@@ -18769,6 +18825,12 @@ function ValidatorPlugin(rules, data, formId, culture) {
18769
18825
  if ($error)
18770
18826
  $error.style.display = 'none';
18771
18827
 
18828
+ // #B960 — a failed staging drops the selection it carried, and nothing else: the previews,
18829
+ // the reset and delete links, the input's entries and the form's hidden fields stay as they were
18830
+ if ( status != 'success' && $uploadTriger ) {
18831
+ $uploadTriger.pendingFiles = null;
18832
+ }
18833
+
18772
18834
  if ($error && status != 'success') { // handle errors first
18773
18835
  // console.error('[ mainUploadError ] ', status, data)
18774
18836
  var errMsg = data.message || data.error;
@@ -18825,11 +18887,43 @@ function ValidatorPlugin(rules, data, formId, culture) {
18825
18887
  , maxWidth = null
18826
18888
  , ratio = null
18827
18889
  ;
18890
+ // #B960 — the preview container is emptied by a success, and only by it: it was emptied
18891
+ // before the error and success branches, so a failed staging took the previews of the
18892
+ // files the input still held, and any link inside the container, off the page.
18893
+ if ($previewContainer)
18894
+ $previewContainer.innerHTML = '';
18828
18895
  // #B859 — the staging answer, by file index, on the file input: a reset names the files
18829
18896
  // it removes from these entries (`originalFilename`, and the preview's own when there is
18830
18897
  // one), so a file that got no preview <img> — not an image, no `preview` — is removed too.
18831
18898
  if ( $uploadTriger ) {
18832
18899
  $uploadTriger.stagedFiles = files;
18900
+ // #B150 — the delete links of the stored entries this selection replaces go with their
18901
+ // entries: the container reset above takes a link placed inside the preview container,
18902
+ // never one placed after it, which stayed on the page bound to an entry the input no
18903
+ // longer held. Removed as a delete removes a link; its wrapper goes when it is an
18904
+ // emptied <li> of the container.
18905
+ // #B960 — the selection takes the input over here, when its staging succeeds: the
18906
+ // replaced entries are read from the input's entries, its files become the entries
18907
+ // the reset and delete links act on, and the form's hidden fields are built for the
18908
+ // files the answer names. The change listener used to write the entries, and keep the
18909
+ // replaced ones in `_replacedStoredFiles`, and the fields were built at the selection.
18910
+ // was: the replaced entries came from $uploadTriger._replacedStoredFiles, then emptied
18911
+ var replacedStoredFiles = ( $uploadTriger.customFiles || [] ).filter(function (entry) { return entry && entry.deleteLinkId; });
18912
+ for (var r = 0, rLen = replacedStoredFiles.length; r < rLen; ++r) {
18913
+ var $replacedLink = document.getElementById(replacedStoredFiles[r].deleteLinkId);
18914
+ if ($replacedLink) {
18915
+ var $replacedItem = $replacedLink.parentNode;
18916
+ $replacedLink.remove();
18917
+ dropEmptyUploadPreviewItem($replacedItem, $previewContainer);
18918
+ }
18919
+ }
18920
+ // read by onUploadResetOrDelete; no validation rule reads it (the field collection
18921
+ // leaves a staged file input out of the fields, #B725)
18922
+ $uploadTriger.customFiles = $uploadTriger.pendingFiles || [];
18923
+ $uploadTriger.pendingFiles = null;
18924
+ if ( $uploadTriger.form ) {
18925
+ uploadProperties.uploadFields = buildUploadHiddenFields($uploadTriger, getUploadFieldPrefix($uploadTriger), files.length, uploadProperties.mandatoryFields, false);
18926
+ }
18833
18927
  }
18834
18928
  for (var f = 0, fLen = files.length; f<fLen; ++f) {
18835
18929
 
@@ -18939,9 +19033,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
18939
19033
  var $elIgnored = null;
18940
19034
  for (var key in fieldsObjectList) {
18941
19035
  // update field value
19036
+ // #B962 — the answer's `name` fills its field like every other key. The fill skipped `name`
19037
+ // whenever its field held a value, so a replacement in an edit form posted the saved
19038
+ // file's name beside the new file's location, and a second staging on the same input
19039
+ // posted the first staged file's name. An answer without `name` leaves the field as it is.
19040
+ // was: key == 'name' && fieldsObjectList[key].value != '' (the condition's first clause)
18942
19041
  if (
18943
- key == 'name' && fieldsObjectList[key].value != ''
18944
- || !files[f][key]
19042
+ !files[f][key]
18945
19043
  || key == 'preview' && typeof(files[f][key]) == 'undefined'
18946
19044
  || /(height|width)/i.test(key) && !/^image/.test(files[f].mime)
18947
19045
  ) {
@@ -19258,19 +19356,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
19258
19356
  * buildUploadHiddenFields — #B858: the hidden `<prefix>[i][…]` fields of a file input's
19259
19357
  * selection, in its form, by file index: the inputs the form holds are reused (declared by the
19260
19358
  * page, or written by an earlier selection), the ones a reset removed come back, and the
19261
- * missing mandatory ones are created, empty, for the staging answer to fill. Run on EVERY
19262
- * selection: building them only with the input's virtual upload form left a selection made
19263
- * after a reset with no field in the form, and one with more files than the first with none for
19264
- * its new files.
19359
+ * missing mandatory ones are created, empty, for the staging answer to fill. Run for EVERY
19360
+ * staging that succeeds, by `onUpload` (#B960): run at the selection, it left the fields a
19361
+ * failed staging had created in the form, empty, for the save to post, and a reset made while
19362
+ * the staging was on the wire took them out before the answer filled them. Building them only
19363
+ * with the input's virtual upload form (before #B858) left a selection made after a reset with
19364
+ * no field in the form, and one with more files than the first with none for its new files.
19265
19365
  *
19266
19366
  * @inner
19267
19367
  * @private
19268
19368
  * @param {HTMLInputElement} $el - the file input
19269
19369
  * @param {string} fieldPrefix - see getUploadFieldPrefix
19270
- * @param {number} filesLength - the count of files selected
19370
+ * @param {number} filesLength - the count of files the staging answer names
19271
19371
  * @param {Array<string>} mandatoryFields - the metadata keys every file gets an input for
19272
19372
  * @param {boolean} bindResetTriggers - binds each file's reset trigger when it is already in
19273
- * the page (the selection that creates the virtual upload form)
19373
+ * the page (`onUpload` passes false: it binds the reset links it renders, and the selection
19374
+ * that creates the virtual upload form binds the ones the page declares)
19274
19375
  * @returns {Array<object>} by file index, the field map the staging answer fills
19275
19376
  *
19276
19377
  * @example
@@ -21919,10 +22020,22 @@ function ValidatorPlugin(rules, data, formId, culture) {
21919
22020
  /**
21920
22021
  * bindUploadResetOrDeleteTrigger
21921
22022
  *
21922
- * @param {string} bindingType - `reset`or `delete`
21923
- * @param {object} $uploadTrigger - HTMLFormElement
21924
- * @param {number} index
22023
+ * Binds the reset (staged file) or delete (saved file) control of the file at `index`: the
22024
+ * element `<input id>-<index>-<bindingType>-trigger`, or the id the input declares through
22025
+ * `data-gina-form-upload-<bindingType>-trigger`. A control already bound is left as it is.
22026
+ * Warns when the control is missing only where the page had to provide it: a delete control,
22027
+ * or a declared id. A reset control missing under its default id is created by gina when the
22028
+ * staging succeeds (#B292).
21925
22029
  *
22030
+ * @inner
22031
+ * @param {string} bindingType - `reset` or `delete`
22032
+ * @param {object} $uploadTrigger - the file input (HTMLInputElement)
22033
+ * @param {number} index - the file's index in the input
22034
+ * @returns {void}
22035
+ *
22036
+ * @example
22037
+ * // a staged file's reset control, bound once the staging succeeded
22038
+ * bindUploadResetOrDeleteTrigger('reset', $input, 0); // binds #avatar-0-reset-trigger
21926
22039
  */
21927
22040
  var bindUploadResetOrDeleteTrigger = function(bindingType, $uploadTrigger, index) {
21928
22041
 
@@ -21970,7 +22083,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
21970
22083
  });
21971
22084
  }
21972
22085
  $uploadResetOrDeleteTrigger.isBinded = true;
21973
- } else {
22086
+ } else if ( !$uploadResetOrDeleteTrigger && ( bindingType != 'reset' || customTriggerId ) ) {
22087
+ // #B292 — the `else` also warned for a trigger found and already bound (a re-bind,
22088
+ // `$forms[id].reBind()`), and for a reset trigger missing under its default id, which
22089
+ // gina creates itself when the staging succeeds (onUpload). It warns now only when the
22090
+ // page had to provide the trigger: a delete trigger, or an id declared through
22091
+ // `data-gina-form-upload-<reset|delete>-trigger`.
22092
+ // was: } else {
21974
22093
  console.warn('[FormValidator::bindForm][upload]['+$uploadTrigger.id+'] : did not find `upload '+bindingType+' trigger`.\nPlease, make sure that your '+bindingType+' element ID is `'+ uploadResetOrDeleteTriggerId +'`, or add to your file input ('+ $uploadTrigger.id +') -> `data-gina-form-upload-'+bindingType+'-trigger="your-custom-id"` definition.');
21975
22094
  }
21976
22095
  }
@@ -23003,9 +23122,25 @@ function ValidatorPlugin(rules, data, formId, culture) {
23003
23122
  // [0] is for a single file, when multiple == false
23004
23123
  //var files = Array.from($el.files);
23005
23124
  var files = $el.files;
23006
- // used for validation & onUploadResetOrDelete
23007
- $el.customFiles = Array.from(files);
23125
+ // #B959 — a change that carries no file (an emptied selection) leaves the input as it
23126
+ // was. The input's records (the entries its reset and delete links act on, and the
23127
+ // #B150 record) used to be written before this return, so the entries were emptied
23128
+ // and every reset or delete link of the input was left bound to nothing: a click
23129
+ // sent no request, removed nothing and logged the zero-match warning, while the
23130
+ // files' previews and hidden fields stayed in the form.
23131
+ // was: the return stood after the two assignments that #B960 removed from here
23008
23132
  if (!files.length ) return false;
23133
+ // #B960 — the selection waits on the input until its staging settles: a success takes
23134
+ // the input over (its entries, the replaced entries' delete links and the form's
23135
+ // hidden fields, see onUpload), a failure drops it. They were written here, before
23136
+ // the answer: a failed staging left the reset and delete links of the files the page
23137
+ // still showed bound to the files it had dropped, its empty fields were posted with
23138
+ // the form, and a reset made while the staging was on the wire took the new file's
23139
+ // fields out of the form before the answer filled them.
23140
+ // was: var _replacedStoredFiles = ($el.customFiles || []).filter(function (entry) { return entry && entry.deleteLinkId; });
23141
+ // was: $el._replacedStoredFiles = ( $el._replacedStoredFiles || [] ).concat(_replacedStoredFiles);
23142
+ // was: $el.customFiles = Array.from(files);
23143
+ $el.pendingFiles = Array.from(files);
23009
23144
 
23010
23145
 
23011
23146
 
@@ -23110,8 +23245,8 @@ function ValidatorPlugin(rules, data, formId, culture) {
23110
23245
  if ( typeof($el.form) != 'undefined' ) {
23111
23246
 
23112
23247
  // adding virtual fields
23113
- // #B862 — the prefix rule the reset removes the fields by (see getUploadFieldPrefix)
23114
- var fieldPrefix = getUploadFieldPrefix($el);
23248
+ // #B960 — the prefix rule (#B862) is read where the fields are built, in onUpload
23249
+ // was: var fieldPrefix = getUploadFieldPrefix($el);
23115
23250
  var fieldId = $el.id || $el.getAttribute('id');
23116
23251
 
23117
23252
  var hasPreviewContainer = false;
@@ -23153,8 +23288,13 @@ function ValidatorPlugin(rules, data, formId, culture) {
23153
23288
  ]
23154
23289
  ;
23155
23290
 
23156
- // #B858 — built again on every selection (see buildUploadHiddenFields)
23157
- hiddenFields = buildUploadHiddenFields($el, fieldPrefix, files.length, mandatoryFields, true);
23291
+ // #B960 — the hidden fields are built when the staging succeeds (see onUpload);
23292
+ // the reset triggers the page already holds are bound here, as the build bound
23293
+ // them when it ran at the selection (#B858)
23294
+ // was: hiddenFields = buildUploadHiddenFields($el, fieldPrefix, files.length, mandatoryFields, true);
23295
+ for (var _r = 0, _rLen = files.length; _r < _rLen; ++_r) {
23296
+ bindUploadResetOrDeleteTrigger('reset', $el, _r);
23297
+ }
23158
23298
 
23159
23299
  $uploadForm.uploadProperties = {
23160
23300
  id : $el.form.id || $el.getAttribute('id'),
@@ -23208,17 +23348,14 @@ function ValidatorPlugin(rules, data, formId, culture) {
23208
23348
  document.body.appendChild($uploadForm)
23209
23349
  }
23210
23350
  } else {
23211
- // #B858 — a selection that finds the input's virtual upload form builds its
23212
- // own hidden fields: they were built only with that form, so after a reset
23213
- // (which takes them out of the real form) the next selection filled inputs
23214
- // no longer in it and the save posted no file, and a selection with more
23215
- // files than the first had none for its new files. In a popin the lookup
23216
- // above reads a parsed COPY of the popin, without the upload's properties:
23217
- // they are on the document's element.
23351
+ // #B858 — a selection that finds the input's virtual upload form reads its
23352
+ // properties from the document's element: in a popin the lookup above reads a
23353
+ // parsed COPY of the popin, without them. #B960 — its hidden fields are built
23354
+ // when the staging succeeds (see onUpload), no longer here.
23218
23355
  $uploadForm = document.getElementById(uploadFormId) || $uploadForm;
23219
- if ( $el.form && $uploadForm.uploadProperties ) {
23220
- $uploadForm.uploadProperties.uploadFields = buildUploadHiddenFields($el, getUploadFieldPrefix($el), files.length, $uploadForm.uploadProperties.mandatoryFields, false);
23221
- }
23356
+ // was: if ( $el.form && $uploadForm.uploadProperties ) {
23357
+ // was: $uploadForm.uploadProperties.uploadFields = buildUploadHiddenFields($el, getUploadFieldPrefix($el), files.length, $uploadForm.uploadProperties.mandatoryFields, false);
23358
+ // was: }
23222
23359
  }
23223
23360
 
23224
23361
  // #R8 — upload-progress kickoff: show activity from selection
@@ -28270,6 +28407,10 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
28270
28407
  * Only `[open]` dialogs are inerted. A closed `<dialog>` is already
28271
28408
  * `display:none` per the UA stylesheet, so it is unreachable without help.
28272
28409
  *
28410
+ * #B974 — the Escape handler clears `$popin.isRedirecting` before it closes, as a
28411
+ * modal dialog's native Escape does through bindNativeCloseSync(): a redirect still
28412
+ * in progress (a link inside the popin) cannot make popinClose() ignore the user.
28413
+ *
28273
28414
  * @inner
28274
28415
  * @param {object} $popin - popin descriptor; the Escape handler closes by $popin.name
28275
28416
  * @param {HTMLElement} $el - the dialog element being shown non-modally
@@ -28286,6 +28427,8 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
28286
28427
  var onKeydown = function (e) {
28287
28428
  if ( e.key === 'Escape' || e.keyCode === 27 ) {
28288
28429
  e.preventDefault();
28430
+ // #B974 — the user's Escape always closes, as a modal dialog's does
28431
+ $popin.isRedirecting = false;
28289
28432
  popinClose($popin.name);
28290
28433
  }
28291
28434
  };
@@ -29343,11 +29486,24 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
29343
29486
  }
29344
29487
  // NB.: `type == 'action'` will be handled by the form validator
29345
29488
  if ( type == 'link' ) {
29346
- var linkHref = event.target.getAttribute('href') || null;
29489
+ // #B977: read the link's `href` and `target` from `event.currentTarget`, the
29490
+ // `<a>` register() bound this listener on, not from `event.target`, the node
29491
+ // actually clicked. A click on markup nested inside the link (an icon, a
29492
+ // `<span>` label) read no `target` there, took the in-popin branch below and
29493
+ // loaded the link's page into the popin instead of opening its window, which
29494
+ // the popin guide promises. The close branch below reads `event.currentTarget`
29495
+ // for the same reason (#B301). The in-popin dispatch keeps `event.target`: its
29496
+ // event bubbles to this link's own listener, which loads `$element.href`.
29497
+ // was: var linkHref = event.target.getAttribute('href') || null;
29498
+ // was: var linkTarget = event.target.getAttribute('target');
29499
+ var linkHref = event.currentTarget.getAttribute('href') || null;
29347
29500
  // console.debug('This is a link', event.target);
29348
- var linkTarget = event.target.getAttribute('target');
29501
+ var linkTarget = event.currentTarget.getAttribute('target');
29349
29502
  if ( linkTarget != null && linkTarget != '' ) {
29350
29503
  var _window = window.open(linkHref, linkTarget);
29504
+ // #B974 — the link opened another window: nothing loads into
29505
+ // this popin, so no redirect is in progress here
29506
+ $popin.isRedirecting = false;
29351
29507
  // _window.onload = function onWindowLoad() {
29352
29508
  // var $popin = getActivePopin();
29353
29509
  // triggerEvent(gina, $popin, 'loaded.' + id);
@@ -29911,6 +30067,12 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
29911
30067
  * addEventListener — NOT gina's addListener (the custom event bus). Gated on
29912
30068
  * useDialogMode: a <div> has no `close` event.
29913
30069
  *
30070
+ * #B974 — a native close that still finds the popin open or loading is the user's
30071
+ * (Escape, a method="dialog" form) or the page's own `dialog.close()`, since the
30072
+ * plugin's own closes clear both first: it clears `$popin.isRedirecting` before
30073
+ * popinClose(), so a redirect still in progress (a link inside the popin) cannot
30074
+ * leave the popin flagged open behind a closed dialog.
30075
+ *
29914
30076
  * @param {object} $popin - the registered popin
29915
30077
  * @param {HTMLElement} $el - its dialog element
29916
30078
  *
@@ -29924,6 +30086,8 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
29924
30086
  $el._ginaCloseSyncBound = true;
29925
30087
  $el.addEventListener('close', function () {
29926
30088
  if ( $popin.isOpen || $popin.isLoading ) {
30089
+ // #B974 — a user's close wins over a redirect in progress
30090
+ $popin.isRedirecting = false;
29927
30091
  popinClose($popin.name);
29928
30092
  }
29929
30093
  });
@@ -30058,9 +30222,22 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
30058
30222
  /**
30059
30223
  * popinLoad
30060
30224
  *
30061
- * @param {string} name
30062
- * @param {string} url
30063
- * @param {object} [options]
30225
+ * Loads `url` into the popin `name` over a fresh XHR. Each load takes a sequence
30226
+ * number: a close during the load, or a newer load of the same popin, bumps the
30227
+ * popin's, and the landing is dropped (#gh76 §8, #B975). Once the load settles —
30228
+ * landed, failed or JSON — `$popin.isRedirecting` ends (#B974): a redirect it carried
30229
+ * (a link inside the popin, the validator's redirect-in-place) is over, and a close is
30230
+ * honoured again.
30231
+ *
30232
+ * @param {string} name - the popin's name
30233
+ * @param {string} url - the content's URL
30234
+ * @param {object} [options] - XHR options, merged over the plugin's defaults
30235
+ * @returns {object|undefined} `{ open }` — `.open()` opens the popin content-first
30236
+ * when its body lands; undefined when the transport could not start
30237
+ *
30238
+ * @example
30239
+ * var handle = gina.popin.getPopinByName('details').load('details', '/details/42');
30240
+ * if ( handle ) { handle.open(); }
30064
30241
  * */
30065
30242
  function popinLoad(name, url, options) {
30066
30243
  // if no name defiend, get the current
@@ -30269,6 +30446,10 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
30269
30446
  return;
30270
30447
  }
30271
30448
  $popin._loadXhr = null;
30449
+ // #B974 — this load has settled: a redirect it carried (a link inside
30450
+ // the popin, the validator's redirect-in-place) is over, whatever the
30451
+ // outcome, so a close is honoured again
30452
+ $popin.isRedirecting = false;
30272
30453
  // 200, 201, 201' etc ...
30273
30454
  var result = null;
30274
30455
 
@@ -30545,7 +30726,10 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
30545
30726
  *
30546
30727
  * @this {object} [$popin] - when a registry entry, the popin to load into
30547
30728
  * @param {string} stringContent - the HTML to inject (plain text)
30548
- * @param {boolean} [isRedirecting] - to handle a link inside a popin without a form
30729
+ * @param {boolean} [isRedirecting] - true for a redirect's landing (a link inside the
30730
+ * popin, a reload of an open popin): fires `loaded.<id>` instead of `open.<id>`.
30731
+ * `$popin.isRedirecting` holds it for that dispatch only (#B974)
30732
+ * @returns {void}
30549
30733
  *
30550
30734
  * @example
30551
30735
  * gina.popin.getPopinByName('details').loadContent('<p>updated</p>');
@@ -30597,6 +30781,8 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
30597
30781
  // console.debug('Popin now redirecting [1-b]');
30598
30782
  triggerEvent(gina, instance.target, 'loaded.' + $popin.id, $popin);
30599
30783
  }
30784
+ // #B974 — the flag only chose the event above: the content has landed
30785
+ $popin.isRedirecting = false;
30600
30786
 
30601
30787
  // Update toolbar
30602
30788
  if ( gina && typeof(window.ginaToolbar) != 'undefined' && window.ginaToolbar ) {
@@ -30957,10 +31143,18 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
30957
31143
  /**
30958
31144
  * popinClose
30959
31145
  *
30960
- * Closes a popin by `name` or all `is-active`
31146
+ * Closes a popin: the one named, else the one it is called on (`$popin.close()`),
31147
+ * else the active one. Ignored while `$popin.isRedirecting` is set — a redirect into
31148
+ * this popin is in progress, and the validator's redirect-in-place relies on its own
31149
+ * `close()` being a no-op; the flag ends when that redirect's load settles, and a
31150
+ * user's Escape clears it first (#B974). A close cancels a load still in flight: its
31151
+ * landing is dropped instead of filling, or re-opening, the dismissed popin (#B975).
30961
31152
  *
30962
- * @parama {string} [name]
31153
+ * @param {string} [name] - the popin's name
31154
+ * @returns {void}
30963
31155
  *
31156
+ * @example
31157
+ * gina.popin.close('details');
30964
31158
  * */
30965
31159
  function popinClose(name) {
30966
31160
 
@@ -31002,6 +31196,16 @@ define('gina/popin', [ 'require', 'lib/domain', 'lib/loading-state', 'lib/merge'
31002
31196
  if ( $popin.isRedirecting )
31003
31197
  return;
31004
31198
 
31199
+ // #B975 — cancel a load still in flight (a link inside the popin, a
31200
+ // gina.popin.load()): the sequence check drops its landing instead of letting
31201
+ // it fill, or re-open, the popin closed here. Below the guard, so the
31202
+ // validator's redirect-in-place, whose close() is a no-op, keeps its load
31203
+ $popin._loadSeq = ( $popin._loadSeq || 0 ) + 1;
31204
+ if ( $popin._loadXhr && $popin._loadXhr.readyState !== 4 ) {
31205
+ try { $popin._loadXhr.abort(); } catch (abortErr) { /* already dead */ }
31206
+ }
31207
+ $popin._loadXhr = null;
31208
+
31005
31209
  $el = $popin.target;
31006
31210
  var $popinTrigger = document.getElementById($popin.openTrigger) || null;
31007
31211