tandd-ui 0.0.0-stage → 0.2.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 (269) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/LICENSE +21 -0
  3. package/README.md +96 -2
  4. package/dist/components/_shared/direction.d.ts +6 -0
  5. package/dist/components/_shared/escapeLayers.d.ts +21 -0
  6. package/dist/components/_shared/formatLabel.d.ts +5 -0
  7. package/dist/components/_shared/useDismissiblePopup.d.ts +4 -0
  8. package/dist/components/_shared/useFieldValidation.d.ts +34 -0
  9. package/dist/components/_shared/useFocusTrap.d.ts +16 -0
  10. package/dist/components/_shared/useMessages.d.ts +18 -0
  11. package/dist/components/_shared/usePopover.d.ts +122 -0
  12. package/dist/components/_shared/useRipple.d.ts +37 -0
  13. package/dist/components/_shared/useRovingFocus.d.ts +25 -0
  14. package/dist/components/accordion/DTAccordion.vue.d.ts +42 -0
  15. package/dist/components/accordion/DTAccordionItem.vue.d.ts +34 -0
  16. package/dist/components/accordion/accordionContext.d.ts +13 -0
  17. package/dist/components/alert/DTAlert.vue.d.ts +57 -0
  18. package/dist/components/anchor/DTAnchor.vue.d.ts +48 -0
  19. package/dist/components/anchor/DTAnchorLink.vue.d.ts +21 -0
  20. package/dist/components/anchor/anchorContext.d.ts +10 -0
  21. package/dist/components/app-bar/DTAppBar.vue.d.ts +56 -0
  22. package/dist/components/autocomplete/DTAutocomplete.vue.d.ts +131 -0
  23. package/dist/components/avatar/DTAvatar.vue.d.ts +37 -0
  24. package/dist/components/avatar/DTAvatarGroup.vue.d.ts +18 -0
  25. package/dist/components/badge/DTBadge.vue.d.ts +47 -0
  26. package/dist/components/badge/index.d.ts +2 -0
  27. package/dist/components/border-beam/DTBorderBeam.vue.d.ts +47 -0
  28. package/dist/components/breadcrumb/DTBreadcrumb.vue.d.ts +46 -0
  29. package/dist/components/button/DTButton.vue.d.ts +60 -0
  30. package/dist/components/button-group/DTButtonGroup.vue.d.ts +56 -0
  31. package/dist/components/button-group/buttonGroupContext.d.ts +16 -0
  32. package/dist/components/card/DTCard.vue.d.ts +38 -0
  33. package/dist/components/card/DTCardBody.vue.d.ts +13 -0
  34. package/dist/components/card/DTCardFooter.vue.d.ts +13 -0
  35. package/dist/components/card/DTCardHeader.vue.d.ts +17 -0
  36. package/dist/components/card/DTCardMedia.vue.d.ts +24 -0
  37. package/dist/components/card/DTCardSubtitle.vue.d.ts +13 -0
  38. package/dist/components/card/DTCardText.vue.d.ts +13 -0
  39. package/dist/components/card/DTCardTitle.vue.d.ts +24 -0
  40. package/dist/components/card/context.d.ts +6 -0
  41. package/dist/components/card/index.d.ts +2 -0
  42. package/dist/components/carousel/DTCarousel.vue.d.ts +69 -0
  43. package/dist/components/carousel/DTCarouselItem.vue.d.ts +21 -0
  44. package/dist/components/carousel/carouselContext.d.ts +22 -0
  45. package/dist/components/checkbox/DTCheckbox.vue.d.ts +50 -0
  46. package/dist/components/chip/DTChip.vue.d.ts +62 -0
  47. package/dist/components/chip/DTChipGroup.vue.d.ts +36 -0
  48. package/dist/components/chip/chipGroupContext.d.ts +9 -0
  49. package/dist/components/code/DTCode.vue.d.ts +13 -0
  50. package/dist/components/col/DTCol.vue.d.ts +55 -0
  51. package/dist/components/color-input/DTColorInput.vue.d.ts +89 -0
  52. package/dist/components/color-input/colorMath.d.ts +36 -0
  53. package/dist/components/color-picker/DTColorPicker.vue.d.ts +66 -0
  54. package/dist/components/color-picker/context.d.ts +9 -0
  55. package/dist/components/combobox/DTCombobox.vue.d.ts +106 -0
  56. package/dist/components/container/DTContainer.vue.d.ts +29 -0
  57. package/dist/components/data-table/DTDataTable.vue.d.ts +112 -0
  58. package/dist/components/data-table/types.d.ts +70 -0
  59. package/dist/components/date-picker/DTDateInput.vue.d.ts +98 -0
  60. package/dist/components/date-picker/DTDatePicker.vue.d.ts +106 -0
  61. package/dist/components/date-picker/DTDateShortcuts.vue.d.ts +15 -0
  62. package/dist/components/date-picker/isoDate.d.ts +38 -0
  63. package/dist/components/date-picker/shortcuts.d.ts +11 -0
  64. package/dist/components/date-time-picker/DTDateTimeInput.vue.d.ts +107 -0
  65. package/dist/components/date-time-picker/DTDateTimePicker.vue.d.ts +94 -0
  66. package/dist/components/date-time-picker/isoDateTime.d.ts +30 -0
  67. package/dist/components/divider/DTDivider.vue.d.ts +19 -0
  68. package/dist/components/empty-state/DTEmptyState.vue.d.ts +51 -0
  69. package/dist/components/field/DTField.vue.d.ts +36 -0
  70. package/dist/components/field/fieldContext.d.ts +14 -0
  71. package/dist/components/field-control/DTFieldControl.vue.d.ts +135 -0
  72. package/dist/components/field-control/index.d.ts +1 -0
  73. package/dist/components/file-input/DTFileInput.vue.d.ts +142 -0
  74. package/dist/components/file-upload/DTFileUpload.vue.d.ts +132 -0
  75. package/dist/components/file-upload/icons.d.ts +1 -0
  76. package/dist/components/file-upload/types.d.ts +47 -0
  77. package/dist/components/grid/DTGrid.vue.d.ts +44 -0
  78. package/dist/components/grid/DTGridItem.vue.d.ts +42 -0
  79. package/dist/components/heading/DTHeading.vue.d.ts +31 -0
  80. package/dist/components/icon/DTIcon.vue.d.ts +43 -0
  81. package/dist/components/icon/play.d.ts +6 -0
  82. package/dist/components/icon/registry.d.ts +16 -0
  83. package/dist/components/infinite-scroll/DTInfiniteScroll.vue.d.ts +67 -0
  84. package/dist/components/infinite-scroll/icons.d.ts +1 -0
  85. package/dist/components/inline/DTInline.vue.d.ts +26 -0
  86. package/dist/components/kbd/DTKbd.vue.d.ts +13 -0
  87. package/dist/components/layout-app/DTLayout.vue.d.ts +18 -0
  88. package/dist/components/layout-app/DTMain.vue.d.ts +21 -0
  89. package/dist/components/layout-app/layoutContext.d.ts +33 -0
  90. package/dist/components/link/DTLink.vue.d.ts +26 -0
  91. package/dist/components/list/DTList.vue.d.ts +53 -0
  92. package/dist/components/list/DTListItem.vue.d.ts +61 -0
  93. package/dist/components/list/DTListSubheader.vue.d.ts +24 -0
  94. package/dist/components/list/listContext.d.ts +16 -0
  95. package/dist/components/mention/DTMention.vue.d.ts +93 -0
  96. package/dist/components/mention/caret.d.ts +7 -0
  97. package/dist/components/menu/DTMenu.vue.d.ts +66 -0
  98. package/dist/components/menu/DTMenuItem.vue.d.ts +45 -0
  99. package/dist/components/menu/DTMenuLabel.vue.d.ts +13 -0
  100. package/dist/components/menu/DTMenuSeparator.vue.d.ts +3 -0
  101. package/dist/components/menu/menuContext.d.ts +38 -0
  102. package/dist/components/modal/DTModal.vue.d.ts +52 -0
  103. package/dist/components/modal/modalStack.d.ts +20 -0
  104. package/dist/components/navigation-drawer/DTNavigationDrawer.vue.d.ts +93 -0
  105. package/dist/components/number-input/DTNumberInput.vue.d.ts +66 -0
  106. package/dist/components/otp-input/DTOtpInput.vue.d.ts +71 -0
  107. package/dist/components/pagination/DTPagination.vue.d.ts +55 -0
  108. package/dist/components/popover/DTPopover.vue.d.ts +67 -0
  109. package/dist/components/progress/DTProgress.vue.d.ts +48 -0
  110. package/dist/components/pull-refresh/DTPullRefresh.vue.d.ts +69 -0
  111. package/dist/components/radio/DTRadio.vue.d.ts +41 -0
  112. package/dist/components/radio/DTRadioGroup.vue.d.ts +35 -0
  113. package/dist/components/radio/radioGroupContext.d.ts +12 -0
  114. package/dist/components/rating/DTRating.vue.d.ts +65 -0
  115. package/dist/components/row/DTRow.vue.d.ts +38 -0
  116. package/dist/components/select/DTSelect.vue.d.ts +140 -0
  117. package/dist/components/sheet/DTSheet.vue.d.ts +57 -0
  118. package/dist/components/skeleton/DTSkeleton.vue.d.ts +34 -0
  119. package/dist/components/skip-link/DTSkipLink.vue.d.ts +33 -0
  120. package/dist/components/slider/DTSlider.vue.d.ts +88 -0
  121. package/dist/components/spinner/DTSpinner.vue.d.ts +34 -0
  122. package/dist/components/stack/DTStack.vue.d.ts +24 -0
  123. package/dist/components/statistic/DTCountdown.vue.d.ts +49 -0
  124. package/dist/components/statistic/DTStatistic.vue.d.ts +49 -0
  125. package/dist/components/statistic/format.d.ts +39 -0
  126. package/dist/components/stepper/DTStep.vue.d.ts +41 -0
  127. package/dist/components/stepper/DTStepHeader.vue.d.ts +8 -0
  128. package/dist/components/stepper/DTStepper.vue.d.ts +46 -0
  129. package/dist/components/stepper/stepperContext.d.ts +39 -0
  130. package/dist/components/surface/DTSurface.vue.d.ts +43 -0
  131. package/dist/components/surface/index.d.ts +2 -0
  132. package/dist/components/switch/DTSwitch.vue.d.ts +59 -0
  133. package/dist/components/table/DTTable.vue.d.ts +55 -0
  134. package/dist/components/table/DTTableScrollbars.vue.d.ts +9 -0
  135. package/dist/components/tabs/DTTab.vue.d.ts +23 -0
  136. package/dist/components/tabs/DTTabs.vue.d.ts +45 -0
  137. package/dist/components/tabs/tabsContext.d.ts +19 -0
  138. package/dist/components/text/DTText.vue.d.ts +32 -0
  139. package/dist/components/text-field/DTFieldShell.vue.d.ts +59 -0
  140. package/dist/components/text-field/DTInput.vue.d.ts +70 -0
  141. package/dist/components/text-field/fieldShared.d.ts +87 -0
  142. package/dist/components/textarea/DTTextarea.vue.d.ts +56 -0
  143. package/dist/components/time-picker/DTTimeInput.vue.d.ts +71 -0
  144. package/dist/components/time-picker/DTTimePicker.vue.d.ts +52 -0
  145. package/dist/components/time-picker/isoTime.d.ts +21 -0
  146. package/dist/components/timeline/DTTimeline.vue.d.ts +36 -0
  147. package/dist/components/timeline/DTTimelineItem.vue.d.ts +46 -0
  148. package/dist/components/timeline/timelineContext.d.ts +13 -0
  149. package/dist/components/toast/DTToastRegion.vue.d.ts +18 -0
  150. package/dist/components/toast/toastStore.d.ts +77 -0
  151. package/dist/components/tooltip/DTTooltip.vue.d.ts +45 -0
  152. package/dist/components/tour/DTTour.vue.d.ts +62 -0
  153. package/dist/components/tour/DTTourStep.vue.d.ts +31 -0
  154. package/dist/components/tour/tourContext.d.ts +20 -0
  155. package/dist/components/tree-select/DTTreeSelect.vue.d.ts +86 -0
  156. package/dist/components/treeview/DTTreeview.vue.d.ts +92 -0
  157. package/dist/components/watermark/DTWatermark.vue.d.ts +48 -0
  158. package/dist/config.d.ts +58 -0
  159. package/dist/index.d.ts +183 -0
  160. package/dist/locale/en.d.ts +311 -0
  161. package/dist/locale/en.js +192 -0
  162. package/dist/locale/messages.d.ts +295 -0
  163. package/dist/locale/vi.d.ts +309 -0
  164. package/dist/locale/vi.js +192 -0
  165. package/dist/plugin.d.ts +26 -0
  166. package/dist/tandd-ui.css +11585 -0
  167. package/dist/tandd-ui.js +13039 -0
  168. package/dist/theme/cssVariables.d.ts +14 -0
  169. package/dist/theme/defaultTheme.d.ts +5 -0
  170. package/dist/theme/index.d.ts +34 -0
  171. package/dist/useLocale.d.ts +15 -0
  172. package/dist/useTheme.d.ts +9 -0
  173. package/package.json +112 -4
  174. package/src/components/_index.scss +73 -0
  175. package/src/components/accordion/DTAccordion.scss +123 -0
  176. package/src/components/alert/DTAlert.scss +222 -0
  177. package/src/components/anchor/DTAnchor.scss +137 -0
  178. package/src/components/app-bar/DTAppBar.scss +151 -0
  179. package/src/components/autocomplete/DTAutocomplete.scss +89 -0
  180. package/src/components/avatar/DTAvatar.scss +67 -0
  181. package/src/components/badge/DTBadge.scss +218 -0
  182. package/src/components/border-beam/DTBorderBeam.scss +67 -0
  183. package/src/components/breadcrumb/DTBreadcrumb.scss +58 -0
  184. package/src/components/button/DTButton.scss +252 -0
  185. package/src/components/button-group/DTButtonGroup.scss +103 -0
  186. package/src/components/card/DTCard.scss +183 -0
  187. package/src/components/carousel/DTCarousel.scss +228 -0
  188. package/src/components/checkbox/DTChoice.scss +351 -0
  189. package/src/components/chip/DTChip.scss +280 -0
  190. package/src/components/code/DTCode.scss +10 -0
  191. package/src/components/col/DTCol.scss +124 -0
  192. package/src/components/color-input/DTColorInput.scss +118 -0
  193. package/src/components/color-picker/DTColorPicker.scss +334 -0
  194. package/src/components/container/DTContainer.scss +24 -0
  195. package/src/components/data-table/DTDataTable.scss +274 -0
  196. package/src/components/date-picker/DTDatePicker.scss +474 -0
  197. package/src/components/date-time-picker/DTDateTimePicker.scss +144 -0
  198. package/src/components/divider/DTDivider.scss +67 -0
  199. package/src/components/empty-state/DTEmptyState.scss +106 -0
  200. package/src/components/field/DTField.scss +69 -0
  201. package/src/components/field-control/DTFieldControl.scss +221 -0
  202. package/src/components/file-input/DTFileInput.scss +98 -0
  203. package/src/components/file-upload/DTFileUpload.scss +185 -0
  204. package/src/components/grid/DTGrid.scss +135 -0
  205. package/src/components/heading/DTHeading.scss +9 -0
  206. package/src/components/icon/DTIcon.scss +64 -0
  207. package/src/components/infinite-scroll/DTInfiniteScroll.scss +67 -0
  208. package/src/components/inline/DTInline.scss +19 -0
  209. package/src/components/kbd/DTKbd.scss +17 -0
  210. package/src/components/layout-app/DTLayout.scss +69 -0
  211. package/src/components/link/DTLink.scss +35 -0
  212. package/src/components/list/DTList.scss +261 -0
  213. package/src/components/mention/DTMention.scss +24 -0
  214. package/src/components/menu/DTMenu.scss +282 -0
  215. package/src/components/modal/DTModal.scss +178 -0
  216. package/src/components/navigation-drawer/DTNavigationDrawer.scss +172 -0
  217. package/src/components/number-input/DTNumberInput.scss +124 -0
  218. package/src/components/otp-input/DTOtpInput.scss +121 -0
  219. package/src/components/pagination/DTPagination.scss +115 -0
  220. package/src/components/popover/DTPopover.scss +119 -0
  221. package/src/components/progress/DTProgress.scss +227 -0
  222. package/src/components/pull-refresh/DTPullRefresh.scss +83 -0
  223. package/src/components/rating/DTRating.scss +153 -0
  224. package/src/components/row/DTRow.scss +73 -0
  225. package/src/components/select/DTSelect.scss +347 -0
  226. package/src/components/sheet/DTSheet.scss +256 -0
  227. package/src/components/skeleton/DTSkeleton.scss +74 -0
  228. package/src/components/skip-link/DTSkipLink.scss +76 -0
  229. package/src/components/slider/DTSlider.scss +652 -0
  230. package/src/components/spinner/DTSpinner.scss +123 -0
  231. package/src/components/stack/DTStack.scss +8 -0
  232. package/src/components/statistic/DTStatistic.scss +44 -0
  233. package/src/components/stepper/DTStepper.scss +268 -0
  234. package/src/components/surface/DTSurface.scss +99 -0
  235. package/src/components/switch/DTSwitch.scss +306 -0
  236. package/src/components/table/DTTable.scss +287 -0
  237. package/src/components/tabs/DTTabs.scss +402 -0
  238. package/src/components/text/DTText.scss +9 -0
  239. package/src/components/text-field/DTTextField.scss +452 -0
  240. package/src/components/time-picker/DTTimePicker.scss +131 -0
  241. package/src/components/timeline/DTTimeline.scss +322 -0
  242. package/src/components/toast/DTToast.scss +297 -0
  243. package/src/components/tooltip/DTTooltip.scss +168 -0
  244. package/src/components/tour/DTTour.scss +173 -0
  245. package/src/components/tree-select/DTTreeSelect.scss +60 -0
  246. package/src/components/treeview/DTTreeview.scss +205 -0
  247. package/src/components/watermark/DTWatermark.scss +8 -0
  248. package/src/styles/foundation/_direction.scss +6 -0
  249. package/src/styles/foundation/_focus.scss +12 -0
  250. package/src/styles/foundation/_forced-colors.scss +9 -0
  251. package/src/styles/foundation/_motion.scss +10 -0
  252. package/src/styles/foundation/_reset.scss +39 -0
  253. package/src/styles/foundation/_root.scss +112 -0
  254. package/src/styles/foundation/_state.scss +29 -0
  255. package/src/styles/foundation/_typography.scss +81 -0
  256. package/src/styles/foundation/_visually-hidden.scss +21 -0
  257. package/src/styles/index.scss +9 -0
  258. package/src/styles/tokens/_border.scss +2 -0
  259. package/src/styles/tokens/_breakpoint.scss +15 -0
  260. package/src/styles/tokens/_color.scss +56 -0
  261. package/src/styles/tokens/_index.scss +11 -0
  262. package/src/styles/tokens/_motion.scss +13 -0
  263. package/src/styles/tokens/_radius.scss +13 -0
  264. package/src/styles/tokens/_shadow.scss +18 -0
  265. package/src/styles/tokens/_spacing.scss +21 -0
  266. package/src/styles/tokens/_state.scss +30 -0
  267. package/src/styles/tokens/_surface.scss +33 -0
  268. package/src/styles/tokens/_typography.scss +40 -0
  269. package/src/styles/tokens/_z-index.scss +11 -0
@@ -0,0 +1,16 @@
1
+ import { ComputedRef, InjectionKey } from 'vue';
2
+ import { DTButtonRounded, DTButtonSize, DTButtonVariant } from '../../config';
3
+ export type DTButtonDensity = "default" | "comfortable" | "compact";
4
+ /** What a DTButtonGroup shares with the DTButtons inside it. A button's own prop always wins. */
5
+ export interface DTButtonGroupContext {
6
+ variant: ComputedRef<DTButtonVariant | undefined>;
7
+ size: ComputedRef<DTButtonSize | undefined>;
8
+ density: ComputedRef<DTButtonDensity | undefined>;
9
+ rounded: ComputedRef<DTButtonRounded | undefined>;
10
+ disabled: ComputedRef<boolean>;
11
+ readonly: ComputedRef<boolean>;
12
+ isSelected: (value: unknown) => boolean;
13
+ toggle: (value: unknown) => void;
14
+ }
15
+ export declare const DTButtonGroupKey: InjectionKey<DTButtonGroupContext>;
16
+ export declare const useDTButtonGroup: () => DTButtonGroupContext | null;
@@ -0,0 +1,38 @@
1
+ export type DTCardElevation = "flat" | "raised";
2
+ export type DTCardVariant = "elevated" | "outlined" | "tonal";
3
+ type __VLS_Props = {
4
+ as?: string;
5
+ /** Hover lift and a whole-card hit area. Put one `DTCardTitle` with `href` inside. */
6
+ interactive?: boolean;
7
+ /** `raised` adds a small shadow; the reference card is flat with a border. */
8
+ elevation?: DTCardElevation;
9
+ /** `elevated` is the reference surface; `outlined` is transparent with a stronger border; `tonal` a muted fill without a border. */
10
+ variant?: DTCardVariant;
11
+ /** Shows an indeterminate bar along the top edge and sets `aria-busy`. */
12
+ loading?: boolean;
13
+ /** Accessible name of the loading bar. */
14
+ loadingLabel?: string;
15
+ /** Dims the card and switches off the title link of an interactive card. */
16
+ disabled?: boolean;
17
+ };
18
+ declare var __VLS_14: {};
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_14) => any;
21
+ };
22
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
+ variant: DTCardVariant;
24
+ as: string;
25
+ elevation: DTCardElevation;
26
+ loadingLabel: string;
27
+ disabled: boolean;
28
+ loading: boolean;
29
+ interactive: boolean;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -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,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,17 @@
1
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
2
+ type __VLS_Slots = {} & {
3
+ prepend?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_3) => any;
6
+ } & {
7
+ append?: (props: typeof __VLS_5) => any;
8
+ };
9
+ 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>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,24 @@
1
+ type __VLS_Props = {
2
+ /** Image URL; without it the reference gradient placeholder shows. */
3
+ src?: string;
4
+ /** Image alt text. Leave empty for decorative images. */
5
+ alt?: string;
6
+ height?: string;
7
+ };
8
+ declare var __VLS_1: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_1) => any;
11
+ };
12
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ src: string;
14
+ alt: string;
15
+ height: string;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -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,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,24 @@
1
+ type __VLS_Props = {
2
+ /** Heading level, 1–6. */
3
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
4
+ /** Makes the title a link whose hit area covers an interactive card. */
5
+ href?: string;
6
+ };
7
+ declare var __VLS_8: {}, __VLS_10: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_8) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_10) => any;
12
+ };
13
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ level: 1 | 2 | 3 | 4 | 5 | 6;
15
+ href: string;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,6 @@
1
+ import { ComputedRef, InjectionKey } from 'vue';
2
+ /** Card state shared with its parts (DTCardTitle reads `disabled` to switch off its link). */
3
+ export interface DTCardContext {
4
+ disabled: ComputedRef<boolean>;
5
+ }
6
+ export declare const DTCardContextKey: InjectionKey<DTCardContext>;
@@ -0,0 +1,2 @@
1
+ export { default } from './DTCard.vue';
2
+ export type { DTCardElevation, DTCardVariant } from './DTCard.vue';
@@ -0,0 +1,69 @@
1
+ type __VLS_Props = {
2
+ /** The current slide's value (`v-model`). Slides without a value are identified by position. */
3
+ modelValue?: unknown;
4
+ /** Previous/Next buttons: always, only while hovered or focused (`"hover"`), or never. */
5
+ showArrows?: boolean | "hover";
6
+ /** Hides the dots (the slide tablist). Slides then become plain groups. */
7
+ hideDelimiters?: boolean;
8
+ /** Autoplay. Off by default. */
9
+ cycle?: boolean;
10
+ /** Milliseconds between slides while playing. */
11
+ interval?: number;
12
+ /** Wrap from the last slide to the first and back. */
13
+ continuous?: boolean;
14
+ /** Fixed height (a number is pixels). Default: the tallest slide. */
15
+ height?: number | string;
16
+ /** Names the carousel, e.g. "Featured trips". */
17
+ label?: string;
18
+ /** Each slide's position text; `{0}` is its number, `{1}` the count. */
19
+ slideLabel?: string;
20
+ /** Names the dots (the slide tablist); `{0}` is `label`. */
21
+ slidesLabel?: string;
22
+ prevLabel?: string;
23
+ nextLabel?: string;
24
+ /** The rotation button's name while playing and while stopped. */
25
+ pauseLabel?: string;
26
+ playLabel?: string;
27
+ /** What screen readers call the carousel (`aria-roledescription`) (D36b). */
28
+ roleLabel?: string;
29
+ /** What screen readers call each slide (`aria-roledescription`) (D36b). */
30
+ slideRoleLabel?: string;
31
+ };
32
+ declare var __VLS_6: {};
33
+ type __VLS_Slots = {} & {
34
+ default?: (props: typeof __VLS_6) => any;
35
+ };
36
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
37
+ next: () => void;
38
+ prev: () => void;
39
+ goTo: (value: unknown) => void;
40
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
+ "update:modelValue": (value: unknown) => any;
42
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
43
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
44
+ }>, {
45
+ label: string;
46
+ slideLabel: string;
47
+ slidesLabel: string;
48
+ prevLabel: string;
49
+ nextLabel: string;
50
+ pauseLabel: string;
51
+ playLabel: string;
52
+ roleLabel: string;
53
+ slideRoleLabel: string;
54
+ modelValue: undefined;
55
+ height: number | string;
56
+ showArrows: boolean | "hover";
57
+ hideDelimiters: boolean;
58
+ cycle: boolean;
59
+ interval: number;
60
+ continuous: boolean;
61
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
62
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
63
+ declare const _default: typeof __VLS_export;
64
+ export default _default;
65
+ type __VLS_WithSlots<T, S> = T & {
66
+ new (): {
67
+ $slots: S;
68
+ };
69
+ };
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ value?: unknown;
3
+ /** Names the slide's dot, e.g. "Mountains". Defaults to "Slide 2". */
4
+ title?: string;
5
+ };
6
+ declare var __VLS_1: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ value: undefined;
12
+ title: string;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,22 @@
1
+ import { ComputedRef, InjectionKey, Ref } from 'vue';
2
+ export interface DTCarouselItemRecord {
3
+ value: unknown;
4
+ /** Names the slide's tab when set, e.g. "Mountains"; otherwise "Slide 2". */
5
+ title?: string;
6
+ }
7
+ export interface DTCarouselContext {
8
+ current: ComputedRef<unknown>;
9
+ items: Ref<DTCarouselItemRecord[]>;
10
+ register: (item: DTCarouselItemRecord) => () => void;
11
+ indexOf: (value: unknown) => number;
12
+ tabId: (value: unknown) => string;
13
+ panelId: (value: unknown) => string;
14
+ /** "2 of 5", from slideLabel. */
15
+ positionText: (value: unknown) => string;
16
+ /** The slides' `aria-roledescription`, from slideRoleLabel. */
17
+ slideRole: ComputedRef<string>;
18
+ /** Without delimiters the slides are not tab panels but plain groups. */
19
+ tabbed: ComputedRef<boolean>;
20
+ }
21
+ export declare const DTCarouselKey: InjectionKey<DTCarouselContext>;
22
+ export declare const useDTCarousel: () => DTCarouselContext | null;
@@ -0,0 +1,50 @@
1
+ type __VLS_Props = {
2
+ /** `boolean`, or an array of selected values when several checkboxes share one model. */
3
+ modelValue?: boolean | readonly unknown[];
4
+ /** Value added to an array model when checked (default `true`). */
5
+ value?: unknown;
6
+ label?: string;
7
+ /** Mixed state, e.g. a "select all" over a partial selection. Cleared on the next toggle. */
8
+ indeterminate?: boolean;
9
+ disabled?: boolean;
10
+ error?: boolean;
11
+ /** Icon shown when checked, in place of the box. Setting it or `falseIcon` switches to icon mode. */
12
+ trueIcon?: string;
13
+ /** Icon shown when unchecked, in place of the box. Setting it or `trueIcon` switches to icon mode. */
14
+ falseIcon?: string;
15
+ /** Icon shown when indeterminate: in icon mode it replaces the box, otherwise the minus in the box. */
16
+ indeterminateIcon?: string;
17
+ id?: string;
18
+ ripple?: boolean;
19
+ };
20
+ declare var __VLS_11: {};
21
+ type __VLS_Slots = {} & {
22
+ default?: (props: typeof __VLS_11) => any;
23
+ };
24
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ "update:modelValue": (value: boolean | unknown[]) => any;
26
+ "update:indeterminate": (value: boolean) => any;
27
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ "onUpdate:modelValue"?: ((value: boolean | unknown[]) => any) | undefined;
29
+ "onUpdate:indeterminate"?: ((value: boolean) => any) | undefined;
30
+ }>, {
31
+ error: boolean;
32
+ value: undefined;
33
+ ripple: boolean;
34
+ label: string;
35
+ id: string;
36
+ disabled: boolean;
37
+ modelValue: boolean | readonly unknown[];
38
+ indeterminate: boolean;
39
+ trueIcon: string;
40
+ falseIcon: string;
41
+ indeterminateIcon: string;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
43
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
44
+ declare const _default: typeof __VLS_export;
45
+ export default _default;
46
+ type __VLS_WithSlots<T, S> = T & {
47
+ new (): {
48
+ $slots: S;
49
+ };
50
+ };
@@ -0,0 +1,62 @@
1
+ export type DTChipVariant = "tonal" | "flat" | "elevated" | "outlined" | "text" | "plain";
2
+ export type DTChipTone = "neutral" | "primary" | "info" | "success" | "warning" | "danger";
3
+ export type DTChipSize = "xs" | "sm" | "md" | "lg" | "xl";
4
+ export type DTChipDensity = "default" | "comfortable" | "compact";
5
+ type __VLS_Props = {
6
+ variant?: DTChipVariant;
7
+ tone?: DTChipTone;
8
+ size?: DTChipSize;
9
+ density?: DTChipDensity;
10
+ /** Card radius instead of the pill. */
11
+ label?: boolean;
12
+ prependIcon?: string;
13
+ appendIcon?: string;
14
+ /** Initials or short text in a leading circle. */
15
+ avatar?: string;
16
+ closable?: boolean;
17
+ closeLabel?: string;
18
+ /** Value inside a DTChipGroup. */
19
+ value?: unknown;
20
+ /** Renders a link chip. */
21
+ href?: string;
22
+ disabled?: boolean;
23
+ ripple?: boolean;
24
+ };
25
+ declare var __VLS_17: {}, __VLS_24: {}, __VLS_26: {};
26
+ type __VLS_Slots = {} & {
27
+ prepend?: (props: typeof __VLS_17) => any;
28
+ } & {
29
+ default?: (props: typeof __VLS_24) => any;
30
+ } & {
31
+ append?: (props: typeof __VLS_26) => any;
32
+ };
33
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ click: (event: MouseEvent) => any;
35
+ close: () => any;
36
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
37
+ onClick?: ((event: MouseEvent) => any) | undefined;
38
+ onClose?: (() => any) | undefined;
39
+ }>, {
40
+ value: undefined;
41
+ ripple: boolean;
42
+ variant: DTChipVariant;
43
+ size: DTChipSize;
44
+ label: boolean;
45
+ closeLabel: string;
46
+ disabled: boolean;
47
+ density: DTChipDensity;
48
+ href: string;
49
+ tone: DTChipTone;
50
+ avatar: string;
51
+ prependIcon: string;
52
+ appendIcon: string;
53
+ closable: boolean;
54
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
55
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
56
+ declare const _default: typeof __VLS_export;
57
+ export default _default;
58
+ type __VLS_WithSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
@@ -0,0 +1,36 @@
1
+ type __VLS_Props = {
2
+ /** Selected chip value, or an array with `multiple`. */
3
+ modelValue?: unknown;
4
+ multiple?: boolean;
5
+ /** Keep one chip selected (single selection only). */
6
+ mandatory?: boolean;
7
+ /** Show a check icon in selected chips. */
8
+ filter?: boolean;
9
+ disabled?: boolean;
10
+ /** Accessible name of the group. */
11
+ label?: string;
12
+ };
13
+ declare var __VLS_1: {};
14
+ type __VLS_Slots = {} & {
15
+ default?: (props: typeof __VLS_1) => any;
16
+ };
17
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:modelValue": (value: unknown) => any;
19
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
21
+ }>, {
22
+ label: string;
23
+ filter: boolean;
24
+ disabled: boolean;
25
+ modelValue: undefined;
26
+ multiple: boolean;
27
+ mandatory: boolean;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,9 @@
1
+ import { ComputedRef, InjectionKey } from 'vue';
2
+ export interface DTChipGroupContext {
3
+ isSelected: (value: unknown) => boolean;
4
+ toggle: (value: unknown) => void;
5
+ filter: ComputedRef<boolean>;
6
+ disabled: ComputedRef<boolean>;
7
+ }
8
+ export declare const DTChipGroupKey: InjectionKey<DTChipGroupContext>;
9
+ export declare const useDTChipGroup: () => DTChipGroupContext | null;
@@ -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,55 @@
1
+ export type DTColSpan = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
2
+ /** `auto` sizes to content; `fill` shares the remaining space with other `fill` columns. */
3
+ export type DTColSize = DTColSpan | "auto" | "fill";
4
+ export type DTColOffset = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
5
+ export interface DTColResponsiveSpan {
6
+ base?: DTColSize;
7
+ sm?: DTColSize;
8
+ md?: DTColSize;
9
+ lg?: DTColSize;
10
+ xl?: DTColSize;
11
+ }
12
+ export interface DTColResponsiveOffset {
13
+ base?: DTColOffset;
14
+ sm?: DTColOffset;
15
+ md?: DTColOffset;
16
+ lg?: DTColOffset;
17
+ xl?: DTColOffset;
18
+ }
19
+ /** Visual position in the row: `first` and `last` move the column before or after all numbered ones. */
20
+ export type DTColOrder = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | "first" | "last";
21
+ export interface DTColResponsiveOrder {
22
+ base?: DTColOrder;
23
+ sm?: DTColOrder;
24
+ md?: DTColOrder;
25
+ lg?: DTColOrder;
26
+ xl?: DTColOrder;
27
+ }
28
+ type DTColOrderProp = DTColOrder | DTColResponsiveOrder;
29
+ type DTColSpanProp = DTColSize | DTColResponsiveSpan;
30
+ type DTColOffsetProp = DTColOffset | DTColResponsiveOffset;
31
+ type __VLS_Props = {
32
+ as?: string;
33
+ span?: DTColSpanProp;
34
+ offset?: DTColOffsetProp;
35
+ /** Visual order only: screen readers and the Tab key still follow the source order. */
36
+ order?: DTColOrderProp;
37
+ };
38
+ declare var __VLS_8: {};
39
+ type __VLS_Slots = {} & {
40
+ default?: (props: typeof __VLS_8) => any;
41
+ };
42
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
43
+ span: DTColSpanProp;
44
+ as: string;
45
+ offset: DTColOffsetProp;
46
+ order: DTColOrderProp;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
48
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
49
+ declare const _default: typeof __VLS_export;
50
+ export default _default;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
@@ -0,0 +1,89 @@
1
+ import { DTTextFieldBaseProps } from '../text-field/fieldShared';
2
+ /** How the panel's channel fields show the colour; the model stays hex. */
3
+ export type DTColorInputMode = "hex" | "rgb" | "hsl";
4
+ interface DTColorInputProps extends Omit<DTTextFieldBaseProps, "modelValue" | "prependIcon" | "prependInnerIcon" | "appendIcon" | "appendInnerIcon" | "prependIconLabel" | "prependInnerIconLabel" | "appendIconLabel" | "appendInnerIconLabel"> {
5
+ /** "#rrggbb", "#rrggbbaa" with `alpha`, or null. */
6
+ modelValue?: string | null;
7
+ /** Show the alpha slider and keep alpha in the value ("#rrggbbaa"). */
8
+ alpha?: boolean;
9
+ /** Preset colours (hex) under the picker, as a radio group. */
10
+ swatches?: readonly string[];
11
+ /** Panel shows only the swatches: no area, sliders, channel fields, or eyedropper. */
12
+ swatchesOnly?: boolean;
13
+ mode?: DTColorInputMode;
14
+ /** Show the eyedropper button; it appears only where the browser has `window.EyeDropper`. */
15
+ eyedropper?: boolean;
16
+ clearable?: boolean;
17
+ /** Name of the swatch button and the dialog. */
18
+ pickerLabel?: string;
19
+ clearLabel?: string;
20
+ /** Message for typed text that is not a hex colour. */
21
+ invalidText?: string;
22
+ areaLabel?: string;
23
+ /** `{0}` saturation, `{1}` brightness, in percent. */
24
+ areaValueText?: string;
25
+ hueLabel?: string;
26
+ alphaLabel?: string;
27
+ eyedropperLabel?: string;
28
+ swatchesLabel?: string;
29
+ hexLabel?: string;
30
+ redLabel?: string;
31
+ greenLabel?: string;
32
+ blueLabel?: string;
33
+ saturationLabel?: string;
34
+ lightnessLabel?: string;
35
+ }
36
+ declare var __VLS_9: string, __VLS_10: any, __VLS_19: {};
37
+ type __VLS_Slots = {} & {
38
+ [K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
39
+ } & {
40
+ 'append-inner'?: (props: typeof __VLS_19) => any;
41
+ };
42
+ declare const __VLS_base: import('vue').DefineComponent<DTColorInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
+ "update:modelValue": (value: string | null) => any;
44
+ "update:menu": (open: boolean) => any;
45
+ }, string, import('vue').PublicProps, Readonly<DTColorInputProps> & Readonly<{
46
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
47
+ "onUpdate:menu"?: ((open: boolean) => any) | undefined;
48
+ }>, {
49
+ error: boolean | string;
50
+ variant: import('../..').DTFieldVariant;
51
+ size: import('../..').DTFieldSize;
52
+ label: string;
53
+ areaLabel: string;
54
+ areaValueText: string;
55
+ hueLabel: string;
56
+ alphaLabel: string;
57
+ eyedropperLabel: string;
58
+ swatchesLabel: string;
59
+ hexLabel: string;
60
+ redLabel: string;
61
+ greenLabel: string;
62
+ blueLabel: string;
63
+ saturationLabel: string;
64
+ lightnessLabel: string;
65
+ clearLabel: string;
66
+ pickerLabel: string;
67
+ invalidText: string;
68
+ placeholder: string;
69
+ id: string;
70
+ required: boolean;
71
+ disabled: boolean;
72
+ readonly: boolean;
73
+ clearable: boolean;
74
+ modelValue: string | null;
75
+ mode: DTColorInputMode;
76
+ helper: string;
77
+ alpha: boolean;
78
+ swatches: readonly string[];
79
+ swatchesOnly: boolean;
80
+ eyedropper: boolean;
81
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
82
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
83
+ declare const _default: typeof __VLS_export;
84
+ export default _default;
85
+ type __VLS_WithSlots<T, S> = T & {
86
+ new (): {
87
+ $slots: S;
88
+ };
89
+ };