@abgov/react-components 4.0.0-alpha.20 → 4.0.0-alpha.23
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/index.d.ts +1 -0
- package/lib/app-header/app-header.d.ts +2 -2
- package/lib/callout/callout.d.ts +3 -3
- package/lib/hero-banner/hero-banner.d.ts +2 -2
- package/lib/page/page.d.ts +1 -1
- package/package.json +1 -1
- package/react-components.esm.js +673 -349
- package/react-components.umd.js +675 -351
package/react-components.umd.js
CHANGED
|
@@ -1067,7 +1067,7 @@
|
|
|
1067
1067
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.49.0 */
|
|
1068
1068
|
|
|
1069
1069
|
|
|
1070
|
-
function create_fragment$
|
|
1070
|
+
function create_fragment$E(ctx) {
|
|
1071
1071
|
let div;
|
|
1072
1072
|
let slot;
|
|
1073
1073
|
let div_style_value;
|
|
@@ -1107,7 +1107,7 @@
|
|
|
1107
1107
|
};
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
|
-
function instance$
|
|
1110
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1111
1111
|
const Sizes = {
|
|
1112
1112
|
"full": "100%"
|
|
1113
1113
|
};
|
|
@@ -1148,7 +1148,7 @@
|
|
|
1148
1148
|
target: this.shadowRoot,
|
|
1149
1149
|
props: attribute_to_object(this.attributes),
|
|
1150
1150
|
customElement: true
|
|
1151
|
-
}, instance$
|
|
1151
|
+
}, instance$z, create_fragment$E, safe_not_equal, {
|
|
1152
1152
|
width: 1,
|
|
1153
1153
|
_width: 0
|
|
1154
1154
|
}, null);
|
|
@@ -1196,8 +1196,64 @@
|
|
|
1196
1196
|
customElements.define("goa-page-block", PageBlock);
|
|
1197
1197
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.49.0 */
|
|
1198
1198
|
|
|
1199
|
-
function
|
|
1200
|
-
let
|
|
1199
|
+
function create_else_block$4(ctx) {
|
|
1200
|
+
let div;
|
|
1201
|
+
let img0;
|
|
1202
|
+
let img0_src_value;
|
|
1203
|
+
let t0;
|
|
1204
|
+
let img1;
|
|
1205
|
+
let img1_src_value;
|
|
1206
|
+
let t1;
|
|
1207
|
+
let span;
|
|
1208
|
+
let t2;
|
|
1209
|
+
return {
|
|
1210
|
+
c() {
|
|
1211
|
+
div = element("div");
|
|
1212
|
+
img0 = element("img");
|
|
1213
|
+
t0 = space();
|
|
1214
|
+
img1 = element("img");
|
|
1215
|
+
t1 = space();
|
|
1216
|
+
span = element("span");
|
|
1217
|
+
t2 = text(
|
|
1218
|
+
/*heading*/
|
|
1219
|
+
ctx[0]);
|
|
1220
|
+
attr(img0, "alt", "GoA Logo");
|
|
1221
|
+
attr(img0, "class", "image-mobile");
|
|
1222
|
+
if (!src_url_equal(img0.src, img0_src_value = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")) attr(img0, "src", img0_src_value);
|
|
1223
|
+
attr(img1, "alt", "GoA Logo");
|
|
1224
|
+
attr(img1, "class", "image-desktop");
|
|
1225
|
+
if (!src_url_equal(img1.src, img1_src_value = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")) attr(img1, "src", img1_src_value);
|
|
1226
|
+
attr(span, "class", "title");
|
|
1227
|
+
attr(div, "class", "app-link");
|
|
1228
|
+
},
|
|
1229
|
+
|
|
1230
|
+
m(target, anchor) {
|
|
1231
|
+
insert(target, div, anchor);
|
|
1232
|
+
append(div, img0);
|
|
1233
|
+
append(div, t0);
|
|
1234
|
+
append(div, img1);
|
|
1235
|
+
append(div, t1);
|
|
1236
|
+
append(div, span);
|
|
1237
|
+
append(span, t2);
|
|
1238
|
+
},
|
|
1239
|
+
|
|
1240
|
+
p(ctx, dirty) {
|
|
1241
|
+
if (dirty &
|
|
1242
|
+
/*heading*/
|
|
1243
|
+
1) set_data(t2,
|
|
1244
|
+
/*heading*/
|
|
1245
|
+
ctx[0]);
|
|
1246
|
+
},
|
|
1247
|
+
|
|
1248
|
+
d(detaching) {
|
|
1249
|
+
if (detaching) detach(div);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
};
|
|
1253
|
+
} // (12:2) {#if url}
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
function create_if_block$i(ctx) {
|
|
1201
1257
|
let a;
|
|
1202
1258
|
let img0;
|
|
1203
1259
|
let img0_src_value;
|
|
@@ -1207,11 +1263,8 @@
|
|
|
1207
1263
|
let t1;
|
|
1208
1264
|
let span;
|
|
1209
1265
|
let t2;
|
|
1210
|
-
let t3;
|
|
1211
|
-
let div0;
|
|
1212
1266
|
return {
|
|
1213
1267
|
c() {
|
|
1214
|
-
div1 = element("div");
|
|
1215
1268
|
a = element("a");
|
|
1216
1269
|
img0 = element("img");
|
|
1217
1270
|
t0 = space();
|
|
@@ -1219,12 +1272,8 @@
|
|
|
1219
1272
|
t1 = space();
|
|
1220
1273
|
span = element("span");
|
|
1221
1274
|
t2 = text(
|
|
1222
|
-
/*
|
|
1223
|
-
ctx[
|
|
1224
|
-
t3 = space();
|
|
1225
|
-
div0 = element("div");
|
|
1226
|
-
div0.innerHTML = `<slot></slot>`;
|
|
1227
|
-
this.c = noop;
|
|
1275
|
+
/*heading*/
|
|
1276
|
+
ctx[0]);
|
|
1228
1277
|
attr(img0, "alt", "GoA Logo");
|
|
1229
1278
|
attr(img0, "class", "image-mobile");
|
|
1230
1279
|
if (!src_url_equal(img0.src, img0_src_value = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")) attr(img0, "src", img0_src_value);
|
|
@@ -1234,40 +1283,89 @@
|
|
|
1234
1283
|
attr(span, "class", "title");
|
|
1235
1284
|
attr(a, "href",
|
|
1236
1285
|
/*url*/
|
|
1237
|
-
ctx[
|
|
1286
|
+
ctx[1]);
|
|
1238
1287
|
attr(a, "class", "app-link");
|
|
1239
|
-
attr(div1, "class", "app-header");
|
|
1240
|
-
attr(div1, "data-testid",
|
|
1241
|
-
/*testid*/
|
|
1242
|
-
ctx[2]);
|
|
1243
1288
|
},
|
|
1244
1289
|
|
|
1245
1290
|
m(target, anchor) {
|
|
1246
|
-
insert(target,
|
|
1247
|
-
append(div1, a);
|
|
1291
|
+
insert(target, a, anchor);
|
|
1248
1292
|
append(a, img0);
|
|
1249
1293
|
append(a, t0);
|
|
1250
1294
|
append(a, img1);
|
|
1251
1295
|
append(a, t1);
|
|
1252
1296
|
append(a, span);
|
|
1253
1297
|
append(span, t2);
|
|
1254
|
-
append(div1, t3);
|
|
1255
|
-
append(div1, div0);
|
|
1256
1298
|
},
|
|
1257
1299
|
|
|
1258
|
-
p(ctx,
|
|
1300
|
+
p(ctx, dirty) {
|
|
1259
1301
|
if (dirty &
|
|
1260
|
-
/*
|
|
1261
|
-
|
|
1262
|
-
/*
|
|
1263
|
-
ctx[
|
|
1302
|
+
/*heading*/
|
|
1303
|
+
1) set_data(t2,
|
|
1304
|
+
/*heading*/
|
|
1305
|
+
ctx[0]);
|
|
1264
1306
|
|
|
1265
1307
|
if (dirty &
|
|
1266
1308
|
/*url*/
|
|
1267
|
-
|
|
1309
|
+
2) {
|
|
1268
1310
|
attr(a, "href",
|
|
1269
1311
|
/*url*/
|
|
1270
|
-
ctx[
|
|
1312
|
+
ctx[1]);
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
|
|
1316
|
+
d(detaching) {
|
|
1317
|
+
if (detaching) detach(a);
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
};
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
function create_fragment$D(ctx) {
|
|
1324
|
+
let div1;
|
|
1325
|
+
let t;
|
|
1326
|
+
let div0;
|
|
1327
|
+
|
|
1328
|
+
function select_block_type(ctx, dirty) {
|
|
1329
|
+
if (
|
|
1330
|
+
/*url*/
|
|
1331
|
+
ctx[1]) return create_if_block$i;
|
|
1332
|
+
return create_else_block$4;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
let current_block_type = select_block_type(ctx);
|
|
1336
|
+
let if_block = current_block_type(ctx);
|
|
1337
|
+
return {
|
|
1338
|
+
c() {
|
|
1339
|
+
div1 = element("div");
|
|
1340
|
+
if_block.c();
|
|
1341
|
+
t = space();
|
|
1342
|
+
div0 = element("div");
|
|
1343
|
+
div0.innerHTML = `<slot></slot>`;
|
|
1344
|
+
this.c = noop;
|
|
1345
|
+
attr(div1, "class", "app-header");
|
|
1346
|
+
attr(div1, "data-testid",
|
|
1347
|
+
/*testid*/
|
|
1348
|
+
ctx[2]);
|
|
1349
|
+
},
|
|
1350
|
+
|
|
1351
|
+
m(target, anchor) {
|
|
1352
|
+
insert(target, div1, anchor);
|
|
1353
|
+
if_block.m(div1, null);
|
|
1354
|
+
append(div1, t);
|
|
1355
|
+
append(div1, div0);
|
|
1356
|
+
},
|
|
1357
|
+
|
|
1358
|
+
p(ctx, [dirty]) {
|
|
1359
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
1360
|
+
if_block.p(ctx, dirty);
|
|
1361
|
+
} else {
|
|
1362
|
+
if_block.d(1);
|
|
1363
|
+
if_block = current_block_type(ctx);
|
|
1364
|
+
|
|
1365
|
+
if (if_block) {
|
|
1366
|
+
if_block.c();
|
|
1367
|
+
if_block.m(div1, t);
|
|
1368
|
+
}
|
|
1271
1369
|
}
|
|
1272
1370
|
|
|
1273
1371
|
if (dirty &
|
|
@@ -1284,29 +1382,30 @@
|
|
|
1284
1382
|
|
|
1285
1383
|
d(detaching) {
|
|
1286
1384
|
if (detaching) detach(div1);
|
|
1385
|
+
if_block.d();
|
|
1287
1386
|
}
|
|
1288
1387
|
|
|
1289
1388
|
};
|
|
1290
1389
|
}
|
|
1291
1390
|
|
|
1292
|
-
function instance$
|
|
1391
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
1293
1392
|
let {
|
|
1294
|
-
|
|
1393
|
+
heading = ""
|
|
1295
1394
|
} = $$props;
|
|
1296
1395
|
let {
|
|
1297
|
-
|
|
1396
|
+
url = ""
|
|
1298
1397
|
} = $$props;
|
|
1299
1398
|
let {
|
|
1300
1399
|
testid = ""
|
|
1301
1400
|
} = $$props;
|
|
1302
1401
|
|
|
1303
1402
|
$$self.$$set = $$props => {
|
|
1304
|
-
if ('
|
|
1305
|
-
if ('
|
|
1403
|
+
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
1404
|
+
if ('url' in $$props) $$invalidate(1, url = $$props.url);
|
|
1306
1405
|
if ('testid' in $$props) $$invalidate(2, testid = $$props.testid);
|
|
1307
1406
|
};
|
|
1308
1407
|
|
|
1309
|
-
return [
|
|
1408
|
+
return [heading, url, testid];
|
|
1310
1409
|
}
|
|
1311
1410
|
|
|
1312
1411
|
class AppHeader extends SvelteElement {
|
|
@@ -1317,9 +1416,9 @@
|
|
|
1317
1416
|
target: this.shadowRoot,
|
|
1318
1417
|
props: attribute_to_object(this.attributes),
|
|
1319
1418
|
customElement: true
|
|
1320
|
-
}, instance$
|
|
1321
|
-
|
|
1322
|
-
|
|
1419
|
+
}, instance$y, create_fragment$D, safe_not_equal, {
|
|
1420
|
+
heading: 0,
|
|
1421
|
+
url: 1,
|
|
1323
1422
|
testid: 2
|
|
1324
1423
|
}, null);
|
|
1325
1424
|
|
|
@@ -1336,27 +1435,27 @@
|
|
|
1336
1435
|
}
|
|
1337
1436
|
|
|
1338
1437
|
static get observedAttributes() {
|
|
1339
|
-
return ["
|
|
1438
|
+
return ["heading", "url", "testid"];
|
|
1340
1439
|
}
|
|
1341
1440
|
|
|
1342
|
-
get
|
|
1441
|
+
get heading() {
|
|
1343
1442
|
return this.$$.ctx[0];
|
|
1344
1443
|
}
|
|
1345
1444
|
|
|
1346
|
-
set
|
|
1445
|
+
set heading(heading) {
|
|
1347
1446
|
this.$$set({
|
|
1348
|
-
|
|
1447
|
+
heading
|
|
1349
1448
|
});
|
|
1350
1449
|
flush();
|
|
1351
1450
|
}
|
|
1352
1451
|
|
|
1353
|
-
get
|
|
1452
|
+
get url() {
|
|
1354
1453
|
return this.$$.ctx[1];
|
|
1355
1454
|
}
|
|
1356
1455
|
|
|
1357
|
-
set
|
|
1456
|
+
set url(url) {
|
|
1358
1457
|
this.$$set({
|
|
1359
|
-
|
|
1458
|
+
url
|
|
1360
1459
|
});
|
|
1361
1460
|
flush();
|
|
1362
1461
|
}
|
|
@@ -1410,7 +1509,7 @@
|
|
|
1410
1509
|
}
|
|
1411
1510
|
|
|
1412
1511
|
};
|
|
1413
|
-
} // (
|
|
1512
|
+
} // (41:2) {#if showIcon}
|
|
1414
1513
|
|
|
1415
1514
|
|
|
1416
1515
|
function create_if_block_1$b(ctx) {
|
|
@@ -1420,7 +1519,7 @@
|
|
|
1420
1519
|
goa_icon = element("goa-icon");
|
|
1421
1520
|
set_custom_element_data(goa_icon, "type",
|
|
1422
1521
|
/*iconType*/
|
|
1423
|
-
ctx[
|
|
1522
|
+
ctx[4]);
|
|
1424
1523
|
set_custom_element_data(goa_icon, "size", "small");
|
|
1425
1524
|
},
|
|
1426
1525
|
|
|
@@ -1431,10 +1530,10 @@
|
|
|
1431
1530
|
p(ctx, dirty) {
|
|
1432
1531
|
if (dirty &
|
|
1433
1532
|
/*iconType*/
|
|
1434
|
-
|
|
1533
|
+
16) {
|
|
1435
1534
|
set_custom_element_data(goa_icon, "type",
|
|
1436
1535
|
/*iconType*/
|
|
1437
|
-
ctx[
|
|
1536
|
+
ctx[4]);
|
|
1438
1537
|
}
|
|
1439
1538
|
},
|
|
1440
1539
|
|
|
@@ -1443,7 +1542,7 @@
|
|
|
1443
1542
|
}
|
|
1444
1543
|
|
|
1445
1544
|
};
|
|
1446
|
-
} // (
|
|
1545
|
+
} // (46:2) {#if content}
|
|
1447
1546
|
|
|
1448
1547
|
|
|
1449
1548
|
function create_if_block$h(ctx) {
|
|
@@ -1478,7 +1577,7 @@
|
|
|
1478
1577
|
};
|
|
1479
1578
|
}
|
|
1480
1579
|
|
|
1481
|
-
function create_fragment$
|
|
1580
|
+
function create_fragment$C(ctx) {
|
|
1482
1581
|
let div;
|
|
1483
1582
|
let t;
|
|
1484
1583
|
let div_class_value;
|
|
@@ -1486,7 +1585,7 @@
|
|
|
1486
1585
|
function select_block_type(ctx, dirty) {
|
|
1487
1586
|
if (
|
|
1488
1587
|
/*showIcon*/
|
|
1489
|
-
ctx[
|
|
1588
|
+
ctx[3]) return create_if_block_1$b;
|
|
1490
1589
|
return create_else_block$3;
|
|
1491
1590
|
}
|
|
1492
1591
|
|
|
@@ -1511,7 +1610,7 @@
|
|
|
1511
1610
|
ctx[0]);
|
|
1512
1611
|
toggle_class(div, "icon-only",
|
|
1513
1612
|
/*showIcon*/
|
|
1514
|
-
ctx[
|
|
1613
|
+
ctx[3] && !
|
|
1515
1614
|
/*content*/
|
|
1516
1615
|
ctx[2]);
|
|
1517
1616
|
},
|
|
@@ -1569,10 +1668,10 @@
|
|
|
1569
1668
|
|
|
1570
1669
|
if (dirty &
|
|
1571
1670
|
/*type, showIcon, content*/
|
|
1572
|
-
|
|
1671
|
+
13) {
|
|
1573
1672
|
toggle_class(div, "icon-only",
|
|
1574
1673
|
/*showIcon*/
|
|
1575
|
-
ctx[
|
|
1674
|
+
ctx[3] && !
|
|
1576
1675
|
/*content*/
|
|
1577
1676
|
ctx[2]);
|
|
1578
1677
|
}
|
|
@@ -1590,7 +1689,7 @@
|
|
|
1590
1689
|
};
|
|
1591
1690
|
}
|
|
1592
1691
|
|
|
1593
|
-
function instance$
|
|
1692
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
1594
1693
|
let showIcon;
|
|
1595
1694
|
let iconType;
|
|
1596
1695
|
let {
|
|
@@ -1605,6 +1704,11 @@
|
|
|
1605
1704
|
let {
|
|
1606
1705
|
content = ""
|
|
1607
1706
|
} = $$props;
|
|
1707
|
+
onMount(() => {
|
|
1708
|
+
if (!showIcon && !content) {
|
|
1709
|
+
console.warn("GoABadge must have either then content or icon property set");
|
|
1710
|
+
}
|
|
1711
|
+
});
|
|
1608
1712
|
|
|
1609
1713
|
$$self.$$set = $$props => {
|
|
1610
1714
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
@@ -1618,13 +1722,13 @@
|
|
|
1618
1722
|
/*icon*/
|
|
1619
1723
|
32) {
|
|
1620
1724
|
// export let icon: WCBoolean = WC_FALSE;
|
|
1621
|
-
$$invalidate(
|
|
1725
|
+
$$invalidate(3, showIcon = toBoolean(icon));
|
|
1622
1726
|
}
|
|
1623
1727
|
|
|
1624
1728
|
if ($$self.$$.dirty &
|
|
1625
1729
|
/*type*/
|
|
1626
1730
|
1) {
|
|
1627
|
-
$$invalidate(
|
|
1731
|
+
$$invalidate(4, iconType = {
|
|
1628
1732
|
success: "checkmark-circle",
|
|
1629
1733
|
warning: "alert-circle",
|
|
1630
1734
|
information: "information-circle",
|
|
@@ -1637,7 +1741,7 @@
|
|
|
1637
1741
|
}
|
|
1638
1742
|
};
|
|
1639
1743
|
|
|
1640
|
-
return [type, testid, content,
|
|
1744
|
+
return [type, testid, content, showIcon, iconType, icon];
|
|
1641
1745
|
}
|
|
1642
1746
|
|
|
1643
1747
|
class Badge extends SvelteElement {
|
|
@@ -1648,7 +1752,7 @@
|
|
|
1648
1752
|
target: this.shadowRoot,
|
|
1649
1753
|
props: attribute_to_object(this.attributes),
|
|
1650
1754
|
customElement: true
|
|
1651
|
-
}, instance$
|
|
1755
|
+
}, instance$x, create_fragment$C, safe_not_equal, {
|
|
1652
1756
|
type: 0,
|
|
1653
1757
|
testid: 1,
|
|
1654
1758
|
icon: 5,
|
|
@@ -1727,7 +1831,7 @@
|
|
|
1727
1831
|
let if_block1_anchor;
|
|
1728
1832
|
let if_block0 =
|
|
1729
1833
|
/*leadingicon*/
|
|
1730
|
-
ctx[4] && create_if_block_2$
|
|
1834
|
+
ctx[4] && create_if_block_2$7(ctx);
|
|
1731
1835
|
let if_block1 =
|
|
1732
1836
|
/*trailingicon*/
|
|
1733
1837
|
ctx[5] && create_if_block_1$a(ctx);
|
|
@@ -1759,7 +1863,7 @@
|
|
|
1759
1863
|
if (if_block0) {
|
|
1760
1864
|
if_block0.p(ctx, dirty);
|
|
1761
1865
|
} else {
|
|
1762
|
-
if_block0 = create_if_block_2$
|
|
1866
|
+
if_block0 = create_if_block_2$7(ctx);
|
|
1763
1867
|
if_block0.c();
|
|
1764
1868
|
if_block0.m(t0.parentNode, t0);
|
|
1765
1869
|
}
|
|
@@ -1831,7 +1935,7 @@
|
|
|
1831
1935
|
} // (61:4) {#if leadingicon}
|
|
1832
1936
|
|
|
1833
1937
|
|
|
1834
|
-
function create_if_block_2$
|
|
1938
|
+
function create_if_block_2$7(ctx) {
|
|
1835
1939
|
let goa_icon;
|
|
1836
1940
|
return {
|
|
1837
1941
|
c() {
|
|
@@ -1918,7 +2022,7 @@
|
|
|
1918
2022
|
};
|
|
1919
2023
|
}
|
|
1920
2024
|
|
|
1921
|
-
function create_fragment$
|
|
2025
|
+
function create_fragment$B(ctx) {
|
|
1922
2026
|
let button;
|
|
1923
2027
|
let button_class_value;
|
|
1924
2028
|
let mounted;
|
|
@@ -2063,7 +2167,7 @@
|
|
|
2063
2167
|
e.stopPropagation();
|
|
2064
2168
|
}
|
|
2065
2169
|
|
|
2066
|
-
function instance$
|
|
2170
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
2067
2171
|
let isDisabled;
|
|
2068
2172
|
let isButtonDark;
|
|
2069
2173
|
const BUTTON_TYPES = ["primary", "secondary", "tertiary", "start"];
|
|
@@ -2157,7 +2261,7 @@
|
|
|
2157
2261
|
target: this.shadowRoot,
|
|
2158
2262
|
props: attribute_to_object(this.attributes),
|
|
2159
2263
|
customElement: true
|
|
2160
|
-
}, instance$
|
|
2264
|
+
}, instance$w, create_fragment$B, safe_not_equal, {
|
|
2161
2265
|
type: 0,
|
|
2162
2266
|
size: 1,
|
|
2163
2267
|
variant: 2,
|
|
@@ -2277,7 +2381,7 @@
|
|
|
2277
2381
|
customElements.define("goa-button", Button);
|
|
2278
2382
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.49.0 */
|
|
2279
2383
|
|
|
2280
|
-
function create_fragment$
|
|
2384
|
+
function create_fragment$A(ctx) {
|
|
2281
2385
|
let div;
|
|
2282
2386
|
let slot;
|
|
2283
2387
|
return {
|
|
@@ -2326,7 +2430,7 @@
|
|
|
2326
2430
|
};
|
|
2327
2431
|
}
|
|
2328
2432
|
|
|
2329
|
-
function instance$
|
|
2433
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
2330
2434
|
let {
|
|
2331
2435
|
gap = "medium"
|
|
2332
2436
|
} = $$props;
|
|
@@ -2350,7 +2454,7 @@
|
|
|
2350
2454
|
target: this.shadowRoot,
|
|
2351
2455
|
props: attribute_to_object(this.attributes),
|
|
2352
2456
|
customElement: true
|
|
2353
|
-
}, instance$
|
|
2457
|
+
}, instance$v, create_fragment$A, safe_not_equal, {
|
|
2354
2458
|
gap: 0,
|
|
2355
2459
|
alignment: 1
|
|
2356
2460
|
}, null);
|
|
@@ -2398,7 +2502,7 @@
|
|
|
2398
2502
|
customElements.define("goa-button-group", ButtonGroup);
|
|
2399
2503
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.49.0 */
|
|
2400
2504
|
|
|
2401
|
-
function create_fragment$
|
|
2505
|
+
function create_fragment$z(ctx) {
|
|
2402
2506
|
let div;
|
|
2403
2507
|
let span0;
|
|
2404
2508
|
let goa_icon;
|
|
@@ -2419,7 +2523,7 @@
|
|
|
2419
2523
|
span1 = element("span");
|
|
2420
2524
|
h3 = element("h3");
|
|
2421
2525
|
t1 = text(
|
|
2422
|
-
/*
|
|
2526
|
+
/*heading*/
|
|
2423
2527
|
ctx[1]);
|
|
2424
2528
|
t2 = space();
|
|
2425
2529
|
slot = element("slot");
|
|
@@ -2478,9 +2582,9 @@
|
|
|
2478
2582
|
}
|
|
2479
2583
|
|
|
2480
2584
|
if (dirty &
|
|
2481
|
-
/*
|
|
2585
|
+
/*heading*/
|
|
2482
2586
|
2) set_data(t1,
|
|
2483
|
-
/*
|
|
2587
|
+
/*heading*/
|
|
2484
2588
|
ctx[1]);
|
|
2485
2589
|
|
|
2486
2590
|
if (dirty &
|
|
@@ -2502,13 +2606,13 @@
|
|
|
2502
2606
|
};
|
|
2503
2607
|
}
|
|
2504
2608
|
|
|
2505
|
-
function instance$
|
|
2609
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
2506
2610
|
let iconType;
|
|
2507
2611
|
let {
|
|
2508
2612
|
type
|
|
2509
2613
|
} = $$props;
|
|
2510
2614
|
let {
|
|
2511
|
-
|
|
2615
|
+
heading
|
|
2512
2616
|
} = $$props;
|
|
2513
2617
|
let {
|
|
2514
2618
|
testid = ""
|
|
@@ -2516,7 +2620,7 @@
|
|
|
2516
2620
|
|
|
2517
2621
|
$$self.$$set = $$props => {
|
|
2518
2622
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
2519
|
-
if ('
|
|
2623
|
+
if ('heading' in $$props) $$invalidate(1, heading = $$props.heading);
|
|
2520
2624
|
if ('testid' in $$props) $$invalidate(2, testid = $$props.testid);
|
|
2521
2625
|
};
|
|
2522
2626
|
|
|
@@ -2528,7 +2632,7 @@
|
|
|
2528
2632
|
}
|
|
2529
2633
|
};
|
|
2530
2634
|
|
|
2531
|
-
return [type,
|
|
2635
|
+
return [type, heading, testid, iconType];
|
|
2532
2636
|
}
|
|
2533
2637
|
|
|
2534
2638
|
class Callout extends SvelteElement {
|
|
@@ -2539,9 +2643,9 @@
|
|
|
2539
2643
|
target: this.shadowRoot,
|
|
2540
2644
|
props: attribute_to_object(this.attributes),
|
|
2541
2645
|
customElement: true
|
|
2542
|
-
}, instance$
|
|
2646
|
+
}, instance$u, create_fragment$z, safe_not_equal, {
|
|
2543
2647
|
type: 0,
|
|
2544
|
-
|
|
2648
|
+
heading: 1,
|
|
2545
2649
|
testid: 2
|
|
2546
2650
|
}, null);
|
|
2547
2651
|
|
|
@@ -2558,7 +2662,7 @@
|
|
|
2558
2662
|
}
|
|
2559
2663
|
|
|
2560
2664
|
static get observedAttributes() {
|
|
2561
|
-
return ["type", "
|
|
2665
|
+
return ["type", "heading", "testid"];
|
|
2562
2666
|
}
|
|
2563
2667
|
|
|
2564
2668
|
get type() {
|
|
@@ -2572,13 +2676,13 @@
|
|
|
2572
2676
|
flush();
|
|
2573
2677
|
}
|
|
2574
2678
|
|
|
2575
|
-
get
|
|
2679
|
+
get heading() {
|
|
2576
2680
|
return this.$$.ctx[1];
|
|
2577
2681
|
}
|
|
2578
2682
|
|
|
2579
|
-
set
|
|
2683
|
+
set heading(heading) {
|
|
2580
2684
|
this.$$set({
|
|
2581
|
-
|
|
2685
|
+
heading
|
|
2582
2686
|
});
|
|
2583
2687
|
flush();
|
|
2584
2688
|
}
|
|
@@ -2599,7 +2703,7 @@
|
|
|
2599
2703
|
customElements.define("goa-callout", Callout);
|
|
2600
2704
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.49.0 */
|
|
2601
2705
|
|
|
2602
|
-
function create_fragment$
|
|
2706
|
+
function create_fragment$y(ctx) {
|
|
2603
2707
|
let div;
|
|
2604
2708
|
let slot;
|
|
2605
2709
|
let div_style_value;
|
|
@@ -2658,7 +2762,7 @@
|
|
|
2658
2762
|
};
|
|
2659
2763
|
}
|
|
2660
2764
|
|
|
2661
|
-
function instance$
|
|
2765
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
2662
2766
|
let {
|
|
2663
2767
|
elevation = 0
|
|
2664
2768
|
} = $$props;
|
|
@@ -2687,7 +2791,7 @@
|
|
|
2687
2791
|
target: this.shadowRoot,
|
|
2688
2792
|
props: attribute_to_object(this.attributes),
|
|
2689
2793
|
customElement: true
|
|
2690
|
-
}, instance$
|
|
2794
|
+
}, instance$t, create_fragment$y, safe_not_equal, {
|
|
2691
2795
|
elevation: 0,
|
|
2692
2796
|
width: 1,
|
|
2693
2797
|
testId: 2
|
|
@@ -2747,7 +2851,7 @@
|
|
|
2747
2851
|
customElements.define("goa-card", Card);
|
|
2748
2852
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.49.0 */
|
|
2749
2853
|
|
|
2750
|
-
function create_fragment$
|
|
2854
|
+
function create_fragment$x(ctx) {
|
|
2751
2855
|
let goa_card_content;
|
|
2752
2856
|
return {
|
|
2753
2857
|
c() {
|
|
@@ -2778,7 +2882,7 @@
|
|
|
2778
2882
|
target: this.shadowRoot,
|
|
2779
2883
|
props: attribute_to_object(this.attributes),
|
|
2780
2884
|
customElement: true
|
|
2781
|
-
}, null, create_fragment$
|
|
2885
|
+
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
2782
2886
|
|
|
2783
2887
|
if (options) {
|
|
2784
2888
|
if (options.target) {
|
|
@@ -2792,7 +2896,7 @@
|
|
|
2792
2896
|
customElements.define("goa-card-actions", CardActions);
|
|
2793
2897
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.49.0 */
|
|
2794
2898
|
|
|
2795
|
-
function create_fragment$
|
|
2899
|
+
function create_fragment$w(ctx) {
|
|
2796
2900
|
let div;
|
|
2797
2901
|
return {
|
|
2798
2902
|
c() {
|
|
@@ -2825,7 +2929,7 @@
|
|
|
2825
2929
|
target: this.shadowRoot,
|
|
2826
2930
|
props: attribute_to_object(this.attributes),
|
|
2827
2931
|
customElement: true
|
|
2828
|
-
}, null, create_fragment$
|
|
2932
|
+
}, null, create_fragment$w, safe_not_equal, {}, null);
|
|
2829
2933
|
|
|
2830
2934
|
if (options) {
|
|
2831
2935
|
if (options.target) {
|
|
@@ -2839,7 +2943,7 @@
|
|
|
2839
2943
|
customElements.define("goa-card-content", CardContent);
|
|
2840
2944
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.49.0 */
|
|
2841
2945
|
|
|
2842
|
-
function create_fragment$
|
|
2946
|
+
function create_fragment$v(ctx) {
|
|
2843
2947
|
let div;
|
|
2844
2948
|
return {
|
|
2845
2949
|
c() {
|
|
@@ -2872,7 +2976,7 @@
|
|
|
2872
2976
|
target: this.shadowRoot,
|
|
2873
2977
|
props: attribute_to_object(this.attributes),
|
|
2874
2978
|
customElement: true
|
|
2875
|
-
}, null, create_fragment$
|
|
2979
|
+
}, null, create_fragment$v, safe_not_equal, {}, null);
|
|
2876
2980
|
|
|
2877
2981
|
if (options) {
|
|
2878
2982
|
if (options.target) {
|
|
@@ -2886,7 +2990,7 @@
|
|
|
2886
2990
|
customElements.define("goa-card-group", CardGroup);
|
|
2887
2991
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.49.0 */
|
|
2888
2992
|
|
|
2889
|
-
function create_fragment$
|
|
2993
|
+
function create_fragment$u(ctx) {
|
|
2890
2994
|
let div;
|
|
2891
2995
|
return {
|
|
2892
2996
|
c() {
|
|
@@ -2935,7 +3039,7 @@
|
|
|
2935
3039
|
};
|
|
2936
3040
|
}
|
|
2937
3041
|
|
|
2938
|
-
function instance$
|
|
3042
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
2939
3043
|
let {
|
|
2940
3044
|
src
|
|
2941
3045
|
} = $$props;
|
|
@@ -2959,7 +3063,7 @@
|
|
|
2959
3063
|
target: this.shadowRoot,
|
|
2960
3064
|
props: attribute_to_object(this.attributes),
|
|
2961
3065
|
customElement: true
|
|
2962
|
-
}, instance$
|
|
3066
|
+
}, instance$s, create_fragment$u, safe_not_equal, {
|
|
2963
3067
|
src: 0,
|
|
2964
3068
|
height: 1
|
|
2965
3069
|
}, null);
|
|
@@ -3061,7 +3165,7 @@
|
|
|
3061
3165
|
};
|
|
3062
3166
|
}
|
|
3063
3167
|
|
|
3064
|
-
function create_fragment$
|
|
3168
|
+
function create_fragment$t(ctx) {
|
|
3065
3169
|
let label;
|
|
3066
3170
|
let div0;
|
|
3067
3171
|
let input;
|
|
@@ -3270,7 +3374,7 @@
|
|
|
3270
3374
|
};
|
|
3271
3375
|
}
|
|
3272
3376
|
|
|
3273
|
-
function instance$
|
|
3377
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
3274
3378
|
let isDisabled;
|
|
3275
3379
|
let isError;
|
|
3276
3380
|
let isChecked;
|
|
@@ -3357,7 +3461,7 @@
|
|
|
3357
3461
|
target: this.shadowRoot,
|
|
3358
3462
|
props: attribute_to_object(this.attributes),
|
|
3359
3463
|
customElement: true
|
|
3360
|
-
}, instance$
|
|
3464
|
+
}, instance$r, create_fragment$t, safe_not_equal, {
|
|
3361
3465
|
name: 0,
|
|
3362
3466
|
checked: 9,
|
|
3363
3467
|
text: 1,
|
|
@@ -3555,7 +3659,7 @@
|
|
|
3555
3659
|
};
|
|
3556
3660
|
}
|
|
3557
3661
|
|
|
3558
|
-
function create_fragment$
|
|
3662
|
+
function create_fragment$s(ctx) {
|
|
3559
3663
|
let div1;
|
|
3560
3664
|
let t0;
|
|
3561
3665
|
let div0;
|
|
@@ -3692,7 +3796,7 @@
|
|
|
3692
3796
|
};
|
|
3693
3797
|
}
|
|
3694
3798
|
|
|
3695
|
-
function instance$
|
|
3799
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
3696
3800
|
let {
|
|
3697
3801
|
leadingicon = null
|
|
3698
3802
|
} = $$props;
|
|
@@ -3769,7 +3873,7 @@
|
|
|
3769
3873
|
target: this.shadowRoot,
|
|
3770
3874
|
props: attribute_to_object(this.attributes),
|
|
3771
3875
|
customElement: true
|
|
3772
|
-
}, instance$
|
|
3876
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
3773
3877
|
leadingicon: 0,
|
|
3774
3878
|
error: 7,
|
|
3775
3879
|
deletable: 8,
|
|
@@ -3841,7 +3945,7 @@
|
|
|
3841
3945
|
customElements.define("goa-chip", Chip);
|
|
3842
3946
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.49.0 */
|
|
3843
3947
|
|
|
3844
|
-
function create_fragment$
|
|
3948
|
+
function create_fragment$r(ctx) {
|
|
3845
3949
|
let div3;
|
|
3846
3950
|
let header;
|
|
3847
3951
|
let div0;
|
|
@@ -3936,7 +4040,7 @@
|
|
|
3936
4040
|
};
|
|
3937
4041
|
}
|
|
3938
4042
|
|
|
3939
|
-
function instance$
|
|
4043
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
3940
4044
|
let _colored;
|
|
3941
4045
|
|
|
3942
4046
|
let {
|
|
@@ -3978,7 +4082,7 @@
|
|
|
3978
4082
|
target: this.shadowRoot,
|
|
3979
4083
|
props: attribute_to_object(this.attributes),
|
|
3980
4084
|
customElement: true
|
|
3981
|
-
}, instance$
|
|
4085
|
+
}, instance$p, create_fragment$r, safe_not_equal, {
|
|
3982
4086
|
variant: 0,
|
|
3983
4087
|
colored: 4,
|
|
3984
4088
|
headingsize: 1,
|
|
@@ -4147,7 +4251,7 @@
|
|
|
4147
4251
|
const BIND$1 = "bind";
|
|
4148
4252
|
/* libs/web-components/src/components/dropdown/Dropdown.svelte generated by Svelte v3.49.0 */
|
|
4149
4253
|
|
|
4150
|
-
function get_each_context$
|
|
4254
|
+
function get_each_context$4(ctx, list, i) {
|
|
4151
4255
|
const child_ctx = ctx.slice();
|
|
4152
4256
|
child_ctx[35] = list[i];
|
|
4153
4257
|
child_ctx[37] = i;
|
|
@@ -4200,7 +4304,7 @@
|
|
|
4200
4304
|
} // (211:4) {#each options as option, index (option.value)}
|
|
4201
4305
|
|
|
4202
4306
|
|
|
4203
|
-
function create_each_block$
|
|
4307
|
+
function create_each_block$4(key_1, ctx) {
|
|
4204
4308
|
let li;
|
|
4205
4309
|
let t0_value =
|
|
4206
4310
|
/*option*/
|
|
@@ -4317,7 +4421,7 @@
|
|
|
4317
4421
|
};
|
|
4318
4422
|
}
|
|
4319
4423
|
|
|
4320
|
-
function create_fragment$
|
|
4424
|
+
function create_fragment$q(ctx) {
|
|
4321
4425
|
let div1;
|
|
4322
4426
|
let t0;
|
|
4323
4427
|
let div0;
|
|
@@ -4346,9 +4450,9 @@
|
|
|
4346
4450
|
ctx[35].value;
|
|
4347
4451
|
|
|
4348
4452
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
4349
|
-
let child_ctx = get_each_context$
|
|
4453
|
+
let child_ctx = get_each_context$4(ctx, each_value, i);
|
|
4350
4454
|
let key = get_key(child_ctx);
|
|
4351
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$
|
|
4455
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
|
|
4352
4456
|
}
|
|
4353
4457
|
|
|
4354
4458
|
return {
|
|
@@ -4522,7 +4626,7 @@
|
|
|
4522
4626
|
each_value =
|
|
4523
4627
|
/*options*/
|
|
4524
4628
|
ctx[9];
|
|
4525
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, ul, destroy_block, create_each_block$
|
|
4629
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, ul, destroy_block, create_each_block$4, null, get_each_context$4);
|
|
4526
4630
|
}
|
|
4527
4631
|
|
|
4528
4632
|
if (dirty[0] &
|
|
@@ -4586,7 +4690,7 @@
|
|
|
4586
4690
|
|
|
4587
4691
|
const MAX_HEIGHT = "300px";
|
|
4588
4692
|
|
|
4589
|
-
function instance$
|
|
4693
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
4590
4694
|
const showMenu = _async(function () {
|
|
4591
4695
|
if (_disabled || isMenuVisible) {
|
|
4592
4696
|
return;
|
|
@@ -4851,7 +4955,7 @@
|
|
|
4851
4955
|
target: this.shadowRoot,
|
|
4852
4956
|
props: attribute_to_object(this.attributes),
|
|
4853
4957
|
customElement: true
|
|
4854
|
-
}, instance$
|
|
4958
|
+
}, instance$o, create_fragment$q, safe_not_equal, {
|
|
4855
4959
|
name: 0,
|
|
4856
4960
|
value: 19,
|
|
4857
4961
|
leadingicon: 1,
|
|
@@ -4995,7 +5099,7 @@
|
|
|
4995
5099
|
customElements.define("goa-dropdown", Dropdown);
|
|
4996
5100
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.49.0 */
|
|
4997
5101
|
|
|
4998
|
-
function create_fragment$
|
|
5102
|
+
function create_fragment$p(ctx) {
|
|
4999
5103
|
return {
|
|
5000
5104
|
c() {
|
|
5001
5105
|
this.c = noop;
|
|
@@ -5009,7 +5113,7 @@
|
|
|
5009
5113
|
};
|
|
5010
5114
|
}
|
|
5011
5115
|
|
|
5012
|
-
function instance$
|
|
5116
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
5013
5117
|
let {
|
|
5014
5118
|
name = ""
|
|
5015
5119
|
} = $$props;
|
|
@@ -5050,7 +5154,7 @@
|
|
|
5050
5154
|
target: this.shadowRoot,
|
|
5051
5155
|
props: attribute_to_object(this.attributes),
|
|
5052
5156
|
customElement: true
|
|
5053
|
-
}, instance$
|
|
5157
|
+
}, instance$n, create_fragment$p, safe_not_equal, {
|
|
5054
5158
|
name: 0,
|
|
5055
5159
|
value: 1,
|
|
5056
5160
|
label: 2
|
|
@@ -5110,7 +5214,7 @@
|
|
|
5110
5214
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
5111
5215
|
/* libs/web-components/src/components/flex-row/FlexRow.svelte generated by Svelte v3.49.0 */
|
|
5112
5216
|
|
|
5113
|
-
function create_fragment$
|
|
5217
|
+
function create_fragment$o(ctx) {
|
|
5114
5218
|
let div;
|
|
5115
5219
|
let slot;
|
|
5116
5220
|
return {
|
|
@@ -5149,7 +5253,7 @@
|
|
|
5149
5253
|
};
|
|
5150
5254
|
}
|
|
5151
5255
|
|
|
5152
|
-
function instance$
|
|
5256
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
5153
5257
|
let _gap;
|
|
5154
5258
|
|
|
5155
5259
|
let {
|
|
@@ -5179,7 +5283,7 @@
|
|
|
5179
5283
|
target: this.shadowRoot,
|
|
5180
5284
|
props: attribute_to_object(this.attributes),
|
|
5181
5285
|
customElement: true
|
|
5182
|
-
}, instance$
|
|
5286
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
5183
5287
|
gap: 1
|
|
5184
5288
|
}, null);
|
|
5185
5289
|
|
|
@@ -5215,7 +5319,7 @@
|
|
|
5215
5319
|
customElements.define("goa-flex-row", FlexRow);
|
|
5216
5320
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.49.0 */
|
|
5217
5321
|
|
|
5218
|
-
function create_if_block_2$
|
|
5322
|
+
function create_if_block_2$6(ctx) {
|
|
5219
5323
|
let label_1;
|
|
5220
5324
|
let t0;
|
|
5221
5325
|
let t1;
|
|
@@ -5355,7 +5459,7 @@
|
|
|
5355
5459
|
};
|
|
5356
5460
|
}
|
|
5357
5461
|
|
|
5358
|
-
function create_fragment$
|
|
5462
|
+
function create_fragment$n(ctx) {
|
|
5359
5463
|
let div1;
|
|
5360
5464
|
let t0;
|
|
5361
5465
|
let div0;
|
|
@@ -5363,7 +5467,7 @@
|
|
|
5363
5467
|
let t2;
|
|
5364
5468
|
let if_block0 =
|
|
5365
5469
|
/*label*/
|
|
5366
|
-
ctx[0] && create_if_block_2$
|
|
5470
|
+
ctx[0] && create_if_block_2$6(ctx);
|
|
5367
5471
|
let if_block1 =
|
|
5368
5472
|
/*error*/
|
|
5369
5473
|
ctx[2] && create_if_block_1$7(ctx);
|
|
@@ -5404,7 +5508,7 @@
|
|
|
5404
5508
|
if (if_block0) {
|
|
5405
5509
|
if_block0.p(ctx, dirty);
|
|
5406
5510
|
} else {
|
|
5407
|
-
if_block0 = create_if_block_2$
|
|
5511
|
+
if_block0 = create_if_block_2$6(ctx);
|
|
5408
5512
|
if_block0.c();
|
|
5409
5513
|
if_block0.m(div1, t0);
|
|
5410
5514
|
}
|
|
@@ -5457,7 +5561,7 @@
|
|
|
5457
5561
|
};
|
|
5458
5562
|
}
|
|
5459
5563
|
|
|
5460
|
-
function instance$
|
|
5564
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
5461
5565
|
let isOptional;
|
|
5462
5566
|
let {
|
|
5463
5567
|
label = ""
|
|
@@ -5498,7 +5602,7 @@
|
|
|
5498
5602
|
target: this.shadowRoot,
|
|
5499
5603
|
props: attribute_to_object(this.attributes),
|
|
5500
5604
|
customElement: true
|
|
5501
|
-
}, instance$
|
|
5605
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
5502
5606
|
label: 0,
|
|
5503
5607
|
helptext: 1,
|
|
5504
5608
|
error: 2,
|
|
@@ -5570,7 +5674,7 @@
|
|
|
5570
5674
|
customElements.define("goa-form-item", FormItem);
|
|
5571
5675
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.49.0 */
|
|
5572
5676
|
|
|
5573
|
-
function create_fragment$
|
|
5677
|
+
function create_fragment$m(ctx) {
|
|
5574
5678
|
let div1;
|
|
5575
5679
|
let goa_page_block;
|
|
5576
5680
|
let h1;
|
|
@@ -5585,7 +5689,7 @@
|
|
|
5585
5689
|
goa_page_block = element("goa-page-block");
|
|
5586
5690
|
h1 = element("h1");
|
|
5587
5691
|
t0 = text(
|
|
5588
|
-
/*
|
|
5692
|
+
/*heading*/
|
|
5589
5693
|
ctx[0]);
|
|
5590
5694
|
t1 = space();
|
|
5591
5695
|
div0 = element("div");
|
|
@@ -5593,10 +5697,10 @@
|
|
|
5593
5697
|
t2 = space();
|
|
5594
5698
|
slot1 = element("slot");
|
|
5595
5699
|
this.c = noop;
|
|
5596
|
-
attr(h1, "role", "heading");
|
|
5597
5700
|
attr(div0, "class", "goa-hero-banner-content");
|
|
5598
5701
|
attr(div0, "role", "note");
|
|
5599
5702
|
attr(slot1, "name", "actions");
|
|
5703
|
+
set_custom_element_data(goa_page_block, "width", "full");
|
|
5600
5704
|
attr(div1, "class", "goa-hero");
|
|
5601
5705
|
attr(div1, "data-testid", "background");
|
|
5602
5706
|
set_style(div1, "background-image", "linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url(" +
|
|
@@ -5620,9 +5724,9 @@
|
|
|
5620
5724
|
|
|
5621
5725
|
p(ctx, [dirty]) {
|
|
5622
5726
|
if (dirty &
|
|
5623
|
-
/*
|
|
5727
|
+
/*heading*/
|
|
5624
5728
|
1) set_data(t0,
|
|
5625
|
-
/*
|
|
5729
|
+
/*heading*/
|
|
5626
5730
|
ctx[0]);
|
|
5627
5731
|
|
|
5628
5732
|
if (dirty &
|
|
@@ -5644,20 +5748,20 @@
|
|
|
5644
5748
|
};
|
|
5645
5749
|
}
|
|
5646
5750
|
|
|
5647
|
-
function instance$
|
|
5751
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
5648
5752
|
let {
|
|
5649
|
-
|
|
5753
|
+
heading
|
|
5650
5754
|
} = $$props;
|
|
5651
5755
|
let {
|
|
5652
5756
|
backgroundurl
|
|
5653
5757
|
} = $$props;
|
|
5654
5758
|
|
|
5655
5759
|
$$self.$$set = $$props => {
|
|
5656
|
-
if ('
|
|
5760
|
+
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
5657
5761
|
if ('backgroundurl' in $$props) $$invalidate(1, backgroundurl = $$props.backgroundurl);
|
|
5658
5762
|
};
|
|
5659
5763
|
|
|
5660
|
-
return [
|
|
5764
|
+
return [heading, backgroundurl];
|
|
5661
5765
|
}
|
|
5662
5766
|
|
|
5663
5767
|
class HeroBanner extends SvelteElement {
|
|
@@ -5668,8 +5772,8 @@
|
|
|
5668
5772
|
target: this.shadowRoot,
|
|
5669
5773
|
props: attribute_to_object(this.attributes),
|
|
5670
5774
|
customElement: true
|
|
5671
|
-
}, instance$
|
|
5672
|
-
|
|
5775
|
+
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
5776
|
+
heading: 0,
|
|
5673
5777
|
backgroundurl: 1
|
|
5674
5778
|
}, null);
|
|
5675
5779
|
|
|
@@ -5686,16 +5790,16 @@
|
|
|
5686
5790
|
}
|
|
5687
5791
|
|
|
5688
5792
|
static get observedAttributes() {
|
|
5689
|
-
return ["
|
|
5793
|
+
return ["heading", "backgroundurl"];
|
|
5690
5794
|
}
|
|
5691
5795
|
|
|
5692
|
-
get
|
|
5796
|
+
get heading() {
|
|
5693
5797
|
return this.$$.ctx[0];
|
|
5694
5798
|
}
|
|
5695
5799
|
|
|
5696
|
-
set
|
|
5800
|
+
set heading(heading) {
|
|
5697
5801
|
this.$$set({
|
|
5698
|
-
|
|
5802
|
+
heading
|
|
5699
5803
|
});
|
|
5700
5804
|
flush();
|
|
5701
5805
|
}
|
|
@@ -5764,7 +5868,7 @@
|
|
|
5764
5868
|
};
|
|
5765
5869
|
}
|
|
5766
5870
|
|
|
5767
|
-
function create_fragment$
|
|
5871
|
+
function create_fragment$l(ctx) {
|
|
5768
5872
|
let div;
|
|
5769
5873
|
let div_data_testid_value;
|
|
5770
5874
|
let div_style_value;
|
|
@@ -5878,7 +5982,7 @@
|
|
|
5878
5982
|
};
|
|
5879
5983
|
}
|
|
5880
5984
|
|
|
5881
|
-
function instance$
|
|
5985
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
5882
5986
|
let isInverted;
|
|
5883
5987
|
|
|
5884
5988
|
let _size;
|
|
@@ -5893,13 +5997,13 @@
|
|
|
5893
5997
|
theme = "outline"
|
|
5894
5998
|
} = $$props;
|
|
5895
5999
|
let {
|
|
5896
|
-
inverted
|
|
6000
|
+
inverted = "false"
|
|
5897
6001
|
} = $$props;
|
|
5898
6002
|
let {
|
|
5899
|
-
fillcolor
|
|
6003
|
+
fillcolor = ""
|
|
5900
6004
|
} = $$props;
|
|
5901
6005
|
let {
|
|
5902
|
-
hovercolor
|
|
6006
|
+
hovercolor = ""
|
|
5903
6007
|
} = $$props;
|
|
5904
6008
|
let {
|
|
5905
6009
|
opacity = 1
|
|
@@ -5948,7 +6052,7 @@
|
|
|
5948
6052
|
target: this.shadowRoot,
|
|
5949
6053
|
props: attribute_to_object(this.attributes),
|
|
5950
6054
|
customElement: true
|
|
5951
|
-
}, instance$
|
|
6055
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
5952
6056
|
type: 0,
|
|
5953
6057
|
size: 8,
|
|
5954
6058
|
theme: 1,
|
|
@@ -6068,7 +6172,7 @@
|
|
|
6068
6172
|
customElements.define("goa-icon", Icon);
|
|
6069
6173
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.49.0 */
|
|
6070
6174
|
|
|
6071
|
-
function create_fragment$
|
|
6175
|
+
function create_fragment$k(ctx) {
|
|
6072
6176
|
let button;
|
|
6073
6177
|
let goa_icon;
|
|
6074
6178
|
let mounted;
|
|
@@ -6223,7 +6327,7 @@
|
|
|
6223
6327
|
}));
|
|
6224
6328
|
}
|
|
6225
6329
|
|
|
6226
|
-
function instance$
|
|
6330
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
6227
6331
|
let css;
|
|
6228
6332
|
let isDisabled;
|
|
6229
6333
|
let isInverted;
|
|
@@ -6308,7 +6412,7 @@
|
|
|
6308
6412
|
target: this.shadowRoot,
|
|
6309
6413
|
props: attribute_to_object(this.attributes),
|
|
6310
6414
|
customElement: true
|
|
6311
|
-
}, instance$
|
|
6415
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
6312
6416
|
type: 0,
|
|
6313
6417
|
size: 1,
|
|
6314
6418
|
theme: 2,
|
|
@@ -6562,7 +6666,7 @@
|
|
|
6562
6666
|
ctx[9] > 0) return create_if_block_1$6;
|
|
6563
6667
|
if (
|
|
6564
6668
|
/*value*/
|
|
6565
|
-
ctx[0].length > 0) return create_if_block_2$
|
|
6669
|
+
ctx[0].length > 0) return create_if_block_2$5;
|
|
6566
6670
|
}
|
|
6567
6671
|
|
|
6568
6672
|
let current_block_type = select_block_type(ctx);
|
|
@@ -6604,7 +6708,7 @@
|
|
|
6604
6708
|
} // (122:31)
|
|
6605
6709
|
|
|
6606
6710
|
|
|
6607
|
-
function create_if_block_2$
|
|
6711
|
+
function create_if_block_2$5(ctx) {
|
|
6608
6712
|
let div;
|
|
6609
6713
|
let t_value =
|
|
6610
6714
|
/*value*/
|
|
@@ -6697,7 +6801,7 @@
|
|
|
6697
6801
|
};
|
|
6698
6802
|
}
|
|
6699
6803
|
|
|
6700
|
-
function create_fragment$
|
|
6804
|
+
function create_fragment$j(ctx) {
|
|
6701
6805
|
let div1;
|
|
6702
6806
|
let div0;
|
|
6703
6807
|
let t0;
|
|
@@ -7017,7 +7121,7 @@
|
|
|
7017
7121
|
}));
|
|
7018
7122
|
}
|
|
7019
7123
|
|
|
7020
|
-
function instance$
|
|
7124
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
7021
7125
|
let handlesTrailingIconClick;
|
|
7022
7126
|
let isFocused;
|
|
7023
7127
|
let isReadonly;
|
|
@@ -7181,7 +7285,7 @@
|
|
|
7181
7285
|
target: this.shadowRoot,
|
|
7182
7286
|
props: attribute_to_object(this.attributes),
|
|
7183
7287
|
customElement: true
|
|
7184
|
-
}, instance$
|
|
7288
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
7185
7289
|
type: 1,
|
|
7186
7290
|
name: 2,
|
|
7187
7291
|
value: 0,
|
|
@@ -7520,7 +7624,7 @@
|
|
|
7520
7624
|
ctx[0] && create_if_block_3$2(ctx);
|
|
7521
7625
|
let if_block1 =
|
|
7522
7626
|
/*isClosable*/
|
|
7523
|
-
ctx[5] && create_if_block_2$
|
|
7627
|
+
ctx[5] && create_if_block_2$4(ctx);
|
|
7524
7628
|
|
|
7525
7629
|
function select_block_type(ctx, dirty) {
|
|
7526
7630
|
if (
|
|
@@ -7624,7 +7728,7 @@
|
|
|
7624
7728
|
if (if_block1) {
|
|
7625
7729
|
if_block1.p(ctx, dirty);
|
|
7626
7730
|
} else {
|
|
7627
|
-
if_block1 = create_if_block_2$
|
|
7731
|
+
if_block1 = create_if_block_2$4(ctx);
|
|
7628
7732
|
if_block1.c();
|
|
7629
7733
|
if_block1.m(div3, t2);
|
|
7630
7734
|
}
|
|
@@ -7768,7 +7872,7 @@
|
|
|
7768
7872
|
} // (63:8) {#if isClosable}
|
|
7769
7873
|
|
|
7770
7874
|
|
|
7771
|
-
function create_if_block_2$
|
|
7875
|
+
function create_if_block_2$4(ctx) {
|
|
7772
7876
|
let div;
|
|
7773
7877
|
let goa_icon_button;
|
|
7774
7878
|
let mounted;
|
|
@@ -7849,7 +7953,7 @@
|
|
|
7849
7953
|
};
|
|
7850
7954
|
}
|
|
7851
7955
|
|
|
7852
|
-
function create_fragment$
|
|
7956
|
+
function create_fragment$i(ctx) {
|
|
7853
7957
|
let if_block_anchor;
|
|
7854
7958
|
let current;
|
|
7855
7959
|
let if_block =
|
|
@@ -7914,7 +8018,7 @@
|
|
|
7914
8018
|
};
|
|
7915
8019
|
}
|
|
7916
8020
|
|
|
7917
|
-
function instance$
|
|
8021
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
7918
8022
|
let isClosable;
|
|
7919
8023
|
let isScrollable;
|
|
7920
8024
|
let isOpen;
|
|
@@ -8008,7 +8112,7 @@
|
|
|
8008
8112
|
target: this.shadowRoot,
|
|
8009
8113
|
props: attribute_to_object(this.attributes),
|
|
8010
8114
|
customElement: true
|
|
8011
|
-
}, instance$
|
|
8115
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
8012
8116
|
heading: 0,
|
|
8013
8117
|
closable: 9,
|
|
8014
8118
|
scrollable: 10,
|
|
@@ -8205,7 +8309,7 @@
|
|
|
8205
8309
|
};
|
|
8206
8310
|
}
|
|
8207
8311
|
|
|
8208
|
-
function create_fragment$
|
|
8312
|
+
function create_fragment$h(ctx) {
|
|
8209
8313
|
let if_block_anchor;
|
|
8210
8314
|
let current;
|
|
8211
8315
|
let if_block =
|
|
@@ -8270,7 +8374,7 @@
|
|
|
8270
8374
|
};
|
|
8271
8375
|
}
|
|
8272
8376
|
|
|
8273
|
-
function instance$
|
|
8377
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
8274
8378
|
let iconType;
|
|
8275
8379
|
let {
|
|
8276
8380
|
type
|
|
@@ -8304,7 +8408,7 @@
|
|
|
8304
8408
|
target: this.shadowRoot,
|
|
8305
8409
|
props: attribute_to_object(this.attributes),
|
|
8306
8410
|
customElement: true
|
|
8307
|
-
}, instance$
|
|
8411
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
8308
8412
|
type: 0
|
|
8309
8413
|
}, null);
|
|
8310
8414
|
|
|
@@ -8340,7 +8444,7 @@
|
|
|
8340
8444
|
customElements.define("goa-notification", Notification);
|
|
8341
8445
|
/* libs/web-components/src/layouts/PageLayout.svelte generated by Svelte v3.49.0 */
|
|
8342
8446
|
|
|
8343
|
-
function create_fragment$
|
|
8447
|
+
function create_fragment$g(ctx) {
|
|
8344
8448
|
let div;
|
|
8345
8449
|
return {
|
|
8346
8450
|
c() {
|
|
@@ -8373,7 +8477,7 @@
|
|
|
8373
8477
|
target: this.shadowRoot,
|
|
8374
8478
|
props: attribute_to_object(this.attributes),
|
|
8375
8479
|
customElement: true
|
|
8376
|
-
}, null, create_fragment$
|
|
8480
|
+
}, null, create_fragment$g, safe_not_equal, {}, null);
|
|
8377
8481
|
|
|
8378
8482
|
if (options) {
|
|
8379
8483
|
if (options.target) {
|
|
@@ -8398,7 +8502,7 @@
|
|
|
8398
8502
|
function select_block_type(ctx, dirty) {
|
|
8399
8503
|
if (
|
|
8400
8504
|
/*fullscreen*/
|
|
8401
|
-
ctx[
|
|
8505
|
+
ctx[4]) return 0;
|
|
8402
8506
|
if (
|
|
8403
8507
|
/*inline*/
|
|
8404
8508
|
ctx[5]) return 1;
|
|
@@ -8479,7 +8583,7 @@
|
|
|
8479
8583
|
}
|
|
8480
8584
|
|
|
8481
8585
|
};
|
|
8482
|
-
} // (
|
|
8586
|
+
} // (39:19)
|
|
8483
8587
|
|
|
8484
8588
|
|
|
8485
8589
|
function create_if_block_3$1(ctx) {
|
|
@@ -8502,13 +8606,13 @@
|
|
|
8502
8606
|
ctx[0]);
|
|
8503
8607
|
set_custom_element_data(goa_spinner, "size",
|
|
8504
8608
|
/*spinnerSize*/
|
|
8505
|
-
ctx[
|
|
8609
|
+
ctx[3]);
|
|
8506
8610
|
set_custom_element_data(goa_spinner, "progress", goa_spinner_progress_value =
|
|
8507
8611
|
/*progress*/
|
|
8508
8612
|
ctx[2] || 0);
|
|
8509
8613
|
attr(div, "class", div_class_value = "spinner-" +
|
|
8510
8614
|
/*spinnerSize*/
|
|
8511
|
-
ctx[
|
|
8615
|
+
ctx[3]);
|
|
8512
8616
|
toggle_class(div, "inline",
|
|
8513
8617
|
/*inline*/
|
|
8514
8618
|
ctx[5]);
|
|
@@ -8532,10 +8636,10 @@
|
|
|
8532
8636
|
|
|
8533
8637
|
if (dirty &
|
|
8534
8638
|
/*spinnerSize*/
|
|
8535
|
-
|
|
8639
|
+
8) {
|
|
8536
8640
|
set_custom_element_data(goa_spinner, "size",
|
|
8537
8641
|
/*spinnerSize*/
|
|
8538
|
-
ctx[
|
|
8642
|
+
ctx[3]);
|
|
8539
8643
|
}
|
|
8540
8644
|
|
|
8541
8645
|
if (dirty &
|
|
@@ -8563,15 +8667,15 @@
|
|
|
8563
8667
|
|
|
8564
8668
|
if (dirty &
|
|
8565
8669
|
/*spinnerSize*/
|
|
8566
|
-
|
|
8670
|
+
8 && div_class_value !== (div_class_value = "spinner-" +
|
|
8567
8671
|
/*spinnerSize*/
|
|
8568
|
-
ctx[
|
|
8672
|
+
ctx[3])) {
|
|
8569
8673
|
attr(div, "class", div_class_value);
|
|
8570
8674
|
}
|
|
8571
8675
|
|
|
8572
8676
|
if (dirty &
|
|
8573
8677
|
/*spinnerSize, inline*/
|
|
8574
|
-
|
|
8678
|
+
40) {
|
|
8575
8679
|
toggle_class(div, "inline",
|
|
8576
8680
|
/*inline*/
|
|
8577
8681
|
ctx[5]);
|
|
@@ -8587,7 +8691,7 @@
|
|
|
8587
8691
|
}
|
|
8588
8692
|
|
|
8589
8693
|
};
|
|
8590
|
-
} // (
|
|
8694
|
+
} // (28:2) {#if fullscreen}
|
|
8591
8695
|
|
|
8592
8696
|
|
|
8593
8697
|
function create_if_block_1$4(ctx) {
|
|
@@ -8601,7 +8705,7 @@
|
|
|
8601
8705
|
let dispose;
|
|
8602
8706
|
let if_block =
|
|
8603
8707
|
/*message*/
|
|
8604
|
-
ctx[1] && create_if_block_2$
|
|
8708
|
+
ctx[1] && create_if_block_2$3(ctx);
|
|
8605
8709
|
return {
|
|
8606
8710
|
c() {
|
|
8607
8711
|
div = element("div");
|
|
@@ -8613,13 +8717,13 @@
|
|
|
8613
8717
|
ctx[0]);
|
|
8614
8718
|
set_custom_element_data(goa_spinner, "size",
|
|
8615
8719
|
/*spinnerSize*/
|
|
8616
|
-
ctx[
|
|
8720
|
+
ctx[3]);
|
|
8617
8721
|
set_custom_element_data(goa_spinner, "progress", goa_spinner_progress_value =
|
|
8618
8722
|
/*progress*/
|
|
8619
8723
|
ctx[2] || 0);
|
|
8620
8724
|
toggle_class(div, "fullscreen",
|
|
8621
8725
|
/*fullscreen*/
|
|
8622
|
-
ctx[
|
|
8726
|
+
ctx[4]);
|
|
8623
8727
|
},
|
|
8624
8728
|
|
|
8625
8729
|
m(target, anchor) {
|
|
@@ -8648,10 +8752,10 @@
|
|
|
8648
8752
|
|
|
8649
8753
|
if (!current || dirty &
|
|
8650
8754
|
/*spinnerSize*/
|
|
8651
|
-
|
|
8755
|
+
8) {
|
|
8652
8756
|
set_custom_element_data(goa_spinner, "size",
|
|
8653
8757
|
/*spinnerSize*/
|
|
8654
|
-
ctx[
|
|
8758
|
+
ctx[3]);
|
|
8655
8759
|
}
|
|
8656
8760
|
|
|
8657
8761
|
if (!current || dirty &
|
|
@@ -8668,7 +8772,7 @@
|
|
|
8668
8772
|
if (if_block) {
|
|
8669
8773
|
if_block.p(ctx, dirty);
|
|
8670
8774
|
} else {
|
|
8671
|
-
if_block = create_if_block_2$
|
|
8775
|
+
if_block = create_if_block_2$3(ctx);
|
|
8672
8776
|
if_block.c();
|
|
8673
8777
|
if_block.m(div, null);
|
|
8674
8778
|
}
|
|
@@ -8679,10 +8783,10 @@
|
|
|
8679
8783
|
|
|
8680
8784
|
if (dirty &
|
|
8681
8785
|
/*fullscreen*/
|
|
8682
|
-
|
|
8786
|
+
16) {
|
|
8683
8787
|
toggle_class(div, "fullscreen",
|
|
8684
8788
|
/*fullscreen*/
|
|
8685
|
-
ctx[
|
|
8789
|
+
ctx[4]);
|
|
8686
8790
|
}
|
|
8687
8791
|
},
|
|
8688
8792
|
|
|
@@ -8714,7 +8818,7 @@
|
|
|
8714
8818
|
}
|
|
8715
8819
|
|
|
8716
8820
|
};
|
|
8717
|
-
} // (
|
|
8821
|
+
} // (42:6) {#if message}
|
|
8718
8822
|
|
|
8719
8823
|
|
|
8720
8824
|
function create_if_block_4(ctx) {
|
|
@@ -8747,10 +8851,10 @@
|
|
|
8747
8851
|
}
|
|
8748
8852
|
|
|
8749
8853
|
};
|
|
8750
|
-
} // (
|
|
8854
|
+
} // (35:6) {#if message}
|
|
8751
8855
|
|
|
8752
8856
|
|
|
8753
|
-
function create_if_block_2$
|
|
8857
|
+
function create_if_block_2$3(ctx) {
|
|
8754
8858
|
let div;
|
|
8755
8859
|
let t;
|
|
8756
8860
|
return {
|
|
@@ -8782,12 +8886,12 @@
|
|
|
8782
8886
|
};
|
|
8783
8887
|
}
|
|
8784
8888
|
|
|
8785
|
-
function create_fragment$
|
|
8889
|
+
function create_fragment$f(ctx) {
|
|
8786
8890
|
let if_block_anchor;
|
|
8787
8891
|
let current;
|
|
8788
8892
|
let if_block =
|
|
8789
|
-
/*
|
|
8790
|
-
ctx[
|
|
8893
|
+
/*isVisible*/
|
|
8894
|
+
ctx[6] && create_if_block$7(ctx);
|
|
8791
8895
|
return {
|
|
8792
8896
|
c() {
|
|
8793
8897
|
if (if_block) if_block.c();
|
|
@@ -8803,14 +8907,14 @@
|
|
|
8803
8907
|
|
|
8804
8908
|
p(ctx, [dirty]) {
|
|
8805
8909
|
if (
|
|
8806
|
-
/*
|
|
8807
|
-
ctx[
|
|
8910
|
+
/*isVisible*/
|
|
8911
|
+
ctx[6]) {
|
|
8808
8912
|
if (if_block) {
|
|
8809
8913
|
if_block.p(ctx, dirty);
|
|
8810
8914
|
|
|
8811
8915
|
if (dirty &
|
|
8812
|
-
/*
|
|
8813
|
-
|
|
8916
|
+
/*isVisible*/
|
|
8917
|
+
64) {
|
|
8814
8918
|
transition_in(if_block, 1);
|
|
8815
8919
|
}
|
|
8816
8920
|
} else {
|
|
@@ -8847,11 +8951,8 @@
|
|
|
8847
8951
|
};
|
|
8848
8952
|
}
|
|
8849
8953
|
|
|
8850
|
-
function instance$
|
|
8954
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
8851
8955
|
let isVisible;
|
|
8852
|
-
let fullscreen;
|
|
8853
|
-
let inline;
|
|
8854
|
-
let spinnerSize;
|
|
8855
8956
|
let {
|
|
8856
8957
|
type = "infinite"
|
|
8857
8958
|
} = $$props;
|
|
@@ -8870,13 +8971,15 @@
|
|
|
8870
8971
|
let {
|
|
8871
8972
|
visible = "false"
|
|
8872
8973
|
} = $$props;
|
|
8873
|
-
let
|
|
8874
|
-
|
|
8875
|
-
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8974
|
+
let spinnerSize;
|
|
8975
|
+
let fullscreen;
|
|
8976
|
+
let inline;
|
|
8977
|
+
onMount(_async(function () {
|
|
8978
|
+
$$invalidate(3, spinnerSize = size === "small" ? "large" : "xlarge");
|
|
8979
|
+
$$invalidate(4, fullscreen = variant === "fullscreen");
|
|
8980
|
+
$$invalidate(5, inline = variant === "inline");
|
|
8981
|
+
return _await();
|
|
8982
|
+
}));
|
|
8880
8983
|
|
|
8881
8984
|
$$self.$$set = $$props => {
|
|
8882
8985
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
@@ -8891,29 +8994,11 @@
|
|
|
8891
8994
|
if ($$self.$$.dirty &
|
|
8892
8995
|
/*visible*/
|
|
8893
8996
|
512) {
|
|
8894
|
-
isVisible = toBoolean(visible);
|
|
8895
|
-
}
|
|
8896
|
-
|
|
8897
|
-
if ($$self.$$.dirty &
|
|
8898
|
-
/*variant*/
|
|
8899
|
-
128) {
|
|
8900
|
-
$$invalidate(6, fullscreen = variant === "fullscreen");
|
|
8901
|
-
}
|
|
8902
|
-
|
|
8903
|
-
if ($$self.$$.dirty &
|
|
8904
|
-
/*variant*/
|
|
8905
|
-
128) {
|
|
8906
|
-
$$invalidate(5, inline = variant === "inline");
|
|
8907
|
-
}
|
|
8908
|
-
|
|
8909
|
-
if ($$self.$$.dirty &
|
|
8910
|
-
/*size*/
|
|
8911
|
-
256) {
|
|
8912
|
-
$$invalidate(4, spinnerSize = size === "small" ? "large" : "xlarge");
|
|
8997
|
+
$$invalidate(6, isVisible = toBoolean(visible));
|
|
8913
8998
|
}
|
|
8914
8999
|
};
|
|
8915
9000
|
|
|
8916
|
-
return [type, message, progress,
|
|
9001
|
+
return [type, message, progress, spinnerSize, fullscreen, inline, isVisible, variant, size, visible];
|
|
8917
9002
|
}
|
|
8918
9003
|
|
|
8919
9004
|
class CircularProgress extends SvelteElement {
|
|
@@ -8924,7 +9009,7 @@
|
|
|
8924
9009
|
target: this.shadowRoot,
|
|
8925
9010
|
props: attribute_to_object(this.attributes),
|
|
8926
9011
|
customElement: true
|
|
8927
|
-
}, instance$
|
|
9012
|
+
}, instance$e, create_fragment$f, safe_not_equal, {
|
|
8928
9013
|
type: 0,
|
|
8929
9014
|
variant: 7,
|
|
8930
9015
|
size: 8,
|
|
@@ -9021,14 +9106,14 @@
|
|
|
9021
9106
|
const BIND = "bind";
|
|
9022
9107
|
/* libs/web-components/src/components/radio-group/RadioGroup.svelte generated by Svelte v3.49.0 */
|
|
9023
9108
|
|
|
9024
|
-
function get_each_context$
|
|
9109
|
+
function get_each_context$3(ctx, list, i) {
|
|
9025
9110
|
const child_ctx = ctx.slice();
|
|
9026
9111
|
child_ctx[14] = list[i];
|
|
9027
9112
|
return child_ctx;
|
|
9028
9113
|
} // (51:2) {#each options as option (option.value) }
|
|
9029
9114
|
|
|
9030
9115
|
|
|
9031
|
-
function create_each_block$
|
|
9116
|
+
function create_each_block$3(key_1, ctx) {
|
|
9032
9117
|
let label;
|
|
9033
9118
|
let input;
|
|
9034
9119
|
let input_value_value;
|
|
@@ -9195,7 +9280,7 @@
|
|
|
9195
9280
|
};
|
|
9196
9281
|
}
|
|
9197
9282
|
|
|
9198
|
-
function create_fragment$
|
|
9283
|
+
function create_fragment$e(ctx) {
|
|
9199
9284
|
let div;
|
|
9200
9285
|
let slot;
|
|
9201
9286
|
let t;
|
|
@@ -9211,9 +9296,9 @@
|
|
|
9211
9296
|
ctx[14].value;
|
|
9212
9297
|
|
|
9213
9298
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
9214
|
-
let child_ctx = get_each_context$
|
|
9299
|
+
let child_ctx = get_each_context$3(ctx, each_value, i);
|
|
9215
9300
|
let key = get_key(child_ctx);
|
|
9216
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$
|
|
9301
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$3(key, child_ctx));
|
|
9217
9302
|
}
|
|
9218
9303
|
|
|
9219
9304
|
return {
|
|
@@ -9256,7 +9341,7 @@
|
|
|
9256
9341
|
each_value =
|
|
9257
9342
|
/*options*/
|
|
9258
9343
|
ctx[4];
|
|
9259
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, destroy_block, create_each_block$
|
|
9344
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, destroy_block, create_each_block$3, null, get_each_context$3);
|
|
9260
9345
|
}
|
|
9261
9346
|
|
|
9262
9347
|
if (dirty &
|
|
@@ -9294,7 +9379,7 @@
|
|
|
9294
9379
|
};
|
|
9295
9380
|
}
|
|
9296
9381
|
|
|
9297
|
-
function instance$
|
|
9382
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
9298
9383
|
let isDisabled;
|
|
9299
9384
|
let {
|
|
9300
9385
|
name
|
|
@@ -9390,7 +9475,7 @@
|
|
|
9390
9475
|
target: this.shadowRoot,
|
|
9391
9476
|
props: attribute_to_object(this.attributes),
|
|
9392
9477
|
customElement: true
|
|
9393
|
-
}, instance$
|
|
9478
|
+
}, instance$d, create_fragment$e, safe_not_equal, {
|
|
9394
9479
|
name: 1,
|
|
9395
9480
|
value: 0,
|
|
9396
9481
|
orientation: 2,
|
|
@@ -9486,7 +9571,7 @@
|
|
|
9486
9571
|
customElements.define("goa-radio-group", RadioGroup);
|
|
9487
9572
|
/* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.49.0 */
|
|
9488
9573
|
|
|
9489
|
-
function create_fragment$
|
|
9574
|
+
function create_fragment$d(ctx) {
|
|
9490
9575
|
return {
|
|
9491
9576
|
c() {
|
|
9492
9577
|
this.c = noop;
|
|
@@ -9500,7 +9585,7 @@
|
|
|
9500
9585
|
};
|
|
9501
9586
|
}
|
|
9502
9587
|
|
|
9503
|
-
function instance$
|
|
9588
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
9504
9589
|
let {
|
|
9505
9590
|
value
|
|
9506
9591
|
} = $$props;
|
|
@@ -9538,7 +9623,7 @@
|
|
|
9538
9623
|
target: this.shadowRoot,
|
|
9539
9624
|
props: attribute_to_object(this.attributes),
|
|
9540
9625
|
customElement: true
|
|
9541
|
-
}, instance$
|
|
9626
|
+
}, instance$c, create_fragment$d, safe_not_equal, {
|
|
9542
9627
|
value: 0,
|
|
9543
9628
|
label: 1,
|
|
9544
9629
|
name: 2
|
|
@@ -9598,7 +9683,7 @@
|
|
|
9598
9683
|
customElements.define("goa-radio-item", RadioItem);
|
|
9599
9684
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.49.0 */
|
|
9600
9685
|
|
|
9601
|
-
function create_fragment$
|
|
9686
|
+
function create_fragment$c(ctx) {
|
|
9602
9687
|
let div;
|
|
9603
9688
|
let slot;
|
|
9604
9689
|
let div_style_value;
|
|
@@ -9666,7 +9751,7 @@
|
|
|
9666
9751
|
};
|
|
9667
9752
|
}
|
|
9668
9753
|
|
|
9669
|
-
function instance$
|
|
9754
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
9670
9755
|
let {
|
|
9671
9756
|
direction = "vertical"
|
|
9672
9757
|
} = $$props;
|
|
@@ -9698,7 +9783,7 @@
|
|
|
9698
9783
|
target: this.shadowRoot,
|
|
9699
9784
|
props: attribute_to_object(this.attributes),
|
|
9700
9785
|
customElement: true
|
|
9701
|
-
}, instance$
|
|
9786
|
+
}, instance$b, create_fragment$c, safe_not_equal, {
|
|
9702
9787
|
direction: 0,
|
|
9703
9788
|
hpadding: 1,
|
|
9704
9789
|
vpadding: 2,
|
|
@@ -9816,7 +9901,7 @@
|
|
|
9816
9901
|
let t4;
|
|
9817
9902
|
let if_block =
|
|
9818
9903
|
/*feedbackurl*/
|
|
9819
|
-
ctx[2] && create_if_block_2$
|
|
9904
|
+
ctx[2] && create_if_block_2$2(ctx);
|
|
9820
9905
|
return {
|
|
9821
9906
|
c() {
|
|
9822
9907
|
div0 = element("div");
|
|
@@ -9869,7 +9954,7 @@
|
|
|
9869
9954
|
if (if_block) {
|
|
9870
9955
|
if_block.p(ctx, dirty);
|
|
9871
9956
|
} else {
|
|
9872
|
-
if_block = create_if_block_2$
|
|
9957
|
+
if_block = create_if_block_2$2(ctx);
|
|
9873
9958
|
if_block.c();
|
|
9874
9959
|
if_block.m(div1, null);
|
|
9875
9960
|
}
|
|
@@ -9890,7 +9975,7 @@
|
|
|
9890
9975
|
} // (52:6) {#if feedbackurl}
|
|
9891
9976
|
|
|
9892
9977
|
|
|
9893
|
-
function create_if_block_2$
|
|
9978
|
+
function create_if_block_2$2(ctx) {
|
|
9894
9979
|
let span;
|
|
9895
9980
|
let t0;
|
|
9896
9981
|
let a;
|
|
@@ -9965,7 +10050,7 @@
|
|
|
9965
10050
|
};
|
|
9966
10051
|
}
|
|
9967
10052
|
|
|
9968
|
-
function create_fragment$
|
|
10053
|
+
function create_fragment$b(ctx) {
|
|
9969
10054
|
let header;
|
|
9970
10055
|
let t0;
|
|
9971
10056
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -10074,7 +10159,7 @@
|
|
|
10074
10159
|
return val[0].toUpperCase() + val.slice(1);
|
|
10075
10160
|
}
|
|
10076
10161
|
|
|
10077
|
-
function instance$
|
|
10162
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
10078
10163
|
let {
|
|
10079
10164
|
level
|
|
10080
10165
|
} = $$props;
|
|
@@ -10102,7 +10187,7 @@
|
|
|
10102
10187
|
target: this.shadowRoot,
|
|
10103
10188
|
props: attribute_to_object(this.attributes),
|
|
10104
10189
|
customElement: true
|
|
10105
|
-
}, instance$
|
|
10190
|
+
}, instance$a, create_fragment$b, safe_not_equal, {
|
|
10106
10191
|
level: 0,
|
|
10107
10192
|
version: 1,
|
|
10108
10193
|
feedbackurl: 2
|
|
@@ -10162,6 +10247,13 @@
|
|
|
10162
10247
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
10163
10248
|
/* libs/web-components/src/components/skeleton/Skeleton.svelte generated by Svelte v3.49.0 */
|
|
10164
10249
|
|
|
10250
|
+
function get_each_context$2(ctx, list, i) {
|
|
10251
|
+
const child_ctx = ctx.slice();
|
|
10252
|
+
child_ctx[4] = list[i];
|
|
10253
|
+
return child_ctx;
|
|
10254
|
+
} // (33:0) {:else}
|
|
10255
|
+
|
|
10256
|
+
|
|
10165
10257
|
function create_else_block(ctx) {
|
|
10166
10258
|
let div;
|
|
10167
10259
|
let div_class_value;
|
|
@@ -10170,9 +10262,9 @@
|
|
|
10170
10262
|
div = element("div");
|
|
10171
10263
|
attr(div, "class", div_class_value = "skeleton " +
|
|
10172
10264
|
/*type*/
|
|
10173
|
-
ctx[
|
|
10265
|
+
ctx[3] + " " + `${
|
|
10174
10266
|
/*type*/
|
|
10175
|
-
ctx[
|
|
10267
|
+
ctx[3]}-${
|
|
10176
10268
|
/*size*/
|
|
10177
10269
|
ctx[1]}`);
|
|
10178
10270
|
},
|
|
@@ -10184,26 +10276,122 @@
|
|
|
10184
10276
|
p(ctx, dirty) {
|
|
10185
10277
|
if (dirty &
|
|
10186
10278
|
/*type, size*/
|
|
10187
|
-
|
|
10279
|
+
10 && div_class_value !== (div_class_value = "skeleton " +
|
|
10188
10280
|
/*type*/
|
|
10189
|
-
ctx[
|
|
10281
|
+
ctx[3] + " " + `${
|
|
10190
10282
|
/*type*/
|
|
10191
|
-
ctx[
|
|
10283
|
+
ctx[3]}-${
|
|
10192
10284
|
/*size*/
|
|
10193
10285
|
ctx[1]}`)) {
|
|
10194
10286
|
attr(div, "class", div_class_value);
|
|
10195
10287
|
}
|
|
10196
10288
|
},
|
|
10197
10289
|
|
|
10198
|
-
i: noop,
|
|
10199
|
-
o: noop,
|
|
10290
|
+
i: noop,
|
|
10291
|
+
o: noop,
|
|
10292
|
+
|
|
10293
|
+
d(detaching) {
|
|
10294
|
+
if (detaching) detach(div);
|
|
10295
|
+
}
|
|
10296
|
+
|
|
10297
|
+
};
|
|
10298
|
+
} // (29:27)
|
|
10299
|
+
|
|
10300
|
+
|
|
10301
|
+
function create_if_block_2$1(ctx) {
|
|
10302
|
+
let each_1_anchor;
|
|
10303
|
+
let current;
|
|
10304
|
+
let each_value = Array(
|
|
10305
|
+
/*count*/
|
|
10306
|
+
ctx[2]);
|
|
10307
|
+
let each_blocks = [];
|
|
10308
|
+
|
|
10309
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
10310
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
|
10311
|
+
}
|
|
10312
|
+
|
|
10313
|
+
const out = i => transition_out(each_blocks[i], 1, 1, () => {
|
|
10314
|
+
each_blocks[i] = null;
|
|
10315
|
+
});
|
|
10316
|
+
|
|
10317
|
+
return {
|
|
10318
|
+
c() {
|
|
10319
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
10320
|
+
each_blocks[i].c();
|
|
10321
|
+
}
|
|
10322
|
+
|
|
10323
|
+
each_1_anchor = empty();
|
|
10324
|
+
},
|
|
10325
|
+
|
|
10326
|
+
m(target, anchor) {
|
|
10327
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
10328
|
+
each_blocks[i].m(target, anchor);
|
|
10329
|
+
}
|
|
10330
|
+
|
|
10331
|
+
insert(target, each_1_anchor, anchor);
|
|
10332
|
+
current = true;
|
|
10333
|
+
},
|
|
10334
|
+
|
|
10335
|
+
p(ctx, dirty) {
|
|
10336
|
+
if (dirty &
|
|
10337
|
+
/*size, count*/
|
|
10338
|
+
6) {
|
|
10339
|
+
each_value = Array(
|
|
10340
|
+
/*count*/
|
|
10341
|
+
ctx[2]);
|
|
10342
|
+
let i;
|
|
10343
|
+
|
|
10344
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
10345
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
|
10346
|
+
|
|
10347
|
+
if (each_blocks[i]) {
|
|
10348
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
10349
|
+
transition_in(each_blocks[i], 1);
|
|
10350
|
+
} else {
|
|
10351
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
|
10352
|
+
each_blocks[i].c();
|
|
10353
|
+
transition_in(each_blocks[i], 1);
|
|
10354
|
+
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
10355
|
+
}
|
|
10356
|
+
}
|
|
10357
|
+
|
|
10358
|
+
group_outros();
|
|
10359
|
+
|
|
10360
|
+
for (i = each_value.length; i < each_blocks.length; i += 1) {
|
|
10361
|
+
out(i);
|
|
10362
|
+
}
|
|
10363
|
+
|
|
10364
|
+
check_outros();
|
|
10365
|
+
}
|
|
10366
|
+
},
|
|
10367
|
+
|
|
10368
|
+
i(local) {
|
|
10369
|
+
if (current) return;
|
|
10370
|
+
|
|
10371
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
10372
|
+
transition_in(each_blocks[i]);
|
|
10373
|
+
}
|
|
10374
|
+
|
|
10375
|
+
current = true;
|
|
10376
|
+
},
|
|
10377
|
+
|
|
10378
|
+
o(local) {
|
|
10379
|
+
each_blocks = each_blocks.filter(Boolean);
|
|
10380
|
+
|
|
10381
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
10382
|
+
transition_out(each_blocks[i]);
|
|
10383
|
+
}
|
|
10384
|
+
|
|
10385
|
+
current = false;
|
|
10386
|
+
},
|
|
10200
10387
|
|
|
10201
10388
|
d(detaching) {
|
|
10202
|
-
|
|
10389
|
+
destroy_each(each_blocks, detaching);
|
|
10390
|
+
if (detaching) detach(each_1_anchor);
|
|
10203
10391
|
}
|
|
10204
10392
|
|
|
10205
10393
|
};
|
|
10206
|
-
} // (
|
|
10394
|
+
} // (19:29)
|
|
10207
10395
|
|
|
10208
10396
|
|
|
10209
10397
|
function create_if_block_1$2(ctx) {
|
|
@@ -10325,7 +10513,7 @@
|
|
|
10325
10513
|
}
|
|
10326
10514
|
|
|
10327
10515
|
};
|
|
10328
|
-
} // (
|
|
10516
|
+
} // (11:0) {#if type === "card"}
|
|
10329
10517
|
|
|
10330
10518
|
|
|
10331
10519
|
function create_if_block$5(ctx) {
|
|
@@ -10336,10 +10524,6 @@
|
|
|
10336
10524
|
let skeleton1;
|
|
10337
10525
|
let t1;
|
|
10338
10526
|
let skeleton2;
|
|
10339
|
-
let t2;
|
|
10340
|
-
let skeleton3;
|
|
10341
|
-
let t3;
|
|
10342
|
-
let skeleton4;
|
|
10343
10527
|
let div1_class_value;
|
|
10344
10528
|
let current;
|
|
10345
10529
|
skeleton0 = new Skeleton({
|
|
@@ -10360,26 +10544,11 @@
|
|
|
10360
10544
|
});
|
|
10361
10545
|
skeleton2 = new Skeleton({
|
|
10362
10546
|
props: {
|
|
10363
|
-
type: "
|
|
10364
|
-
size:
|
|
10365
|
-
/*size*/
|
|
10366
|
-
ctx[1]
|
|
10367
|
-
}
|
|
10368
|
-
});
|
|
10369
|
-
skeleton3 = new Skeleton({
|
|
10370
|
-
props: {
|
|
10371
|
-
type: "text",
|
|
10372
|
-
size:
|
|
10373
|
-
/*size*/
|
|
10374
|
-
ctx[1]
|
|
10375
|
-
}
|
|
10376
|
-
});
|
|
10377
|
-
skeleton4 = new Skeleton({
|
|
10378
|
-
props: {
|
|
10379
|
-
type: "text",
|
|
10547
|
+
type: "lines",
|
|
10380
10548
|
size:
|
|
10381
10549
|
/*size*/
|
|
10382
|
-
ctx[1]
|
|
10550
|
+
ctx[1],
|
|
10551
|
+
count: 3
|
|
10383
10552
|
}
|
|
10384
10553
|
});
|
|
10385
10554
|
return {
|
|
@@ -10391,10 +10560,6 @@
|
|
|
10391
10560
|
create_component(skeleton1.$$.fragment);
|
|
10392
10561
|
t1 = space();
|
|
10393
10562
|
create_component(skeleton2.$$.fragment);
|
|
10394
|
-
t2 = space();
|
|
10395
|
-
create_component(skeleton3.$$.fragment);
|
|
10396
|
-
t3 = space();
|
|
10397
|
-
create_component(skeleton4.$$.fragment);
|
|
10398
10563
|
attr(div0, "class", "card-content");
|
|
10399
10564
|
attr(div1, "class", div1_class_value = "card card-" +
|
|
10400
10565
|
/*size*/
|
|
@@ -10412,10 +10577,6 @@
|
|
|
10412
10577
|
mount_component(skeleton1, div0, null);
|
|
10413
10578
|
append(div0, t1);
|
|
10414
10579
|
mount_component(skeleton2, div0, null);
|
|
10415
|
-
append(div0, t2);
|
|
10416
|
-
mount_component(skeleton3, div0, null);
|
|
10417
|
-
append(div0, t3);
|
|
10418
|
-
mount_component(skeleton4, div0, null);
|
|
10419
10580
|
current = true;
|
|
10420
10581
|
},
|
|
10421
10582
|
|
|
@@ -10441,20 +10602,6 @@
|
|
|
10441
10602
|
/*size*/
|
|
10442
10603
|
ctx[1];
|
|
10443
10604
|
skeleton2.$set(skeleton2_changes);
|
|
10444
|
-
const skeleton3_changes = {};
|
|
10445
|
-
if (dirty &
|
|
10446
|
-
/*size*/
|
|
10447
|
-
2) skeleton3_changes.size =
|
|
10448
|
-
/*size*/
|
|
10449
|
-
ctx[1];
|
|
10450
|
-
skeleton3.$set(skeleton3_changes);
|
|
10451
|
-
const skeleton4_changes = {};
|
|
10452
|
-
if (dirty &
|
|
10453
|
-
/*size*/
|
|
10454
|
-
2) skeleton4_changes.size =
|
|
10455
|
-
/*size*/
|
|
10456
|
-
ctx[1];
|
|
10457
|
-
skeleton4.$set(skeleton4_changes);
|
|
10458
10605
|
|
|
10459
10606
|
if (!current || dirty &
|
|
10460
10607
|
/*size*/
|
|
@@ -10478,8 +10625,6 @@
|
|
|
10478
10625
|
transition_in(skeleton0.$$.fragment, local);
|
|
10479
10626
|
transition_in(skeleton1.$$.fragment, local);
|
|
10480
10627
|
transition_in(skeleton2.$$.fragment, local);
|
|
10481
|
-
transition_in(skeleton3.$$.fragment, local);
|
|
10482
|
-
transition_in(skeleton4.$$.fragment, local);
|
|
10483
10628
|
current = true;
|
|
10484
10629
|
},
|
|
10485
10630
|
|
|
@@ -10487,8 +10632,6 @@
|
|
|
10487
10632
|
transition_out(skeleton0.$$.fragment, local);
|
|
10488
10633
|
transition_out(skeleton1.$$.fragment, local);
|
|
10489
10634
|
transition_out(skeleton2.$$.fragment, local);
|
|
10490
|
-
transition_out(skeleton3.$$.fragment, local);
|
|
10491
|
-
transition_out(skeleton4.$$.fragment, local);
|
|
10492
10635
|
current = false;
|
|
10493
10636
|
},
|
|
10494
10637
|
|
|
@@ -10497,29 +10640,88 @@
|
|
|
10497
10640
|
destroy_component(skeleton0);
|
|
10498
10641
|
destroy_component(skeleton1);
|
|
10499
10642
|
destroy_component(skeleton2);
|
|
10500
|
-
|
|
10501
|
-
|
|
10643
|
+
}
|
|
10644
|
+
|
|
10645
|
+
};
|
|
10646
|
+
} // (30:2) {#each Array(count) as _item}
|
|
10647
|
+
|
|
10648
|
+
|
|
10649
|
+
function create_each_block$2(ctx) {
|
|
10650
|
+
let skeleton;
|
|
10651
|
+
let current;
|
|
10652
|
+
skeleton = new Skeleton({
|
|
10653
|
+
props: {
|
|
10654
|
+
type: "text",
|
|
10655
|
+
size:
|
|
10656
|
+
/*size*/
|
|
10657
|
+
ctx[1],
|
|
10658
|
+
count:
|
|
10659
|
+
/*count*/
|
|
10660
|
+
ctx[2]
|
|
10661
|
+
}
|
|
10662
|
+
});
|
|
10663
|
+
return {
|
|
10664
|
+
c() {
|
|
10665
|
+
create_component(skeleton.$$.fragment);
|
|
10666
|
+
},
|
|
10667
|
+
|
|
10668
|
+
m(target, anchor) {
|
|
10669
|
+
mount_component(skeleton, target, anchor);
|
|
10670
|
+
current = true;
|
|
10671
|
+
},
|
|
10672
|
+
|
|
10673
|
+
p(ctx, dirty) {
|
|
10674
|
+
const skeleton_changes = {};
|
|
10675
|
+
if (dirty &
|
|
10676
|
+
/*size*/
|
|
10677
|
+
2) skeleton_changes.size =
|
|
10678
|
+
/*size*/
|
|
10679
|
+
ctx[1];
|
|
10680
|
+
if (dirty &
|
|
10681
|
+
/*count*/
|
|
10682
|
+
4) skeleton_changes.count =
|
|
10683
|
+
/*count*/
|
|
10684
|
+
ctx[2];
|
|
10685
|
+
skeleton.$set(skeleton_changes);
|
|
10686
|
+
},
|
|
10687
|
+
|
|
10688
|
+
i(local) {
|
|
10689
|
+
if (current) return;
|
|
10690
|
+
transition_in(skeleton.$$.fragment, local);
|
|
10691
|
+
current = true;
|
|
10692
|
+
},
|
|
10693
|
+
|
|
10694
|
+
o(local) {
|
|
10695
|
+
transition_out(skeleton.$$.fragment, local);
|
|
10696
|
+
current = false;
|
|
10697
|
+
},
|
|
10698
|
+
|
|
10699
|
+
d(detaching) {
|
|
10700
|
+
destroy_component(skeleton, detaching);
|
|
10502
10701
|
}
|
|
10503
10702
|
|
|
10504
10703
|
};
|
|
10505
10704
|
}
|
|
10506
10705
|
|
|
10507
|
-
function create_fragment$
|
|
10706
|
+
function create_fragment$a(ctx) {
|
|
10508
10707
|
let current_block_type_index;
|
|
10509
10708
|
let if_block;
|
|
10510
10709
|
let if_block_anchor;
|
|
10511
10710
|
let current;
|
|
10512
|
-
const if_block_creators = [create_if_block$5, create_if_block_1$2, create_else_block];
|
|
10711
|
+
const if_block_creators = [create_if_block$5, create_if_block_1$2, create_if_block_2$1, create_else_block];
|
|
10513
10712
|
const if_blocks = [];
|
|
10514
10713
|
|
|
10515
10714
|
function select_block_type(ctx, dirty) {
|
|
10516
10715
|
if (
|
|
10517
10716
|
/*type*/
|
|
10518
|
-
ctx[
|
|
10717
|
+
ctx[3] === "card") return 0;
|
|
10718
|
+
if (
|
|
10719
|
+
/*type*/
|
|
10720
|
+
ctx[3] === "profile") return 1;
|
|
10519
10721
|
if (
|
|
10520
10722
|
/*type*/
|
|
10521
|
-
ctx[
|
|
10522
|
-
return
|
|
10723
|
+
ctx[3] === "lines") return 2;
|
|
10724
|
+
return 3;
|
|
10523
10725
|
}
|
|
10524
10726
|
|
|
10525
10727
|
current_block_type_index = select_block_type(ctx);
|
|
@@ -10582,13 +10784,16 @@
|
|
|
10582
10784
|
};
|
|
10583
10785
|
}
|
|
10584
10786
|
|
|
10585
|
-
function instance$
|
|
10787
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
10586
10788
|
let {
|
|
10587
10789
|
width = 320
|
|
10588
10790
|
} = $$props;
|
|
10589
10791
|
let {
|
|
10590
10792
|
size = 1
|
|
10591
10793
|
} = $$props;
|
|
10794
|
+
let {
|
|
10795
|
+
count = 3
|
|
10796
|
+
} = $$props;
|
|
10592
10797
|
let {
|
|
10593
10798
|
type
|
|
10594
10799
|
} = $$props;
|
|
@@ -10596,24 +10801,26 @@
|
|
|
10596
10801
|
$$self.$$set = $$props => {
|
|
10597
10802
|
if ('width' in $$props) $$invalidate(0, width = $$props.width);
|
|
10598
10803
|
if ('size' in $$props) $$invalidate(1, size = $$props.size);
|
|
10599
|
-
if ('
|
|
10804
|
+
if ('count' in $$props) $$invalidate(2, count = $$props.count);
|
|
10805
|
+
if ('type' in $$props) $$invalidate(3, type = $$props.type);
|
|
10600
10806
|
};
|
|
10601
10807
|
|
|
10602
|
-
return [width, size, type];
|
|
10808
|
+
return [width, size, count, type];
|
|
10603
10809
|
}
|
|
10604
10810
|
|
|
10605
10811
|
class Skeleton extends SvelteElement {
|
|
10606
10812
|
constructor(options) {
|
|
10607
10813
|
super();
|
|
10608
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-
|
|
10814
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>`;
|
|
10609
10815
|
init(this, {
|
|
10610
10816
|
target: this.shadowRoot,
|
|
10611
10817
|
props: attribute_to_object(this.attributes),
|
|
10612
10818
|
customElement: true
|
|
10613
|
-
}, instance$
|
|
10819
|
+
}, instance$9, create_fragment$a, safe_not_equal, {
|
|
10614
10820
|
width: 0,
|
|
10615
10821
|
size: 1,
|
|
10616
|
-
|
|
10822
|
+
count: 2,
|
|
10823
|
+
type: 3
|
|
10617
10824
|
}, null);
|
|
10618
10825
|
|
|
10619
10826
|
if (options) {
|
|
@@ -10629,7 +10836,7 @@
|
|
|
10629
10836
|
}
|
|
10630
10837
|
|
|
10631
10838
|
static get observedAttributes() {
|
|
10632
|
-
return ["width", "size", "type"];
|
|
10839
|
+
return ["width", "size", "count", "type"];
|
|
10633
10840
|
}
|
|
10634
10841
|
|
|
10635
10842
|
get width() {
|
|
@@ -10654,10 +10861,21 @@
|
|
|
10654
10861
|
flush();
|
|
10655
10862
|
}
|
|
10656
10863
|
|
|
10657
|
-
get
|
|
10864
|
+
get count() {
|
|
10658
10865
|
return this.$$.ctx[2];
|
|
10659
10866
|
}
|
|
10660
10867
|
|
|
10868
|
+
set count(count) {
|
|
10869
|
+
this.$$set({
|
|
10870
|
+
count
|
|
10871
|
+
});
|
|
10872
|
+
flush();
|
|
10873
|
+
}
|
|
10874
|
+
|
|
10875
|
+
get type() {
|
|
10876
|
+
return this.$$.ctx[3];
|
|
10877
|
+
}
|
|
10878
|
+
|
|
10661
10879
|
set type(type) {
|
|
10662
10880
|
this.$$set({
|
|
10663
10881
|
type
|
|
@@ -10980,7 +11198,7 @@
|
|
|
10980
11198
|
};
|
|
10981
11199
|
}
|
|
10982
11200
|
|
|
10983
|
-
function create_fragment$
|
|
11201
|
+
function create_fragment$9(ctx) {
|
|
10984
11202
|
let if_block_anchor;
|
|
10985
11203
|
let if_block =
|
|
10986
11204
|
/*ready*/
|
|
@@ -11025,7 +11243,7 @@
|
|
|
11025
11243
|
};
|
|
11026
11244
|
}
|
|
11027
11245
|
|
|
11028
|
-
function instance$
|
|
11246
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
11029
11247
|
let diameter;
|
|
11030
11248
|
let strokewidth;
|
|
11031
11249
|
let radius;
|
|
@@ -11150,7 +11368,7 @@
|
|
|
11150
11368
|
target: this.shadowRoot,
|
|
11151
11369
|
props: attribute_to_object(this.attributes),
|
|
11152
11370
|
customElement: true
|
|
11153
|
-
}, instance$
|
|
11371
|
+
}, instance$8, create_fragment$9, safe_not_equal, {
|
|
11154
11372
|
size: 10,
|
|
11155
11373
|
invert: 0,
|
|
11156
11374
|
type: 1,
|
|
@@ -11378,7 +11596,7 @@
|
|
|
11378
11596
|
};
|
|
11379
11597
|
}
|
|
11380
11598
|
|
|
11381
|
-
function create_fragment$
|
|
11599
|
+
function create_fragment$8(ctx) {
|
|
11382
11600
|
let div;
|
|
11383
11601
|
let textarea;
|
|
11384
11602
|
let t;
|
|
@@ -11546,7 +11764,7 @@
|
|
|
11546
11764
|
};
|
|
11547
11765
|
}
|
|
11548
11766
|
|
|
11549
|
-
function instance$
|
|
11767
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
11550
11768
|
let isError;
|
|
11551
11769
|
let isDisabled;
|
|
11552
11770
|
let isReadonly;
|
|
@@ -11654,7 +11872,7 @@
|
|
|
11654
11872
|
target: this.shadowRoot,
|
|
11655
11873
|
props: attribute_to_object(this.attributes),
|
|
11656
11874
|
customElement: true
|
|
11657
|
-
}, instance$
|
|
11875
|
+
}, instance$7, create_fragment$8, safe_not_equal, {
|
|
11658
11876
|
name: 0,
|
|
11659
11877
|
value: 1,
|
|
11660
11878
|
placeholder: 2,
|
|
@@ -11810,7 +12028,7 @@
|
|
|
11810
12028
|
customElements.define("goa-textarea", TextArea);
|
|
11811
12029
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.49.0 */
|
|
11812
12030
|
|
|
11813
|
-
function create_fragment$
|
|
12031
|
+
function create_fragment$7(ctx) {
|
|
11814
12032
|
let div;
|
|
11815
12033
|
return {
|
|
11816
12034
|
c() {
|
|
@@ -11866,7 +12084,7 @@
|
|
|
11866
12084
|
}
|
|
11867
12085
|
}
|
|
11868
12086
|
|
|
11869
|
-
function instance$
|
|
12087
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
11870
12088
|
let isOpen;
|
|
11871
12089
|
let ignoreFocusChanges = false;
|
|
11872
12090
|
let lastFocus;
|
|
@@ -12039,7 +12257,7 @@
|
|
|
12039
12257
|
target: this.shadowRoot,
|
|
12040
12258
|
props: attribute_to_object(this.attributes),
|
|
12041
12259
|
customElement: true
|
|
12042
|
-
}, instance$
|
|
12260
|
+
}, instance$6, create_fragment$7, safe_not_equal, {
|
|
12043
12261
|
open: 1
|
|
12044
12262
|
}, null);
|
|
12045
12263
|
|
|
@@ -12094,7 +12312,7 @@
|
|
|
12094
12312
|
};
|
|
12095
12313
|
}
|
|
12096
12314
|
|
|
12097
|
-
function create_fragment$
|
|
12315
|
+
function create_fragment$6(ctx) {
|
|
12098
12316
|
var _ctx$;
|
|
12099
12317
|
|
|
12100
12318
|
let footer;
|
|
@@ -12219,7 +12437,7 @@
|
|
|
12219
12437
|
};
|
|
12220
12438
|
}
|
|
12221
12439
|
|
|
12222
|
-
function instance$
|
|
12440
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
12223
12441
|
let rootEl;
|
|
12224
12442
|
let navLinks;
|
|
12225
12443
|
let metaLinks;
|
|
@@ -12246,12 +12464,12 @@
|
|
|
12246
12464
|
class Footer extends SvelteElement {
|
|
12247
12465
|
constructor(options) {
|
|
12248
12466
|
super();
|
|
12249
|
-
this.shadowRoot.innerHTML = `<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;margin-top:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;
|
|
12467
|
+
this.shadowRoot.innerHTML = `<style>.app-footer{background-color:var(--color-gray-100);padding:2rem;margin-top:2rem;border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>`;
|
|
12250
12468
|
init(this, {
|
|
12251
12469
|
target: this.shadowRoot,
|
|
12252
12470
|
props: attribute_to_object(this.attributes),
|
|
12253
12471
|
customElement: true
|
|
12254
|
-
}, instance$
|
|
12472
|
+
}, instance$5, create_fragment$6, safe_not_equal, {}, null);
|
|
12255
12473
|
|
|
12256
12474
|
if (options) {
|
|
12257
12475
|
if (options.target) {
|
|
@@ -12269,7 +12487,7 @@
|
|
|
12269
12487
|
const child_ctx = ctx.slice();
|
|
12270
12488
|
child_ctx[5] = list[i];
|
|
12271
12489
|
return child_ctx;
|
|
12272
|
-
} // (
|
|
12490
|
+
} // (90:2) {#if name}
|
|
12273
12491
|
|
|
12274
12492
|
|
|
12275
12493
|
function create_if_block$1(ctx) {
|
|
@@ -12311,7 +12529,7 @@
|
|
|
12311
12529
|
}
|
|
12312
12530
|
|
|
12313
12531
|
};
|
|
12314
|
-
} // (
|
|
12532
|
+
} // (107:4) {#each children as child}
|
|
12315
12533
|
|
|
12316
12534
|
|
|
12317
12535
|
function create_each_block$1(ctx) {
|
|
@@ -12361,7 +12579,7 @@
|
|
|
12361
12579
|
};
|
|
12362
12580
|
}
|
|
12363
12581
|
|
|
12364
|
-
function create_fragment$
|
|
12582
|
+
function create_fragment$5(ctx) {
|
|
12365
12583
|
let section;
|
|
12366
12584
|
let t0;
|
|
12367
12585
|
let div;
|
|
@@ -12508,7 +12726,7 @@
|
|
|
12508
12726
|
};
|
|
12509
12727
|
}
|
|
12510
12728
|
|
|
12511
|
-
function instance$
|
|
12729
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
12512
12730
|
let {
|
|
12513
12731
|
name = ""
|
|
12514
12732
|
} = $$props;
|
|
@@ -12519,6 +12737,7 @@
|
|
|
12519
12737
|
let children = [];
|
|
12520
12738
|
onMount(function () {
|
|
12521
12739
|
return _call(tick, function () {
|
|
12740
|
+
// remap slot content
|
|
12522
12741
|
$$invalidate(3, children = rootEl.querySelector("slot").assignedElements());
|
|
12523
12742
|
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
12524
12743
|
return sum && valid;
|
|
@@ -12565,7 +12784,7 @@
|
|
|
12565
12784
|
target: this.shadowRoot,
|
|
12566
12785
|
props: attribute_to_object(this.attributes),
|
|
12567
12786
|
customElement: true
|
|
12568
|
-
}, instance$
|
|
12787
|
+
}, instance$4, create_fragment$5, safe_not_equal, {
|
|
12569
12788
|
name: 0,
|
|
12570
12789
|
maxcolumncount: 1
|
|
12571
12790
|
}, null);
|
|
@@ -12667,7 +12886,7 @@
|
|
|
12667
12886
|
};
|
|
12668
12887
|
}
|
|
12669
12888
|
|
|
12670
|
-
function create_fragment$
|
|
12889
|
+
function create_fragment$4(ctx) {
|
|
12671
12890
|
let section;
|
|
12672
12891
|
let div;
|
|
12673
12892
|
let t;
|
|
@@ -12755,7 +12974,7 @@
|
|
|
12755
12974
|
};
|
|
12756
12975
|
}
|
|
12757
12976
|
|
|
12758
|
-
function instance$
|
|
12977
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
12759
12978
|
let rootEl;
|
|
12760
12979
|
let children = [];
|
|
12761
12980
|
onMount(function () {
|
|
@@ -12790,7 +13009,7 @@
|
|
|
12790
13009
|
target: this.shadowRoot,
|
|
12791
13010
|
props: attribute_to_object(this.attributes),
|
|
12792
13011
|
customElement: true
|
|
12793
|
-
}, instance$
|
|
13012
|
+
}, instance$3, create_fragment$4, safe_not_equal, {}, null);
|
|
12794
13013
|
|
|
12795
13014
|
if (options) {
|
|
12796
13015
|
if (options.target) {
|
|
@@ -12802,6 +13021,111 @@
|
|
|
12802
13021
|
}
|
|
12803
13022
|
|
|
12804
13023
|
customElements.define("goa-app-footer-meta-section", FooterMetaSection);
|
|
13024
|
+
/* libs/web-components/src/components/flex-column/FlexColumn.svelte generated by Svelte v3.49.0 */
|
|
13025
|
+
|
|
13026
|
+
function create_fragment$3(ctx) {
|
|
13027
|
+
let div;
|
|
13028
|
+
let slot;
|
|
13029
|
+
return {
|
|
13030
|
+
c() {
|
|
13031
|
+
div = element("div");
|
|
13032
|
+
slot = element("slot");
|
|
13033
|
+
this.c = noop;
|
|
13034
|
+
attr(div, "class", "goa-flex-col");
|
|
13035
|
+
set_style(div, "gap",
|
|
13036
|
+
/*_gap*/
|
|
13037
|
+
ctx[0]);
|
|
13038
|
+
},
|
|
13039
|
+
|
|
13040
|
+
m(target, anchor) {
|
|
13041
|
+
insert(target, div, anchor);
|
|
13042
|
+
append(div, slot);
|
|
13043
|
+
},
|
|
13044
|
+
|
|
13045
|
+
p(ctx, [dirty]) {
|
|
13046
|
+
if (dirty &
|
|
13047
|
+
/*_gap*/
|
|
13048
|
+
1) {
|
|
13049
|
+
set_style(div, "gap",
|
|
13050
|
+
/*_gap*/
|
|
13051
|
+
ctx[0]);
|
|
13052
|
+
}
|
|
13053
|
+
},
|
|
13054
|
+
|
|
13055
|
+
i: noop,
|
|
13056
|
+
o: noop,
|
|
13057
|
+
|
|
13058
|
+
d(detaching) {
|
|
13059
|
+
if (detaching) detach(div);
|
|
13060
|
+
}
|
|
13061
|
+
|
|
13062
|
+
};
|
|
13063
|
+
}
|
|
13064
|
+
|
|
13065
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
13066
|
+
let _gap;
|
|
13067
|
+
|
|
13068
|
+
let {
|
|
13069
|
+
gap = ""
|
|
13070
|
+
} = $$props;
|
|
13071
|
+
|
|
13072
|
+
$$self.$$set = $$props => {
|
|
13073
|
+
if ('gap' in $$props) $$invalidate(1, gap = $$props.gap);
|
|
13074
|
+
};
|
|
13075
|
+
|
|
13076
|
+
$$self.$$.update = () => {
|
|
13077
|
+
if ($$self.$$.dirty &
|
|
13078
|
+
/*gap*/
|
|
13079
|
+
2) {
|
|
13080
|
+
$$invalidate(0, _gap = gap === 'small' ? '1rem' : gap === 'medium' ? '2rem' : gap === 'large' ? '3rem' : '0');
|
|
13081
|
+
}
|
|
13082
|
+
};
|
|
13083
|
+
|
|
13084
|
+
return [_gap, gap];
|
|
13085
|
+
}
|
|
13086
|
+
|
|
13087
|
+
class FlexColumn extends SvelteElement {
|
|
13088
|
+
constructor(options) {
|
|
13089
|
+
super();
|
|
13090
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family);margin-bottom:3rem}.goa-flex-col{display:flex;flex-direction:column;gap:var(--gap)}</style>`;
|
|
13091
|
+
init(this, {
|
|
13092
|
+
target: this.shadowRoot,
|
|
13093
|
+
props: attribute_to_object(this.attributes),
|
|
13094
|
+
customElement: true
|
|
13095
|
+
}, instance$2, create_fragment$3, safe_not_equal, {
|
|
13096
|
+
gap: 1
|
|
13097
|
+
}, null);
|
|
13098
|
+
|
|
13099
|
+
if (options) {
|
|
13100
|
+
if (options.target) {
|
|
13101
|
+
insert(options.target, this, options.anchor);
|
|
13102
|
+
}
|
|
13103
|
+
|
|
13104
|
+
if (options.props) {
|
|
13105
|
+
this.$set(options.props);
|
|
13106
|
+
flush();
|
|
13107
|
+
}
|
|
13108
|
+
}
|
|
13109
|
+
}
|
|
13110
|
+
|
|
13111
|
+
static get observedAttributes() {
|
|
13112
|
+
return ["gap"];
|
|
13113
|
+
}
|
|
13114
|
+
|
|
13115
|
+
get gap() {
|
|
13116
|
+
return this.$$.ctx[1];
|
|
13117
|
+
}
|
|
13118
|
+
|
|
13119
|
+
set gap(gap) {
|
|
13120
|
+
this.$$set({
|
|
13121
|
+
gap
|
|
13122
|
+
});
|
|
13123
|
+
flush();
|
|
13124
|
+
}
|
|
13125
|
+
|
|
13126
|
+
}
|
|
13127
|
+
|
|
13128
|
+
customElements.define("goa-flex-col", FlexColumn);
|
|
12805
13129
|
/* libs/web-components/src/components/container/ContainerWrapper.test.svelte generated by Svelte v3.49.0 */
|
|
12806
13130
|
|
|
12807
13131
|
function create_if_block_1(ctx) {
|
|
@@ -13500,11 +13824,11 @@
|
|
|
13500
13824
|
};
|
|
13501
13825
|
|
|
13502
13826
|
var GoAAppHeader = function GoAAppHeader(_a) {
|
|
13503
|
-
var
|
|
13827
|
+
var heading = _a.heading,
|
|
13504
13828
|
url = _a.url,
|
|
13505
13829
|
children = _a.children;
|
|
13506
13830
|
return jsxRuntime.jsx("goa-app-header", __assign({
|
|
13507
|
-
|
|
13831
|
+
heading: heading,
|
|
13508
13832
|
url: url
|
|
13509
13833
|
}, {
|
|
13510
13834
|
children: children
|
|
@@ -13601,12 +13925,12 @@
|
|
|
13601
13925
|
};
|
|
13602
13926
|
|
|
13603
13927
|
var GoACallout = function GoACallout(_a) {
|
|
13604
|
-
var
|
|
13928
|
+
var heading = _a.heading,
|
|
13605
13929
|
_b = _a.type,
|
|
13606
13930
|
type = _b === void 0 ? "information" : _b,
|
|
13607
13931
|
children = _a.children;
|
|
13608
13932
|
return jsxRuntime.jsx("goa-callout", __assign({
|
|
13609
|
-
|
|
13933
|
+
heading: heading,
|
|
13610
13934
|
type: type
|
|
13611
13935
|
}, {
|
|
13612
13936
|
children: children
|
|
@@ -13810,11 +14134,11 @@
|
|
|
13810
14134
|
};
|
|
13811
14135
|
|
|
13812
14136
|
var GoAHeroBanner = function GoAHeroBanner(_a) {
|
|
13813
|
-
var
|
|
14137
|
+
var heading = _a.heading,
|
|
13814
14138
|
backgroundUrl = _a.backgroundUrl,
|
|
13815
14139
|
children = _a.children;
|
|
13816
14140
|
return jsxRuntime.jsx("goa-hero-banner", __assign({
|
|
13817
|
-
|
|
14141
|
+
heading: heading,
|
|
13818
14142
|
backgroundurl: backgroundUrl
|
|
13819
14143
|
}, {
|
|
13820
14144
|
children: children
|
|
@@ -14094,6 +14418,12 @@
|
|
|
14094
14418
|
}, void 0);
|
|
14095
14419
|
};
|
|
14096
14420
|
|
|
14421
|
+
function GoAPage(props) {
|
|
14422
|
+
return jsxRuntime.jsx("goa-page", {
|
|
14423
|
+
children: props.children
|
|
14424
|
+
}, void 0);
|
|
14425
|
+
}
|
|
14426
|
+
|
|
14097
14427
|
function GoAAppFooter(_a) {
|
|
14098
14428
|
var children = _a.children;
|
|
14099
14429
|
return jsxRuntime.jsx("goa-app-footer", {
|
|
@@ -14134,12 +14464,6 @@
|
|
|
14134
14464
|
}), void 0);
|
|
14135
14465
|
};
|
|
14136
14466
|
|
|
14137
|
-
function GoAPage(props) {
|
|
14138
|
-
return jsxRuntime.jsx("goa-page", {
|
|
14139
|
-
children: props.children
|
|
14140
|
-
}, void 0);
|
|
14141
|
-
}
|
|
14142
|
-
|
|
14143
14467
|
function GoADivider(props) {
|
|
14144
14468
|
return jsxRuntime.jsx("goa-divider", {
|
|
14145
14469
|
spacing: props.spacing
|