UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 8.1 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/helpers.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js"],e):"object"==typeof exports?exports["assets/utils/camelcase.js"]=e(require("@xysfe/actui/es/assets/utils/helpers.js")):t["assets/utils/camelcase.js"]=e(t["@xysfe/actui/es/assets/utils/helpers.js"])}("undefined"!=typeof self?self:this,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=696)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},11:function(t,e,n){var r=n(45),o=n(19);t.exports=function(t){return r(o(t))}},15:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},150:function(t,e,n){t.exports={default:n(151),__esModule:!0}},151:function(t,e,n){n(152),t.exports=n(2).Object.assign},152:function(t,e,n){var r=n(23);r(r.S+r.F,"Object",{assign:n(153)})},153:function(t,e,n){"use strict";var r=n(3),o=n(31),u=n(77),i=n(61),c=n(37),s=n(45),f=Object.assign;t.exports=!f||n(15)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=f({},t)[n]||Object.keys(f({},e)).join("")!=r})?function(t,e){for(var n=c(t),f=arguments.length,a=1,p=u.f,l=i.f;f>a;)for(var v,y=s(arguments[a++]),h=p?o(y).concat(p(y)):o(y),x=h.length,d=0;x>d;)v=h[d++],r&&!l.call(y,v)||(n[v]=y[v]);return n}:f},19:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},21:function(t,e){t.exports=!0},22:function(t,e,n){var r=n(28)("keys"),o=n(25);t.exports=function(t){return r[t]||(r[t]=o(t))}},23:function(t,e,n){var r=n(0),o=n(2),u=n(33),i=n(4),c=n(5),s=function(t,e,n){var f,a,p,l=t&s.F,v=t&s.G,y=t&s.S,h=t&s.P,x=t&s.B,d=t&s.W,b=v?o:o[e]||(o[e]={}),g=b.prototype,j=v?r:y?r[e]:(r[e]||{}).prototype;v&&(n=e);for(f in n)(a=!l&&j&&void 0!==j[f])&&c(b,f)||(p=a?j[f]:n[f],b[f]=v&&"function"!=typeof j[f]?n[f]:x&&a?u(p,r):d&&j[f]==p?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(p):h&&"function"==typeof p?u(Function.call,p):p,h&&((b.virtual||(b.virtual={}))[f]=p,t&s.R&&g&&!g[f]&&i(g,f,p)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},24:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},25:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},26:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},28:function(t,e,n){var r=n(2),o=n(0),u=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return u[t]||(u[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(21)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},29:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},3:function(t,e,n){t.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},30:function(t,e,n){var r=n(7),o=n(0).document,u=r(o)&&r(o.createElement);t.exports=function(t){return u?o.createElement(t):{}}},31:function(t,e,n){var r=n(44),o=n(29);t.exports=Object.keys||function(t){return r(t,o)}},33:function(t,e,n){var r=n(34);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},34:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},37:function(t,e,n){var r=n(19);t.exports=function(t){return Object(r(t))}},38:function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},4:function(t,e,n){var r=n(9),o=n(26);t.exports=n(3)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},42:function(e,n){e.exports=t},44:function(t,e,n){var r=n(5),o=n(11),u=n(52)(!1),i=n(22)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),s=0,f=[];for(n in c)n!=i&&r(c,n)&&f.push(n);for(;e.length>s;)r(c,n=e[s++])&&(~u(f,n)||f.push(n));return f}},45:function(t,e,n){var r=n(24);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},46:function(t,e,n){var r=n(20),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},47:function(t,e,n){t.exports=!n(3)&&!n(15)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},5:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},52:function(t,e,n){var r=n(11),o=n(46),u=n(53);t.exports=function(t){return function(e,n,i){var c,s=r(e),f=o(s.length),a=u(i,f);if(t&&n!=n){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}}},53:function(t,e,n){var r=n(20),o=Math.max,u=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):u(t,e)}},6:function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},61:function(t,e){e.f={}.propertyIsEnumerable},696:function(t,e,n){"use strict";function r(t,e){var n=f(t,e);return n.charAt(0).toUpperCase()+n.slice(1)}function o(t,e){var n=f(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}Object.defineProperty(e,"__esModule",{value:!0}),e.uppercamelcase=r,e.lowercamelcase=o;var u=n(150),i=n.n(u),c=n(42),s=(n.n(c),function(t){for(var e=!1,n=!1,r=!1,o=0;o<t.length;o++){var u=t[o];e&&/[a-zA-Z]/.test(u)&&u.toUpperCase()===u?(t=t.slice(0,o)+"-"+t.slice(o),e=!1,r=n,n=!0,o++):n&&r&&/[a-zA-Z]/.test(u)&&u.toLowerCase()===u?(t=t.slice(0,o-1)+"-"+t.slice(o-1),r=n,n=!1,e=!0):(e=u.toLowerCase()===u&&u.toUpperCase()!==u,r=n,n=u.toUpperCase()===u&&u.toLowerCase()!==u)}return t}),f=function(t,e){if("string"!=typeof t&&!Object(c.isArray)(t))throw new TypeError("Expected the input to be `string | string[]`");e=i()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=s(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},7:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},77:function(t,e){e.f=Object.getOwnPropertySymbols},9:function(t,e,n){var r=n(6),o=n(47),u=n(38),i=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(r(t),e=u(e,!0),r(n),o)try{return i(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}}})});