@cynnie/ui-shadcn 0.1.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 (114) hide show
  1. package/README.md +49 -0
  2. package/dist/Checkbox-DswwIgpU.js +38 -0
  3. package/dist/Checkbox-DswwIgpU.js.map +1 -0
  4. package/dist/DialogTitle-CCJNart2.js +107 -0
  5. package/dist/DialogTitle-CCJNart2.js.map +1 -0
  6. package/dist/Input-BQYIq9cS.js +24 -0
  7. package/dist/Input-BQYIq9cS.js.map +1 -0
  8. package/dist/Loader-DZyMmrI8.js +19 -0
  9. package/dist/Loader-DZyMmrI8.js.map +1 -0
  10. package/dist/ProButton-BQWpTTCy.js +84 -0
  11. package/dist/ProButton-BQWpTTCy.js.map +1 -0
  12. package/dist/ProCheckboxGroup-DX6c9gx-.js +71 -0
  13. package/dist/ProCheckboxGroup-DX6c9gx-.js.map +1 -0
  14. package/dist/ProConfirmButton-zcvp7NcN.js +175 -0
  15. package/dist/ProConfirmButton-zcvp7NcN.js.map +1 -0
  16. package/dist/ProDescriptions-B1znLzkY.js +45 -0
  17. package/dist/ProDescriptions-B1znLzkY.js.map +1 -0
  18. package/dist/ProFormBuilder-CsNShZ0y.js +1138 -0
  19. package/dist/ProFormBuilder-CsNShZ0y.js.map +1 -0
  20. package/dist/ProInput-D20F1Xx-.js +91 -0
  21. package/dist/ProInput-D20F1Xx-.js.map +1 -0
  22. package/dist/ProModal-DsIFQ8y5.js +109 -0
  23. package/dist/ProModal-DsIFQ8y5.js.map +1 -0
  24. package/dist/ProRadioGroup-CTxqLQjw.js +138 -0
  25. package/dist/ProRadioGroup-CTxqLQjw.js.map +1 -0
  26. package/dist/ProSelect-DT0zjDjT.js +90 -0
  27. package/dist/ProSelect-DT0zjDjT.js.map +1 -0
  28. package/dist/ProTable-CP1Mc52q.js +349 -0
  29. package/dist/ProTable-CP1Mc52q.js.map +1 -0
  30. package/dist/SelectValue-CWl9zUW3.js +163 -0
  31. package/dist/SelectValue-CWl9zUW3.js.map +1 -0
  32. package/dist/button-BQVT6mY3.js +60 -0
  33. package/dist/button-BQVT6mY3.js.map +1 -0
  34. package/dist/components/ProButton/ProCountdownButton.vue.d.ts +28 -0
  35. package/dist/components/ProButton/index.js +2 -0
  36. package/dist/components/ProButton/index.vue.d.ts +31 -0
  37. package/dist/components/ProCheckboxGroup/index.js +2 -0
  38. package/dist/components/ProCheckboxGroup/index.vue.d.ts +18 -0
  39. package/dist/components/ProConfirmButton/index.js +2 -0
  40. package/dist/components/ProConfirmButton/index.vue.d.ts +43 -0
  41. package/dist/components/ProDescriptions/index.js +2 -0
  42. package/dist/components/ProDescriptions/index.vue.d.ts +40 -0
  43. package/dist/components/ProFormBuilder/index.js +2 -0
  44. package/dist/components/ProFormBuilder/index.vue.d.ts +43 -0
  45. package/dist/components/ProInput/index.js +2 -0
  46. package/dist/components/ProInput/index.vue.d.ts +27 -0
  47. package/dist/components/ProModal/index.js +2 -0
  48. package/dist/components/ProModal/index.vue.d.ts +45 -0
  49. package/dist/components/ProRadioGroup/index.js +2 -0
  50. package/dist/components/ProRadioGroup/index.vue.d.ts +20 -0
  51. package/dist/components/ProSelect/index.js +2 -0
  52. package/dist/components/ProSelect/index.vue.d.ts +28 -0
  53. package/dist/components/ProTable/ProTableForm.vue.d.ts +91 -0
  54. package/dist/components/ProTable/index.js +2 -0
  55. package/dist/components/ProTable/index.vue.d.ts +36 -0
  56. package/dist/components/index.d.ts +12 -0
  57. package/dist/components/ui/alert/Alert.vue.d.ts +22 -0
  58. package/dist/components/ui/alert/index.d.ts +6 -0
  59. package/dist/components/ui/button/Button.vue.d.ts +27 -0
  60. package/dist/components/ui/button/index.d.ts +7 -0
  61. package/dist/components/ui/checkbox/Checkbox.vue.d.ts +11 -0
  62. package/dist/components/ui/checkbox/index.d.ts +1 -0
  63. package/dist/components/ui/dialog/Dialog.vue.d.ts +22 -0
  64. package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
  65. package/dist/components/ui/dialog/DialogContent.vue.d.ts +36 -0
  66. package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
  67. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
  68. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
  69. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
  70. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
  71. package/dist/components/ui/dialog/index.d.ts +8 -0
  72. package/dist/components/ui/index.d.ts +12 -0
  73. package/dist/components/ui/input/Input.vue.d.ts +13 -0
  74. package/dist/components/ui/input/index.d.ts +1 -0
  75. package/dist/components/ui/label/Label.vue.d.ts +24 -0
  76. package/dist/components/ui/label/index.d.ts +1 -0
  77. package/dist/components/ui/loader/Loader.vue.d.ts +6 -0
  78. package/dist/components/ui/loader/index.d.ts +1 -0
  79. package/dist/components/ui/popover/Popover.vue.d.ts +22 -0
  80. package/dist/components/ui/popover/PopoverContent.vue.d.ts +38 -0
  81. package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
  82. package/dist/components/ui/popover/index.d.ts +3 -0
  83. package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +22 -0
  84. package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +7 -0
  85. package/dist/components/ui/radio-group/index.d.ts +2 -0
  86. package/dist/components/ui/select/Select.vue.d.ts +19 -0
  87. package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
  88. package/dist/components/ui/select/SelectItem.vue.d.ts +22 -0
  89. package/dist/components/ui/select/SelectTrigger.vue.d.ts +21 -0
  90. package/dist/components/ui/select/SelectValue.vue.d.ts +21 -0
  91. package/dist/components/ui/select/index.d.ts +5 -0
  92. package/dist/components/ui/table/Table.vue.d.ts +21 -0
  93. package/dist/components/ui/table/TableBody.vue.d.ts +21 -0
  94. package/dist/components/ui/table/TableCell.vue.d.ts +21 -0
  95. package/dist/components/ui/table/TableHead.vue.d.ts +21 -0
  96. package/dist/components/ui/table/TableHeader.vue.d.ts +21 -0
  97. package/dist/components/ui/table/TableRow.vue.d.ts +21 -0
  98. package/dist/components/ui/table/index.d.ts +6 -0
  99. package/dist/components/ui/textarea/Textarea.vue.d.ts +13 -0
  100. package/dist/components/ui/textarea/index.d.ts +1 -0
  101. package/dist/index.d.ts +8 -0
  102. package/dist/index.js +65 -0
  103. package/dist/index.js.map +1 -0
  104. package/dist/lib/utils.d.ts +3 -0
  105. package/dist/openDialog-CVp3qAfm.js +95 -0
  106. package/dist/openDialog-CVp3qAfm.js.map +1 -0
  107. package/dist/utils/openDialog.d.ts +25 -0
  108. package/dist/utils/openDialog.js +2 -0
  109. package/dist/utils/uiMessage.d.ts +8 -0
  110. package/dist/utils-Dg1mr-yh.js +8 -0
  111. package/dist/utils-Dg1mr-yh.js.map +1 -0
  112. package/package.json +108 -0
  113. package/src/style.css +14 -0
  114. package/src/tailwind.preset.css +139 -0
