@frollo/frollo-web-ui 1.2.3 → 1.2.5
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.
- package/cjs/index.js +1451 -719
- package/esm/{add-to-unscopables-44076600.js → add-to-unscopables-a5032b1d.js} +4 -4
- package/esm/{array-iteration-10670eca.js → array-iteration-4f83e223.js} +4 -4
- package/esm/{classof-b2d09c70.js → classof-088c9833.js} +2 -2
- package/esm/create-property-da6d232b.js +26 -0
- package/esm/es.array.find-54b8f84b.js +52 -0
- package/esm/{es.array.includes-b402df81.js → es.array.includes-9a6e4066.js} +4 -4
- package/esm/{es.function.name-383fcdbc.js → es.function.name-2fa3a718.js} +1 -1
- package/esm/{es.number.constructor-6def8fd9.js → es.number.constructor-b7faae1f.js} +5 -3
- package/esm/{function-name-0d296891.js → function-name-c49146fc.js} +1 -1
- package/esm/fw-animations.js +5 -5
- package/esm/{fw-button-fb8e3fe2.js → fw-button-d5d2cf19.js} +1 -1
- package/esm/fw-button.js +6 -6
- package/esm/fw-checkbox.js +2 -2
- package/esm/fw-dropdown.js +9 -54
- package/esm/fw-image.js +848 -0
- package/esm/fw-input.js +6 -6
- package/esm/fw-loading-bar-da7d53fb.js +22 -0
- package/esm/fw-loading.js +96 -0
- package/esm/fw-modal.js +7 -7
- package/esm/fw-navigation-menu.js +6 -6
- package/esm/fw-progress-bar.js +5 -5
- package/esm/fw-table.js +466 -8
- package/esm/fw-tabs.js +8 -8
- package/esm/fw-tag.js +5 -5
- package/esm/{index-26d82b11.js → index-7d8c95be.js} +2 -2
- package/esm/{index-ed9adbea.js → index-b3aa1664.js} +94 -80
- package/esm/index.js +36 -199
- package/esm/{is-forced-2369382d.js → is-forced-fd46b5f2.js} +2 -2
- package/esm/{object-keys-f9d76c12.js → object-keys-3c73c404.js} +2 -2
- package/esm/{to-string-2588bbbe.js → to-string-c2bd1f4d.js} +2 -2
- package/frollo-web-ui.esm.js +1635 -829
- package/icons/index.ts +3 -1
- package/icons/user.svg +3 -0
- package/index.d.ts +149 -17
- package/package.json +1 -1
- package/types/components/fw-image/fw-image.vue.d.ts +84 -0
- package/types/components/fw-image/index.d.ts +2 -0
- package/types/components/fw-image/index.types.d.ts +8 -0
- package/types/components/fw-loading/fw-loading-bar.vue.d.ts +2 -0
- package/types/components/fw-loading/fw-loading-card.vue.d.ts +2 -0
- package/types/components/fw-loading/fw-loading-table.vue.d.ts +25 -0
- package/types/components/fw-loading/index.d.ts +4 -0
- package/types/components/fw-table/fw-table.vue.d.ts +11 -1
- package/types/components/fw-table/index.types.d.ts +1 -0
- package/types/components/index.d.ts +2 -0
- package/types/components/index.types.d.ts +1 -0
- package/types/directives/index.d.ts +2 -0
- package/types/directives/lazy-loader.d.ts +3 -0
- package/types/icons/index.d.ts +2 -1
- package/esm/index-2ee67707.js +0 -454
package/icons/index.ts
CHANGED
|
@@ -23,6 +23,7 @@ import CoinsSvg from './coins.svg';
|
|
|
23
23
|
import CaretDownSvg from './caret-down.svg';
|
|
24
24
|
import SortLightSvg from './sort-light.svg';
|
|
25
25
|
import PlusSvg from './plus.svg';
|
|
26
|
+
import UserSvg from './user.svg';
|
|
26
27
|
|
|
27
28
|
export {
|
|
28
29
|
ViewSvg,
|
|
@@ -49,5 +50,6 @@ export {
|
|
|
49
50
|
CoinsSvg,
|
|
50
51
|
CaretDownSvg,
|
|
51
52
|
SortLightSvg,
|
|
52
|
-
PlusSvg
|
|
53
|
+
PlusSvg,
|
|
54
|
+
UserSvg
|
|
53
55
|
};
|
package/icons/user.svg
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 26 27" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M13 13.5C16.535 13.5 19.4 10.6345 19.4 7.09995C19.4 3.56545 16.535 0.699951 13 0.699951C9.46499 0.699951 6.59999 3.56545 6.59999 7.09995C6.59999 10.6345 9.46499 13.5 13 13.5ZM13 2.29995C15.647 2.29995 17.8 4.45295 17.8 7.09995C17.8 9.74645 15.647 11.9 13 11.9C10.353 11.9 8.19999 9.74495 8.19999 7.09995C8.19999 4.45295 10.355 2.29995 13 2.29995ZM15.535 15.9H10.465C5.68049 15.9 1.79999 19.78 1.79999 24.565C1.79999 25.522 2.57599 26.2985 3.53299 26.2985H22.468C23.425 26.3 24.2 25.525 24.2 24.565C24.2 19.78 20.32 15.9 15.535 15.9ZM22.465 24.7H3.53299C3.45999 24.7 3.39999 24.64 3.39999 24.565C3.39999 20.67 6.56999 17.5 10.465 17.5H15.53C19.43 17.5 22.6 20.67 22.6 24.565C22.6 24.64 22.54 24.7 22.465 24.7Z" />
|
|
3
|
+
</svg>
|
package/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare interface FwInputProps {
|
|
|
18
18
|
tabindex?: string;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
declare const _default$
|
|
21
|
+
declare const _default$i: vue.DefineComponent<{
|
|
22
22
|
/**
|
|
23
23
|
* The input v-model
|
|
24
24
|
*/
|
|
@@ -169,7 +169,7 @@ declare const _default$e: vue.DefineComponent<{
|
|
|
169
169
|
tabindex: string;
|
|
170
170
|
}>;
|
|
171
171
|
|
|
172
|
-
declare const _default$
|
|
172
|
+
declare const _default$h: vue.DefineComponent<{
|
|
173
173
|
/**
|
|
174
174
|
* The name of the input field. Must be unique per form.
|
|
175
175
|
*/
|
|
@@ -236,7 +236,7 @@ declare interface FwDropdownProps {
|
|
|
236
236
|
placeholder?: string;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
declare const _default$
|
|
239
|
+
declare const _default$g: vue.DefineComponent<{
|
|
240
240
|
/**
|
|
241
241
|
* The select v-model
|
|
242
242
|
*/
|
|
@@ -347,7 +347,7 @@ declare const _default$c: vue.DefineComponent<{
|
|
|
347
347
|
placeholder: string;
|
|
348
348
|
}>;
|
|
349
349
|
|
|
350
|
-
declare const _default$
|
|
350
|
+
declare const _default$f: vue.DefineComponent<{
|
|
351
351
|
/**
|
|
352
352
|
* The header title of the card
|
|
353
353
|
*/
|
|
@@ -454,7 +454,7 @@ declare interface FwButtonProps {
|
|
|
454
454
|
rounded?: boolean;
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
declare const _default$
|
|
457
|
+
declare const _default$e: vue.DefineComponent<{
|
|
458
458
|
/**
|
|
459
459
|
* A `router-link` path or object
|
|
460
460
|
*/
|
|
@@ -590,7 +590,7 @@ declare interface NavMenuItem {
|
|
|
590
590
|
label: string;
|
|
591
591
|
}
|
|
592
592
|
|
|
593
|
-
declare const _default$
|
|
593
|
+
declare const _default$d: vue.DefineComponent<{
|
|
594
594
|
/**
|
|
595
595
|
* An array of menu items
|
|
596
596
|
* `{ to?: string | object; href?: string; label: string; }`
|
|
@@ -629,7 +629,7 @@ declare const _default$9: vue.DefineComponent<{
|
|
|
629
629
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
630
630
|
}, {}>;
|
|
631
631
|
|
|
632
|
-
declare const _default$
|
|
632
|
+
declare const _default$c: vue.DefineComponent<{
|
|
633
633
|
/**
|
|
634
634
|
* The active tab v-model
|
|
635
635
|
*/
|
|
@@ -653,7 +653,7 @@ declare const _default$8: vue.DefineComponent<{
|
|
|
653
653
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
654
654
|
}, {}>;
|
|
655
655
|
|
|
656
|
-
declare const _default$
|
|
656
|
+
declare const _default$b: vue.DefineComponent<{
|
|
657
657
|
/**
|
|
658
658
|
* The label of the tab component used as the button panel label
|
|
659
659
|
*/
|
|
@@ -685,7 +685,7 @@ declare const _default$7: vue.DefineComponent<{
|
|
|
685
685
|
};
|
|
686
686
|
}>>, {}>;
|
|
687
687
|
|
|
688
|
-
declare const _default$
|
|
688
|
+
declare const _default$a: vue.DefineComponent<{
|
|
689
689
|
/**
|
|
690
690
|
* The header title of the modal
|
|
691
691
|
*/
|
|
@@ -834,7 +834,7 @@ declare interface ProgressBarStep {
|
|
|
834
834
|
subSteps: number;
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
-
declare const _default$
|
|
837
|
+
declare const _default$9: vue.DefineComponent<{
|
|
838
838
|
/**
|
|
839
839
|
* An array of menu progress steps.
|
|
840
840
|
* `{ label: string; position: number; subSteps: number; }`
|
|
@@ -901,7 +901,7 @@ declare interface FwTagProps {
|
|
|
901
901
|
variant?: TagVariantName;
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
declare const _default$
|
|
904
|
+
declare const _default$8: vue.DefineComponent<{
|
|
905
905
|
/**
|
|
906
906
|
* The size of the tag. Accepts: 'xs' & 'sm'
|
|
907
907
|
*/
|
|
@@ -958,9 +958,10 @@ declare type FwTableSort = 'asc' | 'desc';
|
|
|
958
958
|
declare interface FwTableProps {
|
|
959
959
|
items: FwTableItem[];
|
|
960
960
|
options?: FwTableItemOptions;
|
|
961
|
+
loading?: boolean;
|
|
961
962
|
}
|
|
962
963
|
|
|
963
|
-
declare const _default$
|
|
964
|
+
declare const _default$7: vue.DefineComponent<{
|
|
964
965
|
items: {
|
|
965
966
|
type: PropType<FwTableItem[]>;
|
|
966
967
|
required: true;
|
|
@@ -969,6 +970,10 @@ declare const _default$3: vue.DefineComponent<{
|
|
|
969
970
|
type: PropType<FwTableItemOptions | undefined>;
|
|
970
971
|
required: false;
|
|
971
972
|
};
|
|
973
|
+
loading: {
|
|
974
|
+
type: BooleanConstructor;
|
|
975
|
+
default: boolean;
|
|
976
|
+
};
|
|
972
977
|
}, {
|
|
973
978
|
columns: vue.ComputedRef<string[]>;
|
|
974
979
|
sortBy: vue.Ref<string>;
|
|
@@ -989,13 +994,19 @@ declare const _default$3: vue.DefineComponent<{
|
|
|
989
994
|
type: PropType<FwTableItemOptions | undefined>;
|
|
990
995
|
required: false;
|
|
991
996
|
};
|
|
992
|
-
|
|
997
|
+
loading: {
|
|
998
|
+
type: BooleanConstructor;
|
|
999
|
+
default: boolean;
|
|
1000
|
+
};
|
|
1001
|
+
}>>, {
|
|
1002
|
+
loading: boolean;
|
|
1003
|
+
}>;
|
|
993
1004
|
|
|
994
|
-
declare const _default$
|
|
1005
|
+
declare const _default$6: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
995
1006
|
|
|
996
|
-
declare const _default$
|
|
1007
|
+
declare const _default$5: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
997
1008
|
|
|
998
|
-
declare const _default: vue.DefineComponent<{
|
|
1009
|
+
declare const _default$4: vue.DefineComponent<{
|
|
999
1010
|
/**
|
|
1000
1011
|
* The header title of the accordion
|
|
1001
1012
|
*/
|
|
@@ -1043,6 +1054,118 @@ declare const _default: vue.DefineComponent<{
|
|
|
1043
1054
|
isOpened: boolean;
|
|
1044
1055
|
}>;
|
|
1045
1056
|
|
|
1057
|
+
declare const _default$3: vue.DefineComponent<{
|
|
1058
|
+
/**
|
|
1059
|
+
* The src attribute of the image
|
|
1060
|
+
*/
|
|
1061
|
+
src: StringConstructor;
|
|
1062
|
+
/**
|
|
1063
|
+
* The alt attribute of the image
|
|
1064
|
+
*/
|
|
1065
|
+
alt: StringConstructor;
|
|
1066
|
+
/**
|
|
1067
|
+
* The type of component. Accepts 'background' and defaults to the native html5 element.
|
|
1068
|
+
*/
|
|
1069
|
+
type: {
|
|
1070
|
+
type: PropType<"native" | "background" | undefined>;
|
|
1071
|
+
default: string;
|
|
1072
|
+
validator: (value: string) => boolean;
|
|
1073
|
+
};
|
|
1074
|
+
/**
|
|
1075
|
+
* Whether the loading bar and error state are rounded.
|
|
1076
|
+
*/
|
|
1077
|
+
rounded: {
|
|
1078
|
+
type: BooleanConstructor;
|
|
1079
|
+
default: boolean;
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* The class for the native image element
|
|
1083
|
+
*/
|
|
1084
|
+
imageClass: {
|
|
1085
|
+
type: StringConstructor;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* Controls the threshold before the component triggers the src url.
|
|
1089
|
+
*/
|
|
1090
|
+
threshold: {
|
|
1091
|
+
type: NumberConstructor;
|
|
1092
|
+
default: number;
|
|
1093
|
+
};
|
|
1094
|
+
}, {
|
|
1095
|
+
fwImageRef: vue.Ref<null>;
|
|
1096
|
+
isBackground: vue.ComputedRef<boolean>;
|
|
1097
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1098
|
+
/**
|
|
1099
|
+
* The src attribute of the image
|
|
1100
|
+
*/
|
|
1101
|
+
src: StringConstructor;
|
|
1102
|
+
/**
|
|
1103
|
+
* The alt attribute of the image
|
|
1104
|
+
*/
|
|
1105
|
+
alt: StringConstructor;
|
|
1106
|
+
/**
|
|
1107
|
+
* The type of component. Accepts 'background' and defaults to the native html5 element.
|
|
1108
|
+
*/
|
|
1109
|
+
type: {
|
|
1110
|
+
type: PropType<"native" | "background" | undefined>;
|
|
1111
|
+
default: string;
|
|
1112
|
+
validator: (value: string) => boolean;
|
|
1113
|
+
};
|
|
1114
|
+
/**
|
|
1115
|
+
* Whether the loading bar and error state are rounded.
|
|
1116
|
+
*/
|
|
1117
|
+
rounded: {
|
|
1118
|
+
type: BooleanConstructor;
|
|
1119
|
+
default: boolean;
|
|
1120
|
+
};
|
|
1121
|
+
/**
|
|
1122
|
+
* The class for the native image element
|
|
1123
|
+
*/
|
|
1124
|
+
imageClass: {
|
|
1125
|
+
type: StringConstructor;
|
|
1126
|
+
};
|
|
1127
|
+
/**
|
|
1128
|
+
* Controls the threshold before the component triggers the src url.
|
|
1129
|
+
*/
|
|
1130
|
+
threshold: {
|
|
1131
|
+
type: NumberConstructor;
|
|
1132
|
+
default: number;
|
|
1133
|
+
};
|
|
1134
|
+
}>>, {
|
|
1135
|
+
type: "native" | "background" | undefined;
|
|
1136
|
+
rounded: boolean;
|
|
1137
|
+
threshold: number;
|
|
1138
|
+
}>;
|
|
1139
|
+
|
|
1140
|
+
declare const _default$2: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
1141
|
+
|
|
1142
|
+
declare const _default$1: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
1143
|
+
|
|
1144
|
+
declare const _default: vue.DefineComponent<{
|
|
1145
|
+
columns: {
|
|
1146
|
+
type: NumberConstructor;
|
|
1147
|
+
default: number;
|
|
1148
|
+
};
|
|
1149
|
+
rows: {
|
|
1150
|
+
type: NumberConstructor;
|
|
1151
|
+
default: number;
|
|
1152
|
+
};
|
|
1153
|
+
}, {
|
|
1154
|
+
tableClass: string;
|
|
1155
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1156
|
+
columns: {
|
|
1157
|
+
type: NumberConstructor;
|
|
1158
|
+
default: number;
|
|
1159
|
+
};
|
|
1160
|
+
rows: {
|
|
1161
|
+
type: NumberConstructor;
|
|
1162
|
+
default: number;
|
|
1163
|
+
};
|
|
1164
|
+
}>>, {
|
|
1165
|
+
columns: number;
|
|
1166
|
+
rows: number;
|
|
1167
|
+
}>;
|
|
1168
|
+
|
|
1046
1169
|
declare const __default__$1: vue.DefineComponent<{
|
|
1047
1170
|
/**
|
|
1048
1171
|
* The animation-iteration-count CSS property of the pulse animation.
|
|
@@ -1136,6 +1259,15 @@ declare interface FwAccordionProps {
|
|
|
1136
1259
|
isOpened?: boolean;
|
|
1137
1260
|
}
|
|
1138
1261
|
|
|
1262
|
+
declare interface FwImageProps {
|
|
1263
|
+
src?: string;
|
|
1264
|
+
alt?: string;
|
|
1265
|
+
type?: 'native' | 'background';
|
|
1266
|
+
rounded?: boolean;
|
|
1267
|
+
imageClass?: string;
|
|
1268
|
+
threshold?: number;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1139
1271
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
1140
1272
|
|
|
1141
|
-
export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default as FwAccordion, FwAccordionProps, _default$
|
|
1273
|
+
export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$4 as FwAccordion, FwAccordionProps, _default$e as FwButton, FwButtonProps, _default$f as FwCard, FwCardProps, _default$h as FwCheckbox, FwCheckboxProps, _default$g as FwDropdown, FwDropdownOption, FwDropdownProps, __default__$1 as FwEmailPulse, _default$3 as FwImage, FwImageProps, _default$i as FwInput, FwInputProps, FwInputType, _default$2 as FwLoadingBar, _default$1 as FwLoadingCard, _default as FwLoadingTable, _default$a as FwModal, FwModalProps, _default$d as FwNavigationMenu, _default$9 as FwProgressBar, __default__ as FwSuccessPulse, _default$b as FwTab, _default$7 as FwTable, FwTableFormatFunction, _default$6 as FwTableHead, FwTableItem, FwTableItemOptions, FwTableProps, _default$5 as FwTableRow, FwTableSort, _default$c as FwTabs, _default$8 as FwTag, FwTagProps, ModalServiceProps, NavMenuItem, ProgressBarStep, TagDefinition, TagDefinitionList, TagSize, TagSizes, TagVariantName, install as default, modalService };
|
package/package.json
CHANGED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
/**
|
|
4
|
+
* The src attribute of the image
|
|
5
|
+
*/
|
|
6
|
+
src: StringConstructor;
|
|
7
|
+
/**
|
|
8
|
+
* The alt attribute of the image
|
|
9
|
+
*/
|
|
10
|
+
alt: StringConstructor;
|
|
11
|
+
/**
|
|
12
|
+
* The type of component. Accepts 'background' and defaults to the native html5 element.
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: PropType<"native" | "background" | undefined>;
|
|
16
|
+
default: string;
|
|
17
|
+
validator: (value: string) => boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Whether the loading bar and error state are rounded.
|
|
21
|
+
*/
|
|
22
|
+
rounded: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* The class for the native image element
|
|
28
|
+
*/
|
|
29
|
+
imageClass: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Controls the threshold before the component triggers the src url.
|
|
34
|
+
*/
|
|
35
|
+
threshold: {
|
|
36
|
+
type: NumberConstructor;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
fwImageRef: import("vue").Ref<null>;
|
|
41
|
+
isBackground: import("vue").ComputedRef<boolean>;
|
|
42
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
/**
|
|
44
|
+
* The src attribute of the image
|
|
45
|
+
*/
|
|
46
|
+
src: StringConstructor;
|
|
47
|
+
/**
|
|
48
|
+
* The alt attribute of the image
|
|
49
|
+
*/
|
|
50
|
+
alt: StringConstructor;
|
|
51
|
+
/**
|
|
52
|
+
* The type of component. Accepts 'background' and defaults to the native html5 element.
|
|
53
|
+
*/
|
|
54
|
+
type: {
|
|
55
|
+
type: PropType<"native" | "background" | undefined>;
|
|
56
|
+
default: string;
|
|
57
|
+
validator: (value: string) => boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Whether the loading bar and error state are rounded.
|
|
61
|
+
*/
|
|
62
|
+
rounded: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* The class for the native image element
|
|
68
|
+
*/
|
|
69
|
+
imageClass: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Controls the threshold before the component triggers the src url.
|
|
74
|
+
*/
|
|
75
|
+
threshold: {
|
|
76
|
+
type: NumberConstructor;
|
|
77
|
+
default: number;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
type: "native" | "background" | undefined;
|
|
81
|
+
rounded: boolean;
|
|
82
|
+
threshold: number;
|
|
83
|
+
}>;
|
|
84
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
columns: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
rows: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
tableClass: string;
|
|
12
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
columns: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
rows: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
}>>, {
|
|
22
|
+
columns: number;
|
|
23
|
+
rows: number;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
@@ -9,6 +9,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
type: PropType<import("./index.types").FwTableItemOptions | undefined>;
|
|
10
10
|
required: false;
|
|
11
11
|
};
|
|
12
|
+
loading: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
12
16
|
}, {
|
|
13
17
|
columns: import("vue").ComputedRef<string[]>;
|
|
14
18
|
sortBy: import("vue").Ref<string>;
|
|
@@ -29,5 +33,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
33
|
type: PropType<import("./index.types").FwTableItemOptions | undefined>;
|
|
30
34
|
required: false;
|
|
31
35
|
};
|
|
32
|
-
|
|
36
|
+
loading: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}>>, {
|
|
41
|
+
loading: boolean;
|
|
42
|
+
}>;
|
|
33
43
|
export default _default;
|
|
@@ -9,3 +9,4 @@ export * from '../components/fw-tag/index.types';
|
|
|
9
9
|
export * from '../components/fw-table/index.types';
|
|
10
10
|
export * from '../components/fw-dropdown/index.types';
|
|
11
11
|
export * from '../components/fw-accordion/index.types';
|
|
12
|
+
export * from '../components/fw-image/index.types';
|
package/types/icons/index.d.ts
CHANGED
|
@@ -23,4 +23,5 @@ import CoinsSvg from './coins.svg';
|
|
|
23
23
|
import CaretDownSvg from './caret-down.svg';
|
|
24
24
|
import SortLightSvg from './sort-light.svg';
|
|
25
25
|
import PlusSvg from './plus.svg';
|
|
26
|
-
|
|
26
|
+
import UserSvg from './user.svg';
|
|
27
|
+
export { ViewSvg, GenerateSvg, ManageSvg, NotFoundSvg, EmailFilledSvg, AlertSvg, LockSvg, EyeSvg, EyeCrossedSvg, DownloadSvg, IdCardSvg, InfoCircleSvg, FileExclamationSvg, HourglassClockSvg, EnvelopeSvg, CheckSvg, ChevronUpSvg, ChevronDownSvg, ErrorFilledSvg, LightBulbSvg, LandmarkSvg, CoinsSvg, CaretDownSvg, SortLightSvg, PlusSvg, UserSvg };
|