bromcom-ui 2.7.1 → 2.7.2
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/bromcom-ui/bromcom-ui.css +2 -2
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-09810641.entry.js → p-09f8ba7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ddeb0ae4.entry.js → p-0de8098f.entry.js} +1 -1
- package/dist/bromcom-ui/p-108cea35.entry.js +1 -0
- package/dist/bromcom-ui/{p-b45dcbe8.entry.js → p-16b0d63c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4e35deee.entry.js → p-1931efe4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-494fc83b.entry.js → p-1e629ab7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-67be60e2.entry.js → p-27440be5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-da316919.entry.js → p-28304fca.entry.js} +1 -1
- package/dist/bromcom-ui/p-2c474a88.entry.js +1 -0
- package/dist/bromcom-ui/{p-b3b4ef8d.entry.js → p-3213c2a7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-64d3d605.entry.js → p-34e9a93c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-43b0c385.entry.js → p-4c5fcb23.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9a6410dc.entry.js → p-58ade41b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7c8ed186.entry.js → p-6a72fcb9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8144ffe7.entry.js → p-6ee18808.entry.js} +1 -1
- package/dist/bromcom-ui/{p-331e551b.entry.js → p-729c68a5.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c3f9e0b2.entry.js → p-733d1e74.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b601be1.entry.js → p-75f3aab8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fc83d65c.entry.js → p-760d3ea6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-965236c1.entry.js → p-7b119261.entry.js} +1 -1
- package/dist/bromcom-ui/p-82b236a9.entry.js +1 -0
- package/dist/bromcom-ui/{p-39a8376a.entry.js → p-92929a86.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2348a904.entry.js → p-972adc7a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-89e2597d.entry.js → p-b6fdac20.entry.js} +1 -1
- package/dist/bromcom-ui/{p-725810f8.js → p-c0b68c8c.js} +1 -1
- package/dist/bromcom-ui/p-c67da23a.entry.js +1 -0
- package/dist/bromcom-ui/{p-a2e25964.entry.js → p-c6dae946.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9d04f3af.js → p-c9bd3da3.js} +1 -1
- package/dist/bromcom-ui/{p-ab435bec.entry.js → p-cb8d2ca7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-2144df2b.entry.js → p-cfb707d8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ceece3da.entry.js → p-d45b4649.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9309e3a3.entry.js → p-d888f9d7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-49dbb6be.entry.js → p-e6bbbe01.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c18f9a02.entry.js → p-e6f85304.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5063246.entry.js → p-e7e69f6c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c5142b2f.entry.js → p-e8521633.entry.js} +1 -1
- package/dist/bromcom-ui/{p-917c8039.entry.js → p-ff048952.entry.js} +1 -1
- package/dist/cjs/bcm-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bcm-action-buttons.cjs.entry.js +1 -1
- package/dist/cjs/bcm-alert.cjs.entry.js +1 -1
- package/dist/cjs/bcm-attendance.cjs.entry.js +1 -1
- package/dist/cjs/bcm-avatar.cjs.entry.js +1 -1
- package/dist/cjs/bcm-badge.cjs.entry.js +1 -1
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-button_14.cjs.entry.js +5 -4
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox-lite_7.cjs.entry.js +1 -1
- package/dist/cjs/bcm-checkbox_3.cjs.entry.js +1 -1
- package/dist/cjs/bcm-collapse.cjs.entry.js +1 -1
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-drawer.cjs.entry.js +1 -1
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input.cjs.entry.js +1 -1
- package/dist/cjs/bcm-list.cjs.entry.js +1 -1
- package/dist/cjs/bcm-modal.cjs.entry.js +43 -3
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-radio.cjs.entry.js +1 -1
- package/dist/cjs/bcm-range.cjs.entry.js +1 -1
- package/dist/cjs/bcm-search-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-step.cjs.entry.js +2 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +2 -2
- package/dist/cjs/bcm-student-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-switch.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tag.cjs.entry.js +1 -1
- package/dist/cjs/bcm-textarea.cjs.entry.js +1 -1
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{generate-55674e27.js → generate-3c85d013.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{stepper-states-bbbef267.js → stepper-states-32b97a52.js} +1 -1
- package/dist/collection/components/atoms/button/button.css +2 -1
- package/dist/collection/components/molecules/dropdown/dropdown.js +1 -1
- package/dist/collection/components/molecules/modal/modal.css +308 -30
- package/dist/collection/components/molecules/modal/modal.js +60 -4
- package/dist/collection/components/molecules/switch/switch.css +1 -0
- package/dist/collection/components/organism/tabs/tab.css +284 -11
- package/dist/collection/new-ds/components/menu/menu.css +0 -1
- package/dist/collection/new-ds/components/menu/menu.js +1 -0
- package/dist/esm/bcm-accordion.entry.js +1 -1
- package/dist/esm/bcm-action-buttons.entry.js +1 -1
- package/dist/esm/bcm-alert.entry.js +1 -1
- package/dist/esm/bcm-attendance.entry.js +1 -1
- package/dist/esm/bcm-avatar.entry.js +1 -1
- package/dist/esm/bcm-badge.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +1 -1
- package/dist/esm/bcm-button_14.entry.js +5 -4
- package/dist/esm/bcm-checkbox-group.entry.js +1 -1
- package/dist/esm/bcm-checkbox-lite_7.entry.js +1 -1
- package/dist/esm/bcm-checkbox_3.entry.js +1 -1
- package/dist/esm/bcm-collapse.entry.js +1 -1
- package/dist/esm/bcm-default.entry.js +1 -1
- package/dist/esm/bcm-drawer.entry.js +1 -1
- package/dist/esm/bcm-expansion-panel.entry.js +1 -1
- package/dist/esm/bcm-form-2.entry.js +1 -1
- package/dist/esm/bcm-input.entry.js +1 -1
- package/dist/esm/bcm-list.entry.js +1 -1
- package/dist/esm/bcm-modal.entry.js +43 -3
- package/dist/esm/bcm-popconfirm-box.entry.js +1 -1
- package/dist/esm/bcm-popconfirm.entry.js +1 -1
- package/dist/esm/bcm-popover-box.entry.js +1 -1
- package/dist/esm/bcm-popover.entry.js +1 -1
- package/dist/esm/bcm-radio-group.entry.js +1 -1
- package/dist/esm/bcm-radio.entry.js +1 -1
- package/dist/esm/bcm-range.entry.js +1 -1
- package/dist/esm/bcm-search-2.entry.js +1 -1
- package/dist/esm/bcm-step.entry.js +2 -2
- package/dist/esm/bcm-stepper.entry.js +2 -2
- package/dist/esm/bcm-student-card.entry.js +1 -1
- package/dist/esm/bcm-switch.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +1 -1
- package/dist/esm/bcm-tag.entry.js +1 -1
- package/dist/esm/bcm-textarea.entry.js +1 -1
- package/dist/esm/bcm-time-picker.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +1 -1
- package/dist/esm/{generate-f17b823f.js → generate-fc52157e.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{stepper-states-fc676d05.js → stepper-states-6f74146a.js} +1 -1
- package/dist/types/components/molecules/modal/modal.d.ts +3 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-059d1920.entry.js +0 -1
- package/dist/bromcom-ui/p-0fc4f713.entry.js +0 -1
- package/dist/bromcom-ui/p-2ba00dc0.entry.js +0 -1
- package/dist/bromcom-ui/p-8ce907d9.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as s,r as e,c as t,g as i}from"./p-9d960649.js";import{G as c}from"./p-
|
|
1
|
+
import{h as s,r as e,c as t,g as i}from"./p-9d960649.js";import{G as c}from"./p-c9bd3da3.js";import{B as o}from"./p-beba9505.js";import"./p-112455b1.js";import{c as r}from"./p-7294ec8e.js";import"./p-6d018a8f.js";import{C as l}from"./p-312efff7.js";import{e as a}from"./p-fc2b2e5c.js";import{N as h}from"./p-44d6172f.js";var n;!function(s){s.black="black",s.white="white",s["prime-blue"]="prime-blue",s.grey="grey",s.blue="blue",s.warmyellow="warmyellow",s.yellow="yellow",s.limegreen="limegreen",s.red="red",s.darkorange="darkorange",s.orange="orange",s.green="green",s.turquosie="turquosie",s.cobaltblue="cobaltblue",s.magenta="magenta",s.purple="purple",s["bc-red"]="bc-red",s["bc-blue"]="bc-blue",s["bc-green"]="bc-green",s["bc-orange"]="bc-orange"}(n||(n={}));const d=({_id:e,color:t,customStyle:i,size:c,checked:d,hidden:m,value:p,type:b,onDismiss:u,onSelect:g})=>{!c&&(c=o.FontSize["size-1"]);const f=(s,e=!1)=>(h.isNumber(s)&&(s=o.FontSize["size-"+s]||o.FontSize["size-4"]),e?+(o.FontSizeValue[s]||o.FontSizeValue["size-4"])+2:s),y=r("bcm-tag__content",b,f(c)),k=r("bcm-tag",{hidden:m}),j=f(c,!0);return s("div",{id:e,class:r(k,{checked:d})},s("span",{hidden:!0},s("slot",null)),s("span",{class:y,style:(s=>{if((b===o.TagType.basic||b==o.TagType.dismissable)&&n[s])return{color:a(l,n[s]+"-6"),borderColor:a(l,n[s]+"-3"),backgroundColor:a(l,n[s]+"-1")}})(t),onClick:s=>g(s)},b===o.TagType.add&&s("span",{class:"left"},s("bcm-old-icon",{icon:"plus",type:"outlined",color:"grey-8",size:j})),b===o.TagType.checkable&&s("input",{type:"checkbox",checked:d}),s("span",{class:"value",style:i},p),b===o.TagType.dismissable&&s("span",{class:"right close-button",onClick:s=>u(s)},s("i",{class:"bcm-fal bcm-fa-times"}))))},m=class{constructor(s){e(this,s),this.change=t(this,"bcm-change",7),this.tagDismissable=t(this,"bcm-tag-dismissable",7),this.bcmTagSelect=t(this,"bcm-tag-select",7),this._id=c.UID(),this._internal_id=c.UID(),this.hidden=!1,this.value="",this.type=o.TagType.basic,this.checked=!1,this.size=o.FontSize["size-1"],this.closeFunc=s=>s,this.selectFunc=s=>s}handleClick(){this.type===o.TagType.checkable&&this.handleChecked()}handleClose(){this.tagDismissable.emit(this.el)}handleChecked(){this.checked=!this.checked,this.change.emit(this.checked)}render(){const{type:e,color:t,value:i,customStyle:c,size:r,hidden:l,checked:a}=this;return s(d,{size:r,hidden:l,color:t,customStyle:c,checked:a,value:i,type:o.TagType[e],onSelect:s=>{this.bcmTagSelect.emit(s),this.selectFunc({event:s,id:this._id})},onDismiss:s=>{this.handleClose(),this.closeFunc(s)}})}get el(){return i(this)}};export{m as bcm_tag}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e,H as i,g as a}from"./p-9d960649.js";import{G as r}from"./p-c9bd3da3.js";import"./p-112455b1.js";import{c}from"./p-7294ec8e.js";import"./p-6d018a8f.js";import"./p-a8b797d7.js";import{I as h}from"./p-407ce259.js";import{A as p}from"./p-94456a04.js";import{s as o}from"./p-c0b68c8c.js";var n=function(t,s,e,i){var a,r=arguments.length,c=r<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,e):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,s,e,i);else for(var h=t.length-1;h>=0;h--)(a=t[h])&&(c=(r<3?a(c):r>3?a(s,e,c):a(s,e))||c);return r>3&&c&&Object.defineProperty(s,e,c),c};const d=class{constructor(e){t(this,e),this.dataIsLoaded=s(this,"data-is-loaded",7),this.bcmChangeHidden=s(this,"bcm-change-hidden",7),this.hidden=!1,this._id=r.UID(),this.status="default",this.loading=!1,this.valid=!0,this.active=!1,this.isLast=!1,this.disabled=!1}componentDidLoad(){this.isLast&&this.dataIsLoaded.emit(!0)}getStepper(){return this.el.closest("bcm-stepper")||null}activeChanged(){if(this.active){const t=this.getStepper();t&&o.changeStepDisabled(t.id,this._id,!1)}}statusChange(){const t=this.getStepper();t&&o.changeStepStatus(t.id,this._id,this.status)}hiddenChange(t,s){const e=this.getStepper();t!==s&&e&&!this.active&&this.bcmChangeHidden.emit(t)}render(){const{hidden:t,valid:s,active:a}=this,r=c("bcm-stepper__step",s?"bcm-stepper__step-valid":"bcm-stepper__step-invalid",{"bcm-stepper__step-active":a,hidden:t});return e(i,{class:r},e("slot",null))}get el(){return a(this)}static get watchers(){return{active:["activeChanged"],status:["statusChange"],hidden:["hiddenChange"]}}};n([h()],d.prototype,"el",void 0),n([p("title")],d.prototype,"_title",void 0);export{d as bcm_step}
|