-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from anexia-it/feat/typescript-types
Feat/typescript types
- Loading branch information
Showing
7 changed files
with
140 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Our library contains a set of more than 150 icons. To make the usage of all those icons easier, the *AnxIconsPlugin* has been implemented. | ||
|
||
The plugin automatically registers all the icons as components with inline SVG in your application. You don't have to care about import SVG files and can simply render all the icons. For a more detailed information and a documentation on how to use this plugin pleaser refer to the [AnxIcon Component Documentation](/#/Components?id=anxicon). | ||
The plugin automatically registers all the icons as components with inline SVG in your application. You don't have to care about import SVG files and can simply render all the icons. For a more detailed information and a documentation on how to use this plugin pleaser refer to the [AnxIcon Component Documentation](/#/Components/AnxIcon). |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import Vue, { Component as VueComponent } from 'vue' | ||
|
||
export declare class AnxAlert extends Vue {} | ||
export declare class AnxButton extends Vue {} | ||
export declare class AnxCard extends Vue {} | ||
export declare class AnxCheckbox extends Vue {} | ||
export declare class AnxContact extends Vue {} | ||
export declare class AnxContainer extends Vue {} | ||
export declare class AnxContent extends Vue {} | ||
export declare class AnxCrudTable extends Vue {} | ||
export declare class AnxFooter extends Vue {} | ||
export declare class AnxForm extends Vue {} | ||
export declare class AnxFormContainer extends Vue {} | ||
export declare class AnxGlobal extends Vue {} | ||
export declare class AnxHeader extends Vue {} | ||
export declare class AnxHrLine extends Vue {} | ||
export declare class AnxIcon extends Vue {} | ||
export declare class AnxInput extends Vue {} | ||
export declare class AnxLink extends Vue {} | ||
export declare class AnxList extends Vue {} | ||
export declare class AnxLogin extends Vue {} | ||
export declare class AnxLanguageSwitcher extends Vue {} | ||
export declare class AnxModal extends Vue {} | ||
export declare class AnxParagraph extends Vue {} | ||
export declare class AnxReadonly extends Vue {} | ||
export declare class AnxSelect extends Vue {} | ||
export declare class AnxTable extends Vue {} | ||
export declare class AnxTableCol extends Vue {} | ||
export declare class AnxTableContainer extends Vue {} | ||
export declare class AnxTableRow extends Vue {} | ||
export declare class AnxTextarea extends Vue {} | ||
export declare class AnxTitle extends Vue {} | ||
export declare class AnxToast extends Vue {} | ||
export declare class AnxToaster extends Vue {} | ||
|
||
declare const Components: { | ||
AnxAlert: VueComponent, | ||
AnxButton: VueComponent, | ||
AnxCard: VueComponent, | ||
AnxCheckbox: VueComponent, | ||
AnxContact: VueComponent, | ||
AnxContainer: VueComponent, | ||
AnxContent: VueComponent, | ||
AnxCrudTable: VueComponent, | ||
AnxFooter: VueComponent, | ||
AnxForm: VueComponent, | ||
AnxFormContainer: VueComponent, | ||
AnxGlobal: VueComponent, | ||
AnxHeader: VueComponent, | ||
AnxHrLine: VueComponent, | ||
AnxIcon: VueComponent, | ||
AnxInput: VueComponent, | ||
AnxLanguageSwitcher: VueComponent, | ||
AnxLink: VueComponent, | ||
AnxList: VueComponent, | ||
AnxLogin: VueComponent, | ||
AnxModal: VueComponent, | ||
AnxParagraph: VueComponent, | ||
AnxReadonly: VueComponent, | ||
AnxSelect: VueComponent, | ||
AnxTable: VueComponent, | ||
AnxTableCol: VueComponent, | ||
AnxTableContainer: VueComponent, | ||
AnxTableRow: VueComponent, | ||
AnxTextarea: VueComponent, | ||
AnxTitle: VueComponent, | ||
AnxToast: VueComponent | ||
} | ||
|
||
export default Components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import Vue from 'vue' | ||
import Components from './components' | ||
import { AnxIconsPlugin, AnxIconsNames, AnxToastPlugin, AnxVariablesPlugin } from './plugins' | ||
|
||
declare module '@anexia/vue-ui-components'; | ||
|
||
declare const UIPlugin: { | ||
install(_Vue: typeof Vue, options?: {}): void; | ||
} | ||
|
||
// Exporting all the components | ||
export * from './components' | ||
|
||
// Exporting plugins separately | ||
export { AnxIconsNames, AnxIconsPlugin, AnxToastPlugin, AnxVariablesPlugin, Components } | ||
|
||
// Default export is the UIPlugin shipping with all plugins | ||
export default UIPlugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters