@pantograph/vue 0.26.0 → 0.27.1
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/ActionButton.d.ts +20 -12
- 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-BVeWGfr7.js +1 -0
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-D4l05YZz.js +69 -0
- package/dist/Alert/index.js +1 -1
- package/dist/Alert/index.umd.cjs +1 -1
- package/dist/Alert.vue_vue_type_script_setup_true_lang-CZzHeneB.js +1 -0
- package/dist/Alert.vue_vue_type_script_setup_true_lang-D5F_9ZwU.js +128 -0
- 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-DmIuHoi3.js → Avatar.vue_vue_type_script_setup_true_lang-CH_6o8dq.js} +57 -52
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-QZhssZnQ.js +1 -0
- 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-DKswgB1B.js +1 -0
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-DvZc9U-W.js → Badge.vue_vue_type_script_setup_true_lang-GQnZqeaV.js} +20 -15
- package/dist/Base/BaseButton/BaseButton.d.ts +2 -0
- package/dist/Base/BaseInput/BaseInput.d.ts +1 -1
- package/dist/{BaseBadge.model-D4ZfMIfM.js → BaseBadge.model-CahZXsyM.js} +2 -2
- package/dist/BaseBadge.vue_vue_type_script_setup_true_lang-8tuJTjkU.js +1 -0
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-Cekbj5do.js → BaseBadge.vue_vue_type_script_setup_true_lang-BVEnU-L5.js} +27 -21
- package/dist/BaseButton.vue_vue_type_script_setup_true_lang-B6fHU-br.js +1 -0
- package/dist/{BaseButton.vue_vue_type_style_index_0_lang-Bwa2jAT_.js → BaseButton.vue_vue_type_script_setup_true_lang-u4Fvon7Z.js} +53 -47
- package/dist/BaseInput.vue_vue_type_script_setup_true_lang-BEeid52h.js +1 -0
- package/dist/BaseInput.vue_vue_type_script_setup_true_lang-Ca0LOJfn.js +141 -0
- package/dist/Button/Button.d.ts +29 -21
- 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-3EriUXFH.js +1 -0
- package/dist/Button.vue_vue_type_script_setup_true_lang-CSKn-kYb.js +72 -0
- package/dist/ButtonGroup/index.js +1 -1
- package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-DPtJY6ad.js → ButtonGroup.vue_vue_type_script_setup_true_lang-BWfa7L2L.js} +4 -4
- package/dist/Checkbox/Checkbox.d.ts +1 -0
- package/dist/Checkbox/index.js +1 -1
- package/dist/Checkbox/index.umd.cjs +1 -1
- package/dist/Checkbox.vue_vue_type_script_setup_true_lang-B5hrYP5E.js +1 -0
- package/dist/Checkbox.vue_vue_type_script_setup_true_lang-DiG3cLmy.js +226 -0
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +4 -4
- package/dist/CheckboxGroup/index.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs +1 -1
- package/dist/Chip/Chip.d.ts +4 -1
- package/dist/Chip/index.js +1 -1
- package/dist/Chip/index.umd.cjs +1 -1
- package/dist/Chip.vue_vue_type_script_setup_true_lang-DOIPsHk_.js +217 -0
- package/dist/Chip.vue_vue_type_script_setup_true_lang-Dn-EkG3e.js +1 -0
- package/dist/ChipGroup/index.js +1 -1
- package/dist/ChipGroup/index.umd.cjs +1 -1
- package/dist/ColorPicker/ColorPicker.d.ts +1 -0
- 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-CFWIxkoW.js → ColorPicker.vue_vue_type_script_setup_true_lang-Bz_mnMXB.js} +765 -763
- package/dist/ColorPicker.vue_vue_type_script_setup_true_lang-D6k_f_bV.js +4 -0
- package/dist/ColorSwatch/ColorSwatch.d.ts +2 -0
- package/dist/ColorSwatch/index.js +1 -1
- package/dist/ColorSwatch/index.umd.cjs +1 -1
- package/dist/ColorSwatch-BUx8Adlm.js +4 -0
- package/dist/ColorSwatch-CyLiiscO.js +1 -0
- package/dist/{ColorSwatch.vue_vue_type_style_index_0_lang-DsriVs5P.js → ColorSwatch.vue_vue_type_script_setup_true_lang-DBTZCpNP.js} +38 -29
- package/dist/ColorSwatch.vue_vue_type_script_setup_true_lang-mEt98xi2.js +1 -0
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -1
- package/dist/ColorSwatchGroup/index.js +1 -1
- package/dist/ColorSwatchGroup/index.umd.cjs +1 -1
- package/dist/ColorSwatchGroup.vue_vue_type_script_setup_true_lang-B-cLoom6.js +175 -0
- package/dist/ColorSwatchGroup.vue_vue_type_script_setup_true_lang-D1yZXDV3.js +1 -0
- package/dist/ColorTrigger/ColorTrigger.d.ts +1 -0
- package/dist/ColorTrigger/index.js +1 -1
- package/dist/ColorTrigger/index.umd.cjs +1 -1
- package/dist/ColorTrigger.vue_vue_type_script_setup_true_lang-BbT6N2FL.js +94 -0
- package/dist/ColorTrigger.vue_vue_type_script_setup_true_lang-DIzDCzvv.js +1 -0
- package/dist/Combobox/Combobox.d.ts +912 -31
- package/dist/Combobox/ComboboxInput.d.ts +20 -1
- package/dist/Combobox/ComboboxLabel.d.ts +3 -15
- package/dist/Combobox/ComboboxOption.d.ts +4 -17
- package/dist/Combobox/ComboboxTrigger.d.ts +1 -3
- package/dist/Combobox/context.d.ts +22 -25
- package/dist/Combobox/index.js +1 -1
- package/dist/Combobox/index.umd.cjs +1 -1
- package/dist/Combobox/types.d.ts +73 -49
- package/dist/Combobox.vue_vue_type_script_setup_true_lang-CSN9cqZh.js +1120 -0
- package/dist/Combobox.vue_vue_type_script_setup_true_lang-NkTBG9kI.js +1 -0
- package/dist/Comment/Comment.d.ts +1 -1
- package/dist/Comment/CommentActions.d.ts +58 -44
- package/dist/Comment/CommentEditor.d.ts +248 -215
- package/dist/Comment/CommentMention.d.ts +1 -1
- package/dist/Comment/CommentReaction.d.ts +1 -1
- package/dist/Comment/CommentReactions.d.ts +29 -22
- package/dist/Comment/index.js +325 -327
- package/dist/Comment/index.umd.cjs +1 -1
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/{ConfigProvider.vue_vue_type_script_setup_true_lang-D8R0hBKt.js → ConfigProvider.vue_vue_type_script_setup_true_lang-DiuPi_DT.js} +1 -1
- package/dist/DataTable/index.js +1 -1
- package/dist/DataTable/index.umd.cjs +1 -1
- package/dist/DataTable.vue_vue_type_script_setup_true_lang-BbVKnjxN.js +1 -0
- package/dist/{DataTable.vue_vue_type_style_index_0_lang-DFOwpMxF.js → DataTable.vue_vue_type_script_setup_true_lang-BfTiBQMt.js} +105 -106
- package/dist/Divider/index.js +1 -1
- package/dist/Divider/index.umd.cjs +1 -1
- package/dist/Divider.vue_vue_type_script_setup_true_lang-BHkXVZCN.js +43 -0
- package/dist/Divider.vue_vue_type_script_setup_true_lang-BfrE098V.js +1 -0
- package/dist/DropZone/DropZone.d.ts +1 -0
- package/dist/DropZone/index.js +1 -1
- package/dist/DropZone/index.umd.cjs +1 -1
- package/dist/DropZone.vue_vue_type_script_setup_true_lang-C8PIE0KC.js +131 -0
- package/dist/DropZone.vue_vue_type_script_setup_true_lang-DEK0OBo2.js +1 -0
- package/dist/Empty/index.js +1 -1
- package/dist/Empty/index.umd.cjs +1 -1
- package/dist/Empty.vue_vue_type_script_setup_true_lang-BHsAnkd7.js +1 -0
- package/dist/{Empty.vue_vue_type_style_index_0_lang-Bk2nO0VN.js → Empty.vue_vue_type_script_setup_true_lang-CnJOScIi.js} +41 -35
- package/dist/FloatButton/FloatButton.d.ts +28 -20
- 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-D03EBWv5.js +67 -0
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-t22bWN9j.js +1 -0
- package/dist/Form/Form.d.ts +35 -29
- package/dist/Form/FormItem.d.ts +14 -3
- package/dist/Form/index.js +1 -1
- package/dist/Form/index.umd.cjs +1 -1
- package/dist/FormValidation/FormValidation.d.ts +1 -1
- package/dist/GOPicker/GOPicker.d.ts +44 -43
- package/dist/GOPicker/index.js +1 -1
- package/dist/GOPicker/index.umd.cjs +1 -1
- package/dist/GOPicker.vue_vue_type_script_setup_true_lang-BOyOH_qb.js +1 -0
- package/dist/{GOPicker.vue_vue_type_style_index_0_lang-CJ-yY8X0.js → GOPicker.vue_vue_type_script_setup_true_lang-Cx2WQErE.js} +162 -163
- 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-D6ppQA4I.js +1 -0
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-DFogOMOj.js → GraphicalObject.vue_vue_type_script_setup_true_lang-Dwf4A9T3.js} +9 -9
- package/dist/GraphicalObjectGroup/index.js +1 -1
- package/dist/GraphicalObjectGroup/index.umd.cjs +1 -1
- package/dist/GraphicalObjectGroup.vue_vue_type_script_setup_true_lang-CAvd-28M.js +68 -0
- package/dist/GraphicalObjectGroup.vue_vue_type_script_setup_true_lang-CXyuthQS.js +1 -0
- package/dist/HoverCard/HoverCard.d.ts +12 -133
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/HoverCard/index.js +2 -2
- package/dist/HoverCard/index.umd.cjs +1 -1
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-CbT9IDH_.js +1 -0
- package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DBOk4tYh.js +100 -0
- package/dist/Icon/Icon.d.ts +18 -1
- package/dist/Icon/index.js +1 -1
- package/dist/Icon/index.umd.cjs +1 -1
- package/dist/Icon.vue_vue_type_script_setup_true_lang-BDTw4CRD.js +9 -0
- package/dist/Icon.vue_vue_type_script_setup_true_lang-DJv20Efl.js +2839 -0
- package/dist/IconButton/IconButton.d.ts +27 -21
- 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-CRdinhW6.js +66 -0
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-DtB1BlrH.js +1 -0
- package/dist/Image/index.js +1 -1
- package/dist/Image/index.umd.cjs +1 -1
- package/dist/Image.vue_vue_type_script_setup_true_lang-C8IFCQ1Z.js +1 -0
- package/dist/Image.vue_vue_type_script_setup_true_lang-DUAcgVt3.js +131 -0
- 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_script_setup_true_lang-CZIskYG5.js +105 -0
- package/dist/IndentLevel.vue_vue_type_script_setup_true_lang-DejchDVl.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-C5X3Ptal.js +1 -0
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-Bfc2cDZW.js → Indicator.vue_vue_type_script_setup_true_lang-CUzJo6Dq.js} +6 -6
- package/dist/Input/index.js +2 -2
- package/dist/Input/index.umd.cjs +1 -1
- package/dist/{Input.vue_vue_type_script_setup_true_lang-BZidgKiU.js → Input.vue_vue_type_script_setup_true_lang-BBOWLata.js} +32 -27
- package/dist/Input.vue_vue_type_script_setup_true_lang-DQaTM8t7.js +1 -0
- package/dist/InputNumber/index.js +2 -2
- package/dist/InputNumber/index.umd.cjs +1 -1
- package/dist/InputNumber.vue_vue_type_script_setup_true_lang-B2XDVABX.js +1 -0
- package/dist/{InputNumber.vue_vue_type_script_setup_true_lang-y1SYHqAR.js → InputNumber.vue_vue_type_script_setup_true_lang-Dg-C7-Gw.js} +20 -15
- package/dist/Kbd/index.js +1 -1
- package/dist/Kbd/index.umd.cjs +1 -1
- package/dist/Kbd.vue_vue_type_script_setup_true_lang-Bts8h3Rc.js +1 -0
- package/dist/Kbd.vue_vue_type_script_setup_true_lang-CZvbn4oA.js +53 -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_script_setup_true_lang-B9UfwACd.js +1 -0
- package/dist/{Link.vue_vue_type_style_index_0_lang-CXRcuM5F.js → Link.vue_vue_type_script_setup_true_lang-Dc6IcnzY.js} +26 -20
- package/dist/Menu/Menu.d.ts +5 -3
- package/dist/Menu/index.js +1 -1
- package/dist/Menu/index.umd.cjs +1 -1
- package/dist/MenuItem/MenuItem.d.ts +5 -5
- package/dist/MenuItem/MenuItemContent.d.ts +16 -10
- package/dist/MenuItem/index.js +1 -1
- package/dist/MenuItem/index.umd.cjs +1 -1
- package/dist/MenuItem.vue_vue_type_script_setup_true_lang-BhAWfw04.js +616 -0
- package/dist/MenuItem.vue_vue_type_script_setup_true_lang-DweYhLgr.js +1 -0
- package/dist/Pagination/Pagination.d.ts +3 -1
- package/dist/Pagination/index.js +1 -1
- package/dist/Pagination/index.umd.cjs +1 -1
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-CH2sZBOw.js +246 -0
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-qyR_Occn.js +1 -0
- package/dist/Popover/Popover.d.ts +10 -131
- package/dist/Popover/Popover.model.d.ts +1 -1
- package/dist/Popover/index.d.ts +2 -1
- package/dist/Popover/index.js +1 -1
- package/dist/Popover/index.umd.cjs +1 -1
- package/dist/Popover/type.d.ts +27 -0
- package/dist/Popover/utils.d.ts +48 -4
- package/dist/Popover.vue_vue_type_script_setup_true_lang-Bye1k1gb.js +1 -0
- package/dist/Popover.vue_vue_type_script_setup_true_lang-D-Jebwr9.js +281 -0
- package/dist/Progress/index.js +1 -1
- package/dist/Progress/index.umd.cjs +1 -1
- package/dist/Progress.vue_vue_type_script_setup_true_lang-QIJAJeT9.js +1 -0
- package/dist/{Progress.vue_vue_type_style_index_0_lang-DHMo6akY.js → Progress.vue_vue_type_script_setup_true_lang-fxFcm9WO.js} +106 -100
- package/dist/RadioGroup/RadioGroup.d.ts +7 -1
- package/dist/RadioGroup/RadioGroupItem.d.ts +1 -1
- 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-B_-7GgYM.js +1 -0
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-w2aa6VhW.js +110 -0
- package/dist/ScrollContainer/ScrollContainer.d.ts +13 -17
- 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-ioHY1esc.js → ScrollContainer.vue_vue_type_script_setup_true_lang-BU7qU1LR.js} +39 -36
- package/dist/ScrollContainer.vue_vue_type_script_setup_true_lang-u50YBozy.js +1 -0
- package/dist/Segmented/Segmented.d.ts +4 -2
- package/dist/Segmented/index.js +1 -1
- package/dist/Segmented/index.umd.cjs +1 -1
- package/dist/Segmented.vue_vue_type_script_setup_true_lang-CoJCKPrs.js +1 -0
- package/dist/Segmented.vue_vue_type_script_setup_true_lang-D7yf-Ezy.js +171 -0
- package/dist/Select/Select.d.ts +9 -5
- package/dist/Select/index.js +1 -1
- package/dist/Select/index.umd.cjs +1 -1
- package/dist/Select/types.d.ts +6 -5
- package/dist/Select.vue_vue_type_script_setup_true_lang-B8L_locv.js +787 -0
- package/dist/Select.vue_vue_type_script_setup_true_lang-BxOgh92J.js +1 -0
- package/dist/Shortcut/index.js +1 -1
- package/dist/Shortcut/index.umd.cjs +1 -1
- package/dist/Shortcut.vue_vue_type_script_setup_true_lang-CByKa08f.js +1 -0
- package/dist/Shortcut.vue_vue_type_script_setup_true_lang-CPeD8ZFo.js +38 -0
- package/dist/Skeleton/index.js +1 -1
- package/dist/Skeleton/index.umd.cjs +1 -1
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-BPGtJ7m9.js +65 -0
- package/dist/Skeleton.vue_vue_type_script_setup_true_lang-CZd6jGSK.js +1 -0
- package/dist/Spinner/index.js +1 -1
- package/dist/Spinner/index.umd.cjs +1 -1
- package/dist/Spinner.vue_vue_type_script_setup_true_lang-BLbh3cW9.js +1 -0
- package/dist/{Spinner.vue_vue_type_style_index_0_lang-Bflf_h7p.js → Spinner.vue_vue_type_script_setup_true_lang-plOMCeJw.js} +33 -27
- package/dist/SubMenu/SubMenu.d.ts +2 -2
- 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_script_setup_true_lang--nKqQaQz.js +1 -0
- package/dist/{Switch.vue_vue_type_style_index_0_lang-DprBpzXg.js → Switch.vue_vue_type_script_setup_true_lang-Br5agMiY.js} +41 -37
- package/dist/THead.vue_vue_type_script_setup_true_lang-B8EBMO33.js +214 -0
- package/dist/THead.vue_vue_type_script_setup_true_lang-midXJwsE.js +1 -0
- package/dist/TabContent.vue_vue_type_script_setup_true_lang-B3v-gPTa.js +1 -0
- package/dist/TabContent.vue_vue_type_script_setup_true_lang-DUqgKpvl.js +379 -0
- package/dist/Table/index.js +1 -1
- package/dist/Table/index.umd.cjs +1 -1
- package/dist/Tabs/TabContent.d.ts +18 -0
- package/dist/Tabs/TabList.d.ts +302 -0
- package/dist/Tabs/TabTrigger.d.ts +41 -0
- package/dist/Tabs/Tabs.d.ts +53 -0
- package/dist/Tabs/index.d.ts +5 -1
- package/dist/Tabs/index.js +11 -1
- package/dist/Tabs/index.umd.cjs +1 -1
- package/dist/Textarea/Textarea.d.ts +32 -36
- 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-CYHt1v8A.js → Textarea.vue_vue_type_script_setup_true_lang-BTywGT0W.js} +28 -25
- package/dist/Textarea.vue_vue_type_script_setup_true_lang-ZvXSpOuD.js +1 -0
- package/dist/Tree/Tree.d.ts +34 -5
- package/dist/Tree/Tree.model.d.ts +34 -13
- package/dist/Tree/index.js +1 -1
- package/dist/Tree/index.umd.cjs +1 -1
- package/dist/Tree/utils.d.ts +29 -13
- package/dist/Tree.vue_vue_type_script_setup_true_lang-B5khp8Fw.js +726 -0
- package/dist/Tree.vue_vue_type_script_setup_true_lang-C7AJKgHE.js +1 -0
- package/dist/Upload/Upload.d.ts +2 -1
- package/dist/Upload/UploadListItem.d.ts +1 -1
- package/dist/Upload/UploadTrigger.d.ts +5 -3
- package/dist/Upload/index.js +1 -1
- package/dist/Upload/index.umd.cjs +1 -1
- package/dist/Upload/types.d.ts +2 -2
- package/dist/Upload/utils/extension.d.ts +1 -1
- package/dist/Upload/utils/transformFile.d.ts +1 -1
- package/dist/Upload.vue_vue_type_script_setup_true_lang-BNiFkx47.js +1027 -0
- package/dist/Upload.vue_vue_type_script_setup_true_lang-ClLueLCg.js +1 -0
- package/dist/bodyLock-DBGsJvTg.js +14 -0
- package/dist/bodyLock-DM_fELbd.js +1 -0
- package/dist/collection-BFrS9-RP.js +1 -0
- package/dist/collection-DUgtxIW2.js +70 -0
- package/dist/exports.d.ts +1 -6
- package/dist/index.js +272 -257
- package/dist/index.umd.cjs +1 -1
- package/dist/isEmpty-CgVXdsCr.js +40 -0
- package/dist/isEmpty-cyU2mCRb.js +1 -0
- package/dist/{options-Bh1s18jm.js → options-J8HfRMSU.js} +2 -2
- package/dist/style/index.css +1 -1
- package/dist/useInputDataStates-CVQJAe1K.js +1 -0
- package/dist/useInputDataStates-DCxDvkM-.js +50 -0
- package/dist/useVirtualScroll-3vEZzPrF.js +1 -0
- package/dist/useVirtualScroll-CXkmR_v2.js +32 -0
- package/dist/useVmodel-BU5qtyne.js +1 -0
- package/dist/useVmodel-DlyNieM5.js +52 -0
- package/dist/utils/bodyLock.d.ts +2 -0
- package/dist/utils/collection.d.ts +32 -0
- package/dist/utils/index.d.ts +10 -5
- package/dist/utils/index.js +32 -15
- package/dist/utils/index.umd.cjs +1 -1
- package/dist/utils/style.d.ts +1 -0
- package/dist/utils/useInputDataStates.d.ts +1 -1
- package/dist/utils/useVirtualScroll.d.ts +23 -0
- package/dist/utils/useVmodel.d.ts +69 -0
- package/package.json +9 -8
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-C-yubDE0.js +0 -1
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-C8Q6waTJ.js +0 -56
- package/dist/Alert.vue_vue_type_style_index_0_lang-DxlwdpVq.js +0 -123
- package/dist/Alert.vue_vue_type_style_index_0_lang-Q2swor45.js +0 -1
- package/dist/Avatar.vue_vue_type_style_index_0_lang-UzInGmo8.js +0 -1
- package/dist/Badge.vue_vue_type_script_setup_true_lang-BBMB72Mz.js +0 -1
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-BNlyoiRz.js +0 -1
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-DQGK3rUl.js +0 -1
- package/dist/BaseInput.vue_vue_type_style_index_0_lang-CalBdGIB.js +0 -133
- package/dist/BaseInput.vue_vue_type_style_index_0_lang-b7Cyp0zn.js +0 -1
- package/dist/Button.vue_vue_type_script_setup_true_lang-BGNxRN3s.js +0 -53
- package/dist/Button.vue_vue_type_script_setup_true_lang-C_XW_RxE.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-BftwQBSo.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-QBA04hd1.js +0 -223
- package/dist/Chip.vue_vue_type_style_index_0_lang-CRI3QwLZ.js +0 -192
- package/dist/Chip.vue_vue_type_style_index_0_lang-z_hK7usq.js +0 -1
- package/dist/ColorPicker.vue_vue_type_style_index_0_lang-CcSrQKRq.js +0 -4
- package/dist/ColorSwatch-B8Atg6sw.js +0 -4
- package/dist/ColorSwatch-Bjf8zaRk.js +0 -1
- package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-CXCshLKX.js +0 -1
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-CczGrgYd.js +0 -1
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-amI55LMo.js +0 -156
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-BIaTcjVN.js +0 -90
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-Bny3csr4.js +0 -1
- package/dist/Combobox/ComboboxWrapper.d.ts +0 -4
- package/dist/Combobox.vue_vue_type_style_index_0_lang-C5lxH1Cg.js +0 -1
- package/dist/Combobox.vue_vue_type_style_index_0_lang-DLgal2Q-.js +0 -949
- package/dist/DataTable.vue_vue_type_style_index_0_lang-CRv9-elM.js +0 -1
- package/dist/Divider.vue_vue_type_style_index_0_lang-B1VnMpBg.js +0 -1
- package/dist/Divider.vue_vue_type_style_index_0_lang-CfBklijs.js +0 -36
- package/dist/DropZone.vue_vue_type_style_index_0_lang-B0T34FXZ.js +0 -124
- package/dist/DropZone.vue_vue_type_style_index_0_lang-CjskWVFc.js +0 -1
- package/dist/Empty.vue_vue_type_style_index_0_lang-2ZPIGpdZ.js +0 -1
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-CqI5GHuN.js +0 -58
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-DObfA5pf.js +0 -1
- package/dist/GOPicker.vue_vue_type_style_index_0_lang-BieXIwrY.js +0 -1
- package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-BqtvZ4Zu.js +0 -1
- package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CFIKZKMj.js +0 -64
- package/dist/GraphicalObjectGroup.vue_vue_type_style_index_0_lang-CnsHb2Lb.js +0 -1
- package/dist/HoverCard.vue_vue_type_style_index_0_lang-DGhlQaO0.js +0 -124
- package/dist/HoverCard.vue_vue_type_style_index_0_lang-tPtCNI95.js +0 -1
- package/dist/Icon.vue_vue_type_style_index_0_lang-26YK1SwL.js +0 -2909
- package/dist/Icon.vue_vue_type_style_index_0_lang-CRquOLJG.js +0 -9
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-Dvu9WpEN.js +0 -58
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-ZUsEmKon.js +0 -1
- package/dist/Image.vue_vue_type_style_index_0_lang-BabuXXFH.js +0 -126
- package/dist/Image.vue_vue_type_style_index_0_lang-Dcqwbt4T.js +0 -1
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-CZ95qLkr.js +0 -99
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-LYssIii4.js +0 -1
- package/dist/Indicator.vue_vue_type_script_setup_true_lang-B-oDEbiu.js +0 -1
- package/dist/Input.vue_vue_type_script_setup_true_lang-BVbKTWVG.js +0 -1
- package/dist/InputNumber.vue_vue_type_script_setup_true_lang-DEgVgZ_0.js +0 -1
- package/dist/Kbd.vue_vue_type_style_index_0_lang-1ITCVp0q.js +0 -47
- package/dist/Kbd.vue_vue_type_style_index_0_lang-Cjc5Rk3l.js +0 -1
- package/dist/Link.vue_vue_type_style_index_0_lang-gFBGdIkN.js +0 -1
- package/dist/MenuItem.vue_vue_type_style_index_0_lang-BC0hNIHn.js +0 -1
- package/dist/MenuItem.vue_vue_type_style_index_0_lang-CK2KrtJa.js +0 -587
- package/dist/Pagination.vue_vue_type_style_index_0_lang-DOwVgreM.js +0 -1
- package/dist/Pagination.vue_vue_type_style_index_0_lang-Dgx-vviE.js +0 -235
- package/dist/Popover.vue_vue_type_style_index_0_lang-22ewjJ6F.js +0 -1
- package/dist/Popover.vue_vue_type_style_index_0_lang-BrLhsdZu.js +0 -247
- package/dist/Progress.vue_vue_type_style_index_0_lang-8m4aQ4CZ.js +0 -1
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-B9rRuGDt.js +0 -1
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-Zo3ozdqk.js +0 -101
- package/dist/ScrollContainer.vue_vue_type_style_index_0_lang-DRYmVHMT.js +0 -1
- package/dist/Segmented.vue_vue_type_style_index_0_lang-BPt9_TEH.js +0 -165
- package/dist/Segmented.vue_vue_type_style_index_0_lang-BSt3GUbV.js +0 -1
- package/dist/Select.vue_vue_type_style_index_0_lang-D7VjqOBv.js +0 -1
- package/dist/Select.vue_vue_type_style_index_0_lang-XLlU2Du1.js +0 -769
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-CllMPygM.js +0 -1
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-D9NQzaRd.js +0 -32
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-2rpO7HY2.js +0 -58
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-vYeWc1nI.js +0 -1
- package/dist/Spinner.vue_vue_type_style_index_0_lang-D0mZzwBr.js +0 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-CLIDvWMp.js +0 -1
- package/dist/THead.vue_vue_type_style_index_0_lang-Bk62FCuE.js +0 -1
- package/dist/THead.vue_vue_type_style_index_0_lang-CDQ98k-9.js +0 -200
- package/dist/Textarea.vue_vue_type_style_index_0_lang-CY82h4f9.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-BrdekqZ8.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-i9HBxbnw.js +0 -737
- package/dist/Upload.vue_vue_type_style_index_0_lang-Bej4zFFq.js +0 -1020
- package/dist/Upload.vue_vue_type_style_index_0_lang-CTtVPcxp.js +0 -1
- package/dist/style-BEhqkSEE.js +0 -20
- package/dist/style-CYb6EX2Q.js +0 -1
- package/dist/useInputDataStates-D-XvZURF.js +0 -52
- package/dist/useInputDataStates-DvfSqKSa.js +0 -1
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { u as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as ve } from "./RadioGroup.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as ge } from "./Input.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as ye } from "./Empty.
|
|
9
|
-
import { _ as
|
|
1
|
+
import { defineComponent as oe, createBlock as p, openBlock as s, normalizeClass as w, unref as r, defineAsyncComponent as ie, computed as k, ref as ne, mergeProps as m, withCtx as u, renderSlot as y, createCommentVNode as d, createVNode as I, createSlots as L, createElementVNode as S, toDisplayString as G, createElementBlock as C, isRef as de, normalizeProps as V, guardReactiveProps as z, createTextVNode as M, Fragment as X, renderList as Y } from "vue";
|
|
2
|
+
import { _ as Z } from "./Popover.vue_vue_type_script_setup_true_lang-D-Jebwr9.js";
|
|
3
|
+
import { u as pe, e as ce } from "./Icon.vue_vue_type_script_setup_true_lang-DJv20Efl.js";
|
|
4
|
+
import { _ as x } from "./IconButton.vue_vue_type_script_setup_true_lang-CRdinhW6.js";
|
|
5
|
+
import { _ as ve } from "./RadioGroup.vue_vue_type_script_setup_true_lang-w2aa6VhW.js";
|
|
6
|
+
import { _ as ge } from "./Input.vue_vue_type_script_setup_true_lang-BBOWLata.js";
|
|
7
|
+
import { _ as ee } from "./ColorTrigger.vue_vue_type_script_setup_true_lang-BbT6N2FL.js";
|
|
8
|
+
import { _ as ye } from "./Empty.vue_vue_type_script_setup_true_lang-CnJOScIi.js";
|
|
9
|
+
import { _ as A } from "./ColorSwatchGroup.vue_vue_type_script_setup_true_lang-B-cLoom6.js";
|
|
10
10
|
import { getBemBlock as we, getBemElement as c, normCls as b } from "@pantograph/utils";
|
|
11
|
-
import { _ as ke } from "./Skeleton.
|
|
12
|
-
import { _ as me } from "./ScrollContainer.
|
|
11
|
+
import { _ as ke } from "./Skeleton.vue_vue_type_script_setup_true_lang-BPGtJ7m9.js";
|
|
12
|
+
import { _ as me } from "./ScrollContainer.vue_vue_type_script_setup_true_lang-BU7qU1LR.js";
|
|
13
|
+
import { cloneDeep as j, omit as be } from "es-toolkit";
|
|
14
|
+
import { a as fe } from "./options-J8HfRMSU.js";
|
|
15
|
+
import { u as he } from "./useInputDataStates-DCxDvkM-.js";
|
|
16
|
+
import "reka-ui";
|
|
17
|
+
import "@vueuse/core";
|
|
18
|
+
import { u as re } from "./useVmodel-DlyNieM5.js";
|
|
13
19
|
import "@tanstack/vue-virtual";
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
import { g as fe } from "./options-Bh1s18jm.js";
|
|
17
|
-
const Ce = [
|
|
20
|
+
import Ce from "@pantograph/style/go_picker.css?raw";
|
|
21
|
+
const Pe = [
|
|
18
22
|
{
|
|
19
23
|
value: "😀",
|
|
20
24
|
group: 0,
|
|
@@ -1181,7 +1185,7 @@ const Ce = [
|
|
|
1181
1185
|
group: 9,
|
|
1182
1186
|
keywords: ["IR", "flag", "flag: Iran"]
|
|
1183
1187
|
}
|
|
1184
|
-
],
|
|
1188
|
+
], Ve = [
|
|
1185
1189
|
{ value: "tabler:home", keywords: ["house", "main", "start", "dashboard"] },
|
|
1186
1190
|
{ value: "tabler:mail", keywords: ["email", "message", "send", "contact"] },
|
|
1187
1191
|
{ value: "tabler:bell", keywords: ["notification", "alert", "alarm", "ring"] },
|
|
@@ -1283,14 +1287,14 @@ const Ce = [
|
|
|
1283
1287
|
{ value: "tabler:logout", keywords: ["sign out", "exit", "leave", "disconnect"] },
|
|
1284
1288
|
{ value: "tabler:user-plus", keywords: ["add user", "new account", "register"] },
|
|
1285
1289
|
{ value: "tabler:user-minus", keywords: ["remove user", "delete account"] }
|
|
1286
|
-
], v = we("go_picker"),
|
|
1290
|
+
], v = we("go_picker"), ze = /* @__PURE__ */ oe({
|
|
1287
1291
|
__name: "GOItemSkeleton",
|
|
1288
|
-
setup(
|
|
1289
|
-
return (
|
|
1292
|
+
setup(N) {
|
|
1293
|
+
return (U, E) => (s(), p(ke, {
|
|
1290
1294
|
class: w(r(c)(r(v), "color_swatch_loading"))
|
|
1291
1295
|
}, null, 8, ["class"]));
|
|
1292
1296
|
}
|
|
1293
|
-
}),
|
|
1297
|
+
}), je = { key: 0 }, Ke = /* @__PURE__ */ oe({
|
|
1294
1298
|
...fe("GOpicker"),
|
|
1295
1299
|
__name: "GOPicker",
|
|
1296
1300
|
props: {
|
|
@@ -1309,7 +1313,7 @@ const Ce = [
|
|
|
1309
1313
|
hideEmojis: { type: Boolean },
|
|
1310
1314
|
hideSearch: { type: Boolean },
|
|
1311
1315
|
hideRandom: { type: Boolean },
|
|
1312
|
-
disabled: { type: Boolean },
|
|
1316
|
+
disabled: { type: Boolean, default: void 0 },
|
|
1313
1317
|
borderless: { type: Boolean },
|
|
1314
1318
|
popoverProps: { default: () => ({ forceMount: !1 }) },
|
|
1315
1319
|
colorPopoverProps: { default: () => ({ forceMount: !1 }) },
|
|
@@ -1330,44 +1334,47 @@ const Ce = [
|
|
|
1330
1334
|
resetColorsOnChangeType: {}
|
|
1331
1335
|
},
|
|
1332
1336
|
emits: ["update:group", "clear", "change", "select", "update:modelValue"],
|
|
1333
|
-
setup(
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
passive: g.group === void 0
|
|
1340
|
-
}), U = k(() => u.value && ["icon", "emoji"].includes(u.value)), a = ee(
|
|
1337
|
+
setup(N, { emit: U }) {
|
|
1338
|
+
pe("go_picker", Ce);
|
|
1339
|
+
const E = ie({
|
|
1340
|
+
loader: () => import("./ColorSwatch-BUx8Adlm.js"),
|
|
1341
|
+
loadingComponent: ze
|
|
1342
|
+
}), g = N, $ = U, a = re(
|
|
1341
1343
|
g,
|
|
1342
1344
|
"modelValue",
|
|
1343
|
-
|
|
1345
|
+
$,
|
|
1344
1346
|
{
|
|
1345
1347
|
deep: !0,
|
|
1346
1348
|
clone: !0,
|
|
1347
1349
|
defaultValue: g.defaultValue,
|
|
1348
|
-
passive: g.modelValue === void 0
|
|
1350
|
+
passive: g.modelValue === void 0,
|
|
1351
|
+
onChange(e) {
|
|
1352
|
+
$("change", j(e));
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
), i = re(g, "group", $, {
|
|
1356
|
+
defaultValue: "icon",
|
|
1357
|
+
passive: g.group === void 0,
|
|
1358
|
+
onChange(e) {
|
|
1359
|
+
var o, n, h;
|
|
1360
|
+
e && ((n = (o = g.resetColorsOnChangeType) == null ? void 0 : o[e]) != null && n.length) && ((h = g.resetColorsOnChangeType[e]) == null || h.forEach((l) => {
|
|
1361
|
+
a.value && (a.value[l] = void 0);
|
|
1362
|
+
}));
|
|
1349
1363
|
}
|
|
1350
|
-
)
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
e && ((i = (o = g.resetColorsOnChangeType) == null ? void 0 : o[e]) != null && i.length) && ((f = g.resetColorsOnChangeType[e]) == null || f.forEach((l) => {
|
|
1354
|
-
a.value && (a.value[l] = void 0);
|
|
1355
|
-
}));
|
|
1356
|
-
});
|
|
1357
|
-
const E = (e) => {
|
|
1358
|
-
j("select", e), u.value && !g.noModel && (a.value = {
|
|
1359
|
-
...z(a.value ?? {}),
|
|
1364
|
+
}), q = k(() => i.value && ["icon", "emoji"].includes(i.value)), O = (e) => {
|
|
1365
|
+
$("select", e), i.value && !g.noModel && (a.value = {
|
|
1366
|
+
...j(a.value ?? {}),
|
|
1360
1367
|
value: e.value,
|
|
1361
|
-
type:
|
|
1368
|
+
type: i.value
|
|
1362
1369
|
});
|
|
1363
|
-
},
|
|
1370
|
+
}, _ = k({
|
|
1364
1371
|
get: () => {
|
|
1365
1372
|
var e;
|
|
1366
1373
|
return (e = a.value) == null ? void 0 : e.fg;
|
|
1367
1374
|
},
|
|
1368
1375
|
set: (e) => {
|
|
1369
1376
|
a.value = {
|
|
1370
|
-
...
|
|
1377
|
+
...j(a.value ?? {}),
|
|
1371
1378
|
fg: e
|
|
1372
1379
|
};
|
|
1373
1380
|
}
|
|
@@ -1378,7 +1385,7 @@ const Ce = [
|
|
|
1378
1385
|
},
|
|
1379
1386
|
set: (e) => {
|
|
1380
1387
|
a.value = {
|
|
1381
|
-
...
|
|
1388
|
+
...j(a.value ?? {}),
|
|
1382
1389
|
bg: e
|
|
1383
1390
|
};
|
|
1384
1391
|
}
|
|
@@ -1389,70 +1396,62 @@ const Ce = [
|
|
|
1389
1396
|
},
|
|
1390
1397
|
set: (e) => {
|
|
1391
1398
|
a.value = {
|
|
1392
|
-
...
|
|
1399
|
+
...j(a.value ?? {}),
|
|
1393
1400
|
br: e
|
|
1394
1401
|
};
|
|
1395
1402
|
}
|
|
1396
|
-
})
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
() => {
|
|
1400
|
-
j("change", z(a.value));
|
|
1401
|
-
},
|
|
1402
|
-
{ deep: !0 }
|
|
1403
|
-
);
|
|
1404
|
-
const le = () => {
|
|
1405
|
-
a.value = z(g.defaultValue), j("clear");
|
|
1406
|
-
}, h = de(""), H = k(() => g.icons ?? Pe), _ = k(() => g.emojis ?? Ce), O = k(() => !h.value || u.value !== "emoji" ? _.value : _.value.filter(
|
|
1403
|
+
}), ae = () => {
|
|
1404
|
+
a.value = j(g.defaultValue), $("clear");
|
|
1405
|
+
}, f = ne(""), H = k(() => g.icons ?? Ve), J = k(() => g.emojis ?? Pe), T = k(() => !f.value || i.value !== "emoji" ? J.value : J.value.filter(
|
|
1407
1406
|
(e) => {
|
|
1408
1407
|
var o;
|
|
1409
|
-
return ((o = e.keywords) == null ? void 0 : o.some((
|
|
1408
|
+
return ((o = e.keywords) == null ? void 0 : o.some((n) => n.toLowerCase().includes(f.value))) || e.value.toLowerCase().includes(f.value);
|
|
1410
1409
|
}
|
|
1411
|
-
)), R = k(() => !
|
|
1410
|
+
)), R = k(() => !f.value || i.value !== "icon" ? H.value : H.value.filter(
|
|
1412
1411
|
(e) => {
|
|
1413
1412
|
var o;
|
|
1414
|
-
return ((o = e.keywords) == null ? void 0 : o.some((
|
|
1413
|
+
return ((o = e.keywords) == null ? void 0 : o.some((n) => n.toLowerCase().includes(f.value))) || e.value.toLowerCase().includes(f.value);
|
|
1415
1414
|
}
|
|
1416
|
-
)),
|
|
1417
|
-
if (
|
|
1418
|
-
const e =
|
|
1419
|
-
|
|
1415
|
+
)), le = () => i.value === "icon" ? R.value : T.value, se = () => {
|
|
1416
|
+
if (q.value) {
|
|
1417
|
+
const e = le();
|
|
1418
|
+
O(e[Math.floor(Math.random() * e.length)]);
|
|
1420
1419
|
}
|
|
1421
|
-
},
|
|
1420
|
+
}, K = k(() => [
|
|
1422
1421
|
{ value: "icon", label: "Icon" },
|
|
1423
1422
|
{ value: "emoji", label: "Emoji" }
|
|
1424
1423
|
// { value: 'custom', label: 'Custom' },
|
|
1425
1424
|
].filter((o) => {
|
|
1426
|
-
var
|
|
1427
|
-
return (
|
|
1428
|
-
})),
|
|
1425
|
+
var n;
|
|
1426
|
+
return (n = g.visibleTabs) == null ? void 0 : n.includes(o.value);
|
|
1427
|
+
})), te = k(
|
|
1429
1428
|
() => {
|
|
1430
1429
|
var e;
|
|
1431
|
-
return (e =
|
|
1430
|
+
return (e = K.value.find((o) => o.value === i.value)) == null ? void 0 : e.label;
|
|
1432
1431
|
}
|
|
1433
|
-
), { getDisabled:
|
|
1434
|
-
var
|
|
1435
|
-
const o = e.value === ((
|
|
1432
|
+
), { getDisabled: Q, getSize: ue } = he(), W = (e) => {
|
|
1433
|
+
var n;
|
|
1434
|
+
const o = e.value === ((n = a.value) == null ? void 0 : n.value);
|
|
1436
1435
|
return {
|
|
1437
1436
|
selected: o,
|
|
1438
|
-
...o ?
|
|
1437
|
+
...o ? be(a.value ?? {}, [
|
|
1439
1438
|
"value",
|
|
1440
1439
|
"type"
|
|
1441
1440
|
]) : {}
|
|
1442
1441
|
};
|
|
1443
1442
|
};
|
|
1444
|
-
return (e, o) => (s(), p(
|
|
1443
|
+
return (e, o) => (s(), p(Z, m({
|
|
1445
1444
|
placement: "bottom-start",
|
|
1446
1445
|
"reverse-placement-on-dir": "rtl",
|
|
1447
1446
|
"side-offset": 3
|
|
1448
1447
|
}, e.popoverProps ?? {}), {
|
|
1449
|
-
content:
|
|
1450
|
-
var
|
|
1448
|
+
content: u(() => {
|
|
1449
|
+
var n, h;
|
|
1451
1450
|
return [
|
|
1452
|
-
|
|
1451
|
+
S("div", {
|
|
1453
1452
|
class: w(r(b)(r(c)(r(v), "content"), e.contentCls))
|
|
1454
1453
|
}, [
|
|
1455
|
-
|
|
1454
|
+
S("div", {
|
|
1456
1455
|
class: w(r(b)(r(c)(r(v), "header"), e.headerCls))
|
|
1457
1456
|
}, [
|
|
1458
1457
|
e.hideGroup && e.hideClear ? d("", !0) : (s(), C("div", {
|
|
@@ -1461,30 +1460,30 @@ const Ce = [
|
|
|
1461
1460
|
}, [
|
|
1462
1461
|
e.hideGroup ? d("", !0) : (s(), p(ve, {
|
|
1463
1462
|
key: 0,
|
|
1464
|
-
items:
|
|
1463
|
+
items: K.value,
|
|
1465
1464
|
orientation: "horizontal",
|
|
1466
|
-
modelValue: r(
|
|
1467
|
-
"onUpdate:modelValue": o[0] || (o[0] = (l) =>
|
|
1465
|
+
modelValue: r(i),
|
|
1466
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => de(i) ? i.value = l : null)
|
|
1468
1467
|
}, null, 8, ["items", "modelValue"])),
|
|
1469
|
-
e.hideClear ? d("", !0) : (s(), p(
|
|
1468
|
+
e.hideClear ? d("", !0) : (s(), p(x, {
|
|
1470
1469
|
key: 1,
|
|
1471
1470
|
icon: "tabler:trash",
|
|
1472
1471
|
color: "neutral",
|
|
1473
1472
|
type: "ghost",
|
|
1474
|
-
onClick:
|
|
1473
|
+
onClick: ae
|
|
1475
1474
|
}))
|
|
1476
1475
|
], 2)),
|
|
1477
|
-
!(e.hideSearch && e.hideRandom) || (
|
|
1476
|
+
!(e.hideSearch && e.hideRandom) || (n = e.visibleColorPickers) != null && n.length ? (s(), C("div", {
|
|
1478
1477
|
key: 1,
|
|
1479
1478
|
class: w(r(b)(r(c)(r(v), "search"), e.searchCls))
|
|
1480
1479
|
}, [
|
|
1481
1480
|
e.hideSearch ? d("", !0) : (s(), p(ge, {
|
|
1482
1481
|
key: 0,
|
|
1483
1482
|
placeholder: "Search...",
|
|
1484
|
-
modelValue:
|
|
1485
|
-
"onUpdate:modelValue": o[1] || (o[1] = (l) =>
|
|
1483
|
+
modelValue: f.value,
|
|
1484
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => f.value = l)
|
|
1486
1485
|
}, {
|
|
1487
|
-
leading:
|
|
1486
|
+
leading: u(({ iconSize: l }) => [
|
|
1488
1487
|
I(ce, {
|
|
1489
1488
|
icon: "tabler:search",
|
|
1490
1489
|
size: l
|
|
@@ -1492,25 +1491,25 @@ const Ce = [
|
|
|
1492
1491
|
]),
|
|
1493
1492
|
_: 1
|
|
1494
1493
|
}, 8, ["modelValue"])),
|
|
1495
|
-
e.hideRandom ? d("", !0) : (s(), p(
|
|
1494
|
+
e.hideRandom ? d("", !0) : (s(), p(x, {
|
|
1496
1495
|
key: 1,
|
|
1497
1496
|
icon: "tabler:arrows-shuffle",
|
|
1498
1497
|
color: "neutral",
|
|
1499
1498
|
type: "outline",
|
|
1500
|
-
onClick:
|
|
1499
|
+
onClick: se
|
|
1501
1500
|
})),
|
|
1502
|
-
(
|
|
1501
|
+
(h = e.visibleColorPickers) != null && h.length && r(a) ? (s(), p(Z, m({
|
|
1503
1502
|
key: 2,
|
|
1504
1503
|
placement: "right-start",
|
|
1505
1504
|
"reverse-placement-on-dir": "rtl"
|
|
1506
1505
|
}, e.colorPopoverProps ?? {}), {
|
|
1507
|
-
content:
|
|
1508
|
-
var l,
|
|
1506
|
+
content: u(() => {
|
|
1507
|
+
var l, P, B;
|
|
1509
1508
|
return [
|
|
1510
|
-
|
|
1509
|
+
S("div", {
|
|
1511
1510
|
class: w(r(b)(r(c)(r(v), "colors"), e.colorsCls))
|
|
1512
1511
|
}, [
|
|
1513
|
-
(l = e.visibleColorPickers) != null && l.includes("fg") ? (s(), p(
|
|
1512
|
+
(l = e.visibleColorPickers) != null && l.includes("fg") ? (s(), p(A, m({
|
|
1514
1513
|
key: 0,
|
|
1515
1514
|
"popover-props": { sideOffset: 7 },
|
|
1516
1515
|
noRemover: "",
|
|
@@ -1526,78 +1525,78 @@ const Ce = [
|
|
|
1526
1525
|
"gray"
|
|
1527
1526
|
]
|
|
1528
1527
|
}, e.fgColorSwatchGroupProps ?? {}, {
|
|
1529
|
-
modelValue:
|
|
1530
|
-
"onUpdate:modelValue": o[2] || (o[2] = (
|
|
1528
|
+
modelValue: _.value,
|
|
1529
|
+
"onUpdate:modelValue": o[2] || (o[2] = (t) => _.value = t)
|
|
1531
1530
|
}), {
|
|
1532
|
-
header:
|
|
1531
|
+
header: u(() => [
|
|
1533
1532
|
y(e.$slots, "fgHeader", {}, () => [
|
|
1534
|
-
o[5] || (o[5] =
|
|
1533
|
+
o[5] || (o[5] = M(" Icon ", -1))
|
|
1535
1534
|
])
|
|
1536
1535
|
]),
|
|
1537
|
-
default:
|
|
1538
|
-
y(e.$slots, "fgItem",
|
|
1536
|
+
default: u((t) => [
|
|
1537
|
+
y(e.$slots, "fgItem", V(z(t)))
|
|
1539
1538
|
]),
|
|
1540
|
-
icon:
|
|
1541
|
-
y(e.$slots, "fgIcon",
|
|
1539
|
+
icon: u((t) => [
|
|
1540
|
+
y(e.$slots, "fgIcon", V(z(t)))
|
|
1542
1541
|
]),
|
|
1543
1542
|
_: 3
|
|
1544
1543
|
}, 16, ["modelValue"])) : d("", !0),
|
|
1545
|
-
(
|
|
1544
|
+
(P = e.visibleColorPickers) != null && P.includes("bg") ? (s(), p(A, m({
|
|
1546
1545
|
key: 1,
|
|
1547
1546
|
"popover-props": { sideOffset: 7 },
|
|
1548
1547
|
"color-mode": "subtle"
|
|
1549
1548
|
}, e.bgColorSwatchGroupProps ?? {}, {
|
|
1550
1549
|
modelValue: D.value,
|
|
1551
|
-
"onUpdate:modelValue": o[3] || (o[3] = (
|
|
1550
|
+
"onUpdate:modelValue": o[3] || (o[3] = (t) => D.value = t)
|
|
1552
1551
|
}), {
|
|
1553
|
-
header:
|
|
1552
|
+
header: u(() => [
|
|
1554
1553
|
y(e.$slots, "bgHeader", {}, () => [
|
|
1555
|
-
o[6] || (o[6] =
|
|
1554
|
+
o[6] || (o[6] = M(" Background ", -1))
|
|
1556
1555
|
])
|
|
1557
1556
|
]),
|
|
1558
|
-
default:
|
|
1559
|
-
y(e.$slots, "bgItem",
|
|
1557
|
+
default: u((t) => [
|
|
1558
|
+
y(e.$slots, "bgItem", V(z(t)))
|
|
1560
1559
|
]),
|
|
1561
|
-
icon:
|
|
1562
|
-
y(e.$slots, "bgIcon",
|
|
1560
|
+
icon: u((t) => [
|
|
1561
|
+
y(e.$slots, "bgIcon", V(z(t)))
|
|
1563
1562
|
]),
|
|
1564
1563
|
_: 3
|
|
1565
1564
|
}, 16, ["modelValue"])) : d("", !0),
|
|
1566
|
-
(
|
|
1565
|
+
(B = e.visibleColorPickers) != null && B.includes("br") ? (s(), p(A, m({
|
|
1567
1566
|
key: 2,
|
|
1568
1567
|
"popover-props": { sideOffset: 7 }
|
|
1569
1568
|
}, e.brColorSwatchGroupProps ?? {}, {
|
|
1570
1569
|
modelValue: F.value,
|
|
1571
|
-
"onUpdate:modelValue": o[4] || (o[4] = (
|
|
1570
|
+
"onUpdate:modelValue": o[4] || (o[4] = (t) => F.value = t)
|
|
1572
1571
|
}), {
|
|
1573
|
-
header:
|
|
1572
|
+
header: u(() => [
|
|
1574
1573
|
y(e.$slots, "brHeader", {}, () => [
|
|
1575
|
-
o[7] || (o[7] =
|
|
1574
|
+
o[7] || (o[7] = M(" Border ", -1))
|
|
1576
1575
|
])
|
|
1577
1576
|
]),
|
|
1578
|
-
default:
|
|
1579
|
-
y(e.$slots, "brItem",
|
|
1577
|
+
default: u((t) => [
|
|
1578
|
+
y(e.$slots, "brItem", V(z(t)))
|
|
1580
1579
|
]),
|
|
1581
|
-
icon:
|
|
1582
|
-
y(e.$slots, "brIcon",
|
|
1580
|
+
icon: u((t) => [
|
|
1581
|
+
y(e.$slots, "brIcon", V(z(t)))
|
|
1583
1582
|
]),
|
|
1584
1583
|
_: 3
|
|
1585
1584
|
}, 16, ["modelValue"])) : d("", !0)
|
|
1586
1585
|
], 2)
|
|
1587
1586
|
];
|
|
1588
1587
|
}),
|
|
1589
|
-
default:
|
|
1590
|
-
I(
|
|
1588
|
+
default: u(() => [
|
|
1589
|
+
I(ee, m(r(a), {
|
|
1591
1590
|
suffixIcon: !1,
|
|
1592
1591
|
icon: r(a).value
|
|
1593
|
-
}),
|
|
1592
|
+
}), L({ _: 2 }, [
|
|
1594
1593
|
r(a).type !== "icon" ? {
|
|
1595
1594
|
name: "default",
|
|
1596
|
-
fn:
|
|
1595
|
+
fn: u(() => [
|
|
1597
1596
|
r(a).type === "emoji" ? (s(), C("div", {
|
|
1598
1597
|
key: 0,
|
|
1599
1598
|
class: w(r(c)(r(v), "trigger_emoji"))
|
|
1600
|
-
},
|
|
1599
|
+
}, G(r(a).value), 3)) : d("", !0)
|
|
1601
1600
|
]),
|
|
1602
1601
|
key: "0"
|
|
1603
1602
|
} : void 0
|
|
@@ -1607,52 +1606,50 @@ const Ce = [
|
|
|
1607
1606
|
}, 16)) : d("", !0)
|
|
1608
1607
|
], 2)) : d("", !0)
|
|
1609
1608
|
], 2),
|
|
1610
|
-
|
|
1609
|
+
q.value ? (s(), C("div", je, [
|
|
1611
1610
|
I(r(me), m({
|
|
1612
1611
|
class: r(b)(r(c)(r(v), "scroll_container")),
|
|
1613
1612
|
overlay: !1,
|
|
1614
1613
|
"has-mask": "",
|
|
1615
1614
|
size: "sm"
|
|
1616
1615
|
}, e.scrollContainerProps ?? {}), {
|
|
1617
|
-
default:
|
|
1618
|
-
!e.hideIcons && r(
|
|
1616
|
+
default: u(() => [
|
|
1617
|
+
!e.hideIcons && r(i) === "icon" ? (s(), C("div", {
|
|
1619
1618
|
key: 0,
|
|
1620
1619
|
class: w(r(b)(r(c)(r(v), "grid"), e.gridCls))
|
|
1621
1620
|
}, [
|
|
1622
|
-
(s(!0), C(
|
|
1623
|
-
onClick: (
|
|
1621
|
+
(s(!0), C(X, null, Y(R.value, (l) => (s(), p(r(E), m({
|
|
1622
|
+
onClick: (P) => O(l),
|
|
1624
1623
|
key: l.value,
|
|
1625
|
-
icon: l.value
|
|
1626
|
-
|
|
1627
|
-
}, Q(l)), T({ _: 2 }, [
|
|
1624
|
+
icon: l.value
|
|
1625
|
+
}, { ref_for: !0 }, W(l)), L({ _: 2 }, [
|
|
1628
1626
|
e.$slots.item ? {
|
|
1629
1627
|
name: "default",
|
|
1630
|
-
fn:
|
|
1628
|
+
fn: u(() => [
|
|
1631
1629
|
y(e.$slots, "item", {
|
|
1632
1630
|
item: l,
|
|
1633
|
-
group: r(
|
|
1631
|
+
group: r(i)
|
|
1634
1632
|
})
|
|
1635
1633
|
]),
|
|
1636
1634
|
key: "0"
|
|
1637
1635
|
} : void 0
|
|
1638
1636
|
]), 1040, ["onClick", "icon"]))), 128))
|
|
1639
|
-
], 2)) : !e.hideEmojis && r(
|
|
1637
|
+
], 2)) : !e.hideEmojis && r(i) === "emoji" ? (s(), C("div", {
|
|
1640
1638
|
key: 1,
|
|
1641
1639
|
class: w(r(b)(r(c)(r(v), "grid"), e.gridCls))
|
|
1642
1640
|
}, [
|
|
1643
|
-
(s(!0), C(
|
|
1644
|
-
onClick: (
|
|
1645
|
-
key: l.value
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
default: t(() => [
|
|
1641
|
+
(s(!0), C(X, null, Y(T.value, (l) => (s(), p(r(E), m({
|
|
1642
|
+
onClick: (P) => O(l),
|
|
1643
|
+
key: l.value
|
|
1644
|
+
}, { ref_for: !0 }, W(l)), {
|
|
1645
|
+
default: u(() => [
|
|
1649
1646
|
y(e.$slots, "item", {
|
|
1650
1647
|
item: l,
|
|
1651
|
-
group: r(
|
|
1648
|
+
group: r(i)
|
|
1652
1649
|
}, () => [
|
|
1653
|
-
|
|
1650
|
+
S("div", {
|
|
1654
1651
|
class: w(r(c)(r(v), "emoji"))
|
|
1655
|
-
},
|
|
1652
|
+
}, G(l.value), 3)
|
|
1656
1653
|
])
|
|
1657
1654
|
]),
|
|
1658
1655
|
_: 2
|
|
@@ -1661,12 +1658,12 @@ const Ce = [
|
|
|
1661
1658
|
]),
|
|
1662
1659
|
_: 3
|
|
1663
1660
|
}, 16, ["class"]),
|
|
1664
|
-
r(
|
|
1661
|
+
r(i) === "icon" && !R.value.length || r(i) === "emoji" && !T.value.length || e.hideIcons && e.hideEmojis && r(i) !== "custom" ? (s(), p(ye, {
|
|
1665
1662
|
key: 0,
|
|
1666
1663
|
class: w(r(b)(r(c)(r(v), "empty"), e.emptyCls))
|
|
1667
1664
|
}, {
|
|
1668
|
-
title:
|
|
1669
|
-
G(
|
|
1665
|
+
title: u(() => [
|
|
1666
|
+
M(G(te.value) + " not found", 1)
|
|
1670
1667
|
]),
|
|
1671
1668
|
_: 1
|
|
1672
1669
|
}, 8, ["class"])) : d("", !0)
|
|
@@ -1674,37 +1671,39 @@ const Ce = [
|
|
|
1674
1671
|
], 2)
|
|
1675
1672
|
];
|
|
1676
1673
|
}),
|
|
1677
|
-
default:
|
|
1674
|
+
default: u(() => [
|
|
1678
1675
|
e.noTrigger ? d("", !0) : y(e.$slots, "default", {
|
|
1679
1676
|
key: 0,
|
|
1680
1677
|
model: r(a),
|
|
1681
|
-
disabled: r(
|
|
1678
|
+
disabled: r(Q),
|
|
1682
1679
|
borderless: e.borderless,
|
|
1683
1680
|
id: e.id
|
|
1684
1681
|
}, () => {
|
|
1685
|
-
var
|
|
1682
|
+
var n, h, l, P, B;
|
|
1686
1683
|
return [
|
|
1687
|
-
I(
|
|
1688
|
-
size: r(
|
|
1689
|
-
disabled: r(
|
|
1690
|
-
borderless: e.borderless
|
|
1691
|
-
|
|
1684
|
+
I(ee, {
|
|
1685
|
+
size: r(ue),
|
|
1686
|
+
disabled: r(Q),
|
|
1687
|
+
borderless: e.borderless,
|
|
1688
|
+
fg: (n = r(a)) == null ? void 0 : n.fg,
|
|
1689
|
+
bg: (h = r(a)) == null ? void 0 : h.bg,
|
|
1690
|
+
br: (l = r(a)) == null ? void 0 : l.br,
|
|
1692
1691
|
id: e.id,
|
|
1693
|
-
icon: (
|
|
1694
|
-
}
|
|
1695
|
-
((
|
|
1692
|
+
icon: (P = r(a)) == null ? void 0 : P.value
|
|
1693
|
+
}, L({ _: 2 }, [
|
|
1694
|
+
((B = r(a)) == null ? void 0 : B.type) === "emoji" ? {
|
|
1696
1695
|
name: "default",
|
|
1697
|
-
fn:
|
|
1698
|
-
var
|
|
1696
|
+
fn: u(() => {
|
|
1697
|
+
var t;
|
|
1699
1698
|
return [
|
|
1700
|
-
|
|
1699
|
+
S("div", {
|
|
1701
1700
|
class: w(r(c)(r(v), "trigger_emoji"))
|
|
1702
|
-
},
|
|
1701
|
+
}, G((t = r(a)) == null ? void 0 : t.value), 3)
|
|
1703
1702
|
];
|
|
1704
1703
|
}),
|
|
1705
1704
|
key: "0"
|
|
1706
1705
|
} : void 0
|
|
1707
|
-
]),
|
|
1706
|
+
]), 1032, ["size", "disabled", "borderless", "fg", "bg", "br", "id", "icon"])
|
|
1708
1707
|
];
|
|
1709
1708
|
})
|
|
1710
1709
|
]),
|
|
@@ -1713,5 +1712,5 @@ const Ce = [
|
|
|
1713
1712
|
}
|
|
1714
1713
|
});
|
|
1715
1714
|
export {
|
|
1716
|
-
|
|
1715
|
+
Ke as _
|
|
1717
1716
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../GraphicalObject.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../GraphicalObject.vue_vue_type_script_setup_true_lang-D6ppQA4I.js");exports.GraphicalObject=e._sfc_main;exports.default=e._sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("vue"),g=require("es-toolkit"),b=require("./BaseBadge.vue_vue_type_script_setup_true_lang-8tuJTjkU.js"),y=require("./options-CY2uxp5A.js"),o=require("./BaseBadge.model-DecqxaGN.js"),s=require("@pantograph/tokens"),m=require("./GraphicalObjectGroup.vue_vue_type_script_setup_true_lang-CXyuthQS.js"),B=t.defineComponent({...y.getComponentOptions("GraphicalObject",!1),__name:"GraphicalObject",props:{class:{},icon:{},flipOnDir:{},fg:{},bg:{},br:{},size:{}},setup(u){const e=u,l=[...o.BadgeColors,...o.BadgeColorsSubtle,"transparent","gray-subtle"],c=[...o.BadgeColors,"gray","default","default-subtle","white","black"],C=()=>{if(e.fg&&c.includes(e.fg)){if(e.fg==="gray")return s.getCssCoreColor("gray-6");if(e.fg==="default")return s.getCssCoreColor("gray-8");if(e.fg==="default-subtle")return s.getCssCoreColor("gray-5");if(e.fg==="white")return s.getCssCoreColor("grayscale-light-0");if(e.fg==="black")return s.getCssCoreColor("grayscale-light-10");if(o.BadgeColors.includes(e.fg))return s.getCssCoreColor(`${e.fg}-5`)}return e.fg},a=r=>{if(r&&l.includes(r)){if(r==="transparent")return"transparent";if(r==="gray-subtle")return s.getCssCoreColor("gray-1");if(o.BadgeColorsSubtle.includes(r))return s.getCssCoreColor(`${r.replace("-subtle","")}-0`);if(o.BadgeColors.includes(r))return s.getCssCoreColor(`${r}-5`)}return r},p=t.computed(()=>({bg:a(e.bg),br:a(e.br)??(e.bg==="transparent"?s.getCssCoreColor("gray-2"):void 0),fg:C()})),f=t.useAttrs(),n=m.injectGraphicalObjectGroupContext({}),d=t.computed(()=>{var r;return{...g.omit(f,["type","text"]),...g.omit(e,["size"]),size:((r=n==null?void 0:n.props)==null?void 0:r.size)??e.size,...p.value}});return(r,h)=>(t.openBlock(),t.createBlock(b._sfc_main,t.mergeProps(d.value,{type:"rect"}),t.createSlots({_:2},[t.renderList(Object.keys(r.$slots),i=>({name:i,fn:t.withCtx(_=>[t.renderSlot(r.$slots,i,t.normalizeProps(t.guardReactiveProps(_)))])}))]),1040))}});exports._sfc_main=B;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, computed as o, useAttrs as h, createBlock as _, openBlock as z, mergeProps as B, createSlots as O, renderList as $, withCtx as j, renderSlot as k, normalizeProps as v, guardReactiveProps as G } from "vue";
|
|
2
|
-
import { omit as
|
|
3
|
-
import { _ as w } from "./BaseBadge.
|
|
4
|
-
import {
|
|
5
|
-
import { B as s, a as
|
|
2
|
+
import { omit as f } from "es-toolkit";
|
|
3
|
+
import { _ as w } from "./BaseBadge.vue_vue_type_script_setup_true_lang-BVEnU-L5.js";
|
|
4
|
+
import { a as P } from "./options-J8HfRMSU.js";
|
|
5
|
+
import { B as s, a as g } from "./BaseBadge.model-CahZXsyM.js";
|
|
6
6
|
import { getCssCoreColor as t } from "@pantograph/tokens";
|
|
7
|
-
import { i as S } from "./GraphicalObjectGroup.
|
|
7
|
+
import { i as S } from "./GraphicalObjectGroup.vue_vue_type_script_setup_true_lang-CAvd-28M.js";
|
|
8
8
|
const E = /* @__PURE__ */ C({
|
|
9
9
|
...P("GraphicalObject", !1),
|
|
10
10
|
__name: "GraphicalObject",
|
|
@@ -18,7 +18,7 @@ const E = /* @__PURE__ */ C({
|
|
|
18
18
|
size: {}
|
|
19
19
|
},
|
|
20
20
|
setup(u) {
|
|
21
|
-
const r = u, p = [...s, ...
|
|
21
|
+
const r = u, p = [...s, ...g, "transparent", "gray-subtle"], l = [...s, "gray", "default", "default-subtle", "white", "black"], c = () => {
|
|
22
22
|
if (r.fg && l.includes(r.fg)) {
|
|
23
23
|
if (r.fg === "gray") return t("gray-6");
|
|
24
24
|
if (r.fg === "default") return t("gray-8");
|
|
@@ -32,7 +32,7 @@ const E = /* @__PURE__ */ C({
|
|
|
32
32
|
if (e && p.includes(e)) {
|
|
33
33
|
if (e === "transparent") return "transparent";
|
|
34
34
|
if (e === "gray-subtle") return t("gray-1");
|
|
35
|
-
if (
|
|
35
|
+
if (g.includes(e))
|
|
36
36
|
return t(`${e.replace("-subtle", "")}-0`);
|
|
37
37
|
if (s.includes(e)) return t(`${e}-5`);
|
|
38
38
|
}
|
|
@@ -44,8 +44,8 @@ const E = /* @__PURE__ */ C({
|
|
|
44
44
|
})), b = h(), a = S({}), d = o(() => {
|
|
45
45
|
var e;
|
|
46
46
|
return {
|
|
47
|
-
...
|
|
48
|
-
...
|
|
47
|
+
...f(b, ["type", "text"]),
|
|
48
|
+
...f(r, ["size"]),
|
|
49
49
|
size: ((e = a == null ? void 0 : a.props) == null ? void 0 : e.size) ?? r.size,
|
|
50
50
|
...m.value
|
|
51
51
|
};
|