primeng 8.0.1 → 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/CHANGELOG.md +33 -0
- package/components/accordion/accordion.d.ts +3 -1
- package/components/accordion/accordion.js +16 -4
- package/components/accordion/accordion.js.map +1 -1
- package/components/accordion/accordion.metadata.json +1 -1
- package/components/calendar/calendar.d.ts +5 -2
- package/components/calendar/calendar.js +34 -18
- package/components/calendar/calendar.js.map +1 -1
- package/components/calendar/calendar.metadata.json +1 -1
- package/components/confirmdialog/confirmdialog.js +2 -2
- package/components/confirmdialog/confirmdialog.js.map +1 -1
- package/components/confirmdialog/confirmdialog.metadata.json +1 -1
- package/components/contextmenu/contextmenu.d.ts +3 -1
- package/components/contextmenu/contextmenu.js +12 -0
- package/components/contextmenu/contextmenu.js.map +1 -1
- package/components/contextmenu/contextmenu.metadata.json +1 -1
- package/components/dropdown/dropdown.js +2 -1
- package/components/dropdown/dropdown.js.map +1 -1
- package/components/dropdown/dropdown.metadata.json +1 -1
- package/components/fileupload/fileupload.d.ts +8 -0
- package/components/fileupload/fileupload.js +67 -5
- package/components/fileupload/fileupload.js.map +1 -1
- package/components/fileupload/fileupload.metadata.json +1 -1
- package/components/inputmask/inputmask.d.ts +1 -0
- package/components/inputmask/inputmask.js +5 -1
- package/components/inputmask/inputmask.js.map +1 -1
- package/components/inputmask/inputmask.metadata.json +1 -1
- package/components/multiselect/multiselect.d.ts +1 -0
- package/components/multiselect/multiselect.js +8 -3
- package/components/multiselect/multiselect.js.map +1 -1
- package/components/multiselect/multiselect.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/radiobutton/radiobutton.js +1 -1
- package/components/radiobutton/radiobutton.js.map +1 -1
- package/components/radiobutton/radiobutton.metadata.json +1 -1
- package/components/table/table.d.ts +1 -0
- package/components/table/table.js +13 -6
- package/components/table/table.js.map +1 -1
- package/components/table/table.metadata.json +1 -1
- package/package.json +66 -67
- package/resources/primeng.css +226 -226
- package/resources/primeng.min.css +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,38 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [8.0.1](https://github.com/primefaces/primeng/tree/8.0.1) (2019-07-08)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/primefaces/primeng/compare/8.0.0...8.0.1)
|
6
|
+
|
7
|
+
**Implemented New Features and Enhancements:**
|
8
|
+
|
9
|
+
- SlideMenu: Back button keeps taking up space when hidden [\#7850](https://github.com/primefaces/primeng/issues/7850)
|
10
|
+
- Autcomplete ui-autocomplete-panel class [\#7822](https://github.com/primefaces/primeng/issues/7822)
|
11
|
+
- Improve formatValue method on Spinner [\#7815](https://github.com/primefaces/primeng/issues/7815)
|
12
|
+
- Different styling for AutoComplete EmptyMessage [\#7791](https://github.com/primefaces/primeng/issues/7791)
|
13
|
+
- Add showAll option for rowsPerPage to Paginator [\#7770](https://github.com/primefaces/primeng/issues/7770)
|
14
|
+
- OnNodeExpand event in Organization Chart [\#7592](https://github.com/primefaces/primeng/issues/7592)
|
15
|
+
- p-calendar shows a redundant week on the calendar [\#6501](https://github.com/primefaces/primeng/issues/6501)
|
16
|
+
- Add keyboard shortcut to lightbox so a user can escape out of the lightbox without use of the mouse [\#6456](https://github.com/primefaces/primeng/issues/6456)
|
17
|
+
- Responsive Lightbox [\#2318](https://github.com/primefaces/primeng/issues/2318)
|
18
|
+
|
19
|
+
**Fixed bugs:**
|
20
|
+
|
21
|
+
- Backspace doesn't clear the date in calendar. [\#7897](https://github.com/primefaces/primeng/issues/7897)
|
22
|
+
- Lightbox listeners should remove when hiding. [\#7895](https://github.com/primefaces/primeng/issues/7895)
|
23
|
+
- Table pSelectableRowCblClick provides no styling like pSelectableRow [\#7876](https://github.com/primefaces/primeng/issues/7876)
|
24
|
+
- Touch UI does not delete the background overlay properly - Breaks entire app state [\#7847](https://github.com/primefaces/primeng/issues/7847)
|
25
|
+
- The "required" prop is not working on Dropdown [\#7831](https://github.com/primefaces/primeng/issues/7831)
|
26
|
+
- Dropdown is not align with input when using appendTo="body" property [\#7808](https://github.com/primefaces/primeng/issues/7808)
|
27
|
+
- Times between 12:00AM-12:59AM save as PM when defaulted or typed in [\#7799](https://github.com/primefaces/primeng/issues/7799)
|
28
|
+
- Drag and Drop is not working in OrderList in Firefox web browser [\#7793](https://github.com/primefaces/primeng/issues/7793)
|
29
|
+
- Spinner does not reflect initially bound value when OnPush strategy is used [\#7773](https://github.com/primefaces/primeng/issues/7773)
|
30
|
+
- p-treetable not filtering when only one parent is present [\#7757](https://github.com/primefaces/primeng/issues/7757)
|
31
|
+
- KeyFilter is not working on pase [\#7729](https://github.com/primefaces/primeng/issues/7729)
|
32
|
+
- Dropdown does not scroll to selected when virtual scroll is enabled [\#7718](https://github.com/primefaces/primeng/issues/7718)
|
33
|
+
- p-multiselect disabled and selected option gets un-selected by the select all checkbox in header [\#7540](https://github.com/primefaces/primeng/issues/7540)
|
34
|
+
- Display issue with accordion nested inside overlay [\#6318](https://github.com/primefaces/primeng/issues/6318)
|
35
|
+
|
3
36
|
## [8.0.0](https://github.com/primefaces/primeng/tree/8.0.0) (2019-06-13)
|
4
37
|
|
5
38
|
[Full Changelog](https://github.com/primefaces/primeng/compare/8.0.0-rc.1...8.0.0)
|
@@ -3,6 +3,7 @@ import { Header } from '../common/shared';
|
|
3
3
|
import { BlockableUI } from '../common/blockableui';
|
4
4
|
import { Subscription } from 'rxjs';
|
5
5
|
export declare class AccordionTab implements OnDestroy {
|
6
|
+
changeDetector: ChangeDetectorRef;
|
6
7
|
header: string;
|
7
8
|
selected: boolean;
|
8
9
|
disabled: boolean;
|
@@ -11,12 +12,13 @@ export declare class AccordionTab implements OnDestroy {
|
|
11
12
|
transitionOptions: string;
|
12
13
|
headerFacet: QueryList<Header>;
|
13
14
|
templates: QueryList<any>;
|
15
|
+
private _animating;
|
14
16
|
animating: boolean;
|
15
17
|
contentTemplate: TemplateRef<any>;
|
16
18
|
id: string;
|
17
19
|
loaded: boolean;
|
18
20
|
accordion: Accordion;
|
19
|
-
constructor(accordion: any);
|
21
|
+
constructor(accordion: any, changeDetector: ChangeDetectorRef);
|
20
22
|
ngAfterContentInit(): void;
|
21
23
|
toggle(event: any): boolean;
|
22
24
|
findTabIndex(): number;
|
@@ -18,13 +18,25 @@ var common_1 = require("@angular/common");
|
|
18
18
|
var shared_1 = require("../common/shared");
|
19
19
|
var idx = 0;
|
20
20
|
var AccordionTab = /** @class */ (function () {
|
21
|
-
function AccordionTab(accordion) {
|
21
|
+
function AccordionTab(accordion, changeDetector) {
|
22
|
+
this.changeDetector = changeDetector;
|
22
23
|
this.cache = true;
|
23
24
|
this.selectedChange = new core_1.EventEmitter();
|
24
25
|
this.transitionOptions = '400ms cubic-bezier(0.86, 0, 0.07, 1)';
|
25
26
|
this.id = "ui-accordiontab-" + idx++;
|
26
27
|
this.accordion = accordion;
|
27
28
|
}
|
29
|
+
Object.defineProperty(AccordionTab.prototype, "animating", {
|
30
|
+
get: function () {
|
31
|
+
return this._animating;
|
32
|
+
},
|
33
|
+
set: function (val) {
|
34
|
+
this._animating = val;
|
35
|
+
this.changeDetector.detectChanges();
|
36
|
+
},
|
37
|
+
enumerable: true,
|
38
|
+
configurable: true
|
39
|
+
});
|
28
40
|
AccordionTab.prototype.ngAfterContentInit = function () {
|
29
41
|
var _this = this;
|
30
42
|
this.templates.forEach(function (item) {
|
@@ -145,7 +157,7 @@ var AccordionTab = /** @class */ (function () {
|
|
145
157
|
]
|
146
158
|
}),
|
147
159
|
__param(0, core_1.Inject(core_1.forwardRef(function () { return Accordion; }))),
|
148
|
-
__metadata("design:paramtypes", [Object])
|
160
|
+
__metadata("design:paramtypes", [Object, core_1.ChangeDetectorRef])
|
149
161
|
], AccordionTab);
|
150
162
|
return AccordionTab;
|
151
163
|
}());
|
@@ -193,9 +205,9 @@ var Accordion = /** @class */ (function () {
|
|
193
205
|
var changed = selected !== this.tabs[i].selected;
|
194
206
|
if (changed) {
|
195
207
|
this.tabs[i].animating = true;
|
208
|
+
this.tabs[i].selected = selected;
|
209
|
+
this.tabs[i].selectedChange.emit(selected);
|
196
210
|
}
|
197
|
-
this.tabs[i].selected = selected;
|
198
|
-
this.tabs[i].selectedChange.emit(selected);
|
199
211
|
}
|
200
212
|
}
|
201
213
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"accordion.js","sourceRoot":"","sources":["../../src/app/components/accordion/accordion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sCACyG;AACzG,kDAAiF;AACjF,0CAA+C;AAC/C,2CAAuE;AAIvE,IAAI,GAAG,GAAW,CAAC,CAAC;AA2CpB;
|
1
|
+
{"version":3,"file":"accordion.js","sourceRoot":"","sources":["../../src/app/components/accordion/accordion.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sCACyG;AACzG,kDAAiF;AACjF,0CAA+C;AAC/C,2CAAuE;AAIvE,IAAI,GAAG,GAAW,CAAC,CAAC;AA2CpB;IAoCI,sBAAiD,SAAS,EAAS,cAAiC;QAAjC,mBAAc,GAAd,cAAc,CAAmB;QA5B3F,UAAK,GAAY,IAAI,CAAC;QAErB,mBAAc,GAAsB,IAAI,mBAAY,EAAE,CAAC;QAExD,sBAAiB,GAAW,sCAAsC,CAAC;QAkB5E,OAAE,GAAW,qBAAmB,GAAG,EAAI,CAAC;QAOpC,IAAI,CAAC,SAAS,GAAG,SAAsB,CAAC;IAC5C,CAAC;IAlBD,sBAAI,mCAAS;aAAb;YACI,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;aACD,UAAc,GAAY;YACtB,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC;YACtB,IAAI,CAAC,cAAc,CAAC,aAAa,EAAE,CAAC;QACxC,CAAC;;;OAJA;IAkBD,yCA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AA+B,CAAC;IAAnB,eAAe;QAL3B,eAAQ,CAAC;YACN,OAAO,EAAE,CAAC,qBAAY,CAAC;YACvB,OAAO,EAAE,CAAC,SAAS,EAAC,YAAY,EAAC,qBAAY,CAAC;YAC9C,YAAY,EAAE,CAAC,SAAS,EAAC,YAAY,CAAC;SACzC,CAAC;OACW,eAAe,CAAI;IAAD,sBAAC;CAAA,AAAhC,IAAgC;AAAnB,0CAAe"}
|
@@ -1 +1 @@
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"AccordionTab":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"p-accordionTab","template":"\n <div class=\"ui-accordion-header ui-state-default ui-corner-all\" [ngClass]=\"{'ui-state-active': selected,'ui-state-disabled':disabled}\">\n <a [attr.tabindex]=\"disabled ? -1 : 0\" [attr.id]=\"id\" [attr.aria-controls]=\"id + '-content'\" role=\"tab\" [attr.aria-expanded]=\"selected\" (click)=\"toggle($event)\" \n (keydown)=\"onKeydown($event)\">\n <span class=\"ui-accordion-toggle-icon\" [ngClass]=\"selected ? accordion.collapseIcon : accordion.expandIcon\"></span>\n <span class=\"ui-accordion-header-text\" *ngIf=\"!hasHeaderFacet\">\n {{header}}\n </span>\n <ng-content select=\"p-header\" *ngIf=\"hasHeaderFacet\"></ng-content>\n </a>\n </div>\n <div [attr.id]=\"id + '-content'\" class=\"ui-accordion-content-wrapper\" [@tabContent]=\"selected ? {value: 'visible', params: {transitionParams: animating ? transitionOptions : '0ms', height: '*'}} : {value: 'hidden', params: {transitionParams: transitionOptions, height: '0'}}\" (@tabContent.done)=\"onToggleDone($event)\"\n [ngClass]=\"{'ui-accordion-content-wrapper-overflown': !selected||animating}\" \n role=\"tabpanel\" [attr.aria-hidden]=\"!selected\" [attr.aria-labelledby]=\"id\">\n <div class=\"ui-accordion-content ui-widget-content\">\n <ng-content></ng-content>\n <ng-container *ngIf=\"contentTemplate && (cache ? loaded : selected)\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":35,"character":8},"arguments":["tabContent",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":36,"character":12},"arguments":["hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":36,"character":28},"arguments":[{"height":"0"}]}]},{"__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":[{"height":"{{height}}"}]},{"params":{"height":"0"}}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":42,"character":12},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":42,"character":29},"arguments":[{"height":"*"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":45,"character":12},"arguments":["visible <=> hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":45,"character":45},"arguments":["{{transitionParams}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":46,"character":12},"arguments":["void => hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":46,"character":41},"arguments":["{{transitionParams}}"]}]},{"__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":["{{transitionParams}}"]}]}]]}]}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}}]}],"selected":[{"__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}}]}],"cache":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":5}}]}],"selectedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":61,"character":5}}]}],"transitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":5}}]}],"headerFacet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":65,"character":5},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"Header","line":65,"character":21}]}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":67,"character":5},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate","line":67,"character":21}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"AccordionTab":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"p-accordionTab","template":"\n <div class=\"ui-accordion-header ui-state-default ui-corner-all\" [ngClass]=\"{'ui-state-active': selected,'ui-state-disabled':disabled}\">\n <a [attr.tabindex]=\"disabled ? -1 : 0\" [attr.id]=\"id\" [attr.aria-controls]=\"id + '-content'\" role=\"tab\" [attr.aria-expanded]=\"selected\" (click)=\"toggle($event)\" \n (keydown)=\"onKeydown($event)\">\n <span class=\"ui-accordion-toggle-icon\" [ngClass]=\"selected ? accordion.collapseIcon : accordion.expandIcon\"></span>\n <span class=\"ui-accordion-header-text\" *ngIf=\"!hasHeaderFacet\">\n {{header}}\n </span>\n <ng-content select=\"p-header\" *ngIf=\"hasHeaderFacet\"></ng-content>\n </a>\n </div>\n <div [attr.id]=\"id + '-content'\" class=\"ui-accordion-content-wrapper\" [@tabContent]=\"selected ? {value: 'visible', params: {transitionParams: animating ? transitionOptions : '0ms', height: '*'}} : {value: 'hidden', params: {transitionParams: transitionOptions, height: '0'}}\" (@tabContent.done)=\"onToggleDone($event)\"\n [ngClass]=\"{'ui-accordion-content-wrapper-overflown': !selected||animating}\" \n role=\"tabpanel\" [attr.aria-hidden]=\"!selected\" [attr.aria-labelledby]=\"id\">\n <div class=\"ui-accordion-content ui-widget-content\">\n <ng-content></ng-content>\n <ng-container *ngIf=\"contentTemplate && (cache ? loaded : selected)\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </ng-container>\n </div>\n </div>\n ","animations":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"trigger","line":35,"character":8},"arguments":["tabContent",[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":36,"character":12},"arguments":["hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":36,"character":28},"arguments":[{"height":"0"}]}]},{"__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":[{"height":"{{height}}"}]},{"params":{"height":"0"}}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"state","line":42,"character":12},"arguments":["visible",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"style","line":42,"character":29},"arguments":[{"height":"*"}]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":45,"character":12},"arguments":["visible <=> hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":45,"character":45},"arguments":["{{transitionParams}}"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"transition","line":46,"character":12},"arguments":["void => hidden",{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/animations","name":"animate","line":46,"character":41},"arguments":["{{transitionParams}}"]}]},{"__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":["{{transitionParams}}"]}]}]]}]}]}],"members":{"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":5}}]}],"selected":[{"__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}}]}],"cache":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":5}}]}],"selectedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":61,"character":5}}]}],"transitionOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":5}}]}],"headerFacet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":65,"character":5},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"Header","line":65,"character":21}]}]}],"templates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":67,"character":5},"arguments":[{"__symbolic":"reference","module":"../common/shared","name":"PrimeTemplate","line":67,"character":21}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":87,"character":17},"arguments":[{"__symbolic":"reference","name":"Accordion"}]}],null],"parameters":[null,{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":87,"character":87}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}],"findTabIndex":[{"__symbolic":"method"}],"onToggleDone":[{"__symbolic":"method"}],"onKeydown":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"Accordion":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":166,"character":1},"arguments":[{"selector":"p-accordion","template":"\n <div [ngClass]=\"'ui-accordion ui-widget ui-helper-reset'\" [ngStyle]=\"style\" [class]=\"styleClass\" role=\"tablist\">\n <ng-content></ng-content>\n </div>\n "}]}],"members":{"multiple":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":176,"character":5}}]}],"onClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":178,"character":5}}]}],"onOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":180,"character":5}}]}],"style":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":182,"character":5}}]}],"styleClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":184,"character":5}}]}],"expandIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":186,"character":5}}]}],"collapseIcon":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":188,"character":5}}]}],"tabList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":190,"character":5},"arguments":[{"__symbolic":"reference","name":"AccordionTab"}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":198,"character":27},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":87,"character":87}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"initTabs":[{"__symbolic":"method"}],"getBlockableElement":[{"__symbolic":"method"}],"activeIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":218,"character":5}}]}],"updateSelectionState":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"AccordionModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":249,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":250,"character":14}],"exports":[{"__symbolic":"reference","name":"Accordion"},{"__symbolic":"reference","name":"AccordionTab"},{"__symbolic":"reference","module":"../common/shared","name":"SharedModule","line":251,"character":37}],"declarations":[{"__symbolic":"reference","name":"Accordion"},{"__symbolic":"reference","name":"AccordionTab"}]}]}]}}}]
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, EventEmitter, Renderer2, ChangeDetectorRef, TemplateRef, QueryList } from '@angular/core';
|
1
|
+
import { ElementRef, OnDestroy, OnInit, EventEmitter, Renderer2, ChangeDetectorRef, TemplateRef, QueryList, NgZone } from '@angular/core';
|
2
2
|
import { AnimationEvent } from '@angular/animations';
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
4
4
|
export declare const CALENDAR_VALUE_ACCESSOR: any;
|
@@ -18,6 +18,7 @@ export declare class Calendar implements OnInit, OnDestroy, ControlValueAccessor
|
|
18
18
|
el: ElementRef;
|
19
19
|
renderer: Renderer2;
|
20
20
|
cd: ChangeDetectorRef;
|
21
|
+
private zone;
|
21
22
|
defaultDate: Date;
|
22
23
|
style: any;
|
23
24
|
styleClass: string;
|
@@ -28,6 +29,8 @@ export declare class Calendar implements OnInit, OnDestroy, ControlValueAccessor
|
|
28
29
|
placeholder: string;
|
29
30
|
disabled: any;
|
30
31
|
dateFormat: string;
|
32
|
+
multipleSeparator: string;
|
33
|
+
rangeSeparator: string;
|
31
34
|
inline: boolean;
|
32
35
|
showOtherMonths: boolean;
|
33
36
|
selectOtherMonths: boolean;
|
@@ -125,7 +128,7 @@ export declare class Calendar implements OnInit, OnDestroy, ControlValueAccessor
|
|
125
128
|
yearRange: string;
|
126
129
|
showTime: boolean;
|
127
130
|
locale: LocaleSettings;
|
128
|
-
constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef);
|
131
|
+
constructor(el: ElementRef, renderer: Renderer2, cd: ChangeDetectorRef, zone: NgZone);
|
129
132
|
ngOnInit(): void;
|
130
133
|
ngAfterContentInit(): void;
|
131
134
|
populateYearOptions(start: any, end: any): void;
|
@@ -22,11 +22,14 @@ exports.CALENDAR_VALUE_ACCESSOR = {
|
|
22
22
|
multi: true
|
23
23
|
};
|
24
24
|
var Calendar = /** @class */ (function () {
|
25
|
-
function Calendar(el, renderer, cd) {
|
25
|
+
function Calendar(el, renderer, cd, zone) {
|
26
26
|
this.el = el;
|
27
27
|
this.renderer = renderer;
|
28
28
|
this.cd = cd;
|
29
|
+
this.zone = zone;
|
29
30
|
this.dateFormat = 'mm/dd/yy';
|
31
|
+
this.multipleSeparator = ',';
|
32
|
+
this.rangeSeparator = '-';
|
30
33
|
this.inline = false;
|
31
34
|
this.showOtherMonths = true;
|
32
35
|
this.icon = 'pi pi-calendar';
|
@@ -320,6 +323,7 @@ var Calendar = /** @class */ (function () {
|
|
320
323
|
}
|
321
324
|
};
|
322
325
|
Calendar.prototype.navBackward = function (event) {
|
326
|
+
event.stopPropagation();
|
323
327
|
if (this.disabled) {
|
324
328
|
event.preventDefault();
|
325
329
|
return;
|
@@ -340,6 +344,7 @@ var Calendar = /** @class */ (function () {
|
|
340
344
|
}
|
341
345
|
};
|
342
346
|
Calendar.prototype.navForward = function (event) {
|
347
|
+
event.stopPropagation();
|
343
348
|
if (this.disabled) {
|
344
349
|
event.preventDefault();
|
345
350
|
return;
|
@@ -431,7 +436,7 @@ var Calendar = /** @class */ (function () {
|
|
431
436
|
var dateAsString = this.formatDateTime(this.value[i]);
|
432
437
|
formattedValue += dateAsString;
|
433
438
|
if (i !== (this.value.length - 1)) {
|
434
|
-
formattedValue += '
|
439
|
+
formattedValue += this.multipleSeparator + ' ';
|
435
440
|
}
|
436
441
|
}
|
437
442
|
}
|
@@ -441,7 +446,7 @@ var Calendar = /** @class */ (function () {
|
|
441
446
|
var endDate = this.value[1];
|
442
447
|
formattedValue = this.formatDateTime(startDate);
|
443
448
|
if (endDate) {
|
444
|
-
formattedValue += '
|
449
|
+
formattedValue += ' ' + this.rangeSeparator + ' ' + this.formatDateTime(endDate);
|
445
450
|
}
|
446
451
|
}
|
447
452
|
}
|
@@ -608,7 +613,7 @@ var Calendar = /** @class */ (function () {
|
|
608
613
|
}
|
609
614
|
};
|
610
615
|
Calendar.prototype.isMonthSelected = function (month) {
|
611
|
-
return this.
|
616
|
+
return this.isSelected({ year: this.currentYear, month: month, day: 1, selectable: true });
|
612
617
|
};
|
613
618
|
Calendar.prototype.isDateEquals = function (value, dateMeta) {
|
614
619
|
if (value)
|
@@ -736,10 +741,7 @@ var Calendar = /** @class */ (function () {
|
|
736
741
|
Calendar.prototype.onInputKeydown = function (event) {
|
737
742
|
this.isKeydown = true;
|
738
743
|
if (event.keyCode === 9) {
|
739
|
-
|
740
|
-
this.disableModality();
|
741
|
-
else
|
742
|
-
this.hideOverlay();
|
744
|
+
this.hideOverlay();
|
743
745
|
}
|
744
746
|
};
|
745
747
|
Calendar.prototype.onMonthDropdownChange = function (m) {
|
@@ -1012,7 +1014,7 @@ var Calendar = /** @class */ (function () {
|
|
1012
1014
|
value = this.parseDateTime(text);
|
1013
1015
|
}
|
1014
1016
|
else if (this.isMultipleSelection()) {
|
1015
|
-
var tokens = text.split(
|
1017
|
+
var tokens = text.split(this.multipleSeparator);
|
1016
1018
|
value = [];
|
1017
1019
|
for (var _i = 0, tokens_1 = tokens; _i < tokens_1.length; _i++) {
|
1018
1020
|
var token = tokens_1[_i];
|
@@ -1020,7 +1022,7 @@ var Calendar = /** @class */ (function () {
|
|
1020
1022
|
}
|
1021
1023
|
}
|
1022
1024
|
else if (this.isRangeSelection()) {
|
1023
|
-
var tokens = text.split('
|
1025
|
+
var tokens = text.split(' ' + this.rangeSeparator + ' ');
|
1024
1026
|
value = [];
|
1025
1027
|
for (var i = 0; i < tokens.length; i++) {
|
1026
1028
|
value[i] = this.parseDateTime(tokens[i].trim());
|
@@ -1038,8 +1040,10 @@ var Calendar = /** @class */ (function () {
|
|
1038
1040
|
else {
|
1039
1041
|
var dateFormat = this.getDateFormat();
|
1040
1042
|
if (this.showTime) {
|
1041
|
-
|
1042
|
-
|
1043
|
+
var ampm = this.hourFormat == '12' ? parts.pop() : null;
|
1044
|
+
var timeString = parts.pop();
|
1045
|
+
date = this.parseDate(parts.join(' '), dateFormat);
|
1046
|
+
this.populateTime(date, timeString, ampm);
|
1043
1047
|
}
|
1044
1048
|
else {
|
1045
1049
|
date = this.parseDate(text, dateFormat);
|
@@ -1499,11 +1503,15 @@ var Calendar = /** @class */ (function () {
|
|
1499
1503
|
Calendar.prototype.bindDocumentClickListener = function () {
|
1500
1504
|
var _this = this;
|
1501
1505
|
if (!this.documentClickListener) {
|
1502
|
-
this.
|
1503
|
-
|
1504
|
-
_this.
|
1505
|
-
|
1506
|
-
|
1506
|
+
this.zone.runOutsideAngular(function () {
|
1507
|
+
_this.documentClickListener = _this.renderer.listen('document', 'click', function (event) {
|
1508
|
+
if (_this.isOutsideClicked(event) && _this.overlayVisible) {
|
1509
|
+
_this.zone.run(function () {
|
1510
|
+
_this.hideOverlay();
|
1511
|
+
});
|
1512
|
+
}
|
1513
|
+
_this.cd.markForCheck();
|
1514
|
+
});
|
1507
1515
|
});
|
1508
1516
|
}
|
1509
1517
|
};
|
@@ -1589,6 +1597,14 @@ var Calendar = /** @class */ (function () {
|
|
1589
1597
|
core_1.Input(),
|
1590
1598
|
__metadata("design:type", String)
|
1591
1599
|
], Calendar.prototype, "dateFormat", void 0);
|
1600
|
+
__decorate([
|
1601
|
+
core_1.Input(),
|
1602
|
+
__metadata("design:type", String)
|
1603
|
+
], Calendar.prototype, "multipleSeparator", void 0);
|
1604
|
+
__decorate([
|
1605
|
+
core_1.Input(),
|
1606
|
+
__metadata("design:type", String)
|
1607
|
+
], Calendar.prototype, "rangeSeparator", void 0);
|
1592
1608
|
__decorate([
|
1593
1609
|
core_1.Input(),
|
1594
1610
|
__metadata("design:type", Boolean)
|
@@ -1867,7 +1883,7 @@ var Calendar = /** @class */ (function () {
|
|
1867
1883
|
},
|
1868
1884
|
providers: [exports.CALENDAR_VALUE_ACCESSOR]
|
1869
1885
|
}),
|
1870
|
-
__metadata("design:paramtypes", [core_1.ElementRef, core_1.Renderer2, core_1.ChangeDetectorRef])
|
1886
|
+
__metadata("design:paramtypes", [core_1.ElementRef, core_1.Renderer2, core_1.ChangeDetectorRef, core_1.NgZone])
|
1871
1887
|
], Calendar);
|
1872
1888
|
return Calendar;
|
1873
1889
|
}());
|