gina 0.1.1-alpha.178 → 0.1.1-alpha.179

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 (294) hide show
  1. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/AUTHORS +0 -0
  2. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/LICENSE +0 -0
  3. package/framework/v0.1.1-alpha.179/VERSION +1 -0
  4. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/html/nolayout.html +0 -0
  5. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/html/static.html +0 -0
  6. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/img/android-chrome-192x192.png +0 -0
  7. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/img/android-chrome-512x512.png +0 -0
  8. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/img/apple-touch-icon.png +0 -0
  9. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/img/favicon-16x16.png +0 -0
  10. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/img/favicon-32x32.png +0 -0
  11. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/img/favicon.ico +0 -0
  12. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/README.md +0 -0
  13. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/css/gina.min.css +0 -0
  14. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/css/gina.min.css.map +1 -1
  15. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/html/toolbar.html +0 -0
  16. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/js/gina.js +3 -2
  17. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/js/gina.min.js +22 -22
  18. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/js/gina.min.js.map +3 -3
  19. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js +0 -0
  20. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/dist/vendor/gina/js/gina.onload.min.js.map +2 -2
  21. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/asset/plugin/uuid.json +0 -0
  22. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/config.js +0 -0
  23. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/index.js +0 -0
  24. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/connector.js +0 -0
  25. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/connector.v2.js +0 -0
  26. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/connector.v3.js +0 -0
  27. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/connector.v4.js +0 -0
  28. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/n1ql.js +0 -0
  29. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/session-store.js +0 -0
  30. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/session-store.v2.js +0 -0
  31. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/session-store.v3.js +0 -0
  32. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/connectors/couchbase/lib/session-store.v4.js +0 -0
  33. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/controller/controller.framework.js +0 -0
  34. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/controller/controller.js +20 -0
  35. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/controller/index.js +0 -0
  36. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/.travis.yml +0 -0
  37. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/LICENSE +0 -0
  38. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/README.md +0 -0
  39. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/deps/encoding/encoding-indexes.js +0 -0
  40. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/deps/encoding/encoding.js +0 -0
  41. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/lib/main.js +0 -0
  42. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/lib/types/multipart.js +0 -0
  43. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/lib/types/urlencoded.js +0 -0
  44. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/lib/utils.js +0 -0
  45. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/busboy/package.json +0 -0
  46. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/deps/swig-client/swig-2.0.0.min.js +0 -0
  47. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/dev/index.js +0 -0
  48. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/dev/lib/class.js +0 -0
  49. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/dev/lib/factory.js +0 -0
  50. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/dev/lib/tools.js +0 -0
  51. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/gna.js +0 -0
  52. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/README.md +0 -0
  53. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/currency.json +0 -0
  54. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/dist/language/en.json +0 -0
  55. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/dist/language/fr.json +0 -0
  56. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/dist/region/en.json +0 -0
  57. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/dist/region/fr.json +0 -0
  58. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/index.js +0 -0
  59. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/src/make.js +0 -0
  60. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/src/resources/currency.csv +0 -0
  61. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/src/resources/region.csv +0 -0
  62. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/locales/src/resources/region.mapping.json +0 -0
  63. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/mime.types +0 -0
  64. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/model/entity.js +0 -0
  65. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/model/index.js +0 -0
  66. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/model/template/entityFactory.js +0 -0
  67. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/model/template/index.js +0 -0
  68. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/README.md +0 -0
  69. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/index.js +0 -0
  70. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/file/README.md +0 -0
  71. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/file/build.json +0 -0
  72. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/file/package.json +0 -0
  73. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/intl/README.md +0 -0
  74. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/intl/build.json +0 -0
  75. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/intl/package.json +0 -0
  76. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/intl/src/main.js +0 -0
  77. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/storage/README.md +0 -0
  78. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/storage/build.json +0 -0
  79. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/storage/package.json +0 -0
  80. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/storage/src/main.js +0 -0
  81. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/validator/README.md +0 -0
  82. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/validator/build.json +0 -0
  83. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/validator/package.json +0 -0
  84. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/validator/src/form-validator.js +0 -0
  85. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/plugins/lib/validator/src/main.js +3 -2
  86. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/router.js +0 -0
  87. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/server.express.js +0 -0
  88. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/server.isaac.js +0 -0
  89. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/server.js +0 -0
  90. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/status.codes +0 -0
  91. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/config/app.json +0 -0
  92. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/config/routing.json +0 -0
  93. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/config/settings.json +0 -0
  94. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/config/settings.server.json +0 -0
  95. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/config/templates.json +0 -0
  96. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/controllers/controller.content.js +0 -0
  97. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/controllers/controller.js +0 -0
  98. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/controllers/setup.js +0 -0
  99. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle/index.js +0 -0
  100. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_namespace/controllers/controller.js +0 -0
  101. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_public/css/default.css +0 -0
  102. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_public/css/vendor/readme.md +0 -0
  103. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_public/favicon.ico +0 -0
  104. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_public/js/vendor/readme.md +0 -0
  105. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_public/readme.md +0 -0
  106. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_templates/handlers/main.js +0 -0
  107. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_templates/html/content/homepage.html +0 -0
  108. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_templates/html/includes/error-msg-noscript.html +0 -0
  109. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_templates/html/includes/error-msg-outdated-browser.html +0 -0
  110. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/boilerplate/bundle_templates/html/layouts/main.html +0 -0
  111. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/command/gina.bat.tpl +0 -0
  112. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/command/gina.tpl +0 -0
  113. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/conf/env.json +0 -0
  114. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/conf/manifest.json +0 -0
  115. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/conf/package.json +0 -0
  116. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/conf/settings.json +0 -0
  117. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/conf/statics.json +0 -0
  118. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/conf/templates.json +0 -0
  119. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/error/client/json/401.json +0 -0
  120. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/error/client/json/403.json +0 -0
  121. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/error/client/json/404.json +0 -0
  122. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/error/server/html/50x.html +0 -0
  123. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/error/server/json/500.json +0 -0
  124. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/error/server/json/503.json +0 -0
  125. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/core/template/extensions/logger/config.json +0 -0
  126. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/console.js +0 -0
  127. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/context.js +0 -0
  128. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/dateFormat.js +0 -0
  129. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/index.js +0 -0
  130. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/json/LICENSE +0 -0
  131. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/json/README.md +0 -0
  132. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/json/package.json +0 -0
  133. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/json/src/main.js +0 -0
  134. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/path.js +0 -0
  135. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/plugins/README.md +0 -0
  136. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/plugins/package.json +0 -0
  137. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/plugins/src/api-error.js +0 -0
  138. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/plugins/src/main.js +0 -0
  139. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/prototypes.js +0 -0
  140. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/task.js +0 -0
  141. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/helpers/text.js +0 -0
  142. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/archiver/README.md +0 -0
  143. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/archiver/build.json +0 -0
  144. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/archiver/package.json +0 -0
  145. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/archiver/src/dep/jszip.min.js +0 -0
  146. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/archiver/src/main.js +0 -0
  147. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/aliases.json +0 -0
  148. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/add.js +0 -0
  149. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/arguments.json +0 -0
  150. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/copy.js +0 -0
  151. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/cp.js +0 -0
  152. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/help.js +0 -0
  153. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/help.txt +0 -0
  154. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/list.js +0 -0
  155. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/remove.js +0 -0
  156. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/rename.js +0 -0
  157. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/restart.js +0 -0
  158. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/rm.js +0 -0
  159. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/start.js +0 -0
  160. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/status.js +0 -0
  161. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/bundle/stop.js +0 -0
  162. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/add.js +0 -0
  163. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/get.js +0 -0
  164. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/help.js +0 -0
  165. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/help.txt +0 -0
  166. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/link-dev.js +0 -0
  167. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/list.js +0 -0
  168. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/remove.js +0 -0
  169. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/rm.js +0 -0
  170. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/set.js +0 -0
  171. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/unset.js +0 -0
  172. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/env/use.js +0 -0
  173. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/build.js +0 -0
  174. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/dot.js +0 -0
  175. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/get.js +0 -0
  176. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/help.js +0 -0
  177. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/help.txt +0 -0
  178. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/init.js +0 -0
  179. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/link-node-modules.js +0 -0
  180. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/link.js +0 -0
  181. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/msg.json +0 -0
  182. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/open.js +0 -0
  183. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/restart.js +0 -0
  184. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/set.js +0 -0
  185. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/start.js +0 -0
  186. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/status.js +0 -0
  187. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/stop.js +0 -0
  188. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/tail.js +0 -0
  189. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/update.js +0 -0
  190. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/framework/version.js +0 -0
  191. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/gina-dev.1.md +0 -0
  192. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/gina-framework.1.md +0 -0
  193. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/gina.1.md +0 -0
  194. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/helper.js +0 -0
  195. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/index.js +0 -0
  196. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/msg.json +0 -0
  197. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/port/help.js +0 -0
  198. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/port/help.txt +0 -0
  199. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/port/inc/scan.js +0 -0
  200. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/port/list.js +0 -0
  201. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/port/reset.js +0 -0
  202. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/port/set.js +0 -0
  203. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/add.js +0 -0
  204. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/arguments.json +0 -0
  205. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/build.js +0 -0
  206. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/help.js +0 -0
  207. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/help.txt +0 -0
  208. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/import.js +0 -0
  209. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/list.js +0 -0
  210. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/move.js +0 -0
  211. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/remove.js +0 -0
  212. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/rename.js +0 -0
  213. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/restart.js +0 -0
  214. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/rm.js +0 -0
  215. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/start.js +0 -0
  216. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/status.js +0 -0
  217. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/project/stop.js +0 -0
  218. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/protocol/help.js +0 -0
  219. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/protocol/help.txt +0 -0
  220. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/protocol/list.js +0 -0
  221. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/protocol/set.js +0 -0
  222. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/help.js +0 -0
  223. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/help.txt +0 -0
  224. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/link-local.js +0 -0
  225. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/list.js +0 -0
  226. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/remove.js +0 -0
  227. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/rm.js +0 -0
  228. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/set.js +0 -0
  229. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/unset.js +0 -0
  230. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/scope/use.js +0 -0
  231. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cmd/view/add.js +0 -0
  232. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/collection/README.md +0 -0
  233. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/collection/build.json +0 -0
  234. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/collection/package.json +0 -0
  235. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/collection/src/main.js +0 -0
  236. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/config.js +0 -0
  237. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cron/README.md +0 -0
  238. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cron/package.json +0 -0
  239. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/cron/src/main.js +0 -0
  240. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/domain/LICENSE +0 -0
  241. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/domain/README.md +0 -0
  242. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/domain/dist/public_suffix_list.dat +0 -0
  243. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/domain/exemples/backend.js +0 -0
  244. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/domain/exemples/frontend.html +0 -0
  245. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/domain/package.json +0 -0
  246. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/domain/src/main.js +0 -0
  247. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/generator/index.js +0 -0
  248. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/index.js +0 -0
  249. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/LICENSE +0 -0
  250. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/README.md +0 -0
  251. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/example/inheriting_eventemitter.js +0 -0
  252. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/example/protected_inheritance.js +0 -0
  253. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/example/simple_inheritance.js +0 -0
  254. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/example/super_attribute_overridden_by_child_on_init.js +0 -0
  255. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/package.json +0 -0
  256. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/inherits/src/main.js +0 -0
  257. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/README.md +0 -0
  258. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/package.json +0 -0
  259. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/containers/default/index.js +0 -0
  260. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/containers/file/index.js +0 -0
  261. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/containers/file/lib/logrotator/README.md +0 -0
  262. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/containers/file/lib/logrotator/index.js +0 -0
  263. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/containers/mq/index.js +0 -0
  264. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/containers/mq/listener.js +0 -0
  265. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/containers/mq/speaker.js +0 -0
  266. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/helper.js +0 -0
  267. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/logger/src/main.js +0 -0
  268. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/math/index.js +0 -0
  269. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/merge/README.md +0 -0
  270. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/merge/example/merge.js +0 -0
  271. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/merge/example/merge_2_literal objects.js +0 -0
  272. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/merge/example/merge_and_preserve_first.js +0 -0
  273. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/merge/package.json +0 -0
  274. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/merge/src/main.js +0 -0
  275. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/model.js +0 -0
  276. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/proc.js +0 -0
  277. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/routing/README.md +0 -0
  278. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/routing/build.json +0 -0
  279. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/routing/package.json +0 -0
  280. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/routing/src/main.js +0 -0
  281. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/session-store.js +0 -0
  282. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/shell.js +0 -0
  283. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/swig-filters/README.md +0 -0
  284. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/swig-filters/package.json +0 -0
  285. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/swig-filters/src/main.js +0 -0
  286. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/url/README.md +0 -0
  287. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/url/index.js +0 -0
  288. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/url/mocks.json +0 -0
  289. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/url/routing.json +0 -0
  290. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/url/test.js +0 -0
  291. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/lib/validator.js +0 -0
  292. package/framework/{v0.1.1-alpha.178 → v0.1.1-alpha.179}/package.json +0 -0
  293. package/package.json +2 -2
  294. package/framework/v0.1.1-alpha.178/VERSION +0 -1
