@vue/devtools-applet 7.4.2 → 7.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/state/StateFieldInputEditor.vue.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +635 -638
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { openBlock as p, createElementBlock as h, createStaticVNode as en, toValue as mt, ref as I, computed as E, defineComponent as B, h as tn, provide as _e, inject as ve, createElementVNode as r, createVNode as x, unref as c, createTextVNode as ne, Fragment as te, renderList as ae, normalizeClass as ie, toDisplayString as le, renderSlot as et, createCommentVNode as U, isRef as
|
|
2
|
-
import { rpc as A, DevToolsMessagingEvents as W, onRpcConnected as Re, useDevToolsState as
|
|
1
|
+
import { openBlock as p, createElementBlock as h, createStaticVNode as en, toValue as mt, ref as I, computed as E, defineComponent as B, h as tn, provide as _e, inject as ve, createElementVNode as r, createVNode as x, unref as c, createTextVNode as ne, Fragment as te, renderList as ae, normalizeClass as ie, toDisplayString as le, renderSlot as et, createCommentVNode as U, isRef as Ke, watch as X, onMounted as Vt, nextTick as Be, readonly as nn, getCurrentScope as on, onScopeDispose as ln, getCurrentInstance as tt, reactive as _t, shallowRef as gt, toRaw as Nt, withDirectives as J, createBlock as z, mergeProps as $e, withModifiers as fe, withCtx as M, watchEffect as nt, normalizeStyle as ke, pushScopeId as ot, popScopeId as lt, mergeModels as Ze, useModel as st, onUnmounted as ye, vShow as sn } from "vue";
|
|
2
|
+
import { rpc as A, DevToolsMessagingEvents as W, onRpcConnected as Re, useDevToolsState as an } from "@vue/devtools-core";
|
|
3
3
|
import { Splitpanes as Ae, Pane as ue } from "splitpanes";
|
|
4
|
-
import { getRaw as Rt, toSubmit as ze, formatInspectorStateValue as
|
|
5
|
-
import { VueButton as de, VueIcon as oe, vTooltip as Q, VueDropdown as
|
|
6
|
-
import { isArray as bt, isObject as wt, sortByKey as At, isInSeparateWindow as
|
|
7
|
-
import { debounce as
|
|
8
|
-
import { RecycleScroller as
|
|
9
|
-
import { flatten as
|
|
4
|
+
import { getRaw as Rt, toSubmit as ze, formatInspectorStateValue as rn, getInspectorStateValueType as Ct, toEdit as un, isPlainObject as cn, UNDEFINED as dn, NAN as pn, INFINITY as fn, NEGATIVE_INFINITY as vn, parse as Y } from "@vue/devtools-kit";
|
|
5
|
+
import { VueButton as de, VueIcon as oe, vTooltip as Q, VueDropdown as hn, VueDropdownButton as xt, VueInput as Fe, VueSwitch as mn, VueSelect as _n, VueCodeBlock as gn, VueDialog as Cn, VueIcIcon as yt } from "@vue/devtools-ui";
|
|
6
|
+
import { isArray as bt, isObject as wt, sortByKey as At, isInSeparateWindow as xn, isInChromePanel as $t } from "@vue/devtools-shared";
|
|
7
|
+
import { debounce as yn } from "perfect-debounce";
|
|
8
|
+
import { RecycleScroller as bn } from "vue-virtual-scroller";
|
|
9
|
+
import { flatten as wn, groupBy as $n } from "lodash-es";
|
|
10
10
|
const be = (t, e) => {
|
|
11
11
|
const n = t.__vccOpts || t;
|
|
12
12
|
for (const [o, s] of e)
|
|
13
13
|
n[o] = s;
|
|
14
14
|
return n;
|
|
15
|
-
},
|
|
15
|
+
}, kn = {}, In = {
|
|
16
16
|
viewBox: "0 0 566 154",
|
|
17
17
|
fill: "none",
|
|
18
18
|
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
-
}, Tn = /* @__PURE__ */ en('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2), En = [
|
|
20
|
-
|
|
19
|
+
}, Sn = /* @__PURE__ */ en('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>', 2), Tn = [
|
|
20
|
+
Sn
|
|
21
21
|
];
|
|
22
|
-
function
|
|
23
|
-
return p(), h("svg",
|
|
22
|
+
function En(t, e) {
|
|
23
|
+
return p(), h("svg", In, Tn);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const Vn = /* @__PURE__ */ be(kn, [["render", En]]), at = Symbol("VirtualRouteKey"), Dt = Symbol("VirtualRoutesKey");
|
|
26
26
|
function it(t, e) {
|
|
27
27
|
const n = (e == null ? void 0 : e.defaultRoutePath) ?? mt(t)[0].path, o = I({
|
|
28
28
|
path: n
|
|
29
29
|
}), s = E(() => mt(t)), l = E(() => o.value.path), i = B({
|
|
30
30
|
setup() {
|
|
31
31
|
return () => {
|
|
32
|
-
const d = s.value.find((
|
|
32
|
+
const d = s.value.find((m) => m.path === l.value);
|
|
33
33
|
return d ? tn(d.component) : null;
|
|
34
34
|
};
|
|
35
35
|
}
|
|
@@ -47,32 +47,32 @@ function De() {
|
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Nn() {
|
|
51
51
|
const t = ve(Dt), e = ve(at);
|
|
52
52
|
return {
|
|
53
53
|
routes: t,
|
|
54
54
|
currentRoute: e
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const Rn = {
|
|
58
58
|
"h-full": "",
|
|
59
59
|
"w-full": "",
|
|
60
60
|
flex: "",
|
|
61
61
|
"items-center": ""
|
|
62
|
-
},
|
|
62
|
+
}, An = {
|
|
63
63
|
flex: "~ col gap2",
|
|
64
64
|
ma: "",
|
|
65
65
|
"px-5": ""
|
|
66
|
-
},
|
|
66
|
+
}, Dn = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), Pn = {
|
|
67
67
|
flex: "~ col",
|
|
68
68
|
"mt-20": "",
|
|
69
69
|
"items-center": ""
|
|
70
|
-
},
|
|
70
|
+
}, Mn = {
|
|
71
71
|
flex: "~",
|
|
72
72
|
"mt--10": "",
|
|
73
73
|
"items-center": "",
|
|
74
74
|
"justify-center": ""
|
|
75
|
-
},
|
|
75
|
+
}, Hn = /* @__PURE__ */ r("div", {
|
|
76
76
|
mb6: "",
|
|
77
77
|
"mt--1": "",
|
|
78
78
|
"text-center": "",
|
|
@@ -80,19 +80,19 @@ const An = {
|
|
|
80
80
|
flex: "~ gap-1"
|
|
81
81
|
}, [
|
|
82
82
|
/* @__PURE__ */ r("span", { op40: "" }, " Pinia DevTools ")
|
|
83
|
-
], -1),
|
|
83
|
+
], -1), Ln = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), On = { flex: "~ gap2 wrap" }, jn = /* @__PURE__ */ r("div", {
|
|
84
84
|
"i-carbon-tree-view-alt": "",
|
|
85
85
|
"text-3xl": ""
|
|
86
|
-
}, null, -1),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
],
|
|
86
|
+
}, null, -1), Un = /* @__PURE__ */ r("code", null, "Store", -1), zn = [
|
|
87
|
+
jn,
|
|
88
|
+
Un
|
|
89
|
+
], Bn = /* @__PURE__ */ r("div", {
|
|
90
90
|
"i-mdi:timeline-clock-outline": "",
|
|
91
91
|
"text-3xl": ""
|
|
92
|
-
}, null, -1),
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
],
|
|
92
|
+
}, null, -1), Zn = /* @__PURE__ */ r("div", null, "Timeline", -1), Fn = [
|
|
93
|
+
Bn,
|
|
94
|
+
Zn
|
|
95
|
+
], Gn = /* @__PURE__ */ r("div", {
|
|
96
96
|
flex: "~ gap-6 wrap",
|
|
97
97
|
"mt-5": "",
|
|
98
98
|
"items-center": "",
|
|
@@ -122,60 +122,60 @@ const An = {
|
|
|
122
122
|
/* @__PURE__ */ r("div", { "i-carbon-document": "" }),
|
|
123
123
|
/* @__PURE__ */ ne(" View Documentation ")
|
|
124
124
|
])
|
|
125
|
-
], -1),
|
|
125
|
+
], -1), Kn = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), Wn = /* @__PURE__ */ B({
|
|
126
126
|
__name: "About",
|
|
127
127
|
setup(t) {
|
|
128
128
|
const e = De();
|
|
129
|
-
return (n, o) => (p(), h("div",
|
|
130
|
-
r("div",
|
|
131
|
-
|
|
132
|
-
r("div",
|
|
133
|
-
r("div",
|
|
134
|
-
x(
|
|
129
|
+
return (n, o) => (p(), h("div", Rn, [
|
|
130
|
+
r("div", An, [
|
|
131
|
+
Dn,
|
|
132
|
+
r("div", Pn, [
|
|
133
|
+
r("div", Mn, [
|
|
134
|
+
x(Vn, { "h-18": "" })
|
|
135
135
|
]),
|
|
136
|
-
|
|
136
|
+
Hn
|
|
137
137
|
]),
|
|
138
|
-
|
|
139
|
-
r("div",
|
|
138
|
+
Ln,
|
|
139
|
+
r("div", On, [
|
|
140
140
|
r("div", {
|
|
141
141
|
flex: "~ col auto",
|
|
142
142
|
"min-w-40": "",
|
|
143
143
|
p4: "",
|
|
144
144
|
"theme-card-lime": "",
|
|
145
145
|
onClick: o[0] || (o[0] = (s) => c(e).push("/store"))
|
|
146
|
-
},
|
|
146
|
+
}, zn),
|
|
147
147
|
r("div", {
|
|
148
148
|
flex: "~ col auto",
|
|
149
149
|
"min-w-40": "",
|
|
150
150
|
p4: "",
|
|
151
151
|
"theme-card-lime": "",
|
|
152
152
|
onClick: o[1] || (o[1] = (s) => c(e).push("/timeline"))
|
|
153
|
-
},
|
|
153
|
+
}, Fn)
|
|
154
154
|
]),
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
Gn,
|
|
156
|
+
Kn
|
|
157
157
|
])
|
|
158
158
|
]));
|
|
159
159
|
}
|
|
160
|
-
}),
|
|
160
|
+
}), qn = { class: "flex gap3" }, Jn = ["onClick"], Ie = /* @__PURE__ */ B({
|
|
161
161
|
__name: "Navbar",
|
|
162
162
|
setup(t) {
|
|
163
|
-
const { routes: e, currentRoute: n } =
|
|
164
|
-
return (s, l) => (p(), h("ul",
|
|
163
|
+
const { routes: e, currentRoute: n } = Nn(), o = De();
|
|
164
|
+
return (s, l) => (p(), h("ul", qn, [
|
|
165
165
|
(p(!0), h(te, null, ae(c(e), (i, u) => (p(), h("li", {
|
|
166
166
|
key: u,
|
|
167
167
|
class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", c(n).path === i.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
|
|
168
168
|
onClick: (d) => c(o).push(i.path)
|
|
169
|
-
}, le(i.name), 11,
|
|
169
|
+
}, le(i.name), 11, Jn))), 128))
|
|
170
170
|
]));
|
|
171
171
|
}
|
|
172
|
-
}),
|
|
172
|
+
}), Yn = {
|
|
173
173
|
border: "b base",
|
|
174
174
|
class: "flex items-center justify-between px3"
|
|
175
|
-
},
|
|
176
|
-
|
|
177
|
-
],
|
|
178
|
-
|
|
175
|
+
}, Xn = ["href"], Qn = /* @__PURE__ */ r("i", { class: "i-clarity:document-line cursor-pointer op70 text-base hover:op100" }, null, -1), eo = [
|
|
176
|
+
Qn
|
|
177
|
+
], to = ["href"], no = /* @__PURE__ */ r("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1), oo = [
|
|
178
|
+
no
|
|
179
179
|
], Se = /* @__PURE__ */ B({
|
|
180
180
|
__name: "DevToolsHeader",
|
|
181
181
|
props: {
|
|
@@ -184,7 +184,7 @@ const An = {
|
|
|
184
184
|
},
|
|
185
185
|
setup(t) {
|
|
186
186
|
const e = De();
|
|
187
|
-
return (n, o) => (p(), h("div",
|
|
187
|
+
return (n, o) => (p(), h("div", Yn, [
|
|
188
188
|
r("div", null, [
|
|
189
189
|
et(n.$slots, "default", {}, () => [
|
|
190
190
|
r("i", {
|
|
@@ -199,26 +199,26 @@ const An = {
|
|
|
199
199
|
href: n.docLink,
|
|
200
200
|
target: "_blank",
|
|
201
201
|
title: "View Documentation"
|
|
202
|
-
},
|
|
202
|
+
}, eo, 8, Xn),
|
|
203
203
|
n.githubRepoLink ? (p(), h("a", {
|
|
204
204
|
key: 0,
|
|
205
205
|
href: n.githubRepoLink,
|
|
206
206
|
target: "_blank",
|
|
207
207
|
title: "Star on GitHub"
|
|
208
|
-
},
|
|
208
|
+
}, oo, 8, to)) : U("", !0)
|
|
209
209
|
])
|
|
210
210
|
]));
|
|
211
211
|
}
|
|
212
|
-
}),
|
|
213
|
-
function
|
|
214
|
-
return p(), h("div",
|
|
215
|
-
|
|
212
|
+
}), lo = {}, so = { class: "h-full flex flex-col items-center justify-center op50" }, ao = /* @__PURE__ */ r("i", { class: "i-lets-icons:blank-light" }, null, -1);
|
|
213
|
+
function io(t, e) {
|
|
214
|
+
return p(), h("div", so, [
|
|
215
|
+
ao,
|
|
216
216
|
r("span", null, [
|
|
217
217
|
et(t.$slots, "default")
|
|
218
218
|
])
|
|
219
219
|
]);
|
|
220
220
|
}
|
|
221
|
-
const Ne = /* @__PURE__ */ be(
|
|
221
|
+
const Ne = /* @__PURE__ */ be(lo, [["render", io]]);
|
|
222
222
|
function rt(t) {
|
|
223
223
|
return on() ? (ln(t), !0) : !1;
|
|
224
224
|
}
|
|
@@ -227,9 +227,9 @@ function ee(t) {
|
|
|
227
227
|
}
|
|
228
228
|
const ut = typeof window < "u" && typeof document < "u";
|
|
229
229
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
230
|
-
const
|
|
230
|
+
const ro = (t) => typeof t < "u", uo = Object.prototype.toString, co = (t) => uo.call(t) === "[object Object]", Ge = () => {
|
|
231
231
|
};
|
|
232
|
-
function
|
|
232
|
+
function po(t, e) {
|
|
233
233
|
function n(...o) {
|
|
234
234
|
return new Promise((s, l) => {
|
|
235
235
|
Promise.resolve(t(() => e.apply(this, o), { fn: e, thisArg: this, args: o })).then(s).catch(l);
|
|
@@ -237,18 +237,18 @@ function fo(t, e) {
|
|
|
237
237
|
}
|
|
238
238
|
return n;
|
|
239
239
|
}
|
|
240
|
-
const
|
|
241
|
-
function
|
|
242
|
-
let n, o, s =
|
|
240
|
+
const fo = (t) => t();
|
|
241
|
+
function vo(t, e = {}) {
|
|
242
|
+
let n, o, s = Ge;
|
|
243
243
|
const l = (u) => {
|
|
244
|
-
clearTimeout(u), s(), s =
|
|
244
|
+
clearTimeout(u), s(), s = Ge;
|
|
245
245
|
};
|
|
246
246
|
return (u) => {
|
|
247
|
-
const d = ee(t),
|
|
248
|
-
return n && l(n), d <= 0 ||
|
|
249
|
-
s = e.rejectOnCancel ? a : v,
|
|
247
|
+
const d = ee(t), m = ee(e.maxWait);
|
|
248
|
+
return n && l(n), d <= 0 || m !== void 0 && m <= 0 ? (o && (l(o), o = null), Promise.resolve(u())) : new Promise((v, a) => {
|
|
249
|
+
s = e.rejectOnCancel ? a : v, m && !o && (o = setTimeout(() => {
|
|
250
250
|
n && l(n), o = null, v(u());
|
|
251
|
-
},
|
|
251
|
+
}, m)), n = setTimeout(() => {
|
|
252
252
|
o && l(o), o = null, v(u());
|
|
253
253
|
}, d);
|
|
254
254
|
});
|
|
@@ -259,7 +259,7 @@ function kt(t, e = !1, n = "Timeout") {
|
|
|
259
259
|
setTimeout(e ? () => s(n) : o, t);
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function ho(t) {
|
|
263
263
|
let e;
|
|
264
264
|
function n() {
|
|
265
265
|
return e || (e = t()), e;
|
|
@@ -269,28 +269,28 @@ function mo(t) {
|
|
|
269
269
|
e = void 0, o && await o;
|
|
270
270
|
}, n;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function mo(t) {
|
|
273
273
|
return tt();
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function _o(t, e, n = {}) {
|
|
276
276
|
const {
|
|
277
|
-
eventFilter: o =
|
|
277
|
+
eventFilter: o = fo,
|
|
278
278
|
...s
|
|
279
279
|
} = n;
|
|
280
280
|
return X(
|
|
281
281
|
t,
|
|
282
|
-
|
|
282
|
+
po(
|
|
283
283
|
o,
|
|
284
284
|
e
|
|
285
285
|
),
|
|
286
286
|
s
|
|
287
287
|
);
|
|
288
288
|
}
|
|
289
|
-
function
|
|
290
|
-
|
|
289
|
+
function go(t, e = !0, n) {
|
|
290
|
+
mo() ? Vt(t, n) : e ? t() : Be(t);
|
|
291
291
|
}
|
|
292
292
|
function Qe(t, e = !1) {
|
|
293
|
-
function n(a, { flush: f = "sync", deep:
|
|
293
|
+
function n(a, { flush: f = "sync", deep: _ = !1, timeout: y, throwOnTimeout: g } = {}) {
|
|
294
294
|
let k = null;
|
|
295
295
|
const O = [new Promise((N) => {
|
|
296
296
|
k = X(
|
|
@@ -300,19 +300,19 @@ function Qe(t, e = !1) {
|
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
302
|
flush: f,
|
|
303
|
-
deep:
|
|
303
|
+
deep: _,
|
|
304
304
|
immediate: !0
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
307
|
})];
|
|
308
308
|
return y != null && O.push(
|
|
309
|
-
kt(y,
|
|
309
|
+
kt(y, g).then(() => ee(t)).finally(() => k == null ? void 0 : k())
|
|
310
310
|
), Promise.race(O);
|
|
311
311
|
}
|
|
312
312
|
function o(a, f) {
|
|
313
|
-
if (!
|
|
313
|
+
if (!Ke(a))
|
|
314
314
|
return n((w) => w === a, f);
|
|
315
|
-
const { flush:
|
|
315
|
+
const { flush: _ = "sync", deep: y = !1, timeout: g, throwOnTimeout: k } = f ?? {};
|
|
316
316
|
let j = null;
|
|
317
317
|
const N = [new Promise((w) => {
|
|
318
318
|
j = X(
|
|
@@ -321,14 +321,14 @@ function Qe(t, e = !1) {
|
|
|
321
321
|
e !== (R === H) && (j ? j() : Be(() => j == null ? void 0 : j()), w(R));
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
|
-
flush:
|
|
324
|
+
flush: _,
|
|
325
325
|
deep: y,
|
|
326
326
|
immediate: !0
|
|
327
327
|
}
|
|
328
328
|
);
|
|
329
329
|
})];
|
|
330
|
-
return
|
|
331
|
-
kt(
|
|
330
|
+
return g != null && N.push(
|
|
331
|
+
kt(g, k).then(() => ee(t)).finally(() => (j == null || j(), ee(t)))
|
|
332
332
|
), Promise.race(N);
|
|
333
333
|
}
|
|
334
334
|
function s(a) {
|
|
@@ -344,22 +344,22 @@ function Qe(t, e = !1) {
|
|
|
344
344
|
return n(Number.isNaN, a);
|
|
345
345
|
}
|
|
346
346
|
function d(a, f) {
|
|
347
|
-
return n((
|
|
348
|
-
const y = Array.from(
|
|
347
|
+
return n((_) => {
|
|
348
|
+
const y = Array.from(_);
|
|
349
349
|
return y.includes(a) || y.includes(ee(a));
|
|
350
350
|
}, f);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function m(a) {
|
|
353
353
|
return v(1, a);
|
|
354
354
|
}
|
|
355
355
|
function v(a = 1, f) {
|
|
356
|
-
let
|
|
357
|
-
return n(() => (
|
|
356
|
+
let _ = -1;
|
|
357
|
+
return n(() => (_ += 1, _ >= a), f);
|
|
358
358
|
}
|
|
359
359
|
return Array.isArray(ee(t)) ? {
|
|
360
360
|
toMatch: n,
|
|
361
361
|
toContains: d,
|
|
362
|
-
changed:
|
|
362
|
+
changed: m,
|
|
363
363
|
changedTimes: v,
|
|
364
364
|
get not() {
|
|
365
365
|
return Qe(t, !e);
|
|
@@ -371,7 +371,7 @@ function Qe(t, e = !1) {
|
|
|
371
371
|
toBeNull: l,
|
|
372
372
|
toBeNaN: u,
|
|
373
373
|
toBeUndefined: i,
|
|
374
|
-
changed:
|
|
374
|
+
changed: m,
|
|
375
375
|
changedTimes: v,
|
|
376
376
|
get not() {
|
|
377
377
|
return Qe(t, !e);
|
|
@@ -381,7 +381,7 @@ function Qe(t, e = !1) {
|
|
|
381
381
|
function Pt(t) {
|
|
382
382
|
return Qe(t);
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function Co(t, e, n = {}) {
|
|
385
385
|
const {
|
|
386
386
|
immediate: o = !0
|
|
387
387
|
} = n, s = I(!1);
|
|
@@ -392,9 +392,9 @@ function xo(t, e, n = {}) {
|
|
|
392
392
|
function u() {
|
|
393
393
|
s.value = !1, i();
|
|
394
394
|
}
|
|
395
|
-
function d(...
|
|
395
|
+
function d(...m) {
|
|
396
396
|
i(), s.value = !0, l = setTimeout(() => {
|
|
397
|
-
s.value = !1, l = null, t(...
|
|
397
|
+
s.value = !1, l = null, t(...m);
|
|
398
398
|
}, ee(e));
|
|
399
399
|
}
|
|
400
400
|
return o && (s.value = !0, ut && d()), rt(u), {
|
|
@@ -403,11 +403,11 @@ function xo(t, e, n = {}) {
|
|
|
403
403
|
stop: u
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function xo(t = !1, e = {}) {
|
|
407
407
|
const {
|
|
408
408
|
truthyValue: n = !0,
|
|
409
409
|
falsyValue: o = !1
|
|
410
|
-
} = e, s =
|
|
410
|
+
} = e, s = Ke(t), l = I(t);
|
|
411
411
|
function i(u) {
|
|
412
412
|
if (arguments.length)
|
|
413
413
|
return l.value = u, l.value;
|
|
@@ -418,18 +418,18 @@ function yo(t = !1, e = {}) {
|
|
|
418
418
|
}
|
|
419
419
|
return s ? i : [l, i];
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function yo(t, e, n = {}) {
|
|
422
422
|
const {
|
|
423
423
|
debounce: o = 0,
|
|
424
424
|
maxWait: s = void 0,
|
|
425
425
|
...l
|
|
426
426
|
} = n;
|
|
427
|
-
return
|
|
427
|
+
return _o(
|
|
428
428
|
t,
|
|
429
429
|
e,
|
|
430
430
|
{
|
|
431
431
|
...l,
|
|
432
|
-
eventFilter:
|
|
432
|
+
eventFilter: vo(o, { maxWait: s })
|
|
433
433
|
}
|
|
434
434
|
);
|
|
435
435
|
}
|
|
@@ -438,38 +438,38 @@ function xe(t) {
|
|
|
438
438
|
const n = ee(t);
|
|
439
439
|
return (e = n == null ? void 0 : n.$el) != null ? e : n;
|
|
440
440
|
}
|
|
441
|
-
const
|
|
441
|
+
const We = ut ? window : void 0, Mt = ut ? window.navigator : void 0;
|
|
442
442
|
function me(...t) {
|
|
443
443
|
let e, n, o, s;
|
|
444
|
-
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([n, o, s] = t, e =
|
|
445
|
-
return
|
|
444
|
+
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([n, o, s] = t, e = We) : [e, n, o, s] = t, !e)
|
|
445
|
+
return Ge;
|
|
446
446
|
Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
|
|
447
447
|
const l = [], i = () => {
|
|
448
448
|
l.forEach((v) => v()), l.length = 0;
|
|
449
|
-
}, u = (v, a, f,
|
|
449
|
+
}, u = (v, a, f, _) => (v.addEventListener(a, f, _), () => v.removeEventListener(a, f, _)), d = X(
|
|
450
450
|
() => [xe(e), ee(s)],
|
|
451
451
|
([v, a]) => {
|
|
452
452
|
if (i(), !v)
|
|
453
453
|
return;
|
|
454
|
-
const f =
|
|
454
|
+
const f = co(a) ? { ...a } : a;
|
|
455
455
|
l.push(
|
|
456
|
-
...n.flatMap((
|
|
456
|
+
...n.flatMap((_) => o.map((y) => u(v, _, y, f)))
|
|
457
457
|
);
|
|
458
458
|
},
|
|
459
459
|
{ immediate: !0, flush: "post" }
|
|
460
|
-
),
|
|
460
|
+
), m = () => {
|
|
461
461
|
d(), i();
|
|
462
462
|
};
|
|
463
|
-
return rt(
|
|
463
|
+
return rt(m), m;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function bo() {
|
|
466
466
|
const t = I(!1), e = tt();
|
|
467
467
|
return e && Vt(() => {
|
|
468
468
|
t.value = !0;
|
|
469
469
|
}, e), t;
|
|
470
470
|
}
|
|
471
471
|
function ct(t) {
|
|
472
|
-
const e =
|
|
472
|
+
const e = bo();
|
|
473
473
|
return E(() => (e.value, !!t()));
|
|
474
474
|
}
|
|
475
475
|
function It(t, e = {}) {
|
|
@@ -481,7 +481,7 @@ function It(t, e = {}) {
|
|
|
481
481
|
u.value = (a = (v = l.value) == null ? void 0 : v.state) != null ? a : "prompt";
|
|
482
482
|
};
|
|
483
483
|
me(l, "change", d);
|
|
484
|
-
const
|
|
484
|
+
const m = ho(async () => {
|
|
485
485
|
if (s.value) {
|
|
486
486
|
if (!l.value)
|
|
487
487
|
try {
|
|
@@ -495,30 +495,30 @@ function It(t, e = {}) {
|
|
|
495
495
|
return Nt(l.value);
|
|
496
496
|
}
|
|
497
497
|
});
|
|
498
|
-
return
|
|
498
|
+
return m(), n ? {
|
|
499
499
|
state: u,
|
|
500
500
|
isSupported: s,
|
|
501
|
-
query:
|
|
501
|
+
query: m
|
|
502
502
|
} : u;
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function wo(t = {}) {
|
|
505
505
|
const {
|
|
506
506
|
navigator: e = Mt,
|
|
507
507
|
read: n = !1,
|
|
508
508
|
source: o,
|
|
509
509
|
copiedDuring: s = 1500,
|
|
510
510
|
legacy: l = !1
|
|
511
|
-
} = t, i = ct(() => e && "clipboard" in e), u = It("clipboard-read"), d = It("clipboard-write"),
|
|
512
|
-
function
|
|
511
|
+
} = t, i = ct(() => e && "clipboard" in e), u = It("clipboard-read"), d = It("clipboard-write"), m = E(() => i.value || l), v = I(""), a = I(!1), f = Co(() => a.value = !1, s);
|
|
512
|
+
function _() {
|
|
513
513
|
i.value && j(u.value) ? e.clipboard.readText().then((O) => {
|
|
514
514
|
v.value = O;
|
|
515
515
|
}) : v.value = k();
|
|
516
516
|
}
|
|
517
|
-
|
|
517
|
+
m.value && n && me(["copy", "cut"], _);
|
|
518
518
|
async function y(O = ee(o)) {
|
|
519
|
-
|
|
519
|
+
m.value && O != null && (i.value && j(d.value) ? await e.clipboard.writeText(O) : g(O), v.value = O, a.value = !0, f.start());
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function g(O) {
|
|
522
522
|
const N = document.createElement("textarea");
|
|
523
523
|
N.value = O ?? "", N.style.position = "absolute", N.style.opacity = "0", document.body.appendChild(N), N.select(), document.execCommand("copy"), N.remove();
|
|
524
524
|
}
|
|
@@ -530,24 +530,24 @@ function $o(t = {}) {
|
|
|
530
530
|
return O === "granted" || O === "prompt";
|
|
531
531
|
}
|
|
532
532
|
return {
|
|
533
|
-
isSupported:
|
|
533
|
+
isSupported: m,
|
|
534
534
|
text: v,
|
|
535
535
|
copied: a,
|
|
536
536
|
copy: y
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function $o(t) {
|
|
540
540
|
return JSON.parse(JSON.stringify(t));
|
|
541
541
|
}
|
|
542
|
-
function
|
|
543
|
-
const { window: o =
|
|
542
|
+
function ko(t, e, n = {}) {
|
|
543
|
+
const { window: o = We, ...s } = n;
|
|
544
544
|
let l;
|
|
545
545
|
const i = ct(() => o && "ResizeObserver" in o), u = () => {
|
|
546
546
|
l && (l.disconnect(), l = void 0);
|
|
547
547
|
}, d = E(() => {
|
|
548
548
|
const a = ee(t);
|
|
549
549
|
return Array.isArray(a) ? a.map((f) => xe(f)) : [xe(a)];
|
|
550
|
-
}),
|
|
550
|
+
}), m = X(
|
|
551
551
|
d,
|
|
552
552
|
(a) => {
|
|
553
553
|
if (u(), i.value && o) {
|
|
@@ -558,47 +558,47 @@ function Io(t, e, n = {}) {
|
|
|
558
558
|
},
|
|
559
559
|
{ immediate: !0, flush: "post" }
|
|
560
560
|
), v = () => {
|
|
561
|
-
u(),
|
|
561
|
+
u(), m();
|
|
562
562
|
};
|
|
563
563
|
return rt(v), {
|
|
564
564
|
isSupported: i,
|
|
565
565
|
stop: v
|
|
566
566
|
};
|
|
567
567
|
}
|
|
568
|
-
function
|
|
569
|
-
const { window: o =
|
|
568
|
+
function Io(t, e = { width: 0, height: 0 }, n = {}) {
|
|
569
|
+
const { window: o = We, box: s = "content-box" } = n, l = E(() => {
|
|
570
570
|
var a, f;
|
|
571
571
|
return (f = (a = xe(t)) == null ? void 0 : a.namespaceURI) == null ? void 0 : f.includes("svg");
|
|
572
|
-
}), i = I(e.width), u = I(e.height), { stop: d } =
|
|
572
|
+
}), i = I(e.width), u = I(e.height), { stop: d } = ko(
|
|
573
573
|
t,
|
|
574
574
|
([a]) => {
|
|
575
575
|
const f = s === "border-box" ? a.borderBoxSize : s === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
|
|
576
576
|
if (o && l.value) {
|
|
577
|
-
const
|
|
578
|
-
if (
|
|
579
|
-
const y =
|
|
577
|
+
const _ = xe(t);
|
|
578
|
+
if (_) {
|
|
579
|
+
const y = _.getBoundingClientRect();
|
|
580
580
|
i.value = y.width, u.value = y.height;
|
|
581
581
|
}
|
|
582
582
|
} else if (f) {
|
|
583
|
-
const
|
|
584
|
-
i.value =
|
|
583
|
+
const _ = Array.isArray(f) ? f : [f];
|
|
584
|
+
i.value = _.reduce((y, { inlineSize: g }) => y + g, 0), u.value = _.reduce((y, { blockSize: g }) => y + g, 0);
|
|
585
585
|
} else
|
|
586
586
|
i.value = a.contentRect.width, u.value = a.contentRect.height;
|
|
587
587
|
},
|
|
588
588
|
n
|
|
589
589
|
);
|
|
590
|
-
|
|
590
|
+
go(() => {
|
|
591
591
|
const a = xe(t);
|
|
592
592
|
a && (i.value = "offsetWidth" in a ? a.offsetWidth : e.width, u.value = "offsetHeight" in a ? a.offsetHeight : e.height);
|
|
593
593
|
});
|
|
594
|
-
const
|
|
594
|
+
const m = X(
|
|
595
595
|
() => xe(t),
|
|
596
596
|
(a) => {
|
|
597
597
|
i.value = a ? e.width : 0, u.value = a ? e.height : 0;
|
|
598
598
|
}
|
|
599
599
|
);
|
|
600
600
|
function v() {
|
|
601
|
-
d(),
|
|
601
|
+
d(), m();
|
|
602
602
|
}
|
|
603
603
|
return {
|
|
604
604
|
width: i,
|
|
@@ -606,7 +606,7 @@ function So(t, e = { width: 0, height: 0 }, n = {}) {
|
|
|
606
606
|
stop: v
|
|
607
607
|
};
|
|
608
608
|
}
|
|
609
|
-
const
|
|
609
|
+
const So = {
|
|
610
610
|
ctrl: "control",
|
|
611
611
|
command: "meta",
|
|
612
612
|
cmd: "meta",
|
|
@@ -616,71 +616,71 @@ const To = {
|
|
|
616
616
|
left: "arrowleft",
|
|
617
617
|
right: "arrowright"
|
|
618
618
|
};
|
|
619
|
-
function
|
|
619
|
+
function To(t = {}) {
|
|
620
620
|
const {
|
|
621
621
|
reactive: e = !1,
|
|
622
|
-
target: n =
|
|
623
|
-
aliasMap: o =
|
|
622
|
+
target: n = We,
|
|
623
|
+
aliasMap: o = So,
|
|
624
624
|
passive: s = !0,
|
|
625
|
-
onEventFired: l =
|
|
625
|
+
onEventFired: l = Ge
|
|
626
626
|
} = t, i = _t(/* @__PURE__ */ new Set()), u = {
|
|
627
627
|
toJSON() {
|
|
628
628
|
return {};
|
|
629
629
|
},
|
|
630
630
|
current: i
|
|
631
|
-
}, d = e ? _t(u) : u,
|
|
632
|
-
function a(
|
|
633
|
-
|
|
631
|
+
}, d = e ? _t(u) : u, m = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
|
|
632
|
+
function a(g, k) {
|
|
633
|
+
g in d && (e ? d[g] = k : d[g].value = k);
|
|
634
634
|
}
|
|
635
635
|
function f() {
|
|
636
636
|
i.clear();
|
|
637
|
-
for (const
|
|
638
|
-
a(
|
|
637
|
+
for (const g of v)
|
|
638
|
+
a(g, !1);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function _(g, k) {
|
|
641
641
|
var j, O;
|
|
642
|
-
const N = (j =
|
|
642
|
+
const N = (j = g.key) == null ? void 0 : j.toLowerCase(), R = [(O = g.code) == null ? void 0 : O.toLowerCase(), N].filter(Boolean);
|
|
643
643
|
N && (k ? i.add(N) : i.delete(N));
|
|
644
644
|
for (const H of R)
|
|
645
645
|
v.add(H), a(H, k);
|
|
646
|
-
N === "meta" && !k ? (
|
|
646
|
+
N === "meta" && !k ? (m.forEach((H) => {
|
|
647
647
|
i.delete(H), a(H, !1);
|
|
648
|
-
}),
|
|
648
|
+
}), m.clear()) : typeof g.getModifierState == "function" && g.getModifierState("Meta") && k && [...i, ...R].forEach((H) => m.add(H));
|
|
649
649
|
}
|
|
650
|
-
me(n, "keydown", (
|
|
650
|
+
me(n, "keydown", (g) => (_(g, !0), l(g)), { passive: s }), me(n, "keyup", (g) => (_(g, !1), l(g)), { passive: s }), me("blur", f, { passive: !0 }), me("focus", f, { passive: !0 });
|
|
651
651
|
const y = new Proxy(
|
|
652
652
|
d,
|
|
653
653
|
{
|
|
654
|
-
get(
|
|
654
|
+
get(g, k, j) {
|
|
655
655
|
if (typeof k != "string")
|
|
656
|
-
return Reflect.get(
|
|
656
|
+
return Reflect.get(g, k, j);
|
|
657
657
|
if (k = k.toLowerCase(), k in o && (k = o[k]), !(k in d))
|
|
658
658
|
if (/[+_-]/.test(k)) {
|
|
659
659
|
const N = k.split(/[+_-]/g).map((w) => w.trim());
|
|
660
660
|
d[k] = E(() => N.every((w) => ee(y[w])));
|
|
661
661
|
} else
|
|
662
662
|
d[k] = I(!1);
|
|
663
|
-
const O = Reflect.get(
|
|
663
|
+
const O = Reflect.get(g, k, j);
|
|
664
664
|
return e ? ee(O) : O;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
);
|
|
668
668
|
return y;
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Eo(t, e, n, o = {}) {
|
|
671
671
|
var s, l, i;
|
|
672
672
|
const {
|
|
673
673
|
clone: u = !1,
|
|
674
674
|
passive: d = !1,
|
|
675
|
-
eventName:
|
|
675
|
+
eventName: m,
|
|
676
676
|
deep: v = !1,
|
|
677
677
|
defaultValue: a,
|
|
678
678
|
shouldEmit: f
|
|
679
|
-
} = o,
|
|
680
|
-
let
|
|
681
|
-
|
|
682
|
-
const k = (N) => u ? typeof u == "function" ? u(N) :
|
|
683
|
-
f ? f(N) && y(
|
|
679
|
+
} = o, _ = tt(), y = n || (_ == null ? void 0 : _.emit) || ((s = _ == null ? void 0 : _.$emit) == null ? void 0 : s.bind(_)) || ((i = (l = _ == null ? void 0 : _.proxy) == null ? void 0 : l.$emit) == null ? void 0 : i.bind(_ == null ? void 0 : _.proxy));
|
|
680
|
+
let g = m;
|
|
681
|
+
g = g || `update:${e.toString()}`;
|
|
682
|
+
const k = (N) => u ? typeof u == "function" ? u(N) : $o(N) : N, j = () => ro(t[e]) ? k(t[e]) : a, O = (N) => {
|
|
683
|
+
f ? f(N) && y(g, N) : y(g, N);
|
|
684
684
|
};
|
|
685
685
|
if (d) {
|
|
686
686
|
const N = j(), w = I(N);
|
|
@@ -708,7 +708,7 @@ function Vo(t, e, n, o = {}) {
|
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
710
|
const Ht = Symbol("StateEditorSymbol");
|
|
711
|
-
function
|
|
711
|
+
function Vo(t) {
|
|
712
712
|
const e = I(t);
|
|
713
713
|
return _e(Ht, e), {
|
|
714
714
|
context: e
|
|
@@ -717,7 +717,7 @@ function No(t) {
|
|
|
717
717
|
function dt() {
|
|
718
718
|
return ve(Ht);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function No() {
|
|
721
721
|
const t = I(""), e = I("string"), n = I(!1), o = dt();
|
|
722
722
|
return {
|
|
723
723
|
editingText: t,
|
|
@@ -729,7 +729,7 @@ function Ro() {
|
|
|
729
729
|
nodeId: E(() => o.value.nodeId)
|
|
730
730
|
};
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function Ro(t, e) {
|
|
733
733
|
if (t === "array")
|
|
734
734
|
return e.length;
|
|
735
735
|
const n = "newProp";
|
|
@@ -741,14 +741,14 @@ function Ao(t, e) {
|
|
|
741
741
|
o++;
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function Ao() {
|
|
745
745
|
const t = I({
|
|
746
746
|
enable: !1,
|
|
747
747
|
key: "",
|
|
748
748
|
value: "undefined"
|
|
749
749
|
});
|
|
750
750
|
function e(o, s) {
|
|
751
|
-
const l =
|
|
751
|
+
const l = Ro(o, s);
|
|
752
752
|
t.value = {
|
|
753
753
|
enable: !0,
|
|
754
754
|
key: l.toString(),
|
|
@@ -768,7 +768,7 @@ function Do() {
|
|
|
768
768
|
draftingNewProp: t
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
|
-
const
|
|
771
|
+
const Do = { class: "flex pl5px" }, Po = { class: "w160px py5px" }, Mo = /* @__PURE__ */ B({
|
|
772
772
|
__name: "StateFieldEditor",
|
|
773
773
|
props: {
|
|
774
774
|
data: {},
|
|
@@ -779,13 +779,13 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
779
779
|
},
|
|
780
780
|
emits: ["enableEditInput", "addNewProp"],
|
|
781
781
|
setup(t) {
|
|
782
|
-
const e = t, n = dt(), { copy: o, isSupported: s } =
|
|
782
|
+
const e = t, n = dt(), { copy: o, isSupported: s } = wo(), l = I(!1), i = E(() => Rt(e.data.value)), u = E(() => i.value.value), d = E(() => i.value.customType), m = E(() => u.value === null ? "null" : typeof u.value), v = {
|
|
783
783
|
flat: !0,
|
|
784
784
|
size: "mini"
|
|
785
785
|
}, a = E(() => ({
|
|
786
786
|
"opacity-0": !e.hovering
|
|
787
787
|
}));
|
|
788
|
-
async function f(y,
|
|
788
|
+
async function f(y, g = !1) {
|
|
789
789
|
await A.value.editInspectorState({
|
|
790
790
|
path: e.data.path || [e.data.key],
|
|
791
791
|
inspectorId: n.value.inspectorId,
|
|
@@ -794,21 +794,21 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
794
794
|
state: {
|
|
795
795
|
newKey: null,
|
|
796
796
|
value: Nt(y),
|
|
797
|
-
type:
|
|
798
|
-
remove:
|
|
797
|
+
type: m.value,
|
|
798
|
+
remove: g
|
|
799
799
|
}
|
|
800
800
|
}), await A.value.sendInspectorState(n.value.inspectorId);
|
|
801
801
|
}
|
|
802
|
-
function
|
|
803
|
-
const k = typeof y == "number" ? y +
|
|
802
|
+
function _(y, g) {
|
|
803
|
+
const k = typeof y == "number" ? y + g : BigInt(y) + BigInt(g);
|
|
804
804
|
f(k);
|
|
805
805
|
}
|
|
806
|
-
return (y,
|
|
806
|
+
return (y, g) => (p(), h("div", Do, [
|
|
807
807
|
!e.disableEdit && y.data.editable ? (p(), h(te, { key: 0 }, [
|
|
808
|
-
|
|
808
|
+
m.value === "string" || m.value === "number" || m.value === "object" || m.value === "null" ? (p(), h(te, { key: 0 }, [
|
|
809
809
|
J((p(), z(c(de), $e(v, {
|
|
810
810
|
class: a.value,
|
|
811
|
-
onClick:
|
|
811
|
+
onClick: g[0] || (g[0] = fe((k) => y.$emit("enableEditInput", m.value), ["stop"]))
|
|
812
812
|
}), {
|
|
813
813
|
icon: M(() => [
|
|
814
814
|
x(c(oe), { icon: "i-material-symbols-edit-rounded" })
|
|
@@ -819,9 +819,9 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
819
819
|
content: "Edit value"
|
|
820
820
|
}]
|
|
821
821
|
]),
|
|
822
|
-
|
|
822
|
+
m.value === "object" && y.showAddIfNeeded ? J((p(), z(c(de), $e({ key: 0 }, v, {
|
|
823
823
|
class: a.value,
|
|
824
|
-
onClick:
|
|
824
|
+
onClick: g[1] || (g[1] = fe((k) => y.$emit("addNewProp", Array.isArray(u.value) ? "array" : "object"), ["stop"]))
|
|
825
825
|
}), {
|
|
826
826
|
icon: M(() => [
|
|
827
827
|
x(c(oe), { icon: "i-material-symbols-add-circle-rounded" })
|
|
@@ -833,9 +833,9 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
833
833
|
}]
|
|
834
834
|
]) : U("", !0)
|
|
835
835
|
], 64)) : U("", !0),
|
|
836
|
-
|
|
836
|
+
m.value === "boolean" ? (p(), z(c(de), $e({ key: 1 }, v, {
|
|
837
837
|
class: a.value,
|
|
838
|
-
onClick:
|
|
838
|
+
onClick: g[2] || (g[2] = (k) => f(!u.value))
|
|
839
839
|
}), {
|
|
840
840
|
icon: M(() => [
|
|
841
841
|
x(c(oe), {
|
|
@@ -843,10 +843,10 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
843
843
|
}, null, 8, ["icon"])
|
|
844
844
|
]),
|
|
845
845
|
_: 1
|
|
846
|
-
}, 16, ["class"])) :
|
|
846
|
+
}, 16, ["class"])) : m.value === "number" || d.value === "bigint" ? (p(), h(te, { key: 2 }, [
|
|
847
847
|
x(c(de), $e(v, {
|
|
848
848
|
class: a.value,
|
|
849
|
-
onClick:
|
|
849
|
+
onClick: g[3] || (g[3] = fe((k) => _(u.value, 1), ["stop"]))
|
|
850
850
|
}), {
|
|
851
851
|
icon: M(() => [
|
|
852
852
|
x(c(oe), { icon: "i-carbon-add" })
|
|
@@ -855,7 +855,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
855
855
|
}, 16, ["class"]),
|
|
856
856
|
x(c(de), $e(v, {
|
|
857
857
|
class: a.value,
|
|
858
|
-
onClick:
|
|
858
|
+
onClick: g[4] || (g[4] = fe((k) => _(u.value, -1), ["stop"]))
|
|
859
859
|
}), {
|
|
860
860
|
icon: M(() => [
|
|
861
861
|
x(c(oe), { icon: "i-carbon-subtract" })
|
|
@@ -866,14 +866,14 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
866
866
|
], 64)) : U("", !0),
|
|
867
867
|
!e.disableEdit && y.depth > 0 && y.data.editable ? (p(), z(c(de), $e({ key: 1 }, v, {
|
|
868
868
|
class: a.value,
|
|
869
|
-
onClick:
|
|
869
|
+
onClick: g[5] || (g[5] = fe((k) => f(u.value, !0), ["stop"]))
|
|
870
870
|
}), {
|
|
871
871
|
icon: M(() => [
|
|
872
872
|
x(c(oe), { icon: "i-material-symbols-delete-rounded" })
|
|
873
873
|
]),
|
|
874
874
|
_: 1
|
|
875
875
|
}, 16, ["class"])) : U("", !0),
|
|
876
|
-
x(c(
|
|
876
|
+
x(c(hn), {
|
|
877
877
|
class: ie({
|
|
878
878
|
"opacity-0": !y.hovering && !l.value
|
|
879
879
|
}),
|
|
@@ -882,12 +882,12 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
882
882
|
size: "mini"
|
|
883
883
|
},
|
|
884
884
|
disabled: !c(s),
|
|
885
|
-
"onUpdate:visible":
|
|
885
|
+
"onUpdate:visible": g[8] || (g[8] = (k) => l.value = k)
|
|
886
886
|
}, {
|
|
887
887
|
popper: M(() => [
|
|
888
|
-
r("div",
|
|
888
|
+
r("div", Po, [
|
|
889
889
|
x(c(xt), {
|
|
890
|
-
onClick:
|
|
890
|
+
onClick: g[6] || (g[6] = (k) => c(o)(typeof u.value == "object" ? JSON.stringify(u.value) : u.value.toString()))
|
|
891
891
|
}, {
|
|
892
892
|
icon: M(() => [
|
|
893
893
|
x(c(oe), {
|
|
@@ -899,7 +899,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
899
899
|
_: 1
|
|
900
900
|
}),
|
|
901
901
|
x(c(xt), {
|
|
902
|
-
onClick:
|
|
902
|
+
onClick: g[7] || (g[7] = () => {
|
|
903
903
|
c(o)(y.data.key);
|
|
904
904
|
})
|
|
905
905
|
}, {
|
|
@@ -921,7 +921,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
921
921
|
}, 8, ["class", "disabled"])
|
|
922
922
|
]));
|
|
923
923
|
}
|
|
924
|
-
}),
|
|
924
|
+
}), Ho = { class: "flex-inline items-center gap4px" }, Xe = /* @__PURE__ */ B({
|
|
925
925
|
__name: "StateFieldInputEditor",
|
|
926
926
|
props: {
|
|
927
927
|
modelValue: {},
|
|
@@ -931,11 +931,11 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
931
931
|
},
|
|
932
932
|
emits: ["cancel", "submit", "update:modelValue"],
|
|
933
933
|
setup(t, { emit: e }) {
|
|
934
|
-
const n = t, o = e, s = E(() => n.customType === "date" ? "datetime-local" : ""), { escape: l, enter: i } =
|
|
934
|
+
const n = t, o = e, s = E(() => n.customType === "date" ? "datetime-local" : ""), { escape: l, enter: i } = To();
|
|
935
935
|
nt(() => {
|
|
936
936
|
l.value ? o("cancel") : i.value && o("submit");
|
|
937
937
|
});
|
|
938
|
-
const u =
|
|
938
|
+
const u = Eo(n, "modelValue", o);
|
|
939
939
|
function d(a) {
|
|
940
940
|
try {
|
|
941
941
|
return ze(a, n.customType), !0;
|
|
@@ -943,15 +943,15 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
943
943
|
return !1;
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
|
-
const
|
|
947
|
-
return X(u,
|
|
948
|
-
|
|
949
|
-
}, 300)), (a, f) => (p(), h("span",
|
|
950
|
-
x(c(
|
|
946
|
+
const m = I(!1);
|
|
947
|
+
return X(u, yn(() => {
|
|
948
|
+
m.value = !d(u.value);
|
|
949
|
+
}, 300)), (a, f) => (p(), h("span", Ho, [
|
|
950
|
+
x(c(Fe), {
|
|
951
951
|
modelValue: c(u),
|
|
952
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
952
|
+
"onUpdate:modelValue": f[0] || (f[0] = (_) => Ke(u) ? u.value = _ : null),
|
|
953
953
|
type: s.value,
|
|
954
|
-
variant:
|
|
954
|
+
variant: m.value ? "warning" : "normal",
|
|
955
955
|
class: ie(["h25px px4px", a.customType === "date" ? "w240px" : "w120px"]),
|
|
956
956
|
"auto-focus": a.autoFocus,
|
|
957
957
|
onClick: f[1] || (f[1] = fe(() => {
|
|
@@ -962,7 +962,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
962
962
|
size: "mini",
|
|
963
963
|
flat: "",
|
|
964
964
|
class: "p2px!",
|
|
965
|
-
onClick: f[2] || (f[2] = fe((
|
|
965
|
+
onClick: f[2] || (f[2] = fe((_) => a.$emit("cancel"), ["stop"]))
|
|
966
966
|
}, {
|
|
967
967
|
icon: M(() => [
|
|
968
968
|
x(c(oe), { icon: "i-material-symbols-cancel" })
|
|
@@ -973,7 +973,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
973
973
|
content: "Esc to cancel"
|
|
974
974
|
}]
|
|
975
975
|
]),
|
|
976
|
-
|
|
976
|
+
m.value ? J((p(), z(c(oe), {
|
|
977
977
|
key: 1,
|
|
978
978
|
icon: "i-material-symbols-warning",
|
|
979
979
|
class: "color-warning-500 dark:color-warning-300"
|
|
@@ -986,7 +986,7 @@ const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__P
|
|
|
986
986
|
size: "mini",
|
|
987
987
|
flat: "",
|
|
988
988
|
class: "p2px!",
|
|
989
|
-
onClick: f[3] || (f[3] = fe((
|
|
989
|
+
onClick: f[3] || (f[3] = fe((_) => a.$emit("submit"), ["stop"]))
|
|
990
990
|
}, {
|
|
991
991
|
icon: M(() => [
|
|
992
992
|
x(c(oe), { icon: "i-material-symbols-save" })
|
|
@@ -1030,7 +1030,7 @@ function ft(t = "") {
|
|
|
1030
1030
|
toggleExpanded: n
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function Lo(t, e = {}) {
|
|
1034
1034
|
const {
|
|
1035
1035
|
enter: n = () => {
|
|
1036
1036
|
},
|
|
@@ -1046,18 +1046,18 @@ function Oo(t, e = {}) {
|
|
|
1046
1046
|
isHovering: l
|
|
1047
1047
|
};
|
|
1048
1048
|
}
|
|
1049
|
-
const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t),
|
|
1049
|
+
const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), Oo = {
|
|
1050
1050
|
key: 1,
|
|
1051
1051
|
pl5: ""
|
|
1052
|
-
},
|
|
1052
|
+
}, jo = {
|
|
1053
1053
|
op70: "",
|
|
1054
1054
|
class: "whitespace-nowrap"
|
|
1055
|
-
},
|
|
1055
|
+
}, Uo = /* @__PURE__ */ Ot(() => /* @__PURE__ */ r("span", { mx1: "" }, ":", -1)), zo = ["innerHTML"], Bo = { key: 0 }, Zo = {
|
|
1056
1056
|
"overflow-hidden": "",
|
|
1057
1057
|
"text-ellipsis": "",
|
|
1058
1058
|
"whitespace-nowrap": "",
|
|
1059
1059
|
"state-key": ""
|
|
1060
|
-
},
|
|
1060
|
+
}, Fo = /* @__PURE__ */ Ot(() => /* @__PURE__ */ r("span", { "mx-1": "" }, ":", -1)), St = 30, Go = /* @__PURE__ */ B({
|
|
1061
1061
|
__name: "StateFieldViewer",
|
|
1062
1062
|
props: {
|
|
1063
1063
|
data: {},
|
|
@@ -1066,59 +1066,59 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1066
1066
|
expandedStateId: {}
|
|
1067
1067
|
},
|
|
1068
1068
|
setup(t) {
|
|
1069
|
-
const e = t, n = I(St), o = E(() =>
|
|
1069
|
+
const e = t, n = I(St), o = E(() => rn(e.data.value, !1, {
|
|
1070
1070
|
customClass: {
|
|
1071
1071
|
string: "max-w-120 truncate"
|
|
1072
1072
|
}
|
|
1073
1073
|
})), s = E(() => Ct(e.data.value)), l = E(() => Rt(e.data.value)), { expanded: i, toggleExpanded: u } = ft(e.expandedStateId ?? ""), d = E(() => {
|
|
1074
|
-
var
|
|
1075
|
-
return s.value === "custom" ? `${((
|
|
1076
|
-
}),
|
|
1077
|
-
const { value:
|
|
1078
|
-
return bt(
|
|
1074
|
+
var C;
|
|
1075
|
+
return s.value === "custom" ? `${((C = e.data.value._custom) == null ? void 0 : C.type) ?? "string"}-custom-state` : "";
|
|
1076
|
+
}), m = E(() => {
|
|
1077
|
+
const { value: C } = l.value;
|
|
1078
|
+
return bt(C) ? C.length : wt(C) ? Object.keys(C).length : 0;
|
|
1079
1079
|
}), v = E(() => e.data.path || [e.data.key]), a = E(() => v.value[v.value.length - 1]), f = E(() => {
|
|
1080
1080
|
var F, se, re, ce, ge, Ce, Le;
|
|
1081
|
-
const
|
|
1082
|
-
if (
|
|
1081
|
+
const C = ["Reactive"], D = ((se = (F = e.data) == null ? void 0 : F._custom) == null ? void 0 : se.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
|
|
1082
|
+
if (C.includes(D))
|
|
1083
1083
|
return D;
|
|
1084
1084
|
if ((ge = (ce = e.data.value) == null ? void 0 : ce.fields) != null && ge.abstract)
|
|
1085
1085
|
return "";
|
|
1086
1086
|
{
|
|
1087
|
-
const Oe = (Le = (Ce = e.data.value) == null ? void 0 : Ce._custom) == null ? void 0 : Le.type, je = s.value === "custom" && !Oe ? `"${o.value}"` : o.value === "" ? '""' : o.value, Ue = s.value === "custom" && Oe === "ref" ? Ct(je) : s.value,
|
|
1087
|
+
const Oe = (Le = (Ce = e.data.value) == null ? void 0 : Ce._custom) == null ? void 0 : Le.type, je = s.value === "custom" && !Oe ? `"${o.value}"` : o.value === "" ? '""' : o.value, Ue = s.value === "custom" && Oe === "ref" ? Ct(je) : s.value, qe = s.value === "string" ? "select-text" : "", Ee = `<span class="${Ue}-state-type flex whitespace-nowrap ${qe}">${je}</span>`;
|
|
1088
1088
|
return D ? `${Ee} <span class="text-gray-500">(${D})</span>` : Ee;
|
|
1089
1089
|
}
|
|
1090
|
-
}),
|
|
1091
|
-
const { value:
|
|
1090
|
+
}), _ = E(() => {
|
|
1091
|
+
const { value: C, inherit: D, customType: F } = l.value, se = F === "set";
|
|
1092
1092
|
let re = [];
|
|
1093
|
-
return bt(
|
|
1093
|
+
return bt(C) ? C.slice(0, n.value).map((ge, Ce) => ({
|
|
1094
1094
|
key: Ce.toString(),
|
|
1095
1095
|
path: [...v.value, Ce.toString()],
|
|
1096
1096
|
value: ge,
|
|
1097
1097
|
...D,
|
|
1098
1098
|
editable: e.data.editable && !se,
|
|
1099
1099
|
creating: !1
|
|
1100
|
-
})) : (wt(
|
|
1100
|
+
})) : (wt(C) && (re = Object.keys(C).slice(0, n.value).map((ce) => ({
|
|
1101
1101
|
key: ce,
|
|
1102
1102
|
path: [...v.value, ce],
|
|
1103
|
-
value:
|
|
1103
|
+
value: C[ce],
|
|
1104
1104
|
...D,
|
|
1105
1105
|
editable: e.data.editable && !se,
|
|
1106
1106
|
creating: !1
|
|
1107
1107
|
})), s.value !== "custom" && (re = At(re))), re === e.data.value ? [] : re);
|
|
1108
|
-
}), y = E(() =>
|
|
1109
|
-
X(() => N.value, (
|
|
1110
|
-
if (
|
|
1108
|
+
}), y = E(() => _.value.length > 0), g = I(), k = dt(), { isHovering: j } = Lo(() => g.value), { editingType: O, editing: N, editingText: w, toggleEditing: R, nodeId: H } = No();
|
|
1109
|
+
X(() => N.value, (C) => {
|
|
1110
|
+
if (C) {
|
|
1111
1111
|
const { value: D } = l.value;
|
|
1112
|
-
w.value =
|
|
1112
|
+
w.value = un(D, l.value.customType);
|
|
1113
1113
|
} else
|
|
1114
1114
|
w.value = "";
|
|
1115
1115
|
});
|
|
1116
1116
|
async function K() {
|
|
1117
|
-
const
|
|
1117
|
+
const C = e.data;
|
|
1118
1118
|
await A.value.editInspectorState({
|
|
1119
1119
|
path: v.value,
|
|
1120
1120
|
inspectorId: k.value.inspectorId,
|
|
1121
|
-
type:
|
|
1121
|
+
type: C.stateType,
|
|
1122
1122
|
nodeId: H.value,
|
|
1123
1123
|
state: {
|
|
1124
1124
|
newKey: null,
|
|
@@ -1127,17 +1127,17 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
}), await A.value.sendInspectorState(k.value.inspectorId), R();
|
|
1129
1129
|
}
|
|
1130
|
-
const { addNewProp: Z, draftingNewProp: T, resetDrafting: P } =
|
|
1131
|
-
function b(
|
|
1130
|
+
const { addNewProp: Z, draftingNewProp: T, resetDrafting: P } = Ao();
|
|
1131
|
+
function b(C) {
|
|
1132
1132
|
const D = `${e.depth}-${e.index}`;
|
|
1133
|
-
i.value.includes(D) || u(D), Z(
|
|
1133
|
+
i.value.includes(D) || u(D), Z(C, l.value.value);
|
|
1134
1134
|
}
|
|
1135
1135
|
async function S() {
|
|
1136
|
-
const
|
|
1136
|
+
const C = e.data;
|
|
1137
1137
|
await A.value.editInspectorState({
|
|
1138
1138
|
path: [...v.value, T.value.key],
|
|
1139
1139
|
inspectorId: k.value.inspectorId,
|
|
1140
|
-
type:
|
|
1140
|
+
type: C.stateType,
|
|
1141
1141
|
nodeId: H.value,
|
|
1142
1142
|
state: {
|
|
1143
1143
|
newKey: T.value.key,
|
|
@@ -1146,24 +1146,24 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
}), await A.value.sendInspectorState(k.value.inspectorId), P();
|
|
1148
1148
|
}
|
|
1149
|
-
return (
|
|
1149
|
+
return (C, D) => (p(), h("div", null, [
|
|
1150
1150
|
r("div", {
|
|
1151
1151
|
ref_key: "containerRef",
|
|
1152
|
-
ref:
|
|
1152
|
+
ref: g,
|
|
1153
1153
|
class: ie(["font-state-field flex items-center text-3.5", [y.value && "cursor-pointer hover:bg-active"]]),
|
|
1154
|
-
style: ke({ paddingLeft: `${
|
|
1155
|
-
onClick: D[1] || (D[1] = (F) => c(u)(`${
|
|
1154
|
+
style: ke({ paddingLeft: `${C.depth * 15 + 4}px` }),
|
|
1155
|
+
onClick: D[1] || (D[1] = (F) => c(u)(`${C.depth}-${C.index}`))
|
|
1156
1156
|
}, [
|
|
1157
1157
|
y.value ? (p(), z(pt, {
|
|
1158
1158
|
key: 0,
|
|
1159
|
-
value: c(i).includes(`${
|
|
1160
|
-
}, null, 8, ["value"])) : (p(), h("span",
|
|
1161
|
-
r("span",
|
|
1162
|
-
|
|
1163
|
-
c(N) ? (p(), z(
|
|
1159
|
+
value: c(i).includes(`${C.depth}-${C.index}`)
|
|
1160
|
+
}, null, 8, ["value"])) : (p(), h("span", Oo)),
|
|
1161
|
+
r("span", jo, le(a.value), 1),
|
|
1162
|
+
Uo,
|
|
1163
|
+
c(N) ? (p(), z(Xe, {
|
|
1164
1164
|
key: 2,
|
|
1165
1165
|
modelValue: c(w),
|
|
1166
|
-
"onUpdate:modelValue": D[0] || (D[0] = (F) =>
|
|
1166
|
+
"onUpdate:modelValue": D[0] || (D[0] = (F) => Ke(w) ? w.value = F : null),
|
|
1167
1167
|
class: "mr-1",
|
|
1168
1168
|
"custom-type": l.value.customType,
|
|
1169
1169
|
onCancel: c(R),
|
|
@@ -1175,24 +1175,24 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1175
1175
|
r("span", {
|
|
1176
1176
|
class: "flex",
|
|
1177
1177
|
innerHTML: f.value
|
|
1178
|
-
}, null, 8,
|
|
1178
|
+
}, null, 8, zo)
|
|
1179
1179
|
], 2),
|
|
1180
|
-
x(
|
|
1180
|
+
x(Mo, {
|
|
1181
1181
|
hovering: c(j),
|
|
1182
1182
|
"disable-edit": c(k).disableEdit || c(N),
|
|
1183
|
-
data:
|
|
1184
|
-
depth:
|
|
1183
|
+
data: C.data,
|
|
1184
|
+
depth: C.depth,
|
|
1185
1185
|
onEnableEditInput: c(R),
|
|
1186
1186
|
onAddNewProp: b
|
|
1187
1187
|
}, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
|
|
1188
1188
|
], 6),
|
|
1189
|
-
y.value && c(i).includes(`${
|
|
1189
|
+
y.value && c(i).includes(`${C.depth}-${C.index}`) ? (p(), h("div", Bo, [
|
|
1190
1190
|
x(jt, {
|
|
1191
|
-
data:
|
|
1192
|
-
depth:
|
|
1193
|
-
index:
|
|
1191
|
+
data: _.value,
|
|
1192
|
+
depth: C.depth,
|
|
1193
|
+
index: C.index
|
|
1194
1194
|
}, null, 8, ["data", "depth", "index"]),
|
|
1195
|
-
|
|
1195
|
+
m.value > n.value ? J((p(), z(c(de), {
|
|
1196
1196
|
key: 0,
|
|
1197
1197
|
flat: "",
|
|
1198
1198
|
size: "mini",
|
|
@@ -1208,17 +1208,17 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1208
1208
|
]) : U("", !0),
|
|
1209
1209
|
c(T).enable ? (p(), h("div", {
|
|
1210
1210
|
key: 1,
|
|
1211
|
-
style: ke({ paddingLeft: `${(
|
|
1211
|
+
style: ke({ paddingLeft: `${(C.depth + 1) * 15 + 4}px` })
|
|
1212
1212
|
}, [
|
|
1213
|
-
r("span",
|
|
1214
|
-
x(
|
|
1213
|
+
r("span", Zo, [
|
|
1214
|
+
x(Xe, {
|
|
1215
1215
|
modelValue: c(T).key,
|
|
1216
1216
|
"onUpdate:modelValue": D[3] || (D[3] = (F) => c(T).key = F),
|
|
1217
1217
|
"show-actions": !1
|
|
1218
1218
|
}, null, 8, ["modelValue"])
|
|
1219
1219
|
]),
|
|
1220
|
-
|
|
1221
|
-
x(
|
|
1220
|
+
Fo,
|
|
1221
|
+
x(Xe, {
|
|
1222
1222
|
modelValue: c(T).value,
|
|
1223
1223
|
"onUpdate:modelValue": D[4] || (D[4] = (F) => c(T).value = F),
|
|
1224
1224
|
"auto-focus": !1,
|
|
@@ -1229,7 +1229,7 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1229
1229
|
])) : U("", !0)
|
|
1230
1230
|
]));
|
|
1231
1231
|
}
|
|
1232
|
-
}),
|
|
1232
|
+
}), Ko = /* @__PURE__ */ be(Go, [["__scopeId", "data-v-e1338684"]]), jt = /* @__PURE__ */ B({
|
|
1233
1233
|
__name: "ChildStateViewer",
|
|
1234
1234
|
props: {
|
|
1235
1235
|
data: {},
|
|
@@ -1240,7 +1240,7 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1240
1240
|
setup(t) {
|
|
1241
1241
|
return (e, n) => (p(), h("div", null, [
|
|
1242
1242
|
(p(!0), h(te, null, ae(e.data, (o, s) => (p(), h("div", { key: s }, [
|
|
1243
|
-
x(
|
|
1243
|
+
x(Ko, {
|
|
1244
1244
|
data: o,
|
|
1245
1245
|
depth: e.depth + 1,
|
|
1246
1246
|
index: `${e.index}-${s}`,
|
|
@@ -1249,13 +1249,13 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1249
1249
|
]))), 128))
|
|
1250
1250
|
]));
|
|
1251
1251
|
}
|
|
1252
|
-
}),
|
|
1252
|
+
}), Wo = ["onClick"], qo = {
|
|
1253
1253
|
key: 1,
|
|
1254
1254
|
pl5: ""
|
|
1255
|
-
},
|
|
1255
|
+
}, Jo = {
|
|
1256
1256
|
"font-state-field": "",
|
|
1257
1257
|
"text-3.5": ""
|
|
1258
|
-
},
|
|
1258
|
+
}, Yo = { key: 0 }, Pe = /* @__PURE__ */ B({
|
|
1259
1259
|
__name: "RootStateViewer",
|
|
1260
1260
|
props: {
|
|
1261
1261
|
data: {},
|
|
@@ -1273,13 +1273,13 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1273
1273
|
disableEdit: e.disableEdit
|
|
1274
1274
|
};
|
|
1275
1275
|
}
|
|
1276
|
-
const { context: o } =
|
|
1276
|
+
const { context: o } = Vo(n());
|
|
1277
1277
|
nt(() => {
|
|
1278
1278
|
o.value = n();
|
|
1279
1279
|
});
|
|
1280
1280
|
const { expanded: s, toggleExpanded: l } = ft(e.expandedStateId);
|
|
1281
1281
|
return (i, u) => (p(), h("div", null, [
|
|
1282
|
-
(p(!0), h(te, null, ae(i.data, (d,
|
|
1282
|
+
(p(!0), h(te, null, ae(i.data, (d, m, v) => (p(), h("div", { key: v }, [
|
|
1283
1283
|
r("div", {
|
|
1284
1284
|
class: ie(["flex items-center", [(d == null ? void 0 : d.length) && "cursor-pointer hover:bg-active"]]),
|
|
1285
1285
|
onClick: (a) => c(l)(`${v}`)
|
|
@@ -1287,10 +1287,10 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1287
1287
|
d != null && d.length ? (p(), z(pt, {
|
|
1288
1288
|
key: 0,
|
|
1289
1289
|
value: c(s).includes(`${v}`)
|
|
1290
|
-
}, null, 8, ["value"])) : (p(), h("span",
|
|
1291
|
-
r("span",
|
|
1292
|
-
], 10,
|
|
1293
|
-
d != null && d.length && c(s).includes(`${v}`) ? (p(), h("div",
|
|
1290
|
+
}, null, 8, ["value"])) : (p(), h("span", qo)),
|
|
1291
|
+
r("span", Jo, le(m), 1)
|
|
1292
|
+
], 10, Wo),
|
|
1293
|
+
d != null && d.length && c(s).includes(`${v}`) ? (p(), h("div", Yo, [
|
|
1294
1294
|
x(jt, {
|
|
1295
1295
|
data: d,
|
|
1296
1296
|
index: `${v}`,
|
|
@@ -1301,11 +1301,11 @@ const Ot = (t) => (ot("data-v-e1338684"), t = t(), lt(), t), jo = {
|
|
|
1301
1301
|
]));
|
|
1302
1302
|
}
|
|
1303
1303
|
});
|
|
1304
|
-
function
|
|
1304
|
+
function Xo(t, e) {
|
|
1305
1305
|
const n = new Date(t);
|
|
1306
1306
|
return `${n.toString().match(/\d\d:\d\d:\d\d/)[0]}${e === "ms" ? `.${String(n.getMilliseconds()).padStart(3, "0")}` : ""}`;
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function Qo(t, e) {
|
|
1309
1309
|
const n = /* @__PURE__ */ new Map(), o = zt(t, e.toLowerCase(), n, 0);
|
|
1310
1310
|
return n.clear(), o;
|
|
1311
1311
|
}
|
|
@@ -1322,15 +1322,15 @@ function zt(t, e, n, o) {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
function Bt(t, e, n, o, s) {
|
|
1324
1324
|
let l = !1, i;
|
|
1325
|
-
return e === "_custom" && (e = n.display, n = n.value), (i =
|
|
1325
|
+
return e === "_custom" && (e = n.display, n = n.value), (i = e1(n)) && (n = i), e && Tt(e, t) ? (l = !0, o.set(n, !0)) : o.has(n) ? l = o.get(n) : Array.isArray(n) ? (o.set(n, null), l = t1(n, t, o, s), o.set(n, l)) : cn(n) ? (o.set(n, null), l = zt(n, t, o, s), o.set(n, l)) : Tt(n, t) && (l = !0, o.set(n, !0)), l;
|
|
1326
1326
|
}
|
|
1327
1327
|
function Tt(t, e) {
|
|
1328
1328
|
return `${t}`.toLowerCase().includes(e);
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1331
|
-
return t === null ? "null" : t ===
|
|
1330
|
+
function e1(t) {
|
|
1331
|
+
return t === null ? "null" : t === dn ? "undefined" : t === pn ? "NaN" : t === fn ? "Infinity" : t === vn ? "-Infinity" : !1;
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function t1(t, e, n, o) {
|
|
1334
1334
|
if (o > Ut)
|
|
1335
1335
|
return !1;
|
|
1336
1336
|
let s = !1, l;
|
|
@@ -1363,13 +1363,13 @@ const Zt = /* @__PURE__ */ B({
|
|
|
1363
1363
|
]);
|
|
1364
1364
|
}
|
|
1365
1365
|
}), Ft = Symbol("SelectedSymbolKey");
|
|
1366
|
-
function
|
|
1366
|
+
function n1() {
|
|
1367
1367
|
const t = I("");
|
|
1368
1368
|
return _e(Ft, t), {
|
|
1369
1369
|
selected: t
|
|
1370
1370
|
};
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function o1() {
|
|
1373
1373
|
const t = ve(Ft, I(""));
|
|
1374
1374
|
function e(n) {
|
|
1375
1375
|
t.value = n;
|
|
@@ -1379,22 +1379,22 @@ function l1() {
|
|
|
1379
1379
|
select: e
|
|
1380
1380
|
};
|
|
1381
1381
|
}
|
|
1382
|
-
const
|
|
1382
|
+
const l1 = ["onClick", "onDblclick"], s1 = {
|
|
1383
1383
|
key: 1,
|
|
1384
1384
|
pl5: ""
|
|
1385
|
-
},
|
|
1385
|
+
}, a1 = {
|
|
1386
1386
|
"font-state-field": "",
|
|
1387
1387
|
"text-3.5": ""
|
|
1388
|
-
},
|
|
1388
|
+
}, i1 = {
|
|
1389
1389
|
key: 0,
|
|
1390
1390
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1391
|
-
},
|
|
1391
|
+
}, r1 = {
|
|
1392
1392
|
"group-hover:text-white": "",
|
|
1393
1393
|
class: "ws-nowrap [.active_&]:text-white"
|
|
1394
|
-
},
|
|
1394
|
+
}, u1 = {
|
|
1395
1395
|
key: 1,
|
|
1396
1396
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1397
|
-
},
|
|
1397
|
+
}, c1 = { key: 0 }, Me = /* @__PURE__ */ B({
|
|
1398
1398
|
__name: "TreeViewer",
|
|
1399
1399
|
props: /* @__PURE__ */ Ze({
|
|
1400
1400
|
data: {},
|
|
@@ -1407,17 +1407,17 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1407
1407
|
emits: ["update:modelValue"],
|
|
1408
1408
|
setup(t) {
|
|
1409
1409
|
const e = st(t, "modelValue"), { expanded: n, toggleExpanded: o } = ft();
|
|
1410
|
-
|
|
1410
|
+
o1();
|
|
1411
1411
|
function s(i) {
|
|
1412
1412
|
return "name" in i && (i == null ? void 0 : i.name) || "label" in i && i.label;
|
|
1413
1413
|
}
|
|
1414
1414
|
function l(i) {
|
|
1415
1415
|
e.value = i;
|
|
1416
1416
|
}
|
|
1417
|
-
return (i, u) => (p(!0), h(te, null, ae(i.data, (d,
|
|
1417
|
+
return (i, u) => (p(!0), h(te, null, ae(i.data, (d, m) => {
|
|
1418
1418
|
var v, a;
|
|
1419
1419
|
return p(), h("div", {
|
|
1420
|
-
key:
|
|
1420
|
+
key: m,
|
|
1421
1421
|
class: ie({
|
|
1422
1422
|
"min-w-max": i.depth === 0
|
|
1423
1423
|
})
|
|
@@ -1433,18 +1433,18 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1433
1433
|
value: c(n).includes(d.id),
|
|
1434
1434
|
class: "[.active_&]:op20 group-hover:op20",
|
|
1435
1435
|
onClick: fe((f) => c(o)(d.id), ["stop"])
|
|
1436
|
-
}, null, 8, ["value", "onClick"])) : (p(), h("span",
|
|
1437
|
-
r("span",
|
|
1438
|
-
i.withTag ? (p(), h("span",
|
|
1439
|
-
r("span",
|
|
1440
|
-
i.withTag ? (p(), h("span",
|
|
1436
|
+
}, null, 8, ["value", "onClick"])) : (p(), h("span", s1)),
|
|
1437
|
+
r("span", a1, [
|
|
1438
|
+
i.withTag ? (p(), h("span", i1, "<")) : U("", !0),
|
|
1439
|
+
r("span", r1, le(s(d)), 1),
|
|
1440
|
+
i.withTag ? (p(), h("span", u1, ">")) : U("", !0)
|
|
1441
1441
|
]),
|
|
1442
|
-
(p(!0), h(te, null, ae(d.tags, (f,
|
|
1443
|
-
key:
|
|
1442
|
+
(p(!0), h(te, null, ae(d.tags, (f, _) => (p(), z(Zt, {
|
|
1443
|
+
key: _,
|
|
1444
1444
|
tag: f
|
|
1445
1445
|
}, null, 8, ["tag"]))), 128))
|
|
1446
|
-
], 46,
|
|
1447
|
-
(a = d == null ? void 0 : d.children) != null && a.length && c(n).includes(d.id) ? (p(), h("div",
|
|
1446
|
+
], 46, l1),
|
|
1447
|
+
(a = d == null ? void 0 : d.children) != null && a.length && c(n).includes(d.id) ? (p(), h("div", c1, [
|
|
1448
1448
|
x(Me, {
|
|
1449
1449
|
modelValue: e.value,
|
|
1450
1450
|
"onUpdate:modelValue": u[0] || (u[0] = (f) => e.value = f),
|
|
@@ -1456,31 +1456,31 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1456
1456
|
], 2);
|
|
1457
1457
|
}), 128));
|
|
1458
1458
|
}
|
|
1459
|
-
}),
|
|
1459
|
+
}), d1 = { class: "h-full flex flex-col" }, p1 = { class: "h-full flex flex-col p2" }, f1 = {
|
|
1460
1460
|
key: 0,
|
|
1461
1461
|
class: "mb-1 flex justify-end pb-1",
|
|
1462
1462
|
border: "b dashed base"
|
|
1463
|
-
},
|
|
1463
|
+
}, v1 = { class: "flex items-center gap-2 px-1" }, h1 = ["onClick"], m1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, _1 = { class: "h-full flex flex-col p2" }, g1 = {
|
|
1464
1464
|
key: 0,
|
|
1465
1465
|
class: "mb-1 flex justify-end pb-1",
|
|
1466
1466
|
border: "b dashed base"
|
|
1467
|
-
},
|
|
1467
|
+
}, C1 = { class: "flex items-center gap-2 px-1" }, x1 = ["onClick"], pe = "pinia", y1 = /* @__PURE__ */ B({
|
|
1468
1468
|
__name: "Index",
|
|
1469
1469
|
setup(t) {
|
|
1470
1470
|
const { expanded: e } = he(), { expanded: n } = he("pinia-store-state"), o = I([]), s = I([]), l = I(""), i = I([]), u = E(() => {
|
|
1471
1471
|
var T, P;
|
|
1472
1472
|
return (T = i.value) != null && T.length ? f((P = i.value) == null ? void 0 : P[0]) : [];
|
|
1473
|
-
}), d = E(() => y(i.value)),
|
|
1473
|
+
}), d = E(() => y(i.value)), m = E(() => d.value.map((T) => T.id)), v = I({}), a = E(() => {
|
|
1474
1474
|
var T, P;
|
|
1475
1475
|
return !((T = v.value.state) != null && T.length) && !((P = v.value.getters) != null && P.length);
|
|
1476
1476
|
});
|
|
1477
1477
|
function f(T, P = [], b = []) {
|
|
1478
1478
|
var S;
|
|
1479
|
-
return P.push(T.id), ((S = T.children) == null ? void 0 : S.length) === 0 && b.push([...P]), Array.isArray(T.children) && T.children.forEach((
|
|
1480
|
-
f(
|
|
1479
|
+
return P.push(T.id), ((S = T.children) == null ? void 0 : S.length) === 0 && b.push([...P]), Array.isArray(T.children) && T.children.forEach((C) => {
|
|
1480
|
+
f(C, P, b);
|
|
1481
1481
|
}), P.pop(), b;
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1483
|
+
function _(T, P) {
|
|
1484
1484
|
const b = [];
|
|
1485
1485
|
return T == null || T.forEach((S) => {
|
|
1486
1486
|
b.push(...S.slice(0, P + 1));
|
|
@@ -1488,14 +1488,14 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1488
1488
|
}
|
|
1489
1489
|
function y(T) {
|
|
1490
1490
|
const P = [], b = (S) => {
|
|
1491
|
-
S == null || S.forEach((
|
|
1491
|
+
S == null || S.forEach((C) => {
|
|
1492
1492
|
var D;
|
|
1493
|
-
P.push(
|
|
1493
|
+
P.push(C), (D = C.children) != null && D.length && b(C.children);
|
|
1494
1494
|
});
|
|
1495
1495
|
};
|
|
1496
1496
|
return b(T), P;
|
|
1497
1497
|
}
|
|
1498
|
-
function
|
|
1498
|
+
function g() {
|
|
1499
1499
|
A.value.getInspectorNodeActions(pe).then((T) => {
|
|
1500
1500
|
o.value = T;
|
|
1501
1501
|
});
|
|
@@ -1505,7 +1505,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1505
1505
|
s.value = T;
|
|
1506
1506
|
});
|
|
1507
1507
|
}
|
|
1508
|
-
|
|
1508
|
+
g(), k();
|
|
1509
1509
|
function j(T) {
|
|
1510
1510
|
A.value.callInspectorNodeAction(pe, T, l.value);
|
|
1511
1511
|
}
|
|
@@ -1521,7 +1521,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1521
1521
|
function w(T) {
|
|
1522
1522
|
A.value.getInspectorState({ inspectorId: pe, nodeId: T }).then((P) => {
|
|
1523
1523
|
const b = Y(P);
|
|
1524
|
-
b && (v.value = N(b), n.value = Array.from({ length: Object.keys(v.value).length }, (S,
|
|
1524
|
+
b && (v.value = N(b), n.value = Array.from({ length: Object.keys(v.value).length }, (S, C) => `${C}`));
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
1527
|
function R() {
|
|
@@ -1532,12 +1532,12 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1532
1532
|
}), (() => {
|
|
1533
1533
|
A.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((T) => {
|
|
1534
1534
|
const P = Y(T);
|
|
1535
|
-
i.value = P, !l.value && P.length && (l.value = P[0].id, w(P[0].id), e.value =
|
|
1535
|
+
i.value = P, !l.value && P.length && (l.value = P[0].id, w(P[0].id), e.value = _(u.value, 1));
|
|
1536
1536
|
});
|
|
1537
1537
|
})();
|
|
1538
1538
|
function K(T) {
|
|
1539
1539
|
const P = Y(T);
|
|
1540
|
-
P.inspectorId !== pe || !P.rootNodes.length || (i.value = P.rootNodes,
|
|
1540
|
+
P.inspectorId !== pe || !P.rootNodes.length || (i.value = P.rootNodes, m.value.includes(l.value) || (l.value = P.rootNodes[0].id, e.value = _(u.value, 1), w(P.rootNodes[0].id)));
|
|
1541
1541
|
}
|
|
1542
1542
|
function Z(T) {
|
|
1543
1543
|
const P = Y(T);
|
|
@@ -1551,7 +1551,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1551
1551
|
}
|
|
1552
1552
|
return A.functions.on(W.INSPECTOR_TREE_UPDATED, K), A.functions.on(W.INSPECTOR_STATE_UPDATED, Z), ye(() => {
|
|
1553
1553
|
A.functions.off(W.INSPECTOR_TREE_UPDATED, K), A.functions.off(W.INSPECTOR_STATE_UPDATED, Z);
|
|
1554
|
-
}), (T, P) => (p(), h("div",
|
|
1554
|
+
}), (T, P) => (p(), h("div", d1, [
|
|
1555
1555
|
x(Se, {
|
|
1556
1556
|
"doc-link": "https://pinia.vuejs.org/",
|
|
1557
1557
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
@@ -1571,13 +1571,13 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1571
1571
|
default: M(() => {
|
|
1572
1572
|
var b;
|
|
1573
1573
|
return [
|
|
1574
|
-
r("div",
|
|
1575
|
-
(b = s.value) != null && b.length ? (p(), h("div",
|
|
1576
|
-
r("div",
|
|
1577
|
-
(p(!0), h(te, null, ae(s.value, (S,
|
|
1578
|
-
key:
|
|
1574
|
+
r("div", p1, [
|
|
1575
|
+
(b = s.value) != null && b.length ? (p(), h("div", f1, [
|
|
1576
|
+
r("div", v1, [
|
|
1577
|
+
(p(!0), h(te, null, ae(s.value, (S, C) => J((p(), h("div", {
|
|
1578
|
+
key: C,
|
|
1579
1579
|
class: "flex items-center gap1",
|
|
1580
|
-
onClick: (D) => O(
|
|
1580
|
+
onClick: (D) => O(C)
|
|
1581
1581
|
}, [
|
|
1582
1582
|
r("i", {
|
|
1583
1583
|
class: ie(`i-ic-baseline-${S.icon.replace(/\_/g, "-")}`),
|
|
@@ -1586,7 +1586,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1586
1586
|
"text-base": "",
|
|
1587
1587
|
"hover:op100": ""
|
|
1588
1588
|
}, null, 2)
|
|
1589
|
-
], 8,
|
|
1589
|
+
], 8, h1)), [
|
|
1590
1590
|
[
|
|
1591
1591
|
c(Q),
|
|
1592
1592
|
{ content: S.tooltip },
|
|
@@ -1596,7 +1596,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1596
1596
|
])), 128))
|
|
1597
1597
|
])
|
|
1598
1598
|
])) : U("", !0),
|
|
1599
|
-
r("div",
|
|
1599
|
+
r("div", m1, [
|
|
1600
1600
|
x(Me, {
|
|
1601
1601
|
modelValue: l.value,
|
|
1602
1602
|
"onUpdate:modelValue": P[0] || (P[0] = (S) => l.value = S),
|
|
@@ -1612,13 +1612,13 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1612
1612
|
default: M(() => {
|
|
1613
1613
|
var b;
|
|
1614
1614
|
return [
|
|
1615
|
-
r("div",
|
|
1616
|
-
(b = o.value) != null && b.length ? (p(), h("div",
|
|
1617
|
-
r("div",
|
|
1618
|
-
(p(!0), h(te, null, ae(o.value, (S,
|
|
1619
|
-
key:
|
|
1615
|
+
r("div", _1, [
|
|
1616
|
+
(b = o.value) != null && b.length ? (p(), h("div", g1, [
|
|
1617
|
+
r("div", C1, [
|
|
1618
|
+
(p(!0), h(te, null, ae(o.value, (S, C) => J((p(), h("div", {
|
|
1619
|
+
key: C,
|
|
1620
1620
|
class: "flex items-center gap1",
|
|
1621
|
-
onClick: (D) => j(
|
|
1621
|
+
onClick: (D) => j(C)
|
|
1622
1622
|
}, [
|
|
1623
1623
|
r("i", {
|
|
1624
1624
|
class: ie(`i-ic-baseline-${S.icon.replace(/\_/g, "-")}`),
|
|
@@ -1627,7 +1627,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1627
1627
|
"text-base": "",
|
|
1628
1628
|
"hover:op100": ""
|
|
1629
1629
|
}, null, 2)
|
|
1630
|
-
], 8,
|
|
1630
|
+
], 8, x1)), [
|
|
1631
1631
|
[
|
|
1632
1632
|
c(Q),
|
|
1633
1633
|
{ content: S.tooltip },
|
|
@@ -1660,20 +1660,20 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1660
1660
|
})
|
|
1661
1661
|
]));
|
|
1662
1662
|
}
|
|
1663
|
-
}),
|
|
1663
|
+
}), b1 = { class: "p3" }, w1 = ["onClick"], $1 = {
|
|
1664
1664
|
key: 0,
|
|
1665
1665
|
class: "absolute left-5px top-4.5 h10 w0 border-l-2",
|
|
1666
1666
|
border: "solid gray2"
|
|
1667
|
-
},
|
|
1667
|
+
}, k1 = { class: "h-full flex items-center truncate pl5" }, I1 = {
|
|
1668
1668
|
absolute: "",
|
|
1669
1669
|
"top-5": "",
|
|
1670
1670
|
pr2: "",
|
|
1671
1671
|
"text-3": "",
|
|
1672
1672
|
op40: ""
|
|
1673
|
-
},
|
|
1673
|
+
}, S1 = {
|
|
1674
1674
|
pl2: "",
|
|
1675
1675
|
op30: ""
|
|
1676
|
-
},
|
|
1676
|
+
}, T1 = /* @__PURE__ */ B({
|
|
1677
1677
|
__name: "EventList",
|
|
1678
1678
|
props: /* @__PURE__ */ Ze({
|
|
1679
1679
|
data: {}
|
|
@@ -1685,15 +1685,15 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1685
1685
|
setup(t) {
|
|
1686
1686
|
const e = t, n = st(t, "modelValue"), o = ["#3e5770", "#42b983", "#0098c4"], s = I(null), l = E(() => {
|
|
1687
1687
|
let i = -1, u = 0;
|
|
1688
|
-
return e.data.forEach((d,
|
|
1689
|
-
(d.groupId !== u || i === -1) && (i = (i + 1) % o.length), u = d.groupId ?? u, d.id =
|
|
1688
|
+
return e.data.forEach((d, m) => {
|
|
1689
|
+
(d.groupId !== u || i === -1) && (i = (i + 1) % o.length), u = d.groupId ?? u, d.id = m, d.color = o[i];
|
|
1690
1690
|
}), e.data;
|
|
1691
1691
|
});
|
|
1692
1692
|
return X(() => l.value.length, (i) => {
|
|
1693
1693
|
var u;
|
|
1694
1694
|
(u = s.value) == null || u.scrollToItem(i - 1);
|
|
1695
|
-
}, { flush: "post" }), (i, u) => (p(), h("div",
|
|
1696
|
-
x(c(
|
|
1695
|
+
}, { flush: "post" }), (i, u) => (p(), h("div", b1, [
|
|
1696
|
+
x(c(bn), {
|
|
1697
1697
|
ref_key: "scrollerRef",
|
|
1698
1698
|
ref: s,
|
|
1699
1699
|
items: l.value,
|
|
@@ -1708,33 +1708,33 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1708
1708
|
r("div", {
|
|
1709
1709
|
class: "relative mb7 h6 cursor-pointer",
|
|
1710
1710
|
style: ke({ color: n.value === d.id ? d.color : "" }),
|
|
1711
|
-
onClick: (
|
|
1711
|
+
onClick: (m) => n.value = d.id
|
|
1712
1712
|
}, [
|
|
1713
1713
|
r("span", {
|
|
1714
1714
|
class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
|
|
1715
1715
|
style: ke({ border: `3px solid ${d.color}` })
|
|
1716
1716
|
}, null, 4),
|
|
1717
|
-
d.id < i.data.length - 1 ? (p(), h("span",
|
|
1718
|
-
r("p",
|
|
1719
|
-
r("span",
|
|
1717
|
+
d.id < i.data.length - 1 ? (p(), h("span", $1)) : U("", !0),
|
|
1718
|
+
r("p", k1, [
|
|
1719
|
+
r("span", I1, "[" + le(c(Xo)(d.time)) + "]", 1),
|
|
1720
1720
|
ne(" " + le(d.title) + " ", 1),
|
|
1721
|
-
r("span",
|
|
1721
|
+
r("span", S1, le(d.subtitle), 1)
|
|
1722
1722
|
])
|
|
1723
|
-
], 12,
|
|
1723
|
+
], 12, w1)
|
|
1724
1724
|
]),
|
|
1725
1725
|
_: 1
|
|
1726
1726
|
}, 8, ["items"])
|
|
1727
1727
|
]));
|
|
1728
1728
|
}
|
|
1729
|
-
}),
|
|
1729
|
+
}), E1 = { class: "h-full flex flex-col" }, V1 = {
|
|
1730
1730
|
key: 0,
|
|
1731
1731
|
class: "flex-1 overflow-hidden"
|
|
1732
|
-
},
|
|
1732
|
+
}, N1 = {
|
|
1733
1733
|
"h-full": "",
|
|
1734
1734
|
"select-none": "",
|
|
1735
1735
|
"overflow-scroll": "",
|
|
1736
1736
|
class: "no-scrollbar"
|
|
1737
|
-
},
|
|
1737
|
+
}, R1 = {
|
|
1738
1738
|
"h-full": "",
|
|
1739
1739
|
"select-none": "",
|
|
1740
1740
|
"overflow-scroll": "",
|
|
@@ -1750,9 +1750,9 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1750
1750
|
const e = t, { expanded: n } = he("timeline-state");
|
|
1751
1751
|
n.value = ["0", "1"];
|
|
1752
1752
|
const o = I([]), s = I(/* @__PURE__ */ new Map()), l = I(0), i = E(() => o.value[l.value] ?? null), u = E(() => {
|
|
1753
|
-
var
|
|
1753
|
+
var _;
|
|
1754
1754
|
const f = [];
|
|
1755
|
-
for (const y in (
|
|
1755
|
+
for (const y in (_ = i.value) == null ? void 0 : _.data)
|
|
1756
1756
|
f.push({
|
|
1757
1757
|
key: y,
|
|
1758
1758
|
type: y,
|
|
@@ -1761,15 +1761,15 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1761
1761
|
});
|
|
1762
1762
|
return f;
|
|
1763
1763
|
}), d = E(() => {
|
|
1764
|
-
var y,
|
|
1765
|
-
const f = (y = i.value) == null ? void 0 : y.groupId,
|
|
1766
|
-
if (
|
|
1767
|
-
const j = ((
|
|
1764
|
+
var y, g, k;
|
|
1765
|
+
const f = (y = i.value) == null ? void 0 : y.groupId, _ = s.value.get(f);
|
|
1766
|
+
if (_) {
|
|
1767
|
+
const j = ((g = _[_.length - 1]) == null ? void 0 : g.time) - (((k = _[0]) == null ? void 0 : k.time) ?? 0);
|
|
1768
1768
|
return [{
|
|
1769
1769
|
key: "events",
|
|
1770
1770
|
type: "events",
|
|
1771
1771
|
editable: !1,
|
|
1772
|
-
value:
|
|
1772
|
+
value: _.length
|
|
1773
1773
|
}, j && {
|
|
1774
1774
|
key: "duration",
|
|
1775
1775
|
type: "duration",
|
|
@@ -1777,22 +1777,22 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1777
1777
|
value: `${j}ms`
|
|
1778
1778
|
}].filter(Boolean);
|
|
1779
1779
|
}
|
|
1780
|
-
}),
|
|
1780
|
+
}), m = E(() => ({ "Event Info": u.value, ...d.value && { "Group Info": d.value } }));
|
|
1781
1781
|
function v(f) {
|
|
1782
1782
|
var y;
|
|
1783
|
-
const
|
|
1784
|
-
|
|
1783
|
+
const _ = f.groupId;
|
|
1784
|
+
_ !== void 0 && (s.value.set(_, s.value.get(_) ?? []), (y = s.value.get(_)) == null || y.push(f));
|
|
1785
1785
|
}
|
|
1786
1786
|
function a(f) {
|
|
1787
|
-
const
|
|
1788
|
-
if (!
|
|
1787
|
+
const _ = Y(f);
|
|
1788
|
+
if (!_)
|
|
1789
1789
|
return;
|
|
1790
|
-
const { layerId: y, event:
|
|
1791
|
-
e.layerIds.includes(y) && (o.value.push(
|
|
1790
|
+
const { layerId: y, event: g } = _;
|
|
1791
|
+
e.layerIds.includes(y) && (o.value.push(g), v(g));
|
|
1792
1792
|
}
|
|
1793
1793
|
return A.functions.on(W.TIMELINE_EVENT_UPDATED, a), ye(() => {
|
|
1794
1794
|
A.functions.off(W.TIMELINE_EVENT_UPDATED, a);
|
|
1795
|
-
}), (f,
|
|
1795
|
+
}), (f, _) => (p(), h("div", E1, [
|
|
1796
1796
|
x(Se, {
|
|
1797
1797
|
"doc-link": f.docLink,
|
|
1798
1798
|
"github-repo-link": f.githubRepoLink
|
|
@@ -1802,7 +1802,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1802
1802
|
]),
|
|
1803
1803
|
_: 1
|
|
1804
1804
|
}, 8, ["doc-link", "github-repo-link"]),
|
|
1805
|
-
o.value.length ? (p(), h("div",
|
|
1805
|
+
o.value.length ? (p(), h("div", V1, [
|
|
1806
1806
|
x(c(Ae), { class: "h-full" }, {
|
|
1807
1807
|
default: M(() => [
|
|
1808
1808
|
x(c(ue), {
|
|
@@ -1811,10 +1811,10 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1811
1811
|
"h-full": ""
|
|
1812
1812
|
}, {
|
|
1813
1813
|
default: M(() => [
|
|
1814
|
-
r("div",
|
|
1815
|
-
x(
|
|
1814
|
+
r("div", N1, [
|
|
1815
|
+
x(T1, {
|
|
1816
1816
|
modelValue: l.value,
|
|
1817
|
-
"onUpdate:modelValue":
|
|
1817
|
+
"onUpdate:modelValue": _[0] || (_[0] = (y) => l.value = y),
|
|
1818
1818
|
data: o.value
|
|
1819
1819
|
}, null, 8, ["modelValue", "data"])
|
|
1820
1820
|
])
|
|
@@ -1823,10 +1823,10 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1823
1823
|
}),
|
|
1824
1824
|
x(c(ue), { size: "60" }, {
|
|
1825
1825
|
default: M(() => [
|
|
1826
|
-
r("div",
|
|
1826
|
+
r("div", R1, [
|
|
1827
1827
|
x(Pe, {
|
|
1828
1828
|
class: "p3",
|
|
1829
|
-
data:
|
|
1829
|
+
data: m.value,
|
|
1830
1830
|
"node-id": "",
|
|
1831
1831
|
"inspector-id": "",
|
|
1832
1832
|
"disable-edit": !0,
|
|
@@ -1850,7 +1850,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1850
1850
|
}))
|
|
1851
1851
|
]));
|
|
1852
1852
|
}
|
|
1853
|
-
}),
|
|
1853
|
+
}), A1 = /* @__PURE__ */ B({
|
|
1854
1854
|
__name: "Index",
|
|
1855
1855
|
setup(t) {
|
|
1856
1856
|
const e = ["pinia:mutations"];
|
|
@@ -1860,10 +1860,10 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1860
1860
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
1861
1861
|
}));
|
|
1862
1862
|
}
|
|
1863
|
-
}),
|
|
1863
|
+
}), D1 = { class: "flex-1 overflow-y-auto p2" }, P1 = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, M1 = { class: "w-4/5" }, H1 = {
|
|
1864
1864
|
key: 0,
|
|
1865
1865
|
class: "flex justify-start"
|
|
1866
|
-
},
|
|
1866
|
+
}, L1 = { key: 1 }, Gt = /* @__PURE__ */ B({
|
|
1867
1867
|
__name: "Settings",
|
|
1868
1868
|
props: {
|
|
1869
1869
|
pluginId: {},
|
|
@@ -1874,51 +1874,48 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1874
1874
|
setup(t, { emit: e }) {
|
|
1875
1875
|
const n = t, o = e, s = E(() => n.options), l = E(() => n.values);
|
|
1876
1876
|
function i(u, d) {
|
|
1877
|
-
A.value.updatePluginSettings(n.pluginId, u, d), A.value.getPluginSettings(n.pluginId).then((
|
|
1878
|
-
o("update",
|
|
1877
|
+
A.value.updatePluginSettings(n.pluginId, u, d), A.value.getPluginSettings(n.pluginId).then((m) => {
|
|
1878
|
+
o("update", m);
|
|
1879
1879
|
});
|
|
1880
1880
|
}
|
|
1881
|
-
return (u, d) =>
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
])
|
|
1911
|
-
]);
|
|
1912
|
-
};
|
|
1881
|
+
return (u, d) => (p(), h("div", D1, [
|
|
1882
|
+
r("ul", null, [
|
|
1883
|
+
(p(!0), h(te, null, ae(s.value, (m, v) => (p(), h("li", {
|
|
1884
|
+
key: v,
|
|
1885
|
+
class: "flex items-center py-2"
|
|
1886
|
+
}, [
|
|
1887
|
+
r("div", P1, le(m.label), 1),
|
|
1888
|
+
r("div", M1, [
|
|
1889
|
+
m.type === "boolean" ? (p(), h("div", H1, [
|
|
1890
|
+
x(c(mn), {
|
|
1891
|
+
"model-value": l.value[v],
|
|
1892
|
+
class: "row-reverse flex hover:bg-active py1 pl2 pr1",
|
|
1893
|
+
"onUpdate:modelValue": (a) => i(v, a)
|
|
1894
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
1895
|
+
])) : m.type === "choice" ? (p(), h("div", L1, [
|
|
1896
|
+
x(c(_n), {
|
|
1897
|
+
"model-value": l.value[v],
|
|
1898
|
+
options: m.options,
|
|
1899
|
+
"onUpdate:modelValue": (a) => i(v, a)
|
|
1900
|
+
}, null, 8, ["model-value", "options", "onUpdate:modelValue"])
|
|
1901
|
+
])) : m.type === "text" ? (p(), z(c(Fe), {
|
|
1902
|
+
key: 2,
|
|
1903
|
+
"model-value": l.value[v],
|
|
1904
|
+
"onUpdate:modelValue": (a) => i(v, a)
|
|
1905
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])) : U("", !0)
|
|
1906
|
+
])
|
|
1907
|
+
]))), 128))
|
|
1908
|
+
])
|
|
1909
|
+
]));
|
|
1913
1910
|
}
|
|
1914
|
-
}),
|
|
1911
|
+
}), O1 = { class: "h-full flex flex-col" }, j1 = "pinia", U1 = /* @__PURE__ */ B({
|
|
1915
1912
|
__name: "Settings",
|
|
1916
1913
|
setup(t) {
|
|
1917
1914
|
const e = ve("pluginSettings"), n = E(() => e.value.options), o = E(() => e.value.values);
|
|
1918
1915
|
function s(l) {
|
|
1919
1916
|
e.value = l;
|
|
1920
1917
|
}
|
|
1921
|
-
return (l, i) => (p(), h("div",
|
|
1918
|
+
return (l, i) => (p(), h("div", O1, [
|
|
1922
1919
|
x(Se, {
|
|
1923
1920
|
"doc-link": "https://pinia.vuejs.org/",
|
|
1924
1921
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
@@ -1929,17 +1926,17 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1929
1926
|
_: 1
|
|
1930
1927
|
}),
|
|
1931
1928
|
x(Gt, {
|
|
1932
|
-
"plugin-id":
|
|
1929
|
+
"plugin-id": j1,
|
|
1933
1930
|
options: n.value,
|
|
1934
1931
|
values: o.value,
|
|
1935
1932
|
onUpdate: s
|
|
1936
1933
|
}, null, 8, ["options", "values"])
|
|
1937
1934
|
]));
|
|
1938
1935
|
}
|
|
1939
|
-
}),
|
|
1936
|
+
}), z1 = {
|
|
1940
1937
|
"h-full": "",
|
|
1941
1938
|
"w-full": ""
|
|
1942
|
-
},
|
|
1939
|
+
}, ta = /* @__PURE__ */ B({
|
|
1943
1940
|
__name: "index",
|
|
1944
1941
|
setup(t) {
|
|
1945
1942
|
const e = I(null);
|
|
@@ -1948,25 +1945,25 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1948
1945
|
{
|
|
1949
1946
|
path: "/store",
|
|
1950
1947
|
name: "Store",
|
|
1951
|
-
component:
|
|
1948
|
+
component: y1,
|
|
1952
1949
|
icon: "i-carbon-tree-view-alt"
|
|
1953
1950
|
},
|
|
1954
1951
|
{
|
|
1955
1952
|
path: "/timeline",
|
|
1956
1953
|
name: "Timeline",
|
|
1957
|
-
component:
|
|
1954
|
+
component: A1,
|
|
1958
1955
|
icon: "i-mdi:timeline-clock-outline"
|
|
1959
1956
|
},
|
|
1960
1957
|
{
|
|
1961
1958
|
path: "/",
|
|
1962
1959
|
name: "About",
|
|
1963
|
-
component:
|
|
1960
|
+
component: Wn,
|
|
1964
1961
|
icon: "i-logos-pinia"
|
|
1965
1962
|
},
|
|
1966
1963
|
e.value && {
|
|
1967
1964
|
path: "/settings",
|
|
1968
1965
|
name: "Settings",
|
|
1969
|
-
component:
|
|
1966
|
+
component: U1,
|
|
1970
1967
|
icon: "i-mdi:cog-outline"
|
|
1971
1968
|
}
|
|
1972
1969
|
].filter(Boolean)), { VirtualRouterView: o, restoreRouter: s } = it(n, {
|
|
@@ -1976,11 +1973,11 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1976
1973
|
A.value.getPluginSettings("pinia").then((l) => {
|
|
1977
1974
|
l.options ? e.value = l : e.value = null;
|
|
1978
1975
|
});
|
|
1979
|
-
}), (l, i) => (p(), h("div",
|
|
1976
|
+
}), (l, i) => (p(), h("div", z1, [
|
|
1980
1977
|
x(c(o))
|
|
1981
1978
|
]));
|
|
1982
1979
|
}
|
|
1983
|
-
}),
|
|
1980
|
+
}), B1 = { class: "absolute left-0 top-0 h-full w-full flex flex-col rounded-br-2.5 rounded-tr-2.5 bg-white p2 dark:bg-[#121212]" }, Z1 = /* @__PURE__ */ r("span", { class: "font-500" }, "Render Code", -1), F1 = { class: "flex-1 overflow-scroll text-3.5" }, G1 = /* @__PURE__ */ B({
|
|
1984
1981
|
__name: "RenderCode",
|
|
1985
1982
|
props: {
|
|
1986
1983
|
code: {}
|
|
@@ -1991,23 +1988,23 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
1991
1988
|
function o() {
|
|
1992
1989
|
n("close");
|
|
1993
1990
|
}
|
|
1994
|
-
return (s, l) => (p(), h("div",
|
|
1991
|
+
return (s, l) => (p(), h("div", B1, [
|
|
1995
1992
|
r("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
|
|
1996
|
-
|
|
1993
|
+
Z1,
|
|
1997
1994
|
r("i", {
|
|
1998
1995
|
class: "i-carbon-close cursor-pointer hover:op80",
|
|
1999
1996
|
onClick: o
|
|
2000
1997
|
})
|
|
2001
1998
|
]),
|
|
2002
|
-
r("div",
|
|
2003
|
-
x(c(
|
|
1999
|
+
r("div", F1, [
|
|
2000
|
+
x(c(gn), {
|
|
2004
2001
|
code: s.code,
|
|
2005
2002
|
lang: "javascript"
|
|
2006
2003
|
}, null, 8, ["code"])
|
|
2007
2004
|
])
|
|
2008
2005
|
]));
|
|
2009
2006
|
}
|
|
2010
|
-
}),
|
|
2007
|
+
}), K1 = { class: "p2" }, W1 = ["onClick"], q1 = /* @__PURE__ */ B({
|
|
2011
2008
|
__name: "SelectiveList",
|
|
2012
2009
|
props: /* @__PURE__ */ Ze({
|
|
2013
2010
|
data: {}
|
|
@@ -2021,45 +2018,45 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2021
2018
|
function s(l) {
|
|
2022
2019
|
o.value = l, n("select", l);
|
|
2023
2020
|
}
|
|
2024
|
-
return (l, i) => (p(), h("ul",
|
|
2021
|
+
return (l, i) => (p(), h("ul", K1, [
|
|
2025
2022
|
(p(!0), h(te, null, ae(l.data, (u) => (p(), h("li", {
|
|
2026
2023
|
key: u.id,
|
|
2027
2024
|
class: ie(["selectable-item", { active: u.id === o.value }]),
|
|
2028
2025
|
onClick: (d) => s(u.id)
|
|
2029
2026
|
}, [
|
|
2030
2027
|
ne(le(u.label) + " ", 1),
|
|
2031
|
-
(p(!0), h(te, null, ae(u.tags, (d,
|
|
2032
|
-
key:
|
|
2028
|
+
(p(!0), h(te, null, ae(u.tags, (d, m) => (p(), z(Zt, {
|
|
2029
|
+
key: m,
|
|
2033
2030
|
tag: d
|
|
2034
2031
|
}, null, 8, ["tag"]))), 128))
|
|
2035
|
-
], 10,
|
|
2032
|
+
], 10, W1))), 128))
|
|
2036
2033
|
]));
|
|
2037
2034
|
}
|
|
2038
|
-
}), He = (t) => (ot("data-v-092d4be1"), t = t(), lt(), t),
|
|
2035
|
+
}), He = (t) => (ot("data-v-092d4be1"), t = t(), lt(), t), J1 = { class: "h-full w-full" }, Y1 = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, X1 = {
|
|
2039
2036
|
key: 0,
|
|
2040
2037
|
class: "h-full flex flex-col p2"
|
|
2041
|
-
},
|
|
2038
|
+
}, Q1 = { class: "flex py2" }, el = {
|
|
2042
2039
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2043
2040
|
style: { height: "1.1em", width: "1.1em" },
|
|
2044
2041
|
class: "op-80 hover:op-100",
|
|
2045
2042
|
viewBox: "0 0 24 24"
|
|
2046
|
-
},
|
|
2043
|
+
}, tl = /* @__PURE__ */ He(() => /* @__PURE__ */ r("path", {
|
|
2047
2044
|
fill: "currentColor",
|
|
2048
2045
|
d: "M10.611 10.611a1 1 0 0 1 1.11-.208l8.839 3.889a1 1 0 0 1-.14 1.88l-3.338.91l-.91 3.338a1 1 0 0 1-1.88.14l-3.89-8.84a1 1 0 0 1 .209-1.109M17 3a3 3 0 0 1 3 3v3a1 1 0 1 1-2 0V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h3a1 1 0 1 1 0 2H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm-3.73 10.269l1.715 3.9l.318-1.164a1 1 0 0 1 .701-.702l1.165-.318l-3.9-1.716Z"
|
|
2049
|
-
}, null, -1)),
|
|
2050
|
-
|
|
2051
|
-
],
|
|
2046
|
+
}, null, -1)), nl = [
|
|
2047
|
+
tl
|
|
2048
|
+
], ol = { class: "h-full flex flex-col p2" }, ll = { class: "flex py2" }, sl = {
|
|
2052
2049
|
key: 0,
|
|
2053
2050
|
class: "font-state-field flex items-center px-1 text-3.5"
|
|
2054
|
-
},
|
|
2051
|
+
}, al = /* @__PURE__ */ He(() => /* @__PURE__ */ r("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)), il = {
|
|
2055
2052
|
"group-hover:text-white": "",
|
|
2056
2053
|
class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
|
|
2057
|
-
},
|
|
2054
|
+
}, rl = /* @__PURE__ */ He(() => /* @__PURE__ */ r("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1)), ul = { class: "flex items-center gap-2 px-1" }, cl = { class: "h-full flex flex-col items-center justify-center gap-2" }, dl = { class: "block" }, pl = {
|
|
2058
2055
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2059
2056
|
style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
|
|
2060
2057
|
class: "animate-fade",
|
|
2061
2058
|
viewBox: "0 0 24 24"
|
|
2062
|
-
},
|
|
2059
|
+
}, fl = /* @__PURE__ */ He(() => /* @__PURE__ */ r("g", {
|
|
2063
2060
|
fill: "none",
|
|
2064
2061
|
stroke: "currentColor",
|
|
2065
2062
|
"stroke-linecap": "round",
|
|
@@ -2073,17 +2070,17 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2073
2070
|
fill: "currentColor"
|
|
2074
2071
|
}),
|
|
2075
2072
|
/* @__PURE__ */ r("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
|
|
2076
|
-
], -1)),
|
|
2077
|
-
|
|
2078
|
-
],
|
|
2073
|
+
], -1)), vl = [
|
|
2074
|
+
fl
|
|
2075
|
+
], hl = /* @__PURE__ */ He(() => /* @__PURE__ */ r("p", null, " Click on a component on the page to select it ", -1)), ml = { class: "flex items-center justify-center" }, Ve = "components", _l = /* @__PURE__ */ B({
|
|
2079
2076
|
__name: "index",
|
|
2080
2077
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
2081
2078
|
setup(t, { emit: e }) {
|
|
2082
|
-
const n = e, o = I(), s = I(!1), { width: l } =
|
|
2083
|
-
function
|
|
2079
|
+
const n = e, o = I(), s = I(!1), { width: l } = Io(o), i = E(() => s.value ? l.value < 700 : !1), u = I(""), d = I(""), [m, v] = xo(!0), a = I(!1), f = I(!1), _ = I(""), y = I(!1);
|
|
2080
|
+
function g($, V = [], L = []) {
|
|
2084
2081
|
var G;
|
|
2085
2082
|
return V.push($.id), ((G = $.children) == null ? void 0 : G.length) === 0 && L.push([...V]), Array.isArray($.children) && $.children.forEach((q) => {
|
|
2086
|
-
|
|
2083
|
+
g(q, V, L);
|
|
2087
2084
|
}), V.pop(), L;
|
|
2088
2085
|
}
|
|
2089
2086
|
function k($) {
|
|
@@ -2110,7 +2107,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2110
2107
|
}
|
|
2111
2108
|
const N = I([]), w = E(() => {
|
|
2112
2109
|
var $, V;
|
|
2113
|
-
return ($ = N.value) != null && $.length ?
|
|
2110
|
+
return ($ = N.value) != null && $.length ? g((V = N.value) == null ? void 0 : V[0]) : [];
|
|
2114
2111
|
}), R = E(() => k(N.value)), H = E(() => R.value.map(($) => $.id)), K = I({}), Z = I(""), T = E(() => {
|
|
2115
2112
|
const $ = [], V = (L) => {
|
|
2116
2113
|
L.forEach((G) => {
|
|
@@ -2127,7 +2124,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2127
2124
|
for (const V in K.value) {
|
|
2128
2125
|
const G = K.value[V].filter((we) => {
|
|
2129
2126
|
try {
|
|
2130
|
-
return
|
|
2127
|
+
return Qo({
|
|
2131
2128
|
[we.key]: we.value
|
|
2132
2129
|
}, d.value);
|
|
2133
2130
|
} catch (Qt) {
|
|
@@ -2135,12 +2132,12 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2135
2132
|
[we.key]: Qt
|
|
2136
2133
|
};
|
|
2137
2134
|
}
|
|
2138
|
-
}), q =
|
|
2135
|
+
}), q = wn(Object.values($n(At(G), "stateType")));
|
|
2139
2136
|
G.length && ($[V] = q);
|
|
2140
2137
|
}
|
|
2141
2138
|
return $;
|
|
2142
|
-
}), { expanded: S } = he(), { expanded:
|
|
2143
|
-
|
|
2139
|
+
}), { expanded: S } = he(), { expanded: C } = he("component-state");
|
|
2140
|
+
n1();
|
|
2144
2141
|
async function D($ = "") {
|
|
2145
2142
|
return A.value.getInspectorTree({ inspectorId: Ve, filter: $ }).then((V) => {
|
|
2146
2143
|
var G, q;
|
|
@@ -2159,7 +2156,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2159
2156
|
function se($) {
|
|
2160
2157
|
A.value.getInspectorState({ inspectorId: Ve, nodeId: $ }).then((V) => {
|
|
2161
2158
|
const L = Y(V);
|
|
2162
|
-
L && (K.value = F(L),
|
|
2159
|
+
L && (K.value = F(L), C.value = Array.from({ length: Object.keys(K.value).length }, (G, q) => `${q}`));
|
|
2163
2160
|
});
|
|
2164
2161
|
}
|
|
2165
2162
|
X(Z, ($) => {
|
|
@@ -2176,7 +2173,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2176
2173
|
v();
|
|
2177
2174
|
});
|
|
2178
2175
|
}
|
|
2179
|
-
|
|
2176
|
+
yo(u, ($) => {
|
|
2180
2177
|
ce($);
|
|
2181
2178
|
}, { debounce: 300 });
|
|
2182
2179
|
function ge($) {
|
|
@@ -2208,10 +2205,10 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2208
2205
|
}
|
|
2209
2206
|
function Ue() {
|
|
2210
2207
|
A.value.getComponentRenderCode(Z.value).then(($) => {
|
|
2211
|
-
|
|
2208
|
+
_.value = $, y.value = !0;
|
|
2212
2209
|
});
|
|
2213
2210
|
}
|
|
2214
|
-
function
|
|
2211
|
+
function qe() {
|
|
2215
2212
|
n("openInEditor", P.value);
|
|
2216
2213
|
}
|
|
2217
2214
|
const Ee = I();
|
|
@@ -2223,24 +2220,24 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2223
2220
|
}, 300);
|
|
2224
2221
|
}
|
|
2225
2222
|
function Jt() {
|
|
2226
|
-
|
|
2223
|
+
_.value = "", y.value = !1;
|
|
2227
2224
|
}
|
|
2228
|
-
const
|
|
2225
|
+
const Je = an(), ht = E(() => Je.appRecords.value.map(($) => ({
|
|
2229
2226
|
label: $.name + ($.version ? ` (${$.version})` : ""),
|
|
2230
2227
|
value: $.id
|
|
2231
2228
|
}))), Yt = E(() => ht.value.map(($) => ({
|
|
2232
2229
|
label: $.label,
|
|
2233
2230
|
id: $.value
|
|
2234
|
-
}))),
|
|
2231
|
+
}))), Ye = I(Je.activeAppRecordId.value);
|
|
2235
2232
|
nt(() => {
|
|
2236
|
-
|
|
2233
|
+
Ye.value = Je.activeAppRecordId.value;
|
|
2237
2234
|
});
|
|
2238
2235
|
function Xt($) {
|
|
2239
2236
|
A.value.toggleApp($).then(() => {
|
|
2240
2237
|
Z.value = "", D();
|
|
2241
2238
|
});
|
|
2242
2239
|
}
|
|
2243
|
-
return ($, V) => (p(), h("div",
|
|
2240
|
+
return ($, V) => (p(), h("div", J1, [
|
|
2244
2241
|
x(c(Ae), {
|
|
2245
2242
|
ref_key: "splitpanesRef",
|
|
2246
2243
|
ref: o,
|
|
@@ -2255,10 +2252,10 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2255
2252
|
size: "20"
|
|
2256
2253
|
}, {
|
|
2257
2254
|
default: M(() => [
|
|
2258
|
-
r("div",
|
|
2259
|
-
x(
|
|
2260
|
-
modelValue:
|
|
2261
|
-
"onUpdate:modelValue": V[0] || (V[0] = (L) =>
|
|
2255
|
+
r("div", Y1, [
|
|
2256
|
+
x(q1, {
|
|
2257
|
+
modelValue: Ye.value,
|
|
2258
|
+
"onUpdate:modelValue": V[0] || (V[0] = (L) => Ye.value = L),
|
|
2262
2259
|
data: Yt.value,
|
|
2263
2260
|
class: "w-full",
|
|
2264
2261
|
onSelect: Xt
|
|
@@ -2272,23 +2269,23 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2272
2269
|
"h-full": ""
|
|
2273
2270
|
}, {
|
|
2274
2271
|
default: M(() => [
|
|
2275
|
-
a.value ? (p(), h("div",
|
|
2276
|
-
r("div",
|
|
2277
|
-
x(c(
|
|
2272
|
+
a.value ? (p(), h("div", X1, [
|
|
2273
|
+
r("div", Q1, [
|
|
2274
|
+
x(c(Fe), {
|
|
2278
2275
|
modelValue: u.value,
|
|
2279
2276
|
"onUpdate:modelValue": V[1] || (V[1] = (L) => u.value = L),
|
|
2280
2277
|
"loading-debounce-time": 250,
|
|
2281
|
-
loading: !c(
|
|
2278
|
+
loading: !c(m),
|
|
2282
2279
|
placeholder: "Find components...",
|
|
2283
2280
|
class: "flex-1 text-3.5"
|
|
2284
2281
|
}, null, 8, ["modelValue", "loading"]),
|
|
2285
|
-
c(
|
|
2282
|
+
c(xn) ? U("", !0) : J((p(), h("button", {
|
|
2286
2283
|
key: 0,
|
|
2287
2284
|
"px-1": "",
|
|
2288
2285
|
class: "hover:color-#00dc82",
|
|
2289
2286
|
onClick: Ce
|
|
2290
2287
|
}, [
|
|
2291
|
-
(p(), h("svg",
|
|
2288
|
+
(p(), h("svg", el, nl))
|
|
2292
2289
|
])), [
|
|
2293
2290
|
[
|
|
2294
2291
|
c(Q),
|
|
@@ -2321,21 +2318,21 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2321
2318
|
default: M(() => {
|
|
2322
2319
|
var L;
|
|
2323
2320
|
return [
|
|
2324
|
-
r("div",
|
|
2325
|
-
r("div",
|
|
2326
|
-
(L = T.value) != null && L.name ? (p(), h("span",
|
|
2327
|
-
|
|
2328
|
-
r("span",
|
|
2329
|
-
|
|
2321
|
+
r("div", ol, [
|
|
2322
|
+
r("div", ll, [
|
|
2323
|
+
(L = T.value) != null && L.name ? (p(), h("span", sl, [
|
|
2324
|
+
al,
|
|
2325
|
+
r("span", il, le(T.value.name), 1),
|
|
2326
|
+
rl
|
|
2330
2327
|
])) : U("", !0),
|
|
2331
|
-
x(c(
|
|
2328
|
+
x(c(Fe), {
|
|
2332
2329
|
modelValue: d.value,
|
|
2333
2330
|
"onUpdate:modelValue": V[3] || (V[3] = (G) => d.value = G),
|
|
2334
2331
|
"loading-debounce-time": 250,
|
|
2335
2332
|
placeholder: "Filter State...",
|
|
2336
2333
|
class: "flex-1 text-3.5"
|
|
2337
2334
|
}, null, 8, ["modelValue"]),
|
|
2338
|
-
r("div",
|
|
2335
|
+
r("div", ul, [
|
|
2339
2336
|
J(r("i", {
|
|
2340
2337
|
class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
|
|
2341
2338
|
onClick: Oe
|
|
@@ -2373,7 +2370,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2373
2370
|
P.value ? J((p(), h("i", {
|
|
2374
2371
|
key: 1,
|
|
2375
2372
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
2376
|
-
onClick:
|
|
2373
|
+
onClick: qe
|
|
2377
2374
|
}, null, 512)), [
|
|
2378
2375
|
[
|
|
2379
2376
|
c(Q),
|
|
@@ -2392,9 +2389,9 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2392
2389
|
"expanded-state-id": "component-state"
|
|
2393
2390
|
}, null, 8, ["data", "node-id"])
|
|
2394
2391
|
]),
|
|
2395
|
-
y.value &&
|
|
2392
|
+
y.value && _.value ? (p(), z(G1, {
|
|
2396
2393
|
key: 0,
|
|
2397
|
-
code:
|
|
2394
|
+
code: _.value,
|
|
2398
2395
|
onClose: Jt
|
|
2399
2396
|
}, null, 8, ["code"])) : U("", !0)
|
|
2400
2397
|
];
|
|
@@ -2404,7 +2401,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2404
2401
|
]),
|
|
2405
2402
|
_: 1
|
|
2406
2403
|
}, 8, ["horizontal"]),
|
|
2407
|
-
c($t) ? (p(), z(c(
|
|
2404
|
+
c($t) ? (p(), z(c(Cn), {
|
|
2408
2405
|
key: 0,
|
|
2409
2406
|
modelValue: f.value,
|
|
2410
2407
|
"onUpdate:modelValue": V[5] || (V[5] = (L) => f.value = L),
|
|
@@ -2413,7 +2410,7 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2413
2410
|
closable: !1
|
|
2414
2411
|
}, {
|
|
2415
2412
|
footer: M(() => [
|
|
2416
|
-
r("div",
|
|
2413
|
+
r("div", ml, [
|
|
2417
2414
|
x(c(de), { onClick: Le }, {
|
|
2418
2415
|
default: M(() => [
|
|
2419
2416
|
ne(" Cancel ")
|
|
@@ -2423,22 +2420,22 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2423
2420
|
])
|
|
2424
2421
|
]),
|
|
2425
2422
|
default: M(() => [
|
|
2426
|
-
r("div",
|
|
2427
|
-
r("span",
|
|
2428
|
-
(p(), h("svg",
|
|
2423
|
+
r("div", cl, [
|
|
2424
|
+
r("span", dl, [
|
|
2425
|
+
(p(), h("svg", pl, vl))
|
|
2429
2426
|
]),
|
|
2430
|
-
|
|
2427
|
+
hl
|
|
2431
2428
|
])
|
|
2432
2429
|
]),
|
|
2433
2430
|
_: 1
|
|
2434
2431
|
}, 8, ["modelValue"])) : U("", !0)
|
|
2435
2432
|
]));
|
|
2436
2433
|
}
|
|
2437
|
-
}),
|
|
2434
|
+
}), na = /* @__PURE__ */ be(_l, [["__scopeId", "data-v-092d4be1"]]), gl = {}, Cl = {
|
|
2438
2435
|
viewBox: "0 0 566 154",
|
|
2439
2436
|
fill: "none",
|
|
2440
2437
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2441
|
-
},
|
|
2438
|
+
}, xl = /* @__PURE__ */ r("svg", {
|
|
2442
2439
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2443
2440
|
width: "8em",
|
|
2444
2441
|
height: "8em",
|
|
@@ -2448,35 +2445,35 @@ const s1 = ["onClick", "onDblclick"], a1 = {
|
|
|
2448
2445
|
fill: "#3dd68c",
|
|
2449
2446
|
d: "M4 15V8.5a4.5 4.5 0 0 1 9 0v7a2.5 2.5 0 0 0 5 0V8.83a3.001 3.001 0 1 1 2 0v6.67a4.5 4.5 0 1 1-9 0v-7a2.5 2.5 0 0 0-5 0V15h3l-4 5l-4-5zm15-8a1 1 0 1 0 0-2a1 1 0 0 0 0 2"
|
|
2450
2447
|
})
|
|
2451
|
-
], -1),
|
|
2448
|
+
], -1), yl = /* @__PURE__ */ r("path", {
|
|
2452
2449
|
d: "M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",
|
|
2453
2450
|
fill: "currentColor"
|
|
2454
|
-
}, null, -1),
|
|
2455
|
-
|
|
2456
|
-
|
|
2451
|
+
}, null, -1), bl = [
|
|
2452
|
+
xl,
|
|
2453
|
+
yl
|
|
2457
2454
|
];
|
|
2458
|
-
function
|
|
2459
|
-
return p(), h("svg",
|
|
2455
|
+
function wl(t, e) {
|
|
2456
|
+
return p(), h("svg", Cl, bl);
|
|
2460
2457
|
}
|
|
2461
|
-
const
|
|
2458
|
+
const $l = /* @__PURE__ */ be(gl, [["render", wl]]), kl = {
|
|
2462
2459
|
"h-full": "",
|
|
2463
2460
|
"w-full": "",
|
|
2464
2461
|
flex: "",
|
|
2465
2462
|
"items-center": ""
|
|
2466
|
-
},
|
|
2463
|
+
}, Il = {
|
|
2467
2464
|
flex: "~ col gap2",
|
|
2468
2465
|
ma: "",
|
|
2469
2466
|
"px-5": ""
|
|
2470
|
-
},
|
|
2467
|
+
}, Sl = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), Tl = {
|
|
2471
2468
|
flex: "~ col",
|
|
2472
2469
|
"mt-20": "",
|
|
2473
2470
|
"items-center": ""
|
|
2474
|
-
},
|
|
2471
|
+
}, El = {
|
|
2475
2472
|
flex: "~",
|
|
2476
2473
|
"mt--10": "",
|
|
2477
2474
|
"items-center": "",
|
|
2478
2475
|
"justify-center": ""
|
|
2479
|
-
},
|
|
2476
|
+
}, Vl = /* @__PURE__ */ r("div", {
|
|
2480
2477
|
mb6: "",
|
|
2481
2478
|
"mt--1": "",
|
|
2482
2479
|
"text-center": "",
|
|
@@ -2484,19 +2481,19 @@ const kl = /* @__PURE__ */ be(Cl, [["render", $l]]), Il = {
|
|
|
2484
2481
|
flex: "~ gap-1"
|
|
2485
2482
|
}, [
|
|
2486
2483
|
/* @__PURE__ */ r("span", { op40: "" }, " Router DevTools ")
|
|
2487
|
-
], -1),
|
|
2484
|
+
], -1), Nl = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), Rl = { flex: "~ gap2 wrap" }, Al = /* @__PURE__ */ r("div", {
|
|
2488
2485
|
"i-carbon-tree-view-alt": "",
|
|
2489
2486
|
"text-3xl": ""
|
|
2490
|
-
}, null, -1),
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
],
|
|
2487
|
+
}, null, -1), Dl = /* @__PURE__ */ r("code", null, "Routes", -1), Pl = [
|
|
2488
|
+
Al,
|
|
2489
|
+
Dl
|
|
2490
|
+
], Ml = /* @__PURE__ */ r("div", {
|
|
2494
2491
|
"i-mdi:timeline-clock-outline": "",
|
|
2495
2492
|
"text-3xl": ""
|
|
2496
|
-
}, null, -1),
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
],
|
|
2493
|
+
}, null, -1), Hl = /* @__PURE__ */ r("div", null, "Timeline", -1), Ll = [
|
|
2494
|
+
Ml,
|
|
2495
|
+
Hl
|
|
2496
|
+
], Ol = /* @__PURE__ */ r("div", {
|
|
2500
2497
|
flex: "~ gap-6 wrap",
|
|
2501
2498
|
"mt-5": "",
|
|
2502
2499
|
"items-center": "",
|
|
@@ -2526,38 +2523,38 @@ const kl = /* @__PURE__ */ be(Cl, [["render", $l]]), Il = {
|
|
|
2526
2523
|
/* @__PURE__ */ r("div", { "i-carbon-document": "" }),
|
|
2527
2524
|
/* @__PURE__ */ ne(" View Documentation ")
|
|
2528
2525
|
])
|
|
2529
|
-
], -1),
|
|
2526
|
+
], -1), jl = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), Ul = /* @__PURE__ */ B({
|
|
2530
2527
|
__name: "About",
|
|
2531
2528
|
setup(t) {
|
|
2532
2529
|
const e = De();
|
|
2533
|
-
return (n, o) => (p(), h("div",
|
|
2534
|
-
r("div",
|
|
2535
|
-
|
|
2536
|
-
r("div",
|
|
2537
|
-
r("div",
|
|
2538
|
-
x(
|
|
2530
|
+
return (n, o) => (p(), h("div", kl, [
|
|
2531
|
+
r("div", Il, [
|
|
2532
|
+
Sl,
|
|
2533
|
+
r("div", Tl, [
|
|
2534
|
+
r("div", El, [
|
|
2535
|
+
x($l, { "h-18": "" })
|
|
2539
2536
|
]),
|
|
2540
|
-
|
|
2537
|
+
Vl
|
|
2541
2538
|
]),
|
|
2542
|
-
|
|
2543
|
-
r("div",
|
|
2539
|
+
Nl,
|
|
2540
|
+
r("div", Rl, [
|
|
2544
2541
|
r("div", {
|
|
2545
2542
|
flex: "~ col auto",
|
|
2546
2543
|
"min-w-40": "",
|
|
2547
2544
|
p4: "",
|
|
2548
2545
|
"theme-card-lime": "",
|
|
2549
2546
|
onClick: o[0] || (o[0] = (s) => c(e).push("/routes"))
|
|
2550
|
-
},
|
|
2547
|
+
}, Pl),
|
|
2551
2548
|
r("div", {
|
|
2552
2549
|
flex: "~ col auto",
|
|
2553
2550
|
"min-w-40": "",
|
|
2554
2551
|
p4: "",
|
|
2555
2552
|
"theme-card-lime": "",
|
|
2556
2553
|
onClick: o[1] || (o[1] = (s) => c(e).push("/timeline"))
|
|
2557
|
-
},
|
|
2554
|
+
}, Ll)
|
|
2558
2555
|
]),
|
|
2559
|
-
|
|
2560
|
-
|
|
2556
|
+
Ol,
|
|
2557
|
+
jl
|
|
2561
2558
|
])
|
|
2562
2559
|
]));
|
|
2563
2560
|
}
|
|
@@ -2575,24 +2572,24 @@ function Wt() {
|
|
|
2575
2572
|
});
|
|
2576
2573
|
return _e(Kt, t), t;
|
|
2577
2574
|
}
|
|
2578
|
-
const
|
|
2575
|
+
const zl = { class: "h-full flex flex-col" }, Bl = {
|
|
2579
2576
|
"h-full": "",
|
|
2580
2577
|
"select-none": "",
|
|
2581
2578
|
"overflow-scroll": "",
|
|
2582
2579
|
p2: "",
|
|
2583
2580
|
class: "no-scrollbar"
|
|
2584
|
-
},
|
|
2581
|
+
}, Zl = {
|
|
2585
2582
|
"h-full": "",
|
|
2586
2583
|
"select-none": "",
|
|
2587
2584
|
"overflow-scroll": "",
|
|
2588
2585
|
class: "no-scrollbar"
|
|
2589
|
-
},
|
|
2586
|
+
}, Fl = /* @__PURE__ */ B({
|
|
2590
2587
|
__name: "Index",
|
|
2591
2588
|
setup(t) {
|
|
2592
2589
|
const { expanded: e } = he(), { expanded: n } = he("routes-state"), o = Te(), s = E(() => o.value.id), l = I(""), i = I([]), u = E(() => {
|
|
2593
2590
|
var w, R;
|
|
2594
2591
|
return (w = i.value) != null && w.length ? a((R = i.value) == null ? void 0 : R[0]) : [];
|
|
2595
|
-
}), d = E(() =>
|
|
2592
|
+
}), d = E(() => _(i.value)), m = E(() => d.value.map((w) => w.id)), v = I({});
|
|
2596
2593
|
function a(w, R = [], H = []) {
|
|
2597
2594
|
var K;
|
|
2598
2595
|
return R.push(w.id), ((K = w.children) == null ? void 0 : K.length) === 0 && H.push([...R]), Array.isArray(w.children) && w.children.forEach((Z) => {
|
|
@@ -2605,7 +2602,7 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2605
2602
|
H.push(...K.slice(0, R + 1));
|
|
2606
2603
|
}), [...new Set(H)];
|
|
2607
2604
|
}
|
|
2608
|
-
function
|
|
2605
|
+
function _(w) {
|
|
2609
2606
|
const R = [], H = (K) => {
|
|
2610
2607
|
K == null || K.forEach((Z) => {
|
|
2611
2608
|
var T;
|
|
@@ -2620,7 +2617,7 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2620
2617
|
(R = w[H]) != null && R.length || delete w[H];
|
|
2621
2618
|
return w;
|
|
2622
2619
|
}
|
|
2623
|
-
function
|
|
2620
|
+
function g(w) {
|
|
2624
2621
|
A.value.getInspectorState({ inspectorId: s.value, nodeId: w }).then((R) => {
|
|
2625
2622
|
const H = Y(R);
|
|
2626
2623
|
H && (v.value = y(H), n.value = Array.from({ length: Object.keys(v.value).length }, (K, Z) => `${Z}`));
|
|
@@ -2630,18 +2627,18 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2630
2627
|
v.value = {};
|
|
2631
2628
|
}
|
|
2632
2629
|
X(l, () => {
|
|
2633
|
-
k(),
|
|
2630
|
+
k(), g(l.value);
|
|
2634
2631
|
});
|
|
2635
2632
|
const j = () => {
|
|
2636
2633
|
A.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((w) => {
|
|
2637
2634
|
const R = Y(w);
|
|
2638
|
-
i.value = R, !l.value && R.length && (l.value = R[0].id,
|
|
2635
|
+
i.value = R, !l.value && R.length && (l.value = R[0].id, g(R[0].id), e.value = f(u.value, 1));
|
|
2639
2636
|
});
|
|
2640
2637
|
};
|
|
2641
2638
|
Pt(s).toBeTruthy().then(j);
|
|
2642
2639
|
function O(w) {
|
|
2643
2640
|
const R = Y(w);
|
|
2644
|
-
R.inspectorId !== s.value || !R.rootNodes.length || (i.value = R.rootNodes,
|
|
2641
|
+
R.inspectorId !== s.value || !R.rootNodes.length || (i.value = R.rootNodes, m.value.includes(l.value) || (l.value = R.rootNodes[0].id, e.value = f(u.value, 1), g(R.rootNodes[0].id)));
|
|
2645
2642
|
}
|
|
2646
2643
|
function N(w) {
|
|
2647
2644
|
const R = Y(w);
|
|
@@ -2652,7 +2649,7 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2652
2649
|
}
|
|
2653
2650
|
return A.functions.on(W.INSPECTOR_TREE_UPDATED, O), A.functions.on(W.INSPECTOR_STATE_UPDATED, N), ye(() => {
|
|
2654
2651
|
A.functions.off(W.INSPECTOR_TREE_UPDATED, O), A.functions.off(W.INSPECTOR_STATE_UPDATED, N);
|
|
2655
|
-
}), (w, R) => (p(), h("div",
|
|
2652
|
+
}), (w, R) => (p(), h("div", zl, [
|
|
2656
2653
|
x(Se, {
|
|
2657
2654
|
"doc-link": "https://router.vuejs.org/",
|
|
2658
2655
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
@@ -2670,7 +2667,7 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2670
2667
|
"h-full": ""
|
|
2671
2668
|
}, {
|
|
2672
2669
|
default: M(() => [
|
|
2673
|
-
r("div",
|
|
2670
|
+
r("div", Bl, [
|
|
2674
2671
|
x(Me, {
|
|
2675
2672
|
modelValue: l.value,
|
|
2676
2673
|
"onUpdate:modelValue": R[0] || (R[0] = (H) => l.value = H),
|
|
@@ -2682,7 +2679,7 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2682
2679
|
}),
|
|
2683
2680
|
x(c(ue), { size: "60" }, {
|
|
2684
2681
|
default: M(() => [
|
|
2685
|
-
r("div",
|
|
2682
|
+
r("div", Zl, [
|
|
2686
2683
|
l.value ? (p(), z(Pe, {
|
|
2687
2684
|
key: 0,
|
|
2688
2685
|
class: "p3",
|
|
@@ -2705,7 +2702,7 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2705
2702
|
})
|
|
2706
2703
|
]));
|
|
2707
2704
|
}
|
|
2708
|
-
}),
|
|
2705
|
+
}), Gl = /* @__PURE__ */ B({
|
|
2709
2706
|
__name: "Index",
|
|
2710
2707
|
setup(t) {
|
|
2711
2708
|
const e = Te();
|
|
@@ -2715,10 +2712,10 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2715
2712
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
2716
2713
|
}, null, 8, ["layer-ids"]));
|
|
2717
2714
|
}
|
|
2718
|
-
}),
|
|
2715
|
+
}), Kl = {
|
|
2719
2716
|
"h-full": "",
|
|
2720
2717
|
"w-full": ""
|
|
2721
|
-
},
|
|
2718
|
+
}, oa = /* @__PURE__ */ B({
|
|
2722
2719
|
__name: "index",
|
|
2723
2720
|
props: {
|
|
2724
2721
|
id: {}
|
|
@@ -2728,19 +2725,19 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2728
2725
|
{
|
|
2729
2726
|
path: "/routes",
|
|
2730
2727
|
name: "Routes",
|
|
2731
|
-
component:
|
|
2728
|
+
component: Fl,
|
|
2732
2729
|
icon: "i-carbon-tree-view-alt"
|
|
2733
2730
|
},
|
|
2734
2731
|
{
|
|
2735
2732
|
path: "/timeline",
|
|
2736
2733
|
name: "Timeline",
|
|
2737
|
-
component:
|
|
2734
|
+
component: Gl,
|
|
2738
2735
|
icon: "i-mdi:timeline-clock-outline"
|
|
2739
2736
|
},
|
|
2740
2737
|
{
|
|
2741
2738
|
path: "/about",
|
|
2742
2739
|
name: "About",
|
|
2743
|
-
component:
|
|
2740
|
+
component: Ul,
|
|
2744
2741
|
icon: "i-ri-route-line"
|
|
2745
2742
|
}
|
|
2746
2743
|
], {
|
|
@@ -2756,7 +2753,7 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2756
2753
|
id: u == null ? void 0 : u.id,
|
|
2757
2754
|
label: u == null ? void 0 : u.label,
|
|
2758
2755
|
logo: u == null ? void 0 : u.logo,
|
|
2759
|
-
timelineLayerIds: u == null ? void 0 : u.timelineLayers.map((
|
|
2756
|
+
timelineLayerIds: u == null ? void 0 : u.timelineLayers.map((m) => m.id)
|
|
2760
2757
|
};
|
|
2761
2758
|
n.value = d, l(), o.value = !1;
|
|
2762
2759
|
});
|
|
@@ -2764,73 +2761,73 @@ const Bl = { class: "h-full flex flex-col" }, Zl = {
|
|
|
2764
2761
|
}
|
|
2765
2762
|
return X(() => e.id, (u) => {
|
|
2766
2763
|
u && i();
|
|
2767
|
-
}), (u, d) => (p(), h("div",
|
|
2764
|
+
}), (u, d) => (p(), h("div", Kl, [
|
|
2768
2765
|
x(c(s))
|
|
2769
2766
|
]));
|
|
2770
2767
|
}
|
|
2771
|
-
}),
|
|
2768
|
+
}), Wl = {}, ql = {
|
|
2772
2769
|
width: "175",
|
|
2773
2770
|
height: "34",
|
|
2774
2771
|
viewBox: "0 0 175 34",
|
|
2775
2772
|
fill: "none",
|
|
2776
2773
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2777
|
-
},
|
|
2774
|
+
}, Jl = /* @__PURE__ */ r("path", {
|
|
2778
2775
|
fill: "currentColor",
|
|
2779
2776
|
d: "M0.570999 33.3121V1.80715H10.8288C13.6975 1.80715 16.3198 2.39225 18.6962 3.56242C21.0721 4.73263 22.9701 6.5029 24.3901 8.87327C25.81 11.2136 26.52 14.1091 26.52 17.5596C26.52 20.9801 25.81 23.8756 24.3901 26.2458C22.9701 28.6162 21.0721 30.3868 18.6962 31.5568C16.3198 32.7269 13.6975 33.3121 10.8288 33.3121H0.570999ZM10.1332 27.461C12.9439 27.461 15.2767 26.6812 17.1314 25.1208C18.9858 23.5306 19.913 21.0102 19.913 17.5596C19.913 14.1091 18.9858 11.5887 17.1314 9.99846C15.2767 8.40819 12.9439 7.61306 10.1332 7.61306H7.09085V27.461H10.1332ZM50.3628 25.6159C49.928 28.0463 48.7544 29.9966 46.8421 31.4669C44.9297 32.9368 42.6257 33.672 39.931 33.672C37.5551 33.672 35.5119 33.117 33.8024 32.007C32.1216 30.8668 30.8468 29.3965 29.9772 27.5961C29.1081 25.7961 28.6733 23.9056 28.6733 21.9253C28.6733 19.915 29.0645 18.0247 29.8468 16.2544C30.6584 14.4841 31.8756 13.0439 33.498 11.9337C35.1499 10.8236 37.1491 10.2685 39.4962 10.2685C41.9306 10.2685 43.9589 10.8086 45.5817 11.8888C47.2045 12.9689 48.3924 14.3491 49.1456 16.0294C49.928 17.7097 50.3192 19.4799 50.3192 21.3402C50.3192 22.0303 50.2904 22.7054 50.2324 23.3656H34.4979C34.7295 24.9858 35.3091 26.2612 36.2363 27.191C37.1927 28.0914 38.4243 28.5412 39.931 28.5412C41.1482 28.5412 42.1478 28.3014 42.9301 27.8214C43.7125 27.3111 44.2197 26.5759 44.4513 25.6159H50.3628ZM39.4962 14.8592C38.1055 14.8592 37.0043 15.2343 36.1931 15.9844C35.3815 16.7045 34.8455 17.8447 34.5847 19.4049H44.2777C44.1905 18.0847 43.7269 17.0045 42.8865 16.1644C42.0466 15.2943 40.9162 14.8592 39.4962 14.8592ZM64.1603 33.3121H58.5969L50.599 10.6285H56.7713L61.3788 25.3008L65.9427 10.6285H72.1582L64.1603 33.3121ZM88.2757 33.3121H81.7559V7.61306H72.7585V1.80715H97.2731V7.61306H88.2757V33.3121ZM106.325 33.672C104.123 33.672 102.138 33.1771 100.37 32.1868C98.6029 31.1667 97.2266 29.7717 96.2414 28.0011C95.2562 26.2011 94.7634 24.1907 94.7634 21.9703C94.7634 19.75 95.2562 17.7547 96.2414 15.9844C97.2266 14.1841 98.6029 12.7889 100.37 11.7987C102.138 10.7786 104.123 10.2685 106.325 10.2685C108.528 10.2685 110.513 10.7786 112.28 11.7987C114.048 12.7889 115.424 14.1841 116.409 15.9844C117.395 17.7547 117.887 19.75 117.887 21.9703C117.887 24.1907 117.395 26.2011 116.409 28.0011C115.424 29.7717 114.048 31.1667 112.28 32.1868C110.513 33.1771 108.528 33.672 106.325 33.672ZM106.325 28.2712C107.948 28.2712 109.266 27.6864 110.281 26.5159C111.295 25.3458 111.802 23.8306 111.802 21.9703C111.802 20.08 111.295 18.5498 110.281 17.3796C109.266 16.2094 107.948 15.6243 106.325 15.6243C104.702 15.6243 103.384 16.2094 102.37 17.3796C101.356 18.5498 100.848 20.08 100.848 21.9703C100.848 23.8306 101.356 25.3458 102.37 26.5159C103.384 27.6864 104.702 28.2712 106.325 28.2712ZM131.624 33.672C129.422 33.672 127.436 33.1771 125.669 32.1868C123.901 31.1667 122.525 29.7717 121.54 28.0011C120.555 26.2011 120.062 24.1907 120.062 21.9703C120.062 19.75 120.555 17.7547 121.54 15.9844C122.525 14.1841 123.901 12.7889 125.669 11.7987C127.436 10.7786 129.422 10.2685 131.624 10.2685C133.826 10.2685 135.811 10.7786 137.579 11.7987C139.346 12.7889 140.722 14.1841 141.708 15.9844C142.693 17.7547 143.186 19.75 143.186 21.9703C143.186 24.1907 142.693 26.2011 141.708 28.0011C140.722 29.7717 139.346 31.1667 137.579 32.1868C135.811 33.1771 133.826 33.672 131.624 33.672ZM131.624 28.2712C133.246 28.2712 134.565 27.6864 135.579 26.5159C136.593 25.3458 137.101 23.8306 137.101 21.9703C137.101 20.08 136.593 18.5498 135.579 17.3796C134.565 16.2094 133.246 15.6243 131.624 15.6243C130.001 15.6243 128.682 16.2094 127.668 17.3796C126.654 18.5498 126.147 20.08 126.147 21.9703C126.147 23.8306 126.654 25.3458 127.668 26.5159C128.682 27.6864 130.001 28.2712 131.624 28.2712ZM152.88 33.3121H146.838V0.771999H152.88V33.3121ZM165.652 33.672C162.957 33.672 160.769 32.9522 159.088 31.5117C157.437 30.0418 156.553 28.0914 156.437 25.661H161.653C161.768 26.6812 162.174 27.4913 162.87 28.0914C163.594 28.6613 164.522 28.9463 165.652 28.9463C166.579 28.9463 167.332 28.7363 167.912 28.3163C168.52 27.8963 168.825 27.3712 168.825 26.7412C168.825 25.9008 168.477 25.3159 167.782 24.9858C167.086 24.6557 165.985 24.3557 164.478 24.0856C162.913 23.7856 161.638 23.4556 160.653 23.0955C159.668 22.7354 158.813 22.0903 158.089 21.1602C157.393 20.2 157.045 18.8498 157.045 17.1096C157.045 15.7893 157.379 14.6192 158.045 13.599C158.741 12.5488 159.682 11.7387 160.871 11.1686C162.058 10.5685 163.391 10.2685 164.869 10.2685C167.506 10.2685 169.636 10.9436 171.259 12.2938C172.91 13.644 173.794 15.4293 173.91 17.6496H168.651C168.535 16.7195 168.115 15.9994 167.39 15.4893C166.695 14.9492 165.912 14.6792 165.043 14.6792C164.174 14.6792 163.478 14.8742 162.957 15.2643C162.435 15.6543 162.174 16.1944 162.174 16.8845C162.174 17.7246 162.508 18.2948 163.174 18.5948C163.87 18.8648 164.956 19.1049 166.434 19.3149C168.028 19.5549 169.331 19.855 170.346 20.215C171.389 20.5451 172.287 21.2052 173.041 22.1953C173.794 23.1855 174.171 24.6257 174.171 26.5159C174.171 28.6762 173.389 30.4166 171.824 31.737C170.288 33.0271 168.23 33.672 165.652 33.672Z"
|
|
2780
|
-
}, null, -1),
|
|
2781
|
-
|
|
2777
|
+
}, null, -1), Yl = [
|
|
2778
|
+
Jl
|
|
2782
2779
|
];
|
|
2783
|
-
function
|
|
2784
|
-
return p(), h("svg",
|
|
2780
|
+
function Xl(t, e) {
|
|
2781
|
+
return p(), h("svg", ql, Yl);
|
|
2785
2782
|
}
|
|
2786
|
-
const
|
|
2783
|
+
const Ql = /* @__PURE__ */ be(Wl, [["render", Xl]]), es = {
|
|
2787
2784
|
"h-full": "",
|
|
2788
2785
|
"w-full": "",
|
|
2789
2786
|
flex: "",
|
|
2790
2787
|
"items-center": ""
|
|
2791
|
-
},
|
|
2788
|
+
}, ts = {
|
|
2792
2789
|
flex: "~ col gap2",
|
|
2793
2790
|
ma: "",
|
|
2794
2791
|
"px-5": ""
|
|
2795
|
-
},
|
|
2792
|
+
}, ns = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), os = {
|
|
2796
2793
|
flex: "~ col",
|
|
2797
2794
|
"mt-20": "",
|
|
2798
2795
|
"items-center": ""
|
|
2799
|
-
},
|
|
2796
|
+
}, ls = {
|
|
2800
2797
|
flex: "~",
|
|
2801
2798
|
"mt--10": "",
|
|
2802
2799
|
"items-center": "",
|
|
2803
2800
|
"justify-center": ""
|
|
2804
|
-
},
|
|
2801
|
+
}, ss = { class: "mr-1" }, as = {
|
|
2805
2802
|
key: 0,
|
|
2806
2803
|
class: "inline-block w20"
|
|
2807
|
-
},
|
|
2804
|
+
}, is = ["src", "alt"], rs = {
|
|
2808
2805
|
key: 1,
|
|
2809
2806
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
2810
|
-
},
|
|
2807
|
+
}, us = {
|
|
2811
2808
|
mb6: "",
|
|
2812
2809
|
"mt--1": "",
|
|
2813
2810
|
"text-center": "",
|
|
2814
2811
|
"text-sm": "",
|
|
2815
2812
|
flex: "~ gap-1"
|
|
2816
|
-
},
|
|
2813
|
+
}, cs = { op40: "" }, ds = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), ps = { flex: "~ gap2 wrap" }, fs = /* @__PURE__ */ r("div", {
|
|
2817
2814
|
"i-carbon-tree-view-alt": "",
|
|
2818
2815
|
"text-3xl": ""
|
|
2819
|
-
}, null, -1),
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
],
|
|
2816
|
+
}, null, -1), vs = /* @__PURE__ */ r("code", null, "State", -1), hs = [
|
|
2817
|
+
fs,
|
|
2818
|
+
vs
|
|
2819
|
+
], ms = /* @__PURE__ */ r("div", {
|
|
2823
2820
|
"i-mdi:timeline-clock-outline": "",
|
|
2824
2821
|
"text-3xl": ""
|
|
2825
|
-
}, null, -1),
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
],
|
|
2822
|
+
}, null, -1), _s = /* @__PURE__ */ r("div", null, "Timeline", -1), gs = [
|
|
2823
|
+
ms,
|
|
2824
|
+
_s
|
|
2825
|
+
], Cs = {
|
|
2829
2826
|
flex: "~ gap-6 wrap",
|
|
2830
2827
|
"mt-5": "",
|
|
2831
2828
|
"items-center": "",
|
|
2832
2829
|
"justify-center": ""
|
|
2833
|
-
},
|
|
2830
|
+
}, xs = ["href"], ys = /* @__PURE__ */ r("div", { "i-carbon-document": "" }, null, -1), bs = /* @__PURE__ */ r("div", { "flex-auto": "" }, null, -1), ws = /* @__PURE__ */ B({
|
|
2834
2831
|
__name: "About",
|
|
2835
2832
|
setup(t) {
|
|
2836
2833
|
const e = De(), n = Te(), o = I(!1), s = I(!1);
|
|
@@ -2841,52 +2838,52 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
2841
2838
|
o.value = !0, s.value = !0;
|
|
2842
2839
|
}
|
|
2843
2840
|
return (u, d) => {
|
|
2844
|
-
var
|
|
2845
|
-
return p(), h("div",
|
|
2846
|
-
r("div",
|
|
2847
|
-
|
|
2848
|
-
r("div",
|
|
2849
|
-
r("div",
|
|
2850
|
-
r("span",
|
|
2851
|
-
o.value ? U("", !0) : (p(), h("span",
|
|
2841
|
+
var m;
|
|
2842
|
+
return p(), h("div", es, [
|
|
2843
|
+
r("div", ts, [
|
|
2844
|
+
ns,
|
|
2845
|
+
r("div", os, [
|
|
2846
|
+
r("div", ls, [
|
|
2847
|
+
r("span", ss, [
|
|
2848
|
+
o.value ? U("", !0) : (p(), h("span", as)),
|
|
2852
2849
|
J(r("img", {
|
|
2853
2850
|
src: c(n).logo,
|
|
2854
2851
|
alt: `${c(n).label} Logo`,
|
|
2855
2852
|
class: "inline-block h16",
|
|
2856
2853
|
onError: i,
|
|
2857
2854
|
onLoad: l
|
|
2858
|
-
}, null, 40,
|
|
2859
|
-
[
|
|
2855
|
+
}, null, 40, is), [
|
|
2856
|
+
[sn, o.value && !s.value]
|
|
2860
2857
|
]),
|
|
2861
|
-
s.value ? (p(), h("span",
|
|
2858
|
+
s.value ? (p(), h("span", rs, le(c(n).label), 1)) : U("", !0)
|
|
2862
2859
|
]),
|
|
2863
2860
|
r("span", null, [
|
|
2864
|
-
x(
|
|
2861
|
+
x(Ql, { "h-18": "" })
|
|
2865
2862
|
])
|
|
2866
2863
|
]),
|
|
2867
|
-
r("div",
|
|
2868
|
-
r("span",
|
|
2864
|
+
r("div", us, [
|
|
2865
|
+
r("span", cs, le(c(n).label) + " DevTools ", 1)
|
|
2869
2866
|
])
|
|
2870
2867
|
]),
|
|
2871
|
-
|
|
2872
|
-
r("div",
|
|
2868
|
+
ds,
|
|
2869
|
+
r("div", ps, [
|
|
2873
2870
|
r("div", {
|
|
2874
2871
|
flex: "~ col auto",
|
|
2875
2872
|
"min-w-40": "",
|
|
2876
2873
|
p4: "",
|
|
2877
2874
|
"theme-card-lime": "",
|
|
2878
2875
|
onClick: d[0] || (d[0] = (v) => c(e).push("/state"))
|
|
2879
|
-
},
|
|
2880
|
-
(
|
|
2876
|
+
}, hs),
|
|
2877
|
+
(m = c(n).timelineLayerIds) != null && m.length ? (p(), h("div", {
|
|
2881
2878
|
key: 0,
|
|
2882
2879
|
flex: "~ col auto",
|
|
2883
2880
|
"min-w-40": "",
|
|
2884
2881
|
p4: "",
|
|
2885
2882
|
"theme-card-lime": "",
|
|
2886
2883
|
onClick: d[1] || (d[1] = (v) => c(e).push("/timeline"))
|
|
2887
|
-
},
|
|
2884
|
+
}, gs)) : U("", !0)
|
|
2888
2885
|
]),
|
|
2889
|
-
r("div",
|
|
2886
|
+
r("div", Cs, [
|
|
2890
2887
|
r("a", {
|
|
2891
2888
|
href: c(n).homepage,
|
|
2892
2889
|
target: "_blank",
|
|
@@ -2896,23 +2893,23 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
2896
2893
|
hover: "op100 text-yellow",
|
|
2897
2894
|
transition: ""
|
|
2898
2895
|
}, [
|
|
2899
|
-
|
|
2896
|
+
ys,
|
|
2900
2897
|
ne(" View Documentation ")
|
|
2901
|
-
], 8,
|
|
2898
|
+
], 8, xs)
|
|
2902
2899
|
]),
|
|
2903
|
-
|
|
2900
|
+
bs
|
|
2904
2901
|
])
|
|
2905
2902
|
]);
|
|
2906
2903
|
};
|
|
2907
2904
|
}
|
|
2908
|
-
}),
|
|
2905
|
+
}), $s = { class: "h-full flex flex-col" }, ks = /* @__PURE__ */ B({
|
|
2909
2906
|
__name: "Settings",
|
|
2910
2907
|
setup(t) {
|
|
2911
2908
|
const e = ve("pluginSettings"), n = Te(), o = E(() => e.value.options), s = E(() => e.value.values);
|
|
2912
2909
|
function l(i) {
|
|
2913
2910
|
e.value = i;
|
|
2914
2911
|
}
|
|
2915
|
-
return (i, u) => (p(), h("div",
|
|
2912
|
+
return (i, u) => (p(), h("div", $s, [
|
|
2916
2913
|
x(Se, {
|
|
2917
2914
|
"doc-link": c(n).homepage
|
|
2918
2915
|
}, {
|
|
@@ -2929,41 +2926,41 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
2929
2926
|
}, null, 8, ["plugin-id", "options", "values"])
|
|
2930
2927
|
]));
|
|
2931
2928
|
}
|
|
2932
|
-
}),
|
|
2929
|
+
}), Is = { class: "h-full flex flex-col" }, Ss = { class: "h-full flex flex-col p2" }, Ts = {
|
|
2933
2930
|
key: 0,
|
|
2934
2931
|
class: "mb-1 flex justify-end pb-1",
|
|
2935
2932
|
border: "b dashed base"
|
|
2936
|
-
},
|
|
2933
|
+
}, Es = { class: "flex items-center gap-2 px-1" }, Vs = ["onClick"], Ns = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, Rs = { class: "h-full flex flex-col p2" }, As = {
|
|
2937
2934
|
key: 0,
|
|
2938
2935
|
class: "mb-1 flex justify-end pb-1",
|
|
2939
2936
|
border: "b dashed base"
|
|
2940
|
-
},
|
|
2937
|
+
}, Ds = { class: "flex items-center gap-2 px-1" }, Ps = ["onClick"], Ms = /* @__PURE__ */ B({
|
|
2941
2938
|
__name: "Index",
|
|
2942
2939
|
setup(t) {
|
|
2943
2940
|
const { expanded: e } = he(), { expanded: n } = he("custom-inspector-state"), o = Te(), s = E(() => o.value.id), l = I([]), i = I([]), u = I([]), d = E(() => {
|
|
2944
2941
|
var b, S;
|
|
2945
2942
|
return (b = u.value) != null && b.length ? y((S = u.value) == null ? void 0 : S[0]) : [];
|
|
2946
|
-
}),
|
|
2947
|
-
function y(b, S = [],
|
|
2943
|
+
}), m = E(() => k(u.value)), v = E(() => m.value.map((b) => b.id)), a = I(""), f = I({}), _ = E(() => !Object.keys(f.value).length);
|
|
2944
|
+
function y(b, S = [], C = []) {
|
|
2948
2945
|
var D;
|
|
2949
|
-
return S.push(b.id), ((D = b.children) == null ? void 0 : D.length) === 0 &&
|
|
2950
|
-
y(F, S,
|
|
2951
|
-
}), S.pop(),
|
|
2946
|
+
return S.push(b.id), ((D = b.children) == null ? void 0 : D.length) === 0 && C.push([...S]), Array.isArray(b.children) && b.children.forEach((F) => {
|
|
2947
|
+
y(F, S, C);
|
|
2948
|
+
}), S.pop(), C;
|
|
2952
2949
|
}
|
|
2953
|
-
function
|
|
2954
|
-
const
|
|
2950
|
+
function g(b, S) {
|
|
2951
|
+
const C = [];
|
|
2955
2952
|
return b == null || b.forEach((D) => {
|
|
2956
|
-
|
|
2957
|
-
}), [...new Set(
|
|
2953
|
+
C.push(...D.slice(0, S + 1));
|
|
2954
|
+
}), [...new Set(C)];
|
|
2958
2955
|
}
|
|
2959
2956
|
function k(b) {
|
|
2960
|
-
const S = [],
|
|
2957
|
+
const S = [], C = (D) => {
|
|
2961
2958
|
D == null || D.forEach((F) => {
|
|
2962
2959
|
var se;
|
|
2963
|
-
S.push(F), (se = F.children) != null && se.length &&
|
|
2960
|
+
S.push(F), (se = F.children) != null && se.length && C(F.children);
|
|
2964
2961
|
});
|
|
2965
2962
|
};
|
|
2966
|
-
return
|
|
2963
|
+
return C(b), S;
|
|
2967
2964
|
}
|
|
2968
2965
|
function j() {
|
|
2969
2966
|
A.value.getInspectorNodeActions(s.value).then((b) => {
|
|
@@ -2984,14 +2981,14 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
2984
2981
|
}
|
|
2985
2982
|
function R(b) {
|
|
2986
2983
|
var S;
|
|
2987
|
-
for (const
|
|
2988
|
-
(S = b[
|
|
2984
|
+
for (const C in b)
|
|
2985
|
+
(S = b[C]) != null && S.length || delete b[C];
|
|
2989
2986
|
return b;
|
|
2990
2987
|
}
|
|
2991
2988
|
function H(b) {
|
|
2992
2989
|
A.value.getInspectorState({ inspectorId: s.value, nodeId: b }).then((S) => {
|
|
2993
|
-
const
|
|
2994
|
-
|
|
2990
|
+
const C = Y(S);
|
|
2991
|
+
C && (f.value = R(C), n.value = Array.from({ length: Object.keys(f.value).length }, (D, F) => `${F}`));
|
|
2995
2992
|
});
|
|
2996
2993
|
}
|
|
2997
2994
|
function K() {
|
|
@@ -3003,27 +3000,27 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3003
3000
|
const Z = () => {
|
|
3004
3001
|
A.value.getInspectorTree({ inspectorId: s.value, filter: "" }).then((b) => {
|
|
3005
3002
|
const S = Y(b);
|
|
3006
|
-
u.value = S, !a.value && S.length && (a.value = S[0].id, e.value =
|
|
3003
|
+
u.value = S, !a.value && S.length && (a.value = S[0].id, e.value = g(d.value, 1), H(S[0].id));
|
|
3007
3004
|
});
|
|
3008
3005
|
};
|
|
3009
3006
|
Pt(s).toBeTruthy().then(Z);
|
|
3010
3007
|
function T(b) {
|
|
3011
|
-
var
|
|
3008
|
+
var C, D;
|
|
3012
3009
|
const S = Y(b);
|
|
3013
|
-
!S.rootNodes.length || S.inspectorId !== s.value || (u.value = S.rootNodes, v.value.includes(a.value) || (a.value = (D = (
|
|
3010
|
+
!S.rootNodes.length || S.inspectorId !== s.value || (u.value = S.rootNodes, v.value.includes(a.value) || (a.value = (D = (C = u.value) == null ? void 0 : C[0]) == null ? void 0 : D.id, e.value = g(d.value, 1)));
|
|
3014
3011
|
}
|
|
3015
3012
|
function P(b) {
|
|
3016
3013
|
const S = Y(b);
|
|
3017
3014
|
if (S.inspectorId !== s.value || !S.state || S.nodeId !== a.value)
|
|
3018
3015
|
return;
|
|
3019
|
-
const { inspectorId:
|
|
3016
|
+
const { inspectorId: C, ...D } = S.state;
|
|
3020
3017
|
f.value = R(D);
|
|
3021
3018
|
}
|
|
3022
3019
|
return Re(() => {
|
|
3023
3020
|
A.functions.on(W.INSPECTOR_TREE_UPDATED, T), A.functions.on(W.INSPECTOR_STATE_UPDATED, P);
|
|
3024
3021
|
}), ye(() => {
|
|
3025
3022
|
A.functions.off(W.INSPECTOR_TREE_UPDATED, T), A.functions.off(W.INSPECTOR_STATE_UPDATED, P);
|
|
3026
|
-
}), (b, S) => (p(), h("div",
|
|
3023
|
+
}), (b, S) => (p(), h("div", Is, [
|
|
3027
3024
|
x(Se, {
|
|
3028
3025
|
"doc-link": c(o).homepage
|
|
3029
3026
|
}, {
|
|
@@ -3043,11 +3040,11 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3043
3040
|
"h-full": ""
|
|
3044
3041
|
}, {
|
|
3045
3042
|
default: M(() => {
|
|
3046
|
-
var
|
|
3043
|
+
var C;
|
|
3047
3044
|
return [
|
|
3048
|
-
r("div",
|
|
3049
|
-
(
|
|
3050
|
-
r("div",
|
|
3045
|
+
r("div", Ss, [
|
|
3046
|
+
(C = i.value) != null && C.length ? (p(), h("div", Ts, [
|
|
3047
|
+
r("div", Es, [
|
|
3051
3048
|
(p(!0), h(te, null, ae(i.value, (D, F) => J((p(), h("div", {
|
|
3052
3049
|
key: F,
|
|
3053
3050
|
class: "flex items-center gap1",
|
|
@@ -3060,7 +3057,7 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3060
3057
|
"text-base": "",
|
|
3061
3058
|
"hover:op100": ""
|
|
3062
3059
|
}, null, 8, ["name"])
|
|
3063
|
-
], 8,
|
|
3060
|
+
], 8, Vs)), [
|
|
3064
3061
|
[
|
|
3065
3062
|
c(Q),
|
|
3066
3063
|
{ content: D.tooltip },
|
|
@@ -3070,7 +3067,7 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3070
3067
|
])), 128))
|
|
3071
3068
|
])
|
|
3072
3069
|
])) : U("", !0),
|
|
3073
|
-
r("div",
|
|
3070
|
+
r("div", Ns, [
|
|
3074
3071
|
x(Me, {
|
|
3075
3072
|
modelValue: a.value,
|
|
3076
3073
|
"onUpdate:modelValue": S[0] || (S[0] = (D) => a.value = D),
|
|
@@ -3084,11 +3081,11 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3084
3081
|
}),
|
|
3085
3082
|
x(c(ue), { size: "60" }, {
|
|
3086
3083
|
default: M(() => {
|
|
3087
|
-
var
|
|
3084
|
+
var C;
|
|
3088
3085
|
return [
|
|
3089
|
-
r("div",
|
|
3090
|
-
(
|
|
3091
|
-
r("div",
|
|
3086
|
+
r("div", Rs, [
|
|
3087
|
+
(C = l.value) != null && C.length ? (p(), h("div", As, [
|
|
3088
|
+
r("div", Ds, [
|
|
3092
3089
|
(p(!0), h(te, null, ae(l.value, (D, F) => J((p(), h("div", {
|
|
3093
3090
|
key: F,
|
|
3094
3091
|
class: "flex items-center gap1",
|
|
@@ -3101,7 +3098,7 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3101
3098
|
"text-base": "",
|
|
3102
3099
|
"hover:op100": ""
|
|
3103
3100
|
}, null, 8, ["name"])
|
|
3104
|
-
], 8,
|
|
3101
|
+
], 8, Ps)), [
|
|
3105
3102
|
[
|
|
3106
3103
|
c(Q),
|
|
3107
3104
|
{ content: D.tooltip },
|
|
@@ -3111,7 +3108,7 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3111
3108
|
])), 128))
|
|
3112
3109
|
])
|
|
3113
3110
|
])) : U("", !0),
|
|
3114
|
-
a.value && !
|
|
3111
|
+
a.value && !_.value ? (p(), z(Pe, {
|
|
3115
3112
|
key: 1,
|
|
3116
3113
|
data: f.value,
|
|
3117
3114
|
"node-id": a.value,
|
|
@@ -3139,7 +3136,7 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3139
3136
|
}))
|
|
3140
3137
|
]));
|
|
3141
3138
|
}
|
|
3142
|
-
}),
|
|
3139
|
+
}), Hs = /* @__PURE__ */ B({
|
|
3143
3140
|
__name: "Index",
|
|
3144
3141
|
setup(t) {
|
|
3145
3142
|
const e = Te();
|
|
@@ -3148,7 +3145,7 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3148
3145
|
"doc-link": c(e).homepage
|
|
3149
3146
|
}, null, 8, ["layer-ids", "doc-link"]));
|
|
3150
3147
|
}
|
|
3151
|
-
}),
|
|
3148
|
+
}), Ls = {}, Os = (t) => (ot("data-v-b8018f07"), t = t(), lt(), t), js = { class: "h-screen w-screen $ui-fcc flex-col" }, Us = /* @__PURE__ */ Os(() => /* @__PURE__ */ r("div", { class: "outer" }, [
|
|
3152
3149
|
/* @__PURE__ */ r("div", { class: "inner" }, [
|
|
3153
3150
|
/* @__PURE__ */ r("i", {
|
|
3154
3151
|
class: "i-logos-vue inline-block h8! w8!",
|
|
@@ -3156,16 +3153,16 @@ const es = /* @__PURE__ */ be(ql, [["render", Ql]]), ts = {
|
|
|
3156
3153
|
})
|
|
3157
3154
|
])
|
|
3158
3155
|
], -1));
|
|
3159
|
-
function
|
|
3160
|
-
return p(), h("div",
|
|
3161
|
-
|
|
3156
|
+
function zs(t, e) {
|
|
3157
|
+
return p(), h("div", js, [
|
|
3158
|
+
Us,
|
|
3162
3159
|
et(t.$slots, "default", {}, void 0, !0)
|
|
3163
3160
|
]);
|
|
3164
3161
|
}
|
|
3165
|
-
const
|
|
3162
|
+
const Bs = /* @__PURE__ */ be(Ls, [["render", zs], ["__scopeId", "data-v-b8018f07"]]), Zs = {
|
|
3166
3163
|
"h-full": "",
|
|
3167
3164
|
"w-full": ""
|
|
3168
|
-
},
|
|
3165
|
+
}, Fs = { key: 0 }, la = /* @__PURE__ */ B({
|
|
3169
3166
|
__name: "index",
|
|
3170
3167
|
props: {
|
|
3171
3168
|
id: {}
|
|
@@ -3180,28 +3177,28 @@ const Zs = /* @__PURE__ */ be(Os, [["render", Bs], ["__scopeId", "data-v-b8018f0
|
|
|
3180
3177
|
{
|
|
3181
3178
|
path: "/state",
|
|
3182
3179
|
name: "State",
|
|
3183
|
-
component:
|
|
3180
|
+
component: Ms,
|
|
3184
3181
|
icon: "i-carbon-tree-view-alt"
|
|
3185
3182
|
},
|
|
3186
3183
|
((a = s.value.timelineLayerIds) == null ? void 0 : a.length) && {
|
|
3187
3184
|
path: "/timeline",
|
|
3188
3185
|
name: "Timeline",
|
|
3189
|
-
component:
|
|
3186
|
+
component: Hs,
|
|
3190
3187
|
icon: "i-mdi:timeline-clock-outline"
|
|
3191
3188
|
},
|
|
3192
3189
|
{
|
|
3193
3190
|
path: "/about",
|
|
3194
3191
|
name: "About",
|
|
3195
|
-
component:
|
|
3192
|
+
component: ws
|
|
3196
3193
|
},
|
|
3197
3194
|
i.value && {
|
|
3198
3195
|
path: "/settings",
|
|
3199
3196
|
name: "Settings",
|
|
3200
|
-
component:
|
|
3197
|
+
component: ks,
|
|
3201
3198
|
icon: "i-mdi:cog-outline"
|
|
3202
3199
|
}
|
|
3203
3200
|
].filter(Boolean);
|
|
3204
|
-
}), { VirtualRouterView: d, restoreRouter:
|
|
3201
|
+
}), { VirtualRouterView: d, restoreRouter: m } = it(u, {
|
|
3205
3202
|
defaultRoutePath: "/state"
|
|
3206
3203
|
});
|
|
3207
3204
|
function v() {
|
|
@@ -3216,9 +3213,9 @@ const Zs = /* @__PURE__ */ be(Os, [["render", Bs], ["__scopeId", "data-v-b8018f0
|
|
|
3216
3213
|
id: a == null ? void 0 : a.id,
|
|
3217
3214
|
label: a == null ? void 0 : a.label,
|
|
3218
3215
|
logo: a == null ? void 0 : a.logo,
|
|
3219
|
-
timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((
|
|
3216
|
+
timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((_) => _.id)
|
|
3220
3217
|
};
|
|
3221
|
-
s.value = f,
|
|
3218
|
+
s.value = f, m(), l.value = !1;
|
|
3222
3219
|
}), A.value.getPluginSettings(n.id).then((a) => {
|
|
3223
3220
|
a.options ? i.value = a : i.value = null;
|
|
3224
3221
|
});
|
|
@@ -3230,14 +3227,14 @@ const Zs = /* @__PURE__ */ be(Os, [["render", Bs], ["__scopeId", "data-v-b8018f0
|
|
|
3230
3227
|
immediate: !0
|
|
3231
3228
|
}), ye(() => {
|
|
3232
3229
|
A.value.unhighlight();
|
|
3233
|
-
}), (a, f) => (p(), h("div",
|
|
3234
|
-
l.value ? (p(), h("div",
|
|
3235
|
-
x(
|
|
3230
|
+
}), (a, f) => (p(), h("div", Zs, [
|
|
3231
|
+
l.value ? (p(), h("div", Fs, [
|
|
3232
|
+
x(Bs)
|
|
3236
3233
|
])) : (p(), z(c(d), { key: 1 }))
|
|
3237
3234
|
]));
|
|
3238
3235
|
}
|
|
3239
3236
|
});
|
|
3240
|
-
function
|
|
3237
|
+
function sa() {
|
|
3241
3238
|
const t = I([]), e = I([]);
|
|
3242
3239
|
function n(s) {
|
|
3243
3240
|
e.value = s, s.length < t.value.length && (t.value = []), e.value.forEach((l) => {
|
|
@@ -3262,9 +3259,9 @@ function aa() {
|
|
|
3262
3259
|
};
|
|
3263
3260
|
}
|
|
3264
3261
|
export {
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3262
|
+
na as Components,
|
|
3263
|
+
la as CustomInspector,
|
|
3264
|
+
ta as Pinia,
|
|
3265
|
+
oa as Router,
|
|
3266
|
+
sa as useCustomInspector
|
|
3270
3267
|
};
|