@progress/kendo-vue-common 3.7.4-dev.202212020747 → 3.7.4-dev.202301091431

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 (57) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/js/kendo-vue-common.js +1 -1
  3. package/dist/es/icons/BaseIconProps.d.ts +74 -0
  4. package/dist/es/icons/BaseIconProps.js +1 -0
  5. package/dist/es/icons/FontIcon.d.ts +51 -0
  6. package/dist/es/icons/FontIcon.js +90 -0
  7. package/dist/es/icons/Icon.d.ts +49 -0
  8. package/dist/es/icons/Icon.js +125 -0
  9. package/dist/es/icons/SvgIcon.d.ts +95 -0
  10. package/dist/es/icons/SvgIcon.js +120 -0
  11. package/dist/es/icons/constants.d.ts +11 -0
  12. package/dist/es/icons/constants.js +11 -0
  13. package/dist/es/icons/models/flip.d.ts +11 -0
  14. package/dist/es/icons/models/flip.js +1 -0
  15. package/dist/es/icons/models/size.d.ts +13 -0
  16. package/dist/es/icons/models/size.js +1 -0
  17. package/dist/es/icons/models/theme-color.d.ts +21 -0
  18. package/dist/es/icons/models/theme-color.js +1 -0
  19. package/dist/es/main.d.ts +6 -0
  20. package/dist/es/main.js +6 -0
  21. package/dist/esm/icons/BaseIconProps.d.ts +74 -0
  22. package/dist/esm/icons/BaseIconProps.js +1 -0
  23. package/dist/esm/icons/FontIcon.d.ts +51 -0
  24. package/dist/esm/icons/FontIcon.js +90 -0
  25. package/dist/esm/icons/Icon.d.ts +49 -0
  26. package/dist/esm/icons/Icon.js +125 -0
  27. package/dist/esm/icons/SvgIcon.d.ts +95 -0
  28. package/dist/esm/icons/SvgIcon.js +120 -0
  29. package/dist/esm/icons/constants.d.ts +11 -0
  30. package/dist/esm/icons/constants.js +11 -0
  31. package/dist/esm/icons/models/flip.d.ts +11 -0
  32. package/dist/esm/icons/models/flip.js +1 -0
  33. package/dist/esm/icons/models/size.d.ts +13 -0
  34. package/dist/esm/icons/models/size.js +1 -0
  35. package/dist/esm/icons/models/theme-color.d.ts +21 -0
  36. package/dist/esm/icons/models/theme-color.js +1 -0
  37. package/dist/esm/main.d.ts +6 -0
  38. package/dist/esm/main.js +6 -0
  39. package/dist/npm/icons/BaseIconProps.d.ts +74 -0
  40. package/dist/npm/icons/BaseIconProps.js +2 -0
  41. package/dist/npm/icons/FontIcon.d.ts +51 -0
  42. package/dist/npm/icons/FontIcon.js +97 -0
  43. package/dist/npm/icons/Icon.d.ts +49 -0
  44. package/dist/npm/icons/Icon.js +132 -0
  45. package/dist/npm/icons/SvgIcon.d.ts +95 -0
  46. package/dist/npm/icons/SvgIcon.js +127 -0
  47. package/dist/npm/icons/constants.d.ts +11 -0
  48. package/dist/npm/icons/constants.js +14 -0
  49. package/dist/npm/icons/models/flip.d.ts +11 -0
  50. package/dist/npm/icons/models/flip.js +2 -0
  51. package/dist/npm/icons/models/size.d.ts +13 -0
  52. package/dist/npm/icons/models/size.js +2 -0
  53. package/dist/npm/icons/models/theme-color.d.ts +21 -0
  54. package/dist/npm/icons/models/theme-color.js +2 -0
  55. package/dist/npm/main.d.ts +6 -0
  56. package/dist/npm/main.js +6 -0
  57. package/package.json +5 -3
