Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify exports #3141

Merged
merged 2 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/components/NcActionButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionButton from './NcActionButton.vue'

export default NcActionButton
export { default } from './NcActionButton.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionCaption/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionCaption from './NcActionCaption.vue'

export default NcActionCaption
export { default } from './NcActionCaption.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionCheckbox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionCheckbox from './NcActionCheckbox.vue'

export default NcActionCheckbox
export { default } from './NcActionCheckbox.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionInput/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionInput from './NcActionInput.vue'

export default NcActionInput
export { default } from './NcActionInput.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionLink/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionLink from './NcActionLink.vue'

export default NcActionLink
export { default } from './NcActionLink.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionRadio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionRadio from './NcActionRadio.vue'

export default NcActionRadio
export { default } from './NcActionRadio.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionRouter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionRouter from './NcActionRouter.vue'

export default NcActionRouter
export { default } from './NcActionRouter.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionSeparator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionSeparator from './NcActionSeparator.vue'

export default NcActionSeparator
export { default } from './NcActionSeparator.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionText/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionText from './NcActionText.vue'

export default NcActionText
export { default } from './NcActionText.vue'
3 changes: 1 addition & 2 deletions src/components/NcActionTextEditable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActionTextEditable from './NcActionTextEditable.vue'

export default NcActionTextEditable
export { default } from './NcActionTextEditable.vue'
3 changes: 1 addition & 2 deletions src/components/NcActions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcActions from './NcActions.vue'

export default NcActions
export { default } from './NcActions.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppContent from './NcAppContent.vue'

export default NcAppContent
export { default } from './NcAppContent.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppContentDetails/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppContentDetails from './NcAppContentDetails.vue'

export default NcAppContentDetails
export { default } from './NcAppContentDetails.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppContentList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppContentList from './NcAppContentList.vue'

export default NcAppContentList
export { default } from './NcAppContentList.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppNavigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppNavigation from './NcAppNavigation.vue'

