From 0ba7114a096e4952b0cde16921d46947a4656b06 Mon Sep 17 00:00:00 2001 From: Rajab Mkomwa Date: Mon, 2 Dec 2019 16:24:06 +0300 Subject: [PATCH] docs: update documentation configurarions --- docs/assets/css/main.css | 93 +- docs/assets/js/main.js | 2 +- docs/assets/js/search.js | 2 +- docs/classes/basecalendar.html | 1305 +++++++++++++++ docs/classes/calendar.html | 538 ++++++ docs/classes/calendardate.html | 976 +++++++++++ docs/classes/ethiopiancalendar.html | 1482 +++++++++++++++++ docs/classes/gregoriancalendar.html | 1454 ++++++++++++++++ docs/classes/period.html | 594 +++++++ docs/classes/periodinstance.html | 1233 ++++++++++++++ docs/classes/periodtype.html | 329 ++++ docs/enums/calendarepoch.html | 250 +++ docs/enums/calendarname.html | 250 +++ docs/enums/periodsortorderenum.html | 250 +++ docs/enums/periodtypeenum.html | 474 ++++++ docs/globals.html | 146 +- docs/index.html | 58 +- docs/interfaces/periodinterface.html | 258 +++ .../periodpreferencesinterface.html | 258 +++ docs/interfaces/periodtypeinterface.html | 272 +++ lib/src/constants/period.constant.ts | 4 + .../period-preferences.interface.ts | 4 + lib/src/interfaces/period.interface.ts | 4 + lib/src/model/period.spec.ts | 3 +- lib/src/model/period.ts | 11 +- .../{ => calendar}/base-calendar.utility.ts | 2 +- .../{ => calendar}/calendar-date.utility.ts | 0 .../{ => calendar}/calendar.utility.ts | 0 .../ethiopian-calendar.utility.ts | 6 +- .../gregorian-calendar.utility.ts | 6 +- lib/src/utilities/period-instance.utility.ts | 6 +- package-lock.json | 253 +++ package.json | 5 +- webpack.config.js | 12 + 34 files changed, 10425 insertions(+), 115 deletions(-) create mode 100644 docs/classes/basecalendar.html create mode 100644 docs/classes/calendar.html create mode 100644 docs/classes/calendardate.html create mode 100644 docs/classes/ethiopiancalendar.html create mode 100644 docs/classes/gregoriancalendar.html create mode 100644 docs/classes/period.html create mode 100644 docs/classes/periodinstance.html create mode 100644 docs/classes/periodtype.html create mode 100644 docs/enums/calendarepoch.html create mode 100644 docs/enums/calendarname.html create mode 100644 docs/enums/periodsortorderenum.html create mode 100644 docs/enums/periodtypeenum.html create mode 100644 docs/interfaces/periodinterface.html create mode 100644 docs/interfaces/periodpreferencesinterface.html create mode 100644 docs/interfaces/periodtypeinterface.html create mode 100644 lib/src/constants/period.constant.ts create mode 100644 lib/src/interfaces/period-preferences.interface.ts create mode 100644 lib/src/interfaces/period.interface.ts rename lib/src/utilities/{ => calendar}/base-calendar.utility.ts (99%) rename lib/src/utilities/{ => calendar}/calendar-date.utility.ts (100%) rename lib/src/utilities/{ => calendar}/calendar.utility.ts (100%) rename lib/src/utilities/{ => calendar}/ethiopian-calendar.utility.ts (94%) rename lib/src/utilities/{ => calendar}/gregorian-calendar.utility.ts (94%) diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index c771b84..000d63f 100644 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -492,6 +492,8 @@ ul.tsd-descriptions > li > :last-child > :last-child > :last-child { padding-bottom: 200px; } .row { + display: -ms-flexbox; + display: flex; position: relative; margin: 0 -10px; } .row:after { @@ -1884,7 +1886,7 @@ footer { border-bottom: none; } .tsd-navigation { - padding: 0 0 0 40px; } + margin: 0 0 0 40px; } .tsd-navigation a { display: block; padding-top: 2px; @@ -1934,56 +1936,45 @@ footer { .tsd-navigation.primary li.globals + li > a { padding-top: 20px; } -.tsd-navigation.secondary ul { - transition: opacity 0.2s; } - .tsd-navigation.secondary ul li a { - padding-left: 25px; } - .tsd-navigation.secondary ul li li a { - padding-left: 45px; } - .tsd-navigation.secondary ul li li li a { - padding-left: 65px; } - .tsd-navigation.secondary ul li li li li a { - padding-left: 85px; } - .tsd-navigation.secondary ul li li li li li a { - padding-left: 105px; } - .tsd-navigation.secondary ul li li li li li li a { - padding-left: 125px; } - .tsd-navigation.secondary ul.current a { +.tsd-navigation.secondary { + max-height: calc(100vh - 1rem - 40px); + overflow: auto; + position: -webkit-sticky; + position: sticky; + top: calc(.5rem + 40px); + transition: .3s; } + .tsd-navigation.secondary.tsd-navigation--toolbar-hide { + max-height: calc(100vh - 1rem); + top: .5rem; } + .tsd-navigation.secondary ul { + transition: opacity 0.2s; } + .tsd-navigation.secondary ul li a { + padding-left: 25px; } + .tsd-navigation.secondary ul li li a { + padding-left: 45px; } + .tsd-navigation.secondary ul li li li a { + padding-left: 65px; } + .tsd-navigation.secondary ul li li li li a { + padding-left: 85px; } + .tsd-navigation.secondary ul li li li li li a { + padding-left: 105px; } + .tsd-navigation.secondary ul li li li li li li a { + padding-left: 125px; } + .tsd-navigation.secondary ul.current a { + border-left-color: #eee; } + .tsd-navigation.secondary li.focus > a, + .tsd-navigation.secondary ul.current li.focus > a { + border-left-color: #000; } + .tsd-navigation.secondary li.current { + margin-top: 20px; + margin-bottom: 20px; border-left-color: #eee; } - -.tsd-navigation.secondary li.focus > a, -.tsd-navigation.secondary ul.current li.focus > a { - border-left-color: #000; } - -.tsd-navigation.secondary li.current { - margin-top: 20px; - margin-bottom: 20px; - border-left-color: #eee; } - .tsd-navigation.secondary li.current > a { - font-weight: bold; } + .tsd-navigation.secondary li.current > a { + font-weight: bold; } @media (min-width: 901px) { .menu-sticky-wrap { - position: static; } - .no-csspositionsticky .menu-sticky-wrap.sticky { - position: fixed; } - .no-csspositionsticky .menu-sticky-wrap.sticky-current { - position: fixed; } - .no-csspositionsticky .menu-sticky-wrap.sticky-current ul.before-current, - .no-csspositionsticky .menu-sticky-wrap.sticky-current ul.after-current { - opacity: 0; } - .no-csspositionsticky .menu-sticky-wrap.sticky-bottom { - position: absolute; - top: auto !important; - left: auto !important; - bottom: 0; - right: 0; } - .csspositionsticky .menu-sticky-wrap.sticky { - position: -webkit-sticky; - position: sticky; } - .csspositionsticky .menu-sticky-wrap.sticky-current { - position: -webkit-sticky; - position: sticky; } } + position: static; } } .tsd-panel { margin: 20px 0; @@ -2204,7 +2195,7 @@ ul.tsd-type-parameters { padding: 0; } .tsd-page-toolbar { - position: absolute; + position: fixed; z-index: 1; top: 0; left: 0; @@ -2212,7 +2203,8 @@ ul.tsd-type-parameters { height: 40px; color: #333; background: #fff; - border-bottom: 1px solid #eee; } + border-bottom: 1px solid #eee; + transition: transform .3s linear; } .tsd-page-toolbar a { color: #333; text-decoration: none; } @@ -2232,6 +2224,9 @@ ul.tsd-type-parameters { .tsd-page-toolbar .table-cell:first-child { width: 100%; } +.tsd-page-toolbar--hide { + transform: translateY(-100%); } + .tsd-widget:before, .tsd-select .tsd-select-label:before, .tsd-select .tsd-select-list li:before { content: ''; display: inline-block; diff --git a/docs/assets/js/main.js b/docs/assets/js/main.js index 667b269..5fe710b 100644 --- a/docs/assets/js/main.js +++ b/docs/assets/js/main.js @@ -1 +1 @@ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";function x(e){return null!=e&&e===e.window}var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}function oe(){T()}var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,k="sizzle"+1*new Date,m=n.document,S=0,r=0,p=ue(),x=ue(),N=ue(),A=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){for((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;o--;)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;l--;)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(R)||[""]).length;l--;)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),i=("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,r.left):(a=parseFloat(o)||0,parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0":">",'"':""","'":"'","`":"`"},P=h.invert(L);h.escape=W(L),h.unescape=W(P),h.result=function(n,r,t){h.isArray(r)||(r=[r]);var e=r.length;if(!e)return h.isFunction(t)?t.call(n):t;for(var u=0;u/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};function $(n){return"\\"+U[n]}var J=/(.)^/,U={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},V=/\\|'|\r|\n|\u2028|\u2029/g;h.template=function(i,n,r){!n&&r&&(n=r),n=h.defaults({},n,h.templateSettings);var t,e=RegExp([(n.escape||J).source,(n.interpolate||J).source,(n.evaluate||J).source].join("|")+"|$","g"),o=0,a="__p+='";i.replace(e,function(n,r,t,e,u){return a+=i.slice(o,u).replace(V,$),o=u+n.length,r?a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":t?a+="'+\n((__t=("+t+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{t=new Function(n.variable||"obj","_",a)}catch(n){throw n.source=a,n}function u(n){return t.call(this,n,h)}var c=n.variable||"obj";return u.source="function("+c+"){\n"+a+"}",u},h.chain=function(n){var r=h(n);return r._chain=!0,r};function G(n,r){return n._chain?h(r).chain():r}h.mixin=function(t){return h.each(h.functions(t),function(n){var r=h[n]=t[n];h.prototype[n]=function(){var n=[this._wrapped];return u.apply(n,arguments),G(this,r.apply(h,n))}}),h},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var t=e[r];h.prototype[r]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==r&&"splice"!==r||0!==n.length||delete n[0],G(this,n)}}),h.each(["concat","join","slice"],function(n){var r=e[n];h.prototype[n]=function(){return G(this,r.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},h.prototype.valueOf=h.prototype.toJSON=h.prototype.value,h.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return h})}(),function(t){var e="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(i,n,r){e.Backbone=t(e,r,i,n)});else if("undefined"!=typeof exports){var n,i=require("underscore");try{n=require("jquery")}catch(r){}t(e,exports,i,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(function(t,e,i,n){var r=t.Backbone,s=Array.prototype.slice;e.VERSION="1.4.0",e.$=n,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var h,a=e.Events={},o=/\s+/,u=function(t,e,n,r,s){var h,a=0;if(n&&"object"==typeof n){void 0!==r&&"context"in s&&void 0===s.context&&(s.context=r);for(h=i.keys(n);athis.length&&(r=this.length),r<0&&(r+=this.length+1);var g,m,s=[],a=[],o=[],h=[],u={},l=e.add,c=e.merge,f=e.remove,d=!1,v=this.comparator&&null==r&&!1!==e.sort,p=i.isString(this.comparator)?this.comparator:null;for(m=0;m=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){for(var t,r;47<(r=(t=this.next()).charCodeAt(0))&&r<58;);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.posscrollTop;)index-=1;for(;index ul.current"),_this.$navigation=_this.$el.parents(".menu-sticky-wrap"),_this.$container=_this.$el.parents(".row"),_this.listenTo(typedoc.viewport,"resize",_this.onResize),hasPositionSticky||_this.listenTo(typedoc.viewport,"scroll",_this.onScroll),_this.onResize(typedoc.viewport.width,typedoc.viewport.height),_this}return __extends(MenuSticky,_super),MenuSticky.prototype.setState=function(state){this.state!=state&&(""!=this.state&&this.$navigation.removeClass(this.state),this.state=state,""!=this.state&&this.$navigation.addClass(this.state))},MenuSticky.prototype.onResize=function(width,height){this.stickyMode=StickyMode.None,this.setState("");var containerTop=this.$container.offset().top,containerHeight=this.$container.height()||0,bottom=containerTop+containerHeight;if(this.$navigation.height()this.stickyBottom?this.setState("sticky-bottom"):this.setState(scrollTop+20>this.stickyTop?"sticky-current":""):this.stickyMode==StickyMode.Secondary&&(scrollTop>this.stickyBottom?this.setState("sticky-bottom"):this.setState(scrollTop+20>this.stickyTop?"sticky":""))},MenuSticky}(Backbone.View);typedoc.MenuSticky=MenuSticky,typedoc.registerComponent(MenuSticky,".menu-sticky")}(typedoc||(typedoc={})),function(typedoc){var search;!function(search){var SearchLoadingState;!function(SearchLoadingState){SearchLoadingState[SearchLoadingState.Idle=0]="Idle",SearchLoadingState[SearchLoadingState.Loading=1]="Loading",SearchLoadingState[SearchLoadingState.Ready=2]="Ready",SearchLoadingState[SearchLoadingState.Failure=3]="Failure"}(SearchLoadingState||(SearchLoadingState={}));var $el=$("#tsd-search"),$field=$("#tsd-search-field"),$results=$(".results"),base=$el.attr("data-base")+"/",query="",loadingState=SearchLoadingState.Idle,hasFocus=!1,preventPress=!1,index,resultClicked=!1;function createIndex(){var builder=new lunr.Builder;builder.pipeline.add(lunr.trimmer),builder.field("name",{boost:10}),builder.field("parent"),builder.ref("id");var rows=search.data.rows,pos=0,length=rows.length;!function batch(){for(var cycles=0;cycles++<100;)if(builder.add(rows[pos]),++pos==length)return index=builder.build(),setLoadingState(SearchLoadingState.Ready);setTimeout(batch,10)}()}function loadIndex(){loadingState==SearchLoadingState.Idle&&(setTimeout(function(){loadingState==SearchLoadingState.Idle&&setLoadingState(SearchLoadingState.Loading)},500),void 0!==search.data?createIndex():$.get($el.attr("data-index")).done(function(source){eval(source),createIndex()}).fail(function(){setLoadingState(SearchLoadingState.Failure)}))}function updateResults(){if($results.empty(),loadingState==SearchLoadingState.Ready&&query){var res=index.search("*"+query+"*");0===res.length&&(res=index.search("*"+query+"~1*"));for(var i=0,c=Math.min(10,res.length);i"+match+""}),parent=row.parent||"";(parent=parent.replace(new RegExp(query,"i"),function(match){return""+match+""}))&&(name=''+parent+"."+name),$results.append('
  • '+name+"
  • ")}}}function setLoadingState(value){loadingState!=value&&($el.removeClass(SearchLoadingState[loadingState].toLowerCase()),loadingState=value,$el.addClass(SearchLoadingState[loadingState].toLowerCase()),value==SearchLoadingState.Ready&&updateResults())}function setHasFocus(value){hasFocus!=value&&(hasFocus=value,$el.toggleClass("has-focus"),value?(setQuery(""),$field.val("")):$field.val(query))}function setQuery(value){query=$.trim(value),updateResults()}function setCurrentResult(dir){var $current=$results.find(".current");if(0==$current.length)$results.find(1==dir?"li:first-child":"li:last-child").addClass("current");else{var $rel=1==dir?$current.next("li"):$current.prev("li");0<$rel.length&&($current.removeClass("current"),$rel.addClass("current"))}}function gotoCurrentResult(){var $current=$results.find(".current");0==$current.length&&($current=$results.find("li:first-child")),0<$current.length&&(window.location.href=$current.find("a").prop("href"),$field.blur())}$results.on("mousedown",function(){resultClicked=!0}).on("mouseup",function(){setHasFocus(resultClicked=!1)}),$field.on("focusin",function(){setHasFocus(!0),loadIndex()}).on("focusout",function(){resultClicked?resultClicked=!1:setTimeout(function(){return setHasFocus(!1)},100)}).on("input",function(){setQuery($.trim(($field.val()||"").toString()))}).on("keydown",function(e){13==e.keyCode||27==e.keyCode||38==e.keyCode||40==e.keyCode?(preventPress=!0,e.preventDefault(),13==e.keyCode?gotoCurrentResult():27==e.keyCode?$field.blur():38==e.keyCode?setCurrentResult(-1):40==e.keyCode&&setCurrentResult(1)):preventPress=!1}).on("keypress",function(e){preventPress&&e.preventDefault()}),$("body").on("keydown",function(e){e.altKey||e.ctrlKey||e.metaKey||!hasFocus&&47this.groups.length-1&&(index=this.groups.length-1),this.index!=index){var to=this.groups[index];if(-1 .tsd-signature");if(!($signatures.length<2)){this.$container=this.$el.siblings(".tsd-descriptions");var $descriptions=this.$container.find("> .tsd-description");this.groups=[],$signatures.each(function(index,el){_this.groups.push(new SignatureGroup($(el),$descriptions.eq(index)))})}},Signature.prototype.onClick=function(e){var _this=this;e.preventDefault(),_(this.groups).forEach(function(group,index){group.$signature.is(e.currentTarget)&&_this.setIndex(index)})},Signature}(Backbone.View);typedoc.registerComponent(Signature,".tsd-signatures")}(typedoc||(typedoc={})),function(typedoc){var Toggle=function(_super){function Toggle(options){var _this=_super.call(this,options)||this;return _this.className=_this.$el.attr("data-toggle")||"",_this.$el.on(typedoc.pointerUp,function(e){return _this.onPointerUp(e)}),_this.$el.on("click",function(e){return e.preventDefault()}),typedoc.$document.on(typedoc.pointerDown,function(e){return _this.onDocumentPointerDown(e)}),typedoc.$document.on(typedoc.pointerUp,function(e){return _this.onDocumentPointerUp(e)}),_this}return __extends(Toggle,_super),Toggle.prototype.setActive=function(value){if(this.active!=value){this.active=value,typedoc.$html.toggleClass("has-"+this.className,value),this.$el.toggleClass("active",value);var transition=(this.active?"to-has-":"from-has-")+this.className;typedoc.$html.addClass(transition),setTimeout(function(){return typedoc.$html.removeClass(transition)},500)}},Toggle.prototype.onPointerUp=function(event){typedoc.hasPointerMoved||(this.setActive(!0),event.preventDefault())},Toggle.prototype.onDocumentPointerDown=function(e){if(this.active){var $path=$(e.target).parents().addBack();if($path.hasClass("col-menu"))return;if($path.hasClass("tsd-filter-group"))return;this.setActive(!1)}},Toggle.prototype.onDocumentPointerUp=function(e){var _this=this;if(!typedoc.hasPointerMoved&&this.active){var $path=$(e.target).parents().addBack();if($path.hasClass("col-menu")){var $link=$path.filter("a");if($link.length){var href=window.location.href;-1!=href.indexOf("#")&&(href=href.substr(0,href.indexOf("#"))),$link.prop("href").substr(0,href.length)==href&&setTimeout(function(){return _this.setActive(!1)},250)}}}},Toggle}(Backbone.View);typedoc.registerComponent(Toggle,"a[data-toggle]")}(typedoc||(typedoc={})),function(typedoc){typedoc.app=new typedoc.Application}(typedoc||(typedoc={})); \ No newline at end of file +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";function x(e){return null!=e&&e===e.window}var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}function oe(){T()}var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,k="sizzle"+1*new Date,m=n.document,S=0,r=0,p=ue(),x=ue(),N=ue(),A=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){for((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;o--;)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return void 0!==k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;l--;)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(R)||[""]).length;l--;)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),i=("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,r.left):(a=parseFloat(o)||0,parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0":">",'"':""","'":"'","`":"`"},P=h.invert(L);h.escape=W(L),h.unescape=W(P),h.result=function(n,r,t){h.isArray(r)||(r=[r]);var e=r.length;if(!e)return h.isFunction(t)?t.call(n):t;for(var u=0;u/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};function $(n){return"\\"+U[n]}var J=/(.)^/,U={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},V=/\\|'|\r|\n|\u2028|\u2029/g;h.template=function(i,n,r){!n&&r&&(n=r),n=h.defaults({},n,h.templateSettings);var t,e=RegExp([(n.escape||J).source,(n.interpolate||J).source,(n.evaluate||J).source].join("|")+"|$","g"),o=0,a="__p+='";i.replace(e,function(n,r,t,e,u){return a+=i.slice(o,u).replace(V,$),o=u+n.length,r?a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":t?a+="'+\n((__t=("+t+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",n.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{t=new Function(n.variable||"obj","_",a)}catch(n){throw n.source=a,n}function u(n){return t.call(this,n,h)}var c=n.variable||"obj";return u.source="function("+c+"){\n"+a+"}",u},h.chain=function(n){var r=h(n);return r._chain=!0,r};function G(n,r){return n._chain?h(r).chain():r}h.mixin=function(t){return h.each(h.functions(t),function(n){var r=h[n]=t[n];h.prototype[n]=function(){var n=[this._wrapped];return u.apply(n,arguments),G(this,r.apply(h,n))}}),h},h.mixin(h),h.each(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var t=e[r];h.prototype[r]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==r&&"splice"!==r||0!==n.length||delete n[0],G(this,n)}}),h.each(["concat","join","slice"],function(n){var r=e[n];h.prototype[n]=function(){return G(this,r.apply(this._wrapped,arguments))}}),h.prototype.value=function(){return this._wrapped},h.prototype.valueOf=h.prototype.toJSON=h.prototype.value,h.prototype.toString=function(){return String(this._wrapped)},"function"==typeof define&&define.amd&&define("underscore",[],function(){return h})}(),function(t){var e="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(i,n,r){e.Backbone=t(e,r,i,n)});else if("undefined"!=typeof exports){var n,i=require("underscore");try{n=require("jquery")}catch(r){}t(e,exports,i,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(function(t,e,i,n){var r=t.Backbone,s=Array.prototype.slice;e.VERSION="1.4.0",e.$=n,e.noConflict=function(){return t.Backbone=r,this},e.emulateHTTP=!1,e.emulateJSON=!1;var h,a=e.Events={},o=/\s+/,u=function(t,e,n,r,s){var h,a=0;if(n&&"object"==typeof n){void 0!==r&&"context"in s&&void 0===s.context&&(s.context=r);for(h=i.keys(n);athis.length&&(r=this.length),r<0&&(r+=this.length+1);var g,m,s=[],a=[],o=[],h=[],u={},l=e.add,c=e.merge,f=e.remove,d=!1,v=this.comparator&&null==r&&!1!==e.sort,p=i.isString(this.comparator)?this.comparator:null;for(m=0;m=this.length)return e.QueryLexer.EOS;var t=this.str.charAt(this.pos);return this.pos+=1,t},e.QueryLexer.prototype.width=function(){return this.pos-this.start},e.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},e.QueryLexer.prototype.backup=function(){this.pos-=1},e.QueryLexer.prototype.acceptDigitRun=function(){for(var t,r;47<(r=(t=this.next()).charCodeAt(0))&&r<58;);t!=e.QueryLexer.EOS&&this.backup()},e.QueryLexer.prototype.more=function(){return this.pos=this.scrollTop||0===this.scrollTop,isShown!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.secondaryNav.classList.toggle("tsd-navigation--toolbar-hide")),this.lastY=this.scrollTop},Viewport}(typedoc.Events);typedoc.Viewport=Viewport,typedoc.registerService(Viewport,"viewport")}(typedoc||(typedoc={})),function(typedoc){typedoc.pointerDown="mousedown",typedoc.pointerMove="mousemove",typedoc.pointerUp="mouseup",typedoc.pointerDownPosition={x:0,y:0},typedoc.preventNextClick=!1,typedoc.isPointerDown=!1,typedoc.isPointerTouch=!1,typedoc.hasPointerMoved=!1,typedoc.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),typedoc.$html.addClass(typedoc.isMobile?"is-mobile":"not-mobile"),typedoc.isMobile&&"ontouchstart"in document.documentElement&&(typedoc.isPointerTouch=!0,typedoc.pointerDown="touchstart",typedoc.pointerMove="touchmove",typedoc.pointerUp="touchend"),typedoc.$document.on(typedoc.pointerDown,function(e){typedoc.isPointerDown=!0,typedoc.hasPointerMoved=!1;var t="touchstart"==typedoc.pointerDown?e.originalEvent.targetTouches[0]:e;typedoc.pointerDownPosition.y=t.pageY||0,typedoc.pointerDownPosition.x=t.pageX||0}).on(typedoc.pointerMove,function(e){if(typedoc.isPointerDown&&!typedoc.hasPointerMoved){var t="touchstart"==typedoc.pointerDown?e.originalEvent.targetTouches[0]:e,x=typedoc.pointerDownPosition.x-(t.pageX||0),y=typedoc.pointerDownPosition.y-(t.pageY||0);typedoc.hasPointerMoved=10scrollTop;)index-=1;for(;index"+match+""}),parent=row.parent||"";(parent=parent.replace(new RegExp(query,"i"),function(match){return""+match+""}))&&(name=''+parent+"."+name),$results.append('
  • '+name+"
  • ")}}}function setLoadingState(value){loadingState!=value&&($el.removeClass(SearchLoadingState[loadingState].toLowerCase()),loadingState=value,$el.addClass(SearchLoadingState[loadingState].toLowerCase()),value==SearchLoadingState.Ready&&updateResults())}function setHasFocus(value){hasFocus!=value&&(hasFocus=value,$el.toggleClass("has-focus"),value?(setQuery(""),$field.val("")):$field.val(query))}function setQuery(value){query=$.trim(value),updateResults()}function setCurrentResult(dir){var $current=$results.find(".current");if(0==$current.length)$results.find(1==dir?"li:first-child":"li:last-child").addClass("current");else{var $rel=1==dir?$current.next("li"):$current.prev("li");0<$rel.length&&($current.removeClass("current"),$rel.addClass("current"))}}function gotoCurrentResult(){var $current=$results.find(".current");0==$current.length&&($current=$results.find("li:first-child")),0<$current.length&&(window.location.href=$current.find("a").prop("href"),$field.blur())}$results.on("mousedown",function(){resultClicked=!0}).on("mouseup",function(){setHasFocus(resultClicked=!1)}),$field.on("focusin",function(){setHasFocus(!0),loadIndex()}).on("focusout",function(){resultClicked?resultClicked=!1:setTimeout(function(){return setHasFocus(!1)},100)}).on("input",function(){setQuery($.trim(($field.val()||"").toString()))}).on("keydown",function(e){13==e.keyCode||27==e.keyCode||38==e.keyCode||40==e.keyCode?(preventPress=!0,e.preventDefault(),13==e.keyCode?gotoCurrentResult():27==e.keyCode?$field.blur():38==e.keyCode?setCurrentResult(-1):40==e.keyCode&&setCurrentResult(1)):preventPress=!1}).on("keypress",function(e){preventPress&&e.preventDefault()}),$("body").on("keydown",function(e){e.altKey||e.ctrlKey||e.metaKey||!hasFocus&&47this.groups.length-1&&(index=this.groups.length-1),this.index!=index){var to=this.groups[index];if(-1 .tsd-signature");if(!($signatures.length<2)){this.$container=this.$el.siblings(".tsd-descriptions");var $descriptions=this.$container.find("> .tsd-description");this.groups=[],$signatures.each(function(index,el){_this.groups.push(new SignatureGroup($(el),$descriptions.eq(index)))})}},Signature.prototype.onClick=function(e){var _this=this;_(this.groups).forEach(function(group,index){group.$signature.is(e.currentTarget)&&_this.setIndex(index)})},Signature}(Backbone.View);typedoc.registerComponent(Signature,".tsd-signatures")}(typedoc||(typedoc={})),function(typedoc){var Toggle=function(_super){function Toggle(options){var _this=_super.call(this,options)||this;return _this.className=_this.$el.attr("data-toggle")||"",_this.$el.on(typedoc.pointerUp,function(e){return _this.onPointerUp(e)}),_this.$el.on("click",function(e){return e.preventDefault()}),typedoc.$document.on(typedoc.pointerDown,function(e){return _this.onDocumentPointerDown(e)}),typedoc.$document.on(typedoc.pointerUp,function(e){return _this.onDocumentPointerUp(e)}),_this}return __extends(Toggle,_super),Toggle.prototype.setActive=function(value){if(this.active!=value){this.active=value,typedoc.$html.toggleClass("has-"+this.className,value),this.$el.toggleClass("active",value);var transition=(this.active?"to-has-":"from-has-")+this.className;typedoc.$html.addClass(transition),setTimeout(function(){return typedoc.$html.removeClass(transition)},500)}},Toggle.prototype.onPointerUp=function(event){typedoc.hasPointerMoved||(this.setActive(!0),event.preventDefault())},Toggle.prototype.onDocumentPointerDown=function(e){if(this.active){var $path=$(e.target).parents().addBack();if($path.hasClass("col-menu"))return;if($path.hasClass("tsd-filter-group"))return;this.setActive(!1)}},Toggle.prototype.onDocumentPointerUp=function(e){var _this=this;if(!typedoc.hasPointerMoved&&this.active){var $path=$(e.target).parents().addBack();if($path.hasClass("col-menu")){var $link=$path.filter("a");if($link.length){var href=window.location.href;-1!=href.indexOf("#")&&(href=href.substr(0,href.indexOf("#"))),$link.prop("href").substr(0,href.length)==href&&setTimeout(function(){return _this.setActive(!1)},250)}}}},Toggle}(Backbone.View);typedoc.registerComponent(Toggle,"a[data-toggle]")}(typedoc||(typedoc={})),function(typedoc){typedoc.app=new typedoc.Application}(typedoc||(typedoc={})); \ No newline at end of file diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index 860ffae..6de849b 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"64":"Function"},"rows":[{"id":0,"kind":64,"name":"sum","url":"globals.html#sum","classes":"tsd-kind-function"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"4":"Enumeration","16":"Enumeration member","32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal"},"rows":[{"id":0,"kind":4,"name":"CalendarEpoch","url":"enums/calendarepoch.html","classes":"tsd-kind-enum"},{"id":1,"kind":16,"name":"GREGORIAN","url":"enums/calendarepoch.html#gregorian","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"CalendarEpoch"},{"id":2,"kind":16,"name":"ETHIOPIAN","url":"enums/calendarepoch.html#ethiopian","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"CalendarEpoch"},{"id":3,"kind":4,"name":"CalendarName","url":"enums/calendarname.html","classes":"tsd-kind-enum"},{"id":4,"kind":16,"name":"GREGORIAN","url":"enums/calendarname.html#gregorian","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"CalendarName"},{"id":5,"kind":16,"name":"ETHIOPIAN","url":"enums/calendarname.html#ethiopian","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"CalendarName"},{"id":6,"kind":256,"name":"PeriodTypeInterface","url":"interfaces/periodtypeinterface.html","classes":"tsd-kind-interface"},{"id":7,"kind":1024,"name":"id","url":"interfaces/periodtypeinterface.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PeriodTypeInterface"},{"id":8,"kind":1024,"name":"name","url":"interfaces/periodtypeinterface.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PeriodTypeInterface"},{"id":9,"kind":1024,"name":"rank","url":"interfaces/periodtypeinterface.html#rank","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PeriodTypeInterface"},{"id":10,"kind":4,"name":"PeriodTypeEnum","url":"enums/periodtypeenum.html","classes":"tsd-kind-enum"},{"id":11,"kind":16,"name":"MONTHLY","url":"enums/periodtypeenum.html#monthly","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":12,"kind":16,"name":"BI_MONTHLY","url":"enums/periodtypeenum.html#bi_monthly","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":13,"kind":16,"name":"QUARTERLY","url":"enums/periodtypeenum.html#quarterly","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":14,"kind":16,"name":"SIX_MONTHLY","url":"enums/periodtypeenum.html#six_monthly","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":15,"kind":16,"name":"SIX_MONTHLY_APRIL","url":"enums/periodtypeenum.html#six_monthly_april","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":16,"kind":16,"name":"SIX_MONTHLY_NOVEMBER","url":"enums/periodtypeenum.html#six_monthly_november","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":17,"kind":16,"name":"YEARLY","url":"enums/periodtypeenum.html#yearly","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":18,"kind":16,"name":"FINANCIAL_APRIL","url":"enums/periodtypeenum.html#financial_april","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":19,"kind":16,"name":"FINANCIAL_JULY","url":"enums/periodtypeenum.html#financial_july","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":20,"kind":16,"name":"FINANCIAL_OCTOBER","url":"enums/periodtypeenum.html#financial_october","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":21,"kind":16,"name":"FINANCIAL_NOVEMBER","url":"enums/periodtypeenum.html#financial_november","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":22,"kind":16,"name":"RELATIVE_WEEK","url":"enums/periodtypeenum.html#relative_week","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":23,"kind":16,"name":"RELATIVE_MONTH","url":"enums/periodtypeenum.html#relative_month","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":24,"kind":16,"name":"RELATIVE_BI_MONTH","url":"enums/periodtypeenum.html#relative_bi_month","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":25,"kind":16,"name":"RELATIVE_SIX_MONTH","url":"enums/periodtypeenum.html#relative_six_month","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":26,"kind":16,"name":"RELATIVE_QUARTER","url":"enums/periodtypeenum.html#relative_quarter","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":27,"kind":16,"name":"RELATIVE_YEAR","url":"enums/periodtypeenum.html#relative_year","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":28,"kind":16,"name":"RELATIVE_FINANCIAL_YEAR","url":"enums/periodtypeenum.html#relative_financial_year","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodTypeEnum"},{"id":29,"kind":32,"name":"periodTypes","url":"globals.html#periodtypes","classes":"tsd-kind-variable"},{"id":30,"kind":4,"name":"PeriodSortOrderEnum","url":"enums/periodsortorderenum.html","classes":"tsd-kind-enum"},{"id":31,"kind":16,"name":"ASCENDING","url":"enums/periodsortorderenum.html#ascending","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodSortOrderEnum"},{"id":32,"kind":16,"name":"DESCENDING","url":"enums/periodsortorderenum.html#descending","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"PeriodSortOrderEnum"},{"id":33,"kind":128,"name":"PeriodType","url":"classes/periodtype.html","classes":"tsd-kind-class"},{"id":34,"kind":1024,"name":"_periodTypes","url":"classes/periodtype.html#_periodtypes","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodType"},{"id":35,"kind":512,"name":"constructor","url":"classes/periodtype.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"PeriodType"},{"id":36,"kind":2048,"name":"isValid","url":"classes/periodtype.html#isvalid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodType"},{"id":37,"kind":2048,"name":"get","url":"classes/periodtype.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodType"},{"id":38,"kind":256,"name":"PeriodPreferencesInterface","url":"interfaces/periodpreferencesinterface.html","classes":"tsd-kind-interface"},{"id":39,"kind":1024,"name":"childrenPeriodSortOrder","url":"interfaces/periodpreferencesinterface.html#childrenperiodsortorder","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PeriodPreferencesInterface"},{"id":40,"kind":1024,"name":"openFuturePeriods","url":"interfaces/periodpreferencesinterface.html#openfutureperiods","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PeriodPreferencesInterface"},{"id":41,"kind":256,"name":"PeriodInterface","url":"interfaces/periodinterface.html","classes":"tsd-kind-interface"},{"id":42,"kind":1024,"name":"id","url":"interfaces/periodinterface.html#id","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PeriodInterface"},{"id":43,"kind":1024,"name":"name","url":"interfaces/periodinterface.html#name","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"PeriodInterface"},{"id":44,"kind":32,"name":"periodType","url":"globals.html#periodtype","classes":"tsd-kind-variable tsd-is-not-exported"},{"id":45,"kind":128,"name":"CalendarDate","url":"classes/calendardate.html","classes":"tsd-kind-class"},{"id":46,"kind":1024,"name":"_calendar","url":"classes/calendardate.html#_calendar","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"CalendarDate"},{"id":47,"kind":1024,"name":"_year","url":"classes/calendardate.html#_year","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"CalendarDate"},{"id":48,"kind":1024,"name":"_month","url":"classes/calendardate.html#_month","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"CalendarDate"},{"id":49,"kind":1024,"name":"_day","url":"classes/calendardate.html#_day","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"CalendarDate"},{"id":50,"kind":512,"name":"constructor","url":"classes/calendardate.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"CalendarDate"},{"id":51,"kind":2048,"name":"newDate","url":"classes/calendardate.html#newdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":52,"kind":2048,"name":"year","url":"classes/calendardate.html#year","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":53,"kind":2048,"name":"month","url":"classes/calendardate.html#month","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":54,"kind":2048,"name":"day","url":"classes/calendardate.html#day","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":55,"kind":2048,"name":"date","url":"classes/calendardate.html#date","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":56,"kind":2048,"name":"add","url":"classes/calendardate.html#add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":57,"kind":2048,"name":"set","url":"classes/calendardate.html#set","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":58,"kind":2048,"name":"compareTo","url":"classes/calendardate.html#compareto","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":59,"kind":2048,"name":"toJD","url":"classes/calendardate.html#tojd","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":60,"kind":2048,"name":"fromJD","url":"classes/calendardate.html#fromjd","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":61,"kind":2048,"name":"toJSDate","url":"classes/calendardate.html#tojsdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":62,"kind":2048,"name":"fromJSDate","url":"classes/calendardate.html#fromjsdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":63,"kind":2048,"name":"pad","url":"classes/calendardate.html#pad","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":64,"kind":2048,"name":"toString","url":"classes/calendardate.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":65,"kind":2048,"name":"leapYear","url":"classes/calendardate.html#leapyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":66,"kind":2048,"name":"epoch","url":"classes/calendardate.html#epoch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":67,"kind":2048,"name":"formatYear","url":"classes/calendardate.html#formatyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":68,"kind":2048,"name":"monthOfYear","url":"classes/calendardate.html#monthofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":69,"kind":2048,"name":"weekOfYear","url":"classes/calendardate.html#weekofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":70,"kind":2048,"name":"daysInYear","url":"classes/calendardate.html#daysinyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":71,"kind":2048,"name":"dayOfYear","url":"classes/calendardate.html#dayofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":72,"kind":2048,"name":"daysInMonth","url":"classes/calendardate.html#daysinmonth","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":73,"kind":2048,"name":"dayOfWeek","url":"classes/calendardate.html#dayofweek","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":74,"kind":2048,"name":"weekDay","url":"classes/calendardate.html#weekday","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":75,"kind":2048,"name":"extraInfo","url":"classes/calendardate.html#extrainfo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":76,"kind":2048,"name":"calendar","url":"classes/calendardate.html#calendar","classes":"tsd-kind-method tsd-parent-kind-class","parent":"CalendarDate"},{"id":77,"kind":128,"name":"BaseCalendar","url":"classes/basecalendar.html","classes":"tsd-kind-class"},{"id":78,"kind":1024,"name":"_validateLevel","url":"classes/basecalendar.html#_validatelevel","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":79,"kind":1024,"name":"_name","url":"classes/basecalendar.html#_name","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":80,"kind":1024,"name":"_hasYearZero","url":"classes/basecalendar.html#_hasyearzero","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":81,"kind":1024,"name":"_minMonth","url":"classes/basecalendar.html#_minmonth","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":82,"kind":1024,"name":"_minDay","url":"classes/basecalendar.html#_minday","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":83,"kind":1024,"name":"_epochs","url":"classes/basecalendar.html#_epochs","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":84,"kind":1024,"name":"_firstMonth","url":"classes/basecalendar.html#_firstmonth","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":85,"kind":1024,"name":"_invalids","url":"classes/basecalendar.html#_invalids","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":86,"kind":65536,"name":"__type","url":"classes/basecalendar.html#_invalids.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"BaseCalendar._invalids"},{"id":87,"kind":32,"name":"invalidCalendar","url":"classes/basecalendar.html#_invalids.__type.invalidcalendar","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"BaseCalendar._invalids.__type"},{"id":88,"kind":32,"name":"invalidDate","url":"classes/basecalendar.html#_invalids.__type.invaliddate","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"BaseCalendar._invalids.__type"},{"id":89,"kind":32,"name":"invalidMonth","url":"classes/basecalendar.html#_invalids.__type.invalidmonth","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"BaseCalendar._invalids.__type"},{"id":90,"kind":32,"name":"invalidYear","url":"classes/basecalendar.html#_invalids.__type.invalidyear","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"BaseCalendar._invalids.__type"},{"id":91,"kind":32,"name":"differentCalendars","url":"classes/basecalendar.html#_invalids.__type.differentcalendars","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"BaseCalendar._invalids.__type"},{"id":92,"kind":1024,"name":"_jdEpoch","url":"classes/basecalendar.html#_jdepoch","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":93,"kind":1024,"name":"_daysPerMonth","url":"classes/basecalendar.html#_dayspermonth","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":94,"kind":1024,"name":"_monthNames","url":"classes/basecalendar.html#_monthnames","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":95,"kind":1024,"name":"_dayNames","url":"classes/basecalendar.html#_daynames","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":96,"kind":1024,"name":"_monthNamesShort","url":"classes/basecalendar.html#_monthnamesshort","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":97,"kind":1024,"name":"_dayNamesShort","url":"classes/basecalendar.html#_daynamesshort","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":98,"kind":1024,"name":"_dayNamesMin","url":"classes/basecalendar.html#_daynamesmin","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":99,"kind":1024,"name":"_dateFormat","url":"classes/basecalendar.html#_dateformat","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":100,"kind":1024,"name":"_firstDay","url":"classes/basecalendar.html#_firstday","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":101,"kind":1024,"name":"_isRTL","url":"classes/basecalendar.html#_isrtl","classes":"tsd-kind-property tsd-parent-kind-class","parent":"BaseCalendar"},{"id":102,"kind":512,"name":"constructor","url":"classes/basecalendar.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"BaseCalendar"},{"id":103,"kind":2048,"name":"_validate","url":"classes/basecalendar.html#_validate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":104,"kind":2048,"name":"isValid","url":"classes/basecalendar.html#isvalid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":105,"kind":2048,"name":"newDate","url":"classes/basecalendar.html#newdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":106,"kind":2048,"name":"today","url":"classes/basecalendar.html#today","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":107,"kind":2048,"name":"fromJSDate","url":"classes/basecalendar.html#fromjsdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":108,"kind":2048,"name":"toJSDate","url":"classes/basecalendar.html#tojsdate","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":109,"kind":2048,"name":"pad","url":"classes/basecalendar.html#pad","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":110,"kind":2048,"name":"formatYear","url":"classes/basecalendar.html#formatyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":111,"kind":2048,"name":"epoch","url":"classes/basecalendar.html#epoch","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":112,"kind":2048,"name":"monthsInYear","url":"classes/basecalendar.html#monthsinyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":113,"kind":2048,"name":"monthOfYear","url":"classes/basecalendar.html#monthofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":114,"kind":2048,"name":"fromMonthOfYear","url":"classes/basecalendar.html#frommonthofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":115,"kind":2048,"name":"leapYear","url":"classes/basecalendar.html#leapyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":116,"kind":2048,"name":"daysInYear","url":"classes/basecalendar.html#daysinyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":117,"kind":2048,"name":"daysInMonth","url":"classes/basecalendar.html#daysinmonth","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":118,"kind":2048,"name":"dayOfYear","url":"classes/basecalendar.html#dayofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":119,"kind":2048,"name":"daysInWeek","url":"classes/basecalendar.html#daysinweek","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":120,"kind":2048,"name":"dayOfWeek","url":"classes/basecalendar.html#dayofweek","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":121,"kind":2048,"name":"extraInfo","url":"classes/basecalendar.html#extrainfo","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":122,"kind":2048,"name":"add","url":"classes/basecalendar.html#add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":123,"kind":2048,"name":"_add","url":"classes/basecalendar.html#_add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":124,"kind":2048,"name":"_correctAdd","url":"classes/basecalendar.html#_correctadd","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":125,"kind":2048,"name":"set","url":"classes/basecalendar.html#set","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":126,"kind":2048,"name":"toJD","url":"classes/basecalendar.html#tojd","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":127,"kind":2048,"name":"fromJD","url":"classes/basecalendar.html#fromjd","classes":"tsd-kind-method tsd-parent-kind-class","parent":"BaseCalendar"},{"id":128,"kind":128,"name":"EthiopianCalendar","url":"classes/ethiopiancalendar.html","classes":"tsd-kind-class"},{"id":129,"kind":1024,"name":"_gregorianEpoch","url":"classes/ethiopiancalendar.html#_gregorianepoch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"EthiopianCalendar"},{"id":130,"kind":1024,"name":"_quarterMonthOffset","url":"classes/ethiopiancalendar.html#_quartermonthoffset","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"EthiopianCalendar"},{"id":131,"kind":512,"name":"constructor","url":"classes/ethiopiancalendar.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"EthiopianCalendar"},{"id":132,"kind":2048,"name":"monthNames","url":"classes/ethiopiancalendar.html#monthnames","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EthiopianCalendar"},{"id":133,"kind":2048,"name":"leapYear","url":"classes/ethiopiancalendar.html#leapyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EthiopianCalendar"},{"id":134,"kind":2048,"name":"monthsInYear","url":"classes/ethiopiancalendar.html#monthsinyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EthiopianCalendar"},{"id":135,"kind":2048,"name":"weekOfYear","url":"classes/ethiopiancalendar.html#weekofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EthiopianCalendar"},{"id":136,"kind":2048,"name":"daysInMonth","url":"classes/ethiopiancalendar.html#daysinmonth","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EthiopianCalendar"},{"id":137,"kind":2048,"name":"weekDay","url":"classes/ethiopiancalendar.html#weekday","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EthiopianCalendar"},{"id":138,"kind":2048,"name":"quarterMonthOffset","url":"classes/ethiopiancalendar.html#quartermonthoffset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"EthiopianCalendar"},{"id":139,"kind":2048,"name":"fromJSDate","url":"classes/ethiopiancalendar.html#fromjsdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EthiopianCalendar"},{"id":140,"kind":2048,"name":"toJD","url":"classes/ethiopiancalendar.html#tojd","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EthiopianCalendar"},{"id":141,"kind":2048,"name":"fromJD","url":"classes/ethiopiancalendar.html#fromjd","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"EthiopianCalendar"},{"id":142,"kind":1024,"name":"_validateLevel","url":"classes/ethiopiancalendar.html#_validatelevel","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":143,"kind":1024,"name":"_name","url":"classes/ethiopiancalendar.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":144,"kind":1024,"name":"_hasYearZero","url":"classes/ethiopiancalendar.html#_hasyearzero","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":145,"kind":1024,"name":"_minMonth","url":"classes/ethiopiancalendar.html#_minmonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":146,"kind":1024,"name":"_minDay","url":"classes/ethiopiancalendar.html#_minday","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":147,"kind":1024,"name":"_epochs","url":"classes/ethiopiancalendar.html#_epochs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":148,"kind":1024,"name":"_firstMonth","url":"classes/ethiopiancalendar.html#_firstmonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":149,"kind":1024,"name":"_invalids","url":"classes/ethiopiancalendar.html#_invalids","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":150,"kind":65536,"name":"__type","url":"classes/ethiopiancalendar.html#_invalids.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"EthiopianCalendar._invalids"},{"id":151,"kind":32,"name":"invalidCalendar","url":"classes/ethiopiancalendar.html#_invalids.__type.invalidcalendar","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EthiopianCalendar._invalids.__type"},{"id":152,"kind":32,"name":"invalidDate","url":"classes/ethiopiancalendar.html#_invalids.__type.invaliddate","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EthiopianCalendar._invalids.__type"},{"id":153,"kind":32,"name":"invalidMonth","url":"classes/ethiopiancalendar.html#_invalids.__type.invalidmonth","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EthiopianCalendar._invalids.__type"},{"id":154,"kind":32,"name":"invalidYear","url":"classes/ethiopiancalendar.html#_invalids.__type.invalidyear","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EthiopianCalendar._invalids.__type"},{"id":155,"kind":32,"name":"differentCalendars","url":"classes/ethiopiancalendar.html#_invalids.__type.differentcalendars","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"EthiopianCalendar._invalids.__type"},{"id":156,"kind":1024,"name":"_jdEpoch","url":"classes/ethiopiancalendar.html#_jdepoch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":157,"kind":1024,"name":"_daysPerMonth","url":"classes/ethiopiancalendar.html#_dayspermonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":158,"kind":1024,"name":"_monthNames","url":"classes/ethiopiancalendar.html#_monthnames","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":159,"kind":1024,"name":"_dayNames","url":"classes/ethiopiancalendar.html#_daynames","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":160,"kind":1024,"name":"_monthNamesShort","url":"classes/ethiopiancalendar.html#_monthnamesshort","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":161,"kind":1024,"name":"_dayNamesShort","url":"classes/ethiopiancalendar.html#_daynamesshort","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":162,"kind":1024,"name":"_dayNamesMin","url":"classes/ethiopiancalendar.html#_daynamesmin","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":163,"kind":1024,"name":"_dateFormat","url":"classes/ethiopiancalendar.html#_dateformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":164,"kind":1024,"name":"_firstDay","url":"classes/ethiopiancalendar.html#_firstday","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":165,"kind":1024,"name":"_isRTL","url":"classes/ethiopiancalendar.html#_isrtl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":166,"kind":2048,"name":"_validate","url":"classes/ethiopiancalendar.html#_validate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":167,"kind":2048,"name":"isValid","url":"classes/ethiopiancalendar.html#isvalid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":168,"kind":2048,"name":"newDate","url":"classes/ethiopiancalendar.html#newdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":169,"kind":2048,"name":"today","url":"classes/ethiopiancalendar.html#today","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":170,"kind":2048,"name":"toJSDate","url":"classes/ethiopiancalendar.html#tojsdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":171,"kind":2048,"name":"pad","url":"classes/ethiopiancalendar.html#pad","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":172,"kind":2048,"name":"formatYear","url":"classes/ethiopiancalendar.html#formatyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":173,"kind":2048,"name":"epoch","url":"classes/ethiopiancalendar.html#epoch","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":174,"kind":2048,"name":"monthOfYear","url":"classes/ethiopiancalendar.html#monthofyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":175,"kind":2048,"name":"fromMonthOfYear","url":"classes/ethiopiancalendar.html#frommonthofyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":176,"kind":2048,"name":"daysInYear","url":"classes/ethiopiancalendar.html#daysinyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":177,"kind":2048,"name":"dayOfYear","url":"classes/ethiopiancalendar.html#dayofyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":178,"kind":2048,"name":"daysInWeek","url":"classes/ethiopiancalendar.html#daysinweek","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":179,"kind":2048,"name":"dayOfWeek","url":"classes/ethiopiancalendar.html#dayofweek","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":180,"kind":2048,"name":"extraInfo","url":"classes/ethiopiancalendar.html#extrainfo","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":181,"kind":2048,"name":"add","url":"classes/ethiopiancalendar.html#add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":182,"kind":2048,"name":"_add","url":"classes/ethiopiancalendar.html#_add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":183,"kind":2048,"name":"_correctAdd","url":"classes/ethiopiancalendar.html#_correctadd","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":184,"kind":2048,"name":"set","url":"classes/ethiopiancalendar.html#set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"EthiopianCalendar"},{"id":185,"kind":128,"name":"GregorianCalendar","url":"classes/gregoriancalendar.html","classes":"tsd-kind-class"},{"id":186,"kind":512,"name":"constructor","url":"classes/gregoriancalendar.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"GregorianCalendar"},{"id":187,"kind":2048,"name":"monthNames","url":"classes/gregoriancalendar.html#monthnames","classes":"tsd-kind-method tsd-parent-kind-class","parent":"GregorianCalendar"},{"id":188,"kind":2048,"name":"leapYear","url":"classes/gregoriancalendar.html#leapyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GregorianCalendar"},{"id":189,"kind":2048,"name":"weekOfYear","url":"classes/gregoriancalendar.html#weekofyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"GregorianCalendar"},{"id":190,"kind":2048,"name":"daysInMonth","url":"classes/gregoriancalendar.html#daysinmonth","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GregorianCalendar"},{"id":191,"kind":2048,"name":"weekDay","url":"classes/gregoriancalendar.html#weekday","classes":"tsd-kind-method tsd-parent-kind-class","parent":"GregorianCalendar"},{"id":192,"kind":2048,"name":"quarterMonthOffset","url":"classes/gregoriancalendar.html#quartermonthoffset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"GregorianCalendar"},{"id":193,"kind":2048,"name":"toJD","url":"classes/gregoriancalendar.html#tojd","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GregorianCalendar"},{"id":194,"kind":2048,"name":"fromJD","url":"classes/gregoriancalendar.html#fromjd","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GregorianCalendar"},{"id":195,"kind":2048,"name":"toJSDate","url":"classes/gregoriancalendar.html#tojsdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GregorianCalendar"},{"id":196,"kind":2048,"name":"fromJSDate","url":"classes/gregoriancalendar.html#fromjsdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"GregorianCalendar"},{"id":197,"kind":1024,"name":"_validateLevel","url":"classes/gregoriancalendar.html#_validatelevel","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":198,"kind":1024,"name":"_name","url":"classes/gregoriancalendar.html#_name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":199,"kind":1024,"name":"_hasYearZero","url":"classes/gregoriancalendar.html#_hasyearzero","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":200,"kind":1024,"name":"_minMonth","url":"classes/gregoriancalendar.html#_minmonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":201,"kind":1024,"name":"_minDay","url":"classes/gregoriancalendar.html#_minday","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":202,"kind":1024,"name":"_epochs","url":"classes/gregoriancalendar.html#_epochs","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":203,"kind":1024,"name":"_firstMonth","url":"classes/gregoriancalendar.html#_firstmonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":204,"kind":1024,"name":"_invalids","url":"classes/gregoriancalendar.html#_invalids","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":205,"kind":65536,"name":"__type","url":"classes/gregoriancalendar.html#_invalids.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"GregorianCalendar._invalids"},{"id":206,"kind":32,"name":"invalidCalendar","url":"classes/gregoriancalendar.html#_invalids.__type.invalidcalendar","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"GregorianCalendar._invalids.__type"},{"id":207,"kind":32,"name":"invalidDate","url":"classes/gregoriancalendar.html#_invalids.__type.invaliddate","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"GregorianCalendar._invalids.__type"},{"id":208,"kind":32,"name":"invalidMonth","url":"classes/gregoriancalendar.html#_invalids.__type.invalidmonth","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"GregorianCalendar._invalids.__type"},{"id":209,"kind":32,"name":"invalidYear","url":"classes/gregoriancalendar.html#_invalids.__type.invalidyear","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"GregorianCalendar._invalids.__type"},{"id":210,"kind":32,"name":"differentCalendars","url":"classes/gregoriancalendar.html#_invalids.__type.differentcalendars","classes":"tsd-kind-variable tsd-parent-kind-type-literal tsd-is-not-exported","parent":"GregorianCalendar._invalids.__type"},{"id":211,"kind":1024,"name":"_jdEpoch","url":"classes/gregoriancalendar.html#_jdepoch","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":212,"kind":1024,"name":"_daysPerMonth","url":"classes/gregoriancalendar.html#_dayspermonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":213,"kind":1024,"name":"_monthNames","url":"classes/gregoriancalendar.html#_monthnames","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":214,"kind":1024,"name":"_dayNames","url":"classes/gregoriancalendar.html#_daynames","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":215,"kind":1024,"name":"_monthNamesShort","url":"classes/gregoriancalendar.html#_monthnamesshort","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":216,"kind":1024,"name":"_dayNamesShort","url":"classes/gregoriancalendar.html#_daynamesshort","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":217,"kind":1024,"name":"_dayNamesMin","url":"classes/gregoriancalendar.html#_daynamesmin","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":218,"kind":1024,"name":"_dateFormat","url":"classes/gregoriancalendar.html#_dateformat","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":219,"kind":1024,"name":"_firstDay","url":"classes/gregoriancalendar.html#_firstday","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":220,"kind":1024,"name":"_isRTL","url":"classes/gregoriancalendar.html#_isrtl","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":221,"kind":2048,"name":"_validate","url":"classes/gregoriancalendar.html#_validate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":222,"kind":2048,"name":"isValid","url":"classes/gregoriancalendar.html#isvalid","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":223,"kind":2048,"name":"newDate","url":"classes/gregoriancalendar.html#newdate","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":224,"kind":2048,"name":"today","url":"classes/gregoriancalendar.html#today","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":225,"kind":2048,"name":"pad","url":"classes/gregoriancalendar.html#pad","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":226,"kind":2048,"name":"formatYear","url":"classes/gregoriancalendar.html#formatyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":227,"kind":2048,"name":"epoch","url":"classes/gregoriancalendar.html#epoch","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":228,"kind":2048,"name":"monthsInYear","url":"classes/gregoriancalendar.html#monthsinyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":229,"kind":2048,"name":"monthOfYear","url":"classes/gregoriancalendar.html#monthofyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":230,"kind":2048,"name":"fromMonthOfYear","url":"classes/gregoriancalendar.html#frommonthofyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":231,"kind":2048,"name":"daysInYear","url":"classes/gregoriancalendar.html#daysinyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":232,"kind":2048,"name":"dayOfYear","url":"classes/gregoriancalendar.html#dayofyear","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":233,"kind":2048,"name":"daysInWeek","url":"classes/gregoriancalendar.html#daysinweek","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":234,"kind":2048,"name":"dayOfWeek","url":"classes/gregoriancalendar.html#dayofweek","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":235,"kind":2048,"name":"extraInfo","url":"classes/gregoriancalendar.html#extrainfo","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":236,"kind":2048,"name":"add","url":"classes/gregoriancalendar.html#add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":237,"kind":2048,"name":"_add","url":"classes/gregoriancalendar.html#_add","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":238,"kind":2048,"name":"_correctAdd","url":"classes/gregoriancalendar.html#_correctadd","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":239,"kind":2048,"name":"set","url":"classes/gregoriancalendar.html#set","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited","parent":"GregorianCalendar"},{"id":240,"kind":128,"name":"Calendar","url":"classes/calendar.html","classes":"tsd-kind-class"},{"id":241,"kind":1024,"name":"_calendarId","url":"classes/calendar.html#_calendarid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Calendar"},{"id":242,"kind":1024,"name":"_calendar","url":"classes/calendar.html#_calendar","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Calendar"},{"id":243,"kind":512,"name":"constructor","url":"classes/calendar.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Calendar"},{"id":244,"kind":2048,"name":"getInstance","url":"classes/calendar.html#getinstance","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":245,"kind":2048,"name":"getMonths","url":"classes/calendar.html#getmonths","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":246,"kind":2048,"name":"getCurrentYear","url":"classes/calendar.html#getcurrentyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":247,"kind":2048,"name":"getCurrentMonth","url":"classes/calendar.html#getcurrentmonth","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":248,"kind":2048,"name":"getCurrentDay","url":"classes/calendar.html#getcurrentday","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":249,"kind":2048,"name":"getQuarterMonthOffset","url":"classes/calendar.html#getquartermonthoffset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":250,"kind":2048,"name":"getCurrentQuarter","url":"classes/calendar.html#getcurrentquarter","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":251,"kind":2048,"name":"getCurrentBiMonth","url":"classes/calendar.html#getcurrentbimonth","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":252,"kind":2048,"name":"getCurrentSixMonth","url":"classes/calendar.html#getcurrentsixmonth","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":253,"kind":2048,"name":"getCurrentSixMonthApril","url":"classes/calendar.html#getcurrentsixmonthapril","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":254,"kind":2048,"name":"getCurrentSixMonthNovember","url":"classes/calendar.html#getcurrentsixmonthnovember","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Calendar"},{"id":255,"kind":128,"name":"PeriodInstance","url":"classes/periodinstance.html","classes":"tsd-kind-class"},{"id":256,"kind":1024,"name":"_type","url":"classes/periodinstance.html#_type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":257,"kind":1024,"name":"_preferences","url":"classes/periodinstance.html#_preferences","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":258,"kind":1024,"name":"_periods","url":"classes/periodinstance.html#_periods","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":259,"kind":1024,"name":"_calendar","url":"classes/periodinstance.html#_calendar","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":260,"kind":1024,"name":"_year","url":"classes/periodinstance.html#_year","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":261,"kind":1024,"name":"_month","url":"classes/periodinstance.html#_month","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":262,"kind":1024,"name":"_quarter","url":"classes/periodinstance.html#_quarter","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":263,"kind":1024,"name":"_biMonth","url":"classes/periodinstance.html#_bimonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":264,"kind":1024,"name":"_sixMonth","url":"classes/periodinstance.html#_sixmonth","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":265,"kind":1024,"name":"_sixMonthApril","url":"classes/periodinstance.html#_sixmonthapril","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":266,"kind":1024,"name":"_sixMonthNovember","url":"classes/periodinstance.html#_sixmonthnovember","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":267,"kind":1024,"name":"_monthNames","url":"classes/periodinstance.html#_monthnames","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":268,"kind":1024,"name":"_quarterMonthOffset","url":"classes/periodinstance.html#_quartermonthoffset","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"PeriodInstance"},{"id":269,"kind":512,"name":"constructor","url":"classes/periodinstance.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"PeriodInstance"},{"id":270,"kind":2048,"name":"get","url":"classes/periodinstance.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":271,"kind":2048,"name":"year","url":"classes/periodinstance.html#year","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":272,"kind":2048,"name":"currentYear","url":"classes/periodinstance.html#currentyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":273,"kind":2048,"name":"getPeriods","url":"classes/periodinstance.html#getperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":274,"kind":2048,"name":"includeLastPeriods","url":"classes/periodinstance.html#includelastperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":275,"kind":2048,"name":"getRelativePeriods","url":"classes/periodinstance.html#getrelativeperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":276,"kind":2048,"name":"getMonthlyPeriods","url":"classes/periodinstance.html#getmonthlyperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":277,"kind":2048,"name":"getQuarterlyPeriods","url":"classes/periodinstance.html#getquarterlyperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":278,"kind":2048,"name":"getPeriodNameByRange","url":"classes/periodinstance.html#getperiodnamebyrange","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":279,"kind":2048,"name":"getMonthsByOffset","url":"classes/periodinstance.html#getmonthsbyoffset","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":280,"kind":2048,"name":"getMonthWithYears","url":"classes/periodinstance.html#getmonthwithyears","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":281,"kind":2048,"name":"getBiMonthlyPeriods","url":"classes/periodinstance.html#getbimonthlyperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":282,"kind":2048,"name":"getSixMonthlyPeriods","url":"classes/periodinstance.html#getsixmonthlyperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":283,"kind":2048,"name":"getSixMonthlyAprilPeriods","url":"classes/periodinstance.html#getsixmonthlyaprilperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":284,"kind":2048,"name":"getSixMonthlyNovemberPeriods","url":"classes/periodinstance.html#getsixmonthlynovemberperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":285,"kind":2048,"name":"getYearlyPeriods","url":"classes/periodinstance.html#getyearlyperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":286,"kind":2048,"name":"omitFuturePeriods","url":"classes/periodinstance.html#omitfutureperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":287,"kind":2048,"name":"getCurrentPeriodId","url":"classes/periodinstance.html#getcurrentperiodid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":288,"kind":2048,"name":"getMonthPeriodId","url":"classes/periodinstance.html#getmonthperiodid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":289,"kind":2048,"name":"getQuarterPeriodId","url":"classes/periodinstance.html#getquarterperiodid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":290,"kind":2048,"name":"getBiMonthlyPeriodId","url":"classes/periodinstance.html#getbimonthlyperiodid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":291,"kind":2048,"name":"getSixMonthlyPeriodId","url":"classes/periodinstance.html#getsixmonthlyperiodid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":292,"kind":2048,"name":"getYearlyPeriodId","url":"classes/periodinstance.html#getyearlyperiodid","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":293,"kind":2048,"name":"getYearlyPeriodName","url":"classes/periodinstance.html#getyearlyperiodname","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":294,"kind":2048,"name":"getYearlyMonthIndex","url":"classes/periodinstance.html#getyearlymonthindex","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":295,"kind":2048,"name":"getChildrenPeriods","url":"classes/periodinstance.html#getchildrenperiods","classes":"tsd-kind-method tsd-parent-kind-class","parent":"PeriodInstance"},{"id":296,"kind":128,"name":"Period","url":"classes/period.html","classes":"tsd-kind-class"},{"id":297,"kind":1024,"name":"_calendarId","url":"classes/period.html#_calendarid","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Period"},{"id":298,"kind":1024,"name":"_periodType","url":"classes/period.html#_periodtype","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Period"},{"id":299,"kind":1024,"name":"_type","url":"classes/period.html#_type","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Period"},{"id":300,"kind":1024,"name":"_year","url":"classes/period.html#_year","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Period"},{"id":301,"kind":1024,"name":"_preferences","url":"classes/period.html#_preferences","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Period"},{"id":302,"kind":1024,"name":"_periods","url":"classes/period.html#_periods","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Period"},{"id":303,"kind":1024,"name":"_currentYear","url":"classes/period.html#_currentyear","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"Period"},{"id":304,"kind":512,"name":"constructor","url":"classes/period.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Period"},{"id":305,"kind":2048,"name":"setType","url":"classes/period.html#settype","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":306,"kind":2048,"name":"setYear","url":"classes/period.html#setyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":307,"kind":2048,"name":"setCalendar","url":"classes/period.html#setcalendar","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":308,"kind":2048,"name":"setPreferences","url":"classes/period.html#setpreferences","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":309,"kind":2048,"name":"get","url":"classes/period.html#get","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":310,"kind":2048,"name":"type","url":"classes/period.html#type","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":311,"kind":2048,"name":"list","url":"classes/period.html#list","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":312,"kind":2048,"name":"year","url":"classes/period.html#year","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"},{"id":313,"kind":2048,"name":"currentYear","url":"classes/period.html#currentyear","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Period"}]}; \ No newline at end of file diff --git a/docs/classes/basecalendar.html b/docs/classes/basecalendar.html new file mode 100644 index 0000000..546ccc2 --- /dev/null +++ b/docs/classes/basecalendar.html @@ -0,0 +1,1305 @@ + + + + + + BaseCalendar | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class BaseCalendar

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    + +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + +
      +
    • + +

      Returns BaseCalendar

      +
    • +
    +
    +
    +
    +

    Properties

    +
    + +

    _dateFormat

    +
    _dateFormat: string
    + +
    +
    + +

    _dayNames

    +
    _dayNames: string[]
    + +
    +
    + +

    _dayNamesMin

    +
    _dayNamesMin: string[]
    + +
    +
    + +

    _dayNamesShort

    +
    _dayNamesShort: string[]
    + +
    +
    + +

    _daysPerMonth

    +
    _daysPerMonth: number[]
    + +
    +
    + +

    _epochs

    +
    _epochs: string[]
    + +
    +
    + +

    _firstDay

    +
    _firstDay: number
    + +
    +
    + +

    _firstMonth

    +
    _firstMonth: number
    + +
    +
    + +

    _hasYearZero

    +
    _hasYearZero: boolean
    + +
    +
    + +

    _invalids

    +
    _invalids: object
    + +
    +

    Type declaration

    +
      +
    • +
      differentCalendars: string
      +
    • +
    • +
      invalidCalendar: string
      +
    • +
    • +
      invalidDate: string
      +
    • +
    • +
      invalidMonth: string
      +
    • +
    • +
      invalidYear: string
      +
    • +
    +
    +
    +
    + +

    _isRTL

    +
    _isRTL: boolean
    + +
    +
    + +

    _jdEpoch

    +
    _jdEpoch: number
    + +
    +
    + +

    _minDay

    +
    _minDay: number
    + +
    +
    + +

    _minMonth

    +
    _minMonth: number
    + +
    +
    + +

    _monthNames

    +
    _monthNames: string[]
    + +
    +
    + +

    _monthNamesShort

    +
    _monthNamesShort: string[]
    + +
    +
    + +

    _name

    +
    _name: string
    + +
    +
    + +

    _validateLevel

    +
    _validateLevel: number
    + +
    +
    +
    +

    Methods

    +
    + +

    _add

    +
      +
    • _add(yearOrDate: any, month: number, day: string): any[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: string
        +
      • +
      +

      Returns any[]

      +
    • +
    +
    +
    + +

    _correctAdd

    +
      +
    • _correctAdd(a: any, b: any, c: any, d: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      • +
        d: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    _validate

    +
      +
    • _validate(yearOrDate: any, month: number, day: number, invalidText: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      • +
        invalidText: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    add

    +
      +
    • add(yearOrDate: any, month: number, day: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    dayOfWeek

    +
      +
    • dayOfWeek(yearOrDate: any, month: number, day: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    dayOfYear

    +
      +
    • dayOfYear(yearOrDate: any, month: number, day: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    daysInMonth

    +
      +
    • daysInMonth(a: any, b?: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        Optional b: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    daysInWeek

    +
      +
    • daysInWeek(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    daysInYear

    +
      +
    • daysInYear(year: number): 366 | 365
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      +

      Returns 366 + | + 365 +

      +
    • +
    +
    +
    + +

    epoch

    +
      +
    • epoch(a: any): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    extraInfo

    +
      +
    • extraInfo(yearOrDate: any, month: number, day: number): object
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns object

      +
        +
      +
    • +
    +
    +
    + +

    formatYear

    +
      +
    • formatYear(year: number): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    fromJD

    + +
      +
    • + +

      Parameters

      +
        +
      • +
        f: any
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    fromJSDate

    +
      +
    • fromJSDate(date: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        date: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    fromMonthOfYear

    +
      +
    • fromMonthOfYear(year: number, month: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    isValid

    +
      +
    • isValid(yearOrDate: any, month: number, day: number): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    leapYear

    +
      +
    • leapYear(a: any): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    monthOfYear

    +
      +
    • monthOfYear(year: number, month: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    monthsInYear

    +
      +
    • monthsInYear(date: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        date: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    newDate

    +
      +
    • newDate(yearOrDate: any, month: number, day: number): CalendarDate
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    pad

    +
      +
    • pad(a: any, b: any): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    set

    +
      +
    • set(a: any, b: any, c: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    toJD

    +
      +
    • toJD(c: any, d?: any, e?: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        c: any
        +
      • +
      • +
        Optional d: any
        +
      • +
      • +
        Optional e: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    toJSDate

    +
      +
    • toJSDate(yearOrDate: any, month: number, day: number): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    today

    +
      +
    • today(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/calendar.html b/docs/classes/calendar.html new file mode 100644 index 0000000..1081d51 --- /dev/null +++ b/docs/classes/calendar.html @@ -0,0 +1,538 @@ + + + + + + Calendar | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class Calendar

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Calendar +
    • +
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    +
      +
    • new Calendar(calendarId: string): Calendar
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        calendarId: string
        +
      • +
      +

      Returns Calendar

      +
    • +
    +
    +
    +
    +

    Properties

    +
    + +

    Private _calendar

    +
    _calendar: any
    + +
    +
    + +

    Private _calendarId

    +
    _calendarId: string
    + +
    +
    +
    +

    Methods

    +
    + +

    getCurrentBiMonth

    +
      +
    • getCurrentBiMonth(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    getCurrentDay

    +
      +
    • getCurrentDay(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    getCurrentMonth

    +
      +
    • getCurrentMonth(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    getCurrentQuarter

    +
      +
    • getCurrentQuarter(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    getCurrentSixMonth

    +
      +
    • getCurrentSixMonth(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    getCurrentSixMonthApril

    +
      +
    • getCurrentSixMonthApril(): 1 | 2
    • +
    +
      +
    • + +

      Returns 1 + | + 2 +

      +
    • +
    +
    +
    + +

    getCurrentSixMonthNovember

    +
      +
    • getCurrentSixMonthNovember(): 1 | 2
    • +
    +
      +
    • + +

      Returns 1 + | + 2 +

      +
    • +
    +
    +
    + +

    getCurrentYear

    +
      +
    • getCurrentYear(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    getInstance

    +
      +
    • getInstance(): this
    • +
    +
      +
    • + +

      Returns this

      +
    • +
    +
    +
    + +

    getMonths

    +
      +
    • getMonths(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    getQuarterMonthOffset

    +
      +
    • getQuarterMonthOffset(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/calendardate.html b/docs/classes/calendardate.html new file mode 100644 index 0000000..780fc21 --- /dev/null +++ b/docs/classes/calendardate.html @@ -0,0 +1,976 @@ + + + + + + CalendarDate | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class CalendarDate

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + CalendarDate +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +

    Methods

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    +
      +
    • new CalendarDate(calendar: any, year: number, month: number, day: number): CalendarDate
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        calendar: any
        +
      • +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    +
    +

    Properties

    +
    + +

    Private _calendar

    +
    _calendar: any
    + +
    +
    + +

    Private _day

    +
    _day: number
    + +
    +
    + +

    Private _month

    +
    _month: number
    + +
    +
    + +

    Private _year

    +
    _year: number
    + +
    +
    +
    +

    Methods

    +
    + +

    add

    +
      +
    • add(time: any, type: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        time: any
        +
      • +
      • +
        type: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    calendar

    +
      +
    • calendar(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    compareTo

    +
      +
    • compareTo(instance: any): 0 | 1 | -1
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        instance: any
        +
      • +
      +

      Returns 0 + | + 1 + | + -1 +

      +
    • +
    +
    +
    + +

    date

    +
      +
    • date(year: number, month: number, day: number): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    day

    +
      +
    • day(day?: number): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Optional day: number
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    dayOfWeek

    +
      +
    • dayOfWeek(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    dayOfYear

    +
      +
    • dayOfYear(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    daysInMonth

    +
      +
    • daysInMonth(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    daysInYear

    +
      +
    • daysInYear(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    epoch

    +
      +
    • epoch(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    extraInfo

    +
      +
    • extraInfo(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    formatYear

    +
      +
    • formatYear(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    fromJD

    +
      +
    • fromJD(a: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    fromJSDate

    +
      +
    • fromJSDate(a: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    leapYear

    +
      +
    • leapYear(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    month

    +
      +
    • month(month?: number): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Optional month: number
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    monthOfYear

    +
      +
    • monthOfYear(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    newDate

    +
      +
    • newDate(a: number, b: number, c: number): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: number
        +
      • +
      • +
        b: number
        +
      • +
      • +
        c: number
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    pad

    +
      +
    • pad(a: any, b: any): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    set

    +
      +
    • set(time: any, type: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        time: any
        +
      • +
      • +
        type: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    toJD

    +
      +
    • toJD(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    toJSDate

    +
      +
    • toJSDate(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    toString

    +
      +
    • toString(): string
    • +
    +
      +
    • + +

      Returns string

      +
    • +
    +
    +
    + +

    weekDay

    +
      +
    • weekDay(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    weekOfYear

    +
      +
    • weekOfYear(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    year

    +
      +
    • year(year?: number): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        Optional year: number
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/ethiopiancalendar.html b/docs/classes/ethiopiancalendar.html new file mode 100644 index 0000000..77186b2 --- /dev/null +++ b/docs/classes/ethiopiancalendar.html @@ -0,0 +1,1482 @@ + + + + + + EthiopianCalendar | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class EthiopianCalendar

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    + +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    _dateFormat

    +
    _dateFormat: string
    + +
    +
    + +

    _dayNames

    +
    _dayNames: string[]
    + +
    +
    + +

    _dayNamesMin

    +
    _dayNamesMin: string[]
    + +
    +
    + +

    _dayNamesShort

    +
    _dayNamesShort: string[]
    + +
    +
    + +

    _daysPerMonth

    +
    _daysPerMonth: number[]
    + +
    +
    + +

    _epochs

    +
    _epochs: string[]
    + +
    +
    + +

    _firstDay

    +
    _firstDay: number
    + +
    +
    + +

    _firstMonth

    +
    _firstMonth: number
    + +
    +
    + +

    Private _gregorianEpoch

    +
    _gregorianEpoch: number
    + +
    +
    + +

    _hasYearZero

    +
    _hasYearZero: boolean
    + +
    +
    + +

    _invalids

    +
    _invalids: object
    + +
    +

    Type declaration

    +
      +
    • +
      differentCalendars: string
      +
    • +
    • +
      invalidCalendar: string
      +
    • +
    • +
      invalidDate: string
      +
    • +
    • +
      invalidMonth: string
      +
    • +
    • +
      invalidYear: string
      +
    • +
    +
    +
    +
    + +

    _isRTL

    +
    _isRTL: boolean
    + +
    +
    + +

    _jdEpoch

    +
    _jdEpoch: number
    + +
    +
    + +

    _minDay

    +
    _minDay: number
    + +
    +
    + +

    _minMonth

    +
    _minMonth: number
    + +
    +
    + +

    _monthNames

    +
    _monthNames: string[]
    + +
    +
    + +

    _monthNamesShort

    +
    _monthNamesShort: string[]
    + +
    +
    + +

    _name

    +
    _name: string
    + +
    +
    + +

    Private _quarterMonthOffset

    +
    _quarterMonthOffset: number
    + +
    +
    + +

    _validateLevel

    +
    _validateLevel: number
    + +
    +
    +
    +

    Methods

    +
    + +

    _add

    +
      +
    • _add(yearOrDate: any, month: number, day: string): any[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: string
        +
      • +
      +

      Returns any[]

      +
    • +
    +
    +
    + +

    _correctAdd

    +
      +
    • _correctAdd(a: any, b: any, c: any, d: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      • +
        d: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    _validate

    +
      +
    • _validate(yearOrDate: any, month: number, day: number, invalidText: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      • +
        invalidText: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    add

    +
      +
    • add(yearOrDate: any, month: number, day: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    dayOfWeek

    +
      +
    • dayOfWeek(yearOrDate: any, month: number, day: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    dayOfYear

    +
      +
    • dayOfYear(yearOrDate: any, month: number, day: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    daysInMonth

    +
      +
    • daysInMonth(a: any, b: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    daysInWeek

    +
      +
    • daysInWeek(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    daysInYear

    +
      +
    • daysInYear(year: number): 366 | 365
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      +

      Returns 366 + | + 365 +

      +
    • +
    +
    +
    + +

    epoch

    +
      +
    • epoch(a: any): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    extraInfo

    +
      +
    • extraInfo(yearOrDate: any, month: number, day: number): object
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns object

      +
        +
      +
    • +
    +
    +
    + +

    formatYear

    +
      +
    • formatYear(year: number): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    fromJD

    + +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    fromJSDate

    + +
      +
    • + +

      Parameters

      +
        +
      • +
        date: any
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    fromMonthOfYear

    +
      +
    • fromMonthOfYear(year: number, month: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    isValid

    +
      +
    • isValid(yearOrDate: any, month: number, day: number): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    leapYear

    +
      +
    • leapYear(year: any): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: any
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    monthNames

    +
      +
    • monthNames(): string[]
    • +
    +
      +
    • + +

      Returns string[]

      +
    • +
    +
    +
    + +

    monthOfYear

    +
      +
    • monthOfYear(year: number, month: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    monthsInYear

    +
      +
    • monthsInYear(year: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    newDate

    +
      +
    • newDate(yearOrDate: any, month: number, day: number): CalendarDate
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    pad

    +
      +
    • pad(a: any, b: any): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    quarterMonthOffset

    +
      +
    • quarterMonthOffset(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    set

    +
      +
    • set(a: any, b: any, c: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    toJD

    +
      +
    • toJD(year: number, month: number, day: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    toJSDate

    +
      +
    • toJSDate(yearOrDate: any, month: number, day: number): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    today

    +
      +
    • today(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    weekDay

    +
      +
    • weekDay(a: any, b: any, c: any): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    weekOfYear

    +
      +
    • weekOfYear(year: number, month: number, day: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/gregoriancalendar.html b/docs/classes/gregoriancalendar.html new file mode 100644 index 0000000..9399d9f --- /dev/null +++ b/docs/classes/gregoriancalendar.html @@ -0,0 +1,1454 @@ + + + + + + GregorianCalendar | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class GregorianCalendar

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    + +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    _dateFormat

    +
    _dateFormat: string
    + +
    +
    + +

    _dayNames

    +
    _dayNames: string[]
    + +
    +
    + +

    _dayNamesMin

    +
    _dayNamesMin: string[]
    + +
    +
    + +

    _dayNamesShort

    +
    _dayNamesShort: string[]
    + +
    +
    + +

    _daysPerMonth

    +
    _daysPerMonth: number[]
    + +
    +
    + +

    _epochs

    +
    _epochs: string[]
    + +
    +
    + +

    _firstDay

    +
    _firstDay: number
    + +
    +
    + +

    _firstMonth

    +
    _firstMonth: number
    + +
    +
    + +

    _hasYearZero

    +
    _hasYearZero: boolean
    + +
    +
    + +

    _invalids

    +
    _invalids: object
    + +
    +

    Type declaration

    +
      +
    • +
      differentCalendars: string
      +
    • +
    • +
      invalidCalendar: string
      +
    • +
    • +
      invalidDate: string
      +
    • +
    • +
      invalidMonth: string
      +
    • +
    • +
      invalidYear: string
      +
    • +
    +
    +
    +
    + +

    _isRTL

    +
    _isRTL: boolean
    + +
    +
    + +

    _jdEpoch

    +
    _jdEpoch: number
    + +
    +
    + +

    _minDay

    +
    _minDay: number
    + +
    +
    + +

    _minMonth

    +
    _minMonth: number
    + +
    +
    + +

    _monthNames

    +
    _monthNames: string[]
    + +
    +
    + +

    _monthNamesShort

    +
    _monthNamesShort: string[]
    + +
    +
    + +

    _name

    +
    _name: string
    + +
    +
    + +

    _validateLevel

    +
    _validateLevel: number
    + +
    +
    +
    +

    Methods

    +
    + +

    _add

    +
      +
    • _add(yearOrDate: any, month: number, day: string): any[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: string
        +
      • +
      +

      Returns any[]

      +
    • +
    +
    +
    + +

    _correctAdd

    +
      +
    • _correctAdd(a: any, b: any, c: any, d: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      • +
        d: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    _validate

    +
      +
    • _validate(yearOrDate: any, month: number, day: number, invalidText: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      • +
        invalidText: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    add

    +
      +
    • add(yearOrDate: any, month: number, day: string): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: string
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    dayOfWeek

    +
      +
    • dayOfWeek(yearOrDate: any, month: number, day: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    dayOfYear

    +
      +
    • dayOfYear(yearOrDate: any, month: number, day: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    daysInMonth

    +
      +
    • daysInMonth(a: any, b: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    daysInWeek

    +
      +
    • daysInWeek(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    daysInYear

    +
      +
    • daysInYear(year: number): 366 | 365
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      +

      Returns 366 + | + 365 +

      +
    • +
    +
    +
    + +

    epoch

    +
      +
    • epoch(a: any): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    extraInfo

    +
      +
    • extraInfo(yearOrDate: any, month: number, day: number): object
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns object

      +
        +
      +
    • +
    +
    +
    + +

    formatYear

    +
      +
    • formatYear(year: number): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    fromJD

    + +
      +
    • + +

      Parameters

      +
        +
      • +
        f: any
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    fromJSDate

    + +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    fromMonthOfYear

    +
      +
    • fromMonthOfYear(year: number, month: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    isValid

    +
      +
    • isValid(yearOrDate: any, month: number, day: number): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    leapYear

    +
      +
    • leapYear(a: number): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: number
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    monthNames

    +
      +
    • monthNames(): string[]
    • +
    +
      +
    • + +

      Returns string[]

      +
    • +
    +
    +
    + +

    monthOfYear

    +
      +
    • monthOfYear(year: number, month: number): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    monthsInYear

    +
      +
    • monthsInYear(date: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        date: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    newDate

    +
      +
    • newDate(yearOrDate: any, month: number, day: number): CalendarDate
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        yearOrDate: any
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: number
        +
      • +
      +

      Returns CalendarDate

      +
    • +
    +
    +
    + +

    pad

    +
      +
    • pad(a: any, b: any): string
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      +

      Returns string

      +
    • +
    +
    +
    + +

    quarterMonthOffset

    +
      +
    • quarterMonthOffset(): number
    • +
    +
      +
    • + +

      Returns number

      +
    • +
    +
    +
    + +

    set

    +
      +
    • set(a: any, b: any, c: any): any
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      +

      Returns any

      +
    • +
    +
    +
    + +

    toJD

    +
      +
    • toJD(c: any, d: any, e: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        c: any
        +
      • +
      • +
        d: any
        +
      • +
      • +
        e: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    + +

    toJSDate

    +
      +
    • toJSDate(a: any, b: any, c: any): Date
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      +

      Returns Date

      +
    • +
    +
    +
    + +

    today

    +
      +
    • today(): any
    • +
    +
      +
    • + +

      Returns any

      +
    • +
    +
    +
    + +

    weekDay

    +
      +
    • weekDay(a: any, b: any, c: any): boolean
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        a: any
        +
      • +
      • +
        b: any
        +
      • +
      • +
        c: any
        +
      • +
      +

      Returns boolean

      +
    • +
    +
    +
    + +

    weekOfYear

    +
      +
    • weekOfYear(year: number, month: number, day: any): number
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      • +
        month: number
        +
      • +
      • +
        day: any
        +
      • +
      +

      Returns number

      +
    • +
    +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/period.html b/docs/classes/period.html new file mode 100644 index 0000000..9874297 --- /dev/null +++ b/docs/classes/period.html @@ -0,0 +1,594 @@ + + + + + + Period | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class Period

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    description
    +

    Period class offers capabilities to get periods for different period types

    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + Period +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +

    Methods

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    Private _calendarId

    +
    _calendarId: string
    + +
    +
    + +

    Private _currentYear

    +
    _currentYear: number
    + +
    +
    + +

    Private _periodType

    +
    _periodType: PeriodType
    + +
    +
    + +

    Private _periods

    +
    _periods: PeriodInterface[]
    + +
    +
    + +

    Private _preferences

    +
    _preferences: any
    + +
    +
    + +

    Private _type

    +
    _type: string
    + +
    +
    + +

    Private _year

    +
    _year: number
    + +
    +
    +
    +

    Methods

    +
    + +

    currentYear

    +
      +
    • currentYear(): number
    • +
    + +
    +
    + +

    get

    +
      +
    • get(): this
    • +
    + +
    +
    + +

    list

    + + +
    +
    + +

    setCalendar

    +
      +
    • setCalendar(calendarId: string): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        calendarId: string
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    setPreferences

    +
      +
    • setPreferences(preferences: any): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        preferences: any
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    setType

    +
      +
    • setType(type: string): this
    • +
    +
      +
    • + +
      +
      +

      Set period type

      +
      +
      +

      Parameters

      +
        +
      • +
        type: string
        +
        +
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    setYear

    +
      +
    • setYear(year: number): this
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: number
        +
      • +
      +

      Returns this

      +
    • +
    +
    +
    + +

    type

    +
      +
    • type(): string
    • +
    + +
    +
    + +

    year

    +
      +
    • year(): number
    • +
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/periodinstance.html b/docs/classes/periodinstance.html new file mode 100644 index 0000000..de882b8 --- /dev/null +++ b/docs/classes/periodinstance.html @@ -0,0 +1,1233 @@ + + + + + + PeriodInstance | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class PeriodInstance

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + PeriodInstance +
    • +
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    +
      +
    • new PeriodInstance(calendarId: string, type: string, preferences: any, year: number): PeriodInstance
    • +
    + +
    +
    +
    +

    Properties

    +
    + +

    Private _biMonth

    +
    _biMonth: number
    + +
    +
    + +

    Private _calendar

    +
    _calendar: Calendar
    + +
    +
    + +

    Private _month

    +
    _month: number
    + +
    +
    + +

    Private _monthNames

    +
    _monthNames: string[]
    + +
    +
    + +

    Private _periods

    +
    _periods: any[]
    + +
    +
    + +

    Private _preferences

    +
    _preferences: any
    + +
    +
    + +

    Private _quarter

    +
    _quarter: number
    + +
    +
    + +

    Private _quarterMonthOffset

    +
    _quarterMonthOffset: number
    + +
    +
    + +

    Private _sixMonth

    +
    _sixMonth: number
    + +
    +
    + +

    Private _sixMonthApril

    +
    _sixMonthApril: number
    + +
    +
    + +

    Private _sixMonthNovember

    +
    _sixMonthNovember: number
    + +
    +
    + +

    Private _type

    +
    _type: string
    + +
    +
    + +

    Private _year

    +
    _year: number
    + +
    +
    +
    +

    Methods

    +
    + +

    currentYear

    +
      +
    • currentYear(): any
    • +
    + +
    +
    + +

    get

    +
      +
    • get(): any[]
    • +
    + +
    +
    + +

    getBiMonthlyPeriodId

    +
      +
    • getBiMonthlyPeriodId(year: number, biMonthNumber: number): string
    • +
    + +
    +
    + +

    getBiMonthlyPeriods

    +
      +
    • getBiMonthlyPeriods(year: number): object[]
    • +
    + +
    +
    + +

    getChildrenPeriods

    +
      +
    • getChildrenPeriods(parentId: string, parentType: string, childrenType: string, preferences: any): any[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        parentId: string
        +
      • +
      • +
        parentType: string
        +
      • +
      • +
        childrenType: string
        +
      • +
      • +
        preferences: any
        +
      • +
      +

      Returns any[]

      +
    • +
    +
    +
    + +

    getCurrentPeriodId

    +
      +
    • getCurrentPeriodId(type: string): any
    • +
    + +
    +
    + +

    getMonthPeriodId

    +
      +
    • getMonthPeriodId(year: number, monthNumber: number): string
    • +
    + +
    +
    + +

    getMonthWithYears

    +
      +
    • getMonthWithYears(monthNames: string[], year: number, offset: number): object[]
    • +
    + +
    +
    + +

    getMonthlyPeriods

    +
      +
    • getMonthlyPeriods(year: number, offset?: number): any[]
    • +
    + +
    +
    + +

    getMonthsByOffset

    +
      +
    • getMonthsByOffset(months: any[], offset: number): any[]
    • +
    + +
    +
    + +

    getPeriodNameByRange

    +
      +
    • getPeriodNameByRange(startMonth: any, endMonth: any, year: number): string
    • +
    + +
    +
    + +

    getPeriods

    +
      +
    • getPeriods(type: string, year: number, offset?: number): any[]
    • +
    + +
    +
    + +

    getQuarterPeriodId

    +
      +
    • getQuarterPeriodId(year: number, quarterNumber: number): string
    • +
    + +
    +
    + +

    getQuarterlyPeriods

    +
      +
    • getQuarterlyPeriods(year: number): object[]
    • +
    + +
    +
    + +

    getRelativePeriods

    +
      +
    • getRelativePeriods(type: string): object[] | object[] | object[] | object[] | object[] | object[] | object[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        type: string
        +
      • +
      +

      Returns object[] + | + object[] + | + object[] + | + object[] + | + object[] + | + object[] + | + object[] +

      +
    • +
    +
    +
    + +

    getSixMonthlyAprilPeriods

    +
      +
    • getSixMonthlyAprilPeriods(year: number): object[]
    • +
    + +
    +
    + +

    getSixMonthlyNovemberPeriods

    +
      +
    • getSixMonthlyNovemberPeriods(year: number): object[]
    • +
    + +
    +
    + +

    getSixMonthlyPeriodId

    +
      +
    • getSixMonthlyPeriodId(year: number, sixMonthNumber: number, sixMonthType?: string): string
    • +
    + +
    +
    + +

    getSixMonthlyPeriods

    +
      +
    • getSixMonthlyPeriods(year: number): object[]
    • +
    + +
    +
    + +

    getYearlyMonthIndex

    +
      +
    • getYearlyMonthIndex(type: string): void
    • +
    + +
    +
    + +

    getYearlyPeriodId

    +
      +
    • getYearlyPeriodId(year: number, suffix?: string): string
    • +
    + +
    +
    + +

    getYearlyPeriodName

    +
      +
    • getYearlyPeriodName(year: number, monthIndex?: number): string
    • +
    + +
    +
    + +

    getYearlyPeriods

    +
      +
    • getYearlyPeriods(year: any, type: string, idSuffix?: string, monthIndex?: number): object[]
    • +
    +
      +
    • + +

      Parameters

      +
        +
      • +
        year: any
        +
      • +
      • +
        type: string
        +
      • +
      • +
        Default value idSuffix: string = ""
        +
      • +
      • +
        Default value monthIndex: number = -1
        +
      • +
      +

      Returns object[]

      +
    • +
    +
    +
    + +

    includeLastPeriods

    +
      +
    • includeLastPeriods(periods: any[], type: string, year: number): any[]
    • +
    + +
    +
    + +

    omitFuturePeriods

    +
      +
    • omitFuturePeriods(periods: any[], type: string): any[]
    • +
    + +
    +
    + +

    year

    +
      +
    • year(): number
    • +
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/classes/periodtype.html b/docs/classes/periodtype.html new file mode 100644 index 0000000..6c2c980 --- /dev/null +++ b/docs/classes/periodtype.html @@ -0,0 +1,329 @@ + + + + + + PeriodType | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Class PeriodType

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + PeriodType +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Constructors

    + +
    +
    +

    Properties

    + +
    +
    +

    Methods

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    + +

    constructor

    + + +
    +
    +
    +

    Properties

    +
    + +

    Private _periodTypes

    +
    _periodTypes: PeriodTypeInterface[]
    + +
    +
    +
    +

    Methods

    +
    + +

    get

    + + +
    +
    + +

    isValid

    +
      +
    • isValid(type: string): boolean
    • +
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/enums/calendarepoch.html b/docs/enums/calendarepoch.html new file mode 100644 index 0000000..9b57ddc --- /dev/null +++ b/docs/enums/calendarepoch.html @@ -0,0 +1,250 @@ + + + + + + CalendarEpoch | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Enumeration CalendarEpoch

    +
    +
    +
    +
    +
    +
    +
    +

    Index

    +
    +
    +
    +

    Enumeration members

    + +
    +
    +
    +
    +
    +

    Enumeration members

    +
    + +

    ETHIOPIAN

    +
    ETHIOPIAN: = 1723856
    + +
    +
    + +

    GREGORIAN

    +
    GREGORIAN: = 1721425.5
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/enums/calendarname.html b/docs/enums/calendarname.html new file mode 100644 index 0000000..c53e4b8 --- /dev/null +++ b/docs/enums/calendarname.html @@ -0,0 +1,250 @@ + + + + + + CalendarName | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Enumeration CalendarName

    +
    +
    +
    +
    +
    +
    +
    +

    Index

    +
    +
    +
    +

    Enumeration members

    + +
    +
    +
    +
    +
    +

    Enumeration members

    +
    + +

    ETHIOPIAN

    +
    ETHIOPIAN: = "Ethiopian"
    + +
    +
    + +

    GREGORIAN

    +
    GREGORIAN: = "Gregorian"
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/enums/periodsortorderenum.html b/docs/enums/periodsortorderenum.html new file mode 100644 index 0000000..5182146 --- /dev/null +++ b/docs/enums/periodsortorderenum.html @@ -0,0 +1,250 @@ + + + + + + PeriodSortOrderEnum | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Enumeration PeriodSortOrderEnum

    +
    +
    +
    +
    +
    +
    +
    +

    Index

    +
    +
    +
    +

    Enumeration members

    + +
    +
    +
    +
    +
    +

    Enumeration members

    +
    + +

    ASCENDING

    +
    ASCENDING: = "ASC"
    + +
    +
    + +

    DESCENDING

    +
    DESCENDING: = "DESC"
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/enums/periodtypeenum.html b/docs/enums/periodtypeenum.html new file mode 100644 index 0000000..eff597c --- /dev/null +++ b/docs/enums/periodtypeenum.html @@ -0,0 +1,474 @@ + + + + + + PeriodTypeEnum | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Enumeration PeriodTypeEnum

    +
    +
    +
    +
    +
    +
    +
    +

    Index

    +
    + +
    +
    +
    +

    Enumeration members

    +
    + +

    BI_MONTHLY

    +
    BI_MONTHLY: = "BiMonthly"
    + +
    +
    + +

    FINANCIAL_APRIL

    +
    FINANCIAL_APRIL: = "FinancialApril"
    + +
    +
    + +

    FINANCIAL_JULY

    +
    FINANCIAL_JULY: = "FinancialJuly"
    + +
    +
    + +

    FINANCIAL_NOVEMBER

    +
    FINANCIAL_NOVEMBER: = "FinancialNovember"
    + +
    +
    + +

    FINANCIAL_OCTOBER

    +
    FINANCIAL_OCTOBER: = "FinancialOctober"
    + +
    +
    + +

    MONTHLY

    +
    MONTHLY: = "Monthly"
    + +
    +
    + +

    QUARTERLY

    +
    QUARTERLY: = "Quarterly"
    + +
    +
    + +

    RELATIVE_BI_MONTH

    +
    RELATIVE_BI_MONTH: = "RelativeBiMonth"
    + +
    +
    + +

    RELATIVE_FINANCIAL_YEAR

    +
    RELATIVE_FINANCIAL_YEAR: = "RelativeFinancialYear"
    + +
    +
    + +

    RELATIVE_MONTH

    +
    RELATIVE_MONTH: = "RelativeMonth"
    + +
    +
    + +

    RELATIVE_QUARTER

    +
    RELATIVE_QUARTER: = "RelativeQuarter"
    + +
    +
    + +

    RELATIVE_SIX_MONTH

    +
    RELATIVE_SIX_MONTH: = "RelativeSixMonth"
    + +
    +
    + +

    RELATIVE_WEEK

    +
    RELATIVE_WEEK: = "RelativeWeek"
    + +
    +
    + +

    RELATIVE_YEAR

    +
    RELATIVE_YEAR: = "RelativeYear"
    + +
    +
    + +

    SIX_MONTHLY

    +
    SIX_MONTHLY: = "SixMonthly"
    + +
    +
    + +

    SIX_MONTHLY_APRIL

    +
    SIX_MONTHLY_APRIL: = "SixMonthlyApril"
    + +
    +
    + +

    SIX_MONTHLY_NOVEMBER

    +
    SIX_MONTHLY_NOVEMBER: = "SixMonthlyNovember"
    + +
    +
    + +

    YEARLY

    +
    YEARLY: = "Yearly"
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/globals.html b/docs/globals.html index fa43ede..b736901 100644 --- a/docs/globals.html +++ b/docs/globals.html @@ -3,7 +3,7 @@ - Typescript Library + DHIS2 Period @@ -22,7 +22,7 @@
  • Preparing search index...
  • The search index is not available
  • - Typescript Library + DHIS2 Period
    @@ -54,7 +54,7 @@ Globals -

    Typescript Library

    +

    DHIS2 Period

    @@ -66,48 +66,66 @@

    Index

    -

    Functions

    -
    - -

    sum

    -
      -
    • sum(a: number, b: number): number
    • -
    -
      -
    • - -
      -
      -

      Sum function

      -
      -
      -

      Parameters

      -
        -
      • -
        a: number
        -
      • -
      • -
        b: number
        -
        -
        -
      • -
      -

      Returns number

      -
    • -
    +

    Variables

    +
    + +

    Let periodType

    +
    periodType: PeriodType = new PeriodType()
    + +
    +
    + +

    Const periodTypes

    +
    periodTypes: PeriodTypeInterface[] = [{ id: PeriodTypeEnum.MONTHLY, name: PeriodTypeEnum.MONTHLY, rank: 3 },{ id: PeriodTypeEnum.BI_MONTHLY, name: PeriodTypeEnum.BI_MONTHLY, rank: 4 },{ id: PeriodTypeEnum.QUARTERLY, name: PeriodTypeEnum.QUARTERLY, rank: 5 },{ id: PeriodTypeEnum.SIX_MONTHLY, name: PeriodTypeEnum.SIX_MONTHLY, rank: 6 },{id: PeriodTypeEnum.SIX_MONTHLY_APRIL,name: PeriodTypeEnum.SIX_MONTHLY_APRIL,rank: 6,},{id: PeriodTypeEnum.SIX_MONTHLY_NOVEMBER,name: PeriodTypeEnum.SIX_MONTHLY_NOVEMBER,rank: 6,},{ id: PeriodTypeEnum.YEARLY, name: PeriodTypeEnum.YEARLY, rank: 7 },{id: PeriodTypeEnum.FINANCIAL_APRIL,name: PeriodTypeEnum.FINANCIAL_APRIL,rank: 7,},{id: PeriodTypeEnum.FINANCIAL_JULY,name: PeriodTypeEnum.FINANCIAL_JULY,rank: 7,},{id: PeriodTypeEnum.FINANCIAL_OCTOBER,name: PeriodTypeEnum.FINANCIAL_OCTOBER,rank: 7,},{id: PeriodTypeEnum.FINANCIAL_NOVEMBER,name: PeriodTypeEnum.FINANCIAL_NOVEMBER,rank: 7,},{id: PeriodTypeEnum.RELATIVE_WEEK,name: PeriodTypeEnum.RELATIVE_WEEK,rank: 2,},{id: PeriodTypeEnum.RELATIVE_MONTH,name: PeriodTypeEnum.RELATIVE_MONTH,rank: 3,},{id: PeriodTypeEnum.RELATIVE_BI_MONTH,name: PeriodTypeEnum.RELATIVE_BI_MONTH,rank: 3,},{id: PeriodTypeEnum.RELATIVE_SIX_MONTH,name: PeriodTypeEnum.RELATIVE_SIX_MONTH,rank: 6,},{id: PeriodTypeEnum.RELATIVE_QUARTER,name: PeriodTypeEnum.RELATIVE_QUARTER,rank: 5,},{id: PeriodTypeEnum.RELATIVE_YEAR,name: PeriodTypeEnum.RELATIVE_YEAR,rank: 7,},{id: PeriodTypeEnum.RELATIVE_FINANCIAL_YEAR,name: PeriodTypeEnum.RELATIVE_FINANCIAL_YEAR,rank: 7,},]
    +
    @@ -121,8 +139,56 @@

    Returns number diff --git a/docs/index.html b/docs/index.html index 83d72e5..6aeccc7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,7 @@ - Typescript Library + DHIS2 Period @@ -22,7 +22,7 @@
  • Preparing search index...
  • The search index is not available
  • - Typescript Library + DHIS2 Period
    @@ -54,7 +54,7 @@ Globals -

    Typescript Library

    +

    DHIS2 Period

    @@ -78,8 +78,56 @@

    Typescript Library

    diff --git a/docs/interfaces/periodinterface.html b/docs/interfaces/periodinterface.html new file mode 100644 index 0000000..fe9e65f --- /dev/null +++ b/docs/interfaces/periodinterface.html @@ -0,0 +1,258 @@ + + + + + + PeriodInterface | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface PeriodInterface

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + PeriodInterface +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    id

    +
    id: string
    + +
    +
    + +

    name

    +
    name: string
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/periodpreferencesinterface.html b/docs/interfaces/periodpreferencesinterface.html new file mode 100644 index 0000000..4e170ab --- /dev/null +++ b/docs/interfaces/periodpreferencesinterface.html @@ -0,0 +1,258 @@ + + + + + + PeriodPreferencesInterface | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface PeriodPreferencesInterface

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + PeriodPreferencesInterface +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    childrenPeriodSortOrder

    +
    childrenPeriodSortOrder: string
    + +
    +
    + +

    openFuturePeriods

    +
    openFuturePeriods: number
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/docs/interfaces/periodtypeinterface.html b/docs/interfaces/periodtypeinterface.html new file mode 100644 index 0000000..b0fd7b7 --- /dev/null +++ b/docs/interfaces/periodtypeinterface.html @@ -0,0 +1,272 @@ + + + + + + PeriodTypeInterface | DHIS2 Period + + + + + +
    +
    +
    +
    + +
    +
    + Options +
    +
    + All +
      +
    • Public
    • +
    • Public/Protected
    • +
    • All
    • +
    +
    + + + + +
    +
    + Menu +
    +
    +
    +
    +
    +
    + +

    Interface PeriodTypeInterface

    +
    +
    +
    +
    +
    +
    +
    +

    Hierarchy

    +
      +
    • + PeriodTypeInterface +
    • +
    +
    +
    +

    Index

    +
    +
    +
    +

    Properties

    + +
    +
    +
    +
    +
    +

    Properties

    +
    + +

    id

    +
    id: string
    + +
    +
    + +

    name

    +
    name: string
    + +
    +
    + +

    rank

    +
    rank: number
    + +
    +
    +
    + +
    +
    +
    +
    +

    Legend

    +
    +
      +
    • Module
    • +
    • Object literal
    • +
    • Variable
    • +
    • Function
    • +
    • Function with type parameter
    • +
    • Index signature
    • +
    • Type alias
    • +
    • Type alias with type parameter
    • +
    +
      +
    • Enumeration
    • +
    • Enumeration member
    • +
    • Property
    • +
    • Method
    • +
    +
      +
    • Interface
    • +
    • Interface with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Index signature
    • +
    +
      +
    • Class
    • +
    • Class with type parameter
    • +
    • Constructor
    • +
    • Property
    • +
    • Method
    • +
    • Accessor
    • +
    • Index signature
    • +
    +
      +
    • Inherited constructor
    • +
    • Inherited property
    • +
    • Inherited method
    • +
    • Inherited accessor
    • +
    +
      +
    • Protected property
    • +
    • Protected method
    • +
    • Protected accessor
    • +
    +
      +
    • Private property
    • +
    • Private method
    • +
    • Private accessor
    • +
    +
      +
    • Static property
    • +
    • Static method
    • +
    +
    +
    +
    +
    +

    Generated using TypeDoc

    +
    +
    + + + + \ No newline at end of file diff --git a/lib/src/constants/period.constant.ts b/lib/src/constants/period.constant.ts new file mode 100644 index 0000000..a0a324a --- /dev/null +++ b/lib/src/constants/period.constant.ts @@ -0,0 +1,4 @@ +export enum PeriodSortOrderEnum { + ASCENDING = 'ASC', + DESCENDING = 'DESC', +} diff --git a/lib/src/interfaces/period-preferences.interface.ts b/lib/src/interfaces/period-preferences.interface.ts new file mode 100644 index 0000000..5da4c37 --- /dev/null +++ b/lib/src/interfaces/period-preferences.interface.ts @@ -0,0 +1,4 @@ +export interface PeriodPreferencesInterface { + childrenPeriodSortOrder: string; + openFuturePeriods: number; +} diff --git a/lib/src/interfaces/period.interface.ts b/lib/src/interfaces/period.interface.ts new file mode 100644 index 0000000..137583e --- /dev/null +++ b/lib/src/interfaces/period.interface.ts @@ -0,0 +1,4 @@ +export interface PeriodInterface { + id: string; + name: string; +} diff --git a/lib/src/model/period.spec.ts b/lib/src/model/period.spec.ts index 465dd8a..2e063cd 100644 --- a/lib/src/model/period.spec.ts +++ b/lib/src/model/period.spec.ts @@ -1,4 +1,5 @@ import { Period } from './period'; +import { PeriodSortOrderEnum } from '../constants/period.constant'; describe('Given and instance of period class', () => { let period = new Period(); @@ -86,7 +87,7 @@ describe('Given I set quarterly period type for gregorian calendar', () => { .setCalendar('gregorian') .setPreferences({ allowFuturePeriods: false, - childrenPeriodSortOrder: 'ASC', + childrenPeriodSortOrder: PeriodSortOrderEnum.ASCENDING, }) .get(); const periodResult = period.list(); diff --git a/lib/src/model/period.ts b/lib/src/model/period.ts index 00b31d8..82fc88e 100644 --- a/lib/src/model/period.ts +++ b/lib/src/model/period.ts @@ -1,5 +1,6 @@ import { PeriodInstance } from '../utilities/period-instance.utility'; import { PeriodType } from './period-type'; +import { PeriodInterface } from '../interfaces/period.interface'; /** * @description @@ -11,7 +12,7 @@ export class Period { private _type: string; private _year: number; private _preferences: any; - private _periods: any[]; + private _periods: PeriodInterface[]; private _currentYear: number; constructor() { this._calendarId = 'gregorian'; @@ -69,19 +70,19 @@ export class Period { return this; } - type() { + type(): string { return this._type; } - list() { + list(): PeriodInterface[] { return this._periods; } - year() { + year(): number { return this._year; } - currentYear() { + currentYear(): number { return this._currentYear; } } diff --git a/lib/src/utilities/base-calendar.utility.ts b/lib/src/utilities/calendar/base-calendar.utility.ts similarity index 99% rename from lib/src/utilities/base-calendar.utility.ts rename to lib/src/utilities/calendar/base-calendar.utility.ts index 1ef9fbb..f81f5ec 100644 --- a/lib/src/utilities/base-calendar.utility.ts +++ b/lib/src/utilities/calendar/base-calendar.utility.ts @@ -1,6 +1,6 @@ import { CalendarDate } from './calendar-date.utility'; -export class BaseCalender { +export class BaseCalendar { _validateLevel: number; _name: string; _hasYearZero: boolean; diff --git a/lib/src/utilities/calendar-date.utility.ts b/lib/src/utilities/calendar/calendar-date.utility.ts similarity index 100% rename from lib/src/utilities/calendar-date.utility.ts rename to lib/src/utilities/calendar/calendar-date.utility.ts diff --git a/lib/src/utilities/calendar.utility.ts b/lib/src/utilities/calendar/calendar.utility.ts similarity index 100% rename from lib/src/utilities/calendar.utility.ts rename to lib/src/utilities/calendar/calendar.utility.ts diff --git a/lib/src/utilities/ethiopian-calendar.utility.ts b/lib/src/utilities/calendar/ethiopian-calendar.utility.ts similarity index 94% rename from lib/src/utilities/ethiopian-calendar.utility.ts rename to lib/src/utilities/calendar/ethiopian-calendar.utility.ts index b4c7b34..94bab8a 100644 --- a/lib/src/utilities/ethiopian-calendar.utility.ts +++ b/lib/src/utilities/calendar/ethiopian-calendar.utility.ts @@ -1,7 +1,7 @@ -import { BaseCalender } from './base-calendar.utility'; -import { CalendarEpoch, CalendarName } from '../constants/calendar.constant'; +import { BaseCalendar } from './base-calendar.utility'; +import { CalendarEpoch, CalendarName } from '../../constants/calendar.constant'; -export class EthiopianCalendar extends BaseCalender { +export class EthiopianCalendar extends BaseCalendar { private _gregorianEpoch: number; private _quarterMonthOffset: number; constructor() { diff --git a/lib/src/utilities/gregorian-calendar.utility.ts b/lib/src/utilities/calendar/gregorian-calendar.utility.ts similarity index 94% rename from lib/src/utilities/gregorian-calendar.utility.ts rename to lib/src/utilities/calendar/gregorian-calendar.utility.ts index 749917c..1fc0e81 100644 --- a/lib/src/utilities/gregorian-calendar.utility.ts +++ b/lib/src/utilities/calendar/gregorian-calendar.utility.ts @@ -1,7 +1,7 @@ -import { BaseCalender } from './base-calendar.utility'; -import { CalendarEpoch, CalendarName } from '../constants/calendar.constant'; +import { BaseCalendar } from './base-calendar.utility'; +import { CalendarEpoch, CalendarName } from '../../constants/calendar.constant'; -export class GregorianCalendar extends BaseCalender { +export class GregorianCalendar extends BaseCalendar { constructor() { super(); this._name = CalendarName.GREGORIAN; diff --git a/lib/src/utilities/period-instance.utility.ts b/lib/src/utilities/period-instance.utility.ts index 569a96a..c05563f 100644 --- a/lib/src/utilities/period-instance.utility.ts +++ b/lib/src/utilities/period-instance.utility.ts @@ -1,9 +1,8 @@ import { chunk, head, last, range } from 'lodash'; -import { Calendar } from './calendar.utility'; +import { Calendar } from './calendar/calendar.utility'; export class PeriodInstance { - private _calendarId: string; private _type: string; private _preferences: any; private _periods: any[]; @@ -24,12 +23,11 @@ export class PeriodInstance { preferences: any, year: number ) { - this._calendarId = calendarId || 'gregorian'; this._type = type; this._preferences = preferences; this._periods = []; - this._calendar = new Calendar(calendarId); + this._calendar = new Calendar(calendarId || 'gregorian'); if (!this._calendar) { throw new Error('Calendar could not be set'); diff --git a/package-lock.json b/package-lock.json index f903c3e..3065547 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1510,6 +1510,15 @@ "regenerator-runtime": "^0.11.0" } }, + "backbone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/backbone/-/backbone-1.4.0.tgz", + "integrity": "sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==", + "dev": true, + "requires": { + "underscore": ">=1.8.3" + } + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -1939,6 +1948,15 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, + "catharsis": { + "version": "0.8.11", + "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.8.11.tgz", + "integrity": "sha512-a+xUyMV7hD1BrDQA/3iPV7oc+6W26BgVJO05PGEoatMyIuPScQKsde6i3YorWX1qs+AZjnJ18NqdKoCtKiNh1g==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", @@ -2971,6 +2989,12 @@ "tapable": "^1.0.0" } }, + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, "errno": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", @@ -4546,6 +4570,12 @@ "minimalistic-assert": "^1.0.1" } }, + "highlight.js": { + "version": "9.16.2", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.16.2.tgz", + "integrity": "sha512-feMUrVLZvjy0oC7FVJQcSQRqbBq9kwqnYE4+Kj9ZjbHh3g+BisiPgF49NyQbVLNdrL/qqZr3Ca9yOKwgn2i/tw==", + "dev": true + }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -6185,6 +6215,12 @@ } } }, + "jquery": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.4.1.tgz", + "integrity": "sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw==", + "dev": true + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -6209,12 +6245,51 @@ } } }, + "js2xmlparser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.0.tgz", + "integrity": "sha512-WuNgdZOXVmBk5kUPMcTcVUpbGRzLfNkv7+7APq7WiDihpXVKrgxo6wwRpRl9OQeEBgKCVk9mR7RbzrnNWC8oBw==", + "dev": true, + "requires": { + "xmlcreate": "^2.0.0" + } + }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", "dev": true }, + "jsdoc": { + "version": "3.6.3", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.3.tgz", + "integrity": "sha512-Yf1ZKA3r9nvtMWHO1kEuMZTlHOF8uoQ0vyo5eH7SQy5YeIiHM+B0DgKnn+X6y6KDYZcF7G2SPkKF+JORCXWE/A==", + "dev": true, + "requires": { + "@babel/parser": "^7.4.4", + "bluebird": "^3.5.4", + "catharsis": "^0.8.11", + "escape-string-regexp": "^2.0.0", + "js2xmlparser": "^4.0.0", + "klaw": "^3.0.0", + "markdown-it": "^8.4.2", + "markdown-it-anchor": "^5.0.2", + "marked": "^0.7.0", + "mkdirp": "^0.5.1", + "requizzle": "^0.2.3", + "strip-json-comments": "^3.0.1", + "taffydb": "2.6.2", + "underscore": "~1.9.1" + }, + "dependencies": { + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true + } + } + }, "jsdom": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz", @@ -6327,6 +6402,15 @@ "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true }, + "klaw": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", + "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.9" + } + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -6370,6 +6454,15 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", "dev": true }, + "linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "dev": true, + "requires": { + "uc.micro": "^1.0.1" + } + }, "load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", @@ -6414,12 +6507,24 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, + "lodash.clone": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", + "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=", + "dev": true + }, "lodash.map": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.map/-/lodash.map-4.6.0.tgz", "integrity": "sha1-dx7Hg540c9nEzeKLGTlMNWL09tM=", "dev": true }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, "lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", @@ -6456,6 +6561,12 @@ "yallist": "^3.0.2" } }, + "lunr": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.8.tgz", + "integrity": "sha512-oxMeX/Y35PNFuZoHp+jUj5OSEmLCaIH4KTFJh7a93cHBoFmpw2IoPs22VIz7vyO2YUnx2Tn9dzIwO2P/4quIRg==", + "dev": true + }, "make-dir": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", @@ -6525,6 +6636,31 @@ "object-visit": "^1.0.0" } }, + "markdown-it": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.2.tgz", + "integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "entities": "~1.1.1", + "linkify-it": "^2.0.0", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + } + }, + "markdown-it-anchor": { + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.2.5.tgz", + "integrity": "sha512-xLIjLQmtym3QpoY9llBgApknl7pxAcN3WDRc2d3rwpl+/YvDZHPmKscGs+L6E05xf2KrCXPBvosWt7MZukwSpQ==", + "dev": true + }, + "marked": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", + "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", + "dev": true + }, "md5.js": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", @@ -6536,6 +6672,12 @@ "safe-buffer": "^5.1.2" } }, + "mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", + "dev": true + }, "media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -7490,6 +7632,12 @@ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "dev": true }, + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true + }, "promise-inflight": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", @@ -7954,6 +8102,15 @@ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", "dev": true }, + "requizzle": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.3.tgz", + "integrity": "sha512-YanoyJjykPxGHii0fZP0uUPEXpvqfBDxWV7s6GKAiiOsiqhX6vHNyW3Qzdmqp/iq/ExbhaGbVrjB4ruEVSM4GQ==", + "dev": true, + "requires": { + "lodash": "^4.17.14" + } + }, "resolve": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.12.0.tgz", @@ -9015,6 +9172,12 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "taffydb": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz", + "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=", + "dev": true + }, "tapable": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", @@ -9317,12 +9480,90 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, + "typedoc": { + "version": "0.15.3", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.15.3.tgz", + "integrity": "sha512-RGX+dgnm9fyg5KHj81/ZhMiee0FfvJnjBXedhedhMWlrtM4YRv3pn8sYCWRt5TMi1Jli3/JG224pbFo3/3uaGw==", + "dev": true, + "requires": { + "@types/minimatch": "3.0.3", + "fs-extra": "^8.1.0", + "handlebars": "^4.5.3", + "highlight.js": "^9.16.2", + "lodash": "^4.17.15", + "marked": "^0.7.0", + "minimatch": "^3.0.0", + "progress": "^2.0.3", + "shelljs": "^0.8.3", + "typedoc-default-themes": "^0.6.1", + "typescript": "3.7.x" + }, + "dependencies": { + "handlebars": { + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz", + "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==", + "dev": true, + "requires": { + "neo-async": "^2.6.0", + "optimist": "^0.6.1", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4" + } + }, + "shelljs": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz", + "integrity": "sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==", + "dev": true, + "requires": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + } + }, + "typescript": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.2.tgz", + "integrity": "sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==", + "dev": true + } + } + }, + "typedoc-default-themes": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.6.1.tgz", + "integrity": "sha512-z5AWKqQDz7igl9WkUuafx8cEm4MPVQGMpbWE+3lwVOaq+U4UoLKBMnpFQWh/4fqQ3bGysXpOstMxy2OOzHezyw==", + "dev": true, + "requires": { + "backbone": "^1.4.0", + "jquery": "^3.4.1", + "lunr": "^2.3.8", + "underscore": "^1.9.1" + } + }, + "typedoc-webpack-plugin": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/typedoc-webpack-plugin/-/typedoc-webpack-plugin-1.1.4.tgz", + "integrity": "sha1-XTv8bYJKUvQBCe6J0r+8pfGsMKE=", + "dev": true, + "requires": { + "lodash.clone": "^4.5.0", + "lodash.merge": "^4.6.0" + } + }, "typescript": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.2.tgz", "integrity": "sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==", "dev": true }, + "uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "dev": true + }, "uglify-js": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz", @@ -9350,6 +9591,12 @@ "worker-farm": "^1.7.0" } }, + "underscore": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz", + "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==", + "dev": true + }, "union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", @@ -10189,6 +10436,12 @@ "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", "dev": true }, + "xmlcreate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.1.tgz", + "integrity": "sha512-MjGsXhKG8YjTKrDCXseFo3ClbMGvUD4en29H2Cev1dv4P/chlpw6KdYmlCWDkhosBVKRDjM836+3e3pm1cBNJA==", + "dev": true + }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index acfdeda..50a10d8 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,7 @@ "scripts": { "start": "webpack-dev-server --env dev", "build": "webpack --env prod", - "test": "jest", - "generate-docs": "node_modules/.bin/jsdoc -c jsdoc.json" + "test": "jest" }, "repository": { "type": "git", @@ -32,6 +31,8 @@ "jest": "^24.9.0", "ts-jest": "^24.0.2", "ts-loader": "^6.0.4", + "typedoc": "^0.15.3", + "typedoc-webpack-plugin": "^1.1.4", "typescript": "^3.6.2", "uglifyjs-webpack-plugin": "^2.2.0", "webpack": "^4.39.3", diff --git a/webpack.config.js b/webpack.config.js index 0480982..94e1c94 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,6 +1,7 @@ const path = require('path'); const UglifyJsPlugin = require('uglifyjs-webpack-plugin'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); +const TypedocWebpackPlugin = require('typedoc-webpack-plugin'); const CopyPlugin = require('copy-webpack-plugin'); const { env } = require('yargs').argv; const package = require('./package.json'); @@ -52,5 +53,16 @@ module.exports = { { from: 'lib/*.md', to: '', flatten: true }, { from: 'LICENSE', to: '' }, ]), + new TypedocWebpackPlugin( + { + name: 'DHIS2 Period', + mode: 'file', + out: '../docs', + theme: 'default', + includeDeclarations: false, + ignoreCompilerErrors: true, + }, + './lib' + ), ], };