@uifabric/merge-styles
Advanced tools
Comparing version 6.17.2 to 6.17.3
@@ -5,2 +5,24 @@ { | ||
{ | ||
"version": "6.17.3", | ||
"tag": "@uifabric/merge-styles_v6.17.3", | ||
"date": "Tue, 14 May 2019 07:50:30 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Update Fabric assets link", | ||
"author": "Peter Jahn <pejahn@microsoft.com>", | ||
"commit": "4cbda272f3ba109cdff14d9ff1b603564b73ea2a" | ||
} | ||
], | ||
"dependency": [ | ||
{ | ||
"comment": "Updating dependency \"@uifabric/prettier-rules\" from `^1.0.1` to `^1.0.2`" | ||
}, | ||
{ | ||
"comment": "Updating dependency \"@uifabric/tslint-rules\" from `^1.0.1` to `^1.0.2`" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "6.17.2", | ||
@@ -7,0 +29,0 @@ "tag": "@uifabric/merge-styles_v6.17.2", |
# Change Log - @uifabric/merge-styles | ||
This log was last generated on Wed, 08 May 2019 12:37:40 GMT and should not be manually modified. | ||
This log was last generated on Tue, 14 May 2019 07:50:30 GMT and should not be manually modified. | ||
## 6.17.3 | ||
Tue, 14 May 2019 07:50:30 GMT | ||
### Patches | ||
- Update Fabric assets link | ||
## 6.17.2 | ||
@@ -6,0 +13,0 @@ Wed, 08 May 2019 12:37:40 GMT |
@@ -328,6 +328,14 @@ var MergeStyles = | ||
var packagesCache = {}; | ||
// Cache access to window to avoid IE11 memory leak. | ||
var _win = undefined; | ||
try { | ||
_win = window; | ||
} | ||
catch (e) { | ||
/* no-op */ | ||
} | ||
function setVersion(packageName, packageVersion) { | ||
if (typeof window !== 'undefined') { | ||
if (typeof _win !== 'undefined') { | ||
// tslint:disable-next-line:no-any | ||
var packages = (window.__packages__ = window.__packages__ || {}); | ||
var packages = (_win.__packages__ = _win.__packages__ || {}); | ||
// We allow either the global packages or local packages caches to invalidate so testing can just clear the global to set this state | ||
@@ -1389,6 +1397,6 @@ if (!packages[packageName] || !packagesCache[packageName]) { | ||
/* harmony import */ var _uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../set-version/lib/index.js"); | ||
// @uifabric/merge-styles@6.17.2 | ||
// @uifabric/merge-styles@6.17.3 | ||
// Do not modify this file, the file is generated as part of publish. The checked in version is a placeholder only. | ||
Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/merge-styles', '6.17.2'); | ||
Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/merge-styles', '6.17.3'); | ||
@@ -1395,0 +1403,0 @@ |
@@ -1,2 +0,2 @@ | ||
var MergeStyles=function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};var s,i={none:0,insertNode:1,appendChild:2},o={};try{o=window}catch(e){}var a,u=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=r({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(s=o.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=o&&o.FabricConfig||{};s=o.__stylesheet__=new e(t.mergeStyles)}return s},e.prototype.setConfig=function(e){this._config=r({},this._config,e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case i.insertNode:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case i.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),window.requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},e.prototype._createStyleElement=function(){var e=document.createElement("style");e.setAttribute("data-merge-styles","true"),e.type="text/css";var t=this._config.cspSettings;return t&&t.nonce&&e.setAttribute("nonce",t.nonce),this._lastStyleElement&&this._lastStyleElement.nextElementSibling?document.head.insertBefore(e,this._lastStyleElement.nextElementSibling):document.head.appendChild(e),this._lastStyleElement=e,e},e}();var l={"user-select":1};function f(e,t){var n=function(){if(!a){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;a=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return a}(),r=e[t];if(l[r]){var s=e[t+1];l[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var c=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function p(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=-1===c.indexOf(n)?"px":"";e[t+1]=""+r+s}}var d,v="left",h="right",y="@noflip",m=((d={})[v]=h,d[h]=v,d),g={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},_=S();function b(e){_!==e&&(u.getInstance().resetKeys(),_=e)}function S(){return void 0===_&&(_="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),_}function O(e,t){if(S()){var n=e[t];if(!n)return;var r=e[t+1];if("string"==typeof r&&r.indexOf(y)>=0)e[t+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(v)>=0)e[t]=n.replace(v,h);else if(n.indexOf(h)>=0)e[t]=n.replace(h,v);else if(String(r).indexOf(v)>=0)e[t+1]=r.replace(v,h);else if(String(r).indexOf(h)>=0)e[t+1]=r.replace(h,v);else if(m[n])e[t]=m[n];else if(g[r])e[t+1]=g[r];else switch(n){case"margin":case"padding":e[t+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(r);break;case"box-shadow":e[t+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(r,0)}}}var x="displayName";var N=/\:global\((.+?)\)/g;function C(e){if(!N.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)},e)}function w(e,t){return e.indexOf(":global(")>=0?e.replace(N,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function j(e,t,n){var r="string"==typeof n?n.split(" "):[n];e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function k(e){if(!e)return"";var t,n,r=[];for(var s in e)e.hasOwnProperty(s)&&s!==x&&void 0!==e[s]&&r.push(s,e[s]);for(var i=0;i<r.length;i+=2)(t=r)[n=i]=t[n].replace(/([A-Z])/g,"-$1").toLowerCase(),p(r,i),O(r,i),f(r,i);for(i=1;i<r.length;i+=4)r.splice(i,1,":",r[i],";");return r.join("")}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function e(t,n,r){void 0===n&&(n={__order:[]}),void 0===r&&(r="&");var s=u.getInstance(),i=n[r];i||(i={},n[r]=i,n.__order.push(r));for(var o=0,a=t;o<a.length;o++){var l=a[o];if("string"==typeof l){var f=s.argsFromClassName(l);f&&e(f,n,r)}else if(Array.isArray(l))e(l,n,r);else for(var c in l)if("selectors"===c){var p=l.selectors;for(var d in p)if(p.hasOwnProperty(d)){var v=p[d];0===d.indexOf("@")?e([v],n,d=d+"{"+r):d.indexOf(",")>-1?e([v],n,C(d).split(/,/g).map(function(e){return e.trim()}).map(function(e){return w(e,r)}).join(", ")):e([v],n,w(d,r))}}else void 0!==l[c]&&("margin"===c||"padding"===c?j(i,c,l[c]):i[c]=l[c])}return n}(e),r=function(e){for(var t=[],n=!1,r=0,s=e.__order;r<s.length;r++){var i=s[r];t.push(i);var o=e[i];for(var a in o)o.hasOwnProperty(a)&&void 0!==o[a]&&(n=!0,t.push(a,o[a]))}return n?t.join(""):void 0}(n);if(r){var s=u.getInstance(),i={className:s.classNameFromKey(r),key:r,args:e};if(!i.className){i.className=s.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(n));for(var o=[],a=0,l=n.__order;a<l.length;a++){var f=l[a];o.push(f,k(n[f]))}i.rulesToInsert=o}return i}}function E(e,t){var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var f=o[a],c=(f=f.replace(/(&)|\$([\w-]+)\b/g,function(n,r,s){return r?"."+e.className:s?"."+(t&&t[s]||s):""}))+"{"+l+"}"+(0===f.indexOf("@")?"}":"");n.insertRule(c)}}n.cacheClassName(r,s,i,o)}}function T(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();return function e(t){for(var i=0,o=t;i<o.length;i++){var a=o[i];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)e(a.split(" "));else{var u=s.argsFromClassName(a);u?e(u):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?e(a):"object"==typeof a&&r.push(a)}}(e),{classes:n,objects:r}}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=T(e),r=n.classes,s=n.objects;return s.length&&r.push(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=A.apply(void 0,e);return n?(E(n),n.className):""}(s)),r.join(" ")}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r={},s=0,i=e;s<i.length;s++){var o=i[s];if(o)for(var a in o)if(o.hasOwnProperty(a)){if("subComponentStyles"===a&&void 0!==o.subComponentStyles){var u=o.subComponentStyles;for(var l in u)u.hasOwnProperty(l)&&(r.hasOwnProperty(l)?r[l].push(u[l]):r[l]=[u[l]]);continue}var f=n[a],c=o[a];n[a]=void 0===f?c:(Array.isArray(f)?f:[f]).concat(Array.isArray(c)?c:[c])}}if(Object.keys(r).length>0){n.subComponentStyles={};var p=n.subComponentStyles,d=function(e){if(r.hasOwnProperty(e)){var t=r[e];p[e]=function(e){return I.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var l in r)d(l)}return n}function P(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={subComponentStyles:{}},r={},s=e[0];if(!s&&e.length<=1)return{subComponentStyles:{}};var i=s;i=I.apply(void 0,e);var o=[];for(var a in i)if(i.hasOwnProperty(a)){if("subComponentStyles"===a){n.subComponentStyles=i.subComponentStyles||{};continue}var u=T(i[a]),l=u.classes,f=A({displayName:a},u.objects);o.push(f),f&&(r[a]=f.className,n[a]=l.concat([f.className]).join(" "))}for(var c=0,p=o;c<p.length;c++){(f=p[c])&&E(f,r)}return n}function M(e){u.getInstance().insertRule("@font-face{"+k(e)+"}",!0)}function z(e){var t=u.getInstance(),n=t.getClassName(),r=[];for(var s in e)e.hasOwnProperty(s)&&r.push(s,"{",k(e[s]),"}");var i=r.join("");return t.insertRule("@keyframes "+n+"{"+i+"}",!0),t.cacheClassName(n,i,[],["keyframes",i]),n}var F={};!function(e,t){if("undefined"!=typeof window){var n=window.__packages__=window.__packages__||{};n[e]&&F[e]||(F[e]=t,(n[e]=n[e]||[]).push(t))}}("@uifabric/merge-styles","6.17.2"),n.d(t,"mergeStyles",function(){return R}),n.d(t,"mergeStyleSets",function(){return P}),n.d(t,"concatStyleSets",function(){return I}),n.d(t,"fontFace",function(){return M}),n.d(t,"keyframes",function(){return z}),n.d(t,"InjectionMode",function(){return i}),n.d(t,"Stylesheet",function(){return u}),n.d(t,"setRTL",function(){return b})}]); | ||
var MergeStyles=function(e){var t={};function n(r){if(t[r])return t[r].exports;var s=t[r]={i:r,l:!1,exports:{}};return e[r].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(r,s,function(t){return e[t]}.bind(null,s));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};var s,i={none:0,insertNode:1,appendChild:2},o={};try{o=window}catch(e){}var a,u=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=r({injectionMode:i.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(s=o.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=o&&o.FabricConfig||{};s=o.__stylesheet__=new e(t.mergeStyles)}return s},e.prototype.setConfig=function(e){this._config=r({},this._config,e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case i.insertNode:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case i.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),window.requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},e.prototype._createStyleElement=function(){var e=document.createElement("style");e.setAttribute("data-merge-styles","true"),e.type="text/css";var t=this._config.cspSettings;return t&&t.nonce&&e.setAttribute("nonce",t.nonce),this._lastStyleElement&&this._lastStyleElement.nextElementSibling?document.head.insertBefore(e,this._lastStyleElement.nextElementSibling):document.head.appendChild(e),this._lastStyleElement=e,e},e}();var l={"user-select":1};function c(e,t){var n=function(){if(!a){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;a=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return a}(),r=e[t];if(l[r]){var s=e[t+1];l[r]&&(n.isWebkit&&e.push("-webkit-"+r,s),n.isMoz&&e.push("-moz-"+r,s),n.isMs&&e.push("-ms-"+r,s),n.isOpera&&e.push("-o-"+r,s))}}var f=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function p(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var s=-1===f.indexOf(n)?"px":"";e[t+1]=""+r+s}}var d,v="left",h="right",y="@noflip",m=((d={})[v]=h,d[h]=v,d),g={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},_=S();function b(e){_!==e&&(u.getInstance().resetKeys(),_=e)}function S(){return void 0===_&&(_="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),_}function O(e,t){if(S()){var n=e[t];if(!n)return;var r=e[t+1];if("string"==typeof r&&r.indexOf(y)>=0)e[t+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(v)>=0)e[t]=n.replace(v,h);else if(n.indexOf(h)>=0)e[t]=n.replace(h,v);else if(String(r).indexOf(v)>=0)e[t+1]=r.replace(v,h);else if(String(r).indexOf(h)>=0)e[t+1]=r.replace(h,v);else if(m[n])e[t]=m[n];else if(g[r])e[t+1]=g[r];else switch(n){case"margin":case"padding":e[t+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(r);break;case"box-shadow":e[t+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(r,0)}}}var x="displayName";var N=/\:global\((.+?)\)/g;function C(e){if(!N.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)},e)}function w(e,t){return e.indexOf(":global(")>=0?e.replace(N,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function j(e,t,n){var r="string"==typeof n?n.split(" "):[n];e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function k(e){if(!e)return"";var t,n,r=[];for(var s in e)e.hasOwnProperty(s)&&s!==x&&void 0!==e[s]&&r.push(s,e[s]);for(var i=0;i<r.length;i+=2)(t=r)[n=i]=t[n].replace(/([A-Z])/g,"-$1").toLowerCase(),p(r,i),O(r,i),c(r,i);for(i=1;i<r.length;i+=4)r.splice(i,1,":",r[i],";");return r.join("")}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function e(t,n,r){void 0===n&&(n={__order:[]}),void 0===r&&(r="&");var s=u.getInstance(),i=n[r];i||(i={},n[r]=i,n.__order.push(r));for(var o=0,a=t;o<a.length;o++){var l=a[o];if("string"==typeof l){var c=s.argsFromClassName(l);c&&e(c,n,r)}else if(Array.isArray(l))e(l,n,r);else for(var f in l)if("selectors"===f){var p=l.selectors;for(var d in p)if(p.hasOwnProperty(d)){var v=p[d];0===d.indexOf("@")?e([v],n,d=d+"{"+r):d.indexOf(",")>-1?e([v],n,C(d).split(/,/g).map(function(e){return e.trim()}).map(function(e){return w(e,r)}).join(", ")):e([v],n,w(d,r))}}else void 0!==l[f]&&("margin"===f||"padding"===f?j(i,f,l[f]):i[f]=l[f])}return n}(e),r=function(e){for(var t=[],n=!1,r=0,s=e.__order;r<s.length;r++){var i=s[r];t.push(i);var o=e[i];for(var a in o)o.hasOwnProperty(a)&&void 0!==o[a]&&(n=!0,t.push(a,o[a]))}return n?t.join(""):void 0}(n);if(r){var s=u.getInstance(),i={className:s.classNameFromKey(r),key:r,args:e};if(!i.className){i.className=s.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(n));for(var o=[],a=0,l=n.__order;a<l.length;a++){var c=l[a];o.push(c,k(n[c]))}i.rulesToInsert=o}return i}}function E(e,t){var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var c=o[a],f=(c=c.replace(/(&)|\$([\w-]+)\b/g,function(n,r,s){return r?"."+e.className:s?"."+(t&&t[s]||s):""}))+"{"+l+"}"+(0===c.indexOf("@")?"}":"");n.insertRule(f)}}n.cacheClassName(r,s,i,o)}}function T(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();return function e(t){for(var i=0,o=t;i<o.length;i++){var a=o[i];if(a)if("string"==typeof a)if(a.indexOf(" ")>=0)e(a.split(" "));else{var u=s.argsFromClassName(a);u?e(u):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?e(a):"object"==typeof a&&r.push(a)}}(e),{classes:n,objects:r}}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=T(e),r=n.classes,s=n.objects;return s.length&&r.push(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=A.apply(void 0,e);return n?(E(n),n.className):""}(s)),r.join(" ")}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r={},s=0,i=e;s<i.length;s++){var o=i[s];if(o)for(var a in o)if(o.hasOwnProperty(a)){if("subComponentStyles"===a&&void 0!==o.subComponentStyles){var u=o.subComponentStyles;for(var l in u)u.hasOwnProperty(l)&&(r.hasOwnProperty(l)?r[l].push(u[l]):r[l]=[u[l]]);continue}var c=n[a],f=o[a];n[a]=void 0===c?f:(Array.isArray(c)?c:[c]).concat(Array.isArray(f)?f:[f])}}if(Object.keys(r).length>0){n.subComponentStyles={};var p=n.subComponentStyles,d=function(e){if(r.hasOwnProperty(e)){var t=r[e];p[e]=function(e){return I.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var l in r)d(l)}return n}function P(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={subComponentStyles:{}},r={},s=e[0];if(!s&&e.length<=1)return{subComponentStyles:{}};var i=s;i=I.apply(void 0,e);var o=[];for(var a in i)if(i.hasOwnProperty(a)){if("subComponentStyles"===a){n.subComponentStyles=i.subComponentStyles||{};continue}var u=T(i[a]),l=u.classes,c=A({displayName:a},u.objects);o.push(c),c&&(r[a]=c.className,n[a]=l.concat([c.className]).join(" "))}for(var f=0,p=o;f<p.length;f++){(c=p[f])&&E(c,r)}return n}function M(e){u.getInstance().insertRule("@font-face{"+k(e)+"}",!0)}function z(e){var t=u.getInstance(),n=t.getClassName(),r=[];for(var s in e)e.hasOwnProperty(s)&&r.push(s,"{",k(e[s]),"}");var i=r.join("");return t.insertRule("@keyframes "+n+"{"+i+"}",!0),t.cacheClassName(n,i,[],["keyframes",i]),n}var F={},K=void 0;try{K=window}catch(e){}!function(e,t){if(void 0!==K){var n=K.__packages__=K.__packages__||{};n[e]&&F[e]||(F[e]=t,(n[e]=n[e]||[]).push(t))}}("@uifabric/merge-styles","6.17.3"),n.d(t,"mergeStyles",function(){return R}),n.d(t,"mergeStyleSets",function(){return P}),n.d(t,"concatStyleSets",function(){return I}),n.d(t,"fontFace",function(){return M}),n.d(t,"keyframes",function(){return z}),n.d(t,"InjectionMode",function(){return i}),n.d(t,"Stylesheet",function(){return u}),n.d(t,"setRTL",function(){return b})}]); | ||
//# sourceMappingURL=merge-styles.min.js.map |
@@ -7,5 +7,5 @@ { | ||
"version": "4.29.5", | ||
"hash": "33a2ed4f1b2aac14a6e7", | ||
"time": 1924, | ||
"builtAt": 1557317163947, | ||
"hash": "5f5cf58b1b8d4f1c1392", | ||
"time": 1736, | ||
"builtAt": 1557818298064, | ||
"publicPath": "", | ||
@@ -22,3 +22,3 @@ "outputPath": "D:\\a\\1\\s\\packages\\merge-styles\\dist", | ||
"name": "merge-styles.min.js", | ||
"size": 11005, | ||
"size": 11011, | ||
"chunks": [ | ||
@@ -71,3 +71,3 @@ 0 | ||
"index2": 16, | ||
"size": 43274, | ||
"size": 43408, | ||
"cacheable": true, | ||
@@ -751,3 +751,3 @@ "built": true, | ||
"index2": 14, | ||
"size": 834, | ||
"size": 968, | ||
"cacheable": true, | ||
@@ -850,3 +850,3 @@ "built": true, | ||
"filteredModules": 0, | ||
"parsedSrc": "function(e,t,n){\"use strict\";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};var s,i={none:0,insertNode:1,appendChild:2},o={};try{o=window}catch(e){}var a,u=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=r({injectionMode:i.insertNode,defaultPrefix:\"css\",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(s=o.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=o&&o.FabricConfig||{};s=o.__stylesheet__=new e(t.mergeStyles)}return s},e.prototype.setConfig=function(e){this._config=r({},this._config,e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+\"-\":\"\")+(e||this._config.defaultPrefix)+\"-\"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case i.insertNode:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case i.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(\"\"):\"\")+this._rules.join(\"\")+this._rulesToInsert.join(\"\")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||\"undefined\"==typeof document||(this._styleElement=this._createStyleElement(),window.requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},e.prototype._createStyleElement=function(){var e=document.createElement(\"style\");e.setAttribute(\"data-merge-styles\",\"true\"),e.type=\"text/css\";var t=this._config.cspSettings;return t&&t.nonce&&e.setAttribute(\"nonce\",t.nonce),this._lastStyleElement&&this._lastStyleElement.nextElementSibling?document.head.insertBefore(e,this._lastStyleElement.nextElementSibling):document.head.appendChild(e),this._lastStyleElement=e,e},e}();var l={\"user-select\":1};function f(e,t){var n=function(){if(!a){var e=\"undefined\"!=typeof document?document:void 0,t=\"undefined\"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;a=e?{isWebkit:!!(e&&\"WebkitAppearance\"in e.documentElement.style),isMoz:!!(n&&n.indexOf(\"firefox\")>-1),isOpera:!!(n&&n.indexOf(\"opera\")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\\/\\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return a}(),r=e[t];if(l[r]){var s=e[t+1];l[r]&&(n.isWebkit&&e.push(\"-webkit-\"+r,s),n.isMoz&&e.push(\"-moz-\"+r,s),n.isMs&&e.push(\"-ms-\"+r,s),n.isOpera&&e.push(\"-o-\"+r,s))}}var c=[\"column-count\",\"font-weight\",\"flex-basis\",\"flex\",\"flex-grow\",\"flex-shrink\",\"fill-opacity\",\"opacity\",\"order\",\"z-index\",\"zoom\"];function p(e,t){var n=e[t],r=e[t+1];if(\"number\"==typeof r){var s=-1===c.indexOf(n)?\"px\":\"\";e[t+1]=\"\"+r+s}}var d,v=\"left\",h=\"right\",y=\"@noflip\",m=((d={})[v]=h,d[h]=v,d),g={\"w-resize\":\"e-resize\",\"sw-resize\":\"se-resize\",\"nw-resize\":\"ne-resize\"},_=S();function b(e){_!==e&&(u.getInstance().resetKeys(),_=e)}function S(){return void 0===_&&(_=\"undefined\"!=typeof document&&!!document.documentElement&&\"rtl\"===document.documentElement.getAttribute(\"dir\")),_}function O(e,t){if(S()){var n=e[t];if(!n)return;var r=e[t+1];if(\"string\"==typeof r&&r.indexOf(y)>=0)e[t+1]=r.replace(/\\s*(?:\\/\\*\\s*)?\\@noflip\\b(?:\\s*\\*\\/)?\\s*?/g,\"\");else if(n.indexOf(v)>=0)e[t]=n.replace(v,h);else if(n.indexOf(h)>=0)e[t]=n.replace(h,v);else if(String(r).indexOf(v)>=0)e[t+1]=r.replace(v,h);else if(String(r).indexOf(h)>=0)e[t+1]=r.replace(h,v);else if(m[n])e[t]=m[n];else if(g[r])e[t+1]=g[r];else switch(n){case\"margin\":case\"padding\":e[t+1]=function(e){if(\"string\"==typeof e){var t=e.split(\" \");if(4===t.length)return t[0]+\" \"+t[3]+\" \"+t[2]+\" \"+t[1]}return e}(r);break;case\"box-shadow\":e[t+1]=function(e,t){var n=e.split(\" \"),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(\" \")}(r,0)}}}var x=\"displayName\";var N=/\\:global\\((.+?)\\)/g;function C(e){if(!N.test(e))return e;for(var t=[],n=/\\:global\\((.+?)\\)/g,r=null;r=n.exec(e);)r[1].indexOf(\",\")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(\",\").map(function(e){return\":global(\"+e.trim()+\")\"}).join(\", \")]);return t.reverse().reduce(function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)},e)}function w(e,t){return e.indexOf(\":global(\")>=0?e.replace(N,\"$1\"):0===e.indexOf(\":\")?t+e:e.indexOf(\"&\")<0?t+\" \"+e:e}function j(e,t,n){var r=\"string\"==typeof n?n.split(\" \"):[n];e[t+\"Top\"]=r[0],e[t+\"Right\"]=r[1]||r[0],e[t+\"Bottom\"]=r[2]||r[0],e[t+\"Left\"]=r[3]||r[1]||r[0]}function k(e){if(!e)return\"\";var t,n,r=[];for(var s in e)e.hasOwnProperty(s)&&s!==x&&void 0!==e[s]&&r.push(s,e[s]);for(var i=0;i<r.length;i+=2)(t=r)[n=i]=t[n].replace(/([A-Z])/g,\"-$1\").toLowerCase(),p(r,i),O(r,i),f(r,i);for(i=1;i<r.length;i+=4)r.splice(i,1,\":\",r[i],\";\");return r.join(\"\")}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function e(t,n,r){void 0===n&&(n={__order:[]}),void 0===r&&(r=\"&\");var s=u.getInstance(),i=n[r];i||(i={},n[r]=i,n.__order.push(r));for(var o=0,a=t;o<a.length;o++){var l=a[o];if(\"string\"==typeof l){var f=s.argsFromClassName(l);f&&e(f,n,r)}else if(Array.isArray(l))e(l,n,r);else for(var c in l)if(\"selectors\"===c){var p=l.selectors;for(var d in p)if(p.hasOwnProperty(d)){var v=p[d];0===d.indexOf(\"@\")?e([v],n,d=d+\"{\"+r):d.indexOf(\",\")>-1?e([v],n,C(d).split(/,/g).map(function(e){return e.trim()}).map(function(e){return w(e,r)}).join(\", \")):e([v],n,w(d,r))}}else void 0!==l[c]&&(\"margin\"===c||\"padding\"===c?j(i,c,l[c]):i[c]=l[c])}return n}(e),r=function(e){for(var t=[],n=!1,r=0,s=e.__order;r<s.length;r++){var i=s[r];t.push(i);var o=e[i];for(var a in o)o.hasOwnProperty(a)&&void 0!==o[a]&&(n=!0,t.push(a,o[a]))}return n?t.join(\"\"):void 0}(n);if(r){var s=u.getInstance(),i={className:s.classNameFromKey(r),key:r,args:e};if(!i.className){i.className=s.getClassName(function(e){var t=e&&e[\"&\"];return t?t.displayName:void 0}(n));for(var o=[],a=0,l=n.__order;a<l.length;a++){var f=l[a];o.push(f,k(n[f]))}i.rulesToInsert=o}return i}}function E(e,t){var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var f=o[a],c=(f=f.replace(/(&)|\\$([\\w-]+)\\b/g,function(n,r,s){return r?\".\"+e.className:s?\".\"+(t&&t[s]||s):\"\"}))+\"{\"+l+\"}\"+(0===f.indexOf(\"@\")?\"}\":\"\");n.insertRule(c)}}n.cacheClassName(r,s,i,o)}}function T(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();return function e(t){for(var i=0,o=t;i<o.length;i++){var a=o[i];if(a)if(\"string\"==typeof a)if(a.indexOf(\" \")>=0)e(a.split(\" \"));else{var u=s.argsFromClassName(a);u?e(u):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?e(a):\"object\"==typeof a&&r.push(a)}}(e),{classes:n,objects:r}}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=T(e),r=n.classes,s=n.objects;return s.length&&r.push(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=A.apply(void 0,e);return n?(E(n),n.className):\"\"}(s)),r.join(\" \")}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r={},s=0,i=e;s<i.length;s++){var o=i[s];if(o)for(var a in o)if(o.hasOwnProperty(a)){if(\"subComponentStyles\"===a&&void 0!==o.subComponentStyles){var u=o.subComponentStyles;for(var l in u)u.hasOwnProperty(l)&&(r.hasOwnProperty(l)?r[l].push(u[l]):r[l]=[u[l]]);continue}var f=n[a],c=o[a];n[a]=void 0===f?c:(Array.isArray(f)?f:[f]).concat(Array.isArray(c)?c:[c])}}if(Object.keys(r).length>0){n.subComponentStyles={};var p=n.subComponentStyles,d=function(e){if(r.hasOwnProperty(e)){var t=r[e];p[e]=function(e){return I.apply(void 0,t.map(function(t){return\"function\"==typeof t?t(e):t}))}}};for(var l in r)d(l)}return n}function P(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={subComponentStyles:{}},r={},s=e[0];if(!s&&e.length<=1)return{subComponentStyles:{}};var i=s;i=I.apply(void 0,e);var o=[];for(var a in i)if(i.hasOwnProperty(a)){if(\"subComponentStyles\"===a){n.subComponentStyles=i.subComponentStyles||{};continue}var u=T(i[a]),l=u.classes,f=A({displayName:a},u.objects);o.push(f),f&&(r[a]=f.className,n[a]=l.concat([f.className]).join(\" \"))}for(var c=0,p=o;c<p.length;c++){(f=p[c])&&E(f,r)}return n}function M(e){u.getInstance().insertRule(\"@font-face{\"+k(e)+\"}\",!0)}function z(e){var t=u.getInstance(),n=t.getClassName(),r=[];for(var s in e)e.hasOwnProperty(s)&&r.push(s,\"{\",k(e[s]),\"}\");var i=r.join(\"\");return t.insertRule(\"@keyframes \"+n+\"{\"+i+\"}\",!0),t.cacheClassName(n,i,[],[\"keyframes\",i]),n}var F={};!function(e,t){if(\"undefined\"!=typeof window){var n=window.__packages__=window.__packages__||{};n[e]&&F[e]||(F[e]=t,(n[e]=n[e]||[]).push(t))}}(\"@uifabric/merge-styles\",\"6.17.2\"),n.d(t,\"mergeStyles\",function(){return R}),n.d(t,\"mergeStyleSets\",function(){return P}),n.d(t,\"concatStyleSets\",function(){return I}),n.d(t,\"fontFace\",function(){return M}),n.d(t,\"keyframes\",function(){return z}),n.d(t,\"InjectionMode\",function(){return i}),n.d(t,\"Stylesheet\",function(){return u}),n.d(t,\"setRTL\",function(){return b})}" | ||
"parsedSrc": "function(e,t,n){\"use strict\";n.r(t);var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};var s,i={none:0,insertNode:1,appendChild:2},o={};try{o=window}catch(e){}var a,u=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=r({injectionMode:i.insertNode,defaultPrefix:\"css\",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(s=o.__stylesheet__)||s._lastStyleElement&&s._lastStyleElement.ownerDocument!==document){var t=o&&o.FabricConfig||{};s=o.__stylesheet__=new e(t.mergeStyles)}return s},e.prototype.setConfig=function(e){this._config=r({},this._config,e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+\"-\":\"\")+(e||this._config.defaultPrefix)+\"-\"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=this._config.injectionMode!==i.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case i.insertNode:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case i.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(\"\"):\"\")+this._rules.join(\"\")+this._rulesToInsert.join(\"\")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||\"undefined\"==typeof document||(this._styleElement=this._createStyleElement(),window.requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},e.prototype._createStyleElement=function(){var e=document.createElement(\"style\");e.setAttribute(\"data-merge-styles\",\"true\"),e.type=\"text/css\";var t=this._config.cspSettings;return t&&t.nonce&&e.setAttribute(\"nonce\",t.nonce),this._lastStyleElement&&this._lastStyleElement.nextElementSibling?document.head.insertBefore(e,this._lastStyleElement.nextElementSibling):document.head.appendChild(e),this._lastStyleElement=e,e},e}();var l={\"user-select\":1};function c(e,t){var n=function(){if(!a){var e=\"undefined\"!=typeof document?document:void 0,t=\"undefined\"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;a=e?{isWebkit:!!(e&&\"WebkitAppearance\"in e.documentElement.style),isMoz:!!(n&&n.indexOf(\"firefox\")>-1),isOpera:!!(n&&n.indexOf(\"opera\")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\\/\\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return a}(),r=e[t];if(l[r]){var s=e[t+1];l[r]&&(n.isWebkit&&e.push(\"-webkit-\"+r,s),n.isMoz&&e.push(\"-moz-\"+r,s),n.isMs&&e.push(\"-ms-\"+r,s),n.isOpera&&e.push(\"-o-\"+r,s))}}var f=[\"column-count\",\"font-weight\",\"flex-basis\",\"flex\",\"flex-grow\",\"flex-shrink\",\"fill-opacity\",\"opacity\",\"order\",\"z-index\",\"zoom\"];function p(e,t){var n=e[t],r=e[t+1];if(\"number\"==typeof r){var s=-1===f.indexOf(n)?\"px\":\"\";e[t+1]=\"\"+r+s}}var d,v=\"left\",h=\"right\",y=\"@noflip\",m=((d={})[v]=h,d[h]=v,d),g={\"w-resize\":\"e-resize\",\"sw-resize\":\"se-resize\",\"nw-resize\":\"ne-resize\"},_=S();function b(e){_!==e&&(u.getInstance().resetKeys(),_=e)}function S(){return void 0===_&&(_=\"undefined\"!=typeof document&&!!document.documentElement&&\"rtl\"===document.documentElement.getAttribute(\"dir\")),_}function O(e,t){if(S()){var n=e[t];if(!n)return;var r=e[t+1];if(\"string\"==typeof r&&r.indexOf(y)>=0)e[t+1]=r.replace(/\\s*(?:\\/\\*\\s*)?\\@noflip\\b(?:\\s*\\*\\/)?\\s*?/g,\"\");else if(n.indexOf(v)>=0)e[t]=n.replace(v,h);else if(n.indexOf(h)>=0)e[t]=n.replace(h,v);else if(String(r).indexOf(v)>=0)e[t+1]=r.replace(v,h);else if(String(r).indexOf(h)>=0)e[t+1]=r.replace(h,v);else if(m[n])e[t]=m[n];else if(g[r])e[t+1]=g[r];else switch(n){case\"margin\":case\"padding\":e[t+1]=function(e){if(\"string\"==typeof e){var t=e.split(\" \");if(4===t.length)return t[0]+\" \"+t[3]+\" \"+t[2]+\" \"+t[1]}return e}(r);break;case\"box-shadow\":e[t+1]=function(e,t){var n=e.split(\" \"),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(\" \")}(r,0)}}}var x=\"displayName\";var N=/\\:global\\((.+?)\\)/g;function C(e){if(!N.test(e))return e;for(var t=[],n=/\\:global\\((.+?)\\)/g,r=null;r=n.exec(e);)r[1].indexOf(\",\")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(\",\").map(function(e){return\":global(\"+e.trim()+\")\"}).join(\", \")]);return t.reverse().reduce(function(e,t){var n=t[0],r=t[1],s=t[2];return e.slice(0,n)+s+e.slice(r)},e)}function w(e,t){return e.indexOf(\":global(\")>=0?e.replace(N,\"$1\"):0===e.indexOf(\":\")?t+e:e.indexOf(\"&\")<0?t+\" \"+e:e}function j(e,t,n){var r=\"string\"==typeof n?n.split(\" \"):[n];e[t+\"Top\"]=r[0],e[t+\"Right\"]=r[1]||r[0],e[t+\"Bottom\"]=r[2]||r[0],e[t+\"Left\"]=r[3]||r[1]||r[0]}function k(e){if(!e)return\"\";var t,n,r=[];for(var s in e)e.hasOwnProperty(s)&&s!==x&&void 0!==e[s]&&r.push(s,e[s]);for(var i=0;i<r.length;i+=2)(t=r)[n=i]=t[n].replace(/([A-Z])/g,\"-$1\").toLowerCase(),p(r,i),O(r,i),c(r,i);for(i=1;i<r.length;i+=4)r.splice(i,1,\":\",r[i],\";\");return r.join(\"\")}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function e(t,n,r){void 0===n&&(n={__order:[]}),void 0===r&&(r=\"&\");var s=u.getInstance(),i=n[r];i||(i={},n[r]=i,n.__order.push(r));for(var o=0,a=t;o<a.length;o++){var l=a[o];if(\"string\"==typeof l){var c=s.argsFromClassName(l);c&&e(c,n,r)}else if(Array.isArray(l))e(l,n,r);else for(var f in l)if(\"selectors\"===f){var p=l.selectors;for(var d in p)if(p.hasOwnProperty(d)){var v=p[d];0===d.indexOf(\"@\")?e([v],n,d=d+\"{\"+r):d.indexOf(\",\")>-1?e([v],n,C(d).split(/,/g).map(function(e){return e.trim()}).map(function(e){return w(e,r)}).join(\", \")):e([v],n,w(d,r))}}else void 0!==l[f]&&(\"margin\"===f||\"padding\"===f?j(i,f,l[f]):i[f]=l[f])}return n}(e),r=function(e){for(var t=[],n=!1,r=0,s=e.__order;r<s.length;r++){var i=s[r];t.push(i);var o=e[i];for(var a in o)o.hasOwnProperty(a)&&void 0!==o[a]&&(n=!0,t.push(a,o[a]))}return n?t.join(\"\"):void 0}(n);if(r){var s=u.getInstance(),i={className:s.classNameFromKey(r),key:r,args:e};if(!i.className){i.className=s.getClassName(function(e){var t=e&&e[\"&\"];return t?t.displayName:void 0}(n));for(var o=[],a=0,l=n.__order;a<l.length;a++){var c=l[a];o.push(c,k(n[c]))}i.rulesToInsert=o}return i}}function E(e,t){var n=u.getInstance(),r=e.className,s=e.key,i=e.args,o=e.rulesToInsert;if(o){for(var a=0;a<o.length;a+=2){var l=o[a+1];if(l){var c=o[a],f=(c=c.replace(/(&)|\\$([\\w-]+)\\b/g,function(n,r,s){return r?\".\"+e.className:s?\".\"+(t&&t[s]||s):\"\"}))+\"{\"+l+\"}\"+(0===c.indexOf(\"@\")?\"}\":\"\");n.insertRule(f)}}n.cacheClassName(r,s,i,o)}}function T(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],s=u.getInstance();return function e(t){for(var i=0,o=t;i<o.length;i++){var a=o[i];if(a)if(\"string\"==typeof a)if(a.indexOf(\" \")>=0)e(a.split(\" \"));else{var u=s.argsFromClassName(a);u?e(u):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?e(a):\"object\"==typeof a&&r.push(a)}}(e),{classes:n,objects:r}}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=T(e),r=n.classes,s=n.objects;return s.length&&r.push(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=A.apply(void 0,e);return n?(E(n),n.className):\"\"}(s)),r.join(\" \")}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r={},s=0,i=e;s<i.length;s++){var o=i[s];if(o)for(var a in o)if(o.hasOwnProperty(a)){if(\"subComponentStyles\"===a&&void 0!==o.subComponentStyles){var u=o.subComponentStyles;for(var l in u)u.hasOwnProperty(l)&&(r.hasOwnProperty(l)?r[l].push(u[l]):r[l]=[u[l]]);continue}var c=n[a],f=o[a];n[a]=void 0===c?f:(Array.isArray(c)?c:[c]).concat(Array.isArray(f)?f:[f])}}if(Object.keys(r).length>0){n.subComponentStyles={};var p=n.subComponentStyles,d=function(e){if(r.hasOwnProperty(e)){var t=r[e];p[e]=function(e){return I.apply(void 0,t.map(function(t){return\"function\"==typeof t?t(e):t}))}}};for(var l in r)d(l)}return n}function P(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={subComponentStyles:{}},r={},s=e[0];if(!s&&e.length<=1)return{subComponentStyles:{}};var i=s;i=I.apply(void 0,e);var o=[];for(var a in i)if(i.hasOwnProperty(a)){if(\"subComponentStyles\"===a){n.subComponentStyles=i.subComponentStyles||{};continue}var u=T(i[a]),l=u.classes,c=A({displayName:a},u.objects);o.push(c),c&&(r[a]=c.className,n[a]=l.concat([c.className]).join(\" \"))}for(var f=0,p=o;f<p.length;f++){(c=p[f])&&E(c,r)}return n}function M(e){u.getInstance().insertRule(\"@font-face{\"+k(e)+\"}\",!0)}function z(e){var t=u.getInstance(),n=t.getClassName(),r=[];for(var s in e)e.hasOwnProperty(s)&&r.push(s,\"{\",k(e[s]),\"}\");var i=r.join(\"\");return t.insertRule(\"@keyframes \"+n+\"{\"+i+\"}\",!0),t.cacheClassName(n,i,[],[\"keyframes\",i]),n}var F={},K=void 0;try{K=window}catch(e){}!function(e,t){if(void 0!==K){var n=K.__packages__=K.__packages__||{};n[e]&&F[e]||(F[e]=t,(n[e]=n[e]||[]).push(t))}}(\"@uifabric/merge-styles\",\"6.17.3\"),n.d(t,\"mergeStyles\",function(){return R}),n.d(t,\"mergeStyleSets\",function(){return P}),n.d(t,\"concatStyleSets\",function(){return I}),n.d(t,\"fontFace\",function(){return M}),n.d(t,\"keyframes\",function(){return z}),n.d(t,\"InjectionMode\",function(){return i}),n.d(t,\"Stylesheet\",function(){return u}),n.d(t,\"setRTL\",function(){return b})}" | ||
}, | ||
@@ -853,0 +853,0 @@ { |
define(["require", "exports", "@uifabric/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
set_version_1.setVersion('@uifabric/merge-styles', '6.17.2'); | ||
set_version_1.setVersion('@uifabric/merge-styles', '6.17.3'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// @uifabric/merge-styles@6.17.2 | ||
// @uifabric/merge-styles@6.17.3 | ||
// Do not modify this file, the file is generated as part of publish. The checked in version is a placeholder only. | ||
var set_version_1 = require("@uifabric/set-version"); | ||
set_version_1.setVersion('@uifabric/merge-styles', '6.17.2'); | ||
set_version_1.setVersion('@uifabric/merge-styles', '6.17.3'); | ||
//# sourceMappingURL=version.js.map |
@@ -1,5 +0,5 @@ | ||
// @uifabric/merge-styles@6.17.2 | ||
// @uifabric/merge-styles@6.17.3 | ||
// Do not modify this file, the file is generated as part of publish. The checked in version is a placeholder only. | ||
import { setVersion } from '@uifabric/set-version'; | ||
setVersion('@uifabric/merge-styles', '6.17.2'); | ||
setVersion('@uifabric/merge-styles', '6.17.3'); | ||
//# sourceMappingURL=version.js.map |
@@ -5,5 +5,5 @@ { | ||
"packages/merge-styles/.npmrc": "825c83e09df4dad076d980d1236c532d689edf75", | ||
"packages/merge-styles/CHANGELOG.json": "961e8d877cfdbfb4607b3a5eab5eea70c8992c72", | ||
"packages/merge-styles/CHANGELOG.md": "2b30e66607ca13a2989c9e8ff50787c7180baeca", | ||
"packages/merge-styles/LICENSE": "310f6231e35c591f17680ffd2f5d4daea754e1f6", | ||
"packages/merge-styles/CHANGELOG.json": "29b7d8d614522c3dbee39d8c107b843b53a9856a", | ||
"packages/merge-styles/CHANGELOG.md": "856de8f1955fe7044ea6e8b409aeb02b0d3e6e00", | ||
"packages/merge-styles/LICENSE": "2e1d3bca160567121fa1981148ab1e654e4786cf", | ||
"packages/merge-styles/README.md": "907d06f67346751d4377b3076fcdd72dce1e18d5", | ||
@@ -13,3 +13,3 @@ "packages/merge-styles/config/api-extractor.json": "d083f8a77b829b6e7d58555620da168c135cc334", | ||
"packages/merge-styles/jest.config.js": "391bb842a574212c32950b8ddbe918360062abb9", | ||
"packages/merge-styles/package.json": "539252dbb60531fc060a1999d9a9635afc380f3d", | ||
"packages/merge-styles/package.json": "c0f8aaa9eaf063a5a88a17f8015f66ff2f796b43", | ||
"packages/merge-styles/prettier.config.js": "2ad22963ecf7fe7d5b97d29188addb1e25420257", | ||
@@ -48,9 +48,9 @@ "packages/merge-styles/src/IRawStyleBase.ts": "997db7e32a939a01ae15cd4c8d5901e5253eb930", | ||
"packages/merge-styles/src/transforms/rtlifyRules.ts": "c0b1b615455cf693eeea5cc4bd03f32a91bc6315", | ||
"packages/merge-styles/src/version.ts": "8c6fcf87ddb5565d98abd91413b38494860a5228", | ||
"packages/merge-styles/src/version.ts": "031d2cea0f839902d2fb964969d190cb3af57272", | ||
"packages/merge-styles/tsconfig.json": "f4544ef012d4b608314a9116917c4ef4193c600b", | ||
"packages/merge-styles/tslint.json": "be9508c1adfdde496e38227c44402f31af6713fc", | ||
"packages/merge-styles/webpack.config.js": "676496006d39be9f69bce74865e2d48d6f9738e9", | ||
"common/config/rush/shrinkwrap.yaml": "e8f9768b81313f007ee4b906d42b661ea94fb054" | ||
"common/config/rush/shrinkwrap.yaml": "222b56437ed60ee72885385c47e0bbb261580417" | ||
}, | ||
"arguments": "node ../../scripts/just.js build --production" | ||
} |
{ | ||
"name": "@uifabric/merge-styles", | ||
"version": "6.17.2", | ||
"version": "6.17.3", | ||
"description": "Office UI Fabric style loading utilities.", | ||
@@ -30,4 +30,4 @@ "main": "lib-commonjs/index.js", | ||
"@types/jest": "23.0.0", | ||
"@uifabric/prettier-rules": "^1.0.1", | ||
"@uifabric/tslint-rules": "^1.0.1" | ||
"@uifabric/prettier-rules": "^1.0.2", | ||
"@uifabric/tslint-rules": "^1.0.2" | ||
}, | ||
@@ -34,0 +34,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1657972
26831