@mudakit/ui 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 (157) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/LICENSE +21 -0
  3. package/README.md +46 -0
  4. package/THIRD_PARTY_LICENSES +15 -0
  5. package/dist/MudaButton-Bw6Fw2-Y.js +42 -0
  6. package/dist/MudaButtonStack-xCMVwXHf.js +16 -0
  7. package/dist/MudaCalendar-f1lHTxVw.js +593 -0
  8. package/dist/MudaCard-C9geam4O.js +10 -0
  9. package/dist/MudaColorPicker-Ny8v-KZR.js +134 -0
  10. package/dist/MudaDialog-C6dOmY_K.js +105 -0
  11. package/dist/MudaDropdown-DJOG_m6C.js +54 -0
  12. package/dist/MudaErrorBox-C0DvbAfU.js +28 -0
  13. package/dist/MudaFormCheckbox-CDY-INi6.js +43 -0
  14. package/dist/MudaFormCombobox-CBaRBOKQ.js +186 -0
  15. package/dist/MudaFormField-Bt5W7NC1.js +42 -0
  16. package/dist/MudaFormInput-CI_xfpTj.js +56 -0
  17. package/dist/MudaFormRadio-DOXXv3mT.js +21 -0
  18. package/dist/MudaFormRadioGroup-45qiNrzt.js +48 -0
  19. package/dist/MudaFormSelect-Bt6EW1N-.js +28 -0
  20. package/dist/MudaFormSwitch-CtdB9qIP.js +33 -0
  21. package/dist/MudaFormText-s-Y3QoDX.js +23 -0
  22. package/dist/MudaIcon-BhSsLCZx.js +1886 -0
  23. package/dist/MudaIconPicker-CZWLPHbE.js +114 -0
  24. package/dist/MudaMarker-1xxDZJgb.js +24 -0
  25. package/dist/MudaPagination-BYyElnCp.js +119 -0
  26. package/dist/MudaPopover-BgwkVjjX.js +67 -0
  27. package/dist/MudaSpinner-C5_q8Vtn.js +26 -0
  28. package/dist/MudaTable-DWwTyMmj.js +33 -0
  29. package/dist/MudaTag-DLqit790.js +27 -0
  30. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  31. package/dist/common/components.d.ts +3 -0
  32. package/dist/common/keymap.d.ts +9 -0
  33. package/dist/common/range.d.ts +1 -0
  34. package/dist/components/MudaButton/MudaButton.vue.d.ts +25 -0
  35. package/dist/components/MudaButton/index.d.ts +1 -0
  36. package/dist/components/MudaButton/index.js +2 -0
  37. package/dist/components/MudaButtonStack/MudaButtonStack.vue.d.ts +16 -0
  38. package/dist/components/MudaButtonStack/index.d.ts +1 -0
  39. package/dist/components/MudaButtonStack/index.js +2 -0
  40. package/dist/components/MudaCalendar/MudaCalendar.dayjs.d.ts +3 -0
  41. package/dist/components/MudaCalendar/MudaCalendar.types.d.ts +30 -0
  42. package/dist/components/MudaCalendar/MudaCalendar.vue.d.ts +27 -0
  43. package/dist/components/MudaCalendar/MudaCalendarDatePicker.vue.d.ts +22 -0
  44. package/dist/components/MudaCalendar/MudaCalendarDays.vue.d.ts +25 -0
  45. package/dist/components/MudaCalendar/MudaCalendarHead.vue.d.ts +21 -0
  46. package/dist/components/MudaCalendar/MudaCalendarInput.vue.d.ts +25 -0
  47. package/dist/components/MudaCalendar/MudaCalendarMonths.vue.d.ts +27 -0
  48. package/dist/components/MudaCalendar/MudaCalendarWeekDays.vue.d.ts +9 -0
  49. package/dist/components/MudaCalendar/MudaCalendarYears.vue.d.ts +27 -0
  50. package/dist/components/MudaCalendar/index.d.ts +4 -0
  51. package/dist/components/MudaCalendar/index.js +2 -0
  52. package/dist/components/MudaCalendar/useMudaCalendar.d.ts +18 -0
  53. package/dist/components/MudaCard/MudaCard.vue.d.ts +13 -0
  54. package/dist/components/MudaCard/index.d.ts +1 -0
  55. package/dist/components/MudaCard/index.js +2 -0
  56. package/dist/components/MudaColorPicker/MudaColorPicker.vue.d.ts +21 -0
  57. package/dist/components/MudaColorPicker/MudaColorPickerControl.vue.d.ts +18 -0
  58. package/dist/components/MudaColorPicker/index.d.ts +2 -0
  59. package/dist/components/MudaColorPicker/index.js +2 -0
  60. package/dist/components/MudaDialog/MudaDialog.vue.d.ts +20 -0
  61. package/dist/components/MudaDialog/MudaDialogFocusTrap.vue.d.ts +18 -0
  62. package/dist/components/MudaDialog/index.d.ts +1 -0
  63. package/dist/components/MudaDialog/index.js +2 -0
  64. package/dist/components/MudaDropdown/MudaDropdown.types.d.ts +8 -0
  65. package/dist/components/MudaDropdown/MudaDropdown.vue.d.ts +33 -0
  66. package/dist/components/MudaDropdown/index.d.ts +2 -0
  67. package/dist/components/MudaDropdown/index.js +2 -0
  68. package/dist/components/MudaErrorBox/MudaErrorBox.vue.d.ts +9 -0
  69. package/dist/components/MudaErrorBox/index.d.ts +1 -0
  70. package/dist/components/MudaErrorBox/index.js +2 -0
  71. package/dist/components/MudaFormCheckbox/MudaFormCheckbox.types.d.ts +1 -0
  72. package/dist/components/MudaFormCheckbox/MudaFormCheckbox.vue.d.ts +18 -0
  73. package/dist/components/MudaFormCheckbox/index.d.ts +2 -0
  74. package/dist/components/MudaFormCheckbox/index.js +2 -0
  75. package/dist/components/MudaFormCombobox/MudaFormCombobox.types.d.ts +5 -0
  76. package/dist/components/MudaFormCombobox/MudaFormComboboxMultiple.vue.d.ts +32 -0
  77. package/dist/components/MudaFormCombobox/MudaFormComboboxSingle.vue.d.ts +34 -0
  78. package/dist/components/MudaFormCombobox/index.d.ts +3 -0
  79. package/dist/components/MudaFormCombobox/index.js +2 -0
  80. package/dist/components/MudaFormField/MudaFormField.vue.d.ts +31 -0
  81. package/dist/components/MudaFormField/MudaFormFieldErrors.vue.d.ts +8 -0
  82. package/dist/components/MudaFormField/index.d.ts +2 -0
  83. package/dist/components/MudaFormField/index.js +2 -0
  84. package/dist/components/MudaFormInput/MudaFormInput.types.d.ts +5 -0
  85. package/dist/components/MudaFormInput/MudaFormInput.vue.d.ts +31 -0
  86. package/dist/components/MudaFormInput/index.d.ts +2 -0
  87. package/dist/components/MudaFormInput/index.js +2 -0
  88. package/dist/components/MudaFormRadio/MudaFormRadio.types.d.ts +1 -0
  89. package/dist/components/MudaFormRadio/MudaFormRadio.vue.d.ts +11 -0
  90. package/dist/components/MudaFormRadio/index.d.ts +2 -0
  91. package/dist/components/MudaFormRadio/index.js +2 -0
  92. package/dist/components/MudaFormRadioGroup/MudaFormRadioGroup.types.d.ts +7 -0
  93. package/dist/components/MudaFormRadioGroup/MudaFormRadioGroup.vue.d.ts +34 -0
  94. package/dist/components/MudaFormRadioGroup/index.d.ts +2 -0
  95. package/dist/components/MudaFormRadioGroup/index.js +2 -0
  96. package/dist/components/MudaFormSelect/MudaFormSelect.vue.d.ts +24 -0
  97. package/dist/components/MudaFormSelect/index.d.ts +1 -0
  98. package/dist/components/MudaFormSelect/index.js +2 -0
  99. package/dist/components/MudaFormSwitch/MudaFormSwitch.vue.d.ts +14 -0
  100. package/dist/components/MudaFormSwitch/index.d.ts +1 -0
  101. package/dist/components/MudaFormSwitch/index.js +2 -0
  102. package/dist/components/MudaFormText/MudaFormText.types.d.ts +4 -0
  103. package/dist/components/MudaFormText/MudaFormText.vue.d.ts +13 -0
  104. package/dist/components/MudaFormText/index.d.ts +2 -0
  105. package/dist/components/MudaFormText/index.js +2 -0
  106. package/dist/components/MudaIcon/MudaIcon.types.d.ts +5 -0
  107. package/dist/components/MudaIcon/MudaIcon.vue.d.ts +13 -0
  108. package/dist/components/MudaIcon/icons/filled.d.ts +100 -0
  109. package/dist/components/MudaIcon/icons/index.d.ts +2 -0
  110. package/dist/components/MudaIcon/icons/outlined.d.ts +100 -0
  111. package/dist/components/MudaIcon/index.d.ts +3 -0
  112. package/dist/components/MudaIcon/index.js +2 -0
  113. package/dist/components/MudaIcon/useMudaIcon.d.ts +109 -0
  114. package/dist/components/MudaIconPicker/MudaIconPicker.vue.d.ts +24 -0
  115. package/dist/components/MudaIconPicker/MudaIconPickerList.vue.d.ts +16 -0
  116. package/dist/components/MudaIconPicker/index.d.ts +1 -0
  117. package/dist/components/MudaIconPicker/index.js +2 -0
  118. package/dist/components/MudaIconPicker/useMudaIconPickerList.d.ts +3 -0
  119. package/dist/components/MudaMarker/MudaMarker.vue.d.ts +22 -0
  120. package/dist/components/MudaMarker/index.d.ts +1 -0
  121. package/dist/components/MudaMarker/index.js +2 -0
  122. package/dist/components/MudaPagination/MudaPagination.vue.d.ts +29 -0
  123. package/dist/components/MudaPagination/MudaPaginationItem.vue.d.ts +17 -0
  124. package/dist/components/MudaPagination/index.d.ts +1 -0
  125. package/dist/components/MudaPagination/index.js +2 -0
  126. package/dist/components/MudaPopover/MudaPopover.types.d.ts +3 -0
  127. package/dist/components/MudaPopover/MudaPopover.vue.d.ts +37 -0
  128. package/dist/components/MudaPopover/index.d.ts +2 -0
  129. package/dist/components/MudaPopover/index.js +2 -0
  130. package/dist/components/MudaSpinner/MudaSpinner.vue.d.ts +11 -0
  131. package/dist/components/MudaSpinner/index.d.ts +1 -0
  132. package/dist/components/MudaSpinner/index.js +2 -0
  133. package/dist/components/MudaTable/MudaTable.vue.d.ts +19 -0
  134. package/dist/components/MudaTable/MudaTableCell.vue.d.ts +13 -0
  135. package/dist/components/MudaTable/MudaTableHead.vue.d.ts +13 -0
  136. package/dist/components/MudaTable/MudaTableRow.vue.d.ts +13 -0
  137. package/dist/components/MudaTable/index.d.ts +4 -0
  138. package/dist/components/MudaTable/index.js +2 -0
  139. package/dist/components/MudaTag/MudaTag.vue.d.ts +21 -0
  140. package/dist/components/MudaTag/index.d.ts +1 -0
  141. package/dist/components/MudaTag/index.js +2 -0
  142. package/dist/composables/useBodyScrollLock.d.ts +2 -0
  143. package/dist/composables/useClickOutside.d.ts +2 -0
  144. package/dist/composables/useFocusTrap.d.ts +5 -0
  145. package/dist/composables/useKeyDown.d.ts +1 -0
  146. package/dist/composables/useResizeObserver.d.ts +2 -0
  147. package/dist/composables/useZIndex.d.ts +1 -0
  148. package/dist/index.d.ts +25 -0
  149. package/dist/index.js +26 -0
  150. package/dist/keymap-BzfMgdJH.js +6 -0
  151. package/dist/style.css +2 -0
  152. package/dist/styles.js +0 -0
  153. package/dist/useClickOutside-B6tdxsc3.js +15 -0
  154. package/dist/useKeyDown-B1jmp4nA.js +11 -0
  155. package/dist/useZIndex-DWnsohLZ.js +8 -0
  156. package/package.json +79 -0
  157. package/style.css.d.ts +3 -0