export default NcAppNavigation
export { default } from './NcAppNavigation.vue'
24 changes: 22 additions & 2 deletions src/components/NcAppNavigationCaption/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
import NcAppNavigationCaption from './NcAppNavigationCaption.vue'
/**
* @copyright 2022 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Christopher Ng <chrng8@gmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

export default NcAppNavigationCaption
export { default } from './NcAppNavigationCaption.vue'
4 changes: 1 addition & 3 deletions src/components/NcAppNavigationCounter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcAppNavigationCounter from './NcAppNavigationCounter.vue'

export default NcAppNavigationCounter
export { default } from './NcAppNavigationCounter.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppNavigationIconBullet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcAppNavigationIconBullet from './NcAppNavigationIconBullet.vue'

export default NcAppNavigationIconBullet
export { default } from './NcAppNavigationIconBullet.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppNavigationItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcAppNavigationItem from './NcAppNavigationItem.vue'

export default NcAppNavigationItem
export { default } from './NcAppNavigationItem.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppNavigationNew/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppNavigationNew from './NcAppNavigationNew.vue'

export default NcAppNavigationNew
export { default } from './NcAppNavigationNew.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppNavigationNewItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcAppNavigationNewItem from './NcAppNavigationNewItem.vue'

export default NcAppNavigationNewItem
export { default } from './NcAppNavigationNewItem.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppNavigationSettings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppNavigationSettings from './NcAppNavigationSettings.vue'

export default NcAppNavigationSettings
export { default } from './NcAppNavigationSettings.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppNavigationSpacer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppNavigationSpacer from './NcAppNavigationSpacer.vue'

export default NcAppNavigationSpacer
export { default } from './NcAppNavigationSpacer.vue'
4 changes: 1 addition & 3 deletions src/components/NcAppSettingsDialog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcAppSettingsDialog from './NcAppSettingsDialog.vue'

export default NcAppSettingsDialog
export { default } from './NcAppSettingsDialog.vue'
4 changes: 1 addition & 3 deletions src/components/NcAppSettingsSection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcAppSettingsSection from './NcAppSettingsSection.vue'

export default NcAppSettingsSection
export { default } from './NcAppSettingsSection.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppSidebar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppSidebar from './NcAppSidebar.vue'

export default NcAppSidebar
export { default } from './NcAppSidebar.vue'
3 changes: 1 addition & 2 deletions src/components/NcAppSidebarTab/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcAppSidebarTab from './NcAppSidebarTab.vue'

export default NcAppSidebarTab
export { default } from './NcAppSidebarTab.vue'
4 changes: 1 addition & 3 deletions src/components/NcAvatar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcAvatar from './NcAvatar.vue'

export default NcAvatar
export { default } from './NcAvatar.vue'
4 changes: 1 addition & 3 deletions src/components/NcBreadcrumb/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcBreadcrumb from './NcBreadcrumb.vue'

export default NcBreadcrumb
export { default } from './NcBreadcrumb.vue'
4 changes: 1 addition & 3 deletions src/components/NcBreadcrumbs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcBreadcrumbs from './NcBreadcrumbs.vue'

export default NcBreadcrumbs
export { default } from './NcBreadcrumbs.vue'
4 changes: 1 addition & 3 deletions src/components/NcButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcButton from './NcButton.vue'

export default NcButton
export { default } from './NcButton.vue'
4 changes: 1 addition & 3 deletions src/components/NcCheckboxRadioSwitch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcCheckboxRadioSwitch from './NcCheckboxRadioSwitch.vue'

export default NcCheckboxRadioSwitch
export { default } from './NcCheckboxRadioSwitch.vue'
4 changes: 1 addition & 3 deletions src/components/NcColorPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcColorPicker from './NcColorPicker.vue'

export default NcColorPicker
export { default } from './NcColorPicker.vue'
3 changes: 1 addition & 2 deletions src/components/NcContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcContent from './NcContent.vue'

export default NcContent
export { default } from './NcContent.vue'
4 changes: 1 addition & 3 deletions src/components/NcCounterBubble/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcCounterBubble from './NcCounterBubble.vue'

export default NcCounterBubble
export { default } from './NcCounterBubble.vue'
24 changes: 22 additions & 2 deletions src/components/NcDashboardWidget/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
import NcDashboardWidget from './NcDashboardWidget.vue'
/**
* @copyright 2022 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Christopher Ng <chrng8@gmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

export default NcDashboardWidget
export { default } from './NcDashboardWidget.vue'
24 changes: 22 additions & 2 deletions src/components/NcDashboardWidgetItem/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
import NcDashboardWidgetItem from './NcDashboardWidgetItem.vue'
/**
* @copyright 2022 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Christopher Ng <chrng8@gmail.com>
*
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

export default NcDashboardWidgetItem
export { default } from './NcDashboardWidgetItem.vue'
3 changes: 1 addition & 2 deletions src/components/NcEmojiPicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import NcEmojiPicker from './NcEmojiPicker.vue'

export default NcEmojiPicker
export { default } from './NcEmojiPicker.vue'
3 changes: 1 addition & 2 deletions src/components/NcEmptyContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
import NcEmptyContent from './NcEmptyContent.vue'

export default NcEmptyContent
export { default } from './NcEmptyContent.vue'
4 changes: 1 addition & 3 deletions src/components/NcHighlight/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcHighlight from './NcHighlight.vue'

export default NcHighlight
export { default } from './NcHighlight.vue'
4 changes: 1 addition & 3 deletions src/components/NcInputField/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcInputField from './NcInputField.vue'

export default NcInputField
export { default } from './NcInputField.vue'
4 changes: 1 addition & 3 deletions src/components/NcListItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcListItem from './NcListItem.vue'

export default NcListItem
export { default } from './NcListItem.vue'
4 changes: 1 addition & 3 deletions src/components/NcListItemIcon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@
*
*/

import NcListItemIcon from './NcListItemIcon.vue'

export default NcListItemIcon
export { default } from './NcListItemIcon.vue'
Loading