@lostgradient/cinder 0.24.4 → 0.24.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/components.json +1 -1
- package/dist/components/json-schema-editor/index.js +2147 -5517
- package/dist/components/json-schema-editor/json-schema-editor-state.svelte.d.ts +1 -0
- package/dist/components/json-schema-editor/json-schema-editor.css +8 -0
- package/dist/components/waveform/index.js +17 -5
- package/dist/components/waveform/waveform.css +27 -0
- package/dist/index.js +510 -428
- package/dist/server/components/json-schema-editor/index.js +2 -10
- package/dist/server/components/waveform/index.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/{index.server-7h3nmj3g.js → index.server-4entcat5.js} +119 -76
- package/dist/server/{index.server-tdrncj5e.js → index.server-qhfya7fx.js} +10 -3
- package/package.json +2 -1
- package/src/components/json-schema-editor/diff-view.svelte +1 -1
- package/src/components/json-schema-editor/json-schema-editor-impl.svelte +2 -2
- package/src/components/json-schema-editor/json-schema-editor-state.svelte.ts +26 -16
- package/src/components/json-schema-editor/json-schema-editor.css +8 -0
- package/src/components/json-schema-editor/json-schema-toolbar.svelte +2 -2
- package/src/components/json-schema-editor/json-schema-validator.ts +17 -3
- package/src/components/json-schema-editor/property-editor.constants.ts +0 -1
- package/src/components/json-schema-editor/property-editor.svelte +4 -10
- package/src/components/json-schema-editor/property-list.svelte +83 -22
- package/src/components/waveform/waveform.css +27 -0
- package/src/components/waveform/waveform.svelte +28 -15
- package/src/styles/tokens-base.css +3 -3
package/dist/index.js
CHANGED
|
@@ -36294,7 +36294,7 @@ function Diff_view($$anchor, $$props) {
|
|
|
36294
36294
|
$195.append($$anchor2, div_2);
|
|
36295
36295
|
};
|
|
36296
36296
|
$195.if(node_3, ($$render) => {
|
|
36297
|
-
if (!$$props.state.
|
|
36297
|
+
if (!$$props.state.hasDiffChanges)
|
|
36298
36298
|
$$render(consequent_1);
|
|
36299
36299
|
else
|
|
36300
36300
|
$$render(alternate_1, -1);
|
|
@@ -36345,7 +36345,6 @@ var EDITABLE_KEYWORDS = new Set([
|
|
|
36345
36345
|
"default",
|
|
36346
36346
|
"examples",
|
|
36347
36347
|
"const",
|
|
36348
|
-
"enum",
|
|
36349
36348
|
"minLength",
|
|
36350
36349
|
"maxLength",
|
|
36351
36350
|
"pattern",
|
|
@@ -36557,7 +36556,8 @@ function Property_editor_constraints($$anchor, $$props) {
|
|
|
36557
36556
|
// src/components/json-schema-editor/property-list.svelte
|
|
36558
36557
|
import"svelte/internal/disclose-version";
|
|
36559
36558
|
import * as $197 from "svelte/internal/client";
|
|
36560
|
-
import { onDestroy as onDestroy9 } from "svelte";
|
|
36559
|
+
import { onDestroy as onDestroy9, tick as tick14 } from "svelte";
|
|
36560
|
+
import Badge2 from "@lostgradient/cinder/badge";
|
|
36561
36561
|
import Collapsible3 from "@lostgradient/cinder/collapsible";
|
|
36562
36562
|
|
|
36563
36563
|
// src/components/json-schema-editor/property-list-validation.ts
|
|
@@ -36568,9 +36568,9 @@ function calculatePropertyValidationErrorCount(propertyNames, childValidationCou
|
|
|
36568
36568
|
// src/components/json-schema-editor/property-list.svelte
|
|
36569
36569
|
var root102 = $197.from_html(`<p class="cinder-jse-property-list__empty">No properties yet.</p>`);
|
|
36570
36570
|
var root_1101 = $197.from_html(`<div class="cinder-jse-property-row__panel"><!> <!></div>`);
|
|
36571
|
-
var root_264 = $197.from_html(`<div class="cinder-jse-property-row"><div class="cinder-jse-property-row__summary"><button type="button" class="cinder-jse-property-row__trigger"><!> <span class="cinder-jse-property-row__name"> </span> <span class="cinder-jse-property-row__type"> </span
|
|
36571
|
+
var root_264 = $197.from_html(`<div class="cinder-jse-property-row"><div class="cinder-jse-property-row__summary"><button type="button" class="cinder-jse-property-row__trigger"><!> <span class="cinder-jse-property-row__name"> </span> <span class="cinder-jse-property-row__type"> </span> <!></button> <span class="cinder-jse-property-row__spacer"></span> <!> <!> <!> <!></div> <!></div>`);
|
|
36572
36572
|
var root_347 = $197.from_html(`<div class="cinder-jse-required-only__panel"><!> <!> <!></div>`);
|
|
36573
|
-
var root_428 = $197.from_html(`<div class="cinder-jse-property-list"><!> <!> <!>
|
|
36573
|
+
var root_428 = $197.from_html(`<p class="cinder-sr-only" aria-live="polite"> </p> <div class="cinder-jse-property-list"><!> <!> <!> <span class="cinder-jse-property-list__add-property-reference"><!></span> <!></div>`, 1);
|
|
36574
36574
|
function Property_list($$anchor, $$props) {
|
|
36575
36575
|
$197.push($$props, true);
|
|
36576
36576
|
let depth = $197.prop($$props, "depth", 3, 0), readonly = $197.prop($$props, "readonly", 3, false);
|
|
@@ -36616,7 +36616,7 @@ function Property_list($$anchor, $$props) {
|
|
|
36616
36616
|
return;
|
|
36617
36617
|
}
|
|
36618
36618
|
$197.set(renameError, null);
|
|
36619
|
-
const next18 =
|
|
36619
|
+
const next18 = Object.create(null);
|
|
36620
36620
|
for (const k of $197.get(propertyNames)) {
|
|
36621
36621
|
next18[k === oldKey ? draft : k] = $$props.properties[k];
|
|
36622
36622
|
}
|
|
@@ -36633,9 +36633,33 @@ function Property_list($$anchor, $$props) {
|
|
|
36633
36633
|
}
|
|
36634
36634
|
$$props.onValueChange(next18, nextRequired);
|
|
36635
36635
|
}
|
|
36636
|
-
|
|
36636
|
+
let actionAnnouncement = $197.state("");
|
|
36637
|
+
const propertyTriggerElements = new Map;
|
|
36638
|
+
let addPropertyElement = $197.state(undefined);
|
|
36639
|
+
function propertyTrigger(element13, key) {
|
|
36640
|
+
propertyTriggerElements.set(key, element13);
|
|
36641
|
+
return {
|
|
36642
|
+
update(nextKey) {
|
|
36643
|
+
if (nextKey === key)
|
|
36644
|
+
return;
|
|
36645
|
+
propertyTriggerElements.delete(key);
|
|
36646
|
+
key = nextKey;
|
|
36647
|
+
propertyTriggerElements.set(key, element13);
|
|
36648
|
+
},
|
|
36649
|
+
destroy() {
|
|
36650
|
+
propertyTriggerElements.delete(key);
|
|
36651
|
+
}
|
|
36652
|
+
};
|
|
36653
|
+
}
|
|
36654
|
+
async function announceAction(message) {
|
|
36655
|
+
$197.set(actionAnnouncement, "");
|
|
36656
|
+
await tick14();
|
|
36657
|
+
$197.set(actionAnnouncement, message, true);
|
|
36658
|
+
}
|
|
36659
|
+
async function deleteProperty(key, index4) {
|
|
36637
36660
|
if (readonly())
|
|
36638
36661
|
return;
|
|
36662
|
+
const focusKey = $197.get(propertyNames)[index4 + 1] ?? $197.get(propertyNames)[index4 - 1];
|
|
36639
36663
|
const next18 = { ...$$props.properties };
|
|
36640
36664
|
delete next18[key];
|
|
36641
36665
|
const nextRequired = $$props.required.filter((name) => name !== key);
|
|
@@ -36644,6 +36668,10 @@ function Property_list($$anchor, $$props) {
|
|
|
36644
36668
|
const { [key]: _removedChildCount, ...remainingChildCounts } = $197.get(childValidationCounts);
|
|
36645
36669
|
$197.set(childValidationCounts, remainingChildCounts, true);
|
|
36646
36670
|
$$props.onValueChange(next18, nextRequired);
|
|
36671
|
+
await announceAction(`Deleted ${key} property.`);
|
|
36672
|
+
await tick14();
|
|
36673
|
+
const focusTarget = focusKey ? propertyTriggerElements.get(focusKey) : $197.get(addPropertyElement)?.querySelector("button");
|
|
36674
|
+
focusTarget?.focus();
|
|
36647
36675
|
}
|
|
36648
36676
|
function setChildValidationErrorCount(key, count) {
|
|
36649
36677
|
if (($197.get(childValidationCounts)[key] ?? 0) === count)
|
|
@@ -36660,19 +36688,30 @@ function Property_list($$anchor, $$props) {
|
|
|
36660
36688
|
if (isOpen)
|
|
36661
36689
|
setChildValidationErrorCount(key, 0);
|
|
36662
36690
|
}
|
|
36663
|
-
function moveProperty(key, direction) {
|
|
36664
|
-
if (readonly())
|
|
36691
|
+
async function moveProperty(key, direction, index4) {
|
|
36692
|
+
if (readonly() || !canMoveProperty(index4, direction))
|
|
36665
36693
|
return;
|
|
36666
|
-
const index4 = $197.get(propertyNames).indexOf(key);
|
|
36667
36694
|
const target = index4 + direction;
|
|
36668
36695
|
if (target < 0 || target >= $197.get(propertyNames).length)
|
|
36669
36696
|
return;
|
|
36670
36697
|
const reordered = [...$197.get(propertyNames)];
|
|
36671
36698
|
[reordered[index4], reordered[target]] = [reordered[target], reordered[index4]];
|
|
36672
|
-
const next18 =
|
|
36699
|
+
const next18 = Object.create(null);
|
|
36673
36700
|
for (const name of reordered)
|
|
36674
36701
|
next18[name] = $$props.properties[name];
|
|
36675
36702
|
$$props.onValueChange(next18, $$props.required);
|
|
36703
|
+
await announceAction(`Moved ${key} property to position ${target + 1} of ${reordered.length}.`);
|
|
36704
|
+
}
|
|
36705
|
+
function canMoveProperty(index4, direction) {
|
|
36706
|
+
const target = index4 + direction;
|
|
36707
|
+
if (target < 0 || target >= $197.get(propertyNames).length)
|
|
36708
|
+
return false;
|
|
36709
|
+
const reordered = [...$197.get(propertyNames)];
|
|
36710
|
+
[reordered[index4], reordered[target]] = [reordered[target], reordered[index4]];
|
|
36711
|
+
const next18 = Object.create(null);
|
|
36712
|
+
for (const name of reordered)
|
|
36713
|
+
next18[name] = $$props.properties[name];
|
|
36714
|
+
return Object.keys(next18).every((name, nextIndex) => name === reordered[nextIndex]);
|
|
36676
36715
|
}
|
|
36677
36716
|
function toggleRequired(key) {
|
|
36678
36717
|
if (readonly())
|
|
@@ -36727,7 +36766,11 @@ function Property_list($$anchor, $$props) {
|
|
|
36727
36766
|
return;
|
|
36728
36767
|
$$props.onValueChange($$props.properties, $$props.required.filter((entry) => entry !== name));
|
|
36729
36768
|
}
|
|
36730
|
-
var
|
|
36769
|
+
var fragment = root_428();
|
|
36770
|
+
var p = $197.first_child(fragment);
|
|
36771
|
+
var text26 = $197.child(p, true);
|
|
36772
|
+
$197.reset(p);
|
|
36773
|
+
var div = $197.sibling(p, 2);
|
|
36731
36774
|
var node = $197.child(div);
|
|
36732
36775
|
{
|
|
36733
36776
|
var consequent = ($$anchor2) => {
|
|
@@ -36735,9 +36778,9 @@ function Property_list($$anchor, $$props) {
|
|
|
36735
36778
|
variant: "danger",
|
|
36736
36779
|
children: ($$anchor3, $$slotProps) => {
|
|
36737
36780
|
$197.next();
|
|
36738
|
-
var
|
|
36739
|
-
$197.template_effect(() => $197.set_text(
|
|
36740
|
-
$197.append($$anchor3,
|
|
36781
|
+
var text_1 = $197.text();
|
|
36782
|
+
$197.template_effect(() => $197.set_text(text_1, $197.get(renameError)));
|
|
36783
|
+
$197.append($$anchor3, text_1);
|
|
36741
36784
|
},
|
|
36742
36785
|
$$slots: { default: true }
|
|
36743
36786
|
});
|
|
@@ -36750,8 +36793,8 @@ function Property_list($$anchor, $$props) {
|
|
|
36750
36793
|
var node_1 = $197.sibling(node, 2);
|
|
36751
36794
|
{
|
|
36752
36795
|
var consequent_1 = ($$anchor2) => {
|
|
36753
|
-
var
|
|
36754
|
-
$197.append($$anchor2,
|
|
36796
|
+
var p_1 = root102();
|
|
36797
|
+
$197.append($$anchor2, p_1);
|
|
36755
36798
|
};
|
|
36756
36799
|
$197.if(node_1, ($$render) => {
|
|
36757
36800
|
if ($197.get(propertyNames).length === 0)
|
|
@@ -36759,9 +36802,10 @@ function Property_list($$anchor, $$props) {
|
|
|
36759
36802
|
});
|
|
36760
36803
|
}
|
|
36761
36804
|
var node_2 = $197.sibling(node_1, 2);
|
|
36762
|
-
$197.each(node_2,
|
|
36805
|
+
$197.each(node_2, 18, () => $197.get(propertyNames), (key) => key, ($$anchor2, key, index4) => {
|
|
36763
36806
|
const isRequired = $197.derived(() => $$props.required.includes(key));
|
|
36764
36807
|
const isOpen = $197.derived(() => expanded[key] === true);
|
|
36808
|
+
const childValidationErrorCount = $197.derived(() => $197.get(childValidationCounts)[key] ?? 0);
|
|
36765
36809
|
const panelId = $197.derived(() => `${$$props.idPrefix}-${key}-panel`);
|
|
36766
36810
|
var div_1 = root_264();
|
|
36767
36811
|
var div_2 = $197.child(div_1);
|
|
@@ -36774,17 +36818,44 @@ function Property_list($$anchor, $$props) {
|
|
|
36774
36818
|
"aria-hidden": "true"
|
|
36775
36819
|
});
|
|
36776
36820
|
var span = $197.sibling(node_3, 2);
|
|
36777
|
-
var
|
|
36821
|
+
var text_2 = $197.child(span, true);
|
|
36778
36822
|
$197.reset(span);
|
|
36779
36823
|
var span_1 = $197.sibling(span, 2);
|
|
36780
|
-
var
|
|
36824
|
+
var text_3 = $197.child(span_1, true);
|
|
36781
36825
|
$197.reset(span_1);
|
|
36826
|
+
var node_4 = $197.sibling(span_1, 2);
|
|
36827
|
+
{
|
|
36828
|
+
var consequent_2 = ($$anchor3) => {
|
|
36829
|
+
{
|
|
36830
|
+
let $0 = $197.derived(() => `${$197.get(childValidationErrorCount)} validation ${$197.get(childValidationErrorCount) === 1 ? "error" : "errors"} in ${key}`);
|
|
36831
|
+
Badge2($$anchor3, {
|
|
36832
|
+
variant: "danger",
|
|
36833
|
+
get "aria-label"() {
|
|
36834
|
+
return $197.get($0);
|
|
36835
|
+
},
|
|
36836
|
+
children: ($$anchor4, $$slotProps) => {
|
|
36837
|
+
$197.next();
|
|
36838
|
+
var text_4 = $197.text();
|
|
36839
|
+
$197.template_effect(() => $197.set_text(text_4, `${$197.get(childValidationErrorCount) ?? ""}
|
|
36840
|
+
${$197.get(childValidationErrorCount) === 1 ? "error" : "errors"}`));
|
|
36841
|
+
$197.append($$anchor4, text_4);
|
|
36842
|
+
},
|
|
36843
|
+
$$slots: { default: true }
|
|
36844
|
+
});
|
|
36845
|
+
}
|
|
36846
|
+
};
|
|
36847
|
+
$197.if(node_4, ($$render) => {
|
|
36848
|
+
if ($197.get(childValidationErrorCount) > 0)
|
|
36849
|
+
$$render(consequent_2);
|
|
36850
|
+
});
|
|
36851
|
+
}
|
|
36782
36852
|
$197.reset(button);
|
|
36783
|
-
|
|
36853
|
+
$197.action(button, ($$node, $$action_arg) => propertyTrigger?.($$node, $$action_arg), () => key);
|
|
36854
|
+
var node_5 = $197.sibling(button, 4);
|
|
36784
36855
|
{
|
|
36785
36856
|
let $0 = $197.derived(() => $197.get(isRequired) ? "primary" : "ghost");
|
|
36786
|
-
let $1 = $197.derived(() => $197.get(isRequired) ? "Required (toggle off)" : "Optional (toggle required)");
|
|
36787
|
-
Button(
|
|
36857
|
+
let $1 = $197.derived(() => `${key}: ${$197.get(isRequired) ? "Required (toggle off)" : "Optional (toggle required)"}`);
|
|
36858
|
+
Button(node_5, {
|
|
36788
36859
|
get variant() {
|
|
36789
36860
|
return $197.get($0);
|
|
36790
36861
|
},
|
|
@@ -36801,49 +36872,61 @@ function Property_list($$anchor, $$props) {
|
|
|
36801
36872
|
onclick: () => toggleRequired(key),
|
|
36802
36873
|
children: ($$anchor3, $$slotProps) => {
|
|
36803
36874
|
$197.next();
|
|
36804
|
-
var
|
|
36805
|
-
$197.template_effect(() => $197.set_text(
|
|
36806
|
-
$197.append($$anchor3,
|
|
36875
|
+
var text_5 = $197.text();
|
|
36876
|
+
$197.template_effect(() => $197.set_text(text_5, $197.get(isRequired) ? "Required" : "Optional"));
|
|
36877
|
+
$197.append($$anchor3, text_5);
|
|
36807
36878
|
},
|
|
36808
36879
|
$$slots: { default: true }
|
|
36809
36880
|
});
|
|
36810
36881
|
}
|
|
36811
|
-
var node_5 = $197.sibling(node_4, 2);
|
|
36812
|
-
Button(node_5, {
|
|
36813
|
-
variant: "ghost",
|
|
36814
|
-
size: "xs",
|
|
36815
|
-
get disabled() {
|
|
36816
|
-
return readonly();
|
|
36817
|
-
},
|
|
36818
|
-
"aria-label": "Move up",
|
|
36819
|
-
onclick: () => moveProperty(key, -1),
|
|
36820
|
-
children: ($$anchor3, $$slotProps) => {
|
|
36821
|
-
$197.next();
|
|
36822
|
-
var text_4 = $197.text("↑");
|
|
36823
|
-
$197.append($$anchor3, text_4);
|
|
36824
|
-
},
|
|
36825
|
-
$$slots: { default: true }
|
|
36826
|
-
});
|
|
36827
36882
|
var node_6 = $197.sibling(node_5, 2);
|
|
36828
|
-
|
|
36829
|
-
|
|
36830
|
-
|
|
36831
|
-
|
|
36832
|
-
|
|
36833
|
-
|
|
36834
|
-
|
|
36835
|
-
|
|
36836
|
-
|
|
36837
|
-
|
|
36838
|
-
|
|
36839
|
-
|
|
36840
|
-
|
|
36841
|
-
|
|
36842
|
-
|
|
36883
|
+
{
|
|
36884
|
+
let $0 = $197.derived(() => readonly() || !canMoveProperty($197.get(index4), -1));
|
|
36885
|
+
let $1 = $197.derived(() => `Move ${key} up`);
|
|
36886
|
+
Button(node_6, {
|
|
36887
|
+
variant: "ghost",
|
|
36888
|
+
size: "xs",
|
|
36889
|
+
get disabled() {
|
|
36890
|
+
return $197.get($0);
|
|
36891
|
+
},
|
|
36892
|
+
get "aria-label"() {
|
|
36893
|
+
return $197.get($1);
|
|
36894
|
+
},
|
|
36895
|
+
onclick: () => moveProperty(key, -1, $197.get(index4)),
|
|
36896
|
+
children: ($$anchor3, $$slotProps) => {
|
|
36897
|
+
$197.next();
|
|
36898
|
+
var text_6 = $197.text("↑");
|
|
36899
|
+
$197.append($$anchor3, text_6);
|
|
36900
|
+
},
|
|
36901
|
+
$$slots: { default: true }
|
|
36902
|
+
});
|
|
36903
|
+
}
|
|
36843
36904
|
var node_7 = $197.sibling(node_6, 2);
|
|
36844
36905
|
{
|
|
36845
|
-
let $0 = $197.derived(() =>
|
|
36906
|
+
let $0 = $197.derived(() => readonly() || !canMoveProperty($197.get(index4), 1));
|
|
36907
|
+
let $1 = $197.derived(() => `Move ${key} down`);
|
|
36846
36908
|
Button(node_7, {
|
|
36909
|
+
variant: "ghost",
|
|
36910
|
+
size: "xs",
|
|
36911
|
+
get disabled() {
|
|
36912
|
+
return $197.get($0);
|
|
36913
|
+
},
|
|
36914
|
+
get "aria-label"() {
|
|
36915
|
+
return $197.get($1);
|
|
36916
|
+
},
|
|
36917
|
+
onclick: () => moveProperty(key, 1, $197.get(index4)),
|
|
36918
|
+
children: ($$anchor3, $$slotProps) => {
|
|
36919
|
+
$197.next();
|
|
36920
|
+
var text_7 = $197.text("↓");
|
|
36921
|
+
$197.append($$anchor3, text_7);
|
|
36922
|
+
},
|
|
36923
|
+
$$slots: { default: true }
|
|
36924
|
+
});
|
|
36925
|
+
}
|
|
36926
|
+
var node_8 = $197.sibling(node_7, 2);
|
|
36927
|
+
{
|
|
36928
|
+
let $0 = $197.derived(() => `Delete ${key}`);
|
|
36929
|
+
Button(node_8, {
|
|
36847
36930
|
variant: "ghost-danger",
|
|
36848
36931
|
size: "xs",
|
|
36849
36932
|
get disabled() {
|
|
@@ -36852,25 +36935,25 @@ function Property_list($$anchor, $$props) {
|
|
|
36852
36935
|
get "aria-label"() {
|
|
36853
36936
|
return $197.get($0);
|
|
36854
36937
|
},
|
|
36855
|
-
onclick: () => deleteProperty(key),
|
|
36938
|
+
onclick: () => deleteProperty(key, $197.get(index4)),
|
|
36856
36939
|
children: ($$anchor3, $$slotProps) => {
|
|
36857
36940
|
$197.next();
|
|
36858
|
-
var
|
|
36859
|
-
$197.append($$anchor3,
|
|
36941
|
+
var text_8 = $197.text("Delete");
|
|
36942
|
+
$197.append($$anchor3, text_8);
|
|
36860
36943
|
},
|
|
36861
36944
|
$$slots: { default: true }
|
|
36862
36945
|
});
|
|
36863
36946
|
}
|
|
36864
36947
|
$197.reset(div_2);
|
|
36865
|
-
var
|
|
36948
|
+
var node_9 = $197.sibling(div_2, 2);
|
|
36866
36949
|
{
|
|
36867
|
-
var
|
|
36950
|
+
var consequent_3 = ($$anchor3) => {
|
|
36868
36951
|
var div_3 = root_1101();
|
|
36869
|
-
var
|
|
36952
|
+
var node_10 = $197.child(div_3);
|
|
36870
36953
|
{
|
|
36871
36954
|
let $0 = $197.derived(() => `${$$props.idPrefix}-${key}-name`);
|
|
36872
36955
|
let $1 = $197.derived(() => getDraftName(key));
|
|
36873
|
-
Input2(
|
|
36956
|
+
Input2(node_10, {
|
|
36874
36957
|
get id() {
|
|
36875
36958
|
return $197.get($0);
|
|
36876
36959
|
},
|
|
@@ -36885,13 +36968,13 @@ function Property_list($$anchor, $$props) {
|
|
|
36885
36968
|
onblur: () => commitRename(key)
|
|
36886
36969
|
});
|
|
36887
36970
|
}
|
|
36888
|
-
var
|
|
36971
|
+
var node_11 = $197.sibling(node_10, 2);
|
|
36889
36972
|
{
|
|
36890
36973
|
let $0 = $197.derived(() => `${$$props.idPrefix}-${key}-schema`);
|
|
36891
36974
|
let $1 = $197.derived(() => `${$$props.path}/${key}`);
|
|
36892
36975
|
let $210 = $197.derived(() => depth() + 1);
|
|
36893
36976
|
let $310 = $197.derived(() => $$props.properties[key] ?? {});
|
|
36894
|
-
Property_editor(
|
|
36977
|
+
Property_editor(node_11, {
|
|
36895
36978
|
get idPrefix() {
|
|
36896
36979
|
return $197.get($0);
|
|
36897
36980
|
},
|
|
@@ -36915,26 +36998,28 @@ function Property_list($$anchor, $$props) {
|
|
|
36915
36998
|
$197.template_effect(() => $197.set_attribute(div_3, "id", $197.get(panelId)));
|
|
36916
36999
|
$197.append($$anchor3, div_3);
|
|
36917
37000
|
};
|
|
36918
|
-
$197.if(
|
|
37001
|
+
$197.if(node_9, ($$render) => {
|
|
36919
37002
|
if ($197.get(isOpen))
|
|
36920
|
-
$$render(
|
|
37003
|
+
$$render(consequent_3);
|
|
36921
37004
|
});
|
|
36922
37005
|
}
|
|
36923
37006
|
$197.reset(div_1);
|
|
36924
37007
|
$197.template_effect(($0) => {
|
|
36925
37008
|
$197.set_attribute(div_1, "data-cinder-required", $197.get(isRequired) ? "" : undefined);
|
|
37009
|
+
$197.set_attribute(div_1, "data-cinder-invalid", $197.get(childValidationErrorCount) > 0 ? "" : undefined);
|
|
36926
37010
|
$197.set_style(div_2, `--cinder-jse-property-depth: ${depth()}`);
|
|
36927
|
-
$197.set_attribute(button, "aria-label", `${$197.get(isOpen) ? "Collapse" : "Expand"} ${key} property`);
|
|
37011
|
+
$197.set_attribute(button, "aria-label", `${$197.get(isOpen) ? "Collapse" : "Expand"} ${key} property${$197.get(childValidationErrorCount) > 0 ? `, ${$197.get(childValidationErrorCount)} validation ${$197.get(childValidationErrorCount) === 1 ? "error" : "errors"}` : ""}`);
|
|
36928
37012
|
$197.set_attribute(button, "aria-expanded", $197.get(isOpen));
|
|
36929
|
-
$197.set_attribute(button, "aria-controls", $197.get(panelId));
|
|
36930
|
-
$197.set_text(
|
|
36931
|
-
$197.set_text(
|
|
37013
|
+
$197.set_attribute(button, "aria-controls", $197.get(isOpen) ? $197.get(panelId) : undefined);
|
|
37014
|
+
$197.set_text(text_2, key);
|
|
37015
|
+
$197.set_text(text_3, $0);
|
|
36932
37016
|
}, [() => summariseType($$props.properties[key] ?? {})]);
|
|
36933
37017
|
$197.delegated("click", button, () => toggleExpanded(key, $197.get(isOpen)));
|
|
36934
37018
|
$197.append($$anchor2, div_1);
|
|
36935
37019
|
});
|
|
36936
|
-
var
|
|
36937
|
-
|
|
37020
|
+
var span_2 = $197.sibling(node_2, 2);
|
|
37021
|
+
var node_12 = $197.child(span_2);
|
|
37022
|
+
Button(node_12, {
|
|
36938
37023
|
variant: "secondary",
|
|
36939
37024
|
size: "sm",
|
|
36940
37025
|
get disabled() {
|
|
@@ -36943,14 +37028,16 @@ function Property_list($$anchor, $$props) {
|
|
|
36943
37028
|
onclick: addProperty,
|
|
36944
37029
|
children: ($$anchor2, $$slotProps) => {
|
|
36945
37030
|
$197.next();
|
|
36946
|
-
var
|
|
36947
|
-
$197.append($$anchor2,
|
|
37031
|
+
var text_9 = $197.text("Add property");
|
|
37032
|
+
$197.append($$anchor2, text_9);
|
|
36948
37033
|
},
|
|
36949
37034
|
$$slots: { default: true }
|
|
36950
37035
|
});
|
|
36951
|
-
|
|
37036
|
+
$197.reset(span_2);
|
|
37037
|
+
$197.bind_this(span_2, ($$value) => $197.set(addPropertyElement, $$value), () => $197.get(addPropertyElement));
|
|
37038
|
+
var node_13 = $197.sibling(span_2, 2);
|
|
36952
37039
|
{
|
|
36953
|
-
var
|
|
37040
|
+
var consequent_4 = ($$anchor2) => {
|
|
36954
37041
|
{
|
|
36955
37042
|
let $0 = $197.derived(() => `Required fields not yet defined (${$197.get(requiredOnly).length})`);
|
|
36956
37043
|
let $1 = $197.derived(() => !readonly() || $197.get(requiredOnly).length > 0);
|
|
@@ -36964,8 +37051,8 @@ function Property_list($$anchor, $$props) {
|
|
|
36964
37051
|
},
|
|
36965
37052
|
children: ($$anchor3, $$slotProps) => {
|
|
36966
37053
|
var div_4 = root_347();
|
|
36967
|
-
var
|
|
36968
|
-
$197.each(
|
|
37054
|
+
var node_14 = $197.child(div_4);
|
|
37055
|
+
$197.each(node_14, 16, () => $197.get(requiredOnly), (name) => name, ($$anchor4, name) => {
|
|
36969
37056
|
Chip($$anchor4, {
|
|
36970
37057
|
mode: "removable",
|
|
36971
37058
|
get label() {
|
|
@@ -36977,10 +37064,10 @@ function Property_list($$anchor, $$props) {
|
|
|
36977
37064
|
onRemove: () => removeRequiredOnly(name)
|
|
36978
37065
|
});
|
|
36979
37066
|
});
|
|
36980
|
-
var
|
|
37067
|
+
var node_15 = $197.sibling(node_14, 2);
|
|
36981
37068
|
{
|
|
36982
37069
|
let $02 = $197.derived(() => `${$$props.idPrefix}-required-only-add`);
|
|
36983
|
-
Input2(
|
|
37070
|
+
Input2(node_15, {
|
|
36984
37071
|
get id() {
|
|
36985
37072
|
return $197.get($02);
|
|
36986
37073
|
},
|
|
@@ -37000,8 +37087,8 @@ function Property_list($$anchor, $$props) {
|
|
|
37000
37087
|
}
|
|
37001
37088
|
});
|
|
37002
37089
|
}
|
|
37003
|
-
var
|
|
37004
|
-
Button(
|
|
37090
|
+
var node_16 = $197.sibling(node_15, 2);
|
|
37091
|
+
Button(node_16, {
|
|
37005
37092
|
variant: "secondary",
|
|
37006
37093
|
size: "sm",
|
|
37007
37094
|
get disabled() {
|
|
@@ -37010,8 +37097,8 @@ function Property_list($$anchor, $$props) {
|
|
|
37010
37097
|
onclick: addRequiredOnly,
|
|
37011
37098
|
children: ($$anchor4, $$slotProps2) => {
|
|
37012
37099
|
$197.next();
|
|
37013
|
-
var
|
|
37014
|
-
$197.append($$anchor4,
|
|
37100
|
+
var text_10 = $197.text("Add required name");
|
|
37101
|
+
$197.append($$anchor4, text_10);
|
|
37015
37102
|
},
|
|
37016
37103
|
$$slots: { default: true }
|
|
37017
37104
|
});
|
|
@@ -37022,13 +37109,14 @@ function Property_list($$anchor, $$props) {
|
|
|
37022
37109
|
});
|
|
37023
37110
|
}
|
|
37024
37111
|
};
|
|
37025
|
-
$197.if(
|
|
37112
|
+
$197.if(node_13, ($$render) => {
|
|
37026
37113
|
if (!readonly() || $197.get(requiredOnly).length > 0)
|
|
37027
|
-
$$render(
|
|
37114
|
+
$$render(consequent_4);
|
|
37028
37115
|
});
|
|
37029
37116
|
}
|
|
37030
37117
|
$197.reset(div);
|
|
37031
|
-
$197.
|
|
37118
|
+
$197.template_effect(() => $197.set_text(text26, $197.get(actionAnnouncement)));
|
|
37119
|
+
$197.append($$anchor, fragment);
|
|
37032
37120
|
$197.pop();
|
|
37033
37121
|
}
|
|
37034
37122
|
$197.delegate(["click"]);
|
|
@@ -37042,9 +37130,10 @@ var root_429 = $198.from_html(`<div class="cinder-jse-section"><h4 class="cinder
|
|
|
37042
37130
|
var root_520 = $198.from_html(`<!> <!>`, 1);
|
|
37043
37131
|
var root_614 = $198.from_html(`<div class="cinder-jse-section__body"><!> <!></div>`);
|
|
37044
37132
|
var root_712 = $198.from_html(`<div class="cinder-jse-section"><h4 class="cinder-jse-section__title">$ref</h4> <!> <!></div>`);
|
|
37045
|
-
var root_89 = $198.from_html(`<div class="cinder-jse-advanced-row"
|
|
37046
|
-
var root_97 = $198.from_html(
|
|
37047
|
-
var root_106 = $198.from_html(
|
|
37133
|
+
var root_89 = $198.from_html(`<div class="cinder-jse-advanced-row"><!></div>`);
|
|
37134
|
+
var root_97 = $198.from_html(`<div class="cinder-jse-advanced-row"><!> <span> </span></div>`);
|
|
37135
|
+
var root_106 = $198.from_html(`<!> <div class="cinder-jse-section cinder-jse-section--lead"><!> <!></div> <div class="cinder-jse-section"><h4 class="cinder-jse-section__title">Type</h4> <div class="cinder-jse-type-row"><!> <!></div></div> <!> <!> <!> <!> <!> <!>`, 1);
|
|
37136
|
+
var root_1114 = $198.from_html(`<div><!></div>`);
|
|
37048
37137
|
function Property_editor($$anchor, $$props) {
|
|
37049
37138
|
$198.push($$props, true);
|
|
37050
37139
|
let depth = $198.prop($$props, "depth", 3, 0), readonly = $198.prop($$props, "readonly", 3, false);
|
|
@@ -37221,7 +37310,7 @@ function Property_editor($$anchor, $$props) {
|
|
|
37221
37310
|
]);
|
|
37222
37311
|
patchComposition(keyword, list);
|
|
37223
37312
|
}
|
|
37224
|
-
var div =
|
|
37313
|
+
var div = root_1114();
|
|
37225
37314
|
var node = $198.child(div);
|
|
37226
37315
|
{
|
|
37227
37316
|
var consequent = ($$anchor2) => {
|
|
@@ -37272,7 +37361,7 @@ function Property_editor($$anchor, $$props) {
|
|
|
37272
37361
|
$198.append($$anchor2, button);
|
|
37273
37362
|
};
|
|
37274
37363
|
var alternate = ($$anchor2) => {
|
|
37275
|
-
var fragment_2 =
|
|
37364
|
+
var fragment_2 = root_106();
|
|
37276
37365
|
var node_2 = $198.first_child(fragment_2);
|
|
37277
37366
|
{
|
|
37278
37367
|
var consequent_3 = ($$anchor3) => {
|
|
@@ -37614,7 +37703,7 @@ function Property_editor($$anchor, $$props) {
|
|
|
37614
37703
|
$198.reset(div_9);
|
|
37615
37704
|
$198.append($$anchor3, div_9);
|
|
37616
37705
|
};
|
|
37617
|
-
var
|
|
37706
|
+
var consequent_8 = ($$anchor3) => {
|
|
37618
37707
|
var div_10 = root_89();
|
|
37619
37708
|
var node_22 = $198.child(div_10);
|
|
37620
37709
|
Button(node_22, {
|
|
@@ -37628,36 +37717,6 @@ function Property_editor($$anchor, $$props) {
|
|
|
37628
37717
|
},
|
|
37629
37718
|
$$slots: { default: true }
|
|
37630
37719
|
});
|
|
37631
|
-
var node_23 = $198.sibling(node_22, 2);
|
|
37632
|
-
{
|
|
37633
|
-
var consequent_8 = ($$anchor4) => {
|
|
37634
|
-
{
|
|
37635
|
-
let $0 = $198.derived(() => `Preserved keys: ${$198.get(preservedKeys).join(", ")}`);
|
|
37636
|
-
Tooltip($$anchor4, {
|
|
37637
|
-
get text() {
|
|
37638
|
-
return $198.get($0);
|
|
37639
|
-
},
|
|
37640
|
-
children: ($$anchor5, $$slotProps) => {
|
|
37641
|
-
Badge($$anchor5, {
|
|
37642
|
-
variant: "info",
|
|
37643
|
-
children: ($$anchor6, $$slotProps2) => {
|
|
37644
|
-
$198.next();
|
|
37645
|
-
var text_9 = $198.text();
|
|
37646
|
-
$198.template_effect(() => $198.set_text(text_9, `+${$198.get(preservedKeys).length ?? ""} preserved`));
|
|
37647
|
-
$198.append($$anchor6, text_9);
|
|
37648
|
-
},
|
|
37649
|
-
$$slots: { default: true }
|
|
37650
|
-
});
|
|
37651
|
-
},
|
|
37652
|
-
$$slots: { default: true }
|
|
37653
|
-
});
|
|
37654
|
-
}
|
|
37655
|
-
};
|
|
37656
|
-
$198.if(node_23, ($$render) => {
|
|
37657
|
-
if ($198.get(preservedKeys).length > 0)
|
|
37658
|
-
$$render(consequent_8);
|
|
37659
|
-
});
|
|
37660
|
-
}
|
|
37661
37720
|
$198.reset(div_10);
|
|
37662
37721
|
$198.append($$anchor3, div_10);
|
|
37663
37722
|
};
|
|
@@ -37665,37 +37724,34 @@ function Property_editor($$anchor, $$props) {
|
|
|
37665
37724
|
if ($198.get(objectValue).$ref !== undefined)
|
|
37666
37725
|
$$render(consequent_7);
|
|
37667
37726
|
else if (!readonly())
|
|
37668
|
-
$$render(
|
|
37727
|
+
$$render(consequent_8, 1);
|
|
37669
37728
|
});
|
|
37670
37729
|
}
|
|
37671
|
-
var
|
|
37730
|
+
var node_23 = $198.sibling(node_19, 2);
|
|
37672
37731
|
{
|
|
37673
|
-
var
|
|
37674
|
-
|
|
37675
|
-
|
|
37676
|
-
|
|
37677
|
-
|
|
37678
|
-
|
|
37679
|
-
|
|
37680
|
-
|
|
37681
|
-
|
|
37682
|
-
|
|
37683
|
-
|
|
37684
|
-
|
|
37685
|
-
|
|
37686
|
-
|
|
37687
|
-
|
|
37688
|
-
|
|
37689
|
-
|
|
37690
|
-
|
|
37691
|
-
|
|
37692
|
-
$$slots: { default: true }
|
|
37693
|
-
});
|
|
37694
|
-
}
|
|
37732
|
+
var consequent_9 = ($$anchor3) => {
|
|
37733
|
+
var div_11 = root_97();
|
|
37734
|
+
var node_24 = $198.child(div_11);
|
|
37735
|
+
Badge(node_24, {
|
|
37736
|
+
variant: "info",
|
|
37737
|
+
children: ($$anchor4, $$slotProps) => {
|
|
37738
|
+
$198.next();
|
|
37739
|
+
var text_9 = $198.text();
|
|
37740
|
+
$198.template_effect(() => $198.set_text(text_9, `+${$198.get(preservedKeys).length ?? ""} preserved`));
|
|
37741
|
+
$198.append($$anchor4, text_9);
|
|
37742
|
+
},
|
|
37743
|
+
$$slots: { default: true }
|
|
37744
|
+
});
|
|
37745
|
+
var span_2 = $198.sibling(node_24, 2);
|
|
37746
|
+
var text_10 = $198.child(span_2);
|
|
37747
|
+
$198.reset(span_2);
|
|
37748
|
+
$198.reset(div_11);
|
|
37749
|
+
$198.template_effect(($0) => $198.set_text(text_10, `Preserved keywords: ${$0 ?? ""}`), [() => $198.get(preservedKeys).join(", ")]);
|
|
37750
|
+
$198.append($$anchor3, div_11);
|
|
37695
37751
|
};
|
|
37696
|
-
$198.if(
|
|
37697
|
-
if (
|
|
37698
|
-
$$render(
|
|
37752
|
+
$198.if(node_23, ($$render) => {
|
|
37753
|
+
if ($198.get(preservedKeys).length > 0)
|
|
37754
|
+
$$render(consequent_9);
|
|
37699
37755
|
});
|
|
37700
37756
|
}
|
|
37701
37757
|
$198.append($$anchor2, fragment_2);
|
|
@@ -37999,6 +38055,12 @@ function resolveDraft(draft) {
|
|
|
37999
38055
|
var loadAjv = createRetryingLoaderCache(() => import("ajv").then((module) => module.default));
|
|
38000
38056
|
var loadAjv2019 = createRetryingLoaderCache(() => import("ajv/dist/2019.js").then((module) => module.default));
|
|
38001
38057
|
var loadAjv2020 = createRetryingLoaderCache(() => import("ajv/dist/2020.js").then((module) => module.default));
|
|
38058
|
+
var loadAjvFormats = createRetryingLoaderCache(() => import("ajv-formats").then((module) => module.default));
|
|
38059
|
+
async function registerStandardFormats(ajv) {
|
|
38060
|
+
const formats = await loadAjvFormats();
|
|
38061
|
+
formats(ajv);
|
|
38062
|
+
return ajv;
|
|
38063
|
+
}
|
|
38002
38064
|
var metaAjv2020 = null;
|
|
38003
38065
|
var metaAjv2019 = null;
|
|
38004
38066
|
var metaAjv07 = null;
|
|
@@ -38073,13 +38135,13 @@ async function tryCompile(schema, draft) {
|
|
|
38073
38135
|
let ajv;
|
|
38074
38136
|
if (resolved === "2020-12") {
|
|
38075
38137
|
const Ajv2020Class = await loadAjv2020();
|
|
38076
|
-
ajv = new Ajv2020Class({ strict: false, addUsedSchema: false });
|
|
38138
|
+
ajv = await registerStandardFormats(new Ajv2020Class({ strict: false, addUsedSchema: false }));
|
|
38077
38139
|
} else if (resolved === "2019-09") {
|
|
38078
38140
|
const Ajv2019Class = await loadAjv2019();
|
|
38079
|
-
ajv = new Ajv2019Class({ strict: false, addUsedSchema: false });
|
|
38141
|
+
ajv = await registerStandardFormats(new Ajv2019Class({ strict: false, addUsedSchema: false }));
|
|
38080
38142
|
} else {
|
|
38081
38143
|
const AjvClass = await loadAjv();
|
|
38082
|
-
ajv = new AjvClass({ strict: false, addUsedSchema: false });
|
|
38144
|
+
ajv = await registerStandardFormats(new AjvClass({ strict: false, addUsedSchema: false }));
|
|
38083
38145
|
}
|
|
38084
38146
|
ajv.compile(schema);
|
|
38085
38147
|
return { ok: true };
|
|
@@ -38238,6 +38300,15 @@ var COMPILE_DEFER_BYTES = 1e5;
|
|
|
38238
38300
|
function serialise(value) {
|
|
38239
38301
|
return JSON.stringify(value, null, PRETTY_INDENT2);
|
|
38240
38302
|
}
|
|
38303
|
+
function createSchemaHistory(initial, maxDepth) {
|
|
38304
|
+
const options = {
|
|
38305
|
+
initial,
|
|
38306
|
+
equals: (left, right) => JSON.stringify(left) === JSON.stringify(right)
|
|
38307
|
+
};
|
|
38308
|
+
if (maxDepth !== undefined)
|
|
38309
|
+
options.maxDepth = maxDepth;
|
|
38310
|
+
return useHistory(options);
|
|
38311
|
+
}
|
|
38241
38312
|
function isPlainRecord(value) {
|
|
38242
38313
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
38243
38314
|
}
|
|
@@ -38433,10 +38504,7 @@ function createEditorState(options) {
|
|
|
38433
38504
|
$201.set(originalLoadError, baselineResult.error, true);
|
|
38434
38505
|
}
|
|
38435
38506
|
if (schemaResult.ok) {
|
|
38436
|
-
|
|
38437
|
-
if (options.maxHistory !== undefined)
|
|
38438
|
-
useHistoryOptions.maxDepth = options.maxHistory;
|
|
38439
|
-
$201.set(history2, useHistory(useHistoryOptions), true);
|
|
38507
|
+
$201.set(history2, createSchemaHistory(schemaResult.schema, options.maxHistory), true);
|
|
38440
38508
|
$201.set(jsonDraftText, schemaResult.canonicalText, true);
|
|
38441
38509
|
} else {
|
|
38442
38510
|
$201.set(history2, null);
|
|
@@ -38459,6 +38527,11 @@ function createEditorState(options) {
|
|
|
38459
38527
|
return $201.get(originalRawText).length > 0;
|
|
38460
38528
|
return stableSerialise($201.get(originalSchema)) !== stableSerialise($201.get(committedSchema));
|
|
38461
38529
|
});
|
|
38530
|
+
const hasDiffChanges = $201.derived(() => {
|
|
38531
|
+
if ($201.get(originalSchema) === null && $201.get(committedSchema) === null)
|
|
38532
|
+
return false;
|
|
38533
|
+
return ($201.get(originalCanonicalText) || $201.get(originalRawText)) !== $201.get(committedCanonicalText);
|
|
38534
|
+
});
|
|
38462
38535
|
const isFormEditable = $201.derived(() => $201.get(committedSchema) !== null && !$201.get(readonly) && !$201.get(jsonDraftIsDirty));
|
|
38463
38536
|
return {
|
|
38464
38537
|
get view() {
|
|
@@ -38497,6 +38570,9 @@ function createEditorState(options) {
|
|
|
38497
38570
|
get hasChanges() {
|
|
38498
38571
|
return $201.get(hasChanges);
|
|
38499
38572
|
},
|
|
38573
|
+
get hasDiffChanges() {
|
|
38574
|
+
return $201.get(hasDiffChanges);
|
|
38575
|
+
},
|
|
38500
38576
|
get isFormEditable() {
|
|
38501
38577
|
return $201.get(isFormEditable);
|
|
38502
38578
|
},
|
|
@@ -38564,10 +38640,7 @@ function createEditorState(options) {
|
|
|
38564
38640
|
if ($201.get(history2)) {
|
|
38565
38641
|
$201.get(history2).commit(schema, { label: "apply JSON" });
|
|
38566
38642
|
} else {
|
|
38567
|
-
|
|
38568
|
-
if (options.maxHistory !== undefined)
|
|
38569
|
-
applyOptions.maxDepth = options.maxHistory;
|
|
38570
|
-
$201.set(history2, useHistory(applyOptions), true);
|
|
38643
|
+
$201.set(history2, createSchemaHistory(schema, options.maxHistory), true);
|
|
38571
38644
|
}
|
|
38572
38645
|
$201.set(jsonDraftText, serialise($201.get(history2).current), true);
|
|
38573
38646
|
$201.set(metaResult, meta, true);
|
|
@@ -38617,10 +38690,7 @@ function createEditorState(options) {
|
|
|
38617
38690
|
if ($201.get(readonly))
|
|
38618
38691
|
return;
|
|
38619
38692
|
if ($201.get(originalSchema) !== null) {
|
|
38620
|
-
|
|
38621
|
-
if (options.maxHistory !== undefined)
|
|
38622
|
-
revertOptions.maxDepth = options.maxHistory;
|
|
38623
|
-
$201.set(history2, useHistory(revertOptions), true);
|
|
38693
|
+
$201.set(history2, createSchemaHistory($201.get(originalSchema), options.maxHistory), true);
|
|
38624
38694
|
$201.set(jsonDraftText, $201.get(originalCanonicalText), true);
|
|
38625
38695
|
emitChange();
|
|
38626
38696
|
const epoch = beginValidationCycle();
|
|
@@ -38695,7 +38765,7 @@ function Json_schema_toolbar($$anchor, $$props) {
|
|
|
38695
38765
|
$202.user_effect(() => {
|
|
38696
38766
|
$$props.state.canUndo;
|
|
38697
38767
|
$$props.state.canRedo;
|
|
38698
|
-
$$props.state.
|
|
38768
|
+
$$props.state.hasDiffChanges;
|
|
38699
38769
|
$$props.state.readonly;
|
|
38700
38770
|
$$props.state.copyValue;
|
|
38701
38771
|
const currentRovingIndex = $202.get(rovingIndex);
|
|
@@ -38840,7 +38910,7 @@ function Json_schema_toolbar($$anchor, $$props) {
|
|
|
38840
38910
|
}
|
|
38841
38911
|
var node_5 = $202.sibling(node_4, 2);
|
|
38842
38912
|
{
|
|
38843
|
-
let $0 = $202.derived(() => !$$props.state.
|
|
38913
|
+
let $0 = $202.derived(() => !$$props.state.hasDiffChanges || $$props.state.readonly);
|
|
38844
38914
|
Button(node_5, {
|
|
38845
38915
|
variant: "secondary",
|
|
38846
38916
|
size: "sm",
|
|
@@ -39386,7 +39456,7 @@ function Json_schema_editor_impl($$anchor, $$props) {
|
|
|
39386
39456
|
});
|
|
39387
39457
|
};
|
|
39388
39458
|
$205.if(node_6, ($$render) => {
|
|
39389
|
-
if (editorState.
|
|
39459
|
+
if (editorState.hasDiffChanges)
|
|
39390
39460
|
$$render(consequent);
|
|
39391
39461
|
});
|
|
39392
39462
|
}
|
|
@@ -39405,7 +39475,7 @@ function Json_schema_editor_impl($$anchor, $$props) {
|
|
|
39405
39475
|
$205.append($$anchor5, span);
|
|
39406
39476
|
};
|
|
39407
39477
|
$205.if(node_7, ($$render) => {
|
|
39408
|
-
if (editorState.
|
|
39478
|
+
if (editorState.hasDiffChanges)
|
|
39409
39479
|
$$render(consequent_1);
|
|
39410
39480
|
});
|
|
39411
39481
|
}
|
|
@@ -39511,7 +39581,7 @@ import"@lostgradient/cinder/invocation-rule-builder/styles";
|
|
|
39511
39581
|
// src/components/invocation-rule-builder/invocation-rule-builder.svelte
|
|
39512
39582
|
import"svelte/internal/disclose-version";
|
|
39513
39583
|
import * as $207 from "svelte/internal/client";
|
|
39514
|
-
import { tick as
|
|
39584
|
+
import { tick as tick15 } from "svelte";
|
|
39515
39585
|
var rest_excludes84 = new Set([
|
|
39516
39586
|
"$$slots",
|
|
39517
39587
|
"$$events",
|
|
@@ -39543,7 +39613,7 @@ var root_713 = $207.from_html(`<div class="cinder-invocation-rule-builder__summa
|
|
|
39543
39613
|
var root_810 = $207.from_html(`<div class="cinder-invocation-rule-builder__summary"><!></div>`);
|
|
39544
39614
|
var root_98 = $207.from_html(`<option> </option>`);
|
|
39545
39615
|
var root_107 = $207.from_html(`<select class="cinder-invocation-rule-builder__condition-select"></select>`);
|
|
39546
|
-
var
|
|
39616
|
+
var root_1115 = $207.from_html(`<input type="number" class="cinder-invocation-rule-builder__condition-value" placeholder="Value to compare"/>`);
|
|
39547
39617
|
var root_1213 = $207.from_html(`<input type="checkbox" class="cinder-invocation-rule-builder__condition-value-checkbox"/>`);
|
|
39548
39618
|
var root_136 = $207.from_html(`<select class="cinder-invocation-rule-builder__condition-select cinder-invocation-rule-builder__condition-value-select"></select>`);
|
|
39549
39619
|
var root_145 = $207.from_html(`<input type="text" class="cinder-invocation-rule-builder__condition-value" placeholder="Value to compare"/>`);
|
|
@@ -39647,7 +39717,7 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
39647
39717
|
let ruleLabelDrafts = $207.state($207.proxy({}));
|
|
39648
39718
|
function announce(message) {
|
|
39649
39719
|
$207.set(announcement, "");
|
|
39650
|
-
|
|
39720
|
+
tick15().then(() => {
|
|
39651
39721
|
$207.set(announcement, message, true);
|
|
39652
39722
|
});
|
|
39653
39723
|
}
|
|
@@ -39677,7 +39747,7 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
39677
39747
|
const change = { type: "remove-rule", ruleId };
|
|
39678
39748
|
emitChange(nextRules, change);
|
|
39679
39749
|
announce(`${ruleLabel} removed.`);
|
|
39680
|
-
|
|
39750
|
+
tick15().then(() => {
|
|
39681
39751
|
const targetIndex = ruleIndex > 0 ? ruleIndex - 1 : 0;
|
|
39682
39752
|
const ruleElements = document.querySelectorAll(`[data-irb-region="${baseId}"] [data-irb-rule-remove]`);
|
|
39683
39753
|
const targetButton = ruleElements[targetIndex] ?? document.querySelector(`[data-irb-region="${baseId}"] [data-irb-add-rule]`);
|
|
@@ -39739,7 +39809,7 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
39739
39809
|
const change = { type: "remove-condition", ruleId, conditionId };
|
|
39740
39810
|
emitChange(nextRules, change);
|
|
39741
39811
|
announce("Condition removed.");
|
|
39742
|
-
|
|
39812
|
+
tick15().then(() => {
|
|
39743
39813
|
const ruleEl = document.querySelector(`[data-irb-region="${baseId}"] [data-irb-rule="${ruleIndex}"]`);
|
|
39744
39814
|
const removeButtons = ruleEl?.querySelectorAll("[data-irb-condition-remove]");
|
|
39745
39815
|
const addBtn = ruleEl?.querySelector("[data-irb-add-condition]");
|
|
@@ -39778,12 +39848,12 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
39778
39848
|
function handleRemoveAction(ruleId, actionId, actionIndex, ruleIndex) {
|
|
39779
39849
|
const nextRules = updateRules(ruleId, (rule) => ({
|
|
39780
39850
|
...rule,
|
|
39781
|
-
actions: rule.actions.filter((
|
|
39851
|
+
actions: rule.actions.filter((action3) => action3.id !== actionId)
|
|
39782
39852
|
}));
|
|
39783
39853
|
const change = { type: "remove-action", ruleId, actionId };
|
|
39784
39854
|
emitChange(nextRules, change);
|
|
39785
39855
|
announce("Action removed.");
|
|
39786
|
-
|
|
39856
|
+
tick15().then(() => {
|
|
39787
39857
|
const ruleEl = document.querySelector(`[data-irb-region="${baseId}"] [data-irb-rule="${ruleIndex}"]`);
|
|
39788
39858
|
const removeButtons = ruleEl?.querySelectorAll("[data-irb-action-remove]");
|
|
39789
39859
|
const addBtn = ruleEl?.querySelector("[data-irb-add-action]");
|
|
@@ -39794,7 +39864,7 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
39794
39864
|
function handleUpdateAction(ruleId, actionId, target) {
|
|
39795
39865
|
const nextRules = updateRules(ruleId, (rule) => ({
|
|
39796
39866
|
...rule,
|
|
39797
|
-
actions: rule.actions.map((
|
|
39867
|
+
actions: rule.actions.map((action3) => action3.id === actionId ? { ...action3, target } : action3)
|
|
39798
39868
|
}));
|
|
39799
39869
|
const change = { type: "update-action", ruleId, actionId };
|
|
39800
39870
|
emitChange(nextRules, change);
|
|
@@ -39812,8 +39882,8 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
39812
39882
|
function conditionSummary(condition) {
|
|
39813
39883
|
return `${fieldLabel(condition.field)} ${operatorLabel(condition.operator)} "${condition.value}"`;
|
|
39814
39884
|
}
|
|
39815
|
-
function actionSummary(
|
|
39816
|
-
return `Invoke ${actionTargetLabel(
|
|
39885
|
+
function actionSummary(action3) {
|
|
39886
|
+
return `Invoke ${actionTargetLabel(action3.target)}`;
|
|
39817
39887
|
}
|
|
39818
39888
|
var fragment = root_2510();
|
|
39819
39889
|
var section = $207.first_child(fragment);
|
|
@@ -40047,7 +40117,7 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
40047
40117
|
var node_9 = $207.sibling(select_1, 2);
|
|
40048
40118
|
{
|
|
40049
40119
|
var consequent_7 = ($$anchor5) => {
|
|
40050
|
-
var input_1 =
|
|
40120
|
+
var input_1 = root_1115();
|
|
40051
40121
|
$207.remove_input_defaults(input_1);
|
|
40052
40122
|
$207.template_effect(() => {
|
|
40053
40123
|
$207.set_attribute(input_1, "aria-label", `Value for condition ${$207.get(conditionIndex) + 1} of ${$207.get(rule).label}`);
|
|
@@ -40181,11 +40251,11 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
40181
40251
|
var alternate_6 = ($$anchor5) => {
|
|
40182
40252
|
var fragment_4 = $207.comment();
|
|
40183
40253
|
var node_15 = $207.first_child(fragment_4);
|
|
40184
|
-
$207.each(node_15, 17, () => $207.get(rule).actions, (
|
|
40254
|
+
$207.each(node_15, 17, () => $207.get(rule).actions, (action3) => action3.id, ($$anchor6, action3) => {
|
|
40185
40255
|
var div_10 = root_713();
|
|
40186
40256
|
var text_8 = $207.child(div_10, true);
|
|
40187
40257
|
$207.reset(div_10);
|
|
40188
|
-
$207.template_effect(($0) => $207.set_text(text_8, $0), [() => actionSummary($207.get(
|
|
40258
|
+
$207.template_effect(($0) => $207.set_text(text_8, $0), [() => actionSummary($207.get(action3))]);
|
|
40189
40259
|
$207.append($$anchor6, div_10);
|
|
40190
40260
|
});
|
|
40191
40261
|
$207.append($$anchor5, fragment_4);
|
|
@@ -40204,7 +40274,7 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
40204
40274
|
var alternate_7 = ($$anchor4) => {
|
|
40205
40275
|
var fragment_5 = root_20();
|
|
40206
40276
|
var div_11 = $207.first_child(fragment_5);
|
|
40207
|
-
$207.each(div_11, 23, () => $207.get(rule).actions, (
|
|
40277
|
+
$207.each(div_11, 23, () => $207.get(rule).actions, (action3) => action3.id, ($$anchor5, action3, actionIndex) => {
|
|
40208
40278
|
var div_12 = root_194();
|
|
40209
40279
|
var select_3 = $207.child(div_12);
|
|
40210
40280
|
$207.each(select_3, 21, () => $207.get(resolvedActionOptions), (option) => option.value, ($$anchor6, option) => {
|
|
@@ -40227,13 +40297,13 @@ function Invocation_rule_builder($$anchor, $$props) {
|
|
|
40227
40297
|
$207.reset(div_12);
|
|
40228
40298
|
$207.template_effect(() => {
|
|
40229
40299
|
$207.set_attribute(select_3, "aria-label", `Action ${$207.get(actionIndex) + 1} target for ${$207.get(rule).label}`);
|
|
40230
|
-
if (select_3_value !== (select_3_value = $207.get(
|
|
40231
|
-
select_3.value = (select_3.__value = $207.get(
|
|
40300
|
+
if (select_3_value !== (select_3_value = $207.get(action3).target)) {
|
|
40301
|
+
select_3.value = (select_3.__value = $207.get(action3).target) ?? "", $207.select_option(select_3, $207.get(action3).target);
|
|
40232
40302
|
}
|
|
40233
40303
|
$207.set_attribute(button_5, "aria-label", `Remove action ${$207.get(actionIndex) + 1} of ${$207.get(rule).label}`);
|
|
40234
40304
|
});
|
|
40235
|
-
$207.delegated("change", select_3, (event17) => handleUpdateAction($207.get(rule).id, $207.get(
|
|
40236
|
-
$207.delegated("click", button_5, () => handleRemoveAction($207.get(rule).id, $207.get(
|
|
40305
|
+
$207.delegated("change", select_3, (event17) => handleUpdateAction($207.get(rule).id, $207.get(action3).id, event17.target.value));
|
|
40306
|
+
$207.delegated("click", button_5, () => handleRemoveAction($207.get(rule).id, $207.get(action3).id, $207.get(actionIndex), $207.get(ruleIndex)));
|
|
40237
40307
|
$207.append($$anchor5, div_12);
|
|
40238
40308
|
});
|
|
40239
40309
|
$207.reset(div_11);
|
|
@@ -41905,7 +41975,7 @@ var rest_excludes87 = new Set([
|
|
|
41905
41975
|
"class"
|
|
41906
41976
|
]);
|
|
41907
41977
|
var root114 = $214.from_html(`<h2 class="cinder-keyboard-shortcuts__heading"> </h2>`);
|
|
41908
|
-
var
|
|
41978
|
+
var root_1116 = $214.from_html(`<div class="cinder-keyboard-shortcuts__intro"><!></div>`);
|
|
41909
41979
|
var root_270 = $214.from_html(`<span class="cinder-keyboard-shortcuts__separator">+</span>`);
|
|
41910
41980
|
var root_352 = $214.from_html(`<!> <!>`, 1);
|
|
41911
41981
|
var root_433 = $214.from_html(`<div class="cinder-keyboard-shortcuts__row"><dt class="cinder-keyboard-shortcuts__action"> </dt> <dd class="cinder-keyboard-shortcuts__keys"><span class="cinder-sr-only"> </span> <span aria-hidden="true" class="cinder-keyboard-shortcuts__keys-visual"></span></dd></div>`);
|
|
@@ -41940,7 +42010,7 @@ function Keyboard_shortcuts($$anchor, $$props) {
|
|
|
41940
42010
|
var node_1 = $214.sibling(node, 2);
|
|
41941
42011
|
{
|
|
41942
42012
|
var consequent_1 = ($$anchor2) => {
|
|
41943
|
-
var div_1 =
|
|
42013
|
+
var div_1 = root_1116();
|
|
41944
42014
|
var node_2 = $214.child(div_1);
|
|
41945
42015
|
$214.snippet(node_2, () => $$props.children);
|
|
41946
42016
|
$214.reset(div_1);
|
|
@@ -42037,11 +42107,11 @@ var rest_excludes88 = new Set([
|
|
|
42037
42107
|
"children"
|
|
42038
42108
|
]);
|
|
42039
42109
|
var root115 = $215.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
|
|
42040
|
-
var
|
|
42110
|
+
var root_1118 = $215.from_html(`<label><!> <!></label>`);
|
|
42041
42111
|
function Label($$anchor, $$props) {
|
|
42042
42112
|
$215.push($$props, true);
|
|
42043
42113
|
let required = $215.prop($$props, "required", 3, false), disabled = $215.prop($$props, "disabled", 3, false), rest = $215.rest_props($$props, rest_excludes88);
|
|
42044
|
-
var label =
|
|
42114
|
+
var label = root_1118();
|
|
42045
42115
|
$215.attribute_effect(label, ($0) => ({
|
|
42046
42116
|
for: $$props.for,
|
|
42047
42117
|
class: $0,
|
|
@@ -42090,7 +42160,7 @@ var rest_excludes89 = new Set([
|
|
|
42090
42160
|
"children"
|
|
42091
42161
|
]);
|
|
42092
42162
|
var root116 = $216.from_html(`<span><!></span>`);
|
|
42093
|
-
var
|
|
42163
|
+
var root_1119 = $216.from_html(`<a><!></a>`);
|
|
42094
42164
|
function Link2($$anchor, $$props) {
|
|
42095
42165
|
$216.push($$props, true);
|
|
42096
42166
|
let underline = $216.prop($$props, "underline", 3, "hover"), color = $216.prop($$props, "color", 3, "primary"), external = $216.prop($$props, "external", 3, false), disabled = $216.prop($$props, "disabled", 3, false), rest = $216.rest_props($$props, rest_excludes89);
|
|
@@ -42141,7 +42211,7 @@ function Link2($$anchor, $$props) {
|
|
|
42141
42211
|
$216.append($$anchor2, span);
|
|
42142
42212
|
};
|
|
42143
42213
|
var alternate = ($$anchor2) => {
|
|
42144
|
-
var a =
|
|
42214
|
+
var a = root_1119();
|
|
42145
42215
|
$216.attribute_effect(a, () => ({
|
|
42146
42216
|
...rest,
|
|
42147
42217
|
href: $$props.href,
|
|
@@ -42203,7 +42273,7 @@ var rest_excludes90 = new Set([
|
|
|
42203
42273
|
"id"
|
|
42204
42274
|
]);
|
|
42205
42275
|
var root117 = $217.from_html(`<p class="cinder-line-chart__description"> </p>`);
|
|
42206
|
-
var
|
|
42276
|
+
var root_1120 = $217.from_html(`<button type="button"><span></span> </button>`);
|
|
42207
42277
|
var root_271 = $217.from_html(`<div class="cinder-line-chart__legend" aria-label="Series"></div>`);
|
|
42208
42278
|
var root_353 = $217.from_html(`<div class="cinder-line-chart__state"><!></div>`);
|
|
42209
42279
|
var root_434 = $217.from_svg(`<line class="cinder-line-chart__gridline" x1="0" aria-hidden="true"></line><text class="cinder-line-chart__tick-label" x="-8" text-anchor="end" dominant-baseline="middle"> </text>`, 1);
|
|
@@ -42213,7 +42283,7 @@ var root_715 = $217.from_svg(`<text class="cinder-line-chart__axis-title" text-a
|
|
|
42213
42283
|
var root_812 = $217.from_svg(`<circle class="cinder-line-chart__point" r="3" aria-hidden="true"></circle>`);
|
|
42214
42284
|
var root_910 = $217.from_svg(`<path class="cinder-line-chart__line" aria-hidden="true"></path><!>`, 1);
|
|
42215
42285
|
var root_108 = $217.from_svg(`<line class="cinder-line-chart__crosshair" y1="0" aria-hidden="true"></line>`);
|
|
42216
|
-
var
|
|
42286
|
+
var root_1117 = $217.from_svg(`<circle class="cinder-line-chart__focus-target" r="8" tabindex="0" role="button"></circle>`);
|
|
42217
42287
|
var root_1214 = $217.from_svg(`<rect class="cinder-line-chart__hit-surface" role="presentation"></rect><!>`, 1);
|
|
42218
42288
|
var root_1310 = $217.from_svg(`<path class="cinder-line-chart__focus-ring-connector cinder-line-chart__focus-ring-halo"></path><path class="cinder-line-chart__focus-ring-connector cinder-line-chart__focus-ring"></path><circle class="cinder-line-chart__focus-ring-dot cinder-line-chart__focus-ring-halo"></circle><circle class="cinder-line-chart__focus-ring-dot cinder-line-chart__focus-ring"></circle>`, 1);
|
|
42219
42289
|
var root_1410 = $217.from_svg(`<circle class="cinder-line-chart__focus-ring-halo"></circle><circle class="cinder-line-chart__focus-ring"></circle><!>`, 1);
|
|
@@ -42339,7 +42409,7 @@ function Line_chart($$anchor, $$props) {
|
|
|
42339
42409
|
var consequent_1 = ($$anchor2) => {
|
|
42340
42410
|
var div = root_271();
|
|
42341
42411
|
$217.each(div, 23, () => $$props.series, (item) => item.id, ($$anchor3, item, index4) => {
|
|
42342
|
-
var button =
|
|
42412
|
+
var button = root_1120();
|
|
42343
42413
|
var span = $217.child(button);
|
|
42344
42414
|
let styles;
|
|
42345
42415
|
var text_1 = $217.sibling(span, 1, true);
|
|
@@ -42435,8 +42505,8 @@ function Line_chart($$anchor, $$props) {
|
|
|
42435
42505
|
$217.reset(title);
|
|
42436
42506
|
var g = $217.sibling(title);
|
|
42437
42507
|
var node_8 = $217.child(g);
|
|
42438
|
-
$217.each(node_8, 18, () => $217.get(model).yTicks, (
|
|
42439
|
-
const tickY = $217.derived(() => $217.get(model).geometry.plotHeight - (
|
|
42508
|
+
$217.each(node_8, 18, () => $217.get(model).yTicks, (tick16) => tick16, ($$anchor3, tick16, index4) => {
|
|
42509
|
+
const tickY = $217.derived(() => $217.get(model).geometry.plotHeight - (tick16 - $217.get(model).yDomain[0]) / ($217.get(model).yDomain[1] - $217.get(model).yDomain[0]) * $217.get(model).geometry.plotHeight);
|
|
42440
42510
|
var fragment_3 = root_434();
|
|
42441
42511
|
var line = $217.first_child(fragment_3);
|
|
42442
42512
|
var text_5 = $217.sibling(line);
|
|
@@ -42449,7 +42519,7 @@ function Line_chart($$anchor, $$props) {
|
|
|
42449
42519
|
$217.set_attribute(text_5, "y", $217.get(tickY));
|
|
42450
42520
|
$217.set_text(text_6, $0);
|
|
42451
42521
|
}, [
|
|
42452
|
-
() => formatNumericValue(
|
|
42522
|
+
() => formatNumericValue(tick16, $$props.yAxis, undefined, { index: $217.get(index4) })
|
|
42453
42523
|
]);
|
|
42454
42524
|
$217.append($$anchor3, fragment_3);
|
|
42455
42525
|
});
|
|
@@ -42472,15 +42542,15 @@ function Line_chart($$anchor, $$props) {
|
|
|
42472
42542
|
});
|
|
42473
42543
|
}
|
|
42474
42544
|
var node_10 = $217.sibling(node_9);
|
|
42475
|
-
$217.each(node_10, 17, () => $217.get(model).xTicks, (
|
|
42545
|
+
$217.each(node_10, 17, () => $217.get(model).xTicks, (tick16) => tick16.label, ($$anchor3, tick16) => {
|
|
42476
42546
|
var text_9 = root_618();
|
|
42477
42547
|
var text_10 = $217.child(text_9, true);
|
|
42478
42548
|
$217.reset(text_9);
|
|
42479
42549
|
$217.template_effect(() => {
|
|
42480
|
-
$217.set_attribute(text_9, "x", $217.get(
|
|
42550
|
+
$217.set_attribute(text_9, "x", $217.get(tick16).x);
|
|
42481
42551
|
$217.set_attribute(text_9, "y", $217.get(model).geometry.plotHeight + 20);
|
|
42482
|
-
$217.set_attribute(text_9, "transform", $$props.xAxis?.tickLabelRotation ? `rotate(${$$props.xAxis.tickLabelRotation} ${$217.get(
|
|
42483
|
-
$217.set_text(text_10, $217.get(
|
|
42552
|
+
$217.set_attribute(text_9, "transform", $$props.xAxis?.tickLabelRotation ? `rotate(${$$props.xAxis.tickLabelRotation} ${$217.get(tick16).x} ${$217.get(model).geometry.plotHeight + 20})` : undefined);
|
|
42553
|
+
$217.set_text(text_10, $217.get(tick16).label);
|
|
42484
42554
|
});
|
|
42485
42555
|
$217.append($$anchor3, text_9);
|
|
42486
42556
|
});
|
|
@@ -42626,7 +42696,7 @@ function Line_chart($$anchor, $$props) {
|
|
|
42626
42696
|
var fragment_13 = $217.comment();
|
|
42627
42697
|
var node_24 = $217.first_child(fragment_13);
|
|
42628
42698
|
$217.each(node_24, 17, () => $217.get(model).targets, (target) => target.id, ($$anchor5, target) => {
|
|
42629
|
-
var circle_1 =
|
|
42699
|
+
var circle_1 = root_1117();
|
|
42630
42700
|
$217.template_effect(() => {
|
|
42631
42701
|
$217.set_attribute(circle_1, "cx", $217.get(target).x);
|
|
42632
42702
|
$217.set_attribute(circle_1, "cy", $217.get(target).y);
|
|
@@ -42830,7 +42900,7 @@ function Line_chart($$anchor, $$props) {
|
|
|
42830
42900
|
var consequent_23 = ($$anchor2) => {
|
|
42831
42901
|
var div_4 = root_271();
|
|
42832
42902
|
$217.each(div_4, 23, () => $$props.series, (item) => item.id, ($$anchor3, item, index4) => {
|
|
42833
|
-
var button_1 =
|
|
42903
|
+
var button_1 = root_1120();
|
|
42834
42904
|
var span_1 = $217.child(button_1);
|
|
42835
42905
|
let styles_2;
|
|
42836
42906
|
var text_13 = $217.sibling(span_1, 1, true);
|
|
@@ -42949,7 +43019,7 @@ function useIntersection(onIntersect, options = {}) {
|
|
|
42949
43019
|
}
|
|
42950
43020
|
|
|
42951
43021
|
// src/components/load-more/load-more.svelte
|
|
42952
|
-
var
|
|
43022
|
+
var root_1121 = $220.from_html(`<div aria-hidden="true" class="cinder-load-more__sentinel"></div>`);
|
|
42953
43023
|
var root_272 = $220.from_html(`<span class="cinder-load-more__spinner" aria-hidden="true"></span>`);
|
|
42954
43024
|
var root_354 = $220.from_html(`<button type="button" class="cinder-load-more__button"><span> </span> <!></button>`);
|
|
42955
43025
|
var root_435 = $220.from_html(`<div><!> <!> <!></div>`);
|
|
@@ -43062,7 +43132,7 @@ function Load_more($$anchor, $$props) {
|
|
|
43062
43132
|
var node = $220.child(div);
|
|
43063
43133
|
{
|
|
43064
43134
|
var consequent = ($$anchor2) => {
|
|
43065
|
-
var div_1 =
|
|
43135
|
+
var div_1 = root_1121();
|
|
43066
43136
|
$220.attach(div_1, () => sentinelIntersection);
|
|
43067
43137
|
$220.append($$anchor2, div_1);
|
|
43068
43138
|
};
|
|
@@ -43140,7 +43210,7 @@ var rest_excludes91 = new Set([
|
|
|
43140
43210
|
"class",
|
|
43141
43211
|
"children"
|
|
43142
43212
|
]);
|
|
43143
|
-
var
|
|
43213
|
+
var root_1122 = $221.from_html(`<div><div class="cinder-marquee__viewport" role="group" tabindex="0"><button type="button" class="cinder-marquee__control"> </button> <div class="cinder-marquee__track"><div class="cinder-marquee__item"><!></div> <div class="cinder-marquee__item" aria-hidden="true" inert=""></div></div></div></div>`);
|
|
43144
43214
|
function Marquee($$anchor, $$props) {
|
|
43145
43215
|
$221.push($$props, true);
|
|
43146
43216
|
let direction = $221.prop($$props, "direction", 3, "horizontal"), duration = $221.prop($$props, "duration", 3, "24s"), gap = $221.prop($$props, "gap", 3, "1.5rem"), pauseOnHover = $221.prop($$props, "pauseOnHover", 3, true), pauseOnFocus = $221.prop($$props, "pauseOnFocus", 3, true), rest = $221.rest_props($$props, rest_excludes91);
|
|
@@ -43308,7 +43378,7 @@ function Marquee($$anchor, $$props) {
|
|
|
43308
43378
|
}
|
|
43309
43379
|
};
|
|
43310
43380
|
});
|
|
43311
|
-
var div =
|
|
43381
|
+
var div = root_1122();
|
|
43312
43382
|
$221.attribute_effect(div, () => ({
|
|
43313
43383
|
...rest,
|
|
43314
43384
|
class: $221.get(mergedClassName),
|
|
@@ -43379,7 +43449,7 @@ var rest_excludes92 = new Set([
|
|
|
43379
43449
|
"class"
|
|
43380
43450
|
]);
|
|
43381
43451
|
var root118 = $222.from_html(`<span class="cinder-media-controls__label">Loading</span>`);
|
|
43382
|
-
var
|
|
43452
|
+
var root_1123 = $222.from_html(`<span class="cinder-media-controls__icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-media-controls__svg cinder-media-controls__svg--loading"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg></span> <!>`, 1);
|
|
43383
43453
|
var root_273 = $222.from_html(`<span class="cinder-media-controls__label">Unavailable</span>`);
|
|
43384
43454
|
var root_355 = $222.from_html(`<span class="cinder-media-controls__icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-media-controls__svg"><circle cx="12" cy="12" r="10"></circle><line x1="4.93" y1="4.93" x2="19.07" y2="19.07"></line></svg></span> <!>`, 1);
|
|
43385
43455
|
var root_436 = $222.from_html(`<span class="cinder-media-controls__label">Replay</span>`);
|
|
@@ -43389,7 +43459,7 @@ var root_716 = $222.from_html(`<span class="cinder-media-controls__icon" aria-hi
|
|
|
43389
43459
|
var root_813 = $222.from_html(`<span class="cinder-media-controls__label">Play</span>`);
|
|
43390
43460
|
var root_911 = $222.from_html(`<span class="cinder-media-controls__icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="cinder-media-controls__svg"><polygon points="5,3 19,12 5,21"></polygon></svg></span> <!>`, 1);
|
|
43391
43461
|
var root_109 = $222.from_html(`<div class="cinder-media-controls__progress" role="progressbar"><div class="cinder-media-controls__progress-track"><div class="cinder-media-controls__progress-fill"></div></div></div>`);
|
|
43392
|
-
var
|
|
43462
|
+
var root_1124 = $222.from_html(`<div><button type="button" class="cinder-media-controls__button"><!></button> <!></div> <!>`, 1);
|
|
43393
43463
|
function Media_controls($$anchor, $$props) {
|
|
43394
43464
|
$222.push($$props, true);
|
|
43395
43465
|
let playing = $222.prop($$props, "playing", 3, false), replay = $222.prop($$props, "replay", 3, false), disabled = $222.prop($$props, "disabled", 3, false), loading = $222.prop($$props, "loading", 3, false), unavailable = $222.prop($$props, "unavailable", 3, false), progressLabel = $222.prop($$props, "progressLabel", 3, "Playback progress"), layout = $222.prop($$props, "layout", 3, "compact"), rest = $222.rest_props($$props, rest_excludes92);
|
|
@@ -43429,7 +43499,7 @@ function Media_controls($$anchor, $$props) {
|
|
|
43429
43499
|
const isToggle = $222.derived(() => !loading() && !unavailable() && !replay());
|
|
43430
43500
|
const primaryLabel = $222.derived(() => loading() ? "Loading playback controls" : unavailable() ? "Playback unavailable" : replay() ? "Replay" : "Play or pause");
|
|
43431
43501
|
const primaryPressed = $222.derived(() => $222.get(isToggle) ? playing() ? "true" : "false" : undefined);
|
|
43432
|
-
var fragment =
|
|
43502
|
+
var fragment = root_1124();
|
|
43433
43503
|
var div = $222.first_child(fragment);
|
|
43434
43504
|
$222.attribute_effect(div, ($0) => ({
|
|
43435
43505
|
...rest,
|
|
@@ -43443,7 +43513,7 @@ function Media_controls($$anchor, $$props) {
|
|
|
43443
43513
|
var node = $222.child(button);
|
|
43444
43514
|
{
|
|
43445
43515
|
var consequent_1 = ($$anchor2) => {
|
|
43446
|
-
var fragment_1 =
|
|
43516
|
+
var fragment_1 = root_1123();
|
|
43447
43517
|
var node_1 = $222.sibling($222.first_child(fragment_1), 2);
|
|
43448
43518
|
{
|
|
43449
43519
|
var consequent = ($$anchor3) => {
|
|
@@ -43583,14 +43653,14 @@ import"@lostgradient/cinder/mega-menu/styles";
|
|
|
43583
43653
|
// src/components/mega-menu/mega-menu.svelte
|
|
43584
43654
|
import"svelte/internal/disclose-version";
|
|
43585
43655
|
import * as $224 from "svelte/internal/client";
|
|
43586
|
-
import { tick as
|
|
43656
|
+
import { tick as tick17 } from "svelte";
|
|
43587
43657
|
|
|
43588
43658
|
// src/components/mega-menu/mega-menu-content.svelte
|
|
43589
43659
|
import"svelte/internal/disclose-version";
|
|
43590
43660
|
import * as $223 from "svelte/internal/client";
|
|
43591
|
-
import { tick as
|
|
43661
|
+
import { tick as tick16 } from "svelte";
|
|
43592
43662
|
var root119 = $223.from_html(`<h3 class="cinder-mega-menu__section-title"> </h3>`);
|
|
43593
|
-
var
|
|
43663
|
+
var root_1125 = $223.from_html(`<span class="cinder-mega-menu__link-description"> </span>`);
|
|
43594
43664
|
var root_274 = $223.from_html(`<li><a class="cinder-mega-menu__link"><span> </span> <!></a></li>`);
|
|
43595
43665
|
var root_356 = $223.from_html(`<section><!> <ul class="cinder-mega-menu__links"></ul></section>`);
|
|
43596
43666
|
var root_437 = $223.from_html(`<li><button type="button" class="cinder-mega-menu__submenu-trigger"> <!></button></li>`);
|
|
@@ -43622,7 +43692,7 @@ function Mega_menu_content($$anchor, $$props) {
|
|
|
43622
43692
|
async function focusSubmenuPanel(submenuId) {
|
|
43623
43693
|
if (typeof document === "undefined")
|
|
43624
43694
|
return;
|
|
43625
|
-
await
|
|
43695
|
+
await tick16();
|
|
43626
43696
|
const panel = $$props.elementById($$props.submenuPanelId($$props.item.id, submenuId));
|
|
43627
43697
|
if (!(panel instanceof HTMLElement))
|
|
43628
43698
|
return;
|
|
@@ -43743,7 +43813,7 @@ function Mega_menu_content($$anchor, $$props) {
|
|
|
43743
43813
|
var node_1 = $223.sibling(span, 2);
|
|
43744
43814
|
{
|
|
43745
43815
|
var consequent_1 = ($$anchor4) => {
|
|
43746
|
-
var span_1 =
|
|
43816
|
+
var span_1 = root_1125();
|
|
43747
43817
|
var text_2 = $223.child(span_1, true);
|
|
43748
43818
|
$223.reset(span_1);
|
|
43749
43819
|
$223.template_effect(() => $223.set_text(text_2, $223.get(link).description));
|
|
@@ -43840,7 +43910,7 @@ function Mega_menu_content($$anchor, $$props) {
|
|
|
43840
43910
|
var node_6 = $223.sibling(span_2, 2);
|
|
43841
43911
|
{
|
|
43842
43912
|
var consequent_4 = ($$anchor6) => {
|
|
43843
|
-
var span_3 =
|
|
43913
|
+
var span_3 = root_1125();
|
|
43844
43914
|
var text_6 = $223.child(span_3, true);
|
|
43845
43915
|
$223.reset(span_3);
|
|
43846
43916
|
$223.template_effect(() => $223.set_text(text_6, $223.get(link).description));
|
|
@@ -43917,7 +43987,7 @@ var rest_excludes93 = new Set([
|
|
|
43917
43987
|
"dir",
|
|
43918
43988
|
"class"
|
|
43919
43989
|
]);
|
|
43920
|
-
var
|
|
43990
|
+
var root_1127 = $224.from_html(`<li><button type="button" class="cinder-mega-menu__trigger"> </button></li>`);
|
|
43921
43991
|
var root_275 = $224.from_html(`<div class="cinder-mega-menu__indicator-track" aria-hidden="true"><div class="cinder-mega-menu__indicator"></div></div>`);
|
|
43922
43992
|
var root_357 = $224.from_html(`<div><!></div>`);
|
|
43923
43993
|
var root_438 = $224.from_html(`<nav><ul class="cinder-mega-menu__list"></ul> <!> <!></nav>`);
|
|
@@ -44072,7 +44142,7 @@ function Mega_menu($$anchor, $$props) {
|
|
|
44072
44142
|
$224.set(openItemId, null);
|
|
44073
44143
|
$224.set(previousOpenIndex, null);
|
|
44074
44144
|
if (shouldRestoreFocus && currentItemId) {
|
|
44075
|
-
|
|
44145
|
+
tick17().then(() => {
|
|
44076
44146
|
focusElementById(triggerId(currentItemId));
|
|
44077
44147
|
});
|
|
44078
44148
|
}
|
|
@@ -44111,7 +44181,7 @@ function Mega_menu($$anchor, $$props) {
|
|
|
44111
44181
|
async function focusPanelContent(itemId) {
|
|
44112
44182
|
if (typeof document === "undefined")
|
|
44113
44183
|
return;
|
|
44114
|
-
await
|
|
44184
|
+
await tick17();
|
|
44115
44185
|
const panel = elementById(contentId(itemId));
|
|
44116
44186
|
if (!(panel instanceof HTMLElement))
|
|
44117
44187
|
return;
|
|
@@ -44261,7 +44331,7 @@ function Mega_menu($$anchor, $$props) {
|
|
|
44261
44331
|
}), [() => classNames("cinder-mega-menu", $$props.class)]);
|
|
44262
44332
|
var ul = $224.child(nav);
|
|
44263
44333
|
$224.each(ul, 23, () => $$props.items, (item) => item.id, ($$anchor2, item, index4) => {
|
|
44264
|
-
var li =
|
|
44334
|
+
var li = root_1127();
|
|
44265
44335
|
var button = $224.child(li);
|
|
44266
44336
|
var text34 = $224.child(button, true);
|
|
44267
44337
|
$224.reset(button);
|
|
@@ -44345,7 +44415,7 @@ import"@lostgradient/cinder/menu-bar/styles";
|
|
|
44345
44415
|
// src/components/menu-bar/menu-bar.svelte
|
|
44346
44416
|
import"svelte/internal/disclose-version";
|
|
44347
44417
|
import * as $226 from "svelte/internal/client";
|
|
44348
|
-
import { tick as
|
|
44418
|
+
import { tick as tick18 } from "svelte";
|
|
44349
44419
|
|
|
44350
44420
|
// src/components/menu-bar/menu-bar-dropdown-context.svelte
|
|
44351
44421
|
import"svelte/internal/disclose-version";
|
|
@@ -44381,7 +44451,7 @@ var rest_excludes94 = new Set([
|
|
|
44381
44451
|
"aria-orientation",
|
|
44382
44452
|
"onkeydown"
|
|
44383
44453
|
]);
|
|
44384
|
-
var
|
|
44454
|
+
var root_1128 = $226.from_html(` <span class="cinder-menu-bar__access-key"> </span> `, 1);
|
|
44385
44455
|
var root_276 = $226.from_html(`<span class="cinder-menu-bar__shortcut" aria-hidden="true"> </span>`);
|
|
44386
44456
|
var root_358 = $226.from_html(`<span class="cinder-menu-bar__item-label"> </span> <!>`, 1);
|
|
44387
44457
|
var root_439 = $226.from_html(`<span class="cinder-menu-bar__item-label"> </span> <span class="cinder-menu-bar__submenu-indicator" aria-hidden="true"><!></span>`, 1);
|
|
@@ -44481,7 +44551,7 @@ function Menu_bar($$anchor, $$props) {
|
|
|
44481
44551
|
function focusSubmenuTriggerAfterClose(id) {
|
|
44482
44552
|
suppressSubmenuFocusOpen = true;
|
|
44483
44553
|
focusElement(id);
|
|
44484
|
-
|
|
44554
|
+
tick18().then(() => {
|
|
44485
44555
|
suppressSubmenuFocusOpen = false;
|
|
44486
44556
|
});
|
|
44487
44557
|
}
|
|
@@ -44532,7 +44602,7 @@ function Menu_bar($$anchor, $$props) {
|
|
|
44532
44602
|
}
|
|
44533
44603
|
function closeMenuAndFocusTrigger(index4) {
|
|
44534
44604
|
closeAll();
|
|
44535
|
-
|
|
44605
|
+
tick18().then(() => focusTopLevelTrigger(index4));
|
|
44536
44606
|
}
|
|
44537
44607
|
function labelParts(menu) {
|
|
44538
44608
|
if (!menu.accessKey)
|
|
@@ -44835,7 +44905,7 @@ function Menu_bar($$anchor, $$props) {
|
|
|
44835
44905
|
return;
|
|
44836
44906
|
if ($226.get(openMenuIndex) === null && $226.get(openSubmenuKey) === null)
|
|
44837
44907
|
return;
|
|
44838
|
-
|
|
44908
|
+
tick18().then(() => {
|
|
44839
44909
|
if (document.activeElement && $226.get(rootElement)?.contains(document.activeElement))
|
|
44840
44910
|
return;
|
|
44841
44911
|
if (document.activeElement && isInsideOpenMenu(document.activeElement))
|
|
@@ -44877,7 +44947,7 @@ function Menu_bar($$anchor, $$props) {
|
|
|
44877
44947
|
var node = $226.child(button);
|
|
44878
44948
|
{
|
|
44879
44949
|
var consequent = ($$anchor3) => {
|
|
44880
|
-
var fragment =
|
|
44950
|
+
var fragment = root_1128();
|
|
44881
44951
|
var text35 = $226.first_child(fragment, true);
|
|
44882
44952
|
var span = $226.sibling(text35);
|
|
44883
44953
|
var text_1 = $226.child(span, true);
|
|
@@ -45290,7 +45360,7 @@ var rest_excludes95 = new Set([
|
|
|
45290
45360
|
"children"
|
|
45291
45361
|
]);
|
|
45292
45362
|
var root120 = $227.from_html(`<time class="cinder-message__time"> </time>`);
|
|
45293
|
-
var
|
|
45363
|
+
var root_1129 = $227.from_html(`<div class="cinder-message__body"><!></div>`);
|
|
45294
45364
|
var root_277 = $227.from_html(`<article><header class="cinder-message__header"><span class="cinder-message__name"> </span> <!></header> <!></article>`);
|
|
45295
45365
|
function Message($$anchor, $$props) {
|
|
45296
45366
|
$227.push($$props, true);
|
|
@@ -45323,7 +45393,7 @@ function Message($$anchor, $$props) {
|
|
|
45323
45393
|
var node_1 = $227.sibling(header, 2);
|
|
45324
45394
|
{
|
|
45325
45395
|
var consequent_1 = ($$anchor2) => {
|
|
45326
|
-
var div =
|
|
45396
|
+
var div = root_1129();
|
|
45327
45397
|
var node_2 = $227.child(div);
|
|
45328
45398
|
$227.snippet(node_2, () => $$props.children);
|
|
45329
45399
|
$227.reset(div);
|
|
@@ -45365,7 +45435,7 @@ var rest_excludes96 = new Set([
|
|
|
45365
45435
|
"class"
|
|
45366
45436
|
]);
|
|
45367
45437
|
var root121 = $228.from_html(`<div class="cinder-meter__segments" aria-hidden="true"><div></div> <div></div> <div></div></div>`);
|
|
45368
|
-
var
|
|
45438
|
+
var root_1130 = $228.from_html(`<div><div class="cinder-meter__track"><!> <div class="cinder-meter__fill"></div></div></div>`);
|
|
45369
45439
|
function Meter($$anchor, $$props) {
|
|
45370
45440
|
$228.push($$props, true);
|
|
45371
45441
|
const DEFAULT_MIN = 0;
|
|
@@ -45459,7 +45529,7 @@ function Meter($$anchor, $$props) {
|
|
|
45459
45529
|
devWarn("[cinder/Meter] rendered without an accessible name — pass `ariaLabel` or `ariaLabelledby`.");
|
|
45460
45530
|
}
|
|
45461
45531
|
});
|
|
45462
|
-
var div =
|
|
45532
|
+
var div = root_1130();
|
|
45463
45533
|
$228.attribute_effect(div, ($0) => ({
|
|
45464
45534
|
...rest,
|
|
45465
45535
|
class: $0,
|
|
@@ -45636,7 +45706,7 @@ var rest_excludes97 = new Set([
|
|
|
45636
45706
|
"id"
|
|
45637
45707
|
]);
|
|
45638
45708
|
var root122 = $229.from_html(`<p class="cinder-matrix-chart__description"> </p>`);
|
|
45639
|
-
var
|
|
45709
|
+
var root_1131 = $229.from_html(`<div class="cinder-matrix-chart__state"><!></div>`);
|
|
45640
45710
|
var root_278 = $229.from_svg(`<title> </title>`);
|
|
45641
45711
|
var root_359 = $229.from_svg(`<text class="cinder-matrix-chart__tick-label" text-anchor="middle" dominant-baseline="auto"> </text>`);
|
|
45642
45712
|
var root_440 = $229.from_svg(`<text class="cinder-matrix-chart__tick-label" text-anchor="end" dominant-baseline="middle"> </text>`);
|
|
@@ -45813,7 +45883,7 @@ function Matrix_chart($$anchor, $$props) {
|
|
|
45813
45883
|
var node_1 = $229.child(div);
|
|
45814
45884
|
{
|
|
45815
45885
|
var consequent_2 = ($$anchor2) => {
|
|
45816
|
-
var div_1 =
|
|
45886
|
+
var div_1 = root_1131();
|
|
45817
45887
|
var node_2 = $229.child(div_1);
|
|
45818
45888
|
{
|
|
45819
45889
|
var consequent_1 = ($$anchor3) => {
|
|
@@ -45837,7 +45907,7 @@ function Matrix_chart($$anchor, $$props) {
|
|
|
45837
45907
|
$229.append($$anchor2, div_1);
|
|
45838
45908
|
};
|
|
45839
45909
|
var consequent_4 = ($$anchor2) => {
|
|
45840
|
-
var div_2 =
|
|
45910
|
+
var div_2 = root_1131();
|
|
45841
45911
|
var node_4 = $229.child(div_2);
|
|
45842
45912
|
{
|
|
45843
45913
|
var consequent_3 = ($$anchor3) => {
|
|
@@ -46072,9 +46142,9 @@ import"@lostgradient/cinder/multi-select/styles";
|
|
|
46072
46142
|
// src/components/multi-select/multi-select.svelte
|
|
46073
46143
|
import"svelte/internal/disclose-version";
|
|
46074
46144
|
import * as $231 from "svelte/internal/client";
|
|
46075
|
-
import { tick as
|
|
46145
|
+
import { tick as tick19, untrack as untrack22 } from "svelte";
|
|
46076
46146
|
var root123 = $231.from_html(`<span class="cinder-multi-select__count" aria-hidden="true"> </span>`);
|
|
46077
|
-
var
|
|
46147
|
+
var root_1132 = $231.from_html(`<button type="button" class="cinder-multi-select__clear" aria-label="Clear selected items">×</button>`);
|
|
46078
46148
|
var root_279 = $231.from_html(`<input class="cinder-_input-frame cinder-multi-select__filter" type="text" role="combobox" placeholder="Filter options" aria-autocomplete="list" aria-haspopup="listbox"/>`);
|
|
46079
46149
|
var root_360 = $231.from_html(`<span class="cinder-checkbox cinder-checkbox--indicator cinder-multi-select__checkbox-box" aria-hidden="true"></span>`);
|
|
46080
46150
|
var root_441 = $231.from_html(`<span class="cinder-multi-select__option-description"> </span>`);
|
|
@@ -46084,7 +46154,7 @@ var root_720 = $231.from_html(`<div class="cinder-_floating-surface cinder-multi
|
|
|
46084
46154
|
var root_817 = $231.from_html(`<p class="cinder-multi-select__sr-status" role="status" aria-live="polite"> </p> <span class="cinder-multi-select__sr-status">Filter options</span>`, 1);
|
|
46085
46155
|
var root_912 = $231.from_html(`<input type="hidden"/>`);
|
|
46086
46156
|
var root_1010 = $231.from_html(`<div class="cinder-multi-select__control"><button type="button" class="cinder-_input-frame cinder-multi-select__trigger" aria-haspopup="listbox"><span class="cinder-multi-select__summary cinder-_truncate"> </span> <!> <span class="cinder-multi-select__chevron" aria-hidden="true"><!></span></button> <!> <!></div> <!> <input type="text" tabindex="-1" aria-hidden="true" class="cinder-multi-select__validation-proxy"/> <!>`, 1);
|
|
46087
|
-
var
|
|
46157
|
+
var root_1126 = $231.from_html(`<p class="cinder-multi-select__warning"> </p>`);
|
|
46088
46158
|
function Multi_select($$anchor, $$props) {
|
|
46089
46159
|
$231.push($$props, true);
|
|
46090
46160
|
const multiSelectControl = ($$anchor2) => {
|
|
@@ -46117,7 +46187,7 @@ function Multi_select($$anchor, $$props) {
|
|
|
46117
46187
|
var node_3 = $231.sibling(button, 2);
|
|
46118
46188
|
{
|
|
46119
46189
|
var consequent_1 = ($$anchor3) => {
|
|
46120
|
-
var button_1 =
|
|
46190
|
+
var button_1 = root_1132();
|
|
46121
46191
|
$231.delegated("click", button_1, clearSelection);
|
|
46122
46192
|
$231.append($$anchor3, button_1);
|
|
46123
46193
|
};
|
|
@@ -46320,7 +46390,7 @@ function Multi_select($$anchor, $$props) {
|
|
|
46320
46390
|
var node_11 = $231.first_child(fragment_3);
|
|
46321
46391
|
{
|
|
46322
46392
|
var consequent_7 = ($$anchor3) => {
|
|
46323
|
-
var p_1 =
|
|
46393
|
+
var p_1 = root_1126();
|
|
46324
46394
|
var text_6 = $231.child(p_1, true);
|
|
46325
46395
|
$231.reset(p_1);
|
|
46326
46396
|
$231.template_effect(() => {
|
|
@@ -46467,7 +46537,7 @@ function Multi_select($$anchor, $$props) {
|
|
|
46467
46537
|
$231.set(query, "");
|
|
46468
46538
|
$231.set(reorderAfterReopen, selectionFeedback() === "top-after-reopen" && $231.get(openedAtLeastOnce), true);
|
|
46469
46539
|
$231.set(openedAtLeastOnce, true);
|
|
46470
|
-
|
|
46540
|
+
tick19().then(() => {
|
|
46471
46541
|
const nextIndex = preferLast ? getLastEnabledIndex($231.get(visibleItems)) : firstEnabledIndex($231.get(visibleItems));
|
|
46472
46542
|
if (nextIndex >= 0)
|
|
46473
46543
|
commandList.setActiveById(`${$$props.id}-option-${nextIndex}`);
|
|
@@ -46759,7 +46829,7 @@ var rest_excludes99 = new Set([
|
|
|
46759
46829
|
"onkeydown"
|
|
46760
46830
|
]);
|
|
46761
46831
|
var root124 = $232.from_html(`<div class="cinder-navigation-bar__menu-toggle"><!></div>`);
|
|
46762
|
-
var
|
|
46832
|
+
var root_1133 = $232.from_html(`<div class="cinder-navigation-bar__brand"><!></div>`);
|
|
46763
46833
|
var root_280 = $232.from_html(`<div class="cinder-navigation-bar__items-owner"></div>`);
|
|
46764
46834
|
var root_361 = $232.from_html(`<div class="cinder-navigation-bar__actions"><!></div>`);
|
|
46765
46835
|
var root_442 = $232.from_html(`<nav><!> <!> <!> <!> <div><div><!></div></div> <!></nav>`);
|
|
@@ -47171,7 +47241,7 @@ function Navigation_bar($$anchor, $$props) {
|
|
|
47171
47241
|
var node_2 = $232.sibling(node, 2);
|
|
47172
47242
|
{
|
|
47173
47243
|
var consequent_1 = ($$anchor2) => {
|
|
47174
|
-
var div_1 =
|
|
47244
|
+
var div_1 = root_1133();
|
|
47175
47245
|
var node_3 = $232.child(div_1);
|
|
47176
47246
|
$232.snippet(node_3, () => $$props.brand);
|
|
47177
47247
|
$232.reset(div_1);
|
|
@@ -47285,7 +47355,7 @@ var rest_excludes100 = new Set([
|
|
|
47285
47355
|
"tabindex"
|
|
47286
47356
|
]);
|
|
47287
47357
|
var root125 = $233.from_html(`<a><!></a>`);
|
|
47288
|
-
var
|
|
47358
|
+
var root_1134 = $233.from_html(`<button><!></button>`);
|
|
47289
47359
|
function Navigation_item($$anchor, $$props) {
|
|
47290
47360
|
$233.push($$props, true);
|
|
47291
47361
|
const active = $233.prop($$props, "active", 3, false), disabled = $233.prop($$props, "disabled", 3, false), variant = $233.prop($$props, "variant", 3, "horizontal"), current = $233.prop($$props, "current", 3, "page"), rest = $233.rest_props($$props, rest_excludes100);
|
|
@@ -47325,7 +47395,7 @@ function Navigation_item($$anchor, $$props) {
|
|
|
47325
47395
|
$233.append($$anchor2, a);
|
|
47326
47396
|
};
|
|
47327
47397
|
var alternate = ($$anchor2) => {
|
|
47328
|
-
var button =
|
|
47398
|
+
var button = root_1134();
|
|
47329
47399
|
$233.attribute_effect(button, () => ({
|
|
47330
47400
|
...$233.get(buttonAttributes),
|
|
47331
47401
|
type: "button",
|
|
@@ -47483,7 +47553,7 @@ var rest_excludes101 = new Set([
|
|
|
47483
47553
|
"aria-describedby"
|
|
47484
47554
|
]);
|
|
47485
47555
|
var root126 = $234.from_html(`<button type="button" class="cinder-number-input__stepper cinder-number-input__stepper--increment" tabindex="-1"><!></button> <button type="button" class="cinder-number-input__stepper cinder-number-input__stepper--decrement" tabindex="-1"><!></button>`, 1);
|
|
47486
|
-
var
|
|
47556
|
+
var root_1135 = $234.from_html(`<input type="hidden"/>`);
|
|
47487
47557
|
var root_281 = $234.from_html(`<p class="cinder-input-field__error" aria-live="polite"> </p>`);
|
|
47488
47558
|
var root_362 = $234.from_html(`<div data-cinder-full-width=""><!> <!> <!></div>`);
|
|
47489
47559
|
function Number_input($$anchor, $$props) {
|
|
@@ -47849,7 +47919,7 @@ function Number_input($$anchor, $$props) {
|
|
|
47849
47919
|
var node_4 = $234.sibling(node_3, 2);
|
|
47850
47920
|
{
|
|
47851
47921
|
var consequent = ($$anchor2) => {
|
|
47852
|
-
var input =
|
|
47922
|
+
var input = root_1135();
|
|
47853
47923
|
$234.remove_input_defaults(input);
|
|
47854
47924
|
$234.template_effect(($0) => {
|
|
47855
47925
|
$234.set_attribute(input, "name", $$props.name);
|
|
@@ -47910,7 +47980,7 @@ var rest_excludes102 = new Set([
|
|
|
47910
47980
|
"class"
|
|
47911
47981
|
]);
|
|
47912
47982
|
var root127 = $235.from_html(`<p class="cinder-pagination__count" aria-live="polite"> </p>`);
|
|
47913
|
-
var
|
|
47983
|
+
var root_1136 = $235.from_html(`<li class="cinder-pagination__ellipsis-item" aria-hidden="true"><span class="cinder-pagination__ellipsis">…</span></li>`);
|
|
47914
47984
|
var root_282 = $235.from_html(`<li><button type="button" class="cinder-pagination__page"> </button></li>`);
|
|
47915
47985
|
var root_363 = $235.from_html(`<nav><!> <div class="cinder-pagination__controls"><button type="button" class="cinder-pagination__step" aria-label="Go to previous page"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><polyline points="15 18 9 12 15 6"></polyline></svg></button> <ul class="cinder-pagination__pages" role="list"></ul> <button type="button" class="cinder-pagination__step" aria-label="Go to next page"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><polyline points="9 18 15 12 9 6"></polyline></svg></button></div></nav>`);
|
|
47916
47986
|
function Pagination($$anchor, $$props) {
|
|
@@ -47986,7 +48056,7 @@ function Pagination($$anchor, $$props) {
|
|
|
47986
48056
|
var node_1 = $235.first_child(fragment);
|
|
47987
48057
|
{
|
|
47988
48058
|
var consequent_1 = ($$anchor3) => {
|
|
47989
|
-
var li =
|
|
48059
|
+
var li = root_1136();
|
|
47990
48060
|
$235.append($$anchor3, li);
|
|
47991
48061
|
};
|
|
47992
48062
|
var alternate = ($$anchor3) => {
|
|
@@ -48047,7 +48117,7 @@ var rest_excludes103 = new Set([
|
|
|
48047
48117
|
"class"
|
|
48048
48118
|
]);
|
|
48049
48119
|
var root128 = $236.from_html(`<div class="cinder-page-header__breadcrumbs"><!></div>`);
|
|
48050
|
-
var
|
|
48120
|
+
var root_1137 = $236.from_html(`<p class="cinder-page-header__description"><!></p>`);
|
|
48051
48121
|
var root_283 = $236.from_html(`<div class="cinder-page-header__actions"><!></div>`);
|
|
48052
48122
|
var root_364 = $236.from_html(`<div><!> <div class="cinder-page-header__row"><div class="cinder-page-header__heading-group"><h1 class="cinder-page-header__title"><!></h1> <!></div> <!></div></div>`);
|
|
48053
48123
|
function Page_header($$anchor, $$props) {
|
|
@@ -48096,7 +48166,7 @@ function Page_header($$anchor, $$props) {
|
|
|
48096
48166
|
var node_4 = $236.sibling(h1, 2);
|
|
48097
48167
|
{
|
|
48098
48168
|
var consequent_3 = ($$anchor2) => {
|
|
48099
|
-
var p =
|
|
48169
|
+
var p = root_1137();
|
|
48100
48170
|
var node_5 = $236.child(p);
|
|
48101
48171
|
{
|
|
48102
48172
|
var consequent_2 = ($$anchor3) => {
|
|
@@ -48176,7 +48246,7 @@ var rest_excludes104 = new Set([
|
|
|
48176
48246
|
"id"
|
|
48177
48247
|
]);
|
|
48178
48248
|
var root129 = $237.from_html(`<p class="cinder-permission-matrix__description"> </p>`);
|
|
48179
|
-
var
|
|
48249
|
+
var root_1138 = $237.from_html(`<div class="cinder-permission-matrix__state"><!></div>`);
|
|
48180
48250
|
var root_284 = $237.from_html(`<th class="cinder-permission-matrix__column-header" scope="col"> </th>`);
|
|
48181
48251
|
var root_365 = $237.from_html(`<button type="button" class="cinder-permission-matrix__cell-control"><span class="cinder-permission-matrix__cell-token" aria-hidden="true"><!></span> <span class="cinder-permission-matrix__cell-label"> </span></button>`);
|
|
48182
48252
|
var root_443 = $237.from_html(`<span class="cinder-permission-matrix__cell-control"><span class="cinder-permission-matrix__cell-token" aria-hidden="true"><!></span> <span class="cinder-permission-matrix__cell-label"> </span></span>`);
|
|
@@ -48235,7 +48305,7 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
48235
48305
|
var node_1 = $237.child(div);
|
|
48236
48306
|
{
|
|
48237
48307
|
var consequent_2 = ($$anchor2) => {
|
|
48238
|
-
var div_1 =
|
|
48308
|
+
var div_1 = root_1138();
|
|
48239
48309
|
var node_2 = $237.child(div_1);
|
|
48240
48310
|
{
|
|
48241
48311
|
var consequent_1 = ($$anchor3) => {
|
|
@@ -48259,7 +48329,7 @@ function Permission_matrix($$anchor, $$props) {
|
|
|
48259
48329
|
$237.append($$anchor2, div_1);
|
|
48260
48330
|
};
|
|
48261
48331
|
var consequent_4 = ($$anchor2) => {
|
|
48262
|
-
var div_2 =
|
|
48332
|
+
var div_2 = root_1138();
|
|
48263
48333
|
var node_4 = $237.child(div_2);
|
|
48264
48334
|
{
|
|
48265
48335
|
var consequent_3 = ($$anchor3) => {
|
|
@@ -52631,7 +52701,7 @@ function displayNameForCountry(country, locale) {
|
|
|
52631
52701
|
|
|
52632
52702
|
// src/components/phone-input/phone-input.svelte
|
|
52633
52703
|
var root130 = $238.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
|
|
52634
|
-
var
|
|
52704
|
+
var root_1139 = $238.from_html(`<span> <!></span>`);
|
|
52635
52705
|
var root_285 = $238.from_html(`<input type="hidden"/>`);
|
|
52636
52706
|
var root_366 = $238.from_html(`<p class="cinder-phone-input-field__description"> </p>`);
|
|
52637
52707
|
var root_444 = $238.from_html(`<p class="cinder-phone-input-field__error" aria-live="polite" aria-atomic="true"> </p>`);
|
|
@@ -52934,7 +53004,7 @@ function Phone_input($$anchor, $$props) {
|
|
|
52934
53004
|
var node = $238.child(div);
|
|
52935
53005
|
{
|
|
52936
53006
|
var consequent_1 = ($$anchor2) => {
|
|
52937
|
-
var span =
|
|
53007
|
+
var span = root_1139();
|
|
52938
53008
|
var text38 = $238.child(span);
|
|
52939
53009
|
var node_1 = $238.sibling(text38);
|
|
52940
53010
|
{
|
|
@@ -53134,7 +53204,7 @@ import"@lostgradient/cinder/pin-input/styles";
|
|
|
53134
53204
|
import"svelte/internal/disclose-version";
|
|
53135
53205
|
import * as $239 from "svelte/internal/client";
|
|
53136
53206
|
var root131 = $239.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
|
|
53137
|
-
var
|
|
53207
|
+
var root_1140 = $239.from_html(`<span> <!></span>`);
|
|
53138
53208
|
var root_286 = $239.from_html(`<span class="cinder-sr-only"> </span> <input class="cinder-pin-input__segment" autocapitalize="none" spellcheck="false" maxlength="1"/>`, 1);
|
|
53139
53209
|
var root_367 = $239.from_html(`<input type="hidden"/>`);
|
|
53140
53210
|
var root_445 = $239.from_html(`<p class="cinder-pin-input-field__description"> </p>`);
|
|
@@ -53321,7 +53391,7 @@ function Pin_input($$anchor, $$props) {
|
|
|
53321
53391
|
var node = $239.child(div);
|
|
53322
53392
|
{
|
|
53323
53393
|
var consequent_1 = ($$anchor2) => {
|
|
53324
|
-
var span =
|
|
53394
|
+
var span = root_1140();
|
|
53325
53395
|
var text_1 = $239.child(span);
|
|
53326
53396
|
var node_1 = $239.sibling(text_1);
|
|
53327
53397
|
{
|
|
@@ -53479,7 +53549,7 @@ var rest_excludes105 = new Set([
|
|
|
53479
53549
|
"class"
|
|
53480
53550
|
]);
|
|
53481
53551
|
var root132 = $240.from_html(`<span class="cinder-pricing-card__selected-flag">Selected</span>`);
|
|
53482
|
-
var
|
|
53552
|
+
var root_1141 = $240.from_html(`<li class="cinder-pricing-card__feature"> </li>`);
|
|
53483
53553
|
var root_287 = $240.from_html(`<p class="cinder-pricing-card__caveat" data-cinder-caveat=""><!></p>`);
|
|
53484
53554
|
var root_368 = $240.from_html(`<div><div class="cinder-pricing-card__header"><div class="cinder-pricing-card__heading-row"><h3 class="cinder-pricing-card__name"> </h3> <!></div> <p class="cinder-pricing-card__price"> </p></div> <div class="cinder-pricing-card__body"><ul class="cinder-pricing-card__features"></ul> <!></div> <div class="cinder-pricing-card__footer"><!></div></div>`);
|
|
53485
53555
|
function Pricing_card($$anchor, $$props) {
|
|
@@ -53533,7 +53603,7 @@ function Pricing_card($$anchor, $$props) {
|
|
|
53533
53603
|
var div_3 = $240.sibling(div_1, 2);
|
|
53534
53604
|
var ul = $240.child(div_3);
|
|
53535
53605
|
$240.each(ul, 20, () => $240.get(renderableFeatures), (feature) => feature, ($$anchor2, feature) => {
|
|
53536
|
-
var li =
|
|
53606
|
+
var li = root_1141();
|
|
53537
53607
|
var text_2 = $240.child(li, true);
|
|
53538
53608
|
$240.reset(li);
|
|
53539
53609
|
$240.template_effect(() => $240.set_text(text_2, feature));
|
|
@@ -53609,7 +53679,7 @@ import"@lostgradient/cinder/progress/styles";
|
|
|
53609
53679
|
import"svelte/internal/disclose-version";
|
|
53610
53680
|
import * as $241 from "svelte/internal/client";
|
|
53611
53681
|
var root133 = $241.from_svg(`<circle class="cinder-progress__fill" cx="18" cy="18" r="16"></circle>`);
|
|
53612
|
-
var
|
|
53682
|
+
var root_1142 = $241.from_svg(`<circle class="cinder-progress__fill cinder-progress__fill--indeterminate" cx="18" cy="18" r="16"></circle>`);
|
|
53613
53683
|
var root_288 = $241.from_html(`<div role="progressbar"><svg viewBox="0 0 36 36" class="cinder-progress__svg" aria-hidden="true"><circle class="cinder-progress__track" cx="18" cy="18" r="16"></circle><!></svg></div>`);
|
|
53614
53684
|
var root_369 = $241.from_html(`<div class="cinder-progress__fill"></div>`);
|
|
53615
53685
|
var root_446 = $241.from_html(`<div class="cinder-progress__fill cinder-progress__fill--indeterminate"></div>`);
|
|
@@ -53645,7 +53715,7 @@ function Progress($$anchor, $$props) {
|
|
|
53645
53715
|
$241.append($$anchor3, circle);
|
|
53646
53716
|
};
|
|
53647
53717
|
var alternate = ($$anchor3) => {
|
|
53648
|
-
var circle_1 =
|
|
53718
|
+
var circle_1 = root_1142();
|
|
53649
53719
|
$241.append($$anchor3, circle_1);
|
|
53650
53720
|
};
|
|
53651
53721
|
$241.if(node_1, ($$render) => {
|
|
@@ -53742,7 +53812,7 @@ var rest_excludes106 = new Set([
|
|
|
53742
53812
|
"class"
|
|
53743
53813
|
]);
|
|
53744
53814
|
var root134 = $242.from_svg(`<svg xmlns="http://www.w3.org/2000/svg" shape-rendering="crispEdges" aria-hidden="true" focusable="false"><path fill="none" stroke="currentColor"></path></svg>`);
|
|
53745
|
-
var
|
|
53815
|
+
var root_1143 = $242.from_html(`<span class="cinder-qr-code__error-mark">!</span>`);
|
|
53746
53816
|
var root_289 = $242.from_html(`<span class="cinder-sr-only">Unable to render QR code.</span>`);
|
|
53747
53817
|
var root_370 = $242.from_html(`<span class="cinder-qr-code__placeholder" aria-hidden="true"><!></span> <!>`, 1);
|
|
53748
53818
|
var root_447 = $242.from_html(`<span><!></span>`);
|
|
@@ -53843,7 +53913,7 @@ function Qr_code($$anchor, $$props) {
|
|
|
53843
53913
|
var node_1 = $242.child(span_1);
|
|
53844
53914
|
{
|
|
53845
53915
|
var consequent_1 = ($$anchor3) => {
|
|
53846
|
-
var span_2 =
|
|
53916
|
+
var span_2 = root_1143();
|
|
53847
53917
|
$242.append($$anchor3, span_2);
|
|
53848
53918
|
};
|
|
53849
53919
|
$242.if(node_1, ($$render) => {
|
|
@@ -53976,7 +54046,7 @@ function Radio($$anchor, $$props) {
|
|
|
53976
54046
|
import"svelte/internal/disclose-version";
|
|
53977
54047
|
import * as $244 from "svelte/internal/client";
|
|
53978
54048
|
var root136 = $244.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
|
|
53979
|
-
var
|
|
54049
|
+
var root_1144 = $244.from_html(`<legend class="cinder-radio-group__legend"> <!></legend>`);
|
|
53980
54050
|
var root_290 = $244.from_html(`<p class="cinder-radio-group__description"> </p>`);
|
|
53981
54051
|
var root_371 = $244.from_html(`<p class="cinder-radio-group__error" aria-live="polite"> </p>`);
|
|
53982
54052
|
var root_448 = $244.from_html(`<fieldset><!> <div class="cinder-radio-group__items"><!></div> <!> <!></fieldset>`);
|
|
@@ -54018,7 +54088,7 @@ function Radio_group($$anchor, $$props) {
|
|
|
54018
54088
|
var node = $244.child(fieldset);
|
|
54019
54089
|
{
|
|
54020
54090
|
var consequent_1 = ($$anchor2) => {
|
|
54021
|
-
var legend_1 =
|
|
54091
|
+
var legend_1 = root_1144();
|
|
54022
54092
|
var text39 = $244.child(legend_1);
|
|
54023
54093
|
var node_1 = $244.sibling(text39);
|
|
54024
54094
|
{
|
|
@@ -54107,7 +54177,7 @@ import"@lostgradient/cinder/rating/styles";
|
|
|
54107
54177
|
import"svelte/internal/disclose-version";
|
|
54108
54178
|
import * as $245 from "svelte/internal/client";
|
|
54109
54179
|
var root137 = $245.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
|
|
54110
|
-
var
|
|
54180
|
+
var root_1145 = $245.from_html(`<span> <!></span>`);
|
|
54111
54181
|
var root_291 = $245.from_html(`<span class="cinder-rating__star" aria-hidden="true"><span class="cinder-rating__star-fill"></span></span>`);
|
|
54112
54182
|
var root_372 = $245.from_html(`<div class="cinder-rating cinder-rating--readonly" role="img"><!> <span class="cinder-sr-only"> </span></div>`);
|
|
54113
54183
|
var root_449 = $245.from_html(`<button class="cinder-rating__option" type="button" role="radio"></button>`);
|
|
@@ -54316,7 +54386,7 @@ function Rating($$anchor, $$props) {
|
|
|
54316
54386
|
var node = $245.child(div);
|
|
54317
54387
|
{
|
|
54318
54388
|
var consequent_1 = ($$anchor2) => {
|
|
54319
|
-
var span =
|
|
54389
|
+
var span = root_1145();
|
|
54320
54390
|
var text39 = $245.child(span);
|
|
54321
54391
|
var node_1 = $245.sibling(text39);
|
|
54322
54392
|
{
|
|
@@ -54843,7 +54913,7 @@ var rest_excludes108 = new Set([
|
|
|
54843
54913
|
"aria-labelledby"
|
|
54844
54914
|
]);
|
|
54845
54915
|
var root138 = $247.from_html(`<button type="button" class="cinder-run-step-timeline__selection-control"></button>`);
|
|
54846
|
-
var
|
|
54916
|
+
var root_1146 = $247.from_html(`<span class="cinder-run-step-timeline__link cinder-run-step-timeline__link--unsafe"> </span>`);
|
|
54847
54917
|
var root_292 = $247.from_html(`<div class="cinder-run-step-timeline__progress"><!></div>`);
|
|
54848
54918
|
var root_373 = $247.from_html(`<div class="cinder-run-step-timeline__meta-row"><dt class="cinder-run-step-timeline__meta-term"> </dt> <dd class="cinder-run-step-timeline__meta-definition"> </dd></div>`);
|
|
54849
54919
|
var root_450 = $247.from_html(`<dl class="cinder-run-step-timeline__meta"></dl>`);
|
|
@@ -54853,7 +54923,7 @@ var root_723 = $247.from_html(`<div class="cinder-run-step-timeline__body"><!></
|
|
|
54853
54923
|
var root_820 = $247.from_html(`<li class="cinder-run-step-timeline__item"><!> <div class="cinder-run-step-timeline__event"><span class="cinder-run-step-timeline__marker" aria-hidden="true" inert=""><!></span> <div class="cinder-run-step-timeline__content"><div class="cinder-run-step-timeline__header"><span class="cinder-run-step-timeline__label"> </span> <!> <!> <!> <!> <!> <!></div> <!> <!> <!> <!></div></div></li>`);
|
|
54854
54924
|
var root_914 = $247.from_html(`<li class="cinder-run-step-timeline__item" data-cinder-status="depth-limit" data-cinder-depth-limit=""><div class="cinder-run-step-timeline__event"><span class="cinder-run-step-timeline__marker" aria-hidden="true" inert=""><!></span> <div class="cinder-run-step-timeline__content"><div class="cinder-run-step-timeline__header"><span class="cinder-run-step-timeline__label"> </span> <!></div> <p class="cinder-run-step-timeline__body">Additional child-workflow steps are hidden because the timeline depth cap was reached.</p></div></div></li>`);
|
|
54855
54925
|
var root_1011 = $247.from_html(`<span class="cinder-run-step-timeline__branch-heading"><span class="cinder-run-step-timeline__label"> </span> <!></span>`);
|
|
54856
|
-
var
|
|
54926
|
+
var root_1147 = $247.from_html(`<li class="cinder-run-step-timeline__lane"><div class="cinder-run-step-timeline__lane-header"><span class="cinder-run-step-timeline__lane-label"> </span> <!></div> <ol class="cinder-run-step-timeline cinder-run-step-timeline__lane-steps"><!></ol></li>`);
|
|
54857
54927
|
var root_1215 = $247.from_html(`<ul class="cinder-run-step-timeline__lanes"></ul>`);
|
|
54858
54928
|
var root_1312 = $247.from_html(`<li class="cinder-run-step-timeline__item cinder-run-step-timeline__item--branch" data-cinder-status="branch" data-cinder-depth="0"><div class="cinder-run-step-timeline__event"><span class="cinder-run-step-timeline__marker" aria-hidden="true" inert=""><!></span> <div class="cinder-run-step-timeline__content cinder-run-step-timeline__branch"><!></div></div></li>`);
|
|
54859
54929
|
var root_1412 = $247.from_html(`<ol></ol>`);
|
|
@@ -54928,7 +54998,7 @@ function Run_step_timeline($$anchor, $$props) {
|
|
|
54928
54998
|
});
|
|
54929
54999
|
};
|
|
54930
55000
|
var alternate = ($$anchor4) => {
|
|
54931
|
-
var span_2 =
|
|
55001
|
+
var span_2 = root_1146();
|
|
54932
55002
|
var text_2 = $247.child(span_2, true);
|
|
54933
55003
|
$247.reset(span_2);
|
|
54934
55004
|
$247.template_effect(() => $247.set_text(text_2, $247.get(step).link.label));
|
|
@@ -55471,7 +55541,7 @@ function Run_step_timeline($$anchor, $$props) {
|
|
|
55471
55541
|
children: ($$anchor4, $$slotProps) => {
|
|
55472
55542
|
var ul = root_1215();
|
|
55473
55543
|
$247.each(ul, 21, () => $247.get(group).lanes, (lane) => lane.id, ($$anchor5, lane) => {
|
|
55474
|
-
var li_3 =
|
|
55544
|
+
var li_3 = root_1147();
|
|
55475
55545
|
var div_12 = $247.child(li_3);
|
|
55476
55546
|
var span_8 = $247.child(div_12);
|
|
55477
55547
|
var text_15 = $247.child(span_8, true);
|
|
@@ -56049,7 +56119,7 @@ var rest_excludes109 = new Set([
|
|
|
56049
56119
|
"class"
|
|
56050
56120
|
]);
|
|
56051
56121
|
var root139 = $248.from_html(`<span class="cinder-resizable-panels__handle" role="separator" tabindex="0"><span aria-hidden="true" class="cinder-resizable-panels__handle-line"></span></span>`);
|
|
56052
|
-
var
|
|
56122
|
+
var root_1148 = $248.from_html(`<section class="cinder-resizable-panels__pane"><!></section> <!>`, 1);
|
|
56053
56123
|
var root_293 = $248.from_html(`<div></div>`);
|
|
56054
56124
|
function Resizable_panels($$anchor, $$props) {
|
|
56055
56125
|
const componentId = $248.props_id();
|
|
@@ -56340,7 +56410,7 @@ function Resizable_panels($$anchor, $$props) {
|
|
|
56340
56410
|
$248.each(div, 23, () => $$props.panes, (pane) => pane.id, ($$anchor2, pane, index4) => {
|
|
56341
56411
|
const context = $248.derived(() => paneContext($248.get(index4)));
|
|
56342
56412
|
const hiddenFromInteraction = $248.derived(() => isPaneHiddenFromInteraction($248.get(context)));
|
|
56343
|
-
var fragment =
|
|
56413
|
+
var fragment = root_1148();
|
|
56344
56414
|
var section = $248.first_child(fragment);
|
|
56345
56415
|
var node = $248.child(section);
|
|
56346
56416
|
$248.snippet(node, () => $$props.children, () => $248.get(pane), () => $248.get(context));
|
|
@@ -56559,7 +56629,7 @@ var rest_excludes110 = new Set([
|
|
|
56559
56629
|
"onclick"
|
|
56560
56630
|
]);
|
|
56561
56631
|
var root140 = $250.from_html(`<span class="cinder-segmented-control-option-icon" aria-hidden="true"><!></span>`);
|
|
56562
|
-
var
|
|
56632
|
+
var root_1150 = $250.from_html(`<span class="cinder-segmented-control-option-trailing" aria-hidden="true"><!></span>`);
|
|
56563
56633
|
var root_294 = $250.from_html(`<!> <!> <!>`, 1);
|
|
56564
56634
|
var root_374 = $250.from_html(`<a><!></a>`);
|
|
56565
56635
|
var root_451 = $250.from_html(`<button><!></button>`);
|
|
@@ -56586,7 +56656,7 @@ function Segment($$anchor, $$props) {
|
|
|
56586
56656
|
var node_4 = $250.sibling(node_3, 2);
|
|
56587
56657
|
{
|
|
56588
56658
|
var consequent_1 = ($$anchor3) => {
|
|
56589
|
-
var span_1 =
|
|
56659
|
+
var span_1 = root_1150();
|
|
56590
56660
|
var node_5 = $250.child(span_1);
|
|
56591
56661
|
$250.snippet(node_5, () => $$props.trailing);
|
|
56592
56662
|
$250.reset(span_1);
|
|
@@ -56724,7 +56794,7 @@ var rest_excludes111 = new Set([
|
|
|
56724
56794
|
"children"
|
|
56725
56795
|
]);
|
|
56726
56796
|
var root141 = $251.from_html(`<nav><!></nav>`);
|
|
56727
|
-
var
|
|
56797
|
+
var root_1151 = $251.from_html(`<div><!></div>`);
|
|
56728
56798
|
var root_295 = $251.from_html(`<input type="hidden"/>`);
|
|
56729
56799
|
var root_375 = $251.from_html(`<input type="hidden" disabled=""/> <!>`, 1);
|
|
56730
56800
|
var root_452 = $251.from_html(`<div class="cinder-segmented-control-container"><span> </span> <!> <!></div>`);
|
|
@@ -56824,7 +56894,7 @@ function Segmented_control($$anchor, $$props) {
|
|
|
56824
56894
|
$251.append($$anchor2, nav);
|
|
56825
56895
|
};
|
|
56826
56896
|
var alternate = ($$anchor2) => {
|
|
56827
|
-
var div_1 =
|
|
56897
|
+
var div_1 = root_1151();
|
|
56828
56898
|
var event_handler = (event28) => controller.handleKeydown(event28);
|
|
56829
56899
|
$251.attribute_effect(div_1, ($0) => ({
|
|
56830
56900
|
...rest,
|
|
@@ -56912,7 +56982,7 @@ var rest_excludes112 = new Set([
|
|
|
56912
56982
|
"aria-invalid"
|
|
56913
56983
|
]);
|
|
56914
56984
|
var root142 = $252.from_html(`<select></select>`);
|
|
56915
|
-
var
|
|
56985
|
+
var root_1152 = $252.from_html(`<option> </option>`);
|
|
56916
56986
|
var root_296 = $252.from_html(`<span class="cinder-select-field__control"><!> <span class="cinder-select-field__chevron" aria-hidden="true"></span></span>`);
|
|
56917
56987
|
function Select2($$anchor, $$props) {
|
|
56918
56988
|
$252.push($$props, true);
|
|
@@ -56946,7 +57016,7 @@ function Select2($$anchor, $$props) {
|
|
|
56946
57016
|
"aria-invalid": $252.get(field).ariaInvalid
|
|
56947
57017
|
}));
|
|
56948
57018
|
$252.each(select_1, 21, () => $$props.options, (option) => option.value, ($$anchor4, option) => {
|
|
56949
|
-
var option_1 =
|
|
57019
|
+
var option_1 = root_1152();
|
|
56950
57020
|
var text40 = $252.child(option_1, true);
|
|
56951
57021
|
$252.reset(option_1);
|
|
56952
57022
|
var option_1_value = {};
|
|
@@ -57101,7 +57171,7 @@ var rest_excludes113 = new Set([
|
|
|
57101
57171
|
"onValueChange"
|
|
57102
57172
|
]);
|
|
57103
57173
|
var root143 = $253.from_html(`<input type="hidden"/>`);
|
|
57104
|
-
var
|
|
57174
|
+
var root_1153 = $253.from_html(`<option> </option>`);
|
|
57105
57175
|
var root_297 = $253.from_html(`<span class="cinder-sr-only">timezone</span> <select class="cinder-time-field__timezone"></select>`, 1);
|
|
57106
57176
|
var root_376 = $253.from_html(`<div class="cinder-time-field__controls"><!> <!> <!> <!></div>`);
|
|
57107
57177
|
function Time_field($$anchor, $$props) {
|
|
@@ -57171,7 +57241,7 @@ function Time_field($$anchor, $$props) {
|
|
|
57171
57241
|
var span = $253.first_child(fragment);
|
|
57172
57242
|
var select = $253.sibling(span, 2);
|
|
57173
57243
|
$253.each(select, 20, () => $$props.timezones, (option) => option, ($$anchor4, option) => {
|
|
57174
|
-
var option_1 =
|
|
57244
|
+
var option_1 = root_1153();
|
|
57175
57245
|
var text_1 = $253.child(option_1, true);
|
|
57176
57246
|
$253.reset(option_1);
|
|
57177
57247
|
var option_1_value = {};
|
|
@@ -57682,7 +57752,7 @@ function cronExpressionForEditor(editor) {
|
|
|
57682
57752
|
|
|
57683
57753
|
// src/components/schedule-builder/schedule-builder-cron-editor.svelte
|
|
57684
57754
|
var root144 = $254.from_html(`<!> <!>`, 1);
|
|
57685
|
-
var
|
|
57755
|
+
var root_1154 = $254.from_html(`<div class="cinder-schedule-builder__cron-field"><!> <!> <details class="cinder-schedule-builder__cron-advanced"><summary><span>Advanced raw expression</span> <!></summary> <!></details></div>`);
|
|
57686
57756
|
function Schedule_builder_cron_editor($$anchor, $$props) {
|
|
57687
57757
|
$254.push($$props, true);
|
|
57688
57758
|
Grid6($$anchor, {
|
|
@@ -57695,7 +57765,7 @@ function Schedule_builder_cron_editor($$anchor, $$props) {
|
|
|
57695
57765
|
$254.each(node, 19, () => CRON_FIELDS, (field) => field.name, ($$anchor3, field, index4) => {
|
|
57696
57766
|
const editor = $254.derived(() => $$props.cronEditors[$254.get(index4)]);
|
|
57697
57767
|
const structuredError = $254.derived(() => $254.get(editor).mode === "advanced" ? undefined : validateCronField(cronExpressionForEditor($254.get(editor)), $254.get(index4)) ?? validateCronField($$props.cronFields[$254.get(index4)] ?? "*", $254.get(index4)));
|
|
57698
|
-
var div =
|
|
57768
|
+
var div = root_1154();
|
|
57699
57769
|
var node_1 = $254.child(div);
|
|
57700
57770
|
{
|
|
57701
57771
|
let $0 = $254.derived(() => `${$$props.baseId}-cron-field-${$254.get(index4)}-mode`);
|
|
@@ -57888,7 +57958,7 @@ function Schedule_builder_cron_editor($$anchor, $$props) {
|
|
|
57888
57958
|
|
|
57889
57959
|
// src/components/schedule-builder/schedule-builder-fields.svelte
|
|
57890
57960
|
var root145 = $255.from_html(`<!> <!> <!> <!>`, 1);
|
|
57891
|
-
var
|
|
57961
|
+
var root_1155 = $255.from_html(`<div class="cinder-schedule-builder__field-row"><!> <!></div>`);
|
|
57892
57962
|
var root_298 = $255.from_html(`<div class="cinder-schedule-builder__weekday-group" role="group" aria-label="Days of week"></div> <!>`, 1);
|
|
57893
57963
|
var root_377 = $255.from_html(`<div role="tabpanel" class="cinder-schedule-builder__panel" data-sb-panel="presets"><!> <!></div>`);
|
|
57894
57964
|
var root_453 = $255.from_html(`<div role="tabpanel" class="cinder-schedule-builder__panel" data-sb-panel="cron"><!></div>`);
|
|
@@ -58061,7 +58131,7 @@ function Schedule_builder_fields($$anchor, $$props) {
|
|
|
58061
58131
|
var node_9 = $255.sibling(node_4, 2);
|
|
58062
58132
|
{
|
|
58063
58133
|
var consequent_1 = ($$anchor3) => {
|
|
58064
|
-
var div_1 =
|
|
58134
|
+
var div_1 = root_1155();
|
|
58065
58135
|
var node_10 = $255.child(div_1);
|
|
58066
58136
|
var bind_get = () => $$props.presetEveryValue;
|
|
58067
58137
|
var bind_set = $$props.onPresetEveryValueChange;
|
|
@@ -58166,7 +58236,7 @@ function Schedule_builder_fields($$anchor, $$props) {
|
|
|
58166
58236
|
$255.append($$anchor3, fragment_7);
|
|
58167
58237
|
};
|
|
58168
58238
|
var alternate = ($$anchor3) => {
|
|
58169
|
-
var div_3 =
|
|
58239
|
+
var div_3 = root_1155();
|
|
58170
58240
|
var node_13 = $255.child(div_3);
|
|
58171
58241
|
var bind_get_3 = () => $$props.presetMonthlyDay;
|
|
58172
58242
|
var bind_set_3 = $$props.onPresetMonthlyDayChange;
|
|
@@ -58346,7 +58416,7 @@ var rest_excludes114 = new Set([
|
|
|
58346
58416
|
"aria-labelledby"
|
|
58347
58417
|
]);
|
|
58348
58418
|
var root146 = $256.from_html(`<p class="cinder-schedule-builder__empty">Preview unavailable — fix the cron expression above.</p>`);
|
|
58349
|
-
var
|
|
58419
|
+
var root_1156 = $256.from_html(`<p class="cinder-schedule-builder__empty">Preview unavailable.</p>`);
|
|
58350
58420
|
var root_299 = $256.from_html(`<li class="cinder-schedule-builder__preview-item"> </li>`);
|
|
58351
58421
|
var root_378 = $256.from_html(`<ul class="cinder-schedule-builder__preview-list"></ul>`);
|
|
58352
58422
|
var root_454 = $256.from_html(`<p class="cinder-schedule-builder__empty">No upcoming fires.</p>`);
|
|
@@ -58715,7 +58785,7 @@ function Schedule_builder($$anchor, $$props) {
|
|
|
58715
58785
|
$256.append($$anchor3, p);
|
|
58716
58786
|
};
|
|
58717
58787
|
var consequent_1 = ($$anchor3) => {
|
|
58718
|
-
var p_1 =
|
|
58788
|
+
var p_1 = root_1156();
|
|
58719
58789
|
$256.append($$anchor3, p_1);
|
|
58720
58790
|
};
|
|
58721
58791
|
var consequent_2 = ($$anchor3) => {
|
|
@@ -58803,7 +58873,7 @@ import * as $259 from "svelte/internal/client";
|
|
|
58803
58873
|
// src/components/schema-form/schema-form-body.svelte
|
|
58804
58874
|
import"svelte/internal/disclose-version";
|
|
58805
58875
|
import * as $258 from "svelte/internal/client";
|
|
58806
|
-
import { tick as
|
|
58876
|
+
import { tick as tick20 } from "svelte";
|
|
58807
58877
|
|
|
58808
58878
|
// src/components/schema-form/schema-form-model.ts
|
|
58809
58879
|
function isRecord(value) {
|
|
@@ -59622,7 +59692,7 @@ var rest_excludes115 = new Set([
|
|
|
59622
59692
|
"novalidate"
|
|
59623
59693
|
]);
|
|
59624
59694
|
var root147 = $258.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
|
|
59625
|
-
var
|
|
59695
|
+
var root_1157 = $258.from_html(`<p class="cinder-schema-form__description"> </p>`);
|
|
59626
59696
|
var root_2100 = $258.from_html(`<p class="cinder-schema-form__error" aria-live="polite" tabindex="-1"> </p>`);
|
|
59627
59697
|
var root_379 = $258.from_html(`<legend class="cinder-schema-form__legend"> <!></legend> <!> <!>`, 1);
|
|
59628
59698
|
var root_455 = $258.from_html(`<fieldset class="cinder-schema-form__fieldset"><!> <div class="cinder-schema-form__fields"></div></fieldset>`);
|
|
@@ -59653,7 +59723,7 @@ function Schema_form_body($$anchor, $$props) {
|
|
|
59653
59723
|
var node_1 = $258.sibling(legend, 2);
|
|
59654
59724
|
{
|
|
59655
59725
|
var consequent_1 = ($$anchor3) => {
|
|
59656
|
-
var p =
|
|
59726
|
+
var p = root_1157();
|
|
59657
59727
|
var text_1 = $258.child(p, true);
|
|
59658
59728
|
$258.reset(p);
|
|
59659
59729
|
$258.template_effect(($0) => {
|
|
@@ -59972,7 +60042,7 @@ function Schema_form_body($$anchor, $$props) {
|
|
|
59972
60042
|
await focusFirstError(submitId);
|
|
59973
60043
|
}
|
|
59974
60044
|
async function focusFirstError(submitId) {
|
|
59975
|
-
await
|
|
60045
|
+
await tick20();
|
|
59976
60046
|
if (activeSubmitId !== submitId)
|
|
59977
60047
|
return;
|
|
59978
60048
|
$258.get(formElement)?.querySelector('[aria-invalid="true"], [data-cinder-invalid="true"], .cinder-schema-form__error')?.focus();
|
|
@@ -60021,7 +60091,7 @@ function Schema_form_body($$anchor, $$props) {
|
|
|
60021
60091
|
await $$props.onSubmit?.(result2.value, event28);
|
|
60022
60092
|
if (shouldResumeNativeSubmit()) {
|
|
60023
60093
|
allowNativeSubmit = true;
|
|
60024
|
-
await
|
|
60094
|
+
await tick20();
|
|
60025
60095
|
$258.get(formElement)?.requestSubmit(nativeSubmitter(event28));
|
|
60026
60096
|
}
|
|
60027
60097
|
} finally {
|
|
@@ -60202,7 +60272,7 @@ var rest_excludes118 = new Set([
|
|
|
60202
60272
|
"onkeydown"
|
|
60203
60273
|
]);
|
|
60204
60274
|
var root148 = $261.from_html(`<span class="cinder-search-field__leading" aria-hidden="true"><!></span>`);
|
|
60205
|
-
var
|
|
60275
|
+
var root_1158 = $261.from_html(`<kbd class="cinder-search-field__shortcut" aria-hidden="true"> </kbd>`);
|
|
60206
60276
|
var root_2101 = $261.from_html(`<button type="button" class="cinder-search-field__clear" aria-label="Clear search"><!></button> <!>`, 1);
|
|
60207
60277
|
var root_380 = $261.from_html(`<div><!></div>`);
|
|
60208
60278
|
function Search_field($$anchor, $$props) {
|
|
@@ -60217,7 +60287,7 @@ function Search_field($$anchor, $$props) {
|
|
|
60217
60287
|
var node_2 = $261.sibling(button, 2);
|
|
60218
60288
|
{
|
|
60219
60289
|
var consequent = ($$anchor3) => {
|
|
60220
|
-
var kbd =
|
|
60290
|
+
var kbd = root_1158();
|
|
60221
60291
|
var text42 = $261.child(kbd, true);
|
|
60222
60292
|
$261.reset(kbd);
|
|
60223
60293
|
$261.template_effect(() => $261.set_text(text42, $$props.shortcut));
|
|
@@ -60359,7 +60429,7 @@ var rest_excludes119 = new Set([
|
|
|
60359
60429
|
"class"
|
|
60360
60430
|
]);
|
|
60361
60431
|
var root149 = $262.from_html(`<span class="cinder-secret-value-field__prefix" aria-hidden="true"> </span>`);
|
|
60362
|
-
var
|
|
60432
|
+
var root_1159 = $262.from_html(`<span class="cinder-secret-value-field__suffix" aria-hidden="true"> </span>`);
|
|
60363
60433
|
var root_2102 = $262.from_html(`<button type="button" class="cinder-secret-value-field__toggle"><!></button>`);
|
|
60364
60434
|
var root_381 = $262.from_html(`<div class="cinder-secret-value-field__warning"><!></div>`);
|
|
60365
60435
|
var root_456 = $262.from_html(`<div><span class="cinder-secret-value-field__label"> </span> <div class="cinder-secret-value-field__row" role="group"><!> <span class="cinder-secret-value-field__value"> </span> <!> <div class="cinder-secret-value-field__actions"><!> <button type="button" class="cinder-secret-value-field__copy"><!></button></div></div> <!> <!></div>`);
|
|
@@ -60430,7 +60500,7 @@ function Secret_value_field($$anchor, $$props) {
|
|
|
60430
60500
|
var node_1 = $262.sibling(span_2, 2);
|
|
60431
60501
|
{
|
|
60432
60502
|
var consequent_1 = ($$anchor2) => {
|
|
60433
|
-
var span_3 =
|
|
60503
|
+
var span_3 = root_1159();
|
|
60434
60504
|
var text_3 = $262.child(span_3, true);
|
|
60435
60505
|
$262.reset(span_3);
|
|
60436
60506
|
$262.template_effect(() => $262.set_text(text_3, $$props.suffix));
|
|
@@ -60551,7 +60621,7 @@ import"@lostgradient/cinder/section-heading/styles";
|
|
|
60551
60621
|
import"svelte/internal/disclose-version";
|
|
60552
60622
|
import * as $263 from "svelte/internal/client";
|
|
60553
60623
|
var root150 = $263.from_html(`<hgroup class="cinder-section-heading__hgroup"><p class="cinder-section-heading__label"><!></p> <!></hgroup>`);
|
|
60554
|
-
var
|
|
60624
|
+
var root_1160 = $263.from_html(`<p class="cinder-section-heading__description"> </p>`);
|
|
60555
60625
|
var root_2103 = $263.from_html(`<div class="cinder-section-heading__actions"><!></div>`);
|
|
60556
60626
|
var root_382 = $263.from_html(`<div class="cinder-section-heading__tabs"><!></div>`);
|
|
60557
60627
|
var root_457 = $263.from_html(`<div><div class="cinder-section-heading__row"><div class="cinder-section-heading__primary"><!> <!></div> <!></div> <!></div>`);
|
|
@@ -60601,7 +60671,7 @@ function Section_heading($$anchor, $$props) {
|
|
|
60601
60671
|
var node_4 = $263.sibling(node, 2);
|
|
60602
60672
|
{
|
|
60603
60673
|
var consequent_1 = ($$anchor2) => {
|
|
60604
|
-
var p_1 =
|
|
60674
|
+
var p_1 = root_1160();
|
|
60605
60675
|
var text_2 = $263.child(p_1, true);
|
|
60606
60676
|
$263.reset(p_1);
|
|
60607
60677
|
$263.template_effect(() => $263.set_text(text_2, $$props.description));
|
|
@@ -60688,7 +60758,7 @@ var rest_excludes120 = new Set([
|
|
|
60688
60758
|
"style"
|
|
60689
60759
|
]);
|
|
60690
60760
|
var root151 = $264.from_html(`<span class="cinder-selectable-row__leading"><!></span>`);
|
|
60691
|
-
var
|
|
60761
|
+
var root_1161 = $264.from_html(`<span class="cinder-selectable-row__description"><!></span>`);
|
|
60692
60762
|
var root_2104 = $264.from_html(`<span class="cinder-selectable-row__meta"><!></span>`);
|
|
60693
60763
|
var root_383 = $264.from_html(`<a><!> <span class="cinder-selectable-row__body"><span class="cinder-selectable-row__title"><!></span> <!> <!></span></a>`);
|
|
60694
60764
|
var root_458 = $264.from_html(`<button><!> <span class="cinder-selectable-row__body"><span class="cinder-selectable-row__title"><!></span> <!> <!></span></button>`);
|
|
@@ -60760,7 +60830,7 @@ function Selectable_row($$anchor, $$props) {
|
|
|
60760
60830
|
var node_4 = $264.sibling(span_2, 2);
|
|
60761
60831
|
{
|
|
60762
60832
|
var consequent_1 = ($$anchor3) => {
|
|
60763
|
-
var span_3 =
|
|
60833
|
+
var span_3 = root_1161();
|
|
60764
60834
|
var node_5 = $264.child(span_3);
|
|
60765
60835
|
$264.snippet(node_5, () => $$props.description);
|
|
60766
60836
|
$264.reset(span_3);
|
|
@@ -60820,7 +60890,7 @@ function Selectable_row($$anchor, $$props) {
|
|
|
60820
60890
|
var node_11 = $264.sibling(span_7, 2);
|
|
60821
60891
|
{
|
|
60822
60892
|
var consequent_5 = ($$anchor3) => {
|
|
60823
|
-
var span_8 =
|
|
60893
|
+
var span_8 = root_1161();
|
|
60824
60894
|
var node_12 = $264.child(span_8);
|
|
60825
60895
|
$264.snippet(node_12, () => $$props.description);
|
|
60826
60896
|
$264.reset(span_8);
|
|
@@ -60891,7 +60961,7 @@ import"@lostgradient/cinder/selection-popover/styles";
|
|
|
60891
60961
|
// src/components/selection-popover/selection-popover.svelte
|
|
60892
60962
|
import"svelte/internal/disclose-version";
|
|
60893
60963
|
import * as $266 from "svelte/internal/client";
|
|
60894
|
-
import { tick as
|
|
60964
|
+
import { tick as tick21 } from "svelte";
|
|
60895
60965
|
|
|
60896
60966
|
// src/components/selection-popover/virtual-keyboard-dismissal.svelte.ts
|
|
60897
60967
|
import * as $265 from "svelte/internal/client";
|
|
@@ -61095,7 +61165,7 @@ var rest_excludes121 = new Set([
|
|
|
61095
61165
|
"class"
|
|
61096
61166
|
]);
|
|
61097
61167
|
var root152 = $266.from_html(`<div class="cinder-selection-popover__form"><textarea class="cinder-selection-popover__textarea" aria-label="Comment text" placeholder="Add a comment..."></textarea> <div class="cinder-selection-popover__actions"><button type="button" class="cinder-selection-popover__cancel" aria-label="Cancel"><svg class="cinder-selection-popover__icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg></button> <button type="button" class="cinder-selection-popover__submit" aria-label="Submit comment" title="Submit comment"><svg class="cinder-selection-popover__icon" aria-hidden="true" viewBox="0 0 24 24"><path d="m22 2-7 20-4-9-9-4Z"></path><path d="M22 2 11 13"></path></svg></button></div></div>`);
|
|
61098
|
-
var
|
|
61168
|
+
var root_1162 = $266.from_html(`<button type="button" class="cinder-selection-popover__button" aria-label="Add comment" title="Add comment to selection"><svg class="cinder-selection-popover__icon" aria-hidden="true" viewBox="0 0 24 24"><path d="M21 15a4 4 0 0 1-4 4H7l-4 4V7a4 4 0 0 1 4-4h6"></path><path d="M19 3v6"></path><path d="M16 6h6"></path></svg></button>`);
|
|
61099
61169
|
var root_2105 = $266.from_html(`<div><!></div>`);
|
|
61100
61170
|
function Selection_popover($$anchor, $$props) {
|
|
61101
61171
|
$266.push($$props, true);
|
|
@@ -61192,7 +61262,7 @@ function Selection_popover($$anchor, $$props) {
|
|
|
61192
61262
|
rememberFocus();
|
|
61193
61263
|
$266.set(expanded, true);
|
|
61194
61264
|
$$props.onExpand?.();
|
|
61195
|
-
|
|
61265
|
+
tick21().then(() => $266.get(textareaElement)?.focus({ preventScroll: true }));
|
|
61196
61266
|
}
|
|
61197
61267
|
function handleCancel() {
|
|
61198
61268
|
$266.set(expanded, false);
|
|
@@ -61300,7 +61370,7 @@ function Selection_popover($$anchor, $$props) {
|
|
|
61300
61370
|
$266.append($$anchor2, div_1);
|
|
61301
61371
|
};
|
|
61302
61372
|
var alternate = ($$anchor2) => {
|
|
61303
|
-
var button_2 =
|
|
61373
|
+
var button_2 = root_1162();
|
|
61304
61374
|
$266.delegated("click", button_2, handleExpand);
|
|
61305
61375
|
$266.append($$anchor2, button_2);
|
|
61306
61376
|
};
|
|
@@ -61344,7 +61414,7 @@ var rest_excludes122 = new Set([
|
|
|
61344
61414
|
"class"
|
|
61345
61415
|
]);
|
|
61346
61416
|
var root153 = $267.from_html(`<span class="cinder-share-card__action-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-share-card__icon"><polyline points="20,6 9,17 4,12"></polyline></svg></span> `, 1);
|
|
61347
|
-
var
|
|
61417
|
+
var root_1163 = $267.from_html(`<span class="cinder-share-card__action-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-share-card__icon"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg></span> <!>`, 1);
|
|
61348
61418
|
var root_2106 = $267.from_html(`<button type="button" class="cinder-share-card__action"><!></button>`);
|
|
61349
61419
|
var root_384 = $267.from_html(`<span class="cinder-share-card__action-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-share-card__icon"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span> <!>`, 1);
|
|
61350
61420
|
var root_459 = $267.from_html(`<div class="cinder-share-card__preview"><!></div>`);
|
|
@@ -61354,7 +61424,7 @@ var root_726 = $267.from_html(`<div class="cinder-share-card__meta"><!> <!></div
|
|
|
61354
61424
|
var root_822 = $267.from_html(`<div><!> <!> <div class="cinder-share-card__value"><span class="cinder-share-card__value-text"> </span></div> <div class="cinder-share-card__actions" role="group" aria-label="Share actions"><!> <!></div></div> <!>`, 1);
|
|
61355
61425
|
function Share_card($$anchor, $$props) {
|
|
61356
61426
|
$267.push($$props, true);
|
|
61357
|
-
const shareButton = ($$anchor2,
|
|
61427
|
+
const shareButton = ($$anchor2, action3 = $267.noop) => {
|
|
61358
61428
|
const shareCopied = $267.derived(() => $267.get(copiedKey) === "share-fallback");
|
|
61359
61429
|
var button = root_2106();
|
|
61360
61430
|
var node = $267.child(button);
|
|
@@ -61366,22 +61436,22 @@ function Share_card($$anchor, $$props) {
|
|
|
61366
61436
|
$267.append($$anchor3, fragment);
|
|
61367
61437
|
};
|
|
61368
61438
|
var alternate_1 = ($$anchor3) => {
|
|
61369
|
-
var fragment_1 =
|
|
61439
|
+
var fragment_1 = root_1163();
|
|
61370
61440
|
var node_1 = $267.sibling($267.first_child(fragment_1), 2);
|
|
61371
61441
|
{
|
|
61372
61442
|
var consequent_1 = ($$anchor4) => {
|
|
61373
61443
|
var fragment_2 = $267.comment();
|
|
61374
61444
|
var node_2 = $267.first_child(fragment_2);
|
|
61375
|
-
$267.snippet(node_2, () =>
|
|
61445
|
+
$267.snippet(node_2, () => action3().labelSnippet);
|
|
61376
61446
|
$267.append($$anchor4, fragment_2);
|
|
61377
61447
|
};
|
|
61378
61448
|
var alternate = ($$anchor4) => {
|
|
61379
61449
|
var text_2 = $267.text();
|
|
61380
|
-
$267.template_effect(() => $267.set_text(text_2,
|
|
61450
|
+
$267.template_effect(() => $267.set_text(text_2, action3().label));
|
|
61381
61451
|
$267.append($$anchor4, text_2);
|
|
61382
61452
|
};
|
|
61383
61453
|
$267.if(node_1, ($$render) => {
|
|
61384
|
-
if (
|
|
61454
|
+
if (action3().labelSnippet)
|
|
61385
61455
|
$$render(consequent_1);
|
|
61386
61456
|
else
|
|
61387
61457
|
$$render(alternate, -1);
|
|
@@ -61398,17 +61468,17 @@ function Share_card($$anchor, $$props) {
|
|
|
61398
61468
|
}
|
|
61399
61469
|
$267.reset(button);
|
|
61400
61470
|
$267.template_effect(() => {
|
|
61401
|
-
$267.set_attribute(button, "data-cinder-action",
|
|
61471
|
+
$267.set_attribute(button, "data-cinder-action", action3().key);
|
|
61402
61472
|
$267.set_attribute(button, "data-cinder-copied", $267.get(shareCopied) ? "" : undefined);
|
|
61403
|
-
$267.set_attribute(button, "aria-label", $267.get(shareCopied) ? copiedLabel() :
|
|
61473
|
+
$267.set_attribute(button, "aria-label", $267.get(shareCopied) ? copiedLabel() : action3().label);
|
|
61404
61474
|
});
|
|
61405
61475
|
$267.delegated("click", button, () => {
|
|
61406
|
-
|
|
61476
|
+
action3().onclick?.();
|
|
61407
61477
|
handleNativeShare();
|
|
61408
61478
|
});
|
|
61409
61479
|
$267.append($$anchor2, button);
|
|
61410
61480
|
};
|
|
61411
|
-
const copyButton = ($$anchor2,
|
|
61481
|
+
const copyButton = ($$anchor2, action3 = $267.noop) => {
|
|
61412
61482
|
var button_1 = root_2106();
|
|
61413
61483
|
var node_3 = $267.child(button_1);
|
|
61414
61484
|
{
|
|
@@ -61425,16 +61495,16 @@ function Share_card($$anchor, $$props) {
|
|
|
61425
61495
|
var consequent_3 = ($$anchor4) => {
|
|
61426
61496
|
var fragment_6 = $267.comment();
|
|
61427
61497
|
var node_5 = $267.first_child(fragment_6);
|
|
61428
|
-
$267.snippet(node_5, () =>
|
|
61498
|
+
$267.snippet(node_5, () => action3().labelSnippet);
|
|
61429
61499
|
$267.append($$anchor4, fragment_6);
|
|
61430
61500
|
};
|
|
61431
61501
|
var alternate_2 = ($$anchor4) => {
|
|
61432
61502
|
var text_4 = $267.text();
|
|
61433
|
-
$267.template_effect(() => $267.set_text(text_4,
|
|
61503
|
+
$267.template_effect(() => $267.set_text(text_4, action3().label));
|
|
61434
61504
|
$267.append($$anchor4, text_4);
|
|
61435
61505
|
};
|
|
61436
61506
|
$267.if(node_4, ($$render) => {
|
|
61437
|
-
if (
|
|
61507
|
+
if (action3().labelSnippet)
|
|
61438
61508
|
$$render(consequent_3);
|
|
61439
61509
|
else
|
|
61440
61510
|
$$render(alternate_2, -1);
|
|
@@ -61443,7 +61513,7 @@ function Share_card($$anchor, $$props) {
|
|
|
61443
61513
|
$267.append($$anchor3, fragment_5);
|
|
61444
61514
|
};
|
|
61445
61515
|
$267.if(node_3, ($$render) => {
|
|
61446
|
-
if ($267.get(copiedKey) ===
|
|
61516
|
+
if ($267.get(copiedKey) === action3().key)
|
|
61447
61517
|
$$render(consequent_2);
|
|
61448
61518
|
else
|
|
61449
61519
|
$$render(alternate_3, -1);
|
|
@@ -61451,14 +61521,14 @@ function Share_card($$anchor, $$props) {
|
|
|
61451
61521
|
}
|
|
61452
61522
|
$267.reset(button_1);
|
|
61453
61523
|
$267.template_effect(() => {
|
|
61454
|
-
$267.set_attribute(button_1, "data-cinder-action",
|
|
61455
|
-
$267.set_attribute(button_1, "data-cinder-copied", $267.get(copiedKey) ===
|
|
61456
|
-
$267.set_attribute(button_1, "aria-label", $267.get(copiedKey) ===
|
|
61524
|
+
$267.set_attribute(button_1, "data-cinder-action", action3().key);
|
|
61525
|
+
$267.set_attribute(button_1, "data-cinder-copied", $267.get(copiedKey) === action3().key ? "" : undefined);
|
|
61526
|
+
$267.set_attribute(button_1, "aria-label", $267.get(copiedKey) === action3().key ? copiedLabel() : action3().label);
|
|
61457
61527
|
});
|
|
61458
61528
|
$267.delegated("click", button_1, () => {
|
|
61459
|
-
|
|
61460
|
-
if (
|
|
61461
|
-
handleCopy(
|
|
61529
|
+
action3().onclick?.();
|
|
61530
|
+
if (action3().copyValue !== undefined) {
|
|
61531
|
+
handleCopy(action3().key, action3().copyValue);
|
|
61462
61532
|
}
|
|
61463
61533
|
});
|
|
61464
61534
|
$267.append($$anchor2, button_1);
|
|
@@ -61615,18 +61685,18 @@ function Share_card($$anchor, $$props) {
|
|
|
61615
61685
|
$267.reset(div_3);
|
|
61616
61686
|
var div_4 = $267.sibling(div_3, 2);
|
|
61617
61687
|
var node_11 = $267.child(div_4);
|
|
61618
|
-
$267.each(node_11, 17, () => $267.get(resolvedActions), (
|
|
61688
|
+
$267.each(node_11, 17, () => $267.get(resolvedActions), (action3) => action3.key, ($$anchor2, action3) => {
|
|
61619
61689
|
var fragment_9 = $267.comment();
|
|
61620
61690
|
var node_12 = $267.first_child(fragment_9);
|
|
61621
61691
|
{
|
|
61622
61692
|
var consequent_8 = ($$anchor3) => {
|
|
61623
|
-
shareButton($$anchor3, () => $267.get(
|
|
61693
|
+
shareButton($$anchor3, () => $267.get(action3));
|
|
61624
61694
|
};
|
|
61625
61695
|
var alternate_4 = ($$anchor3) => {
|
|
61626
|
-
copyButton($$anchor3, () => $267.get(
|
|
61696
|
+
copyButton($$anchor3, () => $267.get(action3));
|
|
61627
61697
|
};
|
|
61628
61698
|
$267.if(node_12, ($$render) => {
|
|
61629
|
-
if ($267.get(
|
|
61699
|
+
if ($267.get(action3).key === "native-share" || $267.get(action3).nativeShareEnabled)
|
|
61630
61700
|
$$render(consequent_8);
|
|
61631
61701
|
else
|
|
61632
61702
|
$$render(alternate_4, -1);
|
|
@@ -61685,7 +61755,7 @@ var rest_excludes123 = new Set([
|
|
|
61685
61755
|
"class"
|
|
61686
61756
|
]);
|
|
61687
61757
|
var root154 = $268.from_html(`<span class="cinder-shortcut-hint__label"><!></span>`);
|
|
61688
|
-
var
|
|
61758
|
+
var root_1164 = $268.from_html(`<span class="cinder-shortcut-hint__separator">+</span>`);
|
|
61689
61759
|
var root_2107 = $268.from_html(`<!> <!>`, 1);
|
|
61690
61760
|
var root_385 = $268.from_html(`<span><!> <span class="cinder-shortcut-hint__keys" aria-hidden="true"></span> <span class="cinder-sr-only"> </span> <!></span>`);
|
|
61691
61761
|
function Shortcut_hint($$anchor, $$props) {
|
|
@@ -61721,7 +61791,7 @@ function Shortcut_hint($$anchor, $$props) {
|
|
|
61721
61791
|
var node_3 = $268.sibling(node_2, 2);
|
|
61722
61792
|
{
|
|
61723
61793
|
var consequent_1 = ($$anchor3) => {
|
|
61724
|
-
var span_3 =
|
|
61794
|
+
var span_3 = root_1164();
|
|
61725
61795
|
$268.append($$anchor3, span_3);
|
|
61726
61796
|
};
|
|
61727
61797
|
$268.if(node_3, ($$render) => {
|
|
@@ -61784,7 +61854,7 @@ var rest_excludes124 = new Set([
|
|
|
61784
61854
|
"children"
|
|
61785
61855
|
]);
|
|
61786
61856
|
var root155 = $269.from_html(`<span class="cinder-side-navigation-group__icon" aria-hidden="true"><!></span>`);
|
|
61787
|
-
var
|
|
61857
|
+
var root_1165 = $269.from_html(`<span class="cinder-side-navigation-group__badge"><!></span>`);
|
|
61788
61858
|
var root_2108 = $269.from_html(`<li><button type="button" class="cinder-side-navigation-group__trigger"><!> <span class="cinder-side-navigation-group__label"> </span> <!> <svg class="cinder-side-navigation-group__chevron" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" focusable="false"><path fill-rule="evenodd" d="M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06z" clip-rule="evenodd"></path></svg></button> <ul class="cinder-side-navigation-group__panel"><!></ul></li>`);
|
|
61789
61859
|
function Side_navigation_group($$anchor, $$props) {
|
|
61790
61860
|
const generatedId = $269.props_id();
|
|
@@ -61872,7 +61942,7 @@ function Side_navigation_group($$anchor, $$props) {
|
|
|
61872
61942
|
var node_2 = $269.sibling(span_1, 2);
|
|
61873
61943
|
{
|
|
61874
61944
|
var consequent_1 = ($$anchor2) => {
|
|
61875
|
-
var span_2 =
|
|
61945
|
+
var span_2 = root_1165();
|
|
61876
61946
|
var node_3 = $269.child(span_2);
|
|
61877
61947
|
$269.snippet(node_3, () => $$props.badge);
|
|
61878
61948
|
$269.reset(span_2);
|
|
@@ -62025,7 +62095,7 @@ var rest_excludes127 = new Set([
|
|
|
62025
62095
|
"aria-labelledby"
|
|
62026
62096
|
]);
|
|
62027
62097
|
var root158 = $272.from_html(`<div class="cinder-sidebar__nav"><!></div>`);
|
|
62028
|
-
var
|
|
62098
|
+
var root_1166 = $272.from_html(`<div><!></div>`);
|
|
62029
62099
|
var root_2109 = $272.from_html(`<!> <!>`, 1);
|
|
62030
62100
|
var root_386 = $272.from_html(`<aside><!></aside>`);
|
|
62031
62101
|
function Sidebar($$anchor, $$props) {
|
|
@@ -62049,7 +62119,7 @@ function Sidebar($$anchor, $$props) {
|
|
|
62049
62119
|
var node_2 = $272.sibling(node, 2);
|
|
62050
62120
|
{
|
|
62051
62121
|
var consequent_1 = ($$anchor3) => {
|
|
62052
|
-
var div_1 =
|
|
62122
|
+
var div_1 = root_1166();
|
|
62053
62123
|
var node_3 = $272.child(div_1);
|
|
62054
62124
|
$272.snippet(node_3, () => $$props.footer);
|
|
62055
62125
|
$272.reset(div_1);
|
|
@@ -62165,7 +62235,7 @@ function Sidebar($$anchor, $$props) {
|
|
|
62165
62235
|
return $$props.id;
|
|
62166
62236
|
},
|
|
62167
62237
|
children: ($$anchor3, $$slotProps) => {
|
|
62168
|
-
var div_2 =
|
|
62238
|
+
var div_2 = root_1166();
|
|
62169
62239
|
let styles;
|
|
62170
62240
|
var node_7 = $272.child(div_2);
|
|
62171
62241
|
sidebarContents(node_7, () => true);
|
|
@@ -62226,7 +62296,7 @@ import"svelte/internal/disclose-version";
|
|
|
62226
62296
|
import * as $273 from "svelte/internal/client";
|
|
62227
62297
|
import { untrack as untrack29 } from "svelte";
|
|
62228
62298
|
var root159 = $273.from_html(`<div class="cinder-sortable-list__item-content"><!></div>`);
|
|
62229
|
-
var
|
|
62299
|
+
var root_1167 = $273.from_html(`<ul data-cinder-sortable-list="" role="list"><li role="presentation" class="cinder-sr-only">Press Space to lift, then arrow keys to move, Space to drop, Escape to cancel.</li> <!></ul> <div role="alert" aria-atomic="true" class="cinder-sr-only"> </div>`, 1);
|
|
62230
62300
|
function Sortable_list($$anchor, $$props) {
|
|
62231
62301
|
const instructionsId = $273.props_id();
|
|
62232
62302
|
$273.push($$props, true);
|
|
@@ -62279,7 +62349,7 @@ function Sortable_list($$anchor, $$props) {
|
|
|
62279
62349
|
controller.cancel();
|
|
62280
62350
|
}
|
|
62281
62351
|
}
|
|
62282
|
-
var fragment =
|
|
62352
|
+
var fragment = root_1167();
|
|
62283
62353
|
$273.event("keydown", $273.window, handleWindowKeydown);
|
|
62284
62354
|
var ul = $273.first_child(fragment);
|
|
62285
62355
|
var li = $273.child(ul);
|
|
@@ -62447,7 +62517,7 @@ import"svelte/internal/disclose-version";
|
|
|
62447
62517
|
import * as $276 from "svelte/internal/client";
|
|
62448
62518
|
import { untrack as untrack30 } from "svelte";
|
|
62449
62519
|
var root161 = $276.from_html(`<span class="cinder-sr-only"> </span> <span class="cinder-sr-only"> </span>`, 1);
|
|
62450
|
-
var
|
|
62520
|
+
var root_1168 = $276.from_html(`<span class="cinder-slider__tick"></span>`);
|
|
62451
62521
|
var root_2110 = $276.from_html(`<div class="cinder-slider__ticks" aria-hidden="true"></div>`);
|
|
62452
62522
|
var root_387 = $276.from_html(`<div class="cinder-slider__thumb" data-cinder-slider-thumb="low" role="slider" aria-orientation="horizontal"></div> <div class="cinder-slider__thumb" data-cinder-slider-thumb="high" role="slider" aria-orientation="horizontal"></div>`, 1);
|
|
62453
62523
|
var root_460 = $276.from_html(`<div class="cinder-slider__thumb" data-cinder-slider-thumb="single" role="slider" aria-orientation="horizontal"></div>`);
|
|
@@ -62533,10 +62603,10 @@ function Slider($$anchor, $$props) {
|
|
|
62533
62603
|
if ($276.get(tickList) && $276.get(tickList).length > 0) {
|
|
62534
62604
|
let nearest = $276.get(tickList)[0];
|
|
62535
62605
|
let nearestDelta = Math.abs(clamped - nearest);
|
|
62536
|
-
for (const
|
|
62537
|
-
const delta = Math.abs(clamped -
|
|
62606
|
+
for (const tick22 of $276.get(tickList)) {
|
|
62607
|
+
const delta = Math.abs(clamped - tick22);
|
|
62538
62608
|
if (delta < nearestDelta) {
|
|
62539
|
-
nearest =
|
|
62609
|
+
nearest = tick22;
|
|
62540
62610
|
nearestDelta = delta;
|
|
62541
62611
|
}
|
|
62542
62612
|
}
|
|
@@ -62586,15 +62656,15 @@ function Slider($$anchor, $$props) {
|
|
|
62586
62656
|
if (!$276.get(tickList) || $276.get(tickList).length === 0)
|
|
62587
62657
|
return current;
|
|
62588
62658
|
if (direction === 1) {
|
|
62589
|
-
for (const
|
|
62590
|
-
if (
|
|
62591
|
-
return
|
|
62659
|
+
for (const tick22 of $276.get(tickList))
|
|
62660
|
+
if (tick22 > current)
|
|
62661
|
+
return tick22;
|
|
62592
62662
|
return $276.get(tickList).at(-1) ?? current;
|
|
62593
62663
|
}
|
|
62594
62664
|
for (let index4 = $276.get(tickList).length - 1;index4 >= 0; index4--) {
|
|
62595
|
-
const
|
|
62596
|
-
if (
|
|
62597
|
-
return
|
|
62665
|
+
const tick22 = $276.get(tickList)[index4];
|
|
62666
|
+
if (tick22 < current)
|
|
62667
|
+
return tick22;
|
|
62598
62668
|
}
|
|
62599
62669
|
return $276.get(tickList)[0] ?? current;
|
|
62600
62670
|
}
|
|
@@ -62815,11 +62885,11 @@ function Slider($$anchor, $$props) {
|
|
|
62815
62885
|
{
|
|
62816
62886
|
var consequent_1 = ($$anchor2) => {
|
|
62817
62887
|
var div_3 = root_2110();
|
|
62818
|
-
$276.each(div_3, 20, () => $276.get(tickMarks), (
|
|
62819
|
-
var span_2 =
|
|
62888
|
+
$276.each(div_3, 20, () => $276.get(tickMarks), (tick22) => tick22, ($$anchor3, tick22) => {
|
|
62889
|
+
var span_2 = root_1168();
|
|
62820
62890
|
let styles_1;
|
|
62821
62891
|
$276.template_effect(($0) => styles_1 = $276.set_style(span_2, "", styles_1, $0), [
|
|
62822
|
-
() => ({ "--_cinder-slider-tick": `${percentOf(
|
|
62892
|
+
() => ({ "--_cinder-slider-tick": `${percentOf(tick22) ?? ""}%` })
|
|
62823
62893
|
]);
|
|
62824
62894
|
$276.append($$anchor3, span_2);
|
|
62825
62895
|
});
|
|
@@ -63632,7 +63702,7 @@ var rest_excludes128 = new Set([
|
|
|
63632
63702
|
"class"
|
|
63633
63703
|
]);
|
|
63634
63704
|
var root162 = $277.from_html(`<div class="cinder-source-diff-viewer__empty"><!></div>`);
|
|
63635
|
-
var
|
|
63705
|
+
var root_1169 = $277.from_html(`<p class="cinder-source-diff-viewer__empty">No patch lines to display.</p>`);
|
|
63636
63706
|
var root_2111 = $277.from_html(`<div class="cinder-source-diff-viewer__notice" role="status"> </div>`);
|
|
63637
63707
|
var root_388 = $277.from_html(`<code> </code>`);
|
|
63638
63708
|
var root_461 = $277.from_html(`<div class="cinder-source-diff-viewer__metadata" role="group" aria-label="File metadata"></div>`);
|
|
@@ -63680,7 +63750,7 @@ function Source_diff_viewer($$anchor, $$props) {
|
|
|
63680
63750
|
$277.append($$anchor3, div_1);
|
|
63681
63751
|
};
|
|
63682
63752
|
var alternate = ($$anchor3) => {
|
|
63683
|
-
var p =
|
|
63753
|
+
var p = root_1169();
|
|
63684
63754
|
$277.append($$anchor3, p);
|
|
63685
63755
|
};
|
|
63686
63756
|
$277.if(node_1, ($$render) => {
|
|
@@ -63849,7 +63919,7 @@ var rest_excludes129 = new Set([
|
|
|
63849
63919
|
"hreflang"
|
|
63850
63920
|
]);
|
|
63851
63921
|
var root163 = $278.from_html(`<div class="cinder-stacked-list-item__leading"><!></div>`);
|
|
63852
|
-
var
|
|
63922
|
+
var root_1170 = $278.from_html(`<a class="cinder-stacked-list-item__title-link"><!></a>`);
|
|
63853
63923
|
var root_2112 = $278.from_html(`<div class="cinder-stacked-list-item__description"><!></div>`);
|
|
63854
63924
|
var root_389 = $278.from_html(`<div class="cinder-stacked-list-item__meta"><!></div>`);
|
|
63855
63925
|
var root_462 = $278.from_html(`<div class="cinder-stacked-list-item__trailing"><!></div>`);
|
|
@@ -63896,7 +63966,7 @@ function Stacked_list_item($$anchor, $$props) {
|
|
|
63896
63966
|
var node_2 = $278.child(div_3);
|
|
63897
63967
|
{
|
|
63898
63968
|
var consequent_1 = ($$anchor2) => {
|
|
63899
|
-
var a =
|
|
63969
|
+
var a = root_1170();
|
|
63900
63970
|
var node_3 = $278.child(a);
|
|
63901
63971
|
$278.snippet(node_3, () => $$props.title);
|
|
63902
63972
|
$278.reset(a);
|
|
@@ -63999,7 +64069,7 @@ var rest_excludes130 = new Set([
|
|
|
63999
64069
|
"id"
|
|
64000
64070
|
]);
|
|
64001
64071
|
var root164 = $279.from_html(`<p class="cinder-spectrogram__description"> </p>`);
|
|
64002
|
-
var
|
|
64072
|
+
var root_1171 = $279.from_html(`<div class="cinder-spectrogram__state"><!></div>`);
|
|
64003
64073
|
var root_2113 = $279.from_svg(`<title> </title>`);
|
|
64004
64074
|
var root_390 = $279.from_svg(`<rect class="cinder-spectrogram__cell" aria-hidden="true"></rect>`);
|
|
64005
64075
|
var root_463 = $279.from_svg(`<text class="cinder-spectrogram__tick-label" text-anchor="end" dominant-baseline="middle"> </text>`);
|
|
@@ -64009,7 +64079,7 @@ var root_729 = $279.from_html(`<th scope="col"> </th>`);
|
|
|
64009
64079
|
var root_824 = $279.from_html(`<td> </td>`);
|
|
64010
64080
|
var root_917 = $279.from_html(`<tr><th scope="row"> </th><!></tr>`);
|
|
64011
64081
|
var root_1013 = $279.from_html(`<table><caption> </caption><thead><tr><th scope="col">Frequency bin</th><!></tr></thead><tbody></tbody></table>`);
|
|
64012
|
-
var
|
|
64082
|
+
var root_1149 = $279.from_html(`<figure><!> <div class="cinder-spectrogram__viewport"><!> <svg role="img"><!><!></svg></div> <!></figure>`);
|
|
64013
64083
|
function Spectrogram($$anchor, $$props) {
|
|
64014
64084
|
const generatedId = $279.props_id();
|
|
64015
64085
|
$279.push($$props, true);
|
|
@@ -64111,7 +64181,7 @@ function Spectrogram($$anchor, $$props) {
|
|
|
64111
64181
|
return "—";
|
|
64112
64182
|
return new Intl.NumberFormat(undefined, { maximumFractionDigits: 3 }).format(value);
|
|
64113
64183
|
}
|
|
64114
|
-
var figure =
|
|
64184
|
+
var figure = root_1149();
|
|
64115
64185
|
$279.attribute_effect(figure, ($0) => ({
|
|
64116
64186
|
...rest,
|
|
64117
64187
|
id: $279.get(rootId),
|
|
@@ -64147,7 +64217,7 @@ function Spectrogram($$anchor, $$props) {
|
|
|
64147
64217
|
var node_1 = $279.child(div);
|
|
64148
64218
|
{
|
|
64149
64219
|
var consequent_2 = ($$anchor2) => {
|
|
64150
|
-
var div_1 =
|
|
64220
|
+
var div_1 = root_1171();
|
|
64151
64221
|
var node_2 = $279.child(div_1);
|
|
64152
64222
|
{
|
|
64153
64223
|
var consequent_1 = ($$anchor3) => {
|
|
@@ -64171,7 +64241,7 @@ function Spectrogram($$anchor, $$props) {
|
|
|
64171
64241
|
$279.append($$anchor2, div_1);
|
|
64172
64242
|
};
|
|
64173
64243
|
var consequent_4 = ($$anchor2) => {
|
|
64174
|
-
var div_2 =
|
|
64244
|
+
var div_2 = root_1171();
|
|
64175
64245
|
var node_4 = $279.child(div_2);
|
|
64176
64246
|
{
|
|
64177
64247
|
var consequent_3 = ($$anchor3) => {
|
|
@@ -64393,7 +64463,7 @@ var rest_excludes131 = new Set([
|
|
|
64393
64463
|
"id"
|
|
64394
64464
|
]);
|
|
64395
64465
|
var root165 = $280.from_html(`<p class="cinder-spectrum-chart__description"> </p>`);
|
|
64396
|
-
var
|
|
64466
|
+
var root_1172 = $280.from_html(`<div class="cinder-spectrum-chart__state"><!></div>`);
|
|
64397
64467
|
var root_2114 = $280.from_svg(`<title> </title>`);
|
|
64398
64468
|
var root_391 = $280.from_svg(`<text class="cinder-spectrum-chart__tick-label" text-anchor="end" dominant-baseline="middle"> </text><line class="cinder-spectrum-chart__grid-line" x1="0" aria-hidden="true"></line>`, 1);
|
|
64399
64469
|
var root_464 = $280.from_svg(`<rect class="cinder-spectrum-chart__bar" aria-hidden="true"></rect>`);
|
|
@@ -64446,7 +64516,7 @@ function Spectrum_chart($$anchor, $$props) {
|
|
|
64446
64516
|
const maxXLabels = 8;
|
|
64447
64517
|
const xLabelStep = $280.derived(() => Math.max(1, Math.ceil($$props.bins.length / maxXLabels)));
|
|
64448
64518
|
const xTickLabels = $280.derived(() => $$props.bins.filter((_, index6) => index6 % $280.get(xLabelStep) === 0).map((bin) => bin.label));
|
|
64449
|
-
const yTickLabels = $280.derived(() => $280.get(yTicks).map((
|
|
64519
|
+
const yTickLabels = $280.derived(() => $280.get(yTicks).map((tick22, index6) => formatNumericValue(tick22, undefined, undefined, { index: index6 })));
|
|
64450
64520
|
const geometry = $280.derived(() => createChartGeometry($280.get(measuredWidth), height(), {
|
|
64451
64521
|
xTickLabels: $280.get(xTickLabels),
|
|
64452
64522
|
yTickLabels: $280.get(yTickLabels),
|
|
@@ -64517,7 +64587,7 @@ function Spectrum_chart($$anchor, $$props) {
|
|
|
64517
64587
|
var node_1 = $280.child(div);
|
|
64518
64588
|
{
|
|
64519
64589
|
var consequent_2 = ($$anchor2) => {
|
|
64520
|
-
var div_1 =
|
|
64590
|
+
var div_1 = root_1172();
|
|
64521
64591
|
var node_2 = $280.child(div_1);
|
|
64522
64592
|
{
|
|
64523
64593
|
var consequent_1 = ($$anchor3) => {
|
|
@@ -64541,7 +64611,7 @@ function Spectrum_chart($$anchor, $$props) {
|
|
|
64541
64611
|
$280.append($$anchor2, div_1);
|
|
64542
64612
|
};
|
|
64543
64613
|
var consequent_4 = ($$anchor2) => {
|
|
64544
|
-
var div_2 =
|
|
64614
|
+
var div_2 = root_1172();
|
|
64545
64615
|
var node_4 = $280.child(div_2);
|
|
64546
64616
|
{
|
|
64547
64617
|
var consequent_3 = ($$anchor3) => {
|
|
@@ -64594,7 +64664,7 @@ function Spectrum_chart($$anchor, $$props) {
|
|
|
64594
64664
|
var consequent_7 = ($$anchor2) => {
|
|
64595
64665
|
var g = root_636();
|
|
64596
64666
|
var node_8 = $280.child(g);
|
|
64597
|
-
$280.each(node_8, 17, () => $280.get(yTicks), $280.index, ($$anchor3,
|
|
64667
|
+
$280.each(node_8, 17, () => $280.get(yTicks), $280.index, ($$anchor3, tick22, index6) => {
|
|
64598
64668
|
var fragment_2 = root_391();
|
|
64599
64669
|
var text_4 = $280.first_child(fragment_2);
|
|
64600
64670
|
$280.set_attribute(text_4, "x", -6);
|
|
@@ -64610,10 +64680,10 @@ function Spectrum_chart($$anchor, $$props) {
|
|
|
64610
64680
|
$280.set_attribute(line, "y2", $310);
|
|
64611
64681
|
$280.set_attribute(line, "stroke", $280.get(resolvedTheme).grid);
|
|
64612
64682
|
}, [
|
|
64613
|
-
() => scaleY($280.get(
|
|
64614
|
-
() => formatNumericValue($280.get(
|
|
64615
|
-
() => scaleY($280.get(
|
|
64616
|
-
() => scaleY($280.get(
|
|
64683
|
+
() => scaleY($280.get(tick22)),
|
|
64684
|
+
() => formatNumericValue($280.get(tick22), undefined, undefined, { index: index6 }),
|
|
64685
|
+
() => scaleY($280.get(tick22)),
|
|
64686
|
+
() => scaleY($280.get(tick22))
|
|
64617
64687
|
]);
|
|
64618
64688
|
$280.append($$anchor3, fragment_2);
|
|
64619
64689
|
});
|
|
@@ -64753,7 +64823,7 @@ var rest_excludes132 = new Set([
|
|
|
64753
64823
|
"class"
|
|
64754
64824
|
]);
|
|
64755
64825
|
var root166 = $281.from_html(`<label class="cinder-speed-dial-action__label" aria-hidden="true"> </label>`);
|
|
64756
|
-
var
|
|
64826
|
+
var root_1173 = $281.from_html(`<div><!> <!></div>`);
|
|
64757
64827
|
function Speed_dial_action($$anchor, $$props) {
|
|
64758
64828
|
const fallbackButtonId = $281.props_id();
|
|
64759
64829
|
$281.push($$props, true);
|
|
@@ -64775,7 +64845,7 @@ function Speed_dial_action($$anchor, $$props) {
|
|
|
64775
64845
|
context.register(button);
|
|
64776
64846
|
return () => context.unregister(button);
|
|
64777
64847
|
});
|
|
64778
|
-
var div =
|
|
64848
|
+
var div = root_1173();
|
|
64779
64849
|
var node = $281.child(div);
|
|
64780
64850
|
Floating_action(node, $281.spread_props(() => rest, {
|
|
64781
64851
|
get id() {
|
|
@@ -65446,7 +65516,7 @@ var rest_excludes134 = new Set([
|
|
|
65446
65516
|
"class"
|
|
65447
65517
|
]);
|
|
65448
65518
|
var root168 = $283.from_html(`<span class="cinder-sparkbar__trailing"> </span>`);
|
|
65449
|
-
var
|
|
65519
|
+
var root_1174 = $283.from_html(`<div><div class="cinder-sparkbar__row"><span class="cinder-sparkbar__label"> </span> <!></div> <div class="cinder-sparkbar__track" aria-hidden="true"><div class="cinder-sparkbar__fill"></div></div></div>`);
|
|
65450
65520
|
function Sparkbar($$anchor, $$props) {
|
|
65451
65521
|
$283.push($$props, true);
|
|
65452
65522
|
let max2 = $283.prop($$props, "max", 3, 1), size3 = $283.prop($$props, "size", 3, "md"), variant = $283.prop($$props, "variant", 3, "accent"), rest = $283.rest_props($$props, rest_excludes134);
|
|
@@ -65459,7 +65529,7 @@ function Sparkbar($$anchor, $$props) {
|
|
|
65459
65529
|
const accessibleName = $283.derived(() => $283.get(normalizedAriaLabel) ?? `${$$props.label}, ${$283.get(percent)}%`);
|
|
65460
65530
|
const accessibleValueText = $283.derived(() => $283.get(normalizedAriaValueText) ?? $283.get(normalizedTrailing));
|
|
65461
65531
|
const resolvedTheme = $283.derived(() => resolveChartTheme($$props.theme));
|
|
65462
|
-
var div =
|
|
65532
|
+
var div = root_1174();
|
|
65463
65533
|
$283.attribute_effect(div, ($0, $1) => ({
|
|
65464
65534
|
...rest,
|
|
65465
65535
|
class: $0,
|
|
@@ -65578,7 +65648,7 @@ var stepBody = ($$anchor, bodyLabel = $284.noop, bodyDescription = $284.noop, bo
|
|
|
65578
65648
|
var node_3 = $284.sibling(span_3, 2);
|
|
65579
65649
|
{
|
|
65580
65650
|
var consequent_4 = ($$anchor2) => {
|
|
65581
|
-
var span_4 =
|
|
65651
|
+
var span_4 = root_1175();
|
|
65582
65652
|
var node_4 = $284.child(span_4);
|
|
65583
65653
|
{
|
|
65584
65654
|
var consequent_3 = ($$anchor3) => {
|
|
@@ -65623,7 +65693,7 @@ var rest_excludes135 = new Set([
|
|
|
65623
65693
|
"class"
|
|
65624
65694
|
]);
|
|
65625
65695
|
var root169 = $284.from_html(`<span class="cinder-steps__sr-only"> </span> <span class="cinder-steps__sr-only-separator"></span>`, 1);
|
|
65626
|
-
var
|
|
65696
|
+
var root_1175 = $284.from_html(`<span class="cinder-steps__description"><!></span>`);
|
|
65627
65697
|
var root_2115 = $284.from_html(`<span class="cinder-steps__body-content"><!> <span class="cinder-steps__label"><!></span> <!></span>`);
|
|
65628
65698
|
var root_392 = $284.from_html(`<span class="cinder-steps__index"> </span>`);
|
|
65629
65699
|
var root_465 = $284.from_html(`<a class="cinder-steps__interactive cinder-steps__body"><!></a>`);
|
|
@@ -65778,7 +65848,7 @@ var rest_excludes136 = new Set([
|
|
|
65778
65848
|
"id"
|
|
65779
65849
|
]);
|
|
65780
65850
|
var root170 = $285.from_html(`<span class="cinder-statistic__icon" aria-hidden="true"><!></span>`);
|
|
65781
|
-
var
|
|
65851
|
+
var root_1176 = $285.from_html(`<span class="cinder-statistic__change-description" aria-hidden="true"> </span>`);
|
|
65782
65852
|
var root_2116 = $285.from_html(`<span class="cinder-statistic__change"><span class="cinder-sr-only"> </span> <span class="cinder-statistic__change-icon" aria-hidden="true"> </span> <span class="cinder-statistic__change-value" aria-hidden="true"> </span> <!></span>`);
|
|
65783
65853
|
var root_393 = $285.from_html(`<div><!> <span class="cinder-statistic__label"> </span> <span class="cinder-statistic__value"> </span> <!></div>`);
|
|
65784
65854
|
function Statistic($$anchor, $$props) {
|
|
@@ -65858,7 +65928,7 @@ function Statistic($$anchor, $$props) {
|
|
|
65858
65928
|
var node_3 = $285.sibling(span_6, 2);
|
|
65859
65929
|
{
|
|
65860
65930
|
var consequent_1 = ($$anchor3) => {
|
|
65861
|
-
var span_7 =
|
|
65931
|
+
var span_7 = root_1176();
|
|
65862
65932
|
var text_5 = $285.child(span_7, true);
|
|
65863
65933
|
$285.reset(span_7);
|
|
65864
65934
|
$285.template_effect(() => $285.set_text(text_5, $$props.change.description));
|
|
@@ -66023,7 +66093,7 @@ import"@lostgradient/cinder/tag-input/styles";
|
|
|
66023
66093
|
// src/components/tag-input/tag-input.svelte
|
|
66024
66094
|
import"svelte/internal/disclose-version";
|
|
66025
66095
|
import * as $288 from "svelte/internal/client";
|
|
66026
|
-
import { flushSync, tick as
|
|
66096
|
+
import { flushSync, tick as tick22, untrack as untrack32 } from "svelte";
|
|
66027
66097
|
var rest_excludes139 = new Set([
|
|
66028
66098
|
"$$slots",
|
|
66029
66099
|
"$$events",
|
|
@@ -66051,7 +66121,7 @@ var rest_excludes139 = new Set([
|
|
|
66051
66121
|
"onValueChange"
|
|
66052
66122
|
]);
|
|
66053
66123
|
var root173 = $288.from_html(`<button type="button" class="cinder-tag-input__remove"><span aria-hidden="true">×</span></button>`);
|
|
66054
|
-
var
|
|
66124
|
+
var root_1177 = $288.from_html(`<li class="cinder-tag-input__chip"><span class="cinder-tag-input__chip-label"> </span> <!></li>`);
|
|
66055
66125
|
var root_2117 = $288.from_html(`<p class="cinder-tag-input__error" aria-live="polite"> </p>`);
|
|
66056
66126
|
var root_394 = $288.from_html(`<input type="hidden"/>`);
|
|
66057
66127
|
var root_466 = $288.from_html(`<div><div class="cinder-tag-input__control"><ul class="cinder-tag-input__listbox"></ul> <input/></div> <!> <!> <!></div>`);
|
|
@@ -66150,12 +66220,12 @@ function Tag_input($$anchor, $$props) {
|
|
|
66150
66220
|
return Array.from($288.get(rootElement)?.querySelectorAll(".cinder-tag-input__remove") ?? []);
|
|
66151
66221
|
}
|
|
66152
66222
|
async function focusChip(index6) {
|
|
66153
|
-
await
|
|
66223
|
+
await tick22();
|
|
66154
66224
|
const chip = getChipElements()[index6];
|
|
66155
66225
|
chip?.focus();
|
|
66156
66226
|
}
|
|
66157
66227
|
async function focusInput() {
|
|
66158
|
-
await
|
|
66228
|
+
await tick22();
|
|
66159
66229
|
$288.get(inputElement)?.focus();
|
|
66160
66230
|
}
|
|
66161
66231
|
function setTags(nextTags) {
|
|
@@ -66283,7 +66353,7 @@ function Tag_input($$anchor, $$props) {
|
|
|
66283
66353
|
var div_1 = $288.child(div);
|
|
66284
66354
|
var ul = $288.child(div_1);
|
|
66285
66355
|
$288.each(ul, 23, () => $288.get(currentTags), (tag, index6) => `${index6}:${tag}`, ($$anchor2, tag, index6) => {
|
|
66286
|
-
var li =
|
|
66356
|
+
var li = root_1177();
|
|
66287
66357
|
var span = $288.child(li);
|
|
66288
66358
|
var text49 = $288.child(span, true);
|
|
66289
66359
|
$288.reset(span);
|
|
@@ -66813,7 +66883,7 @@ var rest_excludes140 = new Set([
|
|
|
66813
66883
|
"aria-labelledby"
|
|
66814
66884
|
]);
|
|
66815
66885
|
var root174 = $291.from_html(`<li class="cinder-table-of-contents__item"><a> </a> <!></li>`);
|
|
66816
|
-
var
|
|
66886
|
+
var root_1178 = $291.from_html(`<ul></ul>`);
|
|
66817
66887
|
var root_2118 = $291.from_html(`<nav><!></nav>`);
|
|
66818
66888
|
function Table_of_contents($$anchor, $$props) {
|
|
66819
66889
|
$291.push($$props, true);
|
|
@@ -66884,7 +66954,7 @@ function Table_of_contents($$anchor, $$props) {
|
|
|
66884
66954
|
{
|
|
66885
66955
|
const renderItems = ($$anchor3, entries = $291.noop, $$arg1) => {
|
|
66886
66956
|
let nested = $291.derived_safe_equal(() => $291.fallback($$arg1?.(), false));
|
|
66887
|
-
var ul =
|
|
66957
|
+
var ul = root_1178();
|
|
66888
66958
|
$291.each(ul, 21, entries, (entry) => entry.id, ($$anchor4, entry) => {
|
|
66889
66959
|
var li = root174();
|
|
66890
66960
|
var a = $291.child(li);
|
|
@@ -66966,7 +67036,7 @@ var getToastContext = getToastContextStrict;
|
|
|
66966
67036
|
|
|
66967
67037
|
// src/components/toast-region/toast-region.svelte
|
|
66968
67038
|
var root175 = $292.from_html(`<div class="cinder-toast__icon" aria-hidden="true"><!></div>`);
|
|
66969
|
-
var
|
|
67039
|
+
var root_1179 = $292.from_html(`<span class="cinder-toast__spinner" aria-hidden="true"></span>`);
|
|
66970
67040
|
var root_2119 = $292.from_html(`<button type="button" class="cinder-toast__action"> </button>`);
|
|
66971
67041
|
var root_395 = $292.from_html(`<button type="button" class="cinder-toast__dismiss"><svg viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"></path></svg></button>`);
|
|
66972
67042
|
var root_467 = $292.from_html(`<div class="cinder-toast-shell"><div class="cinder-toast" role="group" aria-label="Notification"><!> <!> <div class="cinder-toast__message"> </div> <!> <!></div></div>`);
|
|
@@ -67026,7 +67096,7 @@ function Toast_region($$anchor, $$props) {
|
|
|
67026
67096
|
var node_3 = $292.sibling(node, 2);
|
|
67027
67097
|
{
|
|
67028
67098
|
var consequent_5 = ($$anchor3) => {
|
|
67029
|
-
var span =
|
|
67099
|
+
var span = root_1179();
|
|
67030
67100
|
$292.append($$anchor3, span);
|
|
67031
67101
|
};
|
|
67032
67102
|
$292.if(node_3, ($$render) => {
|
|
@@ -67605,7 +67675,7 @@ import"@lostgradient/cinder/transfer-list/styles";
|
|
|
67605
67675
|
// src/components/transfer-list/transfer-list.svelte
|
|
67606
67676
|
import"svelte/internal/disclose-version";
|
|
67607
67677
|
import * as $293 from "svelte/internal/client";
|
|
67608
|
-
import { tick as
|
|
67678
|
+
import { tick as tick23 } from "svelte";
|
|
67609
67679
|
import { SvelteSet as SvelteSet3 } from "svelte/reactivity";
|
|
67610
67680
|
var rest_excludes141 = new Set([
|
|
67611
67681
|
"$$slots",
|
|
@@ -67619,7 +67689,7 @@ var rest_excludes141 = new Set([
|
|
|
67619
67689
|
"class"
|
|
67620
67690
|
]);
|
|
67621
67691
|
var root176 = $293.from_html(`<span class="cinder-transfer-list__status" aria-hidden="true">Selected</span>`);
|
|
67622
|
-
var
|
|
67692
|
+
var root_1180 = $293.from_html(`<li class="cinder-_option-row cinder-transfer-list__option" role="option"><span> </span> <!></li>`);
|
|
67623
67693
|
var root_2120 = $293.from_html(`<li class="cinder-transfer-list__empty" role="presentation">No items</li>`);
|
|
67624
67694
|
var root_396 = $293.from_html(`<div><div class="cinder-transfer-list__header"><h3 class="cinder-transfer-list__label"> </h3> <span class="cinder-transfer-list__count"> </span></div> <ul class="cinder-transfer-list__list" role="listbox" aria-multiselectable="true" tabindex="0"></ul> <div role="alert" aria-atomic="true" class="cinder-sr-only"> </div></div>`);
|
|
67625
67695
|
function Transfer_list($$anchor, $$props) {
|
|
@@ -67730,7 +67800,7 @@ function Transfer_list($$anchor, $$props) {
|
|
|
67730
67800
|
if (event34.key === " " || event34.key === "Enter") {
|
|
67731
67801
|
event34.preventDefault();
|
|
67732
67802
|
commitSelection(currentId);
|
|
67733
|
-
await
|
|
67803
|
+
await tick23();
|
|
67734
67804
|
}
|
|
67735
67805
|
}
|
|
67736
67806
|
var div = root_396();
|
|
@@ -67745,7 +67815,7 @@ function Transfer_list($$anchor, $$props) {
|
|
|
67745
67815
|
$293.reset(div_1);
|
|
67746
67816
|
var ul = $293.sibling(div_1, 2);
|
|
67747
67817
|
$293.each(ul, 23, () => $293.get(uniqueItems), (item) => item.id, ($$anchor2, item, index6) => {
|
|
67748
|
-
var li =
|
|
67818
|
+
var li = root_1180();
|
|
67749
67819
|
var span_1 = $293.child(li);
|
|
67750
67820
|
var text_2 = $293.child(span_1, true);
|
|
67751
67821
|
$293.reset(span_1);
|
|
@@ -67839,13 +67909,13 @@ var rest_excludes142 = new Set([
|
|
|
67839
67909
|
"marker"
|
|
67840
67910
|
]);
|
|
67841
67911
|
var root177 = $294.from_html(`<div class="cinder-timeline-item__body"><!></div>`);
|
|
67842
|
-
var
|
|
67912
|
+
var root_1181 = $294.from_html(`<li><!> <div class="cinder-timeline-item__event"><span class="cinder-timeline-item__marker" aria-hidden="true" inert=""><!></span> <div class="cinder-timeline-item__content"><header class="cinder-timeline-item__header"><time class="cinder-timeline-item__time"> </time> <span class="cinder-timeline-item__title"> </span></header> <!></div></div></li>`);
|
|
67843
67913
|
function Timeline_item($$anchor, $$props) {
|
|
67844
67914
|
$294.push($$props, true);
|
|
67845
67915
|
let tone = $294.prop($$props, "tone", 3, "info"), connectorAfter = $294.prop($$props, "connectorAfter", 3, "visible"), groupHeaderLevel = $294.prop($$props, "groupHeaderLevel", 3, 3), rest = $294.rest_props($$props, rest_excludes142);
|
|
67846
67916
|
const resolvedGroupHeaderLevel = $294.derived(() => Number.isFinite(Math.trunc(Number(groupHeaderLevel()))) ? Math.min(6, Math.max(1, Math.trunc(Number(groupHeaderLevel())))) : 3);
|
|
67847
67917
|
const groupHeaderTag = $294.derived(() => `h${$294.get(resolvedGroupHeaderLevel)}`);
|
|
67848
|
-
var li =
|
|
67918
|
+
var li = root_1181();
|
|
67849
67919
|
$294.attribute_effect(li, ($0) => ({
|
|
67850
67920
|
...rest,
|
|
67851
67921
|
class: $0,
|
|
@@ -68146,13 +68216,13 @@ import"@lostgradient/cinder/toggle/styles";
|
|
|
68146
68216
|
import"svelte/internal/disclose-version";
|
|
68147
68217
|
import * as $296 from "svelte/internal/client";
|
|
68148
68218
|
var root179 = $296.from_html(`<input type="checkbox" hidden=""/>`);
|
|
68149
|
-
var
|
|
68219
|
+
var root_1182 = $296.from_html(`<button type="button" role="switch"><span aria-hidden="true" class="cinder-toggle__thumb"></span></button> <!>`, 1);
|
|
68150
68220
|
var root_2121 = $296.from_html(`<span class="cinder-toggle-field"><!> <span class="cinder-toggle-field__label" role="presentation"> </span></span>`);
|
|
68151
68221
|
function Toggle($$anchor, $$props) {
|
|
68152
68222
|
const generatedId = $296.props_id();
|
|
68153
68223
|
$296.push($$props, true);
|
|
68154
68224
|
const control = ($$anchor2) => {
|
|
68155
|
-
var fragment =
|
|
68225
|
+
var fragment = root_1182();
|
|
68156
68226
|
var button = $296.first_child(fragment);
|
|
68157
68227
|
var node = $296.sibling(button, 2);
|
|
68158
68228
|
{
|
|
@@ -68720,7 +68790,7 @@ var tryGetTreeItemParentContext = optionalContext(getTreeItemParentContextStrict
|
|
|
68720
68790
|
|
|
68721
68791
|
// src/components/_tree-expand-all/tree-expand-all.svelte
|
|
68722
68792
|
var root183 = $300.from_html(`<button type="button" class="cinder-tree-expand-all__button"> </button>`);
|
|
68723
|
-
var
|
|
68793
|
+
var root_1183 = $300.from_html(`<div><span class="cinder-tree-expand-all__label"> </span> <!> <button type="button" class="cinder-tree-expand-all__button"> </button> <button type="button" class="cinder-tree-expand-all__button"> </button></div>`);
|
|
68724
68794
|
function Tree_expand_all($$anchor, $$props) {
|
|
68725
68795
|
$300.push($$props, true);
|
|
68726
68796
|
let label = $300.prop($$props, "label", 3, "Tree expansion"), expandAllLabel = $300.prop($$props, "expandAllLabel", 3, "Expand all"), expandOneLevelLabel = $300.prop($$props, "expandOneLevelLabel", 3, "Expand one level"), collapseAllLabel = $300.prop($$props, "collapseAllLabel", 3, "Collapse all"), safetyThreshold = $300.prop($$props, "safetyThreshold", 3, 500);
|
|
@@ -68740,7 +68810,7 @@ function Tree_expand_all($$anchor, $$props) {
|
|
|
68740
68810
|
if (!$300.get(collapseDisabled))
|
|
68741
68811
|
context.collapseAll();
|
|
68742
68812
|
}
|
|
68743
|
-
var div =
|
|
68813
|
+
var div = root_1183();
|
|
68744
68814
|
var span = $300.child(div);
|
|
68745
68815
|
var text50 = $300.child(span, true);
|
|
68746
68816
|
$300.reset(span);
|
|
@@ -68839,7 +68909,7 @@ $301.delegate(["click"]);
|
|
|
68839
68909
|
// src/components/tree-item/tree-item.svelte
|
|
68840
68910
|
import"svelte/internal/disclose-version";
|
|
68841
68911
|
import * as $305 from "svelte/internal/client";
|
|
68842
|
-
import { tick as
|
|
68912
|
+
import { tick as tick24, untrack as untrack34 } from "svelte";
|
|
68843
68913
|
|
|
68844
68914
|
// src/components/tree-item/tree-item-async-load.svelte.ts
|
|
68845
68915
|
import * as $302 from "svelte/internal/client";
|
|
@@ -69237,7 +69307,7 @@ class TreeItemRenameController {
|
|
|
69237
69307
|
|
|
69238
69308
|
// src/components/tree-item/tree-item.svelte
|
|
69239
69309
|
var root185 = $305.from_html(`<mark aria-hidden="true" class="cinder-tree-item__highlight"> </mark>`);
|
|
69240
|
-
var
|
|
69310
|
+
var root_1184 = $305.from_html(`<button type="button" class="cinder-tree-item__disclosure" tabindex="-1"><span aria-hidden="true"></span></button>`);
|
|
69241
69311
|
var root_2122 = $305.from_html(`<span class="cinder-tree-item__disclosure-spacer" aria-hidden="true"></span>`);
|
|
69242
69312
|
var root_397 = $305.from_html(`<button type="button" class="cinder-tree-item__drag-handle" tabindex="-1"><span aria-hidden="true">::</span></button>`);
|
|
69243
69313
|
var root_468 = $305.from_html(`<input type="text" class="cinder-tree-item__rename-input"/>`);
|
|
@@ -69352,7 +69422,7 @@ function Tree_item($$anchor, $$props) {
|
|
|
69352
69422
|
if (!$305.get(shouldProbeFilterChildren))
|
|
69353
69423
|
return;
|
|
69354
69424
|
const filterValueAtProbeStart = context.filterValue;
|
|
69355
|
-
|
|
69425
|
+
tick24().then(() => {
|
|
69356
69426
|
if (context.filtering && context.filterValue === filterValueAtProbeStart) {
|
|
69357
69427
|
$305.set(probedFilterValue, filterValueAtProbeStart, true);
|
|
69358
69428
|
}
|
|
@@ -69579,7 +69649,7 @@ function Tree_item($$anchor, $$props) {
|
|
|
69579
69649
|
var node_3 = $305.child(div_1);
|
|
69580
69650
|
{
|
|
69581
69651
|
var consequent_1 = ($$anchor2) => {
|
|
69582
|
-
var button =
|
|
69652
|
+
var button = root_1184();
|
|
69583
69653
|
$305.template_effect(() => {
|
|
69584
69654
|
$305.set_attribute(button, "aria-label", `${$305.get(renderedExpanded) ? "Collapse" : "Expand"} ${$$props.label}`);
|
|
69585
69655
|
$305.set_attribute(button, "aria-expanded", $305.get(renderedExpanded));
|
|
@@ -69790,7 +69860,7 @@ $305.delegate(["keydown", "click", "pointerdown", "dblclick"]);
|
|
|
69790
69860
|
// src/components/tree/tree.svelte
|
|
69791
69861
|
import"svelte/internal/disclose-version";
|
|
69792
69862
|
import * as $311 from "svelte/internal/client";
|
|
69793
|
-
import { tick as
|
|
69863
|
+
import { tick as tick25, untrack as untrack36 } from "svelte";
|
|
69794
69864
|
import { SvelteSet as SvelteSet4 } from "svelte/reactivity";
|
|
69795
69865
|
|
|
69796
69866
|
// src/_internal/tree-autoscroll.svelte.ts
|
|
@@ -70655,7 +70725,7 @@ var rest_excludes147 = new Set([
|
|
|
70655
70725
|
"children"
|
|
70656
70726
|
]);
|
|
70657
70727
|
var root186 = $311.from_html(`<button type="button" class="cinder-tree-item__disclosure" tabindex="-1"><span aria-hidden="true"></span></button>`);
|
|
70658
|
-
var
|
|
70728
|
+
var root_1185 = $311.from_html(`<span class="cinder-tree-item__disclosure-spacer" aria-hidden="true"></span>`);
|
|
70659
70729
|
var root_2123 = $311.from_html(`<input type="checkbox" class="cinder-tree-item__checkbox" tabindex="-1" aria-hidden="true"/>`);
|
|
70660
70730
|
var root_398 = $311.from_html(`<span class="cinder-tree-item__label cinder-_truncate"> </span>`);
|
|
70661
70731
|
var root_469 = $311.from_html(`<div role="treeitem" class="cinder-tree-item cinder-tree-item--virtual" tabindex="-1"><div class="cinder-tree-item__row"><!> <!> <!></div></div>`);
|
|
@@ -70666,7 +70736,7 @@ var root_828 = $311.from_html(`<div class="cinder-tree__selection-controls"><!><
|
|
|
70666
70736
|
var root_921 = $311.from_html(`<div class="cinder-sr-only">Press Control Shift Space to lift the focused item, or Space from the reorder handle. Use
|
|
70667
70737
|
arrow keys to move. Press Space to drop, Escape to cancel.</div>`);
|
|
70668
70738
|
var root_1014 = $311.from_html(`<div class="cinder-tree__empty" role="none">No results</div>`);
|
|
70669
|
-
var
|
|
70739
|
+
var root_1186 = $311.from_html(`<div class="cinder-tree-root"><!> <!> <!> <!> <!> <!> <!></div>`);
|
|
70670
70740
|
var root_1216 = $311.from_html(`<!> <!>`, 1);
|
|
70671
70741
|
function Tree($$anchor, $$props) {
|
|
70672
70742
|
const generatedId = $311.props_id();
|
|
@@ -70695,7 +70765,7 @@ function Tree($$anchor, $$props) {
|
|
|
70695
70765
|
};
|
|
70696
70766
|
var d = $311.derived(() => $311.get(item).branch && !virtualizedFilterForcedOpen($311.get(item)));
|
|
70697
70767
|
var alternate = ($$anchor4) => {
|
|
70698
|
-
var span =
|
|
70768
|
+
var span = root_1185();
|
|
70699
70769
|
$311.append($$anchor4, span);
|
|
70700
70770
|
};
|
|
70701
70771
|
$311.if(node_1, ($$render) => {
|
|
@@ -71058,7 +71128,7 @@ function Tree($$anchor, $$props) {
|
|
|
71058
71128
|
if (!id)
|
|
71059
71129
|
return;
|
|
71060
71130
|
virtualizer.scrollToIndex(index6, { align: "auto" });
|
|
71061
|
-
await
|
|
71131
|
+
await tick25();
|
|
71062
71132
|
$311.set(focusedId, id, true);
|
|
71063
71133
|
$311.get(treeElement)?.focus();
|
|
71064
71134
|
}
|
|
@@ -71120,7 +71190,7 @@ function Tree($$anchor, $$props) {
|
|
|
71120
71190
|
const nextIds = withExpandedIds($311.get(expandableBranchIds));
|
|
71121
71191
|
if (nextIds.length !== expandedIds().length) {
|
|
71122
71192
|
expandedIds(nextIds);
|
|
71123
|
-
await
|
|
71193
|
+
await tick25();
|
|
71124
71194
|
announceExpansion("All items expanded.");
|
|
71125
71195
|
}
|
|
71126
71196
|
return;
|
|
@@ -71132,7 +71202,7 @@ function Tree($$anchor, $$props) {
|
|
|
71132
71202
|
break;
|
|
71133
71203
|
expandedIds(nextIds);
|
|
71134
71204
|
changed = true;
|
|
71135
|
-
await
|
|
71205
|
+
await tick25();
|
|
71136
71206
|
}
|
|
71137
71207
|
if (changed)
|
|
71138
71208
|
announceExpansion("All items expanded.");
|
|
@@ -71165,7 +71235,7 @@ function Tree($$anchor, $$props) {
|
|
|
71165
71235
|
const nextIds2 = withExpandedIds(item.ancestorIds);
|
|
71166
71236
|
if (nextIds2.length !== expandedIds().length) {
|
|
71167
71237
|
expandedIds(nextIds2);
|
|
71168
|
-
await
|
|
71238
|
+
await tick25();
|
|
71169
71239
|
}
|
|
71170
71240
|
focusItem(id);
|
|
71171
71241
|
return;
|
|
@@ -71175,7 +71245,7 @@ function Tree($$anchor, $$props) {
|
|
|
71175
71245
|
const nextIds = withExpandedIds(registry.ancestorsOf(id));
|
|
71176
71246
|
if (nextIds.length !== expandedIds().length) {
|
|
71177
71247
|
expandedIds(nextIds);
|
|
71178
|
-
await
|
|
71248
|
+
await tick25();
|
|
71179
71249
|
}
|
|
71180
71250
|
focusItem(id);
|
|
71181
71251
|
}
|
|
@@ -71677,7 +71747,7 @@ function Tree($$anchor, $$props) {
|
|
|
71677
71747
|
var node_7 = $311.first_child(fragment_3);
|
|
71678
71748
|
{
|
|
71679
71749
|
var consequent_9 = ($$anchor2) => {
|
|
71680
|
-
var div_4 =
|
|
71750
|
+
var div_4 = root_1186();
|
|
71681
71751
|
var node_8 = $311.child(div_4);
|
|
71682
71752
|
{
|
|
71683
71753
|
var consequent_4 = ($$anchor3) => {
|
|
@@ -71825,7 +71895,7 @@ import"@lostgradient/cinder/virtual-list/styles";
|
|
|
71825
71895
|
// src/components/virtual-list/virtual-list.svelte
|
|
71826
71896
|
import"svelte/internal/disclose-version";
|
|
71827
71897
|
import * as $312 from "svelte/internal/client";
|
|
71828
|
-
import { tick as
|
|
71898
|
+
import { tick as tick26 } from "svelte";
|
|
71829
71899
|
var rest_excludes148 = new Set([
|
|
71830
71900
|
"$$slots",
|
|
71831
71901
|
"$$events",
|
|
@@ -71843,7 +71913,7 @@ var rest_excludes148 = new Set([
|
|
|
71843
71913
|
"class"
|
|
71844
71914
|
]);
|
|
71845
71915
|
var root187 = $312.from_html(`<div class="cinder-virtual-list__row"><!></div>`);
|
|
71846
|
-
var
|
|
71916
|
+
var root_1187 = $312.from_html(`<div class="cinder-virtual-list__spacer"><div class="cinder-virtual-list__window"></div></div>`);
|
|
71847
71917
|
function Virtual_list($$anchor, $$props) {
|
|
71848
71918
|
$312.push($$props, true);
|
|
71849
71919
|
let overscan = $312.prop($$props, "overscan", 3, 5), height = $312.prop($$props, "height", 3, "20rem"), stickToBottom = $312.prop($$props, "stickToBottom", 3, false), tabindex = $312.prop($$props, "tabindex", 3, 0), role = $312.prop($$props, "role", 3, "list"), rest = $312.rest_props($$props, rest_excludes148);
|
|
@@ -71898,7 +71968,7 @@ function Virtual_list($$anchor, $$props) {
|
|
|
71898
71968
|
const element19 = $312.get(scrollElement);
|
|
71899
71969
|
if (!stickToBottom() || !shouldStickAfterAppend || !element19)
|
|
71900
71970
|
return;
|
|
71901
|
-
|
|
71971
|
+
tick26().then(() => {
|
|
71902
71972
|
element19.scrollTop = maxScrollOffset(itemCount * $312.get(resolvedItemHeight), $312.get(viewportHeight));
|
|
71903
71973
|
syncViewport(element19);
|
|
71904
71974
|
shouldStickAfterAppend = false;
|
|
@@ -71938,7 +72008,7 @@ function Virtual_list($$anchor, $$props) {
|
|
|
71938
72008
|
onscroll: handleScroll,
|
|
71939
72009
|
[$312.STYLE]: { "--cinder-virtual-list-height": height() }
|
|
71940
72010
|
}), [() => classNames("cinder-virtual-list", $$props.class)]);
|
|
71941
|
-
var div =
|
|
72011
|
+
var div = root_1187();
|
|
71942
72012
|
let styles;
|
|
71943
72013
|
var div_1 = $312.child(div);
|
|
71944
72014
|
let styles_1;
|
|
@@ -72002,13 +72072,13 @@ var rest_excludes149 = new Set([
|
|
|
72002
72072
|
"id"
|
|
72003
72073
|
]);
|
|
72004
72074
|
var root188 = $313.from_html(`<p class="cinder-waveform__description"> </p>`);
|
|
72005
|
-
var
|
|
72075
|
+
var root_1189 = $313.from_html(`<div class="cinder-waveform__state"><!></div>`);
|
|
72006
72076
|
var root_2124 = $313.from_svg(`<title> </title>`);
|
|
72007
72077
|
var root_399 = $313.from_svg(`<rect class="cinder-waveform__bar" aria-hidden="true"></rect>`);
|
|
72008
72078
|
var root_470 = $313.from_svg(`<path class="cinder-waveform__path" aria-hidden="true"></path>`);
|
|
72009
72079
|
var root_550 = $313.from_svg(`<line class="cinder-waveform__baseline" x1="0" aria-hidden="true"></line><!>`, 1);
|
|
72010
72080
|
var root_641 = $313.from_html(`<tr><td> </td><td> </td></tr>`);
|
|
72011
|
-
var root_734 = $313.from_html(`<table><caption> </caption><thead><tr><th scope="col">Sample index</th><th scope="col">Amplitude</th></tr></thead><tbody></tbody></table>`);
|
|
72081
|
+
var root_734 = $313.from_html(`<div><table><caption> </caption><thead><tr><th scope="col">Sample index</th><th scope="col">Amplitude</th></tr></thead><tbody></tbody></table></div>`);
|
|
72012
72082
|
var root_829 = $313.from_html(`<figure><!> <div class="cinder-waveform__viewport"><!> <svg role="img"><!><!></svg></div> <!></figure>`);
|
|
72013
72083
|
function Waveform($$anchor, $$props) {
|
|
72014
72084
|
const generatedId = $313.props_id();
|
|
@@ -72156,7 +72226,7 @@ function Waveform($$anchor, $$props) {
|
|
|
72156
72226
|
var node_1 = $313.child(div);
|
|
72157
72227
|
{
|
|
72158
72228
|
var consequent_2 = ($$anchor2) => {
|
|
72159
|
-
var div_1 =
|
|
72229
|
+
var div_1 = root_1189();
|
|
72160
72230
|
var node_2 = $313.child(div_1);
|
|
72161
72231
|
{
|
|
72162
72232
|
var consequent_1 = ($$anchor3) => {
|
|
@@ -72180,7 +72250,7 @@ function Waveform($$anchor, $$props) {
|
|
|
72180
72250
|
$313.append($$anchor2, div_1);
|
|
72181
72251
|
};
|
|
72182
72252
|
var consequent_4 = ($$anchor2) => {
|
|
72183
|
-
var div_2 =
|
|
72253
|
+
var div_2 = root_1189();
|
|
72184
72254
|
var node_4 = $313.child(div_2);
|
|
72185
72255
|
{
|
|
72186
72256
|
var consequent_3 = ($$anchor3) => {
|
|
@@ -72284,7 +72354,16 @@ function Waveform($$anchor, $$props) {
|
|
|
72284
72354
|
var node_10 = $313.sibling(div, 2);
|
|
72285
72355
|
{
|
|
72286
72356
|
var consequent_8 = ($$anchor2) => {
|
|
72287
|
-
var
|
|
72357
|
+
var div_3 = root_734();
|
|
72358
|
+
$313.attribute_effect(div_3, () => ({
|
|
72359
|
+
class: dataTableVisibility() === "screen-reader-only" ? "cinder-sr-only" : "cinder-waveform__table-scroll",
|
|
72360
|
+
...dataTableVisibility() === "visible" ? {
|
|
72361
|
+
role: "region",
|
|
72362
|
+
"aria-label": `${$$props.label} data table`,
|
|
72363
|
+
tabindex: 0
|
|
72364
|
+
} : {}
|
|
72365
|
+
}));
|
|
72366
|
+
var table = $313.child(div_3);
|
|
72288
72367
|
var caption = $313.child(table);
|
|
72289
72368
|
var text_4 = $313.child(caption, true);
|
|
72290
72369
|
$313.reset(caption);
|
|
@@ -72306,11 +72385,14 @@ function Waveform($$anchor, $$props) {
|
|
|
72306
72385
|
});
|
|
72307
72386
|
$313.reset(tbody);
|
|
72308
72387
|
$313.reset(table);
|
|
72388
|
+
$313.reset(div_3);
|
|
72309
72389
|
$313.template_effect(($0) => {
|
|
72310
72390
|
$313.set_class(table, 1, $0);
|
|
72311
72391
|
$313.set_text(text_4, $313.get(tableCaption));
|
|
72312
|
-
}, [
|
|
72313
|
-
|
|
72392
|
+
}, [
|
|
72393
|
+
() => $313.clsx(dataTableClass(dataTableVisibility() === "screen-reader-only" ? "visible" : dataTableVisibility()))
|
|
72394
|
+
]);
|
|
72395
|
+
$313.append($$anchor2, div_3);
|
|
72314
72396
|
};
|
|
72315
72397
|
$313.if(node_10, ($$render) => {
|
|
72316
72398
|
if ($313.get(hasDataTable))
|
|
@@ -72904,4 +72986,4 @@ export {
|
|
|
72904
72986
|
AccessGateExport as AccessGate
|
|
72905
72987
|
};
|
|
72906
72988
|
|
|
72907
|
-
//# debugId=
|
|
72989
|
+
//# debugId=D2360319446478C264756E2164756E21
|