@sumaris-net/ngx-components 18.18.36 → 18.18.38

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.
@@ -26780,7 +26780,7 @@ class DecoratorUtils {
26780
26780
  return `${prefix}${this.capitalize(propertyKey)}`;
26781
26781
  }
26782
26782
  static validateStateProperty(target, stateObject) {
26783
- if (!production && !stateObject) {
26783
+ if (!stateObject) {
26784
26784
  throw new Error(`Missing state! Please add a RxState in class: ${target.constructor.name}`);
26785
26785
  }
26786
26786
  }
@@ -26842,7 +26842,7 @@ function RxStateProperty(statePropertyName, projectValueReducer) {
26842
26842
  */
26843
26843
  function RxStateSelect(statePropertyName, opts) {
26844
26844
  return function (target, key) {
26845
- // Convention check
26845
+ // Naming convention check
26846
26846
  if (!production && !key.endsWith('$')) {
26847
26847
  console.warn(`[RxStateSelect] Convention: Property ${target.constructor?.name}.${String(key)} should end with '$' to indicate it's an Observable`);
26848
26848
  }
@@ -26887,7 +26887,7 @@ function RxStateSelect(statePropertyName, opts) {
26887
26887
  */
26888
26888
  function RxStateComputed(dependencies, computeFn, opts) {
26889
26889
  return function (target, key) {
26890
- // Convention check
26890
+ // Naming convention check
26891
26891
  if (!production && !key.endsWith('$')) {
26892
26892
  console.warn(`[RxStateComputed] Convention: Property ${target.constructor?.name}.${String(key)} should end with '$' to indicate it's an Observable`);
26893
26893
  }
@@ -26923,7 +26923,7 @@ function RxStateComputed(dependencies, computeFn, opts) {
26923
26923
  */
26924
26924
  function RxStateOutput(statePropertyName, opts) {
26925
26925
  return function (target, key) {
26926
- // Convention check
26926
+ // Naming convention check
26927
26927
  if (!production && !key.endsWith('Changes')) {
26928
26928
  console.warn(`[RxStateOutput] Convention: Property ${target.constructor?.name}.${String(key)} should end with 'Changes' to indicate it's an Output`);
26929
26929
  }