@@ -0,0 +1 @@
1
+ 0.1.1-alpha.179
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"/usr/local/lib/node_modules/gina/framework/v0.1.1-alpha.178/core/asset/plugin/dist/vendor/gina/css/gina.min.css","sourcesContent":[]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"/usr/local/lib/node_modules/gina/framework/v0.1.1-alpha.179/core/asset/plugin/dist/vendor/gina/css/gina.min.css","sourcesContent":[]}
@@ -10843,8 +10843,7 @@ define("utils/dom", function(){});
10843
10843
  && typeof(result.popin.name) != 'undefined'
10844
10844
  && popinName != result.popin.name
10845
10845
  ) {
10846
- //$popin = gina.popin.getActivePopin();
10847
- if ($popin)
10846
+ if ($popin && $popin.isOpen)
10848
10847
  $popin.close();
10849
10848
 
10850
10849
  popinName = result.popin.name;
@@ -10856,6 +10855,8 @@ define("utils/dom", function(){});
10856
10855
  $popin.load($popin.name, popinUrl, $popin.options);
10857
10856
  } else if ($popin) {
10858
10857
  console.debug('Validator::Popin now redirecting [1-d]');
10858
+ if ($popin && $popin.isOpen)
10859
+ $popin.close();
10859
10860
  $popin.load($popin.name, popinUrl, $popin.options);
10860
10861
  }
