From 4636c91ec1998a116b7f36af6dcf8eea7cdd8868 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Tue, 12 Nov 2024 12:35:24 +0000 Subject: [PATCH] Remove @primeng/core and @primeng/icons packages --- .gitignore | 3 +- packages/core/README.md | 1 - packages/core/angular.json | 23 -------- packages/core/package.json | 48 --------------- packages/core/scripts/postbuild.mjs | 8 --- packages/core/scripts/prebuild.mjs | 33 ----------- packages/core/src/api/public_api.ts | 16 ----- packages/core/src/config/public_api.ts | 4 -- packages/core/src/ng-package.json | 9 --- packages/core/src/public_api.ts | 9 --- packages/core/src/tsconfig.lib.json | 14 ----- packages/core/tsconfig.json | 16 ----- packages/icons/README.md | 1 - packages/icons/angular.json | 23 -------- packages/icons/scripts/postbuild.mjs | 8 --- packages/icons/scripts/prebuild.mjs | 22 ------- packages/icons/src/ng-package.json | 9 --- packages/icons/src/public_api.ts | 58 ------------------ packages/icons/src/tsconfig.lib.json | 14 ----- .../icons/src/windowminimize/ng-package.json | 6 -- packages/icons/tsconfig.json | 16 ----- packages/primeng/angular.json | 5 +- packages/primeng/package.json | 21 +++---- packages/primeng/scripts/postbuild.mjs | 10 +--- packages/primeng/scripts/prebuild.mjs | 8 +++ packages/primeng/src/accordion/accordion.ts | 6 +- .../src/accordion/style/accordionstyle.ts | 2 +- .../src/animateonscroll/animateonscroll.ts | 2 +- .../src/api/filtermatchmode.ts | 0 .../src/api/filtermetadata.ts | 0 .../src/api/filteroperator.ts | 0 .../src/api/filterservice.spec.ts | 0 .../src/api/filterservice.ts | 0 packages/primeng/src/api/lazyloadevent.ts | 3 +- packages/primeng/src/api/lazyloadmeta.ts | 3 +- .../src/api/overlayoptions.ts | 0 .../src/api/overlayservice.ts | 0 .../{core => primeng}/src/api/primeicons.ts | 0 .../src/config => primeng/src/api}/primeng.ts | 4 +- .../src/api}/primengconfig.ts | 0 .../src/api}/provideprimengconfig.ts | 0 packages/primeng/src/api/public_api.ts | 20 +++++-- packages/{core => primeng}/src/api/shared.ts | 0 .../{core => primeng}/src/api/sortevent.ts | 0 .../{core => primeng}/src/api/sortmeta.ts | 0 packages/primeng/src/api/tablestate.ts | 3 +- .../src/api}/themeprovider.ts | 2 +- .../{core => primeng}/src/api/translation.ts | 0 .../src/api/translationkeys.ts | 0 .../src/autocomplete/autocomplete.spec.ts | 2 +- .../primeng/src/autocomplete/autocomplete.ts | 6 +- .../autocomplete/style/autocompletestyle.ts | 2 +- packages/primeng/src/autofocus/autofocus.ts | 2 +- packages/primeng/src/avatar/avatar.ts | 3 +- .../primeng/src/avatar/style/avatarstyle.ts | 2 +- .../primeng/src/avatargroup/avatargroup.ts | 3 +- .../src/avatargroup/style/avatargroupstyle.ts | 2 +- packages/primeng/src/badge/badge.ts | 3 +- .../primeng/src/badge/style/badgestyle.ts | 2 +- packages/{core => primeng}/src/base/base.ts | 0 .../api => primeng/src/base}/ng-package.json | 0 .../{core => primeng}/src/base/public_api.ts | 0 .../src/base/style/basestyle.ts | 2 +- .../src/basecomponent/basecomponent.ts | 5 +- .../src/basecomponent}/ng-package.json | 0 .../src/basecomponent/public_api.ts | 0 .../basecomponent/style/basecomponentstyle.ts | 2 +- packages/primeng/src/blockui/blockui.ts | 3 +- .../primeng/src/blockui/style/blockuistyle.ts | 2 +- packages/primeng/src/breadcrumb/breadcrumb.ts | 6 +- .../src/breadcrumb/style/breadcrumbstyle.ts | 2 +- packages/primeng/src/button/button.ts | 5 +- .../primeng/src/button/style/buttonstyle.ts | 2 +- .../primeng/src/buttongroup/buttongroup.ts | 2 +- .../src/buttongroup/style/buttongroupstyle.ts | 2 +- .../primeng/src/calendar/calendar.spec.ts | 2 +- packages/primeng/src/calendar/calendar.ts | 5 +- .../src/calendar/style/calendarstyle.ts | 2 +- packages/primeng/src/card/card.spec.ts | 2 +- packages/primeng/src/card/card.ts | 4 +- packages/primeng/src/card/style/cardstyle.ts | 2 +- .../primeng/src/carousel/carousel.spec.ts | 2 +- packages/primeng/src/carousel/carousel.ts | 5 +- .../src/carousel/style/carouselstyle.ts | 2 +- .../src/cascadeselect/cascadeselect.ts | 5 +- .../cascadeselect/style/cascadeselectstyle.ts | 2 +- packages/primeng/src/chart/chart.ts | 2 +- .../primeng/src/chart/style/chartstyle.ts | 2 +- .../primeng/src/checkbox/checkbox.spec.ts | 2 +- packages/primeng/src/checkbox/checkbox.ts | 5 +- .../src/checkbox/style/checkboxstyle.ts | 4 +- packages/primeng/src/chip/chip.ts | 5 +- packages/primeng/src/chip/style/chipstyle.ts | 2 +- .../primeng/src/colorpicker/colorpicker.ts | 3 +- .../src/colorpicker/style/colorpickerstyle.ts | 2 +- .../primeng/src/common/style/commonstyle.ts | 2 +- .../src/confirmdialog/confirmdialog.spec.ts | 2 +- .../src/confirmdialog/confirmdialog.ts | 6 +- .../confirmdialog/style/confirmdialogstyle.ts | 2 +- .../primeng/src/confirmpopup/confirmpopup.ts | 4 +- .../confirmpopup/style/confirmpopupstyle.ts | 2 +- .../primeng/src/contextmenu/contextmenu.ts | 6 +- .../src/contextmenu/style/contextmenustyle.ts | 2 +- packages/primeng/src/dataview/dataview.ts | 6 +- .../src/dataview/style/dataviewstyle.ts | 2 +- .../primeng/src/datepicker/datepicker.spec.ts | 2 +- packages/primeng/src/datepicker/datepicker.ts | 5 +- .../src/datepicker/style/datepickerstyle.ts | 2 +- packages/primeng/src/defer/defer.ts | 2 +- packages/primeng/src/dialog/dialog.spec.ts | 4 +- packages/primeng/src/dialog/dialog.ts | 7 ++- .../primeng/src/dialog/style/dialogstyle.ts | 2 +- packages/primeng/src/divider/divider.ts | 3 +- .../primeng/src/divider/style/dividerstyle.ts | 2 +- packages/primeng/src/dock/dock.ts | 4 +- packages/primeng/src/dock/style/dockstyle.ts | 2 +- packages/primeng/src/drawer/drawer.ts | 5 +- .../primeng/src/drawer/style/drawerstyle.ts | 2 +- .../primeng/src/dropdown/dropdown.spec.ts | 2 +- packages/primeng/src/dropdown/dropdown.ts | 6 +- .../src/dropdown/style/dropdownstyle.ts | 2 +- .../src/dynamicdialog/dynamicdialog.spec.ts | 2 +- .../src/dynamicdialog/dynamicdialog.ts | 5 +- packages/primeng/src/editor/editor.ts | 3 +- .../primeng/src/editor/style/editorstyle.ts | 2 +- .../primeng/src/fieldset/fieldset.spec.ts | 2 +- packages/primeng/src/fieldset/fieldset.ts | 6 +- .../src/fieldset/style/fieldsetstyle.ts | 2 +- .../primeng/src/fileupload/fileupload.spec.ts | 4 +- packages/primeng/src/fileupload/fileupload.ts | 6 +- .../src/fileupload/style/fileuploadstyle.ts | 2 +- packages/primeng/src/floatlabel/floatlabel.ts | 3 +- .../src/floatlabel/style/floatlabelstyle.ts | 2 +- packages/primeng/src/fluid/fluid.ts | 2 +- .../primeng/src/fluid/style/fluidstyle.ts | 2 +- packages/primeng/src/focustrap/focustrap.ts | 2 +- packages/primeng/src/galleria/galleria.ts | 5 +- .../src/galleria/style/galleriastyle.ts | 2 +- packages/primeng/src/iconfield/iconfield.ts | 2 +- .../src/iconfield/style/iconfieldstyle.ts | 2 +- .../icons}/angledoubledown/angledoubledown.ts | 2 +- .../icons/angledoubledown}/ng-package.json | 0 .../src/icons}/angledoubledown/public_api.ts | 0 .../icons}/angledoubleleft/angledoubleleft.ts | 2 +- .../icons/angledoubleleft}/ng-package.json | 0 .../src/icons}/angledoubleleft/public_api.ts | 0 .../angledoubleright/angledoubleright.ts | 2 +- .../icons/angledoubleright}/ng-package.json | 0 .../src/icons}/angledoubleright/public_api.ts | 0 .../src/icons}/angledoubleup/angledoubleup.ts | 2 +- .../src/icons/angledoubleup}/ng-package.json | 0 .../src/icons}/angledoubleup/public_api.ts | 0 .../src/icons}/angledown/angledown.ts | 2 +- .../src/icons/angledown}/ng-package.json | 0 .../src/icons}/angledown/public_api.ts | 0 .../src/icons}/angleleft/angleleft.ts | 2 +- .../src/icons/angleleft}/ng-package.json | 0 .../src/icons}/angleleft/public_api.ts | 0 .../src/icons}/angleright/angleright.ts | 2 +- .../src/icons/angleright}/ng-package.json | 0 .../src/icons}/angleright/public_api.ts | 0 .../src/icons}/angleup/angleup.ts | 2 +- .../src/icons/angleup}/ng-package.json | 0 .../src/icons}/angleup/public_api.ts | 0 .../src/icons}/arrowdown/arrowdown.ts | 2 +- .../src/icons/arrowdown}/ng-package.json | 0 .../src/icons}/arrowdown/public_api.ts | 0 .../src/icons}/arrowdownleft/arrowdownleft.ts | 2 +- .../src/icons/arrowdownleft}/ng-package.json | 0 .../src/icons}/arrowdownleft/public_api.ts | 0 .../icons}/arrowdownright/arrowdownright.ts | 2 +- .../src/icons/arrowdownright}/ng-package.json | 0 .../src/icons}/arrowdownright/public_api.ts | 0 .../src/icons}/arrowleft/arrowleft.ts | 2 +- .../src/icons/arrowleft}/ng-package.json | 0 .../src/icons}/arrowleft/public_api.ts | 0 .../src/icons}/arrowright/arrowright.ts | 2 +- .../src/icons/arrowright}/ng-package.json | 0 .../src/icons}/arrowright/public_api.ts | 0 .../src/icons}/arrowup/arrowup.ts | 2 +- .../src/icons/arrowup}/ng-package.json | 0 .../src/icons}/arrowup/public_api.ts | 0 .../src => primeng/src/icons}/ban/ban.ts | 2 +- .../src/icons/ban}/ng-package.json | 0 .../src/icons}/ban/public_api.ts | 0 .../src => primeng/src/icons}/bars/bars.ts | 2 +- .../src/icons/bars}/ng-package.json | 0 .../src/icons}/bars/public_api.ts | 0 .../src/icons}/baseicon/baseicon.ts | 2 +- .../src/icons/baseicon}/ng-package.json | 0 .../src/icons}/baseicon/public_api.ts | 0 .../icons}/baseicon/style/baseiconstyle.ts | 2 +- .../src => primeng/src/icons}/blank/blank.ts | 2 +- .../src/icons/blank}/ng-package.json | 0 .../src/icons}/blank/public_api.ts | 0 .../src/icons}/calendar/calendar.ts | 2 +- .../src/icons/calendar}/ng-package.json | 0 .../src/icons}/calendar/public_api.ts | 0 .../src/icons}/caretleft/caretleft.ts | 2 +- .../src/icons/caretleft}/ng-package.json | 0 .../src/icons}/caretleft/public_api.ts | 0 .../src/icons}/caretright/caretright.ts | 2 +- .../src/icons/caretright}/ng-package.json | 0 .../src/icons}/caretright/public_api.ts | 0 .../src => primeng/src/icons}/check/check.ts | 2 +- .../src/icons/check}/ng-package.json | 0 .../src/icons}/check/public_api.ts | 0 .../src/icons}/chevrondown/chevrondown.ts | 2 +- .../src/icons/chevrondown}/ng-package.json | 0 .../src/icons}/chevrondown/public_api.ts | 0 .../src/icons}/chevronleft/chevronleft.ts | 2 +- .../src/icons/chevronleft}/ng-package.json | 0 .../src/icons}/chevronleft/public_api.ts | 0 .../src/icons}/chevronright/chevronright.ts | 2 +- .../src/icons/chevronright}/ng-package.json | 0 .../src/icons}/chevronright/public_api.ts | 0 .../src/icons}/chevronup/chevronup.ts | 2 +- .../src/icons/chevronup}/ng-package.json | 0 .../src/icons}/chevronup/public_api.ts | 0 .../exclamationtriangle.ts | 2 +- .../exclamationtriangle}/ng-package.json | 0 .../icons}/exclamationtriangle/public_api.ts | 0 .../src => primeng/src/icons}/eye/eye.ts | 2 +- .../src/icons/eye}/ng-package.json | 0 .../src/icons}/eye/public_api.ts | 0 .../src/icons}/eyeslash/eyeslash.ts | 2 +- .../src/icons/eyeslash}/ng-package.json | 0 .../src/icons}/eyeslash/public_api.ts | 0 .../src/icons}/filter/filter.ts | 2 +- .../src/icons/filter}/ng-package.json | 0 .../src/icons}/filter/public_api.ts | 0 .../src/icons}/filterslash/filterslash.ts | 2 +- .../src/icons/filterslash}/ng-package.json | 0 .../src/icons}/filterslash/public_api.ts | 0 .../src => primeng/src/icons}/home/home.ts | 2 +- .../src/icons/home}/ng-package.json | 0 .../src/icons}/home/public_api.ts | 0 .../src/icons}/infocircle/infocircle.ts | 2 +- .../src/icons/infocircle}/ng-package.json | 0 .../src/icons}/infocircle/public_api.ts | 0 .../src => primeng/src/icons}/minus/minus.ts | 2 +- .../src/icons/minus}/ng-package.json | 0 .../src/icons}/minus/public_api.ts | 0 .../src/icons}/ng-package.json | 0 packages/{ => primeng/src}/icons/package.json | 16 ----- .../src/icons/pencil}/ng-package.json | 0 .../src/icons}/pencil/pencil.ts | 2 +- .../src/icons}/pencil/public_api.ts | 0 .../src/icons/plus}/ng-package.json | 0 .../src => primeng/src/icons}/plus/plus.ts | 2 +- .../src/icons}/plus/public_api.ts | 0 packages/primeng/src/icons/public_api.ts | 57 ++++++++++++++++++ .../src/icons/refresh}/ng-package.json | 0 .../src/icons}/refresh/public_api.ts | 0 .../src/icons}/refresh/refresh.ts | 2 +- .../src/icons/search}/ng-package.json | 0 .../src/icons}/search/public_api.ts | 0 .../src/icons}/search/search.ts | 2 +- .../src/icons/searchminus}/ng-package.json | 0 .../src/icons}/searchminus/public_api.ts | 0 .../src/icons}/searchminus/searchminus.ts | 2 +- .../src/icons/searchplus}/ng-package.json | 0 .../src/icons}/searchplus/public_api.ts | 0 .../src/icons}/searchplus/searchplus.ts | 2 +- .../src/icons/sortalt}/ng-package.json | 0 .../src/icons}/sortalt/public_api.ts | 0 .../src/icons}/sortalt/sortalt.ts | 2 +- .../src/icons/sortamountdown}/ng-package.json | 0 .../src/icons}/sortamountdown/public_api.ts | 0 .../icons}/sortamountdown/sortamountdown.ts | 2 +- .../icons/sortamountupalt}/ng-package.json | 0 .../src/icons}/sortamountupalt/public_api.ts | 0 .../icons}/sortamountupalt/sortamountupalt.ts | 2 +- .../src/icons/spinner}/ng-package.json | 0 .../src/icons}/spinner/public_api.ts | 0 .../src/icons}/spinner/spinner.ts | 2 +- .../src/icons/star}/ng-package.json | 0 .../src/icons}/star/public_api.ts | 0 .../src => primeng/src/icons}/star/star.ts | 2 +- .../src/icons/starfill}/ng-package.json | 0 .../src/icons}/starfill/public_api.ts | 0 .../src/icons}/starfill/starfill.ts | 2 +- .../src/icons/thlarge}/ng-package.json | 0 .../src/icons}/thlarge/public_api.ts | 0 .../src/icons}/thlarge/thlarge.ts | 2 +- .../src/icons/times}/ng-package.json | 0 .../src/icons}/times/public_api.ts | 0 .../src => primeng/src/icons}/times/times.ts | 2 +- .../src/icons/timescircle}/ng-package.json | 0 .../src/icons}/timescircle/public_api.ts | 0 .../src/icons}/timescircle/timescircle.ts | 2 +- .../src/icons/trash}/ng-package.json | 0 .../src/icons}/trash/public_api.ts | 0 .../src => primeng/src/icons}/trash/trash.ts | 2 +- .../src/icons/undo}/ng-package.json | 0 .../src/icons}/undo/public_api.ts | 0 .../src => primeng/src/icons}/undo/undo.ts | 2 +- .../src/icons/upload}/ng-package.json | 0 .../src/icons}/upload/public_api.ts | 0 .../src/icons}/upload/upload.ts | 2 +- .../src/icons/windowmaximize}/ng-package.json | 0 .../src/icons}/windowmaximize/public_api.ts | 0 .../icons}/windowmaximize/windowmaximize.ts | 2 +- .../src/icons/windowminimize}/ng-package.json | 0 .../src/icons}/windowminimize/public_api.ts | 0 .../icons}/windowminimize/windowminimize.ts | 2 +- packages/primeng/src/iftalabel/iftalabel.ts | 3 +- .../src/iftalabel/style/iftalabelstyle.ts | 2 +- packages/primeng/src/image/image.ts | 5 +- .../primeng/src/image/style/imagestyle.ts | 2 +- packages/primeng/src/inplace/inplace.spec.ts | 2 +- packages/primeng/src/inplace/inplace.ts | 5 +- .../primeng/src/inplace/style/inplacestyle.ts | 2 +- packages/primeng/src/inputgroup/inputgroup.ts | 3 +- .../src/inputgroup/style/inputgroupstyle.ts | 4 +- .../src/inputgroupaddon/inputgroupaddon.ts | 3 +- .../style/inputgroupaddonstyle.ts | 2 +- packages/primeng/src/inputicon/inputicon.ts | 3 +- .../src/inputicon/style/inputiconstyle.ts | 2 +- packages/primeng/src/inputmask/inputmask.ts | 5 +- .../src/inputmask/style/inputmaskstyle.ts | 2 +- .../primeng/src/inputnumber/inputnumber.ts | 5 +- .../src/inputnumber/style/inputnumberstyle.ts | 2 +- packages/primeng/src/inputotp/inputotp.ts | 3 +- .../src/inputotp/style/inputotpstyle.ts | 2 +- .../primeng/src/inputswitch/inputswitch.ts | 3 +- .../src/inputswitch/style/inputswitchstyle.ts | 4 +- packages/primeng/src/inputtext/inputtext.ts | 2 +- .../src/inputtext/style/inputtextstyle.ts | 2 +- .../src/inputtextarea/inputtextarea.ts | 2 +- .../src/inputtextarea/style/textareastyle.ts | 2 +- packages/primeng/src/knob/knob.ts | 3 +- packages/primeng/src/knob/style/knobstyle.ts | 2 +- packages/primeng/src/listbox/listbox.spec.ts | 2 +- packages/primeng/src/listbox/listbox.ts | 6 +- .../primeng/src/listbox/style/listboxstyle.ts | 2 +- packages/primeng/src/megamenu/megamenu.ts | 6 +- .../src/megamenu/style/megamenustyle.ts | 2 +- packages/primeng/src/menu/menu.ts | 4 +- packages/primeng/src/menu/style/menustyle.ts | 2 +- packages/primeng/src/menubar/menubar.ts | 6 +- .../primeng/src/menubar/style/menubarstyle.ts | 2 +- packages/primeng/src/message/message.ts | 5 +- .../primeng/src/message/style/messagestyle.ts | 2 +- .../primeng/src/messages/messages.spec.ts | 2 +- packages/primeng/src/messages/messages.ts | 6 +- .../src/messages/style/messagesstyle.ts | 2 +- packages/primeng/src/metergroup/metergroup.ts | 3 +- .../src/metergroup/style/metergroupstyle.ts | 2 +- .../src/multiselect/multiselect.spec.ts | 2 +- .../primeng/src/multiselect/multiselect.ts | 6 +- .../src/multiselect/style/multiselectstyle.ts | 2 +- packages/primeng/src/orderlist/orderlist.ts | 5 +- .../src/orderlist/style/orderliststyle.ts | 2 +- .../organizationchart.spec.ts | 2 +- .../organizationchart/organizationchart.ts | 6 +- .../style/organizationchartstyle.ts | 2 +- packages/primeng/src/overlay/overlay.ts | 3 +- .../primeng/src/overlay/style/overlaystyle.ts | 2 +- .../primeng/src/overlaybadge/overlaybadge.ts | 3 +- .../overlaybadge/style/overlaybadgestyle.ts | 2 +- .../primeng/src/overlaypanel/overlaypanel.ts | 11 ++-- .../src/overlaypanel/style/popoverstyle.ts | 2 +- packages/primeng/src/package.json | 54 ----------------- packages/primeng/src/paginator/paginator.ts | 6 +- .../src/paginator/style/paginatorstyle.ts | 2 +- packages/primeng/src/panel/panel.spec.ts | 2 +- packages/primeng/src/panel/panel.ts | 10 ++-- .../primeng/src/panel/style/panelstyle.ts | 2 +- packages/primeng/src/panelmenu/panelmenu.ts | 6 +- .../src/panelmenu/style/panelmenustyle.ts | 2 +- packages/primeng/src/password/password.ts | 5 +- .../src/password/style/passwordstyle.ts | 2 +- packages/primeng/src/picklist/picklist.ts | 5 +- .../src/picklist/style/pickliststyle.ts | 2 +- packages/primeng/src/popover/popover.ts | 5 +- .../primeng/src/popover/style/popoverstyle.ts | 2 +- .../primeng/src/progressbar/progressbar.ts | 3 +- .../src/progressbar/style/progressbarstyle.ts | 2 +- .../src/progressspinner/progressspinner.ts | 3 +- .../style/progressspinnerstyle.ts | 2 +- .../primeng/src/radiobutton/radiobutton.ts | 3 +- .../src/radiobutton/style/radiobuttonstyle.ts | 2 +- packages/primeng/src/rating/rating.spec.ts | 2 +- packages/primeng/src/rating/rating.ts | 5 +- .../primeng/src/rating/style/ratingstyle.ts | 2 +- packages/primeng/src/ripple/ripple.ts | 2 +- .../primeng/src/ripple/style/ripplestyle.ts | 2 +- packages/primeng/src/scroller/scroller.ts | 6 +- .../src/scroller/style/scrollerstyle.ts | 2 +- .../primeng/src/scrollpanel/scrollpanel.ts | 3 +- .../src/scrollpanel/style/scrollpanelstyle.ts | 2 +- packages/primeng/src/scrolltop/scrolltop.ts | 5 +- .../src/scrolltop/style/scrolltopstyle.ts | 2 +- packages/primeng/src/select/select.ts | 6 +- .../primeng/src/select/style/selectstyle.ts | 2 +- .../primeng/src/selectbutton/selectbutton.ts | 3 +- .../selectbutton/style/selectbuttonstyle.ts | 2 +- packages/primeng/src/sidebar/sidebar.ts | 5 +- .../primeng/src/sidebar/style/drawerstyle.ts | 2 +- packages/primeng/src/skeleton/skeleton.ts | 3 +- .../src/skeleton/style/skeletonstyle.ts | 2 +- packages/primeng/src/slider/slider.ts | 3 +- .../primeng/src/slider/style/sliderstyle.ts | 2 +- packages/primeng/src/speeddial/speeddial.ts | 6 +- .../src/speeddial/style/speeddialstyle.ts | 2 +- .../primeng/src/splitbutton/splitbutton.ts | 6 +- .../src/splitbutton/style/splitbuttonstyle.ts | 2 +- packages/primeng/src/splitter/splitter.ts | 3 +- .../src/splitter/style/splitterstyle.ts | 2 +- packages/primeng/src/stepper/stepper.ts | 3 +- .../primeng/src/stepper/style/stepperstyle.ts | 2 +- packages/primeng/src/steps/steps.ts | 4 +- .../primeng/src/steps/style/stepsstyle.ts | 2 +- .../primeng/src/table/style/tablestyle.ts | 2 +- packages/primeng/src/table/table.interface.ts | 3 +- packages/primeng/src/table/table.spec.ts | 2 +- packages/primeng/src/table/table.ts | 6 +- .../primeng/src/tabmenu/style/tabmenustyle.ts | 2 +- packages/primeng/src/tabmenu/tabmenu.ts | 6 +- packages/primeng/src/tabs/style/tabsstyle.ts | 2 +- packages/primeng/src/tabs/tab.ts | 3 +- packages/primeng/src/tabs/tablist.ts | 5 +- packages/primeng/src/tabs/tabpanel.ts | 2 +- packages/primeng/src/tabs/tabpanels.ts | 2 +- packages/primeng/src/tabs/tabs.ts | 2 +- .../primeng/src/tabview/style/tabsstyle.ts | 2 +- packages/primeng/src/tabview/tabview.spec.ts | 4 +- packages/primeng/src/tabview/tabview.ts | 18 +++--- packages/primeng/src/tag/style/tagstyle.ts | 2 +- packages/primeng/src/tag/tag.ts | 3 +- .../src/terminal/style/terminalstyle.ts | 2 +- packages/primeng/src/terminal/terminal.ts | 3 +- .../src/textarea/style/textareastyle.ts | 2 +- packages/primeng/src/textarea/textarea.ts | 2 +- .../src/tieredmenu/style/tieredmenustyle.ts | 2 +- packages/primeng/src/tieredmenu/tieredmenu.ts | 6 +- .../src/timeline/style/timelinestyle.ts | 2 +- packages/primeng/src/timeline/timeline.ts | 4 +- .../primeng/src/toast/style/toaststyle.ts | 2 +- packages/primeng/src/toast/toast.spec.ts | 2 +- packages/primeng/src/toast/toast.ts | 6 +- .../togglebutton/style/togglebuttonstyle.ts | 2 +- .../primeng/src/togglebutton/togglebutton.ts | 3 +- .../toggleswitch/style/toggleswitchstyle.ts | 2 +- .../primeng/src/toggleswitch/toggleswitch.ts | 3 +- .../primeng/src/toolbar/style/toolbarstyle.ts | 2 +- packages/primeng/src/toolbar/toolbar.ts | 4 +- .../primeng/src/tooltip/style/tooltipstyle.ts | 2 +- packages/primeng/src/tooltip/tooltip.ts | 2 +- packages/primeng/src/tree/style/treestyle.ts | 2 +- packages/primeng/src/tree/tree.ts | 6 +- .../src/treeselect/style/treeselectstyle.ts | 2 +- packages/primeng/src/treeselect/treeselect.ts | 6 +- .../src/treetable/style/treetablestyle.ts | 2 +- .../src/treetable/treetable.interface.ts | 3 +- packages/primeng/src/treetable/treetable.ts | 6 +- packages/primeng/src/tsconfig.lib.json | 14 ----- .../src/usestyle}/ng-package.json | 0 .../src/usestyle/public_api.ts | 0 .../src/usestyle/usestyle.ts | 0 pnpm-lock.yaml | 59 ++----------------- pnpm-workspace.yaml | 12 ---- tsconfig.json | 4 -- 464 files changed, 573 insertions(+), 933 deletions(-) delete mode 100644 packages/core/README.md delete mode 100644 packages/core/angular.json delete mode 100644 packages/core/package.json delete mode 100644 packages/core/scripts/postbuild.mjs delete mode 100644 packages/core/scripts/prebuild.mjs delete mode 100644 packages/core/src/api/public_api.ts delete mode 100644 packages/core/src/config/public_api.ts delete mode 100644 packages/core/src/ng-package.json delete mode 100644 packages/core/src/public_api.ts delete mode 100644 packages/core/src/tsconfig.lib.json delete mode 100644 packages/core/tsconfig.json delete mode 100644 packages/icons/README.md delete mode 100644 packages/icons/angular.json delete mode 100644 packages/icons/scripts/postbuild.mjs delete mode 100644 packages/icons/scripts/prebuild.mjs delete mode 100644 packages/icons/src/ng-package.json delete mode 100644 packages/icons/src/public_api.ts delete mode 100644 packages/icons/src/tsconfig.lib.json delete mode 100644 packages/icons/src/windowminimize/ng-package.json delete mode 100644 packages/icons/tsconfig.json rename packages/{core => primeng}/src/api/filtermatchmode.ts (100%) rename packages/{core => primeng}/src/api/filtermetadata.ts (100%) rename packages/{core => primeng}/src/api/filteroperator.ts (100%) rename packages/{core => primeng}/src/api/filterservice.spec.ts (100%) rename packages/{core => primeng}/src/api/filterservice.ts (100%) rename packages/{core => primeng}/src/api/overlayoptions.ts (100%) rename packages/{core => primeng}/src/api/overlayservice.ts (100%) rename packages/{core => primeng}/src/api/primeicons.ts (100%) rename packages/{core/src/config => primeng/src/api}/primeng.ts (97%) rename packages/{core/src/config => primeng/src/api}/primengconfig.ts (100%) rename packages/{core/src/config => primeng/src/api}/provideprimengconfig.ts (100%) rename packages/{core => primeng}/src/api/shared.ts (100%) rename packages/{core => primeng}/src/api/sortevent.ts (100%) rename packages/{core => primeng}/src/api/sortmeta.ts (100%) rename packages/{core/src/config => primeng/src/api}/themeprovider.ts (97%) rename packages/{core => primeng}/src/api/translation.ts (100%) rename packages/{core => primeng}/src/api/translationkeys.ts (100%) rename packages/{core => primeng}/src/base/base.ts (100%) rename packages/{core/src/api => primeng/src/base}/ng-package.json (100%) rename packages/{core => primeng}/src/base/public_api.ts (100%) rename packages/{core => primeng}/src/base/style/basestyle.ts (99%) rename packages/{core => primeng}/src/basecomponent/basecomponent.ts (97%) rename packages/{core/src/base => primeng/src/basecomponent}/ng-package.json (100%) rename packages/{core => primeng}/src/basecomponent/public_api.ts (100%) rename packages/{core => primeng}/src/basecomponent/style/basecomponentstyle.ts (76%) rename packages/{icons/src => primeng/src/icons}/angledoubledown/angledoubledown.ts (97%) rename packages/{core/src/basecomponent => primeng/src/icons/angledoubledown}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angledoubledown/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/angledoubleleft/angledoubleleft.ts (97%) rename packages/{core/src/config => primeng/src/icons/angledoubleleft}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angledoubleleft/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/angledoubleright/angledoubleright.ts (97%) rename packages/{core/src/usestyle => primeng/src/icons/angledoubleright}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angledoubleright/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/angledoubleup/angledoubleup.ts (97%) rename packages/{icons/src/angledoubledown => primeng/src/icons/angledoubleup}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angledoubleup/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/angledown/angledown.ts (95%) rename packages/{icons/src/angledoubleleft => primeng/src/icons/angledown}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angledown/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/angleleft/angleleft.ts (95%) rename packages/{icons/src/angledoubleright => primeng/src/icons/angleleft}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angleleft/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/angleright/angleright.ts (95%) rename packages/{icons/src/angledoubleup => primeng/src/icons/angleright}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angleright/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/angleup/angleup.ts (95%) rename packages/{icons/src/angledown => primeng/src/icons/angleup}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/angleup/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/arrowdown/arrowdown.ts (97%) rename packages/{icons/src/angleleft => primeng/src/icons/arrowdown}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/arrowdown/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/arrowdownleft/arrowdownleft.ts (96%) rename packages/{icons/src/angleright => primeng/src/icons/arrowdownleft}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/arrowdownleft/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/arrowdownright/arrowdownright.ts (96%) rename packages/{icons/src/angleup => primeng/src/icons/arrowdownright}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/arrowdownright/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/arrowleft/arrowleft.ts (97%) rename packages/{icons/src/arrowdown => primeng/src/icons/arrowleft}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/arrowleft/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/arrowright/arrowright.ts (96%) rename packages/{icons/src/arrowdownleft => primeng/src/icons/arrowright}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/arrowright/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/arrowup/arrowup.ts (97%) rename packages/{icons/src/arrowdownright => primeng/src/icons/arrowup}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/arrowup/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/ban/ban.ts (97%) rename packages/{icons/src/arrowleft => primeng/src/icons/ban}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/ban/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/bars/bars.ts (97%) rename packages/{icons/src/arrowright => primeng/src/icons/bars}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/bars/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/baseicon/baseicon.ts (95%) rename packages/{icons/src/arrowup => primeng/src/icons/baseicon}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/baseicon/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/baseicon/style/baseiconstyle.ts (95%) rename packages/{icons/src => primeng/src/icons}/blank/blank.ts (87%) rename packages/{icons/src/ban => primeng/src/icons/blank}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/blank/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/calendar/calendar.ts (97%) rename packages/{icons/src/bars => primeng/src/icons/calendar}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/calendar/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/caretleft/caretleft.ts (95%) rename packages/{icons/src/baseicon => primeng/src/icons/caretleft}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/caretleft/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/caretright/caretright.ts (95%) rename packages/{icons/src/blank => primeng/src/icons/caretright}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/caretright/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/check/check.ts (96%) rename packages/{icons/src/calendar => primeng/src/icons/check}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/check/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/chevrondown/chevrondown.ts (95%) rename packages/{icons/src/caretleft => primeng/src/icons/chevrondown}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/chevrondown/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/chevronleft/chevronleft.ts (95%) rename packages/{icons/src/caretright => primeng/src/icons/chevronleft}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/chevronleft/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/chevronright/chevronright.ts (95%) rename packages/{icons/src/check => primeng/src/icons/chevronright}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/chevronright/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/chevronup/chevronup.ts (95%) rename packages/{icons/src/chevrondown => primeng/src/icons/chevronup}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/chevronup/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/exclamationtriangle/exclamationtriangle.ts (98%) rename packages/{icons/src/chevronleft => primeng/src/icons/exclamationtriangle}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/exclamationtriangle/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/eye/eye.ts (97%) rename packages/{icons/src/chevronright => primeng/src/icons/eye}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/eye/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/eyeslash/eyeslash.ts (98%) rename packages/{icons/src/chevronup => primeng/src/icons/eyeslash}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/eyeslash/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/filter/filter.ts (97%) rename packages/{icons/src/exclamationtriangle => primeng/src/icons/filter}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/filter/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/filterslash/filterslash.ts (98%) rename packages/{icons/src/eye => primeng/src/icons/filterslash}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/filterslash/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/home/home.ts (97%) rename packages/{icons/src/eyeslash => primeng/src/icons/home}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/home/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/infocircle/infocircle.ts (98%) rename packages/{icons/src/filter => primeng/src/icons/infocircle}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/infocircle/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/minus/minus.ts (94%) rename packages/{icons/src/filterslash => primeng/src/icons/minus}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/minus/public_api.ts (100%) rename packages/{icons/src/home => primeng/src/icons}/ng-package.json (100%) rename packages/{ => primeng/src}/icons/package.json (53%) rename packages/{icons/src/infocircle => primeng/src/icons/pencil}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/pencil/pencil.ts (97%) rename packages/{icons/src => primeng/src/icons}/pencil/public_api.ts (100%) rename packages/{icons/src/minus => primeng/src/icons/plus}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/plus/plus.ts (96%) rename packages/{icons/src => primeng/src/icons}/plus/public_api.ts (100%) create mode 100644 packages/primeng/src/icons/public_api.ts rename packages/{icons/src/pencil => primeng/src/icons/refresh}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/refresh/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/refresh/refresh.ts (98%) rename packages/{icons/src/plus => primeng/src/icons/search}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/search/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/search/search.ts (97%) rename packages/{icons/src/refresh => primeng/src/icons/searchminus}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/searchminus/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/searchminus/searchminus.ts (98%) rename packages/{icons/src/search => primeng/src/icons/searchplus}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/searchplus/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/searchplus/searchplus.ts (98%) rename packages/{icons/src/searchminus => primeng/src/icons/sortalt}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/sortalt/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/sortalt/sortalt.ts (97%) rename packages/{icons/src/searchplus => primeng/src/icons/sortamountdown}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/sortamountdown/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/sortamountdown/sortamountdown.ts (97%) rename packages/{icons/src/sortalt => primeng/src/icons/sortamountupalt}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/sortamountupalt/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/sortamountupalt/sortamountupalt.ts (97%) rename packages/{icons/src/sortamountdown => primeng/src/icons/spinner}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/spinner/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/spinner/spinner.ts (97%) rename packages/{icons/src/sortamountupalt => primeng/src/icons/star}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/star/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/star/star.ts (98%) rename packages/{icons/src/spinner => primeng/src/icons/starfill}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/starfill/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/starfill/starfill.ts (97%) rename packages/{icons/src/star => primeng/src/icons/thlarge}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/thlarge/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/thlarge/thlarge.ts (98%) rename packages/{icons/src/starfill => primeng/src/icons/times}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/times/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/times/times.ts (96%) rename packages/{icons/src/thlarge => primeng/src/icons/timescircle}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/timescircle/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/timescircle/timescircle.ts (98%) rename packages/{icons/src/times => primeng/src/icons/trash}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/trash/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/trash/trash.ts (98%) rename packages/{icons/src/timescircle => primeng/src/icons/undo}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/undo/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/undo/undo.ts (98%) rename packages/{icons/src/trash => primeng/src/icons/upload}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/upload/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/upload/upload.ts (98%) rename packages/{icons/src/undo => primeng/src/icons/windowmaximize}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/windowmaximize/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/windowmaximize/windowmaximize.ts (98%) rename packages/{icons/src/upload => primeng/src/icons/windowminimize}/ng-package.json (100%) rename packages/{icons/src => primeng/src/icons}/windowminimize/public_api.ts (100%) rename packages/{icons/src => primeng/src/icons}/windowminimize/windowminimize.ts (98%) delete mode 100644 packages/primeng/src/package.json delete mode 100644 packages/primeng/src/tsconfig.lib.json rename packages/{icons/src/windowmaximize => primeng/src/usestyle}/ng-package.json (100%) rename packages/{core => primeng}/src/usestyle/public_api.ts (100%) rename packages/{core => primeng}/src/usestyle/usestyle.ts (100%) diff --git a/.gitignore b/.gitignore index e322cf1f4cd..bf58b69756b 100644 --- a/.gitignore +++ b/.gitignore @@ -49,5 +49,4 @@ api-generator/themedoc.json builder/node_modules # primeng packages -packages/core/src/package.json -packages/icons/src/package.json +packages/primeng/src/package.json diff --git a/packages/core/README.md b/packages/core/README.md deleted file mode 100644 index d20b481d195..00000000000 --- a/packages/core/README.md +++ /dev/null @@ -1 +0,0 @@ -# PrimeNG Core diff --git a/packages/core/angular.json b/packages/core/angular.json deleted file mode 100644 index c1f765e40cc..00000000000 --- a/packages/core/angular.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "../../node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "projects", - "projects": { - "primeng-core": { - "root": "src", - "projectType": "library", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "project": "src/ng-package.json", - "tsConfig": "src/tsconfig.lib.json" - } - } - } - } - }, - "cli": { - "analytics": false - } -} diff --git a/packages/core/package.json b/packages/core/package.json deleted file mode 100644 index a1118be6343..00000000000 --- a/packages/core/package.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "name": "@primeng/core", - "version": "18.0.0-rc.1", - "author": "PrimeTek Informatics", - "description": "", - "homepage": "https://primeng.org/", - "license": "SEE LICENSE IN LICENSE.md", - "repository": { - "type": "git", - "url": "https://github.com/primefaces/primeng.git", - "directory": "packages/core" - }, - "bugs": { - "url": "https://github.com/primefaces/primeng/issues" - }, - "main": "./src/public_api.ts", - "module": "./src/public_api.ts", - "types": "./src/public_api.ts", - "exports": { - ".": "./src/public_api.ts", - "./*": "./src/*/public_api.ts" - }, - "publishConfig": { - "directory": "dist", - "linkDirectory": false, - "access": "public" - }, - "scripts": { - "build": "NODE_ENV=production INPUT_DIR=src/ OUTPUT_DIR=dist/ pnpm run build:package", - "build:package": "pnpm run build:prebuild && ng build primeng-core && pnpm run build:postbuild", - "build:prebuild": "node ./scripts/prebuild.mjs", - "build:postbuild": "node ./scripts/postbuild.mjs", - "dev:link": "pnpm link --global && npm link" - }, - "peerDependencies": { - "@angular/animations": "catalog:compatible", - "@angular/common": "catalog:compatible", - "@angular/core": "catalog:compatible", - "rxjs": "catalog:compatible" - }, - "dependencies": { - "@primeuix/styled": "catalog:", - "@primeuix/utils": "catalog:" - }, - "engines": { - "node": ">=12.11.0" - } -} diff --git a/packages/core/scripts/postbuild.mjs b/packages/core/scripts/postbuild.mjs deleted file mode 100644 index 9a27f0a98ba..00000000000 --- a/packages/core/scripts/postbuild.mjs +++ /dev/null @@ -1,8 +0,0 @@ -import fs from 'fs-extra'; -import path from 'path'; -import { resolvePath } from '../../../scripts/build-helper.mjs'; - -const { __dirname, __workspace, OUTPUT_DIR } = resolvePath(import.meta.url); - -fs.copySync(path.resolve(__dirname, '../README.md'), `${OUTPUT_DIR}/README.md`); -fs.copySync(path.resolve(__workspace, './LICENSE.md'), `${OUTPUT_DIR}/LICENSE.md`); diff --git a/packages/core/scripts/prebuild.mjs b/packages/core/scripts/prebuild.mjs deleted file mode 100644 index e430d4442d4..00000000000 --- a/packages/core/scripts/prebuild.mjs +++ /dev/null @@ -1,33 +0,0 @@ -import fs from 'fs-extra'; -import path from 'path'; -import { AUTO_FILE_COMMENT, createPackageJson_For_NG_Packager, removeBuild, resolvePath } from '../../../scripts/build-helper.mjs'; - -removeBuild(import.meta.url); - -const { INPUT_PATH } = resolvePath(import.meta.url); - -createPackageJson_For_NG_Packager(path.resolve(resolvePath(import.meta.url).__dirname, '../package.json'), INPUT_PATH); - -// Generate exports -const IGNORED_FILES = /ng-package\.json$|public_api\.ts$|.*\.spec\.ts$/; - -// update api > "exports" in public_api.ts -let apiExports = [AUTO_FILE_COMMENT]; - -const API_PATH = path.resolve(INPUT_PATH, 'api'); -fs.readdirSync(API_PATH).forEach((file) => { - !IGNORED_FILES.test(file) && apiExports.push(`export * from './${file.split('.ts')[0]}';`); -}); - -fs.writeFileSync(path.join(API_PATH, 'public_api.ts'), apiExports.join('\n') + '\n', { encoding: 'utf8' }); - -// update src > "exports" in public_api.ts -let exports = [AUTO_FILE_COMMENT]; - -fs.readdirSync(INPUT_PATH, { withFileTypes: true }) - .filter((dir) => dir.isDirectory()) - .forEach(({ name: folderName }) => { - exports.push(`export * from '@primeng/core/${folderName}';`); - }); - -fs.writeFileSync(path.join(INPUT_PATH, 'public_api.ts'), exports.join('\n') + '\n', { encoding: 'utf8' }); diff --git a/packages/core/src/api/public_api.ts b/packages/core/src/api/public_api.ts deleted file mode 100644 index 715b3be7cbc..00000000000 --- a/packages/core/src/api/public_api.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * @file - * THIS FILE IS AUTO-GENERATED. PLEASE DO NOT MODIFY. - */ -export * from './filtermatchmode'; -export * from './filtermetadata'; -export * from './filteroperator'; -export * from './filterservice'; -export * from './overlayoptions'; -export * from './overlayservice'; -export * from './primeicons'; -export * from './shared'; -export * from './sortevent'; -export * from './sortmeta'; -export * from './translation'; -export * from './translationkeys'; diff --git a/packages/core/src/config/public_api.ts b/packages/core/src/config/public_api.ts deleted file mode 100644 index 343fa5c6ba3..00000000000 --- a/packages/core/src/config/public_api.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from './primeng'; -export * from './primengconfig'; -export * from './provideprimengconfig'; -export * from './themeprovider'; diff --git a/packages/core/src/ng-package.json b/packages/core/src/ng-package.json deleted file mode 100644 index 0aa5c12154d..00000000000 --- a/packages/core/src/ng-package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../dist", - "deleteDestPath": true, - "lib": { - "entryFile": "public_api.ts" - }, - "allowedNonPeerDependencies": ["@primeuix/styled", "@primeuix/utils"] -} diff --git a/packages/core/src/public_api.ts b/packages/core/src/public_api.ts deleted file mode 100644 index 97f06ad0a5e..00000000000 --- a/packages/core/src/public_api.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @file - * THIS FILE IS AUTO-GENERATED. PLEASE DO NOT MODIFY. - */ -export * from '@primeng/core/api'; -export * from '@primeng/core/base'; -export * from '@primeng/core/basecomponent'; -export * from '@primeng/core/config'; -export * from '@primeng/core/usestyle'; diff --git a/packages/core/src/tsconfig.lib.json b/packages/core/src/tsconfig.lib.json deleted file mode 100644 index 1e45a7474c5..00000000000 --- a/packages/core/src/tsconfig.lib.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "angularCompilerOptions": { - "annotateForClosureCompiler": false, - "strictTemplates": false, - "strictMetadataEmit": true, - "skipTemplateCodegen": true, - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "flatModuleOutFile": "primeng-core.js", - "flatModuleId": "primeng-core" - } -} diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json deleted file mode 100644 index b1709251ad0..00000000000 --- a/packages/core/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "angularCompilerOptions": { - "disableTypeScriptVersionCheck": true, - "fullTemplateTypeCheck": false, - "annotateForClosureCompiler": false, - "strictTemplates": false, - "strictMetadataEmit": true, - "skipTemplateCodegen": true, - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "flatModuleOutFile": "primeng.js", - "flatModuleId": "primeng" - } -} diff --git a/packages/icons/README.md b/packages/icons/README.md deleted file mode 100644 index 58e747cf481..00000000000 --- a/packages/icons/README.md +++ /dev/null @@ -1 +0,0 @@ -# PrimeNG Icons diff --git a/packages/icons/angular.json b/packages/icons/angular.json deleted file mode 100644 index 450ed88aa15..00000000000 --- a/packages/icons/angular.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "../../node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "projects", - "projects": { - "primeng-icons": { - "root": "src", - "projectType": "library", - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:ng-packagr", - "options": { - "project": "src/ng-package.json", - "tsConfig": "src/tsconfig.lib.json" - } - } - } - } - }, - "cli": { - "analytics": false - } -} diff --git a/packages/icons/scripts/postbuild.mjs b/packages/icons/scripts/postbuild.mjs deleted file mode 100644 index 9a27f0a98ba..00000000000 --- a/packages/icons/scripts/postbuild.mjs +++ /dev/null @@ -1,8 +0,0 @@ -import fs from 'fs-extra'; -import path from 'path'; -import { resolvePath } from '../../../scripts/build-helper.mjs'; - -const { __dirname, __workspace, OUTPUT_DIR } = resolvePath(import.meta.url); - -fs.copySync(path.resolve(__dirname, '../README.md'), `${OUTPUT_DIR}/README.md`); -fs.copySync(path.resolve(__workspace, './LICENSE.md'), `${OUTPUT_DIR}/LICENSE.md`); diff --git a/packages/icons/scripts/prebuild.mjs b/packages/icons/scripts/prebuild.mjs deleted file mode 100644 index 9191b9c9262..00000000000 --- a/packages/icons/scripts/prebuild.mjs +++ /dev/null @@ -1,22 +0,0 @@ -import fs from 'fs-extra'; -import path from 'path'; -import { AUTO_FILE_COMMENT, createPackageJson_For_NG_Packager, removeBuild, resolvePath } from '../../../scripts/build-helper.mjs'; - -removeBuild(import.meta.url); - -const { INPUT_PATH } = resolvePath(import.meta.url); - -createPackageJson_For_NG_Packager(path.resolve(resolvePath(import.meta.url).__dirname, '../package.json'), INPUT_PATH); - -// Generate exports - -// update src > "exports" in public_api.ts -let exports = [AUTO_FILE_COMMENT]; - -fs.readdirSync(INPUT_PATH, { withFileTypes: true }) - .filter((dir) => dir.isDirectory()) - .forEach(({ name: folderName }) => { - exports.push(`export * from '@primeng/icons/${folderName}';`); - }); - -fs.writeFileSync(path.join(INPUT_PATH, 'public_api.ts'), exports.join('\n') + '\n', { encoding: 'utf8' }); diff --git a/packages/icons/src/ng-package.json b/packages/icons/src/ng-package.json deleted file mode 100644 index 25d1dcbae54..00000000000 --- a/packages/icons/src/ng-package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json", - "dest": "../dist", - "deleteDestPath": true, - "lib": { - "entryFile": "public_api.ts" - }, - "allowedNonPeerDependencies": ["@primeuix/utils"] -} diff --git a/packages/icons/src/public_api.ts b/packages/icons/src/public_api.ts deleted file mode 100644 index 290889e4a16..00000000000 --- a/packages/icons/src/public_api.ts +++ /dev/null @@ -1,58 +0,0 @@ -/** - * @file - * THIS FILE IS AUTO-GENERATED. PLEASE DO NOT MODIFY. - */ -export * from '@primeng/icons/angledoubledown'; -export * from '@primeng/icons/angledoubleleft'; -export * from '@primeng/icons/angledoubleright'; -export * from '@primeng/icons/angledoubleup'; -export * from '@primeng/icons/angledown'; -export * from '@primeng/icons/angleleft'; -export * from '@primeng/icons/angleright'; -export * from '@primeng/icons/angleup'; -export * from '@primeng/icons/arrowdown'; -export * from '@primeng/icons/arrowdownleft'; -export * from '@primeng/icons/arrowdownright'; -export * from '@primeng/icons/arrowleft'; -export * from '@primeng/icons/arrowright'; -export * from '@primeng/icons/arrowup'; -export * from '@primeng/icons/ban'; -export * from '@primeng/icons/bars'; -export * from '@primeng/icons/baseicon'; -export * from '@primeng/icons/blank'; -export * from '@primeng/icons/calendar'; -export * from '@primeng/icons/caretleft'; -export * from '@primeng/icons/caretright'; -export * from '@primeng/icons/check'; -export * from '@primeng/icons/chevrondown'; -export * from '@primeng/icons/chevronleft'; -export * from '@primeng/icons/chevronright'; -export * from '@primeng/icons/chevronup'; -export * from '@primeng/icons/exclamationtriangle'; -export * from '@primeng/icons/eye'; -export * from '@primeng/icons/eyeslash'; -export * from '@primeng/icons/filter'; -export * from '@primeng/icons/filterslash'; -export * from '@primeng/icons/home'; -export * from '@primeng/icons/infocircle'; -export * from '@primeng/icons/minus'; -export * from '@primeng/icons/pencil'; -export * from '@primeng/icons/plus'; -export * from '@primeng/icons/refresh'; -export * from '@primeng/icons/search'; -export * from '@primeng/icons/searchminus'; -export * from '@primeng/icons/searchplus'; -export * from '@primeng/icons/sortalt'; -export * from '@primeng/icons/sortamountdown'; -export * from '@primeng/icons/sortamountupalt'; -export * from '@primeng/icons/spinner'; -export * from '@primeng/icons/star'; -export * from '@primeng/icons/starfill'; -export * from '@primeng/icons/thlarge'; -export * from '@primeng/icons/times'; -export * from '@primeng/icons/timescircle'; -export * from '@primeng/icons/trash'; -export * from '@primeng/icons/undo'; -export * from '@primeng/icons/upload'; -export * from '@primeng/icons/windowmaximize'; -export * from '@primeng/icons/windowminimize'; diff --git a/packages/icons/src/tsconfig.lib.json b/packages/icons/src/tsconfig.lib.json deleted file mode 100644 index d18859fcd33..00000000000 --- a/packages/icons/src/tsconfig.lib.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "angularCompilerOptions": { - "annotateForClosureCompiler": false, - "strictTemplates": false, - "strictMetadataEmit": true, - "skipTemplateCodegen": true, - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "flatModuleOutFile": "primeng-icons.js", - "flatModuleId": "primeng-icons" - } -} diff --git a/packages/icons/src/windowminimize/ng-package.json b/packages/icons/src/windowminimize/ng-package.json deleted file mode 100644 index 67d0bb09411..00000000000 --- a/packages/icons/src/windowminimize/ng-package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "../../../../node_modules/ng-packagr/ng-package.schema.json", - "lib": { - "entryFile": "public_api.ts" - } -} diff --git a/packages/icons/tsconfig.json b/packages/icons/tsconfig.json deleted file mode 100644 index b1709251ad0..00000000000 --- a/packages/icons/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "angularCompilerOptions": { - "disableTypeScriptVersionCheck": true, - "fullTemplateTypeCheck": false, - "annotateForClosureCompiler": false, - "strictTemplates": false, - "strictMetadataEmit": true, - "skipTemplateCodegen": true, - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "flatModuleOutFile": "primeng.js", - "flatModuleId": "primeng" - } -} diff --git a/packages/primeng/angular.json b/packages/primeng/angular.json index eb164bdf9c7..0a3ab732885 100644 --- a/packages/primeng/angular.json +++ b/packages/primeng/angular.json @@ -11,10 +11,13 @@ "builder": "@angular-devkit/build-angular:ng-packagr", "options": { "project": "src/ng-package.json", - "tsConfig": "src/tsconfig.lib.json" + "tsConfig": "tsconfig.json" } } } } + }, + "cli": { + "analytics": false } } diff --git a/packages/primeng/package.json b/packages/primeng/package.json index 76fc356aa09..4f44e808c75 100644 --- a/packages/primeng/package.json +++ b/packages/primeng/package.json @@ -1,10 +1,10 @@ { "name": "primeng", - "version": "4.2.1", + "version": "18.0.0-rc.1", "author": "PrimeTek Informatics", "description": "PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock, which has 370+ ready to use UI blocks to build spectacular applications in no time.", "homepage": "https://primeng.org/", - "license": "MIT", + "license": "SEE LICENSE IN LICENSE.md", "repository": { "type": "git", "url": "https://github.com/primefaces/primeng.git", @@ -43,13 +43,9 @@ "build:api": "node ./scripts/build-api.js", "build:prebuild": "node ./scripts/prebuild.mjs", "build:postbuild": "node ./scripts/postbuild.mjs", - "dev:link": "pnpm link --global && npm link", - "test:unit": "vitest run", - "test:unit:watch": "vitest watch", - "test:coverage": "vitest run --coverage" + "dev:link": "pnpm link --global && npm link" }, "devDependencies": { - "@angular/cdk": "catalog:angular18", "chart.js": "4.4.2", "karma": "~6.4.2", "karma-chrome-launcher": "~3.2.0", @@ -66,13 +62,14 @@ "@angular/core": "^17.0.0 || ^18.0.0", "@angular/forms": "^17.0.0 || ^18.0.0", "@angular/router": "^17.0.0 || ^18.0.0", - "rxjs": "^6.0.0 || ^7.8.1", - "zone.js": "~0.14.0" + "@angular/platform-browser": "^17.0.0 || ^18.0.0", + "rxjs": "^6.0.0 || ^7.8.1" }, "dependencies": { "@primeuix/styled": "catalog:", - "@primeuix/utils": "catalog:", - "@primeng/core": "workspace:*", - "@primeng/icons": "workspace:*" + "@primeuix/utils": "catalog:" + }, + "engines": { + "node": ">=12.11.0" } } diff --git a/packages/primeng/scripts/postbuild.mjs b/packages/primeng/scripts/postbuild.mjs index 6ba56215176..9a27f0a98ba 100644 --- a/packages/primeng/scripts/postbuild.mjs +++ b/packages/primeng/scripts/postbuild.mjs @@ -1,14 +1,8 @@ import fs from 'fs-extra'; import path from 'path'; -import { clearPackageJson, copyDependencies, renameDTSFile, resolvePath } from '../../../scripts/build-helper.mjs'; +import { resolvePath } from '../../../scripts/build-helper.mjs'; -const { __dirname, __workspace, INPUT_DIR, OUTPUT_DIR } = resolvePath(import.meta.url); +const { __dirname, __workspace, OUTPUT_DIR } = resolvePath(import.meta.url); -copyDependencies(INPUT_DIR, OUTPUT_DIR, '/style'); -renameDTSFile(OUTPUT_DIR, 'index'); - -fs.copySync(path.resolve(__dirname, '../package.json'), `${OUTPUT_DIR}/package.json`); fs.copySync(path.resolve(__dirname, '../README.md'), `${OUTPUT_DIR}/README.md`); fs.copySync(path.resolve(__workspace, './LICENSE.md'), `${OUTPUT_DIR}/LICENSE.md`); - -clearPackageJson(path.resolve(__dirname, `../${OUTPUT_DIR}/package.json`)); diff --git a/packages/primeng/scripts/prebuild.mjs b/packages/primeng/scripts/prebuild.mjs index e69de29bb2d..2798b29151c 100644 --- a/packages/primeng/scripts/prebuild.mjs +++ b/packages/primeng/scripts/prebuild.mjs @@ -0,0 +1,8 @@ +import path from 'path'; +import { createPackageJson_For_NG_Packager, removeBuild, resolvePath } from '../../../scripts/build-helper.mjs'; + +removeBuild(import.meta.url); + +const { INPUT_PATH } = resolvePath(import.meta.url); + +createPackageJson_For_NG_Packager(path.resolve(resolvePath(import.meta.url).__dirname, '../package.json'), INPUT_PATH); diff --git a/packages/primeng/src/accordion/accordion.ts b/packages/primeng/src/accordion/accordion.ts index 54b52d23245..20f08da16bb 100755 --- a/packages/primeng/src/accordion/accordion.ts +++ b/packages/primeng/src/accordion/accordion.ts @@ -26,10 +26,10 @@ import { TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, Header, SharedModule } from '@primeng/core'; -import { ChevronDownIcon, ChevronUpIcon } from '@primeng/icons'; import { findSingle, focus, getAttribute, uuid } from '@primeuix/utils'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, Header, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { ChevronDownIcon, ChevronUpIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { transformToBoolean } from 'primeng/utils'; import { Subscription } from 'rxjs'; diff --git a/packages/primeng/src/accordion/style/accordionstyle.ts b/packages/primeng/src/accordion/style/accordionstyle.ts index 33855880e0b..08ac58a9682 100644 --- a/packages/primeng/src/accordion/style/accordionstyle.ts +++ b/packages/primeng/src/accordion/style/accordionstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-accordionpanel { diff --git a/packages/primeng/src/animateonscroll/animateonscroll.ts b/packages/primeng/src/animateonscroll/animateonscroll.ts index 0b2a0b70859..cd4f8ae0f1b 100644 --- a/packages/primeng/src/animateonscroll/animateonscroll.ts +++ b/packages/primeng/src/animateonscroll/animateonscroll.ts @@ -1,7 +1,7 @@ import { isPlatformBrowser } from '@angular/common'; import { AfterViewInit, booleanAttribute, Directive, Input, NgModule, numberAttribute, OnInit } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; import { addClass, removeClass } from '@primeuix/utils'; +import { BaseComponent } from 'primeng/basecomponent'; interface AnimateOnScrollOptions { root?: HTMLElement; diff --git a/packages/core/src/api/filtermatchmode.ts b/packages/primeng/src/api/filtermatchmode.ts similarity index 100% rename from packages/core/src/api/filtermatchmode.ts rename to packages/primeng/src/api/filtermatchmode.ts diff --git a/packages/core/src/api/filtermetadata.ts b/packages/primeng/src/api/filtermetadata.ts similarity index 100% rename from packages/core/src/api/filtermetadata.ts rename to packages/primeng/src/api/filtermetadata.ts diff --git a/packages/core/src/api/filteroperator.ts b/packages/primeng/src/api/filteroperator.ts similarity index 100% rename from packages/core/src/api/filteroperator.ts rename to packages/primeng/src/api/filteroperator.ts diff --git a/packages/core/src/api/filterservice.spec.ts b/packages/primeng/src/api/filterservice.spec.ts similarity index 100% rename from packages/core/src/api/filterservice.spec.ts rename to packages/primeng/src/api/filterservice.spec.ts diff --git a/packages/core/src/api/filterservice.ts b/packages/primeng/src/api/filterservice.ts similarity index 100% rename from packages/core/src/api/filterservice.ts rename to packages/primeng/src/api/filterservice.ts diff --git a/packages/primeng/src/api/lazyloadevent.ts b/packages/primeng/src/api/lazyloadevent.ts index c11db9225cb..31dc58169c6 100755 --- a/packages/primeng/src/api/lazyloadevent.ts +++ b/packages/primeng/src/api/lazyloadevent.ts @@ -1,4 +1,5 @@ -import { FilterMetadata, SortMeta } from '@primeng/core'; +import { FilterMetadata } from './filtermetadata'; +import { SortMeta } from './sortmeta'; /** * Represents an event object for lazy loading data. diff --git a/packages/primeng/src/api/lazyloadmeta.ts b/packages/primeng/src/api/lazyloadmeta.ts index 8833c9b5d36..3d9496507fe 100644 --- a/packages/primeng/src/api/lazyloadmeta.ts +++ b/packages/primeng/src/api/lazyloadmeta.ts @@ -1,4 +1,5 @@ -import { SortMeta, FilterMetadata } from '@primeng/core/api'; +import { FilterMetadata } from './filtermetadata'; +import { SortMeta } from './sortmeta'; /** * Meta data for lazy load event. * @group Interface diff --git a/packages/core/src/api/overlayoptions.ts b/packages/primeng/src/api/overlayoptions.ts similarity index 100% rename from packages/core/src/api/overlayoptions.ts rename to packages/primeng/src/api/overlayoptions.ts diff --git a/packages/core/src/api/overlayservice.ts b/packages/primeng/src/api/overlayservice.ts similarity index 100% rename from packages/core/src/api/overlayservice.ts rename to packages/primeng/src/api/overlayservice.ts diff --git a/packages/core/src/api/primeicons.ts b/packages/primeng/src/api/primeicons.ts similarity index 100% rename from packages/core/src/api/primeicons.ts rename to packages/primeng/src/api/primeicons.ts diff --git a/packages/core/src/config/primeng.ts b/packages/primeng/src/api/primeng.ts similarity index 97% rename from packages/core/src/config/primeng.ts rename to packages/primeng/src/api/primeng.ts index 8e77da0566c..55e1d76edc1 100644 --- a/packages/core/src/config/primeng.ts +++ b/packages/primeng/src/api/primeng.ts @@ -1,7 +1,9 @@ import { inject, Injectable, PLATFORM_ID, signal } from '@angular/core'; -import { FilterMatchMode, OverlayOptions, Translation } from '@primeng/core/api'; import { Subject } from 'rxjs'; +import { FilterMatchMode } from './filtermatchmode'; +import { OverlayOptions } from './overlayoptions'; import { ThemeProvider } from './themeprovider'; +import { Translation } from './translation'; @Injectable({ providedIn: 'root' }) export class PrimeNG extends ThemeProvider { diff --git a/packages/core/src/config/primengconfig.ts b/packages/primeng/src/api/primengconfig.ts similarity index 100% rename from packages/core/src/config/primengconfig.ts rename to packages/primeng/src/api/primengconfig.ts diff --git a/packages/core/src/config/provideprimengconfig.ts b/packages/primeng/src/api/provideprimengconfig.ts similarity index 100% rename from packages/core/src/config/provideprimengconfig.ts rename to packages/primeng/src/api/provideprimengconfig.ts diff --git a/packages/primeng/src/api/public_api.ts b/packages/primeng/src/api/public_api.ts index 1355594c28a..fbdc715a0b2 100644 --- a/packages/primeng/src/api/public_api.ts +++ b/packages/primeng/src/api/public_api.ts @@ -3,22 +3,34 @@ export * from './confirmaeventtype'; export * from './confirmation'; export * from './confirmationservice'; export * from './contextmenuservice'; +export * from './filtermatchmode'; +export * from './filtermetadata'; +export * from './filteroperator'; +export * from './filterservice'; export * from './lazyloadevent'; export * from './lazyloadmeta'; export * from './megamenuitem'; export * from './menuitem'; export * from './messageservice'; +export * from './overlayoptions'; +export * from './overlayservice'; +export * from './primeicons'; +export * from './primeng'; +export * from './primengconfig'; +export * from './provideprimengconfig'; export * from './scrolleroptions'; export * from './selectitem'; export * from './selectitemgroup'; +export * from './shared'; +export * from './sortevent'; +export * from './sortmeta'; export * from './tablestate'; +export * from './themeprovider'; export * from './toastmessage'; export * from './tooltipoptions'; +export * from './translation'; +export * from './translationkeys'; export * from './treedragdropservice'; export * from './treenode'; export * from './treenodedragevent'; export * from './treetablenode'; - -// @todo: Remove -export * from '@primeng/core/api'; -export * from '@primeng/core/config'; diff --git a/packages/core/src/api/shared.ts b/packages/primeng/src/api/shared.ts similarity index 100% rename from packages/core/src/api/shared.ts rename to packages/primeng/src/api/shared.ts diff --git a/packages/core/src/api/sortevent.ts b/packages/primeng/src/api/sortevent.ts similarity index 100% rename from packages/core/src/api/sortevent.ts rename to packages/primeng/src/api/sortevent.ts diff --git a/packages/core/src/api/sortmeta.ts b/packages/primeng/src/api/sortmeta.ts similarity index 100% rename from packages/core/src/api/sortmeta.ts rename to packages/primeng/src/api/sortmeta.ts diff --git a/packages/primeng/src/api/tablestate.ts b/packages/primeng/src/api/tablestate.ts index 37213fd2bbe..5df62e3f1eb 100755 --- a/packages/primeng/src/api/tablestate.ts +++ b/packages/primeng/src/api/tablestate.ts @@ -1,4 +1,5 @@ -import { FilterMetadata, SortMeta } from '@primeng/core'; +import { FilterMetadata } from './filtermetadata'; +import { SortMeta } from './sortmeta'; /** * Represents the state of a table component. diff --git a/packages/core/src/config/themeprovider.ts b/packages/primeng/src/api/themeprovider.ts similarity index 97% rename from packages/core/src/config/themeprovider.ts rename to packages/primeng/src/api/themeprovider.ts index 5f428a9854d..f93a519d86d 100644 --- a/packages/core/src/config/themeprovider.ts +++ b/packages/primeng/src/api/themeprovider.ts @@ -1,7 +1,7 @@ import { DOCUMENT } from '@angular/common'; import { effect, inject, Inject, Injectable, signal, untracked } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; import { Theme, ThemeService } from '@primeuix/styled'; +import { BaseStyle } from 'primeng/base'; import { PRIME_NG_THEME, PrimeNgFeature } from './provideprimengconfig'; @Injectable({ providedIn: 'root' }) diff --git a/packages/core/src/api/translation.ts b/packages/primeng/src/api/translation.ts similarity index 100% rename from packages/core/src/api/translation.ts rename to packages/primeng/src/api/translation.ts diff --git a/packages/core/src/api/translationkeys.ts b/packages/primeng/src/api/translationkeys.ts similarity index 100% rename from packages/core/src/api/translationkeys.ts rename to packages/primeng/src/api/translationkeys.ts diff --git a/packages/primeng/src/autocomplete/autocomplete.spec.ts b/packages/primeng/src/autocomplete/autocomplete.spec.ts index 43315ddce9b..c306dc5e146 100755 --- a/packages/primeng/src/autocomplete/autocomplete.spec.ts +++ b/packages/primeng/src/autocomplete/autocomplete.spec.ts @@ -4,8 +4,8 @@ import { FormsModule } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { BrowserDynamicTestingModule } from '@angular/platform-browser-dynamic/testing'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { ChevronDownIcon, TimesCircleIcon } from '@primeng/icons'; import { ButtonModule } from 'primeng/button'; +import { ChevronDownIcon, TimesCircleIcon } from 'primeng/icons'; import { OverlayModule } from 'primeng/overlay'; import { AutoComplete } from './autocomplete'; diff --git a/packages/primeng/src/autocomplete/autocomplete.ts b/packages/primeng/src/autocomplete/autocomplete.ts index 1465d5b45ee..030ea280ba4 100755 --- a/packages/primeng/src/autocomplete/autocomplete.ts +++ b/packages/primeng/src/autocomplete/autocomplete.ts @@ -26,14 +26,14 @@ import { ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, OverlayOptions, OverlayService, PrimeTemplate, SharedModule, TranslationKeys } from '@primeng/core'; -import { ChevronDownIcon, SpinnerIcon, TimesCircleIcon, TimesIcon } from '@primeng/icons'; import { equals, findLastIndex, findSingle, focus, isEmpty, isNotEmpty, resolveFieldData, uuid } from '@primeuix/utils'; -import { ScrollerOptions } from 'primeng/api'; +import { OverlayOptions, OverlayService, PrimeTemplate, ScrollerOptions, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; import { Chip } from 'primeng/chip'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; +import { ChevronDownIcon, SpinnerIcon, TimesCircleIcon, TimesIcon } from 'primeng/icons'; import { InputText } from 'primeng/inputtext'; import { Overlay } from 'primeng/overlay'; import { Ripple } from 'primeng/ripple'; diff --git a/packages/primeng/src/autocomplete/style/autocompletestyle.ts b/packages/primeng/src/autocomplete/style/autocompletestyle.ts index 16b7cec46c2..46251f9214e 100644 --- a/packages/primeng/src/autocomplete/style/autocompletestyle.ts +++ b/packages/primeng/src/autocomplete/style/autocompletestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-autocomplete { diff --git a/packages/primeng/src/autofocus/autofocus.ts b/packages/primeng/src/autofocus/autofocus.ts index b43aedeca32..b069b9c915a 100644 --- a/packages/primeng/src/autofocus/autofocus.ts +++ b/packages/primeng/src/autofocus/autofocus.ts @@ -1,6 +1,6 @@ import { DOCUMENT, isPlatformBrowser } from '@angular/common'; import { booleanAttribute, Directive, ElementRef, inject, Input, NgModule, PLATFORM_ID } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; import { DomHandler } from 'primeng/dom'; /** diff --git a/packages/primeng/src/avatar/avatar.ts b/packages/primeng/src/avatar/avatar.ts index df72f7921fb..8560dfc235c 100755 --- a/packages/primeng/src/avatar/avatar.ts +++ b/packages/primeng/src/avatar/avatar.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, EventEmitter, HostBinding, inject, Input, NgModule, Output, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { AvatarStyle } from './style/avatarstyle'; /** diff --git a/packages/primeng/src/avatar/style/avatarstyle.ts b/packages/primeng/src/avatar/style/avatarstyle.ts index 09aca8c0e8b..348a8ba721c 100644 --- a/packages/primeng/src/avatar/style/avatarstyle.ts +++ b/packages/primeng/src/avatar/style/avatarstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-avatar { diff --git a/packages/primeng/src/avatargroup/avatargroup.ts b/packages/primeng/src/avatargroup/avatargroup.ts index 86956daa59e..758890b31a8 100755 --- a/packages/primeng/src/avatargroup/avatargroup.ts +++ b/packages/primeng/src/avatargroup/avatargroup.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, HostBinding, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { AvatarGroupStyle } from './style/avatargroupstyle'; /** diff --git a/packages/primeng/src/avatargroup/style/avatargroupstyle.ts b/packages/primeng/src/avatargroup/style/avatargroupstyle.ts index 67b54c2a035..159d5c7a8f1 100644 --- a/packages/primeng/src/avatargroup/style/avatargroupstyle.ts +++ b/packages/primeng/src/avatargroup/style/avatargroupstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const classes = { root: 'p-avatar-group p-component' diff --git a/packages/primeng/src/badge/badge.ts b/packages/primeng/src/badge/badge.ts index 1d119d9f656..b18e3752329 100755 --- a/packages/primeng/src/badge/badge.ts +++ b/packages/primeng/src/badge/badge.ts @@ -1,7 +1,8 @@ import { CommonModule } from '@angular/common'; import { AfterViewInit, booleanAttribute, ChangeDetectionStrategy, Component, computed, Directive, inject, Input, input, NgModule, OnChanges, SimpleChanges, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { addClass, hasClass, isEmpty, isNotEmpty, removeClass, uuid } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { BadgeStyle } from './style/badgestyle'; /** diff --git a/packages/primeng/src/badge/style/badgestyle.ts b/packages/primeng/src/badge/style/badgestyle.ts index 07fe662b800..c4acd4e1b3f 100644 --- a/packages/primeng/src/badge/style/badgestyle.ts +++ b/packages/primeng/src/badge/style/badgestyle.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; import { isEmpty, isNotEmpty } from '@primeuix/utils'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-badge { diff --git a/packages/core/src/base/base.ts b/packages/primeng/src/base/base.ts similarity index 100% rename from packages/core/src/base/base.ts rename to packages/primeng/src/base/base.ts diff --git a/packages/core/src/api/ng-package.json b/packages/primeng/src/base/ng-package.json similarity index 100% rename from packages/core/src/api/ng-package.json rename to packages/primeng/src/base/ng-package.json diff --git a/packages/core/src/base/public_api.ts b/packages/primeng/src/base/public_api.ts similarity index 100% rename from packages/core/src/base/public_api.ts rename to packages/primeng/src/base/public_api.ts diff --git a/packages/core/src/base/style/basestyle.ts b/packages/primeng/src/base/style/basestyle.ts similarity index 99% rename from packages/core/src/base/style/basestyle.ts rename to packages/primeng/src/base/style/basestyle.ts index 04b466a29f7..0a4cf3f8550 100644 --- a/packages/core/src/base/style/basestyle.ts +++ b/packages/primeng/src/base/style/basestyle.ts @@ -1,7 +1,7 @@ import { inject, Injectable } from '@angular/core'; -import { UseStyle } from '@primeng/core/usestyle'; import { dt, Theme } from '@primeuix/styled'; import { minifyCSS, resolve } from '@primeuix/utils'; +import { UseStyle } from 'primeng/usestyle'; const theme = ({ dt }) => ` * { diff --git a/packages/core/src/basecomponent/basecomponent.ts b/packages/primeng/src/basecomponent/basecomponent.ts similarity index 97% rename from packages/core/src/basecomponent/basecomponent.ts rename to packages/primeng/src/basecomponent/basecomponent.ts index aa170b07a59..d4807249c73 100644 --- a/packages/core/src/basecomponent/basecomponent.ts +++ b/packages/primeng/src/basecomponent/basecomponent.ts @@ -1,10 +1,9 @@ import { DOCUMENT, isPlatformServer } from '@angular/common'; import { ChangeDetectorRef, ContentChildren, Directive, ElementRef, inject, Injector, Input, PLATFORM_ID, QueryList, Renderer2, SimpleChanges } from '@angular/core'; -import { PrimeTemplate } from '@primeng/core/api'; -import { Base, BaseStyle } from '@primeng/core/base'; -import { PrimeNGConfig } from '@primeng/core/config'; import { Theme, ThemeService } from '@primeuix/styled'; import { getKeyValue, uuid } from '@primeuix/utils'; +import { PrimeNGConfig, PrimeTemplate } from 'primeng/api'; +import { Base, BaseStyle } from 'primeng/base'; import { BaseComponentStyle } from './style/basecomponentstyle'; @Directive({ standalone: true, providers: [BaseComponentStyle, BaseStyle] }) diff --git a/packages/core/src/base/ng-package.json b/packages/primeng/src/basecomponent/ng-package.json similarity index 100% rename from packages/core/src/base/ng-package.json rename to packages/primeng/src/basecomponent/ng-package.json diff --git a/packages/core/src/basecomponent/public_api.ts b/packages/primeng/src/basecomponent/public_api.ts similarity index 100% rename from packages/core/src/basecomponent/public_api.ts rename to packages/primeng/src/basecomponent/public_api.ts diff --git a/packages/core/src/basecomponent/style/basecomponentstyle.ts b/packages/primeng/src/basecomponent/style/basecomponentstyle.ts similarity index 76% rename from packages/core/src/basecomponent/style/basecomponentstyle.ts rename to packages/primeng/src/basecomponent/style/basecomponentstyle.ts index f3672e9d345..a40275adfb2 100644 --- a/packages/core/src/basecomponent/style/basecomponentstyle.ts +++ b/packages/primeng/src/basecomponent/style/basecomponentstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; @Injectable({ providedIn: 'root' }) export class BaseComponentStyle extends BaseStyle { diff --git a/packages/primeng/src/blockui/blockui.ts b/packages/primeng/src/blockui/blockui.ts index 72d6151d4d8..3f4db624362 100755 --- a/packages/primeng/src/blockui/blockui.ts +++ b/packages/primeng/src/blockui/blockui.ts @@ -1,7 +1,8 @@ import { CommonModule, isPlatformBrowser } from '@angular/common'; import { AfterViewInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, inject, Input, NgModule, numberAttribute, OnDestroy, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { addClass, blockBodyScroll, removeClass, unblockBodyScroll } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ZIndexUtils } from 'primeng/utils'; import { BlockUiStyle } from './style/blockuistyle'; diff --git a/packages/primeng/src/blockui/style/blockuistyle.ts b/packages/primeng/src/blockui/style/blockuistyle.ts index 4e798c9ff50..36092e0b790 100644 --- a/packages/primeng/src/blockui/style/blockuistyle.ts +++ b/packages/primeng/src/blockui/style/blockuistyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-blockui { diff --git a/packages/primeng/src/breadcrumb/breadcrumb.ts b/packages/primeng/src/breadcrumb/breadcrumb.ts index 2c756805ee7..fba02018c9c 100755 --- a/packages/primeng/src/breadcrumb/breadcrumb.ts +++ b/packages/primeng/src/breadcrumb/breadcrumb.ts @@ -1,9 +1,9 @@ import { CommonModule } from '@angular/common'; import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, inject, Input, NgModule, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; import { Router, RouterModule } from '@angular/router'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { ChevronRightIcon, HomeIcon } from '@primeng/icons'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { ChevronRightIcon, HomeIcon } from 'primeng/icons'; import { TooltipModule } from 'primeng/tooltip'; import { BreadcrumbItemClickEvent } from './breadcrumb.interface'; import { BreadCrumbStyle } from './style/breadcrumbstyle'; diff --git a/packages/primeng/src/breadcrumb/style/breadcrumbstyle.ts b/packages/primeng/src/breadcrumb/style/breadcrumbstyle.ts index 8c5e33d8eac..9b269259baa 100644 --- a/packages/primeng/src/breadcrumb/style/breadcrumbstyle.ts +++ b/packages/primeng/src/breadcrumb/style/breadcrumbstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-breadcrumb { diff --git a/packages/primeng/src/button/button.ts b/packages/primeng/src/button/button.ts index 881185f5988..763fcc4e4d6 100755 --- a/packages/primeng/src/button/button.ts +++ b/packages/primeng/src/button/button.ts @@ -20,11 +20,12 @@ import { TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { SpinnerIcon } from '@primeng/icons'; import { addClass, findSingle, isEmpty } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; import { BadgeModule } from 'primeng/badge'; +import { BaseComponent } from 'primeng/basecomponent'; +import { SpinnerIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { ButtonProps } from './button.interface'; import { ButtonStyle } from './style/buttonstyle'; diff --git a/packages/primeng/src/button/style/buttonstyle.ts b/packages/primeng/src/button/style/buttonstyle.ts index 83425797d51..4993a3b46fe 100644 --- a/packages/primeng/src/button/style/buttonstyle.ts +++ b/packages/primeng/src/button/style/buttonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-button { diff --git a/packages/primeng/src/buttongroup/buttongroup.ts b/packages/primeng/src/buttongroup/buttongroup.ts index 938596825fb..8d9bd76c194 100755 --- a/packages/primeng/src/buttongroup/buttongroup.ts +++ b/packages/primeng/src/buttongroup/buttongroup.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, inject, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonGroupStyle } from './style/buttongroupstyle'; @Component({ diff --git a/packages/primeng/src/buttongroup/style/buttongroupstyle.ts b/packages/primeng/src/buttongroup/style/buttongroupstyle.ts index 16ce38244b2..cf389d599bb 100644 --- a/packages/primeng/src/buttongroup/style/buttongroupstyle.ts +++ b/packages/primeng/src/buttongroup/style/buttongroupstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-buttongroup .p-button { diff --git a/packages/primeng/src/calendar/calendar.spec.ts b/packages/primeng/src/calendar/calendar.spec.ts index 7643cbdca2c..c8d8d8e8a16 100755 --- a/packages/primeng/src/calendar/calendar.spec.ts +++ b/packages/primeng/src/calendar/calendar.spec.ts @@ -3,7 +3,7 @@ import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core import { FormsModule } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { ButtonModule } from 'primeng/button'; import { Calendar } from './calendar'; diff --git a/packages/primeng/src/calendar/calendar.ts b/packages/primeng/src/calendar/calendar.ts index 085a657fdb6..5dcfd919491 100644 --- a/packages/primeng/src/calendar/calendar.ts +++ b/packages/primeng/src/calendar/calendar.ts @@ -21,8 +21,6 @@ import { ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, OverlayService, SharedModule, TranslationKeys } from '@primeng/core'; -import { CalendarIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, TimesIcon } from '@primeng/icons'; import { absolutePosition, addClass, @@ -42,9 +40,12 @@ import { unblockBodyScroll, uuid } from '@primeuix/utils'; +import { OverlayService, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; +import { CalendarIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, TimesIcon } from 'primeng/icons'; import { InputText } from 'primeng/inputtext'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/calendar/style/calendarstyle.ts b/packages/primeng/src/calendar/style/calendarstyle.ts index 2d9fad50918..1208cc3f5f1 100644 --- a/packages/primeng/src/calendar/style/calendarstyle.ts +++ b/packages/primeng/src/calendar/style/calendarstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-datepicker { diff --git a/packages/primeng/src/card/card.spec.ts b/packages/primeng/src/card/card.spec.ts index 8b821db4450..98a2e39eef3 100755 --- a/packages/primeng/src/card/card.spec.ts +++ b/packages/primeng/src/card/card.spec.ts @@ -2,7 +2,7 @@ import { Component, NO_ERRORS_SCHEMA } from '@angular/core'; import { ComponentFixture, TestBed, async } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { Footer, Header } from '@primeng/core'; +import { Footer, Header } from 'primeng/api'; import { ButtonModule } from '../button/button'; import { Card } from './card'; diff --git a/packages/primeng/src/card/card.ts b/packages/primeng/src/card/card.ts index b74f6072709..26464d2469d 100755 --- a/packages/primeng/src/card/card.ts +++ b/packages/primeng/src/card/card.ts @@ -1,8 +1,8 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, ContentChild, inject, Input, NgModule, signal, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, Footer, Header, SharedModule } from '@primeng/core'; import { equals } from '@primeuix/utils'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, Footer, Header, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { CardStyle } from './style/cardstyle'; /** diff --git a/packages/primeng/src/card/style/cardstyle.ts b/packages/primeng/src/card/style/cardstyle.ts index c68b7bcd29c..1408a11cc0f 100644 --- a/packages/primeng/src/card/style/cardstyle.ts +++ b/packages/primeng/src/card/style/cardstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-card { diff --git a/packages/primeng/src/carousel/carousel.spec.ts b/packages/primeng/src/carousel/carousel.spec.ts index 0a3a0c39f6d..7e1a9f8d1a9 100755 --- a/packages/primeng/src/carousel/carousel.spec.ts +++ b/packages/primeng/src/carousel/carousel.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { ChevronLeftIcon, ChevronRightIcon } from '@primeng/icons'; +import { ChevronLeftIcon, ChevronRightIcon } from 'primeng/icons'; import { Carousel } from './carousel'; describe('Carousel', () => { diff --git a/packages/primeng/src/carousel/carousel.ts b/packages/primeng/src/carousel/carousel.ts index b038d26471f..7df6fe30c6c 100755 --- a/packages/primeng/src/carousel/carousel.ts +++ b/packages/primeng/src/carousel/carousel.ts @@ -19,10 +19,11 @@ import { ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, Footer, Header, SharedModule } from '@primeng/core'; -import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon } from '@primeng/icons'; import { find, findSingle, getAttribute, setAttribute, uuid } from '@primeuix/utils'; +import { Footer, Header, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button, ButtonProps } from 'primeng/button'; +import { ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { CarouselPageEvent, CarouselResponsiveOptions } from './carousel.interface'; import { CarouselStyle } from './style/carouselstyle'; diff --git a/packages/primeng/src/carousel/style/carouselstyle.ts b/packages/primeng/src/carousel/style/carouselstyle.ts index 214280a4ee6..dd46b4b9f07 100644 --- a/packages/primeng/src/carousel/style/carouselstyle.ts +++ b/packages/primeng/src/carousel/style/carouselstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-carousel { diff --git a/packages/primeng/src/cascadeselect/cascadeselect.ts b/packages/primeng/src/cascadeselect/cascadeselect.ts index a38446298fe..f3379016d7a 100755 --- a/packages/primeng/src/cascadeselect/cascadeselect.ts +++ b/packages/primeng/src/cascadeselect/cascadeselect.ts @@ -22,10 +22,11 @@ import { ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, OverlayOptions, OverlayService, SharedModule, TranslationKeys } from '@primeng/core'; -import { AngleRightIcon, ChevronDownIcon, TimesIcon } from '@primeng/icons'; import { calculateScrollbarWidth, equals, findLastIndex, findSingle, focus, getHiddenElementOuterWidth, getOffset, getOuterWidth, getViewport, isEmpty, isNotEmpty, isPrintableCharacter, resolveFieldData, uuid } from '@primeuix/utils'; +import { OverlayOptions, OverlayService, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; +import { AngleRightIcon, ChevronDownIcon, TimesIcon } from 'primeng/icons'; import { Overlay } from 'primeng/overlay'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/cascadeselect/style/cascadeselectstyle.ts b/packages/primeng/src/cascadeselect/style/cascadeselectstyle.ts index a9c42ca0bdb..e1b5efe6e52 100644 --- a/packages/primeng/src/cascadeselect/style/cascadeselectstyle.ts +++ b/packages/primeng/src/cascadeselect/style/cascadeselectstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-cascadeselect { diff --git a/packages/primeng/src/chart/chart.ts b/packages/primeng/src/chart/chart.ts index a8f64f9196b..3ee2c82043a 100755 --- a/packages/primeng/src/chart/chart.ts +++ b/packages/primeng/src/chart/chart.ts @@ -1,7 +1,7 @@ import { CommonModule, isPlatformBrowser } from '@angular/common'; import { AfterViewInit, booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Inject, Input, NgModule, NgZone, OnDestroy, Output, PLATFORM_ID, ViewEncapsulation } from '@angular/core'; -import { SharedModule } from '@primeng/core'; import Chart from 'chart.js/auto'; +import { SharedModule } from 'primeng/api'; /** * Chart groups a collection of contents in tabs. diff --git a/packages/primeng/src/chart/style/chartstyle.ts b/packages/primeng/src/chart/style/chartstyle.ts index 1784afdbccc..b96ad3267a3 100644 --- a/packages/primeng/src/chart/style/chartstyle.ts +++ b/packages/primeng/src/chart/style/chartstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const inlineStyles = { root: { position: 'relative' } diff --git a/packages/primeng/src/checkbox/checkbox.spec.ts b/packages/primeng/src/checkbox/checkbox.spec.ts index c82e503c45d..c313ec4e407 100755 --- a/packages/primeng/src/checkbox/checkbox.spec.ts +++ b/packages/primeng/src/checkbox/checkbox.spec.ts @@ -2,7 +2,7 @@ import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { CheckIcon } from '@primeng/icons'; +import { CheckIcon } from 'primeng/icons'; import { Checkbox } from './checkbox'; @Component({ diff --git a/packages/primeng/src/checkbox/checkbox.ts b/packages/primeng/src/checkbox/checkbox.ts index 187e5f15c2a..e790f9a008d 100755 --- a/packages/primeng/src/checkbox/checkbox.ts +++ b/packages/primeng/src/checkbox/checkbox.ts @@ -19,10 +19,11 @@ import { ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, FormControl, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { CheckIcon, MinusIcon } from '@primeng/icons'; import { contains, equals } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; +import { CheckIcon, MinusIcon } from 'primeng/icons'; import { Nullable } from 'primeng/ts-helpers'; import { CheckboxChangeEvent } from './checkbox.interface'; import { CheckboxStyle } from './style/checkboxstyle'; diff --git a/packages/primeng/src/checkbox/style/checkboxstyle.ts b/packages/primeng/src/checkbox/style/checkboxstyle.ts index 8b5842cc68f..44c9e4b76b8 100644 --- a/packages/primeng/src/checkbox/style/checkboxstyle.ts +++ b/packages/primeng/src/checkbox/style/checkboxstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-checkbox { @@ -113,7 +113,7 @@ const theme = ({ dt }) => ` .p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon { color: ${dt('checkbox.icon.disabled.color')}; } - + .p-checkbox-sm, .p-checkbox-sm .p-checkbox-box { width: ${dt('checkbox.sm.width')}; diff --git a/packages/primeng/src/chip/chip.ts b/packages/primeng/src/chip/chip.ts index 2d6fafff5d3..26ebf476423 100755 --- a/packages/primeng/src/chip/chip.ts +++ b/packages/primeng/src/chip/chip.ts @@ -1,7 +1,8 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, inject, Input, NgModule, Output, SimpleChanges, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule, TranslationKeys } from '@primeng/core'; -import { TimesCircleIcon } from '@primeng/icons'; +import { SharedModule, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { TimesCircleIcon } from 'primeng/icons'; import { ChipProps } from './chip.interface'; import { ChipStyle } from './style/chipstyle'; diff --git a/packages/primeng/src/chip/style/chipstyle.ts b/packages/primeng/src/chip/style/chipstyle.ts index de44f01b8a0..d73cd89d766 100644 --- a/packages/primeng/src/chip/style/chipstyle.ts +++ b/packages/primeng/src/chip/style/chipstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-chip { diff --git a/packages/primeng/src/colorpicker/colorpicker.ts b/packages/primeng/src/colorpicker/colorpicker.ts index 0eff3beebba..179dd34e77c 100755 --- a/packages/primeng/src/colorpicker/colorpicker.ts +++ b/packages/primeng/src/colorpicker/colorpicker.ts @@ -2,9 +2,10 @@ import { animate, AnimationEvent, style, transition, trigger } from '@angular/an import { CommonModule, isPlatformBrowser } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, forwardRef, inject, Input, NgModule, numberAttribute, OnDestroy, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, OverlayService, SharedModule, TranslationKeys } from '@primeng/core'; import { absolutePosition, appendChild, isTouchDevice, relativePosition } from '@primeuix/utils'; +import { OverlayService, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocusModule } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; diff --git a/packages/primeng/src/colorpicker/style/colorpickerstyle.ts b/packages/primeng/src/colorpicker/style/colorpickerstyle.ts index 41634dfcb3e..f295d0c724c 100644 --- a/packages/primeng/src/colorpicker/style/colorpickerstyle.ts +++ b/packages/primeng/src/colorpicker/style/colorpickerstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-colorpicker { diff --git a/packages/primeng/src/common/style/commonstyle.ts b/packages/primeng/src/common/style/commonstyle.ts index ae9d325a572..b74c7a8b8e0 100644 --- a/packages/primeng/src/common/style/commonstyle.ts +++ b/packages/primeng/src/common/style/commonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-overflow-hidden { diff --git a/packages/primeng/src/confirmdialog/confirmdialog.spec.ts b/packages/primeng/src/confirmdialog/confirmdialog.spec.ts index e355af97e1e..762f5be9935 100755 --- a/packages/primeng/src/confirmdialog/confirmdialog.spec.ts +++ b/packages/primeng/src/confirmdialog/confirmdialog.spec.ts @@ -2,7 +2,7 @@ import { Component, NO_ERRORS_SCHEMA } from '@angular/core'; import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { ConfirmationService } from '@primeng/core'; +import { ConfirmationService } from 'primeng/api'; import { ConfirmDialog } from './confirmdialog'; @Component({ diff --git a/packages/primeng/src/confirmdialog/confirmdialog.ts b/packages/primeng/src/confirmdialog/confirmdialog.ts index 7a7cbd95800..83313e790d1 100755 --- a/packages/primeng/src/confirmdialog/confirmdialog.ts +++ b/packages/primeng/src/confirmdialog/confirmdialog.ts @@ -1,12 +1,12 @@ import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations'; import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, NgZone, numberAttribute, OnDestroy, OnInit, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, Footer, SharedModule, TranslationKeys } from '@primeng/core'; -import { CheckIcon, TimesIcon } from '@primeng/icons'; import { findSingle, setAttribute, uuid } from '@primeuix/utils'; -import { Confirmation, ConfirmationService, ConfirmEventType } from 'primeng/api'; +import { Confirmation, ConfirmationService, ConfirmEventType, Footer, SharedModule, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; import { Dialog } from 'primeng/dialog'; +import { CheckIcon, TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Nullable } from 'primeng/ts-helpers'; import { Subscription } from 'rxjs'; diff --git a/packages/primeng/src/confirmdialog/style/confirmdialogstyle.ts b/packages/primeng/src/confirmdialog/style/confirmdialogstyle.ts index d6de7a55a90..f385ee87d89 100644 --- a/packages/primeng/src/confirmdialog/style/confirmdialogstyle.ts +++ b/packages/primeng/src/confirmdialog/style/confirmdialogstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-confirmdialog .p-dialog-content { diff --git a/packages/primeng/src/confirmpopup/confirmpopup.ts b/packages/primeng/src/confirmpopup/confirmpopup.ts index baedeae2ed3..a050e4a071e 100755 --- a/packages/primeng/src/confirmpopup/confirmpopup.ts +++ b/packages/primeng/src/confirmpopup/confirmpopup.ts @@ -19,9 +19,9 @@ import { TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, OverlayService, PrimeNGConfig, SharedModule, TranslationKeys } from '@primeng/core'; import { absolutePosition, addClass, findSingle, getOffset, isIOS, isTouchDevice } from '@primeuix/utils'; -import { Confirmation, ConfirmationService } from 'primeng/api'; +import { Confirmation, ConfirmationService, OverlayService, PrimeNGConfig, SharedModule, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonModule } from 'primeng/button'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/confirmpopup/style/confirmpopupstyle.ts b/packages/primeng/src/confirmpopup/style/confirmpopupstyle.ts index 686b8853428..e4353cbf2d5 100644 --- a/packages/primeng/src/confirmpopup/style/confirmpopupstyle.ts +++ b/packages/primeng/src/confirmpopup/style/confirmpopupstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-confirmpopup { diff --git a/packages/primeng/src/contextmenu/contextmenu.ts b/packages/primeng/src/contextmenu/contextmenu.ts index 75809a0a28e..9144832e060 100755 --- a/packages/primeng/src/contextmenu/contextmenu.ts +++ b/packages/primeng/src/contextmenu/contextmenu.ts @@ -24,8 +24,6 @@ import { ViewRef } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, OverlayService, SharedModule } from '@primeng/core'; -import { AngleRightIcon } from '@primeng/icons'; import { appendChild, calculateScrollbarWidth, @@ -46,8 +44,10 @@ import { resolve, uuid } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, OverlayService, SharedModule } from 'primeng/api'; import { BadgeModule } from 'primeng/badge'; +import { BaseComponent } from 'primeng/basecomponent'; +import { AngleRightIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; import { VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/contextmenu/style/contextmenustyle.ts b/packages/primeng/src/contextmenu/style/contextmenustyle.ts index 97143377cd2..4028bcb4310 100644 --- a/packages/primeng/src/contextmenu/style/contextmenustyle.ts +++ b/packages/primeng/src/contextmenu/style/contextmenustyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-contextmenu { diff --git a/packages/primeng/src/dataview/dataview.ts b/packages/primeng/src/dataview/dataview.ts index 0f8bff231ec..21863b44c4d 100755 --- a/packages/primeng/src/dataview/dataview.ts +++ b/packages/primeng/src/dataview/dataview.ts @@ -18,10 +18,10 @@ import { TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, FilterService, Footer, Header, SharedModule, TranslationKeys } from '@primeng/core'; -import { SpinnerIcon } from '@primeng/icons'; import { resolveFieldData } from '@primeuix/utils'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, FilterService, Footer, Header, SharedModule, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { SpinnerIcon } from 'primeng/icons'; import { PaginatorModule } from 'primeng/paginator'; import { Nullable } from 'primeng/ts-helpers'; import { Subscription } from 'rxjs'; diff --git a/packages/primeng/src/dataview/style/dataviewstyle.ts b/packages/primeng/src/dataview/style/dataviewstyle.ts index f214450d718..fbc32495f3e 100644 --- a/packages/primeng/src/dataview/style/dataviewstyle.ts +++ b/packages/primeng/src/dataview/style/dataviewstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-dataview { diff --git a/packages/primeng/src/datepicker/datepicker.spec.ts b/packages/primeng/src/datepicker/datepicker.spec.ts index 878f6465a81..dc2d4ad3da6 100755 --- a/packages/primeng/src/datepicker/datepicker.spec.ts +++ b/packages/primeng/src/datepicker/datepicker.spec.ts @@ -3,7 +3,7 @@ import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core import { FormsModule } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { ButtonModule } from 'primeng/button'; import { DatePicker } from './datepicker'; diff --git a/packages/primeng/src/datepicker/datepicker.ts b/packages/primeng/src/datepicker/datepicker.ts index 7da5b7a53bd..0586ef9ef53 100644 --- a/packages/primeng/src/datepicker/datepicker.ts +++ b/packages/primeng/src/datepicker/datepicker.ts @@ -21,8 +21,6 @@ import { ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, OverlayService, SharedModule, TranslationKeys } from '@primeng/core'; -import { CalendarIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, TimesIcon } from '@primeng/icons'; import { absolutePosition, addClass, @@ -42,9 +40,12 @@ import { unblockBodyScroll, uuid } from '@primeuix/utils'; +import { OverlayService, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; +import { CalendarIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, TimesIcon } from 'primeng/icons'; import { InputText } from 'primeng/inputtext'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/datepicker/style/datepickerstyle.ts b/packages/primeng/src/datepicker/style/datepickerstyle.ts index e6a0601cf1f..311450eee0c 100644 --- a/packages/primeng/src/datepicker/style/datepickerstyle.ts +++ b/packages/primeng/src/datepicker/style/datepickerstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-datepicker { diff --git a/packages/primeng/src/defer/defer.ts b/packages/primeng/src/defer/defer.ts index 3c9663abb94..ca48525f1d4 100755 --- a/packages/primeng/src/defer/defer.ts +++ b/packages/primeng/src/defer/defer.ts @@ -1,6 +1,6 @@ import { isPlatformBrowser } from '@angular/common'; import { AfterViewInit, ContentChild, Directive, EmbeddedViewRef, EventEmitter, inject, NgModule, OnDestroy, Output, TemplateRef, ViewContainerRef } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable } from 'primeng/ts-helpers'; /** diff --git a/packages/primeng/src/dialog/dialog.spec.ts b/packages/primeng/src/dialog/dialog.spec.ts index 8c5ea90cf40..799f6606c0e 100755 --- a/packages/primeng/src/dialog/dialog.spec.ts +++ b/packages/primeng/src/dialog/dialog.spec.ts @@ -2,8 +2,8 @@ import { Component } from '@angular/core'; import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { Footer } from '@primeng/core'; -import { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from '@primeng/icons'; +import { Footer } from 'primeng/api'; +import { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from 'primeng/icons'; import { ButtonModule } from '../button/button'; import { FocusTrapModule } from '../focustrap/focustrap'; import { Dialog } from './dialog'; diff --git a/packages/primeng/src/dialog/dialog.ts b/packages/primeng/src/dialog/dialog.ts index 451ffcc0a13..550a4b60bce 100755 --- a/packages/primeng/src/dialog/dialog.ts +++ b/packages/primeng/src/dialog/dialog.ts @@ -20,16 +20,17 @@ import { ViewEncapsulation, ViewRef } from '@angular/core'; -import { BaseComponent, SharedModule, TranslationKeys } from '@primeng/core'; -import { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from '@primeng/icons'; import { addClass, appendChild, blockBodyScroll, getFocusableElements, getOuterHeight, getOuterWidth, getViewport, hasClass, removeClass, setAttribute, unblockBodyScroll, uuid } from '@primeuix/utils'; +import { SharedModule, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button, ButtonProps } from 'primeng/button'; +import { DomHandler } from 'primeng/dom'; import { FocusTrap } from 'primeng/focustrap'; +import { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; import { DialogStyle } from './style/dialogstyle'; -import { DomHandler } from 'primeng/dom'; const showAnimation = animation([style({ transform: '{{transform}}', opacity: 0 }), animate('{{transition}}')]); diff --git a/packages/primeng/src/dialog/style/dialogstyle.ts b/packages/primeng/src/dialog/style/dialogstyle.ts index 61ea14babc2..3a7d31a92ac 100644 --- a/packages/primeng/src/dialog/style/dialogstyle.ts +++ b/packages/primeng/src/dialog/style/dialogstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-dialog { diff --git a/packages/primeng/src/divider/divider.ts b/packages/primeng/src/divider/divider.ts index 55ff59f25b6..2acf31e2aff 100755 --- a/packages/primeng/src/divider/divider.ts +++ b/packages/primeng/src/divider/divider.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, HostBinding, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { DividerStyle } from './style/dividerstyle'; /** diff --git a/packages/primeng/src/divider/style/dividerstyle.ts b/packages/primeng/src/divider/style/dividerstyle.ts index ec2f4ba72bd..07b85e0894b 100644 --- a/packages/primeng/src/divider/style/dividerstyle.ts +++ b/packages/primeng/src/divider/style/dividerstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-divider-horizontal { diff --git a/packages/primeng/src/dock/dock.ts b/packages/primeng/src/dock/dock.ts index b2323e3eca7..d5674d94287 100755 --- a/packages/primeng/src/dock/dock.ts +++ b/packages/primeng/src/dock/dock.ts @@ -1,9 +1,9 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { find, findSingle, resolve, uuid } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Divider } from 'primeng/divider'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; diff --git a/packages/primeng/src/dock/style/dockstyle.ts b/packages/primeng/src/dock/style/dockstyle.ts index 683767eddba..4d2b1eb8725 100644 --- a/packages/primeng/src/dock/style/dockstyle.ts +++ b/packages/primeng/src/dock/style/dockstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-dock { diff --git a/packages/primeng/src/drawer/drawer.ts b/packages/primeng/src/drawer/drawer.ts index 22eb8b930ea..baa3739c586 100755 --- a/packages/primeng/src/drawer/drawer.ts +++ b/packages/primeng/src/drawer/drawer.ts @@ -1,10 +1,11 @@ import { animate, animation, style, transition, trigger, useAnimation } from '@angular/animations'; import { CommonModule } from '@angular/common'; import { AfterViewInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, OnDestroy, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { TimesIcon } from '@primeng/icons'; import { addClass, appendChild, blockBodyScroll, setAttribute, unblockBodyScroll } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button, ButtonProps } from 'primeng/button'; +import { TimesIcon } from 'primeng/icons'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; import { DrawerStyle } from './style/drawerstyle'; diff --git a/packages/primeng/src/drawer/style/drawerstyle.ts b/packages/primeng/src/drawer/style/drawerstyle.ts index 02f42529770..68d3c9790f5 100644 --- a/packages/primeng/src/drawer/style/drawerstyle.ts +++ b/packages/primeng/src/drawer/style/drawerstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-drawer { diff --git a/packages/primeng/src/dropdown/dropdown.spec.ts b/packages/primeng/src/dropdown/dropdown.spec.ts index afdbca0c10b..2cece698da9 100755 --- a/packages/primeng/src/dropdown/dropdown.spec.ts +++ b/packages/primeng/src/dropdown/dropdown.spec.ts @@ -4,7 +4,7 @@ import { ComponentFixture, fakeAsync, flush, TestBed } from '@angular/core/testi import { FormsModule } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { ChevronDownIcon, SearchIcon, TimesIcon } from '@primeng/icons'; +import { ChevronDownIcon, SearchIcon, TimesIcon } from 'primeng/icons'; import { OverlayModule } from 'primeng/overlay'; import { TooltipModule } from 'primeng/tooltip'; import { Dropdown, DropdownItem } from './dropdown'; diff --git a/packages/primeng/src/dropdown/dropdown.ts b/packages/primeng/src/dropdown/dropdown.ts index 8075e698a20..2b7096d7734 100755 --- a/packages/primeng/src/dropdown/dropdown.ts +++ b/packages/primeng/src/dropdown/dropdown.ts @@ -29,8 +29,6 @@ import { ViewRef } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, FilterService, OverlayOptions, PrimeTemplate, SharedModule, TranslationKeys } from '@primeng/core'; -import { BlankIcon, CheckIcon, ChevronDownIcon, SearchIcon, TimesIcon } from '@primeng/icons'; import { deepEquals, equals, @@ -48,9 +46,11 @@ import { unblockBodyScroll, uuid } from '@primeuix/utils'; -import { ScrollerOptions, SelectItem } from 'primeng/api'; +import { FilterService, OverlayOptions, PrimeTemplate, ScrollerOptions, SelectItem, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocusModule } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { IconField } from 'primeng/iconfield'; +import { BlankIcon, CheckIcon, ChevronDownIcon, SearchIcon, TimesIcon } from 'primeng/icons'; import { InputIcon } from 'primeng/inputicon'; import { InputTextModule } from 'primeng/inputtext'; import { Overlay, OverlayModule } from 'primeng/overlay'; diff --git a/packages/primeng/src/dropdown/style/dropdownstyle.ts b/packages/primeng/src/dropdown/style/dropdownstyle.ts index 3c1c2e85858..3bf483d7a56 100644 --- a/packages/primeng/src/dropdown/style/dropdownstyle.ts +++ b/packages/primeng/src/dropdown/style/dropdownstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; /** * * Dropdown also known as Select, is used to choose an item from a collection of options. diff --git a/packages/primeng/src/dynamicdialog/dynamicdialog.spec.ts b/packages/primeng/src/dynamicdialog/dynamicdialog.spec.ts index 8ae27fa0a30..532593f294a 100755 --- a/packages/primeng/src/dynamicdialog/dynamicdialog.spec.ts +++ b/packages/primeng/src/dynamicdialog/dynamicdialog.spec.ts @@ -2,7 +2,7 @@ import { CommonModule } from '@angular/common'; import { Component, NgModule } from '@angular/core'; import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core/testing'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { Footer } from '@primeng/core'; +import { Footer } from 'primeng/api'; import { DialogService } from './dialogservice'; import { DynamicDialog } from './dynamicdialog'; import { DynamicDialogConfig } from './dynamicdialog-config'; diff --git a/packages/primeng/src/dynamicdialog/dynamicdialog.ts b/packages/primeng/src/dynamicdialog/dynamicdialog.ts index 1efe9019e35..2d56e005266 100755 --- a/packages/primeng/src/dynamicdialog/dynamicdialog.ts +++ b/packages/primeng/src/dynamicdialog/dynamicdialog.ts @@ -1,12 +1,13 @@ import { animate, animation, AnimationEvent, style, transition, trigger, useAnimation } from '@angular/animations'; import { CommonModule, isPlatformBrowser } from '@angular/common'; import { AfterViewInit, ChangeDetectionStrategy, Component, ComponentRef, ElementRef, inject, NgModule, NgZone, OnDestroy, Optional, Renderer2, SkipSelf, Type, ViewChild, ViewEncapsulation, ViewRef } from '@angular/core'; -import { BaseComponent, SharedModule, TranslationKeys } from '@primeng/core'; -import { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from '@primeng/icons'; import { addClass, getOuterHeight, getOuterWidth, getViewport, hasClass, removeClass, setAttribute, uuid } from '@primeuix/utils'; +import { SharedModule, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; import { DomHandler } from 'primeng/dom'; import { FocusTrap } from 'primeng/focustrap'; +import { TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from 'primeng/icons'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; import { DynamicDialogConfig } from './dynamicdialog-config'; diff --git a/packages/primeng/src/editor/editor.ts b/packages/primeng/src/editor/editor.ts index ef08218ef6f..1e3520331f5 100755 --- a/packages/primeng/src/editor/editor.ts +++ b/packages/primeng/src/editor/editor.ts @@ -1,8 +1,9 @@ import { CommonModule, isPlatformServer } from '@angular/common'; import { AfterContentInit, afterNextRender, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, forwardRef, inject, Input, NgModule, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, Header, SharedModule } from '@primeng/core'; import { findSingle } from '@primeuix/utils'; +import { Header, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable } from 'primeng/ts-helpers'; import { EditorInitEvent, EditorSelectionChangeEvent, EditorTextChangeEvent } from './editor.interface'; import { EditorStyle } from './style/editorstyle'; diff --git a/packages/primeng/src/editor/style/editorstyle.ts b/packages/primeng/src/editor/style/editorstyle.ts index 67cdc0a0ac2..7a3a8849e76 100644 --- a/packages/primeng/src/editor/style/editorstyle.ts +++ b/packages/primeng/src/editor/style/editorstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` /*! diff --git a/packages/primeng/src/fieldset/fieldset.spec.ts b/packages/primeng/src/fieldset/fieldset.spec.ts index ac2ccbc2282..a292cbce54b 100755 --- a/packages/primeng/src/fieldset/fieldset.spec.ts +++ b/packages/primeng/src/fieldset/fieldset.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { MinusIcon } from '@primeng/icons'; +import { MinusIcon } from 'primeng/icons'; import { Fieldset } from './fieldset'; describe('Fieldset', () => { diff --git a/packages/primeng/src/fieldset/fieldset.ts b/packages/primeng/src/fieldset/fieldset.ts index 1f40319f8ba..694d5221533 100755 --- a/packages/primeng/src/fieldset/fieldset.ts +++ b/packages/primeng/src/fieldset/fieldset.ts @@ -1,11 +1,11 @@ import { animate, state, style, transition, trigger } from '@angular/animations'; import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, inject, Input, NgModule, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { MinusIcon, PlusIcon } from '@primeng/icons'; import { uuid } from '@primeuix/utils'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonModule } from 'primeng/button'; +import { MinusIcon, PlusIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Nullable } from 'primeng/ts-helpers'; import { FieldsetAfterToggleEvent, FieldsetBeforeToggleEvent } from './fieldset.interface'; diff --git a/packages/primeng/src/fieldset/style/fieldsetstyle.ts b/packages/primeng/src/fieldset/style/fieldsetstyle.ts index 5c0f36ca6df..43ddb03343f 100644 --- a/packages/primeng/src/fieldset/style/fieldsetstyle.ts +++ b/packages/primeng/src/fieldset/style/fieldsetstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-fieldset { diff --git a/packages/primeng/src/fileupload/fileupload.spec.ts b/packages/primeng/src/fileupload/fileupload.spec.ts index 28a53c63fe6..3d295fc3373 100755 --- a/packages/primeng/src/fileupload/fileupload.spec.ts +++ b/packages/primeng/src/fileupload/fileupload.spec.ts @@ -2,9 +2,9 @@ import { HttpClientModule } from '@angular/common/http'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { PrimeTemplate } from '@primeng/core'; -import { PlusIcon, TimesIcon, UploadIcon } from '@primeng/icons'; +import { PrimeTemplate } from 'primeng/api'; import { ButtonModule } from 'primeng/button'; +import { PlusIcon, TimesIcon, UploadIcon } from 'primeng/icons'; import { MessagesModule } from 'primeng/messages'; import { ProgressBarModule } from 'primeng/progressbar'; import { FileUpload } from './fileupload'; diff --git a/packages/primeng/src/fileupload/fileupload.ts b/packages/primeng/src/fileupload/fileupload.ts index d9aa1e9d40b..8f2a9d379ed 100755 --- a/packages/primeng/src/fileupload/fileupload.ts +++ b/packages/primeng/src/fileupload/fileupload.ts @@ -21,11 +21,11 @@ import { ViewEncapsulation } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; -import { BaseComponent, SharedModule, TranslationKeys } from '@primeng/core'; -import { PlusIcon, TimesIcon, UploadIcon } from '@primeng/icons'; import { addClass, removeClass } from '@primeuix/utils'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, SharedModule, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; +import { PlusIcon, TimesIcon, UploadIcon } from 'primeng/icons'; import { Message } from 'primeng/message'; import { ProgressBar } from 'primeng/progressbar'; import { Ripple } from 'primeng/ripple'; diff --git a/packages/primeng/src/fileupload/style/fileuploadstyle.ts b/packages/primeng/src/fileupload/style/fileuploadstyle.ts index b24df3e8cb9..3c50a9ddfb9 100644 --- a/packages/primeng/src/fileupload/style/fileuploadstyle.ts +++ b/packages/primeng/src/fileupload/style/fileuploadstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-fileupload input[type="file"] { diff --git a/packages/primeng/src/floatlabel/floatlabel.ts b/packages/primeng/src/floatlabel/floatlabel.ts index 544e42dd8ba..e9ad7a4c98a 100755 --- a/packages/primeng/src/floatlabel/floatlabel.ts +++ b/packages/primeng/src/floatlabel/floatlabel.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { FloatLabelStyle } from './style/floatlabelstyle'; /** diff --git a/packages/primeng/src/floatlabel/style/floatlabelstyle.ts b/packages/primeng/src/floatlabel/style/floatlabelstyle.ts index 8324c1243bb..8ba7ec52c56 100644 --- a/packages/primeng/src/floatlabel/style/floatlabelstyle.ts +++ b/packages/primeng/src/floatlabel/style/floatlabelstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-floatlabel { diff --git a/packages/primeng/src/fluid/fluid.ts b/packages/primeng/src/fluid/fluid.ts index e1d8a39e163..866c2b1510c 100755 --- a/packages/primeng/src/fluid/fluid.ts +++ b/packages/primeng/src/fluid/fluid.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, inject, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; import { FluidStyle } from './style/fluidstyle'; /** diff --git a/packages/primeng/src/fluid/style/fluidstyle.ts b/packages/primeng/src/fluid/style/fluidstyle.ts index 33e0224cf71..1dcdaf5ae34 100644 --- a/packages/primeng/src/fluid/style/fluidstyle.ts +++ b/packages/primeng/src/fluid/style/fluidstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-fluid{ diff --git a/packages/primeng/src/focustrap/focustrap.ts b/packages/primeng/src/focustrap/focustrap.ts index 3f6766bd75d..5e62d6a1f02 100755 --- a/packages/primeng/src/focustrap/focustrap.ts +++ b/packages/primeng/src/focustrap/focustrap.ts @@ -1,7 +1,7 @@ import { DOCUMENT, isPlatformBrowser } from '@angular/common'; import { booleanAttribute, Directive, inject, Input, NgModule, PLATFORM_ID, SimpleChanges } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; import { createElement, focus, getFirstFocusableElement, getLastFocusableElement } from '@primeuix/utils'; +import { BaseComponent } from 'primeng/basecomponent'; /** * Focus Trap keeps focus within a certain DOM element while tabbing. diff --git a/packages/primeng/src/galleria/galleria.ts b/packages/primeng/src/galleria/galleria.ts index 81ebeffc1e9..96034680e00 100755 --- a/packages/primeng/src/galleria/galleria.ts +++ b/packages/primeng/src/galleria/galleria.ts @@ -29,10 +29,11 @@ import { ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, PrimeNGConfig, PrimeTemplate, SharedModule } from '@primeng/core'; -import { ChevronLeftIcon, ChevronRightIcon, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from '@primeng/icons'; import { addClass, blockBodyScroll, find, findSingle, focus, getAttribute, removeClass, setAttribute, unblockBodyScroll, uuid } from '@primeuix/utils'; +import { PrimeNGConfig, PrimeTemplate, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { FocusTrap } from 'primeng/focustrap'; +import { ChevronLeftIcon, ChevronRightIcon, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; diff --git a/packages/primeng/src/galleria/style/galleriastyle.ts b/packages/primeng/src/galleria/style/galleriastyle.ts index 5a426f835f4..398db5fd0b9 100644 --- a/packages/primeng/src/galleria/style/galleriastyle.ts +++ b/packages/primeng/src/galleria/style/galleriastyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-galleria { diff --git a/packages/primeng/src/iconfield/iconfield.ts b/packages/primeng/src/iconfield/iconfield.ts index 2ebd3ad7bcf..baf6229f793 100755 --- a/packages/primeng/src/iconfield/iconfield.ts +++ b/packages/primeng/src/iconfield/iconfield.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, HostBinding, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; import { IconFieldStyle } from './style/iconfieldstyle'; /** diff --git a/packages/primeng/src/iconfield/style/iconfieldstyle.ts b/packages/primeng/src/iconfield/style/iconfieldstyle.ts index 41e9ca60ca8..32288063f39 100644 --- a/packages/primeng/src/iconfield/style/iconfieldstyle.ts +++ b/packages/primeng/src/iconfield/style/iconfieldstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-iconfield { diff --git a/packages/icons/src/angledoubledown/angledoubledown.ts b/packages/primeng/src/icons/angledoubledown/angledoubledown.ts similarity index 97% rename from packages/icons/src/angledoubledown/angledoubledown.ts rename to packages/primeng/src/icons/angledoubledown/angledoubledown.ts index 35730d314a6..0d47e4861be 100644 --- a/packages/icons/src/angledoubledown/angledoubledown.ts +++ b/packages/primeng/src/icons/angledoubledown/angledoubledown.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleDoubleDownIcon', diff --git a/packages/core/src/basecomponent/ng-package.json b/packages/primeng/src/icons/angledoubledown/ng-package.json similarity index 100% rename from packages/core/src/basecomponent/ng-package.json rename to packages/primeng/src/icons/angledoubledown/ng-package.json diff --git a/packages/icons/src/angledoubledown/public_api.ts b/packages/primeng/src/icons/angledoubledown/public_api.ts similarity index 100% rename from packages/icons/src/angledoubledown/public_api.ts rename to packages/primeng/src/icons/angledoubledown/public_api.ts diff --git a/packages/icons/src/angledoubleleft/angledoubleleft.ts b/packages/primeng/src/icons/angledoubleleft/angledoubleleft.ts similarity index 97% rename from packages/icons/src/angledoubleleft/angledoubleleft.ts rename to packages/primeng/src/icons/angledoubleleft/angledoubleleft.ts index 3ca1c745e61..c7a6568a1ef 100644 --- a/packages/icons/src/angledoubleleft/angledoubleleft.ts +++ b/packages/primeng/src/icons/angledoubleleft/angledoubleleft.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleDoubleLeftIcon', diff --git a/packages/core/src/config/ng-package.json b/packages/primeng/src/icons/angledoubleleft/ng-package.json similarity index 100% rename from packages/core/src/config/ng-package.json rename to packages/primeng/src/icons/angledoubleleft/ng-package.json diff --git a/packages/icons/src/angledoubleleft/public_api.ts b/packages/primeng/src/icons/angledoubleleft/public_api.ts similarity index 100% rename from packages/icons/src/angledoubleleft/public_api.ts rename to packages/primeng/src/icons/angledoubleleft/public_api.ts diff --git a/packages/icons/src/angledoubleright/angledoubleright.ts b/packages/primeng/src/icons/angledoubleright/angledoubleright.ts similarity index 97% rename from packages/icons/src/angledoubleright/angledoubleright.ts rename to packages/primeng/src/icons/angledoubleright/angledoubleright.ts index 916bb7fdb29..b5a20cbc028 100644 --- a/packages/icons/src/angledoubleright/angledoubleright.ts +++ b/packages/primeng/src/icons/angledoubleright/angledoubleright.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleDoubleRightIcon', diff --git a/packages/core/src/usestyle/ng-package.json b/packages/primeng/src/icons/angledoubleright/ng-package.json similarity index 100% rename from packages/core/src/usestyle/ng-package.json rename to packages/primeng/src/icons/angledoubleright/ng-package.json diff --git a/packages/icons/src/angledoubleright/public_api.ts b/packages/primeng/src/icons/angledoubleright/public_api.ts similarity index 100% rename from packages/icons/src/angledoubleright/public_api.ts rename to packages/primeng/src/icons/angledoubleright/public_api.ts diff --git a/packages/icons/src/angledoubleup/angledoubleup.ts b/packages/primeng/src/icons/angledoubleup/angledoubleup.ts similarity index 97% rename from packages/icons/src/angledoubleup/angledoubleup.ts rename to packages/primeng/src/icons/angledoubleup/angledoubleup.ts index 12429b53080..9a0d15c6e2a 100644 --- a/packages/icons/src/angledoubleup/angledoubleup.ts +++ b/packages/primeng/src/icons/angledoubleup/angledoubleup.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleDoubleUpIcon', diff --git a/packages/icons/src/angledoubledown/ng-package.json b/packages/primeng/src/icons/angledoubleup/ng-package.json similarity index 100% rename from packages/icons/src/angledoubledown/ng-package.json rename to packages/primeng/src/icons/angledoubleup/ng-package.json diff --git a/packages/icons/src/angledoubleup/public_api.ts b/packages/primeng/src/icons/angledoubleup/public_api.ts similarity index 100% rename from packages/icons/src/angledoubleup/public_api.ts rename to packages/primeng/src/icons/angledoubleup/public_api.ts diff --git a/packages/icons/src/angledown/angledown.ts b/packages/primeng/src/icons/angledown/angledown.ts similarity index 95% rename from packages/icons/src/angledown/angledown.ts rename to packages/primeng/src/icons/angledown/angledown.ts index 95094d39135..52d96c02f79 100644 --- a/packages/icons/src/angledown/angledown.ts +++ b/packages/primeng/src/icons/angledown/angledown.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleDownIcon', diff --git a/packages/icons/src/angledoubleleft/ng-package.json b/packages/primeng/src/icons/angledown/ng-package.json similarity index 100% rename from packages/icons/src/angledoubleleft/ng-package.json rename to packages/primeng/src/icons/angledown/ng-package.json diff --git a/packages/icons/src/angledown/public_api.ts b/packages/primeng/src/icons/angledown/public_api.ts similarity index 100% rename from packages/icons/src/angledown/public_api.ts rename to packages/primeng/src/icons/angledown/public_api.ts diff --git a/packages/icons/src/angleleft/angleleft.ts b/packages/primeng/src/icons/angleleft/angleleft.ts similarity index 95% rename from packages/icons/src/angleleft/angleleft.ts rename to packages/primeng/src/icons/angleleft/angleleft.ts index 3b3302fb02a..a69f1209c6b 100644 --- a/packages/icons/src/angleleft/angleleft.ts +++ b/packages/primeng/src/icons/angleleft/angleleft.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleLeftIcon', diff --git a/packages/icons/src/angledoubleright/ng-package.json b/packages/primeng/src/icons/angleleft/ng-package.json similarity index 100% rename from packages/icons/src/angledoubleright/ng-package.json rename to packages/primeng/src/icons/angleleft/ng-package.json diff --git a/packages/icons/src/angleleft/public_api.ts b/packages/primeng/src/icons/angleleft/public_api.ts similarity index 100% rename from packages/icons/src/angleleft/public_api.ts rename to packages/primeng/src/icons/angleleft/public_api.ts diff --git a/packages/icons/src/angleright/angleright.ts b/packages/primeng/src/icons/angleright/angleright.ts similarity index 95% rename from packages/icons/src/angleright/angleright.ts rename to packages/primeng/src/icons/angleright/angleright.ts index 716a43f3dbd..4276d100b39 100644 --- a/packages/icons/src/angleright/angleright.ts +++ b/packages/primeng/src/icons/angleright/angleright.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleRightIcon', diff --git a/packages/icons/src/angledoubleup/ng-package.json b/packages/primeng/src/icons/angleright/ng-package.json similarity index 100% rename from packages/icons/src/angledoubleup/ng-package.json rename to packages/primeng/src/icons/angleright/ng-package.json diff --git a/packages/icons/src/angleright/public_api.ts b/packages/primeng/src/icons/angleright/public_api.ts similarity index 100% rename from packages/icons/src/angleright/public_api.ts rename to packages/primeng/src/icons/angleright/public_api.ts diff --git a/packages/icons/src/angleup/angleup.ts b/packages/primeng/src/icons/angleup/angleup.ts similarity index 95% rename from packages/icons/src/angleup/angleup.ts rename to packages/primeng/src/icons/angleup/angleup.ts index 785d96fe3bd..f5387d49c60 100644 --- a/packages/icons/src/angleup/angleup.ts +++ b/packages/primeng/src/icons/angleup/angleup.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'AngleUpIcon', diff --git a/packages/icons/src/angledown/ng-package.json b/packages/primeng/src/icons/angleup/ng-package.json similarity index 100% rename from packages/icons/src/angledown/ng-package.json rename to packages/primeng/src/icons/angleup/ng-package.json diff --git a/packages/icons/src/angleup/public_api.ts b/packages/primeng/src/icons/angleup/public_api.ts similarity index 100% rename from packages/icons/src/angleup/public_api.ts rename to packages/primeng/src/icons/angleup/public_api.ts diff --git a/packages/icons/src/arrowdown/arrowdown.ts b/packages/primeng/src/icons/arrowdown/arrowdown.ts similarity index 97% rename from packages/icons/src/arrowdown/arrowdown.ts rename to packages/primeng/src/icons/arrowdown/arrowdown.ts index be9101b17b4..0a75bde1b3b 100644 --- a/packages/icons/src/arrowdown/arrowdown.ts +++ b/packages/primeng/src/icons/arrowdown/arrowdown.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ArrowDownIcon', diff --git a/packages/icons/src/angleleft/ng-package.json b/packages/primeng/src/icons/arrowdown/ng-package.json similarity index 100% rename from packages/icons/src/angleleft/ng-package.json rename to packages/primeng/src/icons/arrowdown/ng-package.json diff --git a/packages/icons/src/arrowdown/public_api.ts b/packages/primeng/src/icons/arrowdown/public_api.ts similarity index 100% rename from packages/icons/src/arrowdown/public_api.ts rename to packages/primeng/src/icons/arrowdown/public_api.ts diff --git a/packages/icons/src/arrowdownleft/arrowdownleft.ts b/packages/primeng/src/icons/arrowdownleft/arrowdownleft.ts similarity index 96% rename from packages/icons/src/arrowdownleft/arrowdownleft.ts rename to packages/primeng/src/icons/arrowdownleft/arrowdownleft.ts index 71c0ecf8c0e..5c166c6816f 100644 --- a/packages/icons/src/arrowdownleft/arrowdownleft.ts +++ b/packages/primeng/src/icons/arrowdownleft/arrowdownleft.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ArrowDownLeftIcon', diff --git a/packages/icons/src/angleright/ng-package.json b/packages/primeng/src/icons/arrowdownleft/ng-package.json similarity index 100% rename from packages/icons/src/angleright/ng-package.json rename to packages/primeng/src/icons/arrowdownleft/ng-package.json diff --git a/packages/icons/src/arrowdownleft/public_api.ts b/packages/primeng/src/icons/arrowdownleft/public_api.ts similarity index 100% rename from packages/icons/src/arrowdownleft/public_api.ts rename to packages/primeng/src/icons/arrowdownleft/public_api.ts diff --git a/packages/icons/src/arrowdownright/arrowdownright.ts b/packages/primeng/src/icons/arrowdownright/arrowdownright.ts similarity index 96% rename from packages/icons/src/arrowdownright/arrowdownright.ts rename to packages/primeng/src/icons/arrowdownright/arrowdownright.ts index 4acbcc15959..beeafcc0749 100644 --- a/packages/icons/src/arrowdownright/arrowdownright.ts +++ b/packages/primeng/src/icons/arrowdownright/arrowdownright.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ArrowDownRightIcon', diff --git a/packages/icons/src/angleup/ng-package.json b/packages/primeng/src/icons/arrowdownright/ng-package.json similarity index 100% rename from packages/icons/src/angleup/ng-package.json rename to packages/primeng/src/icons/arrowdownright/ng-package.json diff --git a/packages/icons/src/arrowdownright/public_api.ts b/packages/primeng/src/icons/arrowdownright/public_api.ts similarity index 100% rename from packages/icons/src/arrowdownright/public_api.ts rename to packages/primeng/src/icons/arrowdownright/public_api.ts diff --git a/packages/icons/src/arrowleft/arrowleft.ts b/packages/primeng/src/icons/arrowleft/arrowleft.ts similarity index 97% rename from packages/icons/src/arrowleft/arrowleft.ts rename to packages/primeng/src/icons/arrowleft/arrowleft.ts index 0f731eb1ba5..c1c4b1bd182 100644 --- a/packages/icons/src/arrowleft/arrowleft.ts +++ b/packages/primeng/src/icons/arrowleft/arrowleft.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ArrowLeftIcon', diff --git a/packages/icons/src/arrowdown/ng-package.json b/packages/primeng/src/icons/arrowleft/ng-package.json similarity index 100% rename from packages/icons/src/arrowdown/ng-package.json rename to packages/primeng/src/icons/arrowleft/ng-package.json diff --git a/packages/icons/src/arrowleft/public_api.ts b/packages/primeng/src/icons/arrowleft/public_api.ts similarity index 100% rename from packages/icons/src/arrowleft/public_api.ts rename to packages/primeng/src/icons/arrowleft/public_api.ts diff --git a/packages/icons/src/arrowright/arrowright.ts b/packages/primeng/src/icons/arrowright/arrowright.ts similarity index 96% rename from packages/icons/src/arrowright/arrowright.ts rename to packages/primeng/src/icons/arrowright/arrowright.ts index 0068c9ce2a1..f0398d6c919 100644 --- a/packages/icons/src/arrowright/arrowright.ts +++ b/packages/primeng/src/icons/arrowright/arrowright.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ArrowRightIcon', diff --git a/packages/icons/src/arrowdownleft/ng-package.json b/packages/primeng/src/icons/arrowright/ng-package.json similarity index 100% rename from packages/icons/src/arrowdownleft/ng-package.json rename to packages/primeng/src/icons/arrowright/ng-package.json diff --git a/packages/icons/src/arrowright/public_api.ts b/packages/primeng/src/icons/arrowright/public_api.ts similarity index 100% rename from packages/icons/src/arrowright/public_api.ts rename to packages/primeng/src/icons/arrowright/public_api.ts diff --git a/packages/icons/src/arrowup/arrowup.ts b/packages/primeng/src/icons/arrowup/arrowup.ts similarity index 97% rename from packages/icons/src/arrowup/arrowup.ts rename to packages/primeng/src/icons/arrowup/arrowup.ts index ac74a5e2482..acd078628ec 100644 --- a/packages/icons/src/arrowup/arrowup.ts +++ b/packages/primeng/src/icons/arrowup/arrowup.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ArrowUpIcon', diff --git a/packages/icons/src/arrowdownright/ng-package.json b/packages/primeng/src/icons/arrowup/ng-package.json similarity index 100% rename from packages/icons/src/arrowdownright/ng-package.json rename to packages/primeng/src/icons/arrowup/ng-package.json diff --git a/packages/icons/src/arrowup/public_api.ts b/packages/primeng/src/icons/arrowup/public_api.ts similarity index 100% rename from packages/icons/src/arrowup/public_api.ts rename to packages/primeng/src/icons/arrowup/public_api.ts diff --git a/packages/icons/src/ban/ban.ts b/packages/primeng/src/icons/ban/ban.ts similarity index 97% rename from packages/icons/src/ban/ban.ts rename to packages/primeng/src/icons/ban/ban.ts index 5164971e4a9..b21ce517854 100644 --- a/packages/icons/src/ban/ban.ts +++ b/packages/primeng/src/icons/ban/ban.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'BanIcon', diff --git a/packages/icons/src/arrowleft/ng-package.json b/packages/primeng/src/icons/ban/ng-package.json similarity index 100% rename from packages/icons/src/arrowleft/ng-package.json rename to packages/primeng/src/icons/ban/ng-package.json diff --git a/packages/icons/src/ban/public_api.ts b/packages/primeng/src/icons/ban/public_api.ts similarity index 100% rename from packages/icons/src/ban/public_api.ts rename to packages/primeng/src/icons/ban/public_api.ts diff --git a/packages/icons/src/bars/bars.ts b/packages/primeng/src/icons/bars/bars.ts similarity index 97% rename from packages/icons/src/bars/bars.ts rename to packages/primeng/src/icons/bars/bars.ts index a0116c1d113..67e6ec2dac2 100644 --- a/packages/icons/src/bars/bars.ts +++ b/packages/primeng/src/icons/bars/bars.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'BarsIcon', diff --git a/packages/icons/src/arrowright/ng-package.json b/packages/primeng/src/icons/bars/ng-package.json similarity index 100% rename from packages/icons/src/arrowright/ng-package.json rename to packages/primeng/src/icons/bars/ng-package.json diff --git a/packages/icons/src/bars/public_api.ts b/packages/primeng/src/icons/bars/public_api.ts similarity index 100% rename from packages/icons/src/bars/public_api.ts rename to packages/primeng/src/icons/bars/public_api.ts diff --git a/packages/icons/src/baseicon/baseicon.ts b/packages/primeng/src/icons/baseicon/baseicon.ts similarity index 95% rename from packages/icons/src/baseicon/baseicon.ts rename to packages/primeng/src/icons/baseicon/baseicon.ts index df607b07f11..932d3251262 100644 --- a/packages/icons/src/baseicon/baseicon.ts +++ b/packages/primeng/src/icons/baseicon/baseicon.ts @@ -1,6 +1,6 @@ import { booleanAttribute, ChangeDetectionStrategy, Component, Input, OnInit, ViewEncapsulation } from '@angular/core'; -import { BaseComponent } from '@primeng/core/basecomponent'; import { isEmpty } from '@primeuix/utils'; +import { BaseComponent } from 'primeng/basecomponent'; import { BaseIconStyle } from './style/baseiconstyle'; @Component({ diff --git a/packages/icons/src/arrowup/ng-package.json b/packages/primeng/src/icons/baseicon/ng-package.json similarity index 100% rename from packages/icons/src/arrowup/ng-package.json rename to packages/primeng/src/icons/baseicon/ng-package.json diff --git a/packages/icons/src/baseicon/public_api.ts b/packages/primeng/src/icons/baseicon/public_api.ts similarity index 100% rename from packages/icons/src/baseicon/public_api.ts rename to packages/primeng/src/icons/baseicon/public_api.ts diff --git a/packages/icons/src/baseicon/style/baseiconstyle.ts b/packages/primeng/src/icons/baseicon/style/baseiconstyle.ts similarity index 95% rename from packages/icons/src/baseicon/style/baseiconstyle.ts rename to packages/primeng/src/icons/baseicon/style/baseiconstyle.ts index fbc6babf7a4..0a9a7de2ac0 100644 --- a/packages/icons/src/baseicon/style/baseiconstyle.ts +++ b/packages/primeng/src/icons/baseicon/style/baseiconstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const css = ` .p-icon { diff --git a/packages/icons/src/blank/blank.ts b/packages/primeng/src/icons/blank/blank.ts similarity index 87% rename from packages/icons/src/blank/blank.ts rename to packages/primeng/src/icons/blank/blank.ts index ff9a7bddc53..635a1ec8bea 100644 --- a/packages/icons/src/blank/blank.ts +++ b/packages/primeng/src/icons/blank/blank.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'BlankIcon', diff --git a/packages/icons/src/ban/ng-package.json b/packages/primeng/src/icons/blank/ng-package.json similarity index 100% rename from packages/icons/src/ban/ng-package.json rename to packages/primeng/src/icons/blank/ng-package.json diff --git a/packages/icons/src/blank/public_api.ts b/packages/primeng/src/icons/blank/public_api.ts similarity index 100% rename from packages/icons/src/blank/public_api.ts rename to packages/primeng/src/icons/blank/public_api.ts diff --git a/packages/icons/src/calendar/calendar.ts b/packages/primeng/src/icons/calendar/calendar.ts similarity index 97% rename from packages/icons/src/calendar/calendar.ts rename to packages/primeng/src/icons/calendar/calendar.ts index cadec047075..616d7d8bbfc 100644 --- a/packages/icons/src/calendar/calendar.ts +++ b/packages/primeng/src/icons/calendar/calendar.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'CalendarIcon', diff --git a/packages/icons/src/bars/ng-package.json b/packages/primeng/src/icons/calendar/ng-package.json similarity index 100% rename from packages/icons/src/bars/ng-package.json rename to packages/primeng/src/icons/calendar/ng-package.json diff --git a/packages/icons/src/calendar/public_api.ts b/packages/primeng/src/icons/calendar/public_api.ts similarity index 100% rename from packages/icons/src/calendar/public_api.ts rename to packages/primeng/src/icons/calendar/public_api.ts diff --git a/packages/icons/src/caretleft/caretleft.ts b/packages/primeng/src/icons/caretleft/caretleft.ts similarity index 95% rename from packages/icons/src/caretleft/caretleft.ts rename to packages/primeng/src/icons/caretleft/caretleft.ts index c6ee5280c80..e3ca85b8ea4 100644 --- a/packages/icons/src/caretleft/caretleft.ts +++ b/packages/primeng/src/icons/caretleft/caretleft.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'CaretLeftIcon', diff --git a/packages/icons/src/baseicon/ng-package.json b/packages/primeng/src/icons/caretleft/ng-package.json similarity index 100% rename from packages/icons/src/baseicon/ng-package.json rename to packages/primeng/src/icons/caretleft/ng-package.json diff --git a/packages/icons/src/caretleft/public_api.ts b/packages/primeng/src/icons/caretleft/public_api.ts similarity index 100% rename from packages/icons/src/caretleft/public_api.ts rename to packages/primeng/src/icons/caretleft/public_api.ts diff --git a/packages/icons/src/caretright/caretright.ts b/packages/primeng/src/icons/caretright/caretright.ts similarity index 95% rename from packages/icons/src/caretright/caretright.ts rename to packages/primeng/src/icons/caretright/caretright.ts index e37b640f0e9..cdfa67aac87 100644 --- a/packages/icons/src/caretright/caretright.ts +++ b/packages/primeng/src/icons/caretright/caretright.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'CaretRightIcon', diff --git a/packages/icons/src/blank/ng-package.json b/packages/primeng/src/icons/caretright/ng-package.json similarity index 100% rename from packages/icons/src/blank/ng-package.json rename to packages/primeng/src/icons/caretright/ng-package.json diff --git a/packages/icons/src/caretright/public_api.ts b/packages/primeng/src/icons/caretright/public_api.ts similarity index 100% rename from packages/icons/src/caretright/public_api.ts rename to packages/primeng/src/icons/caretright/public_api.ts diff --git a/packages/icons/src/check/check.ts b/packages/primeng/src/icons/check/check.ts similarity index 96% rename from packages/icons/src/check/check.ts rename to packages/primeng/src/icons/check/check.ts index 3ebc0df1270..7c20cf77e62 100644 --- a/packages/icons/src/check/check.ts +++ b/packages/primeng/src/icons/check/check.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'CheckIcon', diff --git a/packages/icons/src/calendar/ng-package.json b/packages/primeng/src/icons/check/ng-package.json similarity index 100% rename from packages/icons/src/calendar/ng-package.json rename to packages/primeng/src/icons/check/ng-package.json diff --git a/packages/icons/src/check/public_api.ts b/packages/primeng/src/icons/check/public_api.ts similarity index 100% rename from packages/icons/src/check/public_api.ts rename to packages/primeng/src/icons/check/public_api.ts diff --git a/packages/icons/src/chevrondown/chevrondown.ts b/packages/primeng/src/icons/chevrondown/chevrondown.ts similarity index 95% rename from packages/icons/src/chevrondown/chevrondown.ts rename to packages/primeng/src/icons/chevrondown/chevrondown.ts index 36509f40939..29bf9664756 100644 --- a/packages/icons/src/chevrondown/chevrondown.ts +++ b/packages/primeng/src/icons/chevrondown/chevrondown.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ChevronDownIcon', diff --git a/packages/icons/src/caretleft/ng-package.json b/packages/primeng/src/icons/chevrondown/ng-package.json similarity index 100% rename from packages/icons/src/caretleft/ng-package.json rename to packages/primeng/src/icons/chevrondown/ng-package.json diff --git a/packages/icons/src/chevrondown/public_api.ts b/packages/primeng/src/icons/chevrondown/public_api.ts similarity index 100% rename from packages/icons/src/chevrondown/public_api.ts rename to packages/primeng/src/icons/chevrondown/public_api.ts diff --git a/packages/icons/src/chevronleft/chevronleft.ts b/packages/primeng/src/icons/chevronleft/chevronleft.ts similarity index 95% rename from packages/icons/src/chevronleft/chevronleft.ts rename to packages/primeng/src/icons/chevronleft/chevronleft.ts index 086985520fd..9e532ed0dd5 100644 --- a/packages/icons/src/chevronleft/chevronleft.ts +++ b/packages/primeng/src/icons/chevronleft/chevronleft.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ChevronLeftIcon', diff --git a/packages/icons/src/caretright/ng-package.json b/packages/primeng/src/icons/chevronleft/ng-package.json similarity index 100% rename from packages/icons/src/caretright/ng-package.json rename to packages/primeng/src/icons/chevronleft/ng-package.json diff --git a/packages/icons/src/chevronleft/public_api.ts b/packages/primeng/src/icons/chevronleft/public_api.ts similarity index 100% rename from packages/icons/src/chevronleft/public_api.ts rename to packages/primeng/src/icons/chevronleft/public_api.ts diff --git a/packages/icons/src/chevronright/chevronright.ts b/packages/primeng/src/icons/chevronright/chevronright.ts similarity index 95% rename from packages/icons/src/chevronright/chevronright.ts rename to packages/primeng/src/icons/chevronright/chevronright.ts index 4fd134caef6..5c9eb68c27c 100644 --- a/packages/icons/src/chevronright/chevronright.ts +++ b/packages/primeng/src/icons/chevronright/chevronright.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ChevronRightIcon', diff --git a/packages/icons/src/check/ng-package.json b/packages/primeng/src/icons/chevronright/ng-package.json similarity index 100% rename from packages/icons/src/check/ng-package.json rename to packages/primeng/src/icons/chevronright/ng-package.json diff --git a/packages/icons/src/chevronright/public_api.ts b/packages/primeng/src/icons/chevronright/public_api.ts similarity index 100% rename from packages/icons/src/chevronright/public_api.ts rename to packages/primeng/src/icons/chevronright/public_api.ts diff --git a/packages/icons/src/chevronup/chevronup.ts b/packages/primeng/src/icons/chevronup/chevronup.ts similarity index 95% rename from packages/icons/src/chevronup/chevronup.ts rename to packages/primeng/src/icons/chevronup/chevronup.ts index 57e4ba5c823..09be5cd280a 100644 --- a/packages/icons/src/chevronup/chevronup.ts +++ b/packages/primeng/src/icons/chevronup/chevronup.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ChevronUpIcon', diff --git a/packages/icons/src/chevrondown/ng-package.json b/packages/primeng/src/icons/chevronup/ng-package.json similarity index 100% rename from packages/icons/src/chevrondown/ng-package.json rename to packages/primeng/src/icons/chevronup/ng-package.json diff --git a/packages/icons/src/chevronup/public_api.ts b/packages/primeng/src/icons/chevronup/public_api.ts similarity index 100% rename from packages/icons/src/chevronup/public_api.ts rename to packages/primeng/src/icons/chevronup/public_api.ts diff --git a/packages/icons/src/exclamationtriangle/exclamationtriangle.ts b/packages/primeng/src/icons/exclamationtriangle/exclamationtriangle.ts similarity index 98% rename from packages/icons/src/exclamationtriangle/exclamationtriangle.ts rename to packages/primeng/src/icons/exclamationtriangle/exclamationtriangle.ts index 6c10bbd9bbd..438f16cc9d1 100644 --- a/packages/icons/src/exclamationtriangle/exclamationtriangle.ts +++ b/packages/primeng/src/icons/exclamationtriangle/exclamationtriangle.ts @@ -1,6 +1,6 @@ import { Component, OnInit } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ExclamationTriangleIcon', diff --git a/packages/icons/src/chevronleft/ng-package.json b/packages/primeng/src/icons/exclamationtriangle/ng-package.json similarity index 100% rename from packages/icons/src/chevronleft/ng-package.json rename to packages/primeng/src/icons/exclamationtriangle/ng-package.json diff --git a/packages/icons/src/exclamationtriangle/public_api.ts b/packages/primeng/src/icons/exclamationtriangle/public_api.ts similarity index 100% rename from packages/icons/src/exclamationtriangle/public_api.ts rename to packages/primeng/src/icons/exclamationtriangle/public_api.ts diff --git a/packages/icons/src/eye/eye.ts b/packages/primeng/src/icons/eye/eye.ts similarity index 97% rename from packages/icons/src/eye/eye.ts rename to packages/primeng/src/icons/eye/eye.ts index 15accfe57c1..346bede967e 100644 --- a/packages/icons/src/eye/eye.ts +++ b/packages/primeng/src/icons/eye/eye.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'EyeIcon', diff --git a/packages/icons/src/chevronright/ng-package.json b/packages/primeng/src/icons/eye/ng-package.json similarity index 100% rename from packages/icons/src/chevronright/ng-package.json rename to packages/primeng/src/icons/eye/ng-package.json diff --git a/packages/icons/src/eye/public_api.ts b/packages/primeng/src/icons/eye/public_api.ts similarity index 100% rename from packages/icons/src/eye/public_api.ts rename to packages/primeng/src/icons/eye/public_api.ts diff --git a/packages/icons/src/eyeslash/eyeslash.ts b/packages/primeng/src/icons/eyeslash/eyeslash.ts similarity index 98% rename from packages/icons/src/eyeslash/eyeslash.ts rename to packages/primeng/src/icons/eyeslash/eyeslash.ts index 993aa669496..25d82bb141e 100644 --- a/packages/icons/src/eyeslash/eyeslash.ts +++ b/packages/primeng/src/icons/eyeslash/eyeslash.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'EyeSlashIcon', diff --git a/packages/icons/src/chevronup/ng-package.json b/packages/primeng/src/icons/eyeslash/ng-package.json similarity index 100% rename from packages/icons/src/chevronup/ng-package.json rename to packages/primeng/src/icons/eyeslash/ng-package.json diff --git a/packages/icons/src/eyeslash/public_api.ts b/packages/primeng/src/icons/eyeslash/public_api.ts similarity index 100% rename from packages/icons/src/eyeslash/public_api.ts rename to packages/primeng/src/icons/eyeslash/public_api.ts diff --git a/packages/icons/src/filter/filter.ts b/packages/primeng/src/icons/filter/filter.ts similarity index 97% rename from packages/icons/src/filter/filter.ts rename to packages/primeng/src/icons/filter/filter.ts index 0447e02cc16..828f7a4beba 100644 --- a/packages/icons/src/filter/filter.ts +++ b/packages/primeng/src/icons/filter/filter.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'FilterIcon', diff --git a/packages/icons/src/exclamationtriangle/ng-package.json b/packages/primeng/src/icons/filter/ng-package.json similarity index 100% rename from packages/icons/src/exclamationtriangle/ng-package.json rename to packages/primeng/src/icons/filter/ng-package.json diff --git a/packages/icons/src/filter/public_api.ts b/packages/primeng/src/icons/filter/public_api.ts similarity index 100% rename from packages/icons/src/filter/public_api.ts rename to packages/primeng/src/icons/filter/public_api.ts diff --git a/packages/icons/src/filterslash/filterslash.ts b/packages/primeng/src/icons/filterslash/filterslash.ts similarity index 98% rename from packages/icons/src/filterslash/filterslash.ts rename to packages/primeng/src/icons/filterslash/filterslash.ts index 44e2909463f..6502b05433f 100644 --- a/packages/icons/src/filterslash/filterslash.ts +++ b/packages/primeng/src/icons/filterslash/filterslash.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'FilterSlashIcon', diff --git a/packages/icons/src/eye/ng-package.json b/packages/primeng/src/icons/filterslash/ng-package.json similarity index 100% rename from packages/icons/src/eye/ng-package.json rename to packages/primeng/src/icons/filterslash/ng-package.json diff --git a/packages/icons/src/filterslash/public_api.ts b/packages/primeng/src/icons/filterslash/public_api.ts similarity index 100% rename from packages/icons/src/filterslash/public_api.ts rename to packages/primeng/src/icons/filterslash/public_api.ts diff --git a/packages/icons/src/home/home.ts b/packages/primeng/src/icons/home/home.ts similarity index 97% rename from packages/icons/src/home/home.ts rename to packages/primeng/src/icons/home/home.ts index b757e1cbcd3..7e4ec799c81 100644 --- a/packages/icons/src/home/home.ts +++ b/packages/primeng/src/icons/home/home.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'HomeIcon', diff --git a/packages/icons/src/eyeslash/ng-package.json b/packages/primeng/src/icons/home/ng-package.json similarity index 100% rename from packages/icons/src/eyeslash/ng-package.json rename to packages/primeng/src/icons/home/ng-package.json diff --git a/packages/icons/src/home/public_api.ts b/packages/primeng/src/icons/home/public_api.ts similarity index 100% rename from packages/icons/src/home/public_api.ts rename to packages/primeng/src/icons/home/public_api.ts diff --git a/packages/icons/src/infocircle/infocircle.ts b/packages/primeng/src/icons/infocircle/infocircle.ts similarity index 98% rename from packages/icons/src/infocircle/infocircle.ts rename to packages/primeng/src/icons/infocircle/infocircle.ts index 2879485c5e8..244ba7f8506 100644 --- a/packages/icons/src/infocircle/infocircle.ts +++ b/packages/primeng/src/icons/infocircle/infocircle.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'InfoCircleIcon', diff --git a/packages/icons/src/filter/ng-package.json b/packages/primeng/src/icons/infocircle/ng-package.json similarity index 100% rename from packages/icons/src/filter/ng-package.json rename to packages/primeng/src/icons/infocircle/ng-package.json diff --git a/packages/icons/src/infocircle/public_api.ts b/packages/primeng/src/icons/infocircle/public_api.ts similarity index 100% rename from packages/icons/src/infocircle/public_api.ts rename to packages/primeng/src/icons/infocircle/public_api.ts diff --git a/packages/icons/src/minus/minus.ts b/packages/primeng/src/icons/minus/minus.ts similarity index 94% rename from packages/icons/src/minus/minus.ts rename to packages/primeng/src/icons/minus/minus.ts index 8d020e37503..db1e2ceb032 100644 --- a/packages/icons/src/minus/minus.ts +++ b/packages/primeng/src/icons/minus/minus.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'MinusIcon', diff --git a/packages/icons/src/filterslash/ng-package.json b/packages/primeng/src/icons/minus/ng-package.json similarity index 100% rename from packages/icons/src/filterslash/ng-package.json rename to packages/primeng/src/icons/minus/ng-package.json diff --git a/packages/icons/src/minus/public_api.ts b/packages/primeng/src/icons/minus/public_api.ts similarity index 100% rename from packages/icons/src/minus/public_api.ts rename to packages/primeng/src/icons/minus/public_api.ts diff --git a/packages/icons/src/home/ng-package.json b/packages/primeng/src/icons/ng-package.json similarity index 100% rename from packages/icons/src/home/ng-package.json rename to packages/primeng/src/icons/ng-package.json diff --git a/packages/icons/package.json b/packages/primeng/src/icons/package.json similarity index 53% rename from packages/icons/package.json rename to packages/primeng/src/icons/package.json index 903b890d795..d81eb2eeaf7 100644 --- a/packages/icons/package.json +++ b/packages/primeng/src/icons/package.json @@ -13,25 +13,9 @@ "bugs": { "url": "https://github.com/primefaces/primeng/issues" }, - "main": "./src/public_api.ts", - "module": "./src/public_api.ts", - "types": "./src/public_api.ts", - "exports": { - ".": "./src/public_api.ts", - "./*": "./src/*/public_api.ts" - }, "publishConfig": { - "directory": "dist", - "linkDirectory": false, "access": "public" }, - "scripts": { - "build": "NODE_ENV=production INPUT_DIR=src/ OUTPUT_DIR=dist/ pnpm run build:package", - "build:package": "pnpm run build:prebuild && ng build primeng-icons && pnpm run build:postbuild", - "build:prebuild": "node ./scripts/prebuild.mjs", - "build:postbuild": "node ./scripts/postbuild.mjs", - "dev:link": "pnpm link --global && npm link" - }, "peerDependencies": { "@angular/core": "catalog:compatible", "@primeng/core": "workspace:*" diff --git a/packages/icons/src/infocircle/ng-package.json b/packages/primeng/src/icons/pencil/ng-package.json similarity index 100% rename from packages/icons/src/infocircle/ng-package.json rename to packages/primeng/src/icons/pencil/ng-package.json diff --git a/packages/icons/src/pencil/pencil.ts b/packages/primeng/src/icons/pencil/pencil.ts similarity index 97% rename from packages/icons/src/pencil/pencil.ts rename to packages/primeng/src/icons/pencil/pencil.ts index 99b0742ef44..24c55c250db 100644 --- a/packages/icons/src/pencil/pencil.ts +++ b/packages/primeng/src/icons/pencil/pencil.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'PencilIcon', diff --git a/packages/icons/src/pencil/public_api.ts b/packages/primeng/src/icons/pencil/public_api.ts similarity index 100% rename from packages/icons/src/pencil/public_api.ts rename to packages/primeng/src/icons/pencil/public_api.ts diff --git a/packages/icons/src/minus/ng-package.json b/packages/primeng/src/icons/plus/ng-package.json similarity index 100% rename from packages/icons/src/minus/ng-package.json rename to packages/primeng/src/icons/plus/ng-package.json diff --git a/packages/icons/src/plus/plus.ts b/packages/primeng/src/icons/plus/plus.ts similarity index 96% rename from packages/icons/src/plus/plus.ts rename to packages/primeng/src/icons/plus/plus.ts index ba28c971a72..d92c68d9c39 100644 --- a/packages/icons/src/plus/plus.ts +++ b/packages/primeng/src/icons/plus/plus.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'PlusIcon', diff --git a/packages/icons/src/plus/public_api.ts b/packages/primeng/src/icons/plus/public_api.ts similarity index 100% rename from packages/icons/src/plus/public_api.ts rename to packages/primeng/src/icons/plus/public_api.ts diff --git a/packages/primeng/src/icons/public_api.ts b/packages/primeng/src/icons/public_api.ts new file mode 100644 index 00000000000..f1615a101e1 --- /dev/null +++ b/packages/primeng/src/icons/public_api.ts @@ -0,0 +1,57 @@ +/** + * @file + * THIS FILE IS AUTO-GENERATED. PLEASE DO NOT MODIFY. + */ +export * from 'primeng/icons/angledoubledown'; +export * from 'primeng/icons/angledoubleleft'; +export * from 'primeng/icons/angledoubleright'; +export * from 'primeng/icons/angledoubleup'; +export * from 'primeng/icons/angledown'; +export * from 'primeng/icons/angleleft'; +export * from 'primeng/icons/angleright'; +export * from 'primeng/icons/angleup'; +export * from 'primeng/icons/arrowdown'; +export * from 'primeng/icons/arrowdownleft'; +export * from 'primeng/icons/arrowdownright'; +export * from 'primeng/icons/arrowleft'; +export * from 'primeng/icons/arrowright'; +export * from 'primeng/icons/arrowup'; +export * from 'primeng/icons/ban'; +export * from 'primeng/icons/bars'; +export * from 'primeng/icons/blank'; +export * from 'primeng/icons/calendar'; +export * from 'primeng/icons/caretleft'; +export * from 'primeng/icons/caretright'; +export * from 'primeng/icons/check'; +export * from 'primeng/icons/chevrondown'; +export * from 'primeng/icons/chevronleft'; +export * from 'primeng/icons/chevronright'; +export * from 'primeng/icons/chevronup'; +export * from 'primeng/icons/exclamationtriangle'; +export * from 'primeng/icons/eye'; +export * from 'primeng/icons/eyeslash'; +export * from 'primeng/icons/filter'; +export * from 'primeng/icons/filterslash'; +export * from 'primeng/icons/home'; +export * from 'primeng/icons/infocircle'; +export * from 'primeng/icons/minus'; +export * from 'primeng/icons/pencil'; +export * from 'primeng/icons/plus'; +export * from 'primeng/icons/refresh'; +export * from 'primeng/icons/search'; +export * from 'primeng/icons/searchminus'; +export * from 'primeng/icons/searchplus'; +export * from 'primeng/icons/sortalt'; +export * from 'primeng/icons/sortamountdown'; +export * from 'primeng/icons/sortamountupalt'; +export * from 'primeng/icons/spinner'; +export * from 'primeng/icons/star'; +export * from 'primeng/icons/starfill'; +export * from 'primeng/icons/thlarge'; +export * from 'primeng/icons/times'; +export * from 'primeng/icons/timescircle'; +export * from 'primeng/icons/trash'; +export * from 'primeng/icons/undo'; +export * from 'primeng/icons/upload'; +export * from 'primeng/icons/windowmaximize'; +export * from 'primeng/icons/windowminimize'; diff --git a/packages/icons/src/pencil/ng-package.json b/packages/primeng/src/icons/refresh/ng-package.json similarity index 100% rename from packages/icons/src/pencil/ng-package.json rename to packages/primeng/src/icons/refresh/ng-package.json diff --git a/packages/icons/src/refresh/public_api.ts b/packages/primeng/src/icons/refresh/public_api.ts similarity index 100% rename from packages/icons/src/refresh/public_api.ts rename to packages/primeng/src/icons/refresh/public_api.ts diff --git a/packages/icons/src/refresh/refresh.ts b/packages/primeng/src/icons/refresh/refresh.ts similarity index 98% rename from packages/icons/src/refresh/refresh.ts rename to packages/primeng/src/icons/refresh/refresh.ts index 9371f5bb5c2..bfe6174508c 100644 --- a/packages/icons/src/refresh/refresh.ts +++ b/packages/primeng/src/icons/refresh/refresh.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'RefreshIcon', diff --git a/packages/icons/src/plus/ng-package.json b/packages/primeng/src/icons/search/ng-package.json similarity index 100% rename from packages/icons/src/plus/ng-package.json rename to packages/primeng/src/icons/search/ng-package.json diff --git a/packages/icons/src/search/public_api.ts b/packages/primeng/src/icons/search/public_api.ts similarity index 100% rename from packages/icons/src/search/public_api.ts rename to packages/primeng/src/icons/search/public_api.ts diff --git a/packages/icons/src/search/search.ts b/packages/primeng/src/icons/search/search.ts similarity index 97% rename from packages/icons/src/search/search.ts rename to packages/primeng/src/icons/search/search.ts index fb41c32327f..4ae292adbff 100644 --- a/packages/icons/src/search/search.ts +++ b/packages/primeng/src/icons/search/search.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'SearchIcon', diff --git a/packages/icons/src/refresh/ng-package.json b/packages/primeng/src/icons/searchminus/ng-package.json similarity index 100% rename from packages/icons/src/refresh/ng-package.json rename to packages/primeng/src/icons/searchminus/ng-package.json diff --git a/packages/icons/src/searchminus/public_api.ts b/packages/primeng/src/icons/searchminus/public_api.ts similarity index 100% rename from packages/icons/src/searchminus/public_api.ts rename to packages/primeng/src/icons/searchminus/public_api.ts diff --git a/packages/icons/src/searchminus/searchminus.ts b/packages/primeng/src/icons/searchminus/searchminus.ts similarity index 98% rename from packages/icons/src/searchminus/searchminus.ts rename to packages/primeng/src/icons/searchminus/searchminus.ts index 8d423b6950e..bd3f7a2cabc 100644 --- a/packages/icons/src/searchminus/searchminus.ts +++ b/packages/primeng/src/icons/searchminus/searchminus.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'SearchMinusIcon', diff --git a/packages/icons/src/search/ng-package.json b/packages/primeng/src/icons/searchplus/ng-package.json similarity index 100% rename from packages/icons/src/search/ng-package.json rename to packages/primeng/src/icons/searchplus/ng-package.json diff --git a/packages/icons/src/searchplus/public_api.ts b/packages/primeng/src/icons/searchplus/public_api.ts similarity index 100% rename from packages/icons/src/searchplus/public_api.ts rename to packages/primeng/src/icons/searchplus/public_api.ts diff --git a/packages/icons/src/searchplus/searchplus.ts b/packages/primeng/src/icons/searchplus/searchplus.ts similarity index 98% rename from packages/icons/src/searchplus/searchplus.ts rename to packages/primeng/src/icons/searchplus/searchplus.ts index 95e6931d696..ef198220d5b 100644 --- a/packages/icons/src/searchplus/searchplus.ts +++ b/packages/primeng/src/icons/searchplus/searchplus.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'SearchPlusIcon', diff --git a/packages/icons/src/searchminus/ng-package.json b/packages/primeng/src/icons/sortalt/ng-package.json similarity index 100% rename from packages/icons/src/searchminus/ng-package.json rename to packages/primeng/src/icons/sortalt/ng-package.json diff --git a/packages/icons/src/sortalt/public_api.ts b/packages/primeng/src/icons/sortalt/public_api.ts similarity index 100% rename from packages/icons/src/sortalt/public_api.ts rename to packages/primeng/src/icons/sortalt/public_api.ts diff --git a/packages/icons/src/sortalt/sortalt.ts b/packages/primeng/src/icons/sortalt/sortalt.ts similarity index 97% rename from packages/icons/src/sortalt/sortalt.ts rename to packages/primeng/src/icons/sortalt/sortalt.ts index cc6e390909a..4b10b7f979a 100644 --- a/packages/icons/src/sortalt/sortalt.ts +++ b/packages/primeng/src/icons/sortalt/sortalt.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'SortAltIcon', diff --git a/packages/icons/src/searchplus/ng-package.json b/packages/primeng/src/icons/sortamountdown/ng-package.json similarity index 100% rename from packages/icons/src/searchplus/ng-package.json rename to packages/primeng/src/icons/sortamountdown/ng-package.json diff --git a/packages/icons/src/sortamountdown/public_api.ts b/packages/primeng/src/icons/sortamountdown/public_api.ts similarity index 100% rename from packages/icons/src/sortamountdown/public_api.ts rename to packages/primeng/src/icons/sortamountdown/public_api.ts diff --git a/packages/icons/src/sortamountdown/sortamountdown.ts b/packages/primeng/src/icons/sortamountdown/sortamountdown.ts similarity index 97% rename from packages/icons/src/sortamountdown/sortamountdown.ts rename to packages/primeng/src/icons/sortamountdown/sortamountdown.ts index 43b4fa71f67..2a6218d2f56 100644 --- a/packages/icons/src/sortamountdown/sortamountdown.ts +++ b/packages/primeng/src/icons/sortamountdown/sortamountdown.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'SortAmountDownIcon', diff --git a/packages/icons/src/sortalt/ng-package.json b/packages/primeng/src/icons/sortamountupalt/ng-package.json similarity index 100% rename from packages/icons/src/sortalt/ng-package.json rename to packages/primeng/src/icons/sortamountupalt/ng-package.json diff --git a/packages/icons/src/sortamountupalt/public_api.ts b/packages/primeng/src/icons/sortamountupalt/public_api.ts similarity index 100% rename from packages/icons/src/sortamountupalt/public_api.ts rename to packages/primeng/src/icons/sortamountupalt/public_api.ts diff --git a/packages/icons/src/sortamountupalt/sortamountupalt.ts b/packages/primeng/src/icons/sortamountupalt/sortamountupalt.ts similarity index 97% rename from packages/icons/src/sortamountupalt/sortamountupalt.ts rename to packages/primeng/src/icons/sortamountupalt/sortamountupalt.ts index 7cb786c25b8..0747bd81a20 100644 --- a/packages/icons/src/sortamountupalt/sortamountupalt.ts +++ b/packages/primeng/src/icons/sortamountupalt/sortamountupalt.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'SortAmountUpAltIcon', diff --git a/packages/icons/src/sortamountdown/ng-package.json b/packages/primeng/src/icons/spinner/ng-package.json similarity index 100% rename from packages/icons/src/sortamountdown/ng-package.json rename to packages/primeng/src/icons/spinner/ng-package.json diff --git a/packages/icons/src/spinner/public_api.ts b/packages/primeng/src/icons/spinner/public_api.ts similarity index 100% rename from packages/icons/src/spinner/public_api.ts rename to packages/primeng/src/icons/spinner/public_api.ts diff --git a/packages/icons/src/spinner/spinner.ts b/packages/primeng/src/icons/spinner/spinner.ts similarity index 97% rename from packages/icons/src/spinner/spinner.ts rename to packages/primeng/src/icons/spinner/spinner.ts index ace2f59ddef..d090a94532b 100644 --- a/packages/icons/src/spinner/spinner.ts +++ b/packages/primeng/src/icons/spinner/spinner.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'SpinnerIcon', diff --git a/packages/icons/src/sortamountupalt/ng-package.json b/packages/primeng/src/icons/star/ng-package.json similarity index 100% rename from packages/icons/src/sortamountupalt/ng-package.json rename to packages/primeng/src/icons/star/ng-package.json diff --git a/packages/icons/src/star/public_api.ts b/packages/primeng/src/icons/star/public_api.ts similarity index 100% rename from packages/icons/src/star/public_api.ts rename to packages/primeng/src/icons/star/public_api.ts diff --git a/packages/icons/src/star/star.ts b/packages/primeng/src/icons/star/star.ts similarity index 98% rename from packages/icons/src/star/star.ts rename to packages/primeng/src/icons/star/star.ts index 771fed4c37c..85a0d2655a8 100644 --- a/packages/icons/src/star/star.ts +++ b/packages/primeng/src/icons/star/star.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'StarIcon', diff --git a/packages/icons/src/spinner/ng-package.json b/packages/primeng/src/icons/starfill/ng-package.json similarity index 100% rename from packages/icons/src/spinner/ng-package.json rename to packages/primeng/src/icons/starfill/ng-package.json diff --git a/packages/icons/src/starfill/public_api.ts b/packages/primeng/src/icons/starfill/public_api.ts similarity index 100% rename from packages/icons/src/starfill/public_api.ts rename to packages/primeng/src/icons/starfill/public_api.ts diff --git a/packages/icons/src/starfill/starfill.ts b/packages/primeng/src/icons/starfill/starfill.ts similarity index 97% rename from packages/icons/src/starfill/starfill.ts rename to packages/primeng/src/icons/starfill/starfill.ts index ef482e73271..5274e81d3b1 100644 --- a/packages/icons/src/starfill/starfill.ts +++ b/packages/primeng/src/icons/starfill/starfill.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'StarFillIcon', diff --git a/packages/icons/src/star/ng-package.json b/packages/primeng/src/icons/thlarge/ng-package.json similarity index 100% rename from packages/icons/src/star/ng-package.json rename to packages/primeng/src/icons/thlarge/ng-package.json diff --git a/packages/icons/src/thlarge/public_api.ts b/packages/primeng/src/icons/thlarge/public_api.ts similarity index 100% rename from packages/icons/src/thlarge/public_api.ts rename to packages/primeng/src/icons/thlarge/public_api.ts diff --git a/packages/icons/src/thlarge/thlarge.ts b/packages/primeng/src/icons/thlarge/thlarge.ts similarity index 98% rename from packages/icons/src/thlarge/thlarge.ts rename to packages/primeng/src/icons/thlarge/thlarge.ts index 03ce8aa4259..baa3180b218 100644 --- a/packages/icons/src/thlarge/thlarge.ts +++ b/packages/primeng/src/icons/thlarge/thlarge.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'ThLargeIcon', diff --git a/packages/icons/src/starfill/ng-package.json b/packages/primeng/src/icons/times/ng-package.json similarity index 100% rename from packages/icons/src/starfill/ng-package.json rename to packages/primeng/src/icons/times/ng-package.json diff --git a/packages/icons/src/times/public_api.ts b/packages/primeng/src/icons/times/public_api.ts similarity index 100% rename from packages/icons/src/times/public_api.ts rename to packages/primeng/src/icons/times/public_api.ts diff --git a/packages/icons/src/times/times.ts b/packages/primeng/src/icons/times/times.ts similarity index 96% rename from packages/icons/src/times/times.ts rename to packages/primeng/src/icons/times/times.ts index dce27dd0101..4b1656bf7a3 100644 --- a/packages/icons/src/times/times.ts +++ b/packages/primeng/src/icons/times/times.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'TimesIcon', diff --git a/packages/icons/src/thlarge/ng-package.json b/packages/primeng/src/icons/timescircle/ng-package.json similarity index 100% rename from packages/icons/src/thlarge/ng-package.json rename to packages/primeng/src/icons/timescircle/ng-package.json diff --git a/packages/icons/src/timescircle/public_api.ts b/packages/primeng/src/icons/timescircle/public_api.ts similarity index 100% rename from packages/icons/src/timescircle/public_api.ts rename to packages/primeng/src/icons/timescircle/public_api.ts diff --git a/packages/icons/src/timescircle/timescircle.ts b/packages/primeng/src/icons/timescircle/timescircle.ts similarity index 98% rename from packages/icons/src/timescircle/timescircle.ts rename to packages/primeng/src/icons/timescircle/timescircle.ts index cee772f1618..724bbeb272e 100644 --- a/packages/icons/src/timescircle/timescircle.ts +++ b/packages/primeng/src/icons/timescircle/timescircle.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'TimesCircleIcon', diff --git a/packages/icons/src/times/ng-package.json b/packages/primeng/src/icons/trash/ng-package.json similarity index 100% rename from packages/icons/src/times/ng-package.json rename to packages/primeng/src/icons/trash/ng-package.json diff --git a/packages/icons/src/trash/public_api.ts b/packages/primeng/src/icons/trash/public_api.ts similarity index 100% rename from packages/icons/src/trash/public_api.ts rename to packages/primeng/src/icons/trash/public_api.ts diff --git a/packages/icons/src/trash/trash.ts b/packages/primeng/src/icons/trash/trash.ts similarity index 98% rename from packages/icons/src/trash/trash.ts rename to packages/primeng/src/icons/trash/trash.ts index b1194eb5829..292dae72e01 100644 --- a/packages/icons/src/trash/trash.ts +++ b/packages/primeng/src/icons/trash/trash.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'TrashIcon', diff --git a/packages/icons/src/timescircle/ng-package.json b/packages/primeng/src/icons/undo/ng-package.json similarity index 100% rename from packages/icons/src/timescircle/ng-package.json rename to packages/primeng/src/icons/undo/ng-package.json diff --git a/packages/icons/src/undo/public_api.ts b/packages/primeng/src/icons/undo/public_api.ts similarity index 100% rename from packages/icons/src/undo/public_api.ts rename to packages/primeng/src/icons/undo/public_api.ts diff --git a/packages/icons/src/undo/undo.ts b/packages/primeng/src/icons/undo/undo.ts similarity index 98% rename from packages/icons/src/undo/undo.ts rename to packages/primeng/src/icons/undo/undo.ts index 43de3e06fa4..dd2c340ba94 100644 --- a/packages/icons/src/undo/undo.ts +++ b/packages/primeng/src/icons/undo/undo.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'UndoIcon', diff --git a/packages/icons/src/trash/ng-package.json b/packages/primeng/src/icons/upload/ng-package.json similarity index 100% rename from packages/icons/src/trash/ng-package.json rename to packages/primeng/src/icons/upload/ng-package.json diff --git a/packages/icons/src/upload/public_api.ts b/packages/primeng/src/icons/upload/public_api.ts similarity index 100% rename from packages/icons/src/upload/public_api.ts rename to packages/primeng/src/icons/upload/public_api.ts diff --git a/packages/icons/src/upload/upload.ts b/packages/primeng/src/icons/upload/upload.ts similarity index 98% rename from packages/icons/src/upload/upload.ts rename to packages/primeng/src/icons/upload/upload.ts index 06bff679027..8e1ee76ced3 100644 --- a/packages/icons/src/upload/upload.ts +++ b/packages/primeng/src/icons/upload/upload.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'UploadIcon', diff --git a/packages/icons/src/undo/ng-package.json b/packages/primeng/src/icons/windowmaximize/ng-package.json similarity index 100% rename from packages/icons/src/undo/ng-package.json rename to packages/primeng/src/icons/windowmaximize/ng-package.json diff --git a/packages/icons/src/windowmaximize/public_api.ts b/packages/primeng/src/icons/windowmaximize/public_api.ts similarity index 100% rename from packages/icons/src/windowmaximize/public_api.ts rename to packages/primeng/src/icons/windowmaximize/public_api.ts diff --git a/packages/icons/src/windowmaximize/windowmaximize.ts b/packages/primeng/src/icons/windowmaximize/windowmaximize.ts similarity index 98% rename from packages/icons/src/windowmaximize/windowmaximize.ts rename to packages/primeng/src/icons/windowmaximize/windowmaximize.ts index 2d6382d6f58..42bb766c08a 100644 --- a/packages/icons/src/windowmaximize/windowmaximize.ts +++ b/packages/primeng/src/icons/windowmaximize/windowmaximize.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'WindowMaximizeIcon', diff --git a/packages/icons/src/upload/ng-package.json b/packages/primeng/src/icons/windowminimize/ng-package.json similarity index 100% rename from packages/icons/src/upload/ng-package.json rename to packages/primeng/src/icons/windowminimize/ng-package.json diff --git a/packages/icons/src/windowminimize/public_api.ts b/packages/primeng/src/icons/windowminimize/public_api.ts similarity index 100% rename from packages/icons/src/windowminimize/public_api.ts rename to packages/primeng/src/icons/windowminimize/public_api.ts diff --git a/packages/icons/src/windowminimize/windowminimize.ts b/packages/primeng/src/icons/windowminimize/windowminimize.ts similarity index 98% rename from packages/icons/src/windowminimize/windowminimize.ts rename to packages/primeng/src/icons/windowminimize/windowminimize.ts index e272634937b..d49176e0dc9 100644 --- a/packages/icons/src/windowminimize/windowminimize.ts +++ b/packages/primeng/src/icons/windowminimize/windowminimize.ts @@ -1,6 +1,6 @@ import { Component } from '@angular/core'; -import { BaseIcon } from '@primeng/icons/baseicon'; import { uuid } from '@primeuix/utils'; +import { BaseIcon } from 'primeng/icons/baseicon'; @Component({ selector: 'WindowMinimizeIcon', diff --git a/packages/primeng/src/iftalabel/iftalabel.ts b/packages/primeng/src/iftalabel/iftalabel.ts index d8d57794655..6b7d6daa508 100755 --- a/packages/primeng/src/iftalabel/iftalabel.ts +++ b/packages/primeng/src/iftalabel/iftalabel.ts @@ -1,7 +1,8 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, inject, NgModule, ViewEncapsulation } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { IftaLabelStyle } from './style/iftalabelstyle'; /** diff --git a/packages/primeng/src/iftalabel/style/iftalabelstyle.ts b/packages/primeng/src/iftalabel/style/iftalabelstyle.ts index eaa828203f0..4501baaf2d6 100644 --- a/packages/primeng/src/iftalabel/style/iftalabelstyle.ts +++ b/packages/primeng/src/iftalabel/style/iftalabelstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-iftalabel { diff --git a/packages/primeng/src/image/image.ts b/packages/primeng/src/image/image.ts index bfac051a5a2..e5c48d2ca83 100755 --- a/packages/primeng/src/image/image.ts +++ b/packages/primeng/src/image/image.ts @@ -2,10 +2,11 @@ import { animate, AnimationEvent, style, transition, trigger } from '@angular/an import { CommonModule } from '@angular/common'; import { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, HostListener, inject, Input, NgModule, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; import { SafeUrl } from '@angular/platform-browser'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { EyeIcon, RefreshIcon, SearchMinusIcon, SearchPlusIcon, TimesIcon, UndoIcon } from '@primeng/icons'; import { addClass, appendChild, blockBodyScroll, focus, unblockBodyScroll } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { FocusTrap } from 'primeng/focustrap'; +import { EyeIcon, RefreshIcon, SearchMinusIcon, SearchPlusIcon, TimesIcon, UndoIcon } from 'primeng/icons'; import { Nullable } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; import { ImageStyle } from './style/imagestyle'; diff --git a/packages/primeng/src/image/style/imagestyle.ts b/packages/primeng/src/image/style/imagestyle.ts index 34d5596b1a6..4a739a306a2 100644 --- a/packages/primeng/src/image/style/imagestyle.ts +++ b/packages/primeng/src/image/style/imagestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-image-mask { diff --git a/packages/primeng/src/inplace/inplace.spec.ts b/packages/primeng/src/inplace/inplace.spec.ts index 12dd4bd258b..04394fbefab 100755 --- a/packages/primeng/src/inplace/inplace.spec.ts +++ b/packages/primeng/src/inplace/inplace.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { TimesIcon } from '@primeng/icons'; +import { TimesIcon } from 'primeng/icons'; import { ButtonModule } from '../button/button'; import { Inplace } from './inplace'; diff --git a/packages/primeng/src/inplace/inplace.ts b/packages/primeng/src/inplace/inplace.ts index 10e265d2608..a9dde8cba7a 100755 --- a/packages/primeng/src/inplace/inplace.ts +++ b/packages/primeng/src/inplace/inplace.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, inject, Input, NgModule, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { TimesIcon } from '@primeng/icons'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonModule } from 'primeng/button'; +import { TimesIcon } from 'primeng/icons'; import { InplaceStyle } from './style/inplacestyle'; @Component({ diff --git a/packages/primeng/src/inplace/style/inplacestyle.ts b/packages/primeng/src/inplace/style/inplacestyle.ts index 4759927d023..423f8ada7b1 100644 --- a/packages/primeng/src/inplace/style/inplacestyle.ts +++ b/packages/primeng/src/inplace/style/inplacestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-inplace-display { diff --git a/packages/primeng/src/inputgroup/inputgroup.ts b/packages/primeng/src/inputgroup/inputgroup.ts index b26b793657a..2a6379bddf0 100755 --- a/packages/primeng/src/inputgroup/inputgroup.ts +++ b/packages/primeng/src/inputgroup/inputgroup.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { Component, inject, Input, NgModule } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { InputGroupStyle } from './style/inputgroupstyle'; /** diff --git a/packages/primeng/src/inputgroup/style/inputgroupstyle.ts b/packages/primeng/src/inputgroup/style/inputgroupstyle.ts index 6053c648c1e..6c4a413bb76 100644 --- a/packages/primeng/src/inputgroup/style/inputgroupstyle.ts +++ b/packages/primeng/src/inputgroup/style/inputgroupstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-inputgroup, @@ -55,7 +55,7 @@ const theme = ({ dt }) => ` .p-inputgroup > .p-iftalabel > .p-inputwrapper > .p-component { border-radius: 0; margin: 0; -} +} .p-inputgroupaddon:first-child, .p-inputgroup > .p-component:first-child, diff --git a/packages/primeng/src/inputgroupaddon/inputgroupaddon.ts b/packages/primeng/src/inputgroupaddon/inputgroupaddon.ts index f411f17d059..92f8301755f 100755 --- a/packages/primeng/src/inputgroupaddon/inputgroupaddon.ts +++ b/packages/primeng/src/inputgroupaddon/inputgroupaddon.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { Component, HostBinding, inject, Input, NgModule } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { InputGroupAddonStyle } from './style/inputgroupaddonstyle'; /** diff --git a/packages/primeng/src/inputgroupaddon/style/inputgroupaddonstyle.ts b/packages/primeng/src/inputgroupaddon/style/inputgroupaddonstyle.ts index e3d083845c8..9a689dc27b4 100644 --- a/packages/primeng/src/inputgroupaddon/style/inputgroupaddonstyle.ts +++ b/packages/primeng/src/inputgroupaddon/style/inputgroupaddonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const classes = { root: 'p-inputgroupaddon' diff --git a/packages/primeng/src/inputicon/inputicon.ts b/packages/primeng/src/inputicon/inputicon.ts index 45a704d5fdd..64ea7e6159a 100755 --- a/packages/primeng/src/inputicon/inputicon.ts +++ b/packages/primeng/src/inputicon/inputicon.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, HostBinding, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { InputIconStyle } from './style/inputiconstyle'; /** diff --git a/packages/primeng/src/inputicon/style/inputiconstyle.ts b/packages/primeng/src/inputicon/style/inputiconstyle.ts index dc29383aa3d..a8cc1e91209 100644 --- a/packages/primeng/src/inputicon/style/inputiconstyle.ts +++ b/packages/primeng/src/inputicon/style/inputiconstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const classes = { root: 'p-inputicon' diff --git a/packages/primeng/src/inputmask/inputmask.ts b/packages/primeng/src/inputmask/inputmask.ts index 686b4e47d22..6637642dd01 100755 --- a/packages/primeng/src/inputmask/inputmask.ts +++ b/packages/primeng/src/inputmask/inputmask.ts @@ -28,10 +28,11 @@ import { CommonModule, isPlatformBrowser } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, forwardRef, inject, Input, NgModule, numberAttribute, OnInit, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { TimesIcon } from '@primeng/icons'; import { getUserAgent, isClient } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; +import { TimesIcon } from 'primeng/icons'; import { InputText } from 'primeng/inputtext'; import { Nullable } from 'primeng/ts-helpers'; import { Caret } from './inputmask.interface'; diff --git a/packages/primeng/src/inputmask/style/inputmaskstyle.ts b/packages/primeng/src/inputmask/style/inputmaskstyle.ts index a72628f3dd9..876be947115 100644 --- a/packages/primeng/src/inputmask/style/inputmaskstyle.ts +++ b/packages/primeng/src/inputmask/style/inputmaskstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` /* For PrimeNG */ diff --git a/packages/primeng/src/inputnumber/inputnumber.ts b/packages/primeng/src/inputnumber/inputnumber.ts index 97952b716b2..4c766c6a13a 100644 --- a/packages/primeng/src/inputnumber/inputnumber.ts +++ b/packages/primeng/src/inputnumber/inputnumber.ts @@ -23,11 +23,12 @@ import { ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { AngleDownIcon, AngleUpIcon, TimesIcon } from '@primeng/icons'; import { getSelection } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; +import { AngleDownIcon, AngleUpIcon, TimesIcon } from 'primeng/icons'; import { InputText } from 'primeng/inputtext'; import { Nullable } from 'primeng/ts-helpers'; import { InputNumberInputEvent } from './inputnumber.interface'; diff --git a/packages/primeng/src/inputnumber/style/inputnumberstyle.ts b/packages/primeng/src/inputnumber/style/inputnumberstyle.ts index 1b361c4734b..e76c2cad40b 100644 --- a/packages/primeng/src/inputnumber/style/inputnumberstyle.ts +++ b/packages/primeng/src/inputnumber/style/inputnumberstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-inputnumber { diff --git a/packages/primeng/src/inputotp/inputotp.ts b/packages/primeng/src/inputotp/inputotp.ts index 6bf488de50c..dbcaa951e03 100644 --- a/packages/primeng/src/inputotp/inputotp.ts +++ b/packages/primeng/src/inputotp/inputotp.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, forwardRef, inject, Input, NgModule, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { InputText } from 'primeng/inputtext'; import { InputOtpStyle } from './style/inputotpstyle'; diff --git a/packages/primeng/src/inputotp/style/inputotpstyle.ts b/packages/primeng/src/inputotp/style/inputotpstyle.ts index 3a6ca425c68..ef13217c759 100644 --- a/packages/primeng/src/inputotp/style/inputotpstyle.ts +++ b/packages/primeng/src/inputotp/style/inputotpstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-inputotp { diff --git a/packages/primeng/src/inputswitch/inputswitch.ts b/packages/primeng/src/inputswitch/inputswitch.ts index 1662796e7de..592136dff5a 100755 --- a/packages/primeng/src/inputswitch/inputswitch.ts +++ b/packages/primeng/src/inputswitch/inputswitch.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, forwardRef, inject, Input, NgModule, numberAttribute, Output, ViewChild, ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { AutoFocusModule } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { InputSwitchChangeEvent } from './inputswitch.interface'; import { InputSwitchStyle } from './style/inputswitchstyle'; diff --git a/packages/primeng/src/inputswitch/style/inputswitchstyle.ts b/packages/primeng/src/inputswitch/style/inputswitchstyle.ts index 55c298ffff5..cbdbf35f2f5 100644 --- a/packages/primeng/src/inputswitch/style/inputswitchstyle.ts +++ b/packages/primeng/src/inputswitch/style/inputswitchstyle.ts @@ -1,12 +1,12 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-toggleswitch { display: inline-block; width: ${dt('toggleswitch.width')}; height: ${dt('toggleswitch.height')}; - + } .p-toggleswitch-input { diff --git a/packages/primeng/src/inputtext/inputtext.ts b/packages/primeng/src/inputtext/inputtext.ts index 503e3899718..1d320ce580c 100755 --- a/packages/primeng/src/inputtext/inputtext.ts +++ b/packages/primeng/src/inputtext/inputtext.ts @@ -1,7 +1,7 @@ import { AfterViewInit, booleanAttribute, Directive, DoCheck, HostListener, inject, Input, NgModule, Optional } from '@angular/core'; import { NgModel } from '@angular/forms'; -import { BaseComponent } from '@primeng/core'; import { isEmpty } from '@primeuix/utils'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable } from 'primeng/ts-helpers'; import { InputTextStyle } from './style/inputtextstyle'; diff --git a/packages/primeng/src/inputtext/style/inputtextstyle.ts b/packages/primeng/src/inputtext/style/inputtextstyle.ts index 6012462593f..5c7a0af4466 100644 --- a/packages/primeng/src/inputtext/style/inputtextstyle.ts +++ b/packages/primeng/src/inputtext/style/inputtextstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-inputtext { diff --git a/packages/primeng/src/inputtextarea/inputtextarea.ts b/packages/primeng/src/inputtextarea/inputtextarea.ts index 0c05461242f..69671c1ce2a 100755 --- a/packages/primeng/src/inputtextarea/inputtextarea.ts +++ b/packages/primeng/src/inputtextarea/inputtextarea.ts @@ -1,6 +1,6 @@ import { AfterViewInit, booleanAttribute, Directive, EventEmitter, HostListener, inject, Input, NgModule, OnDestroy, OnInit, Optional, Output } from '@angular/core'; import { NgControl, NgModel } from '@angular/forms'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; import { Subscription } from 'rxjs'; import { TextareaStyle } from './style/textareastyle'; diff --git a/packages/primeng/src/inputtextarea/style/textareastyle.ts b/packages/primeng/src/inputtextarea/style/textareastyle.ts index 8235b21b887..d09f67cd4bf 100644 --- a/packages/primeng/src/inputtextarea/style/textareastyle.ts +++ b/packages/primeng/src/inputtextarea/style/textareastyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-textarea { diff --git a/packages/primeng/src/knob/knob.ts b/packages/primeng/src/knob/knob.ts index 39eea654982..0e56d7a7c6d 100755 --- a/packages/primeng/src/knob/knob.ts +++ b/packages/primeng/src/knob/knob.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, EventEmitter, forwardRef, inject, Input, NgModule, numberAttribute, Output, ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { $dt } from '@primeuix/styled'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { VoidListener } from 'primeng/ts-helpers'; import { KnobStyle } from './style/knobstyle'; diff --git a/packages/primeng/src/knob/style/knobstyle.ts b/packages/primeng/src/knob/style/knobstyle.ts index cd5eaa51194..3a5cd32f08f 100644 --- a/packages/primeng/src/knob/style/knobstyle.ts +++ b/packages/primeng/src/knob/style/knobstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-knob-range { diff --git a/packages/primeng/src/listbox/listbox.spec.ts b/packages/primeng/src/listbox/listbox.spec.ts index f8fedd824eb..b4a5ce5d3f4 100755 --- a/packages/primeng/src/listbox/listbox.spec.ts +++ b/packages/primeng/src/listbox/listbox.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { CheckIcon, SearchIcon } from '@primeng/icons'; +import { CheckIcon, SearchIcon } from 'primeng/icons'; import { Listbox } from './listbox'; describe('Listbox', () => { diff --git a/packages/primeng/src/listbox/listbox.ts b/packages/primeng/src/listbox/listbox.ts index a60819712de..c638c1260f4 100755 --- a/packages/primeng/src/listbox/listbox.ts +++ b/packages/primeng/src/listbox/listbox.ts @@ -22,12 +22,12 @@ import { ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, FilterService, Footer, Header, SharedModule } from '@primeng/core'; -import { BlankIcon, CheckIcon, SearchIcon } from '@primeng/icons'; import { equals, findLastIndex, findSingle, focus, getFirstFocusableElement, isEmpty, isNotEmpty, isPrintableCharacter, resolveFieldData, uuid } from '@primeuix/utils'; -import { ScrollerOptions } from 'primeng/api'; +import { FilterService, Footer, Header, ScrollerOptions, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Checkbox } from 'primeng/checkbox'; import { IconField } from 'primeng/iconfield'; +import { BlankIcon, CheckIcon, SearchIcon } from 'primeng/icons'; import { InputIcon } from 'primeng/inputicon'; import { InputText } from 'primeng/inputtext'; import { Ripple } from 'primeng/ripple'; diff --git a/packages/primeng/src/listbox/style/listboxstyle.ts b/packages/primeng/src/listbox/style/listboxstyle.ts index 3624a32ca91..7420ec16cca 100644 --- a/packages/primeng/src/listbox/style/listboxstyle.ts +++ b/packages/primeng/src/listbox/style/listboxstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-listbox { diff --git a/packages/primeng/src/megamenu/megamenu.ts b/packages/primeng/src/megamenu/megamenu.ts index 80dd92dd530..cf22139560a 100755 --- a/packages/primeng/src/megamenu/megamenu.ts +++ b/packages/primeng/src/megamenu/megamenu.ts @@ -21,11 +21,11 @@ import { ViewEncapsulation } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, PrimeNGConfig, SharedModule } from '@primeng/core'; -import { AngleDownIcon, AngleRightIcon, BarsIcon } from '@primeng/icons'; import { findLastIndex, findSingle, focus, isEmpty, isNotEmpty, isPrintableCharacter, isTouchDevice, resolve, uuid } from '@primeuix/utils'; -import { MegaMenuItem } from 'primeng/api'; +import { MegaMenuItem, PrimeNGConfig, SharedModule } from 'primeng/api'; import { BadgeModule } from 'primeng/badge'; +import { BaseComponent } from 'primeng/basecomponent'; +import { AngleDownIcon, AngleRightIcon, BarsIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; import { VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/megamenu/style/megamenustyle.ts b/packages/primeng/src/megamenu/style/megamenustyle.ts index 3791e8bae96..420162292e7 100644 --- a/packages/primeng/src/megamenu/style/megamenustyle.ts +++ b/packages/primeng/src/megamenu/style/megamenustyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-megamenu { diff --git a/packages/primeng/src/menu/menu.ts b/packages/primeng/src/menu/menu.ts index 907f4b7f6e1..082e35e5313 100755 --- a/packages/primeng/src/menu/menu.ts +++ b/packages/primeng/src/menu/menu.ts @@ -27,10 +27,10 @@ import { } from '@angular/core'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import { RouterModule } from '@angular/router'; -import { BaseComponent, OverlayService, SharedModule } from '@primeng/core'; import { absolutePosition, appendChild, find, findSingle, focus, isTouchDevice, relativePosition, uuid } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, OverlayService, SharedModule } from 'primeng/api'; import { BadgeModule } from 'primeng/badge'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; diff --git a/packages/primeng/src/menu/style/menustyle.ts b/packages/primeng/src/menu/style/menustyle.ts index 317017e368c..a515ba4c3e2 100644 --- a/packages/primeng/src/menu/style/menustyle.ts +++ b/packages/primeng/src/menu/style/menustyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-menu { diff --git a/packages/primeng/src/menubar/menubar.ts b/packages/primeng/src/menubar/menubar.ts index f3550117c25..25cd893d914 100755 --- a/packages/primeng/src/menubar/menubar.ts +++ b/packages/primeng/src/menubar/menubar.ts @@ -25,11 +25,11 @@ import { ViewEncapsulation } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, PrimeNGConfig, SharedModule } from '@primeng/core'; -import { AngleDownIcon, AngleRightIcon, BarsIcon } from '@primeng/icons'; import { findLastIndex, findSingle, focus, isEmpty, isNotEmpty, isPrintableCharacter, isTouchDevice, resolve, uuid } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, PrimeNGConfig, SharedModule } from 'primeng/api'; import { BadgeModule } from 'primeng/badge'; +import { BaseComponent } from 'primeng/basecomponent'; +import { AngleDownIcon, AngleRightIcon, BarsIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; import { VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/menubar/style/menubarstyle.ts b/packages/primeng/src/menubar/style/menubarstyle.ts index 811092eafc2..f1d71dc8016 100644 --- a/packages/primeng/src/menubar/style/menubarstyle.ts +++ b/packages/primeng/src/menubar/style/menubarstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-menubar { diff --git a/packages/primeng/src/message/message.ts b/packages/primeng/src/message/message.ts index 04e976de94d..f86b1d28453 100755 --- a/packages/primeng/src/message/message.ts +++ b/packages/primeng/src/message/message.ts @@ -1,8 +1,9 @@ import { animate, style, transition, trigger } from '@angular/animations'; import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, inject, Input, NgModule, Output, signal, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@primeng/icons'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { MessageStyle } from './style/messagestyle'; diff --git a/packages/primeng/src/message/style/messagestyle.ts b/packages/primeng/src/message/style/messagestyle.ts index 52a20e14f53..61745765ca5 100644 --- a/packages/primeng/src/message/style/messagestyle.ts +++ b/packages/primeng/src/message/style/messagestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-message { diff --git a/packages/primeng/src/messages/messages.spec.ts b/packages/primeng/src/messages/messages.spec.ts index 66dcd664ef3..eb3dd42d3b6 100755 --- a/packages/primeng/src/messages/messages.spec.ts +++ b/packages/primeng/src/messages/messages.spec.ts @@ -3,9 +3,9 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { FormsModule } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@primeng/icons'; import { MessageService, ToastMessageOptions } from 'primeng/api'; import { Button } from 'primeng/button'; +import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from 'primeng/icons'; import { Messages } from './messages'; @Component({ diff --git a/packages/primeng/src/messages/messages.ts b/packages/primeng/src/messages/messages.ts index cdfda92d6ae..aba88a6b11c 100644 --- a/packages/primeng/src/messages/messages.ts +++ b/packages/primeng/src/messages/messages.ts @@ -1,10 +1,10 @@ import { animate, style, transition, trigger } from '@angular/animations'; import { CommonModule } from '@angular/common'; import { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, EventEmitter, inject, Input, NgModule, OnDestroy, Optional, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@primeng/icons'; -import { MessageService, ToastMessageOptions } from 'primeng/api'; +import { MessageService, SharedModule, ToastMessageOptions } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonModule } from 'primeng/button'; +import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Subscription, timer } from 'rxjs'; import { MessagesStyle } from './style/messagesstyle'; diff --git a/packages/primeng/src/messages/style/messagesstyle.ts b/packages/primeng/src/messages/style/messagesstyle.ts index 5ce436ae16e..18a7aa64b35 100644 --- a/packages/primeng/src/messages/style/messagesstyle.ts +++ b/packages/primeng/src/messages/style/messagesstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-messages { diff --git a/packages/primeng/src/metergroup/metergroup.ts b/packages/primeng/src/metergroup/metergroup.ts index 4e101273089..47ce91869f9 100644 --- a/packages/primeng/src/metergroup/metergroup.ts +++ b/packages/primeng/src/metergroup/metergroup.ts @@ -1,7 +1,8 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, forwardRef, inject, Input, NgModule, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { getOuterHeight } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { MeterItem } from './metergroup.interface'; import { MeterGroupStyle } from './style/metergroupstyle'; diff --git a/packages/primeng/src/metergroup/style/metergroupstyle.ts b/packages/primeng/src/metergroup/style/metergroupstyle.ts index 2c9043af1b3..47d87db8cd4 100644 --- a/packages/primeng/src/metergroup/style/metergroupstyle.ts +++ b/packages/primeng/src/metergroup/style/metergroupstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-metergroup { diff --git a/packages/primeng/src/multiselect/multiselect.spec.ts b/packages/primeng/src/multiselect/multiselect.spec.ts index 69951179dc6..cb221812a23 100755 --- a/packages/primeng/src/multiselect/multiselect.spec.ts +++ b/packages/primeng/src/multiselect/multiselect.spec.ts @@ -3,7 +3,7 @@ import { NO_ERRORS_SCHEMA } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { ChevronDownIcon, SearchIcon, TimesIcon } from '@primeng/icons'; +import { ChevronDownIcon, SearchIcon, TimesIcon } from 'primeng/icons'; import { OverlayModule } from 'primeng/overlay'; import { TooltipModule } from 'primeng/tooltip'; import { MultiSelect, MultiSelectItem } from './multiselect'; diff --git a/packages/primeng/src/multiselect/multiselect.ts b/packages/primeng/src/multiselect/multiselect.ts index 77214e2ed1c..3054bb84af9 100755 --- a/packages/primeng/src/multiselect/multiselect.ts +++ b/packages/primeng/src/multiselect/multiselect.ts @@ -29,8 +29,6 @@ import { ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, FilterService, Footer, Header, OverlayOptions, OverlayService, PrimeNGConfig, PrimeTemplate, SharedModule, TranslationKeys } from '@primeng/core'; -import { CheckIcon, ChevronDownIcon, MinusIcon, SearchIcon, TimesCircleIcon, TimesIcon } from '@primeng/icons'; import { deepEquals, equals, @@ -50,11 +48,13 @@ import { unblockBodyScroll, uuid } from '@primeuix/utils'; -import { ScrollerOptions } from 'primeng/api'; +import { FilterService, Footer, Header, OverlayOptions, OverlayService, PrimeNGConfig, PrimeTemplate, ScrollerOptions, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Checkbox } from 'primeng/checkbox'; import { Chip } from 'primeng/chip'; import { IconField } from 'primeng/iconfield'; +import { CheckIcon, ChevronDownIcon, MinusIcon, SearchIcon, TimesCircleIcon, TimesIcon } from 'primeng/icons'; import { InputIcon } from 'primeng/inputicon'; import { InputText } from 'primeng/inputtext'; import { Overlay } from 'primeng/overlay'; diff --git a/packages/primeng/src/multiselect/style/multiselectstyle.ts b/packages/primeng/src/multiselect/style/multiselectstyle.ts index ebdeb271b3b..1c96a9dffa0 100644 --- a/packages/primeng/src/multiselect/style/multiselectstyle.ts +++ b/packages/primeng/src/multiselect/style/multiselectstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-multiselect { diff --git a/packages/primeng/src/orderlist/orderlist.ts b/packages/primeng/src/orderlist/orderlist.ts index 4ca3df6d923..b5753e2d89c 100755 --- a/packages/primeng/src/orderlist/orderlist.ts +++ b/packages/primeng/src/orderlist/orderlist.ts @@ -2,10 +2,11 @@ import { CdkDragDrop, DragDropModule, moveItemInArray } from '@angular/cdk/drag- import { CommonModule, isPlatformBrowser } from '@angular/common'; import { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, Output, QueryList, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { BaseComponent, FilterService, PrimeTemplate, SharedModule } from '@primeng/core'; -import { AngleDoubleDownIcon, AngleDoubleUpIcon, AngleDownIcon, AngleUpIcon, SearchIcon } from '@primeng/icons'; import { find, findIndexInList, findSingle, hasClass, insertIntoOrderedArray, isHidden, scrollInView, setAttribute, uuid } from '@primeuix/utils'; +import { FilterService, PrimeTemplate, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonDirective, ButtonProps } from 'primeng/button'; +import { AngleDoubleDownIcon, AngleDoubleUpIcon, AngleDownIcon, AngleUpIcon, SearchIcon } from 'primeng/icons'; import { Listbox } from 'primeng/listbox'; import { Ripple } from 'primeng/ripple'; import { Nullable } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/orderlist/style/orderliststyle.ts b/packages/primeng/src/orderlist/style/orderliststyle.ts index 3b6fe42a1b2..1aab5540f05 100644 --- a/packages/primeng/src/orderlist/style/orderliststyle.ts +++ b/packages/primeng/src/orderlist/style/orderliststyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-orderlist { diff --git a/packages/primeng/src/organizationchart/organizationchart.spec.ts b/packages/primeng/src/organizationchart/organizationchart.spec.ts index ea94458b973..f27a205489d 100755 --- a/packages/primeng/src/organizationchart/organizationchart.spec.ts +++ b/packages/primeng/src/organizationchart/organizationchart.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { ChevronDownIcon, ChevronUpIcon } from '@primeng/icons'; +import { ChevronDownIcon, ChevronUpIcon } from 'primeng/icons'; import { OrganizationChart, OrganizationChartNode } from './organizationchart'; describe('OrganizationChart', () => { diff --git a/packages/primeng/src/organizationchart/organizationchart.ts b/packages/primeng/src/organizationchart/organizationchart.ts index a74565593c1..6c7f09ea61d 100755 --- a/packages/primeng/src/organizationchart/organizationchart.ts +++ b/packages/primeng/src/organizationchart/organizationchart.ts @@ -19,10 +19,10 @@ import { TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, PrimeTemplate, SharedModule } from '@primeng/core'; -import { ChevronDownIcon, ChevronUpIcon } from '@primeng/icons'; import { hasClass } from '@primeuix/utils'; -import { TreeNode } from 'primeng/api'; +import { PrimeTemplate, SharedModule, TreeNode } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { ChevronDownIcon, ChevronUpIcon } from 'primeng/icons'; import { Nullable } from 'primeng/ts-helpers'; import { Subject, Subscription } from 'rxjs'; import { OrganizationChartNodeCollapseEvent, OrganizationChartNodeExpandEvent, OrganizationChartNodeSelectEvent, OrganizationChartNodeUnSelectEvent } from './organizationchart.interface'; diff --git a/packages/primeng/src/organizationchart/style/organizationchartstyle.ts b/packages/primeng/src/organizationchart/style/organizationchartstyle.ts index 33a935d1731..8993afcd450 100644 --- a/packages/primeng/src/organizationchart/style/organizationchartstyle.ts +++ b/packages/primeng/src/organizationchart/style/organizationchartstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-organizationchart-table { diff --git a/packages/primeng/src/overlay/overlay.ts b/packages/primeng/src/overlay/overlay.ts index 30ada9447bf..b0d677632a0 100644 --- a/packages/primeng/src/overlay/overlay.ts +++ b/packages/primeng/src/overlay/overlay.ts @@ -1,8 +1,9 @@ import { animate, animation, AnimationEvent, style, transition, trigger, useAnimation } from '@angular/animations'; import { CommonModule, isPlatformBrowser } from '@angular/common'; import { ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, NgZone, OnDestroy, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, OverlayModeType, OverlayOnBeforeHideEvent, OverlayOnBeforeShowEvent, OverlayOnHideEvent, OverlayOnShowEvent, OverlayOptions, OverlayService, ResponsiveOverlayOptions, SharedModule } from '@primeng/core'; import { addClass, focus, getTargetElement, isTouchDevice, removeClass } from '@primeuix/utils'; +import { OverlayModeType, OverlayOnBeforeHideEvent, OverlayOnBeforeShowEvent, OverlayOnHideEvent, OverlayOnShowEvent, OverlayOptions, OverlayService, ResponsiveOverlayOptions, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler, DomHandler } from 'primeng/dom'; import { VoidListener } from 'primeng/ts-helpers'; import { ObjectUtils, ZIndexUtils } from 'primeng/utils'; diff --git a/packages/primeng/src/overlay/style/overlaystyle.ts b/packages/primeng/src/overlay/style/overlaystyle.ts index 7767780e207..7119defd6b8 100644 --- a/packages/primeng/src/overlay/style/overlaystyle.ts +++ b/packages/primeng/src/overlay/style/overlaystyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-overlay { diff --git a/packages/primeng/src/overlaybadge/overlaybadge.ts b/packages/primeng/src/overlaybadge/overlaybadge.ts index 76772c218b9..56f17f4fcc7 100755 --- a/packages/primeng/src/overlaybadge/overlaybadge.ts +++ b/packages/primeng/src/overlaybadge/overlaybadge.ts @@ -1,7 +1,8 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { BadgeModule } from 'primeng/badge'; +import { BaseComponent } from 'primeng/basecomponent'; import { OverlayBadgeStyle } from './style/overlaybadgestyle'; /** diff --git a/packages/primeng/src/overlaybadge/style/overlaybadgestyle.ts b/packages/primeng/src/overlaybadge/style/overlaybadgestyle.ts index 455cac81c64..5285d759ee3 100644 --- a/packages/primeng/src/overlaybadge/style/overlaybadgestyle.ts +++ b/packages/primeng/src/overlaybadge/style/overlaybadgestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-overlaybadge { diff --git a/packages/primeng/src/overlaypanel/overlaypanel.ts b/packages/primeng/src/overlaypanel/overlaypanel.ts index c419eb94395..efc3593cfad 100755 --- a/packages/primeng/src/overlaypanel/overlaypanel.ts +++ b/packages/primeng/src/overlaypanel/overlaypanel.ts @@ -19,10 +19,11 @@ import { ViewEncapsulation, ViewRef } from '@angular/core'; -import { BaseComponent, OverlayService, SharedModule } from '@primeng/core'; -import { TimesIcon } from '@primeng/icons'; import { absolutePosition, addClass, appendChild, findSingle, getOffset, isIOS, isTouchDevice } from '@primeuix/utils'; +import { OverlayService, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; +import { TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; @@ -332,8 +333,8 @@ export class OverlayPanel extends BaseComponent implements AfterContentInit, OnD absolutePosition(this.container, this.target, false); - const containerOffset = getOffset(this.container); - const targetOffset = getOffset(this.target); + const containerOffset = getOffset(this.container); + const targetOffset = getOffset(this.target); const borderRadius = this.document.defaultView?.getComputedStyle(this.container!).getPropertyValue('border-radius'); let arrowLeft = 0; @@ -409,7 +410,7 @@ export class OverlayPanel extends BaseComponent implements AfterContentInit, OnD } focus() { - let focusable = findSingle(this.container, '[autofocus]'); + let focusable = findSingle(this.container, '[autofocus]'); if (focusable) { this.zone.runOutsideAngular(() => { setTimeout(() => focusable.focus(), 5); diff --git a/packages/primeng/src/overlaypanel/style/popoverstyle.ts b/packages/primeng/src/overlaypanel/style/popoverstyle.ts index ff5557e27d4..339596f8784 100644 --- a/packages/primeng/src/overlaypanel/style/popoverstyle.ts +++ b/packages/primeng/src/overlaypanel/style/popoverstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-popover { diff --git a/packages/primeng/src/package.json b/packages/primeng/src/package.json deleted file mode 100644 index 721543f4788..00000000000 --- a/packages/primeng/src/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "primeng", - "version": "4.2.1", - "author": "PrimeTek Informatics", - "description": "PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock, which has 370+ ready to use UI blocks to build spectacular applications in no time.", - "homepage": "https://primeng.org/", - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/primefaces/primeng.git", - "directory": "packages/primeng" - }, - "bugs": { - "url": "https://github.com/primefaces/primeng/issues" - }, - "keywords": ["primeng", "angular", "ui library", "component library", "material", "bootstrap", "fluent", "tailwind"], - "main": "./src/index.js", - "module": "./src/index.js", - "types": "./src/index.d.ts", - "publishConfig": { - "main": "./index.mjs", - "module": "./index.mjs", - "types": "./index.d.ts", - "exports": { - ".": { - "types": "./index.d.ts", - "import": "./index.mjs", - "default": "./index.mjs" - }, - "./*": { - "types": "./*/index.d.ts", - "import": "./*/index.mjs", - "default": "./*/index.mjs" - } - }, - "directory": "dist", - "linkDirectory": false, - "access": "public" - }, - "peerDependencies": { - "@angular/animations": "^17.0.0 || ^18.0.0", - "@angular/cdk": "^17.0.0 || ^18.0.0", - "@angular/common": "^17.0.0 || ^18.0.0", - "@angular/core": "^17.0.0 || ^18.0.0", - "@angular/forms": "^17.0.0 || ^18.0.0", - "@angular/router": "^17.0.0 || ^18.0.0", - "rxjs": "^6.0.0 || ^7.8.1", - "zone.js": "~0.14.0" - }, - "dependencies": { - "@primeuix/styled": "catalog:", - "@primeuix/utils": "catalog:" - } -} diff --git a/packages/primeng/src/paginator/paginator.ts b/packages/primeng/src/paginator/paginator.ts index 525c62e0896..dec932b77aa 100755 --- a/packages/primeng/src/paginator/paginator.ts +++ b/packages/primeng/src/paginator/paginator.ts @@ -1,10 +1,10 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, OnChanges, OnInit, Output, SimpleChanges, TemplateRef, ViewEncapsulation } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { Aria, BaseComponent, SharedModule } from '@primeng/core'; -import { AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleLeftIcon, AngleRightIcon } from '@primeng/icons'; -import { SelectItem } from 'primeng/api'; +import { Aria, SelectItem, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { DropdownChangeEvent } from 'primeng/dropdown'; +import { AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleLeftIcon, AngleRightIcon } from 'primeng/icons'; import { InputNumber } from 'primeng/inputnumber'; import { Ripple } from 'primeng/ripple'; import { Select } from 'primeng/select'; diff --git a/packages/primeng/src/paginator/style/paginatorstyle.ts b/packages/primeng/src/paginator/style/paginatorstyle.ts index 824b8f70c2b..27c341ed162 100644 --- a/packages/primeng/src/paginator/style/paginatorstyle.ts +++ b/packages/primeng/src/paginator/style/paginatorstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-paginator { diff --git a/packages/primeng/src/panel/panel.spec.ts b/packages/primeng/src/panel/panel.spec.ts index fa80ef5bb4c..404440292c2 100755 --- a/packages/primeng/src/panel/panel.spec.ts +++ b/packages/primeng/src/panel/panel.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { MinusIcon, PlusIcon } from '@primeng/icons'; +import { MinusIcon, PlusIcon } from 'primeng/icons'; import { Panel } from './panel'; describe('Panel', () => { diff --git a/packages/primeng/src/panel/panel.ts b/packages/primeng/src/panel/panel.ts index 7d73ce56fe2..1c60c45683b 100755 --- a/packages/primeng/src/panel/panel.ts +++ b/packages/primeng/src/panel/panel.ts @@ -1,11 +1,11 @@ import { animate, state, style, transition, trigger } from '@angular/animations'; import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, inject, Input, NgModule, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, Footer, SharedModule } from '@primeng/core'; -import { MinusIcon, PlusIcon } from '@primeng/icons'; import { uuid } from '@primeuix/utils'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, Footer, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonModule } from 'primeng/button'; +import { MinusIcon, PlusIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Nullable } from 'primeng/ts-helpers'; import { PanelStyle } from './style/panelstyle'; @@ -369,8 +369,8 @@ export class Panel extends BaseComponent implements BlockableUI { if (this.collapsed) this.expand(); else this.collapse(); } - - this.cd.markForCheck() + + this.cd.markForCheck(); event.preventDefault(); } diff --git a/packages/primeng/src/panel/style/panelstyle.ts b/packages/primeng/src/panel/style/panelstyle.ts index 3e44b488131..85872e840d1 100644 --- a/packages/primeng/src/panel/style/panelstyle.ts +++ b/packages/primeng/src/panel/style/panelstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-panel { diff --git a/packages/primeng/src/panelmenu/panelmenu.ts b/packages/primeng/src/panelmenu/panelmenu.ts index 2aac48c0c8f..58bfa701ee7 100644 --- a/packages/primeng/src/panelmenu/panelmenu.ts +++ b/packages/primeng/src/panelmenu/panelmenu.ts @@ -23,10 +23,10 @@ import { ViewEncapsulation } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { AngleDownIcon, AngleRightIcon, ChevronDownIcon, ChevronRightIcon } from '@primeng/icons'; import { equals, findLast, findSingle, focus, getAttribute, isEmpty, isNotEmpty, isPrintableCharacter, resolve, uuid } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { AngleDownIcon, AngleRightIcon, ChevronDownIcon, ChevronRightIcon } from 'primeng/icons'; import { TooltipModule } from 'primeng/tooltip'; import { PanelMenuStyle } from './style/panelmenustyle'; diff --git a/packages/primeng/src/panelmenu/style/panelmenustyle.ts b/packages/primeng/src/panelmenu/style/panelmenustyle.ts index 32ccf6b52cd..0c6914826ca 100644 --- a/packages/primeng/src/panelmenu/style/panelmenustyle.ts +++ b/packages/primeng/src/panelmenu/style/panelmenustyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-panelmenu { diff --git a/packages/primeng/src/password/password.ts b/packages/primeng/src/password/password.ts index 45316f7e4c6..3220726729a 100644 --- a/packages/primeng/src/password/password.ts +++ b/packages/primeng/src/password/password.ts @@ -26,11 +26,12 @@ import { ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, OverlayService, SharedModule, TranslationKeys } from '@primeng/core'; -import { EyeIcon, EyeSlashIcon, TimesIcon } from '@primeng/icons'; import { absolutePosition, addClass, getOuterWidth, hasClass, isTouchDevice, relativePosition, removeClass } from '@primeuix/utils'; +import { OverlayService, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler, DomHandler } from 'primeng/dom'; +import { EyeIcon, EyeSlashIcon, TimesIcon } from 'primeng/icons'; import { InputText } from 'primeng/inputtext'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; diff --git a/packages/primeng/src/password/style/passwordstyle.ts b/packages/primeng/src/password/style/passwordstyle.ts index 3a0b25b3b47..760862838c2 100644 --- a/packages/primeng/src/password/style/passwordstyle.ts +++ b/packages/primeng/src/password/style/passwordstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-password { diff --git a/packages/primeng/src/picklist/picklist.ts b/packages/primeng/src/picklist/picklist.ts index 5337c5e6aff..b529063c025 100755 --- a/packages/primeng/src/picklist/picklist.ts +++ b/packages/primeng/src/picklist/picklist.ts @@ -20,10 +20,11 @@ import { ViewEncapsulation } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { BaseComponent, FilterService, PrimeTemplate, SharedModule } from '@primeng/core'; -import { AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, SearchIcon } from '@primeng/icons'; import { find, findIndexInList, findSingle, isEmpty, scrollInView, setAttribute, uuid } from '@primeuix/utils'; +import { FilterService, PrimeTemplate, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonDirective, ButtonProps } from 'primeng/button'; +import { AngleDoubleDownIcon, AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleDoubleUpIcon, AngleDownIcon, AngleLeftIcon, AngleRightIcon, AngleUpIcon, SearchIcon } from 'primeng/icons'; import { Listbox } from 'primeng/listbox'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/picklist/style/pickliststyle.ts b/packages/primeng/src/picklist/style/pickliststyle.ts index b37865d4983..f6c809dcca2 100644 --- a/packages/primeng/src/picklist/style/pickliststyle.ts +++ b/packages/primeng/src/picklist/style/pickliststyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-picklist { diff --git a/packages/primeng/src/popover/popover.ts b/packages/primeng/src/popover/popover.ts index c1f77cee398..13132d5a305 100755 --- a/packages/primeng/src/popover/popover.ts +++ b/packages/primeng/src/popover/popover.ts @@ -19,10 +19,11 @@ import { ViewEncapsulation, ViewRef } from '@angular/core'; -import { BaseComponent, OverlayService, SharedModule } from '@primeng/core'; -import { TimesIcon } from '@primeng/icons'; import { absolutePosition, addClass, appendChild, findSingle, getOffset, isIOS, isTouchDevice } from '@primeuix/utils'; +import { OverlayService, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; +import { TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; diff --git a/packages/primeng/src/popover/style/popoverstyle.ts b/packages/primeng/src/popover/style/popoverstyle.ts index a2d6236aa3e..361bcc49f57 100644 --- a/packages/primeng/src/popover/style/popoverstyle.ts +++ b/packages/primeng/src/popover/style/popoverstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-popover { diff --git a/packages/primeng/src/progressbar/progressbar.ts b/packages/primeng/src/progressbar/progressbar.ts index 67c138ffd7c..1c00c41db8f 100755 --- a/packages/primeng/src/progressbar/progressbar.ts +++ b/packages/primeng/src/progressbar/progressbar.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, inject, Input, NgModule, numberAttribute, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ProgressBarStyle } from './style/progressbarstyle'; /** diff --git a/packages/primeng/src/progressbar/style/progressbarstyle.ts b/packages/primeng/src/progressbar/style/progressbarstyle.ts index 977520de0bc..e4ad55d748a 100644 --- a/packages/primeng/src/progressbar/style/progressbarstyle.ts +++ b/packages/primeng/src/progressbar/style/progressbarstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-progressbar { diff --git a/packages/primeng/src/progressspinner/progressspinner.ts b/packages/primeng/src/progressspinner/progressspinner.ts index 98598c73779..71e50efde22 100755 --- a/packages/primeng/src/progressspinner/progressspinner.ts +++ b/packages/primeng/src/progressspinner/progressspinner.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ProgressSpinnerStyle } from './style/progressspinnerstyle'; /** diff --git a/packages/primeng/src/progressspinner/style/progressspinnerstyle.ts b/packages/primeng/src/progressspinner/style/progressspinnerstyle.ts index f8a84abf4ea..77b1ad63122 100644 --- a/packages/primeng/src/progressspinner/style/progressspinnerstyle.ts +++ b/packages/primeng/src/progressspinner/style/progressspinnerstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-progressspinner { diff --git a/packages/primeng/src/radiobutton/radiobutton.ts b/packages/primeng/src/radiobutton/radiobutton.ts index 142f9e45bc2..c544106bb5a 100755 --- a/packages/primeng/src/radiobutton/radiobutton.ts +++ b/packages/primeng/src/radiobutton/radiobutton.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, forwardRef, inject, Injectable, Injector, Input, NgModule, numberAttribute, OnDestroy, OnInit, Output, ViewChild } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR, NgControl } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable } from 'primeng/ts-helpers'; import { RadioButtonClickEvent } from './radiobutton.interface'; import { RadioButtonStyle } from './style/radiobuttonstyle'; diff --git a/packages/primeng/src/radiobutton/style/radiobuttonstyle.ts b/packages/primeng/src/radiobutton/style/radiobuttonstyle.ts index 55c2215700d..a380722676c 100644 --- a/packages/primeng/src/radiobutton/style/radiobuttonstyle.ts +++ b/packages/primeng/src/radiobutton/style/radiobuttonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-radiobutton { diff --git a/packages/primeng/src/rating/rating.spec.ts b/packages/primeng/src/rating/rating.spec.ts index b6ee7189266..57901fe0ac3 100755 --- a/packages/primeng/src/rating/rating.spec.ts +++ b/packages/primeng/src/rating/rating.spec.ts @@ -1,7 +1,7 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { BanIcon, StarFillIcon, StarIcon } from '@primeng/icons'; +import { BanIcon, StarFillIcon, StarIcon } from 'primeng/icons'; import { Rating } from './rating'; describe('Rating', () => { diff --git a/packages/primeng/src/rating/rating.ts b/packages/primeng/src/rating/rating.ts index bdd9f8a22e2..e4b8611a620 100755 --- a/packages/primeng/src/rating/rating.ts +++ b/packages/primeng/src/rating/rating.ts @@ -1,10 +1,11 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, forwardRef, inject, Input, NgModule, numberAttribute, OnInit, Output, signal, TemplateRef, ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { BanIcon, StarFillIcon, StarIcon } from '@primeng/icons'; import { focus, getFirstFocusableElement, uuid } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; +import { BanIcon, StarFillIcon, StarIcon } from 'primeng/icons'; import { Nullable } from 'primeng/ts-helpers'; import { RatingRateEvent } from './rating.interface'; import { RatingStyle } from './style/ratingstyle'; diff --git a/packages/primeng/src/rating/style/ratingstyle.ts b/packages/primeng/src/rating/style/ratingstyle.ts index 9ca3f9a40db..e17b7b200d1 100644 --- a/packages/primeng/src/rating/style/ratingstyle.ts +++ b/packages/primeng/src/rating/style/ratingstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-rating { diff --git a/packages/primeng/src/ripple/ripple.ts b/packages/primeng/src/ripple/ripple.ts index 4cd75591769..9deb3581d93 100644 --- a/packages/primeng/src/ripple/ripple.ts +++ b/packages/primeng/src/ripple/ripple.ts @@ -1,7 +1,7 @@ import { isPlatformBrowser } from '@angular/common'; import { AfterViewInit, Directive, effect, inject, NgModule, NgZone, OnDestroy } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; import { addClass, getHeight, getOffset, getOuterHeight, getOuterWidth, getWidth, removeClass, remove as utils_remove } from '@primeuix/utils'; +import { BaseComponent } from 'primeng/basecomponent'; import { VoidListener } from 'primeng/ts-helpers'; import { RippleStyle } from './style/ripplestyle'; diff --git a/packages/primeng/src/ripple/style/ripplestyle.ts b/packages/primeng/src/ripple/style/ripplestyle.ts index a46f5ba63d4..b8827a9d13d 100644 --- a/packages/primeng/src/ripple/style/ripplestyle.ts +++ b/packages/primeng/src/ripple/style/ripplestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` /* For PrimeNG */ diff --git a/packages/primeng/src/scroller/scroller.ts b/packages/primeng/src/scroller/scroller.ts index c4da2a22377..6b0e9d89b7b 100644 --- a/packages/primeng/src/scroller/scroller.ts +++ b/packages/primeng/src/scroller/scroller.ts @@ -20,10 +20,10 @@ import { ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, PrimeTemplate, SharedModule } from '@primeng/core'; -import { SpinnerIcon } from '@primeng/icons'; import { findSingle, getHeight, getWidth, isTouchDevice, isVisible } from '@primeuix/utils'; -import { ScrollerOptions } from 'primeng/api'; +import { PrimeTemplate, ScrollerOptions, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { SpinnerIcon } from 'primeng/icons'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ScrollerLazyLoadEvent, ScrollerScrollEvent, ScrollerScrollIndexChangeEvent, ScrollerToType } from './scroller.interface'; import { ScrollerStyle } from './style/scrollerstyle'; diff --git a/packages/primeng/src/scroller/style/scrollerstyle.ts b/packages/primeng/src/scroller/style/scrollerstyle.ts index 320c1b70c01..c022e8351a9 100644 --- a/packages/primeng/src/scroller/style/scrollerstyle.ts +++ b/packages/primeng/src/scroller/style/scrollerstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-virtualscroller { diff --git a/packages/primeng/src/scrollpanel/scrollpanel.ts b/packages/primeng/src/scrollpanel/scrollpanel.ts index 052f4ac9ef8..8fd7a8700b1 100755 --- a/packages/primeng/src/scrollpanel/scrollpanel.ts +++ b/packages/primeng/src/scrollpanel/scrollpanel.ts @@ -1,7 +1,8 @@ import { CommonModule, isPlatformBrowser } from '@angular/common'; import { AfterViewInit, ChangeDetectionStrategy, Component, ContentChild, ElementRef, inject, Input, NgModule, NgZone, numberAttribute, OnDestroy, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { addClass, getHeight, removeClass, uuid } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable } from 'primeng/ts-helpers'; import { ScrollPanelStyle } from './style/scrollpanelstyle'; diff --git a/packages/primeng/src/scrollpanel/style/scrollpanelstyle.ts b/packages/primeng/src/scrollpanel/style/scrollpanelstyle.ts index 098df0d722f..9d4b75bc92e 100644 --- a/packages/primeng/src/scrollpanel/style/scrollpanelstyle.ts +++ b/packages/primeng/src/scrollpanel/style/scrollpanelstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-scrollpanel-content-container { diff --git a/packages/primeng/src/scrolltop/scrolltop.ts b/packages/primeng/src/scrolltop/scrolltop.ts index fbbe822b04e..e1a7faf2954 100755 --- a/packages/primeng/src/scrolltop/scrolltop.ts +++ b/packages/primeng/src/scrolltop/scrolltop.ts @@ -1,10 +1,11 @@ import { animate, AnimationEvent, state, style, transition, trigger } from '@angular/animations'; import { CommonModule, isPlatformBrowser } from '@angular/common'; import { ChangeDetectionStrategy, Component, ContentChild, inject, Input, NgModule, numberAttribute, OnDestroy, OnInit, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, PrimeTemplate, SharedModule } from '@primeng/core'; -import { ChevronUpIcon } from '@primeng/icons'; import { getWindowScrollTop } from '@primeuix/utils'; +import { PrimeTemplate, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button, ButtonProps } from 'primeng/button'; +import { ChevronUpIcon } from 'primeng/icons'; import { ZIndexUtils } from 'primeng/utils'; import { ScrollTopStyle } from './style/scrolltopstyle'; diff --git a/packages/primeng/src/scrolltop/style/scrolltopstyle.ts b/packages/primeng/src/scrolltop/style/scrolltopstyle.ts index 8f2e5386034..365ab2053a3 100644 --- a/packages/primeng/src/scrolltop/style/scrolltopstyle.ts +++ b/packages/primeng/src/scrolltop/style/scrolltopstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-scrolltop.p-button { diff --git a/packages/primeng/src/select/select.ts b/packages/primeng/src/select/select.ts index f319d182d6b..0cc12484c94 100755 --- a/packages/primeng/src/select/select.ts +++ b/packages/primeng/src/select/select.ts @@ -30,8 +30,6 @@ import { ViewRef } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, FilterService, OverlayOptions, PrimeTemplate, SharedModule, TranslationKeys } from '@primeng/core'; -import { BlankIcon, CheckIcon, ChevronDownIcon, SearchIcon, TimesIcon } from '@primeng/icons'; import { deepEquals, equals, @@ -49,9 +47,11 @@ import { unblockBodyScroll, uuid } from '@primeuix/utils'; -import { ScrollerOptions } from 'primeng/api'; +import { FilterService, OverlayOptions, PrimeTemplate, ScrollerOptions, SharedModule, TranslationKeys } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { IconField } from 'primeng/iconfield'; +import { BlankIcon, CheckIcon, ChevronDownIcon, SearchIcon, TimesIcon } from 'primeng/icons'; import { InputIcon } from 'primeng/inputicon'; import { InputText } from 'primeng/inputtext'; import { Overlay } from 'primeng/overlay'; diff --git a/packages/primeng/src/select/style/selectstyle.ts b/packages/primeng/src/select/style/selectstyle.ts index d34b1e03ca6..0978694c5b6 100644 --- a/packages/primeng/src/select/style/selectstyle.ts +++ b/packages/primeng/src/select/style/selectstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-select { diff --git a/packages/primeng/src/selectbutton/selectbutton.ts b/packages/primeng/src/selectbutton/selectbutton.ts index 4b5da47422e..2a604a42121 100755 --- a/packages/primeng/src/selectbutton/selectbutton.ts +++ b/packages/primeng/src/selectbutton/selectbutton.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, forwardRef, inject, Input, NgModule, numberAttribute, Output, TemplateRef, ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { equals, resolveFieldData } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Ripple } from 'primeng/ripple'; import { ToggleButton } from 'primeng/togglebutton'; import { SelectButtonChangeEvent, SelectButtonOptionClickEvent } from './selectbutton.interface'; diff --git a/packages/primeng/src/selectbutton/style/selectbuttonstyle.ts b/packages/primeng/src/selectbutton/style/selectbuttonstyle.ts index e8aa97e5349..9eaf98b6cb0 100644 --- a/packages/primeng/src/selectbutton/style/selectbuttonstyle.ts +++ b/packages/primeng/src/selectbutton/style/selectbuttonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-selectbutton { diff --git a/packages/primeng/src/sidebar/sidebar.ts b/packages/primeng/src/sidebar/sidebar.ts index db410c050f4..bac3df51643 100755 --- a/packages/primeng/src/sidebar/sidebar.ts +++ b/packages/primeng/src/sidebar/sidebar.ts @@ -19,10 +19,11 @@ import { ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { TimesIcon } from '@primeng/icons'; import { appendChild, blockBodyScroll } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonModule, ButtonProps } from 'primeng/button'; +import { TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; diff --git a/packages/primeng/src/sidebar/style/drawerstyle.ts b/packages/primeng/src/sidebar/style/drawerstyle.ts index f5f3ecabf32..d372be01d61 100644 --- a/packages/primeng/src/sidebar/style/drawerstyle.ts +++ b/packages/primeng/src/sidebar/style/drawerstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` diff --git a/packages/primeng/src/skeleton/skeleton.ts b/packages/primeng/src/skeleton/skeleton.ts index 98e831aed92..e741ed59fe3 100755 --- a/packages/primeng/src/skeleton/skeleton.ts +++ b/packages/primeng/src/skeleton/skeleton.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, inject, Input, NgModule, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { SkeletonStyle } from './style/skeletonstyle'; /** diff --git a/packages/primeng/src/skeleton/style/skeletonstyle.ts b/packages/primeng/src/skeleton/style/skeletonstyle.ts index ed93796f353..4d5c0da3b88 100644 --- a/packages/primeng/src/skeleton/style/skeletonstyle.ts +++ b/packages/primeng/src/skeleton/style/skeletonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-skeleton { diff --git a/packages/primeng/src/slider/slider.ts b/packages/primeng/src/slider/slider.ts index 66349c50a5d..e0f94eaf943 100755 --- a/packages/primeng/src/slider/slider.ts +++ b/packages/primeng/src/slider/slider.ts @@ -1,9 +1,10 @@ import { CommonModule, isPlatformBrowser } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, forwardRef, inject, Input, NgModule, NgZone, numberAttribute, OnDestroy, Output, ViewChild, ViewEncapsulation } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { addClass, getWindowScrollLeft, getWindowScrollTop, removeClass } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { SliderChangeEvent, SliderSlideEndEvent } from './slider.interface'; import { SliderStyle } from './style/sliderstyle'; diff --git a/packages/primeng/src/slider/style/sliderstyle.ts b/packages/primeng/src/slider/style/sliderstyle.ts index 350ab1a9a92..ce6720d75cb 100644 --- a/packages/primeng/src/slider/style/sliderstyle.ts +++ b/packages/primeng/src/slider/style/sliderstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-slider { diff --git a/packages/primeng/src/speeddial/speeddial.ts b/packages/primeng/src/speeddial/speeddial.ts index 97c522aa14a..26304666008 100644 --- a/packages/primeng/src/speeddial/speeddial.ts +++ b/packages/primeng/src/speeddial/speeddial.ts @@ -20,11 +20,11 @@ import { ViewEncapsulation } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { PlusIcon } from '@primeng/icons'; import { find, findSingle, focus, hasClass, uuid } from '@primeuix/utils'; -import { MenuItem, TooltipOptions } from 'primeng/api'; +import { MenuItem, SharedModule, TooltipOptions } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonDirective, ButtonIcon, ButtonProps } from 'primeng/button'; +import { PlusIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; import { asapScheduler } from 'rxjs'; diff --git a/packages/primeng/src/speeddial/style/speeddialstyle.ts b/packages/primeng/src/speeddial/style/speeddialstyle.ts index f6311d8b4e2..3600d03c12d 100644 --- a/packages/primeng/src/speeddial/style/speeddialstyle.ts +++ b/packages/primeng/src/speeddial/style/speeddialstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-speeddial { diff --git a/packages/primeng/src/splitbutton/splitbutton.ts b/packages/primeng/src/splitbutton/splitbutton.ts index cd8baaf2305..3ade6043be9 100755 --- a/packages/primeng/src/splitbutton/splitbutton.ts +++ b/packages/primeng/src/splitbutton/splitbutton.ts @@ -1,11 +1,11 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, Output, signal, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { ChevronDownIcon } from '@primeng/icons'; import { uuid } from '@primeuix/utils'; -import { MenuItem, TooltipOptions } from 'primeng/api'; +import { MenuItem, SharedModule, TooltipOptions } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { ButtonDirective } from 'primeng/button'; +import { ChevronDownIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TieredMenu } from 'primeng/tieredmenu'; import { TooltipModule } from 'primeng/tooltip'; diff --git a/packages/primeng/src/splitbutton/style/splitbuttonstyle.ts b/packages/primeng/src/splitbutton/style/splitbuttonstyle.ts index 81d28a66514..52afaf665a2 100644 --- a/packages/primeng/src/splitbutton/style/splitbuttonstyle.ts +++ b/packages/primeng/src/splitbutton/style/splitbuttonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-splitbutton { diff --git a/packages/primeng/src/splitter/splitter.ts b/packages/primeng/src/splitter/splitter.ts index 9fe1845ccb8..aa7fd7b68b6 100755 --- a/packages/primeng/src/splitter/splitter.ts +++ b/packages/primeng/src/splitter/splitter.ts @@ -1,7 +1,8 @@ import { CommonModule, isPlatformBrowser } from '@angular/common'; import { ChangeDetectionStrategy, Component, ContentChildren, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, Output, QueryList, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { addClass, getHeight, getOuterHeight, getOuterWidth, getWidth, hasClass, removeClass } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; import { SplitterResizeEndEvent, SplitterResizeStartEvent } from './splitter.interface'; import { SplitterStyle } from './style/splitterstyle'; diff --git a/packages/primeng/src/splitter/style/splitterstyle.ts b/packages/primeng/src/splitter/style/splitterstyle.ts index 3190e7496e7..12f10bd356d 100644 --- a/packages/primeng/src/splitter/style/splitterstyle.ts +++ b/packages/primeng/src/splitter/style/splitterstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-splitter { diff --git a/packages/primeng/src/stepper/stepper.ts b/packages/primeng/src/stepper/stepper.ts index 179cd47d08b..7c68e44133c 100644 --- a/packages/primeng/src/stepper/stepper.ts +++ b/packages/primeng/src/stepper/stepper.ts @@ -22,8 +22,9 @@ import { } from '@angular/core'; import { animate, state, style, transition, trigger } from '@angular/animations'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { find, findIndexInList, uuid } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { transformToBoolean } from 'primeng/utils'; import { StepperStyle } from './style/stepperstyle'; diff --git a/packages/primeng/src/stepper/style/stepperstyle.ts b/packages/primeng/src/stepper/style/stepperstyle.ts index ea9f16f1113..f477f23172f 100644 --- a/packages/primeng/src/stepper/style/stepperstyle.ts +++ b/packages/primeng/src/stepper/style/stepperstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-steplist { diff --git a/packages/primeng/src/steps/steps.ts b/packages/primeng/src/steps/steps.ts index 9300ff75155..c4ffc888109 100755 --- a/packages/primeng/src/steps/steps.ts +++ b/packages/primeng/src/steps/steps.ts @@ -1,9 +1,9 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ElementRef, EventEmitter, inject, Input, NgModule, numberAttribute, OnDestroy, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core'; import { ActivatedRoute, Router, RouterModule } from '@angular/router'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { find, findSingle } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { TooltipModule } from 'primeng/tooltip'; import { Nullable } from 'primeng/ts-helpers'; import { Subscription } from 'rxjs'; diff --git a/packages/primeng/src/steps/style/stepsstyle.ts b/packages/primeng/src/steps/style/stepsstyle.ts index bd90cdcc629..7779526c3f3 100644 --- a/packages/primeng/src/steps/style/stepsstyle.ts +++ b/packages/primeng/src/steps/style/stepsstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-steps { diff --git a/packages/primeng/src/table/style/tablestyle.ts b/packages/primeng/src/table/style/tablestyle.ts index 5b4b1f8a8df..4d8e7f19e0e 100644 --- a/packages/primeng/src/table/style/tablestyle.ts +++ b/packages/primeng/src/table/style/tablestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-datatable { diff --git a/packages/primeng/src/table/table.interface.ts b/packages/primeng/src/table/table.interface.ts index 7c3d6ff4578..6381ebd6fa7 100644 --- a/packages/primeng/src/table/table.interface.ts +++ b/packages/primeng/src/table/table.interface.ts @@ -1,6 +1,5 @@ import { TemplateRef } from '@angular/core'; -import { FilterMetadata } from '@primeng/core'; -import { LazyLoadMeta } from 'primeng/api'; +import { FilterMetadata, LazyLoadMeta } from 'primeng/api'; import { ButtonProps } from 'primeng/button'; import { Table } from './table'; /** diff --git a/packages/primeng/src/table/table.spec.ts b/packages/primeng/src/table/table.spec.ts index 5cafd0ca53e..252bff887fb 100755 --- a/packages/primeng/src/table/table.spec.ts +++ b/packages/primeng/src/table/table.spec.ts @@ -4,7 +4,7 @@ import { FormsModule } from '@angular/forms'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; import { RouterTestingModule } from '@angular/router/testing'; -import { SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { ContextMenu, ContextMenuModule } from 'primeng/contextmenu'; import { DropdownModule } from 'primeng/dropdown'; import type { Paginator } from '../paginator/paginator'; diff --git a/packages/primeng/src/table/table.ts b/packages/primeng/src/table/table.ts index 9c9d15c8eb6..1aacb6adde0 100644 --- a/packages/primeng/src/table/table.ts +++ b/packages/primeng/src/table/table.ts @@ -34,8 +34,6 @@ import { ViewEncapsulation } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { BaseComponent, FilterMatchMode, FilterMetadata, FilterOperator, FilterService, OverlayService, PrimeTemplate, SharedModule, SortMeta, TranslationKeys } from '@primeng/core'; -import { ArrowDownIcon, ArrowUpIcon, CheckIcon, FilterIcon, FilterSlashIcon, PlusIcon, SortAltIcon, SortAmountDownIcon, SortAmountUpAltIcon, SpinnerIcon, TrashIcon } from '@primeng/icons'; import { absolutePosition, addClass, @@ -64,11 +62,13 @@ import { setAttribute, uuid } from '@primeuix/utils'; -import { BlockableUI, LazyLoadMeta, ScrollerOptions, SelectItem, TableState } from 'primeng/api'; +import { BlockableUI, FilterMatchMode, FilterMetadata, FilterOperator, FilterService, LazyLoadMeta, OverlayService, PrimeTemplate, ScrollerOptions, SelectItem, SharedModule, SortMeta, TableState, TranslationKeys } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button, ButtonDirective } from 'primeng/button'; import { Checkbox } from 'primeng/checkbox'; import { DatePicker } from 'primeng/datepicker'; import { ConnectedOverlayScrollHandler, DomHandler } from 'primeng/dom'; +import { ArrowDownIcon, ArrowUpIcon, CheckIcon, FilterIcon, FilterSlashIcon, PlusIcon, SortAltIcon, SortAmountDownIcon, SortAmountUpAltIcon, SpinnerIcon, TrashIcon } from 'primeng/icons'; import { InputNumber } from 'primeng/inputnumber'; import { InputText } from 'primeng/inputtext'; import { Paginator } from 'primeng/paginator'; diff --git a/packages/primeng/src/tabmenu/style/tabmenustyle.ts b/packages/primeng/src/tabmenu/style/tabmenustyle.ts index c23ee7aad3a..76ec0908bd8 100644 --- a/packages/primeng/src/tabmenu/style/tabmenustyle.ts +++ b/packages/primeng/src/tabmenu/style/tabmenustyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` diff --git a/packages/primeng/src/tabmenu/tabmenu.ts b/packages/primeng/src/tabmenu/tabmenu.ts index 026513c3132..57790e97032 100644 --- a/packages/primeng/src/tabmenu/tabmenu.ts +++ b/packages/primeng/src/tabmenu/tabmenu.ts @@ -22,11 +22,11 @@ import { ViewEncapsulation } from '@angular/core'; import { ActivatedRoute, Router, RouterModule } from '@angular/router'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { ChevronLeftIcon, ChevronRightIcon } from '@primeng/icons'; import { findSingle, focus, getAttribute, getOffset, getWidth, resolve } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, SharedModule } from 'primeng/api'; import { BadgeModule } from 'primeng/badge'; +import { BaseComponent } from 'primeng/basecomponent'; +import { ChevronLeftIcon, ChevronRightIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; import { Nullable } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/tabs/style/tabsstyle.ts b/packages/primeng/src/tabs/style/tabsstyle.ts index c83600cb910..bc1a52cb7ec 100644 --- a/packages/primeng/src/tabs/style/tabsstyle.ts +++ b/packages/primeng/src/tabs/style/tabsstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-tabs { diff --git a/packages/primeng/src/tabs/tab.ts b/packages/primeng/src/tabs/tab.ts index 09514db2d1a..50a270408d9 100644 --- a/packages/primeng/src/tabs/tab.ts +++ b/packages/primeng/src/tabs/tab.ts @@ -1,7 +1,8 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, computed, forwardRef, HostListener, inject, input, model, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { equals, focus, getAttribute } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Ripple } from 'primeng/ripple'; import { TabList } from './tablist'; import { Tabs } from './tabs'; diff --git a/packages/primeng/src/tabs/tablist.ts b/packages/primeng/src/tabs/tablist.ts index fafc81e1974..ebcc5daa5d2 100644 --- a/packages/primeng/src/tabs/tablist.ts +++ b/packages/primeng/src/tabs/tablist.ts @@ -1,8 +1,9 @@ import { CommonModule, isPlatformBrowser } from '@angular/common'; import { AfterContentInit, AfterViewInit, ChangeDetectionStrategy, Component, computed, ContentChild, effect, ElementRef, forwardRef, inject, signal, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { ChevronLeftIcon, ChevronRightIcon } from '@primeng/icons'; import { findSingle, getHeight, getOffset, getOuterWidth, getWidth } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { ChevronLeftIcon, ChevronRightIcon } from 'primeng/icons'; import { RippleModule } from 'primeng/ripple'; import { Tabs } from './tabs'; diff --git a/packages/primeng/src/tabs/tabpanel.ts b/packages/primeng/src/tabs/tabpanel.ts index 7e4b8fc6971..61d0368f6c0 100644 --- a/packages/primeng/src/tabs/tabpanel.ts +++ b/packages/primeng/src/tabs/tabpanel.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, computed, forwardRef, inject, model, ViewEncapsulation } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; import { equals } from '@primeuix/utils'; +import { BaseComponent } from 'primeng/basecomponent'; import { Tabs } from './tabs'; /** diff --git a/packages/primeng/src/tabs/tabpanels.ts b/packages/primeng/src/tabs/tabpanels.ts index 048a61946a9..03473c6c4af 100644 --- a/packages/primeng/src/tabs/tabpanels.ts +++ b/packages/primeng/src/tabs/tabpanels.ts @@ -1,6 +1,6 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; /** * TabPanels is a helper component for Tabs component. diff --git a/packages/primeng/src/tabs/tabs.ts b/packages/primeng/src/tabs/tabs.ts index 6fd4a1fe05e..e617c4b5535 100644 --- a/packages/primeng/src/tabs/tabs.ts +++ b/packages/primeng/src/tabs/tabs.ts @@ -1,8 +1,8 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, inject, input, model, NgModule, numberAttribute, signal, ViewEncapsulation } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; import { uuid } from '@primeuix/utils'; +import { BaseComponent } from 'primeng/basecomponent'; import { TabsStyle } from './style/tabsstyle'; import { Tab } from './tab'; import { TabList } from './tablist'; diff --git a/packages/primeng/src/tabview/style/tabsstyle.ts b/packages/primeng/src/tabview/style/tabsstyle.ts index c83600cb910..bc1a52cb7ec 100644 --- a/packages/primeng/src/tabview/style/tabsstyle.ts +++ b/packages/primeng/src/tabview/style/tabsstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-tabs { diff --git a/packages/primeng/src/tabview/tabview.spec.ts b/packages/primeng/src/tabview/tabview.spec.ts index 65538264565..92d0e674611 100755 --- a/packages/primeng/src/tabview/tabview.spec.ts +++ b/packages/primeng/src/tabview/tabview.spec.ts @@ -2,8 +2,8 @@ import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { PrimeTemplate } from '@primeng/core'; -import { TimesIcon } from '@primeng/icons'; +import { PrimeTemplate } from 'primeng/api'; +import { TimesIcon } from 'primeng/icons'; import { Tooltip } from 'primeng/tooltip'; import { TabPanel, TabView } from './tabview'; diff --git a/packages/primeng/src/tabview/tabview.ts b/packages/primeng/src/tabview/tabview.ts index 2c05d06f3a3..f19b8ba3da6 100755 --- a/packages/primeng/src/tabview/tabview.ts +++ b/packages/primeng/src/tabview/tabview.ts @@ -21,10 +21,10 @@ import { ViewChild, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, PrimeTemplate, SharedModule } from '@primeng/core'; -import { ChevronLeftIcon, ChevronRightIcon, TimesIcon } from '@primeng/icons'; import { find, findSingle, focus, getAttribute, getOffset, getOuterWidth, getWidth, uuid } from '@primeuix/utils'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, PrimeTemplate, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; +import { ChevronLeftIcon, ChevronRightIcon, TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; import { Nullable } from 'primeng/ts-helpers'; @@ -531,8 +531,8 @@ export class TabView extends BaseComponent implements AfterContentInit, AfterVie } bindResizeObserver() { - this.container = findSingle(this.el.nativeElement, '[data-pc-section="navcontent"]'); - this.list = findSingle(this.el.nativeElement, '[data-pc-section="nav"]'); + this.container = findSingle(this.el.nativeElement, '[data-pc-section="navcontent"]'); + this.list = findSingle(this.el.nativeElement, '[data-pc-section="nav"]'); this.resizeObserver = new ResizeObserver(() => { if (this.list.offsetWidth >= this.container.offsetWidth) { @@ -790,14 +790,14 @@ export class TabView extends BaseComponent implements AfterContentInit, AfterVie updateInkBar() { if (isPlatformBrowser(this.platformId)) { if (this.navbar) { - const tabHeader: HTMLElement | null = findSingle(this.navbar.nativeElement, '[data-pc-section="headeraction"][data-p-active="true"]'); + const tabHeader: HTMLElement | null = findSingle(this.navbar.nativeElement, '[data-pc-section="headeraction"][data-p-active="true"]'); if (!tabHeader) { return; } (this.inkbar as ElementRef).nativeElement.style.width = getOuterWidth(tabHeader) + 'px'; - (this.inkbar as ElementRef).nativeElement.style.left = getOffset(tabHeader).left - getOffset(this.navbar.nativeElement).left + 'px'; + (this.inkbar as ElementRef).nativeElement.style.left = getOffset(tabHeader).left - getOffset(this.navbar.nativeElement).left + 'px'; } } } @@ -820,8 +820,8 @@ export class TabView extends BaseComponent implements AfterContentInit, AfterVie } refreshButtonState() { - this.container = findSingle(this.el.nativeElement, '[data-pc-section="navcontent"]'); - this.list = findSingle(this.el.nativeElement, '[data-pc-section="nav"]'); + this.container = findSingle(this.el.nativeElement, '[data-pc-section="navcontent"]'); + this.list = findSingle(this.el.nativeElement, '[data-pc-section="nav"]'); if (this.list.offsetWidth >= this.container.offsetWidth) { if (this.list.offsetWidth >= this.container.offsetWidth) { this.buttonVisible = true; diff --git a/packages/primeng/src/tag/style/tagstyle.ts b/packages/primeng/src/tag/style/tagstyle.ts index 067d97e01af..e1491d40959 100644 --- a/packages/primeng/src/tag/style/tagstyle.ts +++ b/packages/primeng/src/tag/style/tagstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-tag { diff --git a/packages/primeng/src/tag/tag.ts b/packages/primeng/src/tag/tag.ts index 25529ac52b8..2b30b5d0fa3 100755 --- a/packages/primeng/src/tag/tag.ts +++ b/packages/primeng/src/tag/tag.ts @@ -1,6 +1,7 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, inject, Input, NgModule, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { TagStyle } from './style/tagstyle'; /** diff --git a/packages/primeng/src/terminal/style/terminalstyle.ts b/packages/primeng/src/terminal/style/terminalstyle.ts index 6de500d3a5d..e74eec9bf91 100644 --- a/packages/primeng/src/terminal/style/terminalstyle.ts +++ b/packages/primeng/src/terminal/style/terminalstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-terminal { diff --git a/packages/primeng/src/terminal/terminal.ts b/packages/primeng/src/terminal/terminal.ts index 7f4da7d4196..d60e5cd580c 100755 --- a/packages/primeng/src/terminal/terminal.ts +++ b/packages/primeng/src/terminal/terminal.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { AfterViewChecked, AfterViewInit, ChangeDetectionStrategy, Component, inject, Input, NgModule, OnDestroy, ViewEncapsulation } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; import { find } from '@primeuix/utils'; +import { SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Subscription } from 'rxjs'; import { TerminalStyle } from './style/terminalstyle'; import { TerminalService } from './terminalservice'; diff --git a/packages/primeng/src/textarea/style/textareastyle.ts b/packages/primeng/src/textarea/style/textareastyle.ts index 1a8e0218a06..df2d58cd24b 100644 --- a/packages/primeng/src/textarea/style/textareastyle.ts +++ b/packages/primeng/src/textarea/style/textareastyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-textarea { diff --git a/packages/primeng/src/textarea/textarea.ts b/packages/primeng/src/textarea/textarea.ts index 12be4865092..dc7e40b3378 100755 --- a/packages/primeng/src/textarea/textarea.ts +++ b/packages/primeng/src/textarea/textarea.ts @@ -1,6 +1,6 @@ import { AfterViewInit, booleanAttribute, Directive, EventEmitter, HostListener, inject, Input, NgModule, OnDestroy, OnInit, Optional, Output } from '@angular/core'; import { NgControl, NgModel } from '@angular/forms'; -import { BaseComponent } from '@primeng/core'; +import { BaseComponent } from 'primeng/basecomponent'; import { Subscription } from 'rxjs'; import { TextareaStyle } from './style/textareastyle'; diff --git a/packages/primeng/src/tieredmenu/style/tieredmenustyle.ts b/packages/primeng/src/tieredmenu/style/tieredmenustyle.ts index 78f71e6c91d..e01a9b1204f 100644 --- a/packages/primeng/src/tieredmenu/style/tieredmenustyle.ts +++ b/packages/primeng/src/tieredmenu/style/tieredmenustyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-tieredmenu { diff --git a/packages/primeng/src/tieredmenu/tieredmenu.ts b/packages/primeng/src/tieredmenu/tieredmenu.ts index 5cee6dec4ef..bf1d87ba52e 100755 --- a/packages/primeng/src/tieredmenu/tieredmenu.ts +++ b/packages/primeng/src/tieredmenu/tieredmenu.ts @@ -26,11 +26,11 @@ import { signal } from '@angular/core'; import { RouterModule } from '@angular/router'; -import { BaseComponent, OverlayService, SharedModule } from '@primeng/core'; -import { AngleRightIcon } from '@primeng/icons'; import { absolutePosition, appendChild, findLastIndex, findSingle, focus, isEmpty, isNotEmpty, isPrintableCharacter, isTouchDevice, nestedPosition, relativePosition, resolve, uuid } from '@primeuix/utils'; -import { MenuItem } from 'primeng/api'; +import { MenuItem, OverlayService, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; +import { AngleRightIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { TooltipModule } from 'primeng/tooltip'; import { Nullable, VoidListener } from 'primeng/ts-helpers'; diff --git a/packages/primeng/src/timeline/style/timelinestyle.ts b/packages/primeng/src/timeline/style/timelinestyle.ts index ba7b19de082..8e6eff733ec 100644 --- a/packages/primeng/src/timeline/style/timelinestyle.ts +++ b/packages/primeng/src/timeline/style/timelinestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-timeline { diff --git a/packages/primeng/src/timeline/timeline.ts b/packages/primeng/src/timeline/timeline.ts index 939d8df87cc..446e6bdf301 100755 --- a/packages/primeng/src/timeline/timeline.ts +++ b/packages/primeng/src/timeline/timeline.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { AfterContentInit, ChangeDetectionStrategy, Component, ContentChild, HostBinding, inject, Input, NgModule, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, PrimeTemplate, SharedModule } from '@primeng/core'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, PrimeTemplate, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Nullable } from 'primeng/ts-helpers'; import { TimelineStyle } from './style/timelinestyle'; diff --git a/packages/primeng/src/toast/style/toaststyle.ts b/packages/primeng/src/toast/style/toaststyle.ts index 275c795bbd0..a520743cf3f 100644 --- a/packages/primeng/src/toast/style/toaststyle.ts +++ b/packages/primeng/src/toast/style/toaststyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-toast { diff --git a/packages/primeng/src/toast/toast.spec.ts b/packages/primeng/src/toast/toast.spec.ts index 059cd62625d..78413478a52 100755 --- a/packages/primeng/src/toast/toast.spec.ts +++ b/packages/primeng/src/toast/toast.spec.ts @@ -2,8 +2,8 @@ import { Component } from '@angular/core'; import { ComponentFixture, TestBed } from '@angular/core/testing'; import { By } from '@angular/platform-browser'; import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { CheckIcon, ExclamationTriangleIcon, TimesIcon } from '@primeng/icons'; import { MessageService } from 'primeng/api'; +import { CheckIcon, ExclamationTriangleIcon, TimesIcon } from 'primeng/icons'; import { Toast, ToastItem } from './toast'; @Component({ diff --git a/packages/primeng/src/toast/toast.ts b/packages/primeng/src/toast/toast.ts index c1f218b7185..d4643c54262 100755 --- a/packages/primeng/src/toast/toast.ts +++ b/packages/primeng/src/toast/toast.ts @@ -20,11 +20,11 @@ import { inject, numberAttribute } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from '@primeng/icons'; import { isEmpty, setAttribute, uuid } from '@primeuix/utils'; -import { MessageService, ToastMessageOptions } from 'primeng/api'; +import { MessageService, SharedModule, ToastMessageOptions } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Button } from 'primeng/button'; +import { CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesCircleIcon, TimesIcon } from 'primeng/icons'; import { Ripple } from 'primeng/ripple'; import { ZIndexUtils } from 'primeng/utils'; import { Subscription } from 'rxjs'; diff --git a/packages/primeng/src/togglebutton/style/togglebuttonstyle.ts b/packages/primeng/src/togglebutton/style/togglebuttonstyle.ts index 9824d64b091..a761b8228eb 100644 --- a/packages/primeng/src/togglebutton/style/togglebuttonstyle.ts +++ b/packages/primeng/src/togglebutton/style/togglebuttonstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-togglebutton { diff --git a/packages/primeng/src/togglebutton/togglebutton.ts b/packages/primeng/src/togglebutton/togglebutton.ts index bb43256b83f..0e3e77a8f58 100755 --- a/packages/primeng/src/togglebutton/togglebutton.ts +++ b/packages/primeng/src/togglebutton/togglebutton.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, EventEmitter, forwardRef, HostBinding, inject, Input, NgModule, numberAttribute, Output, TemplateRef } from '@angular/core'; import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Ripple } from 'primeng/ripple'; import { Nullable } from 'primeng/ts-helpers'; import { ToggleButtonStyle } from './style/togglebuttonstyle'; diff --git a/packages/primeng/src/toggleswitch/style/toggleswitchstyle.ts b/packages/primeng/src/toggleswitch/style/toggleswitchstyle.ts index c08d6055c69..bdbbe51b6d4 100644 --- a/packages/primeng/src/toggleswitch/style/toggleswitchstyle.ts +++ b/packages/primeng/src/toggleswitch/style/toggleswitchstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-toggleswitch { diff --git a/packages/primeng/src/toggleswitch/toggleswitch.ts b/packages/primeng/src/toggleswitch/toggleswitch.ts index 2cbfc3cdfea..b740c1fbd10 100755 --- a/packages/primeng/src/toggleswitch/toggleswitch.ts +++ b/packages/primeng/src/toggleswitch/toggleswitch.ts @@ -1,8 +1,9 @@ import { CommonModule } from '@angular/common'; import { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, forwardRef, inject, Input, NgModule, numberAttribute, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, SharedModule } from '@primeng/core'; +import { SharedModule } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { ToggleSwitchStyle } from './style/toggleswitchstyle'; import { ToggleSwitchChangeEvent } from './toggleswitch.interface'; diff --git a/packages/primeng/src/toolbar/style/toolbarstyle.ts b/packages/primeng/src/toolbar/style/toolbarstyle.ts index 0ba6d293f0f..98dd2feb914 100644 --- a/packages/primeng/src/toolbar/style/toolbarstyle.ts +++ b/packages/primeng/src/toolbar/style/toolbarstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-toolbar { diff --git a/packages/primeng/src/toolbar/toolbar.ts b/packages/primeng/src/toolbar/toolbar.ts index 1cade36cc44..2b5527dcd6a 100755 --- a/packages/primeng/src/toolbar/toolbar.ts +++ b/packages/primeng/src/toolbar/toolbar.ts @@ -1,7 +1,7 @@ import { CommonModule } from '@angular/common'; import { ChangeDetectionStrategy, Component, ContentChild, inject, Input, NgModule, TemplateRef, ViewEncapsulation } from '@angular/core'; -import { BaseComponent, SharedModule } from '@primeng/core'; -import { BlockableUI } from 'primeng/api'; +import { BlockableUI, SharedModule } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ToolbarStyle } from './style/toolbarstyle'; /** diff --git a/packages/primeng/src/tooltip/style/tooltipstyle.ts b/packages/primeng/src/tooltip/style/tooltipstyle.ts index eac85804c42..d51b05fcd67 100644 --- a/packages/primeng/src/tooltip/style/tooltipstyle.ts +++ b/packages/primeng/src/tooltip/style/tooltipstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-tooltip { diff --git a/packages/primeng/src/tooltip/tooltip.ts b/packages/primeng/src/tooltip/tooltip.ts index cff5ce96efe..ddd79f4a855 100755 --- a/packages/primeng/src/tooltip/tooltip.ts +++ b/packages/primeng/src/tooltip/tooltip.ts @@ -1,8 +1,8 @@ import { isPlatformBrowser } from '@angular/common'; import { AfterViewInit, booleanAttribute, Directive, ElementRef, HostListener, inject, Input, NgModule, NgZone, numberAttribute, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; -import { BaseComponent } from '@primeng/core'; import { appendChild, fadeIn, findSingle, getOuterHeight, getOuterWidth, getViewport, getWindowScrollLeft, getWindowScrollTop, hasClass, removeChild, uuid } from '@primeuix/utils'; import { TooltipOptions } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { ConnectedOverlayScrollHandler } from 'primeng/dom'; import { Nullable } from 'primeng/ts-helpers'; import { ZIndexUtils } from 'primeng/utils'; diff --git a/packages/primeng/src/tree/style/treestyle.ts b/packages/primeng/src/tree/style/treestyle.ts index d6b96be69b4..196a7da427f 100644 --- a/packages/primeng/src/tree/style/treestyle.ts +++ b/packages/primeng/src/tree/style/treestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-tree { diff --git a/packages/primeng/src/tree/tree.ts b/packages/primeng/src/tree/tree.ts index 47b85423263..970ef7f36e0 100755 --- a/packages/primeng/src/tree/tree.ts +++ b/packages/primeng/src/tree/tree.ts @@ -22,12 +22,12 @@ import { ViewEncapsulation } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { BaseComponent, SharedModule, TranslationKeys } from '@primeng/core'; -import { CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, PlusIcon, SearchIcon, SpinnerIcon } from '@primeng/icons'; import { find, findSingle, focus, hasClass, removeAccents, resolveFieldData } from '@primeuix/utils'; -import { BlockableUI, ScrollerOptions, TreeDragDropService, TreeNode } from 'primeng/api'; +import { BlockableUI, ScrollerOptions, SharedModule, TranslationKeys, TreeDragDropService, TreeNode } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Checkbox } from 'primeng/checkbox'; import { IconField } from 'primeng/iconfield'; +import { CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, PlusIcon, SearchIcon, SpinnerIcon } from 'primeng/icons'; import { InputIcon } from 'primeng/inputicon'; import { InputText } from 'primeng/inputtext'; import { Ripple } from 'primeng/ripple'; diff --git a/packages/primeng/src/treeselect/style/treeselectstyle.ts b/packages/primeng/src/treeselect/style/treeselectstyle.ts index 6061dbcfa35..4b61a79e296 100644 --- a/packages/primeng/src/treeselect/style/treeselectstyle.ts +++ b/packages/primeng/src/treeselect/style/treeselectstyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` .p-treeselect { diff --git a/packages/primeng/src/treeselect/treeselect.ts b/packages/primeng/src/treeselect/treeselect.ts index 12be7daf1ef..a29676d6c0c 100755 --- a/packages/primeng/src/treeselect/treeselect.ts +++ b/packages/primeng/src/treeselect/treeselect.ts @@ -2,12 +2,12 @@ import { AnimationEvent } from '@angular/animations'; import { CommonModule } from '@angular/common'; import { booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ElementRef, EventEmitter, forwardRef, inject, Input, NgModule, Output, TemplateRef, ViewChild, ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; -import { BaseComponent, OverlayOptions, SharedModule } from '@primeng/core'; -import { ChevronDownIcon, SearchIcon, TimesIcon } from '@primeng/icons'; import { focus, getFirstFocusableElement, getFocusableElements, getLastFocusableElement, hasClass, isNotEmpty, uuid } from '@primeuix/utils'; -import { ScrollerOptions, TreeNode } from 'primeng/api'; +import { OverlayOptions, ScrollerOptions, SharedModule, TreeNode } from 'primeng/api'; import { AutoFocus } from 'primeng/autofocus'; +import { BaseComponent } from 'primeng/basecomponent'; import { Chip } from 'primeng/chip'; +import { ChevronDownIcon, SearchIcon, TimesIcon } from 'primeng/icons'; import { InputText } from 'primeng/inputtext'; import { Overlay } from 'primeng/overlay'; import { Ripple } from 'primeng/ripple'; diff --git a/packages/primeng/src/treetable/style/treetablestyle.ts b/packages/primeng/src/treetable/style/treetablestyle.ts index 8e11aedde0b..4b9fedd18ad 100644 --- a/packages/primeng/src/treetable/style/treetablestyle.ts +++ b/packages/primeng/src/treetable/style/treetablestyle.ts @@ -1,5 +1,5 @@ import { Injectable } from '@angular/core'; -import { BaseStyle } from '@primeng/core/base'; +import { BaseStyle } from 'primeng/base'; const theme = ({ dt }) => ` /* For PrimeNG */ diff --git a/packages/primeng/src/treetable/treetable.interface.ts b/packages/primeng/src/treetable/treetable.interface.ts index 41945a1378c..6b713b8d3f7 100644 --- a/packages/primeng/src/treetable/treetable.interface.ts +++ b/packages/primeng/src/treetable/treetable.interface.ts @@ -1,6 +1,5 @@ import { TemplateRef } from '@angular/core'; -import { FilterMetadata, SortMeta } from '@primeng/core'; -import { LazyLoadMeta, TreeNode, TreeTableNode } from 'primeng/api'; +import { FilterMetadata, LazyLoadMeta, SortMeta, TreeNode, TreeTableNode } from 'primeng/api'; import { TreeTable } from './treetable'; /** * Paginator state. diff --git a/packages/primeng/src/treetable/treetable.ts b/packages/primeng/src/treetable/treetable.ts index f063c3563a3..85703ce16d2 100755 --- a/packages/primeng/src/treetable/treetable.ts +++ b/packages/primeng/src/treetable/treetable.ts @@ -30,8 +30,6 @@ import { ViewEncapsulation } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { BaseComponent, FilterMetadata, FilterService, PrimeNGConfig, PrimeTemplate, SharedModule, SortMeta } from '@primeng/core'; -import { ArrowDownIcon, ArrowUpIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, SortAltIcon, SortAmountDownIcon, SortAmountUpAltIcon, SpinnerIcon } from '@primeng/icons'; import { addClass, calculateScrollbarHeight, @@ -54,9 +52,11 @@ import { reorderArray, resolveFieldData } from '@primeuix/utils'; -import { BlockableUI, ScrollerOptions, TreeNode, TreeTableNode } from 'primeng/api'; +import { BlockableUI, FilterMetadata, FilterService, PrimeNGConfig, PrimeTemplate, ScrollerOptions, SharedModule, SortMeta, TreeNode, TreeTableNode } from 'primeng/api'; +import { BaseComponent } from 'primeng/basecomponent'; import { Checkbox } from 'primeng/checkbox'; import { DomHandler } from 'primeng/dom'; +import { ArrowDownIcon, ArrowUpIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, SortAltIcon, SortAmountDownIcon, SortAmountUpAltIcon, SpinnerIcon } from 'primeng/icons'; import { PaginatorModule } from 'primeng/paginator'; import { Ripple } from 'primeng/ripple'; import { Scroller } from 'primeng/scroller'; diff --git a/packages/primeng/src/tsconfig.lib.json b/packages/primeng/src/tsconfig.lib.json deleted file mode 100644 index 50cd1ee9632..00000000000 --- a/packages/primeng/src/tsconfig.lib.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "angularCompilerOptions": { - "annotateForClosureCompiler": false, - "strictTemplates": false, - "strictMetadataEmit": true, - "skipTemplateCodegen": true, - "enableI18nLegacyMessageIdFormat": false, - "strictInjectionParameters": true, - "strictInputAccessModifiers": true, - "flatModuleOutFile": "primeng.js", - "flatModuleId": "primeng" - } -} diff --git a/packages/icons/src/windowmaximize/ng-package.json b/packages/primeng/src/usestyle/ng-package.json similarity index 100% rename from packages/icons/src/windowmaximize/ng-package.json rename to packages/primeng/src/usestyle/ng-package.json diff --git a/packages/core/src/usestyle/public_api.ts b/packages/primeng/src/usestyle/public_api.ts similarity index 100% rename from packages/core/src/usestyle/public_api.ts rename to packages/primeng/src/usestyle/public_api.ts diff --git a/packages/core/src/usestyle/usestyle.ts b/packages/primeng/src/usestyle/usestyle.ts similarity index 100% rename from packages/core/src/usestyle/usestyle.ts rename to packages/primeng/src/usestyle/usestyle.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97181d55f3f..68f578b278e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -287,15 +287,8 @@ importers: specifier: ~0.14.0 version: 0.14.10 - packages/core: + packages/primeng: dependencies: - '@primeuix/styled': - specifier: 'catalog:' - version: 0.3.0 - '@primeuix/utils': - specifier: 'catalog:' - version: 0.3.0 - devDependencies: '@angular/animations': specifier: ^17.0.0 || ^18.0.0 version: 18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)) @@ -311,50 +304,12 @@ importers: '@angular/forms': specifier: ^17.0.0 || ^18.0.0 version: 18.2.11(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.11(@angular/animations@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(rxjs@7.8.1) - '@angular/router': - specifier: ^17.0.0 || ^18.0.0 - version: 18.2.11(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.11(@angular/animations@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(rxjs@7.8.1) - rxjs: - specifier: ^6.0.0 || ^7.8.1 - version: 7.8.1 - zone.js: - specifier: ~0.14.0 - version: 0.14.10 - publishDirectory: dist - - packages/icons: - dependencies: - '@primeng/core': - specifier: workspace:* - version: link:../core - '@primeuix/utils': - specifier: 'catalog:' - version: 0.3.0 - publishDirectory: dist - - packages/primeng: - dependencies: - '@angular/animations': - specifier: ^17.0.0 || ^18.0.0 - version: 18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)) - '@angular/common': - specifier: ^17.0.0 || ^18.0.0 - version: 18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1) - '@angular/core': - specifier: ^17.0.0 || ^18.0.0 - version: 18.2.11(rxjs@7.8.1)(zone.js@0.14.10) - '@angular/forms': + '@angular/platform-browser': specifier: ^17.0.0 || ^18.0.0 - version: 18.2.11(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.11(@angular/animations@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(rxjs@7.8.1) + version: 18.2.11(@angular/animations@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)) '@angular/router': specifier: ^17.0.0 || ^18.0.0 version: 18.2.11(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(@angular/platform-browser@18.2.11(@angular/animations@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10)))(rxjs@7.8.1) - '@primeng/core': - specifier: workspace:* - version: link:../core - '@primeng/icons': - specifier: workspace:* - version: link:../icons '@primeuix/styled': specifier: 'catalog:' version: 0.3.0 @@ -364,13 +319,7 @@ importers: rxjs: specifier: ^6.0.0 || ^7.8.1 version: 7.8.1 - zone.js: - specifier: ~0.14.0 - version: 0.14.10 devDependencies: - '@angular/cdk': - specifier: catalog:angular18 - version: 18.2.12(@angular/common@18.2.11(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1))(@angular/core@18.2.11(rxjs@7.8.1)(zone.js@0.14.10))(rxjs@7.8.1) chart.js: specifier: 4.4.2 version: 4.4.2 @@ -11634,7 +11583,7 @@ snapshots: dependencies: copy-anything: 2.0.6 parse-node-version: 1.0.1 - tslib: 2.6.3 + tslib: 2.8.1 optionalDependencies: errno: 0.1.8 graceful-fs: 4.2.11 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index e4456e9149c..63d3cf54c7f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -27,15 +27,3 @@ catalogs: "@angular-eslint/schematics": ^18 "@angular-eslint/template-parser": ^18 "ng-packagr": ^18 - - compatible: - "@angular/animations": ^17 || ^18 - "@angular/cdk": ^18 - "@angular/common": ^17 || ^18 - "@angular/compiler": ^18 - "@angular/core": ^17 || ^18 - "@angular/forms": ^18 - "@angular/platform-browser": ^18 - "@angular/platform-browser-dynamic": ^18 - "@angular/router": ^18 - "rxjs": ^6.0.0 || ^7.8.1 diff --git a/tsconfig.json b/tsconfig.json index 52187c76ee1..d05144168fe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -30,10 +30,6 @@ "moduleResolution": "node", /* (UPDATED) Specify how TypeScript looks up a file from a given module specifier. */ "baseUrl": "./", /* (UPDATED) Specify the base directory to resolve non-relative module names. */ "paths": { /* (UPDATED) Specify a set of entries that re-map imports to additional lookup locations. */ - "@primeng/core/*": ["./packages/core/src/*/public_api"], - "@primeng/core": ["./packages/core/src/public_api"], - "@primeng/icons/*": ["./packages/icons/src/*/public_api"], - "@primeng/icons": ["./packages/icons/src/public_api"], "primeng/*": ["./packages/primeng/src/*/public_api"], "@primeng/themes/*": ["./packages/themes/src/*/index"], "@primeng/themes": ["./packages/themes/src/index"],