ngx-uomlibraryangular-mdc
Advanced tools
Comparing version
@@ -401,2 +401,5 @@ (function (global, factory) { | ||
}; | ||
UomLibraryMdcAnalyticsLiveService.prototype.imageObservable = function () { | ||
return this.onImage; | ||
}; | ||
UomLibraryMdcAnalyticsLiveService.prototype.tilesObservable = function () { | ||
@@ -403,0 +406,0 @@ return this.onTiles; |
@@ -15,3 +15,3 @@ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tscommons-core"),require("uomlibrarycommons-mdc"),require("ngx-httpcommons-rest"),require("ngx-analyticscommons-rest"),require("@angular/core"),require("ngx-httpcommons-socket-io"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-uomlibraryangular-mdc",["exports","tscommons-core","uomlibrarycommons-mdc","ngx-httpcommons-rest","ngx-analyticscommons-rest","@angular/core","ngx-httpcommons-socket-io","@angular/common"],e):e((t=t||self)["ngx-uomlibraryangular-mdc"]={},t.tscommonsCore,t.uomlibrarycommonsMdc,t.ngxHttpcommonsRest,t.ngxAnalyticscommonsRest,t.ng.core,t.ngxHttpcommonsSocketIo,t.ng.common)}(this,(function(t,e,r,o,n,i,s,c){"use strict"; | ||
and limitations under the License. | ||
***************************************************************************** */var a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function l(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function u(t,e,r,o){return new(r||(r=Promise))((function(n,i){function s(t){try{a(o.next(t))}catch(t){i(t)}}function c(t){try{a(o.throw(t))}catch(t){i(t)}}function a(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,c)}a((o=o.apply(t,e||[])).next())}))}function m(t,e){var r,o,n,i,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(n=s.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){s.label=i[1];break}if(6===i[0]&&s.label<n[1]){s.label=n[1],n=i;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(i);break}n[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function p(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],o=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(t){return!!e.CommonsType.hasPropertyString(t,"filename")&&!!e.CommonsType.hasPropertyDate(t,"timestamp")}var f=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return l(o,t),o.prototype.getInternalHits=function(r,o){return u(this,void 0,void 0,(function(){var n;return m(this,(function(i){switch(i.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/internal",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(n=i.sent(),!e.CommonsType.isNumber(n))throw new Error("Returned data from getInternalHits is not a number");return[2,n]}}))}))},o.prototype.listHourlyInternalHits=function(r,o){return u(this,void 0,void 0,(function(){var i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/hourly/internal",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(i=s.sent(),!e.CommonsType.isObjectArray(i))throw new Error("Returned data from listHourlyInternalHits is not an array");return[2,i.map((function(t){return n.AnalyticsRestService.parseTimestampTally(t)}))]}}))}))},o.prototype.listDailyInternalHits=function(r,o){return u(this,void 0,void 0,(function(){var i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/daily/internal",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(i=s.sent(),!e.CommonsType.isObjectArray(i))throw new Error("Returned data from listDailyInternalHits is not an array");return[2,i.map((function(t){return n.AnalyticsRestService.parseTimestampTally(t)}))]}}))}))},o.prototype.getImageHits=function(r,o){return u(this,void 0,void 0,(function(){var n;return m(this,(function(i){switch(i.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/images",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(n=i.sent(),!e.CommonsType.isNumber(n))throw new Error("Returned data from getImageHits is not a number");return[2,n]}}))}))},o.prototype.getTileHits=function(r,o){return u(this,void 0,void 0,(function(){var n;return m(this,(function(i){switch(i.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/tiles",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(n=i.sent(),!e.CommonsType.isNumber(n))throw new Error("Returned data from getImageHits is not a number");return[2,n]}}))}))},o.prototype.getCollectionUniqueHits=function(o,n,i){return u(this,void 0,void 0,(function(){var s,c;return m(this,(function(a){switch(a.label){case 0:return s=r.UomLibraryMdc.getShortNameByCollection(o),[4,t.prototype.get.call(this,"/statistics/hits/collections/"+s,void 0!==n?e.CommonsType.encodePropertyObject(n):void 0,i)];case 1:if(c=a.sent(),!e.CommonsType.isNumber(c))throw new Error("Returned data from getCollectionUniqueHits is not a number");return[2,c]}}))}))},o.prototype.getLatestImages=function(r,o){return u(this,void 0,void 0,(function(){var n,i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/images/latest",{limit:r},o)];case 1:if(n=s.sent(),!e.CommonsType.isTArray(n,e.CommonsType.isPropertyObject))throw new Error("Returned data from getImageHits is not an array");if(i=e.CommonsType.decode(n),!e.CommonsType.isTArray(i,y))throw new Error("Returned data from getImageHits is not a valid array");return[2,i]}}))}))},o.prototype.getTilesCache=function(o){return u(this,void 0,void 0,(function(){var n,i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/mdc/tiles/cache",void 0,o)];case 1:if(n=s.sent(),!e.CommonsType.isTArray(n,e.CommonsType.isPropertyObject))throw new Error("Unable to parse tiles cache. Not an array");if(i=e.CommonsType.decode(n),!e.CommonsType.isTArray(i,r.isIUomLibraryMdcAnalyticsLiveTiles))throw new Error("Unable to parse tiles cache. Invalid tiles");return[2,i]}}))}))},o}(o.CommonsRestService),d=function(t){function o(e,r){var o=t.call(this,s.CommonsSocketIoUrlOptions.buildUrl(e),!0,s.CommonsSocketIoUrlOptions.buildOptions(e))||this;return o.restService=r,o.onImage=new i.EventEmitter(!0),o.onTiles=new i.EventEmitter(!0),o.connect(),o}return l(o,t),o.prototype.setupOns=function(){var o=this;t.prototype.on.call(this,"image",(function(t){if(!e.CommonsType.isEncodedObject(t))throw new Error("Unable to parse image");var n=t,i=e.CommonsType.decodePropertyObject(n);if(!r.isIUomLibraryMdcAnalyticsLiveImage(i))throw new Error("Unable to parse image");var s=i;o.onImage.emit(s)})),t.prototype.on.call(this,"tiles",(function(t){if(!e.CommonsType.isEncodedObject(t))throw new Error("Unable to parse tiles");var n=e.CommonsType.decodePropertyObject(t);if(!r.isIUomLibraryMdcAnalyticsLiveTiles(n))throw new Error("Unable to parse tiles");o.onTiles.emit(n)}))},o.prototype.tilesObservable=function(){return this.onTiles},o.prototype.requestTilesCache=function(){return u(this,void 0,void 0,(function(){var t,e,r,o,n,i;return m(this,(function(s){switch(s.label){case 0:return[4,this.restService.getTilesCache()];case 1:t=s.sent();try{for(e=p(t),r=e.next();!r.done;r=e.next())o=r.value,this.onTiles.emit(o)}catch(t){n={error:t}}finally{try{r&&!r.done&&(i=e.return)&&i.call(e)}finally{if(n)throw n.error}}return[2]}}))}))},o}(s.CommonsSocketIoClientService),h=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return l(o,t),o.prototype.getCollections=function(t){return u(this,void 0,void 0,(function(){var e;return m(this,(function(o){switch(o.label){case 0:return[4,this.get("/collection/all",void 0,t)];case 1:if(e=o.sent(),!r.isIUomLibraryMdcIiifCollections(e))throw new Error("Unable to parse collections");return[2,e]}}))}))},o.prototype.getCollection=function(t,o){return u(this,void 0,void 0,(function(){var n,i;return m(this,(function(s){switch(s.label){case 0:return e.CommonsType.isString(t)?[4,this.get("/collection/"+t,void 0,o)]:[3,2];case 1:if(n=s.sent(),!r.isIUomLibraryMdcIiifCollection(n))throw new Error("Unable to parse collection");return[2,n];case 2:if(!r.isIUomLibraryMdcIiifMetadata(t))return[3,4];if(!(i=r.UomLibraryMdc.getShortNameByCollection(t)))throw new Error("Unable to derive shortName for collection from id");return[4,this.getCollection(i)];case 3:return[2,s.sent()];case 4:throw new Error("Unknown id type")}}))}))},o}(o.CommonsRestService),v=function(){function t(){}return t=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}([i.NgModule({imports:[c.CommonModule],declarations:[],exports:[]})],t)}();t.NgxUomLibraryAngularMdcModule=v,t.UomLibraryMdcAnalyticsLiveService=d,t.UomLibraryMdcAnalyticsRestService=f,t.UomLibraryMdcIiifRestService=h,t.isTMdcAnalyticsLatestImage=y,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
***************************************************************************** */var a=function(t,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function l(t,e){function r(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function u(t,e,r,o){return new(r||(r=Promise))((function(n,i){function s(t){try{a(o.next(t))}catch(t){i(t)}}function c(t){try{a(o.throw(t))}catch(t){i(t)}}function a(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,c)}a((o=o.apply(t,e||[])).next())}))}function m(t,e){var r,o,n,i,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,o&&(n=2&i[0]?o.return:i[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,i[1])).done)return n;switch(o=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,o=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(n=s.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){s.label=i[1];break}if(6===i[0]&&s.label<n[1]){s.label=n[1],n=i;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(i);break}n[2]&&s.ops.pop(),s.trys.pop();continue}i=e.call(t,s)}catch(t){i=[6,t],o=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function p(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],o=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&o>=t.length&&(t=void 0),{value:t&&t[o++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(t){return!!e.CommonsType.hasPropertyString(t,"filename")&&!!e.CommonsType.hasPropertyDate(t,"timestamp")}var f=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return l(o,t),o.prototype.getInternalHits=function(r,o){return u(this,void 0,void 0,(function(){var n;return m(this,(function(i){switch(i.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/internal",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(n=i.sent(),!e.CommonsType.isNumber(n))throw new Error("Returned data from getInternalHits is not a number");return[2,n]}}))}))},o.prototype.listHourlyInternalHits=function(r,o){return u(this,void 0,void 0,(function(){var i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/hourly/internal",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(i=s.sent(),!e.CommonsType.isObjectArray(i))throw new Error("Returned data from listHourlyInternalHits is not an array");return[2,i.map((function(t){return n.AnalyticsRestService.parseTimestampTally(t)}))]}}))}))},o.prototype.listDailyInternalHits=function(r,o){return u(this,void 0,void 0,(function(){var i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/daily/internal",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(i=s.sent(),!e.CommonsType.isObjectArray(i))throw new Error("Returned data from listDailyInternalHits is not an array");return[2,i.map((function(t){return n.AnalyticsRestService.parseTimestampTally(t)}))]}}))}))},o.prototype.getImageHits=function(r,o){return u(this,void 0,void 0,(function(){var n;return m(this,(function(i){switch(i.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/images",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(n=i.sent(),!e.CommonsType.isNumber(n))throw new Error("Returned data from getImageHits is not a number");return[2,n]}}))}))},o.prototype.getTileHits=function(r,o){return u(this,void 0,void 0,(function(){var n;return m(this,(function(i){switch(i.label){case 0:return[4,t.prototype.get.call(this,"/statistics/hits/tiles",void 0!==r?e.CommonsType.encodePropertyObject(r):void 0,o)];case 1:if(n=i.sent(),!e.CommonsType.isNumber(n))throw new Error("Returned data from getImageHits is not a number");return[2,n]}}))}))},o.prototype.getCollectionUniqueHits=function(o,n,i){return u(this,void 0,void 0,(function(){var s,c;return m(this,(function(a){switch(a.label){case 0:return s=r.UomLibraryMdc.getShortNameByCollection(o),[4,t.prototype.get.call(this,"/statistics/hits/collections/"+s,void 0!==n?e.CommonsType.encodePropertyObject(n):void 0,i)];case 1:if(c=a.sent(),!e.CommonsType.isNumber(c))throw new Error("Returned data from getCollectionUniqueHits is not a number");return[2,c]}}))}))},o.prototype.getLatestImages=function(r,o){return u(this,void 0,void 0,(function(){var n,i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/images/latest",{limit:r},o)];case 1:if(n=s.sent(),!e.CommonsType.isTArray(n,e.CommonsType.isPropertyObject))throw new Error("Returned data from getImageHits is not an array");if(i=e.CommonsType.decode(n),!e.CommonsType.isTArray(i,y))throw new Error("Returned data from getImageHits is not a valid array");return[2,i]}}))}))},o.prototype.getTilesCache=function(o){return u(this,void 0,void 0,(function(){var n,i;return m(this,(function(s){switch(s.label){case 0:return[4,t.prototype.get.call(this,"/mdc/tiles/cache",void 0,o)];case 1:if(n=s.sent(),!e.CommonsType.isTArray(n,e.CommonsType.isPropertyObject))throw new Error("Unable to parse tiles cache. Not an array");if(i=e.CommonsType.decode(n),!e.CommonsType.isTArray(i,r.isIUomLibraryMdcAnalyticsLiveTiles))throw new Error("Unable to parse tiles cache. Invalid tiles");return[2,i]}}))}))},o}(o.CommonsRestService),d=function(t){function o(e,r){var o=t.call(this,s.CommonsSocketIoUrlOptions.buildUrl(e),!0,s.CommonsSocketIoUrlOptions.buildOptions(e))||this;return o.restService=r,o.onImage=new i.EventEmitter(!0),o.onTiles=new i.EventEmitter(!0),o.connect(),o}return l(o,t),o.prototype.setupOns=function(){var o=this;t.prototype.on.call(this,"image",(function(t){if(!e.CommonsType.isEncodedObject(t))throw new Error("Unable to parse image");var n=t,i=e.CommonsType.decodePropertyObject(n);if(!r.isIUomLibraryMdcAnalyticsLiveImage(i))throw new Error("Unable to parse image");var s=i;o.onImage.emit(s)})),t.prototype.on.call(this,"tiles",(function(t){if(!e.CommonsType.isEncodedObject(t))throw new Error("Unable to parse tiles");var n=e.CommonsType.decodePropertyObject(t);if(!r.isIUomLibraryMdcAnalyticsLiveTiles(n))throw new Error("Unable to parse tiles");o.onTiles.emit(n)}))},o.prototype.imageObservable=function(){return this.onImage},o.prototype.tilesObservable=function(){return this.onTiles},o.prototype.requestTilesCache=function(){return u(this,void 0,void 0,(function(){var t,e,r,o,n,i;return m(this,(function(s){switch(s.label){case 0:return[4,this.restService.getTilesCache()];case 1:t=s.sent();try{for(e=p(t),r=e.next();!r.done;r=e.next())o=r.value,this.onTiles.emit(o)}catch(t){n={error:t}}finally{try{r&&!r.done&&(i=e.return)&&i.call(e)}finally{if(n)throw n.error}}return[2]}}))}))},o}(s.CommonsSocketIoClientService),h=function(t){function o(){return null!==t&&t.apply(this,arguments)||this}return l(o,t),o.prototype.getCollections=function(t){return u(this,void 0,void 0,(function(){var e;return m(this,(function(o){switch(o.label){case 0:return[4,this.get("/collection/all",void 0,t)];case 1:if(e=o.sent(),!r.isIUomLibraryMdcIiifCollections(e))throw new Error("Unable to parse collections");return[2,e]}}))}))},o.prototype.getCollection=function(t,o){return u(this,void 0,void 0,(function(){var n,i;return m(this,(function(s){switch(s.label){case 0:return e.CommonsType.isString(t)?[4,this.get("/collection/"+t,void 0,o)]:[3,2];case 1:if(n=s.sent(),!r.isIUomLibraryMdcIiifCollection(n))throw new Error("Unable to parse collection");return[2,n];case 2:if(!r.isIUomLibraryMdcIiifMetadata(t))return[3,4];if(!(i=r.UomLibraryMdc.getShortNameByCollection(t)))throw new Error("Unable to derive shortName for collection from id");return[4,this.getCollection(i)];case 3:return[2,s.sent()];case 4:throw new Error("Unknown id type")}}))}))},o}(o.CommonsRestService),b=function(){function t(){}return t=function(t,e,r,o){var n,i=arguments.length,s=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,o);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(s=(i<3?n(s):i>3?n(e,r,s):n(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}([i.NgModule({imports:[c.CommonModule],declarations:[],exports:[]})],t)}();t.NgxUomLibraryAngularMdcModule=b,t.UomLibraryMdcAnalyticsLiveService=d,t.UomLibraryMdcAnalyticsRestService=f,t.UomLibraryMdcIiifRestService=h,t.isTMdcAnalyticsLatestImage=y,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=ngx-uomlibraryangular-mdc.umd.min.js.map |
@@ -37,2 +37,5 @@ import { __awaiter } from "tslib"; | ||
} | ||
imageObservable() { | ||
return this.onImage; | ||
} | ||
tilesObservable() { | ||
@@ -50,2 +53,2 @@ return this.onTiles; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWRjLWFuYWx5dGljcy1saXZlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtdW9tbGlicmFyeWFuZ3VsYXItbWRjLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL21kYy1hbmFseXRpY3MtbGl2ZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSTdDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUk3QyxPQUFPLEVBQW9DLGtDQUFrQyxFQUFFLE1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JzZXJ2YWJsZTxJVW9tTGlicmFyeU1kY0FuYWx5dGljc0xpdmVUaWxlcz4ge1xuXHRcdHJldHVybiB0aGlzLm9uVGlsZXM7XG5cdH1cblx0XG5cdHB1YmxpYyBhc3luYyByZXF1ZXN0VGlsZXNDYWNoZSgpOiBQcm9taXNlPHZvaWQ+IHtcblx0XHRjb25zdCBjYWNoZTogSVVvbUxpYnJhcnlNZGNBbmFseXRpY3NMaXZlVGlsZXNbXSA9IGF3YWl0IHRoaXMucmVzdFNlcnZpY2UuZ2V0VGlsZXNDYWNoZSgpO1xuXHRcdFxuXHRcdGZvciAoY29uc3QgbGl2ZVRpbGVzIG9mIGNhY2hlKSB7XG5cdFx0XHR0aGlzLm9uVGlsZXMuZW1pdChsaXZlVGlsZXMpO1xuXHRcdH1cblx0fVxufVxuIl19 |
@@ -40,2 +40,5 @@ import { __awaiter, __extends, __generator, __values } from "tslib"; | ||
}; | ||
UomLibraryMdcAnalyticsLiveService.prototype.imageObservable = function () { | ||
return this.onImage; | ||
}; | ||
UomLibraryMdcAnalyticsLiveService.prototype.tilesObservable = function () { | ||
@@ -74,2 +77,2 @@ return this.onTiles; | ||
export { UomLibraryMdcAnalyticsLiveService }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWRjLWFuYWx5dGljcy1saXZlLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtdW9tbGlicmFyeWFuZ3VsYXItbWRjLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL21kYy1hbmFseXRpY3MtbGl2ZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBSTdDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUk3QyxPQUFPLEVBQW9DLGtDQUFrQyxFQ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hpcy5vblRpbGVzLmVtaXQoZGVjb2RlZCk7XG5cdFx0fSk7XG5cdH1cblxuXHRwdWJsaWMgaW1hZ2VPYnNlcnZhYmxlKCk6IE9ic2VydmFibGU8SVVvbUxpYnJhcnlNZGNBbmFseXRpY3NMaXZlSW1hZ2U+IHtcblx0XHRyZXR1cm4gdGhpcy5vbkltYWdlO1xuXHR9XG5cblx0cHVibGljIHRpbGVzT2JzZXJ2YWJsZSgpOiBPYnNlcnZhYmxlPElVb21MaWJyYXJ5TWRjQW5hbHl0aWNzTGl2ZVRpbGVzPiB7XG5cdFx0cmV0dXJuIHRoaXMub25UaWxlcztcblx0fVxuXHRcblx0cHVibGljIGFzeW5jIHJlcXVlc3RUaWxlc0NhY2hlKCk6IFByb21pc2U8dm9pZD4ge1xuXHRcdGNvbnN0IGNhY2hlOiBJVW9tTGlicmFyeU1kY0FuYWx5dGljc0xpdmVUaWxlc1tdID0gYXdhaXQgdGhpcy5yZXN0U2VydmljZS5nZXRUaWxlc0NhY2hlKCk7XG5cdFx0XG5cdFx0Zm9yIChjb25zdCBsaXZlVGlsZXMgb2YgY2FjaGUpIHtcblx0XHRcdHRoaXMub25UaWxlcy5lbWl0KGxpdmVUaWxlcyk7XG5cdFx0fVxuXHR9XG59XG4iXX0= |
@@ -149,2 +149,5 @@ import { __awaiter, __decorate } from 'tslib'; | ||
} | ||
imageObservable() { | ||
return this.onImage; | ||
} | ||
tilesObservable() { | ||
@@ -151,0 +154,0 @@ return this.onTiles; |
@@ -190,2 +190,5 @@ import { __extends, __awaiter, __generator, __values, __decorate } from 'tslib'; | ||
}; | ||
UomLibraryMdcAnalyticsLiveService.prototype.imageObservable = function () { | ||
return this.onImage; | ||
}; | ||
UomLibraryMdcAnalyticsLiveService.prototype.tilesObservable = function () { | ||
@@ -192,0 +195,0 @@ return this.onTiles; |
import { Observable } from 'rxjs'; | ||
import { IUomLibraryMdcAnalyticsLiveImage } from 'uomlibrarycommons-mdc'; | ||
import { IUomLibraryMdcAnalyticsLiveTiles } from 'uomlibrarycommons-mdc'; | ||
@@ -11,4 +12,5 @@ import { CommonsSocketIoClientService } from 'ngx-httpcommons-socket-io'; | ||
protected setupOns(): void; | ||
imageObservable(): Observable<IUomLibraryMdcAnalyticsLiveImage>; | ||
tilesObservable(): Observable<IUomLibraryMdcAnalyticsLiveTiles>; | ||
requestTilesCache(): Promise<void>; | ||
} |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"UomLibraryMdcAnalyticsRestService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-httpcommons-rest","name":"CommonsRestService","line":15,"character":64},"members":{"getInternalHits":[{"__symbolic":"method"}],"listHourlyInternalHits":[{"__symbolic":"method"}],"listDailyInternalHits":[{"__symbolic":"method"}],"getImageHits":[{"__symbolic":"method"}],"getTileHits":[{"__symbolic":"method"}],"getCollectionUniqueHits":[{"__symbolic":"method"}],"getLatestImages":[{"__symbolic":"method"}],"getTilesCache":[{"__symbolic":"method"}]}},"UomLibraryMdcAnalyticsLiveService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-httpcommons-socket-io","name":"CommonsSocketIoClientService","line":18,"character":64},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"UomLibraryMdcAnalyticsRestService"}]}],"setupOns":[{"__symbolic":"method"}],"tilesObservable":[{"__symbolic":"method"}],"requestTilesCache":[{"__symbolic":"method"}]}},"UomLibraryMdcIiifRestService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-httpcommons-rest","name":"CommonsRestService","line":9,"character":59},"members":{"getCollections":[{"__symbolic":"method"}],"getCollection":[{"__symbolic":"method"}]}},"TMdcAnalyticsLatestImage":{"__symbolic":"interface"},"isTMdcAnalyticsLatestImage":{"__symbolic":"function"},"NgxUomLibraryAngularMdcModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":5,"character":4}],"declarations":[],"exports":[]}]}],"members":{}}},"origins":{"UomLibraryMdcAnalyticsRestService":"./lib/services/mdc-analytics-rest.service","UomLibraryMdcAnalyticsLiveService":"./lib/services/mdc-analytics-live.service","UomLibraryMdcIiifRestService":"./lib/services/mdc-iiif-rest.service","TMdcAnalyticsLatestImage":"./lib/types/tmdc-analytics-latest-image","isTMdcAnalyticsLatestImage":"./lib/types/tmdc-analytics-latest-image","NgxUomLibraryAngularMdcModule":"./lib/ngx-uomlibraryangular-mdc.module"},"importAs":"ngx-uomlibraryangular-mdc"} | ||
{"__symbolic":"module","version":4,"metadata":{"UomLibraryMdcAnalyticsRestService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-httpcommons-rest","name":"CommonsRestService","line":15,"character":64},"members":{"getInternalHits":[{"__symbolic":"method"}],"listHourlyInternalHits":[{"__symbolic":"method"}],"listDailyInternalHits":[{"__symbolic":"method"}],"getImageHits":[{"__symbolic":"method"}],"getTileHits":[{"__symbolic":"method"}],"getCollectionUniqueHits":[{"__symbolic":"method"}],"getLatestImages":[{"__symbolic":"method"}],"getTilesCache":[{"__symbolic":"method"}]}},"UomLibraryMdcAnalyticsLiveService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-httpcommons-socket-io","name":"CommonsSocketIoClientService","line":18,"character":64},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"UomLibraryMdcAnalyticsRestService"}]}],"setupOns":[{"__symbolic":"method"}],"imageObservable":[{"__symbolic":"method"}],"tilesObservable":[{"__symbolic":"method"}],"requestTilesCache":[{"__symbolic":"method"}]}},"UomLibraryMdcIiifRestService":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"ngx-httpcommons-rest","name":"CommonsRestService","line":9,"character":59},"members":{"getCollections":[{"__symbolic":"method"}],"getCollection":[{"__symbolic":"method"}]}},"TMdcAnalyticsLatestImage":{"__symbolic":"interface"},"isTMdcAnalyticsLatestImage":{"__symbolic":"function"},"NgxUomLibraryAngularMdcModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":5,"character":4}],"declarations":[],"exports":[]}]}],"members":{}}},"origins":{"UomLibraryMdcAnalyticsRestService":"./lib/services/mdc-analytics-rest.service","UomLibraryMdcAnalyticsLiveService":"./lib/services/mdc-analytics-live.service","UomLibraryMdcIiifRestService":"./lib/services/mdc-iiif-rest.service","TMdcAnalyticsLatestImage":"./lib/types/tmdc-analytics-latest-image","isTMdcAnalyticsLatestImage":"./lib/types/tmdc-analytics-latest-image","NgxUomLibraryAngularMdcModule":"./lib/ngx-uomlibraryangular-mdc.module"},"importAs":"ngx-uomlibraryangular-mdc"} |
{ | ||
"name": "ngx-uomlibraryangular-mdc", | ||
"author": "UoM MDC project", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"peerDependencies": { | ||
@@ -6,0 +6,0 @@ "@angular/common": "^9.1.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
261408
0.7%1619
1.12%