@fluxhub/fluxhub-lib 1.1.0 → 1.1.1
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +9 -248
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/fluxhub-lib.module.js +6 -9
- package/esm2015/public_api.js +1 -3
- package/esm5/lib/fluxhub-lib.module.js +6 -9
- package/esm5/public_api.js +1 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -302
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +6 -244
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +0 -2
- package/esm2015/lib/controls/grid_editors/date-component.component.js +0 -119
- package/esm2015/lib/controls/grid_editors/dt_pick.js +0 -184
- package/esm5/lib/controls/grid_editors/date-component.component.js +0 -83
- package/esm5/lib/controls/grid_editors/dt_pick.js +0 -162
- package/lib/controls/grid_editors/date-component.component.d.ts +0 -20
- package/lib/controls/grid_editors/dt_pick.d.ts +0 -27
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('ngx-toastr'), require('rxjs/operators'), require('rxjs'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/material/dialog'), require('@angular/forms'), require('ng2-file-upload'), require('@angular/router'), require('ng2-slim-loading-bar'), require('ag-grid-enterprise'), require('@angular/material/select'), require('@angular/material/slide-toggle'), require('@angular/material/autocomplete'), require('moment'), require('@angular/material/core'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/core', '@angular/common/http', 'ngx-toastr', 'rxjs/operators', 'rxjs', 'ngx-simple-crypt', 'crypto-js', '@angular/material/dialog', '@angular/forms', 'ng2-file-upload', '@angular/router', 'ng2-slim-loading-bar', 'ag-grid-enterprise', '@angular/material/select', '@angular/material/slide-toggle', '@angular/material/autocomplete', 'moment', '@angular/material/core', '
|
|
4
|
-
(global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.core, global.ng.common.http, global.ngxToastr, global.rxjs.operators, global.rxjs, global.ngxSimpleCrypt, global.cryptoJs, global.ng.material.dialog, global.ng.forms, global.ng2FileUpload, global.ng.router, global.ng2SlimLoadingBar, null, global.ng.material.select, global.ng.material['slide-toggle'], global.ng.material.autocomplete, global.momentNs, global.ng.material.core, global.
|
|
5
|
-
}(this, (function (exports, core, http, ngxToastr, operators, rxjs, ngxSimpleCrypt, cryptoJs, dialog, forms, ng2FileUpload, router, ng2SlimLoadingBar, agGridEnterprise, select, slideToggle, autocomplete, momentNs, core$1,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('ngx-toastr'), require('rxjs/operators'), require('rxjs'), require('ngx-simple-crypt'), require('crypto-js'), require('@angular/material/dialog'), require('@angular/forms'), require('ng2-file-upload'), require('@angular/router'), require('ng2-slim-loading-bar'), require('ag-grid-enterprise'), require('@angular/material/select'), require('@angular/material/slide-toggle'), require('@angular/material/autocomplete'), require('moment'), require('@angular/material/core'), require('@angular/common'), 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('bpmn-js/lib/NavigatedViewer'), require('@angular/material/tabs'), require('@angular/flex-layout'), require('ngx-markdown'), require('ng2-ckeditor'), require('ag-grid-angular'), require('@agm/core'), require('@angular/cdk/table'), require('ngforage'), require('@ngx-translate/core'), require('ng2-dragula'), require('@angular/platform-browser'), require('@angular/material/card'), require('@angular/material/button'), require('@angular/material/checkbox'), require('@angular/material/button-toggle'), require('@angular/material/chips'), require('@angular/material/datepicker'), require('@angular/material/expansion'), require('@angular/material/form-field'), require('@angular/material/grid-list'), require('@angular/material/icon'), require('@angular/material/input'), require('@angular/material/list'), require('@angular/material/menu'), require('@angular/material/progress-bar'), require('@angular/material/progress-spinner'), require('@angular/material/radio'), require('@angular/material/slider'), require('@angular/material/sidenav'), require('@angular/material/snack-bar'), require('@angular/material/stepper'), require('@angular/material/toolbar'), require('@angular/material/tooltip'), require('@angular/material/paginator'), require('@angular/material/sort'), require('@angular/material/table')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@fluxhub/fluxhub-lib', ['exports', '@angular/core', '@angular/common/http', 'ngx-toastr', 'rxjs/operators', 'rxjs', 'ngx-simple-crypt', 'crypto-js', '@angular/material/dialog', '@angular/forms', 'ng2-file-upload', '@angular/router', 'ng2-slim-loading-bar', 'ag-grid-enterprise', '@angular/material/select', '@angular/material/slide-toggle', '@angular/material/autocomplete', 'moment', '@angular/material/core', '@angular/common', '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', 'bpmn-js/lib/NavigatedViewer', '@angular/material/tabs', '@angular/flex-layout', 'ngx-markdown', 'ng2-ckeditor', 'ag-grid-angular', '@agm/core', '@angular/cdk/table', 'ngforage', '@ngx-translate/core', 'ng2-dragula', '@angular/platform-browser', '@angular/material/card', '@angular/material/button', '@angular/material/checkbox', '@angular/material/button-toggle', '@angular/material/chips', '@angular/material/datepicker', '@angular/material/expansion', '@angular/material/form-field', '@angular/material/grid-list', '@angular/material/icon', '@angular/material/input', '@angular/material/list', '@angular/material/menu', '@angular/material/progress-bar', '@angular/material/progress-spinner', '@angular/material/radio', '@angular/material/slider', '@angular/material/sidenav', '@angular/material/snack-bar', '@angular/material/stepper', '@angular/material/toolbar', '@angular/material/tooltip', '@angular/material/paginator', '@angular/material/sort', '@angular/material/table'], factory) :
|
|
4
|
+
(global = global || self, factory((global.fluxhub = global.fluxhub || {}, global.fluxhub['fluxhub-lib'] = {}), global.ng.core, global.ng.common.http, global.ngxToastr, global.rxjs.operators, global.rxjs, global.ngxSimpleCrypt, global.cryptoJs, global.ng.material.dialog, global.ng.forms, global.ng2FileUpload, global.ng.router, global.ng2SlimLoadingBar, null, global.ng.material.select, global.ng.material['slide-toggle'], global.ng.material.autocomplete, global.momentNs, global.ng.material.core, global.ng.common, null, null, null, null, null, null, null, null, null, null, null, null, global.NavigatedViewer, global.ng.material.tabs, global.ng['flex-layout'], global.ngxMarkdown, global.ng2Ckeditor, global.agGridAngular, global.core$2, global.ng.cdk.table, global.ngforage, global.core$3, global.ng2Dragula, global.ng.platformBrowser, global.ng.material.card, global.ng.material.button, global.ng.material.checkbox, global.ng.material['button-toggle'], global.ng.material.chips, global.ng.material.datepicker, global.ng.material.expansion, global.ng.material['form-field'], global.ng.material['grid-list'], global.ng.material.icon, global.ng.material.input, global.ng.material.list, global.ng.material.menu, global.ng.material['progress-bar'], global.ng.material['progress-spinner'], global.ng.material.radio, global.ng.material.slider, global.ng.material.sidenav, global.ng.material['snack-bar'], global.ng.material.stepper, global.ng.material.toolbar, global.ng.material.tooltip, global.ng.material.paginator, global.ng.material.sort, global.ng.material.table));
|
|
5
|
+
}(this, (function (exports, core, http, ngxToastr, operators, rxjs, ngxSimpleCrypt, cryptoJs, dialog, forms, ng2FileUpload, router, ng2SlimLoadingBar, agGridEnterprise, select, slideToggle, autocomplete, momentNs, core$1, common, clipboard, prismjs, prismToolbar, prismCopyToClipboard, prismCss, prismJavascript, prismJava, prismMarkup, prismTypescript, prismSass, prismScss, prismSql, NavigatedViewer, tabs, flexLayout, ngxMarkdown, ng2Ckeditor, agGridAngular, core$2, table, ngforage, core$3, ng2Dragula, platformBrowser, card, button, checkbox, buttonToggle, chips, datepicker, expansion, formField, gridList, icon, input, list, menu, progressBar, progressSpinner, radio, slider, sidenav, snackBar, stepper, toolbar, tooltip, paginator, sort, table$1) { 'use strict';
|
|
6
6
|
|
|
7
7
|
NavigatedViewer = NavigatedViewer && NavigatedViewer.hasOwnProperty('default') ? NavigatedViewer['default'] : NavigatedViewer;
|
|
8
8
|
|
|
@@ -1149,85 +1149,6 @@
|
|
|
1149
1149
|
return NumericEditorComponent;
|
|
1150
1150
|
}());
|
|
1151
1151
|
|
|
1152
|
-
var DateComponent = /** @class */ (function () {
|
|
1153
|
-
function DateComponent(uti_s) {
|
|
1154
|
-
this.uti_s = uti_s;
|
|
1155
|
-
this.label = "";
|
|
1156
|
-
}
|
|
1157
|
-
DateComponent.prototype.setDt = function () {
|
|
1158
|
-
// console.log(this.date_zz.getFullYear().toString()+"-"+this.uti_s.format2cifre(this.date_zz.getMonth()+1)+"-"+this.uti_s.format2cifre(this.date_zz.getDate())+"T00:00:00");
|
|
1159
|
-
this.date_zz = (this.appdt.getValue());
|
|
1160
|
-
this.params.api.stopEditing();
|
|
1161
|
-
};
|
|
1162
|
-
// dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
|
|
1163
|
-
DateComponent.prototype.ngAfterViewInit = function () {
|
|
1164
|
-
// this.container.element.nativeElement.focus();
|
|
1165
|
-
this.appdt.setFocus();
|
|
1166
|
-
};
|
|
1167
|
-
DateComponent.prototype.agInit = function (par) {
|
|
1168
|
-
this.params = par;
|
|
1169
|
-
if (par.value == null) {
|
|
1170
|
-
this.date = null;
|
|
1171
|
-
this.date_zz = null;
|
|
1172
|
-
return;
|
|
1173
|
-
} //new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);this.appdt.setValue(this.date);this.date_zz= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);return;}
|
|
1174
|
-
if (new Date(par.value).getFullYear() == 1970) {
|
|
1175
|
-
this.date = null;
|
|
1176
|
-
this.date_zz = null;
|
|
1177
|
-
return;
|
|
1178
|
-
}
|
|
1179
|
-
if (par.value.indexOf('--') != -1) {
|
|
1180
|
-
this.date = null;
|
|
1181
|
-
this.date_zz = null;
|
|
1182
|
-
return;
|
|
1183
|
-
} //this.date= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);this.appdt.setValue(this.date);this.date_zz= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);return;}
|
|
1184
|
-
this.date = new Date(par.value);
|
|
1185
|
-
/* let a:Date=new Date();
|
|
1186
|
-
a.setDate(a.getDate()+1);
|
|
1187
|
-
if(this.date<a)this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate()); */
|
|
1188
|
-
this.appdt.setValue(this.date);
|
|
1189
|
-
this.date_zz = new Date(par.value);
|
|
1190
|
-
};
|
|
1191
|
-
DateComponent.prototype.getValue = function () {
|
|
1192
|
-
// var dt:Date=new Date(Date.UTC(this.date_zz.getFullYear()-1900,this.date_zz.getMonth(),this.date_zz.getDate()));
|
|
1193
|
-
// console.log(this.date_zz.getFullYear().toString()+"-"+this.uti_s.format2cifre(this.date_zz.getMonth()+1)+"-"+this.uti_s.format2cifre(this.date_zz.getDate())+"T00:00:00");
|
|
1194
|
-
if (this.date_zz == null)
|
|
1195
|
-
return null;
|
|
1196
|
-
return this.date_zz.getFullYear().toString() + "-" + this.uti_s.format2cifre(this.date_zz.getMonth() + 1) + "-" + this.uti_s.format2cifre(this.date_zz.getDate()) + "T00:00:00"; //this.date_zz.toJSON();
|
|
1197
|
-
};
|
|
1198
|
-
DateComponent.prototype.isPopup = function () {
|
|
1199
|
-
return true;
|
|
1200
|
-
};
|
|
1201
|
-
DateComponent.prototype.onKeyDown = function (event) {
|
|
1202
|
-
var key = event.which || event.keyCode;
|
|
1203
|
-
if (key == 37 || // left
|
|
1204
|
-
key == 39) { // right
|
|
1205
|
-
// this.toggleMood();
|
|
1206
|
-
event.stopPropagation();
|
|
1207
|
-
}
|
|
1208
|
-
};
|
|
1209
|
-
DateComponent.ctorParameters = function () { return [
|
|
1210
|
-
{ type: UtilityService }
|
|
1211
|
-
]; };
|
|
1212
|
-
__decorate([
|
|
1213
|
-
core.ViewChild('container', { read: core.ViewContainerRef }),
|
|
1214
|
-
__metadata("design:type", Object)
|
|
1215
|
-
], DateComponent.prototype, "container", void 0);
|
|
1216
|
-
__decorate([
|
|
1217
|
-
core.ViewChild('appdt'),
|
|
1218
|
-
__metadata("design:type", Object)
|
|
1219
|
-
], DateComponent.prototype, "appdt", void 0);
|
|
1220
|
-
DateComponent = __decorate([
|
|
1221
|
-
core.Component({
|
|
1222
|
-
selector: 'editor-cell',
|
|
1223
|
-
template: "\n <div #container fxLayout=\"row\" class=\"mood\" tabindex=\"0\" (keydown)=\"onKeyDown($event)\">\n\n <DtPicker [(ngModel)]=\"date\" #appdt\n [show_buttons]=\"false\" ngDefaultControl\n\n >\n </DtPicker>\n <button mat-flat-button color=\"primary\" (click)=\"setDt()\">CONFERMA</button>\n\n </div>\n\n\n ",
|
|
1224
|
-
styles: ["\n .mood {\n border-radius: 15px;\n border: 1px solid grey;\n background: #e6e6e6;\n padding: 15px;\n text-align: center;\n display: inline-block;\n outline: none\n }\n\n .default {\n padding-left: 10px;\n padding-right: 10px;\n border: 1px solid transparent;\n padding: 4px;\n }\n\n .selected {\n padding-left: 10px;\n padding-right: 10px;\n border: 1px solid lightgreen;\n padding: 4px;\n }\n "]
|
|
1225
|
-
}),
|
|
1226
|
-
__metadata("design:paramtypes", [UtilityService])
|
|
1227
|
-
], DateComponent);
|
|
1228
|
-
return DateComponent;
|
|
1229
|
-
}());
|
|
1230
|
-
|
|
1231
1152
|
var win_time_slider = /** @class */ (function () {
|
|
1232
1153
|
function win_time_slider(dialogRef, toastr, m_appService, uti_s) {
|
|
1233
1154
|
this.dialogRef = dialogRef;
|
|
@@ -7730,164 +7651,6 @@
|
|
|
7730
7651
|
return ReplaceLineBreaks;
|
|
7731
7652
|
}());
|
|
7732
7653
|
|
|
7733
|
-
var DtPick = /** @class */ (function () {
|
|
7734
|
-
function DtPick() {
|
|
7735
|
-
this.label = '';
|
|
7736
|
-
this.required = false;
|
|
7737
|
-
this.show_buttons = false;
|
|
7738
|
-
this.enabled = true;
|
|
7739
|
-
this.min_date = null;
|
|
7740
|
-
this.max_date = null;
|
|
7741
|
-
this.change = new core.EventEmitter();
|
|
7742
|
-
this.myDatePickerOptions = {
|
|
7743
|
-
// other options...
|
|
7744
|
-
width: '150px',
|
|
7745
|
-
dateFormat: 'dd/mm/yyyy',
|
|
7746
|
-
dayLabels: { su: 'Dom', mo: 'Lun', tu: 'Mar', we: 'Mer', th: 'Gio', fr: 'Ven', sa: 'Sab' },
|
|
7747
|
-
monthLabels: {
|
|
7748
|
-
1: 'Gen',
|
|
7749
|
-
2: 'Feb',
|
|
7750
|
-
3: 'Mar',
|
|
7751
|
-
4: 'Apr',
|
|
7752
|
-
5: 'Mag',
|
|
7753
|
-
6: 'Giu',
|
|
7754
|
-
7: 'Lug',
|
|
7755
|
-
8: 'Ago',
|
|
7756
|
-
9: 'Set',
|
|
7757
|
-
10: 'Ott',
|
|
7758
|
-
11: 'Nov',
|
|
7759
|
-
12: 'Dic'
|
|
7760
|
-
}
|
|
7761
|
-
};
|
|
7762
|
-
this.date_sel = null;
|
|
7763
|
-
}
|
|
7764
|
-
DtPick.prototype.setFocus = function () {
|
|
7765
|
-
this.dtc.setFocusToInputBox();
|
|
7766
|
-
};
|
|
7767
|
-
DtPick.prototype.dt_ch = function () {
|
|
7768
|
-
var _this = this;
|
|
7769
|
-
setTimeout(function () {
|
|
7770
|
-
_this.change.emit();
|
|
7771
|
-
}, 50);
|
|
7772
|
-
};
|
|
7773
|
-
DtPick.prototype.add_year = function () {
|
|
7774
|
-
this.date_sel = {
|
|
7775
|
-
date: {
|
|
7776
|
-
year: this.date_sel.date.year + 1,
|
|
7777
|
-
month: this.date_sel.date.month,
|
|
7778
|
-
day: this.date_sel.date.day
|
|
7779
|
-
}
|
|
7780
|
-
};
|
|
7781
|
-
this.change.emit();
|
|
7782
|
-
};
|
|
7783
|
-
DtPick.prototype.ini_year = function () {
|
|
7784
|
-
this.date_sel = { date: { year: new Date().getFullYear(), month: 1, day: 1 } };
|
|
7785
|
-
this.change.emit();
|
|
7786
|
-
};
|
|
7787
|
-
DtPick.prototype.fin_year = function () {
|
|
7788
|
-
this.date_sel = { date: { year: new Date().getFullYear(), month: 12, day: 31 } };
|
|
7789
|
-
this.change.emit();
|
|
7790
|
-
};
|
|
7791
|
-
DtPick.prototype.getValue = function () {
|
|
7792
|
-
/*
|
|
7793
|
-
console.log(this.date_sel);
|
|
7794
|
-
console.log(this.date_sel.date.year);
|
|
7795
|
-
console.log( this.date_sel.date.month-1);
|
|
7796
|
-
console.log( this.date_sel.date.day);*/
|
|
7797
|
-
if (this.date_sel == null)
|
|
7798
|
-
return null;
|
|
7799
|
-
return new Date(this.date_sel.date.year, this.date_sel.date.month - 1, this.date_sel.date.day);
|
|
7800
|
-
};
|
|
7801
|
-
DtPick.prototype.ngOnInit = function () {
|
|
7802
|
-
this.setLimits();
|
|
7803
|
-
// this.myDatePickerOptions.componentDisabled=!this.enabled;
|
|
7804
|
-
};
|
|
7805
|
-
DtPick.prototype.getCopyOfOptions = function () {
|
|
7806
|
-
return JSON.parse(JSON.stringify(this.myDatePickerOptions));
|
|
7807
|
-
};
|
|
7808
|
-
DtPick.prototype.setLimits = function () {
|
|
7809
|
-
var copy = this.getCopyOfOptions();
|
|
7810
|
-
if (this.min_date != null) {
|
|
7811
|
-
this.min_date.setDate(this.min_date.getDate() - 1);
|
|
7812
|
-
copy.disableUntil = {
|
|
7813
|
-
year: this.min_date.getFullYear(),
|
|
7814
|
-
month: this.min_date.getMonth() + 1,
|
|
7815
|
-
day: this.min_date.getDate()
|
|
7816
|
-
};
|
|
7817
|
-
}
|
|
7818
|
-
;
|
|
7819
|
-
if (this.max_date != null) {
|
|
7820
|
-
this.max_date.setDate(this.max_date.getDate() + 1);
|
|
7821
|
-
copy.disableSince = {
|
|
7822
|
-
year: this.max_date.getFullYear(),
|
|
7823
|
-
month: this.max_date.getMonth() + 1,
|
|
7824
|
-
day: this.max_date.getDate()
|
|
7825
|
-
};
|
|
7826
|
-
}
|
|
7827
|
-
;
|
|
7828
|
-
this.myDatePickerOptions = copy;
|
|
7829
|
-
};
|
|
7830
|
-
DtPick.prototype.setToday = function () {
|
|
7831
|
-
this.date_sel = {
|
|
7832
|
-
date: {
|
|
7833
|
-
year: new Date().getFullYear(),
|
|
7834
|
-
month: new Date().getMonth() + 1,
|
|
7835
|
-
day: new Date().getDate()
|
|
7836
|
-
}
|
|
7837
|
-
};
|
|
7838
|
-
};
|
|
7839
|
-
DtPick.prototype.setValue = function (d) {
|
|
7840
|
-
//console.log('setValue');
|
|
7841
|
-
//console.log(d);
|
|
7842
|
-
if (d == null) {
|
|
7843
|
-
this.date_sel = null;
|
|
7844
|
-
return;
|
|
7845
|
-
}
|
|
7846
|
-
this.date_sel = { date: { year: d.getFullYear(), month: d.getMonth() + 1, day: d.getDate() } };
|
|
7847
|
-
};
|
|
7848
|
-
__decorate([
|
|
7849
|
-
core.Input(),
|
|
7850
|
-
__metadata("design:type", String)
|
|
7851
|
-
], DtPick.prototype, "label", void 0);
|
|
7852
|
-
__decorate([
|
|
7853
|
-
core.Input(),
|
|
7854
|
-
__metadata("design:type", Boolean)
|
|
7855
|
-
], DtPick.prototype, "required", void 0);
|
|
7856
|
-
__decorate([
|
|
7857
|
-
core.Input(),
|
|
7858
|
-
__metadata("design:type", Boolean)
|
|
7859
|
-
], DtPick.prototype, "show_buttons", void 0);
|
|
7860
|
-
__decorate([
|
|
7861
|
-
core.Input(),
|
|
7862
|
-
__metadata("design:type", Boolean)
|
|
7863
|
-
], DtPick.prototype, "enabled", void 0);
|
|
7864
|
-
__decorate([
|
|
7865
|
-
core.Input(),
|
|
7866
|
-
__metadata("design:type", Date)
|
|
7867
|
-
], DtPick.prototype, "min_date", void 0);
|
|
7868
|
-
__decorate([
|
|
7869
|
-
core.Input(),
|
|
7870
|
-
__metadata("design:type", Date)
|
|
7871
|
-
], DtPick.prototype, "max_date", void 0);
|
|
7872
|
-
__decorate([
|
|
7873
|
-
core.Output(),
|
|
7874
|
-
__metadata("design:type", core.EventEmitter)
|
|
7875
|
-
], DtPick.prototype, "change", void 0);
|
|
7876
|
-
__decorate([
|
|
7877
|
-
core.ViewChild('appdt'),
|
|
7878
|
-
__metadata("design:type", mydatepicker.MyDatePicker)
|
|
7879
|
-
], DtPick.prototype, "dtc", void 0);
|
|
7880
|
-
DtPick = __decorate([
|
|
7881
|
-
core.Component({
|
|
7882
|
-
selector: 'DtPicker',
|
|
7883
|
-
template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"add_year()\">+1 Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <div class=\"lb_small_grigia\">{{label}}</div>\n <my-date-picker (dateChanged)=\"dt_ch()\" #appdt [options]=\"myDatePickerOptions\" *ngIf=\"enabled\"\n [(ngModel)]=\"date_sel\"></my-date-picker>\n\n <div *ngIf=\"!enabled\" class=\"label_dis\">\n {{this.date_sel?.date.day}}/{{this.date_sel?.date.month}}/{{this.date_sel?.date.year}}\n </div>\n ",
|
|
7884
|
-
styles: ["\n .lb_small_grigia {\n font-size: 12px;\n color: #B8B8B8;\n }\n\n .label_dis {\n font-size: 14px;\n font-weight: bold;\n }\n "]
|
|
7885
|
-
}),
|
|
7886
|
-
__metadata("design:paramtypes", [])
|
|
7887
|
-
], DtPick);
|
|
7888
|
-
return DtPick;
|
|
7889
|
-
}());
|
|
7890
|
-
|
|
7891
7654
|
var FHPickListComponent = /** @class */ (function () {
|
|
7892
7655
|
function FHPickListComponent(dialogRef, _dataService, toastr) {
|
|
7893
7656
|
this.dialogRef = dialogRef;
|
|
@@ -14298,22 +14061,22 @@
|
|
|
14298
14061
|
paginator.MatPaginatorModule,
|
|
14299
14062
|
sort.MatSortModule,
|
|
14300
14063
|
table$1.MatTableModule,
|
|
14301
|
-
core$1.MatNativeDateModule,
|
|
14064
|
+
core$1.MatNativeDateModule, ng2FileUpload.FileUploadModule, agGridAngular.AgGridModule.withComponents([NumericEditorComponent]), common.CommonModule, ng2Dragula.DragulaModule, forms.FormsModule,
|
|
14302
14065
|
core$2.AgmCoreModule.forRoot({
|
|
14303
14066
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
14304
14067
|
}),
|
|
14305
14068
|
flexLayout.FlexLayoutModule, ngxMarkdown.MarkdownModule, ng2Ckeditor.CKEditorModule],
|
|
14306
14069
|
exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
14307
|
-
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent,
|
|
14070
|
+
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14308
14071
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
14309
|
-
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks,
|
|
14072
|
+
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
14310
14073
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
14311
14074
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
14312
14075
|
declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
14313
14076
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
14314
|
-
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent,
|
|
14077
|
+
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14315
14078
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
14316
|
-
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks,
|
|
14079
|
+
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
14317
14080
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
|
|
14318
14081
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
|
|
14319
14082
|
win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level,
|
|
@@ -14506,8 +14269,6 @@
|
|
|
14506
14269
|
exports.AuthenticationService = AuthenticationService;
|
|
14507
14270
|
exports.ComboBoxEditor = ComboBoxEditor;
|
|
14508
14271
|
exports.CurrencyComponent = CurrencyComponent;
|
|
14509
|
-
exports.DateComponent = DateComponent;
|
|
14510
|
-
exports.DtPick = DtPick;
|
|
14511
14272
|
exports.FHAutoCompleteComponent = FHAutoCompleteComponent;
|
|
14512
14273
|
exports.FHComboboxComponent = FHComboboxComponent;
|
|
14513
14274
|
exports.FHConfirmComponent = FHConfirmComponent;
|