@pantograph/vue 0.23.4 → 0.23.5
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/ActionButton/index.js +1 -1
- package/dist/ActionButton/index.umd.cjs +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-CoWtYp90.js → ActionButton.vue_vue_type_script_setup_true_lang-Byy-SUY7.js} +2 -2
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-BM-HiVKZ.js → ActionButton.vue_vue_type_script_setup_true_lang-byWs7FGA.js} +1 -1
- package/dist/Alert/index.js +1 -1
- package/dist/Alert/index.umd.cjs +1 -1
- package/dist/{Alert.vue_vue_type_style_index_0_lang-DmEdkb41.js → Alert.vue_vue_type_style_index_0_lang-B30XPHvm.js} +3 -3
- package/dist/{Alert.vue_vue_type_style_index_0_lang-CsZWFSR_.js → Alert.vue_vue_type_style_index_0_lang-zAvnYwjn.js} +1 -1
- package/dist/Avatar/index.js +1 -1
- package/dist/Avatar/index.umd.cjs +1 -1
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-DTndXzmH.js → Avatar.vue_vue_type_style_index_0_lang-B5QoCaie.js} +1 -1
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-CcKQb0PA.js → Avatar.vue_vue_type_style_index_0_lang-BH1gFvLI.js} +2 -2
- package/dist/AvatarGroup/index.js +1 -1
- package/dist/AvatarGroup/index.umd.cjs +1 -1
- package/dist/Badge/index.js +1 -1
- package/dist/Badge/index.umd.cjs +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-CsIGsGWg.js → Badge.vue_vue_type_script_setup_true_lang-X_MnjVp9.js} +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-Blql7wH1.js → Badge.vue_vue_type_script_setup_true_lang-uNQWz2GS.js} +1 -1
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-stkOtvTd.js → BaseButton.vue_vue_type_style_index_0_lang-CxL85kWZ.js} +2 -2
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-Ch3LDS1D.js → BaseButton.vue_vue_type_style_index_0_lang-DLorGJwo.js} +1 -1
- package/dist/Button/index.js +1 -1
- package/dist/Button/index.umd.cjs +1 -1
- package/dist/{Button.vue_vue_type_script_setup_true_lang-CIjMWs2s.js → Button.vue_vue_type_script_setup_true_lang-CZVffRST.js} +2 -2
- package/dist/{Button.vue_vue_type_script_setup_true_lang-BouXlBWO.js → Button.vue_vue_type_script_setup_true_lang-JEp-xK1r.js} +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/Checkbox/index.umd.cjs +1 -1
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-Bo8DiMqm.js → Checkbox.vue_vue_type_style_index_0_lang-Dh2oLmt5.js} +1 -1
- package/dist/{Checkbox.vue_vue_type_style_index_0_lang-2qQxhEQ0.js → Checkbox.vue_vue_type_style_index_0_lang-Dhn_dWz7.js} +2 -2
- package/dist/CheckboxGroup/index.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs +1 -1
- package/dist/Chip/index.js +2 -2
- package/dist/Chip/index.umd.cjs +1 -1
- package/dist/{Chip.vue_vue_type_style_index_0_lang-pkEj-IcZ.js → Chip.vue_vue_type_style_index_0_lang-DKr8EzbN.js} +2 -2
- package/dist/{Chip.vue_vue_type_style_index_0_lang-qKiQbAUD.js → Chip.vue_vue_type_style_index_0_lang-Ha5k2W3V.js} +1 -1
- package/dist/ChipGroup/index.js +1 -1
- package/dist/ChipGroup/index.umd.cjs +1 -1
- package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-BFHkFjPI.js → ChipGroup.vue_vue_type_style_index_0_lang-GEZo5nnM.js} +1 -1
- package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-DmbWGoar.js → ChipGroup.vue_vue_type_style_index_0_lang-V98bakNp.js} +1 -1
- package/dist/ColorPicker/index.js +1 -1
- package/dist/ColorPicker/index.umd.cjs +1 -1
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-DKGxK13w.js → ColorPicker.vue_vue_type_style_index_0_lang-BN0V43ck.js} +2 -2
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-CxWDk_6b.js → ColorPicker.vue_vue_type_style_index_0_lang-ofcHj216.js} +259 -259
- package/dist/ColorSwatch/index.js +1 -1
- package/dist/ColorSwatch/index.umd.cjs +1 -1
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-CABlbyiP.js → ColorSwatch.vue_vue_type_style_index_0_lang-C2CGtzy8.js} +1 -1
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-CAXvzEY_.js → ColorSwatch.vue_vue_type_style_index_0_lang-DvCAHexP.js} +3 -3
- package/dist/ColorSwatchGroup/index.js +1 -1
- package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
- package/dist/{ColorSwatchGroup.vue_vue_type_style_index_0_lang-Cjn4NZYK.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-BfwoeYwS.js} +6 -6
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-DtLQQxrr.js +1 -0
- package/dist/ColorTrigger/index.js +1 -1
- package/dist/ColorTrigger/index.umd.cjs +1 -1
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-BsexkD4u.js → ColorTrigger.vue_vue_type_style_index_0_lang-CieQBrWD.js} +1 -1
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-XqnB_VGl.js → ColorTrigger.vue_vue_type_style_index_0_lang-W0kl7vow.js} +3 -3
- package/dist/Combobox/index.js +1 -1
- package/dist/Combobox/index.umd.cjs +1 -1
- package/dist/Combobox.vue_vue_type_style_index_0_lang-B2b5MoSC.js +924 -0
- package/dist/Combobox.vue_vue_type_style_index_0_lang-DUnSgObq.js +1 -0
- package/dist/DataTable/index.js +1 -1
- package/dist/DataTable/index.umd.cjs +1 -1
- package/dist/{DataTable.vue_vue_type_style_index_0_lang-CpQ0Yn-D.js → DataTable.vue_vue_type_style_index_0_lang-D_T8Xxsh.js} +12 -12
- package/dist/DataTable.vue_vue_type_style_index_0_lang-aEvZTZpM.js +1 -0
- package/dist/DropZone/index.js +1 -1
- package/dist/DropZone/index.umd.cjs +1 -1
- package/dist/{DropZone.vue_vue_type_style_index_0_lang-DVZrmQwL.js → DropZone.vue_vue_type_style_index_0_lang-qf9hNusy.js} +1 -1
- package/dist/{DropZone.vue_vue_type_style_index_0_lang-BnrcUu_6.js → DropZone.vue_vue_type_style_index_0_lang-vhZKklYh.js} +1 -1
- package/dist/FloatButton/index.js +1 -1
- package/dist/FloatButton/index.umd.cjs +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-Br1BEY7H.js → FloatButton.vue_vue_type_script_setup_true_lang-DQGcKCNh.js} +2 -2
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-BOFSVjFP.js → FloatButton.vue_vue_type_script_setup_true_lang-fS1Yq2no.js} +1 -1
- package/dist/Form/index.js +1 -1
- package/dist/Form/index.umd.cjs +1 -1
- package/dist/{FormItem.vue_vue_type_style_index_0_lang-s7o6crR0.js → FormItem.vue_vue_type_style_index_0_lang-CTRszGlB.js} +3 -3
- package/dist/{FormItem.vue_vue_type_style_index_0_lang-CwxlEgep.js → FormItem.vue_vue_type_style_index_0_lang-DbMENNc4.js} +3 -3
- package/dist/GOPicker/index.js +1 -1
- package/dist/GOPicker/index.umd.cjs +1 -1
- package/dist/GraphicalObject/index.js +1 -1
- package/dist/GraphicalObject/index.umd.cjs +1 -1
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-BlFC2U5K.js → GraphicalObject.vue_vue_type_script_setup_true_lang-Cx0_O9-1.js} +1 -1
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-C7HScEPN.js → GraphicalObject.vue_vue_type_script_setup_true_lang-tkL7jO-r.js} +2 -2
- package/dist/GraphicalObjectGroup/index.js +1 -1
- package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
- package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DgjnAH0N.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CUdg78Ni.js} +1 -1
- package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-ChJsB7QV.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-D-dG-MEU.js} +1 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/IconButton/index.umd.cjs +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-DAX_14ed.js → IconButton.vue_vue_type_script_setup_true_lang-C0T_gnJS.js} +2 -2
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-DvbKC7wq.js → IconButton.vue_vue_type_script_setup_true_lang-DEHsCjTK.js} +1 -1
- package/dist/Image/index.js +1 -1
- package/dist/Image/index.umd.cjs +1 -1
- package/dist/{Image.vue_vue_type_style_index_0_lang-CGdnuyxZ.js → Image.vue_vue_type_style_index_0_lang-CgczUp3D.js} +1 -1
- package/dist/{Image.vue_vue_type_style_index_0_lang-CqilRo2A.js → Image.vue_vue_type_style_index_0_lang-Cmn0ijum.js} +1 -1
- package/dist/IndentLevel/index.js +1 -1
- package/dist/IndentLevel/index.umd.cjs +1 -1
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-CjaQqD7w.js → IndentLevel.vue_vue_type_style_index_0_lang-Cjlog39U.js} +2 -2
- package/dist/{IndentLevel.vue_vue_type_style_index_0_lang-DD2920xJ.js → IndentLevel.vue_vue_type_style_index_0_lang-Cwk_0wRr.js} +1 -1
- package/dist/Indicator/index.js +1 -1
- package/dist/Indicator/index.umd.cjs +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-Bnqpi2bU.js → Indicator.vue_vue_type_script_setup_true_lang-C-czibvQ.js} +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-D5xqdZRn.js → Indicator.vue_vue_type_script_setup_true_lang-DhdiDbED.js} +1 -1
- package/dist/Input/index.js +1 -1
- package/dist/Input/index.umd.cjs +1 -1
- package/dist/{Input.vue_vue_type_style_index_0_lang-C-jEi11-.js → Input.vue_vue_type_style_index_0_lang-Ccow0nkI.js} +4 -4
- package/dist/Input.vue_vue_type_style_index_0_lang-yHgbuD_4.js +1 -0
- package/dist/Label/index.js +1 -1
- package/dist/Label/index.umd.cjs +1 -1
- package/dist/Menu/index.js +1 -1
- package/dist/Menu/index.umd.cjs +1 -1
- package/dist/MenuItem/index.js +1 -1
- package/dist/MenuItem/index.umd.cjs +1 -1
- package/dist/{MenuItem.vue_vue_type_style_index_0_lang-DGaSx-eQ.js → MenuItem.vue_vue_type_style_index_0_lang-EaIWA0xP.js} +4 -4
- package/dist/{MenuItem.vue_vue_type_style_index_0_lang-DL9Njg73.js → MenuItem.vue_vue_type_style_index_0_lang-yuREIf6x.js} +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/Popover/index.umd.cjs +1 -1
- package/dist/{Popover.vue_vue_type_style_index_0_lang-CZYvVeso.js → Popover.vue_vue_type_style_index_0_lang-D7GA-4CS.js} +1 -1
- package/dist/{Popover.vue_vue_type_style_index_0_lang-ColyiCeV.js → Popover.vue_vue_type_style_index_0_lang-SLueqv_E.js} +2 -2
- package/dist/RadioGroup/index.js +1 -1
- package/dist/RadioGroup/index.umd.cjs +1 -1
- package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-Buet9dc2.js → RadioGroup.vue_vue_type_script_setup_true_lang-kxQIMaNz.js} +2 -2
- package/dist/{RadioGroup.vue_vue_type_script_setup_true_lang-lIx8QQp8.js → RadioGroup.vue_vue_type_script_setup_true_lang-mjzo15tQ.js} +1 -1
- package/dist/Segmented/index.js +1 -1
- package/dist/Segmented/index.umd.cjs +1 -1
- package/dist/{Segmented.vue_vue_type_style_index_0_lang-R_eXQ6g9.js → Segmented.vue_vue_type_style_index_0_lang-906ZRFCK.js} +26 -26
- package/dist/Segmented.vue_vue_type_style_index_0_lang-B4aQCMXZ.js +1 -0
- package/dist/Select/index.js +1 -1
- package/dist/Select/index.umd.cjs +1 -1
- package/dist/{Select.vue_vue_type_style_index_0_lang-Bc9kyMDB.js → Select.vue_vue_type_style_index_0_lang-C1iYwWCJ.js} +1 -1
- package/dist/{Select.vue_vue_type_style_index_0_lang-BfUtCG_-.js → Select.vue_vue_type_style_index_0_lang-DUy8bGSD.js} +6 -6
- package/dist/SubMenu/index.js +1 -1
- package/dist/SubMenu/index.umd.cjs +1 -1
- package/dist/Switch/index.js +1 -1
- package/dist/Switch/index.umd.cjs +1 -1
- package/dist/{Switch.vue_vue_type_style_index_0_lang-jzphTPAF.js → Switch.vue_vue_type_style_index_0_lang-BM-h82G0.js} +2 -2
- package/dist/{Switch.vue_vue_type_style_index_0_lang-DhuZK1wp.js → Switch.vue_vue_type_style_index_0_lang-DHT9utPp.js} +1 -1
- package/dist/{THead.vue_vue_type_style_index_0_lang-Du3rBBec.js → THead.vue_vue_type_style_index_0_lang-B6U8HrWi.js} +1 -1
- package/dist/{THead.vue_vue_type_style_index_0_lang-DtBQAI4D.js → THead.vue_vue_type_style_index_0_lang-CHicticP.js} +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/Table/index.umd.cjs +1 -1
- package/dist/Textarea/index.js +1 -1
- package/dist/Textarea/index.umd.cjs +1 -1
- package/dist/Textarea.vue_vue_type_style_index_0_lang-DiCqcDyH.js +1 -0
- package/dist/{Textarea.vue_vue_type_style_index_0_lang-Dbdx29In.js → Textarea.vue_vue_type_style_index_0_lang-UyndJFBo.js} +4 -4
- package/dist/Tree/index.js +1 -1
- package/dist/Tree/index.umd.cjs +1 -1
- package/dist/Tree/utils.d.ts +14 -1
- package/dist/{Tree.vue_vue_type_style_index_0_lang-BrJHHwGl.js → Tree.vue_vue_type_style_index_0_lang-B6uVPvX8.js} +1 -1
- package/dist/{Tree.vue_vue_type_style_index_0_lang-Bcy8moE2.js → Tree.vue_vue_type_style_index_0_lang-a_nDBSWx.js} +6 -6
- package/dist/exports.d.ts +4 -0
- package/dist/getEmojiList-CFiuBWyA.js +1 -0
- package/dist/{getEmojiList-DSYihWrO.js → getEmojiList-DYrYRrM5.js} +43 -43
- package/dist/index.d.ts +3 -6
- package/dist/index.js +60 -60
- package/dist/index.umd.cjs +1 -1
- package/dist/{omit-B3e_dACs.js → omit-BuBwx_M2.js} +182 -181
- package/dist/omit-CYbreqlf.js +1 -0
- package/dist/style/index.css +1 -1
- package/dist/{uniq-BsN259vC.js → uniq-BeFmBpYC.js} +1 -1
- package/dist/{uniq-Dhcbw64V.js → uniq-CezX8yQS.js} +1 -1
- package/dist/{useInputDataStates-CtuCKcP6.js → useInputDataStates-Bzs7T9xb.js} +2 -2
- package/dist/{useInputDataStates-DEfYzXQl.js → useInputDataStates-C1T7BL_V.js} +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-D8oB421I.js +0 -1
- package/dist/Combobox.vue_vue_type_style_index_0_lang-BM7QiXKH.js +0 -831
- package/dist/Combobox.vue_vue_type_style_index_0_lang-IdKdwJfN.js +0 -1
- package/dist/DataTable.vue_vue_type_style_index_0_lang-CnUiY5l1.js +0 -1
- package/dist/Input.vue_vue_type_style_index_0_lang-5iaTCkoa.js +0 -1
- package/dist/Segmented.vue_vue_type_style_index_0_lang-DqaTvxYQ.js +0 -1
- package/dist/Textarea.vue_vue_type_style_index_0_lang-BMbkTBJu.js +0 -1
- package/dist/getEmojiList-kI-Nn4xv.js +0 -1
- package/dist/omit-DEPypqqe.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, C as r, a as t, _ as e } from "../ColorSwatch.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as s, C as r, a as t, _ as e } from "../ColorSwatch.vue_vue_type_style_index_0_lang-DvCAHexP.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ColorSwatch,
|
|
4
4
|
r as ColorSwatchSizes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorSwatch.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorSwatch.vue_vue_type_style_index_0_lang-C2CGtzy8.js");exports.ColorSwatch=e._sfc_main;exports.ColorSwatchSizes=e.ColorSwatchSizes;exports.ColorSwatchTypes=e.ColorSwatchTypes;exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),k=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const e=require("vue"),k=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-Cx0_O9-1.js"),v=require("./options-CWrQ7gsa.js"),_=require("./omit-CYbreqlf.js"),r=require("@pantograph/utils"),C=require("class-variance-authority"),f=require("./IconButton.vue_vue_type_script_setup_true_lang-DEHsCjTK.js"),c=["sm","md"],l=["color","remover","custom-picker"],h={key:1,height:"100%",width:"100%",viewBox:"0 0 19 18",fill:"none"},z=e.defineComponent({...v.getComponentOptions("ColorTrigger"),__name:"ColorSwatch",props:{class:{},icon:{},flipOnDir:{},fg:{},bg:{},br:{},size:{default:"md"},selected:{type:Boolean},type:{default:"color"},customPickerIcon:{default:"tabler:palette"}},setup(p){const o=p,s=r.getBemBlock("color_swatch"),u=C.cva(s,{variants:{selected:r.generateVariantClassList("selected",s),size:r.generateVariantClassList(c,s),type:r.generateVariantClassList(l,s)}}),n=e.computed(()=>o.size&&c.includes(o.size)?o.size:"md"),m=e.computed(()=>({size:n.value,..._.omit(o,"size","class","type","selected","customPickerIcon")})),d=e.useSlots(),y=e.computed(()=>{switch(o.type){case"remover":case"color":return"div";case"custom-picker":return f._sfc_main}}),g=e.computed(()=>{const t={};return o.type==="custom-picker"&&(t.size=n.value,t.icon=o.customPickerIcon,t.color="gray",t.type="outline"),t});return(t,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(y.value),e.mergeProps({class:[e.unref(u)({selected:t.type!=="custom-picker"&&o.selected,size:t.size,type:t.type}),o.class]},g.value),{icon:e.withCtx(()=>[e.renderSlot(t.$slots,"icon",e.normalizeProps(e.guardReactiveProps(o)))]),default:e.withCtx(()=>[t.type==="color"?(e.openBlock(),e.createBlock(k._sfc_main,e.normalizeProps(e.mergeProps({key:0},m.value)),e.createSlots({_:2},[e.renderList(Object.keys(d),a=>({name:a,fn:e.withCtx(()=>[e.renderSlot(t.$slots,a,e.normalizeProps(e.guardReactiveProps(o)))])}))]),1040)):t.type==="remover"?(e.openBlock(),e.createElementBlock("svg",h,i[0]||(i[0]=[e.createElementVNode("path",{id:"Empty Indicator",d:"M17.5 1L1.5 17",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)]))):e.createCommentVNode("",!0),t.type==="custom-picker"?e.renderSlot(t.$slots,"default",e.normalizeProps(e.mergeProps({key:2},o))):e.createCommentVNode("",!0)]),_:3},16,["class"]))}});exports.ColorSwatchSizes=c;exports.ColorSwatchTypes=l;exports._sfc_main=z;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as B, computed as s, useSlots as S, createBlock as d, openBlock as c, resolveDynamicComponent as P, mergeProps as n, unref as _, withCtx as i, createElementBlock as b, createCommentVNode as f, renderSlot as a, normalizeProps as r, createSlots as $, renderList as I, guardReactiveProps as y, createElementVNode as E } from "vue";
|
|
2
|
-
import { _ as L } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as L } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-tkL7jO-r.js";
|
|
3
3
|
import { g as O } from "./options-D4et5euX.js";
|
|
4
|
-
import { o as V } from "./omit-
|
|
4
|
+
import { o as V } from "./omit-BuBwx_M2.js";
|
|
5
5
|
import { getBemBlock as D, generateVariantClassList as l } from "@pantograph/utils";
|
|
6
6
|
import { cva as N } from "class-variance-authority";
|
|
7
|
-
import { _ as T } from "./IconButton.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as T } from "./IconButton.vue_vue_type_script_setup_true_lang-C0T_gnJS.js";
|
|
8
8
|
const k = ["sm", "md"], j = ["color", "remover", "custom-picker"], M = {
|
|
9
9
|
key: 1,
|
|
10
10
|
height: "100%",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorSwatchGroup.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorSwatchGroup.vue_vue_type_style_index_0_lang-DtLQQxrr.js");exports.ColorSwatchGroup=e._sfc_main;exports.default=e._sfc_main;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as G, useSlots as L, ref as U, computed as f, createElementBlock as p, openBlock as l, normalizeClass as v, unref as a, createCommentVNode as b, createElementVNode as T, renderSlot as g, createTextVNode as q, toDisplayString as H, createBlock as C, Fragment as J, renderList as k, mergeProps as u, createSlots as V, withCtx as c, createVNode as $, normalizeProps as K, guardReactiveProps as Q } from "vue";
|
|
2
2
|
import { g as W } from "./options-D4et5euX.js";
|
|
3
3
|
import { useEmitAsProps as X } from "reka-ui";
|
|
4
|
-
import { C as Y, _ as y } from "./ColorSwatch.vue_vue_type_style_index_0_lang-
|
|
4
|
+
import { C as Y, _ as y } from "./ColorSwatch.vue_vue_type_style_index_0_lang-DvCAHexP.js";
|
|
5
5
|
import { a as B, b as M } from "./index-jwkhq8oW.js";
|
|
6
6
|
import { useVModel as Z } from "@vueuse/core";
|
|
7
7
|
import { getBemBlock as x, generateVariantClassList as ee, getBemElement as j } from "@pantograph/utils";
|
|
8
8
|
import { cva as oe } from "class-variance-authority";
|
|
9
|
-
import { o as te } from "./omit-
|
|
10
|
-
import { _ as re } from "./Popover.vue_vue_type_style_index_0_lang-
|
|
11
|
-
import { _ as se } from "./ColorPicker.vue_vue_type_style_index_0_lang-
|
|
12
|
-
import { f as S } from "./FormItem.vue_vue_type_style_index_0_lang-
|
|
9
|
+
import { o as te } from "./omit-BuBwx_M2.js";
|
|
10
|
+
import { _ as re } from "./Popover.vue_vue_type_style_index_0_lang-SLueqv_E.js";
|
|
11
|
+
import { _ as se } from "./ColorPicker.vue_vue_type_style_index_0_lang-ofcHj216.js";
|
|
12
|
+
import { f as S } from "./FormItem.vue_vue_type_style_index_0_lang-DbMENNc4.js";
|
|
13
13
|
const ge = /* @__PURE__ */ G({
|
|
14
14
|
...W("ColorSwatchGroup"),
|
|
15
15
|
__name: "ColorSwatchGroup",
|
|
@@ -40,7 +40,7 @@ const ge = /* @__PURE__ */ G({
|
|
|
40
40
|
h,
|
|
41
41
|
{
|
|
42
42
|
defaultValue: o.defaultValue,
|
|
43
|
-
passive:
|
|
43
|
+
passive: o.modelValue === void 0
|
|
44
44
|
}
|
|
45
45
|
), E = (e) => {
|
|
46
46
|
if (B(e))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),z=require("./options-CWrQ7gsa.js"),S=require("reka-ui"),u=require("./ColorSwatch.vue_vue_type_style_index_0_lang-C2CGtzy8.js"),a=require("./index-DWw7aruo.js"),q=require("@vueuse/core"),c=require("@pantograph/utils"),$=require("class-variance-authority"),j=require("./omit-CYbreqlf.js"),w=require("./Popover.vue_vue_type_style_index_0_lang-D7GA-4CS.js"),E=require("./ColorPicker.vue_vue_type_style_index_0_lang-BN0V43ck.js"),g=require("./FormItem.vue_vue_type_style_index_0_lang-CTRszGlB.js"),N=e.defineComponent({...z.getComponentOptions("ColorSwatchGroup"),__name:"ColorSwatchGroup",props:{format:{},defaultFormat:{},hideAlpha:{type:Boolean},size:{default:"md"},customPickerIcon:{},icon:{},class:{},noRemover:{type:Boolean},noCustomPicker:{type:Boolean},modelValue:{},headerCls:{},header:{},colorsCls:{},defaultValue:{},colors:{},colorMode:{default:"bold"},popoverProps:{}},emits:["update:format","update:modelValue"],setup(k,{emit:C}){const t=k,_=e.useSlots(),p=C,l=q.useVModel(t,"modelValue",p,{defaultValue:t.defaultValue,passive:t.modelValue===void 0}),b=o=>{if(a.isString(o))return{selected:l.value===o,icon:t.icon,bg:o};if(a.isObject(o))return{...j.omit(o,"value"),icon:o.icon??t.icon,selected:l.value===o.value}},i=c.getBemBlock("color_swatch_group"),y=$.cva(i,{variants:{size:c.generateVariantClassList(u.ColorSwatchSizes,i)}}),f=e.ref(!1),d=o=>a.isObject(o)?o.value:o??void 0,v=o=>{const r=d(o);l.value=r,f.value=!r},m=e.computed(()=>{if(t.colors)return t.colors;const o=["red","orange","yellow","lime","green","sky","blue","violet"];return t.colorMode==="subtle"?o.map(r=>`${r}-subtle`):typeof t.colorMode=="object"&&t.colorMode.value&&(t.colorMode.bg||t.colorMode.br||t.colorMode.fg)?o.map(r=>{const s={value:typeof t.colorMode=="object"&&t.colorMode.value==="subtle"?`${r}-subtle`:r};return typeof t.colorMode=="object"&&t.colorMode.bg&&(s.bg=t.colorMode.bg==="subtle"?`${r}-subtle`:r),typeof t.colorMode=="object"&&t.colorMode.br&&(s.br=t.colorMode.br==="subtle"?`${r}-subtle`:r),typeof t.colorMode=="object"&&t.colorMode.fg&&(s.fg=t.colorMode.fg==="subtle"?`${r}-subtle`:r),s}):o}),h=e.computed(()=>{var o;if(!((o=m.value)!=null&&o.length&&m.value.some(r=>a.isString(r)&&r===l.value||a.isObject(r)&&l.value===r.value)))return l.value}),P=o=>{o&&(l.value=o)},B=S.useEmitAsProps(p),V=e.computed(()=>({...g.pick(B,"onUpdate:format"),...g.pick(t,"format","defaultFormat","hideAlpha")}));return(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.class,e.unref(y)({size:o.size})])},[_.header||o.header?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(c.getBemElement)(e.unref(i),"header"),o.headerCls])},[e.renderSlot(o.$slots,"header",{},()=>[e.createTextVNode(e.toDisplayString(o.header),1)])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([e.unref(c.getBemElement)(e.unref(i),"colors"),o.colorsCls])},[o.noRemover?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(u._sfc_main,{key:0,type:"remover",size:o.size,onClick:r[0]||(r[0]=s=>v()),selected:!e.unref(l)&&f.value},null,8,["size","selected"])),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,s=>(e.openBlock(),e.createBlock(u._sfc_main,e.mergeProps({type:"color",size:o.size,icon:o.icon,ref_for:!0},b(s),{key:d(s),onClick:n=>v(s)}),e.createSlots({_:2},[e.renderList(Object.keys(o.$slots),n=>({name:n,fn:e.withCtx(M=>[e.renderSlot(o.$slots,n,e.mergeProps({ref_for:!0},{...M,value:d(s)}))])}))]),1040,["size","icon","onClick"]))),128)),o.noCustomPicker?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(w._sfc_main,e.mergeProps({key:1,trigger:"click","reverse-placement-on-dir":"rtl",placement:"right-start","side-offset":4},o.popoverProps||{}),{content:e.withCtx(()=>[e.createVNode(E._sfc_main,e.mergeProps({defaultColor:h.value,"onUpdate:color":P},V.value),null,16,["defaultColor"])]),default:e.withCtx(()=>[e.createVNode(u._sfc_main,{type:"custom-picker",size:o.size,customPickerIcon:o.customPickerIcon},e.createSlots({_:2},[e.renderList(Object.keys(o.$slots),s=>({name:s,fn:e.withCtx(n=>[e.renderSlot(o.$slots,s,e.normalizeProps(e.guardReactiveProps(n)))])}))]),1032,["size","customPickerIcon"])]),_:3},16))],2)],2))}});exports._sfc_main=N;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorTrigger.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorTrigger.vue_vue_type_style_index_0_lang-CieQBrWD.js");exports.ColorTrigger=e._sfc_main;exports.ColorTriggerSizes=e.ColorTriggerSizes;exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),m=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";const e=require("vue"),m=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-Cx0_O9-1.js"),_=require("./options-CWrQ7gsa.js"),t=require("@pantograph/utils"),p=require("class-variance-authority"),v=require("./Icon.vue_vue_type_style_index_0_lang-D3cRtJNJ.js"),z=require("./index-DWw7aruo.js"),b=require("./FormItem.vue_vue_type_style_index_0_lang-CTRszGlB.js"),C=require("./useInputDataStates-C1T7BL_V.js"),a=["sm","md","lg"],x=["disabled"],I=e.defineComponent({..._.getComponentOptions("ColorTrigger"),__name:"ColorTrigger",props:{icon:{},bg:{},br:{},fg:{},class:{},size:{default:"md"},disabled:{type:Boolean},borderless:{type:Boolean},suffixIcon:{type:[Boolean,String],default:"tabler:chevron-down"}},setup(u){const r=u,o=t.getBemBlock("color_trigger"),l=p.cva(o,{variants:{size:t.generateVariantClassList(a,o),borderless:t.generateVariantClassList("borderless",o),suffixIcon:t.generateVariantClassList("suffix-icon",o)}}),{getDisabled:f,getSize:n}=C.useFormInput({getSize:()=>r.size&&a.includes(r.size)?r.size:"md"}),d=e.computed(()=>({size:(()=>{switch(n.value){case"sm":return"2xsm";case"md":return"xsm";case"lg":return"sm"}})(),...b.pick(r,"icon","bg","br","fg")})),i=e.useSlots(),g=e.computed(()=>{switch(n.value){case"sm":return"2xsm";case"md":case"lg":return"xsm"}});return(s,S)=>(e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass([e.unref(l)({size:e.unref(n),borderless:s.borderless,suffixIcon:!!(s.suffixIcon||i.suffixIcon)}),r.class]),disabled:e.unref(f)},[e.createVNode(m._sfc_main,e.normalizeProps(e.guardReactiveProps(d.value)),e.createSlots({_:2},[e.renderList(Object.keys(i),c=>({name:c,fn:e.withCtx(()=>[e.renderSlot(s.$slots,c,e.normalizeProps(e.guardReactiveProps(r)))])}))]),1040),s.suffixIcon||i.suffixIcon?(e.openBlock(),e.createBlock(v._sfc_main,{key:0,icon:e.unref(z.isString)(s.suffixIcon)?s.suffixIcon:void 0,size:g.value},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"suffixIcon")]),_:3},8,["icon","size"])):e.createCommentVNode("",!0)],10,x))}});exports.ColorTriggerSizes=a;exports._sfc_main=I;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as C, computed as c, useSlots as I, createElementBlock as S, openBlock as l, unref as r, normalizeClass as _, createVNode as v, createBlock as k, createCommentVNode as h, normalizeProps as m, guardReactiveProps as f, createSlots as y, renderList as w, withCtx as u, renderSlot as d } from "vue";
|
|
2
|
-
import { _ as O } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as O } from "./GraphicalObject.vue_vue_type_script_setup_true_lang-tkL7jO-r.js";
|
|
3
3
|
import { g as $ } from "./options-D4et5euX.js";
|
|
4
4
|
import { getBemBlock as T, generateVariantClassList as n } from "@pantograph/utils";
|
|
5
5
|
import { cva as V } from "class-variance-authority";
|
|
6
6
|
import { _ as G } from "./Icon.vue_vue_type_style_index_0_lang-CbLL-Ngi.js";
|
|
7
7
|
import { a as L } from "./index-jwkhq8oW.js";
|
|
8
|
-
import { f as N } from "./FormItem.vue_vue_type_style_index_0_lang-
|
|
9
|
-
import { u as P } from "./useInputDataStates-
|
|
8
|
+
import { f as N } from "./FormItem.vue_vue_type_style_index_0_lang-DbMENNc4.js";
|
|
9
|
+
import { u as P } from "./useInputDataStates-Bzs7T9xb.js";
|
|
10
10
|
const g = ["sm", "md", "lg"], j = ["disabled"], Q = /* @__PURE__ */ C({
|
|
11
11
|
...$("ColorTrigger"),
|
|
12
12
|
__name: "ColorTrigger",
|
package/dist/Combobox/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, C as t, a as x, i as C, p as a } from "../Combobox.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as s, C as t, a as x, i as C, p as a } from "../Combobox.vue_vue_type_style_index_0_lang-B2b5MoSC.js";
|
|
2
2
|
export {
|
|
3
3
|
s as Combobox,
|
|
4
4
|
t as ComboboxSizes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Combobox.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Combobox.vue_vue_type_style_index_0_lang-DUnSgObq.js");exports.Combobox=o._sfc_main;exports.ComboboxSizes=o.ComboboxSizes;exports.ComboboxStatuses=o.ComboboxStatuses;exports.injectComboboxContext=o.injectComboboxContext;exports.provideComboboxContext=o.provideComboboxContext;
|