@arsedizioni/ars-utils 18.2.10 → 18.2.11

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 (28) hide show
  1. package/clipper.common/common/definitions.d.ts +52 -2
  2. package/clipper.common/common/messages.d.ts +5 -0
  3. package/clipper.common/common/services/clipper.service.d.ts +13 -3
  4. package/clipper.ui/ui/document-manager/document-manager.d.ts +1 -1
  5. package/clipper.ui/ui/search-dialog/search-dialog.component.d.ts +2 -2
  6. package/core/definitions.d.ts +2 -2
  7. package/core/services/broadcast.service.d.ts +3 -7
  8. package/core/services/screen.service.d.ts +0 -12
  9. package/esm2022/clipper.common/common/definitions.mjs +14 -5
  10. package/esm2022/clipper.common/common/messages.mjs +8 -2
  11. package/esm2022/clipper.common/common/services/clipper.service.mjs +17 -3
  12. package/esm2022/clipper.ui/ui/document-manager/document-manager.mjs +1 -1
  13. package/esm2022/clipper.ui/ui/search-dialog/search-dialog.component.mjs +1 -1
  14. package/esm2022/core/definitions.mjs +1 -1
  15. package/esm2022/core/services/broadcast.service.mjs +1 -7
  16. package/esm2022/core/services/screen.service.mjs +3 -25
  17. package/esm2022/support.common/common/definitions.mjs +1 -1
  18. package/esm2022/support.common/common/services/support.service.mjs +2 -2
  19. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +37 -8
  20. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  21. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  22. package/fesm2022/arsedizioni-ars-utils-core.mjs +3 -30
  23. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  24. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +1 -1
  25. package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
  26. package/package.json +7 -7
  27. package/support.common/common/definitions.d.ts +25 -0
  28. package/support.common/common/services/support.service.d.ts +2 -2
@@ -1771,12 +1771,6 @@ class BroadcastService {
1771
1771
  this.subject.next({ id: id, data: data });
1772
1772
  }, delay);
1773
1773
  }
1774
- /**
1775
- * Clear
1776
- */
1777
- clearMessage() {
1778
- this.subject.next(0);
1779
- }
1780
1774
  /**
1781
1775
  * Get the next message as observable
1782
1776
  * @returns : the observable object
@@ -1821,35 +1815,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
1821
1815
  }]
1822
1816
  }] });
1823
1817
 
1824
- const ScreenMessages = {
1825
- NAVIGATOR_SIZE_CHANGED: '§navigator-size-changed',
1826
- };
1827
1818
  class ScreenService {
1828
- get mq() {
1829
- return this._mq;
1830
- }
1831
- set mq(value) {
1832
- this._mq = value;
1833
- }
1834
- get navigatorHeight() {
1835
- return this._navigatorHeight;
1836
- }
1837
- set navigatorHeight(value) {
1838
- this._navigatorHeight = value;
1839
- this.$broadcast.sendMessage(ScreenMessages.NAVIGATOR_SIZE_CHANGED, value);
1840
- }
1841
1819
  get isTouchable() {
1842
1820
  return SystemUtils.isTouchable();
1843
1821
  }
1844
1822
  get isIEOrEdge() {
1845
1823
  return /msie\s|trident\/|edge\//i.test(window.navigator.userAgent);
1846
1824
  }
1847
- constructor($broadcast) {
1848
- this.$broadcast = $broadcast;
1849
- this._mq = '';
1850
- this._navigatorHeight = 56;
1851
- }
1852
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ScreenService, deps: [{ token: BroadcastService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1825
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ScreenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1853
1826
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ScreenService, providedIn: 'root' }); }
1854
1827
  }
1855
1828
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ScreenService, decorators: [{
@@ -1857,7 +1830,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
1857
1830
  args: [{
1858
1831
  providedIn: 'root'
1859
1832
  }]
1860
- }], ctorParameters: () => [{ type: BroadcastService }] });
1833
+ }] });
1861
1834
 
1862
1835
  class ArsDateFnsModule {
1863
1836
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: ArsDateFnsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
@@ -1996,5 +1969,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
1996
1969
  * Generated bundle index. Do not edit.
1997
1970
  */
1998
1971
 
1999
- export { ArsCoreModule, ArsDateFnsModule, AutoFocusDirective, BroadcastService, CopyClipboardDirective, DateFnsAdapter, DateFormat, DateInterval, DateIntervalChangeDirective, DeleteModel, EmailsValidatorDirective, EnvironmentService, EqualsValidatorDirective, FileInfo, FileSizeValidatorDirective, FormatPipe, GroupModel, GuidValidatorDirective, IDModel, ImportModel, MAT_DATE_FNS_FORMATS, NotFutureValidatorDirective, PasswordValidatorDirective, QueryModel, RelationModel, ReplacePipe, SafeHtmlPipe, SafeUrlPipe, ScreenMessages, ScreenService, SearchCallbackPipe, SearchFilterPipe, SelectableModel, SqlDateValidatorDirective, SystemUtils, TimeValidatorDirective, UpdateRelationsModel, UrlValidatorDirective, ValidIfDirective, ValidatorDirective, ValueModel };
1972
+ export { ArsCoreModule, ArsDateFnsModule, AutoFocusDirective, BroadcastService, CopyClipboardDirective, DateFnsAdapter, DateFormat, DateInterval, DateIntervalChangeDirective, DeleteModel, EmailsValidatorDirective, EnvironmentService, EqualsValidatorDirective, FileInfo, FileSizeValidatorDirective, FormatPipe, GroupModel, GuidValidatorDirective, IDModel, ImportModel, MAT_DATE_FNS_FORMATS, NotFutureValidatorDirective, PasswordValidatorDirective, QueryModel, RelationModel, ReplacePipe, SafeHtmlPipe, SafeUrlPipe, ScreenService, SearchCallbackPipe, SearchFilterPipe, SelectableModel, SqlDateValidatorDirective, SystemUtils, TimeValidatorDirective, UpdateRelationsModel, UrlValidatorDirective, ValidIfDirective, ValidatorDirective, ValueModel };
2000
1973
  //# sourceMappingURL=arsedizioni-ars-utils-core.mjs.map