@windwalker-io/core 4.0.9 → 4.1.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/debugger/100-a64696bac484f689dc7f.js +2 -0
- package/dist/debugger/100.js.map +1 -0
- package/dist/debugger/153-0a5b226321a7cb0ca385.js +2 -0
- package/dist/debugger/153.js.map +1 -0
- package/dist/debugger/282-a3b07d57b6065a0ab97b.js +2 -0
- package/dist/debugger/282.js.map +1 -0
- package/dist/debugger/358-bdcf2ec8126fe2a9a049.js +2 -0
- package/dist/debugger/358.js.map +1 -1
- package/dist/debugger/416-86068592d1c650d90f44.js +2 -0
- package/dist/debugger/416.js.map +1 -0
- package/dist/debugger/489-6dc4df1408fa9cfc4c39.js +2 -0
- package/dist/debugger/489.js.map +1 -0
- package/dist/debugger/694-c816d301f72b3ee67630.js +2 -0
- package/dist/debugger/694.js.map +1 -1
- package/dist/debugger/941-b055306408b55426de85.js +2 -0
- package/dist/debugger/941.js.map +1 -0
- package/dist/debugger/index.js +3 -0
- package/dist/debugger/index.js.LICENSE.txt +7 -0
- package/dist/debugger/main.js.map +1 -0
- package/dist/debugger/windwalker-logo-h-w.svg +1 -0
- package/dist/debugger-console.css +1 -1
- package/dist/debugger-console.css.map +1 -1
- package/dist/debugger-console.js +1 -1
- package/fusionfile.mjs +14 -27
- package/images/debugger-icon.png +0 -0
- package/package.json +54 -48
- package/scss/_variables.scss +9 -0
- package/scss/base/_typography.scss +1 -1
- package/scss/debugger-console.scss +6 -0
- package/scss/layout/_sidebar.scss +1 -2
- package/src/asset-sync.mjs +51 -3
- package/src/console/debugger-console.js +1 -6
- package/src/debugger/App.vue +18 -24
- package/src/debugger/Store.vue +1 -1
- package/src/debugger/components/BsModal.vue +1 -1
- package/src/debugger/components/db/QueryInfo.vue +9 -8
- package/src/debugger/components/timeline/TimelineTable.vue +1 -1
- package/src/debugger/debugger.js +5 -10
- package/src/debugger/font-awesome.js +11 -12
- package/src/debugger/images/windwalker-logo-h-w.svg +1 -0
- package/src/debugger/layouts/DefaultLayout.vue +5 -18
- package/src/debugger/routes.js +1 -6
- package/src/debugger/services/http.js +1 -6
- package/src/debugger/services/nav.js +3 -8
- package/src/debugger/services/store.js +2 -9
- package/src/debugger/services/utilities.js +17 -6
- package/src/debugger/types/global.d.js +2 -0
- package/src/debugger/views/Dashboard.vue +33 -34
- package/src/debugger/views/Database.vue +52 -76
- package/src/debugger/views/Events.vue +4 -77
- package/src/debugger/views/Routing.vue +2 -2
- package/src/debugger/views/System.vue +1 -1
- package/src/install-vendors.mjs +51 -22
- package/tsconfig.js.json +15 -0
- package/types/global.d.ts +12 -0
- package/types/index.d.ts +5 -0
- package/types/shims-sweetalert.d.ts +8 -0
- package/types/unicorn.d.ts +1 -0
- package/types/vendor.d.ts +1 -0
- package/types/vue/global.d.ts +14 -0
- package/types/vue/shims-vue.d.ts +5 -0
- package/types/vue/vue-runtime.d.ts +16 -0
- package/dist/debugger/114.js.map +0 -1
- package/dist/debugger/338.js.map +0 -1
- package/dist/debugger/500.js.map +0 -1
- package/dist/debugger/548.js.map +0 -1
- package/dist/debugger/798.js.map +0 -1
- package/dist/debugger/851.js.map +0 -1
- package/dist/debugger/864.js.map +0 -1
- package/dist/debugger/chunk-vendor-114.js +0 -3
- package/dist/debugger/chunk-vendor-114.js.LICENSE.txt +0 -8
- package/dist/debugger/chunk-vendor-338.js +0 -3
- package/dist/debugger/chunk-vendor-338.js.LICENSE.txt +0 -15
- package/dist/debugger/chunk-vendor-358.js +0 -2
- package/dist/debugger/chunk-vendor-500.js +0 -3
- package/dist/debugger/chunk-vendor-500.js.LICENSE.txt +0 -8
- package/dist/debugger/chunk-vendor-548.js +0 -3
- package/dist/debugger/chunk-vendor-548.js.LICENSE.txt +0 -15
- package/dist/debugger/chunk-vendor-694.js +0 -3
- package/dist/debugger/chunk-vendor-694.js.LICENSE.txt +0 -1
- package/dist/debugger/chunk-vendor-798.js +0 -3
- package/dist/debugger/chunk-vendor-798.js.LICENSE.txt +0 -1
- package/dist/debugger/chunk-vendor-851.js +0 -3
- package/dist/debugger/chunk-vendor-851.js.LICENSE.txt +0 -8
- package/dist/debugger/chunk-vendor-864.js +0 -3
- package/dist/debugger/chunk-vendor-864.js.LICENSE.txt +0 -1
- package/dist/debugger/debugger.js +0 -3
- package/dist/debugger/debugger.js.LICENSE.txt +0 -21
- package/dist/debugger/debugger.js.map +0 -1
- package/dist/debugger/dev/chunk-vendor-scss_debugger_scss.js +0 -219
- package/dist/debugger/dev/chunk-vendor-src_debugger_layouts_DefaultLayout_vue.js +0 -77
- package/dist/debugger/dev/chunk-vendor-src_debugger_views_Dashboard_vue.js +0 -81
- package/dist/debugger/dev/chunk-vendor-src_debugger_views_Database_vue.js +0 -187
- package/dist/debugger/dev/chunk-vendor-src_debugger_views_Events_vue.js +0 -122
- package/dist/debugger/dev/chunk-vendor-src_debugger_views_Request_vue.js +0 -122
- package/dist/debugger/dev/chunk-vendor-src_debugger_views_Routing_vue.js +0 -122
- package/dist/debugger/dev/chunk-vendor-src_debugger_views_System_vue.js +0 -67
- package/dist/debugger/dev/chunk-vendor-src_debugger_views_Timeline_vue.js +0 -132
- package/dist/debugger/dev/chunk-vendor-vendors-node_modules_bootstrap_js_src_modal_js-node_modules_sql-formatter_lib_index_js.js +0 -923
- package/dist/debugger/dev/chunk-vendor-vendors-node_modules_sql-formatter_lib_index_js-node_modules_bootstrap_js_src_modal_js.js +0 -923
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 273.84 44.18"><defs><style>.cls-1{fill:#00aa61;}.cls-2{opacity:0.5;}.cls-3{fill:url(#未命名漸層_96);}.cls-4{fill:#fff;}.cls-5{fill:url(#primary);}.cls-6{fill:#f2f2f2;}</style><linearGradient id="未命名漸層_96" x1="30.36" y1="25.23" x2="36.5" y2="20.93" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="0.07" stop-opacity="0.83"/><stop offset="0.5" stop-opacity="0.65"/><stop offset="0.93" stop-opacity="0.83"/><stop offset="1"/></linearGradient><linearGradient id="primary" x1="61.28" y1="38.13" x2="11.96" y2="-11.19" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#38f8d6"/><stop offset="0.61" stop-color="#43e87b"/></linearGradient></defs><g id="圖層_1" data-name="圖層 1"><polygon class="cls-1" points="26.84 20.2 40.01 38.6 40.01 25.95 26.84 7.55 26.84 20.2"/><g class="cls-2"><polygon class="cls-3" points="26.84 20.2 40.01 38.6 40.01 25.95 26.84 7.55 26.84 20.2"/></g><path class="cls-4" d="M53.23,0H43.8a.47.47,0,0,0-.39.74L61.79,26.56a.47.47,0,0,0,.85-.28V9.41A9.41,9.41,0,0,0,53.23,0Z"/><path class="cls-4" d="M7.89.5H.47a.47.47,0,0,0-.38.74L24,34.67a9.38,9.38,0,0,0,7.65,3.93H40L15.54,4.43A9.38,9.38,0,0,0,7.89.5Z"/><path class="cls-4" d="M42.83,11.48a9.44,9.44,0,0,0-7.65-3.93H26.84L46.26,34.67a9.4,9.4,0,0,0,7.65,3.93h6.5a.94.94,0,0,0,.77-1.49Z"/><path class="cls-5" d="M53.23,0H43.8a.47.47,0,0,0-.39.74L61.79,26.56a.47.47,0,0,0,.85-.28V9.41A9.41,9.41,0,0,0,53.23,0Z"/><path class="cls-5" d="M7.89.5H.47a.47.47,0,0,0-.38.74L24,34.67a9.38,9.38,0,0,0,7.65,3.93H40L15.54,4.43A9.38,9.38,0,0,0,7.89.5Z"/><path class="cls-5" d="M42.83,11.48a9.44,9.44,0,0,0-7.65-3.93H26.84L46.26,34.67a9.4,9.4,0,0,0,7.65,3.93h6.5a.94.94,0,0,0,.77-1.49Z"/><path class="cls-6" d="M106.48,11a3,3,0,0,1,1.68-.51,2.87,2.87,0,0,1,2,.72,2.39,2.39,0,0,1,.84,1.93,4.44,4.44,0,0,1-.27,1.36L103.84,33a2.77,2.77,0,0,1-1.24,1.48,3.87,3.87,0,0,1-2,.53,3.8,3.8,0,0,1-2-.53A2.79,2.79,0,0,1,97.41,33L93,20.38,88.37,33a2.94,2.94,0,0,1-1.26,1.48,3.71,3.71,0,0,1-1.93.53,3.81,3.81,0,0,1-2-.53A2.78,2.78,0,0,1,82,33l-6.87-18.5a3.85,3.85,0,0,1-.24-1.29,2.43,2.43,0,0,1,.9-2,3.26,3.26,0,0,1,2.09-.73,3.3,3.3,0,0,1,1.76.5,2.71,2.71,0,0,1,1.14,1.47l4.65,13.4,4.93-13.4A2.89,2.89,0,0,1,91.45,11a3,3,0,0,1,1.68-.51,2.84,2.84,0,0,1,2.76,2l4.62,13.67,4.86-13.71A2.89,2.89,0,0,1,106.48,11Z"/><path class="cls-6" d="M114.33,14.44a2.69,2.69,0,0,1-.9-2.12,2.64,2.64,0,0,1,.9-2.11,4.14,4.14,0,0,1,4.84,0,2.6,2.6,0,0,1,.92,2.11,2.69,2.69,0,0,1-.9,2.12,4.09,4.09,0,0,1-4.86,0Zm.27,19.76a2.52,2.52,0,0,1-.87-2.09V20.41a2.51,2.51,0,0,1,.87-2.09,3.68,3.68,0,0,1,4.32,0,2.51,2.51,0,0,1,.87,2.09v11.7a2.52,2.52,0,0,1-.87,2.09,3.73,3.73,0,0,1-4.32,0Z"/><path class="cls-6" d="M139,19.34a8.47,8.47,0,0,1,1.46,5.42v7.35a2.62,2.62,0,0,1-.82,2,3.67,3.67,0,0,1-4.42,0,2.64,2.64,0,0,1-.81-2V25a3.57,3.57,0,0,0-.53-2.17,1.86,1.86,0,0,0-1.58-.68,2.78,2.78,0,0,0-2.16.87,3.29,3.29,0,0,0-.8,2.32v6.74a2.62,2.62,0,0,1-.82,2,3.67,3.67,0,0,1-4.42,0,2.64,2.64,0,0,1-.81-2V20.34a2.5,2.5,0,0,1,.85-1.95,3.16,3.16,0,0,1,2.21-.77,2.86,2.86,0,0,1,2.05.72,2.43,2.43,0,0,1,.77,1.87,5.89,5.89,0,0,1,2.28-2,7,7,0,0,1,3.09-.68A5.44,5.44,0,0,1,139,19.34Z"/><path class="cls-6" d="M160.71,11.32a2.49,2.49,0,0,1,.86,1.95V32.11a2.64,2.64,0,0,1-.81,2,3.1,3.1,0,0,1-2.18.74,3.14,3.14,0,0,1-2.06-.66,2.56,2.56,0,0,1-.9-1.82,4.78,4.78,0,0,1-2.09,1.87,6.69,6.69,0,0,1-3,.68,6.89,6.89,0,0,1-3.83-1.1A7.46,7.46,0,0,1,144,30.75a10.52,10.52,0,0,1-.95-4.59,10.43,10.43,0,0,1,.93-4.54,7,7,0,0,1,2.62-3,7.14,7.14,0,0,1,3.86-1.06,6.73,6.73,0,0,1,2.94.65,5.28,5.28,0,0,1,2.09,1.73V13.17a2.45,2.45,0,0,1,.8-1.91,3.14,3.14,0,0,1,2.16-.71A3.27,3.27,0,0,1,160.71,11.32Zm-5.94,18a5,5,0,0,0,.85-3.13,4.82,4.82,0,0,0-.85-3.07,3.32,3.32,0,0,0-4.86,0,4.69,4.69,0,0,0-.85,3,5.05,5.05,0,0,0,.87,3.16,2.84,2.84,0,0,0,2.39,1.12A2.9,2.9,0,0,0,154.77,29.35Z"/><path class="cls-6" d="M188.42,18.05a2.32,2.32,0,0,1,1.37-.43,3,3,0,0,1,2,.77,2.36,2.36,0,0,1,.88,1.85,2.81,2.81,0,0,1-.27,1.12l-5.51,11.8a2.81,2.81,0,0,1-1.14,1.31,3.17,3.17,0,0,1-1.68.46,3.11,3.11,0,0,1-1.67-.46,2.88,2.88,0,0,1-1.12-1.31L178.06,26l-3,7.17a2.65,2.65,0,0,1-1.11,1.31,3.17,3.17,0,0,1-1.68.46,3.23,3.23,0,0,1-1.69-.46,3,3,0,0,1-1.17-1.31l-5.47-11.8a2.52,2.52,0,0,1-.24-1.09,2.33,2.33,0,0,1,.94-1.88,3.2,3.2,0,0,1,2.09-.77,2.61,2.61,0,0,1,1.47.43,2.57,2.57,0,0,1,1,1.31l3.23,7.85,3.3-7.82a2.51,2.51,0,0,1,1.05-1.29,2.88,2.88,0,0,1,3.06,0,2.51,2.51,0,0,1,1,1.29l3.4,7.85,3.17-7.92A2.64,2.64,0,0,1,188.42,18.05Z"/><path class="cls-6" d="M208.14,19.41C209.37,20.64,210,22.52,210,25v7.11a2.65,2.65,0,0,1-.77,2,2.94,2.94,0,0,1-2.12.73,2.8,2.8,0,0,1-2-.68,2.5,2.5,0,0,1-.83-1.83,3.77,3.77,0,0,1-1.6,1.9A5,5,0,0,1,200,35a7,7,0,0,1-3.13-.69,5.61,5.61,0,0,1-2.2-1.94,5.09,5.09,0,0,1-.79-2.81,4.22,4.22,0,0,1,.93-2.87,5.54,5.54,0,0,1,3-1.55,25.09,25.09,0,0,1,5.5-.47h.92v-.41a2.32,2.32,0,0,0-.54-1.72,2.61,2.61,0,0,0-1.84-.53,13.41,13.41,0,0,0-4.08,1,4.17,4.17,0,0,1-1.32.27,1.7,1.7,0,0,1-1.36-.61,2.42,2.42,0,0,1-.51-1.6,2.29,2.29,0,0,1,.3-1.23,2.74,2.74,0,0,1,1-.85,12.18,12.18,0,0,1,3-1,17.34,17.34,0,0,1,3.54-.38Q206.28,17.55,208.14,19.41Zm-4.68,10.64a3.21,3.21,0,0,0,.78-2.23v-.41h-.54a8.47,8.47,0,0,0-3.1.4,1.33,1.33,0,0,0-.91,1.3,1.78,1.78,0,0,0,.49,1.3,1.69,1.69,0,0,0,1.27.51A2.58,2.58,0,0,0,203.46,30.05Z"/><path class="cls-6" d="M214.25,34.2a2.55,2.55,0,0,1-.86-2.09V13.37a2.6,2.6,0,0,1,.86-2.11,3.64,3.64,0,0,1,4.32,0,2.58,2.58,0,0,1,.87,2.11V32.11a2.52,2.52,0,0,1-.87,2.09,3.73,3.73,0,0,1-4.32,0Z"/><path class="cls-6" d="M240.52,32a2.93,2.93,0,0,1-.8,2,2.48,2.48,0,0,1-1.92.88,2.88,2.88,0,0,1-1.91-.85L229,27.45V32a2.6,2.6,0,0,1-.86,2.11,3.64,3.64,0,0,1-4.32,0,2.58,2.58,0,0,1-.87-2.11V13.37a2.58,2.58,0,0,1,.87-2.11,3.64,3.64,0,0,1,4.32,0,2.6,2.6,0,0,1,.86,2.11V24.9l6.29-6.39a2.64,2.64,0,0,1,3.9-.06,2.64,2.64,0,0,1,.83,1.89,2.74,2.74,0,0,1-.88,1.94L235.42,26,239.64,30A2.69,2.69,0,0,1,240.52,32Z"/><path class="cls-6" d="M257.4,29.93a2.46,2.46,0,0,1,.49,1.6,2.23,2.23,0,0,1-1.32,2.07,13,13,0,0,1-2.74,1,12.17,12.17,0,0,1-2.91.39,10.61,10.61,0,0,1-4.86-1.05,7.41,7.41,0,0,1-3.19-3,9.14,9.14,0,0,1-1.13-4.62,9.42,9.42,0,0,1,1.07-4.51,7.82,7.82,0,0,1,3-3.09,8.48,8.48,0,0,1,4.33-1.11,8.1,8.1,0,0,1,4.12,1A7,7,0,0,1,257,21.46a9.38,9.38,0,0,1,1,4.39,1.84,1.84,0,0,1-.36,1.21,1.26,1.26,0,0,1-1,.42h-9a3.77,3.77,0,0,0,1,2.35,3.62,3.62,0,0,0,2.42.71,6.3,6.3,0,0,0,1.56-.18,15.65,15.65,0,0,0,1.6-.53c.34-.14.67-.26,1-.36a3.14,3.14,0,0,1,.91-.15A1.55,1.55,0,0,1,257.4,29.93Zm-9-7.53a3.64,3.64,0,0,0-.85,2.23h5.33q-.19-3-2.58-3A2.47,2.47,0,0,0,248.41,22.4Z"/><path class="cls-6" d="M273.16,18.15a2.42,2.42,0,0,1,.68,1.85,2.63,2.63,0,0,1-.63,2,3.85,3.85,0,0,1-2.26.79l-1,.1a3.57,3.57,0,0,0-2.43,1.07,3.53,3.53,0,0,0-.73,2.36v5.82a2.52,2.52,0,0,1-.87,2.09,3.73,3.73,0,0,1-4.32,0,2.52,2.52,0,0,1-.87-2.09V20.34a2.43,2.43,0,0,1,.87-2,3.18,3.18,0,0,1,2.09-.72,3,3,0,0,1,2,.68,2.43,2.43,0,0,1,.76,1.91v.64a4.52,4.52,0,0,1,1.79-2.31,5.09,5.09,0,0,1,2.6-.88l.47,0A2.28,2.28,0,0,1,273.16,18.15Z"/></g></svg>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.wd-fixed{position:fixed}.wd-bottom-0{bottom:0}.wd-mb-1{margin-bottom:.25rem}.wd-flex{display:-webkit-box;display:-ms-flexbox;display:flex}.wd-w-full{width:100%}@-webkit-keyframes wd-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes wd-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes wd-ping{100%,75%{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes wd-ping{100%,75%{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@-webkit-keyframes wd-pulse{50%{opacity:.5}}@keyframes wd-pulse{50%{opacity:.5}}@-webkit-keyframes wd-bounce{0%,100%{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes wd-bounce{0%,100%{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.wd-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wd-rounded-full{border-radius:9999px}.wd-bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.wd-bg-gray-800{--tw-bg-opacity:1;background-color:rgba(37,47,63,var(--tw-bg-opacity))}.hover\:wd-bg-gray-700:hover{--tw-bg-opacity:1;background-color:rgba(55,65,81,var(--tw-bg-opacity))}.wd-p-3{padding:.75rem}.wd-px-3{padding-left:.75rem;padding-right:.75rem}.wd-px-5{padding-left:1.25rem;padding-right:1.25rem}.wd-text-sm{font-size:.875rem;line-height:1.25rem}.wd-text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.wd-text-gray-800{--tw-text-opacity:1;color:rgba(37,47,63,var(--tw-text-opacity))}.wd-no-underline{text-decoration:none}*,::after,::before{--tw-shadow:0 0 #0000}*,::after,::before{--tw-ring-inset:var(--tw-empty, );/*!*//*!*/--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(63, 131, 248, 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000}html{padding-bottom:50px}
|
|
1
|
+
.wd-fixed{position:fixed}.wd-bottom-0{bottom:0}.wd-mb-1{margin-bottom:.25rem}.wd-flex{display:-webkit-box;display:-ms-flexbox;display:flex}.wd-w-full{width:100%}@-webkit-keyframes wd-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes wd-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes wd-ping{100%,75%{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@keyframes wd-ping{100%,75%{-webkit-transform:scale(2);transform:scale(2);opacity:0}}@-webkit-keyframes wd-pulse{50%{opacity:.5}}@keyframes wd-pulse{50%{opacity:.5}}@-webkit-keyframes wd-bounce{0%,100%{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes wd-bounce{0%,100%{-webkit-transform:translateY(-25%);transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{-webkit-transform:none;transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}.wd-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wd-whitespace-nowrap{white-space:nowrap}.wd-rounded-full{border-radius:9999px}.wd-bg-white{--tw-bg-opacity:1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.wd-bg-gray-800{--tw-bg-opacity:1;background-color:rgba(37,47,63,var(--tw-bg-opacity))}.hover\:wd-bg-gray-700:hover{--tw-bg-opacity:1;background-color:rgba(55,65,81,var(--tw-bg-opacity))}.wd-p-3{padding:.75rem}.wd-px-3{padding-left:.75rem;padding-right:.75rem}.wd-px-5{padding-left:1.25rem;padding-right:1.25rem}.wd-text-sm{font-size:.875rem;line-height:1.25rem}.wd-text-white{--tw-text-opacity:1;color:rgba(255,255,255,var(--tw-text-opacity))}.wd-text-gray-800{--tw-text-opacity:1;color:rgba(37,47,63,var(--tw-text-opacity))}.wd-no-underline{text-decoration:none}*,::after,::before{--tw-shadow:0 0 #0000}*,::after,::before{--tw-ring-inset:var(--tw-empty, );/*!*//*!*/--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(63, 131, 248, 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000}html{padding-bottom:50px}.ww-debug-console::-webkit-scrollbar{display:none}
|
|
2
2
|
/*# sourceMappingURL=debugger-console.css.map */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["debugger-console.scss"],"names":[],"mappings":"AASA,UAAA,SAAA,MAAA,aAAA,OAAA,EAAA,SAAA,cAAA,OAAA,SAAA,QAAA,YAAA,QAAA,YAAA,QAAA,KAAA,WAAA,MAAA,KAAA,2BAAA,GAAA,kBAAA,eAAA,UAAA,gBAAA,mBAAA,GAAA,kBAAA,eAAA,UAAA,gBAAA,2BAAA,KAAA,IAAA,kBAAA,SAAA,UAAA,SAAA,QAAA,GAAA,mBAAA,KAAA,IAAA,kBAAA,SAAA,UAAA,SAAA,QAAA,GAAA,4BAAA,IAAA,QAAA,IAAA,oBAAA,IAAA,QAAA,IAAA,6BAAA,GAAA,KAAA,kBAAA,iBAAA,UAAA,iBAAA,kCAAA,uBAAA,0BAAA,uBAAA,IAAA,kBAAA,KAAA,UAAA,KAAA,kCAAA,uBAAA,0BAAA,wBAAA,qBAAA,GAAA,KAAA,kBAAA,iBAAA,UAAA,iBAAA,kCAAA,uBAAA,0BAAA,uBAAA,IAAA,kBAAA,KAAA,UAAA,KAAA,kCAAA,uBAAA,0BAAA,wBAAA,iBAAA,kBAAA,OAAA,eAAA,OAAA,YAAA,OAAA,iBAAA,cAAA,OAAA,aAAA,gBAAA,EAAA,iBAAA,uCAAA,gBAAA,gBAAA,EAAA,iBAAA,oCAAA,6BAAA,gBAAA,EAAA,iBAAA,oCAAA,QAAA,QAAA,OAAA,SAAA,aAAA,OAAA,cAAA,OAAA,SAAA,aAAA,QAAA,cAAA,QAAA,YAAA,UAAA,QAAA,YAAA,QAAA,eAAA,kBAAA,EAAA,MAAA,yCAAA,kBAAA,kBAAA,EAAA,MAAA,sCAAA,iBAAA,gBAAA,KAAA,EAAA,QAAA,SAAA,YAAA,EAAA,EAAA,MAAA,EAAA,QAAA,SAAA,gBAAA,kBAAA,KAAA,KAAA,uBAAA,IAAA,uBAAA,KAAA,gBAAA,wBAAA,wBAAA,EAAA,EAAA,MAAA,iBAAA,EAAA,EAAA,MAEA,KACA,eAAA","file":"debugger-console.css","sourcesContent":["/**\n * Part of starter project. \n *\n * @copyright Copyright (C) 2021 __ORGANIZATION__.\n * @license __LICENSE__\n */\n\n//@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\nhtml {\n padding-bottom: 50px;\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["debugger-console.scss"],"names":[],"mappings":"AASA,UAAA,SAAA,MAAA,aAAA,OAAA,EAAA,SAAA,cAAA,OAAA,SAAA,QAAA,YAAA,QAAA,YAAA,QAAA,KAAA,WAAA,MAAA,KAAA,2BAAA,GAAA,kBAAA,eAAA,UAAA,gBAAA,mBAAA,GAAA,kBAAA,eAAA,UAAA,gBAAA,2BAAA,KAAA,IAAA,kBAAA,SAAA,UAAA,SAAA,QAAA,GAAA,mBAAA,KAAA,IAAA,kBAAA,SAAA,UAAA,SAAA,QAAA,GAAA,4BAAA,IAAA,QAAA,IAAA,oBAAA,IAAA,QAAA,IAAA,6BAAA,GAAA,KAAA,kBAAA,iBAAA,UAAA,iBAAA,kCAAA,uBAAA,0BAAA,uBAAA,IAAA,kBAAA,KAAA,UAAA,KAAA,kCAAA,uBAAA,0BAAA,wBAAA,qBAAA,GAAA,KAAA,kBAAA,iBAAA,UAAA,iBAAA,kCAAA,uBAAA,0BAAA,uBAAA,IAAA,kBAAA,KAAA,UAAA,KAAA,kCAAA,uBAAA,0BAAA,wBAAA,iBAAA,kBAAA,OAAA,eAAA,OAAA,YAAA,OAAA,sBAAA,YAAA,OAAA,iBAAA,cAAA,OAAA,aAAA,gBAAA,EAAA,iBAAA,uCAAA,gBAAA,gBAAA,EAAA,iBAAA,oCAAA,6BAAA,gBAAA,EAAA,iBAAA,oCAAA,QAAA,QAAA,OAAA,SAAA,aAAA,OAAA,cAAA,OAAA,SAAA,aAAA,QAAA,cAAA,QAAA,YAAA,UAAA,QAAA,YAAA,QAAA,eAAA,kBAAA,EAAA,MAAA,yCAAA,kBAAA,kBAAA,EAAA,MAAA,sCAAA,iBAAA,gBAAA,KAAA,EAAA,QAAA,SAAA,YAAA,EAAA,EAAA,MAAA,EAAA,QAAA,SAAA,gBAAA,kBAAA,KAAA,KAAA,uBAAA,IAAA,uBAAA,KAAA,gBAAA,wBAAA,wBAAA,EAAA,EAAA,MAAA,iBAAA,EAAA,EAAA,MAEA,KACA,eAAA,KAIA,qCACA,QAAA","file":"debugger-console.css","sourcesContent":["/**\n * Part of starter project. \n *\n * @copyright Copyright (C) 2021 __ORGANIZATION__.\n * @license __LICENSE__\n */\n\n//@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\nhtml {\n padding-bottom: 50px;\n}\n\n.ww-debug-console {\n &::-webkit-scrollbar {\n display: none;\n }\n}\n"]}
|
package/dist/debugger-console.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(
|
|
1
|
+
(() => {})();
|
|
2
2
|
//# sourceMappingURL=debugger-console.js.map
|
package/fusionfile.mjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import fusion, { watch, parallel, src, dest, wait } from '@windwalker-io/fusion';
|
|
8
|
+
import fusion, { watch, parallel, src, dest, wait, webpackVueBundle } from '@windwalker-io/fusion';
|
|
9
9
|
import { babelBasicOptions } from '@windwalker-io/fusion/src/utilities/babel.js';
|
|
10
10
|
import postcss from 'gulp-postcss';
|
|
11
11
|
import path from 'path';
|
|
@@ -13,34 +13,21 @@ import tailwindcss from 'tailwindcss';
|
|
|
13
13
|
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
|
|
14
14
|
|
|
15
15
|
export async function debuggers() {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'dist/debugger/',
|
|
24
|
-
{
|
|
25
|
-
override: (config) => {
|
|
26
|
-
config.resolve.alias = {
|
|
27
|
-
'@': path.resolve(path.resolve(), './src/debugger/') // Will be overwrite when compile
|
|
28
|
-
}
|
|
16
|
+
return webpackVueBundle(
|
|
17
|
+
'src/debugger/debugger.js',
|
|
18
|
+
'dist/debugger/index.js',
|
|
19
|
+
(config) => {
|
|
20
|
+
config.resolve.alias = {
|
|
21
|
+
'@': path.resolve(path.resolve(), './src/debugger/') // Will be overwrite when compile
|
|
22
|
+
};
|
|
29
23
|
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
// @see https://webpack.js.org/guides/public-path/#automatic-publicpath
|
|
25
|
+
config.output.publicPath = "auto";
|
|
32
26
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
// config.plugins.push(
|
|
38
|
-
// new BundleAnalyzerPlugin()
|
|
39
|
-
// );
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
),
|
|
43
|
-
fusion.copy('images/**/*', 'dist/images/')
|
|
27
|
+
// config.plugins.push(
|
|
28
|
+
// new BundleAnalyzerPlugin()
|
|
29
|
+
// );
|
|
30
|
+
}
|
|
44
31
|
);
|
|
45
32
|
}
|
|
46
33
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,50 +1,56 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
2
|
+
"name": "@windwalker-io/core",
|
|
3
|
+
"version": "4.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Windwalker Core JS package",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "cross-env node_modules/.bin/gulp",
|
|
8
|
+
"build:dev": "cross-env NODE_ENV=development node_modules/.bin/gulp",
|
|
9
|
+
"build:prod": "cross-env NODE_ENV=production node_modules/.bin/gulp",
|
|
10
|
+
"watch": "cross-env NODE_ENV=development node_modules/.bin/gulp --watching=1",
|
|
11
|
+
"watch:reload": "cross-env NODE_ENV=development node_modules/.bin/gulp --watching=1 --livereload=1"
|
|
12
|
+
},
|
|
13
|
+
"main": "src/index.mjs",
|
|
14
|
+
"repository": "https://github.com/ventoviro/windwalker-core",
|
|
15
|
+
"author": "Simon Asika",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@asika32764/vue-animate": "^3.0.2",
|
|
19
|
+
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
|
20
|
+
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
|
21
|
+
"@fortawesome/vue-fontawesome": "^3.0.1",
|
|
22
|
+
"@tailwindcss/custom-forms": "^0.2.1",
|
|
23
|
+
"@tailwindcss/ui": "^0.7.2",
|
|
24
|
+
"@vue/reactivity": "^3.3.7",
|
|
25
|
+
"@vue/tsconfig": "^0.4.0",
|
|
26
|
+
"@windwalker-io/fusion": "^1.0",
|
|
27
|
+
"autoprefixer": "^10.2.6",
|
|
28
|
+
"axios": "^1.0",
|
|
29
|
+
"bootstrap": "^5.0",
|
|
30
|
+
"dayjs": "^1.11.5",
|
|
31
|
+
"file-loader": "^6.2.0",
|
|
32
|
+
"gulp": "^4.0.2",
|
|
33
|
+
"gulp-postcss": "^9.0.0",
|
|
34
|
+
"postcss-import": "^14.0.2",
|
|
35
|
+
"postcss-loader": "^4.0.0",
|
|
36
|
+
"postcss-nested": "^5.0.5",
|
|
37
|
+
"regenerator-runtime": "^0.13.7",
|
|
38
|
+
"sql-formatter": "^10.6.0",
|
|
39
|
+
"tailwindcss": "^2.1.4",
|
|
40
|
+
"ts-loader": "^9.4.4",
|
|
41
|
+
"typescript": "^5.1.6",
|
|
42
|
+
"vue": "^3.0.11",
|
|
43
|
+
"vue-loader": "^16.0",
|
|
44
|
+
"vue-router": "^4.2.4",
|
|
45
|
+
"vue-style-loader": "^4.1.3",
|
|
46
|
+
"vue-tsc": "^1.8.8",
|
|
47
|
+
"vuedraggable": "^3.0||^4.0.3",
|
|
48
|
+
"webpack": "^5.0",
|
|
49
|
+
"webpack-bundle-analyzer": "^4.6.1"
|
|
50
|
+
},
|
|
51
|
+
"windwalker": {
|
|
52
|
+
"vendors": [
|
|
53
|
+
"@windwalker-io/core"
|
|
54
|
+
]
|
|
55
|
+
}
|
|
50
56
|
}
|
package/scss/_variables.scss
CHANGED
|
@@ -2,7 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
// Custom
|
|
4
4
|
|
|
5
|
+
$dark-primary: #252F3FFF;
|
|
6
|
+
$dark-primary-rgb: rgb(37, 47, 63);
|
|
7
|
+
|
|
5
8
|
@import "bootstrap/scss/functions";
|
|
6
9
|
@import "bootstrap/scss/variables";
|
|
10
|
+
@import "bootstrap/scss/variables-dark";
|
|
11
|
+
|
|
12
|
+
$theme-colors: map-merge($theme-colors, (
|
|
13
|
+
"dark-primary": $dark-primary
|
|
14
|
+
));
|
|
15
|
+
|
|
7
16
|
@import "bootstrap/scss/mixins";
|
|
8
17
|
@import "bootstrap/scss/maps";
|
package/src/asset-sync.mjs
CHANGED
|
@@ -5,13 +5,16 @@
|
|
|
5
5
|
* @license __LICENSE__
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { dest as toDest, src } from '@windwalker-io/fusion';
|
|
8
|
+
import { babel, dest as toDest, src, ts, wait } from '@windwalker-io/fusion';
|
|
9
9
|
import { postStream, prepareStream } from '@windwalker-io/fusion/src/lifecycles.js';
|
|
10
10
|
import { extractDest } from '@windwalker-io/fusion/src/utilities/utilities.js';
|
|
11
11
|
import { loadJson } from './utils.mjs';
|
|
12
12
|
import rename from 'gulp-rename';
|
|
13
13
|
import path from 'path';
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated
|
|
17
|
+
*/
|
|
15
18
|
export function jsSync(source = 'src/Module', dest) {
|
|
16
19
|
// const root = source + '/**/assets/';
|
|
17
20
|
|
|
@@ -31,8 +34,8 @@ export function jsSync(source = 'src/Module', dest) {
|
|
|
31
34
|
|
|
32
35
|
const sourceList = [];
|
|
33
36
|
|
|
34
|
-
sourceList.push(...findModules('**/assets/*.{js,mjs}'));
|
|
35
|
-
sourceList.push(source + '**/assets/*.{js,mjs}');
|
|
37
|
+
sourceList.push(...findModules('**/assets/*.{js,mjs,ts}'));
|
|
38
|
+
sourceList.push(source + '**/assets/*.{js,mjs,ts}');
|
|
36
39
|
|
|
37
40
|
let stream = prepareStream(src(sourceList));
|
|
38
41
|
|
|
@@ -63,6 +66,51 @@ export function jsSync(source = 'src/Module', dest) {
|
|
|
63
66
|
});
|
|
64
67
|
}
|
|
65
68
|
|
|
69
|
+
export function syncModuleScripts(source = 'src/Module', dest = 'www/assets/js/view/', options = {}) {
|
|
70
|
+
const jsOptions = options.js || {};
|
|
71
|
+
const tsOptions = options.ts || {};
|
|
72
|
+
|
|
73
|
+
return [
|
|
74
|
+
syncModuleJS(source, dest, jsOptions),
|
|
75
|
+
syncModuleTS(source, dest, tsOptions),
|
|
76
|
+
];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function syncModuleJS(source = 'src/Module', dest = 'www/assets/js/view/', options = {}) {
|
|
80
|
+
return babel(
|
|
81
|
+
[
|
|
82
|
+
`${source}/**/*.{js,mjs}`,
|
|
83
|
+
...findModules('**/assets/*.{js,mjs}')
|
|
84
|
+
],
|
|
85
|
+
dest,
|
|
86
|
+
{
|
|
87
|
+
module: 'systemjs',
|
|
88
|
+
rename: (path) => {
|
|
89
|
+
path.dirname = path.dirname.replace(/assets$/, '').toLowerCase();
|
|
90
|
+
},
|
|
91
|
+
...options
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function syncModuleTS(source = 'src/Module', dest = 'www/assets/js/view/', options = {}) {
|
|
97
|
+
return ts(
|
|
98
|
+
[
|
|
99
|
+
`${source}/**/*.ts`,
|
|
100
|
+
'node_modules/@windwalker-io/core/types/**.d.ts',
|
|
101
|
+
...findModules('**/assets/*.ts')
|
|
102
|
+
],
|
|
103
|
+
dest,
|
|
104
|
+
{
|
|
105
|
+
tsconfig: path.resolve('tsconfig.js.json'),
|
|
106
|
+
rename: (path) => {
|
|
107
|
+
path.dirname = path.dirname.replace(/assets$/, '').toLowerCase();
|
|
108
|
+
},
|
|
109
|
+
...options
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
66
114
|
export function findModules(suffix = '') {
|
|
67
115
|
const pkg = path.resolve(process.cwd(), 'composer.json');
|
|
68
116
|
|
package/src/debugger/App.vue
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="c-main-wrapper">
|
|
3
|
-
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark"
|
|
3
|
+
<div class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark-primary"
|
|
4
4
|
style="height: 60px">
|
|
5
5
|
<div class="container-fluid">
|
|
6
6
|
<!-- Logo -->
|
|
7
7
|
<div class="navbar-brand">
|
|
8
|
-
<img src="
|
|
9
|
-
style="height: 30px">
|
|
8
|
+
<img :src="logo" alt="logo" style="height: 30px">
|
|
10
9
|
</div>
|
|
11
10
|
|
|
12
11
|
<!-- Header -->
|
|
@@ -19,9 +18,9 @@
|
|
|
19
18
|
<!-- Body -->
|
|
20
19
|
<div class="d-flex flex-column flex-md-row" style="margin-top: 60px;">
|
|
21
20
|
<!-- Sidebar -->
|
|
22
|
-
<div class="h-w-sidebar
|
|
23
|
-
<div class="nav flex-column
|
|
24
|
-
style="min-width: 200px; top: 60px">
|
|
21
|
+
<div class="h-w-sidebar" style="background-color: var(--bs-gray-800)">
|
|
22
|
+
<div class="nav flex-column position-sticky"
|
|
23
|
+
style="min-width: 200px; top: 60px; background-color: var(--bs-gray-800)">
|
|
25
24
|
<div class="nav-item nav-item--dashboard">
|
|
26
25
|
<router-link to="/"
|
|
27
26
|
class="c-sidebar-menu-item nav-link"
|
|
@@ -76,7 +75,15 @@
|
|
|
76
75
|
|
|
77
76
|
<!-- Content Body -->
|
|
78
77
|
<div class="flex-grow-1">
|
|
79
|
-
<router-view
|
|
78
|
+
<router-view v-slot="{ Component }">
|
|
79
|
+
<Transition name="fade" mode="out-in" :key="route.fullPath">
|
|
80
|
+
<Suspense>
|
|
81
|
+
<div>
|
|
82
|
+
<component :is="Component" />
|
|
83
|
+
</div>
|
|
84
|
+
</Suspense>
|
|
85
|
+
</Transition>
|
|
86
|
+
</router-view>
|
|
80
87
|
</div>
|
|
81
88
|
</div>
|
|
82
89
|
|
|
@@ -84,27 +91,14 @@
|
|
|
84
91
|
</div>
|
|
85
92
|
</template>
|
|
86
93
|
|
|
87
|
-
<script>
|
|
94
|
+
<script setup>
|
|
95
|
+
import logo from './images/windwalker-logo-h-w.svg';
|
|
88
96
|
import { computed } from 'vue';
|
|
89
97
|
import { RouterLink, RouterView, useRoute } from 'vue-router';
|
|
90
98
|
import Store from './Store.vue';
|
|
91
99
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
components: {
|
|
95
|
-
Store,
|
|
96
|
-
RouterLink,
|
|
97
|
-
RouterView
|
|
98
|
-
},
|
|
99
|
-
setup() {
|
|
100
|
-
const route = useRoute();
|
|
101
|
-
const currentRoute = computed(() => route.name);
|
|
102
|
-
|
|
103
|
-
return {
|
|
104
|
-
currentRoute
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
};
|
|
100
|
+
const route = useRoute();
|
|
101
|
+
const currentRoute = computed(() => route.name);
|
|
108
102
|
</script>
|
|
109
103
|
|
|
110
104
|
<style scoped lang="scss">
|
package/src/debugger/Store.vue
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :id="`query-${i}`" class="card rounded-3 border border-1
|
|
2
|
+
<div :id="`query-${i}`" class="card rounded-3 border border-1"
|
|
3
|
+
:class="`border-${stateColor(item.time * 1000, 15)}`">
|
|
3
4
|
<div class="card-header d-flex justify-content-between">
|
|
4
5
|
<h4 class="m-0">
|
|
5
6
|
Query: {{ i }}
|
|
@@ -12,21 +13,21 @@
|
|
|
12
13
|
class="btn btn-outline-primary btn-sm"
|
|
13
14
|
@click="copy"
|
|
14
15
|
>
|
|
15
|
-
<
|
|
16
|
+
<fa-icon icon="fa fa-clipboard" />
|
|
16
17
|
<span class="">Copy</span>
|
|
17
18
|
</button>
|
|
18
19
|
<button
|
|
19
20
|
type="button"
|
|
20
21
|
class="btn btn-primary btn-sm"
|
|
21
22
|
>
|
|
22
|
-
<
|
|
23
|
+
<fa-icon icon="fa fa-link" />
|
|
23
24
|
</button>
|
|
24
25
|
<button
|
|
25
26
|
type="button"
|
|
26
27
|
class="btn btn-success btn-sm"
|
|
27
28
|
@click="goToLast('/db')"
|
|
28
29
|
>
|
|
29
|
-
<
|
|
30
|
+
<fa-icon icon="fa fa-rotate-right" />
|
|
30
31
|
</button>
|
|
31
32
|
</div>
|
|
32
33
|
</div>
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
|
|
36
37
|
<div class="">
|
|
37
38
|
<pre style="word-break: break-all; white-space: pre-wrap;"
|
|
38
|
-
class="
|
|
39
|
+
class="border p-4"
|
|
39
40
|
v-html="formatQuery(item.debug_query)"
|
|
40
41
|
></pre>
|
|
41
42
|
</div>
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
|
|
58
59
|
<div>
|
|
59
60
|
<button class="btn btn-primary" @click="openBacktrace(item.backtrace, i)">
|
|
60
|
-
<
|
|
61
|
+
<fa-icon icon="fa fa-list" />
|
|
61
62
|
Backtrace
|
|
62
63
|
</button>
|
|
63
64
|
</div>
|
|
@@ -143,8 +144,8 @@
|
|
|
143
144
|
|
|
144
145
|
<script>
|
|
145
146
|
import { format } from 'sql-formatter';
|
|
146
|
-
import { stateColor } from '../../services/utilities
|
|
147
|
-
import { goToLast } from '../../services/nav
|
|
147
|
+
import { stateColor } from '../../services/utilities';
|
|
148
|
+
import { goToLast } from '../../services/nav';
|
|
148
149
|
|
|
149
150
|
export default {
|
|
150
151
|
name: 'query-info',
|
package/src/debugger/debugger.js
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Part of starter project.
|
|
3
|
-
*
|
|
4
|
-
* @copyright Copyright (C) 2021 __ORGANIZATION__.
|
|
5
|
-
* @license __LICENSE__
|
|
6
|
-
*/
|
|
7
1
|
|
|
8
2
|
import 'regenerator-runtime';
|
|
3
|
+
|
|
9
4
|
import App from '@/App.vue';
|
|
5
|
+
import '@asika32764/vue-animate/dist/vue-animate.min.css';
|
|
6
|
+
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
|
10
7
|
import { createApp } from 'vue';
|
|
11
|
-
import router from './routes.js';
|
|
12
|
-
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
13
|
-
import './font-awesome.js';
|
|
14
|
-
|
|
15
8
|
import '../../scss/debugger.scss';
|
|
9
|
+
import './font-awesome.js';
|
|
10
|
+
import router from './routes.js';
|
|
16
11
|
|
|
17
12
|
const app = createApp(App)
|
|
18
13
|
.use(router)
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Part of earth project.
|
|
3
|
-
*
|
|
4
|
-
* @copyright Copyright (C) 2022 __ORGANIZATION__.
|
|
5
|
-
* @license __LICENSE__
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
1
|
/* import the fontawesome core */
|
|
9
|
-
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
2
|
+
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
+
import { faRotateRight } from '@fortawesome/free-solid-svg-icons/faRotateRight';
|
|
4
|
+
import { faArrowsRotate } from '@fortawesome/free-solid-svg-icons/faArrowsRotate';
|
|
5
|
+
import { faClipboard } from '@fortawesome/free-solid-svg-icons/faClipboard';
|
|
6
|
+
import { faExternalLink } from '@fortawesome/free-solid-svg-icons/faExternalLink';
|
|
7
|
+
import { faEye } from '@fortawesome/free-solid-svg-icons/faEye';
|
|
8
|
+
import { faLink } from '@fortawesome/free-solid-svg-icons/faLink';
|
|
10
9
|
|
|
11
10
|
/* import specific icons */
|
|
12
|
-
import { faList } from '@fortawesome/free-solid-svg-icons/faList'
|
|
13
|
-
import { faArrowsRotate } from '@fortawesome/free-solid-svg-icons/faArrowsRotate'
|
|
14
|
-
import { faEye } from '@fortawesome/free-solid-svg-icons/faEye'
|
|
15
|
-
import { faExternalLink } from '@fortawesome/free-solid-svg-icons/faExternalLink'
|
|
11
|
+
import { faList } from '@fortawesome/free-solid-svg-icons/faList';
|
|
16
12
|
|
|
17
13
|
/* add icons to the library */
|
|
18
14
|
library.add(
|
|
@@ -20,4 +16,7 @@ library.add(
|
|
|
20
16
|
faExternalLink,
|
|
21
17
|
faList,
|
|
22
18
|
faArrowsRotate,
|
|
19
|
+
faClipboard,
|
|
20
|
+
faLink,
|
|
21
|
+
faRotateRight
|
|
23
22
|
);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 273.84 44.18"><defs><style>.cls-1{fill:#00aa61;}.cls-2{opacity:0.5;}.cls-3{fill:url(#未命名漸層_96);}.cls-4{fill:#fff;}.cls-5{fill:url(#primary);}.cls-6{fill:#f2f2f2;}</style><linearGradient id="未命名漸層_96" x1="30.36" y1="25.23" x2="36.5" y2="20.93" gradientUnits="userSpaceOnUse"><stop offset="0"/><stop offset="0.07" stop-opacity="0.83"/><stop offset="0.5" stop-opacity="0.65"/><stop offset="0.93" stop-opacity="0.83"/><stop offset="1"/></linearGradient><linearGradient id="primary" x1="61.28" y1="38.13" x2="11.96" y2="-11.19" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#38f8d6"/><stop offset="0.61" stop-color="#43e87b"/></linearGradient></defs><g id="圖層_1" data-name="圖層 1"><polygon class="cls-1" points="26.84 20.2 40.01 38.6 40.01 25.95 26.84 7.55 26.84 20.2"/><g class="cls-2"><polygon class="cls-3" points="26.84 20.2 40.01 38.6 40.01 25.95 26.84 7.55 26.84 20.2"/></g><path class="cls-4" d="M53.23,0H43.8a.47.47,0,0,0-.39.74L61.79,26.56a.47.47,0,0,0,.85-.28V9.41A9.41,9.41,0,0,0,53.23,0Z"/><path class="cls-4" d="M7.89.5H.47a.47.47,0,0,0-.38.74L24,34.67a9.38,9.38,0,0,0,7.65,3.93H40L15.54,4.43A9.38,9.38,0,0,0,7.89.5Z"/><path class="cls-4" d="M42.83,11.48a9.44,9.44,0,0,0-7.65-3.93H26.84L46.26,34.67a9.4,9.4,0,0,0,7.65,3.93h6.5a.94.94,0,0,0,.77-1.49Z"/><path class="cls-5" d="M53.23,0H43.8a.47.47,0,0,0-.39.74L61.79,26.56a.47.47,0,0,0,.85-.28V9.41A9.41,9.41,0,0,0,53.23,0Z"/><path class="cls-5" d="M7.89.5H.47a.47.47,0,0,0-.38.74L24,34.67a9.38,9.38,0,0,0,7.65,3.93H40L15.54,4.43A9.38,9.38,0,0,0,7.89.5Z"/><path class="cls-5" d="M42.83,11.48a9.44,9.44,0,0,0-7.65-3.93H26.84L46.26,34.67a9.4,9.4,0,0,0,7.65,3.93h6.5a.94.94,0,0,0,.77-1.49Z"/><path class="cls-6" d="M106.48,11a3,3,0,0,1,1.68-.51,2.87,2.87,0,0,1,2,.72,2.39,2.39,0,0,1,.84,1.93,4.44,4.44,0,0,1-.27,1.36L103.84,33a2.77,2.77,0,0,1-1.24,1.48,3.87,3.87,0,0,1-2,.53,3.8,3.8,0,0,1-2-.53A2.79,2.79,0,0,1,97.41,33L93,20.38,88.37,33a2.94,2.94,0,0,1-1.26,1.48,3.71,3.71,0,0,1-1.93.53,3.81,3.81,0,0,1-2-.53A2.78,2.78,0,0,1,82,33l-6.87-18.5a3.85,3.85,0,0,1-.24-1.29,2.43,2.43,0,0,1,.9-2,3.26,3.26,0,0,1,2.09-.73,3.3,3.3,0,0,1,1.76.5,2.71,2.71,0,0,1,1.14,1.47l4.65,13.4,4.93-13.4A2.89,2.89,0,0,1,91.45,11a3,3,0,0,1,1.68-.51,2.84,2.84,0,0,1,2.76,2l4.62,13.67,4.86-13.71A2.89,2.89,0,0,1,106.48,11Z"/><path class="cls-6" d="M114.33,14.44a2.69,2.69,0,0,1-.9-2.12,2.64,2.64,0,0,1,.9-2.11,4.14,4.14,0,0,1,4.84,0,2.6,2.6,0,0,1,.92,2.11,2.69,2.69,0,0,1-.9,2.12,4.09,4.09,0,0,1-4.86,0Zm.27,19.76a2.52,2.52,0,0,1-.87-2.09V20.41a2.51,2.51,0,0,1,.87-2.09,3.68,3.68,0,0,1,4.32,0,2.51,2.51,0,0,1,.87,2.09v11.7a2.52,2.52,0,0,1-.87,2.09,3.73,3.73,0,0,1-4.32,0Z"/><path class="cls-6" d="M139,19.34a8.47,8.47,0,0,1,1.46,5.42v7.35a2.62,2.62,0,0,1-.82,2,3.67,3.67,0,0,1-4.42,0,2.64,2.64,0,0,1-.81-2V25a3.57,3.57,0,0,0-.53-2.17,1.86,1.86,0,0,0-1.58-.68,2.78,2.78,0,0,0-2.16.87,3.29,3.29,0,0,0-.8,2.32v6.74a2.62,2.62,0,0,1-.82,2,3.67,3.67,0,0,1-4.42,0,2.64,2.64,0,0,1-.81-2V20.34a2.5,2.5,0,0,1,.85-1.95,3.16,3.16,0,0,1,2.21-.77,2.86,2.86,0,0,1,2.05.72,2.43,2.43,0,0,1,.77,1.87,5.89,5.89,0,0,1,2.28-2,7,7,0,0,1,3.09-.68A5.44,5.44,0,0,1,139,19.34Z"/><path class="cls-6" d="M160.71,11.32a2.49,2.49,0,0,1,.86,1.95V32.11a2.64,2.64,0,0,1-.81,2,3.1,3.1,0,0,1-2.18.74,3.14,3.14,0,0,1-2.06-.66,2.56,2.56,0,0,1-.9-1.82,4.78,4.78,0,0,1-2.09,1.87,6.69,6.69,0,0,1-3,.68,6.89,6.89,0,0,1-3.83-1.1A7.46,7.46,0,0,1,144,30.75a10.52,10.52,0,0,1-.95-4.59,10.43,10.43,0,0,1,.93-4.54,7,7,0,0,1,2.62-3,7.14,7.14,0,0,1,3.86-1.06,6.73,6.73,0,0,1,2.94.65,5.28,5.28,0,0,1,2.09,1.73V13.17a2.45,2.45,0,0,1,.8-1.91,3.14,3.14,0,0,1,2.16-.71A3.27,3.27,0,0,1,160.71,11.32Zm-5.94,18a5,5,0,0,0,.85-3.13,4.82,4.82,0,0,0-.85-3.07,3.32,3.32,0,0,0-4.86,0,4.69,4.69,0,0,0-.85,3,5.05,5.05,0,0,0,.87,3.16,2.84,2.84,0,0,0,2.39,1.12A2.9,2.9,0,0,0,154.77,29.35Z"/><path class="cls-6" d="M188.42,18.05a2.32,2.32,0,0,1,1.37-.43,3,3,0,0,1,2,.77,2.36,2.36,0,0,1,.88,1.85,2.81,2.81,0,0,1-.27,1.12l-5.51,11.8a2.81,2.81,0,0,1-1.14,1.31,3.17,3.17,0,0,1-1.68.46,3.11,3.11,0,0,1-1.67-.46,2.88,2.88,0,0,1-1.12-1.31L178.06,26l-3,7.17a2.65,2.65,0,0,1-1.11,1.31,3.17,3.17,0,0,1-1.68.46,3.23,3.23,0,0,1-1.69-.46,3,3,0,0,1-1.17-1.31l-5.47-11.8a2.52,2.52,0,0,1-.24-1.09,2.33,2.33,0,0,1,.94-1.88,3.2,3.2,0,0,1,2.09-.77,2.61,2.61,0,0,1,1.47.43,2.57,2.57,0,0,1,1,1.31l3.23,7.85,3.3-7.82a2.51,2.51,0,0,1,1.05-1.29,2.88,2.88,0,0,1,3.06,0,2.51,2.51,0,0,1,1,1.29l3.4,7.85,3.17-7.92A2.64,2.64,0,0,1,188.42,18.05Z"/><path class="cls-6" d="M208.14,19.41C209.37,20.64,210,22.52,210,25v7.11a2.65,2.65,0,0,1-.77,2,2.94,2.94,0,0,1-2.12.73,2.8,2.8,0,0,1-2-.68,2.5,2.5,0,0,1-.83-1.83,3.77,3.77,0,0,1-1.6,1.9A5,5,0,0,1,200,35a7,7,0,0,1-3.13-.69,5.61,5.61,0,0,1-2.2-1.94,5.09,5.09,0,0,1-.79-2.81,4.22,4.22,0,0,1,.93-2.87,5.54,5.54,0,0,1,3-1.55,25.09,25.09,0,0,1,5.5-.47h.92v-.41a2.32,2.32,0,0,0-.54-1.72,2.61,2.61,0,0,0-1.84-.53,13.41,13.41,0,0,0-4.08,1,4.17,4.17,0,0,1-1.32.27,1.7,1.7,0,0,1-1.36-.61,2.42,2.42,0,0,1-.51-1.6,2.29,2.29,0,0,1,.3-1.23,2.74,2.74,0,0,1,1-.85,12.18,12.18,0,0,1,3-1,17.34,17.34,0,0,1,3.54-.38Q206.28,17.55,208.14,19.41Zm-4.68,10.64a3.21,3.21,0,0,0,.78-2.23v-.41h-.54a8.47,8.47,0,0,0-3.1.4,1.33,1.33,0,0,0-.91,1.3,1.78,1.78,0,0,0,.49,1.3,1.69,1.69,0,0,0,1.27.51A2.58,2.58,0,0,0,203.46,30.05Z"/><path class="cls-6" d="M214.25,34.2a2.55,2.55,0,0,1-.86-2.09V13.37a2.6,2.6,0,0,1,.86-2.11,3.64,3.64,0,0,1,4.32,0,2.58,2.58,0,0,1,.87,2.11V32.11a2.52,2.52,0,0,1-.87,2.09,3.73,3.73,0,0,1-4.32,0Z"/><path class="cls-6" d="M240.52,32a2.93,2.93,0,0,1-.8,2,2.48,2.48,0,0,1-1.92.88,2.88,2.88,0,0,1-1.91-.85L229,27.45V32a2.6,2.6,0,0,1-.86,2.11,3.64,3.64,0,0,1-4.32,0,2.58,2.58,0,0,1-.87-2.11V13.37a2.58,2.58,0,0,1,.87-2.11,3.64,3.64,0,0,1,4.32,0,2.6,2.6,0,0,1,.86,2.11V24.9l6.29-6.39a2.64,2.64,0,0,1,3.9-.06,2.64,2.64,0,0,1,.83,1.89,2.74,2.74,0,0,1-.88,1.94L235.42,26,239.64,30A2.69,2.69,0,0,1,240.52,32Z"/><path class="cls-6" d="M257.4,29.93a2.46,2.46,0,0,1,.49,1.6,2.23,2.23,0,0,1-1.32,2.07,13,13,0,0,1-2.74,1,12.17,12.17,0,0,1-2.91.39,10.61,10.61,0,0,1-4.86-1.05,7.41,7.41,0,0,1-3.19-3,9.14,9.14,0,0,1-1.13-4.62,9.42,9.42,0,0,1,1.07-4.51,7.82,7.82,0,0,1,3-3.09,8.48,8.48,0,0,1,4.33-1.11,8.1,8.1,0,0,1,4.12,1A7,7,0,0,1,257,21.46a9.38,9.38,0,0,1,1,4.39,1.84,1.84,0,0,1-.36,1.21,1.26,1.26,0,0,1-1,.42h-9a3.77,3.77,0,0,0,1,2.35,3.62,3.62,0,0,0,2.42.71,6.3,6.3,0,0,0,1.56-.18,15.65,15.65,0,0,0,1.6-.53c.34-.14.67-.26,1-.36a3.14,3.14,0,0,1,.91-.15A1.55,1.55,0,0,1,257.4,29.93Zm-9-7.53a3.64,3.64,0,0,0-.85,2.23h5.33q-.19-3-2.58-3A2.47,2.47,0,0,0,248.41,22.4Z"/><path class="cls-6" d="M273.16,18.15a2.42,2.42,0,0,1,.68,1.85,2.63,2.63,0,0,1-.63,2,3.85,3.85,0,0,1-2.26.79l-1,.1a3.57,3.57,0,0,0-2.43,1.07,3.53,3.53,0,0,0-.73,2.36v5.82a2.52,2.52,0,0,1-.87,2.09,3.73,3.73,0,0,1-4.32,0,2.52,2.52,0,0,1-.87-2.09V20.34a2.43,2.43,0,0,1,.87-2,3.18,3.18,0,0,1,2.09-.72,3,3,0,0,1,2,.68,2.43,2.43,0,0,1,.76,1.91v.64a4.52,4.52,0,0,1,1.79-2.31,5.09,5.09,0,0,1,2.6-.88l.47,0A2.28,2.28,0,0,1,273.16,18.15Z"/></g></svg>
|