@sme.up/ketchup 8.3.3 → 9.0.0
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/{component-24811409.js → component-cb3b32f5.js} +7 -2
- package/dist/cjs/{f-button-7687085a.js → f-button-b2cfce1c.js} +2 -2
- package/dist/cjs/{f-cell-37ef6f00.js → f-cell-75fca92b.js} +24 -17
- package/dist/cjs/{f-checkbox-758d1d34.js → f-checkbox-48d7af02.js} +1 -1
- package/dist/cjs/{f-chip-cf59bdb3.js → f-chip-3e504f3e.js} +3 -3
- package/dist/cjs/{f-image-1245b0cf.js → f-image-270d39ae.js} +2 -2
- package/dist/cjs/{f-paginator-utils-b1af2a8f.js → f-paginator-utils-6d0c4678.js} +3 -3
- package/dist/cjs/{f-text-field-9c745112.js → f-text-field-bbcd2143.js} +2 -2
- package/dist/cjs/{f-text-field-mdc-b1fa6fd6.js → f-text-field-mdc-4fda9705.js} +1 -1
- package/dist/cjs/{index-eac07680.js → index-c3d10561.js} +86 -8
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +148 -153
- package/dist/cjs/kup-box.cjs.entry.js +11 -11
- package/dist/cjs/kup-calendar.cjs.entry.js +6 -6
- package/dist/cjs/kup-card-list.cjs.entry.js +244 -0
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +8 -8
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +4579 -4431
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-grid.cjs.entry.js +109 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +9 -9
- 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-38caaef3.js → kup-manager-130bbd9d.js} +7 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.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 +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/card-list.js +709 -0
- package/dist/collection/assets/data-table-performance.js +6 -0
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/assets/image-list.js +2 -12
- package/dist/collection/assets/index.js +4 -4
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +1 -1
- package/dist/collection/components/kup-card/kup-card.css +20 -7
- package/dist/collection/components/kup-card/kup-card.js +25 -22
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +45 -54
- package/dist/collection/components/kup-card-list/kup-card-list-declarations.js +13 -0
- package/dist/collection/components/kup-card-list/kup-card-list.css +34 -0
- package/dist/collection/components/kup-card-list/kup-card-list.js +481 -0
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart.js +0 -2
- package/dist/collection/components/kup-grid/kup-grid.css +10 -0
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
- package/dist/collection/f-components/f-cell/f-cell.js +19 -12
- package/dist/collection/managers/kup-math/kup-math.js +1 -1
- package/dist/collection/types/GenericTypes.js +1 -2
- package/dist/components/kup-autocomplete2.js +392 -385
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/{kup-dash-list.d.ts → kup-card-list.d.ts} +4 -4
- package/dist/components/kup-card-list.js +408 -0
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- 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 +4578 -4430
- 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-grid2.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/esm/{component-cc25b031.js → component-879e99bf.js} +7 -2
- package/dist/esm/{f-button-e54ce8d5.js → f-button-baa419dc.js} +2 -2
- package/dist/esm/{f-cell-4149a05d.js → f-cell-18ee3afa.js} +24 -17
- package/dist/esm/{f-checkbox-7b113dd8.js → f-checkbox-00a1e020.js} +1 -1
- package/dist/esm/{f-chip-c3c86f7b.js → f-chip-311500f4.js} +3 -3
- package/dist/esm/{f-image-adceee49.js → f-image-da03494c.js} +2 -2
- package/dist/esm/{f-paginator-utils-e559dac8.js → f-paginator-utils-d63a195e.js} +3 -3
- package/dist/esm/{f-text-field-aa4497a8.js → f-text-field-e5f1f1fd.js} +2 -2
- package/dist/esm/{f-text-field-mdc-32a1ffd9.js → f-text-field-mdc-1143cf21.js} +1 -1
- package/dist/esm/{index-d413187a.js → index-3336c3b1.js} +86 -8
- package/dist/esm/ketchup.js +4 -4
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-autocomplete_27.entry.js +148 -153
- package/dist/esm/kup-box.entry.js +11 -11
- package/dist/esm/kup-calendar.entry.js +6 -6
- package/dist/esm/kup-card-list.entry.js +240 -0
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +8 -8
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +4579 -4431
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-grid.entry.js +105 -0
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +9 -9
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-a4153fb2.js → kup-manager-c8d5c94d.js} +7 -7
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +5 -5
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner.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 +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-d680bdde.js → p-008ad26c.js} +1 -1
- package/dist/ketchup/{p-c0878519.entry.js → p-07707cd1.entry.js} +1 -1
- package/dist/ketchup/p-0c19d485.entry.js +9 -0
- package/dist/ketchup/{p-44b5c573.entry.js → p-13eac183.entry.js} +1 -1
- package/dist/ketchup/{p-e76b646c.js → p-25de68e5.js} +1 -1
- package/dist/ketchup/{p-c39ddeae.entry.js → p-2a2a18bf.entry.js} +1 -1
- package/dist/ketchup/{p-3bbcae45.entry.js → p-2d192def.entry.js} +1 -1
- package/dist/ketchup/p-2d42477d.js +2 -0
- package/dist/ketchup/{p-b623c774.entry.js → p-2dab9c4f.entry.js} +1 -1
- package/dist/ketchup/{p-2f0798d3.js → p-39602629.js} +1 -1
- package/dist/ketchup/{p-7360a410.js → p-4597f25d.js} +1 -1
- package/dist/ketchup/{p-e917200c.entry.js → p-51aa248f.entry.js} +1 -1
- package/dist/ketchup/{p-b415fe84.entry.js → p-55fd3f46.entry.js} +1 -1
- package/dist/ketchup/p-5c15661d.entry.js +1 -0
- package/dist/ketchup/{p-283ca113.entry.js → p-5cfaa673.entry.js} +1 -1
- package/dist/ketchup/{p-b8fcbcc9.entry.js → p-5f583257.entry.js} +1 -1
- package/dist/ketchup/{p-698442ed.js → p-7555c10d.js} +1 -1
- package/dist/ketchup/{p-3d671241.entry.js → p-76130e83.entry.js} +1 -1
- package/dist/ketchup/{p-3081ed82.entry.js → p-7bf649f0.entry.js} +1 -1
- package/dist/ketchup/{p-23d54fb2.entry.js → p-7e1c8fc0.entry.js} +1 -1
- package/dist/ketchup/p-80699a95.js +1 -0
- package/dist/ketchup/{p-3c44e838.entry.js → p-81debebe.entry.js} +1 -1
- package/dist/ketchup/{p-47752f3b.js → p-8281c9e5.js} +1 -1
- package/dist/ketchup/{p-2739b7ac.entry.js → p-a0f59b05.entry.js} +1 -1
- package/dist/ketchup/{p-eec864dd.entry.js → p-a8a39b08.entry.js} +1 -1
- package/dist/ketchup/{p-0848391f.entry.js → p-bb854cf5.entry.js} +1 -1
- package/dist/ketchup/{p-6d9ffb32.js → p-cd2af1a6.js} +1 -1
- package/dist/ketchup/{p-124f3f42.js → p-d4a879fc.js} +1 -1
- package/dist/ketchup/{p-f3c8c1da.entry.js → p-d6a7498b.entry.js} +1 -1
- package/dist/ketchup/p-d8384990.entry.js +1 -0
- package/dist/ketchup/p-da58f8ab.entry.js +39 -0
- package/dist/ketchup/p-ecb9fe91.entry.js +1 -0
- package/dist/ketchup/{p-d817be2a.js → p-f729449f.js} +1 -1
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +1 -1
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +1 -1
- package/dist/types/components/kup-card/kup-card.d.ts +3 -3
- package/dist/types/components/kup-card-list/kup-card-list-declarations.d.ts +35 -0
- package/dist/types/components/kup-card-list/kup-card-list.d.ts +62 -0
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components.d.ts +97 -92
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +1 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +11 -1
- package/dist/types/types/GenericTypes.d.ts +1 -2
- package/package.json +5 -2
- package/dist/cjs/kup-dash-list.cjs.entry.js +0 -116
- package/dist/cjs/kup-dash_2.cjs.entry.js +0 -179
- package/dist/collection/assets/dash-list.js +0 -474
- package/dist/collection/components/kup-dash/kup-dash.css +0 -136
- package/dist/collection/components/kup-dash/kup-dash.js +0 -171
- package/dist/collection/components/kup-dash-list/kup-dash-list.css +0 -10
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +0 -331
- package/dist/components/kup-dash-list.js +0 -288
- package/dist/components/kup-dash.d.ts +0 -11
- package/dist/components/kup-dash.js +0 -6
- package/dist/components/kup-dash2.js +0 -228
- package/dist/esm/kup-dash-list.entry.js +0 -112
- package/dist/esm/kup-dash_2.entry.js +0 -174
- package/dist/ketchup/p-25d45dc9.entry.js +0 -1
- package/dist/ketchup/p-384137d7.entry.js +0 -39
- package/dist/ketchup/p-3972b97c.entry.js +0 -1
- package/dist/ketchup/p-5ce0e645.entry.js +0 -1
- package/dist/ketchup/p-be864593.entry.js +0 -9
- package/dist/ketchup/p-f79d544a.js +0 -1
- package/dist/ketchup/p-fd75d5bf.js +0 -2
- package/dist/types/components/kup-dash/kup-dash.d.ts +0 -33
- package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +0 -22
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,f as n,h as l,H as a,g as t}from"./p-2d42477d.js";import{k as e,g as r,s as d,c as s}from"./p-25de68e5.js";import{c as o}from"./p-635bb4b3.js";var p;!function(i){i.columns="The number of columns displayed by the grid, the default behavior is 12.",i.customStyle="Custom style of the component. For more information: https://ketchup.smeup.com/ketchup-showcase/#/customization",i.singleLine="When set to true, forces the content on a single line."}(p||(p={}));const u=class{constructor(n){i(this,n),this.kupManager=e(),this.columns=12,this.customStyle="",this.singleLine=!1}async getProps(i){return r(this,p,i)}async refresh(){n(this)}async setProps(i){d(this,p,i)}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(){const i=this.rootElement.children;if(!i||0===i.length)return void this.kupManager.debug.logMessage(this,"Missing slots, not rendering!",s.WARNING);const n=[];for(let a=0;a<i.length;a++){let t=null;if(this.singleLine)t=l("slot",{name:`${a}`});else{const n=i[a].span||i[a].getAttribute("span")||1;t=l("div",{class:`layout-grid__cell layout-grid__cell--span-${n}`},l("slot",{name:`${a}`}))}n.push(t)}const t={};return this.columns&&12!==this.columns&&(t["--kup_grid_columns"]=this.columns),l(a,{style:t},l("style",null,this.kupManager.theme.setKupStyle(this.rootElement)),l("div",{id:o},l("div",{class:this.singleLine?"flex-layout":"layout-grid"},l("div",{class:this.singleLine?"flex-layout__inner":"layout-grid__inner"},n))))}disconnectedCallback(){this.kupManager.theme.unregister(this)}get rootElement(){return t(this)}};u.style=":host{--kup_grid_font_size:var(--kup-grid-font-size, var(--kup-font-size));--kup_grid_gap:var(--kup-grid-gap, 24px);--kup_grid_gap_mobile:var(--kup-grid-gap-mobile, 16px);--kup_grid_padding:var(--kup-grid-padding, 24px);display:block;font-size:var(--kup_grid_font_size);height:100%;width:100%}#kup-component{height:100%;width:100%}.layout-grid{box-sizing:border-box;margin:0px auto;padding:var(--kup_grid_padding)}.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap);grid-template-columns:repeat(var(--kup_grid_columns, 12), minmax(0px, 1fr))}.layout-grid .layout-grid__inner .layout-grid__cell{box-sizing:border-box;display:flex;justify-content:center;margin:0px;width:auto}.layout-grid__cell--span-1{grid-column-end:span 1}.layout-grid__cell--span-2{grid-column-end:span 2}.layout-grid__cell--span-3{grid-column-end:span 3}.layout-grid__cell--span-4{grid-column-end:span 4}.layout-grid__cell--span-5{grid-column-end:span 5}.layout-grid__cell--span-6{grid-column-end:span 6}.layout-grid__cell--span-7{grid-column-end:span 7}.layout-grid__cell--span-8{grid-column-end:span 8}.layout-grid__cell--span-9{grid-column-end:span 9}.layout-grid__cell--span-10{grid-column-end:span 10}.layout-grid__cell--span-11{grid-column-end:span 11}.layout-grid__cell--span-12{grid-column-end:span 12}.layout-grid__cell--span-13{grid-column-end:span 13}.layout-grid__cell--span-14{grid-column-end:span 14}.layout-grid__cell--span-15{grid-column-end:span 15}.layout-grid__cell--span-16{grid-column-end:span 16}.layout-grid__cell--span-17{grid-column-end:span 17}.layout-grid__cell--span-18{grid-column-end:span 18}.layout-grid__cell--span-19{grid-column-end:span 19}.layout-grid__cell--span-20{grid-column-end:span 20}.layout-grid__cell--span-21{grid-column-end:span 21}.layout-grid__cell--span-22{grid-column-end:span 22}.layout-grid__cell--span-23{grid-column-end:span 23}.layout-grid__cell--span-24{grid-column-end:span 24}.flex-layout,.flex-layout__inner{height:100%;align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap}.flex-layout__inner{width:auto}.flex-layout__inner *{display:block;margin:0 1.5em}.flex-layout__inner .flex-layout__cell{display:flex}.flex-layout__inner .flex-layout__cell *{justify-content:center;margin:auto}@media (min-width: 600px) and (max-width: 839px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 8), minmax(0px, 1fr))}}@media (max-width: 599px){.layout-grid .layout-grid__inner{display:grid;margin:0px;grid-gap:var(--kup_grid_gap_mobile);grid-template-columns:repeat(var(--kup_grid_columns, 4), minmax(0px, 1fr))}}:host(.kup-full-width) .flex-layout__inner{width:100%}:host(.kup-full-width) .flex-layout__inner *{margin:auto}:host(.kup-full-width.scalable-cards) .flex-layout__inner{width:100%}:host(.kup-full-width.scalable-cards) .flex-layout__inner *{margin:0;height:100%;width:100%}";export{u as kup_grid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,a as e}from"./p-
|
|
1
|
+
import{h as t,a as e}from"./p-2d42477d.js";import{b as s}from"./p-25de68e5.js";var i;!function(t){t.BAR="bar"}(i||(i={}));const a=a=>{let n,o;a.resource?a.resource.indexOf(".")>-1||a.resource.indexOf("/")>-1||a.resource.indexOf("\\")>-1?(o={"--kup_image_height":a.sizeY?a.sizeY:"auto","--kup_image_width":a.sizeX?a.sizeX:"100%"},n=function(e){return t("img",{onLoad:e.onLoad,src:e.resource})}(a)):(o={"--kup_image_height":a.sizeY?a.sizeY:"100%","--kup_image_width":a.sizeX?a.sizeX:"100%"},n=function(i){const a={"f-image__icon":!0},n={background:i.color?i.color:`var(${s.ICON})`};if(i.resource.indexOf("--kup")>-1){let t=i.resource.replace("--","");a["kup-icon"]=!0,a[t]=!0}else{const t=e(`./assets/svg/${i.resource}.svg`);n.mask=`url('${t}') no-repeat center`,n.webkitMask=`url('${t}') no-repeat center`}return t("div",{class:a,style:n})}(a)):a.data&&(o={"--kup_image_height":a.sizeY?a.sizeY:"100%","--kup_image_width":a.sizeX?a.sizeX:"100%"},n=function(e){const s=[];let a=0;for(let n=0;n<e.length;n++){let o;e[n].shape||(e[n].shape=i.BAR),e[n].color||(e[n].color="transparent"),e[n].height||(e[n].height="100%"),e[n].width||(e[n].width="100%");const r="step-"+n,c="css-step bottom-aligned",l={backgroundColor:e[n].color,left:a+"%",height:e[n].height,width:e[n].width};a+=parseFloat(e[n].width),o=t("span",{id:r,class:c,style:l}),s.push(o)}return t("div",{class:"f-image__css"},s)}(a.data));const r=[];if(a.badgeData)for(let e=0;e<a.badgeData.length;e++)r.push(t("kup-badge",Object.assign({},a.badgeData[e])));return t("div",Object.assign({class:`f-image ${a.wrapperClass?a.wrapperClass:""} ${a.fit?"kup-fit":""}`},a.dataSet,{id:a.id,style:o,title:a.title,onClick:a.onClick}),n,...r)};export{a as F}
|
|
@@ -3,7 +3,7 @@ import { GenericObject } from '../../types/GenericTypes';
|
|
|
3
3
|
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from './kup-calendar-declarations';
|
|
4
4
|
export declare class KupCalendar {
|
|
5
5
|
/**
|
|
6
|
-
* References the root HTML element of the component (<kup-
|
|
6
|
+
* References the root HTML element of the component (<kup-calendar>).
|
|
7
7
|
*/
|
|
8
8
|
rootElement: HTMLElement;
|
|
9
9
|
/**
|
|
@@ -144,12 +144,12 @@ export declare class KupCard {
|
|
|
144
144
|
registerListeners(): void;
|
|
145
145
|
/**
|
|
146
146
|
* This method is invoked by the layout manager when the layout family is scalable.
|
|
147
|
-
* The content of the card (.scalable-element) will be resized to fit the wrapper (
|
|
148
|
-
* The scaling is performed by using a CSS variable (--
|
|
147
|
+
* The content of the card (.scalable-element) will be resized to fit the wrapper (kup-card).
|
|
148
|
+
* The scaling is performed by using a CSS variable (--kup_card_scalable_multiplier) which will impact the card's font-size.
|
|
149
149
|
* When there is empty space, the multiplier will be increased, as will the content.
|
|
150
150
|
* Viceversa, when the content exceeds the boundaries, the multiplier will be decreased.
|
|
151
151
|
*/
|
|
152
|
-
scalable(): void
|
|
152
|
+
scalable(): Promise<void>;
|
|
153
153
|
componentWillLoad(): void;
|
|
154
154
|
componentDidLoad(): void;
|
|
155
155
|
componentWillRender(): void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { KupEventPayload } from '../../components';
|
|
2
|
+
import { KupDataColumn, KupDataRow } from '../../managers/kup-data/kup-data-declarations';
|
|
3
|
+
/**
|
|
4
|
+
* Props of the kup-card-list component.
|
|
5
|
+
* Used to export every prop in an object.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum KupCardListProps {
|
|
8
|
+
columnsNumber = "Sets the number of columns.",
|
|
9
|
+
customStyle = "Custom style of the component.",
|
|
10
|
+
data = "Actual data of the component.",
|
|
11
|
+
fullWidth = "Sets whether the component occupies all available width.",
|
|
12
|
+
horizontal = "Sets whether the cards are placed horizontally or not.",
|
|
13
|
+
isClickable = "Sets whether a single card is clickable or not."
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Available column options.
|
|
17
|
+
*/
|
|
18
|
+
export type KupCardListOptions = 'descr' | 'icon' | 'value' | 'measure' | 'intvalue' | 'decvalue' | 'textcolor' | 'valuecolor' | 'iconcolor' | 'layout';
|
|
19
|
+
/**
|
|
20
|
+
* Card list column.
|
|
21
|
+
*/
|
|
22
|
+
export interface KupCardListColumn extends KupDataColumn {
|
|
23
|
+
cardListOption?: KupCardListOptions;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Dataset of the card list.
|
|
27
|
+
*/
|
|
28
|
+
export interface KupCardListData {
|
|
29
|
+
columns: KupCardListColumn[];
|
|
30
|
+
rows: KupDataRow[];
|
|
31
|
+
}
|
|
32
|
+
export interface KupCardListClickEventPayload extends KupEventPayload {
|
|
33
|
+
index: number;
|
|
34
|
+
row: KupDataRow;
|
|
35
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { KupCardListData, KupCardListClickEventPayload } from './kup-card-list-declarations';
|
|
3
|
+
import { GenericObject } from '../../types/GenericTypes';
|
|
4
|
+
export declare class KupCardList {
|
|
5
|
+
#private;
|
|
6
|
+
/**
|
|
7
|
+
* References the root HTML element of the component (<kup-card-list>).
|
|
8
|
+
*/
|
|
9
|
+
rootElement: HTMLElement;
|
|
10
|
+
/**
|
|
11
|
+
* Sets the number of columns.
|
|
12
|
+
* @default 1
|
|
13
|
+
*/
|
|
14
|
+
columnsNumber: number;
|
|
15
|
+
/**
|
|
16
|
+
* Custom style of the component.
|
|
17
|
+
* @default ""
|
|
18
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
19
|
+
*/
|
|
20
|
+
customStyle: string;
|
|
21
|
+
/**
|
|
22
|
+
* Actual data of the component.
|
|
23
|
+
* @default null
|
|
24
|
+
*/
|
|
25
|
+
data: KupCardListData;
|
|
26
|
+
/**
|
|
27
|
+
* Sets whether the component occupies all available width.
|
|
28
|
+
* @default true
|
|
29
|
+
*/
|
|
30
|
+
fullWidth: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Sets whether the cards are placed horizontally or not.
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
horizontal: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Sets whether a single card is clickable or not.
|
|
38
|
+
* @default false
|
|
39
|
+
*/
|
|
40
|
+
isClickable: boolean;
|
|
41
|
+
kupCardListClickEvent: EventEmitter<KupCardListClickEventPayload>;
|
|
42
|
+
/**
|
|
43
|
+
* Used to retrieve component's props values.
|
|
44
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
45
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
46
|
+
*/
|
|
47
|
+
getProps(descriptions?: boolean): Promise<GenericObject>;
|
|
48
|
+
/**
|
|
49
|
+
* This method is used to trigger a new render of the component.
|
|
50
|
+
*/
|
|
51
|
+
refresh(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Sets the props to the component.
|
|
54
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
55
|
+
*/
|
|
56
|
+
setProps(props: GenericObject): Promise<void>;
|
|
57
|
+
componentWillLoad(): void;
|
|
58
|
+
componentDidLoad(): void;
|
|
59
|
+
componentDidRender(): void;
|
|
60
|
+
render(): any;
|
|
61
|
+
disconnectedCallback(): void;
|
|
62
|
+
}
|
|
@@ -6,8 +6,8 @@ export declare class KupDataTableState implements KupState {
|
|
|
6
6
|
expandGroups: boolean;
|
|
7
7
|
groupLabelDisplay: GroupLabelDisplayMode;
|
|
8
8
|
density: string;
|
|
9
|
-
enableSortableColumns: boolean;
|
|
10
9
|
enableExtraColumns: boolean;
|
|
10
|
+
enableSortableColumns: boolean;
|
|
11
11
|
forceOneLine: boolean;
|
|
12
12
|
globalFilter: boolean;
|
|
13
13
|
globalFilterValue: string;
|
|
@@ -17,6 +17,7 @@ import { KupButtonClickEventPayload } from "./components/kup-button/kup-button-d
|
|
|
17
17
|
import { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
18
18
|
import { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
19
19
|
import { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
20
|
+
import { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
|
|
20
21
|
import { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
21
22
|
import { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
22
23
|
import { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
@@ -64,6 +65,7 @@ export { KupButtonClickEventPayload } from "./components/kup-button/kup-button-d
|
|
|
64
65
|
export { KupButtonListClickEventPayload, KupButtonListNode } from "./components/kup-button-list/kup-button-list-declarations";
|
|
65
66
|
export { KupCalendarData, KupCalendarDateClickEventPayload, KupCalendarEventClickEventPayload, KupCalendarEventDropEventPayload, KupCalendarViewChangeEventPayload, KupCalendarViewTypes } from "./components/kup-calendar/kup-calendar-declarations";
|
|
66
67
|
export { KupCardClickPayload, KupCardData, KupCardEventPayload, KupCardFamily } from "./components/kup-card/kup-card-declarations";
|
|
68
|
+
export { KupCardListClickEventPayload, KupCardListData } from "./components/kup-card-list/kup-card-list-declarations";
|
|
67
69
|
export { FCellPadding } from "./f-components/f-cell/f-cell-declarations";
|
|
68
70
|
export { ChartAspect, ChartAxis, ChartOfflineMode, ChartSerie, ChartTitle, ChartType, KupChartClickEvent, KupChartSort, KupChartTrendlines } from "./components/kup-chart/kup-chart-declarations";
|
|
69
71
|
export { KupCheckboxEventPayload } from "./components/kup-checkbox/kup-checkbox-declarations";
|
|
@@ -646,6 +648,54 @@ export namespace Components {
|
|
|
646
648
|
*/
|
|
647
649
|
"sizeY": string;
|
|
648
650
|
}
|
|
651
|
+
interface KupCardList {
|
|
652
|
+
/**
|
|
653
|
+
* Sets the number of columns.
|
|
654
|
+
* @default 1
|
|
655
|
+
*/
|
|
656
|
+
"columnsNumber": number;
|
|
657
|
+
/**
|
|
658
|
+
* Custom style of the component.
|
|
659
|
+
* @default ""
|
|
660
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
661
|
+
*/
|
|
662
|
+
"customStyle": string;
|
|
663
|
+
/**
|
|
664
|
+
* Actual data of the component.
|
|
665
|
+
* @default null
|
|
666
|
+
*/
|
|
667
|
+
"data": KupCardListData;
|
|
668
|
+
/**
|
|
669
|
+
* Sets whether the component occupies all available width.
|
|
670
|
+
* @default true
|
|
671
|
+
*/
|
|
672
|
+
"fullWidth": boolean;
|
|
673
|
+
/**
|
|
674
|
+
* Used to retrieve component's props values.
|
|
675
|
+
* @param descriptions - When provided and true, the result will be the list of props with their description.
|
|
676
|
+
* @returns List of props as object, each key will be a prop.
|
|
677
|
+
*/
|
|
678
|
+
"getProps": (descriptions?: boolean) => Promise<GenericObject>;
|
|
679
|
+
/**
|
|
680
|
+
* Sets whether the cards are placed horizontally or not.
|
|
681
|
+
* @default false
|
|
682
|
+
*/
|
|
683
|
+
"horizontal": boolean;
|
|
684
|
+
/**
|
|
685
|
+
* Sets whether a single card is clickable or not.
|
|
686
|
+
* @default false
|
|
687
|
+
*/
|
|
688
|
+
"isClickable": boolean;
|
|
689
|
+
/**
|
|
690
|
+
* This method is used to trigger a new render of the component.
|
|
691
|
+
*/
|
|
692
|
+
"refresh": () => Promise<void>;
|
|
693
|
+
/**
|
|
694
|
+
* Sets the props to the component.
|
|
695
|
+
* @param props - Object containing props that will be set to the component.
|
|
696
|
+
*/
|
|
697
|
+
"setProps": (props: GenericObject) => Promise<void>;
|
|
698
|
+
}
|
|
649
699
|
interface KupCell {
|
|
650
700
|
/**
|
|
651
701
|
* Adds the given CSS classes to the cell's data.
|
|
@@ -1029,36 +1079,6 @@ export namespace Components {
|
|
|
1029
1079
|
*/
|
|
1030
1080
|
"showDropDownIcon": boolean;
|
|
1031
1081
|
}
|
|
1032
|
-
interface KupDash {
|
|
1033
|
-
/**
|
|
1034
|
-
* The component can be clicked.
|
|
1035
|
-
*/
|
|
1036
|
-
"active": boolean;
|
|
1037
|
-
/**
|
|
1038
|
-
* Sets the font size of the component.
|
|
1039
|
-
*/
|
|
1040
|
-
"fontsize": string;
|
|
1041
|
-
/**
|
|
1042
|
-
* No idea what this is about.
|
|
1043
|
-
*/
|
|
1044
|
-
"index": number;
|
|
1045
|
-
/**
|
|
1046
|
-
* Sets the layout of the component.
|
|
1047
|
-
*/
|
|
1048
|
-
"layout": string;
|
|
1049
|
-
}
|
|
1050
|
-
interface KupDashList {
|
|
1051
|
-
"active": boolean;
|
|
1052
|
-
"columnsNumber": number;
|
|
1053
|
-
"data": KupDataDataset;
|
|
1054
|
-
"fontsize": string;
|
|
1055
|
-
"fullWidth": boolean;
|
|
1056
|
-
"horizontal": boolean;
|
|
1057
|
-
"iconColor": Array<any>;
|
|
1058
|
-
"layout": string;
|
|
1059
|
-
"textColor": Array<any>;
|
|
1060
|
-
"valueColor": Array<any>;
|
|
1061
|
-
}
|
|
1062
1082
|
interface KupDashboard {
|
|
1063
1083
|
/**
|
|
1064
1084
|
* Custom style of the component.
|
|
@@ -3502,6 +3522,10 @@ export interface KupCardCustomEvent<T> extends CustomEvent<T> {
|
|
|
3502
3522
|
detail: T;
|
|
3503
3523
|
target: HTMLKupCardElement;
|
|
3504
3524
|
}
|
|
3525
|
+
export interface KupCardListCustomEvent<T> extends CustomEvent<T> {
|
|
3526
|
+
detail: T;
|
|
3527
|
+
target: HTMLKupCardListElement;
|
|
3528
|
+
}
|
|
3505
3529
|
export interface KupChartCustomEvent<T> extends CustomEvent<T> {
|
|
3506
3530
|
detail: T;
|
|
3507
3531
|
target: HTMLKupChartElement;
|
|
@@ -3522,14 +3546,6 @@ export interface KupComboboxCustomEvent<T> extends CustomEvent<T> {
|
|
|
3522
3546
|
detail: T;
|
|
3523
3547
|
target: HTMLKupComboboxElement;
|
|
3524
3548
|
}
|
|
3525
|
-
export interface KupDashCustomEvent<T> extends CustomEvent<T> {
|
|
3526
|
-
detail: T;
|
|
3527
|
-
target: HTMLKupDashElement;
|
|
3528
|
-
}
|
|
3529
|
-
export interface KupDashListCustomEvent<T> extends CustomEvent<T> {
|
|
3530
|
-
detail: T;
|
|
3531
|
-
target: HTMLKupDashListElement;
|
|
3532
|
-
}
|
|
3533
3549
|
export interface KupDashboardCustomEvent<T> extends CustomEvent<T> {
|
|
3534
3550
|
detail: T;
|
|
3535
3551
|
target: HTMLKupDashboardElement;
|
|
@@ -3687,6 +3703,12 @@ declare global {
|
|
|
3687
3703
|
prototype: HTMLKupCardElement;
|
|
3688
3704
|
new (): HTMLKupCardElement;
|
|
3689
3705
|
};
|
|
3706
|
+
interface HTMLKupCardListElement extends Components.KupCardList, HTMLStencilElement {
|
|
3707
|
+
}
|
|
3708
|
+
var HTMLKupCardListElement: {
|
|
3709
|
+
prototype: HTMLKupCardListElement;
|
|
3710
|
+
new (): HTMLKupCardListElement;
|
|
3711
|
+
};
|
|
3690
3712
|
interface HTMLKupCellElement extends Components.KupCell, HTMLStencilElement {
|
|
3691
3713
|
}
|
|
3692
3714
|
var HTMLKupCellElement: {
|
|
@@ -3723,18 +3745,6 @@ declare global {
|
|
|
3723
3745
|
prototype: HTMLKupComboboxElement;
|
|
3724
3746
|
new (): HTMLKupComboboxElement;
|
|
3725
3747
|
};
|
|
3726
|
-
interface HTMLKupDashElement extends Components.KupDash, HTMLStencilElement {
|
|
3727
|
-
}
|
|
3728
|
-
var HTMLKupDashElement: {
|
|
3729
|
-
prototype: HTMLKupDashElement;
|
|
3730
|
-
new (): HTMLKupDashElement;
|
|
3731
|
-
};
|
|
3732
|
-
interface HTMLKupDashListElement extends Components.KupDashList, HTMLStencilElement {
|
|
3733
|
-
}
|
|
3734
|
-
var HTMLKupDashListElement: {
|
|
3735
|
-
prototype: HTMLKupDashListElement;
|
|
3736
|
-
new (): HTMLKupDashListElement;
|
|
3737
|
-
};
|
|
3738
3748
|
interface HTMLKupDashboardElement extends Components.KupDashboard, HTMLStencilElement {
|
|
3739
3749
|
}
|
|
3740
3750
|
var HTMLKupDashboardElement: {
|
|
@@ -3942,14 +3952,13 @@ declare global {
|
|
|
3942
3952
|
"kup-button-list": HTMLKupButtonListElement;
|
|
3943
3953
|
"kup-calendar": HTMLKupCalendarElement;
|
|
3944
3954
|
"kup-card": HTMLKupCardElement;
|
|
3955
|
+
"kup-card-list": HTMLKupCardListElement;
|
|
3945
3956
|
"kup-cell": HTMLKupCellElement;
|
|
3946
3957
|
"kup-chart": HTMLKupChartElement;
|
|
3947
3958
|
"kup-checkbox": HTMLKupCheckboxElement;
|
|
3948
3959
|
"kup-chip": HTMLKupChipElement;
|
|
3949
3960
|
"kup-color-picker": HTMLKupColorPickerElement;
|
|
3950
3961
|
"kup-combobox": HTMLKupComboboxElement;
|
|
3951
|
-
"kup-dash": HTMLKupDashElement;
|
|
3952
|
-
"kup-dash-list": HTMLKupDashListElement;
|
|
3953
3962
|
"kup-dashboard": HTMLKupDashboardElement;
|
|
3954
3963
|
"kup-data-table": HTMLKupDataTableElement;
|
|
3955
3964
|
"kup-date-picker": HTMLKupDatePickerElement;
|
|
@@ -4462,6 +4471,40 @@ declare namespace LocalJSX {
|
|
|
4462
4471
|
*/
|
|
4463
4472
|
"sizeY"?: string;
|
|
4464
4473
|
}
|
|
4474
|
+
interface KupCardList {
|
|
4475
|
+
/**
|
|
4476
|
+
* Sets the number of columns.
|
|
4477
|
+
* @default 1
|
|
4478
|
+
*/
|
|
4479
|
+
"columnsNumber"?: number;
|
|
4480
|
+
/**
|
|
4481
|
+
* Custom style of the component.
|
|
4482
|
+
* @default ""
|
|
4483
|
+
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
4484
|
+
*/
|
|
4485
|
+
"customStyle"?: string;
|
|
4486
|
+
/**
|
|
4487
|
+
* Actual data of the component.
|
|
4488
|
+
* @default null
|
|
4489
|
+
*/
|
|
4490
|
+
"data"?: KupCardListData;
|
|
4491
|
+
/**
|
|
4492
|
+
* Sets whether the component occupies all available width.
|
|
4493
|
+
* @default true
|
|
4494
|
+
*/
|
|
4495
|
+
"fullWidth"?: boolean;
|
|
4496
|
+
/**
|
|
4497
|
+
* Sets whether the cards are placed horizontally or not.
|
|
4498
|
+
* @default false
|
|
4499
|
+
*/
|
|
4500
|
+
"horizontal"?: boolean;
|
|
4501
|
+
/**
|
|
4502
|
+
* Sets whether a single card is clickable or not.
|
|
4503
|
+
* @default false
|
|
4504
|
+
*/
|
|
4505
|
+
"isClickable"?: boolean;
|
|
4506
|
+
"onKup-cardlist-click"?: (event: KupCardListCustomEvent<KupCardListClickEventPayload>) => void;
|
|
4507
|
+
}
|
|
4465
4508
|
interface KupCell {
|
|
4466
4509
|
/**
|
|
4467
4510
|
* Custom style of the component.
|
|
@@ -4757,42 +4800,6 @@ declare namespace LocalJSX {
|
|
|
4757
4800
|
*/
|
|
4758
4801
|
"showDropDownIcon"?: boolean;
|
|
4759
4802
|
}
|
|
4760
|
-
interface KupDash {
|
|
4761
|
-
/**
|
|
4762
|
-
* The component can be clicked.
|
|
4763
|
-
*/
|
|
4764
|
-
"active"?: boolean;
|
|
4765
|
-
/**
|
|
4766
|
-
* Sets the font size of the component.
|
|
4767
|
-
*/
|
|
4768
|
-
"fontsize"?: string;
|
|
4769
|
-
/**
|
|
4770
|
-
* No idea what this is about.
|
|
4771
|
-
*/
|
|
4772
|
-
"index"?: number;
|
|
4773
|
-
/**
|
|
4774
|
-
* Sets the layout of the component.
|
|
4775
|
-
*/
|
|
4776
|
-
"layout"?: string;
|
|
4777
|
-
"onKup-dash-click"?: (event: KupDashCustomEvent<{
|
|
4778
|
-
id: number;
|
|
4779
|
-
}>) => void;
|
|
4780
|
-
}
|
|
4781
|
-
interface KupDashList {
|
|
4782
|
-
"active"?: boolean;
|
|
4783
|
-
"columnsNumber"?: number;
|
|
4784
|
-
"data"?: KupDataDataset;
|
|
4785
|
-
"fontsize"?: string;
|
|
4786
|
-
"fullWidth"?: boolean;
|
|
4787
|
-
"horizontal"?: boolean;
|
|
4788
|
-
"iconColor"?: Array<any>;
|
|
4789
|
-
"layout"?: string;
|
|
4790
|
-
"onKup-dash-click"?: (event: KupDashListCustomEvent<{
|
|
4791
|
-
idx: number;
|
|
4792
|
-
}>) => void;
|
|
4793
|
-
"textColor"?: Array<any>;
|
|
4794
|
-
"valueColor"?: Array<any>;
|
|
4795
|
-
}
|
|
4796
4803
|
interface KupDashboard {
|
|
4797
4804
|
/**
|
|
4798
4805
|
* Custom style of the component.
|
|
@@ -6769,14 +6776,13 @@ declare namespace LocalJSX {
|
|
|
6769
6776
|
"kup-button-list": KupButtonList;
|
|
6770
6777
|
"kup-calendar": KupCalendar;
|
|
6771
6778
|
"kup-card": KupCard;
|
|
6779
|
+
"kup-card-list": KupCardList;
|
|
6772
6780
|
"kup-cell": KupCell;
|
|
6773
6781
|
"kup-chart": KupChart;
|
|
6774
6782
|
"kup-checkbox": KupCheckbox;
|
|
6775
6783
|
"kup-chip": KupChip;
|
|
6776
6784
|
"kup-color-picker": KupColorPicker;
|
|
6777
6785
|
"kup-combobox": KupCombobox;
|
|
6778
|
-
"kup-dash": KupDash;
|
|
6779
|
-
"kup-dash-list": KupDashList;
|
|
6780
6786
|
"kup-dashboard": KupDashboard;
|
|
6781
6787
|
"kup-data-table": KupDataTable;
|
|
6782
6788
|
"kup-date-picker": KupDatePicker;
|
|
@@ -6824,14 +6830,13 @@ declare module "@stencil/core" {
|
|
|
6824
6830
|
"kup-button-list": LocalJSX.KupButtonList & JSXBase.HTMLAttributes<HTMLKupButtonListElement>;
|
|
6825
6831
|
"kup-calendar": LocalJSX.KupCalendar & JSXBase.HTMLAttributes<HTMLKupCalendarElement>;
|
|
6826
6832
|
"kup-card": LocalJSX.KupCard & JSXBase.HTMLAttributes<HTMLKupCardElement>;
|
|
6833
|
+
"kup-card-list": LocalJSX.KupCardList & JSXBase.HTMLAttributes<HTMLKupCardListElement>;
|
|
6827
6834
|
"kup-cell": LocalJSX.KupCell & JSXBase.HTMLAttributes<HTMLKupCellElement>;
|
|
6828
6835
|
"kup-chart": LocalJSX.KupChart & JSXBase.HTMLAttributes<HTMLKupChartElement>;
|
|
6829
6836
|
"kup-checkbox": LocalJSX.KupCheckbox & JSXBase.HTMLAttributes<HTMLKupCheckboxElement>;
|
|
6830
6837
|
"kup-chip": LocalJSX.KupChip & JSXBase.HTMLAttributes<HTMLKupChipElement>;
|
|
6831
6838
|
"kup-color-picker": LocalJSX.KupColorPicker & JSXBase.HTMLAttributes<HTMLKupColorPickerElement>;
|
|
6832
6839
|
"kup-combobox": LocalJSX.KupCombobox & JSXBase.HTMLAttributes<HTMLKupComboboxElement>;
|
|
6833
|
-
"kup-dash": LocalJSX.KupDash & JSXBase.HTMLAttributes<HTMLKupDashElement>;
|
|
6834
|
-
"kup-dash-list": LocalJSX.KupDashList & JSXBase.HTMLAttributes<HTMLKupDashListElement>;
|
|
6835
6840
|
"kup-dashboard": LocalJSX.KupDashboard & JSXBase.HTMLAttributes<HTMLKupDashboardElement>;
|
|
6836
6841
|
"kup-data-table": LocalJSX.KupDataTable & JSXBase.HTMLAttributes<HTMLKupDataTableElement>;
|
|
6837
6842
|
"kup-date-picker": LocalJSX.KupDatePicker & JSXBase.HTMLAttributes<HTMLKupDatePickerElement>;
|
|
@@ -129,7 +129,7 @@ export declare class KupMath {
|
|
|
129
129
|
* @param {string} input number as string, formatted by locale US, decimal separator . (like java decimal numbers)
|
|
130
130
|
* @param {number} decimals number of significant decimal digits for output
|
|
131
131
|
* @param {string} type - type of number for calculate suffix
|
|
132
|
-
* @param {string} decSeparator decimal separator for
|
|
132
|
+
* @param {string} decSeparator decimal separator for output string
|
|
133
133
|
* @returns {string} number as string, formatted by actual browser locale (or using decimal separator param), with suffix by type
|
|
134
134
|
**/
|
|
135
135
|
numberStringToFormattedString(input: string, decimals: number, type: string, decSeparator?: string): string;
|
|
@@ -432,7 +432,7 @@ export interface QueueApi {
|
|
|
432
432
|
/**
|
|
433
433
|
* Host
|
|
434
434
|
*/
|
|
435
|
-
interface HostAttributes {
|
|
435
|
+
export interface HostAttributes {
|
|
436
436
|
class?: string | {
|
|
437
437
|
[className: string]: boolean;
|
|
438
438
|
};
|
|
@@ -930,6 +930,8 @@ export declare namespace JSXBase {
|
|
|
930
930
|
minlength?: number | string;
|
|
931
931
|
multiple?: boolean;
|
|
932
932
|
name?: string;
|
|
933
|
+
onSelect?: (event: Event) => void;
|
|
934
|
+
onselect?: (event: Event) => void;
|
|
933
935
|
pattern?: string;
|
|
934
936
|
placeholder?: string;
|
|
935
937
|
readOnly?: boolean;
|
|
@@ -1143,6 +1145,8 @@ export declare namespace JSXBase {
|
|
|
1143
1145
|
minLength?: number;
|
|
1144
1146
|
minlength?: number | string;
|
|
1145
1147
|
name?: string;
|
|
1148
|
+
onSelect?: (event: Event) => void;
|
|
1149
|
+
onselect?: (event: Event) => void;
|
|
1146
1150
|
placeholder?: string;
|
|
1147
1151
|
readOnly?: boolean;
|
|
1148
1152
|
readonly?: boolean | string;
|
|
@@ -1619,8 +1623,14 @@ export declare namespace JSXBase {
|
|
|
1619
1623
|
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
|
1620
1624
|
onAnimationIteration?: (event: AnimationEvent) => void;
|
|
1621
1625
|
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
|
1626
|
+
onTransitionCancel?: (event: TransitionEvent) => void;
|
|
1627
|
+
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
|
1622
1628
|
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
1623
1629
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1630
|
+
onTransitionRun?: (event: TransitionEvent) => void;
|
|
1631
|
+
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1632
|
+
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1633
|
+
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1624
1634
|
}
|
|
1625
1635
|
}
|
|
1626
1636
|
export interface JSXAttributes<T = Element> {
|
|
@@ -67,14 +67,13 @@ export declare enum KupTagNames {
|
|
|
67
67
|
BUTTON_LIST = "KUP-BUTTON-LIST",
|
|
68
68
|
CALENDAR = "KUP-CALENDAR",
|
|
69
69
|
CARD = "KUP-CARD",
|
|
70
|
+
CARD_LIST = "KUP-CARD-LIST",
|
|
70
71
|
CELL = "KUP-CELL",
|
|
71
72
|
CHART = "KUP-CHART",
|
|
72
73
|
CHECKBOX = "KUP-CHECKBOX",
|
|
73
74
|
CHIP = "KUP-CHIP",
|
|
74
75
|
COLOR_PICKER = "KUP-COLOR-PICKER",
|
|
75
76
|
COMBOBOX = "KUP-COMBOBOX",
|
|
76
|
-
DASH = "KUP-DASH",
|
|
77
|
-
DASH_LIST = "KUP-DASH-LIST",
|
|
78
77
|
DASHBOARD = "KUP-DASHBOARD",
|
|
79
78
|
DATA_TABLE = "KUP-DATA-TABLE",
|
|
80
79
|
DATE_PICKER = "KUP-DATE-PICKER",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sme.up/ketchup",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"smeup",
|
|
6
6
|
"KetchUP",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@stencil/core": "^4.0.2",
|
|
66
|
-
"@stencil/sass": "^3.0.5",
|
|
67
66
|
"@stencil/react-output-target": "0.5.3",
|
|
67
|
+
"@stencil/sass": "^3.0.5",
|
|
68
68
|
"jest": "^27.4.5",
|
|
69
69
|
"jest-cli": "^27.4.5",
|
|
70
70
|
"jest-html-reporter": "^3.7.1",
|
|
@@ -76,5 +76,8 @@
|
|
|
76
76
|
"repository": {
|
|
77
77
|
"type": "git",
|
|
78
78
|
"url": "https://github.com/smeup/ketchup.git"
|
|
79
|
+
},
|
|
80
|
+
"installConfig": {
|
|
81
|
+
"hoistingLimits": "workspaces"
|
|
79
82
|
}
|
|
80
83
|
}
|