@vue/devtools-applet 7.3.8 → 7.4.0
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/basic/SelectiveList.vue.d.ts +20 -0
- package/dist/components/settings/Settings.vue.d.ts +23 -0
- package/dist/components/state/StateFieldInputEditor.vue.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1653 -1446
- package/dist/modules/custom-inspector/components/Settings.vue.d.ts +2 -0
- package/dist/modules/pinia/components/Settings.vue.d.ts +2 -0
- package/package.json +13 -8
package/dist/index.js
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
import { openBlock as p, createElementBlock as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { getRaw as
|
|
5
|
-
import { VueButton as
|
|
6
|
-
import { isArray as
|
|
7
|
-
import { debounce as
|
|
8
|
-
import { RecycleScroller as
|
|
9
|
-
import { flatten as
|
|
1
|
+
import { openBlock as p, createElementBlock as h, createStaticVNode as en, toValue as mt, ref as I, computed as D, defineComponent as B, h as tn, provide as ke, inject as Ce, createElementVNode as i, createVNode as x, unref as r, createTextVNode as ne, Fragment as te, renderList as ae, normalizeClass as ie, toDisplayString as oe, renderSlot as et, createCommentVNode as U, isRef as Ge, watch as X, onMounted as Vt, nextTick as Be, readonly as nn, getCurrentScope as on, onScopeDispose as sn, getCurrentInstance as tt, reactive as _t, shallowRef as gt, toRaw as Nt, withDirectives as J, createBlock as z, mergeProps as we, withModifiers as fe, withCtx as M, watchEffect as nt, normalizeStyle as Ie, pushScopeId as ot, popScopeId as st, mergeModels as Ze, useModel as lt, onUnmounted as xe, resolveComponent as ln, vShow as an } from "vue";
|
|
2
|
+
import { rpc as R, DevToolsMessagingEvents as W, onRpcConnected as Re, useDevToolsState as rn } from "@vue/devtools-core";
|
|
3
|
+
import { Splitpanes as Ae, Pane as ue } from "splitpanes";
|
|
4
|
+
import { getRaw as Rt, toSubmit as ze, formatInspectorStateValue as un, getInspectorStateValueType as Ct, toEdit as cn, isPlainObject as dn, UNDEFINED as pn, NAN as fn, INFINITY as vn, NEGATIVE_INFINITY as hn, parse as Y } from "@vue/devtools-kit";
|
|
5
|
+
import { VueButton as de, VueIcon as se, vTooltip as Q, VueDropdown as mn, VueDropdownButton as xt, VueInput as Xe, VueSwitch as _n, VueSelect as gn, VueCodeBlock as Cn, VueDialog as xn, VueIcIcon as yt } from "@vue/devtools-ui";
|
|
6
|
+
import { isArray as bt, isObject as $t, sortByKey as At, isInSeparateWindow as yn, isInChromePanel as wt } from "@vue/devtools-shared";
|
|
7
|
+
import { debounce as bn } from "perfect-debounce";
|
|
8
|
+
import { RecycleScroller as $n } from "vue-virtual-scroller";
|
|
9
|
+
import { flatten as wn, groupBy as kn } from "lodash-es";
|
|
10
10
|
const ye = (t, e) => {
|
|
11
11
|
const n = t.__vccOpts || t;
|
|
12
|
-
for (const [o,
|
|
13
|
-
n[o] =
|
|
12
|
+
for (const [o, l] of e)
|
|
13
|
+
n[o] = l;
|
|
14
14
|
return n;
|
|
15
|
-
},
|
|
15
|
+
}, In = {}, Sn = {
|
|
16
16
|
viewBox: "0 0 566 154",
|
|
17
17
|
fill: "none",
|
|
18
18
|
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
-
}, mn = /* @__PURE__ */ Ft('<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), _n = [
|
|
20
|
-
|
|
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
|
+
Tn
|
|
21
21
|
];
|
|
22
|
-
function
|
|
23
|
-
return p(),
|
|
22
|
+
function Vn(t, e) {
|
|
23
|
+
return p(), h("svg", Sn, En);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
function
|
|
27
|
-
const n = (e == null ? void 0 : e.defaultRoutePath) ??
|
|
25
|
+
const Nn = /* @__PURE__ */ ye(In, [["render", Vn]]), at = Symbol("VirtualRouteKey"), Dt = Symbol("VirtualRoutesKey");
|
|
26
|
+
function it(t, e) {
|
|
27
|
+
const n = (e == null ? void 0 : e.defaultRoutePath) ?? mt(t)[0].path, o = I({
|
|
28
28
|
path: n
|
|
29
|
-
}),
|
|
29
|
+
}), l = D(() => mt(t)), s = D(() => o.value.path), u = B({
|
|
30
30
|
setup() {
|
|
31
31
|
return () => {
|
|
32
|
-
const
|
|
33
|
-
return
|
|
32
|
+
const d = l.value.find((C) => C.path === s.value);
|
|
33
|
+
return d ? tn(d.component) : null;
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
function
|
|
37
|
+
function c() {
|
|
38
38
|
o.value.path = n;
|
|
39
39
|
}
|
|
40
|
-
return
|
|
40
|
+
return ke(at, o), ke(Dt, l), { VirtualRouterView: u, restoreRouter: c };
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
const t = Ce(
|
|
42
|
+
function De() {
|
|
43
|
+
const t = Ce(at);
|
|
44
44
|
return {
|
|
45
45
|
push(e) {
|
|
46
46
|
t.value.path = e;
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
const t = Ce(
|
|
50
|
+
function Rn() {
|
|
51
|
+
const t = Ce(Dt), e = Ce(at);
|
|
52
52
|
return {
|
|
53
53
|
routes: t,
|
|
54
54
|
currentRoute: e
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const An = {
|
|
58
58
|
"h-full": "",
|
|
59
59
|
"w-full": "",
|
|
60
60
|
flex: "",
|
|
61
61
|
"items-center": ""
|
|
62
|
-
},
|
|
62
|
+
}, Dn = {
|
|
63
63
|
flex: "~ col gap2",
|
|
64
64
|
ma: "",
|
|
65
65
|
"px-5": ""
|
|
66
|
-
},
|
|
66
|
+
}, Pn = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Mn = {
|
|
67
67
|
flex: "~ col",
|
|
68
68
|
"mt-20": "",
|
|
69
69
|
"items-center": ""
|
|
70
|
-
},
|
|
70
|
+
}, Hn = {
|
|
71
71
|
flex: "~",
|
|
72
72
|
"mt--10": "",
|
|
73
73
|
"items-center": "",
|
|
74
74
|
"justify-center": ""
|
|
75
|
-
},
|
|
75
|
+
}, Ln = /* @__PURE__ */ i("div", {
|
|
76
76
|
mb6: "",
|
|
77
77
|
"mt--1": "",
|
|
78
78
|
"text-center": "",
|
|
79
79
|
"text-sm": "",
|
|
80
80
|
flex: "~ gap-1"
|
|
81
81
|
}, [
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
], -1),
|
|
82
|
+
/* @__PURE__ */ i("span", { op40: "" }, " Pinia DevTools ")
|
|
83
|
+
], -1), jn = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), On = { flex: "~ gap2 wrap" }, Un = /* @__PURE__ */ i("div", {
|
|
84
84
|
"i-carbon-tree-view-alt": "",
|
|
85
85
|
"text-3xl": ""
|
|
86
|
-
}, null, -1),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
],
|
|
86
|
+
}, null, -1), zn = /* @__PURE__ */ i("code", null, "Store", -1), Bn = [
|
|
87
|
+
Un,
|
|
88
|
+
zn
|
|
89
|
+
], Zn = /* @__PURE__ */ i("div", {
|
|
90
90
|
"i-mdi:timeline-clock-outline": "",
|
|
91
91
|
"text-3xl": ""
|
|
92
|
-
}, null, -1),
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
],
|
|
92
|
+
}, null, -1), Fn = /* @__PURE__ */ i("div", null, "Timeline", -1), Gn = [
|
|
93
|
+
Zn,
|
|
94
|
+
Fn
|
|
95
|
+
], Kn = /* @__PURE__ */ i("div", {
|
|
96
96
|
flex: "~ gap-6 wrap",
|
|
97
97
|
"mt-5": "",
|
|
98
98
|
"items-center": "",
|
|
99
99
|
"justify-center": ""
|
|
100
100
|
}, [
|
|
101
|
-
/* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ i("a", {
|
|
102
102
|
href: "https://github.com/vuejs/pinia",
|
|
103
103
|
target: "_blank",
|
|
104
104
|
flex: "~ gap1",
|
|
@@ -107,10 +107,10 @@ const yn = {
|
|
|
107
107
|
hover: "op100 text-blue",
|
|
108
108
|
transition: ""
|
|
109
109
|
}, [
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ i("div", { "i-carbon-star": "" }),
|
|
111
|
+
/* @__PURE__ */ ne(" Star on GitHub ")
|
|
112
112
|
]),
|
|
113
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ i("a", {
|
|
114
114
|
href: "https://pinia.vuejs.org/",
|
|
115
115
|
target: "_blank",
|
|
116
116
|
flex: "~ gap1",
|
|
@@ -119,147 +119,147 @@ const yn = {
|
|
|
119
119
|
hover: "op100 text-yellow",
|
|
120
120
|
transition: ""
|
|
121
121
|
}, [
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
-
/* @__PURE__ */
|
|
122
|
+
/* @__PURE__ */ i("div", { "i-carbon-document": "" }),
|
|
123
|
+
/* @__PURE__ */ ne(" View Documentation ")
|
|
124
124
|
])
|
|
125
|
-
], -1),
|
|
125
|
+
], -1), Wn = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), qn = /* @__PURE__ */ B({
|
|
126
126
|
__name: "About",
|
|
127
127
|
setup(t) {
|
|
128
|
-
const e =
|
|
129
|
-
return (n, o) => (p(),
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
128
|
+
const e = De();
|
|
129
|
+
return (n, o) => (p(), h("div", An, [
|
|
130
|
+
i("div", Dn, [
|
|
131
|
+
Pn,
|
|
132
|
+
i("div", Mn, [
|
|
133
|
+
i("div", Hn, [
|
|
134
|
+
x(Nn, { "h-18": "" })
|
|
135
135
|
]),
|
|
136
|
-
|
|
136
|
+
Ln
|
|
137
137
|
]),
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
jn,
|
|
139
|
+
i("div", On, [
|
|
140
|
+
i("div", {
|
|
141
141
|
flex: "~ col auto",
|
|
142
142
|
"min-w-40": "",
|
|
143
143
|
p4: "",
|
|
144
144
|
"theme-card-lime": "",
|
|
145
|
-
onClick: o[0] || (o[0] = (
|
|
146
|
-
},
|
|
147
|
-
|
|
145
|
+
onClick: o[0] || (o[0] = (l) => r(e).push("/store"))
|
|
146
|
+
}, Bn),
|
|
147
|
+
i("div", {
|
|
148
148
|
flex: "~ col auto",
|
|
149
149
|
"min-w-40": "",
|
|
150
150
|
p4: "",
|
|
151
151
|
"theme-card-lime": "",
|
|
152
|
-
onClick: o[1] || (o[1] = (
|
|
153
|
-
},
|
|
152
|
+
onClick: o[1] || (o[1] = (l) => r(e).push("/timeline"))
|
|
153
|
+
}, Gn)
|
|
154
154
|
]),
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
Kn,
|
|
156
|
+
Wn
|
|
157
157
|
])
|
|
158
158
|
]));
|
|
159
159
|
}
|
|
160
|
-
}),
|
|
160
|
+
}), Jn = { class: "flex gap3" }, Yn = ["onClick"], Se = /* @__PURE__ */ B({
|
|
161
161
|
__name: "Navbar",
|
|
162
162
|
setup(t) {
|
|
163
|
-
const { routes: e, currentRoute: n } =
|
|
164
|
-
return (
|
|
165
|
-
(p(!0),
|
|
166
|
-
key:
|
|
167
|
-
class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", r(n).path ===
|
|
168
|
-
onClick: (
|
|
169
|
-
},
|
|
163
|
+
const { routes: e, currentRoute: n } = Rn(), o = De();
|
|
164
|
+
return (l, s) => (p(), h("ul", Jn, [
|
|
165
|
+
(p(!0), h(te, null, ae(r(e), (u, c) => (p(), h("li", {
|
|
166
|
+
key: c,
|
|
167
|
+
class: ie(["h-10 flex cursor-pointer items-center justify-center border-b-[2px] border-solid text-size-sm leading-none hover:op100", r(n).path === u.path ? "op-100 font-medium text-primary-400 border-primary-400" : "border-transparent op-70"]),
|
|
168
|
+
onClick: (d) => r(o).push(u.path)
|
|
169
|
+
}, oe(u.name), 11, Yn))), 128))
|
|
170
170
|
]));
|
|
171
171
|
}
|
|
172
|
-
}),
|
|
172
|
+
}), Xn = {
|
|
173
173
|
border: "b base",
|
|
174
174
|
class: "flex items-center justify-between px3"
|
|
175
|
-
},
|
|
176
|
-
|
|
177
|
-
],
|
|
178
|
-
|
|
179
|
-
],
|
|
175
|
+
}, Qn = ["href"], eo = /* @__PURE__ */ i("i", { class: "i-clarity:document-line cursor-pointer op70 text-base hover:op100" }, null, -1), to = [
|
|
176
|
+
eo
|
|
177
|
+
], no = ["href"], oo = /* @__PURE__ */ i("i", { class: "i-mdi:github cursor-pointer op70 text-base hover:op100" }, null, -1), so = [
|
|
178
|
+
oo
|
|
179
|
+
], Te = /* @__PURE__ */ B({
|
|
180
180
|
__name: "DevToolsHeader",
|
|
181
181
|
props: {
|
|
182
182
|
githubRepoLink: {},
|
|
183
183
|
docLink: {}
|
|
184
184
|
},
|
|
185
185
|
setup(t) {
|
|
186
|
-
const e =
|
|
187
|
-
return (n, o) => (p(),
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
186
|
+
const e = De();
|
|
187
|
+
return (n, o) => (p(), h("div", Xn, [
|
|
188
|
+
i("div", null, [
|
|
189
|
+
et(n.$slots, "default", {}, () => [
|
|
190
|
+
i("i", {
|
|
191
191
|
class: "i-ep:back cursor-pointer op70 text-base hover:op100",
|
|
192
|
-
onClick: o[0] || (o[0] = (
|
|
192
|
+
onClick: o[0] || (o[0] = (l) => r(e).push("/"))
|
|
193
193
|
})
|
|
194
194
|
])
|
|
195
195
|
]),
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
i("div", null, [
|
|
197
|
+
i("a", {
|
|
198
198
|
class: "pr2",
|
|
199
199
|
href: n.docLink,
|
|
200
200
|
target: "_blank",
|
|
201
201
|
title: "View Documentation"
|
|
202
|
-
},
|
|
203
|
-
n.githubRepoLink ? (p(),
|
|
202
|
+
}, to, 8, Qn),
|
|
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
|
+
}, so, 8, no)) : U("", !0)
|
|
209
209
|
])
|
|
210
210
|
]));
|
|
211
211
|
}
|
|
212
|
-
}),
|
|
213
|
-
function
|
|
214
|
-
return p(),
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
212
|
+
}), lo = {}, ao = { class: "h-full flex flex-col items-center justify-center op50" }, io = /* @__PURE__ */ i("i", { class: "i-lets-icons:blank-light" }, null, -1);
|
|
213
|
+
function ro(t, e) {
|
|
214
|
+
return p(), h("div", ao, [
|
|
215
|
+
io,
|
|
216
|
+
i("span", null, [
|
|
217
|
+
et(t.$slots, "default")
|
|
218
218
|
])
|
|
219
219
|
]);
|
|
220
220
|
}
|
|
221
|
-
const
|
|
222
|
-
function
|
|
223
|
-
return
|
|
221
|
+
const Ne = /* @__PURE__ */ ye(lo, [["render", ro]]);
|
|
222
|
+
function rt(t) {
|
|
223
|
+
return on() ? (sn(t), !0) : !1;
|
|
224
224
|
}
|
|
225
225
|
function ee(t) {
|
|
226
226
|
return typeof t == "function" ? t() : r(t);
|
|
227
227
|
}
|
|
228
|
-
const
|
|
228
|
+
const ut = typeof window < "u" && typeof document < "u";
|
|
229
229
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
230
|
-
const
|
|
230
|
+
const uo = (t) => typeof t < "u", co = Object.prototype.toString, po = (t) => co.call(t) === "[object Object]", Fe = () => {
|
|
231
231
|
};
|
|
232
|
-
function
|
|
232
|
+
function fo(t, e) {
|
|
233
233
|
function n(...o) {
|
|
234
|
-
return new Promise((
|
|
235
|
-
Promise.resolve(t(() => e.apply(this, o), { fn: e, thisArg: this, args: o })).then(
|
|
234
|
+
return new Promise((l, s) => {
|
|
235
|
+
Promise.resolve(t(() => e.apply(this, o), { fn: e, thisArg: this, args: o })).then(l).catch(s);
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
return n;
|
|
239
239
|
}
|
|
240
|
-
const
|
|
241
|
-
function
|
|
242
|
-
let n, o,
|
|
243
|
-
const
|
|
244
|
-
clearTimeout(
|
|
240
|
+
const vo = (t) => t();
|
|
241
|
+
function ho(t, e = {}) {
|
|
242
|
+
let n, o, l = Fe;
|
|
243
|
+
const s = (c) => {
|
|
244
|
+
clearTimeout(c), l(), l = Fe;
|
|
245
245
|
};
|
|
246
|
-
return (
|
|
247
|
-
const
|
|
248
|
-
return n &&
|
|
249
|
-
|
|
250
|
-
n &&
|
|
246
|
+
return (c) => {
|
|
247
|
+
const d = ee(t), C = ee(e.maxWait);
|
|
248
|
+
return n && s(n), d <= 0 || C !== void 0 && C <= 0 ? (o && (s(o), o = null), Promise.resolve(c())) : new Promise((v, a) => {
|
|
249
|
+
l = e.rejectOnCancel ? a : v, C && !o && (o = setTimeout(() => {
|
|
250
|
+
n && s(n), o = null, v(c());
|
|
251
251
|
}, C)), n = setTimeout(() => {
|
|
252
|
-
o &&
|
|
253
|
-
},
|
|
252
|
+
o && s(o), o = null, v(c());
|
|
253
|
+
}, d);
|
|
254
254
|
});
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
return new Promise((o,
|
|
259
|
-
setTimeout(e ? () =>
|
|
257
|
+
function kt(t, e = !1, n = "Timeout") {
|
|
258
|
+
return new Promise((o, l) => {
|
|
259
|
+
setTimeout(e ? () => l(n) : o, t);
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function mo(t) {
|
|
263
263
|
let e;
|
|
264
264
|
function n() {
|
|
265
265
|
return e || (e = t()), e;
|
|
@@ -269,167 +269,167 @@ function oo(t) {
|
|
|
269
269
|
e = void 0, o && await o;
|
|
270
270
|
}, n;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
return
|
|
272
|
+
function _o(t) {
|
|
273
|
+
return tt();
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function go(t, e, n = {}) {
|
|
276
276
|
const {
|
|
277
|
-
eventFilter: o =
|
|
278
|
-
...
|
|
277
|
+
eventFilter: o = vo,
|
|
278
|
+
...l
|
|
279
279
|
} = n;
|
|
280
280
|
return X(
|
|
281
281
|
t,
|
|
282
|
-
|
|
282
|
+
fo(
|
|
283
283
|
o,
|
|
284
284
|
e
|
|
285
285
|
),
|
|
286
|
-
|
|
286
|
+
l
|
|
287
287
|
);
|
|
288
288
|
}
|
|
289
|
-
function
|
|
290
|
-
|
|
289
|
+
function Co(t, e = !0, n) {
|
|
290
|
+
_o() ? Vt(t, n) : e ? t() : Be(t);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
293
|
-
function n(
|
|
294
|
-
let
|
|
295
|
-
const
|
|
296
|
-
|
|
292
|
+
function Qe(t, e = !1) {
|
|
293
|
+
function n(a, { flush: f = "sync", deep: m = !1, timeout: y, throwOnTimeout: _ } = {}) {
|
|
294
|
+
let k = null;
|
|
295
|
+
const j = [new Promise((V) => {
|
|
296
|
+
k = X(
|
|
297
297
|
t,
|
|
298
|
-
(
|
|
299
|
-
|
|
298
|
+
($) => {
|
|
299
|
+
a($) !== e && (k ? k() : Be(() => k == null ? void 0 : k()), V($));
|
|
300
300
|
},
|
|
301
301
|
{
|
|
302
|
-
flush:
|
|
302
|
+
flush: f,
|
|
303
303
|
deep: m,
|
|
304
304
|
immediate: !0
|
|
305
305
|
}
|
|
306
306
|
);
|
|
307
307
|
})];
|
|
308
|
-
return
|
|
309
|
-
|
|
310
|
-
), Promise.race(
|
|
308
|
+
return y != null && j.push(
|
|
309
|
+
kt(y, _).then(() => ee(t)).finally(() => k == null ? void 0 : k())
|
|
310
|
+
), Promise.race(j);
|
|
311
311
|
}
|
|
312
|
-
function o(
|
|
313
|
-
if (!
|
|
314
|
-
return n((
|
|
315
|
-
const { flush: m = "sync", deep:
|
|
316
|
-
let
|
|
317
|
-
const
|
|
318
|
-
|
|
319
|
-
[t,
|
|
320
|
-
([
|
|
321
|
-
e !== (
|
|
312
|
+
function o(a, f) {
|
|
313
|
+
if (!Ge(a))
|
|
314
|
+
return n(($) => $ === a, f);
|
|
315
|
+
const { flush: m = "sync", deep: y = !1, timeout: _, throwOnTimeout: k } = f ?? {};
|
|
316
|
+
let O = null;
|
|
317
|
+
const V = [new Promise(($) => {
|
|
318
|
+
O = X(
|
|
319
|
+
[t, a],
|
|
320
|
+
([N, H]) => {
|
|
321
|
+
e !== (N === H) && (O ? O() : Be(() => O == null ? void 0 : O()), $(N));
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
324
|
flush: m,
|
|
325
|
-
deep:
|
|
325
|
+
deep: y,
|
|
326
326
|
immediate: !0
|
|
327
327
|
}
|
|
328
328
|
);
|
|
329
329
|
})];
|
|
330
|
-
return
|
|
331
|
-
|
|
332
|
-
), Promise.race(
|
|
330
|
+
return _ != null && V.push(
|
|
331
|
+
kt(_, k).then(() => ee(t)).finally(() => (O == null || O(), ee(t)))
|
|
332
|
+
), Promise.race(V);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
return n((
|
|
334
|
+
function l(a) {
|
|
335
|
+
return n((f) => !!f, a);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
return o(null,
|
|
337
|
+
function s(a) {
|
|
338
|
+
return o(null, a);
|
|
339
339
|
}
|
|
340
|
-
function
|
|
341
|
-
return o(void 0,
|
|
340
|
+
function u(a) {
|
|
341
|
+
return o(void 0, a);
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
return n(Number.isNaN,
|
|
343
|
+
function c(a) {
|
|
344
|
+
return n(Number.isNaN, a);
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function d(a, f) {
|
|
347
347
|
return n((m) => {
|
|
348
|
-
const
|
|
349
|
-
return
|
|
350
|
-
},
|
|
348
|
+
const y = Array.from(m);
|
|
349
|
+
return y.includes(a) || y.includes(ee(a));
|
|
350
|
+
}, f);
|
|
351
351
|
}
|
|
352
|
-
function C(
|
|
353
|
-
return
|
|
352
|
+
function C(a) {
|
|
353
|
+
return v(1, a);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function v(a = 1, f) {
|
|
356
356
|
let m = -1;
|
|
357
|
-
return n(() => (m += 1, m >=
|
|
357
|
+
return n(() => (m += 1, m >= a), f);
|
|
358
358
|
}
|
|
359
359
|
return Array.isArray(ee(t)) ? {
|
|
360
360
|
toMatch: n,
|
|
361
|
-
toContains:
|
|
361
|
+
toContains: d,
|
|
362
362
|
changed: C,
|
|
363
|
-
changedTimes:
|
|
363
|
+
changedTimes: v,
|
|
364
364
|
get not() {
|
|
365
|
-
return
|
|
365
|
+
return Qe(t, !e);
|
|
366
366
|
}
|
|
367
367
|
} : {
|
|
368
368
|
toMatch: n,
|
|
369
369
|
toBe: o,
|
|
370
|
-
toBeTruthy:
|
|
371
|
-
toBeNull:
|
|
372
|
-
toBeNaN:
|
|
373
|
-
toBeUndefined:
|
|
370
|
+
toBeTruthy: l,
|
|
371
|
+
toBeNull: s,
|
|
372
|
+
toBeNaN: c,
|
|
373
|
+
toBeUndefined: u,
|
|
374
374
|
changed: C,
|
|
375
|
-
changedTimes:
|
|
375
|
+
changedTimes: v,
|
|
376
376
|
get not() {
|
|
377
|
-
return
|
|
377
|
+
return Qe(t, !e);
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
380
|
}
|
|
381
|
-
function
|
|
382
|
-
return
|
|
381
|
+
function Pt(t) {
|
|
382
|
+
return Qe(t);
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function xo(t, e, n = {}) {
|
|
385
385
|
const {
|
|
386
386
|
immediate: o = !0
|
|
387
|
-
} = n,
|
|
388
|
-
let
|
|
389
|
-
function
|
|
390
|
-
|
|
387
|
+
} = n, l = I(!1);
|
|
388
|
+
let s = null;
|
|
389
|
+
function u() {
|
|
390
|
+
s && (clearTimeout(s), s = null);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
393
|
-
|
|
392
|
+
function c() {
|
|
393
|
+
l.value = !1, u();
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
|
|
397
|
-
|
|
395
|
+
function d(...C) {
|
|
396
|
+
u(), l.value = !0, s = setTimeout(() => {
|
|
397
|
+
l.value = !1, s = null, t(...C);
|
|
398
398
|
}, ee(e));
|
|
399
399
|
}
|
|
400
|
-
return o && (
|
|
401
|
-
isPending:
|
|
402
|
-
start:
|
|
403
|
-
stop:
|
|
400
|
+
return o && (l.value = !0, ut && d()), rt(c), {
|
|
401
|
+
isPending: nn(l),
|
|
402
|
+
start: d,
|
|
403
|
+
stop: c
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function yo(t = !1, e = {}) {
|
|
407
407
|
const {
|
|
408
408
|
truthyValue: n = !0,
|
|
409
409
|
falsyValue: o = !1
|
|
410
|
-
} = e,
|
|
411
|
-
function c
|
|
410
|
+
} = e, l = Ge(t), s = I(t);
|
|
411
|
+
function u(c) {
|
|
412
412
|
if (arguments.length)
|
|
413
|
-
return
|
|
413
|
+
return s.value = c, s.value;
|
|
414
414
|
{
|
|
415
|
-
const
|
|
416
|
-
return
|
|
415
|
+
const d = ee(n);
|
|
416
|
+
return s.value = s.value === d ? ee(o) : d, s.value;
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
return
|
|
419
|
+
return l ? u : [s, u];
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function bo(t, e, n = {}) {
|
|
422
422
|
const {
|
|
423
423
|
debounce: o = 0,
|
|
424
|
-
maxWait:
|
|
425
|
-
...
|
|
424
|
+
maxWait: l = void 0,
|
|
425
|
+
...s
|
|
426
426
|
} = n;
|
|
427
|
-
return
|
|
427
|
+
return go(
|
|
428
428
|
t,
|
|
429
429
|
e,
|
|
430
430
|
{
|
|
431
|
-
...
|
|
432
|
-
eventFilter:
|
|
431
|
+
...s,
|
|
432
|
+
eventFilter: ho(o, { maxWait: l })
|
|
433
433
|
}
|
|
434
434
|
);
|
|
435
435
|
}
|
|
@@ -438,168 +438,175 @@ function ge(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 Ke = ut ? window : void 0, Mt = ut ? window.navigator : void 0;
|
|
442
442
|
function he(...t) {
|
|
443
|
-
let e, n, o,
|
|
444
|
-
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([n, o,
|
|
445
|
-
return
|
|
443
|
+
let e, n, o, l;
|
|
444
|
+
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([n, o, l] = t, e = Ke) : [e, n, o, l] = t, !e)
|
|
445
|
+
return Fe;
|
|
446
446
|
Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
|
|
447
|
-
const
|
|
448
|
-
|
|
449
|
-
},
|
|
450
|
-
() => [ge(e), ee(
|
|
451
|
-
([
|
|
452
|
-
if (
|
|
447
|
+
const s = [], u = () => {
|
|
448
|
+
s.forEach((v) => v()), s.length = 0;
|
|
449
|
+
}, c = (v, a, f, m) => (v.addEventListener(a, f, m), () => v.removeEventListener(a, f, m)), d = X(
|
|
450
|
+
() => [ge(e), ee(l)],
|
|
451
|
+
([v, a]) => {
|
|
452
|
+
if (u(), !v)
|
|
453
453
|
return;
|
|
454
|
-
const
|
|
455
|
-
|
|
456
|
-
...n.flatMap((m) => o.map((
|
|
454
|
+
const f = po(a) ? { ...a } : a;
|
|
455
|
+
s.push(
|
|
456
|
+
...n.flatMap((m) => o.map((y) => c(v, m, y, f)))
|
|
457
457
|
);
|
|
458
458
|
},
|
|
459
459
|
{ immediate: !0, flush: "post" }
|
|
460
460
|
), C = () => {
|
|
461
|
-
|
|
461
|
+
d(), u();
|
|
462
462
|
};
|
|
463
|
-
return
|
|
463
|
+
return rt(C), C;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
466
|
-
const t = I(!1), e =
|
|
467
|
-
return e &&
|
|
465
|
+
function $o() {
|
|
466
|
+
const t = I(!1), e = tt();
|
|
467
|
+
return e && Vt(() => {
|
|
468
468
|
t.value = !0;
|
|
469
469
|
}, e), t;
|
|
470
470
|
}
|
|
471
|
-
function
|
|
472
|
-
const e =
|
|
471
|
+
function ct(t) {
|
|
472
|
+
const e = $o();
|
|
473
473
|
return D(() => (e.value, !!t()));
|
|
474
474
|
}
|
|
475
|
-
function
|
|
475
|
+
function It(t, e = {}) {
|
|
476
476
|
const {
|
|
477
477
|
controls: n = !1,
|
|
478
|
-
navigator: o =
|
|
479
|
-
} = e,
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
478
|
+
navigator: o = Mt
|
|
479
|
+
} = e, l = ct(() => o && "permissions" in o), s = gt(), u = typeof t == "string" ? { name: t } : t, c = gt(), d = () => {
|
|
480
|
+
var v, a;
|
|
481
|
+
c.value = (a = (v = s.value) == null ? void 0 : v.state) != null ? a : "prompt";
|
|
482
|
+
};
|
|
483
|
+
he(s, "change", d);
|
|
484
|
+
const C = mo(async () => {
|
|
485
|
+
if (l.value) {
|
|
486
|
+
if (!s.value)
|
|
486
487
|
try {
|
|
487
|
-
|
|
488
|
+
s.value = await o.permissions.query(u);
|
|
488
489
|
} catch {
|
|
489
|
-
|
|
490
|
+
s.value = void 0;
|
|
491
|
+
} finally {
|
|
492
|
+
d();
|
|
490
493
|
}
|
|
491
|
-
|
|
494
|
+
if (n)
|
|
495
|
+
return Nt(s.value);
|
|
492
496
|
}
|
|
493
497
|
});
|
|
494
498
|
return C(), n ? {
|
|
495
|
-
state:
|
|
496
|
-
isSupported:
|
|
499
|
+
state: c,
|
|
500
|
+
isSupported: l,
|
|
497
501
|
query: C
|
|
498
|
-
} :
|
|
502
|
+
} : c;
|
|
499
503
|
}
|
|
500
|
-
function
|
|
504
|
+
function wo(t = {}) {
|
|
501
505
|
const {
|
|
502
|
-
navigator: e =
|
|
506
|
+
navigator: e = Mt,
|
|
503
507
|
read: n = !1,
|
|
504
508
|
source: o,
|
|
505
|
-
copiedDuring:
|
|
506
|
-
legacy:
|
|
507
|
-
} = t,
|
|
509
|
+
copiedDuring: l = 1500,
|
|
510
|
+
legacy: s = !1
|
|
511
|
+
} = t, u = ct(() => e && "clipboard" in e), c = It("clipboard-read"), d = It("clipboard-write"), C = D(() => u.value || s), v = I(""), a = I(!1), f = xo(() => a.value = !1, l);
|
|
508
512
|
function m() {
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
}) :
|
|
513
|
+
u.value && O(c.value) ? e.clipboard.readText().then((j) => {
|
|
514
|
+
v.value = j;
|
|
515
|
+
}) : v.value = k();
|
|
512
516
|
}
|
|
513
517
|
C.value && n && he(["copy", "cut"], m);
|
|
514
|
-
async function
|
|
515
|
-
C.value &&
|
|
518
|
+
async function y(j = ee(o)) {
|
|
519
|
+
C.value && j != null && (u.value && O(d.value) ? await e.clipboard.writeText(j) : _(j), v.value = j, a.value = !0, f.start());
|
|
516
520
|
}
|
|
517
|
-
function
|
|
518
|
-
const
|
|
519
|
-
|
|
521
|
+
function _(j) {
|
|
522
|
+
const V = document.createElement("textarea");
|
|
523
|
+
V.value = j ?? "", V.style.position = "absolute", V.style.opacity = "0", document.body.appendChild(V), V.select(), document.execCommand("copy"), V.remove();
|
|
520
524
|
}
|
|
521
|
-
function
|
|
522
|
-
var
|
|
523
|
-
return (
|
|
525
|
+
function k() {
|
|
526
|
+
var j, V, $;
|
|
527
|
+
return ($ = (V = (j = document == null ? void 0 : document.getSelection) == null ? void 0 : j.call(document)) == null ? void 0 : V.toString()) != null ? $ : "";
|
|
524
528
|
}
|
|
525
|
-
function j
|
|
526
|
-
return
|
|
529
|
+
function O(j) {
|
|
530
|
+
return j === "granted" || j === "prompt";
|
|
527
531
|
}
|
|
528
532
|
return {
|
|
529
533
|
isSupported: C,
|
|
530
|
-
text:
|
|
531
|
-
copied:
|
|
532
|
-
copy:
|
|
534
|
+
text: v,
|
|
535
|
+
copied: a,
|
|
536
|
+
copy: y
|
|
533
537
|
};
|
|
534
538
|
}
|
|
535
|
-
function
|
|
539
|
+
function ko(t) {
|
|
536
540
|
return JSON.parse(JSON.stringify(t));
|
|
537
541
|
}
|
|
538
|
-
function
|
|
539
|
-
const { window: o =
|
|
540
|
-
let
|
|
541
|
-
const
|
|
542
|
-
|
|
543
|
-
},
|
|
544
|
-
|
|
545
|
-
(
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
542
|
+
function Io(t, e, n = {}) {
|
|
543
|
+
const { window: o = Ke, ...l } = n;
|
|
544
|
+
let s;
|
|
545
|
+
const u = ct(() => o && "ResizeObserver" in o), c = () => {
|
|
546
|
+
s && (s.disconnect(), s = void 0);
|
|
547
|
+
}, d = D(() => {
|
|
548
|
+
const a = ee(t);
|
|
549
|
+
return Array.isArray(a) ? a.map((f) => ge(f)) : [ge(a)];
|
|
550
|
+
}), C = X(
|
|
551
|
+
d,
|
|
552
|
+
(a) => {
|
|
553
|
+
if (c(), u.value && o) {
|
|
554
|
+
s = new ResizeObserver(e);
|
|
555
|
+
for (const f of a)
|
|
556
|
+
f && s.observe(f, l);
|
|
550
557
|
}
|
|
551
558
|
},
|
|
552
559
|
{ immediate: !0, flush: "post" }
|
|
553
|
-
),
|
|
554
|
-
|
|
560
|
+
), v = () => {
|
|
561
|
+
c(), C();
|
|
555
562
|
};
|
|
556
|
-
return
|
|
557
|
-
isSupported:
|
|
558
|
-
stop:
|
|
563
|
+
return rt(v), {
|
|
564
|
+
isSupported: u,
|
|
565
|
+
stop: v
|
|
559
566
|
};
|
|
560
567
|
}
|
|
561
|
-
function
|
|
562
|
-
const { window: o =
|
|
563
|
-
var
|
|
564
|
-
return (
|
|
565
|
-
}),
|
|
568
|
+
function So(t, e = { width: 0, height: 0 }, n = {}) {
|
|
569
|
+
const { window: o = Ke, box: l = "content-box" } = n, s = D(() => {
|
|
570
|
+
var a, f;
|
|
571
|
+
return (f = (a = ge(t)) == null ? void 0 : a.namespaceURI) == null ? void 0 : f.includes("svg");
|
|
572
|
+
}), u = I(e.width), c = I(e.height), { stop: d } = Io(
|
|
566
573
|
t,
|
|
567
|
-
([
|
|
568
|
-
const
|
|
569
|
-
if (o &&
|
|
574
|
+
([a]) => {
|
|
575
|
+
const f = l === "border-box" ? a.borderBoxSize : l === "content-box" ? a.contentBoxSize : a.devicePixelContentBoxSize;
|
|
576
|
+
if (o && s.value) {
|
|
570
577
|
const m = ge(t);
|
|
571
578
|
if (m) {
|
|
572
|
-
const
|
|
573
|
-
|
|
579
|
+
const y = m.getBoundingClientRect();
|
|
580
|
+
u.value = y.width, c.value = y.height;
|
|
574
581
|
}
|
|
575
|
-
} else if (
|
|
576
|
-
const m = Array.isArray(
|
|
577
|
-
|
|
582
|
+
} else if (f) {
|
|
583
|
+
const m = Array.isArray(f) ? f : [f];
|
|
584
|
+
u.value = m.reduce((y, { inlineSize: _ }) => y + _, 0), c.value = m.reduce((y, { blockSize: _ }) => y + _, 0);
|
|
578
585
|
} else
|
|
579
|
-
|
|
586
|
+
u.value = a.contentRect.width, c.value = a.contentRect.height;
|
|
580
587
|
},
|
|
581
588
|
n
|
|
582
589
|
);
|
|
583
|
-
|
|
584
|
-
const
|
|
585
|
-
|
|
590
|
+
Co(() => {
|
|
591
|
+
const a = ge(t);
|
|
592
|
+
a && (u.value = "offsetWidth" in a ? a.offsetWidth : e.width, c.value = "offsetHeight" in a ? a.offsetHeight : e.height);
|
|
586
593
|
});
|
|
587
594
|
const C = X(
|
|
588
595
|
() => ge(t),
|
|
589
|
-
(
|
|
590
|
-
|
|
596
|
+
(a) => {
|
|
597
|
+
u.value = a ? e.width : 0, c.value = a ? e.height : 0;
|
|
591
598
|
}
|
|
592
599
|
);
|
|
593
|
-
function
|
|
594
|
-
|
|
600
|
+
function v() {
|
|
601
|
+
d(), C();
|
|
595
602
|
}
|
|
596
603
|
return {
|
|
597
|
-
width:
|
|
598
|
-
height:
|
|
599
|
-
stop:
|
|
604
|
+
width: u,
|
|
605
|
+
height: c,
|
|
606
|
+
stop: v
|
|
600
607
|
};
|
|
601
608
|
}
|
|
602
|
-
const
|
|
609
|
+
const To = {
|
|
603
610
|
ctrl: "control",
|
|
604
611
|
command: "meta",
|
|
605
612
|
cmd: "meta",
|
|
@@ -609,142 +616,142 @@ const mo = {
|
|
|
609
616
|
left: "arrowleft",
|
|
610
617
|
right: "arrowright"
|
|
611
618
|
};
|
|
612
|
-
function
|
|
619
|
+
function Eo(t = {}) {
|
|
613
620
|
const {
|
|
614
621
|
reactive: e = !1,
|
|
615
|
-
target: n =
|
|
616
|
-
aliasMap: o =
|
|
617
|
-
passive:
|
|
618
|
-
onEventFired:
|
|
619
|
-
} = t,
|
|
622
|
+
target: n = Ke,
|
|
623
|
+
aliasMap: o = To,
|
|
624
|
+
passive: l = !0,
|
|
625
|
+
onEventFired: s = Fe
|
|
626
|
+
} = t, u = _t(/* @__PURE__ */ new Set()), c = {
|
|
620
627
|
toJSON() {
|
|
621
628
|
return {};
|
|
622
629
|
},
|
|
623
|
-
current:
|
|
624
|
-
},
|
|
625
|
-
function
|
|
626
|
-
|
|
630
|
+
current: u
|
|
631
|
+
}, d = e ? _t(c) : c, C = /* @__PURE__ */ new Set(), v = /* @__PURE__ */ new Set();
|
|
632
|
+
function a(_, k) {
|
|
633
|
+
_ in d && (e ? d[_] = k : d[_].value = k);
|
|
627
634
|
}
|
|
628
|
-
function
|
|
629
|
-
|
|
630
|
-
for (const
|
|
631
|
-
|
|
635
|
+
function f() {
|
|
636
|
+
u.clear();
|
|
637
|
+
for (const _ of v)
|
|
638
|
+
a(_, !1);
|
|
632
639
|
}
|
|
633
|
-
function m(
|
|
634
|
-
var
|
|
635
|
-
const
|
|
636
|
-
|
|
637
|
-
for (const
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
}), C.clear()) : typeof
|
|
640
|
+
function m(_, k) {
|
|
641
|
+
var O, j;
|
|
642
|
+
const V = (O = _.key) == null ? void 0 : O.toLowerCase(), N = [(j = _.code) == null ? void 0 : j.toLowerCase(), V].filter(Boolean);
|
|
643
|
+
V && (k ? u.add(V) : u.delete(V));
|
|
644
|
+
for (const H of N)
|
|
645
|
+
v.add(H), a(H, k);
|
|
646
|
+
V === "meta" && !k ? (C.forEach((H) => {
|
|
647
|
+
u.delete(H), a(H, !1);
|
|
648
|
+
}), C.clear()) : typeof _.getModifierState == "function" && _.getModifierState("Meta") && k && [...u, ...N].forEach((H) => C.add(H));
|
|
642
649
|
}
|
|
643
|
-
he(n, "keydown", (
|
|
644
|
-
const
|
|
645
|
-
|
|
650
|
+
he(n, "keydown", (_) => (m(_, !0), s(_)), { passive: l }), he(n, "keyup", (_) => (m(_, !1), s(_)), { passive: l }), he("blur", f, { passive: !0 }), he("focus", f, { passive: !0 });
|
|
651
|
+
const y = new Proxy(
|
|
652
|
+
d,
|
|
646
653
|
{
|
|
647
|
-
get(
|
|
648
|
-
if (typeof
|
|
649
|
-
return Reflect.get(
|
|
650
|
-
if (
|
|
651
|
-
if (/[+_-]/.test(
|
|
652
|
-
const
|
|
653
|
-
|
|
654
|
+
get(_, k, O) {
|
|
655
|
+
if (typeof k != "string")
|
|
656
|
+
return Reflect.get(_, k, O);
|
|
657
|
+
if (k = k.toLowerCase(), k in o && (k = o[k]), !(k in d))
|
|
658
|
+
if (/[+_-]/.test(k)) {
|
|
659
|
+
const V = k.split(/[+_-]/g).map(($) => $.trim());
|
|
660
|
+
d[k] = D(() => V.every(($) => ee(y[$])));
|
|
654
661
|
} else
|
|
655
|
-
|
|
656
|
-
const
|
|
657
|
-
return e ? ee(
|
|
662
|
+
d[k] = I(!1);
|
|
663
|
+
const j = Reflect.get(_, k, O);
|
|
664
|
+
return e ? ee(j) : j;
|
|
658
665
|
}
|
|
659
666
|
}
|
|
660
667
|
);
|
|
661
|
-
return
|
|
668
|
+
return y;
|
|
662
669
|
}
|
|
663
|
-
function
|
|
664
|
-
var
|
|
670
|
+
function Vo(t, e, n, o = {}) {
|
|
671
|
+
var l, s, u;
|
|
665
672
|
const {
|
|
666
|
-
clone:
|
|
667
|
-
passive:
|
|
673
|
+
clone: c = !1,
|
|
674
|
+
passive: d = !1,
|
|
668
675
|
eventName: C,
|
|
669
|
-
deep:
|
|
670
|
-
defaultValue:
|
|
671
|
-
shouldEmit:
|
|
672
|
-
} = o, m =
|
|
673
|
-
let
|
|
674
|
-
|
|
675
|
-
const
|
|
676
|
-
|
|
676
|
+
deep: v = !1,
|
|
677
|
+
defaultValue: a,
|
|
678
|
+
shouldEmit: f
|
|
679
|
+
} = o, m = tt(), y = n || (m == null ? void 0 : m.emit) || ((l = m == null ? void 0 : m.$emit) == null ? void 0 : l.bind(m)) || ((u = (s = m == null ? void 0 : m.proxy) == null ? void 0 : s.$emit) == null ? void 0 : u.bind(m == null ? void 0 : m.proxy));
|
|
680
|
+
let _ = C;
|
|
681
|
+
_ = _ || `update:${e.toString()}`;
|
|
682
|
+
const k = (V) => c ? typeof c == "function" ? c(V) : ko(V) : V, O = () => uo(t[e]) ? k(t[e]) : a, j = (V) => {
|
|
683
|
+
f ? f(V) && y(_, V) : y(_, V);
|
|
677
684
|
};
|
|
678
|
-
if (
|
|
679
|
-
const
|
|
680
|
-
let
|
|
685
|
+
if (d) {
|
|
686
|
+
const V = O(), $ = I(V);
|
|
687
|
+
let N = !1;
|
|
681
688
|
return X(
|
|
682
689
|
() => t[e],
|
|
683
|
-
(
|
|
684
|
-
|
|
690
|
+
(H) => {
|
|
691
|
+
N || (N = !0, $.value = k(H), Be(() => N = !1));
|
|
685
692
|
}
|
|
686
693
|
), X(
|
|
687
|
-
|
|
688
|
-
(
|
|
689
|
-
!
|
|
694
|
+
$,
|
|
695
|
+
(H) => {
|
|
696
|
+
!N && (H !== t[e] || v) && j(H);
|
|
690
697
|
},
|
|
691
|
-
{ deep:
|
|
692
|
-
),
|
|
698
|
+
{ deep: v }
|
|
699
|
+
), $;
|
|
693
700
|
} else
|
|
694
701
|
return D({
|
|
695
702
|
get() {
|
|
696
|
-
return
|
|
703
|
+
return O();
|
|
697
704
|
},
|
|
698
|
-
set(
|
|
699
|
-
|
|
705
|
+
set(V) {
|
|
706
|
+
j(V);
|
|
700
707
|
}
|
|
701
708
|
});
|
|
702
709
|
}
|
|
703
|
-
const
|
|
704
|
-
function
|
|
710
|
+
const Ht = Symbol("StateEditorSymbol");
|
|
711
|
+
function No(t) {
|
|
705
712
|
const e = I(t);
|
|
706
|
-
return
|
|
713
|
+
return ke(Ht, e), {
|
|
707
714
|
context: e
|
|
708
715
|
};
|
|
709
716
|
}
|
|
710
|
-
function
|
|
711
|
-
return Ce(
|
|
717
|
+
function dt() {
|
|
718
|
+
return Ce(Ht);
|
|
712
719
|
}
|
|
713
|
-
function
|
|
714
|
-
const t = I(""), e = I("string"), n = I(!1), o =
|
|
720
|
+
function Ro() {
|
|
721
|
+
const t = I(""), e = I("string"), n = I(!1), o = dt();
|
|
715
722
|
return {
|
|
716
723
|
editingText: t,
|
|
717
724
|
editing: n,
|
|
718
|
-
toggleEditing(
|
|
719
|
-
|
|
725
|
+
toggleEditing(l) {
|
|
726
|
+
l && (e.value = l), n.value = !n.value;
|
|
720
727
|
},
|
|
721
728
|
editingType: e,
|
|
722
729
|
nodeId: D(() => o.value.nodeId)
|
|
723
730
|
};
|
|
724
731
|
}
|
|
725
|
-
function
|
|
732
|
+
function Ao(t, e) {
|
|
726
733
|
if (t === "array")
|
|
727
734
|
return e.length;
|
|
728
735
|
const n = "newProp";
|
|
729
736
|
let o = 1;
|
|
730
737
|
for (; ; ) {
|
|
731
|
-
const
|
|
732
|
-
if (!e[
|
|
733
|
-
return
|
|
738
|
+
const l = `${n}${o}`;
|
|
739
|
+
if (!e[l])
|
|
740
|
+
return l;
|
|
734
741
|
o++;
|
|
735
742
|
}
|
|
736
743
|
}
|
|
737
|
-
function
|
|
744
|
+
function Do() {
|
|
738
745
|
const t = I({
|
|
739
746
|
enable: !1,
|
|
740
747
|
key: "",
|
|
741
748
|
value: "undefined"
|
|
742
749
|
});
|
|
743
|
-
function e(o,
|
|
744
|
-
const
|
|
750
|
+
function e(o, l) {
|
|
751
|
+
const s = Ao(o, l);
|
|
745
752
|
t.value = {
|
|
746
753
|
enable: !0,
|
|
747
|
-
key:
|
|
754
|
+
key: s.toString(),
|
|
748
755
|
value: "undefined"
|
|
749
756
|
};
|
|
750
757
|
}
|
|
@@ -761,7 +768,7 @@ function bo() {
|
|
|
761
768
|
draftingNewProp: t
|
|
762
769
|
};
|
|
763
770
|
}
|
|
764
|
-
const
|
|
771
|
+
const Po = { class: "flex pl5px" }, Mo = { class: "w160px py5px" }, Ho = /* @__PURE__ */ B({
|
|
765
772
|
__name: "StateFieldEditor",
|
|
766
773
|
props: {
|
|
767
774
|
data: {},
|
|
@@ -772,13 +779,13 @@ const wo = { class: "flex pl5px" }, $o = { class: "w160px py5px" }, ko = /* @__P
|
|
|
772
779
|
},
|
|
773
780
|
emits: ["enableEditInput", "addNewProp"],
|
|
774
781
|
setup(t) {
|
|
775
|
-
const e = t, n =
|
|
782
|
+
const e = t, n = dt(), { copy: o, isSupported: l } = wo(), s = I(!1), u = D(() => Rt(e.data.value)), c = D(() => u.value.value), d = D(() => u.value.customType), C = D(() => c.value === null ? "null" : typeof c.value), v = {
|
|
776
783
|
flat: !0,
|
|
777
784
|
size: "mini"
|
|
778
|
-
},
|
|
785
|
+
}, a = D(() => ({
|
|
779
786
|
"opacity-0": !e.hovering
|
|
780
787
|
}));
|
|
781
|
-
async function
|
|
788
|
+
async function f(y, _ = !1) {
|
|
782
789
|
await R.value.editInspectorState({
|
|
783
790
|
path: e.data.path || [e.data.key],
|
|
784
791
|
inspectorId: n.value.inspectorId,
|
|
@@ -786,25 +793,25 @@ const wo = { class: "flex pl5px" }, $o = { class: "w160px py5px" }, ko = /* @__P
|
|
|
786
793
|
nodeId: n.value.nodeId,
|
|
787
794
|
state: {
|
|
788
795
|
newKey: null,
|
|
789
|
-
value:
|
|
796
|
+
value: Nt(y),
|
|
790
797
|
type: C.value,
|
|
791
|
-
remove:
|
|
798
|
+
remove: _
|
|
792
799
|
}
|
|
793
800
|
}), await R.value.sendInspectorState(n.value.inspectorId);
|
|
794
801
|
}
|
|
795
|
-
function m(
|
|
796
|
-
const
|
|
797
|
-
|
|
802
|
+
function m(y, _) {
|
|
803
|
+
const k = typeof y == "number" ? y + _ : BigInt(y) + BigInt(_);
|
|
804
|
+
f(k);
|
|
798
805
|
}
|
|
799
|
-
return (
|
|
800
|
-
!e.disableEdit &&
|
|
801
|
-
C.value === "string" || C.value === "number" || C.value === "object" || C.value === "null" ? (p(),
|
|
802
|
-
|
|
803
|
-
class:
|
|
804
|
-
onClick:
|
|
806
|
+
return (y, _) => (p(), h("div", Po, [
|
|
807
|
+
!e.disableEdit && y.data.editable ? (p(), h(te, { key: 0 }, [
|
|
808
|
+
C.value === "string" || C.value === "number" || C.value === "object" || C.value === "null" ? (p(), h(te, { key: 0 }, [
|
|
809
|
+
J((p(), z(r(de), we(v, {
|
|
810
|
+
class: a.value,
|
|
811
|
+
onClick: _[0] || (_[0] = fe((k) => y.$emit("enableEditInput", C.value), ["stop"]))
|
|
805
812
|
}), {
|
|
806
|
-
icon:
|
|
807
|
-
|
|
813
|
+
icon: M(() => [
|
|
814
|
+
x(r(se), { icon: "i-material-symbols-edit-rounded" })
|
|
808
815
|
]),
|
|
809
816
|
_: 1
|
|
810
817
|
}, 16, ["class"])), [
|
|
@@ -812,109 +819,109 @@ const wo = { class: "flex pl5px" }, $o = { class: "w160px py5px" }, ko = /* @__P
|
|
|
812
819
|
content: "Edit value"
|
|
813
820
|
}]
|
|
814
821
|
]),
|
|
815
|
-
C.value === "object" &&
|
|
816
|
-
class:
|
|
817
|
-
onClick:
|
|
822
|
+
C.value === "object" && y.showAddIfNeeded ? J((p(), z(r(de), we({ key: 0 }, v, {
|
|
823
|
+
class: a.value,
|
|
824
|
+
onClick: _[1] || (_[1] = fe((k) => y.$emit("addNewProp", Array.isArray(c.value) ? "array" : "object"), ["stop"]))
|
|
818
825
|
}), {
|
|
819
|
-
icon:
|
|
820
|
-
|
|
826
|
+
icon: M(() => [
|
|
827
|
+
x(r(se), { icon: "i-material-symbols-add-circle-rounded" })
|
|
821
828
|
]),
|
|
822
829
|
_: 1
|
|
823
830
|
}, 16, ["class"])), [
|
|
824
831
|
[r(Q), {
|
|
825
832
|
content: "Add new value"
|
|
826
833
|
}]
|
|
827
|
-
]) :
|
|
828
|
-
], 64)) :
|
|
829
|
-
C.value === "boolean" ? (p(),
|
|
830
|
-
class:
|
|
831
|
-
onClick:
|
|
834
|
+
]) : U("", !0)
|
|
835
|
+
], 64)) : U("", !0),
|
|
836
|
+
C.value === "boolean" ? (p(), z(r(de), we({ key: 1 }, v, {
|
|
837
|
+
class: a.value,
|
|
838
|
+
onClick: _[2] || (_[2] = (k) => f(!c.value))
|
|
832
839
|
}), {
|
|
833
|
-
icon:
|
|
834
|
-
|
|
835
|
-
icon:
|
|
840
|
+
icon: M(() => [
|
|
841
|
+
x(r(se), {
|
|
842
|
+
icon: c.value ? "i-material-symbols-check-box-sharp" : "i-material-symbols-check-box-outline-blank-sharp"
|
|
836
843
|
}, null, 8, ["icon"])
|
|
837
844
|
]),
|
|
838
845
|
_: 1
|
|
839
|
-
}, 16, ["class"])) : C.value === "number" ||
|
|
840
|
-
|
|
841
|
-
class:
|
|
842
|
-
onClick:
|
|
846
|
+
}, 16, ["class"])) : C.value === "number" || d.value === "bigint" ? (p(), h(te, { key: 2 }, [
|
|
847
|
+
x(r(de), we(v, {
|
|
848
|
+
class: a.value,
|
|
849
|
+
onClick: _[3] || (_[3] = fe((k) => m(c.value, 1), ["stop"]))
|
|
843
850
|
}), {
|
|
844
|
-
icon:
|
|
845
|
-
|
|
851
|
+
icon: M(() => [
|
|
852
|
+
x(r(se), { icon: "i-carbon-add" })
|
|
846
853
|
]),
|
|
847
854
|
_: 1
|
|
848
855
|
}, 16, ["class"]),
|
|
849
|
-
|
|
850
|
-
class:
|
|
851
|
-
onClick:
|
|
856
|
+
x(r(de), we(v, {
|
|
857
|
+
class: a.value,
|
|
858
|
+
onClick: _[4] || (_[4] = fe((k) => m(c.value, -1), ["stop"]))
|
|
852
859
|
}), {
|
|
853
|
-
icon:
|
|
854
|
-
|
|
860
|
+
icon: M(() => [
|
|
861
|
+
x(r(se), { icon: "i-carbon-subtract" })
|
|
855
862
|
]),
|
|
856
863
|
_: 1
|
|
857
864
|
}, 16, ["class"])
|
|
858
|
-
], 64)) :
|
|
859
|
-
], 64)) :
|
|
860
|
-
!e.disableEdit &&
|
|
861
|
-
class:
|
|
862
|
-
onClick:
|
|
865
|
+
], 64)) : U("", !0)
|
|
866
|
+
], 64)) : U("", !0),
|
|
867
|
+
!e.disableEdit && y.depth > 0 && y.data.editable ? (p(), z(r(de), we({ key: 1 }, v, {
|
|
868
|
+
class: a.value,
|
|
869
|
+
onClick: _[5] || (_[5] = fe((k) => f(c.value, !0), ["stop"]))
|
|
863
870
|
}), {
|
|
864
|
-
icon:
|
|
865
|
-
|
|
871
|
+
icon: M(() => [
|
|
872
|
+
x(r(se), { icon: "i-material-symbols-delete-rounded" })
|
|
866
873
|
]),
|
|
867
874
|
_: 1
|
|
868
|
-
}, 16, ["class"])) :
|
|
869
|
-
|
|
875
|
+
}, 16, ["class"])) : U("", !0),
|
|
876
|
+
x(r(mn), {
|
|
870
877
|
class: ie({
|
|
871
|
-
"opacity-0": !
|
|
878
|
+
"opacity-0": !y.hovering && !s.value
|
|
872
879
|
}),
|
|
873
880
|
"button-props": {
|
|
874
881
|
flat: !0,
|
|
875
882
|
size: "mini"
|
|
876
883
|
},
|
|
877
|
-
disabled: !r(
|
|
878
|
-
"onUpdate:visible":
|
|
884
|
+
disabled: !r(l),
|
|
885
|
+
"onUpdate:visible": _[8] || (_[8] = (k) => s.value = k)
|
|
879
886
|
}, {
|
|
880
|
-
popper:
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
onClick:
|
|
887
|
+
popper: M(() => [
|
|
888
|
+
i("div", Mo, [
|
|
889
|
+
x(r(xt), {
|
|
890
|
+
onClick: _[6] || (_[6] = (k) => r(o)(typeof c.value == "object" ? JSON.stringify(c.value) : c.value.toString()))
|
|
884
891
|
}, {
|
|
885
|
-
icon:
|
|
886
|
-
|
|
892
|
+
icon: M(() => [
|
|
893
|
+
x(r(se), {
|
|
887
894
|
icon: "i-material-symbols-copy-all-rounded",
|
|
888
895
|
class: "mt4px"
|
|
889
896
|
}),
|
|
890
|
-
|
|
897
|
+
ne(" Copy Value ")
|
|
891
898
|
]),
|
|
892
899
|
_: 1
|
|
893
900
|
}),
|
|
894
|
-
|
|
895
|
-
onClick:
|
|
896
|
-
r(o)(
|
|
901
|
+
x(r(xt), {
|
|
902
|
+
onClick: _[7] || (_[7] = () => {
|
|
903
|
+
r(o)(y.data.key);
|
|
897
904
|
})
|
|
898
905
|
}, {
|
|
899
|
-
icon:
|
|
900
|
-
|
|
906
|
+
icon: M(() => [
|
|
907
|
+
x(r(se), {
|
|
901
908
|
icon: "i-material-symbols-copy-all-rounded",
|
|
902
909
|
class: "mt4px"
|
|
903
910
|
}),
|
|
904
|
-
|
|
911
|
+
ne(" Copy Path ")
|
|
905
912
|
]),
|
|
906
913
|
_: 1
|
|
907
914
|
})
|
|
908
915
|
])
|
|
909
916
|
]),
|
|
910
|
-
"button-icon":
|
|
911
|
-
|
|
917
|
+
"button-icon": M(() => [
|
|
918
|
+
x(r(se), { icon: "i-material-symbols:more-vert" })
|
|
912
919
|
]),
|
|
913
920
|
_: 1
|
|
914
921
|
}, 8, ["class", "disabled"])
|
|
915
922
|
]));
|
|
916
923
|
}
|
|
917
|
-
}),
|
|
924
|
+
}), Lo = { class: "flex-inline items-center gap4px" }, Ye = /* @__PURE__ */ B({
|
|
918
925
|
__name: "StateFieldInputEditor",
|
|
919
926
|
props: {
|
|
920
927
|
modelValue: {},
|
|
@@ -924,41 +931,41 @@ const wo = { class: "flex pl5px" }, $o = { class: "w160px py5px" }, ko = /* @__P
|
|
|
924
931
|
},
|
|
925
932
|
emits: ["cancel", "submit", "update:modelValue"],
|
|
926
933
|
setup(t, { emit: e }) {
|
|
927
|
-
const n = t, o = e,
|
|
928
|
-
|
|
929
|
-
|
|
934
|
+
const n = t, o = e, l = D(() => n.customType === "date" ? "datetime-local" : ""), { escape: s, enter: u } = Eo();
|
|
935
|
+
nt(() => {
|
|
936
|
+
s.value ? o("cancel") : u.value && o("submit");
|
|
930
937
|
});
|
|
931
|
-
const
|
|
932
|
-
function
|
|
938
|
+
const c = Vo(n, "modelValue", o);
|
|
939
|
+
function d(a) {
|
|
933
940
|
try {
|
|
934
|
-
return
|
|
941
|
+
return ze(a, n.customType), !0;
|
|
935
942
|
} catch {
|
|
936
943
|
return !1;
|
|
937
944
|
}
|
|
938
945
|
}
|
|
939
946
|
const C = I(!1);
|
|
940
|
-
return X(
|
|
941
|
-
C.value = !
|
|
942
|
-
}, 300)), (
|
|
943
|
-
|
|
944
|
-
modelValue: r(
|
|
945
|
-
"onUpdate:modelValue":
|
|
946
|
-
type:
|
|
947
|
+
return X(c, bn(() => {
|
|
948
|
+
C.value = !d(c.value);
|
|
949
|
+
}, 300)), (a, f) => (p(), h("span", Lo, [
|
|
950
|
+
x(r(Xe), {
|
|
951
|
+
modelValue: r(c),
|
|
952
|
+
"onUpdate:modelValue": f[0] || (f[0] = (m) => Ge(c) ? c.value = m : null),
|
|
953
|
+
type: l.value,
|
|
947
954
|
variant: C.value ? "warning" : "normal",
|
|
948
|
-
class: ie(["h25px px4px",
|
|
949
|
-
"auto-focus":
|
|
950
|
-
onClick:
|
|
955
|
+
class: ie(["h25px px4px", a.customType === "date" ? "w240px" : "w120px"]),
|
|
956
|
+
"auto-focus": a.autoFocus,
|
|
957
|
+
onClick: f[1] || (f[1] = fe(() => {
|
|
951
958
|
}, ["stop"]))
|
|
952
959
|
}, null, 8, ["modelValue", "type", "variant", "class", "auto-focus"]),
|
|
953
|
-
|
|
954
|
-
|
|
960
|
+
a.showActions ? (p(), h(te, { key: 0 }, [
|
|
961
|
+
J((p(), z(r(de), {
|
|
955
962
|
size: "mini",
|
|
956
963
|
flat: "",
|
|
957
964
|
class: "p2px!",
|
|
958
|
-
onClick:
|
|
965
|
+
onClick: f[2] || (f[2] = fe((m) => a.$emit("cancel"), ["stop"]))
|
|
959
966
|
}, {
|
|
960
|
-
icon:
|
|
961
|
-
|
|
967
|
+
icon: M(() => [
|
|
968
|
+
x(r(se), { icon: "i-material-symbols-cancel" })
|
|
962
969
|
]),
|
|
963
970
|
_: 1
|
|
964
971
|
})), [
|
|
@@ -966,7 +973,7 @@ const wo = { class: "flex pl5px" }, $o = { class: "w160px py5px" }, ko = /* @__P
|
|
|
966
973
|
content: "Esc to cancel"
|
|
967
974
|
}]
|
|
968
975
|
]),
|
|
969
|
-
C.value ?
|
|
976
|
+
C.value ? J((p(), z(r(se), {
|
|
970
977
|
key: 1,
|
|
971
978
|
icon: "i-material-symbols-warning",
|
|
972
979
|
class: "color-warning-500 dark:color-warning-300"
|
|
@@ -974,15 +981,15 @@ const wo = { class: "flex pl5px" }, $o = { class: "w160px py5px" }, ko = /* @__P
|
|
|
974
981
|
[r(Q), {
|
|
975
982
|
content: "Invalid value"
|
|
976
983
|
}]
|
|
977
|
-
]) :
|
|
984
|
+
]) : J((p(), z(r(de), {
|
|
978
985
|
key: 0,
|
|
979
986
|
size: "mini",
|
|
980
987
|
flat: "",
|
|
981
988
|
class: "p2px!",
|
|
982
|
-
onClick:
|
|
989
|
+
onClick: f[3] || (f[3] = fe((m) => a.$emit("submit"), ["stop"]))
|
|
983
990
|
}, {
|
|
984
|
-
icon:
|
|
985
|
-
|
|
991
|
+
icon: M(() => [
|
|
992
|
+
x(r(se), { icon: "i-material-symbols-save" })
|
|
986
993
|
]),
|
|
987
994
|
_: 1
|
|
988
995
|
})), [
|
|
@@ -990,67 +997,67 @@ const wo = { class: "flex pl5px" }, $o = { class: "w160px py5px" }, ko = /* @__P
|
|
|
990
997
|
content: "Enter to submit change"
|
|
991
998
|
}]
|
|
992
999
|
])
|
|
993
|
-
], 64)) :
|
|
1000
|
+
], 64)) : U("", !0)
|
|
994
1001
|
]));
|
|
995
1002
|
}
|
|
996
|
-
}),
|
|
1003
|
+
}), pt = /* @__PURE__ */ B({
|
|
997
1004
|
__name: "ToggleExpanded",
|
|
998
1005
|
props: {
|
|
999
1006
|
value: { type: Boolean }
|
|
1000
1007
|
},
|
|
1001
1008
|
setup(t) {
|
|
1002
|
-
return (e, n) => (p(),
|
|
1009
|
+
return (e, n) => (p(), h("i", {
|
|
1003
1010
|
class: ie(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base", {
|
|
1004
1011
|
"transform rotate-90": e.value
|
|
1005
1012
|
}])
|
|
1006
1013
|
}, null, 2));
|
|
1007
1014
|
}
|
|
1008
|
-
}),
|
|
1015
|
+
}), Lt = "expanded-state";
|
|
1009
1016
|
function ve(t = "") {
|
|
1010
1017
|
const e = I([]);
|
|
1011
|
-
return
|
|
1018
|
+
return ke(`${Lt}-${t}`, e), {
|
|
1012
1019
|
expanded: e
|
|
1013
1020
|
};
|
|
1014
1021
|
}
|
|
1015
|
-
function
|
|
1016
|
-
const e = Ce(`${
|
|
1022
|
+
function ft(t = "") {
|
|
1023
|
+
const e = Ce(`${Lt}-${t}`, I([]));
|
|
1017
1024
|
function n(o) {
|
|
1018
|
-
const
|
|
1019
|
-
|
|
1025
|
+
const l = e.value.indexOf(o);
|
|
1026
|
+
l === -1 ? e.value.push(o) : e.value.splice(l, 1);
|
|
1020
1027
|
}
|
|
1021
1028
|
return {
|
|
1022
1029
|
expanded: e,
|
|
1023
1030
|
toggleExpanded: n
|
|
1024
1031
|
};
|
|
1025
1032
|
}
|
|
1026
|
-
function
|
|
1033
|
+
function jo(t, e = {}) {
|
|
1027
1034
|
const {
|
|
1028
1035
|
enter: n = () => {
|
|
1029
1036
|
},
|
|
1030
1037
|
leave: o = () => {
|
|
1031
1038
|
},
|
|
1032
|
-
initial:
|
|
1033
|
-
} = e,
|
|
1039
|
+
initial: l = !1
|
|
1040
|
+
} = e, s = I(l);
|
|
1034
1041
|
return he(t, "mouseenter", () => {
|
|
1035
|
-
|
|
1042
|
+
s.value = !0, n();
|
|
1036
1043
|
}), he(t, "mouseleave", () => {
|
|
1037
|
-
|
|
1044
|
+
s.value = !1, o();
|
|
1038
1045
|
}), {
|
|
1039
|
-
isHovering:
|
|
1046
|
+
isHovering: s
|
|
1040
1047
|
};
|
|
1041
1048
|
}
|
|
1042
|
-
const
|
|
1049
|
+
const jt = (t) => (ot("data-v-e1338684"), t = t(), st(), t), Oo = {
|
|
1043
1050
|
key: 1,
|
|
1044
1051
|
pl5: ""
|
|
1045
|
-
},
|
|
1052
|
+
}, Uo = {
|
|
1046
1053
|
op70: "",
|
|
1047
1054
|
class: "whitespace-nowrap"
|
|
1048
|
-
},
|
|
1055
|
+
}, zo = /* @__PURE__ */ jt(() => /* @__PURE__ */ i("span", { mx1: "" }, ":", -1)), Bo = ["innerHTML"], Zo = { key: 0 }, Fo = {
|
|
1049
1056
|
"overflow-hidden": "",
|
|
1050
1057
|
"text-ellipsis": "",
|
|
1051
1058
|
"whitespace-nowrap": "",
|
|
1052
1059
|
"state-key": ""
|
|
1053
|
-
},
|
|
1060
|
+
}, Go = /* @__PURE__ */ jt(() => /* @__PURE__ */ i("span", { "mx-1": "" }, ":", -1)), St = 30, Ko = /* @__PURE__ */ B({
|
|
1054
1061
|
__name: "StateFieldViewer",
|
|
1055
1062
|
props: {
|
|
1056
1063
|
data: {},
|
|
@@ -1059,170 +1066,170 @@ const Dt = (t) => (Xe("data-v-e1338684"), t = t(), Qe(), t), So = {
|
|
|
1059
1066
|
expandedStateId: {}
|
|
1060
1067
|
},
|
|
1061
1068
|
setup(t) {
|
|
1062
|
-
const e = t, n = I(
|
|
1069
|
+
const e = t, n = I(St), o = D(() => un(e.data.value, !1, {
|
|
1063
1070
|
customClass: {
|
|
1064
1071
|
string: "max-w-120 truncate"
|
|
1065
1072
|
}
|
|
1066
|
-
})),
|
|
1067
|
-
var
|
|
1068
|
-
return
|
|
1073
|
+
})), l = D(() => Ct(e.data.value)), s = D(() => Rt(e.data.value)), { expanded: u, toggleExpanded: c } = ft(e.expandedStateId ?? ""), d = D(() => {
|
|
1074
|
+
var g;
|
|
1075
|
+
return l.value === "custom" ? `${((g = e.data.value._custom) == null ? void 0 : g.type) ?? "string"}-custom-state` : "";
|
|
1069
1076
|
}), C = D(() => {
|
|
1070
|
-
const { value:
|
|
1071
|
-
return
|
|
1072
|
-
}),
|
|
1073
|
-
var
|
|
1074
|
-
const
|
|
1075
|
-
if (
|
|
1077
|
+
const { value: g } = s.value;
|
|
1078
|
+
return bt(g) ? g.length : $t(g) ? Object.keys(g).length : 0;
|
|
1079
|
+
}), v = D(() => e.data.path || [e.data.key]), a = D(() => v.value[v.value.length - 1]), f = D(() => {
|
|
1080
|
+
var F, le, re, ce, me, _e, Le;
|
|
1081
|
+
const g = ["Reactive"], A = ((le = (F = e.data) == null ? void 0 : F._custom) == null ? void 0 : le.stateTypeName) || ((re = e.data) == null ? void 0 : re.stateTypeName);
|
|
1082
|
+
if (g.includes(A))
|
|
1076
1083
|
return A;
|
|
1077
|
-
if ((me = (
|
|
1084
|
+
if ((me = (ce = e.data.value) == null ? void 0 : ce.fields) != null && me.abstract)
|
|
1078
1085
|
return "";
|
|
1079
1086
|
{
|
|
1080
|
-
const
|
|
1081
|
-
return A ? `${
|
|
1087
|
+
const je = (Le = (_e = e.data.value) == null ? void 0 : _e._custom) == null ? void 0 : Le.type, Oe = l.value === "custom" && !je ? `"${o.value}"` : o.value === "" ? '""' : o.value, Ue = l.value === "custom" && je === "ref" ? Ct(Oe) : l.value, We = l.value === "string" ? "select-text" : "", Ee = `<span class="${Ue}-state-type flex whitespace-nowrap ${We}">${Oe}</span>`;
|
|
1088
|
+
return A ? `${Ee} <span class="text-gray-500">(${A})</span>` : Ee;
|
|
1082
1089
|
}
|
|
1083
1090
|
}), m = D(() => {
|
|
1084
|
-
const { value:
|
|
1085
|
-
let
|
|
1086
|
-
return
|
|
1091
|
+
const { value: g, inherit: A, customType: F } = s.value, le = F === "set";
|
|
1092
|
+
let re = [];
|
|
1093
|
+
return bt(g) ? g.slice(0, n.value).map((me, _e) => ({
|
|
1087
1094
|
key: _e.toString(),
|
|
1088
|
-
path: [...
|
|
1095
|
+
path: [...v.value, _e.toString()],
|
|
1089
1096
|
value: me,
|
|
1090
1097
|
...A,
|
|
1091
|
-
editable: e.data.editable && !
|
|
1098
|
+
editable: e.data.editable && !le,
|
|
1092
1099
|
creating: !1
|
|
1093
|
-
})) : (
|
|
1094
|
-
key:
|
|
1095
|
-
path: [...
|
|
1096
|
-
value:
|
|
1100
|
+
})) : ($t(g) && (re = Object.keys(g).slice(0, n.value).map((ce) => ({
|
|
1101
|
+
key: ce,
|
|
1102
|
+
path: [...v.value, ce],
|
|
1103
|
+
value: g[ce],
|
|
1097
1104
|
...A,
|
|
1098
|
-
editable: e.data.editable && !
|
|
1105
|
+
editable: e.data.editable && !le,
|
|
1099
1106
|
creating: !1
|
|
1100
|
-
})),
|
|
1101
|
-
}),
|
|
1102
|
-
X(() =>
|
|
1103
|
-
if (
|
|
1104
|
-
const { value: A } =
|
|
1105
|
-
|
|
1107
|
+
})), l.value !== "custom" && (re = At(re))), re === e.data.value ? [] : re);
|
|
1108
|
+
}), y = D(() => m.value.length > 0), _ = I(), k = dt(), { isHovering: O } = jo(() => _.value), { editingType: j, editing: V, editingText: $, toggleEditing: N, nodeId: H } = Ro();
|
|
1109
|
+
X(() => V.value, (g) => {
|
|
1110
|
+
if (g) {
|
|
1111
|
+
const { value: A } = s.value;
|
|
1112
|
+
$.value = cn(A, s.value.customType);
|
|
1106
1113
|
} else
|
|
1107
|
-
|
|
1114
|
+
$.value = "";
|
|
1108
1115
|
});
|
|
1109
1116
|
async function K() {
|
|
1110
|
-
const
|
|
1117
|
+
const g = e.data;
|
|
1111
1118
|
await R.value.editInspectorState({
|
|
1112
|
-
path:
|
|
1113
|
-
inspectorId:
|
|
1114
|
-
type:
|
|
1115
|
-
nodeId:
|
|
1119
|
+
path: v.value,
|
|
1120
|
+
inspectorId: k.value.inspectorId,
|
|
1121
|
+
type: g.stateType,
|
|
1122
|
+
nodeId: H.value,
|
|
1116
1123
|
state: {
|
|
1117
1124
|
newKey: null,
|
|
1118
|
-
type:
|
|
1119
|
-
value:
|
|
1125
|
+
type: j.value,
|
|
1126
|
+
value: ze($.value, s.value.customType)
|
|
1120
1127
|
}
|
|
1121
|
-
}), await R.value.sendInspectorState(
|
|
1128
|
+
}), await R.value.sendInspectorState(k.value.inspectorId), N();
|
|
1122
1129
|
}
|
|
1123
|
-
const { addNewProp:
|
|
1124
|
-
function b(
|
|
1130
|
+
const { addNewProp: Z, draftingNewProp: T, resetDrafting: P } = Do();
|
|
1131
|
+
function b(g) {
|
|
1125
1132
|
const A = `${e.depth}-${e.index}`;
|
|
1126
|
-
|
|
1133
|
+
u.value.includes(A) || c(A), Z(g, s.value.value);
|
|
1127
1134
|
}
|
|
1128
|
-
async function
|
|
1129
|
-
const
|
|
1135
|
+
async function S() {
|
|
1136
|
+
const g = e.data;
|
|
1130
1137
|
await R.value.editInspectorState({
|
|
1131
|
-
path: [...
|
|
1132
|
-
inspectorId:
|
|
1133
|
-
type:
|
|
1134
|
-
nodeId:
|
|
1138
|
+
path: [...v.value, T.value.key],
|
|
1139
|
+
inspectorId: k.value.inspectorId,
|
|
1140
|
+
type: g.stateType,
|
|
1141
|
+
nodeId: H.value,
|
|
1135
1142
|
state: {
|
|
1136
1143
|
newKey: T.value.key,
|
|
1137
|
-
type: typeof
|
|
1138
|
-
value:
|
|
1144
|
+
type: typeof ze(T.value.value),
|
|
1145
|
+
value: ze(T.value.value)
|
|
1139
1146
|
}
|
|
1140
|
-
}), await R.value.sendInspectorState(
|
|
1147
|
+
}), await R.value.sendInspectorState(k.value.inspectorId), P();
|
|
1141
1148
|
}
|
|
1142
|
-
return (
|
|
1143
|
-
|
|
1149
|
+
return (g, A) => (p(), h("div", null, [
|
|
1150
|
+
i("div", {
|
|
1144
1151
|
ref_key: "containerRef",
|
|
1145
|
-
ref:
|
|
1146
|
-
class: ie(["font-state-field flex items-center text-3.5", [
|
|
1147
|
-
style:
|
|
1148
|
-
onClick: A[1] || (A[1] = (
|
|
1152
|
+
ref: _,
|
|
1153
|
+
class: ie(["font-state-field flex items-center text-3.5", [y.value && "cursor-pointer hover:bg-active"]]),
|
|
1154
|
+
style: Ie({ paddingLeft: `${g.depth * 15 + 4}px` }),
|
|
1155
|
+
onClick: A[1] || (A[1] = (F) => r(c)(`${g.depth}-${g.index}`))
|
|
1149
1156
|
}, [
|
|
1150
|
-
|
|
1157
|
+
y.value ? (p(), z(pt, {
|
|
1151
1158
|
key: 0,
|
|
1152
|
-
value: r(
|
|
1153
|
-
}, null, 8, ["value"])) : (p(),
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
r(
|
|
1159
|
+
value: r(u).includes(`${g.depth}-${g.index}`)
|
|
1160
|
+
}, null, 8, ["value"])) : (p(), h("span", Oo)),
|
|
1161
|
+
i("span", Uo, oe(a.value), 1),
|
|
1162
|
+
zo,
|
|
1163
|
+
r(V) ? (p(), z(Ye, {
|
|
1157
1164
|
key: 2,
|
|
1158
|
-
modelValue: r(
|
|
1159
|
-
"onUpdate:modelValue": A[0] || (A[0] = (
|
|
1165
|
+
modelValue: r($),
|
|
1166
|
+
"onUpdate:modelValue": A[0] || (A[0] = (F) => Ge($) ? $.value = F : null),
|
|
1160
1167
|
class: "mr-1",
|
|
1161
|
-
"custom-type":
|
|
1162
|
-
onCancel: r(
|
|
1168
|
+
"custom-type": s.value.customType,
|
|
1169
|
+
onCancel: r(N),
|
|
1163
1170
|
onSubmit: K
|
|
1164
|
-
}, null, 8, ["modelValue", "custom-type", "onCancel"])) :
|
|
1165
|
-
|
|
1166
|
-
class: ie([
|
|
1171
|
+
}, null, 8, ["modelValue", "custom-type", "onCancel"])) : U("", !0),
|
|
1172
|
+
i("span", {
|
|
1173
|
+
class: ie([d.value, "flex whitespace-nowrap"])
|
|
1167
1174
|
}, [
|
|
1168
|
-
|
|
1175
|
+
i("span", {
|
|
1169
1176
|
class: "flex",
|
|
1170
|
-
innerHTML:
|
|
1171
|
-
}, null, 8,
|
|
1177
|
+
innerHTML: f.value
|
|
1178
|
+
}, null, 8, Bo)
|
|
1172
1179
|
], 2),
|
|
1173
|
-
|
|
1174
|
-
hovering: r(
|
|
1175
|
-
"disable-edit": r(
|
|
1176
|
-
data:
|
|
1177
|
-
depth:
|
|
1178
|
-
onEnableEditInput: r(
|
|
1180
|
+
x(Ho, {
|
|
1181
|
+
hovering: r(O),
|
|
1182
|
+
"disable-edit": r(k).disableEdit || r(V),
|
|
1183
|
+
data: g.data,
|
|
1184
|
+
depth: g.depth,
|
|
1185
|
+
onEnableEditInput: r(N),
|
|
1179
1186
|
onAddNewProp: b
|
|
1180
1187
|
}, null, 8, ["hovering", "disable-edit", "data", "depth", "onEnableEditInput"])
|
|
1181
1188
|
], 6),
|
|
1182
|
-
|
|
1183
|
-
|
|
1189
|
+
y.value && r(u).includes(`${g.depth}-${g.index}`) ? (p(), h("div", Zo, [
|
|
1190
|
+
x(Ot, {
|
|
1184
1191
|
data: m.value,
|
|
1185
|
-
depth:
|
|
1186
|
-
index:
|
|
1192
|
+
depth: g.depth,
|
|
1193
|
+
index: g.index
|
|
1187
1194
|
}, null, 8, ["data", "depth", "index"]),
|
|
1188
|
-
C.value > n.value ?
|
|
1195
|
+
C.value > n.value ? J((p(), z(r(de), {
|
|
1189
1196
|
key: 0,
|
|
1190
1197
|
flat: "",
|
|
1191
1198
|
size: "mini",
|
|
1192
1199
|
class: "ml-4",
|
|
1193
|
-
onClick: A[2] || (A[2] = (
|
|
1200
|
+
onClick: A[2] || (A[2] = (F) => n.value += St)
|
|
1194
1201
|
}, {
|
|
1195
|
-
icon:
|
|
1196
|
-
|
|
1202
|
+
icon: M(() => [
|
|
1203
|
+
x(r(se), { icon: "i-material-symbols-more-horiz" })
|
|
1197
1204
|
]),
|
|
1198
1205
|
_: 1
|
|
1199
1206
|
})), [
|
|
1200
1207
|
[r(Q), "Show more"]
|
|
1201
|
-
]) :
|
|
1202
|
-
r(T).enable ? (p(),
|
|
1208
|
+
]) : U("", !0),
|
|
1209
|
+
r(T).enable ? (p(), h("div", {
|
|
1203
1210
|
key: 1,
|
|
1204
|
-
style:
|
|
1211
|
+
style: Ie({ paddingLeft: `${(g.depth + 1) * 15 + 4}px` })
|
|
1205
1212
|
}, [
|
|
1206
|
-
|
|
1207
|
-
|
|
1213
|
+
i("span", Fo, [
|
|
1214
|
+
x(Ye, {
|
|
1208
1215
|
modelValue: r(T).key,
|
|
1209
|
-
"onUpdate:modelValue": A[3] || (A[3] = (
|
|
1216
|
+
"onUpdate:modelValue": A[3] || (A[3] = (F) => r(T).key = F),
|
|
1210
1217
|
"show-actions": !1
|
|
1211
1218
|
}, null, 8, ["modelValue"])
|
|
1212
1219
|
]),
|
|
1213
|
-
|
|
1214
|
-
|
|
1220
|
+
Go,
|
|
1221
|
+
x(Ye, {
|
|
1215
1222
|
modelValue: r(T).value,
|
|
1216
|
-
"onUpdate:modelValue": A[4] || (A[4] = (
|
|
1223
|
+
"onUpdate:modelValue": A[4] || (A[4] = (F) => r(T).value = F),
|
|
1217
1224
|
"auto-focus": !1,
|
|
1218
1225
|
onCancel: r(P),
|
|
1219
|
-
onSubmit:
|
|
1226
|
+
onSubmit: S
|
|
1220
1227
|
}, null, 8, ["modelValue", "onCancel"])
|
|
1221
|
-
], 4)) :
|
|
1222
|
-
])) :
|
|
1228
|
+
], 4)) : U("", !0)
|
|
1229
|
+
])) : U("", !0)
|
|
1223
1230
|
]));
|
|
1224
1231
|
}
|
|
1225
|
-
}),
|
|
1232
|
+
}), Wo = /* @__PURE__ */ ye(Ko, [["__scopeId", "data-v-e1338684"]]), Ot = /* @__PURE__ */ B({
|
|
1226
1233
|
__name: "ChildStateViewer",
|
|
1227
1234
|
props: {
|
|
1228
1235
|
data: {},
|
|
@@ -1231,24 +1238,24 @@ const Dt = (t) => (Xe("data-v-e1338684"), t = t(), Qe(), t), So = {
|
|
|
1231
1238
|
expandedStateId: { default: "" }
|
|
1232
1239
|
},
|
|
1233
1240
|
setup(t) {
|
|
1234
|
-
return (e, n) => (p(),
|
|
1235
|
-
(p(!0),
|
|
1236
|
-
|
|
1241
|
+
return (e, n) => (p(), h("div", null, [
|
|
1242
|
+
(p(!0), h(te, null, ae(e.data, (o, l) => (p(), h("div", { key: l }, [
|
|
1243
|
+
x(Wo, {
|
|
1237
1244
|
data: o,
|
|
1238
1245
|
depth: e.depth + 1,
|
|
1239
|
-
index: `${e.index}-${
|
|
1246
|
+
index: `${e.index}-${l}`,
|
|
1240
1247
|
"expanded-state-id": e.expandedStateId
|
|
1241
1248
|
}, null, 8, ["data", "depth", "index", "expanded-state-id"])
|
|
1242
1249
|
]))), 128))
|
|
1243
1250
|
]));
|
|
1244
1251
|
}
|
|
1245
|
-
}),
|
|
1252
|
+
}), qo = ["onClick"], Jo = {
|
|
1246
1253
|
key: 1,
|
|
1247
1254
|
pl5: ""
|
|
1248
|
-
},
|
|
1255
|
+
}, Yo = {
|
|
1249
1256
|
"font-state-field": "",
|
|
1250
1257
|
"text-3.5": ""
|
|
1251
|
-
},
|
|
1258
|
+
}, Xo = { key: 0 }, Pe = /* @__PURE__ */ B({
|
|
1252
1259
|
__name: "RootStateViewer",
|
|
1253
1260
|
props: {
|
|
1254
1261
|
data: {},
|
|
@@ -1266,88 +1273,88 @@ const Dt = (t) => (Xe("data-v-e1338684"), t = t(), Qe(), t), So = {
|
|
|
1266
1273
|
disableEdit: e.disableEdit
|
|
1267
1274
|
};
|
|
1268
1275
|
}
|
|
1269
|
-
const { context: o } =
|
|
1270
|
-
|
|
1276
|
+
const { context: o } = No(n());
|
|
1277
|
+
nt(() => {
|
|
1271
1278
|
o.value = n();
|
|
1272
1279
|
});
|
|
1273
|
-
const { expanded:
|
|
1274
|
-
return (
|
|
1275
|
-
(p(!0),
|
|
1276
|
-
|
|
1277
|
-
class: ie(["flex items-center", [(
|
|
1278
|
-
onClick: (
|
|
1280
|
+
const { expanded: l, toggleExpanded: s } = ft(e.expandedStateId);
|
|
1281
|
+
return (u, c) => (p(), h("div", null, [
|
|
1282
|
+
(p(!0), h(te, null, ae(u.data, (d, C, v) => (p(), h("div", { key: v }, [
|
|
1283
|
+
i("div", {
|
|
1284
|
+
class: ie(["flex items-center", [(d == null ? void 0 : d.length) && "cursor-pointer hover:bg-active"]]),
|
|
1285
|
+
onClick: (a) => r(s)(`${v}`)
|
|
1279
1286
|
}, [
|
|
1280
|
-
|
|
1287
|
+
d != null && d.length ? (p(), z(pt, {
|
|
1281
1288
|
key: 0,
|
|
1282
|
-
value: r(
|
|
1283
|
-
}, null, 8, ["value"])) : (p(),
|
|
1284
|
-
|
|
1285
|
-
], 10,
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
data:
|
|
1289
|
-
index: `${
|
|
1290
|
-
"expanded-state-id":
|
|
1289
|
+
value: r(l).includes(`${v}`)
|
|
1290
|
+
}, null, 8, ["value"])) : (p(), h("span", Jo)),
|
|
1291
|
+
i("span", Yo, oe(C), 1)
|
|
1292
|
+
], 10, qo),
|
|
1293
|
+
d != null && d.length && r(l).includes(`${v}`) ? (p(), h("div", Xo, [
|
|
1294
|
+
x(Ot, {
|
|
1295
|
+
data: d,
|
|
1296
|
+
index: `${v}`,
|
|
1297
|
+
"expanded-state-id": u.expandedStateId
|
|
1291
1298
|
}, null, 8, ["data", "index", "expanded-state-id"])
|
|
1292
|
-
])) :
|
|
1299
|
+
])) : U("", !0)
|
|
1293
1300
|
]))), 128))
|
|
1294
1301
|
]));
|
|
1295
1302
|
}
|
|
1296
1303
|
});
|
|
1297
|
-
function
|
|
1304
|
+
function Qo(t, e) {
|
|
1298
1305
|
const n = new Date(t);
|
|
1299
1306
|
return `${n.toString().match(/\d\d:\d\d:\d\d/)[0]}${e === "ms" ? `.${String(n.getMilliseconds()).padStart(3, "0")}` : ""}`;
|
|
1300
1307
|
}
|
|
1301
|
-
function
|
|
1302
|
-
const n = /* @__PURE__ */ new Map(), o =
|
|
1308
|
+
function e1(t, e) {
|
|
1309
|
+
const n = /* @__PURE__ */ new Map(), o = zt(t, e.toLowerCase(), n, 0);
|
|
1303
1310
|
return n.clear(), o;
|
|
1304
1311
|
}
|
|
1305
|
-
const
|
|
1306
|
-
function
|
|
1307
|
-
if (o >
|
|
1312
|
+
const Ut = 10;
|
|
1313
|
+
function zt(t, e, n, o) {
|
|
1314
|
+
if (o > Ut)
|
|
1308
1315
|
return !1;
|
|
1309
|
-
let
|
|
1310
|
-
const
|
|
1311
|
-
let
|
|
1312
|
-
for (let
|
|
1316
|
+
let l = !1;
|
|
1317
|
+
const s = Object.keys(t);
|
|
1318
|
+
let u, c;
|
|
1319
|
+
for (let d = 0; d < s.length && (u = s[d], c = t[u], l = Bt(e, u, c, n, o + 1), !l); d++)
|
|
1313
1320
|
;
|
|
1314
|
-
return
|
|
1321
|
+
return l;
|
|
1315
1322
|
}
|
|
1316
|
-
function
|
|
1317
|
-
let
|
|
1318
|
-
return e === "_custom" && (e = n.display, n = n.value), (
|
|
1323
|
+
function Bt(t, e, n, o, l) {
|
|
1324
|
+
let s = !1, u;
|
|
1325
|
+
return e === "_custom" && (e = n.display, n = n.value), (u = t1(n)) && (n = u), e && Tt(e, t) ? (s = !0, o.set(n, !0)) : o.has(n) ? s = o.get(n) : Array.isArray(n) ? (o.set(n, null), s = n1(n, t, o, l), o.set(n, s)) : dn(n) ? (o.set(n, null), s = zt(n, t, o, l), o.set(n, s)) : Tt(n, t) && (s = !0, o.set(n, !0)), s;
|
|
1319
1326
|
}
|
|
1320
|
-
function
|
|
1327
|
+
function Tt(t, e) {
|
|
1321
1328
|
return `${t}`.toLowerCase().includes(e);
|
|
1322
1329
|
}
|
|
1323
|
-
function
|
|
1324
|
-
return t === null ? "null" : t ===
|
|
1330
|
+
function t1(t) {
|
|
1331
|
+
return t === null ? "null" : t === pn ? "undefined" : t === fn ? "NaN" : t === vn ? "Infinity" : t === hn ? "-Infinity" : !1;
|
|
1325
1332
|
}
|
|
1326
|
-
function
|
|
1327
|
-
if (o >
|
|
1333
|
+
function n1(t, e, n, o) {
|
|
1334
|
+
if (o > Ut)
|
|
1328
1335
|
return !1;
|
|
1329
|
-
let
|
|
1330
|
-
for (let
|
|
1336
|
+
let l = !1, s;
|
|
1337
|
+
for (let u = 0; u < t.length && (s = t[u], l = Bt(e, null, s, n, o + 1), !l); u++)
|
|
1331
1338
|
;
|
|
1332
|
-
return
|
|
1339
|
+
return l;
|
|
1333
1340
|
}
|
|
1334
|
-
function
|
|
1341
|
+
function Et(t) {
|
|
1335
1342
|
return t.toString(16).padStart(6, "0");
|
|
1336
1343
|
}
|
|
1337
|
-
const
|
|
1344
|
+
const Zt = /* @__PURE__ */ B({
|
|
1338
1345
|
__name: "NodeTag",
|
|
1339
1346
|
props: {
|
|
1340
1347
|
tag: {}
|
|
1341
1348
|
},
|
|
1342
1349
|
setup(t) {
|
|
1343
|
-
return (e, n) =>
|
|
1344
|
-
style:
|
|
1345
|
-
color: `#${r(
|
|
1346
|
-
backgroundColor: `#${r(
|
|
1350
|
+
return (e, n) => J((p(), h("span", {
|
|
1351
|
+
style: Ie({
|
|
1352
|
+
color: `#${r(Et)(e.tag.textColor)}`,
|
|
1353
|
+
backgroundColor: `#${r(Et)(e.tag.backgroundColor)}`
|
|
1347
1354
|
}),
|
|
1348
1355
|
class: "ml-2 rounded-sm px-1 text-[0.75rem] leading-snug"
|
|
1349
1356
|
}, [
|
|
1350
|
-
|
|
1357
|
+
ne(oe(e.tag.label), 1)
|
|
1351
1358
|
], 4)), [
|
|
1352
1359
|
[r(Q), {
|
|
1353
1360
|
content: e.tag.tooltip,
|
|
@@ -1355,15 +1362,15 @@ const Fo = /* @__PURE__ */ G({
|
|
|
1355
1362
|
}]
|
|
1356
1363
|
]);
|
|
1357
1364
|
}
|
|
1358
|
-
}),
|
|
1359
|
-
function
|
|
1365
|
+
}), Ft = Symbol("SelectedSymbolKey");
|
|
1366
|
+
function o1() {
|
|
1360
1367
|
const t = I("");
|
|
1361
|
-
return
|
|
1368
|
+
return ke(Ft, t), {
|
|
1362
1369
|
selected: t
|
|
1363
1370
|
};
|
|
1364
1371
|
}
|
|
1365
|
-
function
|
|
1366
|
-
const t = Ce(
|
|
1372
|
+
function s1() {
|
|
1373
|
+
const t = Ce(Ft, I(""));
|
|
1367
1374
|
function e(n) {
|
|
1368
1375
|
t.value = n;
|
|
1369
1376
|
}
|
|
@@ -1372,24 +1379,24 @@ function Ko() {
|
|
|
1372
1379
|
select: e
|
|
1373
1380
|
};
|
|
1374
1381
|
}
|
|
1375
|
-
const
|
|
1382
|
+
const l1 = ["onClick", "onDblclick"], a1 = {
|
|
1376
1383
|
key: 1,
|
|
1377
1384
|
pl5: ""
|
|
1378
|
-
},
|
|
1385
|
+
}, i1 = {
|
|
1379
1386
|
"font-state-field": "",
|
|
1380
1387
|
"text-3.5": ""
|
|
1381
|
-
},
|
|
1388
|
+
}, r1 = {
|
|
1382
1389
|
key: 0,
|
|
1383
1390
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1384
|
-
},
|
|
1391
|
+
}, u1 = {
|
|
1385
1392
|
"group-hover:text-white": "",
|
|
1386
1393
|
class: "ws-nowrap [.active_&]:text-white"
|
|
1387
|
-
},
|
|
1394
|
+
}, c1 = {
|
|
1388
1395
|
key: 1,
|
|
1389
1396
|
class: "text-gray-400 dark:text-gray-600 group-hover:text-white group-hover:op50 [.active_&]:op50 [.active_&]:text-white!"
|
|
1390
|
-
},
|
|
1397
|
+
}, d1 = { key: 0 }, Me = /* @__PURE__ */ B({
|
|
1391
1398
|
__name: "TreeViewer",
|
|
1392
|
-
props: /* @__PURE__ */
|
|
1399
|
+
props: /* @__PURE__ */ Ze({
|
|
1393
1400
|
data: {},
|
|
1394
1401
|
depth: { default: 0 },
|
|
1395
1402
|
withTag: { type: Boolean, default: !1 }
|
|
@@ -1399,201 +1406,201 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1399
1406
|
}),
|
|
1400
1407
|
emits: ["update:modelValue"],
|
|
1401
1408
|
setup(t) {
|
|
1402
|
-
const e =
|
|
1403
|
-
|
|
1404
|
-
function
|
|
1405
|
-
return "name" in
|
|
1409
|
+
const e = lt(t, "modelValue"), { expanded: n, toggleExpanded: o } = ft();
|
|
1410
|
+
s1();
|
|
1411
|
+
function l(u) {
|
|
1412
|
+
return "name" in u && (u == null ? void 0 : u.name) || "label" in u && u.label;
|
|
1406
1413
|
}
|
|
1407
|
-
function
|
|
1408
|
-
e.value =
|
|
1414
|
+
function s(u) {
|
|
1415
|
+
e.value = u;
|
|
1409
1416
|
}
|
|
1410
|
-
return (
|
|
1411
|
-
var
|
|
1412
|
-
return p(),
|
|
1417
|
+
return (u, c) => (p(!0), h(te, null, ae(u.data, (d, C) => {
|
|
1418
|
+
var v, a;
|
|
1419
|
+
return p(), h("div", {
|
|
1413
1420
|
key: C,
|
|
1414
1421
|
class: ie({
|
|
1415
|
-
"min-w-max":
|
|
1422
|
+
"min-w-max": u.depth === 0
|
|
1416
1423
|
})
|
|
1417
1424
|
}, [
|
|
1418
|
-
|
|
1419
|
-
class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": e.value ===
|
|
1420
|
-
style:
|
|
1421
|
-
onClick: (
|
|
1422
|
-
onDblclick: (
|
|
1425
|
+
i("div", {
|
|
1426
|
+
class: ie(["group flex cursor-pointer items-center rounded-1 hover:bg-primary-300 hover:dark:bg-gray-600", { "bg-primary-600! active": e.value === d.id }]),
|
|
1427
|
+
style: Ie({ paddingLeft: `${15 * u.depth + 4}px` }),
|
|
1428
|
+
onClick: (f) => s(d.id),
|
|
1429
|
+
onDblclick: (f) => r(o)(d.id)
|
|
1423
1430
|
}, [
|
|
1424
|
-
(
|
|
1431
|
+
(v = d == null ? void 0 : d.children) != null && v.length ? (p(), z(pt, {
|
|
1425
1432
|
key: 0,
|
|
1426
|
-
value: r(n).includes(
|
|
1433
|
+
value: r(n).includes(d.id),
|
|
1427
1434
|
class: "[.active_&]:op20 group-hover:op20",
|
|
1428
|
-
onClick:
|
|
1429
|
-
}, null, 8, ["value", "onClick"])) : (p(),
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1435
|
+
onClick: fe((f) => r(o)(d.id), ["stop"])
|
|
1436
|
+
}, null, 8, ["value", "onClick"])) : (p(), h("span", a1)),
|
|
1437
|
+
i("span", i1, [
|
|
1438
|
+
u.withTag ? (p(), h("span", r1, "<")) : U("", !0),
|
|
1439
|
+
i("span", u1, oe(l(d)), 1),
|
|
1440
|
+
u.withTag ? (p(), h("span", c1, ">")) : U("", !0)
|
|
1434
1441
|
]),
|
|
1435
|
-
(p(!0),
|
|
1442
|
+
(p(!0), h(te, null, ae(d.tags, (f, m) => (p(), z(Zt, {
|
|
1436
1443
|
key: m,
|
|
1437
|
-
tag:
|
|
1444
|
+
tag: f
|
|
1438
1445
|
}, null, 8, ["tag"]))), 128))
|
|
1439
|
-
], 46,
|
|
1440
|
-
(
|
|
1441
|
-
|
|
1446
|
+
], 46, l1),
|
|
1447
|
+
(a = d == null ? void 0 : d.children) != null && a.length && r(n).includes(d.id) ? (p(), h("div", d1, [
|
|
1448
|
+
x(Me, {
|
|
1442
1449
|
modelValue: e.value,
|
|
1443
|
-
"onUpdate:modelValue":
|
|
1444
|
-
data:
|
|
1445
|
-
depth:
|
|
1446
|
-
"with-tag":
|
|
1450
|
+
"onUpdate:modelValue": c[0] || (c[0] = (f) => e.value = f),
|
|
1451
|
+
data: d == null ? void 0 : d.children,
|
|
1452
|
+
depth: u.depth + 1,
|
|
1453
|
+
"with-tag": u.withTag
|
|
1447
1454
|
}, null, 8, ["modelValue", "data", "depth", "with-tag"])
|
|
1448
|
-
])) :
|
|
1455
|
+
])) : U("", !0)
|
|
1449
1456
|
], 2);
|
|
1450
1457
|
}), 128));
|
|
1451
1458
|
}
|
|
1452
|
-
}),
|
|
1459
|
+
}), p1 = { class: "h-full flex flex-col" }, f1 = { class: "h-full flex flex-col p2" }, v1 = {
|
|
1453
1460
|
key: 0,
|
|
1454
1461
|
class: "mb-1 flex justify-end pb-1",
|
|
1455
1462
|
border: "b dashed base"
|
|
1456
|
-
},
|
|
1463
|
+
}, h1 = { class: "flex items-center gap-2 px-1" }, m1 = ["onClick"], _1 = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, g1 = { class: "h-full flex flex-col p2" }, C1 = {
|
|
1457
1464
|
key: 0,
|
|
1458
1465
|
class: "mb-1 flex justify-end pb-1",
|
|
1459
1466
|
border: "b dashed base"
|
|
1460
|
-
},
|
|
1467
|
+
}, x1 = { class: "flex items-center gap-2 px-1" }, y1 = ["onClick"], pe = "pinia", b1 = /* @__PURE__ */ B({
|
|
1461
1468
|
__name: "Index",
|
|
1462
1469
|
setup(t) {
|
|
1463
|
-
const { expanded: e } = ve(), { expanded: n } = ve("pinia-store-state"), o = I([]),
|
|
1470
|
+
const { expanded: e } = ve(), { expanded: n } = ve("pinia-store-state"), o = I([]), l = I([]), s = I(""), u = I([]), c = D(() => {
|
|
1464
1471
|
var T, P;
|
|
1465
|
-
return (T =
|
|
1466
|
-
}),
|
|
1472
|
+
return (T = u.value) != null && T.length ? f((P = u.value) == null ? void 0 : P[0]) : [];
|
|
1473
|
+
}), d = D(() => y(u.value)), C = D(() => d.value.map((T) => T.id)), v = I({}), a = D(() => {
|
|
1467
1474
|
var T, P;
|
|
1468
|
-
return !((T =
|
|
1475
|
+
return !((T = v.value.state) != null && T.length) && !((P = v.value.getters) != null && P.length);
|
|
1469
1476
|
});
|
|
1470
|
-
function
|
|
1471
|
-
var
|
|
1472
|
-
return P.push(T.id), ((
|
|
1473
|
-
|
|
1477
|
+
function f(T, P = [], b = []) {
|
|
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((g) => {
|
|
1480
|
+
f(g, P, b);
|
|
1474
1481
|
}), P.pop(), b;
|
|
1475
1482
|
}
|
|
1476
1483
|
function m(T, P) {
|
|
1477
1484
|
const b = [];
|
|
1478
|
-
return T == null || T.forEach((
|
|
1479
|
-
b.push(...
|
|
1485
|
+
return T == null || T.forEach((S) => {
|
|
1486
|
+
b.push(...S.slice(0, P + 1));
|
|
1480
1487
|
}), [...new Set(b)];
|
|
1481
1488
|
}
|
|
1482
|
-
function
|
|
1483
|
-
const P = [], b = (
|
|
1484
|
-
|
|
1489
|
+
function y(T) {
|
|
1490
|
+
const P = [], b = (S) => {
|
|
1491
|
+
S == null || S.forEach((g) => {
|
|
1485
1492
|
var A;
|
|
1486
|
-
P.push(
|
|
1493
|
+
P.push(g), (A = g.children) != null && A.length && b(g.children);
|
|
1487
1494
|
});
|
|
1488
1495
|
};
|
|
1489
1496
|
return b(T), P;
|
|
1490
1497
|
}
|
|
1491
|
-
function
|
|
1492
|
-
R.value.getInspectorNodeActions(
|
|
1498
|
+
function _() {
|
|
1499
|
+
R.value.getInspectorNodeActions(pe).then((T) => {
|
|
1493
1500
|
o.value = T;
|
|
1494
1501
|
});
|
|
1495
1502
|
}
|
|
1496
|
-
function
|
|
1497
|
-
R.value.getInspectorActions(
|
|
1498
|
-
|
|
1503
|
+
function k() {
|
|
1504
|
+
R.value.getInspectorActions(pe).then((T) => {
|
|
1505
|
+
l.value = T;
|
|
1499
1506
|
});
|
|
1500
1507
|
}
|
|
1501
|
-
|
|
1502
|
-
function
|
|
1503
|
-
R.value.callInspectorNodeAction(
|
|
1508
|
+
_(), k();
|
|
1509
|
+
function O(T) {
|
|
1510
|
+
R.value.callInspectorNodeAction(pe, T, s.value);
|
|
1504
1511
|
}
|
|
1505
|
-
function
|
|
1506
|
-
R.value.callInspectorAction(
|
|
1512
|
+
function j(T) {
|
|
1513
|
+
R.value.callInspectorAction(pe, T);
|
|
1507
1514
|
}
|
|
1508
|
-
function
|
|
1515
|
+
function V(T) {
|
|
1509
1516
|
var P;
|
|
1510
1517
|
for (const b in T)
|
|
1511
1518
|
(P = T[b]) != null && P.length || delete T[b];
|
|
1512
1519
|
return T;
|
|
1513
1520
|
}
|
|
1514
|
-
function
|
|
1515
|
-
R.value.getInspectorState({ inspectorId:
|
|
1521
|
+
function $(T) {
|
|
1522
|
+
R.value.getInspectorState({ inspectorId: pe, nodeId: T }).then((P) => {
|
|
1516
1523
|
const b = Y(P);
|
|
1517
|
-
b && (
|
|
1524
|
+
b && (v.value = V(b), n.value = Array.from({ length: Object.keys(v.value).length }, (S, g) => `${g}`));
|
|
1518
1525
|
});
|
|
1519
1526
|
}
|
|
1520
|
-
function
|
|
1521
|
-
|
|
1527
|
+
function N() {
|
|
1528
|
+
v.value = {};
|
|
1522
1529
|
}
|
|
1523
|
-
X(
|
|
1524
|
-
|
|
1530
|
+
X(s, () => {
|
|
1531
|
+
N(), $(s.value);
|
|
1525
1532
|
}), (() => {
|
|
1526
|
-
R.value.getInspectorTree({ inspectorId:
|
|
1533
|
+
R.value.getInspectorTree({ inspectorId: pe, filter: "" }).then((T) => {
|
|
1527
1534
|
const P = Y(T);
|
|
1528
|
-
|
|
1535
|
+
u.value = P, !s.value && P.length && (s.value = P[0].id, $(P[0].id), e.value = m(c.value, 1));
|
|
1529
1536
|
});
|
|
1530
1537
|
})();
|
|
1531
1538
|
function K(T) {
|
|
1532
1539
|
const P = Y(T);
|
|
1533
|
-
P.inspectorId !==
|
|
1540
|
+
P.inspectorId !== pe || !P.rootNodes.length || (u.value = P.rootNodes, C.value.includes(s.value) || (s.value = P.rootNodes[0].id, e.value = m(c.value, 1), $(P.rootNodes[0].id)));
|
|
1534
1541
|
}
|
|
1535
|
-
function
|
|
1542
|
+
function Z(T) {
|
|
1536
1543
|
const P = Y(T);
|
|
1537
|
-
if (P.inspectorId !==
|
|
1544
|
+
if (P.inspectorId !== pe)
|
|
1538
1545
|
return;
|
|
1539
1546
|
const b = P.state;
|
|
1540
|
-
|
|
1547
|
+
v.value = V({
|
|
1541
1548
|
state: b.state,
|
|
1542
1549
|
getters: b.getters
|
|
1543
1550
|
});
|
|
1544
1551
|
}
|
|
1545
|
-
return R.functions.on(W.INSPECTOR_TREE_UPDATED, K), R.functions.on(W.INSPECTOR_STATE_UPDATED,
|
|
1546
|
-
R.functions.off(W.INSPECTOR_TREE_UPDATED, K), R.functions.off(W.INSPECTOR_STATE_UPDATED,
|
|
1547
|
-
}), (T, P) => (p(),
|
|
1548
|
-
|
|
1552
|
+
return R.functions.on(W.INSPECTOR_TREE_UPDATED, K), R.functions.on(W.INSPECTOR_STATE_UPDATED, Z), xe(() => {
|
|
1553
|
+
R.functions.off(W.INSPECTOR_TREE_UPDATED, K), R.functions.off(W.INSPECTOR_STATE_UPDATED, Z);
|
|
1554
|
+
}), (T, P) => (p(), h("div", p1, [
|
|
1555
|
+
x(Te, {
|
|
1549
1556
|
"doc-link": "https://pinia.vuejs.org/",
|
|
1550
1557
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
1551
1558
|
}, {
|
|
1552
|
-
default:
|
|
1553
|
-
|
|
1559
|
+
default: M(() => [
|
|
1560
|
+
x(Se)
|
|
1554
1561
|
]),
|
|
1555
1562
|
_: 1
|
|
1556
1563
|
}),
|
|
1557
|
-
|
|
1558
|
-
default:
|
|
1559
|
-
|
|
1564
|
+
x(r(Ae), { class: "flex-1 overflow-auto" }, {
|
|
1565
|
+
default: M(() => [
|
|
1566
|
+
x(r(ue), {
|
|
1560
1567
|
border: "r base",
|
|
1561
1568
|
size: "40",
|
|
1562
1569
|
"h-full": ""
|
|
1563
1570
|
}, {
|
|
1564
|
-
default:
|
|
1571
|
+
default: M(() => {
|
|
1565
1572
|
var b;
|
|
1566
1573
|
return [
|
|
1567
|
-
|
|
1568
|
-
(b =
|
|
1569
|
-
|
|
1570
|
-
(p(!0),
|
|
1571
|
-
key:
|
|
1574
|
+
i("div", f1, [
|
|
1575
|
+
(b = l.value) != null && b.length ? (p(), h("div", v1, [
|
|
1576
|
+
i("div", h1, [
|
|
1577
|
+
(p(!0), h(te, null, ae(l.value, (S, g) => J((p(), h("div", {
|
|
1578
|
+
key: g,
|
|
1572
1579
|
class: "flex items-center gap1",
|
|
1573
|
-
onClick: (A) =>
|
|
1580
|
+
onClick: (A) => j(g)
|
|
1574
1581
|
}, [
|
|
1575
|
-
|
|
1576
|
-
class: ie(`i-ic-baseline-${
|
|
1582
|
+
i("i", {
|
|
1583
|
+
class: ie(`i-ic-baseline-${S.icon.replace(/\_/g, "-")}`),
|
|
1577
1584
|
"cursor-pointer": "",
|
|
1578
1585
|
op70: "",
|
|
1579
1586
|
"text-base": "",
|
|
1580
1587
|
"hover:op100": ""
|
|
1581
1588
|
}, null, 2)
|
|
1582
|
-
], 8,
|
|
1589
|
+
], 8, m1)), [
|
|
1583
1590
|
[
|
|
1584
1591
|
r(Q),
|
|
1585
|
-
{ content:
|
|
1592
|
+
{ content: S.tooltip },
|
|
1586
1593
|
void 0,
|
|
1587
1594
|
{ "bottom-end": !0 }
|
|
1588
1595
|
]
|
|
1589
1596
|
])), 128))
|
|
1590
1597
|
])
|
|
1591
|
-
])) :
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
modelValue:
|
|
1595
|
-
"onUpdate:modelValue": P[0] || (P[0] = (
|
|
1596
|
-
data:
|
|
1598
|
+
])) : U("", !0),
|
|
1599
|
+
i("div", _1, [
|
|
1600
|
+
x(Me, {
|
|
1601
|
+
modelValue: s.value,
|
|
1602
|
+
"onUpdate:modelValue": P[0] || (P[0] = (S) => s.value = S),
|
|
1603
|
+
data: u.value
|
|
1597
1604
|
}, null, 8, ["modelValue", "data"])
|
|
1598
1605
|
])
|
|
1599
1606
|
])
|
|
@@ -1601,45 +1608,45 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1601
1608
|
}),
|
|
1602
1609
|
_: 1
|
|
1603
1610
|
}),
|
|
1604
|
-
|
|
1605
|
-
default:
|
|
1611
|
+
x(r(ue), { size: "60" }, {
|
|
1612
|
+
default: M(() => {
|
|
1606
1613
|
var b;
|
|
1607
1614
|
return [
|
|
1608
|
-
|
|
1609
|
-
(b = o.value) != null && b.length ? (p(),
|
|
1610
|
-
|
|
1611
|
-
(p(!0),
|
|
1612
|
-
key:
|
|
1615
|
+
i("div", g1, [
|
|
1616
|
+
(b = o.value) != null && b.length ? (p(), h("div", C1, [
|
|
1617
|
+
i("div", x1, [
|
|
1618
|
+
(p(!0), h(te, null, ae(o.value, (S, g) => J((p(), h("div", {
|
|
1619
|
+
key: g,
|
|
1613
1620
|
class: "flex items-center gap1",
|
|
1614
|
-
onClick: (A) =>
|
|
1621
|
+
onClick: (A) => O(g)
|
|
1615
1622
|
}, [
|
|
1616
|
-
|
|
1617
|
-
class: ie(`i-ic-baseline-${
|
|
1623
|
+
i("i", {
|
|
1624
|
+
class: ie(`i-ic-baseline-${S.icon.replace(/\_/g, "-")}`),
|
|
1618
1625
|
"cursor-pointer": "",
|
|
1619
1626
|
op70: "",
|
|
1620
1627
|
"text-base": "",
|
|
1621
1628
|
"hover:op100": ""
|
|
1622
1629
|
}, null, 2)
|
|
1623
|
-
], 8,
|
|
1630
|
+
], 8, y1)), [
|
|
1624
1631
|
[
|
|
1625
1632
|
r(Q),
|
|
1626
|
-
{ content:
|
|
1633
|
+
{ content: S.tooltip },
|
|
1627
1634
|
void 0,
|
|
1628
1635
|
{ "bottom-end": !0 }
|
|
1629
1636
|
]
|
|
1630
1637
|
])), 128))
|
|
1631
1638
|
])
|
|
1632
|
-
])) :
|
|
1633
|
-
|
|
1639
|
+
])) : U("", !0),
|
|
1640
|
+
s.value && !a.value ? (p(), z(Pe, {
|
|
1634
1641
|
key: 1,
|
|
1635
1642
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
1636
|
-
data:
|
|
1637
|
-
"node-id":
|
|
1638
|
-
"inspector-id":
|
|
1643
|
+
data: v.value,
|
|
1644
|
+
"node-id": s.value,
|
|
1645
|
+
"inspector-id": pe,
|
|
1639
1646
|
"expanded-state-id": "pinia-store-state"
|
|
1640
|
-
}, null, 8, ["data", "node-id"])) : (p(),
|
|
1641
|
-
default:
|
|
1642
|
-
|
|
1647
|
+
}, null, 8, ["data", "node-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
1648
|
+
default: M(() => [
|
|
1649
|
+
ne(" No Data ")
|
|
1643
1650
|
]),
|
|
1644
1651
|
_: 1
|
|
1645
1652
|
}))
|
|
@@ -1653,22 +1660,22 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1653
1660
|
})
|
|
1654
1661
|
]));
|
|
1655
1662
|
}
|
|
1656
|
-
}),
|
|
1663
|
+
}), $1 = { class: "p3" }, w1 = ["onClick"], k1 = {
|
|
1657
1664
|
key: 0,
|
|
1658
1665
|
class: "absolute left-5px top-4.5 h10 w0 border-l-2",
|
|
1659
1666
|
border: "solid gray2"
|
|
1660
|
-
},
|
|
1667
|
+
}, I1 = { class: "h-full flex items-center truncate pl5" }, S1 = {
|
|
1661
1668
|
absolute: "",
|
|
1662
1669
|
"top-5": "",
|
|
1663
1670
|
pr2: "",
|
|
1664
1671
|
"text-3": "",
|
|
1665
1672
|
op40: ""
|
|
1666
|
-
},
|
|
1673
|
+
}, T1 = {
|
|
1667
1674
|
pl2: "",
|
|
1668
1675
|
op30: ""
|
|
1669
|
-
},
|
|
1676
|
+
}, E1 = /* @__PURE__ */ B({
|
|
1670
1677
|
__name: "EventList",
|
|
1671
|
-
props: /* @__PURE__ */
|
|
1678
|
+
props: /* @__PURE__ */ Ze({
|
|
1672
1679
|
data: {}
|
|
1673
1680
|
}, {
|
|
1674
1681
|
modelValue: {},
|
|
@@ -1676,20 +1683,20 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1676
1683
|
}),
|
|
1677
1684
|
emits: ["update:modelValue"],
|
|
1678
1685
|
setup(t) {
|
|
1679
|
-
const e = t, n =
|
|
1680
|
-
let
|
|
1681
|
-
return e.data.forEach((
|
|
1682
|
-
(
|
|
1686
|
+
const e = t, n = lt(t, "modelValue"), o = ["#3e5770", "#42b983", "#0098c4"], l = I(null), s = D(() => {
|
|
1687
|
+
let u = -1, c = 0;
|
|
1688
|
+
return e.data.forEach((d, C) => {
|
|
1689
|
+
(d.groupId !== c || u === -1) && (u = (u + 1) % o.length), c = d.groupId ?? c, d.id = C, d.color = o[u];
|
|
1683
1690
|
}), e.data;
|
|
1684
1691
|
});
|
|
1685
|
-
return X(() =>
|
|
1686
|
-
var
|
|
1687
|
-
(
|
|
1688
|
-
}, { flush: "post" }), (
|
|
1689
|
-
|
|
1692
|
+
return X(() => s.value.length, (u) => {
|
|
1693
|
+
var c;
|
|
1694
|
+
(c = l.value) == null || c.scrollToItem(u - 1);
|
|
1695
|
+
}, { flush: "post" }), (u, c) => (p(), h("div", $1, [
|
|
1696
|
+
x(r($n), {
|
|
1690
1697
|
ref_key: "scrollerRef",
|
|
1691
|
-
ref:
|
|
1692
|
-
items:
|
|
1698
|
+
ref: l,
|
|
1699
|
+
items: s.value,
|
|
1693
1700
|
"min-item-size": 52,
|
|
1694
1701
|
"key-field": "id",
|
|
1695
1702
|
"page-mode": "",
|
|
@@ -1697,42 +1704,42 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1697
1704
|
"list-tag": "ul",
|
|
1698
1705
|
buffer: 20
|
|
1699
1706
|
}, {
|
|
1700
|
-
default:
|
|
1701
|
-
|
|
1707
|
+
default: M(({ item: d }) => [
|
|
1708
|
+
i("div", {
|
|
1702
1709
|
class: "relative mb7 h6 cursor-pointer",
|
|
1703
|
-
style:
|
|
1704
|
-
onClick: (C) => n.value =
|
|
1710
|
+
style: Ie({ color: n.value === d.id ? d.color : "" }),
|
|
1711
|
+
onClick: (C) => n.value = d.id
|
|
1705
1712
|
}, [
|
|
1706
|
-
|
|
1713
|
+
i("span", {
|
|
1707
1714
|
class: "absolute top-1.5 inline-block h3 w3 b rounded-50%",
|
|
1708
|
-
style:
|
|
1715
|
+
style: Ie({ border: `3px solid ${d.color}` })
|
|
1709
1716
|
}, null, 4),
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1717
|
+
d.id < u.data.length - 1 ? (p(), h("span", k1)) : U("", !0),
|
|
1718
|
+
i("p", I1, [
|
|
1719
|
+
i("span", S1, "[" + oe(r(Qo)(d.time)) + "]", 1),
|
|
1720
|
+
ne(" " + oe(d.title) + " ", 1),
|
|
1721
|
+
i("span", T1, oe(d.subtitle), 1)
|
|
1715
1722
|
])
|
|
1716
|
-
], 12,
|
|
1723
|
+
], 12, w1)
|
|
1717
1724
|
]),
|
|
1718
1725
|
_: 1
|
|
1719
1726
|
}, 8, ["items"])
|
|
1720
1727
|
]));
|
|
1721
1728
|
}
|
|
1722
|
-
}),
|
|
1729
|
+
}), V1 = { class: "h-full flex flex-col" }, N1 = {
|
|
1723
1730
|
key: 0,
|
|
1724
1731
|
class: "flex-1 overflow-hidden"
|
|
1725
|
-
},
|
|
1732
|
+
}, R1 = {
|
|
1726
1733
|
"h-full": "",
|
|
1727
1734
|
"select-none": "",
|
|
1728
1735
|
"overflow-scroll": "",
|
|
1729
1736
|
class: "no-scrollbar"
|
|
1730
|
-
},
|
|
1737
|
+
}, A1 = {
|
|
1731
1738
|
"h-full": "",
|
|
1732
1739
|
"select-none": "",
|
|
1733
1740
|
"overflow-scroll": "",
|
|
1734
1741
|
class: "no-scrollbar"
|
|
1735
|
-
},
|
|
1742
|
+
}, vt = /* @__PURE__ */ B({
|
|
1736
1743
|
__name: "index",
|
|
1737
1744
|
props: {
|
|
1738
1745
|
layerIds: {},
|
|
@@ -1742,82 +1749,82 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1742
1749
|
setup(t) {
|
|
1743
1750
|
const e = t, { expanded: n } = ve("timeline-state");
|
|
1744
1751
|
n.value = ["0", "1"];
|
|
1745
|
-
const o = I([]),
|
|
1752
|
+
const o = I([]), l = I(/* @__PURE__ */ new Map()), s = I(0), u = D(() => o.value[s.value] ?? null), c = D(() => {
|
|
1746
1753
|
var m;
|
|
1747
|
-
const
|
|
1748
|
-
for (const
|
|
1749
|
-
|
|
1750
|
-
key:
|
|
1751
|
-
type:
|
|
1754
|
+
const f = [];
|
|
1755
|
+
for (const y in (m = u.value) == null ? void 0 : m.data)
|
|
1756
|
+
f.push({
|
|
1757
|
+
key: y,
|
|
1758
|
+
type: y,
|
|
1752
1759
|
editable: !1,
|
|
1753
|
-
value:
|
|
1760
|
+
value: u.value.data[y]
|
|
1754
1761
|
});
|
|
1755
|
-
return
|
|
1756
|
-
}),
|
|
1757
|
-
var
|
|
1758
|
-
const
|
|
1762
|
+
return f;
|
|
1763
|
+
}), d = D(() => {
|
|
1764
|
+
var y, _, k;
|
|
1765
|
+
const f = (y = u.value) == null ? void 0 : y.groupId, m = l.value.get(f);
|
|
1759
1766
|
if (m) {
|
|
1760
|
-
const
|
|
1767
|
+
const O = ((_ = m[m.length - 1]) == null ? void 0 : _.time) - (((k = m[0]) == null ? void 0 : k.time) ?? 0);
|
|
1761
1768
|
return [{
|
|
1762
1769
|
key: "events",
|
|
1763
1770
|
type: "events",
|
|
1764
1771
|
editable: !1,
|
|
1765
1772
|
value: m.length
|
|
1766
|
-
},
|
|
1773
|
+
}, O && {
|
|
1767
1774
|
key: "duration",
|
|
1768
1775
|
type: "duration",
|
|
1769
1776
|
editable: !1,
|
|
1770
|
-
value: `${
|
|
1777
|
+
value: `${O}ms`
|
|
1771
1778
|
}].filter(Boolean);
|
|
1772
1779
|
}
|
|
1773
|
-
}), C = D(() => ({ "Event Info":
|
|
1774
|
-
function f
|
|
1775
|
-
var
|
|
1776
|
-
const m =
|
|
1777
|
-
m !== void 0 && (
|
|
1778
|
-
}
|
|
1779
|
-
function
|
|
1780
|
-
const m = Y(
|
|
1780
|
+
}), C = D(() => ({ "Event Info": c.value, ...d.value && { "Group Info": d.value } }));
|
|
1781
|
+
function v(f) {
|
|
1782
|
+
var y;
|
|
1783
|
+
const m = f.groupId;
|
|
1784
|
+
m !== void 0 && (l.value.set(m, l.value.get(m) ?? []), (y = l.value.get(m)) == null || y.push(f));
|
|
1785
|
+
}
|
|
1786
|
+
function a(f) {
|
|
1787
|
+
const m = Y(f);
|
|
1781
1788
|
if (!m)
|
|
1782
1789
|
return;
|
|
1783
|
-
const { layerId:
|
|
1784
|
-
e.layerIds.includes(
|
|
1785
|
-
}
|
|
1786
|
-
return R.functions.on(W.TIMELINE_EVENT_UPDATED,
|
|
1787
|
-
R.functions.off(W.TIMELINE_EVENT_UPDATED,
|
|
1788
|
-
}), (
|
|
1789
|
-
|
|
1790
|
-
"doc-link":
|
|
1791
|
-
"github-repo-link":
|
|
1790
|
+
const { layerId: y, event: _ } = m;
|
|
1791
|
+
e.layerIds.includes(y) && (o.value.push(_), v(_));
|
|
1792
|
+
}
|
|
1793
|
+
return R.functions.on(W.TIMELINE_EVENT_UPDATED, a), xe(() => {
|
|
1794
|
+
R.functions.off(W.TIMELINE_EVENT_UPDATED, a);
|
|
1795
|
+
}), (f, m) => (p(), h("div", V1, [
|
|
1796
|
+
x(Te, {
|
|
1797
|
+
"doc-link": f.docLink,
|
|
1798
|
+
"github-repo-link": f.githubRepoLink
|
|
1792
1799
|
}, {
|
|
1793
|
-
default:
|
|
1794
|
-
|
|
1800
|
+
default: M(() => [
|
|
1801
|
+
x(Se)
|
|
1795
1802
|
]),
|
|
1796
1803
|
_: 1
|
|
1797
1804
|
}, 8, ["doc-link", "github-repo-link"]),
|
|
1798
|
-
o.value.length ? (p(),
|
|
1799
|
-
|
|
1800
|
-
default:
|
|
1801
|
-
|
|
1805
|
+
o.value.length ? (p(), h("div", N1, [
|
|
1806
|
+
x(r(Ae), { class: "h-full" }, {
|
|
1807
|
+
default: M(() => [
|
|
1808
|
+
x(r(ue), {
|
|
1802
1809
|
border: "r base",
|
|
1803
1810
|
size: "40",
|
|
1804
1811
|
"h-full": ""
|
|
1805
1812
|
}, {
|
|
1806
|
-
default:
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
modelValue:
|
|
1810
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
1813
|
+
default: M(() => [
|
|
1814
|
+
i("div", R1, [
|
|
1815
|
+
x(E1, {
|
|
1816
|
+
modelValue: s.value,
|
|
1817
|
+
"onUpdate:modelValue": m[0] || (m[0] = (y) => s.value = y),
|
|
1811
1818
|
data: o.value
|
|
1812
1819
|
}, null, 8, ["modelValue", "data"])
|
|
1813
1820
|
])
|
|
1814
1821
|
]),
|
|
1815
1822
|
_: 1
|
|
1816
1823
|
}),
|
|
1817
|
-
|
|
1818
|
-
default:
|
|
1819
|
-
|
|
1820
|
-
|
|
1824
|
+
x(r(ue), { size: "60" }, {
|
|
1825
|
+
default: M(() => [
|
|
1826
|
+
i("div", A1, [
|
|
1827
|
+
x(Pe, {
|
|
1821
1828
|
class: "p3",
|
|
1822
1829
|
data: C.value,
|
|
1823
1830
|
"node-id": "",
|
|
@@ -1832,60 +1839,179 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1832
1839
|
]),
|
|
1833
1840
|
_: 1
|
|
1834
1841
|
})
|
|
1835
|
-
])) : (p(),
|
|
1842
|
+
])) : (p(), z(Ne, {
|
|
1836
1843
|
key: 1,
|
|
1837
1844
|
class: "flex-1"
|
|
1838
1845
|
}, {
|
|
1839
|
-
default:
|
|
1840
|
-
|
|
1846
|
+
default: M(() => [
|
|
1847
|
+
ne(" No events ")
|
|
1841
1848
|
]),
|
|
1842
1849
|
_: 1
|
|
1843
1850
|
}))
|
|
1844
1851
|
]));
|
|
1845
1852
|
}
|
|
1846
|
-
}),
|
|
1853
|
+
}), D1 = /* @__PURE__ */ B({
|
|
1847
1854
|
__name: "Index",
|
|
1848
1855
|
setup(t) {
|
|
1849
1856
|
const e = ["pinia:mutations"];
|
|
1850
|
-
return (n, o) => (p(),
|
|
1857
|
+
return (n, o) => (p(), z(vt, {
|
|
1851
1858
|
"layer-ids": e,
|
|
1852
1859
|
"doc-link": "https://pinia.vuejs.org/",
|
|
1853
1860
|
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
1854
1861
|
}));
|
|
1855
1862
|
}
|
|
1856
|
-
}),
|
|
1863
|
+
}), Gt = Symbol.for("VueDevToolsCustomInspectorStateSymbol");
|
|
1864
|
+
function be() {
|
|
1865
|
+
return Ce(Gt);
|
|
1866
|
+
}
|
|
1867
|
+
function Kt() {
|
|
1868
|
+
const t = I({
|
|
1869
|
+
homepage: "",
|
|
1870
|
+
id: "",
|
|
1871
|
+
label: "",
|
|
1872
|
+
logo: "",
|
|
1873
|
+
timelineLayerIds: []
|
|
1874
|
+
});
|
|
1875
|
+
return ke(Gt, t), t;
|
|
1876
|
+
}
|
|
1877
|
+
const P1 = { class: "flex-1 overflow-y-auto p2" }, M1 = { class: "max-w-[190px] flex-1 select-none py-1.5 text-sm" }, H1 = { class: "w-4/5" }, L1 = {
|
|
1878
|
+
key: 0,
|
|
1879
|
+
class: "flex justify-start"
|
|
1880
|
+
}, j1 = {
|
|
1881
|
+
flex: "~ gap-2",
|
|
1882
|
+
"flex-auto": "",
|
|
1883
|
+
"items-center": "",
|
|
1884
|
+
"justify-start": ""
|
|
1885
|
+
}, O1 = {
|
|
1886
|
+
capitalize: "",
|
|
1887
|
+
op75: ""
|
|
1888
|
+
}, U1 = { key: 1 }, Wt = /* @__PURE__ */ B({
|
|
1889
|
+
__name: "Settings",
|
|
1890
|
+
props: {
|
|
1891
|
+
pluginId: {},
|
|
1892
|
+
options: {},
|
|
1893
|
+
values: {}
|
|
1894
|
+
},
|
|
1895
|
+
emits: ["update"],
|
|
1896
|
+
setup(t, { emit: e }) {
|
|
1897
|
+
const n = t, o = e;
|
|
1898
|
+
be();
|
|
1899
|
+
const l = computed(() => n.options), s = computed(() => n.values);
|
|
1900
|
+
function u(c, d) {
|
|
1901
|
+
R.value.updatePluginSettings(n.pluginId, c, d), R.value.getPluginSettings(n.pluginId).then((C) => {
|
|
1902
|
+
o("update", C);
|
|
1903
|
+
});
|
|
1904
|
+
}
|
|
1905
|
+
return (c, d) => {
|
|
1906
|
+
const C = ln("VueInput");
|
|
1907
|
+
return p(), h("div", P1, [
|
|
1908
|
+
i("ul", null, [
|
|
1909
|
+
(p(!0), h(te, null, ae(r(l), (v, a) => (p(), h("li", {
|
|
1910
|
+
key: a,
|
|
1911
|
+
class: "flex items-center py-2"
|
|
1912
|
+
}, [
|
|
1913
|
+
i("div", M1, oe(v.label), 1),
|
|
1914
|
+
i("div", H1, [
|
|
1915
|
+
v.type === "boolean" ? (p(), h("div", L1, [
|
|
1916
|
+
x(r(_n), {
|
|
1917
|
+
"model-value": r(s)[a],
|
|
1918
|
+
class: "row-reverse flex hover:bg-active py1 pl2 pr1",
|
|
1919
|
+
"onUpdate:modelValue": (f) => u(a, f)
|
|
1920
|
+
}, {
|
|
1921
|
+
default: M(() => [
|
|
1922
|
+
i("div", j1, [
|
|
1923
|
+
i("span", O1, oe(c.name), 1)
|
|
1924
|
+
])
|
|
1925
|
+
]),
|
|
1926
|
+
_: 2
|
|
1927
|
+
}, 1032, ["model-value", "onUpdate:modelValue"])
|
|
1928
|
+
])) : v.type === "choice" ? (p(), h("div", U1, [
|
|
1929
|
+
x(r(gn), {
|
|
1930
|
+
"model-value": r(s)[a],
|
|
1931
|
+
options: v.options,
|
|
1932
|
+
"onUpdate:modelValue": (f) => u(a, f)
|
|
1933
|
+
}, null, 8, ["model-value", "options", "onUpdate:modelValue"])
|
|
1934
|
+
])) : v.type === "text" ? (p(), z(C, {
|
|
1935
|
+
key: 2,
|
|
1936
|
+
"model-value": r(s)[a],
|
|
1937
|
+
"onUpdate:modelValue": (f) => u(a, f)
|
|
1938
|
+
}, null, 8, ["model-value", "onUpdate:modelValue"])) : U("", !0)
|
|
1939
|
+
])
|
|
1940
|
+
]))), 128))
|
|
1941
|
+
])
|
|
1942
|
+
]);
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
}), z1 = { class: "h-full flex flex-col" }, B1 = "pinia", Z1 = /* @__PURE__ */ B({
|
|
1946
|
+
__name: "Settings",
|
|
1947
|
+
setup(t) {
|
|
1948
|
+
const e = inject("pluginSettings"), n = computed(() => e.value.options), o = computed(() => e.value.values);
|
|
1949
|
+
function l(s) {
|
|
1950
|
+
e.value = s;
|
|
1951
|
+
}
|
|
1952
|
+
return (s, u) => (p(), h("div", z1, [
|
|
1953
|
+
x(Te, {
|
|
1954
|
+
"doc-link": "https://pinia.vuejs.org/",
|
|
1955
|
+
"github-repo-link": "https://github.com/vuejs/pinia"
|
|
1956
|
+
}, {
|
|
1957
|
+
default: M(() => [
|
|
1958
|
+
x(Se)
|
|
1959
|
+
]),
|
|
1960
|
+
_: 1
|
|
1961
|
+
}),
|
|
1962
|
+
x(Wt, {
|
|
1963
|
+
"plugin-id": B1,
|
|
1964
|
+
options: r(n),
|
|
1965
|
+
values: r(o),
|
|
1966
|
+
onUpdate: l
|
|
1967
|
+
}, null, 8, ["options", "values"])
|
|
1968
|
+
]));
|
|
1969
|
+
}
|
|
1970
|
+
}), F1 = {
|
|
1857
1971
|
"h-full": "",
|
|
1858
1972
|
"w-full": ""
|
|
1859
|
-
},
|
|
1973
|
+
}, sa = /* @__PURE__ */ B({
|
|
1860
1974
|
__name: "index",
|
|
1861
1975
|
setup(t) {
|
|
1862
|
-
const
|
|
1976
|
+
const e = ref(null);
|
|
1977
|
+
provide("pluginSettings", e);
|
|
1978
|
+
const n = computed(() => [
|
|
1863
1979
|
{
|
|
1864
1980
|
path: "/store",
|
|
1865
1981
|
name: "Store",
|
|
1866
|
-
component:
|
|
1982
|
+
component: b1,
|
|
1867
1983
|
icon: "i-carbon-tree-view-alt"
|
|
1868
1984
|
},
|
|
1869
1985
|
{
|
|
1870
1986
|
path: "/timeline",
|
|
1871
1987
|
name: "Timeline",
|
|
1872
|
-
component:
|
|
1988
|
+
component: D1,
|
|
1873
1989
|
icon: "i-mdi:timeline-clock-outline"
|
|
1874
1990
|
},
|
|
1875
1991
|
{
|
|
1876
1992
|
path: "/",
|
|
1877
1993
|
name: "About",
|
|
1878
|
-
component:
|
|
1994
|
+
component: qn,
|
|
1879
1995
|
icon: "i-logos-pinia"
|
|
1996
|
+
},
|
|
1997
|
+
e.value && {
|
|
1998
|
+
path: "/settings",
|
|
1999
|
+
name: "Settings",
|
|
2000
|
+
component: Z1,
|
|
2001
|
+
icon: "i-mdi:cog-outline"
|
|
1880
2002
|
}
|
|
1881
|
-
], {
|
|
2003
|
+
].filter(Boolean)), { VirtualRouterView: o, restoreRouter: l } = it(n, {
|
|
1882
2004
|
defaultRoutePath: "/store"
|
|
1883
2005
|
});
|
|
1884
|
-
return (
|
|
1885
|
-
|
|
2006
|
+
return Re(() => {
|
|
2007
|
+
R.value.getPluginSettings("pinia").then((s) => {
|
|
2008
|
+
s.options ? e.value = s : e.value = null;
|
|
2009
|
+
});
|
|
2010
|
+
}), (s, u) => (p(), h("div", F1, [
|
|
2011
|
+
x(r(o))
|
|
1886
2012
|
]));
|
|
1887
2013
|
}
|
|
1888
|
-
}),
|
|
2014
|
+
}), G1 = { 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]" }, K1 = /* @__PURE__ */ i("span", { class: "font-500" }, "Render Code", -1), W1 = { class: "flex-1 overflow-scroll text-3.5" }, q1 = /* @__PURE__ */ B({
|
|
1889
2015
|
__name: "RenderCode",
|
|
1890
2016
|
props: {
|
|
1891
2017
|
code: {}
|
|
@@ -1896,243 +2022,304 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
1896
2022
|
function o() {
|
|
1897
2023
|
n("close");
|
|
1898
2024
|
}
|
|
1899
|
-
return (
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
2025
|
+
return (l, s) => (p(), h("div", G1, [
|
|
2026
|
+
i("div", { class: "h-12 w-full flex items-center justify-between p-2" }, [
|
|
2027
|
+
K1,
|
|
2028
|
+
i("i", {
|
|
1903
2029
|
class: "i-carbon-close cursor-pointer hover:op80",
|
|
1904
2030
|
onClick: o
|
|
1905
2031
|
})
|
|
1906
2032
|
]),
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
code:
|
|
2033
|
+
i("div", W1, [
|
|
2034
|
+
x(r(Cn), {
|
|
2035
|
+
code: l.code,
|
|
1910
2036
|
lang: "javascript"
|
|
1911
2037
|
}, null, 8, ["code"])
|
|
1912
2038
|
])
|
|
1913
2039
|
]));
|
|
1914
2040
|
}
|
|
1915
|
-
}),
|
|
2041
|
+
}), J1 = { class: "p2" }, Y1 = ["onClick"], X1 = /* @__PURE__ */ B({
|
|
2042
|
+
__name: "SelectiveList",
|
|
2043
|
+
props: /* @__PURE__ */ Ze({
|
|
2044
|
+
data: {}
|
|
2045
|
+
}, {
|
|
2046
|
+
modelValue: {},
|
|
2047
|
+
modelModifiers: {}
|
|
2048
|
+
}),
|
|
2049
|
+
emits: /* @__PURE__ */ Ze(["select"], ["update:modelValue"]),
|
|
2050
|
+
setup(t, { emit: e }) {
|
|
2051
|
+
const n = e, o = lt(t, "modelValue");
|
|
2052
|
+
function l(s) {
|
|
2053
|
+
o.value = s, n("select", s);
|
|
2054
|
+
}
|
|
2055
|
+
return (s, u) => (p(), h("ul", J1, [
|
|
2056
|
+
(p(!0), h(te, null, ae(s.data, (c) => (p(), h("li", {
|
|
2057
|
+
key: c.id,
|
|
2058
|
+
class: ie(["selectable-item", { active: c.id === o.value }]),
|
|
2059
|
+
onClick: (d) => l(c.id)
|
|
2060
|
+
}, [
|
|
2061
|
+
ne(oe(c.label) + " ", 1),
|
|
2062
|
+
(p(!0), h(te, null, ae(c.tags, (d, C) => (p(), z(Zt, {
|
|
2063
|
+
key: C,
|
|
2064
|
+
tag: d
|
|
2065
|
+
}, null, 8, ["tag"]))), 128))
|
|
2066
|
+
], 10, Y1))), 128))
|
|
2067
|
+
]));
|
|
2068
|
+
}
|
|
2069
|
+
}), He = (t) => (ot("data-v-092d4be1"), t = t(), st(), t), Q1 = { class: "h-full w-full" }, es = { class: "no-scrollbar h-full flex select-none gap-2 overflow-scroll" }, ts = {
|
|
1916
2070
|
key: 0,
|
|
1917
2071
|
class: "h-full flex flex-col p2"
|
|
1918
|
-
},
|
|
2072
|
+
}, ns = { class: "flex py2" }, os = {
|
|
1919
2073
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1920
2074
|
style: { height: "1.1em", width: "1.1em" },
|
|
1921
2075
|
class: "op-80 hover:op-100",
|
|
1922
2076
|
viewBox: "0 0 24 24"
|
|
1923
|
-
},
|
|
2077
|
+
}, ss = /* @__PURE__ */ He(() => /* @__PURE__ */ i("path", {
|
|
1924
2078
|
fill: "currentColor",
|
|
1925
2079
|
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"
|
|
1926
|
-
}, null, -1)),
|
|
1927
|
-
|
|
1928
|
-
],
|
|
2080
|
+
}, null, -1)), ls = [
|
|
2081
|
+
ss
|
|
2082
|
+
], as = { class: "h-full flex flex-col p2" }, is = { class: "flex py2" }, rs = {
|
|
1929
2083
|
key: 0,
|
|
1930
2084
|
class: "font-state-field flex items-center px-1 text-3.5"
|
|
1931
|
-
},
|
|
2085
|
+
}, us = /* @__PURE__ */ He(() => /* @__PURE__ */ i("span", { class: "text-gray-400 dark:text-gray-600" }, "<", -1)), cs = {
|
|
1932
2086
|
"group-hover:text-white": "",
|
|
1933
2087
|
class: "max-w-40 of-hidden text-ellipsis ws-nowrap [.active_&]:text-white"
|
|
1934
|
-
},
|
|
2088
|
+
}, ds = /* @__PURE__ */ He(() => /* @__PURE__ */ i("span", { class: "text-gray-400 dark:text-gray-600" }, ">", -1)), ps = { class: "flex items-center gap-2 px-1" }, fs = { class: "h-full flex flex-col items-center justify-center gap-2" }, vs = { class: "block" }, hs = {
|
|
1935
2089
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1936
2090
|
style: { height: "2em", width: "2em", opacity: "0.5", color: "#00dc82" },
|
|
1937
2091
|
class: "animate-fade",
|
|
1938
2092
|
viewBox: "0 0 24 24"
|
|
1939
|
-
},
|
|
2093
|
+
}, ms = /* @__PURE__ */ He(() => /* @__PURE__ */ i("g", {
|
|
1940
2094
|
fill: "none",
|
|
1941
2095
|
stroke: "currentColor",
|
|
1942
2096
|
"stroke-linecap": "round",
|
|
1943
2097
|
"stroke-linejoin": "round",
|
|
1944
2098
|
"stroke-width": "2"
|
|
1945
2099
|
}, [
|
|
1946
|
-
/* @__PURE__ */
|
|
2100
|
+
/* @__PURE__ */ i("circle", {
|
|
1947
2101
|
cx: "12",
|
|
1948
2102
|
cy: "12",
|
|
1949
2103
|
r: ".5",
|
|
1950
2104
|
fill: "currentColor"
|
|
1951
2105
|
}),
|
|
1952
|
-
/* @__PURE__ */
|
|
1953
|
-
], -1)),
|
|
1954
|
-
|
|
1955
|
-
],
|
|
2106
|
+
/* @__PURE__ */ i("path", { d: "M5 12a7 7 0 1 0 14 0a7 7 0 1 0-14 0m7-9v2m-9 7h2m7 7v2m7-9h2" })
|
|
2107
|
+
], -1)), _s = [
|
|
2108
|
+
ms
|
|
2109
|
+
], gs = /* @__PURE__ */ He(() => /* @__PURE__ */ i("p", null, " Click on a component on the page to select it ", -1)), Cs = { class: "flex items-center justify-center" }, Ve = "components", xs = /* @__PURE__ */ B({
|
|
1956
2110
|
__name: "index",
|
|
1957
2111
|
emits: ["openInEditor", "onInspectComponentStart", "onInspectComponentEnd"],
|
|
1958
2112
|
setup(t, { emit: e }) {
|
|
1959
|
-
const n = e, o = I(),
|
|
1960
|
-
function
|
|
1961
|
-
var
|
|
1962
|
-
return
|
|
1963
|
-
|
|
1964
|
-
}),
|
|
1965
|
-
}
|
|
1966
|
-
function
|
|
1967
|
-
const
|
|
1968
|
-
|
|
1969
|
-
var
|
|
1970
|
-
|
|
2113
|
+
const n = e, o = I(), l = I(!1), { width: s } = So(o), u = D(() => l.value ? s.value < 700 : !1), c = I(""), d = I(""), [C, v] = yo(!0), a = I(!1), f = I(!1), m = I(""), y = I(!1);
|
|
2114
|
+
function _(w, E = [], L = []) {
|
|
2115
|
+
var G;
|
|
2116
|
+
return E.push(w.id), ((G = w.children) == null ? void 0 : G.length) === 0 && L.push([...E]), Array.isArray(w.children) && w.children.forEach((q) => {
|
|
2117
|
+
_(q, E, L);
|
|
2118
|
+
}), E.pop(), L;
|
|
2119
|
+
}
|
|
2120
|
+
function k(w) {
|
|
2121
|
+
const E = [], L = (G) => {
|
|
2122
|
+
G == null || G.forEach((q) => {
|
|
2123
|
+
var $e;
|
|
2124
|
+
E.push(q), ($e = q.children) != null && $e.length && L(q.children);
|
|
1971
2125
|
});
|
|
1972
2126
|
};
|
|
1973
|
-
return
|
|
1974
|
-
}
|
|
1975
|
-
function
|
|
1976
|
-
const
|
|
1977
|
-
return
|
|
1978
|
-
|
|
1979
|
-
}), [...new Set(
|
|
1980
|
-
}
|
|
1981
|
-
function
|
|
1982
|
-
const
|
|
1983
|
-
return
|
|
1984
|
-
const
|
|
1985
|
-
|
|
1986
|
-
}), [...new Set(
|
|
1987
|
-
}
|
|
1988
|
-
const
|
|
1989
|
-
var
|
|
1990
|
-
return (
|
|
1991
|
-
}),
|
|
1992
|
-
const
|
|
1993
|
-
|
|
1994
|
-
var
|
|
1995
|
-
|
|
2127
|
+
return L(w), E;
|
|
2128
|
+
}
|
|
2129
|
+
function O(w, E) {
|
|
2130
|
+
const L = [];
|
|
2131
|
+
return w == null || w.forEach((G) => {
|
|
2132
|
+
L.push(...G.slice(0, E + 1));
|
|
2133
|
+
}), [...new Set(L)];
|
|
2134
|
+
}
|
|
2135
|
+
function j(w, E) {
|
|
2136
|
+
const L = [];
|
|
2137
|
+
return w.forEach((G) => {
|
|
2138
|
+
const q = G.indexOf(E);
|
|
2139
|
+
q !== -1 && L.push(...G.slice(0, q + 1));
|
|
2140
|
+
}), [...new Set(L)];
|
|
2141
|
+
}
|
|
2142
|
+
const V = I([]), $ = D(() => {
|
|
2143
|
+
var w, E;
|
|
2144
|
+
return (w = V.value) != null && w.length ? _((E = V.value) == null ? void 0 : E[0]) : [];
|
|
2145
|
+
}), N = D(() => k(V.value)), H = D(() => N.value.map((w) => w.id)), K = I({}), Z = I(""), T = D(() => {
|
|
2146
|
+
const w = [], E = (L) => {
|
|
2147
|
+
L.forEach((G) => {
|
|
2148
|
+
var q;
|
|
2149
|
+
G.id === Z.value && w.push(G), (q = G.children) != null && q.length && E(G.children);
|
|
1996
2150
|
});
|
|
1997
2151
|
};
|
|
1998
|
-
return
|
|
2152
|
+
return E(V.value), w[0];
|
|
1999
2153
|
}), P = D(() => {
|
|
2000
|
-
var
|
|
2001
|
-
return ((
|
|
2154
|
+
var w;
|
|
2155
|
+
return ((w = T.value) == null ? void 0 : w.file) ?? "";
|
|
2002
2156
|
}), b = D(() => {
|
|
2003
|
-
const
|
|
2004
|
-
for (const
|
|
2005
|
-
const
|
|
2157
|
+
const w = {};
|
|
2158
|
+
for (const E in K.value) {
|
|
2159
|
+
const G = K.value[E].filter(($e) => {
|
|
2006
2160
|
try {
|
|
2007
|
-
return
|
|
2008
|
-
[
|
|
2009
|
-
},
|
|
2010
|
-
} catch (
|
|
2161
|
+
return e1({
|
|
2162
|
+
[$e.key]: $e.value
|
|
2163
|
+
}, d.value);
|
|
2164
|
+
} catch (Qt) {
|
|
2011
2165
|
return {
|
|
2012
|
-
[
|
|
2166
|
+
[$e.key]: Qt
|
|
2013
2167
|
};
|
|
2014
2168
|
}
|
|
2015
|
-
}),
|
|
2016
|
-
|
|
2169
|
+
}), q = wn(Object.values(kn(At(G), "stateType")));
|
|
2170
|
+
G.length && (w[E] = q);
|
|
2017
2171
|
}
|
|
2018
|
-
return
|
|
2019
|
-
}), { expanded:
|
|
2020
|
-
|
|
2021
|
-
async function A(
|
|
2022
|
-
return R.value.getInspectorTree({ inspectorId:
|
|
2023
|
-
var
|
|
2024
|
-
const
|
|
2025
|
-
|
|
2172
|
+
return w;
|
|
2173
|
+
}), { expanded: S } = ve(), { expanded: g } = ve("component-state");
|
|
2174
|
+
o1();
|
|
2175
|
+
async function A(w = "") {
|
|
2176
|
+
return R.value.getInspectorTree({ inspectorId: Ve, filter: w }).then((E) => {
|
|
2177
|
+
var G, q;
|
|
2178
|
+
const L = Y(E);
|
|
2179
|
+
V.value = L, Z.value = (q = (G = V.value) == null ? void 0 : G[0]) == null ? void 0 : q.id, S.value = O($.value, 1), a.value = !0;
|
|
2026
2180
|
});
|
|
2027
2181
|
}
|
|
2028
|
-
function
|
|
2029
|
-
if (!
|
|
2182
|
+
function F(w) {
|
|
2183
|
+
if (!w || !(w != null && w.state))
|
|
2030
2184
|
return {};
|
|
2031
|
-
const
|
|
2032
|
-
return
|
|
2033
|
-
|
|
2034
|
-
}),
|
|
2035
|
-
}
|
|
2036
|
-
function
|
|
2037
|
-
R.value.getInspectorState({ inspectorId:
|
|
2038
|
-
const
|
|
2039
|
-
|
|
2185
|
+
const E = {};
|
|
2186
|
+
return w.state.forEach((L) => {
|
|
2187
|
+
E[L.type] || (E[L.type] = []), E[L.type].push(L);
|
|
2188
|
+
}), E;
|
|
2189
|
+
}
|
|
2190
|
+
function le(w) {
|
|
2191
|
+
R.value.getInspectorState({ inspectorId: Ve, nodeId: w }).then((E) => {
|
|
2192
|
+
const L = Y(E);
|
|
2193
|
+
L && (K.value = F(L), g.value = Array.from({ length: Object.keys(K.value).length }, (G, q) => `${q}`));
|
|
2040
2194
|
});
|
|
2041
2195
|
}
|
|
2042
|
-
X(
|
|
2043
|
-
|
|
2196
|
+
X(Z, (w) => {
|
|
2197
|
+
le(w), y.value && Ue();
|
|
2044
2198
|
});
|
|
2045
|
-
function
|
|
2046
|
-
const
|
|
2047
|
-
|
|
2048
|
-
}
|
|
2049
|
-
R.functions.on(W.INSPECTOR_STATE_UPDATED,
|
|
2050
|
-
function
|
|
2051
|
-
const
|
|
2052
|
-
|
|
2053
|
-
|
|
2199
|
+
function re(w) {
|
|
2200
|
+
const E = Y(w);
|
|
2201
|
+
E.inspectorId !== Ve || E.nodeId !== Z.value || (K.value = F({ state: E.state.state }));
|
|
2202
|
+
}
|
|
2203
|
+
R.functions.on(W.INSPECTOR_STATE_UPDATED, re), A();
|
|
2204
|
+
function ce(w) {
|
|
2205
|
+
const E = w.trim().toLowerCase();
|
|
2206
|
+
v(), A(E).then(() => {
|
|
2207
|
+
v();
|
|
2054
2208
|
});
|
|
2055
2209
|
}
|
|
2056
|
-
|
|
2057
|
-
|
|
2210
|
+
bo(c, (w) => {
|
|
2211
|
+
ce(w);
|
|
2058
2212
|
}, { debounce: 300 });
|
|
2059
|
-
function me(
|
|
2060
|
-
var
|
|
2061
|
-
const
|
|
2062
|
-
|
|
2213
|
+
function me(w) {
|
|
2214
|
+
var L, G;
|
|
2215
|
+
const E = Y(w);
|
|
2216
|
+
E.inspectorId === Ve && (c.value ? ce(c.value) : V.value = E.rootNodes, H.value.includes(Z.value) || (Z.value = (G = (L = V.value) == null ? void 0 : L[0]) == null ? void 0 : G.id, S.value = O($.value, 1)));
|
|
2063
2217
|
}
|
|
2064
2218
|
R.functions.on(W.INSPECTOR_TREE_UPDATED, me), xe(() => {
|
|
2065
|
-
R.functions.off(W.INSPECTOR_STATE_UPDATED,
|
|
2219
|
+
R.functions.off(W.INSPECTOR_STATE_UPDATED, re), R.functions.off(W.INSPECTOR_TREE_UPDATED, me);
|
|
2066
2220
|
});
|
|
2067
2221
|
function _e() {
|
|
2068
|
-
|
|
2069
|
-
const
|
|
2070
|
-
|
|
2222
|
+
f.value = !0, n("onInspectComponentStart"), R.value.inspectComponentInspector().then((w) => {
|
|
2223
|
+
const E = JSON.parse(w);
|
|
2224
|
+
Z.value = E.id, S.value.includes(E.id) || S.value.push(E.id), S.value = [.../* @__PURE__ */ new Set([...S.value, ...j($.value, E.id)])], qt();
|
|
2071
2225
|
}).finally(() => {
|
|
2072
|
-
|
|
2226
|
+
f.value = !1, n("onInspectComponentEnd");
|
|
2073
2227
|
});
|
|
2074
2228
|
}
|
|
2075
|
-
function
|
|
2076
|
-
|
|
2229
|
+
function Le() {
|
|
2230
|
+
f.value = !1, R.value.cancelInspectComponentInspector();
|
|
2077
2231
|
}
|
|
2078
|
-
function
|
|
2079
|
-
R.value.scrollToComponent(
|
|
2232
|
+
function je() {
|
|
2233
|
+
R.value.scrollToComponent(Z.value);
|
|
2080
2234
|
}
|
|
2081
|
-
function
|
|
2082
|
-
R.value.inspectDOM(
|
|
2235
|
+
function Oe() {
|
|
2236
|
+
R.value.inspectDOM(Z.value).then(() => {
|
|
2083
2237
|
chrome.devtools.inspectedWindow.eval("inspect(window.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__)");
|
|
2084
2238
|
});
|
|
2085
2239
|
}
|
|
2086
|
-
function
|
|
2087
|
-
R.value.getComponentRenderCode(
|
|
2088
|
-
m.value =
|
|
2240
|
+
function Ue() {
|
|
2241
|
+
R.value.getComponentRenderCode(Z.value).then((w) => {
|
|
2242
|
+
m.value = w, y.value = !0;
|
|
2089
2243
|
});
|
|
2090
2244
|
}
|
|
2091
|
-
function
|
|
2245
|
+
function We() {
|
|
2092
2246
|
n("openInEditor", P.value);
|
|
2093
2247
|
}
|
|
2094
|
-
const
|
|
2095
|
-
function
|
|
2248
|
+
const Ee = I();
|
|
2249
|
+
function qt() {
|
|
2096
2250
|
setTimeout(() => {
|
|
2097
|
-
var
|
|
2098
|
-
const
|
|
2099
|
-
|
|
2251
|
+
var E;
|
|
2252
|
+
const w = (E = Ee.value) == null ? void 0 : E.querySelector(".active");
|
|
2253
|
+
w == null || w.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
2100
2254
|
}, 300);
|
|
2101
2255
|
}
|
|
2102
|
-
function
|
|
2103
|
-
m.value = "",
|
|
2256
|
+
function Jt() {
|
|
2257
|
+
m.value = "", y.value = !1;
|
|
2258
|
+
}
|
|
2259
|
+
const qe = rn(), ht = D(() => qe.appRecords.value.map((w) => ({
|
|
2260
|
+
label: w.name + (w.version ? ` (${w.version})` : ""),
|
|
2261
|
+
value: w.id
|
|
2262
|
+
}))), Yt = D(() => ht.value.map((w) => ({
|
|
2263
|
+
label: w.label,
|
|
2264
|
+
id: w.value
|
|
2265
|
+
}))), Je = I(qe.activeAppRecordId.value);
|
|
2266
|
+
nt(() => {
|
|
2267
|
+
Je.value = qe.activeAppRecordId.value;
|
|
2268
|
+
});
|
|
2269
|
+
function Xt(w) {
|
|
2270
|
+
R.value.toggleApp(w).then(() => {
|
|
2271
|
+
Z.value = "", A();
|
|
2272
|
+
});
|
|
2104
2273
|
}
|
|
2105
|
-
return (
|
|
2106
|
-
|
|
2274
|
+
return (w, E) => (p(), h("div", Q1, [
|
|
2275
|
+
x(r(Ae), {
|
|
2107
2276
|
ref_key: "splitpanesRef",
|
|
2108
2277
|
ref: o,
|
|
2109
2278
|
class: "flex-1 overflow-auto",
|
|
2110
|
-
horizontal:
|
|
2111
|
-
onReady:
|
|
2279
|
+
horizontal: u.value,
|
|
2280
|
+
onReady: E[4] || (E[4] = (L) => l.value = !0)
|
|
2112
2281
|
}, {
|
|
2113
|
-
default:
|
|
2114
|
-
|
|
2282
|
+
default: M(() => [
|
|
2283
|
+
ht.value.length > 1 ? (p(), z(r(ue), {
|
|
2284
|
+
key: 0,
|
|
2285
|
+
border: "base h-full",
|
|
2286
|
+
size: "20"
|
|
2287
|
+
}, {
|
|
2288
|
+
default: M(() => [
|
|
2289
|
+
i("div", es, [
|
|
2290
|
+
x(X1, {
|
|
2291
|
+
modelValue: Je.value,
|
|
2292
|
+
"onUpdate:modelValue": E[0] || (E[0] = (L) => Je.value = L),
|
|
2293
|
+
data: Yt.value,
|
|
2294
|
+
class: "w-full",
|
|
2295
|
+
onSelect: Xt
|
|
2296
|
+
}, null, 8, ["modelValue", "data"])
|
|
2297
|
+
])
|
|
2298
|
+
]),
|
|
2299
|
+
_: 1
|
|
2300
|
+
})) : U("", !0),
|
|
2301
|
+
x(r(ue), {
|
|
2115
2302
|
border: "base",
|
|
2116
2303
|
"h-full": ""
|
|
2117
2304
|
}, {
|
|
2118
|
-
default:
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
modelValue:
|
|
2123
|
-
"onUpdate:modelValue":
|
|
2305
|
+
default: M(() => [
|
|
2306
|
+
a.value ? (p(), h("div", ts, [
|
|
2307
|
+
i("div", ns, [
|
|
2308
|
+
x(r(Xe), {
|
|
2309
|
+
modelValue: c.value,
|
|
2310
|
+
"onUpdate:modelValue": E[1] || (E[1] = (L) => c.value = L),
|
|
2124
2311
|
"loading-debounce-time": 250,
|
|
2125
2312
|
loading: !r(C),
|
|
2126
2313
|
placeholder: "Find components...",
|
|
2127
2314
|
class: "flex-1 text-3.5"
|
|
2128
2315
|
}, null, 8, ["modelValue", "loading"]),
|
|
2129
|
-
r(
|
|
2316
|
+
r(yn) ? U("", !0) : J((p(), h("button", {
|
|
2130
2317
|
key: 0,
|
|
2131
2318
|
"px-1": "",
|
|
2132
2319
|
class: "hover:color-#00dc82",
|
|
2133
2320
|
onClick: _e
|
|
2134
2321
|
}, [
|
|
2135
|
-
(p(),
|
|
2322
|
+
(p(), h("svg", os, ls))
|
|
2136
2323
|
])), [
|
|
2137
2324
|
[
|
|
2138
2325
|
r(Q),
|
|
@@ -2142,47 +2329,47 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
2142
2329
|
]
|
|
2143
2330
|
])
|
|
2144
2331
|
]),
|
|
2145
|
-
|
|
2332
|
+
i("div", {
|
|
2146
2333
|
ref_key: "componentTreeContainer",
|
|
2147
|
-
ref:
|
|
2334
|
+
ref: Ee,
|
|
2148
2335
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
2149
2336
|
}, [
|
|
2150
|
-
|
|
2151
|
-
modelValue:
|
|
2152
|
-
"onUpdate:modelValue":
|
|
2153
|
-
data:
|
|
2337
|
+
x(Me, {
|
|
2338
|
+
modelValue: Z.value,
|
|
2339
|
+
"onUpdate:modelValue": E[2] || (E[2] = (L) => Z.value = L),
|
|
2340
|
+
data: V.value,
|
|
2154
2341
|
"with-tag": !0
|
|
2155
2342
|
}, null, 8, ["modelValue", "data"])
|
|
2156
2343
|
], 512)
|
|
2157
|
-
])) :
|
|
2344
|
+
])) : U("", !0)
|
|
2158
2345
|
]),
|
|
2159
2346
|
_: 1
|
|
2160
2347
|
}),
|
|
2161
|
-
|
|
2348
|
+
x(r(ue), {
|
|
2162
2349
|
relative: "",
|
|
2163
2350
|
"h-full": ""
|
|
2164
2351
|
}, {
|
|
2165
|
-
default:
|
|
2166
|
-
var
|
|
2352
|
+
default: M(() => {
|
|
2353
|
+
var L;
|
|
2167
2354
|
return [
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
(
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
])) :
|
|
2175
|
-
|
|
2176
|
-
modelValue:
|
|
2177
|
-
"onUpdate:modelValue":
|
|
2355
|
+
i("div", as, [
|
|
2356
|
+
i("div", is, [
|
|
2357
|
+
(L = T.value) != null && L.name ? (p(), h("span", rs, [
|
|
2358
|
+
us,
|
|
2359
|
+
i("span", cs, oe(T.value.name), 1),
|
|
2360
|
+
ds
|
|
2361
|
+
])) : U("", !0),
|
|
2362
|
+
x(r(Xe), {
|
|
2363
|
+
modelValue: d.value,
|
|
2364
|
+
"onUpdate:modelValue": E[3] || (E[3] = (G) => d.value = G),
|
|
2178
2365
|
"loading-debounce-time": 250,
|
|
2179
2366
|
placeholder: "Filter State...",
|
|
2180
2367
|
class: "flex-1 text-3.5"
|
|
2181
2368
|
}, null, 8, ["modelValue"]),
|
|
2182
|
-
|
|
2183
|
-
|
|
2369
|
+
i("div", ps, [
|
|
2370
|
+
J(i("i", {
|
|
2184
2371
|
class: "i-material-symbols-light:eye-tracking-outline h-4 w-4 cursor-pointer hover:op-70",
|
|
2185
|
-
onClick:
|
|
2372
|
+
onClick: je
|
|
2186
2373
|
}, null, 512), [
|
|
2187
2374
|
[
|
|
2188
2375
|
r(Q),
|
|
@@ -2191,9 +2378,9 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
2191
2378
|
{ bottom: !0 }
|
|
2192
2379
|
]
|
|
2193
2380
|
]),
|
|
2194
|
-
|
|
2381
|
+
J(i("i", {
|
|
2195
2382
|
class: "i-material-symbols-light:code h-5 w-5 cursor-pointer hover:op-70",
|
|
2196
|
-
onClick:
|
|
2383
|
+
onClick: Ue
|
|
2197
2384
|
}, null, 512), [
|
|
2198
2385
|
[
|
|
2199
2386
|
r(Q),
|
|
@@ -2202,10 +2389,10 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
2202
2389
|
{ bottom: !0 }
|
|
2203
2390
|
]
|
|
2204
2391
|
]),
|
|
2205
|
-
r(
|
|
2392
|
+
r(wt) ? J((p(), h("i", {
|
|
2206
2393
|
key: 0,
|
|
2207
2394
|
class: "i-material-symbols-light:menu-open h-5 w-5 cursor-pointer hover:op-70",
|
|
2208
|
-
onClick:
|
|
2395
|
+
onClick: Oe
|
|
2209
2396
|
}, null, 512)), [
|
|
2210
2397
|
[
|
|
2211
2398
|
r(Q),
|
|
@@ -2213,11 +2400,11 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
2213
2400
|
void 0,
|
|
2214
2401
|
{ bottom: !0 }
|
|
2215
2402
|
]
|
|
2216
|
-
]) :
|
|
2217
|
-
P.value ?
|
|
2403
|
+
]) : U("", !0),
|
|
2404
|
+
P.value ? J((p(), h("i", {
|
|
2218
2405
|
key: 1,
|
|
2219
2406
|
class: "i-carbon-launch h-4 w-4 cursor-pointer hover:op-70",
|
|
2220
|
-
onClick:
|
|
2407
|
+
onClick: We
|
|
2221
2408
|
}, null, 512)), [
|
|
2222
2409
|
[
|
|
2223
2410
|
r(Q),
|
|
@@ -2225,22 +2412,22 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
2225
2412
|
void 0,
|
|
2226
2413
|
{ bottom: !0 }
|
|
2227
2414
|
]
|
|
2228
|
-
]) :
|
|
2415
|
+
]) : U("", !0)
|
|
2229
2416
|
])
|
|
2230
2417
|
]),
|
|
2231
|
-
|
|
2418
|
+
x(Pe, {
|
|
2232
2419
|
class: "no-scrollbar flex-1 select-none overflow-scroll",
|
|
2233
2420
|
data: b.value,
|
|
2234
|
-
"node-id":
|
|
2235
|
-
"inspector-id":
|
|
2421
|
+
"node-id": Z.value,
|
|
2422
|
+
"inspector-id": Ve,
|
|
2236
2423
|
"expanded-state-id": "component-state"
|
|
2237
2424
|
}, null, 8, ["data", "node-id"])
|
|
2238
2425
|
]),
|
|
2239
|
-
|
|
2426
|
+
y.value && m.value ? (p(), z(q1, {
|
|
2240
2427
|
key: 0,
|
|
2241
2428
|
code: m.value,
|
|
2242
|
-
onClose:
|
|
2243
|
-
}, null, 8, ["code"])) :
|
|
2429
|
+
onClose: Jt
|
|
2430
|
+
}, null, 8, ["code"])) : U("", !0)
|
|
2244
2431
|
];
|
|
2245
2432
|
}),
|
|
2246
2433
|
_: 1
|
|
@@ -2248,105 +2435,105 @@ const Wo = ["onClick", "onDblclick"], Jo = {
|
|
|
2248
2435
|
]),
|
|
2249
2436
|
_: 1
|
|
2250
2437
|
}, 8, ["horizontal"]),
|
|
2251
|
-
r(
|
|
2438
|
+
r(wt) ? (p(), z(r(xn), {
|
|
2252
2439
|
key: 0,
|
|
2253
|
-
modelValue:
|
|
2254
|
-
"onUpdate:modelValue":
|
|
2440
|
+
modelValue: f.value,
|
|
2441
|
+
"onUpdate:modelValue": E[5] || (E[5] = (L) => f.value = L),
|
|
2255
2442
|
title: "",
|
|
2256
2443
|
height: "12rem",
|
|
2257
2444
|
closable: !1
|
|
2258
2445
|
}, {
|
|
2259
|
-
footer:
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
default:
|
|
2263
|
-
|
|
2446
|
+
footer: M(() => [
|
|
2447
|
+
i("div", Cs, [
|
|
2448
|
+
x(r(de), { onClick: Le }, {
|
|
2449
|
+
default: M(() => [
|
|
2450
|
+
ne(" Cancel ")
|
|
2264
2451
|
]),
|
|
2265
2452
|
_: 1
|
|
2266
2453
|
})
|
|
2267
2454
|
])
|
|
2268
2455
|
]),
|
|
2269
|
-
default:
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
(p(),
|
|
2456
|
+
default: M(() => [
|
|
2457
|
+
i("div", fs, [
|
|
2458
|
+
i("span", vs, [
|
|
2459
|
+
(p(), h("svg", hs, _s))
|
|
2273
2460
|
]),
|
|
2274
|
-
|
|
2461
|
+
gs
|
|
2275
2462
|
])
|
|
2276
2463
|
]),
|
|
2277
2464
|
_: 1
|
|
2278
|
-
}, 8, ["modelValue"])) :
|
|
2465
|
+
}, 8, ["modelValue"])) : U("", !0)
|
|
2279
2466
|
]));
|
|
2280
2467
|
}
|
|
2281
|
-
}),
|
|
2468
|
+
}), la = /* @__PURE__ */ ye(xs, [["__scopeId", "data-v-092d4be1"]]), ys = {}, bs = {
|
|
2282
2469
|
viewBox: "0 0 566 154",
|
|
2283
2470
|
fill: "none",
|
|
2284
2471
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2285
|
-
},
|
|
2472
|
+
}, $s = /* @__PURE__ */ i("svg", {
|
|
2286
2473
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2287
2474
|
width: "8em",
|
|
2288
2475
|
height: "8em",
|
|
2289
2476
|
viewBox: "0 -4 24 24"
|
|
2290
2477
|
}, [
|
|
2291
|
-
/* @__PURE__ */
|
|
2478
|
+
/* @__PURE__ */ i("path", {
|
|
2292
2479
|
fill: "#3dd68c",
|
|
2293
2480
|
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"
|
|
2294
2481
|
})
|
|
2295
|
-
], -1),
|
|
2482
|
+
], -1), ws = /* @__PURE__ */ i("path", {
|
|
2296
2483
|
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",
|
|
2297
2484
|
fill: "currentColor"
|
|
2298
|
-
}, null, -1),
|
|
2299
|
-
|
|
2300
|
-
|
|
2485
|
+
}, null, -1), ks = [
|
|
2486
|
+
$s,
|
|
2487
|
+
ws
|
|
2301
2488
|
];
|
|
2302
|
-
function
|
|
2303
|
-
return p(),
|
|
2489
|
+
function Is(t, e) {
|
|
2490
|
+
return p(), h("svg", bs, ks);
|
|
2304
2491
|
}
|
|
2305
|
-
const
|
|
2492
|
+
const Ss = /* @__PURE__ */ ye(ys, [["render", Is]]), Ts = {
|
|
2306
2493
|
"h-full": "",
|
|
2307
2494
|
"w-full": "",
|
|
2308
2495
|
flex: "",
|
|
2309
2496
|
"items-center": ""
|
|
2310
|
-
},
|
|
2497
|
+
}, Es = {
|
|
2311
2498
|
flex: "~ col gap2",
|
|
2312
2499
|
ma: "",
|
|
2313
2500
|
"px-5": ""
|
|
2314
|
-
},
|
|
2501
|
+
}, Vs = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Ns = {
|
|
2315
2502
|
flex: "~ col",
|
|
2316
2503
|
"mt-20": "",
|
|
2317
2504
|
"items-center": ""
|
|
2318
|
-
},
|
|
2505
|
+
}, Rs = {
|
|
2319
2506
|
flex: "~",
|
|
2320
2507
|
"mt--10": "",
|
|
2321
2508
|
"items-center": "",
|
|
2322
2509
|
"justify-center": ""
|
|
2323
|
-
},
|
|
2510
|
+
}, As = /* @__PURE__ */ i("div", {
|
|
2324
2511
|
mb6: "",
|
|
2325
2512
|
"mt--1": "",
|
|
2326
2513
|
"text-center": "",
|
|
2327
2514
|
"text-sm": "",
|
|
2328
2515
|
flex: "~ gap-1"
|
|
2329
2516
|
}, [
|
|
2330
|
-
/* @__PURE__ */
|
|
2331
|
-
], -1),
|
|
2517
|
+
/* @__PURE__ */ i("span", { op40: "" }, " Router DevTools ")
|
|
2518
|
+
], -1), Ds = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Ps = { flex: "~ gap2 wrap" }, Ms = /* @__PURE__ */ i("div", {
|
|
2332
2519
|
"i-carbon-tree-view-alt": "",
|
|
2333
2520
|
"text-3xl": ""
|
|
2334
|
-
}, null, -1),
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
],
|
|
2521
|
+
}, null, -1), Hs = /* @__PURE__ */ i("code", null, "Routes", -1), Ls = [
|
|
2522
|
+
Ms,
|
|
2523
|
+
Hs
|
|
2524
|
+
], js = /* @__PURE__ */ i("div", {
|
|
2338
2525
|
"i-mdi:timeline-clock-outline": "",
|
|
2339
2526
|
"text-3xl": ""
|
|
2340
|
-
}, null, -1),
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
],
|
|
2527
|
+
}, null, -1), Os = /* @__PURE__ */ i("div", null, "Timeline", -1), Us = [
|
|
2528
|
+
js,
|
|
2529
|
+
Os
|
|
2530
|
+
], zs = /* @__PURE__ */ i("div", {
|
|
2344
2531
|
flex: "~ gap-6 wrap",
|
|
2345
2532
|
"mt-5": "",
|
|
2346
2533
|
"items-center": "",
|
|
2347
2534
|
"justify-center": ""
|
|
2348
2535
|
}, [
|
|
2349
|
-
/* @__PURE__ */
|
|
2536
|
+
/* @__PURE__ */ i("a", {
|
|
2350
2537
|
href: "https://github.com/vuejs/router",
|
|
2351
2538
|
target: "_blank",
|
|
2352
2539
|
flex: "~ gap1",
|
|
@@ -2355,10 +2542,10 @@ const ns = /* @__PURE__ */ ye(q1, [["render", ts]]), os = {
|
|
|
2355
2542
|
hover: "op100 text-blue",
|
|
2356
2543
|
transition: ""
|
|
2357
2544
|
}, [
|
|
2358
|
-
/* @__PURE__ */
|
|
2359
|
-
/* @__PURE__ */
|
|
2545
|
+
/* @__PURE__ */ i("div", { "i-carbon-star": "" }),
|
|
2546
|
+
/* @__PURE__ */ ne(" Star on GitHub ")
|
|
2360
2547
|
]),
|
|
2361
|
-
/* @__PURE__ */
|
|
2548
|
+
/* @__PURE__ */ i("a", {
|
|
2362
2549
|
href: "https://router.vuejs.org/",
|
|
2363
2550
|
target: "_blank",
|
|
2364
2551
|
flex: "~ gap1",
|
|
@@ -2367,176 +2554,162 @@ const ns = /* @__PURE__ */ ye(q1, [["render", ts]]), os = {
|
|
|
2367
2554
|
hover: "op100 text-yellow",
|
|
2368
2555
|
transition: ""
|
|
2369
2556
|
}, [
|
|
2370
|
-
/* @__PURE__ */
|
|
2371
|
-
/* @__PURE__ */
|
|
2557
|
+
/* @__PURE__ */ i("div", { "i-carbon-document": "" }),
|
|
2558
|
+
/* @__PURE__ */ ne(" View Documentation ")
|
|
2372
2559
|
])
|
|
2373
|
-
], -1),
|
|
2560
|
+
], -1), Bs = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Zs = /* @__PURE__ */ B({
|
|
2374
2561
|
__name: "About",
|
|
2375
2562
|
setup(t) {
|
|
2376
|
-
const e =
|
|
2377
|
-
return (n, o) => (p(),
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2563
|
+
const e = De();
|
|
2564
|
+
return (n, o) => (p(), h("div", Ts, [
|
|
2565
|
+
i("div", Es, [
|
|
2566
|
+
Vs,
|
|
2567
|
+
i("div", Ns, [
|
|
2568
|
+
i("div", Rs, [
|
|
2569
|
+
x(Ss, { "h-18": "" })
|
|
2383
2570
|
]),
|
|
2384
|
-
|
|
2571
|
+
As
|
|
2385
2572
|
]),
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2573
|
+
Ds,
|
|
2574
|
+
i("div", Ps, [
|
|
2575
|
+
i("div", {
|
|
2389
2576
|
flex: "~ col auto",
|
|
2390
2577
|
"min-w-40": "",
|
|
2391
2578
|
p4: "",
|
|
2392
2579
|
"theme-card-lime": "",
|
|
2393
|
-
onClick: o[0] || (o[0] = (
|
|
2394
|
-
},
|
|
2395
|
-
|
|
2580
|
+
onClick: o[0] || (o[0] = (l) => r(e).push("/routes"))
|
|
2581
|
+
}, Ls),
|
|
2582
|
+
i("div", {
|
|
2396
2583
|
flex: "~ col auto",
|
|
2397
2584
|
"min-w-40": "",
|
|
2398
2585
|
p4: "",
|
|
2399
2586
|
"theme-card-lime": "",
|
|
2400
|
-
onClick: o[1] || (o[1] = (
|
|
2401
|
-
},
|
|
2587
|
+
onClick: o[1] || (o[1] = (l) => r(e).push("/timeline"))
|
|
2588
|
+
}, Us)
|
|
2402
2589
|
]),
|
|
2403
|
-
|
|
2404
|
-
|
|
2590
|
+
zs,
|
|
2591
|
+
Bs
|
|
2405
2592
|
])
|
|
2406
2593
|
]));
|
|
2407
2594
|
}
|
|
2408
|
-
}),
|
|
2409
|
-
function De() {
|
|
2410
|
-
return Ce(jt);
|
|
2411
|
-
}
|
|
2412
|
-
function zt() {
|
|
2413
|
-
const t = I({
|
|
2414
|
-
homepage: "",
|
|
2415
|
-
id: "",
|
|
2416
|
-
label: "",
|
|
2417
|
-
logo: "",
|
|
2418
|
-
timelineLayerIds: []
|
|
2419
|
-
});
|
|
2420
|
-
return $e(jt, t), t;
|
|
2421
|
-
}
|
|
2422
|
-
const xs = { class: "h-full flex flex-col" }, ys = {
|
|
2595
|
+
}), Fs = { class: "h-full flex flex-col" }, Gs = {
|
|
2423
2596
|
"h-full": "",
|
|
2424
2597
|
"select-none": "",
|
|
2425
2598
|
"overflow-scroll": "",
|
|
2426
2599
|
p2: "",
|
|
2427
2600
|
class: "no-scrollbar"
|
|
2428
|
-
},
|
|
2601
|
+
}, Ks = {
|
|
2429
2602
|
"h-full": "",
|
|
2430
2603
|
"select-none": "",
|
|
2431
2604
|
"overflow-scroll": "",
|
|
2432
2605
|
class: "no-scrollbar"
|
|
2433
|
-
},
|
|
2606
|
+
}, Ws = /* @__PURE__ */ B({
|
|
2434
2607
|
__name: "Index",
|
|
2435
2608
|
setup(t) {
|
|
2436
|
-
const { expanded: e } = ve(), { expanded: n } = ve("routes-state"), o =
|
|
2437
|
-
var
|
|
2438
|
-
return (
|
|
2439
|
-
}),
|
|
2440
|
-
function
|
|
2609
|
+
const { expanded: e } = ve(), { expanded: n } = ve("routes-state"), o = be(), l = D(() => o.value.id), s = I(""), u = I([]), c = D(() => {
|
|
2610
|
+
var $, N;
|
|
2611
|
+
return ($ = u.value) != null && $.length ? a((N = u.value) == null ? void 0 : N[0]) : [];
|
|
2612
|
+
}), d = D(() => m(u.value)), C = D(() => d.value.map(($) => $.id)), v = I({});
|
|
2613
|
+
function a($, N = [], H = []) {
|
|
2441
2614
|
var K;
|
|
2442
|
-
return
|
|
2443
|
-
|
|
2444
|
-
}),
|
|
2445
|
-
}
|
|
2446
|
-
function
|
|
2447
|
-
const
|
|
2448
|
-
return
|
|
2449
|
-
|
|
2450
|
-
}), [...new Set(
|
|
2451
|
-
}
|
|
2452
|
-
function m(
|
|
2453
|
-
const
|
|
2454
|
-
K == null || K.forEach((
|
|
2615
|
+
return N.push($.id), ((K = $.children) == null ? void 0 : K.length) === 0 && H.push([...N]), Array.isArray($.children) && $.children.forEach((Z) => {
|
|
2616
|
+
a(Z, N, H);
|
|
2617
|
+
}), N.pop(), H;
|
|
2618
|
+
}
|
|
2619
|
+
function f($, N) {
|
|
2620
|
+
const H = [];
|
|
2621
|
+
return $ == null || $.forEach((K) => {
|
|
2622
|
+
H.push(...K.slice(0, N + 1));
|
|
2623
|
+
}), [...new Set(H)];
|
|
2624
|
+
}
|
|
2625
|
+
function m($) {
|
|
2626
|
+
const N = [], H = (K) => {
|
|
2627
|
+
K == null || K.forEach((Z) => {
|
|
2455
2628
|
var T;
|
|
2456
|
-
|
|
2629
|
+
N.push(Z), (T = Z.children) != null && T.length && H(Z.children);
|
|
2457
2630
|
});
|
|
2458
2631
|
};
|
|
2459
|
-
return
|
|
2460
|
-
}
|
|
2461
|
-
function x(w) {
|
|
2462
|
-
var V;
|
|
2463
|
-
for (const M in w)
|
|
2464
|
-
(V = w[M]) != null && V.length || delete w[M];
|
|
2465
|
-
return w;
|
|
2632
|
+
return H($), N;
|
|
2466
2633
|
}
|
|
2467
|
-
function
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2634
|
+
function y($) {
|
|
2635
|
+
var N;
|
|
2636
|
+
for (const H in $)
|
|
2637
|
+
(N = $[H]) != null && N.length || delete $[H];
|
|
2638
|
+
return $;
|
|
2639
|
+
}
|
|
2640
|
+
function _($) {
|
|
2641
|
+
R.value.getInspectorState({ inspectorId: l.value, nodeId: $ }).then((N) => {
|
|
2642
|
+
const H = Y(N);
|
|
2643
|
+
H && (v.value = y(H), n.value = Array.from({ length: Object.keys(v.value).length }, (K, Z) => `${Z}`));
|
|
2471
2644
|
});
|
|
2472
2645
|
}
|
|
2473
|
-
function
|
|
2474
|
-
|
|
2646
|
+
function k() {
|
|
2647
|
+
v.value = {};
|
|
2475
2648
|
}
|
|
2476
|
-
X(
|
|
2477
|
-
|
|
2649
|
+
X(s, () => {
|
|
2650
|
+
k(), _(s.value);
|
|
2478
2651
|
});
|
|
2479
|
-
const
|
|
2480
|
-
R.value.getInspectorTree({ inspectorId:
|
|
2481
|
-
const
|
|
2482
|
-
|
|
2652
|
+
const O = () => {
|
|
2653
|
+
R.value.getInspectorTree({ inspectorId: l.value, filter: "" }).then(($) => {
|
|
2654
|
+
const N = Y($);
|
|
2655
|
+
u.value = N, !s.value && N.length && (s.value = N[0].id, _(N[0].id), e.value = f(c.value, 1));
|
|
2483
2656
|
});
|
|
2484
2657
|
};
|
|
2485
|
-
|
|
2486
|
-
function
|
|
2487
|
-
const
|
|
2488
|
-
|
|
2489
|
-
}
|
|
2490
|
-
function
|
|
2491
|
-
const
|
|
2492
|
-
if (
|
|
2658
|
+
Pt(l).toBeTruthy().then(O);
|
|
2659
|
+
function j($) {
|
|
2660
|
+
const N = Y($);
|
|
2661
|
+
N.inspectorId !== l.value || !N.rootNodes.length || (u.value = N.rootNodes, C.value.includes(s.value) || (s.value = N.rootNodes[0].id, e.value = f(c.value, 1), _(N.rootNodes[0].id)));
|
|
2662
|
+
}
|
|
2663
|
+
function V($) {
|
|
2664
|
+
const N = Y($);
|
|
2665
|
+
if (N.inspectorId !== l.value)
|
|
2493
2666
|
return;
|
|
2494
|
-
const
|
|
2495
|
-
|
|
2667
|
+
const H = N.state;
|
|
2668
|
+
v.value = y(H);
|
|
2496
2669
|
}
|
|
2497
|
-
return R.functions.on(W.INSPECTOR_TREE_UPDATED,
|
|
2498
|
-
R.functions.off(W.INSPECTOR_TREE_UPDATED,
|
|
2499
|
-
}), (
|
|
2500
|
-
|
|
2670
|
+
return R.functions.on(W.INSPECTOR_TREE_UPDATED, j), R.functions.on(W.INSPECTOR_STATE_UPDATED, V), xe(() => {
|
|
2671
|
+
R.functions.off(W.INSPECTOR_TREE_UPDATED, j), R.functions.off(W.INSPECTOR_STATE_UPDATED, V);
|
|
2672
|
+
}), ($, N) => (p(), h("div", Fs, [
|
|
2673
|
+
x(Te, {
|
|
2501
2674
|
"doc-link": "https://router.vuejs.org/",
|
|
2502
2675
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
2503
2676
|
}, {
|
|
2504
|
-
default:
|
|
2505
|
-
|
|
2677
|
+
default: M(() => [
|
|
2678
|
+
x(Se)
|
|
2506
2679
|
]),
|
|
2507
2680
|
_: 1
|
|
2508
2681
|
}),
|
|
2509
|
-
|
|
2510
|
-
default:
|
|
2511
|
-
|
|
2682
|
+
x(r(Ae), { class: "flex-1 overflow-auto" }, {
|
|
2683
|
+
default: M(() => [
|
|
2684
|
+
x(r(ue), {
|
|
2512
2685
|
border: "r base",
|
|
2513
2686
|
size: "40",
|
|
2514
2687
|
"h-full": ""
|
|
2515
2688
|
}, {
|
|
2516
|
-
default:
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
modelValue:
|
|
2520
|
-
"onUpdate:modelValue":
|
|
2521
|
-
data:
|
|
2689
|
+
default: M(() => [
|
|
2690
|
+
i("div", Gs, [
|
|
2691
|
+
x(Me, {
|
|
2692
|
+
modelValue: s.value,
|
|
2693
|
+
"onUpdate:modelValue": N[0] || (N[0] = (H) => s.value = H),
|
|
2694
|
+
data: u.value
|
|
2522
2695
|
}, null, 8, ["modelValue", "data"])
|
|
2523
2696
|
])
|
|
2524
2697
|
]),
|
|
2525
2698
|
_: 1
|
|
2526
2699
|
}),
|
|
2527
|
-
|
|
2528
|
-
default:
|
|
2529
|
-
|
|
2530
|
-
|
|
2700
|
+
x(r(ue), { size: "60" }, {
|
|
2701
|
+
default: M(() => [
|
|
2702
|
+
i("div", Ks, [
|
|
2703
|
+
s.value ? (p(), z(Pe, {
|
|
2531
2704
|
key: 0,
|
|
2532
2705
|
class: "p3",
|
|
2533
|
-
data:
|
|
2706
|
+
data: v.value,
|
|
2534
2707
|
"node-id": "",
|
|
2535
2708
|
"inspector-id": "router",
|
|
2536
2709
|
"expanded-state-id": "routes-state"
|
|
2537
|
-
}, null, 8, ["data"])) : (p(),
|
|
2538
|
-
default:
|
|
2539
|
-
|
|
2710
|
+
}, null, 8, ["data"])) : (p(), z(Ne, { key: 1 }, {
|
|
2711
|
+
default: M(() => [
|
|
2712
|
+
ne(" No Data ")
|
|
2540
2713
|
]),
|
|
2541
2714
|
_: 1
|
|
2542
2715
|
}))
|
|
@@ -2549,189 +2722,189 @@ const xs = { class: "h-full flex flex-col" }, ys = {
|
|
|
2549
2722
|
})
|
|
2550
2723
|
]));
|
|
2551
2724
|
}
|
|
2552
|
-
}),
|
|
2725
|
+
}), qs = /* @__PURE__ */ B({
|
|
2553
2726
|
__name: "Index",
|
|
2554
2727
|
setup(t) {
|
|
2555
|
-
const e =
|
|
2556
|
-
return (n, o) => (p(),
|
|
2728
|
+
const e = be();
|
|
2729
|
+
return (n, o) => (p(), z(vt, {
|
|
2557
2730
|
"layer-ids": r(e).timelineLayerIds,
|
|
2558
2731
|
"doc-link": "https://router.vuejs.org/",
|
|
2559
2732
|
"github-repo-link": "https://github.com/vuejs/router"
|
|
2560
2733
|
}, null, 8, ["layer-ids"]));
|
|
2561
2734
|
}
|
|
2562
|
-
}),
|
|
2735
|
+
}), Js = {
|
|
2563
2736
|
"h-full": "",
|
|
2564
2737
|
"w-full": ""
|
|
2565
|
-
},
|
|
2738
|
+
}, aa = /* @__PURE__ */ B({
|
|
2566
2739
|
__name: "index",
|
|
2567
2740
|
props: {
|
|
2568
2741
|
id: {}
|
|
2569
2742
|
},
|
|
2570
2743
|
setup(t) {
|
|
2571
|
-
const e = t, n =
|
|
2744
|
+
const e = t, n = Kt(), o = I(!1), { VirtualRouterView: l, restoreRouter: s } = it([
|
|
2572
2745
|
{
|
|
2573
2746
|
path: "/routes",
|
|
2574
2747
|
name: "Routes",
|
|
2575
|
-
component:
|
|
2748
|
+
component: Ws,
|
|
2576
2749
|
icon: "i-carbon-tree-view-alt"
|
|
2577
2750
|
},
|
|
2578
2751
|
{
|
|
2579
2752
|
path: "/timeline",
|
|
2580
2753
|
name: "Timeline",
|
|
2581
|
-
component:
|
|
2754
|
+
component: qs,
|
|
2582
2755
|
icon: "i-mdi:timeline-clock-outline"
|
|
2583
2756
|
},
|
|
2584
2757
|
{
|
|
2585
2758
|
path: "/about",
|
|
2586
2759
|
name: "About",
|
|
2587
|
-
component:
|
|
2760
|
+
component: Zs,
|
|
2588
2761
|
icon: "i-ri-route-line"
|
|
2589
2762
|
}
|
|
2590
2763
|
], {
|
|
2591
2764
|
defaultRoutePath: "/routes"
|
|
2592
2765
|
});
|
|
2593
|
-
function
|
|
2594
|
-
o.value = !0,
|
|
2595
|
-
R.value.getInspectorInfo(e.id).then((
|
|
2596
|
-
if (!
|
|
2766
|
+
function u() {
|
|
2767
|
+
o.value = !0, Re(() => {
|
|
2768
|
+
R.value.getInspectorInfo(e.id).then((c) => {
|
|
2769
|
+
if (!c)
|
|
2597
2770
|
return;
|
|
2598
|
-
const
|
|
2599
|
-
homepage:
|
|
2600
|
-
id:
|
|
2601
|
-
label:
|
|
2602
|
-
logo:
|
|
2603
|
-
timelineLayerIds:
|
|
2771
|
+
const d = {
|
|
2772
|
+
homepage: c == null ? void 0 : c.homepage,
|
|
2773
|
+
id: c == null ? void 0 : c.id,
|
|
2774
|
+
label: c == null ? void 0 : c.label,
|
|
2775
|
+
logo: c == null ? void 0 : c.logo,
|
|
2776
|
+
timelineLayerIds: c == null ? void 0 : c.timelineLayers.map((C) => C.id)
|
|
2604
2777
|
};
|
|
2605
|
-
n.value =
|
|
2778
|
+
n.value = d, s(), o.value = !1;
|
|
2606
2779
|
});
|
|
2607
2780
|
});
|
|
2608
2781
|
}
|
|
2609
|
-
return X(() => e.id, (
|
|
2610
|
-
|
|
2611
|
-
}), (
|
|
2612
|
-
|
|
2782
|
+
return X(() => e.id, (c) => {
|
|
2783
|
+
c && u();
|
|
2784
|
+
}), (c, d) => (p(), h("div", Js, [
|
|
2785
|
+
x(r(l))
|
|
2613
2786
|
]));
|
|
2614
2787
|
}
|
|
2615
|
-
}),
|
|
2788
|
+
}), Ys = {}, Xs = {
|
|
2616
2789
|
width: "175",
|
|
2617
2790
|
height: "34",
|
|
2618
2791
|
viewBox: "0 0 175 34",
|
|
2619
2792
|
fill: "none",
|
|
2620
2793
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2621
|
-
},
|
|
2794
|
+
}, Qs = /* @__PURE__ */ i("path", {
|
|
2622
2795
|
fill: "currentColor",
|
|
2623
2796
|
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"
|
|
2624
|
-
}, null, -1),
|
|
2625
|
-
|
|
2797
|
+
}, null, -1), el = [
|
|
2798
|
+
Qs
|
|
2626
2799
|
];
|
|
2627
|
-
function
|
|
2628
|
-
return p(),
|
|
2800
|
+
function tl(t, e) {
|
|
2801
|
+
return p(), h("svg", Xs, el);
|
|
2629
2802
|
}
|
|
2630
|
-
const
|
|
2803
|
+
const nl = /* @__PURE__ */ ye(Ys, [["render", tl]]), ol = {
|
|
2631
2804
|
"h-full": "",
|
|
2632
2805
|
"w-full": "",
|
|
2633
2806
|
flex: "",
|
|
2634
2807
|
"items-center": ""
|
|
2635
|
-
},
|
|
2808
|
+
}, sl = {
|
|
2636
2809
|
flex: "~ col gap2",
|
|
2637
2810
|
ma: "",
|
|
2638
2811
|
"px-5": ""
|
|
2639
|
-
},
|
|
2812
|
+
}, ll = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), al = {
|
|
2640
2813
|
flex: "~ col",
|
|
2641
2814
|
"mt-20": "",
|
|
2642
2815
|
"items-center": ""
|
|
2643
|
-
},
|
|
2816
|
+
}, il = {
|
|
2644
2817
|
flex: "~",
|
|
2645
2818
|
"mt--10": "",
|
|
2646
2819
|
"items-center": "",
|
|
2647
2820
|
"justify-center": ""
|
|
2648
|
-
},
|
|
2821
|
+
}, rl = { class: "mr-1" }, ul = {
|
|
2649
2822
|
key: 0,
|
|
2650
2823
|
class: "inline-block w20"
|
|
2651
|
-
},
|
|
2824
|
+
}, cl = ["src", "alt"], dl = {
|
|
2652
2825
|
key: 1,
|
|
2653
2826
|
class: "mr2 inline-block min-w-20 text-center text-10 font-600"
|
|
2654
|
-
},
|
|
2827
|
+
}, pl = {
|
|
2655
2828
|
mb6: "",
|
|
2656
2829
|
"mt--1": "",
|
|
2657
2830
|
"text-center": "",
|
|
2658
2831
|
"text-sm": "",
|
|
2659
2832
|
flex: "~ gap-1"
|
|
2660
|
-
},
|
|
2833
|
+
}, fl = { op40: "" }, vl = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), hl = { flex: "~ gap2 wrap" }, ml = /* @__PURE__ */ i("div", {
|
|
2661
2834
|
"i-carbon-tree-view-alt": "",
|
|
2662
2835
|
"text-3xl": ""
|
|
2663
|
-
}, null, -1),
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
],
|
|
2836
|
+
}, null, -1), _l = /* @__PURE__ */ i("code", null, "State", -1), gl = [
|
|
2837
|
+
ml,
|
|
2838
|
+
_l
|
|
2839
|
+
], Cl = /* @__PURE__ */ i("div", {
|
|
2667
2840
|
"i-mdi:timeline-clock-outline": "",
|
|
2668
2841
|
"text-3xl": ""
|
|
2669
|
-
}, null, -1),
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
],
|
|
2842
|
+
}, null, -1), xl = /* @__PURE__ */ i("div", null, "Timeline", -1), yl = [
|
|
2843
|
+
Cl,
|
|
2844
|
+
xl
|
|
2845
|
+
], bl = {
|
|
2673
2846
|
flex: "~ gap-6 wrap",
|
|
2674
2847
|
"mt-5": "",
|
|
2675
2848
|
"items-center": "",
|
|
2676
2849
|
"justify-center": ""
|
|
2677
|
-
},
|
|
2850
|
+
}, $l = ["href"], wl = /* @__PURE__ */ i("div", { "i-carbon-document": "" }, null, -1), kl = /* @__PURE__ */ i("div", { "flex-auto": "" }, null, -1), Il = /* @__PURE__ */ B({
|
|
2678
2851
|
__name: "About",
|
|
2679
2852
|
setup(t) {
|
|
2680
|
-
const e =
|
|
2681
|
-
function
|
|
2853
|
+
const e = De(), n = be(), o = I(!1), l = I(!1);
|
|
2854
|
+
function s() {
|
|
2682
2855
|
o.value = !0;
|
|
2683
2856
|
}
|
|
2684
|
-
function
|
|
2685
|
-
o.value = !0,
|
|
2857
|
+
function u() {
|
|
2858
|
+
o.value = !0, l.value = !0;
|
|
2686
2859
|
}
|
|
2687
|
-
return (
|
|
2860
|
+
return (c, d) => {
|
|
2688
2861
|
var C;
|
|
2689
|
-
return p(),
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
o.value ?
|
|
2696
|
-
|
|
2862
|
+
return p(), h("div", ol, [
|
|
2863
|
+
i("div", sl, [
|
|
2864
|
+
ll,
|
|
2865
|
+
i("div", al, [
|
|
2866
|
+
i("div", il, [
|
|
2867
|
+
i("span", rl, [
|
|
2868
|
+
o.value ? U("", !0) : (p(), h("span", ul)),
|
|
2869
|
+
J(i("img", {
|
|
2697
2870
|
src: r(n).logo,
|
|
2698
2871
|
alt: `${r(n).label} Logo`,
|
|
2699
2872
|
class: "inline-block h16",
|
|
2700
|
-
onError:
|
|
2701
|
-
onLoad:
|
|
2702
|
-
}, null, 40,
|
|
2703
|
-
[
|
|
2873
|
+
onError: u,
|
|
2874
|
+
onLoad: s
|
|
2875
|
+
}, null, 40, cl), [
|
|
2876
|
+
[an, o.value && !l.value]
|
|
2704
2877
|
]),
|
|
2705
|
-
|
|
2878
|
+
l.value ? (p(), h("span", dl, oe(r(n).label), 1)) : U("", !0)
|
|
2706
2879
|
]),
|
|
2707
|
-
|
|
2708
|
-
|
|
2880
|
+
i("span", null, [
|
|
2881
|
+
x(nl, { "h-18": "" })
|
|
2709
2882
|
])
|
|
2710
2883
|
]),
|
|
2711
|
-
|
|
2712
|
-
|
|
2884
|
+
i("div", pl, [
|
|
2885
|
+
i("span", fl, oe(r(n).label) + " DevTools ", 1)
|
|
2713
2886
|
])
|
|
2714
2887
|
]),
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2888
|
+
vl,
|
|
2889
|
+
i("div", hl, [
|
|
2890
|
+
i("div", {
|
|
2718
2891
|
flex: "~ col auto",
|
|
2719
2892
|
"min-w-40": "",
|
|
2720
2893
|
p4: "",
|
|
2721
2894
|
"theme-card-lime": "",
|
|
2722
|
-
onClick:
|
|
2723
|
-
},
|
|
2724
|
-
(C = r(n).timelineLayerIds) != null && C.length ? (p(),
|
|
2895
|
+
onClick: d[0] || (d[0] = (v) => r(e).push("/state"))
|
|
2896
|
+
}, gl),
|
|
2897
|
+
(C = r(n).timelineLayerIds) != null && C.length ? (p(), h("div", {
|
|
2725
2898
|
key: 0,
|
|
2726
2899
|
flex: "~ col auto",
|
|
2727
2900
|
"min-w-40": "",
|
|
2728
2901
|
p4: "",
|
|
2729
2902
|
"theme-card-lime": "",
|
|
2730
|
-
onClick:
|
|
2731
|
-
},
|
|
2903
|
+
onClick: d[1] || (d[1] = (v) => r(e).push("/timeline"))
|
|
2904
|
+
}, yl)) : U("", !0)
|
|
2732
2905
|
]),
|
|
2733
|
-
|
|
2734
|
-
|
|
2906
|
+
i("div", bl, [
|
|
2907
|
+
i("a", {
|
|
2735
2908
|
href: r(n).homepage,
|
|
2736
2909
|
target: "_blank",
|
|
2737
2910
|
flex: "~ gap1",
|
|
@@ -2740,147 +2913,171 @@ const Ns = /* @__PURE__ */ ye(Is, [["render", Vs]]), As = {
|
|
|
2740
2913
|
hover: "op100 text-yellow",
|
|
2741
2914
|
transition: ""
|
|
2742
2915
|
}, [
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
], 8,
|
|
2916
|
+
wl,
|
|
2917
|
+
ne(" View Documentation ")
|
|
2918
|
+
], 8, $l)
|
|
2746
2919
|
]),
|
|
2747
|
-
|
|
2920
|
+
kl
|
|
2748
2921
|
])
|
|
2749
2922
|
]);
|
|
2750
2923
|
};
|
|
2751
2924
|
}
|
|
2752
|
-
}),
|
|
2925
|
+
}), Sl = { class: "h-full flex flex-col" }, Tl = /* @__PURE__ */ B({
|
|
2926
|
+
__name: "Settings",
|
|
2927
|
+
setup(t) {
|
|
2928
|
+
const e = inject("pluginSettings"), n = be(), o = computed(() => e.value.options), l = computed(() => e.value.values);
|
|
2929
|
+
function s(u) {
|
|
2930
|
+
e.value = u;
|
|
2931
|
+
}
|
|
2932
|
+
return (u, c) => (p(), h("div", Sl, [
|
|
2933
|
+
x(Te, {
|
|
2934
|
+
"doc-link": r(n).homepage
|
|
2935
|
+
}, {
|
|
2936
|
+
default: M(() => [
|
|
2937
|
+
x(Se)
|
|
2938
|
+
]),
|
|
2939
|
+
_: 1
|
|
2940
|
+
}, 8, ["doc-link"]),
|
|
2941
|
+
x(Wt, {
|
|
2942
|
+
"plugin-id": r(n).id,
|
|
2943
|
+
options: r(o),
|
|
2944
|
+
values: r(l),
|
|
2945
|
+
onUpdate: s
|
|
2946
|
+
}, null, 8, ["plugin-id", "options", "values"])
|
|
2947
|
+
]));
|
|
2948
|
+
}
|
|
2949
|
+
}), El = { class: "h-full flex flex-col" }, Vl = { class: "h-full flex flex-col p2" }, Nl = {
|
|
2753
2950
|
key: 0,
|
|
2754
2951
|
class: "mb-1 flex justify-end pb-1",
|
|
2755
2952
|
border: "b dashed base"
|
|
2756
|
-
},
|
|
2953
|
+
}, Rl = { class: "flex items-center gap-2 px-1" }, Al = ["onClick"], Dl = { class: "no-scrollbar flex-1 select-none overflow-scroll" }, Pl = { class: "h-full flex flex-col p2" }, Ml = {
|
|
2757
2954
|
key: 0,
|
|
2758
2955
|
class: "mb-1 flex justify-end pb-1",
|
|
2759
2956
|
border: "b dashed base"
|
|
2760
|
-
},
|
|
2957
|
+
}, Hl = { class: "flex items-center gap-2 px-1" }, Ll = ["onClick"], jl = /* @__PURE__ */ B({
|
|
2761
2958
|
__name: "Index",
|
|
2762
2959
|
setup(t) {
|
|
2763
|
-
const { expanded: e } = ve(), { expanded: n } = ve("custom-inspector-state"), o =
|
|
2764
|
-
var b,
|
|
2765
|
-
return (b =
|
|
2766
|
-
}), C = D(() =>
|
|
2767
|
-
function
|
|
2960
|
+
const { expanded: e } = ve(), { expanded: n } = ve("custom-inspector-state"), o = be(), l = D(() => o.value.id), s = I([]), u = I([]), c = I([]), d = D(() => {
|
|
2961
|
+
var b, S;
|
|
2962
|
+
return (b = c.value) != null && b.length ? y((S = c.value) == null ? void 0 : S[0]) : [];
|
|
2963
|
+
}), C = D(() => k(c.value)), v = D(() => C.value.map((b) => b.id)), a = I(""), f = I({}), m = D(() => !Object.keys(f.value).length);
|
|
2964
|
+
function y(b, S = [], g = []) {
|
|
2768
2965
|
var A;
|
|
2769
|
-
return
|
|
2770
|
-
|
|
2771
|
-
}),
|
|
2966
|
+
return S.push(b.id), ((A = b.children) == null ? void 0 : A.length) === 0 && g.push([...S]), Array.isArray(b.children) && b.children.forEach((F) => {
|
|
2967
|
+
y(F, S, g);
|
|
2968
|
+
}), S.pop(), g;
|
|
2772
2969
|
}
|
|
2773
|
-
function
|
|
2774
|
-
const
|
|
2970
|
+
function _(b, S) {
|
|
2971
|
+
const g = [];
|
|
2775
2972
|
return b == null || b.forEach((A) => {
|
|
2776
|
-
|
|
2777
|
-
}), [...new Set(
|
|
2778
|
-
}
|
|
2779
|
-
function
|
|
2780
|
-
const
|
|
2781
|
-
A == null || A.forEach((
|
|
2782
|
-
var
|
|
2783
|
-
|
|
2973
|
+
g.push(...A.slice(0, S + 1));
|
|
2974
|
+
}), [...new Set(g)];
|
|
2975
|
+
}
|
|
2976
|
+
function k(b) {
|
|
2977
|
+
const S = [], g = (A) => {
|
|
2978
|
+
A == null || A.forEach((F) => {
|
|
2979
|
+
var le;
|
|
2980
|
+
S.push(F), (le = F.children) != null && le.length && g(F.children);
|
|
2784
2981
|
});
|
|
2785
2982
|
};
|
|
2786
|
-
return
|
|
2983
|
+
return g(b), S;
|
|
2787
2984
|
}
|
|
2788
|
-
function
|
|
2789
|
-
R.value.getInspectorNodeActions(
|
|
2790
|
-
|
|
2985
|
+
function O() {
|
|
2986
|
+
R.value.getInspectorNodeActions(l.value).then((b) => {
|
|
2987
|
+
s.value = b;
|
|
2791
2988
|
});
|
|
2792
2989
|
}
|
|
2793
|
-
function
|
|
2794
|
-
R.value.getInspectorActions(
|
|
2795
|
-
|
|
2990
|
+
function j() {
|
|
2991
|
+
R.value.getInspectorActions(l.value).then((b) => {
|
|
2992
|
+
u.value = b;
|
|
2796
2993
|
});
|
|
2797
2994
|
}
|
|
2798
|
-
|
|
2799
|
-
function
|
|
2800
|
-
R.value.callInspectorNodeAction(
|
|
2995
|
+
O(), j();
|
|
2996
|
+
function V(b) {
|
|
2997
|
+
R.value.callInspectorNodeAction(l.value, b, a.value);
|
|
2801
2998
|
}
|
|
2802
|
-
function
|
|
2803
|
-
R.value.callInspectorAction(
|
|
2999
|
+
function $(b) {
|
|
3000
|
+
R.value.callInspectorAction(l.value, b);
|
|
2804
3001
|
}
|
|
2805
|
-
function
|
|
2806
|
-
var
|
|
2807
|
-
for (const
|
|
2808
|
-
(
|
|
3002
|
+
function N(b) {
|
|
3003
|
+
var S;
|
|
3004
|
+
for (const g in b)
|
|
3005
|
+
(S = b[g]) != null && S.length || delete b[g];
|
|
2809
3006
|
return b;
|
|
2810
3007
|
}
|
|
2811
|
-
function
|
|
2812
|
-
R.value.getInspectorState({ inspectorId:
|
|
2813
|
-
const
|
|
2814
|
-
|
|
3008
|
+
function H(b) {
|
|
3009
|
+
R.value.getInspectorState({ inspectorId: l.value, nodeId: b }).then((S) => {
|
|
3010
|
+
const g = Y(S);
|
|
3011
|
+
g && (f.value = N(g), n.value = Array.from({ length: Object.keys(f.value).length }, (A, F) => `${F}`));
|
|
2815
3012
|
});
|
|
2816
3013
|
}
|
|
2817
3014
|
function K() {
|
|
2818
|
-
|
|
3015
|
+
f.value = {};
|
|
2819
3016
|
}
|
|
2820
|
-
X(
|
|
2821
|
-
K(),
|
|
3017
|
+
X(a, () => {
|
|
3018
|
+
K(), H(a.value);
|
|
2822
3019
|
});
|
|
2823
|
-
const
|
|
2824
|
-
R.value.getInspectorTree({ inspectorId:
|
|
2825
|
-
const
|
|
2826
|
-
|
|
3020
|
+
const Z = () => {
|
|
3021
|
+
R.value.getInspectorTree({ inspectorId: l.value, filter: "" }).then((b) => {
|
|
3022
|
+
const S = Y(b);
|
|
3023
|
+
c.value = S, !a.value && S.length && (a.value = S[0].id, e.value = _(d.value, 1), H(S[0].id));
|
|
2827
3024
|
});
|
|
2828
3025
|
};
|
|
2829
|
-
|
|
3026
|
+
Pt(l).toBeTruthy().then(Z);
|
|
2830
3027
|
function T(b) {
|
|
2831
|
-
var
|
|
2832
|
-
const
|
|
2833
|
-
!
|
|
3028
|
+
var g, A;
|
|
3029
|
+
const S = Y(b);
|
|
3030
|
+
!S.rootNodes.length || S.inspectorId !== l.value || (c.value = S.rootNodes, v.value.includes(a.value) || (a.value = (A = (g = c.value) == null ? void 0 : g[0]) == null ? void 0 : A.id, e.value = _(d.value, 1)));
|
|
2834
3031
|
}
|
|
2835
3032
|
function P(b) {
|
|
2836
|
-
const
|
|
2837
|
-
if (
|
|
3033
|
+
const S = Y(b);
|
|
3034
|
+
if (S.inspectorId !== l.value || !S.state || S.nodeId !== a.value)
|
|
2838
3035
|
return;
|
|
2839
|
-
const { inspectorId:
|
|
2840
|
-
|
|
3036
|
+
const { inspectorId: g, ...A } = S.state;
|
|
3037
|
+
f.value = N(A);
|
|
2841
3038
|
}
|
|
2842
|
-
return
|
|
3039
|
+
return Re(() => {
|
|
2843
3040
|
R.functions.on(W.INSPECTOR_TREE_UPDATED, T), R.functions.on(W.INSPECTOR_STATE_UPDATED, P);
|
|
2844
3041
|
}), xe(() => {
|
|
2845
3042
|
R.functions.off(W.INSPECTOR_TREE_UPDATED, T), R.functions.off(W.INSPECTOR_STATE_UPDATED, P);
|
|
2846
|
-
}), (b,
|
|
2847
|
-
|
|
3043
|
+
}), (b, S) => (p(), h("div", El, [
|
|
3044
|
+
x(Te, {
|
|
2848
3045
|
"doc-link": r(o).homepage
|
|
2849
3046
|
}, {
|
|
2850
|
-
default:
|
|
2851
|
-
|
|
3047
|
+
default: M(() => [
|
|
3048
|
+
x(Se)
|
|
2852
3049
|
]),
|
|
2853
3050
|
_: 1
|
|
2854
3051
|
}, 8, ["doc-link"]),
|
|
2855
|
-
|
|
3052
|
+
c.value.length ? (p(), z(r(Ae), {
|
|
2856
3053
|
key: 0,
|
|
2857
3054
|
class: "flex-1 overflow-auto"
|
|
2858
3055
|
}, {
|
|
2859
|
-
default:
|
|
2860
|
-
|
|
3056
|
+
default: M(() => [
|
|
3057
|
+
x(r(ue), {
|
|
2861
3058
|
border: "r base",
|
|
2862
3059
|
size: "40",
|
|
2863
3060
|
"h-full": ""
|
|
2864
3061
|
}, {
|
|
2865
|
-
default:
|
|
2866
|
-
var
|
|
3062
|
+
default: M(() => {
|
|
3063
|
+
var g;
|
|
2867
3064
|
return [
|
|
2868
|
-
|
|
2869
|
-
(
|
|
2870
|
-
|
|
2871
|
-
(p(!0),
|
|
2872
|
-
key:
|
|
3065
|
+
i("div", Vl, [
|
|
3066
|
+
(g = u.value) != null && g.length ? (p(), h("div", Nl, [
|
|
3067
|
+
i("div", Rl, [
|
|
3068
|
+
(p(!0), h(te, null, ae(u.value, (A, F) => J((p(), h("div", {
|
|
3069
|
+
key: F,
|
|
2873
3070
|
class: "flex items-center gap1",
|
|
2874
|
-
onClick: (
|
|
3071
|
+
onClick: (le) => $(F)
|
|
2875
3072
|
}, [
|
|
2876
|
-
|
|
3073
|
+
x(r(yt), {
|
|
2877
3074
|
name: `baseline-${A.icon.replace(/\_/g, "-")}`,
|
|
2878
3075
|
"cursor-pointer": "",
|
|
2879
3076
|
op70: "",
|
|
2880
3077
|
"text-base": "",
|
|
2881
3078
|
"hover:op100": ""
|
|
2882
3079
|
}, null, 8, ["name"])
|
|
2883
|
-
], 8,
|
|
3080
|
+
], 8, Al)), [
|
|
2884
3081
|
[
|
|
2885
3082
|
r(Q),
|
|
2886
3083
|
{ content: A.tooltip },
|
|
@@ -2889,12 +3086,12 @@ const Ns = /* @__PURE__ */ ye(Is, [["render", Vs]]), As = {
|
|
|
2889
3086
|
]
|
|
2890
3087
|
])), 128))
|
|
2891
3088
|
])
|
|
2892
|
-
])) :
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
modelValue:
|
|
2896
|
-
"onUpdate:modelValue":
|
|
2897
|
-
data:
|
|
3089
|
+
])) : U("", !0),
|
|
3090
|
+
i("div", Dl, [
|
|
3091
|
+
x(Me, {
|
|
3092
|
+
modelValue: a.value,
|
|
3093
|
+
"onUpdate:modelValue": S[0] || (S[0] = (A) => a.value = A),
|
|
3094
|
+
data: c.value
|
|
2898
3095
|
}, null, 8, ["modelValue", "data"])
|
|
2899
3096
|
])
|
|
2900
3097
|
])
|
|
@@ -2902,26 +3099,26 @@ const Ns = /* @__PURE__ */ ye(Is, [["render", Vs]]), As = {
|
|
|
2902
3099
|
}),
|
|
2903
3100
|
_: 1
|
|
2904
3101
|
}),
|
|
2905
|
-
|
|
2906
|
-
default:
|
|
2907
|
-
var
|
|
3102
|
+
x(r(ue), { size: "60" }, {
|
|
3103
|
+
default: M(() => {
|
|
3104
|
+
var g;
|
|
2908
3105
|
return [
|
|
2909
|
-
|
|
2910
|
-
(
|
|
2911
|
-
|
|
2912
|
-
(p(!0),
|
|
2913
|
-
key:
|
|
3106
|
+
i("div", Pl, [
|
|
3107
|
+
(g = s.value) != null && g.length ? (p(), h("div", Ml, [
|
|
3108
|
+
i("div", Hl, [
|
|
3109
|
+
(p(!0), h(te, null, ae(s.value, (A, F) => J((p(), h("div", {
|
|
3110
|
+
key: F,
|
|
2914
3111
|
class: "flex items-center gap1",
|
|
2915
|
-
onClick: (
|
|
3112
|
+
onClick: (le) => V(F)
|
|
2916
3113
|
}, [
|
|
2917
|
-
|
|
3114
|
+
x(r(yt), {
|
|
2918
3115
|
name: `baseline-${A.icon.replace(/\_/g, "-")}`,
|
|
2919
3116
|
"cursor-pointer": "",
|
|
2920
3117
|
op70: "",
|
|
2921
3118
|
"text-base": "",
|
|
2922
3119
|
"hover:op100": ""
|
|
2923
3120
|
}, null, 8, ["name"])
|
|
2924
|
-
], 8,
|
|
3121
|
+
], 8, Ll)), [
|
|
2925
3122
|
[
|
|
2926
3123
|
r(Q),
|
|
2927
3124
|
{ content: A.tooltip },
|
|
@@ -2930,17 +3127,17 @@ const Ns = /* @__PURE__ */ ye(Is, [["render", Vs]]), As = {
|
|
|
2930
3127
|
]
|
|
2931
3128
|
])), 128))
|
|
2932
3129
|
])
|
|
2933
|
-
])) :
|
|
2934
|
-
|
|
3130
|
+
])) : U("", !0),
|
|
3131
|
+
a.value && !m.value ? (p(), z(Pe, {
|
|
2935
3132
|
key: 1,
|
|
2936
|
-
data:
|
|
2937
|
-
"node-id":
|
|
2938
|
-
"inspector-id":
|
|
3133
|
+
data: f.value,
|
|
3134
|
+
"node-id": a.value,
|
|
3135
|
+
"inspector-id": l.value,
|
|
2939
3136
|
"expanded-state-id": "custom-inspector-state",
|
|
2940
3137
|
class: "no-scrollbar flex-1 select-none overflow-scroll"
|
|
2941
|
-
}, null, 8, ["data", "node-id", "inspector-id"])) : (p(),
|
|
2942
|
-
default:
|
|
2943
|
-
|
|
3138
|
+
}, null, 8, ["data", "node-id", "inspector-id"])) : (p(), z(Ne, { key: 2 }, {
|
|
3139
|
+
default: M(() => [
|
|
3140
|
+
ne(" No Data ")
|
|
2944
3141
|
]),
|
|
2945
3142
|
_: 1
|
|
2946
3143
|
}))
|
|
@@ -2951,118 +3148,128 @@ const Ns = /* @__PURE__ */ ye(Is, [["render", Vs]]), As = {
|
|
|
2951
3148
|
})
|
|
2952
3149
|
]),
|
|
2953
3150
|
_: 1
|
|
2954
|
-
})) : (p(),
|
|
2955
|
-
default:
|
|
2956
|
-
|
|
3151
|
+
})) : (p(), z(Ne, { key: 1 }, {
|
|
3152
|
+
default: M(() => [
|
|
3153
|
+
ne(" No Data ")
|
|
2957
3154
|
]),
|
|
2958
3155
|
_: 1
|
|
2959
3156
|
}))
|
|
2960
3157
|
]));
|
|
2961
3158
|
}
|
|
2962
|
-
}),
|
|
3159
|
+
}), Ol = /* @__PURE__ */ B({
|
|
2963
3160
|
__name: "Index",
|
|
2964
3161
|
setup(t) {
|
|
2965
|
-
const e =
|
|
2966
|
-
return (n, o) => (p(),
|
|
3162
|
+
const e = be();
|
|
3163
|
+
return (n, o) => (p(), z(vt, {
|
|
2967
3164
|
"layer-ids": r(e).timelineLayerIds,
|
|
2968
3165
|
"doc-link": r(e).homepage
|
|
2969
3166
|
}, null, 8, ["layer-ids", "doc-link"]));
|
|
2970
3167
|
}
|
|
2971
|
-
}),
|
|
2972
|
-
/* @__PURE__ */
|
|
2973
|
-
/* @__PURE__ */
|
|
3168
|
+
}), Ul = {}, zl = (t) => (ot("data-v-b8018f07"), t = t(), st(), t), Bl = { class: "h-screen w-screen $ui-fcc flex-col" }, Zl = /* @__PURE__ */ zl(() => /* @__PURE__ */ i("div", { class: "outer" }, [
|
|
3169
|
+
/* @__PURE__ */ i("div", { class: "inner" }, [
|
|
3170
|
+
/* @__PURE__ */ i("i", {
|
|
2974
3171
|
class: "i-logos-vue inline-block h8! w8!",
|
|
2975
3172
|
alt: "Vue logo"
|
|
2976
3173
|
})
|
|
2977
3174
|
])
|
|
2978
3175
|
], -1));
|
|
2979
|
-
function
|
|
2980
|
-
return p(),
|
|
2981
|
-
|
|
2982
|
-
|
|
3176
|
+
function Fl(t, e) {
|
|
3177
|
+
return p(), h("div", Bl, [
|
|
3178
|
+
Zl,
|
|
3179
|
+
et(t.$slots, "default", {}, void 0, !0)
|
|
2983
3180
|
]);
|
|
2984
3181
|
}
|
|
2985
|
-
const
|
|
3182
|
+
const Gl = /* @__PURE__ */ ye(Ul, [["render", Fl], ["__scopeId", "data-v-b8018f07"]]), Kl = {
|
|
2986
3183
|
"h-full": "",
|
|
2987
3184
|
"w-full": ""
|
|
2988
|
-
},
|
|
3185
|
+
}, Wl = { key: 0 }, ia = /* @__PURE__ */ B({
|
|
2989
3186
|
__name: "index",
|
|
2990
3187
|
props: {
|
|
2991
3188
|
id: {}
|
|
2992
3189
|
},
|
|
2993
3190
|
emits: ["loadError"],
|
|
2994
3191
|
setup(t, { emit: e }) {
|
|
2995
|
-
const n = t, o = e,
|
|
2996
|
-
|
|
3192
|
+
const n = t, o = e, l = Kt(), s = I(!1), u = I(null);
|
|
3193
|
+
provide("pluginSettings", u);
|
|
3194
|
+
const c = D(() => {
|
|
3195
|
+
var a;
|
|
2997
3196
|
return [
|
|
2998
3197
|
{
|
|
2999
3198
|
path: "/state",
|
|
3000
3199
|
name: "State",
|
|
3001
|
-
component:
|
|
3200
|
+
component: jl,
|
|
3002
3201
|
icon: "i-carbon-tree-view-alt"
|
|
3003
3202
|
},
|
|
3004
|
-
((
|
|
3203
|
+
((a = l.value.timelineLayerIds) == null ? void 0 : a.length) && {
|
|
3005
3204
|
path: "/timeline",
|
|
3006
3205
|
name: "Timeline",
|
|
3007
|
-
component:
|
|
3206
|
+
component: Ol,
|
|
3008
3207
|
icon: "i-mdi:timeline-clock-outline"
|
|
3009
3208
|
},
|
|
3010
3209
|
{
|
|
3011
3210
|
path: "/about",
|
|
3012
3211
|
name: "About",
|
|
3013
|
-
component:
|
|
3212
|
+
component: Il
|
|
3213
|
+
},
|
|
3214
|
+
u.value && {
|
|
3215
|
+
path: "/settings",
|
|
3216
|
+
name: "Settings",
|
|
3217
|
+
component: Tl,
|
|
3218
|
+
icon: "i-mdi:cog-outline"
|
|
3014
3219
|
}
|
|
3015
3220
|
].filter(Boolean);
|
|
3016
|
-
}), { VirtualRouterView:
|
|
3221
|
+
}), { VirtualRouterView: d, restoreRouter: C } = it(c, {
|
|
3017
3222
|
defaultRoutePath: "/state"
|
|
3018
3223
|
});
|
|
3019
|
-
function
|
|
3020
|
-
|
|
3021
|
-
R.value.getInspectorInfo(n.id).then((
|
|
3022
|
-
if (!
|
|
3224
|
+
function v() {
|
|
3225
|
+
s.value = !0, Re(() => {
|
|
3226
|
+
R.value.getInspectorInfo(n.id).then((a) => {
|
|
3227
|
+
if (!a) {
|
|
3023
3228
|
o("loadError");
|
|
3024
3229
|
return;
|
|
3025
3230
|
}
|
|
3026
|
-
const
|
|
3027
|
-
homepage:
|
|
3028
|
-
id:
|
|
3029
|
-
label:
|
|
3030
|
-
logo:
|
|
3031
|
-
timelineLayerIds:
|
|
3231
|
+
const f = {
|
|
3232
|
+
homepage: a == null ? void 0 : a.homepage,
|
|
3233
|
+
id: a == null ? void 0 : a.id,
|
|
3234
|
+
label: a == null ? void 0 : a.label,
|
|
3235
|
+
logo: a == null ? void 0 : a.logo,
|
|
3236
|
+
timelineLayerIds: a == null ? void 0 : a.timelineLayers.map((m) => m.id)
|
|
3032
3237
|
};
|
|
3033
|
-
|
|
3238
|
+
l.value = f, C(), s.value = !1;
|
|
3239
|
+
}), R.value.getPluginSettings(n.id).then((a) => {
|
|
3240
|
+
a.options ? u.value = a : u.value = null;
|
|
3034
3241
|
});
|
|
3035
3242
|
});
|
|
3036
3243
|
}
|
|
3037
3244
|
return X(() => n.id, () => {
|
|
3038
|
-
|
|
3245
|
+
v();
|
|
3039
3246
|
}, {
|
|
3040
3247
|
immediate: !0
|
|
3041
3248
|
}), xe(() => {
|
|
3042
3249
|
R.value.unhighlight();
|
|
3043
|
-
}), (
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
])) : (p(),
|
|
3250
|
+
}), (a, f) => (p(), h("div", Kl, [
|
|
3251
|
+
s.value ? (p(), h("div", Wl, [
|
|
3252
|
+
x(Gl)
|
|
3253
|
+
])) : (p(), z(r(d), { key: 1 }))
|
|
3047
3254
|
]));
|
|
3048
3255
|
}
|
|
3049
3256
|
});
|
|
3050
|
-
function
|
|
3257
|
+
function ra() {
|
|
3051
3258
|
const t = I([]), e = I([]);
|
|
3052
|
-
function n(
|
|
3053
|
-
e.value =
|
|
3054
|
-
o(
|
|
3259
|
+
function n(l) {
|
|
3260
|
+
e.value = l, l.length < t.value.length && (t.value = []), e.value.forEach((s) => {
|
|
3261
|
+
o(s);
|
|
3055
3262
|
});
|
|
3056
3263
|
}
|
|
3057
|
-
|
|
3058
|
-
R.value.getCustomInspector().then((
|
|
3059
|
-
e.value =
|
|
3060
|
-
o(
|
|
3264
|
+
Re(() => {
|
|
3265
|
+
R.value.getCustomInspector().then((l) => {
|
|
3266
|
+
e.value = l, e.value.forEach((s) => {
|
|
3267
|
+
o(s);
|
|
3061
3268
|
});
|
|
3062
3269
|
}), R.functions.on(W.INSPECTOR_UPDATED, n);
|
|
3063
3270
|
});
|
|
3064
|
-
function o(
|
|
3065
|
-
t.value.some((
|
|
3271
|
+
function o(l) {
|
|
3272
|
+
t.value.some((s) => s.id === l.id) || t.value.push(l);
|
|
3066
3273
|
}
|
|
3067
3274
|
return xe(() => {
|
|
3068
3275
|
R.functions.off(W.INSPECTOR_UPDATED, n);
|
|
@@ -3072,9 +3279,9 @@ function Pl() {
|
|
|
3072
3279
|
};
|
|
3073
3280
|
}
|
|
3074
3281
|
export {
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3282
|
+
la as Components,
|
|
3283
|
+
ia as CustomInspector,
|
|
3284
|
+
sa as Pinia,
|
|
3285
|
+
aa as Router,
|
|
3286
|
+
ra as useCustomInspector
|
|
3080
3287
|
};
|