@kalisio/kdk 2.6.3 → 2.7.0

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 (419) hide show
  1. package/core/api/application.js +2 -4
  2. package/core/api/authentication.js +2 -3
  3. package/core/api/db.js +10 -2
  4. package/core/api/hooks/hooks.authorisations.js +4 -2
  5. package/core/api/hooks/hooks.push.js +6 -2
  6. package/core/api/hooks/hooks.query.js +29 -12
  7. package/core/api/hooks/hooks.users.js +30 -17
  8. package/core/api/models/configurations.model.mongodb.js +4 -0
  9. package/core/api/services/authorisations/authorisations.service.js +1 -1
  10. package/core/api/services/configurations/configurations.hooks.js +33 -0
  11. package/core/api/services/index.js +41 -7
  12. package/core/api/services/messages/messages.hooks.js +9 -3
  13. package/core/client/api.js +14 -1
  14. package/core/client/capabilities.js +1 -6
  15. package/core/client/components/KAvatar.vue +24 -20
  16. package/core/client/components/account/KProfile.vue +10 -71
  17. package/core/client/components/account/index.js +0 -2
  18. package/core/client/components/app/KSettings.vue +1 -0
  19. package/core/client/components/collection/KBoard.vue +4 -3
  20. package/core/client/components/collection/KCardSection.vue +1 -0
  21. package/core/client/components/collection/KGrid.vue +2 -0
  22. package/core/client/components/collection/KTable.vue +5 -1
  23. package/core/client/components/collection/KTimeLine.vue +9 -1
  24. package/core/client/components/collection/index.js +0 -2
  25. package/core/client/components/form/KChipsField.vue +2 -1
  26. package/core/client/components/form/KEmailField.vue +1 -0
  27. package/core/client/components/form/KFileField.vue +22 -1
  28. package/core/client/components/form/KForm.vue +2 -0
  29. package/core/client/components/form/KItemField.vue +1 -0
  30. package/core/client/components/form/KNumberField.vue +1 -0
  31. package/core/client/components/form/KPasswordField.vue +1 -0
  32. package/core/client/components/form/KPhoneField.vue +1 -0
  33. package/core/client/components/form/KPropertyItemField.vue +1 -0
  34. package/core/client/components/form/KResolutionField.vue +1 -0
  35. package/core/client/components/form/KSelectField.vue +31 -0
  36. package/core/client/components/form/KTagField.vue +1 -0
  37. package/core/client/components/form/KTextField.vue +1 -0
  38. package/core/client/components/form/KTokenField.vue +1 -0
  39. package/core/client/components/form/KUnitField.vue +1 -0
  40. package/core/client/components/form/KUrlField.vue +1 -0
  41. package/core/client/components/graphics/KIcon.vue +3 -4
  42. package/core/client/components/layout/KPage.vue +1 -0
  43. package/core/client/components/layout/KWindow.vue +6 -3
  44. package/core/client/components/messages/KMessageComposer.vue +2 -1
  45. package/core/client/components/messages/KMessagesTimeLine.vue +1 -1
  46. package/core/client/components/time/KDate.vue +1 -2
  47. package/core/client/components/time/KDateTime.vue +11 -11
  48. package/core/client/components/time/KTime.vue +1 -1
  49. package/core/client/composables/collection.js +33 -8
  50. package/core/client/composables/errors.js +1 -1
  51. package/core/client/composables/layout.js +9 -9
  52. package/core/client/configurations.js +50 -0
  53. package/core/client/exporter.js +1 -1
  54. package/core/client/i18n/core_en.json +6 -39
  55. package/core/client/i18n/core_fr.json +6 -39
  56. package/core/client/index.js +2 -0
  57. package/core/client/layout.js +8 -8
  58. package/core/client/mixins/mixin.base-activity.js +5 -2
  59. package/core/client/mixins/mixin.base-field.js +3 -3
  60. package/core/client/search.js +2 -1
  61. package/core/client/utils/utils.collection.js +8 -8
  62. package/core/client/utils/utils.items.js +4 -0
  63. package/core/client/utils/utils.push.js +3 -3
  64. package/core/client/utils/utils.session.js +7 -5
  65. package/core/client/utils/utils.shapes.js +38 -7
  66. package/core/client/utils/utils.time.js +21 -22
  67. package/core/common/schemas/users.update-profile.json +3 -2
  68. package/coverage/core/api/application.js.html +1 -1
  69. package/coverage/core/api/authentication.js.html +1 -1
  70. package/coverage/core/api/db.js.html +1 -1
  71. package/coverage/core/api/hooks/hooks.authentication.js.html +1 -1
  72. package/coverage/core/api/hooks/hooks.authorisations.js.html +1 -1
  73. package/coverage/core/api/hooks/hooks.logger.js.html +1 -1
  74. package/coverage/core/api/hooks/hooks.model.js.html +1 -1
  75. package/coverage/core/api/hooks/hooks.push.js.html +22 -10
  76. package/coverage/core/api/hooks/hooks.query.js.html +33 -6
  77. package/coverage/core/api/hooks/hooks.schemas.js.html +1 -1
  78. package/coverage/core/api/hooks/hooks.service.js.html +1 -1
  79. package/coverage/core/api/hooks/hooks.storage.js.html +1 -1
  80. package/coverage/core/api/hooks/hooks.tags.js.html +1 -1
  81. package/coverage/core/api/hooks/hooks.users.js.html +4 -4
  82. package/coverage/core/api/hooks/index.html +23 -23
  83. package/coverage/core/api/hooks/index.js.html +1 -1
  84. package/coverage/core/api/index.html +1 -1
  85. package/coverage/core/api/index.js.html +1 -1
  86. package/coverage/core/api/marshall.js.html +1 -1
  87. package/coverage/core/api/models/configurations.model.mongodb.js.html +1 -1
  88. package/coverage/core/api/models/index.html +1 -1
  89. package/coverage/core/api/models/messages.model.mongodb.js.html +1 -1
  90. package/coverage/core/api/models/tags.model.mongodb.js.html +1 -1
  91. package/coverage/core/api/models/users.model.mongodb.js.html +1 -1
  92. package/coverage/core/api/services/account/account.hooks.js.html +1 -1
  93. package/coverage/core/api/services/account/account.service.js.html +1 -1
  94. package/coverage/core/api/services/account/index.html +1 -1
  95. package/coverage/core/api/services/authorisations/authorisations.hooks.js.html +1 -1
  96. package/coverage/core/api/services/authorisations/authorisations.service.js.html +1 -1
  97. package/coverage/core/api/services/authorisations/index.html +1 -1
  98. package/coverage/core/api/services/configurations/configurations.hooks.js.html +1 -1
  99. package/coverage/core/api/services/configurations/index.html +1 -1
  100. package/coverage/core/api/services/databases/databases.hooks.js.html +1 -1
  101. package/coverage/core/api/services/databases/databases.service.js.html +1 -1
  102. package/coverage/core/api/services/databases/index.html +1 -1
  103. package/coverage/core/api/services/import-export/import-export.hooks.js.html +1 -1
  104. package/coverage/core/api/services/import-export/import-export.service.js.html +1 -1
  105. package/coverage/core/api/services/import-export/index.html +1 -1
  106. package/coverage/core/api/services/index.html +1 -1
  107. package/coverage/core/api/services/index.js.html +1 -1
  108. package/coverage/core/api/services/mailer/index.html +1 -1
  109. package/coverage/core/api/services/mailer/mailer.hooks.js.html +1 -1
  110. package/coverage/core/api/services/mailer/mailer.service.js.html +1 -1
  111. package/coverage/core/api/services/messages/index.html +1 -1
  112. package/coverage/core/api/services/messages/messages.hooks.js.html +1 -1
  113. package/coverage/core/api/services/push/index.html +1 -1
  114. package/coverage/core/api/services/push/push.hooks.js.html +1 -1
  115. package/coverage/core/api/services/push/push.service.js.html +1 -1
  116. package/coverage/core/api/services/storage/index.html +1 -1
  117. package/coverage/core/api/services/storage/storage.hooks.js.html +1 -1
  118. package/coverage/core/api/services/storage/storage.service.js.html +1 -1
  119. package/coverage/core/api/services/tags/index.html +1 -1
  120. package/coverage/core/api/services/tags/tags.hooks.js.html +1 -1
  121. package/coverage/core/api/services/users/index.html +1 -1
  122. package/coverage/core/api/services/users/users.hooks.js.html +1 -1
  123. package/coverage/core/api/services/users/users.service.js.html +1 -1
  124. package/coverage/core/common/errors.js.html +1 -1
  125. package/coverage/core/common/index.html +1 -1
  126. package/coverage/core/common/index.js.html +1 -1
  127. package/coverage/core/common/permissions.js.html +1 -1
  128. package/coverage/core/common/schema.js.html +1 -1
  129. package/coverage/core/common/utils.js.html +1 -1
  130. package/coverage/core/common/utils.offline.js.html +1 -1
  131. package/coverage/index.html +17 -17
  132. package/coverage/lcov-report/core/api/application.js.html +1 -1
  133. package/coverage/lcov-report/core/api/authentication.js.html +1 -1
  134. package/coverage/lcov-report/core/api/db.js.html +1 -1
  135. package/coverage/lcov-report/core/api/hooks/hooks.authentication.js.html +1 -1
  136. package/coverage/lcov-report/core/api/hooks/hooks.authorisations.js.html +1 -1
  137. package/coverage/lcov-report/core/api/hooks/hooks.logger.js.html +1 -1
  138. package/coverage/lcov-report/core/api/hooks/hooks.model.js.html +1 -1
  139. package/coverage/lcov-report/core/api/hooks/hooks.push.js.html +22 -10
  140. package/coverage/lcov-report/core/api/hooks/hooks.query.js.html +33 -6
  141. package/coverage/lcov-report/core/api/hooks/hooks.schemas.js.html +1 -1
  142. package/coverage/lcov-report/core/api/hooks/hooks.service.js.html +1 -1
  143. package/coverage/lcov-report/core/api/hooks/hooks.storage.js.html +1 -1
  144. package/coverage/lcov-report/core/api/hooks/hooks.tags.js.html +1 -1
  145. package/coverage/lcov-report/core/api/hooks/hooks.users.js.html +4 -4
  146. package/coverage/lcov-report/core/api/hooks/index.html +23 -23
  147. package/coverage/lcov-report/core/api/hooks/index.js.html +1 -1
  148. package/coverage/lcov-report/core/api/index.html +1 -1
  149. package/coverage/lcov-report/core/api/index.js.html +1 -1
  150. package/coverage/lcov-report/core/api/marshall.js.html +1 -1
  151. package/coverage/lcov-report/core/api/models/configurations.model.mongodb.js.html +1 -1
  152. package/coverage/lcov-report/core/api/models/index.html +1 -1
  153. package/coverage/lcov-report/core/api/models/messages.model.mongodb.js.html +1 -1
  154. package/coverage/lcov-report/core/api/models/tags.model.mongodb.js.html +1 -1
  155. package/coverage/lcov-report/core/api/models/users.model.mongodb.js.html +1 -1
  156. package/coverage/lcov-report/core/api/services/account/account.hooks.js.html +1 -1
  157. package/coverage/lcov-report/core/api/services/account/account.service.js.html +1 -1
  158. package/coverage/lcov-report/core/api/services/account/index.html +1 -1
  159. package/coverage/lcov-report/core/api/services/authorisations/authorisations.hooks.js.html +1 -1
  160. package/coverage/lcov-report/core/api/services/authorisations/authorisations.service.js.html +1 -1
  161. package/coverage/lcov-report/core/api/services/authorisations/index.html +1 -1
  162. package/coverage/lcov-report/core/api/services/configurations/configurations.hooks.js.html +1 -1
  163. package/coverage/lcov-report/core/api/services/configurations/index.html +1 -1
  164. package/coverage/lcov-report/core/api/services/databases/databases.hooks.js.html +1 -1
  165. package/coverage/lcov-report/core/api/services/databases/databases.service.js.html +1 -1
  166. package/coverage/lcov-report/core/api/services/databases/index.html +1 -1
  167. package/coverage/lcov-report/core/api/services/import-export/import-export.hooks.js.html +1 -1
  168. package/coverage/lcov-report/core/api/services/import-export/import-export.service.js.html +1 -1
  169. package/coverage/lcov-report/core/api/services/import-export/index.html +1 -1
  170. package/coverage/lcov-report/core/api/services/index.html +1 -1
  171. package/coverage/lcov-report/core/api/services/index.js.html +1 -1
  172. package/coverage/lcov-report/core/api/services/mailer/index.html +1 -1
  173. package/coverage/lcov-report/core/api/services/mailer/mailer.hooks.js.html +1 -1
  174. package/coverage/lcov-report/core/api/services/mailer/mailer.service.js.html +1 -1
  175. package/coverage/lcov-report/core/api/services/messages/index.html +1 -1
  176. package/coverage/lcov-report/core/api/services/messages/messages.hooks.js.html +1 -1
  177. package/coverage/lcov-report/core/api/services/push/index.html +1 -1
  178. package/coverage/lcov-report/core/api/services/push/push.hooks.js.html +1 -1
  179. package/coverage/lcov-report/core/api/services/push/push.service.js.html +1 -1
  180. package/coverage/lcov-report/core/api/services/storage/index.html +1 -1
  181. package/coverage/lcov-report/core/api/services/storage/storage.hooks.js.html +1 -1
  182. package/coverage/lcov-report/core/api/services/storage/storage.service.js.html +1 -1
  183. package/coverage/lcov-report/core/api/services/tags/index.html +1 -1
  184. package/coverage/lcov-report/core/api/services/tags/tags.hooks.js.html +1 -1
  185. package/coverage/lcov-report/core/api/services/users/index.html +1 -1
  186. package/coverage/lcov-report/core/api/services/users/users.hooks.js.html +1 -1
  187. package/coverage/lcov-report/core/api/services/users/users.service.js.html +1 -1
  188. package/coverage/lcov-report/core/common/errors.js.html +1 -1
  189. package/coverage/lcov-report/core/common/index.html +1 -1
  190. package/coverage/lcov-report/core/common/index.js.html +1 -1
  191. package/coverage/lcov-report/core/common/permissions.js.html +1 -1
  192. package/coverage/lcov-report/core/common/schema.js.html +1 -1
  193. package/coverage/lcov-report/core/common/utils.js.html +1 -1
  194. package/coverage/lcov-report/core/common/utils.offline.js.html +1 -1
  195. package/coverage/lcov-report/index.html +17 -17
  196. package/coverage/lcov-report/map/api/hooks/hooks.catalog.js.html +1 -1
  197. package/coverage/lcov-report/map/api/hooks/hooks.features.js.html +1 -1
  198. package/coverage/lcov-report/map/api/hooks/hooks.query.js.html +184 -4
  199. package/coverage/lcov-report/map/api/hooks/index.html +5 -5
  200. package/coverage/lcov-report/map/api/hooks/index.js.html +1 -1
  201. package/coverage/lcov-report/map/api/index.html +1 -1
  202. package/coverage/lcov-report/map/api/index.js.html +1 -1
  203. package/coverage/lcov-report/map/api/marshall.js.html +1 -1
  204. package/coverage/lcov-report/map/api/models/alerts.model.mongodb.js.html +1 -1
  205. package/coverage/lcov-report/map/api/models/catalog.model.mongodb.js.html +1 -1
  206. package/coverage/lcov-report/map/api/models/features.model.mongodb.js.html +1 -1
  207. package/coverage/lcov-report/map/api/models/index.html +1 -1
  208. package/coverage/lcov-report/map/api/models/projects.model.mongodb.js.html +1 -1
  209. package/coverage/lcov-report/map/api/models/styles.model.mongodb.js.html +1 -1
  210. package/coverage/lcov-report/map/api/services/alerts/alerts.hooks.js.html +1 -1
  211. package/coverage/lcov-report/map/api/services/alerts/alerts.service.js.html +1 -1
  212. package/coverage/lcov-report/map/api/services/alerts/index.html +1 -1
  213. package/coverage/lcov-report/map/api/services/catalog/catalog.hooks.js.html +1 -1
  214. package/coverage/lcov-report/map/api/services/catalog/index.html +1 -1
  215. package/coverage/lcov-report/map/api/services/daptiles/daptiles.service.js.html +1 -1
  216. package/coverage/lcov-report/map/api/services/daptiles/index.html +1 -1
  217. package/coverage/lcov-report/map/api/services/features/features.hooks.js.html +1 -1
  218. package/coverage/lcov-report/map/api/services/features/features.service.js.html +1 -1
  219. package/coverage/lcov-report/map/api/services/features/index.html +1 -1
  220. package/coverage/lcov-report/map/api/services/index.html +1 -1
  221. package/coverage/lcov-report/map/api/services/index.js.html +1 -1
  222. package/coverage/lcov-report/map/api/services/projects/index.html +1 -1
  223. package/coverage/lcov-report/map/api/services/projects/projects.hooks.js.html +1 -1
  224. package/coverage/lcov-report/map/api/services/styles/index.html +1 -1
  225. package/coverage/lcov-report/map/api/services/styles/styles.hooks.js.html +1 -1
  226. package/coverage/lcov-report/map/common/dynamic-grid-source.js.html +1 -1
  227. package/coverage/lcov-report/map/common/errors.js.html +1 -1
  228. package/coverage/lcov-report/map/common/geotiff-grid-source.js.html +1 -1
  229. package/coverage/lcov-report/map/common/grid.js.html +1 -1
  230. package/coverage/lcov-report/map/common/index.html +1 -1
  231. package/coverage/lcov-report/map/common/index.js.html +1 -1
  232. package/coverage/lcov-report/map/common/meteo-model-grid-source.js.html +1 -1
  233. package/coverage/lcov-report/map/common/moment-utils.js.html +1 -1
  234. package/coverage/lcov-report/map/common/opendap-grid-source.js.html +1 -1
  235. package/coverage/lcov-report/map/common/opendap-utils.js.html +1 -1
  236. package/coverage/lcov-report/map/common/permissions.js.html +1 -1
  237. package/coverage/lcov-report/map/common/time-based-grid-source.js.html +1 -1
  238. package/coverage/lcov-report/map/common/tms-utils.js.html +1 -1
  239. package/coverage/lcov-report/map/common/wcs-grid-source.js.html +1 -1
  240. package/coverage/lcov-report/map/common/wcs-utils.js.html +1 -1
  241. package/coverage/lcov-report/map/common/weacast-grid-source.js.html +1 -1
  242. package/coverage/lcov-report/map/common/wfs-utils.js.html +1 -1
  243. package/coverage/lcov-report/map/common/wms-utils.js.html +1 -1
  244. package/coverage/lcov-report/map/common/wmts-utils.js.html +1 -1
  245. package/coverage/lcov.info +358 -280
  246. package/coverage/map/api/hooks/hooks.catalog.js.html +1 -1
  247. package/coverage/map/api/hooks/hooks.features.js.html +1 -1
  248. package/coverage/map/api/hooks/hooks.query.js.html +184 -4
  249. package/coverage/map/api/hooks/index.html +5 -5
  250. package/coverage/map/api/hooks/index.js.html +1 -1
  251. package/coverage/map/api/index.html +1 -1
  252. package/coverage/map/api/index.js.html +1 -1
  253. package/coverage/map/api/marshall.js.html +1 -1
  254. package/coverage/map/api/models/alerts.model.mongodb.js.html +1 -1
  255. package/coverage/map/api/models/catalog.model.mongodb.js.html +1 -1
  256. package/coverage/map/api/models/features.model.mongodb.js.html +1 -1
  257. package/coverage/map/api/models/index.html +1 -1
  258. package/coverage/map/api/models/projects.model.mongodb.js.html +1 -1
  259. package/coverage/map/api/models/styles.model.mongodb.js.html +1 -1
  260. package/coverage/map/api/services/alerts/alerts.hooks.js.html +1 -1
  261. package/coverage/map/api/services/alerts/alerts.service.js.html +1 -1
  262. package/coverage/map/api/services/alerts/index.html +1 -1
  263. package/coverage/map/api/services/catalog/catalog.hooks.js.html +1 -1
  264. package/coverage/map/api/services/catalog/index.html +1 -1
  265. package/coverage/map/api/services/daptiles/daptiles.service.js.html +1 -1
  266. package/coverage/map/api/services/daptiles/index.html +1 -1
  267. package/coverage/map/api/services/features/features.hooks.js.html +1 -1
  268. package/coverage/map/api/services/features/features.service.js.html +1 -1
  269. package/coverage/map/api/services/features/index.html +1 -1
  270. package/coverage/map/api/services/index.html +1 -1
  271. package/coverage/map/api/services/index.js.html +1 -1
  272. package/coverage/map/api/services/projects/index.html +1 -1
  273. package/coverage/map/api/services/projects/projects.hooks.js.html +1 -1
  274. package/coverage/map/api/services/styles/index.html +1 -1
  275. package/coverage/map/api/services/styles/styles.hooks.js.html +1 -1
  276. package/coverage/map/common/dynamic-grid-source.js.html +1 -1
  277. package/coverage/map/common/errors.js.html +1 -1
  278. package/coverage/map/common/geotiff-grid-source.js.html +1 -1
  279. package/coverage/map/common/grid.js.html +1 -1
  280. package/coverage/map/common/index.html +1 -1
  281. package/coverage/map/common/index.js.html +1 -1
  282. package/coverage/map/common/meteo-model-grid-source.js.html +1 -1
  283. package/coverage/map/common/moment-utils.js.html +1 -1
  284. package/coverage/map/common/opendap-grid-source.js.html +1 -1
  285. package/coverage/map/common/opendap-utils.js.html +1 -1
  286. package/coverage/map/common/permissions.js.html +1 -1
  287. package/coverage/map/common/time-based-grid-source.js.html +1 -1
  288. package/coverage/map/common/tms-utils.js.html +1 -1
  289. package/coverage/map/common/wcs-grid-source.js.html +1 -1
  290. package/coverage/map/common/wcs-utils.js.html +1 -1
  291. package/coverage/map/common/weacast-grid-source.js.html +1 -1
  292. package/coverage/map/common/wfs-utils.js.html +1 -1
  293. package/coverage/map/common/wms-utils.js.html +1 -1
  294. package/coverage/map/common/wmts-utils.js.html +1 -1
  295. package/coverage/tmp/coverage-1028514-1773134124472-0.json +1 -0
  296. package/coverage/tmp/coverage-1028526-1773134124448-0.json +1 -0
  297. package/coverage/tmp/coverage-1028537-1773134124431-0.json +1 -0
  298. package/coverage/tmp/coverage-1028549-1773134124401-0.json +1 -0
  299. package/coverage/tmp/{coverage-222566-1765963609278-0.json → coverage-1028556-1773134124353-0.json} +1 -1
  300. package/extras/configs/widgets.top.js +3 -3
  301. package/extras/tests/core/collection.mjs +2 -9
  302. package/map/api/hooks/hooks.catalog.js +18 -4
  303. package/map/api/services/catalog/catalog.hooks.js +3 -0
  304. package/map/api/services/features/features.hooks.js +3 -1
  305. package/map/api/services/index.js +2 -6
  306. package/map/api/services/styles/styles.hooks.js +6 -1
  307. package/map/client/components/KFeatureActionButton.vue +9 -3
  308. package/map/client/components/KFeaturesFilterManager.vue +5 -5
  309. package/map/client/components/KFilterCondition.vue +17 -10
  310. package/map/client/components/KLayerEditor.vue +49 -39
  311. package/map/client/components/KMeasureTool.vue +7 -1
  312. package/map/client/components/KTimezoneMap.vue +29 -9
  313. package/map/client/components/catalog/KLayersPanel.vue +26 -16
  314. package/map/client/components/catalog/KLayersSelector.vue +13 -2
  315. package/map/client/components/catalog/KViewsPanel.vue +5 -4
  316. package/map/client/components/form/KSelectLayersField.vue +28 -17
  317. package/map/client/components/form/KSelectViewsField.vue +18 -9
  318. package/map/client/components/form/KTimezoneField.vue +1 -2
  319. package/map/client/components/legend/KVariablesLegend.vue +10 -1
  320. package/map/client/components/location/KLocationCardSection.vue +7 -2
  321. package/map/client/components/location/KLocationMap.vue +31 -7
  322. package/map/client/components/selection/KSelectedLayerFeatures.vue +2 -2
  323. package/map/client/components/stickies/KZoomControl.vue +1 -1
  324. package/map/client/components/styles/KStyleManager.vue +4 -1
  325. package/map/client/components/widget/KTimeSeries.vue +174 -497
  326. package/map/client/components/widget/KTimeSeriesSelector.vue +72 -0
  327. package/map/client/components/widget/KTimeSeriesToolbar.vue +83 -0
  328. package/map/client/composables/catalog.js +6 -10
  329. package/map/client/composables/highlight.js +12 -9
  330. package/map/client/composables/project.js +1 -1
  331. package/map/client/composables/selection.js +8 -7
  332. package/map/client/composables/weather.js +9 -2
  333. package/map/client/geolocation.js +8 -5
  334. package/map/client/i18n/map_en.json +10 -8
  335. package/map/client/i18n/map_fr.json +9 -7
  336. package/map/client/leaflet/TiledFeatureLayer.js +85 -82
  337. package/map/client/leaflet/utils/utils.geojson.js +3 -3
  338. package/map/client/mixins/globe/mixin.base-globe.js +15 -6
  339. package/map/client/mixins/globe/mixin.geojson-layers.js +27 -18
  340. package/map/client/mixins/map/mixin.edit-layers.js +9 -1
  341. package/map/client/mixins/map/mixin.pmtiles-layers.js +118 -29
  342. package/map/client/mixins/map/mixin.tiled-mesh-layers.js +12 -5
  343. package/map/client/mixins/map/mixin.tiled-wind-layers.js +19 -10
  344. package/map/client/mixins/mixin.activity.js +23 -30
  345. package/map/client/mixins/mixin.feature-selection.js +41 -5
  346. package/map/client/planets.js +1 -1
  347. package/map/client/readers/reader.kml.js +2 -3
  348. package/map/client/utils/utils.catalog.js +36 -10
  349. package/map/client/utils/utils.layers.js +39 -8
  350. package/map/client/utils/utils.project.js +4 -0
  351. package/map/client/utils/utils.style.js +37 -7
  352. package/map/client/utils/utils.time-series.js +215 -6
  353. package/map/common/schemas/catalog.update.json +1 -1
  354. package/map/common/weacast-grid-source.js +1 -1
  355. package/package.json +3 -3
  356. package/scripts/kash/CHANGELOG.md +0 -4
  357. package/scripts/kash/README.md +0 -9
  358. package/scripts/kash/kash.sh +45 -40
  359. package/scripts/kash/scripts/run_tests.sh +1 -4
  360. package/test/api/core/authentication.test.js +9 -4
  361. package/test/api/core/config/default.cjs +1 -0
  362. package/test/api/core/hooks.test.js +6 -0
  363. package/test/api/core/index.test.js +43 -18
  364. package/test/api/core/push.test.js +8 -8
  365. package/test/api/core/test-log-2026-03-10.log +60 -0
  366. package/test/api/core/users.test.js +384 -0
  367. package/test/api/map/grid-sources.test.js +1 -1
  368. package/test/api/map/test-log-2026-03-10.log +56 -0
  369. package/vite/package.json +11 -2
  370. package/vite/test/core/composables.test.js +77 -0
  371. package/vite/vitest.config.js +13 -0
  372. package/vite/yarn.lock +1096 -18
  373. package/client/css/core.variables.scss +0 -72
  374. package/client/i18n/core_en.json +0 -744
  375. package/client/i18n/core_fr.json +0 -744
  376. package/client/i18n/map_en.json +0 -800
  377. package/client/i18n/map_fr.json +0 -800
  378. package/client/kdk.client.css +0 -47
  379. package/client/kdk.client.js +0 -41097
  380. package/client/kdk.client.map.css +0 -47
  381. package/client/kdk.client.map.js +0 -38182
  382. package/client/kdk.client.map.min.css +0 -1
  383. package/client/kdk.client.map.min.js +0 -27032
  384. package/client/kdk.client.min.css +0 -1
  385. package/client/kdk.client.min.js +0 -29074
  386. package/client/schemas/capture.create.json +0 -132
  387. package/client/schemas/catalog.update.json +0 -44
  388. package/client/schemas/messages.update.json +0 -16
  389. package/client/schemas/projects.create.json +0 -52
  390. package/client/schemas/projects.update.json +0 -52
  391. package/client/schemas/settings.update.json +0 -286
  392. package/client/schemas/tags.update.json +0 -35
  393. package/client/schemas/users.update-profile.json +0 -34
  394. package/core/client/components/account/KAccount.vue +0 -68
  395. package/core/client/components/account/KDeleteAccountManager.vue +0 -62
  396. package/core/client/components/account/KEmailManager.vue +0 -128
  397. package/core/client/components/account/KPasswordManager.vue +0 -90
  398. package/core/client/components/account/KVerifyEmailManager.vue +0 -105
  399. package/core/client/components/collection/KColumn.vue +0 -227
  400. package/core/client/components/collection/KHistory.vue +0 -113
  401. package/core/client/components/collection/KHistoryEntry.vue +0 -109
  402. package/coverage/tmp/coverage-222524-1765963609350-0.json +0 -1
  403. package/coverage/tmp/coverage-222536-1765963609335-0.json +0 -1
  404. package/coverage/tmp/coverage-222547-1765963609324-0.json +0 -1
  405. package/coverage/tmp/coverage-222559-1765963609309-0.json +0 -1
  406. package/scripts/kash/LICENSE +0 -21
  407. package/test/api/core/test-log-2025-07-31.log +0 -15
  408. package/test/api/core/test-log-2025-10-03.log +0 -18
  409. package/test/api/core/test-log-2025-11-10.log +0 -0
  410. package/test/api/core/test-log-2025-11-12.log +0 -117
  411. package/test/api/core/test-log-2025-11-27.log +0 -0
  412. package/test/api/core/test-log-2025-11-28.log +0 -17
  413. package/test/api/core/test-log-2025-12-09.log +0 -148
  414. package/test/api/core/test-log-2025-12-17.log +0 -58
  415. package/test/api/core/test-log-2026-01-29.log +0 -17
  416. package/test/api/map/test-log-2025-07-23.log +0 -1
  417. package/test/api/map/test-log-2025-11-28.log +0 -33
  418. package/test/api/map/test-log-2025-12-10.log +0 -2
  419. package/test/api/map/test-log-2026-01-06.log +0 -26
