@fkui/vue 5.40.0 → 5.42.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.
- package/dist/cjs/index.cjs.js +5397 -3929
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +5398 -3930
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +63 -9
- package/htmlvalidate/elements/internal-components.js +22 -0
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -86,6 +86,16 @@ inverted: boolean;
|
|
|
86
86
|
|
|
87
87
|
declare const __VLS_component_2: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
88
88
|
|
|
89
|
+
declare const __VLS_component_3: DefineComponent<IPopupListboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
90
|
+
close: () => any;
|
|
91
|
+
}, string, PublicProps, Readonly<IPopupListboxProps> & Readonly<{
|
|
92
|
+
onClose?: (() => any) | undefined;
|
|
93
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
94
|
+
popup: HTMLDivElement;
|
|
95
|
+
wrapper: HTMLDivElement;
|
|
96
|
+
content: HTMLDivElement;
|
|
97
|
+
}, any>;
|
|
98
|
+
|
|
89
99
|
declare function __VLS_template(): {
|
|
90
100
|
attrs: Partial<{}>;
|
|
91
101
|
slots: {
|
|
@@ -108,10 +118,25 @@ declare function __VLS_template_2(): {
|
|
|
108
118
|
rootEl: HTMLDivElement;
|
|
109
119
|
};
|
|
110
120
|
|
|
121
|
+
declare function __VLS_template_3(): {
|
|
122
|
+
attrs: Partial<{}>;
|
|
123
|
+
slots: {
|
|
124
|
+
default?(_: {}): any;
|
|
125
|
+
};
|
|
126
|
+
refs: {
|
|
127
|
+
popup: HTMLDivElement;
|
|
128
|
+
wrapper: HTMLDivElement;
|
|
129
|
+
content: HTMLDivElement;
|
|
130
|
+
};
|
|
131
|
+
rootEl: any;
|
|
132
|
+
};
|
|
133
|
+
|
|
111
134
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
112
135
|
|
|
113
136
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
114
137
|
|
|
138
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
139
|
+
|
|
115
140
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
116
141
|
new (): {
|
|
117
142
|
$slots: S;
|
|
@@ -124,6 +149,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
124
149
|
};
|
|
125
150
|
};
|
|
126
151
|
|
|
152
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
153
|
+
new (): {
|
|
154
|
+
$slots: S;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
|
|
127
158
|
/* Excluded from this release type: actionFromKeyboardEvent */
|
|
128
159
|
|
|
129
160
|
/**
|
|
@@ -3116,15 +3147,18 @@ default: boolean;
|
|
|
3116
3147
|
};
|
|
3117
3148
|
}>, {}, IPopupData, {
|
|
3118
3149
|
popupClasses(): string[];
|
|
3150
|
+
isInline(): boolean;
|
|
3119
3151
|
forceInline(): boolean;
|
|
3120
3152
|
forceOverlay(): boolean;
|
|
3121
3153
|
teleportTarget(): string | Element;
|
|
3122
3154
|
}, {
|
|
3123
3155
|
toggleIsOpen(isOpen: boolean): Promise<void>;
|
|
3156
|
+
calculatePlacement(): Promise<void>;
|
|
3124
3157
|
applyFocus(): void;
|
|
3125
3158
|
isMobileSize(): boolean;
|
|
3126
3159
|
onDocumentClickHandler(): void;
|
|
3127
|
-
|
|
3160
|
+
onWindowResizeDebounced(): void;
|
|
3161
|
+
onWindowResize(): Promise<void>;
|
|
3128
3162
|
onPopupClickHandler(event: Event): void;
|
|
3129
3163
|
onKeyEsc(): void;
|
|
3130
3164
|
onKeyTab(event: KeyboardEvent): void;
|
|
@@ -5415,15 +5449,18 @@ default: boolean;
|
|
|
5415
5449
|
};
|
|
5416
5450
|
}>, {}, IPopupData, {
|
|
5417
5451
|
popupClasses(): string[];
|
|
5452
|
+
isInline(): boolean;
|
|
5418
5453
|
forceInline(): boolean;
|
|
5419
5454
|
forceOverlay(): boolean;
|
|
5420
5455
|
teleportTarget(): string | Element;
|
|
5421
5456
|
}, {
|
|
5422
5457
|
toggleIsOpen(isOpen: boolean): Promise<void>;
|
|
5458
|
+
calculatePlacement(): Promise<void>;
|
|
5423
5459
|
applyFocus(): void;
|
|
5424
5460
|
isMobileSize(): boolean;
|
|
5425
5461
|
onDocumentClickHandler(): void;
|
|
5426
|
-
|
|
5462
|
+
onWindowResizeDebounced(): void;
|
|
5463
|
+
onWindowResize(): Promise<void>;
|
|
5427
5464
|
onPopupClickHandler(event: Event): void;
|
|
5428
5465
|
onKeyEsc(): void;
|
|
5429
5466
|
onKeyTab(event: KeyboardEvent): void;
|
|
@@ -11334,15 +11371,18 @@ default: boolean;
|
|
|
11334
11371
|
};
|
|
11335
11372
|
}>, {}, IPopupData, {
|
|
11336
11373
|
popupClasses(): string[];
|
|
11374
|
+
isInline(): boolean;
|
|
11337
11375
|
forceInline(): boolean;
|
|
11338
11376
|
forceOverlay(): boolean;
|
|
11339
11377
|
teleportTarget(): string | Element;
|
|
11340
11378
|
}, {
|
|
11341
11379
|
toggleIsOpen(isOpen: boolean): Promise<void>;
|
|
11380
|
+
calculatePlacement(): Promise<void>;
|
|
11342
11381
|
applyFocus(): void;
|
|
11343
11382
|
isMobileSize(): boolean;
|
|
11344
11383
|
onDocumentClickHandler(): void;
|
|
11345
|
-
|
|
11384
|
+
onWindowResizeDebounced(): void;
|
|
11385
|
+
onWindowResize(): Promise<void>;
|
|
11346
11386
|
onPopupClickHandler(event: Event): void;
|
|
11347
11387
|
onKeyEsc(): void;
|
|
11348
11388
|
onKeyTab(event: KeyboardEvent): void;
|
|
@@ -17000,9 +17040,9 @@ validator(value: string): value is FTableColumnType;
|
|
|
17000
17040
|
type: "text" | "date" | "action" | "numeric";
|
|
17001
17041
|
description: string;
|
|
17002
17042
|
shrink: boolean;
|
|
17043
|
+
expand: boolean;
|
|
17003
17044
|
visible: boolean;
|
|
17004
17045
|
rowHeader: boolean;
|
|
17005
|
-
expand: boolean;
|
|
17006
17046
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
17007
17047
|
|
|
17008
17048
|
/**
|
|
@@ -18429,8 +18469,8 @@ default(): AnimationCallback;
|
|
|
18429
18469
|
};
|
|
18430
18470
|
}>> & Readonly<{}>, {
|
|
18431
18471
|
animate: boolean;
|
|
18432
|
-
expanded: string | number | boolean;
|
|
18433
18472
|
useVShow: boolean;
|
|
18473
|
+
expanded: string | number | boolean;
|
|
18434
18474
|
opacity: boolean;
|
|
18435
18475
|
beforeAnimation: AnimationCallback;
|
|
18436
18476
|
afterAnimation: AnimationCallback;
|
|
@@ -19148,8 +19188,8 @@ default(): AnimationCallback;
|
|
|
19148
19188
|
};
|
|
19149
19189
|
}>> & Readonly<{}>, {
|
|
19150
19190
|
animate: boolean;
|
|
19151
|
-
expanded: string | number | boolean;
|
|
19152
19191
|
useVShow: boolean;
|
|
19192
|
+
expanded: string | number | boolean;
|
|
19153
19193
|
opacity: boolean;
|
|
19154
19194
|
beforeAnimation: AnimationCallback;
|
|
19155
19195
|
afterAnimation: AnimationCallback;
|
|
@@ -19708,15 +19748,18 @@ default: boolean;
|
|
|
19708
19748
|
};
|
|
19709
19749
|
}>, {}, IPopupData, {
|
|
19710
19750
|
popupClasses(): string[];
|
|
19751
|
+
isInline(): boolean;
|
|
19711
19752
|
forceInline(): boolean;
|
|
19712
19753
|
forceOverlay(): boolean;
|
|
19713
19754
|
teleportTarget(): string | Element;
|
|
19714
19755
|
}, {
|
|
19715
19756
|
toggleIsOpen(isOpen: boolean): Promise<void>;
|
|
19757
|
+
calculatePlacement(): Promise<void>;
|
|
19716
19758
|
applyFocus(): void;
|
|
19717
19759
|
isMobileSize(): boolean;
|
|
19718
19760
|
onDocumentClickHandler(): void;
|
|
19719
|
-
|
|
19761
|
+
onWindowResizeDebounced(): void;
|
|
19762
|
+
onWindowResize(): Promise<void>;
|
|
19720
19763
|
onPopupClickHandler(event: Event): void;
|
|
19721
19764
|
onKeyEsc(): void;
|
|
19722
19765
|
onKeyTab(event: KeyboardEvent): void;
|
|
@@ -19818,7 +19861,6 @@ export declare interface IPopupData {
|
|
|
19818
19861
|
teleportDisabled: boolean;
|
|
19819
19862
|
placement: Placement;
|
|
19820
19863
|
focus: StackHandle | null;
|
|
19821
|
-
noCloseOnResize: boolean;
|
|
19822
19864
|
}
|
|
19823
19865
|
|
|
19824
19866
|
export declare const IPopupError: DefineComponent<ExtractPropTypes< {
|
|
@@ -19951,6 +19993,15 @@ export declare interface IPopupErrorData {
|
|
|
19951
19993
|
arrowOffset: number;
|
|
19952
19994
|
}
|
|
19953
19995
|
|
|
19996
|
+
export declare const IPopupListbox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
19997
|
+
|
|
19998
|
+
declare interface IPopupListboxProps {
|
|
19999
|
+
isOpen: boolean;
|
|
20000
|
+
anchor: HTMLElement | null;
|
|
20001
|
+
numOfItems: number;
|
|
20002
|
+
itemHeight?: number;
|
|
20003
|
+
}
|
|
20004
|
+
|
|
19954
20005
|
export declare const IPopupMenu: DefineComponent<ExtractPropTypes< {
|
|
19955
20006
|
/**
|
|
19956
20007
|
* Key of the currently selected and highlighted item.
|
|
@@ -20163,15 +20214,18 @@ default: boolean;
|
|
|
20163
20214
|
};
|
|
20164
20215
|
}>, {}, IPopupData, {
|
|
20165
20216
|
popupClasses(): string[];
|
|
20217
|
+
isInline(): boolean;
|
|
20166
20218
|
forceInline(): boolean;
|
|
20167
20219
|
forceOverlay(): boolean;
|
|
20168
20220
|
teleportTarget(): string | Element;
|
|
20169
20221
|
}, {
|
|
20170
20222
|
toggleIsOpen(isOpen: boolean): Promise<void>;
|
|
20223
|
+
calculatePlacement(): Promise<void>;
|
|
20171
20224
|
applyFocus(): void;
|
|
20172
20225
|
isMobileSize(): boolean;
|
|
20173
20226
|
onDocumentClickHandler(): void;
|
|
20174
|
-
|
|
20227
|
+
onWindowResizeDebounced(): void;
|
|
20228
|
+
onWindowResize(): Promise<void>;
|
|
20175
20229
|
onPopupClickHandler(event: Event): void;
|
|
20176
20230
|
onKeyEsc(): void;
|
|
20177
20231
|
onKeyTab(event: KeyboardEvent): void;
|
|
@@ -228,4 +228,26 @@ module.exports = defineMetadata({
|
|
|
228
228
|
},
|
|
229
229
|
},
|
|
230
230
|
},
|
|
231
|
+
|
|
232
|
+
"i-popup-listbox": {
|
|
233
|
+
flow: true,
|
|
234
|
+
interactive: true,
|
|
235
|
+
permittedContent: ["@flow"],
|
|
236
|
+
permittedDescendants: [{ exclude: ["@interactive"] }],
|
|
237
|
+
attributes: {
|
|
238
|
+
"is-open": {
|
|
239
|
+
boolean: true,
|
|
240
|
+
required: true,
|
|
241
|
+
},
|
|
242
|
+
anchor: {
|
|
243
|
+
required: true,
|
|
244
|
+
},
|
|
245
|
+
numOfItems: {
|
|
246
|
+
required: true,
|
|
247
|
+
},
|
|
248
|
+
itemHeight: {
|
|
249
|
+
required: false,
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
},
|
|
231
253
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.42.0",
|
|
4
4
|
"description": "Vue implementation of FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"node": ">= 20",
|
|
80
80
|
"npm": ">= 7"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "3cfa52273826f2e8eb802e2c769679e4269b13d8"
|
|
83
83
|
}
|