From dc2913e887259d43b56daba91e6ea97023edf017 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 2 Oct 2023 11:46:09 +0100 Subject: [PATCH] Fixed #4530 - Export styles of all components --- .editorconfig | 13 + .vscode/settings.team.json | 4 + build-meta.js | 14 +- components/lib/accordion/BaseAccordion.vue | 54 +- components/lib/accordion/package.json | 16 +- .../lib/accordion/style/AccordionStyle.js | 52 + components/lib/accordion/style/package.json | 5 + .../lib/accordiontab/BaseAccordionTab.vue | 2 + components/lib/accordiontab/package.json | 16 +- .../accordiontab/style/AccordionTabStyle.js | 1 + .../lib/accordiontab/style/package.json | 5 + .../lib/autocomplete/BaseAutoComplete.vue | 156 +-- components/lib/autocomplete/package.json | 16 +- .../autocomplete/style/AutoCompleteStyle.js | 154 +++ .../lib/autocomplete/style/package.json | 5 + components/lib/avatar/BaseAvatar.vue | 57 +- components/lib/avatar/package.json | 16 +- components/lib/avatar/style/AvatarStyle.js | 55 + components/lib/avatar/style/package.json | 5 + .../lib/avatargroup/BaseAvatarGroup.vue | 26 +- components/lib/avatargroup/package.json | 16 +- .../lib/avatargroup/style/AvatarGroupStyle.js | 24 + components/lib/avatargroup/style/package.json | 5 + components/lib/badge/BaseBadge.vue | 63 +- components/lib/badge/package.json | 16 +- components/lib/badge/style/BadgeStyle.js | 61 ++ components/lib/badge/style/package.json | 5 + .../lib/badgedirective/BaseBadgeDirective.js | 50 +- components/lib/badgedirective/package.json | 10 +- .../style/BadgeDirectiveStyle.js | 48 + .../lib/badgedirective/style/package.json | 5 + components/lib/base/Base.js | 33 +- components/lib/base/style/BaseStyle.js | 48 + components/lib/base/style/package.json | 5 + .../lib/basecomponent/BaseComponent.vue | 379 +------ components/lib/basecomponent/package.json | 16 +- .../basecomponent/style/BaseComponentStyle.js | 364 +++++++ .../lib/basecomponent/style/package.json | 5 + components/lib/basedirective/BaseDirective.js | 12 +- components/lib/baseicon/BaseIcon.vue | 39 +- components/lib/baseicon/package.json | 14 +- .../lib/baseicon/style/BaseIconStyle.js | 39 + components/lib/baseicon/style/package.json | 5 + components/lib/blockui/BaseBlockUI.vue | 29 +- components/lib/blockui/package.json | 16 +- components/lib/blockui/style/BlockUIStyle.js | 27 + components/lib/blockui/style/package.json | 5 + components/lib/breadcrumb/BaseBreadcrumb.vue | 62 +- components/lib/breadcrumb/package.json | 17 +- .../lib/breadcrumb/style/BreadcrumbStyle.js | 60 ++ components/lib/breadcrumb/style/package.json | 5 + components/lib/button/BaseButton.vue | 38 +- components/lib/button/package.json | 16 +- components/lib/button/style/ButtonStyle.js | 40 + components/lib/button/style/package.json | 5 + components/lib/calendar/BaseCalendar.vue | 229 +---- components/lib/calendar/package.json | 16 +- .../lib/calendar/style/CalendarStyle.js | 227 +++++ components/lib/calendar/style/package.json | 5 + components/lib/card/BaseCard.vue | 15 +- components/lib/card/package.json | 16 +- components/lib/card/style/CardStyle.js | 17 + components/lib/card/style/package.json | 5 + components/lib/carousel/BaseCarousel.vue | 137 +-- components/lib/carousel/package.json | 16 +- .../lib/carousel/style/CarouselStyle.js | 135 +++ components/lib/carousel/style/package.json | 5 + .../lib/cascadeselect/BaseCascadeSelect.vue | 144 +-- components/lib/cascadeselect/package.json | 16 +- .../cascadeselect/style/CascadeSelectStyle.js | 142 +++ .../lib/cascadeselect/style/package.json | 5 + components/lib/chart/BaseChart.vue | 21 +- components/lib/chart/package.json | 16 +- components/lib/chart/style/ChartStyle.js | 19 + components/lib/chart/style/package.json | 5 + components/lib/checkbox/BaseCheckbox.vue | 25 +- components/lib/checkbox/package.json | 16 +- .../lib/checkbox/style/CheckboxStyle.js | 27 + components/lib/checkbox/style/package.json | 5 + components/lib/chip/BaseChip.vue | 47 +- components/lib/chip/package.json | 16 +- components/lib/chip/style/ChipStyle.js | 45 + components/lib/chip/style/package.json | 5 + components/lib/chips/BaseChips.vue | 76 +- components/lib/chips/package.json | 16 +- components/lib/chips/style/ChipsStyle.js | 74 ++ components/lib/chips/style/package.json | 5 + .../lib/colorpicker/BaseColorPicker.vue | 41 +- components/lib/colorpicker/package.json | 16 +- .../lib/colorpicker/style/ColorPickerStyle.js | 39 + components/lib/colorpicker/style/package.json | 5 + components/lib/column/BaseColumn.vue | 2 + components/lib/column/package.json | 16 +- components/lib/column/style/ColumnStyle.js | 1 + components/lib/column/style/package.json | 5 + .../lib/columngroup/BaseColumnGroup.vue | 2 + components/lib/columngroup/package.json | 16 +- .../lib/columngroup/style/ColumnGroupStyle.js | 1 + components/lib/columngroup/style/package.json | 5 + components/lib/config/package.json | 10 +- .../lib/confirmationeventbus/package.json | 2 +- .../lib/confirmationservice/package.json | 10 +- .../lib/confirmdialog/BaseConfirmDialog.vue | 13 +- components/lib/confirmdialog/package.json | 16 +- .../confirmdialog/style/ConfirmDialogStyle.js | 15 + .../lib/confirmdialog/style/package.json | 5 + .../lib/confirmpopup/BaseConfirmPopup.vue | 99 +- components/lib/confirmpopup/package.json | 16 +- .../confirmpopup/style/ConfirmPopupStyle.js | 97 ++ .../lib/confirmpopup/style/package.json | 5 + .../lib/contextmenu/BaseContextMenu.vue | 86 +- components/lib/contextmenu/package.json | 16 +- .../lib/contextmenu/style/ContextMenuStyle.js | 84 ++ components/lib/contextmenu/style/package.json | 5 + components/lib/datatable/BaseDataTable.vue | 475 +-------- components/lib/datatable/package.json | 16 +- .../lib/datatable/style/DataTableStyle.js | 473 +++++++++ components/lib/datatable/style/package.json | 5 + components/lib/dataview/BaseDataView.vue | 22 +- components/lib/dataview/package.json | 16 +- .../lib/dataview/style/DataViewStyle.js | 24 + components/lib/dataview/style/package.json | 5 + .../BaseDataViewLayoutOptions.vue | 21 +- .../lib/dataviewlayoutoptions/package.json | 16 +- .../style/DataViewLayoutOptionsStyle.js | 23 + .../dataviewlayoutoptions/style/package.json | 5 + .../lib/deferredcontent/DeferredContent.vue | 2 + components/lib/deferredcontent/package.json | 16 +- .../style/DeferredContentStyle.js | 1 + .../lib/deferredcontent/style/package.json | 5 + components/lib/dialog/BaseDialog.vue | 199 +--- components/lib/dialog/package.json | 16 +- components/lib/dialog/style/DialogStyle.js | 197 ++++ components/lib/dialog/style/package.json | 5 + components/lib/divider/BaseDivider.vue | 98 +- components/lib/divider/package.json | 16 +- components/lib/divider/style/DividerStyle.js | 96 ++ components/lib/divider/style/package.json | 5 + components/lib/dock/BaseDock.vue | 146 +-- components/lib/dock/package.json | 4 +- components/lib/dock/style/DockStyle.js | 144 +++ components/lib/dock/style/package.json | 5 + components/lib/dropdown/BaseDropdown.vue | 154 +-- components/lib/dropdown/package.json | 16 +- .../lib/dropdown/style/DropdownStyle.js | 152 +++ components/lib/dropdown/style/package.json | 5 + .../lib/dynamicdialog/BaseDynamicDialog.vue | 16 + .../lib/dynamicdialog/DynamicDialog.vue | 4 +- .../dynamicdialog/style/DynamicDialogStyle.js | 1 + .../lib/dynamicdialog/style/package.json | 5 + components/lib/editor/BaseEditor.vue | 964 +----------------- components/lib/editor/package.json | 16 +- components/lib/editor/style/EditorStyle.js | 961 +++++++++++++++++ components/lib/editor/style/package.json | 5 + components/lib/fieldset/BaseFieldset.vue | 47 +- components/lib/fieldset/package.json | 16 +- .../lib/fieldset/style/FieldsetStyle.js | 45 + components/lib/fieldset/style/package.json | 5 + components/lib/fileupload/BaseFileUpload.vue | 84 +- components/lib/fileupload/package.json | 16 +- .../lib/fileupload/style/FileUploadStyle.js | 82 ++ components/lib/fileupload/style/package.json | 5 + components/lib/focustrap/BaseFocusTrap.js | 5 +- components/lib/focustrap/package.json | 2 +- .../lib/focustrap/style/FocusTrapStyle.js | 1 + components/lib/focustrap/style/package.json | 5 + components/lib/galleria/BaseGalleria.vue | 380 +------ components/lib/galleria/package.json | 16 +- .../lib/galleria/style/GalleriaStyle.js | 378 +++++++ components/lib/galleria/style/package.json | 5 + .../lib/icons/angledoubledown/package.json | 4 +- .../lib/icons/angledoubleleft/package.json | 4 +- .../lib/icons/angledoubleright/package.json | 4 +- .../lib/icons/angledoubleup/package.json | 4 +- components/lib/icons/angledown/package.json | 4 +- components/lib/icons/angleleft/package.json | 4 +- components/lib/icons/angleright/package.json | 4 +- components/lib/icons/angleup/package.json | 4 +- components/lib/icons/arrowdown/package.json | 4 +- components/lib/icons/arrowup/package.json | 4 +- components/lib/icons/ban/package.json | 4 +- components/lib/icons/bars/package.json | 4 +- components/lib/icons/calendar/package.json | 4 +- components/lib/icons/check/package.json | 4 +- components/lib/icons/chevrondown/package.json | 4 +- components/lib/icons/chevronleft/package.json | 4 +- .../lib/icons/chevronright/package.json | 4 +- components/lib/icons/chevronup/package.json | 4 +- .../icons/exclamationtriangle/package.json | 4 +- components/lib/icons/eye/package.json | 4 +- components/lib/icons/eyeslash/package.json | 4 +- components/lib/icons/filter/package.json | 4 +- components/lib/icons/filterslash/package.json | 4 +- components/lib/icons/infocircle/package.json | 4 +- components/lib/icons/minus/package.json | 4 +- components/lib/icons/pencil/package.json | 4 +- components/lib/icons/plus/package.json | 4 +- components/lib/icons/refresh/package.json | 4 +- components/lib/icons/search/package.json | 4 +- components/lib/icons/searchminus/package.json | 4 +- components/lib/icons/searchplus/package.json | 4 +- components/lib/icons/sortalt/package.json | 4 +- .../lib/icons/sortamountdown/package.json | 4 +- .../lib/icons/sortamountupalt/package.json | 4 +- components/lib/icons/spinner/package.json | 4 +- components/lib/icons/star/package.json | 4 +- components/lib/icons/starfill/package.json | 4 +- components/lib/icons/thlarge/package.json | 4 +- components/lib/icons/times/package.json | 4 +- components/lib/icons/timescircle/package.json | 4 +- components/lib/icons/trash/package.json | 4 +- components/lib/icons/undo/package.json | 4 +- components/lib/icons/upload/package.json | 4 +- .../lib/icons/windowmaximize/package.json | 16 +- .../lib/icons/windowminimize/package.json | 4 +- components/lib/image/BaseImage.vue | 106 +- components/lib/image/package.json | 4 +- components/lib/image/style/ImageStyle.js | 104 ++ components/lib/image/style/package.json | 5 + .../lib/inlinemessage/BaseInlineMessage.vue | 35 +- components/lib/inlinemessage/package.json | 16 +- .../inlinemessage/style/InlineMessageStyle.js | 33 + .../lib/inlinemessage/style/package.json | 5 + components/lib/inplace/BaseInplace.vue | 37 +- components/lib/inplace/package.json | 16 +- components/lib/inplace/style/InplaceStyle.js | 35 + components/lib/inplace/style/package.json | 5 + components/lib/inputmask/BaseInputMask.vue | 14 +- components/lib/inputmask/package.json | 16 +- .../lib/inputmask/style/InputMaskStyle.js | 16 + components/lib/inputmask/style/package.json | 5 + .../lib/inputnumber/BaseInputNumber.vue | 141 +-- components/lib/inputnumber/package.json | 16 +- .../lib/inputnumber/style/InputNumberStyle.js | 139 +++ components/lib/inputnumber/style/package.json | 5 + .../lib/inputswitch/BaseInputSwitch.vue | 50 +- components/lib/inputswitch/package.json | 16 +- .../lib/inputswitch/style/InputSwitchStyle.js | 48 + components/lib/inputswitch/style/package.json | 5 + components/lib/inputtext/BaseInputText.vue | 16 +- components/lib/inputtext/package.json | 16 +- .../lib/inputtext/style/InputTextStyle.js | 18 + components/lib/inputtext/style/package.json | 5 + components/lib/knob/BaseKnob.vue | 39 +- components/lib/knob/package.json | 16 +- components/lib/knob/style/KnobStyle.js | 37 + components/lib/knob/style/package.json | 5 + components/lib/listbox/BaseListbox.vue | 73 +- components/lib/listbox/package.json | 16 +- components/lib/listbox/style/ListboxStyle.js | 71 ++ components/lib/listbox/style/package.json | 5 + components/lib/megamenu/BaseMegaMenu.vue | 199 +--- components/lib/megamenu/package.json | 16 +- .../lib/megamenu/style/MegaMenuStyle.js | 197 ++++ components/lib/megamenu/style/package.json | 5 + components/lib/menu/BaseMenu.vue | 65 +- components/lib/menu/package.json | 16 +- components/lib/menu/style/MenuStyle.js | 63 ++ components/lib/menu/style/package.json | 5 + components/lib/menubar/BaseMenubar.vue | 124 +-- components/lib/menubar/package.json | 16 +- components/lib/menubar/style/MenubarStyle.js | 122 +++ components/lib/menubar/style/package.json | 5 + components/lib/message/BaseMessage.vue | 71 +- components/lib/message/package.json | 16 +- components/lib/message/style/MessageStyle.js | 69 ++ components/lib/message/style/package.json | 5 + .../lib/multiselect/BaseMultiSelect.vue | 195 +--- components/lib/multiselect/package.json | 16 +- .../lib/multiselect/style/MultiSelectStyle.js | 193 ++++ components/lib/multiselect/style/package.json | 5 + components/lib/orderlist/BaseOrderList.vue | 71 +- components/lib/orderlist/package.json | 16 +- .../lib/orderlist/style/OrderListStyle.js | 69 ++ components/lib/orderlist/style/package.json | 5 + .../BaseOrganizationChart.vue | 80 +- components/lib/organizationchart/package.json | 16 +- .../style/OrganizationChartStyle.js | 78 ++ .../lib/organizationchart/style/package.json | 5 + components/lib/overlayeventbus/package.json | 2 +- .../lib/overlaypanel/BaseOverlayPanel.vue | 96 +- components/lib/overlaypanel/package.json | 16 +- .../overlaypanel/style/OverlayPanelStyle.js | 94 ++ .../lib/overlaypanel/style/package.json | 5 + components/lib/paginator/BasePaginator.vue | 104 +- components/lib/paginator/package.json | 16 +- .../lib/paginator/style/PaginatorStyle.js | 102 ++ components/lib/paginator/style/package.json | 5 + components/lib/panel/BasePanel.vue | 49 +- components/lib/panel/package.json | 16 +- components/lib/panel/style/PanelStyle.js | 47 + components/lib/panel/style/package.json | 5 + components/lib/panelmenu/BasePanelMenu.vue | 91 +- components/lib/panelmenu/package.json | 16 +- .../lib/panelmenu/style/PanelMenuStyle.js | 89 ++ components/lib/panelmenu/style/package.json | 5 + components/lib/passthrough/package.json | 2 +- .../lib/passthrough/tailwind/package.json | 2 +- components/lib/password/BasePassword.vue | 72 +- components/lib/password/package.json | 16 +- .../lib/password/style/PasswordStyle.js | 70 ++ components/lib/password/style/package.json | 5 + components/lib/picklist/BasePickList.vue | 72 +- components/lib/picklist/package.json | 16 +- .../lib/picklist/style/PickListStyle.js | 70 ++ components/lib/picklist/style/package.json | 5 + components/lib/portal/package.json | 14 +- components/lib/portal/style/PortalStyle.js | 1 + components/lib/portal/style/package.json | 5 + .../lib/progressbar/BaseProgressBar.vue | 135 +-- components/lib/progressbar/package.json | 16 +- .../lib/progressbar/style/ProgressBarStyle.js | 133 +++ components/lib/progressbar/style/package.json | 5 + .../progressspinner/BaseProgressSpinner.vue | 45 +- components/lib/progressspinner/package.json | 16 +- .../style/ProgressSpinnerStyle.js | 43 + .../lib/progressspinner/style/package.json | 5 + .../lib/radiobutton/BaseRadioButton.vue | 25 +- components/lib/radiobutton/package.json | 16 +- .../lib/radiobutton/style/RadioButtonStyle.js | 27 + components/lib/radiobutton/style/package.json | 5 + components/lib/rating/BaseRating.vue | 55 +- components/lib/rating/package.json | 16 +- components/lib/rating/style/RatingStyle.js | 53 + components/lib/rating/style/package.json | 5 + components/lib/ripple/BaseRipple.js | 46 +- components/lib/ripple/package.json | 10 +- components/lib/ripple/style/RippleStyle.js | 44 + components/lib/ripple/style/package.json | 5 + components/lib/row/package.json | 16 +- components/lib/row/style/RowStyle.js | 1 + components/lib/row/style/package.json | 5 + .../lib/scrollpanel/BaseScrollPanel.vue | 77 +- components/lib/scrollpanel/package.json | 16 +- .../lib/scrollpanel/style/ScrollPanelStyle.js | 75 ++ components/lib/scrollpanel/style/package.json | 5 + components/lib/scrolltop/BaseScrollTop.vue | 51 +- components/lib/scrolltop/package.json | 16 +- .../lib/scrolltop/style/ScrollTopStyle.js | 49 + components/lib/scrolltop/style/package.json | 5 + .../lib/selectbutton/BaseSelectButton.vue | 17 +- components/lib/selectbutton/package.json | 16 +- .../selectbutton/style/SelectButtonStyle.js | 19 + .../lib/selectbutton/style/package.json | 5 + components/lib/sidebar/BaseSidebar.vue | 208 +--- components/lib/sidebar/package.json | 16 +- components/lib/sidebar/style/SidebarStyle.js | 205 ++++ components/lib/sidebar/style/package.json | 5 + components/lib/skeleton/BaseSkeleton.vue | 61 +- components/lib/skeleton/package.json | 16 +- .../lib/skeleton/style/SkeletonStyle.js | 59 ++ components/lib/skeleton/style/package.json | 5 + components/lib/slider/BaseSlider.vue | 70 +- components/lib/slider/package.json | 16 +- components/lib/slider/style/SliderStyle.js | 68 ++ components/lib/slider/style/package.json | 5 + components/lib/speeddial/BaseSpeedDial.vue | 140 +-- components/lib/speeddial/package.json | 4 +- .../lib/speeddial/style/SpeedDialStyle.js | 138 +++ components/lib/speeddial/style/package.json | 5 + .../lib/splitbutton/BaseSplitButton.vue | 62 +- components/lib/splitbutton/package.json | 16 +- .../lib/splitbutton/style/SplitButtonStyle.js | 60 ++ components/lib/splitbutton/style/package.json | 5 + components/lib/splitter/BaseSplitter.vue | 70 +- components/lib/splitter/package.json | 16 +- .../lib/splitter/style/SplitterStyle.js | 68 ++ components/lib/splitter/style/package.json | 5 + .../lib/splitterpanel/BaseSplitterPanel.vue | 30 +- components/lib/splitterpanel/package.json | 16 +- .../splitterpanel/style/SplitterPanelStyle.js | 28 + .../lib/splitterpanel/style/package.json | 5 + components/lib/steps/BaseSteps.vue | 86 +- components/lib/steps/package.json | 16 +- components/lib/steps/style/StepsStyle.js | 84 ++ components/lib/steps/style/package.json | 5 + components/lib/styleclass/package.json | 2 +- .../lib/styleclass/style/StyleClassStyle.js | 1 + components/lib/styleclass/style/package.json | 5 + components/lib/tabmenu/BaseTabMenu.vue | 69 +- components/lib/tabmenu/package.json | 16 +- components/lib/tabmenu/style/TabMenuStyle.js | 67 ++ components/lib/tabmenu/style/package.json | 5 + components/lib/tabpanel/BaseTabPanel.vue | 4 +- components/lib/tabpanel/package.json | 16 +- .../lib/tabpanel/style/TabPanelStyle.js | 1 + components/lib/tabpanel/style/package.json | 5 + components/lib/tabview/BaseTabView.vue | 112 +- components/lib/tabview/package.json | 16 +- components/lib/tabview/style/TabViewStyle.js | 110 ++ components/lib/tabview/style/package.json | 5 + components/lib/tag/BaseTag.vue | 44 +- components/lib/tag/package.json | 16 +- components/lib/tag/style/TagStyle.js | 42 + components/lib/tag/style/package.json | 5 + components/lib/terminal/BaseTerminal.vue | 46 +- components/lib/terminal/package.json | 16 +- .../lib/terminal/style/TerminalStyle.js | 44 + components/lib/terminal/style/package.json | 5 + components/lib/terminalservice/package.json | 10 +- components/lib/textarea/BaseTextarea.vue | 32 +- components/lib/textarea/package.json | 16 +- .../lib/textarea/style/TextareaStyle.js | 30 + components/lib/textarea/style/package.json | 5 + components/lib/tieredmenu/BaseTieredMenu.vue | 91 +- components/lib/tieredmenu/package.json | 16 +- .../lib/tieredmenu/style/TieredMenuStyle.js | 89 ++ components/lib/tieredmenu/style/package.json | 5 + components/lib/timeline/BaseTimeline.vue | 134 +-- components/lib/timeline/package.json | 16 +- .../lib/timeline/style/TimelineStyle.js | 132 +++ components/lib/timeline/style/package.json | 5 + components/lib/toast/BaseToast.vue | 132 +-- components/lib/toast/package.json | 16 +- components/lib/toast/style/ToastStyle.js | 130 +++ components/lib/toast/style/package.json | 5 + components/lib/toasteventbus/package.json | 2 +- components/lib/toastservice/package.json | 10 +- .../lib/togglebutton/BaseToggleButton.vue | 25 +- components/lib/togglebutton/package.json | 16 +- .../togglebutton/style/ToggleButtonStyle.js | 27 + .../lib/togglebutton/style/package.json | 5 + components/lib/toolbar/BaseToolbar.vue | 40 +- components/lib/toolbar/package.json | 16 +- components/lib/toolbar/style/ToolbarStyle.js | 38 + components/lib/toolbar/style/package.json | 5 + components/lib/tooltip/BaseTooltip.js | 74 +- components/lib/tooltip/package.json | 10 +- components/lib/tooltip/style/TooltipStyle.js | 72 ++ components/lib/tooltip/style/package.json | 5 + components/lib/tree/BaseTree.vue | 136 +-- components/lib/tree/package.json | 16 +- components/lib/tree/style/TreeStyle.js | 134 +++ components/lib/tree/style/package.json | 5 + components/lib/treeselect/BaseTreeSelect.vue | 103 +- components/lib/treeselect/package.json | 4 +- .../lib/treeselect/style/TreeSelectStyle.js | 101 ++ components/lib/treeselect/style/package.json | 5 + components/lib/treetable/BaseTreeTable.vue | 273 +---- components/lib/treetable/package.json | 16 +- .../lib/treetable/style/TreeTableStyle.js | 271 +++++ components/lib/treetable/style/package.json | 5 + .../tristatecheckbox/BaseTriStateCheckbox.vue | 27 +- components/lib/tristatecheckbox/package.json | 16 +- .../style/TriStateCheckboxStyle.js | 29 + .../lib/tristatecheckbox/style/package.json | 5 + components/lib/useconfirm/package.json | 10 +- components/lib/usedialog/package.json | 2 +- components/lib/usestyle/UseStyle.d.ts | 3 +- components/lib/usestyle/UseStyle.js | 9 +- components/lib/usestyle/package.json | 2 +- components/lib/usetoast/package.json | 10 +- components/lib/utils/package.json | 8 +- .../virtualscroller/BaseVirtualScroller.vue | 70 +- components/lib/virtualscroller/package.json | 4 +- .../style/VirtualScrollerStyle.js | 69 ++ .../lib/virtualscroller/style/package.json | 5 + doc/common/apidoc/index.json | 2 +- package-build.json | 18 +- package.json | 6 +- rollup.config.js | 121 ++- tsconfig.json | 36 +- vite.config.js | 204 +++- 463 files changed, 10696 insertions(+), 9670 deletions(-) create mode 100644 .editorconfig create mode 100644 components/lib/accordion/style/AccordionStyle.js create mode 100644 components/lib/accordion/style/package.json create mode 100644 components/lib/accordiontab/style/AccordionTabStyle.js create mode 100644 components/lib/accordiontab/style/package.json create mode 100644 components/lib/autocomplete/style/AutoCompleteStyle.js create mode 100644 components/lib/autocomplete/style/package.json create mode 100644 components/lib/avatar/style/AvatarStyle.js create mode 100644 components/lib/avatar/style/package.json create mode 100644 components/lib/avatargroup/style/AvatarGroupStyle.js create mode 100644 components/lib/avatargroup/style/package.json create mode 100644 components/lib/badge/style/BadgeStyle.js create mode 100644 components/lib/badge/style/package.json create mode 100644 components/lib/badgedirective/style/BadgeDirectiveStyle.js create mode 100644 components/lib/badgedirective/style/package.json create mode 100644 components/lib/base/style/BaseStyle.js create mode 100644 components/lib/base/style/package.json create mode 100644 components/lib/basecomponent/style/BaseComponentStyle.js create mode 100644 components/lib/basecomponent/style/package.json create mode 100644 components/lib/baseicon/style/BaseIconStyle.js create mode 100644 components/lib/baseicon/style/package.json create mode 100644 components/lib/blockui/style/BlockUIStyle.js create mode 100644 components/lib/blockui/style/package.json create mode 100644 components/lib/breadcrumb/style/BreadcrumbStyle.js create mode 100644 components/lib/breadcrumb/style/package.json create mode 100644 components/lib/button/style/ButtonStyle.js create mode 100644 components/lib/button/style/package.json create mode 100644 components/lib/calendar/style/CalendarStyle.js create mode 100644 components/lib/calendar/style/package.json create mode 100644 components/lib/card/style/CardStyle.js create mode 100644 components/lib/card/style/package.json create mode 100644 components/lib/carousel/style/CarouselStyle.js create mode 100644 components/lib/carousel/style/package.json create mode 100644 components/lib/cascadeselect/style/CascadeSelectStyle.js create mode 100644 components/lib/cascadeselect/style/package.json create mode 100644 components/lib/chart/style/ChartStyle.js create mode 100644 components/lib/chart/style/package.json create mode 100644 components/lib/checkbox/style/CheckboxStyle.js create mode 100644 components/lib/checkbox/style/package.json create mode 100644 components/lib/chip/style/ChipStyle.js create mode 100644 components/lib/chip/style/package.json create mode 100644 components/lib/chips/style/ChipsStyle.js create mode 100644 components/lib/chips/style/package.json create mode 100644 components/lib/colorpicker/style/ColorPickerStyle.js create mode 100644 components/lib/colorpicker/style/package.json create mode 100644 components/lib/column/style/ColumnStyle.js create mode 100644 components/lib/column/style/package.json create mode 100644 components/lib/columngroup/style/ColumnGroupStyle.js create mode 100644 components/lib/columngroup/style/package.json create mode 100644 components/lib/confirmdialog/style/ConfirmDialogStyle.js create mode 100644 components/lib/confirmdialog/style/package.json create mode 100644 components/lib/confirmpopup/style/ConfirmPopupStyle.js create mode 100644 components/lib/confirmpopup/style/package.json create mode 100644 components/lib/contextmenu/style/ContextMenuStyle.js create mode 100644 components/lib/contextmenu/style/package.json create mode 100644 components/lib/datatable/style/DataTableStyle.js create mode 100644 components/lib/datatable/style/package.json create mode 100644 components/lib/dataview/style/DataViewStyle.js create mode 100644 components/lib/dataview/style/package.json create mode 100644 components/lib/dataviewlayoutoptions/style/DataViewLayoutOptionsStyle.js create mode 100644 components/lib/dataviewlayoutoptions/style/package.json create mode 100644 components/lib/deferredcontent/style/DeferredContentStyle.js create mode 100644 components/lib/deferredcontent/style/package.json create mode 100644 components/lib/dialog/style/DialogStyle.js create mode 100644 components/lib/dialog/style/package.json create mode 100644 components/lib/divider/style/DividerStyle.js create mode 100644 components/lib/divider/style/package.json create mode 100644 components/lib/dock/style/DockStyle.js create mode 100644 components/lib/dock/style/package.json create mode 100644 components/lib/dropdown/style/DropdownStyle.js create mode 100644 components/lib/dropdown/style/package.json create mode 100644 components/lib/dynamicdialog/BaseDynamicDialog.vue create mode 100644 components/lib/dynamicdialog/style/DynamicDialogStyle.js create mode 100644 components/lib/dynamicdialog/style/package.json create mode 100644 components/lib/editor/style/EditorStyle.js create mode 100644 components/lib/editor/style/package.json create mode 100644 components/lib/fieldset/style/FieldsetStyle.js create mode 100644 components/lib/fieldset/style/package.json create mode 100644 components/lib/fileupload/style/FileUploadStyle.js create mode 100644 components/lib/fileupload/style/package.json create mode 100644 components/lib/focustrap/style/FocusTrapStyle.js create mode 100644 components/lib/focustrap/style/package.json create mode 100644 components/lib/galleria/style/GalleriaStyle.js create mode 100644 components/lib/galleria/style/package.json create mode 100644 components/lib/image/style/ImageStyle.js create mode 100644 components/lib/image/style/package.json create mode 100644 components/lib/inlinemessage/style/InlineMessageStyle.js create mode 100644 components/lib/inlinemessage/style/package.json create mode 100644 components/lib/inplace/style/InplaceStyle.js create mode 100644 components/lib/inplace/style/package.json create mode 100644 components/lib/inputmask/style/InputMaskStyle.js create mode 100644 components/lib/inputmask/style/package.json create mode 100644 components/lib/inputnumber/style/InputNumberStyle.js create mode 100644 components/lib/inputnumber/style/package.json create mode 100644 components/lib/inputswitch/style/InputSwitchStyle.js create mode 100644 components/lib/inputswitch/style/package.json create mode 100644 components/lib/inputtext/style/InputTextStyle.js create mode 100644 components/lib/inputtext/style/package.json create mode 100644 components/lib/knob/style/KnobStyle.js create mode 100644 components/lib/knob/style/package.json create mode 100644 components/lib/listbox/style/ListboxStyle.js create mode 100644 components/lib/listbox/style/package.json create mode 100644 components/lib/megamenu/style/MegaMenuStyle.js create mode 100644 components/lib/megamenu/style/package.json create mode 100644 components/lib/menu/style/MenuStyle.js create mode 100644 components/lib/menu/style/package.json create mode 100644 components/lib/menubar/style/MenubarStyle.js create mode 100644 components/lib/menubar/style/package.json create mode 100644 components/lib/message/style/MessageStyle.js create mode 100644 components/lib/message/style/package.json create mode 100644 components/lib/multiselect/style/MultiSelectStyle.js create mode 100644 components/lib/multiselect/style/package.json create mode 100644 components/lib/orderlist/style/OrderListStyle.js create mode 100644 components/lib/orderlist/style/package.json create mode 100644 components/lib/organizationchart/style/OrganizationChartStyle.js create mode 100644 components/lib/organizationchart/style/package.json create mode 100644 components/lib/overlaypanel/style/OverlayPanelStyle.js create mode 100644 components/lib/overlaypanel/style/package.json create mode 100644 components/lib/paginator/style/PaginatorStyle.js create mode 100644 components/lib/paginator/style/package.json create mode 100644 components/lib/panel/style/PanelStyle.js create mode 100644 components/lib/panel/style/package.json create mode 100644 components/lib/panelmenu/style/PanelMenuStyle.js create mode 100644 components/lib/panelmenu/style/package.json create mode 100644 components/lib/password/style/PasswordStyle.js create mode 100644 components/lib/password/style/package.json create mode 100644 components/lib/picklist/style/PickListStyle.js create mode 100644 components/lib/picklist/style/package.json create mode 100644 components/lib/portal/style/PortalStyle.js create mode 100644 components/lib/portal/style/package.json create mode 100644 components/lib/progressbar/style/ProgressBarStyle.js create mode 100644 components/lib/progressbar/style/package.json create mode 100644 components/lib/progressspinner/style/ProgressSpinnerStyle.js create mode 100644 components/lib/progressspinner/style/package.json create mode 100644 components/lib/radiobutton/style/RadioButtonStyle.js create mode 100644 components/lib/radiobutton/style/package.json create mode 100644 components/lib/rating/style/RatingStyle.js create mode 100644 components/lib/rating/style/package.json create mode 100644 components/lib/ripple/style/RippleStyle.js create mode 100644 components/lib/ripple/style/package.json create mode 100644 components/lib/row/style/RowStyle.js create mode 100644 components/lib/row/style/package.json create mode 100644 components/lib/scrollpanel/style/ScrollPanelStyle.js create mode 100644 components/lib/scrollpanel/style/package.json create mode 100644 components/lib/scrolltop/style/ScrollTopStyle.js create mode 100644 components/lib/scrolltop/style/package.json create mode 100644 components/lib/selectbutton/style/SelectButtonStyle.js create mode 100644 components/lib/selectbutton/style/package.json create mode 100644 components/lib/sidebar/style/SidebarStyle.js create mode 100644 components/lib/sidebar/style/package.json create mode 100644 components/lib/skeleton/style/SkeletonStyle.js create mode 100644 components/lib/skeleton/style/package.json create mode 100644 components/lib/slider/style/SliderStyle.js create mode 100644 components/lib/slider/style/package.json create mode 100644 components/lib/speeddial/style/SpeedDialStyle.js create mode 100644 components/lib/speeddial/style/package.json create mode 100644 components/lib/splitbutton/style/SplitButtonStyle.js create mode 100644 components/lib/splitbutton/style/package.json create mode 100644 components/lib/splitter/style/SplitterStyle.js create mode 100644 components/lib/splitter/style/package.json create mode 100644 components/lib/splitterpanel/style/SplitterPanelStyle.js create mode 100644 components/lib/splitterpanel/style/package.json create mode 100644 components/lib/steps/style/StepsStyle.js create mode 100644 components/lib/steps/style/package.json create mode 100644 components/lib/styleclass/style/StyleClassStyle.js create mode 100644 components/lib/styleclass/style/package.json create mode 100644 components/lib/tabmenu/style/TabMenuStyle.js create mode 100644 components/lib/tabmenu/style/package.json create mode 100644 components/lib/tabpanel/style/TabPanelStyle.js create mode 100644 components/lib/tabpanel/style/package.json create mode 100644 components/lib/tabview/style/TabViewStyle.js create mode 100644 components/lib/tabview/style/package.json create mode 100644 components/lib/tag/style/TagStyle.js create mode 100644 components/lib/tag/style/package.json create mode 100644 components/lib/terminal/style/TerminalStyle.js create mode 100644 components/lib/terminal/style/package.json create mode 100644 components/lib/textarea/style/TextareaStyle.js create mode 100644 components/lib/textarea/style/package.json create mode 100644 components/lib/tieredmenu/style/TieredMenuStyle.js create mode 100644 components/lib/tieredmenu/style/package.json create mode 100644 components/lib/timeline/style/TimelineStyle.js create mode 100644 components/lib/timeline/style/package.json create mode 100644 components/lib/toast/style/ToastStyle.js create mode 100644 components/lib/toast/style/package.json create mode 100644 components/lib/togglebutton/style/ToggleButtonStyle.js create mode 100644 components/lib/togglebutton/style/package.json create mode 100644 components/lib/toolbar/style/ToolbarStyle.js create mode 100644 components/lib/toolbar/style/package.json create mode 100644 components/lib/tooltip/style/TooltipStyle.js create mode 100644 components/lib/tooltip/style/package.json create mode 100644 components/lib/tree/style/TreeStyle.js create mode 100644 components/lib/tree/style/package.json create mode 100644 components/lib/treeselect/style/TreeSelectStyle.js create mode 100644 components/lib/treeselect/style/package.json create mode 100644 components/lib/treetable/style/TreeTableStyle.js create mode 100644 components/lib/treetable/style/package.json create mode 100644 components/lib/tristatecheckbox/style/TriStateCheckboxStyle.js create mode 100644 components/lib/tristatecheckbox/style/package.json create mode 100644 components/lib/virtualscroller/style/VirtualScrollerStyle.js create mode 100644 components/lib/virtualscroller/style/package.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..b585a7616 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/.vscode/settings.team.json b/.vscode/settings.team.json index 36ff951d8..f633bc475 100644 --- a/.vscode/settings.team.json +++ b/.vscode/settings.team.json @@ -15,5 +15,9 @@ "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true } } diff --git a/build-meta.js b/build-meta.js index f6a85e403..fb7b86a1d 100644 --- a/build-meta.js +++ b/build-meta.js @@ -1,7 +1,7 @@ const fs = require('fs-extra'); const path = require('path'); -function copyDependencies(inFolder, outFolder) { +function copyDependencies(inFolder, outFolder, subFolder) { fs.readdirSync(path.resolve(__dirname, inFolder), { withFileTypes: true }) .filter((dir) => dir.isDirectory()) .forEach(({ name: folderName }) => { @@ -10,10 +10,20 @@ function copyDependencies(inFolder, outFolder) { fs.copySync(path.resolve(__dirname, inFolder + folderName) + '/' + file, outFolder + folderName + '/' + file); } }); + + if (subFolder) { + try { + fs.readdirSync(path.resolve(__dirname, inFolder + folderName + subFolder)).forEach((subFile) => { + if (subFile === 'package.json' || subFile.endsWith('d.ts') || subFile.endsWith('vue')) { + fs.copySync(path.resolve(__dirname, inFolder + folderName + subFolder) + '/' + subFile, outFolder + folderName + subFolder + '/' + subFile); + } + }); + } catch {} + } }); } -copyDependencies('./components/lib/', 'dist/'); +copyDependencies('./components/lib/', 'dist/', '/style'); copyDependencies('./components/lib/icons/', 'dist/icons/'); copyDependencies('./components/lib/passthrough/', 'dist/passthrough/'); diff --git a/components/lib/accordion/BaseAccordion.vue b/components/lib/accordion/BaseAccordion.vue index 1e52f77cc..3838578c3 100644 --- a/components/lib/accordion/BaseAccordion.vue +++ b/components/lib/accordion/BaseAccordion.vue @@ -1,53 +1,6 @@ diff --git a/components/lib/card/package.json b/components/lib/card/package.json index 7158047e2..8428e0ecd 100644 --- a/components/lib/card/package.json +++ b/components/lib/card/package.json @@ -1,9 +1,9 @@ { - "main": "./card.cjs.js", - "module": "./card.esm.js", - "unpkg": "./card.min.js", - "types": "./Card.d.ts", - "browser": { - "./sfc": "./Card.vue" - } -} \ No newline at end of file + "main": "./card.cjs.js", + "module": "./card.esm.js", + "unpkg": "./card.min.js", + "types": "./Card.d.ts", + "browser": { + "./sfc": "./Card.vue" + } +} diff --git a/components/lib/card/style/CardStyle.js b/components/lib/card/style/CardStyle.js new file mode 100644 index 000000000..f0dfcfd86 --- /dev/null +++ b/components/lib/card/style/CardStyle.js @@ -0,0 +1,17 @@ +import BaseStyle from 'primevue/base/style'; + +const classes = { + root: 'p-card p-component', + header: 'p-card-header', + body: 'p-card-body', + title: 'p-card-title', + subtitle: 'p-card-subtitle', + content: 'p-card-content', + footer: 'p-card-footer' +}; + +export default BaseStyle.extend({ + name: 'card', + classes, + loadStyle: () => {} +}); diff --git a/components/lib/card/style/package.json b/components/lib/card/style/package.json new file mode 100644 index 000000000..b96785ec3 --- /dev/null +++ b/components/lib/card/style/package.json @@ -0,0 +1,5 @@ +{ + "main": "./cardstyle.cjs.js", + "module": "./cardstyle.esm.js", + "unpkg": "./cardstyle.min.js" +} diff --git a/components/lib/carousel/BaseCarousel.vue b/components/lib/carousel/BaseCarousel.vue index 192f6ea63..aebfa47c4 100644 --- a/components/lib/carousel/BaseCarousel.vue +++ b/components/lib/carousel/BaseCarousel.vue @@ -1,136 +1,6 @@ diff --git a/components/lib/dynamicdialog/DynamicDialog.vue b/components/lib/dynamicdialog/DynamicDialog.vue index 18c90d3de..eaf532a3e 100644 --- a/components/lib/dynamicdialog/DynamicDialog.vue +++ b/components/lib/dynamicdialog/DynamicDialog.vue @@ -13,14 +13,14 @@ diff --git a/components/lib/editor/package.json b/components/lib/editor/package.json index dc6386c2b..7d3a27b95 100644 --- a/components/lib/editor/package.json +++ b/components/lib/editor/package.json @@ -1,9 +1,9 @@ { - "main": "./editor.cjs.js", - "module": "./editor.esm.js", - "unpkg": "./editor.min.js", - "types": "./Editor.d.ts", - "browser": { - "./sfc": "./Editor.vue" - } -} \ No newline at end of file + "main": "./editor.cjs.js", + "module": "./editor.esm.js", + "unpkg": "./editor.min.js", + "types": "./Editor.d.ts", + "browser": { + "./sfc": "./Editor.vue" + } +} diff --git a/components/lib/editor/style/EditorStyle.js b/components/lib/editor/style/EditorStyle.js new file mode 100644 index 000000000..412c95d8f --- /dev/null +++ b/components/lib/editor/style/EditorStyle.js @@ -0,0 +1,961 @@ +import BaseStyle from 'primevue/base/style'; + +const quillCSS = ` +/*! + * Quill Editor v1.3.3 + * https://quilljs.com/ + * Copyright (c) 2014, Jason Chen + * Copyright (c) 2013, salesforce.com + */ +.ql-container { + box-sizing: border-box; + font-family: Helvetica, Arial, sans-serif; + font-size: 13px; + height: 100%; + margin: 0px; + position: relative; +} +.ql-container.ql-disabled .ql-tooltip { + visibility: hidden; +} +.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before { + pointer-events: none; +} +.ql-clipboard { + left: -100000px; + height: 1px; + overflow-y: hidden; + position: absolute; + top: 50%; +} +.ql-clipboard p { + margin: 0; + padding: 0; +} +.ql-editor { + box-sizing: border-box; + line-height: 1.42; + height: 100%; + outline: none; + overflow-y: auto; + padding: 12px 15px; + tab-size: 4; + -moz-tab-size: 4; + text-align: left; + white-space: pre-wrap; + word-wrap: break-word; +} +.ql-editor > * { + cursor: text; +} +.ql-editor p, +.ql-editor ol, +.ql-editor ul, +.ql-editor pre, +.ql-editor blockquote, +.ql-editor h1, +.ql-editor h2, +.ql-editor h3, +.ql-editor h4, +.ql-editor h5, +.ql-editor h6 { + margin: 0; + padding: 0; + counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; +} +.ql-editor ol, +.ql-editor ul { + padding-left: 1.5rem; +} +.ql-editor ol > li, +.ql-editor ul > li { + list-style-type: none; +} +.ql-editor ul > li::before { + content: '\\2022'; +} +.ql-editor ul[data-checked='true'], +.ql-editor ul[data-checked='false'] { + pointer-events: none; +} +.ql-editor ul[data-checked='true'] > li *, +.ql-editor ul[data-checked='false'] > li * { + pointer-events: all; +} +.ql-editor ul[data-checked='true'] > li::before, +.ql-editor ul[data-checked='false'] > li::before { + color: #777; + cursor: pointer; + pointer-events: all; +} +.ql-editor ul[data-checked='true'] > li::before { + content: '\\2611'; +} +.ql-editor ul[data-checked='false'] > li::before { + content: '\\2610'; +} +.ql-editor li::before { + display: inline-block; + white-space: nowrap; + width: 1.2rem; +} +.ql-editor li:not(.ql-direction-rtl)::before { + margin-left: -1.5rem; + margin-right: 0.3rem; + text-align: right; +} +.ql-editor li.ql-direction-rtl::before { + margin-left: 0.3rem; + margin-right: -1.5rem; +} +.ql-editor ol li:not(.ql-direction-rtl), +.ql-editor ul li:not(.ql-direction-rtl) { + padding-left: 1.5rem; +} +.ql-editor ol li.ql-direction-rtl, +.ql-editor ul li.ql-direction-rtl { + padding-right: 1.5rem; +} +.ql-editor ol li { + counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; + counter-increment: list-0; +} +.ql-editor ol li:before { + content: counter(list-0, decimal) '. '; +} +.ql-editor ol li.ql-indent-1 { + counter-increment: list-1; +} +.ql-editor ol li.ql-indent-1:before { + content: counter(list-1, lower-alpha) '. '; +} +.ql-editor ol li.ql-indent-1 { + counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9; +} +.ql-editor ol li.ql-indent-2 { + counter-increment: list-2; +} +.ql-editor ol li.ql-indent-2:before { + content: counter(list-2, lower-roman) '. '; +} +.ql-editor ol li.ql-indent-2 { + counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9; +} +.ql-editor ol li.ql-indent-3 { + counter-increment: list-3; +} +.ql-editor ol li.ql-indent-3:before { + content: counter(list-3, decimal) '. '; +} +.ql-editor ol li.ql-indent-3 { + counter-reset: list-4 list-5 list-6 list-7 list-8 list-9; +} +.ql-editor ol li.ql-indent-4 { + counter-increment: list-4; +} +.ql-editor ol li.ql-indent-4:before { + content: counter(list-4, lower-alpha) '. '; +} +.ql-editor ol li.ql-indent-4 { + counter-reset: list-5 list-6 list-7 list-8 list-9; +} +.ql-editor ol li.ql-indent-5 { + counter-increment: list-5; +} +.ql-editor ol li.ql-indent-5:before { + content: counter(list-5, lower-roman) '. '; +} +.ql-editor ol li.ql-indent-5 { + counter-reset: list-6 list-7 list-8 list-9; +} +.ql-editor ol li.ql-indent-6 { + counter-increment: list-6; +} +.ql-editor ol li.ql-indent-6:before { + content: counter(list-6, decimal) '. '; +} +.ql-editor ol li.ql-indent-6 { + counter-reset: list-7 list-8 list-9; +} +.ql-editor ol li.ql-indent-7 { + counter-increment: list-7; +} +.ql-editor ol li.ql-indent-7:before { + content: counter(list-7, lower-alpha) '. '; +} +.ql-editor ol li.ql-indent-7 { + counter-reset: list-8 list-9; +} +.ql-editor ol li.ql-indent-8 { + counter-increment: list-8; +} +.ql-editor ol li.ql-indent-8:before { + content: counter(list-8, lower-roman) '. '; +} +.ql-editor ol li.ql-indent-8 { + counter-reset: list-9; +} +.ql-editor ol li.ql-indent-9 { + counter-increment: list-9; +} +.ql-editor ol li.ql-indent-9:before { + content: counter(list-9, decimal) '. '; +} +.ql-editor .ql-indent-1:not(.ql-direction-rtl) { + padding-left: 3rem; +} +.ql-editor li.ql-indent-1:not(.ql-direction-rtl) { + padding-left: 4.5rem; +} +.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right { + padding-right: 3rem; +} +.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right { + padding-right: 4.5rem; +} +.ql-editor .ql-indent-2:not(.ql-direction-rtl) { + padding-left: 6rem; +} +.ql-editor li.ql-indent-2:not(.ql-direction-rtl) { + padding-left: 7.5rem; +} +.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right { + padding-right: 6rem; +} +.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right { + padding-right: 7.5rem; +} +.ql-editor .ql-indent-3:not(.ql-direction-rtl) { + padding-left: 9rem; +} +.ql-editor li.ql-indent-3:not(.ql-direction-rtl) { + padding-left: 10.5rem; +} +.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right { + padding-right: 9rem; +} +.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right { + padding-right: 10.5rem; +} +.ql-editor .ql-indent-4:not(.ql-direction-rtl) { + padding-left: 12rem; +} +.ql-editor li.ql-indent-4:not(.ql-direction-rtl) { + padding-left: 13.5rem; +} +.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right { + padding-right: 12rem; +} +.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right { + padding-right: 13.5rem; +} +.ql-editor .ql-indent-5:not(.ql-direction-rtl) { + padding-left: 15rem; +} +.ql-editor li.ql-indent-5:not(.ql-direction-rtl) { + padding-left: 16.5rem; +} +.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right { + padding-right: 15rem; +} +.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right { + padding-right: 16.5rem; +} +.ql-editor .ql-indent-6:not(.ql-direction-rtl) { + padding-left: 18rem; +} +.ql-editor li.ql-indent-6:not(.ql-direction-rtl) { + padding-left: 19.5rem; +} +.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right { + padding-right: 18rem; +} +.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right { + padding-right: 19.5rem; +} +.ql-editor .ql-indent-7:not(.ql-direction-rtl) { + padding-left: 21rem; +} +.ql-editor li.ql-indent-7:not(.ql-direction-rtl) { + padding-left: 22.5rem; +} +.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right { + padding-right: 21rem; +} +.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right { + padding-right: 22.5rem; +} +.ql-editor .ql-indent-8:not(.ql-direction-rtl) { + padding-left: 24rem; +} +.ql-editor li.ql-indent-8:not(.ql-direction-rtl) { + padding-left: 25.5rem; +} +.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right { + padding-right: 24rem; +} +.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right { + padding-right: 25.5rem; +} +.ql-editor .ql-indent-9:not(.ql-direction-rtl) { + padding-left: 27rem; +} +.ql-editor li.ql-indent-9:not(.ql-direction-rtl) { + padding-left: 28.5rem; +} +.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right { + padding-right: 27rem; +} +.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right { + padding-right: 28.5rem; +} +.ql-editor .ql-video { + display: block; + max-width: 100%; +} +.ql-editor .ql-video.ql-align-center { + margin: 0 auto; +} +.ql-editor .ql-video.ql-align-right { + margin: 0 0 0 auto; +} +.ql-editor .ql-bg-black { + background-color: #000; +} +.ql-editor .ql-bg-red { + background-color: #e60000; +} +.ql-editor .ql-bg-orange { + background-color: #f90; +} +.ql-editor .ql-bg-yellow { + background-color: #ff0; +} +.ql-editor .ql-bg-green { + background-color: #008a00; +} +.ql-editor .ql-bg-blue { + background-color: #06c; +} +.ql-editor .ql-bg-purple { + background-color: #93f; +} +.ql-editor .ql-color-white { + color: #fff; +} +.ql-editor .ql-color-red { + color: #e60000; +} +.ql-editor .ql-color-orange { + color: #f90; +} +.ql-editor .ql-color-yellow { + color: #ff0; +} +.ql-editor .ql-color-green { + color: #008a00; +} +.ql-editor .ql-color-blue { + color: #06c; +} +.ql-editor .ql-color-purple { + color: #93f; +} +.ql-editor .ql-font-serif { + font-family: Georgia, Times New Roman, serif; +} +.ql-editor .ql-font-monospace { + font-family: Monaco, Courier New, monospace; +} +.ql-editor .ql-size-small { + font-size: 0.75rem; +} +.ql-editor .ql-size-large { + font-size: 1.5rem; +} +.ql-editor .ql-size-huge { + font-size: 2.5rem; +} +.ql-editor .ql-direction-rtl { + direction: rtl; + text-align: inherit; +} +.ql-editor .ql-align-center { + text-align: center; +} +.ql-editor .ql-align-justify { + text-align: justify; +} +.ql-editor .ql-align-right { + text-align: right; +} +.ql-editor.ql-blank::before { + color: rgba(0, 0, 0, 0.6); + content: attr(data-placeholder); + font-style: italic; + left: 15px; + pointer-events: none; + position: absolute; + right: 15px; +} +.ql-snow.ql-toolbar:after, +.ql-snow .ql-toolbar:after { + clear: both; + content: ''; + display: table; +} +.ql-snow.ql-toolbar button, +.ql-snow .ql-toolbar button { + background: none; + border: none; + cursor: pointer; + display: inline-block; + float: left; + height: 24px; + padding: 3px 5px; + width: 28px; +} +.ql-snow.ql-toolbar button svg, +.ql-snow .ql-toolbar button svg { + float: left; + height: 100%; +} +.ql-snow.ql-toolbar button:active:hover, +.ql-snow .ql-toolbar button:active:hover { + outline: none; +} +.ql-snow.ql-toolbar input.ql-image[type='file'], +.ql-snow .ql-toolbar input.ql-image[type='file'] { + display: none; +} +.ql-snow.ql-toolbar button:hover, +.ql-snow .ql-toolbar button:hover, +.ql-snow.ql-toolbar button:focus, +.ql-snow .ql-toolbar button:focus, +.ql-snow.ql-toolbar button.ql-active, +.ql-snow .ql-toolbar button.ql-active, +.ql-snow.ql-toolbar .ql-picker-label:hover, +.ql-snow .ql-toolbar .ql-picker-label:hover, +.ql-snow.ql-toolbar .ql-picker-label.ql-active, +.ql-snow .ql-toolbar .ql-picker-label.ql-active, +.ql-snow.ql-toolbar .ql-picker-item:hover, +.ql-snow .ql-toolbar .ql-picker-item:hover, +.ql-snow.ql-toolbar .ql-picker-item.ql-selected, +.ql-snow .ql-toolbar .ql-picker-item.ql-selected { + color: #06c; +} +.ql-snow.ql-toolbar button:hover .ql-fill, +.ql-snow .ql-toolbar button:hover .ql-fill, +.ql-snow.ql-toolbar button:focus .ql-fill, +.ql-snow .ql-toolbar button:focus .ql-fill, +.ql-snow.ql-toolbar button.ql-active .ql-fill, +.ql-snow .ql-toolbar button.ql-active .ql-fill, +.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill, +.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill, +.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill, +.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill, +.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill, +.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill, +.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill, +.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill, +.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill, +.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill, +.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill, +.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill, +.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill, +.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill, +.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, +.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill, +.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, +.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill, +.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, +.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill, +.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill, +.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill { + fill: #06c; +} +.ql-snow.ql-toolbar button:hover .ql-stroke, +.ql-snow .ql-toolbar button:hover .ql-stroke, +.ql-snow.ql-toolbar button:focus .ql-stroke, +.ql-snow .ql-toolbar button:focus .ql-stroke, +.ql-snow.ql-toolbar button.ql-active .ql-stroke, +.ql-snow .ql-toolbar button.ql-active .ql-stroke, +.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke, +.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke, +.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke, +.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke, +.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke, +.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke, +.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke, +.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke, +.ql-snow.ql-toolbar button:hover .ql-stroke-miter, +.ql-snow .ql-toolbar button:hover .ql-stroke-miter, +.ql-snow.ql-toolbar button:focus .ql-stroke-miter, +.ql-snow .ql-toolbar button:focus .ql-stroke-miter, +.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter, +.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter, +.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter, +.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter, +.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, +.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter, +.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter, +.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter, +.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter, +.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter { + stroke: #06c; +} +@media (pointer: coarse) { + .ql-snow.ql-toolbar button:hover:not(.ql-active), + .ql-snow .ql-toolbar button:hover:not(.ql-active) { + color: #444; + } + .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill, + .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill, + .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill, + .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill { + fill: #444; + } + .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke, + .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke, + .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter, + .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter { + stroke: #444; + } +} +.ql-snow { + box-sizing: border-box; +} +.ql-snow * { + box-sizing: border-box; +} +.ql-snow .ql-hidden { + display: none; +} +.ql-snow .ql-out-bottom, +.ql-snow .ql-out-top { + visibility: hidden; +} +.ql-snow .ql-tooltip { + position: absolute; + transform: translateY(10px); +} +.ql-snow .ql-tooltip a { + cursor: pointer; + text-decoration: none; +} +.ql-snow .ql-tooltip.ql-flip { + transform: translateY(-10px); +} +.ql-snow .ql-formats { + display: inline-block; + vertical-align: middle; +} +.ql-snow .ql-formats:after { + clear: both; + content: ''; + display: table; +} +.ql-snow .ql-stroke { + fill: none; + stroke: #444; + stroke-linecap: round; + stroke-linejoin: round; + stroke-width: 2; +} +.ql-snow .ql-stroke-miter { + fill: none; + stroke: #444; + stroke-miterlimit: 10; + stroke-width: 2; +} +.ql-snow .ql-fill, +.ql-snow .ql-stroke.ql-fill { + fill: #444; +} +.ql-snow .ql-empty { + fill: none; +} +.ql-snow .ql-even { + fill-rule: evenodd; +} +.ql-snow .ql-thin, +.ql-snow .ql-stroke.ql-thin { + stroke-width: 1; +} +.ql-snow .ql-transparent { + opacity: 0.4; +} +.ql-snow .ql-direction svg:last-child { + display: none; +} +.ql-snow .ql-direction.ql-active svg:last-child { + display: inline; +} +.ql-snow .ql-direction.ql-active svg:first-child { + display: none; +} +.ql-snow .ql-editor h1 { + font-size: 2rem; +} +.ql-snow .ql-editor h2 { + font-size: 1.5rem; +} +.ql-snow .ql-editor h3 { + font-size: 1.17rem; +} +.ql-snow .ql-editor h4 { + font-size: 1rem; +} +.ql-snow .ql-editor h5 { + font-size: 0.83rem; +} +.ql-snow .ql-editor h6 { + font-size: 0.67rem; +} +.ql-snow .ql-editor a { + text-decoration: underline; +} +.ql-snow .ql-editor blockquote { + border-left: 4px solid #ccc; + margin-bottom: 5px; + margin-top: 5px; + padding-left: 16px; +} +.ql-snow .ql-editor code, +.ql-snow .ql-editor pre { + background-color: #f0f0f0; + border-radius: 3px; +} +.ql-snow .ql-editor pre { + white-space: pre-wrap; + margin-bottom: 5px; + margin-top: 5px; + padding: 5px 10px; +} +.ql-snow .ql-editor code { + font-size: 85%; + padding: 2px 4px; +} +.ql-snow .ql-editor pre.ql-syntax { + background-color: #23241f; + color: #f8f8f2; + overflow: visible; +} +.ql-snow .ql-editor img { + max-width: 100%; +} +.ql-snow .ql-picker { + color: #444; + display: inline-block; + float: left; + font-size: 14px; + font-weight: 500; + height: 24px; + position: relative; + vertical-align: middle; +} +.ql-snow .ql-picker-label { + cursor: pointer; + display: inline-block; + height: 100%; + padding-left: 8px; + padding-right: 2px; + position: relative; + width: 100%; +} +.ql-snow .ql-picker-label::before { + display: inline-block; + line-height: 22px; +} +.ql-snow .ql-picker-options { + background-color: #fff; + display: none; + min-width: 100%; + padding: 4px 8px; + position: absolute; + white-space: nowrap; +} +.ql-snow .ql-picker-options .ql-picker-item { + cursor: pointer; + display: block; + padding-bottom: 5px; + padding-top: 5px; +} +.ql-snow .ql-picker.ql-expanded .ql-picker-label { + color: #ccc; + z-index: 2; +} +.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill { + fill: #ccc; +} +.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke { + stroke: #ccc; +} +.ql-snow .ql-picker.ql-expanded .ql-picker-options { + display: block; + margin-top: -1px; + top: 100%; + z-index: 1; +} +.ql-snow .ql-color-picker, +.ql-snow .ql-icon-picker { + width: 28px; +} +.ql-snow .ql-color-picker .ql-picker-label, +.ql-snow .ql-icon-picker .ql-picker-label { + padding: 2px 4px; +} +.ql-snow .ql-color-picker .ql-picker-label svg, +.ql-snow .ql-icon-picker .ql-picker-label svg { + right: 4px; +} +.ql-snow .ql-icon-picker .ql-picker-options { + padding: 4px 0px; +} +.ql-snow .ql-icon-picker .ql-picker-item { + height: 24px; + width: 24px; + padding: 2px 4px; +} +.ql-snow .ql-color-picker .ql-picker-options { + padding: 3px 5px; + width: 152px; +} +.ql-snow .ql-color-picker .ql-picker-item { + border: 1px solid transparent; + float: left; + height: 16px; + margin: 2px; + padding: 0px; + width: 16px; +} +.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg { + position: absolute; + margin-top: -9px; + right: 0; + top: 50%; + width: 18px; +} +.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before, +.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before, +.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before, +.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before, +.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before, +.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before { + content: attr(data-label); +} +.ql-snow .ql-picker.ql-header { + width: 98px; +} +.ql-snow .ql-picker.ql-header .ql-picker-label::before, +.ql-snow .ql-picker.ql-header .ql-picker-item::before { + content: 'Normal'; +} +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='1']::before, +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='1']::before { + content: 'Heading 1'; +} +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='2']::before, +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='2']::before { + content: 'Heading 2'; +} +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='3']::before, +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='3']::before { + content: 'Heading 3'; +} +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='4']::before, +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='4']::before { + content: 'Heading 4'; +} +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='5']::before, +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='5']::before { + content: 'Heading 5'; +} +.ql-snow .ql-picker.ql-header .ql-picker-label[data-value='6']::before, +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='6']::before { + content: 'Heading 6'; +} +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='1']::before { + font-size: 2rem; +} +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='2']::before { + font-size: 1.5rem; +} +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='3']::before { + font-size: 1.17rem; +} +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='4']::before { + font-size: 1rem; +} +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='5']::before { + font-size: 0.83rem; +} +.ql-snow .ql-picker.ql-header .ql-picker-item[data-value='6']::before { + font-size: 0.67rem; +} +.ql-snow .ql-picker.ql-font { + width: 108px; +} +.ql-snow .ql-picker.ql-font .ql-picker-label::before, +.ql-snow .ql-picker.ql-font .ql-picker-item::before { + content: 'Sans Serif'; +} +.ql-snow .ql-picker.ql-font .ql-picker-label[data-value='serif']::before, +.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='serif']::before { + content: 'Serif'; +} +.ql-snow .ql-picker.ql-font .ql-picker-label[data-value='monospace']::before, +.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='monospace']::before { + content: 'Monospace'; +} +.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='serif']::before { + font-family: Georgia, Times New Roman, serif; +} +.ql-snow .ql-picker.ql-font .ql-picker-item[data-value='monospace']::before { + font-family: Monaco, Courier New, monospace; +} +.ql-snow .ql-picker.ql-size { + width: 98px; +} +.ql-snow .ql-picker.ql-size .ql-picker-label::before, +.ql-snow .ql-picker.ql-size .ql-picker-item::before { + content: 'Normal'; +} +.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='small']::before, +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='small']::before { + content: 'Small'; +} +.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='large']::before, +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='large']::before { + content: 'Large'; +} +.ql-snow .ql-picker.ql-size .ql-picker-label[data-value='huge']::before, +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='huge']::before { + content: 'Huge'; +} +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='small']::before { + font-size: 10px; +} +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='large']::before { + font-size: 18px; +} +.ql-snow .ql-picker.ql-size .ql-picker-item[data-value='huge']::before { + font-size: 32px; +} +.ql-snow .ql-color-picker.ql-background .ql-picker-item { + background-color: #fff; +} +.ql-snow .ql-color-picker.ql-color .ql-picker-item { + background-color: #000; +} +.ql-toolbar.ql-snow { + border: 1px solid #ccc; + box-sizing: border-box; + font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif; + padding: 8px; +} +.ql-toolbar.ql-snow .ql-formats { + margin-right: 15px; +} +.ql-toolbar.ql-snow .ql-picker-label { + border: 1px solid transparent; +} +.ql-toolbar.ql-snow .ql-picker-options { + border: 1px solid transparent; + box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px; +} +.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label { + border-color: #ccc; +} +.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options { + border-color: #ccc; +} +.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected, +.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover { + border-color: #000; +} +.ql-toolbar.ql-snow + .ql-container.ql-snow { + border-top: 0px; +} +.ql-snow .ql-tooltip { + background-color: #fff; + border: 1px solid #ccc; + box-shadow: 0px 0px 5px #ddd; + color: #444; + padding: 5px 12px; + white-space: nowrap; +} +.ql-snow .ql-tooltip::before { + content: 'Visit URL:'; + line-height: 26px; + margin-right: 8px; +} +.ql-snow .ql-tooltip input[type='text'] { + display: none; + border: 1px solid #ccc; + font-size: 13px; + height: 26px; + margin: 0px; + padding: 3px 5px; + width: 170px; +} +.ql-snow .ql-tooltip a.ql-preview { + display: inline-block; + max-width: 200px; + overflow-x: hidden; + text-overflow: ellipsis; + vertical-align: top; +} +.ql-snow .ql-tooltip a.ql-action::after { + border-right: 1px solid #ccc; + content: 'Edit'; + margin-left: 16px; + padding-right: 8px; +} +.ql-snow .ql-tooltip a.ql-remove::before { + content: 'Remove'; + margin-left: 8px; +} +.ql-snow .ql-tooltip a { + line-height: 26px; +} +.ql-snow .ql-tooltip.ql-editing a.ql-preview, +.ql-snow .ql-tooltip.ql-editing a.ql-remove { + display: none; +} +.ql-snow .ql-tooltip.ql-editing input[type='text'] { + display: inline-block; +} +.ql-snow .ql-tooltip.ql-editing a.ql-action::after { + border-right: 0px; + content: 'Save'; + padding-right: 0px; +} +.ql-snow .ql-tooltip[data-mode='link']::before { + content: 'Enter link:'; +} +.ql-snow .ql-tooltip[data-mode='formula']::before { + content: 'Enter formula:'; +} +.ql-snow .ql-tooltip[data-mode='video']::before { + content: 'Enter video:'; +} +.ql-snow a { + color: #06c; +} +.ql-container.ql-snow { + border: 1px solid #ccc; +} +`; + +const classes = { + root: 'p-editor-container', + toolbar: 'p-editor-toolbar', + content: 'p-editor-content' +}; + +export default BaseStyle.extend({ + name: 'editor', + css: quillCSS, + classes +}); diff --git a/components/lib/editor/style/package.json b/components/lib/editor/style/package.json new file mode 100644 index 000000000..c15319822 --- /dev/null +++ b/components/lib/editor/style/package.json @@ -0,0 +1,5 @@ +{ + "main": "./editorstyle.cjs.js", + "module": "./editorstyle.esm.js", + "unpkg": "./editorstyle.min.js" +} diff --git a/components/lib/fieldset/BaseFieldset.vue b/components/lib/fieldset/BaseFieldset.vue index d5203616c..cf5bb673c 100644 --- a/components/lib/fieldset/BaseFieldset.vue +++ b/components/lib/fieldset/BaseFieldset.vue @@ -1,46 +1,6 @@ diff --git a/components/lib/inputmask/package.json b/components/lib/inputmask/package.json index 024546eb7..9aff9e7e5 100644 --- a/components/lib/inputmask/package.json +++ b/components/lib/inputmask/package.json @@ -1,9 +1,9 @@ { - "main": "./inputmask.cjs.js", - "module": "./inputmask.esm.js", - "unpkg": "./inputmask.min.js", - "types": "./InputMask.d.ts", - "browser": { - "./sfc": "./InputMask.vue" - } -} \ No newline at end of file + "main": "./inputmask.cjs.js", + "module": "./inputmask.esm.js", + "unpkg": "./inputmask.min.js", + "types": "./InputMask.d.ts", + "browser": { + "./sfc": "./InputMask.vue" + } +} diff --git a/components/lib/inputmask/style/InputMaskStyle.js b/components/lib/inputmask/style/InputMaskStyle.js new file mode 100644 index 000000000..6ee2dd37c --- /dev/null +++ b/components/lib/inputmask/style/InputMaskStyle.js @@ -0,0 +1,16 @@ +import BaseStyle from 'primevue/base/style'; + +const classes = { + root: ({ instance }) => [ + 'p-inputmask p-inputtext p-component', + { + 'p-filled': instance.filled + } + ] +}; + +export default BaseStyle.extend({ + name: 'inputmask', + classes, + loadStyle: () => {} +}); diff --git a/components/lib/inputmask/style/package.json b/components/lib/inputmask/style/package.json new file mode 100644 index 000000000..cfc753099 --- /dev/null +++ b/components/lib/inputmask/style/package.json @@ -0,0 +1,5 @@ +{ + "main": "./inputmaskstyle.cjs.js", + "module": "./inputmaskstyle.esm.js", + "unpkg": "./inputmaskstyle.min.js" +} diff --git a/components/lib/inputnumber/BaseInputNumber.vue b/components/lib/inputnumber/BaseInputNumber.vue index 866d66cf5..9f8e5a2eb 100644 --- a/components/lib/inputnumber/BaseInputNumber.vue +++ b/components/lib/inputnumber/BaseInputNumber.vue @@ -1,140 +1,6 @@ diff --git a/components/lib/tabpanel/package.json b/components/lib/tabpanel/package.json index fa8d635c3..fac1fed66 100644 --- a/components/lib/tabpanel/package.json +++ b/components/lib/tabpanel/package.json @@ -1,9 +1,9 @@ { - "main": "./tabpanel.cjs.js", - "module": "./tabpanel.esm.js", - "unpkg": "./tabpanel.min.js", - "types": "./TabPanel.d.ts", - "browser": { - "./sfc": "./TabPanel.vue" - } -} \ No newline at end of file + "main": "./tabpanel.cjs.js", + "module": "./tabpanel.esm.js", + "unpkg": "./tabpanel.min.js", + "types": "./TabPanel.d.ts", + "browser": { + "./sfc": "./TabPanel.vue" + } +} diff --git a/components/lib/tabpanel/style/TabPanelStyle.js b/components/lib/tabpanel/style/TabPanelStyle.js new file mode 100644 index 000000000..ff8b4c563 --- /dev/null +++ b/components/lib/tabpanel/style/TabPanelStyle.js @@ -0,0 +1 @@ +export default {}; diff --git a/components/lib/tabpanel/style/package.json b/components/lib/tabpanel/style/package.json new file mode 100644 index 000000000..d06bc5edd --- /dev/null +++ b/components/lib/tabpanel/style/package.json @@ -0,0 +1,5 @@ +{ + "main": "./tabpanelstyle.cjs.js", + "module": "./tabpanelstyle.esm.js", + "unpkg": "./tabpanelstyle.min.js" +} diff --git a/components/lib/tabview/BaseTabView.vue b/components/lib/tabview/BaseTabView.vue index 0c53a228f..6a13a00ff 100644 --- a/components/lib/tabview/BaseTabView.vue +++ b/components/lib/tabview/BaseTabView.vue @@ -1,111 +1,6 @@ diff --git a/components/lib/virtualscroller/package.json b/components/lib/virtualscroller/package.json index de1ab36fe..6bfc771e0 100644 --- a/components/lib/virtualscroller/package.json +++ b/components/lib/virtualscroller/package.json @@ -4,6 +4,6 @@ "unpkg": "./virtualscroller.min.js", "types": "./VirtualScroller.d.ts", "browser": { - "./sfc": "./VirtualScroller.vue" + "./sfc": "./VirtualScroller.vue" } - } \ No newline at end of file +} diff --git a/components/lib/virtualscroller/style/VirtualScrollerStyle.js b/components/lib/virtualscroller/style/VirtualScrollerStyle.js new file mode 100644 index 000000000..e14b74b5a --- /dev/null +++ b/components/lib/virtualscroller/style/VirtualScrollerStyle.js @@ -0,0 +1,69 @@ +import BaseStyle from 'primevue/base/style'; + +const css = ` +.p-virtualscroller { + position: relative; + overflow: auto; + contain: strict; + transform: translateZ(0); + will-change: scroll-position; + outline: 0 none; +} + +.p-virtualscroller-content { + position: absolute; + top: 0; + left: 0; + /* contain: content; */ + min-height: 100%; + min-width: 100%; + will-change: transform; +} + +.p-virtualscroller-spacer { + position: absolute; + top: 0; + left: 0; + height: 1px; + width: 1px; + transform-origin: 0 0; + pointer-events: none; +} + +.p-virtualscroller .p-virtualscroller-loader { + position: sticky; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.p-virtualscroller-loader.p-component-overlay { + display: flex; + align-items: center; + justify-content: center; +} + +.p-virtualscroller-loading-icon { + font-size: 2rem; +} + +.p-virtualscroller-loading-icon.p-icon { + width: 2rem; + height: 2rem; +} + +.p-virtualscroller-horizontal > .p-virtualscroller-content { + display: flex; +} + +/* Inline */ +.p-virtualscroller-inline .p-virtualscroller-content { + position: static; +} +`; + +export default BaseStyle.extend({ + name: 'virtualscroller', + css +}); diff --git a/components/lib/virtualscroller/style/package.json b/components/lib/virtualscroller/style/package.json new file mode 100644 index 000000000..c1fe88767 --- /dev/null +++ b/components/lib/virtualscroller/style/package.json @@ -0,0 +1,5 @@ +{ + "main": "./virtualscrollerstyle.cjs.js", + "module": "./virtualscrollerstyle.esm.js", + "unpkg": "./virtualscrollerstyle.min.js" +} diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 12fae68b0..50c970d5a 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -49641,4 +49641,4 @@ } } } -} \ No newline at end of file +} diff --git a/package-build.json b/package-build.json index 9aed1938b..a703c6082 100644 --- a/package-build.json +++ b/package-build.json @@ -10,21 +10,7 @@ "bugs": { "url": "https://github.com/primefaces/primevue/issues" }, - "keywords": [ - "primevue", - "vue", - "vue.js", - "vue2", - "vue3", - "ui library", - "component library", - "material", - "bootstrap", - "fluent", - "tailwind", - "unstyled", - "passthrough" - ], + "keywords": ["primevue", "vue", "vue.js", "vue2", "vue3", "ui library", "component library", "material", "bootstrap", "fluent", "tailwind", "unstyled", "passthrough"], "web-types": "./web-types.json", "vetur": { "tags": "./vetur-tags.json", @@ -33,4 +19,4 @@ "peerDependencies": { "vue": "^3.0.0" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 3fa722a84..bbc38c582 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "build:package": "NODE_ENV=production rollup -c && node build-meta && node api-generator/build-api && gulp build-styles", "build:check": "npm run format:check && npm run security:check", "security:check": "npm audit --production --audit-level high", - "format": "prettier --write \"**/*.{js,vue,d.ts}\" --cache", - "format:check": "prettier --check \"**/*.{js,vue,d.ts}\"", + "format": "prettier --write \"**/*.{js,vue,d.ts,json}\" --cache", + "format:check": "prettier --check \"**/*.{js,vue,d.ts,json}\"", "test:unit": "vitest run", "test:unit:watch": "vitest watch", "test:coverage": "vitest run --coverage", @@ -82,4 +82,4 @@ "nuxt-gtag": "^0.6.2", "vee-validate": "^4.8.2" } -} \ No newline at end of file +} diff --git a/rollup.config.js b/rollup.config.js index b5c129a3c..2c1a80e51 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -64,10 +64,112 @@ const CORE_PASSTHROUGH_DEPENDENCIES = { 'primevue/passthrough/tailwind': 'primevue.passthrough.tailwind' }; +const CORE_STYLE_DEPENDENCIES = { + 'primevue/base/style': 'primevue.base.style', + 'primevue/basecomponent/style': 'primevue.basecomponent.style', + 'primevue/accordion/style': 'primevue.accordion.style', + 'primevue/accordiontab/style': 'primevue.accordiontab.style', + 'primevue/autocomplete/style': 'primevue.autocomplete.style', + 'primevue/avatar/style': 'primevue.avatar.style', + 'primevue/avatargroup/style': 'primevue.avatargroup.style', + 'primevue/badge/style': 'primevue.badge.style', + 'primevue/badgedirective/style': 'primevue.badgedirective.style', + 'primevue/baseicon/style': 'primevue.baseicon.style', + 'primevue/blockui/style': 'primevue.blockui.style', + 'primevue/breadcrumb/style': 'primevue.breadcrumb.style', + 'primevue/button/style': 'primevue.button.style', + 'primevue/calendar/style': 'primevue.calendar.style', + 'primevue/card/style': 'primevue.card.style', + 'primevue/carousel/style': 'primevue.carousel.style', + 'primevue/cascadeselect/style': 'primevue.cascadeselect.style', + 'primevue/chart/style': 'primevue.chart.style', + 'primevue/checkbox/style': 'primevue.checkbox.style', + 'primevue/chip/style': 'primevue.chip.style', + 'primevue/chips/style': 'primevue.chips.style', + 'primevue/colorpicker/style': 'primevue.colorpicker.style', + 'primevue/column/style': 'primevue.column.style', + 'primevue/columngroup/style': 'primevue.columngroup.style', + 'primevue/confirmdialog/style': 'primevue.confirmdialog.style', + 'primevue/confirmpopup/style': 'primevue.confirmpopup.style', + 'primevue/contextmenu/style': 'primevue.contextmenu.style', + 'primevue/datatable/style': 'primevue.datatable.style', + 'primevue/dataview/style': 'primevue.dataview.style', + 'primevue/dataviewlayoutoptions/style': 'primevue.dataviewlayoutoptions.style', + 'primevue/deferredcontent/style': 'primevue.deferredcontent.style', + 'primevue/dialog/style': 'primevue.dialog.style', + 'primevue/divider/style': 'primevue.divider.style', + 'primevue/dock/style': 'primevue.dock.style', + 'primevue/dropdown/style': 'primevue.dropdown.style', + 'primevue/dynamicdialog/style': 'primevue.dynamicdialog.style', + 'primevue/editor/style': 'primevue.editor.style', + 'primevue/fieldset/style': 'primevue.fieldset.style', + 'primevue/fileupload/style': 'primevue.fileupload.style', + 'primevue/focustrap/style': 'primevue.focustrap.style', + 'primevue/galleria/style': 'primevue.galleria.style', + 'primevue/image/style': 'primevue.image.style', + 'primevue/inlinemessage/style': 'primevue.inlinemessage.style', + 'primevue/inplace/style': 'primevue.inplace.style', + 'primevue/inputmask/style': 'primevue.inputmask.style', + 'primevue/inputnumber/style': 'primevue.inputnumber.style', + 'primevue/inputswitch/style': 'primevue.inputswitch.style', + 'primevue/inputtext/style': 'primevue.inputtext.style', + 'primevue/knob/style': 'primevue.knob.style', + 'primevue/listbox/style': 'primevue.listbox.style', + 'primevue/megamenu/style': 'primevue.megamenu.style', + 'primevue/menu/style': 'primevue.menu.style', + 'primevue/menubar/style': 'primevue.menubar.style', + 'primevue/message/style': 'primevue.message.style', + 'primevue/multiselect/style': 'primevue.multiselect.style', + 'primevue/orderlist/style': 'primevue.orderlist.style', + 'primevue/organizationchart/style': 'primevue.organizationchart.style', + 'primevue/overlaypanel/style': 'primevue.overlaypanel.style', + 'primevue/paginator/style': 'primevue.paginator.style', + 'primevue/panel/style': 'primevue.panel.style', + 'primevue/panelmenu/style': 'primevue.panelmenu.style', + 'primevue/password/style': 'primevue.password.style', + 'primevue/picklist/style': 'primevue.picklist.style', + 'primevue/portal/style': 'primevue.portal.style', + 'primevue/progressbar/style': 'primevue.progressbar.style', + 'primevue/progressspinner/style': 'primevue.progressspinner.style', + 'primevue/radiobutton/style': 'primevue.radiobutton.style', + 'primevue/rating/style': 'primevue.rating.style', + 'primevue/ripple/style': 'primevue.ripple.style', + 'primevue/row/style': 'primevue.row.style', + 'primevue/scrollpanel/style': 'primevue.scrollpanel.style', + 'primevue/scrolltop/style': 'primevue.scrolltop.style', + 'primevue/selectbutton/style': 'primevue.selectbutton.style', + 'primevue/sidebar/style': 'primevue.sidebar.style', + 'primevue/skeleton/style': 'primevue.skeleton.style', + 'primevue/slider/style': 'primevue.slider.style', + 'primevue/speeddial/style': 'primevue.speeddial.style', + 'primevue/splitbutton/style': 'primevue.splitbutton.style', + 'primevue/splitter/style': 'primevue.splitter.style', + 'primevue/splitterpanel/style': 'primevue.splitterpanel.style', + 'primevue/steps/style': 'primevue.steps.style', + 'primevue/tabmenu/style': 'primevue.tabmenu.style', + 'primevue/tabpanel/style': 'primevue.tabpanel.style', + 'primevue/tabview/style': 'primevue.tabview.style', + 'primevue/tag/style': 'primevue.tag.style', + 'primevue/terminal/style': 'primevue.terminal.style', + 'primevue/textarea/style': 'primevue.textarea.style', + 'primevue/tieredmenu/style': 'primevue.tieredmenu.style', + 'primevue/timeline/style': 'primevue.timeline.style', + 'primevue/toast/style': 'primevue.toast.style', + 'primevue/togglebutton/style': 'primevue.togglebutton.style', + 'primevue/toolbar/style': 'primevue.toolbar.style', + 'primevue/tooltip/style': 'primevue.tooltip.style', + 'primevue/tree/style': 'primevue.tree.style', + 'primevue/treeselect/style': 'primevue.treeselect.style', + 'primevue/treetable/style': 'primevue.treetable.style', + 'primevue/tristatecheckbox/style': 'primevue.tristatecheckbox.style', + 'primevue/virtualscroller/style': 'primevue.virtualscroller.style' +}; + const CORE_DEPENDENCIES = { 'primevue/utils': 'primevue.utils', 'primevue/api': 'primevue.api', 'primevue/config': 'primevue.config', + ...CORE_STYLE_DEPENDENCIES, 'primevue/usestyle': 'primevue.usestyle', 'primevue/base': 'primevue.base', 'primevue/basedirective': 'primevue.basedirective', @@ -142,7 +244,7 @@ const TERSER_PLUGIN_OPTIONS = { const PLUGINS = [vue(), postcss(POSTCSS_PLUGIN_OPTIONS), babel(BABEL_PLUGIN_OPTIONS)]; function addEntry(folder, inFile, outFile) { - const exports = inFile === 'PrimeVue.js' ? 'named' : 'auto'; + const exports = inFile === 'PrimeVue.js' || folder === 'passthrough/tailwind' ? 'named' : 'auto'; const useCorePlugin = Object.keys(GLOBAL_COMPONENT_DEPENDENCIES).some((d) => d.replace('primevue/', '') === folder); const plugins = PLUGINS; const external = EXTERNAL_COMPONENT; @@ -275,6 +377,22 @@ function addIcon() { }); } +function addStyle() { + fs.readdirSync(path.resolve(__dirname, './components/lib'), { withFileTypes: true }) + .filter((dir) => dir.isDirectory()) + .forEach(({ name: folderName }) => { + try { + fs.readdirSync(path.resolve(__dirname, './components/lib/' + folderName + '/style')).forEach((file) => { + if (/\.js$/.test(file)) { + let name = file.split(/(.js)$/)[0].toLowerCase(); + + addEntry(folderName + '/style', file, name); + } + }); + } catch {} + }); +} + function addDirectives() { addEntry('basedirective', 'BaseDirective.js', 'basedirective'); addEntry('badgedirective', 'BadgeDirective.js', 'badgedirective'); @@ -321,6 +439,7 @@ function addServices() { } addUtils(); +addStyle(); addBase(); addApi(); addConfig(); diff --git a/tsconfig.json b/tsconfig.json index 9e5d89444..22d582756 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,20 +1,20 @@ { - "compilerOptions": { - "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "skipLibCheck": false, - "strict": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, - "isolatedModules": false, - "jsx": "preserve", - "incremental": true, - }, - "include": ["**/*.ts"], - "exclude": ["node_modules", "dist"] + "compilerOptions": { + "target": "es5", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": false, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": false, + "jsx": "preserve", + "incremental": true + }, + "include": ["**/*.ts"], + "exclude": ["node_modules", "dist"] } diff --git a/vite.config.js b/vite.config.js index f6be84c24..ca4be2b06 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,8 +1,163 @@ import path from 'path'; +/* @todo: Refactor alias: https://github.com/rollup/plugins/tree/master/packages/alias#regular-expression-aliases */ + +const STYLE_ALIAS = { + 'primevue/base/style': path.resolve(__dirname, './components/lib/base/style/BaseStyle.js'), + 'primevue/basecomponent/style': path.resolve(__dirname, './components/lib/basecomponent/style/BaseComponentStyle.js'), + 'primevue/accordion/style': path.resolve(__dirname, './components/lib/accordion/style/AccordionStyle.js'), + 'primevue/accordiontab/style': path.resolve(__dirname, './components/lib/accordiontab/style/AccordionTabStyle.js'), + 'primevue/autocomplete/style': path.resolve(__dirname, './components/lib/autocomplete/style/AutoCompleteStyle.js'), + 'primevue/avatar/style': path.resolve(__dirname, './components/lib/avatar/style/AvatarStyle.js'), + 'primevue/avatargroup/style': path.resolve(__dirname, './components/lib/avatargroup/style/AvatarGroupStyle.js'), + 'primevue/badge/style': path.resolve(__dirname, './components/lib/badge/style/BadgeStyle.js'), + 'primevue/badgedirective/style': path.resolve(__dirname, './components/lib/badgedirective/style/BadgeDirectiveStyle.js'), + 'primevue/baseicon/style': path.resolve(__dirname, './components/lib/baseicon/style/BaseIconStyle.js'), + 'primevue/blockui/style': path.resolve(__dirname, './components/lib/blockui/style/BlockUIStyle.js'), + 'primevue/breadcrumb/style': path.resolve(__dirname, './components/lib/breadcrumb/style/BreadcrumbStyle.js'), + 'primevue/button/style': path.resolve(__dirname, './components/lib/button/style/ButtonStyle.js'), + 'primevue/calendar/style': path.resolve(__dirname, './components/lib/calendar/style/CalendarStyle.js'), + 'primevue/card/style': path.resolve(__dirname, './components/lib/card/style/CardStyle.js'), + 'primevue/carousel/style': path.resolve(__dirname, './components/lib/carousel/style/CarouselStyle.js'), + 'primevue/cascadeselect/style': path.resolve(__dirname, './components/lib/cascadeselect/style/CascadeSelectStyle.js'), + 'primevue/chart/style': path.resolve(__dirname, './components/lib/chart/style/ChartStyle.js'), + 'primevue/checkbox/style': path.resolve(__dirname, './components/lib/checkbox/style/CheckboxStyle.js'), + 'primevue/chip/style': path.resolve(__dirname, './components/lib/chip/style/ChipStyle.js'), + 'primevue/chips/style': path.resolve(__dirname, './components/lib/chips/style/ChipsStyle.js'), + 'primevue/colorpicker/style': path.resolve(__dirname, './components/lib/colorpicker/style/ColorPickerStyle.js'), + 'primevue/column/style': path.resolve(__dirname, './components/lib/column/style/ColumnStyle.js'), + 'primevue/columngroup/style': path.resolve(__dirname, './components/lib/columngroup/style/ColumnGroupStyle.js'), + 'primevue/confirmdialog/style': path.resolve(__dirname, './components/lib/confirmdialog/style/ConfirmDialogStyle.js'), + 'primevue/confirmpopup/style': path.resolve(__dirname, './components/lib/confirmpopup/style/ConfirmPopupStyle.js'), + 'primevue/contextmenu/style': path.resolve(__dirname, './components/lib/contextmenu/style/ContextMenuStyle.js'), + 'primevue/datatable/style': path.resolve(__dirname, './components/lib/datatable/style/DataTableStyle.js'), + 'primevue/dataview/style': path.resolve(__dirname, './components/lib/dataview/style/DataViewStyle.js'), + 'primevue/dataviewlayoutoptions/style': path.resolve(__dirname, './components/lib/dataviewlayoutoptions/style/DataViewLayoutOptionsStyle.js'), + 'primevue/deferredcontent/style': path.resolve(__dirname, './components/lib/deferredcontent/style/DeferredContentStyle.js'), + 'primevue/dialog/style': path.resolve(__dirname, './components/lib/dialog/style/DialogStyle.js'), + 'primevue/divider/style': path.resolve(__dirname, './components/lib/divider/style/DividerStyle.js'), + 'primevue/dock/style': path.resolve(__dirname, './components/lib/dock/style/DockStyle.js'), + 'primevue/dropdown/style': path.resolve(__dirname, './components/lib/dropdown/style/DropdownStyle.js'), + 'primevue/dynamicdialog/style': path.resolve(__dirname, './components/lib/dynamicdialog/style/DynamicDialogStyle.js'), + 'primevue/editor/style': path.resolve(__dirname, './components/lib/editor/style/EditorStyle.js'), + 'primevue/fieldset/style': path.resolve(__dirname, './components/lib/fieldset/style/FieldsetStyle.js'), + 'primevue/fileupload/style': path.resolve(__dirname, './components/lib/fileupload/style/FileUploadStyle.js'), + 'primevue/focustrap/style': path.resolve(__dirname, './components/lib/focustrap/style/FocusTrapStyle.js'), + 'primevue/galleria/style': path.resolve(__dirname, './components/lib/galleria/style/GalleriaStyle.js'), + 'primevue/image/style': path.resolve(__dirname, './components/lib/image/style/ImageStyle.js'), + 'primevue/inlinemessage/style': path.resolve(__dirname, './components/lib/inlinemessage/style/InlineMessageStyle.js'), + 'primevue/inplace/style': path.resolve(__dirname, './components/lib/inplace/style/InplaceStyle.js'), + 'primevue/inputmask/style': path.resolve(__dirname, './components/lib/inputmask/style/InputMaskStyle.js'), + 'primevue/inputnumber/style': path.resolve(__dirname, './components/lib/inputnumber/style/InputNumberStyle.js'), + 'primevue/inputswitch/style': path.resolve(__dirname, './components/lib/inputswitch/style/InputSwitchStyle.js'), + 'primevue/inputtext/style': path.resolve(__dirname, './components/lib/inputtext/style/InputTextStyle.js'), + 'primevue/knob/style': path.resolve(__dirname, './components/lib/knob/style/KnobStyle.js'), + 'primevue/listbox/style': path.resolve(__dirname, './components/lib/listbox/style/ListboxStyle.js'), + 'primevue/megamenu/style': path.resolve(__dirname, './components/lib/megamenu/style/MegaMenuStyle.js'), + 'primevue/menu/style': path.resolve(__dirname, './components/lib/menu/style/MenuStyle.js'), + 'primevue/menubar/style': path.resolve(__dirname, './components/lib/menubar/style/MenubarStyle.js'), + 'primevue/message/style': path.resolve(__dirname, './components/lib/message/style/MessageStyle.js'), + 'primevue/multiselect/style': path.resolve(__dirname, './components/lib/multiselect/style/MultiSelectStyle.js'), + 'primevue/orderlist/style': path.resolve(__dirname, './components/lib/orderlist/style/OrderListStyle.js'), + 'primevue/organizationchart/style': path.resolve(__dirname, './components/lib/organizationchart/style/OrganizationChartStyle.js'), + 'primevue/overlaypanel/style': path.resolve(__dirname, './components/lib/overlaypanel/style/OverlayPanelStyle.js'), + 'primevue/paginator/style': path.resolve(__dirname, './components/lib/paginator/style/PaginatorStyle.js'), + 'primevue/panel/style': path.resolve(__dirname, './components/lib/panel/style/PanelStyle.js'), + 'primevue/panelmenu/style': path.resolve(__dirname, './components/lib/panelmenu/style/PanelMenuStyle.js'), + 'primevue/password/style': path.resolve(__dirname, './components/lib/password/style/PasswordStyle.js'), + 'primevue/picklist/style': path.resolve(__dirname, './components/lib/picklist/style/PickListStyle.js'), + 'primevue/portal/style': path.resolve(__dirname, './components/lib/portal/style/PortalStyle.js'), + 'primevue/progressbar/style': path.resolve(__dirname, './components/lib/progressbar/style/ProgressBarStyle.js'), + 'primevue/progressspinner/style': path.resolve(__dirname, './components/lib/progressspinner/style/ProgressSpinnerStyle.js'), + 'primevue/radiobutton/style': path.resolve(__dirname, './components/lib/radiobutton/style/RadioButtonStyle.js'), + 'primevue/rating/style': path.resolve(__dirname, './components/lib/rating/style/RatingStyle.js'), + 'primevue/ripple/style': path.resolve(__dirname, './components/lib/ripple/style/RippleStyle.js'), + 'primevue/row/style': path.resolve(__dirname, './components/lib/row/style/RowStyle.js'), + 'primevue/scrollpanel/style': path.resolve(__dirname, './components/lib/scrollpanel/style/ScrollPanelStyle.js'), + 'primevue/scrolltop/style': path.resolve(__dirname, './components/lib/scrolltop/style/ScrollTopStyle.js'), + 'primevue/selectbutton/style': path.resolve(__dirname, './components/lib/selectbutton/style/SelectButtonStyle.js'), + 'primevue/sidebar/style': path.resolve(__dirname, './components/lib/sidebar/style/SidebarStyle.js'), + 'primevue/skeleton/style': path.resolve(__dirname, './components/lib/skeleton/style/SkeletonStyle.js'), + 'primevue/slider/style': path.resolve(__dirname, './components/lib/slider/style/SliderStyle.js'), + 'primevue/speeddial/style': path.resolve(__dirname, './components/lib/speeddial/style/SpeedDialStyle.js'), + 'primevue/splitbutton/style': path.resolve(__dirname, './components/lib/splitbutton/style/SplitButtonStyle.js'), + 'primevue/splitter/style': path.resolve(__dirname, './components/lib/splitter/style/SplitterStyle.js'), + 'primevue/splitterpanel/style': path.resolve(__dirname, './components/lib/splitterpanel/style/SplitterPanelStyle.js'), + 'primevue/steps/style': path.resolve(__dirname, './components/lib/steps/style/StepsStyle.js'), + 'primevue/tabmenu/style': path.resolve(__dirname, './components/lib/tabmenu/style/TabMenuStyle.js'), + 'primevue/tabpanel/style': path.resolve(__dirname, './components/lib/tabpanel/style/TabPanelStyle.js'), + 'primevue/tabview/style': path.resolve(__dirname, './components/lib/tabview/style/TabviewStyle.js'), + 'primevue/tag/style': path.resolve(__dirname, './components/lib/tag/style/TagStyle.js'), + 'primevue/terminal/style': path.resolve(__dirname, './components/lib/terminal/style/TerminalStyle.js'), + 'primevue/textarea/style': path.resolve(__dirname, './components/lib/textarea/style/TextareaStyle.js'), + 'primevue/tieredmenu/style': path.resolve(__dirname, './components/lib/tieredmenu/style/TieredMenuStyle.js'), + 'primevue/timeline/style': path.resolve(__dirname, './components/lib/timeline/style/TimelineStyle.js'), + 'primevue/toast/style': path.resolve(__dirname, './components/lib/toast/style/ToastStyle.js'), + 'primevue/togglebutton/style': path.resolve(__dirname, './components/lib/togglebutton/style/ToggleButtonStyle.js'), + 'primevue/toolbar/style': path.resolve(__dirname, './components/lib/toolbar/style/ToolbarStyle.js'), + 'primevue/tooltip/style': path.resolve(__dirname, './components/lib/tooltip/style/TooltipStyle.js'), + 'primevue/tree/style': path.resolve(__dirname, './components/lib/tree/style/TreeStyle.js'), + 'primevue/treeselect/style': path.resolve(__dirname, './components/lib/treeselect/style/TreeSelectStyle.js'), + 'primevue/treetable/style': path.resolve(__dirname, './components/lib/treetable/style/TreeTableStyle.js'), + 'primevue/tristatecheckbox/style': path.resolve(__dirname, './components/lib/tristatecheckbox/style/TriStateCheckboxStyle.js'), + 'primevue/virtualscroller/style': path.resolve(__dirname, './components/lib/virtualscroller/style/VirtualScrollerStyle.js') +}; + +const ICON_ALIAS = { + 'primevue/baseicon': path.resolve(__dirname, './components/lib/baseicon/BaseIcon.vue'), + 'primevue/icons/angledoubledown': path.resolve(__dirname, './components/lib/icons/angledoubledown/index.vue'), + 'primevue/icons/angledoubleleft': path.resolve(__dirname, './components/lib/icons/angledoubleleft/index.vue'), + 'primevue/icons/angledoubleright': path.resolve(__dirname, './components/lib/icons/angledoubleright/index.vue'), + 'primevue/icons/angledoubleup': path.resolve(__dirname, './components/lib/icons/angledoubleup/index.vue'), + 'primevue/icons/angledown': path.resolve(__dirname, './components/lib/icons/angledown/index.vue'), + 'primevue/icons/angleleft': path.resolve(__dirname, './components/lib/icons/angleleft/index.vue'), + 'primevue/icons/angleright': path.resolve(__dirname, './components/lib/icons/angleright/index.vue'), + 'primevue/icons/angleup': path.resolve(__dirname, './components/lib/icons/angleup/index.vue'), + 'primevue/icons/arrowdown': path.resolve(__dirname, './components/lib/icons/arrowdown/index.vue'), + 'primevue/icons/arrowup': path.resolve(__dirname, './components/lib/icons/arrowup/index.vue'), + 'primevue/icons/ban': path.resolve(__dirname, './components/lib/icons/ban/index.vue'), + 'primevue/icons/bars': path.resolve(__dirname, './components/lib/icons/bars/index.vue'), + 'primevue/icons/calendar': path.resolve(__dirname, './components/lib/icons/calendar/index.vue'), + 'primevue/icons/check': path.resolve(__dirname, './components/lib/icons/check/index.vue'), + 'primevue/icons/chevrondown': path.resolve(__dirname, './components/lib/icons/chevrondown/index.vue'), + 'primevue/icons/chevronleft': path.resolve(__dirname, './components/lib/icons/chevronleft/index.vue'), + 'primevue/icons/chevronright': path.resolve(__dirname, './components/lib/icons/chevronright/index.vue'), + 'primevue/icons/chevronup': path.resolve(__dirname, './components/lib/icons/chevronup/index.vue'), + 'primevue/icons/exclamationtriangle': path.resolve(__dirname, './components/lib/icons/exclamationtriangle/index.vue'), + 'primevue/icons/eye': path.resolve(__dirname, './components/lib/icons/eye/index.vue'), + 'primevue/icons/eyeslash': path.resolve(__dirname, './components/lib/icons/eyeslash/index.vue'), + 'primevue/icons/filter': path.resolve(__dirname, './components/lib/icons/filter/index.vue'), + 'primevue/icons/filterslash': path.resolve(__dirname, './components/lib/icons/filterslash/index.vue'), + 'primevue/icons/infocircle': path.resolve(__dirname, './components/lib/icons/infocircle/index.vue'), + 'primevue/icons/minus': path.resolve(__dirname, './components/lib/icons/minus/index.vue'), + 'primevue/icons/pencil': path.resolve(__dirname, './components/lib/icons/pencil/index.vue'), + 'primevue/icons/plus': path.resolve(__dirname, './components/lib/icons/plus/index.vue'), + 'primevue/icons/refresh': path.resolve(__dirname, './components/lib/icons/refresh/index.vue'), + 'primevue/icons/search': path.resolve(__dirname, './components/lib/icons/search/index.vue'), + 'primevue/icons/searchminus': path.resolve(__dirname, './components/lib/icons/searchminus/index.vue'), + 'primevue/icons/searchplus': path.resolve(__dirname, './components/lib/icons/searchplus/index.vue'), + 'primevue/icons/sortalt': path.resolve(__dirname, './components/lib/icons/sortalt/index.vue'), + 'primevue/icons/sortamountdown': path.resolve(__dirname, './components/lib/icons/sortamountdown/index.vue'), + 'primevue/icons/sortamountupalt': path.resolve(__dirname, './components/lib/icons/sortamountupalt/index.vue'), + 'primevue/icons/spinner': path.resolve(__dirname, './components/lib/icons/spinner/index.vue'), + 'primevue/icons/star': path.resolve(__dirname, './components/lib/icons/star/index.vue'), + 'primevue/icons/starfill': path.resolve(__dirname, './components/lib/icons/starfill/index.vue'), + 'primevue/icons/thlarge': path.resolve(__dirname, './components/lib/icons/thlarge/index.vue'), + 'primevue/icons/times': path.resolve(__dirname, './components/lib/icons/times/index.vue'), + 'primevue/icons/timescircle': path.resolve(__dirname, './components/lib/icons/timescircle/index.vue'), + 'primevue/icons/trash': path.resolve(__dirname, './components/lib/icons/trash/index.vue'), + 'primevue/icons/undo': path.resolve(__dirname, './components/lib/icons/undo/index.vue'), + 'primevue/icons/upload': path.resolve(__dirname, './components/lib/icons/upload/index.vue'), + 'primevue/icons/windowmaximize': path.resolve(__dirname, './components/lib/icons/windowmaximize/index.vue'), + 'primevue/icons/windowminimize': path.resolve(__dirname, './components/lib/icons/windowminimize/index.vue') +}; + export default { resolve: { alias: { + 'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'), + 'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'), + ...STYLE_ALIAS, 'primevue/base': path.resolve(__dirname, './components/lib/base/Base.js'), 'primevue/basedirective': path.resolve(__dirname, './components/lib/basedirective/BaseDirective.js'), 'primevue/ripple': path.resolve(__dirname, './components/lib/ripple/Ripple.js'), @@ -11,57 +166,10 @@ export default { 'primevue/useconfirm': path.resolve(__dirname, './components/lib/useconfirm/UseConfirm.js'), 'primevue/usetoast': path.resolve(__dirname, './components/lib/usetoast/UseToast.js'), 'primevue/usedialog': path.resolve(__dirname, './components/lib/usedialog/UseDialog.js'), - 'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'), 'primevue/usestyle': path.resolve(__dirname, './components/lib/usestyle/UseStyle.js'), - 'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'), 'primevue/portal': path.resolve(__dirname, './components/lib/portal/Portal.vue'), 'primevue/basecomponent': path.resolve(__dirname, './components/lib/basecomponent/BaseComponent.vue'), - 'primevue/baseicon': path.resolve(__dirname, './components/lib/baseicon/BaseIcon.vue'), - 'primevue/icons/angledoubledown': path.resolve(__dirname, './components/lib/icons/angledoubledown/index.vue'), - 'primevue/icons/angledoubleleft': path.resolve(__dirname, './components/lib/icons/angledoubleleft/index.vue'), - 'primevue/icons/angledoubleright': path.resolve(__dirname, './components/lib/icons/angledoubleright/index.vue'), - 'primevue/icons/angledoubleup': path.resolve(__dirname, './components/lib/icons/angledoubleup/index.vue'), - 'primevue/icons/angledown': path.resolve(__dirname, './components/lib/icons/angledown/index.vue'), - 'primevue/icons/angleleft': path.resolve(__dirname, './components/lib/icons/angleleft/index.vue'), - 'primevue/icons/angleright': path.resolve(__dirname, './components/lib/icons/angleright/index.vue'), - 'primevue/icons/angleup': path.resolve(__dirname, './components/lib/icons/angleup/index.vue'), - 'primevue/icons/arrowdown': path.resolve(__dirname, './components/lib/icons/arrowdown/index.vue'), - 'primevue/icons/arrowup': path.resolve(__dirname, './components/lib/icons/arrowup/index.vue'), - 'primevue/icons/ban': path.resolve(__dirname, './components/lib/icons/ban/index.vue'), - 'primevue/icons/bars': path.resolve(__dirname, './components/lib/icons/bars/index.vue'), - 'primevue/icons/calendar': path.resolve(__dirname, './components/lib/icons/calendar/index.vue'), - 'primevue/icons/check': path.resolve(__dirname, './components/lib/icons/check/index.vue'), - 'primevue/icons/chevrondown': path.resolve(__dirname, './components/lib/icons/chevrondown/index.vue'), - 'primevue/icons/chevronleft': path.resolve(__dirname, './components/lib/icons/chevronleft/index.vue'), - 'primevue/icons/chevronright': path.resolve(__dirname, './components/lib/icons/chevronright/index.vue'), - 'primevue/icons/chevronup': path.resolve(__dirname, './components/lib/icons/chevronup/index.vue'), - 'primevue/icons/exclamationtriangle': path.resolve(__dirname, './components/lib/icons/exclamationtriangle/index.vue'), - 'primevue/icons/eye': path.resolve(__dirname, './components/lib/icons/eye/index.vue'), - 'primevue/icons/eyeslash': path.resolve(__dirname, './components/lib/icons/eyeslash/index.vue'), - 'primevue/icons/filter': path.resolve(__dirname, './components/lib/icons/filter/index.vue'), - 'primevue/icons/filterslash': path.resolve(__dirname, './components/lib/icons/filterslash/index.vue'), - 'primevue/icons/infocircle': path.resolve(__dirname, './components/lib/icons/infocircle/index.vue'), - 'primevue/icons/minus': path.resolve(__dirname, './components/lib/icons/minus/index.vue'), - 'primevue/icons/pencil': path.resolve(__dirname, './components/lib/icons/pencil/index.vue'), - 'primevue/icons/plus': path.resolve(__dirname, './components/lib/icons/plus/index.vue'), - 'primevue/icons/refresh': path.resolve(__dirname, './components/lib/icons/refresh/index.vue'), - 'primevue/icons/search': path.resolve(__dirname, './components/lib/icons/search/index.vue'), - 'primevue/icons/searchminus': path.resolve(__dirname, './components/lib/icons/searchminus/index.vue'), - 'primevue/icons/searchplus': path.resolve(__dirname, './components/lib/icons/searchplus/index.vue'), - 'primevue/icons/sortalt': path.resolve(__dirname, './components/lib/icons/sortalt/index.vue'), - 'primevue/icons/sortamountdown': path.resolve(__dirname, './components/lib/icons/sortamountdown/index.vue'), - 'primevue/icons/sortamountupalt': path.resolve(__dirname, './components/lib/icons/sortamountupalt/index.vue'), - 'primevue/icons/spinner': path.resolve(__dirname, './components/lib/icons/spinner/index.vue'), - 'primevue/icons/star': path.resolve(__dirname, './components/lib/icons/star/index.vue'), - 'primevue/icons/starfill': path.resolve(__dirname, './components/lib/icons/starfill/index.vue'), - 'primevue/icons/thlarge': path.resolve(__dirname, './components/lib/icons/thlarge/index.vue'), - 'primevue/icons/times': path.resolve(__dirname, './components/lib/icons/times/index.vue'), - 'primevue/icons/timescircle': path.resolve(__dirname, './components/lib/icons/timescircle/index.vue'), - 'primevue/icons/trash': path.resolve(__dirname, './components/lib/icons/trash/index.vue'), - 'primevue/icons/undo': path.resolve(__dirname, './components/lib/icons/undo/index.vue'), - 'primevue/icons/upload': path.resolve(__dirname, './components/lib/icons/upload/index.vue'), - 'primevue/icons/windowmaximize': path.resolve(__dirname, './components/lib/icons/windowmaximize/index.vue'), - 'primevue/icons/windowminimize': path.resolve(__dirname, './components/lib/icons/windowminimize/index.vue'), + ...ICON_ALIAS, 'primevue/button': path.resolve(__dirname, './components/lib/button/Button.vue'), 'primevue/inputtext': path.resolve(__dirname, './components/lib/inputtext/InputText.vue'), 'primevue/dialog': path.resolve(__dirname, './components/lib/dialog/Dialog.vue'),