@aurodesignsystem/auro-formkit 5.1.0-rc-1014.1 → 5.1.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/CHANGELOG.md +1 -2
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +9 -14
- package/components/bibtemplate/dist/registered.js +9 -14
- package/components/combobox/demo/api.min.js +34 -54
- package/components/combobox/demo/index.min.js +34 -54
- package/components/combobox/dist/index.js +25 -40
- package/components/combobox/dist/registered.js +25 -40
- package/components/counter/demo/api.min.js +31 -50
- package/components/counter/demo/index.min.js +31 -50
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +31 -50
- package/components/counter/dist/registered.js +31 -50
- package/components/datepicker/demo/api.min.js +33 -53
- package/components/datepicker/demo/index.min.js +33 -53
- package/components/datepicker/dist/index.js +33 -53
- package/components/datepicker/dist/registered.js +33 -53
- package/components/dropdown/demo/api.min.js +8 -13
- package/components/dropdown/demo/index.min.js +8 -13
- package/components/dropdown/dist/index.js +8 -13
- package/components/dropdown/dist/registered.js +8 -13
- package/components/input/demo/api.min.js +8 -13
- package/components/input/demo/index.min.js +8 -13
- package/components/input/dist/index.js +8 -13
- package/components/input/dist/registered.js +8 -13
- package/components/menu/demo/api.min.js +9 -14
- package/components/menu/demo/index.min.js +9 -14
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +9 -14
- package/components/menu/dist/registered.js +9 -14
- package/components/select/demo/api.min.js +26 -41
- package/components/select/demo/index.min.js +26 -41
- package/components/select/dist/index.js +17 -27
- package/components/select/dist/registered.js +17 -27
- package/package.json +1 -1
|
@@ -12099,7 +12099,7 @@ let AuroElement$6 = class AuroElement extends LitElement {
|
|
|
12099
12099
|
}
|
|
12100
12100
|
};
|
|
12101
12101
|
|
|
12102
|
-
var error$3 = {"
|
|
12102
|
+
var error$3 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
12103
12103
|
|
|
12104
12104
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
12105
12105
|
|
|
@@ -12199,21 +12199,16 @@ let BaseIcon$3 = class BaseIcon extends AuroElement$6 {
|
|
|
12199
12199
|
|
|
12200
12200
|
// lifecycle function
|
|
12201
12201
|
async firstUpdated() {
|
|
12202
|
-
|
|
12203
|
-
|
|
12204
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
12202
|
+
if (!this.customSvg) {
|
|
12203
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
12205
12204
|
|
|
12206
|
-
|
|
12207
|
-
|
|
12208
|
-
|
|
12209
|
-
|
|
12205
|
+
if (svg) {
|
|
12206
|
+
this.svg = svg;
|
|
12207
|
+
} else if (!svg) {
|
|
12208
|
+
const penDOM = new DOMParser().parseFromString(error$3.svg, 'text/html');
|
|
12210
12209
|
|
|
12211
|
-
|
|
12212
|
-
}
|
|
12210
|
+
this.svg = penDOM.body.firstChild;
|
|
12213
12211
|
}
|
|
12214
|
-
// eslint-disable-next-line no-unused-vars
|
|
12215
|
-
} catch (err) {
|
|
12216
|
-
this.svg = undefined;
|
|
12217
12212
|
}
|
|
12218
12213
|
}
|
|
12219
12214
|
};
|
|
@@ -12464,7 +12459,7 @@ let AuroIcon$3 = class AuroIcon extends BaseIcon$3 {
|
|
|
12464
12459
|
}
|
|
12465
12460
|
};
|
|
12466
12461
|
|
|
12467
|
-
var iconVersion$3 = '8.1.
|
|
12462
|
+
var iconVersion$3 = '8.1.1';
|
|
12468
12463
|
|
|
12469
12464
|
var styleCss$9 = css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3)}:host([no-margin-block]) .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, 0.125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, 0.25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, 0.5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, 0.75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, 0.125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, 0.25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, 0.5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, 0.75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}`;
|
|
12470
12465
|
|
|
@@ -16817,7 +16812,7 @@ let AuroElement$1$2 = class AuroElement extends LitElement {
|
|
|
16817
16812
|
}
|
|
16818
16813
|
};
|
|
16819
16814
|
|
|
16820
|
-
var error$2 = {"
|
|
16815
|
+
var error$2 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
16821
16816
|
|
|
16822
16817
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
16823
16818
|
|
|
@@ -16917,21 +16912,16 @@ let BaseIcon$2 = class BaseIcon extends AuroElement$1$2 {
|
|
|
16917
16912
|
|
|
16918
16913
|
// lifecycle function
|
|
16919
16914
|
async firstUpdated() {
|
|
16920
|
-
|
|
16921
|
-
|
|
16922
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
16915
|
+
if (!this.customSvg) {
|
|
16916
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
16923
16917
|
|
|
16924
|
-
|
|
16925
|
-
|
|
16926
|
-
|
|
16927
|
-
|
|
16918
|
+
if (svg) {
|
|
16919
|
+
this.svg = svg;
|
|
16920
|
+
} else if (!svg) {
|
|
16921
|
+
const penDOM = new DOMParser().parseFromString(error$2.svg, 'text/html');
|
|
16928
16922
|
|
|
16929
|
-
|
|
16930
|
-
}
|
|
16923
|
+
this.svg = penDOM.body.firstChild;
|
|
16931
16924
|
}
|
|
16932
|
-
// eslint-disable-next-line no-unused-vars
|
|
16933
|
-
} catch (err) {
|
|
16934
|
-
this.svg = undefined;
|
|
16935
16925
|
}
|
|
16936
16926
|
}
|
|
16937
16927
|
};
|
|
@@ -24706,7 +24696,7 @@ let AuroElement$1$1 = class AuroElement extends LitElement {
|
|
|
24706
24696
|
}
|
|
24707
24697
|
};
|
|
24708
24698
|
|
|
24709
|
-
var error$1 = {"
|
|
24699
|
+
var error$1 = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
24710
24700
|
|
|
24711
24701
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
24712
24702
|
|
|
@@ -24806,21 +24796,16 @@ let BaseIcon$1 = class BaseIcon extends AuroElement$1$1 {
|
|
|
24806
24796
|
|
|
24807
24797
|
// lifecycle function
|
|
24808
24798
|
async firstUpdated() {
|
|
24809
|
-
|
|
24810
|
-
|
|
24811
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
24799
|
+
if (!this.customSvg) {
|
|
24800
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
24812
24801
|
|
|
24813
|
-
|
|
24814
|
-
|
|
24815
|
-
|
|
24816
|
-
|
|
24802
|
+
if (svg) {
|
|
24803
|
+
this.svg = svg;
|
|
24804
|
+
} else if (!svg) {
|
|
24805
|
+
const penDOM = new DOMParser().parseFromString(error$1.svg, 'text/html');
|
|
24817
24806
|
|
|
24818
|
-
|
|
24819
|
-
}
|
|
24807
|
+
this.svg = penDOM.body.firstChild;
|
|
24820
24808
|
}
|
|
24821
|
-
// eslint-disable-next-line no-unused-vars
|
|
24822
|
-
} catch (err) {
|
|
24823
|
-
this.svg = undefined;
|
|
24824
24809
|
}
|
|
24825
24810
|
}
|
|
24826
24811
|
};
|
|
@@ -27406,7 +27391,7 @@ class AuroElement extends LitElement {
|
|
|
27406
27391
|
}
|
|
27407
27392
|
}
|
|
27408
27393
|
|
|
27409
|
-
var error = {"
|
|
27394
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
27410
27395
|
|
|
27411
27396
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
27412
27397
|
|
|
@@ -27506,21 +27491,16 @@ class BaseIcon extends AuroElement {
|
|
|
27506
27491
|
|
|
27507
27492
|
// lifecycle function
|
|
27508
27493
|
async firstUpdated() {
|
|
27509
|
-
|
|
27510
|
-
|
|
27511
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
27494
|
+
if (!this.customSvg) {
|
|
27495
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
27512
27496
|
|
|
27513
|
-
|
|
27514
|
-
|
|
27515
|
-
|
|
27516
|
-
|
|
27497
|
+
if (svg) {
|
|
27498
|
+
this.svg = svg;
|
|
27499
|
+
} else if (!svg) {
|
|
27500
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
27517
27501
|
|
|
27518
|
-
|
|
27519
|
-
}
|
|
27502
|
+
this.svg = penDOM.body.firstChild;
|
|
27520
27503
|
}
|
|
27521
|
-
// eslint-disable-next-line no-unused-vars
|
|
27522
|
-
} catch (err) {
|
|
27523
|
-
this.svg = undefined;
|
|
27524
27504
|
}
|
|
27525
27505
|
}
|
|
27526
27506
|
}
|
|
@@ -2647,7 +2647,7 @@ let AuroElement$1 = class AuroElement extends i {
|
|
|
2647
2647
|
}
|
|
2648
2648
|
};
|
|
2649
2649
|
|
|
2650
|
-
var error = {"
|
|
2650
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
2651
2651
|
|
|
2652
2652
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2653
2653
|
|
|
@@ -2747,21 +2747,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
2747
2747
|
|
|
2748
2748
|
// lifecycle function
|
|
2749
2749
|
async firstUpdated() {
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
2750
|
+
if (!this.customSvg) {
|
|
2751
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
2753
2752
|
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2753
|
+
if (svg) {
|
|
2754
|
+
this.svg = svg;
|
|
2755
|
+
} else if (!svg) {
|
|
2756
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
2758
2757
|
|
|
2759
|
-
|
|
2760
|
-
}
|
|
2758
|
+
this.svg = penDOM.body.firstChild;
|
|
2761
2759
|
}
|
|
2762
|
-
// eslint-disable-next-line no-unused-vars
|
|
2763
|
-
} catch (err) {
|
|
2764
|
-
this.svg = undefined;
|
|
2765
2760
|
}
|
|
2766
2761
|
}
|
|
2767
2762
|
}
|
|
@@ -2622,7 +2622,7 @@ let AuroElement$1 = class AuroElement extends i {
|
|
|
2622
2622
|
}
|
|
2623
2623
|
};
|
|
2624
2624
|
|
|
2625
|
-
var error = {"
|
|
2625
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
2626
2626
|
|
|
2627
2627
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2628
2628
|
|
|
@@ -2722,21 +2722,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
2722
2722
|
|
|
2723
2723
|
// lifecycle function
|
|
2724
2724
|
async firstUpdated() {
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
2725
|
+
if (!this.customSvg) {
|
|
2726
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
2728
2727
|
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2728
|
+
if (svg) {
|
|
2729
|
+
this.svg = svg;
|
|
2730
|
+
} else if (!svg) {
|
|
2731
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
2733
2732
|
|
|
2734
|
-
|
|
2735
|
-
}
|
|
2733
|
+
this.svg = penDOM.body.firstChild;
|
|
2736
2734
|
}
|
|
2737
|
-
// eslint-disable-next-line no-unused-vars
|
|
2738
|
-
} catch (err) {
|
|
2739
|
-
this.svg = undefined;
|
|
2740
2735
|
}
|
|
2741
2736
|
}
|
|
2742
2737
|
}
|
|
@@ -2575,7 +2575,7 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
2575
2575
|
}
|
|
2576
2576
|
};
|
|
2577
2577
|
|
|
2578
|
-
var error = {"
|
|
2578
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
2579
2579
|
|
|
2580
2580
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2581
2581
|
|
|
@@ -2675,21 +2675,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
2675
2675
|
|
|
2676
2676
|
// lifecycle function
|
|
2677
2677
|
async firstUpdated() {
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
2678
|
+
if (!this.customSvg) {
|
|
2679
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
2681
2680
|
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2681
|
+
if (svg) {
|
|
2682
|
+
this.svg = svg;
|
|
2683
|
+
} else if (!svg) {
|
|
2684
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
2686
2685
|
|
|
2687
|
-
|
|
2688
|
-
}
|
|
2686
|
+
this.svg = penDOM.body.firstChild;
|
|
2689
2687
|
}
|
|
2690
|
-
// eslint-disable-next-line no-unused-vars
|
|
2691
|
-
} catch (err) {
|
|
2692
|
-
this.svg = undefined;
|
|
2693
2688
|
}
|
|
2694
2689
|
}
|
|
2695
2690
|
}
|
|
@@ -2575,7 +2575,7 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
2575
2575
|
}
|
|
2576
2576
|
};
|
|
2577
2577
|
|
|
2578
|
-
var error = {"
|
|
2578
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
2579
2579
|
|
|
2580
2580
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
2581
2581
|
|
|
@@ -2675,21 +2675,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
2675
2675
|
|
|
2676
2676
|
// lifecycle function
|
|
2677
2677
|
async firstUpdated() {
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
2678
|
+
if (!this.customSvg) {
|
|
2679
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
2681
2680
|
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2681
|
+
if (svg) {
|
|
2682
|
+
this.svg = svg;
|
|
2683
|
+
} else if (!svg) {
|
|
2684
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
2686
2685
|
|
|
2687
|
-
|
|
2688
|
-
}
|
|
2686
|
+
this.svg = penDOM.body.firstChild;
|
|
2689
2687
|
}
|
|
2690
|
-
// eslint-disable-next-line no-unused-vars
|
|
2691
|
-
} catch (err) {
|
|
2692
|
-
this.svg = undefined;
|
|
2693
2688
|
}
|
|
2694
2689
|
}
|
|
2695
2690
|
}
|
|
@@ -6265,7 +6265,7 @@ let AuroElement$1 = class AuroElement extends i$2 {
|
|
|
6265
6265
|
}
|
|
6266
6266
|
};
|
|
6267
6267
|
|
|
6268
|
-
var error = {"
|
|
6268
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
6269
6269
|
|
|
6270
6270
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
6271
6271
|
|
|
@@ -6365,21 +6365,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
6365
6365
|
|
|
6366
6366
|
// lifecycle function
|
|
6367
6367
|
async firstUpdated() {
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
6368
|
+
if (!this.customSvg) {
|
|
6369
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
6371
6370
|
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6371
|
+
if (svg) {
|
|
6372
|
+
this.svg = svg;
|
|
6373
|
+
} else if (!svg) {
|
|
6374
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
6376
6375
|
|
|
6377
|
-
|
|
6378
|
-
}
|
|
6376
|
+
this.svg = penDOM.body.firstChild;
|
|
6379
6377
|
}
|
|
6380
|
-
// eslint-disable-next-line no-unused-vars
|
|
6381
|
-
} catch (err) {
|
|
6382
|
-
this.svg = undefined;
|
|
6383
6378
|
}
|
|
6384
6379
|
}
|
|
6385
6380
|
}
|
|
@@ -6190,7 +6190,7 @@ let AuroElement$1 = class AuroElement extends i$2 {
|
|
|
6190
6190
|
}
|
|
6191
6191
|
};
|
|
6192
6192
|
|
|
6193
|
-
var error = {"
|
|
6193
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
6194
6194
|
|
|
6195
6195
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
6196
6196
|
|
|
@@ -6290,21 +6290,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
6290
6290
|
|
|
6291
6291
|
// lifecycle function
|
|
6292
6292
|
async firstUpdated() {
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
6293
|
+
if (!this.customSvg) {
|
|
6294
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
6296
6295
|
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6296
|
+
if (svg) {
|
|
6297
|
+
this.svg = svg;
|
|
6298
|
+
} else if (!svg) {
|
|
6299
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
6301
6300
|
|
|
6302
|
-
|
|
6303
|
-
}
|
|
6301
|
+
this.svg = penDOM.body.firstChild;
|
|
6304
6302
|
}
|
|
6305
|
-
// eslint-disable-next-line no-unused-vars
|
|
6306
|
-
} catch (err) {
|
|
6307
|
-
this.svg = undefined;
|
|
6308
6303
|
}
|
|
6309
6304
|
}
|
|
6310
6305
|
}
|
|
@@ -6114,7 +6114,7 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
6114
6114
|
}
|
|
6115
6115
|
};
|
|
6116
6116
|
|
|
6117
|
-
var error = {"
|
|
6117
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
6118
6118
|
|
|
6119
6119
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
6120
6120
|
|
|
@@ -6214,21 +6214,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
6214
6214
|
|
|
6215
6215
|
// lifecycle function
|
|
6216
6216
|
async firstUpdated() {
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
6217
|
+
if (!this.customSvg) {
|
|
6218
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
6220
6219
|
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6220
|
+
if (svg) {
|
|
6221
|
+
this.svg = svg;
|
|
6222
|
+
} else if (!svg) {
|
|
6223
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
6225
6224
|
|
|
6226
|
-
|
|
6227
|
-
}
|
|
6225
|
+
this.svg = penDOM.body.firstChild;
|
|
6228
6226
|
}
|
|
6229
|
-
// eslint-disable-next-line no-unused-vars
|
|
6230
|
-
} catch (err) {
|
|
6231
|
-
this.svg = undefined;
|
|
6232
6227
|
}
|
|
6233
6228
|
}
|
|
6234
6229
|
}
|
|
@@ -6114,7 +6114,7 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
6114
6114
|
}
|
|
6115
6115
|
};
|
|
6116
6116
|
|
|
6117
|
-
var error = {"
|
|
6117
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
6118
6118
|
|
|
6119
6119
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
6120
6120
|
|
|
@@ -6214,21 +6214,16 @@ class BaseIcon extends AuroElement$1 {
|
|
|
6214
6214
|
|
|
6215
6215
|
// lifecycle function
|
|
6216
6216
|
async firstUpdated() {
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
6217
|
+
if (!this.customSvg) {
|
|
6218
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
6220
6219
|
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6220
|
+
if (svg) {
|
|
6221
|
+
this.svg = svg;
|
|
6222
|
+
} else if (!svg) {
|
|
6223
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
6225
6224
|
|
|
6226
|
-
|
|
6227
|
-
}
|
|
6225
|
+
this.svg = penDOM.body.firstChild;
|
|
6228
6226
|
}
|
|
6229
|
-
// eslint-disable-next-line no-unused-vars
|
|
6230
|
-
} catch (err) {
|
|
6231
|
-
this.svg = undefined;
|
|
6232
6227
|
}
|
|
6233
6228
|
}
|
|
6234
6229
|
}
|
|
@@ -1196,7 +1196,7 @@ class AuroElement extends i$2 {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
|
-
var error = {"
|
|
1199
|
+
var error = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"error__desc\" class=\"ico_squareLarge\" data-deprecated=\"true\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"error__desc\">Error alert indicator.</desc><path d=\"m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583\"/></svg>"};
|
|
1200
1200
|
|
|
1201
1201
|
/* eslint-disable no-underscore-dangle, jsdoc/no-undefined-types, jsdoc/require-param-description */
|
|
1202
1202
|
|
|
@@ -1296,21 +1296,16 @@ class BaseIcon extends AuroElement {
|
|
|
1296
1296
|
|
|
1297
1297
|
// lifecycle function
|
|
1298
1298
|
async firstUpdated() {
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
const svg = await this.fetchIcon(this.category, this.name);
|
|
1299
|
+
if (!this.customSvg) {
|
|
1300
|
+
const svg = await this.fetchIcon(this.category, this.name);
|
|
1302
1301
|
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1302
|
+
if (svg) {
|
|
1303
|
+
this.svg = svg;
|
|
1304
|
+
} else if (!svg) {
|
|
1305
|
+
const penDOM = new DOMParser().parseFromString(error.svg, 'text/html');
|
|
1307
1306
|
|
|
1308
|
-
|
|
1309
|
-
}
|
|
1307
|
+
this.svg = penDOM.body.firstChild;
|
|
1310
1308
|
}
|
|
1311
|
-
// eslint-disable-next-line no-unused-vars
|
|
1312
|
-
} catch (err) {
|
|
1313
|
-
this.svg = undefined;
|
|
1314
1309
|
}
|
|
1315
1310
|
}
|
|
1316
1311
|
}
|
|
@@ -1561,7 +1556,7 @@ class AuroIcon extends BaseIcon {
|
|
|
1561
1556
|
}
|
|
1562
1557
|
}
|
|
1563
1558
|
|
|
1564
|
-
var iconVersion = '8.1.
|
|
1559
|
+
var iconVersion = '8.1.1';
|
|
1565
1560
|
|
|
1566
1561
|
var checkmarkIcon = {"svg":"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" aria-labelledby=\"checkmark-sm__desc\" class=\"ico_squareLarge\" role=\"img\" style=\"min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor\" viewBox=\"0 0 24 24\" part=\"svg\"><title/><desc id=\"checkmark-sm__desc\">a small check mark.</desc><path d=\"M8.461 11.84a.625.625 0 1 0-.922.844l2.504 2.738c.247.27.674.27.922 0l5.496-6a.625.625 0 1 0-.922-.844l-5.035 5.496z\"/></svg>"};
|
|
1567
1562
|
|