@sq-ui/ng-sq-common
Advanced tools
Comparing version 1.1.5 to 1.2.5
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common')) : | ||
typeof define === 'function' && define.amd ? define('@sq-ui/ng-sq-common', ['exports', '@angular/core', 'rxjs', '@angular/common'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sq-ui'] = global['sq-ui'] || {}, global['sq-ui']['ng-sq-common'] = {}), global.ng.core, global.rxjs, global.ng.common)); | ||
}(this, (function (exports, core, rxjs, common) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rxjs')) : | ||
typeof define === 'function' && define.amd ? define('@sq-ui/ng-sq-common', ['exports', '@angular/core', '@angular/common', 'rxjs'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sq-ui'] = global['sq-ui'] || {}, global['sq-ui']['ng-sq-common'] = {}), global.ng.core, global.ng.common, global.rxjs)); | ||
}(this, (function (exports, i0, i1, rxjs) { 'use strict'; | ||
function _interopNamespace(e) { | ||
if (e && e.__esModule) return e; | ||
var n = Object.create(null); | ||
if (e) { | ||
Object.keys(e).forEach(function (k) { | ||
if (k !== 'default') { | ||
var d = Object.getOwnPropertyDescriptor(e, k); | ||
Object.defineProperty(n, k, d.get ? d : { | ||
enumerable: true, | ||
get: function () { | ||
return e[k]; | ||
} | ||
}); | ||
} | ||
}); | ||
} | ||
n['default'] = e; | ||
return Object.freeze(n); | ||
} | ||
var i0__namespace = /*#__PURE__*/_interopNamespace(i0); | ||
var i1__namespace = /*#__PURE__*/_interopNamespace(i1); | ||
exports.DeviceOS = void 0; | ||
@@ -240,6 +263,12 @@ (function (DeviceOS) { | ||
} | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
function __spreadArray(to, from, pack) { | ||
if (pack || arguments.length === 2) | ||
for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) | ||
ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
} | ||
@@ -334,3 +363,3 @@ function __await(v) { | ||
function ControlValueAccessorEnabler() { | ||
this._modelToViewChange = new core.EventEmitter(); | ||
this._modelToViewChange = new i0.EventEmitter(); | ||
this._onChange = function () { }; | ||
@@ -390,17 +419,24 @@ this._onTouched = function () { }; | ||
}(ControlValueAccessorEnabler)); | ||
InputCoreComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
template: '' | ||
},] } | ||
]; | ||
InputCoreComponent.ctorParameters = function () { return []; }; | ||
InputCoreComponent.propDecorators = { | ||
name: [{ type: core.Input }], | ||
controlId: [{ type: core.Input }], | ||
controlLabel: [{ type: core.Input }], | ||
controlPlaceholder: [{ type: core.Input }], | ||
required: [{ type: core.Input }], | ||
pattern: [{ type: core.Input }], | ||
disabled: [{ type: core.Input }] | ||
}; | ||
InputCoreComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: InputCoreComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component }); | ||
InputCoreComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: InputCoreComponent, selector: "ng-component", inputs: { name: "name", controlId: "controlId", controlLabel: "controlLabel", controlPlaceholder: "controlPlaceholder", required: "required", pattern: "pattern", disabled: "disabled" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: InputCoreComponent, decorators: [{ | ||
type: i0.Component, | ||
args: [{ | ||
template: '' | ||
}] | ||
}], ctorParameters: function () { return []; }, propDecorators: { name: [{ | ||
type: i0.Input | ||
}], controlId: [{ | ||
type: i0.Input | ||
}], controlLabel: [{ | ||
type: i0.Input | ||
}], controlPlaceholder: [{ | ||
type: i0.Input | ||
}], required: [{ | ||
type: i0.Input | ||
}], pattern: [{ | ||
type: i0.Input | ||
}], disabled: [{ | ||
type: i0.Input | ||
}] } }); | ||
@@ -412,3 +448,3 @@ var OutsideClickListenerDirective = /** @class */ (function () { | ||
this.renderer = renderer; | ||
this.clickOutside = new core.EventEmitter(); | ||
this.clickOutside = new i0.EventEmitter(); | ||
this.listenForOutsideClick = false; | ||
@@ -429,15 +465,14 @@ this.listener = this.renderer.listen('document', 'click', function (event) { | ||
}()); | ||
OutsideClickListenerDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[sqOutsideClickListener]' | ||
},] } | ||
]; | ||
OutsideClickListenerDirective.ctorParameters = function () { return [ | ||
{ type: core.ElementRef }, | ||
{ type: core.Renderer2 } | ||
]; }; | ||
OutsideClickListenerDirective.propDecorators = { | ||
clickOutside: [{ type: core.Output }], | ||
listenForOutsideClick: [{ type: core.Input }] | ||
}; | ||
OutsideClickListenerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: OutsideClickListenerDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive }); | ||
OutsideClickListenerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.4", type: OutsideClickListenerDirective, selector: "[sqOutsideClickListener]", inputs: { listenForOutsideClick: "listenForOutsideClick" }, outputs: { clickOutside: "clickOutside" }, ngImport: i0__namespace }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: OutsideClickListenerDirective, decorators: [{ | ||
type: i0.Directive, | ||
args: [{ | ||
selector: '[sqOutsideClickListener]' | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { clickOutside: [{ | ||
type: i0.Output | ||
}], listenForOutsideClick: [{ | ||
type: i0.Input | ||
}] } }); | ||
@@ -451,4 +486,4 @@ var PaginatorComponent = /** @class */ (function () { | ||
this.paginatedCollection = []; | ||
this.paginatedCollectionChange = new core.EventEmitter(); | ||
this.pageChange = new core.EventEmitter(); | ||
this.paginatedCollectionChange = new i0.EventEmitter(); | ||
this.pageChange = new i0.EventEmitter(); | ||
this.pages = []; | ||
@@ -594,21 +629,29 @@ this._paginatedCollection = []; | ||
}()); | ||
PaginatorComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
selector: 'sq-paginator', | ||
template: "<ol class=\"paginator display-flex wrap\" *ngIf=\"pages.length > 0\">\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"first\"\r\n (click)=\"onPageClick(pages[0])\">\r\n <i class=\"fas fa-angle-double-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"prev\"\r\n (click)=\"navigateToPage(-1)\">\r\n <i class=\"fas fa-angle-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li *ngFor=\"let page of pages\"\r\n [hidden]=\"page.isHidden\"\r\n data-btn-type=\"page-num\"\r\n [ngClass]=\"{\r\n 'current': page.isSelected,\r\n 'truncated': page.isHidden\r\n }\">\r\n <button type=\"button\"\r\n (click)=\"onPageClick(page)\">\r\n {{page.number}}\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"next\"\r\n (click)=\"navigateToPage(1)\">\r\n <i class=\"fas fa-angle-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"last\"\r\n (click)=\"onPageClick(pages[pages.length - 1])\">\r\n <i class=\"fas fa-angle-double-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n</ol>\r\n", | ||
encapsulation: core.ViewEncapsulation.None, | ||
styles: [".sq ol.paginator{list-style:none;margin:0}.sq ol.paginator li{position:relative;padding:5px 8px;min-width:35px;height:32px;text-align:center;margin-right:10px;transition:all .4s ease-in}.sq ol.paginator li.current{font-weight:700;background-color:#b7d8d1}.sq ol.paginator li.truncated{display:none}.sq ol.paginator li:not(.truncated)+.truncated{pointer-events:none;display:block;font-size:0}.sq ol.paginator li:not(.truncated)+.truncated:before{content:\"...\";pointer-events:none;font-size:1.1rem}.sq ol.paginator li button{position:absolute;left:0;bottom:0;width:100%;height:100%;cursor:pointer}.sq ol.paginator li button[disabled]{cursor:default}.sq ol.paginator li button[disabled] .fas{color:#aba9a9}"] | ||
},] } | ||
]; | ||
PaginatorComponent.ctorParameters = function () { return []; }; | ||
PaginatorComponent.propDecorators = { | ||
items: [{ type: core.Input }], | ||
itemsPerPage: [{ type: core.Input }], | ||
currentPage: [{ type: core.Input }], | ||
lastPage: [{ type: core.Input }], | ||
maxDisplayedPages: [{ type: core.Input }], | ||
paginatedCollection: [{ type: core.Input }], | ||
paginatedCollectionChange: [{ type: core.Output }], | ||
pageChange: [{ type: core.Output }] | ||
}; | ||
PaginatorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: PaginatorComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component }); | ||
PaginatorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: PaginatorComponent, selector: "sq-paginator", inputs: { items: "items", itemsPerPage: "itemsPerPage", currentPage: "currentPage", lastPage: "lastPage", maxDisplayedPages: "maxDisplayedPages", paginatedCollection: "paginatedCollection" }, outputs: { paginatedCollectionChange: "paginatedCollectionChange", pageChange: "pageChange" }, usesOnChanges: true, ngImport: i0__namespace, template: "<ol class=\"paginator display-flex wrap\" *ngIf=\"pages.length > 0\">\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"first\"\r\n (click)=\"onPageClick(pages[0])\">\r\n <i class=\"fas fa-angle-double-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"prev\"\r\n (click)=\"navigateToPage(-1)\">\r\n <i class=\"fas fa-angle-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li *ngFor=\"let page of pages\"\r\n [hidden]=\"page.isHidden\"\r\n data-btn-type=\"page-num\"\r\n [ngClass]=\"{\r\n 'current': page.isSelected,\r\n 'truncated': page.isHidden\r\n }\">\r\n <button type=\"button\"\r\n (click)=\"onPageClick(page)\">\r\n {{page.number}}\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"next\"\r\n (click)=\"navigateToPage(1)\">\r\n <i class=\"fas fa-angle-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"last\"\r\n (click)=\"onPageClick(pages[pages.length - 1])\">\r\n <i class=\"fas fa-angle-double-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n</ol>\r\n", styles: [".sq ol.paginator{list-style:none;margin:0}.sq ol.paginator li{position:relative;padding:5px 8px;min-width:35px;height:32px;text-align:center;margin-right:10px;transition:all .4s ease-in}.sq ol.paginator li.current{font-weight:700;background-color:#b7d8d1}.sq ol.paginator li.truncated{display:none}.sq ol.paginator li:not(.truncated)+.truncated{pointer-events:none;display:block;font-size:0}.sq ol.paginator li:not(.truncated)+.truncated:before{content:\"...\";pointer-events:none;font-size:1.1rem}.sq ol.paginator li button{position:absolute;left:0;bottom:0;width:100%;height:100%;cursor:pointer}.sq ol.paginator li button[disabled]{cursor:default}.sq ol.paginator li button[disabled] .fas{color:#aba9a9}"], directives: [{ type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0__namespace.ViewEncapsulation.None }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: PaginatorComponent, decorators: [{ | ||
type: i0.Component, | ||
args: [{ | ||
selector: 'sq-paginator', | ||
templateUrl: './paginator.component.html', | ||
styleUrls: ['./paginator.component.scss'], | ||
encapsulation: i0.ViewEncapsulation.None | ||
}] | ||
}], ctorParameters: function () { return []; }, propDecorators: { items: [{ | ||
type: i0.Input | ||
}], itemsPerPage: [{ | ||
type: i0.Input | ||
}], currentPage: [{ | ||
type: i0.Input | ||
}], lastPage: [{ | ||
type: i0.Input | ||
}], maxDisplayedPages: [{ | ||
type: i0.Input | ||
}], paginatedCollection: [{ | ||
type: i0.Input | ||
}], paginatedCollectionChange: [{ | ||
type: i0.Output | ||
}], pageChange: [{ | ||
type: i0.Output | ||
}] } }); | ||
@@ -633,6 +676,7 @@ var CustomEventBroadcasterService = /** @class */ (function () { | ||
}()); | ||
CustomEventBroadcasterService.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
CustomEventBroadcasterService.ctorParameters = function () { return []; }; | ||
CustomEventBroadcasterService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: CustomEventBroadcasterService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); | ||
CustomEventBroadcasterService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: CustomEventBroadcasterService }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: CustomEventBroadcasterService, decorators: [{ | ||
type: i0.Injectable | ||
}], ctorParameters: function () { return []; } }); | ||
@@ -655,6 +699,7 @@ var OSDetectorService = /** @class */ (function () { | ||
}()); | ||
OSDetectorService.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
OSDetectorService.ctorParameters = function () { return []; }; | ||
OSDetectorService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: OSDetectorService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable }); | ||
OSDetectorService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: OSDetectorService }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: OSDetectorService, decorators: [{ | ||
type: i0.Injectable | ||
}], ctorParameters: function () { return []; } }); | ||
@@ -666,3 +711,3 @@ var ScrolledToBottomListenerDirective = /** @class */ (function () { | ||
this.renderer = renderer; | ||
this.scrolledToBottom = new core.EventEmitter(); | ||
this.scrolledToBottom = new i0.EventEmitter(); | ||
this.listener = this.renderer.listen(this.elementRef.nativeElement, 'scroll', function () { | ||
@@ -683,14 +728,12 @@ _this.checkIfHasScrolledToBottom(_this.elementRef.nativeElement); | ||
}()); | ||
ScrolledToBottomListenerDirective.decorators = [ | ||
{ type: core.Directive, args: [{ | ||
selector: '[sqScrolledToBottomListener]' | ||
},] } | ||
]; | ||
ScrolledToBottomListenerDirective.ctorParameters = function () { return [ | ||
{ type: core.ElementRef }, | ||
{ type: core.Renderer2 } | ||
]; }; | ||
ScrolledToBottomListenerDirective.propDecorators = { | ||
scrolledToBottom: [{ type: core.Output }] | ||
}; | ||
ScrolledToBottomListenerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: ScrolledToBottomListenerDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive }); | ||
ScrolledToBottomListenerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.4", type: ScrolledToBottomListenerDirective, selector: "[sqScrolledToBottomListener]", outputs: { scrolledToBottom: "scrolledToBottom" }, ngImport: i0__namespace }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: ScrolledToBottomListenerDirective, decorators: [{ | ||
type: i0.Directive, | ||
args: [{ | ||
selector: '[sqScrolledToBottomListener]' | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { scrolledToBottom: [{ | ||
type: i0.Output | ||
}] } }); | ||
@@ -702,25 +745,40 @@ var NgSqCommonModule = /** @class */ (function () { | ||
}()); | ||
NgSqCommonModule.decorators = [ | ||
{ type: core.NgModule, args: [{ | ||
imports: [ | ||
common.CommonModule | ||
], | ||
providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], | ||
declarations: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
], | ||
exports: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
] | ||
},] } | ||
]; | ||
NgSqCommonModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: NgSqCommonModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule }); | ||
NgSqCommonModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: NgSqCommonModule, declarations: [OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent], imports: [i1.CommonModule], exports: [OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent] }); | ||
NgSqCommonModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: NgSqCommonModule, providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], imports: [[ | ||
i1.CommonModule | ||
]] }); | ||
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0__namespace, type: NgSqCommonModule, decorators: [{ | ||
type: i0.NgModule, | ||
args: [{ | ||
imports: [ | ||
i1.CommonModule | ||
], | ||
providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], | ||
declarations: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
], | ||
exports: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
] | ||
}] | ||
}] }); | ||
@@ -742,3 +800,3 @@ /* | ||
exports.PaginatorComponent = PaginatorComponent; | ||
exports.ɵa = ScrolledToBottomListenerDirective; | ||
exports.ScrolledToBottomListenerDirective = ScrolledToBottomListenerDirective; | ||
@@ -745,0 +803,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -11,3 +11,4 @@ /* | ||
export { ControlValueAccessorEnabler } from './lib/entities/control-value-accessor-enabler'; | ||
export { ScrolledToBottomListenerDirective } from './lib/directives/scrolled-to-bottom-listener.directive'; | ||
export * from './lib/ng-sq-common.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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vcGFnaW5hdG9yLmNvbXBvbmVudCc7XHJcbmV4cG9ydCB7IFNpemUsIFByb2dyZXNzQmFyU2l6ZSB9IGZyb20gJy4vbGliL2ludGVyZmFjZXMvc2l6ZXMnO1xyXG5leHBvcnQgeyBDdXN0b21FdmVudERldGFpbHMgfSBmcm9tICcuL2xpYi9pbnRlcmZhY2VzL2N1c3RvbS1ldmVudC1kZXRhaWxzJztcclxuZXhwb3J0IHsgTGFiZWxWYWx1ZVBhaXIgfSBmcm9tICcuL2xpYi9pbnRlcmZhY2VzL2xhYmVsLXZhbHVlLXBhaXInO1xyXG5leHBvcnQgeyBDdXN0b21FdmVudEJyb2FkY2FzdGVyU2VydmljZSB9IGZyb20gJy4vbGliL3NlcnZpY2VzL2N1c3RvbS1ldmVudC1icm9hZGNhc3Rlci5zZXJ2aWNlJztcclxuZXhwb3J0IHsgT1NEZXRlY3RvclNlcnZpY2UgfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9vcy1kZXRlY3Rvci5zZXJ2aWNlJztcclxuZXhwb3J0IHsgUGFnaW5hdG9yQ29uZmlnIH0gZnJvbSAnLi9saWIvaW50ZXJmYWNlcy9wYWdpbmF0b3ItY29uZmlnJztcclxuZXhwb3J0IHsgQ29udHJvbFZhbHVlQWNjZXNzb3JFbmFibGVyIH0gZnJvbSAnLi9saWIvZW50aXRpZXMvY29udHJvbC12YWx1ZS1hY2Nlc3Nvci1lbmFibGVyJztcclxuZXhwb3J0IHsgU2Nyb2xsZWRUb0JvdHRvbUxpc3RlbmVyRGlyZWN0aXZlIH0gZnJvbSAnLi9saWIvZGlyZWN0aXZlcy9zY3JvbGxlZC10by1ib3R0b20tbGlzdGVuZXIuZGlyZWN0aXZlJztcclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL25nLXNxLWNvbW1vbi5tb2R1bGUnO1xyXG4iXX0= |
import { Component, Input, Output, EventEmitter, ViewEncapsulation } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "@angular/common"; | ||
export class PaginatorComponent { | ||
@@ -146,21 +148,29 @@ constructor() { | ||
} | ||
PaginatorComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'sq-paginator', | ||
template: "<ol class=\"paginator display-flex wrap\" *ngIf=\"pages.length > 0\">\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"first\"\r\n (click)=\"onPageClick(pages[0])\">\r\n <i class=\"fas fa-angle-double-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"prev\"\r\n (click)=\"navigateToPage(-1)\">\r\n <i class=\"fas fa-angle-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li *ngFor=\"let page of pages\"\r\n [hidden]=\"page.isHidden\"\r\n data-btn-type=\"page-num\"\r\n [ngClass]=\"{\r\n 'current': page.isSelected,\r\n 'truncated': page.isHidden\r\n }\">\r\n <button type=\"button\"\r\n (click)=\"onPageClick(page)\">\r\n {{page.number}}\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"next\"\r\n (click)=\"navigateToPage(1)\">\r\n <i class=\"fas fa-angle-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"last\"\r\n (click)=\"onPageClick(pages[pages.length - 1])\">\r\n <i class=\"fas fa-angle-double-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n</ol>\r\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: [".sq ol.paginator{list-style:none;margin:0}.sq ol.paginator li{position:relative;padding:5px 8px;min-width:35px;height:32px;text-align:center;margin-right:10px;transition:all .4s ease-in}.sq ol.paginator li.current{font-weight:700;background-color:#b7d8d1}.sq ol.paginator li.truncated{display:none}.sq ol.paginator li:not(.truncated)+.truncated{pointer-events:none;display:block;font-size:0}.sq ol.paginator li:not(.truncated)+.truncated:before{content:\"...\";pointer-events:none;font-size:1.1rem}.sq ol.paginator li button{position:absolute;left:0;bottom:0;width:100%;height:100%;cursor:pointer}.sq ol.paginator li button[disabled]{cursor:default}.sq ol.paginator li button[disabled] .fas{color:#aba9a9}"] | ||
},] } | ||
]; | ||
PaginatorComponent.ctorParameters = () => []; | ||
PaginatorComponent.propDecorators = { | ||
items: [{ type: Input }], | ||
itemsPerPage: [{ type: Input }], | ||
currentPage: [{ type: Input }], | ||
lastPage: [{ type: Input }], | ||
maxDisplayedPages: [{ type: Input }], | ||
paginatedCollection: [{ type: Input }], | ||
paginatedCollectionChange: [{ type: Output }], | ||
pageChange: [{ type: Output }] | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXNxLWNvbW1vbi9zcmMvbGliL2NvbXBvbmVudHMvcGFnaW5hdG9yL3BhZ2luYXRvci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFBVSxLQUFLLEVBQUUsTUFBTSxFQUNoQyxZQUFZLEVBQWEsaUJBQWlCLEVBQzNDLE1BQU0sZUFBZSxDQUFDO0FBU3ZCLE1BQU0sT0FBTyxrQkFBa0I7SUFrQjdCO1FBakJTLFVBQUssR0FBVSxFQUFFLENBQUM7UUFDbEIsaUJBQVksR0FBVyxFQUFFLENBQUM7UUFDMUIsZ0JBQVcsR0FBVyxDQUFDLENBQUM7UUFFeEIsc0JBQWlCLEdBQVcsQ0FBQyxDQUFDO1FBQzlCLHdCQUFtQixHQUFHLEVBQUUsQ0FBQztRQUN4Qiw4QkFBe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version: "12.2.4", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); | ||
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: PaginatorComponent, selector: "sq-paginator", inputs: { items: "items", itemsPerPage: "itemsPerPage", currentPage: "currentPage", lastPage: "lastPage", maxDisplayedPages: "maxDisplayedPages", paginatedCollection: "paginatedCollection" }, outputs: { paginatedCollectionChange: "paginatedCollectionChange", pageChange: "pageChange" }, usesOnChanges: true, ngImport: i0, template: "<ol class=\"paginator display-flex wrap\" *ngIf=\"pages.length > 0\">\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"first\"\r\n (click)=\"onPageClick(pages[0])\">\r\n <i class=\"fas fa-angle-double-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"prev\"\r\n (click)=\"navigateToPage(-1)\">\r\n <i class=\"fas fa-angle-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li *ngFor=\"let page of pages\"\r\n [hidden]=\"page.isHidden\"\r\n data-btn-type=\"page-num\"\r\n [ngClass]=\"{\r\n 'current': page.isSelected,\r\n 'truncated': page.isHidden\r\n }\">\r\n <button type=\"button\"\r\n (click)=\"onPageClick(page)\">\r\n {{page.number}}\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"next\"\r\n (click)=\"navigateToPage(1)\">\r\n <i class=\"fas fa-angle-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"last\"\r\n (click)=\"onPageClick(pages[pages.length - 1])\">\r\n <i class=\"fas fa-angle-double-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n</ol>\r\n", styles: [".sq ol.paginator{list-style:none;margin:0}.sq ol.paginator li{position:relative;padding:5px 8px;min-width:35px;height:32px;text-align:center;margin-right:10px;transition:all .4s ease-in}.sq ol.paginator li.current{font-weight:700;background-color:#b7d8d1}.sq ol.paginator li.truncated{display:none}.sq ol.paginator li:not(.truncated)+.truncated{pointer-events:none;display:block;font-size:0}.sq ol.paginator li:not(.truncated)+.truncated:before{content:\"...\";pointer-events:none;font-size:1.1rem}.sq ol.paginator li button{position:absolute;left:0;bottom:0;width:100%;height:100%;cursor:pointer}.sq ol.paginator li button[disabled]{cursor:default}.sq ol.paginator li button[disabled] .fas{color:#aba9a9}"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PaginatorComponent, decorators: [{ | ||
type: Component, | ||
args: [{ | ||
selector: 'sq-paginator', | ||
templateUrl: './paginator.component.html', | ||
styleUrls: ['./paginator.component.scss'], | ||
encapsulation: ViewEncapsulation.None | ||
}] | ||
}], ctorParameters: function () { return []; }, propDecorators: { items: [{ | ||
type: Input | ||
}], itemsPerPage: [{ | ||
type: Input | ||
}], currentPage: [{ | ||
type: Input | ||
}], lastPage: [{ | ||
type: Input | ||
}], maxDisplayedPages: [{ | ||
type: Input | ||
}], paginatedCollection: [{ | ||
type: Input | ||
}], paginatedCollectionChange: [{ | ||
type: Output | ||
}], pageChange: [{ | ||
type: Output | ||
}] } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLC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1dHRvblwiXHJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlTmV4dEJ0bnNcIlxyXG4gICAgICAgICAgICBkYXRhLWJ0bi10eXBlPVwibmV4dFwiXHJcbiAgICAgICAgICAgIChjbGljayk9XCJuYXZpZ2F0ZVRvUGFnZSgxKVwiPlxyXG4gICAgICA8aSBjbGFzcz1cImZhcyBmYS1hbmdsZS1yaWdodFwiIGFyaWEtaGlkZGVuPVwidHJ1ZVwiPjwvaT5cclxuICAgIDwvYnV0dG9uPlxyXG4gIDwvbGk+XHJcbiAgPGxpPlxyXG4gICAgPGJ1dHRvbiB0eXBlPVwiYnV0dG9uXCJcclxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImRpc2FibGVOZXh0QnRuc1wiXHJcbiAgICAgICAgICAgIGRhdGEtYnRuLXR5cGU9XCJsYXN0XCJcclxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uUGFnZUNsaWNrKHBhZ2VzW3BhZ2VzLmxlbmd0aCAtIDFdKVwiPlxyXG4gICAgICA8aSBjbGFzcz1cImZhcyBmYS1hbmdsZS1kb3VibGUtcmlnaHRcIiBhcmlhLWhpZGRlbj1cInRydWVcIj48L2k+XHJcbiAgICA8L2J1dHRvbj5cclxuICA8L2xpPlxyXG48L29sPlxyXG4iXX0= |
import { Directive, ElementRef, EventEmitter, Output, Input, Renderer2 } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export class OutsideClickListenerDirective { | ||
@@ -21,15 +22,14 @@ constructor(elementRef, renderer) { | ||
} | ||
OutsideClickListenerDirective.decorators = [ | ||
{ type: Directive, args: [{ | ||
selector: '[sqOutsideClickListener]' | ||
},] } | ||
]; | ||
OutsideClickListenerDirective.ctorParameters = () => [ | ||
{ type: ElementRef }, | ||
{ type: Renderer2 } | ||
]; | ||
OutsideClickListenerDirective.propDecorators = { | ||
clickOutside: [{ type: Output }], | ||
listenForOutsideClick: [{ type: Input }] | ||
}; | ||
//# sourceMappingURL=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QgY2xpY2tlZEluc2lkZSA9IHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmNvbnRhaW5zKGV2ZW50LnRhcmdldCk7XHJcblxyXG4gICAgICAgIGlmICghY2xpY2tlZEluc2lkZSkge1xyXG4gICAgICAgICAgdGhpcy5jbGlja091dHNpZGUuZW1pdCgpO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpIHtcclxuICAgIHRoaXMubGlzdGVuZXIoKTtcclxuICB9XHJcbn1cclxuIl19 | ||
OutsideClickListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OutsideClickListenerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); | ||
OutsideClickListenerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.4", type: OutsideClickListenerDirective, selector: "[sqOutsideClickListener]", inputs: { listenForOutsideClick: "listenForOutsideClick" }, outputs: { clickOutside: "clickOutside" }, ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OutsideClickListenerDirective, decorators: [{ | ||
type: Directive, | ||
args: [{ | ||
selector: '[sqOutsideClickListener]' | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { clickOutside: [{ | ||
type: Output | ||
}], listenForOutsideClick: [{ | ||
type: Input | ||
}] } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0c2lkZS1jbGljay1saXN0ZW5lci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1zcS1jb21tb24vc3JjL2xpYi9kaX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bnNpZGUpIHtcclxuICAgICAgICAgIHRoaXMuY2xpY2tPdXRzaWRlLmVtaXQoKTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH0pO1xyXG4gIH1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICB0aGlzLmxpc3RlbmVyKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== |
import { Directive, ElementRef, EventEmitter, Output, Renderer2 } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export class ScrolledToBottomListenerDirective { | ||
@@ -21,14 +22,12 @@ constructor(elementRef, renderer) { | ||
} | ||
ScrolledToBottomListenerDirective.decorators = [ | ||
{ type: Directive, args: [{ | ||
selector: '[sqScrolledToBottomListener]' | ||
},] } | ||
]; | ||
ScrolledToBottomListenerDirective.ctorParameters = () => [ | ||
{ type: ElementRef }, | ||
{ type: Renderer2 } | ||
]; | ||
ScrolledToBottomListenerDirective.propDecorators = { | ||
scrolledToBottom: [{ type: Output }] | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsZWQtdG8tYm90dG9tLWxpc3RlbmVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXNxLWNvbW1vbi9zcmMvbGliL2RpcmVjdGl2ZXMvc2Nyb2xsZWQtdG8tYm90dG9tLWxpc3RlbmVyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFDdkQsTUFBTSxlQUFlLENBQUM7QUFLdkIsTUFBTSxPQUFPLGlDQUFpQztJQUs1QyxZQUFvQixVQUFzQixFQUFVLFFBQW1CO1FBQW5ELGVBQVUsR0FBVixVQUFV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H1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICB0aGlzLmxpc3RlbmVyKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== | ||
ScrolledToBottomListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ScrolledToBottomListenerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); | ||
ScrolledToBottomListenerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.4", type: ScrolledToBottomListenerDirective, selector: "[sqScrolledToBottomListener]", outputs: { scrolledToBottom: "scrolledToBottom" }, ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ScrolledToBottomListenerDirective, decorators: [{ | ||
type: Directive, | ||
args: [{ | ||
selector: '[sqScrolledToBottomListener]' | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { scrolledToBottom: [{ | ||
type: Output | ||
}] } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsZWQtdG8tYm90dG9tLWxpc3RlbmVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXNxLWNvbW1vbi9zcmMvbGliL2RpcmVjdGl2ZXMvc2Nyb2xsZWQtdG8tYm90dG9tLWxpc3RlbmVyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFDdkQsTUFBTSxlQUFlLENBQUM7O0FBS3ZCLE1BQU0sT0FBTy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uXHJcbiAgICBpZiAoaGFzU2Nyb2xsZWRUb0JvdHRvbSkge1xyXG4gICAgICB0aGlzLnNjcm9sbGVkVG9Cb3R0b20uZW1pdCgpO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgbmdPbkRlc3Ryb3koKSB7XHJcbiAgICB0aGlzLmxpc3RlbmVyKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== |
import { Input, Component } from '@angular/core'; | ||
import { ControlValueAccessorEnabler } from './control-value-accessor-enabler'; | ||
import * as i0 from "@angular/core"; | ||
/** | ||
@@ -20,17 +21,24 @@ * This class contains all the base properties | ||
} | ||
InputCoreComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
template: '' | ||
},] } | ||
]; | ||
InputCoreComponent.ctorParameters = () => []; | ||
InputCoreComponent.propDecorators = { | ||
name: [{ type: Input }], | ||
controlId: [{ type: Input }], | ||
controlLabel: [{ type: Input }], | ||
controlPlaceholder: [{ type: Input }], | ||
required: [{ type: Input }], | ||
pattern: [{ type: Input }], | ||
disabled: [{ type: Input }] | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29yZS1jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1zcS1jb21tb24vc3JjL2xpYi9lbnRpdGllcy9pbnB1dC1jb3JlLWNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUvRTs7O0lBR0k7QUFJSixNQUFNLE9BQU8sa0JBQW1CLFNBQVEsMkJBQTJCO0lBV2pFO1FBQ0UsS0FBSyxFQUFFLENBQUM7UUFYRi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c3NvckVuYWJsZXIge1xyXG4gIHByaXZhdGUgZGVmYXVsdElucHV0SWRlbnRpZmllciA9ICdzcS1mb3JtLWNvbnRyb2wnICsgbmV3IERhdGUoKS5nZXRUaW1lKCkudG9TdHJpbmcoKTtcclxuXHJcbiAgQElucHV0KCkgbmFtZTogc3RyaW5nID0gdGhpcy5kZWZhdWx0SW5wdXRJZGVudGlmaWVyO1xyXG4gIEBJbnB1dCgpIGNvbnRyb2xJZDogc3RyaW5nID0gdGhpcy5kZWZhdWx0SW5wdXRJZGVudGlmaWVyO1xyXG4gIEBJbnB1dCgpIGNvbnRyb2xMYWJlbDogc3RyaW5nID0gJyc7XHJcbiAgQElucHV0KCkgY29udHJvbFBsYWNlaG9sZGVyOiBzdHJpbmcgPSAnJztcclxuICBASW5wdXQoKSByZXF1aXJlZDogYm9vbGVhbiA9IGZhbHNlO1xyXG4gIEBJbnB1dCgpIHBhdHRlcm46IGFueSA9ICcnO1xyXG4gIEBJbnB1dCgpIGRpc2FibGVkOiBib29sZWFuID0gZmFsc2U7XHJcblxyXG4gIGNvbnN0cnVjdG9yKCkge1xyXG4gICAgc3VwZXIoKTtcclxuICB9XHJcbn1cclxuIl19 | ||
InputCoreComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: InputCoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); | ||
InputCoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: InputCoreComponent, selector: "ng-component", inputs: { name: "name", controlId: "controlId", controlLabel: "controlLabel", controlPlaceholder: "controlPlaceholder", required: "required", pattern: "pattern", disabled: "disabled" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: InputCoreComponent, decorators: [{ | ||
type: Component, | ||
args: [{ | ||
template: '' | ||
}] | ||
}], ctorParameters: function () { return []; }, propDecorators: { name: [{ | ||
type: Input | ||
}], controlId: [{ | ||
type: Input | ||
}], controlLabel: [{ | ||
type: Input | ||
}], controlPlaceholder: [{ | ||
type: Input | ||
}], required: [{ | ||
type: Input | ||
}], pattern: [{ | ||
type: Input | ||
}], disabled: [{ | ||
type: Input | ||
}] } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtY29yZS1jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1zcS1jb21tb24vc3JjL2xpYi9lbnRpdGllcy9pbnB1dC1jb3JlLWNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQzs7QUFFL0U7OztJQUdJO0FBSUosTUFBTSxPQUFPLGtCQUFtQixTQUFRLDJCQUEyQjtJQVdqRTtRQUNFLEtBQUssRUFBRSxDQUFDO1FBWEYsMkJBQXNCLEdBQUcsaUJBQWlCLEdBQUcsSUFBSSxJQUFJLEVBQUUsQ0FBQyxPQUFPLEVBQUUsQ0FBQyxRQUFRLEVBQUUsQ0FBQztRQUU1RSxTQUFJLEdBQVcsSUFBSSxDQUFDLHNCQUFzQixDQUFDO1FBQzNDLGNBQVMsR0FBVyxJQUFJLENBQUMsc0JBQXNCLENBQUM7UUFDaEQsaUJBQVksR0FBVyxFQUFFLENBQUM7UUFDMUIsdUJBQWtCLEdBQVcsRUFBRSxDQUFDO1FBQ2hDLGFBQVEsR0FBWSxLQUFLLENBQUM7UUFDMUIsWUFBTyxHQUFRLEVBQUUsQ0FBQztRQUNsQixhQUFRLEdBQVksS0FBSyxDQUFDO0lBSW5DLENBQUM7O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SBjb250cm9sSWQ6IHN0cmluZyA9IHRoaXMuZGVmYXVsdElucHV0SWRlbnRpZmllcjtcclxuICBASW5wdXQoKSBjb250cm9sTGFiZWw6IHN0cmluZyA9ICcnO1xyXG4gIEBJbnB1dCgpIGNvbnRyb2xQbGFjZWhvbGRlcjogc3RyaW5nID0gJyc7XHJcbiAgQElucHV0KCkgcmVxdWlyZWQ6IGJvb2xlYW4gPSBmYWxzZTtcclxuICBASW5wdXQoKSBwYXR0ZXJuOiBhbnkgPSAnJztcclxuICBASW5wdXQoKSBkaXNhYmxlZDogYm9vbGVhbiA9IGZhbHNlO1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHtcclxuICAgIHN1cGVyKCk7XHJcbiAgfVxyXG59XHJcbiJdfQ== |
@@ -9,27 +9,43 @@ import { NgModule } from '@angular/core'; | ||
import { InputCoreComponent } from './entities/input-core-component'; | ||
import * as i0 from "@angular/core"; | ||
export class NgSqCommonModule { | ||
} | ||
NgSqCommonModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
CommonModule | ||
], | ||
providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], | ||
declarations: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
], | ||
exports: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
] | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctc3EtY29tbW9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXNxLWNvbW1vbi9zcmMvbGliL25nLXNxLWNvbW1vbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUF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gICAgT3V0c2lkZUNsaWNrTGlzdGVuZXJEaXJlY3RpdmUsXHJcbiAgICBQYWdpbmF0b3JDb21wb25lbnQsXHJcbiAgICBTY3JvbGxlZFRvQm90dG9tTGlzdGVuZXJEaXJlY3RpdmUsXHJcbiAgICBJbnB1dENvcmVDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBOZ1NxQ29tbW9uTW9kdWxlIHsgfVxyXG4iXX0= | ||
NgSqCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
NgSqCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, declarations: [OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent], imports: [CommonModule], exports: [OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent] }); | ||
NgSqCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], imports: [[ | ||
CommonModule | ||
]] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, decorators: [{ | ||
type: NgModule, | ||
args: [{ | ||
imports: [ | ||
CommonModule | ||
], | ||
providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], | ||
declarations: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
], | ||
exports: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
] | ||
}] | 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jdGl2ZXMvc2Nyb2xsZWQtdG8tYm90dG9tLWxpc3RlbmVyLmRpcmVjdGl2ZSc7XHJcbmltcG9ydCB7IElucHV0Q29yZUNvbXBvbmVudCB9IGZyb20gJy4vZW50aXRpZXMvaW5wdXQtY29yZS1jb21wb25lbnQnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGVcclxuICBdLFxyXG4gIHByb3ZpZGVyczogW1xyXG4gICAgT1NEZXRlY3RvclNlcnZpY2UsXHJcbiAgICBDdXN0b21FdmVudEJyb2FkY2FzdGVyU2VydmljZVxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBPdXRzaWRlQ2xpY2tMaXN0ZW5lckRpcmVjdGl2ZSxcclxuICAgIFBhZ2luYXRvckNvbXBvbmVudCxcclxuICAgIFNjcm9sbGVkVG9Cb3R0b21MaXN0ZW5lckRpcmVjdGl2ZSxcclxuICAgIElucHV0Q29yZUNvbXBvbmVudFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgT3V0c2lkZUNsaWNrTGlzdGVuZXJEaXJlY3RpdmUsXHJcbiAgICBQYWdpbmF0b3JDb21wb25lbnQsXHJcbiAgICBTY3JvbGxlZFRvQm90dG9tTGlzdGVuZXJEaXJlY3RpdmUsXHJcbiAgICBJbnB1dENvcmVDb21wb25lbnRcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBOZ1NxQ29tbW9uTW9kdWxlIHsgfVxyXG4iXX0= |
import { Injectable } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export class CustomEventBroadcasterService { | ||
@@ -20,6 +21,7 @@ constructor() { | ||
} | ||
CustomEventBroadcasterService.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
CustomEventBroadcasterService.ctorParameters = () => []; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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yXG4gIH1cclxuXHJcbiAgYnJvYWRjYXN0RXZlbnQoZXZlbnROYW1lOiBzdHJpbmcsIGV2ZW50RGV0YWlscz86IEN1c3RvbUV2ZW50RGV0YWlscykge1xyXG4gICAgdGhpcy5icm9hZGNhc3RlclN1YmplY3QubmV4dCh7YnJvYWRjYXN0RXZlbnQ6IGV2ZW50TmFtZSwgZXZlbnREZXRhaWxzOiBldmVudERldGFpbHN9KTtcclxuICB9XHJcbn1cclxuIl19 | ||
CustomEventBroadcasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomEventBroadcasterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); | ||
CustomEventBroadcasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomEventBroadcasterService }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomEventBroadcasterService, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return []; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWV2ZW50LWJyb2FkY2FzdGVyLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1zcS1jb21tb24vc3JjL2xpYi9zZXJ2aWNlcy9jdXN0b20tZXZlbnQtYnJvYWRjYXN0ZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTNDLE9BQU8sRUFBRSxPQUFPLEVBQWdCLE1BQU0sTUFBTSxDQUFDOztBQUc3QyxNQUFNLE9BQU8sNkJBQTZCO0lBSXhDO1FBSFEsdUJBQWtCLEdBQUcsSUFBSSxPQUFPLEVB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N0KCk7XHJcbiAgcHJpdmF0ZSBicm9hZGNhc3RlclN1YmplY3RBc09ic2VydmFibGUgPSB0aGlzLmJyb2FkY2FzdGVyU3ViamVjdC5hc09ic2VydmFibGUoKTtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgc3Vic2NyaWJlRm9yKGV2ZW50TmFtZTogc3RyaW5nLFxyXG4gICAgICAgICAgICAgICBjYWxsYmFjazogKGV2ZW50RGV0YWlscz86IEN1c3RvbUV2ZW50RGV0YWlscykgPT4gdm9pZCk6IFN1YnNjcmlwdGlvbiB7XHJcbiAgICByZXR1cm4gdGhpcy5icm9hZGNhc3RlclN1YmplY3RBc09ic2VydmFibGVcclxuICAgICAgLnN1YnNjcmliZSgoY3VzdG9tRXZlbnQ6IHticm9hZGNhc3RFdmVudDogc3RyaW5nLCBldmVudERldGFpbHM/OiBDdXN0b21FdmVudERldGFpbHN9KSA9PiB7XHJcbiAgICAgICAgaWYgKGN1c3RvbUV2ZW50LmJyb2FkY2FzdEV2ZW50ID09PSBldmVudE5hbWUpIHtcclxuICAgICAgICAgIGNhbGxiYWNrKGN1c3RvbUV2ZW50LmV2ZW50RGV0YWlscyk7XHJcbiAgICAgICAgfVxyXG4gICAgICB9KTtcclxuICB9XHJcblxyXG4gIGJyb2FkY2FzdEV2ZW50KGV2ZW50TmFtZTogc3RyaW5nLCBldmVudERldGFpbHM/OiBDdXN0b21FdmVudERldGFpbHMpIHtcclxuICAgIHRoaXMuYnJvYWRjYXN0ZXJTdWJqZWN0Lm5leHQoe2Jyb2FkY2FzdEV2ZW50OiBldmVudE5hbWUsIGV2ZW50RGV0YWlsczogZXZlbnREZXRhaWxzfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ== |
import { Injectable } from '@angular/core'; | ||
import { DeviceOS } from '../enums/device-os.enum'; | ||
import * as i0 from "@angular/core"; | ||
export class OSDetectorService { | ||
@@ -17,6 +18,7 @@ constructor() { } | ||
} | ||
OSDetectorService.decorators = [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4vZW51bXMvZGV2aWNlLW9zLmVudW0nO1xyXG5cclxuQEluamVjdGFibGUoKVxyXG5leHBvcnQgY2xhc3MgT1NEZXRlY3RvclNlcnZpY2Uge1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxuICBzdGF0aWMgZ2V0RGV2aWNlT1MoKTogRGV2aWNlT1Mge1xyXG4gICAgY29uc3QgdXNlckFnZW50ID0gbmF2aWdhdG9yLnVzZXJBZ2VudCB8fCBuYXZpZ2F0b3IudmVuZG9yO1xyXG4gICAgbGV0IGFnZW50OiBEZXZpY2VPUyA9IERldmljZU9TLkRlc2t0b3A7XHJcblxyXG4gICAgaWYgKC9hbmRyb2lkL2kudGVzdCh1c2VyQWdlbnQpKSB7XHJcbiAgICAgIGFnZW50ID0gRGV2aWNlT1MuQW5kcm9pZDtcclxuICAgIH1cclxuXHJcbiAgICBpZiAoL2lQYWR8aVBob25lfGlQb2QvLnRlc3QodXNlckFnZW50KSkge1xyXG4gICAgICBhZ2VudCA9IERldmljZU9TLmlPUztcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gYWdlbnQ7XHJcbiAgfVxyXG59XHJcbiJdfQ== | ||
OSDetectorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OSDetectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); | ||
OSDetectorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OSDetectorService }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OSDetectorService, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return []; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3MtZGV0ZWN0b3Iuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy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RydWN0b3IoKSB7IH1cclxuXHJcbiAgc3RhdGljIGdldERldmljZU9TKCk6IERldmljZU9TIHtcclxuICAgIGNvbnN0IHVzZXJBZ2VudCA9IG5hdmlnYXRvci51c2VyQWdlbnQgfHwgbmF2aWdhdG9yLnZlbmRvcjtcclxuICAgIGxldCBhZ2VudDogRGV2aWNlT1MgPSBEZXZpY2VPUy5EZXNrdG9wO1xyXG5cclxuICAgIGlmICgvYW5kcm9pZC9pLnRlc3QodXNlckFnZW50KSkge1xyXG4gICAgICBhZ2VudCA9IERldmljZU9TLkFuZHJvaWQ7XHJcbiAgICB9XHJcblxyXG4gICAgaWYgKC9pUGFkfGlQaG9uZXxpUG9kLy50ZXN0KHVzZXJBZ2VudCkpIHtcclxuICAgICAgYWdlbnQgPSBEZXZpY2VPUy5pT1M7XHJcbiAgICB9XHJcblxyXG4gICAgcmV0dXJuIGFnZW50O1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -5,3 +5,2 @@ /** | ||
export * from './index'; | ||
export { ScrolledToBottomListenerDirective as ɵa } from './lib/directives/scrolled-to-bottom-listener.directive'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3EtdWktbmctc3EtY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvbmctc3EtY29tbW9uL3NyYy9zcS11aS1uZy1zcS1jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQztBQUV4QixPQUFPLEVBQUMsaUNBQWlDLElBQUksRUFBRSxFQUFDLE1BQU0sd0RBQXdELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuXG5leHBvcnQge1Njcm9sbGVkVG9Cb3R0b21MaXN0ZW5lckRpcmVjdGl2ZSBhcyDJtWF9IGZyb20gJy4vbGliL2RpcmVjdGl2ZXMvc2Nyb2xsZWQtdG8tYm90dG9tLWxpc3RlbmVyLmRpcmVjdGl2ZSc7Il19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3EtdWktbmctc3EtY29tbW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvbmctc3EtY29tbW9uL3NyYy9zcS11aS1uZy1zcS1jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0= |
@@ -1,4 +0,6 @@ | ||
import { EventEmitter, Component, Input, Directive, ElementRef, Renderer2, Output, ViewEncapsulation, Injectable, NgModule } from '@angular/core'; | ||
import * as i0 from '@angular/core'; | ||
import { EventEmitter, Component, Input, Directive, Output, ViewEncapsulation, Injectable, NgModule } from '@angular/core'; | ||
import * as i1 from '@angular/common'; | ||
import { CommonModule } from '@angular/common'; | ||
import { Subject } from 'rxjs'; | ||
import { CommonModule } from '@angular/common'; | ||
@@ -66,17 +68,24 @@ var DeviceOS; | ||
} | ||
InputCoreComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
template: '' | ||
},] } | ||
]; | ||
InputCoreComponent.ctorParameters = () => []; | ||
InputCoreComponent.propDecorators = { | ||
name: [{ type: Input }], | ||
controlId: [{ type: Input }], | ||
controlLabel: [{ type: Input }], | ||
controlPlaceholder: [{ type: Input }], | ||
required: [{ type: Input }], | ||
pattern: [{ type: Input }], | ||
disabled: [{ type: Input }] | ||
}; | ||
InputCoreComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: InputCoreComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); | ||
InputCoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: InputCoreComponent, selector: "ng-component", inputs: { name: "name", controlId: "controlId", controlLabel: "controlLabel", controlPlaceholder: "controlPlaceholder", required: "required", pattern: "pattern", disabled: "disabled" }, usesInheritance: true, ngImport: i0, template: '', isInline: true }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: InputCoreComponent, decorators: [{ | ||
type: Component, | ||
args: [{ | ||
template: '' | ||
}] | ||
}], ctorParameters: function () { return []; }, propDecorators: { name: [{ | ||
type: Input | ||
}], controlId: [{ | ||
type: Input | ||
}], controlLabel: [{ | ||
type: Input | ||
}], controlPlaceholder: [{ | ||
type: Input | ||
}], required: [{ | ||
type: Input | ||
}], pattern: [{ | ||
type: Input | ||
}], disabled: [{ | ||
type: Input | ||
}] } }); | ||
@@ -102,15 +111,14 @@ class OutsideClickListenerDirective { | ||
} | ||
OutsideClickListenerDirective.decorators = [ | ||
{ type: Directive, args: [{ | ||
selector: '[sqOutsideClickListener]' | ||
},] } | ||
]; | ||
OutsideClickListenerDirective.ctorParameters = () => [ | ||
{ type: ElementRef }, | ||
{ type: Renderer2 } | ||
]; | ||
OutsideClickListenerDirective.propDecorators = { | ||
clickOutside: [{ type: Output }], | ||
listenForOutsideClick: [{ type: Input }] | ||
}; | ||
OutsideClickListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OutsideClickListenerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); | ||
OutsideClickListenerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.4", type: OutsideClickListenerDirective, selector: "[sqOutsideClickListener]", inputs: { listenForOutsideClick: "listenForOutsideClick" }, outputs: { clickOutside: "clickOutside" }, ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OutsideClickListenerDirective, decorators: [{ | ||
type: Directive, | ||
args: [{ | ||
selector: '[sqOutsideClickListener]' | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { clickOutside: [{ | ||
type: Output | ||
}], listenForOutsideClick: [{ | ||
type: Input | ||
}] } }); | ||
@@ -261,21 +269,29 @@ class PaginatorComponent { | ||
} | ||
PaginatorComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'sq-paginator', | ||
template: "<ol class=\"paginator display-flex wrap\" *ngIf=\"pages.length > 0\">\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"first\"\r\n (click)=\"onPageClick(pages[0])\">\r\n <i class=\"fas fa-angle-double-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"prev\"\r\n (click)=\"navigateToPage(-1)\">\r\n <i class=\"fas fa-angle-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li *ngFor=\"let page of pages\"\r\n [hidden]=\"page.isHidden\"\r\n data-btn-type=\"page-num\"\r\n [ngClass]=\"{\r\n 'current': page.isSelected,\r\n 'truncated': page.isHidden\r\n }\">\r\n <button type=\"button\"\r\n (click)=\"onPageClick(page)\">\r\n {{page.number}}\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"next\"\r\n (click)=\"navigateToPage(1)\">\r\n <i class=\"fas fa-angle-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"last\"\r\n (click)=\"onPageClick(pages[pages.length - 1])\">\r\n <i class=\"fas fa-angle-double-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n</ol>\r\n", | ||
encapsulation: ViewEncapsulation.None, | ||
styles: [".sq ol.paginator{list-style:none;margin:0}.sq ol.paginator li{position:relative;padding:5px 8px;min-width:35px;height:32px;text-align:center;margin-right:10px;transition:all .4s ease-in}.sq ol.paginator li.current{font-weight:700;background-color:#b7d8d1}.sq ol.paginator li.truncated{display:none}.sq ol.paginator li:not(.truncated)+.truncated{pointer-events:none;display:block;font-size:0}.sq ol.paginator li:not(.truncated)+.truncated:before{content:\"...\";pointer-events:none;font-size:1.1rem}.sq ol.paginator li button{position:absolute;left:0;bottom:0;width:100%;height:100%;cursor:pointer}.sq ol.paginator li button[disabled]{cursor:default}.sq ol.paginator li button[disabled] .fas{color:#aba9a9}"] | ||
},] } | ||
]; | ||
PaginatorComponent.ctorParameters = () => []; | ||
PaginatorComponent.propDecorators = { | ||
items: [{ type: Input }], | ||
itemsPerPage: [{ type: Input }], | ||
currentPage: [{ type: Input }], | ||
lastPage: [{ type: Input }], | ||
maxDisplayedPages: [{ type: Input }], | ||
paginatedCollection: [{ type: Input }], | ||
paginatedCollectionChange: [{ type: Output }], | ||
pageChange: [{ type: Output }] | ||
}; | ||
PaginatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PaginatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); | ||
PaginatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.4", type: PaginatorComponent, selector: "sq-paginator", inputs: { items: "items", itemsPerPage: "itemsPerPage", currentPage: "currentPage", lastPage: "lastPage", maxDisplayedPages: "maxDisplayedPages", paginatedCollection: "paginatedCollection" }, outputs: { paginatedCollectionChange: "paginatedCollectionChange", pageChange: "pageChange" }, usesOnChanges: true, ngImport: i0, template: "<ol class=\"paginator display-flex wrap\" *ngIf=\"pages.length > 0\">\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"first\"\r\n (click)=\"onPageClick(pages[0])\">\r\n <i class=\"fas fa-angle-double-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disablePrevBtns\"\r\n data-btn-type=\"prev\"\r\n (click)=\"navigateToPage(-1)\">\r\n <i class=\"fas fa-angle-left\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li *ngFor=\"let page of pages\"\r\n [hidden]=\"page.isHidden\"\r\n data-btn-type=\"page-num\"\r\n [ngClass]=\"{\r\n 'current': page.isSelected,\r\n 'truncated': page.isHidden\r\n }\">\r\n <button type=\"button\"\r\n (click)=\"onPageClick(page)\">\r\n {{page.number}}\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"next\"\r\n (click)=\"navigateToPage(1)\">\r\n <i class=\"fas fa-angle-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n <li>\r\n <button type=\"button\"\r\n [disabled]=\"disableNextBtns\"\r\n data-btn-type=\"last\"\r\n (click)=\"onPageClick(pages[pages.length - 1])\">\r\n <i class=\"fas fa-angle-double-right\" aria-hidden=\"true\"></i>\r\n </button>\r\n </li>\r\n</ol>\r\n", styles: [".sq ol.paginator{list-style:none;margin:0}.sq ol.paginator li{position:relative;padding:5px 8px;min-width:35px;height:32px;text-align:center;margin-right:10px;transition:all .4s ease-in}.sq ol.paginator li.current{font-weight:700;background-color:#b7d8d1}.sq ol.paginator li.truncated{display:none}.sq ol.paginator li:not(.truncated)+.truncated{pointer-events:none;display:block;font-size:0}.sq ol.paginator li:not(.truncated)+.truncated:before{content:\"...\";pointer-events:none;font-size:1.1rem}.sq ol.paginator li button{position:absolute;left:0;bottom:0;width:100%;height:100%;cursor:pointer}.sq ol.paginator li button[disabled]{cursor:default}.sq ol.paginator li button[disabled] .fas{color:#aba9a9}"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: PaginatorComponent, decorators: [{ | ||
type: Component, | ||
args: [{ | ||
selector: 'sq-paginator', | ||
templateUrl: './paginator.component.html', | ||
styleUrls: ['./paginator.component.scss'], | ||
encapsulation: ViewEncapsulation.None | ||
}] | ||
}], ctorParameters: function () { return []; }, propDecorators: { items: [{ | ||
type: Input | ||
}], itemsPerPage: [{ | ||
type: Input | ||
}], currentPage: [{ | ||
type: Input | ||
}], lastPage: [{ | ||
type: Input | ||
}], maxDisplayedPages: [{ | ||
type: Input | ||
}], paginatedCollection: [{ | ||
type: Input | ||
}], paginatedCollectionChange: [{ | ||
type: Output | ||
}], pageChange: [{ | ||
type: Output | ||
}] } }); | ||
@@ -299,6 +315,7 @@ class CustomEventBroadcasterService { | ||
} | ||
CustomEventBroadcasterService.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
CustomEventBroadcasterService.ctorParameters = () => []; | ||
CustomEventBroadcasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomEventBroadcasterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); | ||
CustomEventBroadcasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomEventBroadcasterService }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: CustomEventBroadcasterService, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return []; } }); | ||
@@ -319,6 +336,7 @@ class OSDetectorService { | ||
} | ||
OSDetectorService.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
OSDetectorService.ctorParameters = () => []; | ||
OSDetectorService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OSDetectorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); | ||
OSDetectorService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OSDetectorService }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: OSDetectorService, decorators: [{ | ||
type: Injectable | ||
}], ctorParameters: function () { return []; } }); | ||
@@ -344,40 +362,53 @@ class ScrolledToBottomListenerDirective { | ||
} | ||
ScrolledToBottomListenerDirective.decorators = [ | ||
{ type: Directive, args: [{ | ||
selector: '[sqScrolledToBottomListener]' | ||
},] } | ||
]; | ||
ScrolledToBottomListenerDirective.ctorParameters = () => [ | ||
{ type: ElementRef }, | ||
{ type: Renderer2 } | ||
]; | ||
ScrolledToBottomListenerDirective.propDecorators = { | ||
scrolledToBottom: [{ type: Output }] | ||
}; | ||
ScrolledToBottomListenerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ScrolledToBottomListenerDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); | ||
ScrolledToBottomListenerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.4", type: ScrolledToBottomListenerDirective, selector: "[sqScrolledToBottomListener]", outputs: { scrolledToBottom: "scrolledToBottom" }, ngImport: i0 }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: ScrolledToBottomListenerDirective, decorators: [{ | ||
type: Directive, | ||
args: [{ | ||
selector: '[sqScrolledToBottomListener]' | ||
}] | ||
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { scrolledToBottom: [{ | ||
type: Output | ||
}] } }); | ||
class NgSqCommonModule { | ||
} | ||
NgSqCommonModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [ | ||
CommonModule | ||
], | ||
providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], | ||
declarations: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
], | ||
exports: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
] | ||
},] } | ||
]; | ||
NgSqCommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); | ||
NgSqCommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, declarations: [OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent], imports: [CommonModule], exports: [OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent] }); | ||
NgSqCommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], imports: [[ | ||
CommonModule | ||
]] }); | ||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.4", ngImport: i0, type: NgSqCommonModule, decorators: [{ | ||
type: NgModule, | ||
args: [{ | ||
imports: [ | ||
CommonModule | ||
], | ||
providers: [ | ||
OSDetectorService, | ||
CustomEventBroadcasterService | ||
], | ||
declarations: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
], | ||
exports: [ | ||
OutsideClickListenerDirective, | ||
PaginatorComponent, | ||
ScrolledToBottomListenerDirective, | ||
InputCoreComponent | ||
] | ||
}] | ||
}] }); | ||
@@ -392,3 +423,3 @@ /* | ||
export { ControlValueAccessorEnabler, CustomEventBroadcasterService, DeviceOS, InputCoreComponent, NgSqCommonModule, OSDetectorService, OutsideClickListenerDirective, PaginatorComponent, ScrolledToBottomListenerDirective as ɵa }; | ||
export { ControlValueAccessorEnabler, CustomEventBroadcasterService, DeviceOS, InputCoreComponent, NgSqCommonModule, OSDetectorService, OutsideClickListenerDirective, PaginatorComponent, ScrolledToBottomListenerDirective }; | ||
//# sourceMappingURL=sq-ui-ng-sq-common.js.map |
@@ -12,2 +12,3 @@ export { DeviceOS } from './lib/enums/device-os.enum'; | ||
export { ControlValueAccessorEnabler } from './lib/entities/control-value-accessor-enabler'; | ||
export { ScrolledToBottomListenerDirective } from './lib/directives/scrolled-to-bottom-listener.directive'; | ||
export * from './lib/ng-sq-common.module'; |
import { OnInit, EventEmitter, OnChanges } from '@angular/core'; | ||
import { Page } from '../../interfaces/page'; | ||
import * as i0 from "@angular/core"; | ||
export declare class PaginatorComponent implements OnInit, OnChanges { | ||
@@ -32,2 +33,4 @@ items: any[]; | ||
private selectCurrentPageProgramatically; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "sq-paginator", never, { "items": "items"; "itemsPerPage": "itemsPerPage"; "currentPage": "currentPage"; "lastPage": "lastPage"; "maxDisplayedPages": "maxDisplayedPages"; "paginatedCollection": "paginatedCollection"; }, { "paginatedCollectionChange": "paginatedCollectionChange"; "pageChange": "pageChange"; }, never, never>; | ||
} |
import { ElementRef, EventEmitter, Renderer2, OnDestroy } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export declare class OutsideClickListenerDirective implements OnDestroy { | ||
@@ -10,2 +11,4 @@ private elementRef; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<OutsideClickListenerDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<OutsideClickListenerDirective, "[sqOutsideClickListener]", never, { "listenForOutsideClick": "listenForOutsideClick"; }, { "clickOutside": "clickOutside"; }, never>; | ||
} |
import { ElementRef, EventEmitter, Renderer2, OnDestroy } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ScrolledToBottomListenerDirective implements OnDestroy { | ||
@@ -10,2 +11,4 @@ private elementRef; | ||
ngOnDestroy(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ScrolledToBottomListenerDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrolledToBottomListenerDirective, "[sqScrolledToBottomListener]", never, {}, { "scrolledToBottom": "scrolledToBottom"; }, never>; | ||
} |
import { ControlValueAccessorEnabler } from './control-value-accessor-enabler'; | ||
import * as i0 from "@angular/core"; | ||
/** | ||
@@ -16,2 +17,4 @@ * This class contains all the base properties | ||
constructor(); | ||
static ɵfac: i0.ɵɵFactoryDeclaration<InputCoreComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<InputCoreComponent, "ng-component", never, { "name": "name"; "controlId": "controlId"; "controlLabel": "controlLabel"; "controlPlaceholder": "controlPlaceholder"; "required": "required"; "pattern": "pattern"; "disabled": "disabled"; }, {}, never, never>; | ||
} |
@@ -0,2 +1,11 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./directives/outside-click-listener.directive"; | ||
import * as i2 from "./components/paginator/paginator.component"; | ||
import * as i3 from "./directives/scrolled-to-bottom-listener.directive"; | ||
import * as i4 from "./entities/input-core-component"; | ||
import * as i5 from "@angular/common"; | ||
export declare class NgSqCommonModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgSqCommonModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgSqCommonModule, [typeof i1.OutsideClickListenerDirective, typeof i2.PaginatorComponent, typeof i3.ScrolledToBottomListenerDirective, typeof i4.InputCoreComponent], [typeof i5.CommonModule], [typeof i1.OutsideClickListenerDirective, typeof i2.PaginatorComponent, typeof i3.ScrolledToBottomListenerDirective, typeof i4.InputCoreComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<NgSqCommonModule>; | ||
} |
import { CustomEventDetails } from '../interfaces/custom-event-details'; | ||
import { Subscription } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export declare class CustomEventBroadcasterService { | ||
@@ -9,2 +10,4 @@ private broadcasterSubject; | ||
broadcastEvent(eventName: string, eventDetails?: CustomEventDetails): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<CustomEventBroadcasterService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<CustomEventBroadcasterService>; | ||
} |
import { DeviceOS } from '../enums/device-os.enum'; | ||
import * as i0 from "@angular/core"; | ||
export declare class OSDetectorService { | ||
constructor(); | ||
static getDeviceOS(): DeviceOS; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<OSDetectorService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<OSDetectorService>; | ||
} |
{ | ||
"name": "@sq-ui/ng-sq-common", | ||
"version": "1.1.5", | ||
"version": "1.2.5", | ||
"license": "MIT", | ||
@@ -32,4 +32,3 @@ "private": false, | ||
"typings": "sq-ui-ng-sq-common.d.ts", | ||
"metadata": "sq-ui-ng-sq-common.metadata.json", | ||
"sideEffects": false | ||
} |
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
/// <amd-module name="@sq-ui/ng-sq-common" /> | ||
export * from './index'; | ||
export { ScrolledToBottomListenerDirective as ɵa } from './lib/directives/scrolled-to-bottom-listener.directive'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279537
45
1906
2
4