@sassoftware/content-sdk
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -14,2 +14,10 @@ ## 0.1.0 (September 20, 2021) | ||
- Internal dependency update | ||
- Internal dependency update | ||
## 0.4.0 (February 21, 2022) | ||
- Added ContentTreeElement | ||
- Added ContentBreadcrumbElement | ||
- Added ContentGroupElement | ||
- BREAKING CHANGE: Removed `folderIdentifier` and `itemIdentifiers` properties from ContentAreaElement. The `initialNavigationValue` property of ContentGroupElement is recommended instead. | ||
- Added the `authentication-type` attribute to components to specify whether to use credentials or guest authentication. |
@@ -1,2 +0,2 @@ | ||
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{203:function(e,t,n){"use strict";const s=new RegExp("__([0-9]+)__");function r(e,t){this._locale=e.length>2?e.substring(0,2):e,this._tag=null==t||null==t?"P98":t.length>5?t.substring(0,5):t}r.prototype.doPseudoL10n=function(e,t){if(0==e.length||s.test(e))return e;if(t&&t!=e)return t;var n="["+this._tag+"]";switch(e==t&&(n+="("+this._locale+")"),n+=e,this._locale){case"fr":n+="[Çôï’]";break;case"it":n+="[Èéà’]";break;case"es":n+="[Ñü¿’]";break;case"ru":n+="[Йця’]";break;case"de":n+="[ßüö’]";break;case"pl":n+="[Źłę’]";break;case"lt":n+="[Ļīž’]";break;default:n+="[bÿe]"}return n},r.builder=function(e,t){return new r(e,t)},e.exports=r.builder},2060:function(e,t,n){"use strict";n.r(t),n.d(t,"getTag",(function(){return o})),n.d(t,"pseudoLocalize4L10n",(function(){return i}));var s=n(203),r=n.n(s);const o=e=>{for(const t in e.comments){const n=e.comments[t].replace(/\s+/g,"");if(n.length>9&&/^#Toolkit:/.test(n))return n.substring(9)}};function c(e){return!(!e||0===e.length)&&!/[._](notrans|lcl|image|classname|gif)$/i.test(e)}const i=(e,t,n,s)=>{const i={},a=e.messages,u=t.messages,l=o(t),g=l||s,f=r()(n,g);for(const e in a)if(c(e)){const t=u[e],n=a[e];i[e]=f.doPseudoL10n(n,t)}else i[e]=a[e];return i}}}]); | ||
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2321:function(t,e,r){"use strict";r.r(e),r.d(e,"pseudoLocalizeStringForLocale",(function(){return a})),r.d(e,"pseudoLocalizeBundle",(function(){return i}));var o=r(462);const n=r.n(o)()(""),s=t=>{switch(t=t.toLowerCase()){case"zh-cn-pseudo":return"zh_CN_pseudo";case"ar-xx":return"ar_XX";case"pl-xx":default:return"pl_XX"}},a=(t,e)=>{if(e&&e.length<1)return e;const r=(t=>n._strategies[s(t)])(t);return n._transformString(r,e)},i=(t,e)=>{if(!e)return e;const r={};return Object.keys(e).forEach(o=>{/[._](notrans|lcl|image|classname|gif)$/i.test(o)?r[o]=e[o]:r[o]=a(t,e[o])}),r}},462:function(t,e,r){"use strict";const o=r(463),n=new RegExp("^__([0-9]+)__$");function s(t){this._pseudo={},this._createPseudo(t)}s.prototype._expMap=[0,0,1,2,3,3,3,3,4,4,4,5,5,5,6,6,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,10,10,10,10,10,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,14,14,14,14,14,14],s.prototype._ignoreMap={"<":t=>">"===t,"{":t=>"}"===t,"%":t=>~[" ",",",":",";","?","!",")","}","]"].indexOf(t),"&":t=>~[" ",";"].indexOf(t)},s.prototype._strategies={pl_XX:{prefix:"[",suffix:"]",map:o.pl_pseudoCharMap,extChar:"@",quote:" ",locale:"pl_XX",ratio:1},zh_CN_pseudo:{prefix:"X",suffix:"Z",map:null,extChar:"补",quote:" ",locale:"zh_CN_pseudo",ratio:1.25},ar_XX:{prefix:"",suffix:"",map:o.ar_pseudoCharMap,extChar:"",quote:"",locale:"ar_XX",ratio:1}},s.prototype._createPseudo=function(t){for(const e of Object.keys(this._strategies))this._pseudo[e]=this.pseudoLocalizeWith(this._strategies[e],t)},s.prototype.getPseudo=function(){return this._pseudo},s.prototype._getExtension=function(t,e,r,o){let n,s="",a=t<=this._expMap.length?this._expMap[t]:.15*t;if(a=parseInt(a/e),0===a||0===r.length)return s;if("zh_CN_pseudo"===o)for(n=0;n<a;n++)s+=n>0&&n%7==0?" ":r;else{var i=[];for(n=0;n<a;n++)i.push(r);for(n=6;n<a;n+=7)i[n]=" ";s=i.join("")}return s},s.prototype._transformString=function(t,e){if(!e||0===e.length||n.test(e))return e;var r=t.map,o=t.quote;e=e.replace(/\\[nrt]|\\u([0-9A-Fa-f]{4})/g,"%$&!");const{result:s,charCount:a}=e.split("").reduce(({ignoreFn:t,result:e,charCount:o},n,s)=>(t&&t(n,s)&&(t=null),t||((t=this._ignoreMap[n])?o-=1:(o+=1,null!=r&&r[n]&&(n=r[n]))),{ignoreFn:t,result:e+=n,charCount:o}),{ignoreFn:null,result:"",charCount:0});var i=s.replace(/\%(\\[nrt]|\\u([0-9A-Fa-f]{4}))\!/g,(function(t,e,r){return t.substr(1).slice(0,-1)}));return t.prefix+i+o+this._getExtension(a,t.ratio,t.extChar,t.locale)+t.suffix},s.prototype._getStrategy=function(t){var e;switch(t){case"plxx":e=strategies.plxx;break;case"frxx":e=strategies.frxx;break;case"zhxx":e=strategies.zhxx;break;default:e=strategies.plxx}return e},s.prototype._utf8_2ascii=function(t){for(var e="",r=0;r<t.length;r++)if(t.charCodeAt(r)<128)e+=t.charAt(r);else{var o=""+t.charCodeAt(r).toString(16).toUpperCase();e+="\\u"+(2===o.length?"00"+o:3===o.length?"0"+o:o)}return e},s.prototype._hasPlaceholder=function(t){return t.match(/\{[A-Za-z0-9_]+}/g)},s.prototype.pseudoLocalizeWith=function(t,e){var r=this._transformString(t,e);return this._utf8_2ascii(r)},s.prototype.pseudoLocalize=function(t,e){if(e.length<=1)return e;var r=this._getStrategy(t);return this.pseudoLocalizeWith(r)},s.builder=function(t){return new s(t)},t.exports=s.builder},463:function(t,e){t.exports={pl_pseudoCharMap:{a:"ą",c:"ć",d:"đ",e:"ę",i:"í",l:"ł",n:"ň",o:"ő",r:"ř",s:"ś",t:"ţ",u:"ű",z:"ż",A:"Ą",C:"Ć",D:"Đ",E:"Ę",I:"Í",L:"Ł",N:"Ň",O:"Ő",R:"Ř",S:"Ś",T:"Ţ",U:"Ű",Z:"Ż"},fr_pseudoCharMap:{a:"å",b:"þ",c:"ç",d:"ð",e:"ë",i:"î",n:"ñ",o:"ǿ",u:"ü",y:"ÿ",A:"Å",B:"ß",C:"Ç",D:"Ð",E:"Ë",I:"Î",N:"Ñ",O:"Ǿ",U:"Ü",Y:"Ÿ"},ar_pseudoCharMap:{A:"ٯ",B:"إ",C:"ژ",D:"ٺ",E:"ٻ",F:"ټ",G:"ں",H:"آ",I:"ک",J:"ھ",K:"ٹ",L:"ہ",M:"ٽ",N:"أ",O:"گ",P:"ے",Q:"ٿ",R:"ج",S:"ڀ",T:"ځ",U:"پ",V:"ؤ",W:"ڂ",X:"ي",Y:"چ",Z:"ة",a:"ش",b:"ذ",c:"ز",d:"ڈ",e:"ث",f:"ب",g:"ل",h:"ا",i:"ه",j:"ت",k:"ن",l:"م",m:"ئ",n:"د",o:"خ",p:"ح",q:"ض",r:"ق",s:"س",t:"ف",u:"ع",v:"ر",w:"ص",x:"ط",y:"غ",z:"ظ"}}}}]); | ||
//# sourceMappingURL=2.content-sdk-components.js.map |
@@ -1,1 +0,1 @@ | ||
{"name":"@sassoftware/content-sdk","version":"0.3.0","author":{"name":"SAS","email":"ContentSDKSupport@sas.com"},"license":"SEE LICENSE IN LICENSE.txt","assets":"dist/umd/assets","publishConfig":{"tag":"latest"},"bugs":{"email":"ContentSDKSupport@sas.com"},"repository":{"type":"git","url":"https://github.com/sassoftware/content-sdk.git"}} | ||
{"name":"@sassoftware/content-sdk","version":"0.4.0","author":{"name":"SAS","email":"ContentSDKSupport@sas.com"},"license":"SEE LICENSE IN LICENSE.txt","assets":"dist/umd/assets","publishConfig":{"tag":"latest"},"bugs":{"email":"ContentSDKSupport@sas.com"},"repository":{"type":"git","url":"https://github.com/sassoftware/content-sdk.git"}} |
@@ -10,3 +10,3 @@ # SAS Content SDK | ||
Access to a deployment of SAS Viya 4.0.1 (or later) is necessary in order to use the SDK. For more information about server set up, see <a target="_blank" href="https://developer.sas.com/sdk/va/docs/getting-started#sas-viya-setup">SAS Viya setup</a>. | ||
Access to a deployment of SAS Viya 4.0.1 (or later) is necessary in order to use the SDK. For more information about server set up, see <a target="_blank" href="https://developer.sas.com/sdk/content/docs/getting-started#sas-viya-setup">SAS Viya setup</a>. | ||
@@ -13,0 +13,0 @@ ## Installation |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17005875
57200