@fkui/vue 6.38.0 → 6.40.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/cypress.cjs.js +69 -12
- package/dist/cjs/cypress.cjs.js.map +3 -3
- package/dist/cjs/index.cjs.js +3459 -3148
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/cypress.esm.js +69 -12
- package/dist/esm/cypress.esm.js.map +3 -3
- package/dist/esm/index.esm.js +3460 -3149
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/cypress.d.ts +44 -0
- package/dist/types/index.d.ts +690 -553
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/elements/components.js +16 -0
- package/htmlvalidate/rules/{ftextfieldFormatterValidation.rule.js → ftextfield-formatter-validation.rule.js} +1 -1
- package/htmlvalidate/rules/index.js +1 -1
- package/htmlvalidate/rules/requiredmaxlength.rule.js +4 -4
- package/package.json +11 -11
|
@@ -576,6 +576,12 @@ module.exports = defineMetadata({
|
|
|
576
576
|
"f-sort-filter-dataset": {
|
|
577
577
|
flow: true,
|
|
578
578
|
interactive: true,
|
|
579
|
+
attributes: {
|
|
580
|
+
"placeholder-filter": {
|
|
581
|
+
deprecated:
|
|
582
|
+
"Prop is obsolete and should be removed. Use `filter-label` to set label instead. Deprecated since %version%",
|
|
583
|
+
},
|
|
584
|
+
},
|
|
579
585
|
slots: ["default", "header"],
|
|
580
586
|
requiredAttributes: ["data", "sortable-attributes"],
|
|
581
587
|
requiredSlots: ["default"],
|
|
@@ -1490,6 +1496,16 @@ module.exports = defineMetadata({
|
|
|
1490
1496
|
},
|
|
1491
1497
|
slots: ["default"],
|
|
1492
1498
|
},
|
|
1499
|
+
"f-definition-list": {
|
|
1500
|
+
flow: true,
|
|
1501
|
+
attributes: {
|
|
1502
|
+
definitions: {
|
|
1503
|
+
required: true,
|
|
1504
|
+
},
|
|
1505
|
+
},
|
|
1506
|
+
permittedContent: [],
|
|
1507
|
+
textContent: "none",
|
|
1508
|
+
},
|
|
1493
1509
|
|
|
1494
1510
|
"f-paginate-dataset": {
|
|
1495
1511
|
flow: true,
|
|
@@ -11,7 +11,7 @@ const { getDocumentationUrl } = require("./common");
|
|
|
11
11
|
* @property {Location} location Attribute location (key)
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
const matchVValidation = /^v-validation(
|
|
14
|
+
const matchVValidation = /^v-validation($|\.)/;
|
|
15
15
|
const validatorsWithFormatters = [
|
|
16
16
|
"bankAccountNumber",
|
|
17
17
|
"bankgiro",
|
|
@@ -2,7 +2,7 @@ const buttongroup = require("./buttongroup.rule");
|
|
|
2
2
|
const classdeprecated = require("./classdeprecated.rule");
|
|
3
3
|
const FInteractiveTableSelectableDescription = require("./finteractivetable-selectable-description.rule");
|
|
4
4
|
const FTableColumnName = require("./ftablecolumn-name.rule");
|
|
5
|
-
const ftextfieldFormatterValidation = require("./
|
|
5
|
+
const ftextfieldFormatterValidation = require("./ftextfield-formatter-validation.rule");
|
|
6
6
|
const NoTemplateModal = require("./no-template-modal.rule");
|
|
7
7
|
const PreferFIcon = require("./prefer-ficon.rule");
|
|
8
8
|
const requiredmaxlength = require("./requiredmaxlength.rule");
|
|
@@ -16,7 +16,7 @@ const formatters = [
|
|
|
16
16
|
"plusgiro",
|
|
17
17
|
"postalCode",
|
|
18
18
|
];
|
|
19
|
-
const allowedTags = ["input", "f-text-field"];
|
|
19
|
+
const allowedTags = new Set(["input", "f-text-field"]);
|
|
20
20
|
|
|
21
21
|
class RequiredMaxLength extends Rule {
|
|
22
22
|
documentation() {
|
|
@@ -36,12 +36,12 @@ class RequiredMaxLength extends Rule {
|
|
|
36
36
|
const tagName = target.tagName;
|
|
37
37
|
const valueOfType = target.getAttributeValue("type");
|
|
38
38
|
|
|
39
|
-
if (!allowedTags.
|
|
39
|
+
if (!allowedTags.has(tagName)) {
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
for (
|
|
44
|
-
attributeKeys.push(
|
|
43
|
+
for (const elementAttr of elementAttrs) {
|
|
44
|
+
attributeKeys.push(elementAttr.key);
|
|
45
45
|
}
|
|
46
46
|
const validation = attributeKeys.find((attr) =>
|
|
47
47
|
attr.includes("v-validation"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.40.0",
|
|
4
4
|
"description": "Vue implementation of FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"import": "./dist/esm/index.esm.js",
|
|
23
|
+
"require": "./dist/cjs/index.cjs.js"
|
|
24
24
|
},
|
|
25
25
|
"./cypress": {
|
|
26
26
|
"types": "./dist/types/cypress.d.ts",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"import": "./dist/esm/cypress.esm.js",
|
|
28
|
+
"require": "./dist/cjs/cypress.cjs.js"
|
|
29
29
|
},
|
|
30
30
|
"./selectors": {
|
|
31
31
|
"types": "./dist/types/selectors.d.ts",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"import": "./dist/esm/selectors.esm.js",
|
|
33
|
+
"require": "./dist/cjs/selectors.cjs.js"
|
|
34
34
|
},
|
|
35
35
|
"./htmlvalidate": "./htmlvalidate/index.cjs",
|
|
36
36
|
"./htmlvalidate/cypress": "./htmlvalidate/cypress.js",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"unit:watch": "jest --watch"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@fkui/date": "^6.
|
|
70
|
-
"@fkui/design": "^6.
|
|
71
|
-
"@fkui/logic": "^6.
|
|
69
|
+
"@fkui/date": "^6.40.0",
|
|
70
|
+
"@fkui/design": "^6.40.0",
|
|
71
|
+
"@fkui/logic": "^6.40.0",
|
|
72
72
|
"fk-icons": "^4.30.1",
|
|
73
73
|
"html-validate": ">= 7.9.0",
|
|
74
74
|
"vue": "^3.5.0"
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"node": ">= 20",
|
|
86
86
|
"npm": ">= 7"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "fffdc47340a925f20f586117a1a5bbb2e2ec8a48"
|
|
89
89
|
}
|