@pantograph/vue 0.0.3 → 0.5.0

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.
Files changed (179) hide show
  1. package/dist/ActionButton/ActionButton.d.ts +148 -5
  2. package/dist/ActionButton/index.cjs.js +1 -1
  3. package/dist/ActionButton/index.es.js +1 -1
  4. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-9sHS6TT0.js +52 -0
  5. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-BRYxIFQL.js +1 -0
  6. package/dist/Avatar/Avatar.d.ts +1 -1
  7. package/dist/Avatar/index.cjs.js +1 -1
  8. package/dist/Avatar/index.es.js +1 -1
  9. package/dist/Avatar.vue_vue_type_style_index_0_lang-D72SN0zC.js +1 -0
  10. package/dist/{Avatar.vue_vue_type_style_index_0_lang-BWeEmazM.js → Avatar.vue_vue_type_style_index_0_lang-RziDt5Qs.js} +19 -18
  11. package/dist/AvatarGroup/index.cjs.js +1 -1
  12. package/dist/AvatarGroup/index.es.js +1 -1
  13. package/dist/Badge/Badge.d.ts +3 -3
  14. package/dist/Badge/index.cjs.js +1 -1
  15. package/dist/Badge/index.es.js +1 -1
  16. package/dist/Badge.vue_vue_type_script_setup_true_lang-DzkeQwzH.js +1 -0
  17. package/dist/Badge.vue_vue_type_script_setup_true_lang-LwccxMER.js +34 -0
  18. package/dist/Base/BaseBadge/BaseBadge.d.ts +6 -10
  19. package/dist/Base/BaseButton/BaseButton.d.ts +13 -15
  20. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-B1Va5X21.js +1 -0
  21. package/dist/BaseBadge.vue_vue_type_style_index_0_lang-CHhhflIH.js +107 -0
  22. package/dist/BaseButton.vue_vue_type_style_index_0_lang-BLGNTber.js +151 -0
  23. package/dist/BaseButton.vue_vue_type_style_index_0_lang-HdsdAsR3.js +1 -0
  24. package/dist/Button/Button.d.ts +149 -5
  25. package/dist/Button/index.cjs.js +1 -1
  26. package/dist/Button/index.es.js +1 -1
  27. package/dist/Button.vue_vue_type_script_setup_true_lang-DMOtqE4k.js +49 -0
  28. package/dist/Button.vue_vue_type_script_setup_true_lang-DNpM6F5j.js +1 -0
  29. package/dist/ButtonGroup/index.cjs.js +1 -1
  30. package/dist/ButtonGroup/index.es.js +1 -1
  31. package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-BSj1Y1j2.js +1 -0
  32. package/dist/{ButtonGroup.vue_vue_type_script_setup_true_lang-jtE0Gtp9.js → ButtonGroup.vue_vue_type_script_setup_true_lang-DBq7tYaO.js} +11 -10
  33. package/dist/Checkbox/Checkbox.d.ts +6 -14
  34. package/dist/Checkbox/Checkbox.model.d.ts +0 -2
  35. package/dist/Checkbox/index.cjs.js +1 -1
  36. package/dist/Checkbox/index.es.js +1 -1
  37. package/dist/Checkbox.vue_vue_type_style_index_0_lang-BQeNpCYy.js +1 -0
  38. package/dist/Checkbox.vue_vue_type_style_index_0_lang-gsOfYgHe.js +245 -0
  39. package/dist/CheckboxGroup/index.cjs.js +1 -1
  40. package/dist/CheckboxGroup/index.es.js +1 -1
  41. package/dist/ConfigProvider/index.cjs.js +1 -0
  42. package/dist/ConfigProvider/index.d.ts +40 -0
  43. package/dist/ConfigProvider/index.es.js +112 -0
  44. package/dist/ConfigProvider/utils.d.ts +4 -0
  45. package/dist/Divider/Divider.d.ts +27 -0
  46. package/dist/Divider/Divider.model.d.ts +2 -0
  47. package/dist/Divider/index.cjs.js +1 -0
  48. package/dist/Divider/index.d.ts +2 -0
  49. package/dist/Divider/index.es.js +6 -0
  50. package/dist/Divider.vue_vue_type_style_index_0_lang-C6Suy0tD.js +1 -0
  51. package/dist/Divider.vue_vue_type_style_index_0_lang-SBMg48di.js +40 -0
  52. package/dist/FloatButton/FloatButton.d.ts +149 -5
  53. package/dist/FloatButton/index.cjs.js +1 -1
  54. package/dist/FloatButton/index.es.js +1 -1
  55. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-BD8KDs-3.js +1 -0
  56. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-CLL_AR_I.js +47 -0
  57. package/dist/GraphicalObject/GraphicalObject.d.ts +3 -3
  58. package/dist/GraphicalObject/index.cjs.js +1 -1
  59. package/dist/GraphicalObject/index.es.js +1 -1
  60. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-BKYCNg9l.js +1 -0
  61. package/dist/{GraphicalObject.vue_vue_type_script_setup_true_lang-CcI-aIS4.js → GraphicalObject.vue_vue_type_script_setup_true_lang-DqfDSUXz.js} +7 -6
  62. package/dist/Icon/Icon.d.ts +1 -1
  63. package/dist/Icon/index.cjs.js +1 -1
  64. package/dist/Icon/index.es.js +1 -1
  65. package/dist/Icon.vue_vue_type_style_index_0_lang-D-jaUivh.js +1 -0
  66. package/dist/Icon.vue_vue_type_style_index_0_lang-W7sippxn.js +48 -0
  67. package/dist/IconButton/IconButton.d.ts +149 -5
  68. package/dist/IconButton/index.cjs.js +1 -1
  69. package/dist/IconButton/index.es.js +1 -1
  70. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DCrUZOP9.js +47 -0
  71. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DVbz9uji.js +1 -0
  72. package/dist/Image/Image.d.ts +48 -0
  73. package/dist/Image/Image.model.d.ts +6 -0
  74. package/dist/Image/index.cjs.js +1 -0
  75. package/dist/Image/index.d.ts +2 -0
  76. package/dist/Image/index.es.js +117 -0
  77. package/dist/IndentLevel/IndentLevel.d.ts +35 -0
  78. package/dist/IndentLevel/IndentLevel.model.d.ts +4 -0
  79. package/dist/IndentLevel/index.cjs.js +1 -0
  80. package/dist/IndentLevel/index.d.ts +2 -0
  81. package/dist/IndentLevel/index.es.js +7 -0
  82. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-B_x8tshB.js +1 -0
  83. package/dist/IndentLevel.vue_vue_type_style_index_0_lang-jaoDj9GA.js +103 -0
  84. package/dist/Indicator/Indicator.d.ts +1 -1
  85. package/dist/Indicator/index.cjs.js +1 -1
  86. package/dist/Indicator/index.es.js +1 -1
  87. package/dist/Indicator.vue_vue_type_script_setup_true_lang-D2iFmRna.js +1 -0
  88. package/dist/Indicator.vue_vue_type_script_setup_true_lang-jv3IND51.js +34 -0
  89. package/dist/Kbd/Kbd.d.ts +31 -0
  90. package/dist/Kbd/index.cjs.js +1 -0
  91. package/dist/Kbd/index.d.ts +1 -0
  92. package/dist/Kbd/index.es.js +5 -0
  93. package/dist/Kbd.vue_vue_type_style_index_0_lang-Br1eygIf.js +1 -0
  94. package/dist/Kbd.vue_vue_type_style_index_0_lang-D5D9tTsQ.js +60 -0
  95. package/dist/MenuItem/MenuItem.model.d.ts +2 -0
  96. package/dist/MenuItem/index.cjs.js +1 -0
  97. package/dist/MenuItem/index.d.ts +1 -0
  98. package/dist/MenuItem/index.es.js +1 -0
  99. package/dist/Popover/Popover.d.ts +6 -83
  100. package/dist/Popover/index.cjs.js +1 -1
  101. package/dist/Popover/index.es.js +1 -1
  102. package/dist/Popover.vue_vue_type_style_index_0_lang-BZMSPrfB.js +1 -0
  103. package/dist/{Popover.vue_vue_type_style_index_0_lang-Jf0LVKU_.js → Popover.vue_vue_type_style_index_0_lang-DTr33v9y.js} +31 -29
  104. package/dist/RadioGroup/RadioGroup.d.ts +32 -0
  105. package/dist/RadioGroup/RadioGroup.model.d.ts +2 -0
  106. package/dist/RadioGroup/RadioGroupItem.d.ts +16 -0
  107. package/dist/RadioGroup/index.cjs.js +1 -0
  108. package/dist/RadioGroup/index.d.ts +2 -0
  109. package/dist/RadioGroup/index.es.js +100 -0
  110. package/dist/Shortcut/Shortcut.d.ts +12 -0
  111. package/dist/Shortcut/index.cjs.js +1 -0
  112. package/dist/Shortcut/index.d.ts +1 -0
  113. package/dist/Shortcut/index.es.js +42 -0
  114. package/dist/Skeleton/index.cjs.js +1 -1
  115. package/dist/Skeleton/index.es.js +1 -1
  116. package/dist/{Skeleton.vue_vue_type_style_index_0_lang-C56TOumA.js → Skeleton.vue_vue_type_style_index_0_lang-BgVkwMj4.js} +10 -9
  117. package/dist/Skeleton.vue_vue_type_style_index_0_lang-PNNUgKOq.js +1 -0
  118. package/dist/Spinner/Spinner.d.ts +2 -10
  119. package/dist/Spinner/index.cjs.js +1 -1
  120. package/dist/Spinner/index.es.js +1 -1
  121. package/dist/Spinner.vue_vue_type_style_index_0_lang-BOXr-RUw.js +85 -0
  122. package/dist/Spinner.vue_vue_type_style_index_0_lang-DW5QRtWO.js +1 -0
  123. package/dist/Switch/Switch.d.ts +29 -0
  124. package/dist/Switch/Switch.model.d.ts +2 -0
  125. package/dist/Switch/index.cjs.js +1 -0
  126. package/dist/Switch/index.d.ts +2 -0
  127. package/dist/Switch/index.es.js +104 -0
  128. package/dist/Tree/Tree.d.ts +66 -0
  129. package/dist/Tree/Tree.model.d.ts +71 -0
  130. package/dist/Tree/TreeNode.d.ts +33 -0
  131. package/dist/Tree/index.cjs.js +1 -0
  132. package/dist/Tree/index.d.ts +2 -0
  133. package/dist/Tree/index.es.js +456 -0
  134. package/dist/class-CjZYGZDW.js +1 -0
  135. package/dist/class-DyU-Ox8D.js +24 -0
  136. package/dist/index.cjs.js +1 -1
  137. package/dist/index.es.js +27 -24
  138. package/dist/omit-C_ZXwm9T.js +1 -0
  139. package/dist/omit-DtumnYm5.js +760 -0
  140. package/dist/options-B4iSAKol.js +1 -0
  141. package/dist/options-JBqnVZUl.js +9 -0
  142. package/dist/style/index.css +1 -1
  143. package/dist/utils/element.d.ts +1 -1
  144. package/dist/utils/index.cjs.js +1 -1
  145. package/dist/utils/index.d.ts +2 -1
  146. package/dist/utils/index.es.js +7 -4
  147. package/package.json +61 -16
  148. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-Drb30rfG.js +0 -39
  149. package/dist/ActionButton.vue_vue_type_script_setup_true_lang-dxthnFw4.js +0 -1
  150. package/dist/Avatar.vue_vue_type_style_index_0_lang-BB-v9NHG.js +0 -1
  151. package/dist/Badge.vue_vue_type_script_setup_true_lang-CXfdGkKV.js +0 -33
  152. package/dist/Badge.vue_vue_type_script_setup_true_lang-sx-dXgFD.js +0 -1
  153. package/dist/BaseButton.vue_vue_type_style_index_0_lang-B-uDLmB_.js +0 -1
  154. package/dist/BaseButton.vue_vue_type_style_index_0_lang-F50Tg7IQ.js +0 -151
  155. package/dist/Button.vue_vue_type_script_setup_true_lang-Crhe5sHQ.js +0 -1
  156. package/dist/Button.vue_vue_type_script_setup_true_lang-XrPBGQq8.js +0 -36
  157. package/dist/ButtonGroup.vue_vue_type_script_setup_true_lang-DmShg2d-.js +0 -1
  158. package/dist/Checkbox.vue_vue_type_style_index_0_lang-BRJhkPIY.js +0 -1
  159. package/dist/Checkbox.vue_vue_type_style_index_0_lang-OQRmH46S.js +0 -194
  160. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-Bu9Ndwxm.js +0 -1
  161. package/dist/FloatButton.vue_vue_type_script_setup_true_lang-CCfZsUxy.js +0 -34
  162. package/dist/GraphicalObject.vue_vue_type_script_setup_true_lang-BhMxC00o.js +0 -1
  163. package/dist/Icon.vue_vue_type_style_index_0_lang-CB4CYuWH.js +0 -47
  164. package/dist/Icon.vue_vue_type_style_index_0_lang-CV1YvIs-.js +0 -1
  165. package/dist/IconButton.vue_vue_type_script_setup_true_lang-BTG_oQuF.js +0 -34
  166. package/dist/IconButton.vue_vue_type_script_setup_true_lang-C93zhnQU.js +0 -1
  167. package/dist/Indicator.vue_vue_type_script_setup_true_lang-Z02asVPa.js +0 -1
  168. package/dist/Indicator.vue_vue_type_script_setup_true_lang-qIUYIdkm.js +0 -33
  169. package/dist/Logotype-Dark.svg +0 -3
  170. package/dist/Logotype-Light.svg +0 -3
  171. package/dist/Popover.vue_vue_type_style_index_0_lang-VH8LnLG9.js +0 -1
  172. package/dist/Skeleton.vue_vue_type_style_index_0_lang-B6-i0F1w.js +0 -1
  173. package/dist/Spinner.vue_vue_type_style_index_0_lang-B5byV1za.js +0 -75
  174. package/dist/Spinner.vue_vue_type_style_index_0_lang-Baaz0Dxb.js +0 -1
  175. package/dist/logo.svg +0 -4
  176. package/dist/omit-B0hUroNu.js +0 -1
  177. package/dist/omit-DU39EwuA.js +0 -851
  178. package/dist/options-B8SF1auT.js +0 -1
  179. package/dist/options-B8rT2fg0.js +0 -30
