@fkui/vue-labs 6.36.0 → 6.37.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 +158 -141
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +159 -142
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +9 -3
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/configs/index.js +5 -0
- package/htmlvalidate/configs/recommended.js +4 -0
- package/htmlvalidate/elements/elements.js +116 -0
- package/htmlvalidate/index.cjs +8 -0
- package/htmlvalidate/index.d.ts +4 -0
- package/package.json +8 -8
package/dist/types/index.d.ts
CHANGED
|
@@ -549,11 +549,15 @@ inputNode: HTMLInputElement;
|
|
|
549
549
|
onSelect?: ((option: string) => any) | undefined;
|
|
550
550
|
onClose?: (() => any) | undefined;
|
|
551
551
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
552
|
-
IComboboxToggleButton: DefineComponent< {
|
|
552
|
+
IComboboxToggleButton: DefineComponent< {
|
|
553
|
+
isOpen: boolean;
|
|
554
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
553
555
|
toggle: () => any;
|
|
554
|
-
}, string, PublicProps, Readonly<{
|
|
556
|
+
}, string, PublicProps, Readonly<{
|
|
557
|
+
isOpen: boolean;
|
|
558
|
+
}> & Readonly<{
|
|
555
559
|
onToggle?: (() => any) | undefined;
|
|
556
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions,
|
|
560
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
557
561
|
}, {}, string, ComponentProvideOptions, true, {}, any>, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
558
562
|
formatter: {
|
|
559
563
|
type: PropType<FormatFunction<HoursMinutesString>>;
|
|
@@ -840,6 +844,7 @@ export declare interface TableColumnNumber<T, K extends keyof T> extends TableCo
|
|
|
840
844
|
label?(this: void, row: T): string;
|
|
841
845
|
tnum?: boolean;
|
|
842
846
|
align?: "left" | "right";
|
|
847
|
+
attributes?: Record<string, string | number | boolean | undefined> | ((this: void, row: T) => Record<string, string | number | boolean | undefined>);
|
|
843
848
|
value?(this: void, row: T): string | number;
|
|
844
849
|
update?(this: void, row: T, newValue: number | string, oldValue: number | string): void;
|
|
845
850
|
editable?: boolean | ((this: void, row: T) => boolean);
|
|
@@ -913,6 +918,7 @@ export declare interface TableColumnText<T, K extends keyof T> extends TableColu
|
|
|
913
918
|
label?(this: void, row: T): string;
|
|
914
919
|
tnum?: boolean;
|
|
915
920
|
align?: "left" | "right";
|
|
921
|
+
attributes?: Record<string, string | number | boolean | undefined> | ((this: void, row: T) => Record<string, string | number | boolean | undefined>);
|
|
916
922
|
value?(this: void, row: T): string;
|
|
917
923
|
update?(this: void, row: T, newValue: string, oldValue: string): void;
|
|
918
924
|
editable?: boolean | ((this: void, row: T) => boolean);
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
const { defineMetadata, metadataHelper } = require("html-validate");
|
|
2
|
+
|
|
3
|
+
const { allowedIfAttributeIsPresent } = metadataHelper;
|
|
4
|
+
|
|
5
|
+
module.exports = defineMetadata({
|
|
6
|
+
"x-file-dragdrop": {
|
|
7
|
+
flow: true,
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
"x-sort-filter-dataset-ng": {
|
|
11
|
+
flow: true,
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
"x-time-text-field": {
|
|
15
|
+
flow: true,
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
"f-table": {
|
|
19
|
+
flow: true,
|
|
20
|
+
attributes: {
|
|
21
|
+
columns: {
|
|
22
|
+
required: true,
|
|
23
|
+
},
|
|
24
|
+
rows: {
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
27
|
+
"key-attribute": ["/.+/"],
|
|
28
|
+
"expandable-attribute": ["/.+/"],
|
|
29
|
+
striped: {
|
|
30
|
+
boolean: true,
|
|
31
|
+
},
|
|
32
|
+
selectable: ["/.+/"],
|
|
33
|
+
"selected-rows": {
|
|
34
|
+
allowed: allowedIfAttributeIsPresent("selectable"),
|
|
35
|
+
required: false,
|
|
36
|
+
},
|
|
37
|
+
"v-model:selected-rows": {
|
|
38
|
+
allowed: allowedIfAttributeIsPresent("selectable"),
|
|
39
|
+
required: false,
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
slots: ["caption", "empty", "expandable", "footer"],
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
tr: {
|
|
46
|
+
permittedContent: [
|
|
47
|
+
"@script",
|
|
48
|
+
"td",
|
|
49
|
+
"th",
|
|
50
|
+
"i-table-anchor",
|
|
51
|
+
"i-table-button",
|
|
52
|
+
"i-table-checkbox",
|
|
53
|
+
"i-table-expandable",
|
|
54
|
+
"i-table-expand-button",
|
|
55
|
+
"i-table-header",
|
|
56
|
+
"i-table-header-selectable",
|
|
57
|
+
"i-table-radio",
|
|
58
|
+
"i-table-rowheader",
|
|
59
|
+
"i-table-select",
|
|
60
|
+
"i-table-selectable",
|
|
61
|
+
"i-table-text",
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
"i-table-header": {
|
|
66
|
+
flow: true,
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
"i-table-header-selectable": {
|
|
70
|
+
flow: true,
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
"i-table-selectable": {
|
|
74
|
+
flow: true,
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
"i-table-text": {
|
|
78
|
+
flow: true,
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
"i-table-select": {
|
|
82
|
+
flow: true,
|
|
83
|
+
},
|
|
84
|
+
|
|
85
|
+
"i-table-checkbox": {
|
|
86
|
+
flow: true,
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
"i-table-radio": {
|
|
90
|
+
flow: true,
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
"i-table-button": {
|
|
94
|
+
flow: true,
|
|
95
|
+
},
|
|
96
|
+
|
|
97
|
+
"i-table-expand-button": {
|
|
98
|
+
flow: true,
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
"i-table-anchor": {
|
|
102
|
+
flow: true,
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
"i-table-rowheader": {
|
|
106
|
+
flow: true,
|
|
107
|
+
},
|
|
108
|
+
|
|
109
|
+
"i-table-expandable": {
|
|
110
|
+
flow: true,
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
"x-order-filter": {
|
|
114
|
+
flow: true,
|
|
115
|
+
},
|
|
116
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue-labs",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.37.0",
|
|
4
4
|
"description": "Experimental and unstable FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"require": "./dist/cjs/cypress.cjs.js",
|
|
28
28
|
"import": "./dist/esm/cypress.esm.js"
|
|
29
29
|
},
|
|
30
|
-
"./style.css": "./dummy.css"
|
|
30
|
+
"./style.css": "./dummy.css",
|
|
31
|
+
"./htmlvalidate": "./htmlvalidate/index.cjs"
|
|
31
32
|
},
|
|
32
33
|
"main": "./dist/cjs/index.cjs.js",
|
|
33
34
|
"module": "./dist/esm/index.esm.js",
|
|
@@ -44,7 +45,6 @@
|
|
|
44
45
|
"prebuild": "run-s clean",
|
|
45
46
|
"build": "run-s build:lib build:pageobjects build:dts build:api",
|
|
46
47
|
"build:api": "fk-api-extractor --patch-augmentations api-extractor.*.json",
|
|
47
|
-
"build:docs": "node generate-docs.mjs",
|
|
48
48
|
"build:dts": "vue-tsc -b",
|
|
49
49
|
"build:lib": "fk-build-vue-lib",
|
|
50
50
|
"build:pageobjects": "node build-pageobjects.mjs",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"unit:watch": "jest --watch"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@fkui/date": "^6.
|
|
63
|
-
"@fkui/design": "^6.
|
|
64
|
-
"@fkui/logic": "^6.
|
|
65
|
-
"@fkui/vue": "^6.
|
|
62
|
+
"@fkui/date": "^6.37.0",
|
|
63
|
+
"@fkui/design": "^6.37.0",
|
|
64
|
+
"@fkui/logic": "^6.37.0",
|
|
65
|
+
"@fkui/vue": "^6.37.0",
|
|
66
66
|
"html-validate": ">= 7.9.0",
|
|
67
67
|
"vue": "^3.5.0"
|
|
68
68
|
},
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"node": ">= 20",
|
|
76
76
|
"npm": ">= 7"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "15bcc047ba64657946b3e429cbf68abae064ebcc"
|
|
79
79
|
}
|