vhall-mini-sdk 0.4.4 → 0.4.6
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/lib/components/mall-reward/index.js +5 -5
- package/lib/components/player/components/controls/controls.wxml +1 -5
- package/lib/components/player/components/main/extensions/methods.js +14 -4
- package/lib/components/player/extensions/export.js +11 -0
- package/lib/components/player/extensions/methods.js +58 -1
- package/lib/components/player/player.js +3 -0
- package/lib/components/player/player.json +0 -3
- package/lib/components/player/player.wxml +6 -3
- package/lib/components/player/player.wxss +1 -1
- package/lib/components/signin/signin-dialog.js +8 -8
- package/lib/sdk/main/index.js +1 -1
- package/lib/sdk/plugins/ProductServer.js +1 -1
- package/lib/shared/utils.js +1 -1
- package/package.json +1 -1
- package/lib/components/player/components/loading/loading.js +0 -9
- package/lib/components/player/components/loading/loading.json +0 -3
- package/lib/components/player/components/loading/loading.wxml +0 -4
- package/lib/components/player/components/loading/loading.wxss +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _callSuper(t,o,e){return o=_getPrototypeOf(o),function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)}(t,_isNativeReflectConstruct()?Reflect.construct(o,[],_getPrototypeOf(t).constructor):o.apply(t,e))}function _createClass(e,r,t){return r&&function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}function _toPropertyKey(t){var i=function _toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}class BaseServer{constructor(){this.handlers=Object.create(null)}on=(type,handler)=>{const bindings=[];if("object"==typeof type&&null!==type)Object.entries(type).forEach(([eventName,eventHandler])=>{this._validateParams(eventName,eventHandler),this._addHandler(eventName,eventHandler),bindings.push({type:eventName,handler:eventHandler})});else{if("string"!=typeof type||"function"!=typeof handler)throw new Error("参数格式错误,支持:$on(事件名, 处理函数) 或 $on({事件名: 处理函数, ...})");this._validateParams(type,handler),this._addHandler(type,handler),bindings.push({type:type,handler:handler})}return()=>{bindings.forEach(({type:eventName,handler:eventHandler})=>{if(!this.handlers[eventName])return;const index=this.handlers[eventName].findIndex(handler=>handler===eventHandler);-1!==index&&(this.handlers[eventName].splice(index,1),0===this.handlers[eventName].length&&delete this.handlers[eventName])})}};emit=(type,...params)=>{this.handlers[type]&&[...this.handlers[type]].forEach(handler=>{handler(...params)})};off=(type,handler)=>{if(!this.handlers[type])throw new Error(`不存在事件: ${type}`);if(handler){const index=this.handlers[type].findIndex(ele=>ele===handler);this.handlers[type].splice(index,1),0===this.handlers[type].length&&delete this.handlers[type]}else delete this.handlers[type]};_validateParams(type,handler){if("string"!=typeof type)throw new Error("事件名必须为字符串");if("function"!=typeof handler)throw new Error("事件处理函数必须为函数")}_addHandler(type,handler){this.handlers[type]||(this.handlers[type]=[]),this.handlers[type].includes(handler)||this.handlers[type].push(handler)}}let ProductServer=function(){function ProductServer(sdkInstance){var _this;return function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}(this,ProductServer),_defineProperty(_this=_callSuper(this,ProductServer),"onForeground",({gap:gap})=>{_this.getProductList({}).catch(e=>console.error("ProductServer.onForeground refresh failed:",e))}),_this.sdkInstance=sdkInstance,_this.wxApi=sdkInstance.wxApi,_this.productList=[],_this.lastMsgTime="",_this.listenerEvent(),_this.sdkInstance.on(_this.sdkInstance.EVENT.FOREGROUND_REFRESH,(...args)=>_this.onForeground(...args)),_this}return function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}(ProductServer,BaseServer),_createClass(ProductServer,[{key:"getProductList",value:async function getProductList(params){return this.wxApi.sendGet("/v3/goods/webinar/get-online-goods",{...params}).then(res=>(200==res.code&&(res.data=res.data.filter(el=>1==el.status).map(item=>this._getCurClientBuyTypeInfo(item)),this.productList=res.data,this.sdkInstance.store.set("productList",res.data)),res))}},{key:"reportGoodsView",value:async function reportGoodsView(params){const watchInitData=this.sdkInstance.store.get("watchInitData");if(!watchInitData)return;const reportData={business_uid:watchInitData.webinar?.userinfo?.user_id,webinar_id:watchInitData.webinar?.id,user_id:watchInitData.join_info?.user_id,third_user_id:watchInitData.join_info?.third_party_user_id,visitor_id:watchInitData.visitor_id,user_name:watchInitData.join_info?.nickname,act_timestamp:Date.now(),...params};return this.wxApi.sendPost("/v3/goods/good/view/add",reportData)}},{key:"listenerEvent",value:function listenerEvent(){this.sdkInstance.on(this.sdkInstance.EVENT.CUSTOM_MSG,msg=>{["goods_update_info","push_goods_change"].includes(msg.data.type)&&(this.sdkInstance.get("logReportServer")?.report("116999",{stage:msg.data.type,logData:msg}),msg.date_time>this.lastMsgTime&&(this._getProductListByCdn(msg.data),
|
|
1
|
+
"use strict";function _callSuper(t,o,e){return o=_getPrototypeOf(o),function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t)}(t,_isNativeReflectConstruct()?Reflect.construct(o,[],_getPrototypeOf(t).constructor):o.apply(t,e))}function _createClass(e,r,t){return r&&function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}function _toPropertyKey(t){var i=function _toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}class BaseServer{constructor(){this.handlers=Object.create(null)}on=(type,handler)=>{const bindings=[];if("object"==typeof type&&null!==type)Object.entries(type).forEach(([eventName,eventHandler])=>{this._validateParams(eventName,eventHandler),this._addHandler(eventName,eventHandler),bindings.push({type:eventName,handler:eventHandler})});else{if("string"!=typeof type||"function"!=typeof handler)throw new Error("参数格式错误,支持:$on(事件名, 处理函数) 或 $on({事件名: 处理函数, ...})");this._validateParams(type,handler),this._addHandler(type,handler),bindings.push({type:type,handler:handler})}return()=>{bindings.forEach(({type:eventName,handler:eventHandler})=>{if(!this.handlers[eventName])return;const index=this.handlers[eventName].findIndex(handler=>handler===eventHandler);-1!==index&&(this.handlers[eventName].splice(index,1),0===this.handlers[eventName].length&&delete this.handlers[eventName])})}};emit=(type,...params)=>{this.handlers[type]&&[...this.handlers[type]].forEach(handler=>{handler(...params)})};off=(type,handler)=>{if(!this.handlers[type])throw new Error(`不存在事件: ${type}`);if(handler){const index=this.handlers[type].findIndex(ele=>ele===handler);this.handlers[type].splice(index,1),0===this.handlers[type].length&&delete this.handlers[type]}else delete this.handlers[type]};_validateParams(type,handler){if("string"!=typeof type)throw new Error("事件名必须为字符串");if("function"!=typeof handler)throw new Error("事件处理函数必须为函数")}_addHandler(type,handler){this.handlers[type]||(this.handlers[type]=[]),this.handlers[type].includes(handler)||this.handlers[type].push(handler)}}let ProductServer=function(){function ProductServer(sdkInstance){var _this;return function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}(this,ProductServer),_defineProperty(_this=_callSuper(this,ProductServer),"onForeground",({gap:gap})=>{_this.getProductList({}).catch(e=>console.error("ProductServer.onForeground refresh failed:",e))}),_this.sdkInstance=sdkInstance,_this.wxApi=sdkInstance.wxApi,_this.productList=[],_this.lastMsgTime="",_this.listenerEvent(),_this.sdkInstance.on(_this.sdkInstance.EVENT.FOREGROUND_REFRESH,(...args)=>_this.onForeground(...args)),_this}return function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}(ProductServer,BaseServer),_createClass(ProductServer,[{key:"getProductList",value:async function getProductList(params){return this.wxApi.sendGet("/v3/goods/webinar/get-online-goods",{...params}).then(res=>(200==res.code&&(res.data=res.data.filter(el=>1==el.status).map(item=>this._getCurClientBuyTypeInfo(item)),this.productList=res.data,this.sdkInstance.store.set("productList",res.data)),res))}},{key:"reportGoodsView",value:async function reportGoodsView(params){const watchInitData=this.sdkInstance.store.get("watchInitData");if(!watchInitData)return;const reportData={business_uid:watchInitData.webinar?.userinfo?.user_id,webinar_id:watchInitData.webinar?.id,user_id:watchInitData.join_info?.user_id,third_user_id:watchInitData.join_info?.third_party_user_id,visitor_id:watchInitData.visitor_id,user_name:watchInitData.join_info?.nickname,act_timestamp:Date.now(),...params};return this.wxApi.sendPost("/v3/goods/good/view/add",reportData)}},{key:"listenerEvent",value:function listenerEvent(){this.sdkInstance.on(this.sdkInstance.EVENT.CUSTOM_MSG,msg=>{["goods_update_info","push_goods_change"].includes(msg.data.type)&&(this.sdkInstance.get("logReportServer")?.report("116999",{stage:msg.data.type,logData:msg}),msg.date_time>this.lastMsgTime&&(this._getProductListByCdn(msg.data),function safeCustomLog(context,...args){try{context?.BRSAgent?.customLog?.(...args)}catch(e){}}(this.sdkInstance,"product:update"),this.lastMsgTime=msg.date_time))})}},{key:"_getProductListByCdn",value:async function _getProductListByCdn(params){try{const res=await this.wxApi.sendGet(params.cdn_url,{},{timeout:5e3});return this.sdkInstance.get("logReportServer")?.report("116999",{stage:"getProductListByCdn",logData:res}),this.productList=res.filter(el=>1==el.status).map(item=>this._getCurClientBuyTypeInfo(item)),this.sdkInstance.store.set("productList",this.productList),res}catch(error){if(console.error("请求 cdn_url 失败:",error),!params.access_url)throw error;try{const res=await this.wxApi.sendGet(params.access_url);return this.sdkInstance.get("logReportServer")?.report("116999",{stage:"getProductListByCdn2",logData:res}),this.productList=res.filter(el=>1==el.status).map(item=>this._getCurClientBuyTypeInfo(item)),this.sdkInstance.store.set("productList",this.productList),res}catch(accessError){throw console.error("请求 access_url 也失败:",accessError),accessError}}}},{key:"_getCurClientBuyTypeInfo",value:function _getCurClientBuyTypeInfo(info){if(0==info.enable_multi_config)return info;{let platform,extLink,appEmbed,miniProgram;info.sku.forEach(el=>{const item=Object(el,el.sku_conf);1==item.buy_type?platform=item:2==item.buy_type?extLink=item:3==item.buy_type?appEmbed=item:4==item.buy_type&&(miniProgram=item)});const data=platform||miniProgram||extLink||appEmbed;return Object.assign(info,data,{mini_program_config:miniProgram})}}}])}();_defineProperty(ProductServer,"name","ProductServer"),module.exports=ProductServer;
|
package/lib/shared/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function guid(){return"xxxxxxxx-xxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function generateShortId(e=8){const t="abcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<e;n++){r+=t[Math.floor(36*Math.random())]}return r}function debounce(e,t=300){let r=null;return function(){const n=arguments,o=!r;clearTimeout(r),r=setTimeout((()=>{r=null}),t),o&&e.apply(this,n)}}function throttle(e,t){let r=null,n=0;return function(...o){const s=Date.now(),a=s-n;a>=t?(e.apply(this,o),n=s):r||(r=setTimeout((()=>{e.apply(this,o),n=Date.now(),r=null}),t-a))}}function isString(e){return"string"==typeof e}function isObj(e){return"[object Object]"===Object.prototype.toString.call(e)}function deepCopy(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return e.map((e=>deepCopy(e)));if(e instanceof Set)return new Set(Array.from(e).map((e=>deepCopy(e))));if(e instanceof Map)return new Map(Array.from(e).map((([e,t])=>[e,deepCopy(t)])));if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e.source,e.flags);const t={};for(const r in e)e.hasOwnProperty(r)&&(t[r]=deepCopy(e[r]));return t}function timeToTimestamp(e){if(!/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e)||!e)return console.error('时间格式错误,请使用"YYYY-MM-DD HH:MM:SS"格式'),null;try{const t=e.replace(/-/g,"/"),r=new Date(t);return"Invalid Date"===r.toString()?(console.error("无效的日期"),null):r.getTime()}catch(e){return console.error("时间转换失败:",e),null}}function safeUrlJoin(e,t){return!e||t.startsWith("http")?t:`${e.replace(/\/$/,"")}/${t.replace(/^\//,"")}`}Object.defineProperty(exports,"__esModule",{value:!0}),exports.appendParamsToPath=appendParamsToPath,exports.debounce=debounce,exports.deepCopy=deepCopy,exports.deepDecodeObjectValues=void 0,exports.firstLetterToLower=firstLetterToLower,exports.formatDateTime=void 0,exports.formatSeconds2Time=formatSeconds2Time,exports.genRandom=genRandom,exports.generateShortId=generateShortId,exports.guid=guid,exports.isEmpty=isEmpty,exports.isObj=isObj,exports.isString=isString,exports.parseQueryString=parseQueryString,exports.safeJsonParse=void 0,exports.safeUrlJoin=safeUrlJoin,exports.sleep=sleep,exports.throttle=throttle,exports.timeToTimestamp=timeToTimestamp,exports.truncateString=void 0;const formatDateTime=function(e,t="YYYY-MM-DD HH:MM:SS"){const r=String(e.getFullYear()),n=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),s=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),i=String(e.getSeconds()).padStart(2,"0");let
|
|
1
|
+
"use strict";function guid(){return"xxxxxxxx-xxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function generateShortId(e=8){const t="abcdefghijklmnopqrstuvwxyz0123456789";let r="";for(let n=0;n<e;n++){r+=t[Math.floor(36*Math.random())]}return r}function debounce(e,t=300){let r=null;return function(){const n=arguments,o=!r;clearTimeout(r),r=setTimeout((()=>{r=null}),t),o&&e.apply(this,n)}}function throttle(e,t){let r=null,n=0;return function(...o){const s=Date.now(),a=s-n;a>=t?(e.apply(this,o),n=s):r||(r=setTimeout((()=>{e.apply(this,o),n=Date.now(),r=null}),t-a))}}function isString(e){return"string"==typeof e}function isObj(e){return"[object Object]"===Object.prototype.toString.call(e)}function deepCopy(e){if("object"!=typeof e||null===e)return e;if(Array.isArray(e))return e.map((e=>deepCopy(e)));if(e instanceof Set)return new Set(Array.from(e).map((e=>deepCopy(e))));if(e instanceof Map)return new Map(Array.from(e).map((([e,t])=>[e,deepCopy(t)])));if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e.source,e.flags);const t={};for(const r in e)e.hasOwnProperty(r)&&(t[r]=deepCopy(e[r]));return t}function timeToTimestamp(e){if(!/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e)||!e)return console.error('时间格式错误,请使用"YYYY-MM-DD HH:MM:SS"格式'),null;try{const t=e.replace(/-/g,"/"),r=new Date(t);return"Invalid Date"===r.toString()?(console.error("无效的日期"),null):r.getTime()}catch(e){return console.error("时间转换失败:",e),null}}function safeUrlJoin(e,t){return!e||t.startsWith("http")?t:`${e.replace(/\/$/,"")}/${t.replace(/^\//,"")}`}Object.defineProperty(exports,"__esModule",{value:!0}),exports.appendParamsToPath=appendParamsToPath,exports.debounce=debounce,exports.deepCopy=deepCopy,exports.deepDecodeObjectValues=void 0,exports.firstLetterToLower=firstLetterToLower,exports.formatDateTime=void 0,exports.formatSeconds2Time=formatSeconds2Time,exports.genRandom=genRandom,exports.generateShortId=generateShortId,exports.guid=guid,exports.isEmpty=isEmpty,exports.isObj=isObj,exports.isString=isString,exports.parseQueryString=parseQueryString,exports.safeCustomLog=safeCustomLog,exports.safeJsonParse=void 0,exports.safeUrlJoin=safeUrlJoin,exports.sleep=sleep,exports.throttle=throttle,exports.timeToTimestamp=timeToTimestamp,exports.truncateString=void 0;const formatDateTime=function(e,t="YYYY-MM-DD HH:MM:SS"){const r=String(e.getFullYear()),n=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),s=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),i=String(e.getSeconds()).padStart(2,"0");let c=t;return c=c.replace("YYYY",r).replace("MM",n).replace("DD",o).replace("HH",s).replace("MM",a).replace("SS",i),c};function parseQueryString(e){return e.split("&").reduce(((e,t)=>{const[r,n]=t.split("=");return r&&(e[decodeURIComponent(r)]=n?decodeURIComponent(n):""),e}),{})}function appendParamsToPath(e,t,r=!0){let[n,o]=e.split("?");const s={};o&&o.split("&").forEach((e=>{const[t,r]=e.split("=");t&&(s[t]=decodeURIComponent(r||""))})),Object.entries(t).forEach((([e,t])=>{s.hasOwnProperty(e)&&!r||(s[e]=t)}));const a=Object.entries(s).map((([e,t])=>`${e}=${encodeURIComponent(t)}`)).join("&");return a?`${n}?${a}`:n}function firstLetterToLower(e){return"string"!=typeof e||0===e.length?e:e.charAt(0).toLowerCase()+e.slice(1)}exports.formatDateTime=formatDateTime;const safeJsonParse=function(e){const t=Object.prototype.toString.call(e);if(["[object Array]","[object Object]","[object Null]"].includes(t))return e;try{return JSON.parse(e)}catch(e){return null}};exports.safeJsonParse=safeJsonParse;const truncateString=function(e,t=30){return e&&"string"==typeof e?e.length>t?e.substring(0,30):e:""};exports.truncateString=truncateString;const deepDecodeObjectValues=function(e){if("object"!=typeof e||null===e){if("string"==typeof e)try{return decodeURIComponent(e)}catch(t){return e}return e}if(Array.isArray(e))return e.map(deepDecodeObjectValues);const t={};for(const r in e)e.hasOwnProperty(r)&&(t[r]=deepDecodeObjectValues(e[r]));return t};function isEmpty(e){return null==e||("string"==typeof e||Array.isArray(e)?0===e.length:"object"==typeof e&&0===Object.keys(e).length)}function formatSeconds2Time(e){if(!isNaN(e)&&e>=0){const t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=e%60;if(t>0){const padTwo=e=>String(e).padStart(2,"0");return`${padTwo(t)}:${padTwo(r)}:${padTwo(n)}`}{const padTwo=e=>String(e).padStart(2,"0");return`${padTwo(r)}:${padTwo(n)}`}}return"--:--"}function sleep(e){return new Promise((t=>{setTimeout(t,e)}))}function genRandom(e,t){return Math.floor(Math.random()*(t-e+1))+e}function safeCustomLog(e,...t){try{e?.BRSAgent?.customLog?.(...t)}catch(e){}}exports.deepDecodeObjectValues=deepDecodeObjectValues;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.vhall-loading{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.vhall-loading__spinner{animation:ve-rotate .8s linear infinite;box-sizing:border-box;height:30px;max-height:100%;max-width:100%;position:relative;width:30px}.vhall-loading__spinner--circular{border:1px solid transparent;border-radius:100%;border-top-color:initial}.vhall-loading__text{color:#999;line-height:20px;margin-top:8px}.vhall-loading__text:empty{display:none}@keyframes ve-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
|