@@ -0,0 +1,95 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { BaseIconProps } from './BaseIconProps';
7
+ /**
8
+ * Specifies the SVG icon.
9
+ */
10
+ export interface SVGIcon {
11
+ /**
12
+ * The unique name of the icon.
13
+ */
14
+ name: string;
15
+ /**
16
+ * The entire SVG content of the icon.
17
+ */
18
+ content: string;
19
+ /**
20
+ * The [viewBox](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox)
21
+ * definition that should be used for the icon.
22
+ */
23
+ viewBox: string;
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ export interface SvgIconHandle {
29
+ /**
30
+ * The SvgIconHandle element.
31
+ */
32
+ element: HTMLSpanElement | null;
33
+ }
34
+ /**
35
+ * Represents the props of the [Kendo UI for Vue SvgIcon component]({% slug overview_svgicon %}).
36
+ */
37
+ export interface SvgIconProps extends BaseIconProps {
38
+ /**
39
+ * Specifies the SVG icon.
40
+ *
41
+ * * The possible keys are:
42
+ * * `name`&mdash;The unique name of the icon.
43
+ * * `content`&mdash;The entire SVG content of the icon.
44
+ * * `viewBox`&mdash;The viewBox definition that should be used for the icon.
45
+ */
46
+ icon?: SVGIcon;
47
+ /**
48
+ * Specifies the viewBox of the custom SVG icon.
49
+ */
50
+ viewBox?: string;
51
+ /**
52
+ * Specifies a list of CSS classes that will be added to the svg element.
53
+ */
54
+ svgClassName?: string;
55
+ /**
56
+ * Sets additional CSS styles to the svg element.
57
+ */
58
+ svgStyle?: object;
59
+ }
60
+ /**
61
+ * @hidden
62
+ */
63
+ export interface SvgIconState {
64
+ }
65
+ /**
66
+ * @hidden
67
+ */
68
+ export interface SvgIconComputed {
69
+ [key: string]: any;
70
+ }
71
+ /**
72
+ * @hidden
73
+ */
74
+ export interface SvgIconMethods {
75
+ [key: string]: any;
76
+ }
77
+ /**
78
+ * @hidden
79
+ */
80
+ export interface SvgIconData {
81
+ }
82
+ /**
83
+ * @hidden
84
+ */
85
+ export interface SvgIconAll extends Vue2type, SvgIconMethods, SvgIconData, SvgIconComputed, SvgIconState {
86
+ }
87
+ /**
88
+ * @hidden
89
+ */
90
+ declare let SvgIconVue2: ComponentOptions<SvgIconAll, DefaultData<SvgIconData>, DefaultMethods<SvgIconAll>, SvgIconComputed, RecordPropsDefinition<SvgIconProps>>;
91
+ /**
92
+ * @hidden
93
+ */
94
+ declare const SvgIcon: DefineComponent<SvgIconProps, any, SvgIconData, SvgIconComputed, SvgIconMethods, {}, {}, {}, string, SvgIconProps, SvgIconProps, {}>;
95
+ export { SvgIcon, SvgIconVue2 };
@@ -0,0 +1,120 @@
1
+ var __assign = this && this.__assign || function () {
2
+ __assign = Object.assign || function (t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) {
6
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
7
+ }
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ // @ts-ignore
14
+ import * as Vue from 'vue';
15
+ var allVue = Vue;
16
+ var gh = allVue.h;
17
+ var isV3 = allVue.version && allVue.version[0] === '3';
18
+ import { SIZE_CLASSES } from './constants.js';
19
+ import { getDefaultSlots } from '../defaultSlots.js';
20
+ /**
21
+ * @hidden
22
+ */
23
+ var SvgIconVue2 = {
24
+ name: 'KendoSvgIcon',
25
+ // @ts-ignore
26
+ emits: {
27
+ click: null
28
+ },
29
+ props: {
30
+ icon: Object,
31
+ themeColor: {
32
+ type: String
33
+ },
34
+ size: {
35
+ type: String
36
+ },
37
+ flip: {
38
+ type: String
39
+ },
40
+ id: String,
41
+ ariaLabel: String,
42
+ title: String,
43
+ viewBox: {
44
+ type: String,
45
+ default: '0 0 24 24'
46
+ },
47
+ tabIndex: Number
48
+ },
49
+ computed: {
50
+ wrapperClass: function wrapperClass() {
51
+ var _a;
52
+ var _b = this.$props,
53
+ name = _b.name,
54
+ flip = _b.flip,
55
+ size = _b.size,
56
+ themeColor = _b.themeColor;
57
+ return _a = {
58
+ 'k-svg-icon': true
59
+ }, _a['k-color-' + themeColor] = true, _a['k-svg-i-' + name] = name, _a['k-flip-h'] = flip === 'horizontal' || flip === 'both', _a['k-flip-v'] = flip === 'vertical' || flip === 'both', _a[SIZE_CLASSES[size]] = true, _a;
60
+ }
61
+ },
62
+ // @ts-ignore
63
+ setup: !isV3 ? undefined : function () {
64
+ var v3 = !!isV3;
65
+ return {
66
+ v3: v3
67
+ };
68
+ },
69
+ // @ts-ignore
70
+ render: function render(createElement) {
71
+ var h = gh || createElement;
72
+ var defaultSlot = getDefaultSlots(this);
73
+ var _a = this.$props,
74
+ svgClassName = _a.svgClassName,
75
+ icon = _a.icon,
76
+ id = _a.id,
77
+ tabIndex = _a.tabIndex,
78
+ svgStyle = _a.svgStyle,
79
+ viewBox = _a.viewBox,
80
+ title = _a.title,
81
+ ariaLabel = _a.ariaLabel;
82
+ var innerHTML = icon ? icon.content : undefined;
83
+ var attrs = {
84
+ id: id,
85
+ title: title,
86
+ 'aria-hidden': true,
87
+ tabIndex: tabIndex,
88
+ ariaLabel: ariaLabel,
89
+ focusable: 'false',
90
+ xmlns: 'http://www.w3.org/2000/svg',
91
+ viewBox: icon ? icon.viewBox : viewBox
92
+ };
93
+ var svg = h('svg', __assign(__assign({}, attrs), {
94
+ attrs: attrs,
95
+ domProps: {
96
+ innerHTML: innerHTML
97
+ },
98
+ innerHTML: innerHTML,
99
+ 'class': svgClassName,
100
+ style: svgStyle
101
+ }), [icon ? undefined : defaultSlot]);
102
+ return h("span", {
103
+ "class": this.wrapperClass,
104
+ onClick: this.handleClick,
105
+ on: this.v3 ? undefined : {
106
+ "click": this.handleClick
107
+ }
108
+ }, [svg]);
109
+ },
110
+ methods: {
111
+ handleClick: function handleClick(e) {
112
+ this.$emit('click', e);
113
+ }
114
+ }
115
+ };
116
+ /**
117
+ * @hidden
118
+ */
119
+ var SvgIcon = SvgIconVue2;
120
+ export { SvgIcon, SvgIconVue2 };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @hidden
3
+ */
4
+ export declare const SIZE_CLASSES: {
5
+ default: string;
6
+ xsmall: string;
7
+ small: string;
8
+ medium: string;
9
+ large: string;
10
+ xlarge: string;
11
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @hidden
3
+ */
4
+ export var SIZE_CLASSES = {
5
+ 'default': '',
6
+ 'xsmall': 'k-icon-xs',
7
+ 'small': 'k-icon-sm',
8
+ 'medium': 'k-icon-md',
9
+ 'large': 'k-icon-lg',
10
+ 'xlarge': 'k-icon-xl'
11
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Specifies the icon flip direction.
3
+ *
4
+ * The possible values are:
5
+ * * `default` (Default)&mdash;No flipping applied.
6
+ * * `horizontal`&mdash;Flips the icon in horizontal direction.
7
+ * * `vertical`&mdash;Flips the icon in vertical direction.
8
+ * * `both`&mdash;Flips the icon in both horizontal and vertical directions.
9
+ *
10
+ */
11
+ export declare type IconFlip = 'default' | 'horizontal' | 'vertical' | 'both';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Specifies the size of the icon.
3
+ *
4
+ * The possible values are:
5
+ * * `default` (Default)&mdash;Font-size: 16px; Width: 16px; Height: 16px.
6
+ * * `xsmall`&mdash;Font-size: 8px; Width: 8px; Height: 8px.
7
+ * * `small`&mdash;Font-size: 12px; Width: 12px; Height: 12px.
8
+ * * `medium`&mdash;Font-size: 32px; Width: 32px; Height: 32px.
9
+ * * `large`&mdash;Font-size: 48px; Width: 48px; Height: 48px.
10
+ * * `xlarge`&mdash;Font-size: 64px; Width: 64px; Height: 64px.
11
+ *
12
+ */
13
+ export declare type IconSize = 'default' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Specifies the theme color of the Icon.
3
+ *
4
+ * The possible values are:
5
+ * * `inherit` (Default)&mdash;Applies coloring based on the current color.
6
+ * * `primary` &mdash;Applies coloring based on primary theme color.
7
+ * * `secondary`&mdash;Applies coloring based on secondary theme color.
8
+ * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
9
+ * * `info`&mdash;Applies coloring based on info theme color.
10
+ * * `success`&mdash; Applies coloring based on success theme color.
11
+ * * `warning`&mdash; Applies coloring based on warning theme color.
12
+ * * `error`&mdash; Applies coloring based on error theme color.
13
+ * * `dark`&mdash; Applies coloring based on dark theme color.
14
+ * * `light`&mdash; Applies coloring based on light theme color.
15
+ * * `inverse`&mdash; Applies coloring based on inverse theme color.
16
+ *
17
+ * If the property is not set, the icon inherits the color from its parent.
18
+ *
19
+ * You can use the `style` prop to apply custom color related properties to the icon.
20
+ */
21
+ export declare type IconThemeColor = 'inherit' | 'primary' | 'secondary' | 'tertiary' | 'info' | 'success' | 'warning' | 'error' | 'dark' | 'light' | 'inverse';
@@ -0,0 +1 @@
1
+ export {};
@@ -23,3 +23,9 @@ export * from './treeDataOperations';
23
23
  export * from './browser-support.service';
24
24
  export * from './scrollbarWidth';
25
25
  export * from './hasRelativeStackingContext';
26
+ export * from './icons/Icon';
27
+ export * from './icons/FontIcon';
28
+ export * from './icons/SvgIcon';
29
+ export * from './icons/models/flip';
30
+ export * from './icons/models/size';
31
+ export * from './icons/models/theme-color';
package/dist/esm/main.js CHANGED
@@ -22,3 +22,9 @@ export * from './treeDataOperations.js';
22
22
  export * from './browser-support.service.js';
23
23
  export * from './scrollbarWidth.js';
24
24
  export * from './hasRelativeStackingContext.js';
25
+ export * from './icons/Icon.js';
26
+ export * from './icons/FontIcon.js';
27
+ export * from './icons/SvgIcon.js';
28
+ export * from './icons/models/flip.js';
29
+ export * from './icons/models/size.js';
30
+ export * from './icons/models/theme-color.js';
@@ -0,0 +1,74 @@
1
+ import { IconThemeColor } from './models/theme-color';
2
+ import { IconSize } from './models/size';
3
+ import { IconFlip } from './models/flip';
4
+ /**
5
+ * @hidden
6
+ */
7
+ export interface BaseIconProps {
8
+ /**
9
+ * Sets the `tabIndex` of the icon element.
10
+ */
11
+ tabIndex?: number;
12
+ /**
13
+ * Sets the `id` of the icon element.
14
+ */
15
+ id?: string;
16
+ /**
17
+ * Sets the `aria-label` of the icon element.
18
+ */
19
+ ariaLabel?: string;
20
+ /**
21
+ * Sets the `title` of the icon element.
22
+ */
23
+ title?: string;
24
+ /**
25
+ * Specifies a list of CSS classes that will be added to the root DOM element.
26
+ */
27
+ class?: string;
28
+ /**
29
+ * Specifies the theme color of the Icon.
30
+ *
31
+ * The possible values are:
32
+ * * `inherit` (Default)&mdash;Applies coloring based on the current color.
33
+ * * `primary` &mdash;Applies coloring based on primary theme color.
34
+ * * `secondary`&mdash;Applies coloring based on secondary theme color.
35
+ * * `tertiary`&mdash; Applies coloring based on tertiary theme color.
36
+ * * `info`&mdash;Applies coloring based on info theme color.
37
+ * * `success`&mdash; Applies coloring based on success theme color.
38
+ * * `warning`&mdash; Applies coloring based on warning theme color.
39
+ * * `error`&mdash; Applies coloring based on error theme color.
40
+ * * `dark`&mdash; Applies coloring based on dark theme color.
41
+ * * `light`&mdash; Applies coloring based on light theme color.
42
+ * * `inverse`&mdash; Applies coloring based on inverse theme color.
43
+ *
44
+ * If the property is not set, the icon inherits the color from its parent.
45
+ *
46
+ * You can use the `style` prop to apply custom color related properties to the icon.
47
+ */
48
+ themeColor?: IconThemeColor | string;
49
+ /**
50
+ * Specifies the size of the icon.
51
+ *
52
+ * The possible values are:
53
+ * * `default` (Default)&mdash;Font-size: 16px; Width: 16px; Height: 16px.
54
+ * * `xsmall`&mdash;Font-size: 8px; Width: 8px; Height: 8px.
55
+ * * `small`&mdash;Font-size: 12px; Width: 12px; Height: 12px.
56
+ * * `medium`&mdash;Font-size: 32px; Width: 32px; Height: 32px.
57
+ * * `large`&mdash;Font-size: 48px; Width: 48px; Height: 48px.
58
+ * * `xlarge`&mdash;Font-size: 64px; Width: 64px; Height: 64px.
59
+ *
60
+ * You can use the `style` prop to apply custom font size to the icon.
61
+ */
62
+ size?: IconSize | string;
63
+ /**
64
+ * Specifies the icon flip direction.
65
+ *
66
+ * The possible values are:
67
+ * * `default` (Default)&mdash;No flipping applied.
68
+ * * `horizontal`&mdash;Flips the icon in horizontal direction.
69
+ * * `vertical`&mdash;Flips the icon in vertical direction.
70
+ * * `both`&mdash;Flips the icon in both horizontal and vertical directions.
71
+ *
72
+ */
73
+ flip?: IconFlip | string;
74
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,51 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { BaseIconProps } from './BaseIconProps';
7
+ /**
8
+ * Represents the props of the [Kendo UI for Vue Icon component]({% slug overview_icon %}).
9
+ */
10
+ export interface FontIconProps extends BaseIconProps {
11
+ /**
12
+ * Represents the name of the icon.
13
+ */
14
+ name?: string;
15
+ }
16
+ /**
17
+ * @hidden
18
+ */
19
+ export interface FontIconState {
20
+ }
21
+ /**
22
+ * @hidden
23
+ */
24
+ export interface FontIconComputed {
25
+ [key: string]: any;
26
+ }
27
+ /**
28
+ * @hidden
29
+ */
30
+ export interface FontIconMethods {
31
+ [key: string]: any;
32
+ }
33
+ /**
34
+ * @hidden
35
+ */
36
+ export interface FontIconData {
37
+ }
38
+ /**
39
+ * @hidden
40
+ */
41
+ export interface FontIconAll extends Vue2type, FontIconMethods, FontIconData, FontIconComputed, FontIconState {
42
+ }
43
+ /**
44
+ * @hidden
45
+ */
46
+ declare let FontIconVue2: ComponentOptions<FontIconAll, DefaultData<FontIconData>, DefaultMethods<FontIconAll>, FontIconComputed, RecordPropsDefinition<FontIconProps>>;
47
+ /**
48
+ * @hidden
49
+ */
50
+ declare const FontIcon: DefineComponent<FontIconProps, any, FontIconData, FontIconComputed, FontIconMethods, {}, {}, {}, string, FontIconProps, FontIconProps, {}>;
51
+ export { FontIcon, FontIconVue2 };
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FontIconVue2 = exports.FontIcon = void 0;
7
+ // @ts-ignore
8
+ var Vue = require("vue");
9
+ var allVue = Vue;
10
+ var gh = allVue.h;
11
+ var isV3 = allVue.version && allVue.version[0] === '3';
12
+ var constants_1 = require("./constants");
13
+ /**
14
+ * @hidden
15
+ */
16
+ var FontIconVue2 = {
17
+ name: 'KendoFontIcon',
18
+ // @ts-ignore
19
+ emits: {
20
+ click: null
21
+ },
22
+ props: {
23
+ name: String,
24
+ themeColor: {
25
+ type: String
26
+ },
27
+ size: {
28
+ type: String
29
+ },
30
+ flip: {
31
+ type: String
32
+ },
33
+ id: String,
34
+ ariaLabel: String,
35
+ title: String,
36
+ tabIndex: Number
37
+ },
38
+ computed: {
39
+ fontClassNames: function fontClassNames() {
40
+ var _a;
41
+ var _b = this.$props,
42
+ name = _b.name,
43
+ flip = _b.flip,
44
+ size = _b.size,
45
+ themeColor = _b.themeColor;
46
+ return _a = {
47
+ 'k-icon': true
48
+ }, _a['k-i-' + name] = name, _a['k-color-' + themeColor] = themeColor, _a['k-flip-h'] = flip === 'horizontal' || flip === 'both', _a['k-flip-v'] = flip === 'vertical' || flip === 'both', _a[constants_1.SIZE_CLASSES[size]] = size, _a;
49
+ }
50
+ },
51
+ // @ts-ignore
52
+ setup: !isV3 ? undefined : function () {
53
+ var v3 = !!isV3;
54
+ return {
55
+ v3: v3
56
+ };
57
+ },
58
+ // @ts-ignore
59
+ render: function render(createElement) {
60
+ var h = gh || createElement;
61
+ var _a = this.$props,
62
+ id = _a.id,
63
+ title = _a.title,
64
+ tabIndex = _a.tabIndex,
65
+ ariaLabel = _a.ariaLabel;
66
+ return h("span", {
67
+ "class": this.fontClassNames,
68
+ id: id,
69
+ attrs: this.v3 ? undefined : {
70
+ id: id,
71
+ title: title,
72
+ "aria-label": ariaLabel,
73
+ tabIndex: tabIndex,
74
+ role: "presentation"
75
+ },
76
+ title: title,
77
+ "aria-label": ariaLabel,
78
+ tabIndex: tabIndex,
79
+ role: "presentation",
80
+ onClick: this.handleClick,
81
+ on: this.v3 ? undefined : {
82
+ "click": this.handleClick
83
+ }
84
+ });
85
+ },
86
+ methods: {
87
+ handleClick: function handleClick(e) {
88
+ this.$emit('click', e);
89
+ }
90
+ }
91
+ };
92
+ exports.FontIconVue2 = FontIconVue2;
93
+ /**
94
+ * @hidden
95
+ */
96
+ var FontIcon = FontIconVue2;
97
+ exports.FontIcon = FontIcon;
@@ -0,0 +1,49 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ import { SvgIconProps } from './SvgIcon';
3
+ declare type DefaultData<V> = object | ((this: V) => {});
4
+ declare type DefaultMethods<V> = {
5
+ [key: string]: (this: V, ...args: any[]) => any;
6
+ };
7
+ /**
8
+ * @hidden
9
+ */
10
+ export interface IconProps extends SvgIconProps {
11
+ iconType?: string;
12
+ name?: string;
13
+ }
14
+ /**
15
+ * @hidden
16
+ */
17
+ export interface IconState {
18
+ }
19
+ /**
20
+ * @hidden
21
+ */
22
+ export interface IconComputed {
23
+ [key: string]: any;
24
+ }
25
+ /**
26
+ * @hidden
27
+ */
28
+ export interface IconMethods {
29
+ [key: string]: any;
30
+ }
31
+ /**
32
+ * @hidden
33
+ */
34
+ export interface IconData {
35
+ }
36
+ /**
37
+ * @hidden
38
+ */
39
+ export interface IconAll extends Vue2type, IconMethods, IconData, IconComputed, IconState {
40
+ }
41
+ /**
42
+ * @hidden
43
+ */
44
+ declare let IconVue2: ComponentOptions<IconAll, DefaultData<IconData>, DefaultMethods<IconAll>, IconComputed, RecordPropsDefinition<IconProps>>;
45
+ /**
46
+ * @hidden
47
+ */
48
+ declare const Icon: DefineComponent<IconProps, any, IconData, IconComputed, IconMethods, {}, {}, {}, string, IconProps, IconProps, {}>;
49
+ export { Icon, IconVue2 };