@frollo/frollo-web-ui 1.2.2 → 1.2.4
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 +1532 -726
- 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-accordion.js +100 -0
- 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 +822 -0
- package/esm/fw-input.js +6 -6
- package/esm/fw-loading-bar-525e9129.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-ca8d7e19.js → index-b3aa1664.js} +103 -75
- package/esm/index.js +39 -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 +1700 -809
- package/icons/index.ts +5 -1
- package/icons/plus.svg +3 -0
- package/icons/user.svg +3 -0
- package/index.d.ts +156 -15
- package/package.json +1 -1
- package/types/components/fw-accordion/fw-accordion.vue.d.ts +48 -0
- package/types/components/fw-accordion/index.d.ts +2 -0
- package/types/components/fw-accordion/index.types.d.ts +5 -0
- package/types/components/fw-image/fw-image.vue.d.ts +42 -0
- package/types/components/fw-image/index.d.ts +2 -0
- package/types/components/fw-image/index.types.d.ts +5 -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 +3 -0
- package/types/components/index.types.d.ts +2 -0
- package/types/directives/index.d.ts +2 -0
- package/types/directives/lazy-loader.d.ts +3 -0
- package/types/icons/index.d.ts +3 -1
- package/esm/index-16e7ac1e.js +0 -454
package/icons/index.ts
CHANGED
|
@@ -22,6 +22,8 @@ import LandmarkSvg from './landmark.svg';
|
|
|
22
22
|
import CoinsSvg from './coins.svg';
|
|
23
23
|
import CaretDownSvg from './caret-down.svg';
|
|
24
24
|
import SortLightSvg from './sort-light.svg';
|
|
25
|
+
import PlusSvg from './plus.svg';
|
|
26
|
+
import UserSvg from './user.svg';
|
|
25
27
|
|
|
26
28
|
export {
|
|
27
29
|
ViewSvg,
|
|
@@ -47,5 +49,7 @@ export {
|
|
|
47
49
|
LandmarkSvg,
|
|
48
50
|
CoinsSvg,
|
|
49
51
|
CaretDownSvg,
|
|
50
|
-
SortLightSvg
|
|
52
|
+
SortLightSvg,
|
|
53
|
+
PlusSvg,
|
|
54
|
+
UserSvg
|
|
51
55
|
};
|
package/icons/plus.svg
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg viewBox="0 0 46 46" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M45.75 23C45.75 23.9625 44.9625 24.75 44 24.75H24.75V44C24.75 44.9673 23.9673 45.7511 23 45.7511C22.0327 45.7511 21.25 44.9625 21.25 44V24.75H2C1.03269 24.75 0.25 23.968 0.25 23.0011C0.25 22.0375 1.03312 21.25 2 21.25H21.25V2C21.25 1.03269 22.0327 0.251099 23 0.251099C23.9673 0.251099 24.75 1.03313 24.75 2V21.25H44C44.9625 21.25 45.75 22.0375 45.75 23Z" />
|
|
3
|
+
</svg>
|
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$d: 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$b: 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$8: 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$7: 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$6: 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$2: 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,11 +994,135 @@ declare const _default$2: 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
|
+
}>;
|
|
1004
|
+
|
|
1005
|
+
declare const _default$6: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
1006
|
+
|
|
1007
|
+
declare const _default$5: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
1008
|
+
|
|
1009
|
+
declare const _default$4: vue.DefineComponent<{
|
|
1010
|
+
/**
|
|
1011
|
+
* The header title of the accordion
|
|
1012
|
+
*/
|
|
1013
|
+
title: {
|
|
1014
|
+
type: StringConstructor;
|
|
1015
|
+
};
|
|
1016
|
+
/**
|
|
1017
|
+
* Title suffix of the accordion header
|
|
1018
|
+
*/
|
|
1019
|
+
suffixTitle: {
|
|
1020
|
+
type: StringConstructor;
|
|
1021
|
+
};
|
|
1022
|
+
/**
|
|
1023
|
+
* Whether the accordion should be initially opened
|
|
1024
|
+
*/
|
|
1025
|
+
isOpened: {
|
|
1026
|
+
type: BooleanConstructor;
|
|
1027
|
+
default: boolean;
|
|
1028
|
+
};
|
|
1029
|
+
}, {
|
|
1030
|
+
isOpen: vue.Ref<boolean>;
|
|
1031
|
+
transitionEnter: (el: HTMLElement) => void;
|
|
1032
|
+
transitionLeave: (el: HTMLElement) => void;
|
|
1033
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1034
|
+
/**
|
|
1035
|
+
* The header title of the accordion
|
|
1036
|
+
*/
|
|
1037
|
+
title: {
|
|
1038
|
+
type: StringConstructor;
|
|
1039
|
+
};
|
|
1040
|
+
/**
|
|
1041
|
+
* Title suffix of the accordion header
|
|
1042
|
+
*/
|
|
1043
|
+
suffixTitle: {
|
|
1044
|
+
type: StringConstructor;
|
|
1045
|
+
};
|
|
1046
|
+
/**
|
|
1047
|
+
* Whether the accordion should be initially opened
|
|
1048
|
+
*/
|
|
1049
|
+
isOpened: {
|
|
1050
|
+
type: BooleanConstructor;
|
|
1051
|
+
default: boolean;
|
|
1052
|
+
};
|
|
1053
|
+
}>>, {
|
|
1054
|
+
isOpened: boolean;
|
|
1055
|
+
}>;
|
|
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
|
+
fwImageRef: vue.Ref<null>;
|
|
1076
|
+
isBackground: vue.ComputedRef<boolean>;
|
|
1077
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1078
|
+
/**
|
|
1079
|
+
* The src attribute of the image
|
|
1080
|
+
*/
|
|
1081
|
+
src: StringConstructor;
|
|
1082
|
+
/**
|
|
1083
|
+
* The alt attribute of the image
|
|
1084
|
+
*/
|
|
1085
|
+
alt: StringConstructor;
|
|
1086
|
+
/**
|
|
1087
|
+
* The type of component. Accepts 'background' and defaults to the native html5 element.
|
|
1088
|
+
*/
|
|
1089
|
+
type: {
|
|
1090
|
+
type: PropType<"native" | "background" | undefined>;
|
|
1091
|
+
default: string;
|
|
1092
|
+
validator: (value: string) => boolean;
|
|
1093
|
+
};
|
|
1094
|
+
}>>, {
|
|
1095
|
+
type: "native" | "background" | undefined;
|
|
1096
|
+
}>;
|
|
1097
|
+
|
|
1098
|
+
declare const _default$2: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
993
1099
|
|
|
994
1100
|
declare const _default$1: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{}>>, {}>;
|
|
995
1101
|
|
|
996
|
-
declare const _default: vue.DefineComponent<{
|
|
1102
|
+
declare const _default: vue.DefineComponent<{
|
|
1103
|
+
columns: {
|
|
1104
|
+
type: NumberConstructor;
|
|
1105
|
+
default: number;
|
|
1106
|
+
};
|
|
1107
|
+
rows: {
|
|
1108
|
+
type: NumberConstructor;
|
|
1109
|
+
default: number;
|
|
1110
|
+
};
|
|
1111
|
+
}, {
|
|
1112
|
+
tableClass: string;
|
|
1113
|
+
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Record<string, any>, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1114
|
+
columns: {
|
|
1115
|
+
type: NumberConstructor;
|
|
1116
|
+
default: number;
|
|
1117
|
+
};
|
|
1118
|
+
rows: {
|
|
1119
|
+
type: NumberConstructor;
|
|
1120
|
+
default: number;
|
|
1121
|
+
};
|
|
1122
|
+
}>>, {
|
|
1123
|
+
columns: number;
|
|
1124
|
+
rows: number;
|
|
1125
|
+
}>;
|
|
997
1126
|
|
|
998
1127
|
declare const __default__$1: vue.DefineComponent<{
|
|
999
1128
|
/**
|
|
@@ -1082,6 +1211,18 @@ declare interface FwCheckboxProps {
|
|
|
1082
1211
|
hint?: string;
|
|
1083
1212
|
}
|
|
1084
1213
|
|
|
1214
|
+
declare interface FwAccordionProps {
|
|
1215
|
+
title?: string;
|
|
1216
|
+
suffixTitle?: string;
|
|
1217
|
+
isOpened?: boolean;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
declare interface FwImageProps {
|
|
1221
|
+
src?: string;
|
|
1222
|
+
alt?: string;
|
|
1223
|
+
type?: 'native' | 'background';
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1085
1226
|
declare module '@frollo/frollo-web-ui/icons' { }
|
|
1086
1227
|
|
|
1087
|
-
export { ButtonAnimation, ButtonDefinition, ButtonDefinitionList, ButtonSize, ButtonSizes, ButtonTypeAttribute, ButtonVariantName, _default$
|
|
1228
|
+
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,48 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* The header title of the accordion
|
|
4
|
+
*/
|
|
5
|
+
title: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Title suffix of the accordion header
|
|
10
|
+
*/
|
|
11
|
+
suffixTitle: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Whether the accordion should be initially opened
|
|
16
|
+
*/
|
|
17
|
+
isOpened: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}, {
|
|
22
|
+
isOpen: import("vue").Ref<boolean>;
|
|
23
|
+
transitionEnter: (el: HTMLElement) => void;
|
|
24
|
+
transitionLeave: (el: HTMLElement) => void;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
/**
|
|
27
|
+
* The header title of the accordion
|
|
28
|
+
*/
|
|
29
|
+
title: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Title suffix of the accordion header
|
|
34
|
+
*/
|
|
35
|
+
suffixTitle: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Whether the accordion should be initially opened
|
|
40
|
+
*/
|
|
41
|
+
isOpened: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>>, {
|
|
46
|
+
isOpened: boolean;
|
|
47
|
+
}>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
fwImageRef: import("vue").Ref<null>;
|
|
21
|
+
isBackground: import("vue").ComputedRef<boolean>;
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
/**
|
|
24
|
+
* The src attribute of the image
|
|
25
|
+
*/
|
|
26
|
+
src: StringConstructor;
|
|
27
|
+
/**
|
|
28
|
+
* The alt attribute of the image
|
|
29
|
+
*/
|
|
30
|
+
alt: StringConstructor;
|
|
31
|
+
/**
|
|
32
|
+
* The type of component. Accepts 'background' and defaults to the native html5 element.
|
|
33
|
+
*/
|
|
34
|
+
type: {
|
|
35
|
+
type: PropType<"native" | "background" | undefined>;
|
|
36
|
+
default: string;
|
|
37
|
+
validator: (value: string) => boolean;
|
|
38
|
+
};
|
|
39
|
+
}>>, {
|
|
40
|
+
type: "native" | "background" | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
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;
|
|
@@ -8,3 +8,5 @@ export * from '../components/fw-progress-bar/index.types';
|
|
|
8
8
|
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
|
+
export * from '../components/fw-accordion/index.types';
|
|
12
|
+
export * from '../components/fw-image/index.types';
|
package/types/icons/index.d.ts
CHANGED
|
@@ -22,4 +22,6 @@ import LandmarkSvg from './landmark.svg';
|
|
|
22
22
|
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';
|
|
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 };
|