not-bulma 1.0.35 → 1.0.38
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/notBulma.js
CHANGED
|
@@ -190,6 +190,9 @@ var notBulma = (function (exports) {
|
|
|
190
190
|
else if (node.getAttribute(attribute) !== value)
|
|
191
191
|
node.setAttribute(attribute, value);
|
|
192
192
|
}
|
|
193
|
+
function to_number(value) {
|
|
194
|
+
return value === '' ? null : +value;
|
|
195
|
+
}
|
|
193
196
|
function children(element) {
|
|
194
197
|
return Array.from(element.childNodes);
|
|
195
198
|
}
|
|
@@ -862,10 +865,12 @@ var notBulma = (function (exports) {
|
|
|
862
865
|
|
|
863
866
|
/* src/elements/block/ui.block.svelte generated by Svelte v3.46.6 */
|
|
864
867
|
|
|
865
|
-
function create_fragment$
|
|
868
|
+
function create_fragment$1b(ctx) {
|
|
866
869
|
let div;
|
|
867
870
|
let div_class_value;
|
|
868
871
|
let current;
|
|
872
|
+
let mounted;
|
|
873
|
+
let dispose;
|
|
869
874
|
const default_slot_template = /*#slots*/ ctx[3].default;
|
|
870
875
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[2], null);
|
|
871
876
|
|
|
@@ -884,6 +889,11 @@ var notBulma = (function (exports) {
|
|
|
884
889
|
}
|
|
885
890
|
|
|
886
891
|
current = true;
|
|
892
|
+
|
|
893
|
+
if (!mounted) {
|
|
894
|
+
dispose = listen(div, "click", /*click_handler*/ ctx[4]);
|
|
895
|
+
mounted = true;
|
|
896
|
+
}
|
|
887
897
|
},
|
|
888
898
|
p(ctx, [dirty]) {
|
|
889
899
|
if (default_slot) {
|
|
@@ -921,37 +931,45 @@ var notBulma = (function (exports) {
|
|
|
921
931
|
d(detaching) {
|
|
922
932
|
if (detaching) detach(div);
|
|
923
933
|
if (default_slot) default_slot.d(detaching);
|
|
934
|
+
mounted = false;
|
|
935
|
+
dispose();
|
|
924
936
|
}
|
|
925
937
|
};
|
|
926
938
|
}
|
|
927
939
|
|
|
928
|
-
function instance$
|
|
940
|
+
function instance$1a($$self, $$props, $$invalidate) {
|
|
929
941
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
930
942
|
let { id = '' } = $$props;
|
|
931
943
|
let { classes = '' } = $$props;
|
|
932
944
|
|
|
945
|
+
function click_handler(event) {
|
|
946
|
+
bubble.call(this, $$self, event);
|
|
947
|
+
}
|
|
948
|
+
|
|
933
949
|
$$self.$$set = $$props => {
|
|
934
950
|
if ('id' in $$props) $$invalidate(0, id = $$props.id);
|
|
935
951
|
if ('classes' in $$props) $$invalidate(1, classes = $$props.classes);
|
|
936
952
|
if ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope);
|
|
937
953
|
};
|
|
938
954
|
|
|
939
|
-
return [id, classes, $$scope, slots];
|
|
955
|
+
return [id, classes, $$scope, slots, click_handler];
|
|
940
956
|
}
|
|
941
957
|
|
|
942
958
|
class Ui_block extends SvelteComponent {
|
|
943
959
|
constructor(options) {
|
|
944
960
|
super();
|
|
945
|
-
init(this, options, instance$
|
|
961
|
+
init(this, options, instance$1a, create_fragment$1b, safe_not_equal, { id: 0, classes: 1 });
|
|
946
962
|
}
|
|
947
963
|
}
|
|
948
964
|
|
|
949
965
|
/* src/elements/block/ui.box.svelte generated by Svelte v3.46.6 */
|
|
950
966
|
|
|
951
|
-
function create_fragment$
|
|
967
|
+
function create_fragment$1a(ctx) {
|
|
952
968
|
let div;
|
|
953
969
|
let div_class_value;
|
|
954
970
|
let current;
|
|
971
|
+
let mounted;
|
|
972
|
+
let dispose;
|
|
955
973
|
const default_slot_template = /*#slots*/ ctx[3].default;
|
|
956
974
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[2], null);
|
|
957
975
|
|
|
@@ -970,6 +988,11 @@ var notBulma = (function (exports) {
|
|
|
970
988
|
}
|
|
971
989
|
|
|
972
990
|
current = true;
|
|
991
|
+
|
|
992
|
+
if (!mounted) {
|
|
993
|
+
dispose = listen(div, "click", /*click_handler*/ ctx[4]);
|
|
994
|
+
mounted = true;
|
|
995
|
+
}
|
|
973
996
|
},
|
|
974
997
|
p(ctx, [dirty]) {
|
|
975
998
|
if (default_slot) {
|
|
@@ -1007,37 +1030,45 @@ var notBulma = (function (exports) {
|
|
|
1007
1030
|
d(detaching) {
|
|
1008
1031
|
if (detaching) detach(div);
|
|
1009
1032
|
if (default_slot) default_slot.d(detaching);
|
|
1033
|
+
mounted = false;
|
|
1034
|
+
dispose();
|
|
1010
1035
|
}
|
|
1011
1036
|
};
|
|
1012
1037
|
}
|
|
1013
1038
|
|
|
1014
|
-
function instance$
|
|
1039
|
+
function instance$19($$self, $$props, $$invalidate) {
|
|
1015
1040
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
1016
1041
|
let { id = '' } = $$props;
|
|
1017
1042
|
let { classes = '' } = $$props;
|
|
1018
1043
|
|
|
1044
|
+
function click_handler(event) {
|
|
1045
|
+
bubble.call(this, $$self, event);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1019
1048
|
$$self.$$set = $$props => {
|
|
1020
1049
|
if ('id' in $$props) $$invalidate(0, id = $$props.id);
|
|
1021
1050
|
if ('classes' in $$props) $$invalidate(1, classes = $$props.classes);
|
|
1022
1051
|
if ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope);
|
|
1023
1052
|
};
|
|
1024
1053
|
|
|
1025
|
-
return [id, classes, $$scope, slots];
|
|
1054
|
+
return [id, classes, $$scope, slots, click_handler];
|
|
1026
1055
|
}
|
|
1027
1056
|
|
|
1028
1057
|
class Ui_box extends SvelteComponent {
|
|
1029
1058
|
constructor(options) {
|
|
1030
1059
|
super();
|
|
1031
|
-
init(this, options, instance$
|
|
1060
|
+
init(this, options, instance$19, create_fragment$1a, safe_not_equal, { id: 0, classes: 1 });
|
|
1032
1061
|
}
|
|
1033
1062
|
}
|
|
1034
1063
|
|
|
1035
1064
|
/* src/elements/block/ui.content.svelte generated by Svelte v3.46.6 */
|
|
1036
1065
|
|
|
1037
|
-
function create_fragment$
|
|
1066
|
+
function create_fragment$19(ctx) {
|
|
1038
1067
|
let div;
|
|
1039
1068
|
let div_class_value;
|
|
1040
1069
|
let current;
|
|
1070
|
+
let mounted;
|
|
1071
|
+
let dispose;
|
|
1041
1072
|
const default_slot_template = /*#slots*/ ctx[3].default;
|
|
1042
1073
|
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[2], null);
|
|
1043
1074
|
|
|
@@ -1056,6 +1087,11 @@ var notBulma = (function (exports) {
|
|
|
1056
1087
|
}
|
|
1057
1088
|
|
|
1058
1089
|
current = true;
|
|
1090
|
+
|
|
1091
|
+
if (!mounted) {
|
|
1092
|
+
dispose = listen(div, "click", /*click_handler*/ ctx[4]);
|
|
1093
|
+
mounted = true;
|
|
1094
|
+
}
|
|
1059
1095
|
},
|
|
1060
1096
|
p(ctx, [dirty]) {
|
|
1061
1097
|
if (default_slot) {
|
|
@@ -1093,28 +1129,34 @@ var notBulma = (function (exports) {
|
|
|
1093
1129
|
d(detaching) {
|
|
1094
1130
|
if (detaching) detach(div);
|
|
1095
1131
|
if (default_slot) default_slot.d(detaching);
|
|
1132
|
+
mounted = false;
|
|
1133
|
+
dispose();
|
|
1096
1134
|
}
|
|
1097
1135
|
};
|
|
1098
1136
|
}
|
|
1099
1137
|
|
|
1100
|
-
function instance$
|
|
1138
|
+
function instance$18($$self, $$props, $$invalidate) {
|
|
1101
1139
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
1102
1140
|
let { id = '' } = $$props;
|
|
1103
1141
|
let { classes = '' } = $$props;
|
|
1104
1142
|
|
|
1143
|
+
function click_handler(event) {
|
|
1144
|
+
bubble.call(this, $$self, event);
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1105
1147
|
$$self.$$set = $$props => {
|
|
1106
1148
|
if ('id' in $$props) $$invalidate(0, id = $$props.id);
|
|
1107
1149
|
if ('classes' in $$props) $$invalidate(1, classes = $$props.classes);
|
|
1108
1150
|
if ('$$scope' in $$props) $$invalidate(2, $$scope = $$props.$$scope);
|
|
1109
1151
|
};
|
|
1110
1152
|
|
|
1111
|
-
return [id, classes, $$scope, slots];
|
|
1153
|
+
return [id, classes, $$scope, slots, click_handler];
|
|
1112
1154
|
}
|
|
1113
1155
|
|
|
1114
1156
|
class Ui_content extends SvelteComponent {
|
|
1115
1157
|
constructor(options) {
|
|
1116
1158
|
super();
|
|
1117
|
-
init(this, options, instance$
|
|
1159
|
+
init(this, options, instance$18, create_fragment$19, safe_not_equal, { id: 0, classes: 1 });
|
|
1118
1160
|
}
|
|
1119
1161
|
}
|
|
1120
1162
|
|
|
@@ -2984,14 +3026,14 @@ var notBulma = (function (exports) {
|
|
|
2984
3026
|
|
|
2985
3027
|
/* src/elements/various/ui.booleans.svelte generated by Svelte v3.46.6 */
|
|
2986
3028
|
|
|
2987
|
-
function get_each_context$
|
|
3029
|
+
function get_each_context$k(ctx, list, i) {
|
|
2988
3030
|
const child_ctx = ctx.slice();
|
|
2989
3031
|
child_ctx[4] = list[i];
|
|
2990
3032
|
return child_ctx;
|
|
2991
3033
|
}
|
|
2992
3034
|
|
|
2993
3035
|
// (12:0) {:else}
|
|
2994
|
-
function create_else_block$
|
|
3036
|
+
function create_else_block$u(ctx) {
|
|
2995
3037
|
let span;
|
|
2996
3038
|
let t_value = /*$LOCALE*/ ctx[3][/*LC_FALSE*/ ctx[1]] + "";
|
|
2997
3039
|
let t;
|
|
@@ -3016,7 +3058,7 @@ var notBulma = (function (exports) {
|
|
|
3016
3058
|
}
|
|
3017
3059
|
|
|
3018
3060
|
// (10:0) {#if item.value }
|
|
3019
|
-
function create_if_block$
|
|
3061
|
+
function create_if_block$J(ctx) {
|
|
3020
3062
|
let span;
|
|
3021
3063
|
let t_value = /*$LOCALE*/ ctx[3][/*LC_TRUE*/ ctx[0]] + "";
|
|
3022
3064
|
let t;
|
|
@@ -3041,12 +3083,12 @@ var notBulma = (function (exports) {
|
|
|
3041
3083
|
}
|
|
3042
3084
|
|
|
3043
3085
|
// (9:0) {#each values as item }
|
|
3044
|
-
function create_each_block$
|
|
3086
|
+
function create_each_block$k(ctx) {
|
|
3045
3087
|
let if_block_anchor;
|
|
3046
3088
|
|
|
3047
3089
|
function select_block_type(ctx, dirty) {
|
|
3048
|
-
if (/*item*/ ctx[4].value) return create_if_block$
|
|
3049
|
-
return create_else_block$
|
|
3090
|
+
if (/*item*/ ctx[4].value) return create_if_block$J;
|
|
3091
|
+
return create_else_block$u;
|
|
3050
3092
|
}
|
|
3051
3093
|
|
|
3052
3094
|
let current_block_type = select_block_type(ctx);
|
|
@@ -3081,13 +3123,13 @@ var notBulma = (function (exports) {
|
|
|
3081
3123
|
};
|
|
3082
3124
|
}
|
|
3083
3125
|
|
|
3084
|
-
function create_fragment$
|
|
3126
|
+
function create_fragment$18(ctx) {
|
|
3085
3127
|
let each_1_anchor;
|
|
3086
3128
|
let each_value = /*values*/ ctx[2];
|
|
3087
3129
|
let each_blocks = [];
|
|
3088
3130
|
|
|
3089
3131
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
3090
|
-
each_blocks[i] = create_each_block$
|
|
3132
|
+
each_blocks[i] = create_each_block$k(get_each_context$k(ctx, each_value, i));
|
|
3091
3133
|
}
|
|
3092
3134
|
|
|
3093
3135
|
return {
|
|
@@ -3111,12 +3153,12 @@ var notBulma = (function (exports) {
|
|
|
3111
3153
|
let i;
|
|
3112
3154
|
|
|
3113
3155
|
for (i = 0; i < each_value.length; i += 1) {
|
|
3114
|
-
const child_ctx = get_each_context$
|
|
3156
|
+
const child_ctx = get_each_context$k(ctx, each_value, i);
|
|
3115
3157
|
|
|
3116
3158
|
if (each_blocks[i]) {
|
|
3117
3159
|
each_blocks[i].p(child_ctx, dirty);
|
|
3118
3160
|
} else {
|
|
3119
|
-
each_blocks[i] = create_each_block$
|
|
3161
|
+
each_blocks[i] = create_each_block$k(child_ctx);
|
|
3120
3162
|
each_blocks[i].c();
|
|
3121
3163
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
3122
3164
|
}
|
|
@@ -3138,7 +3180,7 @@ var notBulma = (function (exports) {
|
|
|
3138
3180
|
};
|
|
3139
3181
|
}
|
|
3140
3182
|
|
|
3141
|
-
function instance$
|
|
3183
|
+
function instance$17($$self, $$props, $$invalidate) {
|
|
3142
3184
|
let $LOCALE;
|
|
3143
3185
|
component_subscribe($$self, LOCALE, $$value => $$invalidate(3, $LOCALE = $$value));
|
|
3144
3186
|
let { LC_TRUE = 'not-node:booleans_true' } = $$props;
|
|
@@ -3157,13 +3199,13 @@ var notBulma = (function (exports) {
|
|
|
3157
3199
|
class Ui_booleans extends SvelteComponent {
|
|
3158
3200
|
constructor(options) {
|
|
3159
3201
|
super();
|
|
3160
|
-
init(this, options, instance$
|
|
3202
|
+
init(this, options, instance$17, create_fragment$18, safe_not_equal, { LC_TRUE: 0, LC_FALSE: 1, values: 2 });
|
|
3161
3203
|
}
|
|
3162
3204
|
}
|
|
3163
3205
|
|
|
3164
3206
|
/* src/elements/various/ui.indicator.svelte generated by Svelte v3.46.6 */
|
|
3165
3207
|
|
|
3166
|
-
function create_fragment$
|
|
3208
|
+
function create_fragment$17(ctx) {
|
|
3167
3209
|
let span;
|
|
3168
3210
|
let t_value = /*labels*/ ctx[2][/*state*/ ctx[0]] + "";
|
|
3169
3211
|
let t;
|
|
@@ -3199,7 +3241,7 @@ var notBulma = (function (exports) {
|
|
|
3199
3241
|
};
|
|
3200
3242
|
}
|
|
3201
3243
|
|
|
3202
|
-
function instance$
|
|
3244
|
+
function instance$16($$self, $$props, $$invalidate) {
|
|
3203
3245
|
let { id = 'tagId' } = $$props;
|
|
3204
3246
|
let { state = 'light' } = $$props;
|
|
3205
3247
|
let { size = 'normal' } = $$props;
|
|
@@ -3292,7 +3334,7 @@ var notBulma = (function (exports) {
|
|
|
3292
3334
|
constructor(options) {
|
|
3293
3335
|
super();
|
|
3294
3336
|
|
|
3295
|
-
init(this, options, instance$
|
|
3337
|
+
init(this, options, instance$16, create_fragment$17, safe_not_equal, {
|
|
3296
3338
|
id: 12,
|
|
3297
3339
|
state: 0,
|
|
3298
3340
|
size: 1,
|
|
@@ -3313,7 +3355,7 @@ var notBulma = (function (exports) {
|
|
|
3313
3355
|
|
|
3314
3356
|
/* src/elements/various/ui.loader.svelte generated by Svelte v3.46.6 */
|
|
3315
3357
|
|
|
3316
|
-
function create_if_block$
|
|
3358
|
+
function create_if_block$I(ctx) {
|
|
3317
3359
|
let div;
|
|
3318
3360
|
let span;
|
|
3319
3361
|
let t_value = /*$LOCALE*/ ctx[3][/*title*/ ctx[2]] + "";
|
|
@@ -3351,9 +3393,9 @@ var notBulma = (function (exports) {
|
|
|
3351
3393
|
};
|
|
3352
3394
|
}
|
|
3353
3395
|
|
|
3354
|
-
function create_fragment$
|
|
3396
|
+
function create_fragment$16(ctx) {
|
|
3355
3397
|
let if_block_anchor;
|
|
3356
|
-
let if_block = /*size*/ ctx[1] !== 'hidden' && create_if_block$
|
|
3398
|
+
let if_block = /*size*/ ctx[1] !== 'hidden' && create_if_block$I(ctx);
|
|
3357
3399
|
|
|
3358
3400
|
return {
|
|
3359
3401
|
c() {
|
|
@@ -3369,7 +3411,7 @@ var notBulma = (function (exports) {
|
|
|
3369
3411
|
if (if_block) {
|
|
3370
3412
|
if_block.p(ctx, dirty);
|
|
3371
3413
|
} else {
|
|
3372
|
-
if_block = create_if_block$
|
|
3414
|
+
if_block = create_if_block$I(ctx);
|
|
3373
3415
|
if_block.c();
|
|
3374
3416
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
3375
3417
|
}
|
|
@@ -3387,7 +3429,7 @@ var notBulma = (function (exports) {
|
|
|
3387
3429
|
};
|
|
3388
3430
|
}
|
|
3389
3431
|
|
|
3390
|
-
function instance$
|
|
3432
|
+
function instance$15($$self, $$props, $$invalidate) {
|
|
3391
3433
|
let $LOCALE;
|
|
3392
3434
|
component_subscribe($$self, LOCALE, $$value => $$invalidate(3, $LOCALE = $$value));
|
|
3393
3435
|
let { loading = false } = $$props;
|
|
@@ -3406,13 +3448,13 @@ var notBulma = (function (exports) {
|
|
|
3406
3448
|
class Ui_loader extends SvelteComponent {
|
|
3407
3449
|
constructor(options) {
|
|
3408
3450
|
super();
|
|
3409
|
-
init(this, options, instance$
|
|
3451
|
+
init(this, options, instance$15, create_fragment$16, safe_not_equal, { loading: 0, size: 1, title: 2 });
|
|
3410
3452
|
}
|
|
3411
3453
|
}
|
|
3412
3454
|
|
|
3413
3455
|
/* src/elements/various/ui.progress.svelte generated by Svelte v3.46.6 */
|
|
3414
3456
|
|
|
3415
|
-
function create_fragment$
|
|
3457
|
+
function create_fragment$15(ctx) {
|
|
3416
3458
|
let progress;
|
|
3417
3459
|
let t0;
|
|
3418
3460
|
let t1;
|
|
@@ -3455,7 +3497,7 @@ var notBulma = (function (exports) {
|
|
|
3455
3497
|
};
|
|
3456
3498
|
}
|
|
3457
3499
|
|
|
3458
|
-
function instance$
|
|
3500
|
+
function instance$14($$self, $$props, $$invalidate) {
|
|
3459
3501
|
let { value } = $$props;
|
|
3460
3502
|
let { max = 100 } = $$props;
|
|
3461
3503
|
let { color = '' } = $$props;
|
|
@@ -3477,7 +3519,7 @@ var notBulma = (function (exports) {
|
|
|
3477
3519
|
constructor(options) {
|
|
3478
3520
|
super();
|
|
3479
3521
|
|
|
3480
|
-
init(this, options, instance$
|
|
3522
|
+
init(this, options, instance$14, create_fragment$15, safe_not_equal, {
|
|
3481
3523
|
value: 0,
|
|
3482
3524
|
max: 1,
|
|
3483
3525
|
color: 2,
|
|
@@ -3489,7 +3531,7 @@ var notBulma = (function (exports) {
|
|
|
3489
3531
|
|
|
3490
3532
|
/* src/elements/various/ui.tag.svelte generated by Svelte v3.46.6 */
|
|
3491
3533
|
|
|
3492
|
-
function create_if_block$
|
|
3534
|
+
function create_if_block$H(ctx) {
|
|
3493
3535
|
let span;
|
|
3494
3536
|
let t_value = /*$LOCALE*/ ctx[12][/*title*/ ctx[0]] + "";
|
|
3495
3537
|
let t;
|
|
@@ -3529,9 +3571,9 @@ var notBulma = (function (exports) {
|
|
|
3529
3571
|
};
|
|
3530
3572
|
}
|
|
3531
3573
|
|
|
3532
|
-
function create_fragment$
|
|
3574
|
+
function create_fragment$14(ctx) {
|
|
3533
3575
|
let if_block_anchor;
|
|
3534
|
-
let if_block = /*title*/ ctx[0] && create_if_block$
|
|
3576
|
+
let if_block = /*title*/ ctx[0] && create_if_block$H(ctx);
|
|
3535
3577
|
|
|
3536
3578
|
return {
|
|
3537
3579
|
c() {
|
|
@@ -3547,7 +3589,7 @@ var notBulma = (function (exports) {
|
|
|
3547
3589
|
if (if_block) {
|
|
3548
3590
|
if_block.p(ctx, dirty);
|
|
3549
3591
|
} else {
|
|
3550
|
-
if_block = create_if_block$
|
|
3592
|
+
if_block = create_if_block$H(ctx);
|
|
3551
3593
|
if_block.c();
|
|
3552
3594
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
3553
3595
|
}
|
|
@@ -3565,7 +3607,7 @@ var notBulma = (function (exports) {
|
|
|
3565
3607
|
};
|
|
3566
3608
|
}
|
|
3567
3609
|
|
|
3568
|
-
function instance$
|
|
3610
|
+
function instance$13($$self, $$props, $$invalidate) {
|
|
3569
3611
|
let $LOCALE;
|
|
3570
3612
|
component_subscribe($$self, LOCALE, $$value => $$invalidate(12, $LOCALE = $$value));
|
|
3571
3613
|
let { id = 'tagId' } = $$props;
|
|
@@ -3648,7 +3690,7 @@ var notBulma = (function (exports) {
|
|
|
3648
3690
|
constructor(options) {
|
|
3649
3691
|
super();
|
|
3650
3692
|
|
|
3651
|
-
init(this, options, instance$
|
|
3693
|
+
init(this, options, instance$13, create_fragment$14, safe_not_equal, {
|
|
3652
3694
|
id: 1,
|
|
3653
3695
|
title: 0,
|
|
3654
3696
|
color: 2,
|
|
@@ -3669,7 +3711,7 @@ var notBulma = (function (exports) {
|
|
|
3669
3711
|
|
|
3670
3712
|
/* src/elements/various/ui.title.svelte generated by Svelte v3.46.6 */
|
|
3671
3713
|
|
|
3672
|
-
function create_if_block_1$
|
|
3714
|
+
function create_if_block_1$z(ctx) {
|
|
3673
3715
|
let html_tag;
|
|
3674
3716
|
let html_anchor;
|
|
3675
3717
|
|
|
@@ -3694,7 +3736,7 @@ var notBulma = (function (exports) {
|
|
|
3694
3736
|
}
|
|
3695
3737
|
|
|
3696
3738
|
// (25:0) {#if subtitle }
|
|
3697
|
-
function create_if_block$
|
|
3739
|
+
function create_if_block$G(ctx) {
|
|
3698
3740
|
let html_tag;
|
|
3699
3741
|
let html_anchor;
|
|
3700
3742
|
|
|
@@ -3718,11 +3760,11 @@ var notBulma = (function (exports) {
|
|
|
3718
3760
|
};
|
|
3719
3761
|
}
|
|
3720
3762
|
|
|
3721
|
-
function create_fragment$
|
|
3763
|
+
function create_fragment$13(ctx) {
|
|
3722
3764
|
let t;
|
|
3723
3765
|
let if_block1_anchor;
|
|
3724
|
-
let if_block0 = /*title*/ ctx[0] && create_if_block_1$
|
|
3725
|
-
let if_block1 = /*subtitle*/ ctx[1] && create_if_block$
|
|
3766
|
+
let if_block0 = /*title*/ ctx[0] && create_if_block_1$z(ctx);
|
|
3767
|
+
let if_block1 = /*subtitle*/ ctx[1] && create_if_block$G(ctx);
|
|
3726
3768
|
|
|
3727
3769
|
return {
|
|
3728
3770
|
c() {
|
|
@@ -3742,7 +3784,7 @@ var notBulma = (function (exports) {
|
|
|
3742
3784
|
if (if_block0) {
|
|
3743
3785
|
if_block0.p(ctx, dirty);
|
|
3744
3786
|
} else {
|
|
3745
|
-
if_block0 = create_if_block_1$
|
|
3787
|
+
if_block0 = create_if_block_1$z(ctx);
|
|
3746
3788
|
if_block0.c();
|
|
3747
3789
|
if_block0.m(t.parentNode, t);
|
|
3748
3790
|
}
|
|
@@ -3755,7 +3797,7 @@ var notBulma = (function (exports) {
|
|
|
3755
3797
|
if (if_block1) {
|
|
3756
3798
|
if_block1.p(ctx, dirty);
|
|
3757
3799
|
} else {
|
|
3758
|
-
if_block1 = create_if_block$
|
|
3800
|
+
if_block1 = create_if_block$G(ctx);
|
|
3759
3801
|
if_block1.c();
|
|
3760
3802
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
3761
3803
|
}
|
|
@@ -3775,7 +3817,7 @@ var notBulma = (function (exports) {
|
|
|
3775
3817
|
};
|
|
3776
3818
|
}
|
|
3777
3819
|
|
|
3778
|
-
function instance$
|
|
3820
|
+
function instance$12($$self, $$props, $$invalidate) {
|
|
3779
3821
|
let spacedStyle;
|
|
3780
3822
|
let resultTitle;
|
|
3781
3823
|
let resultSubtitle;
|
|
@@ -3800,7 +3842,9 @@ var notBulma = (function (exports) {
|
|
|
3800
3842
|
|
|
3801
3843
|
$$self.$$.update = () => {
|
|
3802
3844
|
if ($$self.$$.dirty & /*subsize, size*/ 48) {
|
|
3803
|
-
$$invalidate(8, size2 = subsize
|
|
3845
|
+
$$invalidate(8, size2 = subsize
|
|
3846
|
+
? subsize
|
|
3847
|
+
: parseInt(size) < 6 ? parseInt(size) + 1 : size);
|
|
3804
3848
|
}
|
|
3805
3849
|
|
|
3806
3850
|
if ($$self.$$.dirty & /*spaced*/ 64) {
|
|
@@ -3835,7 +3879,7 @@ var notBulma = (function (exports) {
|
|
|
3835
3879
|
constructor(options) {
|
|
3836
3880
|
super();
|
|
3837
3881
|
|
|
3838
|
-
init(this, options, instance$
|
|
3882
|
+
init(this, options, instance$12, create_fragment$13, safe_not_equal, {
|
|
3839
3883
|
title: 0,
|
|
3840
3884
|
subtitle: 1,
|
|
3841
3885
|
size: 4,
|
|
@@ -3848,20 +3892,20 @@ var notBulma = (function (exports) {
|
|
|
3848
3892
|
|
|
3849
3893
|
/* src/elements/various/ui.errors.list.svelte generated by Svelte v3.46.6 */
|
|
3850
3894
|
|
|
3851
|
-
function get_each_context$
|
|
3895
|
+
function get_each_context$j(ctx, list, i) {
|
|
3852
3896
|
const child_ctx = ctx.slice();
|
|
3853
3897
|
child_ctx[5] = list[i];
|
|
3854
3898
|
return child_ctx;
|
|
3855
3899
|
}
|
|
3856
3900
|
|
|
3857
3901
|
// (10:0) {#if Array.isArray(errors) && errors.length }
|
|
3858
|
-
function create_if_block$
|
|
3902
|
+
function create_if_block$F(ctx) {
|
|
3859
3903
|
let p;
|
|
3860
3904
|
let p_class_value;
|
|
3861
3905
|
|
|
3862
3906
|
function select_block_type(ctx, dirty) {
|
|
3863
|
-
if (/*show*/ ctx[1]) return create_if_block_1$
|
|
3864
|
-
return create_else_block$
|
|
3907
|
+
if (/*show*/ ctx[1]) return create_if_block_1$y;
|
|
3908
|
+
return create_else_block$t;
|
|
3865
3909
|
}
|
|
3866
3910
|
|
|
3867
3911
|
let current_block_type = select_block_type(ctx);
|
|
@@ -3907,7 +3951,7 @@ var notBulma = (function (exports) {
|
|
|
3907
3951
|
}
|
|
3908
3952
|
|
|
3909
3953
|
// (16:2) {:else}
|
|
3910
|
-
function create_else_block$
|
|
3954
|
+
function create_else_block$t(ctx) {
|
|
3911
3955
|
let t;
|
|
3912
3956
|
|
|
3913
3957
|
return {
|
|
@@ -3925,13 +3969,13 @@ var notBulma = (function (exports) {
|
|
|
3925
3969
|
}
|
|
3926
3970
|
|
|
3927
3971
|
// (12:2) {#if show }
|
|
3928
|
-
function create_if_block_1$
|
|
3972
|
+
function create_if_block_1$y(ctx) {
|
|
3929
3973
|
let each_1_anchor;
|
|
3930
3974
|
let each_value = /*errors*/ ctx[0];
|
|
3931
3975
|
let each_blocks = [];
|
|
3932
3976
|
|
|
3933
3977
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
3934
|
-
each_blocks[i] = create_each_block$
|
|
3978
|
+
each_blocks[i] = create_each_block$j(get_each_context$j(ctx, each_value, i));
|
|
3935
3979
|
}
|
|
3936
3980
|
|
|
3937
3981
|
return {
|
|
@@ -3955,12 +3999,12 @@ var notBulma = (function (exports) {
|
|
|
3955
3999
|
let i;
|
|
3956
4000
|
|
|
3957
4001
|
for (i = 0; i < each_value.length; i += 1) {
|
|
3958
|
-
const child_ctx = get_each_context$
|
|
4002
|
+
const child_ctx = get_each_context$j(ctx, each_value, i);
|
|
3959
4003
|
|
|
3960
4004
|
if (each_blocks[i]) {
|
|
3961
4005
|
each_blocks[i].p(child_ctx, dirty);
|
|
3962
4006
|
} else {
|
|
3963
|
-
each_blocks[i] = create_each_block$
|
|
4007
|
+
each_blocks[i] = create_each_block$j(child_ctx);
|
|
3964
4008
|
each_blocks[i].c();
|
|
3965
4009
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
3966
4010
|
}
|
|
@@ -3981,7 +4025,7 @@ var notBulma = (function (exports) {
|
|
|
3981
4025
|
}
|
|
3982
4026
|
|
|
3983
4027
|
// (13:2) {#each errors as error}
|
|
3984
|
-
function create_each_block$
|
|
4028
|
+
function create_each_block$j(ctx) {
|
|
3985
4029
|
let span;
|
|
3986
4030
|
let t_value = /*$LOCALE*/ ctx[4][/*error*/ ctx[5]] + "";
|
|
3987
4031
|
let t;
|
|
@@ -4004,10 +4048,10 @@ var notBulma = (function (exports) {
|
|
|
4004
4048
|
};
|
|
4005
4049
|
}
|
|
4006
4050
|
|
|
4007
|
-
function create_fragment$
|
|
4051
|
+
function create_fragment$12(ctx) {
|
|
4008
4052
|
let show_if = Array.isArray(/*errors*/ ctx[0]) && /*errors*/ ctx[0].length;
|
|
4009
4053
|
let if_block_anchor;
|
|
4010
|
-
let if_block = show_if && create_if_block$
|
|
4054
|
+
let if_block = show_if && create_if_block$F(ctx);
|
|
4011
4055
|
|
|
4012
4056
|
return {
|
|
4013
4057
|
c() {
|
|
@@ -4025,7 +4069,7 @@ var notBulma = (function (exports) {
|
|
|
4025
4069
|
if (if_block) {
|
|
4026
4070
|
if_block.p(ctx, dirty);
|
|
4027
4071
|
} else {
|
|
4028
|
-
if_block = create_if_block$
|
|
4072
|
+
if_block = create_if_block$F(ctx);
|
|
4029
4073
|
if_block.c();
|
|
4030
4074
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
4031
4075
|
}
|
|
@@ -4043,7 +4087,7 @@ var notBulma = (function (exports) {
|
|
|
4043
4087
|
};
|
|
4044
4088
|
}
|
|
4045
4089
|
|
|
4046
|
-
function instance$
|
|
4090
|
+
function instance$11($$self, $$props, $$invalidate) {
|
|
4047
4091
|
let $LOCALE;
|
|
4048
4092
|
component_subscribe($$self, LOCALE, $$value => $$invalidate(4, $LOCALE = $$value));
|
|
4049
4093
|
let { errors = [] } = $$props;
|
|
@@ -4064,13 +4108,13 @@ var notBulma = (function (exports) {
|
|
|
4064
4108
|
class Ui_errors_list extends SvelteComponent {
|
|
4065
4109
|
constructor(options) {
|
|
4066
4110
|
super();
|
|
4067
|
-
init(this, options, instance$
|
|
4111
|
+
init(this, options, instance$11, create_fragment$12, safe_not_equal, { errors: 0, show: 1, classes: 2, id: 3 });
|
|
4068
4112
|
}
|
|
4069
4113
|
}
|
|
4070
4114
|
|
|
4071
4115
|
/* src/elements/various/ui.user.card.svelte generated by Svelte v3.46.6 */
|
|
4072
4116
|
|
|
4073
|
-
function create_fragment$
|
|
4117
|
+
function create_fragment$11(ctx) {
|
|
4074
4118
|
let article;
|
|
4075
4119
|
let figure;
|
|
4076
4120
|
let p0;
|
|
@@ -4152,7 +4196,7 @@ var notBulma = (function (exports) {
|
|
|
4152
4196
|
};
|
|
4153
4197
|
}
|
|
4154
4198
|
|
|
4155
|
-
function instance
|
|
4199
|
+
function instance$10($$self, $$props, $$invalidate) {
|
|
4156
4200
|
let { id = 'userCard' } = $$props;
|
|
4157
4201
|
let { image = 'https://bulma.io/images/placeholders/32x32.png' } = $$props;
|
|
4158
4202
|
let { username = 'John Doe' } = $$props;
|
|
@@ -4204,7 +4248,7 @@ var notBulma = (function (exports) {
|
|
|
4204
4248
|
constructor(options) {
|
|
4205
4249
|
super();
|
|
4206
4250
|
|
|
4207
|
-
init(this, options, instance
|
|
4251
|
+
init(this, options, instance$10, create_fragment$11, safe_not_equal, {
|
|
4208
4252
|
id: 5,
|
|
4209
4253
|
image: 2,
|
|
4210
4254
|
username: 0,
|
|
@@ -4363,7 +4407,7 @@ var notBulma = (function (exports) {
|
|
|
4363
4407
|
|
|
4364
4408
|
/* src/elements/form/ui.textfield.svelte generated by Svelte v3.46.6 */
|
|
4365
4409
|
|
|
4366
|
-
function create_else_block$
|
|
4410
|
+
function create_else_block$s(ctx) {
|
|
4367
4411
|
let input;
|
|
4368
4412
|
let input_id_value;
|
|
4369
4413
|
let input_class_value;
|
|
@@ -4374,8 +4418,8 @@ var notBulma = (function (exports) {
|
|
|
4374
4418
|
let if_block1_anchor;
|
|
4375
4419
|
let mounted;
|
|
4376
4420
|
let dispose;
|
|
4377
|
-
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$
|
|
4378
|
-
let if_block1 = /*validated*/ ctx[8] === true && create_if_block_1$
|
|
4421
|
+
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$d(ctx);
|
|
4422
|
+
let if_block1 = /*validated*/ ctx[8] === true && create_if_block_1$x(ctx);
|
|
4379
4423
|
|
|
4380
4424
|
return {
|
|
4381
4425
|
c() {
|
|
@@ -4470,7 +4514,7 @@ var notBulma = (function (exports) {
|
|
|
4470
4514
|
if (if_block0) {
|
|
4471
4515
|
if_block0.p(ctx, dirty);
|
|
4472
4516
|
} else {
|
|
4473
|
-
if_block0 = create_if_block_4$
|
|
4517
|
+
if_block0 = create_if_block_4$d(ctx);
|
|
4474
4518
|
if_block0.c();
|
|
4475
4519
|
if_block0.m(t1.parentNode, t1);
|
|
4476
4520
|
}
|
|
@@ -4483,7 +4527,7 @@ var notBulma = (function (exports) {
|
|
|
4483
4527
|
if (if_block1) {
|
|
4484
4528
|
if_block1.p(ctx, dirty);
|
|
4485
4529
|
} else {
|
|
4486
|
-
if_block1 = create_if_block_1$
|
|
4530
|
+
if_block1 = create_if_block_1$x(ctx);
|
|
4487
4531
|
if_block1.c();
|
|
4488
4532
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
4489
4533
|
}
|
|
@@ -4506,7 +4550,7 @@ var notBulma = (function (exports) {
|
|
|
4506
4550
|
}
|
|
4507
4551
|
|
|
4508
4552
|
// (50:4) {#if readonly }
|
|
4509
|
-
function create_if_block$
|
|
4553
|
+
function create_if_block$E(ctx) {
|
|
4510
4554
|
let p;
|
|
4511
4555
|
let t;
|
|
4512
4556
|
|
|
@@ -4529,7 +4573,7 @@ var notBulma = (function (exports) {
|
|
|
4529
4573
|
}
|
|
4530
4574
|
|
|
4531
4575
|
// (64:4) {#if icon }
|
|
4532
|
-
function create_if_block_4$
|
|
4576
|
+
function create_if_block_4$d(ctx) {
|
|
4533
4577
|
let span;
|
|
4534
4578
|
let i;
|
|
4535
4579
|
let i_class_value;
|
|
@@ -4557,12 +4601,12 @@ var notBulma = (function (exports) {
|
|
|
4557
4601
|
}
|
|
4558
4602
|
|
|
4559
4603
|
// (67:4) {#if validated === true }
|
|
4560
|
-
function create_if_block_1$
|
|
4604
|
+
function create_if_block_1$x(ctx) {
|
|
4561
4605
|
let span;
|
|
4562
4606
|
|
|
4563
4607
|
function select_block_type_1(ctx, dirty) {
|
|
4564
|
-
if (/*valid*/ ctx[7] === true) return create_if_block_2$
|
|
4565
|
-
if (/*valid*/ ctx[7] === false) return create_if_block_3$
|
|
4608
|
+
if (/*valid*/ ctx[7] === true) return create_if_block_2$m;
|
|
4609
|
+
if (/*valid*/ ctx[7] === false) return create_if_block_3$k;
|
|
4566
4610
|
}
|
|
4567
4611
|
|
|
4568
4612
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -4600,7 +4644,7 @@ var notBulma = (function (exports) {
|
|
|
4600
4644
|
}
|
|
4601
4645
|
|
|
4602
4646
|
// (71:35)
|
|
4603
|
-
function create_if_block_3$
|
|
4647
|
+
function create_if_block_3$k(ctx) {
|
|
4604
4648
|
let i;
|
|
4605
4649
|
|
|
4606
4650
|
return {
|
|
@@ -4618,7 +4662,7 @@ var notBulma = (function (exports) {
|
|
|
4618
4662
|
}
|
|
4619
4663
|
|
|
4620
4664
|
// (69:6) {#if valid === true }
|
|
4621
|
-
function create_if_block_2$
|
|
4665
|
+
function create_if_block_2$m(ctx) {
|
|
4622
4666
|
let i;
|
|
4623
4667
|
|
|
4624
4668
|
return {
|
|
@@ -4635,7 +4679,7 @@ var notBulma = (function (exports) {
|
|
|
4635
4679
|
};
|
|
4636
4680
|
}
|
|
4637
4681
|
|
|
4638
|
-
function create_fragment
|
|
4682
|
+
function create_fragment$10(ctx) {
|
|
4639
4683
|
let div;
|
|
4640
4684
|
let div_class_value;
|
|
4641
4685
|
let t;
|
|
@@ -4646,8 +4690,8 @@ var notBulma = (function (exports) {
|
|
|
4646
4690
|
let current;
|
|
4647
4691
|
|
|
4648
4692
|
function select_block_type(ctx, dirty) {
|
|
4649
|
-
if (/*readonly*/ ctx[6]) return create_if_block$
|
|
4650
|
-
return create_else_block$
|
|
4693
|
+
if (/*readonly*/ ctx[6]) return create_if_block$E;
|
|
4694
|
+
return create_else_block$s;
|
|
4651
4695
|
}
|
|
4652
4696
|
|
|
4653
4697
|
let current_block_type = select_block_type(ctx);
|
|
@@ -4759,7 +4803,7 @@ var notBulma = (function (exports) {
|
|
|
4759
4803
|
};
|
|
4760
4804
|
}
|
|
4761
4805
|
|
|
4762
|
-
function instance
|
|
4806
|
+
function instance$$($$self, $$props, $$invalidate) {
|
|
4763
4807
|
let iconClasses;
|
|
4764
4808
|
let allErrors;
|
|
4765
4809
|
let showErrors;
|
|
@@ -4890,7 +4934,7 @@ var notBulma = (function (exports) {
|
|
|
4890
4934
|
constructor(options) {
|
|
4891
4935
|
super();
|
|
4892
4936
|
|
|
4893
|
-
init(this, options, instance$
|
|
4937
|
+
init(this, options, instance$$, create_fragment$10, safe_not_equal, {
|
|
4894
4938
|
inputStarted: 16,
|
|
4895
4939
|
value: 0,
|
|
4896
4940
|
placeholder: 1,
|
|
@@ -4910,7 +4954,7 @@ var notBulma = (function (exports) {
|
|
|
4910
4954
|
|
|
4911
4955
|
/* src/elements/various/ui.simple.search.input.svelte generated by Svelte v3.46.6 */
|
|
4912
4956
|
|
|
4913
|
-
function create_fragment
|
|
4957
|
+
function create_fragment$$(ctx) {
|
|
4914
4958
|
let div2;
|
|
4915
4959
|
let div1;
|
|
4916
4960
|
let div0;
|
|
@@ -4981,7 +5025,7 @@ var notBulma = (function (exports) {
|
|
|
4981
5025
|
};
|
|
4982
5026
|
}
|
|
4983
5027
|
|
|
4984
|
-
function instance$
|
|
5028
|
+
function instance$_($$self, $$props, $$invalidate) {
|
|
4985
5029
|
let $LOCALE;
|
|
4986
5030
|
component_subscribe($$self, LOCALE, $$value => $$invalidate(4, $LOCALE = $$value));
|
|
4987
5031
|
const dispatch = createEventDispatcher();
|
|
@@ -5008,7 +5052,7 @@ var notBulma = (function (exports) {
|
|
|
5008
5052
|
class Ui_simple_search_input extends SvelteComponent {
|
|
5009
5053
|
constructor(options) {
|
|
5010
5054
|
super();
|
|
5011
|
-
init(this, options, instance$
|
|
5055
|
+
init(this, options, instance$_, create_fragment$$, safe_not_equal, { placeholder: 1, term: 0 });
|
|
5012
5056
|
}
|
|
5013
5057
|
}
|
|
5014
5058
|
|
|
@@ -5027,7 +5071,7 @@ var notBulma = (function (exports) {
|
|
|
5027
5071
|
|
|
5028
5072
|
/* src/elements/button/ui.button.svelte generated by Svelte v3.46.6 */
|
|
5029
5073
|
|
|
5030
|
-
function create_else_block$
|
|
5074
|
+
function create_else_block$r(ctx) {
|
|
5031
5075
|
let t_value = /*$LOCALE*/ ctx[15][/*title*/ ctx[0]] + "";
|
|
5032
5076
|
let t;
|
|
5033
5077
|
|
|
@@ -5048,13 +5092,13 @@ var notBulma = (function (exports) {
|
|
|
5048
5092
|
}
|
|
5049
5093
|
|
|
5050
5094
|
// (50:4) {#if icon }
|
|
5051
|
-
function create_if_block$
|
|
5095
|
+
function create_if_block$D(ctx) {
|
|
5052
5096
|
let t0;
|
|
5053
5097
|
let t1;
|
|
5054
5098
|
let if_block2_anchor;
|
|
5055
|
-
let if_block0 = /*iconSide*/ ctx[14] === 'left' && create_if_block_3$
|
|
5056
|
-
let if_block1 = /*title*/ ctx[0] && create_if_block_2$
|
|
5057
|
-
let if_block2 = /*iconSide*/ ctx[14] === 'right' && create_if_block_1$
|
|
5099
|
+
let if_block0 = /*iconSide*/ ctx[14] === 'left' && create_if_block_3$j(ctx);
|
|
5100
|
+
let if_block1 = /*title*/ ctx[0] && create_if_block_2$l(ctx);
|
|
5101
|
+
let if_block2 = /*iconSide*/ ctx[14] === 'right' && create_if_block_1$w(ctx);
|
|
5058
5102
|
|
|
5059
5103
|
return {
|
|
5060
5104
|
c() {
|
|
@@ -5078,7 +5122,7 @@ var notBulma = (function (exports) {
|
|
|
5078
5122
|
if (if_block0) {
|
|
5079
5123
|
if_block0.p(ctx, dirty);
|
|
5080
5124
|
} else {
|
|
5081
|
-
if_block0 = create_if_block_3$
|
|
5125
|
+
if_block0 = create_if_block_3$j(ctx);
|
|
5082
5126
|
if_block0.c();
|
|
5083
5127
|
if_block0.m(t0.parentNode, t0);
|
|
5084
5128
|
}
|
|
@@ -5091,7 +5135,7 @@ var notBulma = (function (exports) {
|
|
|
5091
5135
|
if (if_block1) {
|
|
5092
5136
|
if_block1.p(ctx, dirty);
|
|
5093
5137
|
} else {
|
|
5094
|
-
if_block1 = create_if_block_2$
|
|
5138
|
+
if_block1 = create_if_block_2$l(ctx);
|
|
5095
5139
|
if_block1.c();
|
|
5096
5140
|
if_block1.m(t1.parentNode, t1);
|
|
5097
5141
|
}
|
|
@@ -5104,7 +5148,7 @@ var notBulma = (function (exports) {
|
|
|
5104
5148
|
if (if_block2) {
|
|
5105
5149
|
if_block2.p(ctx, dirty);
|
|
5106
5150
|
} else {
|
|
5107
|
-
if_block2 = create_if_block_1$
|
|
5151
|
+
if_block2 = create_if_block_1$w(ctx);
|
|
5108
5152
|
if_block2.c();
|
|
5109
5153
|
if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
|
|
5110
5154
|
}
|
|
@@ -5125,7 +5169,7 @@ var notBulma = (function (exports) {
|
|
|
5125
5169
|
}
|
|
5126
5170
|
|
|
5127
5171
|
// (51:4) {#if iconSide === 'left' }
|
|
5128
|
-
function create_if_block_3$
|
|
5172
|
+
function create_if_block_3$j(ctx) {
|
|
5129
5173
|
let span;
|
|
5130
5174
|
let i;
|
|
5131
5175
|
let i_class_value;
|
|
@@ -5153,7 +5197,7 @@ var notBulma = (function (exports) {
|
|
|
5153
5197
|
}
|
|
5154
5198
|
|
|
5155
5199
|
// (54:4) {#if title }
|
|
5156
|
-
function create_if_block_2$
|
|
5200
|
+
function create_if_block_2$l(ctx) {
|
|
5157
5201
|
let span;
|
|
5158
5202
|
let t_value = /*$LOCALE*/ ctx[15][/*title*/ ctx[0]] + "";
|
|
5159
5203
|
let t;
|
|
@@ -5177,7 +5221,7 @@ var notBulma = (function (exports) {
|
|
|
5177
5221
|
}
|
|
5178
5222
|
|
|
5179
5223
|
// (57:4) {#if iconSide === 'right' }
|
|
5180
|
-
function create_if_block_1$
|
|
5224
|
+
function create_if_block_1$w(ctx) {
|
|
5181
5225
|
let span;
|
|
5182
5226
|
let i;
|
|
5183
5227
|
let i_class_value;
|
|
@@ -5209,8 +5253,8 @@ var notBulma = (function (exports) {
|
|
|
5209
5253
|
let if_block_anchor;
|
|
5210
5254
|
|
|
5211
5255
|
function select_block_type(ctx, dirty) {
|
|
5212
|
-
if (/*icon*/ ctx[13]) return create_if_block$
|
|
5213
|
-
return create_else_block$
|
|
5256
|
+
if (/*icon*/ ctx[13]) return create_if_block$D;
|
|
5257
|
+
return create_else_block$r;
|
|
5214
5258
|
}
|
|
5215
5259
|
|
|
5216
5260
|
let current_block_type = select_block_type(ctx);
|
|
@@ -5245,7 +5289,7 @@ var notBulma = (function (exports) {
|
|
|
5245
5289
|
};
|
|
5246
5290
|
}
|
|
5247
5291
|
|
|
5248
|
-
function create_fragment$
|
|
5292
|
+
function create_fragment$_(ctx) {
|
|
5249
5293
|
let button;
|
|
5250
5294
|
let button_type_value;
|
|
5251
5295
|
let button_class_value;
|
|
@@ -5328,7 +5372,7 @@ var notBulma = (function (exports) {
|
|
|
5328
5372
|
};
|
|
5329
5373
|
}
|
|
5330
5374
|
|
|
5331
|
-
function instance$
|
|
5375
|
+
function instance$Z($$self, $$props, $$invalidate) {
|
|
5332
5376
|
let $LOCALE;
|
|
5333
5377
|
component_subscribe($$self, LOCALE, $$value => $$invalidate(15, $LOCALE = $$value));
|
|
5334
5378
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
@@ -5406,7 +5450,7 @@ var notBulma = (function (exports) {
|
|
|
5406
5450
|
constructor(options) {
|
|
5407
5451
|
super();
|
|
5408
5452
|
|
|
5409
|
-
init(this, options, instance$
|
|
5453
|
+
init(this, options, instance$Z, create_fragment$_, safe_not_equal, {
|
|
5410
5454
|
title: 0,
|
|
5411
5455
|
light: 1,
|
|
5412
5456
|
loading: 2,
|
|
@@ -5436,7 +5480,7 @@ var notBulma = (function (exports) {
|
|
|
5436
5480
|
const get_left_slot_changes = dirty => ({});
|
|
5437
5481
|
const get_left_slot_context = ctx => ({});
|
|
5438
5482
|
|
|
5439
|
-
function create_fragment$
|
|
5483
|
+
function create_fragment$Z(ctx) {
|
|
5440
5484
|
let div;
|
|
5441
5485
|
let t0;
|
|
5442
5486
|
let t1;
|
|
@@ -5551,7 +5595,7 @@ var notBulma = (function (exports) {
|
|
|
5551
5595
|
};
|
|
5552
5596
|
}
|
|
5553
5597
|
|
|
5554
|
-
function instance$
|
|
5598
|
+
function instance$Y($$self, $$props, $$invalidate) {
|
|
5555
5599
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
5556
5600
|
let { classes = '' } = $$props;
|
|
5557
5601
|
|
|
@@ -5566,20 +5610,20 @@ var notBulma = (function (exports) {
|
|
|
5566
5610
|
class Ui_buttons_row extends SvelteComponent {
|
|
5567
5611
|
constructor(options) {
|
|
5568
5612
|
super();
|
|
5569
|
-
init(this, options, instance$
|
|
5613
|
+
init(this, options, instance$Y, create_fragment$Z, safe_not_equal, { classes: 0 });
|
|
5570
5614
|
}
|
|
5571
5615
|
}
|
|
5572
5616
|
|
|
5573
5617
|
/* src/elements/button/ui.buttons.svelte generated by Svelte v3.46.6 */
|
|
5574
5618
|
|
|
5575
|
-
function get_each_context$
|
|
5619
|
+
function get_each_context$i(ctx, list, i) {
|
|
5576
5620
|
const child_ctx = ctx.slice();
|
|
5577
5621
|
child_ctx[4] = list[i];
|
|
5578
5622
|
return child_ctx;
|
|
5579
5623
|
}
|
|
5580
5624
|
|
|
5581
5625
|
// (11:2) {#each values as item (item) }
|
|
5582
|
-
function create_each_block$
|
|
5626
|
+
function create_each_block$i(key_1, ctx) {
|
|
5583
5627
|
let first;
|
|
5584
5628
|
let uibutton;
|
|
5585
5629
|
let current;
|
|
@@ -5630,7 +5674,7 @@ var notBulma = (function (exports) {
|
|
|
5630
5674
|
};
|
|
5631
5675
|
}
|
|
5632
5676
|
|
|
5633
|
-
function create_fragment$
|
|
5677
|
+
function create_fragment$Y(ctx) {
|
|
5634
5678
|
let div;
|
|
5635
5679
|
let each_blocks = [];
|
|
5636
5680
|
let each_1_lookup = new Map();
|
|
@@ -5640,9 +5684,9 @@ var notBulma = (function (exports) {
|
|
|
5640
5684
|
const get_key = ctx => /*item*/ ctx[4];
|
|
5641
5685
|
|
|
5642
5686
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
5643
|
-
let child_ctx = get_each_context$
|
|
5687
|
+
let child_ctx = get_each_context$i(ctx, each_value, i);
|
|
5644
5688
|
let key = get_key(child_ctx);
|
|
5645
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$
|
|
5689
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$i(key, child_ctx));
|
|
5646
5690
|
}
|
|
5647
5691
|
|
|
5648
5692
|
return {
|
|
@@ -5668,7 +5712,7 @@ var notBulma = (function (exports) {
|
|
|
5668
5712
|
if (dirty & /*values*/ 1) {
|
|
5669
5713
|
each_value = /*values*/ ctx[0];
|
|
5670
5714
|
group_outros();
|
|
5671
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block$
|
|
5715
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, outro_and_destroy_block, create_each_block$i, null, get_each_context$i);
|
|
5672
5716
|
check_outros();
|
|
5673
5717
|
}
|
|
5674
5718
|
|
|
@@ -5702,7 +5746,7 @@ var notBulma = (function (exports) {
|
|
|
5702
5746
|
};
|
|
5703
5747
|
}
|
|
5704
5748
|
|
|
5705
|
-
function instance$
|
|
5749
|
+
function instance$X($$self, $$props, $$invalidate) {
|
|
5706
5750
|
let { values = [] } = $$props;
|
|
5707
5751
|
let { centered = false } = $$props;
|
|
5708
5752
|
let { right = false } = $$props;
|
|
@@ -5722,7 +5766,7 @@ var notBulma = (function (exports) {
|
|
|
5722
5766
|
constructor(options) {
|
|
5723
5767
|
super();
|
|
5724
5768
|
|
|
5725
|
-
init(this, options, instance$
|
|
5769
|
+
init(this, options, instance$X, create_fragment$Y, safe_not_equal, {
|
|
5726
5770
|
values: 0,
|
|
5727
5771
|
centered: 1,
|
|
5728
5772
|
right: 2,
|
|
@@ -5758,7 +5802,7 @@ var notBulma = (function (exports) {
|
|
|
5758
5802
|
|
|
5759
5803
|
const get_loading_slot_context = ctx => ({ loadingText: /*loadingText*/ ctx[12] });
|
|
5760
5804
|
|
|
5761
|
-
function get_each_context$
|
|
5805
|
+
function get_each_context$h(ctx, list, i) {
|
|
5762
5806
|
const child_ctx = ctx.slice();
|
|
5763
5807
|
child_ctx[116] = list[i];
|
|
5764
5808
|
child_ctx[118] = i;
|
|
@@ -6331,7 +6375,7 @@ var notBulma = (function (exports) {
|
|
|
6331
6375
|
}
|
|
6332
6376
|
|
|
6333
6377
|
// (1074:4) {#if filteredListItems && filteredListItems.length > 0}
|
|
6334
|
-
function create_if_block$
|
|
6378
|
+
function create_if_block$C(ctx) {
|
|
6335
6379
|
let t;
|
|
6336
6380
|
let if_block_anchor;
|
|
6337
6381
|
let current;
|
|
@@ -6339,14 +6383,14 @@ var notBulma = (function (exports) {
|
|
|
6339
6383
|
let each_blocks = [];
|
|
6340
6384
|
|
|
6341
6385
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
6342
|
-
each_blocks[i] = create_each_block$
|
|
6386
|
+
each_blocks[i] = create_each_block$h(get_each_context$h(ctx, each_value, i));
|
|
6343
6387
|
}
|
|
6344
6388
|
|
|
6345
6389
|
const out = i => transition_out(each_blocks[i], 1, 1, () => {
|
|
6346
6390
|
each_blocks[i] = null;
|
|
6347
6391
|
});
|
|
6348
6392
|
|
|
6349
|
-
let if_block = /*maxItemsToShowInList*/ ctx[5] > 0 && /*filteredListItems*/ ctx[31].length > /*maxItemsToShowInList*/ ctx[5] && create_if_block_1$
|
|
6393
|
+
let if_block = /*maxItemsToShowInList*/ ctx[5] > 0 && /*filteredListItems*/ ctx[31].length > /*maxItemsToShowInList*/ ctx[5] && create_if_block_1$v(ctx);
|
|
6350
6394
|
|
|
6351
6395
|
return {
|
|
6352
6396
|
c() {
|
|
@@ -6374,13 +6418,13 @@ var notBulma = (function (exports) {
|
|
|
6374
6418
|
let i;
|
|
6375
6419
|
|
|
6376
6420
|
for (i = 0; i < each_value.length; i += 1) {
|
|
6377
|
-
const child_ctx = get_each_context$
|
|
6421
|
+
const child_ctx = get_each_context$h(ctx, each_value, i);
|
|
6378
6422
|
|
|
6379
6423
|
if (each_blocks[i]) {
|
|
6380
6424
|
each_blocks[i].p(child_ctx, dirty);
|
|
6381
6425
|
transition_in(each_blocks[i], 1);
|
|
6382
6426
|
} else {
|
|
6383
|
-
each_blocks[i] = create_each_block$
|
|
6427
|
+
each_blocks[i] = create_each_block$h(child_ctx);
|
|
6384
6428
|
each_blocks[i].c();
|
|
6385
6429
|
transition_in(each_blocks[i], 1);
|
|
6386
6430
|
each_blocks[i].m(t.parentNode, t);
|
|
@@ -6400,7 +6444,7 @@ var notBulma = (function (exports) {
|
|
|
6400
6444
|
if (if_block) {
|
|
6401
6445
|
if_block.p(ctx, dirty);
|
|
6402
6446
|
} else {
|
|
6403
|
-
if_block = create_if_block_1$
|
|
6447
|
+
if_block = create_if_block_1$v(ctx);
|
|
6404
6448
|
if_block.c();
|
|
6405
6449
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
6406
6450
|
}
|
|
@@ -6497,10 +6541,10 @@ var notBulma = (function (exports) {
|
|
|
6497
6541
|
}
|
|
6498
6542
|
|
|
6499
6543
|
// (1076:8) {#if listItem && (maxItemsToShowInList <= 0 || i < maxItemsToShowInList)}
|
|
6500
|
-
function create_if_block_3$
|
|
6544
|
+
function create_if_block_3$i(ctx) {
|
|
6501
6545
|
let if_block_anchor;
|
|
6502
6546
|
let current;
|
|
6503
|
-
let if_block = /*listItem*/ ctx[116] && create_if_block_4$
|
|
6547
|
+
let if_block = /*listItem*/ ctx[116] && create_if_block_4$c(ctx);
|
|
6504
6548
|
|
|
6505
6549
|
return {
|
|
6506
6550
|
c() {
|
|
@@ -6521,7 +6565,7 @@ var notBulma = (function (exports) {
|
|
|
6521
6565
|
transition_in(if_block, 1);
|
|
6522
6566
|
}
|
|
6523
6567
|
} else {
|
|
6524
|
-
if_block = create_if_block_4$
|
|
6568
|
+
if_block = create_if_block_4$c(ctx);
|
|
6525
6569
|
if_block.c();
|
|
6526
6570
|
transition_in(if_block, 1);
|
|
6527
6571
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -6553,7 +6597,7 @@ var notBulma = (function (exports) {
|
|
|
6553
6597
|
}
|
|
6554
6598
|
|
|
6555
6599
|
// (1077:10) {#if listItem}
|
|
6556
|
-
function create_if_block_4$
|
|
6600
|
+
function create_if_block_4$c(ctx) {
|
|
6557
6601
|
let div;
|
|
6558
6602
|
let div_class_value;
|
|
6559
6603
|
let current;
|
|
@@ -6651,7 +6695,7 @@ var notBulma = (function (exports) {
|
|
|
6651
6695
|
}
|
|
6652
6696
|
|
|
6653
6697
|
// (1093:16) {:else}
|
|
6654
|
-
function create_else_block$
|
|
6698
|
+
function create_else_block$q(ctx) {
|
|
6655
6699
|
let html_tag;
|
|
6656
6700
|
let raw_value = /*listItem*/ ctx[116].label + "";
|
|
6657
6701
|
let html_anchor;
|
|
@@ -6677,7 +6721,7 @@ var notBulma = (function (exports) {
|
|
|
6677
6721
|
}
|
|
6678
6722
|
|
|
6679
6723
|
// (1091:16) {#if listItem.highlighted}
|
|
6680
|
-
function create_if_block_5$
|
|
6724
|
+
function create_if_block_5$7(ctx) {
|
|
6681
6725
|
let html_tag;
|
|
6682
6726
|
let raw_value = /*listItem*/ ctx[116].highlighted + "";
|
|
6683
6727
|
let html_anchor;
|
|
@@ -6707,8 +6751,8 @@ var notBulma = (function (exports) {
|
|
|
6707
6751
|
let if_block_anchor;
|
|
6708
6752
|
|
|
6709
6753
|
function select_block_type_2(ctx, dirty) {
|
|
6710
|
-
if (/*listItem*/ ctx[116].highlighted) return create_if_block_5$
|
|
6711
|
-
return create_else_block$
|
|
6754
|
+
if (/*listItem*/ ctx[116].highlighted) return create_if_block_5$7;
|
|
6755
|
+
return create_else_block$q;
|
|
6712
6756
|
}
|
|
6713
6757
|
|
|
6714
6758
|
let current_block_type = select_block_type_2(ctx);
|
|
@@ -6744,10 +6788,10 @@ var notBulma = (function (exports) {
|
|
|
6744
6788
|
}
|
|
6745
6789
|
|
|
6746
6790
|
// (1075:6) {#each filteredListItems as listItem, i}
|
|
6747
|
-
function create_each_block$
|
|
6791
|
+
function create_each_block$h(ctx) {
|
|
6748
6792
|
let if_block_anchor;
|
|
6749
6793
|
let current;
|
|
6750
|
-
let if_block = /*listItem*/ ctx[116] && (/*maxItemsToShowInList*/ ctx[5] <= 0 || /*i*/ ctx[118] < /*maxItemsToShowInList*/ ctx[5]) && create_if_block_3$
|
|
6794
|
+
let if_block = /*listItem*/ ctx[116] && (/*maxItemsToShowInList*/ ctx[5] <= 0 || /*i*/ ctx[118] < /*maxItemsToShowInList*/ ctx[5]) && create_if_block_3$i(ctx);
|
|
6751
6795
|
|
|
6752
6796
|
return {
|
|
6753
6797
|
c() {
|
|
@@ -6768,7 +6812,7 @@ var notBulma = (function (exports) {
|
|
|
6768
6812
|
transition_in(if_block, 1);
|
|
6769
6813
|
}
|
|
6770
6814
|
} else {
|
|
6771
|
-
if_block = create_if_block_3$
|
|
6815
|
+
if_block = create_if_block_3$i(ctx);
|
|
6772
6816
|
if_block.c();
|
|
6773
6817
|
transition_in(if_block, 1);
|
|
6774
6818
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -6800,9 +6844,9 @@ var notBulma = (function (exports) {
|
|
|
6800
6844
|
}
|
|
6801
6845
|
|
|
6802
6846
|
// (1102:6) {#if maxItemsToShowInList > 0 && filteredListItems.length > maxItemsToShowInList}
|
|
6803
|
-
function create_if_block_1$
|
|
6847
|
+
function create_if_block_1$v(ctx) {
|
|
6804
6848
|
let if_block_anchor;
|
|
6805
|
-
let if_block = /*moreItemsText*/ ctx[13] && create_if_block_2$
|
|
6849
|
+
let if_block = /*moreItemsText*/ ctx[13] && create_if_block_2$k(ctx);
|
|
6806
6850
|
|
|
6807
6851
|
return {
|
|
6808
6852
|
c() {
|
|
@@ -6818,7 +6862,7 @@ var notBulma = (function (exports) {
|
|
|
6818
6862
|
if (if_block) {
|
|
6819
6863
|
if_block.p(ctx, dirty);
|
|
6820
6864
|
} else {
|
|
6821
|
-
if_block = create_if_block_2$
|
|
6865
|
+
if_block = create_if_block_2$k(ctx);
|
|
6822
6866
|
if_block.c();
|
|
6823
6867
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
6824
6868
|
}
|
|
@@ -6835,7 +6879,7 @@ var notBulma = (function (exports) {
|
|
|
6835
6879
|
}
|
|
6836
6880
|
|
|
6837
6881
|
// (1103:8) {#if moreItemsText}
|
|
6838
|
-
function create_if_block_2$
|
|
6882
|
+
function create_if_block_2$k(ctx) {
|
|
6839
6883
|
let div;
|
|
6840
6884
|
let t0;
|
|
6841
6885
|
let t1_value = /*filteredListItems*/ ctx[31].length - /*maxItemsToShowInList*/ ctx[5] + "";
|
|
@@ -6869,7 +6913,7 @@ var notBulma = (function (exports) {
|
|
|
6869
6913
|
};
|
|
6870
6914
|
}
|
|
6871
6915
|
|
|
6872
|
-
function create_fragment$
|
|
6916
|
+
function create_fragment$X(ctx) {
|
|
6873
6917
|
let div2;
|
|
6874
6918
|
let select;
|
|
6875
6919
|
let t0;
|
|
@@ -6900,7 +6944,7 @@ var notBulma = (function (exports) {
|
|
|
6900
6944
|
let if_block0 = current_block_type && current_block_type(ctx);
|
|
6901
6945
|
let if_block1 = /*multiple*/ ctx[6] && /*selectedItem*/ ctx[1] && create_if_block_10$1(ctx);
|
|
6902
6946
|
let if_block2 = /*clearable*/ ctx[35] && create_if_block_9$1(ctx);
|
|
6903
|
-
const if_block_creators = [create_if_block$
|
|
6947
|
+
const if_block_creators = [create_if_block$C, create_if_block_6$3, create_if_block_7$3, create_if_block_8$1];
|
|
6904
6948
|
const if_blocks = [];
|
|
6905
6949
|
|
|
6906
6950
|
function select_block_type_1(ctx, dirty) {
|
|
@@ -7255,7 +7299,7 @@ var notBulma = (function (exports) {
|
|
|
7255
7299
|
return str.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
|
|
7256
7300
|
}
|
|
7257
7301
|
|
|
7258
|
-
function instance$
|
|
7302
|
+
function instance$W($$self, $$props, $$invalidate) {
|
|
7259
7303
|
let showList;
|
|
7260
7304
|
let clearable;
|
|
7261
7305
|
let { $$slots: slots = {}, $$scope } = $$props;
|
|
@@ -8400,8 +8444,8 @@ var notBulma = (function (exports) {
|
|
|
8400
8444
|
init(
|
|
8401
8445
|
this,
|
|
8402
8446
|
options,
|
|
8403
|
-
instance$
|
|
8404
|
-
create_fragment$
|
|
8447
|
+
instance$W,
|
|
8448
|
+
create_fragment$X,
|
|
8405
8449
|
safe_not_equal,
|
|
8406
8450
|
{
|
|
8407
8451
|
items: 0,
|
|
@@ -8476,7 +8520,7 @@ var notBulma = (function (exports) {
|
|
|
8476
8520
|
|
|
8477
8521
|
/* src/elements/form/ui.autocomplete.svelte generated by Svelte v3.46.6 */
|
|
8478
8522
|
|
|
8479
|
-
function create_else_block$
|
|
8523
|
+
function create_else_block$p(ctx) {
|
|
8480
8524
|
let div;
|
|
8481
8525
|
let current_block_type_index;
|
|
8482
8526
|
let if_block;
|
|
@@ -8486,7 +8530,7 @@ var notBulma = (function (exports) {
|
|
|
8486
8530
|
let updating_show;
|
|
8487
8531
|
let updating_classes;
|
|
8488
8532
|
let current;
|
|
8489
|
-
const if_block_creators = [create_if_block_1$
|
|
8533
|
+
const if_block_creators = [create_if_block_1$u, create_else_block_1$5];
|
|
8490
8534
|
const if_blocks = [];
|
|
8491
8535
|
|
|
8492
8536
|
function select_block_type_1(ctx, dirty) {
|
|
@@ -8616,7 +8660,7 @@ var notBulma = (function (exports) {
|
|
|
8616
8660
|
}
|
|
8617
8661
|
|
|
8618
8662
|
// (57:0) {#if readonly }
|
|
8619
|
-
function create_if_block$
|
|
8663
|
+
function create_if_block$B(ctx) {
|
|
8620
8664
|
let uitextfield;
|
|
8621
8665
|
let current;
|
|
8622
8666
|
|
|
@@ -8737,7 +8781,7 @@ var notBulma = (function (exports) {
|
|
|
8737
8781
|
}
|
|
8738
8782
|
|
|
8739
8783
|
// (61:2) {#if readonly }
|
|
8740
|
-
function create_if_block_1$
|
|
8784
|
+
function create_if_block_1$u(ctx) {
|
|
8741
8785
|
let p;
|
|
8742
8786
|
let t;
|
|
8743
8787
|
|
|
@@ -8761,12 +8805,12 @@ var notBulma = (function (exports) {
|
|
|
8761
8805
|
};
|
|
8762
8806
|
}
|
|
8763
8807
|
|
|
8764
|
-
function create_fragment$
|
|
8808
|
+
function create_fragment$W(ctx) {
|
|
8765
8809
|
let current_block_type_index;
|
|
8766
8810
|
let if_block;
|
|
8767
8811
|
let if_block_anchor;
|
|
8768
8812
|
let current;
|
|
8769
|
-
const if_block_creators = [create_if_block$
|
|
8813
|
+
const if_block_creators = [create_if_block$B, create_else_block$p];
|
|
8770
8814
|
const if_blocks = [];
|
|
8771
8815
|
|
|
8772
8816
|
function select_block_type(ctx, dirty) {
|
|
@@ -8830,7 +8874,7 @@ var notBulma = (function (exports) {
|
|
|
8830
8874
|
};
|
|
8831
8875
|
}
|
|
8832
8876
|
|
|
8833
|
-
function instance$
|
|
8877
|
+
function instance$V($$self, $$props, $$invalidate) {
|
|
8834
8878
|
let allErrors;
|
|
8835
8879
|
let showErrors;
|
|
8836
8880
|
let validationClasses;
|
|
@@ -8965,7 +9009,7 @@ var notBulma = (function (exports) {
|
|
|
8965
9009
|
constructor(options) {
|
|
8966
9010
|
super();
|
|
8967
9011
|
|
|
8968
|
-
init(this, options, instance$
|
|
9012
|
+
init(this, options, instance$V, create_fragment$W, safe_not_equal, {
|
|
8969
9013
|
idField: 1,
|
|
8970
9014
|
labelField: 2,
|
|
8971
9015
|
minCharactersToSearch: 3,
|
|
@@ -8992,7 +9036,7 @@ var notBulma = (function (exports) {
|
|
|
8992
9036
|
|
|
8993
9037
|
/* src/elements/form/ui.checkbox.list.svelte generated by Svelte v3.46.6 */
|
|
8994
9038
|
|
|
8995
|
-
function get_each_context$
|
|
9039
|
+
function get_each_context$g(ctx, list, i) {
|
|
8996
9040
|
const child_ctx = ctx.slice();
|
|
8997
9041
|
child_ctx[22] = list[i];
|
|
8998
9042
|
child_ctx[23] = list;
|
|
@@ -9001,7 +9045,7 @@ var notBulma = (function (exports) {
|
|
|
9001
9045
|
}
|
|
9002
9046
|
|
|
9003
9047
|
// (57:2) {#each value as item(item.id) }
|
|
9004
|
-
function create_each_block$
|
|
9048
|
+
function create_each_block$g(key_1, ctx) {
|
|
9005
9049
|
let label;
|
|
9006
9050
|
let input;
|
|
9007
9051
|
let input_data_id_value;
|
|
@@ -9127,7 +9171,7 @@ var notBulma = (function (exports) {
|
|
|
9127
9171
|
};
|
|
9128
9172
|
}
|
|
9129
9173
|
|
|
9130
|
-
function create_fragment$
|
|
9174
|
+
function create_fragment$V(ctx) {
|
|
9131
9175
|
let div;
|
|
9132
9176
|
let each_blocks = [];
|
|
9133
9177
|
let each_1_lookup = new Map();
|
|
@@ -9141,9 +9185,9 @@ var notBulma = (function (exports) {
|
|
|
9141
9185
|
const get_key = ctx => /*item*/ ctx[22].id;
|
|
9142
9186
|
|
|
9143
9187
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
9144
|
-
let child_ctx = get_each_context$
|
|
9188
|
+
let child_ctx = get_each_context$g(ctx, each_value, i);
|
|
9145
9189
|
let key = get_key(child_ctx);
|
|
9146
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$
|
|
9190
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$g(key, child_ctx));
|
|
9147
9191
|
}
|
|
9148
9192
|
|
|
9149
9193
|
function errorslist_errors_binding(value) {
|
|
@@ -9205,7 +9249,7 @@ var notBulma = (function (exports) {
|
|
|
9205
9249
|
p(ctx, [dirty]) {
|
|
9206
9250
|
if (dirty & /*disabled, value, fieldname, $LOCALE, readonly, invalid, onBlur, onInput*/ 1839) {
|
|
9207
9251
|
each_value = /*value*/ ctx[0];
|
|
9208
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, destroy_block, create_each_block$
|
|
9252
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, destroy_block, create_each_block$g, null, get_each_context$g);
|
|
9209
9253
|
}
|
|
9210
9254
|
|
|
9211
9255
|
const errorslist_changes = {};
|
|
@@ -9253,7 +9297,7 @@ var notBulma = (function (exports) {
|
|
|
9253
9297
|
};
|
|
9254
9298
|
}
|
|
9255
9299
|
|
|
9256
|
-
function instance$
|
|
9300
|
+
function instance$U($$self, $$props, $$invalidate) {
|
|
9257
9301
|
let allErrors;
|
|
9258
9302
|
let showErrors;
|
|
9259
9303
|
let invalid;
|
|
@@ -9374,7 +9418,7 @@ var notBulma = (function (exports) {
|
|
|
9374
9418
|
constructor(options) {
|
|
9375
9419
|
super();
|
|
9376
9420
|
|
|
9377
|
-
init(this, options, instance$
|
|
9421
|
+
init(this, options, instance$U, create_fragment$V, safe_not_equal, {
|
|
9378
9422
|
inputStarted: 11,
|
|
9379
9423
|
value: 0,
|
|
9380
9424
|
fieldname: 1,
|
|
@@ -9391,7 +9435,7 @@ var notBulma = (function (exports) {
|
|
|
9391
9435
|
|
|
9392
9436
|
/* src/elements/form/ui.checkbox.svelte generated by Svelte v3.46.6 */
|
|
9393
9437
|
|
|
9394
|
-
function create_else_block$
|
|
9438
|
+
function create_else_block$o(ctx) {
|
|
9395
9439
|
let input;
|
|
9396
9440
|
let input_id_value;
|
|
9397
9441
|
let input_aria_controls_value;
|
|
@@ -9490,7 +9534,7 @@ var notBulma = (function (exports) {
|
|
|
9490
9534
|
}
|
|
9491
9535
|
|
|
9492
9536
|
// (55:4) {#if readonly }
|
|
9493
|
-
function create_if_block$
|
|
9537
|
+
function create_if_block$A(ctx) {
|
|
9494
9538
|
let uibooleans;
|
|
9495
9539
|
let current;
|
|
9496
9540
|
|
|
@@ -9532,7 +9576,7 @@ var notBulma = (function (exports) {
|
|
|
9532
9576
|
};
|
|
9533
9577
|
}
|
|
9534
9578
|
|
|
9535
|
-
function create_fragment$
|
|
9579
|
+
function create_fragment$U(ctx) {
|
|
9536
9580
|
let div;
|
|
9537
9581
|
let label_1;
|
|
9538
9582
|
let current_block_type_index;
|
|
@@ -9545,7 +9589,7 @@ var notBulma = (function (exports) {
|
|
|
9545
9589
|
let updating_show;
|
|
9546
9590
|
let updating_classes;
|
|
9547
9591
|
let current;
|
|
9548
|
-
const if_block_creators = [create_if_block$
|
|
9592
|
+
const if_block_creators = [create_if_block$A, create_else_block$o];
|
|
9549
9593
|
const if_blocks = [];
|
|
9550
9594
|
|
|
9551
9595
|
function select_block_type(ctx, dirty) {
|
|
@@ -9691,7 +9735,7 @@ var notBulma = (function (exports) {
|
|
|
9691
9735
|
};
|
|
9692
9736
|
}
|
|
9693
9737
|
|
|
9694
|
-
function instance$
|
|
9738
|
+
function instance$T($$self, $$props, $$invalidate) {
|
|
9695
9739
|
let iconClasses;
|
|
9696
9740
|
let allErrors;
|
|
9697
9741
|
let showErrors;
|
|
@@ -9836,7 +9880,7 @@ var notBulma = (function (exports) {
|
|
|
9836
9880
|
constructor(options) {
|
|
9837
9881
|
super();
|
|
9838
9882
|
|
|
9839
|
-
init(this, options, instance$
|
|
9883
|
+
init(this, options, instance$T, create_fragment$U, safe_not_equal, {
|
|
9840
9884
|
inputStarted: 15,
|
|
9841
9885
|
value: 0,
|
|
9842
9886
|
label: 1,
|
|
@@ -9857,7 +9901,7 @@ var notBulma = (function (exports) {
|
|
|
9857
9901
|
|
|
9858
9902
|
/* src/elements/form/ui.color.svelte generated by Svelte v3.46.6 */
|
|
9859
9903
|
|
|
9860
|
-
function create_if_block_3$
|
|
9904
|
+
function create_if_block_3$h(ctx) {
|
|
9861
9905
|
let span;
|
|
9862
9906
|
let i;
|
|
9863
9907
|
let i_class_value;
|
|
@@ -9885,12 +9929,12 @@ var notBulma = (function (exports) {
|
|
|
9885
9929
|
}
|
|
9886
9930
|
|
|
9887
9931
|
// (61:4) {#if validated === true }
|
|
9888
|
-
function create_if_block$
|
|
9932
|
+
function create_if_block$z(ctx) {
|
|
9889
9933
|
let span;
|
|
9890
9934
|
|
|
9891
9935
|
function select_block_type(ctx, dirty) {
|
|
9892
|
-
if (/*valid*/ ctx[6] === true) return create_if_block_1$
|
|
9893
|
-
if (/*valid*/ ctx[6] === false) return create_if_block_2$
|
|
9936
|
+
if (/*valid*/ ctx[6] === true) return create_if_block_1$t;
|
|
9937
|
+
if (/*valid*/ ctx[6] === false) return create_if_block_2$j;
|
|
9894
9938
|
}
|
|
9895
9939
|
|
|
9896
9940
|
let current_block_type = select_block_type(ctx);
|
|
@@ -9928,7 +9972,7 @@ var notBulma = (function (exports) {
|
|
|
9928
9972
|
}
|
|
9929
9973
|
|
|
9930
9974
|
// (65:35)
|
|
9931
|
-
function create_if_block_2$
|
|
9975
|
+
function create_if_block_2$j(ctx) {
|
|
9932
9976
|
let i;
|
|
9933
9977
|
|
|
9934
9978
|
return {
|
|
@@ -9946,7 +9990,7 @@ var notBulma = (function (exports) {
|
|
|
9946
9990
|
}
|
|
9947
9991
|
|
|
9948
9992
|
// (63:6) {#if valid === true }
|
|
9949
|
-
function create_if_block_1$
|
|
9993
|
+
function create_if_block_1$t(ctx) {
|
|
9950
9994
|
let i;
|
|
9951
9995
|
|
|
9952
9996
|
return {
|
|
@@ -9963,7 +10007,7 @@ var notBulma = (function (exports) {
|
|
|
9963
10007
|
};
|
|
9964
10008
|
}
|
|
9965
10009
|
|
|
9966
|
-
function create_fragment$
|
|
10010
|
+
function create_fragment$T(ctx) {
|
|
9967
10011
|
let div;
|
|
9968
10012
|
let input;
|
|
9969
10013
|
let input_id_value;
|
|
@@ -9981,8 +10025,8 @@ var notBulma = (function (exports) {
|
|
|
9981
10025
|
let current;
|
|
9982
10026
|
let mounted;
|
|
9983
10027
|
let dispose;
|
|
9984
|
-
let if_block0 = /*icon*/ ctx[3] && create_if_block_3$
|
|
9985
|
-
let if_block1 = /*validated*/ ctx[7] === true && create_if_block$
|
|
10028
|
+
let if_block0 = /*icon*/ ctx[3] && create_if_block_3$h(ctx);
|
|
10029
|
+
let if_block1 = /*validated*/ ctx[7] === true && create_if_block$z(ctx);
|
|
9986
10030
|
|
|
9987
10031
|
function errorslist_errors_binding(value) {
|
|
9988
10032
|
/*errorslist_errors_binding*/ ctx[20](value);
|
|
@@ -10111,7 +10155,7 @@ var notBulma = (function (exports) {
|
|
|
10111
10155
|
if (if_block0) {
|
|
10112
10156
|
if_block0.p(ctx, dirty);
|
|
10113
10157
|
} else {
|
|
10114
|
-
if_block0 = create_if_block_3$
|
|
10158
|
+
if_block0 = create_if_block_3$h(ctx);
|
|
10115
10159
|
if_block0.c();
|
|
10116
10160
|
if_block0.m(div, t1);
|
|
10117
10161
|
}
|
|
@@ -10124,7 +10168,7 @@ var notBulma = (function (exports) {
|
|
|
10124
10168
|
if (if_block1) {
|
|
10125
10169
|
if_block1.p(ctx, dirty);
|
|
10126
10170
|
} else {
|
|
10127
|
-
if_block1 = create_if_block$
|
|
10171
|
+
if_block1 = create_if_block$z(ctx);
|
|
10128
10172
|
if_block1.c();
|
|
10129
10173
|
if_block1.m(div, null);
|
|
10130
10174
|
}
|
|
@@ -10181,7 +10225,7 @@ var notBulma = (function (exports) {
|
|
|
10181
10225
|
};
|
|
10182
10226
|
}
|
|
10183
10227
|
|
|
10184
|
-
function instance$
|
|
10228
|
+
function instance$S($$self, $$props, $$invalidate) {
|
|
10185
10229
|
let iconClasses;
|
|
10186
10230
|
let allErrors;
|
|
10187
10231
|
let showErrors;
|
|
@@ -10313,7 +10357,7 @@ var notBulma = (function (exports) {
|
|
|
10313
10357
|
constructor(options) {
|
|
10314
10358
|
super();
|
|
10315
10359
|
|
|
10316
|
-
init(this, options, instance$
|
|
10360
|
+
init(this, options, instance$S, create_fragment$T, safe_not_equal, {
|
|
10317
10361
|
inputStarted: 15,
|
|
10318
10362
|
value: 0,
|
|
10319
10363
|
placeholder: 1,
|
|
@@ -10332,7 +10376,7 @@ var notBulma = (function (exports) {
|
|
|
10332
10376
|
|
|
10333
10377
|
/* src/elements/form/ui.date.svelte generated by Svelte v3.46.6 */
|
|
10334
10378
|
|
|
10335
|
-
function create_else_block$
|
|
10379
|
+
function create_else_block$n(ctx) {
|
|
10336
10380
|
let input;
|
|
10337
10381
|
let input_class_value;
|
|
10338
10382
|
let input_id_value;
|
|
@@ -10343,8 +10387,8 @@ var notBulma = (function (exports) {
|
|
|
10343
10387
|
let if_block1_anchor;
|
|
10344
10388
|
let mounted;
|
|
10345
10389
|
let dispose;
|
|
10346
|
-
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$
|
|
10347
|
-
let if_block1 = /*validated*/ ctx[7] === true && create_if_block_1$
|
|
10390
|
+
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$b(ctx);
|
|
10391
|
+
let if_block1 = /*validated*/ ctx[7] === true && create_if_block_1$s(ctx);
|
|
10348
10392
|
|
|
10349
10393
|
return {
|
|
10350
10394
|
c() {
|
|
@@ -10434,7 +10478,7 @@ var notBulma = (function (exports) {
|
|
|
10434
10478
|
if (if_block0) {
|
|
10435
10479
|
if_block0.p(ctx, dirty);
|
|
10436
10480
|
} else {
|
|
10437
|
-
if_block0 = create_if_block_4$
|
|
10481
|
+
if_block0 = create_if_block_4$b(ctx);
|
|
10438
10482
|
if_block0.c();
|
|
10439
10483
|
if_block0.m(t1.parentNode, t1);
|
|
10440
10484
|
}
|
|
@@ -10447,7 +10491,7 @@ var notBulma = (function (exports) {
|
|
|
10447
10491
|
if (if_block1) {
|
|
10448
10492
|
if_block1.p(ctx, dirty);
|
|
10449
10493
|
} else {
|
|
10450
|
-
if_block1 = create_if_block_1$
|
|
10494
|
+
if_block1 = create_if_block_1$s(ctx);
|
|
10451
10495
|
if_block1.c();
|
|
10452
10496
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
10453
10497
|
}
|
|
@@ -10470,7 +10514,7 @@ var notBulma = (function (exports) {
|
|
|
10470
10514
|
}
|
|
10471
10515
|
|
|
10472
10516
|
// (52:4) {#if readonly }
|
|
10473
|
-
function create_if_block$
|
|
10517
|
+
function create_if_block$y(ctx) {
|
|
10474
10518
|
let p;
|
|
10475
10519
|
let time;
|
|
10476
10520
|
let t_value = UICommon.tryFormatLocaleDateTime(/*value*/ ctx[0]) + "";
|
|
@@ -10502,7 +10546,7 @@ var notBulma = (function (exports) {
|
|
|
10502
10546
|
}
|
|
10503
10547
|
|
|
10504
10548
|
// (63:4) {#if icon }
|
|
10505
|
-
function create_if_block_4$
|
|
10549
|
+
function create_if_block_4$b(ctx) {
|
|
10506
10550
|
let span;
|
|
10507
10551
|
let i;
|
|
10508
10552
|
let i_class_value;
|
|
@@ -10530,12 +10574,12 @@ var notBulma = (function (exports) {
|
|
|
10530
10574
|
}
|
|
10531
10575
|
|
|
10532
10576
|
// (66:4) {#if validated === true }
|
|
10533
|
-
function create_if_block_1$
|
|
10577
|
+
function create_if_block_1$s(ctx) {
|
|
10534
10578
|
let span;
|
|
10535
10579
|
|
|
10536
10580
|
function select_block_type_1(ctx, dirty) {
|
|
10537
|
-
if (/*valid*/ ctx[6] === true) return create_if_block_2$
|
|
10538
|
-
if (/*valid*/ ctx[6] === false) return create_if_block_3$
|
|
10581
|
+
if (/*valid*/ ctx[6] === true) return create_if_block_2$i;
|
|
10582
|
+
if (/*valid*/ ctx[6] === false) return create_if_block_3$g;
|
|
10539
10583
|
}
|
|
10540
10584
|
|
|
10541
10585
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -10573,7 +10617,7 @@ var notBulma = (function (exports) {
|
|
|
10573
10617
|
}
|
|
10574
10618
|
|
|
10575
10619
|
// (70:35)
|
|
10576
|
-
function create_if_block_3$
|
|
10620
|
+
function create_if_block_3$g(ctx) {
|
|
10577
10621
|
let i;
|
|
10578
10622
|
|
|
10579
10623
|
return {
|
|
@@ -10591,7 +10635,7 @@ var notBulma = (function (exports) {
|
|
|
10591
10635
|
}
|
|
10592
10636
|
|
|
10593
10637
|
// (68:6) {#if valid === true }
|
|
10594
|
-
function create_if_block_2$
|
|
10638
|
+
function create_if_block_2$i(ctx) {
|
|
10595
10639
|
let i;
|
|
10596
10640
|
|
|
10597
10641
|
return {
|
|
@@ -10608,7 +10652,7 @@ var notBulma = (function (exports) {
|
|
|
10608
10652
|
};
|
|
10609
10653
|
}
|
|
10610
10654
|
|
|
10611
|
-
function create_fragment$
|
|
10655
|
+
function create_fragment$S(ctx) {
|
|
10612
10656
|
let div;
|
|
10613
10657
|
let div_class_value;
|
|
10614
10658
|
let t;
|
|
@@ -10619,8 +10663,8 @@ var notBulma = (function (exports) {
|
|
|
10619
10663
|
let current;
|
|
10620
10664
|
|
|
10621
10665
|
function select_block_type(ctx, dirty) {
|
|
10622
|
-
if (/*readonly*/ ctx[5]) return create_if_block$
|
|
10623
|
-
return create_else_block$
|
|
10666
|
+
if (/*readonly*/ ctx[5]) return create_if_block$y;
|
|
10667
|
+
return create_else_block$n;
|
|
10624
10668
|
}
|
|
10625
10669
|
|
|
10626
10670
|
let current_block_type = select_block_type(ctx);
|
|
@@ -10732,7 +10776,7 @@ var notBulma = (function (exports) {
|
|
|
10732
10776
|
};
|
|
10733
10777
|
}
|
|
10734
10778
|
|
|
10735
|
-
function instance$
|
|
10779
|
+
function instance$R($$self, $$props, $$invalidate) {
|
|
10736
10780
|
let iconClasses;
|
|
10737
10781
|
let allErrors;
|
|
10738
10782
|
let invalid;
|
|
@@ -10864,7 +10908,7 @@ var notBulma = (function (exports) {
|
|
|
10864
10908
|
constructor(options) {
|
|
10865
10909
|
super();
|
|
10866
10910
|
|
|
10867
|
-
init(this, options, instance$
|
|
10911
|
+
init(this, options, instance$R, create_fragment$S, safe_not_equal, {
|
|
10868
10912
|
inputStarted: 15,
|
|
10869
10913
|
value: 0,
|
|
10870
10914
|
placeholder: 1,
|
|
@@ -10883,7 +10927,7 @@ var notBulma = (function (exports) {
|
|
|
10883
10927
|
|
|
10884
10928
|
/* src/elements/form/ui.email.svelte generated by Svelte v3.46.6 */
|
|
10885
10929
|
|
|
10886
|
-
function create_else_block$
|
|
10930
|
+
function create_else_block$m(ctx) {
|
|
10887
10931
|
let input;
|
|
10888
10932
|
let input_class_value;
|
|
10889
10933
|
let input_id_value;
|
|
@@ -10894,8 +10938,8 @@ var notBulma = (function (exports) {
|
|
|
10894
10938
|
let if_block1_anchor;
|
|
10895
10939
|
let mounted;
|
|
10896
10940
|
let dispose;
|
|
10897
|
-
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$
|
|
10898
|
-
let if_block1 = /*validated*/ ctx[8] === true && create_if_block_1$
|
|
10941
|
+
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$a(ctx);
|
|
10942
|
+
let if_block1 = /*validated*/ ctx[8] === true && create_if_block_1$r(ctx);
|
|
10899
10943
|
|
|
10900
10944
|
return {
|
|
10901
10945
|
c() {
|
|
@@ -10990,7 +11034,7 @@ var notBulma = (function (exports) {
|
|
|
10990
11034
|
if (if_block0) {
|
|
10991
11035
|
if_block0.p(ctx, dirty);
|
|
10992
11036
|
} else {
|
|
10993
|
-
if_block0 = create_if_block_4$
|
|
11037
|
+
if_block0 = create_if_block_4$a(ctx);
|
|
10994
11038
|
if_block0.c();
|
|
10995
11039
|
if_block0.m(t1.parentNode, t1);
|
|
10996
11040
|
}
|
|
@@ -11003,7 +11047,7 @@ var notBulma = (function (exports) {
|
|
|
11003
11047
|
if (if_block1) {
|
|
11004
11048
|
if_block1.p(ctx, dirty);
|
|
11005
11049
|
} else {
|
|
11006
|
-
if_block1 = create_if_block_1$
|
|
11050
|
+
if_block1 = create_if_block_1$r(ctx);
|
|
11007
11051
|
if_block1.c();
|
|
11008
11052
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
11009
11053
|
}
|
|
@@ -11026,7 +11070,7 @@ var notBulma = (function (exports) {
|
|
|
11026
11070
|
}
|
|
11027
11071
|
|
|
11028
11072
|
// (53:4) {#if readonly }
|
|
11029
|
-
function create_if_block$
|
|
11073
|
+
function create_if_block$x(ctx) {
|
|
11030
11074
|
let p;
|
|
11031
11075
|
let t;
|
|
11032
11076
|
|
|
@@ -11049,7 +11093,7 @@ var notBulma = (function (exports) {
|
|
|
11049
11093
|
}
|
|
11050
11094
|
|
|
11051
11095
|
// (68:6) {#if icon }
|
|
11052
|
-
function create_if_block_4$
|
|
11096
|
+
function create_if_block_4$a(ctx) {
|
|
11053
11097
|
let span;
|
|
11054
11098
|
let i;
|
|
11055
11099
|
let i_class_value;
|
|
@@ -11077,12 +11121,12 @@ var notBulma = (function (exports) {
|
|
|
11077
11121
|
}
|
|
11078
11122
|
|
|
11079
11123
|
// (71:6) {#if validated === true }
|
|
11080
|
-
function create_if_block_1$
|
|
11124
|
+
function create_if_block_1$r(ctx) {
|
|
11081
11125
|
let span;
|
|
11082
11126
|
|
|
11083
11127
|
function select_block_type_1(ctx, dirty) {
|
|
11084
|
-
if (/*valid*/ ctx[7] === true) return create_if_block_2$
|
|
11085
|
-
if (/*valid*/ ctx[7] === false) return create_if_block_3$
|
|
11128
|
+
if (/*valid*/ ctx[7] === true) return create_if_block_2$h;
|
|
11129
|
+
if (/*valid*/ ctx[7] === false) return create_if_block_3$f;
|
|
11086
11130
|
}
|
|
11087
11131
|
|
|
11088
11132
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -11120,7 +11164,7 @@ var notBulma = (function (exports) {
|
|
|
11120
11164
|
}
|
|
11121
11165
|
|
|
11122
11166
|
// (75:37)
|
|
11123
|
-
function create_if_block_3$
|
|
11167
|
+
function create_if_block_3$f(ctx) {
|
|
11124
11168
|
let i;
|
|
11125
11169
|
|
|
11126
11170
|
return {
|
|
@@ -11138,7 +11182,7 @@ var notBulma = (function (exports) {
|
|
|
11138
11182
|
}
|
|
11139
11183
|
|
|
11140
11184
|
// (73:8) {#if valid === true }
|
|
11141
|
-
function create_if_block_2$
|
|
11185
|
+
function create_if_block_2$h(ctx) {
|
|
11142
11186
|
let i;
|
|
11143
11187
|
|
|
11144
11188
|
return {
|
|
@@ -11155,7 +11199,7 @@ var notBulma = (function (exports) {
|
|
|
11155
11199
|
};
|
|
11156
11200
|
}
|
|
11157
11201
|
|
|
11158
|
-
function create_fragment$
|
|
11202
|
+
function create_fragment$R(ctx) {
|
|
11159
11203
|
let div;
|
|
11160
11204
|
let div_class_value;
|
|
11161
11205
|
let t;
|
|
@@ -11166,8 +11210,8 @@ var notBulma = (function (exports) {
|
|
|
11166
11210
|
let current;
|
|
11167
11211
|
|
|
11168
11212
|
function select_block_type(ctx, dirty) {
|
|
11169
|
-
if (/*readonly*/ ctx[5]) return create_if_block$
|
|
11170
|
-
return create_else_block$
|
|
11213
|
+
if (/*readonly*/ ctx[5]) return create_if_block$x;
|
|
11214
|
+
return create_else_block$m;
|
|
11171
11215
|
}
|
|
11172
11216
|
|
|
11173
11217
|
let current_block_type = select_block_type(ctx);
|
|
@@ -11279,7 +11323,7 @@ var notBulma = (function (exports) {
|
|
|
11279
11323
|
};
|
|
11280
11324
|
}
|
|
11281
11325
|
|
|
11282
|
-
function instance$
|
|
11326
|
+
function instance$Q($$self, $$props, $$invalidate) {
|
|
11283
11327
|
let iconClasses;
|
|
11284
11328
|
let allErrors;
|
|
11285
11329
|
let showErrors;
|
|
@@ -11414,7 +11458,7 @@ var notBulma = (function (exports) {
|
|
|
11414
11458
|
constructor(options) {
|
|
11415
11459
|
super();
|
|
11416
11460
|
|
|
11417
|
-
init(this, options, instance$
|
|
11461
|
+
init(this, options, instance$Q, create_fragment$R, safe_not_equal, {
|
|
11418
11462
|
inputStarted: 16,
|
|
11419
11463
|
value: 0,
|
|
11420
11464
|
placeholder: 1,
|
|
@@ -11434,7 +11478,7 @@ var notBulma = (function (exports) {
|
|
|
11434
11478
|
|
|
11435
11479
|
/* src/elements/form/ui.hidden.svelte generated by Svelte v3.46.6 */
|
|
11436
11480
|
|
|
11437
|
-
function create_fragment$
|
|
11481
|
+
function create_fragment$Q(ctx) {
|
|
11438
11482
|
let input;
|
|
11439
11483
|
let mounted;
|
|
11440
11484
|
let dispose;
|
|
@@ -11483,7 +11527,7 @@ var notBulma = (function (exports) {
|
|
|
11483
11527
|
};
|
|
11484
11528
|
}
|
|
11485
11529
|
|
|
11486
|
-
function instance$
|
|
11530
|
+
function instance$P($$self, $$props, $$invalidate) {
|
|
11487
11531
|
let { value = '' } = $$props;
|
|
11488
11532
|
let { fieldname = 'hidden' } = $$props;
|
|
11489
11533
|
let { required = true } = $$props;
|
|
@@ -11508,7 +11552,7 @@ var notBulma = (function (exports) {
|
|
|
11508
11552
|
constructor(options) {
|
|
11509
11553
|
super();
|
|
11510
11554
|
|
|
11511
|
-
init(this, options, instance$
|
|
11555
|
+
init(this, options, instance$P, create_fragment$Q, safe_not_equal, {
|
|
11512
11556
|
value: 0,
|
|
11513
11557
|
fieldname: 1,
|
|
11514
11558
|
required: 2,
|
|
@@ -11519,7 +11563,7 @@ var notBulma = (function (exports) {
|
|
|
11519
11563
|
|
|
11520
11564
|
/* src/elements/form/ui.label.svelte generated by Svelte v3.46.6 */
|
|
11521
11565
|
|
|
11522
|
-
function create_fragment$
|
|
11566
|
+
function create_fragment$P(ctx) {
|
|
11523
11567
|
let label_1;
|
|
11524
11568
|
let t_value = /*$LOCALE*/ ctx[2][/*label*/ ctx[1]] + "";
|
|
11525
11569
|
let t;
|
|
@@ -11550,7 +11594,7 @@ var notBulma = (function (exports) {
|
|
|
11550
11594
|
};
|
|
11551
11595
|
}
|
|
11552
11596
|
|
|
11553
|
-
function instance$
|
|
11597
|
+
function instance$O($$self, $$props, $$invalidate) {
|
|
11554
11598
|
let $LOCALE;
|
|
11555
11599
|
component_subscribe($$self, LOCALE, $$value => $$invalidate(2, $LOCALE = $$value));
|
|
11556
11600
|
let { id } = $$props;
|
|
@@ -11567,13 +11611,13 @@ var notBulma = (function (exports) {
|
|
|
11567
11611
|
class Ui_label extends SvelteComponent {
|
|
11568
11612
|
constructor(options) {
|
|
11569
11613
|
super();
|
|
11570
|
-
init(this, options, instance$
|
|
11614
|
+
init(this, options, instance$O, create_fragment$P, safe_not_equal, { id: 0, label: 1 });
|
|
11571
11615
|
}
|
|
11572
11616
|
}
|
|
11573
11617
|
|
|
11574
11618
|
/* src/elements/form/ui.password.svelte generated by Svelte v3.46.6 */
|
|
11575
11619
|
|
|
11576
|
-
function create_if_block_3$
|
|
11620
|
+
function create_if_block_3$e(ctx) {
|
|
11577
11621
|
let span;
|
|
11578
11622
|
let i;
|
|
11579
11623
|
let i_class_value;
|
|
@@ -11601,12 +11645,12 @@ var notBulma = (function (exports) {
|
|
|
11601
11645
|
}
|
|
11602
11646
|
|
|
11603
11647
|
// (60:4) {#if validated === true }
|
|
11604
|
-
function create_if_block$
|
|
11648
|
+
function create_if_block$w(ctx) {
|
|
11605
11649
|
let span;
|
|
11606
11650
|
|
|
11607
11651
|
function select_block_type(ctx, dirty) {
|
|
11608
|
-
if (/*valid*/ ctx[6] === true) return create_if_block_1$
|
|
11609
|
-
if (/*valid*/ ctx[6] === false) return create_if_block_2$
|
|
11652
|
+
if (/*valid*/ ctx[6] === true) return create_if_block_1$q;
|
|
11653
|
+
if (/*valid*/ ctx[6] === false) return create_if_block_2$g;
|
|
11610
11654
|
}
|
|
11611
11655
|
|
|
11612
11656
|
let current_block_type = select_block_type(ctx);
|
|
@@ -11644,7 +11688,7 @@ var notBulma = (function (exports) {
|
|
|
11644
11688
|
}
|
|
11645
11689
|
|
|
11646
11690
|
// (64:35)
|
|
11647
|
-
function create_if_block_2$
|
|
11691
|
+
function create_if_block_2$g(ctx) {
|
|
11648
11692
|
let i;
|
|
11649
11693
|
|
|
11650
11694
|
return {
|
|
@@ -11662,7 +11706,7 @@ var notBulma = (function (exports) {
|
|
|
11662
11706
|
}
|
|
11663
11707
|
|
|
11664
11708
|
// (62:6) {#if valid === true }
|
|
11665
|
-
function create_if_block_1$
|
|
11709
|
+
function create_if_block_1$q(ctx) {
|
|
11666
11710
|
let i;
|
|
11667
11711
|
|
|
11668
11712
|
return {
|
|
@@ -11679,7 +11723,7 @@ var notBulma = (function (exports) {
|
|
|
11679
11723
|
};
|
|
11680
11724
|
}
|
|
11681
11725
|
|
|
11682
|
-
function create_fragment$
|
|
11726
|
+
function create_fragment$O(ctx) {
|
|
11683
11727
|
let div;
|
|
11684
11728
|
let input;
|
|
11685
11729
|
let input_class_value;
|
|
@@ -11697,8 +11741,8 @@ var notBulma = (function (exports) {
|
|
|
11697
11741
|
let current;
|
|
11698
11742
|
let mounted;
|
|
11699
11743
|
let dispose;
|
|
11700
|
-
let if_block0 = /*icon*/ ctx[3] && create_if_block_3$
|
|
11701
|
-
let if_block1 = /*validated*/ ctx[7] === true && create_if_block$
|
|
11744
|
+
let if_block0 = /*icon*/ ctx[3] && create_if_block_3$e(ctx);
|
|
11745
|
+
let if_block1 = /*validated*/ ctx[7] === true && create_if_block$w(ctx);
|
|
11702
11746
|
|
|
11703
11747
|
function errorslist_errors_binding(value) {
|
|
11704
11748
|
/*errorslist_errors_binding*/ ctx[20](value);
|
|
@@ -11827,7 +11871,7 @@ var notBulma = (function (exports) {
|
|
|
11827
11871
|
if (if_block0) {
|
|
11828
11872
|
if_block0.p(ctx, dirty);
|
|
11829
11873
|
} else {
|
|
11830
|
-
if_block0 = create_if_block_3$
|
|
11874
|
+
if_block0 = create_if_block_3$e(ctx);
|
|
11831
11875
|
if_block0.c();
|
|
11832
11876
|
if_block0.m(div, t1);
|
|
11833
11877
|
}
|
|
@@ -11840,7 +11884,7 @@ var notBulma = (function (exports) {
|
|
|
11840
11884
|
if (if_block1) {
|
|
11841
11885
|
if_block1.p(ctx, dirty);
|
|
11842
11886
|
} else {
|
|
11843
|
-
if_block1 = create_if_block$
|
|
11887
|
+
if_block1 = create_if_block$w(ctx);
|
|
11844
11888
|
if_block1.c();
|
|
11845
11889
|
if_block1.m(div, null);
|
|
11846
11890
|
}
|
|
@@ -11897,7 +11941,7 @@ var notBulma = (function (exports) {
|
|
|
11897
11941
|
};
|
|
11898
11942
|
}
|
|
11899
11943
|
|
|
11900
|
-
function instance$
|
|
11944
|
+
function instance$N($$self, $$props, $$invalidate) {
|
|
11901
11945
|
let iconClasses;
|
|
11902
11946
|
let allErrors;
|
|
11903
11947
|
let showErrors;
|
|
@@ -12029,7 +12073,7 @@ var notBulma = (function (exports) {
|
|
|
12029
12073
|
constructor(options) {
|
|
12030
12074
|
super();
|
|
12031
12075
|
|
|
12032
|
-
init(this, options, instance$
|
|
12076
|
+
init(this, options, instance$N, create_fragment$O, safe_not_equal, {
|
|
12033
12077
|
inputStarted: 15,
|
|
12034
12078
|
value: 0,
|
|
12035
12079
|
placeholder: 1,
|
|
@@ -12054,14 +12098,14 @@ var notBulma = (function (exports) {
|
|
|
12054
12098
|
return child_ctx;
|
|
12055
12099
|
}
|
|
12056
12100
|
|
|
12057
|
-
function get_each_context$
|
|
12101
|
+
function get_each_context$f(ctx, list, i) {
|
|
12058
12102
|
const child_ctx = ctx.slice();
|
|
12059
12103
|
child_ctx[30] = list[i];
|
|
12060
12104
|
return child_ctx;
|
|
12061
12105
|
}
|
|
12062
12106
|
|
|
12063
12107
|
// (94:4) {:else}
|
|
12064
|
-
function create_else_block$
|
|
12108
|
+
function create_else_block$l(ctx) {
|
|
12065
12109
|
let div;
|
|
12066
12110
|
let select;
|
|
12067
12111
|
let if_block0_anchor;
|
|
@@ -12081,8 +12125,8 @@ var notBulma = (function (exports) {
|
|
|
12081
12125
|
each_blocks[i] = create_each_block_1$5(get_each_context_1$5(ctx, each_value_1, i));
|
|
12082
12126
|
}
|
|
12083
12127
|
|
|
12084
|
-
let if_block1 = /*icon*/ ctx[4] && create_if_block_4$
|
|
12085
|
-
let if_block2 = /*validated*/ ctx[10] === true && create_if_block_1$
|
|
12128
|
+
let if_block1 = /*icon*/ ctx[4] && create_if_block_4$9(ctx);
|
|
12129
|
+
let if_block2 = /*validated*/ ctx[10] === true && create_if_block_1$p(ctx);
|
|
12086
12130
|
|
|
12087
12131
|
return {
|
|
12088
12132
|
c() {
|
|
@@ -12202,7 +12246,7 @@ var notBulma = (function (exports) {
|
|
|
12202
12246
|
if (if_block1) {
|
|
12203
12247
|
if_block1.p(ctx, dirty);
|
|
12204
12248
|
} else {
|
|
12205
|
-
if_block1 = create_if_block_4$
|
|
12249
|
+
if_block1 = create_if_block_4$9(ctx);
|
|
12206
12250
|
if_block1.c();
|
|
12207
12251
|
if_block1.m(t1.parentNode, t1);
|
|
12208
12252
|
}
|
|
@@ -12215,7 +12259,7 @@ var notBulma = (function (exports) {
|
|
|
12215
12259
|
if (if_block2) {
|
|
12216
12260
|
if_block2.p(ctx, dirty);
|
|
12217
12261
|
} else {
|
|
12218
|
-
if_block2 = create_if_block_1$
|
|
12262
|
+
if_block2 = create_if_block_1$p(ctx);
|
|
12219
12263
|
if_block2.c();
|
|
12220
12264
|
if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
|
|
12221
12265
|
}
|
|
@@ -12240,13 +12284,13 @@ var notBulma = (function (exports) {
|
|
|
12240
12284
|
}
|
|
12241
12285
|
|
|
12242
12286
|
// (90:4) {#if readonly }
|
|
12243
|
-
function create_if_block$
|
|
12287
|
+
function create_if_block$v(ctx) {
|
|
12244
12288
|
let each_1_anchor;
|
|
12245
12289
|
let each_value = /*selectedVariants*/ ctx[11];
|
|
12246
12290
|
let each_blocks = [];
|
|
12247
12291
|
|
|
12248
12292
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
12249
|
-
each_blocks[i] = create_each_block$
|
|
12293
|
+
each_blocks[i] = create_each_block$f(get_each_context$f(ctx, each_value, i));
|
|
12250
12294
|
}
|
|
12251
12295
|
|
|
12252
12296
|
return {
|
|
@@ -12270,12 +12314,12 @@ var notBulma = (function (exports) {
|
|
|
12270
12314
|
let i;
|
|
12271
12315
|
|
|
12272
12316
|
for (i = 0; i < each_value.length; i += 1) {
|
|
12273
|
-
const child_ctx = get_each_context$
|
|
12317
|
+
const child_ctx = get_each_context$f(ctx, each_value, i);
|
|
12274
12318
|
|
|
12275
12319
|
if (each_blocks[i]) {
|
|
12276
12320
|
each_blocks[i].p(child_ctx, dirty);
|
|
12277
12321
|
} else {
|
|
12278
|
-
each_blocks[i] = create_each_block$
|
|
12322
|
+
each_blocks[i] = create_each_block$f(child_ctx);
|
|
12279
12323
|
each_blocks[i].c();
|
|
12280
12324
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
12281
12325
|
}
|
|
@@ -12428,7 +12472,7 @@ var notBulma = (function (exports) {
|
|
|
12428
12472
|
}
|
|
12429
12473
|
|
|
12430
12474
|
// (111:8) {#if multiple }
|
|
12431
|
-
function create_if_block_5$
|
|
12475
|
+
function create_if_block_5$6(ctx) {
|
|
12432
12476
|
let option;
|
|
12433
12477
|
let t_value = /*$LOCALE*/ ctx[17][/*variant*/ ctx[33].title] + "";
|
|
12434
12478
|
let t;
|
|
@@ -12470,7 +12514,7 @@ var notBulma = (function (exports) {
|
|
|
12470
12514
|
let if_block_anchor;
|
|
12471
12515
|
|
|
12472
12516
|
function select_block_type_2(ctx, dirty) {
|
|
12473
|
-
if (/*multiple*/ ctx[7]) return create_if_block_5$
|
|
12517
|
+
if (/*multiple*/ ctx[7]) return create_if_block_5$6;
|
|
12474
12518
|
return create_else_block_1$4;
|
|
12475
12519
|
}
|
|
12476
12520
|
|
|
@@ -12507,7 +12551,7 @@ var notBulma = (function (exports) {
|
|
|
12507
12551
|
}
|
|
12508
12552
|
|
|
12509
12553
|
// (119:4) {#if icon }
|
|
12510
|
-
function create_if_block_4$
|
|
12554
|
+
function create_if_block_4$9(ctx) {
|
|
12511
12555
|
let span;
|
|
12512
12556
|
let i;
|
|
12513
12557
|
let i_class_value;
|
|
@@ -12535,12 +12579,12 @@ var notBulma = (function (exports) {
|
|
|
12535
12579
|
}
|
|
12536
12580
|
|
|
12537
12581
|
// (122:4) {#if validated === true }
|
|
12538
|
-
function create_if_block_1$
|
|
12582
|
+
function create_if_block_1$p(ctx) {
|
|
12539
12583
|
let span;
|
|
12540
12584
|
|
|
12541
12585
|
function select_block_type_3(ctx, dirty) {
|
|
12542
|
-
if (/*valid*/ ctx[9] === true) return create_if_block_2$
|
|
12543
|
-
if (/*valid*/ ctx[9] === false) return create_if_block_3$
|
|
12586
|
+
if (/*valid*/ ctx[9] === true) return create_if_block_2$f;
|
|
12587
|
+
if (/*valid*/ ctx[9] === false) return create_if_block_3$d;
|
|
12544
12588
|
}
|
|
12545
12589
|
|
|
12546
12590
|
let current_block_type = select_block_type_3(ctx);
|
|
@@ -12578,7 +12622,7 @@ var notBulma = (function (exports) {
|
|
|
12578
12622
|
}
|
|
12579
12623
|
|
|
12580
12624
|
// (126:35)
|
|
12581
|
-
function create_if_block_3$
|
|
12625
|
+
function create_if_block_3$d(ctx) {
|
|
12582
12626
|
let i;
|
|
12583
12627
|
|
|
12584
12628
|
return {
|
|
@@ -12596,7 +12640,7 @@ var notBulma = (function (exports) {
|
|
|
12596
12640
|
}
|
|
12597
12641
|
|
|
12598
12642
|
// (124:6) {#if valid === true }
|
|
12599
|
-
function create_if_block_2$
|
|
12643
|
+
function create_if_block_2$f(ctx) {
|
|
12600
12644
|
let i;
|
|
12601
12645
|
|
|
12602
12646
|
return {
|
|
@@ -12614,7 +12658,7 @@ var notBulma = (function (exports) {
|
|
|
12614
12658
|
}
|
|
12615
12659
|
|
|
12616
12660
|
// (91:6) {#each selectedVariants as selectedVariant }
|
|
12617
|
-
function create_each_block$
|
|
12661
|
+
function create_each_block$f(ctx) {
|
|
12618
12662
|
let span;
|
|
12619
12663
|
let t_value = /*selectedVariant*/ ctx[30].title + "";
|
|
12620
12664
|
let t;
|
|
@@ -12638,7 +12682,7 @@ var notBulma = (function (exports) {
|
|
|
12638
12682
|
};
|
|
12639
12683
|
}
|
|
12640
12684
|
|
|
12641
|
-
function create_fragment$
|
|
12685
|
+
function create_fragment$N(ctx) {
|
|
12642
12686
|
let div;
|
|
12643
12687
|
let div_class_value;
|
|
12644
12688
|
let t;
|
|
@@ -12649,8 +12693,8 @@ var notBulma = (function (exports) {
|
|
|
12649
12693
|
let current;
|
|
12650
12694
|
|
|
12651
12695
|
function select_block_type(ctx, dirty) {
|
|
12652
|
-
if (/*readonly*/ ctx[6]) return create_if_block$
|
|
12653
|
-
return create_else_block$
|
|
12696
|
+
if (/*readonly*/ ctx[6]) return create_if_block$v;
|
|
12697
|
+
return create_else_block$l;
|
|
12654
12698
|
}
|
|
12655
12699
|
|
|
12656
12700
|
let current_block_type = select_block_type(ctx);
|
|
@@ -12764,7 +12808,7 @@ var notBulma = (function (exports) {
|
|
|
12764
12808
|
|
|
12765
12809
|
const CLEAR_MACRO = '__CLEAR__';
|
|
12766
12810
|
|
|
12767
|
-
function instance$
|
|
12811
|
+
function instance$M($$self, $$props, $$invalidate) {
|
|
12768
12812
|
let iconClasses;
|
|
12769
12813
|
let allErrors;
|
|
12770
12814
|
let showErrors;
|
|
@@ -12953,8 +12997,8 @@ var notBulma = (function (exports) {
|
|
|
12953
12997
|
init(
|
|
12954
12998
|
this,
|
|
12955
12999
|
options,
|
|
12956
|
-
instance$
|
|
12957
|
-
create_fragment$
|
|
13000
|
+
instance$M,
|
|
13001
|
+
create_fragment$N,
|
|
12958
13002
|
safe_not_equal,
|
|
12959
13003
|
{
|
|
12960
13004
|
inputStarted: 20,
|
|
@@ -13115,12 +13159,12 @@ var notBulma = (function (exports) {
|
|
|
13115
13159
|
}
|
|
13116
13160
|
|
|
13117
13161
|
// (55:4) {#if readonly }
|
|
13118
|
-
function create_if_block$
|
|
13162
|
+
function create_if_block$u(ctx) {
|
|
13119
13163
|
let current_block_type_index;
|
|
13120
13164
|
let if_block;
|
|
13121
13165
|
let if_block_anchor;
|
|
13122
13166
|
let current;
|
|
13123
|
-
const if_block_creators = [create_if_block_1$
|
|
13167
|
+
const if_block_creators = [create_if_block_1$o, create_else_block$k];
|
|
13124
13168
|
const if_blocks = [];
|
|
13125
13169
|
|
|
13126
13170
|
function select_block_type_1(ctx, dirty) {
|
|
@@ -13181,7 +13225,7 @@ var notBulma = (function (exports) {
|
|
|
13181
13225
|
}
|
|
13182
13226
|
|
|
13183
13227
|
// (58:6) {:else}
|
|
13184
|
-
function create_else_block$
|
|
13228
|
+
function create_else_block$k(ctx) {
|
|
13185
13229
|
let uibooleans;
|
|
13186
13230
|
let current;
|
|
13187
13231
|
uibooleans = new Ui_booleans({ props: { values: [{ value: true }] } });
|
|
@@ -13210,7 +13254,7 @@ var notBulma = (function (exports) {
|
|
|
13210
13254
|
}
|
|
13211
13255
|
|
|
13212
13256
|
// (56:6) {#if value }
|
|
13213
|
-
function create_if_block_1$
|
|
13257
|
+
function create_if_block_1$o(ctx) {
|
|
13214
13258
|
let uibooleans;
|
|
13215
13259
|
let current;
|
|
13216
13260
|
uibooleans = new Ui_booleans({ props: { values: [{ value: false }] } });
|
|
@@ -13238,7 +13282,7 @@ var notBulma = (function (exports) {
|
|
|
13238
13282
|
};
|
|
13239
13283
|
}
|
|
13240
13284
|
|
|
13241
|
-
function create_fragment$
|
|
13285
|
+
function create_fragment$M(ctx) {
|
|
13242
13286
|
let div;
|
|
13243
13287
|
let current_block_type_index;
|
|
13244
13288
|
let if_block;
|
|
@@ -13248,7 +13292,7 @@ var notBulma = (function (exports) {
|
|
|
13248
13292
|
let updating_show;
|
|
13249
13293
|
let updating_classes;
|
|
13250
13294
|
let current;
|
|
13251
|
-
const if_block_creators = [create_if_block$
|
|
13295
|
+
const if_block_creators = [create_if_block$u, create_else_block_1$3];
|
|
13252
13296
|
const if_blocks = [];
|
|
13253
13297
|
|
|
13254
13298
|
function select_block_type(ctx, dirty) {
|
|
@@ -13377,7 +13421,7 @@ var notBulma = (function (exports) {
|
|
|
13377
13421
|
};
|
|
13378
13422
|
}
|
|
13379
13423
|
|
|
13380
|
-
function instance$
|
|
13424
|
+
function instance$L($$self, $$props, $$invalidate) {
|
|
13381
13425
|
let allErrors;
|
|
13382
13426
|
let showErrors;
|
|
13383
13427
|
let invalid;
|
|
@@ -13515,7 +13559,7 @@ var notBulma = (function (exports) {
|
|
|
13515
13559
|
constructor(options) {
|
|
13516
13560
|
super();
|
|
13517
13561
|
|
|
13518
|
-
init(this, options, instance$
|
|
13562
|
+
init(this, options, instance$L, create_fragment$M, safe_not_equal, {
|
|
13519
13563
|
inputStarted: 13,
|
|
13520
13564
|
value: 0,
|
|
13521
13565
|
placeholder: 1,
|
|
@@ -13536,7 +13580,7 @@ var notBulma = (function (exports) {
|
|
|
13536
13580
|
|
|
13537
13581
|
/* src/elements/form/ui.tag.svelte generated by Svelte v3.46.6 */
|
|
13538
13582
|
|
|
13539
|
-
function get_each_context$
|
|
13583
|
+
function get_each_context$e(ctx, list, i) {
|
|
13540
13584
|
const child_ctx = ctx.slice();
|
|
13541
13585
|
child_ctx[29] = list[i];
|
|
13542
13586
|
return child_ctx;
|
|
@@ -13549,7 +13593,7 @@ var notBulma = (function (exports) {
|
|
|
13549
13593
|
}
|
|
13550
13594
|
|
|
13551
13595
|
// (105:6) {#if !readonly }
|
|
13552
|
-
function create_if_block_1$
|
|
13596
|
+
function create_if_block_1$n(ctx) {
|
|
13553
13597
|
let button;
|
|
13554
13598
|
let button_data_id_value;
|
|
13555
13599
|
let mounted;
|
|
@@ -13590,7 +13634,7 @@ var notBulma = (function (exports) {
|
|
|
13590
13634
|
let t1;
|
|
13591
13635
|
let t2;
|
|
13592
13636
|
let span_class_value;
|
|
13593
|
-
let if_block = !/*readonly*/ ctx[2] && create_if_block_1$
|
|
13637
|
+
let if_block = !/*readonly*/ ctx[2] && create_if_block_1$n(ctx);
|
|
13594
13638
|
|
|
13595
13639
|
return {
|
|
13596
13640
|
key: key_1,
|
|
@@ -13619,7 +13663,7 @@ var notBulma = (function (exports) {
|
|
|
13619
13663
|
if (if_block) {
|
|
13620
13664
|
if_block.p(ctx, dirty);
|
|
13621
13665
|
} else {
|
|
13622
|
-
if_block = create_if_block_1$
|
|
13666
|
+
if_block = create_if_block_1$n(ctx);
|
|
13623
13667
|
if_block.c();
|
|
13624
13668
|
if_block.m(span, t2);
|
|
13625
13669
|
}
|
|
@@ -13640,7 +13684,7 @@ var notBulma = (function (exports) {
|
|
|
13640
13684
|
}
|
|
13641
13685
|
|
|
13642
13686
|
// (111:2) {#if !readonly }
|
|
13643
|
-
function create_if_block$
|
|
13687
|
+
function create_if_block$t(ctx) {
|
|
13644
13688
|
let div2;
|
|
13645
13689
|
let div1;
|
|
13646
13690
|
let div0;
|
|
@@ -13658,7 +13702,7 @@ var notBulma = (function (exports) {
|
|
|
13658
13702
|
let each_blocks = [];
|
|
13659
13703
|
|
|
13660
13704
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
13661
|
-
each_blocks[i] = create_each_block$
|
|
13705
|
+
each_blocks[i] = create_each_block$e(get_each_context$e(ctx, each_value, i));
|
|
13662
13706
|
}
|
|
13663
13707
|
|
|
13664
13708
|
return {
|
|
@@ -13714,12 +13758,12 @@ var notBulma = (function (exports) {
|
|
|
13714
13758
|
let i;
|
|
13715
13759
|
|
|
13716
13760
|
for (i = 0; i < each_value.length; i += 1) {
|
|
13717
|
-
const child_ctx = get_each_context$
|
|
13761
|
+
const child_ctx = get_each_context$e(ctx, each_value, i);
|
|
13718
13762
|
|
|
13719
13763
|
if (each_blocks[i]) {
|
|
13720
13764
|
each_blocks[i].p(child_ctx, dirty);
|
|
13721
13765
|
} else {
|
|
13722
|
-
each_blocks[i] = create_each_block$
|
|
13766
|
+
each_blocks[i] = create_each_block$e(child_ctx);
|
|
13723
13767
|
each_blocks[i].c();
|
|
13724
13768
|
each_blocks[i].m(select, null);
|
|
13725
13769
|
}
|
|
@@ -13744,7 +13788,7 @@ var notBulma = (function (exports) {
|
|
|
13744
13788
|
}
|
|
13745
13789
|
|
|
13746
13790
|
// (117:10) {#each variants as variant}
|
|
13747
|
-
function create_each_block$
|
|
13791
|
+
function create_each_block$e(ctx) {
|
|
13748
13792
|
let option;
|
|
13749
13793
|
let t_value = /*$LOCALE*/ ctx[7][/*variant*/ ctx[29].title] + "";
|
|
13750
13794
|
let t;
|
|
@@ -13775,7 +13819,7 @@ var notBulma = (function (exports) {
|
|
|
13775
13819
|
};
|
|
13776
13820
|
}
|
|
13777
13821
|
|
|
13778
|
-
function create_fragment$
|
|
13822
|
+
function create_fragment$L(ctx) {
|
|
13779
13823
|
let div1;
|
|
13780
13824
|
let div0;
|
|
13781
13825
|
let each_blocks = [];
|
|
@@ -13797,7 +13841,7 @@ var notBulma = (function (exports) {
|
|
|
13797
13841
|
each_1_lookup.set(key, each_blocks[i] = create_each_block_1$4(key, child_ctx));
|
|
13798
13842
|
}
|
|
13799
13843
|
|
|
13800
|
-
let if_block = !/*readonly*/ ctx[2] && create_if_block$
|
|
13844
|
+
let if_block = !/*readonly*/ ctx[2] && create_if_block$t(ctx);
|
|
13801
13845
|
|
|
13802
13846
|
function errorslist_errors_binding(value) {
|
|
13803
13847
|
/*errorslist_errors_binding*/ ctx[22](value);
|
|
@@ -13876,7 +13920,7 @@ var notBulma = (function (exports) {
|
|
|
13876
13920
|
if (if_block) {
|
|
13877
13921
|
if_block.p(ctx, dirty);
|
|
13878
13922
|
} else {
|
|
13879
|
-
if_block = create_if_block$
|
|
13923
|
+
if_block = create_if_block$t(ctx);
|
|
13880
13924
|
if_block.c();
|
|
13881
13925
|
if_block.m(div1, null);
|
|
13882
13926
|
}
|
|
@@ -13934,7 +13978,7 @@ var notBulma = (function (exports) {
|
|
|
13934
13978
|
const LC_ADD = 'not-node:add_label';
|
|
13935
13979
|
const LC_SELECT_FROM_LIST = 'not-node:select_from_list_label';
|
|
13936
13980
|
|
|
13937
|
-
function instance$
|
|
13981
|
+
function instance$K($$self, $$props, $$invalidate) {
|
|
13938
13982
|
let items;
|
|
13939
13983
|
let allErrors;
|
|
13940
13984
|
let showErrors;
|
|
@@ -14120,8 +14164,8 @@ var notBulma = (function (exports) {
|
|
|
14120
14164
|
init(
|
|
14121
14165
|
this,
|
|
14122
14166
|
options,
|
|
14123
|
-
instance$
|
|
14124
|
-
create_fragment$
|
|
14167
|
+
instance$K,
|
|
14168
|
+
create_fragment$L,
|
|
14125
14169
|
safe_not_equal,
|
|
14126
14170
|
{
|
|
14127
14171
|
value: 10,
|
|
@@ -14148,7 +14192,7 @@ var notBulma = (function (exports) {
|
|
|
14148
14192
|
|
|
14149
14193
|
/* src/elements/form/ui.telephone.svelte generated by Svelte v3.46.6 */
|
|
14150
14194
|
|
|
14151
|
-
function create_else_block$
|
|
14195
|
+
function create_else_block$j(ctx) {
|
|
14152
14196
|
let input;
|
|
14153
14197
|
let input_id_value;
|
|
14154
14198
|
let input_class_value;
|
|
@@ -14159,8 +14203,8 @@ var notBulma = (function (exports) {
|
|
|
14159
14203
|
let if_block1_anchor;
|
|
14160
14204
|
let mounted;
|
|
14161
14205
|
let dispose;
|
|
14162
|
-
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$
|
|
14163
|
-
let if_block1 = /*validated*/ ctx[7] === true && create_if_block_1$
|
|
14206
|
+
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$8(ctx);
|
|
14207
|
+
let if_block1 = /*validated*/ ctx[7] === true && create_if_block_1$m(ctx);
|
|
14164
14208
|
|
|
14165
14209
|
return {
|
|
14166
14210
|
c() {
|
|
@@ -14250,7 +14294,7 @@ var notBulma = (function (exports) {
|
|
|
14250
14294
|
if (if_block0) {
|
|
14251
14295
|
if_block0.p(ctx, dirty);
|
|
14252
14296
|
} else {
|
|
14253
|
-
if_block0 = create_if_block_4$
|
|
14297
|
+
if_block0 = create_if_block_4$8(ctx);
|
|
14254
14298
|
if_block0.c();
|
|
14255
14299
|
if_block0.m(t1.parentNode, t1);
|
|
14256
14300
|
}
|
|
@@ -14263,7 +14307,7 @@ var notBulma = (function (exports) {
|
|
|
14263
14307
|
if (if_block1) {
|
|
14264
14308
|
if_block1.p(ctx, dirty);
|
|
14265
14309
|
} else {
|
|
14266
|
-
if_block1 = create_if_block_1$
|
|
14310
|
+
if_block1 = create_if_block_1$m(ctx);
|
|
14267
14311
|
if_block1.c();
|
|
14268
14312
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
14269
14313
|
}
|
|
@@ -14286,7 +14330,7 @@ var notBulma = (function (exports) {
|
|
|
14286
14330
|
}
|
|
14287
14331
|
|
|
14288
14332
|
// (56:4) {#if readonly }
|
|
14289
|
-
function create_if_block$
|
|
14333
|
+
function create_if_block$s(ctx) {
|
|
14290
14334
|
let p;
|
|
14291
14335
|
let t;
|
|
14292
14336
|
|
|
@@ -14309,7 +14353,7 @@ var notBulma = (function (exports) {
|
|
|
14309
14353
|
}
|
|
14310
14354
|
|
|
14311
14355
|
// (74:4) {#if icon }
|
|
14312
|
-
function create_if_block_4$
|
|
14356
|
+
function create_if_block_4$8(ctx) {
|
|
14313
14357
|
let span;
|
|
14314
14358
|
let i;
|
|
14315
14359
|
let i_class_value;
|
|
@@ -14337,12 +14381,12 @@ var notBulma = (function (exports) {
|
|
|
14337
14381
|
}
|
|
14338
14382
|
|
|
14339
14383
|
// (77:4) {#if validated === true }
|
|
14340
|
-
function create_if_block_1$
|
|
14384
|
+
function create_if_block_1$m(ctx) {
|
|
14341
14385
|
let span;
|
|
14342
14386
|
|
|
14343
14387
|
function select_block_type_1(ctx, dirty) {
|
|
14344
|
-
if (/*valid*/ ctx[6] === true) return create_if_block_2$
|
|
14345
|
-
if (/*valid*/ ctx[6] === false) return create_if_block_3$
|
|
14388
|
+
if (/*valid*/ ctx[6] === true) return create_if_block_2$e;
|
|
14389
|
+
if (/*valid*/ ctx[6] === false) return create_if_block_3$c;
|
|
14346
14390
|
}
|
|
14347
14391
|
|
|
14348
14392
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -14380,7 +14424,7 @@ var notBulma = (function (exports) {
|
|
|
14380
14424
|
}
|
|
14381
14425
|
|
|
14382
14426
|
// (81:35)
|
|
14383
|
-
function create_if_block_3$
|
|
14427
|
+
function create_if_block_3$c(ctx) {
|
|
14384
14428
|
let i;
|
|
14385
14429
|
|
|
14386
14430
|
return {
|
|
@@ -14398,7 +14442,7 @@ var notBulma = (function (exports) {
|
|
|
14398
14442
|
}
|
|
14399
14443
|
|
|
14400
14444
|
// (79:6) {#if valid === true }
|
|
14401
|
-
function create_if_block_2$
|
|
14445
|
+
function create_if_block_2$e(ctx) {
|
|
14402
14446
|
let i;
|
|
14403
14447
|
|
|
14404
14448
|
return {
|
|
@@ -14415,7 +14459,7 @@ var notBulma = (function (exports) {
|
|
|
14415
14459
|
};
|
|
14416
14460
|
}
|
|
14417
14461
|
|
|
14418
|
-
function create_fragment$
|
|
14462
|
+
function create_fragment$K(ctx) {
|
|
14419
14463
|
let div;
|
|
14420
14464
|
let div_class_value;
|
|
14421
14465
|
let t;
|
|
@@ -14426,8 +14470,8 @@ var notBulma = (function (exports) {
|
|
|
14426
14470
|
let current;
|
|
14427
14471
|
|
|
14428
14472
|
function select_block_type(ctx, dirty) {
|
|
14429
|
-
if (/*readonly*/ ctx[5]) return create_if_block$
|
|
14430
|
-
return create_else_block$
|
|
14473
|
+
if (/*readonly*/ ctx[5]) return create_if_block$s;
|
|
14474
|
+
return create_else_block$j;
|
|
14431
14475
|
}
|
|
14432
14476
|
|
|
14433
14477
|
let current_block_type = select_block_type(ctx);
|
|
@@ -14539,7 +14583,7 @@ var notBulma = (function (exports) {
|
|
|
14539
14583
|
};
|
|
14540
14584
|
}
|
|
14541
14585
|
|
|
14542
|
-
function instance$
|
|
14586
|
+
function instance$J($$self, $$props, $$invalidate) {
|
|
14543
14587
|
let iconClasses;
|
|
14544
14588
|
let allErrors;
|
|
14545
14589
|
let showErrors;
|
|
@@ -14669,7 +14713,7 @@ var notBulma = (function (exports) {
|
|
|
14669
14713
|
constructor(options) {
|
|
14670
14714
|
super();
|
|
14671
14715
|
|
|
14672
|
-
init(this, options, instance$
|
|
14716
|
+
init(this, options, instance$J, create_fragment$K, safe_not_equal, {
|
|
14673
14717
|
inputStarted: 15,
|
|
14674
14718
|
value: 0,
|
|
14675
14719
|
placeholder: 1,
|
|
@@ -14688,7 +14732,7 @@ var notBulma = (function (exports) {
|
|
|
14688
14732
|
|
|
14689
14733
|
/* src/elements/form/ui.textarea.svelte generated by Svelte v3.46.6 */
|
|
14690
14734
|
|
|
14691
|
-
function create_else_block$
|
|
14735
|
+
function create_else_block$i(ctx) {
|
|
14692
14736
|
let textarea;
|
|
14693
14737
|
let textarea_id_value;
|
|
14694
14738
|
let textarea_class_value;
|
|
@@ -14699,8 +14743,8 @@ var notBulma = (function (exports) {
|
|
|
14699
14743
|
let if_block1_anchor;
|
|
14700
14744
|
let mounted;
|
|
14701
14745
|
let dispose;
|
|
14702
|
-
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$
|
|
14703
|
-
let if_block1 = /*validated*/ ctx[9] === true && create_if_block_1$
|
|
14746
|
+
let if_block0 = /*icon*/ ctx[3] && create_if_block_4$7(ctx);
|
|
14747
|
+
let if_block1 = /*validated*/ ctx[9] === true && create_if_block_1$l(ctx);
|
|
14704
14748
|
|
|
14705
14749
|
return {
|
|
14706
14750
|
c() {
|
|
@@ -14785,73 +14829,766 @@ var notBulma = (function (exports) {
|
|
|
14785
14829
|
attr(textarea, "aria-describedby", textarea_aria_describedby_value);
|
|
14786
14830
|
}
|
|
14787
14831
|
|
|
14788
|
-
if (dirty & /*value*/ 1) {
|
|
14789
|
-
set_input_value(textarea, /*value*/ ctx[0]);
|
|
14790
|
-
}
|
|
14832
|
+
if (dirty & /*value*/ 1) {
|
|
14833
|
+
set_input_value(textarea, /*value*/ ctx[0]);
|
|
14834
|
+
}
|
|
14835
|
+
|
|
14836
|
+
if (/*icon*/ ctx[3]) {
|
|
14837
|
+
if (if_block0) {
|
|
14838
|
+
if_block0.p(ctx, dirty);
|
|
14839
|
+
} else {
|
|
14840
|
+
if_block0 = create_if_block_4$7(ctx);
|
|
14841
|
+
if_block0.c();
|
|
14842
|
+
if_block0.m(t1.parentNode, t1);
|
|
14843
|
+
}
|
|
14844
|
+
} else if (if_block0) {
|
|
14845
|
+
if_block0.d(1);
|
|
14846
|
+
if_block0 = null;
|
|
14847
|
+
}
|
|
14848
|
+
|
|
14849
|
+
if (/*validated*/ ctx[9] === true) {
|
|
14850
|
+
if (if_block1) {
|
|
14851
|
+
if_block1.p(ctx, dirty);
|
|
14852
|
+
} else {
|
|
14853
|
+
if_block1 = create_if_block_1$l(ctx);
|
|
14854
|
+
if_block1.c();
|
|
14855
|
+
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
14856
|
+
}
|
|
14857
|
+
} else if (if_block1) {
|
|
14858
|
+
if_block1.d(1);
|
|
14859
|
+
if_block1 = null;
|
|
14860
|
+
}
|
|
14861
|
+
},
|
|
14862
|
+
d(detaching) {
|
|
14863
|
+
if (detaching) detach(textarea);
|
|
14864
|
+
if (detaching) detach(t0);
|
|
14865
|
+
if (if_block0) if_block0.d(detaching);
|
|
14866
|
+
if (detaching) detach(t1);
|
|
14867
|
+
if (if_block1) if_block1.d(detaching);
|
|
14868
|
+
if (detaching) detach(if_block1_anchor);
|
|
14869
|
+
mounted = false;
|
|
14870
|
+
run_all(dispose);
|
|
14871
|
+
}
|
|
14872
|
+
};
|
|
14873
|
+
}
|
|
14874
|
+
|
|
14875
|
+
// (52:4) {#if readonly }
|
|
14876
|
+
function create_if_block$r(ctx) {
|
|
14877
|
+
let p;
|
|
14878
|
+
let t;
|
|
14879
|
+
|
|
14880
|
+
return {
|
|
14881
|
+
c() {
|
|
14882
|
+
p = element("p");
|
|
14883
|
+
t = text(/*value*/ ctx[0]);
|
|
14884
|
+
},
|
|
14885
|
+
m(target, anchor) {
|
|
14886
|
+
insert(target, p, anchor);
|
|
14887
|
+
append(p, t);
|
|
14888
|
+
},
|
|
14889
|
+
p(ctx, dirty) {
|
|
14890
|
+
if (dirty & /*value*/ 1) set_data(t, /*value*/ ctx[0]);
|
|
14891
|
+
},
|
|
14892
|
+
d(detaching) {
|
|
14893
|
+
if (detaching) detach(p);
|
|
14894
|
+
}
|
|
14895
|
+
};
|
|
14896
|
+
}
|
|
14897
|
+
|
|
14898
|
+
// (67:4) {#if icon }
|
|
14899
|
+
function create_if_block_4$7(ctx) {
|
|
14900
|
+
let span;
|
|
14901
|
+
let i;
|
|
14902
|
+
let i_class_value;
|
|
14903
|
+
|
|
14904
|
+
return {
|
|
14905
|
+
c() {
|
|
14906
|
+
span = element("span");
|
|
14907
|
+
i = element("i");
|
|
14908
|
+
attr(i, "class", i_class_value = "fas fa-" + /*icon*/ ctx[3]);
|
|
14909
|
+
attr(span, "class", "icon is-small is-left");
|
|
14910
|
+
},
|
|
14911
|
+
m(target, anchor) {
|
|
14912
|
+
insert(target, span, anchor);
|
|
14913
|
+
append(span, i);
|
|
14914
|
+
},
|
|
14915
|
+
p(ctx, dirty) {
|
|
14916
|
+
if (dirty & /*icon*/ 8 && i_class_value !== (i_class_value = "fas fa-" + /*icon*/ ctx[3])) {
|
|
14917
|
+
attr(i, "class", i_class_value);
|
|
14918
|
+
}
|
|
14919
|
+
},
|
|
14920
|
+
d(detaching) {
|
|
14921
|
+
if (detaching) detach(span);
|
|
14922
|
+
}
|
|
14923
|
+
};
|
|
14924
|
+
}
|
|
14925
|
+
|
|
14926
|
+
// (70:4) {#if validated === true }
|
|
14927
|
+
function create_if_block_1$l(ctx) {
|
|
14928
|
+
let span;
|
|
14929
|
+
|
|
14930
|
+
function select_block_type_1(ctx, dirty) {
|
|
14931
|
+
if (/*valid*/ ctx[8] === true) return create_if_block_2$d;
|
|
14932
|
+
if (/*valid*/ ctx[8] === false) return create_if_block_3$b;
|
|
14933
|
+
}
|
|
14934
|
+
|
|
14935
|
+
let current_block_type = select_block_type_1(ctx);
|
|
14936
|
+
let if_block = current_block_type && current_block_type(ctx);
|
|
14937
|
+
|
|
14938
|
+
return {
|
|
14939
|
+
c() {
|
|
14940
|
+
span = element("span");
|
|
14941
|
+
if (if_block) if_block.c();
|
|
14942
|
+
attr(span, "class", "icon is-small is-right");
|
|
14943
|
+
},
|
|
14944
|
+
m(target, anchor) {
|
|
14945
|
+
insert(target, span, anchor);
|
|
14946
|
+
if (if_block) if_block.m(span, null);
|
|
14947
|
+
},
|
|
14948
|
+
p(ctx, dirty) {
|
|
14949
|
+
if (current_block_type !== (current_block_type = select_block_type_1(ctx))) {
|
|
14950
|
+
if (if_block) if_block.d(1);
|
|
14951
|
+
if_block = current_block_type && current_block_type(ctx);
|
|
14952
|
+
|
|
14953
|
+
if (if_block) {
|
|
14954
|
+
if_block.c();
|
|
14955
|
+
if_block.m(span, null);
|
|
14956
|
+
}
|
|
14957
|
+
}
|
|
14958
|
+
},
|
|
14959
|
+
d(detaching) {
|
|
14960
|
+
if (detaching) detach(span);
|
|
14961
|
+
|
|
14962
|
+
if (if_block) {
|
|
14963
|
+
if_block.d();
|
|
14964
|
+
}
|
|
14965
|
+
}
|
|
14966
|
+
};
|
|
14967
|
+
}
|
|
14968
|
+
|
|
14969
|
+
// (74:35)
|
|
14970
|
+
function create_if_block_3$b(ctx) {
|
|
14971
|
+
let i;
|
|
14972
|
+
|
|
14973
|
+
return {
|
|
14974
|
+
c() {
|
|
14975
|
+
i = element("i");
|
|
14976
|
+
attr(i, "class", "fas fa-exclamation-triangle");
|
|
14977
|
+
},
|
|
14978
|
+
m(target, anchor) {
|
|
14979
|
+
insert(target, i, anchor);
|
|
14980
|
+
},
|
|
14981
|
+
d(detaching) {
|
|
14982
|
+
if (detaching) detach(i);
|
|
14983
|
+
}
|
|
14984
|
+
};
|
|
14985
|
+
}
|
|
14986
|
+
|
|
14987
|
+
// (72:6) {#if valid === true }
|
|
14988
|
+
function create_if_block_2$d(ctx) {
|
|
14989
|
+
let i;
|
|
14990
|
+
|
|
14991
|
+
return {
|
|
14992
|
+
c() {
|
|
14993
|
+
i = element("i");
|
|
14994
|
+
attr(i, "class", "fas fa-check");
|
|
14995
|
+
},
|
|
14996
|
+
m(target, anchor) {
|
|
14997
|
+
insert(target, i, anchor);
|
|
14998
|
+
},
|
|
14999
|
+
d(detaching) {
|
|
15000
|
+
if (detaching) detach(i);
|
|
15001
|
+
}
|
|
15002
|
+
};
|
|
15003
|
+
}
|
|
15004
|
+
|
|
15005
|
+
function create_fragment$J(ctx) {
|
|
15006
|
+
let div;
|
|
15007
|
+
let div_class_value;
|
|
15008
|
+
let t;
|
|
15009
|
+
let errorslist;
|
|
15010
|
+
let updating_errors;
|
|
15011
|
+
let updating_show;
|
|
15012
|
+
let updating_classes;
|
|
15013
|
+
let current;
|
|
15014
|
+
|
|
15015
|
+
function select_block_type(ctx, dirty) {
|
|
15016
|
+
if (/*readonly*/ ctx[6]) return create_if_block$r;
|
|
15017
|
+
return create_else_block$i;
|
|
15018
|
+
}
|
|
15019
|
+
|
|
15020
|
+
let current_block_type = select_block_type(ctx);
|
|
15021
|
+
let if_block = current_block_type(ctx);
|
|
15022
|
+
|
|
15023
|
+
function errorslist_errors_binding(value) {
|
|
15024
|
+
/*errorslist_errors_binding*/ ctx[21](value);
|
|
15025
|
+
}
|
|
15026
|
+
|
|
15027
|
+
function errorslist_show_binding(value) {
|
|
15028
|
+
/*errorslist_show_binding*/ ctx[22](value);
|
|
15029
|
+
}
|
|
15030
|
+
|
|
15031
|
+
function errorslist_classes_binding(value) {
|
|
15032
|
+
/*errorslist_classes_binding*/ ctx[23](value);
|
|
15033
|
+
}
|
|
15034
|
+
|
|
15035
|
+
let errorslist_props = {
|
|
15036
|
+
id: "input-field-helper-" + /*fieldname*/ ctx[2]
|
|
15037
|
+
};
|
|
15038
|
+
|
|
15039
|
+
if (/*allErrors*/ ctx[13] !== void 0) {
|
|
15040
|
+
errorslist_props.errors = /*allErrors*/ ctx[13];
|
|
15041
|
+
}
|
|
15042
|
+
|
|
15043
|
+
if (/*showErrors*/ ctx[12] !== void 0) {
|
|
15044
|
+
errorslist_props.show = /*showErrors*/ ctx[12];
|
|
15045
|
+
}
|
|
15046
|
+
|
|
15047
|
+
if (/*validationClasses*/ ctx[10] !== void 0) {
|
|
15048
|
+
errorslist_props.classes = /*validationClasses*/ ctx[10];
|
|
15049
|
+
}
|
|
15050
|
+
|
|
15051
|
+
errorslist = new Ui_errors_list({ props: errorslist_props });
|
|
15052
|
+
binding_callbacks.push(() => bind(errorslist, 'errors', errorslist_errors_binding));
|
|
15053
|
+
binding_callbacks.push(() => bind(errorslist, 'show', errorslist_show_binding));
|
|
15054
|
+
binding_callbacks.push(() => bind(errorslist, 'classes', errorslist_classes_binding));
|
|
15055
|
+
|
|
15056
|
+
return {
|
|
15057
|
+
c() {
|
|
15058
|
+
div = element("div");
|
|
15059
|
+
if_block.c();
|
|
15060
|
+
t = space();
|
|
15061
|
+
create_component(errorslist.$$.fragment);
|
|
15062
|
+
attr(div, "class", div_class_value = "control " + /*iconClasses*/ ctx[14]);
|
|
15063
|
+
},
|
|
15064
|
+
m(target, anchor) {
|
|
15065
|
+
insert(target, div, anchor);
|
|
15066
|
+
if_block.m(div, null);
|
|
15067
|
+
insert(target, t, anchor);
|
|
15068
|
+
mount_component(errorslist, target, anchor);
|
|
15069
|
+
current = true;
|
|
15070
|
+
},
|
|
15071
|
+
p(ctx, [dirty]) {
|
|
15072
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
15073
|
+
if_block.p(ctx, dirty);
|
|
15074
|
+
} else {
|
|
15075
|
+
if_block.d(1);
|
|
15076
|
+
if_block = current_block_type(ctx);
|
|
15077
|
+
|
|
15078
|
+
if (if_block) {
|
|
15079
|
+
if_block.c();
|
|
15080
|
+
if_block.m(div, null);
|
|
15081
|
+
}
|
|
15082
|
+
}
|
|
15083
|
+
|
|
15084
|
+
if (!current || dirty & /*iconClasses*/ 16384 && div_class_value !== (div_class_value = "control " + /*iconClasses*/ ctx[14])) {
|
|
15085
|
+
attr(div, "class", div_class_value);
|
|
15086
|
+
}
|
|
15087
|
+
|
|
15088
|
+
const errorslist_changes = {};
|
|
15089
|
+
if (dirty & /*fieldname*/ 4) errorslist_changes.id = "input-field-helper-" + /*fieldname*/ ctx[2];
|
|
15090
|
+
|
|
15091
|
+
if (!updating_errors && dirty & /*allErrors*/ 8192) {
|
|
15092
|
+
updating_errors = true;
|
|
15093
|
+
errorslist_changes.errors = /*allErrors*/ ctx[13];
|
|
15094
|
+
add_flush_callback(() => updating_errors = false);
|
|
15095
|
+
}
|
|
15096
|
+
|
|
15097
|
+
if (!updating_show && dirty & /*showErrors*/ 4096) {
|
|
15098
|
+
updating_show = true;
|
|
15099
|
+
errorslist_changes.show = /*showErrors*/ ctx[12];
|
|
15100
|
+
add_flush_callback(() => updating_show = false);
|
|
15101
|
+
}
|
|
15102
|
+
|
|
15103
|
+
if (!updating_classes && dirty & /*validationClasses*/ 1024) {
|
|
15104
|
+
updating_classes = true;
|
|
15105
|
+
errorslist_changes.classes = /*validationClasses*/ ctx[10];
|
|
15106
|
+
add_flush_callback(() => updating_classes = false);
|
|
15107
|
+
}
|
|
15108
|
+
|
|
15109
|
+
errorslist.$set(errorslist_changes);
|
|
15110
|
+
},
|
|
15111
|
+
i(local) {
|
|
15112
|
+
if (current) return;
|
|
15113
|
+
transition_in(errorslist.$$.fragment, local);
|
|
15114
|
+
current = true;
|
|
15115
|
+
},
|
|
15116
|
+
o(local) {
|
|
15117
|
+
transition_out(errorslist.$$.fragment, local);
|
|
15118
|
+
current = false;
|
|
15119
|
+
},
|
|
15120
|
+
d(detaching) {
|
|
15121
|
+
if (detaching) detach(div);
|
|
15122
|
+
if_block.d();
|
|
15123
|
+
if (detaching) detach(t);
|
|
15124
|
+
destroy_component(errorslist, detaching);
|
|
15125
|
+
}
|
|
15126
|
+
};
|
|
15127
|
+
}
|
|
15128
|
+
|
|
15129
|
+
function instance$I($$self, $$props, $$invalidate) {
|
|
15130
|
+
let iconClasses;
|
|
15131
|
+
let allErrors;
|
|
15132
|
+
let showErrors;
|
|
15133
|
+
let invalid;
|
|
15134
|
+
let validationClasses;
|
|
15135
|
+
let dispatch = createEventDispatcher();
|
|
15136
|
+
let { inputStarted = false } = $$props;
|
|
15137
|
+
let { value = '' } = $$props;
|
|
15138
|
+
let { placeholder = 'input some text here, please' } = $$props;
|
|
15139
|
+
let { fieldname = 'textarea' } = $$props;
|
|
15140
|
+
let { icon = false } = $$props;
|
|
15141
|
+
let { rows = 10 } = $$props;
|
|
15142
|
+
let { required = true } = $$props;
|
|
15143
|
+
let { readonly = false } = $$props;
|
|
15144
|
+
let { disabled = false } = $$props;
|
|
15145
|
+
let { valid = true } = $$props;
|
|
15146
|
+
let { validated = false } = $$props;
|
|
15147
|
+
let { errors = false } = $$props;
|
|
15148
|
+
let { formErrors = false } = $$props;
|
|
15149
|
+
let { formLevelError = false } = $$props;
|
|
15150
|
+
|
|
15151
|
+
function onBlur(ev) {
|
|
15152
|
+
let data = {
|
|
15153
|
+
field: fieldname,
|
|
15154
|
+
value: ev.target.type === 'checkbox'
|
|
15155
|
+
? ev.target.checked
|
|
15156
|
+
: ev.target.value
|
|
15157
|
+
};
|
|
15158
|
+
|
|
15159
|
+
$$invalidate(16, inputStarted = true);
|
|
15160
|
+
dispatch('change', data);
|
|
15161
|
+
return true;
|
|
15162
|
+
}
|
|
15163
|
+
|
|
15164
|
+
function textarea_input_handler() {
|
|
15165
|
+
value = this.value;
|
|
15166
|
+
$$invalidate(0, value);
|
|
15167
|
+
}
|
|
15168
|
+
|
|
15169
|
+
function errorslist_errors_binding(value) {
|
|
15170
|
+
allErrors = value;
|
|
15171
|
+
(($$invalidate(13, allErrors), $$invalidate(17, errors)), $$invalidate(18, formErrors));
|
|
15172
|
+
}
|
|
15173
|
+
|
|
15174
|
+
function errorslist_show_binding(value) {
|
|
15175
|
+
showErrors = value;
|
|
15176
|
+
((($$invalidate(12, showErrors), $$invalidate(9, validated)), $$invalidate(8, valid)), $$invalidate(16, inputStarted));
|
|
15177
|
+
}
|
|
15178
|
+
|
|
15179
|
+
function errorslist_classes_binding(value) {
|
|
15180
|
+
validationClasses = value;
|
|
15181
|
+
(($$invalidate(10, validationClasses), $$invalidate(8, valid)), $$invalidate(16, inputStarted));
|
|
15182
|
+
}
|
|
15183
|
+
|
|
15184
|
+
$$self.$$set = $$props => {
|
|
15185
|
+
if ('inputStarted' in $$props) $$invalidate(16, inputStarted = $$props.inputStarted);
|
|
15186
|
+
if ('value' in $$props) $$invalidate(0, value = $$props.value);
|
|
15187
|
+
if ('placeholder' in $$props) $$invalidate(1, placeholder = $$props.placeholder);
|
|
15188
|
+
if ('fieldname' in $$props) $$invalidate(2, fieldname = $$props.fieldname);
|
|
15189
|
+
if ('icon' in $$props) $$invalidate(3, icon = $$props.icon);
|
|
15190
|
+
if ('rows' in $$props) $$invalidate(4, rows = $$props.rows);
|
|
15191
|
+
if ('required' in $$props) $$invalidate(5, required = $$props.required);
|
|
15192
|
+
if ('readonly' in $$props) $$invalidate(6, readonly = $$props.readonly);
|
|
15193
|
+
if ('disabled' in $$props) $$invalidate(7, disabled = $$props.disabled);
|
|
15194
|
+
if ('valid' in $$props) $$invalidate(8, valid = $$props.valid);
|
|
15195
|
+
if ('validated' in $$props) $$invalidate(9, validated = $$props.validated);
|
|
15196
|
+
if ('errors' in $$props) $$invalidate(17, errors = $$props.errors);
|
|
15197
|
+
if ('formErrors' in $$props) $$invalidate(18, formErrors = $$props.formErrors);
|
|
15198
|
+
if ('formLevelError' in $$props) $$invalidate(19, formLevelError = $$props.formLevelError);
|
|
15199
|
+
};
|
|
15200
|
+
|
|
15201
|
+
$$self.$$.update = () => {
|
|
15202
|
+
if ($$self.$$.dirty & /*icon*/ 8) {
|
|
15203
|
+
$$invalidate(14, iconClasses = (icon ? ' has-icons-left ' : '') + ' has-icons-right ');
|
|
15204
|
+
}
|
|
15205
|
+
|
|
15206
|
+
if ($$self.$$.dirty & /*errors, formErrors*/ 393216) {
|
|
15207
|
+
$$invalidate(13, allErrors = [].concat(errors ? errors : [], formErrors ? formErrors : []));
|
|
15208
|
+
}
|
|
15209
|
+
|
|
15210
|
+
if ($$self.$$.dirty & /*validated, valid, inputStarted*/ 66304) {
|
|
15211
|
+
$$invalidate(12, showErrors = !(validated && valid) && inputStarted);
|
|
15212
|
+
}
|
|
15213
|
+
|
|
15214
|
+
if ($$self.$$.dirty & /*valid, formLevelError*/ 524544) {
|
|
15215
|
+
$$invalidate(11, invalid = valid === false || formLevelError);
|
|
15216
|
+
}
|
|
15217
|
+
|
|
15218
|
+
if ($$self.$$.dirty & /*valid, inputStarted*/ 65792) {
|
|
15219
|
+
$$invalidate(10, validationClasses = valid === true || !inputStarted
|
|
15220
|
+
? UICommon.CLASS_OK
|
|
15221
|
+
: UICommon.CLASS_ERR);
|
|
15222
|
+
}
|
|
15223
|
+
};
|
|
15224
|
+
|
|
15225
|
+
return [
|
|
15226
|
+
value,
|
|
15227
|
+
placeholder,
|
|
15228
|
+
fieldname,
|
|
15229
|
+
icon,
|
|
15230
|
+
rows,
|
|
15231
|
+
required,
|
|
15232
|
+
readonly,
|
|
15233
|
+
disabled,
|
|
15234
|
+
valid,
|
|
15235
|
+
validated,
|
|
15236
|
+
validationClasses,
|
|
15237
|
+
invalid,
|
|
15238
|
+
showErrors,
|
|
15239
|
+
allErrors,
|
|
15240
|
+
iconClasses,
|
|
15241
|
+
onBlur,
|
|
15242
|
+
inputStarted,
|
|
15243
|
+
errors,
|
|
15244
|
+
formErrors,
|
|
15245
|
+
formLevelError,
|
|
15246
|
+
textarea_input_handler,
|
|
15247
|
+
errorslist_errors_binding,
|
|
15248
|
+
errorslist_show_binding,
|
|
15249
|
+
errorslist_classes_binding
|
|
15250
|
+
];
|
|
15251
|
+
}
|
|
15252
|
+
|
|
15253
|
+
class Ui_textarea extends SvelteComponent {
|
|
15254
|
+
constructor(options) {
|
|
15255
|
+
super();
|
|
15256
|
+
|
|
15257
|
+
init(this, options, instance$I, create_fragment$J, safe_not_equal, {
|
|
15258
|
+
inputStarted: 16,
|
|
15259
|
+
value: 0,
|
|
15260
|
+
placeholder: 1,
|
|
15261
|
+
fieldname: 2,
|
|
15262
|
+
icon: 3,
|
|
15263
|
+
rows: 4,
|
|
15264
|
+
required: 5,
|
|
15265
|
+
readonly: 6,
|
|
15266
|
+
disabled: 7,
|
|
15267
|
+
valid: 8,
|
|
15268
|
+
validated: 9,
|
|
15269
|
+
errors: 17,
|
|
15270
|
+
formErrors: 18,
|
|
15271
|
+
formLevelError: 19
|
|
15272
|
+
});
|
|
15273
|
+
}
|
|
15274
|
+
}
|
|
15275
|
+
|
|
15276
|
+
/* src/elements/form/ui.range.svelte generated by Svelte v3.46.6 */
|
|
15277
|
+
|
|
15278
|
+
function get_each_context$d(ctx, list, i) {
|
|
15279
|
+
const child_ctx = ctx.slice();
|
|
15280
|
+
child_ctx[29] = list[i];
|
|
15281
|
+
return child_ctx;
|
|
15282
|
+
}
|
|
15283
|
+
|
|
15284
|
+
// (56:4) {:else}
|
|
15285
|
+
function create_else_block$h(ctx) {
|
|
15286
|
+
let input;
|
|
15287
|
+
let input_id_value;
|
|
15288
|
+
let input_class_value;
|
|
15289
|
+
let input_list_value;
|
|
15290
|
+
let input_aria_controls_value;
|
|
15291
|
+
let input_aria_describedby_value;
|
|
15292
|
+
let t0;
|
|
15293
|
+
let show_if = Array.isArray(/*tickmarks*/ ctx[4]) && /*tickmarks*/ ctx[4].length;
|
|
15294
|
+
let t1;
|
|
15295
|
+
let t2;
|
|
15296
|
+
let if_block2_anchor;
|
|
15297
|
+
let mounted;
|
|
15298
|
+
let dispose;
|
|
15299
|
+
let if_block0 = show_if && create_if_block_5$5(ctx);
|
|
15300
|
+
let if_block1 = /*icon*/ ctx[7] && create_if_block_4$6(ctx);
|
|
15301
|
+
let if_block2 = /*validated*/ ctx[12] === true && create_if_block_1$k(ctx);
|
|
15302
|
+
|
|
15303
|
+
return {
|
|
15304
|
+
c() {
|
|
15305
|
+
input = element("input");
|
|
15306
|
+
t0 = space();
|
|
15307
|
+
if (if_block0) if_block0.c();
|
|
15308
|
+
t1 = space();
|
|
15309
|
+
if (if_block1) if_block1.c();
|
|
15310
|
+
t2 = space();
|
|
15311
|
+
if (if_block2) if_block2.c();
|
|
15312
|
+
if_block2_anchor = empty();
|
|
15313
|
+
attr(input, "id", input_id_value = "form-field-range-" + /*fieldname*/ ctx[6]);
|
|
15314
|
+
attr(input, "class", input_class_value = "input " + /*validationClasses*/ ctx[13]);
|
|
15315
|
+
attr(input, "type", "range");
|
|
15316
|
+
attr(input, "name", /*fieldname*/ ctx[6]);
|
|
15317
|
+
attr(input, "min", /*min*/ ctx[1]);
|
|
15318
|
+
attr(input, "max", /*max*/ ctx[2]);
|
|
15319
|
+
attr(input, "step", /*step*/ ctx[3]);
|
|
15320
|
+
attr(input, "list", input_list_value = "form-field-range-" + /*fieldname*/ ctx[6] + "-tickmarks");
|
|
15321
|
+
attr(input, "invalid", /*invalid*/ ctx[14]);
|
|
15322
|
+
input.disabled = /*disabled*/ ctx[9];
|
|
15323
|
+
input.required = /*required*/ ctx[8];
|
|
15324
|
+
input.readOnly = /*readonly*/ ctx[10];
|
|
15325
|
+
attr(input, "placeholder", /*placeholder*/ ctx[5]);
|
|
15326
|
+
attr(input, "autocomplete", /*fieldname*/ ctx[6]);
|
|
15327
|
+
attr(input, "aria-controls", input_aria_controls_value = "input-field-helper-" + /*fieldname*/ ctx[6]);
|
|
15328
|
+
attr(input, "aria-describedby", input_aria_describedby_value = "input-field-helper-" + /*fieldname*/ ctx[6]);
|
|
15329
|
+
},
|
|
15330
|
+
m(target, anchor) {
|
|
15331
|
+
insert(target, input, anchor);
|
|
15332
|
+
set_input_value(input, /*value*/ ctx[0]);
|
|
15333
|
+
insert(target, t0, anchor);
|
|
15334
|
+
if (if_block0) if_block0.m(target, anchor);
|
|
15335
|
+
insert(target, t1, anchor);
|
|
15336
|
+
if (if_block1) if_block1.m(target, anchor);
|
|
15337
|
+
insert(target, t2, anchor);
|
|
15338
|
+
if (if_block2) if_block2.m(target, anchor);
|
|
15339
|
+
insert(target, if_block2_anchor, anchor);
|
|
15340
|
+
|
|
15341
|
+
if (!mounted) {
|
|
15342
|
+
dispose = [
|
|
15343
|
+
listen(input, "change", /*input_change_input_handler*/ ctx[24]),
|
|
15344
|
+
listen(input, "input", /*input_change_input_handler*/ ctx[24]),
|
|
15345
|
+
listen(input, "change", /*onBlur*/ ctx[18]),
|
|
15346
|
+
listen(input, "input", /*onInput*/ ctx[19])
|
|
15347
|
+
];
|
|
15348
|
+
|
|
15349
|
+
mounted = true;
|
|
15350
|
+
}
|
|
15351
|
+
},
|
|
15352
|
+
p(ctx, dirty) {
|
|
15353
|
+
if (dirty[0] & /*fieldname*/ 64 && input_id_value !== (input_id_value = "form-field-range-" + /*fieldname*/ ctx[6])) {
|
|
15354
|
+
attr(input, "id", input_id_value);
|
|
15355
|
+
}
|
|
15356
|
+
|
|
15357
|
+
if (dirty[0] & /*validationClasses*/ 8192 && input_class_value !== (input_class_value = "input " + /*validationClasses*/ ctx[13])) {
|
|
15358
|
+
attr(input, "class", input_class_value);
|
|
15359
|
+
}
|
|
15360
|
+
|
|
15361
|
+
if (dirty[0] & /*fieldname*/ 64) {
|
|
15362
|
+
attr(input, "name", /*fieldname*/ ctx[6]);
|
|
15363
|
+
}
|
|
15364
|
+
|
|
15365
|
+
if (dirty[0] & /*min*/ 2) {
|
|
15366
|
+
attr(input, "min", /*min*/ ctx[1]);
|
|
15367
|
+
}
|
|
15368
|
+
|
|
15369
|
+
if (dirty[0] & /*max*/ 4) {
|
|
15370
|
+
attr(input, "max", /*max*/ ctx[2]);
|
|
15371
|
+
}
|
|
15372
|
+
|
|
15373
|
+
if (dirty[0] & /*step*/ 8) {
|
|
15374
|
+
attr(input, "step", /*step*/ ctx[3]);
|
|
15375
|
+
}
|
|
15376
|
+
|
|
15377
|
+
if (dirty[0] & /*fieldname*/ 64 && input_list_value !== (input_list_value = "form-field-range-" + /*fieldname*/ ctx[6] + "-tickmarks")) {
|
|
15378
|
+
attr(input, "list", input_list_value);
|
|
15379
|
+
}
|
|
15380
|
+
|
|
15381
|
+
if (dirty[0] & /*invalid*/ 16384) {
|
|
15382
|
+
attr(input, "invalid", /*invalid*/ ctx[14]);
|
|
15383
|
+
}
|
|
15384
|
+
|
|
15385
|
+
if (dirty[0] & /*disabled*/ 512) {
|
|
15386
|
+
input.disabled = /*disabled*/ ctx[9];
|
|
15387
|
+
}
|
|
15388
|
+
|
|
15389
|
+
if (dirty[0] & /*required*/ 256) {
|
|
15390
|
+
input.required = /*required*/ ctx[8];
|
|
15391
|
+
}
|
|
15392
|
+
|
|
15393
|
+
if (dirty[0] & /*readonly*/ 1024) {
|
|
15394
|
+
input.readOnly = /*readonly*/ ctx[10];
|
|
15395
|
+
}
|
|
15396
|
+
|
|
15397
|
+
if (dirty[0] & /*placeholder*/ 32) {
|
|
15398
|
+
attr(input, "placeholder", /*placeholder*/ ctx[5]);
|
|
15399
|
+
}
|
|
15400
|
+
|
|
15401
|
+
if (dirty[0] & /*fieldname*/ 64) {
|
|
15402
|
+
attr(input, "autocomplete", /*fieldname*/ ctx[6]);
|
|
15403
|
+
}
|
|
15404
|
+
|
|
15405
|
+
if (dirty[0] & /*fieldname*/ 64 && input_aria_controls_value !== (input_aria_controls_value = "input-field-helper-" + /*fieldname*/ ctx[6])) {
|
|
15406
|
+
attr(input, "aria-controls", input_aria_controls_value);
|
|
15407
|
+
}
|
|
15408
|
+
|
|
15409
|
+
if (dirty[0] & /*fieldname*/ 64 && input_aria_describedby_value !== (input_aria_describedby_value = "input-field-helper-" + /*fieldname*/ ctx[6])) {
|
|
15410
|
+
attr(input, "aria-describedby", input_aria_describedby_value);
|
|
15411
|
+
}
|
|
15412
|
+
|
|
15413
|
+
if (dirty[0] & /*value*/ 1) {
|
|
15414
|
+
set_input_value(input, /*value*/ ctx[0]);
|
|
15415
|
+
}
|
|
15416
|
+
|
|
15417
|
+
if (dirty[0] & /*tickmarks*/ 16) show_if = Array.isArray(/*tickmarks*/ ctx[4]) && /*tickmarks*/ ctx[4].length;
|
|
15418
|
+
|
|
15419
|
+
if (show_if) {
|
|
15420
|
+
if (if_block0) {
|
|
15421
|
+
if_block0.p(ctx, dirty);
|
|
15422
|
+
} else {
|
|
15423
|
+
if_block0 = create_if_block_5$5(ctx);
|
|
15424
|
+
if_block0.c();
|
|
15425
|
+
if_block0.m(t1.parentNode, t1);
|
|
15426
|
+
}
|
|
15427
|
+
} else if (if_block0) {
|
|
15428
|
+
if_block0.d(1);
|
|
15429
|
+
if_block0 = null;
|
|
15430
|
+
}
|
|
15431
|
+
|
|
15432
|
+
if (/*icon*/ ctx[7]) {
|
|
15433
|
+
if (if_block1) {
|
|
15434
|
+
if_block1.p(ctx, dirty);
|
|
15435
|
+
} else {
|
|
15436
|
+
if_block1 = create_if_block_4$6(ctx);
|
|
15437
|
+
if_block1.c();
|
|
15438
|
+
if_block1.m(t2.parentNode, t2);
|
|
15439
|
+
}
|
|
15440
|
+
} else if (if_block1) {
|
|
15441
|
+
if_block1.d(1);
|
|
15442
|
+
if_block1 = null;
|
|
15443
|
+
}
|
|
15444
|
+
|
|
15445
|
+
if (/*validated*/ ctx[12] === true) {
|
|
15446
|
+
if (if_block2) {
|
|
15447
|
+
if_block2.p(ctx, dirty);
|
|
15448
|
+
} else {
|
|
15449
|
+
if_block2 = create_if_block_1$k(ctx);
|
|
15450
|
+
if_block2.c();
|
|
15451
|
+
if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
|
|
15452
|
+
}
|
|
15453
|
+
} else if (if_block2) {
|
|
15454
|
+
if_block2.d(1);
|
|
15455
|
+
if_block2 = null;
|
|
15456
|
+
}
|
|
15457
|
+
},
|
|
15458
|
+
d(detaching) {
|
|
15459
|
+
if (detaching) detach(input);
|
|
15460
|
+
if (detaching) detach(t0);
|
|
15461
|
+
if (if_block0) if_block0.d(detaching);
|
|
15462
|
+
if (detaching) detach(t1);
|
|
15463
|
+
if (if_block1) if_block1.d(detaching);
|
|
15464
|
+
if (detaching) detach(t2);
|
|
15465
|
+
if (if_block2) if_block2.d(detaching);
|
|
15466
|
+
if (detaching) detach(if_block2_anchor);
|
|
15467
|
+
mounted = false;
|
|
15468
|
+
run_all(dispose);
|
|
15469
|
+
}
|
|
15470
|
+
};
|
|
15471
|
+
}
|
|
15472
|
+
|
|
15473
|
+
// (54:4) {#if readonly }
|
|
15474
|
+
function create_if_block$q(ctx) {
|
|
15475
|
+
let p;
|
|
15476
|
+
let t;
|
|
15477
|
+
|
|
15478
|
+
return {
|
|
15479
|
+
c() {
|
|
15480
|
+
p = element("p");
|
|
15481
|
+
t = text(/*value*/ ctx[0]);
|
|
15482
|
+
},
|
|
15483
|
+
m(target, anchor) {
|
|
15484
|
+
insert(target, p, anchor);
|
|
15485
|
+
append(p, t);
|
|
15486
|
+
},
|
|
15487
|
+
p(ctx, dirty) {
|
|
15488
|
+
if (dirty[0] & /*value*/ 1) set_data(t, /*value*/ ctx[0]);
|
|
15489
|
+
},
|
|
15490
|
+
d(detaching) {
|
|
15491
|
+
if (detaching) detach(p);
|
|
15492
|
+
}
|
|
15493
|
+
};
|
|
15494
|
+
}
|
|
15495
|
+
|
|
15496
|
+
// (70:6) {#if Array.isArray(tickmarks) && tickmarks.length }
|
|
15497
|
+
function create_if_block_5$5(ctx) {
|
|
15498
|
+
let datalist;
|
|
15499
|
+
let datalist_id_value;
|
|
15500
|
+
let each_value = /*tickmarks*/ ctx[4];
|
|
15501
|
+
let each_blocks = [];
|
|
15502
|
+
|
|
15503
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
15504
|
+
each_blocks[i] = create_each_block$d(get_each_context$d(ctx, each_value, i));
|
|
15505
|
+
}
|
|
15506
|
+
|
|
15507
|
+
return {
|
|
15508
|
+
c() {
|
|
15509
|
+
datalist = element("datalist");
|
|
15510
|
+
|
|
15511
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
15512
|
+
each_blocks[i].c();
|
|
15513
|
+
}
|
|
15514
|
+
|
|
15515
|
+
attr(datalist, "id", datalist_id_value = "form-field-range-" + /*fieldname*/ ctx[6] + "-tickmarks");
|
|
15516
|
+
},
|
|
15517
|
+
m(target, anchor) {
|
|
15518
|
+
insert(target, datalist, anchor);
|
|
15519
|
+
|
|
15520
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
15521
|
+
each_blocks[i].m(datalist, null);
|
|
15522
|
+
}
|
|
15523
|
+
},
|
|
15524
|
+
p(ctx, dirty) {
|
|
15525
|
+
if (dirty[0] & /*tickmarks*/ 16) {
|
|
15526
|
+
each_value = /*tickmarks*/ ctx[4];
|
|
15527
|
+
let i;
|
|
15528
|
+
|
|
15529
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
15530
|
+
const child_ctx = get_each_context$d(ctx, each_value, i);
|
|
14791
15531
|
|
|
14792
|
-
|
|
14793
|
-
|
|
14794
|
-
|
|
14795
|
-
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
-
|
|
15532
|
+
if (each_blocks[i]) {
|
|
15533
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
15534
|
+
} else {
|
|
15535
|
+
each_blocks[i] = create_each_block$d(child_ctx);
|
|
15536
|
+
each_blocks[i].c();
|
|
15537
|
+
each_blocks[i].m(datalist, null);
|
|
15538
|
+
}
|
|
14799
15539
|
}
|
|
14800
|
-
} else if (if_block0) {
|
|
14801
|
-
if_block0.d(1);
|
|
14802
|
-
if_block0 = null;
|
|
14803
|
-
}
|
|
14804
15540
|
|
|
14805
|
-
|
|
14806
|
-
|
|
14807
|
-
if_block1.p(ctx, dirty);
|
|
14808
|
-
} else {
|
|
14809
|
-
if_block1 = create_if_block_1$k(ctx);
|
|
14810
|
-
if_block1.c();
|
|
14811
|
-
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
15541
|
+
for (; i < each_blocks.length; i += 1) {
|
|
15542
|
+
each_blocks[i].d(1);
|
|
14812
15543
|
}
|
|
14813
|
-
|
|
14814
|
-
|
|
14815
|
-
|
|
15544
|
+
|
|
15545
|
+
each_blocks.length = each_value.length;
|
|
15546
|
+
}
|
|
15547
|
+
|
|
15548
|
+
if (dirty[0] & /*fieldname*/ 64 && datalist_id_value !== (datalist_id_value = "form-field-range-" + /*fieldname*/ ctx[6] + "-tickmarks")) {
|
|
15549
|
+
attr(datalist, "id", datalist_id_value);
|
|
14816
15550
|
}
|
|
14817
15551
|
},
|
|
14818
15552
|
d(detaching) {
|
|
14819
|
-
if (detaching) detach(
|
|
14820
|
-
|
|
14821
|
-
if (if_block0) if_block0.d(detaching);
|
|
14822
|
-
if (detaching) detach(t1);
|
|
14823
|
-
if (if_block1) if_block1.d(detaching);
|
|
14824
|
-
if (detaching) detach(if_block1_anchor);
|
|
14825
|
-
mounted = false;
|
|
14826
|
-
run_all(dispose);
|
|
15553
|
+
if (detaching) detach(datalist);
|
|
15554
|
+
destroy_each(each_blocks, detaching);
|
|
14827
15555
|
}
|
|
14828
15556
|
};
|
|
14829
15557
|
}
|
|
14830
15558
|
|
|
14831
|
-
// (
|
|
14832
|
-
function
|
|
14833
|
-
let
|
|
14834
|
-
let
|
|
15559
|
+
// (72:8) {#each tickmarks as tickmark }
|
|
15560
|
+
function create_each_block$d(ctx) {
|
|
15561
|
+
let option;
|
|
15562
|
+
let option_value_value;
|
|
15563
|
+
let option_label_value;
|
|
14835
15564
|
|
|
14836
15565
|
return {
|
|
14837
15566
|
c() {
|
|
14838
|
-
|
|
14839
|
-
|
|
15567
|
+
option = element("option");
|
|
15568
|
+
option.__value = option_value_value = /*tickmark*/ ctx[29].value;
|
|
15569
|
+
option.value = option.__value;
|
|
15570
|
+
attr(option, "label", option_label_value = /*tickmark*/ ctx[29].label);
|
|
14840
15571
|
},
|
|
14841
15572
|
m(target, anchor) {
|
|
14842
|
-
insert(target,
|
|
14843
|
-
append(p, t);
|
|
15573
|
+
insert(target, option, anchor);
|
|
14844
15574
|
},
|
|
14845
15575
|
p(ctx, dirty) {
|
|
14846
|
-
if (dirty & /*
|
|
15576
|
+
if (dirty[0] & /*tickmarks*/ 16 && option_value_value !== (option_value_value = /*tickmark*/ ctx[29].value)) {
|
|
15577
|
+
option.__value = option_value_value;
|
|
15578
|
+
option.value = option.__value;
|
|
15579
|
+
}
|
|
15580
|
+
|
|
15581
|
+
if (dirty[0] & /*tickmarks*/ 16 && option_label_value !== (option_label_value = /*tickmark*/ ctx[29].label)) {
|
|
15582
|
+
attr(option, "label", option_label_value);
|
|
15583
|
+
}
|
|
14847
15584
|
},
|
|
14848
15585
|
d(detaching) {
|
|
14849
|
-
if (detaching) detach(
|
|
15586
|
+
if (detaching) detach(option);
|
|
14850
15587
|
}
|
|
14851
15588
|
};
|
|
14852
15589
|
}
|
|
14853
15590
|
|
|
14854
|
-
// (
|
|
15591
|
+
// (78:4) {#if icon }
|
|
14855
15592
|
function create_if_block_4$6(ctx) {
|
|
14856
15593
|
let span;
|
|
14857
15594
|
let i;
|
|
@@ -14861,7 +15598,7 @@ var notBulma = (function (exports) {
|
|
|
14861
15598
|
c() {
|
|
14862
15599
|
span = element("span");
|
|
14863
15600
|
i = element("i");
|
|
14864
|
-
attr(i, "class", i_class_value = "fas fa-" + /*icon*/ ctx[
|
|
15601
|
+
attr(i, "class", i_class_value = "fas fa-" + /*icon*/ ctx[7]);
|
|
14865
15602
|
attr(span, "class", "icon is-small is-left");
|
|
14866
15603
|
},
|
|
14867
15604
|
m(target, anchor) {
|
|
@@ -14869,7 +15606,7 @@ var notBulma = (function (exports) {
|
|
|
14869
15606
|
append(span, i);
|
|
14870
15607
|
},
|
|
14871
15608
|
p(ctx, dirty) {
|
|
14872
|
-
if (dirty & /*icon*/
|
|
15609
|
+
if (dirty[0] & /*icon*/ 128 && i_class_value !== (i_class_value = "fas fa-" + /*icon*/ ctx[7])) {
|
|
14873
15610
|
attr(i, "class", i_class_value);
|
|
14874
15611
|
}
|
|
14875
15612
|
},
|
|
@@ -14879,13 +15616,13 @@ var notBulma = (function (exports) {
|
|
|
14879
15616
|
};
|
|
14880
15617
|
}
|
|
14881
15618
|
|
|
14882
|
-
// (
|
|
15619
|
+
// (81:4) {#if validated === true }
|
|
14883
15620
|
function create_if_block_1$k(ctx) {
|
|
14884
15621
|
let span;
|
|
14885
15622
|
|
|
14886
15623
|
function select_block_type_1(ctx, dirty) {
|
|
14887
|
-
if (/*valid*/ ctx[
|
|
14888
|
-
if (/*valid*/ ctx[
|
|
15624
|
+
if (/*valid*/ ctx[11] === true) return create_if_block_2$c;
|
|
15625
|
+
if (/*valid*/ ctx[11] === false) return create_if_block_3$a;
|
|
14889
15626
|
}
|
|
14890
15627
|
|
|
14891
15628
|
let current_block_type = select_block_type_1(ctx);
|
|
@@ -14922,7 +15659,7 @@ var notBulma = (function (exports) {
|
|
|
14922
15659
|
};
|
|
14923
15660
|
}
|
|
14924
15661
|
|
|
14925
|
-
// (
|
|
15662
|
+
// (85:35)
|
|
14926
15663
|
function create_if_block_3$a(ctx) {
|
|
14927
15664
|
let i;
|
|
14928
15665
|
|
|
@@ -14940,7 +15677,7 @@ var notBulma = (function (exports) {
|
|
|
14940
15677
|
};
|
|
14941
15678
|
}
|
|
14942
15679
|
|
|
14943
|
-
// (
|
|
15680
|
+
// (83:6) {#if valid === true }
|
|
14944
15681
|
function create_if_block_2$c(ctx) {
|
|
14945
15682
|
let i;
|
|
14946
15683
|
|
|
@@ -14969,7 +15706,7 @@ var notBulma = (function (exports) {
|
|
|
14969
15706
|
let current;
|
|
14970
15707
|
|
|
14971
15708
|
function select_block_type(ctx, dirty) {
|
|
14972
|
-
if (/*readonly*/ ctx[
|
|
15709
|
+
if (/*readonly*/ ctx[10]) return create_if_block$q;
|
|
14973
15710
|
return create_else_block$h;
|
|
14974
15711
|
}
|
|
14975
15712
|
|
|
@@ -14977,31 +15714,31 @@ var notBulma = (function (exports) {
|
|
|
14977
15714
|
let if_block = current_block_type(ctx);
|
|
14978
15715
|
|
|
14979
15716
|
function errorslist_errors_binding(value) {
|
|
14980
|
-
/*errorslist_errors_binding*/ ctx[
|
|
15717
|
+
/*errorslist_errors_binding*/ ctx[25](value);
|
|
14981
15718
|
}
|
|
14982
15719
|
|
|
14983
15720
|
function errorslist_show_binding(value) {
|
|
14984
|
-
/*errorslist_show_binding*/ ctx[
|
|
15721
|
+
/*errorslist_show_binding*/ ctx[26](value);
|
|
14985
15722
|
}
|
|
14986
15723
|
|
|
14987
15724
|
function errorslist_classes_binding(value) {
|
|
14988
|
-
/*errorslist_classes_binding*/ ctx[
|
|
15725
|
+
/*errorslist_classes_binding*/ ctx[27](value);
|
|
14989
15726
|
}
|
|
14990
15727
|
|
|
14991
15728
|
let errorslist_props = {
|
|
14992
|
-
id: "input-field-helper-" + /*fieldname*/ ctx[
|
|
15729
|
+
id: "input-field-helper-" + /*fieldname*/ ctx[6]
|
|
14993
15730
|
};
|
|
14994
15731
|
|
|
14995
|
-
if (/*allErrors*/ ctx[
|
|
14996
|
-
errorslist_props.errors = /*allErrors*/ ctx[
|
|
15732
|
+
if (/*allErrors*/ ctx[16] !== void 0) {
|
|
15733
|
+
errorslist_props.errors = /*allErrors*/ ctx[16];
|
|
14997
15734
|
}
|
|
14998
15735
|
|
|
14999
|
-
if (/*showErrors*/ ctx[
|
|
15000
|
-
errorslist_props.show = /*showErrors*/ ctx[
|
|
15736
|
+
if (/*showErrors*/ ctx[15] !== void 0) {
|
|
15737
|
+
errorslist_props.show = /*showErrors*/ ctx[15];
|
|
15001
15738
|
}
|
|
15002
15739
|
|
|
15003
|
-
if (/*validationClasses*/ ctx[
|
|
15004
|
-
errorslist_props.classes = /*validationClasses*/ ctx[
|
|
15740
|
+
if (/*validationClasses*/ ctx[13] !== void 0) {
|
|
15741
|
+
errorslist_props.classes = /*validationClasses*/ ctx[13];
|
|
15005
15742
|
}
|
|
15006
15743
|
|
|
15007
15744
|
errorslist = new Ui_errors_list({ props: errorslist_props });
|
|
@@ -15015,7 +15752,7 @@ var notBulma = (function (exports) {
|
|
|
15015
15752
|
if_block.c();
|
|
15016
15753
|
t = space();
|
|
15017
15754
|
create_component(errorslist.$$.fragment);
|
|
15018
|
-
attr(div, "class", div_class_value = "control " + /*iconClasses*/ ctx[
|
|
15755
|
+
attr(div, "class", div_class_value = "control " + /*iconClasses*/ ctx[17]);
|
|
15019
15756
|
},
|
|
15020
15757
|
m(target, anchor) {
|
|
15021
15758
|
insert(target, div, anchor);
|
|
@@ -15024,7 +15761,7 @@ var notBulma = (function (exports) {
|
|
|
15024
15761
|
mount_component(errorslist, target, anchor);
|
|
15025
15762
|
current = true;
|
|
15026
15763
|
},
|
|
15027
|
-
p(ctx,
|
|
15764
|
+
p(ctx, dirty) {
|
|
15028
15765
|
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
15029
15766
|
if_block.p(ctx, dirty);
|
|
15030
15767
|
} else {
|
|
@@ -15037,28 +15774,28 @@ var notBulma = (function (exports) {
|
|
|
15037
15774
|
}
|
|
15038
15775
|
}
|
|
15039
15776
|
|
|
15040
|
-
if (!current || dirty & /*iconClasses*/
|
|
15777
|
+
if (!current || dirty[0] & /*iconClasses*/ 131072 && div_class_value !== (div_class_value = "control " + /*iconClasses*/ ctx[17])) {
|
|
15041
15778
|
attr(div, "class", div_class_value);
|
|
15042
15779
|
}
|
|
15043
15780
|
|
|
15044
15781
|
const errorslist_changes = {};
|
|
15045
|
-
if (dirty & /*fieldname*/
|
|
15782
|
+
if (dirty[0] & /*fieldname*/ 64) errorslist_changes.id = "input-field-helper-" + /*fieldname*/ ctx[6];
|
|
15046
15783
|
|
|
15047
|
-
if (!updating_errors && dirty & /*allErrors*/
|
|
15784
|
+
if (!updating_errors && dirty[0] & /*allErrors*/ 65536) {
|
|
15048
15785
|
updating_errors = true;
|
|
15049
|
-
errorslist_changes.errors = /*allErrors*/ ctx[
|
|
15786
|
+
errorslist_changes.errors = /*allErrors*/ ctx[16];
|
|
15050
15787
|
add_flush_callback(() => updating_errors = false);
|
|
15051
15788
|
}
|
|
15052
15789
|
|
|
15053
|
-
if (!updating_show && dirty & /*showErrors*/
|
|
15790
|
+
if (!updating_show && dirty[0] & /*showErrors*/ 32768) {
|
|
15054
15791
|
updating_show = true;
|
|
15055
|
-
errorslist_changes.show = /*showErrors*/ ctx[
|
|
15792
|
+
errorslist_changes.show = /*showErrors*/ ctx[15];
|
|
15056
15793
|
add_flush_callback(() => updating_show = false);
|
|
15057
15794
|
}
|
|
15058
15795
|
|
|
15059
|
-
if (!updating_classes && dirty & /*validationClasses*/
|
|
15796
|
+
if (!updating_classes && dirty[0] & /*validationClasses*/ 8192) {
|
|
15060
15797
|
updating_classes = true;
|
|
15061
|
-
errorslist_changes.classes = /*validationClasses*/ ctx[
|
|
15798
|
+
errorslist_changes.classes = /*validationClasses*/ ctx[13];
|
|
15062
15799
|
add_flush_callback(() => updating_classes = false);
|
|
15063
15800
|
}
|
|
15064
15801
|
|
|
@@ -15090,89 +15827,100 @@ var notBulma = (function (exports) {
|
|
|
15090
15827
|
let validationClasses;
|
|
15091
15828
|
let dispatch = createEventDispatcher();
|
|
15092
15829
|
let { inputStarted = false } = $$props;
|
|
15093
|
-
let { value =
|
|
15094
|
-
let {
|
|
15095
|
-
let {
|
|
15830
|
+
let { value = 10 } = $$props;
|
|
15831
|
+
let { min = 0 } = $$props;
|
|
15832
|
+
let { max = 100 } = $$props;
|
|
15833
|
+
let { step = 1 } = $$props;
|
|
15834
|
+
let { tickmarks = false } = $$props;
|
|
15835
|
+
let { placeholder = 'range placeholder' } = $$props;
|
|
15836
|
+
let { fieldname = 'range' } = $$props;
|
|
15096
15837
|
let { icon = false } = $$props;
|
|
15097
|
-
let { rows = 10 } = $$props;
|
|
15098
15838
|
let { required = true } = $$props;
|
|
15099
|
-
let { readonly = false } = $$props;
|
|
15100
15839
|
let { disabled = false } = $$props;
|
|
15840
|
+
let { readonly = false } = $$props;
|
|
15101
15841
|
let { valid = true } = $$props;
|
|
15102
15842
|
let { validated = false } = $$props;
|
|
15103
15843
|
let { errors = false } = $$props;
|
|
15104
15844
|
let { formErrors = false } = $$props;
|
|
15105
15845
|
let { formLevelError = false } = $$props;
|
|
15106
15846
|
|
|
15107
|
-
function onBlur(
|
|
15847
|
+
function onBlur() /*ev*/ {
|
|
15848
|
+
let data = { field: fieldname, value };
|
|
15849
|
+
$$invalidate(20, inputStarted = true);
|
|
15850
|
+
dispatch('change', data);
|
|
15851
|
+
return true;
|
|
15852
|
+
}
|
|
15853
|
+
|
|
15854
|
+
function onInput(ev) {
|
|
15108
15855
|
let data = {
|
|
15109
15856
|
field: fieldname,
|
|
15110
|
-
value: ev.
|
|
15111
|
-
? ev.target.checked
|
|
15112
|
-
: ev.target.value
|
|
15857
|
+
value: ev.currentTarget.value
|
|
15113
15858
|
};
|
|
15114
15859
|
|
|
15115
|
-
$$invalidate(
|
|
15860
|
+
$$invalidate(20, inputStarted = true);
|
|
15116
15861
|
dispatch('change', data);
|
|
15117
15862
|
return true;
|
|
15118
15863
|
}
|
|
15119
15864
|
|
|
15120
|
-
function
|
|
15121
|
-
value = this.value;
|
|
15865
|
+
function input_change_input_handler() {
|
|
15866
|
+
value = to_number(this.value);
|
|
15122
15867
|
$$invalidate(0, value);
|
|
15123
15868
|
}
|
|
15124
15869
|
|
|
15125
15870
|
function errorslist_errors_binding(value) {
|
|
15126
15871
|
allErrors = value;
|
|
15127
|
-
(($$invalidate(
|
|
15872
|
+
(($$invalidate(16, allErrors), $$invalidate(21, errors)), $$invalidate(22, formErrors));
|
|
15128
15873
|
}
|
|
15129
15874
|
|
|
15130
15875
|
function errorslist_show_binding(value) {
|
|
15131
15876
|
showErrors = value;
|
|
15132
|
-
((($$invalidate(
|
|
15877
|
+
((($$invalidate(15, showErrors), $$invalidate(12, validated)), $$invalidate(11, valid)), $$invalidate(20, inputStarted));
|
|
15133
15878
|
}
|
|
15134
15879
|
|
|
15135
15880
|
function errorslist_classes_binding(value) {
|
|
15136
15881
|
validationClasses = value;
|
|
15137
|
-
(($$invalidate(
|
|
15882
|
+
(($$invalidate(13, validationClasses), $$invalidate(11, valid)), $$invalidate(20, inputStarted));
|
|
15138
15883
|
}
|
|
15139
15884
|
|
|
15140
15885
|
$$self.$$set = $$props => {
|
|
15141
|
-
if ('inputStarted' in $$props) $$invalidate(
|
|
15886
|
+
if ('inputStarted' in $$props) $$invalidate(20, inputStarted = $$props.inputStarted);
|
|
15142
15887
|
if ('value' in $$props) $$invalidate(0, value = $$props.value);
|
|
15143
|
-
if ('
|
|
15144
|
-
if ('
|
|
15145
|
-
if ('
|
|
15146
|
-
if ('
|
|
15147
|
-
if ('
|
|
15148
|
-
if ('
|
|
15149
|
-
if ('
|
|
15150
|
-
if ('
|
|
15151
|
-
if ('
|
|
15152
|
-
if ('
|
|
15153
|
-
if ('
|
|
15154
|
-
if ('
|
|
15888
|
+
if ('min' in $$props) $$invalidate(1, min = $$props.min);
|
|
15889
|
+
if ('max' in $$props) $$invalidate(2, max = $$props.max);
|
|
15890
|
+
if ('step' in $$props) $$invalidate(3, step = $$props.step);
|
|
15891
|
+
if ('tickmarks' in $$props) $$invalidate(4, tickmarks = $$props.tickmarks);
|
|
15892
|
+
if ('placeholder' in $$props) $$invalidate(5, placeholder = $$props.placeholder);
|
|
15893
|
+
if ('fieldname' in $$props) $$invalidate(6, fieldname = $$props.fieldname);
|
|
15894
|
+
if ('icon' in $$props) $$invalidate(7, icon = $$props.icon);
|
|
15895
|
+
if ('required' in $$props) $$invalidate(8, required = $$props.required);
|
|
15896
|
+
if ('disabled' in $$props) $$invalidate(9, disabled = $$props.disabled);
|
|
15897
|
+
if ('readonly' in $$props) $$invalidate(10, readonly = $$props.readonly);
|
|
15898
|
+
if ('valid' in $$props) $$invalidate(11, valid = $$props.valid);
|
|
15899
|
+
if ('validated' in $$props) $$invalidate(12, validated = $$props.validated);
|
|
15900
|
+
if ('errors' in $$props) $$invalidate(21, errors = $$props.errors);
|
|
15901
|
+
if ('formErrors' in $$props) $$invalidate(22, formErrors = $$props.formErrors);
|
|
15902
|
+
if ('formLevelError' in $$props) $$invalidate(23, formLevelError = $$props.formLevelError);
|
|
15155
15903
|
};
|
|
15156
15904
|
|
|
15157
15905
|
$$self.$$.update = () => {
|
|
15158
|
-
if ($$self.$$.dirty & /*icon*/
|
|
15159
|
-
$$invalidate(
|
|
15906
|
+
if ($$self.$$.dirty[0] & /*icon*/ 128) {
|
|
15907
|
+
$$invalidate(17, iconClasses = (icon ? ' has-icons-left ' : '') + ' has-icons-right ');
|
|
15160
15908
|
}
|
|
15161
15909
|
|
|
15162
|
-
if ($$self.$$.dirty & /*errors, formErrors*/
|
|
15163
|
-
$$invalidate(
|
|
15910
|
+
if ($$self.$$.dirty[0] & /*errors, formErrors*/ 6291456) {
|
|
15911
|
+
$$invalidate(16, allErrors = [].concat(errors ? errors : [], formErrors ? formErrors : []));
|
|
15164
15912
|
}
|
|
15165
15913
|
|
|
15166
|
-
if ($$self.$$.dirty & /*validated, valid, inputStarted*/
|
|
15167
|
-
$$invalidate(
|
|
15914
|
+
if ($$self.$$.dirty[0] & /*validated, valid, inputStarted*/ 1054720) {
|
|
15915
|
+
$$invalidate(15, showErrors = !(validated && valid) && inputStarted);
|
|
15168
15916
|
}
|
|
15169
15917
|
|
|
15170
|
-
if ($$self.$$.dirty & /*valid, formLevelError*/
|
|
15171
|
-
$$invalidate(
|
|
15918
|
+
if ($$self.$$.dirty[0] & /*valid, formLevelError*/ 8390656) {
|
|
15919
|
+
$$invalidate(14, invalid = valid === false || formLevelError);
|
|
15172
15920
|
}
|
|
15173
15921
|
|
|
15174
|
-
if ($$self.$$.dirty & /*valid, inputStarted*/
|
|
15175
|
-
$$invalidate(
|
|
15922
|
+
if ($$self.$$.dirty[0] & /*valid, inputStarted*/ 1050624) {
|
|
15923
|
+
$$invalidate(13, validationClasses = valid === true || !inputStarted
|
|
15176
15924
|
? UICommon.CLASS_OK
|
|
15177
15925
|
: UICommon.CLASS_ERR);
|
|
15178
15926
|
}
|
|
@@ -15180,13 +15928,16 @@ var notBulma = (function (exports) {
|
|
|
15180
15928
|
|
|
15181
15929
|
return [
|
|
15182
15930
|
value,
|
|
15931
|
+
min,
|
|
15932
|
+
max,
|
|
15933
|
+
step,
|
|
15934
|
+
tickmarks,
|
|
15183
15935
|
placeholder,
|
|
15184
15936
|
fieldname,
|
|
15185
15937
|
icon,
|
|
15186
|
-
rows,
|
|
15187
15938
|
required,
|
|
15188
|
-
readonly,
|
|
15189
15939
|
disabled,
|
|
15940
|
+
readonly,
|
|
15190
15941
|
valid,
|
|
15191
15942
|
validated,
|
|
15192
15943
|
validationClasses,
|
|
@@ -15195,37 +15946,50 @@ var notBulma = (function (exports) {
|
|
|
15195
15946
|
allErrors,
|
|
15196
15947
|
iconClasses,
|
|
15197
15948
|
onBlur,
|
|
15949
|
+
onInput,
|
|
15198
15950
|
inputStarted,
|
|
15199
15951
|
errors,
|
|
15200
15952
|
formErrors,
|
|
15201
15953
|
formLevelError,
|
|
15202
|
-
|
|
15954
|
+
input_change_input_handler,
|
|
15203
15955
|
errorslist_errors_binding,
|
|
15204
15956
|
errorslist_show_binding,
|
|
15205
15957
|
errorslist_classes_binding
|
|
15206
15958
|
];
|
|
15207
15959
|
}
|
|
15208
15960
|
|
|
15209
|
-
class
|
|
15961
|
+
class Ui_range extends SvelteComponent {
|
|
15210
15962
|
constructor(options) {
|
|
15211
15963
|
super();
|
|
15212
15964
|
|
|
15213
|
-
init(
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15965
|
+
init(
|
|
15966
|
+
this,
|
|
15967
|
+
options,
|
|
15968
|
+
instance$H,
|
|
15969
|
+
create_fragment$I,
|
|
15970
|
+
safe_not_equal,
|
|
15971
|
+
{
|
|
15972
|
+
inputStarted: 20,
|
|
15973
|
+
value: 0,
|
|
15974
|
+
min: 1,
|
|
15975
|
+
max: 2,
|
|
15976
|
+
step: 3,
|
|
15977
|
+
tickmarks: 4,
|
|
15978
|
+
placeholder: 5,
|
|
15979
|
+
fieldname: 6,
|
|
15980
|
+
icon: 7,
|
|
15981
|
+
required: 8,
|
|
15982
|
+
disabled: 9,
|
|
15983
|
+
readonly: 10,
|
|
15984
|
+
valid: 11,
|
|
15985
|
+
validated: 12,
|
|
15986
|
+
errors: 21,
|
|
15987
|
+
formErrors: 22,
|
|
15988
|
+
formLevelError: 23
|
|
15989
|
+
},
|
|
15990
|
+
null,
|
|
15991
|
+
[-1, -1]
|
|
15992
|
+
);
|
|
15229
15993
|
}
|
|
15230
15994
|
}
|
|
15231
15995
|
|
|
@@ -15245,7 +16009,8 @@ var notBulma = (function (exports) {
|
|
|
15245
16009
|
UITag: Ui_tag,
|
|
15246
16010
|
UITelephone: Ui_telephone,
|
|
15247
16011
|
UITextarea: Ui_textarea,
|
|
15248
|
-
UITextfield: Ui_textfield
|
|
16012
|
+
UITextfield: Ui_textfield,
|
|
16013
|
+
UIRange: Ui_range
|
|
15249
16014
|
});
|
|
15250
16015
|
|
|
15251
16016
|
/* src/elements/icon/ui.icon.button.with.tag.svelte generated by Svelte v3.46.6 */
|
|
@@ -15836,7 +16601,7 @@ var notBulma = (function (exports) {
|
|
|
15836
16601
|
|
|
15837
16602
|
function get_each_context$c(ctx, list, i) {
|
|
15838
16603
|
const child_ctx = ctx.slice();
|
|
15839
|
-
child_ctx[
|
|
16604
|
+
child_ctx[3] = list[i];
|
|
15840
16605
|
return child_ctx;
|
|
15841
16606
|
}
|
|
15842
16607
|
|
|
@@ -15848,6 +16613,8 @@ var notBulma = (function (exports) {
|
|
|
15848
16613
|
let img_src_value;
|
|
15849
16614
|
let img_crossorigin_value;
|
|
15850
16615
|
let t;
|
|
16616
|
+
let mounted;
|
|
16617
|
+
let dispose;
|
|
15851
16618
|
|
|
15852
16619
|
return {
|
|
15853
16620
|
c() {
|
|
@@ -15855,31 +16622,38 @@ var notBulma = (function (exports) {
|
|
|
15855
16622
|
img = element("img");
|
|
15856
16623
|
t = space();
|
|
15857
16624
|
attr(img, "class", "");
|
|
15858
|
-
attr(img, "alt", img_alt_value = /*item*/ ctx[
|
|
15859
|
-
if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[
|
|
15860
|
-
attr(img, "crossorigin", img_crossorigin_value = /*item*/ ctx[
|
|
16625
|
+
attr(img, "alt", img_alt_value = /*item*/ ctx[3].title);
|
|
16626
|
+
if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[3].url)) attr(img, "src", img_src_value);
|
|
16627
|
+
attr(img, "crossorigin", img_crossorigin_value = /*item*/ ctx[3].cors);
|
|
15861
16628
|
attr(figure, "class", "image is-64x64");
|
|
15862
16629
|
},
|
|
15863
16630
|
m(target, anchor) {
|
|
15864
16631
|
insert(target, figure, anchor);
|
|
15865
16632
|
append(figure, img);
|
|
15866
16633
|
append(figure, t);
|
|
16634
|
+
|
|
16635
|
+
if (!mounted) {
|
|
16636
|
+
dispose = listen(figure, "click", /*click_handler_1*/ ctx[2]);
|
|
16637
|
+
mounted = true;
|
|
16638
|
+
}
|
|
15867
16639
|
},
|
|
15868
16640
|
p(ctx, dirty) {
|
|
15869
|
-
if (dirty & /*values*/ 1 && img_alt_value !== (img_alt_value = /*item*/ ctx[
|
|
16641
|
+
if (dirty & /*values*/ 1 && img_alt_value !== (img_alt_value = /*item*/ ctx[3].title)) {
|
|
15870
16642
|
attr(img, "alt", img_alt_value);
|
|
15871
16643
|
}
|
|
15872
16644
|
|
|
15873
|
-
if (dirty & /*values*/ 1 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[
|
|
16645
|
+
if (dirty & /*values*/ 1 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[3].url)) {
|
|
15874
16646
|
attr(img, "src", img_src_value);
|
|
15875
16647
|
}
|
|
15876
16648
|
|
|
15877
|
-
if (dirty & /*values*/ 1 && img_crossorigin_value !== (img_crossorigin_value = /*item*/ ctx[
|
|
16649
|
+
if (dirty & /*values*/ 1 && img_crossorigin_value !== (img_crossorigin_value = /*item*/ ctx[3].cors)) {
|
|
15878
16650
|
attr(img, "crossorigin", img_crossorigin_value);
|
|
15879
16651
|
}
|
|
15880
16652
|
},
|
|
15881
16653
|
d(detaching) {
|
|
15882
16654
|
if (detaching) detach(figure);
|
|
16655
|
+
mounted = false;
|
|
16656
|
+
dispose();
|
|
15883
16657
|
}
|
|
15884
16658
|
};
|
|
15885
16659
|
}
|
|
@@ -15895,6 +16669,8 @@ var notBulma = (function (exports) {
|
|
|
15895
16669
|
let t;
|
|
15896
16670
|
let a_href_value;
|
|
15897
16671
|
let a_alt_value;
|
|
16672
|
+
let mounted;
|
|
16673
|
+
let dispose;
|
|
15898
16674
|
|
|
15899
16675
|
return {
|
|
15900
16676
|
c() {
|
|
@@ -15903,42 +16679,49 @@ var notBulma = (function (exports) {
|
|
|
15903
16679
|
img = element("img");
|
|
15904
16680
|
t = space();
|
|
15905
16681
|
attr(img, "class", "");
|
|
15906
|
-
attr(img, "alt", img_alt_value = /*item*/ ctx[
|
|
15907
|
-
if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[
|
|
15908
|
-
attr(img, "crossorigin", img_crossorigin_value = /*item*/ ctx[
|
|
16682
|
+
attr(img, "alt", img_alt_value = /*item*/ ctx[3].title);
|
|
16683
|
+
if (!src_url_equal(img.src, img_src_value = /*item*/ ctx[3].url)) attr(img, "src", img_src_value);
|
|
16684
|
+
attr(img, "crossorigin", img_crossorigin_value = /*item*/ ctx[3].cors);
|
|
15909
16685
|
attr(figure, "class", "image is-64x64");
|
|
15910
|
-
attr(a, "href", a_href_value = /*item*/ ctx[
|
|
15911
|
-
attr(a, "alt", a_alt_value = /*item*/ ctx[
|
|
16686
|
+
attr(a, "href", a_href_value = /*item*/ ctx[3].urlFull);
|
|
16687
|
+
attr(a, "alt", a_alt_value = /*item*/ ctx[3].title);
|
|
15912
16688
|
},
|
|
15913
16689
|
m(target, anchor) {
|
|
15914
16690
|
insert(target, a, anchor);
|
|
15915
16691
|
append(a, figure);
|
|
15916
16692
|
append(figure, img);
|
|
15917
16693
|
append(a, t);
|
|
16694
|
+
|
|
16695
|
+
if (!mounted) {
|
|
16696
|
+
dispose = listen(a, "click", /*click_handler*/ ctx[1]);
|
|
16697
|
+
mounted = true;
|
|
16698
|
+
}
|
|
15918
16699
|
},
|
|
15919
16700
|
p(ctx, dirty) {
|
|
15920
|
-
if (dirty & /*values*/ 1 && img_alt_value !== (img_alt_value = /*item*/ ctx[
|
|
16701
|
+
if (dirty & /*values*/ 1 && img_alt_value !== (img_alt_value = /*item*/ ctx[3].title)) {
|
|
15921
16702
|
attr(img, "alt", img_alt_value);
|
|
15922
16703
|
}
|
|
15923
16704
|
|
|
15924
|
-
if (dirty & /*values*/ 1 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[
|
|
16705
|
+
if (dirty & /*values*/ 1 && !src_url_equal(img.src, img_src_value = /*item*/ ctx[3].url)) {
|
|
15925
16706
|
attr(img, "src", img_src_value);
|
|
15926
16707
|
}
|
|
15927
16708
|
|
|
15928
|
-
if (dirty & /*values*/ 1 && img_crossorigin_value !== (img_crossorigin_value = /*item*/ ctx[
|
|
16709
|
+
if (dirty & /*values*/ 1 && img_crossorigin_value !== (img_crossorigin_value = /*item*/ ctx[3].cors)) {
|
|
15929
16710
|
attr(img, "crossorigin", img_crossorigin_value);
|
|
15930
16711
|
}
|
|
15931
16712
|
|
|
15932
|
-
if (dirty & /*values*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[
|
|
16713
|
+
if (dirty & /*values*/ 1 && a_href_value !== (a_href_value = /*item*/ ctx[3].urlFull)) {
|
|
15933
16714
|
attr(a, "href", a_href_value);
|
|
15934
16715
|
}
|
|
15935
16716
|
|
|
15936
|
-
if (dirty & /*values*/ 1 && a_alt_value !== (a_alt_value = /*item*/ ctx[
|
|
16717
|
+
if (dirty & /*values*/ 1 && a_alt_value !== (a_alt_value = /*item*/ ctx[3].title)) {
|
|
15937
16718
|
attr(a, "alt", a_alt_value);
|
|
15938
16719
|
}
|
|
15939
16720
|
},
|
|
15940
16721
|
d(detaching) {
|
|
15941
16722
|
if (detaching) detach(a);
|
|
16723
|
+
mounted = false;
|
|
16724
|
+
dispose();
|
|
15942
16725
|
}
|
|
15943
16726
|
};
|
|
15944
16727
|
}
|
|
@@ -15949,7 +16732,7 @@ var notBulma = (function (exports) {
|
|
|
15949
16732
|
let if_block_anchor;
|
|
15950
16733
|
|
|
15951
16734
|
function select_block_type(ctx, dirty) {
|
|
15952
|
-
if (/*item*/ ctx[
|
|
16735
|
+
if (/*item*/ ctx[3].urlFull) return create_if_block$n;
|
|
15953
16736
|
return create_else_block$f;
|
|
15954
16737
|
}
|
|
15955
16738
|
|
|
@@ -15998,7 +16781,7 @@ var notBulma = (function (exports) {
|
|
|
15998
16781
|
let each_1_lookup = new Map();
|
|
15999
16782
|
let each_1_anchor;
|
|
16000
16783
|
let each_value = /*values*/ ctx[0];
|
|
16001
|
-
const get_key = ctx => /*item*/ ctx[
|
|
16784
|
+
const get_key = ctx => /*item*/ ctx[3].url;
|
|
16002
16785
|
|
|
16003
16786
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
16004
16787
|
let child_ctx = get_each_context$c(ctx, each_value, i);
|
|
@@ -16042,11 +16825,19 @@ var notBulma = (function (exports) {
|
|
|
16042
16825
|
function instance$C($$self, $$props, $$invalidate) {
|
|
16043
16826
|
let { values = [] } = $$props;
|
|
16044
16827
|
|
|
16828
|
+
function click_handler(event) {
|
|
16829
|
+
bubble.call(this, $$self, event);
|
|
16830
|
+
}
|
|
16831
|
+
|
|
16832
|
+
function click_handler_1(event) {
|
|
16833
|
+
bubble.call(this, $$self, event);
|
|
16834
|
+
}
|
|
16835
|
+
|
|
16045
16836
|
$$self.$$set = $$props => {
|
|
16046
16837
|
if ('values' in $$props) $$invalidate(0, values = $$props.values);
|
|
16047
16838
|
};
|
|
16048
16839
|
|
|
16049
|
-
return [values];
|
|
16840
|
+
return [values, click_handler, click_handler_1];
|
|
16050
16841
|
}
|
|
16051
16842
|
|
|
16052
16843
|
class Ui_images extends SvelteComponent {
|
|
@@ -25281,6 +26072,7 @@ var notBulma = (function (exports) {
|
|
|
25281
26072
|
name = 'Default',
|
|
25282
26073
|
options = {},
|
|
25283
26074
|
working = {},
|
|
26075
|
+
data = {},
|
|
25284
26076
|
ui = Ui_action_container //default UI
|
|
25285
26077
|
|
|
25286
26078
|
} = _ref;
|
|
@@ -28539,8 +29331,8 @@ var notBulma = (function (exports) {
|
|
|
28539
29331
|
}
|
|
28540
29332
|
}
|
|
28541
29333
|
|
|
28542
|
-
const DEFAULT_CONTAINER_SELECTOR$1 =
|
|
28543
|
-
const DEFAULT_ACTION_NAME =
|
|
29334
|
+
const DEFAULT_CONTAINER_SELECTOR$1 = ".form";
|
|
29335
|
+
const DEFAULT_ACTION_NAME = "default";
|
|
28544
29336
|
|
|
28545
29337
|
var _uiComponent = /*#__PURE__*/new WeakMap();
|
|
28546
29338
|
|
|
@@ -28572,7 +29364,7 @@ var notBulma = (function (exports) {
|
|
|
28572
29364
|
constructor(_ref) {
|
|
28573
29365
|
let {
|
|
28574
29366
|
target = null,
|
|
28575
|
-
name =
|
|
29367
|
+
name = "Default",
|
|
28576
29368
|
options = {},
|
|
28577
29369
|
working = {},
|
|
28578
29370
|
data: _data = {},
|
|
@@ -28627,12 +29419,12 @@ var notBulma = (function (exports) {
|
|
|
28627
29419
|
_classPrivateFieldSet(this, _variants, new Lib(VARIANTS$1.getContent()));
|
|
28628
29420
|
|
|
28629
29421
|
if (target) {
|
|
28630
|
-
this.setOptions(
|
|
29422
|
+
this.setOptions("target", target);
|
|
28631
29423
|
}
|
|
28632
29424
|
|
|
28633
29425
|
_classPrivateFieldSet(this, _uiComponent, ui);
|
|
28634
29426
|
|
|
28635
|
-
if (notCommon$1.objHas(options,
|
|
29427
|
+
if (notCommon$1.objHas(options, "action")) {
|
|
28636
29428
|
_classPrivateFieldSet(this, _action, options.action);
|
|
28637
29429
|
}
|
|
28638
29430
|
|
|
@@ -28640,11 +29432,11 @@ var notBulma = (function (exports) {
|
|
|
28640
29432
|
}
|
|
28641
29433
|
|
|
28642
29434
|
initForm() {
|
|
28643
|
-
if (this.getOptions(
|
|
29435
|
+
if (this.getOptions("autoInit", true)) {
|
|
28644
29436
|
this.initLibs();
|
|
28645
29437
|
}
|
|
28646
29438
|
|
|
28647
|
-
if (this.getOptions(
|
|
29439
|
+
if (this.getOptions("autoRender", true)) {
|
|
28648
29440
|
this.initUI();
|
|
28649
29441
|
}
|
|
28650
29442
|
}
|
|
@@ -28664,15 +29456,15 @@ var notBulma = (function (exports) {
|
|
|
28664
29456
|
initFields() {
|
|
28665
29457
|
const manifest = this.getFormManifest();
|
|
28666
29458
|
|
|
28667
|
-
if (notCommon$1.objHas(manifest,
|
|
29459
|
+
if (notCommon$1.objHas(manifest, "fields") && _classPrivateFieldGet(this, _fields).isEmpty()) {
|
|
28668
29460
|
_classPrivateFieldGet(this, _fields).import(manifest.fields); //all fields available in model manifest
|
|
28669
29461
|
|
|
28670
29462
|
}
|
|
28671
29463
|
}
|
|
28672
29464
|
|
|
28673
29465
|
initVariants() {
|
|
28674
|
-
if (this.getOptions(
|
|
28675
|
-
_classPrivateFieldGet(this, _variants).import(this.getOptions(
|
|
29466
|
+
if (this.getOptions("variants")) {
|
|
29467
|
+
_classPrivateFieldGet(this, _variants).import(this.getOptions("variants"));
|
|
28676
29468
|
}
|
|
28677
29469
|
} //creating validators runner for this specific form
|
|
28678
29470
|
|
|
@@ -28686,7 +29478,8 @@ var notBulma = (function (exports) {
|
|
|
28686
29478
|
const props = _classPrivateMethodGet(this, _getFormProps, _getFormProps2).call(this, {
|
|
28687
29479
|
manifest: this.getFormManifest(),
|
|
28688
29480
|
formOptions: this.getFormOptions(),
|
|
28689
|
-
data: this.getFormData()
|
|
29481
|
+
data: this.getFormData(),
|
|
29482
|
+
injectedProps: this.getFormInjectedProps()
|
|
28690
29483
|
});
|
|
28691
29484
|
|
|
28692
29485
|
const target = this.getFormTargetEl();
|
|
@@ -28711,7 +29504,8 @@ var notBulma = (function (exports) {
|
|
|
28711
29504
|
const props = _classPrivateMethodGet(this, _getFormProps, _getFormProps2).call(this, {
|
|
28712
29505
|
manifest: this.getFormManifest(),
|
|
28713
29506
|
formOptions: this.getFormOptions(),
|
|
28714
|
-
data: this.getFormData()
|
|
29507
|
+
data: this.getFormData(),
|
|
29508
|
+
injectedProps: this.getFormInjectedProps()
|
|
28715
29509
|
});
|
|
28716
29510
|
|
|
28717
29511
|
_classPrivateFieldGet(this, _form$1).$set(props);
|
|
@@ -28723,46 +29517,57 @@ var notBulma = (function (exports) {
|
|
|
28723
29517
|
}
|
|
28724
29518
|
|
|
28725
29519
|
async validateForm() {
|
|
29520
|
+
if (this.getOptions("readonly", false)) {
|
|
29521
|
+
return;
|
|
29522
|
+
}
|
|
29523
|
+
|
|
28726
29524
|
try {
|
|
28727
29525
|
const validationResult = await _classPrivateFieldGet(this, _validationRunner).call(this, _classPrivateFieldGet(this, _form$1).collectData(), this.getFormAction());
|
|
28728
29526
|
|
|
28729
29527
|
_classPrivateFieldGet(this, _form$1).updateFormValidationStatus(validationResult.getReport());
|
|
28730
29528
|
|
|
28731
29529
|
if (!validationResult.clean) {
|
|
28732
|
-
this.emit(
|
|
29530
|
+
this.emit("error", validationResult.getReport());
|
|
28733
29531
|
}
|
|
28734
29532
|
} catch (e) {
|
|
28735
29533
|
const report = {
|
|
28736
29534
|
form: [UICommon.ERROR_DEFAULT, e.message]
|
|
28737
29535
|
};
|
|
28738
29536
|
_classPrivateFieldGet(this, _form$1) && _classPrivateFieldGet(this, _form$1).updateFormValidationStatus(report);
|
|
28739
|
-
this.emit(
|
|
29537
|
+
this.emit("error", report);
|
|
28740
29538
|
notCommon$1.report(e);
|
|
28741
29539
|
}
|
|
28742
29540
|
}
|
|
28743
29541
|
|
|
28744
29542
|
submit(data) {
|
|
28745
|
-
this.emit(
|
|
29543
|
+
this.emit("submit", data);
|
|
28746
29544
|
}
|
|
28747
29545
|
|
|
28748
29546
|
reject() {
|
|
28749
|
-
this.emit(
|
|
29547
|
+
this.emit("reject");
|
|
29548
|
+
} //binding event to actual UI
|
|
29549
|
+
|
|
29550
|
+
|
|
29551
|
+
$on() {
|
|
29552
|
+
if (_classPrivateFieldGet(this, _form$1)) {
|
|
29553
|
+
_classPrivateFieldGet(this, _form$1).$on(...arguments);
|
|
29554
|
+
}
|
|
28750
29555
|
}
|
|
28751
29556
|
|
|
28752
29557
|
setLoading() {
|
|
28753
|
-
this.emit(
|
|
29558
|
+
this.emit("loading");
|
|
28754
29559
|
|
|
28755
29560
|
_classPrivateFieldGet(this, _form$1).setLoading();
|
|
28756
29561
|
}
|
|
28757
29562
|
|
|
28758
29563
|
resetLoading() {
|
|
28759
|
-
this.emit(
|
|
29564
|
+
this.emit("loaded");
|
|
28760
29565
|
|
|
28761
29566
|
_classPrivateFieldGet(this, _form$1).resetLoading();
|
|
28762
29567
|
}
|
|
28763
29568
|
|
|
28764
29569
|
destroy() {
|
|
28765
|
-
this.emit(
|
|
29570
|
+
this.emit("destroy");
|
|
28766
29571
|
|
|
28767
29572
|
if (_classPrivateFieldGet(this, _form$1)) {
|
|
28768
29573
|
_classPrivateFieldGet(this, _form$1).$destroy && _classPrivateFieldGet(this, _form$1).$destroy();
|
|
@@ -28785,7 +29590,7 @@ var notBulma = (function (exports) {
|
|
|
28785
29590
|
}
|
|
28786
29591
|
|
|
28787
29592
|
getName() {
|
|
28788
|
-
return this.getWorking(
|
|
29593
|
+
return this.getWorking("name");
|
|
28789
29594
|
}
|
|
28790
29595
|
|
|
28791
29596
|
getFormAction() {
|
|
@@ -28818,10 +29623,14 @@ var notBulma = (function (exports) {
|
|
|
28818
29623
|
setFormSuccess() {
|
|
28819
29624
|
_classPrivateFieldGet(this, _form$1).showSuccess();
|
|
28820
29625
|
|
|
28821
|
-
this.emit(
|
|
29626
|
+
this.emit("success");
|
|
28822
29627
|
}
|
|
28823
29628
|
|
|
28824
29629
|
setFormErrors(result) {
|
|
29630
|
+
if (this.getOptions("readonly", false)) {
|
|
29631
|
+
return;
|
|
29632
|
+
}
|
|
29633
|
+
|
|
28825
29634
|
const status = {
|
|
28826
29635
|
form: [],
|
|
28827
29636
|
fields: {}
|
|
@@ -28838,7 +29647,7 @@ var notBulma = (function (exports) {
|
|
|
28838
29647
|
|
|
28839
29648
|
_classPrivateFieldGet(this, _form$1).updateFormValidationStatus(status);
|
|
28840
29649
|
|
|
28841
|
-
this.emit(
|
|
29650
|
+
this.emit("error", status);
|
|
28842
29651
|
}
|
|
28843
29652
|
/**
|
|
28844
29653
|
* Returns variant by collection name and item id
|
|
@@ -28867,22 +29676,22 @@ var notBulma = (function (exports) {
|
|
|
28867
29676
|
|
|
28868
29677
|
|
|
28869
29678
|
getFormTargetEl() {
|
|
28870
|
-
const targetEl = this.getOptions(
|
|
29679
|
+
const targetEl = this.getOptions("target", DEFAULT_CONTAINER_SELECTOR$1);
|
|
28871
29680
|
|
|
28872
29681
|
if (targetEl instanceof HTMLElement) {
|
|
28873
29682
|
return targetEl;
|
|
28874
|
-
} else if (typeof targetEl ===
|
|
29683
|
+
} else if (typeof targetEl === "string") {
|
|
28875
29684
|
return document.querySelector(targetEl);
|
|
28876
29685
|
} else {
|
|
28877
|
-
throw new Error(
|
|
29686
|
+
throw new Error("Form parent element is not defined");
|
|
28878
29687
|
}
|
|
28879
29688
|
}
|
|
28880
29689
|
|
|
28881
29690
|
getFormValidators() {
|
|
28882
|
-
if (this.getOptions(
|
|
28883
|
-
return this.getOptions(
|
|
29691
|
+
if (this.getOptions("validators")) {
|
|
29692
|
+
return this.getOptions("validators", {});
|
|
28884
29693
|
} else {
|
|
28885
|
-
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this,
|
|
29694
|
+
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this, "validators");
|
|
28886
29695
|
|
|
28887
29696
|
return {};
|
|
28888
29697
|
}
|
|
@@ -28895,10 +29704,10 @@ var notBulma = (function (exports) {
|
|
|
28895
29704
|
return notCommon$1.getApp().getInterfaceManifest(modelName);
|
|
28896
29705
|
}
|
|
28897
29706
|
|
|
28898
|
-
if (this.getOptions(
|
|
28899
|
-
return this.getOptions(
|
|
29707
|
+
if (this.getOptions("manifest", undefined)) {
|
|
29708
|
+
return this.getOptions("manifest", {});
|
|
28900
29709
|
} else {
|
|
28901
|
-
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this,
|
|
29710
|
+
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this, "manifest");
|
|
28902
29711
|
|
|
28903
29712
|
return {};
|
|
28904
29713
|
}
|
|
@@ -28908,20 +29717,20 @@ var notBulma = (function (exports) {
|
|
|
28908
29717
|
if (this.getData()) {
|
|
28909
29718
|
return this.getData();
|
|
28910
29719
|
} else {
|
|
28911
|
-
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this,
|
|
29720
|
+
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this, "data");
|
|
28912
29721
|
|
|
28913
29722
|
return {};
|
|
28914
29723
|
}
|
|
28915
29724
|
}
|
|
28916
29725
|
|
|
28917
29726
|
getFormOptions() {
|
|
28918
|
-
if (this.getOptions(
|
|
29727
|
+
if (this.getOptions("ui", undefined) || this.getOptions("fields", undefined)) {
|
|
28919
29728
|
return {
|
|
28920
|
-
ui: this.getOptions(
|
|
28921
|
-
fields: this.getOptions(
|
|
29729
|
+
ui: this.getOptions("ui", {}),
|
|
29730
|
+
fields: this.getOptions("fields", {})
|
|
28922
29731
|
};
|
|
28923
29732
|
} else {
|
|
28924
|
-
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this,
|
|
29733
|
+
_classPrivateMethodGet(this, _missingOverrideWarning, _missingOverrideWarning2).call(this, "options");
|
|
28925
29734
|
|
|
28926
29735
|
return {
|
|
28927
29736
|
ui: {},
|
|
@@ -28929,6 +29738,10 @@ var notBulma = (function (exports) {
|
|
|
28929
29738
|
};
|
|
28930
29739
|
}
|
|
28931
29740
|
}
|
|
29741
|
+
|
|
29742
|
+
getFormInjectedProps() {
|
|
29743
|
+
return this.getOptions("injected", {});
|
|
29744
|
+
}
|
|
28932
29745
|
/**
|
|
28933
29746
|
* Override empty message
|
|
28934
29747
|
**/
|
|
@@ -28938,6 +29751,10 @@ var notBulma = (function (exports) {
|
|
|
28938
29751
|
* Form operations
|
|
28939
29752
|
**/
|
|
28940
29753
|
collectData() {
|
|
29754
|
+
if (this.getOptions("readonly", false)) {
|
|
29755
|
+
return this.getData();
|
|
29756
|
+
}
|
|
29757
|
+
|
|
28941
29758
|
const data = _classPrivateFieldGet(this, _form$1).collectData();
|
|
28942
29759
|
|
|
28943
29760
|
this.setData({ ...data
|
|
@@ -28951,7 +29768,7 @@ var notBulma = (function (exports) {
|
|
|
28951
29768
|
}
|
|
28952
29769
|
|
|
28953
29770
|
getModel(name, data) {
|
|
28954
|
-
if (typeof name ===
|
|
29771
|
+
if (typeof name === "string") {
|
|
28955
29772
|
return this.getInterface(name)(data || {});
|
|
28956
29773
|
} else {
|
|
28957
29774
|
return this.getInterface()(name || {});
|
|
@@ -28969,7 +29786,7 @@ var notBulma = (function (exports) {
|
|
|
28969
29786
|
|
|
28970
29787
|
|
|
28971
29788
|
getModelName() {
|
|
28972
|
-
return this.getOptions(
|
|
29789
|
+
return this.getOptions("model");
|
|
28973
29790
|
}
|
|
28974
29791
|
|
|
28975
29792
|
}
|
|
@@ -28977,29 +29794,29 @@ var notBulma = (function (exports) {
|
|
|
28977
29794
|
function _bindUIEvents2() {
|
|
28978
29795
|
var _this = this;
|
|
28979
29796
|
|
|
28980
|
-
_classPrivateFieldGet(this, _form$1).$on(
|
|
29797
|
+
_classPrivateFieldGet(this, _form$1).$on("change", function () {
|
|
28981
29798
|
return _this.validateForm();
|
|
28982
29799
|
});
|
|
28983
29800
|
|
|
28984
|
-
_classPrivateFieldGet(this, _form$1).$on(
|
|
28985
|
-
_this.emit(
|
|
29801
|
+
_classPrivateFieldGet(this, _form$1).$on("change", function (ev) {
|
|
29802
|
+
_this.emit("change", ev.detail);
|
|
28986
29803
|
|
|
28987
29804
|
_this.emit(`change.${ev.detail.field}`, ev.detail.value);
|
|
28988
29805
|
});
|
|
28989
29806
|
|
|
28990
|
-
_classPrivateFieldGet(this, _form$1).$on(
|
|
29807
|
+
_classPrivateFieldGet(this, _form$1).$on("submit", function (ev) {
|
|
28991
29808
|
return _this.submit(ev.detail);
|
|
28992
29809
|
});
|
|
28993
29810
|
|
|
28994
|
-
_classPrivateFieldGet(this, _form$1).$on(
|
|
29811
|
+
_classPrivateFieldGet(this, _form$1).$on("reject", function () {
|
|
28995
29812
|
return _this.reject();
|
|
28996
29813
|
});
|
|
28997
29814
|
|
|
28998
|
-
_classPrivateFieldGet(this, _form$1).$on(
|
|
29815
|
+
_classPrivateFieldGet(this, _form$1).$on("error", function (_ref2) {
|
|
28999
29816
|
let {
|
|
29000
29817
|
detail
|
|
29001
29818
|
} = _ref2;
|
|
29002
|
-
return _this.emit(
|
|
29819
|
+
return _this.emit("error", detail);
|
|
29003
29820
|
});
|
|
29004
29821
|
}
|
|
29005
29822
|
|
|
@@ -29012,13 +29829,14 @@ var notBulma = (function (exports) {
|
|
|
29012
29829
|
fields: {}
|
|
29013
29830
|
},
|
|
29014
29831
|
//some options
|
|
29015
|
-
data = null
|
|
29016
|
-
|
|
29832
|
+
data = null,
|
|
29833
|
+
//initial data for form
|
|
29834
|
+
injectedProps = {}
|
|
29017
29835
|
} = _ref3;
|
|
29018
29836
|
|
|
29019
29837
|
const action = _classPrivateFieldGet(this, _action);
|
|
29020
29838
|
|
|
29021
|
-
if (typeof formOptions ===
|
|
29839
|
+
if (typeof formOptions === "undefined" || formOptions === null) {
|
|
29022
29840
|
formOptions = {
|
|
29023
29841
|
ui: {},
|
|
29024
29842
|
fields: {}
|
|
@@ -29030,12 +29848,12 @@ var notBulma = (function (exports) {
|
|
|
29030
29848
|
/*
|
|
29031
29849
|
Form structure
|
|
29032
29850
|
[
|
|
29033
|
-
|
|
29034
|
-
|
|
29035
|
-
|
|
29036
|
-
|
|
29037
|
-
|
|
29038
|
-
|
|
29851
|
+
//each item is line of form
|
|
29852
|
+
//field - field takes whole line of form
|
|
29853
|
+
//[field1, field2] - few fields in one line
|
|
29854
|
+
nameFirst, nameLast
|
|
29855
|
+
[age, country, language],
|
|
29856
|
+
[email, telephone]
|
|
29039
29857
|
]
|
|
29040
29858
|
*/
|
|
29041
29859
|
manifest.actions[action].fields, //form fields structure
|
|
@@ -29045,19 +29863,20 @@ var notBulma = (function (exports) {
|
|
|
29045
29863
|
data);
|
|
29046
29864
|
return {
|
|
29047
29865
|
//if no auto init of form structure, set to loading state
|
|
29048
|
-
loading: !this.getOptions(
|
|
29866
|
+
loading: !this.getOptions("autoInit", true),
|
|
29049
29867
|
title: manifest.actions[action].title,
|
|
29050
29868
|
description: manifest.actions[action].description,
|
|
29051
29869
|
fields: manifest.actions[action].fields,
|
|
29052
29870
|
form,
|
|
29053
29871
|
//injecting options to UI from top level input
|
|
29054
|
-
...formOptions.ui
|
|
29055
|
-
|
|
29872
|
+
...formOptions.ui,
|
|
29873
|
+
//form UI options
|
|
29874
|
+
...injectedProps
|
|
29056
29875
|
};
|
|
29057
29876
|
}
|
|
29058
29877
|
|
|
29059
29878
|
function _missingOverrideWarning2(missing) {
|
|
29060
|
-
this.error(`${missing} for ${this.getWorking(
|
|
29879
|
+
this.error(`${missing} for ${this.getWorking("name")} form is not defined`);
|
|
29061
29880
|
}
|
|
29062
29881
|
|
|
29063
29882
|
/* src/frame/components/form/form.set.svelte generated by Svelte v3.46.6 */
|