@sme.up/ketchup 6.3.0 → 6.4.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/{f-button-94cb5f35.js → f-button-826a470e.js} +3 -3
- package/dist/cjs/{f-cell-76830a0d.js → f-cell-2d5bcf0c.js} +5 -5
- package/dist/cjs/{f-chip-68d45fd3.js → f-chip-2fd3363e.js} +2 -2
- package/dist/cjs/{f-image-0e71df7e.js → f-image-0f17d599.js} +1 -1
- package/dist/cjs/{f-paginator-utils-46689c0a.js → f-paginator-utils-946b579d.js} +3 -3
- package/dist/cjs/{f-text-field-b4229cef.js → f-text-field-d243e4d8.js} +4 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_25.cjs.entry.js +21 -12
- package/dist/cjs/kup-box.cjs.entry.js +12 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dash-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-dash_2.cjs.entry.js +1 -1
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +28 -18
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-form.cjs.entry.js +16 -8
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-7c514a30.js → kup-manager-a8eecc60.js} +28 -15
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/form.js +41 -0
- package/dist/collection/components/kup-box/kup-box.js +5 -3
- package/dist/collection/components/kup-button/kup-button-declarations.js +1 -0
- package/dist/collection/components/kup-button/kup-button.js +27 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +3 -1
- package/dist/collection/components/kup-echart/kup-echart.js +27 -17
- package/dist/collection/components/kup-form/kup-form-declarations.js +1 -0
- package/dist/collection/components/kup-form/kup-form.css +8 -0
- package/dist/collection/components/kup-form/kup-form.js +31 -2
- package/dist/collection/components/kup-image/assets/svg/azure.svg +1 -0
- package/dist/collection/components/kup-lazy/kup-lazy.css +8 -2
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.css +1 -0
- package/dist/collection/f-components/f-button/f-button.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +3 -1
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +7 -6
- package/dist/collection/managers/kup-data/kup-data.js +7 -9
- package/dist/collection/managers/kup-dates/kup-dates.js +14 -0
- package/dist/collection/utils/filters/filters-rows.js +1 -1
- package/dist/collection/utils/filters/filters-tree-items.js +3 -3
- package/dist/esm/{f-button-cd948e50.js → f-button-2d0a5f21.js} +3 -3
- package/dist/esm/{f-cell-474dd282.js → f-cell-ee7d7b5c.js} +5 -5
- package/dist/esm/{f-chip-d6f2eb94.js → f-chip-0d29f91f.js} +2 -2
- package/dist/esm/{f-image-914a03ef.js → f-image-ab131d59.js} +1 -1
- package/dist/esm/{f-paginator-utils-a4a52732.js → f-paginator-utils-aa52af0f.js} +3 -3
- package/dist/esm/{f-text-field-76341fe3.js → f-text-field-0729b19f.js} +4 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-autocomplete_25.entry.js +21 -12
- package/dist/esm/kup-box.entry.js +12 -10
- package/dist/esm/kup-calendar.entry.js +4 -4
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dash-list.entry.js +1 -1
- package/dist/esm/kup-dash_2.entry.js +1 -1
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +28 -18
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-form.entry.js +16 -8
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-86f440c7.js → kup-manager-13b4f989.js} +28 -15
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/assets/svg/azure.svg +1 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-0986ad5d.js +1 -0
- package/dist/ketchup/{p-389fd0bf.js → p-0cf10db0.js} +1 -1
- package/dist/ketchup/{p-151f7c17.entry.js → p-13666119.entry.js} +1 -1
- package/dist/ketchup/{p-066f344a.entry.js → p-18b68e86.entry.js} +1 -1
- package/dist/ketchup/{p-2f4e6c50.entry.js → p-28d514d0.entry.js} +1 -1
- package/dist/ketchup/{p-8b55b786.entry.js → p-2ffdbee1.entry.js} +1 -1
- package/dist/ketchup/{p-853a5178.entry.js → p-3dcfffbe.entry.js} +1 -1
- package/dist/ketchup/{p-cee76b14.entry.js → p-3fe35411.entry.js} +1 -1
- package/dist/ketchup/{p-cfaea29b.entry.js → p-5f51009b.entry.js} +1 -1
- package/dist/ketchup/{p-77aff9c1.entry.js → p-816f0938.entry.js} +1 -1
- package/dist/ketchup/{p-bc306a53.entry.js → p-83c214d7.entry.js} +1 -1
- package/dist/ketchup/{p-df8e6a4d.entry.js → p-84957bbf.entry.js} +1 -1
- package/dist/ketchup/{p-359fd90d.entry.js → p-86795579.entry.js} +1 -1
- package/dist/ketchup/{p-00e1133d.entry.js → p-8f85b8bb.entry.js} +2 -2
- package/dist/ketchup/{p-0c6e0647.entry.js → p-982d3e3a.entry.js} +1 -1
- package/dist/ketchup/{p-7cfdf53c.entry.js → p-adcfcd4f.entry.js} +2 -2
- package/dist/ketchup/{p-cd4fc3fb.js → p-b705be3b.js} +1 -1
- package/dist/ketchup/{p-21ea11cb.js → p-b8c921ee.js} +1 -1
- package/dist/ketchup/{p-8673bd4e.js → p-bfe88b03.js} +1 -1
- package/dist/ketchup/{p-d2f51e7b.entry.js → p-d7091875.entry.js} +1 -1
- package/dist/ketchup/{p-95f5834b.entry.js → p-d8656956.entry.js} +1 -1
- package/dist/ketchup/p-dc69549c.entry.js +1 -0
- package/dist/ketchup/{p-e9a1ba04.entry.js → p-e01fa411.entry.js} +1 -1
- package/dist/ketchup/{p-b3b65a61.entry.js → p-e0f659c9.entry.js} +1 -1
- package/dist/ketchup/{p-e60a1170.entry.js → p-e1d82570.entry.js} +1 -1
- package/dist/ketchup/p-e21c744a.js +1 -0
- package/dist/ketchup/{p-1e9c03b0.entry.js → p-e5a9d60a.entry.js} +1 -1
- package/dist/ketchup/p-f50cbed9.js +1 -0
- package/dist/ketchup/{p-c3783b77.entry.js → p-fa9f161a.entry.js} +1 -1
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +1 -0
- package/dist/types/components/kup-button/kup-button-declarations.d.ts +1 -0
- package/dist/types/components/kup-button/kup-button.d.ts +5 -0
- package/dist/types/components/kup-form/kup-form-declarations.d.ts +1 -0
- package/dist/types/components/kup-form/kup-form.d.ts +5 -0
- package/dist/types/components.d.ts +20 -0
- package/dist/types/f-components/f-button/f-button-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-cell-helper.d.ts +2 -2
- package/dist/types/managers/kup-data/kup-data.d.ts +1 -0
- package/dist/types/utils/filters/filters-tree-items.d.ts +1 -1
- package/package.json +1 -1
- package/dist/ketchup/p-3586f59c.js +0 -1
- package/dist/ketchup/p-a2c595c4.js +0 -1
- package/dist/ketchup/p-ae91f27e.entry.js +0 -1
- package/dist/ketchup/p-af664379.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as c}from"./p-b0b3989b.js";import{F as i}from"./p-
|
|
1
|
+
import{h as c}from"./p-b0b3989b.js";import{F as i}from"./p-0cf10db0.js";import{K as s,j as e,b as n}from"./p-b8c921ee.js";var p;!function(c){c.CHOICE="choice",c.FILTER="filter",c.INPUT="input",c.STANDARD="standard"}(p||(p={}));const l=document.documentElement,a=a=>{a.type||(a.type=p.STANDARD);const r=a.type.toLowerCase()===p.CHOICE,t=a.type.toLowerCase()===p.FILTER,o=a.type.toLowerCase()===p.INPUT,d={"chip-set":!0,"chip-set--choice":!!r,"chip-set--filter":!!t,"chip-set--input":!!o};return c("div",Object.assign({class:`f-chip ${a.danger?"kup-danger":""} ${a.info?"kup-info":""} ${a.secondary?"kup-secondary":""} ${a.success?"kup-success":""} ${a.warning?"kup-warning":""} ${a.wrapperClass?a.wrapperClass:""}`},a.dataSet,{id:a.id,title:a.title}),c("div",{class:d,role:"grid"},function(p,a,r,t){const o=[];for(let u=0;p.data&&u<p.data.length;u++){const _=[];function d(n,a){const r=!!(n.children&&n.children.length>0),t=!(!r||!n.isExpanded),o={"--kup_chip_indent_offset":a.toString()};if(_.push(c("div",{class:"chip-set__wrapper "+(r&&!t?"chip-set__wrapper--hidden-children":"")},c("div",{class:"chip-set__indent",style:o}),r?c(i,{onClick:p.onExpansionClick&&p.onExpansionClick[u]?p.onExpansionClick[u].bind(p.onExpansionClick[u],n):null,resource:`${s.DROPDOWN}`,sizeX:"18px",sizeY:"18px",title:l.ketchup.language.translate(e.EXPAND)+"/"+l.ketchup.language.translate(e.COLLAPSE)+" (CTRL + Click)",wrapperClass:"dropdown-icon"}):a?c(i,{resource:"blank",sizeX:"18px",sizeY:"18px",wrapperClass:"dropdown-icon"}):null,h(n))),t)for(let c=0;c<n.children.length;c++)n.children[c]&&d(n.children[c],a+1)}function h(e){let l="chip "+(e.icon&&!e.value?"chip--only-icon":""),o=[],d="chip__icon chip__icon--leading";return(r||a)&&e.checked&&(l+=" chip--selected",r&&(d+=" chip__icon--leading-hidden")),e.icon&&o.push(c(i,Object.assign({},{color:a&&e.checked?`var(${n.PRIMARY})`:`var(${n.TEXT})`,resource:e.icon,sizeX:"18px",sizeY:"18px",wrapperClass:d}))),r&&o.push(c("span",{class:"chip__checkmark"},c("svg",{class:"chip__checkmark-svg",viewBox:"-2 -3 30 30"},c("path",{class:"chip__checkmark-path",fill:"none",stroke:"black",d:"M1.73,12.91 8.1,19.28 22.79,4.59"})))),c("div",{class:l,"data-value":e.id,onClick:p.onClick&&p.onClick[u]?p.onClick[u].bind(p.onClick[u],e):null,role:"row",title:e.title?e.title:""},c("span",{class:"chip-set__indent"}),o,c("span",{role:"gridcell"},c("span",{role:"button",tabindex:u,class:"chip__primary-action",value:e.id,checked:e.checked,onBlur:p.onBlur&&p.onBlur[u]?p.onBlur[u].bind(p.onBlur[u],e):null,onFocus:p.onFocus&&p.onFocus[u]?p.onFocus[u].bind(p.onFocus[u],e):null},c("span",{class:"chip__text"},e.value))),t?c("span",{role:"gridcell"},c("span",{tabindex:"-1",class:`kup-icon chip__icon ${s.CLEAR.replace("--","")}`,onClick:p.onIconClick&&p.onIconClick[u]?p.onIconClick[u].bind(p.onIconClick[u],e):null})):null)}d(p.data[u],0),o.push(c("div",{class:"chip-set__item"},..._))}return o}(a,r,t,o)))};export{p as F,a}
|