@skyux/core
Advanced tools
Comparing version 3.0.0-alpha.4 to 3.0.0-alpha.5
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("@angular/common"),require("rxjs/BehaviorSubject")):"function"==typeof define&&define.amd?define(["@angular/core","@angular/common","rxjs/BehaviorSubject"],t):"object"==typeof exports?exports["skyux-core"]=t(require("@angular/core"),require("@angular/common"),require("rxjs/BehaviorSubject")):e["skyux-core"]=t(e["@angular/core"],e["@angular/common"],e["rxjs/BehaviorSubject"])}(this,function(e,t,r){return function(e){function __webpack_require__(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,__webpack_require__),n.l=!0,n.exports}var t={};return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.i=function(e){return e},__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=8)}([function(e,t,r){"use strict";function __extends(e,t){function __(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}function __rest(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&(r[n[i]]=e[n[i]]);return r}function __decorate(e,t,r,n){var i,o=arguments.length,u=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(u=(o<3?i(u):o>3?i(t,r,u):i(t,r))||u);return o>3&&u&&Object.defineProperty(t,r,u),u}function __param(e,t){return function(r,n){t(r,n,e)}}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,r,n){return new(r||(r=Promise))(function(i,o){function fulfilled(e){try{step(n.next(e))}catch(e){o(e)}}function rejected(e){try{step(n.throw(e))}catch(e){o(e)}}function step(e){e.done?i(e.value):new r(function(t){t(e.value)}).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())})}function __generator(e,t){function verb(e){return function(t){return step([e,t])}}function step(o){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,n=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(i=u.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(6===o[0]&&u.label<i[1]){u.label=i[1],i=o;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(o);break}i[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var r,n,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o}function __exportStar(e,t){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}function __values(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function __read(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)u.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return u}function __spread(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(__read(arguments[t]));return e}function __await(e){return this instanceof __await?(this.v=e,this):new __await(e)}function __asyncGenerator(e,t,r){function verb(e){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||resume(e,t)})})}function resume(e,t){try{step(i[e](t))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof __await?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){e(t),o.shift(),o.length&&resume(o[0][0],o[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n}function __asyncDelegator(e){function verb(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:"return"===n}:i?i(t):t}:i}var t,r;return t={},verb("next"),verb("throw",function(e){throw e}),verb("return"),t[Symbol.iterator]=function(){return this},t}function __asyncValues(e){function verb(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){t=e[r](t),settle(n,i,t.done,t.value)})}}function settle(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},verb("next"),verb("throw"),verb("return"),t[Symbol.asyncIterator]=function(){return this},t)}function __makeTemplateObject(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function __importStar(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function __importDefault(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.__extends=__extends,r.d(t,"__assign",function(){return i}),t.__rest=__rest,t.__decorate=__decorate,t.__param=__param,t.__metadata=__metadata,t.__awaiter=__awaiter,t.__generator=__generator,t.__exportStar=__exportStar,t.__values=__values,t.__read=__read,t.__spread=__spread,t.__await=__await,t.__asyncGenerator=__asyncGenerator,t.__asyncDelegator=__asyncDelegator,t.__asyncValues=__asyncValues,t.__makeTemplateObject=__makeTemplateObject,t.__importStar=__importStar,t.__importDefault=__importDefault;var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},i.apply(this,arguments)}},function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(3),u=function(){function SkyNumericService(e,t){this.currencyPipe=e,this.decimalPipe=t,this.symbols=r(19),this.symbolIndex=[{value:1e12,label:this.getSymbol("skyux_numeric_trillions_symbol")},{value:1e9,label:this.getSymbol("skyux_numeric_billions_symbol")},{value:1e6,label:this.getSymbol("skyux_numeric_millions_symbol")},{value:1e3,label:this.getSymbol("skyux_numeric_thousands_symbol")}]}return SkyNumericService.prototype.formatNumber=function(e,t){if(isNaN(e))return"";var r,n=/\.0+$|(\.[0-9]*[1-9])0+$/,i=this.symbolIndex.find(function(r){return t.truncate&&(e>=t.truncateAfter&&e>=r.value||-e>=t.truncateAfter&&-e>=r.value)});r=i?Number(Math.round(parseFloat(e/i.value+"e"+t.digits))+"e-"+t.digits).toString().replace(n,"$1")+i.label:Number(Math.round(parseFloat(e+"e"+t.digits))+"e-"+t.digits).toString().replace(n,"$1"),this.storeShortenSymbol(r);var o;switch(t.format.toLowerCase()){case"currency":var u=e>this.symbolIndex[this.symbolIndex.length-1].value,a=e%1!=0;o=!u&&a&&t.digits>=2?"1.2-"+t.digits:"1.0-"+t.digits,r=this.currencyPipe.transform(parseFloat(r),t.iso,!0,o);break;default:o=t.truncate?"1.0-"+t.digits:"1."+t.digits+"-"+t.digits,r=this.decimalPipe.transform(parseFloat(r),o)}return t.truncate&&(r=this.replaceShortenSymbol(r)),r},SkyNumericService.prototype.storeShortenSymbol=function(e){var t=this.symbolIndex.map(function(e){return e.label}),r=new RegExp(t.join("|"),"ig"),n=e.match(r);this.shortSymbol=n?n.toString():""},SkyNumericService.prototype.replaceShortenSymbol=function(e){var t=/(\d)(?!.*\d)/g.exec(e),r=t.index+t.length;return e.substring(0,r)+this.shortSymbol+e.substring(r)},SkyNumericService.prototype.getSymbol=function(e){return this.symbols[e].message},SkyNumericService}();u=n.__decorate([i.Injectable(),n.__metadata("design:paramtypes",[o.CurrencyPipe,o.DecimalPipe])],u),t.SkyNumericService=u},function(e,r){e.exports=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e[e.xs=1]="xs",e[e.sm=2]="sm",e[e.md=3]="md",e[e.lg=4]="lg"}(t.SkyMediaBreakpoints||(t.SkyMediaBreakpoints={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(20),u=r(4),a=s=function(){function SkyMediaQueryService(e){var t=this;this.zone=e,this._current=u.SkyMediaBreakpoints.md,this.currentSubject=new o.BehaviorSubject(this.current),this.xsListener=function(e){t.setupListener(e,u.SkyMediaBreakpoints.xs)},this.smListener=function(e){t.setupListener(e,u.SkyMediaBreakpoints.sm)},this.mdListener=function(e){t.setupListener(e,u.SkyMediaBreakpoints.md)},this.lgListener=function(e){t.setupListener(e,u.SkyMediaBreakpoints.lg)},this.xsMql=matchMedia(s.xs),this.xsMql.addListener(this.xsListener),this.smMql=matchMedia(s.sm),this.smMql.addListener(this.smListener),this.mdMql=matchMedia(s.md),this.mdMql.addListener(this.mdListener),this.lgMql=matchMedia(s.lg),this.lgMql.addListener(this.lgListener),this.setupListener(this.xsMql,u.SkyMediaBreakpoints.xs),this.setupListener(this.smMql,u.SkyMediaBreakpoints.sm),this.setupListener(this.mdMql,u.SkyMediaBreakpoints.md),this.setupListener(this.lgMql,u.SkyMediaBreakpoints.lg)}return Object.defineProperty(SkyMediaQueryService.prototype,"current",{get:function(){return this._current},enumerable:!0,configurable:!0}),SkyMediaQueryService.prototype.subscribe=function(e){return this.currentSubject.subscribe({next:function(t){e(t)}})},SkyMediaQueryService.prototype.destroy=function(){this.xsMql.removeListener(this.xsListener),this.xsMql=void 0,this.xsListener=void 0,this.smMql.removeListener(this.smListener),this.smMql=void 0,this.smListener=void 0,this.mdMql.removeListener(this.mdListener),this.mdMql=void 0,this.mdListener=void 0,this.lgMql.removeListener(this.lgListener),this.lgMql=void 0,this.lgListener=void 0,this.currentSubject.complete()},SkyMediaQueryService.prototype.setupListener=function(e,t){var r=this;this.zone.run(function(){e.matches&&(r._current=t,r.currentSubject.next(t))})},SkyMediaQueryService}();a.xs="(max-width: 767px)",a.sm="(min-width: 768px) and (max-width: 991px)",a.md="(min-width: 992px) and (max-width: 1199px)",a.lg="(min-width: 1200px)",a=s=n.__decorate([i.Injectable(),n.__metadata("design:paramtypes",[i.NgZone])],a),t.SkyMediaQueryService=a;var s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(2),u=r(15),a=function(){function SkyNumericPipe(e){this.skyNumeric=e}return SkyNumericPipe.prototype.transform=function(e,t){var r=new u.NumericOptions;return t&&!1===t.truncate&&void 0===t.digits&&(t.digits=0),Object.assign(r,t),this.skyNumeric.formatNumber(e,r)},SkyNumericPipe}();a=n.__decorate([i.Pipe({name:"skyNumeric"}),n.__metadata("design:paramtypes",[o.SkyNumericService])],a),t.SkyNumericPipe=a},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(10)),__export(r(11)),__export(r(13)),__export(r(16))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(7))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function SkyAppFormat(){}return SkyAppFormat.prototype.formatText=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return String(e).replace(/\{(\d+)\}/g,function(e,r){return t[parseInt(r,10)]})},SkyAppFormat}();o=n.__decorate([i.Injectable()],o),t.SkyAppFormat=o;var u=function(){function SkyFormat(){}return SkyFormat.formatText=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return this.isEmpty(e)?"":String(e).replace(/\{(\d+)\}/g,function(e,r){return t[parseInt(r,10)]})},SkyFormat.isEmpty=function(e){return null===e||void 0===e},SkyFormat}();t.SkyFormat=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(9))},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(12)),__export(r(5)),__export(r(4))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(3),u=r(5),a=function(){function SkyMediaQueryModule(){}return SkyMediaQueryModule}();a=n.__decorate([i.NgModule({providers:[u.SkyMediaQueryService],imports:[o.CommonModule]})],a),t.SkyMediaQueryModule=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6);t.SkyNumericPipe=n.SkyNumericPipe;var i=r(2);t.SkyNumericService=i.SkyNumericService;var o=r(14);t.SkyNumericModule=o.SkyNumericModule},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=r(3),u=r(6),a=r(2),s=function(){function SkyNumericModule(){}return SkyNumericModule}();s=n.__decorate([i.NgModule({declarations:[u.SkyNumericPipe],providers:[a.SkyNumericService,o.CurrencyPipe,o.DecimalPipe],exports:[u.SkyNumericPipe]})],s),t.SkyNumericModule=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function NumericOptions(){this.digits=1,this.format="number",this.iso="USD",this.truncate=!0,this.truncateAfter=0}return NumericOptions}();t.NumericOptions=n},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(17)),__export(r(18))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function SkyWindowRefService(){}return SkyWindowRefService.prototype.getWindow=function(){return window},SkyWindowRefService}();o=n.__decorate([i.Injectable()],o),t.SkyWindowRefService=o},function(e,t,r){"use strict";function getWindow(){return window}Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),i=r(1),o=function(){function SkyAppWindowRef(){}return Object.defineProperty(SkyAppWindowRef.prototype,"nativeWindow",{get:function(){return getWindow()},enumerable:!0,configurable:!0}),SkyAppWindowRef}();o=n.__decorate([i.Injectable()],o),t.SkyAppWindowRef=o},function(e,t){e.exports={skyux_numeric_billions_symbol:{_description:'Symbol to be used when abbreviating a "billion" number.',message:"B"},skyux_numeric_millions_symbol:{_description:'Symbol to be used when abbreviating a "million" number.',message:"M"},skyux_numeric_thousands_symbol:{_description:'Symbol to be used when abbreviating a "thousand" number.',message:"K"},skyux_numeric_trillions_symbol:{_description:'Symbol to be used when abbreviating a "trillion" number.',message:"T"}}},function(e,t){e.exports=r}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("@angular/common"),require("rxjs/BehaviorSubject")):"function"==typeof define&&define.amd?define(["@angular/core","@angular/common","rxjs/BehaviorSubject"],t):"object"==typeof exports?exports["skyux-core"]=t(require("@angular/core"),require("@angular/common"),require("rxjs/BehaviorSubject")):e["skyux-core"]=t(e["@angular/core"],e["@angular/common"],e["rxjs/BehaviorSubject"])}(this,function(e,t,r){return function(e){function __webpack_require__(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,__webpack_require__),i.l=!0,i.exports}var t={};return __webpack_require__.m=e,__webpack_require__.c=t,__webpack_require__.i=function(e){return e},__webpack_require__.d=function(e,t,r){__webpack_require__.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,"a",t),t},__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=7)}([function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=r(2),o=function(){function SkyNumericService(e,t){this.currencyPipe=e,this.decimalPipe=t,this.symbols=r(18),this.symbolIndex=[{value:1e12,label:this.getSymbol("skyux_numeric_trillions_symbol")},{value:1e9,label:this.getSymbol("skyux_numeric_billions_symbol")},{value:1e6,label:this.getSymbol("skyux_numeric_millions_symbol")},{value:1e3,label:this.getSymbol("skyux_numeric_thousands_symbol")}]}return SkyNumericService.prototype.formatNumber=function(e,t){if(isNaN(e))return"";var r,i=/\.0+$|(\.[0-9]*[1-9])0+$/,n=this.symbolIndex.find(function(r){return t.truncate&&(e>=t.truncateAfter&&e>=r.value||-e>=t.truncateAfter&&-e>=r.value)});r=n?Number(Math.round(parseFloat(e/n.value+"e"+t.digits))+"e-"+t.digits).toString().replace(i,"$1")+n.label:Number(Math.round(parseFloat(e+"e"+t.digits))+"e-"+t.digits).toString().replace(i,"$1"),this.storeShortenSymbol(r);var o;switch(t.format.toLowerCase()){case"currency":var s=e>this.symbolIndex[this.symbolIndex.length-1].value,u=e%1!=0;o=!s&&u&&t.digits>=2?"1.2-"+t.digits:"1.0-"+t.digits,r=this.currencyPipe.transform(parseFloat(r),t.iso,!0,o);break;default:o=t.truncate?"1.0-"+t.digits:"1."+t.digits+"-"+t.digits,r=this.decimalPipe.transform(parseFloat(r),o)}return t.truncate&&(r=this.replaceShortenSymbol(r)),r},SkyNumericService.prototype.storeShortenSymbol=function(e){var t=this.symbolIndex.map(function(e){return e.label}),r=new RegExp(t.join("|"),"ig"),i=e.match(r);this.shortSymbol=i?i.toString():""},SkyNumericService.prototype.replaceShortenSymbol=function(e){var t=/(\d)(?!.*\d)/g.exec(e),r=t.index+t.length;return e.substring(0,r)+this.shortSymbol+e.substring(r)},SkyNumericService.prototype.getSymbol=function(e){return this.symbols[e].message},SkyNumericService}();o=__decorate([i.Injectable(),__metadata("design:paramtypes",[n.CurrencyPipe,n.DecimalPipe])],o),t.SkyNumericService=o},function(e,r){e.exports=t},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e[e.xs=1]="xs",e[e.sm=2]="sm",e[e.md=3]="md",e[e.lg=4]="lg"}(t.SkyMediaBreakpoints||(t.SkyMediaBreakpoints={}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=r(19),o=r(3),s=u=function(){function SkyMediaQueryService(e){var t=this;this.zone=e,this._current=o.SkyMediaBreakpoints.md,this.currentSubject=new n.BehaviorSubject(this.current),this.xsListener=function(e){t.setupListener(e,o.SkyMediaBreakpoints.xs)},this.smListener=function(e){t.setupListener(e,o.SkyMediaBreakpoints.sm)},this.mdListener=function(e){t.setupListener(e,o.SkyMediaBreakpoints.md)},this.lgListener=function(e){t.setupListener(e,o.SkyMediaBreakpoints.lg)},this.xsMql=matchMedia(u.xs),this.xsMql.addListener(this.xsListener),this.smMql=matchMedia(u.sm),this.smMql.addListener(this.smListener),this.mdMql=matchMedia(u.md),this.mdMql.addListener(this.mdListener),this.lgMql=matchMedia(u.lg),this.lgMql.addListener(this.lgListener),this.setupListener(this.xsMql,o.SkyMediaBreakpoints.xs),this.setupListener(this.smMql,o.SkyMediaBreakpoints.sm),this.setupListener(this.mdMql,o.SkyMediaBreakpoints.md),this.setupListener(this.lgMql,o.SkyMediaBreakpoints.lg)}return Object.defineProperty(SkyMediaQueryService.prototype,"current",{get:function(){return this._current},enumerable:!0,configurable:!0}),SkyMediaQueryService.prototype.subscribe=function(e){return this.currentSubject.subscribe({next:function(t){e(t)}})},SkyMediaQueryService.prototype.destroy=function(){this.xsMql.removeListener(this.xsListener),this.xsMql=void 0,this.xsListener=void 0,this.smMql.removeListener(this.smListener),this.smMql=void 0,this.smListener=void 0,this.mdMql.removeListener(this.mdListener),this.mdMql=void 0,this.mdListener=void 0,this.lgMql.removeListener(this.lgListener),this.lgMql=void 0,this.lgListener=void 0,this.currentSubject.complete()},SkyMediaQueryService.prototype.setupListener=function(e,t){var r=this;this.zone.run(function(){e.matches&&(r._current=t,r.currentSubject.next(t))})},SkyMediaQueryService}();s.xs="(max-width: 767px)",s.sm="(min-width: 768px) and (max-width: 991px)",s.md="(min-width: 992px) and (max-width: 1199px)",s.lg="(min-width: 1200px)",s=u=__decorate([i.Injectable(),__metadata("design:paramtypes",[i.NgZone])],s),t.SkyMediaQueryService=s;var u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=r(1),o=r(14),s=function(){function SkyNumericPipe(e){this.skyNumeric=e}return SkyNumericPipe.prototype.transform=function(e,t){var r=new o.NumericOptions;return t&&!1===t.truncate&&void 0===t.digits&&(t.digits=0),Object.assign(r,t),this.skyNumeric.formatNumber(e,r)},SkyNumericPipe}();s=__decorate([i.Pipe({name:"skyNumeric"}),__metadata("design:paramtypes",[n.SkyNumericService])],s),t.SkyNumericPipe=s},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(9)),__export(r(10)),__export(r(12)),__export(r(15))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(6))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=function(){function SkyAppFormat(){}return SkyAppFormat.prototype.formatText=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return String(e).replace(/\{(\d+)\}/g,function(e,r){return t[parseInt(r,10)]})},SkyAppFormat}();n=__decorate([i.Injectable()],n),t.SkyAppFormat=n;var o=function(){function SkyFormat(){}return SkyFormat.formatText=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return this.isEmpty(e)?"":String(e).replace(/\{(\d+)\}/g,function(e,r){return t[parseInt(r,10)]})},SkyFormat.isEmpty=function(e){return null===e||void 0===e},SkyFormat}();t.SkyFormat=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}(r(8))},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(11)),__export(r(4)),__export(r(3))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=r(2),o=r(4),s=function(){function SkyMediaQueryModule(){}return SkyMediaQueryModule}();s=__decorate([i.NgModule({providers:[o.SkyMediaQueryService],imports:[n.CommonModule]})],s),t.SkyMediaQueryModule=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(5);t.SkyNumericPipe=i.SkyNumericPipe;var n=r(1);t.SkyNumericService=n.SkyNumericService;var o=r(13);t.SkyNumericModule=o.SkyNumericModule},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=r(2),o=r(5),s=r(1),u=function(){function SkyNumericModule(){}return SkyNumericModule}();u=__decorate([i.NgModule({declarations:[o.SkyNumericPipe],providers:[s.SkyNumericService,n.CurrencyPipe,n.DecimalPipe],exports:[o.SkyNumericPipe]})],u),t.SkyNumericModule=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function NumericOptions(){this.digits=1,this.format="number",this.iso="USD",this.truncate=!0,this.truncateAfter=0}return NumericOptions}();t.NumericOptions=i},function(e,t,r){"use strict";function __export(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),__export(r(16)),__export(r(17))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=function(){function SkyWindowRefService(){}return SkyWindowRefService.prototype.getWindow=function(){return window},SkyWindowRefService}();n=__decorate([i.Injectable()],n),t.SkyWindowRefService=n},function(e,t,r){"use strict";function getWindow(){return window}Object.defineProperty(t,"__esModule",{value:!0});var i=r(0),n=function(){function SkyAppWindowRef(){}return Object.defineProperty(SkyAppWindowRef.prototype,"nativeWindow",{get:function(){return getWindow()},enumerable:!0,configurable:!0}),SkyAppWindowRef}();n=__decorate([i.Injectable()],n),t.SkyAppWindowRef=n},function(e,t){e.exports={skyux_numeric_billions_symbol:{_description:'Symbol to be used when abbreviating a "billion" number.',message:"B"},skyux_numeric_millions_symbol:{_description:'Symbol to be used when abbreviating a "million" number.',message:"M"},skyux_numeric_thousands_symbol:{_description:'Symbol to be used when abbreviating a "thousand" number.',message:"K"},skyux_numeric_trillions_symbol:{_description:'Symbol to be used when abbreviating a "trillion" number.',message:"T"}}},function(e,t){e.exports=r}])}); |
@@ -0,1 +1,5 @@ | ||
# 3.0.0-alpha.5 (2018-08-18) | ||
- Bugfix to remove Builder config from dependency. | ||
# 3.0.0-alpha.4 (2018-08-16) | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "@skyux/core", | ||
"version": "3.0.0-alpha.4", | ||
"version": "3.0.0-alpha.5", | ||
"description": "SKY UX Core", | ||
@@ -15,3 +15,3 @@ "main": "bundles/bundle.umd.js", | ||
"test:visual:ci": "skyux e2e --platform travis", | ||
"test:ci": "skyux test --coverage library --platform travis", | ||
"test:ci": "skyux test --coverage library --platform travis && npm run build", | ||
"build": "skyux build-public-library", | ||
@@ -36,5 +36,3 @@ "start": "skyux serve" | ||
}, | ||
"dependencies": { | ||
"@blackbaud/skyux-builder-config": "github:blackbaud/skyux-builder-config" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -51,6 +49,6 @@ "@angular/animations": "4.3.6", | ||
"@angular/router": "4.3.6", | ||
"@blackbaud/skyux-builder": "blackbaud/skyux-builder#rc-2.0.0", | ||
"@blackbaud/skyux": "2.19.0", | ||
"@blackbaud/skyux-builder": "1.19.3", | ||
"@skyux-sdk/e2e": "3.0.0-alpha.0", | ||
"@skyux/builder-utils": "3.0.0-alpha.2", | ||
"@skyux/theme": "3.0.0-alpha.4", | ||
"core-js": "2.4.1", | ||
@@ -57,0 +55,0 @@ "rxjs": "5.4.3", |
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
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
3
0
58646