@pubinfo-nightly/core 2026.2.11 → 2026.2.12
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/{AppSetting-B7mE7iHt.js → AppSetting-7jlhUzze.js} +15 -15
- package/dist/{HCheckList-DAkb0SBD.js → HCheckList-cPBgATmv.js} +1 -1
- package/dist/HSlideover-DVQDc9q6.js +3151 -0
- package/dist/{PreferencesContent-CWHTBvHQ.js → PreferencesContent-BAIH81yS.js} +5 -5
- package/dist/{SettingBreadcrumb-p3hD9w-9.js → SettingBreadcrumb-O9-PhAFT.js} +4 -4
- package/dist/{SettingCopyright-BgWvocrJ.js → SettingCopyright-DIKsWTuf.js} +3 -3
- package/dist/{SettingEnableTransition-Cf57pLUk.js → SettingEnableTransition-61O7W00b.js} +2 -2
- package/dist/{SettingHome-tNMtRHoT.js → SettingHome-Sv65TPH8.js} +4 -4
- package/dist/{SettingMenu-Du4Xhle1.js → SettingMenu-BvwJOUZV.js} +5 -5
- package/dist/{SettingMode-DGWqKJHt.js → SettingMode-B8H_eQc8.js} +1 -1
- package/dist/{SettingNavSearch-C_8VmQmD.js → SettingNavSearch-BHsmYBA7.js} +3 -3
- package/dist/{SettingOther-B9iOz69R.js → SettingOther-CyyNnaDX.js} +4 -4
- package/dist/{SettingPage-C0TfmEKp.js → SettingPage-B82lW41P.js} +2 -2
- package/dist/{SettingTabbar-C7ZQrcN4.js → SettingTabbar-Bky2xvH-.js} +5 -5
- package/dist/{SettingThemes-022eXO9f.js → SettingThemes-CkdzS1xt.js} +2 -2
- package/dist/{SettingToolbar-Bh9aXNpl.js → SettingToolbar-CD4qns1J.js} +3 -3
- package/dist/{SettingTopbar-DjB1Izhm.js → SettingTopbar-1shjoe3s.js} +5 -5
- package/dist/{SettingWidthMode-D7sRlBUK.js → SettingWidthMode-DlG6lXjA.js} +2 -2
- package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
- package/dist/{change-organization-sU8aNfhI.js → change-organization-hsqeSzDu.js} +2 -2
- package/dist/{change-password-Dxzhg43p.js → change-password-EtccCDRX.js} +2 -2
- package/dist/{components-emseuaQx.js → components-DFNyaAb9.js} +4 -4
- package/dist/index.js +885 -413
- package/dist/{not-found-DbHOY5cU.js → not-found-BCjngLzt.js} +1 -1
- package/dist/{not-permission-DwERxb_u.js → not-permission-C26vTMvf.js} +1 -1
- package/dist/{profile-Dq66-Gsl.js → profile-BVXIFuBG.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/src/built-in/layout-component/components/Header/HeaderMenu.vue +2 -3
- package/dist/HSlideover-CXBJxuQo.js +0 -1695
- package/dist/HeaderFullMenu-l2890Bzo.js +0 -250
- package/dist/HeaderThinMenu-5K6HXiQk.js +0 -438
- package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
- /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BwvBr5OE.js} +0 -0
- /package/dist/{HInput-BrsX9848.js → HInput-KJ5nFBpF.js} +0 -0
- /package/dist/{HToggle-DEwBoDsw.js → HToggle-Ce_2-yhZ.js} +0 -0
- /package/dist/{core-4H5JBsa5.js → core-DJIGzMMM.js} +0 -0
- /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-CaNXwGSv.js} +0 -0
- /package/dist/{json-CC4oV-bd.js → json-Bu_Zprin.js} +0 -0
- /package/dist/{question-line-D7ecIumZ.js → question-line-BG__Ycfv.js} +0 -0
- /package/dist/{reload-CbuQgTlC.js → reload-DHx5Vwus.js} +0 -0
- /package/dist/{right-DYiPS7dU.js → right-BxBlFUwj.js} +0 -0
- /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-CTe40QT_.js} +0 -0
- /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BWXC_WeB.js} +0 -0
- /package/dist/{wasm-DAU6f5s5.js → wasm-2zDVqo-C.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { $n as ExclamationCircleFilled, $t as withInstall, Cn as _extends, D as getTransitionProps, Hn as InfoCircleFilled, Qn as ExclamationCircleOutlined, Vn as InfoCircleOutlined, X as cloneElement, Zt as tuple, a as button_default, cr as CloseCircleFilled, dr as CheckCircleOutlined, et as PropTypes, fr as CheckCircleFilled, lt as merge, mn as isValidElement, mt as resetComponent, n as api, or as CloseOutlined, rt as useConfigInject_default, sr as CloseCircleOutlined, ut as genComponentStyleHook, wn as _objectSpread2, yn as classNames } from "./modal-Bl5xHbxa.js";
|
|
2
2
|
import { a as hasIn, n as basePickBy, s as cloneDeep, t as watchDiffObject, v as flatRest } from "./watchDiff-CPZFtaOC.js";
|
|
3
3
|
import "./tree-select-B8cTcGLa.js";
|
|
4
|
-
import "./components-
|
|
4
|
+
import "./components-DFNyaAb9.js";
|
|
5
5
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
6
6
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
7
7
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
8
|
-
import { t as HCheckList_default } from "./HCheckList-
|
|
9
|
-
import { t as HToggle_default } from "./HToggle-
|
|
10
|
-
import { t as question_line_default } from "./question-line-
|
|
11
|
-
import { n as back_default, t as right_default } from "./right-
|
|
8
|
+
import { t as HCheckList_default } from "./HCheckList-cPBgATmv.js";
|
|
9
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
10
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
11
|
+
import { n as back_default, t as right_default } from "./right-BxBlFUwj.js";
|
|
12
12
|
import { Fragment, Transition, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, normalizeClass, normalizeStyle, openBlock, ref, renderList, resolveComponent, shallowRef, unref, vShow, withCtx, withDirectives } from "vue";
|
|
13
13
|
import { getThemes } from "@pubinfo-nightly/config/themes";
|
|
14
14
|
function basePick(e, t) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./modal-Bl5xHbxa.js";
|
|
2
2
|
import "./tree-select-B8cTcGLa.js";
|
|
3
|
-
import "./components-
|
|
3
|
+
import "./components-DFNyaAb9.js";
|
|
4
4
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
5
|
-
import { t as HDivider_default } from "./HDivider-
|
|
6
|
-
import { t as HCheckList_default } from "./HCheckList-
|
|
7
|
-
import { t as HToggle_default } from "./HToggle-
|
|
5
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
6
|
+
import { t as HCheckList_default } from "./HCheckList-cPBgATmv.js";
|
|
7
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
8
8
|
import { createBlock, createElementVNode, createVNode, defineComponent, openBlock, resolveComponent, toRefs, unref, withCtx } from "vue";
|
|
9
9
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "setting-item" }, _hoisted_3 = { class: "setting-item" }, SettingBreadcrumb_default = /* @__PURE__ */ defineComponent({
|
|
10
10
|
name: "SettingBreadcrumb",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
2
|
-
import { t as HDivider_default } from "./HDivider-
|
|
3
|
-
import { t as HToggle_default } from "./HToggle-
|
|
4
|
-
import { t as HInput_default } from "./HInput-
|
|
2
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
3
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
4
|
+
import { t as HInput_default } from "./HInput-KJ5nFBpF.js";
|
|
5
5
|
import { createBlock, createElementVNode, createVNode, defineComponent, openBlock, resolveComponent, toRef, unref, withCtx } from "vue";
|
|
6
6
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "setting-item" }, _hoisted_3 = { class: "setting-item" }, _hoisted_4 = { class: "setting-item" }, _hoisted_5 = { class: "setting-item" }, SettingCopyright_default = /* @__PURE__ */ defineComponent({
|
|
7
7
|
name: "SettingCopyright",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
2
2
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
3
3
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
4
|
-
import { t as HDivider_default } from "./HDivider-
|
|
5
|
-
import { t as HToggle_default } from "./HToggle-
|
|
4
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
5
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
6
6
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, isRef, normalizeClass, openBlock, reactive, renderList, resolveComponent, toRefs, unref, withCtx } from "vue";
|
|
7
7
|
var _hoisted_1 = { class: "flex items-center justify-center pb-4" }, _hoisted_2 = {
|
|
8
8
|
key: 0,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
2
2
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
3
|
-
import { t as HDivider_default } from "./HDivider-
|
|
4
|
-
import { t as HToggle_default } from "./HToggle-
|
|
5
|
-
import { t as HInput_default } from "./HInput-
|
|
6
|
-
import { t as question_line_default } from "./question-line-
|
|
3
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
4
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
5
|
+
import { t as HInput_default } from "./HInput-KJ5nFBpF.js";
|
|
6
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
7
7
|
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, toRefs, unref, withCtx } from "vue";
|
|
8
8
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "label" }, _hoisted_3 = { class: "setting-item" }, SettingHome_default = /* @__PURE__ */ defineComponent({
|
|
9
9
|
name: "SettingHome",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./modal-Bl5xHbxa.js";
|
|
2
2
|
import "./tree-select-B8cTcGLa.js";
|
|
3
|
-
import "./components-
|
|
3
|
+
import "./components-DFNyaAb9.js";
|
|
4
4
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
5
5
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
6
|
-
import { t as HDivider_default } from "./HDivider-
|
|
7
|
-
import { t as HCheckList_default } from "./HCheckList-
|
|
8
|
-
import { t as HToggle_default } from "./HToggle-
|
|
9
|
-
import { t as question_line_default } from "./question-line-
|
|
6
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
7
|
+
import { t as HCheckList_default } from "./HCheckList-cPBgATmv.js";
|
|
8
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
9
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
10
10
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, toRef, unref, withCtx } from "vue";
|
|
11
11
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "label" }, _hoisted_3 = { class: "setting-item" }, _hoisted_4 = { class: "label" }, _hoisted_5 = { class: "setting-item" }, _hoisted_6 = { class: "label" }, _hoisted_7 = { class: "setting-item" }, _hoisted_8 = {
|
|
12
12
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
2
2
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
3
3
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
4
|
-
import { t as HDivider_default } from "./HDivider-
|
|
4
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
5
5
|
import { Fragment, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, reactive, renderList, resolveComponent, toRef, unref, withCtx } from "vue";
|
|
6
6
|
var _hoisted_1 = { class: "menu-mode" }, _hoisted_2 = ["onClick"], SettingMode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
7
7
|
name: "SettingMode",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
2
2
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
3
|
-
import { t as HDivider_default } from "./HDivider-
|
|
4
|
-
import { t as HToggle_default } from "./HToggle-
|
|
5
|
-
import { t as question_line_default } from "./question-line-
|
|
3
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
4
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
5
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
6
6
|
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, toRef, unref, withCtx } from "vue";
|
|
7
7
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "label" }, _hoisted_3 = { class: "setting-item" }, SettingNavSearch_default = /* @__PURE__ */ defineComponent({
|
|
8
8
|
name: "SettingNavSearch",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
2
2
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
3
|
-
import { t as HDivider_default } from "./HDivider-
|
|
4
|
-
import { t as HToggle_default } from "./HToggle-
|
|
5
|
-
import { t as HInput_default } from "./HInput-
|
|
6
|
-
import { t as question_line_default } from "./question-line-
|
|
3
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
4
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
5
|
+
import { t as HInput_default } from "./HInput-KJ5nFBpF.js";
|
|
6
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
7
7
|
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, openBlock, resolveComponent, toRefs, unref, withCtx } from "vue";
|
|
8
8
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "setting-item" }, _hoisted_3 = { class: "label" }, _hoisted_4 = { class: "setting-item" }, _hoisted_5 = { class: "label" }, _hoisted_6 = { class: "setting-item" }, _hoisted_7 = { class: "label" }, SettingOther_default = /* @__PURE__ */ defineComponent({
|
|
9
9
|
name: "SettingOther",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
2
|
-
import { t as HDivider_default } from "./HDivider-
|
|
3
|
-
import { t as HToggle_default } from "./HToggle-
|
|
2
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
3
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
4
4
|
import { createBlock, createElementVNode, createVNode, defineComponent, openBlock, resolveComponent, toRef, unref, withCtx } from "vue";
|
|
5
5
|
var _hoisted_1 = { class: "setting-item" }, SettingPage_default = /* @__PURE__ */ defineComponent({
|
|
6
6
|
name: "SettingPage",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./modal-Bl5xHbxa.js";
|
|
2
2
|
import "./tree-select-B8cTcGLa.js";
|
|
3
|
-
import "./components-
|
|
3
|
+
import "./components-DFNyaAb9.js";
|
|
4
4
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
5
5
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
6
|
-
import { t as HDivider_default } from "./HDivider-
|
|
7
|
-
import { t as HCheckList_default } from "./HCheckList-
|
|
8
|
-
import { t as HToggle_default } from "./HToggle-
|
|
9
|
-
import { t as question_line_default } from "./question-line-
|
|
6
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
7
|
+
import { t as HCheckList_default } from "./HCheckList-cPBgATmv.js";
|
|
8
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
9
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
10
10
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, markRaw, mergeProps, normalizeClass, openBlock, renderList, resolveComponent, toDisplayString, toRef, unref, withCtx } from "vue";
|
|
11
11
|
var _hoisted_1$2 = {
|
|
12
12
|
viewBox: "0 0 32 32",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./modal-Bl5xHbxa.js";
|
|
2
|
-
import { w as useTheme } from "./auth-
|
|
2
|
+
import { w as useTheme } from "./auth-BLGKOyc5.js";
|
|
3
3
|
import "./watchDiff-CPZFtaOC.js";
|
|
4
4
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
5
5
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
6
|
-
import { t as HDivider_default } from "./HDivider-
|
|
6
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createStaticVNode, createVNode, defineComponent, isRef, markRaw, normalizeClass, normalizeStyle, openBlock, renderList, resolveComponent, toDisplayString, toRef, unref, useModel, vModelCheckbox, withCtx, withDirectives } from "vue";
|
|
8
8
|
import { getThemes } from "@pubinfo-nightly/config/themes";
|
|
9
9
|
var _hoisted_1$3 = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
2
2
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
3
|
-
import { t as HDivider_default } from "./HDivider-
|
|
4
|
-
import { t as HToggle_default } from "./HToggle-
|
|
5
|
-
import { t as question_line_default } from "./question-line-
|
|
3
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
4
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
5
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
6
6
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, toRef, unref, withCtx } from "vue";
|
|
7
7
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "label" }, _hoisted_3 = {
|
|
8
8
|
key: 0,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./modal-Bl5xHbxa.js";
|
|
2
2
|
import "./tree-select-B8cTcGLa.js";
|
|
3
|
-
import "./components-
|
|
3
|
+
import "./components-DFNyaAb9.js";
|
|
4
4
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
5
5
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
6
|
-
import { t as HDivider_default } from "./HDivider-
|
|
7
|
-
import { t as HCheckList_default } from "./HCheckList-
|
|
8
|
-
import { t as HToggle_default } from "./HToggle-
|
|
9
|
-
import { t as question_line_default } from "./question-line-
|
|
6
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
7
|
+
import { t as HCheckList_default } from "./HCheckList-cPBgATmv.js";
|
|
8
|
+
import { t as HToggle_default } from "./HToggle-Ce_2-yhZ.js";
|
|
9
|
+
import { t as question_line_default } from "./question-line-BG__Ycfv.js";
|
|
10
10
|
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, openBlock, resolveComponent, toRefs, unref, withCtx } from "vue";
|
|
11
11
|
var _hoisted_1 = { class: "setting-item" }, _hoisted_2 = { class: "setting-item" }, _hoisted_3 = { class: "label" }, SettingTopbar_default = /* @__PURE__ */ defineComponent({
|
|
12
12
|
name: "SettingTopbar",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
2
2
|
import { n as useContext } from "./useContext-DLtu9F7E.js";
|
|
3
3
|
import { t as HTooltip_default } from "./HTooltip-DjAU-Evn.js";
|
|
4
|
-
import { t as HDivider_default } from "./HDivider-
|
|
5
|
-
import { n as back_default, t as right_default } from "./right-
|
|
4
|
+
import { t as HDivider_default } from "./HDivider-BwvBr5OE.js";
|
|
5
|
+
import { n as back_default, t as right_default } from "./right-BxBlFUwj.js";
|
|
6
6
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, reactive, renderList, resolveComponent, toRef, unref, withCtx } from "vue";
|
|
7
7
|
var _hoisted_1 = { class: "app-width-mode" }, _hoisted_2 = ["onClick"], SettingWidthMode_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
8
8
|
name: "SettingWidthMode",
|
|
@@ -2,7 +2,7 @@ import { r as __toESM, t as __commonJSMin } from "./chunk-CD4vhpVs.js";
|
|
|
2
2
|
import { Fr as setupDefaultLayout, Gn as FrownOutlined, Gr as isObject, Hr as callHookAsync, Kr as baseGetTag, Pr as setupPage, Qr as getPersistedState, Wr as isFunction, Zr as createContext, qr as Symbol$1, t as modal_default } from "./modal-Bl5xHbxa.js";
|
|
3
3
|
import { A as isArrayLike, B as isArray, C as MapCache, D as isTypedArray, E as keys, F as isIndex, H as isSymbol, I as setToString, L as copyArray, M as copyObject, N as eq, O as isBuffer, P as baseAssignValue, R as apply, S as toString, T as keysIn, U as isObjectLike, V as arrayMap, _ as getPrototype, a as hasIn, b as toKey, c as baseClone, d as Uint8Array, f as _getTag_default, g as Stack, h as cloneBuffer, i as isEmpty, j as overRest, k as isArguments, l as initCloneObject, m as getAllKeys, n as basePickBy, o as hasPath, p as getAllKeysIn, r as baseSet, s as cloneDeep, t as watchDiffObject, u as cloneTypedArray, v as flatRest, w as isKey, x as castPath, y as baseGet, z as identity } from "./watchDiff-CPZFtaOC.js";
|
|
4
4
|
import { f as useToggle, s as usePreferredDark, t as computedAsync } from "./dist-7OjQvlya.js";
|
|
5
|
-
import { defineStore } from "pinia";
|
|
5
|
+
import { defineStore, getActivePinia } from "pinia";
|
|
6
6
|
import { computed, createVNode, reactive, ref, toRaw, watch } from "vue";
|
|
7
7
|
import { useRoute } from "vue-router";
|
|
8
8
|
import Message from "vue-m-message";
|
|
@@ -936,6 +936,196 @@ function createLog(e, n) {
|
|
|
936
936
|
return (e) => {};
|
|
937
937
|
}
|
|
938
938
|
const useError = createLog(LOG_TYPE.ERROR, EMOJI.ERROR), useSuccess = createLog(LOG_TYPE.SUCCESS, EMOJI.SUCCESS), useWarn = createLog(LOG_TYPE.WARN, EMOJI.WARN), useInfo = createLog(LOG_TYPE.INFO, EMOJI.INFO), useStart = createLog(LOG_TYPE.START, EMOJI.START), useBox = createLog(LOG_TYPE.BOX, EMOJI.BOX);
|
|
939
|
+
var SUPPORTED_STORE_IDS = new Set([
|
|
940
|
+
"user",
|
|
941
|
+
"settings",
|
|
942
|
+
"menu",
|
|
943
|
+
"route",
|
|
944
|
+
"tabbar",
|
|
945
|
+
"iframe",
|
|
946
|
+
"keepAlive",
|
|
947
|
+
"favorites"
|
|
948
|
+
]), missingPiniaWarnings = /* @__PURE__ */ new Set();
|
|
949
|
+
function warnMissingPinia(e) {
|
|
950
|
+
missingPiniaWarnings.has(e) || (missingPiniaWarnings.add(e), console.warn(`[usePartyLogin] Pinia instance is not ready when trying to access the "${e}" store. Provide a Pinia instance via usePartyLogin(..., { pinia }) or ensure Pinia is registered before calling this hook.`));
|
|
951
|
+
}
|
|
952
|
+
function getNestedValue(e, n) {
|
|
953
|
+
if (!e || !n) return "";
|
|
954
|
+
let r = n.split("."), i = e;
|
|
955
|
+
for (let e of r) if (i && typeof i == "object" && e in i) i = i[e];
|
|
956
|
+
else return "";
|
|
957
|
+
return i ?? "";
|
|
958
|
+
}
|
|
959
|
+
function getStoreFromPinia(e, n) {
|
|
960
|
+
return (e?._s)?.get(n);
|
|
961
|
+
}
|
|
962
|
+
function resolveParamValue(e, n, r) {
|
|
963
|
+
switch (e.type) {
|
|
964
|
+
case "string":
|
|
965
|
+
case "number": return e.value ?? "";
|
|
966
|
+
case "boolean": return e.value === "true";
|
|
967
|
+
case "system": {
|
|
968
|
+
if (!e.field) return "";
|
|
969
|
+
let [n, i] = e.field.split(":");
|
|
970
|
+
if (!n || !i) return "";
|
|
971
|
+
try {
|
|
972
|
+
if (!SUPPORTED_STORE_IDS.has(n)) return console.warn(`Store "${n}" is not supported in usePartyLogin.`), "";
|
|
973
|
+
let e = r ?? getActivePinia();
|
|
974
|
+
if (!e) return warnMissingPinia(n), "";
|
|
975
|
+
let a = getStoreFromPinia(e, n);
|
|
976
|
+
return a ? getNestedValue(a, i) : (warnMissingStore(n), "");
|
|
977
|
+
} catch (n) {
|
|
978
|
+
return console.error(`Error accessing store field ${e.field}:`, n), "";
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
case "request": return !e.field || !n ? "" : getNestedValue(n, e.field);
|
|
982
|
+
default: return e.value ?? "";
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
function buildParams(e, n, r) {
|
|
986
|
+
let i = {};
|
|
987
|
+
return e.forEach((e) => {
|
|
988
|
+
e.key && (i[e.key] = resolveParamValue(e, n, r));
|
|
989
|
+
}), i;
|
|
990
|
+
}
|
|
991
|
+
function buildOAuthUrl(e, n, r, i) {
|
|
992
|
+
let a = buildParams(n, r, i), o = Object.entries(a);
|
|
993
|
+
if (o.length === 0) return safeDecodeUrl(e);
|
|
994
|
+
let s = new URLSearchParams();
|
|
995
|
+
o.forEach(([e, n]) => {
|
|
996
|
+
s.append(e, String(n));
|
|
997
|
+
});
|
|
998
|
+
let c = s.toString(), l = e.indexOf("#"), u = l >= 0, d = u ? e.slice(0, l) : e, f = u ? e.slice(l + 1) : "";
|
|
999
|
+
if (u && shouldAppendParamsToHash(f)) return safeDecodeUrl(`${d}#${appendParamsToHash(f, c)}`);
|
|
1000
|
+
let p = appendParamsToBaseUrl(d, s, c);
|
|
1001
|
+
return safeDecodeUrl(u ? `${p}#${f}` : p);
|
|
1002
|
+
}
|
|
1003
|
+
function shouldAppendParamsToHash(e) {
|
|
1004
|
+
if (!e) return !1;
|
|
1005
|
+
let n = e.trim();
|
|
1006
|
+
return n ? n.startsWith("/") || n.startsWith("!/") || n.startsWith("?") : !1;
|
|
1007
|
+
}
|
|
1008
|
+
function appendParamsToHash(e, n) {
|
|
1009
|
+
return n ? e ? `${e}${resolveQuerySeparator(e)}${n}` : `?${n}` : e;
|
|
1010
|
+
}
|
|
1011
|
+
function appendParamsToBaseUrl(e, n, r) {
|
|
1012
|
+
if (!r) return e;
|
|
1013
|
+
if (!e) return `?${r}`;
|
|
1014
|
+
try {
|
|
1015
|
+
let r = new URL(e);
|
|
1016
|
+
return n.forEach((e, n) => {
|
|
1017
|
+
r.searchParams.append(n, e);
|
|
1018
|
+
}), r.toString();
|
|
1019
|
+
} catch {
|
|
1020
|
+
return `${e}${resolveQuerySeparator(e)}${r}`;
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
function resolveQuerySeparator(e) {
|
|
1024
|
+
return !e || !e.includes("?") ? "?" : /[?&]$/.test(e) ? "" : "&";
|
|
1025
|
+
}
|
|
1026
|
+
function safeDecodeUrl(e) {
|
|
1027
|
+
try {
|
|
1028
|
+
return decodeURIComponent(e);
|
|
1029
|
+
} catch {
|
|
1030
|
+
return e;
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
function buildQueryString(e) {
|
|
1034
|
+
let n = new URLSearchParams();
|
|
1035
|
+
return Object.entries(e).forEach(([e, r]) => {
|
|
1036
|
+
r != null && n.append(e, String(r));
|
|
1037
|
+
}), n.toString();
|
|
1038
|
+
}
|
|
1039
|
+
function serializeBody(e, n) {
|
|
1040
|
+
let r = n["Content-Type"] || n["content-type"] || "application/json";
|
|
1041
|
+
if (!e || Object.keys(e).length === 0) return;
|
|
1042
|
+
let i = r.split(";")[0].trim().toLowerCase();
|
|
1043
|
+
if (i === "application/json") return JSON.stringify(e);
|
|
1044
|
+
if (i === "application/x-www-form-urlencoded") {
|
|
1045
|
+
let n = new URLSearchParams();
|
|
1046
|
+
return Object.entries(e).forEach(([e, r]) => {
|
|
1047
|
+
r != null && n.append(e, String(r));
|
|
1048
|
+
}), n.toString();
|
|
1049
|
+
}
|
|
1050
|
+
if (i === "multipart/form-data") {
|
|
1051
|
+
let r = new FormData();
|
|
1052
|
+
return Object.entries(e).forEach(([e, n]) => {
|
|
1053
|
+
n != null && r.append(e, n);
|
|
1054
|
+
}), delete n["Content-Type"], delete n["content-type"], r;
|
|
1055
|
+
}
|
|
1056
|
+
return JSON.stringify(e);
|
|
1057
|
+
}
|
|
1058
|
+
function deepParseJSON(e) {
|
|
1059
|
+
if (e == null) return e;
|
|
1060
|
+
if (typeof e == "string") try {
|
|
1061
|
+
return deepParseJSON(JSON.parse(e));
|
|
1062
|
+
} catch {
|
|
1063
|
+
return e;
|
|
1064
|
+
}
|
|
1065
|
+
if (Array.isArray(e)) return e.map((e) => deepParseJSON(e));
|
|
1066
|
+
if (typeof e == "object") {
|
|
1067
|
+
let n = {};
|
|
1068
|
+
for (let r in e) Object.prototype.hasOwnProperty.call(e, r) && (n[r] = deepParseJSON(e[r]));
|
|
1069
|
+
return n;
|
|
1070
|
+
}
|
|
1071
|
+
return e;
|
|
1072
|
+
}
|
|
1073
|
+
async function usePartyLogin(e, n, r = {}) {
|
|
1074
|
+
let { execute: i = !0, pinia: a } = r, o = ref(""), s = ref(!1), c = ref(null);
|
|
1075
|
+
async function l() {
|
|
1076
|
+
if (!e || e.length < 2) throw Error("PartyLogin config must have at least 2 steps");
|
|
1077
|
+
if (!n) throw Error("Target URL is required for OAuth redirect");
|
|
1078
|
+
let r = e.find((e) => e.step === 1), i = e.find((e) => e.step === 2);
|
|
1079
|
+
if (!r || !i) throw Error("Step 1 and Step 2 configurations are required");
|
|
1080
|
+
if (!r.request) throw Error("Step 1 must have request configuration");
|
|
1081
|
+
if (!i.oauth) throw Error("Step 2 must have OAuth configuration");
|
|
1082
|
+
let { url: l, method: u, params: d } = r.request, f = a ?? getActivePinia(), p = d.query ? buildParams(d.query, void 0, f) : {}, m = d.body ? buildParams(d.body, void 0, f) : {}, h = d.header ? buildParams(d.header, void 0, f) : {}, g = d.cookie ? buildParams(d.cookie, void 0, f) : {}, _ = {};
|
|
1083
|
+
Object.entries(h).forEach(([e, n]) => {
|
|
1084
|
+
_[e] = String(n);
|
|
1085
|
+
});
|
|
1086
|
+
let v = Object.entries(g).map(([e, n]) => `${e}=${n}`);
|
|
1087
|
+
v.length > 0 && (_.Cookie = v.join("; "));
|
|
1088
|
+
let y = l, b = buildQueryString(p);
|
|
1089
|
+
b && (y = `${l}${l.includes("?") ? "&" : "?"}${b}`);
|
|
1090
|
+
let x;
|
|
1091
|
+
["GET", "HEAD"].includes(u) || (!_["Content-Type"] && !_["content-type"] && (_["Content-Type"] = "application/json"), x = serializeBody(m, _)), s.value = !0, c.value = null;
|
|
1092
|
+
try {
|
|
1093
|
+
let e = await fetch(y, {
|
|
1094
|
+
method: u,
|
|
1095
|
+
headers: _,
|
|
1096
|
+
body: x,
|
|
1097
|
+
credentials: v.length > 0 ? "include" : "same-origin",
|
|
1098
|
+
mode: "cors"
|
|
1099
|
+
});
|
|
1100
|
+
if (!e.ok) throw Error(`HTTP ${e.status}: ${e.statusText}`);
|
|
1101
|
+
let r = e.headers.get("content-type") || "", a = {};
|
|
1102
|
+
if (r.includes("application/json")) a = deepParseJSON(await e.json());
|
|
1103
|
+
else {
|
|
1104
|
+
let n = await e.text();
|
|
1105
|
+
try {
|
|
1106
|
+
a = deepParseJSON(JSON.parse(n));
|
|
1107
|
+
} catch {
|
|
1108
|
+
a = { data: n };
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
let s = buildOAuthUrl(n, i.oauth.params, a, f);
|
|
1112
|
+
return o.value = s, s;
|
|
1113
|
+
} catch (e) {
|
|
1114
|
+
throw c.value = /* @__PURE__ */ Error(`第一步请求失败: ${e?.message || String(e)}`), c.value;
|
|
1115
|
+
} finally {
|
|
1116
|
+
s.value = !1;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
return i && await l(), {
|
|
1120
|
+
url: o,
|
|
1121
|
+
loading: s,
|
|
1122
|
+
error: c,
|
|
1123
|
+
execute: l
|
|
1124
|
+
};
|
|
1125
|
+
}
|
|
1126
|
+
function warnMissingStore(e) {
|
|
1127
|
+
console.warn(`[usePartyLogin] Store "${e}" is not registered in Pinia.`);
|
|
1128
|
+
}
|
|
939
1129
|
function useTheme() {
|
|
940
1130
|
let e = useSettingsStore();
|
|
941
1131
|
return { isDark: computed({
|
|
@@ -1229,7 +1419,7 @@ var systemRoutes = [{
|
|
|
1229
1419
|
children: [{
|
|
1230
1420
|
path: "profile",
|
|
1231
1421
|
name: "Profile",
|
|
1232
|
-
component: () => import("./profile-
|
|
1422
|
+
component: () => import("./profile-BVXIFuBG.js"),
|
|
1233
1423
|
meta: {
|
|
1234
1424
|
title: "个人中心",
|
|
1235
1425
|
icon: "i-iconamoon-profile-duotone"
|
|
@@ -4239,4 +4429,4 @@ function postAuthTokenRefresh(e, n) {
|
|
|
4239
4429
|
...n || {}
|
|
4240
4430
|
});
|
|
4241
4431
|
}
|
|
4242
|
-
export {
|
|
4432
|
+
export { useSuccess as A, createPubinfoContext as B, useKeepAliveStore as C, useError as D, useBox as E, findIndex as F, baseRest as I, toNumber as L, useAuth as M, useIframeStore as N, useInfo as O, isUndefined as P, useFavoritesStore as R, require_dist as S, usePartyLogin as T, getSystemRoutes as _, wrapProxy as a, RESOURCE_TYPE as b, cleanupWithoutUser as c, useUserStore as d, useTabbarStore as f, defineSystemRoutes as g, getSettings as h, publicKeyEncryption as i, useWarn as j, useStart as k, useMenuStore as l, defineSettings as m, basic as n, resolveRoutePath as o, useSettingsStore as p, storage as r, cleanup as s, postAuthTokenRefresh as t, useRouteStore as u, defineAsyncRoutes as v, useTheme as w, getRbacUserUserEntireInfo as x, getAsyncRoutes as y, STORE_NAME as z };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as button_default, n as api } from "./modal-Bl5xHbxa.js";
|
|
2
|
-
import { d as useUserStore } from "./auth-
|
|
2
|
+
import { d as useUserStore } from "./auth-BLGKOyc5.js";
|
|
3
3
|
import "./watchDiff-CPZFtaOC.js";
|
|
4
4
|
import { d as Tag } from "./tree-select-B8cTcGLa.js";
|
|
5
|
-
import { a as PubinfoIcon_default } from "./components-
|
|
5
|
+
import { a as PubinfoIcon_default } from "./components-DFNyaAb9.js";
|
|
6
6
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
7
7
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, resolveComponent, toDisplayString, toRaw, unref, withCtx } from "vue";
|
|
8
8
|
import { useRouter } from "vue-router";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as button_default, n as api } from "./modal-Bl5xHbxa.js";
|
|
2
|
-
import {
|
|
2
|
+
import { I as baseRest, L as toNumber, d as useUserStore } from "./auth-BLGKOyc5.js";
|
|
3
3
|
import "./watchDiff-CPZFtaOC.js";
|
|
4
4
|
import { s as Password_default } from "./tree-select-B8cTcGLa.js";
|
|
5
5
|
import { r as FormItem_default, t as form_default } from "./form-C3VHofnN.js";
|
|
6
|
-
import { n as PassStrengthValidator_default } from "./components-
|
|
6
|
+
import { n as PassStrengthValidator_default } from "./components-DFNyaAb9.js";
|
|
7
7
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-sUTDUeGO.js";
|
|
8
8
|
import { computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, mergeModels, nextTick, openBlock, reactive, ref, resolveComponent, unref, useModel, withCtx } from "vue";
|
|
9
9
|
import { useRoute, useRouter } from "vue-router";
|
|
@@ -1337,11 +1337,11 @@ var PubinfoProvider_default = defineComponent({
|
|
|
1337
1337
|
}), highlighterPromise = null;
|
|
1338
1338
|
function getShikiHighlighter() {
|
|
1339
1339
|
return highlighterPromise ||= (async () => {
|
|
1340
|
-
let [{ createHighlighterCore: e }, { createOnigurumaEngine: t }] = await Promise.all([import("./core-
|
|
1340
|
+
let [{ createHighlighterCore: e }, { createOnigurumaEngine: t }] = await Promise.all([import("./core-DJIGzMMM.js"), import("./engine-oniguruma-CaNXwGSv.js")]);
|
|
1341
1341
|
return e({
|
|
1342
|
-
themes: [import("./vitesse-light-
|
|
1343
|
-
langs: [import("./json-
|
|
1344
|
-
engine: t(import("./wasm-
|
|
1342
|
+
themes: [import("./vitesse-light-BWXC_WeB.js"), import("./vitesse-dark-CTe40QT_.js")],
|
|
1343
|
+
langs: [import("./json-Bu_Zprin.js")],
|
|
1344
|
+
engine: t(import("./wasm-2zDVqo-C.js"))
|
|
1345
1345
|
});
|
|
1346
1346
|
})(), highlighterPromise;
|
|
1347
1347
|
}
|