@progress/kendo-angular-typography 1.2.0-dev.202201190925 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-angular-typography.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/fesm2015/index.js +1 -1
- package/dist/fesm5/index.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-typography.js +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@angular/core")):"function"==typeof define&&define.amd?define([
|
|
5
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@angular/core"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define([,],e):"object"==typeof exports?exports.KendoAngularTypography=e(require("@angular/core"),require("@progress/kendo-licensing")):t.KendoAngularTypography=e(t.ng.core,t.KendoLicensing)}(window,(function(t,e){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=3)}([function(t,e,r){"use strict";r.r(e),r.d(e,"__extends",(function(){return o})),r.d(e,"__assign",(function(){return i})),r.d(e,"__rest",(function(){return a})),r.d(e,"__decorate",(function(){return u})),r.d(e,"__param",(function(){return s})),r.d(e,"__metadata",(function(){return c})),r.d(e,"__awaiter",(function(){return l})),r.d(e,"__generator",(function(){return p})),r.d(e,"__createBinding",(function(){return f})),r.d(e,"__exportStar",(function(){return y})),r.d(e,"__values",(function(){return d})),r.d(e,"__read",(function(){return h})),r.d(e,"__spread",(function(){return m})),r.d(e,"__spreadArrays",(function(){return g})),r.d(e,"__await",(function(){return _})),r.d(e,"__asyncGenerator",(function(){return v})),r.d(e,"__asyncDelegator",(function(){return b})),r.d(e,"__asyncValues",(function(){return k})),r.d(e,"__makeTemplateObject",(function(){return x})),r.d(e,"__importStar",(function(){return O})),r.d(e,"__importDefault",(function(){return w})),r.d(e,"__classPrivateFieldGet",(function(){return j})),r.d(e,"__classPrivateFieldSet",(function(){return P}));
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
|
|
@@ -17,4 +17,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
17
17
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
18
18
|
PERFORMANCE OF THIS SOFTWARE.
|
|
19
19
|
***************************************************************************** */
|
|
20
|
-
var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function o(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var i=function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function u(t,e,r,n){var o,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function s(t,e){return function(r,n){e(r,n,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function f(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{s(n.next(t))}catch(t){i(t)}}function u(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))}function l(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function p(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}function y(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||(e[r]=t[r])}function d(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function g(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function m(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),o=0;for(e=0;e<r;e++)for(var i=arguments[e],a=0,u=i.length;a<u;a++,o++)n[o]=i[a];return n}function x(t){return this instanceof x?(this.v=t,this):new x(t)}function v(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(t,e||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(t){o[t]&&(n[t]=function(e){return new Promise((function(r,n){i.push([t,e,r,n])>1||u(t,e)}))})}function u(t,e){try{(r=o[t](e)).value instanceof x?Promise.resolve(r.value.v).then(s,c):f(i[0][2],r)}catch(t){f(i[0][3],t)}var r}function s(t){u("next",t)}function c(t){u("throw",t)}function f(t,e){t(e),i.shift(),i.length&&u(i[0][0],i[0][1])}}function _(t){var e,r;return e={},n("next"),n("throw",(function(t){throw t})),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:x(t[n](e)),done:"return"===n}:o?o(e):e}:o}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=d(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise((function(n,o){(function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)})(n,o,(e=t[r](e)).done,e.value)}))}}}function k(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function O(t){return t&&t.__esModule?t:{default:t}}function C(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function j(t,e,r){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,r),r}},function(e,r){e.exports=t},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(5),a=r(6),u=r(7),s=r(8),c=r(9),f=r(10),l=r(11),p=r(12),y=r(13),d=r(14),h=function(){function t(t,e,r){this.elementWrapper=t,this.renderer=e,this.element=r,this.typographyClasses=[],y.validatePackage(d.packageMetadata)}return t.prototype.ngOnChanges=function(){this.setTypographyClasses()},t.prototype.variantClass=function(){return l.typographyVariantOptions[this.variant]},t.prototype.themeColorClass=function(){return p.isPresent(this.themeColor)?"k-color-"+this.themeColor:null},t.prototype.textAlignClass=function(){return c.typographyTextAlignOptions[this.textAlign]},t.prototype.fontWeightClass=function(){return a.typographyFontWeightOptions[this.fontWeight]},t.prototype.fontSizeClass=function(){return i.typographyFontSizeOptions[this.fontSize]},t.prototype.textTransformClass=function(){return f.typographyTextTransformOptions[this.textTransform]},t.prototype.setMarginClassPerSide=function(t,e){return""+s.marginSides[t]+e},t.prototype.marginClasses=function(){var t=this;if("string"==typeof this.margin)return[u.typographyMarginOptions[this.margin]];if("number"==typeof this.margin)return["k-m-"+this.margin];if("object"==typeof this.margin){var e=[];return Object.keys(this.margin).forEach((function(r){p.isPresent(t.margin[r])&&e.push(t.setMarginClassPerSide(r,t.margin[r]))})),e}},t.prototype.setTypographyClasses=function(){var t=this,e=this.element.nativeElement;this.typographyClasses.forEach((function(r){t.renderer.removeClass(e,r)})),this.typographyClasses=[this.variantClass(),this.fontSizeClass(),this.fontWeightClass(),this.textTransformClass(),this.textAlignClass(),this.themeColorClass()],this.margin&&this.marginClasses().forEach((function(e){t.typographyClasses.push(e)})),this.typographyClasses.forEach((function(r){p.isPresent(r)&&t.renderer.addClass(e,r)}))},n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"variant",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"fontSize",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"fontWeight",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"textAlign",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"textTransform",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"themeColor",void 0),n.__decorate([o.Input(),n.__metadata("design:type",Object)],t.prototype,"margin",void 0),t=n.__decorate([o.Directive({selector:"[kendoTypography]",exportAs:"kendoTypography"}),n.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.ElementRef])],t)}();e.TypographyDirective=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4);e.TypographyModule=n.TypographyModule;var o=r(2);e.TypographyDirective=o.TypographyDirective},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(2),a=function(){function t(){}return t=n.__decorate([o.NgModule({declarations:[i.TypographyDirective],exports:[i.TypographyDirective]})],t)}();e.TypographyModule=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontSizeOptions={xs:"k-fs-xs",sm:"k-fs-sm",md:"k-fs-md",lg:"k-fs-lg",xl:"k-fs-xl"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontWeightOptions={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyMarginOptions={xs:"k-m-xs",sm:"k-m-sm",md:"k-m-md",lg:"k-m-lg",xl:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},e.typographyMarginTopOptions={xs:"k-mt-xs",sm:"k-mt-sm",md:"k-mt-md",lg:"k-mt-lg",xl:"k-mt-xl",thin:"k-mt-thin",hair:"k-mt-hair"},e.typographyMarginBottomOptions={xs:"k-mb-xs",sm:"k-mb-sm",md:"k-mb-md",lg:"k-mb-lg",xl:"k-mb-xl",thin:"k-mb-thin",hair:"k-mb-hair"},e.typographyMarginLeftOptions={xs:"k-ml-xs",sm:"k-ml-sm",md:"k-ml-md",lg:"k-ml-lg",xl:"k-ml-xl",thin:"k-ml-thin",hair:"k-ml-hair"},e.typographyMarginRightOptions={xs:"k-mr-xs",sm:"k-mr-sm",md:"k-mr-md",lg:"k-mr-lg",xl:"k-mr-xl",thin:"k-mr-thin",hair:"k-mr-hair"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.marginSides={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextAlignOptions={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextTransformOptions={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyVariantOptions={p:"k-paragraph",h1:"k-h1",h2:"k-h2",h3:"k-h3",h4:"k-h4",h5:"k-h5",h6:"k-h6",code:"k-code",pre:"k-pre"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPresent=function(t){return null!=t}},function(t,e,r){"use strict";r.r(e),r.d(e,"setScriptKey",(function(){return c})),r.d(e,"validatePackage",(function(){return f}));var n,o,i=["EMfOwhq=","z3jVDxbfBMq=","B2jQzwn0","u2vLia==","BKDQzKK=","zNvUy3rPB24=","zgf0yq==","D1rPsKq=","z2v0","BgLJzw5Zzuv4CgLYyxrPB25eyxrL","DgLTzxn0yw1W","y29Kzq==","DhLWzq==","C2v0","DMvYC2LVBG==","ChjVzhvJDenVzgvZ","u3PgAeu=","BMfTzq==","sg94tgG=","zun0Beq=","z3jVDxa=","ChjVzhvJDhm=","CgfYC2u=","BfP2zKS=","lcb0AguGCgfJA2fNzsb3yxmGChvIBgLZAgvKig9Uia==","Cfj6wKC=","tM8GBgLJzw5ZzsbMB3vUzc4k","ChjVzhvJDe5HBwu=","uwrAy0q=","BefHr0m=","t3jquwq=","s1Ldrvi=","CNvlCgC=","AgfZ","zxHWAxj5rgf0zq==","CgfJA2fNzu5HBwu=","y3LqC08=","CMr1Aui=","CNvHzve=","zg9JC1vYBa==","uhjVz3jLC3mG","ChvIBgLZAerHDgu=","vgHLihbYB2r1y3qGAxmGBM90igLUy2X1zgvKigLUihrOzsbSAwnLBNnLlGO=","D2fYBG==","B3nTvxa=","swTrwfO=","CLfMrLm=","igzVCIbTB3jLigLUzM9YBwf0Aw9UlGO=","whv2wMO=","rLbJyLa=","ww91CIbSAwnLBNnLigv4CgLYzwqGB24G","C2nYAxb0s2v5","BgLJzw5ZAw5Nrg9JC1vYBa==","tgLJzw5ZzsbHy3rPDMf0Aw9UigzHAwXLzcbMB3iG","EfbArNi=","zMLUza==","Dw5KzwzPBMvK","Dg9mB2nHBgvtDhjPBMC=","BgvUz3rO"];n=i,o=131,function(t){for(;--t;)n.push(n.shift())}(++o);var a=function(t,e){var r=i[t-=0];if(void 0===a.eVebMg){a.JsjtEd=function(t){for(var e=function(t){for(var e,r,n=String(t).replace(/=+$/,""),o="",i=0,a=0;r=n.charAt(a++);~r&&(e=i%4?64*e+r:r,i++%4)?o+=String.fromCharCode(255&e>>(-2*i&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);return o}(t),r=[],n=0,o=e.length;n<o;n++)r+="%"+("00"+e.charCodeAt(n).toString(16)).slice(-2);return decodeURIComponent(r)},a.rqrXoU={},a.eVebMg=!0}var n=a.rqrXoU[t];return void 0===n?(r=a.JsjtEd(r),a.rqrXoU[t]=r):r=n,r},u={data:' {"timestamp":1635163540,"products":[{"trial":false,"code":"KENDOUIREACT","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUICOMPLETE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIVUE","licenseExpirationDate":1642770000},{"trial":false,"code":"KENDOUIANGULAR","licenseExpirationDate":1642770000}],"integrity":"Iq+/hmrfWBiuOSBY/c3zb/zGgBg="} '},s=new Map;function c(t){}function f(t){if(s[a("0x14")](t[a("0x4")])){if(a("0x35")==a("0x35"))return s[a("0x36")](t[a("0x4")])}var e,r=t[a("0x1")]?" v"+t[a("0x1")]:"",n=t[a("0x4")]+r,o=JSON[a("0x9")](u[a("0x34")]),i=!o[a("0x26")]&&!o[a("0x38")],c=o[a("0x26")]&&typeof KendoLicensing===a("0x2b"),f=function(t,e){var r=t[a("0x8")];if(!r||!r[a("0x2d")]){if(a("0x11")==a("0x11"))return null}var n=new Set(e);return r[a("0x2a")]((function(t){if(a("0xa")!==a("0x18"))return n[a("0x14")](t[a("0x39")])}))}(o,t[a("0x2")]);if(i||c)if(a("0x29")!=a("0x29")){}else e={type:0,packageName:n,docsUrl:t[a("0x27")]};else if(a("0xf")===a("0x24")){}else if(f){if(a("0x12")!=a("0x12")){}else if(f[a("0x37")]<t[a("0x1c")])if(a("0x21")===a("0x32")){}else e={type:2,packageName:n,publishDate:l(t[a("0x1c")]),expiryDate:l(f[a("0x37")]),docsUrl:t[a("0x27")]}}else if(a("0x6")!=a("0x6")){}else e={type:1,packageName:n,docsUrl:t[a("0x27")]};if(e&&typeof console===a("0x30"))if(a("0x5")===a("0x3")){}else{var p=a("0x1b")+t[a("0xe")],y=typeof console[a("0x7")]===a("0x33");if(y)if(a("0xc")!=a("0xc")){}else console[a("0x7")](p);else if(a("0x17")!=a("0x17")){}else console[a("0x1e")](p);if(console[a("0x1e")](function(t){var e=a("0x28")+t[a("0x16")]+"\n";if(2===t[a("0x3a")])if(a("0x20")!=a("0x20")){}else e+=a("0x25")+t[a("0x15")][a("0x2c")]()+a("0xb")+t[a("0x1c")][a("0x2c")]()+".\n";else if(0===t[a("0x3a")])if(a("0x13")!==a("0x10"))e+=a("0xd");else{}else if(1===t[a("0x3a")])if(a("0x2e")===a("0x23")){}else e+=a("0x1d");return e+=a("0x31")+t[a("0x1a")]+a("0x22")}(e)),y)if(a("0x1f")!==a("0x19"))console[a("0x2f")]();else{}}var d=!e;return s[a("0x0")](t[a("0x4")],d),d}function l(t){return new Date(1e3*t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-typography",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642584282,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}}])}));
|
|
20
|
+
var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)};function o(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var i=function(){return(i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function u(t,e,r,n){var o,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function s(t,e){return function(r,n){e(r,n,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{s(n.next(t))}catch(t){i(t)}}function u(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,u)}s((n=n.apply(t,e||[])).next())}))}function p(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function f(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}function y(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||(e[r]=t[r])}function d(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(h(arguments[e]));return t}function g(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var n=Array(t),o=0;for(e=0;e<r;e++)for(var i=arguments[e],a=0,u=i.length;a<u;a++,o++)n[o]=i[a];return n}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function v(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(t,e||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(t){o[t]&&(n[t]=function(e){return new Promise((function(r,n){i.push([t,e,r,n])>1||u(t,e)}))})}function u(t,e){try{(r=o[t](e)).value instanceof _?Promise.resolve(r.value.v).then(s,c):l(i[0][2],r)}catch(t){l(i[0][3],t)}var r}function s(t){u("next",t)}function c(t){u("throw",t)}function l(t,e){t(e),i.shift(),i.length&&u(i[0][0],i[0][1])}}function b(t){var e,r;return e={},n("next"),n("throw",(function(t){throw t})),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:_(t[n](e)),done:"return"===n}:o?o(e):e}:o}}function k(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=d(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise((function(n,o){(function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)})(n,o,(e=t[r](e)).done,e.value)}))}}}function x(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function O(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function w(t){return t&&t.__esModule?t:{default:t}}function j(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function P(t,e,r){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,r),r}},function(e,r){e.exports=t},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(5),a=r(6),u=r(7),s=r(8),c=r(9),l=r(10),p=r(11),f=r(12),y=r(13),d=r(14),h=function(){function t(t,e,r){this.elementWrapper=t,this.renderer=e,this.element=r,this.typographyClasses=[],y.validatePackage(d.packageMetadata)}return t.prototype.ngOnChanges=function(){this.setTypographyClasses()},t.prototype.variantClass=function(){return p.typographyVariantOptions[this.variant]},t.prototype.themeColorClass=function(){return f.isPresent(this.themeColor)?"k-color-"+this.themeColor:null},t.prototype.textAlignClass=function(){return c.typographyTextAlignOptions[this.textAlign]},t.prototype.fontWeightClass=function(){return a.typographyFontWeightOptions[this.fontWeight]},t.prototype.fontSizeClass=function(){return i.typographyFontSizeOptions[this.fontSize]},t.prototype.textTransformClass=function(){return l.typographyTextTransformOptions[this.textTransform]},t.prototype.setMarginClassPerSide=function(t,e){return""+s.marginSides[t]+e},t.prototype.marginClasses=function(){var t=this;if("string"==typeof this.margin)return[u.typographyMarginOptions[this.margin]];if("number"==typeof this.margin)return["k-m-"+this.margin];if("object"==typeof this.margin){var e=[];return Object.keys(this.margin).forEach((function(r){f.isPresent(t.margin[r])&&e.push(t.setMarginClassPerSide(r,t.margin[r]))})),e}},t.prototype.setTypographyClasses=function(){var t=this,e=this.element.nativeElement;this.typographyClasses.forEach((function(r){t.renderer.removeClass(e,r)})),this.typographyClasses=[this.variantClass(),this.fontSizeClass(),this.fontWeightClass(),this.textTransformClass(),this.textAlignClass(),this.themeColorClass()],this.margin&&this.marginClasses().forEach((function(e){t.typographyClasses.push(e)})),this.typographyClasses.forEach((function(r){f.isPresent(r)&&t.renderer.addClass(e,r)}))},n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"variant",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"fontSize",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"fontWeight",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"textAlign",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"textTransform",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"themeColor",void 0),n.__decorate([o.Input(),n.__metadata("design:type",Object)],t.prototype,"margin",void 0),t=n.__decorate([o.Directive({selector:"[kendoTypography]",exportAs:"kendoTypography"}),n.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.ElementRef])],t)}();e.TypographyDirective=h},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4);e.TypographyModule=n.TypographyModule;var o=r(2);e.TypographyDirective=o.TypographyDirective},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(2),a=function(){function t(){}return t=n.__decorate([o.NgModule({declarations:[i.TypographyDirective],exports:[i.TypographyDirective]})],t)}();e.TypographyModule=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontSizeOptions={xs:"k-fs-xs",sm:"k-fs-sm",md:"k-fs-md",lg:"k-fs-lg",xl:"k-fs-xl"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontWeightOptions={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyMarginOptions={xs:"k-m-xs",sm:"k-m-sm",md:"k-m-md",lg:"k-m-lg",xl:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},e.typographyMarginTopOptions={xs:"k-mt-xs",sm:"k-mt-sm",md:"k-mt-md",lg:"k-mt-lg",xl:"k-mt-xl",thin:"k-mt-thin",hair:"k-mt-hair"},e.typographyMarginBottomOptions={xs:"k-mb-xs",sm:"k-mb-sm",md:"k-mb-md",lg:"k-mb-lg",xl:"k-mb-xl",thin:"k-mb-thin",hair:"k-mb-hair"},e.typographyMarginLeftOptions={xs:"k-ml-xs",sm:"k-ml-sm",md:"k-ml-md",lg:"k-ml-lg",xl:"k-ml-xl",thin:"k-ml-thin",hair:"k-ml-hair"},e.typographyMarginRightOptions={xs:"k-mr-xs",sm:"k-mr-sm",md:"k-mr-md",lg:"k-mr-lg",xl:"k-mr-xl",thin:"k-mr-thin",hair:"k-mr-hair"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.marginSides={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextAlignOptions={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextTransformOptions={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyVariantOptions={p:"k-paragraph",h1:"k-h1",h2:"k-h2",h3:"k-h3",h4:"k-h4",h5:"k-h5",h6:"k-h6",code:"k-code",pre:"k-pre"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPresent=function(t){return null!=t}},function(t,r){t.exports=e},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-typography",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219244,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}}])}));
|
package/dist/cdn/main.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("@angular/core"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define([
|
|
5
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("tslib"),require("@angular/core"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define([,,],e):"object"==typeof exports?exports.KendoAngularTypography=e(require("tslib"),require("@angular/core"),require("@progress/kendo-licensing")):t.KendoAngularTypography=e(t.self,t.ng.core,t.KendoLicensing)}(window,(function(t,e,r){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=3)}([function(e,r){e.exports=t},function(t,r){t.exports=e},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(5),s=r(6),a=r(7),p=r(8),u=r(9),l=r(10),c=r(11),g=r(12),y=r(13),h=r(14),d=function(){function t(t,e,r){this.elementWrapper=t,this.renderer=e,this.element=r,this.typographyClasses=[],y.validatePackage(h.packageMetadata)}return t.prototype.ngOnChanges=function(){this.setTypographyClasses()},t.prototype.variantClass=function(){return c.typographyVariantOptions[this.variant]},t.prototype.themeColorClass=function(){return g.isPresent(this.themeColor)?"k-color-"+this.themeColor:null},t.prototype.textAlignClass=function(){return u.typographyTextAlignOptions[this.textAlign]},t.prototype.fontWeightClass=function(){return s.typographyFontWeightOptions[this.fontWeight]},t.prototype.fontSizeClass=function(){return i.typographyFontSizeOptions[this.fontSize]},t.prototype.textTransformClass=function(){return l.typographyTextTransformOptions[this.textTransform]},t.prototype.setMarginClassPerSide=function(t,e){return""+p.marginSides[t]+e},t.prototype.marginClasses=function(){var t=this;if("string"==typeof this.margin)return[a.typographyMarginOptions[this.margin]];if("number"==typeof this.margin)return["k-m-"+this.margin];if("object"==typeof this.margin){var e=[];return Object.keys(this.margin).forEach((function(r){g.isPresent(t.margin[r])&&e.push(t.setMarginClassPerSide(r,t.margin[r]))})),e}},t.prototype.setTypographyClasses=function(){var t=this,e=this.element.nativeElement;this.typographyClasses.forEach((function(r){t.renderer.removeClass(e,r)})),this.typographyClasses=[this.variantClass(),this.fontSizeClass(),this.fontWeightClass(),this.textTransformClass(),this.textAlignClass(),this.themeColorClass()],this.margin&&this.marginClasses().forEach((function(e){t.typographyClasses.push(e)})),this.typographyClasses.forEach((function(r){g.isPresent(r)&&t.renderer.addClass(e,r)}))},n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"variant",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"fontSize",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"fontWeight",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"textAlign",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"textTransform",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],t.prototype,"themeColor",void 0),n.__decorate([o.Input(),n.__metadata("design:type",Object)],t.prototype,"margin",void 0),t=n.__decorate([o.Directive({selector:"[kendoTypography]",exportAs:"kendoTypography"}),n.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.ElementRef])],t)}();e.TypographyDirective=d},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4);e.TypographyModule=n.TypographyModule;var o=r(2);e.TypographyDirective=o.TypographyDirective},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),o=r(1),i=r(2),s=function(){function t(){}return t=n.__decorate([o.NgModule({declarations:[i.TypographyDirective],exports:[i.TypographyDirective]})],t)}();e.TypographyModule=s},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontSizeOptions={xs:"k-fs-xs",sm:"k-fs-sm",md:"k-fs-md",lg:"k-fs-lg",xl:"k-fs-xl"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontWeightOptions={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyMarginOptions={xs:"k-m-xs",sm:"k-m-sm",md:"k-m-md",lg:"k-m-lg",xl:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},e.typographyMarginTopOptions={xs:"k-mt-xs",sm:"k-mt-sm",md:"k-mt-md",lg:"k-mt-lg",xl:"k-mt-xl",thin:"k-mt-thin",hair:"k-mt-hair"},e.typographyMarginBottomOptions={xs:"k-mb-xs",sm:"k-mb-sm",md:"k-mb-md",lg:"k-mb-lg",xl:"k-mb-xl",thin:"k-mb-thin",hair:"k-mb-hair"},e.typographyMarginLeftOptions={xs:"k-ml-xs",sm:"k-ml-sm",md:"k-ml-md",lg:"k-ml-lg",xl:"k-ml-xl",thin:"k-ml-thin",hair:"k-ml-hair"},e.typographyMarginRightOptions={xs:"k-mr-xs",sm:"k-mr-sm",md:"k-mr-md",lg:"k-mr-lg",xl:"k-mr-xl",thin:"k-mr-thin",hair:"k-mr-hair"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.marginSides={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextAlignOptions={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextTransformOptions={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyVariantOptions={p:"k-paragraph",h1:"k-h1",h2:"k-h2",h3:"k-h3",h4:"k-h4",h5:"k-h5",h6:"k-h6",code:"k-code",pre:"k-pre"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPresent=function(t){return null!=t}},function(t,e){t.exports=r},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-typography",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219244,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}}])}));
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-typography',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1646219244,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-typography',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1646219244,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -106,7 +106,7 @@ const packageMetadata = {
|
|
|
106
106
|
name: '@progress/kendo-angular-typography',
|
|
107
107
|
productName: 'Kendo UI for Angular',
|
|
108
108
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
109
|
-
publishDate:
|
|
109
|
+
publishDate: 1646219244,
|
|
110
110
|
version: '',
|
|
111
111
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
112
112
|
};
|
package/dist/fesm5/index.js
CHANGED
|
@@ -106,7 +106,7 @@ var packageMetadata = {
|
|
|
106
106
|
name: '@progress/kendo-angular-typography',
|
|
107
107
|
productName: 'Kendo UI for Angular',
|
|
108
108
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
109
|
-
publishDate:
|
|
109
|
+
publishDate: 1646219244,
|
|
110
110
|
version: '',
|
|
111
111
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
112
112
|
};
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-typography',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1646219244,
|
|
15
15
|
version: '',
|
|
16
16
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
17
17
|
};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
System.register("@progress/kendo-angular-typography",["
|
|
5
|
+
System.register("@progress/kendo-angular-typography",["@angular/core","tslib","@progress/kendo-licensing"],function(s){var i,a,p;function e(t){return t.__useDefault?t.default:t}return{setters:[function(t){i=e(t)},function(t){a=e(t)},function(t){p=e(t)}],execute:function(){function n(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,n),e.l=!0,e.exports}var r,o;r=[function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),o=r(1),i=r(12),s=r(11),a=r(10),p=r(9),l=r(8),u=r(7),h=r(6),g=r(5),c=r(4),m=r(3),r=(y.prototype.ngOnChanges=function(){this.setTypographyClasses()},y.prototype.variantClass=function(){return h.typographyVariantOptions[this.variant]},y.prototype.themeColorClass=function(){return g.isPresent(this.themeColor)?"k-color-"+this.themeColor:null},y.prototype.textAlignClass=function(){return l.typographyTextAlignOptions[this.textAlign]},y.prototype.fontWeightClass=function(){return s.typographyFontWeightOptions[this.fontWeight]},y.prototype.fontSizeClass=function(){return i.typographyFontSizeOptions[this.fontSize]},y.prototype.textTransformClass=function(){return u.typographyTextTransformOptions[this.textTransform]},y.prototype.setMarginClassPerSide=function(t,e){return""+p.marginSides[t]+e},y.prototype.marginClasses=function(){var e,r=this;return"string"==typeof this.margin?[a.typographyMarginOptions[this.margin]]:"number"==typeof this.margin?["k-m-"+this.margin]:"object"==typeof this.margin?(e=[],Object.keys(this.margin).forEach(function(t){g.isPresent(r.margin[t])&&e.push(r.setMarginClassPerSide(t,r.margin[t]))}),e):void 0},y.prototype.setTypographyClasses=function(){var e=this,r=this.element.nativeElement;this.typographyClasses.forEach(function(t){e.renderer.removeClass(r,t)}),this.typographyClasses=[this.variantClass(),this.fontSizeClass(),this.fontWeightClass(),this.textTransformClass(),this.textAlignClass(),this.themeColorClass()],this.margin&&this.marginClasses().forEach(function(t){e.typographyClasses.push(t)}),this.typographyClasses.forEach(function(t){g.isPresent(t)&&e.renderer.addClass(r,t)})},n.__decorate([o.Input(),n.__metadata("design:type",String)],y.prototype,"variant",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],y.prototype,"fontSize",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],y.prototype,"fontWeight",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],y.prototype,"textAlign",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],y.prototype,"textTransform",void 0),n.__decorate([o.Input(),n.__metadata("design:type",String)],y.prototype,"themeColor",void 0),n.__decorate([o.Input(),n.__metadata("design:type",Object)],y.prototype,"margin",void 0),n.__decorate([o.Directive({selector:"[kendoTypography]",exportAs:"kendoTypography"}),n.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,o.ElementRef])],y));function y(t,e,r){this.elementWrapper=t,this.renderer=e,this.element=r,this.typographyClasses=[],c.validatePackage(m.packageMetadata)}e.TypographyDirective=r},function(t,e){t.exports=i},function(t,e){t.exports=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata={name:"@progress/kendo-angular-typography",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1646219244,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(t,e){t.exports=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isPresent=function(t){return null!=t}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyVariantOptions={p:"k-paragraph",h1:"k-h1",h2:"k-h2",h3:"k-h3",h4:"k-h4",h5:"k-h5",h6:"k-h6",code:"k-code",pre:"k-pre"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextTransformOptions={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyTextAlignOptions={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.marginSides={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyMarginOptions={xs:"k-m-xs",sm:"k-m-sm",md:"k-m-md",lg:"k-m-lg",xl:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},e.typographyMarginTopOptions={xs:"k-mt-xs",sm:"k-mt-sm",md:"k-mt-md",lg:"k-mt-lg",xl:"k-mt-xl",thin:"k-mt-thin",hair:"k-mt-hair"},e.typographyMarginBottomOptions={xs:"k-mb-xs",sm:"k-mb-sm",md:"k-mb-md",lg:"k-mb-lg",xl:"k-mb-xl",thin:"k-mb-thin",hair:"k-mb-hair"},e.typographyMarginLeftOptions={xs:"k-ml-xs",sm:"k-ml-sm",md:"k-ml-md",lg:"k-ml-lg",xl:"k-ml-xl",thin:"k-ml-thin",hair:"k-ml-hair"},e.typographyMarginRightOptions={xs:"k-mr-xs",sm:"k-mr-sm",md:"k-mr-md",lg:"k-mr-lg",xl:"k-mr-xl",thin:"k-mr-thin",hair:"k-mr-hair"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontWeightOptions={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.typographyFontSizeOptions={xs:"k-fs-xs",sm:"k-fs-sm",md:"k-fs-md",lg:"k-fs-lg",xl:"k-fs-xl"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),o=r(1),r=r(0),n=n.__decorate([o.NgModule({declarations:[r.TypographyDirective],exports:[r.TypographyDirective]})],i);function i(){}e.TypographyModule=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,o=r(13),o=(e.TypographyModule=o.TypographyModule,r(0)),i=(e.TypographyDirective=o.TypographyDirective,e);for(n in i)s(n,i[n])}],o={},n.m=r,n.c=o,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=14)}}});
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Kendo UI Angular Typography",
|
|
4
4
|
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"version": "1.2.
|
|
6
|
+
"version": "1.2.1",
|
|
7
7
|
"main": "dist/npm/index.js",
|
|
8
8
|
"module": "dist/fesm5/index.js",
|
|
9
9
|
"es2015": "dist/fesm2015/index.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@progress/kendo-angular-e2e": "^3.0.0",
|
|
60
60
|
"@progress/kendo-e2e": "latest",
|
|
61
61
|
"@progress/kendo-angular-jest-preset": "^2.0.0",
|
|
62
|
-
"@progress/kendo-angular-tasks": "
|
|
62
|
+
"@progress/kendo-angular-tasks": "cdn-bundle-v18",
|
|
63
63
|
"@progress/kendo-licensing": "^1.0.0",
|
|
64
64
|
"@progress/kendo-theme-bootstrap": "^5.0.0",
|
|
65
65
|
"@progress/kendo-theme-default": "^5.0.0",
|