@fkui/vue 5.37.1 → 5.37.3
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/dist/cjs/index.cjs.js +41 -16
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +42 -17
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +58 -48
- package/htmlvalidate/elements/components.js +4 -0
- package/package.json +8 -8
package/dist/types/index.d.ts
CHANGED
|
@@ -545,10 +545,6 @@ export { _default_3 as FRadioGroupField }
|
|
|
545
545
|
*/
|
|
546
546
|
export declare function dispatchComponentValidityEvent(element: Element, detail: ComponentValidityEvent): void;
|
|
547
547
|
|
|
548
|
-
/* Excluded from this release type: EmptyTableRow */
|
|
549
|
-
|
|
550
|
-
/* Excluded from this release type: emptyTableRow */
|
|
551
|
-
|
|
552
548
|
/**
|
|
553
549
|
* @public
|
|
554
550
|
*/
|
|
@@ -2070,17 +2066,15 @@ default: boolean;
|
|
|
2070
2066
|
scroll: {
|
|
2071
2067
|
type: PropType<TableScroll>;
|
|
2072
2068
|
default: TableScroll;
|
|
2073
|
-
validator
|
|
2069
|
+
validator(value: string): boolean;
|
|
2074
2070
|
};
|
|
2075
2071
|
}, FSortFilterDatasetInterface, {
|
|
2076
2072
|
columns: FTableColumnData[];
|
|
2077
|
-
emptyRow: Record<string, unknown>;
|
|
2078
2073
|
}, {
|
|
2079
2074
|
hasCaption(): boolean;
|
|
2080
2075
|
tableClasses(): string[];
|
|
2081
2076
|
isEmpty(): boolean;
|
|
2082
2077
|
visibleColumns(): FTableColumnData[];
|
|
2083
|
-
hasInitiateColumns(): boolean;
|
|
2084
2078
|
wrapperClasses(): string[];
|
|
2085
2079
|
tabindex(): number | undefined;
|
|
2086
2080
|
}, {
|
|
@@ -2128,7 +2122,7 @@ default: boolean;
|
|
|
2128
2122
|
scroll: {
|
|
2129
2123
|
type: PropType<TableScroll>;
|
|
2130
2124
|
default: TableScroll;
|
|
2131
|
-
validator
|
|
2125
|
+
validator(value: string): boolean;
|
|
2132
2126
|
};
|
|
2133
2127
|
}>>, {
|
|
2134
2128
|
scroll: TableScroll;
|
|
@@ -3857,7 +3851,6 @@ default: undefined;
|
|
|
3857
3851
|
}, FSortFilterDatasetInterface & ActivateItemInterface & ExpandableTable, FInteractiveTableData, {
|
|
3858
3852
|
hasCaption(): boolean;
|
|
3859
3853
|
hasCheckboxDescription(): boolean;
|
|
3860
|
-
hasInitiateColumns(): boolean;
|
|
3861
3854
|
isEmpty(): boolean;
|
|
3862
3855
|
visibleColumns(): FTableColumnData[];
|
|
3863
3856
|
tableClasses(): string[];
|
|
@@ -3986,7 +3979,6 @@ expandableDescribedby: string;
|
|
|
3986
3979
|
export declare interface FInteractiveTableData {
|
|
3987
3980
|
activeRow: ListItem | undefined;
|
|
3988
3981
|
columns: FTableColumnData[];
|
|
3989
|
-
emptyRow: Record<string, unknown>;
|
|
3990
3982
|
selectedRows: ListArray;
|
|
3991
3983
|
tr: HTMLElement[];
|
|
3992
3984
|
}
|
|
@@ -6987,6 +6979,14 @@ export declare interface FTableInterface {
|
|
|
6987
6979
|
* Used to hide label (sr-only) and enable `IPopupError`, for inputfields enclosed by a table.
|
|
6988
6980
|
*/
|
|
6989
6981
|
textFieldTableMode: boolean;
|
|
6982
|
+
/**
|
|
6983
|
+
* Enables/Disables rendering of column content.
|
|
6984
|
+
*
|
|
6985
|
+
* - When enabled the column will be rendered as normal
|
|
6986
|
+
* - When disabled the column will be registered in the table component but
|
|
6987
|
+
* no actual content will be rendered.
|
|
6988
|
+
*/
|
|
6989
|
+
readonly renderColumns: boolean;
|
|
6990
6990
|
}
|
|
6991
6991
|
|
|
6992
6992
|
export declare const FTextareaField: DefineComponent< {
|
|
@@ -7906,11 +7906,12 @@ export declare function hasParentByName(vm: ComponentPublicInstance | undefined
|
|
|
7906
7906
|
* @param vm - Component instance.
|
|
7907
7907
|
* @param name - Name of the slot to check for.
|
|
7908
7908
|
* @param props - Props required by a scoped slot.
|
|
7909
|
+
* @param options - Render options.
|
|
7909
7910
|
* @returns true if the slot is implemented and have non-empty content.
|
|
7910
7911
|
*/
|
|
7911
7912
|
export declare function hasSlot(vm: {
|
|
7912
7913
|
$slots: Slots;
|
|
7913
|
-
}, name: string, props?: Record<string, unknown>): boolean;
|
|
7914
|
+
}, name: string, props?: Record<string, unknown>, options?: Partial<RenderSlotOptions>): boolean;
|
|
7914
7915
|
|
|
7915
7916
|
export declare const IAnimateExpand: DefineComponent< {
|
|
7916
7917
|
/**
|
|
@@ -8879,6 +8880,27 @@ export declare interface IPopupErrorData {
|
|
|
8879
8880
|
|
|
8880
8881
|
export declare const IPopupMenu: DefineComponent< {
|
|
8881
8882
|
/**
|
|
8883
|
+
* Key of the currently selected and highlighted item.
|
|
8884
|
+
*
|
|
8885
|
+
* @model
|
|
8886
|
+
*/
|
|
8887
|
+
modelValue: {
|
|
8888
|
+
type: StringConstructor;
|
|
8889
|
+
required: false;
|
|
8890
|
+
default: string;
|
|
8891
|
+
};
|
|
8892
|
+
/**
|
|
8893
|
+
* Key of the currently focused item.
|
|
8894
|
+
* Sets focus on matching item element when value changes.
|
|
8895
|
+
*
|
|
8896
|
+
* @model
|
|
8897
|
+
*/
|
|
8898
|
+
focusedItem: {
|
|
8899
|
+
type: StringConstructor;
|
|
8900
|
+
required: false;
|
|
8901
|
+
default: string;
|
|
8902
|
+
};
|
|
8903
|
+
/**
|
|
8882
8904
|
* Toggle open/closed popup.
|
|
8883
8905
|
*/
|
|
8884
8906
|
isOpen: {
|
|
@@ -8893,15 +8915,6 @@ type: PropType<HTMLElement | undefined>;
|
|
|
8893
8915
|
default: undefined;
|
|
8894
8916
|
};
|
|
8895
8917
|
/**
|
|
8896
|
-
* The currently highlighted menu item key
|
|
8897
|
-
* @model
|
|
8898
|
-
*/
|
|
8899
|
-
modelValue: {
|
|
8900
|
-
type: StringConstructor;
|
|
8901
|
-
required: false;
|
|
8902
|
-
default: string;
|
|
8903
|
-
};
|
|
8904
|
-
/**
|
|
8905
8918
|
* The items to be diplayed in the menu
|
|
8906
8919
|
*/
|
|
8907
8920
|
items: {
|
|
@@ -8909,14 +8922,6 @@ type: PropType<IMenuItem[]>;
|
|
|
8909
8922
|
required: true;
|
|
8910
8923
|
};
|
|
8911
8924
|
/**
|
|
8912
|
-
* The key of the currently selected focused item
|
|
8913
|
-
*/
|
|
8914
|
-
focusedItemKey: {
|
|
8915
|
-
type: StringConstructor;
|
|
8916
|
-
required: false;
|
|
8917
|
-
default: string;
|
|
8918
|
-
};
|
|
8919
|
-
/**
|
|
8920
8925
|
* If true, enable built-in keyboard navigation
|
|
8921
8926
|
*/
|
|
8922
8927
|
enableKeyboardNavigation: {
|
|
@@ -8949,13 +8954,34 @@ focusElement(): HTMLElement | null;
|
|
|
8949
8954
|
findItemByKey(key: string): IMenuItem | undefined;
|
|
8950
8955
|
indexOfItemByKey(key: string): number;
|
|
8951
8956
|
onClickItem(item: IMenuItem, doClick?: boolean): Promise<void>;
|
|
8952
|
-
|
|
8957
|
+
itemClasses(item: IMenuItem): string[];
|
|
8953
8958
|
setFocusOnItem(index: number): Promise<void>;
|
|
8954
8959
|
activateItem(index: number): Promise<void>;
|
|
8955
8960
|
setFocusedItemIndex(index: number): void;
|
|
8956
8961
|
onKeyUp(event: KeyboardEvent): void;
|
|
8957
8962
|
onKeyDown(event: KeyboardEvent): Promise<void>;
|
|
8958
|
-
}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "close" | "update:modelValue")[], "select" | "close" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
8963
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "close" | "update:modelValue" | "update:focusedItem")[], "select" | "close" | "update:modelValue" | "update:focusedItem", PublicProps, Readonly<ExtractPropTypes< {
|
|
8964
|
+
/**
|
|
8965
|
+
* Key of the currently selected and highlighted item.
|
|
8966
|
+
*
|
|
8967
|
+
* @model
|
|
8968
|
+
*/
|
|
8969
|
+
modelValue: {
|
|
8970
|
+
type: StringConstructor;
|
|
8971
|
+
required: false;
|
|
8972
|
+
default: string;
|
|
8973
|
+
};
|
|
8974
|
+
/**
|
|
8975
|
+
* Key of the currently focused item.
|
|
8976
|
+
* Sets focus on matching item element when value changes.
|
|
8977
|
+
*
|
|
8978
|
+
* @model
|
|
8979
|
+
*/
|
|
8980
|
+
focusedItem: {
|
|
8981
|
+
type: StringConstructor;
|
|
8982
|
+
required: false;
|
|
8983
|
+
default: string;
|
|
8984
|
+
};
|
|
8959
8985
|
/**
|
|
8960
8986
|
* Toggle open/closed popup.
|
|
8961
8987
|
*/
|
|
@@ -8971,15 +8997,6 @@ type: PropType<HTMLElement | undefined>;
|
|
|
8971
8997
|
default: undefined;
|
|
8972
8998
|
};
|
|
8973
8999
|
/**
|
|
8974
|
-
* The currently highlighted menu item key
|
|
8975
|
-
* @model
|
|
8976
|
-
*/
|
|
8977
|
-
modelValue: {
|
|
8978
|
-
type: StringConstructor;
|
|
8979
|
-
required: false;
|
|
8980
|
-
default: string;
|
|
8981
|
-
};
|
|
8982
|
-
/**
|
|
8983
9000
|
* The items to be diplayed in the menu
|
|
8984
9001
|
*/
|
|
8985
9002
|
items: {
|
|
@@ -8987,14 +9004,6 @@ type: PropType<IMenuItem[]>;
|
|
|
8987
9004
|
required: true;
|
|
8988
9005
|
};
|
|
8989
9006
|
/**
|
|
8990
|
-
* The key of the currently selected focused item
|
|
8991
|
-
*/
|
|
8992
|
-
focusedItemKey: {
|
|
8993
|
-
type: StringConstructor;
|
|
8994
|
-
required: false;
|
|
8995
|
-
default: string;
|
|
8996
|
-
};
|
|
8997
|
-
/**
|
|
8998
9007
|
* If true, enable built-in keyboard navigation
|
|
8999
9008
|
*/
|
|
9000
9009
|
enableKeyboardNavigation: {
|
|
@@ -9022,13 +9031,14 @@ default: string;
|
|
|
9022
9031
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
9023
9032
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
9024
9033
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
9034
|
+
"onUpdate:focusedItem"?: ((...args: any[]) => any) | undefined;
|
|
9025
9035
|
}, {
|
|
9026
9036
|
anchor: HTMLElement | undefined;
|
|
9027
9037
|
modelValue: string;
|
|
9028
9038
|
ariaLabel: string;
|
|
9029
|
-
focusedItemKey: string;
|
|
9030
9039
|
enableKeyboardNavigation: boolean;
|
|
9031
9040
|
selectedMenuItemScreenReaderText: string;
|
|
9041
|
+
focusedItem: string;
|
|
9032
9042
|
}, {}>;
|
|
9033
9043
|
|
|
9034
9044
|
/**
|
|
@@ -1300,6 +1300,10 @@ module.exports = defineMetadata({
|
|
|
1300
1300
|
flow: true,
|
|
1301
1301
|
permittedContent: ["f-wizard-step", "@flow"],
|
|
1302
1302
|
attributes: {
|
|
1303
|
+
"disable-initial-focus": {
|
|
1304
|
+
required: false,
|
|
1305
|
+
boolean: true,
|
|
1306
|
+
},
|
|
1303
1307
|
"header-tag": {
|
|
1304
1308
|
required: true,
|
|
1305
1309
|
enum: ["h1", "h2", "h3", "h4", "h5", "h6"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "5.37.
|
|
3
|
+
"version": "5.37.3",
|
|
4
4
|
"description": "Vue implementation of FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"lodash": "^4.17.20"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@fkui/css-variables": "5.37.
|
|
77
|
-
"@fkui/date": "5.37.
|
|
78
|
-
"@fkui/design": "5.37.
|
|
76
|
+
"@fkui/css-variables": "5.37.2",
|
|
77
|
+
"@fkui/date": "5.37.2",
|
|
78
|
+
"@fkui/design": "5.37.3",
|
|
79
79
|
"@fkui/icon-lib-default": "5.37.0",
|
|
80
|
-
"@fkui/logic": "5.37.
|
|
80
|
+
"@fkui/logic": "5.37.2",
|
|
81
81
|
"@fkui/test-utils": "5.37.0",
|
|
82
82
|
"@forsakringskassan/vite-lib-config": "2.0.3",
|
|
83
83
|
"@vue/test-utils": "2.4.6",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"@babel/runtime": "^7",
|
|
92
|
-
"@fkui/date": "^5.
|
|
92
|
+
"@fkui/date": "^5.36.0",
|
|
93
93
|
"@fkui/design": "^5.36.0",
|
|
94
|
-
"@fkui/logic": "^5.
|
|
94
|
+
"@fkui/logic": "^5.36.0",
|
|
95
95
|
"core-js": "^3.24",
|
|
96
96
|
"fk-icons": "^4.30.1",
|
|
97
97
|
"html-validate": ">= 7.9.0",
|
|
@@ -109,5 +109,5 @@
|
|
|
109
109
|
"node": ">= 20",
|
|
110
110
|
"npm": ">= 7"
|
|
111
111
|
},
|
|
112
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "4854b4508f6e20b96392a7fcda6c76e5d6217fc2"
|
|
113
113
|
}
|