Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sassoftware/content-sdk

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sassoftware/content-sdk - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

7

CHANGELOG.md
## 0.1.0 (September 20, 2021)
- First release
## 0.2.0 (November 18, 2021)
- New ContentAreaElement features:
- `selection-mode` attribute to choose between single and multiple selection.
- `initial-selection-index` attribute to set a default initial selection when content details are not known.
- `setSelectedIdentifiers` method to allow for updating the selection programmatically.

2

dist/umd/1.content-sdk-components.js

@@ -1,2 +0,2 @@

(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{2070: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(211);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}},211:function(t,e,r){"use strict";const o=r(212),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},212: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:"ظ"}}}}]);
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{201:function(t,e,r){"use strict";const o=r(202),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},202: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:"ظ"}}},2059: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(201);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}}}]);
//# sourceMappingURL=1.content-sdk-components.js.map

@@ -1,2 +0,2 @@

(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2071: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(213),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}},213: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}}]);
(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}}}]);
//# sourceMappingURL=2.content-sdk-components.js.map

@@ -1,1 +0,1 @@

{"name":"@sassoftware/content-sdk","version":"0.1.0","author":{"name":"SAS","email":"ContentSDKSupport@sas.com"},"license":"SEE LICENSE IN LICENSE.txt","assets":"dist/umd/assets","publishConfig":{"tag":"dev"},"bugs":{"email":"ContentSDKSupport@sas.com"},"repository":{"type":"git","url":"https://github.com/sassoftware/content-sdk.git"}}
{"name":"@sassoftware/content-sdk","version":"0.2.0","author":{"name":"SAS","email":"ContentSDKSupport@sas.com"},"license":"SEE LICENSE IN LICENSE.txt","assets":"dist/umd/assets","publishConfig":{"tag":"dev"},"bugs":{"email":"ContentSDKSupport@sas.com"},"repository":{"type":"git","url":"https://github.com/sassoftware/content-sdk.git"}}

@@ -61,4 +61,4 @@ # SAS Content SDK

- SAS Content SDK on <a target="_blank" href="https://developer.sas.com/sdk/va/">developer.sas.com</a>
- SAS Content SDK on <a target="_blank" href="https://developer.sas.com/sdk/content/">developer.sas.com</a>
- SAS Viya <a target="_blank" href="https://support.sas.com/en/software/visual-analytics-support.html#documentation">documentation</a>
- SAS Visual Analytics <a target="_blank" href="https://communities.sas.com/t5/SAS-Visual-Analytics/bd-p/sas_va">Community</a>

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc