From e7937a7f30a427deb1550fb23715681bdcd07a17 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 25 Jul 2023 15:36:40 +0300 Subject: [PATCH] Refactor d.ts for Tailwind --- components/lib/tailwind/Tailwind.d.ts | 198 +------------------------- 1 file changed, 4 insertions(+), 194 deletions(-) diff --git a/components/lib/tailwind/Tailwind.d.ts b/components/lib/tailwind/Tailwind.d.ts index c7d645fcc..943112fec 100644 --- a/components/lib/tailwind/Tailwind.d.ts +++ b/components/lib/tailwind/Tailwind.d.ts @@ -1,195 +1,5 @@ -import { AccordionPassThroughOptions } from '../accordion'; -import { AccordionTabPassThroughOptions } from '../accordiontab'; -import { AutoCompletePassThroughOptions } from '../autocomplete'; -import { AvatarPassThroughOptions } from '../avatar'; -import { AvatarGroupPassThroughOptions } from '../avatargroup'; -import { BadgePassThroughOptions } from '../badge'; -import { BadgeDirectivePassThroughOptions } from '../badgedirective'; -import { BlockUIPassThroughOptions } from '../blockui'; -import { BreadcrumbPassThroughOptions } from '../breadcrumb'; -import { ButtonPassThroughOptions } from '../button'; -import { CalendarPassThroughOptions } from '../calendar'; -import { CardPassThroughOptions } from '../card'; -import { CarouselPassThroughOptions } from '../carousel'; -import { CascadeSelectPassThroughOptions } from '../cascadeselect'; -import { ChartPassThroughOptions } from '../chart'; -import { CheckboxPassThroughOptions } from '../checkbox'; -import { ChipPassThroughOptions } from '../chip'; -import { ChipsPassThroughOptions } from '../chips'; -import { ColorPickerPassThroughOptions } from '../colorpicker'; -import { ColumnPassThroughOptions } from '../column'; -import { ColumnGroupPassThroughOptions } from '../columngroup'; -import { ConfirmDialogPassThroughOptions } from '../confirmdialog'; -import { ConfirmPopupPassThroughOptions } from '../confirmpopup'; -import { ContextMenuPassThroughOptions } from '../contextmenu'; -import { DataTablePassThroughOptions } from '../datatable'; -import { DataViewPassThroughOptions } from '../dataview'; -import { DataViewLayoutOptionsPassThroughOptions } from '../dataviewlayoutoptions'; -import { DeferredContentPassThroughOptions } from '../deferredcontent'; -import { DialogPassThroughOptions } from '../dialog'; -import { DividerPassThroughOptions } from '../divider'; -import { DockPassThroughOptions } from '../dock'; -import { DropdownPassThroughOptions } from '../dropdown'; -import { EditorPassThroughOptions } from '../editor'; -import { FieldsetPassThroughOptions } from '../fieldset'; -import { FileUploadPassThroughOptions } from '../fileupload'; -import { FocusTrapDirectivePassThroughOptions } from '../focustrap'; -import { GalleriaPassThroughOptions } from '../galleria'; -import { ImagePassThroughOptions } from '../image'; -import { InlineMessagePassThroughOptions } from '../inlinemessage'; -import { InplacePassThroughOptions } from '../inplace'; -import { InputMaskPassThroughOptions } from '../inputmask'; -import { InputNumberPassThroughOptions } from '../inputnumber'; -import { InputSwitchPassThroughOptions } from '../inputswitch'; -import { InputTextPassThroughOptions } from '../inputtext'; -import { KnobPassThroughOptions } from '../knob'; -import { ListboxPassThroughOptions } from '../listbox'; -import { MegaMenuPassThroughOptions } from '../megamenu'; -import { MenuPassThroughOptions } from '../menu'; -import { MenubarPassThroughOptions } from '../menubar'; -import { MessagePassThroughOptions } from '../message'; -import { MultiSelectPassThroughOptions } from '../multiselect'; -import { OrderListPassThroughOptions } from '../orderlist'; -import { OrganizationChartPassThroughOptions } from '../organizationchart'; -import { OverlayPanelPassThroughOptions } from '../overlaypanel'; -import { PaginatorPassThroughOptions } from '../paginator'; -import { PanelPassThroughOptions } from '../panel'; -import { PanelMenuPassThroughOptions } from '../panelmenu'; -import { PasswordPassThroughOptions } from '../password'; -import { PickListPassThroughOptions } from '../picklist'; -import { ProgressBarPassThroughOptions } from '../progressbar'; -import { ProgressSpinnerPassThroughOptions } from '../progressspinner'; -import { RadioButtonPassThroughOptions } from '../radiobutton'; -import { RatingPassThroughOptions } from '../rating'; -import { RippleDirectivePassThroughOptions } from '../ripple'; -import { RowPassThroughOptions } from '../row'; -import { ScrollPanelPassThroughOptions } from '../scrollpanel'; -import { ScrollTopPassThroughOptions } from '../scrolltop'; -import { SelectButtonPassThroughOptions } from '../selectbutton'; -import { SidebarPassThroughOptions } from '../sidebar'; -import { SkeletonPassThroughOptions } from '../skeleton'; -import { SliderPassThroughOptions } from '../slider'; -import { SpeedDialPassThroughOptions } from '../speeddial'; -import { SplitButtonPassThroughOptions } from '../splitbutton'; -import { SplitterPassThroughOptions } from '../splitter'; -import { SplitterPanelPassThroughOptions } from '../splitterpanel'; -import { StepsPassThroughOptions } from '../steps'; -import { StyleClassDirectivePassThroughOptions } from '../styleclass'; -import { TabMenuPassThroughOptions } from '../tabmenu'; -import { TabPanelPassThroughOptions } from '../tabpanel'; -import { TabViewPassThroughOptions } from '../tabview'; -import { TagPassThroughOptions } from '../tag'; -import { TerminalPassThroughOptions } from '../terminal'; -import { TextareaPassThroughOptions } from '../textarea'; -import { TieredMenuPassThroughOptions } from '../tieredmenu'; -import { TimelinePassThroughOptions } from '../timeline'; -import { ToastPassThroughOptions } from '../toast'; -import { ToggleButtonPassThroughOptions } from '../togglebutton'; -import { ToolbarPassThroughOptions } from '../toolbar'; -import { TooltipDirectivePassThroughOptions } from '../tooltip'; -import { TreePassThroughOptions } from '../tree'; -import { TreeSelectPassThroughOptions } from '../treeselect'; -import { TreeTablePassThroughOptions } from '../treetable'; -import { TriStateCheckboxPassThroughOptions } from '../tristatecheckbox'; -import { DefaultPTOptions } from '../ts-helpers'; -import { VirtualScrollerPassThroughOptions } from '../virtualscroller'; +import { PrimeVuePTOptions } from '../config'; -export interface Tailwind { - accordion?: DefaultPTOptions; - accordiontab?: DefaultPTOptions; - autocomplete?: DefaultPTOptions; - avatar?: DefaultPTOptions; - avatargroup?: DefaultPTOptions; - badge?: DefaultPTOptions; - blockui?: DefaultPTOptions; - breadcrumb?: DefaultPTOptions; - button?: DefaultPTOptions; - calendar?: DefaultPTOptions; - card?: DefaultPTOptions; - carousel?: DefaultPTOptions; - cascadeselect?: DefaultPTOptions; - chart?: DefaultPTOptions; - checkbox?: DefaultPTOptions; - chip?: DefaultPTOptions; - chips?: DefaultPTOptions; - colorpicker?: DefaultPTOptions; - column?: DefaultPTOptions; - columngroup?: DefaultPTOptions; - confirmdialog?: DefaultPTOptions; - confirmpopup?: DefaultPTOptions; - contextmenu?: DefaultPTOptions; - datatable?: DefaultPTOptions; - dataview?: DefaultPTOptions; - dataviewlayoutoptions?: DefaultPTOptions; - deferredcontent?: DefaultPTOptions; - divider?: DefaultPTOptions; - dialog?: DefaultPTOptions; - dock?: DefaultPTOptions; - dropdown?: DefaultPTOptions; - dynamicdialog?: DefaultPTOptions; - editor?: DefaultPTOptions; - fieldset?: DefaultPTOptions; - fileupload?: DefaultPTOptions; - galleria?: DefaultPTOptions; - image?: DefaultPTOptions; - inlinemessage?: DefaultPTOptions; - inplace?: DefaultPTOptions; - inputmask?: DefaultPTOptions; - inputnumber?: DefaultPTOptions; - inputswitch?: DefaultPTOptions; - inputtext?: DefaultPTOptions; - knob?: DefaultPTOptions; - listbox?: DefaultPTOptions; - megamenu?: DefaultPTOptions; - menu?: DefaultPTOptions; - menubar?: DefaultPTOptions; - message?: DefaultPTOptions; - multiselect?: DefaultPTOptions; - orderlist?: DefaultPTOptions; - organizationchart?: DefaultPTOptions; - overlaypanel?: DefaultPTOptions; - paginator?: DefaultPTOptions; - panel?: DefaultPTOptions; - panelmenu?: DefaultPTOptions; - password?: DefaultPTOptions; - picklist?: DefaultPTOptions; - progressbar?: DefaultPTOptions; - progressspinner?: DefaultPTOptions; - radiobutton?: DefaultPTOptions; - rating?: DefaultPTOptions; - row?: DefaultPTOptions; - scrollpanel?: DefaultPTOptions; - scrolltop?: DefaultPTOptions; - sidebar?: DefaultPTOptions; - skeleton?: DefaultPTOptions; - slider?: DefaultPTOptions; - speeddial?: DefaultPTOptions; - selectbutton?: DefaultPTOptions; - splitbutton?: DefaultPTOptions; - splitter?: DefaultPTOptions; - splitterpanel?: DefaultPTOptions; - steps?: DefaultPTOptions; - tabmenu?: DefaultPTOptions; - tabpanel?: DefaultPTOptions; - tabview?: DefaultPTOptions; - tag?: DefaultPTOptions; - terminal?: DefaultPTOptions; - textarea?: DefaultPTOptions; - tieredmenu?: DefaultPTOptions; - timeline?: DefaultPTOptions; - toast?: DefaultPTOptions; - togglebutton?: DefaultPTOptions; - toolbar?: DefaultPTOptions; - tree?: DefaultPTOptions; - treeselect?: DefaultPTOptions; - tristatecheckbox?: DefaultPTOptions; - treetable?: DefaultPTOptions; - virtualscroller?: DefaultPTOptions; - directives?: { - badge?: BadgeDirectivePassThroughOptions; - tooltip?: TooltipDirectivePassThroughOptions; - styleclass?: StyleClassDirectivePassThroughOptions; - focustrap?: FocusTrapDirectivePassThroughOptions; - ripple?: RippleDirectivePassThroughOptions; - }; -} +interface Tailwind extends PrimeVuePTOptions {} + +export default Tailwind;