10861
10862
  if ($popin && !$popin.isOpen) {
@@ -452,28 +452,28 @@ sb.click();window.URL.revokeObjectURL(Hb);u={status:L.status,statusText:L.status
452
452
  u=A;triggerEvent(gina,h,'success.'+p,u);return}A=x.eventData.success=u;if(gina&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&A)try{T&&'undefined'!=typeof A&&!/\/html|\/json/.test(qb)&&window.ginaToolbar.update('data-xhr',A)}catch(X){throw X;}/^gina\-upload/i.test(p)&&W(gina,h,'success',p,u);var zb=!1;'undefined'!=typeof u.isXhrRedirect&&/^true$/i.test(u.isXhrRedirect)&&(zb=!0);if('undefined'!=typeof gina.popin&&gina.hasPopinHandler&&'undefined'!=typeof u.popin||'undefined'!=typeof gina.popin&&
453
453
  gina.hasPopinHandler&&'undefined'!=typeof u.location&&zb){Sa=gina.popin.getActivePopin();if(!Sa&&'undefined'!=typeof u.popin){if('undefined'!=typeof u.popin&&'undefined'==typeof u.popin.name)throw Error('To get a `$popin` instance, you need at list a `popin.name`.');Sa=gina.popin.getPopinByName(u.popin.name);if(!Sa)throw Error('Popin with name: `'+u.popin.name+'` not found.');}if('undefined'!=typeof u.popin&&'undefined'!=typeof u.popin.close){Sa.isRedirecting=!1;Sa.close();var Vb=u.popin.reload?u.popin.reload:
454
454
  !1;u.popin.location||u.popin.url||(delete u.popin,Vb&&(u.popin={reload:Vb}))}if('undefined'!=typeof u.popin&&'undefined'!=typeof u.popin.location||'undefined'!=typeof u.popin&&'undefined'!=typeof u.popin.url||'undefined'!=typeof u.location&&zb){zb=null;Sa&&(zb=Sa.name,Sa.isRedirecting=!0);'undefined'!=typeof u.popin&&'undefined'!=typeof u.popin.target&&(u.popin.target='_'+u.popin.target);var Za=u.location||u.popin.location||u.popin.url;if('undefined'!=typeof u.popin&&'undefined'!=typeof u.popin.name&&
455
- zb!=u.popin.name){Sa&&Sa.close();zb=u.popin.name;Sa=gina.popin.getPopinByName(zb);if(!Sa)throw Error('Popin with name `'+zb+'` not found !');console.debug('Validator::Popin now redirecting [1-c]');Sa.load(Sa.name,Za,Sa.options)}else Sa&&(console.debug('Validator::Popin now redirecting [1-d]'),Sa.load(Sa.name,Za,Sa.options));if(Sa&&!Sa.isOpen)return setTimeout(function(X){X.isOpen||X.open()},50,Sa)}}triggerEvent(gina,h,'success.'+p,u);P&&triggerEvent(gina,h,'success.'+p+'.hform',u)}catch(X){u={status:422,
456
- error:X.message,stack:X.stack};A=x.eventData.error=u;if(gina&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&A)try{T&&'undefined'!=typeof A&&window.ginaToolbar.update('data-xhr',A)}catch(ka){throw ka;}/^gina\-upload/i.test(p)&&W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,h,'error.'+p+'.hform',u)}if('undefined'!=typeof u&&'undefined'!=typeof u.location)return window.location.hash='',u.location=/^http/.test(u.location)||/^\//.test(u.location)?u.location:
457
- location.protocol+'//'+u.location,setTimeout(()=>{window.location.href=u.location},Aa)}else if(0!=L.status)if(u={status:L.status},/blob/.test(L.responseType)){Va=new Blob([this.response],{type:'text/plain'});var gb=new FileReader,fa='';gb.addEventListener('loadend',X=>{/string/i.test(typeof X.srcElement.result)?fa+=X.srcElement.result:'object'==typeof X.srcElement.result?u=Y(u,X.srcElement.result):u.message+=X.srcElement.result;if(/2/.test(gb.readyState)){if(/^(\{|\[)/.test(fa))try{u=Y(u,JSON.parse(fa))}catch(ka){u=
458
- Y(u,ka)}u.message||delete u.message;A=x.eventData.error=u;if(gina&&T&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&A)try{window.ginaToolbar.update('data-xhr',A)}catch(ka){throw ka;}/^gina\-upload/i.test(p)&&W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,h,'error.'+p+'.hform',u)}});gb.readAsText(Va)}else{if(/^(\{|\[)/.test(L.responseText))try{u=Y(JSON.parse(L.responseText),u)}catch(X){u=Y(X,u)}else'object'==typeof L.responseText?u=Y(L.responseText,u):u.message=
459
- L.responseText;if('undefined'!=typeof u&&'undefined'!=typeof u.error&&u.fields&&'object'==typeof u.fields){Za='undefined'!=typeof u.message?u.message:null;Aa={};for(zb in u.fields)Sa={},Sa[zb]={},Sa[zb].isApiError=u.fields[zb],Za&&!Sa[zb].isApiError&&(Sa[zb].isApiError=u.error),Aa[zb]=Sa[zb],E(x.target,Sa,e,zb);u.fields=Aa}A=x.eventData.error=u;if(gina&&T&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&A)try{window.ginaToolbar.update('data-xhr',A)}catch(X){throw X;}/^gina\-upload/i.test(p)&&
460
- W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,h,'error.'+p+'.hform',u)}}};L.onprogress=function(Aa){var Sa='0';Aa.lengthComputable&&(Sa=Aa.loaded/Aa.total,Sa=parseInt(100*Sa));Aa={status:100,progress:Sa};x.eventData.onprogress=Aa;triggerEvent(gina,h,'progress.'+p,Aa)};L.ontimeout=function(Aa){u={status:408,error:'Request Timeout'};x.eventData.ontimeout=u;/^gina\-upload/i.test(p)&&W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,h,'error.'+
461
- p+'.hform',u)};e||(e=event.detail.data);if(e){b=!1;if('object'==typeof e){w=[];Q=0;var ia={};try{if(e instanceof FormData){var ua=event.currentTarget.getAttribute('data-gina-form-upload-group')||'untagged',na,la;for([na,la]of e.entries())la instanceof File?(b||=!0,w[Q]={key:na,group:ua,file:la,bin:''},++Q):ia[na]=la}else e=JSON.stringify(e);if(b&&0<w.length){var Ca='--ginaWKBoundary'+oa.v4().replace(/\-/g,'');return ea(w,Ca,'',0,function(Aa,Sa,Va){if(Aa)/^gina\-upload/i.test(p)&&W(gina,h,'error',
462
- p,Aa),triggerEvent(gina,h,'error.'+p,Aa),P&&triggerEvent(gina,h,'error.'+p+'.hform',Aa);else return Va&&(L.setRequestHeader('Content-Type','multipart/form-data; boundary='+Ca),L.send(Sa),x.sent=!0,T&&K&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&(gina.forms.sent||(gina.forms.sent={}),window.ginaToolbar.update('forms',{id:p,sent:Sa}))),!1})}'undefined'!=typeof ia&&0<ia.count()&&(e=JSON.stringify(ia))}catch(Aa){/^gina\-upload/i.test(p)&&W(gina,h,'error',p,Aa),triggerEvent(gina,h,'error.'+
463
- p,Aa),P&&triggerEvent(gina,h,'error.'+p+'.hform',Aa)}}b||('undefined'!=typeof aa&&null!=aa&&''!=aa&&L.setRequestHeader('Content-Type',aa),L.send(e))}else'undefined'!=typeof aa&&null!=aa&&''!=aa&&L.setRequestHeader('Content-Type',aa),L.send();x.sent=!0;T&&K&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&(gina.forms.sent||(gina.forms.sent={}),ua={id:p,sent:'string'==typeof e?JSON.parse(e):e},window.ginaToolbar.update('forms',ua))}}},W=function(e,b,h,p,x){e=b.uploadProperties||null;if(!e)throw Error('No uploadProperties found !!');
464
- b=document.getElementById(e.uploadTriggerId);p=null;var u=x.files||[],A=null;e.hasPreviewContainer&&(p=document.getElementById(e.previewContainer.id))&&(p.innerHTML='');e.errorField&&(A=document.getElementById(e.errorField));A&&(A.style.display='none');if(A&&'success'!=h){var V=x.message||x.error;A.innerHTML='<p>'+V+'</p>';fadeIn(A)}else if(A||'success'==h)for(h=0,x=u.length;h<x;++h){var P=p.id.replace(/\-preview/,'-'+h+'-reset-trigger');V=!1;A=document.getElementById(P);var aa=['reset','js-upload-reset'];
465
- A?(/a/i.test(A.tagName)&&(A.href='#'),A.innerHTML&&''!=A.innerHTML||(A.innerHTML=b.getAttribute('data-gina-form-upload-reset-label')||'Reset'),'undefined'==typeof A.className&&(A.className=''),P=Y(A.className.split(/\s+/g),aa),A.className=P.join(' ')):(V=!0,A=document.createElement('A'),A.href='#',A.innerHTML=b.getAttribute('data-gina-form-upload-reset-label')||'Reset',A.className=aa.join(' '),A.id=P);A.style.display='none';if('undefined'==typeof u[h].preview&&e.hasPreviewContainer&&/^image/.test(u[h].mime)&&
466
- ''!=u[h].location){P=document.createElement('IMG');P.src=u[h].tmpUri;P.style.display='none';P.setAttribute('data-upload-original-filename',u[h].originalFilename);P.setAttribute('data-upload-reset-link-id',A.id);aa=p.getAttribute('data-preview-max-width')||null;if(P.width&&aa&&P.width>aa){var Q=P.width/aa;P.width=aa;P.height/=Q}else!P.width&&aa&&(P.width=aa);/ul/i.test(e.previewContainer.tagName)?(aa=document.createElement('LI'),aa.className='item',aa.appendChild(P),p.appendChild(aa)):p.appendChild(P);
467
- fadeIn(P)}P=e.uploadFields[h];for(var w in P)if('name'==w&&''!=P[w].value||!u[h][w]||'preview'==w&&'undefined'==typeof u[h][w]||/(height|width)/i.test(w)&&!/^image/.test(u[h].mime))/(preview|height|width)/i.test(w)&&(aa=document.getElementById(P[w].id))&&aa.parentNode.removeChild(aa);else if(P[w].value=u[h][w],'preview'==w)for(var ia in u[h][w])if('undefined'!=typeof u[h][w][ia]&&'undefined'!=typeof P[w][ia]&&(P[w][ia].value=u[h][w][ia]),'tmpUri'==ia&&e.hasPreviewContainer){Q=document.createElement('IMG');
468
- Q.src=u[h][w].tmpUri;Q.style.display='none';Q.setAttribute('data-upload-original-filename',u[h].originalFilename);Q.setAttribute('data-upload-preview-original-filename',u[h][w].originalFilename);Q.setAttribute('data-upload-reset-link-id',A.id);if(aa=p.getAttribute('data-preview-max-width')||null)Q.width=aa;/ul/i.test(e.previewContainer.tagName)?(aa=document.createElement('LI'),aa.className='item',aa.appendChild(Q),p.appendChild(aa)):p.appendChild(Q);fadeIn(Q)}e.hasPreviewContainer&&(/ul/i.test(e.previewContainer.tagName)?
469
- (aa=document.createElement('LI'),aa.className='item',V&&aa.appendChild(A),p.appendChild(aa)):V&&p.appendChild(A));fb('reset',b,h);fadeIn(A)}else throw Error(V);},ha=function(e,b){console.debug(b+' input files');var h=/reset/i.test(b)?!0:!1,p=null,x=null,u=document.getElementById(e.id+'-preview').childNodes,A=null,V=e.customFiles,P=[];for(let aa=0,Q=u.length;aa<Q;aa++)if(/img/i.test(u[aa].tagName)){h?(p=u[aa].getAttribute('data-upload-original-filename'),P.push(p),(x=u[aa].getAttribute('data-upload-preview-original-filename'))&&
470
- P.push(x)):(p=u[aa].src.substr(u[aa].src.lastIndexOf('/')+1),P.push(p));for(let w=0,ia=V.length;w<ia;w++)if(V[w].name==p){A=h?document.getElementById(u[aa].getAttribute('data-upload-'+b+'-link-id')):document.getElementById(V[w].deleteLinkId);A.style.display='none';u[aa].style.display='none';V.splice(w,1);e.customFiles=V;h&&(e.value=V.join(', C:\\fakepath\\'));p=new RegExp('^'+(e.name+'['+w+']').replace(/\-|\[|\]|\./g,'\\$&'));for(let na=0,la=e.form.length;na<la;na++)if(x=e.form[na].dataset.ginaFormUploadIsLocked||
471
- !1,p.test(e.form[na].name)&&!/true/i.test(x)&&(e.form[na].remove(),la--,na--,gina&&T&&K&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar))try{window.ginaToolbar.update('data-xhr',{files:V})}catch(Ca){throw Ca;}x=e.getAttribute('data-gina-form-upload-'+b+'-action');if(!x||'undefined'==typeof x||''==x||/404/.test(x))throw Error('input file `'+e.id+'` error: `data-gina-form-upload-'+b+'-action` is required. You need to provide a valide url.');(p=e.getAttribute('data-gina-form-upload-'+b+'-method'))&&
472
- 'undefined'!=typeof p&&''!=p?p=p.toUpperCase():h?p='POST':(p=1<P.length?'POST':'DELETE',console.warn('`data-gina-form-upload-'+b+'-method` was not defined. Switching to `'+p+'` by default.'));let ua=e.getAttribute('data-gina-form-upload-'+b+'-is-synchrone');if(/null/i.test(ua)||'undefined'==typeof p||''==p)ua=!0;x=setupXhr({url:x,method:p,isSynchrone:ua,headers:{'Content-Type':'application/x-www-form-urlencoded; charset=UTF-8','X-Requested-With':'XMLHttpRequest'}});/GET|DELETE/i.test(p)?x.send():
473
- x.send(JSON.stringify({files:P}));if(/none/i.test(window.getComputedStyle(e).display)){if(/none/i.test(e.parentElement.style.display)){e.parentElement.style.display='block';return}e.style.display='block'}removeListener(gina,$uploadResetTrigger,'click',function(){A.remove();u[aa].remove()});Q--;aa--;break}}},ea=function(e,b,h,p,x){var u=new FileReader;u.addEventListener('load',function(A){A.preventDefault();try{var V=this.result,P=void 0;A='';var aa=null;'undefined'==typeof P&&(P=8);var Q=P/8;switch(P){case 8:aa=
474
- new Uint8Array(V);break;case 16:aa=new Uint16Array(V);break;case 32:aa=new Uint32Array(V);break;default:aa=new Uint8Array(V)}var w=aa.length,ia=Math.pow(2,8)+Q;V=0;for(Q=P=null;V<w;V+=ia)P=Math.min(ia,w-V),Q=aa.subarray(V,V+P),A+=String.fromCharCode.apply(null,Q);e[this.index].bin+=A;e[this.index].file.type||(e[this.index].file.type='application/octet-stream')}catch(ua){return x(ua,null,!0)}h+='--'+b+'\r\n';h+='Content-Disposition: form-data; name="'+e[this.index].key+'"; group="'+e[this.index].group+
475
- '"; filename="'+e[this.index].file.name+'"\r\nContent-Type: '+e[this.index].file.type+'\r\nContent-Length: '+e[this.index].bin.length+'\r\n\r\n';h+=e[this.index].bin+'\r\n';++this.index;this.index==e.length?(h+='--'+b+'--',x(!1,h,!0)):ea(e,b,h,this.index,x)},!1);u.index=p;e[p].bin='';u.readAsArrayBuffer(e[p].file)},wa=function(e){var b=e.target.getAttribute('data-gina-form-event-on-submit-success')||null;if(null!=b)if(/\((.*)\)/.test(b))eval(b);else e.on('success.hform',window[b]);b=e.target.getAttribute('data-gina-form-event-on-submit-error')||
476
- null;if(null!=b)if(/\((.*)\)/.test(b))eval(b);else e.on('error.hform',window[b])},ja=function(e){var b=null,h=e;if(!q.$forms)throw Error('`$forms` collection not found');if('undefined'==typeof h)if('undefined'!=typeof this.id&&''!=this.id&&null!=this.id)h=this.id;else throw Error('[ FormValidator::destroy(formId) ] `formId` is missing');if('string'==typeof h)h=h.replace(/#/,'');else{if('object'!=typeof h||Array.isArray(h))throw Error('[ FormValidator::destroy(formId) ] `formId` should be a `string`');
455
+ zb!=u.popin.name){Sa&&Sa.isOpen&&Sa.close();zb=u.popin.name;Sa=gina.popin.getPopinByName(zb);if(!Sa)throw Error('Popin with name `'+zb+'` not found !');console.debug('Validator::Popin now redirecting [1-c]');Sa.load(Sa.name,Za,Sa.options)}else Sa&&(console.debug('Validator::Popin now redirecting [1-d]'),Sa&&Sa.isOpen&&Sa.close(),Sa.load(Sa.name,Za,Sa.options));if(Sa&&!Sa.isOpen)return setTimeout(function(X){X.isOpen||X.open()},50,Sa)}}triggerEvent(gina,h,'success.'+p,u);P&&triggerEvent(gina,h,'success.'+
456
+ p+'.hform',u)}catch(X){u={status:422,error:X.message,stack:X.stack};A=x.eventData.error=u;if(gina&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&A)try{T&&'undefined'!=typeof A&&window.ginaToolbar.update('data-xhr',A)}catch(ka){throw ka;}/^gina\-upload/i.test(p)&&W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,h,'error.'+p+'.hform',u)}if('undefined'!=typeof u&&'undefined'!=typeof u.location)return window.location.hash='',u.location=/^http/.test(u.location)||
457
+ /^\//.test(u.location)?u.location:location.protocol+'//'+u.location,setTimeout(()=>{window.location.href=u.location},Aa)}else if(0!=L.status)if(u={status:L.status},/blob/.test(L.responseType)){Va=new Blob([this.response],{type:'text/plain'});var gb=new FileReader,fa='';gb.addEventListener('loadend',X=>{/string/i.test(typeof X.srcElement.result)?fa+=X.srcElement.result:'object'==typeof X.srcElement.result?u=Y(u,X.srcElement.result):u.message+=X.srcElement.result;if(/2/.test(gb.readyState)){if(/^(\{|\[)/.test(fa))try{u=
458
+ Y(u,JSON.parse(fa))}catch(ka){u=Y(u,ka)}u.message||delete u.message;A=x.eventData.error=u;if(gina&&T&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&A)try{window.ginaToolbar.update('data-xhr',A)}catch(ka){throw ka;}/^gina\-upload/i.test(p)&&W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,h,'error.'+p+'.hform',u)}});gb.readAsText(Va)}else{if(/^(\{|\[)/.test(L.responseText))try{u=Y(JSON.parse(L.responseText),u)}catch(X){u=Y(X,u)}else'object'==typeof L.responseText?
459
+ u=Y(L.responseText,u):u.message=L.responseText;if('undefined'!=typeof u&&'undefined'!=typeof u.error&&u.fields&&'object'==typeof u.fields){Za='undefined'!=typeof u.message?u.message:null;Aa={};for(zb in u.fields)Sa={},Sa[zb]={},Sa[zb].isApiError=u.fields[zb],Za&&!Sa[zb].isApiError&&(Sa[zb].isApiError=u.error),Aa[zb]=Sa[zb],E(x.target,Sa,e,zb);u.fields=Aa}A=x.eventData.error=u;if(gina&&T&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&A)try{window.ginaToolbar.update('data-xhr',A)}catch(X){throw X;
460
+ }/^gina\-upload/i.test(p)&&W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,h,'error.'+p+'.hform',u)}}};L.onprogress=function(Aa){var Sa='0';Aa.lengthComputable&&(Sa=Aa.loaded/Aa.total,Sa=parseInt(100*Sa));Aa={status:100,progress:Sa};x.eventData.onprogress=Aa;triggerEvent(gina,h,'progress.'+p,Aa)};L.ontimeout=function(Aa){u={status:408,error:'Request Timeout'};x.eventData.ontimeout=u;/^gina\-upload/i.test(p)&&W(gina,h,'error',p,u);triggerEvent(gina,h,'error.'+p,u);P&&triggerEvent(gina,
461
+ h,'error.'+p+'.hform',u)};e||(e=event.detail.data);if(e){b=!1;if('object'==typeof e){w=[];Q=0;var ia={};try{if(e instanceof FormData){var ua=event.currentTarget.getAttribute('data-gina-form-upload-group')||'untagged',na,la;for([na,la]of e.entries())la instanceof File?(b||=!0,w[Q]={key:na,group:ua,file:la,bin:''},++Q):ia[na]=la}else e=JSON.stringify(e);if(b&&0<w.length){var Ca='--ginaWKBoundary'+oa.v4().replace(/\-/g,'');return ea(w,Ca,'',0,function(Aa,Sa,Va){if(Aa)/^gina\-upload/i.test(p)&&W(gina,
462
+ h,'error',p,Aa),triggerEvent(gina,h,'error.'+p,Aa),P&&triggerEvent(gina,h,'error.'+p+'.hform',Aa);else return Va&&(L.setRequestHeader('Content-Type','multipart/form-data; boundary='+Ca),L.send(Sa),x.sent=!0,T&&K&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&(gina.forms.sent||(gina.forms.sent={}),window.ginaToolbar.update('forms',{id:p,sent:Sa}))),!1})}'undefined'!=typeof ia&&0<ia.count()&&(e=JSON.stringify(ia))}catch(Aa){/^gina\-upload/i.test(p)&&W(gina,h,'error',p,Aa),triggerEvent(gina,
463
+ h,'error.'+p,Aa),P&&triggerEvent(gina,h,'error.'+p+'.hform',Aa)}}b||('undefined'!=typeof aa&&null!=aa&&''!=aa&&L.setRequestHeader('Content-Type',aa),L.send(e))}else'undefined'!=typeof aa&&null!=aa&&''!=aa&&L.setRequestHeader('Content-Type',aa),L.send();x.sent=!0;T&&K&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar&&(gina.forms.sent||(gina.forms.sent={}),ua={id:p,sent:'string'==typeof e?JSON.parse(e):e},window.ginaToolbar.update('forms',ua))}}},W=function(e,b,h,p,x){e=b.uploadProperties||
464
+ null;if(!e)throw Error('No uploadProperties found !!');b=document.getElementById(e.uploadTriggerId);p=null;var u=x.files||[],A=null;e.hasPreviewContainer&&(p=document.getElementById(e.previewContainer.id))&&(p.innerHTML='');e.errorField&&(A=document.getElementById(e.errorField));A&&(A.style.display='none');if(A&&'success'!=h){var V=x.message||x.error;A.innerHTML='<p>'+V+'</p>';fadeIn(A)}else if(A||'success'==h)for(h=0,x=u.length;h<x;++h){var P=p.id.replace(/\-preview/,'-'+h+'-reset-trigger');V=!1;
465
+ A=document.getElementById(P);var aa=['reset','js-upload-reset'];A?(/a/i.test(A.tagName)&&(A.href='#'),A.innerHTML&&''!=A.innerHTML||(A.innerHTML=b.getAttribute('data-gina-form-upload-reset-label')||'Reset'),'undefined'==typeof A.className&&(A.className=''),P=Y(A.className.split(/\s+/g),aa),A.className=P.join(' ')):(V=!0,A=document.createElement('A'),A.href='#',A.innerHTML=b.getAttribute('data-gina-form-upload-reset-label')||'Reset',A.className=aa.join(' '),A.id=P);A.style.display='none';if('undefined'==
466
+ typeof u[h].preview&&e.hasPreviewContainer&&/^image/.test(u[h].mime)&&''!=u[h].location){P=document.createElement('IMG');P.src=u[h].tmpUri;P.style.display='none';P.setAttribute('data-upload-original-filename',u[h].originalFilename);P.setAttribute('data-upload-reset-link-id',A.id);aa=p.getAttribute('data-preview-max-width')||null;if(P.width&&aa&&P.width>aa){var Q=P.width/aa;P.width=aa;P.height/=Q}else!P.width&&aa&&(P.width=aa);/ul/i.test(e.previewContainer.tagName)?(aa=document.createElement('LI'),
467
+ aa.className='item',aa.appendChild(P),p.appendChild(aa)):p.appendChild(P);fadeIn(P)}P=e.uploadFields[h];for(var w in P)if('name'==w&&''!=P[w].value||!u[h][w]||'preview'==w&&'undefined'==typeof u[h][w]||/(height|width)/i.test(w)&&!/^image/.test(u[h].mime))/(preview|height|width)/i.test(w)&&(aa=document.getElementById(P[w].id))&&aa.parentNode.removeChild(aa);else if(P[w].value=u[h][w],'preview'==w)for(var ia in u[h][w])if('undefined'!=typeof u[h][w][ia]&&'undefined'!=typeof P[w][ia]&&(P[w][ia].value=
468
+ u[h][w][ia]),'tmpUri'==ia&&e.hasPreviewContainer){Q=document.createElement('IMG');Q.src=u[h][w].tmpUri;Q.style.display='none';Q.setAttribute('data-upload-original-filename',u[h].originalFilename);Q.setAttribute('data-upload-preview-original-filename',u[h][w].originalFilename);Q.setAttribute('data-upload-reset-link-id',A.id);if(aa=p.getAttribute('data-preview-max-width')||null)Q.width=aa;/ul/i.test(e.previewContainer.tagName)?(aa=document.createElement('LI'),aa.className='item',aa.appendChild(Q),p.appendChild(aa)):
469
+ p.appendChild(Q);fadeIn(Q)}e.hasPreviewContainer&&(/ul/i.test(e.previewContainer.tagName)?(aa=document.createElement('LI'),aa.className='item',V&&aa.appendChild(A),p.appendChild(aa)):V&&p.appendChild(A));fb('reset',b,h);fadeIn(A)}else throw Error(V);},ha=function(e,b){console.debug(b+' input files');var h=/reset/i.test(b)?!0:!1,p=null,x=null,u=document.getElementById(e.id+'-preview').childNodes,A=null,V=e.customFiles,P=[];for(let aa=0,Q=u.length;aa<Q;aa++)if(/img/i.test(u[aa].tagName)){h?(p=u[aa].getAttribute('data-upload-original-filename'),
470
+ P.push(p),(x=u[aa].getAttribute('data-upload-preview-original-filename'))&&P.push(x)):(p=u[aa].src.substr(u[aa].src.lastIndexOf('/')+1),P.push(p));for(let w=0,ia=V.length;w<ia;w++)if(V[w].name==p){A=h?document.getElementById(u[aa].getAttribute('data-upload-'+b+'-link-id')):document.getElementById(V[w].deleteLinkId);A.style.display='none';u[aa].style.display='none';V.splice(w,1);e.customFiles=V;h&&(e.value=V.join(', C:\\fakepath\\'));p=new RegExp('^'+(e.name+'['+w+']').replace(/\-|\[|\]|\./g,'\\$&'));
471
+ for(let na=0,la=e.form.length;na<la;na++)if(x=e.form[na].dataset.ginaFormUploadIsLocked||!1,p.test(e.form[na].name)&&!/true/i.test(x)&&(e.form[na].remove(),la--,na--,gina&&T&&K&&'undefined'!=typeof window.ginaToolbar&&window.ginaToolbar))try{window.ginaToolbar.update('data-xhr',{files:V})}catch(Ca){throw Ca;}x=e.getAttribute('data-gina-form-upload-'+b+'-action');if(!x||'undefined'==typeof x||''==x||/404/.test(x))throw Error('input file `'+e.id+'` error: `data-gina-form-upload-'+b+'-action` is required. You need to provide a valide url.');
472
+ (p=e.getAttribute('data-gina-form-upload-'+b+'-method'))&&'undefined'!=typeof p&&''!=p?p=p.toUpperCase():h?p='POST':(p=1<P.length?'POST':'DELETE',console.warn('`data-gina-form-upload-'+b+'-method` was not defined. Switching to `'+p+'` by default.'));let ua=e.getAttribute('data-gina-form-upload-'+b+'-is-synchrone');if(/null/i.test(ua)||'undefined'==typeof p||''==p)ua=!0;x=setupXhr({url:x,method:p,isSynchrone:ua,headers:{'Content-Type':'application/x-www-form-urlencoded; charset=UTF-8','X-Requested-With':'XMLHttpRequest'}});
473
+ /GET|DELETE/i.test(p)?x.send():x.send(JSON.stringify({files:P}));if(/none/i.test(window.getComputedStyle(e).display)){if(/none/i.test(e.parentElement.style.display)){e.parentElement.style.display='block';return}e.style.display='block'}removeListener(gina,$uploadResetTrigger,'click',function(){A.remove();u[aa].remove()});Q--;aa--;break}}},ea=function(e,b,h,p,x){var u=new FileReader;u.addEventListener('load',function(A){A.preventDefault();try{var V=this.result,P=void 0;A='';var aa=null;'undefined'==
474
+ typeof P&&(P=8);var Q=P/8;switch(P){case 8:aa=new Uint8Array(V);break;case 16:aa=new Uint16Array(V);break;case 32:aa=new Uint32Array(V);break;default:aa=new Uint8Array(V)}var w=aa.length,ia=Math.pow(2,8)+Q;V=0;for(Q=P=null;V<w;V+=ia)P=Math.min(ia,w-V),Q=aa.subarray(V,V+P),A+=String.fromCharCode.apply(null,Q);e[this.index].bin+=A;e[this.index].file.type||(e[this.index].file.type='application/octet-stream')}catch(ua){return x(ua,null,!0)}h+='--'+b+'\r\n';h+='Content-Disposition: form-data; name="'+
475
+ e[this.index].key+'"; group="'+e[this.index].group+'"; filename="'+e[this.index].file.name+'"\r\nContent-Type: '+e[this.index].file.type+'\r\nContent-Length: '+e[this.index].bin.length+'\r\n\r\n';h+=e[this.index].bin+'\r\n';++this.index;this.index==e.length?(h+='--'+b+'--',x(!1,h,!0)):ea(e,b,h,this.index,x)},!1);u.index=p;e[p].bin='';u.readAsArrayBuffer(e[p].file)},wa=function(e){var b=e.target.getAttribute('data-gina-form-event-on-submit-success')||null;if(null!=b)if(/\((.*)\)/.test(b))eval(b);else e.on('success.hform',
476
+ window[b]);b=e.target.getAttribute('data-gina-form-event-on-submit-error')||null;if(null!=b)if(/\((.*)\)/.test(b))eval(b);else e.on('error.hform',window[b])},ja=function(e){var b=null,h=e;if(!q.$forms)throw Error('`$forms` collection not found');if('undefined'==typeof h)if('undefined'!=typeof this.id&&''!=this.id&&null!=this.id)h=this.id;else throw Error('[ FormValidator::destroy(formId) ] `formId` is missing');if('string'==typeof h)h=h.replace(/#/,'');else{if('object'!=typeof h||Array.isArray(h))throw Error('[ FormValidator::destroy(formId) ] `formId` should be a `string`');
477
477
  e=h.form;h=e.getAttribute('id')||'form.'+oa.v4();e.setAttribute('id',h)}'undefined'!=typeof q.$forms[h]?b=q.$forms[h]:'undefined'!=typeof this.binded&&(b=this);if(b)addListener(gina,b.target,'destroy.'+h,function(p){cancelEvent(p);delete q.$forms[h];removeListener(gina,p.currentTarget,p.type);removeListener(gina,p.currentTarget,'destroy')}),b=Gb(b),triggerEvent(gina,b.target,'destroy.'+h);else throw Error('[ FormValidator::destroy(formId) ] `'+h+'` not found');},ta=function(e){e='undefined'!=typeof e?
478
478
  e:q.rules;for(let p in e){var b=Object.getOwnPropertyNames(e[p]),h=0;let x=b.length,u=!1,A=null;for(;h<x;){if(/^_case_/.test(b[h])){u=!0;A=b[h];break}h++}u||'object'!=typeof e[p]||ta(e[p]);if(A&&Array.isArray(e[p][A].conditions)&&0<e[p][A].conditions.length)for(b=0,h=e[p][A].conditions.length;b<h;)'undefined'!=typeof e[p][A].conditions[b].rules&&0==e[p][A].conditions[b].rules.count()&&(e[p][A].conditions.splice(b,1),h--,b--),b++}},Da=function(e){var b=JSON.stringify(e),h=b.match(/("@import\s+[-_a-z A-Z 0-9/.]+")/g)||
479
479
  [],p=[];for(let V=0,P=h.length;V<P;V++)0>p.indexOf(h[V])&&p.push(h[V]);h=p;p=b.match(/("_merging(.*))(\s+:|:)(.*)(",|")/g);q.rules||(q.rules={});if(h&&0<h.length){e={};for(let V=0,P=h.length;V<P;++V){var x=h[V].replace(/(@import\s+|"|')/g,'');var u=x.replace(/(@import\s+|"|')/g,'').split(/\s/g);for(let aa=0,Q=u.length;aa<Q;++aa){var A=u[aa].replace(/\//g,'.').replace(/\-/g,'.');'undefined'!=typeof q.rules[A]?(A=JSON.stringify(q.rules[A]),A=JSON.parse(A),A._comment='undefined'!=typeof A._comment?A._comment+