@forgerock/login-widget 1.2.0-beta.1 → 1.2.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/index.cjs +429 -155
- package/index.cjs.map +1 -1
- package/index.js +429 -155
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/widget.css +294 -147
package/index.cjs
CHANGED
|
@@ -9191,19 +9191,15 @@ function htmlDecode(input) {
|
|
|
9191
9191
|
return e.childNodes.length === 0 ? '' : e.childNodes[0].nodeValue;
|
|
9192
9192
|
}
|
|
9193
9193
|
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
};
|
|
9194
|
+
function getDefaultExportFromCjs (x) {
|
|
9195
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
9196
|
+
}
|
|
9197
|
+
|
|
9198
|
+
var lib$1 = {exports: {}};
|
|
9199
9199
|
|
|
9200
9200
|
var _default$1 = {};
|
|
9201
9201
|
|
|
9202
|
-
var
|
|
9203
|
-
var lib = {
|
|
9204
|
-
get exports(){ return libExports; },
|
|
9205
|
-
set exports(v){ libExports = v; },
|
|
9206
|
-
};
|
|
9202
|
+
var lib = {exports: {}};
|
|
9207
9203
|
|
|
9208
9204
|
var _default = {};
|
|
9209
9205
|
|
|
@@ -9857,8 +9853,10 @@ var css = FilterCSS$2;
|
|
|
9857
9853
|
// 在浏览器端使用
|
|
9858
9854
|
if (typeof window !== 'undefined') {
|
|
9859
9855
|
window.filterCSS = module.exports;
|
|
9860
|
-
}
|
|
9861
|
-
} (lib,
|
|
9856
|
+
}
|
|
9857
|
+
} (lib, lib.exports));
|
|
9858
|
+
|
|
9859
|
+
var libExports$1 = lib.exports;
|
|
9862
9860
|
|
|
9863
9861
|
var util = {
|
|
9864
9862
|
indexOf: function (arr, item) {
|
|
@@ -9901,8 +9899,8 @@ var util = {
|
|
|
9901
9899
|
* @author Zongmin Lei<leizongmin@gmail.com>
|
|
9902
9900
|
*/
|
|
9903
9901
|
|
|
9904
|
-
var FilterCSS$1 = libExports.FilterCSS;
|
|
9905
|
-
var getDefaultCSSWhiteList = libExports.getDefaultWhiteList;
|
|
9902
|
+
var FilterCSS$1 = libExports$1.FilterCSS;
|
|
9903
|
+
var getDefaultCSSWhiteList = libExports$1.getDefaultWhiteList;
|
|
9906
9904
|
var _$2 = util;
|
|
9907
9905
|
|
|
9908
9906
|
function getDefaultWhiteList() {
|
|
@@ -10619,7 +10617,7 @@ parser$1.parseAttr = parseAttr$1;
|
|
|
10619
10617
|
* @author Zongmin Lei<leizongmin@gmail.com>
|
|
10620
10618
|
*/
|
|
10621
10619
|
|
|
10622
|
-
var FilterCSS = libExports.FilterCSS;
|
|
10620
|
+
var FilterCSS = libExports$1.FilterCSS;
|
|
10623
10621
|
var DEFAULT = _default$1;
|
|
10624
10622
|
var parser = parser$1;
|
|
10625
10623
|
var parseTag = parser.parseTag;
|
|
@@ -10894,10 +10892,11 @@ var xss = FilterXSS;
|
|
|
10894
10892
|
}
|
|
10895
10893
|
if (isWorkerEnv()) {
|
|
10896
10894
|
self.filterXSS = module.exports;
|
|
10897
|
-
}
|
|
10898
|
-
} (lib$1,
|
|
10895
|
+
}
|
|
10896
|
+
} (lib$1, lib$1.exports));
|
|
10899
10897
|
|
|
10900
|
-
var
|
|
10898
|
+
var libExports = lib$1.exports;
|
|
10899
|
+
var sanitize = /*@__PURE__*/getDefaultExportFromCjs(libExports);
|
|
10901
10900
|
|
|
10902
10901
|
var alreadyHaveAnAccount = "Already have an account? <a href='?journey'>Sign in here!</a>";
|
|
10903
10902
|
var backToDefault = "Back to Sign In";
|
|
@@ -14164,7 +14163,7 @@ function instance$Y($$self, $$props, $$invalidate) {
|
|
|
14164
14163
|
let { busy = false } = $$props;
|
|
14165
14164
|
let { classes = '' } = $$props;
|
|
14166
14165
|
|
|
14167
|
-
let { onClick =
|
|
14166
|
+
let { onClick = () => {
|
|
14168
14167
|
|
|
14169
14168
|
} } = $$props;
|
|
14170
14169
|
|
|
@@ -16243,7 +16242,7 @@ let Standard$1 = class Standard extends SvelteComponent {
|
|
|
16243
16242
|
/* src/lib/journey/callbacks/boolean/boolean.svelte generated by Svelte v3.59.2 */
|
|
16244
16243
|
|
|
16245
16244
|
function create_default_slot$p(ctx) {
|
|
16246
|
-
let t_value = interpolate(textToKey(/*outputName*/ ctx[
|
|
16245
|
+
let t_value = interpolate(textToKey(/*outputName*/ ctx[3]), null, /*prompt*/ ctx[5]) + "";
|
|
16247
16246
|
let t;
|
|
16248
16247
|
|
|
16249
16248
|
return {
|
|
@@ -16254,7 +16253,7 @@ function create_default_slot$p(ctx) {
|
|
|
16254
16253
|
insert(target, t, anchor);
|
|
16255
16254
|
},
|
|
16256
16255
|
p(ctx, dirty) {
|
|
16257
|
-
if (dirty & /*outputName, prompt*/
|
|
16256
|
+
if (dirty & /*outputName, prompt*/ 40 && t_value !== (t_value = interpolate(textToKey(/*outputName*/ ctx[3]), null, /*prompt*/ ctx[5]) + "")) set_data(t, t_value);
|
|
16258
16257
|
},
|
|
16259
16258
|
d(detaching) {
|
|
16260
16259
|
if (detaching) detach(t);
|
|
@@ -16262,18 +16261,19 @@ function create_default_slot$p(ctx) {
|
|
|
16262
16261
|
};
|
|
16263
16262
|
}
|
|
16264
16263
|
|
|
16265
|
-
|
|
16264
|
+
// (32:0) {#key callback}
|
|
16265
|
+
function create_key_block$5(ctx) {
|
|
16266
16266
|
let checkbox;
|
|
16267
16267
|
let current;
|
|
16268
16268
|
|
|
16269
|
-
checkbox = new /*Checkbox*/ ctx[
|
|
16269
|
+
checkbox = new /*Checkbox*/ ctx[7]({
|
|
16270
16270
|
props: {
|
|
16271
|
-
isFirstInvalidInput: /*callbackMetadata*/ ctx[
|
|
16272
|
-
isInvalid: !!/*validationFailure*/ ctx[
|
|
16273
|
-
key: /*inputName*/ ctx[
|
|
16274
|
-
message: /*validationFailure*/ ctx[
|
|
16275
|
-
onChange: /*setValue*/ ctx[
|
|
16276
|
-
value: /*previousValue*/ ctx[
|
|
16271
|
+
isFirstInvalidInput: /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false,
|
|
16272
|
+
isInvalid: !!/*validationFailure*/ ctx[6],
|
|
16273
|
+
key: /*inputName*/ ctx[2],
|
|
16274
|
+
message: /*validationFailure*/ ctx[6],
|
|
16275
|
+
onChange: /*setValue*/ ctx[8],
|
|
16276
|
+
value: /*previousValue*/ ctx[4],
|
|
16277
16277
|
$$slots: { default: [create_default_slot$p] },
|
|
16278
16278
|
$$scope: { ctx }
|
|
16279
16279
|
}
|
|
@@ -16287,15 +16287,15 @@ function create_fragment$M(ctx) {
|
|
|
16287
16287
|
mount_component(checkbox, target, anchor);
|
|
16288
16288
|
current = true;
|
|
16289
16289
|
},
|
|
16290
|
-
p(ctx,
|
|
16290
|
+
p(ctx, dirty) {
|
|
16291
16291
|
const checkbox_changes = {};
|
|
16292
|
-
if (dirty & /*callbackMetadata*/
|
|
16293
|
-
if (dirty & /*validationFailure*/
|
|
16294
|
-
if (dirty & /*inputName*/
|
|
16295
|
-
if (dirty & /*validationFailure*/
|
|
16296
|
-
if (dirty & /*previousValue*/
|
|
16292
|
+
if (dirty & /*callbackMetadata*/ 2) checkbox_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
16293
|
+
if (dirty & /*validationFailure*/ 64) checkbox_changes.isInvalid = !!/*validationFailure*/ ctx[6];
|
|
16294
|
+
if (dirty & /*inputName*/ 4) checkbox_changes.key = /*inputName*/ ctx[2];
|
|
16295
|
+
if (dirty & /*validationFailure*/ 64) checkbox_changes.message = /*validationFailure*/ ctx[6];
|
|
16296
|
+
if (dirty & /*previousValue*/ 16) checkbox_changes.value = /*previousValue*/ ctx[4];
|
|
16297
16297
|
|
|
16298
|
-
if (dirty & /*$$scope, outputName, prompt*/
|
|
16298
|
+
if (dirty & /*$$scope, outputName, prompt*/ 4136) {
|
|
16299
16299
|
checkbox_changes.$$scope = { dirty, ctx };
|
|
16300
16300
|
}
|
|
16301
16301
|
|
|
@@ -16316,6 +16316,51 @@ function create_fragment$M(ctx) {
|
|
|
16316
16316
|
};
|
|
16317
16317
|
}
|
|
16318
16318
|
|
|
16319
|
+
function create_fragment$M(ctx) {
|
|
16320
|
+
let previous_key = /*callback*/ ctx[0];
|
|
16321
|
+
let key_block_anchor;
|
|
16322
|
+
let current;
|
|
16323
|
+
let key_block = create_key_block$5(ctx);
|
|
16324
|
+
|
|
16325
|
+
return {
|
|
16326
|
+
c() {
|
|
16327
|
+
key_block.c();
|
|
16328
|
+
key_block_anchor = empty();
|
|
16329
|
+
},
|
|
16330
|
+
m(target, anchor) {
|
|
16331
|
+
key_block.m(target, anchor);
|
|
16332
|
+
insert(target, key_block_anchor, anchor);
|
|
16333
|
+
current = true;
|
|
16334
|
+
},
|
|
16335
|
+
p(ctx, [dirty]) {
|
|
16336
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
16337
|
+
group_outros();
|
|
16338
|
+
transition_out(key_block, 1, 1, noop);
|
|
16339
|
+
check_outros();
|
|
16340
|
+
key_block = create_key_block$5(ctx);
|
|
16341
|
+
key_block.c();
|
|
16342
|
+
transition_in(key_block, 1);
|
|
16343
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
16344
|
+
} else {
|
|
16345
|
+
key_block.p(ctx, dirty);
|
|
16346
|
+
}
|
|
16347
|
+
},
|
|
16348
|
+
i(local) {
|
|
16349
|
+
if (current) return;
|
|
16350
|
+
transition_in(key_block);
|
|
16351
|
+
current = true;
|
|
16352
|
+
},
|
|
16353
|
+
o(local) {
|
|
16354
|
+
transition_out(key_block);
|
|
16355
|
+
current = false;
|
|
16356
|
+
},
|
|
16357
|
+
d(detaching) {
|
|
16358
|
+
if (detaching) detach(key_block_anchor);
|
|
16359
|
+
key_block.d(detaching);
|
|
16360
|
+
}
|
|
16361
|
+
};
|
|
16362
|
+
}
|
|
16363
|
+
|
|
16319
16364
|
function instance$O($$self, $$props, $$invalidate) {
|
|
16320
16365
|
const stepMetadata = null;
|
|
16321
16366
|
const selfSubmitFunction = null;
|
|
@@ -16342,28 +16387,29 @@ function instance$O($$self, $$props, $$invalidate) {
|
|
|
16342
16387
|
}
|
|
16343
16388
|
|
|
16344
16389
|
$$self.$$set = $$props => {
|
|
16345
|
-
if ('callback' in $$props) $$invalidate(
|
|
16346
|
-
if ('callbackMetadata' in $$props) $$invalidate(
|
|
16390
|
+
if ('callback' in $$props) $$invalidate(0, callback = $$props.callback);
|
|
16391
|
+
if ('callbackMetadata' in $$props) $$invalidate(1, callbackMetadata = $$props.callbackMetadata);
|
|
16347
16392
|
if ('style' in $$props) $$invalidate(11, style = $$props.style);
|
|
16348
16393
|
};
|
|
16349
16394
|
|
|
16350
16395
|
$$self.$$.update = () => {
|
|
16351
|
-
if ($$self.$$.dirty & /*callback, callbackMetadata*/
|
|
16396
|
+
if ($$self.$$.dirty & /*callback, callbackMetadata*/ 3) {
|
|
16352
16397
|
{
|
|
16353
|
-
$$invalidate(
|
|
16398
|
+
$$invalidate(2, inputName = callback?.payload?.input?.[0].name || `boolean-attr-${callbackMetadata?.idx}`);
|
|
16354
16399
|
|
|
16355
16400
|
// A boolean being required doesn't make much sense, so commenting it out for now
|
|
16356
16401
|
// isRequired = isInputRequired(callback);
|
|
16357
|
-
$$invalidate(
|
|
16402
|
+
$$invalidate(3, outputName = callback.getOutputByName('name', ''));
|
|
16358
16403
|
|
|
16359
|
-
$$invalidate(
|
|
16360
|
-
$$invalidate(
|
|
16361
|
-
$$invalidate(
|
|
16404
|
+
$$invalidate(4, previousValue = callback.getInputValue());
|
|
16405
|
+
$$invalidate(5, prompt = callback.getPrompt());
|
|
16406
|
+
$$invalidate(6, validationFailure = getAttributeValidationFailureText(callback));
|
|
16362
16407
|
}
|
|
16363
16408
|
}
|
|
16364
16409
|
};
|
|
16365
16410
|
|
|
16366
16411
|
return [
|
|
16412
|
+
callback,
|
|
16367
16413
|
callbackMetadata,
|
|
16368
16414
|
inputName,
|
|
16369
16415
|
outputName,
|
|
@@ -16374,7 +16420,6 @@ function instance$O($$self, $$props, $$invalidate) {
|
|
|
16374
16420
|
setValue,
|
|
16375
16421
|
stepMetadata,
|
|
16376
16422
|
selfSubmitFunction,
|
|
16377
|
-
callback,
|
|
16378
16423
|
style
|
|
16379
16424
|
];
|
|
16380
16425
|
}
|
|
@@ -16384,20 +16429,20 @@ let Boolean$1 = class Boolean extends SvelteComponent {
|
|
|
16384
16429
|
super();
|
|
16385
16430
|
|
|
16386
16431
|
init(this, options, instance$O, create_fragment$M, safe_not_equal, {
|
|
16387
|
-
stepMetadata:
|
|
16388
|
-
selfSubmitFunction:
|
|
16389
|
-
callback:
|
|
16390
|
-
callbackMetadata:
|
|
16432
|
+
stepMetadata: 9,
|
|
16433
|
+
selfSubmitFunction: 10,
|
|
16434
|
+
callback: 0,
|
|
16435
|
+
callbackMetadata: 1,
|
|
16391
16436
|
style: 11
|
|
16392
16437
|
});
|
|
16393
16438
|
}
|
|
16394
16439
|
|
|
16395
16440
|
get stepMetadata() {
|
|
16396
|
-
return this.$$.ctx[
|
|
16441
|
+
return this.$$.ctx[9];
|
|
16397
16442
|
}
|
|
16398
16443
|
|
|
16399
16444
|
get selfSubmitFunction() {
|
|
16400
|
-
return this.$$.ctx[
|
|
16445
|
+
return this.$$.ctx[10];
|
|
16401
16446
|
}
|
|
16402
16447
|
};
|
|
16403
16448
|
|
|
@@ -21191,20 +21236,20 @@ class Kba_create extends SvelteComponent {
|
|
|
21191
21236
|
|
|
21192
21237
|
/* src/lib/journey/callbacks/username/name.svelte generated by Svelte v3.59.2 */
|
|
21193
21238
|
|
|
21194
|
-
function
|
|
21239
|
+
function create_key_block$4(ctx) {
|
|
21195
21240
|
let input;
|
|
21196
21241
|
let current;
|
|
21197
21242
|
|
|
21198
|
-
input = new /*Input*/ ctx[
|
|
21243
|
+
input = new /*Input*/ ctx[6]({
|
|
21199
21244
|
props: {
|
|
21200
|
-
isFirstInvalidInput: /*callbackMetadata*/ ctx[
|
|
21201
|
-
key: /*inputName*/ ctx[
|
|
21202
|
-
label: interpolate(textToKey(/*textInputLabel*/ ctx[
|
|
21203
|
-
onChange: /*setValue*/ ctx[
|
|
21245
|
+
isFirstInvalidInput: /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false,
|
|
21246
|
+
key: /*inputName*/ ctx[3],
|
|
21247
|
+
label: interpolate(textToKey(/*textInputLabel*/ ctx[4] || /*callbackType*/ ctx[2]), null, /*textInputLabel*/ ctx[4]),
|
|
21248
|
+
onChange: /*setValue*/ ctx[7],
|
|
21204
21249
|
type: "text",
|
|
21205
21250
|
showMessage: false,
|
|
21206
|
-
value: typeof /*value*/ ctx[
|
|
21207
|
-
? /*value*/ ctx[
|
|
21251
|
+
value: typeof /*value*/ ctx[5] === 'string'
|
|
21252
|
+
? /*value*/ ctx[5]
|
|
21208
21253
|
: ''
|
|
21209
21254
|
}
|
|
21210
21255
|
});
|
|
@@ -21217,14 +21262,14 @@ function create_fragment$x(ctx) {
|
|
|
21217
21262
|
mount_component(input, target, anchor);
|
|
21218
21263
|
current = true;
|
|
21219
21264
|
},
|
|
21220
|
-
p(ctx,
|
|
21265
|
+
p(ctx, dirty) {
|
|
21221
21266
|
const input_changes = {};
|
|
21222
|
-
if (dirty & /*callbackMetadata*/
|
|
21223
|
-
if (dirty & /*inputName*/
|
|
21224
|
-
if (dirty & /*textInputLabel, callbackType*/
|
|
21267
|
+
if (dirty & /*callbackMetadata*/ 2) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
21268
|
+
if (dirty & /*inputName*/ 8) input_changes.key = /*inputName*/ ctx[3];
|
|
21269
|
+
if (dirty & /*textInputLabel, callbackType*/ 20) input_changes.label = interpolate(textToKey(/*textInputLabel*/ ctx[4] || /*callbackType*/ ctx[2]), null, /*textInputLabel*/ ctx[4]);
|
|
21225
21270
|
|
|
21226
|
-
if (dirty & /*value*/
|
|
21227
|
-
? /*value*/ ctx[
|
|
21271
|
+
if (dirty & /*value*/ 32) input_changes.value = typeof /*value*/ ctx[5] === 'string'
|
|
21272
|
+
? /*value*/ ctx[5]
|
|
21228
21273
|
: '';
|
|
21229
21274
|
|
|
21230
21275
|
input.$set(input_changes);
|
|
@@ -21244,6 +21289,51 @@ function create_fragment$x(ctx) {
|
|
|
21244
21289
|
};
|
|
21245
21290
|
}
|
|
21246
21291
|
|
|
21292
|
+
function create_fragment$x(ctx) {
|
|
21293
|
+
let previous_key = /*callback*/ ctx[0];
|
|
21294
|
+
let key_block_anchor;
|
|
21295
|
+
let current;
|
|
21296
|
+
let key_block = create_key_block$4(ctx);
|
|
21297
|
+
|
|
21298
|
+
return {
|
|
21299
|
+
c() {
|
|
21300
|
+
key_block.c();
|
|
21301
|
+
key_block_anchor = empty();
|
|
21302
|
+
},
|
|
21303
|
+
m(target, anchor) {
|
|
21304
|
+
key_block.m(target, anchor);
|
|
21305
|
+
insert(target, key_block_anchor, anchor);
|
|
21306
|
+
current = true;
|
|
21307
|
+
},
|
|
21308
|
+
p(ctx, [dirty]) {
|
|
21309
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
21310
|
+
group_outros();
|
|
21311
|
+
transition_out(key_block, 1, 1, noop);
|
|
21312
|
+
check_outros();
|
|
21313
|
+
key_block = create_key_block$4(ctx);
|
|
21314
|
+
key_block.c();
|
|
21315
|
+
transition_in(key_block, 1);
|
|
21316
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
21317
|
+
} else {
|
|
21318
|
+
key_block.p(ctx, dirty);
|
|
21319
|
+
}
|
|
21320
|
+
},
|
|
21321
|
+
i(local) {
|
|
21322
|
+
if (current) return;
|
|
21323
|
+
transition_in(key_block);
|
|
21324
|
+
current = true;
|
|
21325
|
+
},
|
|
21326
|
+
o(local) {
|
|
21327
|
+
transition_out(key_block);
|
|
21328
|
+
current = false;
|
|
21329
|
+
},
|
|
21330
|
+
d(detaching) {
|
|
21331
|
+
if (detaching) detach(key_block_anchor);
|
|
21332
|
+
key_block.d(detaching);
|
|
21333
|
+
}
|
|
21334
|
+
};
|
|
21335
|
+
}
|
|
21336
|
+
|
|
21247
21337
|
function instance$y($$self, $$props, $$invalidate) {
|
|
21248
21338
|
const selfSubmitFunction = null;
|
|
21249
21339
|
const stepMetadata = null;
|
|
@@ -21261,23 +21351,24 @@ function instance$y($$self, $$props, $$invalidate) {
|
|
|
21261
21351
|
}
|
|
21262
21352
|
|
|
21263
21353
|
$$self.$$set = $$props => {
|
|
21264
|
-
if ('callback' in $$props) $$invalidate(
|
|
21265
|
-
if ('callbackMetadata' in $$props) $$invalidate(
|
|
21354
|
+
if ('callback' in $$props) $$invalidate(0, callback = $$props.callback);
|
|
21355
|
+
if ('callbackMetadata' in $$props) $$invalidate(1, callbackMetadata = $$props.callbackMetadata);
|
|
21266
21356
|
if ('style' in $$props) $$invalidate(10, style = $$props.style);
|
|
21267
21357
|
};
|
|
21268
21358
|
|
|
21269
21359
|
$$self.$$.update = () => {
|
|
21270
|
-
if ($$self.$$.dirty & /*callback, callbackMetadata*/
|
|
21360
|
+
if ($$self.$$.dirty & /*callback, callbackMetadata*/ 3) {
|
|
21271
21361
|
{
|
|
21272
|
-
$$invalidate(
|
|
21273
|
-
$$invalidate(
|
|
21274
|
-
$$invalidate(
|
|
21275
|
-
$$invalidate(
|
|
21362
|
+
$$invalidate(2, callbackType = callback.getType());
|
|
21363
|
+
$$invalidate(3, inputName = callback?.payload?.input?.[0].name || `name-${callbackMetadata?.idx}`);
|
|
21364
|
+
$$invalidate(4, textInputLabel = callback.getPrompt());
|
|
21365
|
+
$$invalidate(5, value = callback?.getInputValue());
|
|
21276
21366
|
}
|
|
21277
21367
|
}
|
|
21278
21368
|
};
|
|
21279
21369
|
|
|
21280
21370
|
return [
|
|
21371
|
+
callback,
|
|
21281
21372
|
callbackMetadata,
|
|
21282
21373
|
callbackType,
|
|
21283
21374
|
inputName,
|
|
@@ -21287,7 +21378,6 @@ function instance$y($$self, $$props, $$invalidate) {
|
|
|
21287
21378
|
setValue,
|
|
21288
21379
|
selfSubmitFunction,
|
|
21289
21380
|
stepMetadata,
|
|
21290
|
-
callback,
|
|
21291
21381
|
style
|
|
21292
21382
|
];
|
|
21293
21383
|
}
|
|
@@ -21297,20 +21387,20 @@ class Name extends SvelteComponent {
|
|
|
21297
21387
|
super();
|
|
21298
21388
|
|
|
21299
21389
|
init(this, options, instance$y, create_fragment$x, safe_not_equal, {
|
|
21300
|
-
selfSubmitFunction:
|
|
21301
|
-
stepMetadata:
|
|
21302
|
-
callback:
|
|
21303
|
-
callbackMetadata:
|
|
21390
|
+
selfSubmitFunction: 8,
|
|
21391
|
+
stepMetadata: 9,
|
|
21392
|
+
callback: 0,
|
|
21393
|
+
callbackMetadata: 1,
|
|
21304
21394
|
style: 10
|
|
21305
21395
|
});
|
|
21306
21396
|
}
|
|
21307
21397
|
|
|
21308
21398
|
get selfSubmitFunction() {
|
|
21309
|
-
return this.$$.ctx[
|
|
21399
|
+
return this.$$.ctx[8];
|
|
21310
21400
|
}
|
|
21311
21401
|
|
|
21312
21402
|
get stepMetadata() {
|
|
21313
|
-
return this.$$.ctx[
|
|
21403
|
+
return this.$$.ctx[9];
|
|
21314
21404
|
}
|
|
21315
21405
|
}
|
|
21316
21406
|
|
|
@@ -21933,7 +22023,7 @@ function create_default_slot_1$a(ctx) {
|
|
|
21933
22023
|
};
|
|
21934
22024
|
}
|
|
21935
22025
|
|
|
21936
|
-
// (
|
|
22026
|
+
// (95:6) <EyeIcon classes="tw_password-icon dark:tw_password-icon_dark" visible={isVisible}>
|
|
21937
22027
|
function create_default_slot$h(ctx) {
|
|
21938
22028
|
let t;
|
|
21939
22029
|
let current;
|
|
@@ -21963,7 +22053,7 @@ function create_default_slot$h(ctx) {
|
|
|
21963
22053
|
};
|
|
21964
22054
|
}
|
|
21965
22055
|
|
|
21966
|
-
// (
|
|
22056
|
+
// (89:4)
|
|
21967
22057
|
function create_input_button_slot(ctx) {
|
|
21968
22058
|
let button;
|
|
21969
22059
|
let eyeicon;
|
|
@@ -21974,7 +22064,7 @@ function create_input_button_slot(ctx) {
|
|
|
21974
22064
|
eyeicon = new Eye_icon({
|
|
21975
22065
|
props: {
|
|
21976
22066
|
classes: "tw_password-icon dark:tw_password-icon_dark",
|
|
21977
|
-
visible: /*isVisible*/ ctx[
|
|
22067
|
+
visible: /*isVisible*/ ctx[11],
|
|
21978
22068
|
$$slots: { default: [create_default_slot$h] },
|
|
21979
22069
|
$$scope: { ctx }
|
|
21980
22070
|
}
|
|
@@ -21994,13 +22084,13 @@ function create_input_button_slot(ctx) {
|
|
|
21994
22084
|
current = true;
|
|
21995
22085
|
|
|
21996
22086
|
if (!mounted) {
|
|
21997
|
-
dispose = listen(button, "click", /*toggleVisibility*/ ctx[
|
|
22087
|
+
dispose = listen(button, "click", /*toggleVisibility*/ ctx[18]);
|
|
21998
22088
|
mounted = true;
|
|
21999
22089
|
}
|
|
22000
22090
|
},
|
|
22001
22091
|
p(ctx, dirty) {
|
|
22002
22092
|
const eyeicon_changes = {};
|
|
22003
|
-
if (dirty & /*isVisible*/
|
|
22093
|
+
if (dirty & /*isVisible*/ 2048) eyeicon_changes.visible = /*isVisible*/ ctx[11];
|
|
22004
22094
|
|
|
22005
22095
|
if (dirty & /*$$scope*/ 4194304) {
|
|
22006
22096
|
eyeicon_changes.$$scope = { dirty, ctx };
|
|
@@ -22026,21 +22116,21 @@ function create_input_button_slot(ctx) {
|
|
|
22026
22116
|
};
|
|
22027
22117
|
}
|
|
22028
22118
|
|
|
22029
|
-
// (
|
|
22119
|
+
// (102:2) {#if callbackMetadata?.platform?.confirmPassword}
|
|
22030
22120
|
function create_if_block$e(ctx) {
|
|
22031
22121
|
let confirminput;
|
|
22032
22122
|
let current;
|
|
22033
22123
|
|
|
22034
22124
|
confirminput = new Confirm_input({
|
|
22035
22125
|
props: {
|
|
22036
|
-
forceValidityFailure: /*doPasswordsMatch*/ ctx[
|
|
22037
|
-
passwordsDoNotMatch: /*doPasswordsMatch*/ ctx[
|
|
22126
|
+
forceValidityFailure: /*doPasswordsMatch*/ ctx[10] === false,
|
|
22127
|
+
passwordsDoNotMatch: /*doPasswordsMatch*/ ctx[10] === false,
|
|
22038
22128
|
key: /*key*/ ctx[0],
|
|
22039
|
-
isRequired: /*value*/ ctx[
|
|
22040
|
-
onChange: /*confirmInput*/ ctx[
|
|
22041
|
-
resetValue: /*resetValue*/ ctx[
|
|
22042
|
-
showMessage: /*doPasswordsMatch*/ ctx[
|
|
22043
|
-
style: /*style*/ ctx[
|
|
22129
|
+
isRequired: /*value*/ ctx[8].length > 0,
|
|
22130
|
+
onChange: /*confirmInput*/ ctx[16],
|
|
22131
|
+
resetValue: /*resetValue*/ ctx[12],
|
|
22132
|
+
showMessage: /*doPasswordsMatch*/ ctx[10] === false,
|
|
22133
|
+
style: /*style*/ ctx[5]
|
|
22044
22134
|
}
|
|
22045
22135
|
});
|
|
22046
22136
|
|
|
@@ -22054,13 +22144,13 @@ function create_if_block$e(ctx) {
|
|
|
22054
22144
|
},
|
|
22055
22145
|
p(ctx, dirty) {
|
|
22056
22146
|
const confirminput_changes = {};
|
|
22057
|
-
if (dirty & /*doPasswordsMatch*/
|
|
22058
|
-
if (dirty & /*doPasswordsMatch*/
|
|
22147
|
+
if (dirty & /*doPasswordsMatch*/ 1024) confirminput_changes.forceValidityFailure = /*doPasswordsMatch*/ ctx[10] === false;
|
|
22148
|
+
if (dirty & /*doPasswordsMatch*/ 1024) confirminput_changes.passwordsDoNotMatch = /*doPasswordsMatch*/ ctx[10] === false;
|
|
22059
22149
|
if (dirty & /*key*/ 1) confirminput_changes.key = /*key*/ ctx[0];
|
|
22060
|
-
if (dirty & /*value*/
|
|
22061
|
-
if (dirty & /*resetValue*/
|
|
22062
|
-
if (dirty & /*doPasswordsMatch*/
|
|
22063
|
-
if (dirty & /*style*/
|
|
22150
|
+
if (dirty & /*value*/ 256) confirminput_changes.isRequired = /*value*/ ctx[8].length > 0;
|
|
22151
|
+
if (dirty & /*resetValue*/ 4096) confirminput_changes.resetValue = /*resetValue*/ ctx[12];
|
|
22152
|
+
if (dirty & /*doPasswordsMatch*/ 1024) confirminput_changes.showMessage = /*doPasswordsMatch*/ ctx[10] === false;
|
|
22153
|
+
if (dirty & /*style*/ 32) confirminput_changes.style = /*style*/ ctx[5];
|
|
22064
22154
|
confirminput.$set(confirminput_changes);
|
|
22065
22155
|
},
|
|
22066
22156
|
i(local) {
|
|
@@ -22078,28 +22168,29 @@ function create_if_block$e(ctx) {
|
|
|
22078
22168
|
};
|
|
22079
22169
|
}
|
|
22080
22170
|
|
|
22081
|
-
|
|
22171
|
+
// (75:0) {#key callback}
|
|
22172
|
+
function create_key_block$3(ctx) {
|
|
22082
22173
|
let input;
|
|
22083
22174
|
let t;
|
|
22084
22175
|
let if_block_anchor;
|
|
22085
22176
|
let current;
|
|
22086
22177
|
|
|
22087
|
-
input = new /*Input*/ ctx[
|
|
22178
|
+
input = new /*Input*/ ctx[15]({
|
|
22088
22179
|
props: {
|
|
22089
|
-
isFirstInvalidInput: /*callbackMetadata*/ ctx[
|
|
22180
|
+
isFirstInvalidInput: /*callbackMetadata*/ ctx[2]?.derived.isFirstInvalidInput || false,
|
|
22090
22181
|
hasRightIcon: true,
|
|
22091
22182
|
key: /*key*/ ctx[0],
|
|
22092
|
-
label: interpolate(textToKey(/*callbackType*/ ctx[
|
|
22093
|
-
message: /*validationFailure*/ ctx[
|
|
22183
|
+
label: interpolate(textToKey(/*callbackType*/ ctx[9]), null, /*textInputLabel*/ ctx[13]),
|
|
22184
|
+
message: /*validationFailure*/ ctx[7] || (/*isRequired*/ ctx[4]
|
|
22094
22185
|
? interpolate('inputRequiredError')
|
|
22095
22186
|
: undefined),
|
|
22096
|
-
onChange: /*setValue*/ ctx[
|
|
22097
|
-
isInvalid: /*isInvalid*/ ctx[
|
|
22098
|
-
isRequired: /*isRequired*/ ctx[
|
|
22099
|
-
showMessage: /*showMessage*/ ctx[
|
|
22100
|
-
type: /*type*/ ctx[
|
|
22101
|
-
value: typeof /*value*/ ctx[
|
|
22102
|
-
? /*value*/ ctx[
|
|
22187
|
+
onChange: /*setValue*/ ctx[17],
|
|
22188
|
+
isInvalid: /*isInvalid*/ ctx[3],
|
|
22189
|
+
isRequired: /*isRequired*/ ctx[4],
|
|
22190
|
+
showMessage: /*showMessage*/ ctx[6],
|
|
22191
|
+
type: /*type*/ ctx[14],
|
|
22192
|
+
value: typeof /*value*/ ctx[8] === 'string'
|
|
22193
|
+
? /*value*/ ctx[8]
|
|
22103
22194
|
: '',
|
|
22104
22195
|
$$slots: {
|
|
22105
22196
|
"input-button": [create_input_button_slot],
|
|
@@ -22109,7 +22200,7 @@ function create_fragment$u(ctx) {
|
|
|
22109
22200
|
}
|
|
22110
22201
|
});
|
|
22111
22202
|
|
|
22112
|
-
let if_block = /*callbackMetadata*/ ctx[
|
|
22203
|
+
let if_block = /*callbackMetadata*/ ctx[2]?.platform?.confirmPassword && create_if_block$e(ctx);
|
|
22113
22204
|
|
|
22114
22205
|
return {
|
|
22115
22206
|
c() {
|
|
@@ -22125,36 +22216,36 @@ function create_fragment$u(ctx) {
|
|
|
22125
22216
|
insert(target, if_block_anchor, anchor);
|
|
22126
22217
|
current = true;
|
|
22127
22218
|
},
|
|
22128
|
-
p(ctx,
|
|
22219
|
+
p(ctx, dirty) {
|
|
22129
22220
|
const input_changes = {};
|
|
22130
|
-
if (dirty & /*callbackMetadata*/
|
|
22221
|
+
if (dirty & /*callbackMetadata*/ 4) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[2]?.derived.isFirstInvalidInput || false;
|
|
22131
22222
|
if (dirty & /*key*/ 1) input_changes.key = /*key*/ ctx[0];
|
|
22132
|
-
if (dirty & /*callbackType, textInputLabel*/
|
|
22223
|
+
if (dirty & /*callbackType, textInputLabel*/ 8704) input_changes.label = interpolate(textToKey(/*callbackType*/ ctx[9]), null, /*textInputLabel*/ ctx[13]);
|
|
22133
22224
|
|
|
22134
|
-
if (dirty & /*validationFailure, isRequired*/
|
|
22225
|
+
if (dirty & /*validationFailure, isRequired*/ 144) input_changes.message = /*validationFailure*/ ctx[7] || (/*isRequired*/ ctx[4]
|
|
22135
22226
|
? interpolate('inputRequiredError')
|
|
22136
22227
|
: undefined);
|
|
22137
22228
|
|
|
22138
|
-
if (dirty & /*isInvalid*/
|
|
22139
|
-
if (dirty & /*isRequired*/
|
|
22140
|
-
if (dirty & /*showMessage*/
|
|
22141
|
-
if (dirty & /*type*/
|
|
22229
|
+
if (dirty & /*isInvalid*/ 8) input_changes.isInvalid = /*isInvalid*/ ctx[3];
|
|
22230
|
+
if (dirty & /*isRequired*/ 16) input_changes.isRequired = /*isRequired*/ ctx[4];
|
|
22231
|
+
if (dirty & /*showMessage*/ 64) input_changes.showMessage = /*showMessage*/ ctx[6];
|
|
22232
|
+
if (dirty & /*type*/ 16384) input_changes.type = /*type*/ ctx[14];
|
|
22142
22233
|
|
|
22143
|
-
if (dirty & /*value*/
|
|
22144
|
-
? /*value*/ ctx[
|
|
22234
|
+
if (dirty & /*value*/ 256) input_changes.value = typeof /*value*/ ctx[8] === 'string'
|
|
22235
|
+
? /*value*/ ctx[8]
|
|
22145
22236
|
: '';
|
|
22146
22237
|
|
|
22147
|
-
if (dirty & /*$$scope, isVisible*/
|
|
22238
|
+
if (dirty & /*$$scope, isVisible*/ 4196352) {
|
|
22148
22239
|
input_changes.$$scope = { dirty, ctx };
|
|
22149
22240
|
}
|
|
22150
22241
|
|
|
22151
22242
|
input.$set(input_changes);
|
|
22152
22243
|
|
|
22153
|
-
if (/*callbackMetadata*/ ctx[
|
|
22244
|
+
if (/*callbackMetadata*/ ctx[2]?.platform?.confirmPassword) {
|
|
22154
22245
|
if (if_block) {
|
|
22155
22246
|
if_block.p(ctx, dirty);
|
|
22156
22247
|
|
|
22157
|
-
if (dirty & /*callbackMetadata*/
|
|
22248
|
+
if (dirty & /*callbackMetadata*/ 4) {
|
|
22158
22249
|
transition_in(if_block, 1);
|
|
22159
22250
|
}
|
|
22160
22251
|
} else {
|
|
@@ -22193,6 +22284,51 @@ function create_fragment$u(ctx) {
|
|
|
22193
22284
|
};
|
|
22194
22285
|
}
|
|
22195
22286
|
|
|
22287
|
+
function create_fragment$u(ctx) {
|
|
22288
|
+
let previous_key = /*callback*/ ctx[1];
|
|
22289
|
+
let key_block_anchor;
|
|
22290
|
+
let current;
|
|
22291
|
+
let key_block = create_key_block$3(ctx);
|
|
22292
|
+
|
|
22293
|
+
return {
|
|
22294
|
+
c() {
|
|
22295
|
+
key_block.c();
|
|
22296
|
+
key_block_anchor = empty();
|
|
22297
|
+
},
|
|
22298
|
+
m(target, anchor) {
|
|
22299
|
+
key_block.m(target, anchor);
|
|
22300
|
+
insert(target, key_block_anchor, anchor);
|
|
22301
|
+
current = true;
|
|
22302
|
+
},
|
|
22303
|
+
p(ctx, [dirty]) {
|
|
22304
|
+
if (dirty & /*callback*/ 2 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[1])) {
|
|
22305
|
+
group_outros();
|
|
22306
|
+
transition_out(key_block, 1, 1, noop);
|
|
22307
|
+
check_outros();
|
|
22308
|
+
key_block = create_key_block$3(ctx);
|
|
22309
|
+
key_block.c();
|
|
22310
|
+
transition_in(key_block, 1);
|
|
22311
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
22312
|
+
} else {
|
|
22313
|
+
key_block.p(ctx, dirty);
|
|
22314
|
+
}
|
|
22315
|
+
},
|
|
22316
|
+
i(local) {
|
|
22317
|
+
if (current) return;
|
|
22318
|
+
transition_in(key_block);
|
|
22319
|
+
current = true;
|
|
22320
|
+
},
|
|
22321
|
+
o(local) {
|
|
22322
|
+
transition_out(key_block);
|
|
22323
|
+
current = false;
|
|
22324
|
+
},
|
|
22325
|
+
d(detaching) {
|
|
22326
|
+
if (detaching) detach(key_block_anchor);
|
|
22327
|
+
key_block.d(detaching);
|
|
22328
|
+
}
|
|
22329
|
+
};
|
|
22330
|
+
}
|
|
22331
|
+
|
|
22196
22332
|
function instance$v($$self, $$props, $$invalidate) {
|
|
22197
22333
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
22198
22334
|
let { callback } = $$props;
|
|
@@ -22227,7 +22363,7 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22227
22363
|
* @param {Object} event
|
|
22228
22364
|
*/
|
|
22229
22365
|
function setValue(event) {
|
|
22230
|
-
$$invalidate(
|
|
22366
|
+
$$invalidate(8, value = event.target.value);
|
|
22231
22367
|
|
|
22232
22368
|
/** ***********************************************************************
|
|
22233
22369
|
* SDK INTEGRATION POINT
|
|
@@ -22245,29 +22381,29 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22245
22381
|
* @function toggleVisibility - toggles the password from masked to plaintext
|
|
22246
22382
|
*/
|
|
22247
22383
|
function toggleVisibility() {
|
|
22248
|
-
$$invalidate(
|
|
22249
|
-
$$invalidate(
|
|
22384
|
+
$$invalidate(11, isVisible = !isVisible);
|
|
22385
|
+
$$invalidate(14, type = isVisible ? 'text' : 'password');
|
|
22250
22386
|
}
|
|
22251
22387
|
|
|
22252
22388
|
$$self.$$set = $$props => {
|
|
22253
|
-
if ('callback' in $$props) $$invalidate(
|
|
22254
|
-
if ('callbackMetadata' in $$props) $$invalidate(
|
|
22389
|
+
if ('callback' in $$props) $$invalidate(1, callback = $$props.callback);
|
|
22390
|
+
if ('callbackMetadata' in $$props) $$invalidate(2, callbackMetadata = $$props.callbackMetadata);
|
|
22255
22391
|
if ('key' in $$props) $$invalidate(0, key = $$props.key);
|
|
22256
|
-
if ('isInvalid' in $$props) $$invalidate(
|
|
22257
|
-
if ('isRequired' in $$props) $$invalidate(
|
|
22258
|
-
if ('style' in $$props) $$invalidate(
|
|
22259
|
-
if ('showMessage' in $$props) $$invalidate(
|
|
22260
|
-
if ('validationFailure' in $$props) $$invalidate(
|
|
22392
|
+
if ('isInvalid' in $$props) $$invalidate(3, isInvalid = $$props.isInvalid);
|
|
22393
|
+
if ('isRequired' in $$props) $$invalidate(4, isRequired = $$props.isRequired);
|
|
22394
|
+
if ('style' in $$props) $$invalidate(5, style = $$props.style);
|
|
22395
|
+
if ('showMessage' in $$props) $$invalidate(6, showMessage = $$props.showMessage);
|
|
22396
|
+
if ('validationFailure' in $$props) $$invalidate(7, validationFailure = $$props.validationFailure);
|
|
22261
22397
|
if ('$$scope' in $$props) $$invalidate(22, $$scope = $$props.$$scope);
|
|
22262
22398
|
};
|
|
22263
22399
|
|
|
22264
22400
|
$$self.$$.update = () => {
|
|
22265
|
-
if ($$self.$$.dirty & /*callback, callbackMetadata, savedValue, value, confirmValue*/
|
|
22401
|
+
if ($$self.$$.dirty & /*callback, callbackMetadata, savedValue, value, confirmValue*/ 1573126) {
|
|
22266
22402
|
{
|
|
22267
|
-
$$invalidate(
|
|
22403
|
+
$$invalidate(9, callbackType = callback.getType());
|
|
22268
22404
|
$$invalidate(0, key = callback?.payload?.input?.[0].name || `password-${callbackMetadata?.idx}`);
|
|
22269
|
-
$$invalidate(
|
|
22270
|
-
$$invalidate(
|
|
22405
|
+
$$invalidate(13, textInputLabel = callback.getPrompt());
|
|
22406
|
+
$$invalidate(8, value = callback?.getInputValue());
|
|
22271
22407
|
|
|
22272
22408
|
/**
|
|
22273
22409
|
* `savedValue` represents what the user set after blur (local component state)
|
|
@@ -22275,12 +22411,12 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22275
22411
|
*
|
|
22276
22412
|
* This unique combination is what produces the most reliable reset flag
|
|
22277
22413
|
*/
|
|
22278
|
-
$$invalidate(
|
|
22414
|
+
$$invalidate(12, resetValue = !!savedValue && value === '');
|
|
22279
22415
|
|
|
22280
22416
|
/**
|
|
22281
22417
|
* Only assign a boolean if the confirm input has an actual value.
|
|
22282
22418
|
*/
|
|
22283
|
-
$$invalidate(
|
|
22419
|
+
$$invalidate(10, doPasswordsMatch = confirmValue !== undefined
|
|
22284
22420
|
? confirmValue === value
|
|
22285
22421
|
: undefined);
|
|
22286
22422
|
}
|
|
@@ -22289,6 +22425,7 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22289
22425
|
|
|
22290
22426
|
return [
|
|
22291
22427
|
key,
|
|
22428
|
+
callback,
|
|
22292
22429
|
callbackMetadata,
|
|
22293
22430
|
isInvalid,
|
|
22294
22431
|
isRequired,
|
|
@@ -22306,7 +22443,6 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22306
22443
|
confirmInput,
|
|
22307
22444
|
setValue,
|
|
22308
22445
|
toggleVisibility,
|
|
22309
|
-
callback,
|
|
22310
22446
|
confirmValue,
|
|
22311
22447
|
savedValue,
|
|
22312
22448
|
slots,
|
|
@@ -22319,14 +22455,14 @@ class Base extends SvelteComponent {
|
|
|
22319
22455
|
super();
|
|
22320
22456
|
|
|
22321
22457
|
init(this, options, instance$v, create_fragment$u, safe_not_equal, {
|
|
22322
|
-
callback:
|
|
22323
|
-
callbackMetadata:
|
|
22458
|
+
callback: 1,
|
|
22459
|
+
callbackMetadata: 2,
|
|
22324
22460
|
key: 0,
|
|
22325
|
-
isInvalid:
|
|
22326
|
-
isRequired:
|
|
22327
|
-
style:
|
|
22328
|
-
showMessage:
|
|
22329
|
-
validationFailure:
|
|
22461
|
+
isInvalid: 3,
|
|
22462
|
+
isRequired: 4,
|
|
22463
|
+
style: 5,
|
|
22464
|
+
showMessage: 6,
|
|
22465
|
+
validationFailure: 7
|
|
22330
22466
|
});
|
|
22331
22467
|
}
|
|
22332
22468
|
}
|
|
@@ -23704,7 +23840,7 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
23704
23840
|
callback.setProvider('localAuthentication');
|
|
23705
23841
|
}
|
|
23706
23842
|
|
|
23707
|
-
$$invalidate(1, idps = socialProviders.map(
|
|
23843
|
+
$$invalidate(1, idps = socialProviders.map(option => ({
|
|
23708
23844
|
value: option.provider,
|
|
23709
23845
|
text: option.uiConfig.buttonDisplayName
|
|
23710
23846
|
})));
|
|
@@ -24203,7 +24339,8 @@ function create_default_slot$d(ctx) {
|
|
|
24203
24339
|
};
|
|
24204
24340
|
}
|
|
24205
24341
|
|
|
24206
|
-
|
|
24342
|
+
// (47:0) {#key callback}
|
|
24343
|
+
function create_key_block$2(ctx) {
|
|
24207
24344
|
let input;
|
|
24208
24345
|
let current;
|
|
24209
24346
|
|
|
@@ -24234,7 +24371,7 @@ function create_fragment$k(ctx) {
|
|
|
24234
24371
|
mount_component(input, target, anchor);
|
|
24235
24372
|
current = true;
|
|
24236
24373
|
},
|
|
24237
|
-
p(ctx,
|
|
24374
|
+
p(ctx, dirty) {
|
|
24238
24375
|
const input_changes = {};
|
|
24239
24376
|
if (dirty & /*callbackMetadata*/ 2) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
24240
24377
|
if (dirty & /*inputName*/ 8) input_changes.key = /*inputName*/ ctx[3];
|
|
@@ -24271,6 +24408,51 @@ function create_fragment$k(ctx) {
|
|
|
24271
24408
|
};
|
|
24272
24409
|
}
|
|
24273
24410
|
|
|
24411
|
+
function create_fragment$k(ctx) {
|
|
24412
|
+
let previous_key = /*callback*/ ctx[0];
|
|
24413
|
+
let key_block_anchor;
|
|
24414
|
+
let current;
|
|
24415
|
+
let key_block = create_key_block$2(ctx);
|
|
24416
|
+
|
|
24417
|
+
return {
|
|
24418
|
+
c() {
|
|
24419
|
+
key_block.c();
|
|
24420
|
+
key_block_anchor = empty();
|
|
24421
|
+
},
|
|
24422
|
+
m(target, anchor) {
|
|
24423
|
+
key_block.m(target, anchor);
|
|
24424
|
+
insert(target, key_block_anchor, anchor);
|
|
24425
|
+
current = true;
|
|
24426
|
+
},
|
|
24427
|
+
p(ctx, [dirty]) {
|
|
24428
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
24429
|
+
group_outros();
|
|
24430
|
+
transition_out(key_block, 1, 1, noop);
|
|
24431
|
+
check_outros();
|
|
24432
|
+
key_block = create_key_block$2(ctx);
|
|
24433
|
+
key_block.c();
|
|
24434
|
+
transition_in(key_block, 1);
|
|
24435
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
24436
|
+
} else {
|
|
24437
|
+
key_block.p(ctx, dirty);
|
|
24438
|
+
}
|
|
24439
|
+
},
|
|
24440
|
+
i(local) {
|
|
24441
|
+
if (current) return;
|
|
24442
|
+
transition_in(key_block);
|
|
24443
|
+
current = true;
|
|
24444
|
+
},
|
|
24445
|
+
o(local) {
|
|
24446
|
+
transition_out(key_block);
|
|
24447
|
+
current = false;
|
|
24448
|
+
},
|
|
24449
|
+
d(detaching) {
|
|
24450
|
+
if (detaching) detach(key_block_anchor);
|
|
24451
|
+
key_block.d(detaching);
|
|
24452
|
+
}
|
|
24453
|
+
};
|
|
24454
|
+
}
|
|
24455
|
+
|
|
24274
24456
|
function instance$l($$self, $$props, $$invalidate) {
|
|
24275
24457
|
const selfSubmitFunction = null;
|
|
24276
24458
|
const stepMetadata = null;
|
|
@@ -25148,7 +25330,8 @@ function create_default_slot$a(ctx) {
|
|
|
25148
25330
|
};
|
|
25149
25331
|
}
|
|
25150
25332
|
|
|
25151
|
-
|
|
25333
|
+
// (28:0) {#key callback}
|
|
25334
|
+
function create_key_block$1(ctx) {
|
|
25152
25335
|
let base;
|
|
25153
25336
|
let current;
|
|
25154
25337
|
|
|
@@ -25174,7 +25357,7 @@ function create_fragment$f(ctx) {
|
|
|
25174
25357
|
mount_component(base, target, anchor);
|
|
25175
25358
|
current = true;
|
|
25176
25359
|
},
|
|
25177
|
-
p(ctx,
|
|
25360
|
+
p(ctx, dirty) {
|
|
25178
25361
|
const base_changes = {};
|
|
25179
25362
|
if (dirty & /*callback*/ 1) base_changes.callback = /*callback*/ ctx[0];
|
|
25180
25363
|
if (dirty & /*callbackMetadata*/ 2) base_changes.callbackMetadata = /*callbackMetadata*/ ctx[1];
|
|
@@ -25204,6 +25387,51 @@ function create_fragment$f(ctx) {
|
|
|
25204
25387
|
};
|
|
25205
25388
|
}
|
|
25206
25389
|
|
|
25390
|
+
function create_fragment$f(ctx) {
|
|
25391
|
+
let previous_key = /*callback*/ ctx[0];
|
|
25392
|
+
let key_block_anchor;
|
|
25393
|
+
let current;
|
|
25394
|
+
let key_block = create_key_block$1(ctx);
|
|
25395
|
+
|
|
25396
|
+
return {
|
|
25397
|
+
c() {
|
|
25398
|
+
key_block.c();
|
|
25399
|
+
key_block_anchor = empty();
|
|
25400
|
+
},
|
|
25401
|
+
m(target, anchor) {
|
|
25402
|
+
key_block.m(target, anchor);
|
|
25403
|
+
insert(target, key_block_anchor, anchor);
|
|
25404
|
+
current = true;
|
|
25405
|
+
},
|
|
25406
|
+
p(ctx, [dirty]) {
|
|
25407
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
25408
|
+
group_outros();
|
|
25409
|
+
transition_out(key_block, 1, 1, noop);
|
|
25410
|
+
check_outros();
|
|
25411
|
+
key_block = create_key_block$1(ctx);
|
|
25412
|
+
key_block.c();
|
|
25413
|
+
transition_in(key_block, 1);
|
|
25414
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
25415
|
+
} else {
|
|
25416
|
+
key_block.p(ctx, dirty);
|
|
25417
|
+
}
|
|
25418
|
+
},
|
|
25419
|
+
i(local) {
|
|
25420
|
+
if (current) return;
|
|
25421
|
+
transition_in(key_block);
|
|
25422
|
+
current = true;
|
|
25423
|
+
},
|
|
25424
|
+
o(local) {
|
|
25425
|
+
transition_out(key_block);
|
|
25426
|
+
current = false;
|
|
25427
|
+
},
|
|
25428
|
+
d(detaching) {
|
|
25429
|
+
if (detaching) detach(key_block_anchor);
|
|
25430
|
+
key_block.d(detaching);
|
|
25431
|
+
}
|
|
25432
|
+
};
|
|
25433
|
+
}
|
|
25434
|
+
|
|
25207
25435
|
function instance$g($$self, $$props, $$invalidate) {
|
|
25208
25436
|
const selfSubmitFunction = null;
|
|
25209
25437
|
const stepMetadata = null;
|
|
@@ -25319,7 +25547,8 @@ function create_default_slot$9(ctx) {
|
|
|
25319
25547
|
};
|
|
25320
25548
|
}
|
|
25321
25549
|
|
|
25322
|
-
|
|
25550
|
+
// (38:0) {#key callback}
|
|
25551
|
+
function create_key_block(ctx) {
|
|
25323
25552
|
let input;
|
|
25324
25553
|
let current;
|
|
25325
25554
|
|
|
@@ -25352,7 +25581,7 @@ function create_fragment$e(ctx) {
|
|
|
25352
25581
|
mount_component(input, target, anchor);
|
|
25353
25582
|
current = true;
|
|
25354
25583
|
},
|
|
25355
|
-
p(ctx,
|
|
25584
|
+
p(ctx, dirty) {
|
|
25356
25585
|
const input_changes = {};
|
|
25357
25586
|
if (dirty & /*callbackMetadata*/ 2) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
25358
25587
|
if (dirty & /*isRequired*/ 64) input_changes.isRequired = /*isRequired*/ ctx[6];
|
|
@@ -25389,6 +25618,51 @@ function create_fragment$e(ctx) {
|
|
|
25389
25618
|
};
|
|
25390
25619
|
}
|
|
25391
25620
|
|
|
25621
|
+
function create_fragment$e(ctx) {
|
|
25622
|
+
let previous_key = /*callback*/ ctx[0];
|
|
25623
|
+
let key_block_anchor;
|
|
25624
|
+
let current;
|
|
25625
|
+
let key_block = create_key_block(ctx);
|
|
25626
|
+
|
|
25627
|
+
return {
|
|
25628
|
+
c() {
|
|
25629
|
+
key_block.c();
|
|
25630
|
+
key_block_anchor = empty();
|
|
25631
|
+
},
|
|
25632
|
+
m(target, anchor) {
|
|
25633
|
+
key_block.m(target, anchor);
|
|
25634
|
+
insert(target, key_block_anchor, anchor);
|
|
25635
|
+
current = true;
|
|
25636
|
+
},
|
|
25637
|
+
p(ctx, [dirty]) {
|
|
25638
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
25639
|
+
group_outros();
|
|
25640
|
+
transition_out(key_block, 1, 1, noop);
|
|
25641
|
+
check_outros();
|
|
25642
|
+
key_block = create_key_block(ctx);
|
|
25643
|
+
key_block.c();
|
|
25644
|
+
transition_in(key_block, 1);
|
|
25645
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
25646
|
+
} else {
|
|
25647
|
+
key_block.p(ctx, dirty);
|
|
25648
|
+
}
|
|
25649
|
+
},
|
|
25650
|
+
i(local) {
|
|
25651
|
+
if (current) return;
|
|
25652
|
+
transition_in(key_block);
|
|
25653
|
+
current = true;
|
|
25654
|
+
},
|
|
25655
|
+
o(local) {
|
|
25656
|
+
transition_out(key_block);
|
|
25657
|
+
current = false;
|
|
25658
|
+
},
|
|
25659
|
+
d(detaching) {
|
|
25660
|
+
if (detaching) detach(key_block_anchor);
|
|
25661
|
+
key_block.d(detaching);
|
|
25662
|
+
}
|
|
25663
|
+
};
|
|
25664
|
+
}
|
|
25665
|
+
|
|
25392
25666
|
function instance$f($$self, $$props, $$invalidate) {
|
|
25393
25667
|
const selfSubmitFunction = null;
|
|
25394
25668
|
const stepMetadata = null;
|