inline-style-editor 1.2.1 → 1.2.2
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.
|
@@ -2070,7 +2070,7 @@ function get_each_context_5(ctx, list, i) {
|
|
|
2070
2070
|
return child_ctx;
|
|
2071
2071
|
}
|
|
2072
2072
|
|
|
2073
|
-
// (
|
|
2073
|
+
// (388:4) {#if targetsToSearch.length > 1}
|
|
2074
2074
|
function create_if_block_7(ctx) {
|
|
2075
2075
|
let div;
|
|
2076
2076
|
let b;
|
|
@@ -2135,7 +2135,7 @@ function create_if_block_7(ctx) {
|
|
|
2135
2135
|
};
|
|
2136
2136
|
}
|
|
2137
2137
|
|
|
2138
|
-
// (
|
|
2138
|
+
// (391:8) {#each targetsToSearch as target, elemIndex}
|
|
2139
2139
|
function create_each_block_5(ctx) {
|
|
2140
2140
|
let span;
|
|
2141
2141
|
let t0;
|
|
@@ -2182,7 +2182,7 @@ function create_each_block_5(ctx) {
|
|
|
2182
2182
|
};
|
|
2183
2183
|
}
|
|
2184
2184
|
|
|
2185
|
-
// (
|
|
2185
|
+
// (400:8) {#each getRuleNames(allRules[selectedElemIndex]) as ruleName, ruleIndex}
|
|
2186
2186
|
function create_each_block_4(ctx) {
|
|
2187
2187
|
let span;
|
|
2188
2188
|
let t_value = /*ruleName*/ ctx[75] + "";
|
|
@@ -2231,7 +2231,7 @@ function create_each_block_4(ctx) {
|
|
|
2231
2231
|
};
|
|
2232
2232
|
}
|
|
2233
2233
|
|
|
2234
|
-
// (
|
|
2234
|
+
// (411:12) {#if type !== 'custom' || (currentRule === 'inline' && type === 'custom' && hasDisplayedCustom )}
|
|
2235
2235
|
function create_if_block_6(ctx) {
|
|
2236
2236
|
let span;
|
|
2237
2237
|
let t0_value = /*type*/ ctx[72] + "";
|
|
@@ -2277,7 +2277,7 @@ function create_if_block_6(ctx) {
|
|
|
2277
2277
|
};
|
|
2278
2278
|
}
|
|
2279
2279
|
|
|
2280
|
-
// (
|
|
2280
|
+
// (409:8) {#each allTypes[selectedElemIndex] || [] as type, typeIndex}
|
|
2281
2281
|
function create_each_block_3(ctx) {
|
|
2282
2282
|
let if_block_anchor;
|
|
2283
2283
|
let if_block = (/*type*/ ctx[72] !== 'custom' || /*currentRule*/ ctx[16] === 'inline' && /*type*/ ctx[72] === 'custom' && /*hasDisplayedCustom*/ ctx[15]) && create_if_block_6(ctx);
|
|
@@ -2312,7 +2312,7 @@ function create_each_block_3(ctx) {
|
|
|
2312
2312
|
};
|
|
2313
2313
|
}
|
|
2314
2314
|
|
|
2315
|
-
// (
|
|
2315
|
+
// (416:4) {#if allTypes[selectedElemIndex]}
|
|
2316
2316
|
function create_if_block(ctx) {
|
|
2317
2317
|
let div;
|
|
2318
2318
|
let t;
|
|
@@ -2420,7 +2420,7 @@ function create_if_block(ctx) {
|
|
|
2420
2420
|
};
|
|
2421
2421
|
}
|
|
2422
2422
|
|
|
2423
|
-
// (
|
|
2423
|
+
// (427:16) {:else}
|
|
2424
2424
|
function create_else_block(ctx) {
|
|
2425
2425
|
let span;
|
|
2426
2426
|
let t_value = /*selectedName*/ ctx[63] + "";
|
|
@@ -2444,7 +2444,7 @@ function create_else_block(ctx) {
|
|
|
2444
2444
|
};
|
|
2445
2445
|
}
|
|
2446
2446
|
|
|
2447
|
-
// (
|
|
2447
|
+
// (421:16) {#if choices.props.length > 1}
|
|
2448
2448
|
function create_if_block_5(ctx) {
|
|
2449
2449
|
let div;
|
|
2450
2450
|
let select;
|
|
@@ -2518,7 +2518,7 @@ function create_if_block_5(ctx) {
|
|
|
2518
2518
|
};
|
|
2519
2519
|
}
|
|
2520
2520
|
|
|
2521
|
-
// (
|
|
2521
|
+
// (423:24) {#each choices.props as propName, i}
|
|
2522
2522
|
function create_each_block_2(ctx) {
|
|
2523
2523
|
let option;
|
|
2524
2524
|
let t0_value = /*propName*/ ctx[69] + "";
|
|
@@ -2553,7 +2553,7 @@ function create_each_block_2(ctx) {
|
|
|
2553
2553
|
};
|
|
2554
2554
|
}
|
|
2555
2555
|
|
|
2556
|
-
// (
|
|
2556
|
+
// (446:46)
|
|
2557
2557
|
function create_if_block_4(ctx) {
|
|
2558
2558
|
let colorpicker;
|
|
2559
2559
|
let current;
|
|
@@ -2599,7 +2599,7 @@ function create_if_block_4(ctx) {
|
|
|
2599
2599
|
};
|
|
2600
2600
|
}
|
|
2601
2601
|
|
|
2602
|
-
// (
|
|
2602
|
+
// (440:47)
|
|
2603
2603
|
function create_if_block_3(ctx) {
|
|
2604
2604
|
let select;
|
|
2605
2605
|
let mounted;
|
|
@@ -2672,7 +2672,7 @@ function create_if_block_3(ctx) {
|
|
|
2672
2672
|
};
|
|
2673
2673
|
}
|
|
2674
2674
|
|
|
2675
|
-
// (
|
|
2675
|
+
// (431:16) {#if propType === 'slider'}
|
|
2676
2676
|
function create_if_block_2(ctx) {
|
|
2677
2677
|
let input;
|
|
2678
2678
|
let input_min_value;
|
|
@@ -2747,7 +2747,7 @@ function create_if_block_2(ctx) {
|
|
|
2747
2747
|
};
|
|
2748
2748
|
}
|
|
2749
2749
|
|
|
2750
|
-
// (
|
|
2750
|
+
// (442:24) {#each allCurrentPropDefs[selectedName].choices() as choice}
|
|
2751
2751
|
function create_each_block_1(ctx) {
|
|
2752
2752
|
let option;
|
|
2753
2753
|
let t_value = /*choice*/ ctx[66] + "";
|
|
@@ -2785,7 +2785,7 @@ function create_each_block_1(ctx) {
|
|
|
2785
2785
|
};
|
|
2786
2786
|
}
|
|
2787
2787
|
|
|
2788
|
-
// (
|
|
2788
|
+
// (418:8) {#each Object.entries(propsByType) as [propType, choices]}
|
|
2789
2789
|
function create_each_block(ctx) {
|
|
2790
2790
|
let div;
|
|
2791
2791
|
let t0;
|
|
@@ -2926,7 +2926,7 @@ function create_each_block(ctx) {
|
|
|
2926
2926
|
};
|
|
2927
2927
|
}
|
|
2928
2928
|
|
|
2929
|
-
// (
|
|
2929
|
+
// (454:8) {#if currentRule === 'inline' && bringableToFront[selectedElemIndex] !== null}
|
|
2930
2930
|
function create_if_block_1(ctx) {
|
|
2931
2931
|
let div;
|
|
2932
2932
|
let mounted;
|
|
@@ -3597,6 +3597,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
3597
3597
|
$$invalidate(8, self.style.top = y + "px", self);
|
|
3598
3598
|
$$invalidate(9, helperElemWrapper.style.display = "block", helperElemWrapper);
|
|
3599
3599
|
$$invalidate(8, self.style.display = "block", self);
|
|
3600
|
+
updateHelpers();
|
|
3600
3601
|
}
|
|
3601
3602
|
|
|
3602
3603
|
async function updateHelpers() {
|