@@ -0,0 +1,25 @@
1
+ type __VLS_Props = {
2
+ /**
3
+ * Name of the locale to use.
4
+ */
5
+ locale?: string;
6
+ /**
7
+ * Disables the input.
8
+ */
9
+ disabled?: boolean;
10
+ min?: string;
11
+ max?: string;
12
+ };
13
+ type __VLS_ModelProps = {
14
+ modelValue?: string | null | undefined;
15
+ };
16
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
17
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ "update:modelValue": (value: string | null | undefined) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
21
+ }>, {
22
+ locale: string;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ /**
3
+ * Today's date.
4
+ */
5
+ today: string;
6
+ min: string | undefined;
7
+ max: string | undefined;
8
+ locale: string;
9
+ disabled?: boolean;
10
+ };
11
+ type __VLS_ModelProps = {
12
+ modelValue: string | null | undefined;
13
+ "displayDate": string;
14
+ };
15
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (value: string | null | undefined) => any;
18
+ "update:displayDate": (value: string) => any;
19
+ } & {
20
+ monthClick: () => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
23
+ "onUpdate:displayDate"?: ((value: string) => any) | undefined;
24
+ onMonthClick?: (() => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ /**
3
+ * Name of the locale to use.
4
+ */
5
+ locale: string;
6
+ };
7
+ declare const __VLS_export: 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>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ /**
3
+ * Today's date.
4
+ */
5
+ today: string;
6
+ min: string | undefined;
7
+ max: string | undefined;
8
+ locale: string;
9
+ disabled?: boolean;
10
+ };
11
+ type __VLS_ModelProps = {
12
+ modelValue: string | null | undefined;
13
+ "displayDate": string;
14
+ };
15
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ "update:modelValue": (value: string | null | undefined) => any;
18
+ "update:displayDate": (value: string) => any;
19
+ } & {
20
+ yearClick: () => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
23
+ "onUpdate:displayDate"?: ((value: string) => any) | undefined;
24
+ onYearClick?: (() => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export * from "./MudaCalendar.types";
2
+ export { default as MudaCalendar } from "./MudaCalendar.vue";
3
+ export { default as MudaCalendarDatePicker } from "./MudaCalendarDatePicker.vue";
4
+ export { default as MudaCalendarInput } from "./MudaCalendarInput.vue";
@@ -0,0 +1,2 @@
1
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "../../MudaCalendar-f1lHTxVw.js";
2
+ export { n as CALENDAR_DAY_FORMAT, e as CALENDAR_MONTH_FORMAT, a as CALENDAR_VALUE_FORMAT, s as CALENDAR_YEAR_FORMAT, t as MONTH_RANGE_SIZE, i as MudaCalendar, o as MudaCalendarDatePicker, c as MudaCalendarInput, r as YEAR_RANGE_SIZE };
@@ -0,0 +1,18 @@
1
+ import { type Ref } from "vue";
2
+ import dayjs, { type Dayjs } from "./MudaCalendar.dayjs";
3
+ import { type MudaCalendarDayItem, type MudaCalendarMonthItem, type MudaCalendarType, type MudaCalendarYearItem } from "./MudaCalendar.types";
4
+ export declare const strToDate: (date: string | null | undefined) => dayjs.Dayjs | null;
5
+ export declare const dateToStr: (date: Dayjs | null) => string | null;
6
+ export declare const useMudaCalendarFirstDayOfTheWeek: (locale: Ref<string>) => import("vue").ComputedRef<number>;
7
+ export declare function useMudaCalendarWeekdays(locale: Ref<string>): import("vue").ComputedRef<{
8
+ name: string;
9
+ isWeekend: boolean;
10
+ }[]>;
11
+ export declare const useMudaCalendarIsSelected: (type: MudaCalendarType) => (dateStr: string, compareWith: string | null | undefined) => boolean;
12
+ export declare const dateIsInRange: (date: Dayjs, dateMin: Dayjs | null, dateMax: Dayjs | null, unit: "day" | "month" | "year") => boolean;
13
+ /**
14
+ * Calculates the date range for the calendar based on the provided parameters.
15
+ */
16
+ export declare function useMudaCalendarDayRange(displayDate: Ref<string>, today: Ref<string>, min: Ref<string | undefined>, max: Ref<string | undefined>, locale: Ref<string>): Ref<Array<MudaCalendarDayItem>>;
17
+ export declare function useMudaCalendarMonthRange(displayDate: Ref<string>, today: Ref<string>, min: Ref<string | undefined>, max: Ref<string | undefined>, locale: Ref<string>): Ref<MudaCalendarMonthItem[]>;
18
+ export declare function useMudaCalendarYearRange(displayDate: Ref<string>, today: Ref<string>, min: Ref<string | undefined>, max: Ref<string | undefined>, locale: Ref<string>): Ref<MudaCalendarYearItem[]>;
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1 @@
1
+ export { default as MudaCard } from "./MudaCard.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaCard-C9geam4O.js";
2
+ export { e as MudaCard };
@@ -0,0 +1,21 @@
1
+ import { type MudaComponentSize } from "../../common/components";
2
+ type __VLS_Props = {
3
+ size?: MudaComponentSize;
4
+ buttonLabel?: string;
5
+ disabled?: boolean;
6
+ appendToBody?: boolean;
7
+ isInvalid?: boolean;
8
+ };
9
+ type __VLS_ModelProps = {
10
+ modelValue?: string;
11
+ };
12
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:modelValue": (value: string) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
+ }>, {
18
+ size: MudaComponentSize;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ size?: number;
3
+ /**
4
+ * The initial color of the color picker.
5
+ * Since the `useColorPicker` API is not reactive, we simply pass the value through props
6
+ */
7
+ initialColor?: string;
8
+ };
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ change: (value: string) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ onChange?: ((value: string) => any) | undefined;
13
+ }>, {
14
+ size: number;
15
+ initialColor: string;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as MudaColorPicker } from "./MudaColorPicker.vue";
2
+ export { default as MudaColorPickerControl } from "./MudaColorPickerControl.vue";
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "../../MudaColorPicker-Ny8v-KZR.js";
2
+ export { t as MudaColorPicker, e as MudaColorPickerControl };
@@ -0,0 +1,20 @@
1
+ type __VLS_ModelProps = {
2
+ modelValue: boolean;
3
+ };
4
+ declare var __VLS_23: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_23) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: boolean) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ is?: string;
3
+ };
4
+ declare var __VLS_9: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_9) => any;
7
+ };
8
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ is: string;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1 @@
1
+ export { default as MudaDialog } from "./MudaDialog.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaDialog-C6dOmY_K.js";
2
+ export { e as MudaDialog };
@@ -0,0 +1,8 @@
1
+ import type { MudaComponentVariant } from "../../common/components";
2
+ import type { MudaIconType } from "../MudaIcon";
3
+ export interface MudaDropdownItem<T extends string = string> {
4
+ id: T;
5
+ label: string;
6
+ variant?: MudaComponentVariant;
7
+ icon?: MudaIconType;
8
+ }
@@ -0,0 +1,33 @@
1
+ import { type Slot } from "vue";
2
+ import type { MudaDropdownItem } from "./MudaDropdown.types";
3
+ declare const __VLS_export: <T extends string, TItem extends MudaDropdownItem<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
5
+ items: Array<TItem>;
6
+ } & {
7
+ modelValue?: boolean;
8
+ }) & {
9
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
10
+ onAction?: ((item: TItem, index: number) => any) | undefined;
11
+ }> & (typeof globalThis extends {
12
+ __VLS_PROPS_FALLBACK: infer P;
13
+ } ? P : {});
14
+ expose: (exposed: {}) => void;
15
+ attrs: any;
16
+ slots: {
17
+ item?: Slot<{
18
+ item: TItem;
19
+ index: number;
20
+ }>;
21
+ default?: Slot;
22
+ };
23
+ emit: ((e: "action", item: TItem, index: number) => void) & ((event: "update:modelValue", value: boolean) => void);
24
+ }>) => import("vue").VNode & {
25
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
26
+ };
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
30
+ [K in keyof T]: T[K];
31
+ } : {
32
+ [K in keyof T as K]: T[K];
33
+ }) & {};
@@ -0,0 +1,2 @@
1
+ export * from "./MudaDropdown.types";
2
+ export { default as MudaDropdown } from "./MudaDropdown.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaDropdown-DJOG_m6C.js";
2
+ export { e as MudaDropdown };
@@ -0,0 +1,9 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ error: unknown;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ title: string;
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as MudaErrorBox } from "./MudaErrorBox.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaErrorBox-C0DvbAfU.js";
2
+ export { e as MudaErrorBox };
@@ -0,0 +1 @@
1
+ export type MudaFormCheckboxValue = boolean | PropertyKey | Array<PropertyKey> | null | undefined;
@@ -0,0 +1,18 @@
1
+ import type { MudaComponentSize } from "../../common/components";
2
+ import type { MudaFormCheckboxValue } from "./MudaFormCheckbox.types";
3
+ type __VLS_Props = {
4
+ size?: MudaComponentSize;
5
+ };
6
+ type __VLS_ModelProps = {
7
+ modelValue?: MudaFormCheckboxValue;
8
+ };
9
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:modelValue": (value: MudaFormCheckboxValue) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: MudaFormCheckboxValue) => any) | undefined;
14
+ }>, {
15
+ size: MudaComponentSize;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export * from "./MudaFormCheckbox.types";
2
+ export { default as MudaFormCheckbox } from "./MudaFormCheckbox.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaFormCheckbox-CDY-INi6.js";
2
+ export { e as MudaFormCheckbox };
@@ -0,0 +1,5 @@
1
+ export interface MudaFormComboboxOption<T = unknown> {
2
+ value: PropertyKey;
3
+ label: string;
4
+ item: T;
5
+ }
@@ -0,0 +1,32 @@
1
+ import { type Slot } from "vue";
2
+ import type { MudaFormComboboxOption } from "./MudaFormCombobox.types";
3
+ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
5
+ options: MudaFormComboboxOption<T>[];
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ } & {
9
+ modelValue?: PropertyKey[];
10
+ }) & {
11
+ "onUpdate:modelValue"?: ((value: PropertyKey[]) => any) | undefined;
12
+ }> & (typeof globalThis extends {
13
+ __VLS_PROPS_FALLBACK: infer P;
14
+ } ? P : {});
15
+ expose: (exposed: {}) => void;
16
+ attrs: any;
17
+ slots: {
18
+ label?: Slot<{
19
+ option: MudaFormComboboxOption<T>;
20
+ }>;
21
+ };
22
+ emit: (event: "update:modelValue", value: PropertyKey[]) => void;
23
+ }>) => import("vue").VNode & {
24
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
25
+ };
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
29
+ [K in keyof T]: T[K];
30
+ } : {
31
+ [K in keyof T as K]: T[K];
32
+ }) & {};
@@ -0,0 +1,34 @@
1
+ import { type Slot } from "vue";
2
+ import type { MudaFormComboboxOption } from "./MudaFormCombobox.types";
3
+ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
5
+ options: MudaFormComboboxOption<T>[];
6
+ placeholder?: string;
7
+ disabled?: boolean;
8
+ appendToBody?: boolean;
9
+ isInvalid?: boolean;
10
+ } & {
11
+ modelValue?: PropertyKey | null | undefined;
12
+ }) & {
13
+ "onUpdate:modelValue"?: ((value: PropertyKey | null | undefined) => any) | undefined;
14
+ }> & (typeof globalThis extends {
15
+ __VLS_PROPS_FALLBACK: infer P;
16
+ } ? P : {});
17
+ expose: (exposed: {}) => void;
18
+ attrs: any;
19
+ slots: {
20
+ label?: Slot<{
21
+ option: MudaFormComboboxOption<T>;
22
+ }>;
23
+ };
24
+ emit: (event: "update:modelValue", value: PropertyKey | null | undefined) => void;
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -0,0 +1,3 @@
1
+ export * from "./MudaFormCombobox.types";
2
+ export { default as MudaFormComboboxMultiple } from "./MudaFormComboboxMultiple.vue";
3
+ export { default as MudaFormComboboxSingle } from "./MudaFormComboboxSingle.vue";
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "../../MudaFormCombobox-CBaRBOKQ.js";
2
+ export { e as MudaFormComboboxMultiple, t as MudaFormComboboxSingle };
@@ -0,0 +1,31 @@
1
+ type __VLS_Props = {
2
+ axis?: "vertical" | "horizontal";
3
+ errors?: Array<{
4
+ message: string;
5
+ }>;
6
+ labelPosition?: "before" | "after";
7
+ as?: "div" | "label";
8
+ };
9
+ declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
10
+ type __VLS_Slots = {} & {
11
+ label?: (props: typeof __VLS_7) => any;
12
+ } & {
13
+ default?: (props: typeof __VLS_9) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_11) => any;
16
+ } & {
17
+ label?: (props: typeof __VLS_13) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ as: "div" | "label";
21
+ axis: "vertical" | "horizontal";
22
+ labelPosition: "before" | "after";
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ errors?: Array<{
3
+ message: string;
4
+ }>;
5
+ };
6
+ declare const __VLS_export: 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>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as MudaFormField } from "./MudaFormField.vue";
2
+ export { default as MudaFormFieldErrors } from "./MudaFormFieldErrors.vue";
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "../../MudaFormField-Bt5W7NC1.js";
2
+ export { t as MudaFormField, e as MudaFormFieldErrors };
@@ -0,0 +1,5 @@
1
+ import type { InputHTMLAttributes } from "vue";
2
+ export type MudaFormInputValue = string | number | null | undefined;
3
+ export interface MudaFormInputProps extends /* @vue-ignore */ InputHTMLAttributes {
4
+ isInvalid?: boolean;
5
+ }
@@ -0,0 +1,31 @@
1
+ import { type Slot } from "vue";
2
+ import type { MudaFormInputProps, MudaFormInputValue } from "./MudaFormInput.types";
3
+ type __VLS_Props = MudaFormInputProps;
4
+ type __VLS_Slots = {
5
+ before?: Slot;
6
+ after?: Slot;
7
+ };
8
+ type __VLS_ModelProps = {
9
+ modelValue?: MudaFormInputValue;
10
+ };
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
13
+ input: Readonly<import("vue").ShallowRef<HTMLInputElement | null, HTMLInputElement | null>>;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ "update:modelValue": (value: MudaFormInputValue) => any;
16
+ } & {
17
+ "click:before": (event: MouseEvent) => any;
18
+ "click:after": (event: MouseEvent) => any;
19
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: MudaFormInputValue) => any) | undefined;
21
+ "onClick:before"?: ((event: MouseEvent) => any) | undefined;
22
+ "onClick:after"?: ((event: MouseEvent) => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
+ declare const _default: typeof __VLS_export;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./MudaFormInput.types";
2
+ export { default as MudaFormInput } from "./MudaFormInput.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaFormInput-CI_xfpTj.js";
2
+ export { e as MudaFormInput };
@@ -0,0 +1 @@
1
+ export type MudaFormRadioValue = PropertyKey | null | undefined;
@@ -0,0 +1,11 @@
1
+ import type { MudaFormRadioValue } from "./MudaFormRadio.types";
2
+ type __VLS_ModelProps = {
3
+ modelValue?: MudaFormRadioValue;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: MudaFormRadioValue) => any;
7
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: MudaFormRadioValue) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export * from "./MudaFormRadio.types";
2
+ export { default as MudaFormRadio } from "./MudaFormRadio.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaFormRadio-DOXXv3mT.js";
2
+ export { e as MudaFormRadio };
@@ -0,0 +1,7 @@
1
+ import type { MudaComponentVariant } from "../../common/components";
2
+ export type MudaFormRadioGroupValue = PropertyKey | null;
3
+ export interface MudaFormRadioGroupItem {
4
+ label: string;
5
+ value: PropertyKey;
6
+ variant?: MudaComponentVariant;
7
+ }
@@ -0,0 +1,34 @@
1
+ import type { Slot } from "vue";
2
+ import type { MudaComponentSize } from "../../common/components";
3
+ import type { MudaFormRadioGroupItem, MudaFormRadioGroupValue } from "./MudaFormRadioGroup.types";
4
+ declare const __VLS_export: <T extends MudaFormRadioGroupItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
6
+ items: Array<T>;
7
+ size?: MudaComponentSize;
8
+ disabled?: boolean;
9
+ } & {
10
+ modelValue?: MudaFormRadioGroupValue | undefined;
11
+ }) & {
12
+ "onUpdate:modelValue"?: ((value: MudaFormRadioGroupValue | undefined) => any) | undefined;
13
+ }> & (typeof globalThis extends {
14
+ __VLS_PROPS_FALLBACK: infer P;
15
+ } ? P : {});
16
+ expose: (exposed: {}) => void;
17
+ attrs: any;
18
+ slots: {
19
+ label?: Slot<{
20
+ item: T;
21
+ isSelected: boolean;
22
+ }>;
23
+ };
24
+ emit: (event: "update:modelValue", value: MudaFormRadioGroupValue | undefined) => void;
25
+ }>) => import("vue").VNode & {
26
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
27
+ };
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
31
+ [K in keyof T]: T[K];
32
+ } : {
33
+ [K in keyof T as K]: T[K];
34
+ }) & {};
@@ -0,0 +1,2 @@
1
+ export * from "./MudaFormRadioGroup.types";
2
+ export { default as MudaFormRadioGroup } from "./MudaFormRadioGroup.vue";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../MudaFormRadioGroup-45qiNrzt.js";
2
+ export { e as MudaFormRadioGroup };