@feedmepos/ui-library 1.2.44 → 1.2.45
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/CHANGELOG.md +6 -0
- package/dist/federation/{FmDateRangePicker.vue_vue_type_script_setup_true_lang-CWVowUZN.js → FmDateRangePicker.vue_vue_type_script_setup_true_lang-B7mAAwdo.js} +1 -1
- package/dist/federation/{__federation_expose_FmDateRangePicker-Zeau_9De.js → __federation_expose_FmDateRangePicker-BTu7tzfk.js} +1 -1
- package/dist/federation/{__federation_expose_FmDateRangePickerMobile-J0RbUyB5.js → __federation_expose_FmDateRangePickerMobile-IAtuu7nM.js} +1 -1
- package/dist/federation/__federation_expose_FmSwitch-Bt3Spn0h.js +1 -0
- package/dist/federation/__federation_expose_FmSwitch-luzGdQXH.css +1 -0
- package/dist/federation/feedmepos-ui-components.js +1 -1
- package/dist/federation/{index-DpQK_SgO.js → index-DFJjo8V3.js} +2 -2
- package/dist/feedmepos-ui-library.js +309 -309
- package/dist/feedmepos-ui-library.umd.cjs +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/federation/__federation_expose_FmSwitch-C9Zsq5u-.js +0 -1
- package/dist/federation/__federation_expose_FmSwitch-DRhVuiyD.css +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{importShared as r,__tla as D}from"./__federation_fn_import-CYKgoy9p.js";import{u as N,__tla as j}from"./useProxiedModel-DbArcH0F.js";import H,{__tla as J}from"./__federation_expose_FmIcon-BbkanMuo.js";import{F as K}from"./provider-keys-nUDvvk3o.js";import{_ as $}from"./_plugin-vue_export-helper-DlAUqK2U.js";let V,q=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return j}catch{}})(),(()=>{try{return J}catch{}})()]).then(async()=>{let u,m,s,a,l,t,o,n,p,_,P,E,b,f,y,v,h,k,w,C,F,B,I,S;({defineComponent:u}=await r("vue")),{renderSlot:m,toDisplayString:s,createElementVNode:a,openBlock:l,createElementBlock:t,createCommentVNode:o,unref:n,createBlock:p,normalizeClass:_,pushScopeId:P,popScopeId:E}=await r("vue"),b={class:"cursor-pointer fm-switch__container"},f={key:0},y={class:"fm-typo-en-body-lg-400"},v={key:0,class:"fm-typo-en-body-md-400 text-fm-color-typo-secondary"},h={class:"fm-switch__input--container"},k=["checked","disabled","value"],w={key:1},C={class:"fm-typo-en-body-lg-400"},F={key:0,class:"fm-color-typo-secondary fm-typo-en-body-md-400"},{computed:B,inject:I}=await r("vue"),S=u({__name:"FmSwitch",props:{modelValue:{type:Boolean},label:{default:""},sublabel:{default:""},labelPlacement:{default:"left"},value:{default:null},disabled:{type:Boolean,default:void 0},showIcon:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(x){const g=x,d=I(K,null),i=B(()=>g.disabled??(d==null?void 0:d.getDisabled())??!1),c=N(g,"modelValue"),z=()=>{i.value||(c.value=!c.value)};return(e,A)=>(l(),t("label",b,[e.labelPlacement==="left"?(l(),t("div",f,[m(e.$slots,"label",{},void 0,!0),a("div",y,s(e.label),1),e.sublabel?(l(),t("div",v,s(e.sublabel),1)):o("",!0)])):o("",!0),a("div",h,[a("input",{checked:n(c),disabled:i.value,value:e.value,class:"fm-switch__input--btn",type:"checkbox",onClick:z},null,8,k),a("div",{class:_({"fm-switch__input--knob":!0,"fm-switch__input--knob--show-icon":e.showIcon})},[e.showIcon?(l(),p(H,{key:0,color:i.value?"#C7C7CC":n(c)?"#1C1C1E":"#FFFFFF",name:n(c)?"check":"close",size:"sm"},null,8,["color","name"])):o("",!0)],2)]),e.labelPlacement==="right"?(l(),t("div",w,[a("div",C,s(e.label),1),e.sublabel?(l(),t("div",F,s(e.sublabel),1)):o("",!0)])):o("",!0)]))}}),V=$(S,[["__scopeId","data-v-4448e953"]])});export{q as __tla,V as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.fm-switch__container[data-v-4448e953]{position:relative;min-width:32px;display:flex;align-items:center;gap:8px}.fm-switch__input--container[data-v-4448e953]{position:relative;display:flex;align-items:center;transition:.3s}.fm-switch__input--knob[data-v-4448e953]{position:absolute;left:8px;height:16px;width:16px;display:flex;padding:4px;background-color:var(--fm-color-neutral-gray-400);border-radius:360px;transition:.3s}.fm-switch__input--knob--show-icon[data-v-4448e953]{height:24px;width:24px;left:4px}.fm-switch__input--btn[data-v-4448e953]{position:relative;height:32px;width:52px;flex-shrink:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-width:2px;border-color:var(--fm-color-neutral-gray-400);border-radius:100px;cursor:pointer}.fm-switch__input--btn[data-v-4448e953]:checked{background-color:var(--fm-color-primary);border-color:var(--fm-color-primary)}.fm-switch__input--btn:checked:disabled~.fm-switch__input--knob[data-v-4448e953]{background-color:var(--fm-color-neutral-white)}.fm-switch__input--btn:checked~.fm-switch__input--knob[data-v-4448e953]{position:absolute;left:24px;height:24px;width:24px;background-color:var(--fm-color-neutral-white)}.fm-switch__input--btn[data-v-4448e953]:disabled{background-color:var(--fm-color-neutral-gray-200);border-width:2px;border-color:var(--fm-color-neutral-gray-300);cursor:not-allowed}.fm-switch__input--btn:disabled~.fm-switch__input--knob[data-v-4448e953]{background-color:var(--fm-color-neutral-gray-300)}
|