@plaidev/karte-action-sdk 1.1.211 → 1.1.213
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/dist/hydrate/index.es.d.ts +37 -2
- package/dist/hydrate/index.es.js +736 -177
- package/dist/index.es.d.ts +37 -2
- package/dist/index.es.js +690 -171
- package/dist/templates.cjs.js +2 -0
- package/dist/templates.js +2 -0
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { writable, get } from 'svelte/store';
|
2
2
|
import { onMount as onMount$1, onDestroy as onDestroy$1, beforeUpdate as beforeUpdate$1, afterUpdate as afterUpdate$1, tick as tick$1, setContext, getContext, createEventDispatcher } from 'svelte';
|
3
|
-
import { SvelteComponent, init, safe_not_equal, element, claim_element, children, detach, insert_hydration, noop, component_subscribe, attr, create_slot, create_component, space, claim_component, claim_space, mount_component, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, append_styles, empty, group_outros, check_outros, null_to_empty, listen, assign, set_attributes, toggle_class, get_spread_update, prevent_default, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, claim_svg_element, append_hydration, destroy_each, text, claim_text, set_data, src_url_equal, HtmlTagHydration, claim_html_tag, construct_svelte_component, subscribe } from 'svelte/internal';
|
3
|
+
import { SvelteComponent, init, safe_not_equal, element, claim_element, children, detach, insert_hydration, noop, component_subscribe, attr, create_slot, create_component, space, claim_component, claim_space, mount_component, update_slot_base, get_all_dirty_from_scope, get_slot_changes, transition_in, transition_out, destroy_component, append_styles, empty, group_outros, check_outros, null_to_empty, listen, assign, set_attributes, toggle_class, get_spread_update, prevent_default, is_function, add_render_callback, create_in_transition, binding_callbacks, set_style, svg_element, claim_svg_element, append_hydration, destroy_each, text, claim_text, set_data, src_url_equal, set_store_value, run_all, HtmlTagHydration, claim_html_tag, construct_svelte_component, subscribe } from 'svelte/internal';
|
4
4
|
import 'svelte/easing';
|
5
5
|
|
6
6
|
/** @internal */
|
@@ -589,6 +589,52 @@ const DefaultModalBreakPoint = {
|
|
589
589
|
elasticity: DefaultElasticity,
|
590
590
|
},
|
591
591
|
};
|
592
|
+
const FormIdentifyTextFields = [
|
593
|
+
'email',
|
594
|
+
'phone',
|
595
|
+
'first_name',
|
596
|
+
'last_name',
|
597
|
+
'address',
|
598
|
+
];
|
599
|
+
/** @internal */
|
600
|
+
const FormIdentifyTextFieldValidations = {
|
601
|
+
email: {
|
602
|
+
pattern: '^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}.[A-Za-z0-9]{1,}$',
|
603
|
+
// gをつけない!test()を繰り返し呼び出した時に、テキストの途中から判定しようとしてしまう。
|
604
|
+
// https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
|
605
|
+
flags: '',
|
606
|
+
},
|
607
|
+
phone: {
|
608
|
+
pattern: '^(0{1}\\d{9,10})$',
|
609
|
+
flags: '',
|
610
|
+
},
|
611
|
+
first_name: {
|
612
|
+
pattern: '',
|
613
|
+
flags: '',
|
614
|
+
},
|
615
|
+
last_name: {
|
616
|
+
pattern: '',
|
617
|
+
flags: '',
|
618
|
+
},
|
619
|
+
address: {
|
620
|
+
pattern: '',
|
621
|
+
flags: '',
|
622
|
+
},
|
623
|
+
};
|
624
|
+
/** @internal */
|
625
|
+
const FormIdentifyTextFieldPlaceholders = {
|
626
|
+
email: 'メールアドレスを入力',
|
627
|
+
phone: '電話番号を入力',
|
628
|
+
first_name: '名前(名)を入力',
|
629
|
+
last_name: '名前(姓)を入力',
|
630
|
+
address: '住所',
|
631
|
+
};
|
632
|
+
/** @internal */
|
633
|
+
const DefaultFormIdentifyTextField = 'email';
|
634
|
+
/** @internal */
|
635
|
+
const FormIdentifyBooleanFields = ['subscription', 'phone_subscribe'];
|
636
|
+
/** @internal */
|
637
|
+
const DefaultFormIdentifyBooleanField = 'subscription';
|
592
638
|
|
593
639
|
/**
|
594
640
|
* Store to handle action setting
|
@@ -989,6 +1035,12 @@ function resetVariables() {
|
|
989
1035
|
* @internal
|
990
1036
|
*/
|
991
1037
|
const formData = writable({});
|
1038
|
+
/**
|
1039
|
+
* Store for identify form data
|
1040
|
+
*
|
1041
|
+
* @internal
|
1042
|
+
*/
|
1043
|
+
const identifyFormData = writable({});
|
992
1044
|
|
993
1045
|
/**
|
994
1046
|
* アクションのログの記録の管理
|
@@ -2141,7 +2193,8 @@ function create(App, options = {
|
|
2141
2193
|
window.addEventListener(ACTION_DESTROY_EVENT, handleDestroy);
|
2142
2194
|
window.addEventListener('beforeunload', dispatchDestroyEvent, false);
|
2143
2195
|
let modalCleanup = NOOP;
|
2144
|
-
if (options.karteTemplate?.
|
2196
|
+
if (options.karteTemplate?.template_type === 'script' ||
|
2197
|
+
options.karteTemplate?.template_content_types?.includes('script')) {
|
2145
2198
|
runScript$1(options);
|
2146
2199
|
}
|
2147
2200
|
else {
|
@@ -2538,7 +2591,7 @@ function create_if_block$9(ctx) {
|
|
2538
2591
|
};
|
2539
2592
|
}
|
2540
2593
|
|
2541
|
-
function create_fragment$
|
2594
|
+
function create_fragment$A(ctx) {
|
2542
2595
|
let head;
|
2543
2596
|
let if_block = /*googleFontUrl*/ ctx[0] && create_if_block$9(ctx);
|
2544
2597
|
|
@@ -2580,7 +2633,7 @@ function create_fragment$y(ctx) {
|
|
2580
2633
|
};
|
2581
2634
|
}
|
2582
2635
|
|
2583
|
-
function instance$
|
2636
|
+
function instance$A($$self, $$props, $$invalidate) {
|
2584
2637
|
let $fonts;
|
2585
2638
|
component_subscribe($$self, fonts, $$value => $$invalidate(1, $fonts = $$value));
|
2586
2639
|
let googleFontUrl = '';
|
@@ -2610,13 +2663,13 @@ function instance$y($$self, $$props, $$invalidate) {
|
|
2610
2663
|
class Header extends SvelteComponent {
|
2611
2664
|
constructor(options) {
|
2612
2665
|
super();
|
2613
|
-
init(this, options, instance$
|
2666
|
+
init(this, options, instance$A, create_fragment$A, safe_not_equal, {});
|
2614
2667
|
}
|
2615
2668
|
}
|
2616
2669
|
|
2617
2670
|
/* src/components/State.svelte generated by Svelte v3.53.1 */
|
2618
2671
|
|
2619
|
-
function create_fragment$
|
2672
|
+
function create_fragment$z(ctx) {
|
2620
2673
|
let header;
|
2621
2674
|
let t;
|
2622
2675
|
let current;
|
@@ -2680,7 +2733,7 @@ function create_fragment$x(ctx) {
|
|
2680
2733
|
};
|
2681
2734
|
}
|
2682
2735
|
|
2683
|
-
function instance$
|
2736
|
+
function instance$z($$self, $$props, $$invalidate) {
|
2684
2737
|
let { $$slots: slots = {}, $$scope } = $$props;
|
2685
2738
|
|
2686
2739
|
$$self.$$set = $$props => {
|
@@ -2693,13 +2746,13 @@ function instance$x($$self, $$props, $$invalidate) {
|
|
2693
2746
|
class State extends SvelteComponent {
|
2694
2747
|
constructor(options) {
|
2695
2748
|
super();
|
2696
|
-
init(this, options, instance$
|
2749
|
+
init(this, options, instance$z, create_fragment$z, safe_not_equal, {});
|
2697
2750
|
}
|
2698
2751
|
}
|
2699
2752
|
|
2700
2753
|
/* src/components/StateItem.svelte generated by Svelte v3.53.1 */
|
2701
2754
|
|
2702
|
-
function add_css$
|
2755
|
+
function add_css$v(target) {
|
2703
2756
|
append_styles(target, "svelte-1amihue", ".state-item.svelte-1amihue{position:absolute;display:none}");
|
2704
2757
|
}
|
2705
2758
|
|
@@ -2776,7 +2829,7 @@ function create_if_block$8(ctx) {
|
|
2776
2829
|
};
|
2777
2830
|
}
|
2778
2831
|
|
2779
|
-
function create_fragment$
|
2832
|
+
function create_fragment$y(ctx) {
|
2780
2833
|
let if_block_anchor;
|
2781
2834
|
let current;
|
2782
2835
|
let if_block = /*$state*/ ctx[1] === /*path*/ ctx[0] && create_if_block$8(ctx);
|
@@ -2841,7 +2894,7 @@ function getStateItemContext() {
|
|
2841
2894
|
return getContext(STATE_ITEM_CONTEXT_KEY);
|
2842
2895
|
}
|
2843
2896
|
|
2844
|
-
function instance$
|
2897
|
+
function instance$y($$self, $$props, $$invalidate) {
|
2845
2898
|
let $state;
|
2846
2899
|
component_subscribe($$self, state, $$value => $$invalidate(1, $state = $$value));
|
2847
2900
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -2867,7 +2920,7 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
2867
2920
|
class StateItem extends SvelteComponent {
|
2868
2921
|
constructor(options) {
|
2869
2922
|
super();
|
2870
|
-
init(this, options, instance$
|
2923
|
+
init(this, options, instance$y, create_fragment$y, safe_not_equal, { path: 0 }, add_css$v);
|
2871
2924
|
}
|
2872
2925
|
}
|
2873
2926
|
|
@@ -2880,51 +2933,74 @@ function isEmpty(value) {
|
|
2880
2933
|
}
|
2881
2934
|
}
|
2882
2935
|
/** @internal */
|
2883
|
-
function
|
2884
|
-
const
|
2885
|
-
|
2886
|
-
|
2887
|
-
|
2888
|
-
|
2889
|
-
|
2890
|
-
|
2891
|
-
|
2892
|
-
|
2893
|
-
[name]: {
|
2894
|
-
statePath,
|
2895
|
-
value,
|
2896
|
-
isValid: validator(value),
|
2897
|
-
},
|
2898
|
-
}));
|
2899
|
-
},
|
2900
|
-
update(updater) {
|
2901
|
-
formData.update(prev => {
|
2902
|
-
const prevValue = prev[name]?.value;
|
2903
|
-
return {
|
2936
|
+
function createInputRegisterer(formData) {
|
2937
|
+
const registerInput = ({ name, statePath, validator = () => true, initialValue, }) => {
|
2938
|
+
const writableValue = {
|
2939
|
+
subscribe(run) {
|
2940
|
+
return formData.subscribe(formData => {
|
2941
|
+
run(formData[name]?.value);
|
2942
|
+
});
|
2943
|
+
},
|
2944
|
+
set(value) {
|
2945
|
+
formData.update(prev => ({
|
2904
2946
|
...prev,
|
2905
2947
|
[name]: {
|
2906
2948
|
statePath,
|
2907
|
-
value
|
2908
|
-
isValid: validator(
|
2949
|
+
value,
|
2950
|
+
isValid: validator(value),
|
2909
2951
|
},
|
2910
|
-
};
|
2911
|
-
}
|
2912
|
-
|
2952
|
+
}));
|
2953
|
+
},
|
2954
|
+
update(updater) {
|
2955
|
+
formData.update(prev => {
|
2956
|
+
const prevValue = prev[name]?.value;
|
2957
|
+
if (prevValue === undefined)
|
2958
|
+
return prev;
|
2959
|
+
const value = updater(prevValue);
|
2960
|
+
return {
|
2961
|
+
...prev,
|
2962
|
+
[name]: {
|
2963
|
+
statePath,
|
2964
|
+
value,
|
2965
|
+
isValid: validator(value),
|
2966
|
+
},
|
2967
|
+
};
|
2968
|
+
});
|
2969
|
+
},
|
2970
|
+
};
|
2971
|
+
const readableIsValid = {
|
2972
|
+
subscribe(run) {
|
2973
|
+
return formData.subscribe(formData => {
|
2974
|
+
run(formData[name]?.isValid);
|
2975
|
+
});
|
2976
|
+
},
|
2977
|
+
};
|
2978
|
+
if (isEmpty(get(writableValue))) {
|
2979
|
+
writableValue.set(initialValue);
|
2980
|
+
}
|
2981
|
+
return {
|
2982
|
+
value: writableValue,
|
2983
|
+
isValid: readableIsValid,
|
2984
|
+
};
|
2913
2985
|
};
|
2914
|
-
|
2915
|
-
writableValue.set(initialValue);
|
2916
|
-
}
|
2917
|
-
return writableValue;
|
2986
|
+
return registerInput;
|
2918
2987
|
}
|
2919
2988
|
/** @internal */
|
2920
|
-
const
|
2989
|
+
const registerInput = createInputRegisterer(formData);
|
2990
|
+
/** @internal */
|
2991
|
+
const registerIdentifyInput = createInputRegisterer(identifyFormData);
|
2992
|
+
function validateFormData(formData, statePath) {
|
2993
|
+
return Object.entries(formData)
|
2994
|
+
.filter(([_, { statePath: s }]) => s === statePath) // eslint-disable-line @typescript-eslint/no-unused-vars
|
2995
|
+
.every(([_, { isValid }]) => isValid); // eslint-disable-line @typescript-eslint/no-unused-vars
|
2996
|
+
}
|
2997
|
+
/** @internal */
|
2998
|
+
const getValuesAreValidReadable = statePath => ({
|
2921
2999
|
subscribe(callback) {
|
2922
|
-
return formData.subscribe(formData => {
|
2923
|
-
const valuesAreValid =
|
2924
|
-
.filter(([_, { statePath: s }]) => s === statePath) // eslint-disable-line @typescript-eslint/no-unused-vars
|
2925
|
-
.every(([_, { isValid }]) => isValid); // eslint-disable-line @typescript-eslint/no-unused-vars
|
3000
|
+
return formData.subscribe(formData => identifyFormData.subscribe(identifyFormData => {
|
3001
|
+
const valuesAreValid = validateFormData(formData, statePath) && validateFormData(identifyFormData, statePath);
|
2926
3002
|
callback(valuesAreValid);
|
2927
|
-
});
|
3003
|
+
}));
|
2928
3004
|
},
|
2929
3005
|
});
|
2930
3006
|
function formDataToEventValues(campaignId, formData) {
|
@@ -2952,21 +3028,24 @@ function formDataToEventValues(campaignId, formData) {
|
|
2952
3028
|
},
|
2953
3029
|
};
|
2954
3030
|
}
|
3031
|
+
function formDataToIdentifyEventValues(formData) {
|
3032
|
+
return Object.fromEntries(Object.entries(formData).map(([name, dataItem]) => {
|
3033
|
+
const value = dataItem.value;
|
3034
|
+
return [name, value];
|
3035
|
+
}));
|
3036
|
+
}
|
2955
3037
|
/** @internal */
|
2956
3038
|
function submit() {
|
2957
3039
|
const systemConfig = getSystem();
|
2958
3040
|
const campaignId = systemConfig.campaignId;
|
2959
3041
|
if (campaignId) {
|
2960
3042
|
const formData$1 = get(formData);
|
3043
|
+
const identifyFormData$1 = get(identifyFormData);
|
2961
3044
|
const values = formDataToEventValues(campaignId, formData$1);
|
2962
|
-
|
2963
|
-
|
2964
|
-
{
|
2965
|
-
const formData$1 = get(formData);
|
2966
|
-
const values = formDataToEventValues('mock', formData$1);
|
2967
|
-
console.log('values: ', values);
|
2968
|
-
return values;
|
3045
|
+
const identifyValues = formDataToIdentifyEventValues(identifyFormData$1);
|
3046
|
+
return { values, identifyValues };
|
2969
3047
|
}
|
3048
|
+
return {};
|
2970
3049
|
}
|
2971
3050
|
|
2972
3051
|
/**
|
@@ -3023,8 +3102,11 @@ const runScript = (handlerName) => () => {
|
|
3023
3102
|
};
|
3024
3103
|
/** @internal */
|
3025
3104
|
const submitForm = (to) => () => {
|
3026
|
-
const values = submit();
|
3105
|
+
const { values, identifyValues } = submit();
|
3027
3106
|
send_event('_answer_question', values);
|
3107
|
+
if (Object.keys(identifyValues).length > 0) {
|
3108
|
+
send_event('identify', identifyValues);
|
3109
|
+
}
|
3028
3110
|
_moveTo(to);
|
3029
3111
|
};
|
3030
3112
|
/** @internal */
|
@@ -3088,7 +3170,7 @@ function customAnimation(node, { transform, animationStyle, delay = 0, duration
|
|
3088
3170
|
|
3089
3171
|
/* src/components/BackgroundOverlay.svelte generated by Svelte v3.53.1 */
|
3090
3172
|
|
3091
|
-
function add_css$
|
3173
|
+
function add_css$u(target) {
|
3092
3174
|
append_styles(target, "svelte-g6ucc2", ".background.svelte-g6ucc2{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.3);z-index:2147483646}");
|
3093
3175
|
}
|
3094
3176
|
|
@@ -3133,7 +3215,7 @@ function create_if_block$7(ctx) {
|
|
3133
3215
|
};
|
3134
3216
|
}
|
3135
3217
|
|
3136
|
-
function create_fragment$
|
3218
|
+
function create_fragment$x(ctx) {
|
3137
3219
|
let if_block_anchor;
|
3138
3220
|
let if_block = /*backgroundOverlay*/ ctx[0] && create_if_block$7(ctx);
|
3139
3221
|
|
@@ -3173,7 +3255,7 @@ function create_fragment$v(ctx) {
|
|
3173
3255
|
};
|
3174
3256
|
}
|
3175
3257
|
|
3176
|
-
function instance$
|
3258
|
+
function instance$x($$self, $$props, $$invalidate) {
|
3177
3259
|
let { backgroundOverlay = false } = $$props;
|
3178
3260
|
let { class: className = undefined } = $$props;
|
3179
3261
|
const dispatch = createEventDispatcher();
|
@@ -3190,7 +3272,7 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
3190
3272
|
class BackgroundOverlay extends SvelteComponent {
|
3191
3273
|
constructor(options) {
|
3192
3274
|
super();
|
3193
|
-
init(this, options, instance$
|
3275
|
+
init(this, options, instance$x, create_fragment$x, safe_not_equal, { backgroundOverlay: 0, class: 1 }, add_css$u);
|
3194
3276
|
}
|
3195
3277
|
}
|
3196
3278
|
|
@@ -3230,8 +3312,8 @@ function checkStopPropagation(eventName, handler) {
|
|
3230
3312
|
|
3231
3313
|
/* src/components/Button.svelte generated by Svelte v3.53.1 */
|
3232
3314
|
|
3233
|
-
function add_css$
|
3234
|
-
append_styles(target, "svelte-
|
3315
|
+
function add_css$t(target) {
|
3316
|
+
append_styles(target, "svelte-1kmu8zp", ".button.svelte-1kmu8zp{display:block;text-decoration:none;color:inherit;border:none;background:none;margin:0;padding:0}.button.svelte-1kmu8zp:link,.button.svelte-1kmu8zp:visited,.button.svelte-1kmu8zp:active,.button.svelte-1kmu8zp:hover{color:inherit}");
|
3235
3317
|
}
|
3236
3318
|
|
3237
3319
|
// (50:0) {:else}
|
@@ -3270,7 +3352,7 @@ function create_else_block$4(ctx) {
|
|
3270
3352
|
},
|
3271
3353
|
h() {
|
3272
3354
|
set_attributes(button, button_data);
|
3273
|
-
toggle_class(button, "svelte-
|
3355
|
+
toggle_class(button, "svelte-1kmu8zp", true);
|
3274
3356
|
},
|
3275
3357
|
m(target, anchor) {
|
3276
3358
|
insert_hydration(target, button, anchor);
|
@@ -3309,7 +3391,7 @@ function create_else_block$4(ctx) {
|
|
3309
3391
|
dataAttrStopPropagation('click')
|
3310
3392
|
]));
|
3311
3393
|
|
3312
|
-
toggle_class(button, "svelte-
|
3394
|
+
toggle_class(button, "svelte-1kmu8zp", true);
|
3313
3395
|
},
|
3314
3396
|
i(local) {
|
3315
3397
|
if (current) return;
|
@@ -3350,7 +3432,7 @@ function create_if_block_2$1(ctx) {
|
|
3350
3432
|
this.h();
|
3351
3433
|
},
|
3352
3434
|
h() {
|
3353
|
-
attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-
|
3435
|
+
attr(div, "class", "" + (null_to_empty(BUTTON_CLASS) + " svelte-1kmu8zp"));
|
3354
3436
|
attr(div, "style", /*style*/ ctx[1]);
|
3355
3437
|
},
|
3356
3438
|
m(target, anchor) {
|
@@ -3450,7 +3532,7 @@ function create_if_block_1$2(ctx) {
|
|
3450
3532
|
},
|
3451
3533
|
h() {
|
3452
3534
|
set_attributes(a, a_data);
|
3453
|
-
toggle_class(a, "svelte-
|
3535
|
+
toggle_class(a, "svelte-1kmu8zp", true);
|
3454
3536
|
},
|
3455
3537
|
m(target, anchor) {
|
3456
3538
|
insert_hydration(target, a, anchor);
|
@@ -3492,7 +3574,7 @@ function create_if_block_1$2(ctx) {
|
|
3492
3574
|
dataAttrStopPropagation('click')
|
3493
3575
|
]));
|
3494
3576
|
|
3495
|
-
toggle_class(a, "svelte-
|
3577
|
+
toggle_class(a, "svelte-1kmu8zp", true);
|
3496
3578
|
},
|
3497
3579
|
i(local) {
|
3498
3580
|
if (current) return;
|
@@ -3533,7 +3615,7 @@ function create_if_block$6(ctx) {
|
|
3533
3615
|
this.h();
|
3534
3616
|
},
|
3535
3617
|
h() {
|
3536
|
-
attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-
|
3618
|
+
attr(div, "class", "" + (BUTTON_CLASS + " _disabled" + " svelte-1kmu8zp"));
|
3537
3619
|
attr(div, "style", /*style*/ ctx[1]);
|
3538
3620
|
},
|
3539
3621
|
m(target, anchor) {
|
@@ -3581,7 +3663,7 @@ function create_if_block$6(ctx) {
|
|
3581
3663
|
};
|
3582
3664
|
}
|
3583
3665
|
|
3584
|
-
function create_fragment$
|
3666
|
+
function create_fragment$w(ctx) {
|
3585
3667
|
let current_block_type_index;
|
3586
3668
|
let if_block;
|
3587
3669
|
let if_block_anchor;
|
@@ -3658,7 +3740,7 @@ function create_fragment$u(ctx) {
|
|
3658
3740
|
|
3659
3741
|
const BUTTON_CLASS = 'button';
|
3660
3742
|
|
3661
|
-
function instance$
|
3743
|
+
function instance$w($$self, $$props, $$invalidate) {
|
3662
3744
|
let disabled;
|
3663
3745
|
let $valuesAreValid;
|
3664
3746
|
let { $$slots: slots = {}, $$scope } = $$props;
|
@@ -3676,7 +3758,7 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
3676
3758
|
}
|
3677
3759
|
|
3678
3760
|
const { path: statePath } = getStateItemContext() ?? { path: '/' };
|
3679
|
-
const valuesAreValid =
|
3761
|
+
const valuesAreValid = getValuesAreValidReadable(statePath);
|
3680
3762
|
component_subscribe($$self, valuesAreValid, value => $$invalidate(7, $valuesAreValid = value));
|
3681
3763
|
|
3682
3764
|
$$self.$$set = $$props => {
|
@@ -3724,8 +3806,8 @@ class Button extends SvelteComponent {
|
|
3724
3806
|
init(
|
3725
3807
|
this,
|
3726
3808
|
options,
|
3727
|
-
instance$
|
3728
|
-
create_fragment$
|
3809
|
+
instance$w,
|
3810
|
+
create_fragment$w,
|
3729
3811
|
safe_not_equal,
|
3730
3812
|
{
|
3731
3813
|
onClick: 0,
|
@@ -3733,14 +3815,14 @@ class Button extends SvelteComponent {
|
|
3733
3815
|
eventValue: 6,
|
3734
3816
|
style: 1
|
3735
3817
|
},
|
3736
|
-
add_css$
|
3818
|
+
add_css$t
|
3737
3819
|
);
|
3738
3820
|
}
|
3739
3821
|
}
|
3740
3822
|
|
3741
3823
|
/* src/components/Modal.svelte generated by Svelte v3.53.1 */
|
3742
3824
|
|
3743
|
-
function add_css$
|
3825
|
+
function add_css$s(target) {
|
3744
3826
|
append_styles(target, "svelte-fsihgx", ".modal.svelte-fsihgx{position:fixed;box-sizing:border-box;z-index:2147483647;display:flex}.modal.svelte-fsihgx > .button{flex:auto;display:flex}.close.svelte-fsihgx{position:absolute;top:0;right:0}.close.svelte-fsihgx > .button{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-fsihgx > .button:hover{transform:rotate(90deg)}.modal-content.svelte-fsihgx{flex:auto;display:flex;justify-content:center;align-items:center;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}@media screen and (min-width: 641px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-pc) !important;width:var(--modal-bp-width-pc) !important;top:var(--modal-bp-top-pc) !important;left:var(--modal-bp-left-pc) !important;bottom:var(--modal-bp-bottom-pc) !important;right:var(--modal-bp-right-pc) !important;transform:var(--modal-bp-transform-pc) !important;margin:var(--modal-bp-margin-pc) !important}.background-bp-pc{display:block}.background-bp-sp{display:none}}@media screen and (max-width: 640px){.modal-bp.svelte-fsihgx{height:var(--modal-bp-height-sp) !important;width:var(--modal-bp-width-sp) !important;top:var(--modal-bp-top-sp) !important;left:var(--modal-bp-left-sp) !important;bottom:var(--modal-bp-bottom-sp) !important;right:var(--modal-bp-right-sp) !important;transform:var(--modal-bp-transform-sp) !important;margin:var(--modal-bp-margin-sp) !important}.background-bp-pc{display:none}.background-bp-sp{display:block}}");
|
3745
3827
|
}
|
3746
3828
|
|
@@ -4206,7 +4288,7 @@ function create_default_slot$6(ctx) {
|
|
4206
4288
|
};
|
4207
4289
|
}
|
4208
4290
|
|
4209
|
-
function create_fragment$
|
4291
|
+
function create_fragment$v(ctx) {
|
4210
4292
|
let show_if;
|
4211
4293
|
let current_block_type_index;
|
4212
4294
|
let if_block0;
|
@@ -4330,7 +4412,7 @@ function create_fragment$t(ctx) {
|
|
4330
4412
|
};
|
4331
4413
|
}
|
4332
4414
|
|
4333
|
-
function instance$
|
4415
|
+
function instance$v($$self, $$props, $$invalidate) {
|
4334
4416
|
let close;
|
4335
4417
|
let closable;
|
4336
4418
|
let backgroundClick;
|
@@ -4610,8 +4692,8 @@ class Modal extends SvelteComponent {
|
|
4610
4692
|
init(
|
4611
4693
|
this,
|
4612
4694
|
options,
|
4613
|
-
instance$
|
4614
|
-
create_fragment$
|
4695
|
+
instance$v,
|
4696
|
+
create_fragment$v,
|
4615
4697
|
safe_not_equal,
|
4616
4698
|
{
|
4617
4699
|
onClick: 0,
|
@@ -4629,7 +4711,7 @@ class Modal extends SvelteComponent {
|
|
4629
4711
|
closeButtonColor: 9,
|
4630
4712
|
_closeStyle: 10
|
4631
4713
|
},
|
4632
|
-
add_css$
|
4714
|
+
add_css$s,
|
4633
4715
|
[-1, -1]
|
4634
4716
|
);
|
4635
4717
|
}
|
@@ -4637,7 +4719,7 @@ class Modal extends SvelteComponent {
|
|
4637
4719
|
|
4638
4720
|
/* src/components/Grid.svelte generated by Svelte v3.53.1 */
|
4639
4721
|
|
4640
|
-
function create_fragment$
|
4722
|
+
function create_fragment$u(ctx) {
|
4641
4723
|
let div;
|
4642
4724
|
let current;
|
4643
4725
|
const default_slot_template = /*#slots*/ ctx[8].default;
|
@@ -4705,7 +4787,7 @@ function create_fragment$s(ctx) {
|
|
4705
4787
|
};
|
4706
4788
|
}
|
4707
4789
|
|
4708
|
-
function instance$
|
4790
|
+
function instance$u($$self, $$props, $$invalidate) {
|
4709
4791
|
let _style;
|
4710
4792
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4711
4793
|
let { width = '512px' } = $$props;
|
@@ -4750,7 +4832,7 @@ class Grid extends SvelteComponent {
|
|
4750
4832
|
constructor(options) {
|
4751
4833
|
super();
|
4752
4834
|
|
4753
|
-
init(this, options, instance$
|
4835
|
+
init(this, options, instance$u, create_fragment$u, safe_not_equal, {
|
4754
4836
|
width: 1,
|
4755
4837
|
height: 2,
|
4756
4838
|
rows: 3,
|
@@ -4763,11 +4845,11 @@ class Grid extends SvelteComponent {
|
|
4763
4845
|
|
4764
4846
|
/* src/components/GridItem.svelte generated by Svelte v3.53.1 */
|
4765
4847
|
|
4766
|
-
function add_css$
|
4848
|
+
function add_css$r(target) {
|
4767
4849
|
append_styles(target, "svelte-1cryhmb", ".grid-item.svelte-1cryhmb{word-break:break-all;position:relative}.grid-item-inner.svelte-1cryhmb{position:absolute;inset:0}");
|
4768
4850
|
}
|
4769
4851
|
|
4770
|
-
function create_fragment$
|
4852
|
+
function create_fragment$t(ctx) {
|
4771
4853
|
let div1;
|
4772
4854
|
let div0;
|
4773
4855
|
let current;
|
@@ -4860,7 +4942,7 @@ function create_fragment$r(ctx) {
|
|
4860
4942
|
|
4861
4943
|
const GRID_ITEM_CONTEXT_KEY = 'GRID_ITEM';
|
4862
4944
|
|
4863
|
-
function instance$
|
4945
|
+
function instance$t($$self, $$props, $$invalidate) {
|
4864
4946
|
let _style;
|
4865
4947
|
let { $$slots: slots = {}, $$scope } = $$props;
|
4866
4948
|
let { x1 } = $$props;
|
@@ -4909,8 +4991,8 @@ class GridItem extends SvelteComponent {
|
|
4909
4991
|
init(
|
4910
4992
|
this,
|
4911
4993
|
options,
|
4912
|
-
instance$
|
4913
|
-
create_fragment$
|
4994
|
+
instance$t,
|
4995
|
+
create_fragment$t,
|
4914
4996
|
safe_not_equal,
|
4915
4997
|
{
|
4916
4998
|
x1: 2,
|
@@ -4921,7 +5003,7 @@ class GridItem extends SvelteComponent {
|
|
4921
5003
|
background: 7,
|
4922
5004
|
gridItemId: 0
|
4923
5005
|
},
|
4924
|
-
add_css$
|
5006
|
+
add_css$r
|
4925
5007
|
);
|
4926
5008
|
}
|
4927
5009
|
}
|
@@ -5027,7 +5109,7 @@ function create_each_block$6(ctx) {
|
|
5027
5109
|
};
|
5028
5110
|
}
|
5029
5111
|
|
5030
|
-
function create_fragment$
|
5112
|
+
function create_fragment$s(ctx) {
|
5031
5113
|
let each_1_anchor;
|
5032
5114
|
let each_value = /*items*/ ctx[0];
|
5033
5115
|
let each_blocks = [];
|
@@ -5093,7 +5175,7 @@ function create_fragment$q(ctx) {
|
|
5093
5175
|
|
5094
5176
|
const regexp = /(\r?\n)/;
|
5095
5177
|
|
5096
|
-
function instance$
|
5178
|
+
function instance$s($$self, $$props, $$invalidate) {
|
5097
5179
|
let items;
|
5098
5180
|
let { text = 'サンプルSample' } = $$props;
|
5099
5181
|
|
@@ -5114,13 +5196,13 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
5114
5196
|
class RenderText extends SvelteComponent {
|
5115
5197
|
constructor(options) {
|
5116
5198
|
super();
|
5117
|
-
init(this, options, instance$
|
5199
|
+
init(this, options, instance$s, create_fragment$s, safe_not_equal, { text: 1 });
|
5118
5200
|
}
|
5119
5201
|
}
|
5120
5202
|
|
5121
5203
|
/* src/components/TextElement.svelte generated by Svelte v3.53.1 */
|
5122
5204
|
|
5123
|
-
function add_css$
|
5205
|
+
function add_css$q(target) {
|
5124
5206
|
append_styles(target, "svelte-vz6867", ".text-element-wrapper.svelte-vz6867.svelte-vz6867{position:relative;height:100%}.text-element.svelte-vz6867.svelte-vz6867{display:flex;position:relative;width:100%;height:100%;box-sizing:border-box;white-space:pre-wrap;margin:0px;padding:0px;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden;font-size:12px;line-height:1.5}.text-link-element.svelte-vz6867.svelte-vz6867{text-decoration:none;color:inherit}.text-element-inner.svelte-vz6867.svelte-vz6867{width:100%;height:auto}.text-direction-vertical.svelte-vz6867.svelte-vz6867{writing-mode:vertical-rl}.text-direction-vertical.svelte-vz6867 .text-element-inner.svelte-vz6867{width:auto;height:100%}.tooltip.svelte-vz6867.svelte-vz6867{display:none;position:absolute;bottom:-40px;left:50%;transform:translateX(-50%);color:#fff;background-color:#3d4948;white-space:nowrap;padding:4px 8px 4px 8px;border-radius:4px;font-size:12px;z-index:2147483647}.tooltip.svelte-vz6867.svelte-vz6867:before{content:'';position:absolute;top:-13px;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom:7px solid #3d4948}.tooltip.show.svelte-vz6867.svelte-vz6867{display:block}.tooltip-error.svelte-vz6867.svelte-vz6867{background-color:#c00}.tooltip-error.svelte-vz6867.svelte-vz6867:before{border-bottom:7px solid #c00}");
|
5125
5207
|
}
|
5126
5208
|
|
@@ -5304,7 +5386,7 @@ function create_if_block$3(ctx) {
|
|
5304
5386
|
};
|
5305
5387
|
}
|
5306
5388
|
|
5307
|
-
function create_fragment$
|
5389
|
+
function create_fragment$r(ctx) {
|
5308
5390
|
let div;
|
5309
5391
|
let current_block_type_index;
|
5310
5392
|
let if_block;
|
@@ -5384,7 +5466,7 @@ function create_fragment$p(ctx) {
|
|
5384
5466
|
};
|
5385
5467
|
}
|
5386
5468
|
|
5387
|
-
function instance$
|
5469
|
+
function instance$r($$self, $$props, $$invalidate) {
|
5388
5470
|
let style;
|
5389
5471
|
let { text = 'テキストのコンテンツ' } = $$props;
|
5390
5472
|
let { font = SYSTEM_FONT } = $$props;
|
@@ -5480,8 +5562,8 @@ class TextElement extends SvelteComponent {
|
|
5480
5562
|
init(
|
5481
5563
|
this,
|
5482
5564
|
options,
|
5483
|
-
instance$
|
5484
|
-
create_fragment$
|
5565
|
+
instance$r,
|
5566
|
+
create_fragment$r,
|
5485
5567
|
safe_not_equal,
|
5486
5568
|
{
|
5487
5569
|
text: 0,
|
@@ -5492,14 +5574,14 @@ class TextElement extends SvelteComponent {
|
|
5492
5574
|
enableCopy: 2,
|
5493
5575
|
eventName: 10
|
5494
5576
|
},
|
5495
|
-
add_css$
|
5577
|
+
add_css$q
|
5496
5578
|
);
|
5497
5579
|
}
|
5498
5580
|
}
|
5499
5581
|
|
5500
5582
|
/* src/components/TextButtonElement.svelte generated by Svelte v3.53.1 */
|
5501
5583
|
|
5502
|
-
function add_css$
|
5584
|
+
function add_css$p(target) {
|
5503
5585
|
append_styles(target, "svelte-ujdxfc", ".text-button-element.svelte-ujdxfc{width:100%;height:100%}.text-button-element.svelte-ujdxfc > .button{display:flex;width:100%;height:100%;border:none;box-shadow:transparent;box-sizing:border-box;transition:box-shadow 0.2s;white-space:pre-wrap;overflow:hidden;color:#ffffff;font-size:14px;font-weight:bold;justify-content:center;align-items:center;padding:1px 6px 1px 6px;line-height:1.5;background-color:#33403e;border-radius:4px;cursor:pointer;border-width:0px;border-style:solid;border-color:#000000}.text-button-element.svelte-ujdxfc > .button._disabled{cursor:not-allowed !important;opacity:0.2}.text-button-element.svelte-ujdxfc > .button:not(._disabled):active{box-shadow:inset 0 0 100px 100px rgba(0, 0, 0, 0.3)}.text-button-element.svelte-ujdxfc > .button:not(._disabled):hover{box-shadow:inset 0 0 100px 100px rgba(255, 255, 255, 0.3)}");
|
5504
5586
|
}
|
5505
5587
|
|
@@ -5540,7 +5622,7 @@ function create_default_slot$5(ctx) {
|
|
5540
5622
|
};
|
5541
5623
|
}
|
5542
5624
|
|
5543
|
-
function create_fragment$
|
5625
|
+
function create_fragment$q(ctx) {
|
5544
5626
|
let div;
|
5545
5627
|
let button;
|
5546
5628
|
let current;
|
@@ -5604,7 +5686,7 @@ function create_fragment$o(ctx) {
|
|
5604
5686
|
};
|
5605
5687
|
}
|
5606
5688
|
|
5607
|
-
function instance$
|
5689
|
+
function instance$q($$self, $$props, $$invalidate) {
|
5608
5690
|
let style;
|
5609
5691
|
let { text = 'ボタンのラベル' } = $$props;
|
5610
5692
|
let { onClick = { operation: 'none', args: [] } } = $$props;
|
@@ -5642,8 +5724,8 @@ class TextButtonElement extends SvelteComponent {
|
|
5642
5724
|
init(
|
5643
5725
|
this,
|
5644
5726
|
options,
|
5645
|
-
instance$
|
5646
|
-
create_fragment$
|
5727
|
+
instance$q,
|
5728
|
+
create_fragment$q,
|
5647
5729
|
safe_not_equal,
|
5648
5730
|
{
|
5649
5731
|
text: 0,
|
@@ -5653,14 +5735,14 @@ class TextButtonElement extends SvelteComponent {
|
|
5653
5735
|
_buttonStyle: 5,
|
5654
5736
|
_style: 6
|
5655
5737
|
},
|
5656
|
-
add_css$
|
5738
|
+
add_css$p
|
5657
5739
|
);
|
5658
5740
|
}
|
5659
5741
|
}
|
5660
5742
|
|
5661
5743
|
/* src/components/ImageElement.svelte generated by Svelte v3.53.1 */
|
5662
5744
|
|
5663
|
-
function add_css$
|
5745
|
+
function add_css$o(target) {
|
5664
5746
|
append_styles(target, "svelte-1alkh1m", ".image-element.svelte-1alkh1m{width:100%;height:100%;max-width:100%;max-height:100%;box-sizing:border-box}.image-element.svelte-1alkh1m > .button{display:flex;position:relative;width:100%;height:100%;max-width:100%;max-height:100%;justify-content:center;align-items:center;white-space:nowrap;box-sizing:border-box;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.image-element.svelte-1alkh1m > .button._disabled{cursor:not-allowed !important;opacity:0.2}.image-element.transport.svelte-1alkh1m > .button:not(._disabled):hover,.image-element.transport.svelte-1alkh1m > .button:not(._disabled):focus{opacity:0.75;box-shadow:0 5px 16px rgba(0, 0, 0, 0.1), 0 8px 28px rgba(0, 0, 0, 0.16)}.image.svelte-1alkh1m{width:100%;height:100%}");
|
5665
5747
|
}
|
5666
5748
|
|
@@ -5731,7 +5813,7 @@ function create_default_slot$4(ctx) {
|
|
5731
5813
|
};
|
5732
5814
|
}
|
5733
5815
|
|
5734
|
-
function create_fragment$
|
5816
|
+
function create_fragment$p(ctx) {
|
5735
5817
|
let div;
|
5736
5818
|
let button;
|
5737
5819
|
let div_class_value;
|
@@ -5800,7 +5882,7 @@ function create_fragment$n(ctx) {
|
|
5800
5882
|
};
|
5801
5883
|
}
|
5802
5884
|
|
5803
|
-
function instance$
|
5885
|
+
function instance$p($$self, $$props, $$invalidate) {
|
5804
5886
|
let { src = '' } = $$props;
|
5805
5887
|
let { alt = '画像の説明' } = $$props;
|
5806
5888
|
let { transport = false } = $$props;
|
@@ -5831,8 +5913,8 @@ class ImageElement extends SvelteComponent {
|
|
5831
5913
|
init(
|
5832
5914
|
this,
|
5833
5915
|
options,
|
5834
|
-
instance$
|
5835
|
-
create_fragment$
|
5916
|
+
instance$p,
|
5917
|
+
create_fragment$p,
|
5836
5918
|
safe_not_equal,
|
5837
5919
|
{
|
5838
5920
|
src: 0,
|
@@ -5844,18 +5926,18 @@ class ImageElement extends SvelteComponent {
|
|
5844
5926
|
_imageStyle: 6,
|
5845
5927
|
_style: 7
|
5846
5928
|
},
|
5847
|
-
add_css$
|
5929
|
+
add_css$o
|
5848
5930
|
);
|
5849
5931
|
}
|
5850
5932
|
}
|
5851
5933
|
|
5852
5934
|
/* src/components/List.svelte generated by Svelte v3.53.1 */
|
5853
5935
|
|
5854
|
-
function add_css$
|
5936
|
+
function add_css$n(target) {
|
5855
5937
|
append_styles(target, "svelte-1t8r9z", ".list.svelte-1t8r9z{display:flex;width:100%;height:100%;overflow:hidden;border-width:0px;border-style:solid;border-color:#000000}");
|
5856
5938
|
}
|
5857
5939
|
|
5858
|
-
function create_fragment$
|
5940
|
+
function create_fragment$o(ctx) {
|
5859
5941
|
let div;
|
5860
5942
|
let current;
|
5861
5943
|
const default_slot_template = /*#slots*/ ctx[6].default;
|
@@ -5925,7 +6007,7 @@ function create_fragment$m(ctx) {
|
|
5925
6007
|
|
5926
6008
|
const LIST_CONTEXT_KEY = Symbol();
|
5927
6009
|
|
5928
|
-
function instance$
|
6010
|
+
function instance$o($$self, $$props, $$invalidate) {
|
5929
6011
|
let style;
|
5930
6012
|
let { $$slots: slots = {}, $$scope } = $$props;
|
5931
6013
|
let { direction = 'vertical' } = $$props;
|
@@ -5992,8 +6074,8 @@ class List extends SvelteComponent {
|
|
5992
6074
|
init(
|
5993
6075
|
this,
|
5994
6076
|
options,
|
5995
|
-
instance$
|
5996
|
-
create_fragment$
|
6077
|
+
instance$o,
|
6078
|
+
create_fragment$o,
|
5997
6079
|
safe_not_equal,
|
5998
6080
|
{
|
5999
6081
|
direction: 1,
|
@@ -6001,14 +6083,14 @@ class List extends SvelteComponent {
|
|
6001
6083
|
background: 3,
|
6002
6084
|
_style: 4
|
6003
6085
|
},
|
6004
|
-
add_css$
|
6086
|
+
add_css$n
|
6005
6087
|
);
|
6006
6088
|
}
|
6007
6089
|
}
|
6008
6090
|
|
6009
6091
|
/* src/components/ListItem.svelte generated by Svelte v3.53.1 */
|
6010
6092
|
|
6011
|
-
function add_css$
|
6093
|
+
function add_css$m(target) {
|
6012
6094
|
append_styles(target, "svelte-1lbw8v2", ".list-item.svelte-1lbw8v2{flex:auto;box-sizing:border-box;min-width:0;min-height:0;position:relative}.list-item.svelte-1lbw8v2 > .button{position:absolute;inset:0;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
|
6013
6095
|
}
|
6014
6096
|
|
@@ -6063,7 +6145,7 @@ function create_default_slot$3(ctx) {
|
|
6063
6145
|
};
|
6064
6146
|
}
|
6065
6147
|
|
6066
|
-
function create_fragment$
|
6148
|
+
function create_fragment$n(ctx) {
|
6067
6149
|
let div;
|
6068
6150
|
let button;
|
6069
6151
|
let current;
|
@@ -6132,7 +6214,7 @@ function create_fragment$l(ctx) {
|
|
6132
6214
|
};
|
6133
6215
|
}
|
6134
6216
|
|
6135
|
-
function instance$
|
6217
|
+
function instance$n($$self, $$props, $$invalidate) {
|
6136
6218
|
let listItemStyle;
|
6137
6219
|
let { $$slots: slots = {}, $$scope } = $$props;
|
6138
6220
|
const { separator, background, direction, registerItem, unregisterItem } = getContext(LIST_CONTEXT_KEY);
|
@@ -6211,17 +6293,17 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
6211
6293
|
class ListItem extends SvelteComponent {
|
6212
6294
|
constructor(options) {
|
6213
6295
|
super();
|
6214
|
-
init(this, options, instance$
|
6296
|
+
init(this, options, instance$n, create_fragment$n, safe_not_equal, { onClick: 0, clickEventName: 1, _style: 2 }, add_css$m);
|
6215
6297
|
}
|
6216
6298
|
}
|
6217
6299
|
|
6218
6300
|
/* src/components/EmbedElement.svelte generated by Svelte v3.53.1 */
|
6219
6301
|
|
6220
|
-
function add_css$
|
6302
|
+
function add_css$l(target) {
|
6221
6303
|
append_styles(target, "svelte-w6jkzh", ".embed.svelte-w6jkzh{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%}.embed.svelte-w6jkzh iframe{position:absolute;top:0;left:0;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}");
|
6222
6304
|
}
|
6223
6305
|
|
6224
|
-
function create_fragment$
|
6306
|
+
function create_fragment$m(ctx) {
|
6225
6307
|
let div;
|
6226
6308
|
|
6227
6309
|
return {
|
@@ -6257,7 +6339,7 @@ function create_fragment$k(ctx) {
|
|
6257
6339
|
};
|
6258
6340
|
}
|
6259
6341
|
|
6260
|
-
function instance$
|
6342
|
+
function instance$m($$self, $$props, $$invalidate) {
|
6261
6343
|
let { code } = $$props;
|
6262
6344
|
let { _style = '' } = $$props;
|
6263
6345
|
|
@@ -6272,17 +6354,17 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
6272
6354
|
class EmbedElement extends SvelteComponent {
|
6273
6355
|
constructor(options) {
|
6274
6356
|
super();
|
6275
|
-
init(this, options, instance$
|
6357
|
+
init(this, options, instance$m, create_fragment$m, safe_not_equal, { code: 0, _style: 1 }, add_css$l);
|
6276
6358
|
}
|
6277
6359
|
}
|
6278
6360
|
|
6279
6361
|
/* src/components/MovieYouTubeElement.svelte generated by Svelte v3.53.1 */
|
6280
6362
|
|
6281
|
-
function add_css$
|
6363
|
+
function add_css$k(target) {
|
6282
6364
|
append_styles(target, "svelte-ljxq7x", ".embed.svelte-ljxq7x{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.embed.svelte-ljxq7x iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
6283
6365
|
}
|
6284
6366
|
|
6285
|
-
function create_fragment$
|
6367
|
+
function create_fragment$l(ctx) {
|
6286
6368
|
let div1;
|
6287
6369
|
let div0;
|
6288
6370
|
|
@@ -6334,7 +6416,7 @@ function _setValue(obj, key, value) {
|
|
6334
6416
|
}
|
6335
6417
|
}
|
6336
6418
|
|
6337
|
-
function instance$
|
6419
|
+
function instance$l($$self, $$props, $$invalidate) {
|
6338
6420
|
let $system;
|
6339
6421
|
component_subscribe($$self, system, $$value => $$invalidate(31, $system = $$value));
|
6340
6422
|
let { videoId = 'wt0OjOeX-JA' } = $$props;
|
@@ -6605,8 +6687,8 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
6605
6687
|
init(
|
6606
6688
|
this,
|
6607
6689
|
options,
|
6608
|
-
instance$
|
6609
|
-
create_fragment$
|
6690
|
+
instance$l,
|
6691
|
+
create_fragment$l,
|
6610
6692
|
safe_not_equal,
|
6611
6693
|
{
|
6612
6694
|
videoId: 2,
|
@@ -6635,7 +6717,7 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
6635
6717
|
mute: 25,
|
6636
6718
|
_style: 0
|
6637
6719
|
},
|
6638
|
-
add_css$
|
6720
|
+
add_css$k,
|
6639
6721
|
[-1, -1]
|
6640
6722
|
);
|
6641
6723
|
}
|
@@ -6643,11 +6725,11 @@ class MovieYouTubeElement extends SvelteComponent {
|
|
6643
6725
|
|
6644
6726
|
/* src/components/MovieVimeoElement.svelte generated by Svelte v3.53.1 */
|
6645
6727
|
|
6646
|
-
function add_css$
|
6728
|
+
function add_css$j(target) {
|
6647
6729
|
append_styles(target, "svelte-ljxq7x", ".embed.svelte-ljxq7x{box-shadow:0 1px rgba(0, 0, 0, 0.06);overflow:hidden;width:100%;height:100%;border-width:0px;border-style:solid;border-color:#000000;overflow:hidden}.embed.svelte-ljxq7x iframe{position:absolute;top:0;left:0;width:100%;height:100%}");
|
6648
6730
|
}
|
6649
6731
|
|
6650
|
-
function create_fragment$
|
6732
|
+
function create_fragment$k(ctx) {
|
6651
6733
|
let div1;
|
6652
6734
|
let div0;
|
6653
6735
|
|
@@ -6689,7 +6771,7 @@ function create_fragment$i(ctx) {
|
|
6689
6771
|
};
|
6690
6772
|
}
|
6691
6773
|
|
6692
|
-
function instance$
|
6774
|
+
function instance$k($$self, $$props, $$invalidate) {
|
6693
6775
|
let $system;
|
6694
6776
|
component_subscribe($$self, system, $$value => $$invalidate(12, $system = $$value));
|
6695
6777
|
let { videoId = "201239468" } = $$props;
|
@@ -6832,8 +6914,8 @@ class MovieVimeoElement extends SvelteComponent {
|
|
6832
6914
|
init(
|
6833
6915
|
this,
|
6834
6916
|
options,
|
6835
|
-
instance$
|
6836
|
-
create_fragment$
|
6917
|
+
instance$k,
|
6918
|
+
create_fragment$k,
|
6837
6919
|
safe_not_equal,
|
6838
6920
|
{
|
6839
6921
|
videoId: 2,
|
@@ -6843,18 +6925,18 @@ class MovieVimeoElement extends SvelteComponent {
|
|
6843
6925
|
mute: 6,
|
6844
6926
|
_style: 0
|
6845
6927
|
},
|
6846
|
-
add_css$
|
6928
|
+
add_css$j
|
6847
6929
|
);
|
6848
6930
|
}
|
6849
6931
|
}
|
6850
6932
|
|
6851
6933
|
/* src/components/FormTextarea.svelte generated by Svelte v3.53.1 */
|
6852
6934
|
|
6853
|
-
function add_css$
|
6935
|
+
function add_css$i(target) {
|
6854
6936
|
append_styles(target, "svelte-1fjy5oo", ".textarea-wrapper.svelte-1fjy5oo{display:flex;align-items:center;width:100%;height:100%}.textarea.svelte-1fjy5oo{width:100%;height:100%;box-sizing:border-box;resize:none;appearance:none;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:6px 10px 6px 10px;font-size:12px;line-height:1.5}.textarea.svelte-1fjy5oo::placeholder{color:var(--placeholder-color)}.textarea.svelte-1fjy5oo:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}");
|
6855
6937
|
}
|
6856
6938
|
|
6857
|
-
function create_fragment$
|
6939
|
+
function create_fragment$j(ctx) {
|
6858
6940
|
let div;
|
6859
6941
|
let textarea;
|
6860
6942
|
let mounted;
|
@@ -6929,7 +7011,7 @@ function create_fragment$h(ctx) {
|
|
6929
7011
|
};
|
6930
7012
|
}
|
6931
7013
|
|
6932
|
-
function instance$
|
7014
|
+
function instance$j($$self, $$props, $$invalidate) {
|
6933
7015
|
let style;
|
6934
7016
|
let styleVariables;
|
6935
7017
|
let $value;
|
@@ -6943,7 +7025,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
6943
7025
|
let { _placeholderStyle = 'color: #ccc;' } = $$props;
|
6944
7026
|
const { path: statePath } = getStateItemContext();
|
6945
7027
|
|
6946
|
-
const value = registerInput({
|
7028
|
+
const { value } = registerInput({
|
6947
7029
|
name,
|
6948
7030
|
statePath,
|
6949
7031
|
initialValue: '',
|
@@ -7017,8 +7099,8 @@ class FormTextarea extends SvelteComponent {
|
|
7017
7099
|
init(
|
7018
7100
|
this,
|
7019
7101
|
options,
|
7020
|
-
instance$
|
7021
|
-
create_fragment$
|
7102
|
+
instance$j,
|
7103
|
+
create_fragment$j,
|
7022
7104
|
safe_not_equal,
|
7023
7105
|
{
|
7024
7106
|
name: 7,
|
@@ -7030,14 +7112,14 @@ class FormTextarea extends SvelteComponent {
|
|
7030
7112
|
_textStyle: 11,
|
7031
7113
|
_placeholderStyle: 12
|
7032
7114
|
},
|
7033
|
-
add_css$
|
7115
|
+
add_css$i
|
7034
7116
|
);
|
7035
7117
|
}
|
7036
7118
|
}
|
7037
7119
|
|
7038
7120
|
/* src/components/FormRadioButtons.svelte generated by Svelte v3.53.1 */
|
7039
7121
|
|
7040
|
-
function add_css$
|
7122
|
+
function add_css$h(target) {
|
7041
7123
|
append_styles(target, "svelte-1ntb6j8", ".radio-buttons.svelte-1ntb6j8{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-1ntb6j8{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-1ntb6j8{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-1ntb6j8:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18,160,160,.08),0px 1px 4px -1px rgba(18,160,160,.24)}.radio-button-text.svelte-1ntb6j8{margin-left:0.5em}");
|
7042
7124
|
}
|
7043
7125
|
|
@@ -7150,7 +7232,7 @@ function create_each_block$5(ctx) {
|
|
7150
7232
|
};
|
7151
7233
|
}
|
7152
7234
|
|
7153
|
-
function create_fragment$
|
7235
|
+
function create_fragment$i(ctx) {
|
7154
7236
|
let div;
|
7155
7237
|
let each_value = /*_options*/ ctx[4];
|
7156
7238
|
let each_blocks = [];
|
@@ -7228,7 +7310,7 @@ function create_fragment$g(ctx) {
|
|
7228
7310
|
};
|
7229
7311
|
}
|
7230
7312
|
|
7231
|
-
function instance$
|
7313
|
+
function instance$i($$self, $$props, $$invalidate) {
|
7232
7314
|
let _options;
|
7233
7315
|
let buttonStyle;
|
7234
7316
|
let _value;
|
@@ -7245,7 +7327,7 @@ function instance$g($$self, $$props, $$invalidate) {
|
|
7245
7327
|
let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
|
7246
7328
|
const { path: statePath } = getStateItemContext();
|
7247
7329
|
|
7248
|
-
const value = registerInput({
|
7330
|
+
const { value } = registerInput({
|
7249
7331
|
name,
|
7250
7332
|
statePath,
|
7251
7333
|
initialValue: [],
|
@@ -7328,8 +7410,8 @@ class FormRadioButtons extends SvelteComponent {
|
|
7328
7410
|
init(
|
7329
7411
|
this,
|
7330
7412
|
options,
|
7331
|
-
instance$
|
7332
|
-
create_fragment$
|
7413
|
+
instance$i,
|
7414
|
+
create_fragment$i,
|
7333
7415
|
safe_not_equal,
|
7334
7416
|
{
|
7335
7417
|
name: 0,
|
@@ -7342,14 +7424,14 @@ class FormRadioButtons extends SvelteComponent {
|
|
7342
7424
|
buttonColor: 13,
|
7343
7425
|
buttonColorActive: 14
|
7344
7426
|
},
|
7345
|
-
add_css$
|
7427
|
+
add_css$h
|
7346
7428
|
);
|
7347
7429
|
}
|
7348
7430
|
}
|
7349
7431
|
|
7350
7432
|
/* src/components/FormSelect.svelte generated by Svelte v3.53.1 */
|
7351
7433
|
|
7352
|
-
function add_css$
|
7434
|
+
function add_css$g(target) {
|
7353
7435
|
append_styles(target, "svelte-iejizj", ".select.svelte-iejizj{width:100%;height:100%}.select-select.svelte-iejizj{position:relative;appearance:none;width:100%;height:100%;cursor:pointer;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:0 0 0 10px;font-size:12px;line-height:1.5}.select-select.svelte-iejizj:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.select-icon.svelte-iejizj{position:absolute;width:calc(var(--icon-size) / 1.41);height:calc(var(--icon-size) / 1.41);top:calc(50% - calc(var(--icon-size) / 4));right:calc(var(--icon-size) * 1.2);box-sizing:border-box;border-right:solid 2px var(--icon-color);border-top:solid 2px var(--icon-color);transform:translateY(-35.4%) rotate(135deg);pointer-events:none}");
|
7354
7436
|
}
|
7355
7437
|
|
@@ -7476,7 +7558,7 @@ function create_each_block$4(ctx) {
|
|
7476
7558
|
};
|
7477
7559
|
}
|
7478
7560
|
|
7479
|
-
function create_fragment$
|
7561
|
+
function create_fragment$h(ctx) {
|
7480
7562
|
let div1;
|
7481
7563
|
let select;
|
7482
7564
|
let t;
|
@@ -7586,7 +7668,7 @@ function create_fragment$f(ctx) {
|
|
7586
7668
|
};
|
7587
7669
|
}
|
7588
7670
|
|
7589
|
-
function instance$
|
7671
|
+
function instance$h($$self, $$props, $$invalidate) {
|
7590
7672
|
let _options;
|
7591
7673
|
let style;
|
7592
7674
|
let styleVariables;
|
@@ -7605,7 +7687,7 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
7605
7687
|
let { iconSize = '12px' } = $$props;
|
7606
7688
|
const { path: statePath } = getStateItemContext();
|
7607
7689
|
|
7608
|
-
const value = registerInput({
|
7690
|
+
const { value } = registerInput({
|
7609
7691
|
name,
|
7610
7692
|
statePath,
|
7611
7693
|
initialValue: [],
|
@@ -7702,8 +7784,8 @@ class FormSelect extends SvelteComponent {
|
|
7702
7784
|
init(
|
7703
7785
|
this,
|
7704
7786
|
options,
|
7705
|
-
instance$
|
7706
|
-
create_fragment$
|
7787
|
+
instance$h,
|
7788
|
+
create_fragment$h,
|
7707
7789
|
safe_not_equal,
|
7708
7790
|
{
|
7709
7791
|
name: 7,
|
@@ -7718,14 +7800,14 @@ class FormSelect extends SvelteComponent {
|
|
7718
7800
|
iconColor: 15,
|
7719
7801
|
iconSize: 16
|
7720
7802
|
},
|
7721
|
-
add_css$
|
7803
|
+
add_css$g
|
7722
7804
|
);
|
7723
7805
|
}
|
7724
7806
|
}
|
7725
7807
|
|
7726
7808
|
/* src/components/FormCheckBoxes.svelte generated by Svelte v3.53.1 */
|
7727
7809
|
|
7728
|
-
function add_css$
|
7810
|
+
function add_css$f(target) {
|
7729
7811
|
append_styles(target, "svelte-2pz1us", ".check-boxes.svelte-2pz1us.svelte-2pz1us{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%;gap:0px}.check-box.svelte-2pz1us.svelte-2pz1us{display:flex;align-items:center;position:relative;cursor:pointer}.check-box-input.svelte-2pz1us.svelte-2pz1us{width:var(--size);height:var(--size);margin:0;position:absolute;appearance:none;cursor:pointer}.check-box-check.svelte-2pz1us.svelte-2pz1us{display:inline-flex;background-color:var(--color-main);width:var(--size);height:var(--size);border-radius:calc(var(--size) / 4);justify-content:center;align-items:center;flex:none}.check-box-icon.svelte-2pz1us.svelte-2pz1us{display:inline-block;--icon-size:calc(var(--size) * 3 / 4);width:var(--icon-size);height:var(--icon-size)}.check-box-icon.svelte-2pz1us.svelte-2pz1us: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:var(--color-sub)}.check-box-check._checked.svelte-2pz1us.svelte-2pz1us{background-color:var(--color-main-active)}.check-box-check._checked.svelte-2pz1us .check-box-icon.svelte-2pz1us:after{border-color:var(--color-sub-active)}.check-box-text.svelte-2pz1us.svelte-2pz1us{margin-left:0.5em;color:#333;font-size:12px;line-height:1.5}");
|
7730
7812
|
}
|
7731
7813
|
|
@@ -7854,7 +7936,7 @@ function create_each_block$3(ctx) {
|
|
7854
7936
|
};
|
7855
7937
|
}
|
7856
7938
|
|
7857
|
-
function create_fragment$
|
7939
|
+
function create_fragment$g(ctx) {
|
7858
7940
|
let div;
|
7859
7941
|
let each_value = /*_options*/ ctx[3];
|
7860
7942
|
let each_blocks = [];
|
@@ -7932,7 +8014,7 @@ function create_fragment$e(ctx) {
|
|
7932
8014
|
};
|
7933
8015
|
}
|
7934
8016
|
|
7935
|
-
function instance$
|
8017
|
+
function instance$g($$self, $$props, $$invalidate) {
|
7936
8018
|
let _options;
|
7937
8019
|
let styleVariables;
|
7938
8020
|
let isCheckedArray;
|
@@ -7949,7 +8031,7 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
7949
8031
|
let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
|
7950
8032
|
const { path: statePath } = getStateItemContext();
|
7951
8033
|
|
7952
|
-
const value = registerInput({
|
8034
|
+
const { value } = registerInput({
|
7953
8035
|
name,
|
7954
8036
|
statePath,
|
7955
8037
|
initialValue: [],
|
@@ -8038,8 +8120,8 @@ class FormCheckBoxes extends SvelteComponent {
|
|
8038
8120
|
init(
|
8039
8121
|
this,
|
8040
8122
|
options,
|
8041
|
-
instance$
|
8042
|
-
create_fragment$
|
8123
|
+
instance$g,
|
8124
|
+
create_fragment$g,
|
8043
8125
|
safe_not_equal,
|
8044
8126
|
{
|
8045
8127
|
name: 0,
|
@@ -8052,14 +8134,14 @@ class FormCheckBoxes extends SvelteComponent {
|
|
8052
8134
|
buttonColor: 13,
|
8053
8135
|
buttonColorActive: 14
|
8054
8136
|
},
|
8055
|
-
add_css$
|
8137
|
+
add_css$f
|
8056
8138
|
);
|
8057
8139
|
}
|
8058
8140
|
}
|
8059
8141
|
|
8060
8142
|
/* src/components/FormRatingButtonsNumber.svelte generated by Svelte v3.53.1 */
|
8061
8143
|
|
8062
|
-
function add_css$
|
8144
|
+
function add_css$e(target) {
|
8063
8145
|
append_styles(target, "svelte-18pfy31", ".rating-buttons.svelte-18pfy31{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-18pfy31{cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s, box-shadow 0.2s;appearance:none;background:none;border:none;margin:0;padding:0}");
|
8064
8146
|
}
|
8065
8147
|
|
@@ -8127,7 +8209,7 @@ function create_each_block$2(ctx) {
|
|
8127
8209
|
};
|
8128
8210
|
}
|
8129
8211
|
|
8130
|
-
function create_fragment$
|
8212
|
+
function create_fragment$f(ctx) {
|
8131
8213
|
let div;
|
8132
8214
|
let each_value = [...Array(/*count*/ ctx[0]).keys()].map(func$1);
|
8133
8215
|
let each_blocks = [];
|
@@ -8202,7 +8284,7 @@ function create_fragment$d(ctx) {
|
|
8202
8284
|
|
8203
8285
|
const func$1 = i => i + 1;
|
8204
8286
|
|
8205
|
-
function instance$
|
8287
|
+
function instance$f($$self, $$props, $$invalidate) {
|
8206
8288
|
let _value;
|
8207
8289
|
let $value;
|
8208
8290
|
let { name = '' } = $$props;
|
@@ -8213,7 +8295,7 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
8213
8295
|
let { buttonActiveStyle = 'color: #333; background-color: #2aab9f; box-shadow: 0px 8px 16px 0px rgba(0, 16, 14, 0.3);' } = $$props;
|
8214
8296
|
const { path: statePath } = getStateItemContext();
|
8215
8297
|
|
8216
|
-
const value = registerInput({
|
8298
|
+
const { value } = registerInput({
|
8217
8299
|
name,
|
8218
8300
|
statePath,
|
8219
8301
|
initialValue: [],
|
@@ -8278,8 +8360,8 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
8278
8360
|
init(
|
8279
8361
|
this,
|
8280
8362
|
options,
|
8281
|
-
instance$
|
8282
|
-
create_fragment$
|
8363
|
+
instance$f,
|
8364
|
+
create_fragment$f,
|
8283
8365
|
safe_not_equal,
|
8284
8366
|
{
|
8285
8367
|
name: 5,
|
@@ -8289,14 +8371,14 @@ class FormRatingButtonsNumber extends SvelteComponent {
|
|
8289
8371
|
buttonStyle: 8,
|
8290
8372
|
buttonActiveStyle: 9
|
8291
8373
|
},
|
8292
|
-
add_css$
|
8374
|
+
add_css$e
|
8293
8375
|
);
|
8294
8376
|
}
|
8295
8377
|
}
|
8296
8378
|
|
8297
8379
|
/* src/components/FormRatingButtonsFace.svelte generated by Svelte v3.53.1 */
|
8298
8380
|
|
8299
|
-
function add_css$
|
8381
|
+
function add_css$d(target) {
|
8300
8382
|
append_styles(target, "svelte-1b5dvzw", ".rating-buttons.svelte-1b5dvzw{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%}.rating-button.svelte-1b5dvzw{appearance:none;background:none;border:none;margin:0;padding:0}.rating-button-image.svelte-1b5dvzw{cursor:pointer;user-select:none;-webkit-user-drag:none;width:100%;height:100%}.rating-button-image.svelte-1b5dvzw:not(._active){filter:grayscale(100%)}");
|
8301
8383
|
}
|
8302
8384
|
|
@@ -8367,7 +8449,7 @@ function create_each_block$1(ctx) {
|
|
8367
8449
|
};
|
8368
8450
|
}
|
8369
8451
|
|
8370
|
-
function create_fragment$
|
8452
|
+
function create_fragment$e(ctx) {
|
8371
8453
|
let div;
|
8372
8454
|
let each_value = [...Array(count).keys()].reverse().map(func);
|
8373
8455
|
let each_blocks = [];
|
@@ -8443,7 +8525,7 @@ function create_fragment$c(ctx) {
|
|
8443
8525
|
const count = 5;
|
8444
8526
|
const func = i => i + 1;
|
8445
8527
|
|
8446
|
-
function instance$
|
8528
|
+
function instance$e($$self, $$props, $$invalidate) {
|
8447
8529
|
let _value;
|
8448
8530
|
let buttonStyle;
|
8449
8531
|
let $value;
|
@@ -8461,7 +8543,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
8461
8543
|
|
8462
8544
|
const { path: statePath } = getStateItemContext();
|
8463
8545
|
|
8464
|
-
const value = registerInput({
|
8546
|
+
const { value } = registerInput({
|
8465
8547
|
name,
|
8466
8548
|
statePath,
|
8467
8549
|
initialValue: [],
|
@@ -8499,7 +8581,484 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
8499
8581
|
class FormRatingButtonsFace extends SvelteComponent {
|
8500
8582
|
constructor(options) {
|
8501
8583
|
super();
|
8502
|
-
init(this, options, instance$
|
8584
|
+
init(this, options, instance$e, create_fragment$e, safe_not_equal, { name: 5, required: 6, size: 7 }, add_css$d);
|
8585
|
+
}
|
8586
|
+
}
|
8587
|
+
|
8588
|
+
/* src/components/FormIdentifyInput.svelte generated by Svelte v3.53.1 */
|
8589
|
+
|
8590
|
+
function add_css$c(target) {
|
8591
|
+
append_styles(target, "svelte-17a0wgl", ".input-wrapper.svelte-17a0wgl{display:flex;align-items:center;width:100%;height:100%}.input.svelte-17a0wgl{width:100%;height:100%;box-sizing:border-box;resize:none;appearance:none;background-color:#fff;border:solid 2px #ccc;border-radius:6px;padding:6px 10px 6px 10px;font-size:12px;line-height:1.5}.input.svelte-17a0wgl::placeholder{color:var(--placeholder-color)}.input.svelte-17a0wgl:focus{outline:none;border-width:var(--focus-border-width) !important;border-color:var(--focus-border-color) !important;border-style:var(--focus-border-style) !important}.input._error.svelte-17a0wgl{outline:none;border-width:var(--error-border-width) !important;border-color:var(--error-border-color) !important;border-style:var(--error-border-style) !important}");
|
8592
|
+
}
|
8593
|
+
|
8594
|
+
function create_fragment$d(ctx) {
|
8595
|
+
let div;
|
8596
|
+
let input;
|
8597
|
+
let input_class_value;
|
8598
|
+
let mounted;
|
8599
|
+
let dispose;
|
8600
|
+
|
8601
|
+
return {
|
8602
|
+
c() {
|
8603
|
+
div = element("div");
|
8604
|
+
input = element("input");
|
8605
|
+
this.h();
|
8606
|
+
},
|
8607
|
+
l(nodes) {
|
8608
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
8609
|
+
var div_nodes = children(div);
|
8610
|
+
|
8611
|
+
input = claim_element(div_nodes, "INPUT", {
|
8612
|
+
class: true,
|
8613
|
+
type: true,
|
8614
|
+
placeholder: true,
|
8615
|
+
style: true
|
8616
|
+
});
|
8617
|
+
|
8618
|
+
div_nodes.forEach(detach);
|
8619
|
+
this.h();
|
8620
|
+
},
|
8621
|
+
h() {
|
8622
|
+
attr(input, "class", input_class_value = "" + (null_to_empty(['input', /*$isValid*/ ctx[5] ? '' : '_error'].join(' ')) + " svelte-17a0wgl"));
|
8623
|
+
attr(input, "type", "text");
|
8624
|
+
input.value = /*$value*/ ctx[4];
|
8625
|
+
input.required = /*required*/ ctx[0];
|
8626
|
+
attr(input, "placeholder", /*placeholder*/ ctx[1]);
|
8627
|
+
attr(input, "style", /*style*/ ctx[3]);
|
8628
|
+
attr(div, "class", "input-wrapper svelte-17a0wgl");
|
8629
|
+
attr(div, "style", /*styleVariables*/ ctx[2]);
|
8630
|
+
},
|
8631
|
+
m(target, anchor) {
|
8632
|
+
insert_hydration(target, div, anchor);
|
8633
|
+
append_hydration(div, input);
|
8634
|
+
|
8635
|
+
if (!mounted) {
|
8636
|
+
dispose = listen(input, "input", /*stringInputHandler*/ ctx[8]);
|
8637
|
+
mounted = true;
|
8638
|
+
}
|
8639
|
+
},
|
8640
|
+
p(ctx, [dirty]) {
|
8641
|
+
if (dirty & /*$isValid*/ 32 && input_class_value !== (input_class_value = "" + (null_to_empty(['input', /*$isValid*/ ctx[5] ? '' : '_error'].join(' ')) + " svelte-17a0wgl"))) {
|
8642
|
+
attr(input, "class", input_class_value);
|
8643
|
+
}
|
8644
|
+
|
8645
|
+
if (dirty & /*$value*/ 16 && input.value !== /*$value*/ ctx[4]) {
|
8646
|
+
input.value = /*$value*/ ctx[4];
|
8647
|
+
}
|
8648
|
+
|
8649
|
+
if (dirty & /*required*/ 1) {
|
8650
|
+
input.required = /*required*/ ctx[0];
|
8651
|
+
}
|
8652
|
+
|
8653
|
+
if (dirty & /*placeholder*/ 2) {
|
8654
|
+
attr(input, "placeholder", /*placeholder*/ ctx[1]);
|
8655
|
+
}
|
8656
|
+
|
8657
|
+
if (dirty & /*style*/ 8) {
|
8658
|
+
attr(input, "style", /*style*/ ctx[3]);
|
8659
|
+
}
|
8660
|
+
|
8661
|
+
if (dirty & /*styleVariables*/ 4) {
|
8662
|
+
attr(div, "style", /*styleVariables*/ ctx[2]);
|
8663
|
+
}
|
8664
|
+
},
|
8665
|
+
i: noop,
|
8666
|
+
o: noop,
|
8667
|
+
d(detaching) {
|
8668
|
+
if (detaching) detach(div);
|
8669
|
+
mounted = false;
|
8670
|
+
dispose();
|
8671
|
+
}
|
8672
|
+
};
|
8673
|
+
}
|
8674
|
+
|
8675
|
+
function instance$d($$self, $$props, $$invalidate) {
|
8676
|
+
let style;
|
8677
|
+
let styleVariables;
|
8678
|
+
let $value;
|
8679
|
+
let $isValid;
|
8680
|
+
let { field = 'email' } = $$props;
|
8681
|
+
|
8682
|
+
let { validation = {
|
8683
|
+
// FormIdentifyTextFieldValidations[DefaultFormIdentifyTextField]
|
8684
|
+
pattern: '^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}.[A-Za-z0-9]{1,}$',
|
8685
|
+
// gをつけない!test()を繰り返し呼び出した時に、テキストの途中から判定しようとしてしまう。
|
8686
|
+
// https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
|
8687
|
+
flags: ''
|
8688
|
+
} } = $$props;
|
8689
|
+
|
8690
|
+
let { required = true } = $$props;
|
8691
|
+
let { placeholder = 'メールアドレスを入力' } = $$props;
|
8692
|
+
let { _style = '' } = $$props;
|
8693
|
+
let { _focusStyle = 'border-width: 2px; border-color: #2aab9f; border-style: solid' } = $$props;
|
8694
|
+
let { _errorStyle = 'border-width: 2px; border-color: #ff8726; border-style: solid' } = $$props;
|
8695
|
+
let { font = SYSTEM_FONT } = $$props;
|
8696
|
+
let { _textStyle = '' } = $$props;
|
8697
|
+
let { _placeholderStyle = 'color: #ccc;' } = $$props;
|
8698
|
+
const { path: statePath } = getStateItemContext();
|
8699
|
+
|
8700
|
+
const validationRegExp = (() => {
|
8701
|
+
try {
|
8702
|
+
return new RegExp(validation.pattern, validation.flags);
|
8703
|
+
} catch(e) {
|
8704
|
+
return undefined;
|
8705
|
+
}
|
8706
|
+
})();
|
8707
|
+
|
8708
|
+
const { value, isValid } = registerIdentifyInput({
|
8709
|
+
name: field,
|
8710
|
+
statePath,
|
8711
|
+
initialValue: '',
|
8712
|
+
validator(value) {
|
8713
|
+
if (value.length > 0 && validationRegExp && validationRegExp.test(value)) {
|
8714
|
+
return true;
|
8715
|
+
} else if (!required && value === '') {
|
8716
|
+
return true;
|
8717
|
+
} else {
|
8718
|
+
return false;
|
8719
|
+
}
|
8720
|
+
}
|
8721
|
+
});
|
8722
|
+
|
8723
|
+
component_subscribe($$self, value, value => $$invalidate(4, $value = value));
|
8724
|
+
component_subscribe($$self, isValid, value => $$invalidate(5, $isValid = value));
|
8725
|
+
|
8726
|
+
function stringInputHandler(event) {
|
8727
|
+
set_store_value(value, $value = event.target.value, $value);
|
8728
|
+
}
|
8729
|
+
|
8730
|
+
$$self.$$set = $$props => {
|
8731
|
+
if ('field' in $$props) $$invalidate(9, field = $$props.field);
|
8732
|
+
if ('validation' in $$props) $$invalidate(10, validation = $$props.validation);
|
8733
|
+
if ('required' in $$props) $$invalidate(0, required = $$props.required);
|
8734
|
+
if ('placeholder' in $$props) $$invalidate(1, placeholder = $$props.placeholder);
|
8735
|
+
if ('_style' in $$props) $$invalidate(11, _style = $$props._style);
|
8736
|
+
if ('_focusStyle' in $$props) $$invalidate(12, _focusStyle = $$props._focusStyle);
|
8737
|
+
if ('_errorStyle' in $$props) $$invalidate(13, _errorStyle = $$props._errorStyle);
|
8738
|
+
if ('font' in $$props) $$invalidate(14, font = $$props.font);
|
8739
|
+
if ('_textStyle' in $$props) $$invalidate(15, _textStyle = $$props._textStyle);
|
8740
|
+
if ('_placeholderStyle' in $$props) $$invalidate(16, _placeholderStyle = $$props._placeholderStyle);
|
8741
|
+
};
|
8742
|
+
|
8743
|
+
$$self.$$.update = () => {
|
8744
|
+
if ($$self.$$.dirty & /*font*/ 16384) {
|
8745
|
+
addFont(font);
|
8746
|
+
}
|
8747
|
+
|
8748
|
+
if ($$self.$$.dirty & /*_style, _textStyle, font*/ 51200) {
|
8749
|
+
$$invalidate(3, style = [..._style.split(';'), ..._textStyle.split(';'), `font-family:${font}`].join(';'));
|
8750
|
+
}
|
8751
|
+
|
8752
|
+
if ($$self.$$.dirty & /*_focusStyle, _errorStyle, _placeholderStyle*/ 77824) {
|
8753
|
+
$$invalidate(2, styleVariables = (() => {
|
8754
|
+
const variables = {};
|
8755
|
+
const focusStyleObj = parseStyle(_focusStyle);
|
8756
|
+
const errorStyleObj = parseStyle(_errorStyle);
|
8757
|
+
const placeholderStyle = parseStyle(_placeholderStyle);
|
8758
|
+
if (focusStyleObj['border-width']) variables['--focus-border-width'] = focusStyleObj['border-width'];
|
8759
|
+
if (focusStyleObj['border-color']) variables['--focus-border-color'] = focusStyleObj['border-color'];
|
8760
|
+
if (focusStyleObj['border-style']) variables['--focus-border-style'] = focusStyleObj['border-style'];
|
8761
|
+
if (errorStyleObj['border-width']) variables['--error-border-width'] = errorStyleObj['border-width'];
|
8762
|
+
if (errorStyleObj['border-color']) variables['--error-border-color'] = errorStyleObj['border-color'];
|
8763
|
+
if (errorStyleObj['border-style']) variables['--error-border-style'] = errorStyleObj['border-style'];
|
8764
|
+
if (placeholderStyle.color) variables['--placeholder-color'] = placeholderStyle.color;
|
8765
|
+
return stringifyStyleObj(variables);
|
8766
|
+
})());
|
8767
|
+
}
|
8768
|
+
};
|
8769
|
+
|
8770
|
+
return [
|
8771
|
+
required,
|
8772
|
+
placeholder,
|
8773
|
+
styleVariables,
|
8774
|
+
style,
|
8775
|
+
$value,
|
8776
|
+
$isValid,
|
8777
|
+
value,
|
8778
|
+
isValid,
|
8779
|
+
stringInputHandler,
|
8780
|
+
field,
|
8781
|
+
validation,
|
8782
|
+
_style,
|
8783
|
+
_focusStyle,
|
8784
|
+
_errorStyle,
|
8785
|
+
font,
|
8786
|
+
_textStyle,
|
8787
|
+
_placeholderStyle
|
8788
|
+
];
|
8789
|
+
}
|
8790
|
+
|
8791
|
+
class FormIdentifyInput extends SvelteComponent {
|
8792
|
+
constructor(options) {
|
8793
|
+
super();
|
8794
|
+
|
8795
|
+
init(
|
8796
|
+
this,
|
8797
|
+
options,
|
8798
|
+
instance$d,
|
8799
|
+
create_fragment$d,
|
8800
|
+
safe_not_equal,
|
8801
|
+
{
|
8802
|
+
field: 9,
|
8803
|
+
validation: 10,
|
8804
|
+
required: 0,
|
8805
|
+
placeholder: 1,
|
8806
|
+
_style: 11,
|
8807
|
+
_focusStyle: 12,
|
8808
|
+
_errorStyle: 13,
|
8809
|
+
font: 14,
|
8810
|
+
_textStyle: 15,
|
8811
|
+
_placeholderStyle: 16
|
8812
|
+
},
|
8813
|
+
add_css$c
|
8814
|
+
);
|
8815
|
+
}
|
8816
|
+
}
|
8817
|
+
|
8818
|
+
/* src/components/FormIdentifyChoices.svelte generated by Svelte v3.53.1 */
|
8819
|
+
|
8820
|
+
function add_css$b(target) {
|
8821
|
+
append_styles(target, "svelte-pzrwlo", ".radio-buttons.svelte-pzrwlo{display:flex;justify-content:space-between;flex-direction:column;width:100%;height:100%}.radio-button.svelte-pzrwlo{cursor:pointer;display:flex;align-items:center}.radio-button-input.svelte-pzrwlo{appearance:none;margin:0;box-sizing:border-box;border-radius:var(--size);position:relative;width:var(--size);height:var(--size);border:solid calc(var(--size) / 3) var(--color-main);background-color:var(--color-sub);cursor:pointer;flex:none}.radio-button-input.svelte-pzrwlo:checked{border:solid calc(var(--size) / 3) var(--color-main-active);background-color:var(--color-sub-active);box-shadow:0px 1px 8px 2px rgba(18, 160, 160, 0.08), 0px 1px 4px -1px rgba(18, 160, 160, 0.24)}.radio-button-text.svelte-pzrwlo{margin-left:0.5em}");
|
8822
|
+
}
|
8823
|
+
|
8824
|
+
function create_fragment$c(ctx) {
|
8825
|
+
let div;
|
8826
|
+
let label0;
|
8827
|
+
let input0;
|
8828
|
+
let input0_checked_value;
|
8829
|
+
let t0;
|
8830
|
+
let span0;
|
8831
|
+
let t1;
|
8832
|
+
let span0_style_value;
|
8833
|
+
let t2;
|
8834
|
+
let label1;
|
8835
|
+
let input1;
|
8836
|
+
let input1_checked_value;
|
8837
|
+
let t3;
|
8838
|
+
let span1;
|
8839
|
+
let t4;
|
8840
|
+
let span1_style_value;
|
8841
|
+
let mounted;
|
8842
|
+
let dispose;
|
8843
|
+
|
8844
|
+
return {
|
8845
|
+
c() {
|
8846
|
+
div = element("div");
|
8847
|
+
label0 = element("label");
|
8848
|
+
input0 = element("input");
|
8849
|
+
t0 = space();
|
8850
|
+
span0 = element("span");
|
8851
|
+
t1 = text("はい");
|
8852
|
+
t2 = space();
|
8853
|
+
label1 = element("label");
|
8854
|
+
input1 = element("input");
|
8855
|
+
t3 = space();
|
8856
|
+
span1 = element("span");
|
8857
|
+
t4 = text("いいえ");
|
8858
|
+
this.h();
|
8859
|
+
},
|
8860
|
+
l(nodes) {
|
8861
|
+
div = claim_element(nodes, "DIV", { class: true, style: true });
|
8862
|
+
var div_nodes = children(div);
|
8863
|
+
label0 = claim_element(div_nodes, "LABEL", { class: true });
|
8864
|
+
var label0_nodes = children(label0);
|
8865
|
+
input0 = claim_element(label0_nodes, "INPUT", { type: true, class: true, style: true });
|
8866
|
+
t0 = claim_space(label0_nodes);
|
8867
|
+
span0 = claim_element(label0_nodes, "SPAN", { class: true, style: true });
|
8868
|
+
var span0_nodes = children(span0);
|
8869
|
+
t1 = claim_text(span0_nodes, "はい");
|
8870
|
+
span0_nodes.forEach(detach);
|
8871
|
+
label0_nodes.forEach(detach);
|
8872
|
+
t2 = claim_space(div_nodes);
|
8873
|
+
label1 = claim_element(div_nodes, "LABEL", { class: true });
|
8874
|
+
var label1_nodes = children(label1);
|
8875
|
+
input1 = claim_element(label1_nodes, "INPUT", { type: true, class: true, style: true });
|
8876
|
+
t3 = claim_space(label1_nodes);
|
8877
|
+
span1 = claim_element(label1_nodes, "SPAN", { class: true, style: true });
|
8878
|
+
var span1_nodes = children(span1);
|
8879
|
+
t4 = claim_text(span1_nodes, "いいえ");
|
8880
|
+
span1_nodes.forEach(detach);
|
8881
|
+
label1_nodes.forEach(detach);
|
8882
|
+
div_nodes.forEach(detach);
|
8883
|
+
this.h();
|
8884
|
+
},
|
8885
|
+
h() {
|
8886
|
+
attr(input0, "type", "radio");
|
8887
|
+
attr(input0, "class", "radio-button-input svelte-pzrwlo");
|
8888
|
+
attr(input0, "style", /*buttonStyle*/ ctx[2]);
|
8889
|
+
input0.checked = input0_checked_value = /*$value*/ ctx[3] === true;
|
8890
|
+
attr(span0, "class", "radio-button-text svelte-pzrwlo");
|
8891
|
+
attr(span0, "style", span0_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`);
|
8892
|
+
attr(label0, "class", "radio-button svelte-pzrwlo");
|
8893
|
+
attr(input1, "type", "radio");
|
8894
|
+
attr(input1, "class", "radio-button-input svelte-pzrwlo");
|
8895
|
+
attr(input1, "style", /*buttonStyle*/ ctx[2]);
|
8896
|
+
input1.checked = input1_checked_value = /*$value*/ ctx[3] === false;
|
8897
|
+
attr(span1, "class", "radio-button-text svelte-pzrwlo");
|
8898
|
+
attr(span1, "style", span1_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`);
|
8899
|
+
attr(label1, "class", "radio-button svelte-pzrwlo");
|
8900
|
+
attr(div, "class", "radio-buttons svelte-pzrwlo");
|
8901
|
+
attr(div, "style", /*_layoutStyle*/ ctx[0]);
|
8902
|
+
},
|
8903
|
+
m(target, anchor) {
|
8904
|
+
insert_hydration(target, div, anchor);
|
8905
|
+
append_hydration(div, label0);
|
8906
|
+
append_hydration(label0, input0);
|
8907
|
+
append_hydration(label0, t0);
|
8908
|
+
append_hydration(label0, span0);
|
8909
|
+
append_hydration(span0, t1);
|
8910
|
+
append_hydration(div, t2);
|
8911
|
+
append_hydration(div, label1);
|
8912
|
+
append_hydration(label1, input1);
|
8913
|
+
append_hydration(label1, t3);
|
8914
|
+
append_hydration(label1, span1);
|
8915
|
+
append_hydration(span1, t4);
|
8916
|
+
|
8917
|
+
if (!mounted) {
|
8918
|
+
dispose = [
|
8919
|
+
listen(input0, "change", /*change_handler*/ ctx[12]),
|
8920
|
+
listen(input1, "change", /*change_handler_1*/ ctx[13])
|
8921
|
+
];
|
8922
|
+
|
8923
|
+
mounted = true;
|
8924
|
+
}
|
8925
|
+
},
|
8926
|
+
p(ctx, [dirty]) {
|
8927
|
+
if (dirty & /*buttonStyle*/ 4) {
|
8928
|
+
attr(input0, "style", /*buttonStyle*/ ctx[2]);
|
8929
|
+
}
|
8930
|
+
|
8931
|
+
if (dirty & /*$value*/ 8 && input0_checked_value !== (input0_checked_value = /*$value*/ ctx[3] === true)) {
|
8932
|
+
input0.checked = input0_checked_value;
|
8933
|
+
}
|
8934
|
+
|
8935
|
+
if (dirty & /*_textStyle*/ 2 && span0_style_value !== (span0_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`)) {
|
8936
|
+
attr(span0, "style", span0_style_value);
|
8937
|
+
}
|
8938
|
+
|
8939
|
+
if (dirty & /*buttonStyle*/ 4) {
|
8940
|
+
attr(input1, "style", /*buttonStyle*/ ctx[2]);
|
8941
|
+
}
|
8942
|
+
|
8943
|
+
if (dirty & /*$value*/ 8 && input1_checked_value !== (input1_checked_value = /*$value*/ ctx[3] === false)) {
|
8944
|
+
input1.checked = input1_checked_value;
|
8945
|
+
}
|
8946
|
+
|
8947
|
+
if (dirty & /*_textStyle*/ 2 && span1_style_value !== (span1_style_value = `${/*_textStyle*/ ctx[1]} ${/*fontCss*/ ctx[4]}`)) {
|
8948
|
+
attr(span1, "style", span1_style_value);
|
8949
|
+
}
|
8950
|
+
|
8951
|
+
if (dirty & /*_layoutStyle*/ 1) {
|
8952
|
+
attr(div, "style", /*_layoutStyle*/ ctx[0]);
|
8953
|
+
}
|
8954
|
+
},
|
8955
|
+
i: noop,
|
8956
|
+
o: noop,
|
8957
|
+
d(detaching) {
|
8958
|
+
if (detaching) detach(div);
|
8959
|
+
mounted = false;
|
8960
|
+
run_all(dispose);
|
8961
|
+
}
|
8962
|
+
};
|
8963
|
+
}
|
8964
|
+
|
8965
|
+
function instance$c($$self, $$props, $$invalidate) {
|
8966
|
+
let buttonStyle;
|
8967
|
+
let $value;
|
8968
|
+
let { field = 'subscription' } = $$props;
|
8969
|
+
let { required = false } = $$props;
|
8970
|
+
let { _layoutStyle = 'flex-direction: row; gap: 0px;' } = $$props;
|
8971
|
+
let { font = SYSTEM_FONT } = $$props;
|
8972
|
+
const fontCss = font ? 'font-family:' + font : '';
|
8973
|
+
let { _textStyle = 'color: #333; font-size: 12px; line-height:1.5;' } = $$props;
|
8974
|
+
let { buttonSize = '16px' } = $$props;
|
8975
|
+
let { buttonColor = { main: '#f0f1f1', sub: '#f0f1f1' } } = $$props;
|
8976
|
+
let { buttonColorActive = { main: '#2aab9f', sub: '#fff' } } = $$props;
|
8977
|
+
const { path: statePath } = getStateItemContext();
|
8978
|
+
|
8979
|
+
const { value } = registerIdentifyInput({
|
8980
|
+
name: field,
|
8981
|
+
statePath,
|
8982
|
+
initialValue: null,
|
8983
|
+
validator(value) {
|
8984
|
+
if (!required) return true;
|
8985
|
+
return typeof value === 'boolean';
|
8986
|
+
}
|
8987
|
+
});
|
8988
|
+
|
8989
|
+
component_subscribe($$self, value, value => $$invalidate(3, $value = value));
|
8990
|
+
const change_handler = () => value.set(true);
|
8991
|
+
const change_handler_1 = () => value.set(false);
|
8992
|
+
|
8993
|
+
$$self.$$set = $$props => {
|
8994
|
+
if ('field' in $$props) $$invalidate(6, field = $$props.field);
|
8995
|
+
if ('required' in $$props) $$invalidate(7, required = $$props.required);
|
8996
|
+
if ('_layoutStyle' in $$props) $$invalidate(0, _layoutStyle = $$props._layoutStyle);
|
8997
|
+
if ('font' in $$props) $$invalidate(8, font = $$props.font);
|
8998
|
+
if ('_textStyle' in $$props) $$invalidate(1, _textStyle = $$props._textStyle);
|
8999
|
+
if ('buttonSize' in $$props) $$invalidate(9, buttonSize = $$props.buttonSize);
|
9000
|
+
if ('buttonColor' in $$props) $$invalidate(10, buttonColor = $$props.buttonColor);
|
9001
|
+
if ('buttonColorActive' in $$props) $$invalidate(11, buttonColorActive = $$props.buttonColorActive);
|
9002
|
+
};
|
9003
|
+
|
9004
|
+
$$self.$$.update = () => {
|
9005
|
+
if ($$self.$$.dirty & /*font*/ 256) {
|
9006
|
+
addFont(font);
|
9007
|
+
}
|
9008
|
+
|
9009
|
+
if ($$self.$$.dirty & /*buttonColor, buttonColorActive, buttonSize*/ 3584) {
|
9010
|
+
$$invalidate(2, buttonStyle = (() => {
|
9011
|
+
return stringifyStyleObj({
|
9012
|
+
'--color-main': buttonColor.main,
|
9013
|
+
'--color-sub': buttonColor.sub,
|
9014
|
+
'--color-main-active': buttonColorActive.main,
|
9015
|
+
'--color-sub-active': buttonColorActive.sub,
|
9016
|
+
'--size': buttonSize
|
9017
|
+
});
|
9018
|
+
})());
|
9019
|
+
}
|
9020
|
+
};
|
9021
|
+
|
9022
|
+
return [
|
9023
|
+
_layoutStyle,
|
9024
|
+
_textStyle,
|
9025
|
+
buttonStyle,
|
9026
|
+
$value,
|
9027
|
+
fontCss,
|
9028
|
+
value,
|
9029
|
+
field,
|
9030
|
+
required,
|
9031
|
+
font,
|
9032
|
+
buttonSize,
|
9033
|
+
buttonColor,
|
9034
|
+
buttonColorActive,
|
9035
|
+
change_handler,
|
9036
|
+
change_handler_1
|
9037
|
+
];
|
9038
|
+
}
|
9039
|
+
|
9040
|
+
class FormIdentifyChoices extends SvelteComponent {
|
9041
|
+
constructor(options) {
|
9042
|
+
super();
|
9043
|
+
|
9044
|
+
init(
|
9045
|
+
this,
|
9046
|
+
options,
|
9047
|
+
instance$c,
|
9048
|
+
create_fragment$c,
|
9049
|
+
safe_not_equal,
|
9050
|
+
{
|
9051
|
+
field: 6,
|
9052
|
+
required: 7,
|
9053
|
+
_layoutStyle: 0,
|
9054
|
+
font: 8,
|
9055
|
+
_textStyle: 1,
|
9056
|
+
buttonSize: 9,
|
9057
|
+
buttonColor: 10,
|
9058
|
+
buttonColorActive: 11
|
9059
|
+
},
|
9060
|
+
add_css$b
|
9061
|
+
);
|
8503
9062
|
}
|
8504
9063
|
}
|
8505
9064
|
|
@@ -11186,4 +11745,4 @@ class ImageBlock extends SvelteComponent {
|
|
11186
11745
|
}
|
11187
11746
|
}
|
11188
11747
|
|
11189
|
-
export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, Box, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYOUT_COMPONENT_NAMES, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, resetEventHandlers, resetVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
|
11748
|
+
export { ACTION_HOOK_LABEL, Alignments, AnimationStyles, BackgroundSizes, Box, ClipPaths, CodeElement, Countdown, Cursors, DefaultEdgePosition, DefaultElasticity, DefaultFormButtonColor, DefaultFormIdentifyBooleanField, DefaultFormIdentifyTextField, DefaultListBackground, DefaultListBackgroundNone, DefaultListBackgroundStripe, DefaultListSeparator, DefaultListSeparatorBorder, DefaultListSeparatorGap, DefaultListSeparatorNone, DefaultModalBreakPoint, DefaultModalPlacement, DefaultSlideButton, DefaultSlideNavigationButton, Directions, Elasticities, ElasticityStyle, EmbedElement, Flex, FlexDirections, FlexItem, Fonts, FormCheckBoxes, FormIdentifyBooleanFields, FormIdentifyChoices, FormIdentifyInput, FormIdentifyTextFieldPlaceholders, FormIdentifyTextFieldValidations, FormIdentifyTextFields, FormRadioButtons, FormRatingButtonsFace, FormRatingButtonsNumber, FormSelect, FormTextarea, Grid, GridItem, GridModalState, IconElement, ImageBlock, ImageElement, Justifies, KARTE_MODAL_ROOT, LAYOUT_COMPONENT_NAMES, LengthUnits, List, ListBackgroundTypes, ListDirections, ListItem, ListSeparatorTypes, MediaQueries, Modal, ModalPositions, MovieVimeoElement, MovieYouTubeElement, ObjectFits, OnClickOperationOptions, Overflows, PropTypes, Repeats, SYSTEM_FONT, Slide, SlideItem, State, StateItem, TextBlock, TextButtonBlock, TextButtonElement, TextDirections, TextElement, WritingModes, afterUpdate, applyCss, applyGlobalCss, beforeUpdate, close, closeAction, collection$1 as collection, create, createApp, createFog, destroy, destroyAction, ensureModalRoot, eventHandlers, finalize, formData, getActionRoot, getCssVariables, getEventHandlers, getEvents, getLogs, getState$1 as getState, getStates, getSystem, getVariables, hideOnScroll, hideOnTime, initialize, isOpened, listenLogger, loadActionTable, loadActionTableQuery, loadActionTableRow, loadActionTableRows, loadGlobalScript, loadGlobalStyle, loadStyle, logger, onChangeState, onClose, onCreate, onDestory, onDestroy, onMount, onScroll, onShow, onTime, resetEventHandlers, resetVariables, setEventHandlers, setSetting, setState$1 as setState, setVariables, show, showAction, showModal, showOnScroll, showOnTime, state, tick, variables, widget };
|