@cas-smartdesign/field-validation-message 5.0.2 → 5.1.1
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/docs/doc.css +1 -1
- package/dist/docs/doc.mjs +37 -40
- package/dist/field-validation-message-with-externals.js +6 -24
- package/dist/field-validation-message-with-externals.js.map +4 -4
- package/dist/field-validation-message.d.ts +1 -1
- package/dist/field-validation-message.mjs +28 -28
- package/dist/field-validation-message.mjs.map +1 -1
- package/npm-third-party-licenses.json +84 -79
- package/package.json +5 -5
|
@@ -7,7 +7,7 @@ declare global {
|
|
|
7
7
|
export default class SDFieldValidationMessage extends LitElement {
|
|
8
8
|
static readonly ID = "sd-field-validation-message";
|
|
9
9
|
static parseLevel(value: string): ValidationLevel;
|
|
10
|
-
static levelConverter: ComplexAttributeConverter
|
|
10
|
+
static levelConverter: ComplexAttributeConverter;
|
|
11
11
|
message: string;
|
|
12
12
|
icon: string;
|
|
13
13
|
level: ValidationLevel;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { LitElement as
|
|
2
|
-
import { property as
|
|
1
|
+
import { LitElement as p, unsafeCSS as u, css as f, html as d } from "lit";
|
|
2
|
+
import { property as n } from "lit/decorators/property.js";
|
|
3
3
|
const m = ":host{display:inline-block;font-size:13px;line-height:20px;font-family:Segoe UI,Lucida Sans,Arial,sans-serif;color:#111;contain:content}:host([hidden]){display:none!important}:host([level=warn i]){color:#555}:host([level=suggest i]){color:#bf8800}:host([level=error i]){color:#cc0017}:host([level=warn]){color:#555}:host([level=suggest]){color:#bf8800}:host([level=error]){color:#cc0017}.icon{height:12px;width:12px;padding-right:4px;margin-bottom:-1px}", w = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cstyle%20id='style3'%3e%20.st0{fill:%23fff}.st1{fill:%23c00}%20%3c/style%3e%3cg%20id='g5'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20id='path9'/%3e%3c/g%3e%3cg%20id='g11'%3e%3cpath%20class='st0'%20id='rect13'%20d='M5.5%202.5h1v4h-1z'/%3e%3cpath%20class='st1'%20d='M6%203v3-3m1-1H5v5h2V2z'%20id='path15'/%3e%3c/g%3e%3cg%20id='g17'%3e%3cpath%20class='st0'%20id='rect19'%20d='M5.5%208.5h1v1h-1z'/%3e%3cpath%20class='st1'%20id='polygon21'%20d='M7%208H5v2h2V8z'/%3e%3c/g%3e%3c/svg%3e", y = "data:image/svg+xml,%3csvg%20id='Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cstyle%3e%20.st0{fill:%23bf8800}%20%3c/style%3e%3cpath%20class='st0'%20d='M12%20.8l11%2019.8v1.3H1v-1.3L12%20.8zm.8-.6h-1.6L0%2020v3h24v-3L12.8.2z'/%3e%3cpath%20class='st0'%20d='M11%208h2v8h-2zm0%2010h2v2h-2z'/%3e%3c/svg%3e", x = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20fill='%23555'/%3e%3cpath%20d='M6%209V6v3m-1%201h2V5H5v5zm2-8H5v2h2z'%20class='st1'%20fill='%23555'/%3e%3c/svg%3e";
|
|
4
|
-
var
|
|
5
|
-
for (var r =
|
|
6
|
-
(
|
|
7
|
-
return
|
|
4
|
+
var z = Object.defineProperty, h = (s, e, o, g) => {
|
|
5
|
+
for (var r = void 0, i = s.length - 1, v; i >= 0; i--)
|
|
6
|
+
(v = s[i]) && (r = v(e, o, r) || r);
|
|
7
|
+
return r && z(e, o, r), r;
|
|
8
8
|
}, t;
|
|
9
|
-
const
|
|
9
|
+
const l = (t = class extends p {
|
|
10
10
|
static parseLevel(e) {
|
|
11
11
|
if (e) {
|
|
12
|
-
const o = Object.keys(
|
|
13
|
-
(
|
|
12
|
+
const o = Object.keys(a).find(
|
|
13
|
+
(g) => g.toLowerCase() === e.toLowerCase()
|
|
14
14
|
);
|
|
15
|
-
return o &&
|
|
15
|
+
return o && a[o];
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
static get styles() {
|
|
19
19
|
return [
|
|
20
|
-
|
|
21
|
-
${
|
|
20
|
+
f`
|
|
21
|
+
${u(m)}
|
|
22
22
|
`
|
|
23
23
|
];
|
|
24
24
|
}
|
|
25
25
|
// prettier-ignore
|
|
26
26
|
render() {
|
|
27
|
-
return
|
|
27
|
+
return d`${this.iconToUse && d`<img class="icon" src="${this.iconToUse}">`}${this.message}`;
|
|
28
28
|
}
|
|
29
29
|
get iconToUse() {
|
|
30
30
|
return this.icon || this._defaultIconPath;
|
|
@@ -52,23 +52,23 @@ const c = (t = class extends d {
|
|
|
52
52
|
return e && e.toLowerCase();
|
|
53
53
|
}
|
|
54
54
|
}, t);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
],
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
],
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
converter:
|
|
55
|
+
h([
|
|
56
|
+
n({ type: String, attribute: !0 })
|
|
57
|
+
], l.prototype, "message");
|
|
58
|
+
h([
|
|
59
|
+
n({ type: String, attribute: !0 })
|
|
60
|
+
], l.prototype, "icon");
|
|
61
|
+
h([
|
|
62
|
+
n({
|
|
63
|
+
converter: l.levelConverter,
|
|
64
64
|
reflect: !0
|
|
65
65
|
})
|
|
66
|
-
],
|
|
67
|
-
let
|
|
68
|
-
var
|
|
69
|
-
customElements.get(
|
|
66
|
+
], l.prototype, "level");
|
|
67
|
+
let c = l;
|
|
68
|
+
var a = /* @__PURE__ */ ((s) => (s.Warn = "warn", s.Suggest = "suggest", s.Error = "error", s))(a || {});
|
|
69
|
+
customElements.get(c.ID) || customElements.define(c.ID, c);
|
|
70
70
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
a as ValidationLevel,
|
|
72
|
+
c as default
|
|
73
73
|
};
|
|
74
74
|
//# sourceMappingURL=field-validation-message.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-validation-message.mjs","sources":["../error.svg","../suggest.svg","../warn.svg","../field-validation-message.ts"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cstyle%20id='style3'%3e%20.st0{fill:%23fff}.st1{fill:%23c00}%20%3c/style%3e%3cg%20id='g5'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20id='path9'/%3e%3c/g%3e%3cg%20id='g11'%3e%3cpath%20class='st0'%20id='rect13'%20d='M5.5%202.5h1v4h-1z'/%3e%3cpath%20class='st1'%20d='M6%203v3-3m1-1H5v5h2V2z'%20id='path15'/%3e%3c/g%3e%3cg%20id='g17'%3e%3cpath%20class='st0'%20id='rect19'%20d='M5.5%208.5h1v1h-1z'/%3e%3cpath%20class='st1'%20id='polygon21'%20d='M7%208H5v2h2V8z'/%3e%3c/g%3e%3c/svg%3e\"","export default \"data:image/svg+xml,%3csvg%20id='Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cstyle%3e%20.st0{fill:%23bf8800}%20%3c/style%3e%3cpath%20class='st0'%20d='M12%20.8l11%2019.8v1.3H1v-1.3L12%20.8zm.8-.6h-1.6L0%2020v3h24v-3L12.8.2z'/%3e%3cpath%20class='st0'%20d='M11%208h2v8h-2zm0%2010h2v2h-2z'/%3e%3c/svg%3e\"","export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20fill='%23555'/%3e%3cpath%20d='M6%209V6v3m-1%201h2V5H5v5zm2-8H5v2h2z'%20class='st1'%20fill='%23555'/%3e%3c/svg%3e\"","import { LitElement, html, PropertyValues, unsafeCSS, TemplateResult, ComplexAttributeConverter, css } from \"lit\";\nimport { property } from \"lit/decorators/property.js\";\nimport style from \"./style.scss?inline\";\n\nimport error from \"./error.svg\";\nimport suggest from \"./suggest.svg\";\nimport warn from \"./warn.svg\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [SDFieldValidationMessage.ID]: SDFieldValidationMessage;\n }\n}\n\nexport default class SDFieldValidationMessage extends LitElement {\n public static readonly ID = \"sd-field-validation-message\";\n\n public static parseLevel(value: string): ValidationLevel {\n if (value) {\n const correspondingEnumKey = Object.keys(ValidationLevel).find(\n (level) => level.toLowerCase() === value.toLowerCase(),\n );\n return correspondingEnumKey && ValidationLevel[correspondingEnumKey];\n }\n }\n public static levelConverter = {\n fromAttribute(value: string): ValidationLevel {\n return SDFieldValidationMessage.parseLevel(value);\n },\n toAttribute(value: ValidationLevel): string {\n return value && value.toLowerCase();\n },\n } as ComplexAttributeConverter;\n\n @property({ type: String, attribute: true })\n public message: string;\n @property({ type: String, attribute: true })\n public icon: string;\n @property({\n converter: SDFieldValidationMessage.levelConverter,\n reflect: true,\n })\n public level: ValidationLevel;\n\n private _defaultIconPath: string;\n\n static get styles() {\n return [\n css`\n ${unsafeCSS(style)}\n `,\n ];\n }\n\n // prettier-ignore\n render(): TemplateResult {\n return html`${this.iconToUse && html`<img class=\"icon\" src=\"${this.iconToUse}\">`}${this.message}`;\n }\n\n private get iconToUse(): string {\n return this.icon || this._defaultIconPath;\n }\n\n shouldUpdate(changedProperties: PropertyValues): boolean {\n if (changedProperties.has(\"level\")) {\n this._defaultIconPath = this.iconForLevel;\n if (!this.icon) {\n return true;\n }\n }\n return super.shouldUpdate(changedProperties);\n }\n\n private get iconForLevel(): string {\n switch (SDFieldValidationMessage.parseLevel(this.level)) {\n case ValidationLevel.Warn:\n return warn;\n case ValidationLevel.Suggest:\n return suggest;\n case ValidationLevel.Error:\n return error;\n default:\n return null;\n }\n }\n}\n\nexport enum ValidationLevel {\n Warn = \"warn\",\n Suggest = \"suggest\",\n Error = \"error\",\n}\n\nif (!customElements.get(SDFieldValidationMessage.ID)) {\n customElements.define(SDFieldValidationMessage.ID, SDFieldValidationMessage);\n}\n"],"names":["error","suggest","warn","_SDFieldValidationMessage","_a","LitElement","value","correspondingEnumKey","ValidationLevel","level","css","unsafeCSS","style","html","changedProperties","__decorateClass","property","SDFieldValidationMessage"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"field-validation-message.mjs","sources":["../error.svg","../suggest.svg","../warn.svg","../field-validation-message.ts"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cstyle%20id='style3'%3e%20.st0{fill:%23fff}.st1{fill:%23c00}%20%3c/style%3e%3cg%20id='g5'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20id='path9'/%3e%3c/g%3e%3cg%20id='g11'%3e%3cpath%20class='st0'%20id='rect13'%20d='M5.5%202.5h1v4h-1z'/%3e%3cpath%20class='st1'%20d='M6%203v3-3m1-1H5v5h2V2z'%20id='path15'/%3e%3c/g%3e%3cg%20id='g17'%3e%3cpath%20class='st0'%20id='rect19'%20d='M5.5%208.5h1v1h-1z'/%3e%3cpath%20class='st1'%20id='polygon21'%20d='M7%208H5v2h2V8z'/%3e%3c/g%3e%3c/svg%3e\"","export default \"data:image/svg+xml,%3csvg%20id='Ebene_1'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3e%3cstyle%3e%20.st0{fill:%23bf8800}%20%3c/style%3e%3cpath%20class='st0'%20d='M12%20.8l11%2019.8v1.3H1v-1.3L12%20.8zm.8-.6h-1.6L0%2020v3h24v-3L12.8.2z'/%3e%3cpath%20class='st0'%20d='M11%208h2v8h-2zm0%2010h2v2h-2z'/%3e%3c/svg%3e\"","export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2012%2012'%3e%3cpath%20class='st1'%20d='M6%20.9c2.8%200%205.1%202.3%205.1%205.1S8.8%2011.1%206%2011.1.9%208.8.9%206%203.2.9%206%20.9m0-1C2.7-.1-.1%202.7-.1%206s2.7%206.1%206.1%206.1%206.1-2.7%206.1-6.1S9.3-.1%206-.1z'%20fill='%23555'/%3e%3cpath%20d='M6%209V6v3m-1%201h2V5H5v5zm2-8H5v2h2z'%20class='st1'%20fill='%23555'/%3e%3c/svg%3e\"","import { LitElement, html, PropertyValues, unsafeCSS, TemplateResult, ComplexAttributeConverter, css } from \"lit\";\nimport { property } from \"lit/decorators/property.js\";\nimport style from \"./style.scss?inline\";\n\nimport error from \"./error.svg\";\nimport suggest from \"./suggest.svg\";\nimport warn from \"./warn.svg\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [SDFieldValidationMessage.ID]: SDFieldValidationMessage;\n }\n}\n\nexport default class SDFieldValidationMessage extends LitElement {\n public static readonly ID = \"sd-field-validation-message\";\n\n public static parseLevel(value: string): ValidationLevel {\n if (value) {\n const correspondingEnumKey = Object.keys(ValidationLevel).find(\n (level) => level.toLowerCase() === value.toLowerCase(),\n );\n return correspondingEnumKey && ValidationLevel[correspondingEnumKey];\n }\n }\n public static levelConverter = {\n fromAttribute(value: string): ValidationLevel {\n return SDFieldValidationMessage.parseLevel(value);\n },\n toAttribute(value: ValidationLevel): string {\n return value && value.toLowerCase();\n },\n } as ComplexAttributeConverter;\n\n @property({ type: String, attribute: true })\n public message: string;\n @property({ type: String, attribute: true })\n public icon: string;\n @property({\n converter: SDFieldValidationMessage.levelConverter,\n reflect: true,\n })\n public level: ValidationLevel;\n\n private _defaultIconPath: string;\n\n static get styles() {\n return [\n css`\n ${unsafeCSS(style)}\n `,\n ];\n }\n\n // prettier-ignore\n render(): TemplateResult {\n return html`${this.iconToUse && html`<img class=\"icon\" src=\"${this.iconToUse}\">`}${this.message}`;\n }\n\n private get iconToUse(): string {\n return this.icon || this._defaultIconPath;\n }\n\n shouldUpdate(changedProperties: PropertyValues): boolean {\n if (changedProperties.has(\"level\")) {\n this._defaultIconPath = this.iconForLevel;\n if (!this.icon) {\n return true;\n }\n }\n return super.shouldUpdate(changedProperties);\n }\n\n private get iconForLevel(): string {\n switch (SDFieldValidationMessage.parseLevel(this.level)) {\n case ValidationLevel.Warn:\n return warn;\n case ValidationLevel.Suggest:\n return suggest;\n case ValidationLevel.Error:\n return error;\n default:\n return null;\n }\n }\n}\n\nexport enum ValidationLevel {\n Warn = \"warn\",\n Suggest = \"suggest\",\n Error = \"error\",\n}\n\nif (!customElements.get(SDFieldValidationMessage.ID)) {\n customElements.define(SDFieldValidationMessage.ID, SDFieldValidationMessage);\n}\n"],"names":["error","suggest","warn","_SDFieldValidationMessage","_a","LitElement","value","correspondingEnumKey","ValidationLevel","level","css","unsafeCSS","style","html","changedProperties","__decorateClass","property","SDFieldValidationMessage"],"mappings":";;mdAAAA,IAAe,uuBCAfC,IAAe,iVCAfC,IAAe;;;;;;ACcf,MAAqBC,KAArBC,IAAA,cAAsDC,EAAW;AAAA,EAG7D,OAAc,WAAWC,GAAgC;AACrD,QAAIA,GAAO;AACP,YAAMC,IAAuB,OAAO,KAAKC,CAAe,EAAE;AAAA,QACtD,CAACC,MAAUA,EAAM,YAAA,MAAkBH,EAAM,YAAA;AAAA,MAAY;AAEzD,aAAOC,KAAwBC,EAAgBD,CAAoB;AAAA,IACvE;AAAA,EACJ;AAAA,EAsBA,WAAW,SAAS;AAChB,WAAO;AAAA,MACHG;AAAA,kBACMC,EAAUC,CAAK,CAAC;AAAA;AAAA,IAAA;AAAA,EAG9B;AAAA;AAAA,EAGA,SAAyB;AACrB,WAAOC,IAAO,KAAK,aAAaA,2BAA8B,KAAK,SAAS,IAAI,GAAG,KAAK,OAAO;AAAA,EACnG;AAAA,EAEA,IAAY,YAAoB;AAC5B,WAAO,KAAK,QAAQ,KAAK;AAAA,EAC7B;AAAA,EAEA,aAAaC,GAA4C;AACrD,WAAIA,EAAkB,IAAI,OAAO,MAC7B,KAAK,mBAAmB,KAAK,cACzB,CAAC,KAAK,QACC,KAGR,MAAM,aAAaA,CAAiB;AAAA,EAC/C;AAAA,EAEA,IAAY,eAAuB;AAC/B,YAAQV,EAAyB,WAAW,KAAK,KAAK,GAAA;AAAA,MAClD,KAAK;AACD,eAAOF;AAAA,MACX,KAAK;AACD,eAAOD;AAAA,MACX,KAAK;AACD,eAAOD;AAAA,MACX;AACI,eAAO;AAAA,IAAA;AAAA,EAEnB;AACJ,GAtEII,EAAuB,KAAK,+BAU5BA,EAAc,iBAAiB;AAAA,EAC3B,cAAcE,GAAgC;AAC1C,WAAOF,EAAyB,WAAWE,CAAK;AAAA,EACpD;AAAA,EACA,YAAYA,GAAgC;AACxC,WAAOA,KAASA,EAAM,YAAA;AAAA,EAC1B;AAAA,GAjBRF;AAqBWW,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,QAAQ,WAAW,IAAM;AAAA,GApB1Bb,EAqBV,WAAA,SAAA;AAEAY,EAAA;AAAA,EADNC,EAAS,EAAE,MAAM,QAAQ,WAAW,IAAM;AAAA,GAtB1Bb,EAuBV,WAAA,MAAA;AAKAY,EAAA;AAAA,EAJNC,EAAS;AAAA,IACN,WAAWb,EAAyB;AAAA,IACpC,SAAS;AAAA,EAAA,CACZ;AAAA,GA3BgBA,EA4BV,WAAA,OAAA;AA5BX,IAAqBc,IAArBd;AAyEO,IAAKK,sBAAAA,OACRA,EAAA,OAAO,QACPA,EAAA,UAAU,WACVA,EAAA,QAAQ,SAHAA,IAAAA,KAAA,CAAA,CAAA;AAMP,eAAe,IAAIS,EAAyB,EAAE,KAC/C,eAAe,OAAOA,EAAyB,IAAIA,CAAwB;"}
|
|
@@ -1,192 +1,197 @@
|
|
|
1
1
|
{
|
|
2
|
-
"@cypress/vite-dev-server@
|
|
2
|
+
"@cypress/vite-dev-server@7.0.0": {
|
|
3
3
|
"licenses": "MIT",
|
|
4
4
|
"repository": "https://github.com/cypress-io/cypress",
|
|
5
5
|
"licenseUrl": "https://github.com/cypress-io/cypress/tree/develop/npm/vite-dev-server#readme"
|
|
6
6
|
},
|
|
7
|
-
"@
|
|
7
|
+
"@eslint/js@9.34.0": {
|
|
8
|
+
"licenses": "MIT",
|
|
9
|
+
"repository": "https://github.com/eslint/eslint",
|
|
10
|
+
"licenseUrl": "https://unpkg.com/@eslint/js@9.34.0/LICENSE"
|
|
11
|
+
},
|
|
12
|
+
"@rollup/plugin-node-resolve@16.0.1": {
|
|
8
13
|
"licenses": "MIT",
|
|
9
14
|
"repository": "https://github.com/rollup/plugins",
|
|
10
|
-
"licenseUrl": "https://
|
|
15
|
+
"licenseUrl": "https://unpkg.com/@rollup/plugin-node-resolve@16.0.1/LICENSE"
|
|
11
16
|
},
|
|
12
|
-
"@types/node@
|
|
17
|
+
"@types/node@24.3.0": {
|
|
13
18
|
"licenses": "MIT",
|
|
14
19
|
"repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
|
|
15
|
-
"licenseUrl": "https://
|
|
20
|
+
"licenseUrl": "https://unpkg.com/@types/node@24.3.0/LICENSE"
|
|
16
21
|
},
|
|
17
22
|
"@types/postcss-prefix-selector@1.16.3": {
|
|
18
23
|
"licenses": "MIT",
|
|
19
24
|
"repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
|
|
20
|
-
"licenseUrl": "https://
|
|
25
|
+
"licenseUrl": "https://unpkg.com/@types/postcss-prefix-selector@1.16.3/LICENSE"
|
|
21
26
|
},
|
|
22
|
-
"@typescript-eslint/eslint-plugin@
|
|
27
|
+
"@typescript-eslint/eslint-plugin@8.41.0": {
|
|
23
28
|
"licenses": "MIT",
|
|
24
29
|
"repository": "https://github.com/typescript-eslint/typescript-eslint",
|
|
25
|
-
"licenseUrl": "https://
|
|
30
|
+
"licenseUrl": "https://unpkg.com/@typescript-eslint/eslint-plugin@8.41.0/LICENSE"
|
|
26
31
|
},
|
|
27
|
-
"@typescript-eslint/parser@
|
|
28
|
-
"licenses": "
|
|
32
|
+
"@typescript-eslint/parser@8.41.0": {
|
|
33
|
+
"licenses": "MIT",
|
|
29
34
|
"repository": "https://github.com/typescript-eslint/typescript-eslint",
|
|
30
|
-
"licenseUrl": "https://
|
|
35
|
+
"licenseUrl": "https://unpkg.com/@typescript-eslint/parser@8.41.0/LICENSE"
|
|
31
36
|
},
|
|
32
|
-
"@vitest/coverage-v8@
|
|
37
|
+
"@vitest/coverage-v8@3.2.4": {
|
|
33
38
|
"licenses": "MIT",
|
|
34
39
|
"repository": "https://github.com/vitest-dev/vitest",
|
|
35
|
-
"licenseUrl": "https://
|
|
40
|
+
"licenseUrl": "https://unpkg.com/@vitest/coverage-v8@3.2.4/LICENSE"
|
|
36
41
|
},
|
|
37
|
-
"@vitest/ui@
|
|
42
|
+
"@vitest/ui@3.2.4": {
|
|
38
43
|
"licenses": "MIT",
|
|
39
44
|
"repository": "https://github.com/vitest-dev/vitest",
|
|
40
|
-
"licenseUrl": "https://
|
|
45
|
+
"licenseUrl": "https://unpkg.com/@vitest/ui@3.2.4/LICENSE"
|
|
41
46
|
},
|
|
42
|
-
"axe-core@4.
|
|
47
|
+
"axe-core@4.10.3": {
|
|
43
48
|
"licenses": "MPL-2.0",
|
|
44
49
|
"repository": "https://github.com/dequelabs/axe-core",
|
|
45
|
-
"licenseUrl": "https://
|
|
50
|
+
"licenseUrl": "https://unpkg.com/axe-core@4.10.3/LICENSE"
|
|
46
51
|
},
|
|
47
|
-
"cypress-axe@1.
|
|
52
|
+
"cypress-axe@1.7.0": {
|
|
48
53
|
"licenses": "MIT",
|
|
49
54
|
"repository": "https://github.com/component-driven/cypress-axe",
|
|
50
|
-
"licenseUrl": "https://
|
|
51
|
-
},
|
|
52
|
-
"cypress-real-events@1.13.0": {
|
|
53
|
-
"licenses": "MIT",
|
|
54
|
-
"repository": "https://github.com/dmtrKovalenko/cypress-real-events",
|
|
55
|
-
"licenseUrl": "https://github.com/dmtrKovalenko/cypress-real-events"
|
|
55
|
+
"licenseUrl": "https://unpkg.com/cypress-axe@1.7.0/License.md"
|
|
56
56
|
},
|
|
57
|
-
"cypress@
|
|
57
|
+
"cypress@15.0.0": {
|
|
58
58
|
"licenses": "MIT",
|
|
59
59
|
"repository": "https://github.com/cypress-io/cypress",
|
|
60
60
|
"licenseUrl": "https://cypress.io"
|
|
61
61
|
},
|
|
62
|
-
"esbuild@0.
|
|
62
|
+
"esbuild@0.25.9": {
|
|
63
63
|
"licenses": "MIT",
|
|
64
64
|
"repository": "https://github.com/evanw/esbuild",
|
|
65
|
-
"licenseUrl": "https://
|
|
65
|
+
"licenseUrl": "https://unpkg.com/esbuild@0.25.9/LICENSE.md"
|
|
66
66
|
},
|
|
67
67
|
"eslint-config-google@0.14.0": {
|
|
68
68
|
"licenses": "Apache-2.0",
|
|
69
69
|
"repository": "https://github.com/google/eslint-config-google",
|
|
70
|
-
"licenseUrl": "https://
|
|
70
|
+
"licenseUrl": "https://unpkg.com/eslint-config-google@0.14.0/LICENSE"
|
|
71
71
|
},
|
|
72
|
-
"eslint-config-prettier@
|
|
72
|
+
"eslint-config-prettier@10.1.8": {
|
|
73
73
|
"licenses": "MIT",
|
|
74
74
|
"repository": "https://github.com/prettier/eslint-config-prettier",
|
|
75
|
-
"licenseUrl": "https://
|
|
75
|
+
"licenseUrl": "https://unpkg.com/eslint-config-prettier@10.1.8/LICENSE"
|
|
76
76
|
},
|
|
77
|
-
"eslint@
|
|
77
|
+
"eslint@9.34.0": {
|
|
78
78
|
"licenses": "MIT",
|
|
79
79
|
"repository": "https://github.com/eslint/eslint",
|
|
80
|
-
"licenseUrl": "https://
|
|
80
|
+
"licenseUrl": "https://unpkg.com/eslint@9.34.0/LICENSE"
|
|
81
81
|
},
|
|
82
|
-
"github-markdown-css@5.
|
|
82
|
+
"github-markdown-css@5.8.1": {
|
|
83
83
|
"licenses": "MIT",
|
|
84
84
|
"repository": "https://github.com/sindresorhus/github-markdown-css",
|
|
85
|
-
"licenseUrl": "https://
|
|
85
|
+
"licenseUrl": "https://unpkg.com/github-markdown-css@5.8.1/license"
|
|
86
86
|
},
|
|
87
|
-
"highlight.js@11.
|
|
87
|
+
"highlight.js@11.11.1": {
|
|
88
88
|
"licenses": "BSD-3-Clause",
|
|
89
89
|
"repository": "https://github.com/highlightjs/highlight.js",
|
|
90
|
-
"licenseUrl": "https://
|
|
90
|
+
"licenseUrl": "https://unpkg.com/highlight.js@11.11.1/LICENSE"
|
|
91
91
|
},
|
|
92
|
-
"junit-report-builder@
|
|
92
|
+
"junit-report-builder@5.1.1": {
|
|
93
93
|
"licenses": "MIT",
|
|
94
94
|
"repository": "https://github.com/davidparsson/junit-report-builder",
|
|
95
|
-
"licenseUrl": "https://
|
|
95
|
+
"licenseUrl": "https://unpkg.com/junit-report-builder@5.1.1/LICENSE"
|
|
96
96
|
},
|
|
97
|
-
"lint-staged@
|
|
97
|
+
"lint-staged@16.1.5": {
|
|
98
98
|
"licenses": "MIT",
|
|
99
|
-
"repository": "https://github.com/
|
|
100
|
-
"licenseUrl": "https://
|
|
99
|
+
"repository": "https://github.com/lint-staged/lint-staged",
|
|
100
|
+
"licenseUrl": "https://unpkg.com/lint-staged@16.1.5/LICENSE"
|
|
101
101
|
},
|
|
102
|
-
"lit@
|
|
102
|
+
"lit@3.3.1": {
|
|
103
103
|
"licenses": "BSD-3-Clause",
|
|
104
104
|
"repository": "https://github.com/lit/lit",
|
|
105
|
-
"licenseUrl": "https://
|
|
105
|
+
"licenseUrl": "https://unpkg.com/lit@3.3.1/LICENSE"
|
|
106
106
|
},
|
|
107
|
-
"marked@
|
|
107
|
+
"marked@16.2.1": {
|
|
108
108
|
"licenses": "MIT",
|
|
109
109
|
"repository": "https://github.com/markedjs/marked",
|
|
110
|
-
"licenseUrl": "https://
|
|
110
|
+
"licenseUrl": "https://unpkg.com/marked@16.2.1/LICENSE.md"
|
|
111
111
|
},
|
|
112
|
-
"postcss-prefix-selector@1.
|
|
112
|
+
"postcss-prefix-selector@2.1.1": {
|
|
113
113
|
"licenses": "MIT",
|
|
114
114
|
"repository": "https://github.com/RadValentin/postcss-prefix-selector",
|
|
115
|
-
"licenseUrl": "https://
|
|
115
|
+
"licenseUrl": "https://unpkg.com/postcss-prefix-selector@2.1.1/LICENSE"
|
|
116
116
|
},
|
|
117
|
-
"postcss@8.
|
|
117
|
+
"postcss@8.5.6": {
|
|
118
118
|
"licenses": "MIT",
|
|
119
119
|
"repository": "https://github.com/postcss/postcss",
|
|
120
|
-
"licenseUrl": "https://
|
|
120
|
+
"licenseUrl": "https://unpkg.com/postcss@8.5.6/LICENSE"
|
|
121
121
|
},
|
|
122
|
-
"prettier@3.
|
|
122
|
+
"prettier@3.6.2": {
|
|
123
123
|
"licenses": "MIT",
|
|
124
124
|
"repository": "https://github.com/prettier/prettier",
|
|
125
|
-
"licenseUrl": "https://
|
|
125
|
+
"licenseUrl": "https://unpkg.com/prettier@3.6.2/LICENSE"
|
|
126
126
|
},
|
|
127
127
|
"resolve-pkg@2.0.0": {
|
|
128
128
|
"licenses": "MIT",
|
|
129
129
|
"repository": "https://github.com/sindresorhus/resolve-pkg",
|
|
130
|
-
"licenseUrl": "https://
|
|
130
|
+
"licenseUrl": "https://unpkg.com/resolve-pkg@2.0.0/license"
|
|
131
131
|
},
|
|
132
|
-
"sass@1.
|
|
132
|
+
"sass@1.91.0": {
|
|
133
133
|
"licenses": "MIT",
|
|
134
134
|
"repository": "https://github.com/sass/dart-sass",
|
|
135
|
-
"licenseUrl": "https://
|
|
135
|
+
"licenseUrl": "https://unpkg.com/sass@1.91.0/LICENSE"
|
|
136
136
|
},
|
|
137
|
-
"stylelint-config-recommended-scss@
|
|
137
|
+
"stylelint-config-recommended-scss@16.0.0": {
|
|
138
138
|
"licenses": "MIT",
|
|
139
139
|
"repository": "https://github.com/stylelint-scss/stylelint-config-recommended-scss",
|
|
140
|
-
"licenseUrl": "https://
|
|
140
|
+
"licenseUrl": "https://unpkg.com/stylelint-config-recommended-scss@16.0.0/LICENSE"
|
|
141
141
|
},
|
|
142
|
-
"stylelint-config-standard@
|
|
142
|
+
"stylelint-config-standard@39.0.0": {
|
|
143
143
|
"licenses": "MIT",
|
|
144
144
|
"repository": "https://github.com/stylelint/stylelint-config-standard",
|
|
145
|
-
"licenseUrl": "https://
|
|
145
|
+
"licenseUrl": "https://unpkg.com/stylelint-config-standard@39.0.0/LICENSE"
|
|
146
146
|
},
|
|
147
|
-
"stylelint-scss@6.
|
|
147
|
+
"stylelint-scss@6.12.1": {
|
|
148
148
|
"licenses": "MIT",
|
|
149
149
|
"repository": "https://github.com/stylelint-scss/stylelint-scss",
|
|
150
|
-
"licenseUrl": "https://
|
|
150
|
+
"licenseUrl": "https://unpkg.com/stylelint-scss@6.12.1/LICENSE"
|
|
151
151
|
},
|
|
152
|
-
"stylelint@16.1
|
|
152
|
+
"stylelint@16.23.1": {
|
|
153
153
|
"licenses": "MIT",
|
|
154
154
|
"repository": "https://github.com/stylelint/stylelint",
|
|
155
|
-
"licenseUrl": "https://
|
|
155
|
+
"licenseUrl": "https://unpkg.com/stylelint@16.23.1/LICENSE"
|
|
156
156
|
},
|
|
157
|
-
"tsup@8.0
|
|
157
|
+
"tsup@8.5.0": {
|
|
158
158
|
"licenses": "MIT",
|
|
159
159
|
"repository": "https://github.com/egoist/tsup",
|
|
160
|
-
"licenseUrl": "https://
|
|
160
|
+
"licenseUrl": "https://unpkg.com/tsup@8.5.0/LICENSE"
|
|
161
161
|
},
|
|
162
|
-
"turbo@
|
|
163
|
-
"licenses": "
|
|
164
|
-
"repository": "https://github.com/vercel/
|
|
165
|
-
"licenseUrl": "https://
|
|
162
|
+
"turbo@2.5.6": {
|
|
163
|
+
"licenses": "MIT",
|
|
164
|
+
"repository": "https://github.com/vercel/turborepo",
|
|
165
|
+
"licenseUrl": "https://unpkg.com/turbo@2.5.6/LICENSE"
|
|
166
|
+
},
|
|
167
|
+
"typescript-eslint@8.41.0": {
|
|
168
|
+
"licenses": "MIT",
|
|
169
|
+
"repository": "https://github.com/typescript-eslint/typescript-eslint",
|
|
170
|
+
"licenseUrl": "https://unpkg.com/typescript-eslint@8.41.0/LICENSE"
|
|
166
171
|
},
|
|
167
|
-
"typescript@5.
|
|
172
|
+
"typescript@5.9.2": {
|
|
168
173
|
"licenses": "Apache-2.0",
|
|
169
|
-
"repository": "https://github.com/
|
|
170
|
-
"licenseUrl": "https://
|
|
174
|
+
"repository": "https://github.com/microsoft/TypeScript",
|
|
175
|
+
"licenseUrl": "https://unpkg.com/typescript@5.9.2/LICENSE.txt"
|
|
171
176
|
},
|
|
172
|
-
"vite-tsconfig-paths@
|
|
177
|
+
"vite-tsconfig-paths@5.1.4": {
|
|
173
178
|
"licenses": "MIT",
|
|
174
179
|
"repository": "https://github.com/aleclarson/vite-tsconfig-paths",
|
|
175
|
-
"licenseUrl": "https://
|
|
180
|
+
"licenseUrl": "https://unpkg.com/vite-tsconfig-paths@5.1.4/LICENSE"
|
|
176
181
|
},
|
|
177
|
-
"vite@
|
|
182
|
+
"vite@7.1.3": {
|
|
178
183
|
"licenses": "MIT",
|
|
179
184
|
"repository": "https://github.com/vitejs/vite",
|
|
180
|
-
"licenseUrl": "https://
|
|
185
|
+
"licenseUrl": "https://unpkg.com/vite@7.1.3/LICENSE.md"
|
|
181
186
|
},
|
|
182
|
-
"vitest@
|
|
187
|
+
"vitest@3.2.4": {
|
|
183
188
|
"licenses": "MIT",
|
|
184
189
|
"repository": "https://github.com/vitest-dev/vitest",
|
|
185
|
-
"licenseUrl": "https://
|
|
190
|
+
"licenseUrl": "https://unpkg.com/vitest@3.2.4/LICENSE.md"
|
|
186
191
|
},
|
|
187
|
-
"yargs@
|
|
192
|
+
"yargs@18.0.0": {
|
|
188
193
|
"licenses": "MIT",
|
|
189
194
|
"repository": "https://github.com/yargs/yargs",
|
|
190
|
-
"licenseUrl": "https://
|
|
195
|
+
"licenseUrl": "https://unpkg.com/yargs@18.0.0/LICENSE"
|
|
191
196
|
}
|
|
192
197
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cas-smartdesign/field-validation-message",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "An inline message box with some predefined modes",
|
|
5
5
|
"main": "dist/field-validation-message-with-externals.js",
|
|
6
6
|
"module": "dist/field-validation-message.mjs",
|
|
7
7
|
"types": "dist/field-validation-message.d.ts",
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"lit": "^
|
|
11
|
-
"@cas-smartdesign/styles": "^3.
|
|
10
|
+
"lit": "^3.3.1",
|
|
11
|
+
"@cas-smartdesign/styles": "^3.7.1"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@cas-smartdesign/element-preview": "^0.
|
|
23
|
-
"@cas-smartdesign/license-generator": "^1.
|
|
22
|
+
"@cas-smartdesign/element-preview": "^0.3.1",
|
|
23
|
+
"@cas-smartdesign/license-generator": "^1.8.1"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"version": "pnpm version",
|