From 9db23d8e46b74384d835a587f595df89dff6dbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 24 Mar 2021 20:37:09 +0300 Subject: [PATCH] refactor --- src/views/accordion/AccordionDoc.vue | 4 +- src/views/autocomplete/AutoCompleteDoc.vue | 4 +- src/views/badge/BadgeDoc.vue | 4 +- src/views/blockui/BlockUIDoc.vue | 4 +- src/views/breadcrumb/BreadcrumbDoc.vue | 8 +- src/views/button/ButtonDemo.vue | 2 +- src/views/button/ButtonDoc.vue | 396 +++++++++--------- src/views/calendar/CalendarDoc.vue | 280 ++++++------- src/views/card/CardDoc.vue | 116 ++--- src/views/carousel/CarouselDoc.vue | 6 +- src/views/cascadeselect/CascadeSelectDoc.vue | 64 ++- src/views/chart/BarChartDoc.vue | 4 +- src/views/chart/ComboChartDoc.vue | 4 +- src/views/chart/DoughnutChartDoc.vue | 4 +- src/views/chart/LineChartDoc.vue | 4 +- src/views/chart/PieChartDoc.vue | 4 +- src/views/chart/PolarAreaChartDoc.vue | 4 +- src/views/chart/RadarChartDoc.vue | 4 +- src/views/checkbox/CheckboxDoc.vue | 114 +++-- src/views/chip/ChipDoc.vue | 4 +- src/views/colorpicker/ColorPickerDoc.vue | 26 +- src/views/contextmenu/ContextMenuDoc.vue | 4 +- src/views/datatable/DataTableBasicDoc.vue | 30 +- src/views/datatable/DataTableSizeDemo.vue | 18 +- .../deferredcontent/DeferredContentDoc.vue | 5 +- src/views/dialog/DialogDoc.vue | 4 +- src/views/dropdown/DropdownDoc.vue | 134 +++--- src/views/editor/EditorDoc.vue | 52 ++- src/views/fieldset/FieldsetDemo.vue | 7 - src/views/fieldset/FieldsetDoc.vue | 23 +- src/views/fileupload/FileUploadDoc.vue | 4 +- src/views/floatlabel/FloatLabelDemo.vue | 8 +- src/views/fullcalendar/FullCalendarDoc.vue | 4 +- src/views/inplace/InplaceDoc.vue | 4 +- src/views/inputgroup/InputGroupDoc.vue | 4 +- src/views/inputmask/InputMaskDoc.vue | 6 +- src/views/inputnumber/InputNumberDoc.vue | 6 +- src/views/inputswitch/InputSwitchDoc.vue | 4 +- src/views/inputtext/InputTextDoc.vue | 4 +- src/views/invalid/InvalidDemo.vue | 4 +- src/views/knob/KnobDoc.vue | 4 +- src/views/listbox/ListboxDoc.vue | 4 +- src/views/megamenu/MegaMenuDoc.vue | 4 +- src/views/menu/MenuDoc.vue | 4 +- src/views/menubar/MenubarDoc.vue | 4 +- src/views/message/MessageDoc.vue | 4 +- src/views/multiselect/MultiSelectDoc.vue | 4 +- .../OrganizationChartDoc.vue | 96 +++-- src/views/overlaypanel/OverlayPanelDoc.vue | 4 +- src/views/paginator/PaginatorDoc.vue | 4 +- src/views/panel/PanelDoc.vue | 4 +- src/views/panelmenu/PanelMenuDoc.vue | 4 +- src/views/password/PasswordDoc.vue | 4 +- src/views/picklist/PickListDoc.vue | 4 +- src/views/progressbar/ProgressBarDoc.vue | 7 +- .../progressspinner/ProgressSpinnerDoc.vue | 4 +- src/views/radiobutton/RadioButtonDoc.vue | 4 +- src/views/rating/RatingDoc.vue | 4 +- src/views/responsive/ResponsiveDemo.vue | 2 +- src/views/scrollpanel/ScrollPanelDoc.vue | 4 +- src/views/scrolltop/ScrollTopDemo.vue | 2 +- src/views/scrolltop/ScrollTopDoc.vue | 12 +- src/views/selectbutton/SelectButtonDoc.vue | 4 +- src/views/sidebar/SidebarDoc.vue | 4 +- src/views/skeleton/SkeletonDemo.vue | 2 +- src/views/skeleton/SkeletonDoc.vue | 4 +- src/views/slider/SliderDoc.vue | 4 +- src/views/spacing/SpacingDoc.vue | 12 + src/views/splitbutton/SplitButtonDoc.vue | 6 +- src/views/tabmenu/TabMenuDoc.vue | 4 +- src/views/tag/TagDoc.vue | 4 +- src/views/terminal/TerminalDoc.vue | 4 +- src/views/textarea/TextareaDoc.vue | 4 +- src/views/tieredmenu/TieredMenuDoc.vue | 4 +- src/views/togglebutton/ToggleButtonDoc.vue | 4 +- src/views/toolbar/ToolbarDoc.vue | 4 +- src/views/tooltip/TooltipDoc.vue | 4 +- src/views/tree/TreeDoc.vue | 4 +- src/views/tree/TreeFilterDemo.vue | 4 +- src/views/tree/TreeLazyDemo.vue | 4 +- src/views/tree/TreeSelectionDemo.vue | 4 +- src/views/tree/TreeTemplatingDemo.vue | 4 +- .../treetable/TreeTableColToggleDemo.vue | 10 +- src/views/treetable/TreeTableLazyDemo.vue | 13 +- .../treetable/TreeTablePaginatorDemo.vue | 4 +- .../treetable/TreeTableResponsiveDemo.vue | 4 +- .../treetable/TreeTableTemplatingDemo.vue | 4 +- .../tristatecheckbox/TriStateCheckboxDoc.vue | 10 +- 88 files changed, 838 insertions(+), 867 deletions(-) diff --git a/src/views/accordion/AccordionDoc.vue b/src/views/accordion/AccordionDoc.vue index 43ad10cb3..bb3df8058 100755 --- a/src/views/accordion/AccordionDoc.vue +++ b/src/views/accordion/AccordionDoc.vue @@ -312,7 +312,7 @@ export default { tabName: 'Source', content: `