@corvina/web-components-library 0.1.7 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +15 -0
  2. package/components/AnimatedButton.vue.d.ts +197 -0
  3. package/components/AutocompleteFilter.vue.d.ts +144 -0
  4. package/components/CorvinaBreadcrumb.ce.vue.d.ts +105 -0
  5. package/components/CorvinaBreadcrumbDivider.ce.vue.d.ts +2 -0
  6. package/components/CorvinaButton.ce.vue.d.ts +84 -0
  7. package/components/CorvinaIcon.ce.vue.d.ts +35 -0
  8. package/components/CorvinaIconInternal.vue.d.ts +39 -0
  9. package/components/CorvinaSelect.ce.vue.d.ts +56 -0
  10. package/components/CorvinaTable.ce.vue.d.ts +176 -0
  11. package/components/CustomRenderer.vue.d.ts +15 -0
  12. package/components/InfiniteLoaderAutocomplete.vue.d.ts +21 -0
  13. package/components/Searchbar.vue.d.ts +105 -0
  14. package/components/Slots.d.ts +10 -0
  15. package/components/TableHeader.vue.d.ts +51 -0
  16. package/index.d.ts +253 -0
  17. package/package.json +3 -7
  18. package/plugins/vuetify.d.ts +3 -0
  19. package/theme/blueprint.d.ts +3 -0
  20. package/theme/ecciconset.d.ts +5 -0
  21. package/theme/icons-list.d.ts +1 -0
  22. package/utils/webfontloader.d.ts +1 -0
  23. package/vscode.html-custom-data.json +603 -0
  24. package/vue-components.d.ts +25 -0
  25. package/web-components-library.cjs.js +9 -9
  26. package/web-components-library.es.d.ts +2 -0
  27. package/web-components-library.es.js +2402 -2399
  28. package/web-components-library.umd.js +11 -11
  29. package/web-components.d.ts +7 -0
  30. package/webcomponent-utils/external-styles.d.ts +1 -0
  31. package/webcomponent-utils/utils.d.ts +2 -0
  32. package/webcomponent-utils/web-component-creator.d.ts +24 -0
  33. package/webcomponent-utils/web-components.d.ts +4 -0
@@ -0,0 +1,7 @@
1
+
2
+ declare namespace CorvinaComponents {
3
+ function initCorvinaComponents(locale?: string, shouldLoadTheme?: boolean, shouldLoadFonts?: boolean): void;
4
+ function initFonts(): void;
5
+ }
6
+ export default CorvinaComponents;
7
+ export * from './index';
@@ -0,0 +1 @@
1
+ export declare function addExternalStyle(root: HTMLElement, url: string): void;
@@ -0,0 +1,2 @@
1
+ export declare function capitalizeAndAddPrefix(input: string): string;
2
+ export declare function bindArgsAndEvents(el: any, args: any): void;
@@ -0,0 +1,24 @@
1
+ import { VNode, Component } from 'vue';
2
+
3
+ type VueComponent = Component & {
4
+ styles?: string[];
5
+ } & {
6
+ components?: {
7
+ [name: string]: VueComponent;
8
+ };
9
+ };
10
+ interface IArgs {
11
+ component: VueComponent;
12
+ props?: any;
13
+ styles?: string[];
14
+ emits?: string[];
15
+ slots: {
16
+ [name: string]: () => VNode;
17
+ };
18
+ locale: string;
19
+ shouldLoadTheme: boolean;
20
+ }
21
+ export declare const createCustomElement: ({ component, props, styles, emits, slots, locale, shouldLoadTheme }: IArgs) => import('vue').VueElementConstructor<{
22
+ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
23
+ }>;
24
+ export {};
@@ -0,0 +1,4 @@
1
+ declare function buildComponents(locale: string, shouldLoadTheme: boolean): {
2
+ [name: string]: any;
3
+ };
4
+ export { buildComponents };