@plaidev/karte-action-sdk 1.1.130 → 1.1.131-27959459.4bcace4e
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.d.ts +24 -20
- package/dist/hydrate/index.es.js +224 -372
- package/dist/index.es.d.ts +24 -20
- package/dist/index.es.js +219 -323
- package/dist/templates.cjs.js +1 -1
- package/dist/templates.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -1465,6 +1465,8 @@ const Justifies = ['flex-start', 'center', 'flex-end'];
|
|
1465
1465
|
/** @internal */
|
1466
1466
|
const Alignments = ['flex-start', 'center', 'flex-end'];
|
1467
1467
|
/** @internal */
|
1468
|
+
const FlexDirections = ['row', 'column'];
|
1469
|
+
/** @internal */
|
1468
1470
|
const ObjectFits = ['fill', 'contain', 'cover'];
|
1469
1471
|
/** @internal */
|
1470
1472
|
const ClipPaths = ['none', 'circle(closest-side)'];
|
@@ -1545,10 +1547,6 @@ const DefaultFormSelectStyle = {
|
|
1545
1547
|
colorArrow: '#333',
|
1546
1548
|
colorFocused: '#2aab9f',
|
1547
1549
|
};
|
1548
|
-
/** @internal */
|
1549
|
-
const FormRatingButtonTypes = ['star', 'face'];
|
1550
|
-
/** @internal */
|
1551
|
-
const DefaultFormRatingButtonType = 'star';
|
1552
1550
|
|
1553
1551
|
const DEFAULT_COLLECTION_ENDPOINT = typeof __FLYER_GEN_COLLECTION_API_ENDPOINT__ === 'string'
|
1554
1552
|
? __FLYER_GEN_COLLECTION_API_ENDPOINT__
|
@@ -2587,7 +2585,7 @@ function add_css$n(target) {
|
|
2587
2585
|
}
|
2588
2586
|
|
2589
2587
|
// (23:0) {#if $state === path}
|
2590
|
-
function create_if_block$
|
2588
|
+
function create_if_block$6(ctx) {
|
2591
2589
|
let div;
|
2592
2590
|
let t;
|
2593
2591
|
let current;
|
@@ -2652,7 +2650,7 @@ function create_if_block$7(ctx) {
|
|
2652
2650
|
function create_fragment$q(ctx) {
|
2653
2651
|
let if_block_anchor;
|
2654
2652
|
let current;
|
2655
|
-
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$
|
2653
|
+
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$6(ctx);
|
2656
2654
|
|
2657
2655
|
return {
|
2658
2656
|
c() {
|
@@ -2673,7 +2671,7 @@ function create_fragment$q(ctx) {
|
|
2673
2671
|
transition_in(if_block, 1);
|
2674
2672
|
}
|
2675
2673
|
} else {
|
2676
|
-
if_block = create_if_block$
|
2674
|
+
if_block = create_if_block$6(ctx);
|
2677
2675
|
if_block.c();
|
2678
2676
|
transition_in(if_block, 1);
|
2679
2677
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -2747,7 +2745,7 @@ function add_css$m(target) {
|
|
2747
2745
|
}
|
2748
2746
|
|
2749
2747
|
// (9:0) {#if backgroundOverray}
|
2750
|
-
function create_if_block$
|
2748
|
+
function create_if_block$5(ctx) {
|
2751
2749
|
let div;
|
2752
2750
|
let mounted;
|
2753
2751
|
let dispose;
|
@@ -2776,7 +2774,7 @@ function create_if_block$6(ctx) {
|
|
2776
2774
|
|
2777
2775
|
function create_fragment$p(ctx) {
|
2778
2776
|
let if_block_anchor;
|
2779
|
-
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$
|
2777
|
+
let if_block = /*backgroundOverray*/ ctx[0] && create_if_block$5(ctx);
|
2780
2778
|
|
2781
2779
|
return {
|
2782
2780
|
c() {
|
@@ -2792,7 +2790,7 @@ function create_fragment$p(ctx) {
|
|
2792
2790
|
if (if_block) {
|
2793
2791
|
if_block.p(ctx, dirty);
|
2794
2792
|
} else {
|
2795
|
-
if_block = create_if_block$
|
2793
|
+
if_block = create_if_block$5(ctx);
|
2796
2794
|
if_block.c();
|
2797
2795
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
2798
2796
|
}
|
@@ -2835,8 +2833,8 @@ function add_css$l(target) {
|
|
2835
2833
|
append_styles(target, "svelte-12dkw0q", ".modal.svelte-12dkw0q{position:fixed;box-sizing:border-box;z-index:2147483647}.close.svelte-12dkw0q{position:absolute;display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;padding:0;transition:all 0.25s}.close.svelte-12dkw0q:hover{transform:rotate(90deg)}.modal-content.svelte-12dkw0q{display:flex;justify-content:center;align-items:center}");
|
2836
2834
|
}
|
2837
2835
|
|
2838
|
-
// (
|
2839
|
-
function create_if_block$
|
2836
|
+
// (149:0) {#if visible}
|
2837
|
+
function create_if_block$4(ctx) {
|
2840
2838
|
let div1;
|
2841
2839
|
let t;
|
2842
2840
|
let div0;
|
@@ -2845,7 +2843,7 @@ function create_if_block$5(ctx) {
|
|
2845
2843
|
let current;
|
2846
2844
|
let mounted;
|
2847
2845
|
let dispose;
|
2848
|
-
let if_block = /*closable*/ ctx[14] && create_if_block_1$
|
2846
|
+
let if_block = /*closable*/ ctx[14] && create_if_block_1$1(ctx);
|
2849
2847
|
const default_slot_template = /*#slots*/ ctx[29].default;
|
2850
2848
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[28], null);
|
2851
2849
|
|
@@ -2861,7 +2859,7 @@ function create_if_block$5(ctx) {
|
|
2861
2859
|
attr(div1, "class", "modal svelte-12dkw0q");
|
2862
2860
|
attr(div1, "role", "dialog");
|
2863
2861
|
attr(div1, "aria-modal", "true");
|
2864
|
-
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[
|
2862
|
+
attr(div1, "style", div1_style_value = "" + /*pos*/ ctx[11] + " " + /*marginStyle*/ ctx[9] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[12]] + "");
|
2865
2863
|
},
|
2866
2864
|
m(target, anchor) {
|
2867
2865
|
insert(target, div1, anchor);
|
@@ -2891,7 +2889,7 @@ function create_if_block$5(ctx) {
|
|
2891
2889
|
if (if_block) {
|
2892
2890
|
if_block.p(ctx, dirty);
|
2893
2891
|
} else {
|
2894
|
-
if_block = create_if_block_1$
|
2892
|
+
if_block = create_if_block_1$1(ctx);
|
2895
2893
|
if_block.c();
|
2896
2894
|
if_block.m(div1, t);
|
2897
2895
|
}
|
@@ -2919,7 +2917,7 @@ function create_if_block$5(ctx) {
|
|
2919
2917
|
attr(div0, "style", /*_style*/ ctx[1]);
|
2920
2918
|
}
|
2921
2919
|
|
2922
|
-
if (!current || dirty & /*pos, marginStyle, overwriteElasticity*/
|
2920
|
+
if (!current || dirty & /*pos, marginStyle, overwriteElasticity*/ 6656 && div1_style_value !== (div1_style_value = "" + /*pos*/ ctx[11] + " " + /*marginStyle*/ ctx[9] + " " + ElasticityStyle[/*overwriteElasticity*/ ctx[12]] + "")) {
|
2923
2921
|
attr(div1, "style", div1_style_value);
|
2924
2922
|
}
|
2925
2923
|
},
|
@@ -2930,7 +2928,7 @@ function create_if_block$5(ctx) {
|
|
2930
2928
|
if (!div1_intro) {
|
2931
2929
|
add_render_callback(() => {
|
2932
2930
|
div1_intro = create_in_transition(div1, customAnimation, {
|
2933
|
-
transform: /*transform*/ ctx[
|
2931
|
+
transform: /*transform*/ ctx[10],
|
2934
2932
|
animationStyle: /*animation*/ ctx[0]
|
2935
2933
|
});
|
2936
2934
|
|
@@ -2955,8 +2953,8 @@ function create_if_block$5(ctx) {
|
|
2955
2953
|
};
|
2956
2954
|
}
|
2957
2955
|
|
2958
|
-
// (
|
2959
|
-
function create_if_block_1$
|
2956
|
+
// (166:4) {#if closable}
|
2957
|
+
function create_if_block_1$1(ctx) {
|
2960
2958
|
let button;
|
2961
2959
|
let svg;
|
2962
2960
|
let path;
|
@@ -3022,15 +3020,15 @@ function create_fragment$o(ctx) {
|
|
3022
3020
|
|
3023
3021
|
backgroundoverray = new BackgroundOverray({
|
3024
3022
|
props: {
|
3025
|
-
backgroundOverray: /*backgroundOverray*/ ctx[
|
3023
|
+
backgroundOverray: /*backgroundOverray*/ ctx[6]
|
3026
3024
|
}
|
3027
3025
|
});
|
3028
3026
|
|
3029
3027
|
backgroundoverray.$on("click", function () {
|
3030
|
-
if (is_function(/*backgroundClick*/ ctx[
|
3028
|
+
if (is_function(/*backgroundClick*/ ctx[13])) /*backgroundClick*/ ctx[13].apply(this, arguments);
|
3031
3029
|
});
|
3032
3030
|
|
3033
|
-
let if_block = /*visible*/ ctx[
|
3031
|
+
let if_block = /*visible*/ ctx[7] && create_if_block$4(ctx);
|
3034
3032
|
|
3035
3033
|
return {
|
3036
3034
|
c() {
|
@@ -3048,7 +3046,7 @@ function create_fragment$o(ctx) {
|
|
3048
3046
|
|
3049
3047
|
if (!mounted) {
|
3050
3048
|
dispose = listen(window, "keydown", function () {
|
3051
|
-
if (is_function(/*handle_keydown*/ ctx[
|
3049
|
+
if (is_function(/*handle_keydown*/ ctx[8])) /*handle_keydown*/ ctx[8].apply(this, arguments);
|
3052
3050
|
});
|
3053
3051
|
|
3054
3052
|
mounted = true;
|
@@ -3057,18 +3055,18 @@ function create_fragment$o(ctx) {
|
|
3057
3055
|
p(new_ctx, [dirty]) {
|
3058
3056
|
ctx = new_ctx;
|
3059
3057
|
const backgroundoverray_changes = {};
|
3060
|
-
if (dirty & /*backgroundOverray*/
|
3058
|
+
if (dirty & /*backgroundOverray*/ 64) backgroundoverray_changes.backgroundOverray = /*backgroundOverray*/ ctx[6];
|
3061
3059
|
backgroundoverray.$set(backgroundoverray_changes);
|
3062
3060
|
|
3063
|
-
if (/*visible*/ ctx[
|
3061
|
+
if (/*visible*/ ctx[7]) {
|
3064
3062
|
if (if_block) {
|
3065
3063
|
if_block.p(ctx, dirty);
|
3066
3064
|
|
3067
|
-
if (dirty & /*visible*/
|
3065
|
+
if (dirty & /*visible*/ 128) {
|
3068
3066
|
transition_in(if_block, 1);
|
3069
3067
|
}
|
3070
3068
|
} else {
|
3071
|
-
if_block = create_if_block$
|
3069
|
+
if_block = create_if_block$4(ctx);
|
3072
3070
|
if_block.c();
|
3073
3071
|
transition_in(if_block, 1);
|
3074
3072
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
@@ -3109,8 +3107,6 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3109
3107
|
let click;
|
3110
3108
|
let close;
|
3111
3109
|
let closable;
|
3112
|
-
let backgroundOverray;
|
3113
|
-
let backgroundClickFunction;
|
3114
3110
|
let backgroundClick;
|
3115
3111
|
let overwritePosition;
|
3116
3112
|
let overwriteMargin;
|
@@ -3135,10 +3131,12 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3135
3131
|
let { closeEventValue = null } = $$props;
|
3136
3132
|
let { closeButtonColor = '#000000' } = $$props;
|
3137
3133
|
let { _closeStyle = '' } = $$props;
|
3134
|
+
let backgroundOverray = DefaultModalPlacement.backgroundOverlay;
|
3135
|
+
let backgroundClickFunction = DefaultModalPlacement.backgroundClick;
|
3138
3136
|
let modal;
|
3139
3137
|
|
3140
3138
|
onMount(() => {
|
3141
|
-
$$invalidate(
|
3139
|
+
$$invalidate(7, visible = true);
|
3142
3140
|
});
|
3143
3141
|
|
3144
3142
|
onDestroy$1(() => setPreviousFocus());
|
@@ -3192,19 +3190,23 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3192
3190
|
}
|
3193
3191
|
|
3194
3192
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3195
|
-
|
3196
|
-
|
3197
|
-
|
3193
|
+
{
|
3194
|
+
if (placement && placement.backgroundOverlay !== null) {
|
3195
|
+
$$invalidate(6, backgroundOverray = placement.backgroundOverlay);
|
3196
|
+
}
|
3197
|
+
}
|
3198
3198
|
}
|
3199
3199
|
|
3200
3200
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3201
|
-
|
3202
|
-
|
3203
|
-
|
3201
|
+
{
|
3202
|
+
if (placement && placement.backgroundClick !== null) {
|
3203
|
+
$$invalidate(25, backgroundClickFunction = placement.backgroundClick);
|
3204
|
+
}
|
3205
|
+
}
|
3204
3206
|
}
|
3205
3207
|
|
3206
|
-
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/
|
3207
|
-
$$invalidate(
|
3208
|
+
if ($$self.$$.dirty & /*closeEventName, closeEventValue, backgroundClickFunction*/ 58720256) {
|
3209
|
+
$$invalidate(13, backgroundClick = () => {
|
3208
3210
|
if (closeEventName) {
|
3209
3211
|
send_event(closeEventName, closeEventValue);
|
3210
3212
|
}
|
@@ -3214,42 +3216,42 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3214
3216
|
}
|
3215
3217
|
|
3216
3218
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3217
|
-
$$invalidate(
|
3219
|
+
$$invalidate(27, overwritePosition = placement && placement.position != null
|
3218
3220
|
? placement.position
|
3219
3221
|
: DefaultModalPlacement.position);
|
3220
3222
|
}
|
3221
3223
|
|
3222
3224
|
if ($$self.$$.dirty & /*placement*/ 1048576) {
|
3223
|
-
$$invalidate(
|
3225
|
+
$$invalidate(26, overwriteMargin = placement && placement.margin != null
|
3224
3226
|
? placement.margin
|
3225
3227
|
: DefaultModalPlacement.margin);
|
3226
3228
|
}
|
3227
3229
|
|
3228
3230
|
if ($$self.$$.dirty & /*elasticity*/ 2097152) {
|
3229
|
-
$$invalidate(
|
3231
|
+
$$invalidate(12, overwriteElasticity = elasticity);
|
3230
3232
|
}
|
3231
3233
|
|
3232
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3233
|
-
$$invalidate(
|
3234
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3235
|
+
$$invalidate(11, pos = getPositionStyle(overwritePosition));
|
3234
3236
|
}
|
3235
3237
|
|
3236
|
-
if ($$self.$$.dirty & /*overwritePosition*/
|
3237
|
-
$$invalidate(
|
3238
|
+
if ($$self.$$.dirty & /*overwritePosition*/ 134217728) {
|
3239
|
+
$$invalidate(10, transform = getTransform(overwritePosition));
|
3238
3240
|
}
|
3239
3241
|
|
3240
|
-
if ($$self.$$.dirty & /*overwriteMargin*/
|
3241
|
-
$$invalidate(
|
3242
|
+
if ($$self.$$.dirty & /*overwriteMargin*/ 67108864) {
|
3243
|
+
$$invalidate(9, marginStyle = getMarginStyle(overwriteMargin));
|
3242
3244
|
}
|
3243
3245
|
|
3244
3246
|
if ($$self.$$.dirty & /*close, modal*/ 48) {
|
3245
|
-
$$invalidate(
|
3247
|
+
$$invalidate(8, handle_keydown = handleKeydown({ Escape: close, Tab: handleFocus(modal) }));
|
3246
3248
|
}
|
3247
3249
|
};
|
3248
3250
|
|
3249
3251
|
$$invalidate(4, modal = null);
|
3250
3252
|
|
3251
3253
|
// svelteコンポーネントのアニメーションを発火させるためにマウント時にvisibleをtrueにする。
|
3252
|
-
$$invalidate(
|
3254
|
+
$$invalidate(7, visible = false);
|
3253
3255
|
|
3254
3256
|
return [
|
3255
3257
|
animation,
|
@@ -3258,6 +3260,7 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3258
3260
|
_closeStyle,
|
3259
3261
|
modal,
|
3260
3262
|
close,
|
3263
|
+
backgroundOverray,
|
3261
3264
|
visible,
|
3262
3265
|
handle_keydown,
|
3263
3266
|
marginStyle,
|
@@ -3265,7 +3268,6 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3265
3268
|
pos,
|
3266
3269
|
overwriteElasticity,
|
3267
3270
|
backgroundClick,
|
3268
|
-
backgroundOverray,
|
3269
3271
|
closable,
|
3270
3272
|
click,
|
3271
3273
|
$maximumZindex,
|
@@ -3277,9 +3279,9 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
3277
3279
|
onClose,
|
3278
3280
|
closeEventName,
|
3279
3281
|
closeEventValue,
|
3282
|
+
backgroundClickFunction,
|
3280
3283
|
overwriteMargin,
|
3281
3284
|
overwritePosition,
|
3282
|
-
backgroundClickFunction,
|
3283
3285
|
$$scope,
|
3284
3286
|
slots,
|
3285
3287
|
div1_binding
|
@@ -4131,7 +4133,7 @@ function create_else_block$1(ctx) {
|
|
4131
4133
|
}
|
4132
4134
|
|
4133
4135
|
// (10:2) {#if item.match(regexp)}
|
4134
|
-
function create_if_block$
|
4136
|
+
function create_if_block$3(ctx) {
|
4135
4137
|
let br;
|
4136
4138
|
|
4137
4139
|
return {
|
@@ -4156,7 +4158,7 @@ function create_each_block$5(ctx) {
|
|
4156
4158
|
function select_block_type(ctx, dirty) {
|
4157
4159
|
if (dirty & /*items*/ 1) show_if = null;
|
4158
4160
|
if (show_if == null) show_if = !!/*item*/ ctx[2].match(regexp);
|
4159
|
-
if (show_if) return create_if_block$
|
4161
|
+
if (show_if) return create_if_block$3;
|
4160
4162
|
return create_else_block$1;
|
4161
4163
|
}
|
4162
4164
|
|
@@ -4282,7 +4284,7 @@ function add_css$h(target) {
|
|
4282
4284
|
}
|
4283
4285
|
|
4284
4286
|
// (56:2) {#if enableCopy}
|
4285
|
-
function create_if_block$
|
4287
|
+
function create_if_block$2(ctx) {
|
4286
4288
|
let div0;
|
4287
4289
|
let t1;
|
4288
4290
|
let div1;
|
@@ -4326,7 +4328,7 @@ function create_fragment$h(ctx) {
|
|
4326
4328
|
let mounted;
|
4327
4329
|
let dispose;
|
4328
4330
|
rendertext = new RenderText({ props: { text: /*text*/ ctx[0] } });
|
4329
|
-
let if_block = /*enableCopy*/ ctx[1] && create_if_block$
|
4331
|
+
let if_block = /*enableCopy*/ ctx[1] && create_if_block$2(ctx);
|
4330
4332
|
|
4331
4333
|
return {
|
4332
4334
|
c() {
|
@@ -4372,7 +4374,7 @@ function create_fragment$h(ctx) {
|
|
4372
4374
|
if (if_block) {
|
4373
4375
|
if_block.p(ctx, dirty);
|
4374
4376
|
} else {
|
4375
|
-
if_block = create_if_block$
|
4377
|
+
if_block = create_if_block$2(ctx);
|
4376
4378
|
if_block.c();
|
4377
4379
|
if_block.m(div2, null);
|
4378
4380
|
}
|
@@ -5705,17 +5707,17 @@ class FormTextarea extends SvelteComponent {
|
|
5705
5707
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
5706
5708
|
|
5707
5709
|
function add_css$8(target) {
|
5708
|
-
append_styles(target, "svelte-
|
5710
|
+
append_styles(target, "svelte-17es5zb", ".radio-buttons.svelte-17es5zb{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-17es5zb{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-17es5zb{appearance:none;margin:0;width:var(--size);height:var(--size);box-sizing:border-box;border-radius:var(--size);position:relative;background-color:var(--color-inactive);cursor:pointer;flex:none}.radio-button-input.svelte-17es5zb:checked{border:solid calc(var(--size) / 3) var(--color-active);background-color:#fff;box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-17es5zb{margin-left:0.5em}");
|
5709
5711
|
}
|
5710
5712
|
|
5711
5713
|
function get_each_context$4(ctx, list, i) {
|
5712
5714
|
const child_ctx = ctx.slice();
|
5713
|
-
child_ctx[
|
5714
|
-
child_ctx[
|
5715
|
+
child_ctx[13] = list[i];
|
5716
|
+
child_ctx[15] = i;
|
5715
5717
|
return child_ctx;
|
5716
5718
|
}
|
5717
5719
|
|
5718
|
-
// (
|
5720
|
+
// (62:2) {#each _options as option, i}
|
5719
5721
|
function create_each_block$4(ctx) {
|
5720
5722
|
let label;
|
5721
5723
|
let input;
|
@@ -5723,7 +5725,7 @@ function create_each_block$4(ctx) {
|
|
5723
5725
|
let input_checked_value;
|
5724
5726
|
let t0;
|
5725
5727
|
let span;
|
5726
|
-
let t1_value = /*option*/ ctx[
|
5728
|
+
let t1_value = /*option*/ ctx[13] + "";
|
5727
5729
|
let t1;
|
5728
5730
|
let t2;
|
5729
5731
|
let mounted;
|
@@ -5738,14 +5740,14 @@ function create_each_block$4(ctx) {
|
|
5738
5740
|
t1 = text(t1_value);
|
5739
5741
|
t2 = space();
|
5740
5742
|
attr(input, "type", "radio");
|
5741
|
-
attr(input, "class", "radio-button-input svelte-
|
5742
|
-
attr(input, "style", /*_buttonStyle*/ ctx[
|
5743
|
+
attr(input, "class", "radio-button-input svelte-17es5zb");
|
5744
|
+
attr(input, "style", /*_buttonStyle*/ ctx[5]);
|
5743
5745
|
attr(input, "name", /*name*/ ctx[0]);
|
5744
|
-
input.value = input_value_value = /*option*/ ctx[
|
5745
|
-
input.checked = input_checked_value = /*option*/ ctx[
|
5746
|
-
attr(span, "class", "radio-button-text svelte-
|
5747
|
-
attr(span, "style", /*textStyle*/ ctx[
|
5748
|
-
attr(label, "class", "radio-button svelte-
|
5746
|
+
input.value = input_value_value = /*option*/ ctx[13];
|
5747
|
+
input.checked = input_checked_value = /*option*/ ctx[13] === /*_value*/ ctx[3];
|
5748
|
+
attr(span, "class", "radio-button-text svelte-17es5zb");
|
5749
|
+
attr(span, "style", /*textStyle*/ ctx[2]);
|
5750
|
+
attr(label, "class", "radio-button svelte-17es5zb");
|
5749
5751
|
},
|
5750
5752
|
m(target, anchor) {
|
5751
5753
|
insert(target, label, anchor);
|
@@ -5756,33 +5758,33 @@ function create_each_block$4(ctx) {
|
|
5756
5758
|
append(label, t2);
|
5757
5759
|
|
5758
5760
|
if (!mounted) {
|
5759
|
-
dispose = listen(input, "change", /*handleChange*/ ctx[
|
5761
|
+
dispose = listen(input, "change", /*handleChange*/ ctx[7](/*i*/ ctx[15]));
|
5760
5762
|
mounted = true;
|
5761
5763
|
}
|
5762
5764
|
},
|
5763
5765
|
p(new_ctx, dirty) {
|
5764
5766
|
ctx = new_ctx;
|
5765
5767
|
|
5766
|
-
if (dirty & /*_buttonStyle*/
|
5767
|
-
attr(input, "style", /*_buttonStyle*/ ctx[
|
5768
|
+
if (dirty & /*_buttonStyle*/ 32) {
|
5769
|
+
attr(input, "style", /*_buttonStyle*/ ctx[5]);
|
5768
5770
|
}
|
5769
5771
|
|
5770
5772
|
if (dirty & /*name*/ 1) {
|
5771
5773
|
attr(input, "name", /*name*/ ctx[0]);
|
5772
5774
|
}
|
5773
5775
|
|
5774
|
-
if (dirty & /*_options*/
|
5776
|
+
if (dirty & /*_options*/ 16 && input_value_value !== (input_value_value = /*option*/ ctx[13])) {
|
5775
5777
|
input.value = input_value_value;
|
5776
5778
|
}
|
5777
5779
|
|
5778
|
-
if (dirty & /*_options, _value*/
|
5780
|
+
if (dirty & /*_options, _value*/ 24 && input_checked_value !== (input_checked_value = /*option*/ ctx[13] === /*_value*/ ctx[3])) {
|
5779
5781
|
input.checked = input_checked_value;
|
5780
5782
|
}
|
5781
5783
|
|
5782
|
-
if (dirty & /*_options*/
|
5784
|
+
if (dirty & /*_options*/ 16 && t1_value !== (t1_value = /*option*/ ctx[13] + "")) set_data(t1, t1_value);
|
5783
5785
|
|
5784
|
-
if (dirty & /*textStyle*/
|
5785
|
-
attr(span, "style", /*textStyle*/ ctx[
|
5786
|
+
if (dirty & /*textStyle*/ 4) {
|
5787
|
+
attr(span, "style", /*textStyle*/ ctx[2]);
|
5786
5788
|
}
|
5787
5789
|
},
|
5788
5790
|
d(detaching) {
|
@@ -5795,7 +5797,7 @@ function create_each_block$4(ctx) {
|
|
5795
5797
|
|
5796
5798
|
function create_fragment$8(ctx) {
|
5797
5799
|
let div;
|
5798
|
-
let each_value = /*_options*/ ctx[
|
5800
|
+
let each_value = /*_options*/ ctx[4];
|
5799
5801
|
let each_blocks = [];
|
5800
5802
|
|
5801
5803
|
for (let i = 0; i < each_value.length; i += 1) {
|
@@ -5810,7 +5812,8 @@ function create_fragment$8(ctx) {
|
|
5810
5812
|
each_blocks[i].c();
|
5811
5813
|
}
|
5812
5814
|
|
5813
|
-
attr(div, "class", "radio-buttons svelte-
|
5815
|
+
attr(div, "class", "radio-buttons svelte-17es5zb");
|
5816
|
+
attr(div, "style", /*layoutStyle*/ ctx[1]);
|
5814
5817
|
},
|
5815
5818
|
m(target, anchor) {
|
5816
5819
|
insert(target, div, anchor);
|
@@ -5820,8 +5823,8 @@ function create_fragment$8(ctx) {
|
|
5820
5823
|
}
|
5821
5824
|
},
|
5822
5825
|
p(ctx, [dirty]) {
|
5823
|
-
if (dirty & /*textStyle, _options, _buttonStyle, name, _value, handleChange*/
|
5824
|
-
each_value = /*_options*/ ctx[
|
5826
|
+
if (dirty & /*textStyle, _options, _buttonStyle, name, _value, handleChange*/ 189) {
|
5827
|
+
each_value = /*_options*/ ctx[4];
|
5825
5828
|
let i;
|
5826
5829
|
|
5827
5830
|
for (i = 0; i < each_value.length; i += 1) {
|
@@ -5842,6 +5845,10 @@ function create_fragment$8(ctx) {
|
|
5842
5845
|
|
5843
5846
|
each_blocks.length = each_value.length;
|
5844
5847
|
}
|
5848
|
+
|
5849
|
+
if (dirty & /*layoutStyle*/ 2) {
|
5850
|
+
attr(div, "style", /*layoutStyle*/ ctx[1]);
|
5851
|
+
}
|
5845
5852
|
},
|
5846
5853
|
i: noop,
|
5847
5854
|
o: noop,
|
@@ -5860,6 +5867,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
5860
5867
|
let { name = '' } = $$props;
|
5861
5868
|
let { options = 'ラジオボタン1,ラジオボタン2,ラジオボタン3' } = $$props;
|
5862
5869
|
let { required = false } = $$props;
|
5870
|
+
let { layoutStyle = 'flex-direction: column; gap: 0px;' } = $$props;
|
5863
5871
|
let { textStyle = 'color: #333; font-size: 12px;' } = $$props;
|
5864
5872
|
|
5865
5873
|
let { buttonStyle = {
|
@@ -5880,7 +5888,7 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
5880
5888
|
}
|
5881
5889
|
});
|
5882
5890
|
|
5883
|
-
component_subscribe($$self, value, value => $$invalidate(
|
5891
|
+
component_subscribe($$self, value, value => $$invalidate(11, $value = value));
|
5884
5892
|
|
5885
5893
|
const handleChange = index => event => {
|
5886
5894
|
if (event.target.checked) {
|
@@ -5890,28 +5898,30 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
5890
5898
|
|
5891
5899
|
$$self.$$set = $$props => {
|
5892
5900
|
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
5893
|
-
if ('options' in $$props) $$invalidate(
|
5894
|
-
if ('required' in $$props) $$invalidate(
|
5895
|
-
if ('
|
5896
|
-
if ('
|
5901
|
+
if ('options' in $$props) $$invalidate(8, options = $$props.options);
|
5902
|
+
if ('required' in $$props) $$invalidate(9, required = $$props.required);
|
5903
|
+
if ('layoutStyle' in $$props) $$invalidate(1, layoutStyle = $$props.layoutStyle);
|
5904
|
+
if ('textStyle' in $$props) $$invalidate(2, textStyle = $$props.textStyle);
|
5905
|
+
if ('buttonStyle' in $$props) $$invalidate(10, buttonStyle = $$props.buttonStyle);
|
5897
5906
|
};
|
5898
5907
|
|
5899
5908
|
$$self.$$.update = () => {
|
5900
|
-
if ($$self.$$.dirty & /*options*/
|
5901
|
-
$$invalidate(
|
5909
|
+
if ($$self.$$.dirty & /*options*/ 256) {
|
5910
|
+
$$invalidate(4, _options = options.split(','));
|
5902
5911
|
}
|
5903
5912
|
|
5904
|
-
if ($$self.$$.dirty & /*buttonStyle*/
|
5905
|
-
$$invalidate(
|
5913
|
+
if ($$self.$$.dirty & /*buttonStyle*/ 1024) {
|
5914
|
+
$$invalidate(5, _buttonStyle = `--size: ${buttonStyle.size}; --color-active: ${buttonStyle.colorActive}; --color-inactive: ${buttonStyle.colorInactive}`);
|
5906
5915
|
}
|
5907
5916
|
|
5908
|
-
if ($$self.$$.dirty & /*$value*/
|
5909
|
-
$$invalidate(
|
5917
|
+
if ($$self.$$.dirty & /*$value*/ 2048) {
|
5918
|
+
$$invalidate(3, _value = $value[0]);
|
5910
5919
|
}
|
5911
5920
|
};
|
5912
5921
|
|
5913
5922
|
return [
|
5914
5923
|
name,
|
5924
|
+
layoutStyle,
|
5915
5925
|
textStyle,
|
5916
5926
|
_value,
|
5917
5927
|
_options,
|
@@ -5937,10 +5947,11 @@ class FormRadioButtons extends SvelteComponent {
|
|
5937
5947
|
safe_not_equal,
|
5938
5948
|
{
|
5939
5949
|
name: 0,
|
5940
|
-
options:
|
5941
|
-
required:
|
5942
|
-
|
5943
|
-
|
5950
|
+
options: 8,
|
5951
|
+
required: 9,
|
5952
|
+
layoutStyle: 1,
|
5953
|
+
textStyle: 2,
|
5954
|
+
buttonStyle: 10
|
5944
5955
|
},
|
5945
5956
|
add_css$8
|
5946
5957
|
);
|
@@ -5950,7 +5961,7 @@ class FormRadioButtons extends SvelteComponent {
|
|
5950
5961
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
5951
5962
|
|
5952
5963
|
function add_css$7(target) {
|
5953
|
-
append_styles(target, "svelte-
|
5964
|
+
append_styles(target, "svelte-wy1i8s", ".select.svelte-wy1i8s{width:100%;height:100%}.select-select.svelte-wy1i8s{position:relative;appearance:none;width:100%;height:100%}.select-select.svelte-wy1i8s:focus{outline:none;border-color:var(--color-focused) !important}.select-icon.svelte-wy1i8s{position:absolute;width:0.5em;height:0.5em;top:calc(50% - 0.2em);right:0.8em;box-sizing:border-box;border-right:solid 2px var(--color-arrow);border-top:solid 2px var(--color-arrow);transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
|
5954
5965
|
}
|
5955
5966
|
|
5956
5967
|
function get_each_context$3(ctx, list, i) {
|
@@ -5960,7 +5971,7 @@ function get_each_context$3(ctx, list, i) {
|
|
5960
5971
|
return child_ctx;
|
5961
5972
|
}
|
5962
5973
|
|
5963
|
-
// (
|
5974
|
+
// (55:10) {:else}
|
5964
5975
|
function create_else_block(ctx) {
|
5965
5976
|
let t;
|
5966
5977
|
|
@@ -5978,8 +5989,8 @@ function create_else_block(ctx) {
|
|
5978
5989
|
};
|
5979
5990
|
}
|
5980
5991
|
|
5981
|
-
// (
|
5982
|
-
function create_if_block$
|
5992
|
+
// (53:10) {#if option}
|
5993
|
+
function create_if_block$1(ctx) {
|
5983
5994
|
let t_value = /*option*/ ctx[10] + "";
|
5984
5995
|
let t;
|
5985
5996
|
|
@@ -5999,14 +6010,14 @@ function create_if_block$2(ctx) {
|
|
5999
6010
|
};
|
6000
6011
|
}
|
6001
6012
|
|
6002
|
-
// (
|
6013
|
+
// (51:6) {#each _options as option, i}
|
6003
6014
|
function create_each_block$3(ctx) {
|
6004
6015
|
let option;
|
6005
6016
|
let t;
|
6006
6017
|
let option_value_value;
|
6007
6018
|
|
6008
6019
|
function select_block_type(ctx, dirty) {
|
6009
|
-
if (/*option*/ ctx[10]) return create_if_block$
|
6020
|
+
if (/*option*/ ctx[10]) return create_if_block$1;
|
6010
6021
|
return create_else_block;
|
6011
6022
|
}
|
6012
6023
|
|
@@ -6052,7 +6063,6 @@ function create_each_block$3(ctx) {
|
|
6052
6063
|
}
|
6053
6064
|
|
6054
6065
|
function create_fragment$7(ctx) {
|
6055
|
-
let div2;
|
6056
6066
|
let div1;
|
6057
6067
|
let select;
|
6058
6068
|
let t;
|
@@ -6068,7 +6078,6 @@ function create_fragment$7(ctx) {
|
|
6068
6078
|
|
6069
6079
|
return {
|
6070
6080
|
c() {
|
6071
|
-
div2 = element("div");
|
6072
6081
|
div1 = element("div");
|
6073
6082
|
select = element("select");
|
6074
6083
|
|
@@ -6078,16 +6087,14 @@ function create_fragment$7(ctx) {
|
|
6078
6087
|
|
6079
6088
|
t = space();
|
6080
6089
|
div0 = element("div");
|
6081
|
-
attr(select, "class", "select-select svelte-
|
6090
|
+
attr(select, "class", "select-select svelte-wy1i8s");
|
6082
6091
|
attr(select, "style", /*_style*/ ctx[0]);
|
6083
|
-
attr(div0, "class", "select-icon svelte-
|
6084
|
-
attr(div1, "class", "select");
|
6092
|
+
attr(div0, "class", "select-icon svelte-wy1i8s");
|
6093
|
+
attr(div1, "class", "select svelte-wy1i8s");
|
6085
6094
|
attr(div1, "style", /*styleVariables*/ ctx[1]);
|
6086
|
-
attr(div2, "class", "select-wrapper svelte-1c94amx");
|
6087
6095
|
},
|
6088
6096
|
m(target, anchor) {
|
6089
|
-
insert(target,
|
6090
|
-
append(div2, div1);
|
6097
|
+
insert(target, div1, anchor);
|
6091
6098
|
append(div1, select);
|
6092
6099
|
|
6093
6100
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
@@ -6137,7 +6144,7 @@ function create_fragment$7(ctx) {
|
|
6137
6144
|
i: noop,
|
6138
6145
|
o: noop,
|
6139
6146
|
d(detaching) {
|
6140
|
-
if (detaching) detach(
|
6147
|
+
if (detaching) detach(div1);
|
6141
6148
|
destroy_each(each_blocks, detaching);
|
6142
6149
|
mounted = false;
|
6143
6150
|
dispose();
|
@@ -6151,7 +6158,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
6151
6158
|
let { name = '' } = $$props;
|
6152
6159
|
let { options = 'プルダウン1,プルダウン2,プルダウン3' } = $$props;
|
6153
6160
|
let { required = false } = $$props;
|
6154
|
-
let { _style = 'color: #333; cursor: pointer; background-color: #fff; border: solid 2px #ccc; border-radius: 6px; font-size: 12px; padding:
|
6161
|
+
let { _style = 'color: #333; cursor: pointer; background-color: #fff; border: solid 2px #ccc; border-radius: 6px; font-size: 12px; padding: 0 0 0 10px;' } = $$props;
|
6155
6162
|
|
6156
6163
|
let { selectStyle = {
|
6157
6164
|
colorArrow: '#333',
|
@@ -6230,17 +6237,17 @@ class FormSelect extends SvelteComponent {
|
|
6230
6237
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
6231
6238
|
|
6232
6239
|
function add_css$6(target) {
|
6233
|
-
append_styles(target, "svelte-
|
6240
|
+
append_styles(target, "svelte-y5vmhx", ".check-boxes.svelte-y5vmhx.svelte-y5vmhx{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.check-box.svelte-y5vmhx.svelte-y5vmhx{display:flex;align-items:center;position:relative;cursor:pointer}.check-box-input.svelte-y5vmhx.svelte-y5vmhx{width:0;height:0;margin:0}.check-box-check.svelte-y5vmhx.svelte-y5vmhx{display:inline-flex;background-color:var(--color-active);width:var(--size);height:var(--size);border-radius:calc(var(--size) / 4);justify-content:center;align-items:center;flex:none}.check-box-icon.svelte-y5vmhx.svelte-y5vmhx{display:inline-block;--icon-size:calc(var(--size) * 3 / 4);width:var(--icon-size);height:var(--icon-size)}.check-box-icon.svelte-y5vmhx.svelte-y5vmhx:after{content:'';display:block;box-sizing:border-box;width:45%;height:91%;transform:translate(60%, -8%) rotate(45deg);border-style:none solid solid none;border-width:2px;border-color:#fff}.check-box-check.svelte-y5vmhx.svelte-y5vmhx:not(._checked){background-color:var(--color-inactive)}.check-box-check.svelte-y5vmhx:not(._checked) .check-box-icon.svelte-y5vmhx{display:none}.check-box-text.svelte-y5vmhx.svelte-y5vmhx{margin-left:0.5em}");
|
6234
6241
|
}
|
6235
6242
|
|
6236
6243
|
function get_each_context$2(ctx, list, i) {
|
6237
6244
|
const child_ctx = ctx.slice();
|
6238
|
-
child_ctx[
|
6239
|
-
child_ctx[
|
6245
|
+
child_ctx[13] = list[i];
|
6246
|
+
child_ctx[15] = i;
|
6240
6247
|
return child_ctx;
|
6241
6248
|
}
|
6242
6249
|
|
6243
|
-
// (
|
6250
|
+
// (68:2) {#each _options as option, i}
|
6244
6251
|
function create_each_block$2(ctx) {
|
6245
6252
|
let label;
|
6246
6253
|
let input;
|
@@ -6251,7 +6258,7 @@ function create_each_block$2(ctx) {
|
|
6251
6258
|
let span1_class_value;
|
6252
6259
|
let t1;
|
6253
6260
|
let span2;
|
6254
|
-
let t2_value = /*option*/ ctx[
|
6261
|
+
let t2_value = /*option*/ ctx[13] + "";
|
6255
6262
|
let t2;
|
6256
6263
|
let t3;
|
6257
6264
|
let mounted;
|
@@ -6268,20 +6275,20 @@ function create_each_block$2(ctx) {
|
|
6268
6275
|
span2 = element("span");
|
6269
6276
|
t2 = text(t2_value);
|
6270
6277
|
t3 = space();
|
6271
|
-
attr(input, "class", "check-box-input svelte-
|
6278
|
+
attr(input, "class", "check-box-input svelte-y5vmhx");
|
6272
6279
|
attr(input, "type", "checkbox");
|
6273
6280
|
attr(input, "name", /*name*/ ctx[0]);
|
6274
|
-
input.checked = input_checked_value = /*isCheckedArray*/ ctx[
|
6275
|
-
attr(span0, "class", "check-box-icon svelte-
|
6281
|
+
input.checked = input_checked_value = /*isCheckedArray*/ ctx[4][/*i*/ ctx[15]];
|
6282
|
+
attr(span0, "class", "check-box-icon svelte-y5vmhx");
|
6276
6283
|
|
6277
|
-
attr(span1, "class", span1_class_value = "" + (null_to_empty(`check-box-check${/*isCheckedArray*/ ctx[
|
6284
|
+
attr(span1, "class", span1_class_value = "" + (null_to_empty(`check-box-check${/*isCheckedArray*/ ctx[4][/*i*/ ctx[15]]
|
6278
6285
|
? ' _checked'
|
6279
|
-
: ''}`) + " svelte-
|
6286
|
+
: ''}`) + " svelte-y5vmhx"));
|
6280
6287
|
|
6281
|
-
attr(span1, "style", /*_buttonStyle*/ ctx[
|
6282
|
-
attr(span2, "class", "check-box-text svelte-
|
6283
|
-
attr(span2, "style", /*textStyle*/ ctx[
|
6284
|
-
attr(label, "class", "check-box svelte-
|
6288
|
+
attr(span1, "style", /*_buttonStyle*/ ctx[5]);
|
6289
|
+
attr(span2, "class", "check-box-text svelte-y5vmhx");
|
6290
|
+
attr(span2, "style", /*textStyle*/ ctx[2]);
|
6291
|
+
attr(label, "class", "check-box svelte-y5vmhx");
|
6285
6292
|
},
|
6286
6293
|
m(target, anchor) {
|
6287
6294
|
insert(target, label, anchor);
|
@@ -6295,7 +6302,7 @@ function create_each_block$2(ctx) {
|
|
6295
6302
|
append(label, t3);
|
6296
6303
|
|
6297
6304
|
if (!mounted) {
|
6298
|
-
dispose = listen(input, "change", /*handleChange*/ ctx[
|
6305
|
+
dispose = listen(input, "change", /*handleChange*/ ctx[7](/*i*/ ctx[15]));
|
6299
6306
|
mounted = true;
|
6300
6307
|
}
|
6301
6308
|
},
|
@@ -6306,24 +6313,24 @@ function create_each_block$2(ctx) {
|
|
6306
6313
|
attr(input, "name", /*name*/ ctx[0]);
|
6307
6314
|
}
|
6308
6315
|
|
6309
|
-
if (dirty & /*isCheckedArray*/
|
6316
|
+
if (dirty & /*isCheckedArray*/ 16 && input_checked_value !== (input_checked_value = /*isCheckedArray*/ ctx[4][/*i*/ ctx[15]])) {
|
6310
6317
|
input.checked = input_checked_value;
|
6311
6318
|
}
|
6312
6319
|
|
6313
|
-
if (dirty & /*isCheckedArray*/
|
6320
|
+
if (dirty & /*isCheckedArray*/ 16 && span1_class_value !== (span1_class_value = "" + (null_to_empty(`check-box-check${/*isCheckedArray*/ ctx[4][/*i*/ ctx[15]]
|
6314
6321
|
? ' _checked'
|
6315
|
-
: ''}`) + " svelte-
|
6322
|
+
: ''}`) + " svelte-y5vmhx"))) {
|
6316
6323
|
attr(span1, "class", span1_class_value);
|
6317
6324
|
}
|
6318
6325
|
|
6319
|
-
if (dirty & /*_buttonStyle*/
|
6320
|
-
attr(span1, "style", /*_buttonStyle*/ ctx[
|
6326
|
+
if (dirty & /*_buttonStyle*/ 32) {
|
6327
|
+
attr(span1, "style", /*_buttonStyle*/ ctx[5]);
|
6321
6328
|
}
|
6322
6329
|
|
6323
|
-
if (dirty & /*_options*/
|
6330
|
+
if (dirty & /*_options*/ 8 && t2_value !== (t2_value = /*option*/ ctx[13] + "")) set_data(t2, t2_value);
|
6324
6331
|
|
6325
|
-
if (dirty & /*textStyle*/
|
6326
|
-
attr(span2, "style", /*textStyle*/ ctx[
|
6332
|
+
if (dirty & /*textStyle*/ 4) {
|
6333
|
+
attr(span2, "style", /*textStyle*/ ctx[2]);
|
6327
6334
|
}
|
6328
6335
|
},
|
6329
6336
|
d(detaching) {
|
@@ -6336,7 +6343,7 @@ function create_each_block$2(ctx) {
|
|
6336
6343
|
|
6337
6344
|
function create_fragment$6(ctx) {
|
6338
6345
|
let div;
|
6339
|
-
let each_value = /*_options*/ ctx[
|
6346
|
+
let each_value = /*_options*/ ctx[3];
|
6340
6347
|
let each_blocks = [];
|
6341
6348
|
|
6342
6349
|
for (let i = 0; i < each_value.length; i += 1) {
|
@@ -6351,7 +6358,8 @@ function create_fragment$6(ctx) {
|
|
6351
6358
|
each_blocks[i].c();
|
6352
6359
|
}
|
6353
6360
|
|
6354
|
-
attr(div, "class", "check-boxes svelte-
|
6361
|
+
attr(div, "class", "check-boxes svelte-y5vmhx");
|
6362
|
+
attr(div, "style", /*layoutStyle*/ ctx[1]);
|
6355
6363
|
},
|
6356
6364
|
m(target, anchor) {
|
6357
6365
|
insert(target, div, anchor);
|
@@ -6361,8 +6369,8 @@ function create_fragment$6(ctx) {
|
|
6361
6369
|
}
|
6362
6370
|
},
|
6363
6371
|
p(ctx, [dirty]) {
|
6364
|
-
if (dirty & /*textStyle, _options, isCheckedArray, _buttonStyle, name, handleChange*/
|
6365
|
-
each_value = /*_options*/ ctx[
|
6372
|
+
if (dirty & /*textStyle, _options, isCheckedArray, _buttonStyle, name, handleChange*/ 189) {
|
6373
|
+
each_value = /*_options*/ ctx[3];
|
6366
6374
|
let i;
|
6367
6375
|
|
6368
6376
|
for (i = 0; i < each_value.length; i += 1) {
|
@@ -6383,6 +6391,10 @@ function create_fragment$6(ctx) {
|
|
6383
6391
|
|
6384
6392
|
each_blocks.length = each_value.length;
|
6385
6393
|
}
|
6394
|
+
|
6395
|
+
if (dirty & /*layoutStyle*/ 2) {
|
6396
|
+
attr(div, "style", /*layoutStyle*/ ctx[1]);
|
6397
|
+
}
|
6386
6398
|
},
|
6387
6399
|
i: noop,
|
6388
6400
|
o: noop,
|
@@ -6401,6 +6413,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
6401
6413
|
let { name = '' } = $$props;
|
6402
6414
|
let { options = 'チェックボックス1,チェックボックス2,チェックボックス3' } = $$props;
|
6403
6415
|
let { required = false } = $$props;
|
6416
|
+
let { layoutStyle = 'flex-direction: column; gap: 0px;' } = $$props;
|
6404
6417
|
let { textStyle = 'color: #333; font-size: 12px;' } = $$props;
|
6405
6418
|
|
6406
6419
|
let { buttonStyle = {
|
@@ -6421,12 +6434,12 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
6421
6434
|
}
|
6422
6435
|
});
|
6423
6436
|
|
6424
|
-
component_subscribe($$self, value, value => $$invalidate(
|
6437
|
+
component_subscribe($$self, value, value => $$invalidate(11, $value = value));
|
6425
6438
|
|
6426
6439
|
const handleChange = index => event => {
|
6427
6440
|
if (isCheckedArray[index] !== event.target.checked) {
|
6428
|
-
$$invalidate(
|
6429
|
-
$$invalidate(
|
6441
|
+
$$invalidate(4, isCheckedArray[index] = event.target.checked, isCheckedArray);
|
6442
|
+
$$invalidate(4, isCheckedArray = [...isCheckedArray]);
|
6430
6443
|
const updated = _options.filter((option, i) => isCheckedArray[i]);
|
6431
6444
|
value.set(updated);
|
6432
6445
|
}
|
@@ -6434,23 +6447,24 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
6434
6447
|
|
6435
6448
|
$$self.$$set = $$props => {
|
6436
6449
|
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
6437
|
-
if ('options' in $$props) $$invalidate(
|
6438
|
-
if ('required' in $$props) $$invalidate(
|
6439
|
-
if ('
|
6440
|
-
if ('
|
6450
|
+
if ('options' in $$props) $$invalidate(8, options = $$props.options);
|
6451
|
+
if ('required' in $$props) $$invalidate(9, required = $$props.required);
|
6452
|
+
if ('layoutStyle' in $$props) $$invalidate(1, layoutStyle = $$props.layoutStyle);
|
6453
|
+
if ('textStyle' in $$props) $$invalidate(2, textStyle = $$props.textStyle);
|
6454
|
+
if ('buttonStyle' in $$props) $$invalidate(10, buttonStyle = $$props.buttonStyle);
|
6441
6455
|
};
|
6442
6456
|
|
6443
6457
|
$$self.$$.update = () => {
|
6444
|
-
if ($$self.$$.dirty & /*options*/
|
6445
|
-
$$invalidate(
|
6458
|
+
if ($$self.$$.dirty & /*options*/ 256) {
|
6459
|
+
$$invalidate(3, _options = options.split(','));
|
6446
6460
|
}
|
6447
6461
|
|
6448
|
-
if ($$self.$$.dirty & /*buttonStyle*/
|
6449
|
-
$$invalidate(
|
6462
|
+
if ($$self.$$.dirty & /*buttonStyle*/ 1024) {
|
6463
|
+
$$invalidate(5, _buttonStyle = `--size: ${buttonStyle.size}; --color-active: ${buttonStyle.colorActive}; --color-inactive: ${buttonStyle.colorInactive}`);
|
6450
6464
|
}
|
6451
6465
|
|
6452
|
-
if ($$self.$$.dirty & /*$value, _options*/
|
6453
|
-
$$invalidate(
|
6466
|
+
if ($$self.$$.dirty & /*$value, _options*/ 2056) {
|
6467
|
+
$$invalidate(4, isCheckedArray = (() => {
|
6454
6468
|
const checkedSet = new Set($value);
|
6455
6469
|
return _options.map(option => checkedSet.has(option));
|
6456
6470
|
})());
|
@@ -6459,6 +6473,7 @@ function instance$6($$self, $$props, $$invalidate) {
|
|
6459
6473
|
|
6460
6474
|
return [
|
6461
6475
|
name,
|
6476
|
+
layoutStyle,
|
6462
6477
|
textStyle,
|
6463
6478
|
_options,
|
6464
6479
|
isCheckedArray,
|
@@ -6484,20 +6499,21 @@ class FormCheckBoxes extends SvelteComponent {
|
|
6484
6499
|
safe_not_equal,
|
6485
6500
|
{
|
6486
6501
|
name: 0,
|
6487
|
-
options:
|
6488
|
-
required:
|
6489
|
-
|
6490
|
-
|
6502
|
+
options: 8,
|
6503
|
+
required: 9,
|
6504
|
+
layoutStyle: 1,
|
6505
|
+
textStyle: 2,
|
6506
|
+
buttonStyle: 10
|
6491
6507
|
},
|
6492
6508
|
add_css$6
|
6493
6509
|
);
|
6494
6510
|
}
|
6495
6511
|
}
|
6496
6512
|
|
6497
|
-
/* src/components/
|
6513
|
+
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
6498
6514
|
|
6499
6515
|
function add_css$5(target) {
|
6500
|
-
append_styles(target, "svelte-
|
6516
|
+
append_styles(target, "svelte-176k37j", ".rating-buttons.svelte-176k37j{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-176k37j{cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s, box-shadow 0.2s}");
|
6501
6517
|
}
|
6502
6518
|
|
6503
6519
|
function get_each_context$1(ctx, list, i) {
|
@@ -6506,108 +6522,43 @@ function get_each_context$1(ctx, list, i) {
|
|
6506
6522
|
return child_ctx;
|
6507
6523
|
}
|
6508
6524
|
|
6509
|
-
// (
|
6510
|
-
function
|
6525
|
+
// (50:2) {#each [...Array(count).keys()].map(i => i + 1) as i}
|
6526
|
+
function create_each_block$1(ctx) {
|
6511
6527
|
let div;
|
6512
|
-
let
|
6513
|
-
let
|
6514
|
-
let
|
6515
|
-
let
|
6528
|
+
let t0_value = /*i*/ ctx[11] + "";
|
6529
|
+
let t0;
|
6530
|
+
let t1;
|
6531
|
+
let div_style_value;
|
6516
6532
|
let mounted;
|
6517
6533
|
let dispose;
|
6518
6534
|
|
6519
6535
|
return {
|
6520
6536
|
c() {
|
6521
6537
|
div = element("div");
|
6522
|
-
|
6523
|
-
|
6524
|
-
|
6525
|
-
attr(
|
6526
|
-
attr(svg, "width", "24");
|
6527
|
-
attr(svg, "height", "24");
|
6528
|
-
attr(svg, "viewBox", "0 0 24 24");
|
6529
|
-
attr(svg, "fill", "none");
|
6530
|
-
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
6531
|
-
attr(svg, "class", "svelte-1ysi4uv");
|
6532
|
-
attr(div, "class", div_class_value = "rating-button" + (/*i*/ ctx[11] === /*_value*/ ctx[2] ? ' _selected' : '') + " svelte-1ysi4uv");
|
6533
|
-
attr(div, "style", /*_buttonStyle*/ ctx[1]);
|
6538
|
+
t0 = text(t0_value);
|
6539
|
+
t1 = space();
|
6540
|
+
attr(div, "class", "rating-button svelte-176k37j");
|
6541
|
+
attr(div, "style", div_style_value = /*getTextButtonStyle*/ ctx[4](/*i*/ ctx[11] === /*_value*/ ctx[1]));
|
6534
6542
|
},
|
6535
6543
|
m(target, anchor) {
|
6536
6544
|
insert(target, div, anchor);
|
6537
|
-
append(div,
|
6538
|
-
append(
|
6539
|
-
append(div, t);
|
6545
|
+
append(div, t0);
|
6546
|
+
append(div, t1);
|
6540
6547
|
|
6541
6548
|
if (!mounted) {
|
6542
|
-
dispose = listen(div, "click",
|
6543
|
-
|
6544
|
-
|
6545
|
-
},
|
6546
|
-
p(new_ctx, dirty) {
|
6547
|
-
ctx = new_ctx;
|
6548
|
-
|
6549
|
-
if (dirty & /*_value*/ 4 && div_class_value !== (div_class_value = "rating-button" + (/*i*/ ctx[11] === /*_value*/ ctx[2] ? ' _selected' : '') + " svelte-1ysi4uv")) {
|
6550
|
-
attr(div, "class", div_class_value);
|
6551
|
-
}
|
6552
|
-
|
6553
|
-
if (dirty & /*_buttonStyle*/ 2) {
|
6554
|
-
attr(div, "style", /*_buttonStyle*/ ctx[1]);
|
6555
|
-
}
|
6556
|
-
},
|
6557
|
-
d(detaching) {
|
6558
|
-
if (detaching) detach(div);
|
6559
|
-
mounted = false;
|
6560
|
-
dispose();
|
6561
|
-
}
|
6562
|
-
};
|
6563
|
-
}
|
6564
|
-
|
6565
|
-
// (54:4) {#if type === 'star'}
|
6566
|
-
function create_if_block$1(ctx) {
|
6567
|
-
let div;
|
6568
|
-
let svg;
|
6569
|
-
let path;
|
6570
|
-
let t;
|
6571
|
-
let div_class_value;
|
6572
|
-
let mounted;
|
6573
|
-
let dispose;
|
6574
|
-
|
6575
|
-
return {
|
6576
|
-
c() {
|
6577
|
-
div = element("div");
|
6578
|
-
svg = svg_element("svg");
|
6579
|
-
path = svg_element("path");
|
6580
|
-
t = space();
|
6581
|
-
attr(path, "d", "M11.2184 0.80902L8.42249 6.78134L2.09938 7.72433C0.981006 7.90395 0.550862 9.3409 1.36814 10.1941L5.88464 14.8193L4.80928 21.3304C4.63723 22.498 5.84163 23.396 6.83096 22.8572L12.4658 19.7588L18.0577 22.8572C19.047 23.396 20.2514 22.498 20.0794 21.3304L19.004 14.8193L23.5205 10.1941C24.3378 9.3409 23.9077 7.90395 22.7893 7.72433L16.5092 6.78134L13.6702 0.80902C13.1971 -0.223786 11.7346 -0.268691 11.2184 0.80902Z");
|
6582
|
-
attr(svg, "width", "24");
|
6583
|
-
attr(svg, "height", "24");
|
6584
|
-
attr(svg, "viewBox", "0 0 24 24");
|
6585
|
-
attr(svg, "fill", "none");
|
6586
|
-
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
6587
|
-
attr(svg, "class", "svelte-1ysi4uv");
|
6588
|
-
attr(div, "class", div_class_value = "rating-button" + (/*i*/ ctx[11] <= /*_value*/ ctx[2] ? ' _selected' : '') + " svelte-1ysi4uv");
|
6589
|
-
attr(div, "style", /*_buttonStyle*/ ctx[1]);
|
6590
|
-
},
|
6591
|
-
m(target, anchor) {
|
6592
|
-
insert(target, div, anchor);
|
6593
|
-
append(div, svg);
|
6594
|
-
append(svg, path);
|
6595
|
-
append(div, t);
|
6549
|
+
dispose = listen(div, "click", function () {
|
6550
|
+
if (is_function(/*handleClick*/ ctx[3](/*i*/ ctx[11]))) /*handleClick*/ ctx[3](/*i*/ ctx[11]).apply(this, arguments);
|
6551
|
+
});
|
6596
6552
|
|
6597
|
-
if (!mounted) {
|
6598
|
-
dispose = listen(div, "click", /*handleClick*/ ctx[4](/*i*/ ctx[11]));
|
6599
6553
|
mounted = true;
|
6600
6554
|
}
|
6601
6555
|
},
|
6602
6556
|
p(new_ctx, dirty) {
|
6603
6557
|
ctx = new_ctx;
|
6558
|
+
if (dirty & /*count*/ 1 && t0_value !== (t0_value = /*i*/ ctx[11] + "")) set_data(t0, t0_value);
|
6604
6559
|
|
6605
|
-
if (dirty & /*_value*/
|
6606
|
-
attr(div, "
|
6607
|
-
}
|
6608
|
-
|
6609
|
-
if (dirty & /*_buttonStyle*/ 2) {
|
6610
|
-
attr(div, "style", /*_buttonStyle*/ ctx[1]);
|
6560
|
+
if (dirty & /*count, _value*/ 3 && div_style_value !== (div_style_value = /*getTextButtonStyle*/ ctx[4](/*i*/ ctx[11] === /*_value*/ ctx[1]))) {
|
6561
|
+
attr(div, "style", div_style_value);
|
6611
6562
|
}
|
6612
6563
|
},
|
6613
6564
|
d(detaching) {
|
@@ -6618,53 +6569,9 @@ function create_if_block$1(ctx) {
|
|
6618
6569
|
};
|
6619
6570
|
}
|
6620
6571
|
|
6621
|
-
// (53:2) {#each [...Array(5).keys()].map(i => i + 1) as i}
|
6622
|
-
function create_each_block$1(ctx) {
|
6623
|
-
let if_block_anchor;
|
6624
|
-
|
6625
|
-
function select_block_type(ctx, dirty) {
|
6626
|
-
if (/*type*/ ctx[0] === 'star') return create_if_block$1;
|
6627
|
-
if (/*type*/ ctx[0] === 'face') return create_if_block_1$1;
|
6628
|
-
}
|
6629
|
-
|
6630
|
-
let current_block_type = select_block_type(ctx);
|
6631
|
-
let if_block = current_block_type && current_block_type(ctx);
|
6632
|
-
|
6633
|
-
return {
|
6634
|
-
c() {
|
6635
|
-
if (if_block) if_block.c();
|
6636
|
-
if_block_anchor = empty();
|
6637
|
-
},
|
6638
|
-
m(target, anchor) {
|
6639
|
-
if (if_block) if_block.m(target, anchor);
|
6640
|
-
insert(target, if_block_anchor, anchor);
|
6641
|
-
},
|
6642
|
-
p(ctx, dirty) {
|
6643
|
-
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
6644
|
-
if_block.p(ctx, dirty);
|
6645
|
-
} else {
|
6646
|
-
if (if_block) if_block.d(1);
|
6647
|
-
if_block = current_block_type && current_block_type(ctx);
|
6648
|
-
|
6649
|
-
if (if_block) {
|
6650
|
-
if_block.c();
|
6651
|
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
6652
|
-
}
|
6653
|
-
}
|
6654
|
-
},
|
6655
|
-
d(detaching) {
|
6656
|
-
if (if_block) {
|
6657
|
-
if_block.d(detaching);
|
6658
|
-
}
|
6659
|
-
|
6660
|
-
if (detaching) detach(if_block_anchor);
|
6661
|
-
}
|
6662
|
-
};
|
6663
|
-
}
|
6664
|
-
|
6665
6572
|
function create_fragment$5(ctx) {
|
6666
6573
|
let div;
|
6667
|
-
let each_value = [...Array(
|
6574
|
+
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6668
6575
|
let each_blocks = [];
|
6669
6576
|
|
6670
6577
|
for (let i = 0; i < each_value.length; i += 1) {
|
@@ -6679,7 +6586,7 @@ function create_fragment$5(ctx) {
|
|
6679
6586
|
each_blocks[i].c();
|
6680
6587
|
}
|
6681
6588
|
|
6682
|
-
attr(div, "class", "rating-buttons svelte-
|
6589
|
+
attr(div, "class", "rating-buttons svelte-176k37j");
|
6683
6590
|
},
|
6684
6591
|
m(target, anchor) {
|
6685
6592
|
insert(target, div, anchor);
|
@@ -6689,8 +6596,8 @@ function create_fragment$5(ctx) {
|
|
6689
6596
|
}
|
6690
6597
|
},
|
6691
6598
|
p(ctx, [dirty]) {
|
6692
|
-
if (dirty & /*Array,
|
6693
|
-
each_value = [...Array(
|
6599
|
+
if (dirty & /*getTextButtonStyle, Array, count, _value, handleClick*/ 27) {
|
6600
|
+
each_value = [...Array(/*count*/ ctx[0]).keys()].map(func);
|
6694
6601
|
let i;
|
6695
6602
|
|
6696
6603
|
for (i = 0; i < each_value.length; i += 1) {
|
@@ -6725,18 +6632,12 @@ const func = i => i + 1;
|
|
6725
6632
|
|
6726
6633
|
function instance$5($$self, $$props, $$invalidate) {
|
6727
6634
|
let _value;
|
6728
|
-
let _buttonStyle;
|
6729
6635
|
let $value;
|
6730
6636
|
let { name = '' } = $$props;
|
6731
|
-
let { type = 'star' } = $$props;
|
6732
6637
|
let { required = false } = $$props;
|
6733
|
-
|
6734
|
-
let { buttonStyle =
|
6735
|
-
|
6736
|
-
colorActive: '#2aab9f',
|
6737
|
-
colorInactive: 'rgba(0, 16, 14, 0.2)'
|
6738
|
-
} } = $$props;
|
6739
|
-
|
6638
|
+
let { count = 5 } = $$props;
|
6639
|
+
let { buttonStyle = 'width: 32px; height: 32px; font-size: 12px; font-weight: bold; border-radius: 17px; color: #333; background-color: rgba(0, 16, 14, 0.06); box-shadow: none;' } = $$props;
|
6640
|
+
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px 0px 0px rgba(0, 16, 14, 0.03), 0px 8px 16px rgba(0, 16, 14, 0.3);' } = $$props;
|
6740
6641
|
const { path: statePath } = getStateItemContext();
|
6741
6642
|
|
6742
6643
|
const value = registerInput({
|
@@ -6755,47 +6656,41 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
6755
6656
|
value.set([String(index)]);
|
6756
6657
|
};
|
6757
6658
|
|
6758
|
-
|
6759
|
-
|
6760
|
-
|
6761
|
-
|
6762
|
-
|
6763
|
-
4: 'M15.75 8.4375C14.5312 8.4375 13.125 9.23438 12.9375 10.4531C12.8438 10.9688 13.4531 11.2969 13.8281 10.9219L14.2969 10.5469C15 9.9375 16.4531 9.9375 17.1562 10.5469L17.625 10.9219C18 11.2969 18.6094 10.9688 18.5156 10.4531C18.3281 9.23438 16.9219 8.4375 15.75 8.4375ZM8.25 11.25C9.04688 11.25 9.75 10.5938 9.75 9.75C9.75 8.95312 9.04688 8.25 8.25 8.25C7.40625 8.25 6.75 8.95312 6.75 9.75C6.75 10.5938 7.40625 11.25 8.25 11.25ZM16.9219 14.2969C15.7031 14.6719 13.9219 14.9062 12 14.9062C10.0312 14.9062 8.25 14.6719 7.03125 14.2969C6.5625 14.1562 6.14062 14.5781 6.1875 15C6.5625 17.25 9.5625 18.75 12 18.75C14.3906 18.75 17.3906 17.25 17.7656 15C17.8125 14.5781 17.3906 14.1562 16.9219 14.2969ZM12 0.375C5.57812 0.375 0.375 5.625 0.375 12C0.375 18.4219 5.57812 23.625 12 23.625C18.375 23.625 23.625 18.4219 23.625 12C23.625 5.625 18.375 0.375 12 0.375ZM12 21.375C6.79688 21.375 2.625 17.2031 2.625 12C2.625 6.84375 6.79688 2.625 12 2.625C17.1562 2.625 21.375 6.84375 21.375 12C21.375 17.2031 17.1562 21.375 12 21.375Z',
|
6764
|
-
5: 'M12 0.375C5.57812 0.375 0.375 5.57812 0.375 12C0.375 18.4219 5.57812 23.625 12 23.625C18.4219 23.625 23.625 18.4219 23.625 12C23.625 5.57812 18.4219 0.375 12 0.375ZM12 21.375C6.79688 21.375 2.625 17.2031 2.625 12C2.625 6.84375 6.79688 2.625 12 2.625C17.1562 2.625 21.375 6.84375 21.375 12C21.375 17.2031 17.1562 21.375 12 21.375ZM16.9219 14.2969C15.7031 14.6719 13.9219 14.9062 12 14.9062C10.0312 14.9062 8.25 14.6719 7.03125 14.2969C6.5625 14.1562 6.14062 14.5312 6.1875 15C6.5625 17.2031 9.5625 18.75 12 18.75C14.4375 18.75 17.3906 17.2031 17.7656 15C17.8125 14.5781 17.3906 14.1562 16.9219 14.2969ZM5.90625 12.375C6.09375 12.5625 6.375 12.6562 6.65625 12.5156L10.4062 10.2656C10.5469 10.1719 10.6875 9.98438 10.6875 9.75C10.6875 9.5625 10.5469 9.375 10.4062 9.28125L6.65625 7.03125C6.42188 6.89062 6.09375 6.9375 5.90625 7.17188C5.76562 7.35938 5.76562 7.6875 5.90625 7.875L7.5 9.75L5.90625 11.6719C5.76562 11.8594 5.76562 12.1875 5.90625 12.375ZM17.2969 12.5156C17.5781 12.6562 17.8594 12.5625 18.0469 12.375C18.1875 12.1875 18.1875 11.8594 18.0469 11.6719L16.4531 9.75L18.0469 7.875C18.2344 7.6875 18.1875 7.35938 18.0469 7.17188C17.8594 6.9375 17.5312 6.89062 17.2969 7.03125L13.5469 9.28125C13.4062 9.375 13.3125 9.5625 13.3125 9.75C13.3125 9.98438 13.4062 10.1719 13.5469 10.2656L17.2969 12.5156Z'
|
6765
|
-
};
|
6659
|
+
function getTextButtonStyle(isActive) {
|
6660
|
+
return isActive
|
6661
|
+
? [...buttonStyle.split(';'), ...buttonActiveStyle.split(';')].join(';')
|
6662
|
+
: buttonStyle;
|
6663
|
+
}
|
6766
6664
|
|
6767
6665
|
$$self.$$set = $$props => {
|
6768
|
-
if ('name' in $$props) $$invalidate(
|
6769
|
-
if ('
|
6770
|
-
if ('
|
6771
|
-
if ('buttonStyle' in $$props) $$invalidate(
|
6666
|
+
if ('name' in $$props) $$invalidate(5, name = $$props.name);
|
6667
|
+
if ('required' in $$props) $$invalidate(6, required = $$props.required);
|
6668
|
+
if ('count' in $$props) $$invalidate(0, count = $$props.count);
|
6669
|
+
if ('buttonStyle' in $$props) $$invalidate(7, buttonStyle = $$props.buttonStyle);
|
6670
|
+
if ('buttonActiveStyle' in $$props) $$invalidate(8, buttonActiveStyle = $$props.buttonActiveStyle);
|
6772
6671
|
};
|
6773
6672
|
|
6774
6673
|
$$self.$$.update = () => {
|
6775
6674
|
if ($$self.$$.dirty & /*$value*/ 512) {
|
6776
|
-
$$invalidate(
|
6777
|
-
}
|
6778
|
-
|
6779
|
-
if ($$self.$$.dirty & /*buttonStyle*/ 256) {
|
6780
|
-
$$invalidate(1, _buttonStyle = `--size: ${buttonStyle.size}; --color-active: ${buttonStyle.colorActive}; --color-inactive: ${buttonStyle.colorInactive}`);
|
6675
|
+
$$invalidate(1, _value = Number($value[0] ?? -1));
|
6781
6676
|
}
|
6782
6677
|
};
|
6783
6678
|
|
6784
6679
|
return [
|
6785
|
-
|
6786
|
-
_buttonStyle,
|
6680
|
+
count,
|
6787
6681
|
_value,
|
6788
6682
|
value,
|
6789
6683
|
handleClick,
|
6790
|
-
|
6684
|
+
getTextButtonStyle,
|
6791
6685
|
name,
|
6792
6686
|
required,
|
6793
6687
|
buttonStyle,
|
6688
|
+
buttonActiveStyle,
|
6794
6689
|
$value
|
6795
6690
|
];
|
6796
6691
|
}
|
6797
6692
|
|
6798
|
-
class
|
6693
|
+
class FormRatingButtonsNumber extends SvelteComponent {
|
6799
6694
|
constructor(options) {
|
6800
6695
|
super();
|
6801
6696
|
|
@@ -6806,10 +6701,11 @@ class FormRatingButtons extends SvelteComponent {
|
|
6806
6701
|
create_fragment$5,
|
6807
6702
|
safe_not_equal,
|
6808
6703
|
{
|
6809
|
-
name:
|
6810
|
-
|
6811
|
-
|
6812
|
-
buttonStyle:
|
6704
|
+
name: 5,
|
6705
|
+
required: 6,
|
6706
|
+
count: 0,
|
6707
|
+
buttonStyle: 7,
|
6708
|
+
buttonActiveStyle: 8
|
6813
6709
|
},
|
6814
6710
|
add_css$5
|
6815
6711
|
);
|
@@ -8100,4 +7996,4 @@ class ImageBlock extends SvelteComponent {
|
|
8100
7996
|
}
|
8101
7997
|
}
|
8102
7998
|
|
8103
|
-
export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultEdgePosition, DefaultFormButtonStyle,
|
7999
|
+
export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, ClipPaths, Cursors, DefaultEdgePosition, DefaultFormButtonStyle, DefaultFormSelectStyle, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, FormCheckBoxes, FormRadioButtons, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, applyCss, applyGlobalCss, close, closeAction, closed, collection$1 as collection, create, createApp, createFog, customHandlers, customVariables, destroy, destroyAction, destroyed, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getActionShadowRoot, getCustomHandlers, getCustomVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getStoreState, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isClosed, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestroy, onScroll, onShow, onTime, opened, setActionSetting, setAutoStart, setClosed, setCustomHandlers, setCustomVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, stopped, updateCustomHandlers, updateCustomVariables, updateEventHandlers, updateVariables, variables, widget };
|