ku4web-components 6.7.14 → 6.7.15
Sign up to get free protection for your applications and to get access to all the features.
- package/angular/index.js +1 -1
- package/dist/cjs/{index-15875e65.js → index-6c555187.js} +1 -1
- package/dist/cjs/ku4-carousel-controls.cjs.entry.js +2 -1
- package/dist/cjs/ku4-carousel-slide.cjs.entry.js +3 -1
- package/dist/cjs/ku4-carousel.cjs.entry.js +2 -15
- package/dist/cjs/ku4-col.cjs.entry.js +11 -7
- package/dist/cjs/ku4-drawer.cjs.entry.js +6 -4
- package/dist/cjs/ku4-feature.cjs.entry.js +2 -6
- package/dist/cjs/ku4-focus-trap.cjs.entry.js +6 -4
- package/dist/cjs/ku4-form.cjs.entry.js +4 -2
- package/dist/cjs/ku4-grid.cjs.entry.js +14 -20
- package/dist/cjs/ku4-label.cjs.entry.js +4 -1
- package/dist/cjs/ku4-mask.cjs.entry.js +2 -31
- package/dist/cjs/ku4-modal.cjs.entry.js +2 -12
- package/dist/cjs/ku4-panel.cjs.entry.js +1 -4
- package/dist/cjs/ku4-preview.cjs.entry.js +11 -1
- package/dist/cjs/ku4-tab-list.cjs.entry.js +1 -1
- package/dist/cjs/ku4-tab-panel.cjs.entry.js +2 -4
- package/dist/cjs/ku4-tab.cjs.entry.js +2 -4
- package/dist/cjs/ku4-table.cjs.entry.js +1 -9
- package/dist/cjs/ku4-tooltip.cjs.entry.js +7 -1
- package/dist/cjs/ku4-validation.cjs.entry.js +9 -33
- package/dist/cjs/ku4web-components.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{shadow-css-346c0795.js → shadow-css-bd1b81c3.js} +1 -1
- package/dist/esm/{index-906433aa.js → index-957d146b.js} +1 -1
- package/dist/esm/ku4-carousel-controls.entry.js +2 -1
- package/dist/esm/ku4-carousel-slide.entry.js +3 -1
- package/dist/esm/ku4-carousel.entry.js +2 -15
- package/dist/esm/ku4-col.entry.js +11 -7
- package/dist/esm/ku4-drawer.entry.js +6 -4
- package/dist/esm/ku4-feature.entry.js +2 -6
- package/dist/esm/ku4-focus-trap.entry.js +6 -4
- package/dist/esm/ku4-form.entry.js +4 -2
- package/dist/esm/ku4-grid.entry.js +14 -20
- package/dist/esm/ku4-label.entry.js +4 -1
- package/dist/esm/ku4-mask.entry.js +2 -31
- package/dist/esm/ku4-modal.entry.js +2 -12
- package/dist/esm/ku4-panel.entry.js +1 -4
- package/dist/esm/ku4-preview.entry.js +11 -1
- package/dist/esm/ku4-tab-list.entry.js +1 -1
- package/dist/esm/ku4-tab-panel.entry.js +2 -4
- package/dist/esm/ku4-tab.entry.js +2 -4
- package/dist/esm/ku4-table.entry.js +1 -9
- package/dist/esm/ku4-tooltip.entry.js +7 -1
- package/dist/esm/ku4-validation.entry.js +9 -33
- package/dist/esm/ku4web-components.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{shadow-css-b18e99d7.js → shadow-css-ad447c78.js} +1 -1
- package/dist/esm-es5/{index-906433aa.js → index-957d146b.js} +1 -1
- package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel.entry.js +1 -1
- package/dist/esm-es5/ku4-col.entry.js +1 -1
- package/dist/esm-es5/ku4-drawer.entry.js +1 -1
- package/dist/esm-es5/ku4-feature.entry.js +1 -1
- package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
- package/dist/esm-es5/ku4-form.entry.js +1 -1
- package/dist/esm-es5/ku4-grid.entry.js +1 -1
- package/dist/esm-es5/ku4-label.entry.js +1 -1
- package/dist/esm-es5/ku4-mask.entry.js +1 -1
- package/dist/esm-es5/ku4-modal.entry.js +1 -1
- package/dist/esm-es5/ku4-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-preview.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-tab.entry.js +1 -1
- package/dist/esm-es5/ku4-table.entry.js +1 -1
- package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
- package/dist/esm-es5/ku4-validation.entry.js +1 -1
- package/dist/esm-es5/ku4web-components.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-b18e99d7.js → shadow-css-ad447c78.js} +0 -0
- package/dist/ku4web-components/ku4web-components.esm.js +1 -1
- package/dist/ku4web-components/ku4web-components.js +1 -1
- package/dist/ku4web-components/{p-4143d5d6.entry.js → p-0772733b.entry.js} +1 -1
- package/dist/ku4web-components/{p-570177e8.system.entry.js → p-13865812.system.entry.js} +1 -1
- package/dist/ku4web-components/p-1da96628.entry.js +1 -0
- package/dist/ku4web-components/{p-c37c000c.system.entry.js → p-212c12d9.system.entry.js} +1 -1
- package/dist/ku4web-components/p-26508a58.entry.js +1 -0
- package/dist/ku4web-components/p-282548d9.system.entry.js +1 -0
- package/dist/ku4web-components/p-28c15c46.system.entry.js +1 -0
- package/dist/ku4web-components/p-30e86d58.entry.js +1 -0
- package/dist/ku4web-components/p-344201be.system.entry.js +1 -0
- package/dist/ku4web-components/{p-0c80849a.system.entry.js → p-3473e882.system.entry.js} +1 -1
- package/dist/ku4web-components/p-3bad27c8.entry.js +1 -0
- package/dist/ku4web-components/p-3c369c52.system.entry.js +1 -0
- package/dist/ku4web-components/{p-8e03322a.system.js → p-556e08d2.system.js} +1 -1
- package/dist/ku4web-components/{p-f134bec3.js → p-558f5446.js} +2 -2
- package/dist/ku4web-components/p-591a5737.system.entry.js +1 -0
- package/dist/ku4web-components/{p-6a27b43f.system.entry.js → p-5c87e225.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-2e8bdcac.entry.js → p-6216bc96.entry.js} +1 -1
- package/dist/ku4web-components/{p-f7873ccb.system.js → p-6481a064.system.js} +1 -1
- package/dist/ku4web-components/{p-517fec9b.system.entry.js → p-64c18ab1.system.entry.js} +1 -1
- package/dist/ku4web-components/p-69f12fa1.entry.js +1 -0
- package/dist/ku4web-components/{p-4ae67f1f.system.entry.js → p-74c39b70.system.entry.js} +1 -1
- package/dist/ku4web-components/p-75de4fe4.system.entry.js +1 -0
- package/dist/ku4web-components/p-79d3dbaa.entry.js +1 -0
- package/dist/ku4web-components/{p-88092d06.system.js → p-7a4d0d37.system.js} +0 -0
- package/dist/ku4web-components/{p-f26ed61d.js → p-7cc436d6.js} +0 -0
- package/dist/ku4web-components/{p-62691d31.system.entry.js → p-84988564.system.entry.js} +1 -1
- package/dist/ku4web-components/p-8b256643.entry.js +1 -0
- package/dist/ku4web-components/p-8b438fd6.system.entry.js +1 -0
- package/dist/ku4web-components/p-99c77683.entry.js +1 -0
- package/dist/ku4web-components/p-9cbcda7a.entry.js +1 -0
- package/dist/ku4web-components/{p-4038362a.system.entry.js → p-9f08f419.system.entry.js} +1 -1
- package/dist/ku4web-components/p-a0ad128b.entry.js +1 -0
- package/dist/ku4web-components/p-b499e6cb.entry.js +1 -0
- package/dist/ku4web-components/p-bb53b540.entry.js +1 -0
- package/dist/ku4web-components/p-bd17f58b.system.entry.js +1 -0
- package/dist/ku4web-components/{p-d21d1e0e.entry.js → p-bd45bbef.entry.js} +1 -1
- package/dist/ku4web-components/p-c44e4eb9.system.entry.js +1 -0
- package/dist/ku4web-components/{p-6d14ef68.system.entry.js → p-cd7c2c74.system.entry.js} +1 -1
- package/dist/ku4web-components/p-d25074c1.entry.js +1 -0
- package/dist/ku4web-components/{p-ae5e23b4.entry.js → p-d93c4d57.entry.js} +1 -1
- package/dist/ku4web-components/{p-9f434bd7.system.entry.js → p-e51ab6b5.system.entry.js} +1 -1
- package/dist/ku4web-components/p-e71a70df.system.entry.js +1 -0
- package/dist/ku4web-components/p-e90671f2.entry.js +1 -0
- package/dist/ku4web-components/p-f1f3f822.entry.js +1 -0
- package/dist/ku4web-components/p-feee514a.entry.js +1 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/package.json +32 -32
- package/react/index.js +1 -1
- package/vue/index.js +1 -1
- package/vue3/index.js +1 -1
- package/dist/ku4web-components/p-2e259be8.system.entry.js +0 -1
- package/dist/ku4web-components/p-321ff189.entry.js +0 -1
- package/dist/ku4web-components/p-3afb47cc.system.entry.js +0 -1
- package/dist/ku4web-components/p-3ee2a2dd.system.entry.js +0 -1
- package/dist/ku4web-components/p-47690d76.entry.js +0 -1
- package/dist/ku4web-components/p-4c41bbdd.entry.js +0 -1
- package/dist/ku4web-components/p-557f0053.entry.js +0 -1
- package/dist/ku4web-components/p-608ec081.system.entry.js +0 -1
- package/dist/ku4web-components/p-6343daaa.entry.js +0 -1
- package/dist/ku4web-components/p-667063a1.system.entry.js +0 -1
- package/dist/ku4web-components/p-6fc8ef40.entry.js +0 -1
- package/dist/ku4web-components/p-92c72bf8.system.entry.js +0 -1
- package/dist/ku4web-components/p-98f05ada.system.entry.js +0 -1
- package/dist/ku4web-components/p-990790af.entry.js +0 -1
- package/dist/ku4web-components/p-bd8e14e8.entry.js +0 -1
- package/dist/ku4web-components/p-ca08f742.entry.js +0 -1
- package/dist/ku4web-components/p-cfa2430c.entry.js +0 -1
- package/dist/ku4web-components/p-d19c1792.entry.js +0 -1
- package/dist/ku4web-components/p-d66a1733.entry.js +0 -1
- package/dist/ku4web-components/p-ea728fd5.entry.js +0 -1
- package/dist/ku4web-components/p-eace27f8.system.entry.js +0 -1
- package/dist/ku4web-components/p-ebacc2e9.entry.js +0 -1
- package/dist/ku4web-components/p-f0744d75.system.entry.js +0 -1
- package/dist/ku4web-components/p-f1b64863.system.entry.js +0 -1
- package/dist/ku4web-components/p-f1df904f.entry.js +0 -1
- package/dist/ku4web-components/p-feef17a2.entry.js +0 -1
package/angular/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";function t(){t=function(){return r};var r={},e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var i=r&&r.prototype instanceof f?r:f,o=Object.create(i.prototype),s=new A(n||[]);return o._invoke=function(t,r,e){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return E()}for(e.method=i,e.arg=o;;){var s=e.delegate;if(s){var a=w(s,e);if(a){if(a===h)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=l(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}(t,e,s),o}function l(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=c;var h={};function f(){}function p(){}function d(){}var y={};u(y,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(F([])));m&&m!==e&&n.call(m,o)&&(y=m);var v=d.prototype=f.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function b(t,r){function e(i,o,s,a){var u=l(t[i],t,o);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==typeof h&&n.call(h,"__await")?r.resolve(h.__await).then((function(t){e("next",t,s,a)}),(function(t){e("throw",t,s,a)})):r.resolve(h).then((function(t){c.value=t,s(c)}),(function(t){return e("throw",t,s,a)}))}a(u.arg)}var i;this._invoke=function(t,n){function o(){return new r((function(r,i){e(t,n,r,i)}))}return i=i?i.then(o,o):o()}}function w(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,w(t,r),"throw"===r.method))return h;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var n=l(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,h;var i=n.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,h):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,h)}function N(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function x(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function F(t){if(t){var r=t[o];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,i=function r(){for(;++e<t.length;)if(n.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return i.next=i}}return{next:E}}function E(){return{value:void 0,done:!0}}return p.prototype=d,u(v,"constructor",d),u(d,"constructor",p),p.displayName=u(d,a,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t},r.awrap=function(t){return{__await:t}},_(b.prototype),u(b.prototype,s,(function(){return this})),r.AsyncIterator=b,r.async=function(t,e,n,i,o){void 0===o&&(o=Promise);var s=new b(c(t,e,n,i),o);return r.isGeneratorFunction(e)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},_(v),u(v,a,"Generator"),u(v,o,(function(){return this})),u(v,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=F,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return s.type="throw",s.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=r,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(s)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),h},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),x(e),h}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var i=n.arg;x(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:F(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),h}},r}function r(t,r,e,n,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void e(t)}a.done?r(u):Promise.resolve(u).then(n,i)}function e(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var s=t.apply(e,n);function a(t){r(s,i,o,a,u,"next",t)}function u(t){r(s,i,o,a,u,"throw",t)}a(void 0)}))}}let n,i=class{static isNull(t){return null===t}static isEmpty(t){return i.isString(t)&&""===t||i.isArray(t)&&t.length<1||i.isObjectLiteral(t)&&Object.keys(t).length<1}static isUndefined(t){return void 0===t}static isZero(t){return 0===t}static exists(t){return!(i.isUndefined(t)||i.isNull(t))}static isNullOrEmpty(t){return!i.exists(t)||i.isEmpty(t)}static isArray(t){return Array.isArray(t)}static isBool(t){return"boolean"==typeof t}static isTrue(t){return i.isBool(t)&&!0===t}static isFalse(t){return i.isBool(t)&&!1===t}static isDate(t){return t instanceof Date}static isNumber(t){return("number"==typeof t||t instanceof Number)&&!isNaN(t)}static isEven(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0}static isOdd(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)}static isString(t){return"string"==typeof t||t instanceof String}static isFunction(t){return t instanceof Function}static isAsyncFunction(t){try{return"AsyncFunction"===Object.getPrototypeOf(t).constructor.name||i.isFunction(t)&&/^async/.test(t.toString())||i.isFunction(t().then)}catch(t){return!1}}static isPromise(t){return t instanceof Promise}static isObject(t){return i.exists(t)&&"object"==typeof t&&!(i.isBool(t)||i.isNumber(t)||i.isDate(t)||i.isArray(t)||i.isString(t)||i.isFunction(t))}static isObjectLiteral(t){return i.isObject(t)&&t.constructor==={}.constructor}static isTruthy(t){return!i.isFalsy(t)}static isFalsy(t){return i.isZero(t)||i.isFalse(t)||i.isNullOrEmpty(t)||isNaN(t)}};function o(t){return i.exists(t)&&i.isFunction(t.replace)?t.replace(/^[\s\n]*/,""):t}function s(t){return i.exists(t)&&i.isFunction(t.replace)?t.replace(/[\s\n]*$/,""):t}function a(t,r=0){const e=Math.pow(10,-r);return Math.round(parseFloat((t*e).toFixed(Math.abs(r))))/e}function u(t,r=0){return a(t+5*Math.pow(10,r-1),r)}function c(t,r=0){return 0===t?0:a(t-5*Math.pow(10,r-1),r)}function l(t){const r=(t,e=0,n=1)=>0<t?r(--t,n,e+n):e;return r(t)}function h(t){let r=0,e=1,n=0;for(;t>1;)n=r,r=e,e+=n,t--;return t<1?r:e}function f(t){const r=isNaN(parseInt(t))||t<0||t>24?24:t,e=Math.random().toString().substring(2),n=Math.random().toString().substring(2);return e.concat(n).substring(0,r)}function p(){return function t(r){return r?(r^16*Math.random()>>r/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}Object.freeze({__proto__:null,build:function(...t){return"".concat(...t)},chunk:function(t,r=0){if(!i.isString(t)||Number.isNaN(r)||r<0)return[];if(r<t.length){let e=0;const n=r||t.length,i=[];for(;e<t.length;)i.push(t.slice(e,e+n)),e+=n;return i}return[t]},format:function(t,...r){return r.reduce(((t,r,e)=>t.replace(new RegExp(`\\{${e}\\}`,"g"),r&&r.toString?r.toString():r)),t)},trim:function(t){return o(s(t))},trimStart:o,trimEnd:s,capitalize:function(t=""){return(t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(t,r,e="_"){const n=t.toString().split(""),o=new RegExp(e);return i.isFunction(r)?r(t):i.isString(r)&&r.split("").reduce(((e,i)=>n.length>0&&(o.test(i)||n[0]===i&&t.indexOf(n[0])===r.indexOf(i))?e+n.shift():e+i),"")},unmask:function(t,r,e="_"){const n=new RegExp(e);return i.isFunction(r)?r(t):i.isString(r)&&t.split("").reduce(((t,e,i)=>n.test(e)||!n.test(r.charAt(i))&&r.charAt(i)===e?t:t+e),"")}}),Object.freeze({__proto__:null,random:function(t=0,r=1){return Math.random()*(r-t)+t},round:a,roundUp:u,roundDown:c,roundTowardZero:function(t,r=0){return t<0?u(t,r):c(t,r)},gcd:function t(r,e){return 0===e?Math.abs(r):t(e,r%e)},fib:l,fib2:h,fibArray:function(t){return Array(t).fill(0).map((()=>l(--t))).reverse()},fib2Array:function(t){return Array(t).fill(0).map((()=>h(--t))).reverse()},tryParseInt:function(t,r=0){const e=parseInt(t);return Number.isNaN(e)?r:e},tryParseFloat:function(t,r=0){const e=parseFloat(t);return Number.isNaN(e)?r:e}}),Object.freeze({__proto__:null,uid:f,uuid:p,suid:function(){return Symbol(f())},suuid:function(){return Symbol(p())}}),Object.freeze({__proto__:null,pattern:t=>t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\"),escape:t=>t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/_:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?_]+=[^=?_]*(&[^=?_]+=[^=?_]*)*(_.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i});class d{static isNull(t){return null===t}static isEmpty(t){return d.isString(t)&&""===t||d.isArray(t)&&t.length<1||d.isObjectLiteral(t)&&Object.keys(t).length<1}static isUndefined(t){return void 0===t}static isZero(t){return 0===t}static exists(t){return!(d.isUndefined(t)||d.isNull(t))}static isNullOrEmpty(t){return!d.exists(t)||d.isEmpty(t)}static isArray(t){return Array.isArray(t)}static isBool(t){return"boolean"==typeof t}static isTrue(t){return d.isBool(t)&&!0===t}static isFalse(t){return d.isBool(t)&&!1===t}static isDate(t){return t instanceof Date}static isNumber(t){return("number"==typeof t||t instanceof Number)&&!isNaN(t)}static isEven(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0}static isOdd(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)}static isString(t){return"string"==typeof t||t instanceof String}static isFunction(t){return t instanceof Function}static isAsyncFunction(t){try{return"AsyncFunction"===Object.getPrototypeOf(t).constructor.name||d.isFunction(t)&&/^async/.test(t.toString())||d.isFunction(t().then)}catch(t){return!1}}static isPromise(t){return t instanceof Promise}static isObject(t){return d.exists(t)&&"object"==typeof t&&!(d.isBool(t)||d.isNumber(t)||d.isDate(t)||d.isArray(t)||d.isString(t)||d.isFunction(t))}static isObjectLiteral(t){return d.isObject(t)&&t.constructor==={}.constructor}static isTruthy(t){return!d.isFalsy(t)}static isFalsy(t){return d.isZero(t)||d.isFalse(t)||d.isNullOrEmpty(t)||isNaN(t)}}function y(...t){return"".concat(...t)}function g(t,...r){return r.reduce(((t,r,e)=>t.replace(new RegExp(`\\{${e}\\}`,"g"),r&&r.toString?r.toString():r)),t)}function m(t){return v(_(t))}function v(t){return d.exists(t)&&d.isFunction(t.replace)?t.replace(/^[\s\n]*/,""):t}function _(t){return d.exists(t)&&d.isFunction(t.replace)?t.replace(/[\s\n]*$/,""):t}function b(t,r){try{return t()}catch{return r}}Object.freeze({__proto__:null,build:y,chunk:function(t,r=0){if(!d.isString(t)||Number.isNaN(r)||r<0)return[];if(r<t.length){let e=0;const n=r||t.length,i=[];for(;e<t.length;)i.push(t.slice(e,e+n)),e+=n;return i}return[t]},format:g,trim:m,trimStart:v,trimEnd:_,capitalize:function(t=""){return(t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(t,r,e="_"){const n=t.toString().split(""),i=new RegExp(e);return d.isFunction(r)?r(t):d.isString(r)&&r.split("").reduce(((e,o)=>n.length>0&&(i.test(o)||n[0]===o&&t.indexOf(n[0])===r.indexOf(o))?e+n.shift():e+o),"")},unmask:function(t,r,e="_"){const n=new RegExp(e);return d.isFunction(r)?r(t):d.isString(r)&&t.split("").reduce(((t,e,i)=>n.test(e)||!n.test(r.charAt(i))&&r.charAt(i)===e?t:t+e),"")}}),b.async=async(t,r)=>{try{return await t()}catch{return r}};class w{constructor(t,r,e){if(r<1||r>12)throw new Error("Invalid month at Assert.DayPoint");if(e<1||e>N(r,t))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(t,r-1,e):new Date,this._day=this._value.getDay(),this._date=e,this._month=r,this._year=t}get value(){return this._value}get day(){return this._day}get date(){return this._date}get month(){return this._month}get year(){return this._year}get shortYear(){const t=this._year.toString();return parseInt(t.substr(t.length-2))}get isWeekday(){const t=this._day;return t>0&&t<6}get isWeekend(){return!this.isWeekday}get isLeapYear(){return x(this._year)}get nextDay(){return A(this,1,0,0)}get prevDay(){return A(this,-1,0,0)}get nextMonth(){return A(this,0,1,0)}get prevMonth(){return A(this,0,-1,0)}get nextYear(){return A(this,0,0,1)}get prevYear(){return A(this,0,0,-1)}get firstDayOfMonth(){return new w(this._year,this._month,1)}get lastDayOfMonth(){return new w(this._year,this._month,N(this._month,this._year))}add(t,r,e){function n(t,r,e){let n=t,i=r;for(;i--;)n=n[e];return n}const{abs:i}=Math,o=i(t),s=i(e),a=i(r),u=e<0?"prevDay":"nextDay",c=r<0?"prevMonth":"nextMonth";return n(n(n(this,o,t<0?"prevYear":"nextYear"),a,c),s,u)}isBefore(t){return!(this.isAfter(t)||this.equals(t))}isAfter(t){const r=this._year,e=t.year,n=this._month,i=t.month;return r>e||r===e&&n>i||r===e&&n===i&&this._date>t.date}equals(t){return this._year===t.year&&this._month===t.month&&this._date===t.date}toString(t="mm/dd/yyyy"){const r=/y{3,}/i.test(t)?this._year:this.shortYear,e=this._month,n=this._date,i=/m{2}/i.test(t)&&e<10?"0{1}":"{1}",o=/d{2}/i.test(t)&&n<10?"0{2}":"{2}";return g(t.replace(/y+/gi,"{0}").replace(/m+/gi,i).replace(/d+/gi,o),r,e,n)}toDate(){return this._value}toJson(){return this._value.toJSON()}static canParse(t){return d.isString(t)||d.isNumber(t)||d.isDate(t)?!isNaN(new Date(t).valueOf()):t instanceof w}static parse(t){if(t instanceof w)return t;let r=d.isString(t)?m(t).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):t;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(r)){const t=r.split("-"),[e]=t;t.push(e),t.shift(),r=t.join("/")}const e=new Date(r);if(!d.exists(r)||Number.isNaN(e.valueOf()))throw new Error(g("Cannot parse value= {0}",r));return new w(e.getFullYear(),e.getMonth()+1,e.getDate())}static tryParse(t){return b((()=>w.parse(t)),null)}static assumeNow(t){n=w.parse(t)}static get today(){return n||w.parse(new Date)}}function N(t,r){return 2===t?x(r)?29:28:t<8&&d.isEven(t)||t>7&&d.isOdd(t)?30:31}function x(t){const r=t.toString().split(/\B/);return parseFloat(y(r[r.length-2],r[r.length-1]))%4==0}function A(t,r,e,n){const i=t.month,o=t.year,s=t.date,a=e,u=n;let c=s+r,l=i+a,h=o+u;if(s+r>N(i,o)&&(c=1,l=i+a+1),s+r<1){const r=t.prevMonth;c=N(r.month,r.year),l=i+a-1}return l>12&&(l=1,h=o+u+1),l<1&&(l=12,h=o+u-1),new w(h,l,c)}function F(t,r=0){const e=Math.pow(10,-r);return Math.round(parseFloat((t*e).toFixed(Math.abs(r))))/e}function E(t,r=0){return F(t+5*Math.pow(10,r-1),r)}function S(t,r=0){return 0===t?0:F(t-5*Math.pow(10,r-1),r)}function O(t){const r=(t,e=0,n=1)=>0<t?r(--t,n,e+n):e;return r(t)}function L(t){let r=0,e=1,n=0;for(;t>1;)n=r,r=e,e+=n,t--;return t<1?r:e}function $(t){const r=isNaN(parseInt(t))||t<0||t>24?24:t,e=Math.random().toString().substring(2),n=Math.random().toString().substring(2);return e.concat(n).substring(0,r)}function j(){return function t(r){return r?(r^16*Math.random()>>r/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}Object.freeze({__proto__:null,random:function(t=0,r=1){return Math.random()*(r-t)+t},round:F,roundUp:E,roundDown:S,roundTowardZero:function(t,r=0){return t<0?E(t,r):S(t,r)},gcd:function t(r,e){return 0===e?Math.abs(r):t(e,r%e)},fib:O,fib2:L,fibArray:function(t){return Array(t).fill(0).map((()=>O(--t))).reverse()},fib2Array:function(t){return Array(t).fill(0).map((()=>L(--t))).reverse()},tryParseInt:function(t,r=0){const e=parseInt(t);return Number.isNaN(e)?r:e},tryParseFloat:function(t,r=0){const e=parseFloat(t);return Number.isNaN(e)?r:e}});var z=Object.freeze({__proto__:null,uid:$,uuid:j,suid:function(){return Symbol($())},suuid:function(){return Symbol(j())}});Object.freeze({__proto__:null,pattern:t=>t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\"),escape:t=>t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/_:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?_]+=[^=?_]*(&[^=?_]+=[^=?_]*)*(_.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i}),z.uid(),w.today.nextYear.toDate();const M=t=>new window.FormData(t),k=t=>{const r={};try{M(t).forEach(((t,e)=>{const n=r[e];d.isArray(n)?r[e].push(t):d.exists(n)?r[e]=[r[e],t]:r[e]=t}))}catch(e){[...t.elements].forEach((t=>{const{name:e,type:n,value:i,files:o}=t;if("file"===n)r[e]=o[0];else if("checkbox"===n||"radio"===n)t.checked&&(r[e]=i);else if(t.multiple){const n=[];t.querySelectorAll("option").forEach((t=>t.selected&&n.push(t.value))),r[e]=n.length<2?n[0]:n}else r[e]=i}))}return r};var D=k,P=M;exports.wireForm=function(r,n){if(r&&!r.__ku4wired__)try{var o=r.submit;r.submit=e(t().mark((function e(){var s,a,u;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=D(r),a=P(r),t.next=4,n(s,a,r);case 4:u=t.sent,i.isFalse(u)||o.call(r);case 6:case"end":return t.stop()}}),e)}))),r.__ku4wired__=!0}catch(t){throw new Error("wireForm Error. See https://kodmunki.com/storybook/?path=/docs/form-ku4-form--basic for more information.")}};
|
1
|
+
"use strict";function t(){t=function(){return r};var r={},e=Object.prototype,n=e.hasOwnProperty,i=Object.defineProperty||function(t,r,e){t[r]=e.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{c({},"")}catch(t){c=function(t,r,e){return t[r]=e}}function l(t,r,e,n){var o=r&&r.prototype instanceof p?r:p,s=Object.create(o.prototype),a=new O(n||[]);return i(s,"_invoke",{value:N(t,e,a)}),s}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}r.wrap=l;var f={};function p(){}function d(){}function y(){}var g={};c(g,s,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(E([])));v&&v!==e&&n.call(v,s)&&(g=v);var b=y.prototype=p.prototype=Object.create(g);function _(t){["next","throw","return"].forEach((function(r){c(t,r,(function(t){return this._invoke(r,t)}))}))}function w(t,r){function e(i,o,s,a){var u=h(t[i],t,o);if("throw"!==u.type){var c=u.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?r.resolve(l.__await).then((function(t){e("next",t,s,a)}),(function(t){e("throw",t,s,a)})):r.resolve(l).then((function(t){c.value=t,s(c)}),(function(t){return e("throw",t,s,a)}))}a(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new r((function(r,i){e(t,n,r,i)}))}return o=o?o.then(i,i):i()}})}function N(t,r,e){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return S()}for(e.method=i,e.arg=o;;){var s=e.delegate;if(s){var a=x(s,e);if(a){if(a===f)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===n)throw n="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n="executing";var u=h(t,r,e);if("normal"===u.type){if(n=e.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n="completed",e.method="throw",e.arg=u.arg)}}}function x(t,r){var e=t.iterator[r.method];if(void 0===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=void 0,x(t,r),"throw"===r.method))return f;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=h(e,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,f;var i=n.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,f):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function A(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function F(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function E(t){if(t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,i=function r(){for(;++e<t.length;)if(n.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=void 0,r.done=!0,r};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return d.prototype=y,i(b,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:d,configurable:!0}),d.displayName=c(y,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===d||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,u,"GeneratorFunction")),t.prototype=Object.create(b),t},r.awrap=function(t){return{__await:t}},_(w.prototype),c(w.prototype,a,(function(){return this})),r.AsyncIterator=w,r.async=function(t,e,n,i,o){void 0===o&&(o=Promise);var s=new w(l(t,e,n,i),o);return r.isGeneratorFunction(e)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},_(b),c(b,u,"Generator"),c(b,s,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=E,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(F),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function e(e,n){return s.type="throw",s.arg=t,r.next=e,n&&(r.method="next",r.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=r,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(s)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),f},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),F(e),f}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var i=n.arg;F(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:E(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=void 0),f}},r}function r(t,r,e,n,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void e(t)}a.done?r(u):Promise.resolve(u).then(n,i)}function e(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var s=t.apply(e,n);function a(t){r(s,i,o,a,u,"next",t)}function u(t){r(s,i,o,a,u,"throw",t)}a(void 0)}))}}let n,i=class{static isNull(t){return null===t}static isEmpty(t){return i.isString(t)&&""===t||i.isArray(t)&&t.length<1||i.isObjectLiteral(t)&&Object.keys(t).length<1}static isUndefined(t){return void 0===t}static isZero(t){return 0===t}static exists(t){return!(i.isUndefined(t)||i.isNull(t))}static isNullOrEmpty(t){return!i.exists(t)||i.isEmpty(t)}static isArray(t){return Array.isArray(t)}static isBool(t){return"boolean"==typeof t}static isTrue(t){return i.isBool(t)&&!0===t}static isFalse(t){return i.isBool(t)&&!1===t}static isDate(t){return t instanceof Date}static isNumber(t){return("number"==typeof t||t instanceof Number)&&!isNaN(t)}static isEven(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0}static isOdd(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)}static isString(t){return"string"==typeof t||t instanceof String}static isFunction(t){return t instanceof Function}static isAsyncFunction(t){try{return"AsyncFunction"===Object.getPrototypeOf(t).constructor.name||i.isFunction(t)&&/^async/.test(t.toString())||i.isFunction(t().then)}catch(t){return!1}}static isPromise(t){return t instanceof Promise}static isObject(t){return i.exists(t)&&"object"==typeof t&&!(i.isBool(t)||i.isNumber(t)||i.isDate(t)||i.isArray(t)||i.isString(t)||i.isFunction(t))}static isObjectLiteral(t){return i.isObject(t)&&t.constructor==={}.constructor}static isTruthy(t){return!i.isFalsy(t)}static isFalsy(t){return i.isZero(t)||i.isFalse(t)||i.isNullOrEmpty(t)||isNaN(t)}};function o(t){return i.exists(t)&&i.isFunction(t.replace)?t.replace(/^[\s\n]*/,""):t}function s(t){return i.exists(t)&&i.isFunction(t.replace)?t.replace(/[\s\n]*$/,""):t}function a(t,r=0){const e=Math.pow(10,-r);return Math.round(parseFloat((t*e).toFixed(Math.abs(r))))/e}function u(t,r=0){return a(t+5*Math.pow(10,r-1),r)}function c(t,r=0){return 0===t?0:a(t-5*Math.pow(10,r-1),r)}function l(t){const r=(t,e=0,n=1)=>0<t?r(--t,n,e+n):e;return r(t)}function h(t){let r=0,e=1,n=0;for(;t>1;)n=r,r=e,e+=n,t--;return t<1?r:e}function f(t){const r=isNaN(parseInt(t))||t<0||t>24?24:t,e=Math.random().toString().substring(2),n=Math.random().toString().substring(2);return e.concat(n).substring(0,r)}function p(){return function t(r){return r?(r^16*Math.random()>>r/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}Object.freeze({__proto__:null,build:function(...t){return"".concat(...t)},chunk:function(t,r=0){if(!i.isString(t)||Number.isNaN(r)||r<0)return[];if(r<t.length){let e=0;const n=r||t.length,i=[];for(;e<t.length;)i.push(t.slice(e,e+n)),e+=n;return i}return[t]},format:function(t,...r){return r.reduce(((t,r,e)=>t.replace(new RegExp(`\\{${e}\\}`,"g"),r&&r.toString?r.toString():r)),t)},trim:function(t){return o(s(t))},trimStart:o,trimEnd:s,capitalize:function(t=""){return(t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(t,r,e="_"){const n=t.toString().split(""),o=new RegExp(e);return i.isFunction(r)?r(t):i.isString(r)&&r.split("").reduce(((e,i)=>n.length>0&&(o.test(i)||n[0]===i&&t.indexOf(n[0])===r.indexOf(i))?e+n.shift():e+i),"")},unmask:function(t,r,e="_"){const n=new RegExp(e);return i.isFunction(r)?r(t):i.isString(r)&&t.split("").reduce(((t,e,i)=>n.test(e)||!n.test(r.charAt(i))&&r.charAt(i)===e?t:t+e),"")}}),Object.freeze({__proto__:null,random:function(t=0,r=1){return Math.random()*(r-t)+t},round:a,roundUp:u,roundDown:c,roundTowardZero:function(t,r=0){return t<0?u(t,r):c(t,r)},gcd:function t(r,e){return 0===e?Math.abs(r):t(e,r%e)},fib:l,fib2:h,fibArray:function(t){return Array(t).fill(0).map((()=>l(--t))).reverse()},fib2Array:function(t){return Array(t).fill(0).map((()=>h(--t))).reverse()},tryParseInt:function(t,r=0){const e=parseInt(t);return Number.isNaN(e)?r:e},tryParseFloat:function(t,r=0){const e=parseFloat(t);return Number.isNaN(e)?r:e}}),Object.freeze({__proto__:null,uid:f,uuid:p,suid:function(){return Symbol(f())},suuid:function(){return Symbol(p())}}),Object.freeze({__proto__:null,pattern:t=>t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\"),escape:t=>t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/_:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?_]+=[^=?_]*(&[^=?_]+=[^=?_]*)*(_.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i});class d{static isNull(t){return null===t}static isEmpty(t){return d.isString(t)&&""===t||d.isArray(t)&&t.length<1||d.isObjectLiteral(t)&&Object.keys(t).length<1}static isUndefined(t){return void 0===t}static isZero(t){return 0===t}static exists(t){return!(d.isUndefined(t)||d.isNull(t))}static isNullOrEmpty(t){return!d.exists(t)||d.isEmpty(t)}static isArray(t){return Array.isArray(t)}static isBool(t){return"boolean"==typeof t}static isTrue(t){return d.isBool(t)&&!0===t}static isFalse(t){return d.isBool(t)&&!1===t}static isDate(t){return t instanceof Date}static isNumber(t){return("number"==typeof t||t instanceof Number)&&!isNaN(t)}static isEven(t){return this.isNumber(t)&&!this.isZero(t)&&t%2==0}static isOdd(t){return this.isNumber(t)&&!this.isZero(t)&&!this.isEven(t)}static isString(t){return"string"==typeof t||t instanceof String}static isFunction(t){return t instanceof Function}static isAsyncFunction(t){try{return"AsyncFunction"===Object.getPrototypeOf(t).constructor.name||d.isFunction(t)&&/^async/.test(t.toString())||d.isFunction(t().then)}catch(t){return!1}}static isPromise(t){return t instanceof Promise}static isObject(t){return d.exists(t)&&"object"==typeof t&&!(d.isBool(t)||d.isNumber(t)||d.isDate(t)||d.isArray(t)||d.isString(t)||d.isFunction(t))}static isObjectLiteral(t){return d.isObject(t)&&t.constructor==={}.constructor}static isTruthy(t){return!d.isFalsy(t)}static isFalsy(t){return d.isZero(t)||d.isFalse(t)||d.isNullOrEmpty(t)||isNaN(t)}}function y(...t){return"".concat(...t)}function g(t,...r){return r.reduce(((t,r,e)=>t.replace(new RegExp(`\\{${e}\\}`,"g"),r&&r.toString?r.toString():r)),t)}function m(t){return v(b(t))}function v(t){return d.exists(t)&&d.isFunction(t.replace)?t.replace(/^[\s\n]*/,""):t}function b(t){return d.exists(t)&&d.isFunction(t.replace)?t.replace(/[\s\n]*$/,""):t}function _(t,r){try{return t()}catch{return r}}Object.freeze({__proto__:null,build:y,chunk:function(t,r=0){if(!d.isString(t)||Number.isNaN(r)||r<0)return[];if(r<t.length){let e=0;const n=r||t.length,i=[];for(;e<t.length;)i.push(t.slice(e,e+n)),e+=n;return i}return[t]},format:g,trim:m,trimStart:v,trimEnd:b,capitalize:function(t=""){return(t||"").charAt(0).toUpperCase()+(t||"").slice(1).toLowerCase()},mask:function(t,r,e="_"){const n=t.toString().split(""),i=new RegExp(e);return d.isFunction(r)?r(t):d.isString(r)&&r.split("").reduce(((e,o)=>n.length>0&&(i.test(o)||n[0]===o&&t.indexOf(n[0])===r.indexOf(o))?e+n.shift():e+o),"")},unmask:function(t,r,e="_"){const n=new RegExp(e);return d.isFunction(r)?r(t):d.isString(r)&&t.split("").reduce(((t,e,i)=>n.test(e)||!n.test(r.charAt(i))&&r.charAt(i)===e?t:t+e),"")}}),_.async=async(t,r)=>{try{return await t()}catch{return r}};class w{constructor(t,r,e){if(r<1||r>12)throw new Error("Invalid month at Assert.DayPoint");if(e<1||e>N(r,t))throw new Error("Invalid date at DayPoint");this._value=arguments.length>=3?new Date(t,r-1,e):new Date,this._day=this._value.getDay(),this._date=e,this._month=r,this._year=t}get value(){return this._value}get day(){return this._day}get date(){return this._date}get month(){return this._month}get year(){return this._year}get shortYear(){const t=this._year.toString();return parseInt(t.substr(t.length-2))}get isWeekday(){const t=this._day;return t>0&&t<6}get isWeekend(){return!this.isWeekday}get isLeapYear(){return x(this._year)}get nextDay(){return A(this,1,0,0)}get prevDay(){return A(this,-1,0,0)}get nextMonth(){return A(this,0,1,0)}get prevMonth(){return A(this,0,-1,0)}get nextYear(){return A(this,0,0,1)}get prevYear(){return A(this,0,0,-1)}get firstDayOfMonth(){return new w(this._year,this._month,1)}get lastDayOfMonth(){return new w(this._year,this._month,N(this._month,this._year))}add(t,r,e){function n(t,r,e){let n=t,i=r;for(;i--;)n=n[e];return n}const{abs:i}=Math,o=i(t),s=i(e),a=i(r),u=e<0?"prevDay":"nextDay",c=r<0?"prevMonth":"nextMonth";return n(n(n(this,o,t<0?"prevYear":"nextYear"),a,c),s,u)}isBefore(t){return!(this.isAfter(t)||this.equals(t))}isAfter(t){const r=this._year,e=t.year,n=this._month,i=t.month;return r>e||r===e&&n>i||r===e&&n===i&&this._date>t.date}equals(t){return this._year===t.year&&this._month===t.month&&this._date===t.date}toString(t="mm/dd/yyyy"){const r=/y{3,}/i.test(t)?this._year:this.shortYear,e=this._month,n=this._date,i=/m{2}/i.test(t)&&e<10?"0{1}":"{1}",o=/d{2}/i.test(t)&&n<10?"0{2}":"{2}";return g(t.replace(/y+/gi,"{0}").replace(/m+/gi,i).replace(/d+/gi,o),r,e,n)}toDate(){return this._value}toJson(){return this._value.toJSON()}static canParse(t){return d.isString(t)||d.isNumber(t)||d.isDate(t)?!isNaN(new Date(t).valueOf()):t instanceof w}static parse(t){if(t instanceof w)return t;let r=d.isString(t)?m(t).replace(/T\d{2}:\d{2}:\d{2}(.\d+)?Z/,""):t;if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(r)){const t=r.split("-"),[e]=t;t.push(e),t.shift(),r=t.join("/")}const e=new Date(r);if(!d.exists(r)||Number.isNaN(e.valueOf()))throw new Error(g("Cannot parse value= {0}",r));return new w(e.getFullYear(),e.getMonth()+1,e.getDate())}static tryParse(t){return _((()=>w.parse(t)),null)}static assumeNow(t){n=w.parse(t)}static get today(){return n||w.parse(new Date)}}function N(t,r){return 2===t?x(r)?29:28:t<8&&d.isEven(t)||t>7&&d.isOdd(t)?30:31}function x(t){const r=t.toString().split(/\B/);return parseFloat(y(r[r.length-2],r[r.length-1]))%4==0}function A(t,r,e,n){const i=t.month,o=t.year,s=t.date,a=e,u=n;let c=s+r,l=i+a,h=o+u;if(s+r>N(i,o)&&(c=1,l=i+a+1),s+r<1){const r=t.prevMonth;c=N(r.month,r.year),l=i+a-1}return l>12&&(l=1,h=o+u+1),l<1&&(l=12,h=o+u-1),new w(h,l,c)}function F(t,r=0){const e=Math.pow(10,-r);return Math.round(parseFloat((t*e).toFixed(Math.abs(r))))/e}function O(t,r=0){return F(t+5*Math.pow(10,r-1),r)}function E(t,r=0){return 0===t?0:F(t-5*Math.pow(10,r-1),r)}function S(t){const r=(t,e=0,n=1)=>0<t?r(--t,n,e+n):e;return r(t)}function j(t){let r=0,e=1,n=0;for(;t>1;)n=r,r=e,e+=n,t--;return t<1?r:e}function L(t){const r=isNaN(parseInt(t))||t<0||t>24?24:t,e=Math.random().toString().substring(2),n=Math.random().toString().substring(2);return e.concat(n).substring(0,r)}function $(){return function t(r){return r?(r^16*Math.random()>>r/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}Object.freeze({__proto__:null,random:function(t=0,r=1){return Math.random()*(r-t)+t},round:F,roundUp:O,roundDown:E,roundTowardZero:function(t,r=0){return t<0?O(t,r):E(t,r)},gcd:function t(r,e){return 0===e?Math.abs(r):t(e,r%e)},fib:S,fib2:j,fibArray:function(t){return Array(t).fill(0).map((()=>S(--t))).reverse()},fib2Array:function(t){return Array(t).fill(0).map((()=>j(--t))).reverse()},tryParseInt:function(t,r=0){const e=parseInt(t);return Number.isNaN(e)?r:e},tryParseFloat:function(t,r=0){const e=parseFloat(t);return Number.isNaN(e)?r:e}});var z=Object.freeze({__proto__:null,uid:L,uuid:$,suid:function(){return Symbol(L())},suuid:function(){return Symbol($())}});Object.freeze({__proto__:null,pattern:t=>t.toString().replace(/(^\/)|(\/$)/g,"").replace(/\\/g,"\\"),escape:t=>t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),alpha:/^[A-z]+$/,alphaNumeric:/^[A-z0-9]+$/,base64:/^[A-z0-9=]+$/,dataUrl:/^\s*data:([a-z]+\/[a-z0-9+-]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,[a-z0-9!$&',()*+;=._~:@/?%\s-]*\s*$/i,email:/^\w+([.\w-+]+)?@\w+([.\w-]+)?\.[A-Za-z0-9]{2,}$/,empty:/^$/,numeric:/^-?[0-9]+$/,script:/(<script[A-z0-9\n\s\t\r.={([\])}'",;!&|$/_:<>*?+\u0000-\u0037\u00C2\u00A0\u2122-]*?<\/script>)/,uid:/^\d{14,}$/i,url:/^(https?:\/\/)?[^{}\\:]+\.[A-z0-9]{2,12}(\/[^?\s]+)*\/?(\?([^=?_]+=[^=?_]*(&[^=?_]+=[^=?_]*)*(_.*)?)?)?$/,uuid:/^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9A-F]{12}[)}]?$/i}),z.uid(),w.today.nextYear.toDate();const M=t=>new window.FormData(t),k=t=>{const r={};try{M(t).forEach(((t,e)=>{const n=r[e];d.isArray(n)?r[e].push(t):d.exists(n)?r[e]=[r[e],t]:r[e]=t}))}catch(e){[...t.elements].forEach((t=>{const{name:e,type:n,value:i,files:o}=t;if("file"===n)r[e]=o[0];else if("checkbox"===n||"radio"===n)t.checked&&(r[e]=i);else if(t.multiple){const n=[];t.querySelectorAll("option").forEach((t=>t.selected&&n.push(t.value))),r[e]=n.length<2?n[0]:n}else r[e]=i}))}return r};var D=k,P=M;exports.wireForm=function(r,n){if(r&&!r.__ku4wired__)try{var o=r.submit;r.submit=e(t().mark((function e(){var s,a,u;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=D(r),a=P(r),t.next=4,n(s,a,r);case 4:u=t.sent,i.isFalse(u)||o.call(r);case 6:case"end":return t.stop()}}),e)}))),r.__ku4wired__=!0}catch(t){throw new Error("wireForm Error. See https://kodmunki.com/storybook/?path=/docs/form-ku4-form--basic for more information.")}};
|
@@ -1506,7 +1506,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
1506
1506
|
if (!styles.has(scopeId)) {
|
1507
1507
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
1508
1508
|
if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
|
1509
|
-
style = await Promise.resolve().then(function () { return require('./shadow-css-
|
1509
|
+
style = await Promise.resolve().then(function () { return require('./shadow-css-bd1b81c3.js'); }).then((m) => m.scopeCss(style, scopeId, false));
|
1510
1510
|
}
|
1511
1511
|
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
1512
1512
|
endRegisterStyles();
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
7
7
|
|
8
8
|
const ku4CarouselControlsCss = ":host{position:relative;display:block}input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:20px;height:20px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;vertical-align:middle}input[type=radio]:checked:after{content:\"\";position:absolute;top:2px;left:2px;width:14px;height:14px;margin:0;padding:0;border:solid 1px #888;border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;background-color:#333}";
|
@@ -10,6 +10,7 @@ const ku4CarouselControlsCss = ":host{position:relative;display:block}input[type
|
|
10
10
|
const Ku4CarouselControls = class {
|
11
11
|
constructor(hostRef) {
|
12
12
|
index.registerInstance(this, hostRef);
|
13
|
+
this.for = undefined;
|
13
14
|
this.carousel = document.getElementById(this.for);
|
14
15
|
this.handleSlide = this.handleSlide.bind(this);
|
15
16
|
this.handleChange = this.handleChange.bind(this);
|
@@ -2,13 +2,15 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
|
7
7
|
const ku4CarouselSlideCss = ":host{overflow-x:hidden}";
|
8
8
|
|
9
9
|
const Ku4CarouselSlide = class {
|
10
10
|
constructor(hostRef) {
|
11
11
|
index.registerInstance(this, hostRef);
|
12
|
+
this.name = undefined;
|
13
|
+
this.active = undefined;
|
12
14
|
this.classList = '';
|
13
15
|
}
|
14
16
|
/**
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
7
7
|
const index$2 = require('./index-3f6b12f6.js');
|
8
8
|
|
@@ -12,24 +12,11 @@ const Ku4Carousel = class {
|
|
12
12
|
constructor(hostRef) {
|
13
13
|
index.registerInstance(this, hostRef);
|
14
14
|
this.didSlide = index.createEvent(this, "slide", 7);
|
15
|
-
/**
|
16
|
-
* Sets the distance, in pixels, a touch must travel
|
17
|
-
* before activating a swipe.
|
18
|
-
*/
|
19
15
|
this.swipeTolerance = 44;
|
20
|
-
/**
|
21
|
-
* Will start this carousel in auto scroll mode
|
22
|
-
*/
|
23
16
|
this.auto = false;
|
24
|
-
/**
|
25
|
-
* Prevents touch swiping
|
26
|
-
*/
|
27
17
|
this.noSwipe = false;
|
28
|
-
/**
|
29
|
-
* Delay in millisecond between slide changes
|
30
|
-
* when running in auto
|
31
|
-
*/
|
32
18
|
this.delay = 8000;
|
19
|
+
this.slideState = undefined;
|
33
20
|
this.interval = new index$1.L(this.delay).onInterval(() => {
|
34
21
|
if (this.host.isConnected) {
|
35
22
|
this.display('next');
|
@@ -2,21 +2,25 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
|
7
7
|
const ku4ColCss = ":host{position:relative;display:block}@media only screen and (min-width: 1px){:host(.start-xs-0){grid-column-start:1}:host(.start-xs-1){grid-column-start:2}:host(.start-xs-2){grid-column-start:3}:host(.start-xs-3){grid-column-start:4}:host(.start-xs-4){grid-column-start:5}:host(.start-xs-5){grid-column-start:6}:host(.start-xs-6){grid-column-start:7}:host(.start-xs-7){grid-column-start:8}:host(.start-xs-8){grid-column-start:9}:host(.start-xs-9){grid-column-start:10}:host(.start-xs-10){grid-column-start:11}:host(.start-xs-11){grid-column-start:12}:host(.start-xs-12){grid-column-start:13}:host(.span-xs-1){grid-column-end:span 1}:host(.span-xs-2){grid-column-end:span 2}:host(.span-xs-3){grid-column-end:span 3}:host(.span-xs-4){grid-column-end:span 4}:host(.span-xs-5){grid-column-end:span 5}:host(.span-xs-6){grid-column-end:span 6}:host(.span-xs-7){grid-column-end:span 7}:host(.span-xs-8){grid-column-end:span 8}:host(.span-xs-9){grid-column-end:span 9}:host(.span-xs-10){grid-column-end:span 10}:host(.span-xs-11){grid-column-end:span 11}:host(.span-xs-12){grid-column-end:span 12}:host(.order-xs-1){-ms-flex-order:1;order:1}:host(.order-xs-2){-ms-flex-order:2;order:2}:host(.order-xs-3){-ms-flex-order:3;order:3}:host(.order-xs-4){-ms-flex-order:4;order:4}:host(.order-xs-5){-ms-flex-order:5;order:5}:host(.order-xs-6){-ms-flex-order:6;order:6}:host(.order-xs-7){-ms-flex-order:7;order:7}:host(.order-xs-8){-ms-flex-order:8;order:8}:host(.order-xs-9){-ms-flex-order:9;order:9}:host(.order-xs-10){-ms-flex-order:10;order:10}:host(.order-xs-11){-ms-flex-order:11;order:11}:host(.order-xs-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 768px){:host(.start-sm-0){grid-column-start:1}:host(.start-sm-1){grid-column-start:2}:host(.start-sm-2){grid-column-start:3}:host(.start-sm-3){grid-column-start:4}:host(.start-sm-4){grid-column-start:5}:host(.start-sm-5){grid-column-start:6}:host(.start-sm-6){grid-column-start:7}:host(.start-sm-7){grid-column-start:8}:host(.start-sm-8){grid-column-start:9}:host(.start-sm-9){grid-column-start:10}:host(.start-sm-10){grid-column-start:11}:host(.start-sm-11){grid-column-start:12}:host(.start-sm-12){grid-column-start:13}:host(.span-sm-1){grid-column-end:span 1}:host(.span-sm-2){grid-column-end:span 2}:host(.span-sm-3){grid-column-end:span 3}:host(.span-sm-4){grid-column-end:span 4}:host(.span-sm-5){grid-column-end:span 5}:host(.span-sm-6){grid-column-end:span 6}:host(.span-sm-7){grid-column-end:span 7}:host(.span-sm-8){grid-column-end:span 8}:host(.span-sm-9){grid-column-end:span 9}:host(.span-sm-10){grid-column-end:span 10}:host(.span-sm-11){grid-column-end:span 11}:host(.span-sm-12){grid-column-end:span 12}:host(.order-sm-1){-ms-flex-order:1;order:1}:host(.order-sm-2){-ms-flex-order:2;order:2}:host(.order-sm-3){-ms-flex-order:3;order:3}:host(.order-sm-4){-ms-flex-order:4;order:4}:host(.order-sm-5){-ms-flex-order:5;order:5}:host(.order-sm-6){-ms-flex-order:6;order:6}:host(.order-sm-7){-ms-flex-order:7;order:7}:host(.order-sm-8){-ms-flex-order:8;order:8}:host(.order-sm-9){-ms-flex-order:9;order:9}:host(.order-sm-10){-ms-flex-order:10;order:10}:host(.order-sm-11){-ms-flex-order:11;order:11}:host(.order-sm-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 992px){:host(.start-md-0){grid-column-start:1}:host(.start-md-1){grid-column-start:2}:host(.start-md-2){grid-column-start:3}:host(.start-md-3){grid-column-start:4}:host(.start-md-4){grid-column-start:5}:host(.start-md-5){grid-column-start:6}:host(.start-md-6){grid-column-start:7}:host(.start-md-7){grid-column-start:8}:host(.start-md-8){grid-column-start:9}:host(.start-md-9){grid-column-start:10}:host(.start-md-10){grid-column-start:11}:host(.start-md-11){grid-column-start:12}:host(.start-md-12){grid-column-start:13}:host(.span-md-1){grid-column-end:span 1}:host(.span-md-2){grid-column-end:span 2}:host(.span-md-3){grid-column-end:span 3}:host(.span-md-4){grid-column-end:span 4}:host(.span-md-5){grid-column-end:span 5}:host(.span-md-6){grid-column-end:span 6}:host(.span-md-7){grid-column-end:span 7}:host(.span-md-8){grid-column-end:span 8}:host(.span-md-9){grid-column-end:span 9}:host(.span-md-10){grid-column-end:span 10}:host(.span-md-11){grid-column-end:span 11}:host(.span-md-12){grid-column-end:span 12}:host(.order-md-1){-ms-flex-order:1;order:1}:host(.order-md-2){-ms-flex-order:2;order:2}:host(.order-md-3){-ms-flex-order:3;order:3}:host(.order-md-4){-ms-flex-order:4;order:4}:host(.order-md-5){-ms-flex-order:5;order:5}:host(.order-md-6){-ms-flex-order:6;order:6}:host(.order-md-7){-ms-flex-order:7;order:7}:host(.order-md-8){-ms-flex-order:8;order:8}:host(.order-md-9){-ms-flex-order:9;order:9}:host(.order-md-10){-ms-flex-order:10;order:10}:host(.order-md-11){-ms-flex-order:11;order:11}:host(.order-md-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 1200px){:host(.start-lg-0){grid-column-start:1}:host(.start-lg-1){grid-column-start:2}:host(.start-lg-2){grid-column-start:3}:host(.start-lg-3){grid-column-start:4}:host(.start-lg-4){grid-column-start:5}:host(.start-lg-5){grid-column-start:6}:host(.start-lg-6){grid-column-start:7}:host(.start-lg-7){grid-column-start:8}:host(.start-lg-8){grid-column-start:9}:host(.start-lg-9){grid-column-start:10}:host(.start-lg-10){grid-column-start:11}:host(.start-lg-11){grid-column-start:12}:host(.start-lg-12){grid-column-start:13}:host(.span-lg-1){grid-column-end:span 1}:host(.span-lg-2){grid-column-end:span 2}:host(.span-lg-3){grid-column-end:span 3}:host(.span-lg-4){grid-column-end:span 4}:host(.span-lg-5){grid-column-end:span 5}:host(.span-lg-6){grid-column-end:span 6}:host(.span-lg-7){grid-column-end:span 7}:host(.span-lg-8){grid-column-end:span 8}:host(.span-lg-9){grid-column-end:span 9}:host(.span-lg-10){grid-column-end:span 10}:host(.span-lg-11){grid-column-end:span 11}:host(.span-lg-12){grid-column-end:span 12}:host(.order-lg-1){-ms-flex-order:1;order:1}:host(.order-lg-2){-ms-flex-order:2;order:2}:host(.order-lg-3){-ms-flex-order:3;order:3}:host(.order-lg-4){-ms-flex-order:4;order:4}:host(.order-lg-5){-ms-flex-order:5;order:5}:host(.order-lg-6){-ms-flex-order:6;order:6}:host(.order-lg-7){-ms-flex-order:7;order:7}:host(.order-lg-8){-ms-flex-order:8;order:8}:host(.order-lg-9){-ms-flex-order:9;order:9}:host(.order-lg-10){-ms-flex-order:10;order:10}:host(.order-lg-11){-ms-flex-order:11;order:11}:host(.order-lg-12){-ms-flex-order:12;order:12}}";
|
8
8
|
|
9
9
|
const Ku4Col = class {
|
10
10
|
constructor(hostRef) {
|
11
11
|
index.registerInstance(this, hostRef);
|
12
|
-
/**
|
13
|
-
* Start position of column at extra-small (optional).
|
14
|
-
*/
|
15
12
|
this.startXs = 0;
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
this.startSm = undefined;
|
14
|
+
this.startMd = undefined;
|
15
|
+
this.startLg = undefined;
|
19
16
|
this.spanXs = 1;
|
17
|
+
this.spanSm = undefined;
|
18
|
+
this.spanMd = undefined;
|
19
|
+
this.spanLg = undefined;
|
20
|
+
this.orderXs = undefined;
|
21
|
+
this.orderSm = undefined;
|
22
|
+
this.orderMd = undefined;
|
23
|
+
this.orderLg = undefined;
|
20
24
|
}
|
21
25
|
get startClass() {
|
22
26
|
const { startXs, startSm, startMd, startLg } = this;
|
@@ -2,17 +2,19 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
|
7
7
|
const ku4DrawerCss = ":host{position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;z-index:1}:host([top]),:host([bottom]){width:100%;height:0;-webkit-transition:height 0.4s;transition:height 0.4s}:host([left]),:host([right]){width:0;height:100%;-webkit-transition:width 0.4s;transition:width 0.4s}:host([top][open]),:host([bottom][open]){height:100%}:host([left][open]),:host([right][open]){width:100%}:host([top][open=false]),:host([bottom][open=false]){height:0}:host([left][open=false]),:host([right][open=false]){width:0}:host([top]),:host([left]){top:0;left:0}:host([bottom]){left:0;bottom:0}:host([right]){right:0;bottom:0}";
|
8
8
|
|
9
9
|
const Ku4Drawer = class {
|
10
10
|
constructor(hostRef) {
|
11
11
|
index.registerInstance(this, hostRef);
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
this.bottom = undefined;
|
13
|
+
this.left = undefined;
|
14
|
+
this.right = undefined;
|
15
|
+
this.top = undefined;
|
15
16
|
this.size = '20%';
|
17
|
+
this.open = undefined;
|
16
18
|
}
|
17
19
|
/**
|
18
20
|
* Toggle drawer
|
@@ -2,17 +2,13 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
7
7
|
|
8
8
|
const Ku4Feature = class {
|
9
9
|
constructor(hostRef) {
|
10
10
|
index.registerInstance(this, hostRef);
|
11
|
-
|
12
|
-
* A function or method that returns a boolean.
|
13
|
-
* A return value of true will turn on the this
|
14
|
-
* feature. (optional)
|
15
|
-
*/
|
11
|
+
this.on = undefined;
|
16
12
|
this.policy = '';
|
17
13
|
this.enabled = false;
|
18
14
|
const policy = this.policy.trim();
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
7
7
|
const index$2 = require('./index-3f6b12f6.js');
|
8
8
|
|
@@ -54,10 +54,12 @@ const Ku4FocusTrap = class {
|
|
54
54
|
constructor(hostRef) {
|
55
55
|
index.registerInstance(this, hostRef);
|
56
56
|
this.iframes = [];
|
57
|
-
/**
|
58
|
-
* Focus trap will be active when true.
|
59
|
-
*/
|
60
57
|
this.active = false;
|
58
|
+
this.include = undefined;
|
59
|
+
this.exclude = undefined;
|
60
|
+
this.excludeShadow = undefined;
|
61
|
+
this.initial = undefined;
|
62
|
+
this.return = undefined;
|
61
63
|
this.handleKeyDown = this.handleKeyDown.bind(this);
|
62
64
|
this.handleKeyUp = this.handleKeyUp.bind(this);
|
63
65
|
this.handleMouse = this.handleMouse.bind(this);
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$2 = require('./index-69919a4f.js');
|
7
7
|
const index$1 = require('./index-3f6b12f6.js');
|
8
8
|
|
@@ -10,6 +10,8 @@ const Ku4Form = class {
|
|
10
10
|
constructor(hostRef) {
|
11
11
|
index.registerInstance(this, hostRef);
|
12
12
|
this.didValidate = index.createEvent(this, "validate", 7);
|
13
|
+
this.valid = undefined;
|
14
|
+
this.invalid = undefined;
|
13
15
|
this.validate = this.validate.bind(this);
|
14
16
|
this.handleReset = this.handleReset.bind(this);
|
15
17
|
}
|
@@ -93,7 +95,7 @@ const Ku4Form = class {
|
|
93
95
|
*/
|
94
96
|
async focusFirstInvalid() {
|
95
97
|
index$2.Y(100).then(() => {
|
96
|
-
const firstInvalidInput = document.querySelector('ku4-
|
98
|
+
const firstInvalidInput = document.querySelector('ku4-validation[invalid]');
|
97
99
|
if (index$2.t.exists(firstInvalidInput)) {
|
98
100
|
firstInvalidInput.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
99
101
|
}
|
@@ -2,36 +2,30 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
|
7
7
|
const ku4GridCss = ":host{position:relative;display:block;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}@media only screen and (min-width: 1px){:host(.columns-xs-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-xs-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-xs-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-xs-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-xs-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-xs-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-xs-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-xs-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-xs-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-xs-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-xs-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-xs-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-xs-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-xs-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-xs-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-xs-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-xs-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-xs-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-xs-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-xs-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-xs-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-xs-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-xs-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-xs-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-xs-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-xs-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-xs-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-xs-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-xs-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-xs-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-xs-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-xs-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-xs-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-xs-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-xs, 6px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-xs, 6px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-xs, 6px)}}@media only screen and (min-width: 768px){:host(.columns-sm-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-sm-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-sm-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-sm-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-sm-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-sm-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-sm-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-sm-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-sm-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-sm-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-sm-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-sm-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-sm-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-sm-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-sm-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-sm-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-sm-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-sm-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-sm-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-sm-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-sm-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-sm-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-sm-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-sm-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-sm-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-sm-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-sm-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-sm-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-sm-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-sm-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-sm-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-sm-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-sm-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-sm-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-sm, 10px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-sm, 10px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-sm, 10px)}}@media only screen and (min-width: 992px){:host(.columns-md-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-md-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-md-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-md-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-md-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-md-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-md-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-md-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-md-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-md-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-md-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-md-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-md-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-md-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-md-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-md-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-md-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-md-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-md-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-md-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-md-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-md-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-md-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-md-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-md-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-md-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-md-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-md-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-md-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-md-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-md-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-md-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-md-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-md-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-md, 12px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-md, 12px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-md, 12px)}}@media only screen and (min-width: 1200px){:host(.columns-lg-1){display:grid;grid-template-columns:repeat(auto-fill, minmax(100%, auto));margin-bottom:0}:host(.columns-lg-2){display:grid;grid-template-columns:repeat(auto-fill, minmax(50%, auto));margin-bottom:0}:host(.columns-lg-3){display:grid;grid-template-columns:repeat(auto-fill, minmax(33.3333333333%, auto));margin-bottom:0}:host(.columns-lg-4){display:grid;grid-template-columns:repeat(auto-fill, minmax(25%, auto));margin-bottom:0}:host(.columns-lg-5){display:grid;grid-template-columns:repeat(auto-fill, minmax(20%, auto));margin-bottom:0}:host(.columns-lg-6){display:grid;grid-template-columns:repeat(auto-fill, minmax(16.6666666667%, auto));margin-bottom:0}:host(.columns-lg-7){display:grid;grid-template-columns:repeat(auto-fill, minmax(14.2857142857%, auto));margin-bottom:0}:host(.columns-lg-8){display:grid;grid-template-columns:repeat(auto-fill, minmax(12.5%, auto));margin-bottom:0}:host(.columns-lg-9){display:grid;grid-template-columns:repeat(auto-fill, minmax(11.1111111111%, auto));margin-bottom:0}:host(.columns-lg-10){display:grid;grid-template-columns:repeat(auto-fill, minmax(10%, auto));margin-bottom:0}:host(.columns-lg-11){display:grid;grid-template-columns:repeat(auto-fill, minmax(9.0909090909%, auto));margin-bottom:0}:host(.columns-lg-12){display:grid;grid-template-columns:repeat(auto-fill, minmax(8.3333333333%, auto));margin-bottom:0}:host(.columns-lg-13){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.6923076923%, auto));margin-bottom:0}:host(.columns-lg-14){display:grid;grid-template-columns:repeat(auto-fill, minmax(7.1428571429%, auto));margin-bottom:0}:host(.columns-lg-15){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.6666666667%, auto));margin-bottom:0}:host(.columns-lg-16){display:grid;grid-template-columns:repeat(auto-fill, minmax(6.25%, auto));margin-bottom:0}:host(.offset-left-lg-0){padding-left:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-left-lg-1){padding-left:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-left-lg-2){padding-left:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-left-lg-3){padding-left:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-left-lg-4){padding-left:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-left-lg-5){padding-left:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-right-lg-0){padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-right-lg-1){padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-right-lg-2){padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-right-lg-3){padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-right-lg-4){padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-right-lg-5){padding-right:calc(((100% + 8.33px) / 12) * 5)}:host(.offset-lg-0){padding-left:calc(((100% + 8.33px) / 12) * 0);padding-right:calc(((100% + 8.33px) / 12) * 0)}:host(.offset-lg-1){padding-left:calc(((100% + 8.33px) / 12) * 1);padding-right:calc(((100% + 8.33px) / 12) * 1)}:host(.offset-lg-2){padding-left:calc(((100% + 8.33px) / 12) * 2);padding-right:calc(((100% + 8.33px) / 12) * 2)}:host(.offset-lg-3){padding-left:calc(((100% + 8.33px) / 12) * 3);padding-right:calc(((100% + 8.33px) / 12) * 3)}:host(.offset-lg-4){padding-left:calc(((100% + 8.33px) / 12) * 4);padding-right:calc(((100% + 8.33px) / 12) * 4)}:host(.offset-lg-5){padding-left:calc(((100% + 8.33px) / 12) * 5);padding-right:calc(((100% + 8.33px) / 12) * 5)}:host{margin-bottom:calc(-1 * var(--ku4-grid-row-gutter-lg, 16px))}:host::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-lg, 16px)}:host ::slotted(*){margin-bottom:var(--ku4-grid-row-gutter-lg, 16px)}}::slotted(*){margin-left:var(--ku4-grid-column-gutter, 15px);margin-right:var(--ku4-grid-column-gutter, 15px)}";
|
8
8
|
|
9
9
|
const Ku4Grid = class {
|
10
10
|
constructor(hostRef) {
|
11
11
|
index.registerInstance(this, hostRef);
|
12
|
-
//<editor-fold desc="columns">
|
13
|
-
/**
|
14
|
-
* Number of columns to render at extra-small (optional).
|
15
|
-
*/
|
16
12
|
this.columnsXs = 1;
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
* Number of columns to offset left at extra-small (optional).
|
21
|
-
*/
|
13
|
+
this.columnsSm = undefined;
|
14
|
+
this.columnsMd = undefined;
|
15
|
+
this.columnsLg = undefined;
|
22
16
|
this.offsetLeftXs = 0;
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
* Number of columns to offset right (optional).
|
27
|
-
*/
|
17
|
+
this.offsetLeftSm = undefined;
|
18
|
+
this.offsetLeftMd = undefined;
|
19
|
+
this.offsetLeftLg = undefined;
|
28
20
|
this.offsetRight = 0;
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
*/
|
21
|
+
this.offsetRightXs = undefined;
|
22
|
+
this.offsetRightSm = undefined;
|
23
|
+
this.offsetRightMd = undefined;
|
24
|
+
this.offsetRightLg = undefined;
|
34
25
|
this.offsetXs = 0;
|
26
|
+
this.offsetSm = undefined;
|
27
|
+
this.offsetMd = undefined;
|
28
|
+
this.offsetLg = undefined;
|
35
29
|
}
|
36
30
|
//</editor-fold>
|
37
31
|
get columnClass() {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
7
7
|
|
8
8
|
const ku4LabelCss = ":host{position:relative;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:12px;line-height:14px}::slotted(*){padding:6px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff;font-size:18px;-webkit-appearance:none}label{position:absolute;display:var(--ku4-label-display, inline);top:var(--ku4-label-top, -6px);left:var(--ku4-label-left, 8px);padding:var(--ku4-label-padding, 0 4px);font-size:inherit;line-height:inherit;background-color:var(--ku4-label-background-color, inherit);-webkit-backdrop-filter:var(--ku4-label-backdrop-filter, inherit);backdrop-filter:var(--ku4-label-backdrop-filter, inherit);color:inherit;z-index:1;white-space:nowrap;-webkit-transition:all 0.2s ease;transition:all 0.2s ease}label.empty{opacity:0;-webkit-transition:all 0.1s ease;transition:all 0.1s ease}";
|
@@ -10,6 +10,9 @@ const ku4LabelCss = ":host{position:relative;display:block;-webkit-box-sizing:bo
|
|
10
10
|
const Ku4Label = class {
|
11
11
|
constructor(hostRef) {
|
12
12
|
index.registerInstance(this, hostRef);
|
13
|
+
this.for = undefined;
|
14
|
+
this.value = undefined;
|
15
|
+
this.empty = undefined;
|
13
16
|
this.handleFocus = this.handleFocus.bind(this);
|
14
17
|
this.handleChange = this.handleChange.bind(this);
|
15
18
|
this.handleInput = this.handleInput.bind(this);
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
7
7
|
|
8
8
|
const ku4MaskCss = ":host{display:none}";
|
@@ -15,40 +15,11 @@ const Ku4Mask = class {
|
|
15
15
|
this.previousValue = '';
|
16
16
|
this.currentValue = '';
|
17
17
|
this.touchStart = false;
|
18
|
-
|
19
|
-
* Mask template
|
20
|
-
*/
|
18
|
+
this.for = undefined;
|
21
19
|
this.template = '';
|
22
|
-
/**
|
23
|
-
* A regex of characters to ban from
|
24
|
-
* entry. A user will not be able to input
|
25
|
-
* any character in this set of characters.
|
26
|
-
* E.g. ban="[()-]" will not allow a user to
|
27
|
-
* input (, ), or - into the target input.
|
28
|
-
*/
|
29
20
|
this.ban = '';
|
30
|
-
/**
|
31
|
-
* A test pattern for the mask to allow or
|
32
|
-
* disallow characters at targeted points
|
33
|
-
* in the input. The pattern is a character
|
34
|
-
* separated value of regular expressions
|
35
|
-
* where the first character denotes the
|
36
|
-
* character separator at each subsequent
|
37
|
-
* value is a regular expression for the
|
38
|
-
* character at that indicated index.
|
39
|
-
* E.g. `pattern=",[345],,,[^abc]"` would mean
|
40
|
-
* that "," is the separator and that the
|
41
|
-
* first character must be a 3, 4, or 5, and
|
42
|
-
* the fourth character cannot be an a, b or c.
|
43
|
-
*/
|
44
21
|
this.pattern = '';
|
45
|
-
/**
|
46
|
-
* Mask Character
|
47
|
-
*/
|
48
22
|
this.char = '_';
|
49
|
-
/**
|
50
|
-
* Hide mask
|
51
|
-
*/
|
52
23
|
this.hidden = false;
|
53
24
|
this.handleFocus = this.handleFocus.bind(this);
|
54
25
|
this.handleBlur = this.handleBlur.bind(this);
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$2 = require('./index-69919a4f.js');
|
7
7
|
const index$1 = require('./index-3f6b12f6.js');
|
8
8
|
|
@@ -13,20 +13,10 @@ const Ku4Modal = class {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
14
14
|
this.didDisplay = index.createEvent(this, "display", 7);
|
15
15
|
this.didDismiss = index.createEvent(this, "dismiss", 7);
|
16
|
-
/**
|
17
|
-
* Visible when true
|
18
|
-
*/
|
19
|
-
// eslint-disable-next-line @stencil/strict-mutable
|
20
16
|
this.visible = false;
|
21
|
-
/**
|
22
|
-
* DEPRECATED - Misspelled use `dismissible`
|
23
|
-
* Will not dismiss by clicking and touching outside when false;
|
24
|
-
*/
|
25
17
|
this.dismissable = true;
|
26
|
-
/**
|
27
|
-
* Will not dismiss by clicking and touching outside when false;
|
28
|
-
*/
|
29
18
|
this.dismissible = this.dismissable;
|
19
|
+
this.focusTrap = undefined;
|
30
20
|
}
|
31
21
|
handleVisibility(value) {
|
32
22
|
if (value) {
|
@@ -2,16 +2,13 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
|
7
7
|
const ku4PanelCss = ":host{-webkit-backface-visibility:hidden;display:block;width:100%;height:auto;max-height:0;-webkit-transition:max-height 0.4s, padding 0.6s;transition:max-height 0.4s, padding 0.6s;overflow:hidden}:host([open]){padding-top:inherit;padding-bottom:inherit}";
|
8
8
|
|
9
9
|
const Ku4Panel = class {
|
10
10
|
constructor(hostRef) {
|
11
11
|
index.registerInstance(this, hostRef);
|
12
|
-
/**
|
13
|
-
* Set true to display panel
|
14
|
-
*/
|
15
12
|
this.open = false;
|
16
13
|
this.maxHeight = this.open ? 'none' : '0px';
|
17
14
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-69919a4f.js');
|
7
7
|
const index$2 = require('./index-3f6b12f6.js');
|
8
8
|
|
@@ -39,6 +39,16 @@ function portraitOrientation() {
|
|
39
39
|
const Ku4Preview = class {
|
40
40
|
constructor(hostRef) {
|
41
41
|
index.registerInstance(this, hostRef);
|
42
|
+
this.for = undefined;
|
43
|
+
this.src = undefined;
|
44
|
+
this.altsrc = undefined;
|
45
|
+
this.orientation = undefined;
|
46
|
+
this.resolutionX = undefined;
|
47
|
+
this.resolutionY = undefined;
|
48
|
+
this.capture = undefined;
|
49
|
+
this.status = undefined;
|
50
|
+
this.alt = undefined;
|
51
|
+
this.currentSrc = undefined;
|
42
52
|
this.handleChange = this.handleChange.bind(this);
|
43
53
|
}
|
44
54
|
orientationHandler() {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const index$1 = require('./index-3f6b12f6.js');
|
7
7
|
const uid = require('./uid-682bb993.js');
|
8
8
|
require('./index-69919a4f.js');
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const uid = require('./uid-682bb993.js');
|
7
7
|
require('./index-69919a4f.js');
|
8
8
|
|
@@ -11,11 +11,9 @@ const ku4TabPanelCss = ":host{-webkit-backface-visibility:hidden;display:block;w
|
|
11
11
|
const Ku4TabPanel = class {
|
12
12
|
constructor(hostRef) {
|
13
13
|
index.registerInstance(this, hostRef);
|
14
|
-
/**
|
15
|
-
* Set true to display panel
|
16
|
-
*/
|
17
14
|
this.selected = false;
|
18
15
|
this.maxHeight = this.selected ? 'none' : '0px';
|
16
|
+
this.tab = undefined;
|
19
17
|
}
|
20
18
|
handleTransitionEnd() {
|
21
19
|
this.maxHeight = this.selected ? 'none' : '0px';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-6c555187.js');
|
6
6
|
const uid = require('./uid-682bb993.js');
|
7
7
|
require('./index-69919a4f.js');
|
8
8
|
|
@@ -13,10 +13,8 @@ const Ku4Tab = class {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
14
14
|
this.tabClick = index.createEvent(this, "ku4TabClick", 7);
|
15
15
|
this.tabKeyUp = index.createEvent(this, "ku4TabKeyup", 7);
|
16
|
-
/**
|
17
|
-
* Active when true
|
18
|
-
*/
|
19
16
|
this.selected = false;
|
17
|
+
this.panel = undefined;
|
20
18
|
}
|
21
19
|
handleClick(e) {
|
22
20
|
this.tabClick.emit(e);
|