@@ -1,132 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://www.kalisio.xyz/schemas/capture.create.json#",
4
- "description": "Capture schema",
5
- "type": "object",
6
- "groups": {
7
- "group-advanced-settings": {
8
- "label": "schemas.CAPTURE_ADVANCED_SETTINGS"
9
- }
10
- },
11
- "properties": {
12
- "resolution": {
13
- "type": "object",
14
- "label": "resolution",
15
- "field": {
16
- "component": "form/KResolutionField",
17
- "label": "schemas.CAPTURE_RESOLUTION_FIELD_LABEL"
18
- }
19
- },
20
- "format": {
21
- "type": "string",
22
- "default": "png",
23
- "field": {
24
- "component": "form/KSelectField",
25
- "label": "schemas.CAPTURE_FORMAT_FIELD_LABEL",
26
- "options": [
27
- { "label": "schemas.CAPTURE_PNG_FORMAT_FIELD_LABEL", "value": "png" },
28
- { "label": "schemas.CAPTURE_PDF_FORMAT_FIELD_LABEL", "value": "pdf" }
29
- ]
30
- }
31
- },
32
- "header": {
33
- "type": ["string", "null"],
34
- "maxLength": 200,
35
- "toolbar": {
36
- "xs": [
37
- ["bold", "italic", "underline", "strike", "align"],
38
- [{
39
- "label": "",
40
- "icon": "format_align_left",
41
- "list": "only-icons",
42
- "options": ["left", "center", "right"]
43
- }],
44
- ["undo", "redo"]
45
- ],
46
- "gt.xs": [
47
- ["bold", "italic", "underline", "strike", "align"],
48
- [{
49
- "label": "",
50
- "icon": "format_align_left",
51
- "list": "only-icons",
52
- "options": ["left", "center", "right"]
53
- }],
54
- ["undo", "redo"]
55
- ]
56
- },
57
- "field": {
58
- "component": "form/KTextareaField",
59
- "label": "schemas.CAPTURE_HEADER_FIELD_LABEL"
60
- }
61
- },
62
- "footer": {
63
- "type": ["string", "null"],
64
- "toolbar": {
65
- "xs": [
66
- ["bold", "italic", "underline", "strike", "align"],
67
- [{
68
- "label": "",
69
- "icon": "format_align_left",
70
- "list": "only-icons",
71
- "options": ["left", "center", "right"]
72
- }],
73
- ["undo", "redo"]
74
- ],
75
- "gt.xs": [
76
- ["bold", "italic", "underline", "strike", "align"],
77
- [{
78
- "label": "",
79
- "icon": "format_align_left",
80
- "list": "only-icons",
81
- "options": ["left", "center", "right"]
82
- }],
83
- ["undo", "redo"]
84
- ]
85
- },
86
- "field": {
87
- "component": "form/KTextareaField",
88
- "label": "schemas.CAPTURE_FOOTER_FIELD_LABEL"
89
- }
90
- },
91
- "legend": {
92
- "type": "string",
93
- "default": "none",
94
- "field": {
95
- "component": "form/KSelectField",
96
- "label": "schemas.CAPTURE_LEGEND_POSITION_FIELD_LABEL",
97
- "options": [
98
- { "label": "schemas.CAPTURE_NOT_DISPLAYED_FIELD_LABEL", "value": "none" },
99
- { "label": "schemas.CAPTURE_LEFT_POSITION_FIELD_LABEL", "value": "left" },
100
- { "label": "schemas.CAPTURE_RIGHT_POSITION_FIELD_LABEL", "value": "right" }
101
- ]
102
- }
103
- },
104
- "north": {
105
- "type": "string",
106
- "default": "none",
107
- "field": {
108
- "component": "form/KSelectField",
109
- "label": "schemas.CAPTURE_COMPASS_POSITION_FIELD_LABEL",
110
- "options": [
111
- { "label": "schemas.CAPTURE_NOT_DISPLAYED_FIELD_LABEL", "value": "none" },
112
- { "label": "schemas.CAPTURE_TOP_LEFT_POSITION_FIELD_LABEL", "value": "top-left" },
113
- { "label": "schemas.CAPTURE_TOP_RIGHT_POSITION_FIELD_LABEL", "value": "top-right" },
114
- { "label": "schemas.CAPTURE_BOTTOM_RIGHT_POSITION_FIELD_LABEL", "value": "bottom-right" },
115
- { "label": "schemas.CAPTURE_BOTTOM_LEFT_POSITION_FIELD_LABEL", "value": "bottom-left" }
116
- ]
117
- }
118
- },
119
- "dateTime": {
120
- "type": "object",
121
- "group": "group-advanced-settings",
122
- "default": { "start": "2023-11-17T23:00:00.000Z", "end": "2023-12-17T23:00:00.000Z"},
123
- "field": {
124
- "component": "form/KDateTimeRangeField",
125
- "min": "2022-12-31T23:00:00.000Z",
126
- "max": "2023-12-17T23:00:00.000Z",
127
- "label": "schemas.CAPTURE_DATETIME_RANGE_FIELD_LABEL"
128
- }
129
- }
130
- },
131
- "required": ["resolution", "north", "legend", "format"]
132
- }
@@ -1,44 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://www.kalisio.xyz/schemas/catalog.update.json#",
4
- "title": "schemas.OBJECT_NAME",
5
- "description": "Layer edition schema",
6
- "type": "object",
7
- "properties": {
8
- "name": {
9
- "type": "string",
10
- "maxLength": 128,
11
- "minLength": 3,
12
- "field": {
13
- "component": "form/KTextField",
14
- "label": "schemas.CATALOG_NAME_FIELD_LABEL"
15
- }
16
- },
17
- "description": {
18
- "type": ["string", "null"],
19
- "maxLength": 4096,
20
- "field": {
21
- "component": "form/KTextField",
22
- "label": "schemas.CATALOG_DESCRIPTION_FIELD_LABEL"
23
- }
24
- },
25
- "featureId": {
26
- "type": ["string", "null"],
27
- "maxLength": 256,
28
- "field": {
29
- "component": "form/KTextField",
30
- "label": "schemas.CATALOG_FEATURE_ID_FIELD_LABEL"
31
- }
32
- },
33
- "featureLabel": {
34
- "type": ["string", "null"],
35
- "maxLength": 256,
36
- "field": {
37
- "component": "form/KTextField",
38
- "label": "schemas.CATALOG_FEATURE_LABEL_FIELD_LABEL"
39
- }
40
- }
41
- },
42
- "required": ["name"]
43
- }
44
-
@@ -1,16 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "/schemas/messages.edit.json",
4
- "description": "Messages edition schema",
5
- "type": "object",
6
- "properties": {
7
- "body": {
8
- "type": "string",
9
- "minLength": 1,
10
- "field": {
11
- "component": "form/KTextareaField"
12
- }
13
- }
14
- },
15
- "required": ["body"]
16
- }
@@ -1,52 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://www.kalisio.xyz/schemas/projects.create.json#",
4
- "title": "schemas.PROJECT_CREATE_TITLE",
5
- "description": "Project creation schema",
6
- "type": "object",
7
- "properties": {
8
- "name": {
9
- "type": "string",
10
- "maxLength": 128,
11
- "minLength": 3,
12
- "field": {
13
- "component": "form/KTextField",
14
- "label": "schemas.PROJECT_NAME_FIELD_LABEL"
15
- }
16
- },
17
- "description": {
18
- "type": ["string", "null"],
19
- "maxLength": 2048,
20
- "field": {
21
- "component": "form/KTextField",
22
- "label": "schemas.PROJECT_DESCRIPTION_FIELD_LABEL"
23
- }
24
- },
25
- "layers": {
26
- "type": "array",
27
- "field": {
28
- "component": "form/KSelectLayersField",
29
- "label": "schemas.PROJECT_LAYERS_FIELD_LABEL"
30
- }
31
- },
32
- "views": {
33
- "type": "array",
34
- "field": {
35
- "component": "form/KSelectViewsField",
36
- "label": "schemas.PROJECT_VIEWS_FIELD_LABEL"
37
- }
38
- },
39
- "identifier": {
40
- "type": ["string", "null"],
41
- "maxLength": 128,
42
- "minLength": 3,
43
- "field": {
44
- "component": "form/KTextField",
45
- "label": "schemas.PROJECT_INDENTIFIER_FIELD_LABEL"
46
- }
47
- }
48
- },
49
- "required": [
50
- "name", "layers"
51
- ]
52
- }
@@ -1,52 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://www.kalisio.xyz/schemas/projects.update.json#",
4
- "title": "schemas.OBJECT_NAME",
5
- "description": "Project edition schema",
6
- "type": "object",
7
- "properties": {
8
- "name": {
9
- "type": "string",
10
- "maxLength": 128,
11
- "minLength": 3,
12
- "field": {
13
- "component": "form/KTextField",
14
- "label": "schemas.PROJECT_NAME_FIELD_LABEL"
15
- }
16
- },
17
- "description": {
18
- "type": ["string", "null"],
19
- "maxLength": 2048,
20
- "field": {
21
- "component": "form/KTextField",
22
- "label": "schemas.PROJECT_DESCRIPTION_FIELD_LABEL"
23
- }
24
- },
25
- "layers": {
26
- "type": "array",
27
- "field": {
28
- "component": "form/KSelectLayersField",
29
- "label": "schemas.PROJECT_LAYERS_FIELD_LABEL"
30
- }
31
- },
32
- "views": {
33
- "type": "array",
34
- "field": {
35
- "component": "form/KSelectViewsField",
36
- "label": "schemas.PROJECT_VIEWS_FIELD_LABEL"
37
- }
38
- },
39
- "identifier": {
40
- "type": ["string", "null"],
41
- "maxLength": 128,
42
- "minLength": 3,
43
- "field": {
44
- "component": "form/KTextField",
45
- "label": "schemas.PROJECT_INDENTIFIER_FIELD_LABEL"
46
- }
47
- }
48
- },
49
- "required": [
50
- "name", "layers"
51
- ]
52
- }
@@ -1,286 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://www.kalisio.xyz/schemas/settings.update.json#",
4
- "title": "schemas.UPDATE_SETTINGS_TITLE",
5
- "type": "object",
6
- "groups": {
7
- "group-time": { "label": "schemas.TIME_FORMAT_SETTINGS" },
8
- "group-timeline": { "label": "schemas.TIMELINE_SETTINGS" },
9
- "group-timeseries": { "label": "schemas.TIMESERIES_SETTINGS" },
10
- "group-map": { "label": "schemas.MAP_SETTINGS" },
11
- "group-units": { "label": "schemas.UNITS_SETTINGS" },
12
- "group-notation": { "label": "schemas.NOTATION_SETTINGS" }
13
- },
14
- "properties": {
15
- "shortTime": {
16
- "type": "string",
17
- "group": "group-time",
18
- "field": {
19
- "component": "form/KTextField",
20
- "label": "schemas.TIME_FORMAT_SHORT_TIME_FIELD_LABEL",
21
- "helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
22
- }
23
- },
24
- "longTime": {
25
- "type": "string",
26
- "group": "group-time",
27
- "field": {
28
- "component": "form/KTextField",
29
- "label": "schemas.TIME_FORMAT_LONG_TIME_FIELD_LABEL",
30
- "helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
31
- }
32
- },
33
- "shortDate": {
34
- "type": "string",
35
- "group": "group-time",
36
- "field": {
37
- "component": "form/KTextField",
38
- "label": "schemas.TIME_FORMAT_SHORT_DATE_FIELD_LABEL",
39
- "helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
40
-
41
- }
42
- },
43
- "longDate": {
44
- "type": "string",
45
- "group": "group-time",
46
- "field": {
47
- "component": "form/KTextField",
48
- "label": "schemas.TIME_FORMAT_LONG_DATE_FIELD_LABEL",
49
- "helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
50
- }
51
- },
52
- "shortYear": {
53
- "type": "string",
54
- "group": "group-time",
55
- "field": {
56
- "component": "form/KTextField",
57
- "label": "schemas.TIME_FORMAT_SHORT_YEAR_FIELD_LABEL",
58
- "helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
59
- }
60
- },
61
- "longYear": {
62
- "type": "string",
63
- "group": "group-time",
64
- "field": {
65
- "component": "form/KTextField",
66
- "label": "schemas.TIME_FORMAT_LONG_YEAR_FIELD_LABEL",
67
- "helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
68
- }
69
- },
70
- "timezone": {
71
- "type": "string",
72
- "group": "group-time",
73
- "field": {
74
- "component": "form/KTimezoneField",
75
- "label": "schemas.TIME_FORMAT_TIMEZONE_FIELD_LABEL"
76
- }
77
- },
78
- "timelineStep": {
79
- "type": "number",
80
- "group": "group-timeline",
81
- "field": {
82
- "component": "form/KSelectField",
83
- "label": "schemas.TIMELINE_STEP",
84
- "options": [
85
- { "label": "5m", "value": 5 },
86
- { "label": "10m", "value": 10 },
87
- { "label": "12m", "value": 12 },
88
- { "label": "15m", "value": 15 },
89
- { "label": "20m", "value": 20 },
90
- { "label": "30m", "value": 30 },
91
- { "label": "1H", "value": 60, "selected": true },
92
- { "label": "3H", "value": 180 },
93
- { "label": "6H", "value": 360 },
94
- { "label": "12H", "value": 720 },
95
- { "label": "24H", "value": 1440 }
96
- ],
97
- "clearable": false
98
- }
99
- },
100
- "timelineInterval": {
101
- "type": "number",
102
- "group": "group-timeline",
103
- "field": {
104
- "component": "form/KSelectField",
105
- "label": "schemas.TIMELINE_INTERVAL",
106
- "options": [
107
- { "label": "10s", "value": 10 },
108
- { "label": "30s", "value": 30 },
109
- { "label": "1m", "value": 60, "selected": true },
110
- { "label": "5m", "value": 300 },
111
- { "label": "10m", "value": 600 },
112
- { "label": "15m", "value": 900 },
113
- { "label": "30m", "value": 1800 }
114
- ],
115
- "clearable": false
116
- }
117
- },
118
- "timeseriesSpan": {
119
- "type": "number",
120
- "group": "group-timeseries",
121
- "field": {
122
- "component": "form/KSelectField",
123
- "label": "schemas.TIMESERIES_SPAN",
124
- "options": [
125
- { "label": "3H", "value": 180 },
126
- { "label": "6H", "value": 360 },
127
- { "label": "12H", "value": 720 },
128
- { "label": "24H", "value": 1440, "selected": true },
129
- { "label": "48H", "value": 2880 },
130
- { "label": "72H", "value": 4320 },
131
- { "label": "96H", "value": 5760 }
132
- ],
133
- "clearable": false
134
- }
135
- },
136
- "timeseriesGroupBy": {
137
- "type": "string",
138
- "group": "group-timeseries",
139
- "field": {
140
- "component": "form/KSelectField",
141
- "label": "schemas.TIMESERIES_GROUP_BY",
142
- "options": [
143
- { "label": "schemas.TIMESERIES_GROUP_BY_VARIABLE", "value": "variable" },
144
- { "label": "schemas.TIMESERIES_GROUP_BY_FEATURE", "value": "feature", "selected": true }
145
- ],
146
- "clearable": false
147
- }
148
- },
149
- "restoreView": {
150
- "type": "boolean",
151
- "group": "group-map",
152
- "field": {
153
- "component": "form/KToggleField",
154
- "label": "schemas.RESTORE_VIEW_FIELD_LABEL"
155
- }
156
- },
157
- "restoreLayers": {
158
- "type": "boolean",
159
- "group": "group-map",
160
- "field": {
161
- "component": "form/KToggleField",
162
- "label": "schemas.RESTORE_LAYERS_FIELD_LABEL"
163
- }
164
- },
165
- "location": {
166
- "type": "string",
167
- "group": "group-map",
168
- "field": {
169
- "component": "form/KTextField",
170
- "label": "schemas.LOCATION_FORMAT_LABEL",
171
- "helper": { "icon": "las la-question-circle", "url": "https://github.com/nerik/formatcoords#formatting" }
172
- }
173
- },
174
- "navigator": {
175
- "type": "string",
176
- "group": "group-map",
177
- "field": {
178
- "component": "form/KSelectField",
179
- "label": "schemas.NAVIGATOR_APP_LABEL",
180
- "options": [
181
- { "label": "Waze", "value": "waze" },
182
- { "label": "Google Maps", "value": "google-maps" },
183
- { "label": "Apple Plan", "value": "apple-plan" }
184
- ],
185
- "clearable": false
186
- }
187
- },
188
- "defaultLength": {
189
- "type": "string",
190
- "group": "group-units",
191
- "field": {
192
- "component": "form/KUnitField",
193
- "label": "schemas.LENGTH_FIELD_LABEL",
194
- "quantity": "length"
195
- }
196
- },
197
- "defaultAltitude": {
198
- "type": "string",
199
- "group": "group-units",
200
- "field": {
201
- "component": "form/KUnitField",
202
- "label": "schemas.ALTITUDE_FIELD_LABEL",
203
- "quantity": "altitude"
204
- }
205
- },
206
- "defaultArea": {
207
- "type": "string",
208
- "group": "group-units",
209
- "field": {
210
- "component": "form/KUnitField",
211
- "label": "schemas.AREA_FIELD_LABEL",
212
- "quantity": "area"
213
- }
214
- },
215
- "defaultVelocity": {
216
- "type": "string",
217
- "group": "group-units",
218
- "field": {
219
- "component": "form/KUnitField",
220
- "label": "schemas.VELOCITY_FIELD_LABEL",
221
- "quantity": "velocity"
222
- }
223
- },
224
- "defaultTemperature": {
225
- "type": "string",
226
- "group": "group-units",
227
- "field": {
228
- "component": "form/KUnitField",
229
- "label": "schemas.TEMPERATURE_FIELD_LABEL",
230
- "quantity": "temperature"
231
- }
232
- },
233
- "defaultAngle": {
234
- "type": "string",
235
- "group": "group-units",
236
- "field": {
237
- "component": "form/KUnitField",
238
- "label": "schemas.ANGLE_FIELD_LABEL",
239
- "quantity": "angle"
240
- }
241
- },
242
- "defaultEquivalentDoseRate": {
243
- "type": "string",
244
- "group": "group-units",
245
- "field": {
246
- "component": "form/KUnitField",
247
- "label": "schemas.EQUIVALENT_DOSE_RATE_FIELD_LABEL",
248
- "quantity": "equivalentDoseRate"
249
- }
250
- },
251
- "defaultNotation": {
252
- "type": "string",
253
- "group": "group-notation",
254
- "field": {
255
- "component": "form/KSelectField",
256
- "label": "schemas.NOTATION_FIELD_LABEL",
257
- "options": [
258
- { "label": "schemas.AUTO_NOTATION_FIELD_LABEL", "value": "auto", "selected": true },
259
- { "label": "schemas.FIXED_NOTATION_FIELD_LABEL", "value": "fixed" },
260
- { "label": "schemas.EXPONENTIAL_NOTATION_FIELD_LABEL", "value": "exponential" }
261
- ],
262
- "clearable": false
263
- }
264
- },
265
- "defaultPrecision": {
266
- "type": "number",
267
- "group": "group-notation",
268
- "minimum": 0,
269
- "maximum": 6,
270
- "field": {
271
- "component": "form/KNumberField",
272
- "label": "schemas.PRECISION_FIELD_LABEL"
273
- }
274
- }
275
- },
276
- "required": [
277
- "shortTime",
278
- "longTime",
279
- "shortDate",
280
- "longDate",
281
- "shortYear",
282
- "longYear",
283
- "timezone",
284
- "location"
285
- ]
286
- }
@@ -1,35 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://kalisio.xyz/schemas/tags.update.json#",
4
- "title": "schemas.OBJECT_NAME",
5
- "description": "Tags update schema",
6
- "type": "object",
7
- "properties": {
8
- "name": {
9
- "type": "string",
10
- "maxLength": 128,
11
- "minLength": 3,
12
- "field": {
13
- "component": "form/KTextField",
14
- "label": "KTagManager.TAG_NAME"
15
- }
16
- },
17
- "description": {
18
- "type": ["string", "null"],
19
- "field": {
20
- "component": "form/KTextField",
21
- "label": "KTagManager.TAG_DESCRIPTION"
22
- }
23
- },
24
- "color": {
25
- "type": "string",
26
- "default": "grey-3",
27
- "field": {
28
- "component": "form/KColorField",
29
- "label": "KTagManager.TAG_COLOR",
30
- "clearable": false
31
- }
32
- }
33
- },
34
- "required": ["name", "color"]
35
- }
@@ -1,34 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://kalisio.xyz/schemas/users.update-profile.json#",
4
- "title": "schemas.OBJECT_NAME",
5
- "description": "User profile",
6
- "type": "object",
7
- "properties": {
8
- "name": {
9
- "type": "string",
10
- "maxLength": 128,
11
- "minLength": 3,
12
- "field": {
13
- "component": "form/KTextField",
14
- "label": "schemas.NAME_FIELD_LABEL"
15
- }
16
- },
17
- "avatar": {
18
- "type": "object",
19
- "field": {
20
- "component": "form/KFileField",
21
- "label": "schemas.AVATAR_FIELD_LABEL",
22
- "mimeTypes": ".png,.jpg,.jpeg,.webp",
23
- "maxFileSize": 524288,
24
- "readContent": false,
25
- "storage": {
26
- "path": "avatars/<%= _id %>",
27
- "context": "global"
28
- }
29
- }
30
- }
31
- },
32
- "required": ["name"]
33
- }
34
-