@pantograph/vue 0.23.3 → 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-C40QLnax.js → ActionButton.vue_vue_type_script_setup_true_lang-Byy-SUY7.js} +2 -2
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-byWs7FGA.js +1 -0
- 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-DugtMNn6.js → Alert.vue_vue_type_style_index_0_lang-B30XPHvm.js} +4 -4
- package/dist/{Alert.vue_vue_type_style_index_0_lang-x6PDS57O.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-Dbdnz5VW.js → Avatar.vue_vue_type_style_index_0_lang-B5QoCaie.js} +1 -1
- package/dist/{Avatar.vue_vue_type_style_index_0_lang-DTxpdu2k.js → Avatar.vue_vue_type_style_index_0_lang-BH1gFvLI.js} +3 -3
- 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-X_MnjVp9.js +1 -0
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-Dc6rezGr.js → Badge.vue_vue_type_script_setup_true_lang-uNQWz2GS.js} +2 -2
- package/dist/Base/BaseBadge/BaseBadge.d.ts +1 -1
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-BMX9MX3W.js → BaseBadge.vue_vue_type_style_index_0_lang-Bhdde0lY.js} +14 -13
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-CA4e9gEN.js +1 -0
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-BGYEuhbj.js → BaseButton.vue_vue_type_style_index_0_lang-CxL85kWZ.js} +19 -18
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-DLorGJwo.js +1 -0
- package/dist/Button/Button.d.ts +2 -2
- 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-bjhWtH8H.js → Button.vue_vue_type_script_setup_true_lang-CZVffRST.js} +2 -2
- package/dist/Button.vue_vue_type_script_setup_true_lang-JEp-xK1r.js +1 -0
- package/dist/Checkbox/Checkbox.d.ts +2 -2
- 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-Dh2oLmt5.js +1 -0
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-Dhn_dWz7.js +224 -0
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +7 -4
- package/dist/CheckboxGroup/index.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs +1 -1
- package/dist/Chip/Chip.d.ts +1 -0
- 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-Ci2Oqnfd.js → Chip.vue_vue_type_style_index_0_lang-DKr8EzbN.js} +24 -22
- package/dist/Chip.vue_vue_type_style_index_0_lang-Ha5k2W3V.js +1 -0
- 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-Bln1W3La.js → ChipGroup.vue_vue_type_style_index_0_lang-GEZo5nnM.js} +1 -1
- package/dist/{ChipGroup.vue_vue_type_style_index_0_lang-ZlvXsJHD.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-BnjCOPow.js → ColorPicker.vue_vue_type_style_index_0_lang-BN0V43ck.js} +2 -2
- package/dist/{ColorPicker.vue_vue_type_style_index_0_lang-B8rVS60w.js → ColorPicker.vue_vue_type_style_index_0_lang-ofcHj216.js} +6 -6
- package/dist/ColorSwatch/ColorSwatch.d.ts +1 -1
- 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-C2CGtzy8.js +1 -0
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-CjQa4I-g.js → ColorSwatch.vue_vue_type_style_index_0_lang-DvCAHexP.js} +4 -5
- 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-BxBlKgbC.js → ColorSwatchGroup.vue_vue_type_style_index_0_lang-BfwoeYwS.js} +37 -35
- 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-CieQBrWD.js +1 -0
- package/dist/{ColorTrigger.vue_vue_type_style_index_0_lang-BNTg203W.js → ColorTrigger.vue_vue_type_style_index_0_lang-W0kl7vow.js} +25 -23
- package/dist/Combobox/Combobox.d.ts +82 -0
- package/dist/Combobox/Combobox.model.d.ts +4 -0
- package/dist/Combobox/ComboboxInput.d.ts +2 -0
- package/dist/Combobox/ComboboxLabel.d.ts +16 -0
- package/dist/Combobox/ComboboxOption.d.ts +19 -0
- package/dist/Combobox/ComboboxTrigger.d.ts +4 -0
- package/dist/Combobox/ComboboxWrapper.d.ts +4 -0
- package/dist/Combobox/context.d.ts +34 -0
- package/dist/Combobox/index.d.ts +4 -0
- package/dist/Combobox/index.js +8 -0
- package/dist/Combobox/index.umd.cjs +1 -0
- package/dist/Combobox/types.d.ts +111 -0
- 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/ConfigProvider/index.js +5 -5
- package/dist/ConfigProvider/index.umd.cjs +1 -1
- package/dist/DataTable/DataTable.d.ts +1 -1
- 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-9W9p_J1i.js → DataTable.vue_vue_type_style_index_0_lang-D_T8Xxsh.js} +161 -156
- package/dist/DataTable.vue_vue_type_style_index_0_lang-aEvZTZpM.js +1 -0
- package/dist/DropZone/DropZone.d.ts +1 -1
- 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-qf9hNusy.js +1 -0
- package/dist/{DropZone.vue_vue_type_style_index_0_lang-CH23eQwT.js → DropZone.vue_vue_type_style_index_0_lang-vhZKklYh.js} +2 -2
- package/dist/Empty/index.js +1 -1
- package/dist/Empty/index.umd.cjs +1 -1
- package/dist/Empty.vue_vue_type_style_index_0_lang-DidQV2p4.js +1 -0
- package/dist/{Empty.vue_vue_type_style_index_0_lang-C4a5JepF.js → Empty.vue_vue_type_style_index_0_lang-jfObDGf0.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-BGZBnlXi.js → FloatButton.vue_vue_type_script_setup_true_lang-DQGcKCNh.js} +2 -2
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-fS1Yq2no.js +1 -0
- package/dist/Form/Form.d.ts +2 -2
- 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-CTRszGlB.js +9 -0
- package/dist/FormItem.vue_vue_type_style_index_0_lang-DbMENNc4.js +2785 -0
- package/dist/GOPicker/GOPicker.d.ts +13 -8
- 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-Cx0_O9-1.js +1 -0
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-BZCn44kG.js → GraphicalObject.vue_vue_type_script_setup_true_lang-tkL7jO-r.js} +3 -3
- 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-COvFyzfP.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CUdg78Ni.js} +1 -1
- package/dist/{GraphicalObjectGroup.vue_vue_type_style_index_0_lang-DiSPJXBZ.js → GraphicalObjectGroup.vue_vue_type_style_index_0_lang-D-dG-MEU.js} +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/Icon/index.umd.cjs +1 -1
- package/dist/Icon.vue_vue_type_style_index_0_lang-CbLL-Ngi.js +49 -0
- package/dist/Icon.vue_vue_type_style_index_0_lang-D3cRtJNJ.js +1 -0
- package/dist/IconButton/IconButton.d.ts +2 -2
- 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-BjFzPsUi.js → IconButton.vue_vue_type_script_setup_true_lang-C0T_gnJS.js} +2 -2
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-DEHsCjTK.js +1 -0
- 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-CgczUp3D.js +1 -0
- package/dist/{Image.vue_vue_type_style_index_0_lang-3vJwTwh4.js → Image.vue_vue_type_style_index_0_lang-Cmn0ijum.js} +17 -16
- package/dist/IndentLevel/IndentLevel.d.ts +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-BWLdpspA.js → IndentLevel.vue_vue_type_style_index_0_lang-Cjlog39U.js} +8 -8
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-Cwk_0wRr.js +1 -0
- 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-C-czibvQ.js +1 -0
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-B1mn9s7i.js → Indicator.vue_vue_type_script_setup_true_lang-DhdiDbED.js} +2 -2
- package/dist/Input/Input.d.ts +4 -4
- 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-BFNYYFfe.js → Input.vue_vue_type_style_index_0_lang-Ccow0nkI.js} +48 -46
- package/dist/Input.vue_vue_type_style_index_0_lang-yHgbuD_4.js +1 -0
- package/dist/Kbd/index.js +1 -1
- package/dist/Kbd/index.umd.cjs +1 -1
- package/dist/{Kbd.vue_vue_type_style_index_0_lang-uEudChpD.js → Kbd.vue_vue_type_style_index_0_lang-BQkzD8ay.js} +1 -1
- package/dist/Kbd.vue_vue_type_style_index_0_lang-CjNtLg1e.js +1 -0
- package/dist/Label/index.js +1 -1
- package/dist/Label/index.umd.cjs +1 -1
- package/dist/Link/index.js +1 -1
- package/dist/Link/index.umd.cjs +1 -1
- package/dist/{Link.vue_vue_type_style_index_0_lang-AsoIRQm_.js → Link.vue_vue_type_style_index_0_lang-BrS3jRuX.js} +16 -15
- package/dist/Link.vue_vue_type_style_index_0_lang-C1i1VsGw.js +1 -0
- package/dist/Menu/Menu.d.ts +6 -13
- package/dist/Menu/MenuItemWrapper.d.ts +15 -0
- package/dist/Menu/index.js +1 -1
- package/dist/Menu/index.umd.cjs +1 -1
- package/dist/MenuItem/MenuItem.d.ts +2 -26
- package/dist/MenuItem/MenuItemContent.d.ts +2 -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-EaIWA0xP.js +579 -0
- package/dist/MenuItem.vue_vue_type_style_index_0_lang-yuREIf6x.js +1 -0
- package/dist/Popover/Popover.d.ts +1 -1
- package/dist/Popover/index.js +1 -1
- package/dist/Popover/index.umd.cjs +1 -1
- package/dist/Popover/utils.d.ts +0 -1
- package/dist/Popover.vue_vue_type_style_index_0_lang-D7GA-4CS.js +1 -0
- package/dist/Popover.vue_vue_type_style_index_0_lang-SLueqv_E.js +241 -0
- package/dist/RadioGroup/RadioGroupItem.d.ts +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-bWA97IMn.js → RadioGroup.vue_vue_type_script_setup_true_lang-kxQIMaNz.js} +2 -2
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-mjzo15tQ.js +1 -0
- package/dist/ScrollContainer/ScrollContainer.d.ts +1 -1
- package/dist/ScrollContainer/index.js +1 -1
- package/dist/ScrollContainer/index.umd.cjs +1 -1
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-BIoD2_5T.js +1 -0
- package/dist/{ScrollContainer.vue_vue_type_style_index_0_lang-CZgFGbH_.js → ScrollContainer.vue_vue_type_style_index_0_lang-DfMU1mTu.js} +1 -1
- package/dist/Segmented/Segmented.d.ts +57 -0
- package/dist/Segmented/Segmented.model.d.ts +2 -0
- package/dist/Segmented/index.d.ts +2 -0
- package/dist/Segmented/index.js +6 -0
- package/dist/Segmented/index.umd.cjs +1 -0
- package/dist/Segmented.vue_vue_type_style_index_0_lang-906ZRFCK.js +165 -0
- package/dist/Segmented.vue_vue_type_style_index_0_lang-B4aQCMXZ.js +1 -0
- package/dist/Select/Select.d.ts +2 -2
- package/dist/Select/context.d.ts +1 -3
- package/dist/Select/index.js +1 -1
- package/dist/Select/index.umd.cjs +1 -1
- package/dist/Select/types.d.ts +1 -0
- package/dist/Select.vue_vue_type_style_index_0_lang-C1iYwWCJ.js +1 -0
- package/dist/Select.vue_vue_type_style_index_0_lang-DUy8bGSD.js +714 -0
- package/dist/Shortcut/index.js +1 -1
- package/dist/Shortcut/index.umd.cjs +1 -1
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-DOhEtw_i.js +1 -0
- package/dist/{Shortcut.vue_vue_type_style_index_0_lang-DXBz4Ysp.js → Shortcut.vue_vue_type_style_index_0_lang-TtzM0gcb.js} +2 -2
- package/dist/Skeleton/Skeleton.d.ts +1 -1
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner/index.umd.cjs +1 -1
- package/dist/{Spinner.vue_vue_type_style_index_0_lang-DxV3D_9N.js → Spinner.vue_vue_type_style_index_0_lang-Dc9P7GsT.js} +13 -13
- package/dist/Spinner.vue_vue_type_style_index_0_lang-RE3hFFZA.js +1 -0
- package/dist/SubMenu/SubMenu.d.ts +44 -0
- package/dist/SubMenu/index.d.ts +1 -0
- package/dist/SubMenu/index.js +5 -0
- package/dist/SubMenu/index.umd.cjs +1 -0
- package/dist/Switch/Switch.d.ts +3 -3
- 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-BrkQxi9f.js → Switch.vue_vue_type_style_index_0_lang-BM-h82G0.js} +5 -4
- package/dist/Switch.vue_vue_type_style_index_0_lang-DHT9utPp.js +1 -0
- package/dist/THead.vue_vue_type_style_index_0_lang-B6U8HrWi.js +1 -0
- package/dist/{THead.vue_vue_type_style_index_0_lang-BcVlFS1z.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/Textarea.d.ts +7 -7
- 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-DnQgUyjY.js → Textarea.vue_vue_type_style_index_0_lang-UyndJFBo.js} +26 -24
- package/dist/Tree/Tree.model.d.ts +2 -1
- package/dist/Tree/TreeNode.d.ts +6 -6
- package/dist/Tree/index.js +1 -1
- package/dist/Tree/index.umd.cjs +1 -1
- package/dist/Tree/utils.d.ts +14 -0
- package/dist/Tree.vue_vue_type_style_index_0_lang-B6uVPvX8.js +6 -0
- package/dist/{Tree.vue_vue_type_style_index_0_lang-BRU_5PuO.js → Tree.vue_vue_type_style_index_0_lang-a_nDBSWx.js} +678 -695
- package/dist/_getTag-CIY3u1-e.js +1 -0
- package/dist/_getTag-MDQGqxLN.js +127 -0
- package/dist/exports.d.ts +4 -0
- package/dist/getEmojiList-CFiuBWyA.js +1 -0
- package/dist/{getEmojiList-BtCA6cyU.js → getEmojiList-DYrYRrM5.js} +249 -211
- package/dist/index-DWw7aruo.js +1 -0
- package/dist/index-jwkhq8oW.js +188 -0
- package/dist/index.d.ts +6 -6
- package/dist/index.js +189 -177
- package/dist/index.umd.cjs +1 -1
- package/dist/isEmpty-bCllo8T9.js +1 -0
- package/dist/isEmpty-wdqPTIXx.js +21 -0
- package/dist/omit-BuBwx_M2.js +630 -0
- package/dist/omit-CYbreqlf.js +1 -0
- package/dist/style/index.css +1 -1
- package/dist/{uniq-D8HAKpFq.js → uniq-BeFmBpYC.js} +17 -16
- package/dist/uniq-CezX8yQS.js +1 -0
- package/dist/useInputDataStates-Bzs7T9xb.js +57 -0
- package/dist/useInputDataStates-C1T7BL_V.js +1 -0
- package/dist/utils/index.js +1 -1
- package/dist/utils/index.umd.cjs +1 -1
- package/dist/utils/useInputDataStates.d.ts +1 -1
- package/package.json +16 -1
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-Zbt1lDGL.js +0 -1
- package/dist/Badge.vue_vue_type_script_setup_true_lang-hG6klYy2.js +0 -1
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-VEdsFDiH.js +0 -1
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-CcVDY3yV.js +0 -1
- package/dist/Button.vue_vue_type_script_setup_true_lang--np1Hw7N.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-5tG-1ejh.js +0 -215
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-DaWMPx_d.js +0 -1
- package/dist/Chip.vue_vue_type_style_index_0_lang-DqVcmql_.js +0 -1
- package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-BCkqRsud.js +0 -1
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-DBbTuynH.js +0 -1
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-Brci1et_.js +0 -1
- package/dist/DataTable.vue_vue_type_style_index_0_lang-DOJv5evl.js +0 -1
- package/dist/DropZone.vue_vue_type_style_index_0_lang-oJc56iXj.js +0 -1
- package/dist/Empty.vue_vue_type_style_index_0_lang-DHvpu4sq.js +0 -1
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-CaKIkb0P.js +0 -1
- package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-Byz-BOG1.js +0 -1
- package/dist/Icon.vue_vue_type_style_index_0_lang-Cc8Uh2lr.js +0 -9
- package/dist/Icon.vue_vue_type_style_index_0_lang-Kn_r4tp8.js +0 -3746
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-CGb0HxvX.js +0 -1
- package/dist/Image.vue_vue_type_style_index_0_lang-DVDZ0ova.js +0 -1
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-DVx2S15S.js +0 -1
- package/dist/Indicator.vue_vue_type_script_setup_true_lang-_V0q7Zly.js +0 -1
- package/dist/Input.vue_vue_type_style_index_0_lang-HuiLdgsj.js +0 -1
- package/dist/Kbd.vue_vue_type_style_index_0_lang-CuYfgo6l.js +0 -1
- package/dist/Link.vue_vue_type_style_index_0_lang-BgwJE1ku.js +0 -1
- package/dist/Menu.vue_vue_type_style_index_0_lang-CFuwm984.js +0 -460
- package/dist/Menu.vue_vue_type_style_index_0_lang-CiyZmFBO.js +0 -1
- package/dist/Popover.vue_vue_type_style_index_0_lang-B-MX4Q7D.js +0 -242
- package/dist/Popover.vue_vue_type_style_index_0_lang-BnKgARrA.js +0 -1
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Dq66i_P9.js +0 -1
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-CMdXXxZr.js +0 -1
- package/dist/Select.vue_vue_type_style_index_0_lang-C4F2WmaG.js +0 -698
- package/dist/Select.vue_vue_type_style_index_0_lang-D8SgxILT.js +0 -1
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-DIDsOrKm.js +0 -1
- package/dist/Spinner.vue_vue_type_style_index_0_lang-17QUeFmj.js +0 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-DISD-AzJ.js +0 -1
- package/dist/THead.vue_vue_type_style_index_0_lang-Ck81v68E.js +0 -1
- package/dist/Textarea.vue_vue_type_style_index_0_lang-CJHHqEWa.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-B9L-4ciK.js +0 -6
- package/dist/getEmojiList-Cz4Rzfi1.js +0 -1
- package/dist/uniq-Ci_ZUo6O.js +0 -1
- package/dist/useInputDataStates-BVOCxFWp.js +0 -56
- package/dist/useInputDataStates-C6bS7MJv.js +0 -1
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { defineComponent as L, ref as G, watch as w, computed as u, createBlock as y, openBlock as i, unref as s, withCtx as B, renderSlot as A, createElementBlock as g, createCommentVNode as D, Fragment as R, renderList as T, mergeProps as z, useSlots as H, createVNode as _, withKeys as J, normalizeClass as V, createTextVNode as M, toDisplayString as Q } from "vue";
|
|
2
|
+
import { createContext as W, Primitive as X, useEmitAsProps as Y, CheckboxRoot as Z, CheckboxIndicator as ee } from "reka-ui";
|
|
3
|
+
import { getCssCoreColor as d } from "@pantograph/tokens";
|
|
4
|
+
import { getBemBlock as ae, usePCId as le, generateVariantClassList as oe, getBemElement as C } from "@pantograph/utils";
|
|
5
|
+
import { cva as se } from "class-variance-authority";
|
|
6
|
+
import { g as U } from "./options-D4et5euX.js";
|
|
7
|
+
import { o as P } from "./omit-BuBwx_M2.js";
|
|
8
|
+
import { _ as te } from "./Icon.vue_vue_type_style_index_0_lang-CbLL-Ngi.js";
|
|
9
|
+
import { u as ue, U as ne } from "./useInputDataStates-Bzs7T9xb.js";
|
|
10
|
+
const de = ["2xsm", "xsm"], Ve = (o) => ({
|
|
11
|
+
"--ptc-checkbox-bg": d(`${o}-5`),
|
|
12
|
+
"--ptc-checkbox-bg-hover": d(`${o}-4`),
|
|
13
|
+
"--ptc-checkbox-bg-focus": d(`${o}-6`),
|
|
14
|
+
"--ptc-checkbox-br-focus": d(`${o}-6`),
|
|
15
|
+
"--ptc-checkbox-bg-active": d(`${o}-7`)
|
|
16
|
+
}), ye = (o) => ({
|
|
17
|
+
"--ptc-group-checkbox-bg": d(`${o}-5`),
|
|
18
|
+
"--ptc-group-checkbox-bg-hover": d(`${o}-4`),
|
|
19
|
+
"--ptc-group-checkbox-bg-focus": d(`${o}-6`),
|
|
20
|
+
"--ptc-group-checkbox-br-focus": d(`${o}-6`),
|
|
21
|
+
"--ptc-group-checkbox-bg-active": d(`${o}-7`)
|
|
22
|
+
}), [re, ce] = W("CheckboxGroup"), Be = /* @__PURE__ */ L({
|
|
23
|
+
...U("CheckboxGroup"),
|
|
24
|
+
__name: "CheckboxGroup",
|
|
25
|
+
props: {
|
|
26
|
+
asChild: { type: Boolean, default: !0 },
|
|
27
|
+
as: {},
|
|
28
|
+
modelValue: {},
|
|
29
|
+
size: {},
|
|
30
|
+
disabled: { type: Boolean },
|
|
31
|
+
name: {},
|
|
32
|
+
options: {}
|
|
33
|
+
},
|
|
34
|
+
emits: ["update:modelValue", "change"],
|
|
35
|
+
setup(o, { emit: k }) {
|
|
36
|
+
const n = k, e = o, t = (a) => ({
|
|
37
|
+
value: typeof a == "object" ? a == null ? void 0 : a.value : a,
|
|
38
|
+
disabled: typeof a == "object" ? a == null ? void 0 : a.disabled : void 0,
|
|
39
|
+
label: typeof a == "object" ? (a == null ? void 0 : a.label) ?? (a == null ? void 0 : a.value) : a
|
|
40
|
+
}), r = G(e.modelValue ?? []);
|
|
41
|
+
w(
|
|
42
|
+
() => e.modelValue,
|
|
43
|
+
() => {
|
|
44
|
+
r.value = e.modelValue ?? [];
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
const x = u({
|
|
48
|
+
get() {
|
|
49
|
+
return e.modelValue ? e.modelValue : r.value;
|
|
50
|
+
},
|
|
51
|
+
set(a) {
|
|
52
|
+
e.modelValue || (r.value = a), n("update:modelValue", a), n("change", a);
|
|
53
|
+
}
|
|
54
|
+
}), c = u(() => e.size), p = u(() => e.disabled ? !0 : void 0);
|
|
55
|
+
return ce({
|
|
56
|
+
model: x,
|
|
57
|
+
size: c,
|
|
58
|
+
disabled: p
|
|
59
|
+
}), (a, f) => (i(), y(s(X), {
|
|
60
|
+
as: a.as,
|
|
61
|
+
asChild: a.asChild
|
|
62
|
+
}, {
|
|
63
|
+
default: B(() => [
|
|
64
|
+
A(a.$slots, "default", {}, () => {
|
|
65
|
+
var b;
|
|
66
|
+
return [
|
|
67
|
+
(b = a.options) != null && b.length ? (i(!0), g(R, { key: 0 }, T(a.options, (v, $) => (i(), y(pe, z({
|
|
68
|
+
key: v.value ?? v,
|
|
69
|
+
ref_for: !0
|
|
70
|
+
}, t(v)), null, 16))), 128)) : D("", !0)
|
|
71
|
+
];
|
|
72
|
+
})
|
|
73
|
+
]),
|
|
74
|
+
_: 3
|
|
75
|
+
}, 8, ["as", "asChild"]));
|
|
76
|
+
}
|
|
77
|
+
}), ie = ["for"], pe = /* @__PURE__ */ L({
|
|
78
|
+
...U("Checkbox"),
|
|
79
|
+
__name: "Checkbox",
|
|
80
|
+
props: {
|
|
81
|
+
checked: { type: [Boolean, String, null], default: void 0 },
|
|
82
|
+
size: { default: "xsm" },
|
|
83
|
+
class: {},
|
|
84
|
+
rootCls: {},
|
|
85
|
+
indicatorCls: {},
|
|
86
|
+
indeterminateCls: {},
|
|
87
|
+
labelCls: {},
|
|
88
|
+
label: {},
|
|
89
|
+
value: {},
|
|
90
|
+
id: {},
|
|
91
|
+
valueAsLabel: { type: Boolean, default: !0 },
|
|
92
|
+
defaultValue: { type: [Boolean, String] },
|
|
93
|
+
modelValue: { type: [Boolean, String, null], default: void 0 },
|
|
94
|
+
disabled: { type: Boolean },
|
|
95
|
+
name: {},
|
|
96
|
+
required: { type: Boolean }
|
|
97
|
+
},
|
|
98
|
+
emits: ["update:modelValue", "update:checked", "change", "blur", "focus"],
|
|
99
|
+
setup(o, { emit: k }) {
|
|
100
|
+
const n = ae("checkbox"), e = o, t = re({}), r = k, x = H(), c = u(() => e.modelValue ?? e.checked), p = G(c.value ?? !1);
|
|
101
|
+
w(
|
|
102
|
+
() => [e.modelValue, e.checked],
|
|
103
|
+
() => {
|
|
104
|
+
p.value = c.value ?? !1;
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
const a = u({
|
|
108
|
+
get() {
|
|
109
|
+
var l;
|
|
110
|
+
return (l = t.model) != null && l.value ? e.value !== void 0 && t.model.value.includes(e.value) : c.value !== void 0 ? c.value : p.value;
|
|
111
|
+
},
|
|
112
|
+
set(l) {
|
|
113
|
+
var m;
|
|
114
|
+
if ((m = t.model) != null && m.value) {
|
|
115
|
+
if (e.value !== void 0) {
|
|
116
|
+
const h = t.model.value.indexOf(e.value);
|
|
117
|
+
l && h === -1 ? t.model.value = [...t.model.value, e.value] : !l && h !== -1 && (t.model.value = t.model.value.filter(
|
|
118
|
+
(K) => K !== e.value
|
|
119
|
+
));
|
|
120
|
+
}
|
|
121
|
+
} else
|
|
122
|
+
c.value === void 0 && (p.value = l), r("update:checked", l), r("update:modelValue", l), r("change", l);
|
|
123
|
+
}
|
|
124
|
+
}), { getDisabled: f } = ue({
|
|
125
|
+
getDisabled: () => {
|
|
126
|
+
var l;
|
|
127
|
+
return ((l = t.disabled) == null ? void 0 : l.value) ?? e.disabled;
|
|
128
|
+
}
|
|
129
|
+
}), b = u(() => e.id ?? le(n)), v = Y(r), $ = u(() => ({
|
|
130
|
+
disabled: f.value,
|
|
131
|
+
...O.value,
|
|
132
|
+
...P(
|
|
133
|
+
e,
|
|
134
|
+
"size",
|
|
135
|
+
"class",
|
|
136
|
+
"label",
|
|
137
|
+
"disabled",
|
|
138
|
+
"modelValue",
|
|
139
|
+
"checked",
|
|
140
|
+
"id",
|
|
141
|
+
"rootCls",
|
|
142
|
+
"indicatorCls",
|
|
143
|
+
"indeterminateCls",
|
|
144
|
+
"labelCls"
|
|
145
|
+
),
|
|
146
|
+
...P(v, "onUpdate:modelValue", "onUpdate:checked")
|
|
147
|
+
})), j = se(n, {
|
|
148
|
+
variants: {
|
|
149
|
+
size: oe(de, n)
|
|
150
|
+
}
|
|
151
|
+
}), I = u(() => e.label || x.default || e.value && e.valueAsLabel), q = u(() => {
|
|
152
|
+
if (e.label) return e.label;
|
|
153
|
+
if (e.value && e.valueAsLabel) return e.value;
|
|
154
|
+
}), S = u(() => {
|
|
155
|
+
var l;
|
|
156
|
+
return ((l = t.size) == null ? void 0 : l.value) ?? e.size;
|
|
157
|
+
}), E = u(() => {
|
|
158
|
+
switch (S.value) {
|
|
159
|
+
case "xsm":
|
|
160
|
+
return "2xsm";
|
|
161
|
+
case "2xsm":
|
|
162
|
+
default:
|
|
163
|
+
return "3xsm";
|
|
164
|
+
}
|
|
165
|
+
}), { rootBindings: N, inputBindings: O } = ne({
|
|
166
|
+
getDisabled: () => f.value,
|
|
167
|
+
emit: r
|
|
168
|
+
}), F = () => a.value = !a.value;
|
|
169
|
+
return (l, m) => (i(), g("div", z({
|
|
170
|
+
class: [s(C)(s(n), "root"), l.rootCls]
|
|
171
|
+
}, s(N)), [
|
|
172
|
+
_(s(Z), z({
|
|
173
|
+
onKeyup: J(F, ["enter"])
|
|
174
|
+
}, $.value, {
|
|
175
|
+
modelValue: a.value,
|
|
176
|
+
"onUpdate:modelValue": m[0] || (m[0] = (h) => a.value = h),
|
|
177
|
+
id: b.value,
|
|
178
|
+
class: [s(j)({ size: S.value }), e.class]
|
|
179
|
+
}), {
|
|
180
|
+
default: B(() => [
|
|
181
|
+
_(s(ee), {
|
|
182
|
+
class: V([s(C)(s(n), "indicator"), l.indicatorCls]),
|
|
183
|
+
asChild: ""
|
|
184
|
+
}, {
|
|
185
|
+
default: B(() => [
|
|
186
|
+
c.value != "indeterminate" ? (i(), y(te, {
|
|
187
|
+
key: 0,
|
|
188
|
+
icon: "tabler:check",
|
|
189
|
+
size: E.value
|
|
190
|
+
}, null, 8, ["size"])) : (i(), g("span", {
|
|
191
|
+
key: 1,
|
|
192
|
+
class: V([s(C)(s(n), "indeterminate"), l.indeterminateCls])
|
|
193
|
+
}, null, 2))
|
|
194
|
+
]),
|
|
195
|
+
_: 1
|
|
196
|
+
}, 8, ["class"])
|
|
197
|
+
]),
|
|
198
|
+
_: 1
|
|
199
|
+
}, 16, ["modelValue", "id", "class"]),
|
|
200
|
+
I.value ? (i(), g("label", {
|
|
201
|
+
key: 0,
|
|
202
|
+
for: b.value,
|
|
203
|
+
class: V([s(C)(s(n), "label"), l.labelCls])
|
|
204
|
+
}, [
|
|
205
|
+
A(l.$slots, "default", {
|
|
206
|
+
checked: c.value,
|
|
207
|
+
disabled: s(f),
|
|
208
|
+
required: l.required
|
|
209
|
+
}, () => [
|
|
210
|
+
M(Q(q.value), 1)
|
|
211
|
+
])
|
|
212
|
+
], 10, ie)) : D("", !0)
|
|
213
|
+
], 16));
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
export {
|
|
217
|
+
de as C,
|
|
218
|
+
pe as _,
|
|
219
|
+
ye as a,
|
|
220
|
+
Be as b,
|
|
221
|
+
re as i,
|
|
222
|
+
ce as p,
|
|
223
|
+
Ve as u
|
|
224
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
1
2
|
import { CheckboxSize } from '../Checkbox/Checkbox.model';
|
|
2
3
|
import { ComputedRef, Ref } from 'vue';
|
|
3
4
|
export interface CheckboxGroupOption {
|
|
@@ -6,7 +7,7 @@ export interface CheckboxGroupOption {
|
|
|
6
7
|
label?: string;
|
|
7
8
|
}
|
|
8
9
|
type Value = (number | string)[];
|
|
9
|
-
export type CheckboxGroupProps = {
|
|
10
|
+
export type CheckboxGroupProps = PrimitiveProps & {
|
|
10
11
|
modelValue?: Value;
|
|
11
12
|
size?: CheckboxSize;
|
|
12
13
|
disabled?: boolean;
|
|
@@ -20,12 +21,14 @@ interface Context {
|
|
|
20
21
|
}
|
|
21
22
|
export declare const injectCheckboxGroupContext: <T extends Context | null | undefined = Context>(fallback?: T | undefined) => T extends null ? Context | null : Context, provideCheckboxGroupContext: (contextValue: Context) => Context;
|
|
22
23
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
"update:modelValue": (...args: any[]) => void;
|
|
24
24
|
change: (...args: any[]) => void;
|
|
25
|
+
"update:modelValue": (...args: any[]) => void;
|
|
25
26
|
}, string, import('vue').PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
|
|
26
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
|
|
28
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
asChild: boolean;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
29
32
|
default?(_: {}): any;
|
|
30
33
|
}>;
|
|
31
34
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Checkbox.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Checkbox.vue_vue_type_style_index_0_lang-Dh2oLmt5.js");exports.CheckboxGroup=e._sfc_main$1;exports.injectCheckboxGroupContext=e.injectCheckboxGroupContext;exports.provideCheckboxGroupContext=e.provideCheckboxGroupContext;
|
package/dist/Chip/Chip.d.ts
CHANGED
package/dist/Chip/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as s, _ as p } from "../Chip.vue_vue_type_style_index_0_lang-
|
|
2
|
-
import { a as C, C as e } from "../ChipGroup.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as s, _ as p } from "../Chip.vue_vue_type_style_index_0_lang-DKr8EzbN.js";
|
|
2
|
+
import { a as C, C as e } from "../ChipGroup.vue_vue_type_style_index_0_lang-GEZo5nnM.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Chip,
|
|
5
5
|
C as ChipColors,
|
package/dist/Chip/index.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Chip.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Chip.vue_vue_type_style_index_0_lang-Ha5k2W3V.js"),_=require("../ChipGroup.vue_vue_type_style_index_0_lang-V98bakNp.js");exports.Chip=e._sfc_main;exports.default=e._sfc_main;exports.ChipColors=_.ChipColors;exports.ChipSizes=_.ChipSizes;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getBemBlock as T, generateVariantClassList as v, getBemElement as
|
|
1
|
+
import { defineComponent as w, computed as n, useSlots as j, createElementBlock as d, openBlock as m, normalizeClass as i, unref as o, renderSlot as r, createCommentVNode as p, normalizeProps as u, guardReactiveProps as C, createBlock as D, createTextVNode as G, toDisplayString as L, mergeProps as A, createVNode as R } from "vue";
|
|
2
|
+
import { getBemBlock as T, generateVariantClassList as v, getBemElement as g } from "@pantograph/utils";
|
|
3
3
|
import { cva as q } from "class-variance-authority";
|
|
4
4
|
import "@iconify/vue";
|
|
5
|
-
import {
|
|
5
|
+
import { _ as S } from "./Icon.vue_vue_type_style_index_0_lang-CbLL-Ngi.js";
|
|
6
6
|
import { g as F } from "./options-D4et5euX.js";
|
|
7
|
-
import { i as H, a as J, C as K } from "./ChipGroup.vue_vue_type_style_index_0_lang-
|
|
8
|
-
import { b } from "./element-BfQuKSll.js";
|
|
9
|
-
|
|
7
|
+
import { i as H, a as J, C as K } from "./ChipGroup.vue_vue_type_style_index_0_lang-GEZo5nnM.js";
|
|
8
|
+
import { b as P } from "./element-BfQuKSll.js";
|
|
9
|
+
import "./FormItem.vue_vue_type_style_index_0_lang-DbMENNc4.js";
|
|
10
|
+
const se = /* @__PURE__ */ w({
|
|
10
11
|
...F("Chip"),
|
|
11
12
|
__name: "Chip",
|
|
12
13
|
props: {
|
|
@@ -22,18 +23,19 @@ const oe = /* @__PURE__ */ O({
|
|
|
22
23
|
closeIconCls: {},
|
|
23
24
|
color: {},
|
|
24
25
|
overlayActions: { type: Boolean, default: void 0 },
|
|
26
|
+
stopPropagationOnClose: { type: Boolean },
|
|
25
27
|
closeable: { type: Boolean, default: void 0 },
|
|
26
28
|
selected: { type: Boolean, default: void 0 }
|
|
27
29
|
},
|
|
28
30
|
emits: ["close"],
|
|
29
|
-
setup(
|
|
30
|
-
const s =
|
|
31
|
+
setup(b, { emit: x }) {
|
|
32
|
+
const s = b, t = H({}), y = n(() => {
|
|
31
33
|
var e;
|
|
32
34
|
return ((e = t.props) == null ? void 0 : e.size) ?? s.size;
|
|
33
|
-
}),
|
|
35
|
+
}), $ = n(() => {
|
|
34
36
|
var e;
|
|
35
37
|
return s.color ?? ((e = t.props) == null ? void 0 : e.color) ?? "primary";
|
|
36
|
-
}),
|
|
38
|
+
}), f = n(() => {
|
|
37
39
|
var e;
|
|
38
40
|
return ((e = t.props) == null ? void 0 : e.overlayActions) ?? s.overlayActions;
|
|
39
41
|
}), E = n(() => {
|
|
@@ -48,7 +50,7 @@ const oe = /* @__PURE__ */ O({
|
|
|
48
50
|
}), B = n(() => {
|
|
49
51
|
var e;
|
|
50
52
|
return ((e = t.props) == null ? void 0 : e.closeable) ?? s.closeable;
|
|
51
|
-
}), N =
|
|
53
|
+
}), N = x, c = j(), a = T("chip"), O = q(a, {
|
|
52
54
|
variants: {
|
|
53
55
|
size: v(K, a),
|
|
54
56
|
color: v(J, a),
|
|
@@ -56,7 +58,7 @@ const oe = /* @__PURE__ */ O({
|
|
|
56
58
|
selected: v("selected", a)
|
|
57
59
|
}
|
|
58
60
|
}), k = (e) => {
|
|
59
|
-
t.onClose && t.onClose(s, e), N("close", e);
|
|
61
|
+
e == null || e.stopPropagation(), t.onClose && t.onClose(s, e), N("close", e);
|
|
60
62
|
}, l = n(() => ({
|
|
61
63
|
onClose: k,
|
|
62
64
|
size: (() => {
|
|
@@ -72,10 +74,10 @@ const oe = /* @__PURE__ */ O({
|
|
|
72
74
|
var I, h;
|
|
73
75
|
return m(), d("div", {
|
|
74
76
|
class: i([
|
|
75
|
-
o(
|
|
77
|
+
o(O)({
|
|
76
78
|
size: y.value,
|
|
77
|
-
color:
|
|
78
|
-
overlayActions:
|
|
79
|
+
color: $.value,
|
|
80
|
+
overlayActions: f.value,
|
|
79
81
|
selected: E.value
|
|
80
82
|
}),
|
|
81
83
|
s.class
|
|
@@ -89,26 +91,26 @@ const oe = /* @__PURE__ */ O({
|
|
|
89
91
|
class: i(e.iconCls)
|
|
90
92
|
}, null, 8, ["size", "icon", "class"])) : p("", !0)
|
|
91
93
|
]),
|
|
92
|
-
!o(
|
|
94
|
+
!o(P)((I = c.text) == null ? void 0 : I.call(c, l.value)) || e.text ? (m(), d("div", {
|
|
93
95
|
key: 0,
|
|
94
|
-
class: i([o(
|
|
96
|
+
class: i([o(g)(o(a), "text"), e.textCls])
|
|
95
97
|
}, [
|
|
96
98
|
r(e.$slots, "text", u(C(l.value)), () => [
|
|
97
99
|
G(L(e.text), 1)
|
|
98
100
|
])
|
|
99
101
|
], 2)) : p("", !0),
|
|
100
102
|
r(e.$slots, "trailing", u(C(l.value))),
|
|
101
|
-
B.value || !o(
|
|
103
|
+
B.value || !o(P)((h = c.overlayActions) == null ? void 0 : h.call(c, l.value)) ? (m(), d("div", {
|
|
102
104
|
key: 1,
|
|
103
|
-
class: i([o(
|
|
105
|
+
class: i([o(g)(o(a), "actions"), e.actionsCls])
|
|
104
106
|
}, [
|
|
105
|
-
|
|
107
|
+
f.value ? r(e.$slots, "overlayActions", u(A({ key: 0 }, l.value))) : p("", !0),
|
|
106
108
|
B.value ? r(e.$slots, "close", u(A({ key: 1 }, l.value)), () => [
|
|
107
109
|
R(o(S), {
|
|
108
110
|
onPointerdown: k,
|
|
109
111
|
size: l.value.size,
|
|
110
112
|
icon: V.value,
|
|
111
|
-
class: i([o(
|
|
113
|
+
class: i([o(g)(o(a), "close_icon"), e.closeIconCls])
|
|
112
114
|
}, null, 8, ["size", "icon", "class"])
|
|
113
115
|
]) : p("", !0)
|
|
114
116
|
], 2)) : p("", !0)
|
|
@@ -117,5 +119,5 @@ const oe = /* @__PURE__ */ O({
|
|
|
117
119
|
}
|
|
118
120
|
});
|
|
119
121
|
export {
|
|
120
|
-
|
|
122
|
+
se as _
|
|
121
123
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),r=require("@pantograph/utils"),V=require("class-variance-authority");require("@iconify/vue");const g=require("./Icon.vue_vue_type_style_index_0_lang-D3cRtJNJ.js"),h=require("./options-CWrQ7gsa.js"),c=require("./ChipGroup.vue_vue_type_style_index_0_lang-V98bakNp.js"),y=require("./element-BjE0SVc4.js");require("./FormItem.vue_vue_type_style_index_0_lang-CTRszGlB.js");const E=e.defineComponent({...h.getComponentOptions("Chip"),__name:"Chip",props:{value:{},size:{default:"md"},class:{},actionsCls:{},textCls:{},iconCls:{},text:{},icon:{},closeIcon:{default:"tabler:x"},closeIconCls:{},color:{},overlayActions:{type:Boolean,default:void 0},stopPropagationOnClose:{type:Boolean},closeable:{type:Boolean,default:void 0},selected:{type:Boolean,default:void 0}},emits:["close"],setup(z,{emit:f}){const s=z,t=c.injectChipGroupContext({}),i=e.computed(()=>{var o;return((o=t.props)==null?void 0:o.size)??s.size}),B=e.computed(()=>{var o;return s.color??((o=t.props)==null?void 0:o.color)??"primary"}),u=e.computed(()=>{var o;return((o=t.props)==null?void 0:o.overlayActions)??s.overlayActions}),_=e.computed(()=>{var o;return s.selected??((o=t.props)==null?void 0:o.selected)}),k=e.computed(()=>{var o;return((o=t.props)==null?void 0:o.closeIcon)??s.closeIcon}),p=e.computed(()=>{var o;return((o=t.props)==null?void 0:o.icon)??s.icon}),m=e.computed(()=>{var o;return((o=t.props)==null?void 0:o.closeable)??s.closeable}),P=f,a=e.useSlots(),n=r.getBemBlock("chip"),S=V.cva(n,{variants:{size:r.generateVariantClassList(c.ChipSizes,n),color:r.generateVariantClassList(c.ChipColors,n),overlayActions:r.generateVariantClassList("overlay-actions",n),selected:r.generateVariantClassList("selected",n)}}),d=o=>{o==null||o.stopPropagation(),t.onClose&&t.onClose(s,o),P("close",o)},l=e.computed(()=>({onClose:d,size:(()=>{switch(i.value){case"md":return"xsm";default:return"2xsm"}})()}));return(o,I)=>{var v,C;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(S)({size:i.value,color:B.value,overlayActions:u.value,selected:_.value}),s.class])},[e.renderSlot(o.$slots,"leading",e.normalizeProps(e.guardReactiveProps(l.value)),()=>[p.value?(e.openBlock(),e.createBlock(e.unref(g._sfc_main),{key:0,size:l.value.size,icon:p.value,class:e.normalizeClass(o.iconCls)},null,8,["size","icon","class"])):e.createCommentVNode("",!0)]),!e.unref(y.isEmptyElement)((v=a.text)==null?void 0:v.call(a,l.value))||o.text?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([e.unref(r.getBemElement)(e.unref(n),"text"),o.textCls])},[e.renderSlot(o.$slots,"text",e.normalizeProps(e.guardReactiveProps(l.value)),()=>[e.createTextVNode(e.toDisplayString(o.text),1)])],2)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"trailing",e.normalizeProps(e.guardReactiveProps(l.value))),m.value||!e.unref(y.isEmptyElement)((C=a.overlayActions)==null?void 0:C.call(a,l.value))?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([e.unref(r.getBemElement)(e.unref(n),"actions"),o.actionsCls])},[u.value?e.renderSlot(o.$slots,"overlayActions",e.normalizeProps(e.mergeProps({key:0},l.value))):e.createCommentVNode("",!0),m.value?e.renderSlot(o.$slots,"close",e.normalizeProps(e.mergeProps({key:1},l.value)),()=>[e.createVNode(e.unref(g._sfc_main),{onPointerdown:d,size:l.value.size,icon:k.value,class:e.normalizeClass([e.unref(r.getBemElement)(e.unref(n),"close_icon"),o.closeIconCls])},null,8,["size","icon","class"])]):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],2)}}});exports._sfc_main=E;
|
package/dist/ChipGroup/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ChipGroup.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ChipGroup.vue_vue_type_style_index_0_lang-V98bakNp.js");exports.ChipGroup=e._sfc_main;exports.default=e._sfc_main;exports.injectChipGroupContext=e.injectChipGroupContext;exports.provideChipGroupContext=e.provideChipGroupContext;
|
|
@@ -4,7 +4,7 @@ import { getBemBlock as G, generateVariantClassList as c, getBemElement as P } f
|
|
|
4
4
|
import { cva as S } from "class-variance-authority";
|
|
5
5
|
import { B as k } from "./BaseBadge.model-BIyWEBkY.js";
|
|
6
6
|
import { c as b } from "./element-BfQuKSll.js";
|
|
7
|
-
import { _ as E } from "./Popover.vue_vue_type_style_index_0_lang-
|
|
7
|
+
import { _ as E } from "./Popover.vue_vue_type_style_index_0_lang-SLueqv_E.js";
|
|
8
8
|
import { createContext as N } from "reka-ui";
|
|
9
9
|
const V = ["xsm", "sm", "md"], F = [...k], [H, W] = N("ChipGroup"), J = /* @__PURE__ */ d({
|
|
10
10
|
...z("ChipGroup"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),h=require("./options-CWrQ7gsa.js"),a=require("@pantograph/utils"),f=require("class-variance-authority"),B=require("./BaseBadge.model-imnRO6DY.js"),x=require("./element-BjE0SVc4.js"),g=require("./Popover.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const e=require("vue"),h=require("./options-CWrQ7gsa.js"),a=require("@pantograph/utils"),f=require("class-variance-authority"),B=require("./BaseBadge.model-imnRO6DY.js"),x=require("./element-BjE0SVc4.js"),g=require("./Popover.vue_vue_type_style_index_0_lang-D7GA-4CS.js"),y=require("reka-ui"),u=["xsm","sm","md"],q=[...B.BadgeColors],[z,p]=y.createContext("ChipGroup"),G=e.defineComponent({...h.getComponentOptions("ChipGroup"),__name:"ChipGroup",props:{color:{},size:{default:"md"},closeIcon:{},icon:{},overlayActions:{type:Boolean},selected:{type:Boolean},maxCount:{},popoverProps:{},truncateCls:{},noPopover:{type:Boolean},noWrap:{type:Boolean},closeable:{type:Boolean,default:!0}},emits:["close"],setup(C,{emit:m}){const d=m,t=C,l=e.useSlots();p({props:t,onClose:(o,s)=>{d("close",o,s)}});const n=e.computed(()=>t.maxCount?Number(t.maxCount):0),v=()=>{const o=x.flattenChildren(l.default?l.default():[]),s=()=>e.h("div",{class:[a.getBemElement(r,"truncate"),t.truncateCls]},`+${o.length-n.value}`);return n.value>1&&o.length>n.value?[...o.filter((_,i)=>i<n.value),t.noPopover?s():e.h(g._sfc_main,{size:t.size==="md"?"md":"sm",...t.popoverProps??{}},{default:s,content:()=>e.h("div",{class:c(t)},{default:()=>o.filter((_,i)=>i>=n.value)})})]:o},r=a.getBemBlock("chip_group"),c=f.cva(r,{variants:{size:a.generateVariantClassList(u,r),noWrap:a.generateVariantClassList("no-wrap",r)}});return(o,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(c)(t))},[e.createVNode(v)],2))}});exports.ChipColors=q;exports.ChipSizes=u;exports._sfc_main=G;exports.injectChipGroupContext=z;exports.provideChipGroupContext=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorPicker.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../ColorPicker.vue_vue_type_style_index_0_lang-BN0V43ck.js");exports.ColorPicker=e._sfc_main;exports.default=e._sfc_main;exports.injectColorPickerContext=e.injectColorPickerContext;exports.provideColorPickerContext=e.provideColorPickerContext;
|