@sme.up/ketchup 5.2.0-SNAPSHOT → 6.1.0-SNAPSHOT
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/{cell-utils-5b16c180.js → cell-utils-a78d6fac.js} +2 -2
- package/dist/cjs/{component-d1496215.js → component-72a5b626.js} +30 -0
- package/dist/cjs/{f-button-3b9f32af.js → f-button-ac179257.js} +2 -2
- package/dist/cjs/{f-cell-c6ad973a.js → f-cell-69294bca.js} +33 -121
- package/dist/cjs/{f-chip-bed86c4a.js → f-chip-b00897d7.js} +5 -4
- package/dist/cjs/{f-image-08a3d340.js → f-image-89f25556.js} +2 -2
- package/dist/cjs/f-paginator-utils-8fa501b3.js +1898 -0
- package/dist/cjs/f-text-field-e1e45ade.js +94 -0
- package/dist/cjs/f-text-field-mdc-85997738.js +2570 -0
- package/dist/cjs/{index-8d7bb3be.js → index-eb556444.js} +2 -0
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/{kup-autocomplete_27.cjs.entry.js → kup-autocomplete_25.cjs.entry.js} +1766 -8367
- package/dist/cjs/{kup-echart.cjs.entry.js → kup-box_2.cjs.entry.js} +17102 -14788
- package/dist/cjs/kup-calendar.cjs.entry.js +42 -34
- package/dist/cjs/kup-cell.cjs.entry.js +8 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +3 -3
- package/dist/cjs/kup-drawer.cjs.entry.js +12 -5
- package/dist/cjs/kup-field.cjs.entry.js +2 -2
- package/dist/cjs/kup-form-editor.cjs.entry.js +404 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +228 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/kup-manager-7a941909.js +16703 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +423 -0
- package/dist/cjs/kup-photo-frame.cjs.entry.js +5 -5
- 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 +6 -6
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-b9df398c.js → utils-6287d878.js} +1 -1
- package/dist/collection/assets/card.js +4 -5
- package/dist/collection/assets/data-table.js +0 -79
- package/dist/collection/assets/form-editor.js +338 -0
- package/dist/collection/assets/image-list.js +624 -0
- package/dist/collection/assets/index.js +16 -0
- package/dist/collection/assets/kupdata.js +0 -3
- package/dist/collection/assets/kuptooltip.js +654 -0
- package/dist/collection/assets/tree.js +0 -128
- package/dist/collection/collection-manifest.json +8 -6
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
- package/dist/collection/components/kup-box/kup-box-declarations.js +0 -4
- package/dist/collection/components/kup-box/kup-box.js +7 -135
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -0
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +1 -1
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +153 -0
- package/dist/collection/components/kup-card/kup-card.css +61 -8
- package/dist/collection/components/kup-card/kup-card.js +2 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +14 -6
- package/dist/collection/components/kup-combobox/kup-combobox.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -3
- package/dist/collection/components/kup-data-table/kup-data-table.js +50 -138
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.css +1 -0
- package/dist/collection/components/kup-drawer/kup-drawer.js +8 -1
- package/dist/collection/components/kup-form-editor/kup-form-editor-declarations.js +23 -0
- package/dist/collection/components/kup-form-editor/kup-form-editor.css +80 -0
- package/dist/collection/components/kup-form-editor/kup-form-editor.js +561 -0
- package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +10 -0
- package/dist/collection/components/kup-image-list/kup-image-list.css +166 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +432 -0
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker-declarations.js +16 -0
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.css +50 -0
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +895 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +3 -13
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -0
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +18 -19
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +2 -2
- package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -4
- package/dist/collection/components/kup-tree/kup-tree.css +10 -3
- package/dist/collection/components/kup-tree/kup-tree.js +65 -140
- package/dist/collection/f-components/f-cell/f-cell.js +7 -7
- package/dist/collection/f-components/f-chip/f-chip.js +2 -1
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +24 -0
- package/dist/collection/managers/kup-data/kup-data.js +4 -1
- package/dist/collection/managers/kup-debug/kup-debug.js +1 -0
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +4 -2
- package/dist/collection/managers/kup-interact/kup-interact.js +1 -22
- package/dist/collection/managers/kup-language/kup-language-declarations.js +2 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +31 -1
- package/dist/collection/managers/kup-math/kup-math.js +11 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +6 -0
- package/dist/collection/managers/kup-tooltip/kup-tooltip-declarations.js +1 -0
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +224 -0
- package/dist/collection/types/GenericTypes.js +3 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +8 -12
- package/dist/esm/{cell-utils-69f75e2e.js → cell-utils-964da6b5.js} +3 -3
- package/dist/esm/{component-c4eb6153.js → component-b1bedf1d.js} +27 -2
- package/dist/esm/{f-button-7e7607d8.js → f-button-871a544b.js} +2 -2
- package/dist/esm/{f-cell-e4d83c27.js → f-cell-521ef17a.js} +33 -120
- package/dist/esm/{f-chip-51dfefaf.js → f-chip-1dda722f.js} +6 -5
- package/dist/esm/{f-image-de331954.js → f-image-c468d8ae.js} +2 -2
- package/dist/esm/f-paginator-utils-7dff8ff0.js +1884 -0
- package/dist/esm/f-text-field-d6c61c73.js +92 -0
- package/dist/esm/f-text-field-mdc-d42d3f9e.js +2568 -0
- package/dist/esm/{index-aeec9835.js → index-baeab1ac.js} +2 -1
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +6 -6
- package/dist/esm/{kup-autocomplete_27.entry.js → kup-autocomplete_25.entry.js} +1711 -8310
- package/dist/esm/{kup-echart.entry.js → kup-box_2.entry.js} +17102 -14789
- package/dist/esm/kup-calendar.entry.js +43 -35
- package/dist/esm/kup-cell.entry.js +8 -7
- package/dist/esm/kup-dash-list.entry.js +4 -4
- package/dist/esm/kup-dash_2.entry.js +3 -3
- package/dist/esm/kup-drawer.entry.js +12 -5
- package/dist/esm/kup-field.entry.js +2 -2
- package/dist/esm/kup-form-editor.entry.js +400 -0
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +224 -0
- package/dist/esm/kup-lazy.entry.js +3 -3
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/kup-manager-58b075b4.js +16686 -0
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +419 -0
- package/dist/esm/kup-photo-frame.entry.js +5 -5
- 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 +6 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{tslib.es6-8f2d44b6.js → tslib.es6-3eea2234.js} +1 -1
- package/dist/esm/{utils-35c7a90d.js → utils-d7e4b3c2.js} +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-5d190cf5.js → p-1ae66cc5.js} +1 -1
- package/dist/ketchup/{p-8be1337b.js → p-34b74425.js} +1 -1
- package/dist/ketchup/{p-fea316ab.entry.js → p-3c11e615.entry.js} +1 -1
- package/dist/ketchup/p-44ec4f03.js +1 -0
- package/dist/ketchup/p-4ffbc3ff.js +1 -0
- package/dist/ketchup/p-5264a3e6.entry.js +1 -0
- package/dist/ketchup/{p-d7af8156.entry.js → p-65974e48.entry.js} +1 -1
- package/dist/ketchup/p-65b46587.entry.js +40 -0
- package/dist/ketchup/{p-3813281b.entry.js → p-6dff70f8.entry.js} +1 -1
- package/dist/ketchup/{p-33073f4a.js → p-7454cb92.js} +1 -1
- package/dist/ketchup/{p-a0b1d769.js → p-79b0730b.js} +1 -1
- package/dist/ketchup/p-7eff4eee.js +1 -0
- package/dist/ketchup/p-80968627.entry.js +1 -0
- package/dist/ketchup/{p-8c44c3b9.js → p-81605f08.js} +4 -5
- package/dist/ketchup/p-8cdf61a4.js +1 -0
- package/dist/ketchup/{p-f9c41e20.entry.js → p-954cc340.entry.js} +1 -1
- package/dist/ketchup/p-976244f9.entry.js +9 -0
- package/dist/ketchup/p-99e0d768.entry.js +1 -0
- package/dist/ketchup/{p-8f735633.entry.js → p-a0f6e25c.entry.js} +1 -1
- package/dist/ketchup/p-a203f78b.js +45 -0
- package/dist/ketchup/{p-9bcda66f.entry.js → p-a615a92b.entry.js} +1 -1
- package/dist/ketchup/p-aca0e54b.js +30 -0
- package/dist/ketchup/p-b8939a8b.entry.js +1 -0
- package/dist/ketchup/p-bfc3bac7.js +1 -0
- package/dist/ketchup/{p-67c64257.entry.js → p-c5ce8951.entry.js} +1 -1
- package/dist/ketchup/{p-68fc1428.entry.js → p-d2ee56dd.entry.js} +1 -1
- package/dist/ketchup/p-db71436b.entry.js +27 -0
- package/dist/ketchup/{p-10c8d755.js → p-e0035c58.js} +1 -1
- package/dist/ketchup/p-e1039cf2.entry.js +1 -0
- package/dist/ketchup/{p-b5e1dbfa.entry.js → p-ea10176c.entry.js} +1 -1
- package/dist/ketchup/p-f09f2f98.entry.js +1 -0
- package/dist/ketchup/{p-0751aaf6.entry.js → p-f71a1675.entry.js} +1 -1
- package/dist/ketchup/{p-4081f5f7.entry.js → p-fac1a08b.entry.js} +1 -1
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -5
- package/dist/types/components/kup-box/kup-box.d.ts +0 -22
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -0
- package/dist/types/components/kup-card/built-in/kup-card-numeric.d.ts +2 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +26 -1
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +4 -4
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +5 -19
- package/dist/types/components/kup-form-editor/kup-form-editor-declarations.d.ts +79 -0
- package/dist/types/components/kup-form-editor/kup-form-editor.d.ts +72 -0
- package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +14 -0
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +56 -0
- package/dist/types/components/kup-numeric-picker/kup-numeric-picker-declarations.d.ts +19 -0
- package/dist/types/components/kup-numeric-picker/kup-numeric-picker.d.ts +121 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar-declarations.d.ts +3 -9
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +6 -6
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +1 -5
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -24
- package/dist/types/components.d.ts +265 -232
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +7 -0
- package/dist/types/managers/kup-data/kup-data.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +2 -0
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +14 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +14 -0
- package/dist/types/managers/kup-math/kup-math-declarations.d.ts +6 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +2 -1
- package/dist/types/managers/kup-tooltip/kup-tooltip-declarations.d.ts +8 -0
- package/dist/types/managers/kup-tooltip/kup-tooltip.d.ts +51 -0
- package/dist/types/types/GenericTypes.d.ts +3 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +1 -3
- package/package.json +16 -15
- package/dist/cjs/kup-manager-4227f0a2.js +0 -8582
- package/dist/collection/assets/tooltip.js +0 -73
- package/dist/collection/components/kup-tooltip/kup-tooltip-declarations.js +0 -20
- package/dist/collection/components/kup-tooltip/kup-tooltip.css +0 -149
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +0 -1205
- package/dist/collection/utils/helpers.js +0 -38
- package/dist/esm/kup-manager-0ab94726.js +0 -8565
- package/dist/ketchup/p-24df4f29.entry.js +0 -27
- package/dist/ketchup/p-2d4f19f4.js +0 -1
- package/dist/ketchup/p-3445be1e.entry.js +0 -1
- package/dist/ketchup/p-3aab1f0d.entry.js +0 -1
- package/dist/ketchup/p-47b57d97.js +0 -1
- package/dist/ketchup/p-5186885c.entry.js +0 -1
- package/dist/ketchup/p-78223dc0.entry.js +0 -143
- package/dist/ketchup/p-96101f09.entry.js +0 -39
- package/dist/ketchup/p-c314b1e6.js +0 -1
- package/dist/ketchup/p-ee33cbe9.js +0 -9
- package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +0 -93
- package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +0 -142
- package/dist/types/utils/helpers.d.ts +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{r as n,d as t}from"./p-aca0e54b.js";const u=document.documentElement;var r;function i(n){if(n)for(let t=0;t<n.length;t++)n[t].id=t.toString()}function e(n){const t={hour:"2-digit",minute:"2-digit",hour12:!1};return 1==n&&(t.second="2-digit"),new Intl.DateTimeFormat(u.ketchup.dates.getLocale()+"-u-hc-h23",t).formatToParts(new Date).map((n=>{switch(n.type){case"hour":return"HH";case"minute":return"mm";case"second":return"ss";default:return n.value}})).join("")}function c(n,t){return null!=n&&""!=n.trim()&&!!o(h(n,t))}function o(n){return!isNaN(n)}function s(n){return n&&null!=n&&""!=n.trim()||(n="0"),u.ketchup.math.numberify(n)}function a(n){let t="";return"P"==(n=n.toUpperCase())?t=" %":"VE"==n?t=" €":"VL"==n?t=" £":"VV"==n&&(t=" $"),t}function f(n,t,r){if(null==n||isNaN(n))return"";let i=function(n,t){return null==n?"":I(n,t,u.ketchup.dates.getLocale(),!0)}(n,t);return i+=a(r),i}function l(n,t,u){return f(s(n),t,u)}function h(n,t){return d(n,t,m(u.ketchup.dates.getLocale()))}function g(n,t){return d(n,t,".")}function d(n,t,r){if(null==n||""==n.trim())return"";let i=n,e=a(t);""!=e&&(n=n.replace(e,""));let c=null;return c="."==r?/,/g:/\./g,n=n.replace(c,""),"."!=r&&(n=n.replace(/,/g,".")),null==u.ketchup.math.numberify(n)||isNaN(u.ketchup.math.numberify(n))?i:I(s(n),-1,"en-US",!1)}function m(n){return function(n){return Intl.NumberFormat(n).formatToParts(1000.1).find((n=>"decimal"===n.type)).value}(n)}function I(n,t,u,r){return null==n&&(n=0),null!=t&&-1!=t||(t=function(n){if(Math.floor(n)===n)return 0;let t=n.toString().split(".")[1];return t&&t.length?t.length:0}(n)),Number(n).toLocaleString(u,t>-1?{minimumFractionDigits:t,maximumFractionDigits:t,useGrouping:r}:{useGrouping:r})}function w(n,t){const r={hour:"2-digit",minute:"2-digit",hour12:!1};return 1==t&&(r.second="2-digit"),n.toLocaleTimeString(u.ketchup.dates.getLocale()+"-u-hc-h23",r)}function N(n,t){let r=e(t);return u.ketchup.dates.isValid(n,r,!0)}function p(n){return D(n,t.ISO_DATE_TIME,!0)}function D(t,r,i){let c=e(i);return u.ketchup.dates.isValid(t,c)?u.ketchup.dates.format(u.ketchup.dates.normalize(t,n.TIME),r):""}function b(t,r,i){const e={hour:"2-digit",minute:"2-digit",hour12:!1};return 1==r&&(e.second="2-digit"),function(n,t,r,i){if(null==i)return t.toLocaleTimeString(u.ketchup.dates.getLocale()+"-u-hc-h23",r);switch(i){case"I13":case"I12":break;case"I11":case"I14":case"I1H":case"I1M":case"I21":case"I22":case"I23":case"I24":case"I2H":case"I2D":case"I2M":return n}return t.toLocaleTimeString(u.ketchup.dates.getLocale()+"-u-hc-h23",r)}(t,u.ketchup.dates.toDate(u.ketchup.dates.normalize(t,n.TIME)),e,i)}function H(t){return u.ketchup.dates.toDate(u.ketchup.dates.normalize(t,n.TIMESTAMP)).toLocaleString(u.ketchup.dates.getLocale()+"-u-hc-h23",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1})}function V(n,t){if(null==n)return"";const r=new Date;r.setDate(1),r.setMonth(n-1);const i={month:t};return new Intl.DateTimeFormat(u.ketchup.dates.getLocale(),i).format(r)}function j(n){null!=n&&""!=n.trim()||(n=r.LONG);for(var t=[],u=0;u<12;u++)t[u]=V(u+1,n);return t}function M(n,t,u){let r={};if(u)r=t;else for(const u in t)Object.prototype.hasOwnProperty.call(t,u)&&(r[u]=n[u]);return r}function k(n,t,u){for(const r in u)t[r]?n[r]=u[r]:n.rootElement[r]=u[r]}!function(n){n.NUMERIC="numeric",n.DIGIT2="2-digit",n.LONG="long",n.SHORT="short",n.NARROW="narrow"}(r||(r={}));export{r as D,j as a,N as b,w as c,b as d,H as e,D as f,M as g,s as h,i,p as j,c as k,h as l,g as m,f as n,o,m as p,k as s,l as u}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,f as i,h as o,H as s,g as r}from"./p-34b74425.js";import{k as h}from"./p-aca0e54b.js";import{g as a,s as n}from"./p-e0035c58.js";import{c as p}from"./p-97e8ea42.js";var f;!function(t){t.customStyle="Custom style of the component.",t.placeholderAttrs="Html attributes of the picture before the component enters the viewport.",t.resourceAttrs="Html attributes of the picture after the component enters the viewport."}(f||(f={}));var c,l,d,m,u,w,b=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)},v=function(t,e,i,o,s){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!s)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?s.call(t,i):s?s.value=i:e.set(t,i),i};const k=class{constructor(i){t(this,i),this.kupPhotoFramePlaceholderLoad=e(this,"kup-photoframe-placeholderload",6),this.kupPhotoFrameResourceLoad=e(this,"kup-photoframe-resourceload",6),this.isInViewport=!1,this.customStyle="",this.placeholderAttrs={},this.resourceAttrs={},this.threshold=.25,c.set(this,null),l.set(this,h()),d.set(this,null),m.set(this,null),u.set(this,!1),w.set(this,null)}async getProps(t){return a(this,f,t)}async refresh(){i(this)}async setProps(t){n(this,f,t)}setObserver(){v(this,c,new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(this.isInViewport=!0,b(this,c,"f").unobserve(this.rootElement))}))}),{threshold:this.threshold}),"f")}componentWillLoad(){b(this,l,"f").debug.logLoad(this,!1),b(this,l,"f").theme.register(this),this.setObserver()}componentDidLoad(){b(this,l,"f").debug.logLoad(this,!0)}componentWillRender(){b(this,l,"f").debug.logRender(this,!1)}componentDidRender(){b(this,l,"f").debug.logRender(this,!0)}render(){return this.isInViewport&&!b(this,u,"f")&&v(this,u,!0,"f"),o(s,null,o("style",null,b(this,l,"f").theme.setKupStyle(this.rootElement)),o("div",{id:p,ref:t=>{v(this,w,t,"f")}},o("img",Object.assign({},this.placeholderAttrs,{class:"placeholder",ref:t=>v(this,d,t,"f"),onLoad:()=>{b(this,d,"f").naturalWidth>b(this,d,"f").naturalHeight?b(this,w,"f").classList.add("horizontal"):b(this,w,"f").classList.add("vertical"),b(this,c,"f").observe(this.rootElement),b(this,d,"f").classList.add("placeholder--loaded"),this.kupPhotoFramePlaceholderLoad.emit({comp:this,id:this.rootElement.id})}})),b(this,u,"f")?o("img",Object.assign({},this.resourceAttrs,{class:"resource",ref:t=>v(this,m,t,"f"),onLoad:()=>{b(this,m,"f").classList.add("resource--fade-in"),b(this,d,"f").classList.add("placeholder--fade-out"),this.kupPhotoFrameResourceLoad.emit({comp:this,id:this.rootElement.id})}})):null))}disconnectedCallback(){b(this,l,"f").theme.unregister(this),b(this,c,"f").unobserve(this.rootElement)}get rootElement(){return r(this)}};c=new WeakMap,l=new WeakMap,d=new WeakMap,m=new WeakMap,u=new WeakMap,w=new WeakMap,k.style=":host{--kup_photoframe_border:var(\n --kup-photoframe-border,\n 1px inset var(--kup-border-color)\n );--kup_photoframe_fade_out_time:var(--kup-photoframe-fade-out-time, 3000ms);border:var(--kup_photoframe_border);display:block;height:100%;position:relative;width:100%}#kup-component{position:relative;height:100%;width:100%}img{max-height:100%;max-width:100%}.horizontal img{width:100%}.vertical img{height:100%}.placeholder{opacity:1;transition:opacity var(--kup_photoframe_fade_out_time) ease-out;z-index:1}.placeholder--fade-out{opacity:0}.resource{left:0;position:absolute;top:0;z-index:-1}:host(.kup-fit) img{height:100%;object-fit:cover;width:100%}";export{k as kup_photo_frame}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,f as s,h as e,H as o,g as l}from"./p-
|
|
1
|
+
import{r as t,c as i,f as s,h as e,H as o,g as l}from"./p-34b74425.js";import{k as a,c as h}from"./p-aca0e54b.js";import{c as n}from"./p-97e8ea42.js";var u;!function(t){t.customStyle="Custom style of the component.",t.data="Effective data to pass to the component.",t.label="The text of the label. If set to empty or has only white space chars, the label will be removed.",t.labelPos="Sets the label's position, left right or top.",t.showSubmit="Sets whether the submit button must be displayed or not.",t.submitLabel="Sets the submit button's label.",t.submitPos="Sets the submit button's position, top right bottom or left.",t.type="The type of the FLD"}(u||(u={}));const r=class{constructor(s){t(this,s),this.kupChange=i(this,"kup-field-change",6),this.kupSubmit=i(this,"kup-field-submit",6),this.customStyle="",this.data={},this.label="",this.labelPos="left",this.showSubmit=!1,this.submitLabel="",this.submitPos="right",this.type=void 0,this.kupManager=a(),this.currentValue=null,this.previousValue=null,this.onChangeInstance=this.onChange.bind(this),this.onSubmitInstance=this.onSubmit.bind(this)}onChange(t){const{value:i,info:s}=t.detail;this.kupChange.emit({originalEvent:t,oldValue:this.currentValue,value:i,info:s}),this.previousValue=this.currentValue,this.currentValue=i}onSubmit(t){this.kupSubmit.emit({originalEvent:t,oldValue:this.previousValue,value:this.currentValue,info:{obj:t.detail.info&&t.detail.info.obj?t.detail.info.obj:void 0}})}async getCurrentValue(){return this.currentValue}async getProps(t){let i={};if(t)i=u;else for(const t in u)Object.prototype.hasOwnProperty.call(u,t)&&(i[t]=this[t]);return i}async refresh(){s(this)}componentWillLoad(){this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this)}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.kupManager.debug.logRender(this,!0)}render(){let t=[],i=null,s=null,l="",a=Object.assign({},this.data);this.label.trim().length&&(l+=" label-"+this.labelPos,i=e("label",{class:"kup-field__label kup-field--"+this.labelPos},this.label)),this.showSubmit&&(l+=" submit-"+this.submitPos,s=e("kup-button",{class:"kup-field__submit",label:this.submitLabel,"onkup-button-click":this.onSubmitInstance}));const u="top"===this.labelPos,r="left"===this.labelPos,b="right"===this.labelPos,p="top"===this.submitPos,c="left"===this.submitPos,m="right"===this.submitPos,f="bottom"===this.submitPos;let d;if((u||p)&&t.push(e("div",{class:"kup-field__top-container"},u&&i?i:null,p&&s?s:null)),r&&i&&t.push(i),c&&s&&t.push(s),void 0===this.type)this.kupManager.debug.logMessage(this,"Type (state) is undefined!",h.WARNING);else switch(this.type.toLowerCase()){case"cmb":d="kup-combobox",a.onKupComboboxChange=this.onChangeInstance;break;case"itx":d="kup-text-field",a.onkupTextFieldChange=this.onChangeInstance;break;case"rad":d="kup-radio",a.onkupRadioChange=this.onChangeInstance}return t.push(e(d,Object.assign({class:"kup-field__component"},a))),b&&i&&t.push(i),(m||f)&&s&&t.push(s),e(o,null,e("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),e("div",{id:n,class:l},t))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return l(this)}};r.style=":host{display:block;font-size:var(--kup-font-size)}label{color:var(--kup-text-color);font-family:var(--kup-font-family);font-size:1em}.kup-field__component{display:inline-block}.label-top.submit-top label{float:left;margin:auto auto 1em auto}.label-top.submit-top kup-button{float:right;margin:auto auto 1em auto}.label-right label{display:inline-block;margin:auto auto auto 1em}.submit-right kup-button{display:inline-block;margin:auto auto auto 1em}.label-left label{display:inline-block;margin:auto 1em auto auto}.submit-left kup-button{display:inline-block;margin:auto 1em auto auto}.submit-bottom kup-button{display:block;margin:1em auto auto auto}";export{r as kup_field}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,f as s,h as e,H as h,g as o}from"./p-34b74425.js";import{k as r,K as l,o as n}from"./p-aca0e54b.js";import{c as u}from"./p-97e8ea42.js";import{F as c}from"./p-44ec4f03.js";import{F as a}from"./p-a203f78b.js";import"./p-79b0730b.js";import"./p-81605f08.js";var p;!function(t){t.customStyle="Custom style of the component.",t.data="Props of the sub-components.",t.decimals="Defaults at false. When set to true, the component has decimals.",t.disabled="Defaults at false. When set to true, the component is disabled.",t.initialValue="Sets the initial value of the component",t.maxDecimals="when set, the component allows you to enter decimals with a maximum of characters.",t.maxIntegers="When set, the component allows you to enter integer numbers with a maximum of characters.",t.maxLength="When set, the component allows you to enter numbers with a maximum of characters, including decimals.",t.negative="Defaults at false. When set to true, the component has negative number."}(p||(p={}));const m=class{constructor(s){t(this,s),this.kupBlur=i(this,"kup-numericpicker-blur",6),this.kupChange=i(this,"kup-numericpicker-change",6),this.kupClick=i(this,"kup-numericpicker-click",6),this.kupFocus=i(this,"kup-numericpicker-focus",6),this.kupInput=i(this,"kup-numericpicker-input",6),this.kupIconClick=i(this,"kup-numericpicker-iconclick",6),this.kupItemClick=i(this,"kup-numericpicker-itemclick",6),this.kupTextFieldSubmit=i(this,"kup-numericpicker-textfieldsubmit",6),this.kupClearIconClick=i(this,"kup-numericpicker-cleariconclick",6),this.stateSwitcher=!1,this.value="",this.customStyle="",this.data=null,this.decimals=!1,this.disabled=!1,this.initialValue="",this.maxDecimals=null,this.maxIntegers=null,this.maxLength=null,this.negative=!1,this.kupManager=r(),this.textfieldEl=null,this.pickerContainerEl=null,this.pickerEl={value:(new Date).toISOString(),date:new Date},this.clickCb=null}onKupPickerItemClick(t){this.setPickerValueSelected(t),this.kupChange.emit({comp:this,id:this.rootElement.id,value:this.value}),this.kupItemClick.emit({comp:this,id:this.rootElement.id,value:this.value}),this.setFocus()}onKupClearIconClick(){this.setPickerValueSelected(""),this.kupChange.emit({comp:this,id:this.rootElement.id,value:this.value}),this.kupClearIconClick.emit({comp:this,id:this.rootElement.id})}onKupBlur(){this.kupBlur.emit({id:this.rootElement.id,value:this.value,comp:this})}onKupChange(t){this.refreshPickerValue(t.target.value,this.kupChange)}onKupClick(){this.kupClick.emit({comp:this,id:this.rootElement.id,value:this.value})}onKupFocus(){this.kupFocus.emit({comp:this,id:this.rootElement.id,value:this.value})}onKupInput(t){this.refreshPickerValue(t.target.value,this.kupInput,!0)}onkupTextFieldSubmit(t){"Enter"===t.key&&this.refreshPickerValue(t.target.value,this.kupTextFieldSubmit)}onKupIconClick(){this.isPickerOpened()?this.closePicker():this.openPicker(),this.kupIconClick.emit({comp:this,id:this.rootElement.id,value:this.value})}listenKeyup(t){this.isPickerOpened()&&("Escape"===t.key&&this.closePicker(),"Enter"===t.key&&this.setPickerValueSelected())}async getValue(){return this.value}async getProps(t){let i={};if(t)i=p;else for(const t in p)Object.prototype.hasOwnProperty.call(p,t)&&(i[t]=this[t]);return i}async refresh(){s(this)}async setFocus(){null!=this.textfieldEl&&this.textfieldEl.focus()}async setValue(t){this.value=t}refreshPickerValue(t,i,s){let e=this.kupManager.math.numberify(t,!0);if(e){let t=e.toString();const h=t.indexOf(".");let o=h>-1?t.substring(0,h):t,r=h>-1?t.substring(h+1):"";for(this.maxIntegers&&o.length>this.maxIntegers&&(o=o.substring(o.length-this.maxIntegers)),this.maxDecimals&&r.length>this.maxDecimals&&(r=r.substring(0,this.maxDecimals));this.maxLength&&o.length+r.length>this.maxLength;)r.length>1?r=r.substring(0,r.length-1):o.length>1&&(o=o.substring(1));t=h>-1?`${o}.${r}`:o,1!=s&&this.setValue(t),null!=i&&i.emit({id:this.rootElement.id,value:t})}}setPickerValueSelected(t){1!=this.disabled&&(null==t&&(t=this.getPickerValueSelected()),this.closePicker(),null!=t&&this.setValue(t))}getPickerValueSelected(){return this.pickerEl.value}getValueForPickerComponent(){return this.value}openPicker(){const t=this.textfieldEl;this.pickerContainerEl.menuVisible=!0;const i=this.pickerContainerEl.style;i.height="auto",i.minWidth=this.textfieldEl.parentElement.clientWidth+"px",null!=t&&t.classList.add("toggled"),this.kupManager.dynamicPosition.isRegistered(this.pickerContainerEl)?this.kupManager.dynamicPosition.changeAnchor(this.pickerContainerEl,this.textfieldEl.parentElement):this.kupManager.dynamicPosition.register(this.pickerContainerEl,this.textfieldEl.parentElement,0,l.AUTO,!0),this.kupManager.dynamicPosition.start(this.pickerContainerEl),this.clickCb||(this.clickCb={cb:()=>{this.closePicker()},el:this.pickerContainerEl}),this.kupManager.addClickCallback(this.clickCb,!0)}closePicker(){if(this.kupManager.removeClickCallback(this.clickCb),!this.isPickerOpened())return;let t=this.textfieldEl;null!=t&&t.classList.remove("toggled"),this.pickerContainerEl.menuVisible=!1,this.kupManager.dynamicPosition.stop(this.pickerContainerEl)}isPickerOpened(){return 1==this.pickerContainerEl.menuVisible}getTextFieldId(){return this.textfieldEl.id}prepTextfield(){this.decimals||this.maxIntegers||(this.maxIntegers=17),!this.decimals||this.maxIntegers||this.maxDecimals||(this.maxIntegers=15,this.maxDecimals=2);const t=this.rootElement.classList.contains("kup-full-height"),i=this.rootElement.classList.contains("kup-full-width"),s=Object.assign({},this.data["kup-text-field"]);return s.icon||(s.icon="calculator"),s.icon&&(s.trailingIcon=!0),e(c,Object.assign({},s,{disabled:this.disabled,fullHeight:t,fullWidth:i,id:this.rootElement.id+"_text-field",value:this.kupManager.math.numbers.toLocaleString(this.value),onBlur:()=>this.onKupBlur(),onChange:t=>this.onKupChange(t),onClearIconClick:()=>this.onKupClearIconClick(),onClick:()=>this.onKupClick(),onFocus:()=>this.onKupFocus(),onIconClick:()=>this.onKupIconClick(),onKeyDown:t=>this.onkupTextFieldSubmit(t),onInput:t=>this.onKupInput(t)}),this.prepPicker())}prepPicker(){return e("kup-card",{ref:t=>this.pickerContainerEl=t,data:{options:{decimals:this.decimals,initialValue:this.value,maxDecimals:this.maxDecimals,maxIntegers:this.maxIntegers,maxLength:this.maxLength,negative:this.negative,resetStatus:!0}},layoutFamily:n.BUILT_IN,layoutNumber:5,sizeX:"300px",sizeY:"auto",isMenu:!0,"onkup-card-click":t=>{null!=t.detail.value&&this.onKupPickerItemClick(t.detail.value)}})}componentWillLoad(){this.kupManager.dates.register(this),this.kupManager.debug.logLoad(this,!1),this.kupManager.theme.register(this),this.value=this.initialValue,this.data||(this.data={"kup-text-field":{}})}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1)}componentDidRender(){const t=this.rootElement.shadowRoot;if(t){const i=t.querySelector(".f-text-field");i&&(this.textfieldEl=i.querySelector("input"),a(i))}this.kupManager.debug.logRender(this,!0)}render(){return e(h,null,e("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),e("div",{id:u},this.prepTextfield()))}disconnectedCallback(){this.kupManager.dates.unregister(this),this.kupManager.theme.unregister(this),this.pickerContainerEl&&this.pickerContainerEl.remove()}get rootElement(){return o(this)}};m.style=":host{display:block;font-size:var(--kup-font-size)}.f-text-field{position:relative}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component{height:100%}:host(.kup-full-width){width:100%}:host(.kup-full-width) #kup-component{width:100%}:host(.kup-danger){--kup-textfield-primary-color:var(--kup-danger-color);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-textfield-primary-color:var(--kup-warning-color);--kup-textfield-primary-color-rgb:var(--kup-warning-color-rgb)}";export{m as kup_numeric_picker}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t,g as h}from"./p-
|
|
1
|
+
import{r as i,h as t,g as h}from"./p-34b74425.js";import{k as o}from"./p-aca0e54b.js";const e=class{constructor(t){i(this,t),this.appid="",this.app=!1,this.grid=[],this.debug=!1,this.fluid=!1,this.bordered=!1,this.defobjsize="400px",this.kupManager=o(),this.divlist=[]}getObjects(i){let t;return new Promise((h=>{i.rows.forEach((i=>{i.columns.forEach((i=>{t=!1,i.noSelections&&(t=i.noSelections),this.app.getObject(i.obj,i.obj,{noInteraction:!1,noSelections:t})}))})),h(!0)}))}doSelection(i){return new Promise((t=>{i.selections&&i.selections.forEach((i=>{this.app.field(i.field).selectValues(i.values,!1,!0)})),t(!0)}))}setRender(i){return new Promise((h=>{this.divlist=[],i.rows.forEach((i=>{let h=[];i.columns.forEach((i=>{let o="qvobject ";this.bordered&&(o+="bordered "),o=o+"width-"+i.colDim+" size-"+i.size,h.push(t("div",""!=i.obj?{id:i.obj,class:o}:{class:o}))})),this.divlist.push(t("div",{class:"kup-qlik-row"},h))})),h(!0)}))}componentWillLoad(){this.kupManager.debug.logLoad(this,!1)}componentDidLoad(){this.kupManager.debug.logLoad(this,!0)}componentWillRender(){this.kupManager.debug.logRender(this,!1),this.setRender(this.grid)}render(){let i=null,h=null;return i=this.fluid?{"kup-qlik-container-fluid":!0}:{"kup-qlik-container":!0},h={"--lyo_obj-height":this.defobjsize},t("div",{class:i,style:h},this.divlist)}componentDidRender(){this.debug&&console.log("Grid",this.grid),this.qlik&&(""==this.appid||this.app?this.debug&&console.log("App already open:",this.app):this.app=this.qlik.openApp(this.appid,this.config),this.app&&this.getObjects(this.grid).then((()=>{this.doSelection(this.grid)}))),this.kupManager.debug.logRender(this,!0)}get rootElement(){return h(this)}};e.style=".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%}";export{e as kup_qlik}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,f as s,h as i,H as e,g as h}from"./p-
|
|
1
|
+
import{r as t,f as s,h as i,H as e,g as h}from"./p-34b74425.js";import{k as o}from"./p-aca0e54b.js";import{c as l}from"./p-97e8ea42.js";const n=class{constructor(s){t(this,s),this.content=null,this.customStyle="",this.features={debug:!1,language:!1,longCycleProp:!1,longCycleVar:!1,objects:!1,objectsFunction:!1,theme:!1},this.kupManager=o(),this.startTime=performance.now(),this.featuresStartTime=null,this.endTime=null}async printLifecycleTime(){const t=this.endTime-this.featuresStartTime,s=this.endTime-this.startTime;return this.content="Full lifecycle of this probe ("+this.rootElement.tagName+"#"+this.rootElement.id+") took "+s+"ms, while features took "+t+"ms.",{id:this.rootElement.id,fullTime:s,featuresTime:t}}async refresh(){s(this)}longCycleProp(){}longCycleVar(){}longCycleObjects(){for(let t=0;t<1e6;t++)this.kupManager.objects.isNumber({t:"NR",p:"",k:""})}longCycleObjectsFunction(){}componentWillLoad(){this.featuresStartTime=performance.now(),this.features.debug&&this.kupManager.debug.logLoad(this,!1),this.features.language&&this.kupManager.language.register(this),this.features.longCycleProp&&this.longCycleProp(),this.features.longCycleVar&&this.longCycleVar(),this.features.objects&&this.longCycleObjects(),this.features.objectsFunction&&this.longCycleObjectsFunction(),this.features.theme&&this.kupManager.theme.register(this)}componentDidLoad(){this.features.debug&&this.kupManager.debug.logLoad(this,!0),this.endTime=performance.now()}componentWillRender(){this.features.debug&&this.kupManager.debug.logRender(this,!1)}componentDidRender(){this.features.debug&&this.kupManager.debug.logRender(this,!0)}render(){let t=null;return this.features.theme&&(t=this.kupManager.theme.setKupStyle(this.rootElement)),i(e,null,t?i("style",null,t):null,i("div",{id:l},this.content))}disconnectedCallback(){this.features.language&&this.kupManager.language.unregister(this),this.features.theme&&this.kupManager.theme.unregister(this)}get rootElement(){return h(this)}};export{n as kup_probe}
|
|
@@ -2,6 +2,7 @@ import { KupBadge } from '../kup-badge/kup-badge';
|
|
|
2
2
|
import { KupEventPayload } from '../../types/GenericTypes';
|
|
3
3
|
import { FCellShapes } from '../../f-components/f-cell/f-cell-declarations';
|
|
4
4
|
import { KupDataCell, KupDataColumn, KupDataRow, KupDataRowAction } from '../../managers/kup-data/kup-data-declarations';
|
|
5
|
+
import type { PointerEvent } from '@interactjs/types/index';
|
|
5
6
|
/**
|
|
6
7
|
* Props of the kup-box component.
|
|
7
8
|
* Used to export every prop in an object.
|
|
@@ -28,15 +29,11 @@ export declare enum KupBoxProps {
|
|
|
28
29
|
selectBox = "Automatically selects the box at the specified index.",
|
|
29
30
|
selectedRowsState = "Multiple selection.",
|
|
30
31
|
showSelection = "If enabled, highlights the selected box/boxes.",
|
|
31
|
-
showTooltipOnRightClick = "If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.",
|
|
32
32
|
sortBy = "If sorting is enabled, specifies which column to sort.",
|
|
33
33
|
sortEnabled = "Enable sorting.",
|
|
34
34
|
stateId = "",
|
|
35
35
|
store = "",
|
|
36
|
-
swipeDisabled = "Disable swipe."
|
|
37
|
-
tooltipDetailTimeout = "Defines the timeout for tooltip detail.",
|
|
38
|
-
tooltipEnabled = "Enable show tooltip.",
|
|
39
|
-
tooltipLoadTimeout = "Defines the timeout for tooltip load."
|
|
36
|
+
swipeDisabled = "Disable swipe."
|
|
40
37
|
}
|
|
41
38
|
export interface KupBoxData {
|
|
42
39
|
columns?: KupDataColumn[];
|
|
@@ -89,6 +86,7 @@ export interface KupBoxEventHandlerDetails {
|
|
|
89
86
|
boxObject: HTMLElement;
|
|
90
87
|
cell: KupDataCell;
|
|
91
88
|
column: KupDataColumn;
|
|
89
|
+
originalEvent: PointerEvent;
|
|
92
90
|
row: KupBoxRow;
|
|
93
91
|
}
|
|
94
92
|
export interface KupBoxClickEventPayload extends KupEventPayload {
|
|
@@ -132,11 +132,6 @@ export declare class KupBox {
|
|
|
132
132
|
* @default true
|
|
133
133
|
*/
|
|
134
134
|
showSelection: boolean;
|
|
135
|
-
/**
|
|
136
|
-
* If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.
|
|
137
|
-
* @default true
|
|
138
|
-
*/
|
|
139
|
-
showTooltipOnRightClick: boolean;
|
|
140
135
|
/**
|
|
141
136
|
* If sorting is enabled, specifies which column to sort
|
|
142
137
|
* @default undefined
|
|
@@ -154,21 +149,6 @@ export declare class KupBox {
|
|
|
154
149
|
* @default false
|
|
155
150
|
*/
|
|
156
151
|
swipeDisabled: boolean;
|
|
157
|
-
/**
|
|
158
|
-
* Defines the timeout for tooltip detail
|
|
159
|
-
* @default undefined
|
|
160
|
-
*/
|
|
161
|
-
tooltipDetailTimeout: number;
|
|
162
|
-
/**
|
|
163
|
-
* Enable show tooltip
|
|
164
|
-
* @default true
|
|
165
|
-
*/
|
|
166
|
-
tooltipEnabled: boolean;
|
|
167
|
-
/**
|
|
168
|
-
* Defines the timeout for tooltip load
|
|
169
|
-
* @default undefined
|
|
170
|
-
*/
|
|
171
|
-
tooltipLoadTimeout: number;
|
|
172
152
|
/**
|
|
173
153
|
* Instance of the KupManager class.
|
|
174
154
|
*/
|
|
@@ -177,7 +157,6 @@ export declare class KupBox {
|
|
|
177
157
|
private visibleColumns;
|
|
178
158
|
private rows;
|
|
179
159
|
private filteredRows;
|
|
180
|
-
private tooltip;
|
|
181
160
|
private globalFilterTimeout;
|
|
182
161
|
private boxContainer;
|
|
183
162
|
private sectionRef;
|
|
@@ -280,7 +259,6 @@ export declare class KupBox {
|
|
|
280
259
|
[index: string]: string;
|
|
281
260
|
};
|
|
282
261
|
};
|
|
283
|
-
renderTooltip(): any;
|
|
284
262
|
didLoadInteractables(): void;
|
|
285
263
|
didRenderInteractables(): void;
|
|
286
264
|
componentWillLoad(): void;
|
|
@@ -25,3 +25,10 @@ export declare function create3(component: KupCard): VNode;
|
|
|
25
25
|
* @returns {VNode} 4th built-in layout virtual node.
|
|
26
26
|
*/
|
|
27
27
|
export declare function create4(component: KupCard): VNode;
|
|
28
|
+
/**
|
|
29
|
+
* 5th built-in layout, numeric picker.
|
|
30
|
+
* This layout is rendered after the render cycle completes.
|
|
31
|
+
* @param {KupCard} component - Card component.
|
|
32
|
+
* @returns {VNode} 4th built-in layout virtual node.
|
|
33
|
+
*/
|
|
34
|
+
export declare function create5(component: KupCard): VNode;
|
|
@@ -102,6 +102,31 @@ export interface KupCardBuiltInClockData {
|
|
|
102
102
|
export interface KupCardBuiltInClock extends HTMLElement {
|
|
103
103
|
kupData: KupCardBuiltInClockData;
|
|
104
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* Options of the built-in numeric.
|
|
107
|
+
*/
|
|
108
|
+
export interface KupCardBuiltInNumericOptions {
|
|
109
|
+
decimals?: boolean;
|
|
110
|
+
initialValue?: string | KupObj;
|
|
111
|
+
maxDecimals?: number;
|
|
112
|
+
maxIntegers?: number;
|
|
113
|
+
maxLength?: number;
|
|
114
|
+
negative?: boolean;
|
|
115
|
+
resetStatus: boolean;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Data prop of the built-in numeric.
|
|
119
|
+
*/
|
|
120
|
+
export interface KupCardBuiltInNumericData {
|
|
121
|
+
localeValue?: string;
|
|
122
|
+
value: string;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Html element of the built-in numeric
|
|
126
|
+
*/
|
|
127
|
+
export interface KupCardBuiltInNumeric extends HTMLElement {
|
|
128
|
+
kupData: KupCardBuiltInNumericData;
|
|
129
|
+
}
|
|
105
130
|
/**
|
|
106
131
|
* Data prop of the kup-card component.
|
|
107
132
|
*/
|
|
@@ -119,7 +144,7 @@ export interface KupCardData {
|
|
|
119
144
|
image?: GenericObject[];
|
|
120
145
|
list?: GenericObject[];
|
|
121
146
|
object?: KupObj[];
|
|
122
|
-
options?: KupCardBuiltInCalendarOptions | KupCardBuiltInClockOptions | KupCardColumnDropMenuOptions | KupCardColorPickerOptions;
|
|
147
|
+
options?: KupCardBuiltInCalendarOptions | KupCardBuiltInClockOptions | KupCardColumnDropMenuOptions | KupCardColorPickerOptions | KupCardBuiltInNumericOptions;
|
|
123
148
|
progressbar?: GenericObject[];
|
|
124
149
|
switch?: GenericObject[];
|
|
125
150
|
tabbar?: GenericObject[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GenericObject, KupEventPayload } from '../../types/GenericTypes';
|
|
2
2
|
import { KupObj } from '../../managers/kup-objects/kup-objects-declarations';
|
|
3
|
+
import type { PointerEvent } from '@interactjs/types/index';
|
|
3
4
|
import { KupCardEventPayload } from '../kup-card/kup-card-declarations';
|
|
4
5
|
import { KupDataCell, KupDataColumn, KupDataRow, KupDataRowAction } from '../../managers/kup-data/kup-data-declarations';
|
|
5
6
|
/**
|
|
@@ -50,7 +51,6 @@ export declare enum KupDataTableProps {
|
|
|
50
51
|
showGroups = "When set to true enables the column grouping.",
|
|
51
52
|
showHeader = "Enables rendering of the table header.",
|
|
52
53
|
showLoadMore = "If set to true, displays the button to load more records.",
|
|
53
|
-
showTooltipOnRightClick = "If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.",
|
|
54
54
|
sort = "Defines the current sorting options.",
|
|
55
55
|
stateId = "",
|
|
56
56
|
store = "",
|
|
@@ -58,9 +58,8 @@ export declare enum KupDataTableProps {
|
|
|
58
58
|
sortEnabled = "When set to true enables the sorting of the columns by clicking on the column header.",
|
|
59
59
|
tableHeight = "Sets the height of the table.",
|
|
60
60
|
tableWidth = "Sets the width of the table.",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
totals = "Defines the current totals options."
|
|
61
|
+
totals = "Defines the current totals options.",
|
|
62
|
+
transpose = "Transposes the data of the data table."
|
|
64
63
|
}
|
|
65
64
|
export interface KupDataTableDataset {
|
|
66
65
|
columns?: KupDataColumn[];
|
|
@@ -182,6 +181,7 @@ export interface KupDatatableEventHandlerDetails {
|
|
|
182
181
|
column: KupDataColumn;
|
|
183
182
|
filterRemove: HTMLElement;
|
|
184
183
|
isGroupRow: boolean;
|
|
184
|
+
originalEvent: PointerEvent;
|
|
185
185
|
row: KupDataRow;
|
|
186
186
|
td: HTMLElement;
|
|
187
187
|
textfield: HTMLElement;
|
|
@@ -207,10 +207,6 @@ export declare class KupDataTable {
|
|
|
207
207
|
* If set to true, displays the button to load more records.
|
|
208
208
|
*/
|
|
209
209
|
showLoadMore: boolean;
|
|
210
|
-
/**
|
|
211
|
-
* If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.
|
|
212
|
-
*/
|
|
213
|
-
showTooltipOnRightClick: boolean;
|
|
214
210
|
/**
|
|
215
211
|
* Defines the current sorting options.
|
|
216
212
|
*/
|
|
@@ -232,18 +228,6 @@ export declare class KupDataTable {
|
|
|
232
228
|
* Sets the width of the table.
|
|
233
229
|
*/
|
|
234
230
|
tableWidth: string;
|
|
235
|
-
/**
|
|
236
|
-
* Defines the timeout for tooltip detail
|
|
237
|
-
*/
|
|
238
|
-
tooltipDetailTimeout: number;
|
|
239
|
-
/**
|
|
240
|
-
* Enable show tooltip
|
|
241
|
-
*/
|
|
242
|
-
tooltipEnabled: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Defines the timeout for tooltip load
|
|
245
|
-
*/
|
|
246
|
-
tooltipLoadTimeout: number;
|
|
247
231
|
/**
|
|
248
232
|
* Defines the current totals options
|
|
249
233
|
*/
|
|
@@ -273,6 +257,7 @@ export declare class KupDataTable {
|
|
|
273
257
|
recalculateRowsAndUndoSelections(): void;
|
|
274
258
|
controlFixedRowsColumns(): void;
|
|
275
259
|
recalculateData(): void;
|
|
260
|
+
private initialized;
|
|
276
261
|
private rows;
|
|
277
262
|
private rowsLength;
|
|
278
263
|
private paginatedRows;
|
|
@@ -291,7 +276,6 @@ export declare class KupDataTable {
|
|
|
291
276
|
*/
|
|
292
277
|
private theadRef;
|
|
293
278
|
private tableRef;
|
|
294
|
-
private tooltip;
|
|
295
279
|
/**
|
|
296
280
|
* contains the original data, used in transposed function
|
|
297
281
|
* @private
|
|
@@ -403,6 +387,10 @@ export declare class KupDataTable {
|
|
|
403
387
|
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
404
388
|
*/
|
|
405
389
|
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
390
|
+
/**
|
|
391
|
+
* This method will get the selected rows of the component.
|
|
392
|
+
*/
|
|
393
|
+
getSelectedRows(): Promise<Array<KupDataTableRow>>;
|
|
406
394
|
/**
|
|
407
395
|
* Hides the given column.
|
|
408
396
|
* @param {KupDataColumn} column - Column to hide.
|
|
@@ -526,7 +514,6 @@ export declare class KupDataTable {
|
|
|
526
514
|
private onSelectAll;
|
|
527
515
|
private openTotalMenu;
|
|
528
516
|
private closeTotalMenu;
|
|
529
|
-
private closeMenuAndTooltip;
|
|
530
517
|
private isOpenedTotalMenuForColumn;
|
|
531
518
|
private groupRows;
|
|
532
519
|
getInternalState(): Promise<{
|
|
@@ -561,7 +548,6 @@ export declare class KupDataTable {
|
|
|
561
548
|
private composeHeaderCellClassAndStyle;
|
|
562
549
|
private renderHeader;
|
|
563
550
|
private renderStickyHeader;
|
|
564
|
-
renderTooltip(): any;
|
|
565
551
|
areTotalsSelected(column: KupDataColumn): boolean;
|
|
566
552
|
onTotalsChange(event: any, column: any): void;
|
|
567
553
|
private totalMenuPosition;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { KupEventPayload } from '../../types/GenericTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Props of the kup-form-editor component.
|
|
4
|
+
* Used to export every prop in an object.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum KupFormEditorProps {
|
|
7
|
+
customStyle = "Custom style of the component.",
|
|
8
|
+
data = "The data of the component."
|
|
9
|
+
}
|
|
10
|
+
export interface KupFormEditorEventPayload extends KupEventPayload {
|
|
11
|
+
data: KupForm;
|
|
12
|
+
}
|
|
13
|
+
export declare enum KupFormEditorDragTypes {
|
|
14
|
+
Components = "1",
|
|
15
|
+
Sections = "2"
|
|
16
|
+
}
|
|
17
|
+
export declare enum KupFormEditorLabels {
|
|
18
|
+
Loaded = "Loaded",
|
|
19
|
+
Reset = "Reset",
|
|
20
|
+
Save = "Save",
|
|
21
|
+
Components = "Components",
|
|
22
|
+
Sections = "Sections",
|
|
23
|
+
Column = "Column"
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Extend html element properties for Form Editor
|
|
27
|
+
*/
|
|
28
|
+
export interface KupFormEditorElement extends HTMLDivElement {
|
|
29
|
+
kupData: KupFormEditorData;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Additional kupData for html element.
|
|
33
|
+
*/
|
|
34
|
+
export interface KupFormEditorData {
|
|
35
|
+
parent?: KupForm | KupSection;
|
|
36
|
+
form?: KupForm;
|
|
37
|
+
section?: KupSection;
|
|
38
|
+
componnent?: KupComponent;
|
|
39
|
+
}
|
|
40
|
+
export interface KupVariableEntity {
|
|
41
|
+
name: string;
|
|
42
|
+
type?: string;
|
|
43
|
+
value: string;
|
|
44
|
+
}
|
|
45
|
+
export interface KupDynamismEntity {
|
|
46
|
+
event: string;
|
|
47
|
+
exec?: string;
|
|
48
|
+
targets?: string[];
|
|
49
|
+
variables?: KupVariableEntity[];
|
|
50
|
+
}
|
|
51
|
+
export interface KupEntity {
|
|
52
|
+
id: string;
|
|
53
|
+
loaded: boolean;
|
|
54
|
+
}
|
|
55
|
+
export interface KupComponentEntity extends KupEntity {
|
|
56
|
+
fun: string;
|
|
57
|
+
evaluatedFun?: string;
|
|
58
|
+
title: string;
|
|
59
|
+
type: string;
|
|
60
|
+
variables?: KupVariableEntity[];
|
|
61
|
+
timer?: ReturnType<typeof setTimeout>;
|
|
62
|
+
}
|
|
63
|
+
export interface KupForm extends KupComponentEntity {
|
|
64
|
+
layout: string;
|
|
65
|
+
sections: KupSection[];
|
|
66
|
+
}
|
|
67
|
+
export interface KupWidget extends KupComponentEntity {
|
|
68
|
+
config?: any;
|
|
69
|
+
data?: any;
|
|
70
|
+
dynamisms?: KupDynamismEntity[];
|
|
71
|
+
options?: any;
|
|
72
|
+
}
|
|
73
|
+
export declare type KupComponent = KupForm | KupWidget;
|
|
74
|
+
export interface KupSection extends KupEntity {
|
|
75
|
+
components?: KupComponent[];
|
|
76
|
+
dim?: string;
|
|
77
|
+
layout?: string;
|
|
78
|
+
sections?: KupSection[];
|
|
79
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { GenericObject } from '../../types/GenericTypes';
|
|
3
|
+
import { KupForm, KupFormEditorElement, KupFormEditorEventPayload, KupSection } from './kup-form-editor-declarations';
|
|
4
|
+
export declare class KupFormEditor {
|
|
5
|
+
/**
|
|
6
|
+
* References the root HTML element of the component (<kup-text-field>).
|
|
7
|
+
*/
|
|
8
|
+
rootElement: HTMLElement;
|
|
9
|
+
/**
|
|
10
|
+
* Force render component by internal event.
|
|
11
|
+
*/
|
|
12
|
+
resetInternalData: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Custom style of the component.
|
|
15
|
+
* @default ""
|
|
16
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
17
|
+
*/
|
|
18
|
+
customStyle: string;
|
|
19
|
+
/**
|
|
20
|
+
* The data of the component.
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
data: KupForm;
|
|
24
|
+
/**
|
|
25
|
+
* Instance of the KupManager class.
|
|
26
|
+
*/
|
|
27
|
+
private kupManager;
|
|
28
|
+
/**
|
|
29
|
+
* Draggable type of Form (Components or Sections).
|
|
30
|
+
*/
|
|
31
|
+
private dragType;
|
|
32
|
+
/**
|
|
33
|
+
* Internal data of the component.
|
|
34
|
+
*/
|
|
35
|
+
private internalData;
|
|
36
|
+
/**
|
|
37
|
+
* Internal data backup of the component for refresh when changed content by drag&drop.
|
|
38
|
+
*/
|
|
39
|
+
private internalDataBackup;
|
|
40
|
+
kupSave: EventEmitter<KupFormEditorEventPayload>;
|
|
41
|
+
onKupSave(): void;
|
|
42
|
+
dataChanged(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Used to retrieve component's props values.
|
|
45
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
46
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
47
|
+
*/
|
|
48
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
49
|
+
/**
|
|
50
|
+
* This method is used to trigger a new render of the component.
|
|
51
|
+
*/
|
|
52
|
+
refresh(): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Sets the props to the component.
|
|
55
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
56
|
+
*/
|
|
57
|
+
setProps(props: GenericObject): Promise<void>;
|
|
58
|
+
buildHeader(): any;
|
|
59
|
+
buildForm(form: KupForm, parent: KupForm | KupSection): any;
|
|
60
|
+
buildSectionHeader(section: KupSection, parent: KupForm | KupSection): any;
|
|
61
|
+
buildSection(section: KupSection, parent: KupForm | KupSection): any;
|
|
62
|
+
didRenderInteractables(): void;
|
|
63
|
+
dropped(parent: KupFormEditorElement, child: KupFormEditorElement): void;
|
|
64
|
+
resetData(form?: KupForm): void;
|
|
65
|
+
unregisterInteractables(): void;
|
|
66
|
+
componentWillLoad(): void;
|
|
67
|
+
componentDidLoad(): void;
|
|
68
|
+
componentWillRender(): void;
|
|
69
|
+
componentDidRender(): void;
|
|
70
|
+
render(): any;
|
|
71
|
+
disconnectedCallback(): void;
|
|
72
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { KupDataNode } from '../../managers/kup-data/kup-data-declarations';
|
|
2
|
+
import { KupEventPayload } from '../../types/GenericTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Props of the kup-image-list component.
|
|
5
|
+
* Used to export every prop in an object.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum KupImageListProps {
|
|
8
|
+
customStyle = "Custom style of the component.",
|
|
9
|
+
data = "Actual data of the component",
|
|
10
|
+
ripple = "When enabled displays Material's ripple effect on clicked items."
|
|
11
|
+
}
|
|
12
|
+
export interface KupImageListEventPayload extends KupEventPayload {
|
|
13
|
+
node: KupDataNode;
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { GenericObject } from '../../types/GenericTypes';
|
|
3
|
+
import { KupImageListEventPayload } from './kup-image-list-declarations';
|
|
4
|
+
import { KupDataNode } from '../../managers/kup-data/kup-data-declarations';
|
|
5
|
+
export declare class KupImageList {
|
|
6
|
+
#private;
|
|
7
|
+
/**
|
|
8
|
+
* References the root HTML element of the component (<kup-image-list>).
|
|
9
|
+
*/
|
|
10
|
+
rootElement: HTMLElement;
|
|
11
|
+
currentNode: KupDataNode;
|
|
12
|
+
navigationBarToggled: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Custom style of the component.
|
|
15
|
+
* @default ""
|
|
16
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
17
|
+
*/
|
|
18
|
+
customStyle: string;
|
|
19
|
+
/**
|
|
20
|
+
* Actual data of the component.
|
|
21
|
+
* @default []
|
|
22
|
+
*/
|
|
23
|
+
data: KupDataNode[];
|
|
24
|
+
/**
|
|
25
|
+
* When enabled displays Material's ripple effect on clicked items.
|
|
26
|
+
* @default true
|
|
27
|
+
*/
|
|
28
|
+
ripple: boolean;
|
|
29
|
+
kupClick: EventEmitter<KupImageListEventPayload>;
|
|
30
|
+
onKupClick(node: KupDataNode): void;
|
|
31
|
+
kupContextMenu: EventEmitter<KupImageListEventPayload>;
|
|
32
|
+
onKupContextMenu(e: MouseEvent, node: KupDataNode): void;
|
|
33
|
+
kupDblClick: EventEmitter<KupImageListEventPayload>;
|
|
34
|
+
onKupDblClick(node: KupDataNode): void;
|
|
35
|
+
/**
|
|
36
|
+
* Used to retrieve component's props values.
|
|
37
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
38
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
39
|
+
*/
|
|
40
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
41
|
+
/**
|
|
42
|
+
* This method is used to trigger a new render of the component.
|
|
43
|
+
*/
|
|
44
|
+
refresh(): Promise<void>;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the props to the component.
|
|
47
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
48
|
+
*/
|
|
49
|
+
setProps(props: GenericObject): Promise<void>;
|
|
50
|
+
componentWillLoad(): void;
|
|
51
|
+
componentDidLoad(): void;
|
|
52
|
+
componentWillRender(): void;
|
|
53
|
+
componentDidRender(): void;
|
|
54
|
+
render(): any;
|
|
55
|
+
disconnectedCallback(): void;
|
|
56
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KupEventPayload } from '../../types/GenericTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Props of the kup-numeric-picker component.
|
|
4
|
+
* Used to export every prop in an object.
|
|
5
|
+
*/
|
|
6
|
+
export declare enum KupNumericPickerProps {
|
|
7
|
+
customStyle = "Custom style of the component.",
|
|
8
|
+
data = "Props of the sub-components.",
|
|
9
|
+
decimals = "Defaults at false. When set to true, the component has decimals.",
|
|
10
|
+
disabled = "Defaults at false. When set to true, the component is disabled.",
|
|
11
|
+
initialValue = "Sets the initial value of the component",
|
|
12
|
+
maxDecimals = "when set, the component allows you to enter decimals with a maximum of characters.",
|
|
13
|
+
maxIntegers = "When set, the component allows you to enter integer numbers with a maximum of characters.",
|
|
14
|
+
maxLength = "When set, the component allows you to enter numbers with a maximum of characters, including decimals.",
|
|
15
|
+
negative = "Defaults at false. When set to true, the component has negative number."
|
|
16
|
+
}
|
|
17
|
+
export interface KupNumericPickerEventPayload extends KupEventPayload {
|
|
18
|
+
value: string;
|
|
19
|
+
}
|