taon 19.0.64 → 19.0.66

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 (33) hide show
  1. package/README.md +160 -160
  2. package/bin/start.js +281 -281
  3. package/bin/taon +6 -6
  4. package/bin/taon-debug +5 -5
  5. package/bin/taon-debug-brk +5 -5
  6. package/browser/README.md +24 -24
  7. package/browser/fesm2022/taon.mjs +16 -13
  8. package/browser/fesm2022/taon.mjs.map +1 -1
  9. package/browser/lib/decorators/http/http-params-decorators.d.ts +3 -0
  10. package/browser/package.json +1 -1
  11. package/icon-menu-taon.svg +15 -15
  12. package/lib/base-classes/base-crud-controller.js +13 -13
  13. package/lib/base-classes/base-crud-controller.js.map +1 -1
  14. package/lib/build-info._auto-generated_.d.ts +1 -1
  15. package/lib/build-info._auto-generated_.js +1 -1
  16. package/lib/decorators/http/http-params-decorators.d.ts +3 -0
  17. package/lib/decorators/http/http-params-decorators.js +3 -0
  18. package/lib/decorators/http/http-params-decorators.js.map +1 -1
  19. package/lib/ui/index.js +2 -2
  20. package/lib/ui/taon-admin-mode-configuration/index.js +2 -2
  21. package/package.json +1 -1
  22. package/scss/global.scss +9 -12
  23. package/websql/README.md +24 -24
  24. package/websql/fesm2022/taon.mjs +16 -13
  25. package/websql/fesm2022/taon.mjs.map +1 -1
  26. package/websql/lib/decorators/http/http-params-decorators.d.ts +3 -0
  27. package/websql/package.json +1 -1
  28. package/lib/decorators/classes/controller-config.d.ts +0 -20
  29. package/lib/decorators/classes/controller-config.js +0 -21
  30. package/lib/decorators/classes/controller-config.js.map +0 -1
  31. package/lib/decorators/classes/controller-options.d.ts +0 -16
  32. package/lib/decorators/classes/controller-options.js +0 -20
  33. package/lib/decorators/classes/controller-options.js.map +0 -1
@@ -6484,6 +6484,9 @@ function metaParam(param, name, expire, defaultValue = undefined, target, proper
6484
6484
  };
6485
6485
  // console.log('params updated', methodConfig);
6486
6486
  }
6487
+ /**
6488
+ * @deprecated use Taon.Http.Param.Path (is more safe and cleaner)
6489
+ */
6487
6490
  function Path(name) {
6488
6491
  return function (target, propertyKey, parameterIndex) {
6489
6492
  metaParam('Path', name, undefined, {}, target, propertyKey, parameterIndex);
@@ -6790,9 +6793,9 @@ let BaseCrudController = class BaseCrudController extends BaseController {
6790
6793
  }
6791
6794
  };
6792
6795
  __decorate([
6793
- GET(`/:id/property/:property`),
6794
- __param(0, Path(`id`)),
6795
- __param(1, Path(`property`)),
6796
+ GET(),
6797
+ __param(0, Query(`id`)),
6798
+ __param(1, Query(`property`)),
6796
6799
  __param(2, Query('alreadyLength')),
6797
6800
  __metadata("design:type", Function),
6798
6801
  __metadata("design:paramtypes", [Object, String, Number]),
@@ -6814,23 +6817,23 @@ __decorate([
6814
6817
  __metadata("design:returntype", Object)
6815
6818
  ], BaseCrudController.prototype, "getAll", null);
6816
6819
  __decorate([
6817
- GET(`/:id`),
6818
- __param(0, Path(`id`)),
6820
+ GET(),
6821
+ __param(0, Query(`id`)),
6819
6822
  __metadata("design:type", Function),
6820
6823
  __metadata("design:paramtypes", [Object]),
6821
6824
  __metadata("design:returntype", Object)
6822
6825
  ], BaseCrudController.prototype, "getBy", null);
6823
6826
  __decorate([
6824
- PUT(`/:id`),
6825
- __param(0, Path(`id`)),
6827
+ PUT(),
6828
+ __param(0, Query(`id`)),
6826
6829
  __param(1, Body()),
6827
6830
  __metadata("design:type", Function),
6828
6831
  __metadata("design:paramtypes", [Object, Object]),
6829
6832
  __metadata("design:returntype", Object)
6830
6833
  ], BaseCrudController.prototype, "updateById", null);
6831
6834
  __decorate([
6832
- PATCH(`/:id`),
6833
- __param(0, Path(`id`)),
6835
+ PATCH(),
6836
+ __param(0, Query(`id`)),
6834
6837
  __param(1, Body()),
6835
6838
  __metadata("design:type", Function),
6836
6839
  __metadata("design:paramtypes", [Object, Object]),
@@ -6844,15 +6847,15 @@ __decorate([
6844
6847
  __metadata("design:returntype", Object)
6845
6848
  ], BaseCrudController.prototype, "bulkUpdate", null);
6846
6849
  __decorate([
6847
- DELETE(`/:id`),
6848
- __param(0, Path(`id`)),
6850
+ DELETE(),
6851
+ __param(0, Query(`id`)),
6849
6852
  __metadata("design:type", Function),
6850
6853
  __metadata("design:paramtypes", [Number]),
6851
6854
  __metadata("design:returntype", Object)
6852
6855
  ], BaseCrudController.prototype, "deleteById", null);
6853
6856
  __decorate([
6854
- DELETE(`/bulkDelete/:ids`),
6855
- __param(0, Path(`ids`)),
6857
+ DELETE(),
6858
+ __param(0, Query(`ids`)),
6856
6859
  __metadata("design:type", Function),
6857
6860
  __metadata("design:paramtypes", [Array]),
6858
6861
  __metadata("design:returntype", Object)