@pantograph/vue 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActionButton/ActionButton.d.ts +79 -3
- package/dist/ActionButton/index.js.js +1 -1
- package/dist/ActionButton/index.umd.cjs.js +1 -1
- package/dist/{ActionButton.vue_vue_type_script_setup_true_lang-ClxZJxTh.js → ActionButton.vue_vue_type_script_setup_true_lang-B8F78aq-.js} +2 -3
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-DYj83ijm.js +1 -0
- package/dist/Avatar/Avatar.d.ts +14 -7
- package/dist/Avatar/index.js.js +1 -1
- package/dist/Avatar/index.umd.cjs.js +1 -1
- package/dist/Avatar.vue_vue_type_style_index_0_lang-BwkELI0y.js +1 -0
- package/dist/Avatar.vue_vue_type_style_index_0_lang-DheqjJPa.js +182 -0
- package/dist/AvatarGroup/AvatarGroup.d.ts +2 -5
- package/dist/AvatarGroup/index.js.js +1 -1
- package/dist/AvatarGroup/index.umd.cjs.js +1 -1
- package/dist/Badge/Badge.d.ts +9 -2
- package/dist/Badge/index.js.js +1 -1
- package/dist/Badge/index.umd.cjs.js +1 -1
- package/dist/{Badge.vue_vue_type_script_setup_true_lang-CfA3dSJr.js → Badge.vue_vue_type_script_setup_true_lang-CCIamdNB.js} +2 -3
- package/dist/Badge.vue_vue_type_script_setup_true_lang-ooDlpl8j.js +1 -0
- package/dist/Base/BaseBadge/BaseBadge.d.ts +12 -7
- package/dist/Base/BaseButton/BaseButton.d.ts +14 -7
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-BNs69VP4.js +1 -0
- package/dist/{BaseBadge.vue_vue_type_style_index_0_lang-MM6bsdzR.js → BaseBadge.vue_vue_type_style_index_0_lang-Bh1152XC.js} +46 -52
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-CgEN8K4D.js +1 -0
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-D7irHU-6.js +153 -0
- package/dist/Button/Button.d.ts +79 -3
- package/dist/Button/index.js.js +1 -1
- package/dist/Button/index.umd.cjs.js +1 -1
- package/dist/Button.vue_vue_type_script_setup_true_lang-BA3bxjLD.js +1 -0
- package/dist/{Button.vue_vue_type_script_setup_true_lang-B8DWC8Du.js → Button.vue_vue_type_script_setup_true_lang-NKY7YYCC.js} +6 -7
- package/dist/ButtonGroup/ButtonGroup.d.ts +3 -5
- package/dist/ButtonGroup/index.js.js +1 -1
- package/dist/ButtonGroup/index.umd.cjs.js +1 -1
- package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-CT_Kgpjf.js +47 -0
- package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-D486_o-Z.js +1 -0
- package/dist/Checkbox/Checkbox.d.ts +12 -4
- package/dist/Checkbox/index.js.js +1 -1
- package/dist/Checkbox/index.umd.cjs.js +1 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-CSmeTeZh.js +209 -0
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-D0sF0-hW.js +1 -0
- package/dist/CheckboxGroup/CheckboxGroup.d.ts +2 -5
- package/dist/CheckboxGroup/index.js.js +1 -1
- package/dist/CheckboxGroup/index.umd.cjs.js +1 -1
- package/dist/ColorPicker/index.js.js +1 -1
- package/dist/ColorPicker/index.umd.cjs.js +1 -1
- package/dist/ColorPicker.vue_vue_type_style_index_0_lang-B1Rst4Q9.js +1 -0
- package/dist/ColorPicker.vue_vue_type_style_index_0_lang-CEz3bIJG.js +541 -0
- package/dist/ColorSwatch/ColorSwatch.d.ts +11 -4
- package/dist/ColorSwatch/index.js.js +1 -1
- package/dist/ColorSwatch/index.umd.cjs.js +1 -1
- package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-BH-NSALx.js +1 -0
- package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-CL9dd69H.js +100 -0
- package/dist/ColorSwatchGroup/ColorSwatchGroup.d.ts +17 -11
- package/dist/ColorSwatchGroup/index.js.js +3 -163
- package/dist/ColorSwatchGroup/index.umd.cjs.js +1 -1
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-CpgTgIuE.js +1 -0
- package/dist/ColorSwatchGroup.vue_vue_type_style_index_0_lang-Cwh2REmh.js +159 -0
- package/dist/ColorTrigger/ColorTrigger.d.ts +13 -5
- package/dist/ColorTrigger/index.js.js +4 -90
- package/dist/ColorTrigger/index.umd.cjs.js +1 -1
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-BNFu93Ns.js +86 -0
- package/dist/ColorTrigger.vue_vue_type_style_index_0_lang-C8kPa338.js +1 -0
- package/dist/ConfigProvider/index.d.ts +6 -6
- package/dist/ConfigProvider/utils.d.ts +2 -2
- package/dist/Divider/Divider.d.ts +13 -8
- package/dist/Divider/index.js.js +1 -1
- package/dist/Divider/index.umd.cjs.js +1 -1
- package/dist/Divider.vue_vue_type_style_index_0_lang-BELWThBf.js +1 -0
- package/dist/Divider.vue_vue_type_style_index_0_lang-CRs1KEcj.js +34 -0
- package/dist/FloatButton/FloatButton.d.ts +79 -3
- package/dist/FloatButton/index.js.js +1 -1
- package/dist/FloatButton/index.umd.cjs.js +1 -1
- package/dist/{FloatButton.vue_vue_type_script_setup_true_lang-iElZdgSE.js → FloatButton.vue_vue_type_script_setup_true_lang-BAxKXFb0.js} +2 -3
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-C5hAAZZQ.js +1 -0
- package/dist/GraphicalObject/GraphicalObject.d.ts +9 -2
- package/dist/GraphicalObject/index.js.js +1 -1
- package/dist/GraphicalObject/index.umd.cjs.js +1 -1
- package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-Cc4PxUnd.js → GraphicalObject.vue_vue_type_script_setup_true_lang-BEZ6FkRf.js} +2 -3
- package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-CdO2zArd.js +1 -0
- package/dist/Icon/Icon.d.ts +11 -4
- package/dist/IconButton/IconButton.d.ts +79 -3
- package/dist/IconButton/index.js.js +1 -1
- package/dist/IconButton/index.umd.cjs.js +1 -1
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-D1nK8pEU.js → IconButton.vue_vue_type_script_setup_true_lang-CchpvdkX.js} +2 -3
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-c16Xu6mm.js +1 -0
- package/dist/Image/Image.d.ts +16 -8
- package/dist/Image/index.js.js +1 -1
- package/dist/Image/index.umd.cjs.js +1 -1
- package/dist/{Image.vue_vue_type_style_index_0_lang-DbqKKOAs.js → Image.vue_vue_type_style_index_0_lang-Hg1jFz-L.js} +1 -1
- package/dist/{Image.vue_vue_type_style_index_0_lang-Cku5hiNE.js → Image.vue_vue_type_style_index_0_lang-pkzjPQyu.js} +2 -2
- package/dist/IndentLevel/IndentLevel.d.ts +14 -8
- package/dist/IndentLevel/index.js.js +1 -1
- package/dist/IndentLevel/index.umd.cjs.js +1 -1
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-DqqJTrDF.js +1 -0
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-ZZ1uEhji.js +94 -0
- package/dist/Indicator/Indicator.d.ts +9 -2
- package/dist/Indicator/index.js.js +1 -1
- package/dist/Indicator/index.umd.cjs.js +1 -1
- package/dist/{Indicator.vue_vue_type_script_setup_true_lang-DURlzRTQ.js → Indicator.vue_vue_type_script_setup_true_lang-B16OmZLF.js} +2 -3
- package/dist/Indicator.vue_vue_type_script_setup_true_lang-BibzfVax.js +1 -0
- package/dist/Input/Input.d.ts +15 -7
- package/dist/Input/index.d.ts +2 -0
- package/dist/Input/index.js.js +7 -0
- package/dist/Input/index.umd.cjs.js +1 -0
- package/dist/Input.vue_vue_type_style_index_0_lang-CcR6oCIR.js +407 -0
- package/dist/Input.vue_vue_type_style_index_0_lang-DVN491cI.js +1 -0
- package/dist/Kbd/Kbd.d.ts +13 -9
- package/dist/Kbd/index.js.js +1 -1
- package/dist/Kbd/index.umd.cjs.js +1 -1
- package/dist/Kbd.vue_vue_type_style_index_0_lang-CpDjSQqg.js +1 -0
- package/dist/Kbd.vue_vue_type_style_index_0_lang-D1y-0kBN.js +47 -0
- package/dist/Menu/Menu.d.ts +9 -10
- package/dist/Menu/index.js.js +1 -1
- package/dist/Menu/index.umd.cjs.js +1 -1
- package/dist/Menu.vue_vue_type_style_index_0_lang-B64mJSxF.js +481 -0
- package/dist/Menu.vue_vue_type_style_index_0_lang-Sq_kFrSI.js +1 -0
- package/dist/MenuItem/MenuItem.d.ts +2 -2
- package/dist/MenuItem/index.js.js +1 -1
- package/dist/MenuItem/index.umd.cjs.js +1 -1
- package/dist/Popover/Popover.d.ts +82 -5
- package/dist/Popover/index.js.js +1 -1
- package/dist/Popover/index.umd.cjs.js +1 -1
- package/dist/{Popover.vue_vue_type_style_index_0_lang-DkM_Ynrg.js → Popover.vue_vue_type_style_index_0_lang-C0IwnsU5.js} +2 -2
- package/dist/{Popover.vue_vue_type_style_index_0_lang-pSXmj4z1.js → Popover.vue_vue_type_style_index_0_lang-CM8qMFEi.js} +1 -1
- package/dist/RadioGroup/RadioGroup.d.ts +12 -5
- package/dist/RadioGroup/RadioGroupItem.d.ts +11 -3
- package/dist/RadioGroup/index.d.ts +1 -1
- package/dist/RadioGroup/index.js.js +3 -2
- package/dist/RadioGroup/index.umd.cjs.js +1 -1
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-C8nd4TEI.js +100 -0
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-DjEHmvMo.js +1 -0
- package/dist/Shortcut/Shortcut.d.ts +1 -2
- package/dist/Shortcut/index.js.js +1 -1
- package/dist/Shortcut/index.umd.cjs.js +1 -1
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-D4xo_UgO.js +32 -0
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-D8_aLpYM.js +1 -0
- package/dist/Skeleton/Skeleton.d.ts +3 -7
- package/dist/Skeleton/index.js.js +1 -1
- package/dist/Skeleton/index.umd.cjs.js +1 -1
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-C1I-p4Yn.js +1 -0
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-IQEtEnZx.js +58 -0
- package/dist/Spinner/Spinner.d.ts +11 -6
- package/dist/Spinner/index.js.js +1 -1
- package/dist/Spinner/index.umd.cjs.js +1 -1
- package/dist/Spinner.vue_vue_type_style_index_0_lang-BP7P5xu8.js +1 -0
- package/dist/Spinner.vue_vue_type_style_index_0_lang-BYqqSQAx.js +73 -0
- package/dist/Switch/Switch.d.ts +14 -3
- package/dist/Switch/index.js.js +1 -1
- package/dist/Switch/index.umd.cjs.js +1 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-CoXu3YJ-.js +1 -0
- package/dist/Switch.vue_vue_type_style_index_0_lang-CvWay8Wa.js +106 -0
- package/dist/Tree/Tree.d.ts +12 -3
- package/dist/Tree/TreeNode.d.ts +11 -2
- package/dist/Tree/index.js.js +1 -1
- package/dist/Tree/index.umd.cjs.js +1 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-BCYjSwUH.js +545 -0
- package/dist/Tree.vue_vue_type_style_index_0_lang-CvskECfv.js +1 -0
- package/dist/_flatRest-CHX8vV1P.js +556 -0
- package/dist/_flatRest-R59G2N4m.js +1 -0
- package/dist/{cloneDeep-7ho7cOLj.js → cloneDeep-BMA7VTX1.js} +1 -1
- package/dist/cloneDeep-BcKVMzWC.js +1 -0
- package/dist/get-B4UJlXpC.js +1 -0
- package/dist/{get-CdoyK4GU.js → get-Q8GXlj-L.js} +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js.js +123 -102
- package/dist/index.umd.cjs.js +1 -1
- package/dist/omit-BEkBWXra.js +212 -0
- package/dist/omit-BKPbELUG.js +1 -0
- package/dist/pick-C-ap2Lj0.js +1 -0
- package/dist/{pick-BHVX8oMF.js → pick-DLskPTKb.js} +1 -1
- package/dist/style/index.css +1 -1
- package/dist/useId-DvOSMFGX.js +9 -0
- package/dist/useId-Ku3O_8TK.js +1 -0
- package/dist/useInputDataStates-CZbdWpyp.js +26 -0
- package/dist/useInputDataStates-CbRgNQqU.js +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js.js +10 -6
- package/dist/utils/index.umd.cjs.js +1 -1
- package/dist/utils/useId.d.ts +1 -0
- package/dist/utils/useInputDataStates.d.ts +19 -0
- package/package.json +10 -3
- package/dist/ActionButton.vue_vue_type_script_setup_true_lang-Db3ryil1.js +0 -1
- package/dist/Avatar.vue_vue_type_style_index_0_lang-B538jct0.js +0 -188
- package/dist/Avatar.vue_vue_type_style_index_0_lang-BSi0qbuq.js +0 -1
- package/dist/Badge.vue_vue_type_script_setup_true_lang-CKxCSXXL.js +0 -1
- package/dist/Base/Primitive.d.ts +0 -39
- package/dist/Base/Slot.d.ts +0 -6
- package/dist/BaseBadge.vue_vue_type_style_index_0_lang-OEeJw0Sy.js +0 -1
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-gzePKYHN.js +0 -1
- package/dist/BaseButton.vue_vue_type_style_index_0_lang-s4G57j5o.js +0 -159
- package/dist/Button.vue_vue_type_script_setup_true_lang-BVCP3jP3.js +0 -1
- package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-BSj1Y1j2.js +0 -1
- package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-CdSgBboA.js +0 -52
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-Bm6sm_wm.js +0 -1
- package/dist/Checkbox.vue_vue_type_style_index_0_lang-maH6mbC5.js +0 -216
- package/dist/ColorPicker.vue_vue_type_style_index_0_lang-CROQzfNe.js +0 -944
- package/dist/ColorPicker.vue_vue_type_style_index_0_lang-IZSWne-0.js +0 -1
- package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-Bf0glWPU.js +0 -102
- package/dist/ColorSwatch.vue_vue_type_style_index_0_lang-Dki5150Z.js +0 -1
- package/dist/Divider.vue_vue_type_style_index_0_lang-B_4XMyuu.js +0 -40
- package/dist/Divider.vue_vue_type_style_index_0_lang-C6Suy0tD.js +0 -1
- package/dist/FloatButton.vue_vue_type_script_setup_true_lang-DARsq4US.js +0 -1
- package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-Bouixpu2.js +0 -1
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-CufKPHFD.js +0 -1
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-C9mNx1Zx.js +0 -1
- package/dist/IndentLevel.vue_vue_type_style_index_0_lang-CKJpRLV6.js +0 -104
- package/dist/Indicator.vue_vue_type_script_setup_true_lang-DpPAMjWw.js +0 -1
- package/dist/Kbd.vue_vue_type_style_index_0_lang-BqEaW_kJ.js +0 -1
- package/dist/Kbd.vue_vue_type_style_index_0_lang-DbtLbpq-.js +0 -60
- package/dist/Menu.vue_vue_type_style_index_0_lang-Danl_w4K.js +0 -480
- package/dist/Menu.vue_vue_type_style_index_0_lang-eKNVzfnz.js +0 -1
- package/dist/Primitive-BT1RjuGS.js +0 -1
- package/dist/Primitive-nOVjbfuc.js +0 -47
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-8BgnVYlc.js +0 -1
- package/dist/RadioGroup.vue_vue_type_script_setup_true_lang-NNLg5ogX.js +0 -100
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-BQb7DjFe.js +0 -41
- package/dist/Shortcut.vue_vue_type_style_index_0_lang-C49ZdQFd.js +0 -1
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-B6bCkLlD.js +0 -66
- package/dist/Skeleton.vue_vue_type_style_index_0_lang-PNNUgKOq.js +0 -1
- package/dist/Spinner.vue_vue_type_style_index_0_lang-CxNO28J7.js +0 -1
- package/dist/Spinner.vue_vue_type_style_index_0_lang-D6nB06Z8.js +0 -85
- package/dist/Switch.vue_vue_type_style_index_0_lang-B9_IPFyg.js +0 -1
- package/dist/Switch.vue_vue_type_style_index_0_lang-_FIrRkI7.js +0 -103
- package/dist/Tree.vue_vue_type_style_index_0_lang-B3ZzwkLN.js +0 -1
- package/dist/Tree.vue_vue_type_style_index_0_lang-D9GBs86I.js +0 -547
- package/dist/cloneDeep-C6tiVz1k.js +0 -1
- package/dist/get-BULsy4gy.js +0 -1
- package/dist/omit-BHZMfUBv.js +0 -757
- package/dist/omit-DlH5U9Jc.js +0 -1
- package/dist/pick-DpwC5mlg.js +0 -1
|
@@ -23,17 +23,17 @@ declare const provideConfigContext: (contextValue: Context) => Context;
|
|
|
23
23
|
declare const injectConfigContext: () => Context;
|
|
24
24
|
export { provideConfigContext, injectConfigContext };
|
|
25
25
|
export declare const ConfigProvider: import('vue').DefineComponent<{
|
|
26
|
-
locale?:
|
|
26
|
+
locale?: ("fa" | "en" | object) | undefined;
|
|
27
27
|
theme?: _Config | undefined;
|
|
28
|
-
changeAbleDirectionElement?: string | HTMLElement | Ref<string | HTMLElement
|
|
29
|
-
changeAbleDarkElement?: string | HTMLElement | Ref<string | HTMLElement
|
|
28
|
+
changeAbleDirectionElement?: (string | HTMLElement | Ref<string | HTMLElement>) | undefined;
|
|
29
|
+
changeAbleDarkElement?: (string | HTMLElement | Ref<string | HTMLElement>) | undefined;
|
|
30
30
|
}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
31
31
|
[key: string]: any;
|
|
32
32
|
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
33
|
-
locale?:
|
|
33
|
+
locale?: ("fa" | "en" | object) | undefined;
|
|
34
34
|
theme?: _Config | undefined;
|
|
35
|
-
changeAbleDirectionElement?: string | HTMLElement | Ref<string | HTMLElement
|
|
36
|
-
changeAbleDarkElement?: string | HTMLElement | Ref<string | HTMLElement
|
|
35
|
+
changeAbleDirectionElement?: (string | HTMLElement | Ref<string | HTMLElement>) | undefined;
|
|
36
|
+
changeAbleDarkElement?: (string | HTMLElement | Ref<string | HTMLElement>) | undefined;
|
|
37
37
|
}> & Readonly<{}>, {
|
|
38
38
|
changeAbleDirectionElement: string | HTMLElement | Ref<string | HTMLElement, string | HTMLElement>;
|
|
39
39
|
changeAbleDarkElement: string | HTMLElement | Ref<string | HTMLElement, string | HTMLElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export type Element = string | HTMLElement | Ref<string | HTMLElement>;
|
|
3
3
|
export type Direction = 'ltr' | 'rtl';
|
|
4
|
-
export declare const useDir: (changeAbleDirectionElement?: Element) => [Ref<Direction
|
|
5
|
-
export declare const useDark: (changeAbleDirectionElement?: Element) => [Ref<boolean
|
|
4
|
+
export declare const useDir: (changeAbleDirectionElement?: Element) => [Ref<Direction>, (value?: Direction) => void];
|
|
5
|
+
export declare const useDark: (changeAbleDirectionElement?: Element) => [Ref<boolean>, (dark?: boolean) => void];
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
import { PrimitiveProps } from 'radix-vue';
|
|
2
1
|
import { Class } from '../types';
|
|
3
2
|
import { DividerType } from './Divider.model.js';
|
|
4
|
-
export interface DividerProps
|
|
3
|
+
export interface DividerProps {
|
|
5
4
|
type?: DividerType;
|
|
6
5
|
class?: Class;
|
|
7
6
|
}
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
}>;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<DividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
16
|
+
type: DividerType;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
19
|
export default _default;
|
|
15
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
21
|
new (): {
|
package/dist/Divider/index.js.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Divider.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Divider.vue_vue_type_style_index_0_lang-BELWThBf.js");exports.Divider=e._sfc_main;exports.DividerTypes=e.DividerTypes;exports.default=e._sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),r=require("./class-CjZYGZDW.js"),c=require("class-variance-authority"),l=require("./options-B4iSAKol.js"),n=["horizontal","vertical"],p=e.defineComponent({...l.getComponentOptions("Divider"),__name:"Divider",props:{type:{default:"horizontal"},class:{}},setup(i){const o=i,s=r.getBemBlock("divider"),a=c.cva(s,{variants:{type:r.generateVariantClassList(n,s)}});return(t,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(a)({type:t.type}),o.class])},[e.renderSlot(t.$slots,"default")],2))}});exports.DividerTypes=n;exports._sfc_main=p;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as a, createElementBlock as n, openBlock as i, normalizeClass as p, unref as l, renderSlot as c } from "vue";
|
|
2
|
+
import { g as m, a as d } from "./class-DziTeW9B.js";
|
|
3
|
+
import { cva as f } from "class-variance-authority";
|
|
4
|
+
import { g as v } from "./options-JBqnVZUl.js";
|
|
5
|
+
const u = ["horizontal", "vertical"], D = /* @__PURE__ */ a({
|
|
6
|
+
...v("Divider"),
|
|
7
|
+
__name: "Divider",
|
|
8
|
+
props: {
|
|
9
|
+
type: { default: "horizontal" },
|
|
10
|
+
class: {}
|
|
11
|
+
},
|
|
12
|
+
setup(s) {
|
|
13
|
+
const o = s, e = m("divider"), r = f(e, {
|
|
14
|
+
variants: {
|
|
15
|
+
type: d(u, e)
|
|
16
|
+
// hasChild: generateVariantClassList('has-child', prefix),
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
return (t, g) => (i(), n("div", {
|
|
20
|
+
class: p([
|
|
21
|
+
l(r)({
|
|
22
|
+
type: t.type
|
|
23
|
+
}),
|
|
24
|
+
o.class
|
|
25
|
+
])
|
|
26
|
+
}, [
|
|
27
|
+
c(t.$slots, "default")
|
|
28
|
+
], 2));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
u as D,
|
|
33
|
+
D as _
|
|
34
|
+
};
|
|
@@ -1,12 +1,88 @@
|
|
|
1
1
|
import { BaseButtonSlots, BaseButtonProps } from '../Base/BaseButton/BaseButton';
|
|
2
|
-
export type FloatButtonProps = Partial<Pick<BaseButtonProps, '
|
|
2
|
+
export type FloatButtonProps = Partial<Pick<BaseButtonProps, 'class' | 'color' | 'loading' | 'size' | 'icon'>> & {
|
|
3
3
|
type?: 'fill' | 'outline';
|
|
4
4
|
};
|
|
5
5
|
type FloatButtonSlots = Omit<BaseButtonSlots, 'preIcon' | 'badge' | 'postIcon' | 'default'>;
|
|
6
|
-
declare
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
slots: Readonly<FloatButtonSlots> & FloatButtonSlots;
|
|
8
|
+
refs: {
|
|
9
|
+
buttonRef: ({
|
|
10
|
+
$: import('vue').ComponentInternalInstance;
|
|
11
|
+
$data: {};
|
|
12
|
+
$props: {
|
|
13
|
+
readonly class?: import('../index.ts', { with: { "resolution-mode": "import" } }).Class | undefined;
|
|
14
|
+
readonly text?: (string | number) | undefined;
|
|
15
|
+
readonly size?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
|
|
16
|
+
readonly color?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
|
|
17
|
+
readonly type?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
18
|
+
readonly variant?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonVariant | undefined;
|
|
19
|
+
readonly loading?: boolean | undefined;
|
|
20
|
+
readonly action?: boolean | undefined;
|
|
21
|
+
readonly active?: boolean | undefined;
|
|
22
|
+
readonly badgeText?: string | undefined;
|
|
23
|
+
readonly badgeIcon?: string | undefined;
|
|
24
|
+
readonly icon?: string | undefined;
|
|
25
|
+
readonly preIcon?: string | undefined;
|
|
26
|
+
readonly postIcon?: string | undefined;
|
|
27
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
28
|
+
$attrs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
$refs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$slots: Readonly<{
|
|
35
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
38
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
39
|
+
$host: Element | null;
|
|
40
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
41
|
+
$el: any;
|
|
42
|
+
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{}>, {
|
|
43
|
+
focus(): void;
|
|
44
|
+
blur(): void;
|
|
45
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
46
|
+
type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
47
|
+
color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
|
|
48
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
49
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
50
|
+
created?: (() => void) | (() => void)[];
|
|
51
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
52
|
+
mounted?: (() => void) | (() => void)[];
|
|
53
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
54
|
+
updated?: (() => void) | (() => void)[];
|
|
55
|
+
activated?: (() => void) | (() => void)[];
|
|
56
|
+
deactivated?: (() => void) | (() => void)[];
|
|
57
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
58
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
59
|
+
destroyed?: (() => void) | (() => void)[];
|
|
60
|
+
unmounted?: (() => void) | (() => void)[];
|
|
61
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
62
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
63
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
64
|
+
};
|
|
65
|
+
$forceUpdate: () => void;
|
|
66
|
+
$nextTick: typeof import('vue').nextTick;
|
|
67
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
68
|
+
} & Readonly<{
|
|
69
|
+
type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
70
|
+
color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
|
|
71
|
+
}> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "blur" | "focus" | ("type" | "color")> & import('vue').ShallowUnwrapRef<{
|
|
72
|
+
focus(): void;
|
|
73
|
+
blur(): void;
|
|
74
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
75
|
+
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
76
|
+
}) | null;
|
|
77
|
+
};
|
|
78
|
+
attrs: Partial<{}>;
|
|
79
|
+
};
|
|
80
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
81
|
+
declare const __VLS_component: import('vue').DefineComponent<FloatButtonProps, {
|
|
7
82
|
focus(): void;
|
|
8
83
|
blur(): void;
|
|
9
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FloatButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
84
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FloatButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
85
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
10
86
|
export default _default;
|
|
11
87
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
88
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../FloatButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../FloatButton.vue_vue_type_script_setup_true_lang-C5hAAZZQ.js");exports.FloatButton=e._sfc_main;exports.default=e._sfc_main;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent as i, useAttrs as l, computed as m, ref as u, createBlock as f, openBlock as _, mergeProps as d, createSlots as b, renderList as g, withCtx as v, renderSlot as B, normalizeProps as k, guardReactiveProps as x } from "vue";
|
|
2
|
-
import { o as y } from "./omit-
|
|
3
|
-
import { _ as C } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { o as y } from "./omit-BEkBWXra.js";
|
|
3
|
+
import { _ as C } from "./BaseButton.vue_vue_type_style_index_0_lang-D7irHU-6.js";
|
|
4
4
|
import { g as P } from "./options-JBqnVZUl.js";
|
|
5
5
|
const I = /* @__PURE__ */ i({
|
|
6
6
|
...P("FloatButton", !1),
|
|
7
7
|
__name: "FloatButton",
|
|
8
8
|
props: {
|
|
9
|
-
as: {},
|
|
10
9
|
class: {},
|
|
11
10
|
color: {},
|
|
12
11
|
loading: { type: Boolean },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),l=require("./omit-BKPbELUG.js"),p=require("./BaseButton.vue_vue_type_style_index_0_lang-CgEN8K4D.js"),_=require("./options-B4iSAKol.js"),f=e.defineComponent({..._.getComponentOptions("FloatButton",!1),__name:"FloatButton",props:{class:{},color:{},loading:{type:Boolean},size:{},icon:{},type:{}},setup(s,{expose:r}){const a=s,c=e.useAttrs(),i=e.computed(()=>({...l.omit(c,"variant","text","preIcon","postIcon","action","active","badgeText"),...a})),o=e.ref();return r({focus(){var t;(t=o.value)==null||t.focus()},blur(){var t;(t=o.value)==null||t.blur()}}),(t,m)=>(e.openBlock(),e.createBlock(p._sfc_main,e.mergeProps(i.value,{variant:"float",ref_key:"buttonRef",ref:o}),e.createSlots({_:2},[e.renderList(Object.keys(t.$slots),n=>({name:n,fn:e.withCtx(u=>[e.renderSlot(t.$slots,n,e.normalizeProps(e.guardReactiveProps(u)))])}))]),1040))}});exports._sfc_main=f;
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { BaseBadgeSlots, BaseBadgeProps } from '../Base/BaseBadge/BaseBadge';
|
|
2
2
|
import { BadgeSize } from '../Base/BaseBadge/BaseBadge.model';
|
|
3
3
|
import { GraphicalObjectBG, GraphicalObjectBR, GraphicalObjectFG } from './GraphicalObject.model.js';
|
|
4
|
-
export type GraphicalObjectProps = Partial<Pick<BaseBadgeProps, '
|
|
4
|
+
export type GraphicalObjectProps = Partial<Pick<BaseBadgeProps, 'class' | 'icon'>> & {
|
|
5
5
|
fg?: GraphicalObjectFG | string;
|
|
6
6
|
bg?: GraphicalObjectBG | string;
|
|
7
7
|
br?: GraphicalObjectBR | string;
|
|
8
8
|
size?: Exclude<BadgeSize, 'tiny' | 'tinier'>;
|
|
9
9
|
};
|
|
10
|
-
declare
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
slots: Readonly<BaseBadgeSlots> & BaseBadgeSlots;
|
|
12
|
+
refs: {};
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<GraphicalObjectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GraphicalObjectProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
18
|
export default _default;
|
|
12
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
20
|
new (): {
|
|
@@ -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-CdO2zArd.js");exports.GraphicalObject=e._sfc_main;exports.default=e._sfc_main;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent as i, computed as n, useAttrs as m, createBlock as b, openBlock as f, mergeProps as u, createSlots as d, renderList as y, withCtx as _, renderSlot as h, normalizeProps as C, guardReactiveProps as O } from "vue";
|
|
2
|
-
import { o as j } from "./omit-
|
|
3
|
-
import { a as B, B as $, _ as k } from "./BaseBadge.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { o as j } from "./omit-BEkBWXra.js";
|
|
3
|
+
import { a as B, B as $, _ as k } from "./BaseBadge.vue_vue_type_style_index_0_lang-Bh1152XC.js";
|
|
4
4
|
import { g as v } from "./options-JBqnVZUl.js";
|
|
5
5
|
import { getCssVar as t } from "@pantograph/tokens";
|
|
6
6
|
const z = /* @__PURE__ */ i({
|
|
7
7
|
...v("GraphicalObject", !1),
|
|
8
8
|
__name: "GraphicalObject",
|
|
9
9
|
props: {
|
|
10
|
-
as: {},
|
|
11
10
|
class: {},
|
|
12
11
|
icon: {},
|
|
13
12
|
fg: {},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),u=require("./omit-BKPbELUG.js"),g=require("./BaseBadge.vue_vue_type_style_index_0_lang-BNs69VP4.js"),b=require("./options-B4iSAKol.js"),t=require("@pantograph/tokens"),m=e.defineComponent({...b.getComponentOptions("GraphicalObject",!1),__name:"GraphicalObject",props:{class:{},icon:{},fg:{},bg:{},br:{},size:{}},setup(c){const s=c,i=e.computed(()=>{const a=Object.fromEntries(g.BadgeColors.map(r=>[r,t.getCssVar(`${r}-5`)])),o={...a,...Object.fromEntries(g.BadgeColorsSubtle.map(r=>[r,t.getCssVar(`${r.replace("-subtle","")}-0`)])),transparent:"transparent","gray-subtle":t.getCssVar("gray-1")},n={...a,gray:t.getCssVar("gray-6"),default:t.getCssVar("gray-8"),"default-subtle":t.getCssVar("gray-5"),white:t.getCssVar("grayscale-light-0"),black:t.getCssVar("grayscale-light-10")};return{bg:o[s.bg]??s.bg,br:o[s.br]??(s.bg==="transparent"?t.getCssVar("gray-2"):void 0),fg:n[s.fg??"default"]??s.fg}}),l=e.useAttrs(),p=e.computed(()=>({...u.omit(l,"type","text"),...s,...i.value}));return(a,o)=>(e.openBlock(),e.createBlock(g._sfc_main,e.mergeProps(p.value,{type:"rect"}),e.createSlots({_:2},[e.renderList(Object.keys(a.$slots),n=>({name:n,fn:e.withCtx(r=>[e.renderSlot(a.$slots,n,e.normalizeProps(e.guardReactiveProps(r)))])}))]),1040))}});exports._sfc_main=m;
|
package/dist/Icon/Icon.d.ts
CHANGED
|
@@ -8,11 +8,18 @@ export interface IconProps {
|
|
|
8
8
|
flipX?: boolean;
|
|
9
9
|
flipY?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {
|
|
12
20
|
size: IconSize;
|
|
13
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
14
|
-
|
|
15
|
-
}>;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
23
|
export default _default;
|
|
17
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
25
|
new (): {
|
|
@@ -1,10 +1,86 @@
|
|
|
1
1
|
import { BaseButtonSlots, BaseButtonProps } from '../Base/BaseButton/BaseButton';
|
|
2
|
-
export type IconButtonProps = Partial<Pick<BaseButtonProps, '
|
|
2
|
+
export type IconButtonProps = Partial<Pick<BaseButtonProps, 'class' | 'type' | 'color' | 'loading' | 'icon' | 'size'>>;
|
|
3
3
|
type IconButtonSlots = Omit<BaseButtonSlots, 'preIcon' | 'badge' | 'postIcon' | 'default'>;
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
slots: Readonly<IconButtonSlots> & IconButtonSlots;
|
|
6
|
+
refs: {
|
|
7
|
+
buttonRef: ({
|
|
8
|
+
$: import('vue').ComponentInternalInstance;
|
|
9
|
+
$data: {};
|
|
10
|
+
$props: {
|
|
11
|
+
readonly class?: import('../index.ts', { with: { "resolution-mode": "import" } }).Class | undefined;
|
|
12
|
+
readonly text?: (string | number) | undefined;
|
|
13
|
+
readonly size?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
|
|
14
|
+
readonly color?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
|
|
15
|
+
readonly type?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
|
|
16
|
+
readonly variant?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonVariant | undefined;
|
|
17
|
+
readonly loading?: boolean | undefined;
|
|
18
|
+
readonly action?: boolean | undefined;
|
|
19
|
+
readonly active?: boolean | undefined;
|
|
20
|
+
readonly badgeText?: string | undefined;
|
|
21
|
+
readonly badgeIcon?: string | undefined;
|
|
22
|
+
readonly icon?: string | undefined;
|
|
23
|
+
readonly preIcon?: string | undefined;
|
|
24
|
+
readonly postIcon?: string | undefined;
|
|
25
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
26
|
+
$attrs: {
|
|
27
|
+
[x: string]: unknown;
|
|
28
|
+
};
|
|
29
|
+
$refs: {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
$slots: Readonly<{
|
|
33
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
36
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
37
|
+
$host: Element | null;
|
|
38
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
39
|
+
$el: any;
|
|
40
|
+
$options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{}>, {
|
|
41
|
+
focus(): void;
|
|
42
|
+
blur(): void;
|
|
43
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
44
|
+
type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
45
|
+
color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
|
|
46
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
47
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
48
|
+
created?: (() => void) | (() => void)[];
|
|
49
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
50
|
+
mounted?: (() => void) | (() => void)[];
|
|
51
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
52
|
+
updated?: (() => void) | (() => void)[];
|
|
53
|
+
activated?: (() => void) | (() => void)[];
|
|
54
|
+
deactivated?: (() => void) | (() => void)[];
|
|
55
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
56
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
57
|
+
destroyed?: (() => void) | (() => void)[];
|
|
58
|
+
unmounted?: (() => void) | (() => void)[];
|
|
59
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
60
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
61
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
62
|
+
};
|
|
63
|
+
$forceUpdate: () => void;
|
|
64
|
+
$nextTick: typeof import('vue').nextTick;
|
|
65
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
66
|
+
} & Readonly<{
|
|
67
|
+
type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
|
|
68
|
+
color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
|
|
69
|
+
}> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "blur" | "focus" | ("type" | "color")> & import('vue').ShallowUnwrapRef<{
|
|
70
|
+
focus(): void;
|
|
71
|
+
blur(): void;
|
|
72
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
73
|
+
$slots: Readonly<BaseButtonSlots> & BaseButtonSlots;
|
|
74
|
+
}) | null;
|
|
75
|
+
};
|
|
76
|
+
attrs: Partial<{}>;
|
|
77
|
+
};
|
|
78
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
79
|
+
declare const __VLS_component: import('vue').DefineComponent<Partial<Pick<BaseButtonProps, "icon" | "class" | "size" | "type" | "color" | "loading">>, {
|
|
5
80
|
focus(): void;
|
|
6
81
|
blur(): void;
|
|
7
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<Pick<BaseButtonProps, "
|
|
82
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<Pick<BaseButtonProps, "icon" | "class" | "size" | "type" | "color" | "loading">>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
83
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
8
84
|
export default _default;
|
|
9
85
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
86
|
new (): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../IconButton.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../IconButton.vue_vue_type_script_setup_true_lang-c16Xu6mm.js");exports.IconButton=e._sfc_main;exports.default=e._sfc_main;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent as p, useAttrs as m, computed as u, ref as f, createBlock as l, openBlock as _, mergeProps as d, createSlots as b, renderList as g, withCtx as v, renderSlot as B, normalizeProps as k, guardReactiveProps as x } from "vue";
|
|
2
|
-
import { o as y } from "./omit-
|
|
3
|
-
import { _ as I } from "./BaseButton.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { o as y } from "./omit-BEkBWXra.js";
|
|
3
|
+
import { _ as I } from "./BaseButton.vue_vue_type_style_index_0_lang-D7irHU-6.js";
|
|
4
4
|
import { g as C } from "./options-JBqnVZUl.js";
|
|
5
5
|
const O = /* @__PURE__ */ p({
|
|
6
6
|
...C("IconButton", !1),
|
|
7
7
|
__name: "IconButton",
|
|
8
8
|
props: {
|
|
9
|
-
as: {},
|
|
10
9
|
class: {},
|
|
11
10
|
type: {},
|
|
12
11
|
color: {},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),p=require("./omit-BKPbELUG.js"),l=require("./BaseButton.vue_vue_type_style_index_0_lang-CgEN8K4D.js"),_=require("./options-B4iSAKol.js"),f=e.defineComponent({..._.getComponentOptions("IconButton",!1),__name:"IconButton",props:{class:{},type:{},color:{},loading:{type:Boolean},icon:{},size:{}},setup(s,{expose:r}){const c=s,a=e.useAttrs(),i=e.computed(()=>({...p.omit(a,"variant","preIcon","postIcon","text","action","active","badgeText"),...c})),o=e.ref();return r({focus(){var t;(t=o.value)==null||t.focus()},blur(){var t;(t=o.value)==null||t.blur()}}),(t,m)=>(e.openBlock(),e.createBlock(l._sfc_main,e.mergeProps(i.value,{variant:"icon",ref_key:"buttonRef",ref:o}),e.createSlots({_:2},[e.renderList(Object.keys(t.$slots),n=>({name:n,fn:e.withCtx(u=>[e.renderSlot(t.$slots,n,e.normalizeProps(e.guardReactiveProps(u)))])}))]),1040))}});exports._sfc_main=f;
|
package/dist/Image/Image.d.ts
CHANGED
|
@@ -16,22 +16,30 @@ export interface ImageProps {
|
|
|
16
16
|
objectPosition?: 'center' | 'right' | 'left' | 'top' | 'bottom' | string;
|
|
17
17
|
fallbackDescription?: string;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
export interface ImageSlots {
|
|
20
|
+
fallback?: () => never;
|
|
21
|
+
actions?: () => never;
|
|
22
|
+
}
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
slots: Readonly<ImageSlots> & ImageSlots;
|
|
25
|
+
refs: {};
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<ImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
20
30
|
error: () => any;
|
|
21
31
|
load: () => any;
|
|
22
32
|
}, string, import('vue').PublicProps, Readonly<ImageProps> & Readonly<{
|
|
23
33
|
onError?: (() => any) | undefined;
|
|
24
34
|
onLoad?: (() => any) | undefined;
|
|
25
35
|
}>, {
|
|
26
|
-
type: "horizontal" | "vertical";
|
|
27
36
|
src: string;
|
|
28
|
-
|
|
29
|
-
|
|
37
|
+
type: ImageType;
|
|
38
|
+
objectFit: "contain" | "cover" | "fill" | "none" | "scale-down" | string;
|
|
39
|
+
objectPosition: "center" | "right" | "left" | "top" | "bottom" | string;
|
|
30
40
|
fallbackDescription: string;
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
32
|
-
|
|
33
|
-
actions?(_: {}): any;
|
|
34
|
-
}>;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
43
|
export default _default;
|
|
36
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
45
|
new (): {
|
package/dist/Image/index.js.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, a as g, I as m, b as I, _ as t } from "../Image.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as s, a as g, I as m, b as I, _ as t } from "../Image.vue_vue_type_style_index_0_lang-pkzjPQyu.js";
|
|
2
2
|
export {
|
|
3
3
|
s as Image,
|
|
4
4
|
g as ImageAspectRatios,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Image.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../Image.vue_vue_type_style_index_0_lang-Hg1jFz-L.js");exports.Image=e._sfc_main;exports.ImageAspectRatios=e.ImageAspectRatios;exports.ImageSizeRanges=e.ImageSizeRanges;exports.ImageTypes=e.ImageTypes;exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("./class-CjZYGZDW.js"),w=require("class-variance-authority"),S=require("./isNumber-eaDdxhkG.js"),L=require("./Spinner.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";const e=require("vue"),s=require("./class-CjZYGZDW.js"),w=require("class-variance-authority"),S=require("./isNumber-eaDdxhkG.js"),L=require("./Spinner.vue_vue_type_style_index_0_lang-BP7P5xu8.js"),V=require("./Icon.vue_vue_type_style_index_0_lang-BvHCdzZP.js"),I=require("./options-B4iSAKol.js"),g=["xsm","sm","md","lg"],k=["1:1","4:3","3:2","16:9","2:1"],i=["vertical","horizontal"],j=["alt","src"],q=e.defineComponent({...I.getComponentOptions("Image"),__name:"Image",props:{src:{default:""},fallback:{},width:{},hovered:{type:Boolean},alt:{},class:{},imageCls:{},hoverCls:{},sizeRange:{},aspectRatio:{},type:{default:"horizontal"},objectFit:{default:"cover"},objectPosition:{default:"center"},fallbackDescription:{default:"This image couldn't be loaded."}},emits:["load","error"],setup(b,{emit:h}){const t=b,u=h,l=s.getBemBlock("image"),_=w.cva(l,{variants:{type:s.generateVariantClassList(i,l),aspectRatio:s.generateVariantClassList(k,l),sizeRange:s.generateVariantClassList(g,l),hovered:s.generateVariantClassList("hovered",l),loaded:s.generateVariantClassList("loaded",l),"fallback-content":s.generateVariantClassList("fallback-content",l)}}),m=e.useSlots(),n=e.ref(!1),o=e.ref(!1),r=e.ref(!1),d=e.toRef(()=>t.src);e.watch(d,()=>{o.value=!1,r.value=!1,n.value=!1});const c=e.toRef(()=>t.fallback);e.watch(c,()=>{r.value&&(r.value=!1,n.value=!1)});const f=e.computed(()=>o.value&&!m.fallback&&c.value?"fallback":"src"),y=e.computed(()=>f.value==="src"?d.value:c.value),z=()=>{n.value=!0,u("load")},C=()=>{f.value==="fallback"?(r.value=!0,n.value=!0):(o.value=!0,n.value=!0),u("error")},B=e.computed(()=>{const a=typeof t.width;if(["string","number"].includes(a))return a==="number"?`${t.width}px`:t.width}),E=e.computed(()=>{const a=String(t.width).replace("px",""),v=/^\d+(?:\.\d+)?$/,p=t.width&&v.test(a)?Number(a):t.width;return t.sizeRange==="xsm"||S.isNumber(p)&&p<100?"3xsm":"sm"}),R=e.computed(()=>{let a=`filter: ${n?"none":"blur(30px)"}`;return t.objectFit&&(a+=`;object-fit: ${t.objectFit}`),t.objectPosition&&(a+=`;object-position: ${t.objectPosition}`),a});return(a,v)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(_)({sizeRange:t.sizeRange,type:!t.type||!e.unref(i).includes(t.type)?"vertical":t.type,aspectRatio:t.aspectRatio,hovered:t.hovered,loaded:n.value,"fallback-content":o.value&&(!c.value||r.value)}),t.class]),style:e.normalizeStyle({width:B.value})},[o.value&&(!c.value||r.value)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"fallback"))},[e.renderSlot(a.$slots,"fallback",{},()=>[e.createVNode(V._sfc_main,{size:"sm",icon:"tabler:photo-exclamation",class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"fallback__icon"))},null,8,["class"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"fallback__text"))},e.toDisplayString(a.fallbackDescription),3)])],2)):(e.openBlock(),e.createElementBlock("img",{key:1,alt:a.alt,style:e.normalizeStyle(R.value),src:y.value,class:e.normalizeClass([e.unref(s.getBemElement)(e.unref(l),"img"),a.imageCls]),onLoad:z,onError:C},null,46,j)),n.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(L._sfc_main,{key:2,class:e.normalizeClass(e.unref(s.getBemElement)(e.unref(l),"loading")),size:E.value},null,8,["class","size"])),n.value&&!o.value&&(a.hovered||m.actions)?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass([e.unref(s.getBemElement)(e.unref(l),"hover_actions"),"pantograph-tokens dark",t.hoverCls])},[e.renderSlot(a.$slots,"actions")],2)):e.createCommentVNode("",!0)],6))}});exports.ImageAspectRatios=k;exports.ImageSizeRanges=g;exports.ImageTypes=i;exports._sfc_main=q;
|
|
@@ -2,7 +2,7 @@ import { defineComponent as V, useSlots as D, ref as v, toRef as z, watch as _,
|
|
|
2
2
|
import { g as W, a as c, b as i } from "./class-DziTeW9B.js";
|
|
3
3
|
import { cva as q } from "class-variance-authority";
|
|
4
4
|
import { i as G } from "./isNumber-DlKYWCo3.js";
|
|
5
|
-
import { _ as H } from "./Spinner.vue_vue_type_style_index_0_lang-
|
|
5
|
+
import { _ as H } from "./Spinner.vue_vue_type_style_index_0_lang-BYqqSQAx.js";
|
|
6
6
|
import { _ as J } from "./Icon.vue_vue_type_style_index_0_lang-BfPcw6PU.js";
|
|
7
7
|
import { g as K } from "./options-JBqnVZUl.js";
|
|
8
8
|
const M = ["xsm", "sm", "md", "lg"], Q = ["1:1", "4:3", "3:2", "16:9", "2:1"], S = ["vertical", "horizontal"], U = ["alt", "src"], le = /* @__PURE__ */ V({
|
|
@@ -100,7 +100,7 @@ const M = ["xsm", "sm", "md", "lg"], Q = ["1:1", "4:3", "3:2", "16:9", "2:1"], S
|
|
|
100
100
|
class: o(t(i)(t(s), "loading")),
|
|
101
101
|
size: N.value
|
|
102
102
|
}, null, 8, ["class", "size"])),
|
|
103
|
-
l.value && !r.value && (a.hovered ||
|
|
103
|
+
l.value && !r.value && (a.hovered || g.actions) ? (m(), f("div", {
|
|
104
104
|
key: 3,
|
|
105
105
|
class: o([t(i)(t(s), "hover_actions"), "pantograph-tokens dark", e.hoverCls])
|
|
106
106
|
}, [
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { PrimitiveProps } from 'radix-vue';
|
|
2
1
|
import { Class } from '../types';
|
|
3
2
|
import { IndentLevelShowLine, IndentLevelSize } from './IndentLevel.model.js';
|
|
4
|
-
export interface IndentLevelProps
|
|
3
|
+
export interface IndentLevelProps {
|
|
5
4
|
size?: IndentLevelSize;
|
|
6
5
|
showLine?: IndentLevelShowLine | number | false;
|
|
7
6
|
children?: boolean;
|
|
@@ -12,13 +11,20 @@ export interface IndentLevelProps extends Omit<PrimitiveProps, 'asChild'> {
|
|
|
12
11
|
branchIcon?: string;
|
|
13
12
|
noRotateBranch?: boolean;
|
|
14
13
|
}
|
|
15
|
-
declare
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
attrs: Partial<{}>;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<IndentLevelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IndentLevelProps> & Readonly<{}>, {
|
|
23
|
+
size: IndentLevelSize;
|
|
24
|
+
level: number | string;
|
|
18
25
|
branchIcon: string;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
20
|
-
|
|
21
|
-
}>;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
28
|
export default _default;
|
|
23
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
30
|
new (): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, a as s, I as t, _ as d } from "../IndentLevel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { _ as a, a as s, I as t, _ as d } from "../IndentLevel.vue_vue_type_style_index_0_lang-ZZ1uEhji.js";
|
|
2
2
|
export {
|
|
3
3
|
a as IndentLevel,
|
|
4
4
|
s as IndentLevelShowLines,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../IndentLevel.vue_vue_type_style_index_0_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../IndentLevel.vue_vue_type_style_index_0_lang-DqqJTrDF.js");exports.IndentLevel=e._sfc_main;exports.IndentLevelShowLines=e.IndentLevelShowLines;exports.IndentLevelSizes=e.IndentLevelSizes;exports.default=e._sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),o=require("./class-CjZYGZDW.js"),h=require("class-variance-authority"),k=require("./options-B4iSAKol.js"),u=require("./Divider.vue_vue_type_style_index_0_lang-BELWThBf.js"),g=require("./Spinner.vue_vue_type_style_index_0_lang-BP7P5xu8.js"),L=require("./GraphicalObject.vue_vue_type_script_setup_true_lang-CdO2zArd.js"),_=require("./isNumber-eaDdxhkG.js"),d=["2xsm","xsm","sm"],y=["last","all","before","self"],b={key:0},C=e.defineComponent({...k.getComponentOptions("IndentLevel"),__name:"IndentLevel",props:{size:{default:"xsm"},showLine:{type:[Number,Boolean]},children:{type:Boolean},level:{default:1},expanded:{type:Boolean},loading:{type:Boolean},class:{},branchIcon:{default:"tabler:chevron-right"},noRotateBranch:{type:Boolean}},setup(m){const t=m,a=o.getBemBlock("indent_level"),i=o.getBemElement(a,"item"),p=o.getBemElement(i,"branch"),v=h.cva(a,{variants:{size:o.generateVariantClassList(d,a),expanded:o.generateVariantClassList("expanded",a),branchSlot:o.generateVariantClassList("branch-slot",a),selfDivider:o.generateVariantClassList("self-divider",a),noRotateBranch:o.generateVariantClassList("no-rotate-branch",a),loading:o.generateVariantClassList("loading",a)}}),l=e.computed(()=>{const n=Number(t.level);return n<1?1:n%10===0?n:Math.floor(n)}),s=e.computed(()=>{if(t.showLine)return typeof t.showLine=="string"?["all","self"].includes(t.showLine):_.isNumber(t.showLine)&&t.showLine<=Number(t.level)}),f=n=>typeof t.showLine=="number"?t.showLine<=Number(n):!1;return(n,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(v)({size:n.size,expanded:n.expanded,noRotateBranch:n.noRotateBranch,branchSlot:n.$slots.default,selfDivider:s.value,loading:n.loading}),t.class])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,r=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(i),{[e.unref(o.getBemModifier)(e.unref(a),"expand")]:r===l.value}]),key:r},[r===l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n.children?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n.loading?(e.openBlock(),e.createBlock(g._sfc_main,{key:1,size:n.size},null,8,["size"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[n.expanded&&s.value?(e.openBlock(),e.createElementBlock("div",b)):e.createCommentVNode("",!0),e.createVNode(L._sfc_main,{size:n.size,icon:n.branchIcon,color:"none",class:e.normalizeClass(e.unref(p)),onClick:c[0]||(c[0]=B=>n.$emit("toggleExpand",B))},{icon:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["size","icon","class"]),n.expanded&&s.value?(e.openBlock(),e.createBlock(u._sfc_main,{key:1,type:"vertical"})):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0)],64)):["all","before"].includes(n.showLine)||n.showLine==="last"&&r===l.value-1||f(r)?(e.openBlock(),e.createBlock(u._sfc_main,{key:1,type:"vertical"})):e.createCommentVNode("",!0)],2))),128))],2))}});exports.IndentLevelShowLines=y;exports.IndentLevelSizes=d;exports._sfc_main=C;
|