@@ -1,15 +1,159 @@
1
- import { BaseButtonProps } from '../Base/BaseButton/BaseButton';
2
- export type FloatButtonProps = Pick<BaseButtonProps, 'as' | 'class' | 'color' | 'loading' | 'size' | 'icon'> & {
1
+ import { BaseButtonSlots, BaseButtonProps } from '../Base/BaseButton/BaseButton';
2
+ export type FloatButtonProps = Partial<Pick<BaseButtonProps, 'as' | 'class' | 'color' | 'loading' | 'size' | 'icon'>> & {
3
3
  type?: 'fill' | 'outline';
4
4
  };
5
+ type FloatButtonSlots = Omit<BaseButtonSlots, 'preIcon' | 'badge' | 'postIcon' | 'default'>;
5
6
  declare function __VLS_template(): {
6
7
  attrs: Partial<{}>;
7
- slots: Partial<Record<string, (_: any) => any>>;
8
- refs: {};
8
+ slots: Readonly<FloatButtonSlots> & FloatButtonSlots;
9
+ refs: {
10
+ buttonRef: ({
11
+ $: import('vue').ComponentInternalInstance;
12
+ $data: {};
13
+ $props: {
14
+ readonly class?: import('../index.ts', { with: { "resolution-mode": "import" } }).Class | undefined;
15
+ readonly text?: (string | number) | undefined;
16
+ readonly size?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
17
+ readonly color?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
18
+ readonly type?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
19
+ readonly variant?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonVariant | undefined;
20
+ readonly loading?: boolean | undefined;
21
+ readonly action?: boolean | undefined;
22
+ readonly active?: boolean | undefined;
23
+ readonly badgeText?: string | undefined;
24
+ readonly badgeIcon?: string | undefined;
25
+ readonly icon?: string | undefined;
26
+ readonly preIcon?: string | undefined;
27
+ readonly postIcon?: string | undefined;
28
+ readonly as?: (import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
29
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
30
+ $attrs: {
31
+ [x: string]: unknown;
32
+ };
33
+ $refs: any;
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
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
49
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
50
+ beforeCreate?: (() => void) | (() => void)[];
51
+ created?: (() => void) | (() => void)[];
52
+ beforeMount?: (() => void) | (() => void)[];
53
+ mounted?: (() => void) | (() => void)[];
54
+ beforeUpdate?: (() => void) | (() => void)[];
55
+ updated?: (() => void) | (() => void)[];
56
+ activated?: (() => void) | (() => void)[];
57
+ deactivated?: (() => void) | (() => void)[];
58
+ beforeDestroy?: (() => void) | (() => void)[];
59
+ beforeUnmount?: (() => void) | (() => void)[];
60
+ destroyed?: (() => void) | (() => void)[];
61
+ unmounted?: (() => void) | (() => void)[];
62
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
63
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
64
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
65
+ };
66
+ $forceUpdate: () => void;
67
+ $nextTick: typeof import('vue').nextTick;
68
+ $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;
69
+ } & Readonly<{
70
+ type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
71
+ color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
72
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
73
+ }> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "blur" | "focus" | ("type" | "color" | "as")> & import('vue').ShallowUnwrapRef<{
74
+ focus(): void;
75
+ blur(): void;
76
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
77
+ $slots: any;
78
+ }) | null;
79
+ };
9
80
  rootEl: any;
10
81
  };
11
82
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<FloatButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FloatButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
83
+ declare const __VLS_component: import('vue').DefineComponent<FloatButtonProps, {
84
+ focus(): void;
85
+ blur(): void;
86
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FloatButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
87
+ buttonRef: ({
88
+ $: import('vue').ComponentInternalInstance;
89
+ $data: {};
90
+ $props: {
91
+ readonly class?: import('../index.ts', { with: { "resolution-mode": "import" } }).Class | undefined;
92
+ readonly text?: (string | number) | undefined;
93
+ readonly size?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
94
+ readonly color?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
95
+ readonly type?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
96
+ readonly variant?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonVariant | undefined;
97
+ readonly loading?: boolean | undefined;
98
+ readonly action?: boolean | undefined;
99
+ readonly active?: boolean | undefined;
100
+ readonly badgeText?: string | undefined;
101
+ readonly badgeIcon?: string | undefined;
102
+ readonly icon?: string | undefined;
103
+ readonly preIcon?: string | undefined;
104
+ readonly postIcon?: string | undefined;
105
+ readonly as?: (import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
106
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
107
+ $attrs: {
108
+ [x: string]: unknown;
109
+ };
110
+ $refs: any;
111
+ $slots: Readonly<{
112
+ [name: string]: import('vue').Slot<any> | undefined;
113
+ }>;
114
+ $root: import('vue').ComponentPublicInstance | null;
115
+ $parent: import('vue').ComponentPublicInstance | null;
116
+ $host: Element | null;
117
+ $emit: (event: string, ...args: any[]) => void;
118
+ $el: any;
119
+ $options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{}>, {
120
+ focus(): void;
121
+ blur(): void;
122
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
123
+ type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
124
+ color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
125
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
126
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
127
+ beforeCreate?: (() => void) | (() => void)[];
128
+ created?: (() => void) | (() => void)[];
129
+ beforeMount?: (() => void) | (() => void)[];
130
+ mounted?: (() => void) | (() => void)[];
131
+ beforeUpdate?: (() => void) | (() => void)[];
132
+ updated?: (() => void) | (() => void)[];
133
+ activated?: (() => void) | (() => void)[];
134
+ deactivated?: (() => void) | (() => void)[];
135
+ beforeDestroy?: (() => void) | (() => void)[];
136
+ beforeUnmount?: (() => void) | (() => void)[];
137
+ destroyed?: (() => void) | (() => void)[];
138
+ unmounted?: (() => void) | (() => void)[];
139
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
140
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
141
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
142
+ };
143
+ $forceUpdate: () => void;
144
+ $nextTick: typeof import('vue').nextTick;
145
+ $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;
146
+ } & Readonly<{
147
+ type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
148
+ color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
149
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
150
+ }> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "blur" | "focus" | ("type" | "color" | "as")> & import('vue').ShallowUnwrapRef<{
151
+ focus(): void;
152
+ blur(): void;
153
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
154
+ $slots: any;
155
+ }) | null;
156
+ }, any>;
13
157
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
158
  export default _default;
15
159
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -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-Bu9Ndwxm.js");exports.FloatButton=e._sfc_main;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../FloatButton.vue_vue_type_script_setup_true_lang-BD8KDs-3.js");exports.FloatButton=e._sfc_main;exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as o, _ as e } from "../FloatButton.vue_vue_type_script_setup_true_lang-CCfZsUxy.js";
1
+ import { _ as o, _ as e } from "../FloatButton.vue_vue_type_script_setup_true_lang-CLL_AR_I.js";
2
2
  export {
3
3
  o as FloatButton,
4
4
  e as default
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),l=require("./omit-C_ZXwm9T.js"),p=require("./BaseButton.vue_vue_type_style_index_0_lang-HdsdAsR3.js"),_=require("./options-B4iSAKol.js"),f=e.defineComponent({..._.getComponentOptions("FloatButton",!1),__name:"FloatButton",props:{as:{},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;
@@ -0,0 +1,47 @@
1
+ import { defineComponent as i, useAttrs as l, computed as m, ref as u, openBlock as f, createBlock 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-DtumnYm5.js";
3
+ import { _ as C } from "./BaseButton.vue_vue_type_style_index_0_lang-BLGNTber.js";
4
+ import { g as P } from "./options-JBqnVZUl.js";
5
+ const I = /* @__PURE__ */ i({
6
+ ...P("FloatButton", !1),
7
+ __name: "FloatButton",
8
+ props: {
9
+ as: {},
10
+ class: {},
11
+ color: {},
12
+ loading: { type: Boolean },
13
+ size: {},
14
+ icon: {},
15
+ type: {}
16
+ },
17
+ setup(r, { expose: n }) {
18
+ const s = r, a = l(), c = m(() => ({
19
+ ...y(a, "variant", "text", "preIcon", "postIcon", "action", "active", "badgeText"),
20
+ ...s
21
+ })), t = u();
22
+ return n({
23
+ focus() {
24
+ var o;
25
+ (o = t.value) == null || o.focus();
26
+ },
27
+ blur() {
28
+ var o;
29
+ (o = t.value) == null || o.blur();
30
+ }
31
+ }), (o, R) => (f(), _(C, d(c.value, {
32
+ variant: "float",
33
+ ref_key: "buttonRef",
34
+ ref: t
35
+ }), b({ _: 2 }, [
36
+ g(Object.keys(o.$slots), (e) => ({
37
+ name: e,
38
+ fn: v((p) => [
39
+ B(o.$slots, e, k(x(p)))
40
+ ])
41
+ }))
42
+ ]), 1040));
43
+ }
44
+ });
45
+ export {
46
+ I as _
47
+ };
@@ -1,10 +1,10 @@
1
- import { BaseBadgeProps } from '../Base/BaseBadge/BaseBadge';
2
- export type GraphicalObjectProps = Pick<BaseBadgeProps, 'as' | 'class' | 'mode' | 'icon' | 'color'> & {
1
+ import { BadgeSlots, BaseBadgeProps } from '../Base/BaseBadge/BaseBadge';
2
+ export type GraphicalObjectProps = Partial<Pick<BaseBadgeProps, 'as' | 'class' | 'mode' | 'icon' | 'color'>> & {
3
3
  size?: Exclude<BaseBadgeProps['size'], 'tiny' | 'tinier'>;
4
4
  };
5
5
  declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
- slots: Partial<Record<string, (_: any) => any>>;
7
+ slots: Readonly<BadgeSlots> & BadgeSlots;
8
8
  refs: {};
9
9
  rootEl: any;
10
10
  };
@@ -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-BhMxC00o.js");exports.GraphicalObject=e._sfc_main;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../GraphicalObject.vue_vue_type_script_setup_true_lang-BKYCNg9l.js");exports.GraphicalObject=e._sfc_main;exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as r, _ as t } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-CcI-aIS4.js";
1
+ import { _ as r, _ as t } from "../GraphicalObject.vue_vue_type_script_setup_true_lang-DqfDSUXz.js";
2
2
  export {
3
3
  r as GraphicalObject,
4
4
  t as default
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),a=require("./omit-C_ZXwm9T.js"),p=require("./BaseBadge.vue_vue_type_style_index_0_lang-B1Va5X21.js"),u=require("./options-B4iSAKol.js"),_=e.defineComponent({...u.getComponentOptions("GraphicalObject",!1),__name:"GraphicalObject",props:{as:{},class:{},mode:{},icon:{},color:{},size:{}},setup(r){const o=r,n=e.useAttrs(),c=e.computed(()=>({...a.omit(n,"type","text"),...o}));return(t,l)=>(e.openBlock(),e.createBlock(p._sfc_main,e.mergeProps(c.value,{type:"rect"}),e.createSlots({_:2},[e.renderList(Object.keys(t.$slots),s=>({name:s,fn:e.withCtx(i=>[e.renderSlot(t.$slots,s,e.normalizeProps(e.guardReactiveProps(i)))])}))]),1040))}});exports._sfc_main=_;
@@ -1,7 +1,8 @@
1
- import { defineComponent as c, useAttrs as p, computed as i, openBlock as m, createBlock as l, mergeProps as _, createSlots as f, renderList as u, withCtx as d, renderSlot as g, normalizeProps as b, guardReactiveProps as h } from "vue";
2
- import { o as O, _ as j } from "./omit-DU39EwuA.js";
3
- import { g as k } from "./options-B8rT2fg0.js";
4
- const v = /* @__PURE__ */ c({
1
+ import { defineComponent as c, useAttrs as p, computed as i, openBlock as m, createBlock as l, mergeProps as f, createSlots as _, renderList as u, withCtx as d, renderSlot as g, normalizeProps as b, guardReactiveProps as h } from "vue";
2
+ import { o as O } from "./omit-DtumnYm5.js";
3
+ import { _ as j } from "./BaseBadge.vue_vue_type_style_index_0_lang-CHhhflIH.js";
4
+ import { g as k } from "./options-JBqnVZUl.js";
5
+ const x = /* @__PURE__ */ c({
5
6
  ...k("GraphicalObject", !1),
6
7
  __name: "GraphicalObject",
7
8
  props: {
@@ -17,7 +18,7 @@ const v = /* @__PURE__ */ c({
17
18
  ...O(s, "type", "text"),
18
19
  ...r
19
20
  }));
20
- return (e, y) => (m(), l(j, _(n.value, { type: "rect" }), f({ _: 2 }, [
21
+ return (e, y) => (m(), l(j, f(n.value, { type: "rect" }), _({ _: 2 }, [
21
22
  u(Object.keys(e.$slots), (t) => ({
22
23
  name: t,
23
24
  fn: d((a) => [
@@ -28,5 +29,5 @@ const v = /* @__PURE__ */ c({
28
29
  }
29
30
  });
30
31
  export {
31
- v as _
32
+ x as _
32
33
  };
@@ -1,5 +1,5 @@
1
- import { IconSize } from './Icon.model.ts';
2
1
  import { Class } from '../types';
2
+ import { IconSize } from './Icon.model.ts';
3
3
  export interface IconProps {
4
4
  size?: IconSize;
5
5
  class?: Class;
@@ -1 +1 @@
1
- "use strict";var s=Object.create;var t=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var r=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var I=(e,o,c,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of d(o))!u.call(e,n)&&n!==c&&t(e,n,{get:()=>o[n],enumerable:!(i=_(o,n))||i.enumerable});return e};var l=(e,o,c)=>(c=e!=null?s(r(e)):{},I(o||!e||!e.__esModule?t(c,"default",{value:e,enumerable:!0}):c,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@iconify/vue");const a=require("../Icon.vue_vue_type_style_index_0_lang-CV1YvIs-.js"),f=async(e,o="")=>{const{addCollection:c}=await import("@iconify/vue");c(e,o)},C=async e=>{const{disableCache:o}=await import("@iconify/vue");o(e??"all")};exports.Icon=a._sfc_main;exports.IconSizes=a.IconSizes;exports.default=a._sfc_main;exports.defineLocaleIconCollection=f;exports.disableIconCache=C;
1
+ "use strict";var s=Object.create;var t=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var r=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty;var I=(e,o,c,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of d(o))!u.call(e,n)&&n!==c&&t(e,n,{get:()=>o[n],enumerable:!(i=_(o,n))||i.enumerable});return e};var l=(e,o,c)=>(c=e!=null?s(r(e)):{},I(o||!e||!e.__esModule?t(c,"default",{value:e,enumerable:!0}):c,e));Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("@iconify/vue");const a=require("../Icon.vue_vue_type_style_index_0_lang-D-jaUivh.js"),f=async(e,o="")=>{const{addCollection:c}=await import("@iconify/vue");c(e,o)},C=async e=>{const{disableCache:o}=await import("@iconify/vue");o(e??"all")};exports.Icon=a._sfc_main;exports.IconSizes=a.IconSizes;exports.default=a._sfc_main;exports.defineLocaleIconCollection=f;exports.disableIconCache=C;
@@ -1,5 +1,5 @@
1
1
  import "@iconify/vue";
2
- import { _ as l, I as d, _ as r } from "../Icon.vue_vue_type_style_index_0_lang-CB4CYuWH.js";
2
+ import { _ as l, I as d, _ as r } from "../Icon.vue_vue_type_style_index_0_lang-W7sippxn.js";
3
3
  const e = async (o, a = "") => {
4
4
  const { addCollection: c } = await import("@iconify/vue");
5
5
  c(o, a);
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),d=require("@iconify/vue"),t=require("./class-CjZYGZDW.js"),z=require("class-variance-authority"),B=require("./options-B4iSAKol.js"),o=["3xsm","2xsm","xsm","sm"],g=e.defineComponent({...B.getComponentOptions("Icon"),__name:"Icon",props:{size:{default:"xsm"},class:{},icon:{},flipOnDir:{},flipX:{type:Boolean},flipY:{type:Boolean}},setup(l){const i=l,n=t.getBemBlock("icon"),c=z.cva(n,{variants:{size:t.generateVariantClassList(o,n)}}),p=e.computed(()=>{if(Number(i.size)>0)return`${i.size}px`;if(typeof i.size=="string"&&!o.includes(i.size))return i.size}),a=e.computed(()=>{const s=[],r=t.getBemModifier(n,"flip-x"),f=t.getBemModifier(n,"flip-y"),u=t.getBemModifier(n,"flip-rtl"),m=t.getBemModifier(n,"flip-ltr");return i.flipX?s.push(r):(i.flipOnDir==="rtl"&&s.push(u),i.flipOnDir==="ltr"&&s.push(m)),i.flipY&&s.push(f),s.join(" ")});return(s,r)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass([e.unref(c)({size:s.size}),a.value,i.class]),style:e.normalizeStyle({"--pt-icon-size":p.value})},[e.renderSlot(s.$slots,"default",{},()=>[s.icon?(e.openBlock(),e.createBlock(e.unref(d.Icon),{key:0,icon:s.icon,ssr:""},null,8,["icon"])):e.createCommentVNode("",!0)])],6))}});exports.IconSizes=o;exports._sfc_main=g;
@@ -0,0 +1,48 @@
1
+ import { defineComponent as B, computed as t, openBlock as r, createElementBlock as g, normalizeClass as y, unref as l, normalizeStyle as C, renderSlot as h, createBlock as k, createCommentVNode as v } from "vue";
2
+ import { Icon as x } from "@iconify/vue";
3
+ import { g as I, b as O, c as n } from "./class-DyU-Ox8D.js";
4
+ import { cva as S } from "class-variance-authority";
5
+ import { g as D } from "./options-JBqnVZUl.js";
6
+ const p = ["3xsm", "2xsm", "xsm", "sm"], N = /* @__PURE__ */ B({
7
+ ...D("Icon"),
8
+ __name: "Icon",
9
+ props: {
10
+ size: { default: "xsm" },
11
+ class: {},
12
+ icon: {},
13
+ flipOnDir: {},
14
+ flipX: { type: Boolean },
15
+ flipY: { type: Boolean }
16
+ },
17
+ setup(c) {
18
+ const e = c, i = O("icon"), a = S(i, {
19
+ variants: {
20
+ size: I(p, i)
21
+ }
22
+ }), f = t(() => {
23
+ if (Number(e.size) > 0)
24
+ return `${e.size}px`;
25
+ if (typeof e.size == "string" && !p.includes(e.size))
26
+ return e.size;
27
+ }), m = t(() => {
28
+ const s = [], o = n(i, "flip-x"), u = n(i, "flip-y"), z = n(i, "flip-rtl"), d = n(i, "flip-ltr");
29
+ return e.flipX ? s.push(o) : (e.flipOnDir === "rtl" && s.push(z), e.flipOnDir === "ltr" && s.push(d)), e.flipY && s.push(u), s.join(" ");
30
+ });
31
+ return (s, o) => (r(), g("span", {
32
+ class: y([l(a)({ size: s.size }), m.value, e.class]),
33
+ style: C({ "--pt-icon-size": f.value })
34
+ }, [
35
+ h(s.$slots, "default", {}, () => [
36
+ s.icon ? (r(), k(l(x), {
37
+ key: 0,
38
+ icon: s.icon,
39
+ ssr: ""
40
+ }, null, 8, ["icon"])) : v("", !0)
41
+ ])
42
+ ], 6));
43
+ }
44
+ });
45
+ export {
46
+ p as I,
47
+ N as _
48
+ };
@@ -1,13 +1,157 @@
1
- import { BaseButtonProps } from '../Base/BaseButton/BaseButton';
2
- export type IconButtonProps = Pick<BaseButtonProps, 'as' | 'class' | 'type' | 'color' | 'loading' | 'icon' | 'size'>;
1
+ import { BaseButtonSlots, BaseButtonProps } from '../Base/BaseButton/BaseButton';
2
+ export type IconButtonProps = Partial<Pick<BaseButtonProps, 'as' | 'class' | 'type' | 'color' | 'loading' | 'icon' | 'size'>>;
3
+ type IconButtonSlots = Omit<BaseButtonSlots, 'preIcon' | 'badge' | 'postIcon' | 'default'>;
3
4
  declare function __VLS_template(): {
4
5
  attrs: Partial<{}>;
5
- slots: Partial<Record<string, (_: any) => any>>;
6
- refs: {};
6
+ slots: Readonly<IconButtonSlots> & IconButtonSlots;
7
+ refs: {
8
+ buttonRef: ({
9
+ $: import('vue').ComponentInternalInstance;
10
+ $data: {};
11
+ $props: {
12
+ readonly class?: import('../index.ts', { with: { "resolution-mode": "import" } }).Class | undefined;
13
+ readonly text?: (string | number) | undefined;
14
+ readonly size?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
15
+ readonly color?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
16
+ readonly type?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
17
+ readonly variant?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonVariant | undefined;
18
+ readonly loading?: boolean | undefined;
19
+ readonly action?: boolean | undefined;
20
+ readonly active?: boolean | undefined;
21
+ readonly badgeText?: string | undefined;
22
+ readonly badgeIcon?: string | undefined;
23
+ readonly icon?: string | undefined;
24
+ readonly preIcon?: string | undefined;
25
+ readonly postIcon?: string | undefined;
26
+ readonly as?: (import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
27
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
28
+ $attrs: {
29
+ [x: string]: unknown;
30
+ };
31
+ $refs: any;
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
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
47
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
48
+ beforeCreate?: (() => void) | (() => void)[];
49
+ created?: (() => void) | (() => void)[];
50
+ beforeMount?: (() => void) | (() => void)[];
51
+ mounted?: (() => void) | (() => void)[];
52
+ beforeUpdate?: (() => void) | (() => void)[];
53
+ updated?: (() => void) | (() => void)[];
54
+ activated?: (() => void) | (() => void)[];
55
+ deactivated?: (() => void) | (() => void)[];
56
+ beforeDestroy?: (() => void) | (() => void)[];
57
+ beforeUnmount?: (() => void) | (() => void)[];
58
+ destroyed?: (() => void) | (() => void)[];
59
+ unmounted?: (() => void) | (() => void)[];
60
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
61
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
62
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
63
+ };
64
+ $forceUpdate: () => void;
65
+ $nextTick: typeof import('vue').nextTick;
66
+ $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;
67
+ } & Readonly<{
68
+ type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
69
+ color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
70
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
71
+ }> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "blur" | "focus" | ("type" | "color" | "as")> & import('vue').ShallowUnwrapRef<{
72
+ focus(): void;
73
+ blur(): void;
74
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
75
+ $slots: any;
76
+ }) | null;
77
+ };
7
78
  rootEl: any;
8
79
  };
9
80
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<IconButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
81
+ declare const __VLS_component: import('vue').DefineComponent<Partial<Pick<BaseButtonProps, "size" | "class" | "icon" | "type" | "color" | "as" | "loading">>, {
82
+ focus(): void;
83
+ blur(): void;
84
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<Pick<BaseButtonProps, "size" | "class" | "icon" | "type" | "color" | "as" | "loading">>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
85
+ buttonRef: ({
86
+ $: import('vue').ComponentInternalInstance;
87
+ $data: {};
88
+ $props: {
89
+ readonly class?: import('../index.ts', { with: { "resolution-mode": "import" } }).Class | undefined;
90
+ readonly text?: (string | number) | undefined;
91
+ readonly size?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonSize | undefined;
92
+ readonly color?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor | undefined;
93
+ readonly type?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType | undefined;
94
+ readonly variant?: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonVariant | undefined;
95
+ readonly loading?: boolean | undefined;
96
+ readonly action?: boolean | undefined;
97
+ readonly active?: boolean | undefined;
98
+ readonly badgeText?: string | undefined;
99
+ readonly badgeIcon?: string | undefined;
100
+ readonly icon?: string | undefined;
101
+ readonly preIcon?: string | undefined;
102
+ readonly postIcon?: string | undefined;
103
+ readonly as?: (import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component) | undefined;
104
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
105
+ $attrs: {
106
+ [x: string]: unknown;
107
+ };
108
+ $refs: any;
109
+ $slots: Readonly<{
110
+ [name: string]: import('vue').Slot<any> | undefined;
111
+ }>;
112
+ $root: import('vue').ComponentPublicInstance | null;
113
+ $parent: import('vue').ComponentPublicInstance | null;
114
+ $host: Element | null;
115
+ $emit: (event: string, ...args: any[]) => void;
116
+ $el: any;
117
+ $options: import('vue').ComponentOptionsBase<Readonly<BaseButtonProps> & Readonly<{}>, {
118
+ focus(): void;
119
+ blur(): void;
120
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
121
+ type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
122
+ color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
123
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
124
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
125
+ beforeCreate?: (() => void) | (() => void)[];
126
+ created?: (() => void) | (() => void)[];
127
+ beforeMount?: (() => void) | (() => void)[];
128
+ mounted?: (() => void) | (() => void)[];
129
+ beforeUpdate?: (() => void) | (() => void)[];
130
+ updated?: (() => void) | (() => void)[];
131
+ activated?: (() => void) | (() => void)[];
132
+ deactivated?: (() => void) | (() => void)[];
133
+ beforeDestroy?: (() => void) | (() => void)[];
134
+ beforeUnmount?: (() => void) | (() => void)[];
135
+ destroyed?: (() => void) | (() => void)[];
136
+ unmounted?: (() => void) | (() => void)[];
137
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
138
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
139
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
140
+ };
141
+ $forceUpdate: () => void;
142
+ $nextTick: typeof import('vue').nextTick;
143
+ $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;
144
+ } & Readonly<{
145
+ type: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonType;
146
+ color: import('../index.ts', { with: { "resolution-mode": "import" } }).ButtonColor;
147
+ as: import('radix-vue', { with: { "resolution-mode": "import" } }).AsTag | import('vue').Component;
148
+ }> & Omit<Readonly<BaseButtonProps> & Readonly<{}>, "blur" | "focus" | ("type" | "color" | "as")> & import('vue').ShallowUnwrapRef<{
149
+ focus(): void;
150
+ blur(): void;
151
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
152
+ $slots: any;
153
+ }) | null;
154
+ }, any>;
11
155
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
156
  export default _default;
13
157
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -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-C93zhnQU.js");exports.IconButton=e._sfc_main;exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../IconButton.vue_vue_type_script_setup_true_lang-DVbz9uji.js");exports.IconButton=e._sfc_main;exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as a, _ as e } from "../IconButton.vue_vue_type_script_setup_true_lang-BTG_oQuF.js";
1
+ import { _ as a, _ as e } from "../IconButton.vue_vue_type_script_setup_true_lang-DCrUZOP9.js";
2
2
  export {
3
3
  a as IconButton,
4
4
  e as default
@@ -0,0 +1,47 @@
1
+ import { defineComponent as p, useAttrs as m, computed as u, ref as f, openBlock as l, createBlock 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-DtumnYm5.js";
3
+ import { _ as I } from "./BaseButton.vue_vue_type_style_index_0_lang-BLGNTber.js";
4
+ import { g as C } from "./options-JBqnVZUl.js";
5
+ const O = /* @__PURE__ */ p({
6
+ ...C("IconButton", !1),
7
+ __name: "IconButton",
8
+ props: {
9
+ as: {},
10
+ class: {},
11
+ type: {},
12
+ color: {},
13
+ loading: { type: Boolean },
14
+ icon: {},
15
+ size: {}
16
+ },
17
+ setup(n, { expose: r }) {
18
+ const s = n, a = m(), c = u(() => ({
19
+ ...y(a, "variant", "preIcon", "postIcon", "text", "action", "active", "badgeText"),
20
+ ...s
21
+ })), e = f();
22
+ return r({
23
+ focus() {
24
+ var o;
25
+ (o = e.value) == null || o.focus();
26
+ },
27
+ blur() {
28
+ var o;
29
+ (o = e.value) == null || o.blur();
30
+ }
31
+ }), (o, P) => (l(), _(I, d(c.value, {
32
+ variant: "icon",
33
+ ref_key: "buttonRef",
34
+ ref: e
35
+ }), b({ _: 2 }, [
36
+ g(Object.keys(o.$slots), (t) => ({
37
+ name: t,
38
+ fn: v((i) => [
39
+ B(o.$slots, t, k(x(i)))
40
+ ])
41
+ }))
42
+ ]), 1040));
43
+ }
44
+ });
45
+ export {
46
+ O as _
47
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("vue"),p=require("./omit-C_ZXwm9T.js"),l=require("./BaseButton.vue_vue_type_style_index_0_lang-HdsdAsR3.js"),_=require("./options-B4iSAKol.js"),f=e.defineComponent({..._.getComponentOptions("IconButton",!1),__name:"IconButton",props:{as:{},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;