@sme.up/ketchup 8.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-button-49b2c37c.js → f-button-c0ede055.js} +2 -2
- package/dist/cjs/{f-cell-9a6bc55c.js → f-cell-1c17dbac.js} +17 -10
- package/dist/cjs/{f-checkbox-593f72c3.js → f-checkbox-1148e791.js} +1 -1
- package/dist/cjs/{f-chip-dee84122.js → f-chip-bace36bb.js} +3 -3
- package/dist/cjs/{f-image-27f965ff.js → f-image-22174590.js} +2 -2
- package/dist/cjs/{f-paginator-utils-4a30189d.js → f-paginator-utils-e21e1f06.js} +3 -3
- package/dist/cjs/{f-text-field-04a663b4.js → f-text-field-503f2bb0.js} +83 -9
- package/dist/cjs/{index-74433248.js → index-1f177abc.js} +0 -3
- package/dist/cjs/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +778 -740
- package/dist/cjs/kup-box.cjs.entry.js +10 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +3 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-2ff5d258.js → kup-manager-b994cf71.js} +88 -16
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +12 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +1 -3
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +27 -0
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +109 -10
- package/dist/collection/f-components/f-cell/f-cell.js +12 -5
- package/dist/collection/f-components/f-text-field/f-text-field.js +80 -6
- package/dist/collection/managers/kup-math/kup-math.js +85 -4
- package/dist/collection/utils/utils.js +1 -10
- package/dist/components/kup-autocomplete2.js +543 -349
- package/dist/components/kup-dash-list.js +2 -3
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +1 -1
- package/dist/components/kup-family-tree.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +8 -0
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/esm/{f-button-744cf1f6.js → f-button-c377973d.js} +2 -2
- package/dist/esm/{f-cell-b319c869.js → f-cell-e5a98bc8.js} +17 -10
- package/dist/esm/{f-checkbox-ec85b437.js → f-checkbox-9b3f5f5b.js} +1 -1
- package/dist/esm/{f-chip-7e3e4180.js → f-chip-c8a18c48.js} +3 -3
- package/dist/esm/{f-image-098c26ce.js → f-image-5cbdf39d.js} +2 -2
- package/dist/esm/{f-paginator-utils-674cb2ae.js → f-paginator-utils-a1dab059.js} +3 -3
- package/dist/esm/{f-text-field-c38ef113.js → f-text-field-dafb7c8b.js} +83 -9
- package/dist/esm/{index-b326ffc9.js → index-8bd38435.js} +1 -3
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_27.entry.js +778 -740
- package/dist/esm/kup-box.entry.js +10 -10
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dash-list.entry.js +3 -4
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-dashboard.entry.js +6 -6
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-b41eb2a8.js → kup-manager-3594cde8.js} +88 -16
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +12 -4
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-3efe7f43.entry.js → p-017418e7.entry.js} +1 -1
- package/dist/ketchup/{p-395e1960.entry.js → p-22e72f06.entry.js} +1 -1
- package/dist/ketchup/{p-77e3d537.js → p-2d32e3cd.js} +1 -1
- package/dist/ketchup/{p-5ce2b4fc.entry.js → p-31abf4b6.entry.js} +1 -1
- package/dist/ketchup/{p-b244f5ca.entry.js → p-37ada0f0.entry.js} +1 -1
- package/dist/ketchup/{p-a877a87b.entry.js → p-38f16697.entry.js} +2 -2
- package/dist/ketchup/{p-9700eb32.js → p-4638fbff.js} +1 -1
- package/dist/ketchup/{p-af82131e.entry.js → p-473d2bea.entry.js} +1 -1
- package/dist/ketchup/{p-da891093.entry.js → p-4c56e199.entry.js} +1 -1
- package/dist/ketchup/{p-a9b7533b.entry.js → p-5205286a.entry.js} +1 -1
- package/dist/ketchup/p-61319cfa.js +1 -0
- package/dist/ketchup/{p-ef614656.js → p-6762d447.js} +1 -1
- package/dist/ketchup/p-6c726886.entry.js +1 -0
- package/dist/ketchup/{p-0b91f5f8.entry.js → p-7be5ef32.entry.js} +1 -1
- package/dist/ketchup/{p-3b41aca7.entry.js → p-7f4f5f0f.entry.js} +1 -1
- package/dist/ketchup/{p-b032f47d.entry.js → p-80815edf.entry.js} +1 -1
- package/dist/ketchup/p-8b248655.js +1 -0
- package/dist/ketchup/{p-d4ece435.js → p-9dcfbb1e.js} +2 -2
- package/dist/ketchup/{p-c26975bf.js → p-9f9b6656.js} +1 -1
- package/dist/ketchup/{p-4325d965.entry.js → p-9fc6a9a8.entry.js} +1 -1
- package/dist/ketchup/{p-940a5feb.js → p-acaa171f.js} +3 -3
- package/dist/ketchup/{p-4ae2ca6f.entry.js → p-afff7a6e.entry.js} +1 -1
- package/dist/ketchup/{p-bd42562d.entry.js → p-b718af72.entry.js} +1 -1
- package/dist/ketchup/p-bf4a881b.js +1 -0
- package/dist/ketchup/{p-d739710a.entry.js → p-ce5b6ce7.entry.js} +1 -1
- package/dist/ketchup/p-cf322853.entry.js +1 -0
- package/dist/ketchup/{p-bb17c1ba.entry.js → p-d1164680.entry.js} +1 -1
- package/dist/ketchup/p-d4eb9a76.entry.js +1 -0
- package/dist/ketchup/p-d76be079.entry.js +1 -0
- package/dist/ketchup/{p-e02b5141.entry.js → p-ed7e118e.entry.js} +1 -1
- package/dist/ketchup/{p-a7e19620.entry.js → p-ef0b4f19.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-snackbar/kup-snackbar.d.ts +5 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +20 -2
- package/dist/types/components.d.ts +34 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +3 -0
- package/dist/types/managers/kup-math/kup-math-declarations.d.ts +6 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +26 -2
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +1 -1
- package/dist/ketchup/p-0b0b61cb.entry.js +0 -1
- package/dist/ketchup/p-5d398e42.js +0 -1
- package/dist/ketchup/p-c8b7790a.entry.js +0 -1
- package/dist/ketchup/p-c968e93d.entry.js +0 -1
- package/dist/ketchup/p-d98fdb9b.js +0 -1
- package/dist/ketchup/p-df316daf.entry.js +0 -1
- package/dist/ketchup/p-e714f4dc.js +0 -1
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
|
+
const fPaginatorUtils = require('./f-paginator-utils-e21e1f06.js');
|
|
8
|
+
const fImage = require('./f-image-22174590.js');
|
|
9
|
+
const fChip = require('./f-chip-bace36bb.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-1c17dbac.js');
|
|
12
12
|
const fTextFieldMdc = require('./f-text-field-mdc-0e22f3e3.js');
|
|
13
|
-
require('./f-button-
|
|
13
|
+
require('./f-button-c0ede055.js');
|
|
14
14
|
require('./f-button-declarations-b611587f.js');
|
|
15
|
-
require('./f-checkbox-
|
|
16
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-checkbox-1148e791.js');
|
|
16
|
+
require('./f-text-field-503f2bb0.js');
|
|
17
17
|
require('./tslib.es6-386654de.js');
|
|
18
18
|
require('./component-85c2bd4d.js');
|
|
19
19
|
|
|
@@ -404,7 +404,7 @@ const KupBox = class {
|
|
|
404
404
|
}
|
|
405
405
|
// event listeners
|
|
406
406
|
onBoxClick({ target }, row) {
|
|
407
|
-
if (!(target instanceof
|
|
407
|
+
if (!(target instanceof HTMLElement)) {
|
|
408
408
|
return;
|
|
409
409
|
}
|
|
410
410
|
// searching parent
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
6
|
const tslib_es6 = require('./tslib.es6-386654de.js');
|
|
7
|
-
const kupManager = require('./kup-manager-
|
|
7
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
9
|
-
const fButton = require('./f-button-
|
|
10
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fButton = require('./f-button-c0ede055.js');
|
|
10
|
+
const fChip = require('./f-chip-bace36bb.js');
|
|
11
11
|
require('./f-button-declarations-b611587f.js');
|
|
12
|
-
require('./f-image-
|
|
12
|
+
require('./f-image-22174590.js');
|
|
13
13
|
|
|
14
14
|
var n,l,u$1,t,o,r$1,f$1,e$1={},c$1=[],s=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function a$1(n,l){for(var u in l)n[u]=l[u];return n}function h(n){var l=n.parentNode;l&&l.removeChild(n);}function v$1(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return y(l,f,t,o,null)}function y(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function p(){return {current:null}}function d(n){return n.children}function _(n,l){this.props=n,this.context=l;}function k(n,l){if(null==l)return n.__?k(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?k(n):null}function b$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return b$1(n)}}function m(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!g$1.__r++||r$1!==l.debounceRendering)&&((r$1=l.debounceRendering)||o)(g$1);}function g$1(){for(var n;g$1.__r=t.length;)n=t.sort(function(n,l){return n.__v.__b-l.__v.__b}),t=[],n.some(function(n){var l,u,i,t,o,r;n.__d&&(o=(t=(l=n).__v).__e,(r=l.__P)&&(u=[],(i=a$1({},t)).__v=t.__v+1,j$2(r,t,i,l.__n,void 0!==r.ownerSVGElement,null!=t.__h?[o]:null,u,null==o?k(t):o,t.__h),z$1(u,t),t.__e!=o&&b$1(t)));});}function w$1(n,l,u,i,t,o,r,f,s,a){var h,v,p,_,b,m,g,w=i&&i.__k||c$1,A=w.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(_=u.__k[h]=null==(_=l[h])||"boolean"==typeof _?null:"string"==typeof _||"number"==typeof _||"bigint"==typeof _?y(null,_,null,null,_):Array.isArray(_)?y(d,{children:_},null,null,null):_.__b>0?y(_.type,_.props,_.key,null,_.__v):_)){if(_.__=u,_.__b=u.__b+1,null===(p=w[h])||p&&_.key==p.key&&_.type===p.type)w[h]=void 0;else for(v=0;v<A;v++){if((p=w[v])&&_.key==p.key&&_.type===p.type){w[v]=void 0;break}p=null;}j$2(n,_,p=p||e$1,t,o,r,f,s,a),b=_.__e,(v=_.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,_),g.push(v,_.__c||b,_)),null!=b?(null==m&&(m=b),"function"==typeof _.type&&_.__k===p.__k?_.__d=s=x$1(_,s,n):s=P$1(n,_,p,w,b,s),"function"==typeof u.type&&(u.__d=s)):s&&p.__e==s&&s.parentNode!=n&&(s=k(p));}for(u.__e=m,h=A;h--;)null!=w[h]&&("function"==typeof u.type&&null!=w[h].__e&&w[h].__e==u.__d&&(u.__d=k(i,h+1)),N(w[h],w[h]));if(g)for(h=0;h<g.length;h++)M$1(g[h],g[++h],g[++h]);}function x$1(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?x$1(i,l,u):P$1(u,i,i,t,i.__e,l));return l}function A$1(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){A$1(n,l);}):l.push(n)),l}function P$1(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else {for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=2)if(f==t)break n;n.insertBefore(t,o),r=o;}return void 0!==r?r:t.nextSibling}function C$1(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||H$1(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||H$1(n,o,l[o],u[o],i);}function $(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]=null==u?"":"number"!=typeof u||s.test(l)?u:u+"px";}function H$1(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||$(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||$(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?T$1:I$1,o):n.removeEventListener(l,o?T$1:I$1,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null!=u&&(!1!==u||"a"===l[0]&&"r"===l[1])?n.setAttribute(l,u):n.removeAttribute(l));}}function I$1(n){this.l[n.type+!1](l.event?l.event(n):n);}function T$1(n){this.l[n.type+!0](l.event?l.event(n):n);}function j$2(n,u,i,t,o,r,f,e,c){var s,h,v,y,p,k,b,m,g,x,A,P=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(s=l.__b)&&s(u);try{n:if("function"==typeof P){if(m=u.props,g=(s=P.contextType)&&t[s.__c],x=s?g?g.props.value:s.__:t,i.__c?b=(h=u.__c=i.__c).__=h.__E:("prototype"in P&&P.prototype.render?u.__c=h=new P(m,x):(u.__c=h=new _(m,x),h.constructor=P,h.render=O$1),g&&g.sub(h),h.props=m,h.state||(h.state={}),h.context=x,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=a$1({},h.__s)),a$1(h.__s,P.getDerivedStateFromProps(m,h.__s))),y=h.props,p=h.state,v)null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(null==P.getDerivedStateFromProps&&m!==y&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,x),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,x)||u.__v===i.__v){h.props=m,h.state=h.__s,u.__v!==i.__v&&(h.__d=!1),h.__v=u,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,x),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(y,p,k);});}h.context=x,h.props=m,h.state=h.__s,(s=l.__r)&&s(u),h.__d=!1,h.__v=u,h.__P=n,s=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(t=a$1(a$1({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(k=h.getSnapshotBeforeUpdate(y,p)),A=null!=s&&s.type===d&&null==s.key?s.props.children:s,w$1(n,Array.isArray(A)?A:[A],u,i,t,o,r,f,e,c),h.base=u.__e,u.__h=null,h.__h.length&&f.push(h),b&&(h.__E=h.__=null),h.__e=!1;}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=L$1(i.__e,u,i,t,o,r,f,c);(s=l.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,i);}}function z$1(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l.__e(n,u.__v);}});}function L$1(l,u,i,t,o,r,f,c){var s,a,v,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(o=!0),null!=r)for(;_<r.length;_++)if((s=r[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,r[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),r=null,c=!1;}if(null===d)y===p||c&&l.data===p||(l.data=p);else {if(r=r&&n.call(l.childNodes),a=(y=i.props||e$1).dangerouslySetInnerHTML,v=p.dangerouslySetInnerHTML,!c){if(null!=r)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(v||a)&&(v&&(a&&v.__html==a.__html||v.__html===l.innerHTML)||(l.innerHTML=v&&v.__html||""));}if(C$1(l,p,y,o,c),v)u.__k=[];else if(_=u.props.children,w$1(l,Array.isArray(_)?_:[_],u,i,t,o&&"foreignObject"!==d,r,f,r?r[0]:i.__k&&k(i,0),c),null!=r)for(_=r.length;_--;)null!=r[_]&&h(r[_]);c||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&H$1(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&H$1(l,"checked",_,y.checked,!1));}return l}function M$1(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l.__e(n,i);}}function N(n,u,i){var t,o;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||M$1(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l.__e(n,u);}t.base=t.__P=null;}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&N(t[o],u,"function"!=typeof n.type);i||null==n.__e||h(n.__e),n.__e=n.__d=void 0;}function O$1(n,l,u){return this.constructor(n,u)}function S$1(u,i,t){var o,r,f;l.__&&l.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,f=[],j$2(i,u=(!o&&t||i).__k=v$1(d,null,[u]),r||e$1,e$1,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,f,!o&&t?t:r?r.__e:i.firstChild,o),z$1(f,u);}function D$1(n,l){var u={__c:l="__cC"+f$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(m);},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=c$1.slice,l={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,_.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=a$1({},this.state),"function"==typeof n&&(n=n(a$1({},u),this.props)),n&&a$1(u,n),null!=n&&this.__v&&(l&&this.__h.push(l),m(this));},_.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),m(this));},_.prototype.render=d,t=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,g$1.__r=0,f$1=0;
|
|
15
15
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
|
-
const fCell = require('./f-cell-
|
|
9
|
-
require('./f-checkbox-
|
|
10
|
-
require('./f-text-field-
|
|
11
|
-
require('./f-image-
|
|
12
|
-
require('./f-chip-
|
|
8
|
+
const fCell = require('./f-cell-1c17dbac.js');
|
|
9
|
+
require('./f-checkbox-1148e791.js');
|
|
10
|
+
require('./f-text-field-503f2bb0.js');
|
|
11
|
+
require('./f-image-22174590.js');
|
|
12
|
+
require('./f-chip-bace36bb.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Props of the kup-cell component.
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
|
|
8
8
|
const kupDashListCss = ".horizontal{display:inline-block;min-width:300px;max-width:100%;overflow:visible;white-space:nowrap;border:solid;border-width:1px;margin:2px}";
|
|
9
9
|
|
|
@@ -91,8 +91,7 @@ const KupDashList = class {
|
|
|
91
91
|
if (this.data.columns[6] &&
|
|
92
92
|
r.cells[this.data.columns[6].name].obj.k) {
|
|
93
93
|
newValue =
|
|
94
|
-
newValue +
|
|
95
|
-
kupManager.getDecimalSeparator(this.kupManager.dates.getLocale());
|
|
94
|
+
newValue + this.kupManager.math.decimalSeparator();
|
|
96
95
|
}
|
|
97
96
|
valueInt = (index.h("div", { slot: "value-int", style: valueColor }, newValue));
|
|
98
97
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
const kupDashCss = "#dash{color:var(--kup-text-color);font-size:2vw;display:flex;align-items:center;justify-content:center;position:relative;text-align:center;position:relative;word-break:normal}#dash.with-dyn{cursor:pointer}#dash #content .icon{margin:auto;font-size:90%}#dash #content.layout-1,#dash #content.layout-3{text-align:center}#dash #content.layout-1 .descr,#dash #content.layout-3 .descr{font-size:70%;width:100%}#dash #content.layout-1 .value,#dash #content.layout-3 .value{font-size:220%}#dash #content.layout-2>div{display:flex}#dash #content.layout-2>div .icon{margin:auto;font-size:150%;margin-right:5%}#dash #content.layout-2>div .value-int{font-size:250%}#dash #content.layout-2>div .value-dec,#dash #content.layout-2>div .unit{font-size:130%;margin-top:auto;margin-bottom:7%}#dash #content.layout-2>div .value-dec{margin-left:2%}#dash #content.layout-2>div .unit{margin-left:4%}#dash #content.layout-4>div{display:grid;grid-template-columns:2fr 5fr}#dash #content.layout-4>div .icon{margin:auto;font-size:150%;margin-right:5%}#dash #content.layout-4>div .value-and-unit{display:flex}#dash #content.layout-4>div .value-and-unit .value-int{font-size:250%}#dash #content.layout-4>div .value-and-unit .value-dec,#dash #content.layout-4>div .value-and-unit .unit{font-size:130%;margin-top:auto;margin-bottom:7%}#dash #content.layout-4>div .value-and-unit .value-dec{margin-left:2%}#dash #content.layout-4>div .value-and-unit .unit{margin-left:4%}#dash #content.layout-4>div .descr{margin-left:4%;text-align:left;font-size:80%;width:100%;min-width:max-content}#dash #content.layout-5>div,#dash #content.layout-7>div{display:flex}#dash #content.layout-5>div .icon,#dash #content.layout-7>div .icon{font-size:150%;margin:auto;margin-left:10%}#dash #content.layout-5>div .value,#dash #content.layout-7>div .value{font-size:200%}#dash #content.layout-5>div .descr,#dash #content.layout-7>div .descr{text-align:right;font-size:65%;width:100%;min-width:max-content}#dash #content.layout-6>div{display:flex;justify-content:space-between}#dash #content.layout-6>div .icon{font-size:150%;margin-right:10%}#dash #content.layout-6>div .value{font-size:220%;text-align:right}#dash #content.layout-6>div .descr{font-size:80%;text-align:right;width:100%;min-width:max-content}#dash #content.layout-8>div{display:flex;align-items:center}#dash #content.layout-8>div .icon{margin-right:4%;font-size:75%}#dash #content.layout-8>div .value{margin:0 10%;font-size:250%}#dash #content.layout-8>div .descr{font-size:60%;text-align:left}";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const fButton = require('./f-button-
|
|
7
|
-
const fCheckbox = require('./f-checkbox-
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const fButton = require('./f-button-c0ede055.js');
|
|
7
|
+
const fCheckbox = require('./f-checkbox-1148e791.js');
|
|
8
|
+
const fTextField = require('./f-text-field-503f2bb0.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-0e22f3e3.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
12
12
|
require('./f-button-declarations-b611587f.js');
|
|
13
|
-
require('./f-image-
|
|
13
|
+
require('./f-image-22174590.js');
|
|
14
14
|
require('./tslib.es6-386654de.js');
|
|
15
15
|
require('./component-85c2bd4d.js');
|
|
16
16
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
const drawerClass = 'drawer';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
/*! *****************************************************************************
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const fButton = require('./f-button-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const fButton = require('./f-button-c0ede055.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const kupManager = require('./kup-manager-
|
|
8
|
+
const fImage = require('./f-image-22174590.js');
|
|
9
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-iframe component.
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fButton = require('./f-button-
|
|
8
|
+
const fImage = require('./f-image-22174590.js');
|
|
9
|
+
const fButton = require('./f-button-c0ede055.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-1c17dbac.js');
|
|
12
12
|
const component = require('./component-85c2bd4d.js');
|
|
13
|
-
require('./f-checkbox-
|
|
14
|
-
require('./f-text-field-
|
|
15
|
-
require('./f-chip-
|
|
13
|
+
require('./f-checkbox-1148e791.js');
|
|
14
|
+
require('./f-text-field-503f2bb0.js');
|
|
15
|
+
require('./f-chip-bace36bb.js');
|
|
16
16
|
require('./tslib.es6-386654de.js');
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-b611587f.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
8
|
+
const fImage = require('./f-image-22174590.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
3
|
+
const index = require('./index-1f177abc.js');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-card component.
|
|
@@ -6021,12 +6021,6 @@ function identify(array) {
|
|
|
6021
6021
|
}
|
|
6022
6022
|
}
|
|
6023
6023
|
}
|
|
6024
|
-
function getSeparator(locale, separatorType) {
|
|
6025
|
-
const numberWithGroupAndDecimalSeparator = 1000.1;
|
|
6026
|
-
return Intl.NumberFormat(locale)
|
|
6027
|
-
.formatToParts(numberWithGroupAndDecimalSeparator)
|
|
6028
|
-
.find((part) => part.type === separatorType).value;
|
|
6029
|
-
}
|
|
6030
6024
|
function getCurrentTimeFormatFromBrowserLocale(manageSeconds) {
|
|
6031
6025
|
const options = {
|
|
6032
6026
|
hour: '2-digit',
|
|
@@ -6143,7 +6137,7 @@ function unformattedStringToFormattedStringNumber(input, decimals, type) {
|
|
|
6143
6137
|
* @returns number as string, formatted by locale US, decimal separator . (like java decimal numbers), without group separator
|
|
6144
6138
|
**/
|
|
6145
6139
|
function formattedStringToUnformattedStringNumber(input, type) {
|
|
6146
|
-
return numberStringToNumberString(input, type,
|
|
6140
|
+
return numberStringToNumberString(input, type, dom$a.ketchup.math.decimalSeparator());
|
|
6147
6141
|
}
|
|
6148
6142
|
/**
|
|
6149
6143
|
* @param input number as string, formatted by locale US, decimal separator . (like java decimal numbers), with group separator
|
|
@@ -6180,9 +6174,6 @@ function numberStringToNumberString(input, type, decFmt) {
|
|
|
6180
6174
|
let unf = stringToNumber(input);
|
|
6181
6175
|
return _numberToString(unf, -1, 'en-US', false);
|
|
6182
6176
|
}
|
|
6183
|
-
function getDecimalSeparator(locale) {
|
|
6184
|
-
return getSeparator(locale, 'decimal');
|
|
6185
|
-
}
|
|
6186
6177
|
function countDecimals(value) {
|
|
6187
6178
|
if (Math.floor(value) === value)
|
|
6188
6179
|
return 0;
|
|
@@ -9927,10 +9918,11 @@ class KupMath {
|
|
|
9927
9918
|
* Formats the input number with the specified format of the currently set locale.
|
|
9928
9919
|
* @param {string | String | number} input - Input number which will be automatically "numberified".
|
|
9929
9920
|
* @param {string} format - Desired format. Defaults to '0,0.00' (i.e.: 2,000,000.51).
|
|
9921
|
+
* @param {boolean} inputIsLocalized Numberifies assuming the input string is in the current KupMath locale's format.
|
|
9930
9922
|
* @returns {string} Formatted number.
|
|
9931
9923
|
*/
|
|
9932
|
-
format(input, format) {
|
|
9933
|
-
const n = this.numberify(input);
|
|
9924
|
+
format(input, format, inputIsLocalized) {
|
|
9925
|
+
const n = this.numberify(input, inputIsLocalized);
|
|
9934
9926
|
if (!format) {
|
|
9935
9927
|
const positiveN = Math.abs(n);
|
|
9936
9928
|
const decimals = positiveN - Math.floor(positiveN);
|
|
@@ -9941,8 +9933,88 @@ class KupMath {
|
|
|
9941
9933
|
format = '0,0';
|
|
9942
9934
|
}
|
|
9943
9935
|
}
|
|
9944
|
-
|
|
9945
|
-
|
|
9936
|
+
return this.numeral(n).format(format);
|
|
9937
|
+
}
|
|
9938
|
+
/**
|
|
9939
|
+
* Created the string for format a number
|
|
9940
|
+
* @param {boolean} thousandPoint - show thousandPoint
|
|
9941
|
+
* @param {number} decimals - number of decimals
|
|
9942
|
+
*/
|
|
9943
|
+
createFormatPattern(thousandPoint, decimals) {
|
|
9944
|
+
var format = '0';
|
|
9945
|
+
if (thousandPoint) {
|
|
9946
|
+
format += ',000';
|
|
9947
|
+
}
|
|
9948
|
+
if (decimals && decimals > 0) {
|
|
9949
|
+
format += '.';
|
|
9950
|
+
for (let i = 0; i < decimals; i++) {
|
|
9951
|
+
format += '0';
|
|
9952
|
+
}
|
|
9953
|
+
}
|
|
9954
|
+
return format;
|
|
9955
|
+
}
|
|
9956
|
+
/**
|
|
9957
|
+
* Returns the decimal separator of current browser
|
|
9958
|
+
* @returns current decimal separator, by locale
|
|
9959
|
+
*/
|
|
9960
|
+
decimalSeparator() {
|
|
9961
|
+
const numberWithGroupAndDecimalSeparator = 1000.1;
|
|
9962
|
+
return Intl.NumberFormat(this.locale)
|
|
9963
|
+
.formatToParts(numberWithGroupAndDecimalSeparator)
|
|
9964
|
+
.find((part) => part.type === 'decimal').value;
|
|
9965
|
+
}
|
|
9966
|
+
/**
|
|
9967
|
+
* Returns the group separator of current browser
|
|
9968
|
+
* @returns current group separator, by locale
|
|
9969
|
+
*/
|
|
9970
|
+
groupSeparator() {
|
|
9971
|
+
const numberWithGroupAndDecimalSeparator = 1000.1;
|
|
9972
|
+
return Intl.NumberFormat(this.locale)
|
|
9973
|
+
.formatToParts(numberWithGroupAndDecimalSeparator)
|
|
9974
|
+
.find((part) => part.type === 'group').value;
|
|
9975
|
+
}
|
|
9976
|
+
/**
|
|
9977
|
+
* Checks if an input string matches options, for desired formatted decimal number (integer digits, decimal digits)
|
|
9978
|
+
* @param value the input value to check
|
|
9979
|
+
* @param options options for customize the check
|
|
9980
|
+
* @returns an object from applying the regular expression for check
|
|
9981
|
+
*/
|
|
9982
|
+
matchNumericValueWithOptions(value, options) {
|
|
9983
|
+
// see https://github.com/24eme/jquery-input-number-format.git
|
|
9984
|
+
let found = undefined;
|
|
9985
|
+
let integerPartSuffix = '+';
|
|
9986
|
+
if (options.integer && options.integer > 0) {
|
|
9987
|
+
integerPartSuffix = '{0,' + options.integer + '}';
|
|
9988
|
+
}
|
|
9989
|
+
let regexp = '^[0-9]' + integerPartSuffix;
|
|
9990
|
+
if (options.allowNegative) {
|
|
9991
|
+
regexp = '^-{0,1}[0-9]' + integerPartSuffix;
|
|
9992
|
+
}
|
|
9993
|
+
if (options.decimal && options.decimal > 0) {
|
|
9994
|
+
regexp +=
|
|
9995
|
+
'([' +
|
|
9996
|
+
this.decimalSeparator() +
|
|
9997
|
+
'][0-9]{0,' +
|
|
9998
|
+
options.decimal +
|
|
9999
|
+
'})?';
|
|
10000
|
+
let regexpObj = new RegExp(regexp + '$');
|
|
10001
|
+
found = value.match(regexpObj);
|
|
10002
|
+
if (!found) {
|
|
10003
|
+
regexp =
|
|
10004
|
+
'^[' +
|
|
10005
|
+
this.decimalSeparator() +
|
|
10006
|
+
'][0-9]{0,' +
|
|
10007
|
+
options.decimal +
|
|
10008
|
+
'}';
|
|
10009
|
+
regexpObj = new RegExp(regexp + '$');
|
|
10010
|
+
found = value.match(regexpObj);
|
|
10011
|
+
}
|
|
10012
|
+
}
|
|
10013
|
+
else {
|
|
10014
|
+
let regexpObj = new RegExp(regexp + '$');
|
|
10015
|
+
found = value.match(regexpObj);
|
|
10016
|
+
}
|
|
10017
|
+
return found;
|
|
9946
10018
|
}
|
|
9947
10019
|
/**
|
|
9948
10020
|
* Returns a number from a non-specified input type between string, number, or String.
|
|
@@ -18337,10 +18409,10 @@ exports.fieldColumn = fieldColumn;
|
|
|
18337
18409
|
exports.formatTime = formatTime;
|
|
18338
18410
|
exports.formatToNumber = formatToNumber;
|
|
18339
18411
|
exports.formattedStringToCustomUnformattedStringTime = formattedStringToCustomUnformattedStringTime;
|
|
18412
|
+
exports.formattedStringToUnformattedStringNumber = formattedStringToUnformattedStringNumber;
|
|
18340
18413
|
exports.fullWidthFieldsComps = fullWidthFieldsComps;
|
|
18341
18414
|
exports.getCellValueForDisplay = getCellValueForDisplay;
|
|
18342
18415
|
exports.getColumnByName = getColumnByName;
|
|
18343
|
-
exports.getDecimalSeparator = getDecimalSeparator;
|
|
18344
18416
|
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|
|
18345
18417
|
exports.getMonthsAsStringByLocale = getMonthsAsStringByLocale;
|
|
18346
18418
|
exports.getProps = getProps;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
const navbarClass = 'nav-bar';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-503f2bb0.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-0e22f3e3.js');
|
|
10
10
|
require('./tslib.es6-386654de.js');
|
|
11
11
|
require('./component-85c2bd4d.js');
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager$1 = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager$1 = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-503f2bb0.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-0e22f3e3.js');
|
|
10
10
|
require('./tslib.es6-386654de.js');
|
|
11
11
|
require('./component-85c2bd4d.js');
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
8
|
|
|
9
9
|
const KupProbe = class {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
|
|
8
8
|
const kupQlikCss = ".kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height) / 2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height) / 3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height) * 2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height) * 3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-color, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
|
|
9
9
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const index = require('./index-1f177abc.js');
|
|
6
|
+
const kupManager = require('./kup-manager-b994cf71.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-a9ed17ee.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
8
|
+
const fButton = require('./f-button-c0ede055.js');
|
|
9
9
|
require('./f-button-declarations-b611587f.js');
|
|
10
|
-
require('./f-image-
|
|
10
|
+
require('./f-image-22174590.js');
|
|
11
11
|
|
|
12
12
|
const snackbarClass = 'snackbar';
|
|
13
13
|
/**
|
|
@@ -29,6 +29,7 @@ const KupSnackbar = class {
|
|
|
29
29
|
constructor(hostRef) {
|
|
30
30
|
index.registerInstance(this, hostRef);
|
|
31
31
|
this.kupActionClick = index.createEvent(this, "kup-snackbar-actionclick", 6);
|
|
32
|
+
this.kupTimeoutComplete = index.createEvent(this, "kup-snackbar-timeoutcomplete", 6);
|
|
32
33
|
/*-------------------------------------------------*/
|
|
33
34
|
/* I n t e r n a l V a r i a b l e s */
|
|
34
35
|
/*-------------------------------------------------*/
|
|
@@ -50,6 +51,12 @@ const KupSnackbar = class {
|
|
|
50
51
|
id: this.rootElement.id,
|
|
51
52
|
});
|
|
52
53
|
}
|
|
54
|
+
onKupTimeoutComplete() {
|
|
55
|
+
this.kupTimeoutComplete.emit({
|
|
56
|
+
comp: this,
|
|
57
|
+
id: this.rootElement.id,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
53
60
|
/*-------------------------------------------------*/
|
|
54
61
|
/* P u b l i c M e t h o d s */
|
|
55
62
|
/*-------------------------------------------------*/
|
|
@@ -103,6 +110,7 @@ const KupSnackbar = class {
|
|
|
103
110
|
if (this.timeout && this.visible) {
|
|
104
111
|
setTimeout(() => {
|
|
105
112
|
this.hide();
|
|
113
|
+
this.onKupTimeoutComplete();
|
|
106
114
|
}, this.timeout);
|
|
107
115
|
}
|
|
108
116
|
this.kupManager.debug.logRender(this, true);
|