@streamline-pulse/formkrafter-wc 0.34.0 → 0.37.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/README.md +14 -6
- package/dist/components/fk-address-search.js +1 -1
- package/dist/components/fk-brick-actions.js +1 -1
- package/dist/components/fk-brick-list.js +1 -1
- package/dist/components/fk-brick-mold-item.js +1 -1
- package/dist/components/fk-brick-render.js +1 -1
- package/dist/components/fk-data-grid.js +1 -1
- package/dist/components/fk-document-reader.js +1 -1
- package/dist/components/fk-drop-area.js +1 -1
- package/dist/components/fk-empty-form.js +1 -1
- package/dist/components/fk-file-input.js +1 -1
- package/dist/components/fk-form-builder.js +1 -1
- package/dist/components/fk-form-render.js +1 -1
- package/dist/components/fk-form-review.js +1 -1
- package/dist/components/fk-geo-map.js +1 -1
- package/dist/components/fk-key-value.js +1 -1
- package/dist/components/fk-property-panel.js +1 -1
- package/dist/components/fk-rules-editor.js +1 -1
- package/dist/components/fk-select-input.js +1 -1
- package/dist/components/fk-signature-input.js +1 -1
- package/dist/components/fk-slot-picker.js +1 -1
- package/dist/components/fk-stepper.js +1 -1
- package/dist/components/fk-tabs.js +1 -1
- package/dist/components/fk-variable-picker.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-2qasp9rP.js +1 -0
- package/dist/components/{p-CdJ4KK1K.js → p-B-INxJBg.js} +1 -1
- package/dist/components/p-BPXhxOFW.js +1 -0
- package/dist/components/p-BdiKh9d2.js +1 -0
- package/dist/components/{p-CqMsKC5q.js → p-Bza6nE37.js} +1 -1
- package/dist/components/{p-eAt6z8Zp.js → p-C6_gsHBy.js} +1 -1
- package/dist/components/{p-MWuEApWx.js → p-CIBi00IY.js} +1 -1
- package/dist/components/{p-oqpWTt5a.js → p-CNu8nwtf.js} +1 -1
- package/dist/components/{p-DanS3BOE.js → p-CimJudBw.js} +1 -1
- package/dist/components/{p-5_voBBxg.js → p-ClRRfTDD.js} +1 -1
- package/dist/components/{p-8rlTOusP.js → p-CmPkfuLt.js} +1 -1
- package/dist/components/p-CnxpFa-9.js +1 -0
- package/dist/components/{p-DrbqT8Fe.js → p-Cqsmxwly.js} +1 -1
- package/dist/components/p-Csjvp5q8.js +1 -0
- package/dist/components/{p-Ue6N2laC.js → p-CtbPH5C7.js} +1 -1
- package/dist/components/{p-BHbLdGbh.js → p-CzRN0mMY.js} +1 -1
- package/dist/components/{p-V_F2_w97.js → p-D5nPxZXV.js} +1 -1
- package/dist/components/{p-BS4i6Ka9.js → p-DWSCT2ur.js} +1 -1
- package/dist/components/{p-Di8uembx.js → p-DWjr7-NA.js} +1 -1
- package/dist/components/{p-D2ju8zdo.js → p-DYcM9V1l.js} +1 -1
- package/dist/components/{p-B1mZobGL.js → p-Da741snY.js} +1 -1
- package/dist/components/{p-bmymYwS6.js → p-JQ8Ve1UU.js} +5 -5
- package/dist/components/{p-CfABzqjF.js → p-jEx6mM9z.js} +1 -1
- package/dist/formkrafter-wc/formkrafter-wc.css +6 -3
- package/dist/formkrafter-wc/formkrafter-wc.esm.js +1 -1
- package/dist/formkrafter-wc/index.esm.js +1 -1
- package/dist/formkrafter-wc/p-3dfe2d5c.entry.js +1 -0
- package/dist/formkrafter-wc/{p-b7f609bf.entry.js → p-86373a08.entry.js} +1 -1
- package/dist/formkrafter-wc/{p-IpNzfjkq.js → p-CndT4oMV.js} +5 -5
- package/dist/formkrafter-wc/{p-B2Ar1jqa.js → p-CqcWR060.js} +1 -1
- package/dist/formkrafter-wc/{p-549c07f4.entry.js → p-a51534db.entry.js} +1 -1
- package/dist/types/components/fk-select-input/fk-select-input.d.ts +4 -0
- package/dist/types/components.d.ts +9 -0
- package/dist/types/utils/icons.d.ts +11 -0
- package/package.json +3 -3
- package/dist/components/p-BdHC-MIW.js +0 -1
- package/dist/components/p-DofmGNF8.js +0 -1
- package/dist/components/p-SUfms7QY.js +0 -1
- package/dist/components/p-UXcOku2W.js +0 -1
- package/dist/formkrafter-wc/p-b55b9283.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as s,p as t,H as e,c as i,h as r}from"./p-8ICOcloT.js";import{b as a}from"./p-
|
|
1
|
+
import{t as s,p as t,H as e,c as i,h as r}from"./p-8ICOcloT.js";import{b as a}from"./p-JQ8Ve1UU.js";const o=s=>Math.round(1e6*s)/1e6,d=s=>{var t,e,i,r,a,d,h,n,l;const c=null!==(t=s.address)&&void 0!==t?t:{},u=[c.house_number,null!==(i=null!==(e=c.road)&&void 0!==e?e:c.pedestrian)&&void 0!==i?i:c.footway].filter(Boolean).join(" ");return{type:"Feature",geometry:{type:"Point",coordinates:[o(Number(s.lon)),o(Number(s.lat))]},properties:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({label:s.display_name},u&&{street:u}),(null!==(d=null!==(a=null!==(r=c.city)&&void 0!==r?r:c.town)&&void 0!==a?a:c.village)&&void 0!==d?d:c.municipality)&&{city:null!==(l=null!==(n=null!==(h=c.city)&&void 0!==h?h:c.town)&&void 0!==n?n:c.village)&&void 0!==l?l:c.municipality}),c.postcode&&{postcode:c.postcode}),c.country&&{country:c.country}),c.country_code&&{countryCode:c.country_code}),void 0!==s.place_id&&{placeId:String(s.place_id)})}},h=t(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.addressChange=i(this,"addressChange"),this.searchUrl="https://nominatim.openstreetmap.org/search?format=jsonv2&addressdetails=1&limit=5&q={q}",this.disabled=!1,this.readOnly=!1,this.minChars=3,this.query="",this.results=[],this.open=!1,this.loading=!1,this.failed=!1,this.index=0,this.request=0,this.focused=!1,this.onInput=s=>{const t=s.target.value;if(this.query=t,this.timer&&clearTimeout(this.timer),this.addressChange.emit(t.trim()?{type:"Feature",geometry:null,properties:{label:t}}:void 0),t.trim().length<this.minChars)return this.open=!1,void(this.results=[]);this.timer=setTimeout((()=>{this.search(t.trim())}),400)},this.onKeyDown=s=>{this.open&&this.results.length&&("ArrowDown"===s.key?(this.index=(this.index+1)%this.results.length,s.preventDefault()):"ArrowUp"===s.key?(this.index=(this.index-1+this.results.length)%this.results.length,s.preventDefault()):"Enter"===s.key?(this.pick(this.results[this.index]),s.preventDefault()):"Escape"===s.key&&(this.open=!1))}}componentWillLoad(){var s,t;this.query=null!==(t=null===(s=this.value)||void 0===s?void 0:s.properties.label)&&void 0!==t?t:""}onValueChange(s){var t;const e=null!==(t=null==s?void 0:s.properties.label)&&void 0!==t?t:"";this.focused||e===this.query||(this.query=e)}get locked(){return this.disabled||this.readOnly}buildUrl(s){let t=this.searchUrl.replace("{q}",encodeURIComponent(s));return this.countryCodes&&(t+=`${t.includes("?")?"&":"?"}countrycodes=${encodeURIComponent(this.countryCodes)}`),this.language&&(t+=`${t.includes("?")?"&":"?"}accept-language=${encodeURIComponent(this.language)}`),t}async search(s){const t=++this.request;this.loading=!0,this.failed=!1;try{const e=await fetch(this.buildUrl(s),{headers:{Accept:"application/json"}});if(!e.ok)throw new Error(String(e.status));const i=await e.json();if(t!==this.request)return;this.results=Array.isArray(i)?i.map(d):[],this.index=0,this.open=!0}catch(s){if(t!==this.request)return;this.results=[],this.failed=!0,this.open=!0}finally{t===this.request&&(this.loading=!1)}}pick(s){this.query=s.properties.label,this.open=!1,this.results=[],this.addressChange.emit(s)}render(){var s,t;const e=!!(null===(s=this.value)||void 0===s?void 0:s.geometry);return r("div",{key:"d5d4f73ae70e094df80b2b71ae0462a628af886d",class:"fk-address"},r("input",{key:"1911fe734e37dd07698629d8e5229bac432b299c",class:"fk-field__input",type:"text",autocomplete:"off",value:this.query,placeholder:null!==(t=this.placeholder)&&void 0!==t?t:a("address.search"),disabled:this.disabled,readOnly:this.readOnly,onInput:this.onInput,onKeyDown:this.onKeyDown,onFocus:()=>{this.focused=!0},onBlur:()=>{this.focused=!1,setTimeout((()=>{this.open=!1}),120)}}),this.query&&!this.locked?r("span",{class:{"fk-address__status":!0,"fk-address__status--located":e}},a(this.loading?"address.searching":e?"address.located":"address.notLocated")):null,this.open&&!this.locked?r("div",{class:"fk-address__list",role:"listbox"},this.failed?r("div",{class:"fk-address__empty"},a("address.unavailable")):0===this.results.length?r("div",{class:"fk-address__empty"},a("address.noResult")):this.results.map(((s,t)=>r("button",{type:"button",role:"option","aria-selected":t===this.index?"true":"false",class:{"fk-address__item":!0,"fk-address__item--active":t===this.index},onMouseDown:t=>{t.preventDefault(),this.pick(s)},onMouseEnter:()=>{this.index=t}},s.properties.label)))):null)}get el(){return this}static get watchers(){return{value:[{onValueChange:0}]}}static get style(){return".sc-fk-address-search-h{display:block}.fk-address.sc-fk-address-search{display:block;position:relative}.fk-address__status.sc-fk-address-search{display:block;margin-top:0.25rem;font-size:0.75rem;color:var(--fk-color-muted, #71717a)}.fk-address__status--located.sc-fk-address-search{color:var(--fk-color-primary, #16a34a)}.fk-address__list.sc-fk-address-search{position:absolute;z-index:20;left:0;right:0;margin-top:0.25rem;max-height:14rem;overflow-y:auto;border:1px solid var(--fk-color-border, #d4d4d8);border-radius:var(--fk-radius, 0.375rem);background:var(--fk-color-surface, #fff);box-shadow:0 8px 24px rgba(0, 0, 0, 0.12)}.fk-address__item.sc-fk-address-search{display:block;width:100%;padding:0.375rem 0.625rem;border:0;background:transparent;color:inherit;font:inherit;font-size:0.8125rem;text-align:left;cursor:pointer}.fk-address__item--active.sc-fk-address-search,.fk-address__item.sc-fk-address-search:hover{background:var(--fk-color-hover, rgba(127, 127, 127, 0.12))}.fk-address__empty.sc-fk-address-search{padding:0.5rem 0.625rem;font-size:0.75rem;color:var(--fk-color-muted, #71717a)}"}},[2,"fk-address-search",{value:[16],searchUrl:[1,"search-url"],countryCodes:[1,"country-codes"],language:[1],placeholder:[1],disabled:[4],readOnly:[4,"read-only"],minChars:[2,"min-chars"],query:[32],results:[32],open:[32],loading:[32],failed:[32],index:[32]},void 0,{value:[{onValueChange:0}]}]);function n(){"undefined"!=typeof customElements&&["fk-address-search"].forEach((t=>{"fk-address-search"===t&&(customElements.get(s(t))||customElements.define(s(t),h))}))}n();export{h as F,n as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as s,H as e,c as i,h as r}from"./p-8ICOcloT.js";import{b as a,d as o,h as n,e as c,i as h,g as d,v as l}from"./p-
|
|
1
|
+
import{t,p as s,H as e,c as i,h as r}from"./p-8ICOcloT.js";import{b as a,d as o,h as n,e as c,i as h,g as d,v as l}from"./p-JQ8Ve1UU.js";import{registerDefaultBricks as m}from"./index.js";import{d as f}from"./p-DWjr7-NA.js";import{d as u}from"./p-CnxpFa-9.js";import{d as p}from"./p-CIgvEKbO.js";import{d as b}from"./p-Cqsmxwly.js";import{d as k}from"./p-BE5v8BN3.js";import{d as v}from"./p-CIBi00IY.js";import{d as j}from"./p-D5nPxZXV.js";import{d as y}from"./p-Da741snY.js";import{d as g}from"./p-CimJudBw.js";import{d as E}from"./p-C6_gsHBy.js";import{d as O}from"./p-ClRRfTDD.js";import{d as S}from"./p-BPXhxOFW.js";import{d as C}from"./p-B-INxJBg.js";import{d as x}from"./p-CtbPH5C7.js";import{d as D}from"./p-DWSCT2ur.js";import{d as w}from"./p-CNu8nwtf.js";import{d as B}from"./p-jEx6mM9z.js";const F=s(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.formDataChange=i(this,"formDataChange"),this.formSubmit=i(this,"formSubmit"),this.validityChange=i(this,"validityChange"),this.editable=!1,this.readOnly=!1,this.disabled=!1,this.showSubmit=!1,this.reviewable=!1,this.currentData={},this.touched={},this.expanding=!1,this.utils={validateForm:()=>({isValid:this.runValidation().valid})}}componentWillLoad(){return m(),this.attachFormInternals(),this.currentData=this.seeded(this.data),this.runExpansion()}syncData(t){this.currentData=this.seeded(t)}onSpecChange(){this.currentData=this.seeded(this.data),this.runExpansion()}componentDidLoad(){this.emitValidity()}emitValidity(t){const{valid:s,errors:e}=null!=t?t:this.runValidation(),i=`${s}|${Object.keys(e).sort().join(",")}`;i!==this.lastValidity&&(this.lastValidity=i,this.validityChange.emit({valid:s,errors:e}),this.reportToForm(s,e))}attachFormInternals(){const t=this.host;if("function"==typeof t.attachInternals)try{this.internals=t.attachInternals()}catch(t){this.internals=void 0}}reportToForm(t,s){var e,i,r;if(null===(e=this.internals)||void 0===e?void 0:e.setValidity)try{this.internals.setFormValue(JSON.stringify(this.publicData())),t?this.internals.setValidity({}):this.internals.setValidity({customError:!0},null!==(i=Object.values(s)[0])&&void 0!==i?i:a("form.invalid"),null!==(r=this.host.querySelector("input, select, textarea"))&&void 0!==r?r:void 0)}catch(t){}}handleHostFormSubmit(t){var s;const e=null===(s=this.internals)||void 0===s?void 0:s.form;e&&t.target===e&&(t.preventDefault(),this.submit())}seeded(t){return Object.assign(Object.assign({},o(this.effectiveSpec())),t)}effectiveSpec(){var t;return null!==(t=this.expandedSpec)&&void 0!==t?t:this.spec}async runExpansion(){if(this.expandError=void 0,this.editable||!n(this.spec))return void(this.expandedSpec=void 0);const t=this.spec;this.expanding=!0;try{const s=await c(t);this.spec===t&&(this.expandedSpec=s,this.currentData=this.seeded(this.currentData))}catch(s){this.spec===t&&(this.expandedSpec=void 0,this.expandError=s instanceof Error?s.message:String(s))}finally{this.spec===t&&(this.expanding=!1)}}publicData(){return Object.fromEntries(Object.entries(this.currentData).filter((([t])=>!t.startsWith("_"))))}dataMap(t=this.currentData){return this.context?Object.assign(Object.assign({},t),this.context):t}handleBrickDataChange(t){t.stopPropagation(),this.currentData=this.applyValueEffects(Object.assign(Object.assign({},this.currentData),t.detail));const s=Object.assign({},this.touched);for(const e of Object.keys(t.detail))s[e]=!0;this.touched=s;const{valid:e,errors:i}=this.runValidation();this.formDataChange.emit({data:this.publicData(),isValid:e,errors:i}),this.emitValidity({valid:e,errors:i})}applyValueEffects(t){var s,e;let i=t;for(const{brick:t}of h(this.effectiveSpec())){const r=null===(s=t.configs)||void 0===s?void 0:s.key;if(!r||!(null===(e=t.rules)||void 0===e?void 0:e.length))continue;const a=d(t.rules,this.dataMap(i));void 0!==a.value&&i[r]!==a.value&&(i=Object.assign(Object.assign({},i),{[r]:a.value}))}return i}async validate(){var t;const s={};for(const{brick:e}of h(this.effectiveSpec())){const i=null===(t=e.configs)||void 0===t?void 0:t.key;i&&(s[i]=!0)}this.touched=s;const e=this.runValidation(),i=Object.assign({},e.errors);let r=e.valid;const a=Array.from(this.host.querySelectorAll("fk-data-grid"));for(const t of a){const s=await t.validateRows();r=r&&s.valid,Object.assign(i,s.errors)}const o={valid:r,errors:i};return this.emitValidity(o),this.formDataChange.emit({data:this.publicData(),isValid:o.valid,errors:o.errors}),o}async submit(){const t=await this.validate();return!t.valid||this.readOnly||this.disabled||this.formSubmit.emit({data:this.publicData(),isValid:!0,errors:{}}),t}handleStepTouch(t){t.stopPropagation();const s=Object.assign({},this.touched);for(const e of t.detail.keys)s[e]=!0;this.touched=s}async handleStepperSubmit(t){t.stopPropagation(),await this.submit()}runValidation(){const t=Object.fromEntries(Object.entries(this.currentData).filter((([,t])=>""!==t&&null!=t)));return l(this.effectiveSpec(),t,this.locale,this.context?this.dataMap(t):void 0)}visibleErrors(){if(this.editable)return{};const t={};for(const[s,e]of Object.entries(this.runValidation().errors))this.touched[s]&&(t[s]=e);return t}render(){var t;return this.spec?this.expanding?r("p",{class:"fk-form__expanding"},a("nestedForm.loading")):r("form",{class:"fk-form",onSubmit:t=>t.preventDefault()},this.expandError?r("span",{class:"fk-field__error",role:"alert"},this.expandError):null,r("fk-brick-render",{brickSpec:this.effectiveSpec(),rootSpec:this.effectiveSpec(),data:this.currentData,dataMap:this.dataMap(),errors:this.visibleErrors(),annotations:this.annotations,notes:this.notes,editableKeys:this.editableKeys,reviewable:this.reviewable,locale:this.locale,path:"0",editable:this.editable,readOnly:this.readOnly,disabled:this.disabled,selectedPath:this.selectedPath,utils:this.utils}),!this.showSubmit||this.editable||this.readOnly||this.disabled?null:r("button",{type:"submit",class:"fk-form__submit",onClick:t=>{t.preventDefault(),this.submit()}},null!==(t=this.submitLabel)&&void 0!==t?t:a("form.submit"))):null}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{data:[{syncData:0}],spec:[{onSpecChange:0}]}}static get style(){return".fk-form.sc-fk-form-render{display:flex;flex-direction:column;gap:var(--fk-spacing);font-family:var(--fk-font);color:var(--fk-color-text)}"}},[66,"fk-form-render",{spec:[16],data:[16],context:[16],editable:[4],readOnly:[4,"read-only"],disabled:[4],showSubmit:[4,"show-submit"],submitLabel:[1,"submit-label"],selectedPath:[1,"selected-path"],locale:[1],annotations:[16],notes:[16],editableKeys:[16],reviewable:[4],currentData:[32],touched:[32],expandedSpec:[32],expanding:[32],expandError:[32],validate:[64],submit:[64]},[[8,"submit","handleHostFormSubmit"],[0,"brickDataChange","handleBrickDataChange"],[0,"stepTouch","handleStepTouch"],[0,"stepperSubmit","handleStepperSubmit"]],{data:[{syncData:0}],spec:[{onSpecChange:0}]}]);function V(){"undefined"!=typeof customElements&&["fk-form-render","fk-address-search","fk-brick-actions","fk-brick-not-found","fk-brick-render","fk-code-editor","fk-data-grid","fk-document-reader","fk-drop-area","fk-file-input","fk-geo-map","fk-key-value","fk-select-input","fk-signature-input","fk-slot-picker","fk-stepper","fk-tabs","fk-variable-picker"].forEach((s=>{switch(s){case"fk-form-render":customElements.get(t(s))||customElements.define(t(s),F);break;case"fk-address-search":customElements.get(t(s))||f();break;case"fk-brick-actions":customElements.get(t(s))||u();break;case"fk-brick-not-found":customElements.get(t(s))||p();break;case"fk-brick-render":customElements.get(t(s))||b();break;case"fk-code-editor":customElements.get(t(s))||k();break;case"fk-data-grid":customElements.get(t(s))||v();break;case"fk-document-reader":customElements.get(t(s))||j();break;case"fk-drop-area":customElements.get(t(s))||y();break;case"fk-file-input":customElements.get(t(s))||g();break;case"fk-geo-map":customElements.get(t(s))||E();break;case"fk-key-value":customElements.get(t(s))||O();break;case"fk-select-input":customElements.get(t(s))||S();break;case"fk-signature-input":customElements.get(t(s))||C();break;case"fk-slot-picker":customElements.get(t(s))||x();break;case"fk-stepper":customElements.get(t(s))||D();break;case"fk-tabs":customElements.get(t(s))||w();break;case"fk-variable-picker":customElements.get(t(s))||B()}}))}V();export{F,V as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as r,p as t,H as o,c as e,h as s}from"./p-8ICOcloT.js";import{a}from"./p-92BozD8S.js";import{t as i}from"./p-D-Ecxaih.js";import{b as n}from"./p-
|
|
1
|
+
import{t as r,p as t,H as o,c as e,h as s}from"./p-8ICOcloT.js";import{a}from"./p-92BozD8S.js";import{t as i}from"./p-D-Ecxaih.js";import{b as n}from"./p-JQ8Ve1UU.js";const c=t(class extends o{constructor(r){super(),!1!==r&&this.__registerHost(),this.brickDrop=e(this,"brickDrop"),this.empty=!1,this.isOver=!1}componentDidLoad(){this.cleanup=a({element:this.host,onDragEnter:()=>this.isOver=!0,onDragLeave:()=>this.isOver=!1,onDrop:({source:r,location:t})=>{var o;if(this.isOver=!1,(null===(o=t.current.dropTargets[0])||void 0===o?void 0:o.element)!==this.host)return;const e=i(r.data,this.path);e&&this.brickDrop.emit(e)}})}disconnectedCallback(){var r;null===(r=this.cleanup)||void 0===r||r.call(this)}render(){return s("div",{key:"041ccf59aa693228c84a9fdd644cce6252b05b05",class:{"fk-drop":!0,"fk-drop--over":this.isOver,"fk-drop--empty":this.empty}},this.empty?s("div",{class:"fk-drop__empty"},s("p",{class:"fk-drop__title"},n("empty.title")),s("span",{class:"fk-drop__hint"},n("empty.hint"))):s("span",{class:"fk-drop__hint"},n("drop.hint")))}get host(){return this}static get style(){return".fk-drop.sc-fk-drop-area{display:flex;align-items:center;justify-content:center;min-height:40px;margin-top:calc(var(--fk-spacing) / 2);border:1px dashed var(--fk-color-border);border-radius:var(--fk-radius);color:var(--fk-color-muted);font-size:0.75rem;transition:border-color 120ms ease, background-color 120ms ease}.fk-drop--over.sc-fk-drop-area{border-color:var(--fk-color-primary);background:color-mix(in srgb, var(--fk-color-primary) 8%, transparent);color:var(--fk-color-primary)}.fk-drop--empty.sc-fk-drop-area{min-height:260px;display:flex;align-items:center;justify-content:center}.fk-drop__empty.sc-fk-drop-area{text-align:center}.fk-drop__title.sc-fk-drop-area{margin:0 0 4px;font-size:1.05rem;font-weight:600;color:var(--fk-color-text)}"}},[2,"fk-drop-area",{path:[1],empty:[4],isOver:[32]}]);function p(){"undefined"!=typeof customElements&&["fk-drop-area"].forEach((t=>{"fk-drop-area"===t&&(customElements.get(r(t))||customElements.define(r(t),c))}))}p();export{c as F,p as d}
|