@@ -0,0 +1,27 @@
1
+ import { PrimitiveProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { ButtonVariants } from '.';
4
+ interface Props extends PrimitiveProps {
5
+ variant?: ButtonVariants["variant"];
6
+ size?: ButtonVariants["size"];
7
+ class?: HTMLAttributes["class"];
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: any;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
19
+ as: string;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,7 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export { default as Button } from './Button.vue';
3
+ export declare const buttonVariants: (props?: {
4
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
5
+ size?: "default" | "sm" | "lg" | "icon";
6
+ } & import('class-variance-authority/types').ClassProp) => string;
7
+ export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -0,0 +1,11 @@
1
+ import { CheckboxRootProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = CheckboxRootProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ "update:modelValue": (value: boolean | "indeterminate") => any;
8
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onUpdate:modelValue"?: (value: boolean | "indeterminate") => any;
10
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
11
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Checkbox } from './Checkbox.vue';
@@ -0,0 +1,22 @@
1
+ import { DialogRootProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<DialogRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:open": (value: boolean) => any;
13
+ }, string, import('vue').PublicProps, Readonly<DialogRootProps> & Readonly<{
14
+ "onUpdate:open"?: (value: boolean) => any;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,18 @@
1
+ import { DialogCloseProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<DialogCloseProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogCloseProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,36 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { DialogContentProps } from 'reka-ui';
3
+ type __VLS_Props = DialogContentProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ closeAutoFocus: (event: Event) => any;
17
+ escapeKeyDown: (event: KeyboardEvent) => any;
18
+ pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
19
+ focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
20
+ interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
21
+ openAutoFocus: (event: Event) => any;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ onCloseAutoFocus?: (event: Event) => any;
24
+ onEscapeKeyDown?: (event: KeyboardEvent) => any;
25
+ onPointerDownOutside?: (event: import('reka-ui').PointerDownOutsideEvent) => any;
26
+ onFocusOutside?: (event: import('reka-ui').FocusOutsideEvent) => any;
27
+ onInteractOutside?: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
28
+ onOpenAutoFocus?: (event: Event) => any;
29
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { DialogDescriptionProps } from 'reka-ui';
3
+ type __VLS_Props = DialogDescriptionProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { DialogTitleProps } from 'reka-ui';
3
+ type __VLS_Props = DialogTitleProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,18 @@
1
+ import { DialogTriggerProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<DialogTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,8 @@
1
+ export { default as Dialog } from './Dialog.vue';
2
+ export { default as DialogContent } from './DialogContent.vue';
3
+ export { default as DialogDescription } from './DialogDescription.vue';
4
+ export { default as DialogFooter } from './DialogFooter.vue';
5
+ export { default as DialogHeader } from './DialogHeader.vue';
6
+ export { default as DialogTitle } from './DialogTitle.vue';
7
+ export { default as DialogTrigger } from './DialogTrigger.vue';
8
+ export { default as DialogClose } from './DialogClose.vue';
@@ -0,0 +1,12 @@
1
+ export { Button } from './button/index.js';
2
+ export { Input } from './input/index.js';
3
+ export { Textarea } from './textarea/index.js';
4
+ export { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './select/index.js';
5
+ export { Checkbox } from './checkbox/index.js';
6
+ export { RadioGroup, RadioGroupItem } from './radio-group/index.js';
7
+ export { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from './dialog/index.js';
8
+ export { Popover, PopoverContent, PopoverTrigger } from './popover/index.js';
9
+ export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from './table/index.js';
10
+ export { Label } from './label/index.js';
11
+ export { Alert } from './alert/index.js';
12
+ export { Loader } from './loader/index.js';
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ type __VLS_PublicProps = {
6
+ modelValue?: any;
7
+ } & __VLS_Props;
8
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (value: any) => any;
10
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
11
+ "onUpdate:modelValue"?: (value: any) => any;
12
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLInputElement>;
13
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Input } from './Input.vue';
@@ -0,0 +1,24 @@
1
+ import { LabelProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = LabelProps & {
4
+ class?: HTMLAttributes["class"];
5
+ /** 校验失败时标红(shadcn 的 data-error 约定) */
6
+ error?: boolean;
7
+ };
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1 @@
1
+ export { default as Label } from './Label.vue';
@@ -0,0 +1,6 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as Loader } from './Loader.vue';
@@ -0,0 +1,22 @@
1
+ import { PopoverRootProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<PopoverRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:open": (value: boolean) => any;
13
+ }, string, import('vue').PublicProps, Readonly<PopoverRootProps> & Readonly<{
14
+ "onUpdate:open"?: (value: boolean) => any;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,38 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { PopoverContentProps } from 'reka-ui';
3
+ type __VLS_Props = PopoverContentProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ closeAutoFocus: (event: Event) => any;
17
+ escapeKeyDown: (event: KeyboardEvent) => any;
18
+ pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
19
+ focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
20
+ interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
21
+ openAutoFocus: (event: Event) => any;
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ onCloseAutoFocus?: (event: Event) => any;
24
+ onEscapeKeyDown?: (event: KeyboardEvent) => any;
25
+ onPointerDownOutside?: (event: import('reka-ui').PointerDownOutsideEvent) => any;
26
+ onFocusOutside?: (event: import('reka-ui').FocusOutsideEvent) => any;
27
+ onInteractOutside?: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
28
+ onOpenAutoFocus?: (event: Event) => any;
29
+ }>, {
30
+ sideOffset: number;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
+ export default _default;
34
+ type __VLS_WithTemplateSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,18 @@
1
+ import { PopoverTriggerProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,3 @@
1
+ export { default as Popover } from './Popover.vue';
2
+ export { default as PopoverContent } from './PopoverContent.vue';
3
+ export { default as PopoverTrigger } from './PopoverTrigger.vue';
@@ -0,0 +1,22 @@
1
+ import { RadioGroupRootProps } from 'reka-ui';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: any;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<RadioGroupRootProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:modelValue": (payload: import('reka-ui').AcceptableValue) => any;
13
+ }, string, import('vue').PublicProps, Readonly<RadioGroupRootProps> & Readonly<{
14
+ "onUpdate:modelValue"?: (payload: import('reka-ui').AcceptableValue) => any;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,7 @@
1
+ import { RadioGroupItemProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = RadioGroupItemProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as RadioGroup } from './RadioGroup.vue';
2
+ export { default as RadioGroupItem } from './RadioGroupItem.vue';
@@ -0,0 +1,19 @@
1
+ import { SelectRootProps } from 'reka-ui';
2
+ type __VLS_Props = SelectRootProps;
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: any;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
13
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ export default _default;
15
+ type __VLS_WithTemplateSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,32 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectContentProps } from 'reka-ui';
3
+ type __VLS_Props = SelectContentProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ closeAutoFocus: (event: Event) => any;
17
+ escapeKeyDown: (event: KeyboardEvent) => any;
18
+ pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onCloseAutoFocus?: (event: Event) => any;
21
+ onEscapeKeyDown?: (event: KeyboardEvent) => any;
22
+ onPointerDownOutside?: (event: import('reka-ui').PointerDownOutsideEvent) => any;
23
+ }>, {
24
+ position: "item-aligned" | "popper";
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,22 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { SelectItemProps } from 'reka-ui';
3
+ type __VLS_Props = SelectItemProps & {
4
+ class?: HTMLAttributes["class"];
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: any;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,5 @@
1
+ export { default as Select } from './Select.vue';
2
+ export { default as SelectContent } from './SelectContent.vue';
3
+ export { default as SelectItem } from './SelectItem.vue';
4
+ export { default as SelectTrigger } from './SelectTrigger.vue';
5
+ export { default as SelectValue } from './SelectValue.vue';
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,21 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes["class"];
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLTableSectionElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableSectionElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };