@fluxhub/fluxhub-lib 1.0.303 → 1.0.305

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.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ngx-simple-crypt'), require('crypto-js'), require('clipboard'), require('prismjs'), require('prismjs/plugins/toolbar/prism-toolbar'), require('prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard'), require('prismjs/components/prism-css'), require('prismjs/components/prism-javascript'), require('prismjs/components/prism-java'), require('prismjs/components/prism-markup'), require('prismjs/components/prism-typescript'), require('prismjs/components/prism-sass'), require('prismjs/components/prism-scss'), require('prismjs/components/prism-sql'), require('@angular/common/http'), require('bpmn-js/lib/NavigatedViewer'), require('rxjs'), require('rxjs/operators'), require('@angular/flex-layout'), require('ngx-markdown'), require('ng2-ckeditor'), require('@angular/common'), require('ag-grid-angular'), require('ng2-file-upload'), require('mydatepicker'), require('@agm/core'), require('ag-grid-enterprise'), require('@angular/cdk/table'), require('ngforage'), require('@ngx-translate/core'), require('ng2-dragula'), require('@angular/platform-browser'), require('@angular/forms'), require('@angular/material'), require('@angular/router'), require('@angular/http'), require('ng2-slim-loading-bar'), require('ngx-toastr'), require('@angular/core')) :
3
- typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', 'ngx-simple-crypt', 'crypto-js', 'clipboard', 'prismjs', 'prismjs/plugins/toolbar/prism-toolbar', 'prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard', 'prismjs/components/prism-css', 'prismjs/components/prism-javascript', 'prismjs/components/prism-java', 'prismjs/components/prism-markup', 'prismjs/components/prism-typescript', 'prismjs/components/prism-sass', 'prismjs/components/prism-scss', 'prismjs/components/prism-sql', '@angular/common/http', 'bpmn-js/lib/NavigatedViewer', 'rxjs', 'rxjs/operators', '@angular/flex-layout', 'ngx-markdown', 'ng2-ckeditor', '@angular/common', 'ag-grid-angular', 'ng2-file-upload', 'mydatepicker', '@agm/core', 'ag-grid-enterprise', '@angular/cdk/table', 'ngforage', '@ngx-translate/core', 'ng2-dragula', '@angular/platform-browser', '@angular/forms', '@angular/material', '@angular/router', '@angular/http', 'ng2-slim-loading-bar', 'ngx-toastr', '@angular/core'], factory) :
4
- (factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}),global.ngxSimpleCrypt,global.CryptoJS,null,null,null,null,null,null,null,null,null,null,null,null,global.ng.common.http,global.NavigatedViewer,global.rxjs,global.rxjs.operators,global.ng['flex-layout'],global.ngxMarkdown,global.ng2Ckeditor,global.ng.common,global.agGridAngular,global.ng2FileUpload,global.mydatepicker,global.core,null,global.ng.cdk.table,global.ngforage,global.core$1,global.ng2Dragula,global.ng.platformBrowser,global.ng.forms,global.ng.material,global.ng.router,global.ng.http,global.ng2SlimLoadingBar,global.i3,global.ng.core));
5
- }(this, (function (exports,ngxSimpleCrypt,CryptoJS,clipboard,prismjs,prismToolbar,prismCopyToClipboard,prismCss,prismJavascript,prismJava,prismMarkup,prismTypescript,prismSass,prismScss,prismSql,i1,NavigatedViewer,rxjs,operators,flexLayout,ngxMarkdown,ng2Ckeditor,common,agGridAngular,ng2FileUpload,mydatepicker,core,agGridEnterprise,table,ngforage,core$1,ng2Dragula,platformBrowser,forms,material,i4,http,ng2SlimLoadingBar,i3,i0) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ngx-simple-crypt'), require('crypto-js'), require('moment'), require('clipboard'), require('prismjs'), require('prismjs/plugins/toolbar/prism-toolbar'), require('prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard'), require('prismjs/components/prism-css'), require('prismjs/components/prism-javascript'), require('prismjs/components/prism-java'), require('prismjs/components/prism-markup'), require('prismjs/components/prism-typescript'), require('prismjs/components/prism-sass'), require('prismjs/components/prism-scss'), require('prismjs/components/prism-sql'), require('@angular/common/http'), require('bpmn-js/lib/NavigatedViewer'), require('rxjs'), require('rxjs/operators'), require('@angular/flex-layout'), require('ngx-markdown'), require('ng2-ckeditor'), require('@angular/common'), require('ag-grid-angular'), require('ng2-file-upload'), require('mydatepicker'), require('@agm/core'), require('ag-grid-enterprise'), require('@angular/cdk/table'), require('ngforage'), require('@ngx-translate/core'), require('ng2-dragula'), require('@angular/platform-browser'), require('@angular/forms'), require('@angular/material'), require('@angular/router'), require('@angular/http'), require('ng2-slim-loading-bar'), require('ngx-toastr'), require('@angular/core')) :
3
+ typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', 'ngx-simple-crypt', 'crypto-js', 'moment', 'clipboard', 'prismjs', 'prismjs/plugins/toolbar/prism-toolbar', 'prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard', 'prismjs/components/prism-css', 'prismjs/components/prism-javascript', 'prismjs/components/prism-java', 'prismjs/components/prism-markup', 'prismjs/components/prism-typescript', 'prismjs/components/prism-sass', 'prismjs/components/prism-scss', 'prismjs/components/prism-sql', '@angular/common/http', 'bpmn-js/lib/NavigatedViewer', 'rxjs', 'rxjs/operators', '@angular/flex-layout', 'ngx-markdown', 'ng2-ckeditor', '@angular/common', 'ag-grid-angular', 'ng2-file-upload', 'mydatepicker', '@agm/core', 'ag-grid-enterprise', '@angular/cdk/table', 'ngforage', '@ngx-translate/core', 'ng2-dragula', '@angular/platform-browser', '@angular/forms', '@angular/material', '@angular/router', '@angular/http', 'ng2-slim-loading-bar', 'ngx-toastr', '@angular/core'], factory) :
4
+ (factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}),global.ngxSimpleCrypt,global.CryptoJS,global.momentNs,null,null,null,null,null,null,null,null,null,null,null,null,global.ng.common.http,global.NavigatedViewer,global.rxjs,global.rxjs.operators,global.ng['flex-layout'],global.ngxMarkdown,global.ng2Ckeditor,global.ng.common,global.agGridAngular,global.ng2FileUpload,global.mydatepicker,global.core,null,global.ng.cdk.table,global.ngforage,global.core$1,global.ng2Dragula,global.ng.platformBrowser,global.ng.forms,global.ng.material,global.ng.router,global.ng.http,global.ng2SlimLoadingBar,global.i3,global.ng.core));
5
+ }(this, (function (exports,ngxSimpleCrypt,CryptoJS,momentNs,clipboard,prismjs,prismToolbar,prismCopyToClipboard,prismCss,prismJavascript,prismJava,prismMarkup,prismTypescript,prismSass,prismScss,prismSql,i1,NavigatedViewer,rxjs,operators,flexLayout,ngxMarkdown,ng2Ckeditor,common,agGridAngular,ng2FileUpload,mydatepicker,core,agGridEnterprise,table,ngforage,core$1,ng2Dragula,platformBrowser,forms,material,i4,http,ng2SlimLoadingBar,i3,i0) { 'use strict';
6
6
 
7
7
  NavigatedViewer = NavigatedViewer && NavigatedViewer.hasOwnProperty('default') ? NavigatedViewer['default'] : NavigatedViewer;
8
8
 
@@ -3945,6 +3945,7 @@
3945
3945
  }
3946
3946
  p.system_dest = _this.system_dest;
3947
3947
  p.field = _this.fields;
3948
+ console.log('filterModel ', params.filterModel);
3948
3949
  if (_this.filters != null)
3949
3950
  p.filter = _this.filters;
3950
3951
  if (_this.fix_flt != "") {
@@ -6575,6 +6576,391 @@
6575
6576
  * @fileoverview added by tsickle
6576
6577
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6577
6578
  */
6579
+ /** @type {?} */
6580
+ var moment = momentNs;
6581
+ /** @type {?} */
6582
+ var MOMENT_DATE_FORMATS = {
6583
+ parse: {
6584
+ dateInput: 'D/MM/YYYY'
6585
+ },
6586
+ display: {
6587
+ dateInput: 'DD/MM/YYYY',
6588
+ monthYearLabel: 'MMMM Y',
6589
+ dateA11yLabel: 'LL',
6590
+ monthYearA11yLabel: 'MMMM Y'
6591
+ }
6592
+ };
6593
+ /** @type {?} */
6594
+ var dateNames = [];
6595
+ for (var date = 1; date <= 31; date++) {
6596
+ dateNames.push(String(date));
6597
+ }
6598
+ var MomentDateAdapter = /** @class */ (function (_super) {
6599
+ __extends(MomentDateAdapter, _super);
6600
+ function MomentDateAdapter() {
6601
+ var _this = _super !== null && _super.apply(this, arguments) || this;
6602
+ _this.localeData = moment.localeData();
6603
+ return _this;
6604
+ }
6605
+ /**
6606
+ * @param {?} date
6607
+ * @return {?}
6608
+ */
6609
+ MomentDateAdapter.prototype.getYear = /**
6610
+ * @param {?} date
6611
+ * @return {?}
6612
+ */
6613
+ function (date) {
6614
+ return date.year();
6615
+ };
6616
+ /**
6617
+ * @param {?} date
6618
+ * @return {?}
6619
+ */
6620
+ MomentDateAdapter.prototype.getMonth = /**
6621
+ * @param {?} date
6622
+ * @return {?}
6623
+ */
6624
+ function (date) {
6625
+ return date.month();
6626
+ };
6627
+ /**
6628
+ * @param {?} date
6629
+ * @return {?}
6630
+ */
6631
+ MomentDateAdapter.prototype.getDate = /**
6632
+ * @param {?} date
6633
+ * @return {?}
6634
+ */
6635
+ function (date) {
6636
+ return date.date();
6637
+ };
6638
+ /**
6639
+ * @param {?} date
6640
+ * @return {?}
6641
+ */
6642
+ MomentDateAdapter.prototype.getDayOfWeek = /**
6643
+ * @param {?} date
6644
+ * @return {?}
6645
+ */
6646
+ function (date) {
6647
+ return date.day();
6648
+ };
6649
+ /**
6650
+ * @param {?} style
6651
+ * @return {?}
6652
+ */
6653
+ MomentDateAdapter.prototype.getMonthNames = /**
6654
+ * @param {?} style
6655
+ * @return {?}
6656
+ */
6657
+ function (style) {
6658
+ switch (style) {
6659
+ case 'long':
6660
+ return this.localeData.months();
6661
+ case 'short':
6662
+ return this.localeData.monthsShort();
6663
+ case 'narrow':
6664
+ return this.localeData.monthsShort().map(( /**
6665
+ * @param {?} month
6666
+ * @return {?}
6667
+ */function (month) { return month[0]; }));
6668
+ }
6669
+ };
6670
+ /**
6671
+ * @return {?}
6672
+ */
6673
+ MomentDateAdapter.prototype.getDateNames = /**
6674
+ * @return {?}
6675
+ */
6676
+ function () {
6677
+ return dateNames;
6678
+ };
6679
+ /**
6680
+ * @param {?} style
6681
+ * @return {?}
6682
+ */
6683
+ MomentDateAdapter.prototype.getDayOfWeekNames = /**
6684
+ * @param {?} style
6685
+ * @return {?}
6686
+ */
6687
+ function (style) {
6688
+ switch (style) {
6689
+ case 'long':
6690
+ return this.localeData.weekdays();
6691
+ case 'short':
6692
+ return this.localeData.weekdaysShort();
6693
+ case 'narrow':
6694
+ return this.localeData.weekdaysShort();
6695
+ }
6696
+ };
6697
+ /**
6698
+ * @param {?} date
6699
+ * @return {?}
6700
+ */
6701
+ MomentDateAdapter.prototype.getYearName = /**
6702
+ * @param {?} date
6703
+ * @return {?}
6704
+ */
6705
+ function (date) {
6706
+ return String(date.year());
6707
+ };
6708
+ /**
6709
+ * @return {?}
6710
+ */
6711
+ MomentDateAdapter.prototype.getFirstDayOfWeek = /**
6712
+ * @return {?}
6713
+ */
6714
+ function () {
6715
+ return this.localeData.firstDayOfWeek();
6716
+ };
6717
+ /**
6718
+ * @param {?} date
6719
+ * @return {?}
6720
+ */
6721
+ MomentDateAdapter.prototype.getNumDaysInMonth = /**
6722
+ * @param {?} date
6723
+ * @return {?}
6724
+ */
6725
+ function (date) {
6726
+ return date.daysInMonth();
6727
+ };
6728
+ /**
6729
+ * @param {?} date
6730
+ * @return {?}
6731
+ */
6732
+ MomentDateAdapter.prototype.clone = /**
6733
+ * @param {?} date
6734
+ * @return {?}
6735
+ */
6736
+ function (date) {
6737
+ return date.clone();
6738
+ };
6739
+ /**
6740
+ * @param {?} year
6741
+ * @param {?} month
6742
+ * @param {?} date
6743
+ * @return {?}
6744
+ */
6745
+ MomentDateAdapter.prototype.createDate = /**
6746
+ * @param {?} year
6747
+ * @param {?} month
6748
+ * @param {?} date
6749
+ * @return {?}
6750
+ */
6751
+ function (year, month, date) {
6752
+ return moment([year, month, date]);
6753
+ };
6754
+ /**
6755
+ * @return {?}
6756
+ */
6757
+ MomentDateAdapter.prototype.today = /**
6758
+ * @return {?}
6759
+ */
6760
+ function () {
6761
+ return moment();
6762
+ };
6763
+ /**
6764
+ * @param {?} value
6765
+ * @param {?} parseFormat
6766
+ * @return {?}
6767
+ */
6768
+ MomentDateAdapter.prototype.parse = /**
6769
+ * @param {?} value
6770
+ * @param {?} parseFormat
6771
+ * @return {?}
6772
+ */
6773
+ function (value, parseFormat) {
6774
+ /** @type {?} */
6775
+ var m = moment(value, parseFormat, true);
6776
+ if (!m.isValid()) {
6777
+ m = moment(value);
6778
+ }
6779
+ if (m.isValid()) {
6780
+ return m;
6781
+ }
6782
+ return null;
6783
+ };
6784
+ /**
6785
+ * @param {?} date
6786
+ * @param {?} displayFormat
6787
+ * @return {?}
6788
+ */
6789
+ MomentDateAdapter.prototype.format = /**
6790
+ * @param {?} date
6791
+ * @param {?} displayFormat
6792
+ * @return {?}
6793
+ */
6794
+ function (date, displayFormat) {
6795
+ if (date) {
6796
+ return date.format(displayFormat);
6797
+ }
6798
+ return '';
6799
+ };
6800
+ /**
6801
+ * @param {?} date
6802
+ * @param {?} years
6803
+ * @return {?}
6804
+ */
6805
+ MomentDateAdapter.prototype.addCalendarYears = /**
6806
+ * @param {?} date
6807
+ * @param {?} years
6808
+ * @return {?}
6809
+ */
6810
+ function (date, years) {
6811
+ return date.clone().add(years, 'y');
6812
+ };
6813
+ /**
6814
+ * @param {?} date
6815
+ * @param {?} months
6816
+ * @return {?}
6817
+ */
6818
+ MomentDateAdapter.prototype.addCalendarMonths = /**
6819
+ * @param {?} date
6820
+ * @param {?} months
6821
+ * @return {?}
6822
+ */
6823
+ function (date, months) {
6824
+ return date.clone().add(months, 'M');
6825
+ };
6826
+ /**
6827
+ * @param {?} date
6828
+ * @param {?} days
6829
+ * @return {?}
6830
+ */
6831
+ MomentDateAdapter.prototype.addCalendarDays = /**
6832
+ * @param {?} date
6833
+ * @param {?} days
6834
+ * @return {?}
6835
+ */
6836
+ function (date, days) {
6837
+ return date.clone().add(days, 'd');
6838
+ };
6839
+ /**
6840
+ * @param {?} locale
6841
+ * @return {?}
6842
+ */
6843
+ MomentDateAdapter.prototype.setLocale = /**
6844
+ * @param {?} locale
6845
+ * @return {?}
6846
+ */
6847
+ function (locale) {
6848
+ this.localeData = moment.localeData(locale);
6849
+ };
6850
+ /**
6851
+ * @param {?} first
6852
+ * @param {?} second
6853
+ * @return {?}
6854
+ */
6855
+ MomentDateAdapter.prototype.compareDate = /**
6856
+ * @param {?} first
6857
+ * @param {?} second
6858
+ * @return {?}
6859
+ */
6860
+ function (first, second) {
6861
+ return first.diff(second, 'seconds', true);
6862
+ };
6863
+ /**
6864
+ * @param {?} first
6865
+ * @param {?} second
6866
+ * @return {?}
6867
+ */
6868
+ MomentDateAdapter.prototype.sameDate = /**
6869
+ * @param {?} first
6870
+ * @param {?} second
6871
+ * @return {?}
6872
+ */
6873
+ function (first, second) {
6874
+ if (first == null) {
6875
+ return second == null;
6876
+ }
6877
+ else if (momentNs.isMoment(first)) {
6878
+ return first.isSame(second);
6879
+ }
6880
+ return _super.prototype.sameDate.call(this, first, second);
6881
+ };
6882
+ /**
6883
+ * @param {?} date
6884
+ * @param {?=} min
6885
+ * @param {?=} max
6886
+ * @return {?}
6887
+ */
6888
+ MomentDateAdapter.prototype.clampDate = /**
6889
+ * @param {?} date
6890
+ * @param {?=} min
6891
+ * @param {?=} max
6892
+ * @return {?}
6893
+ */
6894
+ function (date, min, max) {
6895
+ if (min && date.isBefore(min)) {
6896
+ return min;
6897
+ }
6898
+ else if (max && date.isAfter(max)) {
6899
+ return max;
6900
+ }
6901
+ return date;
6902
+ };
6903
+ /**
6904
+ * @param {?} date
6905
+ * @return {?}
6906
+ */
6907
+ MomentDateAdapter.prototype.isValid = /**
6908
+ * @param {?} date
6909
+ * @return {?}
6910
+ */
6911
+ function (date) {
6912
+ return date.isValid();
6913
+ };
6914
+ /**
6915
+ * @param {?} obj
6916
+ * @return {?}
6917
+ */
6918
+ MomentDateAdapter.prototype.isDateInstance = /**
6919
+ * @param {?} obj
6920
+ * @return {?}
6921
+ */
6922
+ function (obj) {
6923
+ return moment.isMoment(obj);
6924
+ };
6925
+ /**
6926
+ * @param {?} date
6927
+ * @return {?}
6928
+ */
6929
+ MomentDateAdapter.prototype.toIso8601 = /**
6930
+ * @param {?} date
6931
+ * @return {?}
6932
+ */
6933
+ function (date) {
6934
+ return date.format();
6935
+ };
6936
+ /**
6937
+ * @param {?} iso8601String
6938
+ * @return {?}
6939
+ */
6940
+ MomentDateAdapter.prototype.fromIso8601 = /**
6941
+ * @param {?} iso8601String
6942
+ * @return {?}
6943
+ */
6944
+ function (iso8601String) {
6945
+ return moment(iso8601String);
6946
+ };
6947
+ /**
6948
+ * @return {?}
6949
+ */
6950
+ MomentDateAdapter.prototype.invalid = /**
6951
+ * @return {?}
6952
+ */
6953
+ function () {
6954
+ return undefined;
6955
+ };
6956
+ return MomentDateAdapter;
6957
+ }(material.DateAdapter));
6958
+
6959
+ /**
6960
+ * @fileoverview added by tsickle
6961
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
6962
+ */
6963
+ var ɵ0 = MOMENT_DATE_FORMATS;
6578
6964
  var FHDatePickerComponent = /** @class */ (function (_super) {
6579
6965
  __extends(FHDatePickerComponent, _super);
6580
6966
  function FHDatePickerComponent(dateAdapter, uti_s) {
@@ -6603,13 +6989,16 @@
6603
6989
  * @return {?}
6604
6990
  */
6605
6991
  function (s) {
6606
- // console.log(s);
6607
6992
  /** @type {?} */
6608
6993
  var arr = s.split('/');
6609
6994
  if (arr.length == 3) {
6610
- if (parseInt(arr[2]) < 3000 && parseInt(arr[0]) > 0 && parseInt(arr[0]) <= 31 && parseInt(arr[1]) > 1 && parseInt(arr[1]) <= 12) {
6611
- this.date_sel = new Date(parseInt(arr[2]), parseInt(arr[1]) - 1, parseInt(arr[0]));
6995
+ if (parseInt(arr[2]) < 3000 && parseInt(arr[0]) > 0 && parseInt(arr[0]) <= 31 && parseInt(arr[1]) > 0 && parseInt(arr[1]) <= 12) {
6996
+ /** @type {?} */
6997
+ var dtp = new MomentDateAdapter();
6998
+ this.date_sel = dtp.createDate(parseInt(arr[2]), parseInt(arr[1]) - 1, parseInt(arr[0]));
6612
6999
  }
7000
+ else
7001
+ console.log('data non valida! ', arr);
6613
7002
  }
6614
7003
  };
6615
7004
  /**
@@ -6688,7 +7077,9 @@
6688
7077
  * @return {?}
6689
7078
  */
6690
7079
  function () {
6691
- this.date_sel = new Date(this.date_sel.getFullYear() + 1, this.date_sel.getMonth(), this.date_sel.getDate());
7080
+ /** @type {?} */
7081
+ var dtp = new MomentDateAdapter();
7082
+ this.date_sel = dtp.createDate(this.getValue().getFullYear() + 1, this.getValue().getMonth(), this.getValue().getDate());
6692
7083
  this.v_view = this.uti_s.date2String(this.date_sel);
6693
7084
  this.ch();
6694
7085
  };
@@ -6699,7 +7090,9 @@
6699
7090
  * @return {?}
6700
7091
  */
6701
7092
  function () {
6702
- this.date_sel = new Date(this.date_sel.getFullYear() + 1, 1, 1);
7093
+ /** @type {?} */
7094
+ var dtp = new MomentDateAdapter();
7095
+ this.date_sel = dtp.createDate(this.getValue().getFullYear() + 1, 1, 1);
6703
7096
  this.v_view = this.uti_s.date2String(this.date_sel);
6704
7097
  this.ch();
6705
7098
  };
@@ -6710,7 +7103,9 @@
6710
7103
  * @return {?}
6711
7104
  */
6712
7105
  function () {
6713
- this.date_sel = new Date(this.date_sel.getFullYear() + 1, 12, 31);
7106
+ /** @type {?} */
7107
+ var dtp = new MomentDateAdapter();
7108
+ this.date_sel = dtp.createDate(this.getValue().getFullYear() + 1, 12, 31);
6714
7109
  this.v_view = this.uti_s.date2String(this.date_sel);
6715
7110
  this.ch();
6716
7111
  };
@@ -6723,7 +7118,7 @@
6723
7118
  function () {
6724
7119
  if (this.date_sel == null)
6725
7120
  return null;
6726
- return this.date_sel;
7121
+ return this.date_sel.toDate();
6727
7122
  };
6728
7123
  /**
6729
7124
  * @return {?}
@@ -6777,14 +7172,17 @@
6777
7172
  d = new Date(d.value);
6778
7173
  }
6779
7174
  }
6780
- this.date_sel = new Date(d.getFullYear(), d.getMonth(), d.getDate());
7175
+ /** @type {?} */
7176
+ var dtp = new MomentDateAdapter();
7177
+ this.date_sel = dtp.createDate(d.getFullYear(), d.getMonth(), d.getDate());
6781
7178
  this.v_view = this.uti_s.date2String(this.date_sel);
6782
7179
  };
6783
7180
  FHDatePickerComponent.decorators = [
6784
7181
  { type: i0.Component, args: [{
6785
7182
  selector: 'FHDatePicker',
6786
7183
  providers: [
6787
- { provide: material.MAT_DATE_LOCALE, useValue: 'it-IT' },
7184
+ { provide: material.MAT_DATE_FORMATS, useValue: ɵ0 },
7185
+ { provide: material.DateAdapter, useClass: MomentDateAdapter },
6788
7186
  { provide: forms.NG_VALUE_ACCESSOR, useExisting: FHDatePickerComponent, multi: true },
6789
7187
  ],
6790
7188
  template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-raised-button (click)=\"add_year()\">+1 Anno</button>\n <button mat-raised-button (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-raised-button (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <mat-form-field (click)=\"chxx($event)\">\n <input [disabled]=\"!enabled\" #pickerId (dateChange)=\"ch( $event)\" (focusout)=\"dt_chg($event.target.value)\"\n (click)=\"chxx($event)\" [(ngModel)]=\"date_sel\" matInput [matDatepicker]=\"picker\" placeholder=\"{{label}}\">\n <mat-datepicker-toggle matSuffix [for]=\"picker\" (click)=\"chxx($event)\"></mat-datepicker-toggle>\n <mat-datepicker (click)=\"chxx($event)\" #picker></mat-datepicker>\n </mat-form-field>\n\n ",
@@ -18340,28 +18738,30 @@
18340
18738
  exports.dati_aggiuntivi = dati_aggiuntivi;
18341
18739
  exports.ɵb = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR;
18342
18740
  exports.ɵa = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2;
18343
- exports.ɵm = FHGridToolBarComponent;
18344
- exports.ɵi = win_grid_help;
18741
+ exports.ɵo = FHGridToolBarComponent;
18742
+ exports.ɵk = win_grid_help;
18345
18743
  exports.ɵc = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC;
18346
18744
  exports.ɵd = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT;
18347
18745
  exports.ɵe = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1;
18348
- exports.ɵk = FHViewerComponent;
18746
+ exports.ɵm = FHViewerComponent;
18349
18747
  exports.ɵf = SafePipe;
18350
18748
  exports.ɵg = DecimalMask;
18749
+ exports.ɵi = MOMENT_DATE_FORMATS;
18750
+ exports.ɵj = MomentDateAdapter;
18351
18751
  exports.ɵh = FHValueAccessor;
18352
- exports.ɵj = HighlightService;
18353
- exports.ɵn = win_assegna;
18354
- exports.ɵs = win_commenti;
18355
- exports.ɵy = win_commento_sel_notif;
18356
- exports.ɵo = win_conferma;
18357
- exports.ɵt = win_info_doc;
18358
- exports.ɵu = win_log;
18359
- exports.ɵv = win_recupera_doc;
18360
- exports.ɵw = win_riassegna_select_level;
18361
- exports.ɵx = win_riassegna_select_user;
18362
- exports.ɵp = win_select_canale;
18363
- exports.ɵq = win_select_level;
18364
- exports.ɵr = win_uploads;
18752
+ exports.ɵl = HighlightService;
18753
+ exports.ɵp = win_assegna;
18754
+ exports.ɵu = win_commenti;
18755
+ exports.ɵba = win_commento_sel_notif;
18756
+ exports.ɵq = win_conferma;
18757
+ exports.ɵv = win_info_doc;
18758
+ exports.ɵw = win_log;
18759
+ exports.ɵx = win_recupera_doc;
18760
+ exports.ɵy = win_riassegna_select_level;
18761
+ exports.ɵz = win_riassegna_select_user;
18762
+ exports.ɵr = win_select_canale;
18763
+ exports.ɵs = win_select_level;
18764
+ exports.ɵt = win_uploads;
18365
18765
 
18366
18766
  Object.defineProperty(exports, '__esModule', { value: true });
18367
18767