primeng 7.1.3 → 8.0.2
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/.editorconfig +1 -1
- package/CHANGELOG.md +119 -0
- package/README.md +1 -1
- package/browserslist +12 -0
- package/components/accordion/accordion.d.ts +4 -2
- package/components/accordion/accordion.js +24 -7
- package/components/accordion/accordion.js.map +1 -1
- package/components/accordion/accordion.metadata.json +1 -1
- package/components/autocomplete/autocomplete.d.ts +2 -0
- package/components/autocomplete/autocomplete.js +13 -5
- package/components/autocomplete/autocomplete.js.map +1 -1
- package/components/autocomplete/autocomplete.metadata.json +1 -1
- package/components/blockui/blockui.js +2 -2
- package/components/blockui/blockui.js.map +1 -1
- package/components/blockui/blockui.metadata.json +1 -1
- package/components/button/button.d.ts +1 -1
- package/components/button/button.js.map +1 -1
- package/components/calendar/calendar.d.ts +5 -2
- package/components/calendar/calendar.js +47 -23
- package/components/calendar/calendar.js.map +1 -1
- package/components/calendar/calendar.metadata.json +1 -1
- package/components/card/card.js +2 -2
- package/components/card/card.js.map +1 -1
- package/components/card/card.metadata.json +1 -1
- package/components/carousel/carousel.js +4 -4
- package/components/carousel/carousel.js.map +1 -1
- package/components/carousel/carousel.metadata.json +1 -1
- package/components/chart/chart.js +1 -0
- package/components/chart/chart.js.map +1 -1
- package/components/chart/chart.metadata.json +1 -1
- package/components/chips/chips.js +1 -1
- package/components/chips/chips.js.map +1 -1
- package/components/chips/chips.metadata.json +1 -1
- package/components/colorpicker/colorpicker.js +5 -5
- package/components/colorpicker/colorpicker.js.map +1 -1
- package/components/colorpicker/colorpicker.metadata.json +1 -1
- package/components/common/confirmationservice.d.ts +2 -2
- package/components/common/messageservice.d.ts +2 -2
- package/components/common/shared.js +1 -1
- package/components/common/shared.js.map +1 -1
- package/components/common/shared.metadata.json +1 -1
- package/components/common/treedragdropservice.d.ts +2 -2
- package/components/confirmdialog/confirmdialog.js +4 -4
- package/components/confirmdialog/confirmdialog.js.map +1 -1
- package/components/confirmdialog/confirmdialog.metadata.json +1 -1
- package/components/contextmenu/contextmenu.d.ts +5 -3
- package/components/contextmenu/contextmenu.js +14 -2
- package/components/contextmenu/contextmenu.js.map +1 -1
- package/components/contextmenu/contextmenu.metadata.json +1 -1
- package/components/datagrid/datagrid.d.ts +1 -1
- package/components/datagrid/datagrid.js +2 -2
- package/components/datagrid/datagrid.js.map +1 -1
- package/components/datagrid/datagrid.metadata.json +1 -1
- package/components/datalist/datalist.d.ts +1 -1
- package/components/datalist/datalist.js +2 -2
- package/components/datalist/datalist.js.map +1 -1
- package/components/datalist/datalist.metadata.json +1 -1
- package/components/datascroller/datascroller.js +3 -3
- package/components/datascroller/datascroller.js.map +1 -1
- package/components/datascroller/datascroller.metadata.json +1 -1
- package/components/dataview/dataview.d.ts +2 -1
- package/components/dataview/dataview.js +8 -3
- package/components/dataview/dataview.js.map +1 -1
- package/components/dataview/dataview.metadata.json +1 -1
- package/components/defer/defer.js +1 -1
- package/components/defer/defer.js.map +1 -1
- package/components/defer/defer.metadata.json +1 -1
- package/components/dialog/dialog.d.ts +0 -1
- package/components/dialog/dialog.js +4 -14
- package/components/dialog/dialog.js.map +1 -1
- package/components/dialog/dialog.metadata.json +1 -1
- package/components/dom/domhandler.d.ts +1 -0
- package/components/dom/domhandler.js +11 -1
- package/components/dom/domhandler.js.map +1 -1
- package/components/dropdown/dropdown.d.ts +6 -1
- package/components/dropdown/dropdown.js +41 -10
- package/components/dropdown/dropdown.js.map +1 -1
- package/components/dropdown/dropdown.metadata.json +1 -1
- package/components/dynamicdialog/dynamicdialog.js +2 -2
- package/components/dynamicdialog/dynamicdialog.js.map +1 -1
- package/components/dynamicdialog/dynamicdialog.metadata.json +1 -1
- package/components/editor/editor.js +2 -1
- package/components/editor/editor.js.map +1 -1
- package/components/editor/editor.metadata.json +1 -1
- package/components/fieldset/fieldset.js +8 -3
- package/components/fieldset/fieldset.js.map +1 -1
- package/components/fieldset/fieldset.metadata.json +1 -1
- package/components/fileupload/fileupload.d.ts +11 -2
- package/components/fileupload/fileupload.js +83 -15
- package/components/fileupload/fileupload.js.map +1 -1
- package/components/fileupload/fileupload.metadata.json +1 -1
- package/components/focustrap/focustrap.d.ts +8 -0
- package/components/focustrap/focustrap.js +73 -0
- package/components/focustrap/focustrap.js.map +1 -0
- package/components/focustrap/focustrap.metadata.json +1 -0
- package/components/growl/growl.js +1 -1
- package/components/growl/growl.js.map +1 -1
- package/components/growl/growl.metadata.json +1 -1
- package/components/inputmask/inputmask.d.ts +1 -0
- package/components/inputmask/inputmask.js +7 -3
- package/components/inputmask/inputmask.js.map +1 -1
- package/components/inputmask/inputmask.metadata.json +1 -1
- package/components/keyfilter/keyfilter.d.ts +8 -1
- package/components/keyfilter/keyfilter.js +59 -3
- package/components/keyfilter/keyfilter.js.map +1 -1
- package/components/keyfilter/keyfilter.metadata.json +1 -1
- package/components/lightbox/lightbox.d.ts +4 -0
- package/components/lightbox/lightbox.js +39 -20
- package/components/lightbox/lightbox.js.map +1 -1
- package/components/lightbox/lightbox.metadata.json +1 -1
- package/components/listbox/listbox.js +3 -3
- package/components/listbox/listbox.js.map +1 -1
- package/components/listbox/listbox.metadata.json +1 -1
- package/components/menu/menu.d.ts +2 -2
- package/components/menu/menu.js +2 -2
- package/components/menu/menu.js.map +1 -1
- package/components/menu/menu.metadata.json +1 -1
- package/components/multiselect/multiselect.d.ts +4 -0
- package/components/multiselect/multiselect.js +51 -12
- package/components/multiselect/multiselect.js.map +1 -1
- package/components/multiselect/multiselect.metadata.json +1 -1
- package/components/orderlist/orderlist.js +2 -1
- package/components/orderlist/orderlist.js.map +1 -1
- package/components/orderlist/orderlist.metadata.json +1 -1
- package/components/organizationchart/organizationchart.d.ts +4 -2
- package/components/organizationchart/organizationchart.js +15 -1
- package/components/organizationchart/organizationchart.js.map +1 -1
- package/components/organizationchart/organizationchart.metadata.json +1 -1
- package/components/overlaypanel/overlaypanel.d.ts +2 -0
- package/components/overlaypanel/overlaypanel.js +8 -3
- package/components/overlaypanel/overlaypanel.js.map +1 -1
- package/components/overlaypanel/overlaypanel.metadata.json +1 -1
- package/components/paginator/paginator.d.ts +4 -2
- package/components/paginator/paginator.js +25 -9
- package/components/paginator/paginator.js.map +1 -1
- package/components/paginator/paginator.metadata.json +1 -1
- package/components/panel/panel.js +9 -3
- package/components/panel/panel.js.map +1 -1
- package/components/panel/panel.metadata.json +1 -1
- package/components/panelmenu/panelmenu.js +15 -5
- package/components/panelmenu/panelmenu.js.map +1 -1
- package/components/panelmenu/panelmenu.metadata.json +1 -1
- package/components/picklist/picklist.js +4 -4
- package/components/picklist/picklist.js.map +1 -1
- package/components/picklist/picklist.metadata.json +1 -1
- package/components/radiobutton/radiobutton.js +2 -2
- package/components/radiobutton/radiobutton.js.map +1 -1
- package/components/radiobutton/radiobutton.metadata.json +1 -1
- package/components/scrollpanel/scrollpanel.js +4 -4
- package/components/scrollpanel/scrollpanel.js.map +1 -1
- package/components/scrollpanel/scrollpanel.metadata.json +1 -1
- package/components/selectbutton/selectbutton.js +1 -1
- package/components/selectbutton/selectbutton.js.map +1 -1
- package/components/selectbutton/selectbutton.metadata.json +1 -1
- package/components/sidebar/sidebar.d.ts +6 -0
- package/components/sidebar/sidebar.js +40 -3
- package/components/sidebar/sidebar.js.map +1 -1
- package/components/sidebar/sidebar.metadata.json +1 -1
- package/components/slidemenu/slidemenu.d.ts +2 -2
- package/components/slidemenu/slidemenu.js +6 -6
- package/components/slidemenu/slidemenu.js.map +1 -1
- package/components/slidemenu/slidemenu.metadata.json +1 -1
- package/components/spinner/spinner.d.ts +11 -5
- package/components/spinner/spinner.js +54 -40
- package/components/spinner/spinner.js.map +1 -1
- package/components/spinner/spinner.metadata.json +1 -1
- package/components/splitbutton/splitbutton.js +2 -2
- package/components/splitbutton/splitbutton.js.map +1 -1
- package/components/splitbutton/splitbutton.metadata.json +1 -1
- package/components/table/table.d.ts +13 -14
- package/components/table/table.js +59 -59
- package/components/table/table.js.map +1 -1
- package/components/table/table.metadata.json +1 -1
- package/components/terminal/terminalservice.d.ts +2 -2
- package/components/tieredmenu/tieredmenu.d.ts +2 -2
- package/components/tieredmenu/tieredmenu.js +2 -2
- package/components/tieredmenu/tieredmenu.js.map +1 -1
- package/components/tieredmenu/tieredmenu.metadata.json +1 -1
- package/components/toast/toast.js +2 -2
- package/components/toast/toast.js.map +1 -1
- package/components/toast/toast.metadata.json +1 -1
- package/components/togglebutton/togglebutton.js +7 -3
- package/components/togglebutton/togglebutton.js.map +1 -1
- package/components/togglebutton/togglebutton.metadata.json +1 -1
- package/components/tree/tree.d.ts +2 -2
- package/components/tree/tree.js +1 -1
- package/components/tree/tree.js.map +1 -1
- package/components/tree/tree.metadata.json +1 -1
- package/components/treetable/treetable.d.ts +6 -6
- package/components/treetable/treetable.js +22 -16
- package/components/treetable/treetable.js.map +1 -1
- package/components/treetable/treetable.metadata.json +1 -1
- package/components/utils/objectutils.js +3 -5
- package/components/utils/objectutils.js.map +1 -1
- package/components/virtualscroller/virtualscroller.js +3 -3
- package/components/virtualscroller/virtualscroller.js.map +1 -1
- package/components/virtualscroller/virtualscroller.metadata.json +1 -1
- package/focustrap.d.ts +1 -0
- package/{datatable.js → focustrap.js} +1 -1
- package/package.json +35 -39
- package/primeng.d.ts +0 -1
- package/primeng.js +0 -1
- package/resources/components/dropdown/dropdown.css +15 -0
- package/resources/components/inputtextarea/inputtextarea.css +12 -7
- package/resources/components/lightbox/lightbox.css +3 -0
- package/resources/components/multiselect/multiselect.css +4 -0
- package/resources/primeng.css +780 -1123
- package/resources/primeng.min.css +1 -1
- package/tsconfig.app.json +15 -0
- package/tsconfig.spec.json +19 -0
- package/components/datatable/datatable.d.ts +0 -353
- package/components/datatable/datatable.js +0 -2402
- package/components/datatable/datatable.js.map +0 -1
- package/components/datatable/datatable.metadata.json +0 -1
- package/datatable.d.ts +0 -1
- package/resources/components/datatable/datatable.css +0 -370
- package/resources/themes/_theme.scss +0 -857
- package/resources/themes/bootstrap/theme.css +0 -2248
- package/resources/themes/cruze/theme.css +0 -881
- package/resources/themes/cruze/theme.scss +0 -61
- package/resources/themes/cupertino/theme.css +0 -881
- package/resources/themes/cupertino/theme.scss +0 -61
- package/resources/themes/darkness/theme.css +0 -881
- package/resources/themes/darkness/theme.scss +0 -61
- package/resources/themes/flick/theme.css +0 -881
- package/resources/themes/flick/theme.scss +0 -61
- package/resources/themes/home/theme.css +0 -881
- package/resources/themes/home/theme.scss +0 -61
- package/resources/themes/kasper/theme.css +0 -881
- package/resources/themes/kasper/theme.scss +0 -61
- package/resources/themes/lightness/theme.css +0 -881
- package/resources/themes/lightness/theme.scss +0 -61
- package/resources/themes/ludvig/theme.css +0 -881
- package/resources/themes/ludvig/theme.scss +0 -61
- package/resources/themes/omega/fonts/roboto-v15-latin-regular.eot +0 -0
- package/resources/themes/omega/fonts/roboto-v15-latin-regular.svg +0 -308
- package/resources/themes/omega/fonts/roboto-v15-latin-regular.ttf +0 -0
- package/resources/themes/omega/fonts/roboto-v15-latin-regular.woff +0 -0
- package/resources/themes/omega/fonts/roboto-v15-latin-regular.woff2 +0 -0
- package/resources/themes/omega/images/icons_16.png +0 -0
- package/resources/themes/omega/images/slider_handles.png +0 -0
- package/resources/themes/omega/images/slider_handles@2x.png +0 -0
- package/resources/themes/omega/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- package/resources/themes/omega/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- package/resources/themes/omega/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- package/resources/themes/omega/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- package/resources/themes/omega/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- package/resources/themes/omega/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- package/resources/themes/omega/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- package/resources/themes/omega/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- package/resources/themes/omega/images/ui-icons_222222_256x240.png +0 -0
- package/resources/themes/omega/images/ui-icons_2e83ff_256x240.png +0 -0
- package/resources/themes/omega/images/ui-icons_454545_256x240.png +0 -0
- package/resources/themes/omega/images/ui-icons_cd0a0a_256x240.png +0 -0
- package/resources/themes/omega/images/ui-icons_ffffff_256x240.png +0 -0
- package/resources/themes/omega/theme.css +0 -1457
- package/resources/themes/omega/theme.scss +0 -641
- package/resources/themes/pepper-grinder/theme.css +0 -881
- package/resources/themes/pepper-grinder/theme.scss +0 -61
- package/resources/themes/redmond/theme.css +0 -881
- package/resources/themes/redmond/theme.scss +0 -61
- package/resources/themes/rocket/theme.css +0 -881
- package/resources/themes/rocket/theme.scss +0 -61
- package/resources/themes/south-street/theme.css +0 -887
- package/resources/themes/south-street/theme.scss +0 -67
- package/resources/themes/start/theme.css +0 -881
- package/resources/themes/start/theme.scss +0 -61
- package/resources/themes/trontastic/theme.css +0 -881
- package/resources/themes/trontastic/theme.scss +0 -61
- package/resources/themes/voclain/theme.css +0 -881
- package/resources/themes/voclain/theme.scss +0 -61
@@ -19,8 +19,9 @@ exports.SPINNER_VALUE_ACCESSOR = {
|
|
19
19
|
multi: true
|
20
20
|
};
|
21
21
|
var Spinner = /** @class */ (function () {
|
22
|
-
function Spinner(el) {
|
22
|
+
function Spinner(el, cd) {
|
23
23
|
this.el = el;
|
24
|
+
this.cd = cd;
|
24
25
|
this.onChange = new core_1.EventEmitter();
|
25
26
|
this.onFocus = new core_1.EventEmitter();
|
26
27
|
this.onBlur = new core_1.EventEmitter();
|
@@ -30,27 +31,6 @@ var Spinner = /** @class */ (function () {
|
|
30
31
|
this.keyPattern = /[0-9\+\-]/;
|
31
32
|
this.negativeSeparator = '-';
|
32
33
|
}
|
33
|
-
Object.defineProperty(Spinner.prototype, "decimalSeparator", {
|
34
|
-
set: function (value) {
|
35
|
-
console.warn("decimalSeparator property is removed as Spinner does not format the value anymore.");
|
36
|
-
},
|
37
|
-
enumerable: true,
|
38
|
-
configurable: true
|
39
|
-
});
|
40
|
-
Object.defineProperty(Spinner.prototype, "thousandSeparator", {
|
41
|
-
set: function (value) {
|
42
|
-
console.warn("thousandSeparator property is removed as Spinner does not format the value anymore.");
|
43
|
-
},
|
44
|
-
enumerable: true,
|
45
|
-
configurable: true
|
46
|
-
});
|
47
|
-
Object.defineProperty(Spinner.prototype, "formatInput", {
|
48
|
-
set: function (value) {
|
49
|
-
console.warn("formatInput property is removed as Spinner does not format the value anymore.");
|
50
|
-
},
|
51
|
-
enumerable: true,
|
52
|
-
configurable: true
|
53
|
-
});
|
54
34
|
Object.defineProperty(Spinner.prototype, "type", {
|
55
35
|
set: function (value) {
|
56
36
|
console.warn("type property is removed as Spinner does not format the value anymore");
|
@@ -66,6 +46,14 @@ var Spinner = /** @class */ (function () {
|
|
66
46
|
// If step is not an integer then extract the length of the decimal part
|
67
47
|
this.precision = this.step.toString().split(/[,]|[.]/)[1].length;
|
68
48
|
}
|
49
|
+
if (this.formatInput) {
|
50
|
+
this.localeDecimalSeparator = (1.1).toLocaleString().substring(1, 2);
|
51
|
+
this.localeThousandSeparator = (1000).toLocaleString().substring(1, 2);
|
52
|
+
this.thousandRegExp = new RegExp("[" + (this.thousandSeparator || this.localeThousandSeparator) + "]", 'gim');
|
53
|
+
if (this.decimalSeparator && this.thousandSeparator && this.decimalSeparator === this.thousandSeparator) {
|
54
|
+
console.warn("thousandSeparator and decimalSeparator cannot have the same value.");
|
55
|
+
}
|
56
|
+
}
|
69
57
|
};
|
70
58
|
Spinner.prototype.repeat = function (event, interval, dir) {
|
71
59
|
var _this = this;
|
@@ -96,6 +84,7 @@ var Spinner = /** @class */ (function () {
|
|
96
84
|
if (this.max !== undefined && this.value > this.max) {
|
97
85
|
this.value = this.max;
|
98
86
|
}
|
87
|
+
this.formatValue();
|
99
88
|
this.onModelChange(this.value);
|
100
89
|
this.onChange.emit(event);
|
101
90
|
};
|
@@ -159,6 +148,7 @@ var Spinner = /** @class */ (function () {
|
|
159
148
|
};
|
160
149
|
Spinner.prototype.onInputBlur = function (event) {
|
161
150
|
this.focus = false;
|
151
|
+
this.formatValue();
|
162
152
|
this.onModelTouched();
|
163
153
|
this.onBlur.emit(event);
|
164
154
|
};
|
@@ -172,10 +162,16 @@ var Spinner = /** @class */ (function () {
|
|
172
162
|
value = null;
|
173
163
|
}
|
174
164
|
else {
|
175
|
-
if (this.
|
176
|
-
|
177
|
-
|
165
|
+
if (this.formatInput) {
|
166
|
+
val = val.replace(this.thousandRegExp, '');
|
167
|
+
}
|
168
|
+
if (this.precision) {
|
169
|
+
val = this.formatInput ? val.replace(this.decimalSeparator || this.localeDecimalSeparator, '.') : val.replace(',', '.');
|
170
|
+
value = parseFloat(val);
|
171
|
+
}
|
172
|
+
else {
|
178
173
|
value = parseInt(val, 10);
|
174
|
+
}
|
179
175
|
if (!isNaN(value)) {
|
180
176
|
if (this.max !== null && value > this.max) {
|
181
177
|
value = this.max;
|
@@ -190,6 +186,25 @@ var Spinner = /** @class */ (function () {
|
|
190
186
|
}
|
191
187
|
return value;
|
192
188
|
};
|
189
|
+
Spinner.prototype.formatValue = function () {
|
190
|
+
var value = this.value;
|
191
|
+
if (value != null) {
|
192
|
+
if (this.formatInput) {
|
193
|
+
value = value.toLocaleString(undefined, { maximumFractionDigits: 20 });
|
194
|
+
if (this.decimalSeparator && this.thousandSeparator) {
|
195
|
+
value = value.split(this.localeDecimalSeparator);
|
196
|
+
if (this.precision && value[1]) {
|
197
|
+
value[1] = (this.decimalSeparator || this.localeDecimalSeparator) + value[1];
|
198
|
+
}
|
199
|
+
if (this.thousandSeparator && value[0].length > 3) {
|
200
|
+
value[0] = value[0].replace(new RegExp("[" + this.localeThousandSeparator + "]", 'gim'), this.thousandSeparator);
|
201
|
+
}
|
202
|
+
value = value.join('');
|
203
|
+
}
|
204
|
+
}
|
205
|
+
this.formattedValue = value.toString();
|
206
|
+
}
|
207
|
+
};
|
193
208
|
Spinner.prototype.clearTimer = function () {
|
194
209
|
if (this.timer) {
|
195
210
|
clearInterval(this.timer);
|
@@ -197,7 +212,9 @@ var Spinner = /** @class */ (function () {
|
|
197
212
|
};
|
198
213
|
Spinner.prototype.writeValue = function (value) {
|
199
214
|
this.value = value;
|
215
|
+
this.formatValue();
|
200
216
|
this.updateFilledState();
|
217
|
+
this.cd.markForCheck();
|
201
218
|
};
|
202
219
|
Spinner.prototype.registerOnChange = function (fn) {
|
203
220
|
this.onModelChange = fn;
|
@@ -279,25 +296,22 @@ var Spinner = /** @class */ (function () {
|
|
279
296
|
core_1.Input(),
|
280
297
|
__metadata("design:type", String)
|
281
298
|
], Spinner.prototype, "inputStyleClass", void 0);
|
282
|
-
__decorate([
|
283
|
-
core_1.ViewChild('inputfield'),
|
284
|
-
__metadata("design:type", core_1.ElementRef)
|
285
|
-
], Spinner.prototype, "inputfieldViewChild", void 0);
|
286
299
|
__decorate([
|
287
300
|
core_1.Input(),
|
288
|
-
__metadata("design:type",
|
289
|
-
|
290
|
-
], Spinner.prototype, "decimalSeparator", null);
|
301
|
+
__metadata("design:type", Boolean)
|
302
|
+
], Spinner.prototype, "formatInput", void 0);
|
291
303
|
__decorate([
|
292
304
|
core_1.Input(),
|
293
|
-
__metadata("design:type", String)
|
294
|
-
|
295
|
-
], Spinner.prototype, "thousandSeparator", null);
|
305
|
+
__metadata("design:type", String)
|
306
|
+
], Spinner.prototype, "decimalSeparator", void 0);
|
296
307
|
__decorate([
|
297
308
|
core_1.Input(),
|
298
|
-
__metadata("design:type",
|
299
|
-
|
300
|
-
|
309
|
+
__metadata("design:type", String)
|
310
|
+
], Spinner.prototype, "thousandSeparator", void 0);
|
311
|
+
__decorate([
|
312
|
+
core_1.ViewChild('inputfield', { static: false }),
|
313
|
+
__metadata("design:type", core_1.ElementRef)
|
314
|
+
], Spinner.prototype, "inputfieldViewChild", void 0);
|
301
315
|
__decorate([
|
302
316
|
core_1.Input(),
|
303
317
|
__metadata("design:type", String),
|
@@ -306,14 +320,14 @@ var Spinner = /** @class */ (function () {
|
|
306
320
|
Spinner = __decorate([
|
307
321
|
core_1.Component({
|
308
322
|
selector: 'p-spinner',
|
309
|
-
template: "\n <span class=\"ui-spinner ui-widget ui-corner-all\">\n <input #inputfield type=\"text\" [attr.id]=\"inputId\" [value]=\"
|
323
|
+
template: "\n <span class=\"ui-spinner ui-widget ui-corner-all\">\n <input #inputfield type=\"text\" [attr.id]=\"inputId\" [value]=\"formattedValue||null\" [attr.name]=\"name\"\n [attr.size]=\"size\" [attr.maxlength]=\"maxlength\" [attr.tabindex]=\"tabindex\" [attr.placeholder]=\"placeholder\" [disabled]=\"disabled\" [readonly]=\"readonly\" [attr.required]=\"required\"\n (keydown)=\"onInputKeydown($event)\" (blur)=\"onInputBlur($event)\" (input)=\"onInput($event)\" (change)=\"onInputChange($event)\" (focus)=\"onInputFocus($event)\"\n [ngStyle]=\"inputStyle\" [class]=\"inputStyleClass\" [ngClass]=\"'ui-spinner-input ui-inputtext ui-widget ui-state-default ui-corner-all'\">\n <button type=\"button\" [ngClass]=\"{'ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default':true,'ui-state-disabled':disabled}\" [disabled]=\"disabled||readonly\" [attr.tabindex]=\"tabindex\" [attr.readonly]=\"readonly\"\n (mouseleave)=\"onUpButtonMouseleave($event)\" (mousedown)=\"onUpButtonMousedown($event)\" (mouseup)=\"onUpButtonMouseup($event)\">\n <span class=\"ui-spinner-button-icon pi pi-caret-up ui-clickable\"></span>\n </button>\n <button type=\"button\" [ngClass]=\"{'ui-spinner-button ui-spinner-down ui-corner-br ui-button ui-widget ui-state-default':true,'ui-state-disabled':disabled}\" [disabled]=\"disabled||readonly\" [attr.tabindex]=\"tabindex\" [attr.readonly]=\"readonly\"\n (mouseleave)=\"onDownButtonMouseleave($event)\" (mousedown)=\"onDownButtonMousedown($event)\" (mouseup)=\"onDownButtonMouseup($event)\">\n <span class=\"ui-spinner-button-icon pi pi-caret-down ui-clickable\"></span>\n </button>\n </span>\n ",
|
310
324
|
host: {
|
311
325
|
'[class.ui-inputwrapper-filled]': 'filled',
|
312
326
|
'[class.ui-inputwrapper-focus]': 'focus'
|
313
327
|
},
|
314
328
|
providers: [exports.SPINNER_VALUE_ACCESSOR]
|
315
329
|
}),
|
316
|
-
__metadata("design:paramtypes", [core_1.ElementRef])
|
330
|
+
__metadata("design:paramtypes", [core_1.ElementRef, core_1.ChangeDetectorRef])
|
317
331
|
], Spinner);
|
318
332
|
return Spinner;
|
319
333
|
}());
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../src/app/components/spinner/spinner.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../src/app/components/spinner/spinner.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAA4I;AAC5I,0CAA6C;AAC7C,oDAAuD;AACvD,wCAAuE;AAE1D,QAAA,sBAAsB,GAAQ;IACvC,OAAO,EAAE,yBAAiB;IAC1B,WAAW,EAAE,iBAAU,CAAC,cAAM,OAAA,OAAO,EAAP,CAAO,CAAC;IACtC,KAAK,EAAE,IAAI;CACd,CAAC;AA0BF;IAsEI,iBAAmB,EAAc,EAAS,EAAqB;QAA5C,OAAE,GAAF,EAAE,CAAY;QAAS,OAAE,GAAF,EAAE,CAAmB;QApErD,aAAQ,GAAsB,IAAI,mBAAY,EAAE,CAAC;QAEjD,YAAO,GAAsB,IAAI,mBAAY,EAAE,CAAC;QAEhD,WAAM,GAAsB,IAAI,mBAAY,EAAE,CAAC;QAEhD,SAAI,GAAW,CAAC,CAAC;QAsC1B,kBAAa,GAAa,cAAO,CAAC,CAAC;QAEnC,mBAAc,GAAa,cAAO,CAAC,CAAC;QAEpC,eAAU,GAAW,WAAW,CAAC;QAU1B,sBAAiB,GAAG,GAAG,CAAC;IAUmC,CAAC;IAE1D,sBAAI,yBAAI;aAAR,UAAS,KAAa;YAC3B,OAAO,CAAC,IAAI,CAAC,uEAAuE,CAAC,CAAC;QAC1F,CAAC;;;OAAA;IAED,iCAAe,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AsB;IAErB;QAAR,YAAK,EAAE;;qDAA0B;IAEzB;QAAR,YAAK,EAAE;;sDAA2B;IA4BS;QAA3C,gBAAS,CAAC,YAAY,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;kCAAsB,iBAAU;wDAAC;IAInE;QAAR,YAAK,EAAE;;;uCAEP;IA1EQ,OAAO;QAxBnB,gBAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,QAAQ,EAAE,+wDAeT;YACD,IAAI,EAAE;gBACF,gCAAgC,EAAE,QAAQ;gBAC1C,+BAA+B,EAAE,OAAO;aAC3C;YACD,SAAS,EAAE,CAAC,8BAAsB,CAAC;SACtC,CAAC;yCAuEyB,iBAAU,EAAa,wBAAiB;OAtEtD,OAAO,CAoTnB;IAAD,cAAC;CAAA,AApTD,IAoTC;AApTY,0BAAO;AA4TpB;IAAA;IAA6B,CAAC;IAAjB,aAAa;QALzB,eAAQ,CAAC;YACN,OAAO,EAAE,CAAC,qBAAY,EAAC,2BAAe,CAAC;YACvC,OAAO,EAAE,CAAC,OAAO,CAAC;YAClB,YAAY,EAAE,CAAC,OAAO,CAAC;SAC1B,CAAC;OACW,aAAa,CAAI;IAAD,oBAAC;CAAA,AAA9B,IAA8B;AAAjB,sCAAa"}
|
@@ -1 +1 @@
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"SPINNER_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":6,"character":13},"useExisting":{"__symbolic":"reference","name":"Spinner"},"multi":true},"Spinner":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"p-spinner","template":"\n <span class=\"ui-spinner ui-widget ui-corner-all\">\n <input #inputfield type=\"text\" [attr.id]=\"inputId\" [value]=\"
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"SPINNER_VALUE_ACCESSOR":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":6,"character":13},"useExisting":{"__symbolic":"reference","name":"Spinner"},"multi":true},"Spinner":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":11,"character":1},"arguments":[{"selector":"p-spinner","template":"\n <span class=\"ui-spinner ui-widget ui-corner-all\">\n <input #inputfield type=\"text\" [attr.id]=\"inputId\" [value]=\"formattedValue||null\" [attr.name]=\"name\"\n [attr.size]=\"size\" [attr.maxlength]=\"maxlength\" [attr.tabindex]=\"tabindex\" [attr.placeholder]=\"placeholder\" [disabled]=\"disabled\" [readonly]=\"readonly\" [attr.required]=\"required\"\n (keydown)=\"onInputKeydown($event)\" (blur)=\"onInputBlur($event)\" (input)=\"onInput($event)\" (change)=\"onInputChange($event)\" (focus)=\"onInputFocus($event)\"\n [ngStyle]=\"inputStyle\" [class]=\"inputStyleClass\" [ngClass]=\"'ui-spinner-input ui-inputtext ui-widget ui-state-default ui-corner-all'\">\n <button type=\"button\" [ngClass]=\"{'ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default':true,'ui-state-disabled':disabled}\" [disabled]=\"disabled||readonly\" [attr.tabindex]=\"tabindex\" [attr.readonly]=\"readonly\"\n (mouseleave)=\"onUpButtonMouseleave($event)\" (mousedown)=\"onUpButtonMousedown($event)\" (mouseup)=\"onUpButtonMouseup($event)\">\n <span class=\"ui-spinner-button-icon pi pi-caret-up ui-clickable\"></span>\n </button>\n <button type=\"button\" [ngClass]=\"{'ui-spinner-button ui-spinner-down ui-corner-br ui-button ui-widget ui-state-default':true,'ui-state-disabled':disabled}\" [disabled]=\"disabled||readonly\" [attr.tabindex]=\"tabindex\" [attr.readonly]=\"readonly\"\n (mouseleave)=\"onDownButtonMouseleave($event)\" (mousedown)=\"onDownButtonMousedown($event)\" (mouseup)=\"onDownButtonMouseup($event)\">\n <span class=\"ui-spinner-button-icon pi pi-caret-down ui-clickable\"></span>\n </button>\n </span>\n ","host":{"[class.ui-inputwrapper-filled]":"filled","[class.ui-inputwrapper-focus]":"focus","$quoted$":["[class.ui-inputwrapper-filled]","[class.ui-inputwrapper-focus]"]},"providers":[{"__symbolic":"reference","name":"SPINNER_VALUE_ACCESSOR"}]}]}],"members":{"onChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":5}}]}],"onFocus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":5}}]}],"onBlur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":5}}]}],"step":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":5}}]}],"min":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":5}}]}],"max":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":5}}]}],"maxlength":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":5}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":5}}]}],"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}}]}],"inputId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":5}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":5}}]}],"readonly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":5}}]}],"tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":5}}]}],"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":5}}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":65,"character":5}}]}],"inputStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":67,"character":5}}]}],"inputStyleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":5}}]}],"formatInput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":71,"character":5}}]}],"decimalSeparator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":5}}]}],"thousandSeparator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":5}}]}],"inputfieldViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":103,"character":5},"arguments":["inputfield",{"static":false}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":105,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":105,"character":50}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":107,"character":5}}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"repeat":[{"__symbolic":"method"}],"spin":[{"__symbolic":"method"}],"toFixed":[{"__symbolic":"method"}],"onUpButtonMousedown":[{"__symbolic":"method"}],"onUpButtonMouseup":[{"__symbolic":"method"}],"onUpButtonMouseleave":[{"__symbolic":"method"}],"onDownButtonMousedown":[{"__symbolic":"method"}],"onDownButtonMouseup":[{"__symbolic":"method"}],"onDownButtonMouseleave":[{"__symbolic":"method"}],"onInputKeydown":[{"__symbolic":"method"}],"onInputChange":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method"}],"onInputBlur":[{"__symbolic":"method"}],"onInputFocus":[{"__symbolic":"method"}],"parseValue":[{"__symbolic":"method"}],"formatValue":[{"__symbolic":"method"}],"clearTimer":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"updateFilledState":[{"__symbolic":"method"}]}},"SpinnerModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":346,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":347,"character":14},{"__symbolic":"reference","module":"../inputtext/inputtext","name":"InputTextModule","line":347,"character":27}],"exports":[{"__symbolic":"reference","name":"Spinner"}],"declarations":[{"__symbolic":"reference","name":"Spinner"}]}]}]}}}]
|
@@ -199,11 +199,11 @@ var SplitButton = /** @class */ (function () {
|
|
199
199
|
__metadata("design:type", String)
|
200
200
|
], SplitButton.prototype, "hideTransitionOptions", void 0);
|
201
201
|
__decorate([
|
202
|
-
core_1.ViewChild('container'),
|
202
|
+
core_1.ViewChild('container', { static: false }),
|
203
203
|
__metadata("design:type", core_1.ElementRef)
|
204
204
|
], SplitButton.prototype, "containerViewChild", void 0);
|
205
205
|
__decorate([
|
206
|
-
core_1.ViewChild('defaultbtn'),
|
206
|
+
core_1.ViewChild('defaultbtn', { static: false }),
|
207
207
|
__metadata("design:type", core_1.ElementRef)
|
208
208
|
], SplitButton.prototype, "buttonViewChild", void 0);
|
209
209
|
SplitButton = __decorate([
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"splitbutton.js","sourceRoot":"","sources":["../../src/app/components/splitbutton/splitbutton.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,sCAAgK;AAChK,kDAA0F;AAC1F,0CAA6C;AAC7C,gDAA6C;AAE7C,2CAA8C;AAC9C,0CAAuC;AACvC,0CAA6C;AA6C7C;IAkDI,qBAAmB,EAAc,EAAS,QAAmB,EAAS,MAAc,EAAS,EAAqB;QAA/F,OAAE,GAAF,EAAE,CAAY;QAAS,aAAQ,GAAR,QAAQ,CAAW;QAAS,WAAM,GAAN,MAAM,CAAQ;QAAS,OAAE,GAAF,EAAE,CAAmB;QA5CzG,YAAO,GAAW,MAAM,CAAC;QAIxB,YAAO,GAAsB,IAAI,mBAAY,EAAE,CAAC;QAEhD,oBAAe,GAAsB,IAAI,mBAAY,EAAE,CAAC;QAkBzD,0BAAqB,GAAW,gBAAgB,CAAC;QAEjD,0BAAqB,GAAW,eAAe,CAAC;QAQlD,mBAAc,GAAY,KAAK,CAAC;IAU8E,CAAC;IAEtH,0CAAoB,GAApB,UAAqB,KAAY;QAC7B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC;IAED,+BAAS,GAAT,UAAU,KAAY,EAAE,IAAc;QAClC,IAAG,IAAI,CAAC,QAAQ,EAAE;YACd,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,OAAO;SACV;QAED,IAAG,CAAC,IAAI,CAAC,GAAG,EAAE;YACV,KAAK,CAAC,cAAc,EAAE,CAAC;SAC1B;QAED,IAAG,IAAI,CAAC,OAAO,EAAE;YACb,IAAI,CAAC,OAAO,CAAC;gBACT,aAAa,EAAE,KAAK;gBACpB,IAAI,EAAE,IAAI;aACb,CAAC,CAAC;SACN;QAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;IAChC,CAAC;IAED,0BAAI,GAAJ;QACI,IA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AAC,MAAM,EAAE,kBAAK,CAAC;wBAChB,SAAS,EAAE,gBAAgB;wBAC3B,OAAO,EAAE,CAAC;qBACb,CAAC,CAAC;oBACH,kBAAK,CAAC,SAAS,EAAE,kBAAK,CAAC;wBACnB,SAAS,EAAE,eAAe;wBAC1B,OAAO,EAAE,CAAC;qBACb,CAAC,CAAC;oBACH,uBAAU,CAAC,iBAAiB,EAAE,oBAAO,CAAC,0BAA0B,CAAC,CAAC;oBAClE,uBAAU,CAAC,iBAAiB,EAAE,oBAAO,CAAC,0BAA0B,CAAC,CAAC;iBACrE,CAAC;aACL;SACJ,CAAC;yCAmDyB,iBAAU,EAAmB,gBAAS,EAAiB,eAAM,EAAa,wBAAiB;OAlDzG,WAAW,CA+KvB;IAAD,kBAAC;CAAA,AA/KD,IA+KC;AA/KY,kCAAW;AAsLxB;IAAA;IAAiC,CAAC;IAArB,iBAAiB;QAL7B,eAAQ,CAAC;YACN,OAAO,EAAE,CAAC,qBAAY,EAAC,qBAAY,EAAC,qBAAY,CAAC;YACjD,OAAO,EAAE,CAAC,WAAW,EAAC,qBAAY,EAAC,qBAAY,CAAC;YAChD,YAAY,EAAE,CAAC,WAAW,CAAC;SAC9B,CAAC;OACW,iBAAiB,CAAI;IAAD,wBAAC;CAAA,AAAlC,IAAkC;AAArB,8CAAiB"}
|
@@ -1 +1 @@
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"SplitButton":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"p-splitButton","template":"\n <div #container [ngClass]=\"{'ui-splitbutton ui-buttonset ui-widget':true,'ui-state-disabled':disabled}\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <button #defaultbtn type=\"button\" pButton [icon]=\"icon\" [iconPos]=\"iconPos\" [label]=\"label\" [cornerStyleClass]=\"dir === 'rtl' ? 'ui-corner-right': 'ui-corner-left'\" (click)=\"onDefaultButtonClick($event)\" [disabled]=\"disabled\" [attr.tabindex]=\"tabindex\">\n </button><button type=\"button\" pButton class=\"ui-splitbutton-menubutton\" icon=\"pi pi-chevron-down\" [cornerStyleClass]=\"dir === 'rtl' ? 'ui-corner-left': 'ui-corner-right'\" (click)=\"onDropdownButtonClick($event)\" [disabled]=\"disabled\"></button>\n <div #overlay [ngClass]=\"'ui-menu ui-menu-dynamic ui-widget ui-widget-content ui-corner-all ui-helper-clearfix ui-shadow'\" *ngIf=\"overlayVisible\"\n [ngStyle]=\"menuStyle\" [class]=\"menuStyleClass\"\n [@overlayAnimation]=\"{value: 'visible', params: {showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}\" (@overlayAnimation.start)=\"onOverlayAnimationStart($event)\">\n <ul class=\"ui-menu-list ui-helper-reset\">\n <ng-template ngFor let-item [ngForOf]=\"model\">\n <li class=\"ui-menuitem ui-widget ui-corner-all\" role=\"menuitem\" *ngIf=\"item.visible !== false\">\n <a *ngIf=\"!item.routerLink\" [attr.href]=\"item.url\" class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"item.target\"\n [ngClass]=\"{'ui-state-disabled':item.disabled}\" (click)=\"itemClick($event, item)\">\n <span [ngClass]=\"'ui-menuitem-icon'\" [class]=\"item.icon\" *ngIf=\"item.icon\"></span>\n <span class=\"ui-menuitem-text\">{{item.label}}</span>\n </a>\n <a *ngIf=\"item.routerLink\" [routerLink]=\"item.routerLink\" [queryParams]=\"item.queryParams\"\n class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"item.target\" [ngClass]=\"{'ui-state-disabled':item.disabled}\" (click)=\"itemClick($event, item)\">\n <span [ngClass]=\"'ui-menuitem-icon'\" [class]=\"item.icon\" *ngIf=\"item.icon\"></span>\n <span class=\"ui-menuitem-text\">{{item.label}}</span>\n </a>\n </li>\n </ng-template>\n </ul>\n </div>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":38,"character":8},"arguments":["overlayAnimation",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":39,"character":12},"arguments":["void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":39,"character":26},"arguments":[{"transform":"translateY(5%)","opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":43,"character":12},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":43,"character":29},"arguments":[{"transform":"translateY(0)","opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":47,"character":12},"arguments":["void => visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":47,"character":42},"arguments":["{{showTransitionParams}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":48,"character":12},"arguments":["visible => void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":48,"character":42},"arguments":["{{hideTransitionParams}}"]}]}]]}]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":5}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":5}}]}],"iconPos":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":5}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}}]}],"onClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":62,"character":5}}]}],"onDropdownClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":64,"character":5}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":5}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":5}}]}],"menuStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":5}}]}],"menuStyleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":72,"character":5}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":74,"character":5}}]}],"tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":5}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":5}}]}],"dir":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":5}}]}],"showTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":5}}]}],"hideTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":5}}]}],"containerViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":86,"character":5},"arguments":["container"]}]}],"buttonViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":88,"character":5},"arguments":["defaultbtn"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":102,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":102,"character":56},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":102,"character":82},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":102,"character":101}]}],"onDefaultButtonClick":[{"__symbolic":"method"}],"itemClick":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"onOverlayAnimationStart":[{"__symbolic":"method"}],"onDropdownButtonClick":[{"__symbolic":"method"}],"alignOverlay":[{"__symbolic":"method"}],"appendOverlay":[{"__symbolic":"method"}],"restoreOverlayAppend":[{"__symbolic":"method"}],"bindDocumentClickListener":[{"__symbolic":"method"}],"unbindDocumentClickListener":[{"__symbolic":"method"}],"bindDocumentResizeListener":[{"__symbolic":"method"}],"unbindDocumentResizeListener":[{"__symbolic":"method"}],"onWindowResize":[{"__symbolic":"method"}],"onOverlayHide":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"SplitButtonModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":229,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":230,"character":14},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule","line":230,"character":27},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":230,"character":40}],"exports":[{"__symbolic":"reference","name":"SplitButton"},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule","line":231,"character":26},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":231,"character":39}],"declarations":[{"__symbolic":"reference","name":"SplitButton"}]}]}]}}}]
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"SplitButton":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"p-splitButton","template":"\n <div #container [ngClass]=\"{'ui-splitbutton ui-buttonset ui-widget':true,'ui-state-disabled':disabled}\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <button #defaultbtn type=\"button\" pButton [icon]=\"icon\" [iconPos]=\"iconPos\" [label]=\"label\" [cornerStyleClass]=\"dir === 'rtl' ? 'ui-corner-right': 'ui-corner-left'\" (click)=\"onDefaultButtonClick($event)\" [disabled]=\"disabled\" [attr.tabindex]=\"tabindex\">\n </button><button type=\"button\" pButton class=\"ui-splitbutton-menubutton\" icon=\"pi pi-chevron-down\" [cornerStyleClass]=\"dir === 'rtl' ? 'ui-corner-left': 'ui-corner-right'\" (click)=\"onDropdownButtonClick($event)\" [disabled]=\"disabled\"></button>\n <div #overlay [ngClass]=\"'ui-menu ui-menu-dynamic ui-widget ui-widget-content ui-corner-all ui-helper-clearfix ui-shadow'\" *ngIf=\"overlayVisible\"\n [ngStyle]=\"menuStyle\" [class]=\"menuStyleClass\"\n [@overlayAnimation]=\"{value: 'visible', params: {showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions}}\" (@overlayAnimation.start)=\"onOverlayAnimationStart($event)\">\n <ul class=\"ui-menu-list ui-helper-reset\">\n <ng-template ngFor let-item [ngForOf]=\"model\">\n <li class=\"ui-menuitem ui-widget ui-corner-all\" role=\"menuitem\" *ngIf=\"item.visible !== false\">\n <a *ngIf=\"!item.routerLink\" [attr.href]=\"item.url\" class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"item.target\"\n [ngClass]=\"{'ui-state-disabled':item.disabled}\" (click)=\"itemClick($event, item)\">\n <span [ngClass]=\"'ui-menuitem-icon'\" [class]=\"item.icon\" *ngIf=\"item.icon\"></span>\n <span class=\"ui-menuitem-text\">{{item.label}}</span>\n </a>\n <a *ngIf=\"item.routerLink\" [routerLink]=\"item.routerLink\" [queryParams]=\"item.queryParams\"\n class=\"ui-menuitem-link ui-corner-all\" [attr.target]=\"item.target\" [ngClass]=\"{'ui-state-disabled':item.disabled}\" (click)=\"itemClick($event, item)\">\n <span [ngClass]=\"'ui-menuitem-icon'\" [class]=\"item.icon\" *ngIf=\"item.icon\"></span>\n <span class=\"ui-menuitem-text\">{{item.label}}</span>\n </a>\n </li>\n </ng-template>\n </ul>\n </div>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":38,"character":8},"arguments":["overlayAnimation",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":39,"character":12},"arguments":["void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":39,"character":26},"arguments":[{"transform":"translateY(5%)","opacity":0}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":43,"character":12},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":43,"character":29},"arguments":[{"transform":"translateY(0)","opacity":1}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":47,"character":12},"arguments":["void => visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":47,"character":42},"arguments":["{{showTransitionParams}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":48,"character":12},"arguments":["visible => void",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":48,"character":42},"arguments":["{{hideTransitionParams}}"]}]}]]}]}]}],"members":{"model":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":5}}]}],"icon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":5}}]}],"iconPos":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":58,"character":5}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}}]}],"onClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":62,"character":5}}]}],"onDropdownClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":64,"character":5}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":66,"character":5}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":5}}]}],"menuStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":5}}]}],"menuStyleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":72,"character":5}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":74,"character":5}}]}],"tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":5}}]}],"appendTo":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":5}}]}],"dir":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":5}}]}],"showTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":5}}]}],"hideTransitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":84,"character":5}}]}],"containerViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":86,"character":5},"arguments":["container",{"static":false}]}]}],"buttonViewChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":88,"character":5},"arguments":["defaultbtn",{"static":false}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":102,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":102,"character":56},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":102,"character":82},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":102,"character":101}]}],"onDefaultButtonClick":[{"__symbolic":"method"}],"itemClick":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"onOverlayAnimationStart":[{"__symbolic":"method"}],"onDropdownButtonClick":[{"__symbolic":"method"}],"alignOverlay":[{"__symbolic":"method"}],"appendOverlay":[{"__symbolic":"method"}],"restoreOverlayAppend":[{"__symbolic":"method"}],"bindDocumentClickListener":[{"__symbolic":"method"}],"unbindDocumentClickListener":[{"__symbolic":"method"}],"bindDocumentResizeListener":[{"__symbolic":"method"}],"unbindDocumentResizeListener":[{"__symbolic":"method"}],"onWindowResize":[{"__symbolic":"method"}],"onOverlayHide":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"SplitButtonModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":229,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":230,"character":14},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule","line":230,"character":27},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":230,"character":40}],"exports":[{"__symbolic":"reference","name":"SplitButton"},{"__symbolic":"reference","module":"../button/button","name":"ButtonModule","line":231,"character":26},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":231,"character":39}],"declarations":[{"__symbolic":"reference","name":"SplitButton"}]}]}]}}}]
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import { OnInit, AfterViewInit, AfterViewChecked, AfterContentInit, EventEmitter, ElementRef, TemplateRef, QueryList, NgZone, ChangeDetectorRef } from '@angular/core';
|
1
|
+
import { OnInit, OnDestroy, AfterViewInit, AfterViewChecked, AfterContentInit, EventEmitter, ElementRef, TemplateRef, QueryList, NgZone, ChangeDetectorRef } from '@angular/core';
|
2
2
|
import { Column, PrimeTemplate } from '../common/shared';
|
3
3
|
import { SortMeta } from '../common/sortmeta';
|
4
4
|
import { FilterMetadata } from '../common/filtermetadata';
|
5
|
-
import { OnDestroy } from '@angular/core/src/metadata/lifecycle_hooks';
|
6
5
|
import { BlockableUI } from '../common/blockableui';
|
7
6
|
import { Subscription } from 'rxjs';
|
8
7
|
export declare class TableService {
|
@@ -12,12 +11,12 @@ export declare class TableService {
|
|
12
11
|
private valueSource;
|
13
12
|
private totalRecordsSource;
|
14
13
|
private columnsSource;
|
15
|
-
sortSource$: import("rxjs
|
16
|
-
selectionSource$: import("rxjs
|
17
|
-
contextMenuSource$: import("rxjs
|
18
|
-
valueSource$: import("rxjs
|
19
|
-
totalRecordsSource$: import("rxjs
|
20
|
-
columnsSource$: import("rxjs
|
14
|
+
sortSource$: import("rxjs").Observable<SortMeta | SortMeta[]>;
|
15
|
+
selectionSource$: import("rxjs").Observable<{}>;
|
16
|
+
contextMenuSource$: import("rxjs").Observable<any>;
|
17
|
+
valueSource$: import("rxjs").Observable<any>;
|
18
|
+
totalRecordsSource$: import("rxjs").Observable<any>;
|
19
|
+
columnsSource$: import("rxjs").Observable<{}>;
|
21
20
|
onSort(sortMeta: SortMeta | SortMeta[]): void;
|
22
21
|
onSelectionChange(): void;
|
23
22
|
onContextMenu(data: any): void;
|
@@ -37,12 +36,12 @@ export declare class Table implements OnInit, AfterViewInit, AfterContentInit, B
|
|
37
36
|
tableStyle: any;
|
38
37
|
tableStyleClass: string;
|
39
38
|
paginator: boolean;
|
40
|
-
rows: number;
|
41
39
|
pageLinks: number;
|
42
|
-
rowsPerPageOptions:
|
40
|
+
rowsPerPageOptions: any[];
|
43
41
|
alwaysShowPaginator: boolean;
|
44
42
|
paginatorPosition: string;
|
45
43
|
paginatorDropdownAppendTo: any;
|
44
|
+
paginatorDropdownScrollHeight: string;
|
46
45
|
currentPageReportTemplate: string;
|
47
46
|
showCurrentPageReport: boolean;
|
48
47
|
defaultSortOrder: number;
|
@@ -112,6 +111,7 @@ export declare class Table implements OnInit, AfterViewInit, AfterContentInit, B
|
|
112
111
|
onHeaderCheckboxToggle: EventEmitter<any>;
|
113
112
|
sortFunction: EventEmitter<any>;
|
114
113
|
firstChange: EventEmitter<number>;
|
114
|
+
rowsChange: EventEmitter<number>;
|
115
115
|
onStateSave: EventEmitter<any>;
|
116
116
|
onStateRestore: EventEmitter<any>;
|
117
117
|
containerViewChild: ElementRef;
|
@@ -124,6 +124,7 @@ export declare class Table implements OnInit, AfterViewInit, AfterContentInit, B
|
|
124
124
|
_columns: any[];
|
125
125
|
_totalRecords: number;
|
126
126
|
_first: number;
|
127
|
+
_rows: number;
|
127
128
|
filteredValue: any[];
|
128
129
|
headerTemplate: TemplateRef<any>;
|
129
130
|
bodyTemplate: TemplateRef<any>;
|
@@ -180,6 +181,7 @@ export declare class Table implements OnInit, AfterViewInit, AfterContentInit, B
|
|
180
181
|
value: any[];
|
181
182
|
columns: any[];
|
182
183
|
first: number;
|
184
|
+
rows: number;
|
183
185
|
totalRecords: number;
|
184
186
|
sortField: string;
|
185
187
|
sortOrder: number;
|
@@ -270,6 +272,7 @@ export declare class TableBody {
|
|
270
272
|
dt: Table;
|
271
273
|
columns: Column[];
|
272
274
|
template: TemplateRef<any>;
|
275
|
+
frozen: boolean;
|
273
276
|
constructor(dt: Table);
|
274
277
|
}
|
275
278
|
export declare class ScrollableView implements AfterViewInit, OnDestroy, AfterViewChecked {
|
@@ -330,16 +333,12 @@ export declare class SortableColumn implements OnInit, OnDestroy {
|
|
330
333
|
export declare class SortIcon implements OnInit, OnDestroy {
|
331
334
|
dt: Table;
|
332
335
|
field: string;
|
333
|
-
ariaLabel: string;
|
334
|
-
ariaLabelDesc: string;
|
335
|
-
ariaLabelAsc: string;
|
336
336
|
subscription: Subscription;
|
337
337
|
sortOrder: number;
|
338
338
|
constructor(dt: Table);
|
339
339
|
ngOnInit(): void;
|
340
340
|
onClick(event: any): void;
|
341
341
|
updateSortState(): void;
|
342
|
-
readonly ariaText: string;
|
343
342
|
ngOnDestroy(): void;
|
344
343
|
}
|
345
344
|
export declare class SelectableRow implements OnInit, OnDestroy {
|