@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.js
CHANGED
|
@@ -9187,19 +9187,15 @@ function htmlDecode(input) {
|
|
|
9187
9187
|
return e.childNodes.length === 0 ? '' : e.childNodes[0].nodeValue;
|
|
9188
9188
|
}
|
|
9189
9189
|
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
};
|
|
9190
|
+
function getDefaultExportFromCjs (x) {
|
|
9191
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
9192
|
+
}
|
|
9193
|
+
|
|
9194
|
+
var lib$1 = {exports: {}};
|
|
9195
9195
|
|
|
9196
9196
|
var _default$1 = {};
|
|
9197
9197
|
|
|
9198
|
-
var
|
|
9199
|
-
var lib = {
|
|
9200
|
-
get exports(){ return libExports; },
|
|
9201
|
-
set exports(v){ libExports = v; },
|
|
9202
|
-
};
|
|
9198
|
+
var lib = {exports: {}};
|
|
9203
9199
|
|
|
9204
9200
|
var _default = {};
|
|
9205
9201
|
|
|
@@ -9853,8 +9849,10 @@ var css = FilterCSS$2;
|
|
|
9853
9849
|
// 在浏览器端使用
|
|
9854
9850
|
if (typeof window !== 'undefined') {
|
|
9855
9851
|
window.filterCSS = module.exports;
|
|
9856
|
-
}
|
|
9857
|
-
} (lib,
|
|
9852
|
+
}
|
|
9853
|
+
} (lib, lib.exports));
|
|
9854
|
+
|
|
9855
|
+
var libExports$1 = lib.exports;
|
|
9858
9856
|
|
|
9859
9857
|
var util = {
|
|
9860
9858
|
indexOf: function (arr, item) {
|
|
@@ -9897,8 +9895,8 @@ var util = {
|
|
|
9897
9895
|
* @author Zongmin Lei<leizongmin@gmail.com>
|
|
9898
9896
|
*/
|
|
9899
9897
|
|
|
9900
|
-
var FilterCSS$1 = libExports.FilterCSS;
|
|
9901
|
-
var getDefaultCSSWhiteList = libExports.getDefaultWhiteList;
|
|
9898
|
+
var FilterCSS$1 = libExports$1.FilterCSS;
|
|
9899
|
+
var getDefaultCSSWhiteList = libExports$1.getDefaultWhiteList;
|
|
9902
9900
|
var _$2 = util;
|
|
9903
9901
|
|
|
9904
9902
|
function getDefaultWhiteList() {
|
|
@@ -10615,7 +10613,7 @@ parser$1.parseAttr = parseAttr$1;
|
|
|
10615
10613
|
* @author Zongmin Lei<leizongmin@gmail.com>
|
|
10616
10614
|
*/
|
|
10617
10615
|
|
|
10618
|
-
var FilterCSS = libExports.FilterCSS;
|
|
10616
|
+
var FilterCSS = libExports$1.FilterCSS;
|
|
10619
10617
|
var DEFAULT = _default$1;
|
|
10620
10618
|
var parser = parser$1;
|
|
10621
10619
|
var parseTag = parser.parseTag;
|
|
@@ -10890,10 +10888,11 @@ var xss = FilterXSS;
|
|
|
10890
10888
|
}
|
|
10891
10889
|
if (isWorkerEnv()) {
|
|
10892
10890
|
self.filterXSS = module.exports;
|
|
10893
|
-
}
|
|
10894
|
-
} (lib$1,
|
|
10891
|
+
}
|
|
10892
|
+
} (lib$1, lib$1.exports));
|
|
10895
10893
|
|
|
10896
|
-
var
|
|
10894
|
+
var libExports = lib$1.exports;
|
|
10895
|
+
var sanitize = /*@__PURE__*/getDefaultExportFromCjs(libExports);
|
|
10897
10896
|
|
|
10898
10897
|
var alreadyHaveAnAccount = "Already have an account? <a href='?journey'>Sign in here!</a>";
|
|
10899
10898
|
var backToDefault = "Back to Sign In";
|
|
@@ -14160,7 +14159,7 @@ function instance$Y($$self, $$props, $$invalidate) {
|
|
|
14160
14159
|
let { busy = false } = $$props;
|
|
14161
14160
|
let { classes = '' } = $$props;
|
|
14162
14161
|
|
|
14163
|
-
let { onClick =
|
|
14162
|
+
let { onClick = () => {
|
|
14164
14163
|
|
|
14165
14164
|
} } = $$props;
|
|
14166
14165
|
|
|
@@ -16239,7 +16238,7 @@ let Standard$1 = class Standard extends SvelteComponent {
|
|
|
16239
16238
|
/* src/lib/journey/callbacks/boolean/boolean.svelte generated by Svelte v3.59.2 */
|
|
16240
16239
|
|
|
16241
16240
|
function create_default_slot$p(ctx) {
|
|
16242
|
-
let t_value = interpolate(textToKey(/*outputName*/ ctx[
|
|
16241
|
+
let t_value = interpolate(textToKey(/*outputName*/ ctx[3]), null, /*prompt*/ ctx[5]) + "";
|
|
16243
16242
|
let t;
|
|
16244
16243
|
|
|
16245
16244
|
return {
|
|
@@ -16250,7 +16249,7 @@ function create_default_slot$p(ctx) {
|
|
|
16250
16249
|
insert(target, t, anchor);
|
|
16251
16250
|
},
|
|
16252
16251
|
p(ctx, dirty) {
|
|
16253
|
-
if (dirty & /*outputName, prompt*/
|
|
16252
|
+
if (dirty & /*outputName, prompt*/ 40 && t_value !== (t_value = interpolate(textToKey(/*outputName*/ ctx[3]), null, /*prompt*/ ctx[5]) + "")) set_data(t, t_value);
|
|
16254
16253
|
},
|
|
16255
16254
|
d(detaching) {
|
|
16256
16255
|
if (detaching) detach(t);
|
|
@@ -16258,18 +16257,19 @@ function create_default_slot$p(ctx) {
|
|
|
16258
16257
|
};
|
|
16259
16258
|
}
|
|
16260
16259
|
|
|
16261
|
-
|
|
16260
|
+
// (32:0) {#key callback}
|
|
16261
|
+
function create_key_block$5(ctx) {
|
|
16262
16262
|
let checkbox;
|
|
16263
16263
|
let current;
|
|
16264
16264
|
|
|
16265
|
-
checkbox = new /*Checkbox*/ ctx[
|
|
16265
|
+
checkbox = new /*Checkbox*/ ctx[7]({
|
|
16266
16266
|
props: {
|
|
16267
|
-
isFirstInvalidInput: /*callbackMetadata*/ ctx[
|
|
16268
|
-
isInvalid: !!/*validationFailure*/ ctx[
|
|
16269
|
-
key: /*inputName*/ ctx[
|
|
16270
|
-
message: /*validationFailure*/ ctx[
|
|
16271
|
-
onChange: /*setValue*/ ctx[
|
|
16272
|
-
value: /*previousValue*/ ctx[
|
|
16267
|
+
isFirstInvalidInput: /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false,
|
|
16268
|
+
isInvalid: !!/*validationFailure*/ ctx[6],
|
|
16269
|
+
key: /*inputName*/ ctx[2],
|
|
16270
|
+
message: /*validationFailure*/ ctx[6],
|
|
16271
|
+
onChange: /*setValue*/ ctx[8],
|
|
16272
|
+
value: /*previousValue*/ ctx[4],
|
|
16273
16273
|
$$slots: { default: [create_default_slot$p] },
|
|
16274
16274
|
$$scope: { ctx }
|
|
16275
16275
|
}
|
|
@@ -16283,15 +16283,15 @@ function create_fragment$M(ctx) {
|
|
|
16283
16283
|
mount_component(checkbox, target, anchor);
|
|
16284
16284
|
current = true;
|
|
16285
16285
|
},
|
|
16286
|
-
p(ctx,
|
|
16286
|
+
p(ctx, dirty) {
|
|
16287
16287
|
const checkbox_changes = {};
|
|
16288
|
-
if (dirty & /*callbackMetadata*/
|
|
16289
|
-
if (dirty & /*validationFailure*/
|
|
16290
|
-
if (dirty & /*inputName*/
|
|
16291
|
-
if (dirty & /*validationFailure*/
|
|
16292
|
-
if (dirty & /*previousValue*/
|
|
16288
|
+
if (dirty & /*callbackMetadata*/ 2) checkbox_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
16289
|
+
if (dirty & /*validationFailure*/ 64) checkbox_changes.isInvalid = !!/*validationFailure*/ ctx[6];
|
|
16290
|
+
if (dirty & /*inputName*/ 4) checkbox_changes.key = /*inputName*/ ctx[2];
|
|
16291
|
+
if (dirty & /*validationFailure*/ 64) checkbox_changes.message = /*validationFailure*/ ctx[6];
|
|
16292
|
+
if (dirty & /*previousValue*/ 16) checkbox_changes.value = /*previousValue*/ ctx[4];
|
|
16293
16293
|
|
|
16294
|
-
if (dirty & /*$$scope, outputName, prompt*/
|
|
16294
|
+
if (dirty & /*$$scope, outputName, prompt*/ 4136) {
|
|
16295
16295
|
checkbox_changes.$$scope = { dirty, ctx };
|
|
16296
16296
|
}
|
|
16297
16297
|
|
|
@@ -16312,6 +16312,51 @@ function create_fragment$M(ctx) {
|
|
|
16312
16312
|
};
|
|
16313
16313
|
}
|
|
16314
16314
|
|
|
16315
|
+
function create_fragment$M(ctx) {
|
|
16316
|
+
let previous_key = /*callback*/ ctx[0];
|
|
16317
|
+
let key_block_anchor;
|
|
16318
|
+
let current;
|
|
16319
|
+
let key_block = create_key_block$5(ctx);
|
|
16320
|
+
|
|
16321
|
+
return {
|
|
16322
|
+
c() {
|
|
16323
|
+
key_block.c();
|
|
16324
|
+
key_block_anchor = empty();
|
|
16325
|
+
},
|
|
16326
|
+
m(target, anchor) {
|
|
16327
|
+
key_block.m(target, anchor);
|
|
16328
|
+
insert(target, key_block_anchor, anchor);
|
|
16329
|
+
current = true;
|
|
16330
|
+
},
|
|
16331
|
+
p(ctx, [dirty]) {
|
|
16332
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
16333
|
+
group_outros();
|
|
16334
|
+
transition_out(key_block, 1, 1, noop);
|
|
16335
|
+
check_outros();
|
|
16336
|
+
key_block = create_key_block$5(ctx);
|
|
16337
|
+
key_block.c();
|
|
16338
|
+
transition_in(key_block, 1);
|
|
16339
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
16340
|
+
} else {
|
|
16341
|
+
key_block.p(ctx, dirty);
|
|
16342
|
+
}
|
|
16343
|
+
},
|
|
16344
|
+
i(local) {
|
|
16345
|
+
if (current) return;
|
|
16346
|
+
transition_in(key_block);
|
|
16347
|
+
current = true;
|
|
16348
|
+
},
|
|
16349
|
+
o(local) {
|
|
16350
|
+
transition_out(key_block);
|
|
16351
|
+
current = false;
|
|
16352
|
+
},
|
|
16353
|
+
d(detaching) {
|
|
16354
|
+
if (detaching) detach(key_block_anchor);
|
|
16355
|
+
key_block.d(detaching);
|
|
16356
|
+
}
|
|
16357
|
+
};
|
|
16358
|
+
}
|
|
16359
|
+
|
|
16315
16360
|
function instance$O($$self, $$props, $$invalidate) {
|
|
16316
16361
|
const stepMetadata = null;
|
|
16317
16362
|
const selfSubmitFunction = null;
|
|
@@ -16338,28 +16383,29 @@ function instance$O($$self, $$props, $$invalidate) {
|
|
|
16338
16383
|
}
|
|
16339
16384
|
|
|
16340
16385
|
$$self.$$set = $$props => {
|
|
16341
|
-
if ('callback' in $$props) $$invalidate(
|
|
16342
|
-
if ('callbackMetadata' in $$props) $$invalidate(
|
|
16386
|
+
if ('callback' in $$props) $$invalidate(0, callback = $$props.callback);
|
|
16387
|
+
if ('callbackMetadata' in $$props) $$invalidate(1, callbackMetadata = $$props.callbackMetadata);
|
|
16343
16388
|
if ('style' in $$props) $$invalidate(11, style = $$props.style);
|
|
16344
16389
|
};
|
|
16345
16390
|
|
|
16346
16391
|
$$self.$$.update = () => {
|
|
16347
|
-
if ($$self.$$.dirty & /*callback, callbackMetadata*/
|
|
16392
|
+
if ($$self.$$.dirty & /*callback, callbackMetadata*/ 3) {
|
|
16348
16393
|
{
|
|
16349
|
-
$$invalidate(
|
|
16394
|
+
$$invalidate(2, inputName = callback?.payload?.input?.[0].name || `boolean-attr-${callbackMetadata?.idx}`);
|
|
16350
16395
|
|
|
16351
16396
|
// A boolean being required doesn't make much sense, so commenting it out for now
|
|
16352
16397
|
// isRequired = isInputRequired(callback);
|
|
16353
|
-
$$invalidate(
|
|
16398
|
+
$$invalidate(3, outputName = callback.getOutputByName('name', ''));
|
|
16354
16399
|
|
|
16355
|
-
$$invalidate(
|
|
16356
|
-
$$invalidate(
|
|
16357
|
-
$$invalidate(
|
|
16400
|
+
$$invalidate(4, previousValue = callback.getInputValue());
|
|
16401
|
+
$$invalidate(5, prompt = callback.getPrompt());
|
|
16402
|
+
$$invalidate(6, validationFailure = getAttributeValidationFailureText(callback));
|
|
16358
16403
|
}
|
|
16359
16404
|
}
|
|
16360
16405
|
};
|
|
16361
16406
|
|
|
16362
16407
|
return [
|
|
16408
|
+
callback,
|
|
16363
16409
|
callbackMetadata,
|
|
16364
16410
|
inputName,
|
|
16365
16411
|
outputName,
|
|
@@ -16370,7 +16416,6 @@ function instance$O($$self, $$props, $$invalidate) {
|
|
|
16370
16416
|
setValue,
|
|
16371
16417
|
stepMetadata,
|
|
16372
16418
|
selfSubmitFunction,
|
|
16373
|
-
callback,
|
|
16374
16419
|
style
|
|
16375
16420
|
];
|
|
16376
16421
|
}
|
|
@@ -16380,20 +16425,20 @@ let Boolean$1 = class Boolean extends SvelteComponent {
|
|
|
16380
16425
|
super();
|
|
16381
16426
|
|
|
16382
16427
|
init(this, options, instance$O, create_fragment$M, safe_not_equal, {
|
|
16383
|
-
stepMetadata:
|
|
16384
|
-
selfSubmitFunction:
|
|
16385
|
-
callback:
|
|
16386
|
-
callbackMetadata:
|
|
16428
|
+
stepMetadata: 9,
|
|
16429
|
+
selfSubmitFunction: 10,
|
|
16430
|
+
callback: 0,
|
|
16431
|
+
callbackMetadata: 1,
|
|
16387
16432
|
style: 11
|
|
16388
16433
|
});
|
|
16389
16434
|
}
|
|
16390
16435
|
|
|
16391
16436
|
get stepMetadata() {
|
|
16392
|
-
return this.$$.ctx[
|
|
16437
|
+
return this.$$.ctx[9];
|
|
16393
16438
|
}
|
|
16394
16439
|
|
|
16395
16440
|
get selfSubmitFunction() {
|
|
16396
|
-
return this.$$.ctx[
|
|
16441
|
+
return this.$$.ctx[10];
|
|
16397
16442
|
}
|
|
16398
16443
|
};
|
|
16399
16444
|
|
|
@@ -21187,20 +21232,20 @@ class Kba_create extends SvelteComponent {
|
|
|
21187
21232
|
|
|
21188
21233
|
/* src/lib/journey/callbacks/username/name.svelte generated by Svelte v3.59.2 */
|
|
21189
21234
|
|
|
21190
|
-
function
|
|
21235
|
+
function create_key_block$4(ctx) {
|
|
21191
21236
|
let input;
|
|
21192
21237
|
let current;
|
|
21193
21238
|
|
|
21194
|
-
input = new /*Input*/ ctx[
|
|
21239
|
+
input = new /*Input*/ ctx[6]({
|
|
21195
21240
|
props: {
|
|
21196
|
-
isFirstInvalidInput: /*callbackMetadata*/ ctx[
|
|
21197
|
-
key: /*inputName*/ ctx[
|
|
21198
|
-
label: interpolate(textToKey(/*textInputLabel*/ ctx[
|
|
21199
|
-
onChange: /*setValue*/ ctx[
|
|
21241
|
+
isFirstInvalidInput: /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false,
|
|
21242
|
+
key: /*inputName*/ ctx[3],
|
|
21243
|
+
label: interpolate(textToKey(/*textInputLabel*/ ctx[4] || /*callbackType*/ ctx[2]), null, /*textInputLabel*/ ctx[4]),
|
|
21244
|
+
onChange: /*setValue*/ ctx[7],
|
|
21200
21245
|
type: "text",
|
|
21201
21246
|
showMessage: false,
|
|
21202
|
-
value: typeof /*value*/ ctx[
|
|
21203
|
-
? /*value*/ ctx[
|
|
21247
|
+
value: typeof /*value*/ ctx[5] === 'string'
|
|
21248
|
+
? /*value*/ ctx[5]
|
|
21204
21249
|
: ''
|
|
21205
21250
|
}
|
|
21206
21251
|
});
|
|
@@ -21213,14 +21258,14 @@ function create_fragment$x(ctx) {
|
|
|
21213
21258
|
mount_component(input, target, anchor);
|
|
21214
21259
|
current = true;
|
|
21215
21260
|
},
|
|
21216
|
-
p(ctx,
|
|
21261
|
+
p(ctx, dirty) {
|
|
21217
21262
|
const input_changes = {};
|
|
21218
|
-
if (dirty & /*callbackMetadata*/
|
|
21219
|
-
if (dirty & /*inputName*/
|
|
21220
|
-
if (dirty & /*textInputLabel, callbackType*/
|
|
21263
|
+
if (dirty & /*callbackMetadata*/ 2) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
21264
|
+
if (dirty & /*inputName*/ 8) input_changes.key = /*inputName*/ ctx[3];
|
|
21265
|
+
if (dirty & /*textInputLabel, callbackType*/ 20) input_changes.label = interpolate(textToKey(/*textInputLabel*/ ctx[4] || /*callbackType*/ ctx[2]), null, /*textInputLabel*/ ctx[4]);
|
|
21221
21266
|
|
|
21222
|
-
if (dirty & /*value*/
|
|
21223
|
-
? /*value*/ ctx[
|
|
21267
|
+
if (dirty & /*value*/ 32) input_changes.value = typeof /*value*/ ctx[5] === 'string'
|
|
21268
|
+
? /*value*/ ctx[5]
|
|
21224
21269
|
: '';
|
|
21225
21270
|
|
|
21226
21271
|
input.$set(input_changes);
|
|
@@ -21240,6 +21285,51 @@ function create_fragment$x(ctx) {
|
|
|
21240
21285
|
};
|
|
21241
21286
|
}
|
|
21242
21287
|
|
|
21288
|
+
function create_fragment$x(ctx) {
|
|
21289
|
+
let previous_key = /*callback*/ ctx[0];
|
|
21290
|
+
let key_block_anchor;
|
|
21291
|
+
let current;
|
|
21292
|
+
let key_block = create_key_block$4(ctx);
|
|
21293
|
+
|
|
21294
|
+
return {
|
|
21295
|
+
c() {
|
|
21296
|
+
key_block.c();
|
|
21297
|
+
key_block_anchor = empty();
|
|
21298
|
+
},
|
|
21299
|
+
m(target, anchor) {
|
|
21300
|
+
key_block.m(target, anchor);
|
|
21301
|
+
insert(target, key_block_anchor, anchor);
|
|
21302
|
+
current = true;
|
|
21303
|
+
},
|
|
21304
|
+
p(ctx, [dirty]) {
|
|
21305
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
21306
|
+
group_outros();
|
|
21307
|
+
transition_out(key_block, 1, 1, noop);
|
|
21308
|
+
check_outros();
|
|
21309
|
+
key_block = create_key_block$4(ctx);
|
|
21310
|
+
key_block.c();
|
|
21311
|
+
transition_in(key_block, 1);
|
|
21312
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
21313
|
+
} else {
|
|
21314
|
+
key_block.p(ctx, dirty);
|
|
21315
|
+
}
|
|
21316
|
+
},
|
|
21317
|
+
i(local) {
|
|
21318
|
+
if (current) return;
|
|
21319
|
+
transition_in(key_block);
|
|
21320
|
+
current = true;
|
|
21321
|
+
},
|
|
21322
|
+
o(local) {
|
|
21323
|
+
transition_out(key_block);
|
|
21324
|
+
current = false;
|
|
21325
|
+
},
|
|
21326
|
+
d(detaching) {
|
|
21327
|
+
if (detaching) detach(key_block_anchor);
|
|
21328
|
+
key_block.d(detaching);
|
|
21329
|
+
}
|
|
21330
|
+
};
|
|
21331
|
+
}
|
|
21332
|
+
|
|
21243
21333
|
function instance$y($$self, $$props, $$invalidate) {
|
|
21244
21334
|
const selfSubmitFunction = null;
|
|
21245
21335
|
const stepMetadata = null;
|
|
@@ -21257,23 +21347,24 @@ function instance$y($$self, $$props, $$invalidate) {
|
|
|
21257
21347
|
}
|
|
21258
21348
|
|
|
21259
21349
|
$$self.$$set = $$props => {
|
|
21260
|
-
if ('callback' in $$props) $$invalidate(
|
|
21261
|
-
if ('callbackMetadata' in $$props) $$invalidate(
|
|
21350
|
+
if ('callback' in $$props) $$invalidate(0, callback = $$props.callback);
|
|
21351
|
+
if ('callbackMetadata' in $$props) $$invalidate(1, callbackMetadata = $$props.callbackMetadata);
|
|
21262
21352
|
if ('style' in $$props) $$invalidate(10, style = $$props.style);
|
|
21263
21353
|
};
|
|
21264
21354
|
|
|
21265
21355
|
$$self.$$.update = () => {
|
|
21266
|
-
if ($$self.$$.dirty & /*callback, callbackMetadata*/
|
|
21356
|
+
if ($$self.$$.dirty & /*callback, callbackMetadata*/ 3) {
|
|
21267
21357
|
{
|
|
21268
|
-
$$invalidate(
|
|
21269
|
-
$$invalidate(
|
|
21270
|
-
$$invalidate(
|
|
21271
|
-
$$invalidate(
|
|
21358
|
+
$$invalidate(2, callbackType = callback.getType());
|
|
21359
|
+
$$invalidate(3, inputName = callback?.payload?.input?.[0].name || `name-${callbackMetadata?.idx}`);
|
|
21360
|
+
$$invalidate(4, textInputLabel = callback.getPrompt());
|
|
21361
|
+
$$invalidate(5, value = callback?.getInputValue());
|
|
21272
21362
|
}
|
|
21273
21363
|
}
|
|
21274
21364
|
};
|
|
21275
21365
|
|
|
21276
21366
|
return [
|
|
21367
|
+
callback,
|
|
21277
21368
|
callbackMetadata,
|
|
21278
21369
|
callbackType,
|
|
21279
21370
|
inputName,
|
|
@@ -21283,7 +21374,6 @@ function instance$y($$self, $$props, $$invalidate) {
|
|
|
21283
21374
|
setValue,
|
|
21284
21375
|
selfSubmitFunction,
|
|
21285
21376
|
stepMetadata,
|
|
21286
|
-
callback,
|
|
21287
21377
|
style
|
|
21288
21378
|
];
|
|
21289
21379
|
}
|
|
@@ -21293,20 +21383,20 @@ class Name extends SvelteComponent {
|
|
|
21293
21383
|
super();
|
|
21294
21384
|
|
|
21295
21385
|
init(this, options, instance$y, create_fragment$x, safe_not_equal, {
|
|
21296
|
-
selfSubmitFunction:
|
|
21297
|
-
stepMetadata:
|
|
21298
|
-
callback:
|
|
21299
|
-
callbackMetadata:
|
|
21386
|
+
selfSubmitFunction: 8,
|
|
21387
|
+
stepMetadata: 9,
|
|
21388
|
+
callback: 0,
|
|
21389
|
+
callbackMetadata: 1,
|
|
21300
21390
|
style: 10
|
|
21301
21391
|
});
|
|
21302
21392
|
}
|
|
21303
21393
|
|
|
21304
21394
|
get selfSubmitFunction() {
|
|
21305
|
-
return this.$$.ctx[
|
|
21395
|
+
return this.$$.ctx[8];
|
|
21306
21396
|
}
|
|
21307
21397
|
|
|
21308
21398
|
get stepMetadata() {
|
|
21309
|
-
return this.$$.ctx[
|
|
21399
|
+
return this.$$.ctx[9];
|
|
21310
21400
|
}
|
|
21311
21401
|
}
|
|
21312
21402
|
|
|
@@ -21929,7 +22019,7 @@ function create_default_slot_1$a(ctx) {
|
|
|
21929
22019
|
};
|
|
21930
22020
|
}
|
|
21931
22021
|
|
|
21932
|
-
// (
|
|
22022
|
+
// (95:6) <EyeIcon classes="tw_password-icon dark:tw_password-icon_dark" visible={isVisible}>
|
|
21933
22023
|
function create_default_slot$h(ctx) {
|
|
21934
22024
|
let t;
|
|
21935
22025
|
let current;
|
|
@@ -21959,7 +22049,7 @@ function create_default_slot$h(ctx) {
|
|
|
21959
22049
|
};
|
|
21960
22050
|
}
|
|
21961
22051
|
|
|
21962
|
-
// (
|
|
22052
|
+
// (89:4)
|
|
21963
22053
|
function create_input_button_slot(ctx) {
|
|
21964
22054
|
let button;
|
|
21965
22055
|
let eyeicon;
|
|
@@ -21970,7 +22060,7 @@ function create_input_button_slot(ctx) {
|
|
|
21970
22060
|
eyeicon = new Eye_icon({
|
|
21971
22061
|
props: {
|
|
21972
22062
|
classes: "tw_password-icon dark:tw_password-icon_dark",
|
|
21973
|
-
visible: /*isVisible*/ ctx[
|
|
22063
|
+
visible: /*isVisible*/ ctx[11],
|
|
21974
22064
|
$$slots: { default: [create_default_slot$h] },
|
|
21975
22065
|
$$scope: { ctx }
|
|
21976
22066
|
}
|
|
@@ -21990,13 +22080,13 @@ function create_input_button_slot(ctx) {
|
|
|
21990
22080
|
current = true;
|
|
21991
22081
|
|
|
21992
22082
|
if (!mounted) {
|
|
21993
|
-
dispose = listen(button, "click", /*toggleVisibility*/ ctx[
|
|
22083
|
+
dispose = listen(button, "click", /*toggleVisibility*/ ctx[18]);
|
|
21994
22084
|
mounted = true;
|
|
21995
22085
|
}
|
|
21996
22086
|
},
|
|
21997
22087
|
p(ctx, dirty) {
|
|
21998
22088
|
const eyeicon_changes = {};
|
|
21999
|
-
if (dirty & /*isVisible*/
|
|
22089
|
+
if (dirty & /*isVisible*/ 2048) eyeicon_changes.visible = /*isVisible*/ ctx[11];
|
|
22000
22090
|
|
|
22001
22091
|
if (dirty & /*$$scope*/ 4194304) {
|
|
22002
22092
|
eyeicon_changes.$$scope = { dirty, ctx };
|
|
@@ -22022,21 +22112,21 @@ function create_input_button_slot(ctx) {
|
|
|
22022
22112
|
};
|
|
22023
22113
|
}
|
|
22024
22114
|
|
|
22025
|
-
// (
|
|
22115
|
+
// (102:2) {#if callbackMetadata?.platform?.confirmPassword}
|
|
22026
22116
|
function create_if_block$e(ctx) {
|
|
22027
22117
|
let confirminput;
|
|
22028
22118
|
let current;
|
|
22029
22119
|
|
|
22030
22120
|
confirminput = new Confirm_input({
|
|
22031
22121
|
props: {
|
|
22032
|
-
forceValidityFailure: /*doPasswordsMatch*/ ctx[
|
|
22033
|
-
passwordsDoNotMatch: /*doPasswordsMatch*/ ctx[
|
|
22122
|
+
forceValidityFailure: /*doPasswordsMatch*/ ctx[10] === false,
|
|
22123
|
+
passwordsDoNotMatch: /*doPasswordsMatch*/ ctx[10] === false,
|
|
22034
22124
|
key: /*key*/ ctx[0],
|
|
22035
|
-
isRequired: /*value*/ ctx[
|
|
22036
|
-
onChange: /*confirmInput*/ ctx[
|
|
22037
|
-
resetValue: /*resetValue*/ ctx[
|
|
22038
|
-
showMessage: /*doPasswordsMatch*/ ctx[
|
|
22039
|
-
style: /*style*/ ctx[
|
|
22125
|
+
isRequired: /*value*/ ctx[8].length > 0,
|
|
22126
|
+
onChange: /*confirmInput*/ ctx[16],
|
|
22127
|
+
resetValue: /*resetValue*/ ctx[12],
|
|
22128
|
+
showMessage: /*doPasswordsMatch*/ ctx[10] === false,
|
|
22129
|
+
style: /*style*/ ctx[5]
|
|
22040
22130
|
}
|
|
22041
22131
|
});
|
|
22042
22132
|
|
|
@@ -22050,13 +22140,13 @@ function create_if_block$e(ctx) {
|
|
|
22050
22140
|
},
|
|
22051
22141
|
p(ctx, dirty) {
|
|
22052
22142
|
const confirminput_changes = {};
|
|
22053
|
-
if (dirty & /*doPasswordsMatch*/
|
|
22054
|
-
if (dirty & /*doPasswordsMatch*/
|
|
22143
|
+
if (dirty & /*doPasswordsMatch*/ 1024) confirminput_changes.forceValidityFailure = /*doPasswordsMatch*/ ctx[10] === false;
|
|
22144
|
+
if (dirty & /*doPasswordsMatch*/ 1024) confirminput_changes.passwordsDoNotMatch = /*doPasswordsMatch*/ ctx[10] === false;
|
|
22055
22145
|
if (dirty & /*key*/ 1) confirminput_changes.key = /*key*/ ctx[0];
|
|
22056
|
-
if (dirty & /*value*/
|
|
22057
|
-
if (dirty & /*resetValue*/
|
|
22058
|
-
if (dirty & /*doPasswordsMatch*/
|
|
22059
|
-
if (dirty & /*style*/
|
|
22146
|
+
if (dirty & /*value*/ 256) confirminput_changes.isRequired = /*value*/ ctx[8].length > 0;
|
|
22147
|
+
if (dirty & /*resetValue*/ 4096) confirminput_changes.resetValue = /*resetValue*/ ctx[12];
|
|
22148
|
+
if (dirty & /*doPasswordsMatch*/ 1024) confirminput_changes.showMessage = /*doPasswordsMatch*/ ctx[10] === false;
|
|
22149
|
+
if (dirty & /*style*/ 32) confirminput_changes.style = /*style*/ ctx[5];
|
|
22060
22150
|
confirminput.$set(confirminput_changes);
|
|
22061
22151
|
},
|
|
22062
22152
|
i(local) {
|
|
@@ -22074,28 +22164,29 @@ function create_if_block$e(ctx) {
|
|
|
22074
22164
|
};
|
|
22075
22165
|
}
|
|
22076
22166
|
|
|
22077
|
-
|
|
22167
|
+
// (75:0) {#key callback}
|
|
22168
|
+
function create_key_block$3(ctx) {
|
|
22078
22169
|
let input;
|
|
22079
22170
|
let t;
|
|
22080
22171
|
let if_block_anchor;
|
|
22081
22172
|
let current;
|
|
22082
22173
|
|
|
22083
|
-
input = new /*Input*/ ctx[
|
|
22174
|
+
input = new /*Input*/ ctx[15]({
|
|
22084
22175
|
props: {
|
|
22085
|
-
isFirstInvalidInput: /*callbackMetadata*/ ctx[
|
|
22176
|
+
isFirstInvalidInput: /*callbackMetadata*/ ctx[2]?.derived.isFirstInvalidInput || false,
|
|
22086
22177
|
hasRightIcon: true,
|
|
22087
22178
|
key: /*key*/ ctx[0],
|
|
22088
|
-
label: interpolate(textToKey(/*callbackType*/ ctx[
|
|
22089
|
-
message: /*validationFailure*/ ctx[
|
|
22179
|
+
label: interpolate(textToKey(/*callbackType*/ ctx[9]), null, /*textInputLabel*/ ctx[13]),
|
|
22180
|
+
message: /*validationFailure*/ ctx[7] || (/*isRequired*/ ctx[4]
|
|
22090
22181
|
? interpolate('inputRequiredError')
|
|
22091
22182
|
: undefined),
|
|
22092
|
-
onChange: /*setValue*/ ctx[
|
|
22093
|
-
isInvalid: /*isInvalid*/ ctx[
|
|
22094
|
-
isRequired: /*isRequired*/ ctx[
|
|
22095
|
-
showMessage: /*showMessage*/ ctx[
|
|
22096
|
-
type: /*type*/ ctx[
|
|
22097
|
-
value: typeof /*value*/ ctx[
|
|
22098
|
-
? /*value*/ ctx[
|
|
22183
|
+
onChange: /*setValue*/ ctx[17],
|
|
22184
|
+
isInvalid: /*isInvalid*/ ctx[3],
|
|
22185
|
+
isRequired: /*isRequired*/ ctx[4],
|
|
22186
|
+
showMessage: /*showMessage*/ ctx[6],
|
|
22187
|
+
type: /*type*/ ctx[14],
|
|
22188
|
+
value: typeof /*value*/ ctx[8] === 'string'
|
|
22189
|
+
? /*value*/ ctx[8]
|
|
22099
22190
|
: '',
|
|
22100
22191
|
$$slots: {
|
|
22101
22192
|
"input-button": [create_input_button_slot],
|
|
@@ -22105,7 +22196,7 @@ function create_fragment$u(ctx) {
|
|
|
22105
22196
|
}
|
|
22106
22197
|
});
|
|
22107
22198
|
|
|
22108
|
-
let if_block = /*callbackMetadata*/ ctx[
|
|
22199
|
+
let if_block = /*callbackMetadata*/ ctx[2]?.platform?.confirmPassword && create_if_block$e(ctx);
|
|
22109
22200
|
|
|
22110
22201
|
return {
|
|
22111
22202
|
c() {
|
|
@@ -22121,36 +22212,36 @@ function create_fragment$u(ctx) {
|
|
|
22121
22212
|
insert(target, if_block_anchor, anchor);
|
|
22122
22213
|
current = true;
|
|
22123
22214
|
},
|
|
22124
|
-
p(ctx,
|
|
22215
|
+
p(ctx, dirty) {
|
|
22125
22216
|
const input_changes = {};
|
|
22126
|
-
if (dirty & /*callbackMetadata*/
|
|
22217
|
+
if (dirty & /*callbackMetadata*/ 4) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[2]?.derived.isFirstInvalidInput || false;
|
|
22127
22218
|
if (dirty & /*key*/ 1) input_changes.key = /*key*/ ctx[0];
|
|
22128
|
-
if (dirty & /*callbackType, textInputLabel*/
|
|
22219
|
+
if (dirty & /*callbackType, textInputLabel*/ 8704) input_changes.label = interpolate(textToKey(/*callbackType*/ ctx[9]), null, /*textInputLabel*/ ctx[13]);
|
|
22129
22220
|
|
|
22130
|
-
if (dirty & /*validationFailure, isRequired*/
|
|
22221
|
+
if (dirty & /*validationFailure, isRequired*/ 144) input_changes.message = /*validationFailure*/ ctx[7] || (/*isRequired*/ ctx[4]
|
|
22131
22222
|
? interpolate('inputRequiredError')
|
|
22132
22223
|
: undefined);
|
|
22133
22224
|
|
|
22134
|
-
if (dirty & /*isInvalid*/
|
|
22135
|
-
if (dirty & /*isRequired*/
|
|
22136
|
-
if (dirty & /*showMessage*/
|
|
22137
|
-
if (dirty & /*type*/
|
|
22225
|
+
if (dirty & /*isInvalid*/ 8) input_changes.isInvalid = /*isInvalid*/ ctx[3];
|
|
22226
|
+
if (dirty & /*isRequired*/ 16) input_changes.isRequired = /*isRequired*/ ctx[4];
|
|
22227
|
+
if (dirty & /*showMessage*/ 64) input_changes.showMessage = /*showMessage*/ ctx[6];
|
|
22228
|
+
if (dirty & /*type*/ 16384) input_changes.type = /*type*/ ctx[14];
|
|
22138
22229
|
|
|
22139
|
-
if (dirty & /*value*/
|
|
22140
|
-
? /*value*/ ctx[
|
|
22230
|
+
if (dirty & /*value*/ 256) input_changes.value = typeof /*value*/ ctx[8] === 'string'
|
|
22231
|
+
? /*value*/ ctx[8]
|
|
22141
22232
|
: '';
|
|
22142
22233
|
|
|
22143
|
-
if (dirty & /*$$scope, isVisible*/
|
|
22234
|
+
if (dirty & /*$$scope, isVisible*/ 4196352) {
|
|
22144
22235
|
input_changes.$$scope = { dirty, ctx };
|
|
22145
22236
|
}
|
|
22146
22237
|
|
|
22147
22238
|
input.$set(input_changes);
|
|
22148
22239
|
|
|
22149
|
-
if (/*callbackMetadata*/ ctx[
|
|
22240
|
+
if (/*callbackMetadata*/ ctx[2]?.platform?.confirmPassword) {
|
|
22150
22241
|
if (if_block) {
|
|
22151
22242
|
if_block.p(ctx, dirty);
|
|
22152
22243
|
|
|
22153
|
-
if (dirty & /*callbackMetadata*/
|
|
22244
|
+
if (dirty & /*callbackMetadata*/ 4) {
|
|
22154
22245
|
transition_in(if_block, 1);
|
|
22155
22246
|
}
|
|
22156
22247
|
} else {
|
|
@@ -22189,6 +22280,51 @@ function create_fragment$u(ctx) {
|
|
|
22189
22280
|
};
|
|
22190
22281
|
}
|
|
22191
22282
|
|
|
22283
|
+
function create_fragment$u(ctx) {
|
|
22284
|
+
let previous_key = /*callback*/ ctx[1];
|
|
22285
|
+
let key_block_anchor;
|
|
22286
|
+
let current;
|
|
22287
|
+
let key_block = create_key_block$3(ctx);
|
|
22288
|
+
|
|
22289
|
+
return {
|
|
22290
|
+
c() {
|
|
22291
|
+
key_block.c();
|
|
22292
|
+
key_block_anchor = empty();
|
|
22293
|
+
},
|
|
22294
|
+
m(target, anchor) {
|
|
22295
|
+
key_block.m(target, anchor);
|
|
22296
|
+
insert(target, key_block_anchor, anchor);
|
|
22297
|
+
current = true;
|
|
22298
|
+
},
|
|
22299
|
+
p(ctx, [dirty]) {
|
|
22300
|
+
if (dirty & /*callback*/ 2 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[1])) {
|
|
22301
|
+
group_outros();
|
|
22302
|
+
transition_out(key_block, 1, 1, noop);
|
|
22303
|
+
check_outros();
|
|
22304
|
+
key_block = create_key_block$3(ctx);
|
|
22305
|
+
key_block.c();
|
|
22306
|
+
transition_in(key_block, 1);
|
|
22307
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
22308
|
+
} else {
|
|
22309
|
+
key_block.p(ctx, dirty);
|
|
22310
|
+
}
|
|
22311
|
+
},
|
|
22312
|
+
i(local) {
|
|
22313
|
+
if (current) return;
|
|
22314
|
+
transition_in(key_block);
|
|
22315
|
+
current = true;
|
|
22316
|
+
},
|
|
22317
|
+
o(local) {
|
|
22318
|
+
transition_out(key_block);
|
|
22319
|
+
current = false;
|
|
22320
|
+
},
|
|
22321
|
+
d(detaching) {
|
|
22322
|
+
if (detaching) detach(key_block_anchor);
|
|
22323
|
+
key_block.d(detaching);
|
|
22324
|
+
}
|
|
22325
|
+
};
|
|
22326
|
+
}
|
|
22327
|
+
|
|
22192
22328
|
function instance$v($$self, $$props, $$invalidate) {
|
|
22193
22329
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
22194
22330
|
let { callback } = $$props;
|
|
@@ -22223,7 +22359,7 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22223
22359
|
* @param {Object} event
|
|
22224
22360
|
*/
|
|
22225
22361
|
function setValue(event) {
|
|
22226
|
-
$$invalidate(
|
|
22362
|
+
$$invalidate(8, value = event.target.value);
|
|
22227
22363
|
|
|
22228
22364
|
/** ***********************************************************************
|
|
22229
22365
|
* SDK INTEGRATION POINT
|
|
@@ -22241,29 +22377,29 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22241
22377
|
* @function toggleVisibility - toggles the password from masked to plaintext
|
|
22242
22378
|
*/
|
|
22243
22379
|
function toggleVisibility() {
|
|
22244
|
-
$$invalidate(
|
|
22245
|
-
$$invalidate(
|
|
22380
|
+
$$invalidate(11, isVisible = !isVisible);
|
|
22381
|
+
$$invalidate(14, type = isVisible ? 'text' : 'password');
|
|
22246
22382
|
}
|
|
22247
22383
|
|
|
22248
22384
|
$$self.$$set = $$props => {
|
|
22249
|
-
if ('callback' in $$props) $$invalidate(
|
|
22250
|
-
if ('callbackMetadata' in $$props) $$invalidate(
|
|
22385
|
+
if ('callback' in $$props) $$invalidate(1, callback = $$props.callback);
|
|
22386
|
+
if ('callbackMetadata' in $$props) $$invalidate(2, callbackMetadata = $$props.callbackMetadata);
|
|
22251
22387
|
if ('key' in $$props) $$invalidate(0, key = $$props.key);
|
|
22252
|
-
if ('isInvalid' in $$props) $$invalidate(
|
|
22253
|
-
if ('isRequired' in $$props) $$invalidate(
|
|
22254
|
-
if ('style' in $$props) $$invalidate(
|
|
22255
|
-
if ('showMessage' in $$props) $$invalidate(
|
|
22256
|
-
if ('validationFailure' in $$props) $$invalidate(
|
|
22388
|
+
if ('isInvalid' in $$props) $$invalidate(3, isInvalid = $$props.isInvalid);
|
|
22389
|
+
if ('isRequired' in $$props) $$invalidate(4, isRequired = $$props.isRequired);
|
|
22390
|
+
if ('style' in $$props) $$invalidate(5, style = $$props.style);
|
|
22391
|
+
if ('showMessage' in $$props) $$invalidate(6, showMessage = $$props.showMessage);
|
|
22392
|
+
if ('validationFailure' in $$props) $$invalidate(7, validationFailure = $$props.validationFailure);
|
|
22257
22393
|
if ('$$scope' in $$props) $$invalidate(22, $$scope = $$props.$$scope);
|
|
22258
22394
|
};
|
|
22259
22395
|
|
|
22260
22396
|
$$self.$$.update = () => {
|
|
22261
|
-
if ($$self.$$.dirty & /*callback, callbackMetadata, savedValue, value, confirmValue*/
|
|
22397
|
+
if ($$self.$$.dirty & /*callback, callbackMetadata, savedValue, value, confirmValue*/ 1573126) {
|
|
22262
22398
|
{
|
|
22263
|
-
$$invalidate(
|
|
22399
|
+
$$invalidate(9, callbackType = callback.getType());
|
|
22264
22400
|
$$invalidate(0, key = callback?.payload?.input?.[0].name || `password-${callbackMetadata?.idx}`);
|
|
22265
|
-
$$invalidate(
|
|
22266
|
-
$$invalidate(
|
|
22401
|
+
$$invalidate(13, textInputLabel = callback.getPrompt());
|
|
22402
|
+
$$invalidate(8, value = callback?.getInputValue());
|
|
22267
22403
|
|
|
22268
22404
|
/**
|
|
22269
22405
|
* `savedValue` represents what the user set after blur (local component state)
|
|
@@ -22271,12 +22407,12 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22271
22407
|
*
|
|
22272
22408
|
* This unique combination is what produces the most reliable reset flag
|
|
22273
22409
|
*/
|
|
22274
|
-
$$invalidate(
|
|
22410
|
+
$$invalidate(12, resetValue = !!savedValue && value === '');
|
|
22275
22411
|
|
|
22276
22412
|
/**
|
|
22277
22413
|
* Only assign a boolean if the confirm input has an actual value.
|
|
22278
22414
|
*/
|
|
22279
|
-
$$invalidate(
|
|
22415
|
+
$$invalidate(10, doPasswordsMatch = confirmValue !== undefined
|
|
22280
22416
|
? confirmValue === value
|
|
22281
22417
|
: undefined);
|
|
22282
22418
|
}
|
|
@@ -22285,6 +22421,7 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22285
22421
|
|
|
22286
22422
|
return [
|
|
22287
22423
|
key,
|
|
22424
|
+
callback,
|
|
22288
22425
|
callbackMetadata,
|
|
22289
22426
|
isInvalid,
|
|
22290
22427
|
isRequired,
|
|
@@ -22302,7 +22439,6 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
22302
22439
|
confirmInput,
|
|
22303
22440
|
setValue,
|
|
22304
22441
|
toggleVisibility,
|
|
22305
|
-
callback,
|
|
22306
22442
|
confirmValue,
|
|
22307
22443
|
savedValue,
|
|
22308
22444
|
slots,
|
|
@@ -22315,14 +22451,14 @@ class Base extends SvelteComponent {
|
|
|
22315
22451
|
super();
|
|
22316
22452
|
|
|
22317
22453
|
init(this, options, instance$v, create_fragment$u, safe_not_equal, {
|
|
22318
|
-
callback:
|
|
22319
|
-
callbackMetadata:
|
|
22454
|
+
callback: 1,
|
|
22455
|
+
callbackMetadata: 2,
|
|
22320
22456
|
key: 0,
|
|
22321
|
-
isInvalid:
|
|
22322
|
-
isRequired:
|
|
22323
|
-
style:
|
|
22324
|
-
showMessage:
|
|
22325
|
-
validationFailure:
|
|
22457
|
+
isInvalid: 3,
|
|
22458
|
+
isRequired: 4,
|
|
22459
|
+
style: 5,
|
|
22460
|
+
showMessage: 6,
|
|
22461
|
+
validationFailure: 7
|
|
22326
22462
|
});
|
|
22327
22463
|
}
|
|
22328
22464
|
}
|
|
@@ -23700,7 +23836,7 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
23700
23836
|
callback.setProvider('localAuthentication');
|
|
23701
23837
|
}
|
|
23702
23838
|
|
|
23703
|
-
$$invalidate(1, idps = socialProviders.map(
|
|
23839
|
+
$$invalidate(1, idps = socialProviders.map(option => ({
|
|
23704
23840
|
value: option.provider,
|
|
23705
23841
|
text: option.uiConfig.buttonDisplayName
|
|
23706
23842
|
})));
|
|
@@ -24199,7 +24335,8 @@ function create_default_slot$d(ctx) {
|
|
|
24199
24335
|
};
|
|
24200
24336
|
}
|
|
24201
24337
|
|
|
24202
|
-
|
|
24338
|
+
// (47:0) {#key callback}
|
|
24339
|
+
function create_key_block$2(ctx) {
|
|
24203
24340
|
let input;
|
|
24204
24341
|
let current;
|
|
24205
24342
|
|
|
@@ -24230,7 +24367,7 @@ function create_fragment$k(ctx) {
|
|
|
24230
24367
|
mount_component(input, target, anchor);
|
|
24231
24368
|
current = true;
|
|
24232
24369
|
},
|
|
24233
|
-
p(ctx,
|
|
24370
|
+
p(ctx, dirty) {
|
|
24234
24371
|
const input_changes = {};
|
|
24235
24372
|
if (dirty & /*callbackMetadata*/ 2) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
24236
24373
|
if (dirty & /*inputName*/ 8) input_changes.key = /*inputName*/ ctx[3];
|
|
@@ -24267,6 +24404,51 @@ function create_fragment$k(ctx) {
|
|
|
24267
24404
|
};
|
|
24268
24405
|
}
|
|
24269
24406
|
|
|
24407
|
+
function create_fragment$k(ctx) {
|
|
24408
|
+
let previous_key = /*callback*/ ctx[0];
|
|
24409
|
+
let key_block_anchor;
|
|
24410
|
+
let current;
|
|
24411
|
+
let key_block = create_key_block$2(ctx);
|
|
24412
|
+
|
|
24413
|
+
return {
|
|
24414
|
+
c() {
|
|
24415
|
+
key_block.c();
|
|
24416
|
+
key_block_anchor = empty();
|
|
24417
|
+
},
|
|
24418
|
+
m(target, anchor) {
|
|
24419
|
+
key_block.m(target, anchor);
|
|
24420
|
+
insert(target, key_block_anchor, anchor);
|
|
24421
|
+
current = true;
|
|
24422
|
+
},
|
|
24423
|
+
p(ctx, [dirty]) {
|
|
24424
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
24425
|
+
group_outros();
|
|
24426
|
+
transition_out(key_block, 1, 1, noop);
|
|
24427
|
+
check_outros();
|
|
24428
|
+
key_block = create_key_block$2(ctx);
|
|
24429
|
+
key_block.c();
|
|
24430
|
+
transition_in(key_block, 1);
|
|
24431
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
24432
|
+
} else {
|
|
24433
|
+
key_block.p(ctx, dirty);
|
|
24434
|
+
}
|
|
24435
|
+
},
|
|
24436
|
+
i(local) {
|
|
24437
|
+
if (current) return;
|
|
24438
|
+
transition_in(key_block);
|
|
24439
|
+
current = true;
|
|
24440
|
+
},
|
|
24441
|
+
o(local) {
|
|
24442
|
+
transition_out(key_block);
|
|
24443
|
+
current = false;
|
|
24444
|
+
},
|
|
24445
|
+
d(detaching) {
|
|
24446
|
+
if (detaching) detach(key_block_anchor);
|
|
24447
|
+
key_block.d(detaching);
|
|
24448
|
+
}
|
|
24449
|
+
};
|
|
24450
|
+
}
|
|
24451
|
+
|
|
24270
24452
|
function instance$l($$self, $$props, $$invalidate) {
|
|
24271
24453
|
const selfSubmitFunction = null;
|
|
24272
24454
|
const stepMetadata = null;
|
|
@@ -25144,7 +25326,8 @@ function create_default_slot$a(ctx) {
|
|
|
25144
25326
|
};
|
|
25145
25327
|
}
|
|
25146
25328
|
|
|
25147
|
-
|
|
25329
|
+
// (28:0) {#key callback}
|
|
25330
|
+
function create_key_block$1(ctx) {
|
|
25148
25331
|
let base;
|
|
25149
25332
|
let current;
|
|
25150
25333
|
|
|
@@ -25170,7 +25353,7 @@ function create_fragment$f(ctx) {
|
|
|
25170
25353
|
mount_component(base, target, anchor);
|
|
25171
25354
|
current = true;
|
|
25172
25355
|
},
|
|
25173
|
-
p(ctx,
|
|
25356
|
+
p(ctx, dirty) {
|
|
25174
25357
|
const base_changes = {};
|
|
25175
25358
|
if (dirty & /*callback*/ 1) base_changes.callback = /*callback*/ ctx[0];
|
|
25176
25359
|
if (dirty & /*callbackMetadata*/ 2) base_changes.callbackMetadata = /*callbackMetadata*/ ctx[1];
|
|
@@ -25200,6 +25383,51 @@ function create_fragment$f(ctx) {
|
|
|
25200
25383
|
};
|
|
25201
25384
|
}
|
|
25202
25385
|
|
|
25386
|
+
function create_fragment$f(ctx) {
|
|
25387
|
+
let previous_key = /*callback*/ ctx[0];
|
|
25388
|
+
let key_block_anchor;
|
|
25389
|
+
let current;
|
|
25390
|
+
let key_block = create_key_block$1(ctx);
|
|
25391
|
+
|
|
25392
|
+
return {
|
|
25393
|
+
c() {
|
|
25394
|
+
key_block.c();
|
|
25395
|
+
key_block_anchor = empty();
|
|
25396
|
+
},
|
|
25397
|
+
m(target, anchor) {
|
|
25398
|
+
key_block.m(target, anchor);
|
|
25399
|
+
insert(target, key_block_anchor, anchor);
|
|
25400
|
+
current = true;
|
|
25401
|
+
},
|
|
25402
|
+
p(ctx, [dirty]) {
|
|
25403
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
25404
|
+
group_outros();
|
|
25405
|
+
transition_out(key_block, 1, 1, noop);
|
|
25406
|
+
check_outros();
|
|
25407
|
+
key_block = create_key_block$1(ctx);
|
|
25408
|
+
key_block.c();
|
|
25409
|
+
transition_in(key_block, 1);
|
|
25410
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
25411
|
+
} else {
|
|
25412
|
+
key_block.p(ctx, dirty);
|
|
25413
|
+
}
|
|
25414
|
+
},
|
|
25415
|
+
i(local) {
|
|
25416
|
+
if (current) return;
|
|
25417
|
+
transition_in(key_block);
|
|
25418
|
+
current = true;
|
|
25419
|
+
},
|
|
25420
|
+
o(local) {
|
|
25421
|
+
transition_out(key_block);
|
|
25422
|
+
current = false;
|
|
25423
|
+
},
|
|
25424
|
+
d(detaching) {
|
|
25425
|
+
if (detaching) detach(key_block_anchor);
|
|
25426
|
+
key_block.d(detaching);
|
|
25427
|
+
}
|
|
25428
|
+
};
|
|
25429
|
+
}
|
|
25430
|
+
|
|
25203
25431
|
function instance$g($$self, $$props, $$invalidate) {
|
|
25204
25432
|
const selfSubmitFunction = null;
|
|
25205
25433
|
const stepMetadata = null;
|
|
@@ -25315,7 +25543,8 @@ function create_default_slot$9(ctx) {
|
|
|
25315
25543
|
};
|
|
25316
25544
|
}
|
|
25317
25545
|
|
|
25318
|
-
|
|
25546
|
+
// (38:0) {#key callback}
|
|
25547
|
+
function create_key_block(ctx) {
|
|
25319
25548
|
let input;
|
|
25320
25549
|
let current;
|
|
25321
25550
|
|
|
@@ -25348,7 +25577,7 @@ function create_fragment$e(ctx) {
|
|
|
25348
25577
|
mount_component(input, target, anchor);
|
|
25349
25578
|
current = true;
|
|
25350
25579
|
},
|
|
25351
|
-
p(ctx,
|
|
25580
|
+
p(ctx, dirty) {
|
|
25352
25581
|
const input_changes = {};
|
|
25353
25582
|
if (dirty & /*callbackMetadata*/ 2) input_changes.isFirstInvalidInput = /*callbackMetadata*/ ctx[1]?.derived.isFirstInvalidInput || false;
|
|
25354
25583
|
if (dirty & /*isRequired*/ 64) input_changes.isRequired = /*isRequired*/ ctx[6];
|
|
@@ -25385,6 +25614,51 @@ function create_fragment$e(ctx) {
|
|
|
25385
25614
|
};
|
|
25386
25615
|
}
|
|
25387
25616
|
|
|
25617
|
+
function create_fragment$e(ctx) {
|
|
25618
|
+
let previous_key = /*callback*/ ctx[0];
|
|
25619
|
+
let key_block_anchor;
|
|
25620
|
+
let current;
|
|
25621
|
+
let key_block = create_key_block(ctx);
|
|
25622
|
+
|
|
25623
|
+
return {
|
|
25624
|
+
c() {
|
|
25625
|
+
key_block.c();
|
|
25626
|
+
key_block_anchor = empty();
|
|
25627
|
+
},
|
|
25628
|
+
m(target, anchor) {
|
|
25629
|
+
key_block.m(target, anchor);
|
|
25630
|
+
insert(target, key_block_anchor, anchor);
|
|
25631
|
+
current = true;
|
|
25632
|
+
},
|
|
25633
|
+
p(ctx, [dirty]) {
|
|
25634
|
+
if (dirty & /*callback*/ 1 && safe_not_equal(previous_key, previous_key = /*callback*/ ctx[0])) {
|
|
25635
|
+
group_outros();
|
|
25636
|
+
transition_out(key_block, 1, 1, noop);
|
|
25637
|
+
check_outros();
|
|
25638
|
+
key_block = create_key_block(ctx);
|
|
25639
|
+
key_block.c();
|
|
25640
|
+
transition_in(key_block, 1);
|
|
25641
|
+
key_block.m(key_block_anchor.parentNode, key_block_anchor);
|
|
25642
|
+
} else {
|
|
25643
|
+
key_block.p(ctx, dirty);
|
|
25644
|
+
}
|
|
25645
|
+
},
|
|
25646
|
+
i(local) {
|
|
25647
|
+
if (current) return;
|
|
25648
|
+
transition_in(key_block);
|
|
25649
|
+
current = true;
|
|
25650
|
+
},
|
|
25651
|
+
o(local) {
|
|
25652
|
+
transition_out(key_block);
|
|
25653
|
+
current = false;
|
|
25654
|
+
},
|
|
25655
|
+
d(detaching) {
|
|
25656
|
+
if (detaching) detach(key_block_anchor);
|
|
25657
|
+
key_block.d(detaching);
|
|
25658
|
+
}
|
|
25659
|
+
};
|
|
25660
|
+
}
|
|
25661
|
+
|
|
25388
25662
|
function instance$f($$self, $$props, $$invalidate) {
|
|
25389
25663
|
const selfSubmitFunction = null;
|
|
25390
25664
|
const stepMetadata = null;
|